﻿
/* 
	•	Rouge brique (#B02E0C) → vitalité et intensité

	•	Orangé corail (#F25C54) → convivialité et chaleur

	•	Jaune safran (#F7B32B) → optimisme, joie

	•	Crème clair (#FFF3E6) → lisibilité et douceur

	•	Marron cacao (#3D1F00) → élégance et stabilité */

:root {
    --texte-color: #3D1F00;
    --bg-color: #FFF3E6;
    --bg-colordebut: #F25C54;
    --bg-colorfin: #F7B32B;
    --bg-menu: #B02E0C;
    --bg-menu-texte: #F7B32B;
    --Texte-menu: #3D1F00;
    --hover-bg: rgba(255, 255, 255, 0.1); /* Fond semi-transparent au survol */
}


/* style pour la navbar*/
.navbar-custom {
    background-color: var(--bg-menu);
    color: var(--bg-menu-texte);
    font-size: 1.8rem;
}

    .navbar-custom .navbar-brand {
        color: var(--bg-menu-texte) !important;
        font-size: 2.2rem;
        font-weight: bold;
    }

    .navbar-custom .nav-link,
    .navbar-custom .dropdown-toggle {
        color: var(--bg-menu-texte) !important;
        font-weight: 500;
    }

        .navbar-custom .nav-link:hover,
        .navbar-custom .dropdown-item:hover {
            color: var(--bg-colordebut) !important;
        }

    .navbar-custom .dropdown-menu {
        background-color: #e6f2fa;
        font-size: 1.1rem;
    }

    .navbar-custom .dropdown-item {
        color: #164675;
    }

        .navbar-custom .dropdown-item:hover {
            background-color: #cce4f7;
        }

/* Suppression de toutes les bordures et contours */
.navbar-toggler {
    border: none !important;
    background: none !important;
    box-shadow: none !important;
}

.navbar-toggler {
    background-color: transparent !important; /* ou red si tu veux tester */
}

    .navbar-toggler:focus,
    .navbar-toggler:active,
    .navbar-toggler:focus-visible {
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='003366' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-brand img {
    height: 60px;
    margin-right: 10px;
}

/* Responsive : texte un peu plus petit sur mobile */
@media (max-width: 576px) {
    .navbar-custom {
        font-size: 1rem;
    }

        .navbar-custom .navbar-brand {
            font-size: 1.4rem;
        }
}

/*fin style pour la navbar*/


/* pour pour forcer la forme ronde dans mon repeater*/
.circle-card {
    width: 340px; /* diamètre du cercle */
    height: 340px; /* idem */
    border-radius: 50%;
    border: 3px solid #0d6efd; /* bordure Bootstrap primary */
    overflow: hidden;
    background-color: var(--bg-colorfin);
    color: var(--texte-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.circle-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%; /* image ronde */
}

/* _____fin ____ pour pour forcer la forme ronde dans mon repeater*/

/*deux partie haute details basse*/
/* Empêche les marges par défaut */


body {
    background: linear-gradient(135deg, #b8f7da, #a7d8f9);
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.2rem;
}

/* Contenu scrollable */
.content {
    flex-grow: 1; /* Prend tout l'espace restant */
    overflow-y: auto; /* Active le scroll vertical si nécessaire */
    padding: 20px;
    background-color: var(--bg-color);
    color: var(--texte-color);
    font-size: 1.6rem;
}


.hero {
    padding: 80px 20px;
    text-align: center;
    /*    background: linear-gradient(135deg, #b8f7da, #a7d8f9);*/
    background: linear-gradient(135deg, var(--bg-colordebut), var(--bg-colorfin));
    color: var(--texte-color);
    border-radius: 16px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Optimisation pour les petits écrans */
@media (max-width: 600px) {
    .hero {
        padding: 5px 5px; /* moins de padding pour plus de place au contenu */
        border-radius: 0; /* facultatif : supprime les coins arrondis */
        box-shadow: none; /* simplifie visuellement sur petit écran */
    }
}


/* Optimisation gridview pour les petits écrans */
@media (max-width: 768px) {
    .table-sm td, .table-sm th

{
    padding: 0.3rem;
    font-size: 0.8rem;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

}



/* Classe personnalisée pour ajuster la taille de police sur petit écran */
.texte-responsive {
    font-size: 1.2rem;
}

@media (max-width: 576px) {
    .texte-responsive {
        font-size: 0.95rem; /* Police réduite sur petits écrans */
    }
}




.btn-custom {
    background-color: #78d5c1;
    color: white;
}

    .btn-custom:hover {
        background-color: #5fbda7;
    }

.card {
    border: none;
    border-radius: 12px;
    transition: transform 0.2s ease;
}

    .card:hover {
        transform: scale(1.03);
    }

footer {
    text-align: center;
    padding: 20px;
    background-color: #e6f9f2;
    margin-top: 40px;
}

.text-jonathan {
    font-family: 'Montserrat Light', sans-serif; /* Utilisez la police Montserrat Light */
    color: var(--texte-color);
}


.danse-card img {
    height: 200px;
    object-fit: cover;
}

.danse-card {
    transition: transform 0.3s ease;
}

    .danse-card:hover {
        transform: scale(1.02);
    }


/* Conteneur principal, en colonne */
.page-container {
    display: flex;
    flex-direction: column;
    height: 100vh; /* Prend toute la hauteur de la fenêtre */
}

/* Partie fixe : header + menu */
.header {
    background-color: #2b3947;
    color: white;
    padding: 15px;
    flex-shrink: 0; /* Ne pas rétrécir */
}

/* Style de base pour le control accordion */

.headerCssClass {
    background-color: #808080;
    color: white;
    border: 1px solid black;
    padding: 4px;
}

.contentCssClass {
    background-color: #ffffff;
    color: black;
    border: 1px dotted black;
    padding: 4px;
}

.headerSelectedCss {
    background-color: #0356a5;
    color: white;
    border: 1px solid black;
    padding: 4px;
}

/* ----- Fin Style de base pour le control accordion */



/* Style de base pour le GridView */
.gridview {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 18px; /* taille de base plus raisonnable */
    width: 100%;
    border-collapse: collapse;
    overflow-x: auto;
}

    /* En-têtes */
    .gridview th {
        background-color: #3498db;
        color: #ffffff;
        font-weight: bold;
        padding: 8px;
        text-align: left;
    }

    /* Lignes alternées */
    .gridview tr:nth-child(odd) {
        background-color: #edf1ec;
    }

    .gridview tr:nth-child(even) {
        background-color: #adc46c;
    }

    /* Cellules */
    .gridview td {
        padding: 8px;
        border-bottom: 1px solid #bdc3c7;
    }

    /* Hover */
    .gridview tr:hover {
        background-color: #f5f5f5;
    }

/* ✅ Responsive styles */
@media screen and (max-width: 768px) {
    .gridview {
        font-size: 14px;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

        .gridview thead {
            display: none; /* cacher les en-têtes sur mobile si besoin */
        }
/*
        .gridview tr {
            display: block;
            margin-bottom: 10px;
            border: 1px solid #ccc;
        }

        .gridview td {
            display: flex;
            justify-content: space-between;
            padding: 10px;
            border-bottom: 1px solid #eee;
        }

            .gridview td::before {
                content: attr(data-label);
                font-weight: bold;
                margin-right: 10px;
            }

*/
}


/* ----- Style de base pour le GridView ------ */

.Bg_Egraine {
    /*    background-color: #802351;*/
    background-color: #AB276C;
    color: #fff;
    height: 30px;
    line-height: 30px;
    margin-right: 5px;
}


.text-egraine {
    font-family: 'Montserrat Light', sans-serif; /* Utilisez la police Montserrat Light */
    color: #802351; /* Définissez la couleur du texte */
}

.imgtrombi {
    width: auto;
    max-height: 50px;
}

.imgvignette {
    width: auto;
    max-height: 100px;
}

.box {
    height: 120px;
    width: 120px;
}

.madiv {
    padding: 10px;
    border: 5px groove gray;
    border-color: #F5F5F5;
    border-radius: 20px;
    margin: 5px;
}

/************* alignement vertical ****************/
.parent1 {
    display: flex; /* contexte sur le parent */
}

.enfant1 {
    margin: auto; /* eh oui, tout bêtement */
}



/************* Menu ****************/
.niveau1 {
    color: darkblue;
    background-color: LightSteelBlue;
    font-variant: small-caps;
    font-size: large;
    font-weight: bold;
}

.niveau2 {
    color: darkblue;
    font-family: Gill Sans MT !important;
    font-size: large;
    background-color: #DAF7A6;
}

.niveau3 {
    color: black;
    background-color: #EBF851;
    font-family: Gill Sans MT !important;
    font-size: large;
}

.hoverstyle {
    font-weight: bold;
}

.sousniveau1 {
    background-color: #DAF7A6 !important;
    color: White !important;
    font-variant: small-caps;
}


/************** Fin Menu ****************/



/******************* exemple fenetre modale ******************/
/* CSS */
.cModal {
    position: fixed;
    z-index: 99999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    pointer-events: none;
}

    .cModal:target {
        opacity: 1;
        pointer-events: auto;
    }

    .cModal > div {
        max-width: 400px;
        position: relative;
        margin: 10% auto;
        padding: 8px 8px 8px 8px;
        border-radius: 2px;
        background: #fff;
    }
/******************* fin exemple fenetre modale ******************/


.titreegraineH1 {
    align-content: center;
    text-align: left;
    font-size: 50px;
    color: #b02458;
}

.titreegraineH2 {
    align-content: center;
    text-align: left;
    font-size: 40px;
    color: #b02458;
}


.textegraineH3 {
    align-content: center;
    text-align: left;
    font-size: 20px;
    color: #b02458;
}



.titreegraine {
    align-content: center;
    text-align: left;
    font-size: 30px;
    color: #b02458;
    text-decoration: underline;
}

.stylebandeauegraine30 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: x-large;
    color: /*bbg*/ white;
    background-color: #b02458;
    height: 60px;
    vertical-align: middle;
}


.stylebandeauegraine10 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: x-large;
    color: /*bbg*/ white;
    background-color: #b02458;
    height: 10px;
    vertical-align: middle;
}


.stylebandeau {
    font-family: Arial, Helvetica, sans-serif;
    font-size: x-large;
    color: /*bbg*/ #CC0066;
    background-color: #EAEAEA;
    text-align: center;
    height: 30px;
}

.stylebandeaupetit {
    font-family: Arial, Helvetica, sans-serif;
    font-size: large;
    color: /*bbg*/ #CC0066;
    text-align: center;
    height: 8px;
}

.droite {
    text-align: right;
}

.centrer {
    text-align: center;
}

.gauche {
    text-align: left;
}


/*here goes all of your css styling*/

#wrapper {
    width: 90%;
    max-width: 700px;
    margin: 0 auto;
    padding-top: 20px;
}

#header p {
    margin: 0px 0px 100px 0px;
}

a {
    color: #d6005e;
}

.example-wrapper {
    margin-bottom: 70px;
}


/*example 01------------------------------------------------------------------------------*/


#example-01 a.tooltip > span {
    width: 200px;
    padding: 7px 10px;
    margin-top: 25px;
    opacity: 0;
    visibility: hidden;
    z-index: 10;
    position: absolute;
    display: none;
    margin-left: -200px;
}

#example-01 a.tooltip:hover span {
    color: #000000;
    border: 1px solid #000000;
    background: #ffeaf3;
    display: inline;
}

#example-01 a.tooltip:hover > span {
    opacity: 1;
    visibility: visible;
    overflow: visible;
}


/* bouton zoom  */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Koulen&family=Lato&family=Nunito&family=Playfair+Display:ital@1&family=Prata&family=Raleway:ital,wght@1,100&family=Roboto&family=Roboto+Condensed&family=Teko&display=swap');

.btnzoom {
    font-family: Roboto, sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #fff;
    background-color: #0066CC;
    padding: 11px 8px;
    border: 2px solid #0066cc;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
    border-radius: 47px;
    transition: 1000ms;
    transform: translateY(0);
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
}

    .btnzoom:hover {
        transition: 1000ms;
        padding: 10px 20px;
        transform: translateY(-0px);
        background-color: #fff;
        color: #0066cc;
        border: solid 2px #0066cc;
    }

/* Fin bouton zoom  */


div.container {
    /*border:1em solid black;*/
}

div.bordurefine {
    border: 0.1em silver ridge;
    padding: 10px 20px 10px 20px;
}

div.borduregrosse {
    border: 1em solid black;
}

div.split {
    box-sizing: border-box;
    width: 50%;
    /*border:1em silver ridge;*/
    float: left;
}

div.bas {
    width: 100%;
    position: page;
    bottom: 0;
    border: 0.01em silver ridge;
}

div.fixe {
    position: fixed;
    bottom: 0;
    color: #000000;
    background-color: #ededed;
}

span.bulle {
    text-align: left;
    position: relative;
    cursor: pointer;
    font-weight: 700;
    font-style: italic;
}

    span.bulle span {
        display: none;
    }

    span.bulle:hover span {
        left: 0px;
        width: 250px;
        display: block;
        position: absolute;
        z-index: 10;
        border: 1px black solid;
        background-color: #FFFF99;
    }

span.bullelarge {
    text-align: left;
    position: relative;
    cursor: pointer;
    font-weight: 900;
    font-style: italic;
}

    span.bullelarge span {
        display: none;
    }

    span.bullelarge:hover span {
        left: 20px;
        width: 700px;
        display: block;
        position: absolute;
        z-index: 10;
        border: 1px black solid;
        background-color: #99fffd;
    }

