/* library pages' CSS, includes filters/modals */

.filter-panel {
    display: none;
}

.library-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    justify-content: space-between;
}

.library-header h2 {
    margin-bottom: 0;
}

.library-header h2 span {
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
}

.library-header.collection {
    justify-content: left;
}

.library-header.collection p {
    margin-top: 10px;
    max-width: 682px;
}

.library-header.collection img {
    max-width: 125px;
    margin-right: 20px;
}

.library-header select {
    width: 100%;
    height: 40px;
    max-width: 210px;
    background: white url('../images/caret85.svg') no-repeat 95% center;
    background-size: 10px;
    border: 1px solid var(--dark-gray);
    appearance: none;
    margin-left: auto;
    margin-right: 0;
    padding-left: 10px;
    color: var(--dark-gray);
}

.tags {
    margin-bottom: 60px;
}

.columns {
    columns: 3;
    column-rule: 1px solid #d3d3d3;
    gap: 60px;
}

.columns ul {
    padding-left: 1.25rem;
}

.columns ul ul {
    list-style-type: disc;
}

.columns li {
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.35;
}

.columns.subjects a {
    display: block;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.columns.subjects a+h4 {
    margin-top: 1em;
}

.columns.subjects h4 {
    margin-bottom: 1em;
}

@media (max-width: 860px) {
    .columns {
        columns: 2;
    }
}

@media (max-width: 540px) {
    .columns {
        columns: 1;
    }
}

.individual-filmmaker {
    padding-bottom: 60px;
    border-bottom: 1px solid #d3d3d3;
    margin-bottom: 60px;
    min-height: 220px;
}

.filmmaker-img {
    max-width: 200px;
    float: left;
    margin-right: 40px;
    margin-bottom: 10px;
}

.filmmaker-img label {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 10px;
}

.filmmaker {
    border-bottom: 1px solid #d3d3d3;
    margin: 0;
    padding: 20px 0;
    display: flex;
    align-items: flex-start;
    page-break-inside: avoid;
}

.filmmaker p {
    margin: 0;

}

.filmmaker img {
    margin-right: 20px;
    max-width: 100px;
}

.account-head h4 {
    margin-right: 20px;
    margin-bottom: 40px;
}

.home .hero {
    position: relative;
    margin-top: 0;
}

.home .hero h1 {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 40%;
    left: 50%;
    color: white;
    font-size: 50px;
    font-style: normal;
    font-weight: 600;
    z-index: 2;
    text-align: center;
    width: 90%;
}

@media (max-width: 880px) {
    .home .hero h1 {
        font-size: 5vmin;
        top: 30%;
    }
}

.swiper-hero {
    position: relative;
    z-index: 1;
    padding-bottom: 62px;
    margin-bottom: 40px;
}

.swiper-hero .swiper-pagination-bullet {
    width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 16px));
    height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 16px));
}

.card-label {
    color: white;
    text-align: center;
    padding: 15px 0;
}

.storefront .card-label {
    background: var(--blue);
}

.now-online .card-label {
    background: var(--blue);
}

.in-theaters .card-label {
    background: var(--green);
}

.box-set .card-label {
    background: var(--orange);
}

.series .card-label {
    background: var(--red);
}

.blu-ray .card-label {
    background: var(--yellow);
}

.storefront.card {
    border: 6px solid var(--blue);
}

.now-online.card {
    border: 6px solid var(--blue);
}

.in-theaters.card {
    border: 6px solid var(--green);
}

.box-set.card {
    border: 6px solid var(--orange);
}

.series.card {
    border: 6px solid var(--red);
}

.blu-ray.card {
    border: 6px solid var(--yellow);
}

.storefront.card,
.now-online.card,
.in-theaters.card,
.box-set.card,
.series.card,
.blu-ray.card {
    padding: 0 20px 15px;
}

.storefront.card .card-label,
.now-online.card .card-label,
.in-theaters.card .card-label,
.box-set.card .card-label,
.series.card .card-label,
.blu-ray.card .card-label,
.now-online.card>img,
.in-theaters.card>img,
.box-set.card>img,
.series.card>img,
.blu-ray.card>img
 {
    margin-left: -20px;
    margin-right: -20px;
}

.storefront.card>img,
.now-online.card>img,
.in-theaters.card>img,
.box-set.card>img,
.series.card>img,
.blu-ray.card>img {
    width: calc(100% + 40px);
    max-width: calc(100% + 40px);
}

.card img {
    margin-bottom: 14px;
}

.storefront.card> a img {
    margin: 14px 0px 14px 0px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.card button img {
    margin: 0;
}

.cta.gray.border {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    gap: 20px;
}

.cta.gray.border button {
    width: 25%;
}

.cta.gray.border p {
    text-align: left;
}

.home h2 {
    margin-top: 60px;
    margin-bottom: 40px;
}

.news .gray.border {
    padding: 40px 30px;
    height: 100%;
}

.news h4 {
    font-weight: 600;
    margin-bottom: 1em;
}

.news li {
    font-size: 16px;
}

.news li,
.news p {
    margin-bottom: 6px;
}

section.filter {
    background: var(--dark-green);
    padding: 30px 0;
    margin-bottom: 20px;
    margin-top: 0;
}

#search-form input[type="text"] {
	margin-bottom:unset;
}

section.filter .flex {
    gap: 20px;
    justify-content: left;
}

section.filter .filter-button,
section.filter input {
    display: inline-flex;
    align-items: center;
    max-width: 210px;
    width: 100%;
    height: 40px;
    background: white;
    border-radius: 0px;
    border: 0;
    justify-content: space-between;
    color: var(--dark-gray);
    padding: 0 10px;
}

section.filter input {
    background: white url('../images/search.svg') no-repeat 95% center;
    background-size: 20px 20px;
    margin-right: 0;
    margin-left: auto;
}

.filter-panel {
    position: fixed;
    width: 90%;
    max-width: 800px;
    background: white;
    z-index: 9999;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.filter-panel.open {
    display: block;
}

.filter-panel:before {
    display: block;
    content: "";
    background: rgba(0, 0, 0, 0.50);
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-25%, -25%);
    height: 200vh;
    width: 200vw;
    z-index: -1;
}

.filter-panel-header {
    padding: 40px;
    border-bottom: 1px solid #d3d3d3;
    display: flex;
    background: white;
    justify-content: space-between;
    gap: 20px;
}

.filter-panel-header h2 {
    margin-bottom: 0;
    flex: 1 0 auto;
}

.filter-panel-body {
    overflow-y: scroll;
    max-height: 400px;
    padding: 40px 40px 0;
    background: white;
}

.filter-panel-body h3 {
    margin-bottom: 20px;
}

.filter-panel-body>div {
    columns: 3;
    page-break-inside: avoid;
    overflow-x: hidden;
    overflow-y: hidden;
    min-height: 340px;
}

.filter-panel .text-button {
    font-size: 20px;
}



.pagination button {
    width: auto;
    min-width: 74px;
}

.pagination {
    margin-top: 40px;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 2px;
}

.pagination button {
    border-radius: 0;
}

.pagination button.prev {
    border-radius: 5px 0px 0px 5px;
}

.pagination button.next {
    border-radius: 0px 5px 5px 0px;
}

.ellipsis {
    width: 74px;
    text-align: center;
}


@media (max-width:767px) {
    .library-header {
        margin-bottom: 20px;
    }

    .library-header h2 span {
        font-size: 16px;
    }

    .library-header select {
        border: 0;
        text-align: right;
        padding-right: 24px;
        font-size: 14px;
    }

    section.filter .mobile {
        display: flex;
        justify-content: space-between;
        padding: 8px 12px;
        align-items: center;
    }

    section.filter {
        padding: 0;
    }

    .container.tags {
        margin-bottom: 20px;
    }

    .button-container {
        border-top: 1px solid #e3e3e3;
    }

    .button-container button.primary {
        height: 40px;
        font-size: 20px;
        padding: 0 12px;
        max-width: none;
        width: 100%;
    }


    section.filter .mobile h4 {
        color: white;
        padding: 0;
        margin: 0;
        order: 1;
        font-size: 18px;
        font-style: normal;
        font-weight: 600;
    }

    section.filter .mobile button.mobile-toggle {
        order: 2;
        padding: 12px;
        margin-right: -8px;
    }

    section.filter .flex {
        display: none;
        padding: 0;
        background: white;
        border-bottom: 1px solid #e3e3e3;
    }

    section.filter .flex.open {
        display: block;
    }

    section.filter .filter-button {
        width: 100%;
        max-width: none;
        color: black;
        border-bottom: 1px solid #e3e3e3;
        padding: 18px 10px;
        height: auto;
    }

    section.filter .filter-input {
        margin: 10px;
        border: 1px solid #858585;
        width: 94%;
        max-width: none;
    }

    .filter-panel {
        width: 100%;
        max-width: none;
        transform: none;
        z-index: 2;
        position: relative;
        left: 0;
        top: -1px;
        border-bottom: 1px solid #e3e3e3;
        display: block;
    }

    .filter-panel-body {
        display: none;
    }

    .filter-panel.open .filter-panel-body {
        display: block;
    }

    .filter-panel-body {
        max-height: none;
        padding: 10px;
    }

    .filter-panel-body>div {
        columns: 1;
        min-height: 0;
    }

    .filter-panel:before {
        display: none !important;
    }

    .filter-panel-header {
        display: none;
    }

    section.filter .filter-button svg {
        display: none;
    }

    .pagination button {
        font-size: 12px;
        min-width: 34px;
        padding: 0 12px;
        height: 34px;
    }

    .checkbox {
        font-size: 16px;
    }

    .ellipsis {
        width: auto;
        padding: 0 6px;
    }

    .filter-panel::after {
        display: block;
        content: "+";
        position: absolute;
        top: -53px;
        right: 12px;
        font-size: 30px;
        font-weight: 300;
    }

    .filter-panel.open::after {
        display: block;
        content: "–";
        position: absolute;
        top: -53px;
        right: 12px;
        font-size: 30px;
        font-weight: 300;
    }

    .home h2 {
        margin-bottom: 20px;
    }

    .container.library-header.collection {
        flex-direction: column;
        gap: 20px;
    }

    .library-header.collection select {
        margin-left: 0;
        margin-right: auto;
        text-align: left;
    }
}

#search-form { height:40px; }
