@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);

/* Leaflet*/
body {
  padding: 0;
  margin: 0;
}

#map {
  position: absolute;
  height: 100vh; /* デフォルトはバー分縮める */
  width: 100vw;
  top: 0;
  left: 0;
  transition: height 0.3s ease; /* スムーズな切り替え */
}

html, body, #map {
  font: 10pt "Helvetica Neue", Arial, Helvetica, sans-serif;
  background-color: rgba(245, 245, 245, 1);
}

/*leaflet*/
.leaflet-container {
  background-color: rgba(255, 0, 0, 0.0);
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.8);
}

.live-info {
  padding: 3px;
  border-radius: 5px;
  border-color: rgba(0, 0, 0, 0.65);
  background-color: rgba(209, 255, 178, 0.8);
  animation: update-notice 1.5s ease 0s 1 normal;
  width: 800px;
  transition: width 500ms;
  margin-right: 10px;
}

@keyframes update-notice {
  0% {
    background-color: rgba(255, 255, 255, 0.8)
  }

  100% {
    background-color: rgba(255, 210, 134, 0.8)
  }
}
@media (max-width: 768px) {
  .live-info {
    width: 384px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .live-info {
    width: 446px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .live-info {
    width: 600px;
  }
}
@media (min-width: 1200px) {
  .live-info {
    width: 800px;
  }
}

.runner-intro {
  padding: 5px;
  border-radius: 8px;
  border-color: rgba(0, 0, 0, 0.65);
  background-color: rgba(255, 255, 255, 0.8);
}

/*icon*/
.teamIcon {
  content: "";
  text-align: center;
  color: rgb(245, 245, 245);
  display: inline-block;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  /*background-color: blue;*/
}

/*Marker Label*/
.iconLabel {
  text-align: center;
  vertical-align: middle;
}

.iconLabel span {
  display: inline;
  text-align: center;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.8);
}

.iconLabel span.small {
  font-size: 8pt;
}

.iconLabel span.middle {
  font-size: 10pt;
}

.iconLabel span.large {
  font-size: 13pt;
}

/*simple checkbox*/
.runner {
  vertical-align: middle;
}

.my-checkbox {
  display: none;
  vertical-align: middle;
  top: 50%;
}

.my-checkbox+.checkbox-icon {
  /*! position: relative; */
  /*! vertical-align: middle; */
}

.my-checkbox+.checkbox-icon:before {
  content: "\f372";
  font-family: "Ionicons";
  color: #ccc;
  font-size: 16px;
}

.my-checkbox:checked+.checkbox-icon:before {
  content: "\f374";
  color: #bbb;
}

.my-checkbox+.option-chkbox-icon:after {
  content: "\f372";
  font-family: "Ionicons";
  color: #ccc;
  font-size: 24px;
}

.my-checkbox:checked+.option-chkbox-icon:after {
  content: "\f374";
  color: #bbb;
}

.share-icon a {
  margin: 20pt;
  text-align: center;
}

.copyright {
  color: gray;
  margin-left: 3px;
  font-style: italic;
}

.copyright a {
  color: rgba(71, 71, 71, 0.96);
}

.setting-option {
  margin: 10px 0 10px 0;
  font-size: 16px;
}

.text-link {
  color: rgb(255, 167, 68);
}

.option-title {
  color: rgb(255, 167, 68);
  padding: 5px 0px 3px 0px;
  font-weight: bold;
  font-size: 18px;
}

.option-replay-font {
  color: rgb(68, 75, 255);
  padding: 5px 0px 3px 0px;
  font-weight: bold;
  font-size: 18px;
}

/*replay bar*/

#replayControl {
  position: fixed;      /* 固定表示 */
  gap: 10px;
  bottom: 10px;
  left: 58px;          /* 左に余白 */
  right: 10px;          /* 左に余白 */
  width: calc(100% - 65px); /* 左余白分を引いた幅 */
  background: #fff;
  border: 2px solid #ccc;
  display: flex;
  align-items: center;
  padding: 5px;
  z-index: 1100;
  border-radius: 4px;
}

#replayPauseBtn {
  background-color: #656565;
  border: 1px;
  color: white;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.5s;
}
#replayPauseBtn:hover {
  background-color: #53a11e;
}
/* シークバー */
#replaySlider {
  flex: 1;
  height: 10px;
}

/* 速度変更ラジオボタン */
#speedSelector {
  display: flex;
  align-items: center;
}
#speedSelector label {
  font-size: 12px;
  cursor: pointer;
}


.hidden {
  display: none;
}

.full-map {
  height: 100vh !important; /* バーがないときは全画面 */
}

/*msg*/
.msg-text {
  font-size: 100%;
  font: black;
  padding: 2px
}

.msg-attr {
  font-size: 80%;
  color: gray;
  font-style: italic;
  padding-left: 4px
}

#runner-profiles .profile {
  text-align: center;
  margin-bottom: 15pt;
}

#runner-profiles .profile .photo {
  width: 50%;
}

#runner-profiles .profile .photo img {
  width: 50%;
  border-radius: 50%;
}

#runner-profiles .profile .name {
  width: 50%;
  font-size: 150%
}

#runner-profiles .profile .text {
  color: #646464;
}

/*ranking*/
ol.ranking {
  counter-reset: list;
  list-style-type: none;
  /*font: 14px/1.6 'arial narrow', sans-serif;*/
  padding: 0px;
}

ol.ranking li {
  position: relative;
  line-height: 30px;
  margin: 7px 0 7px 40px;
  padding-left: 10px;
}

ol.ranking li:before {
  counter-increment: list;
  content: counter(list);
  position: absolute;
  left: -35px;
  width: 30px;
  height: 30px;
  background: #3d4bd1;
  text-align: center;
  color: #fff;
  top: 50%;
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

ol.ranking-me li:before {
  background: #297af4
}

ol.ranking-we li:before {
  background: #f44ba6;
  border-radius: 50%;
}
