@import url('webfont.css');

/* required by Blazor */
#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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

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

@media (min-width: 992px) {
    .nav-header {
        height: 44px;
    }

    .navbar-collapse {
        display: flex;
        flex-basis: auto;
    }

    nav.navbar .mobile-menu {
        display: none !important;
    }
}

.white-on-teal-button {
    background-color: white;
    padding: 22px 35px;
    font-family: Lexend-SemiBold, Arial, sans-serif;
    color: var(--mal-orange); /* Normal state color */
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
    border-color: transparent; /* Set border color if applicable */
}

.min-div {
    width: min-content;
    height: min-content;
}

.login-page-button {
    width: 163px;
    height: 76px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.lg-login-page-button {
    min-width: 163px;
    height: 76px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.myaccount-button {
    height: 76px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.div-teal {
    background-color: var(--mal-teal);
    text-align: center;
}

.center {
    text-align: center;
}

.div-center {
    margin-left: auto;
    margin-right: auto;
}

.white {
    color: #ffffff;
}

.f-rt {
    float: right;
}

.help-text {
    font-size: 12px;
    font-family: 'Lexend-Light', Arial, sans-serif;
    color: var(--mal-dark-gray);
}

.sub-text {
    color: var(--text-secondary, #535353);
    font-family: "Lexend-Regular", Arial, sans-serif;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.05rem;
}

.sub-text-error {
    --tw-text-opacity: 1;
    color: rgb(171 0 41 / var(--tw-text-opacity));
}

/* default blazor validation error class - combines .sub-text with .sub-text-error */
.validation-message {
    --tw-text-opacity: 1;
    color: rgb(171 0 41 / var(--tw-text-opacity));
}

div.sub-text-error ul, div.sub-text ul {
    list-style-type: none;
    padding-left: 0px;
}

.no-underline {
    text-decoration: none;
}

.bold-phone {
    font-family: Lexend-SemiBold, Arial, sans-serif;
    font-size: 20px;
    line-height: 26px;
    margin-top: 1em;
    margin-bottom: 1em;
}

/* for red border for invalid fields */
.input-validation-error {
    border: 1px solid #ff0000;
}

.success {
    color: green;
}

.error {
    color: red;
}

.va-bl {
    vertical-align: baseline;
}

.pr-0 {
    padding-right: 0px !important;
}

.graybackground {
    background-color: var(--mal-lightest-gray);
}

.darkgraybackground {
    background-color: var(--mal-dark-gray);
    color: white;
}

.number_circle {
    width: 60px;
    line-height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 40px;
    color: #ffffff;
    background-color: var(--mal-teal);
    font-family: Lexend-Bold, Arial, sans-serif;
    margin-bottom: 10px;
}

/* for gaps between columns */

@media (min-width: 768px) {
    .row-cols-md-2-mal > * {
        flex: 0 0 auto;
        width: 47%;
    }

    .gap {
        gap: 6%;
    }
}

@media (min-width: 992px) {
    .row-cols-lg-4-mal > * {
        flex: 0 0 auto;
        width: 22%;
    }

    .gap {
        gap: 4%;
    }

    .row-cols-lg-3-mal > * {
        flex: 0 0 auto;
        width: 30%;
    }

    .gap2 {
        gap: 5%;
    }
}

@media (min-width:995px) {
    .mx-10p-lg {
        margin-right: 10%;
        margin-left: 10%;
    }
}
/* end gaps */

.mr-10 {
    margin-right: 10px;
}

.nav-link-top {
    display: inline !important;
}

.b-gray-bar {
    border-bottom: 2px solid var(--mal-lightest-gray);
}

.btn-s {
    padding: 8px 14px !important;
}

.my-1r {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.d-none {
    display: none;
}

/* remove Telerik scroll bar */
/* grid */

.grid-no-scroll .k-grid-content {
    overflow-y: auto;
}

.grid-no-scroll .k-grid-header,
.grid-no-scroll .k-grid-footer {
    padding-right: 0; /* version 2.26 and older requires !important here */
}

.grid-no-scroll .k-grid-header-wrap,
.grid-no-scroll .k-grid-footer-wrap {
    border-right-width: 0;
}

/* end */
/* hide blazor connection messages */
.components-reconnect-show, .components-reconnect-failed, .components-reconnect-rejected {
    display: none;
}
/* end */

.right-arrow {
    background: url('../images/interactive/arrow-right-small-white.svg') no-repeat 90%/50% var(--mal-orange);
    background-size: 14px 12px;
    padding
}

.success-text {
    color: green;
}

.number_of_offers_circle {
    position: relative;
    top: -51px;
    right: -144px;
    height: 25px;
    width: 25px;
    line-height: 19px;
    border: 2px solid #f3f4f4;
    border-radius: 50%;
    text-align: center;
    font-size: 14px;
    background-color: var(--mal-teal);
    color: #ffffff;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    font-family: "Lexend-Regular", Arial, sans-serif;
}

/* needed to override data grid css class */
.k-grid .orange-button {
    font-family: 'Lexend-SemiBold', Arial, sans-serif;
    color: white;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.5;
    background-color: var(--mal-orange);
    padding: 16px 28px;
    border: none;
    text-decoration: none;
}

/* hide telerik grid headers */
.noheadersgrid .k-grid-header {
    display: none;
}

/* customize header for offer details */
.offerdetailsheader {
    border-inline-start-width: 0px !important;
    justify-content: center;
    text-align: center !important;
    white-space: normal !important;
}

.ad-info-title-selected {
    color: white;
    font-family: "Lexend-Regular", Arial, sans-serif;
    font-size: 20px;
    line-height: 26px;
}

.bb-darkgray {
    border-bottom: 5px var(--mal-dark-gray) solid;
}

@media (min-width: 768px) {
    bb-darkgray-resp {
        border-bottom: 5px var(--mal-dark-gray) solid;
    }
}

.pl-20p {
    padding-left: 20px;
}

.pt-1e {
    padding-top: 1em;
}

.pb-1e {
    padding-bottom: 1em;
}

.pt-2e {
    padding-top: 2em;
}

.pb-2e {
    padding-bottom: 2em;
}

.p-1-5r {
    padding: 1.5rem !important;
}

.my-1e {
    margin-top: 1em;
    margin-bottom: 1em;
}

.mt-1e {
    margin-top: 1em;
}

.mt-2e {
    margin-top: 2em;
}

.mb-1e {
    margin-bottom: 1em;
}

.mb-2e {
    margin-bottom: 2em;
}

.col50p {
    display: inline-block;
    width: 50%;
}

.ta-r {
    text-align: right;
}

div.a-c {
    margin: auto;
}

.details-value {
    font-family: "Lexend-Bold", Arial, sans-serif;
    font-size: 18px;
    text-align: center;
    color: var(--mal-teal);
}

.details-value-smaller {
    font-family: "Lexend-Bold", Arial, sans-serif;
    font-size: 16px;
    text-align: center;
    color: var(--mal-teal);
}

.details-value-larger {
    font-family: "Lexend-Bold", Arial, sans-serif;
    font-size: 28px;
    text-align: center;
    color: var(--mal-teal);
}

.details-label {
    font-family: "Lexend-Regular", Arial, sans-serif;
    font-size: 12px;
    text-align: center;
}

.bt {
    border-top: 1px var(--mal-light-gray) solid !important;
}

.bb {
    border-bottom: 1px var(--mal-light-gray) solid !important;
}

.bb-darkgray-2p {
    border-bottom: 2px var(--mal-dark-gray) solid !important;
}

.ib {
    display: inline-block;
}

.nw {
    white-space: nowrap;
}

.flex {
    display: flex;
}

.offerdetailslender {
    flex: 1 1 130px;
}

.offerdetailslendergrid {
    flex: 1 1 370px;
}

.stips {
    margin-top: 0px;
    margin-bottom: 0px;
}

.stips-mb {
    margin-bottom: 0px;
}

.fas {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-family: fa_solid;
}

.fa-phone:before {
    content: "\f095";
}

.fa-rotate-90 {
    -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

:root .fa-rotate-90 {
    -webkit-filter: none;
    filter: none;
}

.rotate-180 {
    -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

/* The Modal (background) */
.cert {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 150px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.cert-content {
    background-color: white;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.regular {
    font-family: "Lexend-Regular", Arial, sans-serif;
}

@media (max-width: 767px) {
    .desktop {
        display: none !important;
    }
}


@media (min-width: 768px) {
    .mobile {
        display: none !important;
    }

    .desktop {
        diplay: block;
    }
}

.nav-link-cs {
    margin-left: 0px;
}
/*
@media (min-width: 1200px) {
    .nav-link-cs {
        margin-left: 20px;
    }
}

@media (min-width: 1370px) {
    .nav-link-cs {
        margin-left: 40px;
    }
}

@media (min-width: 1800px) {
    .nav-link-cs {
        margin-left: 75px;
    }
}*/

/* highlight row of grid*/
.mouse-hover .k-grid-content tr:hover {
    color: var(--mal-orange);
    cursor: pointer;
}

/* customize appearance of grid */
.k-grid {
    border: 0px !important;
}

.k-table-row {
    background-color: white !important;
}

.k-table-td {
    border: 0px !important;
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

.offers tr:not(:first-child) > td {
    border-top: 1px var(--mal-light-gray) solid !important;
}

.details tr:not(:first-child) > td {
    border-top: 1px var(--mal-light-gray) solid !important;
}

    .details tr:not(:first-child) > td:first-child {
        border-top: 0px !important;
    }

.details-mobile tr > td {
    border-top: 1px var(--mal-light-gray) solid !important;
}

.offers div.k-listview-content div.k-listview-item:not(:last-child) {
    border-bottom: 1px var(--mal-light-gray) solid !important;
    margin-bottom: 2em;
}

.details div.k-listview-content div.k-listview-item:not(:last-child) {
    border-bottom: 1px var(--mal-light-gray) solid !important;
    margin-bottom: 2em;
}

.details div.k-listview-content:not(:first-child) > div.k-listview-item:first-child {
    border-top: 0px !important;
}

.no-border { /* for cert */
    border: 0px !important;
}

.k-radio { /* make radio button borders darker (for when they are unselected) */
    border-color: rgba(0, 0, 0, 0.4) !important;
}
/* end customize */
.container {
    max-width: 95% !important;
}