/* =================================
  Sidebar list
================================== */
.mdl-layout__drawer2{
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  width: 150px;
  height: calc(100% - 80px);
  max-height: 100%;
  /*position: absolute;*/
  position: fixed;
  top: 80px;
  left: 0;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
  box-sizing: border-box;
  background: var(--color-main);
  color: #fff;
  overflow: visible;
  overflow-y: auto;
}

.mdl-layout__drawer2 .mdl-navigation {
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

.sidebar-navigation {
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.mdl-layout__drawer2 .mdl-navigation .mdl-navigation__link {
  margin: 0;
  color: var(--color-white) !important;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mdl-layout__drawer2 .mdl-navigation .mdl-navigation__link:hover {
  background-color: var(--color-background) !important;
  color: var(--color-main) !important;
}

.mdl-layout__drawer2 .mdl-navigation .mdl-navigation__link--current {
  background-color: var(--color-background)!important;
  color: var(--color-main) !important;
}


/* ---------------------------------
  メイン
---------------------------------- */
.main-box--admin {
  width: calc(100% - 40px);
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 0 3px 0;
}

/* ---------------------------------
  競技会一覧
---------------------------------- */
.comlst-item {
  cursor: default;
}

/* ---------------------------------
  競技会登録 / 会場登録
---------------------------------- */
.input-box {
  width: calc(100% - 24px);
  margin: 12px auto;
  max-width: 600px;
  min-height: 78px;
  padding-bottom: 10px;
}

.input-box__title {
  font-size: 18px;
  padding-top: 16px;
  border-bottom: solid 1px var(--color-disabled);
}


.thumbnail-box {
  width: 150px;
  height: 100px;
  position: relative;
  display: flex;

}
.thumbnail {
  object-fit: contain;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.thumbnail-box i {
  position: absolute;
  top: calc((100% - 38px)/2);
  left: calc((100% - 38px)/2);
  color: var(--color-main);
  font-size: 30px;
  cursor: pointer;
  background-color: var(--color-white);
  border-radius: 50%;
  padding: 4px;
}
/* ---------------------------------
  会場登録
---------------------------------- */
.ven-input__group {
  border: solid 1px var(--color-disabled);
  border-radius: 4px;
  padding: 10px 20px 20px 10px;
  margin-left: 10px;
  margin-bottom: 26px;
}
.ven-input__group > p {
  margin-left: 10px;
  margin-bottom: 0;
}
.ven-input__group > p:first-child {
  font-size: 14px;
  margin-bottom: 16px;
}

.ven-input-item {
  margin-left: 10px;
  margin-bottom: 26px;
}
.ven-input-item__title {
  font-size: 16px;
  margin-bottom: 4px;
}
.ven-input-item__desc {
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--color-disabled);
}
.ven-input-item input[type="text"],
.ven-input-item input[type="number"],
.ven-input-item input[type="url"],
.ven-input-item input[type="password"],
.ven-input-item input[type="email"],
.ven-input-item input[type="tel"] {
  font-size: 16px;
  height: 40px;
  border: solid 1px var(--color-disabled);
  border-radius: 4px;
  padding: 6px 10px;
  box-sizing: border-box;
}
.ven-input-item input[type="text"]:read-only,
.ven-input-item input[type="number"]:read-only,
.ven-input-item input[type="url"]:read-only,
.ven-input-item input[type="password"]:read-only,
.ven-input-item input[type="email"]:read-only,
.ven-input-item input[type="tel"]:read-only {
  border: none;
  width: 100%;
  background-color: var(--color-background);
}
.ven-input-item textarea {
  font-size: 16px;
  width: 100%;
  height: 64px;
  border: solid 1px var(--color-disabled);
  border-radius: 4px;
  padding: 6px 10px;
  box-sizing: border-box;
}
.ven-input-item input[type="date"] {
  font-size: 16px;
  height: 40px;
  border: solid 1px var(--color-disabled);
  border-radius: 4px;
  padding: 6px 10px;
  box-sizing: border-box;
}
.ven-input-item select {
  font-size: 16px;
  height: 40px;
  border: solid 1px var(--color-disabled);
  border-radius: 4px;
  padding: 4px;
}

.ven-input-item select option:hover {
  background-color: var(--color-main);
}
.ven-input-item input:focus,
.ven-input-item textarea:focus,
.ven-input-item select:focus {
  border: solid 1px var(--color-main);
  outline: solid 1px var(--color-main);
}

.ven-input-item input[type="checkbox"],
.ven-input-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    z-index: -1;
}
.ven-input-item .radio-box {
  display: flex;
  flex-wrap: wrap;
}
.ven-input-item .radio-box label {
  width: 110px;
  display: flex;
  align-items: center;
  background-color: var(--color-white);
  padding: 10px;
  margin-right: 6px;
  margin-bottom: 2px;
  border-radius: 3px;
  cursor: pointer;
}
.ven-input-item .radio-box input[type="radio"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.ven-input-item .radio-box input[type="radio"] + label {
  background-color: var(--color-white);
  border: solid 1px var(--color-main);
  color: var(--color-main);
  font-size: 16px;
}
.ven-input-item .radio-box  input[type="radio"]:checked + label {
  background-color: var(--color-white);
  border: solid 1px var(--color-main);
  color: var(--color-main);
}
.ven-input-item .radio-box input[type="radio"] + label:before {
  content: '\e836';
  font-family: 'Material Icons';
  color: var(--color-main);
  margin-right: 6px;
  position: relative;
  top: 0px;
  font-size: 1.2em;
}
.ven-input-item .radio-box input[type="radio"]:checked + label:before {
  content: '\e837';
  font-family: 'Material Icons';
  color: var(--color-main);
}


.ven-input-item .check-box {
  display: flex;
}
.ven-input-item .check-box label {
  cursor: pointer;
}
.ven-input-item .check-box input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.ven-input-item .check-box input[type="checkbox"] + label:before {
  content: '\e835';
  font-family: 'Material Icons';
  color: var(--color-main);
  margin-right: 6px;
  position: relative;
  top: 4px;
  font-size: 1.6em;
}
.ven-input-item .check-box input[type="checkbox"]:checked + label:before {
  content: '\e834';
  font-family: 'Material Icons';
  color: var(--color-main);
}

.ven-input-item__disp {
  font-size: 16px;
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--color-disabled);
  border-radius: 4px;
  padding: 6px 10px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}
.ven-input-item__disp > span {
  min-width: 30px;
  word-wrap:break-word;
}

/* ---------------------------------
  会員リストテーブル
---------------------------------- */
.mennum-total {
  color: var(--color-main);
  background-color: var(--color-background2);
  margin-bottom: 0;
  padding: 8px 10px;
  border-radius: 4px;
}
.list-box-top {
  width: 100%;
  color: var(--color-white);
  background-color: var(--color-disabled);
}
.list-box-top div {
  padding: 10px 10px 0 10px;
}
.list-box-top div:first-child {
  padding-left: 20px;
}
.list-box-top button {
  background-color: transparent;
  cursor: pointer;
  border: none;
  outline: none;
  padding: 0;
  appearance: none;
  text-decoration : underline;
  color: var(--color-white);
}
.list-box {
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
}
.list-box .list-table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  font-size: 13px;
}
.list-table th:first-child,
.list-table td:first-child {
  width: 20px;
}
.list-table th {
  padding: 10px 10px;
} 
.list-table td {
  padding: 10px 10px;
  border-color: rgba(0, 0, 0, .12);
  border-style: solid;
  border-width: 1px 0px;
}
.list-table td a {
  font-size: 13px;
}
.list-table tbody tr:hover {
  background-color: rgba(0, 0, 0, .03);
}
/* tablesorter */
.tablesorter th{
  position: relative;
  cursor: pointer;
  text-align: left;
}
.tablesorter th::before, .tablesorter th::after{
  content: '';
  position: absolute;
  z-index: 2;
  right: 7px;
  width: 0;
  height: 0;
  border: 4px dashed;
  border-color: #fff transparent;
  pointer-events: none;
}
.tablesorter th::before{
  border-bottom-style: solid;
  border-top: none;
  top: 30%;
}
.tablesorter th::after{
  border-top-style: solid;
  border-bottom: none;
  bottom: 30%;
}
.tablesorter th.tablesorter-headerAsc:after{
  border: none;
}
.tablesorter th.tablesorter-headerAsc:before{
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}
.tablesorter th.tablesorter-headerDesc:before{
  border: none;
}
.tablesorter th.tablesorter-headerDesc:after{
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}
.tablesorter th.sorter-false:before, .tablesorter th.sorter-false:after{
  border: none;
}

/* ---------------------------------
  メール送信
---------------------------------- */
.to-box {
  background-color: var(--color-background);
  border: 1px solid var(--color-disabled);
  border-radius: 4px;
  padding: 10px;
  font-size: 16px;
  word-break: break-all;
}
.to-box__div--overflow {
  width: 100%;
  padding: 0;
  margin:0;
}
.to-box--overflow {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.mail-textarea {
  height: 300px !important;
}

/* ---------------------------------
  NEWS
---------------------------------- */
.news-textarea {
  height: 150px !important;
}

/* ---------------------------------
  ファイルアップロード
---------------------------------- */
.upload-area{
  width: 100%;
  min-height: 160px;
  border: solid 2px #B2B0AE;
  text-align: center;
  color: #B2B0AE;
  margin: 10px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
}
.upload-area p:first-child{
  font-size: 28px;
  margin-bottom: 0;
}
.upload-area p:first-child::before{
  content: '\e9fc';
  font-family: 'Material Icons';
  font-size: 1.6em;
  position: relative;
  top: 10px;
  padding-right: 10px;
}

#FileName {
  color: var(--color-normal);
  font-size: 20px;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 0;
}

/* ---------------------------------
  ページネーション
---------------------------------- */
.pagination-box {
  padding-top: 20px;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
}
.pagination-box div:first-child,
.pagination-box div:last-child {
  width: 180px;
}
.pagination-box select {
  font-size: 16px;
  border: solid 1px var(--color-disabled);
  border-radius: 4px;
  padding: 4px;
  margin-left: 8px;
}
.pagination-box ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding-left: 0px;
}
#NowPage {
  font-size: 18px;
  margin: 6px 10px 0 10px;
}
.pagination-box ul li button {
  width: 34px;
  height: 34px;
  color: var(--color-main);
  border-radius: 50%;
  border: 1px solid var(--color-disabled);
  background-color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 4px;
  cursor: pointer;
}

/* ---------------------------------
  画面スクロール
---------------------------------- */
.window-scroll {
  position: fixed;
  bottom: 10px;
  right: 40px;
  border: none;
  outline: none;
  cursor: pointer;
  background-color: var(--color-white);
  border: 1px solid var(--color-normal);
  padding: 0;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  margin: auto;
  color: var(--color-main);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* =================================
  一括操作用モーダル
================================== */
.running-modal-wrap {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 999;
}
.running-modal_overlay {
  position: absolute;
  width: 100%;
  height: 100vh;
  background-color: rgba(0,0,0,0.3);
}
.running-dialog--form {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  background-color: var(--color-accent);
  color: #fff;
  min-width: 300px;
  height: auto;
  padding: 20px 0 18px 0;
  border-radius: 8px;
  display: flex;
  justify-content: center;
}
.running-dialog--form > p {
  font-size: 22px;
  margin: 0 0 0 6px;
}
.running-icon {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0%   { transform: rotate(360deg); }
  100% { transform: rotate(0); }
}

/* ---------------------------------
  メンテナンス 期間設定
---------------------------------- */
.term-box {
  display: flex;
  align-items: center;
  width: 320px;
  margin-bottom: 0;
}
/*
.term-box button {
  width: 300px;
  height: 40px;
  background-color: var(--color-main);
  border-style: none;
  font-size: 18px;
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 6px;
  margin-left: 4px;
}
*/
.term-box button{
  border: none;
  outline: none;
  cursor: pointer;
  background:none;
  margin-left: 10px !important;
  padding: 0;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  margin: auto;
  color: var(--color-main);
}
.term-box button:hover{
  background-color: var(--color-background);
}
.term-box button > i{
  padding: 5px 3px 1px 3px;
  margin: 0;
}