@charset "utf-8";

#result .pbox {
  padding : 3em .5em;
}

#result .p1,
#result .p2 {
  display : block;
  width : 100%;
  vertical-align : top;
  text-align : left;
}

.pbox .score {
  display : inline-block;
  position : absolute;
  right : 0;
  background-color : #ffffff;
  color : green;
  font-weight : bold;
  top : 0;
  letter-spacing : -.1em;
  min-width : 24%;
  text-align : center;
  font-size : 2rem;
  line-height : 2rem;
  height : 3rem;
  overflow : visible;
  max-width : 4rem;
}

.score p {
  line-height : 2rem;
  height : 3rem;
  position : relative;
  font-weight : bold;
  font-size : 1.8rem;
  margin : 0;
}

#result .p1 .score {
  right : 0;
}

#result .p2 .score {
  right : 0;
  left : initial;
}

#result .name {
  font-size : 2.6rem;
}

#result .p1 .name,
#result .p2 .name {
  margin : 2% 0 2% 15%;
}

#result .score select,
#result .score input {
  /*max-width: 3.5rem;*/
  width : 100%;
  display : inline-block;
  font-size : 3rem;
  line-height : 3rem;
  height : 3rem;
}

#result label.label_checkbox {
  position : absolute;
  right : initial;
  /* bottom: 1rem; */
  top : 0;
  font-size : 1.9rem;
}

#result .p2 label.label_checkbox {
  right : initial;
  right : auto;
  left : initial;
}

.checkbox +span {
  position : relative;
  vertical-align : text-bottom;
  display : block;
}

.checkbox +span:before {
  content : "\f096";
  font-family : "FontAwesome";
  color : #555555;
  font-size : 3.6rem;
  margin : 0 .4rem;
}

#result span.vs {
  margin : 0;
  width : 100%;
  vertical-align : top;
  height : 4em;
  display : inline-block;
  line-height : 4;
  font-size : 1.5rem;
  padding : 0 0 0 3em;
}

#result span.raceto {
  display : inline-block;
  right : initial;
  left : initial;
  margin : auto;
  line-height : 1;
  width : 8em;
  color : #8bc34a;
  position : relative;
  font-size : 2rem;
  padding : 0 0 0 .5em;
}

#result .p2 .flagbox {
  right : 25%;
  left : initial;
}

.odds {
  font-size : 1.5rem;
  margin : 1% 25% 1% 0;
  /* display: inline-block; */
  text-align : right;
}

#result .p2 .odds {
  margin : 1% 25% 1% 0;
  text-align : right;
  padding : 0 2rem 0 0;
}


.updownbutton {
  position : absolute;
  width : 16rem;
  right : -.2rem;
  text-align : right;
  margin-top : 10px;
}

.updownbutton div {
  display : inline-block;
  text-align : center;
  width : 6rem;
  margin : .3rem;
  height : 3rem;
  font-size : 3rem;
  line-height : 3rem;
  font-weight : bold;
  background-color : #ffffff;
  color : #222222;
  border-radius : .4rem;
}

#result .pbox h3 {
  width : 49%;
  text-align : right;
  left : 0;
  right : initial;
  right : auto;
  font-size : 2rem;
  position : absolute;
  top : 3%;
}

#result .tournamentName {
  text-align : left;
  position : absolute;
  top : 4%;
  width : 50%;
  right : 0;
  font-size : 1.6rem;
}

#result select.table_edit {
  display : inline-block;
  font-size : 1.5rem;
}

#result span.vs {
  text-align : left;
}

#result .pbox h5 {
  margin : 0 0 0 4em;
}

h5 span {
  font-size : 1.6rem;
}

#result label.label_checkbox.na {
  position : absolute;
  left : 0;
  right : initial;
  bottom : initial;
  top : 3em;
}

#result .p2 label.label_checkbox.na {
  left : 0;
}

.vsdata_name {
  font-size : 1.4rem;
  line-height : 1.5;
  padding : 0 1rem;
}

#result .p1 .flagbox {
  right : 50%;
}

#result .p2 .flagbox {
  right : 50%;
}

#result .p1 .odds,
#result .p2 .odds {
  margin : 1% 50% 1% 0;
}

select.select_player {
  width : 80%;
  display : inline-block;
  font-size : 3rem;
  line-height : 3rem;
  height : 3rem;
}

.vs_editmode select {
  display : block;
  padding : .3rem;
  margin : .3rem;
}

#result span.vs_editmode {
  margin : 0;
  width : 100%;
  vertical-align : top;
  /* height: 6.5em; */
  display : inline-block;
  line-height : 4;
  font-size : 1.5rem;
  padding : 0 0 1em 14%;
  height : auto;
  border-bottom : 2px solid #aaaaaa;
}

dialog#scoreentryDialog .entrylist {
    padding: .3em .1em;
}

dialog#scoreentryDialog .entrylist select {
    padding: 0.7em;
    width: 14em;
    /* max-width: 100%; */
}

dialog#scoreentryDialog {width: 90%;max-width: 800px;}

dialog#scoreentryDialog .entrylist span {
    display: inline-block;
    width: 3em;
    text-align: right;
    padding-right: 0.5em;
    font-weight: bold;
}
/*PC表示*/
@media screen and (min-width: 1280px) {
  #result .pbox {
    width : 100%;
    padding : 2em .5em;
  }

  #result .pbox h5 {
    font-size : .6rem;
    width : 10em;
  }

  #result .pbox h3 {
    font-size : 1rem;
  }

  #result .tournamentName {
    font-size : .7rem;
  }

  #result .name {
    font-size : 1.4rem;
  }

  .odds {
    font-size : 1rem;
  }

  .pbox .score {
    font-size : 1rem;
    height : 2rem;
  }

  .score p {
    font-size : 1rem;
    height : 2rem;
  }

  #result .score select,
  #result .score input {
    font-size : 1.5rem;
    height : 2rem;
    line-height : 2rem;
  }

  .updownbutton div {
    font-size : 2rem;
    height : 2rem;
    line-height : 2rem;
    width : 2.5rem;
  }

  #result span.vs {
    height : 3rem;
    font-size : 1rem;
    line-height : 3rem;
  }

  #result span.raceto {
    font-size : 1.3rem;
  }

  #result label.label_checkbox {
    font-size : 1.2rem;
  }

  .checkbox +span:before {
    font-size : 2rem;
  }

  #result .pbox_bottom {
    /* position: absolute; */
    position : relative;
    width : 100%;
    overflow : hidden;
    height : 8.7rem;
  }

  #result .scorebox {
    width : 25%;
  }

  #result select.table_edit {
    font-size : .8rem;
  }

  .result_slide .result_wrap {
    display : flex !important;
    flex-wrap : wrap;
  }

  .result_slide .result_wrap .loadmore_link,
  .result_slide .result_wrap .hide-link {
    width : 100%;
  }

  body.editmode .mdl-mega-footer {
    display : none;
  }
}
