@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.0/font/bootstrap-icons.css"); /*define global variables START*/
@import url('_variables.css');

.glyphicon {
    font-family: "Font Awesome 5 Free", serif;
}

.glyphicon-eye-open:before {
    content: "\f06e";
    color: var(--success);
}

.glyphicon-pencil:before {
    content: "\f044";
    color: var(--primary);
}

.glyphicon-trash:before {
    content: "\f2ed";
    color: var(--danger);
}


/*define global variables END*/

body>div.preloader, .loader {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1071;
    opacity: 1;
    transition: opacity .5s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}


/*.bi::before {
    color: var(--primary-color);
}*/

html,
body {
    height: 100%;
    font-size: .9375rem;
}

.toast {
    min-width: 280px;
    font-size: 0.875rem;
    background-color: #202634;
    border-radius: 8px;
    color: #48b9f5;
}

.toast-header {
    padding: 0.25rem 0.75rem;
    color: #e9ecef;
    background-color: #0076a0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}


.toast.warning {
    color: #f2b84d;
}.toast.warning .toast-header {
    background-color: #f2b84d;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    padding-top: 20px;
}

/*Jumbotron*/
.jumbotron {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    background-color: #293042;
    border-radius: 0.3rem;
}

.jumbotron-fluid {
    padding-right: 0;
    padding-left: 0;
    border-radius: 16px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

.h2, h2 {
    font-size: 1.25rem;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: "Font Awesome 5 Free", serif;
    font-style: normal;
    line-height: 1;
    padding-left: 5px;
    color: var(--primary-color);
}

a.asc:after {
    content: "\f0de";
}

a.desc:after {
    content: "\f0dd";
}

.sort-numerical a.asc:after {
    content: "\f887";
}

.sort-numerical a.desc:after {
    content: "\f886";
}

.sort-ordinal a.asc:after {
    content: "\f882";
}

.sort-ordinal a.desc:after {
    content: "\f881";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/*Table styles or GridView Custom styles*/
.icon::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.table .empty {
    font-size: 16px;
    text-align: center;
}
.table .empty::before {
    content: url("data:image/svg+xml,<svg width='32' height='32' class='bi bi-search text-success' viewBox='0 0 16 16' fill='%23333' fill-color='0076a0' xmlns='http://www.w3.org/2000/svg'> <path d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/> </svg>");
    display: block;
}
.table td {
    vertical-align: middle;
}

.table-striped tbody tr.active {
    background-color: #0c5460;
}
.table-striped tbody tr.manual-pay {
    background-color: rgb(24 67 117);
}

/*Pagination custom styles*/
.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
}
.page-item.active .page-link {
    z-index: 3;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}


/*spacing*/
.mb-3, .my-3 {
    margin-bottom: .75rem!important;
}
.py-5 {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
}

.px-4 {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
}

.m-2 {
    margin: .5rem !important;
}

.mb-10 {
    margin-bottom: 2.5rem !important;
}
.mb-10 {
    margin-bottom: 2.5rem!important;
}

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

.display-4 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.1;
}

.display-1, .display-2, .display-3, .display-4 {
    letter-spacing: -.02em;
}

.custom-sticky {
    position: sticky!important;
    top: 64px;
    z-index: 1020;
}
/*@supports ((position: -webkit-sticky) or (position: sticky)) {
    .custom-sticky {
        position: sticky !important;
        top: 64px;
        z-index: 1020;
    }
}*/

/************************************************** NEW STYLES ********************************************************/

.text-sm {
    font-size: .875rem;
}

.fw-bold {
    font-weight: 500 !important;
}

.border-0 {
    border: 0 !important;
}

.shadow {
    box-shadow: 0 0 1rem rgba(0,0,0,0.15) !important;
}
.hover-animate {
    top: 0;
    transition: top 0.2s ease-in-out;
}
.hover-animate:hover, .hover-animate:focus {
    top: -4px;
}

.header {
    margin-bottom: 2rem;
}

.header-body {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.header-sub-title {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 0.75rem;;
}

.header-title {
    margin-bottom: 0;
    font-size:  1.50rem;
}

.header-icon-rounded {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    text-align: center;
    line-height: 4rem;
}

/* navs styles START*/
.nav-overflow {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 1px;
}
.header-tabs {
    margin-bottom: -1.5rem;
    border-bottom-width: 0;
}

.nav-tabs .nav-item {
    margin-left: .75rem;
    margin-right: .75rem;
}
.nav-tabs .nav-item:first-child {
    margin-left: 0;
}

.nav-tabs .nav-link {
    margin-bottom: -1px;
    border: 1px solid transparent;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.nav-tabs .nav-link {
    padding: 1rem 0;
    border-bottom: 1px solid transparent;
    border-left-width: 0;
    border-right-width: 0;
    border-top-width: 0;
}

.header-tabs .nav-link {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    font-weight: bold;
    background-color: transparent;
}

/*.nav-link.active {
    font-weight: 600;
    border-bottom: 1px solid;
    padding: 0.5rem 4px;
    color: var(--second);
}*/
/* navs styles END*/


/*DROPDOWN STYLES*/

/*.dropdown-toggle:after {
    border: none!important;
    content: "\e92e";
    font-family: "Font Awesome 5 Free", serif;
    height: auto;
    vertical-align: middle;
    width: auto;
}*/

.dropdown-item {
    width: 100%;
    padding: 0.25rem 1.5rem;
    font-weight: 400;
    color: #212529;
    background-color: transparent;
    border: 0;
}
.dropdown-item.active, .dropdown-item:active {
    text-decoration: none;
}

.dropdown-ellipses {
    font-size: 1.0625rem;
}

.dropdown-toggle {
    white-space: nowrap;
}
.dropdown-ellipses:after {
    display: none;
}

/*DROPDOWN STYLES*/

/*BADGE STYLES*/
.badge {
    padding: 0.40em 0.85em;
    font-size: 75%;
    font-weight: 400;
    line-height: 1;
    text-align: center;
}
/*BADGE STYLES*/



/*forms START*/
.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 1rem + 2px);
    padding: .5rem .75rem;
    font-size: .9375rem;
    font-weight: 400;
    line-height: 1.5;
    background-clip: padding-box;
    border-radius: .375rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.form-control:focus {
    outline: 0;
    box-shadow: unset;
}
.form-control:not(.custom-select) {
    padding-right: 0;
}
.form-control:disabled, .form-control[readonly] {
    background-color: #1b202c;
    opacity: 1;
}

/*forms END*/

/*buttons START*/
.btn {
    font-weight: 400;
    text-align: center;
    padding: .5rem .75rem;
    font-size: .9375rem;
    line-height: 1.5;
    border-radius: .375rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.btn-group-lg>.btn, .btn-lg {
    padding: .75rem 1.25rem;
    font-size: .9375rem;
    line-height: 1.5;
    border-radius: .5rem;
}
.btn-sm, .btn-group-sm > .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}
/*buttons END*/

.btn.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: calc(1.5em + 1.5rem + 2px);
    width: calc(1.5em + 1.5rem + 2px);
}

.btn-group-sm>.btn.btn-icon, .btn.btn-icon.btn-sm {
    height: calc(1.5em + 1.1rem + 2px);
    width: calc(1.5em + 1.1rem + 2px);
}


/*Cards styles*/
.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-clip: border-box;
    border-radius: .9rem;
    margin-bottom: 1.5rem;
}
.card-header:first-child {
    border-radius: .9rem .9rem 0 0;
}

.stat {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 48px;
    height: 48px;
}

.stat-sm i {
    width: 20px;
    height: 20px;
    font-size: 1.2rem;
}

.stat svg {
    width: 24px;
    height: 24px;
    color: #3f80ea !important;
}

.stat i {
    font-size: 1.5rem;
    color: #3f80ea !important;
}

.icon-rounded {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    text-align: center;
    line-height: 4rem;
}
.icon-rounded svg, .icon-rounded i {
    vertical-align: middle;
}
.icon-rounded .icon{
    font-size: 2rem;
}



/*animations*/
.lift {
    transition: box-shadow .25s ease,transform .25s ease;
}
.lift:focus, .lift:hover {
    box-shadow: 0 1rem 2.5rem rgba(18,38,63,.1),0 .5rem 1rem -.75rem rgba(18,38,63,.1)!important;
    transform: translate3d(0,-3px,0);
}

.kv-row-checkbox, .select-on-check-all {
    webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    background-color: #e3ebf6;
    background-position: 40%;
    background-repeat: no-repeat;
    background-size: contain;
    border: transparent;
    height: 1em;
    margin-top: 0;
    vertical-align: top;
    width: 1em;
}

.kv-row-checkbox[type=checkbox], .select-on-check-all[type=checkbox] {
    border-radius: .305rem;
}

.kv-row-checkbox:checked, .select-on-check-all:checked {
    background-color: #0078a4;
    border-color: #0078a4;
}

.kv-row-checkbox:checked[type=checkbox], .select-on-check-all:checked[type=checkbox] {
    background-size: 75% 75%;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3E%3C/svg%3E");
}

.datepicker { z-index: 1151 !important; }


.loadingio {
    position: fixed;
    top: 0;
    background: #2930429e;
    width: 100%;
    height: 100%;
    z-index: 1071;
    transition: opacity .5s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.loadingio.hide {
    display: none;
}



/*Colors variants*/
.bg-light-primary {
    background-color: #c3e5cc!important;
}

.bg-light-warning {
    background-color: #fff8dd!important
}
.svg-icon.svg-icon-warning svg [fill]:not(.permanent):not(g) {
    transition: fill .3s ease;
    fill: #6f5300;
}

.list-group.list-group-flush>.list-group-item:nth-last-child(-n+2) {
    border-bottom-width: 0;
}


/*search box navbar*/

nav #search-box {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.input-group-navbar .btn, .input-group-navbar .form-control {
    border: 0;
    box-shadow: none;
    height: calc(2.24375rem + 2px);
    padding: .35rem .75rem;
}
.input-group-navbar .btn .feather {
    height: 20px;
    width: 20px;
}

.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    margin-left: -1px;
}

.help-block {
    color: #ffc107;
}

.text-single-line {
    width: 110px;
    --max-lines: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}