/*
CTC Separate Stylesheet
Updated: 2026-03-05 20:46:26
*/

.btnclair a:visited {
    color: #af4629 !important;
}

.cartel-ganaderias {
    width: 100%;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.cartel-ganaderia {
    text-align: center;
}

.cartel-toreros {
    text-align: center;
    margin: 15px 5px;
}

p.cartel-torero {
    color: #f3eddd;
    font-weight: 500;
    margin: 0;
    font-size: 25px;
    font-family: 'Oswald';
}


.cartel-ganaderia-caption {
    color: #f3eddd;
}

span.nombetail {
    font-size: 18px;
    font-weight: 600;
}

.thecartel-ganaderia-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.thecartel-ganaderia-fer {
    width: 150px;
    margin-right: 30px;
}

.thecartel-ganaderias h3, .thecartel-toreros h3 {
    color: #af4629 !important;
    font-family: 'Oswald';
    font-weight: 600;
}

.thecartel-torero {
    margin-bottom: 70px;
}

/* ===== Torero : mise en page 2 colonnes (média à gauche, texte à droite) ===== */
.thecartel-torero-content.has-media {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
}

.thecartel-torero-content.has-media .thecartel-torero-media {
    flex: 0 0 40%;
    max-width: 40%;
}

.thecartel-torero-content.has-media .thecartel-torero-texte {
    flex: 1 1 auto;
    min-width: 0;
}

/* Image seule (sans vidéo) : fluide dans sa colonne */
.thecartel-torero-media > .thecartel-torero-photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* ===== Vignette vidéo cliquable (poster + bouton lecture) ===== */
.thecartel-torero-poster {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    margin: 0;
    background: #000;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    line-height: 0;
}

.thecartel-torero-poster-visual {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.thecartel-torero-poster-visual > img,
.thecartel-torero-poster-visual > video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bouton lecture translucide mais bien visible */
.thecartel-torero-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(175, 70, 41, 0.85);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    transition: background 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.thecartel-torero-play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 14px 0 14px 24px;
    border-color: transparent transparent transparent #fff;
}

.thecartel-torero-poster:hover .thecartel-torero-play,
.thecartel-torero-poster:focus-visible .thecartel-torero-play {
    background: rgba(175, 70, 41, 1);
    transform: translate(-50%, -50%) scale(1.08);
}

.thecartel-torero-poster:focus-visible {
    outline: 3px solid #af4629;
    outline-offset: 2px;
}

/* ===== Modale vidéo ===== */
.thecartel-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.thecartel-modal.is-open {
    display: flex;
}

.thecartel-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
}

.thecartel-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 960px;
    z-index: 1;
}

.thecartel-modal-body {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.thecartel-modal-body video,
.thecartel-modal-body iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.thecartel-modal-close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #af4629;
    font-size: 28px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
}

.thecartel-modal-close:hover {
    background: #fff;
}

body.thecartel-modal-open {
    overflow: hidden;
}

/* ===== Mobile : média sur une ligne à 100%, texte en dessous ===== */
@media (max-width: 767px) {
    .thecartel-torero-content.has-media {
        flex-direction: column;
        gap: 20px;
    }

    .thecartel-torero-content.has-media .thecartel-torero-media {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }

    .thecartel-torero-play {
        width: 60px;
        height: 60px;
    }

    .thecartel-modal-close {
        top: -40px;
    }
}

.mycartel .cartel-toreros {
    min-height: 113px;
}

table tbody > tr:nth-child(odd) > td, table tbody > tr:nth-child(odd) > th {
    background-color: unset;
}

table tbody tr:hover > td, table tbody tr:hover > th {
    background-color: hsla(0, 0%, 50%, .102);
}

th {
    font-weight: unset !important;
}

table.tarifsferia {
    thead tr {
        color: #7d372f !important;
        font-size: 19px;
        font-style: normal;
        font-weight: normal;
        font-family: 'Oswald', sans-serif;
    }

    tr th:nth-child(1) {
        font-weight: 600 !important;
        color: #7d372f !important;
    }

    tbody tr:hover > td, table tbody tr:hover > th {
        background-color: hsla(0, 0%, 50%, .102);
    }

    tbody > tr:nth-child(1), table tbody > tr:nth-child(1),
    tbody > tr:nth-child(2), table tbody > tr:nth-child(2),
    tbody > tr:nth-child(3), table tbody > tr:nth-child(3),
    tbody > tr:nth-child(7), table tbody > tr:nth-child(7),
    tbody > tr:nth-child(8), table tbody > tr:nth-child(8),
    tbody > tr:nth-child(9), table tbody > tr:nth-child(9) {
        background-color: #af452824;
    }

    tbody > tr:nth-child(1) {
        border-top: 2px solid;
    }

    tbody > tr:nth-child(3), tbody > tr:nth-child(6), tbody > tr:nth-child(9), tbody > tr:nth-child(12), tbody > tr:nth-child(13) {
        border-bottom: 2px solid;
    }

    tr th:nth-child(3) {
        background-image: repeating-linear-gradient(-45deg, transparent, transparent 10px, #afafaf6b 10px, #afafaf6b 12px);
    }
}

.tabmobile table.tarifsferia tr th:nth-child(3) {
    background-image: none !important;
}

button#redzone {
    background-color: #ff797c;
    border-color: #f50b35;
}
button#greenzone {
    background-color: #c1ffb2;
    border-color: #078309;
}
button#bluezone {
    background-color: #70c5fe;
    border-color: #0527d4;
}
button#purplezone {
    background-color: #d69eff;
    border-color: #9300ff;
}

.ctaHome {
    display: none;
}
.containerImg:hover .ctaHome{
    display: block;
}

.mise-en-lumiere {
    background-color: #f3eddd;
    border-radius: 5px;
}

.mise-en-lumiere a {
    color: #af4629 !important;
}

ul.sub-menu {
    box-shadow: 0px 6px 12px 0px #00000069;
}