@font-face {
    font-family: 'atlas_grotesk';
    src: url('../fonts/atlasgrotesk-regular-webfont.woff2') format('woff2'),
        url('../fonts/atlasgrotesk-regular-webfont.woff') format('woff');
}
@font-face {
    font-family: 'amasis_mt';
    src: url('../fonts/monotype__-_amasismtpro-webfont.woff2') format('woff2'),
        url('../fonts/monotype__-_amasismtpro-webfont.woff') format('woff');
}
:root {
    --ff-body: 'atlas_grotesk', sans-serif;
    --ff-title: 'amasis_mt', serif;
    --rosso: #fe5442;
    --azzurro: #00a2c3;
    --giallo: #f1b227;
    --viola: #803e88;
    --nero: #212121;
    --lime:  #92c83e;

    --infanzia: #cfa228;
    --primaria: #c87935;
    --secondaria1: #599cce;
    --secondaria2: #66c652;

    --laboratorio: #803e88;
    --guidata: #fe5442;
    --bambini: #eca549;
    --conferenza: #a1b8ca;
    --esperienza: #00a2c3;
}

@media (min-width:1600px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1540px
    }
}
body {
    font-family: var(--ff-body);
    font-size: 14px;
    color: var(--nero);
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-title);
}
h2 {
    font-size: 30px;
}
h3 {
    font-size: 22px;
}
a {
    transition: all 0.2s ease-in;
}
a,
a:active,
a:link,
a:hover,
a:visited {
    text-decoration: none;
    color: var(--rosso);
}
#content .wpb_alert p:last-child,
.wpb_text_column p:last-child {
    overflow-x: hidden;
}
#content.site-content {
    padding-bottom: 0;
    padding-top: 0;
}
/* Menu */
.navbar-brand {
    padding: 15px;
}
.autohide {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
}
.autohide.bg {
    background-color: var(--rosso);
}
.scrolled-down{
    transform:translateY(-100%);
    transition: all 0.3s ease-in-out;
}
.scrolled-up {
    transform:translateY(0);
    transition: all 0.3s ease-in-out;
}
#buttonTop {
    display: none;
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 9999;
    border: 2px solid var(--rosso);
    outline: none;
    background-color: #fff;
    color: var(--rosso);
    cursor: pointer;
    text-align: center;
    overflow: hidden;
    width: 30px;
    height: 30px;
    border-radius: 30px;
    font-size: 14px;
}
.lb-data .lb-close,
-lb-cancel {
    background-size: contain;
}
.intro-pg {
    font-family: var(--ff-title);
    font-size: 30px;
    line-height: 1.2em;
}
#top-sidebar .item-top {
    height: 35px;
    display: flex;
    align-items: center;
}
#top-sidebar #item-top-search {
    display: none;
}
#top-sidebar #item-top-search label {
    margin-bottom: 0;
}
#top-sidebar #item-top-search .search-field {
    border-radius: 0;
    background-color: var(--nero);
    border-color: var(--nero);
    color: #fff;
}
#top-sidebar #item-top-search button {
    border-radius: 30px;
    width: 30px;
    height: 30px;
    padding: 0;
    line-height: 30px;
}
#masthead nav {
    padding: 0;
    justify-content: space-between;
    align-items: start;
}
.navbar-light .navbar-toggler-icon {
    background-image: url(/wp-content/themes/lacarrara/assets/images/menu.png);
    background-size: contain;
    max-width: 100%;
}
#main-nav {
    padding: 0 15px;
}
#main-nav li > a {
    text-transform: uppercase;
}
body:not(.theme-preset-active) #masthead .navbar-nav {
    margin-bottom: 15px;
}
body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
    padding-top: 15px;
    padding-bottom: 15px;
}
#masthead .navbar-toggler {
    background-color: var(--rosso);
    padding: 5px;
    border-radius: 15px;
    margin: 10px;
}
body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
    font-size: 12px;
    color: #fff;
    font-weight: bold;
}
body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover,
body:not(.theme-preset-active) #masthead .navbar-nav > li.current_page_item > a {
    color: var(--rosso);
}
body:not(.theme-preset-active) #masthead .bg .navbar-nav > li > a:hover,
body:not(.theme-preset-active) #masthead .bg .navbar-nav > li.current_page_item > a {
    color: var(--nero);
}
.btn,
body .gform_wrapper.gravity-theme .gform_footer button,
body .gform_wrapper.gravity-theme .gform_footer input,
body .gform_wrapper.gravity-theme .gform_page_footer button,
body .gform_wrapper.gravity-theme .gform_page_footer input {
    border-radius: 0;
    border: 1px solid;
    background-color: transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    transition: all 0.2s ease-in;
}
.btn.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: .875rem;
    line-height: 1rem;
}
.btn.btn-sm.btn-round {
    text-align: center;
    width: 30px;
    height: 30px;
}
.btn.btn-bianco {
    color: #fff;
    border-color: #fff;
}
.btn.btn-bianco:hover {
    color: var(--nero);
    background-color: #fff;
}
.btn.btn-nero {
    color: var(--nero);
    border-color: var(--nero);
}
.btn.btn-nero:hover {
    color: #fff;
    background-color: var(--nero);
}
.btn.btn-rosso {
    color: var(--rosso);
    border-color: var(--rosso);
}
.btn.btn-rosso:hover {
    color: #fff;
    background-color: var(--rosso);
}
.btn.btn-filled,
body .gform_wrapper.gravity-theme .gform_footer button,
body .gform_wrapper.gravity-theme .gform_footer input,
body .gform_wrapper.gravity-theme .gform_page_footer button,
body .gform_wrapper.gravity-theme .gform_page_footer input {
    border-radius: 60px;
}
.btn.btn-filled.btn-bianco {
    color: var(--rosso);
    background-color: #fff;
    border-color: #fff;
}
.btn.btn-filled.btn-bianco:hover {
    background-color: var(--rosso);
    color: #fff;
    border-color: var(--rosso);
}
.btn.btn-filled.btn-nero {
    color: #fff;
    background-color: var(--nero);
    border-color: var(--nero);
}
.btn.btn-filled.btn-nero:hover {
    color: var(--nero);
    background-color: #fff;
    border-color: #fff;
}
.btn.btn-filled.btn-rosso,
body .gform_wrapper.gravity-theme .gform_footer button,
body .gform_wrapper.gravity-theme .gform_footer input,
body .gform_wrapper.gravity-theme .gform_page_footer button,
body .gform_wrapper.gravity-theme .gform_page_footer input {
    color: #fff;
    background-color: var(--rosso);
    border-color: var(--rosso);
}
.btn.btn-filled.btn-rosso:hover,
body .gform_wrapper.gravity-theme .gform_footer button,:hover
body .gform_wrapper.gravity-theme .gform_footer input:hover,
body .gform_wrapper.gravity-theme .gform_page_footer button:hover,
body .gform_wrapper.gravity-theme .gform_page_footer input:hover {
    color: var(--rosso);
    background-color: #fff;
    border-color: #fff;
}
.search-form label {
    margin-bottom: 0;
}
body .vc_separator.wpb_content_element {
    margin: 20px 0;
}
body .vc_column-inner > .wpb_wrapper {
    padding: 15px 0;
}
body .wpb_text_column.wpb_content_element h2 {
    margin-top: 0;
}
body .wpb_text_column.wpb_content_element h3 {
    margin-top: 0;
    color: var(--rosso);
    text-transform: uppercase;
}
body .vc_col-has-fill>.vc_column-inner {
    padding-top: 0;
}
body .vc_row > .vc_column_container.jcc > .vc_column-inner {
    justify-content: center;
}
.page-item.active .page-link {
    background-color: var(--rosso);
}
.page-link {
    color: var(--rosso);
    border: none;
}
.page-link:hover {
    color: var(--rosso);
}
.youtube_player_wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}
.youtube_player_wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.social-links a {
    display: inline-block;
    margin-left: 10px;
}
.social-links a:first-child {
    margin-left: 0;
}
footer .social-links a {
    font-size: 13px;
}
/* Top menu */
#top-sidebar {
    background-color: #000;
    color: #fff;
    padding: 5px 25px;
    display: none;
}
#top-sidebar .widget {
    margin: 0;
}
header#masthead {
    padding: 0;
}
.dropdown-menu {
    border-radius: 0;
    right: 0;
    left: auto;
}
.dropdown-menu .dropdown-item {
    font-size: 13px;
    line-height: 1.2em;
    color: var(--nero);
    padding: 15px 1rem;
}
.dropdown-menu .dropdown-item:hover {
    color: var(--rosso);
}
.galleria .splide__slide {
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.lb-data {
    color: #fff;
}
.lb-data .lb-caption {
    font-weight: normal;
}
.splide__pagination {
    position: relative;
    height: auto;
}
.splide__pagination__page {
    border: 4px solid;
    height: 0;
    width: 4px;
    border-color: #616161;
}
.splide__pagination__page.is-active {
    transform: none;
    border-color: var(--rosso);
}
/* Common objects */
#smooth-content {
    position: relative;
    overflow: visible;
    width: 100%;
}
.parallax.tac {
    display: none;
}
.parallax {
    position: relative;
    transform: none;
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}
/*
.video-wrapper h1 {
    display: none;
}
*/
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the container */
}
.home #testo_video {
    position: absolute;
    width: 100%;
    bottom: 75px;
    display: flex;
    margin: 0;
}
.home #testo_video h1 {
    font-size: 48px;
    color: #fff;
    font-weight: normal;
    display: inline-block;
}
.page-title {
    position: absolute;
    bottom: 0px;
    color: #fff;
}
h1.entry-title,
.single-progetto .page-title h2,
.single-opera .page-title h2,
.single-bacheca .page-title h1,
.search .page-title h1 {
    border-bottom: none;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 48px;
    font-weight: normal;
    color: #fff;
}
.page-title #breadcrumbs,
.page-title #breadcrumbs a,
.page-title #breadcrumbs a:visited {
    color: #fff;
}
.img-intro .bg-image {
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}
.page .img-intro,
.single-progetto .img-intro,
.single-opera .img-intro,
.single-bacheca .img-intro,
.single-evento .img-intro,
.single-notizia .img-intro,
.search .img-intro,
.error404 .img-intro {
    height: 300px;
}
.page .img-intro .bg-image,
.single-progetto .img-intro .bg-image,
.single-opera .img-intro .bg-image,
.single-bacheca .img-intro .bg-image,
.single-evento .img-intro .bg-image,
.single-notizia .img-intro .bg-image,
.search .img-intro .bg-image,
.error404 .img-intro .bg-image {
    height: 450px;
}
.search h2.entry-title {
    font-size: 22px;
}
.single-progetto h1.entry_title {
    margin-top: 5px;
}
.single-progetto h3.entry_title {
    margin-bottom: 0;
    text-transform: uppercase;
    font-size: 14px;
    font-family: var(--ff-body);
}
.single-progetto h4 {
    margin-top: 5px;
    margin-bottom: 0;
}
.single-progetto h4 > p {
    margin-bottom: 0;
}
.single-progetto h4 > i {
    width: 25px;
    text-align: center;
}
.single-opera h1 {
    color: var(--rosso);
    margin-bottom: 0;
    font-weight: normal;
}
.single-opera .date {
    font-size: 24px;
    font-family: var(--ff-title);
}
.single-opera .details > .detail {
    border-top: 1px solid #ccc;
    padding: 10px 0;
    display: flex;
    justify-content: flex-start;
    font-size: 13px;
}
.single-opera .details > .detail ul {
    padding-left: 15px;
}
.single-opera .details > .detail:last-child {
    border-bottom: 1px solid #ccc;
}
.single-opera .details > .detail .title {
    font-weight: bold;
    flex-basis: 150px;
    flex-grow: 0;
    flex-shrink: 0;
    font-family: var(--ff-title);
    font-size: 16px;
}
.single-opera h4 {
    color: var(--rosso);
}
.single-opera h5 {
    font-size: 24px;
}
.single-bacheca h2 {
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 0;
}
.single-bacheca h3 {
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 0;
}
.single-bacheca .date {
    font-size: 14px;
    font-family: var(--ff-title);
}
.single-bacheca .item {
    border-bottom: 1px solid #ccc;
}
.iscrizione_nl {
    max-width: 100%;
    vertical-align: middle;
    color: var(--rosso);
    font-family: var(--ff-title);
    font-size: 48px;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
}
.iscrizione_nl a,
.iscrizione_nl a:active,
.iscrizione_nl a:link,
.iscrizione_nl a:hover,
.iscrizione_nl a:visited {
    color: var(--rosso);
    text-decoration: none;
}
.iscrizione_nl .item,
.ticker-items {
    display: inline-block;
}
.iscrizione_nl .iscriviti {
    text-transform: uppercase;
}
body .vc_tta-tabs.vc_tta-tabs-position-left .vc_tta-tab {
    min-width: 255px;
}
body .vc_tta.vc_tta-style-classic .vc_tta-tabs-list {
    padding-top: 0;
}
body .vc_tta-tabs.vc_tta-tabs-position-left {
    border-top: 1px solid var(--rosso);
}
body .vc_tta-color-grey.vc_tta-style-classic.vc_tta-tabs .vc_tta-panels, .vc_tta-color-grey.vc_tta-style-classic.vc_tta-tabs .vc_tta-panels::after, .vc_tta-color-grey.vc_tta-style-classic.vc_tta-tabs .vc_tta-panels::before {
    border-color: transparent;
}
body .vc_tta-color-grey.vc_tta-style-classic.vc_tta-tabs .vc_tta-panels {
    background-color: transparent;
}
body .vc_tta-color-grey.vc_tta-style-classic .vc_tta-tab>a {
    border-color: var(--rosso);
    background-color: transparent;
    color: var(--rosso);
    font-weight: bold;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    border-left-width: 0;
    border-right-width: 0;
    border-top-width: 0;
}
body .vc_tta-color-grey.vc_tta-style-classic .vc_tta-tab>a:first-child,
body .vc_tta-color-grey.vc_tta-style-classic .vc_tta-tab.vc_active>a:first-child {
    border-top-width: 1px;
}
body .vc_tta-color-grey.vc_tta-style-classic .vc_tta-tab>a:focus,
body .vc_tta-color-grey.vc_tta-style-classic .vc_tta-tab>a:hover,
body .vc_tta-color-grey.vc_tta-style-classic .vc_tta-tab.vc_active>a{
    background-color: var(--rosso);
    color: #fff;
}
body .vc_tta.vc_tta-shape-rounded .vc_tta-panel-body,
body .vc_tta.vc_tta-shape-rounded .vc_tta-panel-heading {
    border-radius: 0;
}
body .vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel .vc_tta-panel-body {
    background-color: #f3f3f3;
}
body .vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel.vc_active .vc_tta-panel-title>a,
body .vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel .vc_tta-panel-title>a {
    color: #fff;
}
body .vc_tta-color-grey.vc_tta-style-classic .vc_active .vc_tta-panel-heading .vc_tta-controls-icon::after,
body .vc_tta-color-grey.vc_tta-style-classic .vc_active .vc_tta-panel-heading .vc_tta-controls-icon::before,
body .vc_tta-color-grey.vc_tta-style-classic .vc_tta-controls-icon::after,
body .vc_tta-color-grey.vc_tta-style-classic .vc_tta-controls-icon::before{
    border-color: var(--rosso);
}
body .vc_tta.vc_general .vc_tta-panel-title {
    font-family: var(--ff-body);
    background-color: var(--rosso);
}
body .vc_tta.vc_tta-style-classic .vc_tta-panel-heading {
    border-width: 0;
}
body .vc_tta-panel {
    border-bottom: 1px solid #fff;
    margin-bottom: 1px;
    padding-bottom: 1px;
}
body .gform_wrapper.gravity-theme .gfield_label {
    font-size: 14px;
}
.home .mostra {
    color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover
}
.home .mostra .bg-image {
    height: 650px;
}
.home .mostra .content {
    padding: 0 30px;
    position: absolute;
    top: 0;
}
.home .mostra .data_mostra {
    font-size: 30px;
}
.home .mostra .titolo_mostra {
    font-size: 50px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.1em;
    font-family: var(--ff-title);
}
.home .mostra .excerpt_mostra {
    font-size: 15px;
    line-height: 1.5em;
}
[data-id="progetti"] .intro_progetto,
#eventi .intro_evento {
    background-color: #fff;
    transition: all 0.2s ease-in;
}
[data-id="progetti"] .intro_progetto .tac,
#eventi .intro_evento .tac {
    position: absolute;
    height: 60px;
    width: 20px;
    right: 20px;
    bottom: -30px;
    /*
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    */
}
[data-id="progetti"] .intro_progetto .tac.hover,
#eventi .intro_evento .tac.hover {
    display: none;
}
[data-id="progetti"] .intro_progetto:hover .tac.hover,
#eventi .intro_evento:hover .tac.hover {
    display: block;
}
[data-id="progetti"] .intro_progetto .tac.base,
#eventi .intro_evento .tac.base {
    display: block;
}
[data-id="progetti"] .intro_progetto:hover .tac.base,
#eventi .intro_evento:hover .tac.base {
    display: none;
}
[data-id="progetti"] .intro_progetto h6,
#eventi .intro_evento h6 {
    transition: all 0.2s ease-in;
}

/*
infanzia : Scuola dell’infanzia
primaria : Scuola Primaria
secondaria1 : Scuola Secondaria di 1° grado
secondaria2 : Scuola Secondaria di 2° grado
adulti : Adulti
disabili : Persone fragili e con disabilità
bambini : Bambini e famiglie
*/



[data-id="progetti"] .intro_progetto:hover,
[data-id="progetti"] .intro_progetto:hover h5 a,
[data-id="progetti"] .intro_progetto:hover h6,
[data-id="progetti"] .intro_progetto.infanzia:hover h5 a,
[data-id="progetti"] .intro_progetto.primaria:hover h5 a,
[data-id="progetti"] .intro_progetto.secondaria1:hover h5 a,
[data-id="progetti"] .intro_progetto.secondaria2:hover h5 a,
[data-id="progetti"] .intro_progetto.adulti:hover h5 a,
[data-id="progetti"] .intro_progetto.disabili:hover h5 a,
[data-id="progetti"] .intro_progetto.bambini:hover h5 a,
#eventi .intro_evento:hover,
#eventi .intro_evento:hover h5 a,
#eventi .intro_evento:hover h6,
#eventi .intro_evento.laboratorio:hover h5 a,
#eventi .intro_evento.guidata:hover h5 a,
#eventi .intro_evento.bambini:hover h5 a,
#eventi .intro_evento.conferenza:hover h5 a,
#eventi .intro_evento.esperienza:hover h5 a {
    color: #fff;
}
[data-id="progetti"] .intro_progetto.infanzia h5 a {
    color: var(--infanzia);
}
[data-id="progetti"] .intro_progetto.primaria h5 a {
    color: var(--primaria);
}
[data-id="progetti"] .intro_progetto.secondaria1 h5 a {
    color: var(--secondaria1);
}
[data-id="progetti"] .intro_progetto.secondaria2 h5 a {
    color: var(--secondaria2);
}
[data-id="progetti"] .intro_progetto.bambini h5 a {
    color: var(--bambini);
}
[data-id="progetti"] .intro_progetto.adulti h5 a,
[data-id="progetti"] .intro_progetto.disabili h5 a{
    color: var(--rosso);
}
#eventi .intro_evento.laboratorio h5 a {
    color: var(--laboratorio);
}
#eventi .intro_evento.guidata h5 a {
    color: var(--guidata);
}
#eventi .intro_evento.bambini h5 a {
    color: var(--bambini);
}
#eventi .intro_evento.conferenza h5 a {
    color: var(--conferenza);
}
#eventi .intro_evento.esperienza h5 a {
    color: var(--esperienza);
}
[data-id="progetti"] .intro_progetto.infanzia:hover {
    background-color: var(--infanzia);
}
[data-id="progetti"] .intro_progetto.primaria:hover {
    background-color: var(--primaria);
}
[data-id="progetti"] .intro_progetto.secondaria1:hover {
    background-color: var(--secondaria1);
}
[data-id="progetti"] .intro_progetto.secondaria2:hover {
    background-color: var(--secondaria2);
}
[data-id="progetti"] .intro_progetto.bambini:hover {
    background-color: var(--bambini);
}
[data-id="progetti"] .intro_progetto.adulti:hover,
[data-id="progetti"] .intro_progetto.disabili:hover{
    background-color: var(--rosso);
}
#eventi .intro_evento.laboratorio:hover {
    background-color: var(--laboratorio);
}
#eventi .intro_evento.guidata:hover {
    background-color: var(--guidata);
}
#eventi .intro_evento.bambini:hover {
    background-color: var(--bambini);
}
#eventi .intro_evento.conferenza:hover {
    background-color: var(--conferenza);
}
#eventi .intro_evento.esperienza:hover {
    background-color: var(--esperienza);
}
#eventi .content {
    padding: 15px;
    height: 310px;
}
#mostre .content {
    padding: 15px;
    height: 180px;
    background-color: #e9e9e9;
}
#eventi .intro_evento .img_bg,
#mostre .intro_mostra .img_bg,
[data-id='progetti'] .intro_progetto .img_bg {
    height: 300px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
#eventi h5,
#mostre h5,
[data-id='progetti'] h5 {
    font-size: 18px;
    line-height: 20px;
    margin-top: 5px;
}
#eventi h6,
[data-id='progetti'] h6 {
    margin-top: 0;
    margin-bottom: 5px;
    font-family: var(--ff-body);
    font-size: 13px;
}
#eventi .post_when,
#mostre .post_when {
    font-weight: bold;
    font-size: 13px;
    padding-bottom: 5px;
}
#eventi .read_more,
#mostre .read_more,
[data-id='progetti'] .read_more {
    bottom: 0;
    margin-top: 10px;
    margin-bottom: 15px;
}
[data-id='progetti']  .content {
    padding: 15px;
    height: 290px;
}
/*
[data-id='progetti'] .intro_progetto {
    background-color: #fff;
}
[data-id='progetti'] .intro_progetto .img_bg {
    height: 200px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
*/
#opere .intro_opera .img_bg {
    height: 160px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}
#opere .intro_opera h2 {
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 0;
    padding-bottom: 0;
}
#opere .intro_opera h2 a {
    color: var(--nero);
}
#opere .intro_opera h3 {
    font-size: 13px;
    margin-top: 0;
    font-family: var(--ff-body);
    font-weight: normal;
    line-height: 1.2em;
}
#opere .content {
    padding: 15px;
    height: 180px;
}
#lista_progetti .progetto {
    border-bottom: 1px solid #ebebeb;
    flex-direction: column;
    margin-bottom: 30px;
}
.single-progetto h1,
.single-progetto .info,
.single-progetto h4 > i {
    color: var(--rosso);
}
#lista_progetti .progetto h2.infanzia a,
[data-id='progetti'] h5.infanzia a,
.single-progetto h1.infanzia,
.single-progetto .info.infanzia,
.single-progetto h4 > i.infanzia {
    color: var(--infanzia);
}
#lista_progetti .progetto h2.primaria a,
[data-id='progetti'] h5.primaria a,
.single-progetto h1.primaria,
.single-progetto .info.primaria,
.single-progetto h4 > i.primaria {
    color: var(--primaria);
}
#lista_progetti .progetto h2.secondaria1 a,
[data-id='progetti'] h5.secondaria1 a,
.single-progetto h1.secondaria1,
.single-progetto .info.secondaria1,
.single-progetto h4 > i.secondaria1 {
    color: var(--secondaria1);
}
#lista_progetti .progetto h2.secondaria2 a,
[data-id='progetti'] h5.secondaria2 a,
.single-progetto h1.secondaria2,
.single-progetto .info.secondaria2,
.single-progetto h4 > i.secondaria2 {
    color: var(--secondaria2);
}
#lista_progetti .progetto h2 {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: normal;
}
#lista_progetti .progetto h3 {
    margin-top: 0;
    font-size: 13px;
    font-family: var(--ff-body);
    text-transform: uppercase;
    margin-bottom: 10px;
}
#news h3,
#altre_notizie h3 {
    margin-top: 5px;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}
#altre_notizie h3 {
    font-family: var(--ff-body);
    line-height: 1.2em;
}
#news .post_date,
#altre_notizie .post_date {
    font-weight: bold;
    font-size: 13px;
    padding-bottom: 5px;
}
#sostienici {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url('/wp-content/themes/lacarrara/assets/images/bg-sostienici.jpg');
    padding: 15px;
    color: #fff;
}
#sostienici > p {
    font-weight: bold;
    font-size: 13px;
}
#sostienici > h4 {
    font-weight: bold;
    font-size: 34px;
    line-height: 1.05em;
    font-family: var(--ff-body);
}
#sostienici > img {
    width: 50px;
}
#sostienici h4 {
    color: #fff;
}
.info-container {
    background-color: #f1eee9;
}
.info-container .bg-image {
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
}
.info-container .text-container {
    padding: 15px;
    min-height: 350px;
}
.info-container .text-container p {
    margin-bottom: 0;
}
.info-container h4 {
    font-size: 20px;
    color: var(--rosso);
}
/* Homepage */
.home h2 {
    font-weight: normal;
    font-size: 32px;
}
.home h2 p {
    margin-bottom: 0;
}
.home h3 {
    font-weight: bold;
    font-size: 22px;
    font-family: var(--ff-body);
    line-height: 1.2em;
}
.home .image-wrapper {
    height: 90vh;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.home .image-wrapper h1 {
    position: absolute;
    bottom: 0;
    font-size: 72px;
    color: #fff;
}
#blocchi_se .image-reveal,
.home #blocchi_home .image-reveal {
    display: block;
    margin: 20px 0;
    color: #fff;
    font-family: var(--ff-title);
    font-weight: bold;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.home #blocchi_home .image-reveal {
    font-size: 34px;
}
#blocchi_se .image-reveal {
    font-size: 28px;
    line-height: 1.1em;
    text-align: center;
}
#blocchi_se .image-reveal a,
.home #blocchi_home .image-reveal a {
    display: block;
    height: 100%;
    padding: 40px;
    transition: background-color .35s ease-in-out;
    color: #fff;
}
#blocchi_se .image-reveal a {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
}
#blocchi_se .image-reveal a:hover,
.home #blocchi_home .image-reveal a:hover {
    color: #fff;
}
.home #blocchi_home .image-reveal.catalogo-online {
    position: relative;
}
.home #blocchi_home .image-reveal.catalogo-online a,
#blocchi_se .image-reveal.accessibilita a {
    background-color: var(--azzurro);
}
.home #blocchi_home .image-reveal.biglietteria a,
#blocchi_se .image-reveal.bambini a {
    background-color: var(--giallo);
}
.home #blocchi_home .image-reveal.servizi-educativi a,
#blocchi_se .image-reveal.scuole a {
    background-color: var(--viola);
}
.home #blocchi_home .image-reveal.giardini-pwc a {
    background-color: var(--lime);
}
#blocchi_se .image-reveal.adulti a {
    background-color: var(--rosso);
}
.home .img-intro,
.single-mostra .img-intro {
    height: 90vh;
}
.home .ttro .bg-image,
.single-mostra .img-intro .bg-image {
    height: 120vh;
}
.single-evento .text-container p {
    margin-bottom: 0;
}
.single-evento .rassegna_evento {
    padding-left: 15px;
}
.single-evento .rassegna_date {
    font-size: 12px;
}
.single-evento .rassegna_title {
    font-size: 12px;
    font-weight: bold;
}
.single-mostra .page-title h1,
.single-mostra .page-title #breadcrumbs {
    max-width: 75%;
}
.single-mostra .page-title h2 {
    color: #fff;
    font-weight: normal;
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}
.single-mostra .page-title .date-title {
    font-weight: bold;
    margin-bottom: 10px;
}
.single-mostra .tac.main {
    position: absolute;
    width: auto;
    height: 150px;
    top: -100px;
    right: 20px;
    z-index: 9999;
}
.single-mostra .sponsor {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.single-mostra .sponsor .titolo_categoria {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 10px;
    white-space: nowrap;
}
.single-mostra .sponsor .loghi {
    padding-top: 20px;
    margin-top: 5px;
    border-top: 1px solid #ccc;
}
.single-mostra .sponsor .logo {
    padding-right: 10px;
}
.single-mostra .sponsor .categoria {
    margin-bottom: 30px;
    padding-right: 10px;
}
.home .page h1.entry-title {
    font-size: 72px;
}
.home .img-intro .bg-image {
    background-position: center center;
}
.wt-cli-cookie-bar-container {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
}
#wt-cli-settings-btn {
    border: 0 !important;
}
#cookie-law-info-bar, .wt-cli-cookie-bar {
    position: absolute !important;
}
/* Catalogo */
.noUi-horizontal {
    height: 2px;
}
.noUi-target {
    background-color: #000;
    border: 0;
    box-shadow: none;
    flex-basis: 80%;
    flex-grow: 2;
}
.noUi-horizontal .noUi-handle {
    width: 15px;
    height: 15px;
    top: -7px;
    right: -15px;
    border-radius: 15px;
    cursor: ew-resize;
    background-color: var(--rosso);
    border: 0;
    box-shadow: none;
}
.noUi-handle:after, .noUi-handle:before {
    display: none;
}
.noUi-connect {
    background-color: var(--rosso);
}
.select2-container--default .select2-selection--single {
    border-color: #ced4da;
    height: 38px;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #666666;
    font-size: 16px;
    padding: 0 5px;
    line-height: 38px;
}
.form-control::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #666666;
    opacity: 1; /* Firefox */
}
.form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #666666;
}
.form-control::-ms-input-placeholder { /* Microsoft Edge */
    color: #666666;
}
.page-template-search-bandi .bando h3 {
    color: var(--rosso);
}
.page-template-search-bandi .bando h4 {
    margin-top: 5px;
    margin-bottom: 0;
}
.page-template-search-bandi .in_corso  {
    margin-bottom: 50px;
}
.page-template-search-bandi .bando .post_intro {
    margin-top: 15px;
    margin-bottom: 0;
}
.page-template-search-bandi .scaduti .bando {
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.page-template-search-bandi .in_corso .bando:last-child {
    border-bottom: none;
}
.page-template-search-bandi .in_corso .bando {
    border-bottom: 1px solid #ccc;
    padding-bottom: 30px;
    margin-bottom: 30px;
}
.page-template-search-bandi .scaduti .bando:last-child {
    border-bottom: none;
}
/* Footer */
body:not(.theme-preset-active) footer#colophon {
    background-color: #e9e9e9;
    color: #000;
    padding-top: 30px;
    position: relative;
}
body:not(.theme-preset-active) footer#colophon .footer-container {
    background-color: #e9e9e9;
}
#footer-widget img {
    display: block;
}
#footer-widget h3 img {
    display: inline-block;
    margin-right: 5px;
}
#footer-widget ul {
    list-style: none;
    padding-left: 0;
}
#footer-widget h3 {
    font-size: 18px;
    font-family: var(--ff-title);
    line-height: 25px;
}
#footer-uffici {
    margin-top: 5px;
}
footer .blocco-sponsor {
    display: flex;
    align-items: center;
}
footer .blocco-sponsor a {
    position: relative;
    display: block;
}
body .biglietteria .vc_tta-panel {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
body .biglietteria .vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel .vc_tta-panel-heading {
    border: none;
    background-color: transparent;
}
body .biglietteria .vc_tta.vc_general .vc_tta-panel-title {
    background-color: transparent;
    line-height: 1.2em;
    font-size: 13px;
    font-weight: normal;
}
body .biglietteria .vc_tta.vc_general .vc_tta-panel-title>a {
    padding: 0;
    display: inline;
    text-decoration: underline;
    color: #666 !important;
}
body .biglietteria .vc_separator.wpb_content_element {
    margin-bottom: 10px;
}
body .biglietteria h4.color-rosso {
    font-weight: 200;
    font-size: 20px;
}
body .biglietteria-intro.vc_tta.vc_tta-accordion .vc_tta-controls-icon-position-left > a {
    text-decoration: none;
}
body .biglietteria-intro.vc_tta.vc_tta-accordion .vc_tta-controls-icon-position-left .vc_tta-title-text {
    padding-left: 15px;
    color: #000;
    font-size: 14px;
    line-height: 1.5em;
}
body .biglietteria-intro.vc_tta.vc_tta-accordion .vc_tta-controls-icon-position-left .vc_tta-controls-icon {
    left: 0;
}
.color-rosso {
    color: var(--rosso);
}
/* Contenitore del video */
.video-item {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}
/* Elemento per mantenere il rapporto d'aspetto */
.video-item::before {
    content: '';
    display: block;
    padding-top: 56.25%; /* Calcolato come (9/16)*100% */
}
/* Elemento video */
.video-item video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
@media (min-width: 576px) {
    #buttonTop {
        width: 40px;
        height: 40px;
    }
}
@media (min-width: 768px) {
    #top-sidebar {
        display: block;
        position: absolute;
        top: 0;
        z-index: 9999;
    }
    #top-sidebar .item-top {
        padding: 0 10px;
    }
    #top-sidebar .item-top:last-child {
        padding-right: 0;
    }
    #top-sidebar a {
        color: #fff;
        text-transform: uppercase;
        font-size: 0.75rem;
    }
    #top-sidebar a:link,
    #top-sidebar a:hover {
        text-decoration: none;
    }
    body:not(.theme-preset-active) #masthead .navbar-nav {
        margin-bottom: 0;
    }
    #masthead nav {
        border-bottom: 1px solid #fff;
        justify-content: center;
        align-items: center;
    }
    .dropdown-menu .dropdown-item {
        font-size: 12px;
        padding: 5px 1rem;
    }
    .home .mostra .content {
        max-width: 50%
    }
    .home h3 {
        font-size: 36px;
    }
    .home h2 {
        font-size: 50px;
    }

    .home .mostra .excerpt_mostra {
        font-size: 18px;
        line-height: 2em;
    }
    .page .entry-content {
        margin-top: 50px;
    }
    .footer-bottom-right {
        text-align: right;
    }
    body .wpb_single_image .vc_figure-caption{
        position: absolute;
        bottom: 0;
        right: 0;
        transform-origin: right bottom;
        transform: rotate(270deg);
        margin: 0;
        font-style: italic;
        white-space: nowrap;
    }
    .parallax.tac {
        display: block;
    }
    .parallax {
        width: 45%;
        height: auto;
        position: absolute;
        top: 0;
        will-change: transform;
        z-index: 100;
    }
    .parallax.left{
        left: 0;
    }
    .parallax.right{
        right: 0;
    }
    .parallax.tac {
        width: auto;
        height: 300px;
        top: 20%;
        z-index: 9999;
    }
    .parallax.tac.left{
        left: 20%;
    }
    .parallax.tac.right{
        right: 20%;
    }
    #lista_progetti .progetto {
        flex-direction: row;
    }
    #lista_progetti .progetto > img {
        width: 250px;
        margin-right: 30px;
        object-fit: contain;
    }
    .home #testo_video {
        bottom: 15px;
    }
    .home #testo_video h1 {
        font-size: 72px;
    }
    /*
    .home #blocchi_home .image-reveal.catalogo-online {
        height: calc(80vh + 40px);
    }
    */
    .home #blocchi_home .image-reveal.biglietteria,
    .home #blocchi_home .image-reveal.servizi-educativi,
    .home #blocchi_home .image-reveal.catalogo-online,
    .home #blocchi_home .image-reveal.giardini-pwc {
        height: 60vh;
    }
    #blocchi_se .image-reveal {
        height: 20vh;
    }
    .single-mostra .tac.main {
        height: 200px;
        top: -150px;
        right: 0;
    }
    body .vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel.vc_active .vc_tta-panel-title>a,
    body .vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel .vc_tta-panel-title>a {
        color: #000;
    }
    .splide__pagination__page {
        border-radius: 0;
        border: 2px solid;
        width: 65px;
    }
}
@media (min-width: 1200px) {
    .home .mostra .content {
        max-width: 40%
    }
}
@media (max-width: 767px) {
    body .vc_row[class*="vc_column-gap-"] {
        margin-left: -15px;
        margin-right: -15px;
    }
    .home .mostra .titolo_mostra {
        font-size: 36px;
    }
    .home .mostra .data_mostra {
        font-size: 22px;
    }
    .single-mostra .tac.main {
        right: 10px;
    }
}
@media (max-width: 575px) {
    h1.entry-title {
        font-size: 32px;
    }
    .video-wrapper {
        position: relative;
        width: 100%;
        height: 100vh; /* Full viewport height */
        padding-bottom: 0; /* Remove padding to use full height */
    }
    .video-wrapper video {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Ensure the video covers the container */
        object-position: center; /* Center the video */
    }
}
