@media(max-width:1200px){
    .detailPage .detailInfoCol {
        grid-template-columns: 1fr 35rem;
        gap: 4rem;
    }
}
@media(max-width:767px){
    .top-banner.videoBG .container{
        position:relaitive;
        z-index:5;
    }
    .top-banner.videoBG .btn{
        display:none;
    }
    .top-banner.videoBG .flex-col{
        justify-content: end;
        text-align:center;
    }
    .videoBG .video-background {
        right: 0;
        z-index: 1;
        margin: 0 auto;
    }
    .top-banner.videoBG {
        margin-bottom: 5rem;
        max-height: 65rem;
        min-height: 87vh;
        border-radius:0;
    }
    .goods-bl{
        display:none;
    }
    .modalStyle .twoCols .item a.phone {
        font-size: 2.4rem;
    }
    .modalStyle .twoCols .contactsRow .item{
        gap:0;
    }
    .modalStyle .twoCols .contactsRow ul.socLinks li {
        font-size: 1.6rem;
        padding: 0.4rem;
    }
    .contactPage {
        padding-top: 8rem;
    }
    .contactPage .top-banner {
        min-height: unset;
        padding: 5rem 0;
        height: 85vh;
        max-height: 50rem;
    }
    .contactPage .top-banner .flex-col {
        justify-content: flex-start;
    }
    .contactFormBl{
        margin: 3rem auto;
    }
    #contactForm .row {
        flex-direction: column;
    }
    .contactFormBl .twoCols {
        gap: 4rem;
    }
    .hover-gallery__segments {
        bottom: 1rem;
        gap: 0.4rem;
    }
    .gastPage .textBl{
        margin:5rem auto;
    }
    .gastPage .bigBanner.bigImg .inner{
        background:unset;
    }
    .gastPage .bigBanner.bigImg {
    height: 30rem;
    }
    body{
        font-size:1.6rem;
    }
    header .hcenter {
        display: none;
    }
    header .logo {
        width: 21.2rem;
    }
    .menu_container, #mobile-menu {
        display: block;
    }
    header .container {
        padding: 1rem 2.4rem;
    }
    header .btn {
        min-height: 5rem;
        padding: 1rem 1.6rem;
        height: auto;
    }
    .modalStyle .twoCols {
        grid-template-columns: 1fr;
    }
    .modalStyle .twoCols .contactsRow{
        padding: 2rem 2rem 1rem;
        gap: 2rem;
        margin-top: 0;
        grid-row: 1;
    }
    .modalStyle .twoCols .contactsRow .item .grey {
        font-size: 2rem;
    }
    .modalStyle .twoCols .item .mail {
        font-size: 2.2rem;
    }
    #callbackModal {
        padding: 0;
    }
    #callbackModal > .title{
        display:none;
    }
    .contactsRow ul.socLinks {
        flex-wrap: wrap;
    }

    .header.active{
        background: rgba(16, 16, 16, 0.98);
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    
    .top-banner {
        border-bottom-left-radius: 2.4rem;
        border-bottom-right-radius: 2.4rem;
        padding: 11rem 0 3rem;
        min-height: unset;
        height: 85vh;
        max-height:55rem;
    }
    .top-banner .flex-col {
        gap: 1.5rem;
        margin-top: 0;
        justify-content: space-between;
        height: 100%;
    }
    .top-banner h1{
        font-size:4.4rem;
        text-shadow: 0 1px 4px black;
    }
    .top-banner h2{
        font-size:2.8rem;
        text-shadow: 0 1px 4px black;
    }
    .top-banner p{
        font-size: 2rem;
    }
    .top-banner.videoBG .bgImg img{
        border-radius:0;
    }
    .top-banner .bgImg img{
        border-bottom-left-radius: 2.4rem;
    }
    .aboveFooter .bgImg img{
        border-radius: 2.4rem 2.4rem 0 0;
    }
    .goods-bl {
        -webkit-transform: translateY(-10%);
        -ms-transform: translateY(-10%);
        transform: translateY(-10%);
        margin-bottom: 3rem;
    }
    .goods-bl .item {
        padding: 2rem;
    }
    .goods-bl .item svg,.goods-bl .item img {
        width: 3rem;
        height: 3rem;
    }
    .goods-bl .item .top b {
        font-size: 2rem;
    }
    .grid-three-col{
        gap:2rem;
    }
    
    .blocktitle {
        margin-bottom: 3rem;
    }
    .blocktitle h2, .blocktitle h1{
        line-height:1.3;
        font-size: 4.4rem;
    }
    .reasons-bl .inner-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 3rem;
        gap:2rem;
    }
    .reasons-bl .item {
        min-height: 35rem;
    }
    .reasons-bl .item .title svg,.reasons-bl .item .title img {
        width: 5.2rem;
        height: 5.2rem;
    }
    .reasons-bl .item .title {
        font-size: 2.4rem;
        line-height: 1.2;
        grid-template-columns: 5.2rem 1fr;
    }
    .reasons-bl .flipBl .front{
        padding: 2rem;
    }
    .reasons-bl .flipBl .back ,.reasons-bl .flipBl .back .text{
        padding: 1rem;
    }
    .reasons-bl .flipBl .front{
        background-color: #000000;
        line-height: 1.3;
    }
    .reasons-bl .item .bgImg{
        opacity: 0.7;
    }
    .m-t-6 {
        margin-top: 4.5rem;
    }
    .bigBanner {
        margin: 6rem auto;
        border-radius: 0;
    }
    .bigBanner .inner {
        min-height: 40rem;
        padding: 4rem 2rem;
    }
    .about-ship-bl {
        margin-bottom: 6rem;
    }
    .about-ship-bl .about-ship-row {
        gap: 4rem 2rem;
    }
    .about-ship-bl .about-ship-row .about-ship-item {
        gap: 2rem;
    }
    .about-ship-bl .about-ship-row .about-ship-item .img {
        height: 30rem;
    }
    .about-ship-bl .about-ship-row .about-ship-item .text .title {
        font-size: 2.8rem;
    }
    .about-ship-bl .about-ship-row .about-ship-item .text .iconlist{
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .about-ship-bl .about-ship-item br{
        display:none;
    }
    .img, .item {
        border-radius: 2rem;
    }
    
    .galleryBl {
        margin-bottom: 6.5rem;
    }
    .galleryRow {
        gap: 1.2rem;
    }
    .galleryRow.simpleRow {
        gap: 0 1.2rem;
    }
    .galleryRow.simpleRow .img,.galleryRow.simpleRow.expanded .img:nth-child(n+13) {
        height: 16rem;
        margin-bottom:1.2rem;
        border-radius: 1.2rem;
    }

    .customMapBl {
        margin-bottom: 6rem;
    }
    .customMapCol {
        background: #2a2929;
        border-radius: 0;
        height: auto;
        display: flex;
        flex-direction: column;
    }
    .customMapCol .info {
        padding: 2rem 0 3rem;
        border-radius: 0 0 2rem 2rem;
        font-size: 2rem;
    }
    .customMapCol .info ul {
        display: block;
        margin-left: 3rem;
        width: 100%;
        column-count: 2;
    }
    .customMapCol .info ul li{
        margin-bottom:1rem;
    }
    .customMapCol .mapImg {
        margin-top: -2rem;
        height: 45rem;
        margin-left: -8rem;
        background-size: contain;
        background-position: left bottom;
    }
    
    .locationsTabBl {
        margin-bottom: 6rem;
    }
    .tabsHead {
        margin-bottom: 3rem;
    }
    .tabsHead ul{
        font-size: 2rem;
    }
    .tabsHead ul li {
        padding: 1rem 2.2rem;
    }
    
    .locRow.grid-three-col {
        grid-template-columns: 1fr;
        gap:4rem;
    }
    .locRow.theme2.grid-three-col {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .locRow .item {
        gap: 2rem;
        line-height: 1.5;
        max-width: 40rem;
        margin: 0 auto;
    }
    .locRow .item .title {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
        line-height: 1.2;
    }
    .locRow .img {
        height: 21rem;
    }
    .locRow .item .btn {
        margin-top: 1rem;
    }
    
    .chiefBl {
        display: grid;
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .chiefBl .info {
        align-items: baseline;
        font-size: 1.6rem;
        line-height: 1.4;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .chiefBl .gallery{
        gap:2rem;
    }
    .chiefBl .gallery .gallery__col:nth-child(2) {
        padding-top: 4rem;
    }
    .chiefBl .gallery .tall {
      height: 27rem;
    }
    .chiefBl .gallery .small {
      height: 18rem;
    }
    
    .bigBanner.aboveFooter{
        margin-bottom:0;
        background-position: right;
    }
    .aboveFooter .text {
        gap: 2.5rem;
    }
    .bigBanner .blocktitle p {
        font-weight: 700;
        font-size: 2.4rem;
        margin-top: 2rem;
        max-width: 58rem;
    }
        
    footer {
        padding: 4rem 0;
        min-height: unset;
    }
    footer .container {
        align-items: center;
        gap: 3rem;
        flex-direction: column;
    }
    footer .fcenter ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
        text-align: center;
        max-width: 39rem;
    }
    footer .fright{
        align-items: center;
        gap: 2rem;
        margin-left: 0;
    }
    .mobileGallery {
        display: block;
    }
    .bigBanner .inner {
        background: #00000054;
    }
    
    .top-banner.aboutPage h1 {
        font-size: 5.4rem;
    }
    .textBl.twoCol {
        grid-template-columns: 1fr;
    }
    .textBl .big {
        font-size: 2.4rem;
        line-height: 1.3;
    }
    .textBl p {
        margin-bottom: 2rem;
    }
    .historyBl .imgRow .item .img {
        height: 20rem;
    }
    .historyBl .imgRow.twoCol {
        display: grid;
    }
    .historyBl {
        margin: 5rem auto 10rem;
    }
    .deckDescr .top {
        grid-template-columns: 1fr;
        margin-bottom: 2rem;
    }
    .deckDescr .text .title {
        font-size: 2.4rem;
    }
    .deckDescr .gallery .item {
        height: 25rem;
    }
    .deckDescr .gallery .item:nth-child(5) {
        grid-column: span 2;
    }
    .deckDescr .grid-three-col {
        gap:1.2rem;
        grid-template-columns: repeat(2, 1fr);
    }
    .deckDescr {
        margin-top: 7rem;
    }
    .deckDescrList {
        padding: 5rem 0;
    }
    .deckDescr .cabinsTabs .tabsHead li {
        font-size: 2.6rem;
    }
    .deckDescr .cabinsTabs .tabsHead ul {
        gap: 3rem;
        justify-content: start;
    }
    .deckDescr .cabinsTabs .title {
        font-size: 2.4rem;
        line-height: 1.2;
        margin-bottom: 2rem;
    }
    .historyBl .imgRow {
        margin-top: 5rem;
        gap:1.2rem;
    }
    .aboveFooter.small .inner {
        min-height: 30rem;
    }
    .m-b-15 {
        margin-bottom: 8rem;
    }
    .locRow.theme2 .img {
        height: 22rem;
    }
    .locRow.theme2 .text {
        padding: 1.2rem;
        font-size: 1.4rem;
    }
    .locRow.theme2 .item .bottom {
        flex-direction: column;
        gap: 2rem;
        position: absolute;
        bottom: 1rem;
        width: 100%;
        left: 0;
    }
    .locRow.theme2 .item {
        border: 2px solid #ebdfff;
        border-radius: 2.4rem;
        position: relative;
/*         padding-bottom: 10rem; */
        padding-bottom: 3rem;
    }
    .locRow .item .bottom .btn {
        font-size: 1.6rem;
        min-height: 4.6rem;
    }
    .locRow .favoriteBtn {
        width: 4.6rem;
        height: 4.6rem;
    }
    .aboveFooter .text.whiteBG {
        background: #ffffffde;
        padding: 1.2rem;
        gap: 1rem;
        max-width: 35rem;
    }
    .aboveFooter .text.whiteBG .btn {
        font-size: 1.6rem;
        padding: 1rem;
        min-height: 4rem;
        font-weight: 600;
    }
    .aboveFooter .text.whiteBG h2{
        font-size:2.6rem;
    }
    .aboveFooter .text.whiteBG p {
        font-size: 1.8rem;
    }
    .detailPage .topGal {
        grid-template-rows: repeat(2, 14rem);
    }
    .detailPage .detailInfoCol {
        display: flex;
        flex-direction: column;
        gap: 4rem;
    }
    .detailPage .detailInfoCol .pagetitle {
        font-size: 4.4rem;
        margin-bottom:2rem;
        line-height: 1.2;
    }
    .detailPage .detailInfoCol .textBl img {
        border-radius: 1.6rem;
        max-height: 30rem;
    }
    .tags {
        gap:1rem;
    }
    .tags li {
        font-size: 1.2rem;
        padding: 0.4rem 0.6rem;
    }
    .locRow.similarRow .item:nth-child(4) {
        display: flex;
    }
    .detailPage .detailInfoCol .textBl p {
        margin-bottom: 2rem;
    }
    .detailPage .detailInfoCol .textBl h3 {
        font-size: 2.4rem;
    }
    .chiefRow {
        display: flex;
        flex-direction: column-reverse;
        gap: 3rem;
    }
    .chiefRow .img {
        height: 20rem;
    }
    .chiefRow .text {
        font-size: 1.8rem;
    }
    .chiefRow .bottom {
        font-size: 2.4rem;
    }
    .gastPage .bigBanner.centered .inner {
        padding: 5rem 2rem;
    }
}


@media(max-width:595px){
    
    .top-banner.videoBG h1 {
        line-height: 1.2;
        font-weight: 700;
        font-size: 5.7vw;
    }
    .top-banner.videoBG h2 {
        font-weight: 500;
    }
    .bigBanner .blocktitle p {
        font-weight: 600;
        font-size: 2rem;
    }
    .deckDescr .gallery .item {
        height: 18rem;
        border-radius: 1.2rem;
    }
    .galleryRow {
        grid-template-columns: repeat(2, 1fr);
    }
    .detailPage .detailInfoCol .pagetitle {
        font-size: 3.4rem;
    }
    .detailPage .detailInfoCol .textBl img {
        max-height: 25rem;
    }
    .locRow.theme2 .img {
        height: 17rem;
    }
    .imgRow.twoCol {
        gap: 3rem;
    }
    .deckDescr .cabinsTabs .twoCol{
        gap:1.5rem;
        grid-template-columns: repeat(2, 1fr);
    }
    .deckDescr .cabinsTabs .imgRow .img:nth-child(1), .deckDescr .cabinsTabs .imgRow .img:nth-child(2) {
        grid-column: auto;
        height: 15rem;
    }
    .deckDescr .cabinsTabs .twoCol a {
        height: 15rem;
    }
    .deckDescr .text .twoCol {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .deckDescr .orangeDot{
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
    .deckDescr .orangeDot li {
        margin-bottom: 1rem;
    }
    .hright{
        display:none;
    }
    #mobile-menu .menubl .workPhone {
        display: flex;
    }
    header .container{
        padding:1rem;
        padding-right:2rem;
    }
    header .logo {
        width: 25rem;
    }
    .top-banner h1 {
        font-size: 3rem;
    }
    .top-banner h2{
        font-size: 2rem;
    }
    .top-banner p{
        font-size: 1.8rem;
    }
    .grid-three-col {
        grid-template-columns: 1fr;
    }
    .goods-bl{
        margin-bottom:0;
    }
    .goods-bl .grid-three-col {
        max-width:40rem;
        margin:0 auto;
    }
    .blocktitle h2, .blocktitle h1  {
        font-size: 3.4rem;
    }
    .aboveFooter .text.whiteBG h2{
        font-size:2.2rem;
    }
    .aboveFooter .text.whiteBG p {
        font-size: 1.6rem;
    }
    
    .reasons-bl .inner-grid {
        grid-template-columns: 1fr;
    }
    .reasons-bl .item.big {
        grid-column: 1;
    }
    .reasons-bl .flipBl .front {
        line-height: 1.7;
        padding: 2rem 2rem 4rem;
    }
    .reasons-bl .item {
        min-height: unset;
    }
    
    .bigBanner .inner {
        min-height: 35rem;
        padding: 4rem 1rem;
    }
    .about-ship-bl .about-ship-row {
        grid-template-columns: 1fr;
    }

    .galleryBl .mobileGallery .img {
        height: 18rem;
    }
    .tabsHead ul {
        flex-wrap: wrap;
        gap: 2rem;
    }
    .chiefBl .gallery .gallery__col:nth-child(2) {
        padding-top: 2rem;
    }
    .chiefBl .gallery .tall {
      height: 22rem;
    }
    .chiefBl .gallery .small {
      height: 14rem;
    }
    .customMapBl .blocktitle h2{
        word-wrap: break-word;
    }
    .detailPage .topGal {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(9, 5rem);
    }
    .detailPage .topGal .img:first-child {
        grid-column: 1 / span 2;
        grid-row: 1 / span 3;
    }
    .detailPage .topGal .img:nth-child(2), .detailPage .topGal .img:nth-child(3) {
        grid-row: span 2;
        grid-column: auto;
    }
    .detailPage .topGal .img {
        grid-row: span 2;
        grid-column: auto;
    }
     .detailPage .topGal .img:nth-child(6){
        grid-column: span 2;
     }
    .detailPage .detailInfoCol .greyBg {
        padding:2rem;
        font-size: 2.2rem;
     }
}
@media(max-width:480px){
    .gastPage .bigBanner.bigImg {
        height: 20rem;
    }
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .customMapCol .info {
        padding:2rem 1rem;
        font-size: 1.6rem;
    }
    .customMapCol .info ul {
        margin: 0;
    }
    .goods-bl {
        -webkit-transform: translateY(-6%);
        -ms-transform: translateY(-6%);
        transform: translateY(-6%);
    }
    
    .deckDescr .cabinsTabs .tabsHead li {
        font-size: 2.2rem;
    }
    .deckDescr .cabinsTabs .tabsHead ul {
        gap: 2rem;
    }
    .imgRow.twoCol {
        gap: 2rem;
        grid-template-columns: 1fr;
    }
    
    .locRow .item .title {
        font-size: 1.6rem;
    }
    .locRow.theme2.grid-three-col {
        gap: 2rem 1rem;
    }
    .endDots {
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        -moz-line-clamp: 4;
    }
    .locRow .item .bottom .btn {
        font-size: 1.6rem;
        min-height: 3.6rem;
        padding: 1rem;
        margin-right: 1rem;
    }
    .locRow .favoriteBtn {
        width: 3.6rem;
        height: 3.6rem;
    }
    .locRow .favoriteBtn svg {
        width: 1.4rem;
        height: 1.4rem;
    }
    .locRow .item .bottom .toPage {
        font-size: 1.4rem;
    }    
    .detailPage .detailInfoCol .textBl img {
        max-height: 20rem;
    }
}
@media(max-width:360px){
    .locRow.theme2 .text {
        padding: .6rem;
        font-size: 1.2rem;
    }
    .locRow .item .bottom .btn {
        font-size: 1.5rem;
        min-height: 4rem;
        padding: 0.8rem;
        margin-right: .5rem;
    }
    .locRow.theme2 .img {
        height: 13rem;
    }
}