@import url("_app_icons-EL8MORY.css");
@import url("_buttons-2KUpzwO.css");
@import url("_card-Dw0Q4Xc.css");
@import url("_cat_profil-KOyigfM.css");
@import url("_horizontal_scroll-lrtdMaG.css");
@import url("_loading-xHDEUfy.css");
@import url("_nav-Xj3SK2v.css");
@import url("_offcanvas-mwB4UnJ.css");
@import url("_sidebar-5pYKnBe.css");
@import url("_utilities-xNU7TUH.css");

/* variables par défaut (mobile first) */
:root {
    --bs-border-radius: 1.5rem;
    --bs-border-radius-sm: .5rem;
    --bs-border-radius-md: .75rem;
    --app-transition-base: all .1s ease-in-out;

    --bs-breadcrumb-divider: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 24' fill='%23fff'%3e%3cpath d='M10,22L0,12L10,2l1.8,1.8L3.5,12l8.2,8.2L10,22z'/%3e%3c/svg%3e");

    --font-size-root: 16px;
    --header-height: 150px;
    --bs-body-font-size: 1rem;
    --bs-body-color: #30303c;
    --bs-body-line-height: 1.8;
    --app-headings-font-weight: 600;
    --bs-heading-color: #0D0C14;

    --text-muted-color: var(--bs-gray-dark);

    --bs-link-color: #095668;
    --bs-link-hover-color: #032b35;
    --bs-link-opacity: 1;
    --bs-border-color: #bac1c9;

    --input-padding-y: .75rem;
    --input-padding-x:  1rem;
    --input-border-radius: var(--bs-border-radius-sm);
    --input-border-color: #e3e3e3;

    --marketing-gradient: linear-gradient(90deg, rgba(255,116,68,1) 0%, rgba(255,77,91,1) 100%);

    --bs-light: #d7dbe3;
    --bs-light-rgb: 215,219,227;
    --bs-light-hover: #b9bfc9;
    --bs-ultralight: #EEF2F5;
    --app-header-top-height: 68px;
}

/* Variables surchargées pour desktop */
@media (min-width: 768px) {
    :root {
        /* On "active" les googles fonts */
        --bs-font-sans-serif: 'Open Sans', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue";

        --app-headings-font-family: 'Outfit', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue";
        --app-headings-font-weight: 500;

        --bs-body-font-weight: 500;
        --font-size-root: 15px;
        --app-body-letter-spacing: .4px;
    }
}

html {
    height: -webkit-fill-available;
    font-size: var(--font-size-root);
}

body {
    min-height: -webkit-fill-available;
    letter-spacing: var(--app-body-letter-spacing);
    scroll-behavior: auto;
}

::selection {
    background: var(--profil-type-color);
    color: var(--on-profil-type-color);
}

@media (min-width: 1200px) {
    .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 960px;
    }
}

@media (min-width: 1400px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 960px;
    }
}

h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5 {
    font-family: var(--app-headings-font-family);
    font-weight: var(--app-headings-font-weight);
}

#departement {
    color: #ff7443;
    font-family: var(--bs-headings-font-family);
    font-size: 2.1rem;
    position: relative;
    bottom: -3px;
    line-height: 1;
}

.text-profil-type{
    color: var(--profil-type-color);
}
.text-profil-type-darker{
    color: var(--profil-type-color-darker);
}

a:hover{
    text-decoration: none;
}

hr {
    color: var(--bs-border-color);
    opacity: 1;
}

/* Header */

#HeaderNav{
    position: sticky;
    top: 0;
    z-index: 10;
}

.dark-header{
    background-color: #000;
}

#BrandLogo{
    position: fixed;
    top: 1.15rem;
    left: 3rem;
    z-index: 9999;
    transition: var(--app-transition-base);
}



@media (max-width: 1299px) {
    #BrandLogo{
        left: 1rem;
    }
}

#HeaderTop {
    height: var(--app-header-top-height);
}
@media (min-width: 992px) {
    #HeaderTop {
        --app-header-top-height: 77px;
    }
}

@media (max-width: 991px) {

    #HeaderTop {
        position: sticky;
        top: 0;
        z-index: 10;
    }

    #HeaderNav{
        top: var(--app-header-top-height);
    }

    #BrandLogo {
        width: 34px;
        height: 34px;
    }
}

/* Main */
#MainContent {
    --section-spacer: 1.5rem;
}

#MainContent section {
    margin-top: var(--section-spacer);
    margin-bottom: var(--section-spacer);
}

@media (min-width: 992px) {
    #MainContent{
        --section-spacer: 3rem;
    }
}

@media (max-width: 991px) {
    .page-edito-more {
        display: none;
    }
}

/* Ads */
.advertising {
    top: var(--header-height);
    position: sticky;
    align-self: flex-start;
    z-index: 1;
}

/* FORMS */

.form-control {
    padding: var(--input-padding-y) var(--input-padding-x);
    border-radius: var(--input-border-radius);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(var(--profil-type-color-rgb),.6);
    box-shadow: 3px 3px 7px 0px rgba(0,0,0,0.12) inset;
}

.form-select{
    padding: var(--input-padding-y) calc(var(--input-padding-x) + 1rem) var(--input-padding-y) var(--input-padding-x);
    border-radius: var(--input-border-radius);
}

label,
.form-label {
    font-weight: 600;
    color: var(--bs-heading-color);
}

.input-group-text {
    border-radius: var(--input-border-radius);
}

/* custom-checkboxes */

.form-check {
    padding-left: 2.5rem;
}

.form-check-input {
    width: 1.5em;
    height: 1.5em;
    margin-left: -2.5rem!important;
}

.form-check-input:focus {
    box-shadow: none;
}

.form-check-input:checked {
    background-color: var(--profil-type-color) !important;
    border-color: var(--profil-type-color) !important;
}
label.required:after, legend.required:after {
    content: " *";
    color: var(--bs-danger);
}
/* COMPONENTS */

/* alert */

.alert{
    --bs-alert-border-color: transparent;
}

.alert-info {
    --bs-alert-color: #055871;
    --bs-alert-bg: rgba(185, 221, 227, .5);
}

/* breadcrumb - SmartBreadcrumb and PageAnchors*/
#SmartBreadcrumb .breadcrumb-end:after{
    content: '';
    margin-left: .5rem;
    width: 1px;
    display: inline-block;
    height: 20px;
    border-left: 1px solid rgba(255, 255, 255, .3);
    position: relative;
}

.breadcrumb-item + .breadcrumb-item:before {
    float: none;
    font-family: 'Material Symbols Rounded';
    font-size: 24px;
    color: silver;
    font-variation-settings: 'wght' 100;
    display: inline-block;
    height: 24px;
    line-height: 24px;
    margin-right: .5rem;
}


/* Page Anchors */

.dark-header #PageAnchors{
    position: relative;
    bottom: -23px;
    margin-top: -23px;
}

/* Badge */

.badge {
    --bs-badge-padding-x: .5em;
    --bs-badge-font-weight: 600;
    --bs-badge-font-size: 0.9em;
    --bs-badge-color: var(--on-profil-type-color);
    --bs-badge-border-radius: .3rem;
    letter-spacing: .5px;
    background: var(--profil-type-color);
}

.badge-date{
    --bs-badge-color: #fff;
    --bs-bg-opacity: 1;
    background-color: rgba(0,0,0,var(--bs-bg-opacity));
    white-space: normal;
    text-align: left;
    line-height: 1.6;
}
.badge-day{
    text-align: left;
    white-space: normal;
    line-height: 1.3;
}
.badge-hour{
    --bs-badge-color: #000;
    --bs-bg-opacity: 1;
    background-color: transparent;
    border: 1px solid var(--bs-badge-color);
}

.badge-e-flyer{
    background: var(--marketing-gradient);
    color: #fff;

}

@keyframes jump {
    0% {
        transform: scale(1);
        box-shadow: 0 1px 2px rgba(0,0,0,.15);
    }
    100% {
        transform: scale(1.05);
        box-shadow: 0 4px 20px rgba(0,0,0,.1);
    }
}

/* Event-edito-card */
.event-edito-card-image { /* pour garder le radius quand on a l'image en hover (scale 1.1) */
    border-radius: .5rem;
}

.event-edito-card-price{
    font-size: 1.3rem;
}

.event-edito-card-location{
    --bs-card-spacer-y: .75rem;
    --bs-card-spacer-x: 1.25rem;
    --bs-card-bg: var(--bs-ultralight);
    --bs-card-box-shadow: none;
    --bs-card-border-radius: .5rem;
    --bs-card-inner-border-radius: .5rem;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    margin-right: auto;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .5px;
    transition: var(--app-transition-base);
    overflow: hidden; /* pour voir le radius de gauche quand y'a une image (sinon ça fait les bords carré) */
}

.event-edito-card-location:hover{
    --bs-card-bg: var(--bs-light);
}

.event-edito-card-location:hover .card-image img{
    transform: scale(1.1);
}

.event-edito-card-location a{
    text-decoration: none;
    color: var(--bs-body-color);
}

.event-edito-card-location .card-image{
    height: 50px;
    width: 50px;
}

.event-edito-card .btn-primary {
    animation: .5s jump ease infinite alternate;
}


@media screen and (min-width: 992px) {
    .event-edito-card-price{
        font-size: 1.5rem;
    }
}


@media screen and (max-width: 991px) {

    .event-edito-card-description{ /* Eviter de faire des classes trop spécifiques, là par ex pour les events. C'est pareil pour d'autres pages, par ex les places. Faire des classes outils, par ex .clamp-2 */
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        display: -webkit-box;
    }
}

@media (max-width: 767px) {
    .event-edito-card-image{
        max-height: 280px;
    }
}

/* event-review-card */

.review-card,
.review-form-card {
    background-color: var(--bs-ultralight);
    box-shadow: none;
}

.review-author {
    text-align: right;
    font-size: .9rem;
}

.review-rate {
    font-size: 1.4rem;
}

/* event-dates-card */

.event-dates-card{
    --bs-card-bg: var(--bs-ultralight);
    --bs-card-box-shadow: none;
}

/* Nav-tabs */

.nav-tabs {
    --bs-nav-link-padding-x: 1.5rem;
    --bs-nav-link-padding-y: 0.85rem;
    --bs-nav-tabs-border-radius: var(--bs-border-radius-sm);
    --bs-nav-tabs-border-color: transparent;
}

.nav-tabs .nav-link.active{
    background-color: rgba(255,255,255,0.3);
    border-color: rgba(255, 255, 255, 0.6);
    border-bottom-color: rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.05);
}

.anchor-target{
    scroll-margin-top: var(--header-height);
}

@media (max-width: 991px) {

    .dark-header #PageAnchors {
        bottom: -20px;
        margin-top: -20px;
    }

    #PageAnchors .nav-link {
        --bs-nav-link-padding-x: 1rem;
        --bs-nav-link-padding-y: .5rem;
    }
}

/* Rate */
.rate{
    font-weight: 500;
    color: var(--bs-heading-color);
}

/* Utilities */


.bg-ultralight{
    background-color: var(--bs-ultralight);
}


@media (min-width: 992px) {

    .d-lg-list-item {
        display: list-item!important;
    }

}

@media (min-width: 768px) {

    .position-md-relative {
        position: relative;
    }

    .position-md-absolute {
        position: absolute;
    }

}

.text-highlighted{
    background: var(--profil-type-color);
    color: var(--on-profil-type-color);
}

/* Footer */

footer{
    --bs-link-color-rgb: var(--profil-type-color-darker-rgb);
    --bs-link-hover-color-rgb: var(--profil-type-color-rgb);
}

footer .h4{
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    position: relative;
}

footer .h4:before{
    content: '';
    width: 50px;
    height: 3px;
    background-color: var(--profil-type-color);
    position: absolute;
    bottom: 0;
}

@media (max-width: 991px) {

    footer .h4:before{
        left: 50%;
        transform: translateX(-50%);
    }

}

.social-links a{
    font-size: 1rem;
}

footer li a{
    text-decoration: none;
    font-weight: 600;
}

footer li:not(:last-child){
    margin-bottom: .5rem;
}

footer li a:hover{
    text-decoration: underline;
}

/* gallery */

.gallery {
    --gallery-grid-gap: 1.5rem;
    display: grid;
    grid-gap: var(--gallery-grid-gap);
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
}

.gallery .gallery-item {
    border-radius: var(--bs-border-radius);
    overflow: hidden;
}

.gallery .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery .gallery-item img {
    object-fit: cover;
    max-height: 100%;
    max-width: 100%;
    object-position: center;
}

@media (max-width: 991px) {

    .gallery {
        --gallery-grid-gap: 1rem;
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 150px;
    }

    .gallery .gallery-item {
        border-radius: var(--bs-border-radius-md);
    }

    .gallery .gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }

}

/* video gallery */

.video-gallery {
    --gallery-grid-gap: 1.5rem;
    display: grid;
    grid-gap: var(--gallery-grid-gap);
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
}

.video-gallery .gallery-item {
    border-radius: var(--bs-border-radius);
    overflow: hidden;
}

.video-gallery .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.video-gallery .gallery-item img {
    object-fit: cover;
    max-height: 100%;
    max-width: 100%;
    object-position: center;
}

@media (max-width: 991px) {

    .video-gallery {
        --gallery-grid-gap: 1rem;
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 150px;
    }

    .video-gallery .gallery-item {
        border-radius: var(--bs-border-radius-md);
    }

    .video-gallery .gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }

}

/* login */

@media (max-width: 991px) {

    #login-content{
        display: flex;
        flex-direction: column;
    }

    #login-content > *:not(:last-child){
        order: +1;
    }

}
