﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

@font-face {
    font-family: Olympic Headline;
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: local("Olympic Headline"), url(/tokyo-2020/en/olympian-paralympian-experiences/fonts/OlympicHeadline-Regular.woff2) format("woff2"), url(/tokyo-2020/en/olypian-paralympian-experiences/fonts/OlympicHeadline-Regular.woff) format("woff");
}

@font-face {
    font-family: Olympic Sans;
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: local("Olympic Sans"), url(/tokyo-2020/en/olympian-paralympian-experiences/fonts/OlympicSans-Regular.woff2) format("woff2"), url(/tokyo-2020/en/olympian-paralympian-experiences/fonts/OlympicSans-Regular.woff) format("woff");
}

@font-face {
    font-family: Olympic Sans;
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: local("Olympic Sans"), url(/tokyo-2020/en/olympian-paralympian-experiences/fonts/OlympicSans-Bold.woff2) format("woff2"), url(/tokyo-2020/en/olympian-paralympian-experiences/fonts/OlympicSans-Bold.woff) format("woff");
}

@font-face {
    font-family: "Olympic Serif";
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: local("Olympic Serif"), url(/tokyo-2020/en/olympian-paralympian-experiences/fonts/OlympicSerif-Regular.woff2) format("woff2"), url(/tokyo-2020/en/olympian-paralympian-experiences/fonts/OlympicSerif-Regular.woff) format("woff");
}

.main-content {
   font-family: Olympic Sans, Aktiv Grotesk, Arial, Helvetica, sans-serif;
   max-width: 1240px;
   margin-left: auto;
   margin-right: auto;
}

/* start of reusable classes */

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.justify-center {
    justify-content: center;
}

.white {
    color: #ffffff;
}

.grey {
    color: #969696;
}

.black {
    color: #000000;
}

.OS-bold {
    font-weight: 700;
}

.padding-left-16s-24m {
    padding-left: 16px;
}

/* tablet - desktop */
@media (min-width: 768px) {
    .padding-left-16s-24m {
        padding-left: 24px;
    }
}

.padding-right-16s-24m {
    padding-right: 16px;
}

/* tablet - desktop */
@media (min-width: 768px) {
    .padding-right-16s-24m {
        padding-right: 24px;
    }
}


.padding-top-16 {
    padding-top: 16px;
}

.full-width {
    width: 100%;
}

/* end of reusable classes */

.logo-lockup {
    width: 100%;
    max-width: 666px;
    margin: 0 auto 20px;
    display: block;
}

h1,
h2,
h4 {
    text-transform: capitalize;
    font-family: Olympic Headline,Cervo Light,Arial,Helvetica Neue,Helvetica,sans-serif;
}

.main-content {
    margin-top: 107px;
}

.text-logos-banner {
    padding-top: 43px;
}

    .text-logos-banner h1,
    .image-banner h2 {
        font-size: 2.375rem;
        font-weight: 400;
        line-height: 2.25rem;
    }

    .text-logos-banner h1 {
        max-width: 288px;
        padding-bottom: 27px;
        text-align: center;
    }

/* tablet - desktop */
@media (min-width: 768px) {
    .text-logos-banner h1 {
        max-width: 768px;
    }
}

.text-logos-banner p {
    font-family: Olympic Sans, Aktiv Grotesk, Arial, Helvetica, sans-serif;
    font-size: .625rem;
    line-height: 1.17rem;
    padding-top: 18px;
    padding-bottom: 41px;
}

.logos-container li {
    list-style-type: none;
    height: 25px;
    display: flex;
    padding-left: 25px;
    padding-right: 25px;
}

    .logos-container li:nth-last-of-type(n+2) {
        border-right: 1px solid #e5e5e5;
    }

.logos-container img {
    margin-top: -3px;
}

    .logos-container img.ipc-logo {
        height: 40px;
        margin-top: -7px;
    }

.image-banner {
    background-size: cover;
    font-size: 1rem;
    min-height: 260px;
}

    .image-banner h2 {
        padding-top: 42px;
        max-width: 266px;
    }

/* tablet - desktop */
@media (min-width: 768px) {
    .header-banner {
        height: 302px;
    }

    .info-banner,
    .cutlture-banner {
        height: 100%;
    }
}


.icon {
    display: inline-block;
    width: 1rem;
    height: .75rem;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: contain;
}

.icon-arrow-right {
    background-image: url('/tokyo-2020/en/olympian-paralympian-experiences/images/arrow-right.svg');
}

.image-banner a:visited {
    color: #ffffff;
    text-decoration: none;
}

.games-experience,
.social-wall {
    flex-direction: column;
    padding-top: 45px;
}

.social-wall {
    padding-top: 0px;
}

.games-experience h2,
.social-wall h2,
.culture-banner h2,
.watch-past-experiences h2,
.editorial-news h2 {
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 3.063rem;
}

.games-experience h2,
.social-wall h2,
.culture-banner h2,
.watch-past-experiences h2 {
    padding-bottom: 1.875rem;
}

.games-experience p,
.bg-overlay p {
    font-size: 1.125rem;
    line-height: 1.625rem;
}

.games-experience h2.ja-line-space {
    line-height: 120%;
    word-break: keep-all;
}

@media (min-width: 992px) {
    .games-experience img {
        max-width: 512px;
    }
}

.cta-experiences {
    display: inline-block;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.563rem;
    background: #e5e5e5;
    border-radius: 3px;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    margin-bottom: 1.875rem;
}

@media (min-width: 768px) {
    .games-experience {
        flex-direction: row;
    }

    .left-col {
        width: 42%;
    }

    .right-col {
        width: 58%;
    }
}

@media (min-width: 768px) {
    .right-col {
        text-align: right;
    }
}

/* desktop */
@media (min-width: 992px) {
    .games-experience h2 {
        font-size: 5.625rem;
        line-height: 4.5rem;
    }

    .games-experience h2.ja-line-space {
        line-height: 120%;
        font-size: 4.25rem;
    }

    /* Feedback from CMS meeting 28/06
        .experiences-details {
        padding-left: 105px;
    }*/
}

.carousel-cell:not(:last-of-type) {
    padding-right: 1rem;
}

.carousel-cell a:hover {
    text-decoration: none;
}

.carousel-item-details p {
    max-width: 185px;
}

.carousel-item-details .icon {
    background-position-x: left;
}

.carousel-image-holder {
    width: 190px;
    height: 252px;
    border-radius: 12px;
    background-size: cover;
    background-position: 50% 50%;
    position: relative;
}

.watch-tag {
    text-transform: uppercase;
    height: 18px;
    color: #000;
    background-color: #fff;
    padding: 1px 6px;
    line-height: 18px;
    border-radius: 2px;
    font-size: 0.625rem;
    display: inline;
    position: absolute;
    top: 18px;
    left: 18px;
    font-family: "Olympic Sans", sans-serif;
    font-weight: bold;
}

.play-tag {
    background-image: url('/tokyo-2020/en/olympian-paralympian-experiences/images/play-icon.png');
    width: 44px;
    height: 44px;
    background-size: 44px 44px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-indent: -9999px;
    display: block;
}

.ratings-holder {
    min-height: 20px;
}

.carousel-item-details {
    padding-left: 0.625rem;
    padding-top: 1.0625rem;
}

.superfan,
.insiders {
    padding-bottom: 48px;
}

.refugees,
.games-experience {
    margin-bottom: 60px;
}

.superfan h2,
.bg-overlay h2,
.refugees h2 {
    font-size: 2.5rem;
}

@media (min-width: 768px) {
    .superfan h2,
    .bg-overlay h2,
    .refugees h2 {
        font-size: 3.75rem;
    }
}

@media (min-width: 768px) {
    .bg-overlay {
        flex-direction: row;
    }
}

.bg-overlay h2 {
    line-height: 3.063rem;
}

.bg-overlay p {
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.superfan .desc {
    color: #5a5a5a;
}

.star-icon {
    background-image: url('/tokyo-2020/en/olympian-paralympian-experiences/images/star-rating.svg');
    padding-right: 8px;
}

.separator {
    padding: 0 0.5rem;
}

.bg-overlay {
    position: relative;
    flex-direction: column;
}

/* tablet - desktop */
@media (min-width: 768px) {
    .bg-overlay {
        flex-direction: row;
    }
}

.bg-overlay::before {
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-image: linear-gradient(120deg, #000000, #000000);*/
    opacity: .5;
    position: absolute;
}

.bg-overlay .left-col,
.bg-overlay .right-col {
    position: relative;
    max-width: 270px;
}

.bg-overlay .right-col {
    font-family: Olympic Serif,Cervo Light,Arial,Helvetica Neue,Helvetica,sans-serif;
    padding-left: 1rem;
    padding-bottom: 60px;
}

/* tablet - desktop */
@media (min-width: 768px) {
    .bg-overlay .right-col {
        padding-top: 225px;
        max-width: 290px;
    }

    .bg-overlay p {
        text-align: left;
    }
}

.social-wall h2 {
    font-family: Olympic Sans Regular,Cervo Light,Arial,Helvetica Neue,Helvetica,sans-serif;
    font-size: 2rem;
    line-height: 100%;
    word-wrap: break-word;
}

.social-wall ul {
    list-style-type: none;
    flex-direction: column;
}


.social-wall li {
    padding-top: 16px;
}

@media (min-width: 768px) {
    .social-wall h2 {
        font-family: Olympic Sans Regular,Cervo Light,Arial,Helvetica Neue,Helvetica,sans-serif;
        font-size: 3.5rem;
        letter-spacing: -0.02em;
    }
    
    .social-wall ul {
        flex-wrap: wrap;
        flex-direction: row;
    }

    .social-wall li {
        max-width: 350px;
        margin-left: 24px;
    }
}

    .fb-post > span {
        max-width: 100%;
    }

    .fb-post iframe {
        border: 0;
        display: block;
        margin: 0 auto;
        max-width: 100%;
    }

    .watch-past-experiences {
        padding-bottom: 50px;
    }
    
    .culture-banner {
        height: 100%;
        min-height: 320px;
        margin-bottom: 60px;
        margin-top: 20px;
        background-position: 0 100%;
        display: block;
    }

    .culture-banner-activities {
        padding-bottom: 24px;
    }

        .culture-banner-activities li,
        .culture-banner-activities span {
            display: flex;
        }

        .culture-banner-activities li {
            align-items: center;
            padding-top: 16px;
        }

    .culture-banner-first {
        padding-left: 1rem;
    }

    /* tablet - desktop */
    @media (min-width: 768px) {
        .culture-banner-first {
            padding-left: 0;
        }

        .culture-banner-activities {
            width: 100%;
            display: inline-flex;
            justify-content: center;
            padding-top: 8px;
        }

        .culture-banner {
            min-height: 484px;
        }
    }

    .culture-banner-activities img {
        width: 85px;
    }

    .culture-banner-activities span {
        align-items: center;
        height: 100%;
        padding-left: 1rem;
    }

    /* tablet - desktop */
    @media (min-width: 768px) {
        .culture-banner-activities li {
            flex-direction: column;
            display: inline-flex;
        }

        .culture-banner-activities img {
            width: 165px;
        }

        .culture-banner-activities span {
            justify-content: left;
            padding-left: 0;
            width: 100%;
        }
    }

    /* tablet - desktop */
    @media (min-width: 992px) {
        .culture-banner-activities img {
            width: 218px;
        }
    }

    /* tablet - desktop */
    @media (min-width: 768px) {
    }

    /* desktop */
    @media (min-width: 992px) {
    }

    .editorial-news {
        padding-top: 3.25rem;
        padding-bottom: 3.25rem;
    }

    .editorial-news-header {
    }

        .editorial-news-header h2 {
            padding-right: 20px;
        }

    .editorial-news h2 {
        padding-bottom: 1rem;
    }

    .editorial-news .desc {
        font-family: Olympic Serif, Cervo Light, Arial, Helvetica Neue, Helvetica, sans-serif;
        text-align: left;
    }
    
    .news-items a {
        width: 288px;
        height: 202px;
        background-size: cover;
        background-position: 50% 50%;
        border-radius: 12px;
        display: block;
    }
    
    .news-items {
        width: 288px;
        margin-right: 1em;
    }
    
    .news-items a span {
        text-indent: -9999px;
        display: block;
    }
    
    .news-items h4 {
        color: #5a5a5a;
        font-size: 1rem;
        padding-top: 1.375rem;
    }
    
    .news-items p {
        font-size: 1.125rem;
        line-height: 1.625rem;
    }

    /* tablet - desktop */
    @media (min-width: 768px) {
        .editorial-news-header {
        }

        .editorial-news h2,
        .editorial-news .desc {
            max-width: 270px;
        }

        .equal-col-m {
            width: 50%;
        }

        .news-items a {
            width: 350px;
        }

        .news-items {
            width: 350px;
        }
    }

    @media (min-width: 992px) {

    }

/*
 *   Video lightbox, text overlay lightbox
 */
body.showVideo {
    background-color: #000;
    min-height: 100vh;
}

.videoBox {
    display: none;
    height: 100%;
}

.showVideo .pageWrap {
    display: none;
}

.showVideo .videoBox {
    display: block;
}

.videoClose {
    position: absolute;
    right: 20px;
    top: 20px;
    background: url("/tokyo-2020/en/olympian-paralympian-experiences/images/iconStack.svg#IconClose") 0 0 no-repeat transparent;
    background-size: cover;
    width: 44px;
    height: 44px;
    text-indent: -9999px;
    z-index: 1;
    border: 0;
}

.videoCol {
    margin: 0 auto;
    max-width: 1024px;
    height: 100%;
    position: relative;
    padding-top: 33%;
}

.videoWrap {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

    .videoWrap iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

@media only screen and (max-width: 899px) and (orientation:landscape) {
    .videoCol {
        padding: 0 12%;
    }
}

@media only screen and (min-width: 900px) {
    .videoCol {
        padding: 10% 5% 0;
    }
}

@media only screen and (min-width: 1280px) {
    .videoCol {
        padding: 5% 0 0;
    }
}
