/*  =============== LOGO MAIN ================================ */

@media (min-width:768px) and (max-width:991px) {
    .logo-main {
        width: 300px;
        height: 48px;
    }
}

@media (max-width:768px) {
    .top-line-gradient {
        height: 0.4em;
    }
    .fancybox-title-float-wrap {
        margin-bottom: -210px;
    }
    .logo-main {
        width: 220px;
        height: 35px;
        padding-left: 1rem;
    }
    .navbar-brand {
        height: 35px;
    }
    .navbar-custom {
        padding: 20px 0px 10px;
        box-shadow: none;
    }
    /* LAYOUTS */
    .bg-home,
    .bg-white,
    .bg-gray,
    .bg-gray2,
    .bg-working-scheme,
    .bg-audit,
    .googlamap,
    .bg-footer {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        transform: none;
    }
    .googlamap {
        z-index: 100!important;
        /* margin-top: 150px; */
    }
    .google-map-wrapper{
    	padding-top: 0;
    }
    .googlamap:before{
    	content: none;
    }
    section {
        padding-top: 12rem;
        padding-bottom: 12rem;
        min-height: 100vh;
    }
    section.contacts-form {
        padding-top: 6rem;
        padding-bottom: 6rem;
        min-height: 60vh!important;
    }
    section.portfolio {
        padding-top: 6rem;
        padding-bottom: 6rem;
        min-height: 60vh!important;
    }
    .venera-wrapper {
        margin-top: 22vh;
    }
    a.anchor {
        top: -88px;
    }
    .back-to-top {
        bottom: 20px;
        left: 45%;
    }
    .back-to-top i {
        font-size: 4.5rem;
        border: 2px solid #ccc;
        text-shadow: 0 3px 2px rgba(0, 0, 0, .2);
        box-shadow: 0 3px 2px rgba(0, 0, 0, .08);
        width: 60px;
        height: 60px;
    }
    a.sz_portfolio_slider_close {
        right: 1%!important;
        top: 1%!important;
    }
}

@media (min-width:768px) {
    .nav-custom-left {
        margin-left: 5%;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .contact-page .col-sm-6 {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width:592px) {
    .gallery-portfolio__right {
        width: 0;
    }
    .gallery-portfolio__left {
        width: 100%;
    }
}

/*  =============== PORTFOLIO ================================ */

@media (max-width: 991px) {
    .preview-portfolio__name {
        font-size: 18px;
        padding-bottom: 20px;
    }
    .preview-portfolio__description {
        font-size: 14px;
    }
    .preview-portfolio__href {
        font-size: 16px;
    }
    .preview-portfolio__name-border {
        bottom: 0;
    }
    .preview-portfolio__description {
        margin-bottom: 6px;
    }
}

@media (max-width:700px) {
    .preview-portfolio {
        width: 98%;
    }
}