
.carousel-it img {
    max-width: 100%;
}

.att-box {
    background: none;
    min-height: 72px;
}
.att-box > .holder::before {
    display: block;
    position: absolute;
    top: 15px;
    left: 0px;
    width: 48px;
    height: 48px;
    line-height: 48px;
    border-radius: 50%;
    background: #C7AB79;
    color: #fff;
    text-align: center;
    font-size: 36px;
    content: "i";
}
@media screen and (max-width:420px) {
    .att-box > .holder::before {
        width: 32px;
        height: 32px;
        line-height: 36px;
        font-size: 26px;
    }
}

.visual-popup {
    display: none;
}

.nav .mobile {
    display: none;
    margin: 7px 0;
}
.nav .mobile > a {
    background: no-repeat 5px 0px;
    background-size: contain;
    padding-left: 55px;
}
.nav .mobile.tickects > a {
    background-image: url(https://www.kreml.ru/si/ico1.png);
}
.nav .mobile.calendar > a {
    background-image: url(https://www.kreml.ru/si/ico2.png);
}
.nav .mobile.friends > a {
    background-image: url(https://www.kreml.ru/si/ico5.png);
}
.nav .mobile.media > a {
    background-image: url(https://www.kreml.ru/si/ico4.png);
    background-position: 8px 0;
}
@media screen and (max-width:960px) {
    .nav .mobile {
        display: block;
    }
}

@media screen and (max-width:960px) {
    #header .block-action {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .topscroll {
        width: 0px;
        height: 0px;
        font-size: 0;
    }
    .topscroll::after {
        content: "\02C4";
        display: block;
        color: rgba(200,171,122,0.8);
        width: 32px;
        height: 32px;
        border-radius: 50%;
        margin-left: -32px;
        font-size: 42px;
        line-height: 46px;
    }

    #main .carousel-news .heading h2 {
        float: none;
    }    
    .carousel-news .mail-link {
        display: block;
        float: none;
        line-height: 28px;
    }
}

@media screen and (max-width: 760px) {
    .carousel-it .slide {
        margin: 0px;
    }
    .carousel-it .text-holder {
        height: auto;
    }
}

@media screen and (max-width: 475px) {
    .btn-more {
        margin: 15px;
    }
}

/* home */
@media screen and (max-width:768px) {
    .carousel-1 {
        /* display: none; */
        margin-top:40px
    }
    .carousel-1 .slide {
        height: 248px;
    }
    .carousel-1 .slide img {
        height: 100%;
        width: auto;
        max-width: none;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
    }
    .slideshow .btn-prev,
    .slideshow .btn-next {
        display: none;
    }
}
@media screen and (max-width:400px) {
    .home-page .att-box {
        background-position: 0px 30px;
    }
    .home-page .att-box .holder {
        padding-left: 60px;
    }
}


/* about */
@media screen and (max-width:768px) {
    .greeting-box {
        margin-left: -10px;
        padding: 42px 20px 0px 10px;
    }
}
@media screen and (max-width:480px) {
    #about-museums-slider .slide {
        width: 100%;
        margin-right: 0px;
        padding-top: 241px;
    }
    #about-museums-slider .slide img {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    #about-publications-slider .slide {
        width: 100%;
        margin-right: 0px;
    }
    #about-publications-slider .img-block {
        width: 100%;
    }
    #about-documents-slider .slideset {
        /* white-space: normal; */
    }
    #about-documents-slider .slide {
        margin: 0 0 50px 0;
    }
    #about-documents-slider .slide .text-holder {
        height: auto;
    }
    #about-documents-slider .btn-prev,
    #about-documents-slider .btn-next {
        /* display: none; */
    }
    #about-documents-slider .img-holder img {
        height: auto;
    }

    #about-collections-slider .slide {
        width: 100%;
        margin-right: 0px;
    }
}

/* visit-to-kremlin */
@media screen and (max-width:760px) {
    .carousel-news .mask:after {
         display: none;
    }
}

@media screen and (max-width:640px) {
    #visit-sights-slider .slide {
        width: 100%;
        margin: 0;
        text-align: center;
    }
    #visit-sights-slider .slide-text {
        text-align: left;
    }
}

@media screen and (max-width:520px) {
    .scheme-box .mapcard {
        max-width: 100%;
        background-size: contain;
        background-position-y: top;
    }
}


/* research */
@media screen and (max-width:500px) {
    #research-books-slider .slide {
        width: 100%;
        margin: 0px;
        padding: 0px;
    }
    #research-books-slider .img-block {
        width: 100%;
    }
}


/* learning */
@media screen and (max-width:540px) {
    #learning-team-slider .slide {
        width: 100%;
        margin: 0px;
        text-align: center;
    }
}


@media screen and (max-width:768px) {
	.pb-list > li > a {
		overflow: hidden;	
    }
    .pb-list > li:nth-child(1) > a,
    .pb-list > li:nth-child(3) > a {
		width: 40px;
    }
    .pb-list > li:nth-child(2) > a {
        width: 38px;
    }
    .pb-list > li:nth-child(4) > a {
        width: 48px;
    }
    .pb-list > li:nth-child(5) > a {
        width: 126px;
    }
    .pb-list > li:nth-child(6) > a {
        width: 150px;
    }
}

@media screen and (max-width:420px) {
    #header .tools li:nth-child(1),
    #header .tools li:nth-child(2),
    #header .subscribe-box {
        display: none;
    }    
    #header .tools li:nth-child(3) {
        margin-left: 20px;
    }
    #header .t-box {
        text-align: right;
    }
}



/* shop */
.museumshop-container .sort-block.mobile {
    display: none;
    border-top: 1px solid #071d49;
}
@media screen and (max-width:800px) {
    .museumshop-container .sort-block {
        display: none;
    }
    .museumshop-container .sort-block.mobile {
        display: block;
    }
}

@media screen and (max-width:470px) {
    .banner-block span .col:nth-child(2) {
        width: auto;
        margin-right: 130px;
    }
}
@media screen and (max-width:375px) {
    .museumshop-container .menu-l {
        border-bottom: 2px solid #081F4A;
    }
    .museumshop-container .heading {
        border-bottom: 2px solid #081F4A;
        padding-bottom: 15px;
    }
    .museumshop-container .product-list li {
        width: 100%;
    }
    .museumshop-container .products-box .img-box {
        width: 100%;
    }
    .museumshop-container .products-box .img-box img {
        max-width: 100%;
    }
}

@media screen and (max-width:430px) {
    .museumshop-container .sort-block {
        position: relative;
    }
    .museumshop-container .sort-block ul {
        min-width: 50px;
    }
    .museumshop-container .sort-block ul::after {
        content: "\25BC";
        display: inline-block;
        line-height: 32px;
    }
    .museumshop-container .sort-block ul li {
        display: none;
    }
    .museumshop-container .sort-block ul li.active {
        display: inline-block;
    }
    .museumshop-container .sort-block ul li.active a {
        background: #fff;
        color: #010101;
    }

    .museumshop-container .sort-block ul.on {
        position: absolute;
        top: 0px;
        left: 90px;
        border: 1px solid #010101;
        background: #fff;
    }
    .museumshop-container .sort-block ul.on::after {
        display: none;
    }
    .museumshop-container .sort-block ul.on li {
        display: block;
    }
    .museumshop-container .sort-block ul.on li a {
        display: block;
    }
    .museumshop-container .sort-block ul.on li.active a {
        background: #071d49;
        color: #fff;
    }
}
@media screen and (min-width:431px) {
    .museumshop-container .sort-block.mobile ul li:first-child {
        display: none;
    }
}



/* calendar */
@media screen and (max-width:768px) {
    .container-calendar .cc-twocolumns {
        padding: 0px;
    }
    .container-calendar .cc-column1,
    .container-calendar .cc-column2 {
        float: none;
        margin: 0px;
        width: 100%;
        margin-bottom: 20px;
    }
    .container-calendar .cc-column1 ul {
        text-align: center;
    }
    .container-calendar .cc-column1 li {
        display: inline-block;
    }
    .container-calendar .cc-column1 li a {
        padding: 2px 10px;
    }
}


/* media */
@media screen and (max-width:768px) {
    .block.blhide .title-vblock {
        display: flex;
        flex-direction: column;
        padding: 0px;
    }
    .block.blhide .title-vblock a:nth-child(1) {
        order: 2;
        width: 100%;
    }
    .block.blhide .title-vblock a:nth-child(2) {
        order: 1;
    }
    .block.blhide .title-vblock .img-block {
        float: none;
        margin: 0px;
        width: 100%;
    }
    .block.blhide .title-vblock .img-holder {
        background: #fff;
    }
    .block.blhide .title-vblock .img-holder img {
        max-width: 100%;
    }

    .video-container iframe {
        width: 100% !important;
        height: 433px !important;
    }
}
@media screen and (max-width:560px) {
    .video-container iframe {
        height: 300px !important;
    }
}


/* team */
#team-list .img-block {
    background: #fff;
}
@media screen and (max-width:360px) {
    #team-list .name.FIO {
        margin: 0px !important;
    }
}


/* history */
@media screen and (max-width:540px) {
    .mscl .boxes-holder .box a {
        display: flex;
        flex-direction: column;
    }
    .mscl .boxes-holder .box .img-holder {
        order: 2;
    }
    .mscl .boxes-holder .box .title {
        order: 1;
    }
    .mscl .boxes-holder .box .text-holder {
        order: 3;
    }
}


/* publications */
@media screen and (max-width:460px) {
    .blocks-holder .block.blhide {
        max-height: none;
    }
    .blocks-holder .block.blhide::before {
        display: none;
    }
    .block.blhide .title-block {
        display: flex;
        flex-direction: column;
        padding: 5px;
    }
    .block.blhide .title-block .img-block {
        order: 4;
        float: none;
        width: 100%;
        margin: 0px;
    }
    .block.blhide .title-block .name {
        order: 1;
    }
    .block.blhide .title-block .meta {
        order: 2;
    }
    .block.blhide .title-block .year {
        order: 3;
    }
    .block.blhide .blocks-holder .img-holder img {
        max-width: 100%;
    }
    .blocks-holder .block.blhide .text-block {
        height: auto;
    }
}


/* contacts */
@media screen and (max-width:768px) {
    .contacts-boxes .contact-slide {
        min-height: 50px;
    }
    .contacts-boxes .contact-slide .opener {
        padding-bottom: 16px;
    }
}


/* exibitions */
.framed {
    max-width: 100%;
    /* height: auto; */
}
@media screen and (max-width:800px) {
    .mcsr .sidebar .blocks-holder .block:nth-child(1) {
        border-top: none;
    }
    .mcsr .sidebar .blocks-holder .block .img-block {
        width: 100%;
    }
    .mcsr .sidebar .title-vblock {
        display: flex;
        flex-direction: column;
        padding: 0px;
    }
    .mcsr .sidebar .title-vblock .img-block {
        order: 2;
        float: none;
        margin:0px;
    }
    .mcsr .sidebar .title-vblock .name {
        order: 1; 
        margin: 10px 0;
    }
}
@media screen and (max-width:630px) {
    .exhibition-slider .slide {
        width: 100%;
        margin: 0;
        text-align: center;
    }
    .exhibition-slider .slide .slide-text {
        text-align: left;
    }
}


/* texts */
@media screen and (max-width:450px) {
    .c1 img {
        float: none !important;
        display: block;
        margin: 15px auto 15px auto !important;
    }
}


/* media */
@media screen and (max-width:400px) {
    .vblocks-holder.vblocks-holder2.vblocks-holder3 .title-vblock {
        display: flex;
        flex-direction: column;   
        padding: 0px;
        margin-bottom: 25px;
    }
    .vblocks-holder.vblocks-holder2.vblocks-holder3 .title-vblock .img-block {
        order: 2;
        float: none;
        margin: 0;
        width: 100%;
    }
    .vblocks-holder.vblocks-holder2.vblocks-holder3 .title-vblock .name {
        order: 1;
    }
}


/* lectures/* */
@media screen and (max-width:1024px) {
    .mcsr .c1 td > div {
        width: auto !important;
    }
}
@media screen and (max-width:800px) {
    body.lecture .mcsr {
        position: relative;
        /* padding-top: 170px; */
    }
    body.lecture .mcsr .sidebar .heading:nth-child(1) {
        /* position: absolute; */
        top: 0px;
        left: 0px;
    }
    body.lecture .mcsr .sidebar .tickets-list {
        /* position: absolute; */
        top: 32px;
        left: 0px;
    }
}
@media screen and (max-width:380px) {
    body.lecture .c1 .article div > div > div {
        display: block !important;
    }
}

/* search */
.result-box .result-title a {
    line-height: 16px;
    padding: 8px 5px 5px 5px;
}


/* 404 */
@media screen and (max-width:540px) {
    .search-404 {
        background-position: center 0;
    }
}

/* Friends */
@media screen and (max-width:960px) {
    .circs-box{
	padding:0px 0px 0 10px;
    }
    .btn-more {
        margin: 15px 0px 0px 0px;
    }
}