/*
 * ------------------------------------------------------------------ generic ----------
 */
.text-ellipsis {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/*
 * --------------------------------------------------------------------- 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;
}

/*
 * ------------------------------------------------------------------- Button ----------
 */
.btn.btn-line {
	color: #fff;
	background-color: #00B900;
	border-color: #00B900;
}
@media (max-width: 575px) {
	.btn {
		display: block;
		width: 100%;
		margin-bottom: .5rem;
		padding: .5rem 1rem;
	}
}

/*
 * -------------------------------------------------------------------- Badge ----------
 */
.badge.badge-outline-primary {
	color: #4638c2;
	border: #4638c2 1px solid;
	background-color: transparent;
}
.badge.badge-outline-secondary {
	color: #4c4f54;
	border: #4c4f54 1px solid;
	background-color: transparent;
}
.badge.badge-outline-success {
	color: #45a164;
	border: #45a164 1px solid;
	background-color: transparent;
}
.badge.badge-outline-danger {
	color: #d16767;
	border: #d16767 1px solid;
	background-color: transparent;
}
.badge.badge-outline-warning {
	color: #e1a82d;
	border: #e1a82d 1px solid;
	background-color: transparent;
}
.badge.badge-outline-info {
	color: #4799eb;
	border: #4799eb 1px solid;
	background-color: transparent;
}

/*
 * -------------------------------------------------------------------- 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 {
	font-size: 1rem;
}
.card-header-actions a + a {
	padding-left: .5rem;
}
.card-filter {
	padding: 1.25rem;
	background-color: #f4f4f4;
	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;
}
.upload .multiple-fileinfo-area {
	margin-bottom: .75em;
}
.upload .multiple-fileinfo-area .file {
	cursor: pointer;
	transition: 0.3s all linear;
}
.upload .multiple-fileinfo-area .file: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 .multiple-fileinfo-area .file:hover {
	text-decoration: underline;
}
.upload .multiple-fileinfo-area .file:hover:after {
	opacity: .9;
}
.upload .multiple-fileinfo-area .filetype {
	color: #999;
	font-size: .75em;
	font-style: italic;
	margin-bottom: .75em;
	padding-left: .75em;
}

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

/*
 * ----------------------------------------------------------------- Timeline ----------
 */
.cd-timeline {
	font-family: inherit;
	margin: -30px -30px 0 -30px;
	background-color: inherit;
}
.cd-timeline h2 {
	font-size: 1.1rem;
}
.cd-timeline__container::before {
	background-color: rgba(0, 0, 0, 0.1);
	left: 33px;
}
@media (min-width: 64rem) {
	.cd-timeline__container::before {
		left: 50%;
	}
}
.cd-timeline .paginator {
	margin-bottom: -30px;
}

/*
 * ----------------------------------------------------------------- Calendar ----------
 */
.card-calendar {
	border-width: 1px 0 0 0;
	border-style: solid;
	border-color: rgba(0, 0, 0, .1);
}
.card-calendar .calendar-header .label {
	width: 14.285714%;
	text-align: center;
	font-size: 0.5rem;
	font-weight: bold;
	padding: .2rem 0;
	background-color: #f3f4f5;
	border-width: 0 1px 1px 0;
	border-color: rgba(0, 0, 0, .1);
	border-style: solid;
}
@media (min-width: 768px) {
	.card-calendar .calendar-header .label {
		font-size: .8rem;
	}
}
.card-calendar .calendar-header .label:last-child {
	border-right-width: 0;
}
.card-calendar .calendar-body .cell {
	width: 14.285714%;
	display: block;
	height: 4.5rem;
	border-width: 0 1px 1px 0;
	border-color: rgba(0, 0, 0, .1);
	border-style: solid;
	text-align: center;
	overflow: hidden;
}
.card-calendar .calendar-body .cell.disabled {
	background-color: rgba(0, 0, 0, .04);
}
.card-calendar .calendar-body .text-muted {
	color: rgba(0, 0, 0, .3) !important;
}
.card-calendar .calendar-body .cell:last-child {
	border-right-width: 0;
}
.card-calendar .calendar-body .cell:hover,
.card-calendar .calendar-body .cell:focus {
	text-decoration: none;
}
.card-calendar .calendar-body .cell span {
	font-size: 0.5rem;
	overflow: hidden;
	white-space: nowrap;
}
@media (min-width: 768px) {
	.card-calendar .calendar-body .cell {
		height: 6rem;
	}
	.card-calendar .calendar-body .cell span {
		margin-top: .2rem;
		font-size: 0.8rem;
	}
}
.card-calendar .calendar-body .cell span.notification {
	width: 125%;
	-webkit-transform: translateX(-10%) scale(0.75);
	-moz-transform: translateX(-10%) scale(0.75);
	-ms-transform: translateX(-10%) scale(0.75);
	-o-transform: translateX(-10%) scale(0.75);
	transform: translateX(-10%) scale(0.75);
}
