/*
 * --------------------------------------------------------------------- Form ----------
 */
.invalid-feedback {
	display: block;
}
.form-group > label {
	font-weight: bold;
}
.form-group.radio > label {
	display: block;
}
.form-group.radio .form-check.form-check-inline {
	padding: .375rem 0;
}
.form-group.radio .form-check label {
	cursor: pointer;
}
.form-group.required > label:after {
	font-family: "Font Awesome 5 Free";
	display: inline-block;
	content: '\f005  必須';
	font-size: 70%;
	font-weight: bold;
	vertical-align: super;
	color: #f86c6b;
	margin-left: .2rem;
}
	
.form-group.error input,
.form-group.error select,
.form-group.error textarea,
.form-group.error .input-group-append .input-group-text {
	border-color: #f86c6b;
}
.form-group > label + .help {
	font-size: 80%;
	font-weight: bold;
	color: #63c2de;
}
.form-group > label + .help:before {
	font-family: "Font Awesome 5 Free";
	content: '\f059';
	margin: 0 .2rem;
}

/*
 * ------------------------------------------------------------------ Snippet ----------
 */
.snippet-help-block {
	margin-bottom: 1em;
}
.snippet-help-block label {
	font-weight: bold;
	display: block;
}
.snippet-help-block .snippet-list {
	display: block;
}
.snippet-help-block .snippet-list:hover {
	text-decoration: none;
}
.highlight.match {
	background-color: rgba(99, 194, 222, 0.5);
	border-radius: 3px;
}
.background-div.form-control {
	white-space: pre;
}
.textarea-highlighter-wrap {
	width: 100%;
}

/*
 * -------------------------------------------------------------------- Table ----------
 */
.table thead .sorting a {
	display: block;
	position: relative;
}
.table thead .sorting a:after {
	font-family: "Font Awesome 5 Free";
	display: inline-block;
	float: right;
	opacity: .5;
	right: 0;
	content: '\f0dc';
}
.table thead .sorting a.asc:after {
	content: '\f0de';
	opacity: .8;
}
.table thead .sorting a.desc:after {
	content: '\f0dd';
	opacity: .8;
}
.table tbody tr[data-href] {
	cursor: pointer;
}

/*
 * --------------------------------------------------------------------- Card ----------
 */
.card-header-actions a + a {
	padding-left: .5rem;
}
.card-filter {
	padding: 1.25rem;
	background-color: rgba(255, 255, 255, .1);
	margin-bottom: 1.25rem;
	border-radius: .5rem;
}
.filtering:after {
	content: 'あり';
	color: #fff;
	background-color: #f86c6b;
	border-radius: 1em;
	padding: .25em .4em;
	font-size: 75%;
}
.card-body + .card-body {
	border-top: 1px solid #c8ced3;
}

/*
 * --------------------------------------------------------------------- View ----------
 */
.dl-horizontal dd {
	min-height: 1.4rem;
}

@media (min-width: 768px) {
	.dl-horizontal dt {
		float: left;
		width: 160px;
		overflow: hidden;
		clear: left;
		text-align: right;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}
@media (min-width: 768px) {
	.dl-horizontal dd {
		margin-left: 180px;
	}
}

/*
 * ------------------------------------------------------------------- Upload ----------
 */
.upload .drop-area {
	border: 2px dashed #e4e4e4;
	padding: 20px 10px;
	border-radius: 6px;
	background-color: #f4f4f4;
	text-align: center;
	color: #666;
	line-height: 2em;
}
.upload .drop-area.focus {
	border-color: #009dcd;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
.upload .fileinfo-area {
	cursor: pointer;
	transition: 0.3s all linear;
}
.upload .fileinfo-area:hover {
	color: #f86c6b !important;
	opacity: .9;
}
.upload .fileinfo-area .filename:after {
	font-family: "Font Awesome 5 Free";
	display: inline-block;
	content: '\f05e  削除';
	font-size: 70%;
	font-weight: bold;
	color: #f86c6b;
	margin-left: .2rem;
	opacity: 0;
	transition: 0.3s all linear;
}
.upload .fileinfo-area:hover .filename:after {
	opacity: .9;
}
.upload .fileinfo-area .filetype {
	color: #999;
	font-size: .75em;
	font-style: italic;
	margin-bottom: .75em;
}

/*
 * ---------------------------------------------------------------- Thumbnail ----------
 */
.thumbnail {
	border-radius: .5em;
	margin-bottom: .5em;
}
