:root {
    --text-color: #08335C;
    --theme-color: #08335C;

    --border-radius: 7px;
}

@font-face {
    font-family: DinPro;
    src: url('./DINPro.otf');
}
body {
    background-color: var(--theme-color);
    background-image: url("./background.svg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    min-height: 100vh;

    margin: 0px;
    padding: 0px;

    max-width: 100%;
    overflow-x: hidden;
}
* {
    font-family: DinPro, Arimo, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.disabled {
    pointer-events: none;
}

.centered {
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
}
.left {
    float: left;
    padding-right: 20px;
}
.right {
    float: right;
    padding-right: 20px;
    margin-top: 10px;
}

.reverse_br {
    margin-top: -80px;
}
.tab_link {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    cursor: pointer;

}
.tab_link_active {
    background-color: var(--theme-color);
    color: white;
}

.text {
    font-size: 16px;
    color: #222;
}
.login_text {
    padding-top: 20px;
    padding-bottom: 20px;
}
.small_text {
    margin-top: -18px;
    padding-left: 5px;
    font-size: 14px;
}
.medium_text {
    font-size: 22px;
}
.big_text {
    font-size: 26px;
}
.huge_text {
    font-size: 50px;
    margin-top: 3px;
    margin-bottom: 3px;
}
.welcome_text {
    text-align: justify;
}
.title {
    padding-left: 10px;
    margin-top: 5px;
}
.error_text {
    color: orange;
    font-weight: bold;
    text-align: center;
    font-size: 18px;
    padding-top: 73px;
    margin-bottom: -63px;
    margin-top: 5px;
}
.login_error_text {
    padding-top: 0px;
    margin-bottom: 0px;
}
.message_text {
    color: lightgreen;
    font-weight: bold;
    text-align: center;
    font-size: 18px;
    padding-top: 73px;
    margin-bottom: -63px;
    margin-top: 5px;
}
.clickable_text {
    color: var(--text-color);
    cursor: pointer;
}
.checkbox_text {
    margin-top: 0px;
}
.discrete_link {
    text-decoration: none;
    color: var(--text-color);
    cursor: pointer;
}
.link {
    text-decoration: none;
    color: var(--text-color);
    cursor: pointer;
}
p .link:hover {
    text-decoration: underline;
}
.link:hover p {
    text-decoration: underline;
}
.no_underline {
    text-decoration: none;
}
p .no_underline:hover {
    text-decoration: none !important;
}
.no_underline:hover p {
    text-decoration: none !important;
}
.banner_link {
    padding-left: 10%;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: -10px;
    margin-left: -11px;
    margin-right: -11px;
    border-radius: var(--border-radius);
    color: var(--text-color);
    cursor: pointer;
    text-decoration: none;

    background: linear-gradient(45deg, var(--theme-color) 0%, var(--theme-color) 50%, #FFF 50%, #FFF 100%);
    background-size: 260% 100%;
    background-position: 100% 0;
    transition: background-position 0.4s;
}
.banner_link:hover {
    background-color: var(--theme-color); 
    background-position: 0 0;
    color: white;
    text-decoration: none;
}
.picked_option {
    background-color: var(--theme-color);
    color: white;
    background-position: 0 0;
}
.picked_option:hover {
    background-color: var(--theme-color);
}
.banner_separation_line {
    margin-top: -23px;
    margin-bottom: 32px;
    width: 82px;
    margin-left: 83px;
}
.big_icon {
    font-size: 23px;
}
.giant_icon {
    font-size: 75px;
    height: 75px;
    display: inline-block;
    width: 100%;
    text-align: center;
}
.giant_icon_img {
    height: 100px;
    width: auto;
    display: block;
}
.red {
    color: #D72638;
}
.orange {
    color: #F08016;
}
.blue {
    color: #08335C;
}
.white {
    color: white;
}
.bold {
    font-weight: bold;
}
.inline {
    display: inline;
    float: none !important;
}
.colored_border {
    border-color: #F08016;
}
.colored_text {
    color: #F08016;
    font-weight: bold;
}
.div_text {
  padding-left: 20px;
  margin-top: -15px;
}
.description_div {
    font-style: italic;
    padding-top: 0.1px;
    padding-bottom: 0.1px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #EEEEEE;
    border-radius: var(--border-radius);
}
#BACKTOTOP_BUTTON {
    position:fixed;
    bottom:11px;
    right:11px;
    background-color: white;
    border-radius: 22px;
    border-width: 5px;
    height: 42px;
    width: 42px;
    z-index: 200;
}
#BACKTOTOP_BUTTON div {
    margin-top: 2.1px;
    margin-left: 2.1px;
    background-color: white;
    border-radius: 20px;
    height: 38px;
    width: 38px
}
#BACKTOTOP_BUTTON div i {
    padding-top: 11.5px; 
    padding-left: 11px;
}
#BACKTOTOP_BUTTON:hover div {
    background-color: var(--theme-color) !important;
}
#BACKTOTOP_BUTTON:hover div i {
    color: white;
}

.form_input::file-selector-button {
    margin-left: -8px;
    margin-top: -9px;
    padding: 9px;
    padding-right: 30px;
    text-align: left;
    border: 2px;
    border-color: #000;
    cursor: pointer;
}
.form_input {
    margin-bottom: 20px;
    width: 99%;
    padding: 9px;
    box-shadow: none;
    border-radius: var(--border-radius);
    border-width: 2px;
}
.big_input {
    margin-left: auto;
    margin-right: auto;
    width: 100% !important;
    min-width: 0 !important;
    display: block;
}
textarea.big_input {
    height: 200px;
    resize: none;
}
.large_input {
    float: left !important;
    width: 65% !important;
    margin-right: 15px !important;
}
.small_input {
    float: left !important;
    width: 35% !important;
    margin-right: 15px !important;
    min-width: 0px !important;
}
.smaller_input {
    float: left !important;
    width: 15% !important;
    margin-right: 15px !important;
    text-align: center !important;
}
.smallest_input {
    float: left !important;
    width: 43px !important;
    margin-right: 10px !important;
    text-align: center !important;
    min-width: 0px !important;
}
.table_input {
    width: 95% !important;
    min-width: 0px !important;
    margin: 0px;
}
.form_input:focus {
    outline: none !important;
    border-color: var(--theme-color);
}
.form_select {
    background-color: white;
}
.form_checkbox {
    float: left;
    margin-right: 11px;
    margin-left: 11px;
    accent-color: var(--theme-color);
}
.form_big_checkbox {
    float: left;
    margin-right: 11px;
    margin-left: 11px;
    accent-color: var(--theme-color);
    transform: scale(1.5);
}
.form_big_checkbox:checked {
    background: var(--theme-color);
}
.form_file {
    margin-bottom: 20px;
    width: 95%;
    padding: 5px;
    border-radius: var(--border-radius);
}
.form_label {
    font-size: 16px;
    padding-bottom: 5px;
    padding-top: 10px;
    padding-left: 10px;
    width: 495%;
    display: inline-block;
}
.form_label_div {
    width: 20%;
}
.form_button {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 7px;
    display: block;
    width: 99%;
    padding: 11px;
    box-shadow: none;
    text-decoration: none;
    text-align: left;
    border: 2px;
    border-radius: var(--border-radius);
    border: solid;
    border-width: 2px;
    font-size: 14px;
    display: inline;
    color: white;

    background-size: 210% 100% !important;
    background-position: 100% 0 !important;
    transition: background-position 0.4s;

    cursor: pointer;
}
.form_button:hover {
    color: white;
    background-position: 0 0 !important;
    text-decoration: none;
}
.form_valider {
    background: linear-gradient(45deg, #FFF 0%, #FFF 50%, var(--theme-color) 50%, var(--theme-color) 100%);
    border-color: var(--theme-color);
}
.form_valider:hover {
    color: var(--theme-color);
}
.form_annuler {
    background: linear-gradient(45deg, #FFF 0%, #FFF 50%, #7D7E75 50%, #7D7E75 100%);
    border-color: #7D7E75;
}
.form_annuler:hover {
    color: #7D7E75;
}
.form_supprimer {
    background: linear-gradient(45deg, #FFF 0%, #FFF 50%, #D72638 50%, #D72638 100%);
    border-color: #D72638;
}
.form_supprimer:hover {
    color: #D72638;
}
.form_login {
    background-color: var(--theme-color);
    color: #fff;
}
.login_input {
    max-width: 298px !important;
}
.search_input {
    margin-top: 15px;
    margin-right: 100%;
    margin-left: 25px;
    font-size: 1.1em;
    float: none;
    width: 200px !important;

    background: url("./search.png") no-repeat left 12px;
    background-color: white;
    padding-left: 30px;
}
.fake_button {
    text-decoration: inherit;
}
.fake_button input {
    margin-bottom: -10px;
}
form {
    margin: 0px;
    padding: 0px;
}

.login_div {
    background-color: #fff;
    width: 320px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5%;
    padding: 20px;
    border-radius: var(--border-radius);
}
.sidebar_div {
    position: fixed;
    float: left;
    background-color: #fff;
    width: 0px;
    height: 100%;
    z-index: 4;

    padding: 2px;
    margin-left: -8px;
    text-align: center;

    margin-top: 61.5px;
    padding-top: -62px;
    border-right: solid var(--theme-color);

    transition-duration: 500ms;
    transition-property: width;
}
.sidebar2_div {
    position: fixed;
    right: 0;
    width: 0px;
    height: 100%;
    z-index: 4;
    margin-top: 8px;

    text-align: center;

    transition-duration: 500ms;
    transition-property: width;
}
.widget {
    background-color: white;
    padding-right: 5px;
    padding-left: 5px;
    padding-top: 0px;
    padding-bottom: 1px;
    border-radius: var(--border-radius);
    margin-right: 10px;
    margin-top: 10px;
    box-shadow: 5px 5px 5px;
}
.widget_building_card {
    background-color: white;
    border: solid;
    border-radius: var(--border-radius);
    border-width: 3px;
    height: 90px;
    display: flex;
}
.widget_building_card_title {
    width: 150px;
    height: 100%;
    line-height: 90px;
    font-size: 20px;
    color: white;
    margin-top: 0px; 
    font-weight: bold;
}
.widget_building_card_text {
    display: inline-block;
    background-color: white;
    min-width: 110px;
    text-align: left;
    border: 0px;
    margin-left: 15px;
    line-height: 23px;
    margin-top: auto;
    margin-bottom: auto;
}
.open_sidebar_div {
    width: 41px;
}
.topbar_div {
    background-color: #fff;
    width: 100%;
    height: 55px;
    z-index: 4;

    position: fixed;
    padding: 10px;
    margin-top: -16px;
    margin-left: -20px;

    border: solid var(--theme-color);
}
.footer_div {
    position: fixed;
    bottom: -10px;
    left: 4px;
    max-width: 65px;
    z-index: 10;
}
.flags_div {
    padding-left: 200px;
}
.big_column_div {
    float: left;
    width: 93%;
    margin-top: -30px;
    padding-left: 20px;
    padding-right: -20px;
}
.small_column_div {
    float: left;
    width: 93%;
    margin-top: -30px;
    padding-left: 20px;
}
.form_div {
    background-color: white;
    padding-bottom: 15px;
    padding-right: 2%;
    padding-left: 1.5%;
    margin-top: 20px;
    margin-left: 25px;
    margin-bottom: 15px;
    float: left;
    width: 89%;
    border-radius: var(--border-radius);
}
.big_form_div {
    width: 89%;
}
.auto_form_div {
    width: auto !important;
    max-width: none !important;
    padding-top: 10px;
}
.child_field_div {
    margin-left: 50px;
    margin-top: -10px;
}
.title_div {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    margin-right: 100%;
    max-width: 994px !important;
    width: 89% !important;
}
.white_div {
    background-color: white;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 20px;
    padding-left: 20px;
    margin-top: 20px;
    margin-left: 25px;
    margin-right: 10px;
    border-radius: var(--border-radius);
    overflow-x: hidden;
}
.white_card_div {
    float: left;
    background-color: white;
    width: 89%;
    max-width: 482px;
    padding-top: 30px;
    margin-left: 25px;
    margin-top: 20px;
    border: solid;
    border-radius: var(--border-radius);
    border-width: 3px;
    border-color: white;
}
.white_card_div:hover p { 
    text-decoration: none;
}
.small_white_card_container_div {
    display: flex;
    flex-wrap: wrap;
    margin-left: 25px;
    justify-content: center;
}
.flex {
    flex: 1;
    margin-bottom: 20px;
    margin-right: 12px;
}
.small_white_card_div {
    display: inline-block;
    background-color: white;
    width: 266px;
    padding-top: 30px;
    border: solid;
    border-radius: var(--border-radius);
    border-width: 3px;
    border-color: white;
    box-shadow: 5px 5px 5px black;

    background: linear-gradient(45deg, var(--theme-color) 0%, var(--theme-color) 50%, #FFF 50%, #FFF 100%);
    background-size: 260% 100%;
    background-position: 100% 0;
    transition: background-position 0.4s;
}
.small_white_card_div:hover {
    color: white;
    background-color: var(--theme-color) !important; 
    background-position: 0 0;
}
.small_white_card_div:hover p { 
    text-decoration: none;
    color: white; 
}
.mini_white_card_container_div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    margin-left: -2%;
    margin-right: -3%;
}
.mini_white_card_div {
    display: inline-block;
    background-color: white;
    width: 127px;
    height: 80px;
    padding-top: 9px;
    text-align: center;
    vertical-align: middle;
    border: solid;
    border-radius: var(--border-radius);
    border-width: 3px;
    border-color: var(--theme-color);

    background: linear-gradient(45deg, var(--theme-color) 0%, var(--theme-color) 50%, #FFF 50%, #FFF 100%);
    background-size: 270% 100%;
    background-position: 100% 0;
    transition: background-position 0.4s;
}
.mini_white_card_div:hover {
    color: white;
    background-color: var(--theme-color) !important; 
    background-position: 0 0;
}
.mini_white_card_div:hover p { 
    text-decoration: none;
    color: white; 
}
.img_card {
    display: inline-block;
    background-color: white;
    width: 266px;
    margin: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    border: solid;
    border-radius: var(--border-radius);
    border-width: 3px;
    border-color: white;
    box-shadow: 5px 5px 5px black;
}
.img_card img {
    border-radius: var(--border-radius);
}
.div_button div {
    background: linear-gradient(45deg, var(--theme-color) 0%, var(--theme-color) 50%, #FFF 50%, #FFF 100%);
    background-size: 233% 100%;
    background-position: 100% 0;
    transition: background-position 0.4s;
}
.div_button:hover div {
    color: white;
    background-color: var(--theme-color) !important; 
    background-position: 0 0;
}
.div_button:hover div p { color: white; }
.important_div {
    background-color: #f07f13;
    border-color: #f07f13;
    width: 97% !important;
}

#STATIC_BANNER {
    padding-left: 8px;
    padding-top: 8px;
}
#MAIN_CONTENT {
    padding-left: 0px;
    padding-top: 55px;
    margin-left: -5px;

    transition-duration: 500ms;
    transition-property: padding-left;
    transition-duration: 500ms;
    transition-property: margin-left;
}
.side_bar_offset {
    padding-left: 24px !important;
    margin-left: 0px !important;
}

.iframe {
    position: fixed; /* Sit on top of the page content */
    display: block; /* Hidden by default */
    width: 90%; /* Full width (cover the whole page) */
    height: 90%; /* Full height (cover the whole page) */
    border-radius: var(--border-radius);
    top: 5%;
    left: 5%;
    right: 5%;
    bottom: 5%;
    box-shadow: 0 0 0 99999px rgba(0, 0, 0, .5); /* Black background with opacity */
    z-index: 20; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
    pointer-events: all;
}
.small_iframe {
    position: fixed; /* Sit on top of the page content */
    display: block; /* Hidden by default */
    width: 90%; /* Full width (cover the whole page) */
    height: 460; /* Full height (cover the whole page) */
    border-radius: var(--border-radius);
    top: 10%;
    left: 5%;
    right: 5%;
    box-shadow: 0 0 0 99999px rgba(0, 0, 0, .5); /* Black background with opacity */
    z-index: 20; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
    pointer-events: all;
    border-radius: var(--border-radius);
}
.exit_cross a {
    font-size: 35px;
    color: #D72638;

    position: fixed;
    right: 25px;
    top: 25px;
}

.logo_esc_img {
    margin-left: 3px;
    margin-right: auto;
    display: block;
    padding-bottom: 0px;
    height: 81px;
    margin-top: -74px;
}
.logo_esc_img_login {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  display: block;
  padding-bottom: 20px;
}
.flag_img {
    float: left;
    padding-top: 23px;
    padding-right: 35px;
    width: 23px;
    cursor:pointer;
}
.banner_img {
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 80%;
    padding-top: 20px;
    padding-bottom: 35px;
}
.logoff_button {
    padding-left: 50px;
    padding-top: 10%;
}
.banner_title {
    margin-left: 242px;
    font-size: 27px;
    margin-top: 13px;
}

.base-table thead th {
    width: 10%;
    background-color: var(--theme-color);
    color: #fff;
    padding: 10px;
}
.base-table tbody th {
    padding: 5px;
}
.base-table tr:nth-child(even) {
    background-color: #EEEEEE;
}
.base-table tr:nth-child(odd) {
    background-color: #FFFFFF;
}
.small_th {
    width: 0.001% !important;
}
.button_th  {
    cursor: pointer;
}
.greyed_th {
    background-color: #EEEEEE !important;
    color: black !important;
}
.tableline_link:hover th {
    background-color: var(--theme-color);
    color: white;
    cursor: pointer;
}
.tableline_link:hover th a {
    color: white;
}

.mini_table {
    padding-left: 33px;
    margin-top: -12px;
    padding-bottom: 16px;
}
.mini_table tbody td {
    text-align: right;
    padding-right: 9px;
}
.mini_table tbody td:nth-child(even) {
    text-align: left;
    padding-right: 9px;
}

.big_cells thead tr th {
    text-align: left;
}
.big_cells tbody tr td {
    height: 185px;
    width: 185px;
}
.big_cells tbody tr td span {
    color: white;
    display: block;
    text-align: center;
    font-weight: bold;
    margin-top: 3px;
    margin-bottom: 3px;
    padding-top: 3px;
    padding-bottom: 3px;
    margin-right: 5px;
    margin-left: 5px;
    border-radius: var(--border-radius);
}
.big_cell_title {
    color: black !important;
    text-align: left !important;
    margin-top: -5px !important;
    margin-bottom: -6px !important;
    margin-left: 10px !important;
    font-size: 18px;
    width: 100%;
}
.red_in_cell {
    background-color: #D72638;
}
.green_in_cell {
    background-color: #36C142;
}
.colored_cell {
    color: white;
    text-align: center;
    border-radius: var(--border-radius);
    font-weight: bold;
    margin-top: 3px;
    margin-bottom: 3px;
    padding-top: 3px;
    padding-bottom: 3px;
}

.progress_bar::-moz-progress-bar {
    margin-bottom: -10px;
    border-radius: var(--border-radius);
    background: var(--text-color);
}
.progress_bar::-webkit-progress-bar {
    margin-top: 5px;
    margin-bottom: -10px;
    border-radius: var(--border-radius);
    background-color: #e0e0e0;
}
.progress_bar::-webkit-progress-value {
    margin-top: 5px;
    margin-bottom: -10px;
    border-radius: var(--border-radius);
    background: var(--text-color);
}
.progress_bar {
    margin-bottom: -10px;
    border-radius: var(--border-radius);
    color: var(--text-color);
}
.global_progress_bar {
    margin-bottom: 10px;
}

.sc-gauge  { width:180px; margin: auto; }
.sc-background { position:relative; height:100px; margin-bottom:10px; border-radius:150px 150px 0 0; overflow:hidden; text-align:center; }
.sc-mask { position:absolute; top:20px; right:20px; left:20px; height:80px; background-color:white; border-radius:150px 150px 0 0 }
.sc-percentage { position:absolute; top:100px; left:-200%; width:390%; height:400%; margin-left:100px; }
.sc-percentage { transform-origin:top center; }
.sc-min { float:left; }
.sc-max { float:right; }
.sc-value { position:absolute; top:50%; left:0; width:100%;  font-size:48px; font-weight:700 }

.limited_width {
    display: inline-block;
    width: 30%;
}

.fa-solid { padding-right: 5px; }
.fa-regular { padding-right: 5px; }
.spinning {
    animation-name: spin;
    animation-duration: 3000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear; 
}
@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}

/* small */
@media screen and (max-width: 767px) {
    .hide_if_mobile { display: none; }
    .footer_div { display: none; }

    .banner_link { border: solid; padding-left: 10px; }
    .picked_option { border: solid var(--theme-color); }

    .csb_logo_esc_img {
        margin-left: -4px;
        margin-right: auto;
        display: block;
        padding-bottom: 0px;
        height: 69px;
        margin-top: -74px;
    }

    #MAIN_CONTENT {
        padding-right: 0px !important;
        margin-left: -10px !important;
    }
}

/* medium */
@media screen and (min-width: 768px) {
    .show_if_mobile { display: none; }

    .sidebar_div {
        width: 176px;
        padding: 20px;
        text-align: unset;
    }
    .sidebar2_div {
        width: 220px;
        text-align: unset;
    }
    .flags_div {
        padding-left: 248px;
    }
    #OPEN_BURGER {
        display: none;
    }
    .logo_esc_img {
        height: 105px;
        margin-top: -95px;
        margin-left: -16px;
        margin-bottom: -13px;
    }
    .banner_link {
        padding-left: 5%;
    }
    #MAIN_CONTENT {
        padding-left: 210px;
    }
    .footer_div {
        left: 9px;
        max-width: 170px;
    }

    .login_div {
        width: 400px;
    }
    .login_input {
        max-width: 378px !important;
    }

    .form_div {
        width: 60%;
        min-width: 630px;
        max-width: 450px;
    }
    .big_form_div {
        width: 80%;
        max-width: 850px;
    }
    .form_input {
        width: 80%;
        min-width: 433px;
    }
    .form_button {
        width: 80%;
        min-width: 433px;
    }
    .big_column_div {
        width: 48%;
    }
    .small_column_div {
        min-width: 230px;
        width: 30%;
    }

    .small_iframe {
        width: 48%;
        top: 30%;
        left: 26%;
        right: 26%;
    }
}
