
.main-container{
    max-width: 1290px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}
.main-heading-and-breadcrumbs{
    padding-top: 40px;
    padding-bottom: 40px;
    width: 100%;
    text-align: center;
}
.main-heading-and-breadcrumbs h1{
    text-align: center;
    margin: 0px;
    padding-bottom: 8px;
}
.breadcrumbs-of-custom{
    text-align: center;
}
.breadcrumbs-of-custom a{
    color: var(--e-global-color-1b5daa9) !important;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    line-height: var(--e-global-typography-text-line-height);
}
.breadcrumbs-of-custom a:hover{
    color: var(--e-global-color-primary) !important;
}
.breadcrumbs-of-custom .slash-breadcrumbs{
    margin: 0px 12px 0px 12px;
    color: #E2E0DB;
}
.flex-div-main{
    padding-bottom: 60px;
    gap: 30px;
    display: flex;
}
.total-count-and-filter{
    margin-bottom: 30px;
}
.all-div{
    width: 100%;
}
.past_papers-flex-div{
    column-gap: var(--thim-ekits-course-column-gap, 30px);
    display: grid;
    grid-template-columns: var(--thim-ekits-course-columns, repeat(1, 1fr));
    row-gap: var(--thim-ekits-course-row-gap, 30px);
}
.past_paper{
    max-width: 100%;
    width: 100%;
    --margin-left: auto;
    --margin-right: auto;
    --display: flex;
    --gap: 0px 0px;
    --row-gap: 0px;
    --column-gap: 0px;
    display: flex;
    flex-direction: row;
    border-radius: 8px;
}
.thumbnail-pastpaper{
    /* max-height: 200px; */
    position: relative;
    width: 40%;
}
.thumbnail-pastpaper img{
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}
.past_paper_details{
    border-color: var(--e-global-color-84367fb);
    border-width: 1px 1px 1px 0px;
    border-style: solid;
    display: flex;
    gap: 0px 0px;
    padding: 10px 15px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    flex-direction: column;
    width: 60%;
}
.past_paper_details h5{
    line-height: 0.7em;
}
.Year-div{
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6em;
    color: var(--e-global-color-accent);
    transition: color 0.3s;
    padding: 4px 8px 4px 8px;
    border-radius: 4px 4px 4px 4px;
    background-color: var(--e-global-color-5f782af);
    position: absolute;
    left: 12px;
    top: 12px;
}
.question-type-main-div{
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin: 0px;
    padding: 0px;
    position: relative;
}
.quiestion-type{
    padding: 4px 8px;
    border-radius: 4px;
    background-color: #F1F2F8;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6em;
    color: var(--e-global-color-accent);
    width: max-content;
    text-transform: capitalize;
}
.filter-div{
    max-width: 25%;
    width: 100%;
    margin: 0px;
    padding: 0px;
}
.main-heading-filter{
    margin-bottom: 12px;
    font-size: var(--thim-font-h3-font-size);
    font-family: var(--thim-font-title-font-family);
    color: var(--thim-font-title-color);
    font-weight: var(--thim-font-title-variant);
}
.first-filter{
    margin-bottom: 40px;
}
.filter-itself {
    line-height: 3.5rem;
    border-bottom: 1px solid var(--thim-border-color, #eee);
    gap: 8px;
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.filter-itself p{
    margin-bottom: 0px;
}
.filter-itself input{
    margin: 0px;
    border-radius: 2px;
    border-color: var(--thim-font-body-color);
}
.filter-itself input:checked{
    border-color: #098ce9;
}
.count-in-texonmy{
    color: var(--color-placeholder);
}
.term-name {
    max-width: 270px;
    width: 100%;
    font-weight: var(--thim-font-body-variant);
    margin: 0px;
}
.filter-itself input[type=checkbox]:checked~label{
    color: #098ce9;
}
.term-name:hover{
    color: #098ce9;
}
.pdf-url{
    background-color: #098ce9;
    padding: 12px 24px;
    color: white !important;
    transition: all .3s;
    border-radius: 3px;
    text-align: center;
    font-size: 15px;
    line-height: 1;
    display: block;
}
.mark-scheme{
    margin-top: 20px;
    margin-bottom: 10px;
}
.past_paper{
    position: relative;
    overflow-y: hidden;
}
.hover-div{
    /* color:#F1F2F8; */
    border-color: var(--e-global-color-84367fb);
    padding: 30px;
    background-color: #F1F2F8;
    position: absolute;
    top: 100%;
    border-radius: 8px;
    min-height: 90.4%;
    /* max-height: 90.4%; */
    height: 100%;
    /* display: none; */
    transition: top 0.5s;
    /* transform: translateY(20px); */
}
/* .past_paper:hover .hover-div{
    top: 10px;
}
.hover-div h5{
    margin-top: 15px;
    margin-bottom: 15px;
}
.hover-div .quiestion-type{
    background-color: white;
} */
.video_breakdown_button{
    margin-top: 6px;
}
.short-description{
    margin-top: 0px;
}
.cover-img-past{
    max-height: 199px;
    height: 100%;
    width: 100%;
}
.flex-div-main-bread{
    display: flex;
    align-items: center;
}
.filter-img{
    padding: 8px 8px 8px 8px;
    border-radius: 8px 8px 8px 8px;
    width: 40px;
    height: 40px;
    color: var(--e-global-color-5f782af);
    background-color: #DFEFFF;
    display: none;
}
.mobile-filters-div{
    padding: 15px 15px 15px 15px;
    margin: 0px 0px 0px 0px;
    height: 100%;
    transition: background .3s, border .3s, border-radius .3s, box-shadow .3s, transform var(--e-transform-transition-duration, .4s);
    max-width: 100%;
    transition: 0.3s;
    transform: translate3d(100%, 0, 0);
    position: fixed !important;
    right: 0;
    top: 0;
    z-index: 99999;
    width: 300px;
    height: 100vh;
    background-color: #fff;
    transition: 0.3s;
    display: block;
    overflow-y: auto;
    border: none !important;
    border-radius: 0 !important;
}
.pagination span{
    margin-right: calc(10px / 2);
    margin-left: calc(10px / 2);
    padding: 10px 15px 10px 15px;
    border-style: none;
    border-radius: 50% 50% 50% 50%;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
    cursor: pointer;
}
.pagination span.selected{
    color: var(--e-global-color-accent);
    background-color: var(--e-global-color-ec35f56);
}
.light-white-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5); /* Light white color */
    z-index: 9999; /* Make sure it's above the content */
    pointer-events: none; /* This ensures the overlay itself is not clickable */
}

/* Optional: Make the underlying content unclickable when the overlay is active */
.flex-div-main.light-white-overlay-active {
    pointer-events: none; /* Prevent interaction with the content beneath */
}
.price-div{
    position: absolute;
    right: 0px;
}
@media(max-width:1290px){
    .flex-div-main,.flex-div-main-bread{
        padding-left: 20px;
        padding-right: 20px;
    }
}
@media(max-width:1024px){
    /* .past_papers-flex-div{
        --thim-ekits-course-columns: repeat(2, 1fr);
    }
    .past_paper{
        max-width: 342.75px;
        width: 100%;
    } */
}
@media(max-width:912px){
    .filter-div{
        display: none;
    }
    .past_paper{
        max-width: 100%;
    }
    .main-heading-and-breadcrumbs h1{
        text-align: left;
    }
    .breadcrumbs-of-custom{
        text-align: left;
    }
    .main-heading-and-breadcrumbs{
        width: 100%;
        max-width: 100%;
    }
    /* .mobile-filters-div{
        transform: none;
    } */
    .filter-heading{
        display: flex;
        width: 100%;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--thim-border-color);
        font-weight: var(--thim-font-title-variant);
        font-size: var(--thim-font-h3-font-size);
        margin: 0;
        color: var(--thim-font-title-color);
        font-family: var(--thim-font-title-font-family);
        align-items: center;
        justify-content: space-between;
    }
    .custom-widget-my{
        padding: 20px 20px 16px 20px;
        background-color: var(--e-global-color-5f782af);
        transition: background .3s, border .3s, border-radius .3s, box-shadow .3s, transform var(--e-transform-transition-duration, .4s);
    }
    .custom-widget-my .elementor-icon-wrapper{
        text-align: center;
    }
    .custom-widget-my .elementor-icon-wrapper .elementor-icon{
        color: var(--e-global-color-accent);
        border-color: var(--e-global-color-accent);
        font-size: 20px;
    }
    .fliter-words{
        margin: 0px;
        font-size: 26px;
        /* padding-bottom: 16px;
        border-bottom: 1px solid var(--thim-border-color);
        font-weight: var(--thim-font-title-variant); */
        display: block;
    }
    .mobile-filter-div{
        display: block;
        width: 100%;
        max-width: 100%;
    }
    .mobile-filter-div .first-filter{
        padding-bottom: 10px;
        margin-bottom: 0px;
        padding-top: 16px;
        border-bottom : 1px solid var(--thim-border-color, #eee);
    }
    .mobile-filter-div .main-heading-filter{
        font-size: var(--thim-font-h5-font-size);
        margin-bottom: 12px;
    }
    .mobile-filter-div .filter-itself{
        border-bottom: 0px;
    }
    .mobile-filters-div-open::after{
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.9);
        content: "";
        -webkit-transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s;
        transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s;
        z-index: 10;
    }
    .filter-img{
        display: block;
    }
}
@media(max-width: 767px){
    .past_papers-flex-div{
        --thim-ekits-course-columns: repeat(1, 1fr);
        --thim-ekits-course-row-gap: 20px;
    }
    .all-div{
        width: 100%;
    }
    .cover-img-past{
        max-height: unset;
    }
    .past_paper{
        flex-direction: column;
    }
    .thumbnail-pastpaper,.past_paper_details{
        width: 100%;
    }
    .past_paper_details{
        border-width: 0px 1px 1px 1px;
        border-top-right-radius: 0px;
        border-bottom-left-radius: 8px;
        padding: 16px;
    }
    .thumbnail-pastpaper img{
        border-bottom-right-radius: 8px;
        border-bottom-left-radius: 0px;
    }
    .past_paper_details h5{
        line-height: 1em;
    }

}
