/* == Loading == */
button.loading {
    position: relative;
    cursor: default;
    color: transparent;
    opacity: 1;
    pointer-events: auto;
    -webkit-transition: all 0s linear, opacity 0.1s ease;
    transition: all 0s linear, opacity 0.1s ease;
}
button.loading:before {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    width: 1.5em;
    height: 1.5em;
    border-radius: 500rem;
    transform: translate(-50%, -50%);
    border: 4px solid rgba(0, 0, 0, 0.15);
}
button.loading:after {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    width: 1.5em;
    height: 1.5em;
    margin-left: -.750em;
    margin-top: -.750em;
    -webkit-animation: button-spin 0.6s linear;
    animation: button-spin 0.6s linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    border-radius: 500rem;
    border-color: #ffffff transparent transparent;
    border-style: solid;
    border-width: 4px;
    box-shadow: 0px 0px 0px 1px transparent;
}
a.loading {
    position: relative;
    cursor: default;
    color: transparent;
    opacity: 1;
    pointer-events: auto;
    -webkit-transition: all 0s linear, opacity 0.1s ease;
    transition: all 0s linear, opacity 0.1s ease;
}
a.loading:before {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    width: 1.5em;
    height: 1.5em;
    border-radius: 500rem;
    transform: translate(-50%, -50%);
    border: 4px solid rgba(0, 0, 0, 0.15);
}
a.loading:after {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    width: 1.5em;
    height: 1.5em;
    margin-left: -.750em;
    margin-top: -.750em;
    -webkit-animation: button-spin 0.6s linear;
    animation: button-spin 0.6s linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    border-radius: 500rem;
    border-color: #ffffff transparent transparent;
    border-style: solid;
    border-width: 4px;
    box-shadow: 0px 0px 0px 1px transparent;
}

.select2-selection__rendered.loading {
    position: relative;
    cursor: default;
    color: transparent;
    opacity: 1;
    pointer-events: auto;
    -webkit-transition: all 0s linear, opacity 0.1s ease;
    transition: all 0s linear, opacity 0.1s ease;
}
.select2-selection__rendered.loading:before {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    width: 1.5em;
    height: 1.5em;
    border-radius: 500rem;
    transform: translate(-50%, -50%);
    border: 4px solid rgba(0, 0, 0, 0.15);
}
.select2-selection__rendered.loading:after {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    width: 1.5em;
    height: 1.5em;
    margin-left: -.750em;
    margin-top: -.750em;
    -webkit-animation: button-spin 0.6s linear;
    animation: button-spin 0.6s linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    border-radius: 500rem;
    border-color: #dc3545 transparent transparent;
    border-style: solid;
    border-width: 4px;
    box-shadow: 0px 0px 0px 1px transparent;
}

@-webkit-keyframes button-spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes button-spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
.select2bs4.form-control-sm + .select2-container--bootstrap4 .select2-selection--single {
    height: 31px !important;
}
.select2bs4.form-control-sm + .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    line-height: 1.8rem !important;
}

.select2bs4_extra.form-control-sm + .select2-container--bootstrap4 .select2-selection--single {
    height: 31px !important;
}
.select2bs4_extra.form-control-sm + .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    line-height: 1.8rem !important;
}

.btn-lng {
    font-weight: 800;
    border: 0px;
    padding: 4px 0px;
    border-radius: 99px;
    width: 80px;
    color:#dc3545 !important;
    background-color: transparent;
    z-index: 0;
    display: inline-block;
    text-align: center;
}
.btn-lng.active {
    color:white !important;
    background-color: #dc3545;
    z-index: 1 !important;
    width: 95px !important;
}
.btn-lng-div {
    display: inline-block;
    border: 1px solid #dc3545;
    background-color: white;
    border-radius: 99px;
}
.btn-lng.btn-lng-urdu{
    letter-spacing: 2px;
}
.btn-lng.inactive.btn-lng-left{
    margin-right: -7px !important;
    width: 90px;
}
.btn-lng.inactive.btn-lng-urdu{
    margin-left: -7px !important;
}

.serial {
    color: #ffffff;
    bottom: 40px;
    display: flex;
    width: 25px;
    height: 25px;
    background-color: #dc3545;
    border-radius: 99px;
    /* position: absolute; */
    left: -10px;
    margin-left: -25px !important;
    margin-bottom: 11px;
    align-items: center;
    justify-content: center;
}
@media screen and (max-width: 600px) {
    .serial {
        width: 20px;
        height: 20px;
        left: -10px;
        margin-left: -25px !important;
        margin-bottom: 2px;
        font-size: 11px;
    }



    .btn-lng {
        width: 70px;
    }
    .btn-lng.active {
        width: 75px !important;
    }
    .btn-lng.inactive.btn-lng-left{
        width: 80px;
    }
}

.alert-danger {
    color: #721c24 !important;
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
}
.a-text-danger a, .a-text-danger span a, .a-text-danger.alert a{
    color: #721c24 !important;
}
.alert-success {
    color: #155724 !important;
    background-color: #d4edda !important;
    border-color: #c3e6cb !important;
}
.dashboard- .small-box .icon>i.fas{
    font-size: 55px;
}
.dashboard- .small-box:hover .icon>i.fas{
    font-size: 60px;
}
#login-box a{
    color: #0D2137 !important;
}
#login-box a:hover{
    color: #0056b3 !important;
}
#login-box button.btn-primary{
    background-color: #FF8E2B !important;
    border-color: #FF8E2B !important;
}
#login-box button.btn-primary:hover{
    background-color: #0D2137 !important;
    border-color: #0D2137 !important;
}
#alert-close-btn{
    margin: 0px;
    padding: 0.75rem 1.25rem;
    min-height:2px;
}
.register-icheck {
    margin-top: 0px!important;
    margin-bottom: 0px!important;
    padding-left: 8 !important;
}
.register-icheck>label {
    font-size: 15px;
    min-height: 20px;
    line-height: 20px;
}
.register-icheck>input:first-child+label::before {
    width: 20px;
    height: 20px;
}
.register-icheck>input:first-child:checked+label::after {
    width: 6px;
    height: 9px;
}
.filename-badge {
    font-size: 14px;
    font-weight: 500;
    padding: 7px 10px;
}