/*
Theme Name: MedChitalka
Theme URI:medchitalka.ru 
Description:medical 
Version: 1.2
Author:WISCO 
Author URI:wisco.info
*/
html {
	height:100%;
	background:#3481a0 url('imgs/bg0.jpg') left top repeat;		
}
body {
	height: auto !important;
	height:100%;   
	width:100%;
	margin:0;
	padding:0;
	font-family: Arial, Helvetica, sans-serif;
	color:#181818;
	font-size:0.8em;		
	display:table;
}
form {margin:0;}
.input_text {
	border:1px solid #cacaca;		
	background-color:#fff;
	font-size:14px;
	padding:2px;
	padding-left:4px;
	height:18px;
	color:#555;
}
.input_button_submit {
	width:82px;
	height:34px;
	background:url('imgs/button_search.png') left top no-repeat;
	border:none;
	cursor:pointer;
}
.input_button_submit:hover {background:url('imgs/button_search_on.png') left top no-repeat;}
.input_button_vote {
	width:114px;
	height:36px;
	background:url('imgs/button_vote.png') left top no-repeat;
	border:none;
	cursor:pointer;
}
.input_button_vote:hover {background:url('imgs/button_vote_on.png') left top no-repeat;}


a:link {color:#1B6995;text-decoration:underline;}
a:visited {color:#4c2588;text-decoration:underline;}
a:hover {color:#0ccbee; text-decoration:none;}
img {border:0;}


/* wrapper for index */
#wrapper_index {
	width:100%;
	overflow:hidden;
	width: expression(document.body.clientWidth > 1000 ? "100%" : "1000px");	
	min-width:1000px;
}

/* wrapper for inside */
#wrapper_inside {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -160px;	
	background:url('imgs/bg_left.jpg') left top repeat-y;
	width: expression(document.body.clientWidth > 1000 ? "100%" : "1000px");	
	min-width:1000px;		
}

/***************/
/* H-E-A-D-E-R */
/***************/

#header {background:url('imgs/bg_1.jpg') left top repeat-x;}
#header_bg0 {
	width:100%;
	background:url('imgs/bg_2.jpg') right top no-repeat;
	padding-top:44px;
}
#header_bg1 {background:url('imgs/bg_left.jpg') left top repeat-y;}
#header_bg1_1 {background:url('imgs/bg3_0.jpg') left top no-repeat;}
#header_bg2 {background:url('imgs/bg_right.jpg') right top repeat-y;}
#header_bg2_1 {
	background:url('imgs/bg3_6.jpg') right top no-repeat;
	padding:0px 65px 0px 65px;	
}
#header_content {overflow:hidden; width:100%; background:#fff url('imgs/bg3_3.jpg') left top repeat-x;}
#logo {
	width:257px;
	height:157px;
	padding:26px 0px 0px 26px;
	background:url('imgs/bg3_1.jpg') left top no-repeat;
}
#header .center {background:url('imgs/bg3_4.jpg') 26px 26px no-repeat; padding:125px 0px 20px 0px;}
#header .right {background:url('imgs/bg3_5.jpg') right top no-repeat; padding-top:150px;}
.last {padding-left:20px;}
.last ul {margin:0; padding:0; list-style-type:none;}
.last li {margin:0; padding:2px 0px 0px 0px;}
.last a:link {font-size:12px; color:#b47b00; }
.last a:visited {font-size:12px; color:#705b2d; }
#icos {width:100%; overflow:hidden; font-size:11px;}
#icos div {float:left; margin-left:30px; display:inline;}
#icos img {padding-right:5px; vertical-align:bottom;}
.search_form {padding-left:14px;}
.search_form div {float:left;}
.search_form .input_text {margin-top:4px; margin-right:5px;}



#content_bg1 {	
	width:100%;
	overflow:hidden;
	background:#fff url('imgs/bg_left.jpg') left top repeat-y;
}
#content_bg2 {
	overflow:hidden;
	background:url('imgs/bg_right.jpg') right top repeat-y;
	width:100%;
}
#content_content {padding:0px 65px 0px 65px; }
#wrapper_inside #content_content {padding:0px 0px 0px 65px;}



/*************/
/* I-N-D-E-X */
/*************/

/* 3 columns na index */
.right {
	width:33%;
	float:right;
}
	.right_text {padding:20px 25px 20px 12px;}

.content_wrapper {
	overflow:hidden;
	//margin-right:33%;
	//padding-right: 1px; //overflow-x: hidden;	
}
.left {
	float:left;
	width:50%;
}
	.left_text {padding:20px 12px 20px 25px;}

.center {
	float:left;
	width:50%;
}

.lkns a {color:#ccc;}
	.center_text {padding:20px 22px 20px 22px; line-height:20px; color:#000; font-size:14px;}
.center_text td {line-height:normal;}
.center_text td p {line-height:normal;}
.center_text_main {padding:20px 22px 20px 22px;}
/* catalog ssylok index */
.line {margin:0px 20px 0px 20px; background:url('imgs/bg4.jpg') left top repeat-x; height:6px;}
#wrapper_inside .line {margin:0px 85px 0px 20px;}
.catalog {width:100%; overflow:hidden; padding-bottom:20px; padding-top:10px;}
.catalog img {padding:0px 5px 0px 0px; float:left;}
.catalog_zag {color:#000; font-size:1.1em; text-transform:uppercase;}
ul.catalog_links {padding:10px 0px 0px 0px; margin:0; list-style-type:none; font-size:0.9em;}
ul.catalog_links li {display:inline; padding:7px; line-height:18px;}


/* footer index */
#wrapper_index .footer_bg1 {background:url('imgs/bg5_1.jpg') left top no-repeat; width:100%; overflow:hidden;}
#wrapper_index .footer_bg2 {background:url('imgs/bg5_6.jpg') right top no-repeat; padding:0px 65px 0px 65px;}
#wrapper_index .footer_content {overflow:hidden; width:100%; background:url('imgs/bg5_2.jpg') left top repeat-x;}
#wrapper_index .footer_content .center {background:url('imgs/bg5_5.png') left top repeat;}
#wrapper_index .footer_content .center_bg1 {background:url('imgs/bg5_4.jpg') left top repeat-y;}
#wrapper_index .footer_content .center_bg2 {background:url('imgs/bg5_3.jpg') left top no-repeat; padding:15px 15px 15px 25px;}
#wrapper_index .footer_content .right img {padding:2px;}
.counters {padding:115px 0px 0px 50px;}
.counters img {filter:progid:DXImageTransform.Microsoft.Alpha(opacity=20); 
opacity: 0.2;
-moz-opacity: 0.2;}

.counters img:hover {filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50); 
opacity: 0.5;
-moz-opacity: 0.5;}

.footer_text {padding:120px 20px 0px 30px; font-size:11px; color:#fff;}

/* TOP-5, TOP-10 */
.top5 img, .top10 img, .statya_pop img {float:left;}
.top5 ul, .top10 ul, .statya_pop ul {margin:0; padding:0; list-style-type:none;}
.top5 li, .top10 li, .statya_pop li {margin:10px 0px 0px 0px; padding:0px 0px 1px 20px; background:url('imgs/top_ico.gif') 5px 4px no-repeat;}
.top5 a:link, .top10 a:link {font-size:11px; color:#b47b00; text-decoration:none;}
.top5 a:visited, .top10 a:visited {font-size:11px; color:#705b2d; text-decoration:none;}
.top5 a:hover, .top10 a:hover {text-decoration:underline;}

.statya_pop {font-size:1.3em; padding:20px 0px 10px 0px;}
.statya_pop a:link {font-size:14px; color:#61460d; text-decoration:underline;}
.statya_pop a:visited {font-size:14px; color: #303; text-decoration:underline;}
.statya_pop a:hover {text-decoration:none;}



/***************/
/* I-N-S-I-D-E */
/***************/

/* 3 columns na vnutrennih */
#wrapper_inside #content_content .right, #footer .right { 
	width:285px; 
	float:right; 
	padding-top:20px;
}
#wrapper_inside #content_content .content_wrapper, #footer .content_wrapper {
	overflow:hidden;
	//margin-right:280px;
	//padding-right: 1px; //overflow-x: hidden;	
}
#wrapper_inside #content_content .left, #footer .left {
	float:left;
	width:33%;
}
	#wrapper_inside .left_text {padding:20px 10px 10px 15px;}
#wrapper_inside #content_content .center, #footer .center {
	float:left;
	width:66%;
}
	#wrapper_inside .center_text {padding:23px 10px 10px 25px; }
	

/* textovie elementy */
.razdel_link a:link, .razdel_link a:visited {font-size:16px;}
.breadcrumbs  {color:#666; text-decoration:none; font-size:11px; line-height:normal;}

.breadcrumbs a:link, .breadcrumbs a:visited {color:#666; text-decoration:underline; font-size:11px; line-height:normal;}
.breadcrumbs a:hover {text-decoration:none;}
.pages {
margin-top: 48px;
    clear: left;
color:#ccc;
padding-bottom:13px;
 
    font-family: Arial, sans-serif; margin-left: 0px;
}

.pages a:hover {
   color:#333333;
}

.pages a, .pages span {
  color:#0092e5;
    display: block;
    float: left;
    line-height: 2.2em;
    padding:2px 10px 5px 8px;
    text-align:center;
    margin-right: 0.4em;
text-decoration: underline;

}

.pages span.current {

   background:url('imgs/page_bg.png') left top no-repeat; color:#fff;
}

.pages span.current2 {

  background:url('imgs/page_bg.png') left top no-repeat; color:#fff;
}



.pages {width:100%; overflow:hidden; color:#ccc; padding-bottom:10px;}
.pages ul {padding:0; margin:0; list-style-type:none;}
.pages li {padding:2px 10px 5px 8px; margin:0; float:left;}
.pages a:link, .pages a:visited {color:#0092e5;}
.pages li.active {background:url('imgs/page_bg.png') left top no-repeat; color:#fff;}
.p {line-height:1.5em;}
b {color:#000;}
.back {padding:20px 0px 0px 40px;}

/* listalka NAZAD - VPERED */
.statya_move {width:100%; overflow:hidden; padding:10px 0px 10px 0px; line-height: normal;}
.nazad, .vpered {border:1px solid #d4d4d4; background-color:#faf9f0; float:left; width:45%;}
.nazad { margin-right:5%;}
.vpered .move_zag {text-align:right;}
.move_zag {padding:15px 30px 20px 50px; font-size:18px;}
.descr {font-size:11px;}
.statya_move .statya_links p {padding:10px 0px 0px 0px; margin:0;}
.statya_move .statya_links li {padding-right:15px;}

/* spisok podrazdelov */
.podrazdely_links {padding:0px 0px 10px 10px;}
.podrazdely_links ul {margin:0; padding:0; list-style-type:none;}
.podrazdely_links li {padding:0px 0px 20px 50px; margin:0; background:url('imgs/ico_podrazdel.png') left top no-repeat;}

.statya_links {padding:0px 0px 10px 10px;}
.statya_links ul {margin:0; padding:0; list-style-type:none;}
.statya_links li {padding:0px 0px 20px 40px; margin:0; background:url('imgs/ico_statya.png') left top no-repeat;}
	
/* TOP 10 */
.top10_bg1 {background:url('imgs/inside_bg1.png') left top repeat-y; width:100%; overflow:hidden;}
.top10_bg2 {margin-left:9px;display:inline;	background:url('imgs/bg5_5.png') left top repeat;float:left;	}
.top10 {background:url('imgs/inside_bg2_1.jpg') right 87px no-repeat;width:191px;padding:10px 40px 10px 5px;}
.right_bg {background:url('imgs/inside_bg2_2.jpg') left 87px no-repeat; height:220px; float:left; width:40px;}

/* golosovanie */
.vote {padding:10px 80px 10px 20px;}
.vote form div {padding:7px;}

/* banner 150x150 */
.banner_150x150 {width:150px; height:150px; margin:20px; background-color:#eee;}

/* FOOTER vnutr */
#footer, #push {
	height:160px;
	width:100%;
}
#footer {
	position:relative;
	background:url('imgs/bg0.jpg') left top repeat;
	width: expression(document.body.clientWidth > 1000 ? "100%" : "1000px");	
	min-width:1000px;		
}
#footer .footer_bg1 {background:url('imgs/inside_bg5.jpg') left top repeat-x;}
#footer .footer_bg2 {background:url('imgs/inside_bg4.jpg') left top no-repeat; height:160px;}
#footer .footer_bg3 {background:url('imgs/inside_bg6.jpg') right top no-repeat; height:160px;}
#footer .footer_content {padding:70px 0px 0px 65px; color:#fff; overflow:hidden; font-size:11px;}
#footer .right {padding:0;width:244px;}
#footer .left {width:200px;}
#footer .left a {color:#fff;}
/* #footer .content_wrapper {margin-right:244px;} */
#footer .center {padding-left:15px;}
#footer .counters {padding:0;}

/* elementy */
h1 {font-weight:normal; color:#000; font-size:2em; margin:10px 0px; line-height:normal;}
h2 {font-weight:normal; font-size:1.6em;}

li.alf {
		
		margin:0;
		float:left;
		padding:0px 7px 0px 0px; list-style:none;
	}
	
.data ol li{
    padding:6px;
    background-color:#fff;
	border: 1px #ddd solid;	
    -moz-border-radius: 4px;
    -khtml-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    margin-bottom: 6px;
}
.data ol li a{
    font-size:1.2em;
}

.data ul{
    padding:0;
    margin:0;
}

.data ul li{
    list-style:none;
    border: 0 !important;
    padding-left: 4px;
    margin-left: 4px;
    margin-top: 2px;
}
.result {
    color:#777;
    font-size:1.4em;
    padding:6px 40px;
}
.result span {
    color:#333;
    font-size:1.4em;
}
.pagebar {
    width:380px;
    font-size:1.4em;
    padding:6px;
    margin:0 auto
}

.error {
	color: #FF3300;
}

/* Captions & aligment */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
	margin: 0px 10px 10px 0px;
}

.alignright {
	float: right;
margin: 0px 0px 10px 10px;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

/* End captions & aligment */