/* cmsms stylesheet: Vemoco CSS - Media Query modified: 2023. december 21., csütörtök 17:17:09 */
@media (orientation: landscape) {
    #slide {
        height: 60vh;
        min-height: 300px;
    }
}

@media (max-width: 1400px) {

    .menu ul a, .menu ul a:not([href]):not([class]) {
        padding: 0.4em 0.95em;
        margin: 0 0.2em;
        font-size: 0.95em;
    }

}

@media (max-width: 1200px) {

    .menu ul a, .menu ul a:not([href]):not([class]) {
        padding: 0.3em 0.75em;
        margin: 0 0.1em;
        font-size: 0.9em;
    }

    #slide .slide-text p {
        font-size: 2.3em;
    }

    .btn-lg {
        --bs-btn-padding-y: 0.8rem;
        --bs-btn-padding-x: 3.5rem;
        --bs-btn-font-size: 1.25rem;
    }

    h2 {
        font-size: 2em;
    }

    h3, h4 {
        font-size: 1.5em;
    }

    footer ul a, footer ul a:not([href]):not([class]) {
        padding: 0.5em 1.8em 0.5em 0;
        font-size: 0.85em;
    }

}

@media (max-width: 992px) {
    :root {
        --tile-height: 40vh;
        --tile-triangle-width: 10vw;
    }

    h2 {
        font-size: 1.8em;
    }

    #slide .slide-text p {
        font-size: 2.15em;
    }

    .btn-lg {
        --bs-btn-padding-y: 0.7rem;
        --bs-btn-padding-x: 3.2rem;
        --bs-btn-font-size: 1.2rem;
    }

    h3, h4 {
        font-size: 1.35em;
    }

    #slide .slide-button a {
        width: 50%;
    }

    header .container nav #menu {
        display: block;
        padding: 0.5rem;
        font-size: 1.4em;
        margin-right: 0;
        cursor: pointer;
    }

    header .container nav #menuFade {
        display: block;
        position: fixed;
        top: 0;
        bottom: 0;
        right: -100vw;
        left: 100vw;
        z-index: 999;
    }

    header.menu-on .container nav #menuFade {
        right: 0;
        left: 0;
    }

    header .container nav > ul li#menuClose {
        transition: all .6s ease-in-out;
        display: block;
        position: fixed;
        top: 0;
        right: -100vw;
        left: 100vw;
        padding: 0.5em;
        margin: 0.5em 0.5em 0 0;
        font-size: 1.4em;
        z-index: 1001;
    }

    header.menu-on .container nav ul li#menuClose {
        right: 0;
        left: unset;
        cursor: pointer;
    }

    header .container nav > ul {
        transition: all .6s ease-in-out;
        position: fixed;
        padding: 1.5em;
        top: 0;
        bottom: 0;
        right: -100vw;
        left: 100vw;
        width: calc(325px - 3em);
        max-width: calc(80% - 3em);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        z-index: 1000;
        margin: 0;
        background-color: #fff;
        -webkit-box-shadow: unset; 
        box-shadow: unset;
    }

    header.menu-on .container nav ul {
        right: 0;
        left: unset;
        -webkit-box-shadow: 0px 0px 41px 12px rgba(0,0,0,0.3); 
        box-shadow: 0px 0px 41px 12px rgba(0,0,0,0.3);
        overflow-y: auto;
    }

    header .container nav > ul li a, header .container nav > ul li a:not([href]):not([class]) {
        font-size: 1rem;
        display: flex;
        padding: 0.6em;
        margin: 0;
    }

    textarea.form-control {
        height: 22vh !important;
    }

    footer ul {
        flex-direction: column;
    }

    footer ul a, footer ul a:not([href]):not([class]) {
        padding: 0.5em 0;
        font-size: 1em;
    }

    header .container nav > ul li a.button-style {
        margin-top: 0.7em;
    }

    .tile-text {
        font-size: 0.9em;
    }

    .ref-counter {
        width: 33.3% !important;
    }

}

@media (max-width: 768px) {
    :root {
        --tile-height: 30vh;
        --tile-triangle-width: 15vw;
    }

    h2 {
        font-size: 2.1em;
    }

    #slide .slide-text p {
        font-size: 2em;
    }

    .btn-lg {
        --bs-btn-padding-y: 0.6rem;
        --bs-btn-padding-x: 3rem;
        --bs-btn-font-size: 1.1rem;
    }

    #slide .slide-button a {
        width: 75%;
    }

    .tile-text {
        font-size: 0.8em;
    }

    .ref-counter {
        width: 50% !important;
    }

    .ref-counter p {
        font-size: 0.9em;
    }

    textarea.form-control {
        height: 30vh !important;
    }

    #contact .map-block {
        border: 0 !important;
    }

    .tile .h5 {
        font-size: 1em;
    }

    .list-before-icon {
        margin-top: -0.25em;
    }

}

@media (orientation: landscape) AND (max-width: 768px) {
    #slide {
        height: 100vh;
        min-height: 250px;
    }
}

@media (max-width: 576px) {

    #slide .slide-text p {
        font-size: 1.6em;
    }

    h2 {
        font-size: 1.9em;
    }

    #smartsupp-widget-container iframe#widgetMessengerFrame {
        top: 73px !important;
        height: calc(100% - 73px) !important;
    }

}
