.html{
    height: 100%;
    border-color:  #ddd;
    font-size: 12px;
    min-height: -webkit-fill-available;
}

body{
    color: #f7f7f7;
    background-color: #0082C6 ;
    overscroll-behavior: contain;
    font-family: Arial, sans-serif;
    max-width: 360px;
    margin: 4px;
    display: flow-root;
}
.header_site{
    width: 275px;
    height: 40px;
    line-height: 30px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    float: left;
    clear: right;
}

.login_img{
    width: 40px;
    height: 40px;
    background-image: url('../images/login.png');
    background-size: 32px;
    float: left;
    cursor: pointer;
    background-repeat: no-repeat;
}

.logout_img{
    width: 40px;
    height: 40px;
    background-image: url('../images/logout.png');
    background-size: 32px;
    float: left;
    cursor: pointer;
    background-repeat: no-repeat;
}

.joanetes_img{
    width: 40px;
    height: 40px;
    background-image: url('../images/joanetes.png');
    background-size: 40px;
    float: right;
    cursor: pointer;
    background-repeat: no-repeat;
}

.painel{
    clear: both;
}
.login{
    clear: both;
    width: 400px;
    height: 100px;
    margin-top: 80px;
    text-align: center;
}

.login label{
    width: 80px;
    display: inline-flex;
    font-weight: bold;
}

.login input{
    margin-bottom: 10px;
}

.menu{
    width: 360px;
    text-align: center;
    height: 800px;
    margin-top: 50px;
}

.opcao_menu{
    border-radius: 10px;
    font-weight: bold;
    border: solid 1px #FF7614;
    background-image: linear-gradient(orange,#FFCA75, orange) !important;
    color: black;
    width: 200px;
    height: 40px;
    display: inline-block;
    line-height: 40px;
    text-align: center;
    margin-bottom: 30px;
}
.clear{
    clear:both;
}
.jornada{
    clear: both;
    float: left;
    margin-top: 20px;
}

.header_rondas
{
    margin-top:15px;
    width: 370px;
    height: 75px;
    line-height: 30px;
    display: grid;
    grid-template-columns: 116px 116px 116px;
    grid-gap: 4px;
    cursor: pointer;
}
.header_ronda{
    display: inline-grid;
    border-radius: 8px;
    text-align: center;
    background-image: linear-gradient(#ddd, #fafafa, #ddd);
    border: solid 1px #333;
    color: #333;  
    font-weight: bold;
}
.ronda{
    clear: both;
    float: left;
    margin-top: 20px;
}

.grupo_resultados_jornada
{
    margin-top: 20px;
}
.grupo{
    clear: both;
    float: left;
    margin-top: 0px;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
  font-size: -8px;
  display:none;
}
.nome_equipa{
    float: left;
    width: calc(50% - 45px);
    text-align: center;
    overflow: clip;
    
}

.equipa_final{
    line-height: 28px;
}
.versus_equipa{
    float: left;
    font-weight: bold;
    width: 8px;
    text-align: center;
    height: 36px;
    line-height: 36px;
}

.inactivo {
  text-decoration: line-through;
  color: black;
}
.painel_equipas
{
    margin-top: 20px;
    float: left;
  clear: both;
  margin-bottom: 40px;
}
.equipa_completa{

    width: 370px;

    display: grid;
    grid-template-columns: 180px 180px;
    grid-gap: 4px;
    cursor: pointer;
    margin-bottom: 10px;
}
.elemento_equipa{
    width: 175px;
    height: 22px;
     line-height: 30px;
}
.jogador1_equipa{
    width: 175px;
}

.jogador2_equipa{
    width: 175px;
}


.resultado{
    margin-bottom: 4px;
    height: 70px;
    width: 100%;
    clear: both;
    overflow:hidden;
}

.campo{
    float: left;
    width: 360px;
    height: 28px;
    line-height: 28px;
    font-weight: bold;
    text-align: center;
    color: #ff0;
}

.erro{
    clear: both;
    float: left;
    margin-top: 20px;
    color: #a33;
}

.escolhida{
    background-image: linear-gradient(orange,#FFCA75, orange) !important;
    border: solid 1px #FF7614 !important;
    color: black !important;
}

.hidden{
    display: none;
}

.grupo_grupo{
    border: dotted 2px orange;
    margin-bottom: 10px;
}
.grupo_ronda
{
    margin-top: 15px;
    width: 355px;
}

.first{
    margin-left: 0px;
    clear: both;
    margin-right: 2px;
}

.resultado_equipa{
    float: left;
    padding-right: 2px;
}
.jogos_ganhos{
    border: solid 1px black;
    width: 18px;
    height: 28px;
    line-height: 28px;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    border-radius: 5px;
    background-color: #EEE;
    color: black;
}

.left{
    float: left;
}

.right{
    float: right;
}
.mais{
    width: 31px;
    height: 31px;
    background-image: url('../images/adicionar.png');
    background-repeat: no-repeat;
    background-size: 31px;
    margin-left: 5px;
    margin-right: 5px;
}

.menos{
    width: 31px;
    height: 31px;
    background-image: url('../images/eliminar.png');
    background-repeat: no-repeat;
    background-size: 31px;
     margin-left: 5px;
    margin-right: 5px;
}

.simular{
    float: left;
    margin-right: 2px;
    border: solid 1px black;
    background-color: orange;
    color: black;
    border-radius: 4px;
    height: 25px;
    line-height: 25px;
    width: 120px;
    text-align: center;
}

.lbl_info {
   width: 50px;
   display: inline-block;
}
.data_jornada, .local_jornada{
    margin-bottom: 5px;
    height:20px;
}
#jogadores_inscritos
{
    width: 30px;
    text-align: right;
    display: inline-block;
}
.header_jogadores{
    height: 30px;
    width:100%;
    line-height: 30px;
    margin-bottom: 5px;
    text-align: center;
    font-weight: bold;
}
.jogadores_jornada{
    display: grid;
    grid-template-columns: 170px 170px;
    grid-gap: 1px; 
    row-gap: 8px;
}
.nome_jogador_lista{
    display: inline-grid;
    width: 170px;
    text-align: center;
   
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 5px;
    overflow: clip;
    height: 20px;
}


.jogadores{
    display: grid;
    grid-template-columns: 150px 20px 150px 20px;
    grid-gap: 1px; 
    row-gap: 8px;
}
.nome_jogador{
    display: inline-grid;
    width: 168px;
    text-align: center;
   
    border-radius: 5px;
    overflow: clip;
    height: 20px;
}
.editar_jogador_btn{
    
     width: 20px;
    height: 20px;
    background-image: url('../images/edit.png');
    background-repeat: no-repeat;
    background-size: 20px;
    cursor: pointer;

}
.editar_jogador_nome input{
   width: 200px;
}

.jogador_existente{
    display: inline-grid;
    width: 150px;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 5px;
}
.editar_jogador_lbl{
    width: 100px;
    vertical-align: top;
    display: block;
}
.editar_jogador_posicao, .editar_jogador_activo {
    margin-top: 10px;
}
.editar_jogador_foto{
    margin-top: 10px;
}


.foto_jogador{
    width: 200px;
}

#yourBtn {
  width: 150px;
  padding: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border: 1px dashed #BBB;
  text-align: center;
  background-color: orange;
  cursor: pointer;
}

div.tipo_jornada{
    margin-bottom: 5px;
}

#tipo_jornada{
    width: 200px;
}

#local_jornada{
    width: 200px;
}
.accoes{
    margin-top: 70px;
  width: 340px;
  height: 40px;

}
.accoes_jornada{
      margin-left: 100px;
}
.botao{
    width: 150px;
    height: 30px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    line-height: 30px;

}

.eliminar{
    float: left;
    clear: both;
    background-image: linear-gradient(#D20000, #FF1E1E, #D20000);
    color: #fff;
    border: solid 1px #C10000;
}

.cancelar{
    float: left;
    clear: both;
    background-image: linear-gradient(#D20000, #FF1E1E, #D20000);
    color: #fff;
    border: solid 1px #C10000;
}

.gravar{
    float: right;
    background-image: linear-gradient(green, #3Fa542, green);
    color: #fff;
    border: solid 1px green;
}

.finalizar{
    background-image: linear-gradient(blue,#566FFF, blue) !important;
    border: solid 1px darkblue;
    color: white;
    float: right;
}

.laranja{
    background-image: linear-gradient(orange, #FFDF8E, orange) !important;
    border: solid 1px darkblue;
    color: #222;
    float: right;
}

.classificacao_jornada{
    display: grid;
    grid-template-columns: 160px 50px 40px 40px 40px;
    grid-gap: 1px;
}
.class_header{
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: solid 1px white;
}
.class_values
{
    height: 20px;
    border-bottom: dotted 1px white;
    margin-bottom: 3px;
}
.class_double{
    line-height: 20px;
    height: 20px;
    border-bottom: dotted 1px white;
    margin-bottom: 3px;
}
.class_nome{
    overflow: clip;
    line-height: 18px;
    padding-left: 2px;
}
.jogador_equipa
{
    overflow: clip;
    width: 100%;
    height: 17px;
    text-align: center;
    line-height: 17px;
}
.centrado
{
    text-align: center;
}
.pontuacoes{
    display: grid;
    grid-template-columns: 145px 50px 50px 32px 32px;
    grid-gap: 0px;
    margin-left: 4px;
    line-height: 18px;
}

.pontuacoes div
{
    height: 18px;
    margin-bottom: 2px;
}


.classificacao{
    display: grid;
    grid-template-columns: 20px 145px 50px 32px 32px 32px 38px;
    grid-gap: 0px;
    margin-left: 4px;
    line-height: 18px;
}

.classificacao div
{
    height: 18px;
    margin-bottom: 2px;
}

.cabecas_serie{
   // font-weight: bold;
   // background-color: rgba(25, 150, 80, 0.8); /* Very light green */
    background-color: #00A510 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.potenciais_cabecas_serie{
  //  font-weight: bold;
 //   background-color: rgba(255, 195, 0, 0.6);
    background-color: #DDA300 !important;
}

.class_posicao{
    text-align: center;
}
div.novo_jogador{
    margin-top: 40px;
}
.lbl_jogador{
    width:120px;
    margin-left: 20px;
    margin-right: 20px;
}
#novo_jogador{
    width: 220px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

/* Vencedores (weekly winners) panel - public */
.painel_vencedores {
  clear: both;
  margin-top: 20px;
  width: 100%;
  max-width: 360px;
}
.vencedores_header {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 15px;
  color: #ff0;
}
.vencedores_jornada_info {
  text-align: center;
  margin-bottom: 20px;
}
.vencedores_data {
  font-weight: bold;
  font-size: 14px;
}
.vencedores_local {
  font-size: 13px;
  margin-top: 4px;
  color: #e0e0e0;
  min-height: 1.4em;
  line-height: 1.3;
}
.vencedores_photos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}
.vencedor_item {
  text-align: center;
  width: 160px;
}
.vencedor_foto {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #FF7614;
  background-color: #fff;
  display: block;
  margin: 0 auto 8px;
}
.vencedor_nome {
  font-size: 12px;
  font-weight: bold;
  line-height: 1.25;
  min-height: 2.5em;
  word-wrap: break-word;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vencedores_vitorias {
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ff0;
}
.vencedores_nav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.vencedores_nav .botao {
  flex: 1;
  min-width: 120px;
  text-decoration: none;
  display: inline-block;
  line-height: 30px;
  box-sizing: border-box;
}
.vencedores_nav .botao.disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}
.vencedores_prev {
  background-image: linear-gradient(#666, #888, #666);
  color: #fff;
  border: solid 1px #555;
}
.vencedores_next {
  background-image: linear-gradient(green, #3Fa542, green);
  color: #fff;
  border: solid 1px green;
}
.vencedores_empty {
  text-align: center;
  margin: 20px 0;
  font-style: italic;
}