
/*--------------------------------------------------------------
# Generic rules for mobile and tablet
--------------------------------------------------------------*/

@media screen and (max-width: 1150px) {
    body:not(.single-post) {
        height: 100%;
        position: relative;
        touch-action: pan-x pan-y;
    }

    

    br {
        margin: 0;
    }

    .desktop__break {
        display: none;
    }

    .header__menu__button--closed:lang(el):after {
        content: "Î¼ÎµÎ½Î¿Ï";
    }

    .header__menu__button--open:lang(el):after {
        content: "ÎºÎ»ÎµÎ¯ÏƒÎµ" !important;
    }

    .homepage__title__wrapper {
        display: none;
    }

    .invert-header-colors,
    .invert-header-colors a:any-link {
        color: #ffffff;
        mix-blend-mode: difference;
    }

    thead tr::after {
        top: 7.6625vw;
    }

    thead th:nth-child(1) {
        width: 18.5vw;
        white-space: nowrap;
    }

    .projects__option__text {
        font-size: 2.01354vw;
    }

    .about-us__field {
        pointer-events: none;
    }

    .footer__contact-page .footer__back-to-top,
    .footer__about-page .footer__back-to-top {
        display: none;
    }

    .contact {
        pointer-events: none;
    }

    .contact .navigator {
        display: none;
    }

    .footer__contact-page {
        display: none !important;
    }

    /* Smooth titles on full-screen tbd */
    /* Wrapper */
    .post-title {
        position: absolute;
        clip: rect(0px auto auto 0px) !important;
        clip: rect(0px, auto, auto, 0px) !important;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        overflow: hidden;
        will-change: unset;
    }

    .fullscreen-homepage .image-caption {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        position: fixed;
    }

    .fullscreen-homepage img.postTitle {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: block;
    }

    .fullscreen .post-title {
        transform: none;
    }

    body.night-mode-on.page-template-full-screen .header__logo a {
        color: #ffffff !important;
    }

    /* Title */
    /*Is this the culprit for the image rendering issue? tbd notice*/
    .post-title h2 {
        position: fixed;
        top: 100%;
        width: 100%;
        height: 100%;
    }

    /* End of smooth titles on full-screen */
    .project .post-title h2 {
        transform: translateY(-50%);
    }

    .outline-title {
        -webkit-text-stroke-width: 1px;
    }

    _::-webkit-full-page-media,
    _:future,
    :root .project .post-title {
        transform: none;
    }

    /*tbd?
    .post-video {
        width: 100%;
        height: 100%;
    }
*/
    .navigator {
        display: none;
    }

    .woocommerce-order-details,
    .woocommerce-customer-details {
        width: 100%;
        padding: 0;
    }

    .elementor-widget-woocommerce-purchase-summary .woocommerce h2 {
        margin-bottom: 20px;
    }

    .woocommerce-column__title::after {
        top: 1em;
    }
}

@media screen and (max-width: 1150px) and (orientation: landscape) {
    .post-video {
        object-fit: cover;
    }
}

/*
@media screen and (max-width: 1150px) and (hover: none) {
    .about-us__image__wrapper {
        margin: 0 auto;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-right: -50%;
        transform: translate(-50%, -50%);
    }

    .post-title {
        bottom: 0;
        font-size: 19vw;
        text-align: center;
        cursor: none;
        position: absolute;
        top: 0;
        left: initial;
        right: initial;
        width: 100%;
        line-height: 0.80;
    }

    .fullscreen .post-title {
        transform: none;
    }
}
*/
/*
@media screen and (max-width: 1150px) and (hover: hover) and (pointer: fine) {


    .post-title {
        transform: translate(-50%, 50%) !important;
    }

    .fullscreen .post-title {
        transform: translate(-50%, -5%) !important;
        will-change: top, left;
    }

    .contact__coordinates__map {
        position: absolute !important;
    }
}
*/
/*@media screen and (min-width: 1150px) and (hover: hover) and (pointer: coarse),*/
@media screen and (min-width: 300px) and (hover: none) and (pointer: coarse),
@media screen and (min-width: 300px) and (hover: none) and (pointer: fine) {
    .post-title {
        position: absolute;
        clip: rect(0px auto auto 0px) !important;
        clip: rect(0px, auto, auto, 0px) !important;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        overflow: hidden;
        will-change: unset;
    }

    .fullscreen .post-title {
        transform: none;
    }

    .post-title h2 {
        top: 100%;
        width: 100%;
        height: 100%;
        position: fixed;
        transform: scale(0.5) translateY(-50%);
    }
}


@media screen and (max-width: 330px) {
    .header__menu__toggles {
        margin-left: 7.5vw;
    }

    .language-switcher {
        margin-left: -10px;
    }

    .night-mode {
        margin-left: -10px;
    }

    .menu-footer-3-container {
        padding-top: 24vw;
    }

    .menu-footer-3-container li {
        bottom: 0;
        position: relative;
    }

    thead tr::after {
        top: 19.6vw;
    }

    .contact__coordinates__map {
        width: 75vw;
        height: 75vw;
        left: 13.6vw;
        top: 10.5vw;
        z-index: -1;
        pointer-events: all;
    }

    .contact__coordinates h1 {
        font-size: 25.5vw;
        text-align: left;
        line-height: 80%;
        z-index: 4;
        cursor: none;
    }

    .contact__info__box h2 {
        font-size: 9.2vw;
    }

    /* End of 330px */
}

@media screen and (min-width: 2560px) {

    /* * {
        cursor: url("../assets/cursor@3x.png") 20 20, auto;
    }

    *:active {
        cursor: url("../assets/cursor-active@3x.png") 20 20, auto;
    }

    .privacy * {
        cursor: url("../assets/cursor-black@3x.png") 20 20, auto;
    }

    .privacy *:active {
        cursor: url("../assets/cursor-black-active@3x.png") 20 20, auto;
    } */
    .loading__screen__image,
    .loading__image {
        max-width: 507px;
        max-height: 506px;
    }

    img.postTitle {
        max-width: initial;
        max-height: initial;
    }

    /* tbody td { tbd
        cursor: url("../assets/VISIT_retina.png") 20 20, auto;
    } */
    .projects__single__text {
        padding: 1.5625vw calc(3.0729vw + 30px) 1.1625vw calc(3.0729vw + 19px);
    }
}


