/* NAVBAR */
@media (max-width: 991.98px) {
    /* BASE */
    #navbarSupportedContent {
        position: absolute;
        top: 65px;
        right: 0;
        background-color: var(--custom-blue);
        z-index: 15;
    }

    .navbar-nav {
        padding: 1em;
        padding-bottom: 0;
    }

    .language-menu {
        padding: 1em;
        padding-top: .5em;
        width: 100%;
        text-align: center;
    }

    /* END OF BASE */

    .darkgrey-block {
        margin-left: 15px;
        margin-right: 15px;
    }

    .contact-page .contact-row {
        flex-direction: column-reverse;
    }

    .contact-page .contact-row form {
        margin-bottom: 4em;
    }

    .inner-gallery,
    .image-row {
        margin-top: 1.5em;
    }

    .image-row > div {
        margin-bottom: 2em;
    }

    .navbar-nav .dropdown-menu {
        position: absolute;
    }
}


@media (max-width: 575.98px) {
    /* BASE */
    .static-content ul {
        columns: 1;
    }
    /* END OF BASE */

    .carousel-caption {
        left: 15px;
        right: 15px;
        top: 8%;
        width: unset;
    }

    #carouselTop img {
        height: 400px;
    }

    .carousel-caption h1 {
        font-size: 35px;
    }

    .carousel-caption p {
        font-size: 15px;
    }

    .carousel-caption a {
        margin-top: 0;
    }

    .general-padding {
        padding-top: 2em;
        padding-bottom: 2em;
    }

    .small-title,
    .content h2 {
        margin-bottom: 1em;
    }

    .buildings a {
        width: 165px;
        bottom: 25px;
        padding-top: .4em;
        padding-bottom: .4em;
    }

    .bottom-section img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        margin-top: 1em;
    }

    .heading {
        min-height: 160px;
    }

    .heading h1 {
        font-size: 35px;
    }

    .contact-row h2 {
        font-size: 32px;
    }

    .gallery-item img {
        height: 250px;
    }

    .gallery-img-list .gallery-img-block {
        width: calc(88% - 20px);
    }

    .gallery-img-block img {
        height: 200px;
    }

    .gallery-title .small-title {
        margin: 0px 1em;
        font-size: 25px;
    }

    .text-part h3,
    .text-part .desc {
        height: unset;
    }

    .top-img {
        height: 170px;
    }

    .inner-gallery .gallery-img-block img,
    .image-row img {
        height: 250px;
    }

    .contact-text {
        text-align: center;
        font-size: 22px;
        margin-bottom: 1em;
    }

    .form-img-block img {
        width: 90%;
        margin-bottom: 2.5em;
    }

    .contact-footer {
        margin-top: 1.5em;
    }

    .footer-logo{
        margin-bottom: 1.5em;
    }

    .allrights {
        margin-top: 1em;
    }

    #navbarcontent {
        color: black;
        position: absolute;
        top: 46px;
        right: 12px;
        background-color: white;
        z-index: 150000;
        box-shadow: 0 0 15px -3px rgba(0,0,0,.35);
        border-radius: 5px;
    }

    .menus {
        flex-direction: column;
        row-gap: 15px;
        align-items: center;
        padding: 15px 40px 15px 40px;    
    }

    .main-fluid {
        height: auto;
    }

    .history-row {
        flex-direction: column;
    }

    .main-desc {
        text-align: justify;
    }

    .main-image-cont {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .history-pic {
        margin-bottom: 50px;
        position: relative;
        bottom: 0px;
        margin-top: 20px;
    }

    .mini-image-box {
        display: none;
    }

    .valassz-container, .valassz-container .row {
        flex-direction: column-reverse;
    }

    .pro-image {
        width: auto;
    }

    .szolg-row {
        row-gap: 30px;
        display: flex;
        justify-content: center;
    }

    .footer-row {
        flex-direction: column;
        row-gap: 15px;
        align-items: center;
    }

    .contact-box {
        column-gap: 30px;
        justify-content: center;
        margin-top: 15px;
    }


    .photo-card {
        align-items: center;
    }

    .info a, .info a:hover {
        font-size: 13px;
    }

    .footer-text, .footer-text a, .footer-text a:hover {
        font-size: 14px;
    }

    .footer-adatvedelem-box {
        padding-top: 17px;
    }

    .subtitle {
        font-size: 16px;
    }

    .title {
        font-size: 20px;
    }

    .image-desc {
        font-size: 14px;
    }

    .image-cont a, .pro-button, .szolg-btn-row a {
        width: 198px;
        height: 48px;
        font-size: 14px;
    }

    .main-title, .ref-title {
        font-size: 35px;
    }

    .main-desc, .ref-desc, .card-desc, .szolg-desc{
        font-size: 17px;
    }

    .history-pic {
        width: 313px;
        height: 324px;
    }

    .pro .col-3 {
        display: flex;
        align-items: center;
    }

    .ref-container img {
        height: 373px;
    }

    .card-title, .question-text {
        font-size: 20px;
    }

    .szolg-row {
        row-gap: 40px;
    }

    .szolg-block {
        flex-direction: column;
        align-items: center;
    }

    .szolg-img {
        margin-bottom: 15px;
    }

    .szolg-title {
        text-align: center;
        font-size: 27px;
    }

    .form-container img {
        margin-bottom: 25px;
    }

    .adatkezelesi {
        font-size: 15px;
    }

    .green-title {
        font-size: 26px;
    }


    .contact-col {
        flex-direction: column;
        align-items: center;
    }

    .contact-box, .footer-adatvedelem-box {
        flex-direction: column;
        row-gap: 20px;
        margin-top: 25px;
    }

    .footer-text {
        text-align: center;
        padding: 0px;
    }

    .arrow {
        min-width: 40px;
        display: flex;
        align-items: center;
    }

    .arrow img {
        margin-bottom: 0px;
    }

    .green-fluid {
        margin-top: 60px;
    }

    .green-text {
        font-size: 16px;
    }

    .dolgozom-steps {
        margin-bottom: 50px;
    }

    .step .card-desc, .step .step-title {
        text-align: center;
    }

    .step-title {
        font-size: 26px;
    }

    .dolgozom-title {
        font-size: 30px;
    }

    .esk-title {
        font-size: 40px;
    }

}

/* SM */
@media (min-width: 576px) and (max-width: 767.98px) {
    .contact-col {
        margin-top: 2em;
        margin-bottom: 1em;
    }

    footer .container .row {
        justify-content: center;
    }

    .general-padding {
        padding-top: 3em;
        padding-bottom: 3em;
    }

    .side-img {
        height: 315px;
    }

    .small-title,
    .content h2 {
        margin-bottom: 1em;
    }

    .buildings a {
        width: 200px;
        bottom: 30px;
    }

    .carousel-caption {
        left: 15px;
        right: 15px;
        top: 10%;
        width: unset;
    }

    #carouselTop img {
        height: 500px;
    }

    .carousel-caption h1 {
        font-size: 60px;
    }

    .carousel-caption p {
        font-size: 19px;
    }

    .gallery-item img {
        height: 280px;
    }

    .gallery-img-list .gallery-img-block {
        width: calc(50% - 20px);
    }

    .gallery-img-block img{
        height: 210px;
    }

    .top-img {
        height: 200px;
    }

    .inner-gallery .gallery-img-block img,
    .image-row img {
        height: 250px;
    }

    .contact-text {
        text-align: center;
        font-size: 22px;
        margin-bottom: 1em;
    }

    .form-img-block img {
        width: 75%;
        margin-bottom: 2.5em;
    }

    #navbarcontent {
        color: black;
        position: absolute;
        top: 56px;
        right: 12px;
        background-color: white;
        z-index: 150000;
        box-shadow: 0 0 15px -3px rgba(0,0,0,.35);
        border-radius: 5px;
    }

    .menus {
        flex-direction: column;
        row-gap: 15px;
        align-items: center;
        padding: 15px 40px 15px 40px;    
    }

    .main-fluid {
        height: auto;
    }

    .history-row {
        flex-direction: column;
    }

    .main-desc {
        text-align: justify;
    }

    .main-image-cont {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .history-pic {
        margin-bottom: 50px;
        position: relative;
        bottom: 0px;
        margin-top: 20px;
    }

    .mini-image-box {
        display: none;
    }

    .valassz-container, .valassz-container .row {
        flex-direction: column-reverse;
    }

    .pro-image {
        width: auto;
    }

    .szolg-row {
        row-gap: 30px;
        display: flex;
        justify-content: center;
    }

    .footer-row {
        flex-direction: column;
        row-gap: 15px;
        align-items: center;
    }

    .contact-box {
        column-gap: 30px;
        justify-content: center;
        margin-top: 15px;
    }


    .photo-card {
        align-items: center;
    }

    .info a, .info a:hover {
        font-size: 13px;
    }

    .footer-text, .footer-text a, .footer-text a:hover {
        font-size: 14px;
    }

    .footer-adatvedelem-box {
        padding-top: 17px;
    }

    .question-text {
        font-size: 19px;
    }

    .arrow {
        min-width: 40px;
    }

    .title {
        font-size: 33px;
    }

    .green-text {
        font-size: 16px;
    }

    .green-title {
        font-size: 30px;
    }

    .dolgozom-row {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .dolgozom-steps {
        margin-bottom: 50px;
    }

    .step .card-desc, .step .step-title {
        text-align: center;
    }

    .step-title {
        font-size: 28px;
    }

    .dolgozom-title {
        font-size: 32px;
    }

    .esk-title {
        font-size: 42px;
    }

}

/* MD */
@media (min-width: 768px) and (max-width: 991.98px) {
    .carousel-caption {
        left: 6%;
        top: 18%;
    }

    .side-img {
        height: 315px;
    }

    .general-padding {
        padding-top: 3em;
        padding-bottom: 3em;
    }

    #carouselTop img {
        height: 650px;
    }

    .gallery-item img {
        height: 280px;
    }

    .gallery-img-list .gallery-img-block {
        width: calc(33% - 20px);
    }

    .gallery-img-block img{
        height: 210px;
    }

    .text-part .desc {
        height: 107px;
    }

    .top-img {
        height: 220px;
    }

    .contact-text {
        text-align: center;
        margin-bottom: 1em;
    }

    .form-img-block img {
        width: 65%;
        margin-bottom: 2em;
    }

    #navbarcontent {
        color: black;
        position: absolute;
        top: 55px;
        right: 12px;
        background-color: white;
        z-index: 150000;
        box-shadow: 0 0 15px -3px rgba(0,0,0,.35);
        border-radius: 5px;
    }

    .menus {
        flex-direction: column;
        row-gap: 15px;
        align-items: center;
        padding: 15px 40px 15px 40px;    
    }

    .main-fluid {
        height: auto;
    }

    .history-row {
        flex-direction: column;
    }

    .main-desc {
        text-align: justify;
    }

    .main-image-cont {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .history-pic {
        margin-bottom: 50px;
        position: relative;
        bottom: 0px;
        margin-top: 20px;
    }

    .mini-image-box {
        display: none;
    }

    .valassz-container, .valassz-container .row {
        flex-direction: column-reverse;
    }

    .pro-image {
        width: auto;
    }

    .szolg-row {
        row-gap: 30px;
        display: flex;
        justify-content: center;
    }

    .footer-row {
        flex-direction: column;
        row-gap: 15px;
        align-items: center;
    }

    .contact-box {
        column-gap: 30px;
        justify-content: center;
        margin-top: 15px;
    }

    

    .question-text {
        font-size: 19px;
    }

    .title {
        font-size: 33px;
    }

    .step .card-desc, .step .step-title {
        text-align: left;
    }

    .esk-title {
        font-size: 40px;
    }

}

/* LG */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .darkgrey-block {
        margin-left: -15px;
        margin-right: 15px;
    }

    .buildings>div:nth-child(2n) {
        padding-right: 7.5px;
    }

    .buildings>div:nth-child(2n+1) {
        padding-left: 7.5px;
    }

    .gallery-item img {
        height: 250px;
    }

    .gallery-img-list .gallery-img-block {
        width: calc(25% - 20px);
    }

    .gallery-img-block img{
        height: 210px;
    }

    .text-part h3 {
        height: 70px;
    }

    .text-part .desc {
        height: 128px;
    }

    .blue-block {
        height: 300px;
    }

    .image-row {
        margin-bottom: 2.5em;
    }

    .header-fluid .col-10 {
        display: flex;
        justify-content: end;
    }

    .menus li:first-child a, .menus li a {
        font-size: 17px;
    }

    .menus {
        column-gap: 19px;
    }

    .main-fluid {
        margin: 0px 0px 120px 0px;
    }
    
    .history-pic {
        bottom: 210px;
    }

    .mini-image-box {
        position: absolute;
        bottom: 55px;
    }

    .szolg-title {
        font-size: 27px;
    }

    .footer-text a, .footer-text a:hover {
        font-size: 14px;
    }
    
    .contact-box {
        column-gap: 35px;
    }

    .footer-fluid {
        padding-bottom: 15px;
    }

    .title {
        font-size: 35px;
    }

    .step .card-desc, .step .step-title {
        text-align: left;
    }

    .esk-title {
        font-size: 40px;
    }

}

/* XL */
@media (min-width: 1200px) {
    .darkgrey-block {
        margin-left: -15px;
        margin-right: 15px;
    }

    .buildings>div:nth-child(2n) {
        padding-right: 7.5px;
    }

    .buildings>div:nth-child(2n+1) {
        padding-left: 7.5px;
    }

    .blue-block {
        height: 300px;
    }

    .image-row {
        margin-bottom: 2.5em;
    }

    .step .card-desc, .step .step-title {
        text-align: left;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .darkgrey-block .content {
        padding-right: 6rem;
    }

    .title, .main-title, .szolg-title, .ref-title, .esk-title {
        font-size: 42px;
    }

    .szolg-title {
        font-size: 38px;
    }

    .pro-title {
        font-size: 20px;
    }

    .green-title {
        font-size: 30px;
    }

    .pros-container {
        margin-top: 1rem;

    }

    .main-desc {
        margin-top: 15px;
    }

    .step .card-desc, .step .step-title {
        text-align: left;
    }
}

@media (min-width: 1400px) {
    .darkgrey-block .content {
        padding-right: 10rem;
    }

    .step .card-desc, .step .step-title {
        text-align: left;
    }
    
}
