/* General Styling */

body, #content {
    /* animation: overflowYDelay 5s linear; */
}

/* List Styling */

:root {
    --list-item-content-sections: 2;
}

/* For hyperlink icon */
.list-content-item > .list-content-section:first-of-type {
    flex-direction: column;
}

.list-content-section {
    /* width: calc(100% / var(--list-item-content-sections)); */
    width: calc((100% - 20%) / var(--list-item-content-sections));
}

.list-content-section:last-of-type {
    width: 20%;
}

/* LIST SECTIONS */

.list-section-tags {
    width: 20%;
    display: flex;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow-x: hidden;
}

.list-section-media-tags {
    display: flex;
    flex-wrap: wrap;
    white-space: wrap;
}

.list-section-tags {
    display: flex;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow-x: hidden;
}

.list-item-title {
    margin: 0px;
    padding: 0px;
    font-size: 24px;
    font-weight: 600;
}

a.hyperlink-text {
    text-decoration: none !important;
}

.list-media-tag, .list-language-tag, .list-sort-tag, .list-tag, .list-tag-show-more {
    margin: 4px !important;
    height: 24px;
    padding: 4px 6px 4px 6px;
    font-family: 'Poppins';
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
}

.list-tag:focus-visible {
    outline: 2px solid var(--dark-white) !important;
    
    transition: outline .25s ease-in-out;
}

.list-tag-show-more {
    background-color: var(--dark-black-8b);
}

.list-media-tag, .list-sort-tag {
    height: auto;
}

/* List Icons */

.list-media-tags-icon {
    width: 16px;
    padding-right: 8px;
    filter: drop-shadow(0px 0px 8px var(--dark-white));
    
    cursor: pointer !important;
}
/* Sort & Filter Menu */

.filter-menu .list-section-tags, .sort-menu .list-section-tags, .filter-menu .list-section-tags, .sort-menu .list-section-tags {
    width: auto;
}

.tag-sort {
    margin: 0 !important;
    /* background-color: var(--dark-primary); */
    color: var(--dark-white);
}

.menu-language-options {
    height: 100%;
    width: 25%;
    margin: 0px !important;
}

.menu-captions-options {
    height: 100%;
    width: 25%;
    margin: 0px !important;
}

.menu-tag .list-language-tag, .menu-tag .list-tag {
    margin: 0px !important;
}

.menu-content-section {
    width: 100%;
    display: flex;
}
.sort-button-group, .menu-sort-ascending-buttons, .menu-sort-descending-buttons, .menu-tags-checklist {
    width: auto;
    display: flex;
    justify-content: flex-end;
    
    cursor: auto;
}

#menu-checkbox-filters-all, #menu-checkbox-filters-all ~ button {
    cursor: not-allowed !important;
}

/* Tables */

.sort-menu table, .filter-menu table {
    position: relative;
    box-shadow: none;
}

.sort-menu table td, .filter-menu table td {
    font-size: 16px;
    overflow: hidden;
    text-transform: initial;
}

.sort-menu table tr td:first-of-type, .filter-menu table tr td:first-of-type {
    max-width: 50%;
    width: 50%;
}

.sort-menu table tr td:not(table tr td:first-of-type) {
    max-width: 25%;
    width: 25%;
    text-align: right;
}

.filter-menu table tr td:not(table tr td:first-of-type) {
    min-width: 50%;
    text-align: right;
    display: flex;
    justify-content: flex-end;
}

/* Tooltip Themes (List-Specific) */

.tippy-tooltip.tag-authorized-theme {
    background-color: #24ff413f;
    border: 1px solid #24ff413f;
}

.tippy-tooltip.tag-authorized-theme .tippy-backdrop {
    background-color: #24ff413f;
}

.tippy-popper[x-placement^=bottom] .tippy-tooltip.tag-authorized-theme .tippy-arrow {
    border-bottom: 7px solid #24ff413f;
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
}

.tippy-tooltip.tag-vpn-recommended-theme {
    background-color: #ff74243f;
    border: 1px solid #ff74243f;
}

.tippy-tooltip.tag-vpn-recommended-theme .tippy-backdrop {
    background-color: #ff74243f;
}

.tippy-popper[x-placement^=bottom] .tippy-tooltip.tag-vpn-recommended-theme .tippy-arrow {
    border-bottom: 7px solid #ff74243f;
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
}

/* Tags */

.tag-none {
    background-color: #0A0A0A;
    color: #F1F1F1;
    opacity: 0;
}

.tag-all {
    background-color: #0A0A0A;
    color: #F1F1F1;
}

.tag-list {
    background-color: #faf6cc;
    color: #43437b;
}

.tag-language {
    background-color: #eaca61;
    color: #5f4c35;
}

.tag-video-editing, .tag-court-métrage {
    background-color: #211364;
    color: #e1dbec;
}

/* Media Queries */

@media screen and (max-width: 1000px) {
    .list-media-tag {
        min-height: 24px;
    }

    .list-media-tags-icon {
        width: 16px;
    }
}