/*サイドメニュー*/

.btn{
	width: 110px;
}

header{
	height: 70px;
}

/* 画面全体のスタイルをBootstrap標準から変更したい場合はここで変更する
/* コントロールの枠線設定*/
/*
.form-control {
    border: var(--bs-card-border-width) solid var(--bs-card-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out
}
*/

/* サイドメニューカラーイメージ */
.text-bg-dark {
    background-color:#000033!important
}

/* テーブルカラーイメージ */
.table-dark {
    --bs-table-bg: #000033!important
 }

/* 点滅 */
@keyframes blinking {
   0% {
   opacity: 0;
   }
   100% {
   opacity: 1;
   }
}

/* 要素にアニメーションを適用 */
.blink {
   animation: blinking 0.8s ease-in-out infinite alternate;
}

.kasaneru{
  display: inline-block;
  position: relative;/*親要素にrelative*/
}
.kasaneru p{
  position: absolute;/*重ねたい子要素にabsolute*/
  top:47%;
  left: 47%;
 -ms-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
  -webkit-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
  transform: translate(-50%,-50%);/*センター寄せの修正*/
  color: #fff;
  font-size: 1.8rem;
  margin: 0!important;/*文字がずれている場合や*/
  padding: 0!important;/*文字が折り返される場合*/
}

/*------------------------------------------------------------------------------
	数値入力ボックススタイル定義
------------------------------------------------------------------------------*/

/* 数値フィールドスピンボタン非表示(Chrome, Safari) */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin            : 0;
}

/* 数値フィールドスピンボタン非表示(FireFox) */
input[type="number"] {
	-moz-appearance: textfield;
}

.logout-btn {
	border          : 1px solid var(--button-border-color3);
	background-color: var(--button-background-color3);
    color: white!important;
	border-radius: 0.375rem;
	height: 25px;
	width: 100px;
	cursor: pointer;
}

.logout-btn:hover {
	background-color  :aliceblue;
	color: black!important;
}

.reverse{
	transform:scale(-1,1) rotate(180deg);
}

.card-body label.col-1{
	padding-top: 5px;
	min-width: 8em;
}

/* 登録／更新系画面の全体レイアウト */
table.data-changem-table {
	width:100%;
}

table.data-changem-table tr th {
	width:12em;
	white-space: nowrap;
}

table.data-changem-table tr td {
	width:auto;
	min-width:60%;
} 

/* フォントサイズ大 */
.textSizeL {
    font-size:40px;
 }
 
/* フォントサイズ中 */
.textSizeM {
    font-size:24px;
}
 
/* フォントサイズ中小 */
.textSizeSS {
    font-size:20px;
}
 
/* フォントサイズ小 */
.textSizeS {
    font-size:16px;
}

/* 下部余白2.5 */
.mb-2_5 {
	margin-bottom: 0.75rem !important;
}

/* 必須項目 */
.required{
	color: #E00;
}
.required:after{
	content:" *";
}

/* リンクボタン */
.link-button {
        background: none;
        border: none;
        color: #004EA2;
        cursor: pointer;
        font-size: inherit;
        padding: 3px;
        border-radius: 10px;
        
    }
.link-button:hover{
	background-color: #E6E6E6;
}

/* 年スライドボタン */
.year-select-button{
  border: none;
  padding-bottom: 0.9rem;
  background-color: unset;
}

/* トグルスイッチボタン */
.switch_outer {
    width: 50px;
    height: 25px;
    background-color: white;
    border: 1px solid #000;
    border-radius: 30px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: background-color .2s ease-in-out;
}
.switch_outer.disabled {
	background-color :#808080;
}
.toggle_switch.disabled {
	background-color: #404040;	
}
.toggle_switch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
    background-color: #000;
    top: 0;
    bottom: 0;
    left: 3px;
    margin: auto;
    box-shadow: 1px 1px 7px #B7B7B7, -1px -1px 4px #CECECE inset;
    transition: left .3s ease-in-out;
}
.toggle_switch.active {
    left: 25px;
}

/* 添付ファイル用 */
#lblUpload.disabled{
	background-color:darkgray;	
}

li.uploadFile{
	list-style-type:square;
	list-style-position:outside;
	font-size: medium;
} 


ul.attachedFileList {
	margin-left: 0px;
	list-style:none;
    padding-inline-start: 0px;
}

ul.attachedFileList > li:first-child {
	border: 1px solid #ccc;
	min-width: 50%;
	background-color:#000033!important;
	color:white;
}

ul.attachedFileList > li:not(:first-child) {
	min-width: 50%;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

span.attachFileDelBtn {
	float:left;
	padding: 10px;
}

span.attachFileLink {
	display: block;
	margin-left: 50px;
	padding: 10px;
	border-left: 1px solid #ccc;
}

/* 年度テキストボックス */
.year-input{
  width: 4rem;
  min-width: 4rem;
}

/* 年月テキストボックス */
.year-month-input{
  width: 6rem;
  min-width: 6rem;
}

/* 部門テキストボックス */
.dept-input{
  width: 4rem;
  min-width: 4rem;
}

/* パーセントテキストボックス */
.rate-input{
	width: 60px;
}

/*セレクトボックスのスタイル */
.select-container {
     width:  100px;
}
.select-container select {
    height: 36px;
    width:  100px;
}

.form-select-xxs {
  padding: 0.2rem 0.25rem;
  font-size: 0.75rem;
}

/* 一覧表の設定 */
.table-area{
	display: flex;
    align-items: flex-start;
}

.table-wrap {
  overflow-x: scroll;
}

/* 一覧表内のプロジェクトコード項目 */
.col-prjcd{
	width: 125px;
}

/* 一覧表内のプロジェクト名項目 */
.col-prjname{
	max-width: 500px;
}

/* 一覧表内の部門コード項目 */
.col-deptcd{
	width: 80px;
}

/* 一覧表内の日付項目 */
.col-ymd{
	width: 100px;
}

/* 一覧表内の職級／単価項目 */
.col-joblevel-unit{
	width: 120px;
}

/* モーダル画面の設定 */
.modal-search-table{
    display: block;
    overflow-y: scroll;
    height: 600px;
}

.modal-search-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
}

/* ツールチップ本体 */
p.tgToolTip {
    margin: 0;
    padding: 0.5em 1em;
    background-color: #FFF;
    border-radius: 10px;
    -moz-border-radius: 5px;
    min-height: 1em;
    top: 100px;
    left: 20px;
    position: absolute;
    z-index: 100;
    width: 300px;
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, .5);
}

/* クリック元装飾 */
span.tooltip1 {
    color: #fff;
    text-align: center;
    padding: 0 0.5em;
    background-color: #E2665C;
    border-radius: 5px;
    -moz-border-radius: 5px;
}
 
/* クリック元装飾(2) */
span.tooltip2 {
    background-color: #ccc;
}

/* ツールチップ以外の領域をクリックでツールチップを隠す際に利用 */
.dummy {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
}

.environmentLogo {
    display: inline-grid;
    color: #fff;
    background-color: #f00;
    width: 90px;
    height: 36px;
    border-radius:17px 17px 17px 17px/17px 17px 17px;
    text-align: center;
    align-content: center;
}
