/* CALENDAR */

#tunnel-wrapper {
    height: auto !important;
    overflow-y: auto;
}

.quitter-plein-ecran {
    display: none !important;
}

.datepicker-inline {
    width: 416px !important;
}

.datepicker-inline .datepicker-days {
    width: 100%;
}

.datepicker-inline .datepicker-days .table-condensed {
    width: 100%;
}

.datepicker td,
.datepicker th {
    width: 34px;
    height: 34px;
    border: 1px solid transparent !important;
    padding: 0px;
}

.datepicker table tr td.active .inner-jour {
    background-image: none !important;
    background-color: #0969c3 !important;
    border-radius: 50%;
    font-weight: 600;
    color: white;
}

.inner-jour {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
}

td.day:not(.disabled) .inner-jour {
    background-color: #e6f0f9;
    border-radius: 50%;
    color: #0969c3;
    font-weight: 600;
}

.inner-jour div {
    width: 100% !important;
}

.inner-jour div.prix {
    font-size: 13px;
    color: #28992f;
}

.day.disabled .inner-jour div.prix {
    font-size: 13px;
    color: #ae2e2e;
}

.day.active .inner-jour div.prix {
    font-size: 13px;
    color: white;
}

.datepicker table tr td.disabled,
.datepicker table tr td.disabled:hover {
    background: 0 0;
    color: #1a1a1a9c;
    cursor: not-allowed !important;
    /* background-color: #ffd8d8 !important; */
}

#calendrier .dow {
    font-weight: 500;
    font-size: 12px;
}

#calendrier .head-mois,
#calendrier .head-jours {
    height: 45px;
}

#calendrier .head-mois .next:not(.disabled),
#calendrier .head-mois .prev:not(.disabled) {
    display: flex;
    width: 45px;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    margin-left: auto;
    justify-content: center;
    align-items: center;
    background: #e6f0f9;
    color: #0969c3;
    font-weight: 600;
}

.datepicker-days .day.old,
.datepicker-days .day.new {
    visibility: hidden;
    pointer-events: none;
}

.datepicker table tr td.day.focused:not(.disabled),
.datepicker table tr td.day:hover:not(.disabled) {
    background: unset;
}

.datepicker table tr td.day.focused:not(.disabled) .inner-jour,
.datepicker table tr td.day:hover:not(.disabled) .inner-jour {
    background: #d9e9ff;
}

.datepicker table tr td.active.active {
    background-color: transparent !important;
    background: transparent !important;
}

.creneau-iframe {
    border: 1px solid;
    border-radius: 6px;
    padding: 9px;
    text-align: center;
    font-weight: 600;
    color: #0969c3;
    font-size: 17px;
    margin-bottom: 13px;
    cursor: pointer;
}

.creneau-iframe:hover {
    outline: 1px solid;
}

body {
    background-color: transparent !important;
}

.col-gauche {
    border-right: 1px solid #e8e8e8;
}

.biographie-wrapper {
    max-width: 100%;
}

.biographie-content {
    max-height: 130px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease;
}

.biographie-content.expanded {
    max-height: none;
}

.fade-bottom {
    position: absolute;
    bottom: 26px;
    left: 0;
    height: 86px;
    width: 100%;
    background: linear-gradient(to bottom, transparent, white);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.biographie-content.expanded+.fade-bottom {
    opacity: 0;
}

#calendrier {
    display: flex;
    justify-content: center;
}

.overflow-x-hidden {
    overflow-x: hidden !important;
}

.aucune-dispo {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.aucune-dispo .inner {
    display: inline-block;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 400;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    border-radius: 50px;
    text-align: center;
}

.ribbon-bottom-right {
    position: absolute;
    bottom: 58px;
    right: -3px;
    width: 203px;
    background: #e6f0f9;
    color: #141414;
    font-size: 11px;
    text-align: center;
    line-height: 15px;
    transform: rotate(-29deg);
    transform-origin: bottom right;
    box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.2);
    font-weight: 500;
    z-index: 10;
    margin-bottom: 10px;
    margin-right: -40px;
    padding: 2px 0;
}

@media (max-width: 514px) {
    .bloc-domaine-select img,
    #tunnel-wrapper .bloc-domaine img {
        width: 38px;
        height: auto !important;
        padding: 2px;
    }
    #etape1 {
        display: flex;
        justify-content: center;
    }
    .inner-jour {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
    .datepicker {
        width: 100% !important;
        max-width: 100%;
    }
    .datepicker table {
        width: 100% !important;
        table-layout: fixed;
    }
    .datepicker td,
    .datepicker th {
        width: 14.2857% !important;
        /* 100% / 7 jours */
        text-align: center;
        padding: 0.1rem !important;
        font-size: 0.9rem;
    }
    #calendrier .head-mois .next:not(.disabled),
    #calendrier .head-mois .prev:not(.disabled) {
        width: 45px !important;
    }
}

@media (max-width: 992px) {
    .col-gauche {
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
    }
}

@media (max-width: 1200px) {
    /* Tes styles ici */
    /* .col-creneaux:not(.d-none) {
        position: absolute;
        background-color: white;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
    } */
    .col-calendrier.hide-mobile {
        display: none;
    }
}