/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/

@font-face {
    font-family: suisse;
    font-style: normal;
    font-weight: 900;
    src: url("../fonts/SuisseIntl-Black.otf") format('opentype');
}

@font-face {
    font-family: suisse;
    font-style: normal;
    font-weight: 800;
    src: url("../fonts/SuisseIntl-Bold.otf") format('opentype');
}

@font-face {
    font-family: suisse;
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/SuisseIntl-SemiBold.otf") format('opentype');
}

@font-face {
    font-family: suisse;
    font-style: italic;
    font-weight: 700;
    src: url("../fonts/SuisseIntl-SemiBoldItalic.otf") format('opentype');
}

@font-face {
    font-family: suisse;
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/SuisseIntl-Book.otf") format('opentype');
}

@font-face {
    font-family: suisse;
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/SuisseIntl-Medium.otf") format('opentype');
}

@font-face {
    font-family: suisse;
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/SuisseIntl-Regular.otf") format('opentype');
}

@font-face {
    font-family: suisse;
    font-style: italic;
    font-weight: 300;
    src: url("../fonts/SuisseIntl-RegularItalic.otf") format('opentype');
}

/*--------------------------------------------------------------
# Colori Musei
--------------------------------------------------------------*/

.color-generale{
    color: #000000;
}

.color-imperia-musei{
    color: #e6342b;
}

.color-maci{
    color: #E51B45;
}

.color-AppImperia{
    color: #F3A733;
}

.color-navale{
    color: #194895;
}

.color-planetarium{
    color: #143D69;
}

.bg-generale{
    background-color: #000000;
}

.bg-generale.hover-trasparent{
    background-color: #000000;
    transition: .3s;
}

.bg-generale.hover-trasparent:hover{
    background-color: transparent;
}

.bg-imperia-musei{
    background-color: #e6342b;
}

.bg-imperia-musei.hover-trasparent{
    background-color: #e6342b;
    transition: .3s;
}

.bg-imperia-musei.hover-trasparent:hover{
    background-color: transparent;
}

.bg-maci{
    background-color: #E51B45;
}

.bg-maci.hover-trasparent{
    background-color: #E51B45;
    transition: .3s;
}

.bg-maci.hover-trasparent:hover{
    background-color: transparent;
}

.bg-AppImperia{
    background-color: #F3A733;
}

.bg-AppImperia.hover-trasparent{
    background-color: #F3A733;
    transition: .3s;
}

.bg-AppImperia.hover-trasparent:hover{
    background-color: transparent;
}

.bg-navale{
    background-color: #194895;
}

.bg-navale.hover-trasparent{
    background-color: #194895;
    transition: .3s;
}

.bg-navale.hover-trasparent:hover{
    background-color: transparent;
}

.bg-planetarium{
    background-color: #143D69;
}

.bg-planetarium.hover-trasparent{
    background-color: #143D69;
    transition: .3s;
}

.bg-planetarium.hover-trasparent:hover{
    background-color: transparent;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    font-family: suisse;
    font-weight: 500;
    color: #000;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

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

img{
    max-width: 100%;
}

video{
    max-width: 100%;
    height: auto;
}

section{
    padding: 60px 0;
}

/*--------------------------------------------------------------
# Accessibilità
--------------------------------------------------------------*/
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 2px solid #868CA0;
    border-top-color: #e2eefd;
    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;
    }
}

/*--------------------------------------------------------------
# Home
--------------------------------------------------------------*/

.header{
    padding-bottom: 15px;
}

.header .logo-mostra{
    height: 60px;
}

.header .left{

}

.header .left img{
    height: 60px;
}

.header .right{

}

.header .right img{
    height: 40px;
    margin-right: 1rem;
}

.controls-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    padding: 30px 0;
}

.controls-bottom-fixed-left{
    position: fixed;
    left: 1.5rem;
    bottom: 130px;
    display: flex;
    z-index: 1;
}

.controls-bottom-fixed-right{
    position: fixed;
    right: 1.5rem;
    bottom: 130px;
    display: flex;
    z-index: 1;
}

.controls-bottom .btn-control, .controls-bottom-fixed-left .btn-control{
    background-color: #0F7C7B;
    border: 3px solid #0F7C7B;
    color: #fff;
    border-radius: 50%;
    height: 2.5rem;
    width: 2.5rem;
    margin-right: 20px;
    display: flex;
    justify-content: center;
}

.controls-bottom .btn-control:last-child,  .controls-bottom-fixed-left .btn-control:last-child,   .controls-bottom-fixed-right .btn-control:last-child{
    margin-bottom: 0;
}

.controls-bottom-fixed-right .btn-control{
    background-color: #fff;
    border: 3px solid #0F7C7B;
    color: #0F7C7B;
    border-radius: 50%;
    height: 2.5rem;
    width: 2.5rem;
    margin-right: 20px;
    display: flex;
    justify-content: center;
}

.controls-bottom .btn-back-to-home{
    background-color: #1a7b7b;
    color: #fff;
    border-radius: 99px;
    font-weight: 600;
    z-index: 10;
    padding: .6rem 1.6rem;
    font-size: 1.2rem;
    box-shadow: 0px 4px 10px 10px #0000001f;
}

.footer{
    padding: 15px 0;
    background-color: #1a7b7b;
}

.footer .tutti-loghi{
    height: 50px;
}

.btn-pin{
    position: absolute;
}

.btn-pin .pin{
    height: 40px;
    animation: pulse 1.5s infinite; /* Imposta l'animazione a ciclo continuo */
    transition: transform 0.2s ease-in-out; /* Aggiunge una transizione morbida */
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.number-pin-container{
    background: linear-gradient(to bottom, #F3F7FB 50%, #FFF 50%);
    padding: 15px 0;
}

.number-pin{
    height: 40px;
    width: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffff;
    border-radius: 50%;
}

/*--------------------------------------------------------------
# Lang
--------------------------------------------------------------*/

.choose-lang{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
}

.choose-lang h2{
    color: #E6312B;
    text-align: center;
    font-weight: 800;
    line-height: 2rem;
    margin-bottom: 1rem;

}

.choose-lang h3{
    font-size: 1rem;
}

.choose-lang .lang{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .8rem 3rem;
    margin-bottom: 1.5rem;
    border-radius: 99px;
    box-shadow: 0px 3px 10px 1px #d3d3d3;
    width: fit-content;
}

.choose-lang .lang img{
    height: 2rem;
    margin-right: 1rem
}

.choose-lang .lang a{
    font-weight: 600;
}


/*--------------------------------------------------------------
# Breadcrumb
--------------------------------------------------------------*/

nav.breadcrumbs {
    padding: 30px 0;
}

nav.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    font-size: 32px;
    font-weight: 600;
}

nav.breadcrumbs ol li+li {
    padding-left: 10px;
}

nav.breadcrumbs ol li+li::before {
    content: "/";
    display: inline-block;
    padding-right: 10px;
}


@media (max-width: 992px) {

    nav.breadcrumbs ol {
        padding-left: 0;
        font-size: 20px;
    }

}


/*--------------------------------------------------------------
# Homepage
--------------------------------------------------------------*/

.homepage{
    padding: 2rem 0;
}


.homepage h1{
    font-size: 1rem;
    font-weight: 800;

}

.homepage p{
    /*line-height: 140%;*/
}

.homepage .aree{

}

.homepage .aree .colore{
    margin-right: .5rem;
    display: flex;
    flex-direction: column;
}

.homepage .aree .colore .cerchio-colorato{
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
}

.homepage .aree .colore .cerchio-colorato.rosso{
    background-color: #E6312B;
}

.homepage .aree .colore .cerchio-colorato.giallo{
    background-color: #F49400;
    margin-bottom: .5rem;
}

.homepage .aree .colore .cerchio-colorato.blu{
    background-color: #093953;
}

.homepage .aree .colore .cerchio-colorato.verde{
    background-color: #116F64;
}

.homepage .aree .testo h2{
    font-size: 1rem;
    font-weight: 800;
}

.homepage .aree .testo p{

}


/*--------------------------------------------------------------
# Standard Page
--------------------------------------------------------------*/

.standard-page{

}

.standard-page p{
    margin-bottom: 0;
    line-height: 120%;
}

.standard-page img{
    max-width: 100%;
    height: auto;
}

.standard-page h1, .standard-page h2, .standard-page h3, .standard-page h4, .standard-page h5, .standard-page h6{
    font-weight: 600;
}

.standard-page .immagine{
    position: relative;
    width: 100%;
    overflow: hidden;
}

.standard-page .immagine img{
    width: 100%;
    height: 100%;
    position: relative;
    object-fit: cover;
}

.standard-page .didascalia{
    margin-top: .5rem
}

.standard-page .didascalia p{
    font-size: 12px;
}

.standard-page.additional-block{

}

@media (max-width: 991px) {

}

/*--------------------------------------------------------------
# Main Gallery
--------------------------------------------------------------*/

.main-gallery{

}

.main-gallery.foto{
    background-color: #DDE1ED;
}

.main-gallery .swiper-main-gallery{
    padding-top: 60px;
}

.main-gallery .swiper-main-gallery .box{

}

.main-gallery .swiper-main-gallery .box .immagine{
    position: relative;
    width: 100%;
    padding-bottom: 70%;
    margin-bottom: .5rem;
}

.main-gallery .swiper-main-gallery .box .immagine img{
    object-fit: cover;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.main-gallery .swiper-main-gallery .box .video{
    position: relative;
    width: 100%;
    padding-bottom: 70%;
    margin-bottom: .5rem;
}

.main-gallery .swiper-main-gallery .box .video:before {
    content: "";
    background: rgba(0, 0, 0, 0.2);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    border-radius: 8px;
}

.main-gallery .swiper-main-gallery .box .video video{
    object-fit: cover;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

.main-gallery .swiper-main-gallery .box .video .play-btn {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: .3s;
    z-index: 11;
}


.main-gallery .swiper-main-gallery .box .video .play-btn:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #000;
    z-index: 100;
    transition: .3s;
}

.main-gallery .swiper-main-gallery .box .video .play-btn:hover:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border: none;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #000;
    z-index: 200;
    animation: none;
    border-radius: 0;
}

.main-gallery .swiper-main-gallery .box .video .play-btn:hover{
    width: 52px;
    height: 52px;
}

.main-gallery .swiper-main-gallery .box .didascalia{
    font-size: .8rem;
}

.main-gallery .swiper-main-gallery .swiper-pagination{
    position: relative;
    top: 0;
    margin-top: 1rem;
}

.main-gallery .swiper-main-gallery .swiper-pagination .swiper-pagination-bullet{
    background-color: #000;
}

.btn-close-modal-info{
    position: absolute;
    right: -21px;
    top: -21px;
    z-index: 1;
    padding: .8rem;
    border-radius: 50%;
    background-color: #0F7C7B;
    opacity: 1;
    color: #fff;
    font-size: 1rem;
    width: 42px;
    height: 42px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body-modal-info{
    padding: 2rem !important;
    border-radius: 16px 0 16px 16px;
}

.fancybox-image{
    background-color: #fff !important; 
}