*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box; 
}

body {
    font-family: 'Inter', serif;
    font-size: 14px;
    background: #f2f2f2;
}

table th, table td {
    vertical-align: middle!important;
}

table .center_align {
    text-align: center!important;
}

table .no_wrap {
    white-space: nowrap;
}

.no_wrap {
    white-space: nowrap;
}

label {
    margin: 0;
}

hr {
    border-color: #8b5cf6;
}

.form-group.has-icon {
    position: relative;
}

.form-group.has-icon .form-control-feedback {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}

.form-group>label>.required {
    color: red;
    top: 3px;
    position: relative;
}

.imp_note {
    color: red;
}

table .required {
    color: red;
    top: 3px;
    position: relative;
}

/** Switch
 -------------------------------------*/
.switch input {
    position: absolute;
    opacity: 0;
}
  
.switch {
    display: inline-block;
    font-size: 15px;
    height: 0.7em;
    width: 2em;
    /*background: rgba(139, 92, 246, 0.6);*/
    background: rgba(214, 54, 56, 0.6);
    border-radius: 1em;
    margin: 0;
}

.switch.active {
    background: rgba(0, 128, 0, 0.6);
}
  
.switch div {
    height: 1em;
    width: 1em;
    margin-top: -2px;
    border-radius: 1em;
    /*background: #8b5cf6;*/
    background: rgba(214, 54, 56, 0.8);
    box-shadow: 0 0.1em 0.3em rgba(0,0,0,0.3);
    -webkit-transition: all 300ms;
    -moz-transition: all 300ms;
    transition: all 300ms;
    cursor: pointer;
}

.switch.active div {
    background: rgba(0, 128, 0, 0.8);
}
  
.switch input:checked + div {
    -webkit-transform: translate3d(100%, 0, 0);
    -moz-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
}

.page-link,
.page-link:hover {
    color: #8b5cf6;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #8b5cf6;
    border-color: #8b5cf6;
}

input[type=checkbox],
input[type=radio] {
    accent-color: #8b5cf6;
}

.modal-dialog.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)!important;
    margin: 0 auto;
    width: 100%;
    padding: 0 10px;
}

.btn_primary, .btn_primary:hover {
    background-color: #8b5cf6;
    border-color: #8b5cf6;
    color: #ffffff;
    min-width: 150px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.loader {
    display: none;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
}

.loader .loader_inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mw-auto {
    min-width: auto!important;
    max-width: auto!important;
    width: auto!important;
}

.select2-container .select2-selection--single {
    height: calc(1.5em + 0.75rem + 2px);
    padding: 7px 24px 8px 12px;
    font-size: 1rem;
}

.select2-container--bootstrap .select2-results__option--highlighted[aria-selected] {
    background-color: #8b5cf6cc;
}

.select2-container--bootstrap .select2-results__option[aria-selected=true] {
    background-color: #8b5cf6;
    color: #ffffff;
}

::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar {
	width: 6px;
    height: 10px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #8b5cf6;
}

.form-check-inline {
    margin-right: 0.25rem;
}

.form-check-inline .form-check-input {
    position: relative;
    margin-right: -1px;
    top: -1.2px;
    width: 15px;
    height: 15px
}

.form-check-inline .form-check-input:checked:before {
    width: 20px;
    height: 20px;
    margin: -3px -4px;
}

.fixTableHead {
    overflow-y: auto;
    /*height: calc(100vh/1.7);*/
}
.fixTableHead thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    white-space: nowrap;
    background: #bfa4fa;
}
.fixTableHead table {
    /*border-collapse: collapse;*/
    width: 100%;
}
/*.fixTableHead th,
.fixTableHead td {
    padding: 8px 15px;
    border: 2px solid #529432;
}
.fixTableHead th {
    background: #ABDD93;
}*/

.dataTables_paginate a {
    text-decoration: none;
    border: solid 1px #8b5cf6;
    padding: 2px 8px 3px;
    margin: 0px 2.5px;
    border-radius: 4px;
    cursor: pointer;
}

.dataTables_paginate .paginate_button.current {
    background-color: #8b5cf6;
    color: #fff;
    cursor: not-allowed;
}

.dataTables_paginate .paginate_button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}