:root {
    --size-of-thumb : 500px;
    --primary-light-blue: #00B9C3;
    --primary-dark-blue: #281E6E;
    --primary-yellow: #FFDD14;
}

body {
    background-color: whitesmoke;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;

    text-align: center;
    font-family: Arial, sans-serif;
    margin-left: 5%;
    padding: 10px;
    background-image: url('../image/fond2.png');

}

.header {
    background-color: var(--primary-dark-blue);
    color: white;
    padding: 10px 20px;
    text-align: center;
}

#myVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
}

.requiredAsterisk {
    color: black;
    font-size-adjust: 0.7;
}
.sidebar {
    width: 3%;
    background-color: var(--primary-dark-blue);
    color: white;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    z-index: 99;
    scrollbar-width: none;
    overflow-x: scroll
}

.plan-sidebar {
    width: 15%;
    background-color: var(--primary-dark-blue);
    color: white;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
}

.endofsidebar {
    bottom: 20px;
    position: fixed;

}

.sidebar a {
    padding: 15px 20px;
    text-decoration: none;
    color: white;
    display: block;
}

.sidebar a:hover {
    background-color: var(--primary-light-blue);
}

.loginForm {
    background-color: var(--primary-dark-blue);
    padding: 30px;
    width: 350px;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: auto;
    right: 5%;
    margin: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Initial State - Off-screen to the right */
    overflow: hidden;
    /* Apply the animation */
    animation: slideIn 1s ease-out forwards;
}

/* Keyframes for the slide-in animation */
@keyframes slideIn {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

a {
    color: #004B7C;
}

a:link {
    text-decoration: none;
}

input[type=checkbox] {
    width: 16px;
    height: 16px;
}

.actions > a {
    color: #004B7C;
    margin: initial;
}

#logo {
    -webkit-transition: all 0.5s ease;
}

#logo:hover {
    transform: scale(1.1);
}

#buttonDeconnexion {
    -webkit-transition: all 0.1s ease;
}

#buttonDeconnexion:hover {
    transform: scale(1.1);
}

#buttonParametre {
    -webkit-transition: all 0.1s ease;
}

#buttonParametre:hover {
    transform: scale(1.1);
}

#horloge {
    color: white;
    font-size: 24px;
    margin-right: 30px;
    font-weight: 700;
    border-radius: 8px;
    padding: 5px 10px;
    background-color: #00000066;
}

#form_login {
    background-color: darkgray;
    width: 500px;
    margin: auto;
    padding: 20px;
    border-radius: 20px;
    border: 15px solid #555;
}

#form_login > input {
    padding: 5px 10px;
    font-size: 18px;
    border-radius: 5px;
    border-style: solid;
    border-width: 1px;
}

.alert-danger {
    color: crimson;
    font-weight: bold;
    margin-bottom: 15px;
}

#div-menu > a {
    margin-left: 10px;
    margin-right: 10px;
}

tr.ligneDesactive > td {
    background-color: whitesmoke !important;
}

.btn-table {
    padding: 10px;
    background-color: white;
    color: black;
    font-weight: 600;
    border-radius: .5rem;
    cursor: pointer;
    border: none;
}

.btn-valider {
    width: 220px;
    font-size: 20px;
    padding: 20px 30px;
}

.btn-action {
    width: initial;
    border: dimgray 2px solid;
}

.btn-valider {
    margin: 10px;
}

h1 {
    color: white;
}

.hidden {
    display: none;
}

.page-div {
    margin-top: 10px;
    display: flex;
    background-color: whitesmoke;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.page-index {
    display: flex;
    background-color: whitesmoke;
    padding: 10px;
    font-size: 14px;
    color: var(--primary-dark-blue);
}

.page-titre {
    max-width: 550px;
    border-radius: 30px;
    margin: auto auto 10px;
    padding: 8px 40px;
    color: var(--primary-dark-blue) ;
    font-weight: 800;
    font-size: 1.5em;
}

.page-button {
    text-align: right;
    padding-top: 5px;
    padding-bottom: 5px;
    display: flex;
}

.page-button > a, .page-button > form {
    text-align: right;
    padding-top: 10px;
    margin-right: 30px;
}

.button-add {
    background-color:  var(--primary-light-blue);
    color: white;
    border: 1px darkgray solid;
    display: inline-flex;
    padding-left: 40px;
    padding-right: 40px;
}

.button-add > img {
    margin-right: 10px;
}

#page-div-end {
    text-align: left;
    padding: 5px 20px;
    background-color: var(--primary-dark-blue);
    color: white;
}

#page-div-endround {
    display: flex;
    background-color: whitesmoke;
    padding: 20px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    justify-content: center;  /* Centers horizontally */
    align-items: center;      /* Centers vertically */
}

.page-div-limit {
    padding: 3px 20px;
    background-color: dimgray;
    color: white;
}

ul.form-error {
    background-color: #FFFFFFAA;
    color: red;
    font-weight: 700;
    padding: 10px;
    width: 50%;
    margin: auto;
    list-style-type: none;
}

ul.form-error > li {
    padding: 10px;
}

table.stable {
    border: darkgray 1px solid;
    border-collapse: collapse;
    width: 100%;
    font-size: 12px;
}

.fixedScrollbar::-webkit-scrollbar {
    display: none;
}

/* Styles pour l'input range */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 20px;
    background-color: #ccc; /* Fond gris clair */
    border-radius: 5px;
    outline: none;
    margin: 10px 0;
}

/* Styles pour le thumb */
input[type="range"].scrollingSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: var(--size-of-thumb);
    height: 10px;
    background-color: dimgray;
    border: 0 solid #333; /* Bordure du thumb */
    border-radius: 4px;
    cursor: pointer;
}

input[type="range"].scrollingSlider::-moz-range-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: var(--size-of-thumb);
    height: 10px;
    background-color: dimgray;
    border: 0 solid #333; /* Bordure du thumb */
    border-radius: 4px;
    cursor: pointer;
}

div#divscroll{
    width:100%;
    position: fixed;
    z-index: 200;
    bottom:0;
    background-color: #E0F5FF;
}

/* Styles pour la partie remplie */
input[type="range"].scrollingSlider::-webkit-slider-runnable-track {
    width: 100%;
    height: 10px; /* Hauteur de la partie remplie */
    background-color: #E0F5FF;
    border-radius: 5px;
}

.fix {
    position: sticky;
    left: 0;
    border-left: 1px solid black;
    z-index: 1;
}

table.stable > thead > tr > th, table.stable > tbody > tr > th {
    border: darkgray 1px solid;
    padding: 5px;
    background-color: var(--primary-dark-blue);
    color: white;
    height: 30px;
}

table.stable > tbody > tr > td {
    border: darkgray 1px solid;
    padding: 2px;
    background-color: #E0F5FF;
}

table.stable > tbody > tr > th {
    width: 25%;
}

table.stable > thead > tr > th > span, .page-titre {
    cursor: pointer;
}

table.stable > thead > tr > th > img {
    height: 14px;
}

table.soustable {
    font-size: 12px;
}


table.tablesidebar {
    border-collapse: collapse;
    width: 100%;
    margin-top: 10%;
    margin-bottom: 10%;
    text-align: center;
}

table.tablesidebar th {
    background-color: grey;
    color:white;
    border: solid black 1px;
    font-size: 14px;

}
table.tablesidebar td {
    background-color: whitesmoke;
    color:black;
    border: solid black 1px;
    font-size: 12px;

}

td.actions {
    width: 100px;
    height: 30px;
}

td.actions > a > img {
    opacity: 0.6;
    border: black solid 1px;
    border-radius: .2rem;
    padding: 2px;
}

td.actions > a > img:hover {
    width: 20px;
    opacity: 1;
}

td.cellule:hover {
    cursor: pointer;
    animation-name: hideHover;
    animation-duration: 3s;
}

@keyframes hideHover {
    0% {
        box-shadow: inset 0 0 2px 2px grey;
    }
    100% {
        box-shadow: inset 0 0 0 0 grey;
    }
}

th.campagne:hover {
    cursor: pointer;
    border: white solid 1px;
}

.dataInput:focus {
    background-color: transparent;
    outline: none;
    border: none;
    font-size: 12px;
}

.labelClass {
    font-weight: 600;
    color: white;
    font-size: 16px;
    width: 150px;
    display: inline-block;
}

#labelInputLost {
    width: 160px;
    margin-right: 20px;
}

.formLigne {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    background-color: whitesmoke;
}

.formTitre {
    display: block;
    text-align: left;
    padding-left: 20px;
    font-weight: 700;
    width: inherit;
}

.formLigneCouleur1 {
    background-color: #ffe0e0;
}

.formLigneCouleur2 {
    background-color: #e6ffe0;
}

.formLigneCouleur3 {
    background-color: #fffbe0;
}

.formChamp {
    display: flex;
    margin-left: 20px;
    margin-right: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    justify-content: center;  /* Centers horizontally */
    align-items: center;      /* Centers vertically */
}

.formLabel,
#param_user_password > div > label, #param_personnel_password > div > label {
    padding: 5px 8px;
    font-size: 14px;
}

#param_user_password > div ,#param_personnel_password > div {
    padding: 5px;
}

#param_user_password > div > ul > li, #param_personnel_password > div > ul > li {
    color: red;
    font-weight: 700;
}

.formLecture {
    padding: 5px 8px;
    font-size: 14px;
    background-color: #FFFFFFAF;
    font-weight: 700;
}

.formWidget > input,
.formWidget > textarea,
.formWidget > select,
.formWidget > div > select,
#param_user_password_first,
#param_user_password_second,
#param_personnel_password_first,
#param_personnel_password_second

{
    padding: 5px 8px;
    border-radius: 5px;
    border-style: solid;
    border-width: 1px;
    font-size: 14px;
    font-family: sans-serif;
}

.formWidget > textarea {
    width: 750px;
    height: 50px;
}

.formWidget > input:hover {
    box-shadow: 0 0 2px #7799d0;
    border-color: #7799d0;
}


.formWidget > .SumoSelect > .CaptionCont {
    border-radius: 5px;
    font-size: 14px;
}

.formWidget > .SumoSelect.open > .optWrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    margin: auto;
    max-height: 80%;
}

.formWidget > .SumoSelect > .optWrapper > .options {
    max-height: 100%;
}

.formWidgetParametre {
    padding: 10px 0 30px 0;
}

.formOnglet {
    border-radius: unset !important;
    border: 0 solid white !important;
    background-color: #E0F5FF;
}

.formError {
    color: red;
    font-weight: bold;
}

.row {
    display: flex;
    margin: auto;
    width: 100%;
}

.row-label {
    border: darkgray 1px solid;
    padding: 10px;
    background-color: dimgray;
    color: white;
    height: 30px;
    width: 25%;
    font-weight: 600;
    display: flex;
}

.row-title, table.stable > tbody > tr > td.row-show-title {
    border: darkgray 1px solid;
    padding: 10px;
    background-color: dimgray;
    color: white;
    height: 30px;
    width: 100%;
    font-weight: 600;
    font-size: 20pt;
}

.row-data {
    border: darkgray 1px solid;
    padding: 10px;
    background-color: #E0F5FF;
    color: black;
    height: 30px;
    width: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.row-block {
    display: block;
    height: inherit;
}

.row-block > div {
    padding: 5px 10px 5px 100px;
    text-align: left;

}

.row-label-euee {
    width: 75%;
    background-color: #E0F5FF;
    color: black;
    font-weight: normal;
}

.row-data-euee {
    width: 25%;

}

.row-label > label {
    margin: auto;
}

.row-large {
    height: auto;
}

.row-data > select, .row-data > input, th > input, .row-data > div > input, .champIndependant {
    font-size: 16px;
    padding: 5px 8px;
    border-radius: 5px;
    border-style: solid;
    border-width: 1px;
}

.input-large > select, .input-large > input, .input-large > div > input {
    width: 50%;
}

.input-lieu {
    display: block;
}

.input-lieu > select, .input-lieu > div {
    width: 100%;
    text-align: left;
}

.input-lieu > input {
    width: 50%;
}

.input-lieu > div.SumoSelect > div.optWrapper > .options {
    max-height: 600px;
}

.input-radio > input {
    margin-left: 20px;
}

.row-data > select {
    min-width: 200px;
}

.row-data > .datepicker, .champDateIndependant {
    width: 140px;
    text-align: center;
}

.filter, .filter-affichage {
    padding: 5px 8px;
    font-size: 12px;
}

.SelectBox, .optWrapper {
    color: black;
}

th > div > p > span {
    font-weight: 200;
}

th > input {
    border-radius: 2px;
}

th.boutonsAction {
    min-width: 50px;
}

th.boutonsAction3 {
    min-width: 75px;
}

th.boutonsAction4 {
    min-width: 100px;
}

.material-icons {
    font-family: 'Material Icons', serif;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

table.dtp-picker-days tr > td > a {
    font-size: 1.2em;
}

#buttonParametre, #buttonDeconnexion {
    margin-right: 15px;
    margin-top: 5px;
}

#buttonParametre {
    background-color: #b7b7b7;
}

.ui-widget-header {
    background: #666;
    font-size: 14px;
}

/*  BARRE DE MENU */

#div-menu {
    padding: 0 0;

}

#div-deroulant {
    padding: 0 0;
    color: white;
}

#div-bandeau {
    display: flex;
    padding: 0 0;

}

#div-deroulant > a {
    margin-left: 15px;
}

#div-deroulant > a > button {
    height: 50px;
    width: 100px;
    -webkit-transition: all 0.1s ease;
    font-size: 13px;
    margin-bottom: 2px;
}

#div-deroulant > a > button:hover {
    transform: scale(1.1);
}

@media (max-width: 767px) {
}

@media screen and (min-width: 768px) and (max-width: 1265px) {

}

@media screen and (max-width: 1600px) {

}

/* FIN BARRE DE MENU */



#tableEntreprise {
    margin-bottom: 1em;
}

.tableVisiteInterference td {
    border: 1px solid black;
}

.tableVisiteInterference {
    width: 100%;
    table-layout: fixed;
}


