@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('https://fonts.googleapis.com/css2?family=Quicksand&display=swap');

html {
    scroll-behavior: smooth;
    --white: #fff;
    --black: #000;
    --black1: #202020;
    --brxRed: #DE3233;
    --dark-grey1: #232323;
    --dark-grey2: #404040;
    --light-grey1: #4b4b4b;
    --light-grey2: #818181;
    --yellow: #ffc107;
}

html, body {
    font-family: 'Quicksand', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
body {
    background: var(--black1);
    color: var(--white);
    overflow-x: hidden;
}
h1:focus {
    outline: none;
}

h3{
    color: white;
}

a, .btn-link {
    color: #0071c1;
}

.btn{
    padding: 0.3rem !important;
}

.btn-info {
    color: #fff;
    background-color: #4b4b4b;
    border-color: #4b4b4b;
    float: right;
    margin: 3%;
}

.btn-primary {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
    float: right;
    margin: 3%;
}

#noDownloadsText {
    text-align: center;
    font-size: 20px;
    padding: 30px;
}

.content {
   
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 1.6rem 1.25rem 1.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: rgb(145 37 65);
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
        color: red;
        text-decoration: none;
        color: rgb(145 37 65);
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92Z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uODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }


/* Login Screen */

.center-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.login-container {

}

#login-image {
    height: 700px;
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.form {
   
}

label {
    color: #efefef;
    display: block;
    font-size: 20px;
    height: 16px;
    margin-top: 20px;
    margin-bottom: 5px;
}

input {
    background: #ffffff1f;
    border: 0;
    color: #f2f2f2 !important;
    font-size: 20px;
    height: 45px;
    line-height: 30px;
    width: 100%;
    margin-top: 15px;
    border: 2px solid #dfdfdf;
}

    input::-moz-focus-inner {
        border: 0;
    }

#submit {
    color: white;
    margin-top: 40px;
    transition: color 300ms;
    background: #c63039;
}

    #submit:hover {
        box-shadow: 0 0 10px 2px #ffffff30;
    }

.validation-error {
    color: #c63039;
    margin-top: 5px;
    display: none;
}


.chartReport {
    width: 100%;
    height: auto;
    background: var(--light-grey1);
    border-radius: 6px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}


/* Navbar section */

.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: var(--brxRed);
    height: 50px;
    /*border-radius: 5px;*/
}

.nav {
    width: 100%;
    height: 5em;
    /*    position: fixed;*/
    text-align: right;
   
    display: block;
}

    .nav > .logo {
        float: left;
        width: auto;
        height: auto;
        padding: 1em 0 0 4em;
    }

        .nav > .logo > a > img {
            width: 6em;
            height: auto;
        }


    .nav > div.main_list {
        float: right;
    }

        .nav > div.main_list > ul {
            width: 100%;
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
        }

            .nav > div.main_list > ul > li {
                width: auto;
                padding: 2em 2em 0 0;
            }

                .nav > div.main_list > ul > li > a {
                    text-decoration: none;
                    color: #fff;
                    font-size: 1.3em;
                    overflow: hidden;
                }

                    .nav > div.main_list > ul > li > a:hover {
                        text-decoration: none;
                    }

                    .nav > div.main_list > ul > li > a::before {
                        content: "";
                        position: absolute;
                        width: 100%;
                        height: 2px;
                        bottom: 0;
                        left: 0;
                        background: var(--white);
                        visibility: hidden;
                        border-radius: 5px;
                        transform: scaleX(0);
                        transition: .25s linear;
                    }



                    .nav > div.main_list > ul > li > a:hover::before, .nav > div.main_list > ul > li > a:focus::before {
                        visibility: visible;
                        transform: scaleX(1);
                    }

/* Media qurey section */

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .container {
        margin: 0;
    }
}

@media screen and (max-width:890px) {

    .nav {
        height: 3.4em;
    }

    .navbar {
        width: 103%;
    }

    .navTrigger {
        display: block !important;
        width: 25px;
        height: 18px;
    }

    .nav div.logo {
        margin-left: -35px;
    }

    .nav > .logo > a > img {
        width: 3.5em;
    }

    .nav div.main_list {
        width: 80%;
        height: 0;
        overflow: hidden;
    }

    .nav div.show_list {
        height: 66vw;
        display: none;
        margin-top: 7px;
    }

    .nav div.main_list ul {
        flex-direction: column;
        width: 100%;
        height: 100vh;
        right: 0;
        left: 0;
        bottom: 0;
        /*background: linear-gradient( 200deg, var(--black), var(--baby-blue) );*/
        /*same background color of navbar*/
        background-position: center top;
    }

        .nav div.main_list ul li {
            width: 100%;
            text-align: right;
        }

    .nav > div.main_list > ul > li > a {
        text-align: center;
        width: 100%;
        font-size: 1em;
    }

    .nav div.media_button {
        display: block;
    }

    #login-image {
        height: 600px;
        position: absolute;
        top: 30%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: -1;
    }
}

.render-body {
    width: 100%;
    overflow-x: hidden;
}


/* Animation */

.navTrigger {
    cursor: pointer;
    width: 25px;
    height: 20px;
    margin: auto;
    position: absolute;
    right: 30px;
    top: 0;
    bottom: 0;
    display: none;
}

    .navTrigger i {
        background-color: #fff;
        border-radius: 2px;
        content: '';
        display: block;
        width: 100%;
        height: 4px;
    }

        .navTrigger i:nth-child(1) {
            -webkit-animation: outT 0.8s backwards;
            animation: outT 0.8s backwards;
            -webkit-animation-direction: reverse;
            animation-direction: reverse;
        }

        .navTrigger i:nth-child(2) {
            margin: 5px 0;
            -webkit-animation: outM 0.8s backwards;
            animation: outM 0.8s backwards;
            -webkit-animation-direction: reverse;
            animation-direction: reverse;
        }

        .navTrigger i:nth-child(3) {
            -webkit-animation: outBtm 0.8s backwards;
            animation: outBtm 0.8s backwards;
            -webkit-animation-direction: reverse;
            animation-direction: reverse;
        }

    .navTrigger.active i:nth-child(1) {
        -webkit-animation: inT 0.8s forwards;
        animation: inT 0.8s forwards;
    }

    .navTrigger.active i:nth-child(2) {
        -webkit-animation: inM 0.8s forwards;
        animation: inM 0.8s forwards;
    }

    .navTrigger.active i:nth-child(3) {
        -webkit-animation: inBtm 0.8s forwards;
        animation: inBtm 0.8s forwards;
    }

@-webkit-keyframes inM {
    50% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes inM {
    50% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes outM {
    50% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes outM {
    50% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes inT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }

    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }

    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes inT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(9px) rotate(0deg);
    }

    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes outT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }

    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }

    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes outT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(9px) rotate(0deg);
    }

    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes inBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }

    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }

    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes inBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-9px) rotate(0deg);
    }

    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

@-webkit-keyframes outBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }

    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }

    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes outBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-9px) rotate(0deg);
    }

    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

/************** STATS STYLES *****************/

.stat-tabs {
    margin: 15px 0 15px 25px;
    background: var(--dark-grey1);
    height: fit-content;
    padding: 15px 0;
    border-radius: 5px;
}

.tab-link {
    border-left: 2px solid #de3233;
    background: var(--black1);
    display: block;
    padding: 1rem 1rem;
    margin: 7px 0;
}

    .tab-link:hover {
        background: none;
        border-left: 4px solid #de3233;
        transition: border-left linear 0.2s;
    }

.active {
    border-left: 4px solid #de3233;
}

.tab-button {
    color: white;
    background: none;
    border: none;
}

.main-content {
    padding: 2rem;
    background: var(--dark-grey2);
    margin: 15px 0 15px 25px;
    border-radius: 5px;
}

.graph-title {
    background: var(--light-grey2);
    padding: 12px 15px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 0;
    color: var(--white);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.mtop-2{
    margin-top: 3rem;
}

tr {
    color: var(--white)!important;
    border-bottom: 1px solid var(--light-grey1);
}

    tbody > tr:hover {
        background: #de323324;
        transition: background linear 0.1s;
    }

    tbody > tr > td:last-child{
            text-align: center;
            color: #ffc107;
    }

        tbody > tr > td:last-child:hover {
            color: var(--yellow);
            cursor: pointer;
        }
.loader {
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px dashed var(--brxRed);
    width: 60px;
    height: 60px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.chartLoader {
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px dashed var(--yellow);
    width: 60px;
    height: 60px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
}

.activeTab {
    background: rgb(23,14,14) !important;
    background: linear-gradient(270deg, transparent 0%, rgba(213,40,40,1) 100%, rgba(121,9,9,1) 100%, rgba(121,9,9,1) 100%) !important;
}

#chartHolder {
    margin-right: calc(var(--bs-gutter-x) * -.02);
    margin-left: calc(var(--bs-gutter-x) * -.02);
    background-color: #818181;
}

#downloadGraphDataButton {
    float: right;
    margin: 3%;
}

#downloadGraphDataPdfButton {
    float: right;
    margin: 3%;
    color:white;
}

.chartLoader {
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-align: center;
    color: red;
}

    .chartLoader span {
        display: inline-block;
        margin: 0 -0.125em;
        animation: chartLoader 0.7 infinite alternate;
    }

        .chartLoader span:nth-child(2) {
            animation-delay: 0.1s;
        }

        .chartLoader span:nth-child(3) {
            animation-delay: 0.2s;
        }

        .chartLoader span:nth-child(4) {
            animation-delay: 0.3s;
        }

        .chartLoader span:nth-child(5) {
            animation-delay: 0.4s;
        }

        .chartLoader span:nth-child(6) {
            animation-delay: 0.5s;
        }

        .chartLoader span:nth-child(7) {
            animation-delay: 0.6s;
        }

.custom-select {
    padding-top: 2%;
}

    .custom-select select {
        background-color: #0563af;
        color: white;
        padding: 0.75rem 0.75rem;
        border: none;
        font-size: 16px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
        -webkit-appearance: button;
        appearance: button;
        outline: none;
        margin: 3%;
        border-radius: 0.25rem;
    }
    .custom-select:hover::before {
        color: rgba(255, 255, 255, 0.6);
        background-color: rgba(255, 255, 255, 0.2);
    }

    .custom-select select option {
        padding: 35px;
    }


@keyframes chartLoader {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0.8);
    }
}

@media (max-width: 800px){
    .chartLoader {
        top: 59%;
        left: 50%;
    }

}

#failedLogin {
    color: red;
    font-weight: 700;
    font-size: 17px;
    display: flow-root;
    padding-top: 10px;
}

#downloadModal{

}

#downloadModal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
    #downloadModal > .modal-content {
        background-color: #131313;
        margin: auto;
        padding: 20px;
        width: 30%;
        text-align: center;
    }

.middle {
    
}

.bar {
    width: 10px;
    height: 70px;
    background: #fff;
    display: inline-block;
    transform-origin: bottom center;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    /*   box-shadow:5px 10px 20px inset rgba(255,23,25.2); */
    animation: loader 1.2s linear infinite;
}

.bar1 {
    animation-delay: 0.1s;
}

.bar2 {
    animation-delay: 0.2s;
}

.bar3 {
    animation-delay: 0.3s;
}

.bar4 {
    animation-delay: 0.4s;
}

.bar5 {
    animation-delay: 0.5s;
}

.bar6 {
    animation-delay: 0.6s;
}

.bar7 {
    animation-delay: 0.7s;
}

.bar8 {
    animation-delay: 0.8s;
}

@keyframes loader {
    0% {
        transform: scaleY(0.1);
        background:;
    }

    50% {
        transform: scaleY(1);
        background: #dc3545;
    }

    100% {
        transform: scaleY(0.1);
        background: transparent;
    }
}

#downloadText {
    color: #fefefe;
    font-size: 20px;
    font-weight: 700;
}

.rz-breadcrumb{
    margin-bottom: 2%;
}
.rz-badge-primary {
    background-color: #f03449 !important;
}

.rz-link {
    color: #ffffff;
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-transform: none;
    white-space: nowrap;
    border-radius: 0;
    letter-spacing: 0;
    background-color: #f03449 !important;
    border-radius: 4px;
}

a:link{
    text-decoration: none;
}
a:hover{
    text-decoration:none;
    text-decoration-color: #ffffff;
    color: #fff;
}
text.rz-tick-text {
    fill: #fff;
}

/**********************/
/** DASHBOARD CARDS **/
/**********************/

#card1 {
    border-radius: 6px;
    height: 130px;
    padding: 25px;
    background-image: url('../assets/cardbg1.jpg');
    background-size: cover;
    box-shadow: 0 0 10px 0 #2a2a2a;
}

#card2 {
    background: red;
    border-radius: 6px;
    height: 130px;
    padding: 25px;
    background-image: url('../assets/cardbg3.jpg');
    background-size: cover;
    box-shadow: 0 0 10px 0 #2a2a2a;
}
#card3 {
    border-radius: 6px;
    height: 130px;
    padding: 25px;
    background-image: url('../assets/cardbg2.jpg');
    background-size: cover;
    box-shadow: 0 0 10px 0 #2a2a2a;
}

.rz-chart-tooltip-content {
    background: #4e4e4eb5 !important;
    padding: 12px;
}

    .rz-chart-tooltip-content > label {
        color: rgb(239, 239, 239);
        display: block;
        font-size: 17px;
        height: 16px;
        margin-top: 0;
        margin-bottom: 5px;
    }

    .rz-chart-tooltip-content > span {
        color: rgb(239, 239, 239);
        display: block;
        font-size: 17px;
        height: 16px;
        margin-top: 0;
        margin-bottom: 5px;
    }

.rz-chart-tooltip-content > div {
    color : #fff;
}

.rz-axis-title > text {
    fill: #fff
}

.rz-legend-right {
    right: -20px !important;
}