/* Elements */
body {
  background: url("../images/mycobra_bg.png") repeat-x scroll 0 0 #EFEFEF;
  font-family: verdana, helvetica, arial, sans-serif;
  font-size: 12px;
  margin: 0;
  padding: 0;
}
h1 {
  margin: 1em;
  padding: 0.25em;
  font-size: 12pt;
  font-family: sans-serif;
  font-weight: bold;
}
h2 {
  font-family: sans-serif;
  font-size: 12pt;
  color: #003366;
  border-bottom: 1px solid #ddd;
}
p {
  margin: 0 0 10px 0;
}
table {
  border-collapse: collapse;
  width: 100%;
}
table:not(:last-child) {
  margin-bottom: 2em;
}
thead {
  background-color: #81A7CC;
}
tbody tr:nth-child(even) {
  background-color: #e6e6e6;
}
table th, table td {
  padding: 0.25em 0.5em;
  text-align: left;
  font-family: sans-serif;
  font-size: 10pt;
}
th.dollar_amount, td.dollar_amount {
  text-align: right;
}
td.total, .total td {
  border-top: 1px solid #000;
}
td > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
td select {
  width: 13em;
}
form:after {
  display: block;
  content: '.';
  height: 0;
  clear: both;
  visibility: hidden;
}

dl > * {
  margin-top: 0.5em;
}
dt {
  font-weight: bold;
  float: left;
  clear: left;
  width: 15em;
  padding: 0.25em;
}
dt:after {
  content: ':';
}
dd {
  float: left;
  margin-left: 0;
  padding: 0.25em 0.25em 0.25em 1em;
}

/* Page structure */
#titlebar {
  margin: 30px auto 0;
  width: 940px;
}

#titlebar #logo{
    float: left;    
}

#titlebar #livechat{
    float: right;    
}

#navigation {
  margin: 30px auto 0;
  width: 940px;
  min-width: 800px;
}
#navigation ul {
  margin: 0 1.5em;
  padding: 0;
  height: 20px;
  list-style: none;
}
#navigation li {
  float: left;
  position: relative;
  top: 1px;
  cursor: pointer;
  height: 20px;
  padding: 7px 12px 6px;
  margin: 0 10px 0 0;
  border: 1px solid #cbcbcb;
  border-bottom: 1px solid #CBCBCB;
  border-radius: 4px 4px 0 0;
  background: none repeat scroll 0 0 #E6E6E6;
  font-family: verdana, helvetica, arial, sans-serif;
}
#navigation li:hover {
  border-top: 1px solid #999;
  border-right: 1px solid #999;
  border-bottom: 1px solid #dadada;
  border-left: 1px solid #999;
  background: none repeat scroll 0 0 #DADADA;
}
#navigation li.current-tab {
  position: relative;
  top: 1px;
  padding-bottom: 8px;
  border-top: 1px solid #E0E0E0;
  border-left: 1px solid #E0E0E0;
  border-right: 1px solid #E0E0E0;
  border-bottom: medium none;
  background: #fff none;
}
#navigation li.current-tab:hover {
  border-bottom: medium none;
}
#navigation li img {
  margin: 2px 0 -2px 0;
  padding: 0;
}
#navigation li a {
  text-decoration: none;
  color: #555;
}
#navigation li:hover a, #navigation li.current-tab a {
  color: #212121;
}
#navigation div.right-side a {
  color: #FFF;
  position: relative;
  top: 10px;
  text-decoration: none;
}

#content {
  background-color: #fff;
  width: 940px;
  min-height: 200px;
  min-width: 800px;
  margin: 16px auto;
  padding: 0;
  border: 1px solid #E0E0E0;
}
#content:after {
  display: block;
  content: '.';
  visibility: hidden;
  clear: both;
  height: 0;
}

#content > img {
  margin: 1em;
}

/* Special login page styles */
#content.login {
  width: 600px;
  min-width: 600px;
  margin: 80px auto;
  padding: 1em;
}
#content.login #logo {
  margin: 0 auto;
}
#content.login h1 {
  margin: 20px 0 10px 5px;
  padding 0;
}
#content.login p {
  margin: 0 0 10px 5px;
  text-indent: 0;
}

#footer {
  width: 100%;
  z-index: -10;
}
#footer p {
  margin-bottom: 10px;
  font-size: 10px;
  text-align: center;
  color: #AAAAAA;
}

/* General content formatting */
.left-side {
  float: left;
}
.right-side {
  float: right;
}
.full-width {
  width: 100%;
}
.half-width {
  width: 50%;
}
.third-width {
  width: 33%;
}
.twothirds-width {
  width: 66%;
}
.quarter-width {
  width: 25%;
}
.threequarters-width {
  width: 75%;
}

.column {
  margin: 0;
  padding: 0;
}
.column > * {
  margin-left: 1em;
  margin-right: 1em;
}

.box {
  margin: 1em;
  padding: 0.5em;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
}
.left-side.column > * {
  margin-right: 0.5em;
}
.right-side.column > * {
  margin-left: 0.5em;
}
.box > div:not(:last-child) {
  margin-bottom: 2em;
}

.details {
  font-size: 9pt;
  color: #777;
}

#content .notice {
  font-size: 10pt;
  margin: 1em auto;
  width: 80%;
}
.notice .ui-icon {
  float: left;
  margin: 0 0.5em 0 0.75em;
}
.notice p {
  margin: 0.5em;
}

.error {
  color: #cd0a0a;
}

.active, .unread {
  font-weight: bold;
}
.inactive {
  display: none;
}
.hidden {
  display: none;
}
div.total {
  font-size: 14pt;
}

/* Form structure */
.form-row {
  margin: 0.25em;
  padding: 0.25em;
  border-bottom: 1px solid #e6e6e6;
}
/*.form-row:nth-child(even) {
  background-color: #e6e6e6;
}*/
.form-row > label, .form-row > .label {
  float: left;
  width: 35%;
}
.form-widget {
  margin: 0 0 0 35%;
}
.form-widget ul.error {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #cd0a0a;
}

.button{
    
    display: block;
    
    text-decoration: none;
    
    padding: 10px 15px;
    margin: 5px 10px;
    background: #4479BA;
    color: #FFF;
    
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: solid 1px #20538D;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    
    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    transition-duration: 0.2s;
    
}

.button:hover, .button:focus {
    background: #356094;
    border: solid 1px #2A4E77;
    text-decoration: none;
}

