/* Generici */

.footle_green_bg {
    background: #32A834;
}

.footle_text_color {
    color: #32A834;
}

.pointer {
    cursor:pointer;
}

.bg-form {
    background: #e8f0fe;
}

.bg-stadio {
    background: linear-gradient(rgba(34, 36, 41, .8), rgba(34, 36, 41, .8)), url(../img/stadio.jpg) top center no-repeat;
    background-size: cover;
}

.bg-classifiche {
    background: linear-gradient(rgba(34, 36, 41, .8), rgba(34, 36, 41, .8)), url(../img/classifiche.png) top center no-repeat;
    background-size: cover;
}

/* Index.php */

.no-round-left {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.profile-pic-div {
    min-height: 500px; 
    /*border-radius:50%;*/
    overflow:hidden;
}

.hidden {
    display:none;
}

.visible {
    display:block;
}

#uploadBtn {
    height: 40px;
    width: 100%;
    position: absolute;
    bottom:0;
    left:50%;
    transform: translateX(-50%);
    text-align:center;
    background:rgba(0,0,0,0.7);
    color: wheat;
    line-height:30px;
    cursor:pointer;
    display:none;
}

#confirmBtn {
    display: none;
}

.btn-basso {
    position: absolute;
    bottom: 1%;
    left: 50%;
    transform: translateX(-50%);
}

.btn-sx {
    right:50%;
}

.btn-dx {
    left:50%;
}

/* Stili per il popup degli avatar - margine destro troppo grande! */
.avatar-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-height: 80vh;  /* Imposta l'altezza massima al 80% dell'altezza della viewport */
    overflow-y: auto;  /* Abilita la barra di scorrimento verticale se necessario */
}

.avatar-popup img {
    width: 150px;
    height: 150px;
    margin: 5px;
    cursor: pointer;
}

.avatar-popup img:hover {
    opacity: 0.8;
}

.avatar-popup::-webkit-scrollbar {
    width: 10px;  /* Larghezza della barra di scorrimento */
}

.avatar-popup::-webkit-scrollbar-thumb {
    background-color: #888;  /* Colore del cursore della barra di scorrimento */
}

.avatar-popup::-webkit-scrollbar-track {
    background-color: #eee;  /* Colore della traccia della barra di scorrimento */
}

.avatar_text {
    font-size: 16pt;
}

.popup_close {
    font-size: 16pt;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

.spunta {
    width: 75px; 
    height: 75px; 
    cursor:pointer; 
    display: none; 
    position: absolute; 
    right: 10px; 
    top: 10px; 
    border-radius:50%;
}

.tooltip-inner {
    width: 100px !important;
}

/* Rendi le frecce scure */
.carousel-control-prev, .carousel-control-next {
    background-color: #333; /* Cambia il colore di sfondo delle frecce */
    color: #000; /* Cambia il colore del testo delle frecce */
}

/* Pagina matchday mode */
.matchdaybtn {
    position: absolute; 
    top: 25%; 
    height:55%;
    width:35%;
    opacity: 0.7;
    color:#fff;
}

.matchdaybtnleft {
    left:10%;
}

.matchdaybtnright {
    right:10%; 
}

.fullscreen-visible {
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index:1000;
}

.popup-marcatori {
    overflow:scroll;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    max-height: 100%;
}

.cross {
    position: absolute; 
    right: 3%; 
    top: 5%; 
    font-size: 24px; 
    color: #ffffff; 
    border-radius: 20%; 
    padding: 10px;
}

/* Voice.php */

#output {
    white-space: pre-line; /* Rende il testo all'interno del div interpretare \n come ritorno a capo */
}

@media (max-width: 576px) {
    .voiceBtn {
        font-size: 1.5rem; /* Dimensione del testo ingrandita */
        padding: 0.75rem 1.5rem; /* Padding ingrandito */
    }
}

/* Comments */
.comment-text {
    position: relative; 
    max-width: 150px; 
    overflow: hidden; 
    white-space: nowrap; 
    text-overflow: ellipsis;
}
.ellipsis {
    overflow: hidden; 
    text-overflow: ellipsis; 
    white-space: nowrap;
}

.rubik {
    font-family:'Rubik';
}

.comment-text.expanded {
    white-space: normal;
    max-width: none;
    overflow: visible;
}

.no_overflow {
    overflow: hidden; 
    white-space: nowrap;
}

/*Player.php*/

.delete-icon {
    position: absolute; 
    right: 3%; 
    top: 1%;
    font-size: 40px;
    color: red;
}

.custom-navbar .navbar-nav {
}


.rounded-circle-custom {
    width: 7vw; /* Larghezza dell'elemento */
    height: 7vw; /* Altezza dell'elemento */
    border-radius: 50%; /* Raggio dell'arrotondamento al 50% della dimensione dell'elemento */
    overflow: hidden; /* Assicura che i contenuti non siano visualizzati al di fuori del bordo arrotondato */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0; /* Colore di sfondo */
    border: 2px solid #ccc; /* Bordo opzionale */
}