/* Page Top Hero and initial form and a test */
#front_hero {
    background-color: #E2E8F0;
    background-size: cover;
    height: 360px;
    padding: 45px 25px 50px;
}
@media only screen and (min-width: 428px) {
    #front_hero {
        height: 370px;
    }
}
@media only screen and (min-width: 600px) {
    #front_hero {
        height: 350px;
        padding: 45px 50px 50px;
    }
}
@media only screen and (min-width: 992px) {
    #front_hero {
        height: 435px;
        padding: 65px 0 70px 65px;
    }
}
@media only screen and (min-width: 1200px) {
    #front_hero {
        height: 500px;
        padding: 75px 0 75px 75px;
    }
}
#front_hero h1 {
    color: #004A80;
    font-weight: 400;
    font-family: var(--headerFont-v4), serif;
    font-size: 4.6rem;
    line-height: 5.2rem;
    margin-bottom: 20px;
}
@media only screen and (min-width: 768px) {
    #front_hero h1 {
        font-size: 5.6rem;
        line-height: 6.2rem;
    }
}
@media only screen and (min-width: 992px) {
    #front_hero h1 {
        font-size: 6.6rem;
        line-height: 7.2rem;
    }
}
@media only screen and (min-width: 1200px) {
    #front_hero h1 {
        font-size: 7.6rem;
        line-height: 8.2rem;
        margin-bottom: 20px;
    }
}
#front_hero p {
    color: #2B333D;
    font-weight: 400;
}
@media only screen and (min-width: 1200px) {
    #front_hero p {
        font-size: 1.8rem;
        line-height: 2.4rem;
        padding-right: 120px;
    }
}
#front_hero > div.row {
    margin: 0;
}
#front_hero div.content {
    background-color: var(--white);
    border-radius: 20px;
    padding: 20px 12px 25px 24px;
}
@media only screen and (min-width: 992px) {
    #front_hero div.content {
        padding: 40px 23px 35px 44px;
    }
}
@media only screen and (min-width: 1200px) {
    #front_hero div.content {
        padding: 60px 22px 45px 64px;
    }
}
#front-get-codes {
    background-color: var(--white);
    padding: 20px 10px 50px;  /* Need to allow room for address error div */
    position: relative;
}
@media only screen and (min-width: 1200px) {
    #front-get-codes {
        padding: 20px 20px 70px;
    }
}
#front-get-codes .row {
    position: relative;
    margin-right: 0 !important;
    margin-left: 0 !important;
    background-color: #004A80;
    border-radius: 16px;
    padding: 24px 18px;
}
@media only screen and (min-width: 992px) {
    #front-get-codes .row {
        padding: 24px;
    }
}
#get_codes_cta {
    background-color: transparent;
    padding: 20px 10px 50px;  /* Need to allow room for address error div */
}
@media only screen and (min-width: 1200px) {
    #get_codes_cta {
        padding: 60px 0 30px;
    }
}
#get_codes_cta h2 {
    text-align: center;
    font-family: var(--headerFont-v4);
}
@media only screen and (min-width:1200px) {
    #get_codes_cta h2 {
        font-size: 4.2rem;
        line-height: 5rem;
        margin-bottom: 2rem;
    }
}
/* Form input error styling */
div.address-error {
    position: absolute;
    background-color: #FFD9DE;
    border-radius: 3px;
    opacity: 0;
    transition: opacity .3s ease-in-out .2s;
    width: 100%;
    left: 0;
    bottom: 0;
}
@media only screen and (min-width: 600px) {
    div.address-error {
        width: calc(100% - 30px);
        left: 15px;
        bottom: 6%;
    }
}
@media only screen and (min-width: 992px) {
    div.address-error {
        bottom: 8%;
    }
}
@media only screen and (min-width: 1200px) {
    div.address-error {
        width: calc(100% - 50px);
        left: 25px;
        bottom: 15%;
    }
}
div.address-error.show {
    opacity: 1;
}

div.address-error p {
    text-align: center;
    padding: .8rem 1.6rem;
    margin-bottom: 0;
    color: var(--secondaryColor6);
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 1.4rem;
}
/* Styles for ESRI Search Widget and Maps */
#zip_address, #zip_address_cta {
    margin-bottom: 0;
}
#zip_address {
    padding: 0;
}
@media only screen and (min-width: 1200px) {
    #zip_address {
        margin-right: 15px;
    }
}
button.esri-search__submit-button,
button.esri-search__clear-button {
    display: none;
}
#esri_search_content, #esri_search_content_cta {
    background: transparent !important;
    width: 100%;
}
div.esri-view-surface:focus {
    --esri-view-outline: none;
}
form.fp_header-form {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
@media only screen and (min-width: 1200px) {
    form.fp_header-form {
        flex-wrap: nowrap;
    }
}
.fp_header-form input[type=text] {
    width: 100%;
    font-family: var(--primaryFont-v4) !important;
    font-size: 1.5rem;
    line-height: normal;
    font-weight: 500;
    color: #1e1e1e;
    padding: 20px 10px 20px;
    border: 1px solid var(--secondaryColor5);
    border-radius: 8px;
    box-shadow: 0 10px 20px 0 rgba(0,0,0,.1);
    margin-bottom: 1.5rem;
}
@media only screen and (min-width: 768px) {
    .fp_header-form input[type=text] {
        font-size: 1.6rem;
        line-height: 2rem;
        padding: 35px 20px 35px;
    }
}
@media only screen and (min-width: 992px) {
    .fp_header-form input[type=text] {
        height: 90px;
        width: 98%;
        margin-bottom: 0;
    }
}
@media only screen and (min-width: 1200px) {
    .fp_header-form input[type=text] {
        width: 100%;
        font-size: 1.8rem;
        line-height: 1.8rem;
        padding: 36px 24px;
        border-radius: 12px;
    }
}
.fp_header-form input[type=text]:focus {
    outline: none;
}
div.fp-code-submit {
    display: flex;
    padding: 0;
}
@media only screen and (min-width: 1200px) {
    div.fp-code-submit {
        padding-right: 15px;
        padding-left: 0;
    }
}
div.fp-code-submit input[type=submit] {
    width: 100%;
    padding: 8px 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 8px;
    background-color: #61A741;
    color: #fff;
    font-weight: 700;
    line-height: normal;
    text-transform: capitalize;
    font-family: var(--primaryFont-v4), sans-serif;
}
@media only screen and (min-width: 768px) {
    div.fp-code-submit input[type=submit] {
        padding: 24px 27px;
    }
}
@media only screen and (min-width: 1200px) {
    div.fp-code-submit input[type=submit] {
        font-size: 1.8rem;
        line-height: 1.8rem;
        padding: 33px 24px;
        border-radius: 12px;
    }
}

/* FAQ Intro Section and CTAs Styles */
#faq_intro, #fp_ctas {
    background-color: var(--white);
}
#fp_ctas {
    padding: 40px 0;
}
@media only screen and (min-width: 768px) {
    #faq_intro {
        padding-top: 20px;
    }
}
@media only screen and (min-width: 1200px) {
    #faq_intro {
        padding: 10px 0 60px;
    }
    #fp_ctas {
        padding: 60px 0;
    }
}
div.row.questions-wrapper {
    padding: 0 10px;
    max-width: 1470px;
    margin: 0 auto;
}

@media only screen and (min-width: 1200px) {
    div.row.questions-wrapper {
        padding: 0 30px;
    }
}
@media only screen and (min-width: 1440px) {
    div.row.questions-wrapper {
        padding: 0 60px;
    }
}
div.cta-wrapper {
    margin-bottom: 3rem;
}
@media only screen and (min-width: 1200px) {
    div.cta-wrapper {
        margin-bottom: 6rem;
    }
}
div.au-wrapper {
    margin: 0 auto;
    margin-bottom: 3rem;
    max-width: 1470px;
    padding: 0 10px;
}
@media only screen and (min-width: 1200px) {
    div.au-wrapper {
        padding: 0 30px;
        margin-bottom: 15px;
    }
}
@media only screen and (min-width: 1440px) {
    div.au-wrapper {
        padding: 0 60px;
    }
}
#faq_intro h2 {
    font-family: var(--headerFont-v4);
    color: #000;
    font-weight: 400;
    font-size: 3.6rem;
    line-height: 4rem;
    text-align: center;
    margin-bottom: 30px;
}
@media only screen and (min-width: 600px) {
    #faq_intro h2 {
        margin-bottom: 25px;
    }
}
@media only screen and (min-width: 992px) {
    #faq_intro h2 {
        font-size: 4.2rem;
        line-height: 4.2rem;
        margin-bottom: 54px;
    }
}
@media only screen and (min-width: 1200px) {
    #faq_intro h2 {
        margin-bottom: 74px;
    }
}
#fp_ctas h3 {
    font-family: var(--primaryFont-v4);
    color: #000000;
    font-weight: 700;
    line-height: normal;
}
@media only screen and (min-width: 1200px) {
    #fp_ctas h3 {
        font-size: 2.4rem;
        margin-bottom: 2.4rem;
    }
}
#faq_intro h3 {
    font-family: var(--primaryFont-v4);
    color: #000;
    text-align: center;
    font-weight: 700;
    font-size: 2rem;
    line-height: 2.6rem;
}
@media only screen and (min-width: 600px) {
    #faq_intro h3 {
        font-size: 2.2rem;
        line-height: 2.8rem;
        margin-bottom: 15px;
    }
}
@media only screen and (min-width: 992px) {
    #faq_intro h3 {
        text-align: left;
    }
}
@media only screen and (min-width: 1200px) {
    #faq_intro h3 {
        font-size: 2.4rem;
        margin-bottom: 3.3rem;
    }
}
div.faq-vid-fp > div.bg-tile {
    position: relative;
}
@media only screen and (min-width: 1200px) {
    div.faq-vid-fp {
        height: 370px;
    }
}
div.faq-vid-fp img {
    width: 100%;
    max-width: 100%;
    border-radius: 24px;
}
/* New styles for video player in FAQ section */
#faq_video, #faq_video div.rsVideoContainer {
    background: transparent;
}
#faq_video div.rsOverflow, #faq_video div.rsSlide {
    border-radius: 24px;
    max-width: 100%;
}
#videos div.fp_video_wrapper {
    position: relative;
}
#faq_video div.rsBtnCenterer {
    top: 50%;
    width: 6.4rem;
    height: 6.4rem;
    margin-top: -3.2rem;
    margin-left: -3.2rem;
}
@media only screen and (min-width: 600px) {
    #faq_video div.rsBtnCenterer {
        width: 9rem;
        height: 9rem;
        margin-top: -4.5rem;
        margin-left: -4.5rem;
    }
}
@media only screen and (min-width: 1280px) {
    #faq_video div.rsBtnCenterer {
        width: 11.6rem;
        height: 11.6rem;
        margin-top: -5.8rem;
        margin-left: -5.8rem;
    }
}
#faq_video div.rsBtnCenterer > div.rsPlayBtn {
    width: 6.4rem;
    height: 6.4rem;
    margin-left: 0;
    margin-top: 0;
}
@media only screen and (min-width: 1024px) {
    #faq_video div.rsBtnCenterer > div.rsPlayBtn {
        width: 9rem;
        height: 9rem;
    }
}
@media only screen and (min-width: 1280px) {
    #faq_video div.rsBtnCenterer > div.rsPlayBtn {
        width: 11.6rem;
        height: 11.6rem;
    }
}
#faq_video div.rsPlayBtnIcon {
    border-radius: 50%;
    width: 6.4rem;
    height: 6.4rem;
    background-image: url(../images/play-button.png);
    background-size: 2.8rem;
    background-position: 2.1rem 1.7rem;
    background-color: transparent;
}
@media only screen and (min-width: 600px) {
    #faq_video div.rsPlayBtnIcon {
        width: 7rem;
        height: 7rem;
        background-size: 3.2rem;
        background-position: 2.25rem center;
    }
}
@media only screen and (min-width: 768px) {
    #faq_video div.rsPlayBtnIcon {
        width: 9rem;
        height: 9rem;
        background-size: 4.2rem;
        background-position: 3rem center;
    }
}
@media only screen and (min-width: 1280px) {
    #faq_video div.rsPlayBtnIcon {
        width: 11.6rem;
        height: 11.6rem;
        background-size: 9.4rem;
        background-position: center center;
    }
}
#faq_video div.rsGCaption {
    bottom: .5rem;
    background: transparent;
    left: 0 !important;
    padding: 0;
}
@media only screen and (min-width: 1200px) {
    #faq_video div.rsGCaption {
        padding: 0 2rem;
    }
}
div.faq-intro-fp {
    background: #fff;
    border-radius: 20px;
    padding: 15px;
    text-align: center;
    margin-bottom: 40px;
}
div.faq-intro-fp.ca {
    margin-bottom: 0;
}
@media only screen and (min-width: 992px) {
    div.faq-intro-fp {
        text-align: left;
        margin-bottom: 0;
    }
}
@media only screen and (min-width: 1200px) {
    div.faq-intro-fp {
        padding: 38px 100px 38px 38px;
    }
}
@media only screen and (min-width: 1440px) {
    div.faq-intro-fp {
        padding: 54px 140px 54px 54px;
    }
    div.faq-intro-fp.ca {
        padding: 54px 90px 54px 54px;
    }
    div.faq-intro-fp.au {
        padding: 54px 50px 54px 120px;
    }
}
div.faq-intro-fp > h3 {
    font-family: var(--headerFont-v4);
    color: #000;
    font-weight: 400;
    font-size: 3.8rem;
    line-height: 4.8rem;
}
div.faq-intro-fp.ca > h3,
div.faq-intro-fp.au > h3 {
    text-align: center;
    line-height: 4.1rem;
    margin-bottom: 20px;
}
@media only screen and (min-width: 992px) {
    div.faq-intro-fp.ca > h3,
    div.faq-intro-fp.au > h3 {
        text-align: left;
    }
}
@media only screen and (min-width: 1200px) {
    div.faq-intro-fp > h3 {
        font-size: 3.8rem;
        line-height: 4.8rem;
        margin-bottom: 2.4rem;
    }
    div.faq-intro-fp.ca > h3 {
        padding-right: 40px;
    }
}
div.faq-intro-fp p {
    font-family: var(--buttonFont-v4);
    font-size: 1.6rem;
    line-height: 2.4rem;
    color: #2B333D;
    text-align: center;
    margin-bottom: 15px;
}
@media only screen and (min-width: 768px) {
    div.faq-intro-fp p {
        padding: 0 30px;
    }
}
@media only screen and (min-width: 992px) {
    div.faq-intro-fp p {
        text-align: left;
        margin-bottom: 10px;
        padding: 0;
    }
}
div.faq-intro-fp a {
    display: inline-block;
    font-family: var(--primaryFont-v4);
    font-weight: 700;
    font-size: 16px;
    line-height: normal;
    color: #004A80;
    border: 1px solid #004A80;
    border-radius: 8px;
    padding: 16px 24px;
    margin-top: 1rem;
}
@media only screen and (min-width: 992px) {
    div.wyl-container {
        margin-top: 60px;
    }
}
div.wyl-wrapper {
    display: flex;
    flex-wrap: wrap;
}
@media only screen and (min-width: 768px) {
    div.wyl-wrapper {
        margin-bottom: 30px;
    }
}
@media only screen and (min-width: 992px) {
    div.wyl-wrapper {
        flex-wrap: nowrap;
        justify-content:space-between;
        padding: 3rem 0 0;
        margin-bottom: 50px;
    }
}
@media only screen and (min-width: 1200px) {
    div.wyl-wrapper {
        margin-bottom: 0;
    }
}
div.wyl-wrapper > div.training {
    width: 100%;
    margin-bottom: 30px;
}
@media only screen and (min-width: 992px) {
    div.wyl-wrapper > div.training {
        width: 33%;
        margin-bottom: 0;
        padding: 25px 32px 0;
        border-left: 1px solid rgba(148, 163, 184, 0.50);
    }
    div.wyl-wrapper > div.training.first {
        border-left: none;
    }
}
@media only screen and (min-width: 1200px) {
    div.wyl-wrapper > div.training {
        padding: 25px 62px 0;
    }
}
div.training > img {
    display: inline-block;
    width: 52px;
    margin: 0 18px 20px;
}
#faq_intro div.training > h3 {
    display: inline-block;
    font-family: var(--headerFont-v4);
    font-size: 3.6rem;
    line-height: normal;
    font-weight: 400;
}
@media only screen and (min-width: 992px) {
    #faq_intro div.training > h3 {
        font-size: 4.2rem;
    }
}
div.training > p {
    color: #020617;
    font-weight: 500;
    text-align: left;
    padding-left: 18px;
}
@media only screen and (min-width: 992px) {
    div.training > p {
        padding-left: 0;
        text-align: center;
        font-size: 2rem;
        line-height: normal;
    }
}
/* ------------------------------------------------------------------------------------------------
 * New Code Awareness Section
 * -----------------------------------------------------------------------------------------------*/
#code_awareness {
    margin-top: 40px;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 40px 0;
}
@media only screen and (min-width: 768px) {
    #code_awareness {
        padding: 100px 20px 80px;
    }
}
@media only screen and (min-width: 1200px) {
    #code_awareness {
        margin-top: 66px;
        padding: 100px 0;
    }
}
@media only screen and (min-width: 1440px) {
    #code_awareness {
        padding: 80px 0;
    }
}
div.row.awareness-wrapper {
    padding: 0 10px;
    margin: 0 !important;
}
@media only screen and (min-width: 1200px) {
    div.row.awareness-wrapper {
        padding: 0 30px;
    }
}
@media only screen and (min-width: 1440px) {
    div.row.awareness-wrapper {
        padding: 0 60px;
    }
}
/* ------------------------------------------------------------------------------------------------
 * Loader Styles - Sliding Dots
 * ----------------------------------------------------------------------------------------------*/
.container.waiting {
    max-width: unset;
    height: 100vh;
    width: 100vw;
    font-family: var(--primaryFont);
    padding: 0;
    background: rgba(0,0,0,0.65);
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: -100;
    transition: opacity .3s ease-in-out;
}
.container.waiting.show {
    opacity: 1;
    z-index: 100;
}
.loader {
    height: 20px;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 12rem auto;
}
@media only screen and (min-width: 768px) {
    .loader {
        width: 40rem;
    }
}
.loader--dot {
    animation-name: loader;
    animation-timing-function: ease-in-out;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    height: 20px;
    width: 20px;
    border-radius: 100%;
    background-color: black;
    position: absolute;
    border: 2px solid white;
}
.loader--dot:first-child {
    background-color: var(--secondaryColor7);
    animation-delay: 0.5s;
}
.loader--dot:nth-child(2) {
    background-color: var(--secondaryColor6);
    animation-delay: 0.4s;
}
.loader--dot:nth-child(3) {
    background-color: var(--secondaryColor5);
    animation-delay: 0.3s;
}
.loader--dot:nth-child(4) {
    background-color: var(--secondaryColor4);
    animation-delay: 0.2s;
}
.loader--dot:nth-child(5) {
    background-color: var(--primaryColor2);
    animation-delay: 0.1s;
}
.loader--dot:nth-child(6) {
    background-color: var(--primaryColor1);
    animation-delay: 0s;
}
.loader--text {
    position: absolute;
    top: 200%;
    left: 0;
    right: 0;
    width: 100%;
    padding: 0 2rem;
    margin: auto;
    color: var(--white);
    font-size: 1.8rem;
}
@media only screen and (min-width: 768px) {
    .loader--text {
        width: 40rem;
        padding: 0;
    }
}
.loader--text:after {
    content: "Please wait while we create your customized report...";
    font-weight: 600;
    animation-name: loading-text;
    animation-duration: 3s;
    animation-iteration-count: infinite;
}
@keyframes loader {
    15% {
        transform: translateX(0);
    }
    45% {
        transform: translateX(380px);
    }
    65% {
        transform: translateX(380px);
    }
    95% {
        transform: translateX(0);
    }
}
@keyframes loading-text {
    0% {
        content: "Please wait while we create your customized report...";
    }
    25% {
        content: "Please wait while we create your customized report...";
    }
    50% {
        content: "Please wait while we create your customized report...";
    }
    75% {
        content: "Please wait while we create your customized report...";
    }
}

