
.sidebar .nav-link {
    font-size: 0.9rem;
}

.card .grid-view .table {
    margin-bottom: 2rem;
}

.grid-view-label {
    margin: 0;
}

.btn-group-sm>.btn.btn-icon, .btn.btn-icon.btn-sm {
    height: calc(1.35em + 1.1rem + 2px);
    width: calc(1.35em + 1.1rem + 2px);
}

.table td, .table th {
    vertical-align: middle;
}

.card .table {
    margin-bottom: 1rem;
}

.table.table-separate tbody tr:last-child td {
    border-bottom: 0;
}

.form-group {
    margin-bottom: 1rem!important;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 0 5px;
    width: 100%;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    display: flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 1rem;
    margin: 0.1rem 0.4rem 0.1rem 0;
    position: relative;
    float: left;
}

.select2.select2-container{
 width: 100%!important;
 }
 .select2-search--dropdown .select2-search__field {
 width: 98%;
 }
 .select2-selection__choice__remove {
    cursor: pointer;
 }


 .form-control {
    border-radius: 0.42rem;
    box-shadow: none;
 }

.table > :not(:first-child) {
    border-top: none;
}

.nav-tabs {
    border-bottom: none;
}

.template-image{
    width: 8rem;
    height: 8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.hide {
    display: none;
}

.blockUI {
    background: #fff;
    box-shadow: 0 0 50px 0 rgb(82 63 105 / 15%);
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    border-radius: 0.42rem;
}

.blockUI>span {
    color: #3f4254;
    padding: 0.75rem 1.2rem;
    font-size: 1rem;
    font-weight: 400;
    flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
}
.spinner {
    position: relative;
}
.spinner.spinner-danger:before {
    border: 2px solid #f64e60;
    border-right: 2px solid transparent;
    animation: rotation .5s linear infinite;
}
.spinner.spinner-info:before{
    border: 2px solid #3699ff;
    border-right: 2px solid transparent;
    animation: rotation .5s linear infinite;
}
.spinner:before {
    animation: rotation .5s linear infinite;
    -webkit-animation: rotation .5s linear infinite;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: -0.75rem;
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 0;
    border-radius: 50%;
    border: 2px solid #d1d3e0;
    border-right: 2px solid transparent;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
} 

.btn-success, .btn-success:hover {
    color: #FFFFFF;
}

.nav-tabs .nav-link {
    border-radius: 0.5rem;
}

.tab-content > .active {
    min-height: 200px;
} 
.icon-md {
    font-size: 1.25rem!important;
}

.icon-md {
    font-size: 1.15rem!important;
}
.icon-sm {
    font-size: 1rem!important;
}

.custom-dropdown-icon {
    margin-right: 0.6rem;
    padding-left: 0.3rem;
}
    
.template-image>img {
    width: 100%;
    max-width: 140px;
    height: 140px;
    object-fit: contain;
}


.pagination .first  span{
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

.pagination .last  span, .pagination .last a{
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.pagination li a, .pagination li span {
    position: relative;
    display: block;
    color: #1F2937;
    background-color: #ffffff;
    border: 0.0625rem solid #9CA3AF;
    padding: 0.375rem 0.75rem;
}

.table td, .table th {
    white-space: normal;
}

tbody > tr:last-child {
    border-color: #FFF;
}


.select2-container--bootstrap-5 .select2-selection {
    border-radius: 0.42rem;
    padding: 0.4rem 1rem;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection, 
.select2-container--bootstrap-5.select2-container--open .select2-selection {
    color: #6B7280;
    border-color: #4d6689;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 7%), 0 0 0 0.18rem rgb(31 41 55 / 25%);
}
.select2-container--bootstrap-5 .select2-dropdown {
    /*border-color: #4d6689;*/
    border-color: #ced4da;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-search .select2-search__field, 
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    font-size: 0.875rem;
    line-height: 1.6;
}
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__clear {
    width: 0.65rem;
    height: 0.65rem;

}
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__clear {
    width: 0.5rem;
    height: 0.5rem;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-search {
    display: inline-block;
    width: auto;
    height: 1.5rem; 
}
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    font-size: 0.875rem;
    border-radius: 0.42rem;
    background: #f3f6f9;
    border: 0;
}
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove {
    width: 0.55rem;
    height: 0.55rem;
    margin-right: 0.45rem;
}
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected,
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[aria-selected=true]:not(.select2-results__option--highlighted) {
    background: #f3f6f9;
    color: #3f4254;
}
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option {
    font-size: 0.9rem;
}



.toast {
    top: 4% !important;
    right: 1% !important;
    position: fixed !important;
    z-index: 9999;
}

.toast .toast-body i {
    margin-right: 0.5rem !important;
}


.accordion-item:first-of-type .accordion-button {
    border-bottom-right-radius: 0.4375rem;
    border-bottom-left-radius: 0.4375rem;
}

.accordion-button:not(.collapsed) {
    color: #1c2532;
    background-color: #ffffff;
    box-shadow: none;
}