
@media screen and (min-width: 992px) and (max-width: 1145px) {
    #primary-menu ul li > a {padding: 39px 6px; padding-right: 2px;}
    #header.full-header #primary-menu > ul {
        padding-right: 5px;
        margin-right: 0;
    }
    
}

@media screen and (min-width: 992px) and (max-width: 1450px) {
    .sticky-header #primary-menu > ul > li > a i {display: none !important;}
}

@media screen and (min-width: 1140px) and (max-width: 1400px) {
    #primary-menu ul li > a {font-size: 10px;}
}

@media screen and (min-width: 992px) and (max-width: 1140px) {
    #primary-menu ul li > a {font-size: 9px;}
}

@media screen and (max-width: 767px) {
    a.footer-logo svg {width: 100% !important;}
    .home-content .col-md-3 {display: none;}
    
}

@media screen and (max-width: 600px) {
    #slider a.button {
        max-width: 100%;
        white-space: pre-line;
        height: auto;
        line-height: initial;
        text-align: center !important;
    }
    #slider a.button span {font-size: 14px;}
}

@media screen and (min-width: 600px) {
    a.footer-logo svg {width: 100% !important;}
}

@media (min-width: 991px) {
    #header #primary-menu ul li > a i {right: 0;}
}

@media screen and (max-width: 992px) { 
    #content01 #tiles_2 .portfolio-desc {bottom: 0; display: block !important;}
}


/*------------------------------------------ Slider section fix ------------------------------------------------------*/

@media screen and (max-width: 500px) {
    #slider .swiper-slide:nth-child a.button {
        display: block;
        white-space: pre-line;
        line-height: initial;
        text-align: center !important;
    }
}

@media screen and (min-width: 500px) and (max-width: 767px) {
    #slider .swiper-slide:nth-child(4) a.button, #slider .swiper-slide:nth-child(6) a.button {
        display: block;
        white-space: pre-line;
        line-height: initial;
        text-align: center !important;
    }
}

@media screen and (min-width: 770px) and (max-width: 990px) {
    #slider .slider-caption h2 {font-size: 6vw;}
}

@media screen and (min-width: 576px) and (max-width: 767px) {
    #slider .swiper-slide a.button {
        font-size: 12px;
    }
}

@media screen and (min-width: 576px) and (max-width: 990px) {
    .slider-caption.slider-caption-center {
        max-width: 70%;
    }
}

@media screen and (max-width: 990px) {
    #tiles_2 .portfolio-desc {bottom: 0; display: block !important;}
}

.fc-scroller.fc-day-grid-container {
    height: auto !important;
}