.nav-menu li a, .nav-menu li > ul li a, .nav-footer .nav-footer-buttons > li > a {
    color: #dbcdf1;
}

.dt-toolbar, .dt-toolbar-footer{
    width:100%;
}

.dataTables_wrapper thead, .dataTables_wrapper thead tr, .dataTables_wrapper th{
    background-color:#e3e2e6 !important;
    color: #838b9c;
    font-size:13px;
}
.dataTables_wrapper td, .dataTables_wrapper tr, .dataTables_wrapper th{
    border: 0px none white !important;
    padding: 15px 10px !important;
    vertical-align: middle !important;
}

.dataTables_wrapper .odd{
    background-color: #f7f9fc !important;
}
.dt-toolbar-footer{
    background-color: white !important;
    border: 0px none white !important;
    border-top: 3px solid #f7f7f7 !important;
    padding: 15px 0px;
    margin-top:15px;
    box-shadow: none !important;
}
.dt-toolbar{
    background-color: white !important;
    border: 0px white none;
    padding: 0px !important;
    padding-bottom:5px !important;
}
.dataTables_filter{
    margin-left:0px !important;
}

.dataTables_filter{
    text-align:left !important;
}
.dataTables_filter input[type=search]{
    width: 95% !important;
}


  div.dt-button-collection {
    position: absolute;
    top: 40px !important;
    width: 150px;
    margin-top: 3px;
    padding: 8px 8px 4px 8px;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.4);
    background-color: white;
    overflow: hidden;
    z-index: 2002;
    border-radius: 5px;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
  }
  div.dt-button-collection button.dt-button,
  div.dt-button-collection div.dt-button,
  div.dt-button-collection a.dt-button {
    position: relative;
    width: 100%;
    display: block;
    float: none;
    margin-bottom: 8px;
    border: 1px solid #ccc;
    background-color: white;
  }
  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-color:#18a899;
    color: white;
    border: 1px solid #18a899;
    
  }
  div.dt-button-collection button.dt-button:active:not(.disabled) span:before, 
  div.dt-button-collection button.dt-button.active:not(.disabled) span:before,
  div.dt-button-collection div.dt-button:active:not(.disabled) span:before,
  div.dt-button-collection div.dt-button.active:not(.disabled) span:before,
  div.dt-button-collection a.dt-button:active:not(.disabled) span:before,
  div.dt-button-collection a.dt-button.active:not(.disabled) span:before {
      content: '✓ ';
  }
  div.dt-button-collection .dt-button {
    border-radius: 0;
  }

  .control-label{
      margin-top: 8px;
  }


/**
 * Select2 widgets in Bootstrap Input Groups
 *
 * When Select2 widgets are combined with other elements using Bootstraps
 * "Input Group" component, we don't want specific edges of the Select2
 * container to have a border-radius.
 *
 * Use .select2-bootstrap-prepend and .select2-bootstrap-append on
 * a Bootstrap 3 .input-group to let the contained Select2 widget know which
 * edges should not be rounded as they are directly followed by another element.
 *
 * @see http://getbootstrap.com/components/#input-groups
 */
/**
 * Mimick Bootstraps .input-group .form-control styles.
 *
 * @see https://github.com/twbs/bootstrap/blob/master/less/input-groups.less
 */

.input-group .select2-container.select2-container--open, .input-group .select2-container.select2-container--focus {
  z-index: 3;
}

.input-group.select2-bootstrap-prepend .select2-container .select2-selection {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

.input-group.select2-bootstrap-append .select2-container .select2-selection {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}


/**
 * Adjust alignment of Bootstrap buttons in Bootstrap Input Groups to address
 * Multi Select2's height which - depending on how many elements have been selected -
 * may grow taller than its initial size.
 *
 * @see http://getbootstrap.com/components/#input-groups
 */
.select2-bootstrap-append .select2-container,
.select2-bootstrap-append .input-group-btn,
.select2-bootstrap-append .input-group-btn .btn,
.select2-bootstrap-prepend .select2-container,
.select2-bootstrap-prepend .input-group-btn,
.select2-bootstrap-prepend .input-group-btn .btn {
  vertical-align: top;
}


.input-group .select2-container {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1; 
    flex-shrink: 1;
    flex-basis: 1px !important;
    -webkit-flex-basis: 1px !important;
}

.autocomplete-suggestions { 
  background: #FFF; overflow: auto; margin-top:12px; 
-webkit-box-shadow: 0px 17px 17px 0px rgba(0,0,0,0.22);
-moz-box-shadow: 0px 17px 17px 0px rgba(0,0,0,0.22);
box-shadow: 0px 17px 17px 0px rgba(0,0,0,0.22);
  }

.autocomplete-suggestion { padding: 8px; white-space: nowrap; overflow: hidden; cursor:pointer; }
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: normal; color: #3399FF; }
.autocomplete-group { padding: 8px; padding-bottom: 4px; font-weight: 900; }
.autocomplete-group strong { display: block; border-bottom: 1px solid #000; }
.autocomplete-no-suggestion{
  padding: 8px; white-space: nowrap; overflow: hidden;
}

#pageRefresh{
  position: absolute;
  right:32px;
  top:24px;
  float:right !important;
  display:block;
}

#alert_content .nav-link{
  padding-left:14px !important;
  padding-right:14px !important;
  padding-top:6px !important;
  font-size: 0.8125rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
  color: black !important;
  opacity: 0.5;
}

.dataTable a[target]:not(.btn)
{
  text-decoration: none !important;
}

.table-responsive .btn{
  white-space: nowrap;
}

a[target]:not(.btn)
{
  text-decoration: none !important;
  font-weight: normal;
}

.toast-message a
{
  font-weight: bold !important;
}

.panel-toolbar .btn-panel[data-action="panel-collapse"], .panel-toolbar .btn-panel.js-panel-collapse {
  background-color: inherit;
}

.panel-toolbar .btn-panel[data-action="panel-collapse"]:after, .panel-toolbar .btn-panel.js-panel-collapse:after {
  content: '\f078';
  font-family: 'Font Awesome 5 Free';
  font-weight: 600;
  color: #584475;
}
.popover {
    max-width: 400px;
}

.page-wrapper .page-content .breadcrumb > .breadcrumb-item
{
  max-width: 97% !important;
}

.header-icon, #pageRefresh
{
  cursor: pointer !important;
}

/* make tooltips wider if required but still responsive */
.tooltip-inner {
	min-width: auto;
	max-width: 100%; 
}

@media (max-width: 320px) {
	.tooltip-inner {
		min-width: initial;
		max-width: 320px;
	}
}

/* make popovers wider if required but still responsive */
.popover {
	min-width: auto;
	max-width: 50%; 
}

@media (max-width: 320px) {
	.popover {
		min-width: initial;
		max-width: 320px;
	}
}

/* jquery validate imrpovement for borders on prepend */
.input-group.state-error .input-group-prepend .input-group-text
{
  border-style: solid;
  border-color: #f33061;
  border-width: 1px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.input-group-text.bg-success
{
  border-style: solid;
  border-color: #1dc9b7;
  border-width: 1px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;  
}

.was-validated .form-control:valid:focus, .form-control.is-valid:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
}

.was-validated .form-control:invalid, .form-control.is-invalid {
	-webkit-box-shadow: none;
	box-shadow: none !important;
}

.error:empty
{
  display: none !important;
}


/* mobile first column of datatable - make it look clickable to help with easier navigation */
.mobile-view-activated .dataTable tbody tr td:first-child
{
  cursor: pointer;
}

.mobile-view-activated .dataTable tbody tr td:first-child
{
  text-decoration: underline;
}

/* reset select2 theme colour for selected item */
.select2-container--default .select2-results__option[aria-selected="true"]
{
  background-color: #CCCCCC !important;
}

/* force vertical scrollbar to prevent bouncing around content */
html {
  overflow-y: scroll;
}

/* force select2 to work inside modals - z-index issue because we dont force dropdownParent */
.select2-container
{
  z-index: 2050;
}

div.dt-button-collection
{
  z-index: 2052 !important;
}

.page-header
{
  z-index: 2053 !important;
}

.modal
{
  z-index: 2054;
}

.modal .select2-container
{
  z-index: 2055 !important;
}

@media only screen and (max-width: 992px) {
  /* prevent pageRefresh and breadcrumb from overlapping */
  #pageRefresh
  {
    right: 20px;
  }

  .page-breadcrumb {
    width: 90% !important;
  }

  /* align datatable footer better at mobile sizes */ 
  div.dataTables_wrapper div.dataTables_paginate ul.pagination
  {
    justify-content: center !important;
  }

  .dt-toolbar-footer > div
  {
    padding-left: 0.75rem !important;
  }

  .dt-toolbar-footer > div:last-child
  {
    padding-right: 0.75rem !important;
  }
  
  .dataTables_length, .dataTables_paginate
  {
    padding-top: 8px !important;
  }
}

.dataTables_info
{
  padding-top: 6px !important;
}

.bg-soft-pink
{
	background-color: #ffcee5;
}

/* allow select2 to support readonly - UI only, you can still get to it via tabbing to the field */
select[readonly].select2-hidden-accessible + .select2-container {
	pointer-events: none;
	touch-action: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection {
	background: #eee;
	box-shadow: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection__arrow, select[readonly].select2-hidden-accessible + .select2-container .select2-selection__clear {
	display: none;
}