@font-face {
    font-family: "Nunito Sans";
    font-style: normal;
    font-weight: 400;
    src: url("/css/NunitoSans/nunito-sans.regular.ttf") format("woff"),
    url("/css/NunitoSans/nunito-sans.regular.ttf") format("opentype"),
    url("/css/NunitoSans/nunito-sans.regular.ttf") format("truetype");
}

@font-face {
    font-family: Lato;
    font-style: normal;
    font-weight: 400;
    src: url("/css/Lato/Lato-Regular.ttf") format("woff"),
    url("/css/Lato/Lato-Regular.ttf") format("opentype"),
    url("/css/Lato/Lato-Regular.ttf") format("truetype");
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: "Nunito Sans", Arial, Helvetica, Verdana, Geneva, sans-serif;
    font-size: 1.1rem;
    line-height: 1.42857143;
    color: #555555;
}

header {
    /*background-color: #0C426F;*/
    /*background-color: #145482;*/
    background-color: #0D47A1;
    width: 100%;
    padding: 0 12px;
}

/*#navigation {*/
/*    background-color: #059FDF;*/
/*    padding: 0 12px;*/
/*    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);*/
/*}*/

main {
    display: flex;
    flex: 1 1 auto;
    padding: 0 12px;
}

footer {
    /*background-color: #5D626E;*/
    background-color: #606060;
    color: #FFF;
    font-size: 12px;
    line-height: 18px;
    padding: 6px;
    margin: 0px;
    text-align: center;
}

footer p {
    margin: 0px;
}

#contenu_page {
    max-width: 1532px;
    padding: 12px;
}

.cache {
    display: none;
}

.noscreen {
    display: none;
}

#divlogo {
    top: 0px;
    margin: 6px 0px 6px 50px;
    padding: 0px;
    background-image: url(/images/logo-ecole.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    float: left;
    height: 140px;
    width: 150px;
    display: inline-block;
}

#diventete {
    max-width: 1532px;
    padding-bottom: 6px;
    padding-left: 0px;
    padding-right: 0px;
}

#div-aidhor {
    line-height: 1.2em;
    font-size: 45px;
    color: #FFF;
    text-shadow: 0 1px 1px #000000;
    text-align: right;
    padding-right: 12px;
}

#div-aidhor-span {
    line-height: 6rem;
    letter-spacing: .5rem;
}

#divsoustitre {
    color: #fff;
    font-size: 30px;
    line-height: 30px;
    margin-top: 12px;
    padding: 0 0 6px;
    text-align: right;
    text-decoration: none;
}

#divsession {
    color: #f0f0f0;
    text-align: right;
    font: 500 18px Arial, Helvetica, sans-serif;
    text-decoration: none;
    text-shadow: 0 1px 1px #000000;
    margin: 12px 0px 0px 0px;
}

.modal-dialog {
    /*min-width: 860px;*/
    min-width: fit-content;
}

.modal-header {
    background-color: #33b5e5;
    color: white;
}

.modal-footer {
    background-color: #DAE1ED;
}

.modal-header .btn-close {
    color: white;
}

.modal-header {
    cursor: move;
}

.modal-dialog {
    position: relative;
    display: table;
    overflow: auto;
    width: auto;
    /*min-width: 800px;*/
    min-width: fit-content;
}

.modal-body { /* Restrict Modal width to 95% */
    overflow-x: auto !important;
    max-width: 98vw !important;
    /*min-height: 500px;*/
}

.ui-autocomplete {
    z-index: 2147483647;
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    font-family: Verdana, Geneva, sans-serif;
    font-size: .9rem;
}

.ui-menu-item .ui-menu-item-wrapper.ui-state-active {
    background: #2FA4E7 !important;
    color: #ffffff !important;
    border: none !important;
}

.btn {
    border: 0;
    border-radius: .125rem;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.btn-danger {
    background-color: #ff3547 !important;
}

.btn-success {
    background-color: #00c851 !important;
}

.btn-amber {
    color: #fff;
    background-color: #ffa000 !important;
}

.btn-amber:hover {
    color: #fff;
    background-color: #ffaa1a
}

.btn-amber:focus {
    -webkit-box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15)
}

.btn-amber:focus, .btn-amber:active {
    background-color: #996000
}

.modal-header.modal-aide {
    background-color: #00c851 !important;
}

.fa-solid {
    margin-right: 6px;
}

.form-select {
    padding: 0.175rem 2.25rem 0.175rem 0.75rem;
}

div.dt-buttons {
    margin-bottom: 6px;
}

button.dt-button {
    padding: 0.25em 0.5em;
    line-height: inherit;
}

.dataTables_filter {
    margin-bottom: 0.25em;
}

table.table-bordered.dataTable th {
    padding: 6px 6px;
    border-bottom: 1px solid #dee2e6;
    border-bottom-width: 2px;
    background-color: #00A7E3;
    color: white;
    font-weight: normal;
    text-align: center;
}

table.table-bordered.dataTable td {
    border-bottom: 1px solid #dee2e6;
    padding: 3px 12px;
}

table.dataTable.no-footer {
    border-bottom-width: 0px;
}

.dataTables_wrapper .dataTables_filter {
    float: left;
    padding-left: 30px;
}

.dataTables_wrapper .dataTables_paginate {
    float: left;
    padding-left: 30px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: inherit;
    font-size: .88em;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #E0FFFF;
    color: white !important;
    border-radius: 4px;
    border: 1px solid #cccccc;
}

.page-item.active .page-link {
    z-index: 3;
    background-color: #0d6efd;
    background: linear-gradient(to bottom, white 0%, #dcdcdc 100%);
    color: #333 !important;
    border: 1px solid #979797;
}

.page-link {
    border: 1px solid rgba(0, 0, 0, 0.3);
    color: #333 !important;
}

.page-link:focus {
    box-shadow: none;
}

.page-item:first-child .page-link, .page-item:last-child .page-link {
    background: linear-gradient(to bottom, rgba(230, 230, 230, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
    color: black;
}

#divtitre {
    display: flex;
    flex-flow: wrap;
    white-space: nowrap;
    margin-bottom: 6px;
}

.modal-footer {
    justify-content: flex-start;
}

.tooltip-inner {
    background-color: green;
    color: white;
    box-shadow: 0px 0px 4px black;
    opacity: 1 !important;
    font-size: larger;
    border: 1px solid #616161;
    text-align: left;
    max-width: 800px;
    /*white-space: nowrap;*/
    white-space: initial;
}

.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #616161;
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: #616161;
}

.tooltip.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: #616161;
}

.tooltip.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: #616161;
}

div.dataTables_wrapper div.dataTables_info {
    padding-top: 0em;
}

@media only screen and (max-height: 810px), screen and (max-width: 600px) {
    #divlogo {
        margin: 6px 0px 6px 50px;
        background-image: url(/images/logo-ecole-90.png);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        height: 90px;
        width: 96px;
    }

    #div-aidhor-span {
        line-height: 3rem;
    }

    #divsession {
        margin: 0px;
    }

    body {
        font-size: 1rem;
    }

    .table > :not(caption) > * > * {
        padding: 0.2rem 0.2rem;
    }
}

@media only screen and (max-width: 400px) {
    #divlogo {
        margin: 6px 0px 6px 10px;
    }
}

@media only screen and (max-width: 1050px) {
    body {
        font-size: 1rem;
    }

    .table > :not(caption) > * > * {
        padding: 0.2rem 0.2rem;
    }
}

@media (max-width: 2000px) {
    #contenu_page {
        max-width: 1300px;
    }
    #diventete {
        max-width: 1300px;
    }
}

@media (max-width: 1050px) {
    body {
        font-size: 1rem;
    }

    main {
        padding: 0px;
    }

    #contenu_page {
        padding: 3px;
    }
}

@media (max-width: 810px) {
    body {
        font-size: 1rem;
    }

    main {
        padding: 0px;
    }

    #divlogo {
        margin: 6px 0px 6px 50px;
        background-image: url(/images/logo-ecole-90.png);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        height: 90px;
        width: 96px;
    }

    #div-aidhor-span {
        line-height: 2rem;
        font-size: 24px;
    }

    #divsession {
        margin: 0px;
    }

    #contenu_page {
        padding: 3px;
    }

    .table > :not(caption) > * > * {
        padding: 0.1rem 0.1rem;
    }
}

@media (max-width: 610px) {
    body {
        font-size: 0.9rem;
    }

    .navbar {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    #divsession {
        display: none;
    }
}
