@charset "utf-8";

/* Qualification Download — page-13 */

.downloads-page {
    --downloads-accent: #f0b429;
    --downloads-accent-dark: #d99a12
}

.downloads-page main {
    background: #fff
}

.downloads-hero {
    position: relative;
    background: #eee;
    overflow: hidden
}

.downloads-hero__media {
    aspect-ratio: 1920 / 650;
    max-height: 650px
}

.downloads-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.downloads-crumb {
    padding: 14px 20px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
    background: #fff;
    border-bottom: 1px solid #eee
}

.downloads-crumb a {
    color: var(--text-muted)
}

.downloads-crumb a:hover {
    color: var(--color)
}

.downloads-panel {
    padding: 28px 20px 64px
}

.downloads-filter {
    margin-bottom: 24px
}

.downloads-filter__row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 0;
    margin-bottom: 12px;
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden
}

.downloads-filter__row:last-child {
    margin-bottom: 0
}

.downloads-filter__label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 12px;
    font-size: 14px;
    font-weight: var(--fontbold6);
    color: #fff;
    background: var(--downloads-accent);
    text-align: center
}

.downloads-filter__options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    padding: 12px 16px
}

.downloads-filter__btn {
    padding: 0;
    border: none;
    background: none;
    font-size: 14px;
    color: var(--fontcolor);
    cursor: pointer;
    transition: color .2s linear
}

.downloads-filter__btn:hover,
.downloads-filter__btn.is-active {
    color: var(--color);
    font-weight: var(--fontbold6)
}

.downloads-search {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 0;
    margin-bottom: 28px;
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden
}

.downloads-search__label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 12px;
    font-size: 14px;
    font-weight: var(--fontbold6);
    color: #fff;
    background: var(--downloads-accent)
}

.downloads-search__form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 20px
}

.downloads-search__input {
    flex: 1 1 280px;
    max-width: 520px;
    height: 42px;
    padding: 0 14px;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #fff
}

.downloads-search__submit {
    min-width: 100px;
    height: 42px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: var(--fontbold6);
    color: #fff;
    background: var(--color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background .2s linear
}

.downloads-search__submit:hover {
    background: var(--color-hover)
}

.downloads-table-wrap {
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 4px
}

.downloads-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: 14px
}

.downloads-table thead th {
    padding: 14px 16px;
    font-weight: var(--fontbold6);
    color: #fff;
    text-align: left;
    background: var(--downloads-accent);
    white-space: nowrap
}

.downloads-table__actions-head {
    text-align: center;
    width: 110px
}

.downloads-table__row {
    border-bottom: 1px solid #eee
}

.downloads-table__row:last-child {
    border-bottom: none
}

.downloads-table__row.is-hidden {
    display: none
}

.downloads-table__row.is-filtered-out {
    display: none
}

.downloads-table tbody td {
    padding: 16px;
    color: var(--fontcolor);
    vertical-align: middle;
    line-height: 1.5
}

.downloads-table__name {
    font-weight: var(--fontbold5)
}

.downloads-table__actions {
    text-align: center;
    white-space: nowrap
}

.downloads-table__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0 4px;
    color: var(--color);
    border: 1px solid #d1d5db;
    border-radius: 50%;
    transition: background .2s linear, border-color .2s linear, color .2s linear
}

.downloads-table__icon:hover {
    background: var(--color);
    border-color: var(--color);
    color: #fff
}

.downloads-table__na {
    color: var(--text-muted)
}

.downloads-empty {
    margin: 0;
    padding: 32px 16px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted)
}

.downloads-more {
    display: flex;
    justify-content: center;
    margin-top: 28px
}

.downloads-more__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    color: var(--color);
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 50%;
    cursor: pointer;
    transition: background .2s linear, border-color .2s linear, color .2s linear
}

.downloads-more__btn:hover:not(:disabled) {
    background: var(--color);
    border-color: var(--color);
    color: #fff
}

.downloads-more__btn:disabled {
    opacity: .4;
    cursor: not-allowed
}

@media (max-width: 768px) {
    .downloads-filter__row,
    .downloads-search {
        grid-template-columns: 1fr
    }

    .downloads-filter__label,
    .downloads-search__label {
        justify-content: flex-start;
        padding-left: 16px
    }

    .downloads-search__form {
        justify-content: stretch
    }

    .downloads-search__input {
        max-width: none;
        width: 100%
    }
}
