#scs__emoapp div[id*="scs__container"] > .cmp-container_fullbleed.cmp-container_max_fullbleed video {
    display: block !important;
}

#scs__emoapp div[id*="scs__container-dark"] > .cmp-container_fullbleed.cmp-container_max_fullbleed:after,
#scs__emoapp div[id*="scs__container-light"] > .cmp-container_fullbleed.cmp-container_max_fullbleed:after {
    content:  '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: transparent;
    background-position: center center;
    background-repeat: repeat;
}

#scs__emoapp div[id*="scs__container-dark"] > .cmp-container_fullbleed.cmp-container_max_fullbleed:after {
    background-image: url('https://www.swisscom.ch/content/dam/assets/b2c/campaigns/blue-lp/grid-50x50.png')
}

#scs__emoapp div[id*="scs__container-light"] > .cmp-container_fullbleed.cmp-container_max_fullbleed:after {
    background-image:  url('https://www.swisscom.ch/content/dam/assets/b2c/campaigns/blue-lp/grid-50x50-white.png');
}

#scs__emoapp div[id*="scs__container-light-fadeout"]:before {
    content: '';
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 1920px;
    position: absolute;
    right: 50%;
    width: 100vw;
    height: 100%;
    top: 0;
    background: #fff;
    pointer-events: none;
    -webkit-mask: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(0,0,0,0) 15%, rgba(0,0,0,0) 85%, rgba(255,255,255,1) 100%);
}

#scs__emoapp #scs__container-light__blue:before {
    content: '';
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 1920px;
    position: absolute;
    right: 50%;
    width: 100vw;
    height: 100%;
    top: 0;
    background: #fff;
    pointer-events: none;
    -webkit-mask: linear-gradient(rgba(0,0,0,0) 85%, rgba(255,255,255,1) 100%);
}


@media screen and (min-width: 1920px) {
    #scs__emoapp div[id*="scs__container-light"]:before {
        margin-left: -960px;
        margin-right: -960px;
    }
}


/* stage stuff */
#scs__emoapp div[id*="scs__container"][id*="stage"] {
    align-items: start;
}

#scs__emoapp div[id*="scs__container"][id*="stage"] h1,
#scs__emoapp div[id*="scs__container"][id*="stage"] p {
    white-space: nowrap;
}

@media screen and (max-width: 768px) {
    #scs__emoapp div[id*="scs__container"][id*="stage"] p br {
        display: none;
    }
}

#scs__emoapp div[id*="scs__container"][id*="stage"] .is-ontop {
    position: relative;
    z-index: 10;
}

#scs__emoapp div[id*="scs__container"][id*="stage"] h1 {
    padding-top: 48px;
}

#scs__emoapp div[id*="scs__bubble"] img {
    width: 180px;
    height: 180px;
    position: absolute;
    top: 56px;
    right: 24px;
}

@media screen and (max-width: 1200px) {
    #scs__emoapp div[id*="scs__bubble"] img {
        width: 160px;
        height: 160px;
    }
}

@media screen and (max-width: 1024px) {
    #scs__emoapp div[id*="scs__bubble"] img {
        width: 140px;
        height: 140px;
    }
}

@media screen and (max-width: 768px) {
    #scs__emoapp div[id*="scs__bubble"] {
        text-align: right;
    }
    #scs__emoapp div[id*="scs__bubble"] img {
        width: 120px;
        height: 120px;
        position: relative;
        top: 0;
        right: 0;
    }
}


/* stage slider */
#scs__emoapp #scs__slider__stage {
    margin-top: 18px;
    position: relative;
    padding-bottom: calc(100% / 948 * 534);
    min-height: 0 !important;
    margin-bottom: 11%;
}

#scs__emoapp #scs__slider__stage .image img {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
}

#scs__emoapp #scs__slider__stage .image {
    position: absolute;
    margin: 0;
    padding: 0;
    opacity: 0;
    width: 27%;
    height: 0;
    padding-bottom: 21%;
    top: 80%;
    left: 70%;
    z-index: 3;
    backface-visibility: hidden;
}

#scs__emoapp #scs__slider__stage .image.is-preview {
    top: 75%;
    left: 65%;
    opacity: 1;
    transition: all 500ms 500ms cubic-bezier(0.61, 1, 0.88, 1);
    z-index: 3;
}

@media screen and (max-width: 768px) {
    #scs__emoapp #scs__slider__stage .image {
        width: 35%;
        padding-bottom: 27%;
        left: 60%;
    }
    #scs__emoapp #scs__slider__stage .image.is-preview {
        top: 75%;
        left: 55%;
    }
}

@media screen and (max-width: 540px) {
    #scs__emoapp #scs__slider__stage {
        margin-bottom: 25%;
        width: 100vw;
        position: relative;
        left: 50%;
        margin-left: -50vw;
    }
}

#scs__emoapp #scs__slider__stage .image.is-hero {
    top: 0;
    left: 0;
    width: 100%;
    padding-bottom: calc(100% / 948 * 534);
    opacity: 1;
    transition: all 500ms cubic-bezier(0.61, 1, 0.88, 1);
    z-index: 1;
}

#scs__emoapp #scs__slider__stage .image.is-fadeout {
    opacity: 0;
    top: 10%;
    left: 10%;
    width: 80%;
    padding-bottom: calc(100% / 948 * 534);
    z-index: 0;
    transition: all 500ms;
}

#scs__emoapp #scs__slider__stage .image.is-hero:after {
    content: '';
    width: 0;
    height: 4px;
    background: #1781E3;
    position: absolute;
    bottom: 0;
    left: 0;
    animation: goFullWidth 4000ms linear 1250ms 1 forwards;
}

@keyframes goFullWidth {
    from { width: 0; }
    to { width: 100%; }
}

/* my swisscom app & video */
@media screen and (min-width: 768px) {
    #scs__emoapp #scs__container-light-fadeout__swisscomapp video {
        margin-left: 240px;
        -webkit-mask-image: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(0,0,0,1) 10%);
    }
}

#scs__emoapp .video-js {
    background-color: transparent !important;
}

/* blue */
#scs__emoapp #scs__container-light__blue .image:first-child img {
    animation: jumpingCards 4500ms linear infinite forwards;
}

@keyframes jumpingCards {
    0% {
        transform: translate(0,12px);
        animation-timing-function: cubic-bezier(0.37, 0, 0.63, 1);
    }
    50% {
        transform: translate(0,24px);
        animation-timing-function: cubic-bezier(0.37, 0, 0.63, 1);
    }
    100% {
        transform: translate(0,12px);
    }
}

@media screen and (max-width: 768px) {
    #scs__emoapp #scs__container-light__blue .component-button {
        margin: -40px 0 0 0 !important;
    }
}


/* checkboxes & accordion */
body {
    counter-reset:  scsAccordionElement;
}

#scs__emoapp div[id*="scs__accordion"] {
    counter-reset: scsAccordionElement;
}

#scs__emoapp div[id*="scs__checkboxes"] .cmp-text p,
#scs__emoapp div[id*="scs__accordion"] .cmp-text p {
    display: block;
    padding-left: 40px;
    position: relative;
}

#scs__emoapp div[id*="scs__accordion"] .cmp-text > p:before {
    content: '';
    position: absolute;
    left: 0;
}

#scs__emoapp div[id*="scs__accordion"] .cmp-text > p:first-child {
    counter-increment: scsAccordionElement;
}

#scs__emoapp div[id*="scs__accordion"] .cmp-text:not(.is-active) > p:first-child {
    cursor: pointer;
}

#scs__emoapp div[id*="scs__checkboxes"] .cmp-text p:before {
    content: "\e00b";
    font-family: sdx-icons;
    font-size: 24px;
    padding-top: 2px;
    color: #001155;
}

@media (hover: hover) {
    #scs__emoapp div[id*="scs__accordion"] .cmp-text:not(.is-active) > p:first-child:hover {
        text-decoration: underline;
    }
}

#scs__emoapp div[id*="scs__accordion"] .cmp-text > p:first-child:before {
    content: counter(scsAccordionElement, decimal-leading-zero) '. ';
}

#scs__emoapp div[id*="scs__accordion"] .component-container:not(:first-child) .cmp-text p:not(:first-child) {
    display: none;
}

#scs__emoapp div[id*="scs__accordion"] .cmp-text > .cmp-text__inner {
    overflow: hidden;
    transition: all 250ms;
}

#scs__emoapp div[id*="scs__accordion"] .cmp-text:not(.is-active) > .cmp-text__inner:not(.is-active) {
    max-height: 0 !important;
}

@media screen and (max-width:  1024px) {
    #scs__emoapp div[id*="scs__checkboxes"] .cmp-text p,
    #scs__emoapp div[id*="scs__accordion"] .cmp-text p {
        grid-template-columns: 32px 1fr;
    }
    #scs__emoapp div[id*="scs__checkboxes"] .cmp-text p:before {
        padding-top: 0;
    }
}

@media screen and (max-width: 1300px) and (min-width: 768px) {
    #scs__emoapp #scs__teasers .cmp-teaser {
        flex-direction: column;
    }
    #scs__emoapp #scs__teasers .cmp-teaser > .centralized_over {
        width: 100% !important;
    }
    #scs__emoapp #scs__teasers .cmp-teaser > .centralized_over .teaser-standard-fixed-image {
        height: 240px !important;
    }
    #scs__emoapp #scs__teasers .cmp-teaser > .centralized_over .teaser-standard-fixed-image img {
        border-radius: 0 !important;
    }
}

@media screen and (max-width: 768px) {
    #scs__emoapp #scs__teasers .teaser {
        width: 100% !important;
    }  
}

#scs__emoapp #scs__teasers .cmp-teaser > .centralized_over {
    padding: 0 !important;
    width: 40%;    
}

#scs__emoapp #scs__teasers .cmp-teaser > .centralized_over .teaser-standard-fixed-image {
    height: 100%;
}

#scs__emoapp #scs__teasers .cmp-teaser > .centralized_over .teaser-standard-fixed-image img {
    height: 100% !important;
    width: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* fade in animation */
#scs__fadeIn h2 span,
#scs__fadeIn p {
    opacity: 0;
}

#scs__fadeIn.is-inViewport h2 span,
#scs__fadeIn.is-inViewport p {
    animation: fadeIn 250ms linear 1 forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* teaser for RES HOME */
div[id*="scs__teaser-"]:not([id*="video"]) {
    position: relative;
    background: radial-gradient(95% 330% at 0% 165%, #13A3F4 0%, rgba(22, 158, 255, 0.45) 42%, rgba(16, 136, 222, 0) 100%), radial-gradient(116% 460% at 140% -235%, #DD1122 26%, #001155 100%);
}

div[id*="scs__teaser-"] video {
    display: block !important;
}

div[id*="scs__teaser-"]:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

div[id*="scs__teaser-"][id*="dark"]:before {
    background-image: url('https://www.swisscom.ch/content/dam/assets/b2c/campaigns/blue-lp/grid-50x50.png');
}

div[id*="scs__teaser-"][id*="light"]:before {
    background-image:  url('https://www.swisscom.ch/content/dam/assets/b2c/campaigns/blue-lp/grid-50x50-white.png');
}

div[id*="scs__teaser-"] a {
    display: grid;
    grid-template-columns: 10px 1fr;
    grid-template-rows: 1fr auto;
    grid-template-areas:
        "height top"
        "height bottom";
}

div[id*="scs__teaser-"] .img-wrapper.min-height {
    grid-area: height;
}

div[id*="scs__teaser-"] .centralized_over,
div[id*="scs__teaser-"] .description_over {
    position: relative;
    top: 0;
    left: 0;
    padding-left: 0;
    padding-right: 10px;
}

div[id*="scs__teaser-"] .centralized_over {
    grid-area: top;
    display: flex;
    align-items: flex-end;
}

div[id*="scs__teaser-"] .description_over  {
    grid-area: bottom;
}

div[id*="scs__teaser-"] img {
    max-width: 388px;
    height: auto !important;
}

/* chatbo */
#scs__emoapp #scs__chatbot-simplydigital {
    margin: 0 auto 24px;
    max-width: 400px;
    /*padding: 0 24px;*/
}


#scs__emoapp #scs__chatbot-simplydigital img {
    display: block;
    width: 112px;
    height: 112px;
    margin: 12px auto 48px;
}

@media screen and (max-width: 768px) {
    #scs__emoapp #scs__chatbot-simplydigital img {
        margin-bottom: 24px;
    }
}

#scs__emoapp #scs__chatbot-simplydigital .cmp-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#scs__emoapp #scs__chatbot-simplydigital .cmp-text div {
    position: relative;
    padding: 0 32px;
    margin: 8px 0;
}

#scs__emoapp #scs__chatbot-simplydigital .cmp-text div p {
    max-width: 224px;
    min-width: 104px;
    padding: 16px;
}
    


#scs__emoapp #scs__chatbot-simplydigital div.scs__text-bot:before {
    content: '';
    width: 18px;
    height: 18px;
    background: url("https://www.swisscom.ch/content/dam/assets/b2c/campaigns/blue-lp/loader-still-112x112.png");
    background-size: 100% 100%;
    display: block;
    position: absolute;
    bottom: 0;
    left: 5px;
}

#scs__emoapp #scs__chatbot-simplydigital div.scs__text-bot p {
    background: #f1f4f8;
    border-radius: 16px 16px 16px 0;
}

#scs__emoapp #scs__chatbot-simplydigital div.scs__text-self {
    align-self: flex-end;
}

#scs__emoapp #scs__chatbot-simplydigital div.scs__text-self p {
    align-self: flex-end;
    padding-right: 0;
    color: #ffffff;
    background: #0675de;
    border-radius: 16px 16px 0 16px;
}


#scs__emoapp #scs__chatbot-simplydigital .cmp-text div p {
    font-size: 16px;
    line-height: 24px;
    margin: 0;
}

#scs__emoapp #scs__chatbot-simplydigital div p.scs__text-loading  {
    white-space: nowrap;
    padding: 8px 11px;
    min-width: 0;
    border-radius: 8px 8px 8px 0;
    font-size: 1px;
    line-height: 1px;
    width: auto;
}

#scs__emoapp #scs__chatbot-simplydigital div p.scs__text-loading > * {
    width: 4px;
    height: 4px;
    background: #ADADAD;
    display: inline-block;
    overflow: hidden;
    color: transparent;
    margin: 0 1px 0;
    border-radius: 50%;
    opacity: 1;
    animation: 1s blink infinite;
}

#scs__emoapp #scs__chatbot-simplydigital .scs__text-loading > *:nth-child(1) { animation-delay: 0.333s; }
#scs__emoapp #scs__chatbot-simplydigital .scs__text-loading > *:nth-child(2) { animation-delay: 0.666s; }
#scs__emoapp #scs__chatbot-simplydigital .scs__text-loading > *:nth-child(3) { animation-delay: 0.999s; }


@keyframes blink {
  50% { background: #333; }
}


/* chatbot fade in */

#scs__emoapp #scs__chatbot-simplydigital .cmp-text div {
    opacity: 0;
    transform: translate(0,24px);
}

#scs__emoapp #scs__chatbot-simplydigital.is-inViewport .cmp-text div {
    transform: translate(0,0);
    opacity: 1;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

#scs__emoapp #scs__chatbot-simplydigital .cmp-text div:nth-child(1) p {
    transition: all 0.0001s linear 1.5s;
}

#scs__emoapp #scs__chatbot-simplydigital .cmp-text div:nth-child(1) p:first-child {
    position: absolute;
    top: 14px;
    left: 32px;
    opacity: 1;
    pointer-events: none;
}

#scs__emoapp #scs__chatbot-simplydigital .cmp-text div:nth-child(1) p:last-child {
    max-height: 20px;
    visibility: hidden;
    opacity: 0;
}

#scs__emoapp #scs__chatbot-simplydigital.is-inViewport .cmp-text div:nth-child(1) p:first-child {
    opacity: 0;
}

#scs__emoapp #scs__chatbot-simplydigital.is-inViewport .cmp-text div:nth-child(1) p:last-child {
    visibility: visible;
    opacity: 1;
    max-height: 100px;
}

#scs__emoapp #scs__chatbot-simplydigital .cmp-text div:nth-child(2) {
    transition-delay: 2250ms;
}

#scs__emoapp #scs__chatbot-simplydigital .cmp-text div:nth-child(3) {
    transition-delay: 2750ms;
}