@media (max-width: 1024px) {
    #voteButton {
        background: none;
        bottom: 10px;
        top: auto;
        left: 20px!important;
        height: auto;
        width: 120px;
        z-index: 999;
        text-align: center;
        padding: 5px;
        background: rgba(0, 0, 0, 0.7);
        border: 1px solid black;
    }
    #voteButton:after {
        content: 'Задать вопрос';
        color: white;
    }
    .share {
        z-index: 999;
    }
}
@media (max-width: 991px) {
    #close-left {display: block;}
    .header-info-wrapper,
    .header-contact-wrapper {
        float: none;
        text-align: center;
    }
    .left-side {
        display: none;
        width: 100%;
        position: fixed;
        height: 100%;
        top: 0;
        left: 0;
        background: rgba(0,0,0,.8);
        z-index: 99999;
        overflow-x: auto;
    }
    
    .left-side .left-banner {
        width: 49%;
        display: inline-block;
        vertical-align: top; 
    }
    
    .left-side .left-menu a {
        width: 49%;
        display: inline-block;
        vertical-align: top;
        padding: 4px 21px 4px 10px;   
        
    }
    
    .leftBatton {
        display: inline-block;
        position: fixed;
        left: -4px;
        top: 30%;
        cursor: pointer;
        text-decoration: none;
        color: #fff0d3;
        z-index: 999;
        background: url(../images/icons/MAj0qR6uyBB7me.png) no-repeat;
        height: 106px;
        width: 50px;
    }
    .leftBatton:hover {
        transition: 0.5s;
        left: 0px;
        text-decoration: none;
        color: #fff;
        font-weight: bold;
    }
    .top8 {
        display: none;
    }
    .header-content {
        background: #ece6d6;
        background: linear-gradient(to top, #ece6d6 0%, #f3f0e6 36%, #fdfdfb 100%);
    }
    .top,
    .top2,
    .top3,
    .skype {
        text-align: center;
    }
    .top1,
    .top3 {
        padding-left: 0!important;
    }
    .skype img {
        float: none;
        top: 0;
    }
    .firstIm,
    .secondIm,
    .lastIm {
        display: inline-block;
        width: 320px;
    }
    .right1 {
        background-position: center;
    }
    .right1 img {
        display: block;
        margin: 0 auto;
        padding: 3px 0;
    }
    .right9,
    .left5,
    #vk_groups {
        width: 188px;
        margin: 0 auto;
    }
    .right10 {
        width: auto;
    }
    .top_menu {
        height: auto!important;
    }
    .ali_img {
        width: 30%;
    }
    .galleryImg {
        margin: 1%;
    }
    .main {
        padding-right: 15px!important;
    }
    .videoAli {
        background: none;
    }
    .right {
        text-align: center;
    }
    .right9 {
        margin-top: 15px;
    }
}
@media (max-width: 776px) {
    .galleryImg {
        margin: 1px;
    }
}
@media (max-width: 769px) {
    .video-width-auto {
        float: none!important;
        margin-right: 0!important;
        width: 100%;
    }
    .video-width-auto img,
    .video-width-auto p{
        width: 100%!important;
        height: auto!important;
    }
    .news-main-text {
        padding-left: 15px;
    }
    .center-menu {
        width: auto;
    }
    .center-menu a {
        display: block;
    }
    .galleryImg {
        margin: 1%;
    }
}
@media (max-width: 704px) {
    .firstIm,
    .lastIm {
        display: none;
    }
}
@media (max-width: 600px) {
    .flowers {
        background: url("../images/flowers_mini.jpg") no-repeat;
        background-size: 100%;
    }
    #YMapsID-2519 {
        margin-left: 0;
        width: 100%;
    }
    .ali_div {
        width: 180px;
    }
    .galleryImg {
        margin: 1% 5%;
    }
}
@media (max-width: 495px) {
    .ali_img {
        width: 45%;
    }
    #table1 {
        width: 100%;
    }
    .galleryImg {
        margin: 1%;
    }
}
@media (max-width: 420px) {
    .galleryImg {
        margin: 1% 28%;
    }
}
@media (max-width: 390px) {
    .images_7 img {
        width: 84%;
    }
    tbody em {
        font-size: 12px;
        float: right;
        width: 40%;
        text-align: right;
        padding-top: 35px;
    }
    .ceni_ali td {
        padding: 3px 0!important;
    }
    .ali_div {
        width: 130px;
    }
    .galleryImg {
        margin: 1% 23%;
    }
    .top2 img {
        width: 85%;
    }
    #slickbox table input,
    #slickbox table textarea {
        width: 92%;
    }
}
@media (max-width: 370px) {
    #slickbox input,
    #slickbox textarea,
    {
        width: 100%;
    }
    .add_adm input {
        width: 72%;
    }
    #ui-datepicker-div {
        left: 88px!important;
    }
    #content {
        width: 100%;
    }
    .add_adm input {
        width: 90%;
    }
    .ali_img {
        width: 55%;
    }
    #table1 .otp,
    #table1 .och {
        width: 43%;
    }
    .galleryImg {
        margin: 1% 18%;
    }
    .secondIm {
        width: 235px;
    }
}
@media (max-width: 350px) {
    .ali_div {
        width: 100px;
    }
    #table1 #date_end,
    #table1 #date_start {
        width: 70%;
    }
    #table1 .otp,
    #table1 .och {
        width: 50%;
    }
}