html {
  font-size: 62.5%;
  background: #9fa9b3;
  font-family: 'Lucida Grande', 'Tahoma', sans-serif;
  background-image: url('../images/shohagh-background.jpg');
  background-repeat: repeat-x;
}

input,
textarea {
  font-size: 1.1em;
  padding: 0.2em;
  border: 1px #aaa solid;
}

input,
button,
textarea {
  font-family: 'Lucida Grande', 'Tahoma', sans-serif;
}

input.error {
  border: 1px solid #cc3300;
}

input.date {
  background: url('../images/calendar.png') no-repeat right center #fff;
  padding-right: 15px;
}

.checkboxes input[type='checkbox'] {
  height: auto;
  width: auto;
  margin: 10px 4px 4px 10px;
}

.checkboxes > span {
  display: inline-block;
  width: 33%;
  white-space: nowrap;
}

.checkboxes span > label {
  display: inline !important;
  font-weight: normal !important;
}

.checkbox > input[type='checkbox'] {
  width: auto;
  height: auto;
}

.checkbox > label {
  display: inline !important;
}

.checkbox {
  padding-top: 21px !important;
}

body {
  margin: 17px 0 15px;
  padding: 0;
  font-family: 'Lucida Grande', 'Tahoma', sans-serif;
  text-rendering: optimizelegibility;
}

a:active,
a:focus,
button:focus {
  outline: none;
}

button::-moz-focus-inner {
  border: 0;
}

pre {
  font-family: 'Lucida Grande', 'Tahoma', sans-serif;
}

#container {
  position: relative;
  margin: 0 auto;
  width: 96em;
  -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  min-height: 50em;
  background-color: #fff;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

.subcontainer {
  margin: 0 10px;
}

.subcontainer h2 {
  font-size: 2.1em;
  font-weight: normal;
  color: #555;
  margin-left: 5px;
}

#footer {
  position: relative;
  margin: 0 auto;
  width: 96em;
  text-align: center;
}

#footer p {
  color: #ffffff;
  font-weight: bold;
  font-size: 1.2em;
}

/*top navigation bar*/
#nav {
  background: url('../images/nav-background.gif') repeat-x #fff;
  border-left: 0px solid #b83a1f;
  border-top: 0px solid #b83a1f;
  height: 6em;
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-topright: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  -webkit-border-top-left-radius: 10px;
  -webkit-border-top-right-radius: 10px;
}

#nav div.welcome {
  margin: 5px;
  padding: 10px;
  padding-top: 20px;
  font-size: 1.2em;
  color: #444;
  border: 0px #eee solid;
  display: block;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  overflow: hidden;
  height: 27px;
}

#nav ul {
  list-style-type: none;
  position: absolute;
  top: 24px;
  right: 0;
  margin-right: 10px;
}

#nav ul li {
  color: #ffffcc;
  display: block;
  float: left;
  margin: 0 5px;
}

#nav ul li.account {
  margin-left: 20px;
}

#nav ul li a {
  -moz-border-radius-topleft: 7px;
  border-top-left-radius: 7px;
  -webkit-border-top-left-radius: 7px;
  -moz-border-radius-topright: 7px;
  border-top-right-radius: 7px;
  -webkit-border-top-right-radius: 7px;

  background-color: #333;
  background-repeat: no-repeat;
  background-position: 8px 5px;
  border: 1px solid #333;
  border-bottom-width: 0;
  color: #e6e4e4;
  display: block;
  font-size: 1.235em;
  font-weight: bold;
  line-height: 25px;
  margin: 0 auto;
  padding: 0 10px 1px 30px;
  text-decoration: none;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

#nav ul li.logout a {
  padding-left: 10px;
  background-color: #b10f0f;
  background-image: none;
  border-color: #c34343;
  color: #eee;
}

#nav ul li.logout a:hover {
  background-color: #cc2424;
  border-color: #c34343;
  color: #fff;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

#nav ul li.account a {
  color: #eee;
  background-color: #618601;
  border-color: #8ebc14;
}

#nav ul li a:hover {
  background-color: #444;
  border-color: #333;
  color: #ffffff;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

#nav ul li.account a:hover {
  background-color: #739616;
  border-color: #8ebc14;
  color: #fff;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

#nav ul li a:active {
  background-color: #666 !important;
  border-color: #666 !important;
  color: #ffffff !important;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3) !important;
}

#nav ul li.rule a {
  background-image: url('../images/wrench.png');
}

#nav ul li.report a {
  background-image: url('../images/report.png');
}

#nav ul li.account a {
  background-image: url('../images/user_green.png');
}

#rule #nav li.rule a,
#report #nav li.report a,
#account #nav li.account a {
  background-color: #fff !important;
  border-color: #bbb !important;
  color: #222222 !important;
}

/**
Octopi css classes
**/
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9000;
  opacity: 0.8;
  background: #000;
}

.button {
  border-radius: 15px;
  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  background: url('../images/white-grad.png') repeat-x scroll left top #eaeaea;
  border-color: #dedede #bbbbbb #bfbfbf #dedede;
  border-style: solid;
  border-width: 1px;
  color: #464646;
  cursor: pointer;
  line-height: 130%;
  margin: 0 0.7em 0 0;
  padding: 0.5em 1em;
  text-decoration: none;
  font-size: 1.2em;
}

.button:hover {
  border: 1px solid #999999;
  color: #000000;
}

.button:active {
  -moz-box-shadow: white;
  background: url('../images/white-grad-active.png') repeat-x scroll left top #ffffff;
  border-color: #cccccc;
}

.button img {
  margin: 0 3px -3px 0 !important;
}

/*Subnav styles*/

#subnav ul {
  list-style-type: none;

  background: url('../images/white-grad.png') repeat-x scroll left top #f2f2f2;
  border-bottom: 1px #bbb solid;
  border-top: 1px #bbb solid;
  font-size: 1.2em;
  font-weight: bold;
  margin: 0 -10px 0 -10px;
  padding: 0 13px;
}

#subnav ul li {
  display: inline-block;
  margin: 0;
  padding: 0;
}

#subnav li a {
  text-decoration: none;
  color: #333;
  display: block;
  padding: 8px 13px;
}

#subnav li a img {
  border: 0;
  margin: -1px 5px 0 0;
  padding: 0;
  float: left;
}

#subnav li a:hover {
  color: #222;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

.subcontainer .list {
  display: inline-block;
  width: 44%;
}

.list .list-header {
  color: #fff58f;
  font-size: 1.2em;
  font-weight: bold;
  padding: 8px;
  padding-left: 28px;
  background: url('../images/page_white_stack.png') no-repeat #333;
  background-position: 6px 7px;
  border-bottom: 1px solid #3e3e3e;
}

.list .list-info {
  padding: 40px 20px;
  text-align: center;
  font-size: 1.8em;
  color: #ddd;
  background: url('../images/overlay.gif') #222;
  text-transform: capitalize;
}

.list .list-footer {
  padding: 4px;
  background-color: #333;
  background-position: 4px 5px;
  border-bottom: 1px solid #3e3e3e;
  text-align: right;
  margin-bottom: 20px;
}

.list .list-footer a {
  color: #fff;
  text-decoration: none;
  border: 1px solid #888;
  width: 20px;
  height: 20px;
  display: inline-block;
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
}

.list .list-footer a:hover {
  background-color: #8ebc14;
  color: #222;
  border-color: #fff;
}

.list table {
  font-size: 100%;
}

.list thead th {
  background: #333;
  padding: 6px;
  padding-right: 20px;
  color: #fff;
  border-right: 1px #555 solid;
  text-align: left;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: normal;
}

.list thead th.asc {
  background: url('../images/sortup.gif') no-repeat #555;
  background-position: right center;
}

.list thead th.desc {
  background: url('../images/sortdown.gif') no-repeat #555;
  background-position: right center;
}

.list tbody tr {
  border-left: 1px #ddd solid;
}

.list tbody tr.selected {
  background: #d5f7fe !important;
}

.list tbody td {
  padding: 6px;
  border: 1px #eee solid;
  border-width: 0 1px 1px 0;
  text-align: left;
  font-size: 1.1em;
  cursor: pointer;
}

.list tbody td:first-child {
  border-left-width: 1px;
  text-align: center;
}

.list thead th:hover {
  background-color: #444;
}

.list tbody tr:hover {
  background-color: #faf9e8 !important;
}

.list tbody tr.even {
  background-color: #f3f3f3;
}

.list .white {
  color: #fff;
}

.list-header .search {
  font-size: 0.9em;
  padding: 0;
  margin: 0;
  float: right;
  margin-top: -2px;
  margin-right: -2px;
  padding-left: 20px;
  padding-right: 8px;
  width: 120px;
  height: 19px;
  background: url('../images/search.png') no-repeat #fff;
  background-position: 4px 2px;
  border: 1px groove #000;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  outline: none;
  padding-bottom: 1px;
}

.list .list-size {
  margin: 2px 5px;
  float: left;
  color: #eee;
  font-size: 1.1em;
  font-weight: bold;
}

.list .list-size select {
  width: 50px;
  height: 18px;
  font-size: 1em;
}

.subcontainer .detail {
  display: inline-block;
  width: 54%;
  vertical-align: top;
  margin-left: 10px;
}

.detail .title {
  padding: 8px;
  text-align: right;
  background: url('../images/page_white.png') no-repeat #444;
  background-position: 6px 8px;
}

.detail .title .name {
  font-size: 1.3em;
  font-weight: bold;
  color: #fff58f;
  float: left;
  margin-left: 20px;
}

.detail .title .id {
  font-size: 1.3em;
  font-weight: bold;
  color: #fff;
}

.detail .title .value {
  font-size: 1.2em;
  font-weight: normal;
  color: #fff58f;
}

.detail .action {
  margin-right: 10px;
}

.detail .action img {
  margin: 0 0 -3px 0;
  padding: 0;
  cursor: pointer;
}

button.top {
  display: inline-block;
  float: right;
  margin: 12px 15px;
  padding-left: 5px;
  padding-right: 10px;
}

.detail > table {
  font-size: 100%;
}

.detail > table td {
  font-size: 1.1em;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.detail > table td.name {
  font-weight: bold;
}

.detail > table tr.even td {
  background: #f3f3f3;
}

a.current {
  color: #777 !important;
}

a.current:hover {
  color: #444 !important;
}

.detail ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.detail form ul li {
  display: inline-block;
  width: 45%;
  margin: 5px 0 0 0;
  padding: 0 10px;
  vertical-align: top;
}

.detail form ul li.focused {
  background-color: #ffffcf;
}

.detail form ul li label {
  display: block;
  font-size: 1.1em;
  font-weight: bold;
  padding: 2px;
}

.detail form ul li p.ins {
  color: #aaa;
  font-size: 0.9em;
  margin: 0;
  padding: 2px;
}

.detail form ul li span.error {
  color: #cc3300;
  font-size: 0.9em;
  margin: 0;
  padding: 2px;
}

.detail form ul li input,
.detail form ul li select {
  font-size: 1.1em;
  height: 22px;
  width: 100%;
}

.detail form ul li textarea {
  width: 100%;
  font-size: 1.1em;
  height: 100px;
}

.detail form ul li.full {
  width: 96% !important;
}

.detail form ul li.right {
  text-align: right;
}

button[type='submit'],
button[type='reset'] {
  padding-left: 10px;
  padding-right: 10px;
}

button[type='submit']:hover {
  border-color: #669900;
}

button[type='reset']:hover {
  border-color: #ff6666;
}

.detail form > ul > li.right > button {
  margin-top: 20px;
  margin-bottom: 20px;
}

.dashlet {
  width: 48%;
  display: inline-block;
  margin-top: 20px;
}
