/*ajout de la police ETML*/

@font-face {
    font-family: "ETML";
    src: url("../../resources/font/ETML.ttf") format("truetype"), url("../../resources/font/ETML.woff") format("woff"), url("../../resources/font/ETML.woff2") format("woff2");
}


/*  Admin headerMenu  */
.AdminMenu {
    position: relative;
    display: inline-block;
  }
  
  .AdminMenu-content {
    display: none;
    position: absolute;
    background-color: rgb(28, 28, 192);
    color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 12px 16px;
    z-index: 10;
  }
    .AdminMenu-content a{
        display: flex;
        align-items: center;
    }
    .AdminMenu-content a i{
        margin-right: 10px;
    }
  
  .AdminMenu:hover .AdminMenu-content {
    display: flex;
  }

/* images accueil*/

.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.slideshow-container img {
    max-height: 400px;
    width: auto;
}

.mySlides:not(:first-child) {
    display: none;
}

.img-fluid {
    height: 372px;
}

#dot-container {
    width: 100%;
    padding: 16px 0;
    display: flex;
    justify-content: center;
}

#dot-parent {
    display: flex;
    flex-direction: row;
}

.dot {
    margin: 6px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: gray;
}

.dot.active {
    background-color: black;
}


/* animation */

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1s;
    animation-name: fade;
    animation-duration: 5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: 80%
    }
    to {
        opacity: 100%
    }
}


/* Tout en haut (nom école)*/

.toptop {
    text-align: center;
    text-decoration: none;
}

.toptop a {
    color: #004595;
    text-align: center;
    font-family: "ETML";
    font-size: 20px;
}

.toptop a:hover {
    color: #2862bf;
    text-decoration: none;
}


/* Style the links inside the navigation bar */

.navbar a {
    color: #f2f2f2;
    text-decoration: none;
    font-size: 18px;
    margin: 7px;
}

.navbar .link.active {
    background-color: #798737;
    border-radius: 20px;
}

.navbar .link:hover {
    border-radius: 20px;
    background-color: #3d4d21;
}

.navbar .link.active:hover {
    background-color: #798737;
}

.navbar-admin {
    background-color: darkblue !important;
}

.navbar-admin .link.active {
    background-color: blue;
}

.navbar-admin .link:hover {
    background-color: indigo;
}

.navbar-admin .link.active:hover {
    background-color: blue;
}

.textAccueil {
    font-size: 18px;
    margin: auto;
    border: 3px solid green;
    padding: 10px;
}

.textAccueil-admin {
    border: 3px solid darkblue !important;
}


/*contact*/

.imageContact img {
    margin: 4px;
}


/*barre "contact"*/

.contactbarre {
    background-color: #a1cc43;
    overflow: hidden;
}


/*barre de navigation text*/

.contactbarre p {
    float: left;
    font-weight: bold;
    padding: 0px;
    font-size: 27px;
    margin: 7px;
}

.map {
    margin-top: 4px;
}

h2 {
    padding-top: 30px;
    margin: auto;
}

h3 {
    padding-top: 30px;
    margin: auto;
}

.ligne {
    height: 1px;
    margin-left: auto;
    margin-right: auto;
    background-color: #a1cc43;
    overflow: hidden;
}

.ligne-admin,
.contactbarre-admin {
    background-color: darkblue !important;
}

.info {
    margin: auto;
}

.formulaire {
    padding-top: 20px;
    margin: auto;
    padding-left: 12px;
}

.col-12 {
    padding-top: 20px;
}


/*Page commander*/

submit {
    margin-top: 15px;
}

.Date {
    margin: auto;
    width: 50%;
    padding-left: 12px;
}

.Table {
    margin: auto;
    width: 50%;
    padding-left: 12px;
}

.Heure {
    margin: auto;
    width: 50%;
    padding-left: 12px;
}

.Reserver {
    margin: auto;
    width: 50%;
    padding-left: 12px;
}


/* Footer */

#footer {
    background-color: #556B2F;
    width: 100%;
}

.footer-admin {
    background-color: #00008b !important;
}

@media screen and (max-width: 992px) {
    .navbar .nav-link {
        padding-left: .5rem !important;
        padding-right: .5rem !important;
    }
    .navbar-right {
        flex-direction: row !important;
    }
}


/*
*
* ==========================================
* CUSTOM UTIL CLASSES
* ==========================================
*
*/


/* toggle switches with bootstrap default colors */

.custom-control-input-success:checked~.custom-control-label::before {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

.custom-control-input-danger:checked~.custom-control-label::before {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.custom-control-input-warning:checked~.custom-control-label::before {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
}

.custom-control-input-info:checked~.custom-control-label::before {
    background-color: #17a2b8 !important;
    border-color: #17a2b8 !important;
}


/* Large toggl switches */

.custom-switch-lg .custom-control-label::before {
    left: -2.25rem;
    width: 3rem;
    border-radius: 1.5rem;
}

.custom-switch-lg .custom-control-label::after {
    top: calc(.25rem + 3px);
    left: calc(-2.25rem + 4px);
    width: calc(1.5rem - 6px);
    height: calc(1.5rem - 6px);
    border-radius: 1.5rem;
}

.custom-switch-lg .custom-control-input:checked~.custom-control-label::after {
    transform: translateX(1.4rem);
}

.custom-switch-lg .custom-control-label::before {
    height: 1.5rem;
}

.custom-switch-lg .custom-control-label {
    padding-left: 1.5rem;
    line-height: 1.7rem;
}

#confirmation {
    position: relative;
    border: 1px solid #bbc0c5;
    padding: 10px;
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: calc(40px + 180px);
    top: 15px;
}

#confirmation p {
    display: inline-block;
    margin: 0;
    width: 260px;
}

#confirmation:before {
    position: absolute;
    content: '';
    width: 0; 
    height: 0; 
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #bbc0c5;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
}

#confirmation:after {
    position: absolute;
    content: '';
    width: 0; 
    height: 0; 
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid white;
    left: -9px;
    top: 50%;
    transform: translateY(-50%);
}

#confirmation > p.active {
    animation: grow 0.5s linear;
    color: green;
}

#confirmation > p.active::before {
    position: absolute;
    content: "\2713";
    animation: grow 0.5s linear;
    color: green;
    left: 10px;
}

.flex-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
}

.page {
    min-height: calc(100vh - 177.5px - 89px - 63.5px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fill {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.formulaire {
    padding: 0;
    height: 300px;
    width: 100%;
    margin: 0;
}

.page {
    display: flex;
    justify-content: center;
    align-items: center;
}

.but:hover {
    color: white;
    text-decoration: none;
}

.but {
    color: white;
}

.btn-content {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.eye {
    cursor: pointer;
}


.usersShower{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.userShower{
    display: flex;
    align-items: center;
    width: auto;
    margin:10px;
    min-width: 25%;
    padding: 10px;
    border-radius: 15px;
    background-color: rgb(207, 207, 207);
}
.userShower div{
    display: flex;
    align-items: center;
}


.userShower div p{
    margin: 0;
    margin-right: 20px;
}
.userShower .username{
    margin: 0;
    margin-right: 20px;
    margin-left: 20px;
}

.btnVerify {
    padding-left: 15px;
    width: 180px;
    text-align: center;
    text-decoration: none;
}

#userFormMenu{
    display: flex;
    flex-direction: column;
}
    #userFormMenu #saveBnt{
        margin-top: 25px;
    }

.navWeekMenuTabBnt{
    border:none;
    background: none;
}