html {
    font-size: 16px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    width: 100%;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1620px;
    }
}
/*NAVIGATION*/
.Menu {
    width: 100%;
    text-align: center;
    margin-top: 50px;
}

.side-menu {
    width: 100px;
}

.Menu button {
    width: 150px;
    height: 50px;
    background-color: #003560;
    color: white;
    border-radius: 20px;
    text-align: center;
    margin-left: 10px;
    margin-right: 10px;
}

/*FORMULAIRE*/
form {
    width: 100%;
}

    form input {
        font: 15px/24px "Lato", Arial, sans-serif;
        color: #333;
        width: 100%;
        box-sizing: border-box;
        letter-spacing: 1px;
        background-color: #ebebeb;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 5px;
    }

    form div label {
        display: block;
        padding-left: 10px;
        text-transform: uppercase;
        font-weight: 700;
        font-size: 0.95rem;
        letter-spacing: 0.025em;
        --tw-text-opacity: 1;
        color: rgb(55 65 81 / var(--tw-text-opacity));
    }

    form input:focus-visible {
        outline: none;
    }

    form .FlexContainer div:has(label + input:required:invalid) {
        padding-left: 10px;
        border-left: 7px solid #E74E4E;
    }

    form .FlexContainer div:has(label + input:read-only) {
        padding-left: 10px;
        border-left: 7px solid #0fb4b4;
        cursor: not-allowed;
    }

    form .FlexContainer div label + input:read-only {
        cursor: not-allowed;
    }

    form .FlexContainer div label:has(~input:read-only) {
        cursor: not-allowed;
    }

/*FORMULAIRE FLEX*/
.FlexContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    align-content: center;
    overflow: auto;
    flex-direction: row;
}

    .FlexContainer div {
        width: 33%;
        line-height: 20px;
        margin: 5px;
        background-color: #ebebeb;
        transition: all 0.1s ease;
        padding-left: 10px;
        border-left: 7px solid #003560;
        border-bottom: 1px solid #a7a7a7;
    }

        .FlexContainer div:has(label + input:not(:read-only)):hover {
            transform: scale(1.01);
        }

/*FORMULAIRE FLEX RESPONSIVE*/
@media only screen and (max-width: 1000px) {
    .FlexContainer div {
        width: 40%;
        line-height: 20px;
        margin: 10px;
        background-color: #ebebeb;
        transition: all 0.1s ease;
        padding-left: 10px;
        border-left: 7px solid #003560;
        border-bottom: 1px solid #a7a7a7;
    }
}

@media only screen and (max-width: 700px) {
    .FlexContainer div {
        width: 80%;
        line-height: 20px;
        margin: 10px;
        background-color: #ebebeb;
        transition: all 0.1s ease;
        padding-left: 10px;
        border-left: 7px solid #003560;
        border-bottom: 1px solid #a7a7a7;
    }
}

/*TABLE DE FORMULAIRE*/

.Delete {
    color: black !important;
    text-align: center;
}

    .Delete:hover {
        color: red;
    }

/*TITRES ET SOUS-TITRES*/
.title {
    line-height: 1.5;
    padding: 44px;
    color: #333;
    width: 350px;
    height: 2px;
    border-bottom: 1px solid;
    margin-bottom: 50px
}

h1 {
    font-size: 30px !important;
    color: #003560;
    text-transform: uppercase;
}

.fw-6 {
    font-weight: 600;
}

.fw-7 {
    font-weight: 700;
}

/*AFFICHER - CACHER*/
.Hide {
    display: none;
}

.Show {
    display: block;
}

/*Modification dataTable*/
.page-item.active .page-link {
    background-color: #759dc3 !important;
    border-color: #759dc3 !important;
}

background-color: var(--bs-table-striped-bg) !important;
}

.table .btn-secondary, .table .btn-outline-success {
    width: 50%
}

th {
    white-space: nowrap !important;
}

.dt-responsive th, .tableHeader td {
    background-color: #759dc3 !important;
    color: white;
    font-weight: 600;
}

.dt-responsive .even {
    --bs-table-accent-bg: #f3f3f3 !important;
    transition-property: background-color;
    transition-duration: 0.5s;
}

.dt-responsive .odd {
    --bs-table-accent-bg: #7473730d !important;
    transition-property: background-color;
    transition-duration: 0.5s;
}

.dt-responsive tr:hover {
    --bs-table-accent-bg: #7473733d !important;
}
/*TEMP*/
.primaryBackground {
    background-color: #192e58;
}

.card {
    padding: 1%;
    border-radius: 15px;
    margin: 2% auto;
    box-shadow: 6px 4px 5px 0px #9d9d9d4f;
    background-color: white !important;
    border: none;
}

.container {
    margin: 0 auto;
}

main, body {
    background-color: #EBEBEB;
}

.btn-primary {
    background-color: #003560 !important;
    border-color: #578b89;
}

    .btn-primary:hover {
        color: #fff;
        border-color: #415050;
    }

thead td {
    background-color: #6cb3b1 !important;
    color: white;
}

td {
    padding: 0 2px 0 2px;
}

[id^='lnkShow'] {
    cursor: pointer;
}

table {
    white-space: nowrap;
}

#observationTable input, #tabReportBonus input {
    background-color: white;
    border: solid 1px grey;
}

.toast-container {
    z-index: 1056 !important;
}

.Resume > div {
    width: 33%;
}

input {
    width: 60%;
    font-size: 11px;
}

label {
    font-size: 11px;
    width: 35%;
    display: flex;
    align-items: center;
    font-weight: 400;
}

textarea, select, table {
    font-size: 11px;
}

.bg-color-input {
    background: #759dc34d;
}

.bg-primary {
    background-color: #003560 !important
}

.bg-blue {
    background-color: #759dc3 !important
}

.list-group {
    border-bottom: 0.5px solid #759dc3;
    border-radius: 0 !important;
}

    .list-group li {
        background: #d7e1ed;
    }

        .list-group li.active-menu:not(.active) {
            color: #6c757d;
            font-weight: 500;
        }

.list-group-item.active {
    background-color: #759dc3 !important;
    color: white;
    font-weight: 600;
    font-size: 16px;
    border-bottom: none !important;
    border-radius: 0 !important;
}

.resumeActive {
    background-color: #6cb3b1 !important;
    color: white;
    border: 1px solid black !important;
    border-bottom: none !important;
}

.bg-secondary, .btn-primary {
    background-color: #6cb3b1 !important;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    font-size: small;
}

.text-secondary {
    color: #6cb3b1 !important;
}

.r-form {
    width: 30%;
    font-size: 0.8rem;
    margin: 0.5% 0;
}

.text-primary {
    color: #6c757d !important;
}

.list-group-item, .active {
    border-radius: 0 !important;
    border: 0 !important;
}

.dataTables_filter label {
    display: inline !important;
}

input:focus-visible {
    outline: 0px !important;
}

.card {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

#btnSaveReport {
    border-right: solid 10px #5E6368;
}

    #btnSaveReport:hover {
        border-right: solid 10px #6D757D;
    }

.card-btn {
    border-top-left-radius: 15px;
}

tr {
    margin-bottom: 5px;
}

.w-33 {
    width: 33%;
}

.w-40 {
    width: 40%;
}

.w-65-5 {
    width: 65.5%;
}

.w-97-5 {
    width: 97.5%;
}

.w-82-5 {
    width: 82.5%;
}

.w-32-5 {
    width: 32.5%;
}

.w-10 {
    width: 10%;
}

.w-15-5 {
    width: 15.5%;
}

.w-17-5 {
    width: 17.5%;
}

.w-97-5 {
    width: 97.5%;
}

.w-48-5 {
    width: 47.5%;
}

.gradiant-odd {
    background-color: #ebebebb3;
    padding: 4px;
}

.gradiant-even {
    background-color: #7473730d;
    padding: 4px;
}

/*Formulaire*/
.r-form {
    width: 32%;
    font-size: 0.8rem;
    margin: 0.5% 0;
}

label {
    font-weight: 400;
    text-transform: uppercase
}

input {
    padding: 0.25rem;
    border: 1px solid #cdcccc7d;
    font-size: small;
    background: #759dc34d;
}

    input[readonly]:not([type="checkbox"]) {
        background: #ebebeb6b;
        cursor: not-allowed;
    }

.Resume input:read-only {
    cursor: text;
}

.readonly {
    border-left: 5px solid #6c757d;
}

select {
    padding: 0.50rem;
}

.btn-blue {
    background-color: #759dc3 !important;
    border: #759dc3 !important;
    color: white;
}

    .btn-blue:hover {
        background-color: #4781b8 !important;
        color: white;
    }

input, th, td, button, span, select, textarea {
    font-size: 0.8rem !important;
}

label, .modal-body tr {
    font-size: 0.7rem !important;
}

#lnkShowReportFiles {
    border-radius: 0 5px 0 0 !important;
}

#divSparesPartsSearch .tableHeader {
    position: sticky;
    top: 0;
}

.text-grey {
    color: #5c636a;
}

#cloture {
    border-radius: 5px 5px 0 0 !important;
}

#lnkShowInformation {
    border-radius: 5px 0 0 0 !important;
}

textarea, select {
    border: 1px solid #cdcccc7d;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-color: rgba(205, 204, 204, 0.49);
    border-right-color: rgba(205, 204, 204, 0.49);
    border-bottom-color: rgba(205, 204, 204, 0.49);
    border-left-color: rgba(205, 204, 204, 0.49);
    border-image-source: initial;
    border-image-slice: initial;
    border-image-width: initial;
    border-image-outset: initial;
    border-image-repeat: initial;
    background: #759dc34d;
    cursor: pointer;
}

#divSparesPartsSearch {
    max-height: 40vh;
}

.heigthRowTable {
    height: 32px;
    display: table;
}

    .heigthRowTable span {
        display: table-cell;
        vertical-align: middle;
    }

/* Absolute Center Spinner */
.loading {
    position: fixed;
    z-index: 9999;
    height: 2em;
    width: 2em;
    overflow: visible;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

    /* Transparent Overlay */
    .loading:before {
        content: '';
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.3);
    }

    /* :not(:required) hides these rules from IE9 and below */
    .loading:not(:required) {
        /* hide "loading..." text */
        font: 0/0 a;
        color: transparent;
        text-shadow: none;
        background-color: transparent;
        border: 0;
    }

        .loading:not(:required):after {
            content: '';
            display: block;
            font-size: 10px;
            width: 1em;
            height: 1em;
            margin-top: -0.5em;
            -webkit-animation: spinner 1500ms infinite linear;
            -moz-animation: spinner 1500ms infinite linear;
            -o-animation: spinner 1500ms infinite linear;
            animation: spinner 1500ms infinite linear;
            border-radius: 0.5em;
            -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
            box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
        }

/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.circle-error {
    width: 800px;
    height: 800px;
    background-color: #cdcccc5f;
    border-radius: 50%;
}

.error-template {
    padding: 40px 15px;
    text-align: center;
}

.error-actions {
    margin-top: 15px;
    margin-bottom: 15px;
}

    .error-actions .btn {
        margin-right: 10px;
    }

.glyphicon-home, .glyphicon-envelope {
    font-size: 20px;
}

@media(max-width : 1480px) {
    label, input, select, textarea, p, td, th, button {
        font-size: 10px !important;
    }

    span {
        font-size: 10px !important;
    }

    h6, .list-group-item {
        font-size: 12px !important;
    }
}

#lnkShowHistoricPage {
    position: fixed;
    z-index: 2;
    right: 2%;
    bottom: 2%;
    display: inline-block;
    width: 40px;
    color: #003560;
    cursor: pointer;
    transition-property: transform;
    transition-duration: 0.3s;
}

    #lnkShowHistoricPage:hover {
        transform: scale(1.2);
    }


/*Modification boostrap*/
.modal {
    display: none;
    width: 100%;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    width: 66%;
    margin: 3% 17.5%;
    background-color: white;
    padding: 2%;
    border-radius: 15px;
}

@media (max-width: 832px) { /* 13 inches in pixels */
    .modal-content {
        margin: 3% 2.5%;
        width: 95%;
        justify-content: center;
    }
}

.modal-action {
    padding: 1rem;
}

.modal-dialog {
    max-width: none !important;
}

.table-head th, .tableHeader td {
    background-color: #759dc3 !important;
    color: white;
    font-weight: 600;
}

.table-head .even {
    --bs-table-accent-bg: #f3f3f3 !important;
    transition-property: background-color;
    transition-duration: 0.5s;
}

.table-head .odd {
    --bs-table-accent-bg: #7473730d !important;
    transition-property: background-color;
    transition-duration: 0.5s;
}

.table-head tr:hover {
    --bs-table-accent-bg: #7473733d !important;
}