/* CSS to overload bootstrap */

/* correct bootstrap */
.no-bs,
.no-bs-all *,
.no-bs-all *:before,
.no-bs-all *:after { box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box; }
.no-bs-all .label { color:inherit; font-size:inherit; font-weight: inherit; line-height:inherit; padding:inherit; display: inherit;}
.no-bs-all .row,
.row.no-bs { margin-left:inherit; margin-right:inherit; }
hr.no-bs { margin-top:0.5em; margin-bottom:0.5em; }
.btn { padding:0px 8px; border-radius:0; height:2em; line-height:2em; }
.btn.static-info { pointer-events:none; cursor:not-allowed; border:none; }
.btn-default:focus:not(:hover):not(:active):not(.active) { background:#fff; }
.btn-primary:focus:not(:hover):not(:active):not(.active) { background:#428bca; }
.btn-group > .btn:focus { outline:2px solid #5897fb; -webkit-box-shadow: 0 0 10px #000; box-shadow: 0 0 10px #000; }
.btn-group > .btn.active { color: #3996d3; }
.btn-group > .btn.group-separated { margin-left:5px; }
.no-bs-padding { padding:0; }

.last-item { margin-bottom:0; }

/* Bootstrap submenus */
.dropdown-submenu { position: relative; }
.dropdown-submenu > a[href] { pointer-events:none; cursor:pointer; }
.dropdown-submenu > a:after { border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #AAA; border-style: solid; border-width: 5px 0 5px 5px; content: " "; display: block; float: right; height: 0; margin-right: -10px; margin-top: 5px; width: 0; }
.dropdown-submenu > .dropdown-menu { border-radius:4px; left: 100%; margin-left: -1px; margin-top: -6px; top: 0; }
.dropdown-submenu.open > a,
.dropdown-submenu.open > a:focus { background-color: #DDD; }
.dropdown-submenu.open > a:after { border-left-color: #DDD; }
.dropdown-submenu.open > .dropdown-menu { display: block; }

.dropdown-menu-with-icons > li > a, .dropdown-menu-with-icons > li.dropdown-header { padding-left: 34px; }
.dropdown-menu-with-icons > li > a.icon { padding-left: 4px; }
.dropdown-menu-with-icons > li > a.icon span[data-icon],
.dropdown-menu-with-icons > li > a.icon span[class^="icon-"], 
.dropdown-menu-with-icons > li > a.icon span[class*=" icon-"] { text-align: center; display:inline-block; width: 30px; font-size:16px; }
.dropdown-menu-with-icons > li > a.toggable.active span.toggable-icon.uncheck { display:none; }
.dropdown-menu-with-icons > li > a.toggable:not(.active) span.toggable-icon.check { display:none; }

.dropdown-menu-list { border: 0 none; margin-left: 10px; padding: 0; }
.dropdown-menu-list .list-group { margin: 0; }
.dropdown-menu-list .dropdown-submenu { }

.dropdown-menu > li > a:hover { background-color: #DDD; }
.dropdown-menu > li > a:focus { outline:2px solid #5897fb; }
.dropdown-menu > li > a[data-accelerator-desc] { padding-right:2.3em; } /* 0.4em padding left and right */
.dropdown-menu > li > a[data-accelerator-desc].sm-accelerator-desc { padding-right:3.8em; }
.dropdown-menu > li > a[data-accelerator-desc].md-accelerator-desc { padding-right:5.8em; }
.dropdown-menu > li > a[data-accelerator-desc].lg-accelerator-desc { padding-right:7.8em; }
.dropdown-menu > li > a[data-accelerator-desc].xl-accelerator-desc { padding-right:8.8em; }
.dropdown-menu > li > a[data-accelerator-desc].xxl-accelerator-desc { padding-right:11.8em; }
.dropdown-menu > li > a[data-accelerator-desc].xxxl-accelerator-desc { padding-right:13.8em; }
.dropdown-menu > li > a[data-accelerator-desc]:after { content:attr(data-accelerator-desc); position:absolute; right:0.5em; font-size:0.8em; padding-top:0.2em; }
.dropdown-menu .toolitem.disabled { pointer-events:none; cursor:pointer; opacity:0.65; }
.dropdown-menu .toolitem.bold { font-weight:bold; }
.dropdown-menu .dropdown-header { background:#CCC; margin:2px 10px; padding:1px 10px !important; border-radius:0px; color:white; text-align:center; }

/* Bootstrap modals */
.modal-dialog { margin:60px auto; }
.modal-content {border-top-left-radius: 0; border-top-right-radius: 0;
   /* we dont set the whole border radius to avoid a thin bright line on the left side of the 
      header in chrome and asume that we always have a footer to hide the round bottom corners */
}
.modal-content .modal-header { padding:0.4em 0.8em; color:white; }
.modal-content .modal-header .close { color:white; }
.modal-content .modal-header.modal-header-warning {background-color: red !important;}

.modal-content .modal-body { padding:0.8em; } 
.modal-content .modal-footer { padding:0.4em 0.8em; } 
.modal-content .modal-footer .btn-toolbar { text-align:right; }
.modal-content .modal-footer .btn-toolbar .btn-group { float:none; margin-left:0; }
.modal-content .modal-footer .btn-toolbar .btn-group .btn { border-radius:0; }
.modal-content .modal-footer .btn-toolbar .btn-group > .btn:not(.hidden):first-of-type { margin-left:5px; }


@media (min-width: 1280px) {
  .modal-xl {
    width: 1200px;
  }
}

/* Bootstrap panels */
.panel .panel-body > div:last-child,
.panel .panel-body > table:last-child { margin-bottom:0; }

/* Bootstrap popovers */
.fi-popover-parent { position:relative; }
.fi-popover { display:block; z-index:3; position:absolute; width:auto; height:auto; overflow:visible; }
.fi-popover.left { right:100% !important; left:auto !important; margin-right:10px; }
.fi-popover.right { left:100% !important; right:auto !important; margin-left:10px; }
.fi-popover.top { bottom:100% !important; top:auto !important; margin-bottom:10px; }
.fi-popover.bottom { top:100% !important; bottom:auto !important; margin-top:10px; }
.fi-popover.top.full,
.fi-popover.bottom.full { width:100% !important; left:0 !important; }
.fi-popover .popover { position:relative; margin:0; width:auto; max-width:none; border-radius:0; }
.fi-popover .popover-title { white-space:nowrap; border-radius:0; margin: -1px}
.fi-popover .popover-footer { padding:4px 14px; border-top:1px solid #DDD; white-space:nowrap; text-align:right; }
.fi-popover .popover-footer .btn-toolbar { white-space:nowrap; text-align:right; }
.fi-popover .popover-footer .btn-toolbar .btn-group { float:none; margin-left:0; }
.fi-popover .popover-footer .btn-toolbar .btn-group .btn { border-radius:0; font-size:12px; float:none; }
.fi-popover .popover-footer .btn-toolbar .btn-group .toolcheckbox { font-size:12px; }
.fi-popover .popover-footer .btn-toolbar .btn-group > .btn:not(.hidden):first-of-type { margin-left:5px; }
.fi-popover .popover-footer .btn-toolbar .btn-group .dropdown-menu { font-size:12px; }

/* jQuery-UI corrections */
.ui-datepicker-table * { box-sizing:content-box; }
.ui-timepicker-table * { box-sizing:content-box; }
.ui-monthpicker-table * { box-sizing:content-box; }

/* Overload label declaration */
.label_value .label { display: inherit; padding:inherit; font-size:inherit; font-weight: inherit; line-height: inherit; color:inherit; text-align: inherit; white-space: inherit; vertical-align: inherit; border-radius: inherit; }
