/*--------------------------------------------------------------
# Modal
--------------------------------------------------------------*/

.modal-background{
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    position: fixed;
    display: none;
    flex-direction: row;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-body{
    /*width: 50%;
    height: 80%;*/
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: #f5f5f5;
    box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02);
    border-radius: 4px;
    overflow: auto;    
    padding: 40px;
    max-height: 90%;
}

.multimedial-content .titolo h4{
    font-weight: 500;
    font-size: 22px;
}


.multimedial-content .titolo .separatore{
    margin-bottom: 1rem;
    margin-top: 1rem;
    border: 1px solid #1e1e1e;
    border-radius: 99px;
    max-width: 300px;
}

.multimedial-content .titolo h3{
    text-transform: uppercase;
    font-weight: 600;
    font-size: 28px;
}

.multimedial-content  .testo p, .multimedial-content  .testo li{
    font-size: 15px;    
    text-align: justify;
}

.multimedial-content  .testo li span{
    font-size: 16px !important;
}

/*.multimedial-content #hotspot-page-modal-container{
    text-align: center;
}*/

.multimedial-content #hotspot-page-modal-container img{
    /*max-height: 400px;*/
    max-width: 100%;
    object-fit: contain;
}

.multimedial-content .testo a{
    color: #1e1e1e;
    text-decoration: underline;
    cursor: pointer;
}


.multimedial-content video{
    max-width: 100%;
    border-radius: 4px;
}

@media (max-width: 992px) {
    .modal-body{
        width: 90%;
        padding: 2px 15px;
    }
    .multimedial-content{
        padding: 5px;
    }
    .multimedial-content .testo{
        height: auto;
    }
}

/*--------------------------------------------------------------
# Icone Gallerie Modal
--------------------------------------------------------------*/

.multimedial-content .media-hotspot-active{
    margin-bottom: 0.5rem;
    font-size: 32px;    
    color: #1e1e1e;
    padding: 10px;
    background: transparent;
    border-radius: 4px;    
    border: 2px solid #1e1e1e;
    transition: .3s;
}

.multimedial-content .media-hotspot-active:hover{
    background: #1e1e1e;
    color: #fff;
}

.multimedial-content .media-hotspot{
    margin-bottom: 0.5rem;
    font-size: 32px;    
    color: #fff;
    padding: 10px;
    background: #1e1e1e;
    border-radius: 4px;    
    border: 2px solid #1e1e1e;
    transition: .3s;
}

.multimedial-content .media-hotspot:hover{
    background: transparent;
    color: #1e1e1e;
}

.multimedial-content .media-hotspot-active i, .multimedial-content .media-hotspot i{
    display: flex;
}

.multimedial-content .titolo-media-hotspot{
    text-align: center;
}

.multimedial-content .titolo-media-hotspot span{
    color: #1e1e1e;
    font-weight: 700;
}


/*--------------------------------------------------------------
# Fotorama Modal
--------------------------------------------------------------*/

.multimedial-content .modal-gallery-hotspot .fotorama__dot{
    width: 8px;
    height: 8px;
    border: 1px solid #1e1e1e;
    background-color: #1e1e1e;
}

.multimedial-content .modal-gallery-hotspot .fotorama__nav__frame.fotorama__active .fotorama__dot{
    width: 8px;
    height: 8px;
    border: 1px solid #1e1e1e;
    background-color: white;
}

.modal-gallery-hotspot .fotorama__html div, .modal-gallery-hotspot  .fotorama__html a{
    display: block;
    height: 100%;
    cursor: pointer;
}

.modal-gallery-hotspot .fotorama__html{
    display: flex;
    justify-content: center;
}

.modal-gallery-hotspot .fotorama__html video{
    width: fit-content;
    margin: 0 auto;
}

.modal-gallery-hotspot .fotorama__caption__wrap{
    background-color: #1e1e1e;
    color: white;
    font-family: "Open Sans", sans-serif;
}

.gallery-chapter{
    background-color: #000;
}

.gallery-chapter .fotorama__caption__wrap{
    background-color: #1e1e1e;
    color: white;
    font-family: "Open Sans", sans-serif;    
    font-size: 16px;
}

.gallery-chapter .fotorama__dot{
    border: 1px solid #e9ecef;
}   

.pulse{
    animation: pulse 2s infinite;
}

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