/*
Theme colors:
pink-50 #a12a58
pink-60 #ab235a
pink-70 #8c1749

theme #a12a58
*/

svg{
	display: inline-block;
	vertical-align: -.15em;
}

/* Bootstrap/adminlte theme adjustments, mainly the 'primary' color */

:root {
  --blue: #2c7be5;
  --primary: #2c7be5;
}

.sidebar-collapse .main-sidebar.sidebar-focused .nav-sidebar.nav-child-indent .nav-treeview,
.sidebar-collapse .main-sidebar:hover .nav-sidebar.nav-child-indent .nav-treeview {
    padding-left: 1rem;
}

.table-primary,
.table-primary > th,
.table-primary > td {
	background-color: #A8CEF5;
  }

.table-primary th,
.table-primary td,
.table-primary thead th,
.table-primary tbody + tbody {
  border-color: #91baf1; }

.table-hover .table-primary:hover {
  background-color: #adccf5; }
  .table-hover .table-primary:hover > td,
  .table-hover .table-primary:hover > th {
    background-color: #adccf5; }


.btn-primary {
  color: #fff;
  background-color: #2c7be5;
  border-color: #2c7be5; }
  .btn-primary:hover {
    color: #fff;
    background-color: #1a68d1;
    border-color: #1862c6; }
	
  .btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #2c7be5;
    border-color: #2c7be5; }
  .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
  .show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #1862c6;
    border-color: #175dba; }

.badge-primary {
  color: #fff;
  background-color: #2c7be5; }
  a.badge-primary:hover, a.badge-primary:focus {
    color: #fff;
    background-color: #1862c6; }


.dropdown-item {
  color: #212529;
  background-color: transparent;
}
  .dropdown-item:hover, .dropdown-item:focus {
    color: #16181b;
    background-color: rgba(0,0,0,.1); /* #efefef;*/
  }
  .dropdown-item.active, .dropdown-item:active {
    color: #fff;
    background-color: #2c7be5; }
	


	
  .dropdown-item.disabled, .dropdown-item:disabled {
    color: #6c757d;
    background-color: transparent; }


.alert-primary {
  color: #174077;
  background-color: #d5e5fa;
  border-color: #c4daf8; }
  .alert-primary hr {
    border-top-color: #adccf5; }
  .alert-primary .alert-link {
    color: #0f294c; }

.list-group-item-primary {
  color: #174077;
  background-color: #c4daf8; }
  .list-group-item-primary.list-group-item-action:hover, .list-group-item-primary.list-group-item-action:focus {
    color: #174077;
    background-color: #adccf5; }
  .list-group-item-primary.list-group-item-action.active {
    color: #fff;
    background-color: #174077;
    border-color: #174077; }

.bg-primary {
  background-color: #2c7be5 !important; }

a.bg-primary:hover, a.bg-primary:focus,
button.bg-primary:hover,
button.bg-primary:focus {
  background-color: #1862c6 !important; }

.border-primary {
  border-color: #2c7be5 !important; }

.text-primary {
  color: #2c7be5 !important; }

a.text-primary:hover, a.text-primary:focus {
  color: #1657af !important; }


.custom-control-input:checked ~ .custom-control-label::before {
	color: #fff;
	border-color: #2c7be5;
	background-color: #2c7be5; }
	

	
.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
  border-color: #2c7be5;
  background-color: #2c7be5; }

  .custom-range::-webkit-slider-thumb {
    background-color: #2c7be5;
}
	
 .custom-range::-moz-range-thumb {
    background-color: #2c7be5;
}
	
  .custom-range::-ms-thumb {
    background-color: #2c7be5;
}



/* make control focus light blue as before */
/*
.accent-maroon .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid),
.accent-maroon .custom-select:focus,
.accent-maroon .custom-control-input:focus:not(:checked) ~ .custom-control-label::before,
.accent-maroon .custom-file-input:focus ~ .custom-file-label {
  border-color: #80bdff;
}
*/



.page-link {
  color: #2c7be5;
  background-color: #fff;
  border: 1px solid #dee2e6; }

.page-item.active .page-link{
	color:#fff;
	background-color:#2c7be5;
	border-color:#2c7be5;
	}

.progress-bar {
  color: #fff;
  background-color: #2c7be5;
}

/* theme colors */

.btn-theme {
  color: #fff;
  background-color: #a12a58;
  border-color: #a12a58; }
  .btn-theme:hover {
    color: #fff;
    background-color: #ab235a;
    border-color: #8c1749; }
	
  .btn-theme.disabled, .btn-theme:disabled {
    color: #fff;
    background-color: #a12a58;
    border-color: #a12a58; }
  .btn-theme:not(:disabled):not(.disabled):active, 
  .btn-theme:not(:disabled):not(.disabled).active,
  .show > .btn-theme.dropdown-toggle {
    color: #fff;
    background-color: #ab235a;
    border-color: #8c1749; }


/*
.sidebar-light-theme .nav-item>.nav-link:not(.active):hover{
    color: #a12a58;
}

.sidebar-dark-theme .nav-sidebar>.nav-item>.nav-link.active,
.sidebar-light-theme .nav-sidebar>.nav-item>.nav-link.active{
    background-color: #a12a58;
    color: #fff;
}
*/

.sidebar-dark-primary .nav-sidebar>.nav-divider>hr{
	border-color: #c2c7d0;
}


.close, .mailbox-attachment-close  {
	font-size: 2rem;
	line-height: .7;
	font-weight: normal;
}


.close-svg  {
	font-size: 1rem;
	line-height: 1.3;
}

.close:focus, 
.close-svg:focus, 
.mailbox-attachment-close:focus{
	outline: none;
}

.navbar-theme{
	background-color: #a12a58;
	color: #fff;
}

.bg-theme{
	
}


.modal-header{
	padding-top: .7rem;
	padding-bottom: .7rem;
}

.modal-title{
	line-height: 1.3;
	font-weight: 600;
	font-size: 1.1rem;
}

.card-title{
	margin-bottom: 0;
	font-weight: 600;
}


.icheck-primary>input:first-child:not(:checked):not(:disabled):hover+input[type=hidden]+label::before,
.icheck-primary>input:first-child:not(:checked):not(:disabled):hover+label::before {
    border-color: #2c7be5
}

.icheck-primary>input:first-child:checked+input[type=hidden]+label::before, 
.icheck-primary>input:first-child:checked+label::before{
	background-color: #2c7be5;
    border-color: #2c7be5;
}




.icheck-theme>input:first-child:not(:checked):not(:disabled):hover+input[type=hidden]+label::before,
.icheck-theme>input:first-child:not(:checked):not(:disabled):hover+label::before {
    border-color: #a12a58
}

.icheck-theme>input:first-child:checked+input[type=hidden]+label::before, 
.icheck-theme>input:first-child:checked+label::before{
	background-color: #a12a58;
    border-color: #a12a58;
}



.card-header>.card-tools{
	margin-top: -.2rem;
}

/* jQuery UI draggable */
.ui-draggable .ui-draggable-handle{
	cursor: move;
}


/* red asterix for required field labels */
.form-group.required .form-label::after,
.form-group.required .col-form-label::after,
.form-group-check.required input[type="checkbox"] + label > .required-mark::after{ 
    color: #d00;
    margin-left: 6px;
	font-size: 150%;
	content: '\2217';
	line-height: .75;
}



::placeholder,
.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #939ba2!important;
  opacity: .7!important;
}

.was-validated .form-control:invalid, .form-control.is-invalid{
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
}


/* AdminLTE */
/*
.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active, 
.sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active{
	background-color: #2c7be5;
}
*/

.content-wrapper{
	background-color: rgb(246,246,246);
}

.table .thead-light th{
	background-color: #e9e9e9;
    border-color: #dedede;
}




div.dataTables_wrapper div.dataTables_filter{
	float: left;
	margin-right: 0.5rem;
}
div.dataTables_wrapper div.dataTables_filter input{
	margin-left: 0;
}

div.dataTables_wrapper div.dataTables_length{
	float: left;
}

.page-link.focus, .page-link:focus{
    outline: 0; 
    box-shadow: none;
}

@media screen and (max-width: 767px) {
div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: flex-end !important;
}
}


div.dataTables_wrapper div.dataTables_info{
	padding: 0;
	margin: 0;
	display: inline;
	vertical-align: middle;
}

/* DataTables */

.card-body.p-0 .dataTables_wrapper>.row:first-child, 
.card-body.p-0 .dataTables_wrapper>.row:last-child,
.card-body.p-0 .dataTables_wrapper>.form-row:first-child, 
.card-body.p-0 .dataTables_wrapper>.form-row:last-child{
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}
.card-body.p-0 .table tfoot>tr>td:first-of-type, 
.card-body.p-0 .table tfoot>tr>th:first-of-type, 
.card-body.p-0 .table tbody>tr>td:first-of-type, 
.card-body.p-0 .table tbody>tr>th:first-of-type, 
.card-body.p-0 .table thead>tr>td:first-of-type, 
.card-body.p-0 .table thead>tr>th:first-of-type {
    padding-left: 1.25rem;
}
.card-body.p-0 .table tfoot>tr>td:last-of-type, 
.card-body.p-0 .table tfoot>tr>th:last-of-type, 
.card-body.p-0 .table tbody>tr>td:last-of-type, 
.card-body.p-0 .table tbody>tr>th:last-of-type, 
.card-body.p-0 .table thead>tr>td:last-of-type, 
.card-body.p-0 .table thead>tr>th:last-of-type {
    padding-right: 1.25rem;
}
.modal-body.p-0 .table tfoot>tr>td:first-of-type, 
.modal-body.p-0 .table tfoot>tr>th:first-of-type, 
.modal-body.p-0 .table tbody>tr>td:first-of-type, 
.modal-body.p-0 .table tbody>tr>th:first-of-type, 
.modal-body.p-0 .table thead>tr>td:first-of-type, 
.modal-body.p-0 .table thead>tr>th:first-of-type {
    padding-left: 1rem;
}
.modal-body.p-0 .table tfoot>tr>td:last-of-type, 
.modal-body.p-0 .table tfoot>tr>th:last-of-type, 
.modal-body.p-0 .table tbody>tr>td:last-of-type, 
.modal-body.p-0 .table tbody>tr>th:last-of-type, 
.modal-body.p-0 .table thead>tr>td:last-of-type, 
.modal-body.p-0 .table thead>tr>th:last-of-type {
    padding-right: 1rem;
}
table.dataTable tr>.sorting_1,
table.dataTable tr>.sorting_2,
table.dataTable tr>.sorting_3{
	background-color: rgba(0,0,0,.04);
}
table.dataTable.table-sm .sorting::before, 
table.dataTable.table-sm .sorting_asc::before, 
table.dataTable.table-sm .sorting_desc::before{
	right: .65em;
	top: unset;
	bottom: .3em;
	font-size: 1.2rem;
}
table.dataTable.table-sm .sorting::after, 
table.dataTable.table-sm .sorting_asc::after, 
table.dataTable.table-sm .sorting_desc::after{
	right: .1em;
	top: unset;
	bottom: .3em;
	font-size: 1.2rem;
}


table.dataTable.table-sm>thead>tr>th:not(.sorting_disabled){
	padding-right: 1.5em;
}


/*spacing*/
.dataTables_wrapper label{
	margin-bottom: 0;
}
table.dataTable{
	margin-top: 1rem !important;
}
div.dataTables_wrapper div.dataTables_paginate ul.pagination{
	margin:0;
}
.card-body.p-0 .dataTables_wrapper{
	margin-bottom: 1.25rem;
}
/* datatables controls */
div.dataTables_wrapper div.dataTables_length select{
	width: 70px;
}

div.dataTables_wrapper div.dataTables_length label{
	display: inline-flex;
	line-height: 1.8;
}



/* DataTable row group */

table.dataTable tr.dtrg-group td{
	background-color: #e9e9e9;
}


/* DataTable row reorder */

tr.dt-rowReorder-moving {
	outline-width: 1px;
    outline-offset: -1px;
	background-color:rgba(0,0,0,.075);

}

table.dt-rowReorder-float{
	margin: 0!important;
	opacity: 0.4;
	outline-width: 1px;
    outline-offset: -1px;
}
table.m-0.dt-rowReorder-float tr>td:first-of-type{
	padding-left: 1.25rem; 
}
table.m-0.dt-rowReorder-float tr>td:last-of-type{
	padding-right: 1.25rem; 
}

table.dataTable td.reorder {
    /*cursor: move;*/
	cursor: ns-resize
}

.draggable-indicator {
	width: 16px;
	height: 16px;
	/*cursor: move;*/
	cursor: ns-resize;
	display: inline-block;
	vertical-align: middle;
}

/* coloring the individual dots within each group */
.draggable-indicator rect {
	fill: #ccc;
}

.draggable-indicator svg{
	display: block;
}




/* Toastr: changed foreground color from white to black for the warning variant (yellow/orange)*/
#toast-container>.toast-warning{
	color:black;
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAB3RJTUUH5AMTEDIYpjcewgAAAUBJREFUSMfllCFvwlAUhT+SigoEAoGYqECwZAIxUYHYD0AgEUtm+AkTFYgl+wVTiAkEAsEPqEQgkAjEBGJiAjExUYGYYOY0eeleacdexbKTPNF703veO+feC/8N18CgSoIVsAP8KooPgaNO5Lq4D7wBa2ABJEDLJcED8AlcqfAHMHVVPAAOwKMRG0mq0AXBHHixGLuUZL9CTze9seQ6etntucU9YAM8G99TnaZiY2AP1M8hGOnnhhFL2zQwSLcZf0qhAbyr900kImgasVBSBT8hmGhqs3gVQRYzIC5bPFTPdy25nXJZXOh1wzLGbg1jbS27ysmNLZ59Q6QpzVsDrRNa+5JwUjSx9yeMT01uFyxE64TH0tgrWHiJNM/DUjJ7NuZ+ia1aNFRdNUIEUNPT013z5GhB3smvy7TnjxWdmD+PL/TaWmJ36MOnAAAAAElFTkSuQmCC") !important;
}

.toast-top-right{
	top: 62px;
}



/* form elements */
textarea.form-control{
	min-height: calc(2.25rem + 2px);
}

.form-group-check + .form-group-check{
	margin-top: -1rem;
}

.form-group-check-label{
	position: absolute;
	left: 1rem;
	right: 1rem;
}

.check-container{
	padding-top: 2px;
}

/* Miscellaneous */
.w-1px {
	width: 1px;
}

.table-button{
	padding: .25rem .1rem !important;
	margin: 0 .125rem ;
	font-size: 1rem;
	line-height: 1;
}
.table-button *{
	padding: 0 !important;
}
.table-button:last-child{
	margin-right: 0;
}
.table-button:first-child{
	margin-left: 0;
}
.table-button-container{
	margin: -2px 0 0;
}
.table-sm td.table-button-cell,
.table-sm th.table-button-cell{
	padding-top: .15rem;
	padding-bottom: .15rem;
}


.btn svg{
    margin-right: .5em;
}
.table-button svg{
	display:block;
	margin:0 .125em;
}


/* AdminLTE */

.nav-sidebar .nav-header{
	padding: .5rem 1rem;
	text-transform: uppercase;
}

.nav-sidebar .nav-header:not(:first-of-type){
	padding: 1.7rem 1rem .5rem;
}

.nav-sidebar .nav-divider{
	padding: 0 1rem;
}

.nav-sidebar .nav-link p{
	margin-left: .2em;
}


.brand-link .brand-image{
	margin-left: 11px;
}


.spinner{
	display: none;
	color: #bbb;
	vertical-align: middle;
}

/*
p:last-child{
	margin-bottom:0;
}
*/

.card-maroon.card-outline-tabs .card-header a.active:hover{
	border-top: 3px solid #d81b60;
}


body.accent-maroon a:not(.btn){
	color: #d81b60;
}





.card-theme:not(.card-outline) > .card-header {
  background-color: #a12a58;
}

.card-theme:not(.card-outline) > .card-header,
.card-theme:not(.card-outline) > .card-header a {
  color: #ffffff;
}

.card-theme:not(.card-outline) > .card-header a.active {
  color: #1F2D3D;
}



.card-theme.card-outline{
	/*border-top: 3px solid #a12a58;*/
	border-top-color: #a12a58;
}

.card-theme.card-outline-tabs > .card-header a.active {
  border-top-color: #a12a58;
}



.card.card-outline-tabs {
    border-top: 0;
}



/*
body.accent-theme a:not(.btn){
	color: #a12a58;
}

body.accent-theme a:not(.btn):not(.nav-link):not(.page-link):hover{
	color: #ab235a;
}
*/



.login-box, .register-box {
    width: 100%;
    max-width: 400px;
	padding: 1rem;
}


@media (max-width: 767px) {
.navbar-expand-md .navbar-nav .nav-link {
    padding-right: .5rem;
    padding-left: .5rem;
}
}

/* profile picture */
.profile-img-container{
	width: 100%;
}

@media (min-width: 576px){
.profile-img-container{
	width: 150px;
}
}

.profile-img-container img{
	max-width: 100%
}

/* social login buttons */
.btn-social{
	text-align: center;
}

.btn-social>:first-child{
	line-height: 36px;
	width: 36px;
	font-size: 1.4em;
}
.btn-social.btn-default{
	border: 1px solid rgba(0,0,0,0.2);
}

.btn-social svg{
	margin: 0;
}


.action-buttons{

	padding: 0 !important;
	text-align: right;
}

label:not(.form-check-label):not(.custom-file-label){
	font-weight: 600;
}

/* make the iCheck control a little bit smaller */
[class*=icheck-]>input:first-child+input[type=hidden]+label::before, [class*=icheck-]>input:first-child+label::before{
	top: 1px;
	width: 20px;
	height: 20px;
}
[class*=icheck-]>input[type=checkbox]:first-child+input[type=hidden]+label::before, [class*=icheck-]>input[type=checkbox]:first-child+label::before{
	border-radius: 3px;
}
[class*=icheck-]>input:first-child:checked+input[type=hidden]+label::after, [class*=icheck-]>input:first-child:checked+label::after{
	top: 1px;
	transform: translate(6.75px,3.5px) rotate(45deg);
    -ms-transform: translate(6.75px,3.5px) rotate(45deg);
}

legend.section-title{
	margin-bottom: 2rem;
	font-weight: 600;
	font-size: 1.4rem;
}
legend.section-title:not(:first-child){
	padding-top: 1rem;
}


/* Toggle */

.toggle-group label{
	font-weight: normal!important;
}
.toggle.btn{
	min-height: 2.5rem;
}

/* Popover */

.popover-body p:not(:last-child){
	margin-bottom: .5rem;
}

.popover-header{
	font-weight: 600;
}

/* Collapse  */

.collapsing {
  -webkit-transition-duration: 0.15s;
  transition-duration: 0.15s;
}


/* Chosen */
.form-control + .chosen-container{
	width: 100%;
}
.chosen-container-single .chosen-single, 
.chosen-container-multi .chosen-choices{
	min-height: calc(2.25rem + 2px);
}
.chosen-container .chosen-results{
	padding: 0;
}
.chosen-container-single .chosen-search{
	padding: .5rem;
}
.chosen-container-active .chosen-single{
	box-shadow: inset 0 0 0 transparent;	
}
.chosen-container-active .chosen-choices{
	border-bottom-right-radius: .25rem;
    border-bottom-left-radius: .25rem;
}
.chosen-with-drop .chosen-choices{
	border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.chosen-container .chosen-results li{
	padding: .125rem .25rem .125rem 1.5rem;
}
.chosen-container .chosen-results li.highlighted,
.chosen-container .chosen-results li.highlighted *{
    background-color: #2c7be5;
	color: white;
}
.chosen-container-multi .chosen-drop .result-selected{
	display: list-item;
}
.chosen-container-multi .chosen-drop .result-selected:hover{
	background-color: rgba(0,0,0,.05);
}
.chosen-container .chosen-results li em{
	text-decoration: underline;
}

.chosen-container .chosen-results li.result-selected::before{
	display: block;
	position: absolute;
	margin-top: .15rem;
	margin-left: -1.3rem;
	top: unset;
}

.chosen-container-multi:not(.chosen-with-drop) .chosen-choices .search-field input[type="text"].default,
.chosen-container-single .chosen-default span{
  color: #939ba2;
  opacity: .7;
}

.chosen-container-single .chosen-single:not(.chosen-single-with-deselect) div::after,
.chosen-container-single .chosen-single abbr{
	box-shadow: 4px 0 16px 8px #fff;
}

.chosen-container .chosen-results {
	scroll-snap-type: mandatory;
	scroll-snap-points-y: repeat(1.75rem);
	scroll-snap-type: y mandatory;
	max-height: 17.5rem;
}

.chosen-container .chosen-results li{
	scroll-snap-align: start;
}


/* Small select Chosen styles - .form-control-sm */

.form-control-sm + .chosen-container{
	font-size: .875rem!important;
	line-height: 1.5!important;
}
.form-control-sm + .chosen-container-single .chosen-single,
.form-control-sm + .chosen-container-multi .chosen-choices{
	min-height: calc(1.8125rem + 2px);
}
.form-control-sm + .chosen-container-single .chosen-single{
	height: calc(1.8125rem + 2px);
	line-height: calc(1.8125rem + 2px)!important;
	padding-left: .5rem;
}
.form-control-sm + .chosen-container-single .chosen-single div::after
{
	top: 0;
	left: -.7rem;
	height: calc(1.8125rem + 1px);
}
.form-control-sm + .chosen-container .chosen-results li.result-selected::before{
	margin-top: 0;
}

.chosen-container-multi .chosen-choices .search-choice{
	max-width: 240px;
}



/* DateRangePicker */
.daterangepicker{
	font-family: inherit;
	font-size: .875rem;
}

.daterangepicker .ranges li,
.daterangepicker .drp-buttons .btn,
.daterangepicker .drp-selected{
	font-size: .875rem;
	font-weight: normal;
}
.daterangepicker .ranges li{
	padding: 6px 12px;
}

.daterangepicker td.active,
.daterangepicker td.active:hover,
.daterangepicker .ranges li.active{
	background-color: #2c7be5;
}

.daterangepicker .calendar-table th, 
.daterangepicker .calendar-table td,
.daterangepicker select.monthselect, 
.daterangepicker select.yearselect{
	font-size: .875rem;
}
.daterangepicker select.monthselect, 
.daterangepicker select.yearselect{
	border: 1px solid #ced4da; 
	border-radius: .2rem;
	outline: none;
}
.daterangepicker select.monthselect:focus, 
.daterangepicker select.yearselect:focus{
	border-color: #80bdff;
}
.daterangepicker.show-calendar .ranges{
	margin-top: 0;
}
@media (min-width: 564px){
	.daterangepicker .drp-calendar{
		min-height: 260px;
	}
}



/* Select2 */
/*
.select2-container--default .select2-selection--single .select2-selection__rendered{
	margin-top: -.25rem;
}

.text-sm .select2-container--default .select2-selection--single .select2-selection__rendered, 
select.form-control-sm~.select2-container--default .select2-selection--single .select2-selection__rendered{
	margin-top: -.46rem;
}

.select2-container--default .select2-selection:focus {
	outline: none;
}

.form-control-navbar  + .select2-container--default .select2-selection--single{
	border: 0; 
}
.select2-container--default .select2-results__option,
.select2-container--default a.select2-results__option{
	background-color: #fff;
	color: #000;	
}
.select2-container--default .select2-results__option.select2-results__option--selected[aria-selected="false"]{
	background-color: #2c7be5;
	color: #fff;
}
.select2-container--default .select2-results__option:not(.select2-results__option--selected).select2-results__option--highlighted,
.select2-container--default .select2-results__option:not(.select2-results__option--selected)[aria-selected="true"]{
	background-color: #eee;
	color: #000;
}
.select2-container--default .select2-results__option.select2-results__option--selected.select2-results__option--highlighted,
.select2-container--default .select2-results__option.select2-results__option--selected[aria-selected="true"]{
	background-color: #2776e0;
	color: #fff;
}

.select2-container--default .select2-results__option{
	padding-top:2px;
	padding-bottom:2px;
}
.select2-container--default .select2-results__option.select2-results__option--group{
	padding-left:0;
	padding-right:0;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice{
	padding: 0 0 0 22px;
	max-width: 240px;
	color: #495057;
	background: #e9e9e9;
	border: 1px solid #ccd0d3 ;
	vertical-align: top;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__display{
	text-overflow: ellipsis;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
	margin: 0;
	padding: 0 5px;	
	color: #dc3545;
	border-right: 1px solid #ccd0d3;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus{
	background-color: transparent;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{
	color: #dc3545;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered{
	padding: 0;
}
.select2-container--default .select2-selection--multiple .select2-search__field,
.select2-container--default .select2-selection--multiple .select2-search__field:focus{
	border:0;
	font-family: inherit;
	margin: .31rem 0 0 0;
    padding: 1px .5rem 0 .5rem;
	height: 26px;
	vertical-align: top;
}
.select2-container--default .select2-selection--multiple .select2-selection__clear,
.select2-container--default .select2-selection--single .select2-selection__clear {
    font-size: 1.5rem;
	color: #888;
    line-height: 1;
	margin-top: -3px;
    margin-right: 16px;
}

select.form-control-sm ~ .select2-container--default .select2-selection--multiple .select2-selection__clear,
select.form-control-sm ~ .select2-container--default .select2-selection--single .select2-selection__clear {
	margin-top: -6.5px;
}


.select2-container--default .select2-selection--multiple{
	max-height: 200px;
	overflow-y: auto;
}

.select2-results__option .option-flag{
	display: block;
    width: 1.7em;
	height: 1.2em;
	margin: .15em 0;
	border: solid #808080 1px;
    background-color: white;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.select2-results__option.select2-results__option--selected .option-flag{
	border: solid #eee 1px;
}
.select2-results__option .badge{
	border: solid #eee 1px;
	vertical-align: text-bottom;
}
.select2-container--default .select2-dropdown{
	overflow: hidden;
}

.select2-container--default .select2-search--dropdown .select2-search__field{
	padding: .2rem .5rem;
	border-radius: .2rem;
}


.form-control.is-invalid + .select2-container--default .select2-selection--single,
.form-control.is-invalid + .select2-container--default .select2-selection--multiple
{
    border: 1px solid #dc3545;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
	padding-right: 2.25rem;
	background-repeat: no-repeat;
	background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}


.form-control.is-invalid + .select2-container--default .select2-selection--single .select2-selection__arrow{
	margin-right: 1.5em;
}
*/




.select2-container .select2-selection--single{
	height: calc(2.25rem + 2px);
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
	margin-top: -.25rem;
}

.text-sm .select2-container--default .select2-selection--single .select2-selection__rendered, 
select.form-control-sm~.select2-container--default .select2-selection--single .select2-selection__rendered{
	margin-top: -.46rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow{
	height: calc(2.25rem);
	top: 0;
}

.text-sm .select2-container--default .select2-selection--single .select2-selection__arrow, 
select.form-control-sm~.select2-container--default .select2-selection--single .select2-selection__arrow{
	height: calc(1.8125rem) !important;
	top: 0 !important;
}

.select2-container--default .select2-selection:focus {
	outline: none;
}

.form-control-navbar  + .select2-container--default .select2-selection--single{
	border: 0; 
}
.select2-container--default .select2-results__option,
.select2-container--default a.select2-results__option{
	background-color: #fff;
	color: #000;	
}
.select2-container--default .select2-results__option.select2-results__option--selected[aria-selected="false"]{
	background-color: var(--primary);
	color: #fff;
}
.select2-container--default .select2-results__option:not(.select2-results__option--selected).select2-results__option--highlighted,
.select2-container--default .select2-results__option:not(.select2-results__option--selected)[aria-selected="true"]{
	background-color: #eee;
	color: #000;
}
.select2-container--default .select2-results__option.select2-results__option--selected.select2-results__option--highlighted,
.select2-container--default .select2-results__option.select2-results__option--selected[aria-selected="true"]{
	background-color: #2776e0;
	color: #fff;
}

.select2-container--default .select2-results__option{
	padding-top:2px;
	padding-bottom:2px;
}
.select2-container--default .select2-results__option.select2-results__option--group{
	padding-left:0;
	padding-right:0;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice{
	padding: 0;
	color: #495057;
	background: #e9e9e9;
	border: 1px solid #ccd0d3 ;
	vertical-align: top;
}
/*
.select2-container--default .select2-selection--multiple .select2-selection__choice__display{
	text-overflow: ellipsis;
}
*/
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
	margin: 0;
	padding: 0 5px;	
	color: #dc3545;
	/*border-right: 1px solid #ccd0d3;*/
	
	position: relative;
	border-left: 1px solid #ccd0d3;
	border-right: none;
	border-top-left-radius: 0;
    border-bottom-left-radius: 0;
	border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus{
	background-color: transparent;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{
	color: #dc3545;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered{
	padding: 0;
}
.select2-container--default .select2-selection--multiple .select2-search__field,
.select2-container--default .select2-selection--multiple .select2-search__field:focus{
	border:0;
	font-family: inherit;
	margin: .31rem 0 0 0;
    padding: 1px .5rem 0 .5rem;
	height: 26px;
	vertical-align: top;
}
.select2-container--default .select2-selection--multiple .select2-selection__clear,
.select2-container--default .select2-selection--single .select2-selection__clear {
    font-size: 1.5rem;
	color: #888;
    line-height: 1;
}
.select2-container--default .select2-selection--single .select2-selection__clear {
	margin-top: -4px;
    margin-right: 16px;
}


.select2-container--default .select2-selection--multiple{
	max-height: 200px;
	overflow-y: auto;
}


.select2-container--default .select2-selection--multiple .select2-selection__choice__display,
.select2-container--default .select2-selection--multiple .select2-selection__choice .option-flag-container,
.select2-container--default .select2-dropdown .select2-results__option .option-flag-container{
	display: flex;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__display{
	padding-left: 5px;
    padding-right: 5px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice .option-flag, 
.select2-container--default .select2-dropdown .select2-results__option .option-flag{
	display: block;
	align-self: center;
    width: 1.6em;
	height: 1em;
	border: solid #808080 1px;
    background-color: white;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice .option-text{
	display: block;
	align-self: center;
	margin-left: 5px;
	max-width: 240px;
	overflow: hidden;
	text-overflow: ellipsis;
}

.select2-results__option.select2-results__option--selected .option-flag{
	border: solid #eee 1px;
}
.select2-results__option .badge{
	border: solid #eee 1px;
	vertical-align: text-bottom;
}
.select2-container--default .select2-dropdown{
	overflow: hidden;
}

.select2-container--default .select2-search--dropdown .select2-search__field{
	padding: .2rem .5rem;
	border-radius: .2rem;
}

.form-control.is-invalid + .select2-container--default .select2-selection--single,
.form-control.is-invalid + .select2-container--default .select2-selection--multiple
{
    border: 1px solid #dc3545;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
	padding-right: 2.25rem;
	background-repeat: no-repeat;
    /*background-position: right calc(.375em + .1875rem) center;*/
	background-position: top calc(.375em + .1875rem) right calc(.375em + .1875rem);
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.form-control.is-invalid + .select2-container--default .select2-selection--single .select2-selection__arrow{
	margin-right: 1.5em;
}





.was-validated .form-control:invalid, .form-control.is-invalid{
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
}
.invalid-feedback{
	font-size: 100%;
}


/*
.user-menu{
	border-left: 1px solid #ced4da
}
*/

.nav-tabs .nav-item{
	position: relative;
}

.nav-tabs .nav-item.has-error::after{
	content: '';
	position: absolute;
	top: .4em;
	left: .4em;
	height: .5em;
	width: .5em;
	background-color: #dc3545;
	border-radius: 50%;
	display: block;
}

.navbar-nav>.user-menu>.dropdown-menu, .navbar-nav>.user-menu>.dropdown-menu>.user-body{
	border-radius: 4px;
	overflow: hidden;
}

.navbar-nav>.user-menu>.nav-link:after{
	content: '';
}

a.bg-light:focus, a.bg-light:hover, button.bg-light:focus, button.bg-light:hover{
	background-color: #eaeaea!important;
}



@media (min-width: 576px){
.navbar-nav>.user-menu>.dropdown-menu>.user-footer .btn-default:hover{
background-color: #e9ecef;
}}

.navbar-nav>.user-menu>.dropdown-menu>.user-footer{
	border-top: 1px solid #ced4da;
}

.nav-tabs.nav-tabs-outline .nav-link{
	border-top-width: 3px;
}

.accent-theme .nav-tabs.nav-tabs-outline .nav-link.active{
	border-top: 3px solid #a12a58;
}

.accent-primary .nav-tabs.nav-tabs-outline .nav-link.active{
	border-top: 3px solid #2c7be5;
}


.card-outline-tabs>.card-header>.card-tools{
	position: absolute;
	top:0;
	right:0;
}

.card-tools>.card-help-tool{
	margin: .15rem .75rem;
	color: #212529;
}

.modal-dialog{pointer-events: auto;}

.popover ol, .popover ul{
	padding-left: 2em;
}

.bg-light-gray {
	background-color: rgba(0,0,0,.05);
}

/*
body.accent-theme .dropdown-item.active, .dropdown-item:active {
	color: #fff;
	background-color: #a12a58; 
}
*/

.dropdown-divider{
	border-top: 1px solid rgba(0,0,0,.15);
}

.input-group .select2{
	flex: 1 1;
}

.icheck-container{
	overflow: auto;
	margin-top: 2px !important;
	margin-bottom: 0px !important;
}

.bootstrap-datetimepicker-widget .table td,
.bootstrap-datetimepicker-widget .table th {
	border:none;
}


/* Colored tooltips */

.tooltip.tooltip-success .tooltip-inner {
    background-color: #1e7e34;
}
.tooltip.tooltip-success.bs-tooltip-right .arrow:before {
    border-right-color: #1e7e34 !important;
}
.tooltip.tooltip-success.bs-tooltip-left .arrow:before {
    border-left-color: #1e7e34 !important;
}
.tooltip.tooltip-success.bs-tooltip-bottom .arrow:before {
    border-bottom-color: #1e7e34 !important;
}
.tooltip.tooltip-success.bs-tooltip-top .arrow:before {
    border-top-color: #1e7e34 !important;
}



.tooltip.tooltip-danger .tooltip-inner {
    background-color: #bd2130;
}
.tooltip.tooltip-danger.bs-tooltip-right .arrow:before {
    border-right-color: #bd2130 !important;
}
.tooltip.tooltip-danger.bs-tooltip-left .arrow:before {
    border-left-color: #bd2130 !important;
}
.tooltip.tooltip-danger.bs-tooltip-bottom .arrow:before {
    border-bottom-color: #bd2130 !important;
}
.tooltip.tooltip-danger.bs-tooltip-top .arrow:before {
    border-top-color: #bd2130 !important;
}

/* modal huge */
@media (min-width: 1300px) {
.modal-hg{
	max-width: 1100px;
}
}


.card-header{
	background-color: rgb(0,0,0,.03)
}

.custom-file-label::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f07c";
    padding: 0.375rem 0.7rem;
}


.tokenfield .token{
	height: 26px;
}
.tokenfield.form-control{
	padding-left: 5px;
	padding-bottom: 0;
	height: auto;
}
.tokenfield.focus{
	-webkit-box-shadow: none;
	box-shadow: none;
}



.m-b-md>div{
	text-align: right;
}