

/* ACF Form Field DEBUT */ 

/* Se met tout les champs du form actuellement a partir de function.php */
/*
.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
*/
/* Dashboard Prof */

.bg-dash-1 {
    background-color: #dff5f4;
}

.bg-dash-2 {
    background-color: #e7f0f0;
}

/* Class bootstrap */

/* Margin/Padding */

/*
.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: 1em;
}

.mt-2 {
    margin-top: 2em;
}

.mt-3 {
    margin-top: 3em;
}

.mb-1 {
    margin-bottom: 1em;
}

.mr-1 {
    margin-right: 1em;
}

.mr-5-percent {
    margin-right: 5%;
}

/* Flex and width/height */
  
/*
.w-100 {
    width: 100%;
}

.w-80 {
    width: 80%;
}

.d-flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-end {
    justify-content: end;
}
*/

/*
@media (min-width:576px) {
        .modal-dialog {
            max-width: 500px;
            margin: 3rem auto;
    }
}
*/

@media (min-width: 640px) {
    .container, .container-fluid, .container-sm {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container, .container-fluid, .container-md, .container-sm {
        max-width: 720px;
    }

    .modal-dialog {
        max-width: 600px;
        margin: 5rem auto;
    }
}

@media (max-width: 992px) {
    .label_lien {
        padding: 0;
    }
}

@media (min-width: 992px) {
    .container, .container-fluid, .container-lg, .container-md, .container-sm {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1140px;
    }

    .modal-dialog {
        max-width: 800px;
        margin: 6rem auto;
    }

    .menu-menu-principal-fr-container {
        width: 75% !important;
    }
}

@media (min-width: 1441px) {
    .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1380px;
    }
}

@media (min-width: 1680px) {
    .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl, .container-xxxl {
        max-width: 1640px;
    }
}


/* Design */

.nav-wrapper {
    position: relative;
    z-index: 1;
}

.rounded-pill {
    border-radius: 2rem !important;
    padding: 25px 30px 25px 50px;
}

.download-icon {
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.svg-width {
    width: 30px;
}

.svg-width-25 {
    width: 25px;
}

.svg-width-20 {
    width: 20px;
}

.svg-width-15 {
    width: 15px;
}

.overflow-x-auto {
    overflow-x: auto;
}

.acf-radio-disabled input[type="radio"] {
    pointer-events: none; 
    opacity: 0.5;
}


/* Text */

.text-decoration-underline {
    text-decoration: underline !important;
}

/* Loading spinner */

#loading-spinner-fieldgen {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000; 
}

.spinner-fieldgen {
    border: 16px solid #dff5f4; 
    border-top: 16px solid green;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.opacity-low {
    opacity: 0.6;
}

/* Recherches admin */

.author-search {
    border: 1px solid #22b9b5;
    background-color: transparent!important;
    font-weight: 300;
    font-size: 16px;
    height: 43px;
    font-style: italic;
    background-repeat: no-repeat;
    width: 100%;
    position: relative;
    margin-top: 7.5px;
    border-radius: 10px;
    padding: 0 15px;
    color: #22b9b5;
}

.author-search-btn {
    border: 0!important;
    background-color: transparent!important;
    width: 30px!important;
    position: absolute;
    right: 5px;
    top: 59%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 99;
}

/* Classes Bootstrap surchargée pour tout le site */

.table-hover tbody tr:hover {
    background-color: #def5f4;
}

.table thead th {
    background-color: #21b9b5;
    color: white;
    border-right: 3px solid white;
    border-bottom: unset;
}

.table td {
    border-right: 4px solid white;
    /*background-color: rgba(245, 245, 245, 255);*/
    border-bottom: 3px solid white;
}


/* 
Montrer seulement une option pour le choix de l'année scolaire

Masquer toutes les options par défaut 

.acf-field[data-name="academic_year"] .acf-input input {
    display: none;
}
*/
/* Afficher uniquement la première option (ou une option spécifique)
.acf-field[data-name="academic_year"] .acf-input input[value="2023-2024"] {
    display: inline-block;
}
*/

/* ACF Form Field FIN */ 