@import url("/css/reset.css");

body {
    background-color: #f4edd8;
}

#wrapper {

    margin: 0 auto;
    background-color: #f4edd8;
    background-image: url(/gfx/head-fon.jpg);
    background-position: center 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#beforefoot {
    height: 5px;
    margin: 0 auto;
    background-color: #FFFFFF;
}

#footer {
    height: 148px;
    margin: 0 auto;
    background-image: url(/gfx/foot_bg.png);
    background-repeat: repeat-x;
}

#footmenu {
    width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

#footmenu ul {
    position: relative;
    float: left;
    left: 50%;
}

#footmenu li {
    position: relative;
    float: left;
    right: 50%;
    font-family: Verdana, Verdana, Geneva, sans-serif;
    font-size: 16px;
    font-weight: normal;
    letter-spacing: 1px;
    padding: 15px 20px;
    color: #543c0f;
}

#copyright {
    padding-top: 35px;
    text-align: center;
    font-family: Verdana, Verdana, Geneva, sans-serif;
    font-size: 12px;
    color: #543c0f;
}

#footmenu a{
    color: #543c0f;
}

#wrapper2 {
    max-width: 1164px;
    min-width: 1006px;
    margin: 0 auto;
}

#header {
    width: 1006px;
    height: 390px;
    margin: 0 auto;
}

#superwrapper {
    max-width: 1280px;
    min-width: 1006px;
    margin: 0 auto;
    box-shadow: 0 0 40px;
}

#logo {
    width: 1006px;
    height: 137px;
    position: relative;
    top: 48px;
}

.tel {
    width: 238px;
    height: 33px;
    float: left;
    position: relative;
    top: 53px;
    /*background-image: url(/gfx/tel.png);*/
    background-repeat: no-repeat;
}

.tel p {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    font-family: Verdana, Verdana, Geneva, sans-serif;
    color: #FFF7AF;
    text-indent: 0;
    text-shadow: #53431F 1px 0px, #53431F 1px 1px, #53431F 0px 1px, #53431F -1px 1px, 
        #53431F -1px 0px, #53431F -1px -1px, #53431F 0px -1px, #53431F 1px -1px, #53431F 0 0 3px, 
        #53431F 0 0 3px, #53431F 0 0 3px, #53431F 0 0 3px, #53431F 0 0 3px, #53431F 0 0 3px, #53431F 0 0 3px, 
        #53431F 0 0 3px;
}

#logotip {
    width: 530px;
    height: 137px;
    float: left;
    background-image: url(/gfx/logo.png);
    background-repeat: no-repeat;
}

#mainmenu {
    max-width: 1164px;
    min-width: 1006px;
    padding-top: 35px;
    height: 85px;
    background-image: url(/gfx/menu.png);
    background-repeat: no-repeat;
    background-position: center top;

}

#nav {
    display: block;
    text-align: center;
}

#nav>li{
    font-size: 20px;
    font-weight: bold;
    font-family: Verdana, Verdana, Geneva, sans-serif;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

#nav>li>a{
    display: block;
    padding: 13px 10px;
    text-decoration: none;
    color: #543C0F;
}

#nav li:hover {
    background-image: url(/gfx/menu_bg.png);
    background-repeat: repeat-x;
}

#nav2 {
    display: block;
    text-align: center;
    position: relative;
}

#nav2>li{
    font-size: 14px;
    font-weight: bold;
    font-family: Verdana, Verdana, Geneva, sans-serif;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

#nav2>li>a{
    display: block;
    padding: 5px 10px;
    text-decoration: none;
    color: #543C0F;
}

#nav2 li:hover {
    background-image: url(/gfx/menu_bg.png);
    background-repeat: repeat-x;
}

#content {
    max-width: 1164px;
    min-width: 1006px;
    background-image: url(/gfx/cont_bg.png);
    background-repeat: repeat-y;
    background-position: center;
}

#cont2 {
    width: 1006px;
    position: relative;
    margin: 0 auto;
}

#cont_bot {
    max-width: 1164px;
    min-width: 1006px;
    height: 225px;
    background-image: url(/gfx/cont_bot_bg.png);
    background-repeat: no-repeat;
    background-position: center top;
}



h1
{
    font-size: 16px;
    font-weight: bold;
    font-family: Verdana, Verdana, Geneva, sans-serif;
    color: #5f3f00;
    padding-top: 20px;
    padding-bottom: 10px;
    text-indent: 19px;
}

h2
{
    font-size: 16px;
    font-weight: bold;
    font-family: Verdana, Verdana, Geneva, sans-serif;
    color: #5f3f00;
    padding-top: 20px;
    padding-bottom: 10px;
}

input {
    font-size: 16px;
    font-weight: bold;
    font-family: Verdana, Verdana, Geneva, sans-serif;
    color: #07c;
    padding: 5px;
}

textarea {
    font-size: 16px;
    font-weight: bold;
    font-family: Verdana, Verdana, Geneva, sans-serif;
    color: #07c;
    padding: 5px;
}

p
{
    font-size: 16px;
    font-family: Verdana, Verdana, Geneva, sans-serif;
    color: #5f3f00;
    text-indent: 30px;
    text-align: justify;
    line-height: 28px;
}

.textblock ul {
    list-style-type: disc;
    font-size: 16px;
    font-family: Verdana, Verdana, Geneva, sans-serif;
    color: #5f3f00;
    text-align: left;
    line-height: 28px;
    margin: 15px 0 0 60px;;
}

.textblock ol {
    list-style: decimal;
    font-size: 16px;
    font-family: Verdana, Verdana, Geneva, sans-serif;
    color: #5f3f00;
    text-align: left;
    line-height: 28px;
    margin: 15px 0 15px 60px;;
}

#leftblock {
    width: 554px;
    margin-left: 63px;
    /*padding-right: 20px;*/
    float: left;

}

.cursiv {
    font-style: italic;
    text-decoration: underline;
    font-weight: bold;
}

#rightblock {
    width: 315px;
    float: left;
    margin-left: 14px;
    margin-bottom: 72px;
}

.textblock {
    -webkit-border-radius:10px;
    border-radius:10px;
    background-color: #FFFBE5;
    padding: 19px;
    overflow: hidden;
}

#rightblock p {
    /*padding-bottom: 20px;*/
    /*text-indent: 10px;*/
    font-size: 14px;
}

#rightblock img {
    width: 70px;
    height: 70px;
    /*float: bottom;*/
}

#leftbl {
    float: left;
    width: 250px;
    margin-top: 10px;
}

#rightbl {
    margin-top: 10px;
    float: left;
    width: 730px;    
    padding: 0 10px 10px 10px;
    -webkit-border-radius:10px;
    border-radius:10px;
    background-color: #f4edd8;
}

#yamap,#dostmap {
    display: block;
    width: 600px; 
    height: 450px; 
    float: left;
}

#legend {
    width: 245px;
    height: 10px;
    float: left;
}

#legend p {
    text-align: left;
    font-size: 14px;
    line-height: 20px;
    text-indent: 0;
}

#ochered1 {
    width: 710px;
    height: 1179px;
    margin: 0 auto;
    box-shadow: 3px 3px 10px #000;
    background-image: url('/img/ochered1.jpg');
}

#bigblock {
    width: 883px;
    position: relative;
    margin-left: 63px;
    overflow: hidden;
}

#bigblock a img {
    box-shadow: 1px 1px 5px #000;
    margin: 0 13px 13px 0;
    -webkit-border-radius:10px;
    border-radius:10px;
}

#carus2 {
    width: 950px;
    height: 162px;
    margin: 0 auto;
    background-image: url('/gfx/slide2_bg.png');
    background-repeat: no-repeat;
    padding-top: 32px;
}

.nologo {
    padding-top: 16px; 
    width: 300px; 
    height: 75px; 
    background-color: #fff; 
    float: left; 
    margin: 15px; 
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 5px #000;
}

.partner {
    overflow: hidden;
}

.partner p {
    padding-top: 20px;
    text-align: left;
}

table {
    box-shadow: 1px 1px 3px #000;
}

table,th,td{
    border-collapse: collapse;
    border: 2px solid #000;
    padding: 10px 5px;
    text-align: center;

    font-size: 14px;
    font-family: Verdana, Verdana, Geneva, sans-serif;
    color: #5f3f00;

}

th {
    font-weight: bold;
    vertical-align: middle;
}

#metric {
width: 88px;
height: 31px;
background-color: brown;
position: absolute;
bottom: 0px;
right: 0px;
}


.homediscription {
    width: 476px;
    float: left;
}

.homeblock {
    overflow: hidden;
}

.homephoto {
    width: 325px;
    float: left;
    margin-top: 61px;
}

.homephoto a {
    float: left;
    width: 160px;
}

a {
    color: #07c;
}

@-webkit-keyframes pulsate {
 50% { color: sienna; text-shadow: 0 -1px rgba(0,0,0,.3), 0 0 5px #ffd, 0 0 8px sienna; }
}
@keyframes pulsate {
 50% { color: sienna; text-shadow: 0 -1px rgba(0,0,0,.3), 0 0 5px #ffd, 0 0 8px sienna; }
}
.blink7 {
  color: green;
  text-shadow: 0 -1px rgba(0,0,0,.1);
  -webkit-animation: pulsate 1.2s linear infinite;
  animation: pulsate 1.2s linear infinite;
}
/*
#nav2>li>a.blink5 {
    color: green;
}

#nav2>li>a.blink6 {
    color: red;
}
*/

.blink5 {
  -webkit-animation: blink5 0.5s linear infinite;
  animation: blink5 0.5s linear infinite;
}
@-webkit-keyframes blink5 {
  0% { color: #543C0F; }
  50% { color: rgb(0, 200, 0); }
}
@keyframes blink5 {
  0% { color: #543C0F; }
  50% { color: rgb(0, 200, 0); }
}

span.akciya {
  -webkit-transform: rotate(45deg); /* не забываем префиксные свойства */
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  font-size: 12px;
  left: 60px;
  top: 2px;
}

.blink6 {
  -webkit-animation: blink6 0.5s linear infinite;
  animation: blink6 0.5s linear infinite;
}
@-webkit-keyframes blink6 {
  0% { color: red; }
  50% { color: rgb(200, 0, 0); }
}
@keyframes blink6 {
  0% { color: red; }
  50% { color: rgb(200, 0, 0); }
}

.notebook {
    white-space: nowrap;
    overflow: hidden;
}

.notebook > .notebook_radio {
    display: none;
}

.notebook > .notebook_radio + label {
    display: inline-block;
    border: 1px solid gray;
    border-radius: 10px 10px 0 0;
    padding: 10px;
    cursor: pointer;
    position: relative;
    
    font-size: 16px;
    font-family: Verdana, Verdana, Geneva, sans-serif;
    
    color: #07c;
    line-height: 28px;
}

.notebook > .notebook_radio + label:not(:last-of-type) {
    border-right: none;
}

/*.notebook > .notebook_radio + label:hover {
    color: blue;
}*/

.notebook > .notebook_radio + label:last-of-type::after {
    display: block;
    border-bottom: 1px solid gray;
    width: 2000px;
    content: "";
    position: absolute;
    bottom: -1px;
    left: 100%;
}

.notebook > .notebook_radio:checked + label {
    color: #5f3f00;
    border-bottom: 1px solid rgba(0,0,0,0);
}

.notebook > .page {
    white-space: normal;
    display: none;
    border: 1px solid gray;
    border-top: none;
    margin: 0px;
    padding: 2px 20px;
}

.notebook > input:nth-of-type(1):checked ~ div:nth-of-type(1),
.notebook > input:nth-of-type(2):checked ~ div:nth-of-type(2),
.notebook > input:nth-of-type(3):checked ~ div:nth-of-type(3),
.notebook > input:nth-of-type(4):checked ~ div:nth-of-type(4) {
    display: block;
}

.notebook input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

table.calc td:last-child {
    width: 30px;
}

table.calc td:nth-child(2) {
    text-align: right;
}

table.calc td:nth-child(3) {
    width: 100px;
}

.tabs td.opt {
    background-image: url(/gfx/plus.png);
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
}

.tabs td.checkopt {
    background-image: url(/gfx/check.png);
}

table#obscheeopisanie {
    margin: 20px 0;
}
table#obscheeopisanie td:nth-child(2) {
    text-align: left;
}
table#obscheeopisanie td:nth-child(1) {
    padding: 5px 10px;
}

#homecost {
  height: 205px;
  position: fixed;
  top: 170px;
  right: 1px;
  width: 250px;
  z-index: 1000;
  background-image: url(/gfx/homecost2.png);
  text-align: center;
  padding: 34px 0px 15px 1px;
}

#homecost h2 {
    text-transform: uppercase;
}

#homecost #domcost {
  font-size: 29px;
  color: #fff;
  text-align: center;
  text-indent: 0;
  line-height: 40px;
}

.myButton {
	-moz-box-shadow:inset 0px 1px 0px 0px #a4e271;
	-webkit-box-shadow:inset 0px 1px 0px 0px #a4e271;
	box-shadow:inset 0px 1px 0px 0px #a4e271;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #89c403), color-stop(1, #77a809));
	background:-moz-linear-gradient(top, #89c403 5%, #77a809 100%);
	background:-webkit-linear-gradient(top, #89c403 5%, #77a809 100%);
	background:-o-linear-gradient(top, #89c403 5%, #77a809 100%);
	background:-ms-linear-gradient(top, #89c403 5%, #77a809 100%);
	background:linear-gradient(to bottom, #89c403 5%, #77a809 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#89c403', endColorstr='#77a809',GradientType=0);
	background-color:#89c403;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #74b807;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:0px 1px 0px #528009;
        width: 160px;
        margin-bottom: 3px;
}
.myButton:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #77a809), color-stop(1, #89c403));
	background:-moz-linear-gradient(top, #77a809 5%, #89c403 100%);
	background:-webkit-linear-gradient(top, #77a809 5%, #89c403 100%);
	background:-o-linear-gradient(top, #77a809 5%, #89c403 100%);
	background:-ms-linear-gradient(top, #77a809 5%, #89c403 100%);
	background:linear-gradient(to bottom, #77a809 5%, #89c403 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#77a809', endColorstr='#89c403',GradientType=0);
	background-color:#77a809;
}
.myButton:active {
	position:relative;
	top:1px;
}

.tabs ul.tabsul li{
    display: inline-block;
    border: 1px solid gray;
    border-radius: 10px 10px 0 0;
    padding: 10px;
    cursor: pointer;
    position: relative;
    font-size: 16px;
    font-family: Verdana, Verdana, Geneva, sans-serif;
    color: #07c;
    line-height: 28px;
}

.tabs ul.tabsul li:last-of-type:after {
    display: block;
    border-bottom: 1px solid gray;
    width: 2000px;
    content: "";
    position: absolute;
    bottom: -1px;
    left: 100%;
}

.tabs ul.tabsul li.active{
    color: #5f3f00;
    border-bottom: 1px solid rgba(0,0,0,0);
}

div.tabs ul.tabsul {
    margin: 0;
    overflow: hidden;
}

div.tabs div.page {
    border: 1px solid gray;
    border-top: none;
    margin: 0px;
    padding: 2px 20px;
}

.showhidecontent {
    border: 1px solid #07c;
    border-radius: 20px;
}

.showhidecontent .homephoto {
    margin-top: 0;
}

.showhidecontent .homeblock {
    padding-bottom: 10px;
}

h2.showhide {
    padding-top: 10px;
    padding-left: 60px;
}
