/* ================== TAXONOMY =============== */
body::-webkit-scrollbar-track{
    box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

body::-webkit-scrollbar{
	width: 5px;
	background-color: #F5F5F5;
}

body::-webkit-scrollbar-thumb{
    box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: var(--bs-primary);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

/* ================== GENARAL =============== */
body,h6{line-height: 1.5;}
p {font-size: .875rem;margin-bottom: 5px;line-height: 1.5;}
a.disabled{cursor: not-allowed !important; opacity: .5;}
.text-black {color: #000;}
.bg-eee {background-color: #eee;}
.cursor-move {cursor: move;}
.flex-auto {flex: auto !important;}
.flex-1,.flex-md-1 {flex: 1 !important;}
.mb-20 {margin-bottom: 20px;}
.height-150 {height: 150px !important;}
.h-50px {height: 50px !important;}
.badge {line-height: .75rem;font-size: .75rem;}
.alert{padding: 0.75rem 1rem;}
.alert-primary,
.alert-secondary,
.alert-info,
.alert-danger,
.alert-warning{color: #fff}
.object-fit-contain{object-fit: contain !important}
.text-1-line {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.text-2-line {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.text-3-line {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pscrollbar {
    max-height: 300px;
    overflow-y: scroll;
}
.pscrollbar::-webkit-scrollbar-track{
	box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
    border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	-ms-border-radius: 8px;
	-o-border-radius: 8px;
}

.pscrollbar::-webkit-scrollbar{
	width: 8px;
	background-color: #F5F5F5;
}

.pscrollbar::-webkit-scrollbar-thumb{
	box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: var(--bs-primary);
    border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	-ms-border-radius: 8px;
	-o-border-radius: 8px;
}
@media (max-width: 992px) {
    .flex-md-1 {flex: auto !important;}
}

/* ================== HEADER =============== */
.navbar-vertical .navbar-brand > img, .navbar-vertical .navbar-brand-img {
    max-height: 100%;
}

.navbar .navbar-brand {
    max-width: 250px;
}

.dropdown-item {
    padding: 0.3rem 0.75rem;
}

.dropdown .dropdown-menu:before {
    content: "";
}

.dropdown.dropdown-hover:after {
    height: auto;
    width: auto;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

@media (min-width: 992px) {
    .customNav .navbar-nav .nav-item {
        margin-right: 2rem;
    }

    .customNav .navbar-nav .nav-item:last-child {
        margin-right: 0;
    }

    .customNav .navbar-nav .nav-link {
        padding: 5px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .customNav .navbar-nav .nav-link i {
        font-size: 1.5em;
        margin: 5px 0 5px;
    }

    .customNav .dropdown .dropdown-menu {
        top: 100%;
        margin-top: 0 !important;
    }
}

@media (max-width: 992px) {
    .customNav .navbar-nav .nav-link i {
        margin-right: .5rem;
    }
}

/* ================== FORM =============== */
.invalid-feedback {
    display: block;
    font-size: .8rem;
}

.list-unstyled {
    margin-bottom: 0;
}

.form-check:not(.form-switch) .form-check-input[type="checkbox"]:after {
    font-family: "Font Awesome 5 Pro";
}

.form-check-label {
    margin-bottom: 0;
}
.form-check:not(.form-switch) .form-check-input[type="checkbox"], .form-check:not(.form-switch) .form-check-input[type="radio"] {
    margin-top: 0.135em;
}

.form-switch .form-check-input:checked {
    border-color: var(--bs-primary);
    background-color: var(--bs-primary);
}

.input-group.input-group-outline .form-control {
    padding: 0.75rem 0.75rem 0.5rem !important;
    line-height: 1.29 !important;
}

.input-group.input-group-outline.is-focused .form-label,
.input-group.input-group-outline.is-filled .form-label {
    font-size: 90% !important;
    height: auto;
    z-index: 4;
}

.input-group.input-group-outline.is-filled .form-label {
    border-top-color: #d2d6da;
    box-shadow: inherit;
    color: #7b809a;
}

.input-group.input-group-outline.is-filled .form-label:before,
.input-group.input-group-outline.is-filled .form-label:after{
    border-top-color: #d2d6da;
    box-shadow: inherit;
}

.input-group.input-group-outline.is-filled .form-label + .form-control  {
    border-color: #d2d6da !important;
    border-top-color: transparent !important;
    box-shadow: inherit;
}

.input-group.input-group-outline.is-focused .form-label {
    border-top-color: var(--bs-primary);
    box-shadow: inherit;
    color: var(--bs-primary);
}

.input-group.input-group-outline.is-focused .form-label:before,
.input-group.input-group-outline.is-focused .form-label:after{
    border-top-color: var(--bs-primary);
    box-shadow: inherit;
}

.input-group.input-group-outline.is-focused .form-label + .form-control  {
    border-color: var(--bs-primary)!important;
    border-top-color: transparent !important;
    box-shadow: inherit;
}

.has-error .input-group.input-group-outline .form-label {
    border-top-color: #fd5c70;
    box-shadow: inherit;
    color: #fd5c70;
}

.has-error .input-group.input-group-outline .form-label:before,
.has-error .input-group.input-group-outline .form-label:after{
    border-top-color: #fd5c70;
    box-shadow: inherit;
}

.has-error .input-group.input-group-outline .form-label + .form-control  {
    border-color: #fd5c70 !important;
    box-shadow: inherit;
}

.has-error .input-group.input-group-outline.is-focused .form-label + .form-control,
.has-error .input-group.input-group-outline.is-filled .form-label + .form-control  {
    border-top-color: transparent !important;
}

.input-group.input-group-outline .select2-container--default .select2-selection--single,
.input-group.input-group-outline .select2-container--default .select2-selection--multiple {
    font-size: 0.875rem;
    padding: 0.4rem 0.75rem 0.4rem;
    background-color: transparent;
    border: 1px solid #d2d6da;
    border-radius: 0.375rem;
    -webkit-border-radius: 0.375rem;
    -moz-border-radius: 0.375rem;
    -ms-border-radius: 0.375rem;
    -o-border-radius: 0.375rem;
}

.input-group.input-group-outline .select2-container--default .select2-selection--single{
    height: 40px;
}

.input-group.input-group-outline.is-focused .select2-container--default .select2-selection--single,
.input-group.input-group-outline.is-filled .select2-container--default .select2-selection--single,
.input-group.input-group-outline.is-filled .select2-container--default .select2-selection--multiple {
    border-top-color: transparent !important;
    padding-left: 0;
}


.input-group.input-group-outline.is-focused .select2-container--default .select2-selection--single,
.input-group.input-group-outline.is-focused .select2-container--default .select2-selection--multiple {
    background-color: transparent;
    border-color: var(--bs-primary)!important;
    border-top-color: transparent !important;
    box-shadow: none;
    padding-left: 0;
}

.select2-container {
    font-size: .875rem;
}

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

.select2-container .select2-selection--single .select2-selection__rendered,
.select2-container .select2-selection--multiple .select2-selection__rendered {
    padding-left: 12px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b,
.select2-container--default .select2-selection--multiple .select2-selection__arrow b {
    top: 65%;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--bs-primary);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice,
.select2-container--default .select2-search--inline .select2-search__field {
    margin-left: 0;
    margin-right: 5px;
}

.pagination-length .select2-selection__arrow {
    height: 20px !important;
}

.input-group.input-group-outline .select2-container--disabled .select2-selection--single {
    cursor: not-allowed;
    border-style: dashed;
}

.has-error .input-group.input-group-outline .select2-container--default .select2-selection--single,
.has-error .input-group.input-group-outline .select2-container--default .select2-selection--multiple {
    border-color: #fd5c70!important;
    border-top-color: transparent !important;
}

.input-group.input-group-outline.no-label .select2-container--default .select2-selection {
    border-top-color: #d2d6da !important;
} 

.input-group.input-group-outline.no-label.is-focused .select2-container--default .select2-selection {
    border-top-color: var(--bs-primary) !important;
}

.box-group {
    display: flex;
}

.box-group .form-group .form-control{
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.box-group .form-group:last-of-type .form-control,
.box-group .form-group:last-of-type .select2-selection{
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-left: none;
}

.box-group .form-group:last-of-type .form-control{
    border-top-right-radius: 0.375rem !important;
    border-bottom-right-radius: 0.375rem !important;
}

.cke_screen_reader_only {
    height: 0px !important;
}

.boxImg img {
    min-height: 40px;
}

.form-control[type="file"] {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-color: #ffffff;
    height: 40px;
    font-weight: 300;
    font-size: 14px;
    border-color: #acbeec;
    color: #777777;
    position: relative;
    -webkit-appearance: none;
    -webkit-box-shadow: inset 0 1px 2px rgb(0 0 0 / 8%);
    box-shadow: inset 0 1px 2px rgb(0 0 0 / 8%);
}

.custom-file {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 40px;
    margin-bottom: 0;
}

.custom-file-label {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: 41px;
    padding: 0.375rem 0.75rem;
    font-weight: 400;
    line-height: 2;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    border-color: #acbeec;
    margin: 0;
}

.custom-file-label::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    height: 39px;
    padding: 0.375rem 0.75rem;
    line-height: 2;
    color: #495057;
    content: "Browse";
    background-color: #e9ecef;
    border-left: inherit;
    border-radius: 0 0.25rem 0.25rem 0;
}

/* ================ GRID =============== */
.grid-space-16 {
    margin-right: -8.5px;
    margin-left: -8.5px;
  }
  .grid-space-16 > .col-auto,
  .grid-space-16 > .col-lg-12,
  .grid-space-16 > .col-lg-6,
  .grid-space-16 > .col-lg-4,
  .grid-space-16 > .col-lg-3,
  .grid-space-16 > .col-md-12,
  .grid-space-16 > .col-md-6,
  .grid-space-16 > .col-md-4,
  .grid-space-16 > .col-md-3,
  .grid-space-16 > .col-sm-12,
  .grid-space-16 > .col-sm-6,
  .grid-space-16 > .col-sm-4,
  .grid-space-16 > .col-sm-3,
  .grid-space-16 > .col-xs-12,
  .grid-space-16 > .col-xs-6,
  .grid-space-16 > .col-xs-4,
  .grid-space-16 > .col-xs-3 {
    padding-left: 8px;
    padding-right: 8px;
  }

.grid-space-10 {
    margin-right: -6px;
    margin-left: -6px;
}
  
.grid-space-10 > .col-auto,
.grid-space-10 > .col-lg-12,
.grid-space-10 > .col-lg-6,
.grid-space-10 > .col-lg-4,
.grid-space-10 > .col-lg-3,
.grid-space-10 > .col-md-12,
.grid-space-10 > .col-md-6,
.grid-space-10 > .col-md-4,
.grid-space-10 > .col-md-3,
.grid-space-10 > .col-sm-12,
.grid-space-10 > .col-sm-6,
.grid-space-10 > .col-sm-4,
.grid-space-10 > .col-sm-3,
.grid-space-10 > .col-xs-12,
.grid-space-10 > .col-xs-6,
.grid-space-10 > .col-xs-4,
.grid-space-10 > .col-xs-3 {
    padding-left: 5px;
    padding-right: 5px;
}

/* =============== BTN ================= */
.btn {
    margin-bottom: 0;
}

.btn-check:focus + .btn-primary, .btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgb(0 101 179 / 50%);
}

.btn-primary, .btn.bg-gradient-primary {
    box-shadow: 0 3px 3px 0 rgb(0 101 179 / 15%), 0 3px 1px -2px rgb(0 101 179 / 20%), 0 1px 5px 0 rgb(0 101 179 / 15%);
}

.btn-primary:hover, .btn.bg-gradient-primary:hover {
    box-shadow: 0 14px 26px -12px rgb(0 101 179 / 40%), 0 4px 23px 0 rgb(0 101 179 / 15%), 0 8px 10px -5px rgb(0 101 179 / 20%);
}

.btn.btn-sm i, .btn-group-sm > .btn i {
    font-size: 0.75rem;
}

.btn-sm, .btn-group-sm > .btn {
    padding: 0.375rem .75rem;
}

.btn:disabled, .btn.disabled, fieldset:disabled .btn {
    pointer-events: inherit;
    cursor: not-allowed;
}
.btn-sm.btn-icon {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    width: 32px;
}

.btn-group > .btn:not(:first-child), .btn-group > .btn-group:not(:first-child) {
    margin-left: 0;
}

.dropdown-toggle-no-caret::after {
    display: none;
}

@media (min-width: 992px) {
    .navbarDropdownSearch:not(.dropdown-hover) .dropdown-menu.show {
        margin-top: 3.2rem !important;
    }
    .navbarDropdownSearch .dropdown-menu:before {
        display: none;
    }
    .navbarDropdownSearch .dropdown-menu {
        min-width: 25rem;
    }
}

.alert-dismissible .btn-close {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* =============== PAGINATION ================= */
.pagination{
    margin-bottom: 0;
}
.page-item .page-link, .page-item span {
    width: 32px;
    height: 32px;
    line-height: 1;
}

/* =============== CARD ================== */
.card-primary.card-outline {
    border-top: 3px solid var(--bs-primary);
}

.card-title,
.modal-title {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 32px;
}

.card .card-header .nav-tabs a {
    font-size: 1rem;
    line-height: 30px;
}

.card .card-header,
.card .card-footer,
.modal .modal-header,
.modal .modal-footer {
    padding: .5rem 1rem;
}

.card .card-body,
.modal .modal-body{
    padding: 1rem;
}

.modal-header .btn-close {
    color: #344767;
}

/* =============== TABLE ================== */
.table.table-bordered tbody tr:last-child td {
    border-width: 0 1px;
}
.table thead th {
    text-transform: initial;
}
.table td, .table th {
    white-space:inherit;
}

/* =============== PAGE ================== */
.dataRow .page-item{
    background: #ebebeb;
    position: relative;
    min-height: 46px;
    width: calc(100% - 20px);
}
.dataRow .page-item {
    border: 1px dashed #70a8eb;
}
.dataRow .page-item > .page-col:last-of-type{
    border-right: none;
    border-bottom: none;
}
.dataRow .page-col {
    align-items: center;
    display: flex;
    border: 1px dashed #70a8eb;
}

.elementData .item-data {
    border: 1px dashed #70a8eb;
    padding-top: 13px;
    padding-bottom: 13px;
}

.elementData .item-data .row-action{
    position: absolute;
    top: 6px;
    right: -15px;
    width: 50px;
    padding: 5px;
}

/* =============== Small Box ================== */ 
.small-box {
    border-radius: .25rem;
    box-shadow: 0 0 1px rgba(0, 0, 0, .125), 0 1px 3px rgba(0, 0, 0, .2);
    display: block;
    position: relative
}

.small-box .disabled {
    cursor: not-allowed;
    pointer-events: none;
}

.small-box>.inner {
    padding: 10px
}

.small-box>.small-box-footer {
    background: rgba(0, 0, 0, .1);
    color: rgba(255, 255, 255, .8);
    display: block;
    padding: 3px 0;
    position: relative;
    text-align: center;
    text-decoration: none;
    z-index: 10
}

.small-box>.small-box-footer:hover {
    background: rgba(0, 0, 0, .15);
    color: #fff
}

.small-box h3 {
    line-height: 1.2;
    margin: 0;
    font-size: 2.2rem;
    font-weight: 700;
    padding: 0;
    white-space: nowrap
}

@media (min-width:992px) {
    .col-lg-2 .small-box h3,
    .col-md-2 .small-box h3,
    .col-xl-2 .small-box h3 {
        font-size: 1.6rem
    }

    .col-lg-3 .small-box h3,
    .col-md-3 .small-box h3,
    .col-xl-3 .small-box h3 {
        font-size: 1.6rem
    }
}

@media (min-width:1200px) {

    .col-lg-2 .small-box h3,
    .col-md-2 .small-box h3,
    .col-xl-2 .small-box h3 {
        font-size: 2.2rem
    }

    .col-lg-3 .small-box h3,
    .col-md-3 .small-box h3,
    .col-xl-3 .small-box h3 {
        font-size: 2.2rem
    }
}

.small-box p {
    font-weight: 400;
    font-size: 0.875rem;
    margin-bottom: 0;
}

.small-box p>small {
    color: #f8f9fa;
    display: block;
    font-size: .9rem;
    margin-top: 5px
}

.small-box h3,
.small-box p {
    z-index: 5;
    color: #fff;
}

.small-box .icon {
    display: block;
    color: rgba(0, 0, 0, .15);
    height: 0;
    z-index: 0
}

.small-box .icon>i {
    font-size: 90px;
    position: absolute;
    right: 15px;
    top: 15px;
    transition: all .3s linear
}

.small-box .icon>i.fa,
.small-box .icon>i.fab,
.small-box .icon>i.far,
.small-box .icon>i.fas,
.small-box .icon>i.fal,
.small-box .icon>i.glyphicon,
.small-box .icon>i.ion {
    font-size: 50px;
    top: 20px
}

.small-box:hover {
    text-decoration: none
}

.small-box:hover .icon>i {
    font-size: 95px
}

.small-box:hover .icon>i.fa,
.small-box:hover .icon>i.fab,
.small-box:hover .icon>i.far,
.small-box:hover .icon>i.fas,
.small-box:hover .icon>i.fal,
.small-box:hover .icon>i.glyphicon,
.small-box:hover .icon>i.ion {
    font-size: 55px
}

@media (max-width:767.98px) {
    .small-box {
        text-align: center
    }

    .small-box .icon {
        display: none
    }

    .small-box p {
        font-size: 12px
    }
}
/* ================================
LOGIN
================================ */
.cardLogin {
    margin-top: 60px;
}

@media (max-width:767.98px) {
    .cardLogin {
        margin-top: 120px;
    }
}