/*
Theme Name: First Mutual
Author: Pannos Marketing
Author URI: https://www.pannosmarketing.com/
Description: A customized WordPress theme for First Mutual.
Requires at least: 6.0.3
Tested up to: 6.0.3
Requires PHP: 7.4.32
Version: 1.4.1
*/

.is-root-container>div {
    padding: 10px;
    background: linear-gradient(180deg, rgba(233, 234, 235, .5) 0%, rgba(233, 234, 235, .2) 100%);
}

/* Inherited Account Chooser Styles */
.account-chooser-block {
    padding: 50px 45px;
    margin: 6em 0;
}

.account-chooser-block .results {
    display: none;
    justify-content: center;
    justify-items: center;
    padding-bottom: 2em;
}

.account-chooser-block .results .f-h2 {
    margin-bottom: 0.5em;
}

.account-chooser-block .results .copy {
    margin-bottom: 2em;
}

.account-chooser-block .results .resultbox {
    column-gap: clamp(50px, 5vw, 100px);
    padding-bottom: 2em;
    row-gap: 2em;
}

.account-chooser-block .results .resultbox .page-name {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 20px;
    margin-bottom: 0;
}

.account-chooser-block .results .resultbox .page-name:after {
    position: absolute;
    right: calc(-1*clamp(25px, 2.5vw, 50px));
    top: 0;
    bottom: 0;
    width: 2px;
}

.account-chooser-block .results .resultbox a {
    height: min-content;
    align-self: center;
}

.account-chooser-block .content {
    padding: 2.5em 03em;
    display: flex;
    flex-direction: column-reverse;
    column-gap: clamp(40px, 5vw, 100px);
    row-gap: 3em;
    max-width: 500px;
}

.account-chooser-block .content img {
    width: 100%;
    object-fit: contain;
}

.account-chooser-block .content .info {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 2em;
    align-items: center;
}

.account-chooser-block .content .info .f-h2 {
    font-size: clamp(2.6rem, 2vw, 3.2rem);
}

.account-chooser-block .content .info .chooserBox {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    height: 100%;
}

/*.account-chooser-block .content .info .chooserBox .choices {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 5px;
    row-gap: 1em;
    margin-bottom: 2em;
}*/

.account-chooser-block .content .info .chooserBox .question {
    margin-bottom: 0.5em;
    font-size: 2.2rem;
}

.account-chooser-block .content .info .chooserBox .actions {
    display: flex;
    flex-direction: row;
    column-gap: 2em;
}

.account-chooser-block .content .info .chooserBox .actions button {
    display: none;
}

.account-chooser-block .content .info .chooserBox .actions .js-account-chooser {
    display: block;
}

.account-chooser-block .content .info .chooserBox fieldset {
    display: none;
    opacity: 0;
    transition: opacity 0.1s ease;
}

.account-chooser-block .content .info .chooserBox fieldset.active {
    opacity: 1;
}

.account-chooser-block .content .info .chooserBox .status-bar {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    position: relative;
    max-width: 495px;
    margin-bottom: 4em;
}

.account-chooser-block .content .info .chooserBox .status-bar:after {
    content: "";
    position: absolute;
    height: 1px;
    width: 100%;
    top: 50%;
    z-index: 1;
}

.account-chooser-block .content .info .chooserBox .status-bar .dot {
    height: 22px;
    width: 22px;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    transition: background-color 0.3s linear 0.2s;
}

.account-chooser-block .content .info .chooserBox .status-bar .dot:before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    height: 42px;
    width: 42px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s linear 0.2s;
}

.account-chooser-block .content .info .chooserBox .status-bar .dot span {
    display: none;
    position: absolute;
    left: 0.25em;
    bottom: -3em;
    flex-direction: row;
    flex-wrap: nowrap;
    text-wrap: nowrap;
    align-items: center;
    color: #707070;
    font-size: 1.4rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.account-chooser-block .content .info .chooserBox .status-bar .dot span strong {
    font-size: 1.8rem;
    position: relative;
    bottom: 0px;
    color: #475561;
}

.account-chooser-block .content .info .chooserBox .status-bar .dot.active:before {
    opacity: 1;
}

.account-chooser-block .content .info .chooserBox .status-bar .dot.active span {
    display: flex;
    opacity: 1;
}

.account-chooser-block .content .info .chooserBox .js-account-chooser {
    opacity: 1;
    transition: opacity 0.2s ease;
}

.account-chooser-block .content .info .chooserBox .js-next {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.account-chooser-block .content .info .chooserBox button {
    width: 240px;
}


/* Account Chooser Style Overrides */

/* AC Show and Hide */

.status-bar.no-show {
    display: none;
}

section.account-chooser-block {
    display: none;
    margin: 0;
    padding: 0;
}

body.quiz-active section.account-chooser-block {
    display: block;
}

body.quiz-active section.account-chooser-block:after {
    position: fixed;
    width: 100%;
    height: 100%;
    content: '';
    background: black;
    top: 0;
    left: 0;
    z-index: 1000;
    opacity: .7;
}

body.quiz-active section.account-chooser-block .content {
    text-align: center;
}

body.quiz-active section.account-chooser-block .content,
body.quiz-active section.account-chooser-block .results {
    background: white;
    z-index: 9999;
    position: fixed;
    display: inline-block;
    max-width: 1000px;
    width: 90%;
    top: 50vh;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    transition: top 0.35s ease-in-out;
    border-radius: 7rem;
    padding: 5rem 15rem;
}

body.quiz-active {
    height: 100vh;
    overflow: hidden;
}

/* AC Text */


body.quiz-active section.account-chooser-block .f-h2 {
    font-size: clamp(2.4rem, 3vw, 3.8rem);
}

body.quiz-active section.account-chooser-block .content .copy p {
    font-size: clamp(2.6rem, 2vw, 3.2rem);
    font-style: italic;
    font-weight: 600;
}

body.quiz-active section.account-chooser-block .content .question {
    font-size: clamp(2.5rem, 1.8vw, 3rem);
}


/* AC Answer Buttons */

body.quiz-active section.account-chooser-block .content .choices {
    display: flex;
    justify-content: center;
    gap: 1em;
    margin-top: 2em;
}

body.quiz-active section.account-chooser-block .content .choices label.cta-btn {
    width: 150px;
    cursor: pointer;
}

body.quiz-active section.account-chooser-block .content .actions {
    display: none;
}

body.quiz-active section.account-chooser-block .content .choices label.cta-btn input {
    position: absolute;
    visibility: hidden;
}

button.arrow-lnk.replay.js-replay {
    display: none;
}


/* AC Close button */


body.quiz-active section.account-chooser-block .close-button {
    position: relative;
    text-align: right;
    width: 100%;
}

body.quiz-active section.account-chooser-block .close-button .close-tab {
    position: absolute;
    top: -11.3rem;
    display: inline-block;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    right: 2rem;
    font-size: 3rem;
    padding: 0;
    width: 7.8rem;
    text-decoration: none !important;
}

/* AC Result */

body.quiz-active section.account-chooser-block .results .cta-btn {
    display: inline-block;
}

body.quiz-active section.account-chooser-block .results h2.f-h2.page-name {
    font-size: clamp(2.5rem, 1.8vw, 3rem);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

body.quiz-active section.account-chooser-block .results ul {
    border-top: 1px solid #6ECB98;
    margin-top: 1em;
    padding-top: 1em;
    padding-left: 20px;
    margin-bottom: 2em;
}

body.quiz-active section.account-chooser-block .results ul li::marker {
    color: #6ECB98;
}

body.quiz-active section.account-chooser-block .results .resultbox {
    width: 100%;
}

/* AC Mobile */

body.quiz-active section.account-chooser-block .content,
body.quiz-active section.account-chooser-block .results {
    padding: 6rem 4rem;
}

@media screen and (max-width: 900px){

    body.quiz-active section.account-chooser-block {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        overflow: auto;
        z-index: 999;
    }

    body.quiz-active section.account-chooser-block .content, body.quiz-active section.account-chooser-block .results {
        position: relative;
        transform: none;
        top: 0;
        left: 0;
        margin: 4em 5vw 15em;
        width: 90%;
    }


    body.quiz-active section.account-chooser-block .content, body.quiz-active section.account-chooser-block .results {
        border-radius: 2rem;
        padding: 1.5rem 2rem;
        font-size: 1.6rem;        
/*        top: 50vh;*/
    }

    body.quiz-active section.account-chooser-block .content .question {
        font-size: 1.6rem;
    }

    body.quiz-active section.account-chooser-block .content .copy p {
        font-size: 2rem;
        font-weight: 700;
    }

    body.quiz-active section.account-chooser-block .close-button {
        text-align: center;
        display: flex;
        justify-content: center;
    }

    body.quiz-active section.account-chooser-block .close-button .close-tab {
        position: absolute;
        top: -6.7rem;
        background: none;
        border: none;
        right: 0;
        width: 50px;
        height: 50px;
    }

}

/* Account chooser speedbump priority */

.quiz-active .speedbump_back {
    z-index: 9999;
}

/* Photo Video Block */

.photo-split > .content .photo iframe {
    width: 100%;
    height: 100%;
}

@container (min-width: 900px) {

    .photo-split > .content .photo iframe {
        /*border-radius: 75px;*/
        width: calc(100% + clamp(55px, 7vw, 100px));
        height: 100%;
        right: calc(-1 * clamp(55px, 7vw, 100px));
        position: absolute;
        top: 0;
        left: auto;
    }

}