/* Debug */
.rb {
    border: 3px dashed red;
}
.mb {
    border: 3px dashed magenta;
}
.gb {
    border: 3px dashed lime;
}
.bb {
    border: 3px dashed blue;
}

/* Reset */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
}
* {
    box-sizing: border-box;
}
.input {
    padding-bottom: 1em;
}
/* radio buttons */
fieldset>legend {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: bold;
}
fieldset>label {
    margin-left: 10px;
}
body > div.clearfix,
body > div.col-md-4.col-md-offset-4 {
    display: none;
}

/* Variables */
:root {
    /* COLORS */

    /* commonly used colors */

    /* black/white */
    --color-black: black;
    --color-grey-20: hsl(0, 0%, 20%);
    --color-grey-40: hsl(0, 0%, 40%);
    --color-grey-60: hsl(0, 0%, 60%);
    --color-grey-80: hsl(0, 0%, 80%);
    --color-white: white;

    --color-purple: hsl(290, 62%, 37%);
    --color-purple-dark: hsl(290, 62%, 27%);
    --color-purple-light: hsl(290, 62%, 47%);

    --color-red: hsl(0, 72%, 49%);
    --color-red-rgb: 215, 35, 35;
    --color-red-light: hsl(0, 72%, 59%);
    --color-red-dark: hsl(0, 72%, 39%);

    /* blues */
    --color-blue1: hsl(205,68%,95%);
    --color-blue2: hsl(226,69%,23%);
    --color-blue3: hsl(205,65%,90%);

    /* material design blue */
    --color-blue50: #e3f3fe;
    --color-blue100: #bbe0fe;
    --color-blue200: #8fcdff;
    --color-blue300: #61b9fe;
    --color-blue400: #3aaaff;
    --color-blue500: #0098ff;
    --color-blue600: #078df0;
    --color-blue700: #047add;
    --color-blue800: #0269cb;
    --color-blue900: #004bac;

    /* main colors (primary/secondary/tertiary) */
    --color-primary: hsl(217, 100%, 22%);
    --color-primary-light: hsl(217, 100%, 32%);
    --color-primary-dark: hsl(217, 100%, 12%);
    --color-primary-rgb: 0, 43, 112;
    --color-primary-trans: rgba(var(--color-primary-rgb), 0.6);

    --color-secondary: #428ca6;
    --color-secondary: hsl(196, 43%, 45%);
    --color-secondary: rgb(66, 140, 166);

    --color-tertiary: rgb(255, 255, 255);
    --color-tertiary-rgb: 255, 255, 255;

    --color-quaternary: hsl(0, 68%, 48%);
    --color-quaternary-light: hsl(0, 68%, 58%);
    --color-quaternary-dark: hsl(0, 68%, 38%);
    --color-quaternary-rgb: 206, 39, 39;
    --color-quaternary-trans: rgba(var(--color-quaternary-rgb), 0.6);

    /* utilities */
    --color-text-dark: var(--color-grey-20);
    --color-text-light: white;

    /* SPECIFIC ELEMENTS */

    /* header */
    --color-header-bg: white;
    --color-header-logo-bg: white;

    /* footer */
    --color-footer-bg: white;
    --color-footer-text: #333;

    /* buttons */
    --color-button-primary: var(--color-primary);
    --color-button-primary-hover: var(--color-primary-light);

    /* hero */
    --hero-copy-location: start; /* start, center, end */
    --hero-min-height: 83vh;
    --hero-max-left-column: 1000px;
    --hero-max-right-column: 700px;

    /* icons-panel */
    --icons-panel-bg: white;
    --icons-panel-text: var(--color-primary);
    --icons-panel-mast-text: var(--color-primary);
    --icons-panel-mobile-border: 3px solid var(--color-primary);
    --icons-panel-icon-border: 5px solid var(--color-primary-dark);
    --icons-panel-rounded: 8px;
    --icons-panel-color-bg: white;
    --icons-panel-color-text: inherit;
    --icons-panel-icon-bg: var(--color-primary-light);
    --icons-panel-icon-text: white;

    /* hero popup */
    --color-hero-popup: var(--color-primary);

    /* testimonials */
    --testimonial-icon: var(--color-purple);

    /* faq */
    --color-faq-border: var(--color-blue900);
    --color-faq-panel: var(--color-blue50);
    --color-faq-header-bg: var(--color-blue100);
    --color-faq-header-text: #0d1a45;

    /* carousel */
    --color-carousel-bg-light: white;
    --color-carousel-bg-dark: #333;

    --color-form-divider: var(--color-primary-dark);
    --color-tile-bg: var(--color-primary-dark-rgb);
}

/* Utilities */

/* Containers */
.container-xs {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}
.container-sm {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}
.container-md {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}
.container-lg {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}
.container-xl {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Panel Alterations */
.panel-rounded {
    border-radius: 8px;
}
.panel-top {
    border-bottom: none !important;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.panel-bottom {
    border-top: none !important;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* Panel Basic */
.panel-basic {
    background: #eee;
}

/* Panel Solid */
.panel-solid {
    border: 1px solid white;
    color: white;
    background: hsl(273, 25%, 28%);
}
.panel-solid.alt {
    border: 1px solid rgb(26, 35, 126);
}

/* Panel Card */
.panel-card {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12),
                0 1px 2px rgba(0, 0, 0, 0.24);
}

/* Panel Transparent */
.panel-transparent {
    color: #333;
    background: rgba(255, 255, 255, 0.7);
}

/* Panel Outline */
.panel-outline {
    border: 1px solid rgb(26, 35, 126);
    /* background: rgba(26, 35, 126, 0.2); */
    background: rgba(255,255,255,0.4);
}

/* Panel Image Borders (Needs border-image-source in ctp) */
/* border-image-slice is how much of the image to repeat, should be < 49% */
.panel-solar {
    border-style: solid;
    border-image-repeat: round;
    border-image-slice: 12.75%;
    border-width: 2em;
}
.panel-cobwebs {
    border-style: solid;
    border-image-repeat: round;
    border-image-slice: 25%;
    border-width: 1em;
}

/* Panel Image */
/* 2 divs: first is for image, second is for copy/nested panels */
.panel-image {
    position: relative;
}
.panel-image img {
    width: 100%;
}
.panel-image > div:last-child {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Panel Slant */
.panel-slant-left,
.panel-slant-right {
    display: none;
}
@supports(display: flex) {
    .panel-slant {
        display: flex;
    }
    .panel-slant-body {
        flex: 1;
    }
    .panel-slant-body .copy {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .panel-slant-left,
    .panel-slant-right {
        width: 2em;
        display: flex;
        flex-direction: column;
    }
    .panel-slant-left-bottom,
    .panel-slant-right-top {
        flex: 1;
    }
    .panel-slant-left-top,
    .panel-slant-right-bottom {
        height: 2em;
    }
    .panel-slant-left-top:before,
    .panel-slant-right-bottom:before {
        content: '';
        position: absolute;
    }
}
/* Panel Slant Color - Default */
.panel-slant-body {
    background: rgba(255,255,255,0.8);
}
.panel-slant-left-bottom,
.panel-slant-right-top {
    background: rgba(255,255,255,0.8);
}
.panel-slant-left-top:before {
    border-bottom: 2em solid rgba(255,255,255,0.8);
    border-left: 2em solid transparent;
}
.panel-slant-right-bottom:before {
    border-top: 2em solid rgba(255,255,255,0.8);
    border-right: 2em solid transparent;
}
/* Panel Slant Color - Primary */
.panel-slant-primary .panel-slant-body {
    color: white !important;
}
.panel-slant-primary .panel-slant-body {
    background: rgba(156, 39, 176, 0.8);
}
.panel-slant-primary .panel-slant-left-bottom,
.panel-slant-primary .panel-slant-right-top {
    background: rgba(156, 39, 176, 0.8);
}
.panel-slant-primary .panel-slant-left-top:before {
    border-bottom: 2em solid rgba(156, 39, 176, 0.8);
}
.panel-slant-primary .panel-slant-right-bottom:before {
    border-top: 2em solid rgba(156, 39, 176, 0.8);
}
/* Panel Slant Size - Large */
.panel-slant-lg  .panel-slant-left,
.panel-slant-lg  .panel-slant-right {
    width: 4em;
}
.panel-slant-lg  .panel-slant-left-top,
.panel-slant-lg  .panel-slant-right-bottom {
    height: 4em;
}
.panel-slant-lg .panel-slant-left-top:before {
    border-bottom-width: 4em;
    border-left: 4em solid transparent;
}
.panel-slant-lg .panel-slant-right-bottom:before {
    border-top-width: 4em;
    border-right: 4em solid transparent;
}
/* Panel Slant Size - Small */
.panel-slant-sm  .panel-slant-left,
.panel-slant-sm  .panel-slant-right {
    width: 1em;
}
.panel-slant-sm  .panel-slant-left-top,
.panel-slant-sm  .panel-slant-right-bottom {
    height: 1em;
}
.panel-slant-sm .panel-slant-left-top:before {
    border-bottom-width: 1em;
    border-left: 1em solid transparent;
}
.panel-slant-sm .panel-slant-right-bottom:before {
    border-top-width: 1em;
    border-right: 1em solid transparent;
}

/* Copy */
.copy {
    padding: 2em;
}
.copy.copy-sm {
    padding: 1em;
}
.copy h1, .copy h2, .copy h3 {
    margin-bottom: 0.5em;
}
.copy > :first-child {
    margin-top: 0;
}
.copy > :last-child {
    margin-bottom: 0;
}
.copy.center h1, .copy.center h2, .copy.center h3 {
    text-align: center;
}

/* Force text color for nested panels */
.copy.copy-dark {
    color: #333 !important;
}
.copy.copy-light {
    color: white !important;
}
.copy.copy-light-shadow {
    color: white !important;
    text-shadow:1px 1px 1px black,1px -1px 1px black,-1px 1px 1px black,-1px -1px 1px black;
}
.copy.copy-dark-shadow {
    color: #333 !important;
    text-shadow:1px 1px 1px white,1px -1px 1px white,-1px 1px 1px white,-1px -1px 1px white;
}

/* Buttons */
.button {
    border: 2px solid black;
    background: black;
    color: white;
    padding: 0.25em 1em !important;
    font-size: 16px;
    transition: all 0.3s;
    margin-top: 0.5em;
    text-transform: uppercase;
    font-weight: bold;
}
.button:hover {
    border-color: #222;
    background: #222;
}
.button-sm {
    font-size: 0.85em;
    border-width: 1px;
}
.button-lg {
    font-size: 24px;
    border-width: 4px;
}
.button-xl {
    border-width: 6px;
    font-size: 1.7em;
}
.button-ghost {
    background: transparent;
    color: black;
}
.button-ghost:hover {
    border-color: black;
    background: black;
    color: white;
}
.button-round {
    border-radius: 8px;
}

/* Button Primary */
.button-primary {
    border-color: var(--color-button-primary);
    background: var(--color-button-primary);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.button-primary:hover {
    border-color: var(--color-button-primary-hover);
    background: var(--color-button-primary-hover);
    box-shadow: 5px 5px 0 rgb(0 0 0 / 20%);
}
.button-primary.button-ghost {
    background: transparent;
    color: #1a237e;
}
.button-primary.button-ghost:hover {
    border-color: #1a237e;
    background: #1a237e;
    color: white;
}

/* Button Secondary */
.button-secondary {
    border-color: var(--color-tertiary-light);
    background: var(--color-tertiary-light);
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.button-secondary:hover {
    border-color: var(--color-tertiary-extralight);
    background: var(--color-tertiary-extralight);
    box-shadow: 5px 5px 0 rgb(0 0 0 / 20%);
}

/* Masthead */
.masthead {
    color: #333;
    text-align: center;
    padding: 2em 1em;
}

/* Iconbox */
.iconbox {
    height: 120px;
    width: 120px;
    background: #1a237e;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2em auto;
}
.iconbox i {
    font-size: 75px;
    padding: 20px;
    color: white;
}
.iconbox.alternate {
    background: #b71c1c;
}

/* Image Radio Buttons */
.image-radio legend {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: bold;
}
.image-radio > div {
    display: inline-block;
    padding: 0.5em;
    width: 50%;
}
.image-radio label {
    margin: 0;
    text-align: center;
}
.image-radio label::after {
    padding-top: 1em;
}
.image-radio img {
    margin-bottom: 0.5em;
    width: 100%;
    border: 5px solid white;
    border-radius: 5px;
    box-shadow: 0px 0px 12px 2px rgba(0,0,0,0.5);
    opacity: 0.5;
    background-color: #b4e8ff;
}
.image-radio img:hover {
    opacity: 1;
    cursor: pointer;
}
.image-radio input {
    opacity: 0;
    position: absolute;
}
/* selected */
.image-radio input:checked + label::after {
    color: #b71c1c;
}
.image-radio input:checked + label > img {
    border-color: #b71c1c;
    opacity: 1;
}
@supports (grid-area: auto) {
    @media screen and (min-width: 850px) {
        /* undo gridless */
        .image-radio > div {
            display: block;
            width: 100%;
            padding: 0;
            padding-bottom: 1em;
        }
        /* grid */
        .image-radio {
            display: grid;
            grid-gap: 0 1em;
            /* grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); */
            grid-template-columns: 1fr 1fr;
        }
        .image-radio legend {
            grid-column: 1 / -1;
        }
    }
}

.encroach {
    z-index: 10;
    margin-top: -5em !important;
}
.encroach-offset {
    z-index: 10;
    margin-bottom: 3em !important;
}
section {
    padding: 2em 0;
}
section:has(+ .encroach) {
    padding: 2em 0 5em;
}

/* Sections */

/* Header */
header {
    background: transparent;
    padding-bottom: 1em;
}
.header-logo {
    padding: 1em;
}
.header-logo img {
    width: 100%;
    max-width: 300px;
    padding: 1em;
}
.header-phone a {
    display: inline-block;
    margin-top: 0;
}
header {
    text-align: center;
}
header a,
header a:focus,
header a:hover {
    color: white;
    text-decoration: none;
}
.header-inner > div {
    margin-bottom: 0.5em;
}
.header-inner > div:last-child {
    margin-bottom: 0;
}
.header-inner > div:not(:first-child) {
    padding: 0 1em;
}
@media screen and (min-width: 850px) {
    header {
        padding-bottom: 0;
    }
    .header-inner {
        padding-right: 2em;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .header-inner > div {
        margin-bottom: 0;
    }
    .header-inner > div:not(:first-child) {
        padding: 0;
    }
    .header-logo {
        padding: 1em;
    }
    .header-logo img {
        max-width: none;
        width: 250px;
    }
}

/* Footer */
footer {
    background: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding: 1em;
}
@media screen and (min-width: 850px) {
    footer {
        padding: 1em 2em;
    }
}

/* Layout */
.layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Elements? */

/* tooltip */
.tooltip {
    opacity: 1 !important;
    font-size: 12px;
    padding: 1em !important;
    border-radius: 4px;
    background: radial-gradient(rgba(0,0,0,0.2), transparent);
}
.tooltip-inner {
    padding: 1em;
    background: white;
    color: black;
}
.tooltip-arrow {
    bottom: 0.55em !important;
    z-index: 100;
    border-top-color: white !important;
}

/* inputs, labels, jumping labels */
.input label {
    font-size: 16px;
}
.input.jumping {
    padding-top: 1.2em;
}
.input.jumping label {
    position: absolute;
    padding-left: 1em;
    transform: translateY(-2em);
    transition: transform 200ms, color 200ms;
    color: #999;
    pointer-events: none;
}
.input.jumping .form-control:focus ~ label,
.input.jumping .form-control:not(:placeholder-shown) ~ label {
    transform: translateY(-4.3em);
    color: var(--color-primary);
}

/* select */
.input.jumping select {
    padding: 0.8em;
}

/* submit button */
.button[type="submit"] {
    padding: 0.1em 3em;
}

/* small text */
p > small {
    font-size: 12px;
    text-align: center;
}

/* modal */
.modal {
    padding: 0 !important;
}
.modal-dialog {
    margin: 0;
    width: 100%;
}
.modal-content {
    min-height: 100vh;
    border: none;
    border-radius: 0;
}
.modal-footer {
    padding: 0;
}
.modal-content {
    display: flex;
    flex-direction: column;
}
.modal img {
    width: 100%;
    max-width: 250px;
    padding: 1.5em;
}
.modal-content {
    position: relative;
}
.modal-header {
    text-align: center;
    display: grid;
    align-items: center;
    justify-content: center;
    grid-gap: 1em;
}
.modal-header .modal-title {
    text-align: center;
}
.modal button {
    position: fixed;
    top: 0.5em;
    right: 2em;
    z-index: 1051;
}
.modal-body {
    flex: 1;
}
@media screen and (min-width: 850px) {
    .modal-header::before {
        content: '';
        display: none;
    }
    .modal-header {
        grid-template-columns: 250px 1fr 250px;
    }
}

/* input groups */
.modal .input-group {
    display: flex;
}
.modal .input-group > :first-child {
    flex: 1;
}
.modal .input-group > :last-child {
    flex: 4;
}
.modal .input-group-addon h4 {
    text-align: left;
}
.modal .input-group-addon {
    white-space: unset;
    display: flex;
    align-items: center;
}
.modal .input-group .panel {
    margin: 0;
    width: 100%;
    min-height: 100%;
}
.modal .panel .input-group-addon {
    background: white;
}

/* modal table */
tbody p {
    margin: 0;
}
tbody td, thead th {
    vertical-align: middle !important;
}
tbody td:last-child,
tbody td:nth-child(2) {
    text-align: center;
}

.big-box-shadow {
    box-shadow: 0 20px 40px 8px rgb(0 0 0 / 25%);
}
.big-box-shadow-light {
    box-shadow: 0 20px 40px 8px rgb(255 255 255 / 25%);
}
.text-shadow {
    text-shadow:3px 3px 5px black;
}

/* accreditation images */
.accreditation {
    background: rgba(215,35,35, 0.8);
}
.accreditation-images {
    padding-bottom: 1em;
    max-width: 200px;
    margin: 0 auto;
}
.accreditation img {
    width: 100%;
    padding: 1em 0.5em;
}
@media screen and (min-width: 500px) {
    .accreditation-images {
        display: flex;
        justify-content: center;
        flex-flow: wrap;
        gap: 1em 0;
        max-width: none;
    }
    .accreditation img {
        width: auto;
        max-width: none;
        max-height: calc(100px + 2em);
        border-right: 1px solid #ccc;
        padding: 1em 2em;
    }
    .accreditation img:last-child {
        border-right: none;
    }
}

/* cta */
.cta {
    padding: 2em;
    display: grid;
    grid-gap: 2em;
}
.cta.spacer {
    padding: 1em;
}
.cta.alt {
    background: white !important;
}
.cta .button {
    margin-top: 0;
}
.cta a {
    text-align: center;
    display: inline-block;
}
.cta a,
.cta a:focus,
.cta a:hover {
    color: white;
    text-decoration: none;
}
@media screen and (min-width: 850px) {
    .cta {
        padding: 4em;
        grid-gap: 4em;
        grid-template-columns: 1fr 1fr;
    }
    .cta.spacer {
        padding: 2em;
    }
}
@media screen and (min-width: 1000px) {
    .cta > :first-child {
        grid-column: 2;
    }
    .cta {
        grid-template-columns: 1fr 35vw 35vw 1fr;
    }
}
@media screen and (min-width: 1400px) {
    .cta {
        grid-template-columns: 1fr 25vw 25vw 1fr;
    }
}

hr {
    width: 80px;
    border-top: 8px solid var(--color-primary);
}
hr.alt {
    border-top: 8px solid var(--color-primary);
}
p {
    font-size: 2rem;
}
main {
    position: relative;
}
main > * {
    position: relative;
}

/* Hero */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 10;
}
.hero-inner {
    padding-bottom: 1em;
}
.hero-copy {
    background-image: linear-gradient(
        rgba(var(--color-primary-dark-rgb), 0.5),
        rgba(var(--color-primary-dark-rgb), 1)
    );
    color: white;
    text-align: center;
}
.hero-copy.new {
    background: none;
    height: auto;
    padding: 1em;
}
.hero-copy li i {
    vertical-align: middle;
}
@media screen and (min-width: 850px) {
    .hero-inner {
        display: grid;
        grid-template-columns:
            minmax(0, 1fr)
            minmax(auto, var(--hero-max-left-column))
            minmax(auto, var(--hero-max-right-column))
            minmax(0, 1fr);
    }
    .hero-copy {
        grid-column: 2;
        align-self: var(--hero-copy-location);
    }
    .hero .form {
        grid-column: 3;
    }
    .hero-copy ul {
        grid-template-columns: repeat(3, auto);
    }
}

.greeting {
    padding-top: 0.5em;
}

/* Hero Popup */
.hero-popup {
    color: white;
    padding: 1em;
    margin-top: 15em;
    z-index: 20;
}
.hero-popup-inner {
    background: var(--color-hero-popup);
    padding: 0.5em 1em;
    border-radius: 15px;
    max-width: 400px;
    margin: 0 auto;
}
.hero-popup-inner p {
    margin: 0;
}
@media screen and (min-width: 850px) {
    .hero-popup {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        margin-top: 8em;
    }
    .hero-popup-inner {
        max-width: none;
    }
}

/* Form */
.form {
    position: relative;
    z-index: 15;
    max-width: 600px;
    margin: 0 auto;
}
.form-wrap {
    position: relative;
    z-index: 2;
    padding-top: 1em;
    max-width: 600px;
    margin: 0 auto;
}
.form-inner {
    border-radius: 15px;
}
.form ul {
    padding: 0 1em;
}
.form ul > * {
    border-bottom: 1px solid #333 !important;
}
.form ul > li a,
.form ul > li a:hover {
    background: white;
    border: 1px solid #333;
    font-weight: bold;
    color: var(--color-primary);
}
.form ul > li.active a {
    background: var(--color-primary) !important;
    color: white !important;
    font-weight: bold;
}
.form ul a {
    margin-bottom: 0 !important;
}
@media screen and (min-width: 850px) {
    .form {
        display: grid;
        justify-content: stretch;
        max-width: none;
        margin: 0;
    }
    .form-wrap {
        max-width: none;
        width: 100%;
        padding: 0 2em;
    }
}

/* Form Copy */
.form-copy {
    margin-top: 2em;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(auto, 200px) minmax(auto, 200px) minmax(0, 1fr);
    grid-template-areas:
        'h h h h'
        'r r r r'
        '. i i .'
        'p p p p'
        '. . . .'
        'b b b b';
    margin-bottom: 1em;
}
.form-copy h3 {
    text-align: center;
}
.form-copy-image {
    grid-area: i;
    width: 100%;
}
.form-copy h1 {
    grid-area: h;
    text-align: center;
}
.form-copy hr {
    grid-area: r;
}
.form-copy-inner {
    grid-area: p;
    margin-top: 1em;
    padding: 0 1em;
}
.form-copy .button {
    grid-area: b;
    justify-self: center;
}
@media screen and (min-width: 850px) {
    .form-copy {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
        'i h'
        'i r'
        'i p'
        'i .'
        'i b';
        margin-bottom: 2em;
    }
    .form-copy h3 {
        text-align: left;
    }
    .form-copy.alt {
        grid-template-areas:
        'h i'
        'r i'
        'p i'
        '. i'
        'b i';
    }
}

/* Big Image */
.copy2 {
    padding: 1em;
}
.copy2-calculator {
    background: var(--color-copy2-bg);
}
.copy2 h1 {
    text-align: center;
}
.copy2-img {
    padding: 1em 1em 0 1em;
    max-width: 400px;
    margin: 0 auto;
}
.copy2 img {
    width: 100%;
}
.copy2-calculator {
    grid-template-columns: 1fr 1fr;
}
.copy2-calculator-inner {
    color: white;
    padding: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1em;
}
@media screen and (min-width: 850px) {
    .copy2 {
        padding: 2em;
    }
    .copy2-calculator-inner {
        padding: 2em;
    }
}
@media screen and (min-width: 1050px) {
    .copy2-calculator {
        display: grid;
        grid-template-columns: 2fr 1fr;
    }
    .copy2-img {
        max-width: none;
        margin: 0;
        padding: 0;
    }
}

/* Generic Sections */
section > div {
    display: flex;
    flex-direction: column;
}
section > div > div {
    flex: 1;
}
section > div > div:has(img) {
    position: relative;
}
section > div > div > div {
    padding: 1em 2em;
}
section > div > div > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media screen and (min-width: 850px) {
    section > div {
        flex-direction: row;
        max-width: none;
    }
    section > div > div > img {
        position: absolute;
        top: 0;
        left: 0;
    }
}

/* Section Modifiers */
section.debug {
    border: 5px solid red;
}
section.debug > div {
    border: 5px dashed blue;
}
section.debug > div > div {
    border: 5px solid lime;
}
section.debug > div > div > img {
    border: 5px solid magenta;
}
section.pad {
    padding: 2em;
}
section.img-border img {
    border: 1px solid white;
}

/* ==== NAMED SECTIONS ==== */

/* ICONS PANEL */

/* Icons Panel Variant 0: vertical middle circle -> h2, icon(font awesome), h3 */
.icons-panel {
    z-index: 10;
    padding: 0;
    color: var(--icons-panel-color-text);
}
.icons-panel-inner {
    padding: 1em;
    gap: 2em 1em;
}
.icons-panel-item {
    text-align: center;
    padding: 1em;
    border-radius: var(--icons-panel-rounded);
    background: var(--icons-panel-color-bg);
}
.icons-panel-icon {
    border-radius: 50%;
    border: var(--icons-panel-icon-border);
    background: var(--icons-panel-icon-bg);
    color: var(--icons-panel-icon-text);
    width: 75px;
    height: 75px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.icons-panel.shadow .icons-panel-item {
    box-shadow: 0 20px 40px 8px rgb(0 0 0 / 25%);
}
@media screen and (min-width: 850px) {
    .icons-panel {
        padding: 2em 0;
    }
    .icons-panel-inner {
        margin: 0 2em;
        border-radius: var(--icons-panel-rounded);
        background: var(--icons-panel-color-bg);
    }
    .icons-panel-item {
        border-radius: none;
        background: transparent;
    }
    .icons-panel.shadow .icons-panel-inner {
        box-shadow: 0 20px 40px 8px rgb(0 0 0 / 25%);
    }
    .icons-panel.shadow .icons-panel-item {
        box-shadow: none;
    }
}

/* Icons Panel Variant 1: vertical top icon -> icon(img), h3 */
.icons-panel.v1 .icons-panel-icon {
    border: none;
    background: transparent;
    color: var(--icons-panel-icon-text);
}
@media screen and (min-width: 650px) {
    .icons-panel.v1 .icons-panel-inner {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* Icons Panel Variant 2: vertical with masthead and circles -> icon(font awesome), h2 */
.icons-panel.v2 .masthead {
    display: block;
    justify-self: center;
}
.icons-panel.v2 .icons-panel-icon {
    border: 5px solid var(--icons-panel-icon-bg);
    width: 100px;
    height: 100px;
}
.icons-panel.v2.alt .icons-panel-icon {
    border-color: transparent;
    background: transparent;
    color: var(--icons-panel-icon-bg);
}
.icons-panel.v2 h2 {
    padding: 0.5em 0;
}
@media screen and (min-width: 850px) {
    .icons-panel.v2 .icons-panel-inner {
        display: flex;
    }
    .icons-panel.v2 .icons-panel-inner > * {
        flex: 1;
    }
}

/* Icons Panel Variant 3: Horizontal -> icon, (Vertical: h3, p) */
.icons-panel.v3 .icons-panel-item {
    margin-bottom: 2em;
    padding: 1em;
    display: grid;
    grid-template-columns: auto 1fr;
    border-radius: 8px;
    border: none;
}
.icons-panel.v3 .icons-panel-icon {
    grid-row: span 2;
    align-self: center;
    text-align: right;
    padding-right: 1em;
}
.icons-panel.v3 .icons-panel-icon-inner {
    border-radius: 50%;
    margin: 0 0 0 auto;
}
.icons-panel.v3 .icons-panel-header {
    padding-bottom: 1em;
}
.icons-panel.v3 .icons-panel-copy {
    padding-top: 1em;
    grid-column: 2;
}
@media screen and (min-width: 850px) {
    .icons-panel.v3 .icons-panel-header {
        padding: 1em 0 0.5em;
    }
    .icons-panel.v3 .icons-panel-copy {
        padding: 0.5em 0;
    }
    .icons-panel.v3 .icons-panel-inner {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 2em;
    }
    .icons-panel.v3 .icons-panel-item {
        border: none;
        max-width: none;
        margin: 0;
    }
    .icons-panel.v3 .icons-panel-icon {
        order: -1;
    }
    .icons-panel.v3 .icons-panel-item p {
        margin-top: 0;
    }
}
@media screen and (min-width: 850px) {
    .icons-panel.v3 .icons-panel {
        border-radius: 8px;
    }
    .icons-panel.v3 .icons-panel > h1 {
        text-align: center;
    }
    .icons-panel.v3 .icons-panel-header {
        padding: 0;
    }
    .icons-panel.v3 .icons-panel-copy {
        padding: 0;
    }
}
@media screen and (min-width: 1350px) {
    .icons-panel.v3 .icons-panel {
        padding: 1em;
        margin-left: 5em;
        margin-right: 5em;
    }
    .icons-panel.v3 .icons-panel-item h4.text-left {
        padding-left: 15%;
    }
}
.icons-panel.v3 img {
    height: 100px;
}

/* Icons Panel Variant 4: v2 but with img */
.icons-panel.v4 .masthead {
    display: block;
    justify-self: center;
}

.icons-panel.v4 .icons-panel-icon {
    border: none;
    background: transparent;
    width: 100px;
    height: 100px;
}
.icons-panel.v4 h2 {
    padding: 0.5em 0;
}
@media screen and (min-width: 850px) {
    .icons-panel.v4 .icons-panel-inner {
        display: flex;
    }
    .icons-panel.v4 .icons-panel-inner > * {
        flex: 1;
    }
}

/* TESTIMONIALS */

/* Testimonials Variant 0:  */
.testimonials {
    text-align: center;
}
.testimonials > div {
    flex-direction: column;
}
.testimonials > div > div:last-child {
    padding: 0 1em;
    max-width: 400px;
    margin: 0 auto;
    display: grid;
    grid-gap: 1em 0;
}
.testimonials > div > div:last-child > div {
    display: flex;
    flex-direction: column;
    padding: 1em 1em 0;
}
.testimonials > div > div:last-child > div h1 {
    font-size: 3.5em;
    margin-bottom: 0.25em;
}
.testimonials > div > div:last-child > div p {
    text-align: left;
}
.testimonials > div > div:last-child > div > div {
    flex: 1;
}
p.stars .fa {
    color: yellow;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: orange;
}
.testimonial-icon {
    background: var(--testimonial-icon);
    color: white;
    float: left;
    height: 50px;
    width: 50px;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    line-height: 1.7;
    border-radius: 50%;
    margin-right: 0.5em;
}
@media screen and (min-width: 650px) {
    .testimonials > div > div:last-child {
        padding: 0 2em;
        max-width: none;
        grid-template-columns: 1fr 1fr;
        grid-gap: 2em;
    }
}
@media screen and (min-width: 1000px) {
    .testimonials > div > div:last-child {
        grid-template-columns: repeat(6, 1fr);
    }
    .testimonials > div > div:last-child > div {
        padding: 1.5em 1.5em 0.5em;
        grid-column: span 2;
    }
}

/* Testimonials Variant 1 (Supported Industries) */
.v1 .testimonial-icon {
    background: var(--color-white);
    height: 70px;
    width: 70px;
}
.testimonials.v1 h3 {
    padding-bottom: 0.5em;
}
@media screen and (min-width: 1000px) {
    .testimonials.v1 > div > div:last-child > div:nth-child(2),
    .testimonials.v1 > div > div:last-child > div:first-child {
        grid-column: span 3;
    }
}

/* Testimonials Variant 2: Like base but with photo (from skeleton_mortgage) */
.testimonials.v2 small {
    color: var(--color-primary);
}
.testimonials.v2 h1 {
    padding: 0 0.5em;
}
.testimonials.v2 > div > div {
    grid-gap: 2em;
}
.testimonials.v2 > div > div:last-child > div {
    padding: 1em 2em 1em;
}
.testimonials.v2 .testimonial-name {
    display: flex;
    align-items: flex-end;
    padding-bottom: 1em;
}
.testimonials.v2 .testimonial-icon {
    height: 70px;
    width: 70px;
}

/* FAQ */
.faq {
    padding: 1em;
}
.faq .panel-group {
    margin-bottom: 0.5em;
}
.faq .panel-group > .panel:last-child {
    margin: 0;
}
.faq .panel {
    background: var(--color-faq-panel);
    border-color: var(--color-faq-border);
    margin-bottom: 2em;
}
.faq .panel-heading {
    padding: 0;
    border-bottom: 1px solid var(--color-faq-border);
    background: var(--color-faq-header-bg);
}
.faq a {
    display: block;
    padding: 1em;
    text-decoration: none;
    color: var(--color-faq-header-text);
}
@media screen and (min-width: 850px) {
    .faq {
        padding: 2em;
    }
    .faq .panel-group {
        margin-bottom: 1.5em;
    }
}

/* CAROUSEL */

/* Carousel Variant 0 */
section.carousel {
    text-align: center;
    position: relative;
    padding-bottom: 0;
    background: var(--color-carousel-bg-light);
    overflow: hidden;
}
.carousel-inner {
    padding: 0;
}
.carousel-control {
    background: transparent !important;
    color: var(--color-text-light);
    opacity: 1;
    width: 3em;
    text-shadow: 3px 3px 5px black;
}
.carousel-control:hover {
    color: var(--color-text-light);
}
.carousel-indicators li {
    border-color: #333;
}
.carousel-indicators li.active {
    background: #333;
}
.carousel-item-inner {
    position: relative;
    width: 100%;
    margin: 0 auto;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1em;
}
.carousel-item-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 5em;
}
@media screen and (min-width: 768px) {
    .carousel-inner {
        padding-bottom: 5em;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .carousel-control,
    .carousel-control:hover {
        color: var(--color-text-dark);
        text-shadow: none;
    }
    .carousel-control.left span {
        margin-left: -16px;
    }
    .carousel-control.right span {
        margin-right: -16px;
    }
    .carousel-item-inner {
        width: calc(100% - 8em);
        min-height: 50vh;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    section.carousel img {
        position: absolute;
        top: 0;
        left: 0;
    }
}
@media screen and (min-width: 1350px) {
    .carousel-item-inner {
        max-width: 1200px;
    }
    .carousel-control.left,
    .carousel-control.right {
        width: calc((100vw - 1200px) / 2);
    }
}
section.carousel > div:last-child {
    flex-direction: column;
}

/* Carousel Variant 1: Testimonials */
.carousel.v1 .carousel-inner {
    padding-bottom: 5em;
    position: initial;
}
.carousel.v1 .carousel-item-inner {
    width: calc(100% - 8em);
}
@media screen and (min-width: 768px) {
    .carousel.v1 .carousel-item-inner {
        min-height: 0;
    }
}

/* modifiers */

/* dark */
.carousel.dark {
    color: white;
    background: var(--color-carousel-bg-dark);
}
.carousel.dark .carousel-indicators li {
    border-color: white;
}
.carousel.dark .carousel-indicators li.active {
    background: white;
}
.carousel.dark .carousel-control {
    color: white;
}
.carousel.dark .carousel-control:hover {
    color: white;
}
@media screen and (min-width: 768px) {
    .carousel.dark .carousel-item-inner img {
        border: 1px solid white;
    }
}

/* polaroid */
.carousel.polaroid .carousel-item-inner {
    padding: 1em 0.5em 0;
}
.carousel.polaroid .carousel-item-inner img {
    border: 3px solid white;
    border-bottom-width: 8px;
    box-shadow: 2px 2px 8px 4px rgb(0 0 0 / 25%);
}
.carousel.polaroid.dark .carousel-item-inner img {
    box-shadow: none;
}
@media screen and (min-width: 768px) {
    .carousel.polaroid .carousel-inner {
        padding-bottom: 6em;
    }
    .carousel.polaroid .carousel-item-inner img {
        border: 5px solid white;
        border-bottom-width: 30px;
        top: 1em;
    }
}

/* tilt */
.carousel.tilt .carousel-inner {
    padding-top: 2em;
}
.carousel.tilt .carousel-inner {
    padding-left: 0.75em;
    padding-right: 0.75em;
}
.carousel.polaroid.tilt .carousel-inner {
    padding-left: 0.25em;
    padding-right: 0.25em;
}
.carousel.tilt .item img               { transform:rotate(2deg); }
.carousel.tilt .item:nth-child(2n) img { transform:rotate(-3deg); }
.carousel.tilt .item:nth-child(3n) img { transform:rotate(1deg); }
.carousel.tilt .item:nth-child(4n) img { transform:rotate(-2deg); }
.carousel.tilt .item:nth-child(5n) img { transform:rotate(-3deg); }
.carousel.tilt .item:nth-child(6n) img { transform:rotate(3deg); }

.carousel-item-inner p {
    font-size: 1.6em;
}

/* Specific, Named Modifiers */

/* control-debt -> bigger image, different color bg, might add generic modifiers with standard colors */
section.control-debt {
    background: var(--color-blue1);
}
section.control-debt > div:last-child > div:first-child {
    flex: 2;
}
section.control-debt > div:last-child > div:last-child {
    background: var(--color-blue2);
    color: white;
}

/* Page Specific */

/* Welcome Page */
.welcome main {
    display: flex;
    flex-direction: column;
}
.welcome .inner {
    flex: 1;
    padding: 0 1em;
    display: flex;
    flex-direction: column;
}
.welcome .grid {
    flex: 1;
    max-width: 500px;
    margin: 0 auto;
}
.welcome .grid > div {
    margin-bottom: 1em;
}
.welcome .grid > .masthead {
    margin-bottom: 0;
}
.welcome .copy-panel {
    /* text-align: center; */
}
.welcome .image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.welcome .image img {
    width: 100%;
    max-width: 480px;
    justify-self: flex-end !important;
}
.welcome .greeting span {
    cursor: pointer;
}
@media screen and (min-width: 850px) {
    .welcome .grid > div {
        margin-bottom: 0;
    }
    .welcome main {
        display: flex;
        flex-direction: column;
    }
    .welcome .form-panel {
        grid-area: f;
    }
    .welcome .masthead {
        grid-area: m;
    }
    .welcome .image {
        height: 100%;
        grid-area: i;
        padding: 0 2em;
    }
}

/* Content Page */
.content main {
    display: flex;
    flex-direction: column;
}
.content .inner {
    flex: 1;
    padding: 0 1em;
    display: flex;
    flex-direction: column;
}
.content .grid {
    flex: 1;
    max-width: 500px;
    margin: 0 auto;
}
.content .grid > div {
    margin-bottom: 1em;
}
.content .grid > .masthead {
    margin-bottom: 0;
}
.content .image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.content .image img {
    width: 100%;
    max-width: 480px;
    justify-self: flex-end !important;
}
.content .form-panel > .copy {
    padding-top: 0;
    padding-bottom: 1em;
}
.content .form-panel > .copy span {
    color: var(--color-primary);
    cursor: pointer;
}
@media screen and (min-width: 1000px) {
    .content .grid > div {
        margin-bottom: 0;
    }
    .content main {
        display: flex;
        flex-direction: column;
    }
    .content .grid {
        max-width: none;
        margin: 0;
        display: grid;
        grid-template-columns: minmax(15%, 40%) minmax(0, 1fr) 700px minmax(0, 1fr);
        grid-template-rows: auto 1fr;
        grid-template-areas:
            'i m m m'
            'i . f .';
    }
    .content .form-panel {
        grid-area: f;
    }
    .content .masthead {
        grid-area: m;
    }
    .content .image {
        height: 100%;
        grid-area: i;
        padding: 0 2em;
    }
    .content .grid-double {
        grid-column: 1 / span 2;
    }
    .content form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 1em;
    }
}
.content .jumping label {
    z-index: 10;
}
.content .jumping.addon label {
    transform: translateY(-2em) translateX(-0.5em);
}
.content .jumping.addon {
    display: table;
}
.content .jumping.addon span {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: white;
    border-right: 0;
    font-size: 18px;
    font-weight: bold;
}
.content .jumping.addon input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding-left: 0.5em !important;
}

/* content 2 */
@media screen and (min-width: 850px) {
    .content2 .hero {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(auto, 600px)
            minmax(auto, 600px)
            minmax(0, 1fr);
    }
}

/* Thankyou Page */
.thankyou .inner {
    padding: 1em;
    max-width: 700px;
    margin: 0 auto;
}
.thankyou .image {
    text-align: center;
}
.thankyou .image img {
    width: 100%;
    max-width: 320px;
}
.thankyou .hero-copy {
    height: auto;
    background: transparent;
}
.thankyou .hero-popup-inner {
    padding: 2em;
}
.thankyou .hero-popup {
    display: block;
    margin: 0 auto;
}
.thankyou .hero-popup a,
.thankyou .hero-popup a:focus,
.thankyou .hero-popup a:hover {
    text-align: center;
    color: white;
    text-decoration: none;
}
.thankyou .hero {
    flex: 1;
    min-height: 0;
    justify-content: center;
}
.thankyou .hero-popup2 {
    color: #333;
    margin-bottom: 0;
    margin-top: -2em;
    padding: 2em 1em 2em 1em;
}
.thankyou .hero-popup2 .hero-popup-inner {
    background: white;
}
@media screen and (min-width: 850px) {
    .thankyou .hero {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(auto, 600px)
            minmax(auto, 600px)
            minmax(0, 1fr);
    }
    .thankyou .hero-popup {
        margin: 0 auto;
        padding: 2em;
        display: flex !important;
        align-items: flex-end;
        max-width: 800px;
    }
    .thankyou .hero-popup2 {
        grid-template-columns: repeat(6, 1fr);
    }
    .thankyou .hero-popup2 .hero-popup-inner {
        grid-column: 3 / 6;
    }
}

/* new */
section.hero {
    padding: 0;
}

/* opt in */
label[for="DomainOptIn"] {
    display: inline;
}
.opt-in-text {
    color: white;
    grid-column: 1 / -1 !important;
    text-align: justify;
    padding: 0 1em;
}

/* new new */
@media screen and (min-width: 850px) {
    .hero-copy {
        text-align: left;
    }
}
.hero .form {
    grid-row: span 2;
}

.hero-list {
    background-image: linear-gradient(
        rgba(var(--color-primary-dark-rgb), 0.5),
        rgba(var(--color-primary-dark-rgb), 1)
    );
    color: white;
    text-align: center;
}
.hero-list h3 {
    text-align: left;
    padding-bottom: 1em;
}
@media screen and (min-width: 850px) {
    .hero-list {
        grid-column: 2;
        align-self: var(--hero-copy-location);
        grid-row: 2;
    }
}
.hero-list ul {
    font-size: 1.9em;
}
.hero-list ul {
    margin: 0 auto;
    text-align: left;
    padding: 0;
    font-weight: normal;
}
.hero-list li {
    margin: 0;
    padding: 0;
    margin-left: 1.5em;
}
.hero-list ul {
    width: 90%;
}
@media screen and (min-width: 600px) {
    .hero-list ul {
        width: 90%;
    }
    .hero-list li {
        margin-left: 15%;
    }
}
@media screen and (min-width: 850px) {
    .hero-list ul {
        width: 100%;
    }
    .hero-list li {
        margin-left: 15%;
    }
}
.hero-copy h1 {
    font-size: 4em;
    font-weight: bold;
}
.hero-copy h2 {
    font-size: 2.5em;
    font-weight: bold;
}
.new-icons-panel {
    color: var(--icons-panel-text);
    background: var(--icons-panel-bg);
    max-width: 700px;
    margin: 0 auto;
}
.new-icons-panel > h1 {
    padding: 1em;
    font-weight: bold;
    color: #333;
    font-size: 3em;
}
.new-icons-panel-item {
    border: var(--icons-panel-mobile-border);
    margin-bottom: 2em;
    padding: 2em;
    display: grid;
    grid-template-columns: auto 1fr;
    border-radius: 8px;
    border: none;
}
.new-icons-panel-icon {
    text-align: right;
    padding-right: 1em;
}
.new-icons-panel-icon-inner {
    border-radius: 50%;
    color: var(--icons-panel-icon);
    margin: 0 0 0 auto;
}
.new-icons-panel-header {
    padding-bottom: 1em;
    align-self: center;
}
.new-icons-panel-copy {
    padding-top: 1em !important;
    grid-column: 1 / 3;
}
@media screen and (min-width: 1000px) {
    .new-icons-panel {
        max-width: none;
    }
    .new-icons-panel-header {
        padding: 1em 0 0.5em;
    }
    .new-icons-panel-copy {
        padding: 0.5em 0;
    }
    .new-icons-panel-inner {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 2em;
    }
    .new-icons-panel-item {
        border: none;
        max-width: none;
        margin: 0;
    }
    .new-icons-panel-icon {
        order: -1;
    }
    .new-icons-panel-item p {
        margin-top: 0;
    }
}
@media screen and (min-width: 850px) {
    .new-icons-panel {
        border-radius: 8px;
    }
    .new-icons-panel > h1 {
        text-align: center;
    }
    .new-icons-panel-header {
        padding: 0;
    }
    .new-icons-panel-copy {
        padding: 0;
    }
}
@media screen and (min-width: 1350px) {
    .new-icons-panel {
        padding: 1em;
        margin-left: 5em;
        margin-right: 5em;
    }
    .new-icons-panel-item h4.text-left {
        padding-left: 15%;
    }
}

.testimonials.top-heading {
    padding-bottom: 0;
}
.icons-panel.brand-icons .icons-panel-icon {
    width: 250px;
}
.form h1 {
    font-weight: bold;
}
label[for="DomainOptIn"] {
    font-weight: normal;
}

/* misc */
.text-primary {
    color: var(--color-primary);
}
.text-secondary {
    color: var(--color-secondary);
}
.hero-list ul {
    margin-top: 0.75em;
    font-size: 2.5em;
}
.text-xl {
    padding-left: 1em;
    font-size: 1.7em;
    font-weight: bold;
    color: #333;
}
.hero-under {
    padding: 0 1em;
}
footer {
    z-index: 15;
}

/* live agent */
.live-agent-wrap {
    display: flex;
    align-items: center;
    margin-top: 1em;
    justify-content: center;
}
.live-agent-wrap:hover {
    text-decoration: none !important;
}
.live-agent {
    position: relative;
    color: #fff;
    font-size: 25px;
    transform: all .5s ease;
    background-image: linear-gradient(180deg,#ff3131,#991d1d);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 0 20px #00000026;
    border-radius: 50px;
    border-right: none;
    font-weight: 700;
    padding: 20px;
    z-index: 10;
}
.live-agent:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #cd2727;
    z-index: -2;
    animation: pulse-border 1.5s ease-out infinite;
}
.live-agent:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%) translateY(-50%);
    display: block;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #cd2727;
    z-index: -1;
    animation: pulse-border2 1.5s ease-out infinite;
}

/* pulse border */
@keyframes pulse-border {
    0% {
        transform: translate(-50%) translateY(-50%) scale(1);
        opacity: 1
    }
    to {
        transform: translate(-50%) translateY(-50%) scale(1.5);
        opacity: 0
    }
}
@keyframes pulse-border2 {
    0% {
        transform: translate(-50%) translateY(-50%) scale(1);
        opacity: 1
    }

    to {
        transform: translate(-50%) translateY(-50%) scale(1.6);
        opacity: 0
    }
}
.ring-container {
    position: absolute;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%)
}
.ringS {
    position: absolute;
    width: 80px;
    height: 90px;
    border: 1.5px solid #0A29B7;
    border-radius: 50%;
    animation: ringEffect 1.5s infinite ease-out
}
.ringS:nth-child(2) {
    animation-delay: .5s
}
.ringS:nth-child(3) {
    animation-delay: 1s
}
@keyframes ringEffect {
    0% {
        transform: scale(.5);
        opacity: 1
    }
    to {
        transform: scale(2);
        opacity: 0
    }
}

/* icons panel */
.icons-panel {
    padding: 0 0.5em 1em 0.5em;
}
.icons-panel-inner {
    background: transparent;
    grid-gap: 3em;
    margin: 0 auto;
}
.icons-panel-item {
    background: white;
}
.icons-panel-icon {
    border: none;
    background: linear-gradient(to right, var(--color-primary-dark), var(--color-primary-light));
}
.icons-panel-item h3 {
    padding: 0.5em 0;
    font-weight: bold;
}
.icons-panel-item p {
    font-size: 1.6rem;
}

/* icons panel corner borders */
.icons-panel-item {
    position: relative;
    transform-style: preserve-3d;
    background: white;
}
.icons-panel-item::after {
    content: '';
    width: 100px;
    height: 100px;
    background: var(--color-primary);
    position: absolute;
    bottom: -8px;
    left: -8px;
    border-radius: 15px;
    transform: translateZ(-10px)
}
.icons-panel-item::before {
    content: '';
    width: 100px;
    height: 100px;
    background: var(--color-primary);
    position: absolute;
    top: -8px;
    right: -8px;
    border-radius: 15px;
    transform: translateZ(-10px)
}

/* thankyou page */
.thankyou .hero-popup h1 {
    font-weight: bold;
    text-align: center;
}
.thankyou .hero-popup h3 {
    text-align: center;
}

/* thank you agent popup */
.thankyou .hero-popup-inner {
    max-width: none;
}
.thankyou-agent {
    border: 1px solid black;
    display: flex;
    margin-top: 1em;
    color: #333 !important;
}
.thankyou-agent > div:first-child {
    padding: 1em;
    background: linear-gradient(to right, var(--color-primary-dark), var(--color-primary-light));
}
.thankyou-agent > div:first-child > div {
    background: var(--color-quaternary);
    border: 5px solid var(--color-quaternary-light);
    width: 120px;
    height: 120px;
    color: white;
    align-self: center;
    padding: 1em;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.thankyou-agent > div:last-child {
    flex: 1;
    padding: 0.5em;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* testimonials: 2 instead of 3 */
@media screen and (min-width: 1000px) {
    .testimonials > div > div:last-child {
        grid-template-columns: repeat(4, 1fr) !important;
        padding: 0 1em;
    }
}

/* first pass for API */
.first-pass .form {
    display: none;
}
.first-pass .hero-copy-inner {
    opacity: 0;
}
.first-pass main > section:not(.hero) {
    display: none;
}
.first-pass .hero {
    flex: 1;
    justify-content: flex-start;
}
.first-pass .hero-under {
    display: none;
}
.first-pass.thankyou .hero-popup {
    display: none !important;
}

/* changes */
.main-form .copy {
    padding-bottom: 0.5em;
}
.thankyou-agent {
    border: 5px solid white;
}
.call-inner {
    background: var(--color-primary);
    border-left: 5px solid white;
}
.call-inner > * {
    font-weight: bold;
    color: white;
}

/* more changes */
.input label {
    font-size: 1.35em;
}
.form-control {
    height: auto;
    font-size: 20px;
    line-height: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 12px;
}
.hero-copy-bottom {
    align-self: start;
}
.thankyou .hero {
    justify-content: flex-start !important;
}
.thankyou .hero-popup {
    padding: 4em 2em;
}

/* even more changes */
.hero-copy-bottom {
    align-self: center;
}
.hide-xs {
    display: none;
}
@media screen and (min-width: 850px) {
    .show-xs {
        display: none;
    }
    .hide-xs {
        display: block;
    }
}
