@import "./fontawesome/fontawesome.css";

div.slider_links > div.slider_links-title > a,
div.slider_links > div.get-all-playlists.slider_links-all > a {
    text-decoration: none !important;
}

/*
 * Playlist / grid / carousel shortcode titles: no underline (theme a{} resets).
 * Scoped to shortcode roots so other plugin links are unchanged.
 */
.zype-playlist-grid-shortcode .slider_links-title a,
.zype-playlist-grid-shortcode .slider_links-title a:hover,
.zype-playlist-grid-shortcode .slider_links-title a:focus,
.zype-playlist-grid-shortcode .slider_links-title a:active,
.zype-playlist-grid-shortcode .slider_links-title a:focus-visible,
.zype-playlist-grid-shortcode .playlist-view-title,
.zype-playlist-grid-shortcode .playlist-view-title a,
.zype-playlist-grid-shortcode .playlist-view-title a:hover,
.zype-playlist-grid-shortcode .playlist-view-title a:focus,
.zype-grid-shortcode .slider_links-title a,
.zype-grid-shortcode .slider_links-title a:hover,
.zype-grid-shortcode .slider_links-title a:focus,
.zype-grid-shortcode .slider_links-title a:active,
.zype-playlist-shortcode .slider_links-title a,
.zype-playlist-shortcode .slider_links-title a:hover,
.zype-playlist-shortcode .slider_links-title a:focus,
.zype-playlist-shortcode .slider_links-title a:active,
.zype-carousel .zype-carousel__title,
.zype-carousel .zype-carousel__title-link,
.zype-carousel .zype-carousel__title-link:hover,
.zype-carousel .zype-carousel__title-link:focus,
.zype-carousel .zype-carousel__title-link:active,
.zype-carousel .zype-carousel__title-link:focus-visible {
    text-decoration: none !important;
    text-underline-offset: unset;
}

.slick-slide.grid_screen-container {
    padding-top: 0;
    background: transparent;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-bottom: 0;
}

.zype-playlist-grid-shortcode .grid_screen-container {
    padding-top: 0;
    padding-bottom: 0;
    min-height: 0;
}

/*
 * Playlist/grid shortcode root: align with the active theme content column.
 * Prefer WP global layout tokens, then theme tokens (e.g. ZypeOTT), then 100%.
 * Default stays content-size for nested embeds; .alignwide unlocks wide-size
 * (same Theme Page contract as Carousel / Search / Channel).
 * Do not use viewport-width units or hardcoded viewport offsets.
 */
.zype-playlist-grid-shortcode {
    width: 100%;
    max-width: min(100%, var(--wp--style--global--content-size, var(--zype-content-width, 100%)));
    margin-left: auto;
    margin-right: auto;
    margin-inline: auto;
    box-sizing: border-box;
    overflow-x: clip;
}

.alignwide .zype-playlist-grid-shortcode,
.wp-block-group.alignwide .zype-playlist-grid-shortcode,
.zype-playlist-grid-shortcode.alignwide {
    max-width: min(100%, var(--wp--style--global--wide-size, var(--zype-wide-width, var(--wp--style--global--content-size, var(--zype-content-width, 100%)))));
}

/*
 * Fill the available shortcode wrapper width for playlist/grid screens.
 * Theme content max-width is owned by .zype-playlist-grid-shortcode above.
 */
.grid_screen-container,
.grid-screen.grid_screen-container {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

.zype-playlist-grid-shortcode .grid_screen-container,
.zype-playlist-grid-shortcode .grid-screen.grid_screen-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.grid_screen-container > .content-box.grid_screen-box,
.grid_screen-container > .grid_screen-box {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.grid_screen-container .box-with-content,
.grid_screen-container .playlist-with-content,
.grid_screen-container .slider-list {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.grid_screen-box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    /* Inherit theme text color (dark OTT themes were black-on-black with color:black). */
    color: inherit;
    font-size: 18px;
}

.zype-playlist-grid-shortcode .playlist-view-title,
.zype-grid-shortcode .playlist-view-title {
    /* Match .zype-carousel__title catalog heading contract. */
    margin: 0 0 0.75rem;
    color: inherit;
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 600;
}

.zype-playlist-grid-shortcode .playlist-view-title a,
.zype-grid-shortcode .playlist-view-title a {
    color: inherit;
    text-decoration: none;
}

.grid_screen-box_title--href {
    padding-top: 20px;
    color: inherit;
}

.slider_links a {
    font-size: 16px;
}

.slider_links a,
.slider_links a:hover,
.slider_links a:active,
.slider_links a:focus {
    box-shadow: none !important;
}

.grid_screen-box_title--href:hover {
    color: gray !important;
}

.slider_links {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding-top: 30px;
    padding-bottom: 6px;
    margin-right: 3px;
    margin-left: 3px;
}

.slider_slide_first, .slider_slide_second {
    margin: 0 3px;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    overflow: hidden;
}

.slider_slide_first:hover, .slider_slide_second:hover {
    opacity: 0.7;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.playlist-with-content button.slick-prev,
.playlist-with-content button.slick-next {
    height: 32px;
}

.playlist-with-content button.slick-prev:before,
.playlist-with-content button.slick-next:before {
    font-family: inherit;
    font-size: 20px;
    line-height: 1;
    opacity: 1;
}

.playlist-with-content .slick-next {
    top: 45%;
    right: -30px;
}

.playlist-with-content .slick-prev {
    top: 45%;
    left: -30px;
}

.slick-dots li button:before {
    opacity: 1;
    color: gray;
}

.slick-dots li.slick-active button:before {
    opacity: 1;
    color: black;
}

.slider_links-title {
    text-align: left;
}

.duration-title {
    color: #9D9FA5 !important;
}

.slider_links-all {
    text-align: right;
}

.slider-list .slider_slide_first,
.slider-list .slider_slide_second {
    display: none !important;
}

.slider-list.slick-initialized .slider_slide_first,
.slider-list.slick-initialized .slider_slide_second {
    display: block !important;
}

.all-playlists {
    padding-bottom: 20px;
}

.view_all_images {
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    display: inline-block;
    margin-right: 3px;
    margin-left: 3px;
    margin-bottom: 25px;
}

.box-with-content {
    font-size: 0;
}

/*
 * Responsive Grid packing (native playlist/grid only — not Carousel).
 * auto-fit + minmax(min, 1fr) fills the content-body row; cards are
 * width:100% of a definite track (0×0 protection for absolute <img>).
 */
.zype-playlist-grid-shortcode:not(.zype-carousel) .box-with-content {
    --zype-grid-track-min: var(--zype-card-portrait-width, 200px);
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(100%, var(--zype-grid-track-min)), 1fr)
    );
    align-items: start;
    gap: var(--zype-card-gap, 0.375rem);
    font-size: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.zype-playlist-grid-shortcode:not(.zype-carousel) .box-with-content:has(> .view_all_images.zype-landscape),
.zype-playlist-grid-shortcode:not(.zype-carousel) .box-with-content:has(> .zype-grid-video-card.zype-landscape),
.zype-playlist-grid-shortcode:not(.zype-carousel) .box-with-content:has(> .zype-grid-video-card--landscape) {
    --zype-grid-track-min: var(--zype-card-landscape-width, 320px);
}

.zype-playlist-grid-shortcode:not(.zype-carousel) .box-with-content > .view_all_images,
.zype-playlist-grid-shortcode:not(.zype-carousel) .box-with-content > .zype-grid-video-card {
    display: block;
    /* Definite width required: 100% of a minmax(..., 1fr) track. Absolute
       <img> children do not contribute intrinsic size — width:auto collapses
       the item to 0. */
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    box-sizing: border-box;
}

.zype-playlist-grid-shortcode:not(.zype-carousel) .box-with-content > .playlist-with-content {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
}

/* Inline details reveal spans the full Grid track range (same contract as playlist rows). */
.zype-playlist-grid-shortcode:not(.zype-carousel) .box-with-content > .zype-inline-details-reveal {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    /* Parent .box-with-content uses font-size:0 for card packing — restore type here. */
    font-size: 1rem;
    line-height: 1.5;
}

/*
 * Media fills the definite card/track width. Do NOT use min(px, 100%) here:
 * when the parent was width:auto, 100% resolved to 0 and collapsed cards.
 */
.zype-playlist-grid-shortcode .box-with-content .view_all_images.zype-landscape .zype-background-thumbnail,
.zype-playlist-grid-shortcode .box-with-content .zype-grid-video-card.zype-landscape .zype-background-thumbnail,
.zype-playlist-grid-shortcode .box-with-content .view_all_images.zype-landscape .zype-grid-video-card__media,
.zype-playlist-grid-shortcode .box-with-content .zype-grid-video-card.zype-landscape .zype-grid-video-card__media,
.zype-playlist-grid-shortcode .box-with-content .zype-grid-video-card--landscape .zype-grid-video-card__media {
    width: 100%;
    height: auto;
    aspect-ratio: var(--zype-card-landscape-aspect-ratio, 16 / 9);
}

.zype-playlist-grid-shortcode .box-with-content .view_all_images.zype-poster .zype-background-thumbnail,
.zype-playlist-grid-shortcode .box-with-content .zype-grid-video-card.zype-poster .zype-background-thumbnail,
.zype-playlist-grid-shortcode .box-with-content .view_all_images.zype-poster .zype-grid-video-card__media,
.zype-playlist-grid-shortcode .box-with-content .zype-grid-video-card.zype-poster .zype-grid-video-card__media,
.zype-playlist-grid-shortcode .box-with-content .zype-grid-video-card--poster .zype-grid-video-card__media {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: var(--zype-card-portrait-aspect-ratio, 2 / 3);
}

.view_all_images a {
    display: inline-block;
}

.view_all_images:hover {
    opacity: 0.7;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.view_all_images.zype-grid-video-card:hover,
.slider_slide_first.zype-grid-video-card:hover,
.slider_slide_second.zype-grid-video-card:hover {
    opacity: 1;
}

.view_all_images-img {
    vertical-align: middle;
}

.item_title_block {
    overflow: hidden;
    font-size: 16px;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    cursor: default;
}

.view_all_pagination_box {
    display: inline-block;
}

.grid_screen-container .slick-track {
    min-width: 100%;
}

.slider-list .slick-slide a {
    display: block;
}

.slider-list .slick-slide a:hover {
    background-color: #2D2929;
    opacity: 0.35;
}

.view_all_images.zype-landscape .zype-background-thumbnail {
    width: var(--zype-card-landscape-width, 320px);
    height: auto;
    aspect-ratio: var(--zype-card-landscape-aspect-ratio, 16 / 9);
}

.slider-list.zype-landscape .slick-slide .zype-background-thumbnail {
    height: auto;
    aspect-ratio: var(--zype-card-landscape-aspect-ratio, 16 / 9);
}

.view_all_images.zype-poster .zype-background-thumbnail {
    width: var(--zype-card-portrait-width, 200px);
    height: auto;
    aspect-ratio: var(--zype-card-portrait-aspect-ratio, 2 / 3);
}

.slider-list.zype-poster .slick-slide .zype-background-thumbnail {
    height: auto;
    width: var(--zype-card-portrait-width, 200px);
    aspect-ratio: var(--zype-card-portrait-aspect-ratio, 2 / 3);
}

.slider-list.zype-landscape .slick-slide .zype-background-thumbnail,
.slider-list.zype-poster .slick-slide .zype-background-thumbnail,
.view_all_images.zype-landscape .zype-background-thumbnail,
.view_all_images.zype-poster .zype-background-thumbnail {
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
}

/* Playlist/grid shortcode video card overlays */
.zype-grid-video-card {
    position: relative;
    vertical-align: top;
}

.zype-grid-video-card .zype-grid-video-card__link {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.zype-grid-video-card .zype-background-thumbnail {
    position: relative;
    overflow: hidden;
}

.zype-grid-video-card__overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    box-sizing: border-box;
    /* Reserve 25px so text/read-more clear the docked full-width action bar. */
    padding: 10px 12px 50px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.82);
    color: #000;
    opacity: 0;
    pointer-events: none;
    -webkit-transition: opacity 0.2s ease;
    -o-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
}

.zype-grid-video-card__overlay-inner {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    overflow: hidden;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 0%;
    -ms-flex: 1 1 0%;
    flex: 1 1 0%;
}

.zype-grid-video-card:hover .zype-grid-video-card__overlay,
.zype-grid-video-card:focus-within .zype-grid-video-card__overlay,
.zype-grid-video-card__link:focus .zype-grid-video-card__overlay,
.zype-grid-video-card__link:focus-visible .zype-grid-video-card__overlay {
    opacity: 1;
    pointer-events: auto;
}

.zype-grid-video-card__link:focus,
.zype-grid-video-card__link:focus-visible {
    outline: 2px solid #111;
    outline-offset: 2px;
}

.zype-grid-video-card__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    color: #000;
    margin: 0 0 6px;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.zype-grid-video-card.zype-poster .zype-grid-video-card__title {
    -webkit-line-clamp: 3;
    font-size: 15px;
}

.zype-grid-video-card__body {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    min-height: 0;
    overflow: hidden;
    /*
     * flex-basis 0% forces a definite remaining height so the description
     * line-clamp can fill the body (not stop early and leave a gap).
     */
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 0%;
    -ms-flex: 1 1 0%;
    flex: 1 1 0%;
}

.zype-grid-video-card__description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    /*
     * High clamp + flex-basis 0% fills the body's remaining height above
     * Read more / action row before ellipsis (avoids early truncation gap).
     */
    -webkit-line-clamp: 40;
    line-clamp: 40;
    overflow: hidden;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    color: #000;
    margin: 0;
    min-height: 0;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 0%;
    -ms-flex: 1 1 0%;
    flex: 1 1 0%;
}

.zype-grid-video-card.zype-poster .zype-grid-video-card__description {
    -webkit-line-clamp: 40;
    line-clamp: 40;
    font-size: 13px;
    line-height: 1.3;
}

.zype-grid-video-card__read-more {
    display: block;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #000;
    white-space: nowrap;
}

.zype-grid-video-card.zype-poster .zype-grid-video-card__read-more {
    font-size: 13px;
}

/* Decorative action row — icons only, not wired to handlers.
 * Docked full-bleed to the thumbnail bottom edge (left/right/bottom: 0).
 */
.zype-grid-video-card__actions {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-around;
    -ms-flex-pack: justify;
    justify-content: space-around;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    height: 50px;
    margin: 0;
    padding: 0 8px;
    border: 0;
    outline: 0;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.78);
    text-decoration: none;
    z-index: 1;
    overflow: visible;
}

.zype-grid-video-card__action {
    position: relative;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    outline: 0;
    box-shadow: none;
    background: rgba(12, 12, 12, 0.92);
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
    cursor: default;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.zype-grid-video-card__action svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: currentColor;
    pointer-events: none;
}

/* In-card CSS tooltips (stay above the docked action row).
 * content is empty until hover so link underlines cannot paint a hairline.
 */
.zype-grid-video-card__action::after {
    content: none;
    position: absolute;
    left: 50%;
    bottom: calc(100% + 6px);
    z-index: 3;
    box-sizing: border-box;
    max-width: 140px;
    padding: 3px 7px;
    border: 0;
    border-radius: 3px;
    outline: 0;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.92);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.01em;
    white-space: nowrap;
    text-align: center;
    text-decoration: none !important;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateX(-50%) translateY(2px);
    -ms-transform: translateX(-50%) translateY(2px);
    transform: translateX(-50%) translateY(2px);
    -webkit-transition: opacity 0.12s ease, visibility 0.12s ease, -webkit-transform 0.12s ease;
    transition: opacity 0.12s ease, visibility 0.12s ease, transform 0.12s ease;
}

.zype-grid-video-card__action--favorite::after {
    left: 0;
    -webkit-transform: translateX(0) translateY(2px);
    -ms-transform: translateX(0) translateY(2px);
    transform: translateX(0) translateY(2px);
}

.zype-grid-video-card__action--locked::after {
    left: auto;
    right: 0;
    -webkit-transform: translateX(0) translateY(2px);
    -ms-transform: translateX(0) translateY(2px);
    transform: translateX(0) translateY(2px);
}

.zype-grid-video-card__action:hover::after,
.zype-grid-video-card__action:focus::after {
    content: attr(data-tooltip);
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateX(-50%) translateY(0);
    -ms-transform: translateX(-50%) translateY(0);
    transform: translateX(-50%) translateY(0);
}

.zype-grid-video-card__action--favorite:hover::after,
.zype-grid-video-card__action--favorite:focus::after {
    -webkit-transform: translateX(0) translateY(0);
    -ms-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
}

.zype-grid-video-card__action--locked:hover::after,
.zype-grid-video-card__action--locked:focus::after {
    -webkit-transform: translateX(0) translateY(0);
    -ms-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
}

.zype-grid-video-card__action:hover,
.zype-grid-video-card__action:focus {
    color: #fff;
    background: rgba(28, 28, 28, 0.98);
    border-color: rgba(255, 255, 255, 0.85);
    opacity: 1;
    text-decoration: none !important;
}

.zype-grid-video-card__action--favorite:hover,
.zype-grid-video-card__action--favorite:focus {
    color: #ff6b8a;
}

.zype-grid-video-card__action--trailer:hover,
.zype-grid-video-card__action--trailer:focus {
    color: #7dd3fc;
}

.zype-grid-video-card__action--locked:hover,
.zype-grid-video-card__action--locked:focus {
    color: #fbbf24;
}

.zype-grid-video-card__action--details:hover,
.zype-grid-video-card__action--details:focus {
    color: #a5b4fc;
}

@media (hover: none), (pointer: coarse) {
    .zype-grid-video-card__overlay {
        opacity: 1;
        pointer-events: auto;
    }
}

.zype_play_sample {
    text-align: right !important;
}

.title_and_play {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: baseline;
    -webkit-align-items: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.zype_sign_in {
    background: black;
    color: white;
    padding: 10px 20px;
    font-weight: 600;
    text-decoration: none;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.zype_sign_in:hover {
    text-decoration: none !important;
    background: grey;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    color: white !important;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.home-page.grid_screen-box_title {
    text-align: center;
}

.error-section {
    color: #bf0a0a;
    font-weight: 700;
}

.box-with-content-viewall {
    display: inherit;
    flex-flow: wrap;
    justify-content: start;
}

body .player-auth-required {
    overflow: auto;
}

body .player-auth-required,
body .player-signup-required,
body .subscribe-button,
body .my-library-sign-in-button {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    padding: 0 15px 0;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    z-index: 1000000;
    display: none;
}

body .player-auth-required-content,
body .subscribe-button-content,
body .my-library-sign-in-button-content {
    max-width: 650px;
    font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;
    padding: 25px 20px;
    cursor: default;
    border-radius: 5px;
    position: relative;
    top: -50%;
    bottom: 20px;
    -webkit-transition: top 0.3s ease;
    transition: top 0.3s ease;
    margin: 0 auto;
}



body .zype_player_container .player-auth-required-content h3
body .subscribe-button-content h3 {
    font-size: 24px;
    line-height: 28px;
    margin: 0 0 9px;
    font-weight: 400;
    color: #2c3c4c;
    text-align: center;
    padding-top: 0;
}

body .zype_player_container .player-auth-required-content .login-sub-section,
body .subscribe-button-content .login-sub-section, {
    text-align: center;
}


body .player-auth-required-content h1 {
    font-weight: 900;
}

.zype-buttons-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.zype-buttons-column {
    flex-basis: 195px;
    margin: 0 5px;
}

.zype-form-center .zype-buttons-column button.zype-button {
    padding: 15px 0 !important;
    width: 100%;
}

.zype-spinner {
    height: 20px;
    width: 20px;
    display: inline-block;
    vertical-align: bottom;
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
    border-left: 1px solid rgba(0, 174, 239, .15);
    border-right: 1px solid rgba(0, 174, 239, .15);
    border-bottom: 1px solid rgba(0, 174, 239, .15);
    border-top: 1px solid rgba(0, 174, 239, .8);
    border-radius: 100%;
}

@-webkit-keyframes rotation {
    from {
      -webkit-transform: rotate(0deg);
    }
    to {
      -webkit-transform: rotate(359deg);
    }
}

@-moz-keyframes rotation {
    from {
      -moz-transform: rotate(0deg);
    }
    to {
      -moz-transform: rotate(359deg);
    }
}

@-o-keyframes rotation {
    from {
      -o-transform: rotate(0deg);
    }
    to {
      -o-transform: rotate(359deg);
    }
}

@keyframes rotation {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(359deg);
    }
}

/** Profile styles **/
.user-profile-wrap {
    padding-top: 20px !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.user-profile-wrap a {
    color: #00a5df !important;
}

.user-profile-wrap > .main-heading > .title {
    display: block !important;
    color: #272424 !important;
    letter-spacing: .3px !important;
    margin-bottom: 32px !important;
    line-height: 35px !important;
    font-size: 35px !important;
    font-weight: 100 !important;
    text-transform: lowercase !important;
    font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif !important;
}


.user-profile-wrap > .main-heading > .text-uppercase {
    text-transform: uppercase !important;
  }

.user-profile-wrap > .main-heading > .title::first-letter {
    text-transform: uppercase !important;
}

.user-profile-wrap__content {
    display: -webkit-box !important;
    display: -moz-box !important;
    display: -ms-flexbox !important;
    display: -webkit-flex !important;
    display: flex !important;

    -webkit-box-pack: center !important;
    -moz-box-pack: center !important;
    -ms-flex-pack: center !important;
    -webkit-justify-content: center !important;
    justify-content: center !important;

    -webkit-box-lines: multiple !important;
    -moz-box-lines: multiple !important;
    -ms-flex-wrap: wrap !important;
    -webkit-flex-wrap: wrap !important;
    flex-wrap: wrap !important;
}

.user-profile-wrap__block {
    min-width: 50% !important;
}

.user-profile-wrap__block_subscribe {
    max-width: 50% !important;
    padding: 0 1.4% !important;
    color: #60626b !important;
    font-size: 15px !important;
}

/*  .user-profile-wrap__block_subscribe * {
    color: #60626b !important;
    font-size: 15px !important;
    font-weight: normal !important;
  }*/
.user-profile-wrap__block_subscribe strong {
    font-weight: bold !important;
}

.user-profile-wrap__field {
    margin: 6px !important;
}

.user-profile-wrap__inp {
    background: #fff !important;
    border: 1px solid #d9d8e0 !important;
    border-radius: 2px !important;
    letter-spacing: .15px !important;
    color: #272424 !important;
    margin: 0 !important;
    min-width: 200px !important;
    max-width: 500px !important;
    height: 40px !important;
    text-shadow: none !important;
    font-size: 15px !important;
    display: inline-block !important;
    font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif !important;
}

.btn.user-profile-wrap__button,
button.user-profile-wrap__button {
    max-width: 100%;
    display: inline-block;
    text-transform: uppercase;
    color: #00a5df;
    letter-spacing: 1.3px;
    border: 2px solid #00a5df;
    border-radius: 2px;
    padding: 15px 100px;
    margin: 20px 0 0;
    background: #fff;
    font-size: 12px;
    height: auto;
    line-height: 20px;
    text-shadow: none;
    font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;
}


.btn.user-profile-wrap__button:hover {
    max-width: 100%;
    display: inline-block;
    text-transform: uppercase;
    color: #00a5df;
    letter-spacing: 1.3px;
    border: 2px solid #00a5df;
    border-radius: 2px;
    padding: 15px 100px;
    margin: 20px 0 0;
    background: #fff;
    font-size: 12px;
    height: auto;
    line-height: 20px;
    text-shadow: none;
    font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;
}

.user-profile-wrap__button_subscr {
    max-width: 500px !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.user-profile-wrap__note {
    max-width: 320px !important;
    color: #60626b !important;
    font-size: 12px !important;
    text-align: center !important;
    margin: 0 auto !important;
}

.user-profile-wrap__menu {
    display: inline-block !important;
    margin: 0 !important;
    margin-bottom: 32px !important;
    list-style: none !important;
    text-align: left !important;
}

.user-profile-wrap__menu > li {
    border-bottom: 1px solid #efefef !important;
    border-top: 1px solid #efefef !important;
    padding: 0.5em 0 !important;
}

.user-profile-wrap__menu > li:first-child {
    border-top: none !important;
}

.user-profile-wrap__menu > li > a {
    color: #00a5df !important;
    border-bottom: none !important;
    font-weight: bold !important;
    text-decoration: none !important;
    transition: none !important;
    box-shadow: none !important;
    font-family: "Open Sans", "Helvetica Neue", helvetica, arial, sans-serif !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

select.form-control {
    padding: 0.375em !important;
    width: 100% !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    min-width: 200px !important;
    max-width: 500px !important;
    vertical-align: baseline !important;
    background: #fff !important;
    border: 1px solid #d9d8e0 !important;
    border-radius: 2px !important;
    letter-spacing: .15px !important;
    color: #272424 !important;
    height: 40px !important;
    text-shadow: none !important;
    display: inline-block !important;
    font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif !important;
}

.error-section, .success-section, .zype_flash_messages {
    max-width: 50% !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.cancellation .slot {
    margin-bottom: 20px;
}

.cancellation .slot p {
    margin-bottom: 0;
}

@media(max-width: 414px) {
    body .zype_player_container .player-auth-required,
    body .subscribe-button,
    body .my-library-sign-in-button {
        background-color: #fff;
    }
}
