html, body { background-color: #ECF0F5;  }
#gk-fade { display: none; opacity: 0.2; background: #000; width: 100%; height: 100%; z-index: 20; top: 0; left: 0; position: fixed; }
.center-div { position: absolute; margin: auto; top: 0; right: 0; bottom: 0; left: 0; width: 350px; height: 100px; z-index: 3000; }
#ui_search_person { width: 300px; }
#custom_fade { display: none; opacity: 0.2; background: #000; width: 100%; height: 100%; z-index: 20; top: 0; left: 0; position: fixed; }
#toast-container { background-color: #2F96B4; color: #FFFFFF; padding: 7px; text-align: center; z-index: 100; border-radius: 3px 3px 3px 3px; }
.border_list { border: solid 1px #ede6e6; }
.hr-container { height: 32px; }
.splash-back { background-size: cover; display: flex; flex-direction: column; min-height: 100vh; background-image: url('../img/background.jpg') !important; }
hr { border-color: #ECF0F5;  margin-top:16px; }
.little-border { margin: 0; border: solid 1px silver; display: flex; align-items: center; }
.little-border2 { border: solid 1px silver; margin: 0 4px 0 4px; padding: 8px 0 8px 0; }
.bw1 { width: 36px; }
.bw2 { width: 72px; }
.max-500 { max-width:500px; }
.switch-container { max-width: 102px; padding: 4px; }
.opaque { opacity: 1 !important; filter: opacity(100%) !important; }
.subtitle { margin: 32px 0 16px 0;  font-weight: 700; font-size: 16px; border-top: solid 1px silver;}
.subtitle-noborder { margin: 0px 0 16px 0; font-weight: 700; font-size: 16px; }
.select2div2r { border: solid 1px silver; padding: 2px; min-height: 64px; }
.select2div3r { border: solid 1px silver; padding: 2px; min-height: 96px; }
.select2div4r { border: solid 1px silver; padding: 2px; min-height: 128px; }
.fitparent { width: 100% !important; }
.min-height1 { min-height: 500px; }
.little-border { margin: 0; border: solid 1px silver; }
.max-500 { max-width: 500px; }
.cellinfo { width:20px; }
.cell-l { min-height: 40px; border-left: solid 1px silver; }
.cell-t { min-height: 40px; border-top: solid 1px silver; }
.cell-r { min-height: 40px; border-right: solid 1px silver; }
.margin-bottom-xs { margin: 0 0 1px 0; }
.border-right { border-right: solid 1px silver !important; }
.left-sm { margin-left: 20px; }
.title-person { font-weight: 700; margin-left: 16px; color: #FFFFFF; }
.box-solid:hover { cursor: pointer; }
.box-header .box-title-sm { display: inline-block; font-size: 14px; margin: 0; line-height: 1; }
.width-sm { max-width: 60px; }
.width-md { max-width: 100px; }
.width-lg { max-width: 120px; }
.minw-sm { min-width: 60px; }
.font-black { color: #000000 !important; }
.padding1 { padding: 4px 8px 4px 8px; }
.padding-right1 { padding: 0 0 0 4px; }
.btn-wrap{ white-space: normal; }
.vcenter { display: inline-block; vertical-align: middle; float: none; }
.level-gray { background: #808080; border: solid 1px #C0C0C0; }
.level-white { background: #FFFFFF; border: solid 1px #C0C0C0; }
.level-green { background: #00FF21; border: solid 1px #C0C0C0; }
.level-yellow { background: #FFD800; border: solid 1px #C0C0C0; }
.level-red { background: #DD4B39; border: solid 1px #C0C0C0; }
.col-green { color: #267F00; }
.col-blue { color: #0026B2; }
.bg-gray { background: #808080; color: black; }
.bg-white { background: #FFFFFF; color: black; }
.bg-green { background: #00FF21; color: black; }
.bg-yellow { background: #FFD800; color: black; }
.bg-red { background: #DD4B39; color: white; }
.text-med-r { float: left; width: 200px; }
.text-med-r::after { clear:left; background-color: red; }
.bg-light { background-color: #ECF0F5; }
.bg-dark { background-color: #ecf4ff; }
.gk-header { height: 48px; width: 100%; z-index: 10; position: fixed; min-height: 0; }
.gk-header-layout { background: #3C8DBC; }
.gk-menu-nav { position: fixed; float: left; color: #b8c7ce; background: #222d32; height: 100%; width: 0; margin-top: 48px; overflow: hidden; }
.bar_nav { margin: 10px 0 0 0; padding: 0 0 0 20px; }
.bar_title { text-align: center; vertical-align: middle; line-height: 48px; font-size: 2em; font-weight: 400; color: #FFFFFF; }
.bar_cmd { margin: 10px 0 0 0; padding: 0 32px 0 0; text-align: right; }
.icon_g { font-size: 1.6em; color: #FFFFFF; margin: 0 4px 0 4px; }
.icon_f { font-size: 1.8em; color: #FFFFFF; margin: 0 4px 0 4px; }
.icon_g:hover { color: #ECF0F5; }
.icon_f:hover { color: #ECF0F5; }
.no-wrap { word-wrap: normal; }
.line-with-min { min-width: 200px; }
.highlight { color: blue !important; font-weight: 600; }
.highlight::selection { color: blue !important; font-weight: 600; }
.menusel { color: #FFFFFF !important; font-weight: 600; }
section .content { padding-top: 56px; }
.active-plus { border: solid 2px red !important; }
.label-x{ margin-top: -6px; }
.line-md { line-height: 36px; }
.space-top-xs { padding: 0 4px 0 4px; }
.space-top-sm { padding-top: 10px; }
.space-top-md { padding-top: 16px; }
.space-top-lg { padding-top: 24px; }
.space-right-sm { padding-right: 0.5em; }
.space-right-md { padding-right: 1em; }
.space-left-sm { margin-left: 0.5em; }
.space-left-md { margin-left: 1.0em; }
.space-bottom-xs {  margin-bottom: 2px;}
.space-bottom-sm { margin-bottom: 1em; }
.space-bottom-lg { margin-bottom: 2em; }
.space-bottom { margin-bottom: 20px !important; }
.space1 { margin-bottom: 1em; }
.search-box-md { padding: 4px 8px 4px 4px }
.footer { position: fixed; text-align: right; left: 0; bottom: 0; height: 26px; width: 100%; background: #ECF0F5; color: #898A8A; border-top: solid 1px #CECECE; z-index:3; }
.footer img { width: 20px; }
.footer .note { margin-left: 0.5em; }
.footer .version { margin-right: 1.5em; }
.color-red { color: red; }
.color-green { color: green; }
.checkbox { margin: 2px 0 4px 0; }
.checkbox label { padding-left: 4px; }
.radio { margin: 2px 0 4px 0;  }
.radio label { padding-left: 4px; }
.icon-font { font-size: 28px; font-weight: 400; color: white; }
.bg-pink { background-color: pink; }
.bg-blue { background-color: blue; }
.bg-white { background-color: #FFFFFF; }
.emphasis { color: red; font-weight: 700; }
.ellipsis { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.pad-sx { padding: 0 0 0 16px !important; }
.pad-dx { padding: 0 16px 0 0 !important; }
.skin-blue .gk-header { background-color: #3C8DBC; }
.skin-red .gk-header { background-color: #dd4b39; }
.skin-purple .gk-header { background-color: #605ca8; }
.btn-normal-background { background-color: #f4f4f4 !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
@media print { .no-print, .no-print * { display: none !important; } }
.simplecell { height: 32px; }
.text-len { text-overflow: ellipsis;  overflow: hidden; white-space: nowrap; }
.text-ttip { min-width: 100px; max-width: 100%; }
.control-sidebar-props { height: 100%; padding: 10px 0 0 8px; overflow-y: scroll; overflow-x: hidden; border-left: 1px solid #d2d6de; width: 230px; }
.help { font-size: 1.5em; }
.holiday { border: solid 1px red; }
.separator-vert { height: 10px; margin-bottom: 10px; border-bottom: solid 1px silver; }
.btn-tall { min-height: 100px; text-align: center; vertical-align: middle; }
.toast-top-center-mine { top: 12px; margin: 0 auto; left: 50%; margin-left: -150px; }
.pull-bottom { display: inline-block; vertical-align: bottom; float: none; }
.txt_dx { text-align: right; }
.pointer { cursor: pointer; }
.cus-s2  { width:  40px; }
.cus-s2 input { padding: 0 2px 0 2px; }
.cus-s4  { width:  80px; }
.cus-s8  { width: 160px; }
.cus-day-h { width: 100px; vertical-align: central; text-align: center;  }
.cus-day   { width: 100px; vertical-align: central; text-align: center; background-color: #F4F4F4; }
.btn-2   { width:  38px; }
.bg_even{ background-color: #ECF0F5; }
.bg_odd { background-color: #ECF4FF; }
div.cldark { background-color: #ECF0F5; }
div.cllight { background-color: #ECF4FF; }
div.clmedium { background-color: #F4F4F4; }
div.alternate { background-color: #ECF0F5; margin:0; }
div.alternate:nth-child(even) { background-color: #ecf4ff; }
.level-gray { background: #808080; border: solid 1px #C0C0C0; }
.level-white { background: #FFFFFF; border: solid 1px #C0C0C0; }
.level-green { background: #00FF21; border: solid 1px #C0C0C0; }
.level-yellow { background: #FFD800; border: solid 1px #C0C0C0; }
.level-red { background: #DD4B39; border: solid 1px #C0C0C0; }
.pager-text { margin: 8px 16px 0 0; }
.img-small { height: 16px; }
.img-sm { height: 16px; }
.img-md { height: 32px; }
.in-edit { color: blue; background: #FFFBD3; border: solid 2px gray; }
.in-insert { color: blue; background: #FFFBD3; border: solid 2px gray; }
.in-normal { color: black; background: white; }
.in-current{ border: solid 1px silver; }
.label-status { display: inline-block; width: 60px; margin: 0 1.0em 0 1.0em; }
.tab-title { font-size: 15px;  }
.state_extra_path { background-color: #FFFBD3;  }
.state_deleted { background-color: #DD4B39; color: #FFFFFF; }
.lock_yes { background-color: #ECF0F5; }
.selected { background-color: #A0D0E0 !important; }
.changed { background-color: #FFF7D3 !important; }
.tg { border-collapse: collapse; border-spacing: 0; background-color: #ffffff; }
    .tg td { font-family: Arial, sans-serif; font-size: 14px; padding: 4px 4px 0 0; border-style: solid; border-width: 0; border-color: white; overflow: hidden; word-break: normal; }
    .tg tr { min-width: 300px; }
        .tg tr:nth-child(4n) { background-color: #ecf4ff; }
        .tg tr:nth-child(4n-1) { background-color: #ecf4ff; }
    .tg .custom1 { background-color: #ffffff !important; padding-left: 10px; }
    .tg .custom2 { background-color: #F9FCFF !important; padding-left: 10px; }
    .tg .custom3 { background-color: #ecf4ff !important; }
    .tg .tg-internal { border-style: none; }
    .tg .tg-even { background-color: #ecf4ff; }
    .tg .tg-code { font-weight: bold; text-align: right; }
    .tg .tg-person { font-weight: bold; font-style: italic; }
    .tg .tg-mastercode { font-weight: bold; text-align: center; }
    .tg .tg-link { text-decoration: underline; text-align: center; cursor: pointer; }
    .tg .tg-cell1 { text-align: left; }
    .tg .tg-cell2 { text-align: center; }
    .tg .tg-status0 { background-color: red; width: 40px; }
    .tg .tg-status1 { background-color: silver; width: 40px; }
    .tg .tg-status2 { background-color: yellow; width: 40px; }
    .tg .tg-status3 { background-color: green; width: 40px; }
.col-centered { float: none; margin: 0 auto; text-align: center; }
span.big { font-size: 1.5em; }
label.big { font-size: 2.5em; }
p.big { font-size: 1.5em; }
input.big { font-size: 1.5em; }
select.big { font-size: 1.5em; min-width: 90%; }
button.big { font-size: 1.5em; min-width: 10em; }
div.app_name_title { font-size: 2em; color: white; text-align: center; width: 100%; }
span.main_title { margin: 30px 0 0 5px !important; padding-top: 4px; font-size: 1.8em; color: white; }
a.btn_home { width: 165px; height: 100px; font-size: 1.5em; margin: 1em 0.5em 0.5em 0; padding: 0; }
.row_alt { background-color: aliceblue; }
.blink_me { -webkit-animation-name: blinker; -webkit-animation-duration: 1s; -webkit-animation-timing-function: linear; -webkit-animation-iteration-count: infinite; -moz-animation-name: blinker; -moz-animation-duration: 1s; -moz-animation-timing-function: linear; -moz-animation-iteration-count: infinite; animation-name: blinker; animation-duration: 1s; animation-timing-function: linear; animation-iteration-count: infinite; }
@-moz-keyframes blinker { 0% { opacity: 1.0; } 50% { opacity: 0.0; } 100% { opacity: 1.0; } }
@-webkit-keyframes blinker { 0% { opacity: 1.0; } 50% { opacity: 0.0; } 100% { opacity: 1.0; } }
@keyframes blinker { 0% { opacity: 1.0; } 50% { opacity: 0.0; } 100% { opacity: 1.0; } }
span.slide-left { animation-name: slide-left; animation-duration: 4s; animation-iteration-count: infinite; }
@keyframes slide-left { from { margin-left: 100%; width: 300%; } to { margin-left: 0; width: 100%; } }
.size-cancel { min-width: 60px; }
.gk-slider { position: relative; overflow: visible; width: 100%; }
.gk-slider-inner { position: relative; width: 100%; }
.gk-slider-item { display: none; position: relative; }
.gk-slider-item.gk-active { display: block; }
/* .bootstrap-datetimepicker-widget { border: solid 1px red !important; } */
.select2-selection--multiple { overflow: hidden !important;  height: auto !important; }
.select2-container--default .select2-selection--single, .select2-container--default .select2-selection--multiple { background-color: inherit; }
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove { background-color: transparent; border: none; border-top-left-radius: 4px; border-bottom-left-radius: 4px; cursor: pointer; font-size: 1em; font-weight: bold; padding: 0 4px; position: absolute; left: 0px; top: 0px; }
.select2-container--default .select2-selection--multiple .select2-selection__choice__display { padding-left: 6px; }
.cbp-spmenu { position: fixed; background: #F9FAFC; }
.cbp-spmenu-vertical { width: 230px; height: 100%; top: 0; z-index: 1000; }
.cbp-spmenu-horizontal { width: 100%; height: 150px; left: 0; z-index: 1000; overflow: hidden; }
.cbp-spmenu-left { left: -230px; }
.cbp-spmenu-right { right: -230px; }
.cbp-spmenu-left.cbp-spmenu-open { left: 0; }
.cbp-spmenu-right.cbp-spmenu-open { right: 0; }
.cbp-spmenu-top { top: -150px; }
.cbp-spmenu-bottom { bottom: -150px; }
.cbp-spmenu-top.cbp-spmenu-open { top: 0; }
.cbp-spmenu-bottom.cbp-spmenu-open { bottom: 0; }
.push-body { overflow-x: hidden; position: relative; left: 0; }
.push-body-toright { left: 230px; }
.push-body-toleft { left: -230px; }
.cbp-spmenu,
.push-body { -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; transition: all 0.3s ease; }
@media screen and (max-width: 55.1875em) {.cbp-spmenu-horizontal { font-size: 75%; height: 110px; }.cbp-spmenu-top { top: -110px; }.cbp-spmenu-bottom { bottom: -110px; }}
@media screen and (max-height: 26.375em) {.cbp-spmenu-vertical { font-size: 90%; width: 190px; }.cbp-spmenu-left, .push-body-toleft { left: -190px; }.cbp-spmenu-right { right: -190px; }.push-body-toright { left: 190px; }}
.animated {-webkit-animation-duration: .5s;animation-duration: .5s;-webkit-animation-fill-mode: both;animation-fill-mode: both;}
@-webkit-keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.fadeIn { -webkit-animation-name: fadeIn; animation-name: fadeIn; }
@-webkit-keyframes fadeInDown {from { opacity: 0; -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); } to { opacity: 1; -webkit-transform: none; transform: none; } }
.checkbox {
    padding-left: 20px;
}
.checkbox label {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    padding-left: 5px;
}
.checkbox label::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 17px;
    height: 17px;
    left: 0;
    margin-left: -20px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    background-color: #fff;
    -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    -o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
}
.checkbox label::after {
    display: inline-block;
    position: absolute;
    width: 16px;
    height: 16px;
    left: 0;
    top: 0;
    margin-left: -20px;
    padding-left: 3px;
    padding-top: 1px;
    font-size: 11px;
    color: #555555;
}
.checkbox input[type="checkbox"],
.checkbox input[type="radio"] {
    opacity: 0;
    z-index: 1;
}
.checkbox input[type="checkbox"]:focus + label::before,
.checkbox input[type="radio"]:focus + label::before {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}
.checkbox input[type="checkbox"]:checked + label::after,
.checkbox input[type="radio"]:checked + label::after {
    font-family: "FontAwesome";
    content: "\f00c";
}
.checkbox input[type="checkbox"]:indeterminate + label::after,
.checkbox input[type="radio"]:indeterminate + label::after {
    display: block;
    content: "";
    width: 10px;
    height: 3px;
    background-color: #555555;
    border-radius: 2px;
    margin-left: -16.5px;
    margin-top: 7px;
}
.checkbox input[type="checkbox"]:disabled + label,
.checkbox input[type="radio"]:disabled + label {
    opacity: 0.65;
}
.checkbox input[type="checkbox"]:disabled + label::before,
.checkbox input[type="radio"]:disabled + label::before {
    background-color: #eeeeee;
    cursor: not-allowed;
}
.checkbox.checkbox-circle label::before {
    border-radius: 50%;
}
.checkbox.checkbox-inline {
    margin-top: 0;
}
.checkbox-primary input[type="checkbox"]:checked + label::before,
.checkbox-primary input[type="radio"]:checked + label::before {
    background-color: #337ab7;
    border-color: #337ab7;
}
.checkbox-primary input[type="checkbox"]:checked + label::after,
.checkbox-primary input[type="radio"]:checked + label::after {
    color: #fff;
}
.checkbox-danger input[type="checkbox"]:checked + label::before,
.checkbox-danger input[type="radio"]:checked + label::before {
    background-color: #d9534f;
    border-color: #d9534f;
}
.checkbox-danger input[type="checkbox"]:checked + label::after,
.checkbox-danger input[type="radio"]:checked + label::after {
    color: #fff;
}
.checkbox-info input[type="checkbox"]:checked + label::before,
.checkbox-info input[type="radio"]:checked + label::before {
    background-color: #5bc0de;
    border-color: #5bc0de;
}
.checkbox-info input[type="checkbox"]:checked + label::after,
.checkbox-info input[type="radio"]:checked + label::after {
    color: #fff;
}
.checkbox-warning input[type="checkbox"]:checked + label::before,
.checkbox-warning input[type="radio"]:checked + label::before {
    background-color: #f0ad4e;
    border-color: #f0ad4e;
}
.checkbox-warning input[type="checkbox"]:checked + label::after,
.checkbox-warning input[type="radio"]:checked + label::after {
    color: #fff;
}
.checkbox-success input[type="checkbox"]:checked + label::before,
.checkbox-success input[type="radio"]:checked + label::before {
    background-color: #5cb85c;
    border-color: #5cb85c;
}
.checkbox-success input[type="checkbox"]:checked + label::after,
.checkbox-success input[type="radio"]:checked + label::after {
    color: #fff;
}
.checkbox-primary input[type="checkbox"]:indeterminate + label::before,
.checkbox-primary input[type="radio"]:indeterminate + label::before {
    background-color: #337ab7;
    border-color: #337ab7;
}
.checkbox-primary input[type="checkbox"]:indeterminate + label::after,
.checkbox-primary input[type="radio"]:indeterminate + label::after {
    background-color: #fff;
}
.checkbox-danger input[type="checkbox"]:indeterminate + label::before,
.checkbox-danger input[type="radio"]:indeterminate + label::before {
    background-color: #d9534f;
    border-color: #d9534f;
}
.checkbox-danger input[type="checkbox"]:indeterminate + label::after,
.checkbox-danger input[type="radio"]:indeterminate + label::after {
    background-color: #fff;
}
.checkbox-info input[type="checkbox"]:indeterminate + label::before,
.checkbox-info input[type="radio"]:indeterminate + label::before {
    background-color: #5bc0de;
    border-color: #5bc0de;
}
.checkbox-info input[type="checkbox"]:indeterminate + label::after,
.checkbox-info input[type="radio"]:indeterminate + label::after {
    background-color: #fff;
}
.checkbox-warning input[type="checkbox"]:indeterminate + label::before,
.checkbox-warning input[type="radio"]:indeterminate + label::before {
    background-color: #f0ad4e;
    border-color: #f0ad4e;
}
.checkbox-warning input[type="checkbox"]:indeterminate + label::after,
.checkbox-warning input[type="radio"]:indeterminate + label::after {
    background-color: #fff;
}
.checkbox-success input[type="checkbox"]:indeterminate + label::before,
.checkbox-success input[type="radio"]:indeterminate + label::before {
    background-color: #5cb85c;
    border-color: #5cb85c;
}
.checkbox-success input[type="checkbox"]:indeterminate + label::after,
.checkbox-success input[type="radio"]:indeterminate + label::after {
    background-color: #fff;
}
.radio {
    padding-left: 20px;
}
.radio label {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    padding-left: 5px;
}
.radio label::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 17px;
    height: 17px;
    left: 0;
    margin-left: -20px;
    border: 1px solid #cccccc;
    border-radius: 50%;
    background-color: #fff;
    -webkit-transition: border 0.15s ease-in-out;
    -o-transition: border 0.15s ease-in-out;
    transition: border 0.15s ease-in-out;
}
.radio label::after {
    display: inline-block;
    position: absolute;
    content: " ";
    width: 11px;
    height: 11px;
    left: 3px;
    top: 3px;
    margin-left: -20px;
    border-radius: 50%;
    background-color: #555555;
    -webkit-transform: scale(0, 0);
    -ms-transform: scale(0, 0);
    -o-transform: scale(0, 0);
    transform: scale(0, 0);
    -webkit-transition: -webkit-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
    -moz-transition: -moz-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
    -o-transition: -o-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
    transition: transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
}
.radio input[type="radio"] {
    opacity: 0;
    z-index: 1;
}
.radio input[type="radio"]:focus + label::before {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}
.radio input[type="radio"]:checked + label::after {
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    transform: scale(1, 1);
}
.radio input[type="radio"]:disabled + label {
    opacity: 0.65;
}
.radio input[type="radio"]:disabled + label::before {
    cursor: not-allowed;
}
.radio.radio-inline {
    margin-top: 0;
}
.radio-primary input[type="radio"] + label::after {
    background-color: #337ab7;
}
.radio-primary input[type="radio"]:checked + label::before {
    border-color: #337ab7;
}
.radio-primary input[type="radio"]:checked + label::after {
    background-color: #337ab7;
}
.radio-danger input[type="radio"] + label::after {
    background-color: #d9534f;
}
.radio-danger input[type="radio"]:checked + label::before {
    border-color: #d9534f;
}
.radio-danger input[type="radio"]:checked + label::after {
    background-color: #d9534f;
}
.radio-info input[type="radio"] + label::after {
    background-color: #5bc0de;
}
.radio-info input[type="radio"]:checked + label::before {
    border-color: #5bc0de;
}
.radio-info input[type="radio"]:checked + label::after {
    background-color: #5bc0de;
}
.radio-warning input[type="radio"] + label::after {
    background-color: #f0ad4e;
}
.radio-warning input[type="radio"]:checked + label::before {
    border-color: #f0ad4e;
}
.radio-warning input[type="radio"]:checked + label::after {
    background-color: #f0ad4e;
}
.radio-success input[type="radio"] + label::after {
    background-color: #5cb85c;
}
.radio-success input[type="radio"]:checked + label::before {
    border-color: #5cb85c;
}
.radio-success input[type="radio"]:checked + label::after {
    background-color: #5cb85c;
}
input[type="checkbox"].styled:checked + label:after,
input[type="radio"].styled:checked + label:after {
    font-family: 'FontAwesome';
    content: "\f00c";
}
input[type="checkbox"] .styled:checked + label::before,
input[type="radio"] .styled:checked + label::before {
    color: #fff;
}
input[type="checkbox"] .styled:checked + label::after,
input[type="radio"] .styled:checked + label::after {
    color: #fff;
}
.mailbox-preview {
    margin-top: 3%;
    margin-bottom: 3%;
    margin-right: 3%;
    border-left: medium solid transparent;
    cursor: pointer;
}
.mailbox-preview.active {
    border-left: medium solid #3c8dbc;
    background-color: azure;
}
.mailbox-preview .mailbox-preview-icon {
    width: 9%;
    margin-left: 1%;
    float: left;
}
.mailbox-preview .mailbox-preview-title {
    white-space: nowrap;
    width: 84%;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mailbox-preview .mailbox-preview-da {
    white-space: nowrap;
    width: 84%;
    margin-left: 10%;
    overflow: hidden;
    text-overflow: ellipsis;
    color: grey;
}
div.phs_timeline_report {
    background-color: #F6F6F6 !important; 
    border-color: #DDDDDD !important;
    color: #0073EA;
    font-family: 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    box-shadow: 0 0 10px gray;
}
div.phs_timeline_visit {
    background-color: #DFEFFC !important; 
    border-color: #C5DBEC !important;
    color: #2E6E9E;
    font-family: 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    box-shadow: 0 0 10px gray;
}
div.phs_timeline_prescription {
    background-color: #FAAC58 !important; 
    border-color: #FA8258 !important;
    color: black;
    font-family: 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    box-shadow: 0 0 10px gray;
}
div.phs_timeline_history {
    background-color: #6EAC2C !important; 
    border-color: #ACDD4A !important;
    color: #FFFFFF !important;
    font-family: 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    box-shadow: 0 0 10px gray;
}
div.timeline-event-selected {
    background-color: #367FA9 !important;
    border-color: #888888 !important;
    font-family: 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #FFFFFF !important;
    box-shadow: 0 0 10px gray;
}
div.timeline-event-popup {
    background: white !important;
    max-width: 800px;
    max-height: 800px;
    display: none;
    border: 1px solid #ddd;
    position: absolute;
    top: 40%;
    left: 40%;
    z-index: 1005;
}
.container_wordcloud {
    border: 1px solid #d2d6de;
    border-radius: 10px;
}
.dataTables_wrapper .dataTables_length {
    float: right;
}
.stacked-info {
    display: flex;
    flex-direction: row;
}
.stacked-info .data {
    font-weight: bold;
    color: #333;
}
.stacked-info .nome {
    white-space: normal;
    color: #555;
}
/* DBE inizio */
.truncate-singleline {
    /*Metterlo nel DIV
    Da NON mettere nelle date*/
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.truncate-multiline {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.relevant {
    background-color: #eee;
    transition: all 0.3s ease;
}

    .relevant:hover {
        background-color: #d0eaff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transform: scale(1.02);
    }

.chameleon {
    appearance: none;
    border: none;
    background: transparent;
}

.trasparent {
    text-decoration: none;
    color: rgba(0, 123, 255, 0.5);
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
    background: transparent;
    font-weight: bold;
    position: relative;
}

trasparent::before {
    content: attr(title);
    color: #fff;
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    opacity: 0.05;
    transition: opacity 0.3s;
    pointer-events: none;
}

trasparent:hover {
    background-color: rgba(0, 123, 255, 0.2);
    color: blue;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.7);
    border-color: blue;
}

    trasparent:hover::before { opacity: 0; }

.box-arancione {
    background-color: orange;
    color: white;
    text-align: center;
}

.box-giallo {
    background-color: yellow;
    color: black;
    text-align: center;
}

.box-verde {
    background-color: greenyellow;
    color: black;
}

.box-rosso {
    background-color: red;
    color: white;
    text-align: center;
}

.box-bianco {
    background-color: DarkGrey;
    color: whitesmoke;
    text-align: center;
}

@media (max-width: 1536px) {    /*Media: serve per fare capire quando supera un certo numero di px*/
    .btn-label {
        display: none;
    }
}

/* DBE fine */

/* GANTT CSS */

.gantt-container {
    min-height: 600px;
    height: 100vh;
}

.gantt-wrapper {
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid #ccc;
    padding: 10px;
    margin: 20px auto;
    border-radius: 6px;
    background-color: #f9f9f9;
}

.details-container {
    padding: 10px;
    font-size: 13px;
}

.details-container h5 {
    margin: 0 0 5px 0;
    font-size: 14px;
}

.gantt-container .popup-wrapper .title {
    margin-top: 10px;
    font-size: 2rem;
}

.gantt-container .popup-wrapper .subtitle {
    padding: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 2rem;
}

.gantt-container .popup-wrapper .details {
    font-size: 1.2rem;
}

/*FINE GANTT CSS*/

.scrollable-list {
    max-height: 700px; /* adatta a quanti elementi vuoi mostrare senza scroll */
    overflow-y: auto;
}
.scrollable-list-project-outcomes {
    max-height: 300px; /* adatta a quanti elementi vuoi mostrare senza scroll */
    overflow-y: auto;
}