@import url("../renaissance.css");
@import url("../lib/sharing.css");
@import url("../../../../lib/player.css");
@import url("../../../../lib/teaser.css");
@import url("../../../../lib/video.css");

body {
    background-color: var(--light-brand-color);
    color: var(--black);
}

main {
    background-color: var(--light-brand-color);
    color: var(--black);
}

.selection-header {
    position: relative;
}

.teaser-video {
    background-color: var(--light-brand-color);
}

.header-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    background: linear-gradient(0deg, var(--light-brand-color), transparent);
    height: 100%;
    width: 100%;
}

.viewing-options {
    z-index: 7;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 50%;
    margin-bottom: 100px;
}

.selection-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-height: 200px;
    width: 100%;
    margin-bottom: 1rem;
}

.selection-logo img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}

.selection-logo img ~ div.logo-title {
    display: none;
}

.logo-title {
    font-size: 3.5rem;
}

.selection-body {
    position: relative;
    top: -250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    width: 80%;
    padding: 2rem 10% 0 10%;
    margin-bottom: -250px;
}

.selection-overview {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: calc(100% -  4rem);
    color: var(--light-brand-contrast-color);
    border-radius: 10px;
    padding: 0 2rem;
    margin: 0;
}

h2.local-title {
    font-size: 1.2rem;
    font-style: italic;
    margin: 0 0 0.75rem 0;
}

.selection-main {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    width: 80%;
    padding: 0 10%;
}

.selection-main-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: calc(65% - 2rem);
    padding: 0 2rem 2rem 0;
}

.selection-main-sidebar {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 35%;
    padding: 2rem 0;
}

.premiere-status {
    display: flex;
    flex-direction: row;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 800;
}

.logline {
    display: -webkit-box;
    font-family: var(--spq-serif);
    font-style: italic;
    margin: 0.5rem 0 1rem 0;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.synopses {
    margin: 1.5rem 0;
}

.synopsis {
    margin: 0.5rem 0;
    font-size: 1.3rem;
}

.synopsis.native-synopsis {
    font-style: italic;
    font-size: 1.1rem;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: solid 1px var(--titles);
}

button.play-selection {
    display: flex;
    flex-direction: row;
    height: 3rem;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
}

button.play-selection > * {
    margin: 0 0.25rem;
}

.mute-button {
    position: absolute;
    top: 100px;
    right: 100px;
    height: 35px;
    background-color: var(--shadow-color);
    padding: 10px;
    display: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: solid 1px var(--titles);
    width: 35px;
}

.mute-button img {
    height: 75%;
    object-fit: contain;
}

.language-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    font-size: 1rem;
    margin: 0.5rem 0 0 0;
}

.language-info img {
    height: 1rem;
    width: 1rem;
    object-fit: contain;
    margin-inline-end: 0.25rem;
}

.captions-info, .subtitles-info {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.subtitles-info {
    margin-top: 0.25rem;
}

.quick-actions {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    margin: 2rem 0;
}

.quick-action {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    width: 100%;
    align-items: center;
    margin: 0.5rem 0;
    color: var(--light-brand-contrast-color);
}

.quick-action.favorites-action {
    display: none;
}

.quick-action img {
    height: 1.5rem;
    margin-inline-start: 1rem;
}

.quick-action-info {
    font-size: 1rem;
}


.social-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 25px;
    opacity: 0.6;
    margin: 1rem 0;
}

.social-link img {
    height: 25px;
    object-fit: contain;
}


.mdt-selection-sponsorship.square-ad {
    position: absolute;
    top: -60px;
    left: 5rem;
}

.mdt-selection-sponsorship.banner-ad {
    position: absolute;
    top: 0;
    right: 0;
    height: 4rem;
}

span.searchable:not(:last-of-type):after, span.language:not(:last-of-type):after {
    content: ",";
}

span.searchable:not(:last-of-type), span.language:not(:last-of-type) {
    margin-inline-end: 0.25rem;
}

.ondemand-option {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 1.5rem 0;
}

.ondemand-option button {
    display: none;
}

.no-on-demand {
    display: none;
}

.screening-groups {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.screening-group {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0;
    padding: 2rem 1rem;
    border-radius: 4px;
    color: var(--white);
    width: calc(100% - 2rem);
}

.screening-group:not(:last-child) {
    border-bottom: solid 2px var(--dark-brand-contrast-color);
}

.screening-group h3 {
    color: var(--white);
    font-weight: 100;
    font-size: 1.5rem;
}

.screening-option {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0.5rem 0;
    border-radius: 4px;
    padding: 1rem;
    width: calc(100% - (2rem + 2px));
    border: solid 1px var(--titles);
}

.screening-option:focus {
    outline: solid 1px var(--light-brand-contrast-color);
}

.screening-option h4 {
    color: var(--dark-brand-contrast-color);
}

.screening-option:hover {
    background-color: var(--white);
    color: var(--black);
}

.screening-option:hover h4 {
    color: var(--titles);
}

.screening-option p {
    font-weight: 100;
}

.screening-times {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: calc(100% - 1rem);
    margin: 0.25rem 0;
    padding: 0 0.5rem;
}

.screening-times > * {
    margin-right: 2rem;
}

.screening-times span.meta-label {
    width: unset;
}
