* {
margin: 0;
padding: 0;
border: 0;
}

html{font-size:100%; height:100%;} 

body {
	min-width: 250px;
	max-width: 1280px;
	height:100%;
	min-height:100%;
	padding: 0% 0 0;
	background: #fff;
	color: #333;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.875em;
	line-height: 1.5em;
	margin: 0 auto !important;
}

img {
    height: auto;
    max-width: 100%;
}

@media \0screen {
  img { 
  	width: auto; /* for ie 8 */
  }
}

a {
text-decoration: none;
color: #333;
} 

h2 {
font-size: 1.125em;
line-height: 1.25 em;
text-align: center;
}

h3 {
font-size: 1.125em;
line-height: 1.25em;
text-align: left;
}

#container {
	position: relative;
	width: 100%;
	min-height:100%;
	margin: 0 auto;
	border-right: 1px solid #2D1A0B;
	border-left: 1px solid #2D1A0B;
	border-bottom: 1px solid #2D1A0B;
	overflow: hidden;
}

#header {
position: relative;
width: 100%;
height: 440px;
max-width: 1280px;
} 

#topbar {
	background-color: #fed022;
	width: 100%;
	height: 80px;
}

#topimg {
	width: 100%;
	height: 360px;
	background-image: url("/images/top.jpg");
}

.logo {
	float: left;
	height: 100%;
}

.phone {
font-size: 1.5em;
float: left;
text-align: left;
width: 22%;
padding: 30px 0 0 15px;;
}

.phone a {
color: #9C2E15; 
}

.phone img {
vertical-align:middle;
width: 45px; 
padding: 0 10px 0 0;
}

.contakt {
position: absolute;
left: 430px;
top: 5px;
}

#mainform {
	position: absolute;
	top: 90px;
	right: 2%;
	float: right;
	width: 30%;
	font-size: 1.375em;
	line-height: 1.375em;
	font-weight: bold;
	color: #505e00;
	margin: 1px 0;
	height: auto;
	overflow: hidden;
	border: 5px solid rgba(0, 0, 0, 0.3);
}

#mainform_skin {
	font-size: 0.875em;
	color: #403f3f;
	background-color: #fed022;
	height: 100%;
	opacity: none;
	z-index: 9999;
	padding: 5px 15px;
}

.whatsapp {
	display: block;
	position: absolute;
	right: 2%;
	margin-top: 5px;
	width: 70px;
	z-index: 999999;
}
.whatsapp  img {
opacity: 0.6;
}
.whatsapp img:hover  {
opacity: 1;
}

.button_main {
	background: #bd3313 none repeat scroll 0 0;
    border: 4px solid #bd3313;
    color: #fff;
    cursor: pointer;
    font: 1.125em Arial,Helvetica,sans-serif;
    outline: medium none;
    padding: 0.2em;
    text-align: center;
    vertical-align: baseline;
	margin-top: 10px;
}

.button_main a {
	color: #fff;
}

.button_main p {
	font-weight: bold;
	padding: 0.25em 0.25em;
	border: 4px solid #fff;
}

.button_main p:hover {
	background: #fff none repeat scroll 0 0;
	color: #403f3f;
	transition: all 0.25s ease 0s;
}

.button_main a:focus {
	color: #403f3f;
}

.slogan {
	position: absolute;
	top: 130px;
	left: 235px;
}

/*  главная навигация  */

#nav {
position: absolute;
top: 390px;
background-color: #403f3f;
opacity: 0.9;
color: #fdeaa0;
width: 100%;
height: 50px;
font-size: 1.3em;
line-height: 2.6em;
vertical-align: baseline;
} 

#nav ul {
list-style-type: none;
} 

#nav li {
display: inline;
margin: 0 0 0 25px;
} 

#nav li a {
color: #f7E9A1;
} 

#nav li a:hover {
color: #fed022;
}
/*end*/

/*навигация по разделам мебели: кухни, шкафы-купе итд */

#nav2 {
font-size: 1.125em;
line-height: 1.0em; /*  1em для меню мебель  */
margin: 0;
}

#nav2 ul {
text-align: justify;
list-style-type: none;
width: 100%;
} 

#nav2 li {
width: 13%;
text-align: center;
display: inline-block;
vertical-align: baseline;
margin: 10px;
} 

#nav2 li a {
color: #3e5a14;
} 

#nav2 ul :hover {
background: #fff29d ;
}

.img_nav2 {		/*стиль картинок основного меню*/
position: relative;
padding: 10px 0 10px;
}

.img_nav2  a img {
	width: 70%;
}
/*end*/

/*навигация по стилям: классика, современные итд*/
#nav3 {
background-color: #fff29d;
width: 100%;
border-top: 3px solid #fcdd60;
}

#nav3 ul{
margin: 0 2%;
}

#nav3 li {
font-size: 1.125em;
display: inline-block;
font-size: 1.125em;
padding: 1% 1.5%;
}

#nav3 ul :hover {
background: #fcdd60;
}

.nav3_active {
background: #fcdd60;
}
/*end*/

.left_swap {
	position: absolute;
	top: 390px;
	display: none;/* По умолчанию блок не виден,
	он показывается, если срабатывает медиазапрос */
	height: 51px;
	z-index: 9998;
	background: url(../images/swipe.png) center 20px no-repeat;
	text-align: center;
	width: 100%;
}

.left_swap2 {
	position: absolute;
	left:0px;
	top: 390px;
	display: none;/* По умолчанию блок не виден,
	он показывается, если срабатывает медиазапрос */
	z-index: 9999;
	text-align: center;
	color: #f7e9a1;
	font-weight: bold;
}

.left_swap2 p{
border: 5px solid #fed022;
padding: 10px;
}

/*  Верхняя навигация  + меню на главной*/


.open {
  position: absolute;
  clip: rect(0 0 0 0);
  opacity: 0;
}

.top-panel {
	z-index: 9999;
    background-color: #fae994; 
	border: 1px solid #efcc53;
    position: fixed;
	display: none;
    top: 0;
    width: 1024px;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
	-webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    transform: translateY(-100%);
}

.open:checked ~ .top-panel {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition: 0.35s;
    -moz-transition: 0.35s;
    transition: 0.35s;
}

.open:not(:checked) ~ .top-panel {
    -webkit-transition: 0.35s;
    -moz-transition: 0.35s;
    transition: 0.35s;
}

.message textarea {
box-shadow: 0 0 7px #333;
-webkit-box-shadow: 0 0 7px #333;
-moz-box-shadow: 0 0 7px #333;
}

.message input {
box-shadow: 0 0 7px #333;
-webkit-box-shadow: 0 0 7px #333;
-moz-box-shadow: 0 0 7px #333;
}

.message {
    color: #333;
    font-weight: 300;
    position: relative;
    padding: 1.5em;
    margin: 0 auto;
    max-width: 980px;
}

.message h2 {
    color: #555;
}

.message p {
    margin: 1em 0;
}

.message a {
    text-decoration: none;
    color: #748b74;
}

.message a:hover {
    color: #95984b;
}

label.btn {
    display: block;
    position: absolute;
    right: 25px;
    top: 100%;
    text-shadow: 1px 1px 2px black;
    cursor: pointer;
    background: -webkit-linear-gradient(top, #98cc53, #76a835);
	background: -o-linear-gradient(top, #98cc53, #76a835);
	background: -moz-linear-gradient(top, #98cc53, #76a835);
	background: -ms-linear-gradient(top, #98cc53, #76a835);
	background-color: #76a835;
    border-radius: 0 0 3px 3px;
    padding: 8px 8px;
    color: #fff;
    font-size: 1.25em;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    cursor: pointer;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    z-index: 9999;
}

label.btn:hover {
    -webkit-transition: 0.35s;
    -moz-transition: 0.35s;
    transition: 0.35s;
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15)
}

label.btn:after {
    content: '\f078';
    font: normal 18px/1 FontAwesome;
    text-decoration: inherit
}

/*
.open:checked ~ .container {
    margin-top: auto
}
*/

.open:checked ~ .top-panel > label.btn {
    background: #9C2E15
}

.open:checked ~ .top-panel > label.btn:after {
    content: '\f077';
    font: normal 18px/1 FontAwesome
}

#tabmain {
width: 100%; 
margin: 0 0 0 5px;
}

#tabmain td {
	padding: 0px 0 0 0; 
}

#tabmain img {
box-shadow: 0 0 7px #777; 
border-radius: 5px;
width: 170px;
height: 150px;
}

#tabmain img:hover{
box-shadow: 0 0 10px #555; 
border-radius: 5px;
}

/*  ---end---  */
/*  обложка сайта после навигации  */

#blok {
background-color: #fff;
width: 100%;
height:auto;
border-bottom: 1px solid #c8c8c8;
border-left: 1px solid #c8c8c8;
border-right: 1px solid #c8c8c8;
overflow: hidden;
}

#fount {
background-size: 100%;
padding: 0;
  height:auto !important;
  height:100%;
  min-height:100%;
color: #333;
overflow: hidden;
} 

#fount h1
{
color:#999;
margin:0 0 1% 0;
font-size:1.375em;
line-height:1.375em;
}

#content {
	padding: 1% 2%;
}
/*  ---end---  */

/*  нижняя панель  */

#cellar_blok {
	background: -webkit-linear-gradient(top, #8d785c 0%, #d0b69c 35%);
	background: -o-linear-gradient(top, #8d785c 0%, #d0b69c 35%);
	background: -moz-linear-gradient(top, #8d785c 0%, #d0b69c 35%);
	background: -ms-linear-gradient(top, #8d785c 0%, #d0b69c 35%);
	background-color: #d0b69c;
width: 100%;
min-height: 35px;
height: auto;
float: left;
}

#cellar_left {
display: inline-block;
width: 15%;
float: left;
}

#cellar_center {
padding: 10px 0;
text-align: center;
display: inline-block;
width: 70%;
}

#cellar_right {
width: 15%;
display: inline-block;
float: right;
line-height: 0;
}

#metricramb {
float: left;
padding: 5px 0 0 3px;
}



#metric {
width: 90px;
height: 35px; 
vertical-align: bottom;
float: right;
padding: 5px 0 0 3px;

}
/*  Начало редактируемой части  */

#text {
text-align: justify;
line-height:1.5em;
margin: 5px 0;
}

#text ul{
margin: 0 0 0 10px;
}

#text p {
margin-bottom:10px;
} 

#text h2
{
font-size:1.2em;
line-height:1.4em;
}

#text h3
{
margin: 0.5em 0;
font-size:1.2em;
line-height:1.4em;
}

#text a {
color:#9c2e15;
}

@media only screen and (max-width:1080px){

#mainform  {
	font-size: 1.25em;
}

.message {
	 font-size: 200%;
	 line-height: 130%;
}

label.btn {
	 font-size: 250%;
	 Padding: 1.5%;
}

#nav2 {
font-size: 1em;
}

#nav2 img {
	width: 80%;
}

@media only screen and (max-width:950px){
.contakt {
	font-size: 0.9em;
}
.phone {
	font-size: 1.25em;
	line-height: 1.25em;
	padding-top: 30px;
	width: 22%;
}	

.slogan {
	left: 130px;
	top: 135px;
	width: 55%;
}

#mainform  {
	width: 27%;
}

}


@media only screen and (max-width:900px){
.contakt {
	display: none;
}	

.phone {
position: absolute;
top: 80px;
padding: 5px 5px 5px 10px;
color: #343433;
width: 50%;  	
font-size: 1.25em;
width: auto;
background-color: rgba(255, 255, 255, 0.5);
}

#mainform  {
	display: none;
}

.whatsapp {
 margin-top: 0px;
 bottom: 2%;
 position: fixed;
}

.left_swap {
	display: block;
	background-color: #403f3f;
	opacity: 0.9;
	
}

#nav {
	display: none;
	top: 440px;
	background: none;
	text-align: center;
}	

#nav ul {
	background-color: #403f3f;
	opacity: 0.95;	
}

#nav li  {
	display: block;
	margin: 0;

}
}

@media only screen and (max-width:650px){
label.btn {
	 font-size: 300%;
	 Padding: 1.5%;
}

.left_swap2 {
	display: block;
}

.slogan {
	width: 75%;
	left: 65px;
	top: 140px;
}

#nav2
{
	position: absolute;
	top: 440px;
	display: none;
	background-color: #403f3f;
	opacity: 0.9;
	padding: 0 10px;
	font-size: 1.375em;
}

#nav2 li {
	width: 98%;
	display: block;
	background: none !important; 
	
}

#nav2 img {
	display: none
}

#nav2 li a {
	color: #f7e9a1;
}

#nav2 ul  :hover {
background: none; 
}

#fount {
margin: 0;
width: 100%;
}
}

@media only screen and (max-width:599px){
.logo {
 width: 90%;
}
}

@media only screen and (max-width:250px){

.slogan  {
left: 30px;
}
}
