:root {
    --primary: #93120f;
    --primary-dark: #6b0c0a;
    --primary-light: #ebaeae;
}

@font-face {
    font-family: 'icomoon';
    src: url('fonts/icomoon.eot');
    src: url('fonts/icomoon.eot#iefix') format('embedded-opentype'),
        url('fonts/icomoon.ttf') format('truetype'),
        url('fonts/icomoon.woff') format('woff'),
        url('fonts/icomoon.svg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

html{
    height:-webkit-fill-available;
}
body {
    font-size: 15px !important;
    min-height:100vh;
    min-height:-webkit-fill-available;
}

.icon-redbiller,
.icon-workforce {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-redbiller:before {
    content: "\e900";
    color: #92120e;
}

.icon-workforce:before {
    content: "\e901";
    color: #91191d;
}

.symbol img {
    object-fit: contain;
    flex: none;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
}

.header-menu .menu-link>div {
    min-width: 1px;
    flex-grow: 1;
}

.header-menu .menu-nav>.menu-item>.menu-link .menu-desc {
    color: #9393a1;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.9rem;
}

.header-menu .menu-nav>.menu-item {
    padding: 0;
    margin: 0;
}

.header-menu .menu-nav>.menu-item>.menu-link {
    padding-left: 1rem;
    padding-right: 1rem;
}

.header-menu .menu-nav>.menu-item .menu-icon {
    margin-right: 1rem;
}

.nav.nav-pills .show>.nav-link,
.nav.nav-pills .nav-link.active {
    background-color: var(--primary);
}

.header-menu .menu-nav .menu-item .menu-link {
    display: flex;
    line-height: 1.5rem;
}

.header-menu .menu-nav>.menu-item>.menu-link .menu-text {
    font-size: 1.25rem;
}

.header-menu .menu-nav>.menu-item>.menu-link .menu-icon {
    font-size: unset;
}

.header-menu .menu-nav>.menu-item.menu-item-here>.menu-link .menu-text,
.header-menu .menu-nav>.menu-item.menu-item-active>.menu-link .menu-text {
    color: var(--primary);
}

.header-menu .menu-nav>.menu-item:hover:not(.menu-item-here):not(.menu-item-active)>.menu-link .menu-text,
.header-menu .menu-nav>.menu-item.menu-item-hover:not(.menu-item-here):not(.menu-item-active)>.menu-link .menu-text {
    color: var(--primary);
}

.header-menu .menu-nav>.menu-item .menu-submenu>.menu-subnav>.menu-item:hover:not(.menu-item-here):not(.menu-item-active)>.menu-link .menu-icon,
.header-menu .menu-nav>.menu-item .menu-submenu>.menu-subnav>.menu-item.menu-item-hover:not(.menu-item-here):not(.menu-item-active)>.menu-link .menu-icon {
    color: var(--primary);
}

.header-menu .menu-nav>.menu-item .menu-submenu>.menu-subnav>.menu-item:hover:not(.menu-item-here):not(.menu-item-active)>.menu-link .menu-text,
.header-menu .menu-nav>.menu-item .menu-submenu>.menu-subnav>.menu-item.menu-item-hover:not(.menu-item-here):not(.menu-item-active)>.menu-link .menu-text {
    color: var(--primary)
}

.header-menu .menu-nav>.menu-item .menu-submenu>.menu-subnav>.menu-item:hover:not(.menu-item-here):not(.menu-item-active)>.menu-link>.menu-arrow,
.header-menu .menu-nav>.menu-item .menu-submenu>.menu-subnav>.menu-item.menu-item-hover:not(.menu-item-here):not(.menu-item-active)>.menu-link>.menu-arrow {
    color: var(--primary);
}

.header-menu .menu-nav>.menu-item .menu-submenu>.menu-subnav>.menu-item:hover:not(.menu-item-here):not(.menu-item-active)>.menu-link .menu-icon.svg-icon svg g [fill],
.header-menu .menu-nav>.menu-item .menu-submenu>.menu-subnav>.menu-item.menu-item-hover:not(.menu-item-here):not(.menu-item-active)>.menu-link .menu-icon.svg-icon svg g [fill] {
    fill: var(--primary);
}

.header-menu .menu-nav>.menu-item .menu-submenu>.menu-subnav>.menu-item:hover:not(.menu-item-here):not(.menu-item-active)>.menu-link .menu-bullet.menu-bullet-dot>span,
.header-menu .menu-nav>.menu-item .menu-submenu>.menu-subnav>.menu-item.menu-item-hover:not(.menu-item-here):not(.menu-item-active)>.menu-link .menu-bullet.menu-bullet-dot>span {
    background-color: var(--primary);
}

.header-menu .menu-nav>.menu-item.menu-item-here>.menu-link .menu-icon i,
.header-menu .menu-nav>.menu-item.menu-item-active>.menu-link .menu-icon i,
.header-menu .menu-nav>.menu-item:hover:not(.menu-item-here):not(.menu-item-active) .menu-icon i,
.header-menu .menu-nav>.menu-item.menu-item-hover:not(.menu-item-here):not(.menu-item-active) .menu-icon i {
    color: rgba(147, 18, 15, 0.75);
}

.header .header-bottom {
    background-color: #F3F6F9;
}

.header .header-top .btn.btn-hover-transparent-white .svg-icon svg g [fill] {
    fill: #B5B5C3;
}

.header .header-top .btn.btn-hover-transparent-white:hover .svg-icon svg g [fill] {
    color: var(--primary)
}

.btn.btn-hover-transparent-white:hover:not(.btn-text):not(:disabled):not(.disabled) .svg-icon svg g [fill],
.btn.btn-hover-transparent-white:focus:not(.btn-text) .svg-icon svg g [fill],
.btn.btn-hover-transparent-white.focus:not(.btn-text) .svg-icon svg g [fill] {
    fill: var(--primary);
}

#kt_content {
    padding-bottom: 0;
}

#record-list .table td:first-child {
    width: 90px;
}

#record-list .table td:last-child {
    width: 120px;
}

.header .header-bottom {
    background-color: var(--dark);
}

#kt_subheader {
    background-color: #e8e8e8;
    position: relative;
}

#page-content {
    min-height: calc(100vh - 150px);
    padding-top: 1rem;
}

#tabs .nav-item {
    position: relative;
    text-align: center;
}

#tabs .nav-item+.nav-item {
    border-left: 1px solid #c0cedd;
}

#tabs .navi-text {
    margin: auto;
}

#tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: 50%;
    margin-left: -12px;
    border-width: 12px;
    border-color: transparent transparent #fff transparent;
    border-style: solid;
    transition: all .3s ease .25s;
    opacity: 0;
}

#tabs .nav-link:hover {
    color: var(--primary);
}

#tabs .nav-link.active {
    color: var(--primary);
    pointer-events: none;
}

#tabs .nav-link.active::after {
    opacity: 1;
    bottom: 0;
}

.swal2-container .swal2-html-container {
    max-height: unset;
}

.pin-input-group {
    display: flex;
    padding: 0.5rem;
}

.pin-input-group .box {
    width: 50px;
    height: 50px;
    aspect-ratio: 1/1;
    padding: 1rem;
    text-align: center;
    margin: 0 0.5rem;
    border-radius: 0.3rem;
    border: 1px solid #E4E6EF;
}

.pin-input-group .pin-input {
    text-align: center;
    line-height: 0;
    width: 100%;
    height: 100%;
    font-size: 3rem;
    border: 0;
    background-color: transparent;
    outline: none;
}

.initiate-service .btn {
    margin: 0;
}

.wallet-balance-summary {
    display: none;
    /* display:flex; */
    align-items: center;
    padding: 0.2rem 1rem;
    position: absolute;
    top: 0;
    right: 0;
}

.btn-pill i.la {
    margin-right: -0.7rem;
}

.spinner-holder,
.input-group .spinner-border {
    z-index: 10;
}

.floating-btn-widget {
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 3rem;
    z-index: 2000;
}

.floating-btn-widget .dropdown-menu {
    min-width: 350px;
}

.floating-btn-widget .nav.nav-tabs .nav-link {
    justify-content: center;
    padding-left: 2rem;
    padding-right: 2rem;
}

.floating-btn-widget .navi {
    display: flex;
    flex-wrap: wrap;

}

.floating-btn-widget .navi-item {
    width: calc(100% / 3);
    padding: 0.5rem;
}

.floating-btn-widget .navi-text {
    font-weight: 600;
    /* font-size:1.1rem !important; */
    margin-bottom: 1rem;
    border: 1px solid var(--light);
}

.floating-btn-widget .navi-link {
    flex-direction: column;
    white-space: nowrap;
}

.floating-btn-widget .navi-link .btn {
    padding: 0.4rem 0.75rem;
    width: 86px;
    height: auto;
    margin-bottom: 0.5rem;
}

.label.filter-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0.25rem;
}

.floating-btn-widget .btn.btn-circle {
    width: calc(1.5em + 1.65rem + 2px);
    height: calc(1.5em + 1.65rem + 2px);
    transition: .4s ease;
}

.floating-btn-widget .dropdown.show .btn.btn-circle {
    transform: rotate(135deg);
}

/* Bill Purchase */
.initiate-purchase .prepare-purchase {
    /* min-height:240px; */
}

.initiate-purchase .authorize-purchase {
    position: absolute;
    bottom: -1000px;
    left: 0;
    z-index: 100;
    background-color: #fff;
    width: 100%;
    transition: all .35s ease;
    opacity: 0;
    visibility: hidden;
    max-height: calc(100% - 20px);
    overflow: auto;
}

.initiate-purchase .authorize-purchase.show {
    bottom: 0;
    opacity: 1;
    visibility: visible;
    box-shadow: 0px -20px 11rem rgba(0, 0, 0, 0.5);
}

.initiate-purchase .authorize-purchase.show~.prepare-purchase {
    filter: blur(3px);
    transition: .3s ease .25s;
    pointer-events: none;
}

.pin-input-group.box-sm .box {
    width: 40px;
    height: 40px;
    padding: 0.5rem;
    margin: 0 0.35rem;
}

/* Payout */
.initiate-payout .prepare-payout {
    min-height: 240px;
}

.initiate-payout .authorize-payout {
    position: absolute;
    bottom: -1000px;
    left: 0;
    z-index: 100;
    background-color: #fff;
    width: 100%;
    transition: all .35s ease;
    opacity: 0;
    visibility: hidden;
    max-height: calc(100% - 20px);
    overflow: auto;
}

.initiate-payout .authorize-payout.show {
    bottom: 0;
    opacity: 1;
    visibility: visible;
    box-shadow: 0px -20px 11rem rgba(0, 0, 0, 0.5);
}

.initiate-payout .authorize-payout.show~.prepare-payout {
    filter: blur(3px);
    transition: .3s ease .25s;
    pointer-events: none;
}

.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--primary);
}

.nav.nav-pills.nav-primary .show>.nav-link .nav-text,
.nav.nav-pills.nav-primary .nav-link:hover:not(.active) .nav-text,
.nav.nav-pills.nav-primary .show>.nav-link,
.nav.nav-pills.nav-primary .nav-link:hover:not(.active) {
    color: var(--primary);
}

#kt_quick_user.offcanvas.offcanvas-right {
    max-width: 300px;
}

.blur-text * {
    filter: blur(5px);
    transition: .3s ease;
    pointer-events: none;
}

.copy-hidden-reference {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    color: transparent;
}

.header-menu .menu-nav>.menu-item>.menu-link .menu-text {
    color: #3F4254;
}

@media (max-width:576px) {
    .sticky-top {
        position: relative !important;
        top: 0 !important;
    }

    #kt_content {
        padding-bottom: 45px;
        /* padding-top:45px; */
    }
}

@media (max-width: 994px) {
    .floating-btn-widget {
        z-index: 1000;
    }

    .header-menu .menu-nav>.menu-item>.menu-link .menu-desc {
        display: block;
    }

    .header-mobile-fixed .content {
        padding-top: 55px;
    }

    #kt_subheader {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    a[data-reload] {
        order: 2;
    }

    .page-tabs {
        order: 3;
        position: absolute;
        top: 100%;
        z-index: 12;
        width: 100%;
        left: 0;
        overflow-x: auto;
        background-color: #e8e8e8;
        border-top: 1px solid #c0cedd;
        padding: 0 !important;
    }
}

@media (max-width:540px) {
    #kt_content {
        padding-bottom: 60px;
    }

    /* #kt_header {
        display: none;
    } */
    .header-menu .menu-nav>.menu-item>.menu-link .menu-desc {
        display: none;
    }

    .menu-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #fff;
        display: flex;
        justify-content: space-between;
        box-shadow: 0 0 0.3rem #E4E6EF;
        z-index: 1000;
        list-style-type: none;
        margin: 0;
        padding: 0 0 !important;
    }

    .menu-nav>.menu-item {
        margin: 0;
        width: calc(100% / 4);
    }

    .menu-nav>.menu-item+.menu-item {
        border-left: 1px solid #E4E6EF;
    }

    .menu-nav>.menu-item>.menu-link {
        /* display:none; */
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .menu-nav>.menu-item>.menu-link div {
        margin: 0 auto auto;
        opacity: .7;
    }

    .header-menu .menu-nav>.menu-item>.menu-link .menu-text {
        font-size: 0.8em;
    }

    .menu-nav>.menu-item>.menu-link .menu-icon {
        margin: auto;
    }

    .floating-btn-widget {
        bottom: 100px;
        margin: 0 1.5rem 0
    }
}

@media (min-width:992px) {
    #kt_header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
}

#kt_subheader {
    position: sticky;
    top: 0;
    z-index: 1000;
}

#kt_subheader {
    top: 59.5px;
    z-index: 100;
}

@media (max-width:1200px) {
    #kt_subheader {
        top: 55.5px;
    }
}

@media (max-width:678px) {
    #kt_subheader {
        top: 55px;
    }
}

.transaction-retry-trail .timeline.timeline-6 .timeline-item .timeline-label {
    width: 30px;
}

.transaction-retry-trail .timeline.timeline-6:before {
    left: 31px;
}


#filter-tabs {
    visibility: hidden;
    position: absolute;
    top: 0;
    z-index: -1;
}

#record-filter-form button[type="submit"] {
    width: 150px;
}

#record-filter-form button[type="reset"] {
    width: 100px;
}

#record-filter-form button[type="submit"] .la.la-filter {
    margin-right: 0;
}

#workspace-default-records {
    position: absolute;
    z-index: 100;
    visibility: hidden;
    bottom: -100%;
    opacity: 0;
    max-height: 600px;
    height: 90vh;
    background-color: #fff;
    box-shadow: 0 0 1000px #42424200;
    transition: bottom .25s ease-out .3s, all .35s ease-out;
}

#workspace-default-records.show {
    box-shadow: 0 0 1000px #42424299;
    visibility: visible;
    opacity: 1;
    bottom: 0;
    /* transition:bottom .35s ease-in,all .35s ease-in .3s; */
}

#workspace-default-records th {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 3;
}

#workspace-default-records th:not(:first-child),
#workspace-default-records td:not(:first-child) {
    text-align: center;
    vertical-align: middle;
}

#workspace-default-records .radio {
    display: inline-block;
}

/* Lockscreen */
#app-lockscreen{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:#ffffffcc;
    z-index:10000;
    visibility:hidden;
    opacity:0;
    backdrop-filter: blur(5px);
    display:flex;
    align-items:center;
    justify-content:center;
    transition: .35s ease-in-out;
}
body.lock-screen{
    overflow:hidden;
}
body.lock-screen #app-lockscreen{
    visibility:visible;
    opacity:1;
}
#app-lockscreen form{
    /* max-width:400px; */
    padding:1rem;
}
#app-lockscreen .card{
    border-radius:80px 0 0 80px;
}