/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.wc-block-components-quantity-selector {
    pointer-events: none;
    background-color: #ccc;
}

.wc-block-components-checkout-return-to-cart-button {
    display: none;
}

body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link) {
    margin-left: auto;
    background: #000;
}


 /* General */
 .mb-0 {
	margin-bottom: 0px !important;
 }

 .button {
	background-color: var(--color-primary);
	color: #fff;
	border: 0px;
	padding: 10px 20px;
	padding-right: 40px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	border-radius: 5px;
	position: relative;
 }
  
  .button::after {
	content: url('data:image/svg+xml,<svg width="8" height="17" viewBox="0 0 8 17" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 0.5L8 8.50179L0 16.5L0 0.5Z" fill="%23163987"/></svg>');
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	width: 8px;
	height: 16px;
	transition: all 0.3s ease;
	margin-top: -1px;
  }

  .button:hover {
	background-color: var(--color-accent);
	transition: all 0.3s ease;
  }
  
  .button:hover::after  {
	transform: translateY(-50%) scale(1.4);
  }

 .link {
	background-color: transparent;
	border: 0px;
	text-decoration: underline;
 }

.link:hover {
	cursor: pointer;
}

.hidden {
	display: none;
}

.course-info {
	color: #023a8c;
}

.course-info .course-info__title {
	color: var(--color-primary);
  font-size: 30px;
	margin-bottom: 20px;
}

.course-info .course-info__price span {
	font-size: 30px;
  font-weight: bold;
    color: #00233f;
}



/* Course table */
.course-table {
	overflow-x: auto;
}

.course-table .course-table__table {
	width: 100%;
}

.course-table .course-table__table thead tr td {
	padding: 7.5px;
	color: var(--color-secondary);
	font-weight: bold;
}

.course-table .course-table__table thead tr td svg {
	stroke-width: 2px;
	position: relative;
	top: 4px;
}

.course-table .course-table__table tbody tr {
	border-bottom: 1px #ccd5de solid;
	background-color: transparent !important;
}

.course-table .course-table__table tbody tr td {
	padding: 7.5px;
	font-weight: 200;
}

.course-button__enroll {
	background-color: var(--color-secondary);
	color: #fff !important;
	border: 0px;
	border-radius: 10px;
	padding: 15px 20px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	transition: .5s all ease;
	display: inline-block;
	text-transform: uppercase;
	text-decoration: none;
}

/* .course-button__enroll:hover {
	background-color: #0179bd;
	color: white;
} */

.course-table .course-table__table td {
	border-bottom: 1px solid var(--color-primary) !important;
}

.course-table .course-table__table thead tr td:nth-child(1) {
	min-width: 200px;
}

.course-table .course-table__table thead tr td:nth-child(2) {
	min-width: 120px;
}

.course-table__more-info svg {
	width: 25px;
	stroke-width: 1px;
	position: relative;
	top: 2px;
	left: 5px;
}

/* Single course */
.course-info {
	color: #000;
	width: 100%;
}

.single.single-vsystems_course .course-info {
    padding-left: 10rem;
    padding-right: 10rem;
}

.course-info .course-info__title {
	margin-bottom: 0px;
	margin-top: 0px;
	font-size: 60px;
}

.course-info .course-info__price span {
	font-size: 20px;
	margin-top: 5px;
}

.course-day {
	padding: 1rem 0rem;
}

.course-day svg {
	width: 20px;
	position: relative;
}

.course-info__days {
	margin: 25px 0px;
	padding-left: 1rem;
	padding-right: 1rem;
	color: #fff;
	background: #1C3D5F;
	border-radius: 15px;
}

.course-info__appointments strong {
	display: block;
	margin-top: 25px;
}

.course-info__appointments select {
	font-size: 16px;
  color: #023a8c;
  margin-top: 5px;
}

.course-info__free-places {
	margin-top: 10px;
}

.course-info__calendar {
	margin-top: 25px;
	background-image: url('../images/KaartNederlandLocatiesBHVoke.png');
	background-repeat: no-repeat;
	background-position: center right 20px;
	background-color: #4e6585;
	color: #fff;
	padding: 20px;
	max-width: 430px;
	padding-right: 75px;
	border-radius: 15px;
}

.single-course .course-description {
	margin-bottom: 25px;
    padding-left: 10rem;
    padding-right: 10rem;
}

.course-description__enroll {
	margin-top: 25px;
}

.course-day__course, .course-day__date, .course-day__time {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.course-day__icon {
    width: 2% !important;
}

.course-day__description {
    width: 98%;
}

@media (max-width: 768px) {
	.course-day__course, .course-day__date, .course-day__time {
		gap: 1.5rem;
		align-items: flex-start;
	}
}

/* Enroll form */
.enroll-block {
	margin-top: 30px;
	color: #000;
}

.enroll-form .enroll-form__label {
	margin-bottom: .3rem;
	display: block;
}

.enroll-form .enroll-form__input {
	border: 1px solid #00233F;
  	box-shadow: none;
	border-radius: 5px;
	width: 100%;
	padding: 0.30rem 0.25rem;
	margin-bottom: 1rem;
}

.enroll-form .enroll-form__input--error {
	border: 1px solid red;
}

.enroll-form .enroll-form__input--textarea {
	height: 150px;
	width: 100%;
	padding: 10px 15px;
}

.enroll-form .enroll-form__input--checkbox {
	margin: 0px;
	margin-right: 5px;
}

.enroll-form__checkbox--error ~ label {
	color: red;
}

.enroll-form__input-wrapper {
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
}
.enroll-form__input-wrapper .enroll-form__input {
	width: fit-content;
} 

.enroll-form .enroll-form__label.enroll-form__label--required:after {
	content: "*";
	color: red;
	margin-left: 5px;
}

.enroll-block .enroll-block__heading {
	margin-bottom: 1rem;
	margin-top: 0px;
}

.appointment-enroll {
	margin-bottom: 25px;
	padding-bottom: 4rem;
}

.enroll-add-student {
	text-align: right;
}

.button:disabled {
	background-color: #ccc;
	color: #fff;
	cursor: not-allowed;
}

.enroll-student__remove--hidden {
	display: none;
}

.enroll-block__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.button--enroll {
	margin-top: 1rem;
}

/* Cancellation table */
.cancellation-table {
	margin-bottom: 1rem;
}

.cancellation-table tr td {
	padding-right: 15px;
}

.tr-mobile {
	display: none;
}

.clickable-row .course-button__enroll {
	position: relative;
	z-index: 10;
	pointer-events: auto;
}


@media(max-width: 1116px) {
	.day-name, .tr-desktop, .time, .td-empty {
		display: none;
	}

	.tr-mobile {
		display: table-row;
	}

	.tr-mobile td:nth-child(1) {
		width: 40% !important;
	}

	.tr-mobile td:nth-child(2) {
		width: 25% !important;
	}

	.tr-mobile td.enroll-button-mobile {
		vertical-align: middle;
		text-align: right;
	}

	.tr-mobile td.enroll-button-mobile > * {
		display: inline-block;
		vertical-align: middle;
		margin-right: 10px;
	}

	.tr-mobile td.enroll-button-mobile > *:last-child {
		margin-right: 0;
	}

	.course-button__enroll {
		padding: 10px 15px !important;
		margin-bottom: 0;
        margin-left: 1rem;
	}

	.course-table .course-table__table thead tr td:nth-child(1) {
		min-width: 0px;
	}
	
	.course-table .course-table__table thead tr td:nth-child(2) {
		min-width: 0px;
	}

	.course-info .course-info__title {
		font-size: 44px;
	}

	.course-info, .appointment-enroll, .course-description {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
	}
	
}

.course-description h3 {
    font-weight: 700;
}

#course-appointment {
    border: 1px solid var(--color-secondary);
    border-radius: 5px;
}

.tr-desktop {
    vertical-align: middle !important;
}

.tr-desktop td {
    height: 75px !important;
}