@media(max-width:1919px){
    #eight img{
        width: 100%;
    }
    #eight .one-line .col-lg-6:last-child .image-block{
        margin-top: 112px;
    }
    #eight .one-line{
        margin-top: -50px;
    }
    #eight .two-line .block-text {
        margin-top: 50px;
    }
    #eight .three-line {
        margin-top: 100px;
    }
    #eight .three-line .block-text .desc-block{
        padding-right: 0;
    }
    #eight .three-line .block-text {
        margin-top: 58px;
    }
    #eight .four-line .block-text {
        margin-top: 25px;
        padding-left: 0px;
    }
    #eight .two-line .block-text{
        padding-left: 0;
    }
    #eight .block-text .desc-block{
        font-size: 20px;
    }
    #gifts img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    #gifts .image-block{
        height: 575px;
    }

}

@media(max-width:1400px){
    #ten .bg-arhive{
        padding-right: 60px;
    }
    #arhives .desc-block {
        padding-left: 20px;
        padding-top: 1px;
        padding-right: 20px;
        padding-bottom: 16px;
    }
    #arhives .desc-block ul li{
        margin-bottom: 10px;
    }

    #four .desc-block{
        height: 330px;
    }
    #five .right .item-type-doc {
        padding-right: 70px;
    }
    #eight .four-line .block-text .title-block{
        margin-top: 30px;
    }
    #gifts .image-block {
        height: 450px;
    }
    #gifts h3 {
        margin-top: 70px;
    }
    .nav ul > li{
        margin-right:85px;
    }
    #one h2 {
        font-size: 68px;
    }

    section#two:before, section#three:before, section#four:before, section#five:before, #six:before, #seven:before, #eight:before, #ten:before, #price:before, #reviews:before,#gifts:before,#arhives:before{
        content:none;
    }
    section h2{
        width: auto !important;
    }
    #two .bg-block{
        width: 100%;
        background-position: center;
    }
    #three .item-list p:first-child{
        font-size: 20px;
        margin-right: 0;
    }
    #three .item-list p:last-child{
        font-size: 20px;
    }
    #five img{
        width: 100%;
    }
    #five .item-type-doc {
        font-size: 22px;
    }
    #six .block-video img{
        width: 100%;
    }
    #six .right-docs {
        margin-top: 60px;
        padding-left: 40px;
    }
    #eight .block-text .title-block{
        margin-top: 25px;
    }
    #eight .three-line{
        margin-top: 78px;
    }
    #eight .three-line .block-text {
        margin-top: 50px;
    }
    #eight .block-text .title-block{
        font-size: 24px;
    }
    #eight .block-text .desc-block{
        padding-right: 0;
    }
    #eight .block-text .desc-block {
        font-size: 18px;
        line-height: 1.3;
    }
    #price .col-lg-7 p{
        margin-top: 10px;
    }
    #price .col-lg-7 ul{
        font-size: 20px;
    }
    .slider-works img{
        width: 100%;
        object-fit: cover !important;
        height: 100%;
        object-position: center !important;;
    }
    .slider-works{
        height: 705px;
    }
    .slider-reviews {
        height: 788px;
    }
    #thanks{
        padding: 200px 0;
    }
}

@media(max-width:1200px){
    #ten .bg-book,#ten .bg-panno,#ten .bg-arhive{
        padding-left: 20px;
    }
    #ten .bg-arhive p:first-child,#ten .bg-book p:first-child,#ten .bg-arhive p:first-child{
        font-size: 30px;
    }
    #arhives .right-block__img{
        margin-top: 70px;
    }
    #arhives img{
        width: 100%;
    }
    #two .number-block {
        margin-bottom: 17px;
        padding-bottom: 30px;
    }
    .slider-reviews {
        height: 658px;
    }
    .slider-works{
        height: 600px;
    }
    .nav ul > li {
        margin-right: 53px;
    }
    #one h2{
        margin-top: 100px;
        font-size: 60px;
    }
    #nine form{
        padding: 0;
    }
    #two h2+p{
        padding: 0;
    }
    #three .item-list p:first-child,#three .item-list p:last-child{
        width: 50%;
    }
    #four .desc-block{
        padding-left: 20px;
        padding-right: 20px;
    }
    #four .desc-block p {
        font-size: 18px;
        line-height: 25px;
    }
    #six .item-type-doc {
        font-size: 20px;
        margin-bottom: 73px;
    }
    #eight .three-line {
        margin-top: 24px;
    }
    #eight .two-line .block-text .title-block{
        margin-top: 25px;
    }
    #eight .three-line .block-text .title-block{
        margin-top: 25px;
    }
    #eight .three-line img{
        height: 330px;
        object-fit: cover;
    }
    #eight .four-line .image-block img{
        height: 370px;
        object-fit: cover;
    }
    #ten .bg-book{
        background-position: center;
    }
    #price .left-block{
        padding-bottom: 160px;
    }
    #bottom-form form{
        padding: 0;
    }
    #five .left .item-type-doc {
        padding-left: 0;
    }
    #five .right .item-type-doc {
        padding-right: 0;
    }

}
@media(max-width:992px){
    #four .desc-block {
        height: 290px;
    }
    #ten .bg-book{
        margin-bottom: 0;
    }
    #arhives .right-block__img {
        margin-top: 0;
        margin-bottom: 60px;
    }
    #arhives .right-block p{
        margin-bottom: 0;
    }
    #two, #three, #four, #five, #six, #seven, #eight, #ten, #price, #reviews,#gifts,#arhives {
        background: #F9F9F9;
        padding-top: 90px;
    }
    #reviews,#eight{
        padding-bottom: 90px;
    }
    #nine input{
        width: 280px;
    }
    .modal-cookie {
        width: 720px;
    }
    #thanks{
        padding: 150px 0;
    }
    #thanks h1 {
        font-size: 45px;
        margin-bottom: 0;
    }
    .modal-form{
        width: 95%;
    }
    .modal-form form{
        padding: 0 120px;
    }
    .modal-form form input{
        width: 100%;
    }
    .slider-reviews {
        height: 485px;
    }
    .slider-works {
        height: 446px;
    }
    #footer {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    #footer ul{
        margin-top: 35px;
    }
    #two .bg-block{
        margin-bottom: 38px;
    }
    #three h2+span+p{
        padding: 0;
    }
    #three .item-list p:first-child{
        width: 47%;
    }
    #four .desc-block p {
        font-size: 22px;
        line-height: 28px;
    }
    #five .item-type-doc{
        padding-right: 30px;
    }
    #six .right-docs{
        padding-left: 10px;
        margin-top: 80px;
    }
    #six .item-type-doc{
        font-size: 24px;
    }
    #six .item-type-doc{
        margin-bottom: 90px;
    }
    #eight .one-line .col-lg-6:last-child .image-block{
        margin-top: 80px;
    }
    #eight .one-line .col-lg-6:last-child .image-block{
        position: relative;
    }
    #eight .image-block span{
        background: #ffffff;
        border-radius: 4px;
        text-align: center;
        font-size: 18px;
        position: absolute;
        top: 6px;
        left: 6px;
        padding: 1px 6px;
    }
    #eight .one-line .block-text {
        margin-top: 30px;
    }
    #eight .two-line .image-block{
        margin-top: 0px;
    }

    #eight .two-line .image-block img {
        position: relative;
        right: 0;
        top: 0;
        margin-top: 0px;
    }
    #eight .three-line img{
        height: auto;
    }
    #eight .three-line br,#eight .four-line br{
        display: none;
    }
    #eight .four-line .image-block img{
        height: auto;
        top:0;
    }
    #eight .four-line .image-block img{
        position: relative;
    }
    #eight .four-line .block-text .title-block{
        margin-top: 25px;
    }
    #eight .three-line,#eight .two-line,#eight .four-line{
        margin-top: 0;
    }
    #eight .image-block{
        position: relative;
    }
    #eight .block-text{
        margin-bottom: 40px;
    }
    #nine form{
        padding: 0;
    }
    #ten .bg-book,#ten .bg-panno,#ten .bg-arhive{
        padding-left: 30px;
    }
    #bottom-form input {
        width: 330px;
        margin-right: 15px;
    }
    #price .col-lg-7 ul>li:before{
        min-width: 6px;
    }
    #price .tarif-block__bottom{
        display: block;
    }
    #price .tarif-block__bottom-btn{
        margin-bottom: 15px;
    }
    #price .left-block{
        padding-bottom: 230px;
    }
    #five .item-type-doc {
        font-size: 19px;
    }
}
@media(max-width:768px){
    #four .desc-block {
        height: auto;
        padding-bottom: 20px;
    }
    #nine.after-price{
        margin-top: 40px;
    }
    #five .left .item-type-doc {
        padding-left: 46px;
        margin-bottom: 24px;
    }
    #five .left{
        margin-bottom: 24px;
    }
    #five .right .item-type-doc{
        margin-bottom: 24px;
    }
    .modal-cookie {
        width: 540px;
    }
    .modal-video .close span:last-child {
        margin-top: -49px;
    }
    .modal-video .close span {
        height: 50px;
        background: #fff;
    }
    .modal-video .close {
        right: 50px;
        top: 20px;
    }
    .modal-politika {
        width: 550px;
        padding: 45px 42px;
        top: 10%;
    }
    .modal-form form{
        padding: 0 60px;
    }
    .slider-reviews {
        height: 355px;
    }
    #nine input {
        width: 160px;
    }
    #bottom-form input{
        width: 160px;
    }
    .slider-works {
        height: 335px;
    }
    .btn-call-mobile{
        background: url('../img/btn-mobile.png') no-repeat;
        width: 37px;
        height: 37px;
        margin-top: 3px;
    }
    .burger span{
        background: #333333;
        width: 29px;
        height: 4.6px;
        display: block;
        margin-bottom: 4.6px;
        border-radius: 1px;
    }
    .burger span:last-child{
        margin-bottom: 0;
    }
    .burger{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: end;
    }
    header {
        padding-top: 27px;
    }
    .nav{
        margin-top: 28px;
    }
    .logo{
        background-position: center;
    }
    #one h2{
        font-size: 46px;
        margin-top: 95px;
        font-size: 32px;
    }
    #one h2+p{
        width: 100%;
    }
    h2.title-section{
        font-size: 28px;
        line-height: 32px;
        width: 100% !important;
        background: transparent;
    }
    #reviews h2,#bottom-form h2{
        font-size: 28px;
        line-height: 32px;
    }
    #one h2+p{
        margin-top: 77px;
        font-size: 22px;
    }
    #one .btn-call{
        margin-top: 217px;
    }
    #two, #three, #four, #five, #six, #seven, #eight, #ten, #price, #reviews{
        padding-top: 60px;
    }

    #ten .bg-book{
        padding-right:30px;
    }
    #ten .bg-arhive{
        padding-right:30px;
    }
    #gifts h3 {
        margin-top: 40px;
        font-size: 28px;
        line-height: 32px;
    }
    #price{
        padding-bottom: 60px;
    }
    #gifts .btn-zakaz{
        margin: 0 auto;
        margin-top: 40px;
    }
    #nine{
        box-shadow: none !important;
    }
    #nine {
        padding-top: 30px;
        margin-bottom: 20px;
        padding-bottom: 40px;
    }
    #ten .bg-arhive p:last-child{
        font-size: 20px;
    }
    #ten .bg-book p:last-child{
        font-size: 20px;
    }
    #ten .bg-panno p:last-child{
        font-size: 20px;
    }
    #footer .footer-logo{
        width: 260px;
        background-size: contain;
    }
    #footer .footer-phone{
        font-size: 22px;
    }
    .change-tarifs{
        display: flex;
        justify-content: space-between;
        position: relative;
    }
    .change-tarifs:before{
        content:'';
        width: auto;
        height: 1px;
        background: #777777;
        position: absolute;
        top:35px;
        z-index: 5;
        left: 12px;
        right: 12px;
    }
    .change-tarifs .active{
        font-family: 'Spectral-Bold';
        color:#333333;
        border-bottom: 2px solid #333333;
    }
    .change-tarifs div{
        font-size: 22px;
        color:#777777;
    }
    #price h2+span{
        margin-left: 0;
    }
    #price .tarif-block{
        border-bottom: none;
    }
    #price div[data-id]{
        display: none;
    }
    #price div[data-id].active{
        display: block;
    }
    .tarif-block__srok-mobile{
        font-size: 22px;
        color: #777777;
        margin-top: 24px;
    }
    #price .col-lg-7 ul>li:last-child{
        margin-bottom: 0;
    }
    #price .tarif-block__bottom-btn.mobile{
        margin: 0 auto;
        margin-top: 24px;
    }
    #price .price-mobile{
        font-size: 32px;
        font-family: 'Spectral-Bold';
    }
    .bottom-tarif-mobile{
        margin-top: 32px;
        display: flex;
        justify-content: space-between;
    }
    #five .block-image {
        position: relative;
        margin-top: 45px;
    }
}
@media(max-width:640px){
    .modal-form form{
        padding: 0 40px;
    }
}

@media(max-width:576px){
    #three .item-list:last-child p:first-child{
        width: 100%;
        border-right: none;
    }
    #gifts .image-block {
        height: 310px;
    }
    #one .btn-call {
        margin-top: 100px;
    }
    #one{
        padding-bottom: 80px;
    }
    #arhives .right-block__img{
        margin-bottom: 20px;
    }
    #arhives .right-block p{
        width: 100%;
    }
    #three .item-list:last-child p:last-child {
        padding-left: 0;
        padding-top: 0;
        text-align: center;
    }
    .modal-cookie {
        width: calc(100% - 30px);
    }
    .modal-politika{
        width: 90%;
        height: 90%;
    }
    .modal-politika #policy-output{
        height: 80%;
    }
    .modal-politika .title-modal{
        font-size:24px;
    }
    #thanks{
        padding: 100px 0;
    }
    #thanks h1 {
        font-size: 36px;
    }
    #thanks h1+p {
        font-size: 22px;
        width: 300px;
    }
    .modal-form .title-form{
        padding: 0 15px;
        font-size: 22px;
    }
    .modal-form button{
        margin: 0 auto;
        margin-top: 16px;
    }
    .modal-form .politika-line a{
        line-height: 1.2;
    }
    #three .item-list{
        display: block;
    }
    #three .item-list p:first-child, #three .item-list p:last-child{
        width: 100%;
    }
    *{
        box-sizing: border-box;
    }

    #nine form{
        display: block;
    }
    #nine input{
        width: 100%;
        margin-right: 0;
    }
    #nine input:first-child{
        margin-bottom: 24px;
    }
    #nine form button{
        margin: 0 auto;
        margin-top: 54px;
        display: block;
    }
    #bottom-form form{
        display: block;
    }
    #bottom-form form input{
        width: 100%;
        margin-right: 0;
    }
    #bottom-form form input:first-child{
        margin-bottom: 24px;
    }

    #bottom-form  form button{
        margin: 0 auto;
        margin-top: 54px;
        display: block;
    }
    #five h3{
        width: 100%;
    }
    .nav ul > li {
        margin-right: 15px;
    }
    .slider-reviews{
        margin: 0;
    }
    .slider-works_item{
        height: 100%;
    }
    #reviews .slider-arrow{
        margin-left: 0;
        margin-right: 0;
        display: none;
    }
    #two .bg-block{
        background-size: cover;
        height: 393px;
    }
}
@media(max-width:500px){
    .slider-works {
        height: 295px;
    }
    .slider-reviews{
        height: 460px;
    }
}
@media(max-width:480px){
    .modal-video .close span:last-child {
        margin-top: -49px;
    }
    .modal-video .close {
        right: 25px;
        top: 10px;
    }

    .modal-video {
        width: 100%;
        height: 100%;
    }
    .modal-politika .title-modal {
        font-size: 21px;
        line-height: 1.2;
    }
    .modal-politika {
        padding: 30px 15px;
    }
    #ten .bg-book{
        background: url('../img/book-mobile.jpg') no-repeat;
        background-size: cover;
    }
    #ten .bg-panno{
        background: url('../img/pano-mobile.jpg') no-repeat;
        background-size: cover;
    }
    #ten .bg-arhive{
        background: url('../img/arhive-mobile.jpg') no-repeat;
        background-size: cover;
    }
    .soc-footer span{
        display: none;
    }
}
@media(max-width:460px){
    .slider-reviews {
        height: 420px;
    }
}
@media(max-width:440px){
    #three h2+span+p{
        font-size: 20px;
        line-height: 30px;
    }
    #nine form{
        margin-top: 20px;
    }
    .slider-works {
        height: 258px;
    }
    .slider-reviews {
        height: 398px;
    }
    #footer .footer-logo {
        width: 100%;
        background-size: contain;
        height: 40px;
    }
    #gifts .image-block {
        height: 240px;
    }

    #eight .desc-block{
        margin-bottom: 0;
    }
}
@media(max-width:420px){
    .modal-cookie {
        padding-left: 15px;
        padding-right: 20px;
    }
    #ten .bg-panno p:first-child,#ten .bg-book p:first-child,#ten .bg-arhive p:first-child{
        font-size: 28px;
        line-height: 32px;
    }
    #ten .bg-book, #ten .bg-panno, #ten .bg-arhive{
        padding-left: 15px;
        padding-right: 15px;
    }
    #thanks h1 {
        font-size: 32px;
    }
    #thanks h1+p {
        font-size: 20px;
        width: 300px;
    }


    .slider-reviews {
        height: 377px;
        margin-right: -12px;
    }
    .slider-reviews .slick-list{
        padding: 0 22.5% 0 0;
    }
    .slider-reviews img{
        object-fit: cover;
    }
}

@media(max-width:400px){
    #three .item-list:last-child p:first-child,#three .item-list:last-child p:last-child{
        font-size: 26px;
    }
    #footer ul a{
        font-size: 18px;
    }
    #footer .footer-phone {
        font-size: 19px;
    }
    .modal-form form{
        padding: 0 15px;
    }
    .modal-form input{
        font-size: 18px;
    }
    .slider-reviews,.slider-reviews img {
        height: 600px;
    }
    .slider-reviews img{
        width: 100% !important;
    }
    .slider-works {
        height: 234px;
        margin: 0 -6px;
        margin-top: 44px;
    }
    .slider-reviews .slick-slide {
        padding: 0 8px;
    }
    .slider-reviews{
        margin: 0 8px;
        margin-right: -12px;
    }
    #reviews{
        padding-bottom: 90px;
    }
    .slider-works__arrow{
        display: none;
    }
    .slider-works_item,.slider-works_item img{
        height: 195px !important;
    }
    .slider-works  .slick-slide {padding: 0 6px;}

    #gifts .image-block {
        height: 210px;
    }
}
@media(max-width:380px){
    #thanks h1 {
        font-size: 30px;
    }
    .slider-reviews .slick-list{
        padding: 0 18% 0 0;
    }
    .slider-works .slick-list{
        padding: 0 18% 0 0 !important;
    }
    .slider-works{
        margin-right: -12px;
    }
}
@media(max-width:375px){
    .nav ul > li{
        font-size: 18px;
    }
    .logo {
        width: 100%;
        background-size: contain;
    }
    #one h2 br{
        display: none;
    }
    #one h2{
        line-height: 40px;
    }
}
@media(max-width:360px){
    .modal-cookie {
        font-size: 12px;
        padding: 8px 20px;
    }
    
    #footer .footer-phone {
        font-size: 18px;
    }
    #one h2{
        font-size: 30px;
    }
    .slider-reviews .slick-list{
        padding: 0 14% 0 0;
    }
    #thanks h1 {
        font-size: 26px;
    }
    #thanks h1+p{
        font-size: 18px;
        width: 260px;
    }
    #one h2+p{
        font-size: 20px;
    }
    #five h3{
        font-size: 22px;
    }
}
@media(max-width:340px){
    .change-tarifs div {
        font-size: 20px;
    }
    .change-tarifs:before{
        top:32px;
    }
    #one h2{
        font-size: 28px;
    }
    .slider-reviews .slick-list{
        padding: 0 12% 0 0;
    }
    .slider-reviews, .slider-reviews img {
        height: 530px;
    }
    .slider-reviews{
        margin: 0;
        margin-right: -12px;
    }
    h2.title-section {
        font-size: 26px;
    }
    #footer .footer-phone {
        font-size: 16px;
    }
}
@media(max-width:330px){

    #one h2+p {
        font-size: 19px;
    }
}

@media(max-width:320px){
    .slider-reviews, .slider-reviews img {
        height: 490px;
    }
}