* {margin: 0px; padding: 0px;}
HTML {height:100%;}
BODY {background: #F2F2F2 url(/templates/default/images/bg/flag.jpg) no-repeat top left;}
TABLE {border: none; border-collapse: collapse;}

/*Минимальная ширина*/
#container {position:relative; height:100%; min-width: 960px; max-width:1600px; margin:0px auto; width: expression((document.documentElement.clientWidth || document.body.clientWidth) < 960? "960px":document.body.clientWidth > 1600? "1600px":"100%"); z-index:2}

IMG.wait {display:inline !important; margin-right:10px;}

/*Отступ*/
.clear {clear: both; height: 0; overflow: hidden;}
*+html .clear {clear: both; height:auto; overflow:visible;}
*html .clear {clear: both; height:auto; overflow:visible;}

/*Хак к картинкам PNG*/
.png {filter:expression(fixPNG(this));}
/*.png {behavior: url(/javascript/iepngfix.htc);}*/

/*Правильный NOBR*/
.nobr  {white-space:nowrap;}

/*Формы*/
INPUT, SELECT, TEXTAREA, BUTTON {font-size:13px; line-height:20px; font-family: Arial; color: #333;}
INPUT.text {padding:10px 3px 8px;}
*+html INPUT.text {padding:6px 3px 10px;}
*html INPUT.text {padding:6px 3px 10px;}
html:first-child INPUT.text {padding:10px 3px;}
INPUT.button, BUTTON {padding:5px 30px; font-weight:bold; cursor:pointer;}
*+html INPUT.button, *+html BUTTON {padding:3px 30px;}
SELECT {}
TEXTAREA {padding:4px 3px;}

#main {background:none !important;}
#main #bg {position:absolute; width:100%; overflow:hidden; z-index:1;}
#main #bg .left {position:absolute; left:0px; width:50%; z-index:1;}
#main #bg .left DIV {height:800px; margin-right:756px; background:url(/templates/default/images/bg/flag-left.jpg) repeat-x top right !important;}
#main #bg .right {position:absolute; right:0px; width:50%; z-index:1;}
#main #bg .right DIV {height:800px; margin-left:756px; background:url(/templates/default/images/bg/flag-right.jpg) repeat-x top left !important;}
#main #bg .center {position:relative; height:800px; background:url(/templates/default/images/bg/flag-main.jpg) no-repeat top center !important; z-index:2;}
#main #header {position:relative; height:128px; width:86%; margin:0px auto 0px;  z-index:1; background:none; }
#main #header .bottom {position:absolute !important; left:-20px; top:0px; height:128px; width:100%; overflow:hidden;}
#main #header .left {position:absolute !important; left:0px; top:0px; height:128px; width:20px;}
#main #header .right {position:absolute !important; right:0px; top:0px;  height:128px; width:20px;}

#main #header .center {position:relative; margin:0px 0px 22px; height:108px;}
#main #header .center2 {position:relative; margin:0px 0px 22px; height:108px;}

#main #header .center IMG {position:absolute !important; top:70px; right:15%;}
#main #visual {text-align:center; margin-top:-80px; position:relative; height:430px; z-index:2;}
#main #visual OBJECT {margin:0px auto;}
#main #footer-obr-l, #main #footer-obr-r {position:absolute !important; width:12%; height:321px; z-index:4;}
#main #footer-obr-l {left:0px;}
#main #footer-obr-r {right:0px;}
#main #footer {position:relative; height:200px; width:86%; padding:0px !important; background: none !important; margin:0px auto; z-index:3;}
#main #footer .top {position:absolute; left:-20px; top:-20px; height:20px; width:100%; overflow:hidden;}
#main #footer .left {position:absolute; left:0px; top:-20px; height:278px; width:20px; background:url(/templates/default/images/bg/main/foot/left.png) no-repeat;}
#main #footer .right {position:absolute; right:0px; top:-20px;  height:278px; width:20px; background:url(/templates/default/images/bg/main/foot/right.png) no-repeat;}
#main #footer .center {position:relative; margin:6px 20px 0px; padding-top:24px; height:100%; background-color:#FFF;}
#main #menu {text-align:center; white-space:nowrap; padding-bottom:0px;}
#main #menu A {margin:0px 1%;}
#main #info TABLE {width:720px; margin:40px auto 0px;}
#main #info TABLE TD.ban {padding-right:40px; vertical-align:bottom; text-align:center;}
#main #info TABLE TD.txt {font-size:11px; line-height:18px; text-align:left;}
#main .address {position:relative; width:84%; margin:0px auto; background:#FFF; padding-top:60px; padding-bottom:60px; text-align:center; z-index:2;}


/*Поле с тенью*/
#border {position:relative; height:100%; width:86%; margin:80px auto 0px;}
#border .b-top, #border .b-left, #border .b-right, #border .b-bottom, #border .c-left, #border .c-right {position:absolute; -moz-user-select: none; -khtml-user-select: none; user-select: none;}

#border .b-top {position:relative; left:-20px; height:20px; width:100%; overflow:hidden;}
#border .b-left {left:0px; top:0px; width:20px; overflow:hidden;}
#border .b-right {right:0px; top:0px; width:20px; overflow:hidden;}
#border .b-bottom {position:relative; bottom:0px; height:40px; width:100%; padding-bottom:60px;}
#border .b-center {margin:0px 20px; background:#FFF;}
#border .c-center {position:relative; left:-20px; width:100%; overflow:hidden;}
#border .c-left {left:0px; top:0px; height:40px; width:20px;}
#border .c-right {right:0px; top:0px; height:40px; width:20px;}

#border .top, #border .center {position:relative;} 
#border .top {width:100%; height:231px;}
/**+html #border .top {height:216px;}*/
/**html #border .top {height:210px;}*/
#border .center {width:100%; overflow:hidden; z-index:1;}

#border .top .b-left, #border .top .b-right {height:251px;}
/**+html #border .top .b-left, *+html #border .top .b-right {height:216px;}*/
/**html #border .top .b-left, *html #border .top .b-right {height:230px;}*/

#border .center .b-left {height:10020px; top:20px; background:url(/templates/default/images/bg/left2.png) left top no-repeat; overflow:hidden;}
#border .center .b-right {height:10020px; top:20px; background:url(/templates/default/images/bg/right2.png) right top no-repeat; overflow:hidden;}
/**+html #border .center .b-center {padding-top:14px;}
*html #border .center .b-center {}*/
#border .center .b-center {border:1px solid #fff; margin-top:18px;}

/*Шапка*/
#header {position:relative; width:100%; height:231px; background:#FFF;}
*html #header {height:211px;}
#header .pad {margin:0px 60px -10px;}
#header .logo {position:absolute; width:200px; text-align:center; z-index:2;}
#header .logo OBJECT#myFlashContent {position:relative; left:-10px; top:-58px;}
#header .logo H1 {color:#333; font-size:20px; line-height:24px; font-weight:normal; margin:0px !important; padding:0px !important;}
#header .slogan {position:relative; width:100%; top:100px; text-align:right; right:80px; z-index:2;}
#header .pic {position:absolute; right:-11px; top:-11px; width:100%; height:240px; overflow:hidden; z-index:1; background:#FFF no-repeat right top;}
#header .white {position:absolute; left:0px; bottom:-20px; width:160px; height:100px; background:#FFF; z-index:1;}

/*Разметка*/
#content {padding:0px 60px 0px; background-color:#FFF; z-index:10;}
#content #left {position:relative; top:-20px; float:left; width:200px; z-index:2;}
#content #right {position:relative; top:-20px;float:right; margin-left:-230px; width:100%;}
#content #left .pad {padding:20px 0px 0px 60px;}
#content #right .pad {margin-left:230px; _margin-left:240px; padding:0px 80px 40px 0px}

#content .title {margin-bottom:40px; width:102%;}
#content .title H1 {margin:0px;}
#content .title .table-name {width:100%;}
#content .title .table-name TD {vertical-align:bottom;}
#content .title IMG {margin-right:15px;}
#content .title .hr-line {position:relative; top:-6px; height: 1px; width:100%; background-color: #DBDBDB; overflow:hidden;}

#left .pic {position:relative; top:-20px;}
#left .pic .img {padding:3px; position: absolute; left:-30px; _top:-10px; border:1px solid; border-left-color:#E0E0E0; border-top-color:#E0E0E0; border-right-color:#C1C1C1; border-bottom-color:#C1C1C1;}
*+html #left .pic .img {top:-10px;}
#left .pic H2 {position:relative; top:200px; margin-top:0px !important;}
#left .pic P {position:relative; top:200px; margin:15px 0px 0px 0px !important;}


/*Навигация*/
#menu {padding-bottom:60px;}
#menu IMG {display:inline !important;}
#menu UL {margin:0 !important; padding:0 !important;}
#menu UL LI {margin-bottom:0px !important; padding:7px 0px !important; _padding:6px 0px !important; background:none !important; line-height:0px !important;}
*+html #menu UL LI {padding:6px 0px !important;}
#menu UL LI UL {margin:6px 0px !important;}
*+html #menu UL LI UL {margin:-12px 0px 0px !important;}
*html #menu UL LI UL {margin:-12px 0px 0px !important;}
#menu UL LI UL LI {margin-left:16px; padding:7px 0px !important; _padding:6px 0px !important;}
*+html #menu UL LI UL LI {padding:6px 0px !important;}

/*Новости*/
#news {width:100%;}

#news .full {position:relative; padding-left:75px;}
#news .full .date {position:absolute; left:0px; top:0px; _top:-2px; _margin-left:-75px !important;}
*+html #news .full .date {top:-2px;}
#news H1 {color:#CE610A !important; margin-top:0px !important;}
#news .full P {margin-left:0px;}

#news .pub {position:relative; margin-bottom:30px; padding-left:75px;}
#news .pub P {position:absolute; left:0px; top:3px; width:75px; margin:0px !important; _margin-left:-75px !important;}
#news .pub H1 {margin:0px 0px 10px 0px !important;}

#news .show {border-top:1px solid #DBDBDB; margin-top:16px; _border-bottom:1px solid #FFF;}
#news .show .pub {margin:30px 0px 0px;}
#news .show P {top:0px; _top:-1px;}
*+html #news .show P {top:-1px;}

#news #paging {margin-left:75px;}

.review {margin-bottom:40px;}
.review H1 {margin:0px 0px -10px 0px !important; color:#CE610A !important;}

/*Список*/
#articles {width:100%;}
#articles .item {position:relative; margin-bottom:40px; padding-left:110px;}
#articles .item .img {position:absolute; left:0px; _margin-left:-110px; top:4px; padding:3px; border:1px solid; border-left-color:#E0E0E0; border-top-color:#E0E0E0; border-right-color:#C1C1C1; border-bottom-color:#C1C1C1;}
#articles .item H1 {margin:0px 0px 10px !important;}
#articles .item P {margin:0px !important;}
/*#articles #paging {margin-left:110px;}*/

/*Пейджинг*/
#paging {position:relative; width:100%; left:-24px; padding-top:26px; line-height:21px; height:21px; _margin-bottom:-30px; word-spacing:8px;}
#paging .text {float:left; width:80px;}
#paging .more {word-spacing:0px;}
#paging SPAN {display:block; float:left; border:1px solid #666; margin:0px 10px 10px 0px; width:32px; cursor:pointer; text-align:center;}
#paging A {color:#666; border:none; text-decoration:none;}
#paging SPAN.active {cursor:default; border:1px solid #222; color:#222 !important; font-weight:bold;}
#paging IMG {float:left; position:relative; top:8px; margin-right:10px;}

/*Вернуться назад*/
#back {position:relative; left:-24px; margin-top:40px; padding-left:24px; background:url(/templates/default/images/i/left-border.gif) 0px 7px no-repeat;}
#back A {text-decoration:underline;}
#back IMG {display:inline !important; margin-right:10px;}

/*Запись на прием*/
#mail {padding-left:40px;}
#mail P {margin-left:0px !important;}
#mail INPUT.text {margin-bottom:20px; width:100%;}
#mail INPUT.tel {width:50%;}
#mail TABLE {width:90%;}
#mail TABLE TD {vertical-align:top;}
#mail TABLE TD.i {padding-right:20px; padding-top:3px; width:33%;}
#mail TABLE TD.s {padding-top:10px; width:50%;}
#mail LABEL {display:block; white-space:nowrap; margin-bottom:5px; padding-left:20px;}
#mail INPUT.sub {position:relative; left:-40px; margin-top:30px; background:#FFF url(/templates/default/images/btn/appointment.gif) no-repeat top left; width:200px; height:38px; border:none !important; text-decoration:none !important;}

/*Консультации*/
#consult OL {list-style-type:none; padding:0px !important; margin-left:45px !important;}
*+html #consult OL {margin-left:30px !important;}
*html #consult OL {margin-left:30px !important;}
#consult .item {position:relative; margin-bottom:20px;}
#consult .item DIV {position:absolute; left:-24px; top:0px; _top:-4px; width:20px; text-align:right;}
*+html #consult .item DIV {top:-4px;}
#consult .item SPAN {border-bottom:1px dashed #666; cursor:pointer;}
#consult .item P {display:none;}
#consult .active DIV {color:#CE610A;}
#consult .active SPAN {color:#CE610A; border-bottom:1px dashed #CE610A;}
#consult .active P {display:block; margin:10px 0px 10px 30px; color:#999; font-size:11px; line-height:18px;}


/*Блок-рамка с раличными полями */
#border-form {position:relative; width:340px; padding:20px; border:1px solid #DBDBDB;}

#askquestion {display:block; margin-top:50px; padding-top:40px; border-top:1px solid #DBDBDB; font-size:11px;}
#askquestion .title {margin-bottom:36px; width:100%;}
#askquestion .title H1 {color:#CE610A !important;}
#askquestion INPUT.text, #askquestion TEXTAREA {width:100%;}
#askquestion INPUT.sub {margin-top:20px; background:#FFF url(/templates/default/images/btn/ask.gif) no-repeat top left; width:200px; height:38px; border:none !important; text-decoration:none !important;}
#askquestion TABLE {margin-left:40px; width:90%;}
#askquestion TABLE TD.i {padding:5px 14px 20px 0px;}

/*Словарь*/
#glossary {position:relative;}
#glossary .left, #glossary .right {float:left; width:50%;}
#glossary .letter {margin-bottom:30px;}
#glossary .letter H1 {color:#CE610A; margin:0px 0px 10px !important;}
#glossary .letter P {margin:0px !important;}
#glossary .letter A {color:#666 !important;}

#glossary .big-letter {position:absolute; left:0px; top:0px; width:70px; font-size:48px; line-height:70px; color:#FFF; background-color:#DBDBDB; text-align:center;}
#glossary .text {padding-left:85px;}
#glossary .text H1 {padding-top:50px !important; color:#CE610A !important;}
#glossary .text P {margin:10px 0px 0px 0px !important;}
#glossary .other {margin-top:40px; padding:40px 0px 0px 85px; border-top:1px solid #DBDBDB;}
#glossary .other P {margin:0px !important;}
#glossary A {color:#666 !important;}
#glossary #back {margin:40px 0px 0px 85px;}

/*Ошибка*/
#error {width:100%; background:#FFF;}
#error .pad {margin:0px 60px -10px;}


/*Галерея*/
#gallery {}
#gallery .item {float:left; position:relative; width:150px; height:340px; margin-bottom:20px;}
#gallery .item .pic {position:relative; width:130px; height:180px;}
#gallery .item .pic IMG {position:absolute; bottom:0px; left:0px; display:inline !important;}
#gallery .item .text {padding-left:10px;} 
#gallery .item .text H1 {margin:10px 0px !important; width:20px;}
#gallery .item .text H1 A {color:#CE610A !important;}

#gallery .info .name P {margin:32px 0px 0px 40px !important;}
#gallery #back {margin-left:40px;}


#map {width:100%; height:420px; overflow:hidden; border:1px solid #DBDBDB; text-align:center;}
#map IMG {display:inline !important;}
#map_container {margin:10px; overflow:hidden;}
*html #map_container DIV {width:100%; margin-right:10px;overflow:hidden;}


/*Подвал*/
#footer {padding:0px 60px; background-color:#FFF; height:200px;}
#footer .left {position:relative; float:left; width:200px;}
#footer .right {float:right; margin-left:-230px; width:100%;}


#footer .left .pad {padding:0px 40px 0px 0px; text-align:center;}


#footer .right .pad {margin-left:230px; padding-top:40px; margin-right:80px;  border-top:1px solid #DBDBDB;}
#footer .banners {padding-left:40px;}
#footer .banners TABLE {width:80%;}
#footer .banners TABLE TD {vertical-align:bottom; padding-right:30px;}


#reaktive {text-align:right; position:relative; top:-40px; margin-right:130px;}
#main #reaktive {margin:0px; text-align:center; z-index:6; top:-20px; padding-bottom:30px;}
