/* Main page settings */
#sidebar {
    opacity: 0.95;
    /* background-color: inherit; */
}

#background {
    position:fixed;
    left:0px;
    top:0px;
    width:100%;
    height:100%;
    opacity: 0.6;
    z-index: -1;
    background-image: url('/assets/img/main-background.jpeg?v=2');
    background-size: cover ;
    background-repeat: no-repeat ;
}

/* form {
    background-color: #cbd9e8;
    padding: 7px;
    border-radius: 7px;
} */

#app section:not(#main_dashboard_view){
    background-color: #cbd9e8;
    opacity: 0.95;
    padding: 7px;
    border-radius: 7px;
}

/* Switches */
.form-check-input {
    clear: left;
}

.form-switch.form-switch-sm {
    margin-bottom: 0.5rem; /* JUST FOR STYLING PURPOSE */
}

.form-switch.form-switch-sm .form-check-input {
    height: 1rem;
    width: calc(1rem + 0.75rem);
    border-radius: 2rem;
}

.form-switch.form-switch-md {
    margin-bottom: 1rem; /* JUST FOR STYLING PURPOSE */
}

.form-switch.form-switch-md .form-check-input {
    height: 1.5rem;
    width: calc(2rem + 0.75rem);
    border-radius: 3rem;
}

.form-switch.form-switch-lg {
    margin-bottom: 1.5rem; /* JUST FOR STYLING PURPOSE */
}

.form-switch.form-switch-lg .form-check-input {
    height: 2rem;
    width: calc(3rem + 0.75rem);
    border-radius: 4rem;
}

.form-switch.form-switch-xl {
    margin-bottom: 2rem; /* JUST FOR STYLING PURPOSE */
}

.form-switch.form-switch-xl .form-check-input {
    height: 2.5rem;
    width: calc(4rem + 0.75rem);
    border-radius: 5rem;
}


/* Discount fields' tree: bullets styling */
.fields_tree_ul {
    list-style-type: none;
}

.fields_tree_li {
    cursor: pointer;
    user-select: none;
}

.fields_tree_ul2 {
    list-style-type: none;
}

.fields_tree_li::before {
    content: "\00B1";
    color: black;
    margin-right: 6px;
}

.fields_tree_li2::before {
    content: "\2514";
    color: black;
    margin-right: 10px;
}

/* json editor
main menu, override color with gray */
.jsoneditor-menu {
  background-color: #bbb;
  border-bottom: 1px solid #bbb;
}
/* remove border */
.jsoneditor {
    border: none;
}