/* default */
.flex {
	display: flex;
}
.flex-column {
	flex-flow: column;
}
.justify-start {
	justify-content: flex-start;
}
.justify-center {
	justify-content: center;
}
.align-start {
	align-items: flex-start;
}
.align-center {
	align-items: center;
}
.decoration-none a {
	text-decoration: none;
}
.ellipsis {
	display: inline-block;
	white-space: normal;
	overflow: hidden;
	text-overflow: ellipsis;
}
.text-center {
	text-align: center;
}

/* font */
.schedule,
.roboto {
	font-family: "Roboto Condensed";
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
}
.roboto {
	line-height: 1.4;
}
.schedule-item td > div {
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.schedule-item .name {
	position: relative;
	display: inline-block;
	font-weight: 600;
}
.schedule-item .teacher a {
	font-family: "Roboto Condensed";
}
.schedule-item .time {
	font-size: 14px;
	font-weight: 400;
}
.schedule-item .days {
	text-transform: lowercase;
}

.schedule-group.no-filter {
	margin-top: 0;
}

/* filter */
.schedule-filter input {
	display: none;
}
.schedule-filter label {
	position: relative;
	display: inline-block;
	vertical-align: middle;
}
.schedule-filter-title {
	position: relative;
	margin-bottom: 10px;
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
}
.schedule-filter label span {
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 16px;
	border: 2px solid #8caf13;
	margin-right: 7px;
	border-radius: 1rem;
	display: inline-block;
	line-height: 2em;
	padding: 0 1em;
	cursor: pointer;
}
.schedule-filter label span:hover {
	background-color: #8caf13;
	color: #ffffff;
}
.schedule-filter label input:checked ~span {
	background-color: #8caf13;
	color: #ffffff;
}

/* schedule */
.schedule {
	width: 100%;
}
.schedule th {
	font-weight: 500;
}

/* schedule-item states */
.schedule-item.not-available {
	filter: grayscale(1);
	opacity: .5;
}
.schedule-item.not-available > * {
	/*pointer-events: none;*/
}

/* links */
.schedule-item a {
	display: block;
}

/* colors */
.schedule-item {
	background: #f9f9f9;
}
.schedule-item .grey {
	color: #999999;
}

/* flex-items */
.schedule-item__column > div,
.sale,
.sale__inner,
.mobile-wrapper {
	display: flex;
	flex-flow: row wrap;
}

/* buttons */
.schedule-item button {
	fill: inherit;
	width: 100%;
	cursor: pointer;
	padding: 7px 0;
}
.schedule-item button.appointment,
.popup-window-button.submit {
	box-shadow: 0 0 0 #fff;
	background-color: #8caf13;
	color: #ffffff;
	text-align: center;
}

/* course types */
.schedule-item .type {
	line-height: 10px;
	padding: 6px 8px;
	border-radius: 2em;
}
.schedule-item .type.type--a {
	background-color: #d5a8d7;
}
.schedule-item .type.type--b {
	background-color: #f8d787;
}
.schedule-item .type.type--c {
	background-color: #a4d29e;
}
.mobile-wrapper {
	box-sizing: border-box;
	max-width: 50%;
	width: 50%;
}

.price {
	white-space: nowrap;
}

@media screen and (max-width: 768px)  { /* smartphones, iPhone, portrait 480x320 phones */
	.schedule-group {
		margin-top: 20px;
	}
	.schedule-filter label {
		margin-bottom: 10px;
	}
	.order {
		display: flex;
		flex-flow: column!important;
	}
	.schedule-filter label span,
	.type {
		order: -1;
		font-size: 12px;
	}
	.schedule-item td > div[data-before]::before {
		padding: 10px 0;
		line-height: 20px;
	}
	.main-info .teacher a {
		line-height: 1;
		margin: 5px 0;
	}
	.mobile-wrapper {
		position: absolute;
		right: 0;
		flex-flow: column;
		max-width: 50%;
		padding: 0 20px;
		overflow: hidden;
	}
	.schedule-item__column:not(.column--5) .mobile-wrapper > * {
		margin: 3px 0;
	}
	.schedule-item__column.column--5 {
		flex-flow: column;
	}
	.schedule-item__column.column--5 > div[data-before]::before {
		padding: 30px 0!important;
	}
	.schedule-item__column.column--5 .mobile-wrapper {
		padding: 0 15px;
	}
	.schedule-item__column.column--3 .time {
		/*margin: 0;*/
	}
	.sale {
		flex-flow: column;
	}
	.price {
		margin-left: 20px;
	}
	.sale__inner {
		flex-flow: row nowrap;
	}
	.sale__inner svg {
		margin: 0!important;
		padding: 0;
	}
}
@media (min-width:768px)  { /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */
	.schedule-group {
		margin-top: 30px;
	}
	.mobile-wrapper {
		flex-flow: row wrap;
	}
}
@media (min-width:768px) and (max-width: 1024px)  { /* tablet, landscape iPad, lo-res laptops ands desktops */
	.schedule-item__column.column--3 .time {
		margin-left: 10px;
	}
	.mobile-wrapper {
		align-items: center;
	}
	.schedule-item td > div[data-before]::before {
		line-height: 40px;
	}
}
@media screen and (max-width: 1024px) { /* mobile-tablet */
	.schedule-group h3 {
		font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
		font-weight: 600;
		font-size: 18px;
		margin-bottom: 15px;
	}
	.schedule-group h3 > * {
		display: inline-block;
		vertical-align: bottom;
	}
	.schedule-group h3 svg {
		transition: all ease .3s;
	}
	.schedule-group h3.open svg {
		transform: rotate(180deg);
		margin: 0;
		padding: 0;
	}
	.schedule {
		background: #ffffff;
	}
	.schedule thead {
		display: none!important;
	}
	/* flex items */
	.schedule tr,
	.schedule-item,
	.schedule-item__column.column--5 .sale__inner,
	.schedule-item__column.column--5 .grey.roboto {
		display: flex;
	}

	/* columns */
	.schedule-item {
		flex-flow: column;
	}

	/* rows */
	.schedule-item > div {
		flex-flow: row nowrap;
	}

	/* justify */
	.schedule-item td > div[data-before] {
		flex-flow: row nowrap;
		justify-content: flex-start;
		align-items: center;
	}

	.schedule-item__column.column--5 .sale__inner,
	.schedule-item__column.column--5 .grey.roboto {
		align-items: center;
	}
	
	/* colors */
	
	/* margin */
	.schedule-item {
		margin-bottom: 20px;
	}

	.schedule-item td > div[data-before] > *:not(:last-child) {
		margin-right: 10px;
	}

	.schedule-item > td {
		position: relative;
		padding: 7px 20px;
	}

	.schedule-item > td > div:after {
		content: '';
		position: absolute;
		display: block;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
		width: calc(100% - 40px);
		height: 3px;
		background-color: #ffffff;
	}

	.main-info {
		order: -1;
	}
	.main-info .name a {
		font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
		font-weight: 600;
		font-size: 18px;
		color: #9f351b;
	}
	.main-info .teacher a {
		font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
		font-weight: 400;
		font-size: 14px;
		color: #32221a;
		line-height: 2;
	}

	.schedule-item td > div[data-before]:before {
		content: attr(data-before);
		flex-basis: 50%;
		width: 50%;
		min-width: 50%;
		border-right: 3px solid #efefef;
		margin-right: 25px;
	}

	.schedule,
	.schedule tr,
	.schedule tr td,
	.schedule tr td:not(:last-child) {
		border: none;
	}

	.schedule-item__column.column--1 div {
		justify-content: space-between;
		align-items: flex-start;
		padding: 5px 0;
	}

	.schedule-item__column.column--3 .time {
		order: 3;
	}

	.schedule-item__column.column--4 .mobile-wrapper > span:first-child {
		position: relative;
		display: inline-block;
		margin-right: 10px;
	}

	.schedule-item__column.column--5 svg {
		margin-left: 40px;
	}

	.schedule-item__column.column--5 .sale__inner {
		margin-right: 10px;
	}


	.type {
		font-family: "Roboto Condensed";
		font-weight: 500;
	}

	button.appointment {
		text-transform: uppercase;
		font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
		font-size: 18px;
		margin-top: 10px;
		line-height: 1.6;
	}
}
@media (min-width:1025px) { /* desktop */
	.nowrap {
		white-space: nowrap;
	}
	.schedule thead {
		position: sticky;
		top: 0;
		z-index: 9;
		background-color: rgba(255, 129, 5, 0.9);
		color: #ffffff;
		text-align: left;
	}
	.schedule tr > :first-child {
		width: 150px;
	}
	/* columns */
	.schedule-item__column {
		padding: 10px 15px;
	}
	.schedule-item__column > div,
	.sale {
		flex-flow: column;
	}

	/* rows */
	.sale__inner,
	.schedule-item__column.column--7 > div {
		flex-direction: row;
	}

	/* align */
	.schedule-item__column > div {
		align-items: flex-start;
	}

	/* justify */

	/* links */
	.schedule-item .name a {
		color: #32221a;
		margin-bottom: 10px;
	}
	.schedule-item .teacher a {
		color: #999999;
	}
	
	.schedule-group h3 svg {
		display: none;
	}

	/* nowrap */
	.schedule-item__column.column--2 > div,
	.schedule-item .days {
		white-space: nowrap;
	}

	/* group title */
	.schedule-container h3 span {
		min-width: 250px;
		margin: 0;
		padding: 0;
		line-height: 2;
		display: inline-block;
	}
	.schedule tbody tr:first-child {
		border-top: 20px solid #ffffff;
	}
	.schedule tbody tr:not(:first-child) {
		border-top: 10px solid #ffffff;
	}
	.schedule th {
		padding: 15px 10px 5px;
		outline: 1px solid rgba(255,255,255,.1);
		outline-offset: -1px;
	}
	.schedule-item td div > *:not(:last-child) {
		margin-bottom: 10px;
	}

	.schedule-item__column.column--5 > div {
		padding-left: 20px;
	}
	.schedule-item__column.column--5 svg {
		position: absolute;
		left: 10px;
	}
	.schedule-item__column.column--7 > div {
		margin-bottom: 10px;
	}

	.schedule-item td {
		position: relative;
		align-items: stretch;
	}

	.schedule-item td:not(:first-child) > div:after {
		content: '';
		position: absolute;
		display: block;
		left: 0;
		top: 50%;
		height: 60px;
		transform: translateY(-50%);
		width: 2px;
		background-color: #efefef;
	}

	.schedule tr > :nth-child(5) {
		width: 120px
	}
	.schedule tr > :nth-child(7) {
		width: 100px
	}
}

.popup-confidence {
	display: block;
}

@media (min-width:1281px) { /* hi-res laptops and desktops */ }

.valign-top {
	vertical-align: top;
}