/*brackets style
------------------------------*/
.match_unit img{
  height: 20px;
  margin: 0 10px !important;
}
.brackets_container *{
  box-sizing: border-box;
}
.brackets_container{
  padding: 40px;
  font-family: tahoma;
  overflow-x: auto;
  max-width: 100%;
  background-color: #f0f0f0;
  clear: both;
}
.brackets_container a{
  text-decoration: none;
  color: #000;
}
.brackets_container a:hover{
  background-color: #fff;
}
.brackets_container table{
  width: 100%;
}
.brackets_container th{
  font-size: 13px;
  padding: 10px 0;
  width: 10%;
  font-weight: normal;
  color: #777;
  text-align: center;
}
/*rounds style
------------------------------*/
.round_column{
  padding: 10px 5px;
  box-shadow: 0 -3px 0 rgba(0,0,0,.07);
}
.round_column.focus, .round_column:hover{
  box-shadow: 0 -3px 0 #cc0000;
}
.r_16 .mtch_container{
  padding: 20px 0;
}
.r_16 .m_segment{
  height: 45px;
}
.r_8 .mtch_container{
  padding: 50px 0;
}
.r_8 .m_segment{
  height: 80px;
}
.r_4 .mtch_container{
  padding: 80px 0;
}
.r_4 .m_segment{
  height: 145px;
}
/*Match unite style
------------------------------*/
.match_unit{
  position: relative;
}
.match_unit:hover{
  box-shadow: 0 0 0 2px rgba(0,0,0,.15);
}
.match_unit:hover .m_dtls span{
  visibility: visible;
}
.match_unit:after{
  position: absolute;
  content: '';
  width: 15px;
  height: 2px;
  background-color: #fff;
  top: 50%;
  right: -13px;
}
.match_unit.highlight:after{
  background-color: #cc0000;
}
.match_unit .highlight.loser:after{
  position: absolute;
  content: '';
  width: 15px;
  height: 2px;
  background-color: #fff;
  right: -15px;
  z-index: 99;
}
.match_unit .m_top.highlight.loser:after{
  bottom: -2px;
}
.match_unit .m_bottom.highlight.loser:after{
  top: 0;
}
.match_unit .m_top, .match_unit .m_botm{
  position: relative;
  width: 100%;
}
.match_unit .m_top.winner:hover, .match_unit .m_botm.winner:hover{
  border-right-color: #cc0000;
}
.match_unit .m_segment{
  border-right: solid 2px #fff;
}
.match_unit .m_segment:hover > span{
  background-color: #cc0000;
  color: #fff;
 }
.match_unit .m_segment:hover.loser, .match_unit .m_segment.highlight .loser{
  border-right: solid 2px #fff;
}
.match_unit .m_segment.winner.highlight{
  border-right-color: #cc0000;
}
.match_unit .m_segment.loser.highlight{
  border-right-color: #fff;
}
.match_unit .m_segment > span{
  position: absolute;
  left: 0;
  right: 0;
  display: block;
  background: #fff;
  font-size: 13px;
  z-index: 1;
  height: 30px;
  line-height: 29px;
  padding: 0 2px;
  cursor: default;
}
.match_unit .m_segment.highlight > span{
  background-color: #cc0000;
  color: #fff;
  box-shadow: 2px 0 0 #cc0000;
}
.m_segment > span a{
  float: left;
  display: inline;
  padding: 0 3px;
  border-radius:2px;
  height: 26px;
  line-height: 25px;
  margin-top: 2px;
}
.match_unit .m_segment.highlight > span a{
  color: #fff;
}
.match_unit .m_segment.highlight > span a:hover{
  color: #cc0000;
}
.match_unit .m_segment > span strong{
  float: right;
  color: #cc0000;
  font-size: 13px;
  padding: 0 4px;
}
.match_unit .m_segment.highlight > span strong{
  color: #fff;
}
.match_unit .m_segment > span img, .match_unit .m_segment > span span{
  vertical-align: middle;
}
.match_unit .m_top span{
  top:0;
}
.match_unit .m_botm span{
  bottom:0;
}
.m_dtls{
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
  padding: 0 5px;
}
.m_dtls span{
  font-size: 10px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
  display: block;
  visibility: hidden;
  width: 93%;
  text-align: center;
}
/*final-round style
------------------------------*/
.final{
  position: relative;
}
.final .match_unit{
  display: flex;
  background-color: #fff;
}
.final .match_unit .m_segment{
  width: 50%;
  height: 75px;
  display: inline-flex;
  border: none;
  text-align: center;
}
.final .m_segment span{
  height: 100%;
  display: block;
  line-height: normal;
  padding-bottom: 3px;
}
.final .match_unit .m_segment > span strong{
  display: block;
  padding: 5px;
  float: none;
}
.final .m_segment span a{
  float: none;
  display: block;
  height: auto;
}
.final .m_dtls{
  bottom: -20px;
  top: auto;
  overflow: visible;
}
.final .match_unit .highlight.loser:after{
  display: none;
}
.final .match_unit .m_segment.loser.highlight{
  border: none;
}
.final .match_unit .m_segment.highlight > span{
  box-shadow: none;
}
/*winner team style
------------------------------*/
.winner_team{
  position: absolute;
  top: 25px;
  text-align: center;
  right: 0;
  left: 0;
}
.winner_team > span{
  font-size: 11px;
  color: #777777;
  display: block;
}
.focus .winner_team > span{
  color: #cc0000;
}
.winner_team > span a{
  display: block;
  padding: 10px;
  margin: 10px auto;
  width: 60px;
  height: 60px;
  border-radius: 50px;
  background-color: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.1);
}
.focus .winner_team > span a{
  box-shadow: 0 0 0 2px #cc0000;
}
.winner_team > span a img{
  display: block;
  margin: auto;
}
.m_segment.first:after, .m_segment.second:after, .m_segment.third:after, .m_segment.fourth:after{
  content: '';
  position: absolute;
  top: -10px;
  border: solid 7px transparent;
  border-top-color: #bbb;
  left: 0;
  right: 0;
  margin: auto;
  width: 0;
  height: 0;
}
.m_segment.first:before, .m_segment.second:before, .m_segment.third:before, .m_segment.fourth:before{
  position: absolute;
  top: -30px;
  padding: 5px;
  font-size: 11px;
  color: #fff;
  background-color: #bbb;
  left: 0;
  right: 0;
  margin: 0 7%;
  display: inline;
}
.m_segment:hover:before, .m_segment.highlight:before{
  background-color: #444;
}
.m_segment:hover:after, .m_segment.highlight:after{
  border-top-color: #444;
}
.m_segment.first:before{
  content: '1º';
}
.m_segment.second:before{
  content: '2º';
}
.m_segment.third:before{
  content: '3º';
}
.m_segment.fourth:before{
  content: '4º';
}
.third_position{
  position: absolute;
  bottom: 20px;
  width: 94%;
  padding: 0;
}
.third_position .match_unit:after{
  display: none;
}
/*reversed tree style
------------------------------*/
.reversed .match_unit:after{
  right: auto;
  left: -13px;
}
.reversed .match_unit .m_segment{
  border-left: solid 2px #fff;
  border-right: none;
}
.reversed .match_unit .m_segment:hover.loser,.reversed .match_unit .m_segment.highlight .loser {
  border-left: solid 2px #fff;
  border-right: none;
}
.reversed .match_unit .m_segment:hover.winner,.reversed .match_unit .m_segment.highlight .winner {
  border-left: solid 2px #cc0000;
}
.reversed .match_unit .highlight.loser:after{
  right: auto;
  left: -15px;
}
.reversed .match_unit .m_segment.winner.highlight {
  border-left-color: #cc0000;
}
.reversed .match_unit .m_segment.loser.highlight {
  border-left-color: #fff;
}
.reversed  .match_unit .m_segment > span strong{
  float: left;
}
.reversed .m_segment > span a, .reversed .m_segment > span img{
  float: right;
}
.reversed .m_segment > span img{
  margin-right: 0;
  margin-left: 3px;
}
.reversed .match_unit .m_segment.highlight > span{
  box-shadow: -2px 0 0 #cc0000;
}

/*smaller screens style
------------------------------*/
@media (max-width: 768px) {
  .match_unit .m_segment > span span{
    display: none;
  }
  .brackets_container th{
    font-size: 12px;
  }
}
@media (max-width: 900px) {
  .match_unit .m_segment > span{
    font-size: 11px;
  }
  .match_unit .m_dtls span{
    display: none;
  }
}

/*ie specific style
------------------------------*/
.ie9 .final .match_unit .m_segment,.ie8 .final .match_unit .m_segment{
  width: 48%;
  display: inline-block;
}


.custom-header {
    background: #000 none repeat scroll 0 0;
    color: #fff;
    padding: 3px;
    text-align: center;
}




.color-selector .colorpicker-saturation { 
width: 100px; 
height: 90px; 
}
.color-selector-club .colorpicker-saturation {
  width: 100px;
  height: 90px;
}
.color-selector .colorpicker-hue, .color-selector .colorpicker-alpha
{ 
width: 10px; 
height: 90px; 
}
.color-selector-club .colorpicker-hue, .color-selector-club .colorpicker-alpha
{
  width: 10px;
  height: 90px;
}

.color-selector .colorpicker-color, .color-selector .colorpicker-color div { height: 10px; }

.color-selector-club .colorpicker-color, .color-selector-club .colorpicker-color div { height: 10px; }


.ms-container{width:100%!important;}

.botonpeque
{
    line-height: 17px !important;
    padding: 0px 15px 0px 15px !important;
}

.youtube 
{
    position: relative;
    display: inline-block;
}

.youtube:before 
{
    content: "";
    position: absolute;
    width: 100px;
    height: 75px;
    z-index: 10;
    background: transparent url('../img/play.png') center center no-repeat;
    background-size: 100px 75px;
}


#tabla_convocados .nombre_jugador,#staffseleccion .nombre_jugador{float: left;
margin-top: 18px;}


#tabla_convocados .padre_foto,#staffseleccion .padre_foto {
    width: 35px;
    height: 35px;
    overflow: hidden;
    margin: 10px 10px 10px 30px;
    position: relative;
    border-radius: 35px;
    float: left;
}


#tabla_convocados .padre_foto img ,
#staffseleccion .padre_foto img 
{
    position: absolute;
    width: 35px;
    height: auto;
}

.semaforo {
    width: 30px;
    height: auto;
    margin-top: 8px;
    margin-left: 15px;
}

