/******************************************
* 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;
    }

    .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%;
    }

}


@media screen and (min-width: 769px) {

    .slide-style-2 .slides li .slide-overlay {
        background: none;
    }

    #slider.slide-style-2  .slide-background {
        width: 62%;
    }

    .slide-style-2 .slides li .slide-header {
        width: 34%;
    }



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

    .slide-style-3 .slides li .slide-overlay {
        background: -moz-linear-gradient(left,  rgba(239,244,247,0) 27%, rgba(0, 0, 0, 0.25) 63%); /* FF3.6+ */
        background: -webkit-linear-gradient(left,  rgba(239,244,247,0) 27%, rgba(0, 0, 0, 0.25) 63%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(left,  rgba(239,244,247,0) 27%, rgba(0, 0, 0, 0.25) 63%); /* Opera 11.10+ */
        background: -ms-linear-gradient(left,  rgba(239,244,247,0) 27%, rgba(0, 0, 0, 0.25) 63%); /* IE10+ */
        background: linear-gradient(to right,  rgba(239,244,247,0) 27%, rgba(0, 0, 0, 0.25) 63%); /* W3C */
    }

    .slide-style-3 .slides li h3 a {
        color: #fff;
    }

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

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

    .slide-style-3 .slides li .entry-meta a {
        color: #fff;
    }

    .slide-style-3 .slides li .cat-links:after {
        background: rgba(255, 255, 255, 0.44);
    }

    .slide-style-3 .slides .slide_button a {
        color: #363940;
        background: #fff;
    }

    .slide-style-3 .slides .slide_button a:hover,
    .slide-style-3 .slides .slide_button a:active {
        background: #363940;
        color: #fff;
    }

}


/* 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 h1  {
        font-size: 60px;
        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 {
        /* IE9 SVG, needs conditional override of 'filter' to 'none' */
        background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIyNiUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMCIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjMDAwMDAwIiBzdG9wLW9wYWNpdHk9IjAuNzUiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==);
        background: -moz-linear-gradient(top,  rgba(0,0,0,0) 26%, rgba(0,0,0,0.75) 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(26%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.75))); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top,  rgba(0,0,0,0.1) 26%,rgba(0,0,0,0.55) 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top,  rgba(0,0,0,0.1) 26%,rgba(0,0,0,0.55) 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top,  rgba(0,0,0,0.1) 26%,rgba(0,0,0,0.55) 100%); /* IE10+ */
        background: linear-gradient(to bottom,  rgba(0,0,0,0.1) 26%,rgba(0,0,0,0.55) 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#bf000000',GradientType=0 ); /* IE6-8 */
    }


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

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

    .slides li h3 a {
        font-size: 26px;
        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; }

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

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


    .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;
    }

    .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 {
        float: none;
        margin: 50px 0 0;
        width: 100%;
        max-width: 100%;
    }

    .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 */

    .food-index-main .content-area {
        width: 100%;
    }

    .food-index-main #sidebar {
        width: 100%;
    }

    .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; }

    /* 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;
    }
}