@media screen and (min-width: 1921px) {
    #BodyContent {
        width: 1920px;
        margin: 0 auto;
    }
}

.SB-hero-banner.apps-template .banner-background {
    z-index: 0;
}


/* .apps-template store custom CTAs*/

.SB-hero-banner .c-group .c-call-to-action,
.SB-hero-banner .c-group>a.c-call-to-action~a.c-call-to-action,
.apps-hero .c-group .c-call-to-action,
.apps-hero .c-group>a.c-call-to-action~a.c-call-to-action {
    margin-right: 20px !important;
    padding: 0;
}

.SB-hero-banner .c-group,
.apps-hero .c-group {
    margin-top: 48px
}


/* hero overrides */

.apps-hero .m-hero-item.f-y-top>div>div {
    top: 30px;
}

@media screen and (min-width: 768px) and (max-width: 1600px) {
    .apps-hero .m-hero-item.f-y-top>div>div {
        width: 100%;
        Max-width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .apps-hero .m-hero-item>div {
        width: 100%;
    }
}

@media only screen and (max-width: 400px) {
    .apps-hero .m-hero-item>div {
        height: 500px;
    }
}

.SB-hero-banner.apps-template .m-banner .c-image,
.apps-hero .m-banner .c-image {
    width: auto;
    max-height: 120px;
}

.SB-hero-banner.apps-template .banner-background {
    padding-bottom: 0px;
}

@media screen and (min-width: 0) {
    .SB-hero-banner.apps-template .banner-background {
        position: relative;
        top: calc(-18px);
        padding-top: 38px;
        -ms-transform: translateY(-11px);
        transform: translateY(-11px);
        margin-bottom: -30px;
    }
}

@media screen and (min-width: 768px) {
    .SB-hero-banner.apps-template .banner-background {
        -ms-transform: translateY(-21px);
        transform: translateY(-21px);
        margin-bottom: -39px;
    }
}


/*iframe */

@media screen and (max-width:767px) {
    .apps-template .oneFrame {
        height: 45.5vw;
    }
}

@media screen and (max-width:540px) {
    .apps-template .oneFrame {
        width: 100%;
        margin: 0 auto;
        height: 50.5vw;
    }
}


/* custom multi feature */

.apps-template .m-multi-feature .c-pivot section:focus {
    outline: 2px solid #000;
}

.light-gray {
    background-color: #e6e6e6;
}

.apps-template .m-multi-feature img.tab-icon {
    width: 18px;
    height: 18px;
    margin-right: 18px;
}

.apps-template .m-multi-feature .c-pivot li {
    font-size: 20px;
    font-weight: 700;
    margin-left: 0;
}

/* contrast adjustments  */
.apps-template .m-multi-feature .c-pivot li:not(.f-disabled) {
    color: #505050;
}
.apps-template.light-gray .m-multi-feature .c-pivot li:not(.f-disabled) {
    color: #333;
}
.apps-template.theme-dark .m-multi-feature .c-pivot li:not(.f-disabled) {
    color: #d5d5d5;
}
.apps-template.light-gray .m-multi-feature .c-pivot li.f-active,
.apps-template .m-multi-feature .c-pivot li.f-active {
    color: #000;
}
.apps-template.theme-dark .m-multi-feature .c-pivot li.f-active {
    color: #fff;
}

.apps-template.no-animation .m-multi-feature .c-carousel * {
    animation: none;
    animation-name: none;
}
.apps-template .m-multi-feature .c-pivot .copy-container {
    display: block;
}
@media only screen and (min-width:768px) {
    .apps-template .m-multi-feature .c-pivot .copy-container {
        white-space: normal;
        text-align: left;
    }
    .apps-template .m-multi-feature .c-pivot ul {
        flex-direction: column;
        text-align: left;
    }
    .apps-template .m-multi-feature .c-pivot ul li {
        margin-left: 0px;
    }
    .apps-template .m-multi-feature .c-pivot section[aria-hidden='false'] {
        display: block;
        position: relative;
        /*top: -360px;*/
    }
    .apps-template .c-pivot>[aria-hidden='false'].c-flipper {
        display: none;
    }
    .apps-template.smaller .m-multi-feature .c-pivot {
        width: 45%;
    }
    .apps-template.smaller:not(.full-width) .m-multi-feature .c-carousel {
        width: 55% !important;
        max-width: 1040px;
    }
    /* hide the standard text blocks above mobile  */
    /* TEMP 
    .apps-template .m-multi-feature .c-pivot section[role="tabpanel"] {
        display: none;
    }
*/
}

.apps-template .m-multi-feature.stacked .c-pivot ul {
    flex-direction: column;
    text-align: left;
    padding-bottom: 0;
}

@media screen and (max-width:767px) {
    .apps-template .m-multi-feature:not(.stacked) .c-pivot li[role="tab"] p {
        display: block;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden;
        padding: 0 !important;
        opacity: 0;
    }
}

@media only screen and (min-width:1084px) {
    .apps-template.smaller .m-multi-feature .c-pivot {
        width: 41%;
    }
}

@media only screen and (min-width:1600px) {
    .apps-template.smaller .m-multi-feature .c-pivot {
        width: 34%;
    }
}

@media only screen and (min-width:768px) {
    .apps-template .m-multi-feature .copy-container [class^="c-heading"] {
        padding-right: 5%;
    }
    .apps-template.smaller:not(.full-width) .m-multi-feature.f-align-right .c-pivot {
        padding-left: 6.5%;
        padding-right: 0px;
    }
    .m-multi-feature.f-align-right>section {
        justify-content: flex-end;
    }
}

@media screen and (max-width: 767px) {
    .apps-template .m-multi-feature .c-pivot>.c-flipper {
        top: 105px;
    }
    .apps-template .m-multi-feature .copy-container [class^="c-heading"] {
        padding-right: 0;
        margin: 0 auto;
        padding-top: 0;
    }
    .apps-template .m-multi-feature .copy-container {
        white-space: normal;
    }
    .apps-template .m-multi-feature .c-pivot ul {
        max-width: calc(100% - 36px);
        /* subtracting the width of the flippers */
        margin-left: auto;
        margin-right: auto;
    }
    .apps-template .m-multi-feature.stacked .c-pivot section[role="tabpanel"] {
        position: absolute;
        width: calc(90% - 48px);
        left: 50%;
        transform: translateX(-50%);
    }
    .apps-template .m-multi-feature .c-pivot ul[role="tablist"] {
        width: 90%;
        max-width: 540px;
        touch-action: pan-y;
    }
    .apps-template .m-multi-feature .c-pivot>.c-flipper.f-previous {
        left: 0;
    }
    .apps-template .m-multi-feature .c-pivot>.c-flipper.f-next {
        right: 0;
    }
}

@media screen and (max-width: 539px) {
    .apps-template .m-multi-feature.stacked .c-pivot section[role="tabpanel"] {
        width: calc(90% - 24px);
    }
}

.apps-template .m-multi-feature.stacked section[role="tabpanel"] {
    padding: 8px 12px;
    text-align: left;
    max-width: 540px;
    position: absolute;
}

.apps-template .m-multi-feature:not(.stacked) [role="tabpanel"] p {
    padding-left: 12px;
}

.apps-template .c-pivot:not(.f-disabled)>header>[role="tab"].f-active:after,
.apps-template .c-pivot:not(.f-disabled)>header a.f-active:after,
.apps-template .c-pivot:not(.f-disabled)>div>[role="tab"].f-active:after,
.apps-template .c-pivot:not(.f-disabled)>div a.f-active:after,
.apps-template .c-pivot:not(.f-disabled)>[role="tablist"]>[role="tab"].f-active:after,
.apps-template .c-pivot:not(.f-disabled)>[role="tablist"] a.f-active:after {
    border-bottom: none !important;
}

.apps-template .m-multi-feature ul[role="tablist"] li,
.apps-template .m-multi-feature ul[role="tablist"] li:focus {
    border: 0px solid transparent;
    outline: 0px solid transparent;
    margin-right: 0;
    background-color: transparent !important;
}

.apps-template .stacked.m-multi-feature ul[role="tablist"] li:not(.f-active):after {
    font-family: "MWF-MDL2";
    content: "\E710";
    font-size: .8em;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    speak: never;
}

.apps-template .m-multi-feature ul[role="tablist"] li>h3 {
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
    white-space: break-spaces;
}

.apps-template .m-multi-feature .c-pivot>[role="tablist"] [role="tab"]:focus {
    border: 0 !important;
    outline: 0 !important;
    outline-offset: 0px;
    background-color: transparent;
}

.apps-template .m-multi-feature ul[role="tablist"] [role="tab"]:focus,
.apps-template .m-multi-feature ul[role="tablist"] [role="tab"]:active {
    border: none;
    outline: none;
    background-color: transparent;
}

.apps-template .stacked.m-multi-feature ul[role="tablist"] {
    overflow: visible;
}

.apps-template .stacked.m-multi-feature ul[role="tablist"] li.f-active:before {
    content: "";
    display: block;
    position: absolute;
    width: 6px;
    left: -15px;
    top: 2px;
    bottom: 4px;
    background-color: #9bf00b;
    background: linear-gradient(180deg, rgba(16, 124, 16, 1) 0%, rgba(155, 240, 11, 1) 100%);
}

.apps-template .m-multi-feature .c-pivot li.f-active>h3,
.apps-template .m-multi-feature .c-pivot li>h3 {
    position: relative;
    font-size: 20px;
    font-weight: 700;
    background: transparent;
    outline-color: transparent;
    border: 2px solid transparent;
    outline: none;
    text-wrap: wrap;
    line-height: 1.25;
    padding-bottom: 6px;
    padding-top: 2px;
}

.apps-template .m-multi-feature ul[role="tablist"] li>img {
    display: none;
}

.apps-template .m-multi-feature ul[role="tablist"] li.f-active>h3 {
    border: 2px solid transparent;
}

.apps-template .m-multi-feature ul[role="tablist"] li:focus>h3 {
    border: 2px dashed #000;
}

.theme-dark.apps-template .m-multi-feature ul[role="tablist"] li:focus>h3 {
    border-color: #fff;
}

.apps-template .m-multi-feature .c-pivot li:hover>h3:after,
.apps-template .m-multi-feature .c-pivot li.f-active>h3:after {
    position: absolute;
    bottom: 2px;
    left: 4px;
    right: 4px;
    content: '';
    height: 4px;
    border-top: 2px solid #107c10;
}

.theme-dark.apps-template .m-multi-feature .c-pivot li:hover>h3:after,
.theme-dark.apps-template .m-multi-feature .c-pivot li.f-active>h3:after {
    border-color: #9bf00b;
}

.high-contrast-mode .apps-template .m-multi-feature .c-pivot li,
.high-contrast-mode .apps-template .m-multi-feature .c-pivot li:active {
    outline: none;
}

.high-contrast-mode .apps-template .m-multi-feature .c-pivot li.f-active>h3,
.high-contrast-mode .apps-template .m-multi-feature ul[role="tablist"] li:active>h3,
.high-contrast-mode .apps-template .m-multi-feature ul[role="tablist"] li:focus>h3 {
    border: 2px dashed #000;
}

.high-contrast-mode .theme-dark.apps-template .m-multi-feature .c-pivot li.f-active>h3,
.high-contrast-mode .theme-dark.apps-template .m-multi-feature ul[role="tablist"] li:active>h3,
.high-contrast-mode .theme-dark.apps-template .m-multi-feature ul[role="tablist"] li:focus>h3 {
    border: 2px dashed #fff;
}

.apps-template .m-multi-feature ul[role="tablist"] li>p {
    font-weight: normal;
    white-space: normal;
    box-sizing: border-box;
    /*height: 0;*/
    /* Not animatable but necessary. Snaps closed instantly to avoid 2 tall paragraphs stretching the container height and making the page jump around */
    /*max-height: 0;*/
    /* animatable */
    padding: 0 0 0 5px;
}

.apps-template .m-multi-feature ul[role="tablist"] li.f-active {
    padding-bottom: 16px;
}


/*
.apps-template .m-multi-feature ul[role="tablist"] li.f-active>p {
    height: auto;
    max-height: 500px;
    padding: 12px 0 12px 5px;
}

.apps-template .m-multi-feature ul[role="tablist"] li>p,
.apps-template .m-multi-feature ul[role="tablist"] li>a {
    display: none;
}
*/

.apps-template .m-multi-feature ul[role="tablist"] li.f-active>p {
    display: block;
}

.apps-template .m-multi-feature ul[role="tablist"] li.f-active>a {
    display: inline-block;
}

.apps-template .m-multi-feature ul[role="tablist"] li>a {
    text-align: left;
    box-shadow: none;
    line-height: 18.5px;
}

.apps-template .m-multi-feature ul[role="tablist"] li>a:after {
    line-height: 1.3;
}

.apps-template .m-multi-feature ul[role="tablist"] li>a:first-of-type {
    margin-left: 0;
}


/*
.apps-template .m-multi-feature ul[role="tablist"] li a.c-call-to-action {
    padding: 10px 3px 7px 5px;
    color: #054b16;
    font-weight: 900;
    background: transparent;
}

.apps-template .m-multi-feature ul[role="tablist"] li>a:hover,
.apps-template .m-multi-feature ul[role="tablist"] li>a:focus {
    box-shadow: none !important;
}

.apps-template .m-multi-feature ul[role="tablist"] li>a:active {
    outline: 0;
}

.apps-template .m-multi-feature ul[role="tablist"] li>a:focus,
.apps-template .m-multi-feature ul[role="tablist"] li>a:active {
    color: #094709;
    background: rgba(16, 124, 16, .1);
    outline: 2px dashed #000 !important;
    border: 2px dashed #fff !important;
}

.apps-template .m-multi-feature ul[role="tablist"] li>a h3,
.apps-template .m-multi-feature ul[role="tablist"] li>a:hover h3,
.apps-template .m-multi-feature ul[role="tablist"] li>a:focus h3 {
    left: 0px;
}
*/

@media only screen and (min-width: 768px) and (max-width: 1399px) {
    .apps-template .m-multi-feature>section,
    .apps-template .m-multi-feature>section {
        -ms-flex-align: flex-start;
        align-items: flex-start;
    }
}

.apps-template .m-multi-feature .c-pivot ul {
    padding-top: 24px;
}

@media only screen and (min-width: 768px) {
    .apps-template .m-multi-feature .c-pivot ul {
        padding-top: 26px !important;
    }
    .apps-template .m-multi-feature .c-pivot [class^="c-heading"] {
        padding-top: 0;
    }
}

.apps-template .m-multi-feature .c-pivot {
    margin-top: 0;
}

@media only screen and (max-width: 767px) {
    .apps-template .m-multi-feature .c-pivot {
        /*margin-top: 10px;*/
        padding-top: 48px;
        padding-bottom: 48px;

    }
}

.high-contrast-mode.black-on-white .apps-template .m-multi-feature li:hover,
.high-contrast-mode.black-on-white .apps-template .m-multi-feature li:focus,
.high-contrast-mode.black-on-white .apps-template .m-multi-feature li:active,
.high-contrast-mode.black-on-white .apps-template .m-multi-feature li.f-active.x-hidden-focus,
.high-contrast-mode.black-on-white .apps-template .m-multi-feature li.f-active,
.high-contrast-mode.black-on-white .apps-template .m-multi-feature li.f-active.x-hidden-focus:hover,
.high-contrast-mode.black-on-white .apps-template .m-multi-feature li.f-active:hover,
.high-contrast-mode.black-on-white .faq-mwf div.c-drawer>button:hover,
.high-contrast-mode.black-on-white .faq-mwf div.c-drawer>button:focus,
.high-contrast-mode.black-on-white .faq-mwf div.c-drawer>button:active {
    color: black !important;
    background-color: white !important;
}

.high-contrast-mode.black-on-white .apps-template .m-multi-feature li:hover>h3,
.high-contrast-mode.black-on-white .apps-template .m-multi-feature li:focus>h3,
.high-contrast-mode.black-on-white .apps-template .m-multi-feature li:active>h3,
.high-contrast-mode.black-on-white .apps-template .m-multi-feature li.f-active.x-hidden-focus>h3,
.high-contrast-mode.black-on-white .apps-template .m-multi-feature li.f-active>h3 {
    color: black !important;
    border-color: black;
    background-color: transparent !important;
}

.high-contrast-mode.black-on-white .apps-template .m-multi-feature li:hover>h3:after,
.high-contrast-mode.black-on-white .apps-template .m-multi-feature li:focus>h3:after,
.high-contrast-mode.black-on-white .apps-template .m-multi-feature li:active>h3:after,
.high-contrast-mode.black-on-white .apps-template .m-multi-feature li.f-active.x-hidden-focus>h3:after,
.high-contrast-mode.black-on-white .apps-template .m-multi-feature li.f-active>h3:after {
    border-color: black !important;
}

.high-contrast-mode.white-on-black .apps-template .m-multi-feature li:hover,
.high-contrast-mode.white-on-black .apps-template .m-multi-feature li:focus,
.high-contrast-mode.white-on-black .apps-template .m-multi-feature li:active,
.high-contrast-mode.white-on-black .apps-template .m-multi-feature li.f-active.x-hidden-focus,
.high-contrast-mode.white-on-black .apps-template .m-multi-feature li.f-active,
.high-contrast-mode.white-on-black .apps-template .m-multi-feature li.f-active.x-hidden-focus:hover,
.high-contrast-mode.white-on-black .apps-template .m-multi-feature li.f-active:hover {
    color: white !important;
    background-color: black !important;
}

.high-contrast-mode.white-on-black .apps-template .m-multi-feature li:hover>h3,
.high-contrast-mode.white-on-black .apps-template .m-multi-feature li:focus>h3,
.high-contrast-mode.white-on-black .apps-template .m-multi-feature li:active>h3,
.high-contrast-mode.white-on-black .apps-template .m-multi-feature li.f-active.x-hidden-focus>h3,
.high-contrast-mode.white-on-black .apps-template .m-multi-feature li.f-active>h3 {
    color: white !important;
    border-color: white;
    background-color: transparent !important;
}

.high-contrast-mode.white-on-black .apps-template .m-multi-feature li:hover>h3:after,
.high-contrast-mode.white-on-black .apps-template .m-multi-feature li:focus>h3:after,
.high-contrast-mode.white-on-black .apps-template .m-multi-feature li:active>h3:after,
.high-contrast-mode.white-on-black .apps-template .m-multi-feature li.f-active.x-hidden-focus>h3:after,
.high-contrast-mode.white-on-black .apps-template .m-multi-feature li.f-active>h3:after {
    border-color: white !important;
}


/* part of test for setting fixed height on text containers */

.resize {
    display: block !important;
    position: absolute;
    visibility: hidden;
}

@media screen and (min-width: 768px) {
    .apps-template .m-multi-feature section {
        align-items: flex-start !important;
    }
}

@media screen and (min-width: 768px) {
    .apps-template .m-multi-feature .c-pivot li p.hide {
        display: none;
    }
    .apps-template .m-multi-feature .c-pivot li p.resize {
        height: auto;
        max-height: none;
        position: absolute;
    }
}

.apps-template .m-multi-feature section[role='tabpanel'].hide {
    display: none;
}

.apps-template .m-multi-feature section[role='tabpanel'].resize {
    display: block !important;
    height: auto;
    max-height: none;
    position: absolute;
    opacity: 0
}


/* new bits eventually put this among the code above where it belongs */

.apps-template .m-multi-feature .c-pivot li.pivot-content {
    display: none;
}

.apps-template .m-multi-feature .c-pivot li.f-active+.pivot-content {
    display: block;
}


/* end new bits */


/* end custom multi feature */


/* begin get app section */

.SB-hero-banner.get-app .banner-background {
    z-index: 3;
    background-color: #fff;
}

.SB-hero-banner.get-app .m-banner {
    z-index: 4;
}

@media screen and (min-width: 0px) {
    .SB-hero-banner.get-app .banner-background {
        padding-top: 38px;
        top: -28px;
        margin-bottom: -28px;
        padding-bottom: 0px;
    }
}

@media screen and (min-width: 768px) {
    .SB-hero-banner.get-app .banner-background {
        padding-top: 38px;
        top: -38px;
        margin-bottom: -38px;
    }
}

@media screen and (min-width: 1400px) {
    .SB-hero-banner.get-app .banner-background {
        padding-top: 38px;
        top: -38px;
        margin-bottom: -38px;
    }
}


/* temp override */

@media screen and (min-width:1400px) and (max-width:1605px) {
    .custom-sb-hero .c-heading-1a {
        font-size: 62px;
        line-height: 62px;
    }
}


/* end get app section */


.apps-multi-feature.full-width .c-carousel {
    overflow:hidden;
}

.apps-multi-feature.full-width .c-carousel>[role="tabpanel"] {
    position: absolute;
    top: 0;
}

.apps-multi-feature.full-width .c-carousel:before {
    content: "";
    display: block;
    width: 100%;
    position: relative;
    height: 0;
    padding-bottom: 56%;
}
/* ============ */
/* BEGIN full-width image behind pivot, designed to resemble the pivot in a hero */
@media screen and (min-width:768px) {
    .full-width.apps-template .m-multi-feature .c-carousel {
        width: 100% !important;
    }

    .full-width.apps-template .m-multi-feature .c-pivot {
        z-index: 32;
        position: absolute;
        padding-left: 0;
        padding-right: 0;
    }

    .full-width.apps-template .m-multi-feature.f-align-left .c-pivot {
        left: 5%;
    }

    .full-width.apps-template .m-multi-feature.f-align-right .c-pivot {
        right: 5%;
    }

    .full-width.apps-template .m-multi-feature > section {
        display: block;
    }

    /* .drop-shadow gives the pivot a blurred background to prevent possible contrast problems */
    .full-width.apps-template.drop-shadow .m-multi-feature .c-pivot:before {
        content: "";
        width: calc(100% + 80px);
        height: calc(100% + 80px);
        position: absolute;
        display: block;
        top: -40px;
        left: -40px;
        background-color: rgba(255, 255, 255, 1);
        z-index: -1;
        filter: blur(40px);
    }

    /* ============ 
    Defining the color of the blurred background, by theme. First one is default light.
    These can be copied to a local CSS file and adjusted if needed.
    ============ */
    .full-width.apps-template.drop-shadow .m-multi-feature .c-pivot:before {
        background-color: rgba(255, 255, 255, 1);
    }
    .full-width.apps-template.drop-shadow.light-gray .m-multi-feature .c-pivot:before {
        background-color: rgba(230, 230, 230, 1);
    }
    .full-width.apps-template.drop-shadow.theme-dark .m-multi-feature .c-pivot:before {
        background-color: rgba(0, 0, 0, 1);
    }
}

/* ============ */
/* Defining aspect ratios of full-width images to prevent pivot position errors on browser resize */
@media screen and (min-width:768px) {
    .apps-template .c-carousel {
        overflow:hidden;
    }
    .apps-template .c-carousel>div {
        position: absolute;
        top: 0;
    }
    .apps-template .c-carousel:before {
        content: "";
        display: block;
        width: 100%;
        position: relative;
        height: 0;
    }
    .apps-template .m-multi-feature section {
        position: relative;
    }
}
/* ============
After the setup above, aspect ratios are set with padding-bottom on this pseudo-element.
To calculate: image dimensions y/x rounded down very slightly
These can be copied to a local CSS file and adjusted if needed.
============ */

/* standard */
@media screen and (min-width:768px) {
    .apps-template .c-carousel:before {
        padding-bottom: 152.6%; /* 1100px/720px rounded down */
    }
}
@media screen and (min-width:1084px) {
    .apps-template .c-carousel:before {
        padding-bottom: 95%; /* 990px/1040px rounded down */
    }
}


/* full-width */
@media screen and (min-width:768px) {
    .full-width.apps-template .c-carousel:before {
        padding-bottom: 118.35%; /* 1283px/1083px rounded down */
    }
}
@media screen and (min-width:1084px) {
    .full-width.apps-template .c-carousel:before {
        padding-bottom: 66.5%; /* 1280px/1920px rounded down */
    }
}
@media screen and (min-width:1400px) {
    .full-width.apps-template .c-carousel:before {
        padding-bottom: 56%; /* 1080px/1920px rounded down */
    }
}
/* END defining aspect ratios of full-width images */
/* ============ */


.apps-template section[role="tabpanel"] .c-call-to-action {
    white-space: normal;
}

.apps-template section[role="tabpanel"] .c-call-to-action:after {
    vertical-align: baseline;
}
