/* shortcode: show_therapist_schedule */
.tm-schedule-wrapper {
	width: 70%;
	margin: 0px auto;
}

.post_content .tm-schedule {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	height: 350px;
	padding-left: 0px;
	overflow-y: scroll;
	font-size: 1.0rem;
	margin: 0px auto;
}

/* list */
.tm-schedule li {
	list-style-type: none;
	margin: 0px;
}

/* list date */
.tm-date {
    width: 50%;
    height: 50px;
    line-height: 25px;
    outline: 1px solid rgb(125, 126, 122);
    padding: 15px 10px;
    text-align: center;
    background-color: rgb(203, 204, 201);
}

/* list time */
.tm-time {
    width: 50%;
    height: 50px;
    outline: 1px solid rgb(125, 126, 122);
    padding: 15px 10px;
    line-height: 25px;
    text-align: center;
    background-color: rgb(228, 228, 228);
}

/* shortcode reservable therapist */
.tm-reservable-wrapper {
	width: 790px;
	height: 475px;
	display: flex;
	flex-wrap: wrap;
	margin: 0 auto;
	overflow-y: scroll;
}

.tm-item {
	width: 18.5%;
	box-sizing: content-box;
	margin: 0px 5px 10px 5px;
}

.tm-image {
	width: 100%;
	height: 209px;
	vertical-align: top;
}

.therapist-image {
    width: 350px !important;
    height: 450px !important;
}

.tm-item p {
	text-align: center;
}

.tm-reservable-name {
    font-size: 15px;
	margin-top: 7px;
}

.tm-reservable-comment {
    font-size: 13px;
    margin-top: 0px;
}

.tm-reservable-time {
    margin-top: 5px;
}

.tm-item {
	position: relative;
}

.tm-item::after {
	content: '';
	background-color: rgba(255,255,255,0.8);
	position: absolute;
	left: 0;
	right: 0;
	top: 150px;
	bottom: 266px;
    height: 60px;
}

.tm-reservable-name {
	position: absolute;
	width: 100%;
	top: 150px;
	left: 0px;	
	z-index: 500;
}

.tm-reservable-comment {
	position: absolute;
	width: 100%;
	top: 180px;
	left: 0px;	
	z-index: 500;
}

@media (min-width: 481px) and (max-width: 767px) {
	.tm-schedule-wrapper {
		width: 80%;
	}

	.tm-item {
		width: 33%;
		box-sizing: content-box;
		margin: 0px 5px 10px 5px;
	}

	.tm-wrapper {
		flex-wrap: wrap;
	}

	.tm-item {
		width: 33%;
	}

	.tm-image {
		width: 150px !important;
		height: 200px !important;
	}

	/* reservable short code style */
	.tm-reservable-wrapper {
		width: 470px;
		height: 475px;
		display: flex;
		flex-wrap: wrap;
		margin: 0 auto;
		overflow-y: scroll;
	}
	
	.tm-item {
		width: 30%;
		box-sizing: content-box;
		margin: 0px 5px 10px 5px;
	}
}

@media (min-width: 0px) and (max-width: 480px) {
	.tm-schedule-wrapper {
		width: 90%;
	}

	.tm-wrapper {
		flex-wrap: wrap;
	}

	.tm-item {
		width: 33%;
	}

	.tm-image {
		width: 150px !important;
		height: 200px !important;
	}

	/* reservable short code style */
	.tm-reservable-wrapper {
		width: 310px;
		height: 475px;
		display: flex;
		flex-wrap: wrap;
		margin: 0 auto;
		overflow-y: scroll;
	}
	
	.tm-item {
		width: 46%;
		box-sizing: content-box;
		margin: 0px 5px 10px 5px;
	}
}


