:root {
    --atlui-blue: #1d92df;
    --atlui-blue-alpha: rgba(29, 146, 223, .25);
    --atlui-blue-alpha-btn: rgba(29, 146, 223, .75);
    --atlui-red: #db2222;
    --atlui-red-alpha: rgb(219, 34, 34, .25);
    --atlui-black: #0a0a0a;
}

*, *::before, *::after{
    margin: 0;
    padding: 0;
    outline: 0;
    box-sizing: border-box;
    line-height: 1.35;
}

body {
    width: 100%;
    font-family: Roboto, sans-serif;
}

.atlui_hidden {
    display: none !important;
}

.atlui_invisible {
    visibility: hidden;
}

.atlui_block {
    display: block;
}

.atlui_add_margin_top {
    margin-top: 20px;
}

.atlui_form_wrapper {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.atlui_form_title {
    font-size: 1.5em;
}

/* ======== From & Custom Element Styles ======== */

.atlui_form {
    background: #fff;
    color: var(--atlui-black);
    padding: 20px;
}

.atlui_form input[type="text"], input[type="number"], input[type="time"], select, textarea {
    min-height: 2.2em;
    border-radius: 2px;
    border: 1px solid var(--atlui-blue);
    padding: 3px;
    font-size: 1.1em;
    color: var(--atlui-black);
    background-color: var(--atlui-blue-alpha);
}

.atlui_form textarea {
    resize: none;
    min-height: 140px;
    font-family: Roboto, sans-serif;
}

.atlui_form input::-webkit-outer-spin-button,
.atlui_form input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.atlui_form label {
    font-size: .9em;
    user-select: none;
    display: inline;
    margin: 0;
}

.atlui_form button {
    background: var(--atlui-blue);
    width: 100%;
    color: #fff;
    cursor: pointer;
    padding: 9px 18px;
    border: 1px;
    margin-top: 10px;
    border-radius: 2px;
    font-size: 1em;
}

.atlui_span_validation_error {
    font-size: .85em;
    color: var(--atlui-red);
}

.atlui_element_validation_error {
    border: 1px solid var(--atlui-red) !important;
    background-color: var(--atlui-red-alpha) !important;
}

.atlui_info_text {
    font-size: 0.8em;
    color: #5c5c5c;
    margin-bottom: 0;
}

/* ======== Switch Field ========= */
.atlui_switch_field {
    width: 100%;
    display: flex;
    margin-bottom: 20px;
    margin-top: 5px;
}

.atlui_center_switch_field {
    justify-content: center;
}

.atlui_switch_field input {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
}

.atlui_switch_field label {
    background-color: #fff;
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
    line-height: 1;
    text-align: center;
    padding: 8px 16px;
    margin-right: -1px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    transition: all 0.1s ease-in-out;
    min-width: 65px;
}

.atlui_switch_field label:hover {
    cursor: pointer;
}

.atlui_switch_field input:checked + label {
    background-color: var(--atlui-blue-alpha);
}


/* ======== Section & Grid ======== */
.atlui_form_section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 20px;
    column-gap: 20px;
    margin-bottom: 30px;
}

.atlui_form_section_last {
    margin-bottom: 5px;
}

.col_full_width {
    grid-column: 1 / 3;   
}

@media (width <= 670px) {
    .col_full_width_mobile {
        grid-column: 1 / 3;   
    }

    .atlui_info_text {
        margin-bottom: 10px;
    }
}

.col_center {
    text-align: center;
}

.w100 {
    width: 100%;
}

/* Google places overrides */
.pac-icon-marker {
    display: none !important;
}

.pac-logo::after {
    display: none !important;
}

/* ======== SMS verification ======== */
.atlui_verification_input {
    text-align: center;
    width: 3rem;
    height: 2rem;
}

.altui_description {
    font-size: .9em;
    text-align: center;
}

.atlui_container_verification {
    min-width: 600px !important;
}

/* ======== Lead Checkmark ======== */

.atlui_lead_checkmark {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: var(--atlui-blue);
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px var(--atlui-blue);
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
    position:relative;
    top: 5px;
    right: 5px;
    margin: 0 auto;
    margin-bottom: 20px;
}
.atlui_lead_checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--atlui-blue);
    fill: #fff;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
 
}

.atlui_lead_checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px var(--atlui-blue);
    }
}

/* ======== Loading Animation ======== */
.atlui_load_spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    border-width: 3px;
    border-color: rgb(255, 255, 255, .3);
    border-top-color: #fff;
    border-radius: 100%;
    border-style: solid;
    animation: altui_spin 1s infinite linear;
}

@keyframes altui_spin {
    100% {
        transform: rotate(360deg);
    }
}

body.progress-hidden .atlui_progress_container {
  display: none !important;
}
