@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;
}
a.goto_signup, a.goto_signin, a#forget_pass {
    cursor: pointer;
    color: #2222da !important;
    font-weight: bold;
}
.main {
    flex: 1;
}
.guarantor_type1.bg_check {
    position: relative;
}
form.update_password > div {
    margin-bottom: 5px;
    display: flex;
    flex-flow: column;
}

    form.update_password > div > label {
        font-size: 12px;
        margin: 0;
    }

    form.update_password > div input {
        min-width: 298px;
        border: 1px solid #929292;
        padding: 2px;
        border-radius: 3px;
    }
    .guarantor_type1.bg_check:after {
        content: "Processing Fees is not collected";
        position: absolute;
        width: calc(100% + 50px);
        height: calc(100% - 76px);
        top: 0;
        left: -25px;
        background: #525050ab;
        color: #fff;
        text-transform: uppercase;
        font-size: 26px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
.opt_update > input[type=number] {
    letter-spacing: 20px;
}
.main .top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
}

.main .top-row > a {
    margin-left: 1.5rem;
}

.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;
}
.search_v_span > div span {
    background: yellow;
    height: 39px;
    padding: 10px;
    position: relative;
    right: -8px;
    border-radius: 6px 0 0 6px;
    border: 1px solid #bfbfbf !important;
    box-sizing: border-box;
}
.sidebar .oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}
.pdf_main_view {
    display: flex;
    align-items: center;
}
.rec_search {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-top: 16px;
    flex-flow: row wrap;
    padding: 5px 17px 17px;
    background: #f3f3f3;
    border-radius: 5px;
    border: 1px solid #e2e2e2;
}

    .rec_search i {
        font-size: 18px;
        color: #3f6ad8;
    }


    .rec_search > button {
        border: 1px solid #3f6ad8 !important;
        background: #3f6ad8 !important;
        color: #fff !important;
    }
    .rec_search > div {
        display: flex;
        flex-flow: column;
    }

        .rec_search > div input[type=number], .rec_search > div input[type=date], .rec_search > div input[type=text], .rec_search > div select {
            border: 1px solid;
            padding: 9px;
            border: 1px solid #bfbfbf !important;
            border-radius: 4px;
        }

        .rec_search > div label {
            color: #3f6ad8;
            margin: 1px;
        }

        .rec_search > div.search_v_span label {
            padding-left: 30px;
        }



.pdf_view {
    padding: 5px 5px;
    border: 1px solid #fff;
    margin-top: 0;
    border-radius: 2px;
    color: #fff;
    transition: all ease .5s;
    margin-right: 5px;
    cursor:pointer;
}

    .pdf_view:hover {
        color: #16aaff !important;
        background: white;
        text-decoration: none;
    }
.nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.nav-item:first-of-type {
    /*padding-top: 1rem;*/
}

.nav-item:last-of-type {
    padding-bottom: 1rem;
}

.nav-item a {
    color: #d7d7d7;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
}

.nav-item a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.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]) {
    background: rgba(139, 195, 74, .28);
    border-color: #28c128;
}

.invalid {
    background: rgba(255,0,0,.28);
}

.validation-message {
    color: red;
}

@media (max-width: 768px) {
    .main .top-row {
        display: none;
    }
    .input_area.line {
    flex-flow: column;
    gap: 22px;
}


.input_area > input[type= button] {
    /* width: 100%; */
    box-sizing: border-box;
}

.rp_balance>div p {
    font-size: 17px;
    line-height: 17px;
}

.rp_balance>div label {
    font-size: 12px !important;
}

.rp_result {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.input_area {
    flex-flow: column;
}


.rp_result >div {
    /* border: 10px solid; */
    /* margin: 10px; */
    box-sizing: border-box;
    width: 100% !important;
    min-width: 290px;
}



.rp_balance {max-width: 350px;}


.benificiary_payment {
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.benificiary_payment button {
    width: 100% !important;
}

.input_area > input[type= button] {
    width: 100% !important;
}
.p_wrpper {
    flex-flow: column;
}

.billing_detail {
    padding: 0 20px;
}



}

@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;
    }

}

/* spining button */

.fas.spinning {
    animation: spin 1s infinite linear;
    -webkit-animation: spin2 1s infinite linear;
}

@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }

    to {
        transform: scale(1) rotate(360deg);
    }
}

@-webkit-keyframes spin2 {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

.fa-left {
    margin-right: 7px;
}

.btn.search {
    width: 10rem;
}
.activerow td {
    background: #f8e3e4 !important;
}
#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;
    }


.my_confirmLink {
    width: 80%;
    display: flex;
    justify-content: right;
  
}

    .my_confirmLink > a {      
        text-transform: none;
        cursor:pointer;
    }

.accessDiv {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 10px;
    width: 250px;
    );
}