.error, .required  {
    color: red;
}
.margin-center {
    margin-left:auto;
    margin-right:auto;
}
.margin-left-auto {
    margin-left:auto; 
}
.dropdown-menu .divider {
    height: 1px;
    margin: 9px 1px;
    overflow: hidden;
    border-bottom: 1px solid #ddd;
}

.dropdown-item .disabled {
    color: #666;
}
.dropdown-item i {
    padding-right: 4px;
    width: 20px;
}
.navbar-brand {
	background-color: transparent !important;	
}
#main-nav div ul li:nth-child(5) ul,
#main-nav div ul li:nth-child(6) ul
{
    right: 0;
    left: unset;
}
#main-nav .dropdown-menu {
    border-radius: 0 0 0.25em 0.25em;
}

.main-tiles .card {
	text-align: center;
	border: 1px solid #ddd;
	padding: 15px;	
	margin: 10px;
}

.navbar.navbar-bottom-bordered ul.n-level li {
    font-size: 1.04em;
    text-decoration: none;
}
ul#user-settings .dropdown-menu {
    left:auto;
    right: 0;
    margin-top: 10px;
}

.dataTables_wrapper .dt-buttons.btn-group {
    display: inline-block;
}

.dataTables_wrapper .dataTables_filter {
    float: right;
}

.btn.btn-outline {
    border: 1px solid #ccc;
}

@media (min-width: 768px) {
    ul#user-settings {
        margin-left: 50px;
    }
}

/* messages */
.msg {
    margin: 15px 0;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: .25em;
}
.msg .msg-header .msg-title {
    font-weight: bold;
}

.msg.msg-info {
    border: 1px solid #6BB8E1;
    background-color: #D0ECFB;
}
.msg.msg-info i,.msg.msg-info .msg-title {
    color: #2E82BF;
}

.msg.msg-error {
    border: 1px solid #A02813;
    background-color: #F9B2BE;
}
.msg.msg-error i,.msg.msg-error .msg-title {
    color: #A02813;
}

.msg.msg-warning {
    border: 1px solid #FFC300;
    background-color: #F9E79F;
}
.msg.msg-warning i,.msg.msg-warning .msg-title {
    color: #EA9F24;
}

.msg.msg-success {
    border: 1px solid #24A820;
    background-color: #DEF5DD;
}
.msg.msg-success i,.msg.msg-success .msg-title {
    color: #24A820;
}

.search-results {
    margin: 25px 0;
}

.search-results article {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    padding: 5px 25px;
    margin-top: 10px;
}
.search-results article .excerpt {
    border-left: 1px solid #dadada;
}
.search-results .search-result ul { padding-left: 0 !important; list-style: none;  }
.search-results article:hover{
    background-color: #efefef;
}

form .lbl {
    font-weight: 550;
}

.nav .nav-link.active {
    background-color: #efefef;
}

.form-control.inline {
    display:inline-block!important;
}
.form-control.datepicker {
    width: 80%!important;
    display:inline-block;
}
.form-inline input.datepicker {
    width: 70%!important;
} 
.form-inline label, .form-inline button{
    margin-right: 5px;
}

.ui-datepicker-trigger {
    background-color: transparent;
    border: none;
}

.preformatted {
    font-family: monospace;
    white-space: pre;
}

/** slider **/
.slider {
-webkit-appearance: none;
width: 100%;
height: 25px;
background: #d3d3d3;
outline: none;
opacity: 0.7;
-webkit-transition: .2s;
transition: opacity .2s;
}

.slider:hover {
opacity: 1;
}

.slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 25px;
height: 25px;
background: #4CAF50;
cursor: pointer;
}

.slider::-moz-range-thumb {
width: 25px;
height: 25px;
background: #4CAF50;
cursor: pointer;
}

/** checkbox slider **/
.slider.round  {
    height: auto;
}
/** slider **/

/** dropdown **/

/** override select2 render to match bt dd **/
.select2-container .select2-selection--single {
    height: calc(1.5em + .75rem + 2px);
}
.select2-container .select2-selection--single .select2-selection__rendered {
    padding-top: 4px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    top: 65%;
}

select.w-100+span.select2.select2-container {
	width: 100% !important;
	display: block;
}

/** messages **/
.toast-generic {
    display: inline-block;
    min-width: 300px;
    top: 10px;
    position: fixed;
    right: 10px;
    z-index: 9999;
}

.fade:not(.show) {
    opacity: 0;
    display: none;
}

.format-number {
    text-align:right;
}

/*** utils **/
.hidden {
    display:none;
    width:0;
    opacity: 0;
}

.pill {
    padding: 0.01rem 0.25rem;
    border-radius: 0.35em;
    font-size: 0.75em;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
}
.pill.deleted {
    border: 1px solid #9c5057;
    background-color: #b47279;
    color: #f8d7da;
}

.overlay {
    top: 0px;
    left: 0px;
	position:fixed;  
	bottom:0;
	left:0;  
	width:100%;
    height: 100%;
    z-index: 9990;
    background:lightgray;
    background-color:#EFEFEF;
    position: fixed;
    opacity: .5; /* in FireFox */ 
    filter: alpha(opacity=50); /* in IE */
}

#btn-scroll-top {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 10px; /* Place the button at the bottom of the page */
    right: 15px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color:#dadada; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 10px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
 }
  
 #btn-scroll-top:hover {
    background-color: #555; /* Add a dark-grey background on hover */
 }
 
 .centered {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);	
}

 #spinner {
    background: url("/resources/assets/spinner.gif") no-repeat;
    height: 200px;
    width: 200px;
    background-size:contain;
    z-index: 9999;
 }

 /* line with text in-middle */
 .separator {
    display: flex;
    align-items: center;
    text-align: center;
  }
  
  .separator::before,
  .separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ccc;
  }
  
  .separator:not(:empty)::before {
    margin-right: .25em;
  }
  
  .separator:not(:empty)::after {
    margin-left: .25em;
  }
  /* line with text in-middle */

  input[readonly] {
      background-color: #efefef;
      border: 1px solid #ccc;
      padding: 5px;
      margin: 1px 0;
  }
  .bottom-btns {
      margin-top: 20px;
  }

  #session_branch_dd_div .selct2.select2-container {
        width: 100% !important;
  }

  .data-table .numeric {
    text-align: right;
  }

  .padding-25 {
    padding: 25px;  
  }

  .select2-container.select2-container--default.select2-container--open {
    z-index: 1060;
  }