@import url(https://fonts.bunny.net/css?family=inter:100,200,300,400,500,600,700,800,900);

.search-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    background: black;
    color: white;
    border: 1px solid #333;
    padding: 20px;
    z-index: 9999;
    border-radius: 8px;
}
.search-popup input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background: #111;
    color: white;
    border: 1px solid #444;
    border-radius: 4px;
}

.search-item {
    border-bottom: 1px solid #333;
    padding:10px;
}

.highlight-term {
    background: #BC002D;
    color: white;
    padding: 0 2px;
    border-radius: 2px;
}
.close-popup{
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
    cursor: pointer;
}
/*.search-item:nth-child(odd){*/
/*    background:#1e1e1e;*/
/*}*/
.search-item h2,
.search-item p{
    margin-bottom:5px;
}
.search-item p{
    font-size:20px;
}
.search-item a {
    display: block;
    margin-bottom: 10px;
}
.search-item h2 a{
    color: #fff;
    font-size:14px;
}
#popup-search-results {
    max-height:50vh;
    overflow-y: auto;
    position:relative;
}
.show-all-link-wrap {
    text-align:left;
    margin-top: 10px;
}
#show-all-link a{
    color: #BC002D;
    font-weight: bold;
    text-decoration: underline;
}

.search-results-container {
    max-width:1140px;
    margin: 0 auto;
    margin-bottom: 80px;
}
@media(max-width:1186px){
    .search-results-container {
        max-width: 1040px;
        padding: 0 20px;
    }
}
@media(max-width:1078px){
    .search-results-container {
        max-width:874px;
        padding: 0 20px;
    }
}
@media(max-width:1024px){
    .search-results-container {
        max-width:100%;
        padding: 0 30px;
    }
}
.elementor-pagination .page-numbers:not(:first-child) {
    margin-left: calc(10px / 2);
}
.elementor-pagination .page-numbers:not(:last-child) {
    margin-right: calc(10px / 2);
}

.search-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

#popup-search-input {
    width: 100%;
    padding-right: 40px; /* make space for spinner */
    box-sizing: border-box;
}

#mobile-popup-search-input {
    background: #1b1b1b;
    color: #fff;
}

/* Spinner styling */
.spinner {
    position: absolute;
    right: 10px;
    top: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-top-color: var(--e-global-color-primary, #0073aa);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    transform: translateY(-50%);
    pointer-events: none;
}

.search-page-container .search-item:hover {
    border: 1px solid #BC002D;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

.mega-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background: #000;
    padding: 20px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.mega-column {
    flex: 1 1 200px;
    min-width: 180px;
}
.mega-column h4 {
    font-size: 15px;
    font-weight: 700;
    color: #d6336c; /* pink-red title color like image */
    margin-bottom: 10px;
}
.mega-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mega-column ul li {
    margin-bottom: 6px;
}
.mega-column h4 a, .mega-column h4 {
    color: #d6336c;
}
.mega-column ul li a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: color .2s;
}
.mega-column ul li a:hover {
    color: #d6336c;
}
@media(max-width:768px){
    .mega-menu {
        flex-direction: column;
        gap: 20px;
    }
    .mega-column {
        width: 100%;
    }
}

/* search popup */
.search-page-container .search-item{
    background:#fff !important;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    padding: 15px 10px 10px 15px;
    border-radius: 10px;
    box-shadow: 0px 2px 20px #cccccc3b;
}
.highlight-term{
    padding: 0 5px;
    border-radius: 5px;
}
.live-search-container {
    background: #000;
}
.live-search-container .search-item p {
    color: #fff;
}
.show-all-link-wrap {
    padding: 10px;
}
.no-search {
    color: #fff;
    padding: 10px;
}

.bf-mobile-lang-dropdown {
    position: relative;
    display: inline-block;
}

.bf-lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.bf-lang-btn img {
    width: 28px;
    height: auto;
}

.bf-lang-dropdown-menu {
    display: none; /* hide by default */
    position: absolute;
    top: 106%;
    left: 0;
    background: #bc002d;
    border: 1px solid #ffffff00;
    padding: 5px 0;
    margin: 0;
    list-style: none;
    min-width: 50px;
    z-index: 999;
    border-radius: 5px;
}

/* menu items */
.bf-lang-dropdown-menu li {
    padding: 5px 10px;
}

.bf-lang-dropdown-menu li a img {
    width: 24px;
    height: auto;
}

/* show menu only when active class is added */
.bf-mobile-lang-dropdown.active .bf-lang-dropdown-menu {
    display: block;
}

.menu-icon svg,
svg.elementor-menu-toggle__icon--close.e-font-icon-svg.e-eicon-close{
    background:#bc002d;
    padding: 5px;
    border-radius: 5px;
}

.bf-menu-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 6px;
}

.bf-menu-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}
.mailpoet_form .parsley-errors-list {
    font-weight: 600;
}
   @media(max-width:1024px){
            .bf-lang-dropdown-menu{
                left: 0px;
                min-width: 50px;
            }
            .bf-lang-dropdown-menu li {
                padding: 0px;
                display: flex;
                justify-content: center;
                align-items: center;
            }
        }

@media(max-width:1080px){
    .elementor-location-header .e-con-inner,
    .elementor-location-footer .e-con-inner{
        padding: 0 30px !important;
    }
    .elementor-location-header .e-con-inner .menu-item a{
        padding:10px 0 !important;
    }
}
@media(max-width:992px){

    .main-menu h2 a {
        font-size:35px !important;
    }
    .main-menu{
        max-width:30% !important;
    }
    .mobile-menu{
        width:100% !important;
    }
    .elementor-location-header .e-con-inner .menu-item a{
        margin:0 10px !important;
    }
    .search-icon .elementor-widget-container{
        background:transparent !important;
        border:none !important;
    }
}
@media(max-width:768px){
    .menu-icon svg,
    svg.elementor-menu-toggle__icon--close.e-font-icon-svg.e-eicon-close{
        background:#bc002d;
        padding: 5px;
        border-radius: 5px;
        width:0.8em !important;
        height:0.8em !important;
    }
    /*svg.elementor-menu-toggle__icon--close.e-font-icon-svg.e-eicon-close{*/
    /*    width: 1.5em !important;*/
    /*    height: 1.5em !important;*/
    /*}*/
    .search-wrap{
        width: 100%;
        margin-top:10px;

    }
    body .elementor-nav-menu.sm-vertical .menu-item{
        background:#e7e7e7;
    }
    body .elementor-nav-menu.sm-vertical .menu-item a{
        font-size: 18px;
        justify-content: space-between;
        border-bottom: 2px solid #ffffff;

    }

    body .dialog-message  .elementor-nav-menu ul{
        z-index:9999 !important;
    }
    body .dialog-message nav.elementor-nav-menu--dropdown.elementor-nav-menu__container {
        width: 100% !important;
        position: relative !important;
        left: inherit !important;
        margin-top: 0 !important;
    }

    body #elementor-popup-modal-10003 .dialog-widget-content{
        margin: 70px 0px 0px 0px;
    }
    .search-input-wrapper input{
        border:1px solid #ccc;
    }
    body#elementor-popup-modal-10003 .dialog-message {
        height: 100vh;
    }
    .dialog-message ul.sub-menu{
        width:100% !important;
    }
}