@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

.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;
            }

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.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: 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;
    }


/* Added By CT */


.angle-down {
    position: absolute;
    top: 11px;
    right: 10px;
}

.select-content {
    background: #E0F2FF;
    border-radius: 5px;
}

.width-25 {
    width: 25px;
}

.navmenu-img-width {
    width: 23px;
    margin: 18px 0 0 15px;
}

.navmenu-color {
    color: #0085FF;
}

.navmenu button {
    min-height: 60px;
}

.mud-drawer {
    margin-left: 15px;
    padding-top: 2px;
}

    .mud-drawer.mud-drawer-responsive, .mud-drawer.mud-drawer-persistent {
        height: calc(100vh - -3px) !important;
    }

.mud-main-content {
    margin-right: 15px !important;
    padding-top: 0px !important;
    margin-right: 15px;
    height: calc(100vh - 89px);
    border: 1px solid #0085FF;
    border-left: none;
    position: relative;
    top: 77px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 3px;
    margin-top: 2px;
}

.mud-elevation-2 {
    box-shadow: none !important;
}

.report-filter {
    position: relative;
    min-height: 50px;
    border-bottom: 1px solid #0085FF;
}

.preview {
    position: absolute;
    right: 0;
    bottom: 7px;
    padding: 5px 10px;
    background: #0085FF;
    border-radius: 5px;
    box-shadow: -2px 5px 4px -2px rgba(0,0,0,0.28);
}

.favouriate_img {
    width: 23px;
    height: 23px;
}

.preview-content {
    position: absolute;
    left: 15px;
    right: 0px;
    text-align: center;
    bottom: 30px;
}

.common-btn {
    background: #0085FF;
    color: #FFFFFF;
    border-radius: 7px;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.bottom-10 {
    bottom: 10px;
}

.bottom-10 {
    bottom: 14px;
}

.filter-lbl {
    min-width: 50px;
    margin: auto;
    padding-top: 7px;
    font-size: 13px;
    font-weight: 500;
}

.filter-icon {
    padding: 5px 12px;
    border: 1px solid #7EB9EE;
    border-radius: 5px;
    background: #E0F2FF;
    margin-right: 15px;
    width: 50px;
}

.filter-content {
    margin: 15px;
    padding: 0 15px;
}

.filter-layout {
    position: fixed;
    z-index: 2000;
    background-color: var(--mud-palette-drawer-background);
    width: 100%;
}

.filter-content-view {
    /*border: 1px solid #0085FF;*/
    border-radius: 5px;
    background: #d4e5ff;
    padding: 5px;
}

    .filter-content-view .inputstyle {
        height: 37px;
        border: 1px solid #7EB9EE;
        outline: none;
        border-radius: 5px;
        padding: 10px;
        background: #E0F2FF;
    }

.filter-selector {
    border: 1px solid #7EB9EE;
    border-radius: 5px;
    height: 35px;
    background: transparent;
    width: 100%;
    text-align: left;
    appearance: none;
    padding: 5px 28px 5px 10px;
    z-index: 10;
}

    /*.guest-content::before {
    content: "\f078";
    background: red;
    color: gray;
    font-family: 'Font Awesome 5 Free';
}*/
    .filter-selector:focus-visible {
        outline: 1px solid #7EB9EE !important;
        border: none !important;
    }

.mud-picker-inline.mud-picker-input-button .mud-input .mud-input-root {
    text-align: center;
}

.filter-bg-gray {
    background: #e3e0e0;
}


.mud-navmenu {
    padding-bottom: 100px;
    border: 1px solid #0085FF;
    border-top-left-radius: 5px;
    /*height: calc(100% - 118px);*/
    background: #F6FBFF;
    /*overflow: auto;*/
    border-bottom-left-radius: 3px;
}

.mud-nav-group .mud-navmenu {
    padding-bottom: 0px;
    border: 0;
}

.mud-elevation-2 {
    box-shadow: none;
}

.divider-hr {
    position: fixed;
    z-index: 1999;
    background-color: transparent;
    width: 100%;
    top: 76px;
    padding-top: 2px;
}

.hr-line {
    margin: 0 17px;
    border: 1px solid #0085FF;
    border-bottom: 0;
}

.mud-drawer-content .mud-button-root {
    width: 50px;
    position: absolute !important;
    right: 0;
    z-index: 999;
}

#confirm {
    display: none;
    width: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.5);
}

.alertdisplay {
    border: 1px solid;
    position: absolute;
    width: 250px;
    left: 50%;
    margin: 0 0 0 -110px;
    padding: 25px 25px 22px;
    text-align: center;
    top: 30%;
    background: #ffffff;
    border-radius: 5px;
}

.api-message {
    padding-bottom: 20px
}

.alert-btn {
    background: #0085FF;
    color: #FFFFFF;
    margin-top: 15px;
}

.mud-container {
    max-width: 100% !important;
}

.custom-menu-padding {
    padding-top: 20px;
    height: calc(100% - 90px);
    overflow: auto;
}

.mud-drawer-close-persistent-left:not(.mud-drawer-open-persistent-right) .mud-main-content {
    width: calc(100% - 85px);
    margin: 0 auto;
    transition: margin 225ms cubic-bezier(0,0,.2,1) 0ms;
}

.mud-drawer.mud-drawer-responsive.mud-drawer-pos-left.mud-drawer--closed, .mud-drawer.mud-drawer-persistent.mud-drawer-pos-left.mud-drawer--closed {
    left: 0 !important;
    width: 58px;
}

.modal {
    z-index: 3000;
    background: rgba(0, 0, 0, 0.5);
}

.modal-fullscreen {
    margin: 15px;
    max-width: none;
}
    /*.modal-fullscreen .modal-content {
        height: auto;
    }*/
    .modal-fullscreen .modal-body {
        overflow-y: auto;
    }

#iframeId iframe {
    height: calc(100vh - 120px) !important;
}

.modal-body .card {
    margin-bottom: 0;
}

#iframeId iframe {
    min-height: 530px;
    height: auto;
}

.p-10 {
    padding: 10px !important;
}

.padb-5 {
    padding-bottom: 5px !important;
}

.padleft-15 {
    padding-left: 15px !important;
}

.padright-15 {
    padding-right: 15px !important;
}

.filter-view-datepicker {
    margin-top: 2px !important;
}

.mud-input-control {
    margin-top: 0px !important;
}

.loader {
    position: relative;
    top: 50%;
    left: 50%;
    z-index: 999999999;
    width: 3.5rem;
    height: 3.5rem;
    border: 0.35em solid currentColor;
    border-right-color: transparent;
}

.loader-position {
    position: fixed;
    top: 0;
    bottom: 0;
    width: calc(100% - 210px);
    right: 15px;
}


@media (max-width:1920px) and (min-width: 992px) {
    .mud-drawer-fixed {
        top: 75px;
    }
}
.display-daterate {
    display: none;
}
.sec-daterate {
    display:none;
}

@media (min-width: 1279px) {
    .display-daterate {
        display:block;
    }
    .sec-daterate {
        display: none;
    }
}
@media (max-width:1279px) and (min-width:320px){
    .sec-daterate {
        display: block;
    }
}


@media (max-width: 992px) {
    .mud-drawer-fixed {
        top: 112px;
    }
    .custom-menu-padding {
        height: calc(100% - 125px);
    }
    .mud-main-content {
        height: calc(100vh - 124px);
        top: 114px;
    }

}
/* End Added By CT */
@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;
    }
}
