@import url("https://use.typekit.net/wcj4zdu.css");
@import url('https://fonts.googleapis.com/css2?family=Cambay:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import 'generics.css';
@import 'variables.css';
@import 'preloader.css';

.CSite {
    position: relative;

    width: 100%;
    min-height: var(--content-viewport-height);
}
.CQuizScreenContainer {
    position: relative;

    width: 100%;
}

.CQuizScreen {
    position: relative;

    display: none;

    grid-template-columns: [start] 1fr [content-start] var(--content-width) [content-end] 1fr [end];
    grid-template-rows: auto;
    align-items: center;
    justify-items: center;

    min-height: var(--content-viewport-height);
    padding: 50px 0px 50px 0px;

    overflow: hidden;
}

.state_body_quiz .CQuizScreen:nth-child(-n + 2) {
    display: grid;
}

/***/

.CQuizScreenActive {
    display: grid;
}
/***/

.CQuizWindow {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    grid-column-start: content-start;
    grid-column-end: content-end;

    padding: var(--text-border);
}

.CQuizWindowHalf {
    position: relative;

    width: calc(50% - var(--text-border));
}

.CQuizWindowFull{
    position: relative;

    width: 100%;
}

.CWindowNavigation {
    position: relative;

    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
    align-items: center;

    width: 100%;
}

.CNavigationItem {
    position: relative;

    display: inline-block;

    cursor: pointer;

    padding: 10px 20px 10px 20px;
    background-color: var(--secondary-color);

    font-size: 16px;
    font-weight: 700;
    color: #fff;

    height: 40px;

    pointer-events: all;

    transition-property: color, background-color;
    transition-duration: 0.5s, 0.5s;
    transition-timing-function: ease, ease;
}

.CNavigationItem:hover {
    border: 1px solid var(--secondary-color);
    background-color: #fff;
    color: var(--secondary-color);
}

.CSharingItem {
    position: relative;

    display: inline-block;

    cursor: pointer;

    height: 40px;

    pointer-events: all;

    transition-property: opacity;
    transition-duration: 0.5s;
    transition-timing-function: ease;
}

.CSharingItem:hover {
    opacity: 0.6;
}

.CSharingItem img {
    height: 100%;
    width: auto;
}

.CQuizWindowLabel {
    position: absolute;

    left: 0px;
    top: 0px;

    padding: 5px 10px 5px 10px;

    font-weight: 700;

    transform: translateY(-100%);
    background-color: #ffffff;
    color: #00204c;
}

.CMobileImage {
    position: relative;

    display: none;


    border-radius: 20px;

    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);

    padding: 14px;
    margin-bottom: 30px;
}

.CMobileImage img {
    width: 100%;
}

.CImage {
    position: absolute;

    right: 0px;
    top: var(--text-border);

    width: calc(50% - var(--text-border));

    border-radius: 20px;

    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);

    padding: 14px;
}

.CImage img {
    position: relative;

    width: 100%;
    height: auto;
}

.ABlackBackground {
    background-color: rgba(0, 0, 0, 0.75);
}

.AWhiteBackground {
    background-color: rgba(255, 255, 255, 0.9);
}

.AWhiteBackground p {
    color: var(--text-color);
}

.AWhiteBackground .CQuizWindowLabel {
    background-color: var(--text-background-color);
    color: #ffffff;
}

.CQuizBackground {
    position: fixed;

    display: block;

    left: 0px;
    top: var(--site-header-height);

    width: 100%;
    height: var(--content-viewport-height);

    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
}

.CQuizQuestionContainer {
    position: relative;
    padding: var(--text-border);

    width: 100%;

    border: 1px var(--secondary-color) solid;
}

.CHeader {
    position: fixed;

    left: 0px;
    top: var(--site-header-height);

    width: 100%;
    height: 6px;

    overflow: hidden;
}

.CProgressBar {
    position: absolute;

    display: flex;

    flex-direction: row;
    gap: 2px;

    left: 0px;
    top: 0px;

    width: 100%;
    height: 6px;

    transition-property: transform;
    transition-duration: 0.5s;
    transition-timing-function: ease;

    transform: translateY(0px);
}

.state_progress_initial .CProgressBar {
    opacity: 0;
    transform: translateY(-6px);
}

.CProgressItem {
    position: relative;

    width: 100%;
    height: 100%;

    background-color: var(--tertiary-color);

    transition-property: background-color;
    transition-duration: 0.5s;
    transition-timing-function: ease;
}

.state_progress_items_q1 .CProgressItem:nth-child(-n + 1) {
    background-color: var(--secondary-color);
}

.state_progress_items_q2 .CProgressItem:nth-child(-n + 2) {
    background-color: var(--secondary-color);
}

.state_progress_items_q3 .CProgressItem:nth-child(-n + 3) {
    background-color: var(--secondary-color);
}

.state_progress_items_q4 .CProgressItem:nth-child(-n + 4) {
    background-color: var(--secondary-color);
}

.state_progress_items_q5 .CProgressItem:nth-child(-n + 5) {
    background-color: var(--secondary-color);
}

.state_progress_items_q6 .CProgressItem:nth-child(-n + 6) {
    background-color: var(--secondary-color);
}

/***/

.CSite h1 {
    font-size: 50px;
    font-weight: 700;
}

.CQuizWindow h1 {
    padding-bottom: 2vh;
}

.CQuizWindow h2 {
    font-family: 'Cambay', sans-serif;
    font-size: 18px;
    font-weight: 700;

    color: var(--secondary-color);
}

.CQuizWindow h3 {
    font-family: 'Cambay', sans-serif;
    font-size: 18px;
    font-weight: 700;

    color: var(--secondary-color);
}

.CSite p {
    font-family: 'Cambay', sans-serif;
    font-size: 18px;
    font-weight: 400;
}

.CSite br {
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}

.CSite b {
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: 700 !important;
    line-height: inherit !important;
    color: inherit !important;
}

.CImageDescription {
    font-size: 12px !important;
    font-family: 'Cambay', sans-serif;
    font-weight: 400;
    color: inherit !important;
}

.CTextDisclaimer {
    font-size: 12px !important;
    font-family: 'Cambay', sans-serif;
    font-style: italic;
    font-weight: 400;
    color: inherit !important;
}

.CTextDisclaimer a {
    font-size: inherit;
    font-family: inherit;
    font-style: inherit;
}

.CFootnote, .CFootnote a {
    font-size: 10px;
    font-family: inherit !important;
    font-style: italic;
    color: inherit !important;
}

.CSite sub {
    font-family: inherit !important;
    font-size: inherit !important;
    color: inherit !important;
    line-height: 0;
}

.CSite sup {
    font-family: inherit !important;
    /*font-size: inherit !important;*/
    font-size: 10px;
    color: inherit !important;
    line-height: 0;
}



/***/

.CTextSpacer {
    position: relative;
    width: 100%;
    height: var(--text-border);
    pointer-events: none;
}

.CImageSpacer {
    position: relative;
    width: 100%;
    height: calc(var(--text-border) / 2);
    pointer-events: none;
}


.CBackgroundMapContainer {
    position:absolute;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    opacity: 0;

    width: 100%;
    height: 100%;

    transition-property: opacity;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

.CBackgroundMapContainerVisible {
    opacity: 1;
}

.CBackgroundColorOverlay {
    position: absolute;

    opacity: 0;

    left: 0px;
    top: 0px;

    width: 100%;
    height: 100%;

    background-color: var(--text-background-color);
}

.CBackgroundColorOverlayVisible {

    opacity: 1;
}

.CBackgroundMap {
    position: absolute;

    left: 0px;
    top: 0px;

    width: 100% !important;
    height: auto !important;
}

.CBackgroundMapOverlay {
    position: absolute;

    display: inline-block;

    left: 50%;
    top: 50%;

    width: 1366px;
    height: 768px;

    transform-origin: 0px 0px;
}

.CInputContainer {
    position: relative;

    display: flex;
    flex-wrap: wrap;

    width: 100%;
}

.CInputLabel {
    position: relative;

    display: flex;
    flex-direction: row;
    justify-items: center;

    padding: 20px 20px  20px 0px;
    letter-spacing: normal;

    width: 50%;
}

.CLineInputLabel {
    position: relative;

    display: inline-block;
}

.CInputLabel div, .CInputLabel label {
    position: relative;

    display: inline-block;

    font-family: 'Cambay', sans-serif !important;
    font-size: 18px;
    font-weight: 400;
    color: var(--text-color);
}

.state_q1_complete input[type="radio"], .state_q1_complete input[type="checkbox"], .state_q1_complete input[type="range"] {
    pointer-events: none;

    opacity: 0.5;
}

.state_q2_complete input[type="radio"], .state_q2_complete input[type="checkbox"], .state_q2_complete input[type="range"] {
    pointer-events: none;

    opacity: 0.5;
}

.state_q3_complete input[type="radio"], .state_q3_complete input[type="checkbox"], .state_q3_complete input[type="range"] {
    pointer-events: none;

    opacity: 0.5;
}

.state_q4_complete input[type="radio"], .state_q4_complete input[type="checkbox"], .state_q4_complete input[type="range"] {
    pointer-events: none;

    opacity: 0.5;
}

.state_q5_complete input[type="radio"], .state_q5_complete input[type="checkbox"], .state_q5_complete input[type="range"] {
    pointer-events: none;

    opacity: 0.5;
}

.state_q6_complete input[type="radio"], .state_q6_complete input[type="checkbox"], .state_q6_complete input[type="range"] {
    pointer-events: none;

    opacity: 0.5;
}

input[type="radio"] {
    appearance: none;
    position: relative;
    pointer-events: all;

    display: inline-block;

    border-radius: 50%;
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;

    background-color: transparent;
    transition: all .2s linear;
    margin-right: 20px;
}

input[type="radio"]:before{
    content: "";
    width: 18px;
    height: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid #143746;
    border-radius: 50%;
    transform: translate(-50%,-50%);
}

input[type="radio"]:checked {
    border: 3px solid #fff !important;
    background-color: #eb384a !important;
}

input[type="checkbox"] {
    appearance: none;
    position: relative;
    pointer-events: all;

    display: inline-block;

    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;

    background-color: transparent;
    transition: all .2s linear;
    margin-right: 20px;
}

input[type="checkbox"]:before{
    content: "";
    width: 18px;
    height: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid #143746;
    transform: translate(-50%,-50%);
}

input[type="checkbox"]:checked {
    border: 3px solid #fff !important;
    background-color: #eb384a !important;
}

input[type="range"] {
    display: block;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: grab;
    width: 100%;
    height: 60px;
}

input[type="range"]::-webkit-slider-thumb {
    position: relative;
    display: block;

    -webkit-appearance: none; /* Override default look */
    appearance: none;
    margin-top: -12px; /* Centers thumb on the track */
    background-image: url("../res/img/slider_arrow.svg");
    background-position: center bottom;
    background-repeat: no-repeat;
    height: 27px;
    width: 30px;

    transform: translateY(30px);
}
input[type="range"]::-moz-range-thumb {
    position: relative;
    display: block;

    border: none; /*Removes extra border that FF applies*/
    border-radius: 0; /*Removes default border-radius that FF applies*/
    background-image: url("../res/img/slider_arrow.svg");
    background-position: center bottom;
    background-repeat: no-repeat;
    height: 27px;
    width: 30px;

    transform: translateY(30px);
}

input {
    pointer-events: all;
}

.CExternalLink {
    position: absolute;

    display: block;

    cursor: pointer;

    left: -1px;
    bottom: -1px;

    padding: 10px 20px 10px 20px;
    background-color: var(--secondary-color);

    font-size: 16px;
    font-weight: 700;
    color: #fff;

    pointer-events: all;

    transition-property: color, background-color;
    transition-duration: 0.5s, 0.5s;
    transition-timing-function: ease, ease;
}

.CExternalLink:hover {
    border: 1px solid var(--secondary-color);
    background-color: #fff;
    color: var(--secondary-color);
}

.CInputSubmit {
    position: absolute;

    cursor: pointer;

    right: -1px;
    bottom: -1px;

    padding: 10px 20px 10px 20px;
    background-color: var(--secondary-color);

    font-size: 16px;
    font-weight: 700;
    color: #fff;

    pointer-events: all;

    transition-property: color, background-color;
    transition-duration: 0.5s, 0.5s;
    transition-timing-function: ease, ease;
}

.CInputSubmit:hover {
    border: 1px solid var(--secondary-color);
    background-color: #fff;
    color: var(--secondary-color);
}

.state_q1_initial .CInputSubmit, .state_q1_complete .CInputSubmit {
    pointer-events: none;
    background-color: #cccccc;
}

.state_q2_initial .CInputSubmit, .state_q2_complete .CInputSubmit {
    pointer-events: none;
    background-color: #cccccc;
}

.state_q3_initial .CInputSubmit, .state_q3_complete .CInputSubmit {
    pointer-events: none;
    background-color: #cccccc;
}

.state_q4_initial .CInputSubmit, .state_q4_complete .CInputSubmit {
    pointer-events: none;
    background-color: #cccccc;
}

.state_q5_initial .CInputSubmit, .state_q5_complete .CInputSubmit {
    pointer-events: none;
    background-color: #cccccc;
}

.state_q6_initial .CInputSubmit, .state_q6_complete .CInputSubmit {
    pointer-events: none;
    background-color: #cccccc;
}

.CScrollIcon {
    position: absolute;

    cursor: pointer;
    pointer-events: all;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    left: calc(50% - 18px);
    bottom: -30px;

    width: 38px;
    height: 60px;

    background-color: var(--secondary-color);
}

.CScrollIcon svg {
    animation-name: AnimationArrowBounce;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.CInputSlider {
    position: relative;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    width: 100%;
}

.CInputSlider input{
    width: 100%;
}

.CInputSliderLabelContainer {
    position: relative;

    width: 100%;
}

.CInputSliderLabel {
    position: absolute;

    font-family: 'Cambay', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-color);

    white-space: nowrap;
}

.CInputSliderLabel:nth-child(1) {
    left: 0%;
}

.CInputSliderLabel:nth-child(2) {
    left: 33.33%;
}

.CInputSliderLabel:nth-child(3) {
    left: 66.66%;
}

.CInputSliderLabel:nth-child(4) {
    right: 0%;
}


.CInputSliderLabel span {
    font-family: 'Cambay', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-color);
}
.CInputSliderLabel span:nth-child(2) {
    display: none;
}
.CInputSliderLabel span:nth-child(1) {
    display: inline;
}

.CInputSliderBarContainer {
    position: absolute;

    left: 0;
    top: 20px;

    width: 100%;
    height: 15px;

    border: 1px solid var(--secondary-color);

    padding: 2px;
}

.CInputSliderBar {
    position: relative;

    width: 33.3333%;
    height: 100%;

    background-color: var(--secondary-color);
}

@keyframes AnimationArrowBounce {
    0% {
        transform: translateY(5px);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(5px);
    }
}

/*** <connections> ***/

.CDraggable {
    cursor: grab;
    stroke-opacity: 0;
    transition: stroke-opacity .25s ease-in-out;
}
.CDraggableActive {
    stroke-opacity: 1;
}

.CDragField {
    position: relative;

    pointer-events: all;
}
.state_q4_complete .CDragField {
    pointer-events: none;
    opacity: 0.5;
}

.CInputRow {
    position: relative;

    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-items: center;

    gap: 20px;

    margin-top: 20px;

    min-height: 250px;
    padding-bottom: 20px;
}

.CInputColumn {
    position: relative;

    display: flex;
    justify-items: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    min-height: 250px;
}

.CInputColumn:nth-child(2) {
    margin-right: -40px;
}

.CArticleButton {
    position: fixed;

    pointer-events: all;

    right: 20px;
    top: calc(var(--site-header-height) + 25px);

    width: 170px;
    height: 30px;

    background-color: #ff1443;

    cursor: pointer;

    transition-property: background-color;
    transition-duration: 0.3s;
    transition-timing-function: ease;

    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-align: center;
    line-height: 30px;
}

.CArticleButton:hover {
    background-color: #ff869e;
}

/*** </connections> ***/

@media (max-width: 970px) {



    .CMobileImage {
        display: block;
    }

    .CImage {
        display: none;
    }

    .CSite h1 {
        font-size: 30px;
    }

    .CQuizWindow h2 {
        font-size: 16px;
    }

    .CQuizWindow h3 {
        font-size: 18px;
    }

    .CSite p {
        font-size: 16px;
    }

    .CImageDescription {
        font-size: 12px !important;
    }

    .CTextDisclaimer {
        font-size: 12px !important;
    }

    .CFootnote, .CFootnote a {
        font-size: 10px;
    }

    .CSite sup {
        font-size: 10px;
    }

    .CInputSliderLabel {
        font-size: 10px;
    }

    .CLineInputLabel p {
        font-size: 8px;
    }

    .CInputLabel div, .CInputLabel label {
        font-size: 16px;
    }


    .CInputSliderLabel:nth-child(2) {
        left: 33.33%;

        transform: translateX(-50%);
    }

    .CInputSliderLabel:nth-child(3) {
        left: 66.66%;

        transform: translateX(-50%);
    }


    .CInputSliderLabel span:nth-child(1) {
        display: none;
    }
    .CInputSliderLabel span:nth-child(2) {
        display: inline;
    }

    .CInputSliderLabel span {
        font-size: 10px;
    }

    .CImage {
        position: relative;

        right: auto;
        top: auto;

        width: 100%;

        margin: 20px 0px 20px 0px;
    }

    .CQuizWindowHalf {
        position: relative;

        width: 100%;
    }

    .CQuizWindowFull{
        position: relative;

        width: 100%;
    }

    .CSharingItem img {
        height: auto;
    }

    .CQuizWindowFull img{
        width: 100%;
    }

    .CInputLabel {
        width: 100%;
    }

    .CQuizScreen {
        grid-template-columns: [start] 1fr [content-start] 90vw [content-end] 1fr [end];
    }

    .CInputContainer {
        flex-direction: column;
        flex-wrap: nowrap;

        width: 100%;
    }

    .CInputContainer[data-input-id="q4"] {

    }

    .AMobilePadding {
        padding: calc(var(--text-border) / 2);
    }
}

@media screen and (max-aspect-ratio: 16/9) {
    .CBackgroundMap {
        position: relative;

        left: 0px;
        top: 0px;

        width: auto !important;
        height: 100% !important;
    }

}

