/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */


.s-24-cart-container {
    display: none;
}

.s-24-cart-container-visible {
    display: block;
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: white;
    color: black;
    z-index: 99999;
    box-shadow: 0px 0px 1px black;
    padding: 1rem;
}

.s-24-cart-clear-button {
    margin-left: 4px;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    padding: 7px 30px;
    line-height: 1.6em;
    min-width: 125px;
    font-weight: 600;
}

.s-24-cart-item {
    /* display: flex; */
    /* justify-content: space-between; */
    align-items: center;
    padding: .5rem;
    border-bottom: 1px solid #ccc;
    display: grid;
    grid-template-columns: 1fr 100px 100px;
    column-gap: 16px;
}

.s-24-cart-close {
    border: 1px solid #ccc;
    border-radius: 2px;
    cursor: pointer;
    font-size: 12px;
    padding: 0 8px;
    line-height: 1.6em;
    min-width: 12px;
    font-weight: 600;
}

.flex {
    display: flex;
}

.bold {
    font-weight: bold;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.flex-1 {
    flex: 1;
}

.flex-col {
    flex-direction: column;
}

.s24-form-step-1-next-button {
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    padding: 8px 16px;
    line-height: 1.6em;
    font-weight: 600;
    margin-left: auto;
}

.next-button {
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    padding: 8px 16px;
    line-height: 1.6em;
    font-weight: 600;
    margin-top: 1rem;
}

.prev-button {
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    padding: 8px 16px;
    line-height: 1.6em;
    font-weight: 600;
    margin-top: 1rem;
}

.s24-form-main {
    padding: 8px;
    border: 1px dotted;
}


/** New form */
.search-from-address {
    padding-bottom: 50px;
}

.search-from-address__title {
    font-size: 1.6em;
    font-weight: 800;
    color: white;
    padding-bottom: 14px;
}

.search-from-address__body {
    display: flex;
    flex-wrap: wrap;
}

.search-from-address__body input::placeholder {
    color: #333;
    font-weight: 600;
}

.search-from-address__body input {
    padding: 6px;
    font-weight: 600;
    font-size: 1.2em;
    width: 10px;
    flex-grow: 1;
}

.search-from-address__submit {
    padding: 6px;
    font-weight: 600;
    font-size: 1.4em;
}

.search-from-address__msg {
    padding: 10px;
    font-weight: 600;
    font-size: 1.2em;
    color: #eee;
}

.fake-radio {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #433939;
    margin-right: 10px;
}

.fake-radio.checked {
    background: #2568ae;
    border: none;
}

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

.mt-4 {
    margin-top: 1rem;
}

input[type=radio].mr-4 {
    margin-right: 4px;
}

.gap-4 {
    gap: 16px;
}

.gap-2 {
    gap: 4px;
}

.hidden {
    display: none;
}

.s24-form-main {
    text-align: left;
}

.s24-form-main p {
    text-align: left;
    margin: 0;
}

.justify-center {
    justify-content: center;
}

/* Sticky form */
.s-24-sticky-form {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    background: dodgerblue;
    color: white;
    padding: .5rem 1rem;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

.s-24-sticky-form-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0 !important;
}

.s-24-sticky-form-header,
.s-24-sticky-form-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-weight: bold;
    font-size: 1rem;
}

.s-24-sticky-form-item,
.s-24-sticky-form-total {
    /* display: flex; */
    /* justify-content: space-between; */
    align-items: center;
    gap: 8px;
    /* padding: .5rem; */
    /* border-bottom: 1px solid #ccc; */
    font-weight: 600;
    font-size: 1rem;
    display: grid;
    grid-template-columns: 12ch 1fr;
    line-height: 1rem;
}

.s-24-sticky-form-total {
    grid-template-columns: 1fr max-content;
}

.cart-heading-title {
    margin-top: 1rem;
    align-items: baseline;
}

.s-24-sticky-form-total-price {
    text-align: end;
}

.s-24-sticky-form-item-title,
.s-24-sticky-form-total-name {
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 1px;
}

.s-24-sticky-form-header h3 {
    color: white;
}

.s-24-sticky-form-item-price {
    display: none;
}

.s-24-cart-container h3 {
    background: dodgerblue;
    /* margin-top: 35px; */
    font-size: 1.5rem;
    color: #fff;
    padding: .5rem;
    border-radius: 0 999px 999px 0;
    /* outline: 10px solid transparent; */
    margin: 0 0 0 -1rem;
}

button.s-24-cart-close {
    color: dodgerblue;
    font-size: 1.1rem;
    background: none;
    border: none;
    outline: none;
    margin-right: -.5rem;
}

input.s-24-cart-send-mail-button {
    font-size: 1.5rem !important;
    letter-spacing: 1px;
    border-radius: 999px;
}

.s-24-sticky-form-header h3 {
    margin-bottom: 0;
}

.total-column div {
    font-weight: bold !important;
    font-size: 1rem;
    word-break: keep-all;
}

.s-24.cart-form {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

input.s-24-cart-send-mail-button {
    border-radius: 999px;
}

.s-24-step-1-label-category-label {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.s-24-cart-item-price {
    text-align: right;
}

.hardware-label {
    /* display: flex; */
    /* align-items: baseline; */
}

label.h3-label {
    font-family: var(--font-headers), serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 0;
    padding-top: 12px;
    margin-left: 0 !important;
}

.text-page .s24-form-main h3:first-child,
label.h3-label
{
    margin-top: 0;
    margin: 1rem 0 16px;
    /* margin-left: 12px; */
    margin-bottom: 0;
}

.s-24-stepform-container h3 {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 0;
    padding-top: 12px;
    /* margin-left: 15px; */
    cursor: default;
    margin-top:1rem;
}

.s24-form-step-1-category:first-of-type h3{
    margin-left:0 !important;
}

.s24-form-step-1-category:first-of-type label{
    padding-left:0;
}

.s-24-form-step-2-container, .s-24-form-step-1-container, .s-24-form-step-3-container{
    margin-top: -28px;
}

.s-24-stepform-container {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.s-24-step-2-categories-container {
    margin-bottom: 4px;
}

.s-24-cart-send-mail-button {
    border-radius: 999px !important;
}

form.flex.s24-cart-form {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1rem 0;
}

form.s24-form-main {
    padding: 1.5rem;
}

.s-24-cart-items {
    margin-top: 1rem;
}


label.s24-radio-label.hardware-label div {
    display: grid;
    /* grid-template-columns: 1fr 1fr; */
    grid-template-rows: 1fr 2fr;
}

form.s24-form-main p {
    margin-bottom: 0;
    margin-top: 8px;
    font-weight: 600;
    margin-left: 15px;
}


input.desired_location_input {
    max-width: 80%;
    margin: 0 15px !important;
}

input[type="text"],
input[type="email"],
input[type="date"],
.select-wrap,
textarea {
    /* margin-left: 15px !important; */
    margin-left: 0 !important;
    max-width: calc(100% - 2rem);
    margin-bottom: 9px !important;
}

label{
    padding-left:0 !important;
}


p.billing-address-title {
    font-size: 1.3rem;
    margin-top: 16px !important;
}

.inner-page.text-page.margin-default {
    padding-top: 2rem;
}

.connection-label {
    display: flex;
    line-height: 1.5em;
    gap: 4px;
    margin-bottom: 4px;
}

.s-24-speed-table-heading h2 {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 0;
    padding-top: 12px;
    /* margin-left: 15px; */
}

.s-24-speed-table-heading p {
    margin-bottom: 0 !important;
    /* line-height: 1.5rem; */
}

.s-24-speed-table-heading {
    margin-bottom: 1rem;
}

label.s24-radio-label.hardware-label span {
    font-weight: 600;
}

.location-app {
    align-items: baseline;
    max-width: calc(100% - 1.5rem);
}

span.clear-button {
    cursor: pointer;
}

.items-baseline {
    align-items: baseline;
}

.s-24-error {
    display:block; margin:0; margin-top:1rem;
    background: #890909;
    font-size: 1.5rem;
    /*margin-left: 15px;*/
    /* bottom: 0; */
    /* left: 0; */
    /* right: 0; */
    /* z-index: 9999; */

    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
    padding: .5rem;
    /* padding-bottom: 0; */
    /* margin: 1rem; */
    color: white;
    border-radius: .5rem;
}

.s-24-cart-item>div {
    line-height: 1.1em;
}

.search-from-address__body>input {
    min-width: 156px;
}

.address-not-found {
    text-align: center;
}

.s-24-cart-empty {
    margin-top: 1rem
}

input[name="telephony_options_number"],
input[name="connection_number"] {
    padding: 8px !important;
    max-width: 160px;
}

label.required {
    position: relative;
}

.s-24-stepform-container .required[data-target]::after,
.s-24-stepform-container label.required::after {
    content: "*";
    position: relative;
    top: 2px;
    right: -2px;
    font-size: 1em;
    color: red;
}

input[type="radio"].hidden+.custom-checkbox {
    /* custom checkbox */
    height: 1em;
    width: 1em;
    border-radius: 999px;
    border: 1px solid #989898;
    margin-right: .5rem;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    margin-top: -1px;
}

input[type="radio"].hidden:checked+.custom-checkbox {
    /* background: #ccc; */
    position: relative;
    border-color: dodgerblue;
}

input[type="radio"].hidden:checked+.custom-checkbox:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: .5em;
    height: .5em;
    background: dodgerblue;
    border-radius: 999px;
    transition: all .3s ease;
}

/* Mobile only css */
@media screen and (max-width: 768px) {
    .s-24-sticky-form-container {
        flex-direction: column;
        gap: 1rem;
        line-height: 1em;
    }

    .s-24-form-step-1-container>div,
    .s-24-form-step-2-container div {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .next-button {
        margin-top: 0;
    }

    form.s24-form-main {
        padding: 0;
        border: none;
    }

    .step-3-first {
        flex-direction: column;
    }

    .s-24-cart-item {
        grid-template-columns: 2fr 1fr 1fr;
        gap: .25rem;
    }

    .cart-heading-title {
        margin: 0;
    }

    .s-24-cart-container-visible {
        overflow-y: auto;
        bottom: 0;
    }

    .search-from-address__body {
        flex-direction: column;
    }

    .search-from-address__body>input {
        width: 100%;
    }

    .s-24-cart-item>div {
        line-height: 1.9em;
    }
}
