﻿/*---------------Form---------------*/
.select2, .select2-results {
    font-size: 0.875rem;
}

.select2-container {
    width: 100% !important;
}

.select2-container--default.select2-container--focus {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    border-radius: 0.2rem;
    padding: 0 0.9rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
}

.theme-primary .select2-container--default .select2-selection--single, .theme-primary .form-control {
    border-color: #04518c !important;
}

.theme-info .select2-container--default .select2-selection--single, .theme-info .form-control {
    border-color: #733aeb !important;
}

.theme-success .select2-container--default .select2-selection--single, .theme-success .form-control {
    border-color: #51ce8a !important;
}

.theme-danger .select2-container--default .select2-selection--single, .theme-danger .form-control {
    border-color: #f2426d !important;
}

.theme-warning .select2-container--default .select2-selection--single, .theme-warning .form-control {
    border-color: #fec801 !important;
}

/*---------------Tab---------------*/
.nav-tabs .nav-item .active {
    border: 1px solid #04518c;
    border-bottom: 0;
    color: #04518c;
}

.theme-primary .nav-tabs .nav-item .active {
    border-color: #04518c;
    color: #04518c;
}

.theme-info .nav-tabs .nav-item .active {
    border-color: #733aeb;
    color: #733aeb;
}

.theme-success .nav-tabs .nav-item .active {
    border-color: #51ce8a;
    color: #51ce8a;
}

.theme-danger .nav-tabs .nav-item .active {
    border-color: #f2426d;
    color: #f2426d;
}

.theme-warning .nav-tabs .nav-item .active {
    border-color: #fec801;
    color: #fec801;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

#loading {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

/*
 *  Scrollbar
 */

.scrollbar::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
    border-radius: 0.5rem;
}

.scrollbar::-webkit-scrollbar {
    width: 0px;
    background-color: #F5F5F5;
}

.scrollbar::-webkit-scrollbar-thumb {
    border-radius: 0.5rem;
    background-color: #999;
}

.scrollbar:hover::-webkit-scrollbar {
    width: 10px;
}

.theme-warning .scrollbar::-webkit-scrollbar-thumb {
    background-color: #fec801;
}

.theme-danger .scrollbar::-webkit-scrollbar-thumb {
    background-color: #f2426d;
}

.theme-success .scrollbar::-webkit-scrollbar-thumb {
    background-color: #51ce8a;
}

.theme-info .scrollbar::-webkit-scrollbar-thumb {
    background-color: #733aeb;
}

.theme-primary .scrollbar::-webkit-scrollbar-thumb {
    background-color: #04518c;
}
.theme-primary fieldset, .theme-primary .form-border, .theme-primary .nav-tabs .nav-item .active {
    border-color: #04518c;
}

.theme-info fieldset, .theme-info .form-border, .theme-info .nav-tabs .nav-item .active {
    border-color: #733aeb;
}

.theme-success fieldset, .theme-success .form-border, .theme-success .nav-tabs .nav-item .active {
    border-color: #51ce8a;
}

.theme-danger fieldset, .theme-danger .form-border, .theme-danger .nav-tabs .nav-item .active {
    border-color: #f2426d;
}

.theme-warning fieldset, .theme-warning .form-border, .theme-warning .nav-tabs .nav-item .active {
    border-color: #fec801;
}