.login_wrapper {
    max-width: 450px !important;
}

/*
* Automatique & Industrie | IHM v0.0.1-developer (https://www.aifrance.com)
* Copyright (c) 2019 Automatique & Industrie
*/

.bluringContainer :not(#variableParametersContainer),
.bluringContainer :not(#variableParametersContainer) * {
    -webkit-filter: blur(5px);
    filter: blur(5px);
}

body {
    color: var(--theme-color-text-light);
    background: var(--theme-color-background-general) !important;
}

.automatique-and-industrie{
    color: rgb(115,135,156);
}

.nav_menu.top_fixed {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1037;
    margin-left: 230px;
    height: 58px;
}

.content_wrapper {
    margin-top: 55px;
}

.page_title {
    width: 100%;
    float: left;
    display: block;
    margin-top: -8px;
}

/* Dashboard custom css ---------------------------------------------------------------------------------------------------------------------------- */

.img-h-fluid {
    /* similar to .img-fluid but height related css */
    max-height: 100%;
    max-width: 100%;
    display: block;
}

.text-disabled {
    color: rgb(216, 216, 216) !important
}

.pull-right {
    float: right;
}

.pull-left {
    float: left;
}

.hvr-r:hover {
    color: rgb(255, 127, 127);
}

.hvr-s:hover {
    color: rgb(191, 191, 191);
}

.hvr-b:hover {
    color: rgb(127, 127, 255);
}

.hvr-y:hover {
    color: rgb(255, 255, 127);
}

/* Bootstrap fix ----------------------------------------------------------------------------------------------------------------------------------- */

a:hover {
    color: rgb(38, 185, 154);
}

/* fix colour palette */
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    /* remove white underlying stroke */
    color: var(--theme-color-text);
    background: var(--theme-color-background-general);
}

/* Gentelella fix css ------------------------------------------------------------------------------------------------------------------------------- */

.daterangepicker .ranges li.active,
.daterangepicker .ranges li:hover {
    background: rgb(83, 106, 127) !important;
    border: 1px solid rgb(83, 106, 127);
    color: var(--theme-color-background-general);
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
    background-color: rgb(83, 106, 127) !important;
    border-color: transparent;
    color: var(--theme-color-background-general);
}

.btn-success.disabled,
.btn-success:disabled {
    /* fix colour palette */
    color: var(--theme-color-background-general);
    background-color: rgb(22, 159, 133);
    border-color: rgb(22, 159, 133);
}

.nav-tabs {
    border-bottom: 0px;
}

/* remove overall tab line */

.main_menu .fa {
    font-family: 'Font Awesome\ 5 Free';
    font-weight: 900;
}

.param-tab {
    border: 0px !important;
    border-radius: 0 !important;
}

.inline {
    padding: 15px;
    margin-right: 25px;
}

.endforms {
    z-index: 1000;
    position: sticky;
    bottom: 10px;
}

tfoot input {
    margin: 0em 0em !important;
    padding: 1px 2px 1px 2px !important;
    height: 25px !important;
}

tfoot select {
    margin: 0em 0em !important;
    padding: 1px 2px 1px 2px !important;
    height: 25px !important;
}

div.tippy-content {
    text-align: center !important;
}

#toast-container .toast {
    margin-top: 50px;
}

.dropdown-menu {
    margin-top: 21px !important;
}

#dropdown-user-menu {
    left: -30px !important;
    width: 220px !important;
}

.dropdown-menu .dropdown-toggle:after {
    border-top: .3em solid transparent;
    border-right: 0;
    border-bottom: .3em solid transparent;
    border-left: .3em solid;
}

.dropdown-menu .dropdown-menu {
    margin-left: 0;
    margin-right: 0;
}

.dropdown-menu li {
    position: relative;
}

.nav-item .submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -22px;
}

.nav-item .submenu-left {
    right: 100%;
    left: auto;
}

.dropdown-menu>li:hover {
    background-color: rgb(241, 241, 241)
}

.dropdown-menu>li:hover>.submenu {
    display: block;
}

.second-level {
    position: absolute !important;
    left: 100% !important;
    top: -22px !important;
    transform: translate3d(0px, 0px, 0px) !important;
}

.nav.side-menu>li.current-page,
.nav.side-menu>li.active {
    border-right: 5px solid var(--theme-color-primary-vibrant);
}

/* Grabbable dashboard analysis --------------------------------------------------------------------------------------------------------- */

.grabbable-analysis {
    text-decoration: none;
    list-style: none;
    text-align: center;
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

.grabbable-analysis:active {
    background: rgb(255, 0, 0);
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

/* Grabbable formula editor ------------------------------------------------------------------------------------------------------------- */

#ul-grab {
    width: 100%;
    padding: 10px;
    float: left;
    -moz-transition: background-color ease .5s;
    -webkit-transition: background-color ease .5s;
    border: 1px solid rgb(192, 192, 192);
}

.grabbable {
    float: left;
    padding: 10px;
    text-decoration: none;
    list-style: none;
    margin: 5px;
    text-align: center;
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

.grabbable:active {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

.grab-variable {
    color: var(--theme-color-background-general);
    background: var(--theme-color-primary);
    min-width: 80px;
    border-radius: 3px;
    box-shadow: 4px 4px 2px 1px rgba(169, 207, 79, 0.65);
}

.grab-operator {
    color: var(--theme-color-background-general);
    background: var(--theme-color-secondary);
    min-width: 50px;
    border-radius: 3px;
    box-shadow: 4px 4px 2px 1px rgba(0, 0, 255, 0.3);
}

.grab-comparator {
    color: var(--theme-color-background-general);
    background: var(--theme-color-tertiary);
    min-width: 50px;
    border-radius: 3px;
    box-shadow: 4px 4px 2px 1px rgba(170, 0, 255, 0.3);
}

.grab-constant {
    color: var(--theme-color-background-general);
    background: var(--theme-color-attention);
    min-width: 80px;
    border-radius: 3px;
    box-shadow: 4px 4px 2px 1px rgba(255, 0, 0, 0.3);
}

.selected-box {
    border-color: var(--theme-color-primary) !important;
    -webkit-box-shadow: inset 0px 0px 0px 3px var(--theme-color-primary);
    -moz-box-shadow: inset 0px 0px 0px 3px var(--theme-color-primary);
    box-shadow: inset 0px 0px 0px 3px var(--theme-color-primary);
}

.non-valid-box {
    border-color: var(--theme-color-attention) !important;
    -webkit-box-shadow: inset 0px 0px 0px 3px var(--theme-color-attention);
    -moz-box-shadow: inset 0px 0px 0px 3px var(--theme-color-attention);
    box-shadow: inset 0px 0px 0px 3px var(--theme-color-attention);
}

.formula-box {
    border-radius: 5px;
    padding: 10px;
    float: left;
    -moz-transition: background-color ease .5s;
    -webkit-transition: background-color ease .5s;
    border: 1px solid rgb(192, 192, 192);
}

/* add color to button radio ------------------------------------------------------------------------------------------------------------ */

label>input[type="radio"]:not(:checked)+* {
    color: rgb(80, 80, 80);
}

.no-access-radio>input[type="radio"]:checked+* {
    color: var(--theme-color-attention);
}

.read-only-radio>input[type="radio"]:checked+* {
    color: rgb(255, 165, 0);
}

.all-access-radio>input[type="radio"]:checked+* {
    color: var(--theme-color-validation);
}

/* Remapped bootstrap secondary button ---------------------------------------------------------------------------------------------------- */

.btn-secondary {
    color: rgba(255, 255, 255, 1.0);
    background-color: rgba(85, 101, 119, 1.0);
    border-color: rgba(85, 101, 119, 1.0)
}

.btn-secondary:hover {
    color: rgba(255, 255, 255, 1.0);
    background-color: rgba(42, 63, 84, 1.0);
    border-color: rgba(34, 51, 68, 1.0)
}

.btn-secondary.focus,
.btn-secondary:focus {
    box-shadow: 0 0 0 .2rem rgba(85, 101, 119, .5)
}

.btn-secondary.disabled,
.btn-secondary:disabled {
    color: rgba(255, 255, 255, 1.0);
    background-color: rgba(85, 101, 119, 1.0);
    border-color: rgba(85, 101, 119, 1.0)
}

.btn-secondary:not(:disabled):not(.disabled).active,
.btn-secondary:not(:disabled):not(.disabled):active,
.show>.btn-secondary.dropdown-toggle {
    color: rgba(255, 255, 255, 1.0);
    background-color: rgba(34, 51, 68, 1.0);
    border-color: rgba(27, 41, 54, 1.0)
}

.btn-secondary:not(:disabled):not(.disabled).active:focus,
.btn-secondary:not(:disabled):not(.disabled):active:focus,
.show>.btn-secondary.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem rgba(85, 101, 119, .5)
}

/* Drag & Drop --------------------------------------------------------------------------------------------------------------------------- */

.upload-drag-and-drop-box {
    min-height: 150px;
    border: 3px solid var(--theme-color-border);
    text-align: center;
    padding: 50px 0px 10px 0px;
}

.upload-drag-and-drop-box:hover {
    min-height: 150px;
    border: 3px solid var(--theme-color-border);
    text-align: center;
    background: rgba(68, 177, 250, 0.08);
    padding: 50px 0px 10px 0px;
    cursor: pointer;
}

.file-type-desc {
    font-size: 18px;
    color: rgb(0, 0, 0);
    ;
    margin-top: 10px;
    padding-bottom: 5px;
}

.drag-drop-text {
    font-size: 20px;
    display: inline-block;
    color: rgba(140, 153, 165, 1.0);
    font-weight: normal;
}

.parameter-div {
    margin-top: 15px;
}

.instructions {
    margin-top: 10px;
    margin-bottom: 15px;
}

.data_type_selector {
    margin-bottom: 20px;
}

.separator-radio-button {
    float: left;
    margin-left: 10px;
}

.import-cancel-buttons {
    margin-top: 20px;
    text-align: center;
}

.box.has-advanced-upload {
    background-color: var(--theme-color-background-general);
    outline: 2px dashed rgb(255, 255, 255);
    outline-offset: -10px;
}

.box.has-advanced-upload .box__dragndrop {
    display: inline;
}

.box.is-dragover {
    background-color: rgb(180, 238, 20);
}

/* Cactus popup ---------------------------------------------------------------------------------------------------------------------------- */

.form-popup {
    display: none;
    background: linear-gradient(var(--theme-color-secondary-heavy), var(--theme-color-secondary));
    color: var(--theme-color-background-general);
    border: 1px solid rgba(153, 153, 153, 1.0);
    border-radius: 10px;
    cursor: default;
    left: 0;
    right: 0;
    top: 200px;
    margin-left: auto;
    margin-right: auto;
    display: none;
    position: absolute;
    width: 38%;
    text-align: left;
    padding: 3% 3% 3%;
    z-index: 9;
}

/* Datatables ------------------------------------------------------------------------------------------------------------------------------ */

/* Official "hack" to ensure that DataTable scrolls */

th,
td {
    white-space: nowrap;
}

div.dataTables_wrapper {
    width: 100%;
    margin: 0 auto;
}

/* Prevent a fixed column of a dataTable to get an horizontal scrollbar */

.DTFC_LeftBodyLiner {
    overflow-x: hidden;
}

table.dataTable tbody td {
    vertical-align: middle;
}

table.dataTable th.date {
    text-align: center;
}

table.dataTable tr td.dataTables_empty {
    background: var(--theme-color-background-general);
    border-width: 0;
}

/* Alerts log ------------------------------------------------------------------------------------------------------------------------------- */

#alertHistoryDataTable {
    border: none;
}

#alertHistoryDataTable thead th {
    border: none;
}

td.alert-status {
    background-color: var(--theme-color-background-general);
    border-top: 0px;
    border-left: 0px;
    border-bottom: 0px;
}

/* Services status ----------------------------------------------*/
.green-color-circle {
    height: 16px;
    width: 16px;
    background-color: var(--theme-color-validation);
    border-radius: 50%;
    border: solid rgb(0, 0, 0) 1px;
    display: inline-block;
    box-shadow: 2px 2px 2px 1px rgba(104, 104, 104, 0.3);
}

.red-color-circle {
    height: 16px;
    width: 16px;
    background-color: var(--theme-color-attention);
    border-radius: 50%;
    border: solid rgb(0, 0, 0) 1px;
    display: inline-block;
    box-shadow: 2px 2px 2px 1px rgba(104, 104, 104, 0.3);
}

.black-color-circle {
    height: 16px;
    width: 16px;
    background-color: rgb(100, 100, 100);
    border-radius: 50%;
    border: solid rgb(0, 0, 0) 1px;
    display: inline-block;
    box-shadow: 2px 2px 2px 1px rgba(104, 104, 104, 0.3);
}

/* code style -------------------------------------------------------------------------------------------------------------------------------*/
code {
    background-color: rgba(238, 238, 238, 1.0);
    border-radius: 3px;
    font-family: courier, monospace;
    padding: 0 3px;
}

/* shaking text -----------------------------------------------------------------------------------------------------------------------------*/

.ring {
    animation: shake 1s infinite cubic-bezier(.36, .07, .19, .97) both;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
    cursor: pointer
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-2px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(2px, 0, 0);
    }
}

/* Creation wizard ------------------------------------------------------------------------------------------------------------- */

.wizard_horizontal ul.wizard_steps li a.done::before,
.wizard_horizontal ul.wizard_steps li a.done .step_no {
    background: var(--theme-color-primary);
    color: rgba(255, 255, 255, 1.0);
}

.wizard_verticle ul.wizard_steps li a.selected::before,
.step_no {
    background: var(--theme-color-secondary);
    color: rgba(255, 255, 255, 1.0);
}

.wizard_horizontal ul.wizard_steps li a.selected::before,
.step_no {
    background: var(--theme-color-secondary);
    color: rgba(255, 255, 255, 1.0);
}

/* New_calc_variable ------------------------------------------------------------------------------------------------------------------------ */

#chevron-down {
    color: var(--theme-color-primary);
    top: 50%;
}

/* Fa icons --------------------------------------------------------------------------------------------------------------------------------- */

.hoverable-fa-icon:hover {
    cursor: pointer;
}

/* Rights datatables ------------------------------------------------------------------------------------------------------------------------- */

#rights-datatable tbody td {
    width: 20%;
    padding: 0px 0%;
    border: none;
    background-color: rgba(255, 255, 255, 1.0);
}

/* bootstrap for same height colummn */

.col-container {
    display: table;
    /* Make the container element behave like a table */
    width: 100%;
    /* Set full-width to expand the whole page */
}

.col {
    display: table-cell;
    /* Make elements inside the container behave like table cells */
}

.multiline {
    white-space: pre-wrap;
    text-align: justify;
}

/* General stuff ------------------------------------------------------------------------------------------------------------------------- */

.blue-background {
    background: rgba(232, 241, 255, 1.0) !important;
}

.gray-background {
    background: rgb(247, 247, 247) !important;
}

/* Full screen dashboard ----------------------------------------------------------------------------------------------------------------- */

/* Hide scrollbar for Chrome, Safari and Opera */
#element_general_div::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
#element_general_div {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* No arrow number input ----------------------------------------------------------------------------------------------------------------- */

/* Chrome, Safari, Edge, Opera */
input.no_arrow::-webkit-outer-spin-button,
input.no_arrow::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number].no_arrow {
    -moz-appearance: textfield;
}

/* Blue boxes on analysis ----------------------------------------------------------------------------------------------------------------- */

.analysis-blue-box {
    background: var(--theme-color-background-general);
    border: solid;
    border-width: 1px;
    border-color: var(--theme-color-border);
    height: 100%;
}

.analysis-type-selection-box {
    background: var(--theme-color-secondary);
    color: var(--theme-color-primary-vibrant);
    text-align:center;
    border-radius:3px;
    padding:8px;
    width:200px;
}

.analysis-type-selection-text{
    color: var(--theme-color-text);
}

.step_descr {
    color: var(--theme-color-text)
}

/* Generalities ----------------------------------------------------------------------------------------------------------------- */

.center {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
}

.center-verticaly {
    position: absolute;
    top: 50%;
    -webkit-transform: translate(0%, -50%);
}

.inline {
    float: left;
}

.inl-b {
    display: inline-block;
}

.va-m {
    vertical-align: middle
}

.clearBoth {
    clear: both;
}

.inline-input {
    margin-left: 18px;
    float: left;
}

.white-holder {
    background: rgba(255, 255, 255, 1.0);
    color: rgba(0, 0, 0, 1.0);
    border-radius: 3px;
    border-width: 0.8px;
    border-color: rgba(0, 0, 0, 1.0);
}

.select2-results__option--group {
    color: white;
    background-color: var(--theme-color-secondary);
}

.select2-results__option--selectable {
    color: black;
    background-color: white;
}

.select2-results__option--highlighted {
    background-color: var(--theme-color-primary) !important;
}

.variableDeletingConfirmationWarningBox {
    color: white;
    background: var(--theme-color-attention);
    border-radius: 2px;
}

/* style.css */
.loading {
    cursor: wait;
    /* busy cursor feedback */
}

.loading * {
    /* disable all mouse events on subElements */
    pointer-events: none;
}

.ui-sortable {
    background: var(--theme-color-background-pannel);
}

.trService {
    background-color: var(--theme-color-background-pannel)
}

.instructions {
    color: var(--theme-color-primary-vibrant)
}

.clearfix{
    color: var(--theme-color-border) !important;
}

#sticky-div {
    position: sticky;
    top: 50px;
    background-color: rgba(255, 255, 255, 1.0);
    padding: 20px;
    z-index: 50; 
}

/* Access  ------------------------------------- */

.check-activated {
    color: var(--theme-color-validation); 
    font-size: 20px;

}

.cross-activated {
    color:var(--theme-color-attention); 
    font-size: 20px;
}

.desactivated {
    color:var(--theme-color-text-light) 
}

/* General no-before / no-after option --------- */

.no-before::before{
    display:none !important;
}

.no-after::after{
    display:none !important;
}