body {
    line-height: 1.3;
}

body.dark .h1,
body.dark .h2,
body.dark .h3,
body.dark .h4,
body.dark .h5,
body.dark .h6,
body.dark h1,
body.dark h2,
body.dark h3,
body.dark h4,
body.dark h5,
body.dark h6 {
    color: var(--white);
}

/** accordionMenu **/
#accordionMenu {
    max-height: calc(100vh - 88px);
    overflow-y: scroll;
}

#accordionMenu .menu-entries li {
    padding: .375rem 0;
}

/* Rotazione del bottone dell'accordion di design */
/*#design-accordion .accordion-button:not(h3)::after, #design-accordion h3.mid-title:not(h3)::after {
transform: rotate(315deg);
}
*/
/* Rotazione espansa del bottone dell'accordion di design */
/*#design-accordion .accordion-button:not(.collapsed)::after, #design-accordion h3.mid-title:not(.collapsed)::after {
transform: rotate(135deg);
}
*/
.cmp_slider_text_image .swiper-button-next,
.cmp_slider_text_image .swiper-button-prev {
    top: 23%;
}

.swiper-cmp-text-image .swiper-button-prev::after {
    transform: rotate(180deg);
}

.banner-news .scroll .scroll-info a {
    font-family: var(--flexa-300);
}


/*.single .event-menu .top li, .single .event-menu .bottom li {
    font-size: 21px;
}

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

.single .event-menu .top li, .single .event-menu .bottom li {
    font-size: 32px;

}
}
*/

.single .event-menu .bottom li:last-of-type {
    margin-top: unset;
}

.single-tribe_events .event-title h1 {
    display: flex;
    flex-direction: column;
}

/*.page .tag-pill::before, .swiper-cmp-three-slides .tag-pill::before, .single .tag-pill::before {
display: unset;
color: unset;
background: unset;
width: 6px;
font-size: 13px;
height: 13px;
}*/
/*.page .swiper-cmp-three-slides figure h5, .archive .swiper-cmp-three-slides figure h5 {
    min-height: 80px;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}*/

/* Ulteriori media query per vari elementi */
@media screen and (min-width: 992px) {

    /*.single .tag-pill {
margin-left: unset;
}*/
    .single .news-banner .tag-pill {
        font-size: 18px;
        margin-left: 1.125rem;
        margin-right: 0;
    }

    .swiper-cmp-three-slides .tag-pill {
        margin-left: 0;
    }

    .mobile-logo-img {
        width: 100px;
        height: 50px;
    }

    .event-menu .top,
    .event-menu .bottom {
        font-size: 28px;
    }
}

/* Media query per l'immagine in highlight su schermi piÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¹ grandi */
@media screen and (min-width: 1440px) {
    #highlight figure img {
        max-height: 400px;
        width: auto !important;
    }
}

/* Media query per la nav bar di site header */
@media screen and (min-width: 1200px) {
    #site-header .nav-bar li a {
        font-size: 18px;
    }
}

/* Stile per figcaption in highlight */
#highlight figcaption {
    padding-right: unset;
}

/* Sfondo per la sezione membro */
.bg-member {
    background-color: var(--purple);
}



.agenda-content .day,
.agenda-content .time,
.agenda-content .room {
    font-size: 16px;
}



/* Bordo per l'intestazione dell'accordion di agenda content */
.agenda-content .accordion-header {
    border-bottom: 0px solid var(--primary);
}

/* Pseudo-elemento per il tempo in agenda content */
.agenda-content .time::after {
    content: '';
}

.agenda-content .day::after,
.agenda-content .time::after {
    content: '';
}

.agenda-content .day,
.agenda-content .time {
    /*margin-right: unset;*/
}

/* Dimensione del font per la stanza in agenda content */


/* Dimensione del font per i pseudo-elementi in agenda content */
.agenda-content .north-est::before,
.agenda-content .south-est::before {
    font-size: 18px;
}

/* Margine per gli elementi dell'accordion in agenda content */
.agenda-content .accordion-item {
    margin-bottom: 60px;
}

/* Bordo per il piÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¨ di pagina dell'accordion in agenda content */
.agenda-content .accordion-footer {
    border-bottom: 4px solid var(--primary);
}

/* Pseudo-elemento dopo per il bottone dell'accordion in agenda content */
.agenda-content .accordion-button::after {
    color: var(--primary);
    background: none;
    border: 0;
}



/* Ulteriori media query per vari elementi */
@media screen and (min-width: 992px) {

    .head_1,
    h1,
    .h1 {
        font-size: 48px;
    }

    .agenda-section {
        padding: 0;
    }



   /* .agenda-content .accordion-header h3 a {
        font-size: 24px;
    }*/
}

/* Ulteriori media query per booking box e member accordion */
@media screen and (min-width: 992px) {
    .booking-box h1 {
        margin-bottom: 50px;
        font-size: 48px;
    }

    .feb_menu .title>* {
        font-size: 48px;
    }

    .faq_feb h2 {
        font-size: 32px;
    }

    #member-accordion .accordion-button {
        font-size: 32px;
    }
}

/* Stile per l'icona della freccia in figcaption di highlight */
#highlight figcaption .icon-arrow {
    position: unset;
    top: unset;
    transform: unset;
}

/* Visualizzazione di figcaption in highlight */
#highlight figcaption {
    display: unset;
}

[class*=_text-image-] h3 {
    font-family: var(--flexa-500);
    font-size: 27px;
}

/* Query media aggiuntive per le classi di immagini di testo */
/*@media screen and (min-width: 992px) {
    [class*=_text-image-] p {
        font-size: 18px;
    }

    [class*=_text-image-] h3 {
        font-size: 36px;
        font-family: var(--flexa-400);
    }

    [class*=_text-image-] ._text {
        padding: 5rem;
    }

    [class*=_text-image-]._reverse ._text {
         
        padding-right: 5rem;
    }
}*/

/* Font principale per i titoli abstract */
.cmp-main-abstract h1,
.cmp-main-abstract .h1 {
    /*font-family: var(--flexa-300);*/
    font-family: var(--flexa-500);
}

/** Residenze **/
body.single-bm_residences header#site-header,
body.single-bm_residences main {
    background-color: var(--matrix-residence);
}

/* Footer **/

footer#site-footer.with-side-menu {
    /*width: calc(100% - 44px);
    margin-left: auto;*/
}

footer#site-footer.no-side-menu {
   /* width: 100%;
    margin-left: 0;*/
}


/* Dimensione e famiglia del font per lo span nel sub-footer */
.sub-footer span {
    font-size: .9rem;
    font-family: var(--flexa-300);
}

/* bistroBASE */
.bistro .hero-img {
    height: calc(100vh - 75%);
}

.bistro #bistroBAse {
    height: 55vh;
}

#bistroBAse {
    transition: padding-top 0.3s ease-in-out;
    transition: padding-top 0.3s ease-in-out;
}

#bistroBAse .overflow-title {
    transition: transform 0.3s ease-in-out;
}

#bistroBAse .intro-welcome {
    transition: font-size 0.3s ease-in-out;
}

#bistroBAse .overflow-title {
    transform-origin: left;
}

@media screen and (min-width: 992px) {
    .bistro #bistroBAse {
        padding-top: 100px;
    }
}

/* section hero-video-animated-text */
section.hero_video_animated_text h1.huge_title,
section.hero_image_animated_text h1.huge_title {
    transition: transform 0.3s ease-in-out;
    transform-origin: left;
    font-family: var(--flexa-400);
}



section.hero_image_animated_text img.hero-img {
    /*padding-top: 28vh;*/
    margin-top: -2%;
}

@media screen and (min-width: 992px) {
    section.hero_video_animated_text {
        padding-top: 50vh;
    }

    section.hero_video_animated_text h1.huge_title {
        /*padding-top: 0px;*/
        margin-top: -189px;
    }
}

.feb_menu .place-row {
    /*  padding-bottom: unset;*/
}

.feb_menu .place-row .place .place-name {
    background-image: url(../assets/icons/bg_fed.svg)
}

.dark .place-row {
    background-image: url(../assets/icons/bg_fed_dark.svg);
}

.feb_menu .place-row .place .place-name::after {
    right: 15px;
}

@media screen and (min-width: 992px) {
    .bistro .hero-img {
        height: calc(100vh - 25%);
    }

    .feb_menu .place-row .place {
        padding-right: 45px;
    }

    .feb_menu .place-row {
        height: unset;
        min-height: 150px;
    }

    .feb_menu .place-row .place .place-name {
        font-size: 48px;
        padding-left: 25px;
        font-family: var(--flexa-500);
        font-weight: 500;
    }

    .feb_menu .place-row .place .place-name::after {
        left: 27px;
        bottom: 10px;
    }
}

.swiper-cmp-three-slides figcaption {
    padding-right: 5rem;
    position: relative;
    min-height: 90px
}

.swiper-cmp-three-slides figcaption span.icon-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-70%);
}

.swiper-cmp-three-slides figcaption span.icon-arrow::before {
    font-size: 24px;
}




.wp-block-image.w-100>img {
    width: 100% !important;
}

.swiper-cmp-book .swiper-button-prev.text-dark::after,
.swiper-cmp-book .swiper-button-next.text-dark::after {
    color: var(--dark);
}

/**
Gutenberg Blocks Styles **/
.wp-block-table.is-style-bistrobase-menu-style-1 td,
.wp-block-table.is-style-bistrobase-menu-style-1 th {
    border-left: 0;
    border-right: 0;
    border-top: 0;
    padding: 1rem;
    border-bottom-color: #a3a3a3;
}

.wp-block-table.is-style-bistrobase-menu-style-1 th {
    font-weight: 500;
}

.wp-block-table.is-style-bistrobase-menu-style-1 td:last-child {
    font-size: 2rem;
    text-align: right;
}

.single.single-post .cpm_accordion .accordion-body>* {
    font-size: 18px;
    font-family: var(--flexa-400);
}

@media screen and (min-width: 992px) {
    .page .cpm_accordion .accordion-body>* {
        font-size: 21px;
    }

    .wp-block-table.is-style-bistrobase-menu-style-1 td,
    .wp-block-table.is-style-bistrobase-menu-style-1 th {
        padding: 1.5rem 0;
    }

    .wp-block-table.is-style-bistrobase-menu-style-1 th {
        font-size: 32px;
    }

    .single.single-post .cpm_accordion .accordion-body>* {
        font-size: 22px;
    }
}

.news-content article {
    padding: 30px 0;
}

@media screen and (min-width: 992px) {
    ._title h1 {
        font-size: 48px;
    }

    .news-content article {
        padding: 60px 0 30px;
    }

    .news-banner .author {
        font-size: 21px;
    }

    .news-banner .role {
        font-size: 21px;
    }

    .article-title h1 {
        font-size: 48px;
        padding: 54px 0;
    }

    ._quick_menu {
        padding-right: 0;
    }

    ._quick_menu .icon-user-account:before {
        margin-right: calc(var(--bs-gutter-x) * .5);
    }

    .xxhuge_title {
        /*font-size: 5vw; /* Adjust font size based on viewport width */
        font-size: 15vw;
        white-space: nowrap;
        /* Prevents text from wrapping */
        overflow: hidden;
        /* Hide overflow */
        text-overflow: ellipsis;
        /* Add ellipsis for overflow text */
        /*max-width: 250px; /* Set your desired max width */
    }
}

/* FIX NOV DIC 23 */
.px-6 {
    padding-right: 4rem !important;
    padding-left: 4rem !important;
}

#highlight span.icon-arrow::before {
    font-size: 27px;
}

@media screen and (min-width: 992px) {
    #highlight span.icon-arrow::before {
        font-size: 32px;
    }
}

.abstract-big p {
    font-size: 28px;
    font-family: var(--flexa-300);
}

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

    .abstract-big,
    .abstract-big p {
        font-size: 32px;
        line-height: 1.4 !important;
    }

    #highlight figcaption {
        font-size: 24px;
        margin-bottom: 24px
    }
}

/*.nav-pills .nav-link {
border-radius: 0;
}

.nav-link {
color: var(--primary);
}

.nav-link:focus, .nav-link:hover {
color: var(--primary);
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
color: var(--white);
background-color: var(--primary);
}
*/
.multiple-gallery-nav.nav-pills .nav-link,
.multiple-gallery-nav.nav-pills>.nav-link {
    color: var(--white);
    background-color: var(--primary);
}

/*@media screen and (min-width: 992px) {
    .multiple-gallery-nav.nav-pills .nav-item:not(:last-child) {
        margin-right: 2rem;
    }
}*?

/** TYPOGRAPHY **/
/*h2, .h2, h3, .h3 {
font-family: var(--flexa-500) !important;
}*/
/*@media screen and (min-width: 992px) {
h2, .h2 {
font-size: 3rem!important;
}
}*/
header.entry-header.title-section {
    margin-top: 85px;
}

@media screen and (min-width: 992px) {
    header.entry-header.title-section {
        margin-top: 150px;
    }
}


body.single-bm_residences {
    background-color: var(--matrix-residence);
}

@media screen and (min-width: 992px) {
    /*.design-tabs h3 {
        font-size: 27px;
    }*/

    /*.design-tabs figure figcaption p {
        font-size: 18px;
    }*/
}

/* FIX 2021-01-12*/
body.page-template-default.no-title main {
    margin-top: 88px;
}

@media screen and (min-width: 992px) {
    header.page-template-default.entry-header.title-section {
        margin-top: 150px;
    }
}

.bm-multiple-gallery .multiple-gallery-tab-content.dark-gallery .h2,
.bm-multiple-gallery .multiple-gallery-tab-content.dark-gallery div>a {
    color: #E9FF43;
}

.bm-multiple-gallery .multiple-gallery-nav.dark-gallery .nav-item .nav-link {
    background-color: #D9D9D9;
    color: var(--primary);
}

.bm-multiple-gallery .multiple-gallery-nav .nav-item .nav-link.active {
    background-color: #E9FF43;
    color: var(--primary);
}

a:hover,
a:focus:hover,
a:visited:hover {
    color: var(--primary);
}

.head_1,
.head_2 {
    font-family: var(--flexa-500);
}

body:not(.baseburo-logged-in) .buro-not-logged-hide {
    display: none !important;
}

body.baseburo-logged-in .buro-logged-in-hide {
    display: none !important;
}

body:has(.hero-design-week) {
    background-color: var(--matrix-wwd);
}


.swiper-cmp-scroll-arrow .swiper-scrollbar {
    width: unset;
}

section.hero_video_animated_text {
    margin-bottom: -15px;
    z-index: -1;
}

body.base-rumore section>._container_base h2 {
    font-family: var(--flexa-ext-900) !important;
    font-weight: 900;
}

body.base-rumore .text-light {
    color: #FFE3AD !important;
}

body.base-rumore:has(section),
body.base-rumore a {
    color: #0A082B;
}

section.text-light .swiper-scrollbar-news .swiper-scrollbar-drag,
section.text-light .swiper-scrollbar-ev .swiper-scrollbar-drag,
section.text-light .swiper-scrollbar-ww .swiper-scrollbar-drag {
    background: #E2FF00;
}

section.text-light .swiper-scrollbar-news,
section.text-light .swiper-scrollbar-ev,
.swiper-scrollbar-ww {
    background-color: transparent;
}

@media screen and (min-width: 992px) {
    ._full_menu li.menu-border {
        content: '';
        position: relative;
        display: block;
        border-right: 1px solid var(--primary);
        padding-right: 2.5rem;
    }

    .dark ._full_menu li.menu-border {
        border-right: 1px solid var(--white);
    }
}

/** MENU **/
@media screen and (min-width: 992px) {
    ._menu_base {
        top: 85px;
    }
}

nav.accordion .menu-entries .accordion-header {
    /*  max-width: max-content;*/
    transition: max-width 2s ease-in-out;
}

nav.accordion .menu-entries .accordion-button {
    max-width: max-content;
    /* transition: max-width 4s ease-in-out; */
    position: relative;
}

nav.accordion .menu-entries .accordion-button:not(.collapsed) span.item-label {
    z-index: 1;
}

@media screen and (min-width: 992px) {
    nav.accordion .menu-entries .accordion-button:not(.collapsed) span.item-label {
        padding: 0 2rem;
    }
}

/*nav.accordion .menu-entries .accordion-button:not(.collapsed) {
    display: flex;
    justify-content: flex-end;
    /* right: 0;*/
/*}*/
nav.accordion .menu-entries .accordion-button .mask {
    position: absolute;
    z-index: 0;
    width: 100%;
    left: 0;
    height: 30px;
    /*background: red;*/
}

nav.accordion .menu-entries .accordion-button .item-label {
    transition: transform 0.125s ease-in-out;
    transform: translateX(0);
    /* Start with no translation */
}

nav.accordion .menu-entries .accordion-button .mask {
    transition: transform 0.125s ease-in-out;
    transform: translateX(0);
    /* Start with no translation */
}

nav.accordion .menu-entries .accordion-button:not(.collapsed)::before {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    top: 50%;
    border-top: 2px solid var(--primary);
    z-index: -1;
    width: 100%;
    z-index: 0;
}

nav.accordion .menu-entries .entry-black .accordion-button:not(.collapsed)::before {
    border-top: 2px solid var(--yellow);
}

section.hero_video_animated_text {
    /*height: 80vw;*/
    /*max-height: 900px;*/
    overflow: hidden;
}

body.single-tribe_event_series main.hero-farout {
    overflow: unset;
}

body.page-template-base-wewilldesign #design-accordion._container_base {
    max-width: unset;
    width: auto;
}

section.bm_whatson_component figcaption span.icon-arrow::before {
    font-size: 18px;
}


.icon-bed,
.icon-art,
.icon-camera,
.icon-mic {
    display: inline-block;
    width: 40px;
    /* Width of your icons */
    height: 40px;
    /* Height of your icons */
    background-size: cover;
    background-repeat: no-repeat;
}

.icon-bed {
    background-image: url('../assets/icons/icon-bed.svg');
}

.icon-art {
    background-image: url('../assets/icons/icon-art.svg');
}

.icon-camera {
    background-image: url('../assets/icons/icon-camera.svg');
}

.icon-mic {
    background-image: url('../assets/icons/icon-mic.svg');
}


/* FIX two slider in una riga */
._container_base .wp-bootstrap-blocks-row .row .swiper.swiper-initialized {
    overflow: hidden !important;
}

.single-post .swiper-cmp-gallery {
    overflow: hidden !important;
}


/*@media screen and (min-width: 992px) {

    #agendaAccordion h3 a {
        font-size: 32px;
    }
}*/


.wp-block-image img {
    height: auto !important;
}


.event-menu .info-abstract p {
    margin-bottom: unset;
}

.cmp-main-abstract a {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
}

.cmp-main-abstract a:hover {
    opacity: 0.9;
}



/* FIX per programma archivio */
.bm_whatson_component .calendar {
    display: none !important;
}


.hero_image_animated_image .overflow-title {
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
    position: absolute;
    bottom: 0;
    transform: scale(1);
}


@media screen and (max-width: 991px) {
    p.has-background {
        padding: 1.25em 0;
    }
}


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

    body.dark .bottom-menu,
    body.dark .top-menu {

        border-top: 4px solid var(--white);
        border-bottom: 4px solid var(--white);
    }
}

body #site-header .menu-toggle i.icon-close {
    color: var(--primary);
}

body.dark #site-header .menu-toggle i.icon-close {
    color: var(--white);
}


/* 29 10 2024 */

.page-id-15 .wp-block-heading {
    font-size: clamp(36px, 13vw, 120px) !important
}


body.dark #mobileMenu .accordion-button::after {
    border: var(--white);
}

body.dark #mobileMenu .accordion-button {
    color: var(--white);
}