.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: #eee;
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#f2f2f2),to(#fafafa));
    background-image: -webkit-linear-gradient(top,#f2f2f2 0,#fafafa 100%);
    background-image: -moz-linear-gradient(top,#f2f2f2 0,#fafafa 100%);
    background-image: -ms-linear-gradient(top,#f2f2f2 0,#fafafa 100%);
    background-image: -o-linear-gradient(top,#f2f2f2 0,#fafafa 100%);
    background-image: -linear-gradient(top,#f2f2f2 0,#fafafa 100%);
    font-size:13px;
}
.dataTables_wrapper td, .dataTables_wrapper tr, .dataTables_wrapper th{
    border: 0px none white !important;
    vertical-align: middle !important;
}

/*
.dataTables_wrapper .odd{
    background-color: #F8F5F0 !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: 100% !important;
}
div.dataTables_wrapper div.dataTables_filter input
{
	margin-left: 0px !important;
	padding-left: 32px;
	padding-top: 7px;
}

div.dataTables_wrapper div.dataTables_filter
{
	position: relative;
}
div.dataTables_wrapper div.dataTables_filter::after
{
	position: absolute;
	left: 12px;
	top: 7px;
	font-family: "Font Awesome 5 Pro";
	content: "\f002"
}

.form-control.form-control-sm.mb-4.mb-md-0::after
{
	background-color: red;
	color: red;
	content: "HI";
	height: 15px;
	width: 15px;
}

  div.dt-button-collection {
    position: absolute;
    top: 40px !important;
    width: 168px;
    margin-top: 3px;
    padding: 8px 8px 4px 8px;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.3);
    background-color: white;
    overflow: hidden;
    z-index: 2002;
    border-radius: 5px;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
    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;
	text-align: left;;
	padding-left: 8px;
	padding-right: 8px;
	padding-top:4px;
	padding-bottom:4px;
  }


  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:#e3e3e3;
    border: 1px solid #e3e3e3;
    
  }
  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: '✓ ';
	  color: green;
	  position:absolute;
	  right:8px;
  }
  div.dt-button-collection .dt-button {
    border-radius: 0;
  }

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

  
  div.dt-button-collection button.dt-button:hover,
  div.dt-button-collection div.dt-button:hover,
  div.dt-button-collection a.dt-button:hover,
  div.dt-button-collection button.dt-button:active:not(.disabled), div.dt-button-collection button.dt-button.active:not(.disabled):hover,
  div.dt-button-collection div.dt-button:active:not(.disabled):hover,
  div.dt-button-collection div.dt-button.active:not(.disabled):hover,
  div.dt-button-collection a.dt-button:active:not(.disabled):hover,
  div.dt-button-collection a.dt-button.active:not(.disabled):hover{
	border:1px solid #333;
  }

  .dataTables_wrapper thead, .dataTables_wrapper thead tr, .dataTables_wrapper th{
	border-bottom:1px #ccc solid !important;
  }

	table.dataTable thead .sorting_asc,
	table.dataTable thead .sorting_desc {
		background-color: #eee;
		background-image: -webkit-gradient(linear,0 0,0 100%,from(#ebe9e9),to(#dadada));
		background-image: -webkit-linear-gradient(top,#ebe9e9 0,#dadada 100%);
		background-image: -moz-linear-gradient(top,#ebe9e9 0,#dadada 100%);
		background-image: -ms-linear-gradient(top,#ebe9e9 0,#dadada 100%);
		background-image: -o-linear-gradient(top,#ebe9e9 0,#dadada 100%);
		background-image: -linear-gradient(top,#ebe9e9 0,#dadada 100%);
	}


/**
 * 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: #999 !important;
  color: #FFFFFF !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;
}

/* confirmation popups show above side modals i.e. are you sure you wish to delete? */
.swal2-container
{
	z-index: 2056 !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;
}

/* 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;
}

/* tweak due to font change to Open Sans */
.badge
{
	padding-bottom: 0.25rem;
}

.page-footer
{
	box-shadow: 0px 0px 28px 0px rgba(86, 61, 124, 0.13);
}

.table-striped tbody tr:nth-of-type(2n+1) {
	background-color: rgba(80, 80, 80, 0.03);
}

.nav-tabs-clean
{
	height: auto;
}

.panel-hdr
{
	border-bottom: none !important;
}

.panel-hdr[class^="bg-"] h2, .panel-hdr[class*=" bg-"] h2
{
	color: white;
}

/* nav pills */
.nav-tabs-clean .nav-link
{
	display: inline-block !important;
}

.nav-tabs-clean a:hover{
	border-bottom-color:#ccc !important;
	border-bottom-width:1px !important;
}

.panel-toolbar .btn-panel[data-action="panel-collapse"], .panel-toolbar .btn-panel.js-panel-collapse
{
	background: none !important;
}

.dataTable .delete-selected{
	background-color:#fdc8d5 !important;
}

.dataTable .share-selected{
	background-color:#c8fdd8 !important;
}

.site_content_inline_form h3, .site_content_inline_form #cancel_button{
	display:none;
}
.debug-switch-container label span{
	opacity: 0.8;
}

.site-view-container{
	overflow: hidden;
	height:10px;
}
.site-view-context-menu{
	color:white;
	float:left;
	width:40%;
	height:100%;
	overflow:hidden;
}
.site-view-context-menu hr
{
	border-bottom: 1px dotted #eeeeee;
}
.site-view-content{
	width:60%;
	float:left;
	height:100%;
}
.site-view-context-menu-items{
	padding:10px;
	float:left;
	height:100%;
}
.site-view-context-menu-item{
	margin-bottom: 1rem;
}

.site-view-context-menu-items a{
	color:white;
	font-size:18px;
}
.site-view-context-menu-items a:hover{
	color:white !important;
}
.site-view-context-menu-items a i{
	opacity:0.8;
}
.site-view-context-menu-items a i:hover{
	color:white !important;
	opacity:1;
}
.site-view-context-menu-items span{
	font-size:14px;
	display:inline-block;
	margin-right:8px;
}
.site-view-context-menu-item.active a i{
	color:white !important;
	opacity:1;
}

.site-view-context-menu-content{
	float:left;
	height:100%;
	padding:10px;
	padding-left:18px;
}
.site-view-context-menu-close-button-container{
	width:100%;
	text-align:right;
	margin-bottom:5px;
}
.site-view-context-menu-close-button, .site-view-context-menu-close-button i{
	color:white;
	font-size:14px;
}
.site-view-context-menu-content-title{
	font-size: 18px;
	color: white;
	margin-bottom:15px;
}
.site-view-context-menu-content-pane li.nav-item {
	width:100% !important;
	display:block;
}
.site-view-context-menu-content-pane li.nav-item a {
	padding-left:5px;
	color:white;
}
.site-view-context-menu-content-pane li.nav-item a:hover {
	color:white;
	opacity:0.8;
}
.site-view-context-menu-content-pane h3
{
	margin-bottom: 0.75rem;
}
.site-view-context-menu-content-pane .sub-category-parent, .site-view-context-menu-content-pane .sub-category-child, .site-view-context-menu-content-pane .all-documents
{
	color: white;
}
.site-view-context-menu-content-pane .sub-category-parent:hover, .site-view-context-menu-content-pane .sub-category-child:hover, .site-view-context-menu-content-pane .all-documents:hover
{
	color: white;
	opacity: 0.8;
}
.site-view-context-menu-content-pane #site-content .sub-category-parent.active, .site-view-context-menu-content-pane #site-content .sub-category-child.active, .site-view-context-menu-content-pane #site-content .all-documents.active
{
	background-color:#045575 !important;
}
.site-view-context-menu-content-pane #site-content .badge-primary {
	background-color: #045575 !important;
}
.site-view-context-menu-content-pane #site-content .sub-category-parent.active .badge-primary, .site-view-context-menu-content-pane #site-content .sub-category-child.active .badge-primary, .site-view-context-menu-content-pane #site-content .all-documents.active .badge-primary
{
	background-color:#1B6178 !important;
}
.site-view-details-item{
	margin-bottom:10px;
}
.site-view-details-item i{
	opacity:0.8;
	margin-right:5px;
}
body.nav-function-hidden aside.page-sidebar{
	padding-top:64px;
}