/*
Theme Name:  MEDPUB
Theme URI: http://zsupport.ru
Author: Artem Markov
*/


html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, /*ul, li,*/ fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font-family: inherit;
	background: transparent;
}
body {
	line-height: 1;
	color: #000000;
	background: #ffffff;
	font-family:"Times New Roman", Times, serif;
	font-size:12px;
}
ol, ul {
	list-style: none;
	font-family:"Times New Roman", Times, serif;
}
table {
	border-collapse: collapse;
	border:#000 1px solid;
	padding:2px;
	margin: 2px;
	text-align:center;
}

tbody td {
	border:#000 1px solid;
	padding:2px;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
textarea {
	font-size: 100%;
}
h1, h2, h3, h4, h5, h6 {
	font-family:"Times New Roman", Times, serif;
	font-weight:normal;
	margin:0;
	padding: 0;
}
h1 {
	font-size:16px;
	height: 1px;
}
h2 {
	font-size:14px;
}
h3 {
	font-size:12px;
}
h4 {
	font-size:10px;
}
h5 {
	font-size:8px;
}
a img {
	border:0px;
}
p {
	font-family:"Times New Roman", Times, serif;
	color:#000000;
	font-size:16px;
}
a, a:hover, a:active {
	text-decoration:underline;
	color:#018ca5;
	font-family:"Times New Roman", Times, serif;
}
/* End Reset */


body {
	background-color:#FFFFFF;
	background-repeat: repeat-y;
	background-image:url(i/bg-body.gif);
	background-position:top;
	margin:0;
	padding:0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 100%;
	line-height: 1.3;
	position:relative;
}
/* ### HEADER ### */

#respond-box {
	display: none;
}

#header {
	margin:0px auto;
	height:305px;
	width:974px;
	position:relative;
	background:none;
}

#header .toplink {
	text-decoration: underline; 
}

#header h1 a {
	display:block;
	width:245px;
	height:90px;
	position:relative;
	cursor:pointer;
	text-indent:-10000px;
	margin:0px;
	padding:0px;
}
#header h1 a span {
	position:absolute;
	width:255px;
	height:90px;
	top:7px;
	left:30px;
	background:transparent url(i/logo.jpg) no-repeat 0 0;
	margin:0px;
	padding:0px;
}
#banner-top {
	display:block;
	position:absolute;
	top:15px;
	left:339px;
}
#header-left {
	display:block;
	position:absolute;
	top:120px;
	left:-1px;
	width:310px;
	height:88px;
	background-image:url(i/header-bg-left.gif);
	background-repeat:repeat-x;
}
#header-left ul {
	color:#FFFFFF;
	
	list-style:none;
	margin-top:11px;
	margin-left:32px;
	padding: 0px;
	background:transparent;
	position:relative;
	line-height:14px;
}
#header-left ul li  {
	color:#FFFFFF;
	text-decoration:none;
	background: url("i/menu-marker.gif") 0px 8px no-repeat;
	padding-left:8px;
	font-size:16px;
	line-height:16px;
	
}

#header-left ul li  a{
	color:#FFFFFF;
	text-decoration:none;
	
}

#header-right {
	display:block;
	position:absolute;
	top:120px;
	left:308px;
	width:665px;
	height:88px;
	background-image:url(i/header-bg-right.gif);
	background-repeat:repeat-x;
}
#header-right label {
	font-family:"Times New Roman", Times, serif;
	color:#000000;/*font-size:16px;*/
}
.login-label {
	position:absolute;
	top:9px;
	left:21px;
	font-size:16px
}
.password-label {
	position:absolute;
	top:9px;
	left:208px;
	font-size:16px
}
#header-right .login {
	font-family:"Times New Roman", Times, serif;
	color:#000000;
	font-size:14px;
	border:none;
	background:transparent;
	background-image:url(i/login-bg.gif);
	background-repeat:no-repeat;
	width:174px;
	height:20px;
	position:absolute;
	top:32px;
	left:21px;
}
#header-right .password {
	font-family:"Times New Roman", Times, serif;
	color:#000000;
	font-size:14px;
	border:none;
	background:transparent;
	background-image:url(i/login-bg.gif);
	background-repeat:no-repeat;
	position:absolute;
	top:32px;
	left:207px;
	width:174px;
	height:20px;
}
#header-right span.checkbox {
	width: 19px;
	height: 25px;
	background: url(i/checkbox.gif) no-repeat;
	display: block;
	position:absolute;
	top:56px;
	left:203px;
}
input.styled {
	display: none;
}
select.styled {
	position: relative;
	width: 190px;
	z-index: 5;
}
.check-label {
	font-size:13px;
	color:#000000;
	position:absolute;
	top:59px;
	left:226px;
}
.login-btn {
	position:absolute;
	top:31px;
	left:393px;
}
.header-register {
	position:absolute;
	top:57px;
	left:22px;
	color:#018ca5;
	font-size:13px;
}
#login_error {
	position:absolute;
	left:10px;
	top:5px;
	width:440px;
	height:18px;
	background-color:#FF6666;
	border:#333333 1px solid;
	z-index:50;
}
.login-img-user {
	position:absolute;
	left:15px;
	top:5px;
	height:80px;
	width:80px;
}
.login-welcome {
	position:absolute;
	top:13px;
	left:110px;
}
.logined-comments {
	position:absolute;
	top:35px;
	left:110px;
	padding:0px;
	margin:0px;
}
.logined-list {
	position:absolute;
	top:60px;
	left:110px;
	padding:0px;
	margin:0px;
	line-height:12px;
}
.logined-list li a {
	margin:0px;
	padding:0px;
	text-decoration:none;
	font-size:14px;
	letter-spacing:1px;
}
.login-welcome-openid {
	position:absolute;
	top:13px;
	left:10px;
}
.logined-list-openid {
	position:absolute;
	top:35px;
	left:10px;
	padding:0px;
	margin:0px;
	line-height:12px;
}
.logined-list-openid li a {
	margin:0px;
	padding:0px;
	text-decoration:none;
	font-size:12px;
	letter-spacing:1px;
}
#header-rss {
	display:block;
	position:absolute;
	top:6px;
	left:469px;
	height:69px;
	width:186px;
	background:transparent;
	background-image:url(i/separator-bg.gif);
	background-repeat:repeat-y;
	background-position:left;
	padding-left:12px;
	padding-top:0px;
	margin: 0px;
}
#header-rss span {
	font-size:13px;
}

#header-rss a {
	font-size:13px;
}
#header-rss img {
	margin-right:5px;
}

#header-shadow {
	position:absolute;
	display:block;
	top:207px;
	left:0px;
	height:24px;
	width:973px;
	background-image:url(i/header-bg-shadow.gif);
	background-repeat:no-repeat;
	background-position:top;
}


#header-rss a.wlm {
	text-decoration: none;
	font-size: 1.1em;
	font-weight: bold;
}

#header-rss a.wlm:hover {
	color: #bf1c00;
}

#wlm {
	z-index: 10000;
	position: absolute;
	left: 0px;
	width: 300px;
	background-color: #FFFFFF;
	border: 1px solid #BEDBE1;
	overflow: auto;
}

#wlm p.info {
	width: 100%; 
	text-align: right;
}

#wlm p.info a {
	margin: 2px 2px 2px 0;
}

#wlm_smile {
	margin: 3px 0 0 2px;
}

#coolybs ul {
	padding: 0px 10px;
}

#coolybs ul li a {
	font-size: 0.9em;
}

#coolybs ul li p {
	font-size: 0.9em;
}


#header-an {
	display:block;
	width:940px;
	height:70px;
	position:absolute;
	top:227px;
	left:0px;
	margin:0px;
	padding:0 0 0 34px;
}
#inside-an {
	display:block;
	height:70px;
	margin:0px;
	padding:0px;
}
.an-block {
	display:block;
	float:left;
	width:275px;
	height:70px;
	margin-right:28px;
}
.an-block2  {
	display:block;
	width:198px;
	height:70px;
	margin: 0 auto;
	padding-right: 1px;
}

.img-container {
	float:left;
	display:block;
	background-color:#ef3e56;
	padding:0 0 0 9px;
	margin:0 4px 0 0;
}
.img-container img {
	border:#909090 solid 1px;
	border-left:none;
}
.an-block p {
	margin:3px 0px 5px 14px;
	padding:0px;
	font-weight:normal;
	font-size:14px;
}
.an-block p a {
	font-weight:bold;
	font-size:14px;
}
.an-block2 p {
	margin:0px;
	padding:0px;
	font-weight:normal;
	font-size:14px;
	overflow: hidden;
}
.an-block2 p a {
	font-weight:bold;
	font-size:14px;
}

div.alpha {
	padding-top: 60px;
	text-align: center;
}

/* ### WRAPPER ### */


#wrapper {
	margin:0px auto;
	padding: 1 0 20px 0;
	height:auto;
	width:974px;
	position:relative;
	/*border: #00ff00 1px solid;*/
}
#container {
	padding:0px;
	margin:0 0px 40px 0;
	float:right;
	width:664px;
	height:100%;
	position:relative;
}

.article {
	padding:10px 20px;
	border:#bedbe1 1px solid;
	background-color:#FFFFFF;
	font-size:16px;
	width:597px;
	margin-bottom:25px;
	position:relative;
	margin-top: 0px;
	height: 100%;
}

#divcons.article {
	padding:15px 30px 10px 31px;
	border:#bedbe1 1px solid;
	background-color:#FFFFFF;
	font-size:16px;
	width:567px;
	margin-bottom:25px;
	position:relative;
	margin-top: 0px;
}

#divcons .meta-tags {
	padding-left: 5px;
	padding-right: 5px;
}

#common-tags {
	float: left;
	margin: 40px 0 0 0;
	padding: 0;
}

#common-tags ul {
	padding: 0;
	margin: 40px 0 0 0;
}

#cons-tags {
	margin: 40px 0 0 280px;
	padding: 0;
}

#cons-tags ul {
	padding: 0;
	margin: 40px 0 0 0;
}

.article-author {
	padding:10px 30px 10px 31px;
	border:#bedbe1 1px solid;
	background-color:#FFFFFF;
	font-size:16px;
	width:567px;
	margin-bottom:25px;
	position:relative;
}

.article-author h1 {
	font-size: 1.4em;
	margin: 0px;
	padding: 0px;
	padding-bottom: 8px;
	height: 100%;
}

.article-author h2 {
	font-size: 1.2em;
	margin: 0px;
	padding: 0px;
	padding-bottom: 5px;
	height: 100%;
}

.article-author ul {
	padding: 0px;
}

.user-comments {
	padding:10px 30px 10px 31px;
	border:#bedbe1 1px solid;
	background-color:#FFFFFF;
	font-size:16px;
	width:567px;
	margin-bottom:25px;
	position:relative;
}

.user-comments table {
	border: 0px;
	width: 100%;
	margin-top: 36px;
}

.user-comments table tr {
	border: 0px;
	vertical-align: top;
}

.user-comments table tr td {
	border: 0px;
	vertical-align: top;
	width: 50%;
}

.user-comments table tr td ul {
	padding: 0px;
	margin: 40px 0 0;
}

.user-comments table tr td ul li {
	padding: 0px;
	margin: 0px;
}

.user-comments h1 {
	font-size: 24px;
}

.article h1 a {
	font-size:24px;
	padding:0px;
	margin:0px;
	font-weight:normal;
	float: left;
}

.article h1.cons {
	padding-bottom: 40px;
	display: block;
}

hr {
	margin: 10px 0;
	padding: 0;
}

p.cons_header a {
	font-size: 1.6em;
	line-height: 1em;
}

.article h1.cons a.cons {
	font-size:1.6em;
	font-weight:normal;
	padding-bottom: 20px;
	float: none;
}

.article p {
	font-size:16px;
	line-height:18px;
	padding-bottom:18px;
}

div.wp-caption {
	border: 1px solid gray;
	padding: 6px 2px 2px 2px;
	margin: 2px;
	text-align: center;
	background-color: #F3F3F3;
}

p.wp-caption-text {
	font-size: 0.8em;
	text-align: center;
	padding-bottom: 0px;
}

p.meta {
	position:relative;
	font-size:16px;
	padding: 20px 0 0 0px;
}
.date {
	color:#ef3e56;
	font-weight:bold;
	font-size:16px;
	padding:0px;
	margin-right:8px;
}
p.meta-right {
	font-size:16px;
	margin: 0px 0 0 0;
	padding: 6px 0 0 0;
	text-align:right;
}
.meta-right a {
	font-size:16px;
}

div.meta-tags {
	font-size:16px;
	padding: 10px 0 10px 0;
	margin: 20px 0 20px 0;
	width: 100%;
	text-align: center;
	border: 1px solid #aacdd4;
}

div.meta-tags p {
	padding: 0px;
	margin: 0px;
	margin-bottom: 5px;
}

/* ### SIDEBAR ### */

#sidebar {
	position:relative;
	width:240px;
	margin:0px;
	padding:0px;
	padding-left:35px;
	margin-top: -21px;
}
#sidebar h3 {
     display:block;
     height:26px;
     width:240px;
     color:#FFFFFF;
     background-image:url(i/h3-bg.gif);
     background-repeat:no-repeat;
     padding:2px 0px 0px 10px;
     font-size:16px;
     font-weight:bold;
     margin:0px 0px 9px 0px;
     letter-spacing:1px;
}
#sidebar ul {
     padding:0px;
     margin:0px;
     line-height:16px;
     font-size:16px;
     margin-bottom:21px;
     padding-left:20px;
}
#sidebar ul li {
	padding-bottom: 3px;
	color: #777777;
}
#sidebar li ul li {
     font-size:14px;
     font-family:"Times New Roman", Times, serif;
     margin-left:0px;
}
#sidebar li ul li a {
     font-size:16px;
}
#banner-left {
     margin:9px 0 21px 0;
}
#search {
	display:block;
	width:186px;
	height:46px;
	position:relative;
	margin: 0px;
	padding-top: 6px;
}
.search-input {
     background-color: white;
     border:1px solid #aacdd4;
     position:absolute;
     left:0px;
     width:166px;
     height:18px;
     padding:0 2px;
}
.search-btn {
     position:absolute;
     top: 32px;
     left:108px;
}
.all-themes {
	padding-left:20px;
     font-weight:bold;
     margin-bottom:13px;
}

#headcons {
	width: 240px;
	float: left;
}

#lastconses {
	margin: 5px 0 20px 260px;
	border: 1px solid #018ca5;
	/*width: 320px;*/
}

#lastconses h1 {
	font-weight: bold;
	font-size: 1.1em;
	padding: 5px 0 0 0px;
	width: 100%;
	text-align: center;
}

#lastconses ul {
	margin: 0px;
	padding: 0 0 0 15px;
}


#lastconses ul li {
	padding: 0px;
	margin: 0px;
}

#lastconses table {
	border: 0px;
}

#lastconses table tr td {
	border: 0px;
}

#lastconses table tr td.tdate {
	font-size: 0.8em;
	color: #ef3e56;
	padding: 4px 0 0 10px;
	margin: 0px 0 0 0;
	vertical-align: top;
}

#lastconses table tr td.title {
	margin: 0;
	padding-left: 5px;
}

#lastconses p {
	witdh 100%;
	margin-top: 10px;
	text-align: center;
}

#lastconses p.last_header {
	font-weight: bold;
	padding-top: 10px;
}

#allconses {
	padding-bottom: 10px;
}

#allconses ul {
	padding: 0px;
	margin: 0px;
}


#allconses ul li {
	padding: 0px;
	margin: 0px;
}

#allconses ul span {
	color: #ef3e56;
}

#allconses table {
	border: 0px;
}

#allconses table tr td {
	border: 0px;
}

#allconses table tr td.tdate {
	font-size: 0.8em;
	color: #ef3e56;
	padding: 4px 0 0 10px;
	margin: 0px 0 0 0;
	vertical-align: top;
}

#allconses table tr td.title {
	margin: 0;
	padding-left: 5px;
}

ul.cons {
	margin: 0px;
	padding: 0px 0 20px 0;
	font-size: 1.2em;
	list-style: disc;
	color: #018ca5;
}

span.cons {
	padding: 0 0px 0 0;
	font-size: 1em;
}

p.cons {
	padding: 5px 0 20px 0; 
	font-weight: bold;
	font-size: 1.2em;
	color: #018ca5;
}

div.keywords {
	margin: 15px auto;	
}

div.keywords ul {
	margin-top: 0px;
	mergin-left: 0px;
	padding-left: 0px;
	text-align: left;
	left: 0px;
}

div.keywords ul li {
	mergin-left: 0px;
	padding-left: 0px;
	text-align: left;
	left: 0px;
}

div.keywords ul li {
	float:left;
	width:50%;
	color: gray;
}

div.clear {
	clear:both;
	float:none;
	height:0;
	margin:0;
	padding:0;
}

div.keywords ul li.clear {
	clear:left;
	float:none;
	height:0px;
	margin:0;
	padding:0;
}

div.keywords p.all {
	font-weight: bold;
	width: 100%;
	text-align: center;
}

a.ask {
	color: #ef3e56;
}

p.ask {
	width: 100%;
	text-align: center;
}

p.paginator {
	width: 100%;
	text-align: center;
}

.autors ul {
     padding-left:0px;
}
ul.autors li span {
}
ul.autors li ul li a {
     padding-left:0px;
}
#sidebar ul.autors li span {
     font-size:16px;
     line-height:20px;
}
.clear {
     clear: both;
}
/* ### COMMENTS ### */
#comments {
	position:relative;
	width:630px;
}
p.meta-c {
	font-size:16px;
	padding:0px;
}
.meta-c .date {
	color:#000000;
	font-weight:bold;
	font-size:16px;
	padding:0px;
	margin-right:8px;
}

.meta-c-author {
	color:#ef3e56;
}

.author-comment-link {
	color:#ef3e56;
}
.wp-tag-cloud {
	margin-top: 40px;
}

.wp-tag-cloud li {
	color: #777777;	
}

.comment-item-top {
	margin-bottom:15px;
}
.comment-item-middle {
	border:#bedbe1 1px solid;
	background-color:#FFFFFF;
	font-size:16px;
	width:485px;
	position:relative;
	padding:10px;
	float:left;
}
.comment-item-middle p {
/*	font-style:italic; */
}
.comment-item-bottom {
	height:22px;
	text-align:right;
}
.comment-item-bottom p {
	font-size:12px;
}
.gravatar {
	width:80px;
	height:80px;
	margin-right:15px;
	float:left;
}
/* respond-box */

#respond-box {
	position:relative;
	width:600px;
	height:211px;
	background-image:url(i/comment-bg.gif);
	background-color:#DAF0F4;
}

.comm_input-text-1 {
	border:1px solid;
	border-color: #aacdd4;
	width:272px;
	height:17px;
	padding-top: 5px;
	margin: 10px 0px 0px 10px;
}

.comm-label-1 {
	font-size: 14px;
	color: #000000;
	margin-left: 10px;
	margin-right: 20px;
	font-family: "Times New Roman", Times, serif;
}

.comm_input-text-2 {
	border:1px solid #aacdd4;
	width:250px;
	height:17px;
	margin: 5px 0px 0px 10px;
}

.comm-label-2 {
	font-size: 14px;
	color: #000000;
	margin-left: 10px;
	font-family: "Times New Roman", Times, serif;
}

.comm_input-text-3 {
	border:1px solid #aacdd4;
	width:74px;
	height:17px;
}

.comm-label-3 {
	height: 20px;
	font-size:14px;
	color:#000000;
	font-family:"Times New Roman", Times, serif;
}

.comm_textarea_text {
	border:1px solid;
	border-color: #aacdd4;
	margin: 10px 10px 5px 10px;
	width:575px;
	height:150px;
	overflow:auto;
}
.comm_textarea_text_logout {
	border:1px solid;
	border-color: #aacdd4;
	width:520px;
	height:100px;
	margin: 5px 0px 5px 65px;
	overflow:auto;
}

.submit-btn {
	margin-left: 482px;
	margin-top: 5px;
}

/* ### some code for archive.php =) ### */

#ul-archive ul{
	list-style:none;
	text-align:center;
	font-size:16px;
	margin-bottom:20px;
}
#ul-archive ul li {
	display:inline;
	margin-right:16px;
}


/* ### FOOTER ### */


#footer {
	display:block;
	width:974px;
	height:200px;
	position:relative;
	margin:0px auto;
}
#banner-bottom {
	display:block;
	position:absolute;
	top:3px;
	left:339px;
}
#footer-apple {
	position:absolute;
	display:block;
	background-image:url(i/footer-apple.png);
	background-repeat:no-repeat;
	width:309px;
	height:84px;
	top:31px;
	left:0px;
}
#footer-left {
	position:absolute;
	display:block;
	top:115px;
	left:0px;
	width:310px;
	height:90px;
	background-image:url(i/footer-bg-left.gif);
	background-repeat:repeat-x;
}
#footer-left p {
	position:absolute;
	top:22px;
	left:53px;
	font-size:13px;
	color:#018ca5;
	line-height:19px;
}
#footer-right {
	position:absolute;
	display:block;
	top:115px;
	left:310px;
	width:664px;
	height:90px;
	background-image:url(i/footer-bg-right.gif);
	background-repeat:repeat-x;
}
#footer-right ul {
	margin:0px;
	padding:0px;
	list-style:none;
	color:#ffffff;
	position:absolute;
	top:32px;
	left:130px;
	font-size:16px;
	font-weight:bold;
}
#footer-right ul li {
	margin:0px;
	padding:0px;
	display:inline;
	color:#ffffff;
	margin-right:16px;
}
#footer-right ul li a {
	margin:0px;
	padding:0px;
	color:#ffffff;
	text-decoration:none;
}
#footer-right #counters {
	position:absolute;
	margin-top: 10px;
	margin-left: 530px;
}

#footer-right #counters ul {
	margin: 0px;
	padding: 0px;
	left: 0px;
	top: 0px;
}

#footer-right #counters ul li.first-column {
	margin: 0px;
	padding: 0px;
}


/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */


