@CHARSET "UTF-8";

#sbc2-calendar-wrapper {
	clear: both;
	margin-top: 30px;
	overflow: inherit !important;
}

#sbc2-calendar-wrapper,
#sbc2-calendar-wrapper * {
	-webkit-box-sizing: content-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: content-box;    /* Firefox, other Gecko */
	box-sizing: content-box; 
}


#sbc2-calendar table {
	border-collapse: collapse;
	width: 100%;
}


#sbc2-calendar {
	margin: 0 0 25px;
}
#sbc2-calendar thead th,
#sbc2-calendar tbody td {
	box-sizing: border-box;
	border: solid 1px #ddd;
	padding: 2px;
}
#sbc2-calendar tbody td {
	background-color: #fff;
}
#sbc2-calendar tbody td:first-child {
	background-color: #FDEDE8;
}
#sbc2-calendar tbody td:last-child {
	background-color: #EAF5F7;
}


#sbc2-calendar-wrapper #sbc2-calendar table thead th {
	width: 14.285%;
	background-color: #ececec;
	vertical-align: middle;
	text-align: center;
	text-transform: uppercase;
	color: #333;
	font-size: 13px;
}
#sbc2-calendar tbody td {
	position: relative;
	height: 95px;
	vertical-align: top;
}

#sbc2-calendar td.sbc2-today {
	background-color: #ffffe0;
}

#sbc2-calendar td .day {
	margin-bottom: 5px;
	margin-right: 3px;
	text-align: right;
	color: #333;
	font-size: 13px;
}

#sbc2-calendar td .status {
	margin: 0 3px;
	border-radius: 2px;
	text-align: center;
	color: #fff;
	font-size: 13px;
	font-weight: bold;
}
#sbc2-calendar td .status a {
	display: block;
	color: #fff;
	text-decoration: none;
}

#sbc2-calendar td.sbc2-status-free .status {
	background-color: #adc600;
}

#sbc2-calendar td.sbc2-status-booked .status {
	background-color: #f8b500;
}

#sbc2-calendar td.sbc2-status-changeover .status {
	background-color: #e83929;
	cursor: pointer;
}

#sbc2-calendar td.sbc2-status-closed .status {
	background-color: #ed7e72;
}

#sbc2-calendar td.sbc2-status-finished .status {
	background-color: #385088;
}

#sbc2-calendar td.sbc2-status-canceled .status {
	background-color: #bdbdbd;
}

#sbc2-calendar td.sbc2-status-free .status,
#sbc2-calendar td.sbc2-status-booked .status,
#sbc2-calendar td.sbc2-status-changeover .status {
	transition: opacity 0.2s linear;
}
#sbc2-calendar td.sbc2-status-free .status:hover,
#sbc2-calendar td.sbc2-status-booked .status:hover,
#sbc2-calendar td.sbc2-status-changeover .status:hover {
	opacity: 0.7;
}

#sbc2-calendar td .text {
	padding: 6px 2px 4px;
	color: #333;
	font-size: 13px;
	font-weight: 500;
	text-align: center;
	line-height: 120%;
}

/* キャンセル待ちボタン */
#sbc2-calendar .waiting {
	box-sizing: border-box;
	display: none;
	position: absolute;
	left: -87px;
	width: 270px;
	margin-top: 10px;
	padding: 15px;
	background-color: #e83929;
	border-radius: 3px;
	text-align: center;
	z-index: 1000;
}
#sbc2-calendar .waiting .waiting-title {
	padding-bottom: 6px;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	line-height: 160%;
}
#sbc2-calendar .waiting p {
	margin-bottom: 12px;
	color: #fff;
	font-size: 14px;
	line-height: 180%;
}
#sbc2-calendar .waiting p br {
	display: inherit !important;
}
#sbc2-calendar .waiting .waiting-form-button {}
#sbc2-calendar .waiting .waiting-form-button a {
	display: block;
	border: solid 1px #fff;
	padding: 10px;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	line-height: 140%;
	transition: opacity 0.2s;
	opacity: 1;
}
#sbc2-calendar .waiting .waiting-form-button a:hover {
	opacity: 0.6;
	text-decoration: none;
}
#sbc2-calendar .waiting .waiting-back-button {
	position: absolute;
	right: 10px;
	top: 10px;
	color: #fff;
	font-size: 22px;
	font-weight: bold;
	cursor: pointer;
}


#sbc2-calendar .sbc2-navigation {
	padding-bottom: 15px;
	text-align: center;
}

#sbc2-calendar .sbc2-navigation select {
	margin: 0 3px;
	padding: 5px;
	font-size: 16px;
}

#sbc2-calendar form {
	margin: 0;
}

#sbc2-calendar .sbc2-loader {
	background-color: #ffc0bd;
	margin: 2px 0;
	text-align: center;
	visibility: hidden;
	color: #333;
	font-size: 13px;
	font-weight: bold;
}

#sbc2-calendar .sbc2-loader-visible {
	visibility: visible;
}
#sbc2-calendar table tfoot td {
	padding-top: 2px;
	text-align: center;
}


/* 管理画面 */
#edit-calendar #sbc2-calendar {
	float: none;
	width: auto;
	min-width: 450px;
	max-width: 600px;
}
#edit-calendar #sbc2-calendar table thead th {
	width: 14.285%;
}
#edit-calendar #sbc2-calendar table tbody td {
	height: 80px;
}

#sbc2-editor {
	box-sizing: border-box;
	float: none;
	width: auto;
	max-width: 600px;
	margin-left: 0;
	margin-top: 50px;
	padding: 5px;
	background-color:#ffffff;
	border: 1px solid #ccc;
}

#sbc2-editor td.sbc2-editor-day {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	text-align: center;
	width: 25px;
}
#sbc2-editor td {
	color: #fff;
}

#sbc2-editor td.sbc2-editor-status select {
	display: inline-block;
	width: 120px;
	height:auto !important;
	vertical-align: top;
}

#sbc2-editor td.sbc2-status-free {
	background-color: #adc600;
}

#sbc2-editor td.sbc2-status-booked {
	background-color: #f8b500;
}

#sbc2-editor td.sbc2-status-changeover {
	background-color: #e83929;
}

#sbc2-editor td.sbc2-status-closed {
	background-color: #ed7e72;
}

#sbc2-editor td.sbc2-status-finished {
	background-color: #385088;
}

#sbc2-editor td.sbc2-status-canceled {
	background-color: #bdbdbd;
}

#sbc2-editor td.sbc2-editor-status input {
	display: inline-block;
	width: 400px;
	vertical-align: top;
}

#sbc2-editor .waiting {
	display: none;
}

.widget-sbc2 #sbc2-calendar {
	float: none;
	margin: 0 0 10px 0;
}

.alignRight {
	text-align: right !important;
}

span.powered-by {
	width: 92px;
	text-align: center;
	padding-top: 3px;
	clear: both;
}
div#sbc2-calendar-wrapper p {
	padding:0 !important;
}
div#sbc2-calendar-wrapper br {
	display:none !important;
}



@media (max-width: 768px) {
	#sbc2-calendar tbody td {
		position: inherit;
	}

	/* キャンセル待ちボタン */
	#sbc2-calendar .waiting {
		left: 50%;
		width: 240px;
		margin-top: 10px;
		margin-left: -120px;
		padding: 13px;
	}
	#sbc2-calendar .waiting .waiting-title {
		padding-bottom: 4px;
		font-size: 15px;
	}
	#sbc2-calendar .waiting p {
		margin-bottom: 10px;
		font-size: 13px;
	}
	#sbc2-calendar .waiting .waiting-form-button {}
	#sbc2-calendar .waiting .waiting-form-button a {
		padding: 8px;
		font-size: 13px;
	}
	#sbc2-calendar .waiting .waiting-back-button {
		padding: 5px;
	}

}