body, html,#wrapper0 { overflow-x: hidden; }
 .mobile-bar {
 display:none;
 }
.menu-toggle{
    display: none;
}

.ai-img{
 background-repeat: no-repeat!important;
background-size: cover!important;   
}
.mobile-top{
 display:none;
 }








@media screen and (min-width:501px) and (max-width:961px) {
   /* Tablet styles */
#footer{
  width: 100%;
}
#footer .tblock, #footer .catContainer {
    float: none;
    text-align: center;
    margin: 0 auto;
}
#footer .catContainer{
  width: 80%;
}
.listThree{
width: 47%;
}
.listThree .ai-img, .listThree .ai-slideBlock, .listThree .ai-timeAndNumber, .listThree .ai_metro, .listThree .ai-metroBlock, .listThree .ai_brand{
 width: 100%; 
}


/*#header0{
top: 0px;
position: relative;
display: block;
border-bottom: 4px solid transparent;
background: #f1f8fe;
}
#header{
width: 100%;	
}



.topMainMenu0{
  display: none;
}
*/






#wrapper0 {
min-width: 501px!important;
}
#wrapper{
min-width: 501px!important; 
}
#content{
 width: 100%; 
}
#content0{
  min-width: 501px!important;
}
.discount .img-header{
  width: 50%;
}

.discount .discount-info{
  width: 48%;
}

.discount .buy_panel{
  width: 100%;
}

.detailed_info{
  width: 50%;
}

.discont_right_block{
  width: 45%;
  text-align: center; 
}








.discont_right_block #YMapsID{
  width: 100%!important;
}



//
}


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

#wrapper{
min-width: 301px!important; 
}
#content{
 width: 100%; 
}
#content0{
  min-width: 301px!important;
}



#header0{
  display: none;
}

/*.topMainMenu0{
  display: none;
}
*/

.discount .img-header{
 width: 90%;
  float: none;
  margin: 0 auto;
}

.discount .discount-info{
 width: 90%;
  float: none;
  margin: 0 auto;
}

.discount .buy_panel{
  width: 100%;
}


.detailed_info{
  width: 90%;
  float: none;
  margin: 0 auto;
}

.discont_right_block{
  width: 90%;
  text-align: center;
  float: none;
  margin: 0 auto; 
}





.listThree{
width: 90%;
margin: 1em auto;
display: block;
float: none;
}
.listThree .ai-img, .listThree .ai-slideBlock, .listThree .ai-timeAndNumber, .listThree .ai_metro, .listThree .ai-metroBlock, .listThree .ai_brand{
 width: 100%; 
}
.listThree .ai-info {
    width: 100%;
}








#footer{
  width: 100%;
}
#footer .tblock, #footer .catContainer {
    float: none;
    text-align: center;
    margin: 0 auto;
}
#footer .catContainer{
  width: 80%;
}

.discont_right_block #YMapsID{
  width: 100%!important;
}

}

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

.mobile-top{
 display:block;
 }


#wrapper0 {
    min-width: 301px!important;
}

#wrapper #header0{
display: none;	
}

#content #topHorMenu{
	display: none;
}

#content0{
  padding: 0px!important;
}

.mobile-top .topMainMenu0 {
 width: 100%;
    margin: 0 auto;
    position: relative;
}

.mobile-top .topMainSubmenu {
display: block;
    width: 100%;
    background: #fff;
    position: relative;
}

.mobile-top .topMainMenu #menuCntrBlock{
  position: relative;
  width: 100%;
height: auto;
}
.mobile-top .topMainMenu .menuContainer{
position: relative;
height: auto!important;
float: none;
width: 100%;
display: block;
}

.mobile-top .topMainMenu .menuContainer li{
  float: none;
}

.mobile-top .topMainMenu .menuContainer ul {
    background: #fff;
    display: block;
    position: relative;
    top: 0px;
    left: 0px;
    opacity: 1;

}

.mobile-top .topMainMenu ul.menuContainer > li:last-child > a{
width:auto!important;
padding-left: 0px!important;
}

.mobile-top .topMainMenu{
 height: auto;
 position: absolute;
transform: translateX(0);
transition: 1s;
top: 0px;
}

.mobile-top .topMainMenu .menuContainer ul li{
 height: auto; 
}
.mobile-top .topMainMenu .menuContainer ul{
 border-bottom: 2px solid transparent;
}

.mobile-top #topHorMenu{
 transform: translateX(-100%); 
 position: absolute;
top: 60px;
}


.mobile_button{
  display: block;
 position: relative;
width: 100%;
height: 40px;
color: #fff;
text-align: center;
line-height: 40px;
font-size: 2em;
background: #2d3b5e;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzM0NDI1NCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwJSIgc3RvcC1jb2xvcj0iIzQyNGI1NiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMzMzNjNDYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, #2d3b5e 0%, #364569 10%, #2d3b5e 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2d3b5e), color-stop(10%, #364569), color-stop(100%, #2d3b5e));
    background: -webkit-linear-gradient(top, #2d3b5e 0%, #364569 10%, #2d3b5e 100%);
    background: -o-linear-gradient(top, #2d3b5e 0%, #364569 10%, #2d3b5e 100%);
    background: -ms-linear-gradient(top, #2d3b5e 0%, #364569 10%, #2d3b5e 100%);
    background: linear-gradient(to bottom, #2d3b5e 0%, #364569 10%, #2d3b5e 100%); 
}

/*<div class="mobile_button">=</div>*/




label > * {
    display: block;
    pointer-events: none;
}


 .mobile-bar > div {
 display: inline-block;
text-align: center;
line-height: 60px;
top: 0;
position: relative;
margin-left: 2em;
font-size: 2em;
color: #fff;
 }
.mobile-bar {
    z-index: 10;
    position: relative;
    top: 0;
    left: 0;
    padding: 0 25px;
    width: 100%;
    height: 60px;
background: #2d3b5e;
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzM0NDI1NCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwJSIgc3RvcC1jb2xvcj0iIzQyNGI1NiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMzMzNjNDYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, #2d3b5e 0%, #364569 10%, #2d3b5e 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2d3b5e), color-stop(10%, #364569), color-stop(100%, #2d3b5e));
background: -webkit-linear-gradient(top, #2d3b5e 0%, #364569 10%, #2d3b5e 100%);
background: -o-linear-gradient(top, #2d3b5e 0%, #364569 10%, #2d3b5e 100%);
background: -ms-linear-gradient(top, #2d3b5e 0%, #364569 10%, #2d3b5e 100%);
background: linear-gradient(to bottom, #2d3b5e 0%, #364569 10%, #2d3b5e 100%);
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.menu-toggle{
    display: none;
}

.menu-icon {
  float: left;
    display: block;
    position: relative;
    width: 25px;
    height: 100%;
    cursor: pointer;
    -webkit-transition: -webkit-transform 300ms ease;
    transition: -webkit-transform 300ms ease;
    transition: transform 300ms ease;
    transition: transform 300ms ease,-webkit-transform 300ms ease;
}
.menu-icon > span {
    display: block;
    position: absolute;
    top: 55%;
    margin-top: -0.3em;
    width: 100%;
    height: 0.3em;
    border-radius: 1px;
    background-color: #eee;
    -webkit-transition: -webkit-transform 300ms ease;
    transition: -webkit-transform 300ms ease;
    transition: transform 300ms ease;
    transition: transform 300ms ease,-webkit-transform 300ms ease;
}

.menu-icon > span::before {
    -webkit-transform: translateY(-0.6em);
    transform: translateY(-0.6em);
}
.menu-icon > span::after {
    -webkit-transform: translateY(0.6em);
    transform: translateY(0.6em);
}

.menu-icon > span::before, .menu-icon > span::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 1px;
    background-color: #eee;
    -webkit-transition: -webkit-transform 300ms ease;
    transition: -webkit-transform 300ms ease;
    transition: transform 300ms ease;
    transition: transform 300ms ease,-webkit-transform 300ms ease;
}
.menu-toggle:checked+.mobile-bar .menu-icon {
 -webkit-transform:rotate(45deg);
 transform:rotate(45deg);
}
.menu-toggle:checked+.mobile-bar span:before,.menu-toggle:checked+.mobile-bar span:after {
 -webkit-transform:rotate(90deg);
 transform:rotate(90deg);
}

.menu-toggle:checked~.topMainMenu0 > .topMainMenu {
 -webkit-transform:translateX(100%);
 transform:translateX(100%);
 -webkit-transform:translate3d(100%,0,0);
 transform:translate3d(100%,0,0);
}

 .mobile-bar {
 display:block;
 }









//
}

