/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jun 23 2026 | 12:34:54 */
body:not(.et-fb) #et-boc .et-l #dd-section {
    left: -110%;
    position: fixed;
    top: 0;
    overflow: auto;
    z-index: 9999;
    -webkit-transition: left .4s cubic-bezier(.75, 0, .25, 1);
    transition: left .4s cubic-bezier(.75, 0, .25, 1);
}

.et-db #et-boc .et-l #dd-section.dd-m-menu {
    left: 0 !important;
}

.et-db #et-boc .et-l #dd-menu-mobile .mobile_menu_bar {
    display: none;
}

.et-db #et-boc .et-l #dd-menu-mobile .et_mobile_menu {
    display: block !important;
    border-top: none;
    box-shadow: none;
    position: relative;
}

.et-db #et-boc .et-l #dd-menu-mobile .et_mobile_nav_menu,
.et-db #et-boc .et-l #dd-menu-mobile .mobile_nav {
    width: 100%;
}

.et-db #et-boc .et-l #dd-menu-mobile ul li a {
    text-align: center;
    font-weight: 500 !important;
    border-bottom: none;
    cursor: pointer;
}

.et-db #et-boc .et-l #dd-menu-mobile ul li a:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0);
}

.et-db #et-boc .et-l #dd-menu-mobile ul li.menu-item-has-children > a {
    background-color: rgba(0, 0, 0, 0);
}

.et-db #et-boc .et-l #dd-menu-mobile.dd-submenu ul li a {
    text-align: left;
}

.et-db #et-boc .et-l #dd-menu-mobile .mobile_nav li ul.hide {
    display: none !important;
}

.et-db #et-boc .et-l #dd-menu-mobile .mobile_nav .menu-item-has-children {
    position: relative;
}

.et-db #et-boc .et-l #dd-menu-mobile .mobile_nav .menu-item-has-children > a + span {
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    z-index: 3;
}

.et-db #et-boc .et-l #dd-menu-mobile span.menu-closed:before {
    content: "L";
    display: block;
    color: #333;
    font-size: 16px;
    font-family: ETmodules;
}

.et-db #et-boc .et-l #dd-menu-mobile span.menu-closed.menu-open:before {
    content: "K";
}

.dd-flex-column {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.et_pb_section.dd-section-height,
.et_pb_row.dd-row-height,
.et_pb_column.dd-flex-column {
    height: 55px;
}

header.et-l--header.dd-cfixed-header {
    position: fixed;
    top: -55px;
    width: 100%;
    z-index: 999999;
}

body.admin-bar header.et-l--header.dd-cfixed-header {
    z-index: 999;
}

.et-db #et-boc .et-l .dd-fixed-header {
    -webkit-transition: background-color .3s ease-in-out, -webkit-box-shadow .3s ease-in-out;
    transition: background-color .3s ease-in-out, -webkit-box-shadow .3s ease-in-out;
    transition: background-color .3s ease-in-out, box-shadow .3s ease-in-out;
    transition: background-color .3s ease-in-out, box-shadow .3s ease-in-out, -webkit-box-shadow .3s ease-in-out;
}

/* STATO STICKY */
.et-db #et-boc .et-l .dd-fixed-header.et_pb_section.dd-fixed-header-styling {
    background-color: #ffffff !important;
    box-shadow: 0px 8px 18px -6px rgba(0, 0, 0, 0.12);
}

/* LOGO: nessun cambio nello sticky */
.et-db #et-boc .et-l .dd-fixed-header.dd-fixed-header-styling .dd-logo img {
    content: unset !important;
}

/* MENU STICKY */
.et-db #et-boc .et-l .dd-fixed-header.dd-fixed-header-styling .et_pb_menu ul li a {
    color: #122046 !important;
}

/* VOCE ATTIVA STICKY */
.et-db #et-boc .et-l .dd-fixed-header.dd-fixed-header-styling .et_pb_menu ul li.current-menu-item > a {
    color: #2B849F !important;
}

/* HOVER MENU STICKY */
.et-db #et-boc .et-l .dd-fixed-header.dd-fixed-header-styling .et_pb_menu ul li a:hover {
    color: #2B849F !important;
}

/* DROPDOWN LINK STICKY */
.et-db #et-boc .et-l .dd-fixed-header.dd-fixed-header-styling .et_pb_menu .nav li ul.sub-menu a {
    color: #122046 !important;
}

/* DROPDOWN HOVER STICKY */
.et-db #et-boc .et-l .dd-fixed-header.dd-fixed-header-styling .et_pb_menu .nav li ul.sub-menu a:hover {
    color: #2B849F !important;
}

/* HAMBURGER STICKY */
.et-db #et-boc .et-l .dd-fixed-header.dd-fixed-header-styling #dd-hamburger .et-pb-icon {
    color: #122046 !important;
}

.et-db #et-boc .et-l .dd-sB .et_pb_blurb_container {
    padding-left: 0px;
}

.et-db #et-boc .et-l .dd-social-follow li {
    margin-bottom: 0;
}

/* =========================================
   TOP BAR: ALLINEAMENTO VERTICALE
   Social follow e WPML language switcher
   ========================================= */

/* Colonna top bar: forza flex row con centramento */
.et_pb_section_0_tb_header .dd-flex-column {
    align-items: center !important;
}

/* Social follow: centramento verticale come flex item */
.et_pb_section_0_tb_header .dd-social-follow {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 0 !important;
}

/* Modulo code WPML: inline-flex per stare in riga */
.et_pb_section_0_tb_header .et_pb_code {
    display: flex !important;
    align-items: center !important;
}

/* WPML switcher: reset margini default e centramento */
.wpml-ls-legacy-list-horizontal {
    display: flex !important;
    align-items: center !important;
}

.wpml-ls-legacy-list-horizontal ul {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wpml-ls-legacy-list-horizontal ul li {
    margin: 0 !important;
    padding: 0 !important;
}

.wpml-ls-legacy-list-horizontal .wpml-ls-link {
    display: flex !important;
    align-items: center !important;
    padding: 0 5px !important;
}

@media (max-width: 980px) {
    .et-db #et-boc .et-l .dd-social-follow li a {
        margin-right: 0;
    }
}

.dd-search input.et_pb_searchsubmit {
    background: transparent !important;
    border: none !important;
    padding: 0 20px;
    z-index: 99;
}

.dd-search-icon {
    position: absolute;
    height: 100%;
    right: 0;
    top: 0;
    display: flex;
    align-items: center;
    padding: .715em 17px;
    background-color: #263547;
    border-left: 1px solid rgba(0, 0, 0, 0);
}

.dd-search-icon:after {
    content: "U";
    font-family: "ETmodules" !important;
    display: block;
    font-size: 17px;
    font-weight: bold;
    color: #fff;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

.admin-bar header.et-l--header.dd-cfixed-header {
    top: -23px;
}

/* STICKY */
/* Transizione morbida del logo */
.et_pb_menu .et_pb_menu__logo img {
    transition: opacity 0.25s ease, max-height 0.25s ease, transform 0.25s ease;
}

/* Leggera ottimizzazione visiva quando sticky */
.dd-fixed-header-styling .et_pb_menu .et_pb_menu__logo img {
    opacity: 0.96;
}

@media (max-width: 980px) {
    .et_pb_menu .et_pb_menu__logo img {
        opacity: 1;
    }
}

/* =========================================
   LOGO SWITCH - TRIESTE GUEST HEADER
   ========================================= */

/* Stato base desktop: mostra logo alto, nasconde logo orizzontale */
.et_pb_image_0_tb_header {
    display: block;
}

#logo-scrolled {
    display: none;
}

/* Transizione morbida */
.et_pb_image_0_tb_header,
#logo-scrolled {
    transition: opacity 0.25s ease;
}

/* =========================================
   DESKTOP/TABLET STICKY
   Quando l'header entra in stato sticky:
   - nasconde logo alto
   - mostra logo orizzontale
   ========================================= */
.dd-fixed-header.dd-fixed-header-styling .et_pb_image_0_tb_header {
    display: none !important;
}

.dd-fixed-header.dd-fixed-header-styling #logo-scrolled {
    display: block !important;
}

/* =========================================
   MOBILE
   Sempre logo orizzontale
   ========================================= */
@media (max-width: 980px) {
    .et_pb_image_0_tb_header {
        display: none !important;
    }

    #logo-scrolled {
        display: block !important;
    }
}

/* =========================================
   MOBILE: NASCONDI HEADER SECONDARIO IN STICKY
   ========================================= */
.et_pb_section_0_tb_header {
    transition: opacity 0.25s ease;
}

@media (max-width: 980px) {
    header.dd-cfixed-header .et_pb_section_0_tb_header {
        opacity: 0;
        pointer-events: none;
    }
}

/* =========================================
   MOBILE: LOGO E HAMBURGER
   ========================================= */
@media (max-width: 980px) {
    /* Colonna header: flex row con centramento verticale */
    .et_pb_section_1_tb_header .dd-flex-column {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    /* Logo orizzontale: proporzioni naturali, altezza fissa per allineamento */
    #logo-scrolled {
        display: flex !important;
        align-items: center !important;
    }

    #logo-scrolled img {
        width: auto !important;
        height: 40px !important;
        max-width: 100% !important;
    }

    /* Hamburger: allineamento verticale e dimensione icona */
    #dd-hamburger {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #dd-hamburger .et-pb-icon {
        font-size: 56px !important;
        line-height: 1 !important;
    }
}
