/*
    Bootstrap grid media query
*/

/* 0 Important Media Query  */
/* 1 Default Media Query */
/* 1.1 Large devices Desktops (≥1200px) */
/* 1.2 Medium devices Desktops (≥992px) */
/* 1.3 Small devices Tablets (≥768px) */
/* 1.4 Extra small devices Phones (<768px) */
/* 2 Custom Media Query */



/* 0 Important Media Query  */
@media (min-width: 992px) {
    .container {
        width: 992px;
    }
}
										   
/* 1 Default Media Query */
/* 1.1 Large devices Desktops (≥1200px) */
@media (min-width: 1200px) {
    .container {
        width: 1200px;
    }
    #primary .item {
        margin-bottom: 30px;
    }
    #primary .item:nth-last-child(-n+3) {
        /*margin-bottom: 0;*/
    } 
}


/* 1.2 Medium devices Desktops (≥992px) */
@media (min-width: 992px) and (max-width: 1199px) {
    
    #primary .item {
        margin-bottom: 30px;
    }
    #primary .item:nth-last-child(-n+3) {
        margin-bottom: 0;
    } 

    /* Grid v1 */
    body.page-template-page_card-template .kt-sweety-grid-v1 {
        padding: 25px 15px 15px 15px;
    }
    body.page-template-page_card-template .kt-sweety-grid-v1 .avatar {
        height: 40px;
        width: 40px;
    }
    
    body.page-template-page_card-template .entry-header .entry-title {
        font-size: 16px;
    }
}


/* 1.3 Small devices Tablets (≥768px) */
@media (min-width: 768px) and (max-width: 991px) {
    #primary .item {
        margin-bottom: 30px;
    }
    
    /* Footer */
    .footer-widget .widget-area {
        margin-bottom: 50px;
    }
    .contact-widget-wrapper {
        background-size: contain;
        background-position: left center;
        background-repeat: no-repeat;
    }
}


/* 1.4 Extra small devices Phones (<768px) */
@media (max-width: 767px) {
    #primary .item {
        margin-bottom: 30px;
    }
    #primary .item:last-child {
        margin-bottom: 0;
    }
    #primary .item > article {
        max-width: 400px;
        margin-right: auto;
        margin-left: auto;
    }
    .kt-sweety-header-wrapper .kt-sweety-header-v1 .kt-sweety-menu-icons .mobile_icon_wrapper {
        opacity: 1;
        display: block;
    }
    .kt-sweety-header-wrapper .kt-sweety-header-v1 .kt-sweety-menu-icons .searchform.header-search {
        right: 78px;
    }
    /* Footer */
    .footer-widget .widget-area {
        margin-bottom: 50px;
    }
    .contact-widget-wrapper {
        background-size: contain;
        background-position: left center;
        background-repeat: no-repeat;
    }
    .copyright-text,
    .footer-social {
        text-align: center;
    }
    .copyright-text {
        margin-top: 15px;
    }
    .footer-social {
        margin-bottom: 15px;
    }
    
    /* Comment */
    .comment-content figure.gravatar {
        display: none;
    }
    .comment-content .comment-inner-content {
        padding-left: 0;
        padding-bottom: 20px;
        padding-top: 20px;
    }
    .child-comments {
        margin-left: 60px;
    }
    
    /* Blog Classic */
    article.blog-classic .entry-footer {
        display: block;
    }
    article.blog-classic .entry-footer > span {
        margin-right: 0;
        display: block;
        margin-bottom: 10px;
    }
    
    /* Single Post with Sidebar */
    .single-entry-content.with-sidebar {
        float: none;
        margin-left: auto;
        margin-right: auto;
    }
    .sidebar-single-wrap {
        margin-right: auto;
        margin-left: auto;
        float: none;
        padding-left: 0;
    }
}





/* 2 Custom Media Query */
@media ( max-width: 991px ) {
    .null-instagram-feed .instagram-pics {
        display: block;
    }
    .null-instagram-feed .instagram-pics li {
        width: 25%;
        display: inline-block;
    }
}
@media (min-width: 768px) {
    .main-navigation ul ul {
        display: block;
        margin: 0;
        position: absolute;
        z-index: 99999;
    }
}

@media ( max-width: 600px ) {
    
    /* Quote*/
    article.blog-classic blockquote {
        padding: 0 15px;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    article.blog-classic blockquote > p{
        line-height: normal;
    }
    article.blog-classic blockquote:before, article.blog-classic blockquote:after {
        font-size: 50px;        
        line-height: 50px;
    }
    /* Author */
    .kt-sweety-author .author-box {
        padding-left: 0;
    }
    .kt-sweety-author .author-box .author-image {
        position: relative;
        text-align: center;
    }
    .kt-sweety-author .author-box .author-image .avatar {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }
    .kt-sweety-author .author-box .author-name {
        text-align: center;
    }
    .kt-sweety-author .author-box .author-info p {
        text-align: justify;
    }
    /* Comment */
    .comment-content figure.gravatar {
        display: none;
    }
    .comment-content .comment-inner-content {
        padding-left: 0;
        padding-bottom: 15px;
        padding-top: 15px;
    }
    .child-comments {
        margin-left: 20px;
    }
}