@font-face {
  font-family: cinzel;
  src: url("./PalazzoParisi/Application/Assets/fonts/Cinzel/Cinzel-VariableFont_wght.ttf") format('truetype');
}

@font-face {
  font-family: roboto;
  font-style: italic;
  font-weight: 700;
  src: url("./PalazzoParisi/Application/Assets/fonts/Roboto/Roboto-BoldItalic.ttf") format('truetype');
}

@font-face {
  font-family: roboto;
  font-style: normal;
  font-weight: 700;
  src: url("./PalazzoParisi/Application/Assets/fonts/Roboto/Roboto-Bold.ttf") format('truetype');
}

@font-face {
  font-family: roboto;
  font-style: normal;
  font-weight: 600;
  src: url("./PalazzoParisi/Application/Assets/fonts/Roboto/Roboto-SemiBold.ttf") format('truetype');
}

@font-face {
  font-family: roboto;
  font-style: italic;
  font-weight: 600;
  src: url("./PalazzoParisi/Application/Assets/fonts/Roboto/Roboto-SemiBoldItalic.ttf") format('truetype');
}

@font-face {
  font-family: roboto;
  font-style: normal;
  font-weight: 400;
  src: url("./PalazzoParisi/Application/Assets/fonts/Roboto/Roboto-Regular.ttf") format('truetype');
}

@font-face {
  font-family: roboto;
  font-style: italic;
  font-weight: 400;
  src: url("./PalazzoParisi/Application/Assets/fonts/Roboto/Roboto-Italic.ttf") format('truetype');
}

@font-face {
  font-family: roboto;
  font-style: normal;
  font-weight: 300;
  src: url("./PalazzoParisi/Application/Assets/fonts/Roboto/Roboto-Light.ttf") format('truetype');
}

@font-face {
  font-family: roboto;
  font-style: italic;
  font-weight: 300;
  src: url("./PalazzoParisi/Application/Assets/fonts/Roboto/Roboto-LightItalic.ttf") format('truetype');
}

@font-face {
  font-family: roboto;
  font-style: normal;
  font-weight: 200;
  src: url("./PalazzoParisi/Application/Assets/fonts/Roboto/Roboto-ExtraLight.ttf") format('truetype');
}

@font-face {
  font-family: roboto;
  font-style: italic;
  font-weight: 200;
  src: url("./PalazzoParisi/Application/Assets/fonts/Roboto/Roboto-ExtraLightItalic.ttf") format('truetype');
}


/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    font-family: roboto;
    color: #000;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: cinzel;
}

strong, b{
    font-weight: bold;
}

.container-fluid{
    --bs-gutter-x: 10rem;
}

@media (max-width: 1920px) {
    .container-fluid{
        --bs-gutter-x: 1.5rem;
    }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #ffffff;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 0px);
    left: calc(50% - 30px);
    border: 3px solid #ffc451;
    border-top-color: #ffffff;
    border-bottom-color: #ffffff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}


/*--------------------------------------------------------------
# Tag
--------------------------------------------------------------*/

/*.tag{
    height: calc(100vh - 80px);
    width: 100%;
}*/

.tag{
    width: 100%;
    display: flex;
    align-items: center;
    padding: 2vh 0;
    min-height: 100vh;
    flex-direction: column;    
    justify-content: space-between;
}

.tag .bordo{
    margin: 40px;
    border: 1px solid #d5d5d5;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tag h2{
    font-size: calc(1.825rem + 2.2vw);
    width: 70%;
    margin-bottom: 0.5em;
    font-weight: 600;
}

.tag .loghi-ist{
    margin-bottom: 1.5vh;
    display: flex;
}

.tag .loghi-ist .intestazione{    
    padding: .5vh;
    display: flex;    
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tag .loghi-ist .intestazione span{
    font-size: 1vh;
    text-transform: uppercase;
    font-weight: 700;
}

.tag .loghi-ist .intestazione img{
   height: 4vh;    
   margin-bottom: .5vh;
}

.tag .logo{
    height: 7vh;
}

.tag .box{
    box-shadow: 0px 5px 25px 0px #0000006b;
    padding-bottom: 100%;
    position: relative;
    width: 100%;
    border-radius: 1vh;
    overflow: hidden;
}

.tag .hover:hover .swiper-button-next, .hover:hover .swiper-button-prev {
    opacity: 1;
}

.tag .box .immagine{
    width: 100%;
    overflow: hidden;
}

.tag .box .immagine img{
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: .5s ease-in-out;
    border-radius: 1vh;
}

.tag .box .testo{
    padding: 2rem;
    position: absolute;
    height: 100%;
    width: 100%;
    background: #ffffffa3;
    border-radius: 1vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

.tag .box .testo h3{
    color: #000;
    font-size: calc(1rem + 2.2vw);
}

.tag .box .testo .data{
    display: block;
    margin-bottom: 0.5rem;
    color: #000;
    font-size: calc(1rem + 1vw);
}

.tag .box .testo .btn-scopri{
    color: #000;
    text-decoration: underline;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.tag .swiper-button-prev{
    left: 0;
    position: relative;
    color: black;
    opacity: 0;
    transition: .3s ease-in-out;
}

.tag .swiper-button-next{
    right: 0;
    position: relative;
    color: black;
    opacity: 0;
    transition: .3s ease-in-out;
}

.tag .swiper-button-next:after, .tag .swiper-button-prev:after{
    font-size: 28px;
}

@media (max-width: 1280px) {
    .tag h2{
        width: 80%;
    }
}

@media (max-width: 776px) {
    .tag h2{
        font-size: 2rem;
        width: 100%;
    }

    .tag .swiper-button-next, .tag .swiper-button-prev{
        opacity: 1;
    }
}

/*--------------------------------------------------------------
# Scheda
--------------------------------------------------------------*/

header{
    padding: 1vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .btn-back{
    font-family: cinzel;
    color: black;
    font-weight: 600;
    font-size: calc(1.325rem + 2.2vw);
    cursor: pointer;
}

header .btn-back:hover{
    text-decoration: underline;
}

.logo-header{
    height: 4vh;
}

.top-page .sfondo {
    height: 20vh;
    background: #efefef;
    border-bottom: 1px solid #dbdbdb;
    overflow: hidden;
}

.top-page .sfondo img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.page{
    padding-bottom: 60px;
}

.page .box{
    position: relative;
    border: 1px solid #edf2f7;
    padding: 2rem;
    box-shadow: 0px 15px 15px -10px rgba(0,0,0,0.05);
    margin-top: -50px;
    z-index: 10;
    background: #fff;
}

.page .box .testo h2{
    font-size: calc(1.325rem + 2.2vw);
}

.page .box .testo p{
    font-family: 'DM Sans', sans-serif;
    color: #666666;
    font-weight: 300;
    font-size: calc(1.3rem + 1.2vw);
    text-align: justify;
}

.page .box .testo p:last-child{
    margin-bottom: 0;
}

.page .box .testo ul, .page .box .testo ol{
    font-family: 'DM Sans', sans-serif;
    color: #666666;
    font-weight: 300;
    font-size: calc(1.3rem + 1.2vw);
    text-align: justify;
}

.page .box .testo img{
    max-width: 100%;
    height: auto;
    max-height: 450px;
}

.page .box .testo img.opera{
    width: 100%;
    max-height: fit-content;
}

.page .box .swiper-button-prev:after, .page .box .swiper-button-next:after{
    color: #000;
}

.page .box .media-schede{

}

.page .box .media-schede video{
    width: 100%;
}

.welcome-title h2{
    font-size: calc(2.825rem + 2.2vw);
    margin-bottom: 0;
}

.welcome-title p{
    font-size: calc(1.825rem + 2.2vw);
    margin-bottom: 1.5vh;
}

.btn-mappa-vt{
    font-size: calc(1.825rem + 2.2vw);
    background: #879b30;
    color: #fff;
    text-transform: uppercase;
    padding: 2vh;
    border-radius: 2vh;
    width: fit-content;
}

/*.back-simultane{
    margin-top: 2vh;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-simultane a{
    color: #ffff;
    text-align: center;
    font-size: calc(1.825rem + 1.6vw);
    text-transform: uppercase;
    padding: 1.5vh;
    background-color: #ffc451;
    display: block;
    width: fit-content;
    border-radius: 1.5vh;
}*/

.back-simultane{
    position: absolute;
    top: 1vh;
    right: 1vh;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffc451;
    border-radius: 4px;
    color: #fff;
    transition: .3s;
    border: 2px solid #fff;
    width: 4vh;
    height: 4vh;
}

.back-simultane a{
    padding: 1vh;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-simultane a img{
    height: 100%;
}
    