body {
  background-color: #eee;
  color: #333;
  margin-top:0px;
}

body, p, ol, ul, td {
  font-family: verdana, arial, helvetica, sans-serif;
  font-size: 13px;
  line-height: 18px;
}

pre {
  background-color: #eee;
  padding: 10px;
  font-size: 11px;
}

h1,h2,h3,h4 {
  color: #ef4623;
}

a {
  color: #2a94be;
}
a:visited {
  color: #9b9c9b;
}
a:hover {
  text-decoration:none;
}
a img {
  border: 0;
}


/* Forms */
fieldset {
  margin: 0 auto;
  width: 700px;
}
fieldset table {
  width: 99%;
}
fieldset table tr td:first-child {
  padding-right: 1em;
  text-align: right;
}
fieldset table tr td {
  border: none;
  width: 33%;
}
.required {
  font-weight: bolder;
}
.formError {
  color: red;
}
.fieldWithErrors {
  color: red;
}

.oddrow {}
.evenrow {
  background-color: #f1f5fa;
}
tr.focused_row {
  background-color: #d7e0ea;
}
div.tooltip:hover span {
  border: thin outset yellow;
  background-color: #fff899;
}

.clearfix {
  clear: both;
}


/* Flash Messages */
div#notice {
  color: green;
  font-weight: bold;
  text-align: center;
}
div#error {
  color: red;
  font-weight: bold;
  text-align: center;
}

div#container {
  margin: 0px auto 0 auto;
  width: 790px;
  background-color: #fff;
  padding: 0px 40px 0px 40px;
}

div#header, #menu, #content, #footer {
  overflow: hidden;
}

div#header{height:60px;}

div#header_bar {
  font-size: 20px;
  color: white;
  background-color: #4495bc;
  height: 40px;
  border-bottom: 4px solid #e04a24;
}

div#login_box {
  width: 220px;
  float: right;
  padding-top: 20px;
  font-size: 0.9em;
}
div#log {
  float: right;
}

#logo {
  float: left;
  padding: 5px 0 5px 0;
}

div#menu {
  margin-top: -3px;
}

#main_menu {position: relative;display: block;height: 39px;font-size: 11px;font-weight: bold;background: transparent url(/images/bg_off.gif) repeat-x top left;font-family: Arial, Verdana, Helvitica, sans-serif;border-top: 1px solid #ddd;}
#main_menu ul {margin: 0;padding: 0;list-style-type: none;width: auto;}
#main_menu ul li {display: block;float: left;margin:0;background: url(/images/bullet_square.png) no-repeat;list-style-type: none;background-position: .5em 1.2em;}
#main_menu ul li a {display: block;float:left; color: #666;text-decoration: none;padding: 11px 20px 0 20px;height: 23px;background: transparent url(/images/bg_divider.gif) no-repeat top right;}
#main_menu ul li a:hover {color:#ef4623;background:#fff url(/images/bullet_square.png) no-repeat; background-position: .5em 1.2em;}
#main_menu ul li a.current {color: #ef4623; background: #ddd url(/images/bullet_square.png) no-repeat;list-style-type: none;background-position: .5em 1.2em;}

div#content {
  padding-bottom: 5px;
  width: 100%;
  float: left;
  border-bottom: 4px solid #1589b8;
}

#content h1 {
  color: #ef4623;
  font-size: 1.4em;
  margin: 0;
  padding: 5px 5px 5px 2px;
}
#content h2 {
  color: #ef4623;
  font-weight: bold;
  font-size: larger;
  margin: 0;
  padding: 5px 5px 2px 2px;
}
#content p {
  font-size: .9em;
  margin:3px 0 10px;
  padding: 10px 10px 0 10px;
}

div#footer {
  clear: left;
  padding: 5px 0px 35px 0px;
  line-height: 25px;
}
div#copy_right{
  font-size: .9em;
}

.borderless td {border: 0px;}
.borderless {border:0px;}

table {
  border-spacing: 0px;
  border-collapse: collapse;
  margin-left:1px;
}
table th {
  text-align: left;
  font-weight: bold;
  padding: 0.1em 0.5em;
  border: 1px solid #666666;
  background-color:#ddd;
}
table td {
  padding: 0.1em 0.5em;
  border: 1px solid #666666;
}
table thead th {
  text-align: center;
}

fieldset.form_show table tr td:first-child {
  width: 25%;
  font-weight: bold;
  text-align: right;
  padding-right: 1em;
}

div#search {
  float: right;
}
div.search_box {
  float: left;
  width: 410px;
}
div#search_box_content {
  padding: 3px 2px 3px 2px;
}

div#statistics {
  width: 230px;
  float: right;
  background-color: #fff;
  padding: 3px 3px 5px 8px;
}

div#statistics h2 {margin-bottom: 3px;}

div#clientnos {margin-top: 10px;}

div#my_franchisees {
  float: left;
}

div#most {
  float: right;
  width: 280px;
  margin-top: 0px;
  background-color: #eee;
}

div#topagents {
  margin-top: 10px;
  padding: 3px 2px 3px 2px;
}

td.video_kind_labels {
  padding-left: 2em;
  font-weight: bolder;
}
ul#video_order_list {
  list-style-type: none;
}
ul#video_order_list li {
  border: thin solid black;
  margin: 3px 2em 3px 3px;
  padding: 4px;
}

div#loading div#fade {
  background: white;
  position: fixed;
  top: 0;
  opacity: 0.6;
  width: 100%;
  height: 100%;
}
div#loading div#message {
  background: white;
  text-align: center;
  position: fixed;
  top: 30%;
  left: 50%;
  width: 400px;
  margin-left: -200px;
}
div#loading div#message p {
  font-size: 1.5em;
  line-height: 1.2em;
}
.notes {
  vertical-align: top;
}

.debug {
  border: thin dashed #525200;
}

ul.submenu {
  margin: 0;
  padding: 0;
  list-style-type: none;
  width: auto;
}
ul.submenu li {
  display: block;
  float: left;
  margin-left: 1em;
  list-style-type: none;
}
.preview-msg p {line-height: 0px; margin: 0px; padding: 0px;}