*{
  margin: 0px;
  padding: 0px;
}

input[type=text], input[type=password], input[type=number], button, select{
  height: 23px;
  line-height: 23px;
  border-radius: 2px; 
  padding: 0px 5px;
  font-family: Ubuntu, sans-serif, Arial;
}

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

select{
  padding-right: 0px;
}

button{
  height: 25px;
  padding: 0px 25px;
  cursor: pointer;
}

select, input[type=text], input[type=password], textarea{
  border: 1px solid #999999;
}

textarea{
  padding: 5px;
}

html, body{
  height: 100%;
  min-height: 100%;
}

body{
  font-family: Ubuntu, sans-serif, Arial;
  font-size: 13px;
  margin: 0px auto;
  background-image: url(../images/bg.jpg);
  background-repeat: repeat-x;
  background-position: center top;
  color: #848484;
  min-width: 950px;
  position: relative;
  width: 1046px;
}

#header{
  margin: 0px auto;
  width: 1046px;
  height: 120px;
  position: relative;
}

#header>a:first-child{
  position: absolute;
  background-image: url(../images/logo.jpg);
  width: 121px;
  height: 145px;
}

#header>a:first-child span{
  display: none;
}

#header h2{
  display: none;
}

#branches{
  position: absolute;
  left: 179px;
  top: 0px;
}

#branches li{
  list-style: none;
  float: left;
  background-color: white;
  padding: 5px 10px;
  height: 14px;
}


#branches li:first-child{
  padding-right: 5px;
}

#branches li:first-child+li{
  padding-left: 0px;
}

#branches li a{
  color: #9d9d9d;
  font-size: 12px;
  font-weight: lighter;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  width: 50px;
  line-height: 14px;
  text-align: center;
}

#branches li.active a{
  color: #e63357;
  font-weight: bold;
}

#branches li a:hover{
  font-weight: bold;
}

#branches li:first-child a{
  padding-right: 5px;
  border-right: 1px solid #9d9d9d;
}

#menu{
  position: absolute;
  left: 240px;
  top: 71px;
  width: 780px;
  z-index: 1;
}

#menu>ul{
  margin: 0px auto; 
}

#menu>ul>li{
  float: left;
  list-style: none;
  margin-right: 30px;  
}

#menu>ul>li.selected{  
  background-image: url(../images/menu_selected.jpg);
  background-position: center bottom;
  background-repeat: no-repeat;
}

#menu>ul>li a{
  line-height: 39px;
  padding-bottom: 10px;
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  display: block;
}

#menu>ul>li a:hover{
  color: #4e4e4e;
}

#menu>ul>li ul{
  display: none;
  border-top: 5px solid white;
  padding: 10px;
  clear: both;
  position: absolute;
  background-color: #e63357;
}

#menu>ul>li:hover ul{
  display: block;
}

#menu>ul>li>ul>li{
  list-style: none;  
  white-space: nowrap;
}

#menu>ul>li>ul>li a{
  line-height: 24px;
  font-size: 14px;
  padding-bottom: 0px;
}

dl.login_info{
  position: absolute;
  top: 9px;
  right: 0px;
  width: 72px;
  height: 71px;
  background-image: url(../images/profile_photos.png);
}

dl.login_info dt{
  display: none;
}

dl.login_info dd{
  display: none;
}

#content{
  margin: 0px auto;
  width: 1046px;
  position: relative;
  padding-top: 40px;
  padding-bottom: 50px;
}

#content h1{
  color: #e63357;
}

#content a{
  color: #e63357;
  text-decoration: none;
}

#content a:hover{
  text-decoration: underline;
}

.pattern_overlay{
  background-image: url(../images/pattern_overlay.png);
  border-bottom: 1px solid #efefee;
}

.white_overlay{
  border-bottom: 1px solid #efefee;
}

/* custom inputs */
.checkbox{
  position: relative;
  display: inline-block;
  height: 8px;
  width: 22px;
}

.checkbox span{
  display: block;
  position: absolute;
  top: -7px;
  width: 17px;
  height: 17px;
  background-image: url(../images/checkbox.png);
  background-repeat: no-repeat;
  cursor: pointer;
}

input[type=checkbox]:checked+.checkbox span{
  background-position: 0px -26px;
}

.custom_select_multiple{
  
}

.custom_select_multiple span{
  cursor: pointer;
}

.custom_select_multiple ul{
  position: absolute;
  display: none;
  background-color: white;
  padding: 3px;
  border: 1px solid #848484;
  z-index: 1;
}

.custom_select_multiple ul li{
  list-style: none;
  padding-bottom: 3px;
}

#content .page_mover{
  clear: both;
  padding-top: 20px;
  text-align: center;
  height: 30px;
  border-bottom: 2px #e63357 solid;
}

#content .page_mover li{
  display: -moz-inline-stack; /*Firefox 2 hack*/
  display: inline-block;  
  /* magic IE7 hack making element inline-block*/
  zoom: 1; 
  *display: inline;
  padding-right: 5px;
}

#content .page_mover li a{
  text-decoration: none;
  padding: 3px 5px;  
  font-size: 12px;
  color: #666666;
  font-weight: bold;  
}

#content .page_mover li a:hover{
  color: #e63357;
}

#content .page_mover li.selected a{
  background-color: #e63357;
  border-radius: 3px;
  color: white;;
}

#content .page_mover li a span{
  /*display: none;*/
}

#content .page_mover li a.prev:hover{
  background-color: transparent;
  animation: none;
}

#content .page_mover li a.next:hover{
  background-color: transparent;
  animation: none;  
}

#content .list_items_total_count{
  position: absolute;
  margin-top: 20px;
  right: 0px;
  white-space: nowrap;
}

#content .list_items_total_count dt{
  display: inline;
  padding-right: 10px;
}

#content .list_items_total_count dd{
  display: inline;
}

.hidden {
  display: none;
}