﻿/* ================================ */
/* By Atypic - www.atypic.be
/* ================================ */

/* LG */
@media (min-width:1200px) {
}

@media (min-width:991px) {
    body.home #group-news article:not(:first-child):not(:last-child) {
        margin-bottom: 20px;
    }
}

/* MD */
@media only screen and (max-width : 1199px) {
    .news.news-featured {
    }
        .news.news-featured img {
            width: 100%;
            max-width: none;
        }

    #home-slider-bxslider > li > div {
        top: 37%;
        left: 50%;
        max-width: none;
        width: 500px;
        text-align: center;
        margin-left: -250px;
    }

    #header-menu {
        font-size: .9em;
    }

        #header-menu > li a {
            padding-left: 5px;
            padding-right: 5px;
        }
}

@media only screen and (max-width : 1024px) {

    #header + div, #header + section {
        margin-top: 0;
    }

    #home-slider {
        padding-top: 0;
    }

    #header + #main {
        padding-top: 0;
    }

    .align-article {
        margin-top: 0;
    }
}

/* SM */
@media only screen and (max-width : 991px) {

    .table-container table th,
    .table-container table td {
        min-width: 150px;
    }

    #contact-data {
        margin-left: 0;
    }
    #footer .fa {
        font-size: 1.5rem;
        float: none;
    }

    body.home #group-news article::after {
        display: none !important;
    }

    body.home #group-news article:first-child .news {
        margin-bottom: 20px;
    }

    #squares .col-xs-12 {
        margin-bottom: 20px;
    }
}

/* XS */
@media only screen and (max-width : 767px) {

    body.home .news {
        margin-bottom: 0 !important;
    }

    .news .read-more {
        text-align: left;
    }

    .news .news-excerpt {
        float: none;
        width: 100%;
    }

    .news.news-featured {
        margin-bottom: 0;
    }

    .news .read-more {
        position: static;
    }

    #group-news article .news.news-featured a {
        color: #333;
    }

    #powered-by-atypic {
        text-align: center;
    }
    
    #breadcrumbs {
        display: none;
    }

    h1, .h1 {
        font-size: 2.8rem;
    }
}

/* Custom */
@media only screen and (max-width : 550px) {
   
    #side-menu {
        position: static;
        transform: none;
        display: inline-block;
    }
}
