/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

/* =========================================================
   EVPA – INDUSTRIAL FLATSOME HEADER
   Χρήση ενιαίου οριζόντιου PNG λογοτύπου
   ========================================================= */

:root {
    --evpa-navy: #09264d;
    --evpa-navy-dark: #061a35;
    --evpa-blue: #126fca;
    --evpa-blue-light: #3a9af0;
    --evpa-text: #102947;
}


/* =========================================================
   HEADER
   ========================================================= */

#header .header-main {
    position: relative;
    min-height: 105px;
    overflow: hidden;

    border-top: 4px solid var(--evpa-navy);
    border-bottom: 1px solid rgba(9, 38, 77, 0.20);

    background-color: #f7f9fb;

    background-image:
        linear-gradient(
            90deg,
            rgba(9, 38, 77, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            rgba(9, 38, 77, 0.04) 1px,
            transparent 1px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.80) 0,
            rgba(255, 255, 255, 0.80) 1px,
            rgba(215, 221, 227, 0.30) 2px,
            rgba(255, 255, 255, 0.45) 4px
        );

    background-size:
        32px 32px,
        32px 32px,
        100% 4px;

    box-shadow:
        0 8px 24px rgba(7, 28, 55, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}


/* Επάνω φωτεινή τεχνική γραμμή */

#header .header-main::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--evpa-navy) 0%,
            var(--evpa-blue) 48%,
            var(--evpa-blue-light) 72%,
            var(--evpa-navy) 100%
        );

    box-shadow: 0 0 12px rgba(18, 111, 202, 0.35);
}


/* Industrial γωνία δεξιά */

#header .header-main::after {
    content: "";
    position: absolute;
    z-index: 1;
    right: -55px;
    bottom: -60px;

    width: 190px;
    height: 110px;

    border-top: 14px solid var(--evpa-navy);
    border-left: 14px solid var(--evpa-navy);

    opacity: 0.95;
    transform: skewX(-38deg);
    pointer-events: none;
}


#header .header-main .header-inner {
    position: relative;
    z-index: 3;

    min-height: 100px;
    padding-right: 38px;
    padding-left: 38px;
}


/* =========================================================
   ΕΝΙΑΙΟ ΟΡΙΖΟΝΤΙΟ LOGO PNG
   ========================================================= */

#header #logo,
#header .header-main .logo {
    width: 290px !important;
    min-width: 290px !important;
    margin-right: 25px;
}


#header #logo a,
#header .header-main .logo a {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;

    width: 100%;
    min-height: 92px;
    padding: 5px 0;
}


#header #logo img,
#header .header-main .logo img {
    display: block;

    width: auto !important;
    max-width: 275px !important;
    height: auto !important;
    max-height: 82px !important;

    margin: 0;
    object-fit: contain;

    transition:
        transform 0.25s ease,
        filter 0.25s ease;
}


#header #logo a:hover img,
#header .header-main .logo a:hover img {
    transform: scale(1.025);
    filter: drop-shadow(
        0 7px 9px rgba(9, 38, 77, 0.16)
    );
}


/* Αφαιρεί οποιοδήποτε παλιό CSS-generated κείμενο */

#header #logo a::before,
#header #logo a::after,
#header .header-main .logo a::before,
#header .header-main .logo a::after {
    content: none !important;
    display: none !important;
}


/* =========================================================
   ΚΥΡΙΟ ΜΕΝΟΥ
   ========================================================= */

#header .header-main .nav {
    align-items: center;
}


#header .header-main .nav > li {
    position: relative;
    margin: 0;
    padding: 0 19px;
}


#header .header-main .nav > li + li {
    border-left: 1px solid rgba(9, 38, 77, 0.17);
}


#header .header-main .nav > li > a {
    position: relative;

    min-height: 42px;
    padding: 13px 0 11px;

    color: var(--evpa-navy);
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0.45px;
    text-transform: uppercase;

    transition:
        color 0.22s ease,
        transform 0.22s ease;
}


#header .header-main .nav > li > a:hover {
    color: var(--evpa-blue);
    transform: translateY(-1px);
}


#header .header-main .nav > li > a::after {
    content: "";
    position: absolute;

    right: 50%;
    bottom: 3px;
    left: 50%;

    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--evpa-blue),
            var(--evpa-blue-light)
        );

    box-shadow: 0 0 7px rgba(18, 111, 202, 0.30);

    transition:
        right 0.25s ease,
        left 0.25s ease;
}


#header .header-main .nav > li > a:hover::after,
#header .header-main .nav > li.current-menu-item > a::after,
#header .header-main .nav > li.current_page_item > a::after {
    right: 0;
    left: 0;
}


#header .header-main .nav > li.current-menu-item > a,
#header .header-main .nav > li.current_page_item > a {
    color: var(--evpa-blue);
}


/* =========================================================
   ΣΤΟΙΧΕΙΑ ΕΠΙΚΟΙΝΩΝΙΑΣ
   Για το HTML στοιχείο του Header Builder
   ========================================================= */

.evpa-header-contact {
    display: flex;
    align-items: center;
    gap: 8px;

    padding-left: 17px;
    border-left: 1px solid rgba(9, 38, 77, 0.20);
}


.evpa-header-contact__item {
    display: flex;
    align-items: center;
    gap: 9px;

    min-height: 55px;
    padding: 7px 9px;

    color: var(--evpa-navy);
    text-decoration: none;

    border: 1px solid transparent;
    border-radius: 3px;

    transition:
        background-color 0.22s ease,
        border-color 0.22s ease,
        transform 0.22s ease,
        box-shadow 0.22s ease;
}


.evpa-header-contact__item:hover {
    color: var(--evpa-navy);

    border-color: rgba(18, 111, 202, 0.20);
    background-color: rgba(255, 255, 255, 0.80);

    box-shadow: 0 5px 15px rgba(9, 38, 77, 0.08);
    transform: translateY(-2px);
}


.evpa-header-contact__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 37px;
    height: 37px;
    flex: 0 0 37px;

    color: var(--evpa-navy);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 19px;
    line-height: 1;

    border: 2px solid var(--evpa-navy);
    border-radius: 50%;

    background-color: rgba(255, 255, 255, 0.60);
}


.evpa-header-contact__content {
    display: flex;
    flex-direction: column;

    line-height: 1.1;
    white-space: nowrap;
}


.evpa-header-contact__content small {
    display: block;

    margin-bottom: 4px;

    color: #63758a;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1.2px;
}


.evpa-header-contact__content strong {
    display: block;

    color: var(--evpa-navy);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.15;
}


/* =========================================================
   STICKY HEADER
   ========================================================= */

#header .stuck .header-main,
#header.stuck .header-main {
    min-height: 82px;

    box-shadow:
        0 8px 22px rgba(7, 28, 55, 0.15);
}


#header .stuck .header-main .header-inner,
#header.stuck .header-main .header-inner {
    min-height: 78px;
}


#header .stuck #logo a,
#header.stuck #logo a,
#header .stuck .logo a {
    min-height: 72px;
}


#header .stuck #logo img,
#header.stuck #logo img,
#header .stuck .logo img {
    max-height: 62px !important;
}


/* =========================================================
   TABLET / ΜΙΚΡΑ DESKTOP
   ========================================================= */

@media screen and (max-width: 1280px) {

    #header .header-main .header-inner {
        padding-right: 22px;
        padding-left: 22px;
    }

    #header #logo,
    #header .header-main .logo {
        width: 235px !important;
        min-width: 235px !important;
        margin-right: 10px;
    }

    #header #logo img,
    #header .header-main .logo img {
        max-width: 225px !important;
        max-height: 70px !important;
    }

    #header .header-main .nav > li {
        padding: 0 11px;
    }

    #header .header-main .nav > li > a {
        font-size: 13px;
    }

    .evpa-header-contact__item {
        gap: 6px;
        padding-right: 5px;
        padding-left: 5px;
    }

    .evpa-header-contact__icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        font-size: 16px;
    }

    .evpa-header-contact__content strong {
        font-size: 11px;
    }
}


@media screen and (max-width: 1100px) {

    .evpa-header-contact {
        gap: 2px;
        padding-left: 8px;
    }

    .evpa-header-contact__content small {
        display: none;
    }

    .evpa-header-contact__content strong {
        font-size: 10px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 849px) {

    #header .header-main {
        min-height: 76px;
        border-top-width: 3px;
    }

    #header .header-main .header-inner {
        min-height: 72px;
        padding-right: 15px;
        padding-left: 15px;
    }

    #header #logo,
    #header .header-main .logo {
        width: 190px !important;
        min-width: 190px !important;
        margin-right: 0;
    }

    #header #logo a,
    #header .header-main .logo a {
        min-height: 65px;
    }

    #header #logo img,
    #header .header-main .logo img {
        max-width: 185px !important;
        max-height: 56px !important;
    }

    .evpa-header-contact {
        display: none;
    }

    #header .header-main::after {
        right: -110px;
    }
}


/* Πολύ μικρά κινητά */

@media screen and (max-width: 380px) {

    #header #logo,
    #header .header-main .logo {
        width: 160px !important;
        min-width: 160px !important;
    }

    #header #logo img,
    #header .header-main .logo img {
        max-width: 155px !important;
        max-height: 50px !important;
    }
}
}