:root {
    --accent: #E56974;
    --text-inver: #fff;
    --light-green: #D4D8AB;
    --bookmark-green: #9EA374;

}

.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;
}

.lato {
    font-family: "lato", 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);
}

.text-light-teal {
    color: var(--light-green);
}

.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(--light-green);
}

.logo-banner>img {
    width: 128px;
}

.modal-body > .spinner-border {
    color: var(--light-green);
}

h2 {
    color: var(--text-teal);
    font-size: 25.89px;
}

.monts a,
.monts a:visited {
    color: var(--accent) !important;
}

    .monts a:hover,
    .monts a:visited:hover {
        color: var(--bookmark-green) !important;
    }

a,
a:visited,
h4 a,
h4 a:visited,
h5 a,
h5 a:visited,
h6 a,
h6 a:visited {
    color: #801a1f;
    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);
    }

input {
    margin: 0.125em 0em 0.75em 0;
    padding: 0.618em;
    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[type="submit"] {
    max-height: 51.1px !important;
    
    margin: 0.125em 0em 0.75em 0;
    padding: 0.618em;
    width: 100%;
    max-width: 460px;
}

input[type="submit"] {
    max-height: 51.1px !important;
    max-width: 230px !important;
}

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) !important;
        box-shadow: 0px 0px 3px var(--accent) !important;
        border-style: solid !important;
    }

input,
select {
    width: 100%;
    height: 100%;
   /* font-size: 25.89px !important;*/
}

input:focus,
input:focus-visible,
input:active,
input:target {
    outline: unset !important;
    border: unset !important;
    border-width: 2px;
    border-color: var(--accent) !important;
    box-shadow: 0px 0px 3px var(--accent) !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;
    width: 100%;
    height: 100%;
    transition: 0.2s;

    &.outlined {
        background-color: unset;
        color: var(--accent);
        border: solid 2px var(--accent);

        &:hover {
            background-color: var(--accent);
            color: white;
            box-shadow: 0px 0px 6px var(--accent);
        }
    }

    &.filled {
        background-color: var(--accent);
        color: var(--text-inver);
        border-color: var(--accent);
        border-style: none;
    }

    &.round {
        border-radius: 2em;
    }

    &.xl-but {
        min-height: 72px !important;
    }

}

.but:not(.disabled):hover {
    box-shadow: 0px 0px 6px var(--accent);
    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;
}

#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);
        position: absolute;
        top: 45%;
        left: 28%;
        transform: translate(-35%, -25%);
    }

    &:after {
        content: '';
        width: 90px;
        height: 4px;
        background-color: var(--accent);
        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;
    }
    .logo-banner img {
        width: 265px;       
    }

    .right-con {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-left: 64px !important;
        padding-right: 64px !important;
    }

        .right-con > div {
            width: 100%;
        }

        .right-con span {
            padding: 0 !important;
        }

    .gold-left {
        width: 38.2% !important;
        height: inherit;
        background-image: url("../../images/KS/washed-kitchen-red.png");
        background-position: top;
        background-size: 215%;
        padding-left: 0px !important;
    }

        .gold-left > .col {
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            padding-left: 0px;
            position: relative;
            margin-top: -100px;
        }

            .gold-left > .col > h2 {
                position: relative;
                text-align: left;
                background-color: var(--bookmark-green);
                padding-left: 12px;
                padding-top: 8px;
                padding-bottom: 8px;
                box-shadow: 0px 1px 3px black;
                max-width: 75%;
                z-index: 1;
                &:after

                {
                    clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%);
                    content: "";
                    background-color: var(--bookmark-green);
                    width: 25%;
                    height: 100%;
                    position: absolute;
                    top: 0%;
                    right: -8%;
                    border-left: solid 2px var(--bookmark-green);
                    z-index: -1;
                }

            }

    .book-end {
        position: absolute;
        background-color: var(--bookmark-green);
        clip-path: polygon(0 0, 0 100%, 20% 50%);
        width: inherit;
        height: inherit;
    }

    .gold-right {
        width: 61.8% !important;
        height: 667.44px;
        background-color: white;
        position: relative;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

/* Homeowner input */
.label-homeowner {
    color: var(--accent);
    position: relative;
    width: 100%;
    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);
    }

    .label-homeowner ~ input {
        padding: 7.5px 5px 7.5px 5px;
    }
                        
}

@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 */
    }

    .logo-banner img {
        width: 265px;
        max-width: 100%; /* Make the image take full width of its container */
        width: auto;
    }

    .col-1 {
        width: 9%;
    }

    .col-11 {
        width: 85%;
    }

    .col-1 img {
        padding-top: 8px;
        padding-right: 3px;
        min-width: 25px;
        max-width: 45px;
    }

    .gold-left {
        background-image: url("../../images/KS/washed-kitchen-red.png");
        background-position: top;
        background-size: 215%;
        width: 100% !important;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        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;
            width: 100%;
            padding-top: 20px;
            padding-bottom: 20px;
        }

            .gold-left > .col > h2 {
                position: relative;
                text-align: left;
                background-color: var(--bookmark-green);
                padding-left: 12px;
                padding-top: 8px;
                padding-bottom: 8px;
                box-shadow: 0px 1px 3px black;
                max-width: 75%;
                z-index: 1;
                &:after

                {
                    clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%);
                    content: "";
                    background-color: var(--bookmark-green);
                    width: 25%;
                    height: 100%;
                    position: absolute;
                    top: 0%;
                    right: -8%;
                    border-left: solid 2px var(--bookmark-green);
                    z-index: -1;
                }

            }

    .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: space-between;
    align-items: center;
    align-content: center;
    padding-top: 10px;
    padding-right: 15px;
    padding-left: 15px !important;
    width: 100%;
}

    .right-con > input,
    .right-con > select,
    .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;
    }

        .right-con > div
        {
            width: 100%;
        }

    .right-con span {
        padding: 0 !important;
    }

    /*&.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%;
    }*/

.label-homeowner {   
    color: var(--accent);
    position: relative;
    width: 100%;
    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);
        }*/

        .label-homeowner ~ input {
            padding: 7.5px 5px 7.5px 2px;
        }

    .book-end {
        position: absolute;
        background-color: var(--bookmark-green);
        clip-path: polygon(0 0, 0 100%, 20% 50%);
        width: inherit;
        height: inherit;
    }
}

/*.book-end {
    position: absolute;
    background-color: var(--bookmark-green);
    clip-path: polygon(0 0, 0 100%, 20% 50%);
    width: inherit;
    height: inherit;
}*/

@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);
        height: 6px;
        width: 20%;
    }
}

#progress2 {
    width: 100%;
    height: 6px;
    background-color: #F1F1F1;
    position: relative;
    &::after

{
    content: '';
    position: absolute;
    background-color: var(--accent);
    height: 6px;
    width: 40%;
}

}

#progress3 {
    width: 100%;
    height: 6px;
    background-color: #F1F1F1;
    position: relative;
    &::after

{
    content: '';
    position: absolute;
    background-color: var(--accent);
    height: 6px;
    width: 60%;
}

}

#progress4 {
    width: 100%;
    height: 6px;
    background-color: #F1F1F1;
    position: relative;
    &::after

{
    content: '';
    position: absolute;
    background-color: var(--accent);
    height: 6px;
    width: 80%;
}

}

#progress4 {
    width: 100%;
    height: 6px;
    background-color: #F1F1F1;
    position: relative;
    &::after

{
    content: '';
    position: absolute;
    background-color: var(--accent);
    height: 6px;
    width: 80%;
}

}

#progress5 {
    width: 100%;
    height: 6px;
    background-color: #F1F1F1;
    position: relative;
    &::after

{
    content: '';
    position: absolute;
    background-color: var(--accent);
    height: 6px;
    width: 100%;
}

}


.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.89px * (2.15 * 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%;
}

.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: 16%;
    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);
    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: var(--accent);
        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);
            display: flex;
            top: 50%;
            position: absolute;
            transform: translate(-50%, -45%);
            left: 50%;
            z-index: -1;
            box-shadow: 0px 0px 3px var(--light-green);
            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);
            display: flex;
            top: 50%;
            position: absolute;
            transform: translate(-50%, -45%);
            left: 50%;
            z-index: -1;
            box-shadow: 0px 0px 3px var(--light-green);
            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(--light-green);
            border: solid 2px var(--light-green);
        }

    }
}

.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(--light-green);
    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(--light-green);
            display: flex;
            top: 50%;
            position: absolute;
            transform: translate(-50%, -50%);
            left: 50%;
            z-index: -1;
            border: solid 2px var(--light-green);
            box-shadow: 0px 0px 3px var(--light-green);
        }
    }
}

.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;
    }