* {
	margin: 0;
	padding: 0;
}
html {
	height: 100%;
}
header, nav, section, article, aside, footer {
	display: block;
}
body {
	background: url(/lib/images/background.jpg);
	font-family: Georgia, 'Times New Roman', Times, serif;
	font-size: 14px;
	width: 100%;
	height: 100%;
	color: #000000;
}

.info {
	margin: 20px 0 0;
	padding: 10px;
	background: #AA000A;
	color: #ffffff;
}

a {
	color: #774A6B;
	outline: none;
	text-decoration: none;
}
a:hover {
	color: #CF80BA;
	text-decoration: none;
}
p {
	margin: 0;
}
img {
	border: none;
}
input {
	vertical-align: middle;
	color: #666;
	height: 25px;
}

textarea {
	width: 630px;
	resize: vertical;
}

h1 {
	font-size: 24px;
	font-weight: normal;
	font-style: italic;
	line-height: 28px;

}

.right_img {
	margin: 0 25px;
}



.right_img a img {
	border: 1px solid #fff;
	width: 120px; 
	margin: 0 3px 20px 0;
}

.right_img a img:hover {
	border: 1px solid #774A6B;
}

h1 a {
	color: #774A6B;
	outline: none;
	text-decoration: none;
}

h1 a:hover {
	color: #CF80BA;
	text-decoration: none;
}

h2 {
	font-size: 18px;
	font-weight: normal;
	font-style: italic;
	line-height: 28px;
	margin: 0 0 20px;
	padding: 0 0 10px;
	border-bottom: 1px solid #8E5F87;
	color: #333333;
}

ul {
	list-style-position: outside;
	list-style-image: url(/lib/images/bullet1.png);
}


#wrapper {
	width: 1040px;
	margin: 20px auto 0;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	padding: 0 10px;
}


/* Header
-----------------------------------------------------------------------------*/
#header {
	height: 186px;
	background: url("/lib/images/header_bg.jpg") repeat-x;
	border-bottom: 1px solid white;
	padding: 0 10px;
	min-width: 1040px;
}

.header_inner {
	height: 186px;
	width: 1040px;
	margin: 0 auto;
	position: relative;
}

#header-left {
    background: url("/lib/images/logo.png") no-repeat scroll 0 0 transparent;
    float: left;
	width: 550px;
    height: 186px;
    position: absolute;
	left: -75px;
}

#header-menu {
	position: absolute;
	top: 150px;
}

#header_right {
	float: right;
	color:#ffffff;
	padding: 30px 70px 0 0;
}

#shadow {
	background: url("/lib/images/shadow.png") repeat-x scroll 0 0 transparent;
	width: 100%;
	height: 20px;
	position: absolute;
}

.shadow_inner {
	background: url("/lib/images/shadow_center.png") repeat-x scroll 0 0 transparent;
	width: 1040px;
	margin: 0 auto;
	height: 20px;
}

.icon_tel {
    background: url("/lib/images/icon_tel.png") no-repeat;
	padding: 0 0 0 25px;
	height: 18px;
	margin: 10px 0 10px;
	font-size: 19px;
	font-style: italic;
	line-height: 14px;
}

.icon_mail {
    background: url("/lib/images/icon_mail.png") no-repeat;
	padding: 0 0 0 25px;
	height: 18px;
}


/* Menu
-----------------------------------------------------------------------------*/

#coolmenu {
  
}

#nav_top {
    list-style: none outside none;
    margin: 0;
    padding: 0;
}

ul#nav_top li {
    float: left;
    margin: 0;
	position: relative;
}

ul#nav_top li a {
	color: white;
	display: block;
	float: left;
	font-size: 20px;
	font-weight: normal;
	padding: 0 30px 0 0;
	text-decoration: none;
	font-family: garamond;
}

ul#nav_top li a:hover {
	color:  #f7f403;
}

ul#nav_top li a.active{
	color: #f7f403;
	display: block;
	float: left;
	font-size: 20px;
	font-weight: normal;
	padding: 0 30px 0 0;
	text-decoration: none;
	font-family: garamond;
}

/*--- ВЫПАДАЮЩИЕ ПУНКТЫ ---*/
#nav_top ul{
	list-style:none;
	position:absolute;
	left:-9999px; /* Скрываем за экраном, когда не нужно (данный метод лучше, чем display:none;) */
	opacity:0; /* Устнавливаем начальное состояние прозрачности */
	background: #b1b2b3;
	z-index: 2000;
	margin: 0;
	top: 20px;
}
#nav_top ul li{
	float:none;
	background: #b1b2b3;
	width: 100%;	
}

#nav_top ul li a{
	color: #000000;	
}

#nav_top ul a{
	white-space: nowrap;
	display: block;
	padding: 5px 20px 5px 10px;	
	text-decoration: none;
	height: 15px;
	font-size: 12px;
	margin: 0;
	text-align: left;
	text-transform: none;
	border-bottom: 1px dotted #3b3b3b;
}
#nav_top li:hover ul{ /* Выводим выпадающий пункт при наведении курсора */
	left:0; /* Приносим его обратно на экран, когда нужно */
	opacity:1; /* Делаем непрозрачным */
}

/* #nav_top li:hover a{ 
	text-decoration: none;
	border-bottom: 1px dotted #3b3b3b;
	color: #000000;
} */

#nav_top li ul li:hover { /* Устанавливаем стили для верхнего уровня, когда выводится выпадающий список */
	background:#c1c1c2;
	
}

#nav_top li ul li a:hover {
	color: #000;
}

#nav_top li:hover ul a{ /* Изменяем некоторые стили верхнего уровня при выводе выпадающего пункта */
	text-decoration:none;
	
}
#nav_top li:hover ul li a:hover{ /* Устанавливаем стили для выпадающих пунктов, когда курсор наводится на конкретный пункт */
	background:#c1c1c2;
	text-decoration: none;
	border-bottom: 1px dotted #3b3b3b;
}






/* Main top
-----------------------------------------------------------------------------*/

#main_top {
    background: url("/lib/images/koleso.png") no-repeat;
	width: 1040px;
	height: 850px;
	margin: 0 auto;
}

#top_main {
	height: 380px;
}

#top_main_left {
	float: left;
	padding: 50px 0 0 30px;
}

#top_main_right {
	padding: 20px 0 0;
}

#services {
	margin: 0 0 360px;
}

#services_top {
	height: 72px;
}

#ser_left {
	float: left;
	background: url("/lib/images/ser_left.png") no-repeat;
	width: 6px;
	height: 72px;
}

#ser_center {
	background: #8d657b;
	float: left;
	width: 1028px;
	height: 72px;
}

#ser_right {
	float: left;
	background: url("/lib/images/ser_right.png") no-repeat;
	width: 6px;
	height: 72px;
}

#ser_cen_title {
	float:left;
	width: 342px;
	text-align: center;
	font-family: georgia;
	font-style: italic;
	font-weight: bold;
	font-size: 20px;
	color: #ffffff;
	padding: 30px 0 0;
}

#ser_block {
	background: #ffffff;
	height: 330px;
	padding: 20px 0 0;
	border-bottom: 1px solid #c9bdc1;
	border-right: 1px solid #c9bdc1;
}

#ser_block a{
	background: url("/lib/images/more.png") no-repeat;
	text-align: center;
	width: 105px;
	height: 25px;
	color: white;
	font-size: 14px;
	padding: 3px 17px 5px;
}

#ser_block a:hover {
	background: url("/lib/images/more_hover.png") no-repeat;
}

#ser_block_left {
	text-align: center;
	float: left;
	width: 342px;
	height: 330px;
}

#ser_block_center {
	text-align: center;
	float: left;
	width: 342px;
	height: 330px;
}

#ser_block_right {
	text-align: center;
	float: left;
	width: 342px;
	height: 330px;
}

.ser_block_text {
	color: #3f3838;
	font-style: italic;
	font-weight: bold;
	font-size: 13px;
	text-align: left;
	padding: 20px 40px 20px 45px;

}

.ser_block_text ul{
	list-style-position: outside;
	list-style-image: url(/lib/images/bullet1.png);	
}

.punktir {
	background: url("/lib/images/punktir.png") repeat-y;
	width: 1px;
	height: 300px;
	float: left;
}

#polosa {
	background: #8D657B;
	width: 1040px;
	margin: 0 auto;
	-moz-border-radius-bottomright: 6px;
	-webkit-border-bottom-right-radius: 6px;
	-khtml-border-bottom-right-radius: 6px;
	border-bottom-right-radius: 6px;
	-moz-border-radius-bottomleft: 6px;
	-webkit-border-bottom-left-radius: 6px;
	-khtml-border-bottom-left-radius: 6px;
	border-bottom-left-radius: 6px;
	-moz-border-radius-topright: 6px;
	-webkit-border-top-right-radius: 6px;
	-khtml-border-top-right-radius: 6px;
	border-top-right-radius: 6px;
	-moz-border-radius-topleft: 6px;
	-webkit-border-top-left-radius: 6px;
	-khtml-border-top-left-radius: 6px;
	border-top-left-radius: 6px;
}

.polosa_inner {
	padding: 0 40px;
	color: #ffffff;
	font-size: 16px;
}

.shadow_top_polosa {
	background: url("/lib/images/pol_ten_top_dug.png") no-repeat;
	width: 1040px;
	height: 20px;
}

.shadow_bottom_polosa {
	background: url("/lib/images/pol_ten_niz_dug.png") no-repeat center bottom;
	width: 1040px;
	height: 45px;
}



/* Middle
-----------------------------------------------------------------------------*/
#middle {
	width: 100%;
	padding: 0 0 170px;
	height: 1%;
	position: relative;
}
#middle:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}
#container {
	width: 100%;
	float: left;
	overflow: hidden;
}
#content {
	padding: 0 330px 0 0;
	position: relative;
}

.title_page {
	color: #643452;
	font-size: 36px;
	font-weight: normal;
	margin: 10px 0 30px 0px;
	font-style: italic;
	line-height: 30px;
}

.white_block {
	background: white;
	padding: 40px 40px 80px;
	margin: 0 0 50px;
	border-bottom: 1px solid #C9BDC1;
	border-right: 1px solid #C9BDC1;
}

.top_white_block {
	border-bottom: 1px solid #8E5F87;
	margin: 0 0 20px;
	padding: 0 0 10px;
}

.avtor {
	padding: 5px 0 0;
	font-size: 12px;
}

.lilac_block {
	background: #8d657b;
	padding: 40px 40px 80px;
	margin: 0 0 50px;
	border-bottom: 1px solid #C9BDC1;
	border-right: 1px solid #C9BDC1;
	color: #ffffff;
}

.block {
	margin: 0 0 40px;
	color: #333333;
	text-align: justify;
}

.consul_block {
	margin: 0 0 40px;
}

.text {
	border-bottom: 1px solid #8E5F87;
	padding: 0 0 35px;
}

.buk {
	display: block;
	float: left;
	font: 60px/40px Georgia, Times, serif;
	padding: 7px 8px 0 0;
}

.text_a a {
	color: #00C;
	outline: none;
	text-decoration: underline;
}

.text_a a:hover {
	color: #4285F4;
	text-decoration: none;
}

.text li{
	margin: 0 0 0 40px;
}

.com {
	color: #643452;
	font-size: 16px; 
	font-weight: normal;
	margin: 0;
	font-style: italic;
	float: left;
	padding: 23px 0 0 20px;
}

.button {
	background: #76496A;
	text-align: center;
	height: 25px;
	color: #ffffff;
	font-size: 14px;
	padding: 0;
	float: right;
	margin: 20px 0 0;
}

.button:hover {
	background: #58364B;
}

.button_left {
	background: url("/lib/images/buleft.png") no-repeat;
	width: 3px;
	height: 25px;
	float: left;
}

.button_center {
	height: 25px;
	float: left;
	padding: 3px 10px 0;
	color: #ffffff;
}

.button_right {
	background: url("/lib/images/buright.png") no-repeat;
	width: 3px;
	height: 25px;
	float: right;
}


/* Sidebar Right
-----------------------------------------------------------------------------*/
#sideRight {
	float: left;
	margin: 50px -3px 0 -300px;
	width: 300px;
	position: relative;
}

.right{
	width: 300px;
	margin: 20px 0;
}

.right_inner {
	background: white;
	float: left;
	width: 300px;
	padding: 0px 0 40px;
	border: 1px solid #C9BDC1;
}

.right_full {
float: left;
width: 295px;
margin: 20px 0;
padding: 20px 0 40px;
}

.right_top {
	border-bottom: 1px solid #CECECE;
	margin: 0 25px 20px;
	padding: 0 0 20px;
}

.right_top_inner {
	margin: -6px auto 0;
	height: 42px;
	width: 140px;
}

.right_top_left {
	background: url(/lib/images/right_top_left.png);
	width: 8px;
	height: 42px;
	float: left;
}

.right_top_center {
	background: url(/lib/images/right_top_center.png);
	height: 42px;
	float: left;
	padding: 0 30px;
	font-size: 18px;
	color: white;
	line-height: 38px;
}

.right_top_right {
	background: url(/lib/images/right_top_right.png);
	width: 8px;
	height: 42px;
	float: left;
}

.right_shadow {
	background: url(/lib/images/right_shadow.png);
	width: 300px;
	height: 24px;
}

.right_center {
	margin: -3px 25px;
	border-top: 1px solid #CCC;
	padding: 10px 0 20px;
}

.right ul {
	list-style-position: outside;
	list-style-image: url(/lib/images/bullet3.png);
}

.right ul li {
	margin: 0 40px 10px;
}

.right ul li h1 {
	font-size: 14px;
	font-weight: normal;
	font-style: italic;
	line-height: 14px;
	margin: 0;
	border-bottom: none;
	
}

.right ul li a {
	color: #414141;
	font-size: 14px;
	font-style: italic;
}

.right ul li a:hover {
	color: #CF80BA;	
}

.title_right {
	color: #ffffff;
	font-style: italic;
	font-weight: normal;
	font-size: 24px;
	text-align: center;
	margin: 20px 0;
}

/* Footer
-----------------------------------------------------------------------------*/
#footer {
	background: url("/lib/images/header_bg.jpg") repeat-x;
    height: 170px;
    margin: 0 auto;
	position: relative;
	padding: 0 10px;
	min-width: 1040px;
}

#footer_inner {
	width: 1040px;
	position: relative;
	margin: 0 auto;
}

#footerfo {
	color: #ffffff;
    padding: 95px 0 0;
    text-align: center;
}

#doctor_ul {
	position: absolute;
	right: 15px;
	bottom: 30px;
}



/* Комментарии
-----------------------------------------------------------------------------*/
#comments_top {
	width: 710px;
	margin: 0 0 20px;
}

#comments_top_left {
	color: #643452;
	font-size: 26px;
	font-weight: normal;
	margin: 0;
	font-style: italic;
	float: left;
}

#comments_top_right {
	padding: 11px 0px 11px 10px;
	text-align: right;
	font-size: 18px;
}


#SmilesTr {
	background: #fbfbfb;
	padding: 40px;
	margin: 0 0 20px;
}

.comment {
    background: #ffffff;
    padding: 0px 40px 80px;
	margin: 0 0 50px;
	border-bottom: 1px solid #C9BDC1;
	border-right: 1px solid #C9BDC1;
}

.comment_admin {
    background: #ffffff;
    padding: 0px 40px 80px;
	margin: 0 0 50px;
	border-bottom: 1px solid #C9BDC1;
	border-right: 1px solid #C9BDC1;
}

.comment_top {
	height: 70px;
	border-bottom: 1px solid #8E5F87;
	margin: 0 0 20px;
}

.comment_name {   
	float: left;
	padding: 0;
	margin: -3px 0 0 0;
}

.comment_name_left {
    background: url("/lib/images/com_name_left.png") no-repeat;
	height: 51px;
	width: 4px;
	float: left;
}

.comment_name_center_admin {
	background: #76496A;
	height: 31px;
	float: left;
	color: white;
	font-size: 18px;
	font-style: italic;
	padding: 20px 20px 0;
}


.comment_name_center {
	background: #C08AB3;
	height: 31px;
	float: left;
	color: white;
	font-size: 18px;
	font-style: italic;
	padding: 20px 20px 0;
}

.comment_name_right {
    background: url("/lib/images/com_name_right.png") no-repeat;
	height: 51px;
	width: 4px;
	float: left;
}

.comment_date {
	padding: 25px 20px 0;
	float: right;
	color: #643452;
	font-size: 18px;
}

.comment_text {

}

.comment_form_name {
	float: left;
	margin: 0 20px 10px 0;
}





/* TABS
-----------------------------------------------------------------------------*/

#tabs ul {
	height: 50px;
	list-style: none;
}

#tabs li {
	float: left;
	text-align: center;
	width: 310px;
	padding: 10px 0px;
	margin: 0 2px;
	background: #8D657B;
}

#tabs .active {
	background: #D99CBD;
}

#tabs li:hover {
	background: #D99CBD;
}

#tabs li a{ 
	color: #ffffff;
	font-size: 16px;
	padding: 10px 70px;
}

#tabs li a:hover{
	text-decoration: none;
}


.answer_author {
	color: #643452;
	font-size: 24px;
	margin: 20px 0;
	border-bottom: 1px solid #643452;
	padding: 0 0 10px;
}

.forum_title {
	color: #643452;
	font-size: 18px;
	margin: 0 0 20px;

}


/* Пагинатор */

.paginator {
	text-align: center;
	font-size: 16px;
	margin: 30px 0;
	height: 30px;
	bottom: -34px;
}



.paginator_active{
	background: none repeat scroll 0 0 #F0F0F0;
	border: 1px solid #A17C9E;
	color: #4D4C2E;
	font-size: 18px;
	padding: 10px 8px 6px;
	text-align: center;
}

.paginator a {
    background: none repeat scroll 0 0 #FBFBFB;
    border: 1px solid #C9BDC1;
    color: #59364C;
    padding: 5px;
    text-decoration: none;
}

.paginator a:hover {

    color:#59364C;
    border: 1px solid #A17C9E;
    text-decoration: none;
}


.share42init {
	padding: 14px 0 0;
	position: absolute;
}

#share42 {
  display: inline-block;
  padding: 6px 0 0 6px;
}
#share42:hover {

}
#share42 a {opacity: 1;}
#share42:hover a {opacity: 1;}
#share42 a:hover {opacity: 0.7;}


/* Error 
-----------------------------------------------------------------*/

#error_name {
	position: absolute;
	top: -20px;
	left: 70px;
	height: 46px;
}

#error_email {
	position: absolute;
	top: -20px;
	left: 290px;
	height: 46px;
}

#error_text {
	position: absolute;
	top: 255px;
	left: 440px;
	height: 46px;
}

#error_text .error_bottom {
	width: 150px;
	height: 46px;
	background: url(/lib/images/error_top.png) no-repeat 10px top;
	position: absolute;
	top: -12px;
}

.error_left {
	float: left;
	width: 5px;
	height: 34px;
	background: url(/lib/images/error_left.png) no-repeat;
}

.error_right {
	float: left;
	width: 5px;
	height: 34px;
	background: url(/lib/images/error_right.png) no-repeat;
}

.error_text {
	background: #cb0b2a;
	float: left;
	height: 14px;
	color: #ffffff;
	padding: 7px 10px 13px;
}

.error_bottom {
	width: 150px;
	height: 46px;
	background: url(/lib/images/error_bottom.png) no-repeat 10px bottom;
}