html{
    height: 100%;
}
body{
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Lato', sans-serif;
    margin: 0px;
    color:#161616;
    border-color: #161616;
    background-color: #f8f9fa;
}
body.dark{
    color:#f8f9fa;
    border-color: #f8f9fa;
    background-color: #161616;
    --bs-light: #161616;
    --bs-dark: #f8f9fa;
}

#retour{
    position: absolute;
    right: 10px;
    top: 10px;
    height: 34px;
    line-height: 10px;
}
.titre{
    position: relative;
    text-align: center;
}
ul{
    list-style: none;
    padding-left: 0;
}
[hidden]{
    display: none !important;
}
a:not(.btn) {
    color: #0090CC;
    text-decoration: none;
    font-weight: 600;
    transition: all ease-in-out 0.3s;
    -webkit-transition: all ease-in-out 0.3s;
    -moz-transition: all ease-in-out 0.3s;

}
a:hover, a:focus {
    color: #0e5182;
    cursor: pointer;
    text-decoration: none;
}
svg{
    fill: var(--bs-dark)
}
.content{
    flex-grow: 1;
    padding: 10px;
}
img[onclick]{
    cursor: pointer;
}
.btn-primary{
    color: #f8f9fa;
    background-color: #0e5182;
    border-color: #0e5182;
}
.footer{
    padding-left: 30px ;
    display: flex;
    text-align: center;
}
.footer *{
    display: flex;
    flex-grow: 1;
}
/* menu */
.dropdown{
    position: fixed;
    top : 10px;
    left : 10px;
}
.dropdown-toggle::after{
    content: none;
}

.navbar{
    background-color: #012842;
}

.navbar .dropdown-item:focus, .navbar .dropdown-item:hover{
    background-color: #012842;
    color: #ffffff;
}

.navbar-nav{
    line-height: 36px;
}

/* form honeypot*/
.important {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

/* form connexion/creation/modification comptes */
.back{
    text-align: left;
    padding-bottom: 1rem;
}
.selectors{
    width: 200px;
}
.alert-danger,.alert-success{
    background-color: var(--bs-light);
    border: none;
}
.selection{
    display: flex;
    cursor: pointer;
    width: fit-content;
    position: relative;
    font-weight:600;
    color: #0090CC;
    z-index: 2;
    background: #ffffff;
    margin: auto;
    border-bottom: 1px solid #E7ECF4;
    margin-bottom: 2rem;
    align-items:center;
    padding-bottom: 16px;
}
.selection *{
    padding: 5px;
    /*padding-left: 15px;
    padding-right: 16px;*/
}
.selected{
    border-bottom: none;
    color: #0e5182
}
#carre_central{
    margin-left: 10%;
    margin-top: 30px;
    width: 80%;
    padding: 1rem;
    border: solid 1px #E7ECF4;
    background: #ffffff;
    border-radius:4px;
}
.form_compte{
    border: none;
    text-align: center;
    flex-direction: column;
    box-sizing: inherit;
    min-width: 0;
    min-height: 0;
}
.form_compte2{
    border: none;
    flex-direction: column;
    box-sizing: inherit;
    min-width: 0;
    min-height: 0;
}
.entrées{
    /*margin-bottom: 5px;*/
    color: inherit;
    border:1px solid #E7ECF4;
    padding: 10px 10px;
    outline: none;
    font-size: initial;
    border-radius: 4px;
    background: #fafbfc;
}
/*
.entrées:focus {
    border-color: #0e5182;
}
*/
.entrées:valid{
    border-color: #0e5182;
}
.entrées:invalid:not(:placeholder-shown) {
    border-color: red;
}
input[type="radio"] {
    display: none;
}
input[type="checkbox"].no_box{
    display: none;
}
label.radio {
    color: #0e5182;
    background-color: #f8f9fa;
    border-color: #0e5182;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    font-weight: 400;
    line-height: 1.5;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .25rem;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
}
input[type="radio"]:checked + label.radio{
    color:#f8f9fa ;
    background-color: #0e5182;
}
label.radio.checked{
    color:#f8f9fa ;
    background-color: #0e5182;
}
.fadeOutInfo{
    position: absolute;
    display: block;
    color: var(--bs-dark);
    opacity: 0.7;
    cursor: text;
    padding-top: 5px;
    padding-left: 10px;
    top: 0px;
    left : 0px;
    pointer-events: none;
    transition: top 0.2s ease-in-out, left 0.2s ease-in-out;
}
.entrées:invalid:not(:placeholder-shown) ~ .fadeOutInfo,
.entrées:valid ~ .fadeOutInfo,
.entrées:hover ~ .fadeOutInfo,
.entrées:focus ~ .fadeOutInfo,
.entrées:active ~ .fadeOutInfo{
    top : -25px;
    left : -10px;
}
.entréesParent{
    position: relative;
}
.entrées ~ .tooltiptext {
    font-size: 10px;
    display: none;
    position: absolute;
    color: red;
}
.entrées:invalid:not(:placeholder-shown) ~ .tooltiptext {
    display: block;
}
.absoluteInfo{
    width: 100px;
    position: absolute;
    height: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    left: 110%;
    width: 100%;
    opacity: .65;
}
hr{
    width: 50%;
    left: 25%;
    position: relative;
}
.oeil{
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
    text-align:center;
    position: absolute;
    right: 13px;
    top: 17px;
    cursor: pointer;
    width: fit-content;
    display: block;
    margin: auto;
}
.checkboxes *{
    display: inline;
}
.password{
    position: relative;
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    opacity: 0; /* Firefox */
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
    opacity: 0;
}
::-ms-input-placeholder { /* Microsoft Edge */
    opacity: 0;
}
.lil_cadre{
    border: solid 1px gray;
    padding: 10px;
    left: -10px;
    position: relative;
}
.a_droite{
    position: absolute;
    left: 80%;
}
/* modal */
.modal-header{
    border-bottom: 0;
}
.modal-footer{
    border-top: 0;
}
/* listes d'elements */
.carre_central{
    display: flex;
    flex-direction: row;
    margin-left: 10%;
    margin-top: 10px;
    width: 80%;
    padding: 2rem;
    border: solid 1px #d7dee9;
    border-radius: 4px;
    background: #ffffff;
    padding-bottom: 50px;
}
.titre_carre{
    text-align: initial;
    position: relative;
    left: -6px;
    top: -6px;
}
.carre_central *{
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin: 1px;
}
.scenario_buttons{
    text-align: right;
    flex-direction: row;
    right: 0px;
    position: absolute;
    top: 80px;
}
.carre_central_unstyled{
    text-align: right;
    margin-left: 10%;
    width: 80%;
}
.right_container{
    position:  relative;
}
.equipes{
    text-align:left;
    text-overflow: ellipsis;
    display: inline-block;
    max-width:450px;
    overflow: hidden !important;
    white-space: nowrap;
}
/* buttons */

.btn{
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: 600;
}

.btn-primary{
    background-color: #0090CC;
    border:none;
}
.btn-primary:hover{
    background-color: #0e5182;
}

.btn-outline-primary{
    border-color: #0090CC;
    color: #0090CC;
}
.btn-outline-primary:hover{
    background-color: #0090CC;
}

/* form */
.form-floating{
    flex-grow: 1;
}
.form-control:hover, .form-control:focus{
    border: 1px solid #0090CC;
    background: white;
}

.form-select{
    height: 59px;
}
.form-check-input:checked{
    background-color: #0e5182;
    border-color: #0e5182;
}

/* Font */
h1,h2,h3,h4{
    color: #0e5182;
}

.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){
    padding-top: 6px;
}
.scroll-on-mobile{
    width: 100%;
    /*overflow-x: scroll;*/
}

.scroll-on-mobile div{
    white-space: nowrap;
    text-align: center;
    flex: 1 0 0%;
}
.moy-margin{
    margin-left:26px;
}
.lil-margin{
    margin-left:15px !important;
}
/* media */
@media screen and (max-width:775px){
    .carre_central{
        margin-left: 0;
        width: 100%;
    }
    .moy-margin{
        margin-left:12px;
    }
    .lil-margin{
        margin-left:12px !important;
    }
    .equipes{
        width:220px;
    }
    .content #carre_central{
        width: 100%;
        margin-left: 0;
    }
    .w-95{
        width: 90%;
        margin-left: 20px !important;
    }
    .footer{
        flex-direction: column-reverse;
    }
    .footer div{
        flex-direction: column;
    }
}

.text-light-blue{
    color: #0090CC;
}

.text-dark-blue{
    color: #0e5182;
}

.big-table tr td{
    width: 160px;
}

.big-table tr th{
    width: 160px;
}

.big-table tr td:first-child{
    width: 350px !important;
}

.badges-role label.radio{
    border-radius:50px;
    margin-right: 6px;
    margin-bottom: 6px;
}

.village_mer{
    background-image: url('img/village-mer.png');
    background-attachment: fixed;
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: 600px;
}

.village_nature{
    background-image: url('img/village-nature.png');
    background-attachment: fixed;
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: 600px;
}

.village_montagne{
    background-image: url('img/village-montagne.png');
    background-attachment: fixed;
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: 600px;
}
