/*
responsive
*/

@media only screen and (max-width: 1200px) {
    .wrap,
    .hide-slider .featured_boxes,
    .wide-slider .featured_boxes,
    .wide-carousel .featured_boxes {
        padding-right: 20px;
        padding-left: 20px;
        width: 100%;
    }
    .header-ads {
     max-width: 628px;
    }
}


/* Tablets - Small Desktops */
@media only screen and (max-width: 1024px) {
    .site-content .content-area,
    .site-content .widget-area,
    .site-main {
        float: none;
        margin: 0 auto !important;
        position: inherit;
        width: 100%;
    }
    .site-content .widget-area {
        max-width: 600px;
    }

    #site-navigation {
        margin-right: 0;
    }
    .header-brand {
        width: 100%;
    }

    .header-brand,
    .header-ads {
        float: none !important;
        width: 100% !important;
        max-width:100% !important;
    }
    .header-ads {
        padding: 10px 0;
    }
    .site-branding-container {
        text-align: center;
    }
}

@media screen and (max-width: 850px) {
    .main-navigation,
    .header-search-wrap,
    nav .search {        
        display: none;
    }

   .lateral-instagram-enabled .mobile-nav .insta-icon {
        line-height: 58px;
        display: block;
        padding: 0 23px;
        display: block;
        float: left;
        font-size: 18px;
        padding-right: 10px;
    }
    .menu-toggle {
        background: rgb(0, 0, 0);
        background: rgba(0, 0, 0, 0);
        border: medium none;
        box-shadow: none;
        display: block;
        font-size: 14px;
    }
    .mobile-nav .search-form {
        display: block;
    }
    .menu-toggle:hover,
    .menu-toggle:focus {
        background-color: transparent;
        border: none;
        box-shadow: none;
        outline: 0;
    }
    .menu-toggle:before {
        color: #333;
        content: "\f0c9";
        line-height: 40px;
        padding-right: 5px;
        width: 40px;
    }
    .toggled:before {
        content: "\f00d";
    }

    /* Mobile Search*/
    .mobile-nav .search-form:before{
        color: #c0d1db;
        content: "\f002";
        font-size: 16px;
        font-style: normal;
        font-variant: normal;
        font-weight: normal;
        line-height: 35px;
        position: absolute;
        right: 10px;
        text-transform: none;
        top: 8px;
    }

    .mobile-nav .search-form {
        position: absolute;
        right: 10px;
        top: 0;
        line-height: 53px;
    }

    .mobile-nav .search-field {
        border: medium none !important;
    }

    .mobile-nav {
        background-color: #fff;
        position: relative;
        text-align: left;
    }

    .mobile-nav li:hover > a,
    .mobile-nav li.focus > a,
    .mobile-nav ul ul a:hover,
    .mobile-nav ul ul a.focus,
    .mobile-nav .current_page_item > a,
    .mobile-nav .current-menu-item > a,
    .mobile-nav .current_page_item > a:hover,
    .mobile-nav .current-menu-item > a:hover,
    .mobile-nav .current-menu-ancestor > a {
        color: #fff;
    }
    .mobile-nav li ul {
        margin: 0;
    }
    .mobile-nav li a {
        border-bottom: 1px solid #e8e8e8;
        color: #1e1e1e;
        display: block;
        font-size: 14px;
        line-height: 21px;
        margin-left: 0;
        padding: 12px 13px 11px 17px;
    }
    .mobile-nav .sub-menu a {
        font-size: 13px;
        line-height: 19px;
        padding: 9px 8px 9px 36px;
    }
    .mobile-nav .sub-menu .sub-menu a {
        padding-left: 55px;
    }
    .td-link-element-after {
        position: relative;
    }
    .td-icon-menu-down {
        bottom: 0;
        cursor: pointer;
        float: right;
        font-size: 24px;
        padding: 10px;
        position: absolute;
        right: 15px;
        top: 0;
        transition: all 0.1s ease-in-out 0s;
    }
    .mobile-nav .sub-menu .td-icon-menu-down {
        font-size: 19px;
        padding-top: 11px;
    }
    .td-icon-menu-down:after {
        content: "\f107";
    }
    .xactive {
        display: block!important;
    }
    .main-navigation-container > div {
        display: none;
    }
    
    .wide-carousel .text-containert {
        width: 360px;
    }
    .top-footer .widget-area {
        float: none;
        width: 100%;
        max-width:600px;
        margin:0 auto;
    }

    .top-footer .widget-area.second,
    .top-footer .widget-area.third {
        padding-top: 1.875rem;

    }

    .featured_boxes ul li,
    .featured_boxes ul li:last-child {
        display: block;
        width: 100%;
        float: none;
        margin-bottom: 20px;
        margin-right: 0;
        max-width: 740px;
        margin:0 auto 20px;
    }

    .featured_boxes ul li:last-child {
        margin-bottom: 0;
    }
    
}

@media only screen and (max-width: 768px) {
    /*Layout setting*/
    .site-content .content-area,
    .site-content .widget-area,
    .site-main {
        width: 100%;
    }
    .main-slider-item {
        height: 460px;
    }
    .text-containert {
        width: 380px;
    }
    .post-share {
        display: none !important;
    }

    .classic .post-share {
        display: block !important;
    }
    .the-post .post-share {
        display: table !important;
    }
    /* Post list */
    .post-list .entry-content-post,
    .post-list .entry-content-attachment {
        display: block;
        padding: 0;
    }
    .post-list .entry-content-attachment {
        overflow: hidden;
        width: 100%;
        height: 100%;
    }
    .post-list .entry-content-attachment img {
        margin: -50px 0 -120px;
        width: 100%;
        padding: 0;
        max-height: inherit;
        max-width: 100%;
        border-radius: 0;
    }

    ul.classic-grid-layout > li,
    .grid-layout {
        float: none;
        margin-right: 0 !important;
        width: 100%;
    }

    .grid-layout {
        margin-left: 0 !important;
    }

    ul.classic-grid-layout > li > article,
    .grid-layout {
        min-height: 0 !important;
        padding-bottom: 25px;
    }

    .bottom-instagram .instagram-pics li {
    width: 33.3333%;
    }

    .bottom-instagram .instagram-pics li:nth-child(3n+1) {
    clear: both;
    }

}

/*@media only screen and (max-width: 768px) {}
*/
@media only screen and (max-width: 480px) {
    .wrap,
    .hide-slider .featured_boxes,
    .wide-slider .featured_boxes,
    .wide-carousel .featured_boxes {
        overflow: hidden;
        padding: 5px;
    }
    .respo-more {
        display: inline;
    }
    .site-branding {
        padding: 10px 0;
    }
    .text-containert {
        width: 100% !important;
        position: absolute;
        bottom: 0;
    }
    .main-slider-more {
        display: none;
    }
    .format-quote .entry-header,
    .format-link .entry-header,
    .personal-head {
        display: none;
    }
    .main-head {
        background-color: inherit;
        height: auto;
    }
    .main-navigation {
        margin: 0;
    }
    .site-logo,
    .site-logo img {
        max-height: inherit;
    }
    .related-posts li {
        float: none;
        margin-bottom: 10px;
        margin-right: 0;
        width: 100%;
    }
    .post-author .author-content {
        overflow: inherit;
    }
    .post-author .author-content h5 {
        display: inline;
    }
    .format-link .entry-content-post a {
        font-size: 18px;
    }
    .big-slider .text-containert,
    .small-slider .text-containert,
    .big-slider .featured-content,
    .small-slider .featured-content {
        position: inherit;
    }

    .big-slider .featured-area .slick-nav,
    .small-slider .featured-area .slick-nav {
        top:10%;
    }
}