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

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

h1:focus {
    outline: none;
}

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

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

.content {
    padding-top: 1.1rem;
}

/*.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}
*/
.invalid {
    outline: 1px solid red;
    padding: 5px 10px 0 10px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -ms-border-radius: 6px;
    border-radius: 6px;
}

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

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

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

.hoversection:hover {
    background: #e1e1e1;
    box-shadow: 0 0 0 2px #d0d0d0;
    /*    padding: 5px 10px 0 10px;*/
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -ms-border-radius: 6px;
    border-radius: 6px;
    /*border: transparent solid 1px;*/
}

.box-finished {
    width: 160px;
    height: 160px;
    background-color: #deebdd;
    background-image: linear-gradient(315deg, #deebdd 0%, #bbdbbe 74%);
}

.box-unfinished {
    width: 160px;
    height: 160px;
    background-color: #36669d;
    background-image: linear-gradient(315deg, #36669d 0%, #d3d3d3 74%);
    color: white;
    /*    background-color: #5ca0f2;
    background-image: linear-gradient(315deg, #5ca0fa 0%, #f5f7f6 74%);*/
}

.box-unfinished-disabled {
    width: 160px;
    height: 160px;
    background-color: #9e9e9e;
    background-image: linear-gradient(315deg, #9e9e9e 0%, #d3d3d3 74%);
    color: white;
}

.box-editing {
    width: 160px;
    height: 160px;
    /*border-block-color: red;*/
    background-color: #efecec;
    background-image: linear-gradient(315deg, #efecec 0%, #f9aba4 74%);
}

.box-icon {
    width: 25%;
    opacity: .7;
    position: absolute;
    top: -10%;
    right: -10%;
}

.box-icon-completed {
    width: 25%;
    opacity: .7;
    position: absolute;
    top: -10%;
    right: -10%;
    content: url('/images/checkbox-303113.svg');
}

.box-icon-editing {
    width: 25%;
    opacity: .7;
    position: absolute;
    top: -10%;
    right: -10%;
    content: url('/images/accessories-text-editor.svg');
}

.box-icon-incomplete {
    width: 25%;
    opacity: .7;
    position: absolute;
    top: -10%;
    right: -10%;
}

.zoom-resize {
    transition: transform .3s;
}

    .zoom-resize:hover {
        transform: scale(1.03);
        filter: brightness(80%);
    }

.gradient-text {
    line-height: normal;
    background: linear-gradient(-45deg, #6355a4, #6355a4, #e89a3e, #e89a3e);
    background-size: 300%;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 5vw;
    letter-spacing: -5px;
    text-transform: uppercase;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animated_text 10s ease-in-out infinite;
    -moz-animation: animated_text 10s ease-in-out infinite;
    -webkit-animation: animated_text 10s ease-in-out infinite;
}

@keyframes animated_text {
    0% {
        background-position: 0px 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0px 50%;
    }
}

.process .process-step:hover .process-step-circle {
    background-color: #FFF;
}

    .process .process-step:hover .process-step-circle .process-step-circle-content {
        color: #000;
    }

.process .process-step.active .process-step-circle {
    background-color: #CCC;
}

.stepper-wrapper {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

@media (max-width: 768px) {
    .stepper-item {
        font-size: 12px;
    }
}

.stepper-item::before {
    position: absolute;
    content: "";
    border-bottom: 2px solid #ccc;
    width: 100%;
    top: 20px;
    left: -50%;
    z-index: 2;
}

.stepper-item::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid #ccc;
    width: 100%;
    top: 20px;
    left: 50%;
    z-index: 2;
}

.stepper-item .step-counter {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ccc;
    margin-bottom: 6px;
}

.stepper-item.active {
    font-weight: bold;
}

    .stepper-item.active .step-counter {
        background-color: #ffc107;
    }

.stepper-item.completed .step-counter {
    background-color: #4bb543;
}

.stepper-item.completed::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid #4bb543;
    width: 100%;
    top: 20px;
    left: 50%;
    z-index: 3;
}

.stepper-item:first-child::before {
    content: none;
}

.stepper-item:last-child::after {
    content: none;
}

/*custom asteriks for when user submits a form but fields are required*/
.required-caption:after {
    content: '*';
    color: red;
}


/*If you want the red asterisk before just uncomment below code.*/
/*.required-caption:before {
    content: '*';
    color: red;
}*/


/*HEADER NAV BAR SECTION#############################################*/
#header.header-effect-shrink .header-container {
    min-height: 69px !important;
}

:root {
    --rz-border-focus: var(--rz-border-width) solid #00ccff;
}

@media(max-width:500px) {
    #headerLogo {
        width: 200px;
        height: 73px;
    }
}

.rz-fieldset {
    border: none !important;
    margin: 1px !important;
}

.rz-fieldset-legend {
    white-space: normal !important;
}

.rz-fieldset-content {        
    padding: 1px !important;
}

td .e-radio-wrapper .e-label {
    font-size: 16px;
}

.rz-valign-60 {
    vertical-align: 60%;
}

/*RateCalculator Trustmark Page Mobilehandle*/
.desktop-content {
    display: block; /* Show on desktop */
}

.mobile-content {
    display: none; /* Hide on mobile */
}

@media (max-width: 990px) {
    .desktop-content {
        display: none; /* Hide on mobile */
    }

    .mobile-content {
        display: block; /* Show on mobile */
    }

    .custom-mb-sm-4 {
        margin-bottom: 1.5rem !important;
    }

    .col-sm-order-1{
        order: 1;
    }

    .col-sm-order-2{
        order: 2;
    }
}

@media(min-width:991px){
    .col-sm-order-1 {
        order:2;
    }

    .col-sm-order-2 {
        order: 1;
    }
}


div:not(.rz-form-field-content) > .rz-textbox:disabled {
    color:black;
}

/*TLC IS FUNDED*/
.funded-rate-span-main {
    display: flex;
    width: 100%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border: 1px solid #E0E0E0;
    border-radius: 5px;
}

    .funded-rate-span-main > :nth-child(3) {
        background-color: #f2fff2;
    }

/*RATES UI STYLING SECTION*/
.rate-span-main {
    display: flex;
    width: 100%;
    min-height: 160px
}

.rate-item-main {
    flex: 1;
    margin: 0.3rem;
}

.rate-item-minor {
    flex: .05;
    margin: 0px 1em 0px 1em;
}

.rate-item-main-2 {
    flex: 1;
    padding: 20px .3em;
    align-self: stretch;
}

.rate-button {
    width: 80%;
    font-size: 16px;
    padding: 5px;
}

.rate-selected {
    transform: scale(1.01);
    margin: 20px 0px;
    background-color: rgb(232,240,254);
    border: 2px solid #B0B0B0 !important;
}

@media (max-width: 768px) {
    .rate-selected {
        transform: scale(1.05);
        margin: 10px 0px;
        background-color: rgb(232,240,254);
        border: 2px solid #B0B0B0 !important;
    }

    .rate-span-main {
        display: flex !important;
        width: 100% !important;
        min-height: 90px !important;
    }

    .rate-item-main-2 {
        flex: 1 !important;
        padding: 10px .3em !important;
        align-self: stretch !important;
    }

    .rate-button {
        width: 80% !important;
        font-size: 8px !important;
        padding: 5px !important;
    }

    .mobile-rate-font-values {
        font-size: 1em !important;
    }

    .mobile-rate-font-label {
        font-size: .8em !important;
    }
}

/*APPLICANTS UI STYLE SECTION*/
.applicant-info-span-main {
    display: flex;
    width: 100%;
}

.applicant-info-item-main {
    flex: 1;
    margin: 0.3rem;
}

.applicant-info-item-main-2 {
    flex: 1.3;
    padding: 20px .3em;
    align-self: stretch;
}

@media (max-width: 768px) {
    .applicant-info-span-main {
        flex-direction: column !important;
    }
    .applicant-info-item-main {
        margin: 1.5rem !important;
    }

    .applicant-info-item-main-2 {
    }

    .applicant-info-item-main:first-child {
        border-right: none !important;
        margin: 1.5rem !important
    }
}

.custom-label-style {
    font-size: 1.3em;
    font-weight: 700;
}

.e-ddl.e-input-group .e-input-value, .e-ddl.e-input-group .e-input-value:focus {
    padding: 0.5rem;
}