﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');


.row-bg {
    background-color: #000000 !important;
}

.row-navhelper {
    background-color: whitesmoke;
    height: 1.75rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: sticky;
    top: 3.5rem; /*just below the top navbar*/
    z-index: 1000;
    margin-left: 200px;
}

.navhelpertext {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.clienttext {
    border-radius: 5px;
    padding: 2px;
    margin-top: 1px;
    color: white;
    background-color: black;
}

.clienttext {
    margin-top: 1px;
}

.radio-controls {
    margin: 5% 0 10% 20%;
    width: 200px;
}

html, body {
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.top-button-bar {
    z-index: 1000;
    position: fixed;
    background-color: aliceblue;
    margin-top: 0;
    margin-left: 0;
    width: 100%;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.margin-navmenu {
    margin-top:3.5rem; /*just below the app bar*/
}

.workarea {
    display: flex;
    flex-direction: row;
    justify-content: left;
    margin-left: 0px;
    height: 100%;
}

.logo {
    float: left;
    transform: scale(0.5);
    border-radius: 50%;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        /*border-bottom: 1px solid #d6d5d5;*/
        /*justify-content: flex-end;*/
        z-index: 1000;
    }

        .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%);*/
    background-color: #393939;
    position: fixed;
    height: 100%;
}

    .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.1rem;
    }

        .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: 2rem;
            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;
    margin-left: 250px
}

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

.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;
    }

@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 {
        flex: 0 0 225px; /*do not grow, do not shrink, width 250px*/
        height: 100vh; /*fill view port vertically */
        padding-top: 1.1rem;
        position: fixed;
        margin-top: -1.75rem; /*aligns the top with the navhelper row inserted in layout for showing navigation help*/
        /*border:1px red;*/
        /*top: 0;*/
        /*overflow-y: scroll;*/
        
    }

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

    .main > div {
        padding-left: 0rem !important;
        padding-right: 0rem !important;
    }

    .navbar-toggler {
        display: none;
    }

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




.forlbl5 {
    width: 20% !important;
}

.span5 {
    display: flex;
    width: 100%;
    padding: 10px;
}

.span3 {
    display: flex;
    width: 33%;
    padding: 10px;
}

label.col-form-label.forinp {
    width: 80% !important;
}

select.form-control.forlbl5 {
    width: 20% !important;
}

select.formInp {
    width: 10%;
    padding: 0px;
    background-color: #f9f9f9;
    margin: 4px 0;
    box-sizing: border-box;
    border: none;
    border-bottom: 2px solid #405080;
}

input.formInp {
    width: 18%;
    padding: 0px;
    background-color: #f9f9f9;
    margin: 4px 0;
    box-sizing: border-box;
    border: none;
    border-bottom: 2px solid #405080;
}

.h5head {
    padding: 10px;
}

.forlbl {
    width: 40% !important;
}

.forinp {
    width: 80% !important;
}

.span4 {
    display: flex;
    width: 50%;
    padding: 10px;
}

.lbl25 {
    width: 25% !important;
}

.inp25 {
    width: 25% !important;
}

.inp60 {
    width: 60% !important;
}

.inp20 {
    width: 20% !important;
}

.boxs {
    width: 100%;
    border: 2px solid #899292;
}

span.boxsCont {
    margin-left: 50px;
    margin: 0px 0px 0px 25px;
    display: table;
    margin-top: -15px;
    background-color: #f9f9f9;
    padding: 0px 10px 0px 10px;
    font-size: 20px;
    font-weight: bold;
}

/*css classes for Syncfusion tab control. see: https://blazor.syncfusion.com/documentation/tabs/style/*/

.e-tab .e-tab-header .e-toolbar-item .e-tab-text,
.e-tab .e-tab-header .e-toolbar-item .e-tab-wrap .e-tab-icon {
    font-size: 1rem;
}

.e-tab .e-content .e-item {
    color: #a78515;
    font-size: 1rem;
}

/*used in ClaimsRegistration2 component to break flex-row lines! see https://tobiasahlin.com/blog/flexbox-break-to-new-row/*/
.break {
    flex-basis: 100%;
    height: 0;
}

.border-5 {
    border-width: 5px !important;
}

.border-4 {
    border-width: 4px !important;
}

.border-3 {
    border-width: 3px !important;
}

.border-2 {
    border-width: 2px !important;
}

.border-1 {
    border-width: 1px !important;
}

.border-gray-1 {
    border: 1px solid whitesmoke;
}

.border-gray-2 {
    border: 2px solid whitesmoke;
}

.border-gray-3 {
    border: 3px solid whitesmoke;
}

.border-gray-4 {
    border: 4px solid whitesmoke;
}

.border-gray-5 {
    border-left: 5px solid whitesmoke;
    border-right: 5px solid whitesmoke;
    border-bottom: 5px solid whitesmoke;
}

.enlarge {
    transform: scale(1.5);
}


/* hover effect for div or label*/
/*https://stackoverflow.com/questions/3359390/how-can-i-activate-a-css-style-for-a-label-when-hovering-over-the-associated-che */
.graywhover {
    background-color: lightgray;
}

    .graywhover:hover {
        background-color: darkgray;
    }



/*SfDialog styling from Syncfusion site*/
/* uncomment to make dlg black
.e-dialog .e-dlg-header {
    color: white;
    font-size: 20px;
    font-weight: normal;
}
*/



/* uncomment to make dlg black
.e-dialog .e-dlg-content {
    color: white;
    font-size: 10px;
    font-weight: normal;
    line-height: normal;
    background-color: black;
}
*/


.e-dialog.e-control.e-popup, .e-dialog.e-control.e-popup .e-dlg-header-content {
    /*background-color: #d9edf7;*/
    /*background-color: black; uncomment to make dlg black*/
}

.e-dialog .e-footer-content {
    /*background-color: black; uncomment to make dlg black*/
}

.dialogContent {
    /*display: block;*/
    /*font-size: 15px;*/
    /*word-wrap: break-word;*/
    /*text-align: center;*/
    /*font-style: italic;*/
    /*border-radius: 6px;*/
    /*padding: 1%;*/
    /*position: relative;*/
    /*top: 25px;*/
    /*background-color: black; from this style, only uncomment this line to make dlg black*/
}

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

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.dot {
    height: 0.5rem;
    width: 0.5rem;
    margin-right: 0.2rem;
    border-radius: 50%;
    display: inline-block;
    color: red;
    background-color: red;
    animation: blink 3s infinite;
}

    .dot:nth-child(1) {
        margin-left: 0.2rem;
    }

    .dot:nth-child(2) {
        color: blue;
        background-color: blue;
        animation-delay: 1000ms;
    }

    .dot:nth-child(3) {
        color: green;
        background-color: green;
        animation-delay: 2000ms;
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

.treeview-margin-bottom {
    padding-bottom:100px;
}

