:root {
    --dark-teal: #046C74;
    --light-teal: #007B85;
    --text-teal: #204851;
    --accent-orange: #F58466;
    --ans-teal: #5D99A0;
    --text-inver: #fff;
    --disabled-border: #a1a1a1;
    --disabled-background: #efefef;
}

.center {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.lc-flex {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    align-content: flex-start !important;
}

.white {
    color: white;
}

.monts {
    font-family: "montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.xs-font {
    font-size: 10px;
}

.small-font {
    font-size: 16px;
}

.large-font {
    font-size: 25.89px;
}

.text-orange {
    color: var(--accent-orange);
}

.text-light-teal {
    color: var(--ans-teal);
}

.text-form {
    /*  width: 375px !important;*/
    max-width: 400px;
    /*   height: 667px !important;*/
    max-width: 800px;
    /*box-shadow: 0px 3px 6px lightgrey;*/
    display: flex;
    align-items: center;
}

.logo-banner {
    background-color: var(--dark-teal);
}

    .logo-banner > img {
        width: 128px;
    }

h2 {
    color: var(--text-teal);
    font-size: 25.89px;
}

a,
a:visited,
h4 a,
h4 a:visited,
h5 a,
h5 a:visited,
h6 a,
h6 a:visited {
    color: var(--light-teal);
    text-decoration: none;
}

    a:hover,
    a:visited:hover,
    h4 a:hover,
    h4 a:visited:hover,
    h5 a:hover,
    h5 a:visited:hover
    h6 a:hover,
    h6 a:visited:hover {
        color: var(--accent-orange);
        text-decoration: none;
    }

select {
    border: lightgray;
    background-color: #fff;
    background-image: none;
    padding: 5px; /* optional: to add some padding */
    box-shadow: 0px 0px 3px lightgray;
    font-size: 20px;
}

    select:focus, select:focus-visible, select:active, select:target {
        outline: unset !important;
        border: unset !important;
        border-width: 2px;
        border-color: var(--accent-orange) !important;
        box-shadow: 0px 0px 3px var(--accent-orange) !important;
        border-style: solid !important;
    }


input {
    margin: 0.125em 0em 0.75em 0;
    padding: 0.518em;
    max-width: 460px;
    font-size: 20px !important;
    border: lightgray;
    box-shadow: 0px 0px 3px lightgray;
}

    input[type=text].input-validation-error,
    input[type=tel].input-validation-error,
    input[type=email].input-validation-error,
    input[type=number].input-validation-error,
    input[type=checkbox].input-validation-error {
        color: #e80c4d;
        border-color: var(--accent-orange) !important;
        padding-right: calc(1.5em + .75rem);
        background-repeat: no-repeat;
        border-color: #e80c4d;
        background-image: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='%23ff0000' xmlns='http://www.w3.org/2000/svg'> <path d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16'/> <path d='M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0M7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0z'/></svg>");
        background-position: right calc(.375em + .1875rem) center;
        background-size: calc(.75em + .375rem) calc(.75em + .375rem);
        box-shadow: 0px 0px 1px 2px #e80c4d;        
        height: 2.89em;
    }

span {
    box-shadow: none;
    align-items: start;
    padding: 0.618em;
    display: inline;
}

input, select {
    margin: 0.125em 0em 0.75em 0;
    padding: 0.618em;
    width: 100%;
    max-width: 460px;
    height: 100%;
    /*font-size: 25.89px !important;*/
}

    input[type="submit"] {
        max-height: 51.1px !important;
        max-width: 230px !important;
    }

    input:focus, input:focus-visible, input:active, input:target {
        outline: unset !important;
        border: unset !important;
        border-width: 2px;
        border-color: var(--accent-orange) !important;
        box-shadow: 0px 0px 3px var(--accent-orange) !important;
        border-style: solid !important;
    }


    input[type=text]:read-only,
    input[type=tel]:read-only {
        outline: unset !important;
        border: 2px !important;
        border-width: 2px;
        border-color: var(--disabled-border) !important;
        background-color: var(--disabled-background);
        box-shadow: 0px 0px 0px var(--disabled-background) !important;
        border-style: solid !important;
        cursor: not-allowed;
    }

.but {
    font-size: 25.89px;
    max-width: 320px !important;
    max-height: 46px !important;
    padding-top: 3px;
    width: 100%;
    height: 100%;
    transition: 0.2s;
    &.outlined
{
    background-color: unset;
    color: var(--accent-orange);
    border: solid 2px var(--accent-orange);
    &:hover

{
    background-color: var(--accent-orange);
    color: white;
    box-shadow: 0px 0px 6px var(--accent-orange);
}

}

&.filled {
    background-color: var(--accent-orange);
    color: var(--text-inver);
    border-color: var(--accent-orange);
    border-style: none;
}

&.round {
    border-radius: 2em;
}

&.xl-but {
    min-height: 72px !important;
}

}

.but:not(.disabled):hover {
    box-shadow: 0px 0px 6px var(--accent-orange);
    transform: scale(1.05);
}

option {
    font-size: 16px !important;
}

select:invalid {
    color: grey !important;
}

.disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
}

.row:has(input[type=checkbox]) {
    display: flex;
    justify-content: center;
}

.modal-body > .spinner-border {
    color: var(--accent-orange);
}

#agree {
    width: fit-content;
    padding-left: 12px;
}

    #agree + p {
        width: 90%;
        padding-left: 2px;
    }

/* CONFIRMATION */

.confirm-icon {
    width: 60% !important;
}

.but.outlined:hover {
    box-shadow: 0px 0px 6px lightgrey;
}

/* CALL BY PHONE */

#or-split {
    position: relative;
    &:before

{
    content: '';
    width: 90px;
    height: 4px;
    background-color: var(--accent-orange);
    position: absolute;
    top: 45%;
    left: 28%;
    transform: translate(-35%, -25%);
}

&:after {
    content: '';
    width: 90px;
    height: 4px;
    background-color: var(--accent-orange);
    position: absolute;
    top: 45%;
    left: 64%;
    transform: translate(-35%, -25%);
}

}

.spinner-border {
    font-size: 15.89px !important;
}

/* Desktop form */
@media (min-width: 769px) {

    .topOwnershipDisclaimer {
        display: block;
    }

    .bottomOwnershipDisclaimer {
        display: none;
    }


    .desk-form {
        min-width: 1186.56px;
        min-height: 667.44px;
        box-shadow: 0px 3px 6px lightgrey;
    }

    /* Homeowner input */
    .label-homeowner {
        color: var(--accent-orange);
        position: relative;
        font-weight:400;
        width: 100%;
        padding-top: 5px;
        padding-left: 0px !important;
        max-width: calc(25.89px * (2.15 * 9));
       /* border-bottom: 2px solid var(--accent-orange);*/
    }

/*        .label-homeowner:after {
            content: '';
            position: absolute;
            width: 50%;
            height: 3px;
            right: 0;
            top: 48%;
            background-color: var(--accent-orange);
            max-width: 10px;
        }*/

        .label-homeowner ~ input {
            padding: 7.5px 5px 7.5px 5px;
        }

    .gold-left {
        width: 38.2% !important;
        height: inherit;
        background-color: var(--dark-teal);
    }

        .gold-left > .row {
            margin-top: 10px;
        }

        .gold-left > .col {
            height: 100%;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            margin-top: -50px;
        }

            .gold-left > .col > h2 {
                position: relative;
                text-align: right;
                &::after

{
    content: '';
    width: 61.8%;
    height: 4px;
    background-color: var(--accent-orange);
    position: absolute;
    right: 0px;
    bottom: -12px;
}

}

.gold-right {
    width: 61.8% !important;
    height: 667.44px;
    background-color: white;
    position: relative;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.right-con {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 64px !important;
    padding-right: 64px !important;
}

    .right-con span {
        padding: 0 !important;
    }

    .right-con > input, .right-con > .wrapper__inline > input, .right-con > .wrapper__inline > select {
        font-size: 25.89px;
        max-height: calc(25.89px * 2.15) !important;
        padding: 5px;
        max-width: calc(25.89px * (2.15 * 9)) !important;
        border-color: #BEBEBE;
        border-style: solid;
        border-width: 1px;
        &.inline

{
    max-width: calc((25.45px * (2.17 * 9)) / 2) !important;
    /*&:first-child {
            border-right: none;
        }*/
    /* &:last-child {
            border-left: none;
        }*/
}

}

.wrapper__inline {
    max-height: calc(25.89px * 2.15) !important;
    height: 100%;
}

}

@media (max-width: 768px) {

    .topOwnershipDisclaimer {
        display: none;
    }

    .bottomOwnershipDisclaimer {
        display: block;
    }

    .desk-form {
        min-width: 100%; /* Full width for mobile */
        min-height: auto; /* Adjust height for mobile */
        box-shadow: none; /* Remove shadow for mobile */
    }

    .col-1 {
        width: 9%;
    }

    .col-11 {
        width: 85%;
    }

    .col-1 img {
        padding-top: 8px;
        padding-right: 3px;
        min-width: 25px;
        max-width: 45px;
    }

    /* Homeowner input */
    .label-homeowner {
        color: var(--accent-orange);
        position: relative;
        width: 100%;
        padding-top: 2px;
        padding-left: 0px !important;
        max-width: calc(25.89px * (2.15 * 9))
    }

        /*    .label-homeowner:after {
            content: '';
            position: absolute;
            width: 246px;
            height: 3px;
            right: 0;
            top: 48%;
            background-color: var(--accent-orange);
        }*/

        .label-homeowner ~ input {
            padding: 7.5px 5px 7.5px 5px;
        }

    .gold-left {
        width: 100% !important; /* Full width for mobile */
        height: auto; /* Adjust height for mobile */
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px; /* Optional: Add some padding */
        background-color: var(--dark-teal);
        flex-wrap: wrap;
    }

        .gold-left > .row {
            flex: 1 1 100%;
            box-sizing: border-box;
            margin-bottom: 10px;
        }

        .gold-left > .col {
            justify-content: center; /* Center content for mobile */
            align-items: center;
        }

    .gold-right {
        width: 100% !important;
        /*  height: 667.44px;*/
        align-content: center;
        align-self: auto;
        vertical-align: top;
        justify-content: center;
        background-color: white;
        /*  position: relative;*/
        padding-left: 0px !important;
        padding-right: 15px !important;
    }

    .right-con {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-content: center;
        padding-top: 10px;
        /* padding-right: 25px;*/
        padding-left: 25px !important;
    }

        .right-con span {
            padding: 0 !important;
        }

        .right-con > input, .right-con > .wrapper__inline > input, .right-con > .wrapper__inline > select {
            font-size: 25.89px;
            max-height: calc(25.89px * 2.15) !important;
            padding: 5px;
            max-width: calc(25.89px * (2.15 * 9)) !important;
            border-color: #BEBEBE;
            border-style: solid;
            border-width: 1px;
            &.inline

{
    max-width: calc((25.45px * (2.17 * 9)) / 2) !important;
    /*&:first-child {
                        border-right: none;
                    }*/
    /* &:last-child {
                        border-left: none;
                    }*/
}

}

.wrapper__inline {
    max-height: calc(25.89px * 2.15) !important;
    height: 100%;
    width: 75%;
}

}

@media only screen and (max-width: 600px) {
    .spinner-border {
        width: 1rem;
        height: 1rem;
        border-width: 0.2rem;
        margin-bottom: 3px;
    }
}

#progress {
    width: 100%;
    height: 6px;
    background-color: #F1F1F1;
    position: relative;
    &::after

{
    content: '';
    position: absolute;
    background-color: var(--accent-orange);
    height: 6px;
    width: 20%;
}

}

#progress2 {
    width: 100%;
    height: 6px;
    background-color: #F1F1F1;
    position: relative;
    &::after

{
    content: '';
    position: absolute;
    background-color: var(--accent-orange);
    height: 6px;
    width: 40%;
}

}

#progress3 {
    width: 100%;
    height: 6px;
    background-color: #F1F1F1;
    position: relative;
    &::after

{
    content: '';
    position: absolute;
    background-color: var(--accent-orange);
    height: 6px;
    width: 60%;
}

}

#progress4 {
    width: 100%;
    height: 6px;
    background-color: #F1F1F1;
    position: relative;
    &::after

{
    content: '';
    position: absolute;
    background-color: var(--accent-orange);
    height: 6px;
    width: 80%;
}

}

#progress5 {
    width: 100%;
    height: 6px;
    background-color: #F1F1F1;
    position: relative;
    &::after

{
    content: '';
    position: absolute;
    background-color: var(--accent-orange);
    height: 6px;
    width: 100%;
}

}






.right-con > input[type=submit] {
    max-width: calc((25.89px * (2.15 * 9)) / 2) !important;
}



/* Scheduler */
.schedule {
    justify-content: flex-start !important;
}

.carousel {
    display: flex;
    justify-content: center;
}

.carousel-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    position: relative;
    width: 90% !important;
}

    .carousel-inner::after {
        content: '';
        width: 36%;
        height: 100%;
        position: absolute;
        z-index: 3;
        background: rgb(4,108,116);
        background: linear-gradient(90deg, rgba(4,108,116,0) 0%, rgba(255,255,255,0) 60%, rgba(255,255,255,1) 100%);
    }

.carousel-item {
    margin-right: unset !important;
    width: fit-content !important;
    color: var(--text-teal);
    text-align: center;
}

    .carousel-item.active {
        flex: 1;
    }

    .carousel-item > div > p:first-child {
        margin-bottom: 0px;
    }

.schedule-head {
    display: flex;
    align-content: center;
}

.today {
    position: relative;
}

    .today::after {
        content: '';
        width: 100%;
        height: 3px;
        background-color: var(--accent-orange);
        position: absolute;
        z-index: 3;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
    }

.hidden {
    display: none !important;
}

.carousel-control-next, .carousel-control-prev {
    /* position: relative;*/
    z-index: 4 !important;
}

.last {
    transform: scale(0.925);
}

label:has(input[type=radio][name="date"]) {
    position: relative;
    z-index: 4;
}

input[type=radio][name="date"] {
    position: fixed;
    opacity: 0;
    pointer-events: none;
    width: 38.5px;
    z-index: 1;
}

label:has(input[type=radio][name="date"]) > span {
    position: relative;
    z-index: 1;
}

    label:has(input[type=radio][name="date"]) > span:last-child:before {
        content: '';
        width: 38.5px !important;
        height: 38.5px !important;
        background-color: unset;
        display: flex;
        top: 50%;
        position: absolute;
        transform: translate(-50%, -45%);
        left: 50%;
        z-index: -1 !important;
        transition: all 0.2s;
    }

input[type=radio][name="date"]:checked {
    ~ span:last-child

{
    color: white;
}

~ span:last-child:before {
    background-color: #F58466;
    width: 38.5px !important;
    height: 38.5px !important;
}

}

label:has(input[type=radio][name="date"][disabled]):hover {
    cursor: not-allowed;
    span: last-child

{
    &::before

{
    display: none !important;
}

}
}

label:has(input[type=radio][name="date"]):hover, label:has(input[type=radio][name="date"][previous]):hover {
    cursor: pointer;
    span: last-child

{
    color: var(--text-inver);
    &::before

{
    content: '';
    width: 38.5px !important;
    height: 38.5px !important;
    background-color: var(--accent-orange);
    display: flex;
    top: 50%;
    position: absolute;
    transform: translate(-50%, -45%);
    left: 50%;
    z-index: -1;
    box-shadow: 0px 0px 3px var(--dark-teal);
    opacity: 0.75;
}

}
}



label:has(input[type=radio][name="date"][previous]) {
    cursor: pointer;
    span: last-child

{
    color: var(--text-inver);
    &::before

{
    content: '';
    width: 38.5px !important;
    height: 38.5px !important;
    background-color: var(--accent-orange);
    display: flex;
    top: 50%;
    position: absolute;
    transform: translate(-50%, -45%);
    left: 50%;
    z-index: -1;
    box-shadow: 0px 0px 3px var(--dark-teal);
    opacity: 0.5;
}

}
}

.schedule-head *:has(input[type=radio][name="date"]:checked) {
    &~ .consult-time

{
    background-color: green;
}

}



input[type=radio][name="time"] {
    position: fixed;
    opacity: 0;
    pointer-events: none;
    width: 163.5px;
}

    input[type=radio][name="time"]:checked {
        ~ span

{
    color: var(--text-inver) !important;
    &::before

{
    background-color: var(--dark-teal);
    border: solid 2px var(--dark-teal);
}

}
}

.consult-time > .col {
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

    .consult-time > .col > label {
        position: relative;
    }

.wrapper__timeslot {
    position: relative;
}

label:has(input[type=radio][name="time"]) > span::before {
    content: '';
    width: 163.5px !important;
    height: 40.83px !important;
    background-color: unset;
    display: flex;
    top: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    z-index: -1;
    border: solid 2px var(--ans-teal);
    transition: all 0.2s;
}

label:has(input[type=radio][name="time"]) {
    width: 163.5px;
    position: relative !important;
    transition: all 2s;
    z-index: 1;
    ~ button

{
    transition: all 0.25s;
    transition: visibility 0s;
    visibility: hidden;
    opacity: 0;
    z-index: -2;
    width: 163.5px !important;
    position: absolute;
    top: 0em;
    left: 0em;
    margin-left: 0em !important;
}

&:has(input[type=radio][name="time"]:checked) {
    + button

{
    transition: all 0.25s ease-out;
    transition: visibility 0.2s;
    visibility: visible;
    opacity: 1;
    height: inherit;
    position: relative;
    top: 0em;
    z-index: 0;
    width: 163.5px !important;
    /* margin-left: 0.35em !important;*/
}

}
}

label:has(input[type=radio][name="time"]) > span {
    color: var(--text-teal);
}

label:has(input[type=radio][name="time"]):hover {
    cursor: pointer;
    span

{
    color: var(--text-inver);
    &::before

{
    content: '';
    width: 163.5px !important;
    height: 40.83px !important;
    background-color: var(--dark-teal);
    display: flex;
    top: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    z-index: -1;
    border: solid 2px var(--dark-teal);
    box-shadow: 0px 0px 3px var(--dark-teal);
}

}
}

.previous-time {
    text-align: center;
    p

{
    margin: 0;
}

}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%204851'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%204851'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
}

.bottom-link {
    height: 46%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    text-decoration: underline;
}

.confirm-info {
    max-height: 56% !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gold-right form {
    display: contents !important;
}

.field-validation-error {
    margin-bottom: 2px;
    margin-top: -20px;
}

.agreeToTermsLabel {
    display: block;
    text-align: right;
    margin: -3px 0 0 -15px;
    padding: 0;
}

    .agreeToTermsLabel label,
    .agreeToTermsLabel input[type="checkbox"] {
        align-content: start;
        display: inline-block;
        vertical-align: top;
    }

    .agreeToTermsLabel input[type="checkbox"] {
        width: 1em !important;
        height: 1em !important;
    }