/* Custom Styling */

@media only screen and (min-width: 1025px) {
    .elementor-nav-menu .sub-arrow {
        display:none;
    }
}

/* Navigation */
@media only screen and (max-width: 1024px) {
    .elementor-nav-menu__align-center nav.elementor-nav-menu--dropdown > ul {
        width: calc( 50% - 30px );
        margin-left: auto;
        margin-right: 30px;
        background: #fff;
        padding:0 11px;
    }
    
    .elementor-nav-menu__container.elementor-nav-menu--dropdown {
        background-color:transparent !important;
        z-index: -1!important;
        margin-top:0px !important;
        top:28px!important;
    }
    .elementor-nav-menu--dropdown a{
        justify-content:center !important;
    }
    .elementor-nav-menu .sub-arrow i.fa {
        transform:rotate(-90deg);
        font-size:20px;
    }
    .elementor-nav-menu--dropdown a.highlighted .sub-arrow i.fa {
        transform:none;
    }
    .top-navigation ul.elementor-nav-menu > li:after {
        display: none;
    }
    .elementor-nav-menu--dropdown li:not(:last-child) {
        border-bottom-width:2px!important;
    }

    /* Sub Nav Active */
    .elementor-nav-menu--dropdown { padding:15px 0 !important; }
    .elementor-nav-menu--dropdown a.highlighted {
        border-bottom:2px solid #93CA15;
    }
    ul.sub-menu.elementor-nav-menu--dropdown li {
        border-bottom:0 !important;
    }
    ul.sub-menu.elementor-nav-menu--dropdown li a {
        padding:2px 0 !important;
        border-left:0;
    }
    ul.sub-menu.elementor-nav-menu--dropdown li a:focus {
        background:transparent!important;
    }

}

@media only screen and (max-width: 900px) {
    /* Main Wrapper */
    .main-wrap { padding-left:25px; padding-right:25px; }

    /* Recipes */
    .swiper-slider .swiper-slide { width:100%; }
}

@media (hover: hover) and (pointer: fine) {
  a:hover { color: red; }
}

@media only screen and (max-width: 767px) {

    /* Main Wrapper */
    .main-wrap { padding-left:0; padding-right:0; }

    .page-content { overflow:hidden; }
    .elementor-nav-menu--dropdown { padding:5px 0 !important; }
    nav.elementor-nav-menu--dropdown { height:calc(100vh - 74px); }
   
   /* Category Page */
   .fyh-container {
       padding:0 30px;
   } 
   .category-filter .search input {
       width:100%;
   }
   .category-filter .search {
       margin-top:10px;
   }

   /* Recipes */
   .recipes-list .recipes-item { margin-bottom:30px; }
   .recipes-filter { padding:10px 0 30px; }
   .recipes-filter .search-box { width:100%; }
   .recipes-filter ul li { margin-bottom:10px; }
   .select-filter { width:49%; float:left; margin-right:2%; }
   .filter-wrap ul li:last-child { margin-right:0; }

   /* Recipe - Details */
   .elementor-swiper-button-prev { left:-20px!important; }
   .elementor-swiper-button-next { right:-20px!important; }

   /* Slider */
   .swiper-slider .recipes-slide { height:93%; }
   .swiper-slider .swiper-slide { width:100%; height:440px!important; }
   .swiper-slider .recipes-slide .featured-image { height:235px; }
   .swiper-slider .recipes-slide h3 { font-size:28px; line-height: 30px; margin-bottom: 10px; margin-top:0; }
   .swiper-slider .recipes-slide .recipes-slide-text { padding:35px 0; }
   .swiper-slider .swiper-container { padding-left:45px; padding-right:45px; }

   /* Slider Arrows */
   .swiper-slider .swiper-button-next { right:25px; }
   .swiper-slider .swiper-button-prev { left:25px; }

   .fyh-product-categories h2 { margin-bottom:0; }
   .fyh-product-categories .sub-category h1 { line-height:20px; }
   .fyh-product-categories .category-prod-list { padding-top:10px; }
   .fyh-product-categories .category-prod-list .product-cat-image { margin-bottom:0; }

   /* Blog Posts */
   .post-list .post-item { margin-bottom:30px; }

   /* Single Product */
   .single-products .elementor-widget-theme-post-featured-image { overflow:hidden; margin-top:20px; }
   .single-products .elementor-widget-theme-post-featured-image img { width:90%; }

    /* Author Name */
   .recipes-author-name { text-align:center; }
   .recipes-author-name .elementor-col-50 { float:none!important; display:inline-block; }
   .recipes-author-name .elementor-col-50:last-child { padding-left:0; }
}

/* Override elementor Tab on mobile & desktop to match the design */
body .elementor-tabs .elementor-tabs-wrapper { display:block;!important; }
body .elementor-tab-mobile-title { display:none!important; }

/* Elementor - Hide & Show Element */
[data-elementor-device-mode=desktop] .elementor-edit-area-active .fyh-more-products.elementor-hidden-desktop,
[data-elementor-device-mode=mobile] .elementor-edit-area-active .fyh-more-products.elementor-hidden-phone,
[data-elementor-device-mode=tablet] .elementor-edit-area-active .fyh-more-products.elementor-hidden-tablet,
[data-elementor-device-mode=desktop] .elementor-edit-area-active .fyh-more-products-slider.elementor-hidden-desktop,
[data-elementor-device-mode=mobile] .elementor-edit-area-active .fyh-more-products-slider.elementor-hidden-phone,
[data-elementor-device-mode=tablet] .elementor-edit-area-active .fyh-more-products-slider.elementor-hidden-tablet,
[data-elementor-device-mode=desktop] .elementor-edit-area-active .fyh-image.elementor-hidden-desktop, 
[data-elementor-device-mode=mobile] .elementor-edit-area-active .fyh-image.elementor-hidden-phone, 
[data-elementor-device-mode=tablet] .elementor-edit-area-active .fyh-image.elementor-hidden-tablet {
    display:none!important;
}