@media (min-width: 992px) and (max-width: 1199px) {
    #planai {
        padding-top: 180px;
    }

    #plan1 .plan-description-wrapper {
        margin-top: -110px;
        margin-left: -20px;
    }

    #plan2 .plan-description-wrapper {
        margin-top: 410px;
    }

    .navbar-brand img {
        width: 92px;
        height: auto;
    }

}

@media (min-width: 768px) and (max-width: 991px) {
    #planai {
        padding-top: 440px;
    }

    #apie .left-side-section .overlay-for-section {
        width: 100%;
    }

    #apie .section-background-holder {
        width: 100%;
    }

    #interjeras .right-section-holder .background-section-helper {
        width: 100%;
        background: rgba(255, 255, 255, 0.7);
    }

    #interjeras .section-background-holder {
        width: 100%;
    }

    .site-section#map::before {
        width: 100%;
    }

    #plan1 .plan-description-wrapper {
        margin-top: -280px;
    }

    #plan2 .plan-description-wrapper {
        margin-top: 440px;
    }

    /*meniu*/
    .navbar-header {
        float: none;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-nav {
        float: none !important;
        margin: 7.5px -15px;
    }

    .navbar-nav > li {
        float: none;
    }

    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    #menu-pagrindinis {
        display: none;
        background-color: #6b7d87;
        padding-top: 30px;
        margin-top: 0;
        padding-bottom: 30px;
        margin-left: -15px;
        width: 50%;
    }

    nav.navbar {
        height: 50px;
    }

    .navbar-toggle {
        float: left;
    }

    a.navbar-brand {
        display: none;
    }

    .navbar-default .navbar-toggle .icon-bar {
        background-color: white;
    }

    .lang-mobile {
        list-style: none;
        float: right;
        margin-top: 15px;
        display: block;
    }

    ul.lang-mobile li a {
        color: white;
        padding: 3px 8px;
        background-color: rgba(255, 255, 255, 0.26);
        text-decoration: none;
    }

    .lang {
        display: none;
    }

    .navbar-nav {
        margin-top: 0;
    }

    .navbar-nav li {
        text-align: center;
        padding: 10px 25px;
    }

    .navbar-header {
        width: 100%;
    }

    .header-mobile::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: url("../img/logo-mobile.png");
        background-repeat: no-repeat;
        background-position: center center;
        z-index: 1;
    }

    .header-mobile::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background-color: rgba(107, 125, 135, 0.67);
    }

    .header-mobile {
        padding: 0;
        position: relative;
    }

    .no-container-responsive {
        width: initial;
    }

    .nav-justified > li {
        display: block;
        width: 100%;
    }

    .modal-body {
        padding: 15px 75px;
    }

    .site-section#planai {
        padding-bottom: 0;
        margin-bottom: 60px;
    }

    #plan1 {
        min-height: initial;
    }
}

@media (max-width: 767px) {

    .butas-modal-button.download-button, .butas-modal-button.download-button-korpusas {
        margin-bottom: -20px;
        margin-top: 5px;
        max-width: none;
    }

    .butas-modal-button {
        position: initial;
        float: left;
        margin-top: 40px;
        margin-bottom: 20px;
        max-width:none;
    }

    .buto-aukstu-planai {
        min-height: 0;
    }

    #apie .left-side-section .overlay-for-section {
        width: 100%;
    }

    #apie .section-background-holder {
        width: 100%;
    }

    #interjeras .section-background-holder {
        width: 100%;
    }

    #interjeras .right-section-holder .background-section-helper {
        width: 100%;
        background: rgba(255, 255, 255, 0.6);
    }

    #menu-pagrindinis {
        display: none;
        background-color: #6b7d87;
        padding-top: 30px;
        margin-top: 0;
        padding-bottom: 30px;
        margin-left: -15px;
    }

    .mobile-width {
        width: 100%;
        margin: 0;
    }

    #plan1 {
        background: none;
        min-height: 0;
        position: relative;
        z-index: 10;
    }

    #plan1 .plan-description-wrapper {
        margin-top: -220px;
        padding: 0;
        background: transparent;
    }

    #plan1 .plan-description-wrapper .section-content {
        margin-top: 160px;
        width: 70%;
        padding-left: 20px;
    }

    #plan2 {
        margin-top: -100px;
        background-position-x: -200px;
        background-size: cover;
    }

    #plan2 .plan-description-wrapper {
        margin-top: 330px;
        padding: 0;
        padding-right: 20px;
        background: transparent;
    }

    nav.navbar {
        height: 50px;
    }

    .navbar-toggle {
        float: left;
    }

    a.navbar-brand {
        display: none;
    }

    .navbar-default .navbar-toggle .icon-bar {
        background-color: white;
    }

    .lang-mobile {
        list-style: none;
        float: right;
        margin-top: 15px;
        display: block;
    }

    ul.lang-mobile li a {
        color: white;
        padding: 3px 8px;
        background-color: rgba(255, 255, 255, 0.26);
        text-decoration: none;
    }

    .lang {
        display: none;
    }

    .large-image-section img {
        height: 100vh;
        object-fit: cover;
    }

    .header-mobile {
        padding: 0;
        position: relative;
    }

    .large-image-section img.mobile-logo {
        display: block;
        position: absolute;
        top: 100px;
        height: auto;
        width: 122px;
    }

    .header-mobile::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: url("../img/logo-mobile.png");
        background-repeat: no-repeat;
        background-position: center center;
        z-index: 1;
    }

    .header-mobile::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background-color: rgba(107, 125, 135, 0.67);
    }

    .navbar-nav {
        margin-top: 0;
    }

    .navbar-nav li {
        text-align: center;
        padding: 10px 25px;
    }

    .arrow-down-wrap {
        position: absolute;
        bottom: 40px;
        left: 0;
        width: 100%;
        display: block;
        z-index: 1;
    }

    .arrow-down-wrap img {
        width: 35px;
        height: auto;
        display: block;
        margin: 0 auto;
        padding-bottom: 20px;
        cursor: pointer;
    }

    .site-section {
        padding-top: 40px;
    }

    .section-with-background-wrapper .section-with-overlay {
        position: initial;
        padding: 30px;
        height: auto;
        width: 90%;
        background: rgba(255, 255, 255, 0.9);
    }

    .section-with-background-wrapper .section-background-holder {
        margin-top: -110px;
    }

    .section-background-holder img {
        width: 100%;
    }

    .background-line {
        display: none;
    }

    .photo-slaider {
        display: none;
    }

    .arrows {
        display: none;
    }

    .section-with-background-wrapper .section-with-overlay.mobile-right {

        position: absolute;
        height: auto;
        right: 0;
        left: 10%;
        top: 0;
        background: rgba(255, 255, 255, 0.9);
        font-size: 17px;
    }

    .section-with-background-wrapper .section-background-holder.second-section-mobile {
        margin: 0;
    }

    .second-section-mobile img {
        height: 70%;
        object-fit: cover;
    }

    .background-line-top {
        display: none;
    }

    .site-section#interjeras {
        padding-bottom: 0;
    }

    .title-with-border::after {
        left: -5px;
    }

    .section-title {
        margin-bottom: 50px;
    }

    .section-content p, .section-content, footer, .map-description {
        font-size: 13px;
        line-height: 21px;
    }

    .single-advantage {
        font-size: 13px;
    }

    h2 {
        font-size: 21px;
    }

    .site-section#map {
        background: white;
    }

    #map .title-with-border::after {
        bottom: -10px;
        left: 10px;
    }

    #map .section-title {
        margin-bottom: 20px;
        background: url("../img/map-mobile.jpg");
        padding-bottom: 30px;
        padding-top: 270px;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .mobile-map-no-padding {
        padding: 0;
    }

    .mobile-map-no-padding h2 {
        padding-left: 15px;
    }

    .mobile-map-no-padding h2::before {
        content: "";
        width: 100%;
        height: 90px;
        position: absolute;
        top: -20px;
        z-index: -1;
        left: 0;
        background: rgba(255, 255, 255, 0.4);
    }

    .map-point img.map-point-img-mobile {
        display: block;
    }

    .map-point img {
        display: none;
    }

    .main-map-description {
        padding-bottom: 20px;
    }

    #footer img {
        width: 100%;
        height: auto;
    }

    #footer .footer-slogan {
        margin-top: 0;
        font-size: 14px;
        text-transform: uppercase;
    }

    #footer {
        padding-top: 70px;
        position: relative;
    }

    #footer::after {
        content: "";
        width: 100%;
        height: 1px;
        background-color: white;
        bottom: 25px;
        left: 0;
        position: absolute;
    }

    .site-section#map {
        padding-bottom: 70px;
    }

    .single-advantage .advantage-icon img {
        display: inline-block;
        min-height: 95px;
        max-width: 100%;
    }

    .navbar-header {
        width: 100%;
    }

    .v-mobal-tab-links {
        display: block;
        margin-top: 30px;
        text-align: center;
    }

    .v-modal-tab-link {
        float: none;
        display: inline-block;
        text-align: center;
    }

    .modal-body {
        padding: 15px 10px;
    }

    .v-modal-header {
        text-align: left;
        padding-left: 0;
        padding-top: 30px;
    }

    #plan1 .svg-text {
        position: static;
    }

    #plan1 svg {
        display: block;
        margin-right: 20px;
    }

    .site-section#planai {
        margin-bottom: 0;
    }

    #main-header-image {
        margin-top: 0;
    }

    .card {
        padding: 0;
        position: relative;
        overflow: hidden;
        background: rgba(107, 125, 135, 1);
    }

    .card::before {
        content: "";
        background: rgba(107, 125, 135, 0.8);
        background-size: cover;
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0%;
        top: 0;
        z-index: 2;

    }

    .card-info-header {
        z-index: 3;
        position: relative;

    }
    .card-info {
        z-index: 3;
        position: relative;
        padding-bottom: 40px;
    }

    .card::after {
        content: "";
        background: url(http://vytauto-80.lt/wp-content/uploads/2016/11/b14-1s-17-01-08-png.png);
        background-size: cover;
        width: 190%;
        height: 130%;
        position: absolute;
        left: -30%;
        top: -50px;
        z-index: 1;
    }
    .butu-tab-butas:nth-of-type(2n) .card:after {
        background: url(http://vytauto-80.lt/wp-content/uploads/2016/11/b-4-1s-17-01-08-png.png);
        background-size: cover;
        content: "";
        width: 190%;
        height: 130%;
        position: absolute;
        left: -30%;
        top: -50px;
        z-index: 1;
    }
}

@media (min-width: 1500px) {
    #apie .left-side-section .container {
        width: 100%;
        float: left;
    }

    #apie .left-side-section .container .col-md-5 {
        padding-left: 10%;
    }

    #interjeras .right-section-holder .container {
        width: 100%;
    }

    #interjeras .right-section-holder .col-md-7 {
        padding-right: 20%;
    }
}

@media (max-width: 1199px) {
    .visible-custom-card {
        display: block !important;
    }
}

@media (max-width: 991px) {
    .aukstu-map {
        display: none;
    }

    .buto-aukstu-planai {

        margin-bottom: 20px;
    }

}

@media (min-width: 992px) and (max-width: 1200px) {
    .aukstu-map {
        left: 60%;
        bottom: -70px;
    }
}

@media (min-width: 768px) and (max-width: 1210px) {


    .butas-modal-button {
        text-align: center;
        max-width: none;
        margin-bottom: 0;
    }

    .auksto-col-5 {
        position: static;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .butas-modal-button {
        /*bottom: -10px;*/
        max-width: 100%;
        position: static;
    }
}

@media (min-width: 992px) {
    #main-header-image {
        margin-top: 50px;
    }
}
@media (max-width: 991px) {
    #main-header-image {
        margin-top: 40px;
    }
}
@media (max-width: 1199px) {
    .material-item {
        margin-bottom: 40px;
    }
    .material-row {
        margin-bottom: 0;
    }
}
@media (min-width: 768px) and (max-width: 1199px) {
    .last-material .i-right {
        left: 0;
    }
    .last-material .m-left {
        float: right;
        padding-left: 30px;
        padding-right: 15px;
    }
}
@media (max-width: 767px) {
    .materials-image {
        height: 300px;
        width: 100%;
        position: static;
    }
    .materials-content {
        width: 100%;
        padding: 0;
        font-size: 13px;

    }
    .materials-big-content p {
        font-size: 13px;
    }
    .materials-content p {
        font-size: 13px;
    }
    .material-item h3 {
        font-size: 18px;
    }
    #materials .section-title {
        margin-bottom: 40px;
    }
    .material-item {
        margin-bottom: 40px;
    }
    .material-row {
        margin-bottom: 0;
    }
    #main-header-image {
        margin-top: 0;
    }
}