/* Layouts and background */
body { background: rgb(0,66,126) repeat-x top; text-align:center; }
#wrapper { min-width:850px; width:90%; margin:0 auto; text-align:left; background:#e4e4e4; overflow:hidden;  }

#header { background:url(../images/header_blue/top-header-background.jpg) repeat-x; height:104px; width:100%; position:relative;   }
#contact_info { width:15%; position:absolute; right:0.001%; padding-top:41px; padding-left:8px; }
#contact_info img { vertical-align:bottom; }
#header_controls { width:20%; float:right; position:relative; right: 5%;text-align:center; padding-top:83px;}
#header_logos {float:right; text-align:right;position:relative; right: 50%; text-align:center; padding-top:48px;  }
#header h1 { margin:0; padding:0; position:relative; top:40px; right:0; width:287px; height:64px; background:url(../images/header_blue/top-medirex-logo.jpg) no-repeat; }
#header .logo{  margin:0; padding:0; position:relative; top:40px; right:0; width:287px; height:64px; background:url(../images/header_blue/top-medirex-logo.jpg) no-repeat; }

#chest { background:#eee; text-align:center; padding:0;  border:1px solid #ccc; border-width: 1px 0 1px 0; overflow:hidden;  }

#main_menu { margin:5px 8px;  }
#main_menu ul { list-style:none; padding:0; margin:0; }
#main_menu li { text-align:center; position:relative; width:15.9%; float:left; background:url(../images/menu_separator.png) no-repeat bottom right; border-bottom:1px solid #ccc; }
#main_menu li.last { background:none; }
/*#main_menu li a.extensible { background:url(../images/menu-arrow-down.png) no-repeat right center; }*/
#main_menu li a.extensible { background:url(../images/da.png) no-repeat right center; }
#main_menu li a {  width:99%; padding:5px 0; display:block;  letter-spacing:-0.01em;}
#main_menu li a:hover { background:#555; color:#fff; text-decoration:none; }


#main_menu ul ul { width:100%; border:1px solid #ddd;   position:absolute; top:26px; left:0px; background:#fff; }
#main_menu ul ul li {  width:100%; float:none; background:none; font-size:13px; text-align:left; border-bottom:0;  }
#main_menu ul ul li a { width:auto; padding: 4px 0 4px 12px; }
#main_menu ul ul li a:hover {  background:#ccc; color:#000;  }


#main_menu li ul { display:none; }

#main_menu li:hover { /* background:#ccc; */  }
#main_menu li:hover ul { display:block; }

#main_content { }

#footer { text-align:center; background:url(../images/header_blue/footer-top-bg.jpg) repeat-x top; padding:20px 0 10px 0; color:#aaa; margin-top:30px; font-size:10px; }

.sidebar { width:20%; float:left; padding:20px 0;}
.sidebar h4 { text-align:center; color:rgb(109,110,113); }
.sidebar h4 a  { color: rgb(109,110,113); }

#center_content { padding:0 2%; width:55%; float:left; text-align:justify;  }
#center_content h1 { color:#00427E; margin:5px; font-size:19px; letter-spacing:-0.02em; }
#center_content p { line-height:1.6em; }
.lead { color:#fff; background-position: center bottom; padding:220px 5px 5px 5px; font-size:17px; }
#center_content.message { color: red; }
/* Products */

.product.small { padding:3px; margin-top:15px; border-top:1px solid #eee; color:rgb(109,110,113); font-size:10px; text-align:left; }
.product.small:hover { background:#ddd; color:#000; } 

#wrapper .product.small h4 { font-size:12px;  }
.product.small p { font-size:10px;  }



.product.small .product_image_span { width:90px; height:90px; text-align:center; float:left; margin:5px; background:#fff; border:1px solid #ccc; }
.product.small h4 { margin:0; margin-bottom:10px; color:#555; }
.product.small p { margin:0; }

/* */

#product_main_image { display:block; text-align:center; margin:5px 0; background:#e4e4e4; border:1px solid #ccc; border-width:1px 0 1px 0; }
.small_data { font-size:0.85em; margin:10px; border-bottom:1px solid #ccc; }


/* Search */

#search_field { width:20%; float:left; }
#search_field input { width:90%; }

#search_field  #search_button { display:none; }
#search_field.shown #search_button { display:inline }
#search_field.shown input { width:60%; }
#search_field.shown #serach_buton_button { width:30%; }


/* Login */

#login_field { padding:10px; border-top:2px solid #999; overflow:hidden; }
#login_field form {  text-align:right; color:#aaa; font-size:11px; }

/* Fonts */

body, p, ul, td { font: normal 14px Arial, sans-serif; }
a { text-decoration:none; color:#555; }
a:hover { text-decoration:underline; }
#header { font-size:11px; }

/* Inputs and forms */

input { background:#e5e5e5; border:1px solid #CACACA; padding:2px; }
input.init { color:#999; }


/* pages */

#wrapper #page_content p,
#wrapper #page_content td  { font-size:12px; }
#wrapper #page_content td.label  { font-weight:bold; text-align:right; font-size:10px; }

#wrapper #page_content th { border-bottom:1px solid #ccc;}

a img { border:0; }

/* Tables */

table { width:99%;  }
table th { font-size:10px; text-align:center;  }
table td { padding:2px 3px; border-top:1px solid #ddd;  }
table tr:hover td { background:#ddd; }

#wrapper #page_content  table td.small { font-size:0.80em; }

/*
OLD CATEGORY LIST - HORIZONTAL


#category_list .product.small { width:170px; height:220px; float:left; text-align:center; }
#category_list .product.small .product_image_span { float:none; width:100%; background:#fff; }
*/

#category_list .product.small { height:100px; text-align:left; }
#category_list .product.small .product_image_span { float:left; width:90px; background:#fff; }


#category_description { text-align:justify; font-size:11px; background:#fff; padding:10px; border-top:1px solid #aaa;  }

.redstar { font-weight:normal; color:#f00;}

ul.language_select { list-style:none; font-size:10px; overflow:hidden; padding:5px 0; border-bottom:1px solid #aaa; }
ul.language_select li { float:right; width:70px; text-align:center;  }
ul.language_select li a { display:block; width:100%; height:100%;  }
ul.language_select li a:hover { background:#aaa; text-decoration:none;}


.news_item { font-size:11px; color:#555; padding:5px; background:#fff; border-top:1px solid #aaa; margin-bottom:15px; }
.news_item p { font-size:11px; }

tr.exhibition { }
tr.exhibition td { font-size:1.1em; padding:6px 0; }
td.center { text-align:center; }

ul.news_item { list-style:none; padding:5px; margin:0; }
ul.news_item li { padding:5px; margin:0;}

.product_image_span { width:90px; text-align:center; float:left; margin:5px; background:#e4e4e4; border:1px solid #ccc; }

#product_action_info { font-size:10px; padding:10px; background:#e4e4e4; }
#product_action_info h5 { font-size:13px;  }


.small_category { overflow:hidden; font-size:10px; float:left; width:49%; height:140px; text-align:left; }
.small_category p { font-size:11px; line-height: 10pt ! important; }
.small_category h4 { font-size:13px; margin-top: 8px; margin-bottom: -3px; }
.small_category .product_image_span { float:left; width:100px; height:100px; }

.article_photo { float:left; padding:5px; }

#pdf_download { border-top:1px solid #ccc; font-size:11px; padding:5px; background:#e0e0e0; }

#flashMessage { padding: 4px; background: #9A3334; font-weight: bold; color: #fff; }

.report { border: 2px solid #ccc; padding: 4px; margin-bottom: 4px; }

.repcom { padding: 4px; background: #fff; border-top: 1px solid #ddd;   border-bottom: 1px solid #ddd; margin-bottom: 2px; }
.repcom p { padding: 2px; margin: 1px; }

table.ref_table td{
	width: 35%;
	padding-right: 10px;
}
table.ref_table td.small{
	width: 50%;
}
table.ref_table td.delivery_time{
 width: 10%;
}

table.ref_table td.small small{
	font-size: 12px;
}
table.ref_talbe td.small small span{
	font-size: 12px;
}
