
/***********************/
/* CSS du site vitrine */
/***********************/

:root {
    /* Font sizes en rem */
    --fs-12: 0.75rem; /* 12px */
    --fs-14: 0.875rem; /* 14px */
    --fs-16: 1rem; /* 16px */
    --fs-18: 1.125rem; /* 18px */
    --fs-20: 1.25rem; /* 20px */
    --fs-24: 1.5rem; /* 24px */
    --fs-30: 1.875rem; /* 30px */
    --fs-36: 2.25rem; /* 36px */
    --fs-48: 3rem; /* 48px */
    --fs-80: 5rem; /* 80px */

    /* Border radius */
    --bd-radius: 8px;
    --bd-radius-full: 9999px;

    /* Couleurs */
    --color-primary: #5A2B91;
    --color-primary-text-secondary: rgb(90 43 145 / 0.5);
    --color-primary-background-secondary: rgb(90 43 145 / 0.1);
    --color-primary-background-secondary-hover: rgb(90 43 145 / 0.05);
    --color-primary-dark: #5A2B91;
    --color-primary-light: #5A2B91;

    --color-secondary: #F26A2E;
    --color-secondary-dark: #F26A2E;
    --color-secondary-light: #F26A2E;

    --color-third: #FBCD76;
    --color-third-dark: #FBCD76;
    --color-third-light: #FBCD76;

    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;

    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;

    --color-white: #ffffff;
    --color-black: #000000;

    /* Couleurs background et text */
    --bg-primary: var(--color-primary);
    --bg-secondary: var(--color-white);
    --text-primary: var(--color-white);
    --text-secondary: var(--color-primary);
    --text-muted: var(--color-gray-400);
}

.all-screen {
    height: 100vh;
}

/* responsive facile */
.mode-tablette {
    display: none!important;
}
.mode-mobile {
    display: block!important;
}

@media (min-width: 1024px) {
    #main {
        padding: 0 5%;
    }
    .mode-tablette {
        display: block!important;
    }
    .mode-mobile {
        display: none!important;
    }
    .w-lg-25 {
        width: 25%;
    }
}

/* for all sections */
#main {
    padding: 0 10%;
}

.pt-6 {
    padding-top: 5rem !important;
}

.title h1 {
    font-size: var(--fs-80);
}
.title h2 {
    font-size: 38px; text-transform: uppercase;
}
.title p {
    font-size: var(--fs-24);
}
p.title, span.title {
    font-size: 25px;
}

/* #presentation-appli */
#form-search .group-header-input {
    gap: 10px;
    flex-direction: row;
}

@media (max-width: 1024px) {
    #form-search .group-header-input {
        flex-direction: column;
        gap: 10px;
    }
}

#form-search .input-group {
    background-color: var(--color-primary-background-secondary);
    border-radius: var(--bd-radius);
    appearance: none;
    height: 44px;
}

#form-search .input-group:hover {
    background-color: var(--color-primary-background-secondary-hover);
}

#form-search .input-group-text, #form-search .form-control {
    border:none;
    background-color: transparent;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
#form-search .input-group-text {
    background-color: transparent;
    padding: 0 5px 0 10px;
}
#form-search div.separator {
    width: 20px;
}
#form-search input[type="date"]::-webkit-inner-spin-button,
#form-search input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}
#some-kpi div.separator {
    width: 140px;
}

#some-kpi .kpi p {
    margin-bottom: 0;
}
#some-kpi .kpi p.detail {
    font-size: var(--fs-36); font-weight: bold;
}
#some-kpi .kpi p.title {
    font-size: var(--fs-16);
    color: var(--color-primary-text-secondary);
}

/* #liste-style_danse */
#liste-style_danse a {
    color: black; text-decoration: none;
    border: 1px solid #808080; border-radius: 6px;
    display: block;
    cursor: pointer;
}
#liste-style_danse a:hover *, #liste-style_danse a.show * {
    color: white;
}
#liste-style_danse a:hover, #liste-style_danse a.show {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

/* #liste-evenement */
#liste-evenement a.evenement {
    color: black; text-decoration: none;
    border-radius: 6px;
}
#liste-evenement a.evenement div.body {
    -webkit-box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
#liste-evenement a.evenement p.description {
    color: #808080;
}

/* #creation-evenement */
#creation-evenement {
    background-image: url("../images/image_bg-ajout_evenement.png");
    background-repeat: no-repeat; background-size: cover;
    border-radius: 12px;
}

/* #form-contact */
#form-contact {
    background-image: url("../images/image_bg-form_contact.png");
    background-repeat: no-repeat; background-size: cover;
    background-position: center;
}
#form-contact * {
    color: white;
}

/* event-all_info */
#event-all_info .shadow {
    border-radius: 5px;
    -webkit-box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
#event-all_info .champ {
    border-radius: 5px; background-color: #5a2b9121;
    text-decoration: none; color: var(--color-primary);
}

/* #other-events */
#other-events a.evenement {
    color: black; text-decoration: none;
    border-radius: 6px;
}
#other-events a.evenement div.body {
    -webkit-box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
#other-events a.evenement p.description {
    color: #808080;
}

footer {
    color: white; background-color: var(--color-primary);
}
footer p {
    margin-bottom: 0;
}
footer a {
    color: white!important;
}

/******************************/
/* surcharge de CSS Bootstrap */
/******************************/

.btn {
    padding: 10px 20px;
    font-size: var(--fs-24);
}

/* surcharge des couleurs */
.text-primary {
    color: var(--color-primary)!important;
}
.text-secondary {
    color: var(--color-secondary)!important;
}
.text-tertiary {
    color: var(--color-third)!important;
}
.btn.btn-primary, .btn.text-primary:active, .btn.btn-primary:active {
    color: white!important; background-color: var(--color-primary); border-color: var(--color-primary);
}
.btn.text-primary:hover, .btn.btn-primary:hover {
    color: white!important; background-color: var(--color-primary); border-color: var(--color-primary);
}
.btn.btn-tertiary, .btn.btn-tertiary:active {
    color: white!important; background-color: #FBCD76; border-color: #FBCD76;
}
.btn.btn-tertiary:hover {
    color: white!important; background-color: #FFB31C; border-color: #FFB31C;
}
