#root {
    background-color: black;
}

#bodycolumn {
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
}
.xboxSocial {
    background: white;
}

.top-video-banner {
    padding-bottom: 48px;
}
.top-video-banner .m-banner {
    padding-top: 0;
}
@media screen and (min-width: 1605px) {
    .top-video-banner .m-banner {
        max-width: 1400px !important;
    }
}

.hardware-banner .m-banner [class^="c-heading"] span,
.top-video-banner .m-banner [class^="c-heading"] span {
    display: block;
}

.hardware-banner .m-banner {
    max-width: 1100px !important;
}

.top-video-banner > .m-ambient-video {
    display: block;
}

.top-video-banner > picture {
    display: none;
}

.top-video-banner > picture img {
    max-width: 100%;
}

@media screen and (max-width: 1083px) {
    .top-video-banner > .m-ambient-video {
        display: none;
    }
    .top-video-banner > picture {
        display: block;
    }
}

@media screen and (max-width: 479px) {
    .c-heading-1a {
        font-size: 40px;
        line-height: 1;
    }
}

@media only screen and (max-width: 768px) {
    .custom-hero .m-hero-item:before {
        /* This is what defines the aspect ratio of the hero */
        display: none;
    }
    .custom-hero .m-hero-item>picture img {
        top: 0;
        transform: none;
    }
    .custom-hero .m-hero-item>div,
    .custom-hero .m-hero-item>div>div,
    .custom-hero .m-hero-item>picture img,
    .custom-hero .m-hero-item>img,
    .custom-hero .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;
    }
    .custom-hero .m-hero-item>div>div {
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    
    .custom-hero .m-hero-item>div {
        padding-top: 12px;
        padding-bottom: 48px;
    }
}

.custom-hero .c-group {
    margin-top: 12px;
}

.custom-hero .c-group:has(.f-lightweight) {
    margin-top: 0;
}

@media screen and (max-width: 1083px) {
    .theme-black .characterRotate div .m-multi-feature {
        background-color: unset !important;
    }
}

 
.OttoFilmstrip.media-gallery-single,
.OttoFilmstrip.media-gallery-single + .inlinefilmstrip,
.ottoinlinemedia:has(+ .media-gallery-single) .c-carousel .c-flipper { 
    display: none !important; 
}

.video-container {
    /*aspect-ratio: 1920/884;*/
    background-image: url(https://cms-assets.xboxservices.com/assets/80/e9/80e9cf88-074d-4d47-a1a4-9ed8ab6b3397.jpg?n=68809321_BG-Image-0_Anthem_1920x884.jpg);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100% auto;
    padding-top: 48px;
    padding-bottom: calc(7% + 10px);
    opacity: 0;
    transition: opacity 200ms ease;
}

.video-container:has(.m-ambient-video) {
    opacity: 1;
}

.video-standalone .ottoinlinemedia {
    max-height: unset;
}

.video-standalone .ottoinlinemedia.m-hero {
    margin-top: 0;
    margin-bottom: 0;
    /*border would throw off aspect ratio a little bit*/
    outline: 5px solid #9bf00b;
}

@media screen and (max-width: 1083px) {
    /* bringing l/r outlines back on screen at tablet */
    .video-standalone .ottoinlinemedia.m-hero {
        padding: 5px;
        outline-offset: -5px;
    }
}

.c-hero>div, .m-hero-item>div {
    bottom: 0;
    height: 100%;
    left: 0;
    margin: 0 auto;
    max-width: 2048px;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
    width: 88%;
    z-index: 1;
}

@media screen and (min-width: 769px) and (max-width: 1023px) {
    .video-standalone .ottoinlinemedia .m-hero-item:before {
        padding-bottom: 57% !important;
    }
}

@media screen and (max-width: 470px) {
    .video-standalone .m-hero.ottoinlinemedia .m-hero-item.vid-container {
        height: unset !important;
    }
}
.video-container {
    position: relative;
}
.video-container:before {
    content: "";
    position:absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 48px;
    /*height: 100%;*/
    background: #000000;
    background: linear-gradient(180deg,rgba(0, 0, 0, 1) 0%, rgba(255, 0, 0, 0) 48px);
    /*background: linear-gradient(180deg,rgba(255, 0, 0, 1) 0%, rgba(255, 0, 0, 0) 48px, rgba(255, 0, 0, 0) calc(100% - 48px), rgba(255, 0, 0, 1) 100%);*/
}


.video-standalone .ottoinlinemedia .c-carousel ul li .m-ambient-video {
    position: relative;
    aspect-ratio: 16/9;
}

.video-standalone .ottoinlinemedia .m-hero-item:before {
    display: none;
}

.video-standalone .ottoinlinemedia section.m-hero-item {
    padding: 0;
}

.video-standalone .c-carousel.f-multi-slide {
    background-color: transparent;
}

.video-standalone .ottoinlinemedia .c-carousel ul li .m-ambient-video > * {
    min-height: unset;
}

@media screen and (max-width: 377px) {
    .video-standalone .ottoinlinemedia .m-hero-item>div.m-ambient-video:before {
        padding-bottom: 0;
    }
}


.characterRotate .c-pivot {
    position: relative;
}

.characterRotate .c-pivot li {
    border: 2px solid transparent;
}

.characterRotate .m-multi-feature [role="tablist"] img {
    width: auto;
    max-width: 114px;
}

.characterRotate .m-multi-feature {
    float:none;
}


div.characterRotate,
div.characterRotate div .m-multi-feature {
    background-color: transparent !important;
}

div.characterRotate {
    background-color: transparent !important;
    padding-top: 48px;
    padding-bottom: 48px;
}

@media screen and (max-width: 1083px) {
    div.characterRotate {
        padding-top: 0;
        padding-bottom: 0;
    }
    /*
    .characterRotate div .m-multi-feature {
        padding-bottom: 0;
    }*/
}

@media screen and (min-width: 1084px) {
    div.characterRotate section.c-pivot > [class^=c-heading] {
        text-align: left;
        max-width: 773px;
    }
    .characterRotate .c-pivot > section[role=tabpanel] {
        max-width: 540px;
    }
}

.promos .grayBox {
    background: transparent;
    border: 2px solid #9bf00b;
}

.icon-bar .m-content-placement-item>picture {
    position: relative;
    overflow: visible;
    padding-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.c-content-placement>picture img,.m-content-placement-item>picture img {
    height: unset;
    position: relative;
    width: 100%;
}

/* huh? ============================== */
.iconBar .custom-cp-icons img {
    max-width: 137px;
}

@media (max-width: 540px) {

    /* Override MWF mobile grid layout */
    .iconBar [data-grid="col-12 stack-3"]>div>div {
        width: 50% !important;
        float: left !important;
        box-sizing: border-box;
    }

    .iconBar .custom-cp-icons img {
        max-width: 103px;
    }
}

.accordion__main .accordion__panel [class^="c-heading"] {
    font-family: "Segoe UI",SegoeUI,Helvetica Neue,Helvetica,Arial,sans-serif;
    font-weight: 700 !important;
}
.accordion-tg .m-banner span {
    display: block;
}

.accordion-tg .m-banner .c-group:not(:has(> *)) {
    display: none;
}
.accordion-tg .subhead {
    padding-top: 12px;
    padding-bottom: 0;
}

.accordion-tg .btnClose {
    margin-top: 0;
    transform: translateY(12px);
}

@media screen and (min-width: 1400px) {
    .accordion-tg .accordion__main .accordion__wrap .accordion__panel.expanded .content {
        margin-left: 7%;
    }
}
@media screen and (min-width: 1084px) and (max-width: 1399px) {
    .accordion-tg .accordion__main .accordion__wrap .accordion__panel.expanded .content {
        margin-top: 0;
        margin-left: calc(2% + 26px);
        position: absolute;
        top: 47%;
        transform: translateY(-50%);
    }
}

.c-heading-1a span {
    display: inline-block;
}

/*
.fanfest-banner .m-banner {
    padding-bottom: 48px;
}
*/

div.accordion-tg {
    /* aspect-ratio: 1920 / 884; */
    background-image: url(https://cms-assets.xboxservices.com/assets/f7/34/f7345035-506f-45f6-93d0-c9c13196ad44.jpg?n=68809321_BG-Image-0_Accordion_1083x1200_03.jpg);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center bottom;
}
/*
@media screen and (min-width: 768px) {
    div.accordion-tg {
        background-image: url(https://cms-assets.xboxservices.com/assets/f7/34/f7345035-506f-45f6-93d0-c9c13196ad44.jpg?n=68809321_BG-Image-0_Accordion_1083x1200_03.jpg);
    }
}*/
@media screen and (min-width: 1084px) {
    div.accordion-tg {
        background-image: url(https://cms-assets.xboxservices.com/assets/85/50/85503a6e-bbb0-4410-afc2-66335b1a6972.jpg?n=68809321_BG-Image-1084_Accordion_1920x1232.jpg);
        background-position: center bottom;
        padding-bottom: calc(10%);
        padding-top: 48px;
    }
}
/*
.c-heading-1a:has(span) + p {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}*/
/*
section.m-hero-item.f-x-center.f-y-bottom > div > div {
    width: 100%;
    max-width: 540px !important;
}
*/
@media screen and (min-width: 440px) {
    span.linebreak {
        display: block;
    }
}
@media screen and (min-width: 1605px) {
    .c-heading-1a + p[class^=c-heading-3] {
        font-size: 46px;
        line-height: 56px;
    }
    .m-hero-item h3.c-heading-3,
    .m-hero-item h2.c-heading-3 {
        font-size: 46px;
        line-height: 56px;
    }
}

@media screen and (max-width: 1083px) {
    .characterRotate .m-multi-feature [role=tablist] {
        justify-content: center;
    }
}

.m-hero-item .c-group:has(:nth-child(2))>.c-call-to-action:last-child {
    padding-right: 3px;
}

.wallpaper {
    padding-top: 48px;
}

@media screen and (min-width: 1084px) {
    .wallpaper {
        padding-top: 96px
    }
    .bookend-banner {
        padding-top: 48px;
    }
}

@media screen and (max-width: 767px) {
    .bookend-banner  .m-banner {
        padding-top: 0;
    }
    .wallpaper > .m-hero-item > div {
        padding-top: 0;
    }
    .wallpaper > .m-hero-item > div [class^=c-heading] {
        padding-top: 0;
    }
}

.custom-hero .m-hero-item.f-x-center.f-y-bottom > div > div {
    width: 100%;
    max-width: 560px;
}
/* text spacing fix */
.text-spacing .custom-hero .m-hero-item.f-x-center.f-y-bottom > div > div, 
.custom-hero .m-hero-item.f-x-center.f-y-bottom > div > div[style] { 
    bottom: 0 !important; 
} 

.custom-hero .m-hero-item.f-x-center.f-y-bottom [class^=c-heading] {
    padding-top: 0;
}

.gear .m-hero-item > div > div picture {
    padding-bottom: 12px;
}
@media screen and (min-width: 768px) and (max-width: 859px) {
    .gear .m-hero-item > div > div picture {
        padding-top: 8px;
    }
}
@media screen and (min-width: 768px) and (max-width: 1083px) {
    .gear .m-hero-item > div > div {
        bottom:0
    }
    .gear .m-hero-item > div > div img {
        max-width: 200px;
    }
}

/* text spacing fix */
.text-spacing .c-group, 
.c-group[style] { 
    padding-top: 0 !important; 
} 

@media screen and (max-width: 479px) {
    /* local tweaks for one-off custom implementation */
    .accordion__main .accordion__wrap .accordion__panel.expanded>.mainCont {
        height: 112vw;
    }
    .accordion__main .accordion__wrap .accordion__panel.expanded .content {
        bottom: 2vw;
    }
    
    .accordion__main .accordion__wrap {
        position: relative;
        background-size: contain;
        background-repeat: no repeat;

    }
    
    .accordion__main .accordion__wrap:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 30%;
        bottom: 0;
        background: #000000;
    }

    .accordion__main .accordion__wrap .accordion__panel.expanded:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4);
        background: #000000;
        background: linear-gradient(180deg,rgba(0, 0, 0, 0) 0%,rgba(0, 0, 0, .5) 60%, rgba(0, 0, 0, 1) calc(80%), rgba(0, 0, 0, 1) 100%);
        z-index: 0;
    }



    .accordion__main .accordion__wrap .accordion__panel.expanded .content h3 {
        font-size: 24px;
        line-height: 1;
    }
    .accordion__main .accordion__wrap .accordion__panel.expanded .content .subhead {
        padding-top: 2px;
        padding-bottom: 2px;

    }
    .accordion__main .accordion__wrap .accordion__panel.expanded .content .subhead + p {
        padding-top: 0;
    }

    div.accordion-tg .m-banner [class^="c-heading"] {
        font-size: 40px;
    }


}

@media screen and (max-width: 359px) {
    .accordion__main .accordion__wrap .accordion__panel.expanded>.mainCont {
        height: 132vw;
    }
}


/* Stack closed elements at mobile */
@media screen and (max-width: 479px) {
    .logoImg {
        margin-left: 0;
        width: 100%;
        max-width: unset;
        bottom: auto;
    }
    .logoImg>div {
        position: relative;
        right: auto;
        bottom: auto;
        padding-top: calc(5.04% - 13px);
    }
    .logoImg img {
        width: 128px;
        display: block;
        margin-left: auto;
        margin-right: auto;
        position: relative;
        right: auto;
        bottom: auto;
    }

    .logoImg .seeDetailsBtn {
        display: inline-block;
        width: 20px;
        margin-right: 4px;
    }

    .logoImg p {
        display: inline-block;
        margin-right: 0;
        font-size: 15px;
    }

    .accordion__panel.initial .logoImg {
        width: 100%;
        margin-left: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        bottom: 0;
        padding-bottom: 3px;
    }
}



/* Best Studios */
.logo-groups .m-banner {
    max-width: 1067px !important;
}

.logo-groups .m-banner p {
    padding-top: 10px;
}

.logo-groups .logoSlider {
    opacity: 0;
    transition: opacity 1000ms;
    transition-delay: 1700ms;
}

.logo-groups .logoSlider.fade-in {
    opacity: 1;
}

.logo-groups .logoSlider {
    margin: auto;
    overflow: hidden;
    position: relative;
}

.logo-groups .slide picture {
    height: inherit;
}

.logo-groups .logoSlider .m-product-placement-item.f-clean>picture:hover {
    border: 1px solid rgba(0, 0, 0, 0) !important;
}

.logo-groups .slide-track {
    display: flex;
}

.logo-groups .logoImages {
    margin-top: 8px;
}

.logo-groups .logoImages .slide-track {
    animation: logosscroll 44.4444s linear infinite; /*reduce seconds to speed up, increase to slow down scroll speed based on number of logos */
}

.logo-groups .logoImages2 .slide-track {
    animation: logosscroll2 50s linear infinite;
    animation-delay: 2.7s;
}
@keyframes logosscroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-450px * 8)); /* times number of logos in row, could move this to js to automate */
    }
}
@keyframes logosscroll2 {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-450px * 9));
    }
}
.bestStudiosPaddingTop {
    margin-top: 78px;
}
@media (max-width: 767px) {
    .bestStudiosPaddingTop {
        margin-top: 84px;
    }
}
.bestStudiosPaddingBottom {
    margin-top: 96px;
}

.logo-groups .pausePlay {
    height: 36px !important;
    width: 36px;
    position: absolute;
    color: white;
    background-color: rgba(0, 0, 0, 0.60);
    border: 1px solid white !important;
    bottom: 24px;
    display: block;
    padding: 2px 0px 0px 0px;
    margin-left: 24px;
}

.logo-groups .logoSlider .pausePlay:focus {
    outline: 2px dotted #000 !important;
    border: 2px dotted #FFF !important;
}

.logo-groups .slide {
    list-style: none;
}

.logo-groups .logoImages .paused,
.logo-groups .logoImages2 .paused {
    animation-play-state: paused;
}

.logo-groups .m-product-placement-item.f-size-large {
    width: 432px;
}
.m-product-placement-item.f-size-large picture {
    height: 245px;
    width: 432px;
}

@media (max-width: 360px) {
    /* Text overflow fix */
    .breakable-nbsp {
        white-space: normal;
        /* Replace &nbsp; with a normal space */
        &::after {
            content: " ";
        }
        /* Hide the original &nbsp; */
        visibility: hidden;
    }
}

/* End Best Studios */