@charset "UTF-8";
.contestant-block {
  display: inline-block;
  vertical-align: middle;
  border: 1px solid #ddd;
  border-radius: 3px;
  margin: 3px;
  text-align: center;
}
.contestant-block img {
  display: block;
}
.contestant-block button {
  display: inline-block;
  margin: 0;
  padding: 0;
}

.contest-diagram {
  width: 100%;
  overflow: auto;
  padding: 20px;
}
.contest-diagram .contest {
  width: unset;
  margin: auto;
}

.grayscale {
  filter: grayscale(1);
}

#buttons_mode .stage {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  align-content: stretch;
  position: relative;
}
#buttons_mode .stage:before {
  content: "";
  height: 50%;
  width: 0px;
  border-style: solid;
  border-width: 0;
  border-right-width: 2px;
  border-color: #666;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto 0;
}
#buttons_mode .stage:last-child:before {
  margin-top: 0;
}
#buttons_mode .stage:first-child:before {
  margin-bottom: 0;
}
#buttons_mode .stage:first-child:nth-last-child(3):nth-child(2):before, #buttons_mode .stage:first-child:nth-last-child(3) ~ *:nth-child(2):before {
  margin-top: 0;
  margin-bottom: 0;
  height: 100%;
}
#buttons_mode .player {
  position: relative;
  order: 1;
  align-self: center;
}
#buttons_mode .player:before {
  content: "";
  width: 15px;
  height: 0px;
  border-style: solid;
  border-width: 0;
  border-top-width: 2px;
  border-color: #666;
  position: absolute;
  bottom: 0;
  left: 0;
  top: 0;
  margin: auto 0;
}
#buttons_mode .player:after {
  content: "";
  width: 15px;
  height: 0px;
  border-style: solid;
  border-width: 0;
  border-top-width: 2px;
  border-color: #666;
  position: absolute;
  bottom: 0;
  right: 0;
  top: 0;
  margin: auto 0;
}
#buttons_mode .player.stage_-1:before {
  content: unset;
}
#buttons_mode .contest > .stage:before,
#buttons_mode .contest > .stage > .player:after {
  content: unset;
}
#buttons_mode .match {
  margin: 7px 0;
}
#buttons_mode .contestant {
  display: block;
  border-radius: 5px;
  border: 1px solid gray;
  padding: 3px;
  width: 180px;
  height: 38px;
  position: relative;
  text-align: left;
  margin: 2px 15px;
  overflow: hidden;
  box-shadow: inset 0 -9px 0px -4px rgba(0, 0, 0, 0.07);
  background-position: -30% center;
}
#buttons_mode .contestant img {
  width: 50px;
  height: 50px;
  border-radius: 500px;
  margin: -10px 10px;
  box-shadow: 0 0 5px white;
  background-color: white;
}
#buttons_mode .contestant strong {
  font-size: 0.9em;
  color: white;
}
#buttons_mode .contestant:not(.current) {
  cursor: unset;
}
#buttons_mode .contestant.unknown {
  background-color: #ddd;
}
#buttons_mode .contestant.unknown img, #buttons_mode .contestant.unknown strong {
  display: none;
}
#buttons_mode .contestant.current {
  animation: shinie 1s ease-in-out infinite;
  text-align: center;
  font-size: 1.2em;
  background-color: #E03E52;
  color: white;
}
#buttons_mode .contestant.current:before {
  content: "¡VOTA AQUÍ!";
}
#buttons_mode .contestant.view_votes {
  cursor: pointer;
}
#buttons_mode .contestant.view_votes:hover {
  box-shadow: inset 0 -9px 0px -4px rgba(0, 0, 0, 0.07), 0 0 5px 2px rgba(0, 0, 0, 0.3);
}

@keyframes shinie {
  0% {
    box-shadow: inset 0 -9px 0px -4px rgba(0, 0, 0, 0.07), 0 0 5px 2px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: inset 0 -9px 0px -4px rgba(0, 0, 0, 0.07), 0 0 0px 0px rgba(0, 0, 0, 0.3);
  }
  100% {
    box-shadow: inset 0 -9px 0px -4px rgba(0, 0, 0, 0.07), 0 0 5px 2px rgba(0, 0, 0, 0.3);
  }
}
.grayscale {
  filter: grayscale(1);
}

#photos_mode .contest {
  display: table;
}
#photos_mode .stage {
  display: table-cell;
  position: relative;
}
#photos_mode .stage:before {
  content: "";
  width: 50%;
  height: 0px;
  border-style: solid;
  border-width: 0;
  border-top-width: 2px;
  border-color: #666;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: 0 auto;
}
#photos_mode .stage:last-child:before {
  margin-left: 0;
}
#photos_mode .stage:first-child:before {
  margin-right: 0;
}
#photos_mode .stage:first-child:nth-last-child(3):nth-child(2):before, #photos_mode .stage:first-child:nth-last-child(3) ~ *:nth-child(2):before {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}
#photos_mode .player {
  position: relative;
  text-align: center;
}
#photos_mode .player:before {
  content: "";
  height: 15px;
  width: 0px;
  border-style: solid;
  border-width: 0;
  border-left-width: 2px;
  border-color: #666;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: 0 auto;
}
#photos_mode .player:after {
  content: "";
  height: 15px;
  width: 0px;
  border-style: solid;
  border-width: 0;
  border-left-width: 2px;
  border-color: #666;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
}
#photos_mode .player.stage_-1:after {
  content: unset;
}
#photos_mode .contest > .stage:before,
#photos_mode .contest > .stage > .player:before {
  content: unset;
}
#photos_mode .match {
  display: table;
}
#photos_mode .contestant {
  display: inline-block;
  border-radius: 5px;
  border: 1px solid gray;
  padding: 0;
  width: 60px;
  height: 60px;
  position: relative;
  text-align: left;
  margin: 15px 15px;
  overflow: hidden;
  box-shadow: inset 0 -9px 0px -4px rgba(0, 0, 0, 0.07);
  background-position: -30% center;
}
#photos_mode .contestant img {
  width: 50px;
  height: 50px;
  margin: 5px;
  border-radius: 500px;
  box-shadow: 0 0 5px white;
  background-color: white;
  position: absolute;
  top: 0;
}
#photos_mode .contestant strong {
  font-size: 0.9em;
  color: white;
  display: none;
}
#photos_mode .contestant:not(.current) {
  cursor: unset;
}
#photos_mode .contestant.unknown {
  background-color: #ddd;
}
#photos_mode .contestant.unknown img, #photos_mode .contestant.unknown strong {
  display: none;
}
#photos_mode .contestant.current {
  animation: shinie 1s ease-in-out infinite;
  text-align: center;
  font-size: 1.2em;
  background-color: #E03E52;
  color: white;
}
#photos_mode .contestant.current:before {
  content: "¡VOTA AQUÍ!";
}
#photos_mode .contestant.view_votes {
  cursor: pointer;
}
#photos_mode .contestant.view_votes:hover {
  box-shadow: inset 0 -9px 0px -4px rgba(0, 0, 0, 0.07), 0 0 5px 2px rgba(0, 0, 0, 0.3);
}

@keyframes shinie {
  0% {
    box-shadow: inset 0 -9px 0px -4px rgba(0, 0, 0, 0.07), 0 0 5px 2px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: inset 0 -9px 0px -4px rgba(0, 0, 0, 0.07), 0 0 0px 0px rgba(0, 0, 0, 0.3);
  }
  100% {
    box-shadow: inset 0 -9px 0px -4px rgba(0, 0, 0, 0.07), 0 0 5px 2px rgba(0, 0, 0, 0.3);
  }
}
#contest_html img {
  max-width: 100%;
  max-height: 350px;
  margin: auto;
}
#contest_html .html {
  background-color: #eee;
  text-align: center;
  padding: 5px;
  border-radius: 5px;
}
#contest_html .btn-radio {
  width: 0px;
  height: 0px;
  opacity: 0;
}
#contest_html .btn-radio + label {
  background-color: #ccc;
  color: #666;
  border-color: rgba(0, 0, 0, 0.1);
}
#contest_html .btn-radio:not(:checked) + label .icon {
  display: none;
}
#contest_html .btn-radio:checked + label {
  background-color: #43B02A;
  color: #fff;
  background-image: url(../png/crown.png);
  background-position: 10% center;
  background-size: 13% auto;
  background-repeat: no-repeat;
}

.icon.crown {
  background-image: url("../svg/crown.svg");
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20version%3D%221.1%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20x%3D%220%22%20y%3D%220%22%20viewBox%3D%220%200%2032%2032%22%20style%3D%22enable-background%3Anew%200%200%20512%20512%22%20xml%3Aspace%3D%22preserve%22%20class%3D%22%22%3E%3Cg%3E%3Cg%20fill%3D%22%23ffb743%22%3E%3Cpath%20d%3D%22M2.837%2020.977%201.012%209.115c-.135-.876.863-1.474%201.572-.942l5.686%204.264a1.359%201.359%200%200%200%201.945-.333l4.734-7.1c.5-.75%201.602-.75%202.102%200l4.734%207.1a1.359%201.359%200%200%200%201.945.333l5.686-4.264c.71-.532%201.707.066%201.572.942l-1.825%2011.862zM27.79%2027.559H4.21a1.373%201.373%200%200%201-1.373-1.373v-3.015h26.326v3.015c0%20.758-.615%201.373-1.373%201.373z%22%20fill%3D%22%23ffb743%22%20opacity%3D%221%22%20data-original%3D%22%23ffb743%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}

.icon.delete {
  background-image: url("../svg/delete.svg");
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20version%3D%221.1%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20x%3D%220%22%20y%3D%220%22%20viewBox%3D%220%200%2032%2032%22%20style%3D%22enable-background%3Anew%200%200%20512%20512%22%20xml%3Aspace%3D%22preserve%22%20class%3D%22%22%3E%3Cg%3E%3Cpath%20d%3D%22M19.5%2023.75a1%201%200%200%200%201-1v-10a1%201%200%200%200-2%200v10a1%201%200%200%200%201%201zM12.5%2023.75a1%201%200%200%200%201-1v-10a1%201%200%200%200-2%200v10a1%201%200%200%200%201%201zM20%204.25a1%201%200%200%200%200-2h-8a1%201%200%200%200%200%202z%22%20fill%3D%22%23000000%22%20opacity%3D%221%22%20data-original%3D%22%23000000%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M5%205.25a1%201%200%200%200%200%202h1v18.4c0%202.26%201.84%204.1%204.1%204.1h11.8c2.26%200%204.1-1.84%204.1-4.1V7.25h1a1%201%200%200%200%200-2H7zm19%202v18.4a2.1%202.1%200%200%201-2.1%202.1H10.1a2.1%202.1%200%200%201-2.1-2.1V7.25z%22%20fill%3D%22%23000000%22%20opacity%3D%221%22%20data-original%3D%22%23000000%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}

.icon.edit {
  background-image: url("../svg/edit.svg");
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20version%3D%221.1%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20x%3D%220%22%20y%3D%220%22%20viewBox%3D%220%200%20682.667%20682.667%22%20style%3D%22enable-background%3Anew%200%200%20512%20512%22%20xml%3Aspace%3D%22preserve%22%20class%3D%22%22%3E%3Cg%3E%3Cdefs%3E%3CclipPath%20id%3D%22a%22%20clipPathUnits%3D%22userSpaceOnUse%22%3E%3Cpath%20d%3D%22M0%20512h512V0H0Z%22%20fill%3D%22%23000000%22%20opacity%3D%221%22%20data-original%3D%22%23000000%22%3E%3C%2Fpath%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3Cg%20clip-path%3D%22url(%23a)%22%20transform%3D%22matrix(1.33333%200%200%20-1.33333%200%20682.667)%22%3E%3Cpath%20d%3D%22m0%200-140.024-29.092%2029.092%20140.024L210.326%20432.19c21.425%2021.426%2056.164%2021.426%2077.59%200l33.342-33.342c21.426-21.426%2021.426-56.164%200-77.59z%22%20style%3D%22stroke-width%3A30%3Bstroke-linecap%3Abutt%3Bstroke-linejoin%3Amiter%3Bstroke-miterlimit%3A10%3Bstroke-dasharray%3Anone%3Bstroke-opacity%3A1%22%20transform%3D%22translate(159.59%2048.554)%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20stroke-width%3D%2230%22%20stroke-linecap%3D%22butt%22%20stroke-linejoin%3D%22miter%22%20stroke-miterlimit%3D%2210%22%20stroke-dasharray%3D%22none%22%20stroke-opacity%3D%22%22%20data-original%3D%22%23000000%22%20class%3D%22%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22m0%200%20104.482-104.483%22%20style%3D%22stroke-width%3A30%3Bstroke-linecap%3Abutt%3Bstroke-linejoin%3Amiter%3Bstroke-miterlimit%3A10%3Bstroke-dasharray%3Anone%3Bstroke-opacity%3A1%22%20transform%3D%22translate(305.862%20404.35)%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20stroke-width%3D%2230%22%20stroke-linecap%3D%22butt%22%20stroke-linejoin%3D%22miter%22%20stroke-miterlimit%3D%2210%22%20stroke-dasharray%3D%22none%22%20stroke-opacity%3D%22%22%20data-original%3D%22%23000000%22%20class%3D%22%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22m0%200%20104.483-104.483%22%20style%3D%22stroke-width%3A30%3Bstroke-linecap%3Abutt%3Bstroke-linejoin%3Amiter%3Bstroke-miterlimit%3A10%3Bstroke-dasharray%3Anone%3Bstroke-opacity%3A1%22%20transform%3D%22translate(344.289%20448.781)%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20stroke-width%3D%2230%22%20stroke-linecap%3D%22butt%22%20stroke-linejoin%3D%22miter%22%20stroke-miterlimit%3D%2210%22%20stroke-dasharray%3D%22none%22%20stroke-opacity%3D%22%22%20data-original%3D%22%23000000%22%20class%3D%22%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22m0%200%20104.482-104.483%22%20style%3D%22stroke-width%3A30%3Bstroke-linecap%3Abutt%3Bstroke-linejoin%3Amiter%3Bstroke-miterlimit%3A10%3Bstroke-dasharray%3Anone%3Bstroke-opacity%3A1%22%20transform%3D%22translate(58.977%20156.907)%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20stroke-width%3D%2230%22%20stroke-linecap%3D%22butt%22%20stroke-linejoin%3D%22miter%22%20stroke-miterlimit%3D%2210%22%20stroke-dasharray%3D%22none%22%20stroke-opacity%3D%22%22%20data-original%3D%22%23000000%22%20class%3D%22%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22m0%200-253.526-253.526%22%20style%3D%22stroke-width%3A30%3Bstroke-linecap%3Abutt%3Bstroke-linejoin%3Amiter%3Bstroke-miterlimit%3A10%3Bstroke-dasharray%3Anone%3Bstroke-opacity%3A1%22%20transform%3D%22translate(361.52%20361.416)%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20stroke-width%3D%2230%22%20stroke-linecap%3D%22butt%22%20stroke-linejoin%3D%22miter%22%20stroke-miterlimit%3D%2210%22%20stroke-dasharray%3D%22none%22%20stroke-opacity%3D%22%22%20data-original%3D%22%23000000%22%20class%3D%22%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}
