.legal {
   display: none;
}
/*
==================================
GENERAL STYLES
==================================
*/
:root {
    --xa-black: #141A22;
    --xa-green: #32E975;
    --xa-green-dark: #2BC568;
    --xa-white: #DEE4DE;
    --xa-grey: #E6E6E6;
    --xa-grey-dark: #D9D9D9;
    --xa-background-gradient: radial-gradient(66.37% 66.37% at 50% 50%, #3A4A60 0%, #000000 100%);
}

.xa-theme {
    background: var(--xa-black);
    color: var(--xa-white);
}

.xa-theme .c-heading-1a {
    color: var(--xa-green);
}

.xa-theme button.c-button.f-primary,
.xa-theme button.c-call-to-action.f-primary,
.xa-theme a.c-call-to-action:not(.white-c) {
    background: var(--xa-green);
    color: var(--xa-black);
}

.xa-theme a.c-call-to-action.green-brdr {
    color: var(--xa-green);
    background: transparent;
    border-color: var(--xa-green);
}

.xa-theme button.c-button.f-primary:hover,
.xa-theme button.c-call-to-action.f-primary:hover,
.xa-theme a.c-call-to-action:hover {
    background: var(--xa-green-dark);
    color: var(--xa-black);
}

.xa-theme a.c-call-to-action.green-brdr:hover {
    color: var(--xa-green-dark);
    background: transparent !important;
    border-color: var(--xa-green-dark);
}

.xa-theme a.c-call-to-action.white-c:hover {
    color: var(--xa-green-dark) !important;
    background: transparent;
}

.xa-theme .m-banner button.c-button.f-primary:focus,
.xa-theme button.c-button.f-primary:focus,
.xa-theme button.c-button:focus,
.xa-theme .m-banner button.c-call-to-action.f-primary:focus,
.xa-theme button.c-call-to-action:focus,
.xa-theme .m-banner a.c-call-to-action:focus {
    background: var(--xa-green-dark);
    color: var(--xa-black);
    border: 2px dashed var(--xa-black);
    outline: 2px dashed var(--xa-white);
}

.xa-theme .m-banner a:not(.x-hidden-focus).c-call-to-action.green-brdr:focus, .xa-theme a:not(.x-hidden-focus).c-call-to-action.green-brdr:focus {
    color: var(--xa-green-dark);
    background: transparent !important;
    border: 2px dashed var(--xa-black);
    outline: 2px dashed var(--xa-white);
}

.xa-theme .m-banner a.c-call-to-action.white-c:focus, .xa-theme .m-banner a.c-call-to-action.white-c:focus {
    background: transparent;
    border: 2px dashed var(--xa-black);
    outline: 2px dashed var(--xa-white);
}

.xa-theme .social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    margin-top: 24px;
}

.xa-theme .social-icons a {
    width: 70px;
    text-align: center;
}

.xa-theme .social-icons a img {
    height: 40%;
}

div[id^="ContentBlockList_"]:not(.wideFeatured,.xa-theme, .legal, .xboxSocial), div[id^="cloned_ContentBlockList_"] {
    margin-top: 0;
    margin-bottom: 48px;
}

div[id^="ContentBlockList_"]:last-of-type{
    margin-bottom: 0;
}

div.theme-lighter, div.xa-theme {
    margin-bottom: 0;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* General Accessibility */
@media screen and (-ms-high-contrast:white-on-black), 
screen and (forced-colors: active) and (prefers-color-scheme: dark) {
    .high-contrast-svg-white {
        background-color: transparent;
        filter: invert(1);
    }
}

/* VFI fix for the "start quiz" and "manage profile/create an account" CTAs */
.VFIfix:focus {
    border: 2px dashed white !important;
    outline: 2px dashed black !important;
}

/*
==================================
INTRO
==================================
*/
.intro-section {
    background: #000000;
}

.intro-section section.m-hero-item {
    padding-bottom: 24px;
}

@media screen and (max-width: 767px) {
    .intro-section section.m-hero-item {
        background: url('https://cms-assets.xboxservices.com/assets/08/40/0840f263-717e-48f0-b1c3-f0702536f054.jpg?n=945398475_Super-Hero-540_Start_1083x1175_01.jpg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
    }

    .intro-section section.m-hero-item::before {
        padding-bottom: 45% !important;
    }
    
}

@media screen and (max-width: 539px) {
    .intro-section section.m-hero-item {
        background: url('https://cms-assets.xboxservices.com/assets/60/32/60328b44-733b-469f-ae45-1aee94d1643b.jpg?n=945398475_Super-Hero-0_Start_767x1175_01.jpg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
    }

    .intro-section section.m-hero-item::before {
        padding-bottom: 55% !important;
    }
    
}

@media screen and (max-width: 767px) {
    .intro-section section.m-hero-item div.m-ambient-video {
        display: none;
    }
    
}

.intro-section section.m-hero-item div.m-ambient-video video {
    max-width: 100%;
}

.intro-section section.m-hero-item.f-y-center.f-x-center div.m-ambient-video div {
    min-width: 100%;
    height: 100%;
    top: calc(50%);
}

.intro-section section.m-hero-item.f-y-center.f-x-center div.m-ambient-video div button {
    margin-left: 24px;
    margin-bottom: 24px;
}

.intro-section section.m-hero-item.f-y-center.f-x-center div.intro-content {
    width: 100%;
    max-width: 1000px;
}

@media screen and (max-width: 767px) {
    .intro-section section.m-hero-item.f-y-center.f-x-center div.intro-content {
        width: 80%;
    }
    
}

@media screen and (max-width: 767px) {
    .intro-section section.m-hero-item.f-y-center.f-x-center div.intro-content {
        width: 100%;
    }
    
}

.intro-section p.c-subheading-2 {
    font-weight: bold;
}

@media screen and (max-width: 767px) {
    .intro-section p.c-paragraph-1 {
        padding-top: 0;
        font-size: 16px;
        line-height: 20px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .intro-section p.c-subheading-2, .intro-section p.c-paragraph-1, .intro-section .flex-group {
        padding-top: 0;
    }
}

.intro-section .flex-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.intro-section .flex-group a.c-call-to-action#start-button {
    margin-right: 0;
}

.intro-section .flex-group a.c-call-to-action#skip-button {
    border-width: 2px;
}

.intro-section button#start-button[disabled], 
.intro-section a#start-button[disabled] {
    cursor: wait;
    background: var(--xa-green-dark);
}

.intro-section button#start-button[disabled]::after, .intro-section a#start-button[disabled]::after {
    content: '';
    font-family: MWFMDL2-Xbox;
}

/* Accessibility */
@media screen and (-ms-high-contrast:black-on-white), screen and (forced-colors: active) and (prefers-color-scheme: light) {
    .intro-section .flex-group a.green-brdr:focus, .intro-section [class^="m-"] .flex-group a.green-brdr:not(.c-action-trigger):focus:not(.x-hidden-focus), .intro-section [class*=" m-"] .flex-group a.green-brdr:not(.c-action-trigger):focus:not(.x-hidden-focus) {
        outline: 2px dashed Canvas !important;
        border: 2px dashed CanvasText !important;
    }
}

/*
==================================
QUIZ
==================================
*/
.quiz-section {
    background: #000000;
    display: none;
}

.quiz-container {
    max-width: 1920px;
    margin: 0 auto;
    background: var(--xa-background-gradient);
    text-align: center;
    padding: 48px 24px;
    height: 90vh;
    min-height: fit-content;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

@media screen and (max-width: 767px) {
    .quiz-container {
        padding-top: 0;
    }
}

@media screen and (min-width: 768px) {
    .quiz-container .quiz-elements {
        max-width: 80%;
    }
}

.quiz-container #header {
    display: flex;
    justify-content: space-around;
    margin: 10px auto;
    padding: 10px;
    font-weight: bold;
    align-items: center;
    max-width: 600px;
}

@media screen and (max-width: 767px) {
    .quiz-container #header {
        max-width: 320px;
        margin: 24px auto;
        padding: 0;
    }
}

.quiz-container #header p {
    font-weight: bold;
}

.quiz-container #timer {
    position: relative;
    min-width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(var(--xa-green) 0deg, var(--xa-green) 360deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
    color: var(--xa-black);
}

/* Accessibility */
.text-spacing .quiz-container #timer {
    min-width: 200px;
    height: 200px;
}

@media screen and (max-width: 767px) {
    .quiz-container #timer {
        min-width: 120px;
        height: 120px;
    }
}

.quiz-container #timer::before {
    content: '';
    position: absolute;
    /* Adjust following rules to match the padding */
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border-radius: 50%;
    background: var(--xa-grey-dark);
    z-index: 1;
}

.quiz-container #timer.finished_timer::before {
    transition: background .25s ease-in;
    background: var(--xa-green);
}

.quiz-container #timer p {
    position: relative;
    z-index: 2;
}

.quiz-container #timer .seconds {
    display: block;
}

.quiz-container #question-headline {
    max-width: 850px;
}

@media screen and (max-width: 767px) {
    .quiz-container #question-headline{
        padding-top: 0;
        font-size: 34px;
        line-height: 40px;
    }
}

.quiz-container #question-headline:focus {
    outline: none;
}

.quiz-container #question-image-container {
    margin: 24px auto;
}

@media screen and (max-width: 767px) {
    .quiz-container #question-image-container {
        margin: 12px auto;
    }
}

.quiz-container #question-image-container img {
    width: 600px;
    max-width: 100%;
    height: auto;
}

.quiz-container #button-container.c-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 24px;
}

.quiz-container .button {
    margin: 10px;
    padding: 10px 20px;
    cursor: pointer;
}

.quiz-container #answer {
    margin: 10px 0;
    max-width: 850px;
    display: none;
}

@media screen and (max-width: 767px) {
    .quiz-container #answer {
        margin: 0;
    }

    .quiz-container #answer.c-heading-2 {
        font-size: 26px;
    }
}

.quiz-container #answer:before {
    font-family: "MWF-MDL2";
    display: inline-block;
    position: relative;
    right: 0;
    content: "";
    vertical-align: text-bottom;
    font-weight: 400;
    margin-right: 10px;
}

.quiz-container #answer.correct_answer_style {
    color: var(--xa-green);
}

.quiz-container #answer.correct_answer_style:before {
    content: "";
}

.quiz-container #answer-desc {
    margin: 10px 0;
    max-width: 850px;
    display: none;
}

@media screen and (max-width: 767px) {
    .quiz-container #answer-desc {
        margin: 0;
        text-align: center;
    }
}

.quiz-container #next-button {
    display: none;
    margin: 10px auto 0;
}

/* Special Questions */
/* TODO: Grab these backgrounds from element */
.quiz-container.immersive {
    position: relative;
    overflow: hidden;
    z-index: 0;
    background: none;
}

.quiz-container.immersive:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://cms-assets.xboxservices.com/assets/a2/ee/a2ee1f0e-0588-465f-ab94-c64ef31b0043.jpg?n=945398475_Super-Hero-0_Q-11_767x1175_01.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0;
    animation: fadeIn 1s forwards;
    z-index: -1;
}

@media screen and (min-width: 768px) {
    .quiz-container.immersive:before {
        background: url('https://cms-assets.xboxservices.com/assets/b3/6d/b36df23a-44ba-48a9-9ec0-42036b246926.jpg?n=945398475_Super-Hero-768_Q-11_1920x1080_01.jpg');
        background-position: center top;
    }
    
}

.quiz-container.immersive #question-headline {
    margin-bottom: 24px;
}

.quiz-container.immersive #question-headline.immersive_post_answer {
    margin-bottom: 0;
}

.quiz-container.immersive #question-headline.c-heading-1a {
    color: var(--xa-white);
}

.quiz-container.immersive #question-headline:before {
    content: " ";
    background: url('https://cms-assets.xboxservices.com/assets/48/a7/48a7b6d2-8cc7-4798-977a-33199a52983c.png?n=945398475_Image-0_Q-11-Top_1000x60.png');
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    width: 100%;
    padding-bottom: 6%;
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 1s;
}

.quiz-container.immersive .quiz-elements:after {
    content: " ";
    background: url('https://cms-assets.xboxservices.com/assets/6d/4a/6d4ab479-e316-474c-9065-965b1f1e51bf.png?n=945398475_Image-0_Q-11-Bottom_1000x60.png');
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    width: 100%;
    padding-bottom: 6%;
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 1s;
}

.quiz-container.immersive #question-image-container {
    display: none;
}

.quiz-container.immersive #button-container {
    padding-bottom: 0;
}

.quiz-container.immersive #answer-container #answer {
    text-transform: uppercase;
    color: var(--xa-white);
}

.quiz-container.immersive #answer-container #answer.correct_answer_style {
    color: var(--xa-green);
}

.quiz-container.immersive #answer-container #answer:before {
    content: "";
}

/*
==================================
RESULTS
==================================
*/
div.results-section {
    background: #000000;
    display: none;
}

.results-container {
    background: var(--xa-background-gradient);
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

@media screen and (min-width: 768px) {
    .results-container {
        flex-direction: row;
    }
}

@media screen and (max-width: 767px) {
    .results-container.m-hero-item:before{
        padding-bottom: 0;
    }
    
    .results-container.m-hero-item>picture, .results-container.m-hero-item>picture img {
        position: relative;
    }
    
    .results-section .m-hero-item.f-x-center>div {
        position: absolute;
        top: 25%;
    }
}

.results-section .m-hero-item.f-x-center>div {
    overflow: visible;
}

.results-section .m-hero-item.f-x-center>div>div.m-rich-heading {
    min-width: 100%;
}

.results-section .m-rich-heading {
    background: transparent;
    padding: 20px;
    border-radius: 10px;
    height: 100%;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 0;
    min-width: 100%;
}

@media screen and (min-width: 768px) {
    .results-section .m-rich-heading {
        flex-direction: row;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }
}

.results-section .m-banner {
    clear: none;
    border-radius: 10px;
}

.results-section .m-banner.quiz_results_score {
    background: #32E975;
    color: var(--xa-black);
    padding: 48px;
    width: 500px;
    margin: 0;
}

@media screen and (max-width: 1023px) {
    .results-section .m-banner.quiz_results_score {
        padding: 24px;
    }
}

.results-section .m-banner.quiz_results_score .c-heading-1a {
    color: var(--xa-black);
}

.results-section .m-banner.quiz_results_actions {
    padding-top: 0;
    width: 500px;
    margin: 0;
}

@media screen and (max-width: 767px) {
    .results-section .m-banner.quiz_results_score, .results-section .m-banner.quiz_results_actions {
        width: 100%;
    }
}

.results-section .m-banner.quiz_results_actions h2 {
    color: var(--xa-green);
    padding-top: 0;
}

.results-section .m-banner.quiz_results_actions p {
    font-weight: 600;
}

.results-section div.results-buttons-group {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

@media screen and (min-width: 1024px) {
    .results-section div.results-buttons-group {
        flex-wrap: nowrap;
    }
}

.results-section div.results-buttons-group a.c-call-to-action.green-brdr {
    margin-top: 3px;
}


/*
==================================
SHARE MODAL
==================================
*/
#sharebox-x {
    color: var(--xa-white);
    background: var(--xa-black);
    z-index: 2;
    min-width: 250px;
}

#sharebox-x .social-icons {
    margin-top: 0;
}

#sharebox-x .social-icons a {
    width: 60px;
}

#sharebox-x .social-icons a img {
    height: 60px;
}

.shareLink span img {
    margin-right: 14px;
    margin-left: 4px;
    bottom: 2px;
    position: relative;
}

.sharebox-caret {
    position: absolute;
    left: 31px;
    top: -10px;
    height: 18px;
    width: 18px;
    background-color: var(--xa-black);
    border-top: 1px solid var(--xa-green);
    border-right: 1px solid var(--xa-green);
    transform: rotate(-45deg);
}

@media screen and (min-width: 768px) and (max-width: 1083px) {
    .sharebox-caret {
        left: 67px;
    }

    a.c-call-to-action.exploreLink {
        float: none;
        display: inline-block !important;
    }
}

.sharelink-wrapper {
    position: relative;
    /* width: 220px; */
}

@media screen and (min-width: 1084px) {
    .sharelink-wrapper {
        display: inline-block;
    }
}

.sharelink-wrapper button.shareLink {
    margin-top: 2px;
    padding: 8px 13px;
}

.sharebox {
    position: absolute;
    display: none;
    background-color: #fff;
    color: #000;
    padding: 5px 20px 10px 20px;
    border: 1px solid var(--xa-green);
    margin-top: 20px;
    text-align: left;
}

.sharebox:after {
    content: "";
    display: table;
    clear: both;
}

.sharebox p {
    clear: both;
}

.sharebox.open {
    display: block;
}

.share-header {
    font-weight: 900;
    font-size: 15px;
    padding-top: 0;
    padding-bottom: 10px;
}

.sharelink-wrapper .sharebox .share-close {
    color: var(--xa-green);
    font-family: "MWF-MDL2";
    font-weight: 900 !important;
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    min-width: 0;
    height: 14x;
    font-size: 14px;
    line-height: 14px;
    padding: 2px;
    margin: 0 !important;
}

.sharelink-wrapper .sharebox .share-close:hover {
    color: var(--xa-green-dark);
}

.sharelink-wrapper .sharebox .share-close:focus {
    color: var(--xa-green);
}

.share-textbox {
    padding: 12px;
    border: 1px solid #737373;
    text-align: right;
}

.share-textbox span.quiz {
    display: block;
    padding-bottom: 5px;
    text-align: left;
}

.sharelink-link {
    font-weight: bold;
}

.sharelink-wrapper .sharebox .success,
.sharelink-wrapper .sharebox .copy {
    min-width: 0;
    text-align: right;
    margin: 0;
    padding: 5px;
    margin-top: 5px;
    height: 40px;
}

.copy-block {
    clear: both;
    padding-top: 10px;
}

.copy-block button {
    color: var(--xa-green) !important;
}


.copy-block button:hover {
    color: var(--xa-green-dark) !important;
}

.copy-block.copied button {
    cursor: default;
    color: var(--xa-green-dark) !important;
    text-decoration: none !important;
}

.copy-block.copied button:active,
.copy-block.copied button:hover,
.copy-block.copied button:focus {
    border-color: transparent !important;
    outline-color: transparent !important;
    background-color: transparent !important;
}

.copy-block .success {
    display: none;
    font-weight: 900;
}

.copy-block.copied .success {
    display: block;
}

.copy-temp {
    height: 0;
    width: 0;
    opacity: 0;
}

/*
==================================
CUSTOM MOSAIC
==================================
*/

div.mosaic-header .m-banner h1 {
    word-break: break-word;
    hyphens: auto;
}

@media screen and (max-width: 767px) {
    div.mosaic-header .m-banner h1 {
        font-size: 63px;
    }
    
}

div.custom-mosaic {
    margin-bottom: 0;
}

.custom-mosaic-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 0;
    max-width: 1920px;
    margin: 0 auto;
}

.custom-mosaic-item {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
    background: #000000;
}

.custom-mosaic-item.focused {
    border: 2px dashed #fff;
}

.custom-mosaic-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.zoomImg {
    cursor: pointer;
}

@media screen and (min-width: 1084px) {
    .zoomImg {
        display: block;
    }

    .zoomImg img {
        -moz-transition: all 0.3s;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
    }

    .zoomImg:hover img {
        -moz-transform: scale(1.1) perspective(1000px) translateZ(0);
        -webkit-transform: scale(1.1) perspective(1000px) translateZ(0);
        transform: scale(1.1) perspective(1000px) translateZ(0);
    }
}

.custom-mosaic-item .c-drawer-panel.m-banner {
    display: none;
}

.custom-mosaic-item button.c-action-trigger {
    display: none;
}

.c-dialog>[role="presentation"] {
    background: rgba(0,0,0,0.75);
}


.c-dialog.f-flow [role="dialog"] {
    height: auto !important;
    max-height: 90vh;
    background: var(--xa-grey);
    border: none;
}

.c-dialog.f-flow .standalone_xa-theme[role="dialog"] {
    background: #010204;
    color: var(--xa-grey);
}

.c-dialog.f-flow .standalone_xa-theme[role="dialog"] h2 {
    color: var(--xa-green)
}

.c-dialog [role="dialog"] [role="document"] {
    overflow-y: visible;
}

.mobile_mosaic_features_container .feature_content .c-group a.c-call-to-action,
.c-dialog [role="dialog"] [role="document"] .m-feature .feature_content .c-group a.c-call-to-action{
    text-wrap: auto;
    text-align: left;
}

.mobile_mosaic_features_container .feature_content .c-group a.c-call-to-action span,
.mobile_mosaic_features_container .m-feature .feature_content .c-group a.c-call-to-action:after,
.c-dialog [role="dialog"] [role="document"] .m-feature .feature_content .c-group a.c-call-to-action span, 
.c-dialog [role="dialog"] [role="document"] .m-feature .feature_content .c-group a.c-call-to-action:after {
    display: inline;
}

.mobile_mosaic_features_container .feature_content .c-group a.c-call-to-action:after,
.c-dialog [role="dialog"] [role="document"] .m-feature .feature_content .c-group a.c-call-to-action:after {
    vertical-align: initial;
}

.c-dialog.f-flow [role="dialog"]>.c-glyph.glyph-cancel {
    border-radius: 5px;
    background: var(--xa-black);
    color: var(--xa-green);
    top: 15px;
    right: 15px;
}

.c-dialog.f-flow [role="dialog"]>.c-glyph.glyph-cancel:focus {
    outline: 1px dashed #000000;
    border: 2px dashed #ffffff;
}

.c-dialog.f-flow [role=dialog]>.c-glyph.glyph-cancel:before {
    margin: 0;
    /* width: 25px;
    height: 25px; */
    font-size: 20px;
    line-height: 0px;
}

.c-dialog.f-flow [role="dialog"] [data-feature-item] {
    display: none;
}

.c-dialog.f-flow [role="dialog"] section.m-feature.f-align-center picture {
    text-align: center;
}

.c-dialog.f-flow [role="dialog"] section.m-feature.f-align-center picture img {
    width: 100%;
    margin: 0 auto;
    max-width: 460px;
}

.c-dialog.f-flow [role="dialog"] a.focus_anchor {
    height: 0;
    width: 0;
    position: absolute;
}

.c-dialog.f-flow [role="dialog"] a.focus_anchor:focus {
    outline: none;
}

/* fix for CTA color in popups */
.c-dialog.f-flow [role="dialog"] .c-call-to-action {
    color: #054b16;
}

/* fix for * hyperlink color in Amazon Fire tile */
.custom-mosaic-container .custom-mosaic-item .m-banner .feature_content .c-paragraph a {
    color: #2bc568;
}

@media screen and (min-width:768px) {
    .c-dialog.f-flow [role="dialog"] {
        width: 1000px;
        max-width: 1000px;
        max-width: 90%;
        max-height: 90vh;
    }
}

@media screen and (min-width:1084px) {
    .c-dialog.f-flow [role="dialog"] {
        width: 100%;
        max-width: 1000px;
    }
}

/*
==================================
CUSTOM MOSAIC - MOBILE
==================================
*/
@media screen and (max-width: 767px) {    
    .custom-mosaic-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .custom-mosaic-item {
        padding-top: 0;
        text-align: right;
        background: var(--xa-black);
        color: var(--xa-white);
    }

    .custom-mosaic-item.focused {
        border: 2px dashed #000;
    }

    .custom-mosaic-item img {
        position: initial;
        display: block;
        height: auto;
    }

    .custom-mosaic-item button.c-action-trigger {
        display: block;
        position: absolute;
        margin-top: -48px;
        width: fit-content;
        left: auto;
        right: 0;
        padding-left: 10px;
        background: transparent;
        box-shadow: none;
        color: var(--xa-green);
    }

    .custom-mosaic-item button.c-action-trigger:hover, .custom-mosaic-item button.c-action-trigger:focus {
        color: var(--xa-green-dark);
        text-decoration: none;
    }

    .custom-mosaic-item.c-drawer>button.c-action-trigger:before {
        position: relative;
        top: 7px;
        left: 10px;
    }

    .zoomImg {
        position: relative;
        display: block;
        cursor: default;
        pointer-events: none;
    }

    .zoomImg:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, rgba(20, 26, 35, 0) 0%, rgba(20, 26, 35, 0.7) 100%);
        pointer-events: none; /* Ensure the gradient doesn't interfere with interactions */
    }

    .custom-mosaic-item .c-drawer-panel.m-banner {
        padding-top: 24px;
        padding-bottom: 24px;
        text-align: left;
    }

    .custom-mosaic-item .c-drawer-panel.m-banner div.feature_content {
        margin: 24px 0;
    }

    .custom-mosaic-item .c-drawer-panel.m-banner div.feature_content h2.c-heading {
        font-size: 26px;
        line-height: 32px;
        margin-bottom: 12px;
    }

    .custom-mosaic-item .c-drawer-panel.m-banner div.feature_content .c-group {
        /* text-align: center; */
    }

    .custom-mosaic-item .c-drawer-panel.m-banner div.feature_content .c-group .c-call-to-action {
        color: var(--xa-green);
    }

    .custom-mosaic-item .c-drawer-panel.m-banner div.feature_content .c-group .c-call-to-action:hover {
        color: var(--xa-green-dark);
    }

    .custom-mosaic-item .c-drawer-panel.m-banner div.feature_content .c-group .c-call-to-action:focus {
        color: var(--xa-green-dark);
    }

    .c-dialog.f-flow [role="dialog"] {
        display: none !important;
    }

    /* Accessibility */
    @media screen and (-ms-high-contrast:white-on-black), 
    screen and (forced-colors: active) and (prefers-color-scheme: dark) {
        [class*="m-"]:not(.m-in-page-navigation) .custom-mosaic-item button:not(.c-select-button):not(.c-sequence-indicator):hover:not(:disabled):not(.vidPlayPause):not(.c-action-toggle):hover, [class*="m-"]:not(.m-in-page-navigation) .custom-mosaic-item button:not(.c-select-button):not(.c-sequence-indicator):focus:not(:disabled):not(.c-flipper):not(.vidPlayPause):not(.c-action-toggle) {
            color: CanvasText !important;
            background-color: Canvas !important;
        }
    }

    @media screen and (-ms-high-contrast:black-on-white), 
    screen and (forced-colors: active) and (prefers-color-scheme: light) {
        [class*="m-"]:not(.m-in-page-navigation) .custom-mosaic-item button:not(.c-select-button):not(.c-sequence-indicator):hover:not(:disabled):not(.vidPlayPause):not(.c-action-toggle):hover, [class*="m-"]:not(.m-in-page-navigation) .custom-mosaic-item button:not(.c-select-button):not(.c-sequence-indicator):focus:not(:disabled):not(.c-flipper):not(.vidPlayPause):not(.c-action-toggle) {
            color: CanvasText !important;
            background-color: Canvas !important;
        }
    }
}

/*
==================================
DRAWER - LEARN MORE
==================================
*/
div.page-drawer {
    margin-bottom: 0;
}

div.page-drawer div.c-drawer {
    background: var(--xa-white);
    color: var(--xa-black);
}

div.page-drawer div.c-drawer button.c-action-trigger {
    display: block;
    background: transparent;
    box-shadow: none;
    color: var(--xa-black);
    border: 2px solid var(--xa-black);
    margin: 24px auto 48px;
    padding: 4px 24px 4px 0;
}

div.page-drawer div.c-drawer button.c-action-trigger:focus {
    border: 2px dashed #000000;
    outline: 1px dashed #ffffff;
}

div.page-drawer div.c-drawer button.c-action-trigger[aria-expanded="false"]:before {
    margin-left: 14px;
}

div.page-drawer div.c-drawer button.c-action-trigger[aria-expanded="false"]:before {
    content: "" !important;
}

div.page-drawer div.c-drawer button.c-action-trigger[aria-expanded="true"]:before {
    content: "" !important;
}

div#pageDrawer {
    background: #ffffff;
}

/*
==================================
SUPER HERO - DISCOVER GAMES
==================================
*/

.discover-games.theme-dark {
    background: #000000;
    margin-bottom: 0;
}

@media screen and (min-width: 768px) {
    .discover-games.theme-dark {
        margin-bottom: 48px;
        background: var(--xa-white);
    }
    
}

@media screen and (max-width: 767px) {
    .discover-games.theme-dark .m-hero-item>div {
        height: 250px;
    }
}

.discover-games div.discover-games-container {
    max-width: 1920px;
}

/*
==================================
HIGHLIGHT FEATURE - CLOUD GAMING
==================================
*/
div.cloud-gaming .m-highlight-feature div.high-contrast {
    background: transparent;
    box-shadow: none;
    text-align: left;
    padding-left: 24px;
    padding-right: 24px;
}

div.cloud-gaming .m-highlight-feature div.high-contrast > * {
    padding-top: 12px;
}

@media screen and (max-width: 767px) {
    div.cloud-gaming .m-highlight-feature div.high-contrast {
        width: 100%;
    }
}

/* fix for CTA color */
div.cloud-gaming .m-highlight-feature .c-call-to-action {
    color: #054b16;
}

/*
==================================
COMMUNITY - SUPER HERO
==================================
*/
@media screen and (min-width: 768px) {
    .community .m-hero-item.f-y-top>div>div {
        top: 5%;
    }
}

@media screen and (min-width: 1084px) {
    .community .m-hero-item.f-y-top>div>div {
        max-width: 380px;
    }
}

@media screen and (max-width: 767px) {
    .community .m-hero-item.f-y-top>div>div>picture {
        padding-bottom: 12px;
    }
}

.community .m-hero-item img.pledge-logo {
    height: 55px;
}

@media screen and (min-width: 1084px) {
    .community .m-hero-item img.pledge-logo {
        height: 85px;
    }
}

.community .m-hero-item h2 {
    padding-top: 24px;
}

@media screen and (max-width: 1084px) {
    .community .m-hero-item h2 {
        padding-top: 12px;
    }
}

@media screen and (max-width: 767px) {
    .community .m-hero-item h2 {
        padding-top: 0;
    }
}

/* fix for CTA color */
.community .m-hero-item .high-contrast .c-call-to-action {
    color: #054b16;
}

/*
==================================
STAY CONNECTED
==================================
*/
.xa-theme.stay-connected .social-icons {
    flex-direction: column;
    gap: 10px
}

@media screen and (min-width: 540px) {
    .xa-theme.stay-connected .social-icons {
        flex-direction: row;
        gap: 0;
    }
}

.xa-theme.stay-connected .social-icons div.icon-break {
    display: flex;
}

.xa-theme.stay-connected .social-icons a img {
    height: 100%;
}

@media screen and (-ms-high-contrast:black-on-white), 
screen and (forced-colors: active) and (prefers-color-scheme: light) {
    .social-icons {
        filter: invert(1);
    }
}

/*
==================================
LEGAL
==================================
*/
div.legal {
    margin-bottom: 0;
}

/*
==================================
SOCIAL FOOTER
==================================
*/
div.xboxSocial {
    margin-bottom: 0;
}
@media only screen and (min-width: 1084px) and (max-width: 1399px) {
  .this-is-gear .m-hero-item>div>div {
      width: 38%;
  }
}

/* override to make hero flow at mobile */

@media only screen and (max-width: 767px) {
    .this-is-gear .m-hero-item:before {
        /* This is what defines the aspect ratio of the hero. We want it to flow and be defined by the image itself. */
        display: none;
    }
    .this-is-gear .m-hero-item>div,
    .this-is-gear .m-hero-item>div>div,
    .this-is-gear .m-hero-item>picture img,
    .this-is-gear .m-hero-item>img,
    .this-is-gear .m-hero-item>picture {
        /* Some of these styles are redundant for some of these elements, but it doesn't hurt to pile them up in one place */
        position: relative;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        overflow: visible;
        height: auto;
    }
    .this-is-gear .m-hero-item>div>div {
        padding-top: 48px;
        padding-bottom: 48px;
    }
}

/* Hide Facebook share button as per Natalie's request */
#share-link_facebook {
  display: none;
}

/* There With You */
 .featured-games,
.wideFeatured .featured-games-header {
    /*display: none;*/
    /* hidden until content successfully loads */
    width: 100%;
}

.wideFeatured .rotator-heading {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 42px;
    padding-left: 5%;
    padding-right: 5%;
}

.wideFeatured p.subHead {
    padding-top: 12px;
}

.wideFeatured .c-heading-1a, .wideFeatured .gamesCarousel a.c-call-to-action.f-lightweight.c-glyph {
    color: #32E975 !important;
}

.wideFeatured {
    background-color: #010204;
}

.wideFeatured .featured-games .m-area-heading {
    /*padding-top: 0 !important;*/
    padding-bottom: 18px;
}

@media screen and (max-width: 539px) {
    .wideFeatured .featured-games .m-area-heading {
        padding-bottom: 9px;
    }
}

.wideFeatured .featured-games a.skip-rotator {
    background-color: #333;
    color: #fff;
    position: absolute;
    top: 10%;
    left: -500%;
    transform: translateX(-50%);
    padding: 5px 15px;
    z-index: 400;
}

.wideFeatured .featured-games a.skip-rotator:focus {
    left: 50%;
}

.wideFeatured #skipped {
    width: .01px;
    height: .01px;
    opacity: 0;
}

.wideFeatured .featured-games .m-product-placement {
    max-width: calc(1353px);
    margin: 0 auto;
    float: none;
}

.wideFeatured .featured-games * {
    border: 0;
}

.wideFeatured .featured-games .c-carousel::before {
    content: "";
    position: absolute;
    bottom: -50px;
    height: 100%;
    width: 100%;
    z-index: -1;
    /*background-color: rgba(103, 114, 128, .5);*/
    /* Done this way because of a small gap than can exist inside an element.*/
    /*-webkit-filter: blur(50px);
    filter: blur(50px);*/
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
    .wideFeatured .featured-games .m-product-placement-item::before {
        /*box-shadow: 0px 50px 5px 0px rgba(103, 114, 128, .5); The above method doesn't work in IE */
    }

    .wideFeatured .featured-games .c-carousel::before {
        background-color: rgba(103, 114, 128, .3);
        /*box-shadow: 0px 0px 50px 0px rgba(103,114,128,0.5);*/
        width: 100%;
        height: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}


/* These containers don't scale, so setting fixed width/height */

.wideFeatured .featured-games .m-product-placement-item>a,
.wideFeatured .featured-games .m-product-placement-item.f-size-large picture,
.wideFeatured .featured-games .c-product-placement.f-size-large picture,
.wideFeatured .featured-games .m-product-placement-item.f-size-large,
.wideFeatured .featured-games .c-product-placement.f-size-large {
    box-sizing: content-box;
    padding: 0 !important;
}

@media screen and (min-width: 768px) and (max-width: 1083px) {

    .wideFeatured .featured-games.specialFeatured .m-product-placement-item>a,
    .wideFeatured .featured-games.specialFeatured .m-product-placement-item.f-size-large picture,
    .wideFeatured .featured-games.specialFeatured .c-product-placement.f-size-large picture,
    .wideFeatured .featured-games.specialFeatured .m-product-placement-item.f-size-large,
    .wideFeatured .featured-games.specialFeatured .c-product-placement.f-size-large {
        width: 520px !important;
        height: 780px !important;
    }

    .wideFeatured .gamesSection .c-carousel .m-product-placement-item a [class^="c-heading"] {
        bottom: 56px;
    }
}

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

    .wideFeatured .featured-games.specialFeatured .m-product-placement-item>a,
    .wideFeatured .featured-games.specialFeatured .m-product-placement-item.f-size-large picture,
    .wideFeatured .featured-games.specialFeatured .m-product-placement-item.f-size-large img,
    .wideFeatured .featured-games.specialFeatured .c-product-placement.f-size-large picture,
    .wideFeatured .featured-games.specialFeatured .m-product-placement-item.f-size-large,
    .wideFeatured .featured-games.specialFeatured .c-product-placement.f-size-large {
        width: 300px !important;
        height: 450px !important;
    }
}

.wideFeatured .featured-games.specialFeatured .m-product-placement-item>a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 1) 100%);
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 1) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, .2) 97%, rgba(0, 0, 0, 1) 100%);
}

.wideFeatured .featured-games .m-product-placement-item>a:hover *,
.wideFeatured .featured-games .c-product-placement>a:hover * {
    border: 0;
    text-decoration: inherit;
}

.wideFeatured .featured-games .m-product-placement-item>a:focus,
.wideFeatured .featured-games .c-product-placement>a:focus {
    outline: 2px dashed #fff;
    border: 2px dashed #000 !important;
}

.wideFeatured .featured-games .m-product-placement-item>a:focus>picture,
.wideFeatured .featured-games .m-product-placement-item>a:focus>.f-default-image>picture,
.wideFeatured .featured-games .m-product-placement-item>a:hover>picture,
.wideFeatured .featured-games .m-product-placement-item>a:hover>.f-default-image>picture,
.wideFeatured .featured-games .c-product-placement>a:focus>picture,
.wideFeatured .featured-games .c-product-placement>a:focus>.f-default-image>picture,
.wideFeatured .featured-games .c-product-placement>a:hover>picture,
.wideFeatured .featured-games .c-product-placement>a:hover>.f-default-image>picture {
    border: 0;
}

.wideFeatured .featured-games .m-product-placement-item>a:hover .c-heading,
.wideFeatured .featured-games .m-product-placement-item>a:hover .c-subheading,
.wideFeatured .featured-games .c-product-placement>a:hover .c-heading,
.wideFeatured .featured-games .c-product-placement>a:hover .c-subheading,
.wideFeatured .featured-games .m-product-placement-item>a:hover .c-paragraph,
.wideFeatured .featured-games .m-product-placement-item>a:focus .c-heading,
.wideFeatured .featured-games .m-product-placement-item>a:focus .c-subheading,
.wideFeatured .featured-games .c-product-placement>a:focus .c-heading,
.wideFeatured .featured-games .c-product-placement>a:focus .c-subheading,
.wideFeatured .featured-games .m-product-placement-item>a:focus .c-paragraph {
    text-decoration: none;
}

.wideFeatured .featured-games .m-product-placement-item.f-size-large div.slide-content {
    position: absolute;
    bottom: 3px;
    left: 2px;
    right: 0;
    color: white;
    z-index: 100;
    padding: 32px 27px 30px 30px;
    white-space: normal;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .5) 12px, rgba(0, 0, 0, .1) 27%);
}

.wideFeatured .featured-games .m-product-placement-item.f-size-large div.slide-content .c-badge.f-small {
    font-size: 11px;
    height: 16px;
    color: #fff;
    background-color: #107c10;
}

.wideFeatured .featured-games .m-product-placement-item .slide-content .availability {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.wideFeatured .featured-games .m-product-placement-item .slide-content .availability>div {
    bottom: 0;
    right: 0;
    background-color: #fff;
    display: inline-block;
    transform: translateX(-15px) skewX(32deg);
    /* counter this in child element */
}

.wideFeatured .featured-games .m-product-placement-item .slide-content .availability p {
    height: 32px;
    line-height: 30px;
    padding: 0 22px 0 47px;
    /* padding compensated for skew and parent margin to maintain 32px */
    color: #000;
    display: inline-block;
    text-align: top;
    transform: skewX(-32deg);
    /* counters parent element */
}

@media screen and (max-width: 767px) {
    .wideFeatured .featured-games .m-product-placement-item .slide-content .availability p {
        padding-left: 30px;
        padding-right: 26px;
    }
}

.wideFeatured .featured-games .m-product-placement-item .slide-content .availability p span {
    font-family: "MWF-MDL2";
    display: inline-block;
    font-weight: 400;
    font-size: 1.2em;
    vertical-align: middle;
}

.wideFeatured .featured-games .m-product-placement-item .slide-content .availability p span.false {
    display: none;
}

.wideFeatured .featured-games .m-product-placement-item .slide-content .availability p span:first-of-type {
    padding-left: 8px;
}

.wideFeatured .featured-games .m-product-placement-item .slide-content .availability p span:nth-child(2) {
    padding-left: 12px;
}

@media screen and (max-width: 767px) {
    .wideFeatured .featured-games .m-product-placement-item .slide-content .availability p span:nth-child(2) {
        padding-left: 11px;
    }
}

.wideFeatured .featured-games .availability {
    display: none;
}

.wideFeatured .featured-games .m-product-placement-item .c-paragraph,
.wideFeatured .featured-games .c-product-placement .c-paragraph {
    color: #fff;
}

.wideFeatured .featured-games .m-product-placement-item .slide-content .availability .m-product-placement-item .c-paragraph,
.wideFeatured .featured-games .c-product-placement .c-paragraph {
    color: #fff;
}

.wideFeatured .featured-games .m-product-placement-item .f-default-image,
.wideFeatured .featured-games .c-product-placement .f-default-image {
    padding-right: 0 !important;
}

.wideFeatured .featured-games .m-product-placement-item picture .c-image,
.wideFeatured .featured-games .c-product-placement picture .c-image {
    top: 0 !important;
    left: 0 !important;
    transform: translate(0, 0) !important;
}

.wideFeatured .featured-games .m-product-placement-item>a>picture,
.wideFeatured .featured-games .m-product-placement-item>a>.f-default-image>picture,
.wideFeatured .featured-games .c-product-placement>a>picture,
.wideFeatured .featured-games .c-product-placement>a>.f-default-image>picture {
    border: 0;
}

.wideFeatured .featured-games .m-product-placement .c-carousel .c-group {
    padding: 4px 8px 8px 8px;
}

.wideFeatured .featured-games .m-product-placement-item>a {
    margin: 0 6px 0 4px;
}

@media (max-width:767px) {
    .wideFeatured .gamesSection .c-carousel .m-product-placement-item {
        margin: 0px 24px 12px 0px;
    }

    .wideFeatured .gamesSection .c-carousel .m-product-placement-item a [class^="c-heading"] {
        min-height: 4.5em;
        bottom: 80px;
    }

    .wideFeatured .gamesSection .specialFeatured .c-carousel .m-product-placement-item a [class^="c-heading"] {
        min-height: 1em;
    }

    .wideFeatured button.c-flipper {
        top: 45% !important;
    }

    .wideFeatured .featured-games .rotator-heading h2,
    .wideFeatured .featured-games .rotator-heading p {
        text-align: center;
    }

    .wideFeatured .featured-games.specialFeatured .m-product-placement-item.f-size-large div.slide-content {
        padding: 32px 12px 0px 16px;
    }
}

.wideFeatured .specialFeatured .m-product-placement-item.f-size-large {
    width: 520px;
}

.wideFeatured .gamesSection .specialFeatured .c-carousel .m-product-placement-item.f-size-large picture {
    height: 780px;
    width: 520px;
}

.wideFeatured .specialFeatured img.c-image {
    width: 520px;
    max-width: 520px;
    height: 780px;
}

.wideFeatured .featured-games.specialFeatured .m-product-placement-item.f-size-large div.slide-content .c-badge.f-small {
    color: #505050;
    background: #e6e6e6;
    height: 15px;
    font-size: 12px;
    margin-bottom: 12px;
}

.wideFeatured .featured-games.specialFeatured .m-product-placement-item>a {
    margin: 0;
}

.wideFeatured .c-carousel .c-flipper+div {
    overflow: visible;
}

.wideFeatured {
    overflow-x: hidden;
    width: 100%;
    overflow-y: hidden;
}

/* End There With You */

/* image max width quick test fixes */

.quiz-container #question-headline {
    margin-left: auto;
    margin-right: auto;
}
.quiz-container #question-image-container img {
    width: auto;
    max-width: 100%;
}
.quiz-container #answer {
    margin-right: auto;
    margin-left: auto;
}
.quiz-container #answer-desc {
    margin-left: auto;
    margin-right: auto;
}

.image-preload {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
}