/*-------Tuc Rail 2025---------------
COLORS :
RED : #FF4034
BLUE : #0064EE
GREY : #E1E8E7
TEXT BLACK : #262626
LIGHTGREY : #F7F9F9
BLUEGREY : #CFDDE3
GREEN : #47B680
----------------FONT---------------------*/
@font-face {
    font-family: 'HeyWow Book';
    src: url('../font/HeyWowBook.woff2');
}
@font-face {
    font-family: 'HeyWow Bold';
    src: url('../font/HeyWowBold.woff2');
}
/*----------------GENERAL-------------------*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'HeyWow Book', Arial, sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #262626;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}
main{
    flex: 1;
}
.noMobile, .noMobileFlex, .no768Mobile, section#accueil div.banner > img.no768Mobile {
    display: none;
}
.mobile{
    display: block;
}
.center {
    text-align: center;
    margin: 0 auto;
}
section{
    padding: 50px 0;
}
section#accueil, section#infospratiques, section#inscription, section#sponsors {
    scroll-margin-top: 350px;
}
p{
    margin: 5px 0;
}
h1, h2{
    font-family: 'HeyWow Bold', Arial, sans-serif;
    font-weight: 700;
}
a{
    color: #47B680;
}
h1{
    text-align: center;
    font-weight: bold;
    margin-bottom: 0;
    margin-top: 25px;
}
.rouge{
    color: #FF4034;
}
/*-----------------MENU------------------------*/
.navbar-light {
    padding: 5px 15px;
    background-color: white;
    border-bottom: 1px solid #CFDDE3;
}
ul.navbar-nav {
    margin: 11px 0;
}
div.logo img{
    width: 175px;
    height: auto;
}
.navbar-light li a{
    text-transform: uppercase;
    font-size: 16px;
    margin: 0 10px;
    color: #86aab1;
    position: relative;
    display: flex;
    font-weight: 600;
    text-align: center;
    align-items: center;
}
.navbar-light li a::before {
    position: absolute;
    bottom: 0;
    content: "";
    display: block;
    width: 90%;
    height: .5rem;
    background-color: #FF4034;
    opacity: 0;
    transition: all .2s ease-in-out;
    transform: translateY(1rem);
}
.navbar-light ul.septante li a::before {
    width: 70%;
}
li.flex{
    display: flex;
}
li.flex span {
    padding: 8px 0;
    font-weight: bold;
}
li.flex a{
    font-weight: normal;
    margin: 0 7px;
}
li.flex a.boldUnder{
    font-weight: bold;
    color: black;
}
nav.sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar button {
    border: none;
    width: fit-content;
}
.navbar-toggler:focus {
    box-shadow: none;
}
.c-toggle-overlay {
    color:white;
    text-transform:uppercase;
    justify-content:space-between;
    align-items:center;
    gap:1rem;
    margin:-.5rem;
    padding:.5rem;
    font-size:.75rem;
    display:flex
}
.c-toggle-overlay__icon span {
    background-color: #FF4034;
    width: 40px;
    height: 2px;
    margin: 10px 0;
    transition: transform .5s ease,top .5s ease.25s;
    display: block;
    position: relative;
    top: 0;
}
.c-toggle-overlay[aria-expanded=true] .c-toggle-overlay__label span:first-of-type {
    transform:translateY(-125%)
}
.c-toggle-overlay[aria-expanded=true] .c-toggle-overlay__icon span:first-of-type {
    transition:top .5s ease,transform .5s ease.25s;
    top:12px;
    transform:rotate(45deg)
}
.c-toggle-overlay .c-toggle-overlay__icon span.mid {
    transition:top .5s ease, .5s ease.25s;
    margin: 0 auto;
}
.c-toggle-overlay[aria-expanded=true] .c-toggle-overlay__icon span.mid {
    transition:top .5s ease, .5s ease.25s;
    width: 5%;
    margin: 0 auto;
}
.c-toggle-overlay[aria-expanded=true] .c-toggle-overlay__icon span:last-of-type {
    transition:top .5s ease,transform .5s ease .25s;
    top:-12px;
    transform:rotate(-45deg);
}
/*------------------Accueil---------------------*/
section#accueil {
    padding:0;
    margin: 0;
}
section#accueil div.banner{
    display: block;
    background-color: white;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: fit-content;
    width: 100%;
    padding: 0;
    margin: 0;
}
section#accueil div.banner > img{
    margin: 0 auto;
    width: 100%;
    max-width: 950px;
    display: block;
}
section#accueil div.container{
    padding: 50px 10px 0 10px;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top right;
}
section#accueil div.container p{
    padding-bottom: 10px;
    font-size: 18px;
}
/*---------------FORMULAIRE----------------------*/
div.formulaire .form-floating input, div.formulaire .form-floating select {
    border: 1px solid #CFDDE3;
    border-radius: 5px;
    font-size: 18px;
}
div.formulaire .form-floating > label {
    padding-left: 25px;
}
div.formulaire .form-floating:focus-within > label, div.formulaire .form-floating:target > label, div.formulaire .form-floating:active > label, div.formulaire .form-floating:visited > label {
    color: grey;
}
.form-floating > .form-control-plaintext ~ label::after, .form-floating > .form-control:focus ~ label::after, .form-floating > .form-control:not(:placeholder-shown) ~ label::after, .form-floating > .form-select ~ label::after {
    background-color: transparent;
}
input.form-control:focus, select.form-select:focus {
    box-shadow: none;
    border: #CFDDE3;
}
input[type="radio"], input[type="checkbox"] {
    accent-color: #47B680;
    border-radius: 0;
}
div.formulaire p.inscrit{
    text-align: center;
    color: dimgrey;
}
div.formulaire button {
    border-radius: 0;
    display: block;
    font-size: 24px;
    margin: 25px auto;
    font-weight: 600;
    letter-spacing: 1px;
    border: none;
    color: white;
    background-color: #262626;
    padding: 10px 20px 8px 20px !important;
    transition:all 0.2s linear;
}
div.formulaire button:hover {
    transform: scale(110%);
    transition:all 0.2s linear;
    background-color: #47B680;
}
.form-control.is-invalid:focus, .was-validated .form-control:invalid:focus {
    box-shadow: none;
}
/*---------------INFOS PRATIQUES----------------------*/
section#infospratiques {
    padding: 0;
    margin-top: 50px;
    background-color: rgba(207, 221, 227, 0.6);
}
section#infospratiques > div.row {
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
    background-image: url("../img/lines-white-tl.svg");
    background-size: 200px;
    background-repeat: no-repeat;
}
section#infospratiques > .row>* {
    padding-right: 0;
    padding-left: 0;
    margin-top: 0;
}
section#infospratiques > div.row > div.informations {
    padding: 50px 25px;
}
section#infospratiques ul li{
    list-style: none;
    margin: 0;
}
section#infospratiques ul{
    margin: 0;
    padding: 0;
}
section#infospratiques h2{
    margin-bottom: 25px;
}
section#infospratiques strong{
    font-weight: bold;
    color: #FF4034;
}
section#infospratiques iframe{
    margin: 0;
    padding: 0;
    height: 450px;
}
/*---------------FOOTER----------------------*/
footer{
    width: 100%;
    height: 200px;
    background-color: #262626;
    padding: 50px 10px 70px 10px;
    color: white;
}
footer .container .row{
    justify-content: space-between;
    align-items: center;
}
footer div.col-md-6 > div{
    padding: 25px;
    width: 100%;
}
footer h3{
}
footer img{
    width: 250px;
    max-width: 100%;
    height: auto;
    display:block ;
    margin: 0 auto;
}
footer ul{
    padding-left: 0;
}
footer ul li{
    list-style: none;
    margin: 15px 0;
}
footer a{
    text-decoration: none;
    color: black;
}
footer a:hover{
    text-decoration:  underline black;
}
/*---------------- Desinscription ------------------*/
section.desinscrire{
    text-align: center;
    margin: 100px auto;
    width: 100%;
    max-width: 800px;
    padding: 25px;
    background-color: whitesmoke;
    border-radius: 8px;
}
section.desinscrire button {
    border-radius: 0;
    display: block;
    font-size: 21px;
    margin: 25px auto;
    font-weight: 600;
    letter-spacing: 1px;
    border: none;
    color: white;
    background-color: #262626;
    padding: 10px 20px 8px 20px !important;
    transition:all 0.2s linear;
}
section.desinscrire button:hover {
    transform: scale(105%);
    transition:all 0.2s linear;
    background-color: #47B680;
}
/*---------------MEDIA QUERIES----------------------*/
@media (min-width: 601px) {
    section#accueil div.banner > img.no768Mobile {
        display: block;
    }
    section#accueil div.banner > img.mobile{
        display: none;
    }
}
@media (min-width: 768px) {
    .no768Mobile {
        display: block;
    }
}
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        justify-content: space-between;
        width: fit-content;
    }
    .mobile {
        display: none;
    }
    .noMobileFlex{
        display: flex;
    }
    .noMobile {
        display: block;
    }
    section#accueil, section#infospratiques, section#inscription, section#sponsors {
        scroll-margin-top: 80px;
    }
    .navbar-light li a:hover::before {
        opacity: 1;
        transition: all .2s ease-in-out;
        transform: translateY(1rem);
    }
}