@charset "UTF-8";

/* ***************************************************************
 *
 * 全体
 *
 *
 * *************************************************************** */

/* フォントサイズの設定 */
html {
  font-size: 14px;
}

/* フォント */
body, input, button, select, textarea {
  font-family: 'Meiryo UI', 'メイリオ', Meiryo, sans-serif;
  font-size: 1rem;
}

/* 閉じるマーク「×」　だけフォントを Bootstrap の設定に戻し、サイズを大きく */
.close {
	/* font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;*/
 	font-size: 2rem;
}

/* テキストも disabled クラスをつけたらカーソルを不許可のマークにする */
span.disabled {
  cursor: not-allowed;
}

a:not([href]) {
	cursor: pointer;
}

body {
  word-wrap: break-word;
}

/* ***************************************************************
 *
 * 全体のレイアウト
 *
 *
 * *************************************************************** */

/* 未使用予定 */
.pageCaption {
  margin:10px 20px 0px 20px;
  padding:5px 0px 0px 8px;
  border-left:4px solid #5A4398;
}

/* 未使用予定 */
.pageCaptionEx {
  padding:5px 0px 0px 8px;
  border-left:4px solid #5A4398;
}

/* ***************************************************************
 *
 * レイアウト
 *
 *
 * *************************************************************** */

body, html {
	height: 100%;
}
/* IE11 Sticky footer 対応 */
body {
	display: flex;
	flex-direction: column!important;
}
body>section {
	max-width: 1260px;
	min-height: 100%;
	display: -ms-flexbox!important;
	display: -webkit-box!important;
	display:        flex!important;
	   -webkit-box-orient: vertical!important;
	-webkit-box-direction: normal!important;
	   -ms-flex-direction: column!important;
	       flex-direction: column!important;
}
body>section>header {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}
.header-logo {
	height: 50px;
}
/*
body>section>main > div > .card:first-child:last-child {
	margin-top: 5rem;
}
*/
body>section>main {
	flex: 1 0 auto;
}
#container {
	min-width: 980px;
}
body>section>footer {
	margin-top: 2rem;
	padding-top: 0.5rem;
	padding-bottom: 1rem;
	text-align: center;
	border: 0;
	border-top: 1px solid #e5e5e5;
	color: #333333;
	font-size: 0.9rem;
}

/* ***************************************************************
 *
 * 背景色
 *
 *
 * *************************************************************** */
/*
.navbar .navbar-nav > li > a:hover {
  background-color: #e6e6e6;
}
.navbar .navbar-nav .open .dropdown-menu > .active > a {
  color: #333 !important;
  background-color: #e7e7e7 !important;
}
*/
body {
  background-color: #f8f9fa;
}

.modal-content {
  background-color: #f8f9fa;
}

/* ***************************************************************
 *
 * メニュー
 *
 *
 * *************************************************************** */
.bg-menu {
	background-color: #e9ecef;
}

.navbar {
	border-radius: 4px;
	margin-bottom: 20px;
	border: solid 1px #ced4da;
}
#menu {
    padding-top: 0px;
    padding-bottom: 0px;
}
#menu .nav-item {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar .dropdown:hover,
.navbar .dropdown.show {
  color: #343a40;
	background-color: #dee2e6;
}
.navbar .dropdown.active,
.navbar .dropdown-item.active {
	color: #212529;
	background-color: #ced4da;
}

.dropdown-item.active,
.dropdown-item:active {
    color: #212529;
    text-decoration: none;
    background-color: #ced4da;
}

/* ***************************************************************
 *
 * ボタン
 *
 *
 * *************************************************************** */
.btn-secondary {
	color: #343a40 !important;
	background-color: #ced4da !important;
	border-color: #adb5bd !important;
}

.btn-group-toggle .btn-secondary {
	color: #adb5bd !important;
	background-color: #f8f9fa !important;
	border-color: #adb5bd !important;
}
.btn-group-toggle .btn-secondary.active {
	color: #343a40 !important;
	background-color: #ced4da !important;
	border-color: #adb5bd !important;
}

.btn-secondary.focus,
.btn-secondary:focus {
    box-shadow: 0 0 0 0.2rem rgba(173, 181, 189,.5);
}
.btn-secondary.hover:not([disabled]),
.btn-secondary:hover:not([disabled]) {
  color: #343a40 !important;
	background-color: #adb5bd !important;
	border-color: #adb5bd !important;
}

.btn-fixed {
  min-width: 100px;
}

.btn-transparent {
	border: 0;
	background-color: transparent;
}
.btn.text-right {
	text-align: right;
}
.btn.text-left {
	text-align: left;
}

.btn.btn-link.disabled  {
	color: #777;
	opacity: 1;
}
.btn.btn-link.disabled:active,
.btn.btn-link.disabled:focus,
.btn.btn-link.disabled:hover  {
	text-decoration: none;
}

.pager {
	border-radius: 1.5rem;
	transform: rotate(0.00001deg);
}

/* ***************************************************************
 *
 * ログイン画面
 *
 *　@todo どこかのタイミングで見直し
 *
 * *************************************************************** */
/* コンテンツエリアの設定(ログイン画面) */
.contents-area-login {
  padding: 10px 10px 10px 10px;
  background-color: #FAFAFA;
  background-image: -moz-linear-gradient(top, white, #F2F2F2);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(white), to(#F2F2F2) );
  background-image: -webkit-linear-gradient(top, white, #F2F2F2);
  background-image: -o-linear-gradient(top, white, #F2F2F2);
  background-image: linear-gradient(to bottom, white, #F2F2F2);
  background-repeat: repeat-x;
  border: 1px solid #D4D4D4;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff2f2f2', GradientType=0 );
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
  margin: 15px auto 15px auto;
}

/* ***************************************************************
 *
 * ダッシュボード
 *
 *
 * *************************************************************** */
/* ダッシュボードのセクション */
section.dashboard-section {
	margin-top: 20px;
	margin-bottom: 50px;
}
.dashboard-section h5.section-title {
	font-size: 1.25rem;
	margin-top: 0px;
	margin-bottom: 0px;
}
.dashboard-section h6.section-title {
	font-size: 1rem;
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 3px;
}
.dashboard-section .list-group-header {
	margin-bottom: 10px;
}


/* ***************************************************************
 *
 * ツールチップ
 *
 *
 * *************************************************************** */
.help {
  cursor: pointer;
  line-height: 1.5;
}
/*
   ツールチップが他のオブジェクトで隠れないよう
   十分なz-indexを設定しておく。
 */
.tooltip  {
  z-index: 8000;
}
/*
   ツールチップの幅は、デフォルト(200px)だと狭すぎるので広げる。
   また、右寄せにする。
 */
.tooltip-inner {
  min-width: 200px;
}
.tooltip-inner > p:last-child {
  margin-bottom: 0;
}
.tooltip-inner,
.tooltip-inner * {
  max-width: 300px;
  text-align: left;
}
/*
   ツールチップの内のコードは文字色、背景色ともに親要素と同様とする。
 */
.tooltip-inner pre {
  color: inherit;
  background-color: transparent;
}

/* ***************************************************************
 *
 * フォーム・入力コントロール関連
 *
 *
 * *************************************************************** */
.mandatory:after{
  content:"*";
  color:#FF0000;
}

.mandatory-blue:after{
  content:"*";
  color:#0000ff;
}

table {
    table-layout: fixed;
}

.table-form > tbody + tbody {
    border-top: none;
}

.table-bordered thead th,
.table-bordered thead td {
  border-bottom-width: 1px;
}

textarea.description-textarea {
  height: 70px;
}
textarea.textarea-attribute {
  height: 100px;
}

.item-body.list-unstyled {
  margin-bottom: 0px;
}

/* ファイルアップロード用のボタンの設定 */
.btn-file {
  position: relative;
  overflow: hidden;
  vertical-align: middle;
  -webkit-user-select: none;
   -khtml-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.btn-file > input {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  font-size: 1.75rem;
  cursor: pointer;
  opacity: 0;
  filter: alpha(opacity=0);
  transform: translate(-650px, 0) scale(4);
  direction: ltr;
}

/* ラベル内チェックボックスのマージンを狭くする場合 */
label.checkbox-condensed {
	margin-top: 0px;
	margin-bottom: 0px;
}

/* ***************************************************************
 *
 * 黒いチェックボックス
 *
 *
 * *************************************************************** */
.form-check-label-black input[type="checkbox"] ~ span {
	position: relative;
}
.form-check-label-black input[type="checkbox"] ~ span::before {
	content: '';
	display: block;
	border: 1px solid #777;
	border-radius: 2px;
	height: 13px;
	width: 13px;
	position: absolute;
	top: 3px;
	left: -17px;
}
.form-check-label-black:hover input[type="checkbox"] ~ span::before {
	border-color: #444;
}
.form-check-label-black input[type="checkbox"] ~ span::after {
	content: '';
	display: none;
	border: 2px solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	height: 9px;
	width: 5px;
	position: absolute;
	top: 4px;
	left: -13px;
}
.form-check-label-black input[type="checkbox"] {
	display: none;
}
.form-check-label-black input[type="checkbox"]:checked ~ span::before {
	background-color: #212529;
	border-color: #212529;
}
.form-check-label-black input[type="checkbox"]:checked ~ span::after {
	display: block;
}

/* ***************************************************************
 *
 * タイポグラフィ
 *
 *
 * *************************************************************** */
/* 文章の省略 */
.ellipsis {
  white-space:nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/*
　　名称や備考を表示するのに使用
　　連続する空白はそのまま残されます。行の折り返しは、改行文字や <br> 要素のあるときか、行ボックスを埋めるのに必要なときに行います。
*/
.pre-wrap {
  white-space:pre-wrap;
}

.pre {
  white-space:pre;
}

/*英単語の途中でも改行を許可する指定*/
.break-word{
  word-wrap: break-word;
}

/* 見出し */
h1.page-caption,
h2.page-caption,
h3.page-caption {
  border-left-style: solid;
  border-left-width: 4px;
  border-left-color: #5A4398;
  padding-left: 8px;
  padding-top: 5px;
  margin-top: 0px;
  font-weight: bold;
}

h4.page-caption,
h5.page-caption {
  border-left-style: solid;
  border-left-width: 4px;
  border-left-color: #5A4398;
  padding-left: 8px;
  padding-top: 3px;
  margin-top: 0px;
  font-weight: bold;
}

h3.section-title,
h4.section-title,
h5.section-title {
  font-weight: bold;
}
h5.section-title:not(:first-child) {
  margin-top: 30px;
}

.dl-horizontal2 dt {
  float: left;
  overflow: hidden;
  clear: left;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dl-horizontal2 dd {
  margin-left: 180px;
}

/* ***************************************************************
 *　
 * テーブルの枠を使ったフォーム
 *
 *
 * *************************************************************** */
.table-form > tbody > tr > td {
  padding-top: 4px;
  padding-bottom: 4px;
  padding-right: 6px;
  padding-left: 6px;
}

th {
  background-color:#dee2e6;
}

.table thead th,
.table-bordered td,
.table-bordered th {
  border: 1px solid #ced4da;
}


.table-form.inactive th,
.table-form > tbody > tr.inactive th {
  background-color:#dee2e6;
} 
.table-form.inactive td,
.table-form > tbody > tr.inactive td {
  background-color:#e9ecef;
}
.ta

.table-form.inactive th,
.table-form.inactive td,
.table-form > tbody > tr.inactive th,
.table-form > tbody > tr.inactive td {
  opacity: 0.6;
} 


thead th {
  text-align: center;
}
/*セルのボーダーを消して見た目上結合させる指定。bootstrapの指定に勝てるようセレクタを多めに指定*/
table.table-bordered tbody tr .merge-up {
  border-top:none;
}

/* チェックボックスの位置の調整 */
td .form-check:first-child {
	margin-top: 6.25px;
}
td .form-check:last-child {
	margin-bottom: 6.25px;
}
td .form-check > .form-check-input {
	margin-left: -0.75rem;
}
td .form-check.form-check-inline .form-check-label .form-check-input {
	vertical-align: -0.05rem;
	margin-right: 0;
	margin-left: 0;
}

/* ファイル選択 */
td input[type="file"] {
  margin-top: 6px;
  margin-bottom: 7px;
  overflow: hidden;
}
td input.form-control-plaintext[type="file"] {
  margin-top: 0px;
  margin-bottom: 0px;
  width: 100%;
}
/* ie 11 */
@media all and (-ms-high-contrast:none) {
	td input.form-control-plaintext[type="file"] {
		padding-top: 0px;
		padding-bottom: 0px;
	}
}
/* ie edge */
@supports (-ms-ime-align:auto) {
	td input.form-control-plaintext[type="file"] {
		padding-top: 0px;
		padding-bottom: 0px;
	}
}

td .radio label .ui-spinner,
td .checkbox label .ui-spinner {
	margin-top: -7px;
	margin-bottom: -7px;
}

.input-group .form-control-plaintext + .input-group-btn > .btn:first-child {
  -webkit-border-top-left-radius: 4px;
  -moz-border-top-left-radius: 4px;
  border-top-left-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
  -moz-border-bottom-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.input-group .form-control-plaintext + .input-group-append > *:first-child,
.input-group .form-check-inline + .input-group-append > *:first-child {
  -webkit-border-top-left-radius: 4px;
  -moz-border-top-left-radius: 4px;
  border-top-left-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
  -moz-border-bottom-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.input-group>.form-control-plaintext {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1%;
    margin-bottom: 0;
}
.input-group-text {
	display: block;
}
td > .form-control-plaintext:first-child:last-child a:first-child:last-child {
  display: inline-block;
  width: 100%;
}
.input-group-addon label {
	margin-bottom: 0px;
}
/* コントロール自体をリンクにした場合、ブロック要素であることを明示 */
td .form-control-plaintext {
  display: block;
}

/* 長い単語の場合、ボタンがはみ出さないようにする */
.input-group > .form-control-plaintext {
  word-break: break-all;
  margin-right: 8px;
}


/* .table-group 内のテーブルのはマージンを狭める */
.table-group > table:not(:last-child) {
	margin-bottom: 4px;
}
/* 最後のテーブルはマージンを狭めない */
.table-group > *:last-child {
	margin-bottom: 0px;
}
/* テーブルグループ自体のマージン */
.table-group {
	margin-bottom: 20px;
}
td > .table-group {
	margin-bottom: 0px;
}

/* テーブルの行を区切り文字として使う */
.table-line {
	padding-top: 3px !important;
	padding-bottom: 3px !important;
}

/* 入れ子となったテーブル */
.table .table {
  background-color: transparent;
}
.table .table:first-child {
  margin-top: 4px;
}
.table .table:last-child {
  margin-bottom: 4px;
}

/* 時刻コントロール */
.input-group-clock-sep {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.input-group-clock-sep:after {
  content: ":"
}
.input-group-time {
  min-width: 10rem;
}

/*
td > .form-control,
td > .form-control-plaintext,
td > .input-group {
  margin-top: -4px;
  margin-bottom: -4px;
}
*/

/* ***************************************************************
 *　
 * ドロップダウン多層化
 *   Bootstrap v2　では存在していたドロップダウンの階層化が v3 では削除されていたため、再定義。
 *
 *
 * *************************************************************** */

/* 上側を丸くする */
.navbar .navbar-nav .open .dropdown-menu {
  border-width: 1px 1px 1px;
  border-radius: 4px 4px 4px 4px;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-toggle {
	display: block;
	width: 100%;
	font-weight: 400;
	color: #212529;
	text-decoration: none;
}

.dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px;
  border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
  display: block;
}

.dropdown-submenu>a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #ccc;
  margin-top: 5px;
  margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
  border-left-color: #fff;
}


/* ***************************************************************
 * テーブルの幅の指定(span1～span12)
 *   Twitter Bootstrapと同様にグリッドシステムを採用し、
 *   パーセントによる指定とする。
 *   ただし、テーブルは枠線の存在により誤差が生じるため
 *   少なくとも一つの列にはspan1～span12を指定しないこと。
 *   特に固定列であるチェックボックスの列が存在する場合は気を付けること。
 * *************************************************************** */
col.colwidth1 {
  width:8.3%;
}
col.colwidth1\.5 {
  width:12.5%;
}
col.colwidth2 {
  width:16.6%;
}
col.colwidth2\.5 {
  width:20.8%;
}
col.colwidth3 {
  width:24.9%;
}
col.colwidth3\.5 {
  width:29%;
}
col.colwidth4 {
  width:33.2%;
}
col.colwidth5 {
  width:41.5%;
}
col.colwidth6 {
  width:49.8%;
}
col.colwidth7 {
  width:58.1%;
}
col.colwidth8 {
  width:66.4%;
}
col.colwidth9 {
  width:74.7%;
}
col.colwidth10 {
  width:83.0%;
}
col.colwidth11 {
  width:91.3%;
}
col.colwidth12 {
  width:100%;
}
/* チェックボックスの列の幅は20pxに常に固定 */
.table > colgroup > col.colcheckbox {
  width: 37px;
}

/* ***************************************************************
 *
 * リスト
 *
 *
 * *************************************************************** */
.list-inline {
  line-height: 1rem;
}
.list-inline:last-child {
  margin-bottom: 0px;
}

/* カンマ区切りインラインリスト */
.list-inline-comma {
  display: inline;
}

.list-inline-comma > li {
  display: inline;
	padding-right: 0px;
  padding-left: 0px;
}

.list-inline-comma > li:first-child {
  padding-left: 5px;
}

.list-inline-comma > li:after {
  content: ", ";
}
.list-inline-comma > li:last-child:after {
  content: "";
}

/* ハイフン区切りインラインリスト */
.list-dash {
  margin-bottom: 0px;
}

.list-dash > li {
  padding-right: 0px;
  padding-left: 0px;
}

.list-dash > li:first-child {
  padding-left: 5px;
}

.list-dash > li:after {
  content: "-";
}
.list-dash > li:last-child:after {
  content: "";
}

/* チェックボックス付きのリスト */
.list-unstyled > li > label.checkbox {
	margin-left: 20px;
}

/* ***************************************************************
 *
 * リストグループ
 *
 *
 * *************************************************************** */
/* リストグループヘッダ */
.list-group-header {
  margin-bottom: 5px;
	display: table;
	box-sizing: border-box;
	width: 100%;
}
.list-group-header form.form-inline {
	display: inline-flex;
}
.list-group-header form.form-inline .form-group-sm .form-control-plaintext {
	padding-right: 0px;
	padding-left: 0px;
}
.list-group-header-item {
	display: table-cell;
	width: 1%;
	white-space: nowrap;
	vertical-align: middle;
	line-height: 1rem;
}

/* 区切り文字 */
.divider:after {
	margin-right: 5px;
	margin-left: 5px;
  content: "|";
  color: #cccccc;
}

.modal-body > *:last-child {
  margin-bottom: 0px;
}
.modal-body .progress {
  margin-bottom: 0px;
}

.list-group-item:not(:last-child) {
	border-bottom: none;
}
.list-group-item:focus, .list-group-item:hover {
	z-index: auto;
}

/*
最後の項目は下のマージンを取らない

※ TD内のチェックボックスは除く。本来は<fieldset>などで囲むことで回避したいが、
　 すべての画面を確認するのは手間なので暫定対応。
*/
.list-group-item > *:last-child,
.table-layout-body > *:last-child,
.nested > *:last-child {
	margin-bottom: 0px;
}

/* 縞々にする */
.list-group.list-group-striped > .list-group-item:nth-of-type(even) {
	background-color: white;
}

/* リストグループの背景は基本透明 */
.list-group {
	background-color: transparent;
}
.list-group-item {
	background-color: transparent;
}
.list-group-item-info,
a.list-group-item-info {
  color: #0c5460;
  background-color: #bee5eb;
}
.list-group-item-danger,
a.list-group-item-danger {
  color: #a94442;
  background-color: #f2dede;
}
.list-group-item-warning,
a.list-group-item-warning {
  color: #8a6d3b;
  background-color: #fcf8e3;
}
.list-group-item-success,
a.list-group-item-success {
  color: #3c763d;
  background-color: #dff0d8;
}

/* リストグループ内のヘッダ */
.list-group h4 {
	margin-top: 0px;
	font-weight: bold;
	font-size: 1.25rem;
}

/*
領域内の両端に一定幅のものを

.table-layout
	.table-layout-row
		label.table-layout-addon: チェックボックスを左端に
			input[type=checkbox]
		.table-layout-body: リストグループの本体
		.table-layout-addon: 右端の要素
*/
.table-layout {
	display: table;
	box-sizing: content-box;
	width: 100%;
  word-break: break-word;
}
.table-layout-row {
	padding: 0px;
	position: relative;
}
.table-layout > .table-layout-row {
	display: table-row;
}
/* メインコンテンツ */
.table-layout-body {
	display: table-cell;
	padding: 10px;
}
.table-layout-body-empty {
	padding: 0;
}
/* 両サイドの要素 */
.table-layout-addon {
	display: table-cell;
	width: 1%;
	white-space: nowrap;
	vertical-align: middle;
	padding: 6px 12px;
	line-height: 1;
	min-width: 37px;
}

/* 境界線 */
.table-layout-addon:not(:last-child) {
	border-right: 1px solid #ced4da;
}
.table-layout-body + .table-layout-addon,
.table-layout-body + .table-layout-body {
	border-left: 1px solid #ced4da;
}
.table-layout > .table-layout-row:not(:first-child) > .table-layout-addon,
.table-layout > .table-layout-row:not(:first-child) > .table-layout-body {
	border-top: 1px solid #ced4da;
}
.table-layout:not(.list-group-item) {
	border-top: 1px solid #ced4da;
	border-bottom: 1px solid #ced4da;
	border-left: 1px solid #ced4da;
	border-right: 1px solid #ced4da;
	border-top-right-radius: 4px;
	border-top-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
}
.table-layout:not(.list-group-item) > .list-group-item:first-child > .table-layout-addon:first-child,
.table-layout:not(.list-group-item) > .list-group-item:first-child > .table-layout-body:first-child {
	border-top-left-radius: 4px;
}
.table-layout:not(.list-group-item) > .list-group-item:first-child > .table-layout-addon:last-child,
.table-layout:not(.list-group-item) > .list-group-item:first-child > .table-layout-body:last-child {
	border-top-right-radius: 4px;
}
.table-layout:not(.list-group-item) > .list-group-item:last-child > .table-layout-addon:first-child,
.table-layout:not(.list-group-item) > .list-group-item:last-child > .table-layout-body:first-child {
	border-bottom-left-radius: 4px;
}
.table-layout:not(.list-group-item) > .list-group-item:last-child > .table-layout-addon:last-child,
.table-layout:not(.list-group-item) > .list-group-item:last-child > .table-layout-body:last-child {
	border-bottom-right-radius: 4px;
}

/* 境界線右辺のみ透明 */
.table-layout-border-right-transparent {
	border-right: 1px solid transparent !important;
}

/* 境界線 */
.table-layout-body.span-6 {
	width: 50%;
}
.table-layout-body.span-8 {
	width: 66%;
}

.nested {
	margin-left: 2rem;
}

.list-group.nested .list-group-item  {
	border-bottom-style: none;
	border-right-style: none;
	border-bottom-left-radius: 0px;
	border-top-right-radius: 0px;
}
.list-group.nested {
	margin-bottom: -0.75rem!important;
	margin-right: -1.25rem;
}

/*
チェックボックス
ブラウザごとにチェックボックス自体の大きさは異なるらしく、
その結果、上下左右の表示がブラウザによってはずれてしまう為、下記のサイズに設定
*/
.table-layout-addon > input[type="checkbox"] {
	margin: 0;
	height: 13px;
	width: 13px;
}
/* 行の真ん中ではなく、上寄せで表示したい場合 */
.checkbox-vertical-align-inherit {
	vertical-align: inherit;
}


/* key-value型表示形式 */
.table-layout-kv .table-layout-body {
	padding: 0;
}
.table-layout-kv .table-layout-body h4 {
	margin: 10px;
}
.table-layout-kv .table-layout-body table {
	border-left: 0;
	border-right: 0;
}
.table-layout-kv .table-layout-body th:first-child,
.table-layout-kv .table-layout-body td:first-child {
	border-left: 0;
}
.table-layout-kv .table-layout-body th:last-child,
.table-layout-kv .table-layout-body td:last-child {
	border-right: 0;
}
.table-layout-kv .table-layout-body table:last-child,
.table-layout-kv .table-layout-body table:last-child th,
.table-layout-kv .table-layout-body table:last-child td {
	border-bottom: 0;
}



.narrow .list-group-item {
	padding-top: 4px;
	padding-bottom: 4px;
	padding-left: 8px;
	padding-right: 8px;
}


.table-xml.table > thead > tr > th,
.table-xml.table > tbody > tr > th,
.table-xml.table > tfoot > tr > th,
.table-xml.table > thead > tr > td,
.table-xml.table > tbody > tr > td,
.table-xml.table > tfoot > tr > td {
  border-top: 1px solid #eee;
}

label {
  cursor: pointer;
}

/* labelにdisabledをつけたらカーソルをデフォルトに戻す  */
label.disabled {
  cursor: default;
}

/*

*/
.list-group .list-group-item.list-group-active {
	background-color: #fff;
	color: #333;
}
.list-group .list-group-item.list-group-inactive {
	background-color: transparent;
	color: #777;
}

.list-group-item.item-important {
	background-color: #f2dede;
}

/* 画像 */
.table-layout img {
  max-width: 100%;
}
.table-layout .item-thumbnail {
  float: left;
  margin-right: 10px;
  overflow-y: hidden;
  border-radius: 2px;
  overflow: hidden;
  width: 86px;
  height: 86px;
  position: relative;
  padding-top: -10px;
  padding-left: -10px;
}
.table-layout .item-thumbnail img {
  position: absolute;
  top: 50%;
  width: 86px;
  height: auto;
  -ms-transform: translate(0,-50%);
      transform: translate(0,-50%);
}

/* プログレスバー */
.table-layout .progress {
	margin-bottom: 5px;
}
.list-group ul li:last-child {
	padding-right: 0;
}
.list-group ul li .btn.btn-xs.btn-link {
	padding-top: 0;
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 0;
}

/* ***************************************************************
 *
 * アラート
 *
 *
 * *************************************************************** */
/* コンテナ */
body > .alert {
  position: fixed;
  z-index: 5000;
  left: 50%;
  top: -100px;
  margin-left: -350px;
  width: 700px;
  -webkit-transition: all ease 0.3s;
     -moz-transition: all ease 0.3s;
       -o-transition: all ease 0.3s;
          transition: all ease 0.3s;
}
body > .alert.fade.show {
  opacity: 0.95;
  filter: alpha(opacity=95);
  top: 7px;
}

/* メッセージの量が多いときはスクロールバーを表示する */
.alert {
	max-height: 500px;
	overflow-y: auto;
}

/* エラーメッセージのリスト */
.alert ul {
  margin-left: 0px;
}
.alert ul dl.dl-horizontal {
  margin-top: 0px;
  margin-bottom: 0px;
}
.alert ul dl.dl-horizontal dt {
  text-align: left;
  width: 135px;
}
.alert ul dl.dl-horizontal dd {
  text-align: left;
  margin-left: 140px;
}

.alert pre {
  overflow: inherit;
}

/* ***************************************************************
 *
 * ガード
 *
 * ボタン押下などでの処理中にレイヤーを表示して
 * ユーザに何か操作をさせないための仕組み。
 *
 * *************************************************************** */
.guard {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 6000;
  background-color: white;
  cursor: wait;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
       -o-user-select: none;
          user-select: none;
}
.guard > * {
  width: 4rem;
  height: 4rem;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}
.guard > span:before {
  width: 4rem;
  height: 4rem;
}
.guard * {
  font-size: 4rem;
}

.guard.fade {
  opacity: 0;
  -webkit-transition: opacity .15s linear;
       -o-transition: opacity .15s linear;
          transition: opacity .15s linear;
}

.guard.fade.in {
  opacity: 0.8;
}

/* ***************************************************************
 *
 * モーダル
 *
 *
 *
 * *************************************************************** */

/* 最小幅を設定。v3 ではレスポンシブに対応しないので。 */
.modal {
  min-width: 950px;
  z-index: 5000;
}
.modal-dialog {
  -webkit-transition: top .15s ease;
       -o-transition: top .15s ease;
          transition: top .15s ease;
	max-width: none; /* reset max-width */
	margin: 0.5rem auto;
}

/* モーダルの背景は白 */
.modal-backdrop {
  background-color: white;
}

/* モーダルのタイトル */
h3.modal-title {
  padding-left: 8px;
  border-left:4px solid #5A4398;
  margin-bottom: 10px;
  padding-right: 3rem;
}

/* モーダル本体の高さが一定より増えた場合、スクロールバーを表示する */
.modal-body {
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
}

.modal.modal-max-height .modal-dialog {
	height: 100%;
  margin: 0px auto;
  padding: 30px 0px;
}
.modal.modal-max-height .modal-content {
	height: 100%;
}
.modal.modal-max-height .modal-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
}
.modal-footer.d-block > :not(:last-child) {
	margin-right: 0px;
}

.modal-body > table:last-child {
  margin-bottom: 0px;
}

/* 各種幅のモーダル */
.modal200 {
  width: 200px;
}
.modal400 {
  width: 400px;
}
.modal600 {
  width: 600px;
}
.modal800 {
  width: 800px;
}
.modal1000 {
  width: 916px;
}
.modal1200 {
  width: 1116px;
}

/* 選択画面などリストグループをモーダルに表示するための設定 */
.modal-header {
  padding-bottom: 0px;
	flex-direction: column;
	align-items: stretch;
}
.modal-header .close {
	position: absolute;
	top: 1rem;
	right: 1rem;
}
.modal-header .navbar {
  margin-top: 5px;
  margin-bottom: 10px;
}
.modal-body.list-group-custom {
  padding: 0px;
  margin-bottom: 0px;

}
.modal-body.list-group-custom .list-group-item:first-child {
  border-top: none;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}
.modal-body.list-group-custom .list-group-item:last-child {
  border-bottom: none;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}
.modal-body.list-group-custom .list-group-item {
  border-left: none;
  border-right: none;
}

/* モーダル内のタイトルは少し小さめにする */
.modal-body h4.section-title {
  font-size: 1.20rem;
}
.modal-body h5.section-title {
  font-size: 1rem;
}
.modal-body h6.section-title {
  font-size: 0.95rem;
}

/* 変更閲覧画面で変更部分の強調。セルを赤枠で囲む。 */
.changed {
  /* outline: solid 1px #CC0000; */
  box-shadow: 0 0 0.05rem 0.1rem rgba(169,41,53, 1) inset;
}

/* ***************************************************************
 *
 * jQuery UI
 *
 *
 *
 * *************************************************************** */
.ui-widget input {
	font-family: 'Meiryo UI', 'メイリオ', Meiryo, sans-serif;
	font-size: 1rem;
}
.ui-widget input::-moz-placeholder {
  color: #999;
  opacity: 1;
}
.ui-widget input:-ms-input-placeholder {
  color: #999;
}
.ui-widget input::-webkit-input-placeholder {
  color: #999;
}
/* Spinnerの入力欄の色をBootstrapのものと合わせる */
.ui-spinner{
  border-color : rgb(204,204,204) !important;
}
.ui-state-disabled,
.ui-widget-content .ui-state-disabled,
.ui-widget-header .ui-state-disabled {
  opacity: 1;
  filter:Alpha(Opacity=100);
  background-image: none;
  background-color: #eeeeee;
  cursor: not-allowed !important;
}
[data-id=txtSpinner]:focus,
.spinner:focus {
  border-color: #66afe9;
  outline: 0;
}
[data-id=txtSpinner]:disabled,
.spinner:disabled {
  cursor: not-allowed;
}
.ui-spinner >[data-id=txtSpinner],
.ui-spinner > .spinner {
	padding-left: 6px;
	padding-top: 3px;
	padding-bottom: 3px;
}

/* ***************************************************************
 *
 * datepicker
 *
 *
 *
 * *************************************************************** */
/* datepickerを常に最前面に出すためにz-indexに十分に大きい値を設定 */
.ui-datepicker{
  z-index: 2147483647 !important;
}
/* datepickerのハイライト用のCSS
  ハイライト色の強さ
  　↑強
  ・選択時
  ・運用日
  ・ホバー時
  ・何でもない日(today含む)
  　↓弱
*/
/* 元々あるtodayのハイライトを何でもない日の色に上書き */
.ui-datepicker-today a{
  border: 1px solid rgb(211, 211, 211) !important;
  background: url("../img/ui-bg_glass_75_e6e6e6_1x400.png") repeat-x scroll 50% 50% rgb(230, 230, 230) !important;
  font-weight: normal !important;
  color: rgb(85, 85, 85) !important;
}
/* 上により「ホバー時かつtoday」のハイライトも消えるのでホバー時と同じものを再記述 */
.ui-datepicker-today a.ui-state-hover{
  border: 1px solid #999999 !important;
  background: #dadada url(../img/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x !important;
  font-weight: normal !important;
  color: #212121 !important;
}
/* 運用日をハイライト(todayの代わり)
  「運用日かつホバー時かつtoday」に「ホバー時かつtoday」に負けないよう「運用日かつホバー時」を明示 */
.datepicker-operationdate a,
.datepicker-operationdate a.ui-state-hover{
    border: 1px solid rgb(252, 239, 161) !important;
    background: url("../img/ui-bg_glass_55_fbf9ee_1x400.png") repeat-x scroll 50% 50% rgb(251, 249, 238) !important;
    color: rgb(54, 54, 54) !important;
}
/* 元々ある選択時のハイライトが上のimportantに負けるため再記述
  「選択時かつホバー時かつtoday」のハイライトは「ホバー時かつtoday」に負けるので「選択時かつtoday」を明示
  「選択時かつ運用日かつホバー時」のハイライトは「運用日かつホバー時」に負けるので明示
   */
a.ui-state-active,
.ui-datepicker-today a.ui-state-active,
.datepicker-operationdate a.ui-state-active.ui-state-hover{
  border: 1px solid rgb(170, 170, 170) !important;
  background: url("../img/ui-bg_glass_65_ffffff_1x400.png") repeat-x scroll 50% 50% rgb(255, 255, 255) !important;
  font-weight: normal !important;
  color: rgb(33, 33, 33) !important;
}

/* ***************************************************************
 *
 * ラベル、バッジの色
 *
 * Twitter Bootstrap v3.3.5 は明るすぎるので v2 の色に戻す
 *
 * *************************************************************** */
.badge-success {
    background-color: #468847;
}
.badge-danger {
  background-color: #b94a48;
}
.badge-warning {
  background-color: #f89406;
}
.badge-inverse {
  background-color: #333333;
}
.badge-invalid {
  background-color: #999;
}

.text-danger {
  color: #d9534f;
}
/* 一覧をフィルタリングしてマッチした文字列 */
.text-matched {
  color: #d9534f;
}

.list-inline > li.label {
	padding: .4em .6em .5em;
	font-size: 0.75rem;
}
th .label {
	font-size: 0.75rem;
}

/* ***************************************************************
 *
 * ジョブの実行状況ごとの色やアニメーション
 *
 * Twitter Bootstrap v3.3.5 は明るすぎるので v2 の色に戻す
 *
 * 1:処理待ち: 灰色、点滅させるアニメーション
 * 2:処理中: 灰色、動いているアニメーション
 * 3:中断: 黄色
 * 4:スキップ: 灰色、ラベルでだけでなく文字色も灰色(=ミュートされた色)に。
 * 5:完了: 緑
 * 6:タイムアウト: 赤
 * 9:異常終了: 赤
 * 13:中止待ち: 黄色
 * *:解決済み: 灰色、ラベルでだけでなく文字色も灰色(=ミュートされた色)に。
 * *:再実行済み: 灰色、ラベルでだけでなく文字色も灰色(=ミュートされた色)に。
 *
 * *************************************************************** */
.progress {
	height: 1.5rem;
}
/* 点滅アニメーション */
@-webkit-keyframes blink {
  75% {
    opacity: 0.3;
  }
}
@-o-keyframes blink {
  75% {
    opacity: 0.3;
  }
}
@keyframes blink {
  75% {
    background-color: #cccccc;
  }
}

/* 1:処理待ち 13:中止待ち: 灰色、点滅させるアニメーション */
.badge-waiting,
.badge-waiting-for-suspended,
.progress-bar-waiting,
.progress-bar--for-suspended {
  background-color: #333333;
  -webkit-animation: blink 2s linear infinite;
       -o-animation: blink 2s linear infinite;
          animation: blink 2s linear infinite;
}

/* 2:処理中: 灰色、動いているアニメーション */
.badge-inprogress,
.progress-bar-inprogress {
  background-color: #333333;
  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  background-image:      -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  background-image:         linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  background-image:         linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-size: 1rem 1rem;
  -webkit-animation: progress-bar-stripes 1s linear infinite;
  animation: progress-bar-stripes 1s linear infinite;
}

/* 3:中断: 黄色 */
.badge-suspended,
.progress-bar-suspended {
  background-color: #e8af04;
}

/* 4:スキップ: 灰色、ラベルでだけでなく文字色も灰色(=ミュートされた色)に。 */
.badge-skip,
.progress-bar-skip {
  background-color: #777;
  color: #fff;
}
.text-skip {
  color: #777;
}

.badge {
	color: #fff;
  padding: .30em .4em;
}

/* 5:完了: 緑 */
.badge-complete,
.progress-bar-complete {
  background-color: #468847;
}
/* 6:タイムアウト: 赤 */
.badge-timeout,
.progress-bar-timeout {
  background-color: #b94a48;
}

/* 9:異常終了: 赤 */
.badge-abnormal,
.progress-bar-abnormal {
  background-color: #b94a48;
}

/* *:解決済み: 灰色、ラベルでだけでなく文字色も灰色(=ミュートされた色)に。 */
/* *:再実行済み: 灰色、ラベルでだけでなく文字色も灰色(=ミュートされた色)に。 */
.badge-resolved,
.progress-bar-resolved {
  background-color: #777;
}
.text-resolved {
  color: #777;
}
.badge-reexecuted,
.progress-bar-reexecuted {
  background-color: #777;
}
.text-reexecuted {
  color: #777;
}

/* 3:中断: 黄色 */
.badge-suspending,
.progress-bar-suspending {
  background-color: #e8af04;
}
.text-suspending {
  color: #e8af04;
}

/* バッジ 横幅を固定 */
.badge-width70px {
	width: 70px;
}

/* ***************************************************************
 *
 * ツリービュー
 *
 *
 *
 * *************************************************************** */
/*
 Tree view on sidebar
 */
/* IE8 では nowrap が効かず、何回も階層を展開すると見にくくなってしまう現象あり */
.modal-sidebar .tree {
  white-space: nowrap;
}

.modal-sidebar .tree,
.modal-sidebar .tree ul.in,
.modal-sidebar .tree ul.in>li
{
  overflow: visible;
}

.modal-sidebar .tree ul.in.transitioning,
.modal-sidebar .tree ul.in.transitioning>li
{
  overflow: hidden;
}

/*
 * ツリービュー
 *
 */

/*
 ツリービューのインデント
*/
.tree,
.tree ul {
  overflow: hidden;
  margin-left: 0px;
  padding-left: 13px;
}

/*
 リストの基本的なスタイル設定
*/
.tree li {
  list-style-type:none;
  margin:0;
  position:relative;
}

/*
 トップノードがひとつの場合はインデントを戻します。
*/
.tree>li:first-child:last-child {
  margin-left: -13px;
}

/*
 ツリービューの線を描画します。
*/
.tree:not(div) li:before,
.tree:not(div) li:after {
    content:'';
    left:-7px;
    position:absolute;
    right:auto
}
.tree:not(div) li:before {
    border-left:1px solid #999;
    bottom:40px;
    height:100%;
    top:0px;
    width:1px
}
.tree:not(div) li:after {
    border-top:1px solid #999;
    height:1px;
    top:8px;
    width:5px
}
.tree:not(div) li:last-child:before {
  height:8px
}
.tree:not(div) > li:first-child:before {
  top:8px
}
.tree:not(div) > li:first-child:after {
  width:0px
}
.tree:not(div) li:first-child:last-child:before {
  height:0px
}

/*
 ツリーの各ノードのアイコンの設定です。
*/
.tree li > span:first-child {
  cursor: pointer;
}

/*
 リフレッシュなどで使用するアイコンの回転を設定します。
*/
.spin {
  -webkit-animation: spin 2s infinite linear;
     -moz-animation: spin 2s infinite linear;
      -ms-animation: spin 2s infinite linear;
       -o-animation: spin 2s infinite linear;
          animation: spin 2s infinite linear;
}

@-webkit-keyframes spin {
  0% {-webkit-transform: rotate(0deg);}
  100% {-webkit-transform: rotate(360deg);}
}
@-moz-keyframes spin {
  0% {-moz-transform: rotate(0deg);}
  100% {-moz-transform: rotate(360deg);}
}
@-ms-keyframes spin {
  0% {-ms-transform: rotate(0deg);}
  100% {-ms-transform: rotate(360deg);}
}
@-o-keyframes spin {
  0% {-o-transform: rotate(0deg);}
  100% {-o-transform: rotate(360deg);}
}
@keyframes spin {
  0% {transform: rotate(0deg);}
  100% {transform: rotate(360deg);}
}


/*
 ツリービューが枠内で横方向にはみ出す場合にスクロールバーを表示します。
 */
.card-tree {
  overflow: auto;
  white-space: nowrap;
  padding: 0.75rem;
}

.card-tree .tree,
.card-tree .tree ul.in,
.card-tree .tree ul.in>li
{
  overflow: visible;
}

.card-tree .tree ul.in.transitioning,
.card-tree .tree ul.in.transitioning>li
{
  overflow: hidden;
}

/*
li.active > a {
    background-color: rgb(0, 136, 204);
    color: rgb(255, 255, 255);
}
*/

/* ***************************************************************
 *
 * セル内分割用クラス
 *
 *
 * *************************************************************** */
.inner-table {
  display:table;
  table-layout: fixed;
  width:100%;
  padding-bottom: 0px;
  margin-bottom: 0px;
  border-bottom-width: 0px;
  border-top-width: 0px;
}
/*
セル内分割用クラスを使って右側にアイコン以外の幅のコンテンツを表示する場合は
(ラベル付きのチェックボックス表示など)
下記クラスの設定をしてください。
設定をしない場合は、セルから文字列などがはみ出してしまいます。

当CSSファイルでは、セル内の文字列などが適切に改行されるよう
デフォルトで「必要に応じて英単語の途中でも改行する」(word-wrap:break-word)となっています。
セル内分割用クラスでも適切に改行されるように
「列幅を先に計算して、その後にセル内コンテンツを配置する」(table-layout: fixed)が設定されています。
しかしその場合、ラベル付きチェックボックスなどセル内分割部分に配置する場合、
ラベル付きチェックボックスの列幅にセル幅を合わせたいため、
「table-layout: fixed」を使用することができません。
そのため、その場合は「inner-table」クラスに「inner-table-auto」を追加し、
「table-layout: auto」を設定するようにしてください。
例）社員管理 - 新規作成ダイアログ、変更ダイアログ
 */
.inner-table.inner-table-auto {
  table-layout: auto;
}
.inner-table.inner-table-auto .inner-cell-right{
  padding-right:5px;
}
.inner-cell-left{
  display:table-cell;
  padding-right:8px;
  border-right: solid 1px rgb(189, 181, 170);
  padding-bottom: 0px;
  margin-bottom: 0px;
  border-bottom-width: 0px;
  border-top-width: 0px;
  padding-top: 0px;
}

.inner-cell-right{
  display:table-cell;
  width: 14px;
  word-break:keep-all;
  white-space: nowrap;
  vertical-align:middle;
  height:0px;
  padding-left:4px;
  padding-right:4px;
  padding-bottom: 0px;
  margin-bottom: -1px;
  border-bottom-width: 0px;
  border-top-width: 0px;
  padding-top: 0px;
}
.inner-cell-left + .inner-cell-right {
  padding-left:7px;
}
.inner-cell-right-delete {
  width: 58px;
}
.inner-cell-right-input-manually {
  width: 88px;
}
.inner-cell-right input[type=checkbox] {
  padding-left: 0px;
  padding-right: 0px;
}

/* セル内にリンクが存在する場合は、セル全体をリンクの対象とする */
.inner-cell-left > a.btn-link,
td > a.btn-link {
  display: block;
  width:100%;
  height:100%;
  margin: 0 0 0 0;
  padding:0 0 0 0;
}

.inner-cell-right input[type=checkbox] {
  margin-bottom: 5px;
}

.inner-table-login{
  display:table;
  margin-top:10px;
  width:100%;
}
.inner-cell-login-left{
  display:table-cell;
  vertical-align:bottom;
}
.inner-cell-login-right{
  display:table-cell;
}
.link-password-reminder{
  position:relative;
  top:16px
}
label.inner-cell-right.muted {
  cursor: default;
}

/* ***************************************************************
 *
 * レスポンシブの無効化措置
 *
 *
 * *************************************************************** */
.form-inline .input-group {
    width: auto;
}
.form-inline .form-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 0;
}
.form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}
.form-inline .form-check {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: auto;
    padding-left: 0;
}
.form-inline label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 0;
}
.form-inline .form-check-input {
    position: relative;
    margin-top: 0;
    margin-right: .25rem;
    margin-left: 0;
    top: 1px;
}
/* ***************************************************************
 *
 * 紋章型(ホームベース型)
 *
 *
 * *************************************************************** */
/* Chevron base settings */
.chevron {
	position: relative;
}
.chevron .body {
	border-width: 1px;
	border-style: solid;
	z-index: 1;
}
.chevron .bottom {
	border-style: solid;
	border-color: transparent;
	border-top-style: solid;
	border-bottom: 0;
	display: block;
	position: absolute;
	left: 0;
	z-index: 2;
}
.chevron .bottom:before {
	border-style: solid;
	border-color: transparent;
	border-top-style: solid;
	border-bottom: 0;
	content: "";
	display: block;
	position: absolute;
	z-index: 1;
}

/*
Chevron sizes

* default:
	* width: 48px
	* height: 40px
	* bottom-height: 15px

*/
.chevron .body {
	width: 48px;
	min-height: 40px;
}
.chevron .bottom {
	border-width: 24px;
	border-top-width: 15px;
	bottom: -15px;
}
.chevron .bottom:before {
	border-width: 24px;
	border-top-width: 15px;
	bottom: 1px;
	left: -24px;
}

/* wide */
.chevron.chevron-wide .body{
	width: 200px;
	min-height: 0px;
	height: 0px;
}
.chevron.chevron-wide .bottom {
	border-width: 100px;
	border-top-width: 30px;
	bottom: -30px;
}
.chevron.chevron-wide .bottom:before {
	border-width: 100px;
	border-top-width: 30px;
	bottom: 1px;
	left: -100px;
}

/* Chevron colors */
.chevron.chevron-default .body {
	background-color: #f9f9f9;
	border-color: #ddd;
}
.chevron.chevron-default .bottom {
	border-top-color: #ddd;
}
.chevron.chevron-default .bottom:before {
	border-top-color: #f9f9f9;
}
.chevron.chevron-white .body {
	background-color: #ffffff;
	border-color: #ddd;
}
.chevron.chevron-white .bottom {
	border-top-color: #ddd;
}
.chevron.chevron-white .bottom:before {
	border-top-color: #ffffff;
}

/* ***************************************************************
 *
 * 承認経路
 *
 *
 * *************************************************************** */
.list-group-step-container {
	margin-bottom: 30px;
}
.list-group-step-container .list-group-item {
	padding-left: 63px;
}
.list-group-step-container .chevron {
	position: static;
}
.list-group-step-container .chevron .body {
	background-color: #f9f9f9;
	border: 0;
	border-right: 1px solid #ddd;
	position: absolute;
	top: 0px;
	bottom: -1px;
	left: 0px;
	width: 48px;
	z-index: 1;
}
.list-group-step-container .chevron .body .content {
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	height: 18px;
	width: 100%;
	text-align: center;
}
.list-group-step-container .chevron .bottom {
	border: 24px solid transparent;
	border-top: 10px solid #ddd;
	border-bottom: 0;
	display: block;
	position: absolute;
	bottom: -11px;
	left: 0;
	z-index: 2;
}
.list-group-step-container .chevron .bottom:before {
	border: 24px solid transparent;
	border-top: 10px solid #f9f9f9;
	border-bottom: 0;
	content: "";
	display: block;
	position: absolute;
	bottom: 1px;
	left: -24px;
	z-index: 1;
}
.list-group-step-container .list-group-item:first-child .chevron .body {
	border-top-left-radius: 3px;
}
.list-group-step-container .list-group-item:last-child {
	border-bottom-left-radius: 2px;
}
.list-group-step-container .list-group-item:last-child .chevron .body {
	border-bottom-left-radius: 3px;
}
.list-group-step-container > .list-group-item.not-passed {
	background-color: #f9f9f9;
	color: #777;
}
.list-group-step-container .list-group-item:last-child .chevron .body:last-child {
	border-bottom: 1px solid #ddd;
	min-height: 0;
	border-bottom-left-radius: 4px;
}

.list-group-step-container > .list-group-item.waiting,
.list-group-step-container > .list-group-item.approved,
.list-group-step-container > .list-group-item.rejected,
.list-group-step-container > .list-group-item.canceled,
.list-group-step-container > .list-group-item.passed {
	background-color: white;
}
.list-group-step-container .waiting .chevron .body,
.list-group-step-container .approved .chevron .body,
.list-group-step-container .rejected .chevron .body,
.list-group-step-container .canceled .chevron .body,
.list-group-step-container .passed .chevron .body {
	background-color: #ffffff;
}
.list-group-step-container .waiting .chevron .bottom:before,
.list-group-step-container .approved .chevron .bottom:before,
.list-group-step-container .rejected .chevron .bottom:before,
.list-group-step-container .canceled .chevron .bottom:before,
.list-group-step-container .passed .chevron .bottom:before {
	border-top-color: #ffffff;
}

.route-divider {
	width: 200px;
	display: block;
	margin-left : auto;
	margin-right : auto;
	margin-bottom: 50px;
	position: relative;
}

/* ***************************************************************
 *
 * 未整理
 *
 *
 * *************************************************************** */
/* リンクを無効にしたときは、アイコンの表示を薄くする */
a[disabled] > [class^="fas"],
a[disabled] > [class^="far"] {
	opacity: 0.5;
}
.icon-color-warning:before{
	color: #FF8000;
}
.fas-list:before{
	color: inherit;
}

label>select.form-control, label>input.form-control{
	width:auto;
	display:inline;
}
input.input-small{
	width: 90px;
}
textarea.mail-body-view-textarea {
	height: 300px;
}
textarea.mail-body-edit-textarea {
	height: 200px;
}


/* 枠 */
fieldset.setting-control-group-fieldset {
	border: 1px solid Silver;
	padding: 10px 20px 10px 20px;
	margin-bottom: 15px;
}

/* 枠の表示名 */
legend.setting-control-group-legend {
	width: auto;
	border: 0px;
	padding: 0px 10px 0px;
	margin: 0px 0px 0px -10px;
	font-size: 0.75rem;
	font-weight: bold;
}

/* ダイアログにあるテキストエリアの幅を他の項目に揃える */
.modal-body div > textarea {
	width: 100%;
	height: 150px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

blockquote {
	font-size: inherit;
}

/* コンボボックスを縦に並べた場合の上方マージン */
div.dropdown-in-vertical {
	margin-top: 6px;
}

.annotation-red {
	color: #a94442;
}

.annotation-red-bold {
	color: #a94442;
	font-weight: bold;
}

/* テキストの分の幅を空ける */
.phantom{
	visibility:hidden;
}

/* テーブル項目の視認性向上のためポイントしている行の背景色を変更する */
.table > tbody > tr:hover > td {
	background-color: #e9ecef;
}
.table > tbody > tr.bg-danger-light:hover > td,
.table > tbody > tr:hover > td.bg-danger-light {
	background-color: #f8d7da;
}
.bg-danger-light {
	background-color: #f8d7da;
}

/* 「すべて選択」などナビゲーションバーにテキストを最初に表示する場合、左マージンを削除しておく。 */
.navbar-default .navbar-text:first-child {
	margin-left: 0px;
}

.img-thumbnail {
	background-color: transparent;
}
.input-group-addon.input-group-addon-transparent {
	background-color: transparent;
	border: 1px solid transparent !important;
}

/* ***************************************************************
 *
 * ウィザード
 *
 *
 * *************************************************************** */
.wizard-step-title {
	margin-bottom: 30px;
	font-weight: bold;
}
.wizard-paragraph {
	margin-bottom: 30px;
}


/* ***************************************************************
 *
 * カード
 *
 *
 * *************************************************************** */
.card {
	display: block;
	border: solid 1px #ddd;
	position: relative;
	border-radius: 4px;
	box-shadow: 1px 1px 5px rgba(126, 142, 159, 0.05);
}
.card:before,
.card:after {
	display: table;
	content: " ";
}
.card:after {
	clear: both;
}
.card-heading {
	margin-bottom: 15px;
}
.card-title {
	margin-bottom: 0px;
	margin-top: 0px;
	padding-bottom: 0;
	font-size: 1.25rem;
	font-weight: 600;
}
.card-description {
	margin: 0;
	font-size: 0.75rem;
	font-weight: normal;
	color: #7e8e9f;
}

/* ***************************************************************
 *
 * スタッツ
 *
 *
 * *************************************************************** */
.stat {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: middle;
	position: relative;
	margin-bottom: 5px;
}
.stat:last-child {
	margin-bottom: 0px;
}
.stat-value {
	font-size: 1.2rem;
	line-height: 1.2rem;
	font-weight: 500;
}
.stat-unit {
	font-size: 75%;
}
.stat-main .stat-value {
	font-size: 1.5rem;
	line-height: 1.5rem;
	font-weight: 500;
}
.stat-name {
	font-size: 0.85rem;
	line-height: 0.85rem;
}
.stat-commands {
	float: right;
	font-size: 0.8rem;
	line-height: 0.8rem;
}
.stat-main .stat-progress {
	display: block;
	height: 2px;
	margin: 5px 0;
}
.stat-progress {
	display: block;
	height: 1.5px;
	margin: 4px 0;
}
.stat-progress .progress-bar {
	background-color: #0094DA;
}
.stat-icon {
	float: left;
	height: 100%;
	width: 4rem;
}
.stat-icon .far,
.stat-icon .fas {
	font-size: 4rem;
}

/* ***************************************************************
 *
 * 段組み
 *
 *
 * *************************************************************** */
.column-2 {
	-webkit-column-count: 2;
	   -moz-column-count: 2;
	        column-count: 2;
}

/*
現状、ラベルのあるブロックを段組み表示すると段替え時の一番上にラベルの底部分が表示されることがある。
その為、表示されない程度にラベル底部分を削っておく。
 */
.column-2 .label {
	padding-bottom: .2em
}


/*
段組み内でのチェックボックスにおける
ブラウザ間の表示差異の吸収措置
*/
.column-2 li label.checkbox-condensed input[type="checkbox"] {
	width: 13px;
	height: 13px;
	padding: 0;
	margin: 0;
	vertical-align: bottom;
	position: relative;
	top:  -2px;
	*overflow: hidden;
}

/* ***************************************************************
 *
 * 折り畳みの調整
 *
 *
 * *************************************************************** */
.collapse > *:last-child,
.collapsing > *:last-child {
	margin-bottom: 0;
}
.collapse-title {
	margin-bottom: 0;
}
.collapse-title + .collapse > *:first-child,
.collapse-title + .collapsing > *:first-child {
	margin-top: 10px;
}


/* ***************************************************************
 *
 * エラー情報
 *
 *
 * *************************************************************** */
.error-info-object {
}
.error-info-object .error {
	display: flex;
	-webkit-flex-direction: row;
	    -ms-flex-direction: row;
	        flex-direction: row;
}
.error-info-object .error .error-code {
	display: block;
	min-width: 140px;
}
.error-info-object .error .error-code:not(code) {
	font-weight: bold;
}
.error-info-object .error .error-message {
	display: block;
}
.error-info-object .additional-message {
	display: block;
	margin-left: 40px;
}

li .error-info-object {
	margin-left: 20px;
}


/* ***************************************************************
 *
 * テーブルセル内のチェックボックス
 *
 * ↓ こんな感じで書きます。
 *
 * <td class="checkbox">
 * 	<label>
 * 		<input type="checkbox" />
 * 	</label>
 * </td>
 *
 * チェックボックスをカスタマイズしたい場合はこう
 *
 * <td class="checkbox checkbox-custom">
 * 	<label>
 * 		<input type="checkbox" />
 * 		<i class="far fa-square"></i>
 * 		<i class="fa fa-check-square checked"></i>
 * 	</label>
 * </td>
 * *************************************************************** */
td.checkbox {
	padding: 0!important;
	position: relative;
}
td.checkbox > label {
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
	padding: 59% calc(50% - 7px);
	position: absolute;
	top: 0;
	bottom: 0;
	display: -ms-flexbox;
	display: flex;
	justify-content: center;
	align-items: center;
}
td.checkbox > label > input {
	margin-left: 1px;
	margin-top: 1px;
}
td.checkbox-custom > label > input {
	display: none;
}
td.checkbox-custom > label > input:not(:checked) ~ :not(.checked) {
	display: block;
}
td.checkbox-custom > label > input:not(:checked) ~ .checked {
	display: none;
}
td.checkbox-custom > label > input:checked ~ :not(.checked) {
	display: none;
}
td.checkbox-custom > label > input:checked ~ .checked {
	display: block;
}
td.checkbox-custom * {
	color: var(--gray);
	font-size: 1.25rem;
}

/* ***************************************************************
 *
 * checkbox/radioがdisableの場合に、ラベルの表示を薄いグレーにする
 *
 * *************************************************************** */
input[type="checkbox"]:disabled + span,
input[type="radio"]:disabled + span {
	color: #c0c0c0;
}

/* ***************************************************************
 *
 * トグルスイッチ
 *
 * <label class="switch">
 * 　<input type="checkbox">
 * 　<span class="slider"></span>
 * </label>
 * *************************************************************** */
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 23px;
  margin: 0;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #343A40;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 4px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #007BFF;
}

input:focus + .slider {
  box-shadow: 0 0 1px #007BFF;
}

input:disabled + .slider {
  background-color: gray;
  cursor: default;
}

input:checked + .slider:before {
  -webkit-transform: translateX(18px);
  -ms-transform: translateX(18px);
  transform: translateX(18px);
}

/* ***************************************************************
 *
 * アコーディオンメニュー(右端にアイコンあり。)
 * ベースはbootstrap4で、アイコンの向きの変更と色の指定を行う
 * アイコンは閉じているとき右向き(>)。開いたとき下向き(>を90度回す)
 *
<div class="accordion accordion_menu">
  <table class="table table-bordered table-form ">
    <tbody>
      <tr class="form-group">
        <th data-toggle="collapse" data-target="#detail" aria-expanded="false" aria-controls="detail">
          <i class="fas fa-fw float-right help fa-angle-right"> </i>
          メニュー名
        </th>
      </tr>
    </tbody>
  </table>
  <div id="detail" class="collapse" >
    <div class="accordion_body">
      アコーディオン本体
    </div>
  </div>
</div>
* *************************************************************** */
.accordion_menu {
  border-right: 1px solid rgb(206, 212, 218);
  border-left: 1px solid rgb(206, 212, 218);
}
.accordion_menu th {
  cursor: pointer;
}
.accordion_menu th[aria-expanded=true] i {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}
.accordion_menu th:hover {
  background-color: #CED3D9;
}
.accordion_body {
  border-bottom:1px solid #ced4da;
  padding-left:14px;
  padding-right:14px;
  margin-bottom:5px;  
}

/* ***************************************************************
タグ
* *************************************************************** */
.tag {
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 100%;
    line-height: 1;
    vertical-align: baseline;
    border-radius: 0.25rem;
    background-color: #17a2b8;
    color: #fff;
    margin-right: 5px;
    margin-bottom: 3px;
    white-space: pre-wrap !important;
}

.tag_field {
    margin: 2px;
    padding: 4px;
    border: 1px solid #ced4da;
    background-color: #fff;
    display: flex;
    align-items: center;
    border-radius: .25rem;
    overflow-x: auto;
    flex-wrap: wrap;
    width: 100%;
}
.tag_field input[type="text"] {
  border: 0;
  flex-grow: 1;
  width: auto;
}
.tag_field .tag {
    white-space: nowrap;
}
.tag a{
  margin-right: 2px;
}

/* ***************************************************************
言語表記を分けるようのアコーディオン
* *************************************************************** */
.lang-setting-card {
  background: #FFFFFF 0% 0% no-repeat padding-box;
  border: 1px solid #c7ced5;
  opacity: 1;
}
.lang-setting-card-inactive {
  background: #e9ecef 0% 0% no-repeat padding-box;
  border: 1px solid #c7ced5;
  opacity: 0.6;
}
.lang-setting-card-header {
  font-weight: bold;
  padding: 1rem;
}
.lang-setting-a-inactive {
  color: #000;
}

/***************************************
faviconの表示
****************************************/
.favicon-view {
	width: 48px;
}

/***************************************
jquery-suggest
****************************************/
.suggest-readonly {
  background-color: #fff !important;
  opacity:inherit;
}