html {-webkit-text-size-adjust:100%;}button,input[type="text"],input[type="submit"],input[type="button"],input[type="reset"],input[type="search"]{-webkit-appearance: none;}
html, body {
    min-width: 320px;
}

#header-wrapper .museums-wrap .ico img {
    display: none;
}
.accordeon-map iframe {
    max-width: 100%;
}
.content-tabs {
    margin-bottom: 20px;
}
.content-tabs strong, .content-tabs a {
    padding: 10px 30px;
}

@media screen and (max-width: 1300px) {
    #header-wrapper .museums-wrap ul {
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
    }
    #header-wrapper .museums-wrap li {
        min-height: 0;
        height: auto !important;
        padding: 0 15px;
        padding-bottom: 80px;
    }
    #header-wrapper li + li {
        margin-left: 0;
    }
    #header-wrapper .museums-wrap li p {
        padding: 0 20px;
    }
    #header-wrapper .museums-wrap li:after {
        height: calc(100% - 24px);
    }
    .filter .event-type {
        width: calc(100% - 310px);
    }
    .filter .event-type > span {
        display: inline-block;
        margin-bottom: 10px;
        margin-right: 5px;
    }
}
@media screen and (max-width: 1024px) {
    .b-container, .w {
        min-width: 0;
    }
    .b-header {
        padding-bottom: 50px;
    }
    .b-header .b-container {
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
-webkit-align-items: center;
     -ms-flex-align: center;
        align-items: center;
          -ms-flex-pack: justify;
-webkit-justify-content: space-between;
        justify-content: space-between;
    }
    .b-header__logo {
        width: 25%;
    }
    .b-header__logo img {
        width: 115%;
        margin-bottom: -24%;
    }
    .b-header__language {
        float: none;
        margin: 0;
-webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
        flex-shrink: 0;
    }
    .lvs-button-activate {
        position: static;
        margin: 0 30px;
-webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
        flex-shrink: 0;
    }
    #header-wrapper .b-header__language ul li:last-child {
        margin-right: 0;
    }
    #header-wrapper .museums-wrap .ico {
        background: none;
        width: auto !important;
        display: block;
        position: relative;
    }
    #header-wrapper .museums-wrap .ico img {
        display: block;
        max-width: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
    }
    #header-wrapper .museums-wrap li p {
        font-size: 14px;
        padding: 0;
    }
    .events {
        margin-left: -10px;
        margin-right: -10px;
    }
    .empty {
        padding: 0 10px;
    }
    .events .item {
        padding: 0 10px;
    }
    .events .item .intro a {
        padding-bottom: 10px;
    }
    .events .item .tags {
        margin-bottom: 10px;
    }
    .events .item .tags a {
        display: block;
        min-height: 0;
    }
    .events .item .events-description a, .events .item h3.heading3 {
        font-size: 14px;
        line-height: 1.7;
    }
    .events .item .ei-top {
        height: auto;
    }
    .events .item .intro + p, .events .item .intro + p + a {
        display: none;
    }
    a[href*="tickets.shm.ru"][style*="25%"] {
        width: auto !important;
        padding: 0 30px;
    }
}
@media screen and (max-width: 768px) {
    .b-container, .w {
        padding-left: 15px;
        padding-right: 15px;
    }
    .lvs-button-activate {
        display: none;
    }
    .b-header {
        padding-bottom: 30px;
        padding-top: 15px;
    }
    .b-header__logo {
        width: 220px;
    }
    .b-header__logo img {
        width: 100%;
    }
    .b-header__language {
        padding-left: 20px;
    }
    .b-header__language > a {
        margin-top: 15px !important;
    }
    #header-wrapper .museums-wrap ul {
-webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    #header-wrapper .museums-wrap li {
        width: 50%;
        padding-bottom: 50px;
    }
    #header-wrapper .museums-wrap li:after {
        height: 100%;
    }
    #header-wrapper .museums-wrap li:nth-child(even):after {
        display: none;
    }
    #header-wrapper .museums-wrap li:nth-child(1), #header-wrapper .museums-wrap li:nth-child(2) {
        border-bottom: 4px solid #f3f3f3;
    }
    #header-wrapper .museums-wrap .ico {
        height: 70px;
        margin-bottom: 10px;
    }
    #header-wrapper .museums-wrap .ico img {
        max-height: 100%;
    }
    #header-wrapper .museums-wrap .name {
        line-height: 1.3;
        margin-bottom: 10px;
    }
    #header-wrapper .museums-wrap li .museums-wrap__icon {
        width: 22px;
        height: 22px;
        bottom: 15px;
    }
    #header-wrapper .museums-wrap li p {
        font-size: 13px;
        line-height: 1.5;
    }
    .events {
        margin-bottom: 10px;
    }
    .events .item {
        width: calc(100% / 3);
    }
    .b-group-button .button {
        font-size: 15px;
        width: 200px;
        height: 45px;
        line-height: 40px;
    }
    .b-group-button .button:first-child:last-child {
        margin-right: 0;
    }
    #footer .w {
        padding-bottom: 30px;
    }
    .b-footer-social, .b-footer-description__image {
        margin-bottom: 0;
    }
    .b-footer-description {
        width: auto;
    }
    .b-footer-social__title {
        margin-right: 30px;
        margin-bottom: 12px;
        margin-top: 12px;
    }
    .b-footer-social__group {
        padding-left: 0;
    }
    .b-footer-social__link {
        padding: 0;
        margin: 5px 0;
        margin-right: 25px;
    }
    .b-footer-social__panel {
        margin-bottom: 10px;
    }
    #footer .copies .copy {
        width: auto;
    }
    h1, .heading1 {
        font-size: 26px;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    *[align="justify"], *[style*="justify"] {
        text-align: left !important;
    }
    .address-timeline .col {
        display: block;
        margin-right: 0;
        width: auto;
    }
    .accordeon-map iframe {
        width: 100%;
        height: 300px;
    }
    .address-timeline {
        padding: 0;
    }
    .content-tabs strong, .content-tabs a {
        font-size: 14px;
        padding: 5px 0;
        margin-right: 25px;
    }
    .filter .event-type {
        width: auto;
        margin-bottom: 10px;
    }
    .article-footer .soc {
        margin: 0;
        white-space: normal;
    }
    .article-footer .heading, .article-footer .soc .btn {
        margin-bottom: 10px;
    }
    .article {
        width: auto;
    }
    .side {
        float: none;
        width: auto;
        padding: 0;
        margin-bottom: 30px;
    }
    .pathBar {
        margin-top: 0;
    }
    /*.gallery {
        margin-right: 0;
    }
    .gallery .thumbs .nav {
        display: none;
    }
    .gallery .thumbs .thumbs-w {
        margin: 0;
    }
    .gallery .thumbs .thumbs-i {
        width: auto !important;
        margin-left: 0 !important;
    }
    .gallery .thumbs a {
        float: none;
        display: inline-block;
    }*/
    .gallery {
        margin: 50px -15px;
        padding: 30px 15px;
    }
    .gallery .thumbs .thumbs-w {
        margin: 0;
    }
    .gallery .thumbs .thumbs-i {
        width: auto !important;
        height: auto;
        margin: 0 !important;
        text-align: center;
    }
    .gallery .thumbs a {
        float: none;
        display: inline-block;
        margin: 5px;
    }
    .gallery .thumbs a.active {
        width: 80px;
        height: 60px;
        box-sizing: border-box;
    }
    .gallery .thumbs a.active img {
        margin: 0;
        height: auto;
        max-width: 100%;
    }
    .gallery .image, .gallery .image .image-wrapper, .gallery .image .image-inner {
        height: auto;
    }
    .gallery .image .image-wrapper {
        position: static;
    }
    .gallery .thumbs .nav {
        display: none !important;
    }
    .constructor-text > p:last-child {
        margin-bottom: 0 !important;
    }
}
@media screen and (max-width: 640px) {
    .events .item {
        width: 50%;
    }
}
@media screen and (max-width: 400px) {
    .events .item {
        width: 100%;
    }
    .events .item .ei-top {
        height: auto !important;
    }
    .b-footer-description {
        position: static;
        margin-top: 40px;
    }
    .filter .button {
        padding: 4px 15px;
    }
}