/* main layout */
#background {
    position:fixed;
    left:0px;
    top:0px;
    width:100%;
    height:100%;
    opacity: 0.6;
    z-index: -1;
}

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

#toolbarHider {
    border: 1px solid #cbd9e8;
    padding: 3px;
    border-radius: 15px 15px 0 0;
    background-color: #cbd9e8;
    cursor: pointer;
    font-weight: bold;
}

/* 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;
}

#formPreview {
    border: 2px dotted rgb(108, 90, 162);
    border-radius: 5px;
    background-color: #bbb;
    padding: 15px;
}

#formPreview .row {
    min-height: 27px;
    border: 2px dotted rgb(58, 38, 120);
    border-radius: 5px;
    background-color: rgb(197, 188, 188);
    padding-bottom: 7px;
    padding-left: 25px;
    padding-top: 7px;
}

#formPreview .row:before {
    content: "\f338";
    position: absolute;
    margin-left: -20px;
    margin-top: 25px;
    font-family: "FontAwesome";
    cursor: pointer;
}

#formPreview .active-form-row {
    background-color: rgb(240, 215, 164) !important;
}

#formPreview .form-group {
    background-color: rgb(207, 199, 183) !important;
    position: relative;
}

#formPreview .form-group:after {
    position: absolute;
    font-family: 'FontAwesome';
    top: 0;
    right: 1rem;
    color:rgb(110, 53, 53);
    content: "\f0b2   \f044";
    cursor: pointer;
}

#formPreview .form-check {
    background-color: rgb(207, 199, 183) !important;
    position: relative;
}

/* #formPreview .form-check:after {
    position: absolute;
    font-family: 'FontAwesome';
    top: 0;
    right: 1rem;
    color:rgb(110, 53, 53);
    content: "\f0b2   \f044";
    cursor: pointer;
} */

#formPreview  label {
    text-overflow: ellipsis;
    overflow: hidden;
    width: 80%;
}


/* TypeAhead styles */

.typeahead {
    position: relative;
}

.typeahead-results {
    list-style: none;
    position: absolute;
    top: 4.5em;
    left: 0;
    background-color: #cbd9e8;
    width: 250px;
    margin: 0 0.5em;
    padding: 0;
    border-radius: 10px;
    z-index: 10;
}

.typeahead-results:empty {
    display: none;
}

.typeahead-results selected {
    background-color: #bbb;
    color: #92b8e1;
}

.typeahead-results li {
    border-bottom: .3em;
    cursor: pointer;
    padding: .25em;
}

.typeahead-results .active {
    background-color: #3e6895;
    color: #fff;
}

/* Widgets */
.widget-background {
    background-color: #F1EFF5;
}

.widget-title {
    color: #4C5F81;
}

.widget-body {
    color: #8FB1D4;
}

.widget-footer {
    color: #7D736F;
}
/*
.widget-xxxxxxxxx {
    color: #8FA54F;
}
*/

/* Additional classes for controls */
.count-green {
    background-color: #cec !important;
}

.count-red {
    border: 1px solid #d48f95 !important;
}

/* Tooltips */
.tooltip-inner {
    background-color: #598bd6;
    box-shadow: 0px 0px 4px black;
    color: #fff;
    opacity: 1 !important;
}
.tooltip.bs-tooltip-right .tooltip-arrow::before {
    border-right-color: #598bd6 !important;
}
.tooltip.bs-tooltip-left .tooltip-arrow::before {
    border-left-color: #598bd6 !important;
}
.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: #598bd6 !important;
}
.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #598bd6 !important;
}

.form-label {
    width: 90%;
    margin-top: 0.77rem;
    margin-bottom: 0;
}

/*

.Duty news

*/

.duty_news_object {
    margin: 50px;
}

/* title */
.jivaCoreNews h1 {
    font-size: xx-large;
}

.jivaCoreNews p {
    font-size: large;
}

/* unvisited link */
.jivaCoreNews a:link {
    color: #0000EE;
    text-decoration: underline;
}
  
/* visited link */
.jivaCoreNews  a:visited {
    color: #551A8B;
}
  
/* mouse over link */
.jivaCoreNews  a:hover {
    color: #00FF00;
}

.jivaCoreNews tr {
    border: 1px solid black;
}

.jivaCoreNews td {
    border: 1px solid black;
    padding: 10px;
}

.jivaCoreNews td:not(:first-child) {
    border-left: 1px solid black;
}

.jivaCoreNews .accordion-button {
    font-size: 1.25rem;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
}

.link-info {
    color: #0dcaf0 !important;
}

/*
Calendar.js
*/

.calendar-dialog .tab-control {
    display: none !important;
}