/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 21 set 2025, 01:17:10
    Author     : gianl
*/

.team-btn {
    display: block !important;
    margin: 15px auto !important;
    max-width: 90%;
    min-width: 300px;
    color: #000 !important;
    text-align: center;
    color: #FFF !important;
    background: #000 !important;
    border: 1px solid #FFF ;
}

.team-input {
    display: block;
    margin: 40px auto;
    max-width: 90%;
    color: #000 !important;
    text-align: center;
    font-size: 1.4em !important;
}

#error-message {
    color: red;
    font-weight: bolder;
    display: none;
}

.riepilogo_label  {
    display: block;
    font-size: 1.6em;
    color: yellow;
}

ul.list-team {
    width: auto;
    margin: auto;
    list-style: none;
}

ul.list-team li {
    font-size: 1.4em;
    padding: 5px 0;
}

ul.seleziona-team  {
    width: auto;
    margin: auto;
    list-style: none;
}

ul.seleziona-team li {
    font-size: 1.0em;
    padding: 5px 0;
}

span.link-team {
    font-weight: bold;
    color: yellow;
    cursor: pointer;
}

.super-top {
    vertical-align: top !important;
}

div#nome-partita {
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
}

div#nome-partita span {
    color: yellow;
    font-weight: bold;
}

.occulta {
    display: none !important;
}

a.tempo_reale {
    cursor: pointer;
    color: #FFF;
    opacity: 0.6;
    font-size: 0.7em;
}

a.tempo_reale.active {
    color: red;
    opacity: 1;
    animation: rossoBianco 2s infinite alternate;
}

div#container-squadre {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* spazio tra gli elementi */
    justify-content: flex-start; /* distribuisce lo spazio orizzontale */
}

.single_container {
    width: calc(25% - 15px); /* 25% larghezza meno metà del gap (approx.) */
    background-color: transparent;
    text-align: center;
    box-sizing: border-box;
    border: 2px solid #FFF;
}

.header-team {
    background: #FFF; 
    color: #000;
    padding: 10px;
}

.content-team {
    padding: 5px;
}

.single_container span {
    display: block;
}

span.capogruppo {
    color: lightgreen;
    font-weight: bold;
}

/* Animazione */
@keyframes rossoBianco {
  0% {
    color: #800000;
  }
  100% {
    color: #ff6666;
  }
}

@media screen and (max-width: 768px) {
    form, button, input, select, .team-btn {
        width: 90% !important; 
        margin: 30 auto !important;    
    }
}

.loader_spinner {
  width: 120px;
  height: 20px;
  border-radius: 20px;
  background:
   linear-gradient(orange 0 0) 0/0% no-repeat
   lightblue;
  animation: l2 2s infinite steps(10);
  margin: 30px auto;
}
@keyframes l2 {
    100% {background-size:110%}
}

.content-tipo-sfide {
    display: flex; 
    align-items: flex-start; 
    justify-content: flex-start; 
    gap: 50px;
    margin-bottom: 100px;
}

.content-tipo-sfide img {
    max-height: 350px;
    cursor:pointer;
}

.content-tipo-sfide div:hover {
    border: 1px solid #FFF;
}

.content-tipo-sfide div.active {
    border: 3px solid blue;
}