/*
Theme Name: Collège Jean Renoir
Author: Mathieu Blondet
Author URI: https://mathieublondet.com
Description: Site pour le collège Jean Renoir
Version: 2026
*/



/* Variables couleurs */
:root {
    --dark-blue: #0A2748;
    --primary-blue: #003d7a;
     --secondary-blue: #0066cc;
    --danger-red: #E56B6F;
    --success-green: #339989;
    --info-blue: #3C91E6;
    --light-gray: #f8f9fa;
    --bleu1:#164579;
}


@font-face {
  font-family: "Alternate";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/alternate.woff2') format('woff2');
}


.text-dark {
    color: var(--dark-blue)!important;
}


/* base */
body {
    font-family: "Inter", sans-serif;
    color: var(--dark-blue);
    line-height: 1.4;
    font-size: 15px;
}

/* Barre supérieure */
.topbar {
    font-size: 0.9rem;
    position: absolute;
    width: auto;
    right: 0;
    top: -1rem;
    background-color: #E4E7EB;
    display: flex;
    padding: 5px 20px;
    border-radius: 0 0 15px 15px;
}

.topbar #menu_secondary {
    list-style: none;
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0;
}

.topbar #menu_secondary .menu-item { 

}

.topbar #menu_secondary .menu-item a {
    text-decoration: none;
    color: var(--dark-blue);
    display: flex;
    gap: 3px;
}

.topbar .elttop .txttop {

}

.top-bar a {
    font-weight: 500;
    transition: color 0.3s ease;
}


.menutop {
    width: 100%;
    display: flex;
    gap: 10px;
    justify-content: space-between; 
}


    #primary-menu > li > ul.dropdown-menu  .current_page_item > a {
        font-weight:700
    }


.primaryheader > nav > .container {
    display: flex;
    align-items: flex-end;
}
.primaryheader > nav .navbar-toggler {
    padding: 0;
    font-size: 22px;
    border: none;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2810, 39, 72, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus {
    outline: 0;
    box-shadow: none;
}

h1, h2, h3 {
     font-family: "Alternate", Arial, Helvetica, sans-serif;
    font-weight: 400!important;
}


/* Navigation */
.navbar {
    padding: 1rem 0;
}


.primaryheader .navbar .dropdown-toggle::after {
    display: inline-block;
    margin-left: .12em;
    vertical-align: -2px;
    line-height: 0.8;
    content: "+";
    font-size: 150%;
    border: 0;
}


.primaryheader .navbar .nav-item:nth-child(3n + 1) .dropdown-toggle::after {
    color: var(--danger-red);
}

.primaryheader .navbar .nav-item:nth-child(3n + 2) .dropdown-toggle::after {
    color: var(--info-blue);
}

.primaryheader .navbar .nav-item:nth-child(3n + 3) .dropdown-toggle::after {
    color: var(--success-green);
}


.navbar-nav .nav-link {
    color: #0A2748;
    font-family: "Alternate", Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    text-transform: uppercase;
    padding: 0.5rem 1rem!important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-blue);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 0;
}

    #primary-menu li:last-child .dropdown-menu[data-bs-popper] {
        left: unset;
        right: 0;
    }

.bg-bleu {
    background-color: var(--info-blue);
}
.bg-vert {
    background-color: var(--success-green);
}
.bg-rouge {
        background-color: var(--danger-red);
    }


.txt-bleu {
    color: var(--info-blue)!important;
}
.txt-vert {
    color: var(--success-green)!important;
}
.txt-rouge {
    color: var(--danger-red)!important;
}


/*pagination*/

.pagination {
  margin-top: 40px;
  text-align: center;
}

.pagination .page-numbers {
  display: inline-block;
  margin: 0 5px;
  padding: 10px 15px;
  border-radius: 6px;
  background: #f5f5f5;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.pagination .page-numbers:hover {
  background: #dc3545; /* ton rouge */
  color: #fff;
}

.pagination .page-numbers.current {
  background: #dc3545;
  color: #fff;
  font-weight: 600;
}

.pagination .prev,
.pagination .next {
  font-weight: 600;
  padding: 10px 18px;
}

.pagination .dots {
  background: transparent;
  pointer-events: none;
}

/*Fichiers*/


  .telechargements .imgfile {
    max-width: 25px;
    height:auto;
  }

  .mep-content .telechargements h2 {
    margin:0;
    padding:0;
    display: flex;
    gap: 5px;
    margin-top: 20px;
    align-items: flex-start;
    color: var(--success-green);
  }

  .telechargements h2 img {
   max-width: 43px;
  }

  .telechargements a {
    color: var(--dark-blue);
    text-decoration: none;
  }

  .td1 {
    width:40px
  }

  .td1 img {
    width:30px;
    height:auto;
  }
  .td2 {
    flex:1
  }
  .td3 {
    width:120px
  }
  
  .conthm {
    background: #ffffff;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 10px rgb(0 0 0 / 10%);
    padding: 10px;
  }
  
  .sectionfichiers h2 {
    font-size: 28px;
    margin: 25px 0;
  }
  
  .fichiers h3 {
    font-size: 18px;
    color: #000;
    line-height: 1.2;
    padding-bottom: 5px;
    margin: 0px;
    font-weight: 700;
  }

.table thead {
  background: var(--rose);
  color: white;
}

.table td, .table th {
  padding: 0.50rem;
  vertical-align: top;
  border:none
}

.table-striped thead th {
  border-bottom: 1px solid #586370;
}
.table-striped tbody tr:nth-of-type(odd) td {
  background-color: transparent;
  box-shadow: none;
  border-bottom: 1px solid #586370;
}

.table-striped tbody tr:nth-of-type(even) td {
  background-color: transparent;
  box-shadow: none;
  border-bottom: 1px solid #586370;
}

.table-striped tbody tr:last-child td {
  border-bottom: 0;
}




/* Bandeau info */
.info-banner {
    width: auto;
    background-color: #0A2748;
    font-size: 0.9rem;
    position: absolute;
    z-index: 1;
    top: 0;
    right: 7%;
    padding: 4px 20px;
    border-radius: 0 0 20px 20px ;
    display: flex;
    gap: 10px;
    align-items: center;
}



.brandline {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: "Alternate", Arial, Helvetica, sans-serif;
    font-size: 22px;
    text-transform: uppercase;
    position: absolute;
    z-index: 1;
    bottom: 50px;
    left: 10px;
    color: var(--primary-blue);
    transform: rotate(270deg);
    transform-origin: top left;
}

.brandline::after {
    content: '';
    width: 150px;
    height: 2px;
    background-color: var(--danger-red);
}

.brandline::before {
    content: '';
    width: 40px;
    height: 2px;
    background-color: var(--danger-red);
}

.heropage-content .brandline {
    left: -30px;
}

.heropage-content .brandline::after,
.heropage-content .brandline::before {
    display: none;
}

.heropage-content > img {
    border-radius: 40px;
    max-height: 300px;
    object-fit: cover;
}


.info-banner .titre-info-banner {
    font-family: "Alternate", Arial, Helvetica, sans-serif;
    font-size: 1.4em;
    color: var(--info-blue);
    line-height: 1;
    text-transform: uppercase;
}

.info-banner .text-info-banner {
    font-size: 0.9em;
    line-height: 1.1;

}


/* Section Hero */
.hero-section {
    min-height: 600px;
}


.hero-welcome {
    position: absolute;
    height: 100%;
    right: 0;
    top: 0;
    width: calc(100% - 60px);
}
.hero-welcome img {
    height: 100%;
    object-fit: cover;
}



.hero-overlay {
    background: linear-gradient(to right, rgba(0,0,0,0.5) 50%, transparent);
}


.hero-overlay, 
.hero-welcome > img {
    border-radius: 50px 0 0 50px;
}

.hero-text h1 {
    font-size: 4.5em;
    text-transform: uppercase;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.7);
    line-height: 1;
}

.hero-text p {
    font-size: 1em;
    letter-spacing: 0px;
    font-weight: 400;
}

.lienok {
    text-decoration: none!important;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
}

.lienok::before {
    content: "➜";
    margin-right: 5px;
    font-size: 1rem;
}

/* Boutons CTA */
.cta-buttons {
    margin-bottom: -60px;
    z-index: 10;
}

.buttonsflex {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.buttonsflex a {
    gap: 5px;
    display: flex!important;
    flex-direction: column;
    justify-content: center!important;
    align-items: center!important;
    line-height: 1.2;
    justify-content: flex-end;
}
.buttonsflex a .texth strong {
    display: block;
}

.buttonsflex a:nth-child(3n+1) {
    background-color: var(--danger-red);
}

.buttonsflex a:nth-child(3n+2) {
    background-color: var(--info-blue);
}

.buttonsflex a:nth-child(3n+3) {
    background-color: var(--success-green);
}


.buttonsflex a .iconh {
    width: 40px;
}


.btn-cta {
    transition: all 0.3s ease;
    border: none;
    font-size: 1.1rem;
}

.btn-dark {
    background-color: var(--dark-blue);
}

.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    opacity: 0.9;
}

.btn-cta i {
    transition: transform 0.3s ease;
}

.btn-cta:hover i {
    transform: scale(1.1);
}

/* Section Bienvenue */
.welcome-section, 
.chapo-section {
    background: #0A2748;
    background: linear-gradient(125deg,rgba(10, 39, 72, 1) 0%, rgba(24, 74, 130, 1) 100%);
    padding-top: 200px!important;
    padding-bottom: 80px!important;
    margin-top: -60px;
}


.chapo-section {
    padding-top: 100px!important;
    padding-bottom: 50px!important;
}

.chapo-section h1 {
    font-size: 3.5rem;
}

.bread {
    font-family: "Alternate", Arial, Helvetica, sans-serif;
    font-size: 130%;
    color: white;
    display: flex;
    gap: 10px;
    font-weight: 400;
}

.bread a
 {
    color: var(--info-blue);
    text-decoration: none;
 }

.stats-wrapper {
    justify-content: flex-end;
    margin-right: 20px;
    display: flex;
    gap: 20px;
    align-items: stretch;
}


.stat-box {
    font-family: "Alternate", Arial, Helvetica, sans-serif;
    /* border-radius: 8px; */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box h2 {
    font-size: 3.5rem;
    line-height: 0.9;
}

.stat-box p {
    font-size: 1.2rem;
}

.welcome-section a {
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.welcome-section a:hover {
    opacity: 0.8;
}

.galeriee {
    margin-bottom: 10px;
}

/*MEP Content - Page*/

.mep-principal a {
    color:var(--dark-blue);
}


.mep-content {
    background: linear-gradient(rgba(12, 37, 65, 0) 70%, rgba(12, 37, 65, 0.14) 100%); 
}
.mep-content h2 {
    color: var(--dark-blue);
    font-size: 2.6em;
}

.mep-content h3 {
    color: var(--info-blue);
    font-size: 1.8em;
}

.mep-content ul {
    list-style: none;
    padding-left: 0;
    line-height: 1.2;
}

.mep-content .mesfichi {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0px;
    border-radius: 0px;
    padding: 0px !important;
    margin: 10px 0;
}

.mep-content .monfichi {
    color: var(--success-green);
    text-decoration: none;
    display: flex;
    gap: 12px;
    border-radius: 10px;
    flex: 1;
    padding: 15px 20px;
    background-color: #fff!important;
    align-items: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
.mep-content .monfichi .fichier_titre {
    font-family: "Alternate", Arial, Helvetica, sans-serif;
    font-size: 160%;
    font-weight: 400;
    line-height: 1;
}

.mep-content .monfichi .fichier_desc {
    font-size: 0.8rem;
}

.mep-content .monfichi .fichier_texte  {
    display: flex;
    gap: 1px;
    flex-direction: column;
}
.mep-content .monfichi .fichier_icon {
    background-color: var(--success-green);
    border-radius: 7px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 3px;
}
.mep-content .monfichi svg {
    width: 30px;
    height: auto;
}

.mep-content .monfichi .icolien svg {
    margin: 5px;
}




.mep-content ul li {
    position: relative;
    padding-left: 2.5em;
    padding-bottom: 5px;
}

.mep-content ul li::before {
    content: "➜";
    position: absolute;
    left: 10px;
    color: var(--info-blue)
}

.mep-content blockquote {
    padding: 15px 15px 15px 40px;
    position: relative;
    color: white;
    margin: 10px 0 30px 0;
    line-height: 1.2;
    border: none;
    background-color: #dbe3ed;
    border-radius: 10px;
    line-height: 1.6;
    color: var(--dark-blue);
}

.mep-content blockquote p {
    padding: 0;
    margin: 0;
    padding-bottom: 5px;
    line-height: 1.2;
}

.mep-content blockquote::before {
    content: "➡️";
    position: absolute;
    top: 11px;
    left: 10px;
    font-weight: normal;
    font-family: sans-serif;
    font-style: normal;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}







.mep-sidebar {
 padding-left: 70px;
 padding-top: 70px;
 position: relative;
 position: sticky;
 top: 0;
}

@media (max-width: 991px) {
    .mep-sidebar {
        padding-left: 0;
        padding-top: 0;
        position: relative;
        top: unset;
    }

    .mep-sidebar::before {
        display: none;
    }
}

.mep-gallery {
 display: flex;
 gap: 15px;
 flex-wrap: wrap;
 margin: 20px 0;
}

.mep-gallery img {
 width:100%;
 height: auto;
 max-width: 200px;
 border-radius: 20px;
}


.mep-sidebar .infos-title  {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    line-height: 0.9;
}

.mep-sidebar img  {
    height: auto;
    width: 30px;
}

.mep-sidebar::before {
    content:"";
    position: absolute;
    top: 0;
    left: 0;
    background-image: url("img/coin-tr.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Galerie photos */
.photo-gallery img {
    height: 250px;
    transition: transform 0.3s ease, filter 0.3s ease;
    /* filter: grayscale(20%); */
}

.photo-gallery img:hover {
}

/* Section accès rapides */
.quick-access-section {
    background: #ffffff;
    background: linear-gradient(180deg,rgba(12, 37, 65, 0) 70%, rgba(12, 37, 65, 0.14) 100%);
}

.quick-link-card {
    display: flex;
    text-decoration: none;
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.quick-link-card .iconqa {
    max-width: 42px;
    height: auto;
}


.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--primary-blue) !important;
}

.quick-link-card h5 {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    color: var(--dark-blue);
}

.quick-link-card i {
    transition: transform 0.3s ease;
}

.quick-link-card:hover i {
    transform: scale(1.1);
}

/* Actualités */

.actushome {
 padding-left: 50px;
}

.newslist {
    display: flex;
    flex-direction: column;
}

.news-item {
    padding: 1rem 0;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
}

.news-item:last-child {
    border-bottom: none;
}
.news-item h5 {
    color: var(--dark-blue);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}
.news-item p {
    color: var(--dark-blue);
    font-size: 0.8rem;
}

.news-item:hover h5 {
    color: var(--danger-red);
    cursor: pointer;
}

.voirtout {
    color: var(--dark-blue);
    font-size: 0.8rem;
    text-decoration: underline;
}

/* Footer */

.btn:hover {
    background-color: #1c3757;
    border-color: #1c3757;
}

footer #primary-footer {
    padding: 40px 0 40px 0;
    font-size: 14px;
}
footer .social-links > a > img {
    width: 32px;
    height: auto;
}


footer #secondary-footer {
    background-color: var(--dark-blue) !important;
    color: white;
    padding: 20px 0;
}
footer #secondary-footer a {
    color: white;
}

footer a:hover {
    opacity: 0.8;
}

footer hr {
    opacity: 0.2;
}

.quick-access-section h2 {
    color: var(--info-blue);
    font-size: 30px;
}

#primary-menu-mobile {
        display: none;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: var(--info-blue);
}
.dropdown-item {
    color: var(--dark-blue);
    font-size: 0.9rem;
}
/*ORGA*/

.containerpers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    font-family: Arial, sans-serif;
    align-items: flex-start;
}

.service-block {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.service-header {
    background-color: var(--bleu1); /* Tu peux le surcharger avec le champ ACF */
    font-family: "Alternate", Arial, Helvetica, sans-serif;
    color: white;
    text-align: center;
    font-size: 2rem;
    font-weight: 400;
    padding: 15px;
}

.service-content {
    background-color: white;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.person {
    background-color: #f0f0f0;
    padding: 10px;
    color: var(--bleu1);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
    position: relative;
}



.role {
    font-weight: bold;
    color: #333;
}

.name {
    color: #555;
    margin-top: 2px;
}

/* Responsive : empile les blocs sur petit écran */
@media (max-width: 1000px) {
    .containerpers {
        flex-direction: column;
        align-items: center;
    }
    .service-block {
        width: 90%;
        max-width: 400px;
    }
}


/* BUILDER  */

.sectionp {
   padding: 20px 0;
   font-family: "Raleway", sans-serif;
}

.asidep {
   padding: 50px 0;
   font-family: "Raleway", sans-serif;
   padding-left: 20px;
}

.sectionp blockquote {
   padding: 50px 30px 10px 30px;
   position: relative;
   color: white;
   margin: 10px 0 30px 0;
   border: none;
   background-color: var(--bleu1);
   border-radius: 20px;
   line-height: 1.6;
}

.sectionp blockquote ul {
    padding-left: 5px;
    margin-left: 5px;
    margin-bottom: 10px;
}

.sectionp blockquote h2,
.sectionp blockquote h3,
.sectionp blockquote h4,
.sectionp blockquote h5
 {
   color: white;
}


.sectionp blockquote  a{
   color: white;
   text-decoration: underline !important;
}


.sectionp blockquote p {
   font-size: 15px;
}

.sectionp blockquote::before {
    content: "i";
    position: absolute;
    top: 19px;
    left: 30px;
    width: 28px;
    height: 28px;
    color: white;
    border: 1px solid white;
    font-weight: bold;
    font-family: sans-serif;
    font-style: italic;
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sectionp blockquote::after {
    content: "A savoir";
    position: absolute;
    top: 12px;
    left: 65px;
    font-weight: bold;
    font-style: italic;
    font-size: 28px;
    color: #0057a3;
    color: white;
}

.sectionp .blockquote-content a {
   color: #000;
}

.sectioncitation blockquote {
   position: relative;
   margin: 20px;
   padding: 22px;
   color: #000;
   font-size: 16px;
   line-height: 1.2;
   font-style: normal;
   border: none;
   border-left: 5px solid var(--bleu1);
}

.sectioncitation blockquote svg {
   width: 50px;
   height: 50px;
   fill: var(--bleu1);
}

.sectioncitation blockquote .blockquote-icon {
   position: absolute;
   left: 20px;
   top: -20px;
   line-height: 0.6;
   color: var(--bleu1);
}

.sectioncitation blockquote .blockquote-icon2 {
   position: absolute;
   right: 30px;
   bottom: -20px;
   line-height: 0.6;
   color: var(--bleu1);
}


.map-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* ratio 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 8px; /* optionnel */
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


.page-template-page-contact .map-responsive iframe {
  max-width: 520px;
}


.textgrd {
   position: absolute;
   top: 0;
   font-size: 110px;
   color: rgba(255, 255, 255, 0.2);
}
.sectionbloc.sectionp {
    padding: 10px 0;
}
.solutionbox {
   margin: 0;
   padding: 10px 20px 0 20px;
   box-shadow: 0 0 10px rgb(0 0 0 / 20%);
   border-radius: 10px;
   height: 100%;
   background: white;
}

.solutionbox .masolu{
   width: 100%;
}
.solutionbox h3 {
   margin: 0 0 10px 0;
   font-size: 24px;
   background: none;
   color: #164579;
   padding: 0;
   font-weight: 700;
}

.solutionbox img {
   margin: 0 auto;
   max-width: 70px;
}

.solutionbox p {
   text-align: left;
}


.section-videos {
  padding: 2rem 0;
}

.ratio-16x9 {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16/9 = 0.5625 = 56.25% */
  height: 0;
  overflow: hidden;
}

.ratio-16x9 iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.ratio-16x9 iframe:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.section-videos .mb-4 {
  /* marge inférieure sur chaque colonne */
  margin-bottom: 1.5rem !important;
}

.section-videos iframe {
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  width: 100%;
  height: 100%;
}

.section-videos iframe:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.panel-heading {
   padding: 1.5em 1.5em;
   background: #fff !important;
   color: white;
   cursor: pointer;
   font-size: 1em;
   letter-spacing: 0.1em;
   transition: all 0.3s;
   border: none !important;
   -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
   box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
}

.panel {
   border: none !important;
   margin-bottom: 20px !important;
}

.contenu h4.panel-title {
   font-family: "Raleway", sans-serif;
   font-size: 18px;
   background-color: transparent;
   line-height: 1.2;
   color: white;
   padding: 3px;
   margin: 5px 0;
   font-weight: 400;
   display: inline-block;
   position: relative;
   width: 100%;
}

.panel-heading a:after {
   content: "+";
   display: flex;
   font-weight: normal;
   font-size: 30px;
   color: #ffffff;
   transition: all 0.5s;
   transform: scale(1);
   background-color: var(--bleu1);
   width: 30px;
   min-width: 30px;
   min-height: 30px;
   height: 30px;
   text-align: center;
   border-radius: 50%;
   flex-wrap: wrap;
   align-content: center;
   justify-content: center;
}

.panel-heading a[aria-expanded="true"]:after {
   transform: rotate(135deg);
   background-color: var(--gristexte);
}

.panel-title > a {
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 12px 20px;
   font-size: 18px;
   font-weight: 700;
   gap: 5px;
   font-family: "Raleway", sans-serif;
}

.panel-default > .panel-heading {
   padding: 0;
   border-radius: 9px;
}

.accordion-body__contents {
   padding: 1.5em 1.5em;
   font-size: 0.85em;
}

.panel-body {
   padding: 10px 30px;
   /* background: #f1f1f1; */
   border: none !important;
   margin-top: 20px;
   border-radius: 9px;
}

.medi {
   height: 30px;
   margin-right: 10px;
   margin-top: 10px;
}
.medi2 {
   height: 40px;
   margin-right: 10px;
   margin-top: 10px;
}

.monfi {
   position: relative;
   display: flex;
   flex-wrap: wrap;
   align-content: stretch;
   padding: 15px;
   background: var(--bleu1);
   color: var(--gristexte);
   border-radius: 10px;
   height: 100%;
}

.listing.listing--files {
   padding-right: 13px;
}

.listing__title--files {
   font-weight: 700;
   font-size: 1.375rem;
   line-height: 1.2;
   color: #fff;
   text-transform: none;
   margin: 0px 0;
}

ul.files-infos {
   display: flex;
   align-items: center;
   padding: 0;
   margin: 0;
   margin-bottom: 20px;
}
li.files-infos__type {
   list-style: none;
}
li.files-infos__type:before,
li.files-infos__size:before {
   content: "" !important;
   display: none !important;
}

.content-ok {
}

.link-document,
.contenu a.link-document,
.main-content-title a.link-document {
   display: inline-flex;
   justify-content: center;
   align-items: center;
   margin: 0 20px 0 0px;
   cursor: pointer;
   font-family: Archivo, sans-serif;
   font-weight: 400 !important;
   font-size: 1rem;
   line-height: 1.5;
   text-decoration: underline;
   text-transform: none;
   color: #282828 !important;
   text-decoration: none !important;
   transition: all 0.25s ease;
}

.link-document svg {
   width: 30px;
   height: 30px;
   background: #f4f8e9;
   border-radius: 50%;
   border: 2px solid #282828;
   fill: #282828;
   padding: 0px;
   margin-right: 10px;
}

.monfilist {
   justify-content: space-between;
}

.monfilist ul.files-infos {
   margin-bottom: 0px;
}

.monfilist .listing__title--files {
   padding: 3px 0;
}


.mesfichi {
   display: flex;
   flex-direction: column;
   gap: 12px;
   padding: 0px;
   border-radius: 0px;
   padding: 0px !important;
}


.mesfichi.cote {
   display: flex;
   flex-direction: row;
   background-color: var(--bleu4c);
   gap: 20px;
   padding: 20px;
   border-radius: 20px;
   padding: 30px !important;
}


.monfichi {
    color: var(--gristexte);
    text-decoration: none;
    display: flex;
    gap: 8px;
    border-radius: 10px;
    flex: 1;
    padding: 30px;
    background-color: var(--bleu4c);
    align-items: center;
}

#wrapper.bleucl .mesfichi.cote,
#wrapper.bleucl .monfichi,
#wrapper.bleucl .contact-bloc
{
   background-color: #fff;
}


.mesfichi.cote .monfichi {
   padding: 5px;
   margin: 0;
   border-radius: 0px;
   align-items: start;
}



.monfichi:hover {
   background:#d5e5f4;
}

.monfichi svg {
   width: 35px;
   height: 35px;
}

.monfichi .fichier_infos {
   display: flex;
   gap:5px;
   font-size: 13px;
}
.monfichi .fichier_titre {
   font-size: 17px;
   font-weight: 600;
   line-height: 1.2;
}
.monfichi .fichier_texte {
   display: flex;
   gap: 1px;
   flex-direction: column;
}
.monfichi .fichier_down svg {
   width: 12px;
   height: 12px;
}

.monfichi:last-child {
   margin-right: 0px;
}

.fichiers .row .col-12 {
   margin-bottom: 20px;
}

.fichiers img {
   max-width: 100%;
   height: auto;
   border-radius: 10px !important;
}

.fichiers .conthm {
   padding: 20px !important;
   margin-bottom: 20px;
}

.blocok .lientout,
.fichiers .lientout .conthm {
   text-decoration: none;
}

.blocok .lientout .solutionbox,
.fichiers .lientout .conthm {
   transition: 0.3s;
}

.blocok .lientout:hover .solutionbox,
.fichiers .lientout:hover .conthm {
   transform: scale(1.05);
}

.blocok p {
   color: black;
}

.imgsecti {
   width: 100%;
   height: 300px;
   object-fit: cover;
}


/* FORM CF7*/

.formcf7 input {
   /* padding: 7px 15px; */
   /* border-radius: 5px; */
   border: 0;
   border: 1px solid #8597a3;
   width: 100%;
   padding: 7px 15px;
   border-radius: 40px;
}

.formcf7 input[type="file"] {
   cursor: pointer;
   padding: 10px 0;
   font-size: 14px;
}

.formcf7 textarea {
   padding: 7px 15px;
   border: 1px solid #8597a3!important;
   border-radius: 5px;
   border: 0;
   height: 100px;
   width: 100%;
   border-radius: 20px;
}

.formcf7 {
   /* background: var(--bleuclair);
   padding: 20px 60px;
   border-radius: 30px; */
}

.formcf7 label {
   font-size: 12px;
   color: var(--bleu2);
   margin: 7px 0;
}

.formcf7 .form-group {
   margin-bottom: 0.3rem;
}

.formcf7 h3:after {
   /* content: ""; */
   border-bottom: 2px dotted var(--gristexte);
   margin-top: 10px;
   margin-bottom: 5px;
   width: 100%;
   display: block;
}

.formcf7 h3 {
   font-size: 32px;
   display: block;
   background-color: transparent;
   color: var(--bleu1);
   line-height: 1.2;
   margin: 10px 0;
   font-weight: 700;
   display: flex;
   align-items: center;
}

.formcf7 h3 span.number {
   font-size: 25px;
   background-color: var(--bleu1);
   color: white;
   padding: 0;
   border-radius: 50%;
   width: 40px;
   height: 40px;
   margin-right: 10px;
   font-weight: 700;
   display: flex;
   justify-content: center;
   align-items: center;
}

.formcf7 input[type="submit"] {
   padding: 10px 30px;
   border-radius: 40px;
   background-color: var(--info-blue);
   color: white;
   border: 0;
   width: auto;
   margin: 10px 0;
   display: block;
}

.formcf7 .submit-row  input[type="submit"] {
 margin: 0 auto
}

select#category-filter {
   border-radius: 20px;
   padding: 3px 5px;
}

.formcf7 select {
   padding: 7px 15px;
   border-radius: 5px;
   border: 1px solid #8597a3!important;
   border: 0;
   width: 100%;
   border-radius: 40px;
}



/* Barre verticale "COLLÈGE DE BOURGES" */


/* Responsive */


@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: white;
        background: var(--dark-blue);
        z-index: 9999;
        overflow-y: auto;
        padding: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #primary-menu-mobile {
        margin-top: 20px;
        display: flex;
        gap: 10px;
        padding: 0;
    }

     #primary-menu-mobile li {
        text-align: center;
        background-color: white;
        color: var(--dark-blue);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 30px 15px;
        border-radius: 15px;
    }

     #primary-menu-mobile li a {
        display: flex;
        min-width: 110px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0px;
        text-align: center;
        text-decoration: none;
        font-size: 20px;
        color: var(--dark-blue);
        font-family: "Alternate", Arial, Helvetica, sans-serif;
    }

    #primary-menu-mobile li a i {
        font-size: 140%;
        color:var(--success-green)
    }



    #navbarMain .navbar-nav .nav-link {
    color: var(--dark-blue);
    color: white;
    font-size: 1.6rem;
   }

    #navbarMain {
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }

    .logomobile {
        max-width: 190px;
        height: auto;
        background-color: #ffffff;
        border-radius: 0 0 10px 10px;
        padding: 20px 10px 10px 10px;
        position: absolute;
        top: 0;
    }

    .menu-close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 3rem;
        color: var(--dark-blue);
        color: white;
        line-height: 0;
        background: none;
        border: none;
        z-index: 10000;
    }

    #primary-menu {
        margin: 0!important;
        margin-top: 80px!important;
    }
    #primary-menu > li > ul.dropdown-menu {
        background-color: transparent;
        box-shadow: none;
    }
    #primary-menu > li > ul.dropdown-menu .dropdown-item { 
        color: white;
    }
    #primary-menu > li > ul.dropdown-menu .dropdown-item:hover { 
        border-radius: 10px;
        color: var(--dark-blue);
    }

    .topbar {
        display: none;
    }
    .navbar {
        padding: 10px 0;
    }

}

@media (max-width: 1200px) {
 .navbar-brand img {
    height: 50px;
    margin-left: 10px;
 }

 .navbar-nav .nav-link {
    padding: 0.5rem 0.5rem !important;
 }

}


@media (max-width: 992px) {

 .actushome {
    margin-left: 0;
    padding-left: 0;
    margin-top: 40px;
 }

 .stats-wrapper {
    justify-content: flex-start;
 }

 .welcomerow {
    gap: 20px;
 }
}
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2em;
    }

    .hero-welcome {
    width: calc(100% - 40px);
    }

    .navbar-brand img  {
        max-width: 150px;
        height: auto;
    }

    .brandline {
    gap: 16px;
    font-size: 17px;
    bottom: 50px;
    left: 7px;
    }

    .stats-wrapper {
    justify-content: flex-start;
    margin-right: 0;
    gap: 20px;
    }

    .welcome-section,
    .chapo-section
    {
        padding: 140px 0 50px 0!important;
    }

    .info-banner {
        width: 60%;
        right: 0;
        border-radius: 0 0 0 15px;
        font-size: 90%;
    }
    
    .stat-box h2 {
        font-size: 3rem;
    }
    
    .hero-section::before {
        display: none;
    }
    
    .cta-buttons {
        position: relative;
        margin-bottom: -40px;
    }
    
    .btn-cta {
        font-size: 0.9rem;
        padding: 1.5rem 1rem !important;
    }

  
        
    .info-banner {
        width: 70%;
        right: 3px;
        top: 5px;
        border-radius: 15px;
        font-size: 90%;
    }

      .home .info-banner {
        width: 60%;
        top: 0;
        right: 0;
        border-radius: 0 0 0 15px;
        font-size: 90%;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 50px;
        margin-left: 30px;
    }

    .bread {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    display: inline;
    }

    .chapo-section h1 {
    font-size: 2.7rem;
    }

    .mep-content h2 {
    color: var(--dark-blue);
    font-size: 2.1em;
    }

    .mep-sidebar img {
        height: auto;
        width: 24px;
    }


    .heropage-content > img {
    border-radius: 20px;
    height: 300px;
    max-height: 400px;
    }

    .brandline::after {
    width: 120px;
    }

    .brandline::before {
        width: 30px;
    }

    .btn-cta {
        font-size: 0.8rem;
        padding: 1.2rem 0.8rem !important;
    }

    .buttonsflex a .iconh {
            width: 36px;
    }

    .hero-text p {
        font-size: 0.75em;
    }

    .hero-text {
        margin-left: 10px;
        font-size: 130%;
    }

    #primary-footer > .container > .row > div {
        text-align: center;
    }

    #primary-footer > .container > .row {
        gap: 20px;
    }

    .topbar {
        border-radius: 0 0 0 15px;
        font-size: 20px;
    }

    .topbar .txtop {
    display: none;
    }

    .info-banner .text-info-banner {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    max-height: 25px;   
    }


    
    .hero-section {
    min-height: 75vh;
    }
    
    .photo-gallery img {
        height: 150px;
    }
}