﻿.label_gradient {
  background: linear-gradient(#008369);
}
.serve-badge {
  display: inline-block;
  text-align: center;
  width: 20px;
  height: 20px;
  line-height: 8px;
  color: yellow;
  background-color: black;
  border-radius: 50% 50% 50% 50%;
}
.seed-badge {
  display: inline-block;
  text-align: center;
  width: 15px;
  height: 15px;
  font-size: 8px;
  line-height: 15px;
  color: white;
  background-color: #82bb25;
  border-radius: 80% 40% 80% 40%;
}
.panel-custom {
  border-color: #2fcc7b;
}
.panel-custom > .panel-heading {
  color: #ffffff;
  background-color: #2fcc7b;
  border-color: #2fcc7b;
}
.panel-custom > .panel-heading + .panel-collapse .panel-body {
  border-top-color: #2fcc7b;
}
.panel-custom > .panel-footer + .panel-collapse .panel-body {
  border-bottom-color: #2fcc7b;
}
.btn-custom {
  color: #ffffff;
  background-color: #2fcc7b;
  border-color: #2ab76f;
}
.btn-custom:hover,
.btn-custom:focus,
.btn-custom:active,
.btn-custom.active,
.open .dropdown-toggle.btn-custom {
  color: #ffffff;
  background-color: #27ab67;
  border-color: #1f8651;
}
.bg-success {
  background-color: #DFF0D8;
}
span.role {
  display: inline-block;
  padding: 5px 10px;
  margin-right: 5px;
  border-radius: 5px;
}
#live-scores .seed,
#mobile-score .seed {
  display: inline-block;
  text-align: center;
  width: 15px;
  height: 15px;
  font-size: 8px;
  line-height: 15px;
  color: white;
  background-color: #82bb25;
  border-radius: 80% 40% 80% 40%;
}
#live-scores .serve,
#mobile-score .serve {
  display: inline-block;
  text-align: center;
  width: 20px;
  height: 20px;
  line-height: 8px;
  color: yellow;
  background-color: black;
  border-radius: 50% 50% 50% 50%;
}
#live-scores .serve.hide,
#mobile-score .serve.hide {
  visibility: hidden;
}
#live-scores .serve-button-wrapper,
#mobile-score .serve-button-wrapper {
  font-size: 30px;
  font-weight: bolder;
  padding: 10px 0;
  width: 100px;
}
#live-scores .serve-button-wrapper .btn-serve,
#mobile-score .serve-button-wrapper .btn-serve {
  background-color: black;
  color: white;
}
#live-scores .serve-button-wrapper .btn-serve:hover,
#mobile-score .serve-button-wrapper .btn-serve:hover {
  background-color: darkgray;
}
#live-scores .serve-button-wrapper.left,
#mobile-score .serve-button-wrapper.left {
  text-align: left;
}
#live-scores .serve-button-wrapper.right,
#mobile-score .serve-button-wrapper.right {
  text-align: right;
}
#live-scores {
  padding-top: 50px;
  vertical-align: middle;
}
#live-scores .court-panel > .panel-heading {
  min-height: 40px;
  overflow: hidden;
}
#live-scores .court-panel > .panel-heading:hover {
  cursor: default;
}
#live-scores .duel-item:hover {
  cursor: default;
}
#live-scores .panel-body {
  overflow: auto;
}
#live-scores .player,
#live-scores .score {
  font-size: 2rem;
  font-weight: bolder;
  font-family: "Microsoft YaHei";
}
#live-scores .score-separator {
  font-weight: bold;
  text-align: center;
}
#live-scores table.scores tbody tr:first-child .score-separator {
  line-height: 2rem;
  vertical-align: bottom;
}
#live-scores table.scores th {
  display: none;
  border-bottom: 0;
}
#live-scores table.scores tr:not(:last-child) td {
  border-top: 0;
}
#live-scores table.scores tr:nth-child(2) {
  background-color: #ddd;
}
#live-scores table.scores .playerA,
#live-scores table.scores .scoreA {
  text-align: right;
}
#live-scores table.scores .playerB,
#live-scores table.scores .scoreB {
  text-align: left;
}
#live-scores table.scores input[type="number"] {
  border: 2px dashed #ddd;
  text-align: right;
  width: 100px;
  font-weight: bold;
  font-size: 1.5rem;
}
#live-scores table.scores .scoreA input[type="number"] {
  text-align: right;
}
#live-scores table.scores .scoreB input[type="number"] {
  text-align: left;
}
#live-scores table.scores .existing-set input[type="number"] {
  border: 0;
}
#live-scores table.scores .existing-set .remove-icon,
#live-scores table.scores .existing-set .modify-icon {
  visibility: hidden;
}
#live-scores table.scores .existing-set:hover .remove-icon,
#live-scores table.scores .existing-set:hover .modify-icon {
  visibility: hidden;
  visibility: visible;
}
#live-scores table.scores .remove-icon.disabled,
#live-scores table.scores .modify-icon.diabled {
  pointer-events: none;
}
#live-scores .panel-footer {
  overflow: hidden;
}
#live-scores .referees .arrange-referee {
  position: relative;
  top: -25px;
}
#live-scores .referees .referee {
  display: inline-block;
  margin-right: 10px;
}
#live-scores .referees .idendity {
  display: inline-block;
  text-align: center;
}
#live-scores .referees .idendity img.chief {
  border: 2px solid #2fcc7b;
  padding: 3px;
}
#live-scores .referees .idendity .name {
  font-weight: bold;
  cursor: pointer;
}
#live-scores .referees .idendity .name a {
  display: none;
}
#live-scores .referees .idendity .name:hover > a {
  display: inline;
}
#mobile-score .score {
  margin-top: 25px;
}
#mobile-score .score .sector {
  vertical-align: middle;
}
#mobile-score .score .sector img {
  display: inline;
}
#mobile-score .score .number-wrapper {
  border: 2px dashed #666;
  text-align: center;
  line-height: 80px;
  font-size: 40px;
  padding: 10px;
  width: 100px;
}
#mobile-score .score .operator {
  margin: 10px 0;
  padding: 10px;
  text-align: center;
  font-size: 40px;
  border: 2px solid #ddd;
  border-radius: 15px;
}
#mobile-score #operation .btn-operation {
  margin-left: 15px;
}
#mobile-score #operation #new-set {
  margin-right: 15px;
}
#referee .duel-heading .badge.duel-name {
  font-size: inherit;
}
#referee .duel-heading .players {
  display: inline-block;
  margin-left: 2em;
  margin-right: 2em;
}
#referee .referee .avatar {
  margin-top: 20px;
  margin-bottom: 10px;
}
#referee .referee .checkbox {
  font-weight: bold;
  font-size: 1.5em;
}
#referee #operation {
  margin-top: 25px;
}
#referee #operation input {
  margin-left: 15px;
}
@media only screen and (max-width: 767px) {
  #referee .referee > div {
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
  }
}
@media only screen and (max-width: 433px) {
  #mobile-score #operation .btn-operation,
  #mobile-score #operation #new-set {
    font-size: 14px;
  }
  #mobile-score #com-name {
    font-size: 18px;
  }
  #mobile-score h4 {
    font-size: 14px;
  }
  #mobile-score .score {
    margin-bottom: 0;
    margin-top: 10px;
  }
  #mobile-score .score .number-wrapper {
    font-size: 30px;
  }
  #mobile-score .score .operator {
    font-size: 30px;
  }
}