body{
background: #f2f2f2;
font: 12px Tahoma;
color: #666666;
text-align: center;
padding: 0;
margin: 0;
}

#wrapper{
background: white;
padding: 0;
margin: 0 auto;
width: 1000px;
position: relative;
}

#header{
background: transparent url('images/map_bg.jpg') 520px top no-repeat;
position: relative;
height: 141px;
width: 1000px;
overflow: hidden;
}

#logo{
padding: 0;
margin: 0;
width: 106px;
height: 140px;
position: absolute;
top: 0;
left: 0;
}

#company_name{
font-size: 24px;
position: absolute;
top: 0;
left: 120px;
width: 200px;
height: 140px;
text-align: left;
line-height: 24px;
}

#company_name a, #company_name a:hover{
text-decoration: none;
}

#slogan{
padding: 0 0 0 20px;
margin: 0;
position: absolute;
top: 0;
left: 320px;
font-size: 18px;
text-transform: uppercase;
width: 180px;
height: 140px;
text-align: left;
background: transparent url('images/separator.gif') left center no-repeat;
line-height: 18px;
}

.vert_align_block{
height: 140px;
display: table-cell;
vertical-align: middle;
}

#contacts{
position: absolute;
top: 22px;
right: 10px;
width: 230px;
}

#meta{
padding: 0;
margin: 0 0 10px 0;
}

.sep{
padding: 0 18px;
margin: 0;
background: transparent url('images/icons_sep.gif') center top no-repeat;
position: relative;
top: 2px;
}

#text_over_phone, #phone, #text_under_phone{
text-align: center;
font-size: 11px;
}

#phone{
font-size: 24px;
}

#menu{
text-align: left;
padding: 0;
margin: 0 0 6px 0;
}

/* services */
#services{
padding: 0;
margin: 0;
text-align: left;
}

#main{
padding: 10px 20px;
margin: 6px 0 6px 0;
border-style: solid; border-width: 7px; border-left: 0; border-right: 0;
position: relative;
width: 960px;
overflow: hidden;
text-align: left;
}

#container{
padding: 0;
margin: 0 0 15px 0;
overflow: hidden;
position: relative;
width: 960px;
}

#left{
padding: 0;
margin: 0;
width: 280px;
float: left;
border: 1px solid red;
display: none;
}

#content{
padding: 0;
float: left;
width: 422px;
margin: 0 25px 0 25px;
border: 1px solid black;
}

#full_content{
padding: 0;
margin: 0 33px 0 0;
float: left;
width: 727px;
}

#navchain{
padding: 0;
margin: 0 0 5px 0;
}

#right{
width: 200px;
float: left;
padding: 10px 0 0 0;
margin: 0;
}

.col_title{
padding: 0;
margin: 0 0 15px 0;
}


/* right block styles */
.right_block{
padding: 0;
margin: 0 0 25px 0;
}

.right_image{
width: 200px;
height: 73px;
padding: 0;
margin: 0;
}

.right_block_title{
text-align: center;
padding: 0;
margin: 5px 0;
color: black;
}

.right_block_title a{
color: black;
font-size: 18px;
text-decoration: none;
}

.right_block_title a:hover{
color: black;
font-size: 18px;
text-decoration: underline;
}

.right_block_content{
font-size: 11px;
}


#company_info{
padding: 15px 20px;
margin: 0;
background: #f2f2f2;
}

#footer{
background: #f2f2f2;
padding: 0 0 10px 0;
margin: 0;
text-align: left;
}

#footer_bot{
color: #333;
font-size: 11px;
position: relative;
height: 80px;
}

#f_buttons{
padding: 0;
margin: 0;
position: absolute;
top: 30px;
left: 40px;
width: 300px;
}

#f_contacts{
padding: 0;
margin: 0;
position: absolute;
top: 30px;
left: 350px;
width: 400px;
}

#f_copy{
padding: 0;
margin: 0;
position: absolute;
top: 30px;
right: 40px;
width: 200px;
text-align: right;
}

#itees_copy{
font-size: 11px;
text-align: right;
color: #666666;
padding: 0;
margin: 10px 40px 0 0;
}

#itees_copy a{
color: #666666;
text-decoration: none;
}

#itees_copy a:hover{
color: #666666;
text-decoration: underline;
}
.call input[type=text]{
width: 60%;
}
.news-detail p{
	line-height:18px;
	margin-bottom: 15px;
}
.news-detail p img{
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
}
.news-detail p.img{
	text-align: center;
}
.news-detail p.img img{
	float: none;
}
#full_content ul{
	margin-bottom: 10px;
}


#menu-checkbox{
	display:none;
}
@media screen and (max-width:980px){
#wrapper {
    width: auto;
}	
#header {
    height: auto;
    width: auto;
	background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
	padding: 5px;
}	
#logo {
    position: static;
	height: auto;
	 float: left;
}	
#company_name {
    position: static;
	height: auto;
	float: left;
}
#slogan {
    position: static;
	display:none;
}
#contacts {
    position: static;
	float: right;
    height: 67px;
}
#left {
    float: none;
    width: auto;
}
#container {
    width: auto;
	position: static;
}
#main {
    width: auto;
	padding: 10px 5px;
	border-width: 3px 0;
	position: static;
}
#services_block {
    width: auto;
	text-align: center;
}
#footer_menu {
    margin: 0 5px;
    padding: 20px 0;
    width: auto;
}
#f_contacts {
    position: static;
    width: auto;
}
#content {
    float: none;
    margin: 0 5px;
    width: auto;
}
.banner-item {
    left: 0;
}
.banner-main {
    text-align: center;
}
img{
	max-width:100%;
	height:auto;
}
#right {
    float: none;
    width: auto;
}
#footer_menu {
    margin: 0 5px;
    padding: 6px 0;
    width: auto;
}
#footer_menu ul li:nth-child(2n){
	display:none;
}
#footer_menu ul li {
    display: inline-block;
    float: none;
	margin: 5px;
}
#footer_menu ul {
    text-align: center;
}
#contacts #meta{
	display:none;
}
.vert_align_block {
    display: block;
    height: auto;
}
ul.menu {
    display: block;
}
ul.menu li {
    float: none;
}
ul.menu li a {
    display: block;
    font-size: 14px;
    padding: 4px 8px;
}
.service_title {
    display: block;
    height: auto;
    padding: 3px;
	width: auto !important;
}
.service {
    float: none;
    width: auto!important;
    display: inline-block;
	vertical-align: top;
	margin: 2px;
}
.toggle-button {
    background: #2b2b2b none repeat scroll 0 0;
    color: #fff;
    cursor: pointer;
    display: block;
    height: 33px;
    text-align: left;
	margin:0;
	padding-left: 41px;
    text-align: left;
}
.toggle-button:after {
    content: attr(data-open);
    display: block;
    font-family: "PT Sans",Arial,Helvetica,sans-serif;
    font-size: 15px;
    padding-top: 6px;
}
.toggle-button:before {
    background: rgba(0, 0, 0, 0) url("images/pull.png") no-repeat scroll center center;
    content: "";
    display: block;
    height: 32px;
    left: 5px;
    position: absolute;
    width: 35px;
}
#menu-checkbox:checked + div[role="navigation"] ul {
    display: block;
}
#menu-checkbox:checked + div[role="navigation"] .toggle-button:after {
    content: attr(data-close);
}
#menu ul{
	display:none;
}
#main #container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}
#main #container  #left {
   -webkit-box-ordinal-group: 2;
   -webkit-order: 1;
   -ms-flex-order: 1;
   order: 1;
   position: relative;
   width:100%;
   margin-bottom: 11px;
}
#main #container  #right {
   -webkit-box-ordinal-group: 3;
   -webkit-order: 2;
   -ms-flex-order: 2;
   order: 2;
}
#main #container #right .right_block:nth-child(1) {
    background: rgba(0, 0, 0, 0) url("images/shopping_cart.png") no-repeat scroll left center / 19% auto;
    margin: 0;
    padding: 9px 10px 9px 30px;
    position: absolute;
    right: 0;
    top: 78px;
}
.right_block_content {
    font-size: 12px;
}
#main #container #right .right_block:nth-child(1) .right_block_title img{
	width:20px;
	display:none;
}
#basketblock{
	padding-top: 0!important;
	margin-top: -5px;
	color: #fff;
}
#main #container #right .right_block:nth-child(1) .right_block_title a{
    margin: 5px 0 0;
}
#main #container #right .right_block:nth-child(1) .right_block_title a{
	font-size: 14px;
	position:absolute;
	left:0;
	top:0;
	width:100%;
    font-size: 0;
    height: 27px;
}
.services_list div div[id*="id"], .news-detail div div[id*="id"]{
    display: inline-block;
    float: none!important;
    vertical-align: top;
    width: 280px!important;
	margin:5px!important;
}
.services_list div, .news-detail div{
	text-align:center
}
#full_content {
    float: none;
    margin: 0 3px;
    padding: 0;
    width: auto;
}
.right_block {
    margin: 0 0 15px;
}
.right_image {
    margin: 0 auto;
	text-align: center;
}
.video-list iframe{
	max-width:100%;
	height:250px;
}
.video-list {
    border-top: medium none;
    width: auto;
}
ymaps[id*="ymaps"] {
    height: 250px !important;
    width: auto !important;
}

div.mf-name, div.mf-email, div.mf-captcha, div.mf-message {
    width: 100%;
}
div.mf-name input, div.mf-email input {
    width: 100%;
}
div.mf-message textarea {
    width: 100%;
}
.right_block_content {
    text-align: center;
}
#basketform{
	overflow:auto;
	display:block;
}
#basketform form{
    display:block;
}
.news-detail div{
	width:auto!important;
}
iframe{
	max-width:100%;
	height:270px;
}
#basketform input{
	width:30px;
}
}
@media screen and (max-width:580px){
#footer_bot {
    height: auto;
    text-align: center;
	padding: 0 5px;
}		

#f_buttons {
    display: none;
}
#f_copy {
    position: static;
    text-align: center;
    width: auto;
	margin: 7px 0 0;
}
#f_contacts p{
	text-align:center;
}
}
@media screen and (max-width:562px){

#main #container #right .right_block:nth-child(1) {
    top: 101px;
}	
#basketform #d_post table, #basketform #d_post tbody, #basketform #d_post tr, #basketform #d_post td, #basketform #d_courier table, #basketform #d_courier tbody, #basketform #d_courier tr, #basketform #d_courier td{
	display:block;
}
#basketform #d_post table input, #basketform #d_post table textarea, #basketform #d_courier table input, #basketform #d_courier table textarea{
	width:97%;
}
#basketform #d_post{
	margin-top:10px;
}
.services_list div div[id*="id"], .news-detail div div[id*="id"] {
    width: 220px !important;
}

.services_list img, .services_list img div, .services_list span, .news-detail img, .news-detail img div, .news-detail span{
	display:block;
	float: none;
}
.services_list img, .news-detail img{
	margin:0 auto 10px;
}

div.mf-message textarea {
    width: 96%;
}
div.mf-name input, div.mf-email input {
    width: 96%;
}
}


@media screen and (max-width:380px){
#logo {
    float: none;
	vertical-align:top;
	margin: 0 auto;
}	
#main #container #right .right_block:nth-child(1) {
    top: 168px;
}
#contacts {
    float: none;
	vertical-align:top;
	margin: 0 auto;
}
#company_name {
    float: none;
	vertical-align:top;
	margin: 0 auto;
}
#header {
    text-align: center;
}
}