/* Loader */

html, body {
  overflow:hidden;
  font-size:16px;
  line-height:1.5;
}
a:hover{ text-decoration:none; }
.blur {filter: blur(5px) brightness(0.5)}
input.form-control.h-100 {
  padding: 10px 30px 10px 10px;
  margin-left: -1px;
}

.bootstrap-select.form-control {border: 1px solid #ddd}
.text-ellipsis {
  max-width: 100px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.invalid-feedback { margin-left: 50px }
#username::placeholder, #email::placeholder, #euc_email::placeholder, #login::placeholder,  #euc_login::placeholder {text-transform:capitalize;}
.popover { box-shadow:1px 1px 10px #aaa; }
tr#tr-bg { transition: color .3s;}

#loadingDiv {
  position:fixed;;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color:#000;
  z-index: 99999;
}

.loader {
  font-size: 10px;
  margin: 50px auto;
  text-indent: -9999em;
  width: 11em;
  height: 11em;
  border-radius: 50%;
  background: #006097;
  background: -moz-linear-gradient(left, #006097 10%, rgba(0,96,151, 0) 42%);
  background: -webkit-linear-gradient(left, #006097 10%, rgba(0,96,151, 0) 42%);
  background: -o-linear-gradient(left, #006097 10%, rgba(0,96,151, 0) 42%);
  background: -ms-linear-gradient(left, #006097 10%, rgba(0,96,151, 0) 42%);
  background: linear-gradient(to right, #006097 10%, rgba(0,96,151, 0) 42%);
  position: relative;
  -webkit-animation: load3 1.4s infinite linear;
  animation: load3 1.4s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.loader:before {
  width: 50%;
  height: 50%;
  background: #006097;
  border-radius: 100% 0 0 0;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
}
.loader:after {
  background: #000000;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  content: '';
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
@-webkit-keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.loader-transparent {
  font-size: 10px;
  margin: 50px auto;
  text-indent: -9999em;
  width: 8em;
  height: 8em;
  border-radius: 50%;
  background: #006097;
  background: -moz-linear-gradient(left, #006097 10%, rgba(0,96,151, 0) 42%);
  background: -webkit-linear-gradient(left, #006097 10%, rgba(0,96,151, 0) 42%);
  background: -o-linear-gradient(left, #006097 10%, rgba(0,96,151, 0) 42%);
  background: -ms-linear-gradient(left, #006097 10%, rgba(0,96,151, 0) 42%);
  background: linear-gradient(to right, #006097 10%, rgba(0,96,151, 0) 42%);
  position: relative;
  -webkit-animation: load3 1.4s infinite linear;
  animation: load3 1.4s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.loader-transparent:before {
  width: 50%;
  height: 50%;
  background: #006097;
  border-radius: 100% 0 0 0;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
}
.loader-transparent:after {
  background-image: url("../img/favicon.ico");
  background: #ffffff;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  content: '';
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
@-webkit-keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

#cover-spin {
  position: absolute;
  width: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgb(33 33 33 / 80%);
  z-index: 100;
  display: block;
}

@-webkit-keyframes spin {
from {-webkit-transform:rotate(0deg);}
to {-webkit-transform:rotate(360deg);}
}

@keyframes spin {
from {transform:rotate(0deg);}
to {transform:rotate(360deg);}
}

.sb-topnav .navbar-brand {
  width: 200px;
}

.sb-topnav.navbar-dark #sidebarToggle:focus {
  outline: none;
  box-shadow: none;
}

.sb-topnav .dashboard-title {position:relative;}
.sb-topnav .dashboard-title #dashboard_title { margin-bottom: 0 !important; }
.sb-topnav .dashboard-title .dropdown {
  position: absolute;
  right: -48px;
  top: 2px;
}
.sb-topnav .dashboard-title .dropdown-toggle {
  color: #888;
  width: 40px;
  margin-left: 10px;
}

.sb-topnav .dashboard-title .dropdown .edit-dashboard-title {
  font-size: 11px;
  margin-top: -4px;
  position: absolute;
  left: 0;
}

.sb-topnav #dashboard_title .edit-dashboard-title:hover { color:#222; }

.sb-nav-fixed #layoutSidenav #layoutSidenav_nav {
  /*width: 200px;*/
}

.sb-nav-fixed #layoutSidenav #layoutSidenav_content {
  /*padding-left: 200px;*/
}


.sb-sidenav .sb-sidenav-menu .sb-sidenav-menu-nested a.nav-link-nested{
  text-decoration: none;
  background-color: transparent;
  display: flex;
  align-items: center;
  position: relative;
  color: rgba(255, 255, 255, 0.5);
  padding: 5px 10px;
}
.sb-sidenav .sb-sidenav-menu .sb-sidenav-menu-nested a.nav-link-nested:hover,
.sb-sidenav .sb-sidenav-menu .sb-sidenav-menu-nested a.nav-link-nested.active {
  color: #ffffff;
}

.sb-sidenav-dark .sb-sidenav-footer {
  background-color: rgb(52, 58, 64);
  position: absolute;
  bottom: 0;
  width: 100%;
  padding:0;
  height:70px;
}

.sb-sidenav-footer .admin-tools {
  position: absolute;
  right: 5px;
  top: -30%;
  opacity:0.5;
  line-height: 1;
}

.sb-sidenav-footer .admin-tools:hover, .sb-sidenav-footer .admin-tools.active {
  opacity:1;
}

#cover-spin::after {
  content: '';
  display: block;
  position: absolute;
  left: 45%;
  top: 40%;
  width: 60px;
  height: 60px;
  border-style: solid;
  border-top-color: #75cdff;
  border-width: 4px;
  border-radius: 50%;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

/* Default Override Style */
#loginBtn { font-size: 18px; }
.form-control:focus, .ss-main .ss-content .ss-search input:focus {
  color: #495057;
  background-color: #fff;
  border-color: #888888;
  outline: 0;
  box-shadow: 0 0 0 0.2em rgb(136 136 136 / 0.2) !important;
}
.form-control::placeholder {
  color: #bbb;
}
.ss-main .ss-multi-selected .ss-values .ss-disabled { color: #bbbbbb !important; }
.ss-main .ss-content .ss-search input { height:100% !important; }
.ss-main .ss-multi-selected { padding: 4px 10px !important; }
.ss-main .ss-multi-selected .ss-values .ss-value {
  background-color: #666666 !important;
}

.table thead th {
  font-size: 14px !important;
  background: #eaeaea;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
}
.table tbody tr { font-size: 14px !important; }

#lookup-table input[type=radio], #lookup-table input[type=checkbox] {
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  display: block;
  margin: 0 auto;
  cursor: pointer;
}

.table .dataTables_info {
  font-size:12px;
}

.card-header {
  background: #eaeaea;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  color: #666;
  font-weight: bold;
  font-size: 16px;
}

.card-body { background: #fafafa; }

footer {
  border-top: 1px solid #ddd;
  font-size: 18px;
}

.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: none;
  border: 1px solid #0089dc;
  box-shadow: 1px 1px 2px #111;
  opacity:0.4;
}

.back-to-top:hover {
  opacity:1;
}


/* Dashboard Panel Design*/
.panel-heading {
  padding: 4px 15px;
  border: 1px solid transparent;
}

.panel-info > .panel-heading {
  color: #ffffff;
  background-color: #006097;
  border:1px solid #00476f;
}

/* Hover Effect */
.panel-heading:hover {
  cursor: move; /* fallback if grab cursor is unsupported */
}

/* Panel header color on active */
.panel-heading:active {
  background-color:#0d3142;
  
}

.panel-warning > .panel-heading:active {
  background-color:#FDDA24;
}

.panel-danger > .panel-heading:active {
  background-color:#FF3B3B;
}

.panel-heading .tools {
  font-size: 12px;
  position: absolute;
  right: 9px;
  top: 3px;
}

.panel-heading .tools .fa-edit,
.panel-heading .tools .fa-trash,
.panel-heading .tools .fa-table,
.panel-heading .tools .fa-list {
  cursor: pointer;
  text-align: center;
  width: 16px;
  height: 16px;
}

.panel-heading .tools .fa-edit:hover,
.panel-heading .tools .fa-trash:hover,
.panel-heading .tools .fa-table:hover,
.panel-heading .tools .fa-list:hover {
  color:#ddd;
}

.add-panel-cont {
  display: block;
  padding: 50px;
  border: 3px solid #aaa;
  border-radius: 10px;
  margin: 10px;
  color: #aaa;
  cursor: pointer;
  box-shadow: 2px 2px 5px #ccc;
  width: 25%;
  text-align: center;
  background: #fafafa;
}

.add-panel-cont:hover {
  background: #ffffff;
}

/* Gridstack */
.grid-stack-item-content {
  background: #ffffff;
  border: 1px solid #cccccc;
  box-shadow: 4px 4px 4px #aaaaaa;
  overflow:hidden !important;
  inset: 2px !important;
}

/* Align Panel Text */
.panel-title {
    text-align: left;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1px;
}

.panel-title > a {
  color: inherit;
}

/* Fixes Font Awesome and Gridstack Resizer */
.grid-stack-item > .ui-icon.ui-resizable-handle {
  right: 4px !important;
  bottom: 4px !important;
}

.panel-body {
  /*height: 100%;*/
  position: relative;
  padding-bottom: 30px;
}

.panel-body .content{
  display: block;
  position: relative;
  padding-bottom: 26px;
  overflow: hidden !important;
}

.panel-body .fa-spin {
  color: #006097;
}

.centered-absolute {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* Custom Scroller
::-webkit-scrollbar { width: 10px; }
 
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 4px rgba(255,255,255,0.2); 
  border-radius: 8px;
}
::-webkit-scrollbar-track:active {
  -webkit-box-shadow: inset 0 0 4px #222222; 
}
 
::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background-color: rgba(0,0,0,0.2);
}
*/

/* Modal */
.modal { overflow: auto; }

.modal-content {
  box-shadow: 1px 1px 10px #333333;
  border-radius: 6px;
  border: 1px solid #666;
  overflow: hidden !important;
}

.modal-header {
  background: #eaeaea;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  color: #666;
  font-weight: bold;
  font-size: 16px;
}

.modal-footer {
  background: #f6f6f6 !important;
}

#panel-select {
  max-height: 200px;
  overflow: auto;
  overflow-x: hidden;
  border-top: none !important;
  border: 1px solid #ddd;
}

#panel-select option { padding: 2px 10px; font-size: 14px;}

#panel-select option:hover {
  color: #fff;
  background-color: #5897fb;
  cursor:pointer;
}

.info-box {
  box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);
  border-radius: .25rem;
  background: #fff;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 2px;
  padding: .5rem;
  position: relative;
  font-size: 12px;
}

.info-box .info-box-content {
  -ms-flex: 1;
  flex: 1;
  padding: 5px 10px;
}

.info-box .info-box-text, .info-box .progress-description {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.info-box .info-box-number {
  display: block;
  font-weight: 700;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
  justify-content: center !important;
}



button.dt-button, div.dt-button, a.dt-button, input.dt-button {
  margin-right:0;
}

div.dt-button-collection button.dt-button:active:not(.disabled), div.dt-button-collection button.dt-button.active:not(.disabled), div.dt-button-collection div.dt-button:active:not(.disabled), div.dt-button-collection div.dt-button.active:not(.disabled), div.dt-button-collection a.dt-button:active:not(.disabled), div.dt-button-collection a.dt-button.active:not(.disabled) {
  background: #ddd !important;
}

table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td.dtr-control:before, table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th.dtr-control:before {
  top: 50%;
  left: 5px;
  height: 12px;
  width: 12px;
  margin-top: -9px;
  display: block;
  position: absolute;
  color: white;
  border: 0.15em solid white;
  border-radius: 50%;
  box-shadow: 0 0 0.2em #444;
  box-sizing: content-box;
  text-align: center;
  text-indent: 0 !important;
  font-family: 'Courier New', Courier, monospace;
  line-height: 1.1;
  letter-spacing: 0;
  font-size: 12px;
}

.grid-stack>.grid-stack-item>.grid-stack-item-content {
  /* height:98% !important;*/
}

.btn-primary:hover {
  color: #fff;
  background-color: #194e66 !important;
  border-color: #0062cc !important;
}

.btn-success:hover {
  color: #fff;
  background-color: #218838 !important;
  border-color: #1e7e34 !important;
}

.btn-info:hover {
  color: #fff;
  background-color: #138496 !important;
  border-color: #117a8b !important;
}

.btn-warning:hover {
  color: #212529;
  background-color: #e0a800 !important;
  border-color: #d39e00 !important;
}

.btn-danger:hover {
  color: #fff;
  background-color: #c82333 !important;
  border-color: #bd2130 !important;
}

#col-table,
#col-chart { padding:0 !important;z-index: 1;}

#col-chart {
  padding: 0 !important;
  
}

#col-chart.col-box {
  border-left: 2px solid #ccc;
  box-shadow: 1px 1px 10px #444;
}

#chart_table_content table {
  /*table-layout: fixed;
  word-wrap:break-word;*/
}

#chart_table_content table.dataTable {
  margin-top:0 !important;
}

#chart_table_content table.table-bordered.dataTable th {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 11px !important;
  line-height: 1;
  text-align: right;
  /*padding: 3px 24px 3px 10px;*/
  padding: 3px 24px 3px 3px !important;
}

#chart_table_content table.dataTable>thead>tr>th:not(.sorting_disabled), table.dataTable>thead>tr>td:not(.sorting_disabled) {
  padding-right: 24px !important;
}

#chart_table_content table.table-bordered.dataTable tbody th,
#chart_table_content table.table-bordered.dataTable tbody td {
  vertical-align: middle;
  text-align: right;
  border: none;
  /*padding: 0 16px 0 10px !important;*/
  padding: 0 8px 0 8px !important;
  overflow: hidden;
  white-space: nowrap;
  word-break: break-all;
  max-width: 2vw;
}

#chart_table_content  tr {
  font-size: 12px !important;
  border: none;
}

#chart_table_content table.dataTable>thead .sorting:before, table.dataTable>thead .sorting:after, table.dataTable>thead .sorting_asc:before, table.dataTable>thead .sorting_asc:after, table.dataTable>thead .sorting_desc:before, table.dataTable>thead .sorting_desc:after, table.dataTable>thead .sorting_asc_disabled:before, table.dataTable>thead .sorting_asc_disabled:after, table.dataTable>thead .sorting_desc_disabled:before, table.dataTable>thead .sorting_desc_disabled:after {
  bottom: 3px !important;
}

#chart_table_content .dataTables_scrollHeadInner {
  padding-right: 0 !important;
}

#chart_table_content .dataTables_scrollBody {
  padding-bottom:5px;
  background:none;
}

#chart_table_content .dataTables_scrollBody table thead {
  display: table-footer-group;
}

#chart_table_content .dataTables_scrollBody table tbody tr td.sorting_1 {
  max-width: 4vw !important;
}

#chart_table_content .dataTables_scrollBody .ps-scrollbar-y-rail,
#chart_table_content .dataTables_scrollBody .ps-scrollbar-x-rail {
  z-index: 1000;
  
}

#chart_table_content .dataTables_scrollBody .ps-scrollbar-y-rail {
  left: 0px;
  right: auto;
}
#chart_table_content .dataTables_scrollBody .ps-scrollbar-y {
  left: 0px;
  right: auto;
  /*min-height: 20px !important;*/
}

#chart_table_content .dataTables_wrapper .dataTables_info {
  margin-top: -16px;
  z-index: 3;
  position: absolute;
  width: 100%;
  background: #03030394;
  padding: 0;
  text-align: center;
  color: #fff;
  font-size: 12px;
}

.dropdown-menu.show {
  box-shadow: 1px 1px 10px #666666;
}
.dropdown-item:hover, .dropdown-item:focus {
  outline:none !important;
}
.dropdown-item:hover, .dropdown-item:hover {
  color: #fff;
  text-decoration: none;
  background-color: #007bff;
}

/* Ensure that the demo table scrolls 
#chart_table_content th, #chart_table_content td { white-space: nowrap; }
#chart_table_content div.dataTables_wrapper {
    width: 800px;
    margin: 0 auto;
}
*/

.highcharts-container {
  width:100% !important;
}

#chart_custom_legend {
  margin: 0 auto;
  background: #f8f8f8;
  box-shadow: 1px 1px 4px #aaa;
  margin-top: 2px;
  width: 0%;
  height: 100%;
  position: absolute;
  top: 0;
  right: -10px;
  box-shadow: 1px 1px 10px #333;
}

#chart_custom_legend .legend-header {
  padding: 10px 15px 5px;
  border-bottom: 1px solid #ddd;
  background: #eee;
  position: relative;
}

#chart_custom_legend .legend-header .legend-tools{
  position: absolute;
  top: 10px;
  right: 20px;
  width: 60%;
}

#chart_custom_legend .legend-header .legend-tools span.close-legend{
  width: 60%;
  position: relative;
  text-align: right;
  float: right;
}

#chart_custom_legend .legend-header .legend-tools span.close-legend:hover{
  color:red !important;
}

#chart_custom_legend .legend-body {
  height: 80%;
  position: relative;
}

#chart_custom_legend ul {
  list-style: none;
  display: block;
  padding: 10px 0;
  height: 100%;
}

#chart_custom_legend li.item {
  font-size: 12px;
  width: 100%;
  cursor: pointer;
  float: left;
  list-style: none;
  display: block;
  padding: 5px 15px;
}

#chart_custom_legend .symbol {
  width: 20px;
  height: 10px;
  float: left;
  -webkit-border-radius: 6px;
  border-radius: 10px;
  margin: 6px;
}
#chart_custom_legend .seriesName {
  float: left;
  cursor: pointer;
}

#chart_custom_legend .item:hover {
  opacity:0.8;
}


/* Custom Toast */
#toast-container {
	position: sticky;
	z-index: 1055;
	top: 0;
}

#toast-wrapper {
  position: fixed;
  top: 0;
  right: 0;
  margin: 5px;
}

#toast-container>#toast-wrapper>.toast {
  min-width: 400px;
  box-shadow: 0 0 10px #333;
  font-size: 16px;
  background: #fff;
}

#toast-container>#toast-wrapper>.toast>.toast-header strong {
	padding-right: 20px;
}

#lookup-table .text-truncate {
  max-width:80px !important;
  white-space: nowrap !important;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
  padding: 20px !important;
  width: 100%;
  box-shadow: 1px 1px 6px #333;
}

.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
  width: 100%;
  border-radius: 4px;
  border: 1px solid #eee;
}

.btn-light:not(:disabled):not(.disabled):active:focus, .btn-light:not(:disabled):not(.disabled).active:focus, .show > .btn-light.dropdown-toggle:focus {
  outline: none !important;
}

.bootstrap-select .dropdown-toggle:focus, .bootstrap-select>select.mobile-device:focus+.dropdown-toggle {
  outline: none !important;
}

.bootstrap-select.disabled, .bootstrap-select>.disabled {
  cursor: not-allowed !important;
}


.modal #add-user-content .input-group-text {
  display: flex;
  width: 48px;
  padding: 0 16px;
}

table#user-table-modal thead th {border-top: unset !important;}

/* Media Queries */
@media (max-width: 991px) {
  .sb-nav-fixed #layoutSidenav #layoutSidenav_content {
    padding-left: 225px !important;
  }

  .dashboard-header-btns { display:none !important; }
}

@media screen and (max-width: 767px) {
  .dashboard-title.mobile-active {
    position: relative;
    display: inline-flex;
    vertical-align: middle;
    margin-top: 8px;
    width: 100%;
  }

  .dashboard-title.mobile-active #dashboard_title{
    font-size: 16px;
    padding: 4px 0 0 16px;
  }

  .dashboard-title.mobile-active .dropdown-toggle {
    color: #888;
    width: 40px;
    margin-left: 10px;
  }

  li.paginate_button.previous {
      display: inline;
  }

  li.paginate_button.next {
      display: inline;
  }

  li.paginate_button {
      display: none;
  }
}

.hidden{
  display: none!important;
}