.prime .row {
    align-items: center;
    justify-content: center;
}

.bloc-principal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    padding-right: var(--spacing-lg);
}

.bloc-principal .progress-bar {
    margin-top: 5px;
    transform: none;
}

.bloc-principal--dark {
    background-color: var(--color-dark);
    --section-foreground: #fff;
    color: #fff;
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
}

.bloc-principal--light {
    background-color: var(--color-light);
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
}

.bloc-principal--reverse {
    flex-direction: row-reverse;
    padding-right: 0;
    padding-left: var(--spacing-lg);
}

.bloc-principal--cut {
    padding-right: 0;
    align-items: stretch;
    overflow: hidden;
}

.bloc-principal--cut .prime-left,
.bloc-principal--cut .bloc-3-5.prime-left {
    flex: 3;
    max-width: 60%;
    min-width: 0;
}

.bloc-principal--cut .prime-right,
.bloc-principal--cut .bloc-2-5.prime-right {
    flex: 2;
    max-width: 35%;
    padding-right: var(--spacing-lg);
    min-width: 0;
}

.bloc-principal--cut.bloc-principal--reverse .prime-right {
    padding-right: 0;
    padding-left: 0;
}

.bloc-principal--cut .splide_sliders.slider--cut {
    padding: 0;
    width: 100%;
}

.bloc-principal--cut .slider--cut__img {
    height: auto;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.bloc-principal--cut .slider--cut__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bloc-principal--cut .slider--cut .splide__arrow {
    top: auto;
    bottom: 80px;
}

.prime-right {
    background-position: bottom right;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
}

.prime-right--centered {
    align-items: center;
    text-align: center;
}

.prime .moreVideo_link .button {
    text-transform: uppercase;
}

.prime .rev .prime-left {
    padding-right: 0;
}

.prime__bloc-more {
    position: relative;
    max-width: 30%;
    aspect-ratio: 1 / 1;
}

.prime__bloc-more img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.home section.overRev.prime:nth-child(6) {
    background-position: bottom right !important;
}

.prime .meta_gal_descro {
    font-size: 12px;
}

/* VIDEO */
.spin {
    position: absolute;
    top: 0;
    right: 0;
    -webkit-transition: -webkit-transform 10s ease;
    transition: -webkit-transform 10s ease;
    -o-transition: transform 10s ease;
    transition: transform 10s ease;
    transition: transform 10s ease, -webkit-transform 10s ease;
    cursor: pointer;
    z-index: 1;
}

.dontSpin {
    position: absolute;
    top: 18px;
    right: 13px;
}

.bloc-more-video {
    position: fixed;
    top: 56%;
    /* top: 50%; */
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 90%;
    align-items: center;
    justify-content: center;
    flex-direction: column;

}

.moreVideo_link {
    position: relative;
}

body.hide-scroll {
    overflow: hidden;
}

.moreVideo_link,
.moreVideo {
    margin: auto;
}

.moreVideo_link,
.moreVideo {
    max-width: 1280px;
    max-height: 720px;
}

.moreVideo_link {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1vw;
    width: 100%;
}

.moreVideo_link iframe {
    height: 720px;
    width: 100%;
}

.closeVideo {
    max-width: 1280px;
    margin: auto;
    position: absolute;
    /* right: 0; */
    z-index: 999;
    background-color: var(--color-primary);
    font-size: 30px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    color: #fff;
    cursor: pointer;
}

.closeVideo.vidlink {
    top: 0;
    left: 100%;
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(-360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}

.realSpin svg {
    -webkit-animation: spin 10s linear infinite;
    animation: spin 10s linear infinite;
    -o-object-fit: contain;
    object-fit: contain;
}

.prime ul {
    list-style-type: disc;
    padding-left: 1rem;
}

.le-domaine section.prime .rev .prime-left {
    background: url() no-repeat;
}

.full-opacity {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .85);
    z-index: 99;
    display: none;
}

.full-opacity--active {
    display: block;
    z-index: 9;
}

/* DRAWS */
body.page-id-17 section.overRev.prime:nth-child(4) {
    background-size: 18% !important;
    background-position: left 44% top 300px !important;
}

body.page-id-17 section.overRev.prime:nth-child(3) {
    background-size: 24% !important;
    background-position: right 0 top 70% !important;
}

.prime-right table td {
    text-align: center;
}

.prime-right table td picture,
.prime-right table td img:not(picture img) {
    margin: auto;
    width: initial;
}

.prime-right table td {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .75px;
}

.les-cuisines-du-mezo section#cutter-prime {
    background-position: bottom left 20% !important;
    background-size: 20% !important;
}

.home section.prime.overRev:nth-child(7) {
    background-position: bottom right !important;
}

@media screen and (max-width: 1023px) {
    .bloc-principal {
        flex-direction: column-reverse;
        padding-right: 0;
    }

    .bloc-principal .prime-right {
        padding-right: var(--spacing-lg);
        padding-left: var(--spacing-lg);
    }

    .bloc-principal--reverse {
        padding-left: 0;
    }

    .bloc-principal--cut .prime-left,
    .bloc-principal--cut .bloc-3-5.prime-left,
    .bloc-principal--cut .prime-right,
    .bloc-principal--cut .bloc-2-5.prime-right {
        flex: 1;
        max-width: 100%;
    }

    .bloc-principal--cut .prime-right,
    .bloc-principal--cut.bloc-principal--reverse .prime-right {
        padding-right: var(--spacing-lg);
        padding-left: var(--spacing-lg);
    }

    .bloc-principal--cut .slider--cut__img {
        aspect-ratio: 4 / 3;
    }
}


@media screen and (max-width: 767px) {
    .single-post .prime {
        margin-top: 4rem;
    }

    .spin picture,
    .spin img:not(picture img) {
        float: right;
    }

    .dontSpin {
        position: absolute;
        top: 19px;
        right: 14px;
    }

    section.prime .row {
        flex-direction: column-reverse;
    }


}



@media screen and (min-width: 768px)and (max-width: 1023px) {

    section.prime.container .bloc-2.prime-right,
    section.prime.container .bloc-2.prime-left {
        width: auto;
        flex: 1 1 0;
    }

    section.prime .row {
        flex-direction: row-reverse;
        gap: var(--general-margin-inside);
    }

    .prime .row {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .spin {
        right: 8%;
    }

    section#cutter-prime #equipements {
        flex-direction: column-reverse;
    }
}

@media screen and (max-width: 1023px) {

    .moreVideo_link,
    .moreVideo {
        max-height: 520px;
    }

    .prime-right,
    .prime-left {
        max-width: 100%;
    }
}

@media screen and (min-width: 1024px) {

    .prime.no_padding {
        padding-right: 2rem !important;
    }

    .closeVideo {
        font-size: 50px;
        width: 40px;
        height: 40px;
        padding: 10px;
    }

    #lodges .bloc-edit {
        width: calc(100% - 30%);
    }

    .bloc-edit:not(.bloc-principal--cut .bloc-edit) {
        max-width: 70%;
    }

}


@media screen and (max-width: 1199px) {
    body .prime {
        background-size: 0 !important;
    }
}

@media screen and (min-width: 1200px) {
    body.noHome section.prime.overRev {
        background-position: bottom left 44% !important;
        background-size: 14% !important;
        display: block;
    }

    body.noHome section.prime.overNoRev {
        background-size: 14% !important;
    }
}

@media screen and (min-width: 1400px) {
    body.page-id-17 .overRevsection.prime:nth-child(4) {
        background-position: left 44% bottom 14% !important;
    }


    body.noHome section.prime {
        background-size: 14% !important;
    }

}


@media screen and (max-width: 1280px) {

    .moreVideo,
    .moreVideo_link {
        max-height: 680px;
    }
}

@media screen and (max-width: 1200px) {

    .moreVideo,
    .moreVideo_link {
        max-height: 640px;
    }
}

@media screen and (max-width: 1140px) {

    .moreVideo,
    .moreVideo_link {
        max-height: 600px;
    }
}

@media screen and (max-width: 830px) {

    .moreVideo,
    .moreVideo_link {
        max-height: 460px;
    }
}

@media screen and (max-width: 790px) {

    .moreVideo,
    .moreVideo_link {
        max-height: 430px;
    }
}

@media screen and (max-width: 730px) {

    .moreVideo,
    .moreVideo_link {
        max-height: 400px;
    }
}

@media screen and (max-width: 680px) {

    .moreVideo,
    .moreVideo_link {
        max-height: 370px;
    }
}

@media screen and (max-width: 600px) {
    .closeVideo.vidlink {
        top: -25px;
    }
}

@media screen and (max-width: 767px) {
    .closeVideo.vidlink {
        top: -40px;
    }

    .moreVideo,
    .moreVideo_link {
        max-height: 350px;
    }

    .prime-right {
        margin-bottom: 2rem;
    }
}

@media screen and (max-width: 500px) {

    .moreVideo,
    .moreVideo_link {
        max-height: 300px;
    }
}

@media screen and (max-width: 430px) {

    .moreVideo,
    .moreVideo_link {
        max-height: 260px;
    }
}

@media screen and (max-width: 360px) {

    .moreVideo,
    .moreVideo_link {
        max-height: 240px;
    }
}

@media screen and (max-width: 330px) {

    .moreVideo,
    .moreVideo_link {
        max-height: 220px;
    }
}

@media screen and (max-width: 300px) {

    .moreVideo,
    .moreVideo_link {
        max-height: 190px;
    }
}