.datasheet-table {
    width: 100%;
    margin-bottom: 50px;
    position: relative;
    text-align: left;
    border-collapse: separate;
    border-width: 0px;
}
.datasheet-table td, .datasheet-table th {
    border-right: 0px;
}
.datasheet-table td {
    padding: 20px 14px;
    font-size: 18px;
    line-height: 24px;
    font-weight: 300;
}
.datasheet-table th {
    vertical-align: top;
    padding: 40px 18px 6px;
    font-size: 14px;
    line-height: 20px;
    background-color: #f2f2f2;
    position: sticky;
    top: 0;
    z-index: 2;
    border-collapse: separate;
    font-weight: 500;
}

.datasheet-table th, .datasheet-table td {
    border-left: 1px solid #707070;
    border-bottom: 1px solid #707070;
}

.datasheet-table th.downloads, .datasheet-table td.downloads {
    text-align: center;
    width: 140px;
}

.datasheet-table td.downloads {
    padding: 0;
    background-color: #f2f2f2;
}

.datasheet-table svg, .datasheet-table .fab {
    /*width: 70px;*/
    height: 70px;
}
.datasheet-table .fab {
    font-size: 26px;
    margin: 23px 0 0 0;
}
.datasheet-table a {
    width: 100%;
    display: block;
    text-align: center;
}

.datasheet-table .center {
    text-align: center;
}

.downloads .icon {
    border-bottom: 3px solid #ffc72c;
    position: relative;
    right: auto;
    bottom: auto;
    width: 28px;
    height: 54px;
    margin: 0 auto;
}
.downloads .icon svg, .downloads .icon i {
    transform: translateY(-5px);
    transition: transform .2s ease;
    color: #000;
}

.downloads .icon svg:hover, .downloads .icon i:hover {
    transform: translateY(0px);
    color: #000;
}

.downloads-mobile {
    border-left: 0px solid #707070 !important;
    padding: 24px !important;
}
.downloads-mobile i {
    font-size: 24px;
}

@media only screen and (min-width: 576px) {
    .downloads-mobile {
        display: none;
    }
}

@media only screen and (max-width: 575px) {
    .downloads {
        display: none;
    }
}


/* Mobile popup */


.downloads-popout {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.downloads-popout.active {
    display: block;
}

.downloads-popout__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.downloads-popout__body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2f2f2f;
    transform: translateY(100%);
    transition: 0.3s;
}
.downloads-popout__content {
    padding: 20px;
}

.downloads-popout.active .downloads-popout__body {
    transform: translateY(0);
}

.downloads-popout__header {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    color: #fff;
    font-size: 16px;
    line-height: 21px;
    border-bottom: 1px solid #707070;
    font-weight: 300;
}

.download-button {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
    padding: 14px 20px;
    width: 100%;
    max-width: none;
    background-color: #474747;
    color: #fff;
}

.download-button a {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.downloads-title {
    display: block;
    margin: 10px 0;
    font-weight: 400;
    color: #fff;
}

.no-scroll {
    overflow: hidden;
}

.downloads-popout-close {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    width: 36px;
    height: 36px;
    background-color: #ffc72c;
    cursor: pointer;
    color: #000;
}

.download-button__icon {
    width: 34px;
    height: 34px;
    border-bottom: 2px solid #ffc72c;
}
.download-button__icon i {
    font-size: 28px;
    color: #000;
}

.download-button__icon svg, .download-button__icon i {
    transform: translateY(-5px);
    transition: transform .2s ease;
}

.download-button:hover .download-button__icon svg, .download-button:hover .download-button__icon i {
    transform: translateY(0px);
}

.resources-filters {
    display: block;
    position: relative;
    z-index: 3;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    background-color: #2f2f2f;
}

.resources-filters > .row {
    display: flex;
    flex-wrap: wrap;
    max-width: 1230px;
    margin: 0 auto;
}

.display-flex {
    display: flex;
}

.resources-filters-col {
    position: relative;
}

.resources-filters__filter-text,
.listing-filters-mobile__filter-text {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding-top: 2px;
    font-size: 22px;
    line-height: 30px;
    font-weight: 400;
    color: #fff;
    cursor: pointer;
}

.listing-filters-mobile__filter-text svg {
    width: 10px;
    margin-left: 10px;
}

.resources-filters-toggle-hitbox {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 70px;
}

@media (min-width: 577px) {
    .resources-filters-col {
        padding: 15px 0;
    }

    .filters-categories-list.-resources {
        position: absolute;
        top: 100%;
        left: -15px;

        width: 340px;
        margin-top: 0;
        padding: 20px 30px 10px;

        background-color: #2f2f2f;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(-10px);
        transition: opacity .25s ease, transform .25s ease, visibility .25s ease;

        z-index: 999;
    }

    .resources-filters__filter-text .icon,
    .resources-filters__filter-text .listing-filters-mobile__clear-text {
        display: none;
    }

    .resources-filters-col:hover .filters-categories-list.-resources,
    .listing-filters-mobile__filter-text:hover + .filters-categories-list.-resources {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .listing-filters-mobile {
        display: block;
    }
    .resources-filters > .row {
        display: block;
    }
    .resources-filters {
        padding: 0;
    }
    .filters-categories-list.-resources {
        position: static;
        width: 100%;
        padding: 15px 0;
        
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        
        transform: translateY(-10px);
        transition: 0.25s;
        background: #2f2f2f;
    }
    
    .resources-filters-col.active .filters-categories-list.-resources {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
    .resources-filters__filter-text, .listing-filters-mobile__filter-text {
        max-height: 70px;
        width: 100%;
    }
    .listing-filters-mobile__filter-text {
        padding: 17px;
        display: inline-block;
        width: auto;
    }
    .js-clear-filters {
        padding: 17px;
    }
    .accordion-content {
        padding: 0 25px 25px 25px !important;
    }

}

.resources-filters .accordion ul {
    list-style: none;
    margin: 0;
}
.resources-filters .accordion label {
    color: #fff;
}
.resources-filters .accordion-heading {
    color: #fff;
    font-size: 14px;
    line-height: 21px;
    padding: 12px 50px 12px 30px;
}

.datasheet-wrapper {
    position: relative;
}
.datasheet-loader {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;

    border: 4px solid #ccc;
    border-top: 4px solid #000;
    border-radius: 50%;

    animation: spin 0.8s linear infinite;
    z-index: 10;
}
.datasheet-loader-overlay {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 10;
    width: 100%;
    height: 100%;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.js-clear-filters {
    margin-left: 30px;
}
