/******************************************
* Media Queries (Responsive Design)
*******************************************/
/*
WARNING! DO NOT EDIT THIS FILE!

To make it easy to update your theme, you should not edit the styles in this file. Instead
add your styles in Customizer > Additional CSS.

*/

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

    .inner-wrap {
        padding: 0 2%;
    }

    .adv img,
    .adv_side img,
    .adv_content img {
        max-width: 100%;
        height: auto;
    }

    .navbar-brand-wpz.left-align {
        text-align: center;
        float: none;
        max-width: 100%;
    }

    .adv {
        float: none;
        margin: 20px 0;
        text-align: center;
    }

    .prevnext .next_post_pag {
        display: none;
    }

    .prevnext .previous_post_pag {
        float: none;
        width: 100%;
    }
}

@media (min-width: 980px) {

    #menu-main-slide {
        display: none !important
    }

}

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

    #menu {
        display: none;
    }

    .slicknav_menu {
        display: block;
    }

    .header_social {
        float: none;
        text-align: left;
    }

    #navbar-top,
    #navbar-main {
        display: none
    }

    .navbar-toggle {
        display: block
    }

    .main-navbar {
        padding: 4px 0;
        min-height: 60px;
    }

    .slicknav_btn {
        padding: 16px 0;
    }

    .slides li h3 a {
        font-size: 36px !important;
    }

    .content-area.full-layout .recent-posts article.post,
    .content-area.full-layout .recent-posts .type-page {
        width: 48%;
        margin: 0 4% 30px 0;
    }

    .content-area.full-layout .recent-posts article:nth-of-type(3n+3) {
        margin-right: 4%;
    }

    .content-area.full-layout .recent-posts article:nth-of-type(2n+2) {
        margin-right: 0;
    }


    .foodica-index-search .sb-search-input {
        width: 66%;
    }

}


/* Tablet Portrait */
@media screen and (max-width: 768px) {

    .inner-wrap {
        padding: 0 4%;
    }

    h1 {
        font-size: 28px
    }

    h2 {
        font-size: 26px
    }

    h3 {
        font-size: 22px
    }

    h4 {
        font-size: 20px
    }

    .navbar-brand-wpz h2  {
        font-size: 60px !important;
        letter-spacing: 0;
    }

    .slicknav_btn {
        float: none;
        display: inline-block;
    }

    .slicknav_menu {
        text-align: center;
    }

    .slicknav_nav a {
        text-align: left;
    }

    #slider {
        height: 500px;
    }

    #slider .slide {
        height: 500px;
    }

    #slider .slide-background {
        width: 100%;
    }

    .slides li .slide-overlay {
        background: linear-gradient(to bottom,  rgba(0,0,0,0.1) 26%,rgba(0,0,0,0.55) 100%); /* W3C */
    }


    .slides li .slide-header {
        left: 0;
        width: 100%;
    }

    .slides li .slide-header p {
        display: none;
    }

    .slides li h3 a {
        font-size: 26px !important;
        color: #fff !important; }

    .slides li h3 a:hover {
        text-decoration: none;
        opacity: .9;
        color: #fff;
    }

    .slides li .entry-meta {
        color: #fff;
    }

    .slides li .entry-meta a {
        color: #fff;
        padding-bottom: 4px;
    }

    .slides li .entry-meta a:hover {
        color: #fff;
    }

    .slides li .cat-links a {
        color: #fff;
    }

    .slides li .cat-links a:hover {
        color: #fff;
        opacity: .7;
    }

    .slides li .cat-links:after {
        background: rgba(255,255,255,.5);
    }

    .slides .slide_button {
        margin: 30px 0 0;
    }

    .slides .slide_button a {
        color: #363940;
        background: #fff;
        border: none;

    }

    .slides .slide_button a:hover,
    .slides .slide_button a:active {
        color: #fff;
        background: #363940;
        border: none;
    }


    .carousel-slider .item {
        margin: 0 2% 0 0;
        width: 48%;

    }

    .carousel-slider .flickity-enabled .item {
        display: inline-block;
        margin: 0 2% 0 0;
        width: 49%;
    }


    .entry-title {
        font-size: 20px !important;
    }

    .recent-posts.list-view .post .entry-title {
        font-size: 26px !important;
    }

    .recent-posts .post.sticky .entry-title {
        font-size: 26px !important;
    }

    .page .site-main > article,
    .single .site-main > article {
        width: 100%;
        max-width: 100%;
        float: none;
    }

    .recent-posts {
        float: none;
        width: 100%;
        max-width: 100%;
    }


    /* Full Width Sticky */
    .content-area.full-layout .recent-posts .post.sticky .post-thumb {
        float: none;
        max-width: 100%;
        margin: 0 0 30px;
    }


    .content-area.full-layout .recent-posts .post.sticky .entry-title,
    .content-area.full-layout .recent-posts .post.sticky .entry-meta,
    .content-area.full-layout .recent-posts .post.sticky .cat-links,
    .content-area.full-layout .recent-posts .post.sticky .readmore_button {
        text-align: center;
    }


    .page h1.entry-title,
    .single h1.entry-title {
        font-size: 36px !important;
    }

    .entry-cover .entry-info h1.entry-title {
        margin-bottom: 0;
    }


    #respond .form_fields p {
        margin-bottom: 24px;
        width: 100%;
        float: none;
        padding-left: 0;
    }

    .form-allowed-tags {
        display: none
    }

    .content-area {
        width: 100%;
        float: none;
    }

    #sidebar,
    .front-page-layout-right-sidebar #sidebar,
    .front-page-layout-left-sidebar #sidebar {
        float: none;
        margin: 50px 0 0;
        width: 100%;
        max-width: 100%;
    }

    .front-page-layout-left-sidebar .site-main {
        display: flex;
        flex-direction: column;
    }

    .front-page-layout-left-sidebar .site-sidebar {
        order: 2;
    }

    .front-page-layout-left-sidebar .content-area {
        order: 1;
    }


    .woocommerce #sidebar {
        display: none;
    }

    .wpzoom-featured-cat h3 {
        font-size: 18px;
    }

    .widget .feature-posts-list li h3 {
        font-size: 16px;
    }

    .featured-list h4 {
        font-size: 16px;
    }


    .site-widgetized-section .widgets {
        width: 100%;
        margin: 0 auto;
    }

    .footer-widgets { display: block; }

    .footer-widgets .column {
        width: 100% !important;
        display: block;
        border: none;
    }

    .section-footer .zoom-instagram-widget .zoom-instagram-widget__items .zoom-instagram-widget__item img {
        max-width: 150px;
        height: auto;
    }


    /* Recipe Index */

    .foodica-index .post .entry-title {
        font-size: 16px !important;
    }


    /* Featured category widget */
    ul.wpz-featured-grid li .entry-title {
        font-size: 16px !important;
    }

}

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

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        float: none;
        width: 100%;
    }

    .recent-posts .post-thumb {
        max-width: 100%;
        float: none;
        margin: 0 0 30px;
    }

    #slider  {
        height: 400px;
    }

    #slider .slide  {
        height: 400px;
    }

    .recent-posts .post {
        width: 100%;
        margin-right: 0;
    }

    .recent-posts.list-view .post .post-thumb {
        width: 100%;
        float: none;
        margin: 0 0 20px;
    }


    .archive .recent-posts .post,
    .search .recent-posts .post {
        width: 100%;
        margin-right: 0;
    }


    .content-area.full-layout .recent-posts article.post,
    .content-area.full-layout .recent-posts .type-page {
        width: 100%;
        margin: 0 0 30px 0;
    }


    .content-area.full-layout .recent-posts article:nth-of-type(3n+3) {
        margin-right: 0;
    }


    .content-area.full-layout .recent-posts article:nth-of-type(2n+2) {
        margin-right: 0;
    }


    .archive .recent-posts .post:nth-child(2n+2),
    .search .recent-posts .post:nth-child(2n+2) {
        margin-right: 0;
    }

    .archive .recent-posts .post:nth-child(3n+3),
    .search .recent-posts .post:nth-child(3n+3) {
        margin-right: 0;
    }

    .col_arch  ul li {
        width: 100%;
        float: none;
        margin: 0 0 5px 0;
    }

    .entry-meta {
        font-size: 12px;
    }

    .page h1.entry-title,
    .single h1.entry-title {
        font-size: 28px !important;
    }

    /* by default there are 4 widgets */
    .site-widgetized-section .widgets .widget {
        width: 100%;
        margin-right: 0;
    }

    .site-widgetized-section .widgets .widget:last-child,
    .site-widgetized-section .widgets-3 .widget {
        width: 100%;
        margin-right: 0;
    }

    .site-widgetized-section .widgets-3 .widget:nth-child(2n + 2) {
        margin-right: 0;
    }

    .site-widgetized-section .widgets-2 .widget {
        width: 100%;
        margin-right: 0;
    }


    /* Navigation */
    div.navigation {
        font-size: 14px;
        margin: 15px 0;
    }

    div.navigation a {
        padding: 6px 10px;
        border: none;
    }

    div.navigation a:hover {
        background: none;
    }

    div.navigation span.current {
        padding: 6px 10px;
        color: #333;
        background: none;
    }

    div.navigation span.pages {
        margin-right: 15px;
        display: none;
    }

    div.navigation span.dots {
        color: #999;
        line-height: 100%;
        margin: 0 2px;
    }

    div.navigation .prev,
    div.navigation .next {
        position: absolute;
        padding: 8px 0;
        border: none;
        color: #666;
    }


    .carousel-slider .item {
        margin: 0;
        width: 100%;
    }

    .carousel-slider .flickity-enabled .item {
        margin: 0;
        width: 100%;
    }

    .site-info {
        font-size: 12px;
    }

    .sb-search {
        right: 2%;
    }


    .column-widgets .widget-column {
        width: 100%;
        margin-right: 0;
    }

    .foodica-index-search .sb-search-input {
        width: 64%;
    }

    .foodica-index-search {
        padding: 5%;
    }


    ul.wpz-featured-grid li,
    .featured-grid-2 ul.wpz-featured-grid li,
    .featured-grid-4 ul.wpz-featured-grid li,
    .featured-grid-8 ul.wpz-featured-grid li {
        width: 48%;
        margin-right: 4%;
    }


    ul.wpz-featured-grid li:nth-child(3n+3),
    .featured-grid-2 ul.wpz-featured-grid li:nth-child(3n+3),
    .featured-grid-4 ul.wpz-featured-grid li:nth-child(3n+3),
    .featured-grid-8 ul.wpz-featured-grid li:nth-child(3n+3) {
        margin-right: 4%;
    }


    .featured-grid-2 ul.wpz-featured-grid li:nth-child(2n+2),
    .featured-grid-4 ul.wpz-featured-grid li:nth-child(4n+4),
    .featured-grid-8 ul.wpz-featured-grid li:nth-child(4n+4),
    ul.wpz-featured-grid li:nth-child(2n+2) {
        margin-right: 0 !important;
    }

}


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

    .single .share a {
        display: block;
        max-width: 50%;
        margin: 0 auto 20px;
    }

    .prevnext .prevnext_title {
        max-width: 43%;
    }

    .foodica-index-search .sb-search-input {
        width: 57%;
    }

    .foodica-index-search .sb-search-submit {
        width: 28%;
    }

    .recipe_index_list_posts li h3 {
        font-size: 14px;
    }

    .foodica-index .post {
        width: 48%;
        margin: 0 4% 30px 0;
    }

    .foodica-index article:nth-of-type(3n+3) {
        margin-right: 4%;
    }

    .foodica-index article:nth-of-type(2n+2) {
        margin-right: 0;
    }
}