koy-layout-header {
	align-items: center;
	background-color: #7ebeab;
	color: #e0f2f1;
	display: flex;
	vertical-align: bottom;
}

koy-layout-header a {
	color: #fff;
}

koy-layout-header h1 {
	flex-grow: 1;
}

#menu {
	border-right: 1px solid #E8F5E9;
	font-size: 1.1rem;
	width: 13em;
}

#menu .material-icons {
	margin-right: 0.5em;
	padding-bottom: 0.1em;
}

#menu footer {
	font-size: 0.8em;
	margin-top: 2rem;
	text-align: center;
}

body > koy-layout > article {
	opacity: 0;
}

fieldset.work-detail fieldset {
	margin-top: 0.5em;
}

.show-admin, .show-manager, .operator-show {
	display: none !important;
}

.role-admin .show-admin {
	display: block !important;
}

.role-manager .show-manager {
	display: block !important;
}

.role-operator .operator-show {
	display: block !important;
}

.role-manager .hide-manager {
	display: none !important;
}

.role-operator .operator-hide {
	display: none !important;
}

.cannot-delete .koy-manager-delete {
	display: none !important;
}

td.number {
	text-align: right;
}

.outside-link {
	color: #0288d1 !important;
	cursor: pointer;
	text-decoration: underline;
}

koy-dialog-content {
	width: auto !important;
	max-width: 95%;
	min-width: 480px;
}

@media ( max-width : 480px) {
	koy-dialog-content {
		width: auto !important;
		max-width: 100% !important;
		min-width: auto;
	}
}

.work-form, .invoice-form {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

.work-form .koy-input, .work-form koy-group, .invoice-form .koy-input, .invoice-form koy-group {
	box-sizing: border-box;
	width: 50%;
}

.work-form td .koy-input, .invoice-form td .koy-input {
	width: auto;
}

.work-form .koy-input.form-short, .invoice-form .koy-input.form-short {
	box-sizing: border-box;
	width: 25%;
}

.work-form .koy-input.form-long, .invoice-form .koy-input.form-long {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 100%;
}

.work-form .koy-form-group, .invoice-form .koy-form-group {
	box-sizing: border-box;
	width: 100%;
	min-width: 100%;
	max-width: 100%;
}

.work-form .koy-form-group > div, .invoice-form .koy-form-group > div {
	display: flex;
	flex-wrap: wrap;
}

.work-form .koy-form-group koy-checkbox, .invoice-form .koy-form-group koy-checkbox {
	align-items: center;
	display: flex;
	width: 10rem;
}

.work-form .koy-input-label, .invoice-form .koy-input-label {
	width: 10em;
}

.work-form .koy-form-group .koy-input-label, .invoice-form .koy-form-group .koy-input-label {
	white-space: nowrap;
}

.work-buttons {
	text-align: right;
	width: 100%;
}

.work-form .input-hide, .invoice-form .input-hide {
	display: none !important;
}

.input-prepend {
	display: inline-block;
	font-size: 1.2em;
	margin-left: -1.5em;
	margin-right: 0.5em;
	position: relative;
	top: 0.6em;
}

#reservation-notification, #alcohol_check-notification, #gncs-notification {
	animation: notification 0.5s ease-in-out infinite alternate;
	font-size: 1.5em;
}

.customer-name-column::after {
	content: ' 様';
}

#number-images, #seat-images, #status-images, #work-images {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
}

#number-images a, #seat-images a, #status-images a, #work-images a {
	position: relative;
	margin-right: 1rem;
	margin-bottom: 1rem;
}

#number-image-input, #seat-image-input, #status-image-input, #work-image-input {
	margin-left: 0.5rem;
	position: relative;
	height: 2rem;
	vertical-align: middle;
	width: 2rem;
}

#number-image-input::before, #seat-image-input::before, #status-image-input::before, #work-image-input::before {
	background-color: #fff;
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

#number-image-input::after, #seat-image-input::after, #status-image-input::after, #work-image-input::after {
	background-color: #0288d1;
	border-radius: 50%;
	color: #fff;
	content: '＋';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	line-height: 2rem;
	text-align: center;
}

button.image-delete-button {
	background-color: #999999;
	border-radius: 50%;
	border-width: 0;
	color: #fff;
	line-height: 2rem;
	position: absolute;
	top: 0;
	right: 0;
	text-align: center;
	width: 2.1rem;
}

.contact-target-all {
	margin: 0 0.5rem 0.5rem 0.5rem;
}

.contact-target-all >label {
	font-weight: bold;
}

.contact-target {
	display: flex;
	flex-wrap: wrap;
}

.contact-target > div {
	margin: 0 0.5rem 0.5rem 0.5rem;
}

.contact-target > div > label {
	margin-left: 0.1rem;
}

.read-workers > p {
	display:inline-block;
}

.koy-button>.koy-button-inner>.material-icons {
    padding: 0;
}

@media ( max-width : 1200px) {
	.work-form .koy-input.form-short {
		width: 50%;
	}
}

@media ( max-width : 800px) {
	h1 {
		padding-left: 0.5rem;
	}
	.work-form .koy-input, .work-form koy-group {
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
		min-width: 100%;
	}
	.work-form .koy-input.form-short {
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
		min-width: 100%;
	}
	.input-prepend {
		top: 1.6em;
	}
}

@keyframes notification { 
	0% {
		color: #D32F2F;
	}
	100% {
		color: #FBC02D;
	}
}