.forceXS {
    min-width: 50px;
}
.forceS {
    min-width: 100px;
}
.forceM {
    min-width: 150px;
}
.forceML {
    min-width: 200px;
}
.forceL {
    min-width: 250px;
}
.forceXL {
    min-width: 300px;
}
.forceXXL {
    width: 100%;
}

.smallForm {
    font-size: 0.7rem;
    line-height: 1;
    margin:auto !important;
}

.niceSelectTable {
    height: 30px;
    top: -10px;
}
.niceSelectFree{
    top: -5px;
    position: relative;
} 
.niceSelectTable.has-multiple {
    top: -18px;
}
.tag {
    margin-top: 10px;
    display: inline-block;
    padding: 5px 5px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.5;
    color: #063432;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border-radius: 5px;
    border: 1px solid #063432;
    background-color: #E7E569;
}
.tableContainer{
    overflow: scroll;
    height: 480px;
}
.tableDiv { 
    display: table; 
    border-collapse: separate;
    margin-left: 20px;
    margin-right: 20px;
    overflow: scroll;
} 
.tableDivSm {
    font-size: smaller;
}
.tableDiv>.tableRow { display: table-row; }
.tableDiv>.tableRow >* { 
    display: table-cell; 
    /*min-width: 60px;*/
}
.tableCell>[type=button],
.tableCell>[type=submit] { 
    width: 100%;
    height: 30px;
}
.group-row {
    background-color: #f0f0f0;
    font-weight: bold;

}
.group-row td:first-child {
    position: relative;
    padding-left: 50px; 
}

.group-row td:first-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100% ;
    height: 30px;
    background-image: url(/img/icons/deif.svg);
    background-size: contain; 
    background-repeat: no-repeat;
}
.tableArea {
    margin-left: 10px;
    margin-bottom: 10px;
}
  
.headCell{
    padding-right:10px;
}
.fa {
    vertical-align: super;
}

.subForm { 
    position: absolute;
    z-index: 100;
}

input[type="date"],input[type="time"] {
    width:120px;
}
.dateSel {
    float: right;
    height: 100%;
    margin-left: auto;
    margin-right: 0;
}
.scopeSelDiv {
    float: left;
    margin-left: 70px;
}
.scopeSel{
    display: inline-block;
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 20px;
}
.nice-select-dropdown > .list > li.selected::before {
    position: absolute;
    left: .4rem;
    content: '✓';
    font-weight: 600;
}
.elt-hidden {
    display: none !important;
}
.exportMenu {
    display: flex
    ;
        align-items: center;
        justify-content: center;
}
.exportMenu div {
    margin: 20px 10px;
}
.datePicker{
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    background-color: #fff !important;
    border-radius: 5px !important;
    border: 1px solid #e8e8e8 !important;
    line-height: 25px !important;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px !important;
    font-weight: normal;
    height: 38px !important;
    line-height: 36px !important;
    outline: none;
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin-left: 10px;
}

.oneLineCheck label {
    display: inline-block !important;
    margin-right: 10px;
    vertical-align: baseline;
}
.oneLineCheck input {
    display: inline-block !important;
    vertical-align: baseline;
}

.toolbar {
    display: inline-flex;
    width: 100%;
}
/* test nav2 */
:root{
    --bg-color-main: #f7f7f7;
    --header-height: 0rem;
    --nav-width: 68px;
    --nav-width-ext: 250px;
    --first-color: rgb(139, 139, 139);
    --first-color-light: rgb(16, 18, 20);
    --white-color: #F7F6FB;
    --normal-font-size: 1rem;
    --z-fixed: 100;
    --body-font: "Montserrat Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --header_toggle:#E7E569;
    --first-color-menu-hover: #E7E569;
    --first-color-menu: white;
    --bkg-color-nav: #0D3939;
    --bkg-color-menu-hover: #3d7068;

    --meleon_cyan_1: #063432;
    --meleon_cyan_2: #3d7068;
    --meleon_cyan_3: #54b89a;
    --meleon_cyan_4: #74a8ab;
    --meleon_green_1: #0D3939;
    --meleon_green_2: #92c143;
    --meleon_green_3: #51a447;
    --meleon_green_4: #6b7242;
    --meleon_green_5:#bfba51;
    --meleon_olive_1:#87a878;
    --meleon_olive_2:#b0bc98;
    --meleon_olive_3:#c7ccb9;
    --meleon_olive_4:#cae2bc;
    --meleon_olive_5:#dbf9b8;
    --meleon_yellow_1: #E7E569;
    --meleon_yellow_2: #d3c82a;
    --meleon_orange_1: #f7ce5b;
    --meleon_orange_2: #f8b05b;
    --meleon_blue_1: #5eb8e8;
    --meleon_red_1: #ba7544;
    --meleon_brown_1:#ccc39e;
    --meleon_brown_2:#af9b46;


}*,
::before,::after{
    box-sizing: border-box
}
body{
    position: relative;
    margin: var(--header-height) 0 0 0;
    padding: 0 1rem;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    transition: .5s;
    background-color: var(--bg-color-main);
    color: var(--main-font-color);
    overflow-x: scroll;
    overflow-y: scroll;
    height: 100%;
    line-height: 20px;
}
.mainContent{
    margin-left: 20px;
}
.formFilterSelectWrapper{
    display: inline-flex;
    margin-top: 20px;
}
a{
    text-decoration: none
}
h1,h2,h3,h4,h5 {
    margin-left: 10px;
}
p{
    margin-left: 20px;
}
.header{
    width: 100%;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    background-color: var(--white-color);
    z-index: var(--z-fixed);
    transition: .5s
}
.header_toggle{
    color: var(--header_toggle);
    font-size: 1.5rem;
    cursor: pointer;
    margin-bottom: 20px;
    padding-left:25px;
}
.header_img{
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden
}
.header_img img{
    width: 40px
}

/* menu */
.l-navbar{
    position: fixed;
    top: 0;
    left: -30%;
    width: var(--nav-width);
    height: 100vh;
    background-color: var(--bkg-color-nav);
    padding: .5rem 1rem 0 0;
    transition: .5s;
    z-index: var(--z-fixed)
}
.nav{
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    overflow: auto;
}
.nav_logo, .nav_link{
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: center;
    column-gap: 1rem;
    padding: .5rem 0 .5rem 1.5rem
}
.nav_list {
    margin-bottom: 5rem;
}
.nav_logo{
    margin-bottom: 2rem
}
.nav_logo-icon{
    font-size: 1.25rem;
    color: var(--white-color)
}
.nav_logo-name{
    color: var(--white-color);
    font-weight: 700
}
.nav_link, .nav_dd_item{
    position: relative;
    color: var(--first-color-menu);
    padding-bottom: 1rem;
    padding-top: 1rem;
    transition: .3s
}
.nav_subdd_item{
    padding-bottom: 0rem;
    padding-top: 0rem;
}
.nav_dd_item {
    margin-left: 25px;
    list-style: none;
}
.nav_link:hover, .nav_dd_item:hover {
    color: var(--first-color-menu-hover);
    background-color: var(--bkg-color-menu-hover);
    text-decoration: none;
}
.nav_dd_container{
    display: none;
    padding-left: 8px;
    max-height: 200px;
    overflow-y: scroll;
}
.nav_dd_container li {
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
    transition: .3s
}
.nav_dd_container li:hover {
    background-color: var(--bkg-color-menu-hover);
}

.nav_icon{font-size: 1.25rem}

/* Disable link */
.disabled-link {
    cursor: not-allowed;
    /*cursor: default;*/
    position: relative;
}
/* Hide coming soon "Coming soon" by default */
.coming_soon {
    /*display: none;*/
    position: absolute;
    right: 0;
    transform: translateX(100%);
    margin-left: 10px;
    background-color: var(--bkg-color-nav);
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    transition: transform 0.3s ease-out;
}

/* Show "Coming soon" */
.disabled-link:hover .coming_soon {
    display: inline-block;
    transform: translateX(0);
}

  /**/
.show{
    left: 0
}
.body-pd{
    padding-left: calc(var(--nav-width) + 1rem)
}
.active, .active a{
    color: var(--first-color-menu-hover)
}
.active::before{
    content: '';
    position: absolute;
    left: 0;width: 2px;
    height: 32px;
    background-color: var(--first-color-menu-hover)
}
.height-100{
    height:100vh
}
@media screen and (min-width: 768px){
    /* FIXME : taille de menu dynamique*/
    body{
        margin: 0 0 0 0;
        padding-left: calc(var(--nav-width));
        transition: .5s;
    }
    .header{
        height: calc(var(--header-height) + 1rem);
        padding: 0 2rem 0 calc(var(--nav-width) + 2rem)
    }
    .header_img{
        width: 40px;
        height: 40px
    }
    .header_img img{
        width: 45px
    }
    .l-navbar{
        left: 0;
        padding: 1rem 1rem 0 0
    }
    .show-nav{
        width: calc(var(--nav-width-ext))
    }
    .body-pd{
        padding-left: calc(var(--nav-width-ext));
        transition: .5s;
    }
}

/* scrollbars */
::-webkit-scrollbar {
	height: 0px;
	width: 4px;
	background: transparent;
	padding-right: 10;
}

::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.05);
	-webkit-border-radius: 1ex;
}

::-webkit-scrollbar-corner {
	background: transparent;
}

#main-header {
    margin-left: 20px;
    margin-right: 20px;
    overflow: scroll;
}
.hide {
    display: none;
}

.show {
    display: block;
}

#console {
    margin-left:20px;
    max-height: 500px;
    overflow: scroll;
    color: var(--white-color);
    background-color: #0D3939;
}

.dynamic-input { 
    /*width: 100%; */
    padding: 5px; 
    /*margin-top: 5px; */
}
.equation-editor { 
    position: relative; 
}
.autocomplete-suggestions { 
    position: absolute; 
    border: 1px solid #ddd; 
    background: white; 
    max-height: 200px; 
    overflow-y: auto;
    z-index: 10; 
}
.single-input {
    margin-top: 80px;
}
.formula-preview { 
    background: inherit; 
}
.suggestion-item { 
    padding: 5px; 
    cursor: pointer; 
}
.suggestion-item:hover { 
    background-color: #f0f0f0; 
}
.parameter-preview { 
    margin-top: 10px; 
}

.btn-primary-meleon{
    background-color: var(--meleon_cyan_4);
    border-color: var(--meleon_cyan_4);
}
.btn-primary-meleon:hover,.btn-primary-meleon:focus,.btn-primary-meleon:active{
    background-color: var(--meleon_cyan_2);
    border-color: var(--meleon_cyan_2);
}

/*regulation loops*/
.regConfig-container {
    font-family: Arial, sans-serif;
    margin: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.controls {
    margin-bottom: 20px;
    margin-left: 20px;
}
select, button {
    padding: 8px;
    margin-right: 10px;
}
.form-container {
    margin-left: 10px;
    display: none;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.mainFormSection {
    margin-bottom: 20px;
    border-bottom: gray 1px;
}

.form-container input {
    margin-right: 10px;
    padding: 8px;
}
.canvas {
    margin-left: 20px;
    display: none;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ccc;
    padding: 20px;
    position: relative;
    min-height: 500px;
}
.axis-label {
    position: absolute;
    font-weight: bold;
}
.axis-label.x {
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
}
.axis-label.y {
    left: -50px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
}
.unit-regulation-container {
    display: flex;
    flex-direction: row;
    margin-top: 20px;
    position: relative;
}
.unit-regulation {
    border: 2px dashed #000;
    padding: 10px;
    margin: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
}
.reg-process {
    border: 1px solid #000;
    padding: 10px;
    margin: 5px;
    background-color: #f0f0f0;
    cursor: pointer;
}
.sidebar {
    display: none;
    position: fixed;
    right: 0;
    top: 0;
    width: 50%;
    min-width: 250px;
    height: 100%;
    background-color: #f8f8f8;
    border-left: 1px solid #ccc;
    padding: 10px;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    overflow-y: auto;
}
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.close-btn {
    cursor: pointer;
    font-size: 20px;
}
.close-btn-reg {
    cursor: pointer;
    margin-left: 20px;
}
.rm-btn {
    cursor: pointer;
    font-size: 25px;
}
.svg_regs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
line {
    stroke: #000;
    stroke-width: 2;
}
.axis-arrow {
    stroke: #000;
    stroke-width: 2;
    fill: none;
    marker-end: url(#arrowhead);
}
.scSection {
    margin-top: 20px;
}
.tcExpr{
    margin-bottom: 10px;
}
.funcSel{
    margin-bottom: 10px;
}
.regSubForm {
    margin-bottom: 10px;
}
.lbl-block{
    display: block;
}

/*large multi-lines formular*/
.largeForm label{
    display:block;
    margin-bottom:10px;
    margin-top:10px;
}

/** generic bootstart v4 on/off switch
from Bootstrap 4.0.0 Snippet by pradeep330 */
.switch-container{
    margin-bottom: 34px;
}
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  float:right;
  margin-bottom: 0px !important;
  margin-top: 0px !important;
}

/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.switch-slider{
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input.default:checked + .switch-slider {
  background-color: #444;
}
input.primary:checked + .switch-slider {
  background-color: var(--meleon_cyan_3);
}
input.success:checked + .switch-slider {
  background-color: #8bc34a;
}
input.info:checked + .switch-slider {
  background-color: #3de0f5;
}
input.warning:checked + .switch-slider {
  background-color: #FFC107;
}
input.danger:checked + .switch-slider {
  background-color: #f44336;
}

input:focus + .switch-slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .switch-slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.switch-slider.round {
  border-radius: 34px;
}

.switch-slider.round:before {
  border-radius: 50%;
}

/* bootstrap */
.close{
    float:right;
    font-size:1.5rem;
    font-weight:700;
    line-height:1;
    color:#000;
    text-shadow:0 1px 0 #fff;
    opacity:.5
}.close:hover{
    color:#000;
    text-decoration:none
}.close:not(:disabled):not(.disabled):focus,.close:not(:disabled):not(.disabled):hover{
    opacity:.75
}button.close{
    padding:0;
    background-color:transparent;
    border:0
}a.close.disabled{
    pointer-events:none
}