﻿html, body { margin: 0; padding: 0;	height: 100%; }
body { min-height: 100%; position: relative; }
img { border: 0; }

.ar {text-align: right!important;}
.al {text-align: left!important;}
.red {color: red!important;}
.alignleft {float: left; padding: 5px 5px 0 0;}

#container { margin: 0 auto; height: auto!important; min-height: 100%;	height: 100%; width: 1000px; min-width: 1000px; background: url(img/bg_header.jpg) no-repeat top left; }

#header { width: 1000px; height: 172px;	position: relative; }

#logo, #icon-home, #icon-search, #icon-map { display: block; position: absolute; }
#logo span, #icon-home span, #icon-search span, #icon-map span { display: none; }
#icon-home, #icon-search, #icon-map { width: 15px; height: 13px; top: 128px; }
#logo {	width: 140px; height: 100px; left: 40px; top: 20px; background: url(img/logo-zhaso.jpg) no-repeat center; }
#icon-home { left: 808px; }
#icon-search { left: 857px; }
#icon-map {	left: 903px; }

.page-template-map-php a {text-decoration: none;}
.page-template-map-php ul {padding-left: 20px;}
.page-template-map-php ul li {list-style: square;}
.page-template-map-php ul li ul {padding: 10px 20px;}
.bread {text-align: left;}

.pdf-icon {width: 36px; height: 36px; margin-bottom: -13px;}

#main { width: 1000px; height: auto !important; min-height: 200px; height: 200px; padding-bottom: 60px; }
#main_text {}

#content { width: 1000px; float: left; }

#page_text { margin-left: 285px; padding: 0 35px 0 17px; }
#page_text p { padding: 5px 0 0 0; }
#page_text ul { margin: 0.5em 0 0 0; }

#footer { margin-top: -50px; height: 50px; background: url("img/footer.gif") repeat-x left bottom; }
#footer_c { background: url("img/bg_footer.jpg") no-repeat scroll center top transparent; height: 50px; width: 1003px; margin: 0 auto; }
#footer_credit { padding-top: 15px; font: bold 11px Arial; color: #535564; text-align: center; text-transform: uppercase; }

div.clear { clear: both;font: normal 0px/0px Verdana;height: 0;overflow: hidden;  }

form { margin: 0; padding: 0;}

body { font: normal 12px/16px Arial; color: #535564; }
* {outline: none}

p { padding: 8px 0; margin: 0; text-align: justify; }
p.error { font: bold 12px Arial; color: red; }
p.message { font: bold 12px Arial; color: green; }
a { font: normal 12px Arial; color: #2b70e1; text-decoration: underline; }
a:hover { color: #e31937; text-decoration: underline; }

h1 { margin: 0 0 7px 0; padding: 15px 0 5px 0; font: normal 20px Arial; color: #535564; border-bottom: 1px solid #e2e2e2; }
h2 { margin: 20px 0; padding: 0; font: bold 16px Arial; color: #535564; }
h3 { margin: 20px 0; padding: 0; font: bold 14px Arial; color: #535564; }
h4, h5, h6 { font: bold 12px Arial; margin: 10px 0;}


#advert { text-align: center; margin-top: 1px; padding-bottom: 0px; }
#advert p { text-align: center; margin: 0; padding: 4px 0 0 0; }
#advert img { margin: 0 5px; padding: 0; border: 0; }

#sform, #sform div { height: auto !important; min-height: 1%; height: 1%; }
#sform { position: absolute; top: 130px; left: 300px; width: 216px; }
#sform table { border: 0; border-collapse: collapse; padding: 0; margin: 0; width: 216px; }
#sform table td { border: 0; padding: 0; height: 19px; vertical-align: middle; }
#sform table td.sleft { width: 182px; background: url(img/bg_search.png) no-repeat left top; }
#sform table td.sleft input { width: 172px; height: 17px; background: transparent; border: 0; margin: 0 5px; display: block; font: normal 12px Arial; color: #4e5163; }
#sform table td.sright input { width: 30px; height: 18px; background: transparent; border: 0; margin: 0 0 0 auto; display: block; cursor: pointer; }
#sform table td.sright { width: 34px; background: url(img/bg_search.png) no-repeat right top; }
#sform table td.stop { padding: 0 0 2px 2px; font: normal 11px Arial; color: #4e5163; }

div.paddings { padding: 2px 18px 0 14px; }

p.name { font: normal 12px Arial; color: #4a4e66; margin: 0; padding: 8px 0 6px; }
p.select { margin: 0; padding: 0; }
p.select select { margin: 0; padding: 0; width: 100%; font-size: 11px; }

#actions { padding: 10px 0 0 0; }
#actions td { padding: 10px 0; vertical-align: middle; }

#zhaso { text-align: center; padding: 11px 0 18px 0; }

/*#news, #news div { height: auto !important; min-height: 1%; height: 1%; }*/
/*#news { background: url(img/bg_news.png) repeat-y -248px top; }*/
/*#news div { background: url(img/bg_news.png) no-repeat left top; }*/
/*#news div div { background: url(img/bg_news.png) no-repeat -496px bottom; padding: 0 21px 40px 15px; }*/
div.news-date { font: bold 12px Arial; color: #535564; padding: 13px 0 3px 0 !important; margin: 0 !important; background: none !important; }
div.news-title { padding: 0 !important; margin: 0 !important; background: none !important; }

#contacts { width: 382px; height: 62px; position: absolute; left: 590px; top: 48px; overflow: hidden; }
#contacts table { border: 0; border-collapse: collapse; padding: 0; width: 100%; margin:0!important;}
#contacts table td { border: 0; padding: 0; vertical-align: middle; }
#contacts table td.cleft { width: 204px; font: bold 11px Tahoma; color: #5e6074; vertical-align: top; padding-bottom: 10px !important; }
#contacts table td.cright { width: 177px; font: normal 20px Tahoma; color: #c20420; }
#contacts table td.cright span { font: normal 12px Tahoma; color: #c20420; margin-bottom: 10px; padding-right: 5px; position: relative; float: left; display: block; }

#center, #center-top, #center-bot { height: auto !important; min-height: 10px; height: 10px; }
#center { background: url(img/bg_center.png) repeat-y -663px top; margin-top: 8px; }
#center-top { background: url(img/bg_center.png) no-repeat left top; }
#center-bot { background: url(img/bg_center.png) no-repeat -1326px bottom; padding: 10px 10px 10px; }

/* LEFT SIDEBAR */
#sidebar_left { width: 248px; float: left; margin-left: -963px; padding-top: 8px; }
#sidebar_left a { text-decoration: none; }
#sidebar_left a:hover { text-decoration: underline; }
.h3_left { font: normal 18px Arial; color: #d41a3c; border-bottom: 1px solid #ebebeb; padding: 12px 0 5px 0; margin: 0; }

#insurance_group {text-align: center;}
#insurance_group h3 {text-align: left;}
#insurance_group img {padding: 10px 5px 0 5px;}

#lmenu { background: url(img/bg_lmenu_c.gif) repeat-x left top; padding: 0 0 10px 0; margin: 20px 0 0 0; padding-top: 10px;}
#lmenu ul { margin: 0; padding: 0; list-style-type: none; }
#lmenu li { margin: 0; padding: 0 0 7px 15px; text-align: left; background: url(img/bg_lmenu.png) no-repeat left 5px; }

#lmenu ul li ul { margin: 0; padding: 0 0 0 8px; list-style-type: none; display: none; position: relative; top:0; left: 0; }
#lmenu ul li ul li { margin: 0; padding: 0 0 0 10px; text-align: left; background: url(img/bg_lmenu_sub.png) no-repeat left 7px; }
#lmenu ul li ul li a { font: normal 14px Arial; color: #1c2775; text-decoration: none; margin: 0; padding: 0; }
#lmenu ul li ul li a:hover, #lmenu ul li ul li a.active { color: #1c2775; text-decoration: underline; }
#lmenu ul li:hover ul, #lmenu ul li.iehover ul { display: block; }

div.info { padding: 3px 0; margin-right: 1%; margin-bottom: 15px; }

font.red { color: #d4002a; }

/* topmenu */
#topmenu ul {padding: 0;}
#topmenu ul li { display: inline; list-style-type: none; float: left; width: 105px; padding: 0 0 0 20px; background: url(img/bg_tmenu.png) repeat-y left top;}
.menu ul li a, #topmenu ul li a { font-size: 14px; text-decoration: none;}
ul li a:hover, .current_page_item a, .current_page_ancestor a { color: #c2092f; }

#tmenu { text-align: left;	padding-top: 5px; }

#news p {text-align: left; line-height: 1em; padding-bottom: 0em;}
#news p a {color: #4590CD; text-decoration: none;}

.page-id-43 #page_text a, .page-id-47 #page_text a {text-decoration: none;}

/* ОФОРМЛЕНИЕ ЭЛЕМЕНТОВ ГЛАВНОЙ СТРАНИЦЫ */
.home h2 {color: #d4002a; font-size: 1.5em; border-bottom: #ddd solid 1px; margin-bottom: 0; padding-bottom: 5px; font-weight: normal;}
.home table {margin-top: 10px;}

.main_awards_table {width:100%; text-align: center; line-height: 1.1em;}
.main_awards_table:hover {cursor: pointer;}
.main_awards_table td {vertical-align: bottom;}
.main_awards_table strong {color: #d4002a;}

.main_branches_table td {vertical-align: top; }
.main_branches_table a {color: #515aa4; text-decoration: none; line-height: 1.6em;}

/* ОФОРМЛЕНИЕ ЯКОРЕЙ НА СТРАНИЦЕ ФИЛИАЛОВ */
.page-id-47 h3 {margin: 10px 0 0; }
.page-id-47 h3 a {color: #535564; font-weight: bold; font-size: 1.3em; }

#year20main {
    float: left;
    margin: 15px 5px 0px 0px;
}

/* ОФОРМЛЕНИЕ КАЛЬКУЛЯТОРА */
.calculator p {padding: 0 0 5px 5px!important; border-left: 5px solid white; margin: 2px 0; text-align: left; margin: 5px 0;}
.valid {border-left: 5px solid limeGreen!important;}
.novalid {border-left: 5px solid orangeRed!important;}
#control p {padding: 0; border: 0;}
.ch {margin-left: 10px;}
.driverAdd {background: #DEFCDE; padding: 1px 5px; border: 1px solid limegreen; cursor: pointer;}
.driverDel {background: #FCE1E1; padding: 1px 5px; border: 1px solid #FF7888; cursor: pointer;}
#ST {border: 0;}
#ch-button {border: 3px solid CornflowerBlue ; padding: 3px;}
#control {position: absolute; top: 150px; right: 10px; width: 170px; background-color: beige; padding: 10px; //position: absolute; top: expression(eval(document.documentElement.scrollTop)); margin: 0;}
#formName {margin: 0 0 10px 0;}
label {cursor: pointer;}
.driver {display: block;}
#submit {display: inline-block; padding: 5px 15px; margin-top: 5px; border: 2px outset; cursor: wait; font-weight: bold;}
.submitAllow {background-color: #adff99; cursor: pointer!important;}
.submitAllow:active {background-color: #66ff33;}

.captcha-img {margin-bottom: -6px;}

.gb p {display: block;}

.gb form {
    margin: 0;
    padding: 0;
}

.gb fieldset {
    margin: 1em 0;
    border: none;
    border-top: 1px solid #ccc;
}

.gb legend {
    margin: 1em 0;
    padding: 0 .5em;
    color: #036;
    background: transparent;
    font-size: 1.3em;
    font-weight: bold;
}

.gb label {
    float: left;
    width: 200px;
    padding: 0.4em 1em 0 0;
    text-align: right;
}

.gb fieldset div {
    margin-bottom: .5em;
    padding: 0;
    display: block;
}

.gb fieldset div input, fieldset div textarea {
    width: 150px;
    border-top: 1px solid #555;
    border-left: 1px solid #555;
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
    padding: 1px;
    color: #333;
}

.gb fieldset div select {
    padding: 1px;
}

.gb div.fm-multi div {
    margin: 5px 0;
}

.gb div.fm-multi input {
    width: 1em;
}

.gb div.fm-multi label {
    display: block;
    width: 200px;
    padding-left: 5em;
    text-align: left;
}

.gb #fm-submit {
    clear: both;
    padding-top: 1em;
    text-align: center;
}

.gb #fm-submit input {
    border: 1px solid #333;
    padding: 2px 1em;
    background: #555;
    color: #fff;
    font-size: 100%;
}

.gb input:focus, textarea:focus {
    background: #efefef;
    color: #000;
}

.gb fieldset div.fm-req {
    font-weight: bold;
}

.gb label.req:before {
    content: "* ";
}

.tooltip {color: #304b65;}
.tipsy { padding: 5px; font-size: 11px; line-height: 13px; opacity: 0.8; filter: alpha(opacity=80); background-repeat: no-repeat;  background-image: url(img/tipsy.gif); }
  .tipsy-inner { padding: 5px 8px 4px 8px; background-color: #0066cc; color: white; max-width: 250px; text-align: left; }
  .tipsy-inner { -moz-border-radius:3px; -webkit-border-radius:3px; }
  .tipsy-north { background-position: top center; }
  .tipsy-south { background-position: bottom center; }
  .tipsy-east { background-position: right center; }
  .tipsy-west { background-position: left center; }

.contact-row {width: 100%;}
.contact-row label{ display:block; font-weight:bold; text-align:right; width:140px; float:left; padding-top: 3px; }
.contact-row input{ float:left; font-size:12px; border:solid 1px #aacfe4; width:300px; margin:0 0 5px 10px; }
