﻿/*#region ================================MEDIA CSS================================ */
/* custome responsive */

.open-mobile-menu {
    padding: 26px 0px;
    cursor: pointer;
    display: none;
}

.mobile-menu {
    display: none;
}


.fancybox-content {
    width: 800px !important;
    max-width: calc(100% - 100px) !important;
    min-height: 300px !important;
}

@media screen and (max-height: 800px) {
    .content {
        margin-top: -4vh;
    }
}

@media screen and (max-width: 1200px) {
    .ref-container {
        text-align: center;
    }

    .project-groups {
        text-align: center !important;
    }

    .logos-container {
        text-align: center;
    }

    .gallery-container {
        text-align: center;
    }

    .news-container {
        text-align: center;
    }

    .header ul.main-menu > li a {
        padding: 10px 15px 5px 15px;
    }
}

@media screen and (max-width: 1100px) {
    .main-menu {
        display: none;
    }

    .open-mobile-menu {
        display: block;
    }
}

@media screen and (max-width: 992px) {


    .display-1 {
        font-size: 3rem;
    }

    .lead {
        font-size: 1.5rem;
    }

    .footer {
        text-align: center;
    }

    .num-scroller-item {
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 850px) {
    .fancybox-content {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media screen and (max-width: 767px) {
    .left-content-menu {
        display: none;
    }
}

@media screen and (max-width: 550px) {
    .display-1 {
        font-size: 2.1rem;
    }

    .fa-6x {
        font-size: 4em;
    }

    .scroll-down a span {
        width: 30px;
        height: 30px;
        border-left: 6px solid #fff;
        border-bottom: 6px solid #fff;
    }

    body *.h-100 {
        height: auto !important;
    }

    .container.main-screen {
        margin-top: 20vh;
    }

    .scroll-down {
        display: none;
    }

    .num-scroller-item {
        max-width: calc(100% -20px);
        width: calc(100% -20px);
        margin-bottom: 25px;
    }

    .container-title {
        text-align: center;
    }

    .open-mobile-menu {
        padding: 20px 0 0 0;
    }

    .pt-14 {
        padding-top: 95px !important;
    }

    .h-74 {
        margin-top: 115px !important;
    }

    .fa-lg {
        font-size: 1em;
    }

    .header .top-row {
        padding-top: 5px;
        padding-bottom: 5px;
    }
}

@media screen and (max-width: 420px) {
    h1 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1.4rem;
        line-height: 1.2;
    }

    .h-40 {
        height: 45vh !important;
    }

    .gallery-container .gallery-item {
        width: calc(100% - 50px);
    }

    .gallery-item .bg-cover {
        width: 100%;
    }

    .gallery-item-img {
        width: 100%;
    }

    #ContentGallerySlider .owl-next {
        right: 0 !important;
    }

    #ContentGallerySlider .owl-prev {
        left: 0 !important;
    }

    .main-screen .Pad20{
        padding-top:0;
    }
}

@media screen and (max-width: 380px) {
    .news-container .news-item {
        width: calc(100% - 30px) !important;
    }
}


@media screen and (max-width: 377px) {
    img-logo {
        width: 160px;
    }

    .top-row ul li {
        padding-left: 5px;
        padding-right: 5px;
    }

    .ref-container .ref-item {
        width: calc(100% - 30px);
    }

        .ref-container .ref-item .ref-item-img {
            width: 100%;
        }

    .container.main-screen {
        margin-top: 25vh;
    }

    .display-1 {
        font-size: 1.7rem;
    }

    .lead {
        font-size: 1.4rem;
        font-weight: 300;
        line-height: 1.2;
    }

    .border-line {
        width: 100%;
    }

    .h-40 {
        height: 48vh !important;
    }
}

@media screen and (max-width: 350px) {
    .container.main-screen {
        margin-top: 30vh;
    }

    h1 {
        font-size: 1.6rem;
    }

    .lead {
        font-size: 1.2rem;
        line-height: 1.2;
    }
    .open-mobile-menu{
        padding: 15px 0 0 0; 
    }
}
