@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
@import url('https://use.typekit.net/vww8kze.css');

*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html, body {
    font-family: 'proxima-nova-soft', Helvetica, Arial, sans-serif !important;
    background-color: #21358C !important;
    color: rgba(0,0,0,.65);
    font-family: 'proxima-nova-soft', Helvetica, Arial, sans-serif !important;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
}


body {
    margin: 0;
    min-height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

header {
    flex: 0 0 auto;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0, 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    /*font-size: 0.7vw;*/
    font-weight: bold;
    z-index: 1;
}

.navmenu {
    display: flex;
}

    .navmenu a {
        margin-right: 1rem;
        text-decoration: none;
        color: #000000;
    }

        .navmenu a:hover {
            color: #21358C;
        }

main {
    flex: 1 1 auto;
    background: url(../images/ntpol-bg.jpg);
    background-size: cover; /* <------ */
    background-repeat: no-repeat;
    background-position: center center;
    min-height: calc(100vh - 205px);
    width: 100%;
    margin-top: 75px;
    margin-bottom: 130px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.w-100 {
    width: 100% !important;
}

.page-title {
    height: 50px;
    margin-top: 0;
    width: 100%;
    background-color: rgb(33, 53, 140);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .page-title p {
        font-size: 1.2vw;
        line-height: normal;
        display: inline-block;
        margin: auto;
        font-weight: bold;
    }

.bgcontent90 {
    background-color: white;
    width: 90vw;
    margin-bottom: 25vh;
    overflow-y: auto;
}

.bgcontent80 {
    background-color: white;
    width: 80vw;
    margin-bottom: 25vh;
    overflow-y: auto;
}

.bgcontent70 {
    background-color: white;
    width: 70vw;
    margin-bottom: 25vh;
    overflow-y: auto;
}

.bgcontent60 {
    background-color: white;
    width: 60vw;
    margin-bottom: 25vh;
    overflow-y: auto;
}

.bgcontent50 {
    background-color: white;
    width: 50vw;
    margin-bottom: 25vh;
    overflow-y: auto;
}

.search-grid {
    margin-bottom: 10px;
    z-index: -1;
}

.dashboard-container {
    width: 100vw;
    font-size: 0.7vw;
}

    .dashboard-container .stats-container {
        display: flex;
        justify-content: space-around;
        padding: 10px;
        color: white;
        text-align: center;
    }

        .dashboard-container .stats-container .page-content-dashboard p {
            font-size: 1.2vw;
            font-weight: bold;
        }

        .dashboard-container .stats-container .page-content-dashboard h4 {
            font-size: 1vw;
            font-weight: normal;
        }

.list-unstyled {
    padding-left: 0;
    list-style: none;
}

footer {
    height: 125px;
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #f0f2f5;
    bottom: 0;
    left: 0;
    right: 0;
}

    footer .frow {
        width: 80%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    footer .row .col-1, .col-2 {
        width: 40%;
        text-align: center;
    }

    footer hr {
        width: 80%;
        border: 1px solid #21358C;
        margin: 0.5rem 0;
    }

    footer .footer-heading {
        font-size: 0.7vw;
        color: black;
        margin-bottom: 5px;
        text-transform: uppercase;
        font-weight: 600;
        letter-spacing: 1px;
        color: #21358C;
    }

    footer .copyright {
        height: 8px;
        color: black;
    }

    footer .feedback {
        color: white;
        padding: 10px 20px;
        border-radius: 4px;
        border-color: #46b8da;
    }

        footer .feedback a {
            text-align: center;
            justify-content: center;
            color: white;
        }

            footer .feedback a:hover {
                text-decoration: 2px;
            }

    footer a {
        color: rgba(0,0,0,.65);
    }

.footer .list-unstyled li a {
    color: rgba(0,0,0,.65);
}

footer .list-unstyled li a span {
    color: #21358C;
}

footer .list-unstyled a {
    color: rgba(0,0,0,.65);
}

footer .footer-menu-wrap {
    border-top: 1px solid #21358C;
    font-size: 12px;
    align-items: center;
    padding-top: 0.2rem !important;
    margin-top: 0.2rem;
}

footer .copyright a {
    color: rgba(0,0,0,.65);
}
/* Login Page Styles */

.logo-container {
    padding: 10px 40px 30px;
    background-color: white;
    margin-bottom: 30px;
    text-align: center;
}

    .logo-container h2 {
        color: darkslategrey;
        font-weight: bold;
        font-size: 1.4rem !important;
    }

#main-logo {
    height: 100px;
    width: 100px;
}

#login-box {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: proxima-nova-soft;
    margin-top: 100px;
}

    #login-box button {
        padding: 10px 60px;
    }

#login-msg {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

    #login-msg p {
        text-align: justify;
        width: 500px;
        font-size: 14px;
    }

    #login-msg h2 {
        width: 500px;
        font-size: 1.5rem !important;
        font-weight: bold;
    }

    #login-msg a {
        background-color: #21358C;
        color: white;
    }

a, .btn-link {
    color: #0366d6;
}

/* End Login Page Styles */
.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.header ul.navmenu {
    font-size: 0.7vw;
    line-height: 2.5vh;
}

    .header ul.navmenu li {
        justify-content: center;
        display: inline-block;
        display: -moz-inline-box;
        font-size: 0.7vw;
    }

        .header ul.navmenu li .active {
            color: #1890ff;
            border-bottom: 0.2vh solid #1890ff;
            padding-bottom: 0.2vh;
        }

        .header ul.navmenu li a:hover {
            display: inline-block;
            display: -moz-inline-box;
            color: #1890ff;
            text-decoration: none;
        }
a.navmenu-link {
    display: inline-block;
    font-weight: bold;
    cursor: pointer;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    line-height: 2.0;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.page-loading {
    position: absolute;
    top: 50%;
    left: 40%;
    float: none;
    display: flex;
    margin: 0 auto;
    justify-content: center;
    text-align: center;
}

.page-sub-title {
    background-color: rgb(244, 244, 244);
    font-size: 20px;
    font-weight: bold;
    color: black;
    height: 80px;
}

.tab-background {
    background-color: rgb(244, 244, 244);
}

.page-content {
    /* background-color: white;
    height: 100vh;*/
    padding: 50px 150px;
}

.mud-charts-gridlines-yaxis, .mud-charts-yaxis {
    display: none;
}

.table thead th, .table td {
    border-bottom: 1px solid #e8e8e8 !important;
}

.mud-table th {
    color: rgb(33, 53, 140) !important;
    font-weight: bold !important;
}

.table td {
    font-size: 16px;
}

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    background-color: #e6f7ff;
}

@media only screen and (min-width: 29.8125rem /*477px*/ ) {
    .ft-main {
        justify-content: space-around;
    }
}

@media only screen and (min-width: 77.5rem /*1240px*/ ) {
    .ft-main {
        justify-content: space-evenly;
    }
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.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: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        /*padding-left: 2rem !important;
        padding-right: 1.5rem !important;*/
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

.content-wrapper {
    background-color: white;
    margin: 0 auto;
    width: 50%;
}

    .content-wrapper #addResonButton {
        margin: 1em;
    }

    .content-wrapper #reasonGrid {
        margin: 1em;
    }

    .content-wrapper div.row {
        padding: 5px 0px;
    }

.tab-background {
    background-color: rgb(244, 244, 244);
}

.align-text-end {
    text-align: end;
    padding-right: 20px !important;
}

.padding-top {
    padding-top: 3px;
}

.paddingTop {
    padding-top: 8px !important;
}

.e-footer-content .e-input-group {
    width: 75%;
    float: left;
}


.e-dialog .e-dlg-header-content {
    background-color: #3f51b5;
    color: #fff;
}

    .e-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn {
        top: 5px;
        left: -11px;
    }

.e-dialog .e-dlg-header {
    position: relative;
    color: white;
}

.e-dialog .e-footer-content {
    padding: 15px;
}

.e-dialog .e-dlg-content {
    padding: 0;
}

.e-dialog .e-dlg-header-content {
    padding: 6px;
    color: white;
}

.e-open-icon::before {
    content: "\e782";
}

#template {
    display: inline-block;
    padding: 0px 10px;
    vertical-align: middle;
    height: 40px;
    line-height: 40px;
}

input {
    width: 75%;
    float: left;
}

.e-icon-settings.e-icons {
    float: left;
    position: relative;
    left: 14%;
    top: -33px;
}

.dialogContent .dialogText {
    font-size: 13px;
    padding: 5%;
    word-wrap: break-word;
    border-radius: 6px;
    text-align: justify;
    font-style: initial;
    display: block;
}

.e-dlg-header .e-icon-settings, .e-icon-btn {
    color: #fff;
}

.dialogContent .dialogText, .dialogContent .dialogText {
    background-color: #f5f5f5;
}

.e-dialog .e-footer-content {
    border-top: 0.5px solid rgba(0, 0, 0, 0.42);
}

.dialogContent {
    display: block;
    font-size: 15px;
    word-wrap: break-word;
    text-align: center;
    font-style: italic;
    border-radius: 6px;
    padding: 3%;
    position: relative;
    top: 25px;
}

.bootstrap .dialogContent {
    top: 7px;
}

.control-wrapper .e-control.e-dialog {
    width: 30%;
}

.e-dialog .e-dlg-header-content .e-icon-dlg-close {
    color: #fff;
}

.e-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn:hover,
.e-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn:focus {
    background-color: rgba(255,255,255, 0.10);
}

    .e-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn:active .e-icon-dlg-close,
    .e-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn:focus .e-icon-dlg-close,
    .e-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn:hover .e-icon-dlg-close {
        color: #fff;
    }

.e-dialog .btn-custom {
    height: 50px;
    width: 100%;
}

.p-button {
    height: 38px;
    min-width: 150px;
}



.e-spinner-pane.e-customClass .e-spinner-inner .e-spin-material {
    stroke: white;
}


.navlogo {
    display: flex;
    flex-direction: row;
    align-items: center;
    /*border-top: 5px solid white;*/
}

    .navlogo img {
        min-height: 2.5vh;
        max-height: 4.5vh;
        min-width: 3.0vw;
        max-width: 3.0vw;
        padding-bottom: 5px;
    }

    .navlogo .navtitle {
        padding-left: 8px;
        padding-right: 8px;
        font-weight: bold;
        color: #001039;
        margin-top: 50vh;
    }

.fTab {
    position: absolute;
    width: 50px;
    height: 50px;
    right: 10px;
    bottom: 10px;
    padding: 1em;
    align-items: center;
    justify-content: center;
    background-color: white;
    -webkit-transition: bottom 0.5s;
    transition: bottom 0.5s;
}

    .fTab span {
        color: #21358C;
        font-weight: 600;
    }

    .fTab.active {
        bottom: 300px;
    }

        .fTab.active + footer {
            max-height: 300px;
        }

#fbButton {
    position: fixed;
    bottom: 5px;
    right: 10px;
}
