
.left{
    text-align: center;
}

.right{
    text-align: center;
}

.vcenter{
    display: inline-block;
    vertical-align: middle;
    float: none;
}

/**
* CSS per giornate
*/
#giornate{
    display: table;
    margin: 0 auto;
    margin-bottom: 30px;
}
.giornata {  
  height: 30px;
  width: 30px;
  float: left;
  border-radius: 40px;
  background-color: rgba(85, 172, 29,0.4);
  color: white;
  line-height: 30px;
  margin: 2px;
}
.giornata:hover, .giornata.selected{
    background-color: rgba(85, 172, 29,1.0);
    cursor:pointer;
}

/**
* CSS per partite
*/
#selection{
    min-height: 110px;
}

#selection  #partitaWrapper{
    text-align: center;
    padding: 8px;
    vertical-align: top;
    border-top: 1px solid #ddd;
    padding: 8px 6px 8px 6px;
    margin: 0px!important;
    display: flex;
}

#partitaWrapper span:first-child{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#selection  #partitaWrapper.lastrow{
    border-bottom: 1px solid #ddd;
}

#partitaWrapper:hover, .match.selected > #partitaWrapper{
    cursor:pointer;
    background-color: rgb(230, 230, 230); 
}

.formazioneNonInserita {
  color: rgb(215,30,37);
}

/**
* CSS per risultato BOX
*/
#risultato *{
    text-align: center;
}

#risultato{
    background-color: rgba(17,109,173,0.2);
    border-radius: 70px;
    padding: 10px;
    min-height: 140px;
}

#condividi_box{
    line-height: 0px
}

#condividi_box{
    display: hidden;
}

.social.minisocial{
    transform-origin:top center;
    -moz-transform: scale(0.75);
    -transform: scale(0.75);
    -webkit-transform: scale(0.75);
}

#risultato img{
    padding: 20px;
} 

#risultato .totale{
    font-size: 30px;
    font-weight: 500;
}

#risultato .subtotale{
  line-height: 10px;
  font-weight: 300;
  font-size: 18px;
}

#risultato .team{
    font-size: 25px;
    font-weight: 400;
}
#risultato .allenatore{
    font-size: 18px;
}

#risultato .social{
    margin-top: 5px;
}


/*
* CSS per header team
*/
.header{
    margin: 20px 0px 0px 0px;
    padding: 10px;
}

.header .bonusmalus.bonus, .header .bonusmalus.malus{
  height: 33px;
  width: 33px;
  text-align: center;
  color: white;
  font-weight: bold;
  border-radius: 33px;
  font-size: 13px;
  line-height: 33px;
}

.mgs{
    margin: 15px;
    text-align: left;
}

.msg span{
    font-size: 20px;
}

.msg, .showTribuna, .editFormazione{
  visibility: hidden;
}



/*
* CSS per team
*/
#teams > div{
    min-height: 592px;
}

#teams > table{
    width: 98%;
    left:0px;
    top:0px;
    position: absolute;
}

#teams td{
    height: 33px;
}

#teams th{
    text-align: center;
    font-weight: 400;
}

#teams .first{
    border-top: 2px solid gray;
}


#teams tr.success{
    background-color: #dff0d8;
}

#teams .success.panchina > td{
    background-color: #C9D8C2;
}

#teams .danger.panchina > td{
    background-color: #DAC8C8;
}

#teams .active.panchina > td{
    background-color: #CACACA;
}

.formazione{
  min-height: 400px;
}


/*
* Css per icone in team
*/
.icone{
    display: table;
    margin: 0 auto;
}

.bonusmalus{
    width: 22px;
    height: 22px;
    padding: 0px;
    float: left;
    margin-right: 7px;
}

.bonusmalus img{
  height: 22px;
  position: absolute;
  padding: 0px;
}


#teams .spinner{
    width: 94%;
}

.bonusmalus label{  
    height: 17px;
    position: absolute;
    width: 17px;
    text-align: center;
    color: white;
    font-weight: bold;
    border-radius: 20px;
    font-size: 10px;
    margin: -3px 0px 0px -5px;
}

.bonus{
    background-color: rgb(15,109,170);
}

.malus{
    background-color: rgb(215,30,37);
}


/**
* CSS per spinner
*/
.spinner{
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.05); 
    position: absolute;
}

.fa-spinner{
    font-size: 40px;
}

