@font-face {
    font-family: 'MazzardHSemiBold';
    src: url('/areas/proshares/assets/fonts/MazzardH-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'MazzardHBold';
    src: url('/areas/proshares/assets/fonts/MazzardH-Bold.otf') format('opentype'); /* IE9 Compat Modes */
}

@font-face {
    font-family: 'MazzardHRegular';
    src: url('/areas/proshares/assets/fonts/MazzardH-Regular.ttf') format('truetype'); /* IE9 Compat Modes */
}

@font-face {
    font-family: 'MazzardHMedium';
    src: url('/areas/proshares/assets/fonts/MazzardH-Medium.otf') format('opentype'); /* IE9 Compat Modes */
}

.chart .header {
    font-family: 'MazzardHSemiBold';
    border-bottom: 22px solid #3756df;
    padding-bottom: 30px;
    font-size: 75px;
    font-weight: 600;
    line-height: 1.03;
    letter-spacing: -0.3px;
    color: #1D263A;
    margin-bottom: 3rem;
}

.chart .title {
    font-family: 'MazzardHSemiBold';
    margin-top: 0;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.3px;
    color: #1d263a;
    margin-bottom: 0;
}

.chart .text-row {
    position: relative;
    z-index: 1;
}

.chart .left-col {
    float: left;
    margin-bottom: 3rem;
}

.chart .right-col {
    text-align: right;
}

.chart .chart-box {
    position: relative;
}

.chart .desc {
    font-family: 'MazzardHMedium';
    font-size: 17px;
    line-height: 26px;
    color: #323232;
    margin-top: 24px;
    font-weight: 500;
    letter-spacing: normal;
    margin-bottom: 3rem;
}

.dual-chart .left-col {
    margin-bottom: 3rem;
}

/*DropDown CSS*/

.chart .dropbtn {
    background-color: transparent;
    color: #1d2639;
    padding: 16px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-weight: 600;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: transparent;
    background-image: url('/areas/proshares/assets/icons/dropdown.svg');
    background-repeat: no-repeat;
    background-position-x: 93%;
    background-position-y: 20px;
    margin-right: 2rem;
    padding-right: 1rem;
    width: 100%;
}

    .chart .dropbtn:before {
        /* content: ''; */
        background-color: #00FFFF;
        height: 40px;
        width: 40px;
        display: inline-block;
        position: absolute;
        top: 12px;
    }

.chart .dropdown {
    position: relative;
    display: inline-block;
}

.chart .dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    overflow: auto;
    padding: 0 5px;
    min-width: 150px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    margin-left: 12px;
    z-index: 1;
}

.chart .dropdown-btn {
    color: black;
    padding: 12px 16px;
    background: white;
    text-decoration: none;
    display: block;
    border: none;
    cursor: pointer;
    border-bottom: 1px solid #f1f1f1;
    width: 100%;
}

.chart .select {
    position: relative;
    margin-bottom: 15px;
    width: 175px;
}

    .chart .select .selectBtn {
        font-family: 'MazzardHSemiBold';
        font-size: 16px;
        padding: 10px;
        box-sizing: border-box;
        border-radius: 3px;
        width: 100%;
        cursor: pointer;
        position: relative;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background: #fff;
        text-align: left;
        padding-left: 12px;
        margin-top: 0;
    }

        .chart .select .selectBtn:after {
            content: "";
            position: absolute;
            right: 0;
            top: 5px;
            width: 36px;
            height: 36px;
            background: transparent;
            background-image: url('/areas/proshares/assets/icons/dropdown.svg');
            background-repeat: no-repeat;
            background-position: 50%;
            background-color: #00DEF3;
            transition: 0.2s ease;
        }

        .chart .select .selectBtn.toggle {
            border-radius: 3px 3px 0 0;
        }

            .chart .select .selectBtn.toggle:after {
                -webkit-transform: translateY(-50%) rotate(-135deg);
                transform: translateY(-50%) rotate(-135deg);
            }

    .chart .select .selectDropdown {
        position: absolute;
        top: 75%;
        width: 100%;
        border-radius: 0 0 3px 3px;
        overflow: hidden;
        border-bottom: 1px solid;
        border-top: 1px solid #eee;
        z-index: 1;
        background: #fff;
        -webkit-transform: scale(1, 0);
        transform: scale(1, 0);
        -webkit-transform-origin: top center;
        transform-origin: top center;
        visibility: hidden;
        transition: 0.2s ease;
        box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
        text-align: left;
        padding-bottom: .25rem;
    }

        .chart .select .selectDropdown .option {
            font-family: 'MazzardHSemiBold';
            font-size: 16px;
            padding: 10px;
            box-sizing: border-box;
            cursor: pointer;
            border-bottom: 1px solid #eee;
            padding: 20px 0;
        }

            .chart .select .selectDropdown .option:last-child {
                border-bottom: none;
            }

        .chart .select .selectDropdown.toggle {
            visibility: visible;
            -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
        }

.chart .dropdown.open .selectBtn:after {
    background-image: url('/areas/proshares/assets/icons/dropdown-open.svg');
}

.chart .progress-bar {
    display: none;
    position: absolute;
    z-index: 111;
    top: 0%;
    height: 100%;
    width: 100%;
    background: white;
}

.chart progress {
    position: relative;
    top: 50%;
}

.chart .show {
    display: block;
}

@media screen and (max-width: 480px) {
    .chart .header {
        padding-bottom: 10px;
        border-bottom-width: 10px;
        font-size: 44px;
        margin-bottom: 32px;
        font-weight: 600;
    }

    .chart .left-col {
        margin-bottom: 2rem;
    }

    .chart .right-col {
        float: left;
        margin-bottom: 8px;
    }

    .chart .desc {
        margin-top: 16px;
    }
}


/********** REGULATORY LANDING PAGE CHANGES **************/
.regulatory-documents-landing .fund-screener-table .table th {
    padding: 0 1rem 0.25rem 0;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
}

.regulatory-documents-landing .filter .table thead tr.class-heading-row th.bg-color {
    position: relative;
    padding-bottom: 12px;
    padding-top: 24px;
}

.regulatory-documents-landing .filter .table thead tr.class-heading-row th.bg-color:after {
    content: '';
    position: absolute;
    width: 92%;
    left: 0;
    bottom: 0;
    content: '';
    background: #e6eaf7;
    height: 2px;
}

.regulatory-documents-landing .regulatory-documents-table .search-container.filter-group {
    width: 33%;
    position: relative;
}

.regulatory-documents-landing .filter .table thead th:first-child {
    text-align: left;
}

.regulatory-documents-landing .search-container .search-input::placeholder {
    color: rgba(65, 85, 128, 1);
    font-weight: 400;
}

.regulatory-documents-landing .filter .table thead th:not(:nth-child(1)):after {
    content: '';
}

.regulatory-documents-landing .fund-screener-table thead th:not(:nth-child(1)),
.regulatory-documents-landing .fund-screener-table thead tr.class-heading-row th {
    pointer-events: none;
    position: relative;
}

.regulatory-documents-landing .fund-screener-table thead tr.class-heading-row th,
.regulatory-documents-landing .fund-screener-table thead tr.class-heading-row th:after {
    border: 0;
}

.regulatory-documents-landing .filter .table thead th {
    border-bottom: 3px solid #323232;
    padding: 8px 6px;
    font-family: 'MazzardHRegular';
    text-align: center;
}

.regulatory-documents-landing .filter .table thead tr:last-child th {
    padding-top: 12px;
}

.regulatory-documents-landing .fund-screener-table .table td a {
    font-weight: 600;
    line-height: 24px;
    font-size: 14px;
}

.regulatory-documents-landing .filter .fund-screener-table th::first-child,
.regulatory-documents-landing .filter .fund-screener-table td::first-child {
    width: 25%;
}

.regulatory-documents-landing .filter .fund-screener-table th,
.regulatory-documents-landing .filter .fund-screener-table td {
    text-wrap: wrap;
    width: 10%;
    padding: 1.5rem 0 0.25rem 0;
}

.regulatory-documents-landing .fund-screener-table .table td.no-document {
    color: #74788D;
    font-size: 14px;
}

.regulatory-documents-landing .filter .fund-screener-table .table td img.download-icon {
    height: 24px;
}

/*.regulatory-documents-landing .filter .fund-screener-table .bg-color {
    background-color: #F5F7FA;
}*/

/* Landing Page Mobile CSS*/

.regulatory-documents-table__mobile {
    margin-top: 1rem;
}

.regulatory-documents-table__mobile .accordion-custom:first-child .accordion-custom__label {
    border-top: 1px solid #E6EAF7;
}

.regulatory-documents-table__mobile-row {
    border: 1px solid #ececec;
    margin-bottom: 0.5rem;
}

.regulatory-documents-table__mobile-header {
    background-color: #fff;
    cursor: pointer;
}

.regulatory-documents-table__ticker {
    font-family: "MazzardHBold", sans-serif;
    color: #1081f2;
}

.regulatory-documents-table__fund-name {
    color: #1D2639;
    font-family: 'MazzardHSemiBold', sans-serif;
    font-weight: 600;
}

.regulatory-documents-table__chevron img {
    transition: transform 0.2s ease;
}

.regulatory-documents-table__chevron img.rotated {
    transform: rotate(180deg);
}

.regulatory-documents-table.filter .filter-group-input {
    font-size: .875rem;
    line-height: 1;
    text-transform: initial;
    font-family: "MazzardHRegular", sans-serif;
}

/* Accordian Custom Css */
.accordion-custom__toggle {
    display: flex;
    position: relative;
    width: 100%;
    text-align: left;
    color: #1081f2;
    align-items: center;
    justify-content: space-between;
    padding: space(3) space(4);
}

.accordion-custom__toggle .button-label {
    flex: 1;
    text-align: left;
}

.accordion-custom__toggle:after {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    margin-left: space(2);
    background-image: url('/areas/proshares/assets/icons/chevron-down.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.25s ease-out;
}

.accordion-custom__toggle[aria-expanded="true"]:after {
    background-image: url('/areas/proshares/assets/icons/chevron-up.png');
}

.accordion-custom__toggle .chevron-icon {
    display: none;
}

.accordion-custom__label {
    display: block;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: normal;
    width: 100%;
    border-bottom: 1px solid #DADADA;
    padding-top: 16px;
    padding-bottom: 16px;
    padding-right: 16px;
}

.accordion-custom__content {
    border-top: 1px solid #e6eaf7;
    background-color: #f5f7fa;
    padding: 14px;
    font-size: 14px;
    font-weight: 100;
}

.accordion-custom__content .download-icon {
    color: #1d2632;
}

.regulatory-documents-table__mobile .accordion-custom__content .no-document {
    color: #74788D;
    font-size: 14px;
}

.accordion-custom__content .content-item {
    display: flex;
    align-items: center;
    margin-bottom: space(2);
}

.accordion-custom__content .content-item .file-icon {
    margin-right: space(2);
}

.accordion-custom__content .content-item .content-text {
    flex: 1;
    border-top: 1px solid #e6eaf7;
}

.mobile-accordion-content .document-links .document-link.active,
.mobile-accordion-content .document-links .external-link.active {
    background-color: #1081F2;
    color: #ffffff;
}

.mobile-accordion-content .document-links .document-link,
.mobile-accordion-content .document-links .external-link {
    color: #323232;
}

.accordion-custom__content strong {
    font-weight: 400;
    line-height: 21px;
}

.accordion-custom__content .d-flex {
    padding-top: 4px;
    padding-bottom: 4px;
}


.mobile-accordion .mobile-accordion-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;
    margin: 0;
    font-size: 1.25rem;
    line-height: 30px;
    font-weight: 600;
    border-bottom: 1px solid #e0e0e0;
    letter-spacing: 0.5px;
}

.mobile-accordion-content .document-links .document-link,
.mobile-accordion-content .document-links .external-link {
    display: flex;
    align-items: center;
    padding: 1rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 1rem;
    font-weight: 600;
    color: #1D2639;
}

.mobile-accordion-content .document-label {
    font-size: 14px;
    line-height: 21px;
    font-family: 'MazzardHSemiBold';
}


/*Regulatory Document Viewer Design */

.regulatory-documents-viewer {
    width: 100%;
}

.regulatory-documents-viewer .header-row {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    justify-content: space-between;
    gap: 1rem;
}

.regulatory-documents-viewer .header-row .proshares-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 2rem;
}

.regulatory-documents-viewer .header-row .header-left {
    display: flex;
    align-items: center;
}

.regulatory-documents-viewer .header-row .fund-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.regulatory-documents-viewer .header-row .ticker {
    font-size: 1rem;
    font-weight: 100;
    margin-right: 1rem;
    color: #666;
}

.regulatory-documents-viewer .header-row .fund-name {
    font-size: 2rem;
    font-weight: 600;
    color: #1D2639;
}

.regulatory-documents-viewer .documents-layout {
    display: flex;
    width: 100%;
    height: 700px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.regulatory-documents-viewer .sidebar {
    width: 20%;
    min-width: 200px;
    background-color: #fff;
    border-right: 1px solid #e0e0e0;
}

.regulatory-documents-viewer .sidebar .sidebar-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 1rem;
    margin: 0;
    font-size: 20px;
    line-height: 30px;
    font-weight: 600;
    border-bottom: 1px solid #e0e0e0;
    letter-spacing: 0.5px;
}

.regulatory-documents-viewer .sidebar .chevron-icon {
    width: 20px;
    height: 20px;
    color: #000;
}

.regulatory-documents-viewer .sidebar .document-links .document-link,
.regulatory-documents-viewer .sidebar .document-links .external-link {
    display: flex;
    align-items: center;
    padding: 10.5px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 1.2rem;
    font-weight: 600;
}

.regulatory-documents-viewer .sidebar .document-links .document-link:last-child,
.regulatory-documents-viewer .sidebar .document-links .external-link {
    border-bottom: none;
}

.regulatory-documents-viewer .sidebar .document-links .document-link:hover,
.regulatory-documents-viewer .sidebar .document-links .external-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.regulatory-documents-viewer .sidebar .document-links .document-link.active,
.regulatory-documents-viewer .sidebar .document-links .external-link.active {
    background-color: #1081F2;
    color: #ffffff;
    font-weight: 600;
}

.regulatory-documents-viewer .sidebar .document-links .document-link,
.regulatory-documents-viewer .sidebar .document-links .external-link {
    color: #323232;
    font-size: 14px;
    line-height: 21px;
}

.regulatory-documents-viewer .sidebar .document-links .document-link .document-label,
.regulatory-documents-viewer .sidebar .document-links .external-link .document-label {
    font-size: 14px;
    line-height: 21px;
}

.back-button-desktop {
    display: block;
    padding: 10.5px 15px;
}

.back-button-mobile {
    display: none;
}

.regulatory-documents-viewer .document-viewer .document-iframe {
    flex: 1;
    width: 100%;
    height: 100%;
    border: none;
}

.regulatory-documents-viewer .document-viewer .no-document-selected {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fafafa;
}

.regulatory-documents-viewer .document-viewer .no-document-selected p {
    color: #666;
    font-size: 1rem;
}

.regulatory-documents-viewer .document-viewer {
    flex: 1;
    transition: flex 0.3s;
}

.regulatory-documents-viewer .mobile-accordion {
    display: none;
    /* Hide by default, show only on mobile */
}

.regulatory-documents-viewer .vertical-line {
    display: none;
}

.regulatory-documents-landing .filter .fund-screener-table td {
    vertical-align: middle;
    padding: 1rem 0;
}


@media (min-width: 769px) {
    .regulatory-documents-viewer .vertical-line {
        display: block;
        width: 1px;
        height: 52px;
        background-color: #DADADA;
        margin: 0 24px;
    }
}

@media (max-width: 768px) {

    .regulatory-documents-landing .regulatory-documents-table .search-container.filter-group {
        width: 100% !important;
    }

    .regulatory-documents-viewer .header-row .header-left {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        text-align: left;
        align-items: flex-start;
    }


    .regulatory-documents-viewer .mobile-accordion {
        display: block;
        /* Show accordion on mobile */
    }

    .regulatory-documents-viewer .sidebar {
        display: none;
        /* Hide sidebar on mobile */
    }

    .regulatory-documents-viewer .header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .regulatory-documents-viewer .header-row .proshares-title {
        margin-bottom: 0.5rem;
    }

    .regulatory-documents-viewer .documents-layout {
        flex-direction: column;
    }

    .regulatory-documents-viewer .sidebar {
        width: 100%;
        min-width: 100%;
    }

    .regulatory-documents-viewer .document-viewer {
        aspect-ratio: 16/9;
    }

    .back-button-desktop {
        display: none;
    }

    .back-button-mobile {
        display: block;
    }
}
