:root {
    --navbar-button-color: #F7F7F7;
}

html {
	scroll-padding-top: 100px; /*anchor fix*/
    /*let scrollbar always visible*/
    overflow: -moz-scrollbars-vertical;
}

body {
    background: url(../img/sfondo-bianco.png);
    background-repeat: repeat;
    background-size: contain;
    background-position: center center;
    padding-right: 0 !important; /*let scrollbar always visible*/
}

@media (min-width: 576px) {
	html {
        overflow-y: scroll;
    }
}

@media (max-width: 576px) {
	html {
		scroll-padding-top: 100px; /*anchor fix*/
	}
}

@font-face {
    font-family: Mono45Headline-Light;
    src: url(../fonts/Mono45Headline-Light.ttf);
}

@font-face {
    font-family: Mono45Headline-Regular;
    src: url(../fonts/Mono45Headline-Regular.ttf);
}

@font-face {
    font-family: Mono45Headline-Bold;
    src: url(../fonts/Mono45Headline-Bold.ttf);
}

@font-face {
    font-family: OpenSans-Regular;
    src: url(../fonts/OpenSans-Regular.ttf);
}

@font-face {
    font-family: OpenSans-Semibold;
    src: url(../fonts/OpenSans-Semibold.ttf);
}

@font-face {
    font-family: OpenSans-Italic;
    src: url(../fonts/OpenSans-Italic.ttf);
}

@font-face {
    font-family: OpenSans-SemiboldItalic;
    src: url(../fonts/OpenSans-SemiboldItalic.ttf);
}

@font-face {
    font-family: OpenSans-Bold;
    src: url(../fonts/OpenSans-Bold.ttf);
}

.post, .page {
    margin: 0;
}

/* .navbar-brand {
    z-index: 9999;
} */

nav a:focus {
    outline: none;
}

nav .offcanvas {
    background-color: #00000082;/* 00000066 */
    transition: transform 0.5s ease-in-out;
    backdrop-filter: blur(10px);
    filter: brightness(1.15);
}

nav .offcanvas.offcanvas-top {
    height: 100%;
}

.offcanvas-backdrop.show {
    opacity: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

#nav {
    padding-right: 0 !important; /*let scrollbar always visible*/
    transition: 0.3s ease-in-out;
}

#nav.scrolled {
    background-color: #ffffff;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 10%);
}

nav ul {
    margin: 0;
    list-style: none;
    padding-left: 0;
}

@media (max-width: 576px) {
    nav ul {
        text-align: center;
    }
    nav .offcanvas {
        background-color: #000000de;
    }
    /* .offcanvas-body {
        padding-top: 100px;
    } */
}

nav .menu-item {
    margin-bottom: 20px;
    display: block;
}

nav .menu-item a {
    font-family: OpenSans-Regular;
    font-size: 17px;
    color: #ffffff;
    text-decoration: none;
}

nav .menu-item a:hover {
    text-decoration: underline;
}

nav .current-menu-item a {
    font-family: OpenSans-Bold;
}

/* margine dopo l'ultima voce del menu (il futuro) */
nav .menu-item-56 {
    margin-bottom: 30px;
    padding-bottom: 30px;
    position: relative;
}

nav .menu-item-56 a::after {
    content: '';
    width: 40px;
    position: absolute;
    border: 1px solid #ffffff80;
    bottom: 0;
    left: 0;
}

@media (max-width: 576px) {
    nav .menu-item-56 a::after {
        left: 50%;
        transform: translate(-50%, 0);
    }
}

/* hamburger */
.hamburger {
    padding: 15px 15px;
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
    z-index: 9999;
}
.hamburger:hover {
    opacity: 1;
}
.hamburger.is-active:hover {
    opacity: 1;
}
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
    background-color: var(--navbar-button-color);
}
.hamburger-box {
    width: 22.5px;
    height: 24px;
    display: inline-block;
    position: relative;
    /* filter: drop-shadow(0.5px 0.5px 0.5px white); */
}
.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 22.5px;
    height: 3px;
    background-color: var(--navbar-button-color);
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}
.hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block;
}
.hamburger-inner::before {
    top: -7px;
}
.hamburger-inner::after {
    bottom: -7px;
}
    
.hamburger--spin .hamburger-inner {
    transition-duration: 0.22s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--spin .hamburger-inner::before {
    transition: top 0.1s 0.25s ease-in, opacity 0.1s ease-in;
}
.hamburger--spin .hamburger-inner::after {
    transition: bottom 0.1s 0.25s ease-in, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--spin.is-active .hamburger-inner {
    transform: rotate(225deg);
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hamburger--spin.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out;
}
.hamburger--spin.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}
/* end hamburger */

.main-header {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /*parallax*/
    height: 100vh;
}

.banner-navigazione {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /*parallax*/
}

.page-id-21 .banner-navigazione {
    background-image: url(../img/header-la-fama-min.png);
}

.page-id-25 .banner-navigazione {
    background-image: url(../img/header-abito-giornaliero-min.png);
}

.page-id-27 .banner-navigazione {
    background-image: url(../img/header-abito-giornaliero-min.png); /*provvisorio*/
}

.page-id-29 .banner-navigazione {
    background-image: url(../img/header-abito-giornaliero-min.png); /*provvisorio*/
}

.page-id-33 .banner-navigazione {
    background-image: url(../img/header-abito-giornaliero-min.png); /*provvisorio*/
}

.page-id-35 .banner-navigazione {
    background-image: url(../img/header-abito-giornaliero-min.png); /*provvisorio*/
}

.page-id-37 .banner-navigazione {
    background-image: url(../img/header-abito-giornaliero-min.png); /*provvisorio*/
}

.page-id-39 .banner-navigazione {
    background-image: url(../img/header-abito-giornaliero-min.png); /*provvisorio*/
}

.page-id-31 .banner-navigazione {
    background-image: url(../img/header-abito-giornaliero-min.png); /*provvisorio*/
}

.page-id-41 .banner-navigazione {
    background-image: url(../img/header-abito-giornaliero-min.png); /*provvisorio*/
}

.page-id-43 .banner-navigazione {
    background-image: url(../img/header-abito-giornaliero-min.png); /*provvisorio*/
}

@media only screen and (max-device-width: 1366px) {
    .main-header {
        background-attachment: scroll;
    }
    .banner-navigazione {
        background-attachment: scroll;
    }
}

.titolo-home[data-aos=slide-down] {
    transform: translate3d(0, -510%, 0);
}

.titolo-page[data-aos=slide-down] {
    transform: translate3d(0, -900%, 0);
}

.titolo-page-2[data-aos=slide-down] {
    transform: translate3d(0, -900%, 0);
}

.pre-titolo-page[data-aos=slide-down] {
    transform: translate3d(0, -2300%, 0);
}

h1 {
    font-family: Mono45Headline-Regular;
    font-size: 56px;
    line-height: 67px;
    letter-spacing: 2.8px;
    color: #F7F7F7;
}

h2 {
    font-family: Mono45Headline-Regular;
    font-size: 48px;
    line-height: 58px;
    letter-spacing: 2.4px;
    color: #262626;
}

h3 {
    font-family: OpenSans-Bold;
    font-size: 24px;
    line-height: 33px;
    letter-spacing: 0;
    color: #262626;
}

h4 {
    font-family: OpenSans-Regular;
    font-size: 20px;
    line-height: 27px;
    letter-spacing: 1px;
    color: #F7F7F7;
}

h6 {
    font-family: Mono45Headline-Regular;
    font-size: 24px;
    line-height: 29px;
    letter-spacing: 1.2px;
    color: #262626;
}

p {
    font-family: OpenSans-Regular;
    font-size: 17px;
    line-height: 27px;
    letter-spacing: 0.85px;
    color: #262626;
}

.fw-bold {
    font-weight: normal !important;
    font-family: OpenSans-Bold;
}

b, strong {
    font-weight: normal !important;
    font-family: OpenSans-Bold;
}

em {
    font-family: OpenSans-Italic;
}

.text-dark {
    color: #2C2C2C !important;
}

.text-light {
    color: #F7F7F7 !important;
}

a {
    font-family: OpenSans-Bold;
    color: #262626;
    transition: 0.25s ease-in-out;
}

a:hover {
    color: #262626cc;
}

a:focus {
    color: #262626cc;
}

.custom-home-container {
    padding-top: 200px;
}

.custom-page-container {
    padding-top: 150px;
}

.custom-biografie-container {
    padding-top: 200px;
}

@media (max-width: 442px) {
    h1 {
        font-size: 50px;
    }
	.custom-home-container {
        padding-top: 150px;
    }
}

@media (max-width: 767px) {
    .titolo-home[data-aos=slide-down] {
        transform: translate3d(0, -250%, 0);
    }
    /* .titolo-page[data-aos=slide-down] {
        transform: translate3d(0, -950%, 0);
    } */
    .titolo-page-2[data-aos=slide-down],
    .page-id-29 .titolo-page[data-aos=slide-down],
    .page-id-35 .titolo-page[data-aos=slide-down] {
        transform: translate3d(0, -470%, 0);
    }
    /* .pre-titolo-page[data-aos=slide-down] {
        transform: translate3d(0, -2400%, 0);
    } */
}

.custom-link-dark {
    color: #262626;
    text-decoration: underline;
    font-family: OpenSans-Bold;
}

.custom-link-dark:hover {
    color: #262626;
}

.custom-link-dark:visited {
    color: #262626;
}

.custom-link-light {
    color: #F7F7F7;
    text-decoration: underline;
    font-family: OpenSans-Bold;
}

.custom-link-light:hover {
    color: #F7F7F7;
}

.custom-link-light:visited {
    color: #F7F7F7;
}

.custom-button:visited {
    color: #F7F7F7;
}

.custom-button {
    position: relative;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    font-family: OpenSans-Bold;
    font-size: 17px;
    border-radius: 0;
    padding: 10px 15px;
    transition: 0.3s ease-in-out;
    z-index: 1;
}

.custom-button.black {
    color: #262626;
    background: transparent;
    border: 1px solid #262626;
}

.custom-button.white {
    color: #F7F7F7;
    border: 1px solid #F7F7F7;
}

.custom-button.black:hover {
    color: #F7F7F7;
}

.custom-button.white:hover {
    color: #262626;
}

.custom-button::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    content: '';
    background: #262626;
    transition: transform .3s;
    transform-origin: left bottom;
    transform: scale(1, 0);
}

.custom-button.black::before {
    background: #262626;
}

.custom-button.white::before {
    background: #F7F7F7;
}

.custom-button:hover::before {
    transform-origin: left bottom;
    transform: scale(1, 1);
}

@media (max-width: 576px) {
    .custom-button {
        width: 100%;
    }
}

.btn-close:focus {
    box-shadow: none;
}

.home .swiper-wrapper{
    transition-timing-function: linear;
}

.swiper {
    width: 100%;
    overflow: hidden;
}

.swiper img {
    border-radius: 15px;
    cursor: grab;
}

.image-credits {
    font-family: OpenSans-Bold;
    color: #FFFFFF;
    font-size: 15px;
    line-height: 1.2;
    position: absolute;
    bottom: 25px;
    left: 35px;
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .swiper-home-3 {
        height: 580px;
    }
}

.rounded-15 {
    border-radius: 15px;
}

.bg-gray {
    background-color: #414141!important;
}

.bg-gray-light {
    background-color: #717171!important;
}

.bg-gray p,
.bg-gray h2,
.bg-gray a {
    color: #F7F7F7;
}

footer p {
    font-size: 16px;
}

footer a {
    font-family: OpenSans-Regular;
    color: #F7F7F7;
    text-decoration: none;
}

footer a:hover {
    color: #F7F7F7;
    text-decoration: underline;
}

footer a:visited {
    color: #F7F7F7;
}

.animazione-1 {
    position: relative;
    height: 400px;
}

.item-1, .item-2 {
    transition: transform 0.6s ease-in-out;
    z-index: 1;
    font-family: Mono45Headline-Regular;
    font-size: 40px;
    line-height: 58px;
    letter-spacing: 2.4px;
    color: #262626;
}

.item-1-moved {
    transform: translate(-30px, -200px);
}

.item-2-moved {
    transform: translate(30px, 200px);
}

.slider-verticale-statico {
    position: absolute;
    z-index: 0;
    overflow-y: scroll;
    max-height: 400px;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.animazione-1:hover .slider-verticale-statico {
    opacity: 1;
}

.slider-verticale-statico img {
    border-radius: 15px;
    max-height: 400px;
}

.slider-verticale-statico::-webkit-scrollbar {
    display: none;
}

@media (max-width: 576px) {
    .animazione-1 {
        height: 250px;
    }
    .item-1, .item-2 {
        font-size: 28px;
        position: relative;
    }
    .item-1 {
        top: -125px;
    }
    .item-2 {
        bottom: -115px;
    }
    .item-1-moved {
        transform: none;
    }
    .item-2-moved {
        transform: none;
    }
    .slider-verticale-statico {
        max-height: 250px;
        width: 100%;
    }
    .slider-verticale-statico img {
        max-height: 250px;
    }
    .item-1[data-aos=slide-up] {
        transform: translate3d(0, 200%, 0);
    }
    .item-2[data-aos=slide-down] {
        transform: translate3d(0, -212.5%, 0);
    }
}

.image-rights-container {
	border: 1px solid #D5D5D5;
	border-radius: 15px;
	padding: 50px 75px;
}

.image-rights-container p {
    font-size: 15px;
    color: #8B8B8B;
    margin-bottom: 0;
}

@media (max-width: 576px) {
    .image-rights-container {
        padding: 25px 30px;
    }
}

.text-gray {
    color: #8B8B8B;
}

.swiper-page-1,
.swiper-page-2 {
    overflow: visible;
}

@media (max-width: 767px) {
    .swiper-biografie {
        overflow: visible;
    }
}

.swiper-page-1-navigation .swiper-pagination-bullet,
.swiper-page-2-navigation .swiper-pagination-bullet,
.swiper-biografie-navigation .swiper-pagination-bullet {
    background: transparent;
    border: 1px solid #707070;
    width: 14px;
    height: 14px;
    opacity: 1;
    margin: 27px 12.5px !important;
}

.swiper-page-1-navigation .swiper-pagination-bullet-active,
.swiper-page-2-navigation .swiper-pagination-bullet-active,
.swiper-biografie-navigation .swiper-pagination-bullet-active {
    background: #707070;
    border: 1px solid #707070;
}

.swiper-biografie .swiper-button-next,
.swiper-biografie .swiper-button-prev {
	top: auto;
    bottom: 17px;
    margin-top: 0;
	color: #2F2F2F;
}

.swiper-biografie .swiper-button-prev:after,
.swiper-biografie .swiper-button-next:after {
	font-size: 20px;
}

@media (min-width: 992px) {
    .modal-width {
        --bs-modal-width: 865px;
    }
    .modal-body {
        max-height: 530px;
    }
}

.modal-approfondimento .modal-content {
    padding-bottom: 40px;
}

/* biografie */

.biografie-button {
	border: 1px solid #AAAAAA;
	border-radius: 17px;
	background-color: #414141;
	position: relative;
    text-decoration: none;
}

.z-index-1 {
	z-index: 1;
}

.biografie-button img {
	height: 80px;
    transition: 0.2s ease-in-out;
}

.biografie-button .cta {
	font-family: Mono45Headline-Regular;
	font-size: 14px;
	text-align: center;
	color: #EDEDED;
	width: 20%;
}

.biografie-button::after {
	content: '';
	width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
	background-color: #EDEDED;
	border-radius: 15px;
	transition: 0.2s ease-in-out;
}

.biografie-button:hover::after {
	width: 80%;
}

.biografie-button:hover img {
	transform: rotate(6deg);
}

@media (max-width: 767px) {
    .biografie-button::after {
        width: 80%;
    }
}

/* single biografia */

.header-bio {
	transition: 0.8s ease-in-out;
}

.main-img-bio {
	max-width: 300px;
    border-radius: 15px;
}

.header-bio h1,
.header-bio span {
	color: #262626!important;
	font-family: Mono45Headline-Regular;
	font-size: 100px;
	letter-spacing: 5px;
	line-height: 120px;
	transition: 0.8s ease-in-out;
}

.header-bio span {
	position: relative;
	display: inline-block;
	z-index: 1;
}

/* animazione all'hover */
/* .header-bio:hover.header-bio h1,
.header-bio:hover.header-bio span {
	transform: translate(0, 100px)
}
.header-bio:hover .main-img-bio {
	transform: translate(0, -105px)
} */

/* animazione allo scroll */
#headerBioImg, #headerBioTitle {
    position: relative;
	transition: top 0.4s linear;
}

@media (max-width: 992px) {
    .main-img-bio {
        max-width: 200px;
    }
	.header-bio h1,
	.header-bio span {
		font-size: 48px;
		line-height: 58px;
		letter-spacing: 2.4px;
	}
    /* animazione all'hover */
	/* .header-bio:hover.header-bio h1,
	.header-bio:hover.header-bio span {
		transform: translate(0, 50px)
	}
	.header-bio:hover .main-img-bio {
		transform: translate(0, -50px)
	} */
}

.gallery-bio-wrapper {
    overflow: hidden;
    border-radius: 15px;
}

.gallery-bio-wrapper img {
    transition: transform .5s ease;
    width: 100%;
}

@media (max-width: 767px) {
	.gallery-bio-wrapper img {
		pointer-events: none;
	}
}

.gallery-bio-wrapper img:hover {
    transform: scale(1.2);
}

#bioImgModal .modal-content {
    pointer-events: auto;
    background-color: transparent;
    border: none;
    border-radius: 15px;
}

#bioImgModal .modal-dialog {
	/* max-width: 800px; */
	margin: 30px auto;
}

#bioImgModal .modal-body {
	position: relative;
	padding: 0px;
	min-height: 400px;
	background: transparent;
}

#bioImgModal .btn-close {
	position: absolute;
	right: -40px;
	top: 0;
	font-size: 20px;
	font-weight: normal;
	opacity: 1;
}

#selectedImage {
	width: 100%;
	object-fit: contain;
    max-height: 95vh;
}

.bio-citazione img {
    max-width: 68px;
}

.bio-citazione h3 {
    font-family: OpenSans-SemiboldItalic;
}

.banner-navigazione-bio {
    background-color: #EDEDED;
}












/* Contact form */

.wpcf7-list-item {
    margin: 0;
}

.wpcf7 label, 
.wpcf7 input {
    width: 100%;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="password"],
.wpcf7 input[type="search"],
.wpcf7 input[type="number"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="range"],
.wpcf7 input[type="date"],
.wpcf7 input[type="month"], input[type="week"],
.wpcf7 input[type="time"],
.wpcf7 input[type="datetime"],
.wpcf7 input[type="datetime-local"],
.wpcf7 input[type="color"],
.wpcf7 textarea {
    color: #666;
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    padding: 10px;
    background: transparent;
}

.wpcf7 input:focus-visible,
.wpcf7 textarea:focus-visible {
    outline: none;
}

.wpcf7-spinner {
    margin: 20px 0; 
}