.resource-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    padding: 10px 0px;
    background-color: #000;
}
.resource-filter .filter-by {
    display: flex;
    position: relative;
    width: 100%;
}
.filter-by span {
    margin-right: 30px;
    font-weight: 400;
    color: #AFAFAF;
    font-size: 24px;
}

.filter-options {
    display: flex;
    gap: 30px;
}

.filter-group {
    position: relative;
}

.filter-group > a {
    color: #FFFFFF;
    cursor: pointer;
    text-decoration: none;
    font-size: 24px;
    font-weight: 400;
    font-family: inherit;
}
.filter-group > a:hover{
    color: #0085FF !important;
}
.filter-group > a.active{
    color: #0085FF !important;
}

.sub-category {
    transition: all .5s ease-in-out;
    transition-delay: 0.3s;
    height: 0px;
    overflow: hidden;
}
.sub-category.data {
    height: auto !important;
    overflow: unset !important;
    transition-delay: 0s;
}
.sub-category ul{
    list-style: none;
    display: flex;
    margin: 10px 0;
    gap: 8px;
}
.sub-category ul li{
    padding: 6px 20px;
    border: 1px solid #fff;
    border-radius: 50px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 400;
}
.sub-category ul li.active , .sub-category ul li:hover {
    background: #fff;
    color: #000;
}
.sub-category a {
    display: block;
    color: #fff;
    margin-bottom: 5px;
    cursor: pointer;
}

.sub-category a:hover {
    text-decoration: underline;
}

.reset-all { 
    color: #0085FF !important;
    cursor: pointer;
    text-decoration: none;
    position: absolute;
    right: 0;
    font-size: 14px;
    font-weight: 600;
    display: none;
}
.filter-group > a.active:after {
    content: '';
    background: url(https://emesent2024.kinsta.cloud/wp-content/uploads/2024/09/Group-1-7.svg);
    position: absolute;
    width: 15px;
    height: 15px;
    background-repeat: no-repeat;
    background-size: 15px 15px;
    top: 40%;
}

/* media query */

@media only screen and (max-width: 768px) {
    .resource-filter .filter-by {
        flex-direction: column;
    }
    .filter-options {
        flex-wrap: wrap;
        row-gap: 5px;
    }
    .sub-category ul {
        flex-wrap: wrap;
    }
}
body[class*="showing-popup-drawer-"]{
    overflow: scroll !important;
    margin-right: 0px !important;
}
#main-header:has(.search-toggle-open .search-toggle-icon svg.kadence-svg-icon.is-active) {
    background-color: rgba(3, 0, 1, 0.6);
}
#main-header:has(.search-toggle-open .search-toggle-icon svg.kadence-svg-icon.is-active) .header-button2{
	opacity: 0.3;
}
#main-header:has(.search-toggle-open .search-toggle-icon svg.kadence-svg-icon.is-active) img.custom-logo.svg-logo-image{
        filter: unset !important;
}
.search-container {
    display: flex;
    align-items: center;    
    justify-content: space-between;
    width: 100%;
    max-width: 45%;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 30px;
    padding: 0px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.search-container .search-form {
    position: relative;
    display: flex;
    width: 100%;
}
.search-input {
    width: 100%;
    border: none !important;
    outline: none;
    font-size: 16px;
    padding: 10px 30px !important;
    border-radius: 30px !important;
    background-color: transparent !important;
    color: #555 !important;
    box-shadow: none !important;
}

.search-input::placeholder {
    color: #aaa;
}

.search-button {
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    outline: none !important;
    box-shadow: unset !important;
    display: flex;
}

.search-icon {
    width: 24px;
    height: 24px;
    color: #007bff;
}