/*********  THEME OVERRIDES   *********/

/* write your custom CSS here  */
.mobile-menu-contact {
    bottom: 80px;
    transform: translate(0);
    left: 20%;
}
.current>a {
    color: #07bacb !important;
}
#mobile-menu-btns .current>a {
    color: #686869 !important;
}
.container {
    min-width: 300px;
}
.slick-lightbox-slick-img {
    max-width: 100% !important;
    max-height: 100% !important;
}
.slider-image {
    min-width: 300px;
}
.services-wrapper p {
    padding-top: 30px;
}
.benefits-section {
    min-width: 300px;
}
.image-container {
    min-width: 90px;
}
.image-construim {
    background-image: url(../images/construim_hale_metalice.jpg);
}
.benefits-section {
    margin-top: 100px;
    margin-bottom: 80px;
    padding-top: 70px;
}
.home-page-portfolio {
    margin: 0.2em auto;
}
.detalii-data {
    line-height: initial;
}
.portfolio-description h3 {
    font-size: 25px;
    padding-top: 25px;
    padding-bottom: 25px;
}
.top-header .contact-section-background {
    border-bottom: 48px solid  #3d4d5c;
}
.home-page-slider-wrapper .slider-desc>h2 {
    line-height: initial;
}
.banner-section h1, .banner-text h1 {
    line-height: 50px;
}
.banner-text p {
    margin-top: 0 !important;
}
.hale-text {
    margin-top: 10px !important;
}
.banner-section-portfolio, .banner-section {
    position: relative;
    max-height: 336px;
    overflow: hidden;
    margin-bottom: 25px;
}
.banner-section-portfolio img, .banner-section img {
    height: auto;
    width: 100%;
    min-width: 870px;
}
.banner-section-tall img {
    width: 100%;
}
.banner-text-portfolio, .banner-text {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-22%,-50%);
    text-align: center;
    color: #fff;
}
.portfolio-project-title {
    padding: 0 15px 40px 15px;
}
.portfolio-project-title h6 {
    padding-top: 4px;
    padding-bottom: 6px;
    font-size: 0.95em;
}
.portfolio-project-title span {
    position: absolute;
    font-size: 0.8em;
    transform: translate(0, -15px);
}
.banner-section-project {
    position: relative;
    height: 150px;
    overflow: hidden;
    margin-bottom: 25px;
    background-color: #3d5772;
}
.banner-section-project img {
    height: auto;
    width: 100%;
    min-width: 1024px;
    filter: brightness(0.4) saturate(0.2) opacity(0.3);
    position: relative;
    top: -200%;
}
.banner-text-project {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.banner-text-project h1, .banner-text h1 {
    font-size: 1.5em;
    line-height: 1em;
    color: #fff;
}
.project-slider {
    max-height: 60vw;
    overflow: hidden;
}
.footer {
    background-color: #3d4d5c;
}
footer {
    margin-top: 30px;
}
@media (max-width: 1024px) {
        .banner-text-portfolio h1 {
        font-size: 1.5em;
    }
    .banner-text h1 {
        font-size: 1.4em !important;
    }
    
}

@media (max-width: 800px) {
    .home-page-slider-wrapper .slider-desc>h2 {
        font-size: 30px;
    }
    h1 {
        font-size: 1.5em;
    }
    .benefits-section {
        margin-top: 60px;
        margin-bottom: 40px;
    }
    .home-page-slider-wrapper {
        max-height: 300px;
        overflow: hidden;
    }
    .home-page-portfolio {
        margin: 0em auto;
    }
    .project-slider {
        max-height: 90vw;
        overflow: hidden;
    }
    .portfolio-images-wrapper {
        margin: 0;
        width: 33.33%;
    }
    .banner-section-project, .banner-section-portfolio, .banner-section {
        display: block !important;
    }
    .banner-text-project, .banner-text-portfolio {
        left: 5%;
        transform: translate(0%,-50%);
    }
    .hale-text {
        top: 40% !important;
        left: 40% !important;
        transform: translate(-36%,-50%) !important;
        }
    .banner-text-project h1 {
        font-size: 1em;
        color: #fff;
    }
    .banner-section-portfolio p {
        display: none;
    }
    .banner-section p {
        display: none;
    }
    .project-slider-for .slide {
        height:auto;
    }
    .project-slider-nav .slide {
        height: auto;
    }
}
@media (max-width: 480px) {
    .banner-section-portfolio, .banner-section {
        display: block;
    }
    .image-container:hover .after {
        background:rgba(7,186,203,0);
    }
    .image-container .after .content {
        display: none;
    }
    .portfolio-images-wrapper {
        padding-bottom: 100%;
        width: 100%;
    }
}