@font-face {
    font-family: 'Calibri Light Custom';
    src: url('../fonts/calibril.ttf') format('truetype'), url('../fonts/calibril.woff') format('woff');
}

@font-face {
    font-family: 'Museo Sans Custom';
    src: url('../fonts/MUSEOSANS-300.OTF') format('opentype');
}

body {
    margin: 0;
    font-family: 'Calibri Light Custom', Fallback, sans-serif;
    width: 100%;
    max-width: 100vw;
}

.active {
    color: crimson;
}

.header {
    padding: 1px;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 2px rgba(0, 0, 0, .14), 0 6px 6px rgba(0, 0, 0, .28);
    z-index: 10100;
}

.animationClass {
    animation: shadowThrob 0.9s;
    animation-direction: alternate;
    -webkit-animation: shadowThrob 0.9s ease-out;
    -webkit-animation-direction: alternate;
}

@keyframes shadowThrob {
    from {
        text-shadow: 0 0 20px rgba(190, 65, 12, 0.9), 0 0 100px rgba(190, 65, 12, 0.9);
    }
    to {
        text-shadow: 0 0 20px rgba(190, 65, 12, 0.9), 0 0 100px rgba(190, 65, 12, 0.9);
    }
}

@-webkit-keyframes shadowThrob {
    from {
        text-shadow: 0 0 20px rgba(190, 65, 12, 0.9), 0 0 100px rgba(190, 65, 12, 0.9);
    }
    to {
        text-shadow: 0 0 20px rgba(190, 65, 12, 0.9), 0 0 100px rgba(190, 65, 12, 0.9);
    }
}

.content {
    width: 100%;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

.sticky+.content {
    padding-top: 102px;
}

.flex-container {
    display: grid;
    display: -ms-grid;
    justify-content: center;
}

.content-container {
    justify-content: center;
}

.image-container {
    display: grid;
    display: -ms-grid;
}

.menu-big-area {
    display: flex;
    justify-content: center;
    flex: 2 0 0;
    flex-wrap: wrap;
}

.menu-small-area-left {
    display: flex;
    flex: 1 0 0;
    justify-content: center;
}

.menu-small-area-right {
    display: flex;
    flex: 1 0 0;
    justify-content: center;
}

a.fa.language {
    font-family: 'Calibri Light Custom';
    font-size: 19px;
    width: 21px;
}

a.fa {
    padding: 6px;
    font-size: 20px;
    width: 19px;
    text-align: center;
    text-decoration: none;
    margin: 14px 2px;
    border-radius: 50%;
    border: solid 1px black;
    color: black;
}

.mnemo-menu-item {
    padding: 0px 37px;
    cursor: pointer;
    flex-grow: 1;
}

.mnemo-menu-item :hover {
    color: crimson;
}

a {
    text-decoration: none;
    color: #000000;
}

.biennale-logo {
    height: 100px;
    width: 100px;
    padding: 7px 30px 7px 0px;
}

.bx-viewport {
    height: auto !important;
}

.autoplay-video {
    position: relative;
    z-index: 10000;
}

#menu-logo {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-content {
    display: flex;
    justify-content: center;
    text-align: justify;
}

.text-container {
    max-width: 900px;
}

.text-container h3 {
    color: crimson;
    font-weight: bold;
}

.team-replacement {
    background-color: black;
    width: 100%;
    padding-top: 50%;
}

.article {
    padding-bottom: 20px;
}

.article-text.collapsed {
    max-height: 175px;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 9;
    display: -webkit-box;
    -webkit-box-orient: vertical;  
    position: relative;
}

.article-text {
    max-height: none;
    margin-bottom: 10px;
}

.text-container h3.article-title {
    color: black;
    font-weight: normal;
    text-transform: uppercase;
}

.title {
    text-transform: uppercase;
}

a.read-more {
    float: right;
    color: crimson;
    font-size: 22px;
}

a.read-more:hover {
    font-weight: bold;
}

a.read-less {
    float: right;
    color: crimson;
    font-size: 22px;
}

a.read-less:hover {
    font-weight: bold;
}

.flex-grid {
    display: flex;
    flex-wrap: wrap;
}

.grid-col {
    flex: 1;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: scroll;
}

#video-scroll::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
    background-clip: content-box;
}

#video-scroll::-webkit-scrollbar {
    height: 10px;
}

#video-scroll::-webkit-scrollbar:hover {
    cursor: pointer;
}

#video-scroll::-webkit-scrollbar-thumb {
    background-color: #000000;
}

.video-grid-item {
    padding: 1px;
    position: relative;
}

.video-grid-item:hover {
    cursor: pointer;
}

#video-player {
    cursor: pointer;
}

.partner-logos {
    display: grid;
    display: -ms-grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    justify-items: center;
    padding-top: 20px;
    padding-bottom: 50px;
}

.news-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 100px;
    row-gap: 20px;
}

.news-card {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    margin: 20px 0px;
    box-shadow: 0 0 2px rgba(0, 0, 0, .14), 0 0 8px rgba(0, 0, 0, .28);
}

.news-card:hover {
    cursor: pointer;
}

.news-card-text {
    font-size: 20px;
}

.news-paragraph {
    font-size: 12px;
    padding: 8px;
}

.photo-copyright {
    font-size: 12px;
    text-align: right;
}

.news-grayed-text {
    color: gray;
}

.news-description {
    font-weight: bold;
}

/* 
.videoWrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    16:9
    padding-top: 25px;
    height: 100%;
} */

/* 
.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
} */

iframe {
    width: calc(100vw - 20px);
    height: calc(100vw/1.77);
}

/* video play overlay below */

.image-container {
    position: relative;
}

.image-container .after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 4px);
    display: none;
    color: #FFF;
}

.image-container:hover .after.video-active {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .3);
}

.image-container .playing {
    display: none;
}

.image-container .playing.video-active {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 4px);
    display: none;
    color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .1);
    cursor: default;
}

.image-container:hover .playing.video-active {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 4px);
    display: none;
    color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .1);
    cursor: default;
}

.fa.fa-play-circle {
    font-size: 3em;
}

.main-logo-container {
    max-height: 350px;
    width: 100%;
}

.main-logo-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
}

.content-video {
    max-width: 897px;
    height: auto;
}

.content-image {
    display: block;
    max-width: 100%;
    width: 100%;
}

#social-media-links-container {
    padding-right: 10px;
}

#social-media-links {
    display: flex;
    align-items: center;
}


#motto-container {
    padding: 0px 20px 0px 20px;
    text-align: center;
}

input,
textarea,
button,
select,
div,
a {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.section-bottom-padding {
    padding-bottom: 100px;
}

.fancy-subtitle-container {
    padding: 50px 0px 50px 0px;
}

.fancy-subtitle-gallery-container {
    padding: 50px 0px 20px 0px;
}

p.fancy-subtitle {
    font-size: 40px;
    font-family: "Museo Sans Custom";
    letter-spacing: 3px;
    text-align: center;
    border-bottom: 1px solid black;
    line-height: 0;
}

p.fancy-subtitle span {
    background: #fff;
    padding: 0 15px;
}

.bx-wrapper {
    webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

.slider-image {
    width: 100%;
}

.left-margin-40 {
    margin-left: -40px;
}

.video-container {
    position: relative;
    text-align: center;
    color: white;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    font-size: 50px;
    font-family: "Museo Sans Custom";
    letter-spacing: 12px;
}

.centered-news {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    font-size: 50px;
    font-family: "Museo Sans Custom";
    letter-spacing: 12px;
}

.left-corner {
    position: absolute;
    top: 95%;
    left: 3%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    font-size: 30px;
    cursor: pointer;
}

.article-reference-container {
    text-align: right;
}

.article-reference {
    color: crimson;
}

.article-reference:hover {
    font-weight: bold;
}

.subtitle {
    font-family: "Museo Sans Custom";
    font-size: 1.5em;
    margin: 10px 0px 10px 0px;
}

#language-container {
    display: flex;
    align-items: center;
}

#vertical-line {
    border-left: thin solid black;
    height: 30px;
    margin: 0px 5px 0px 5px;
}

#social-media-links-container {
    display: flex;
    align-items: flex-end;
}

#bienalaFixedLogo {
    display: none;
}

.team-container {
    display: grid;
    display: -ms-grid;
    grid-template-columns: 400px 500px;
}

.team-container ul {
    list-style-type: none;
    font-size: 22px;
    -webkit-padding-start: 40px;
}

.team-members-container {
    display: grid;
    display: -ms-grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
}

.team-member {
    height: 380px;
    align-self: end;
}

.biennale-commisioner-container {
    display: grid;
    display: -ms-grid;
    grid-template-columns: auto auto;
}

.biennale-commisioner-container .commisioner-photo {
    margin-left: 50px;
}

figcaption {
    text-align: center;
    font-size: 18px;
    font-style: italic;
}

.footer {
    background-color: #1A1A1A;
    padding: 50px 0px 50px 0px;
    margin-top: 50px;
    color: white;
}

.footer-container {
    display: grid;
    display: -ms-grid;
    grid-template-columns: repeat(2, 1fr);
    font-family: "Museo Sans Custom";
    color: white;
}

.press-release-link {
    cursor: pointer;
}

.press-release-link a {
    color: white;
}

.press-release-link a:hover {
    color: crimson;
}

.full-width {
    width: 100%;
}

.footer-contact {
    text-align-last: right;
}

.copyright {
    text-align: center;
    padding-top: 50px;
}

#team-content .team-member-title {
    color: black;
    font-weight: bold;
    text-transform: uppercase;
}

.team-member-container {
    display: grid;
    display: -ms-grid;
    grid-template-columns: 400px auto;
}

.bienala-fixed-logo {
    position: fixed;
    right: 30px;
    top: 90px;
    z-index: 10200;
}

.bottom-padding-100 {
    padding-bottom: 100px;
}

.top-margin-100 {
    margin-top: 100px;
}

.top-margin-50 {
    margin-top: 50px;
}

.organizer-logo-figcaption {
    font-style: normal;
}

.Navbar {
    background-color: #fff;
    display: none;
    display: -ms-grid;
    grid-template-columns: repeat(3, 1fr);
    -ms-grid-columns: repeat(3, 1fr);
    font-family: "Calibri Light Custom";
    color: white;
}

.Navbar__Items {
    display: flex;
    flex-direction: row;
}

.navbar-item {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    padding: 0px 20px 0px 20px;
    font-family: "Museo Sans Custom";
    font-size: 14px;
}

.Navbar__Link {
    padding-right: 8px;
}

.Navbar__Link-toggle {
    color: black;
    display: none;
}

.Navbar__Items--right {
    margin-left: auto;
}

.Navbar__Link-brand {
    display: flex;
    padding: 0px 20px 0px 20px;
    margin-right: auto;
}

#mnemonics-small-logo {
    height: 63px;
}

#main-autoplay-video {
    margin-top: 0px;
}

.paragraph {
    font-size: 22px;
    padding: 50px 0px 50px 0px;
}

.paragraph p {
    margin-top: 7px;
    margin-bottom: 7px;
}

.gallery-subtitle {
    padding: 50px 0px 20px 0px;
}

.gallery-paragraph {
    padding: 0px 0px 50px 0px;
    text-align: center;
    font-size: 22px;
}

.paragraph-no-padding {
    font-size: 22px;
    padding: 0;
}

.paragraph-no-padding p {
    margin-top: 7px;
    margin-bottom: 7px;
}

.fa.fa-bars {
    font-size: 30px;
    padding: 10px;
}

.switch-sound-video :hover {
    cursor: pointer;
}

.bx-clone {
    display: none;
}

.fadeout {
    position: absolute;
    top: 82%;
    left: 50%;
    height: 4em;
    width: 100%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    background: -webkit-linear-gradient(
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 100%
    ); 
    background-image: -moz-linear-gradient(
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 100%
    );
    background-image: -o-linear-gradient(
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 100%
    );
    background-image: linear-gradient(
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 100%
    );
    background-image: -ms-linear-gradient(
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 100%
    );
}

@media (max-width: 1300px) {
    .navbar-item {
        padding: 0px 5px 0px 20px;
    }
    #mnemonics-small-logo {
        height: 45px;
    }
    .Navbar__Link-brand {
        padding: 0px 0px 0px 10px;
    }
}

@media (min-width: 1024px) and (max-width: 1124px) {
    .Navbar__Link-brand {
        padding: 0px 5px 0px 5px;
    }
    .navbar-item {
        padding: 0px 5px 0px 5px;
    }
}

@media (max-width: 1024px) {
    #mnemonics-small-logo {
        height: 35px;
    }
    #main-autoplay-video {
        margin-top: 52px;
    }
    #bienalaFixedLogo {
        display: none !important;
    }
    .Navbar__Items,
    .Navbar {
        flex-direction: column;
        grid-template-columns: repeat(4, 1fr);
    }
    .Navbar__Items {
        display: none;
        grid-column: span 4;
    }
    .Navbar__Link-toggle {
        display: flex;
        display: -ms-grid;
        align-items: center;
        padding-left: 10px;
        cursor: pointer;
        grid-column: span 1;
    }
    .Navbar__Items--right {
        margin-left: 20px;
        grid-column: span 4;
    }
    .Navbar__Link-brand {
        margin-left: auto;
        margin-right: unset;
        grid-column: span 3;
    }
    .Navbar__ToggleShow {
        display: flex;
    }
    .navbar-item h2 {
        margin: 5px;
    }
    .content-image {
        display: block;
        height: auto;
    }
    .content-video {
        width: 100vw;
        height: 38vw;
    }

    .paragraph {
        padding: 50px 20px 50px 20px;
    }
    .paragraph-no-padding {
        padding: 0px 20px 0px 20px;
    }
    .read-more,
    .read-less,
    .subtitle,
    .article-title {
        padding: 0px 20px 0px 20px;
    }
    .team-member {
        padding-left: 20px;
    }
}

@media (max-width: 900px) {
    .main-logo-image {
        padding-top: 40px;
    }

    .article-text.collapsed{
        max-height: 175px;
    }
    .team-container {
        display: grid;
        display: -ms-grid;
        grid-template-columns: repeat(1, 1fr);
    }
   
    .team-members-container {
        display: grid;
        display: -ms-grid;
        grid-template-columns: repeat(3, 1fr);
    }
    .team-member {
        height: 150px;
        float: left;
        padding-right: 20px;
    }
    .team-member-container {
        display: inline !important;
    }
    .partner-logos {
        grid-template-columns: repeat(2, 1fr);
    }
    .centered {
        font-size: 20px;
    }
    .left-corner {
        font-size: 20px;
    }
    .fancy-subtitle {
        font-size: 20px !important;
        letter-spacing: 1px !important;
    }
    .news-container {
        column-gap: 20px;
        padding: 0px 10px 0px 10px;
    }
}

@media (max-width: 600px) {
    .news-paragraph {
        font-size: 14px;
    }
}

@media (min-width: 451px) and (max-width: 900px) {
    .footer-press {
        padding-left: 20px;
    }
    
    .footer-contact {
        padding-right: 20px;
    }
    .news-card-text {
        padding: 0px;
    }
}

@media (max-width: 500px) {
    .flex-grid {
        display: block;
    }
    a.read-more {
        font-size: 18px !important;
    }
    a.read-less {
        font-size: 18px !important;
    }
    .paragraph {
        font-size: 14px !important;
    }
    .gallery-paragraph {
        font-size: 14px !important;
    }
    .paragraph-no-padding {
        font-size: 14px !important;
    }
    .subtitle {
        font-size: 1.25em !important;
    }
    .team-container ul {
        font-size: 18px !important;
    }
    figcaption {
        font-size: 14px !important;
    }
    .navbar-item {
        font-size: 12px !important;
    }

    .article-text.collapsed {
        max-height: 175px;
    }
    .news-paragraph {
        font-size: 11px;
    }
    .news-card-text {
        text-align: start;
    }
}

@media (max-width: 450px) {
    .article-text.collapsed{
        max-height: 175px;
    }

    .partner-logos {
        grid-template-columns: repeat(1, 1fr) !important;
        row-gap: 20px;
    }
    .footer-container {
        grid-template-columns: repeat(1, 1fr) !important;
        padding: 0px 20px 0px 20px;
    }
    .footer-press {
        text-align: center;
    }
    .footer-contact {
        text-align: center;
        text-align-last: unset !important;
    }
    .news-paragraph {
        padding: 5px;
    }
    .news-container {
        grid-template-columns: repeat(1, 1fr);
    }
}