html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}


.emojiSelected {
    opacity: 1;
}

.emojiNotSelected {
    opacity: 0.5;
}

.focus {
    position: absolute;
    font-size: +200%;
    z-index: 1;
}

.box_rounded {
    border: solid 1px ghostwhite;
    border-radius: 10px 10px;
}


.mioMapUno {
    height: 20%;
    background-color: red;
    opacity: 0.000001;
    z-index: 1;
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    flex: 1 1 10%;
    -webkit-flex: 1 1 10%;
}

.mioMapDue {
    /*height: 20%;*/
    background-color: yellow;
    opacity: 0.000000001;
    z-index: 2;
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    flex: 1 1 10%;
    -webkit-flex: 1 1 10%;
    visibility: visible !important;
}

.mapContainer {
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
    display: flex;
    display: -webkit-flex;
    flex-flow: row wrap;
    -webkit-flex-flow: row wrap;
    align-items: stretch;
    -webkit-align-items: stretch;
    padding-left: 5%;
    padding-right: 5%;
}

.mapContainerSub {
    height: 20%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
    display: flex;
    display: -webkit-flex;
    flex-flow: row wrap;
    -webkit-flex-flow: row wrap;
    align-items: stretch;
    -webkit-align-items: stretch;
}

.mioMapUno:hover {
    opacity: 0.6;
}

.mioMapDue:hover {
    opacity: 0.6;
}

.provoDiv {
    position: absolute;
    /*opacity: 0.1;*/
}

@keyframes example {
    0% {
        background-color: red;
        left: 0px;
        top: 20px;
    }



    50% {
        background-color: blue;
        left: 0px;
        top: -20px;
    }



    100% {
        background-color: red;
        left: 0px;
        top: 20px;
    }
}


@keyframes finish {
    0% {
        background-color: red;
        left: 0px;
        top: 0px;
    }

    50% {
        background-color: blue;
        left: 40px;
        top: 0px;
    }

    100% {
        background-color: red;
        left: 0px;
        top: 0px;
    }
}

/* The element to apply the animation to */
.tondo {
    border-radius: 50%;
    max-width: 100px;
    max-height: 100px;
    min-width: 25px;
    min-height: 25px;
    height: 25px !important;
    width: 25px !important;
    position: relative;
    left: 90%;
    /* margin-top: 20%;
    margin-left: 20%;*/
    animation-name: example;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

.tondoFinish {
    border-radius: 50%;
    max-width: 100px;
    max-height: 100px;
    min-width: 25px;
    min-height: 25px;
    height: 25px !important;
    width: 25px !important;
    position: relative;
    margin-top: 20%;
    margin-left: 20%;
    animation-name: finish;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

.rispostePrecedenti {
    position: relative;
    left: -50%;
    min-width: 20px;
    width: 25vw;
    z-index: 1;
}


@keyframes scelta {
    0% {
        box-shadow: 0px, 0px, red;
    }

    50% {
        box-shadow: 10px, 10px, red;
    }

    100% {
        box-shadow: 0px, 0px, red;
    }
}

.tavolaChanged {
    box-shadow: 10px, 10px, red;
    animation-name: scelta;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    z-index: 2;
}

.modal-centered {
    display: flex;
    justify-content: center;
    align-content: center;
}

#sel_box {
    display: none;
    position: absolute;
    border: 1px dashed #000000;
    background: transparent;
    width: 0;
    height: 0;
}

img {
    object-fit: contain;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    90% {
        transform: translateY(-35px);
    }

    50% {
        transform: translateY(-17.5px);
    }
}

.containerVideoStream {
    position: relative;
    display: flex;
    align-items: center;
}

    .containerVideoStream > video {
        height: 3.7rem;
    }

    .containerVideoStream > button {
        position: absolute;
        margin-right: auto;
        margin-left: auto;
        width: 100%;
        height: 100%;
    }

        .containerVideoStream > button > i {
            font-size: 3.7rem;
            color: rgba(255,255,255,.0);
            transition: color 0.3s ease-in;
            /*transition: font-size 0.3s ;*/
        }

            .containerVideoStream > button > i:hover {
                color: rgba(255,255,255,.9);
                transition: color 0.3s ease-in-out;
                /*transition: font-size 0.3s ;*/
            }



/*STILE PER PULSANTE CARICAMENTO */
.loading-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Testo del bottone */
.loading-text {
    margin-right: 8px; /* Spaziatura tra il testo e i puntini */

}

/* Contenitore dei puntini */
.loading-dots {
    display: flex;
    gap: 4px; /* Spazio tra i pallini */

}

    .loading-dots .dot {
        width: 8px;
        height: 8px;
        background-color: white;
        border-radius: 50%;
        animation: bounce2 1.4s infinite;
    }

        /* Animazioni per i pallini */
        .loading-dots .dot:nth-child(1) {
            animation-delay: 0s;
        }

        .loading-dots .dot:nth-child(2) {
            animation-delay: 0.2s;
        }

        .loading-dots .dot:nth-child(3) {
            animation-delay: 0.4s;
        }

@keyframes bounce2 {
    0%, 80%, 100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}


.btnPhone {
    border: none;
    padding: 0;
    border-radius: 100%;
    width: 3rem;
    height: 3rem;
    font-size: 2.5em;
    color: #fff;
    padding: 0;
    margin: 0;
    background: red;
    position: relative;
    z-index: 999;
    display: inline-block;
    line-height: 100px;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    display:flex;
    justify-content:center;
    align-items:center;
}

/*.btnPhone:active {
    background: #ff4141;
    transition: background .3s ease-in-out;
}*/
    /*.btnPhone:focus {
        background: #ff4141;
        transition: background .3s ease-in-out;
    }*/

   /* .btnPhone:focus-visible {
        background: #ff4141;
        transition: background .3s ease-in-out;
    }*/

    .btnPhone.activated {
        background: #ff4141;
        transition: background .3s ease-in-out;
    }

    


 
.pulse-ring {
    content: "";
    width: 3rem;
    height: 3rem;
    background: #189BFF;
    border: 5px solid #189BFF;
    border-radius: 50%;
    position: absolute;
    /*opacity:0;*/
    /*animation: pulsate infinite 1.5s;*/
}

    /*.pulse-ring:active {
        animation: pulsate infinite 1s;
    }*/

    .pulse-ring.activated {
        animation: pulsate infinite 1s;
    }

@-webkit-keyframes pulsate {
    0% {
        -webkit-transform: scale(1, 1);
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(1.3, 1.3);
        opacity: 0;
    }
}


.type2 {
    background: #189BFF;
}

    .type2 .pulse-ring {
        background: transparent;
    }

.container-action {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 4rem;
    flex-direction: row;
    gap: .4rem;
}

.container-button-action {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    width: calc(60%);
    min-width: 8rem;
    max-height:5rem;
    height:5rem;
}

.overlayPnP {
    position: absolute;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 1;
}

.logoContainer{
    display:flex;
    flex-direction:row;
    gap:9rem;
    width:80%
}

.divInizia {
    margin-top: 20px;
    text-align: center;
    margin-left: 20px;
}

.load-wrapp {
    float: left;
    width: 100px;
    height: 100px;
    margin: 0 10px 10px 0;
    padding: 20px 20px 20px;
    border-radius: 5px;
    text-align: center;
}

    .load-wrapp p {
        padding: 0 0 20px;
    }

    .load-wrapp:last-child {
        margin-right: 0;
    }

.bubble-1,
.bubble-2 {
    position: absolute;
    top: 0;
    width: 25px;
    height: 25px;
    border-radius: 100%;
    background-color: #4b9cdb;
}

.bubble-2 {
    top: auto;
    bottom: 0;
}

.load-9 .spinner {
    animation: loadingI 2s linear infinite;
}

.load-9 .bubble-1,
.load-9 .bubble-2 {
    animation: bounce 2s ease-in-out infinite;
}

.load-9 .bubble-2 {
    animation-delay: -1s;
}

@keyframes loadingI {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    0%,
    100% {
        transform: scale(0);
    }

    50% {
        transform: scale(1);
    }
}

img {
    height: 100%;
    width: 100%;
}

#box-figure {
    width: 40em;
    height: 40em;
}