﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */



/* メインカラーの色を指定する　各施設ごとに修正する場合はこちらを修正する -------------------------------------------------- */

:root {
    --theme-color: #0C0C0C;
    --theme-color-hover: #4e4e4e;
    --sub-color: #C60025;
    --sub-color-hover: #9f001e;
    --sub-color-focus: #FF8080;
    --disabled-color: #c9c9c9;
    --base-color: #ffffff;
    --sort-color: #ffffff;
    --sort-color-hover: #ffec91;
    --nosort-color: #c9c9c9;
    --clear-color-hover: #EAEAEA;
    --detail-color-hover: #EAEAEA;
    --width-8-9-viewport: 8.9vw;
}
/* メインカラーの色を指定  ここまで -------------------------------------------------- */


a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* 全体的なレイアウトにかかる部分はこちら */
a {
  color: #0366d6;
}

.btn-primary {
  color: var(--base-color);
  background-color: var(--sub-color);
  border-color: var(--sub-color);
}

.btn-primary:hover {
  color: var(--base-color);
  background-color: var(--sub-color-hover);
  border-color: var(--sub-color-hover);
}


.btn-primary.disabled, .btn-primary:disabled {
  background-color: var(--disabled-color);
  border-color: var(--disabled-color);
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
   background-color: var(--sub-color-hover);
   border-color: var(--sub-color-hover);
}

.btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show>.btn-primary.dropdown-toggle:focus {
    box-shadow: var(--sub-color-focus);
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: var(--base-color);
    background-color: var(--sub-color-hover);
    border-color: var(--sub-color-hover);
}

/*　containerのサイズを上書きのため　*/
.all-main-box {
    max-width: 100%;
}


/* ログイン
-------------------------------------------------- */


/*画面サイズ*/
.login-main {
    width: 50vw;
    max-width: 440px;
    margin: auto;
}
@media screen and (max-width:768px) {
    .login-main {
        width: 80vw;
    }
}


h1.log-title {
    text-align: center;
    /* font-weight: bold; */
    /* transform: scale(1.3, 1.3); */
}
@media screen and (max-width:480px) {
    h1.log-title {
        font-size: 2rem;
    }
}


.log-text {
    color: #323232;
    margin-bottom: 0;
}

input[type="text"]:focus {
    border: 1px solid #323232;
    outline: 0;
    box-shadow: 0 0 5px #d1d1d1;
}
input[type="password"]:focus {
    border: 1px solid #323232;
    outline: 0;
    box-shadow: 0 0 5px #d1d1d1;
}
input[type="submit"]:focus {
    border: none;
    outline: 0;
    box-shadow: 0 0 5px var(--sub-color);
}

.login-btn {
    color: var(--base-color);
    background-color: var(--sub-color);
    border-color: var(--sub-color);
    width: 100%;
}
.login-btn:hover {
   color: var(--base-color);
   background-color: var(--sub-color-hover);
   border-color: var(--sub-color-hover);
}


/* メニュー
-------------------------------------------------- */

h1.menu-title {
    text-align: center;
    margin: 2rem 0 2rem 0;
}

@media screen and (max-width:480px) {
    h1.menu-title {
        font-size: 2rem;
    }
}


@media screen and (max-width:575px) {
    .menu-btn2 {
        margin-top: 1.5rem;
    }
}


input#player_mng:active {
    background-color: var(--sub-color-hover);
    border-color: var(--sub-color-hover);
}

input#user_mng:active {
    background-color: var(--sub-color-hover);
    border-color: var(--sub-color-hover);
}


/* header styles
-------------------------------------------------- */

.btn-primary.focus, .btn-primary:focus {
    box-shadow: var(--sub-color-focus);
}

/*ログアウトのボタンのほうの折り返しをなくす*/
.navbar-collapse {
    flex-basis: auto;
    flex-grow: 0;
}

/*ログインユーザー名のほうの折り返しをなくす*/
.navbar-nav {
    flex-direction: unset;
    height: 2rem;
}


.phys-title {
    padding-bottom: 0;
}

.container-fluid.phys-box {
    padding-left: 0;
}

.btn-logout {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
}

.btn-logout:hover {
    background-color: var(--theme-color-hover);
    border-color: var(--theme-color-hover);

}

.container-user {
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: center;
}

.left {
    width: 20%;
    padding: 5px;
    margin-right: 10px;
}

.right {
    width: 80%;
    padding: 5px;
}

/* プロフィールのアイコンサイズを変更・センター設定 */
.header-loginbox {
    height: 2rem;
}
.pro-item {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width:100%;
    height:100%;
}
img {
    object-fit: contain;
}

/* LOGIN PAGE STARTING */
.log-logo {
    text-align: center;
}
.log-logo-item {
    margin-top: 30px;
    margin-bottom: 25px;
}
.log-logo-img {
    width: 140px;
    height: 140px;
}
.log-co-name {
    font-size: larger;
    /* transform: scale(1.2, 1.3); */
    letter-spacing: 3px;

}
.text-fm-add {
    text-align: center;
    padding: 12px 12px;
}
.login-btn-w {
    text-align: center;
    padding: 0 50px;
}
.margin-top5 {
    margin-top: 3rem;
}
/* LOGIN PAGE ENDING */

.logo-item {
    width: 60px;
    height: 60px;
    /* object-fit: cover; */
    /* margin-left: -20px; */
}
a.menu-item {
    text-decoration: none;
    padding: 6px 16px;
}
.i-active {
    background-color: #FFEDF3;
    border-bottom: 4px solid #C60025;
}
/* ユーザ情報テキストのフォーマット */
.hd-txt {
    padding: 0.2rem 0.5rem 0 0.5rem;
    font-size: 1.2rem;
}


/* ログアウトのアイコンサイズを変更・センター設定 */
.logout-item {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width:100%;
    height:100%;
}

/*　戻る・ログインボタンの改行を無くす　*/
.btn-logout, .btn-back {
    white-space: nowrap;
}


/*ログイン右側のボタン類をdivでくくって新たにflex設定でまとめ、並び順を設定 */
.phys-box2 {
    display: flex;
}

.phys-nav2 {
    margin: 0 0.5rem;
}


.phys-nav4 {
    order: 1;
}

.phys-nav2 {
    order: 2;
}

.phys-nav3 {
    order: 3;
}





    /* Sticky footer styles
-------------------------------------------------- */
    html {
        font-size: 14px;
    }

    @media (min-width: 768px) {
        html {
            font-size: 16px;
        }
    }

    .border-top {
        border-top: 1px solid #e5e5e5;
    }

    .border-bottom {
        border-bottom: 1px solid #e5e5e5;
    }

    .box-shadow {
        /* box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); */
    }

    button.accept-policy {
        font-size: 1rem;
        line-height: inherit;
    }

    /* Sticky footer styles
-------------------------------------------------- */
    html {
        position: relative;
        min-height: 100%;
    }

.ft-box {
    margin: 0.5rem 0;
}

@media screen and (min-width:480px) {
    .sp-br {
        display: none; /* PCの改行を隠して */
    }
}

/* ロゴのサイズ調整 */
.ft-logo {
    width:15%;
    /* height: 60%; */
    object-fit: contain;
}
.ft-logo-right {
    width:30%;
    height: 80%;
    margin-right: -1rem;
    margin-bottom: 4px;
    object-fit: cover;

}
.img-right {
    text-align: right;
}
.ft-ver {
    text-align: right;
    margin-bottom: 0;
}

@media screen and (max-width:480px) {
    .ft-box, .ft-ver {
        text-align: center;
    }
}


.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    margin: -10px;
    /*   white-space: nowrap;
        line-height: 60px; /* Vertically center the text there */
}

    @media screen {
        #filename, #filename2, #filename3, #filename5, #filename6 {
            display: none;
        }
    }



/* 選手一覧
-------------------------------------------------- */

/*  選手一覧タイトル・新規ボタンの行の調整　 */
.fa-angle-left {
    color: grey;
    font-size: 2.5rem;
    margin-right: 0.5rem;
}

.pli-title-box {
    display: flex;
    align-items: center;
}

.pli-title {
    margin-left: 0.8rem;
    /* padding: 1rem 0; */
    font-size: 2rem;
}

.pli-title-box-r {
    display: flex;
    margin: 0 12px 0 auto;
}

.pli-face-img {
    width: 6rem;
    height: 8rem;
}

.nreg-btn {
    white-space: nowrap;
}
.nreg-txt {
    color: red;
    margin: 0.5rem;
    max-width: 20rem;
    height: 1.2rem;
}
.nreg-txt-box {
    order: 1;
    max-width: 20rem;
}
.csv-btn-box {
    order: 2;
    margin: 0 0.15rem;
}
.nreg-btn-box {
    order: 3;
    margin: 0 0.15rem;
}



/*  検索の行の調整　 */
.srch-box {
    display: flex;
    justify-content: space-between;
}
.srch-box-l {
    display: flex;
    white-space: nowrap;
}
.srch-text {
    position: relative;;
    font-weight: bolder;
    font-size: 1.4rem;
    margin-top: -4px;
}
input.chb-size {
    position: absolute;
    width: 18px;
    height: 18px;
    top: 50%;
    transform: translateY(-50%);
    
}
input[type="checkbox"]  {
    accent-color: #000;
}
.pli-nobox {
    margin: 0 0 0 auto;
    white-space: nowrap;
}
.pli-srch-box {
    margin: 0 0.5rem;
    width: 20rem;
}
.pli-srch-btn-new {
    color: red;
    margin-left: auto;
    padding-right: 20px;
}

.scrill-top{
    cursor: pointer;
    margin-bottom: 70px;
}
.pli-srch-r, .pli-srch-l, .pli-srch-clr, .pli-dtl, .btn-page-top {
    background-color: var(--base-color);
    color: var(--theme-color);
    border-color: var(--theme-color);
}

.pli-srch-r:hover, .pli-srch-l:hover, .pli-srch-clr:hover,.pli-dtl:hover {
    color:  var(--theme-color);
    background-color: var(--detail-color-hover);
    border-color: var(--theme-color);
}

.pli-srch {
    color: var(--base-color);
    background-color: var(--sub-color);
    border-color: var(--sub-color);
}
.pli-srch:hover,.pli-srch:active,.pli-srch:focus {
   color: var(--base-color);
   background-color: var(--sub-color-hover);
   border-color:  var(--sub-color-hover);
}
.pli-no{
   margin-top: 1.2rem;
   margin-bottom: 0;
}

/*  選手一覧の表　 */
.pli-box {
    margin-top: 0.5rem;
}

th.pli-act {
    background-color: var(--sub-color);
}

th.pli-th {
    background-color: var(--theme-color);
    border: 1px solid #dee2e6;
}
th.pli-th:last-child {
    border-right-color: #000;
}
tr > th:first-child {
    border-left-color: #000;
}

.img-arrow {
    width: 1.2rem;
}

th > a {
    color: var(--sort-color);
}
th > a:hover {
    color: var(--sort-color-hover);
    text-decoration: underline;
}
.pli-th-txt, .pli-noli {
    white-space: nowrap;
}


.pli-noli {
    color: var(--nosort-color);
}

.table td, .table th {
    vertical-align: middle;
}

.pli-td-txt {
    text-align: center;
}

.pli-datetime {
    margin-bottom: 0;
}
.pli-unset {
    margin-bottom: 0;
}


/* メディカルレポート */
img.img-fluid.md-fixed {
    max-width: 100%;
    max-height: 300px;
	object-fit: contain;
}
.part-1 {
    display: flex;
    justify-content: space-around;
    margin: 4px 0;
}
.part-2 {
    display: flex;
    justify-content: space-around;
    margin-top: 2px;
    margin-bottom: 10px;
}

.item-1,
.item-5 {
    width: 80px;
    padding-left: 10px;
}
.item-2 { width: 140px; }
.item-3 { width: 90px;}
.item-4 { width: 120px;}
.item-1, .item-2, .item-3, .item-4, .item-6 {
    margin: 2px 4px;
}
.item-6 {
    width: 350px;
    margin-left: 12px;
}
.w-down {
    width: 2px;
}
.up-com-width {
    width: 64%;
}
/*  ページネーションの表の枠線を透明にする　 */
td.pli-page-box {
    border-bottom-color: transparent;
    border-right-color: transparent;
    border-left-color: transparent;
    padding-left: 0;
}
.item-2 {
    margin-top: 5px;
}


/* 選手基本情報
-------------------------------------------------- */
/* 基本的なレイアウト */
.playerdetails {
    width: calc(100vw - calc(100vw - 100%));
}
.player-details {
    /* display: flex; */
    margin-bottom: 5rem;
    width: 100%;
}

.player-details-player {
    width: 100vw;
    display: flex;
    padding: 0 35px 0 15px;
}

.player-details-title {
    margin-left: 0.8rem;
    padding: 1rem 0;
    font-size: 2rem;
}

.player-details-l {
    width: 40%;
    margin: 0 1% 0 0;
}
.player-details-r {
    width: 60%;
    margin: 0 0 0 1%;
}

.player-details-wrapbox {
    padding: 2rem 0 0 0;
}
.player-details-wrapbox:first-child {
    padding: 0;
}

.playerdetails-ttl {
    font-size: 1.2rem;
    font-weight: bold;
}
.player-details-wrap {
    display: table;
    border-collapse: collapse;
    width: 100%;
}
.player-details-outer {
    display: table-row;
    width: 100%;
    height: 40px;
}
.player-details-th, .player-details-td {
    display: table-cell;
    vertical-align: middle;
}

.player-details-th {
    background-color: #424242;
    color: #ffffff;
    padding: 0.3rem 0.5rem;
    border: 1px solid #dee2e6;
}
.player-details-label {
    margin-bottom: 0;
}

.player-details-td {
    /* border: #dee2e6 1px solid; */
    border: #000 1px solid;
    padding: 0.3rem 0.8rem;
}
.player-head-menu {
    width: 100%;
    display: flex;
    margin-top: -16px;
    background-color: #000;
    
    color: grey;
    line-height: 36px;
    vertical-align: middle;
}
.player-head-menu div {
    padding: 0px 16px;
    cursor: pointer;
}

.player-head-menu .mn-focus {
    background-color: #fff;
    color: #000;
    cursor: default;
}
input[type=file],
input[type=text],
input[type=number],
input[type=date],
input[type=time],
input[type=datetime-local],
input[type=password],
select, textarea,
#sex, #domarm {
    outline: 1px solid #adaeae;
    /* border: 1px solid red; */
}
.hide-sel {
    display: none;
}
.border-black {
    border: 1px solid #000;
    outline: 1px solid #fff;
}
.bd-top {
    border-top: 1px #000 solid;
}
.bd-bottom {
    border-bottom: 1px #000 solid;
}
.bd-left {
    border-left: 1px #000 solid;
}
.bd-right {
    border-right: 1px #000 solid;
}
.player-right-th2:first-child {
    border-left: 1px #000 solid;
}
.player-right-th2:last-child {
    border-right: 1px #000 solid;
}

.fa-chevron-up {
    margin-right: 0.2rem;
}


/* ポップアップ用のcss */
.modal-body > .player-details-player {
    width: 100%;
    padding: 0;
}

.modai-footer-l {
    position: absolute;
    left: 15px;
}

.phs-ctn {
    width: 100%;
    margin-bottom: 20px;
    padding: 10px 60px;
    background-color: #FFEDF3;
    border: 2px solid rgb(182, 167, 167);
    border-radius: 6px;
}

.fm-mg  {
    width: 100%;
    margin: 0 auto;
    margin-bottom: 40px;
}
.fm-mg .phs-ctn {
    width: 100%;
    margin: 0 auto;
}
.phs-ctn .row {
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: bolder;
}

.phs-ctn .row.chbx-mg {
    margin-top: 30px;
    margin-bottom: 10px;
}
.phs-ctn .row.header{
    color: #000;
    font-size: 1.3rem;
}
.phs-ctn .row .cond-chb-fl{
    display: flex;
}
.mw-1 {
    margin-right: 30px;
}

input.chbx {
    width: 16px;
    height: 16px;
}

.row.cond-title {
    margin-bottom: -20px;
}
.row .search {
    margin: 0 auto;
}
.row .search .search-btn {
    width: 18rem;
    border-radius: 6px;
}
.search input {
    width: 20rem;
    border-radius: 6px;
    font-weight: bold;
}

.cond-clear {
    vertical-align: middle;
}

.phy-create {
    border-radius: 6px;
}
.phy-update {
    border-radius: 6px;
    background-color: #000;
}

/* CHART JS SETTING */
.phys-chart {
    width:80%;
    margin: 0 auto;
    margin-bottom: 80px;
}

.phys-chart-grp {
    width:80%;
    margin: 0 auto;
    margin-bottom: 80px;
}
.phys-chart.fm-space {
    display: flex;
    justify-content: space-between;
    margin-bottom: -8px;
}
.phys-chart .classification {
    display: flex;
    padding-left: 34px;
    padding-right: 4px;
}
.phys-chart .classification .cl-box {
    flex: 1;
    font-weight: bold;
    border: 1px solid white;
    height: 40px;
    line-height: 40px;
    text-align: center;
    vertical-align: middle;
}

.phys-chart .phys-classify {
    display: flex;
    padding-left: 30px;
    padding-right: 26px;
    display: none;
}
.phys-chart .phys-classify .cl-box {
    flex: 1;
    font-weight: bold;
    border: 1px solid white;
    height: 40px;
    line-height: 40px;
    text-align: center;
    vertical-align: middle;
}

.target-control {
    margin-top: 40px;
    margin-bottom: 100px;
}

.hd-top,
.hd-bot,
.r-body {
    display: flex;
    width: 95vw;
}
.hd-item,
.bd-item {
    flex: 1;
    padding: 10px 8px;
    text-align: center;

}

.hd-top .hd-item {
    background-color: black;
    border-left: 1px solid #fff;
    color: #fff;
}
.hd-bot .hd-item {
    background-color: #E6E6E6;
    border-right: 1px solid #000;
}

.r-body .bd-item {
    border-right: 1px solid #000;
    border-bottom: 1px solid gray;
}
.r-body .bd-item.bi-left {
    flex:3;
    background-color: #000;color: #fff;
    border-bottom: 1px solid #fff;
}
.row-body:last-child .r-body .bd-item.bi-left {
    border-bottom: 1px solid #000;
}
/* ========================================== UPDATE NEW STARTING */
.cond-result-new {
    display: flex;
    width:95vw;
}

.cond-result-new .phs-left {
    flex: 25vw;
    min-width: 240px;
}
.cond-result-new .phs-right {
    flex: 75vw;
    overflow-x: scroll;
}

.r-body-new {
    display: flex;
}
.bd-item-new {
    flex: 8.9vw;
    min-width: 8.9vw;
    padding: 10px 0;
    text-align: center;
}
.r-body-new .bd-item-new {
    border-right: 1px solid #000;
    border-bottom: 1px solid gray;
}
.r-body-new .bd-item-new {
    border-right: 1px solid #000;
    border-bottom: 1px solid gray;
}
.r-body-new .bd-item-new.bi-left-new {
    background-color: #000;
    color: #fff;
    border-bottom: 1px solid #fff;
}

.row-body-new:last-child .r-body-new .bd-item-new {
    border-bottom: 1px solid #000;
}

.memo-width-bg-color {
    justify-content: center;
    background-color: #000;
    color: #FFF;
}
.memo-width-setting1 {
    vertical-align: middle;
    text-align: right;
    white-space: nowrap;
}
.memo-width-setting2 {
    position: relative;
    /* z-index: -20; */
    max-width: var(--width-8-9-viewport);
    background-color: #000;
    color: #000;
}
.right-hd-black {
    background-color: #000;
    color: #fff;
    border-left: 1px solid #fff;
}
.right-hd-grey {
    background-color: #E6E6E6;
}
/* ========================================== UPDATE NEW ENDING */

/* ---------- 目標管理 ---------- */
.target-seting {
    /* margin-bottom: 80px; */
    /* border: 1px solid red; */
    padding: 5px;
}
/* 目標管理(1)  */
.tar.hd1 {
    width: 95vw;
    display: flex;
    justify-content: space-between;
    padding: 5px;
}
.tar .hd1-left {
    font-size: 2rem;
    font-weight: bold;
}
.tar .hd1-right {
    font-size: 1.5rem;
}

/* 目標管理(2) */
.tar.hd2 {
    width: 95vw;
    display: flex;
    justify-content: space-between;
    padding: 5px;
    margin: 10px 0;
}
.tar.hd2 .val1 {
    font-size: 1.3rem;
    font-weight: bold;
}
.tar.hd2 .val2 {
    font-size: 1.3rem;
    font-weight: bold;
    color: gray;
}

/* 目標管理(3-1) */
.tar-header {
    display: flex;
    /* width: 95vw; */
}
.tar-header .hd-item {
    flex: 1;
    color: #fff;
    background-color: #000;
    border: 1px solid #fff;
}
.tar-header .hd-item:last-child { 
    background-color: var(--sub-color);
}
/* 目標管理(3-2) */
.tar-tr {
    display: flex;
    width: 95vw;
}
.tar-tr .td-item {
    flex: 1;
    padding: 5px 0px;
    text-align: center;
    border: 1px solid gray;
}
.tar-tr .td-item .fm-text {
    color: red;
    /* font-weight: bold; */
}
.tar-tr .td-item:first-child {
    flex: 1;
    color: #fff;
    background-color: #000;
}
.tar-tr .td-item:last-child {
    /* background-color: #FFEDF3; */
}
.tar-tr:last-child .td-item {
    /* color: red; */
    border-bottom: 1px solid #000;
}

/* 顔写真と基本情報 */
.player-details-face {
    width: 50%;
    height: 30rem;
    display: flex;
}
.player-info {
    margin: 1rem 0 0 0;
    width: 100%;
}
.player-info-th, .player-info-td {
    width: 50%;
}


/* コンディション状況 */
.player-details-wrapttl {
    display: flex;
    padding: 0 0 0.5rem 0;
}
.player-details-wrapbtn {
    display: flex;
    margin: 0 0 0 auto;
}

.change-btn {
    margin: 0 0.5rem 0 0;
}

.player-cond-time {
    text-align: right;
}
.player-details-facescale {
    width: 2rem;
}
.player-form {
    color: #c60025;
    border: transparent;
}

.player-form-disabled {
    color: #212529;
}

.form-control:disabled, .form-control[readonly] {
    background-color: #ffffff;
    opacity: 0.6;
    border-color: transparent;
    padding: 0;
}
.player-right-th, .player-right-td {
    width: 33.333%;
}
.player-details-txt {
    margin: 0;
}
.text-center {
    text-align: center;
}

/* コロナワクチン */
.player-right-td1 {
    width: 10%;
}
.input-wrap {
    margin: 0 0 1rem 0;
}
.form-check-input {
    position:static;
    margin: 0;
}

/* .scroll-no > .player-details-th:first-child {
    width: 10%;
} */

.player-right-td1 {
    width: 10%;
}
.player-right-td15 {
    width: 15%;
}
.player-right-td2 {
    width: 20%;
}
.player-right-td25 {
    width: 25%;
}
.player-right-td3 {
    width: 30%;
}

.player-details-nodate { /* 該当なしの文章 */
    white-space: nowrap;
    margin: 0.2rem 0;
}


/* 選手基本情報更新ページ（管理者の方） */

.playerup-start-ageset {
    display:flex;
    align-items: center;
}
.playerup-start-date {
    display: flex;
}
.playerup-end-ageset {
    display: flex;
    align-items: center;
}
.playerup-end-date {
    display: flex;
}

.updatefile-select {
    /* border: 1px solid red; */
    
    display: flex;
    margin-top: 10px;

}
.file-select {
    min-width: 130px;
}
.file-delete {
    min-width: 130px;
}


.player-details-td.player-right-td2.td3:nth-child(-n + 2) { /* 年齢当たりのテーブルの幅はこれでいいか？テスト221124 */
    width: 35%;
}

/*230120 ポップアップを広げるテスト*/
.modal-dialog.modal-lg {
    max-width: 95vw;
}
.modal-body {
    width: 100%;
    height: 80vh;
}


/* 選手基本情報
-------------------------------------------------- */
/* スマホ上書き版　基本的なレイアウト */
@media only screen and (max-width:960px) {
    .playerdetails {
        padding: 0.5rem;
    }
    .player-details {
        display: block;
        width: calc(100vw - calc(100vw - 100%));
    }
    .player-details-player {
        display:block;
    }
    .player-details-l {
        width: 100%;
        margin: 0;
    }
    .player-details-r {
        width: 100%;
        margin: 0;
    }
    .player-details-face {
        display: flex;
        height: 450px;
        width: 50%;
        text-align: center;
        margin: 0 auto;
    }

    .player-details-wrapbox:first-child {
        padding: 2rem 0 0 0;
    }

    .player-details-wrapttl {
        display: block;
    }
    .playerdetails-ttl {
        padding: 0 0 0.5rem 0;
    }
    .player-details-wrapbtn {
        margin: 0;
        justify-content: space-around;
    }
}

/* -------------------------------- */

@media only screen and (max-width:768px) {
    .player-details-face {
        display: flex;
        height: 450px;
    }
}

@media only screen and (max-width:575px) {
    .player-details-face {
        display: flex;
        max-height: 300px;
    }
}

@media only screen and (max-width:480px) {
    .player-details-face {
        display: flex;
        height: 260px;
    }
}

/* -------------------------------- */
/* スタイル用
-------------------------------------------------- */
.margin-top2 {
    margin-top: 2rem;
}

    .margin-top4 {
        margin-top: 4rem;
    }

    .margin-bottom0 {
        margin-bottom: 0;
    }

    .margin-bottom2 {
        margin-bottom: 2rem;
    }

/* コンディショニング・選手日報一覧の表
-------------------------------------------------- */
.condt-main {
    margin: 0px;
    padding: 0px;
    border: 1px solid #000;
    border-bottom: 1px solid #dee2e6;
}
.last-item-border {
    border-bottom: 1px solid #000;
}
.make-pad {
    line-height: 34px;
}
.old-target-info {
    border-left: 1px solid #000;
    padding-left: 30px;
}
.fmt-unit {
    padding-top: 10px;
    margin-left: -12px;
    font-size: large;
}
.condt-left {
    background-color: rgb(49,49,49);
    color: rgb(255,250,215);
    padding-top: 8px;
    padding-left: 20px;
}

.condt-right {
    line-height: 40px;
    vertical-align: middle;
    /* font-weight: lighter; */
}
.condt-right {
    padding-top: 6px;
    padding-bottom: 6px;
}

.condt-text {
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.condt-input {
    margin: 6px 0px;
}

.condt-create {
    float: right
}

.f-mag {
    
    margin-bottom: 60px;
}
.rp-comment-1 {
    background-color: rgb(234,235,235);
    margin-top: 10px;
    margin-bottom: 60px;
    padding: 20px 20px 40px 20px;
}
.rp-comment-2 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.rp-comment-2-left {
    display: flex;
    align-items: center;
    font-weight: bolder;
}

.rp-comment-2-end1 {
    justify-content:flex-end;
}
.rp-comment-3 {
    background-color: white;
    font-weight: bolder;
}
.cond-rp-area {
    padding-top: 15px;
    padding-bottom: 15px;
}

/* All-Comment-Header */
.all-comment {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.cmt-left {
    width: 60%;
    margin-right: 30px;
}
.cmt-for-doctor {
    margin-right: 30px;
}
.cmt-right-1 {
    width: 40%;
}
.cmt-right-1-for-doctor {
    width: 40%;
}
.component {
    border: 1px solid #000;
    height: 40%;
    margin-bottom: 30px;
    padding-bottom: 40px;
}
.cmt-hd {
    display: flex;
    justify-content: space-between;
    background-color: rgb(49,49,49);
    color: rgb(255,250,215);
    padding: 10px 20px;
    align-items: center;
}

.cmt-body {
    margin: 20px 20px 30px 20px;
}
.cmt-body-title {
    font-weight: bolder;
    margin-bottom: 4px;
}
.cmt-title-space {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cmt-body-content {
    background-color: rgb(248,218,224);
    border-radius: 4px;
    padding: 6px 8px;
    font-weight: bolder;
}
.cmt-delete-icon {
    color: red;
    font-size: x-large;
    
}
#canvas {
    
    margin-top: 5px;
}

.option{
    width: 250px;
  }
.color > a{
    display: inline-block;
    width: 20px;
    height: 20px;
}
.black{
    background-color: #000000;
}
.red{
    background-color: #ff0000;
}
.blue{
    background-color: #0000ff;
}
.td-center > td {
    text-align: center;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
}

table.table td div.f-text {
    width: 8vw;
    margin: 0 auto;
    text-align: center;
    word-wrap: break-word;
}

.circle {
    height: 40px;
    width: 40px;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    border-radius: 100%;
    background: var(--sub-color);

    color: white;
    font-weight: bolder;
  }

  .circle1 {
    height: 60px;
    width: 60px;
    /* display: table-cell; */
    text-align: center;
    vertical-align: middle;
    border-radius: 50px;
    background: var(--sub-color);

    color: white;
    font-weight: bolder;
    margin-left: 6px;
    padding: 0 10px
  }
.analys-selbox {
    /* width: 120px; */
    margin-top: -5px;
}
/* ============================= */
.phs-ctn .row .cond-chb-fl-tr {
    display: flex;
}
.phs-ctn .row .cond-chb-fl-tr .tr-chbx {
    margin-right: 20px;
}
.cond-chb-fl-all {
    margin-bottom: 8px;
}
.red-white {
    background-color: var(--sub-color);
    color: var(--base-color);
}
.white-blk {
    background-color: #fff;
    color: #000;
}
/* ============================= */

label {
    position: relative;
    height:100%;
    display: block;
    height: 30px;
    cursor: pointer;
}

.radio-elm {
    display: none;
    z-index: 5;
    position: relative;
}

.radio-elm ~ span {
    transition: .3s;
    height: 100%;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    padding: 0 40px;
    /* z-index: 5; */
    position: relative;
    margin-bottom: 50px;
}

.bg {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: #fff;
    top: 0;
    z-index: 0;
    left: 0;
    width: 0;
    transition: width .6s;
    margin-top: 3px;
}

label:nth-child(1) .bg {
    right: 0;
    left: auto;
}

label:nth-child(2) .bg {
    left: 0;
}

.radio-elm:checked + .bg {
    width: 100%;  
}

.p_one  {
    display: none;
    width: 98vw;
    text-align: center;
    margin: 0 auto;
}

.player-hd {
    display: flex;
}
.player-hd .hd-left {
    width: 250px;
    margin-right: 20px;
}
img.img-fluid.md-fixed-new {
    max-width: 100%;
    max-height: 260px;
	object-fit: contain;
}
img.img-level {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.player-hd .hd-right {
    display: flex;
    width: 40%;
    border: 1px solid #000;
}
.player-hd .hd-right .left-hand, .right-hand {
    flex: 1;
    max-height: 260px;
}
.player-hd .hd-right .hdr-left {
    background-color: #000;
    color: #FFF;
    /* padding: 8px 40px 8px 8px; */
    padding: 6px 40px 6px 6px;
}
.player-hd .hd-right .hdr-left:nth-child(even) {
    border-top: 1px solid #FFF;
    border-bottom: 1px solid #FFF;
}
.player-hd .hd-right .hdr-right {
    padding: 6px 40px 6px 6px;
}
.player-hd .hd-right .hdr-right:nth-child(even) {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

/* PLAYER INFO */
.hdi {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid #000;
}
.hdi .hdi-title {
    display: flex;
    width: 100%;
    background-color: #000;
    color: #FFF;
    text-align: center;
}
.hdi .hdi-title .i-title {
    flex: 1;
    padding: 4px 0;
}
.hdi .hdi-title .i-title:nth-child(even) {
    border-left: 1px solid #FFF;
    border-right: 1px solid #FFF;
}
.hdi .hdi-title .i-title:last-child {
    border-right: 0px;
}

.hdi .hdi-value {
    display: flex;
    width: 100%;
    text-align: center;
}
.hdi .hdi-value .i-value {
    flex: 1;
    padding: 4px 0;
}
.hdi .hdi-value .i-value:nth-child(even) {
    border-left: 1px solid #000;
    border-right: 1px solid #000;
}
.hdi .hdi-value .i-value:last-child {
    border-right: 0px;
}

@media screen and (max-width:768px) {
    .hdi {
        display: flex;
        margin-right: 20px;
    }
    .hdi .hdi-title {
        display: block;
    }
    .hdi .hdi-value {
        display: block;
    }
    .hdi .hdi-title .i-title {
        padding: 0 0;
        height: 50px;
        line-height: 50px;
    }
    /* LELF SIDE */
    .hdi .hdi-title .i-title:nth-child(even) {
        border: 0;
        padding: 4px 0;
        border-top: 1px solid #FFF;
        border-bottom: 1px solid #FFF;
    }
    .hdi .hdi-title .i-title:last-child {
        border-bottom: 0;
    }  
    /* RIGHT SIDE */
    .hdi .hdi-value .i-value:nth-child(even){
        border: 0;
    }
    .hdi .hdi-value .i-value:nth-child(even) {
        border: 0;
        padding: 4px 0;
        border-top: 1px solid #000;
        border-bottom: 1px solid #000;
    }
    .hdi .hdi-value .i-value:last-child {
        border-bottom: 0;
    }
}

.p_two {
    text-align: right;
    margin-bottom: 10px;
}
.wrap {
    border:1px solid #ddd;
    background-color: gray;
    display: inline-flex;
    overflow:hidden;
    border-radius: 50px;
    margin-top: 2px auto;
    margin-bottom: 12px;
    /* margin: 20px auto; */
    padding: 5px 8px;
}

.table-container {
    width: 100%;
    height:80vh;
    overflow: auto;
}

.table-container-X {
    width: 100%;
    max-height:28vw;
    overflow-x: scroll;
    overflow: auto;
}

table {
    width: 100%;
    text-align: center;
    border-collapse: separate; 
    border-spacing: 0;
}
  
table th {
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-right: 1px solid #000;
    /* z-index: 999; */
}
  
table td {
    border-right: 1px solid #000;
}
  
table th:first-child,
table td:first-child {
    border-left: 1px solid;
}
  
table thead th {
    position: sticky;
    top: 0;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}
tr:hover {
    background-color: #FFFFDD;
}

.footer-paging {
    display: flex;
    margin-top: 4px;
    justify-content: space-between;
}

/* ユーザー一覧(削除ボタン) */
.dis-button {
    pointer-events: none;
    background-color: #D7D7D7;
    border-color: #D7D7D7;
    color: #F4F4F4;
}

/* フィジカル　選手情報 */
div.tar-tr:nth-child(even) {
    background-color: #f2f2f2;
}
div.tar-tr:hover {
    background-color: #FFFFDD;
}
/* .tripped-row div.bd-item-new:nth-child(even) { 
    background-color: #f2f2f2;
} */

/* トレーニング　選手情報 */
.phs-right > div:nth-child(even) {
    display: inline-block;
    min-width: 100%;
    background-color: #f2f2f2;
}
.phs-right > div:hover {
    display: inline-block;
    min-width: 100%;
    background-color: #FFFFDD;
}

/* コンディションチェック回答 */
.cont-width {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;

}
.condCheck-main {
    margin: 0px;
    border: 1px solid #000;
    border-bottom: 1px solid #dee2e6;
}
.condCheck-left {
    background-color: rgb(49,49,49);
    color: #fff;
    height: 56px;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.condCheck-right {
    display: flex;
    justify-content: center;
    align-items:center;
}
.top-item,
.condCheck-right-nm {
    display: flex;
    justify-content: space-between;
    align-items:center;
}
.last-line-color {
    border-bottom: 1px solid #000;
}
.rd, .rd1, .rd2 {
    display: flex;
}

.rd label {
    margin-left: 4px;
    margin-top: 15px;
}
.rd input[type=radio] {
    width: 18px;
}
.rd1 label {
    margin-top: 2px;
    height: 10px;
}
.rd1 input[type=checkbox] {
    margin-top: 7px;
    margin-right: 2px;
}
.top-item {
    margin-top: 5px;
}
.bottom-item {
    display: flex;
    justify-content: start;
    margin-top: 10px;
    margin-bottom: 6px;
}
.rd2 label {
    margin-top: 2px;
    height: 10px;
}
.rd2 input[type=checkbox] {
    margin-top: 4px;
    margin-right: 2px;
}
.rd1.it-1 { flex: 1;}
.rd1.it-2 { flex: 3;}
.rd1.it-3 { flex: 1;}
.rd1.it-4 { flex: 3.7;}

.rd2.it-1 { flex: 1;}
.rd2.it-2 { flex: 7.7;}

.rd2-left { 
    display: flex;
    justify-content: start;
}
.format-height {
    margin-left: 6px;
    border: 1px solid rgb(211, 195, 195);
    border-radius: 4px;
    width: 170px;
 }
 .plus-height {
    height: 70px;
 }

 .format-row {
    margin-left: 2px;
    margin-right: 2px;
    display: flex;
    justify-content: space-between;
 }

 .fm-p-name {
    font-weight: bold;
 }

 .f-player-title {
    background-color: #FFEDF3;
    margin-left: 8px;
    padding: 4px 8px 4px 14px;
    font-size: 24px;
 }

.fm-p-info {
    font-size: 18px;
    color: gray;
}

.player-details-player-n {
    width: 100%;
    /* margin-left: 3%; */
    display: flex;
    /* padding: 0 35px 0 15px; */
}
.player-details-player-m {
    width: 100%;
    /* margin-left: 3%; */
    /* padding: 0 35px 0 15px; */
}
.player-details-l-n {
    width: 16%;
    margin: 1rem 0 0 0;
    padding-right: 1rem;
}
.player-details-r-n {
    /* border: 1px solid red; */
    display: flex;
    width: 84%;
    justify-content: space-between;
}

/* 顔写真と基本情報 */
.player-details-face-n {
    width: 100%;
    /* height: 30rem; */
    /* display: flex; */
}

/* コンディション状況タイトル */
.player-details-wrapbox-n {
    /* display: flex; */
    width: 100%;
    padding: 2rem 0 0 0;
    justify-content: space-between;
}
.condition-left {
    width: 30%;
}
.condition-right {
    width: 100%;
    /* margin-left: 40px; */
}
.phys-title {
    display: flex;
    width: 100%;
    margin-top: 0.5rem;
}
.phys-title .p-ttl {
    flex: 1;
    color: #FFFFFF;
    padding: 12px 0;
    text-align: center;
    background-color: #424242;
    border-right: 1px solid #fff;
}
.phys-content {
    width: 100%;
    display: flex;
}
.phys-content .p-cont {
    flex: 1;
    color: #000;
    padding: 12px 0;
    text-align: center;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
}

textarea.fm-txt:disabled {
    resize: none;
    opacity: 1;
    color: #000;
    outline: 1px solid #FFF;
    margin-top: -1.4rem;
}

/* 自覚的運動強度 */
.training {
    display: flex;
    width: 60%;
    margin-top: 4px;
    margin-left: 2px;
    margin-top: -3px;
    /* border: 1px solid red; */
}
.f0, .f1, .f2, .f3 {
    width: 25%;
    text-align: center;
}

.f00, .f11, .f22, .f33, .f44 {
    border: 1px solid #000;
    border-right: 0;
    border-bottom: 0;
    padding: 2px 0;
}
/* .f11 .format-padding {
    color: red;
    padding: 2px;
} */
.f22 {
    border-right: 1px solid #000;
}
.f33 {
    border-right: 1px solid #000;
}
.f0 .format-select,
.f1 .format-select,
.f2 .format-select,
.f3 .format-select {
    line-height: 36px;
}
.f1 .format-select {
    padding: 4px;
}
.f00 {
    color: #FFF;
    background-color: #000;
}
.f00:nth-child(even) {
    border-top: 1px solid #FFF;
    border-bottom: 1px solid #FFF;
}
/* TRAINING->COMMENT */
.com-1 {
    width: 25%;
    color: #FFF;
    text-align: center;
    background-color: #000;
}
.com-11:nth-child(even) {
    border-top: 1px solid #FFF;
    border-bottom: 1px solid #FFF;
}
.com-2 {
    width: 75%;
    text-align: center;
}
.com-11, .com-22 {
    /* height: 60px; */
    line-height: 54px;
    border: 1px solid #000;
    border-right: 0;
    border-bottom: 0;
}
.com-22 {
    padding: 6px;
    border-right: 1px solid #000;
}

textarea.comment { 
    font-size: 14px;
    margin: 0;
    padding: 0;
    resize: none;
    outline: 1px solid #FFF;
}
select.test-select {
    font-size: 12px;
    margin: 0;
    padding: 0;
}

/* 自覚的運動強度（rate of perceived exertion：RPE） LEFT */
.rpe-left {
    width: 35%;
}
.rpe-left-title,
.rpe-left-body {
    display: flex;
}

.rpe-left-title-text,
.rpe-left-body-text {
    width: 200px;
    text-align: center;
    padding: 4px 0;
}
.rpe-left-title-text:first-child,
.rpe-left-body-text:first-child {
    width: 350px;
}
.rpe-left-title-text { 
    background-color: #000; 
    color: #FFF;
}
.rpe-left-body-text {
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
}
.rpe-left-body-text:first-child {
    border-left: 1px solid #000;
}
.rpe-main { display: flex; justify-content: space-between;}
/* 自覚的運動強度（rate of perceived exertion：RPE） RIGHT */
.rpe-right { width: 60%; }
.rpe-right-title { background-color: #000; color: #FFF;}
.rpe-right-title, .rpe-right-body { display: flex; }
.rpe-right-title-text, .rpe-right-body-text { flex: 1 ; text-align: center; padding: 4px 0;}

.rpe-right-title-text:nth-child(odd) { border-left: 1px solid #FFF; border-right: 1px solid #FFF; }
.rpe-right-title-text:first-child { border-left: 1px solid #000; }

.rpe-right-body-text { border-right: 1px solid #000; border-bottom: 1px solid #000; }
.rpe-right-body-text:first-child { border-left: 1px solid #000; }

/* コンディション管理詳細 */
.txt-align-right {
    display: flex;
    justify-content: center;
    align-items: center;
}
img.img-level-create {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
/* #7290【コンディション管理】ツールチップ */
.tooltip2{
    position: relative;
    cursor: pointer;
    display: inline-block;
    z-index: 1;
}
.tooltip2 p{
    margin:0;
    padding:0;
}
.description2 {
    display: none;
    position: absolute;
    padding: 10px;
    font-size: 12px;
    line-height: 1.6em;
    color: #000;
    border-radius: 5px;
    background: #E5B81F;
    width: 100px;
}
.description2:before {
    content: "";
    position: absolute;
    top: 0%;
    right: 95%;
    border: 15px solid transparent;
    border-top: 15px solid #E5B81F;
    margin-left: -15px;
    transform: rotateZ(90deg);
}
.tooltip2:hover .description2{
    display: inline-block;
    top: 0px;
    left: 80px;
}

/* <<<<< SEARCHING: CATEGORY - POSITION - PLAYER NAME >>>>> */
.search-button {
    margin-left: 2px;
    margin-right: 2px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.search-left {
    width: 65%;
    background-color: #CCEFFC;
    border: 0.1px solid #84898b;
    border-radius: 16px;
    padding: 14px;
    padding-bottom: 18px;
    filter: drop-shadow(0.35rem 0.35rem 0.4rem rgba(126, 138, 144, 0.5));
    /* background-image: linear-gradient(to right, rgba(204,239,252,1), rgba(204,239,252,0.5)); */
}
.cate {
    display: flex;
    width: 100%;
    gap: 40px;
}
.cate-left {
    width: 80px;
}
.cate-right {
    display: flex;
    column-gap: 30px;
}
