.sr-text {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
}

.carousel-container {
    margin: 0;
    min-height: 42.75vw;
}

    .carousel-container .carousel-item {
        display: none;
    }

        .carousel-container .carousel-item:first-child {
            display: block;
        }


        .carousel-container .carousel-item .rtm-image-container {
            min-height: 42.75vw;
        }



    .carousel-container img {
        min-width: 100%;
    }

#Hero-carousel .rtm-image-container img {
    width: 100%;
}

/*@media screen and (-ms-high-contrast: active) {
  
  #Hero-carousel .rtm-image-container img{
      opacity:0;
  }
}

@media screen and (-ms-high-contrast: white-on-black) {
  #Hero-carousel p{
      color:white;
  }
}*/

/*.rtl #Hero-carousel .rtm-image-container img{
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}*/

/* special code for rtl */
@media screen and (min-width: 1084px) {
    .rtl #Hero-carousel .carousel-item .for-rtl {
        margin-right: 62.5%;
    }
}

@media (max-width: 1083px) and (min-width: 768px) {
    .rtl #Hero-carousel .carousel-item .for-rtl {
        margin-right: 58.3333333333%;
    }
}

.carousel-item .button {
    white-space: nowrap;
    cursor: pointer;
}

.carousel-container .slider {
    width: 100%;
    margin: 0 auto;
    text-align: left;
}

.carousel-item {
    position: relative;
}

    .carousel-item .ms-grid {
        position: absolute;
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
        top: 50%;
        /*padding-bottom:84px;*/
        transform: translateY(-50%);
    }

@media screen and (min-width: 1919px) {
    .carousel-item .ms-grid {
        /*top: 144px;*/ /* 160 - 16*/
    }
}

.slick-next {
    right: 0;
    z-index: 1;
}

.slick-prev {
    left: 0;
    z-index: 1;
}

.slick-slide:focus {
    outline: 0px;
    outline: -webkit-focus-ring-color auto 1px;
}

.carousel-container .slick-dots {
    bottom: 0;
}

.carousel-container .carousel-item h1 {
    text-align: left;
    margin-top: 0;
}

#Hero-carousel.carousel-container .carousel-item h1 {
    word-break: keep-all;
}

.carousel-container .carousel-item p {
    margin-top: 0;
    margin-bottom: 40px;
    width: 90%; /* 2nd carousel text overlapping surface image */
}

.carousel-container .hero-button-2 {
    margin-left: 16px; /*20 -4 for redlines */
}


/* Redline Spacing */
@media screen and (min-width: 1084px) {
    .carousel-container .carousel-item h1 {
        margin-bottom: 14px; /* 32 */
    }

    .carousel-container .carousel-item p {
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 1083px) and (min-width: 540px) {
    .carousel-container .carousel-item h1 {
        margin-bottom: 10px; /* 28 */
    }

    .carousel-container .carousel-item p {
        margin-bottom: 36px;
    }
}

@media screen and (max-width: 539px) {
    .carousel-container .carousel-item h1 {
        margin-bottom: 8px; /* 24 */
        margin-top: 3px;
    }

    .carousel-container .carousel-item p {
        margin-bottom: 36px;
    }

    .carousel-container .play-icon {
        padding-left: 32px;
    }

    .carousel-container .hero-button-2 {
        margin-left: 0px; /*20 -4 for redlines */
    }
}

/*HCM*/
@media screen and (-ms-high-contrast: white-on-black) {
    .carousel-container .carousel-item h1,
    .carousel-container .carousel-item p {
        color: black;
    }
}


/* special queries */
@media screen and (max-width: 768px) and (min-width: 540px) {
    .carousel-container .carousel-text {
        padding-left: 3%; /* to protect text against the arrows at low widths*/
    }

    .carousel-container .play-icon {
        padding-left: 32px;
    }

    #heroDesc {
        width: 47%;
    }
}

@media screen and (max-width: 630px) and (min-width: 540px) {
    #carousel-text-3 p {
        width: 200px;
    }
}

@media screen and (max-width: 610px) and (min-width: 540px) {
    #heroDesc {
        width: 50%;
    }

        #heroDesc #carousel-text-1 h1 {
            width: 150%%;
        }

        #heroDesc p {
            width: 80%;
        }
}

@media screen and (max-width: 1083px) {
    .carousel-item .ms-grid {
        top: 50%;
        transform: translateY(-50%);
        -ms-transform: translateY(-50%); /* IE 9 */
        -webkit-transform: translateY(-50%); /*Safari*/
    }
}

@media screen and (max-width:767px) {
    .carousel-item .ms-grid {
        position: relative;
        padding-top: 40px; /* 52 from bottom of the image*/
        transform: translateY(0);
        -ms-transform: translateY(0); /* IE 9 */
        -webkit-transform: translateY(0); /*Safari*/
        padding-bottom: 48px;
        background-color: #E3E3E3;
    }

    .rtl .carousel-container .play-icon {
        margin-right: 4%;
    }

    .carousel-container .hero-button-2 {
        margin-left: 24px;
    }

    .home-hero .slick-next, .home-hero .slick-prev {
        top: 18%;
    }
}

/* DOT SPACING */
@media screen and (min-width: 768px) {
    /* Keyboard visibility 
    #carousel-text-4 .hero-button-2 {
        display: block;
        margin-top: 20px;
        margin-left: 0px;
    }*/
    .rtl .carousel-container .play-icon {
        margin-right: 5%;
    }

    .home-hero .slick-dots {
        margin-bottom: 4px; /* 9 + 7 = 16px of dot padding-margins*/
    }
    /*#carousel-text-3 h1,#carousel-text-3 p {
    color: white;
}*/
    #carousel-text-1 h1, #carousel-text-1 .headline, #carousel-text-1 p, #carousel-text-1 .button-1 {
        color: white;
    }

    #carousel-text-1 .hero-button-2 {
        color: white;
        background-image: url("https://c.s-microsoft.com/en-us/CMSImages/icon-msn-video-white.png?version=434de9a1-62af-b269-9665-77d7127ea145");
        /* margin-right: 5%; */
    }
}

@media screen and (max-width: 767px) {
    .home-hero .slick-dots {
        margin-top: 0px;
        height: 5px;
        top: 0%;
    }
}

/*
@media screen and (max-width: 540px){
    .home-hero .slick-dots {
        top: 275px;
    }
}

@media screen and (max-width: 500px){
    .home-hero .slick-dots {
        top: 260px;
    }
}
@media screen and (max-width: 450px){
    .home-hero .slick-dots {
        top: 240px;
    }
}
@media screen and (min-width: 400px) and (max-width: 449px){
    .home-hero .slick-dots {
        top: 220px;
    }
}
@media screen and (min-width: 0px) and (max-width: 399px){
    .home-hero .slick-dots {
        top: 200px;
    }
}
 */
.rtl .carousel-container .carousel-item p {
    text-align: right;
}

.rtl .carousel-container .carousel-item h1 {
    text-align: right;
}

.rtl .carousel-item .button {
    white-space: nowrap;
    cursor: pointer;
    text-align: right;
    float: right;
    /* margin-left: 12px; */
}

.rtl .carousel-container .play-icon {
    margin-left: 0;
    /* margin-right: 5%; */
    width: auto;
    padding-left: 0px;
    padding-right: 39px;
    float: right;
    background-position: right;
    word-wrap: break-word;
    text-align: right;
}

.carousel-container .play-icon {
    width: 100%;
    box-sizing: border-box;
    padding-left: 42px;
    padding-top: 5px;
    padding-bottom: 4px;
    background-image: url("https://compass-ssl.microsoft.com/assets/30/81/30810cc8-1ab8-43b7-9780-91dcec1a3a43.png?n=Icon_msn_video_blue_75_75.png");
    background-size: 30px 30px;
    background-position-x: 0px;
    background-repeat: no-repeat;
    height: 34px;
    text-align: left;
    font-size: 100%;
    opacity: 1.0;
    white-space: nowrap;
    cursor: pointer;
}

.carousel-container .bgOrange .play-icon,
.carousel-container .bgGrey .play-icon {
    color: #004379;
}

/* Button hack*/
.carousel-container .slick-prev {
    /*background-image: url("https://c.s-microsoft.com/en-us/CMSImages/winGa_Carousel_icon_carrot_left.png?version=a9558fec-bdee-7caf-7019-117e32412823");*/
    background-image: url("https://www.microsoft.com/Surface/Assets/img/nfl-white-arrows.png");
    background-repeat: no-repeat;
    background-position: 6px 50%;
    background-size: auto auto;
    width: 30px;
    height: 72px;
    background-color: rgba(0,0,0,0.6);
}

.carousel-container .slick-next {
    /*background-image: url("https://c.s-microsoft.com/en-us/CMSImages/winGa_Carousel_icon_carrot_right.png?version=bf72cf63-ed4a-77a7-68d8-cdafaa264657");*/
    background-image: url("https://www.microsoft.com/Surface/Assets/img/nfl-white-arrows.png");
    background-repeat: no-repeat;
    background-position: -16px 50%;
    background-size: auto auto;
    width: 30px;
    height: 72px;
    background-color: rgba(0,0,0,0.6);
}

@media screen and (-ms-high-contrast: active) {
    .carousel-container .slick-next {
        background-image: url("https://www.microsoft.com/Surface/Assets/img/nfl-white-arrows.png");
        background-repeat: no-repeat;
        background-position: -16px 50%;
        background-size: auto auto;
        width: 30px;
        height: 72px;
        background-color: rgba(0,0,0,0.6);
    }

    .carousel-container .slick-prev {
        /*background-image: url("https://c.s-microsoft.com/en-us/CMSImages/winGa_Carousel_icon_carrot_left.png?version=a9558fec-bdee-7caf-7019-117e32412823");*/
        background-image: url("https://www.microsoft.com/Surface/Assets/img/nfl-white-arrows.png");
        background-repeat: no-repeat;
        background-position: 6px 50%;
        background-size: auto auto;
        width: 30px;
        height: 72px;
        background-color: rgba(0,0,0,0.6);
    }
}

@media screen and (-ms-high-contrast: black-on-white) {
    .carousel-container .slick-next,
    .carousel-container .slick-prev {
        /*outline: black;*/
    }
}

@media screen and (-ms-high-contrast: white-on-black) {
    .carousel-container .slick-next,
    .carousel-container .slick-prev {
        /*outline: white;*/
    }
}

.carousel-container .slick-next:hover,
.carousel-container .slick-prev:hover,
.carousel-container .slick-next:focus,
.carousel-container .slick-prev:focus {
    background-color: rgba(0,0,0,0.80);
}

iframe:-webkit-full-screen {
    z-index: 55 !important;
}

    iframe:-webkit-full-screen .close {
        z-index: 1000 !important;
    }


/* css control header size for specific locales*/

@media screen and (min-width: 540px) {
    .ja-JP #Hero-carousel h1 {
        font-size: calc(26.5px - -1.4vw);
    }
}



/* promotion css */
.promo {
    background-color: #E3E3E3;
    margin-top: 48px;
}

    .promo h4 {
        padding-top: 45px;
        padding-bottom: 47px;
        margin-bottom: 0;
    }

    .promo .chev:after {
        color: #0078d7;
        display: inline-block;
        padding-right: 10px;
        background-image: url(http://compass.microsoft.com/assets/a0/92/a0926a43-a44b-49fe-9354-e1ea5ee895cc.png?n=icon-ChevronRightSmallBlue_0078d7.png);
        background-repeat: no-repeat;
        height: 10px;
        content: '';
        background-size: 10px 10px;
        margin-left: 6px;
    }

    .promo .caption {
        color: #0060AC;
    }

@media (min-width: 540px) and (max-width: 1083px) {
    .promo {
        margin-top: 25px;
    }

        .promo h4 {
            padding-top: 30px;
            padding-bottom: 32px;
        }
}

@media screen and (max-width: 539px) {
    .promo {
        padding-top: 24px;
        padding-bottom: 20px;
        margin-top: 25px;
    }

        .promo h4 {
            padding-top: 19px;
            padding-bottom: 20px;
        }

        .promo .rtm-image-container,
        .promo .mobileCenter {
            text-align: center;
        }
}

@media screen and (-ms-high-contrast: active) {
    /* All high contrast styling rules */
    #carousel-text-1 .hero-button-2 {
        /*  color: white; */
        background-image: url("https://c.s-microsoft.com/en-us/CMSImages/icon-msn-video-white.png?version=434de9a1-62af-b269-9665-77d7127ea145");
    }

    #carousel-text-1 .headline {
        color: white;
    }

    #carousel-text-1 p {
        color: white;
    }
}

@media screen and (-ms-high-contrast: black-on-white) {
    #carousel-text-1 .hero-button-2 {
        /*   color: black; */
        background-image: url("http://compass.microsoft.com/assets/4e/7d/4e7df2a0-988e-4fea-94aa-928adc54f82b.png?n=icon-msn-video-black.png");
    }

    #carousel-text-1 .headline {
        color: black;
    }

    #carousel-text-1 p {
        color: black;
    }
}

@media screen and (-ms-high-contrast: white-on-black) {
    #carousel-text-1 .hero-button-2 {
        /*   color: white;  */
        background-image: url("https://c.s-microsoft.com/en-us/CMSImages/icon-msn-video-white.png?version=434de9a1-62af-b269-9665-77d7127ea145");
    }
}

.shiftfocus {
    opacity: 0;
    height: 0px;
    width: 0px;
}
/*Firefox high contrast fixes*/
@-moz-document url-prefix() {
    html.firefox-high-contrast #carousel-text-1 .hero-button-2::before {
        content: url("/accessories/Assets/img/sprite_icons_base_1x-new.png");
        clip: rect(189px,204px,214px,179px);
        width: 24px;
        height: 24px;
        position: absolute;
        left: 14px;
        top: 86px;
    }
}
/*End of Firefox high contrast fixes*/
