@import url("../shared/css/modern-normalize.min.css");
@import url("../shared/css/opensans.css");
@import url("../shared/css/fontawesome-all.min.css");
@import url("../shared/css/theme.css");
@import url("../shared/css/nav.css");
@import url("../shared/css/wrapper.css");
@import url("../shared/css/banner.css");
@import url("../shared/css/components.css");
@import url("../shared/css/quote.css");
@import url("../shared/css/form.css");

input, select, textarea {
	appearance: none;
}

br.clear {
	clear: both;
}

#schedule {
	margin-top: var(--spacing-md);
}

footer {
	margin: 2em 0 0 0;
}

footer > p {
	font-size: 1.25em;
}


#certified-training {
	margin-top: var(--spacing-xl);
}

#certificates {
	display: flex;
	max-height: 200px;
	align-content: center;
	justify-items: center;
	gap: var(--spacing-md);

	img {
		margin: 0 auto;
		object-fit: scale-down;
		max-height: 100%;
	}
}

@media (max-width: 1200px) {
	#certificates {
		flex-direction: column;
		max-height: none;

		img {
			max-width: 100%;
		}
	}

}

/* List */
ul {
	padding-left: 1em;
}

ul li {
	padding-left: 0.5em;
}

ol {
	padding-left: 1.25em;
}

ol li {
	padding-left: 0.25em;
}

:where(article) p:not(blockquote p) {
	font-size: 1.25em;
}

body > article {
	margin-bottom: 0;
}

/* Copyright */

/* Large */
@media screen and (max-width: 1280px) {
	header {
		margin: 0 0 4em 0;
	}

	/* Wrappers */

	.wrapper {
		padding: 5em 0 5em 0;
	}
}

/* Medium */
@media screen and (max-width: 980px) {
}

/* Small */
@media screen and (max-width: 736px) {
	input, textarea, select {
		letter-spacing: 0;
	}

	h1, h2, h3, h4, h5, h6 {
		font-size: 1.25em;
		margin: 0 0 0.4em 0;
	}

	h1 {
		font-size: 2.25em;
		line-height: 1.25em;
	}

	header {
		margin: 0 0 2em 0;
	}

	header > p {
		font-size: 1.25em;
	}

	footer {
		margin: 2.5em 0 0 0;
	}

	footer > p {
		font-size: 1.25em;
	}

	hr {
		margin: 1.5em 0 2em 0;
	}

	/* Section/Article */
	section, article {
		clear: both;
	}

	/* Button */
	input[type="button"],
	input[type="submit"],
	input[type="reset"],
	button,
	.button {
		text-align: center;
		font-size: 1.2em;
		padding: 1em 0 1em 0;
	}

	/* Wrappers */
	.wrapper {
		padding: 3em 0;
	}

}

/* custom styles */
h3 {
	font-size: 1.8em;
	line-height: 1.5em
}

article h1, h2 {
	font-size: 2.2em;
	line-height: 1em
}

article.wrapper {
	padding-top: 3em;
}

p.video-caption {
	margin-top: -0.5em;
	padding: 0;
	font-size: 0.9em !important;
}

article.wrapper ul {
	margin-bottom: 0;
	padding-bottom: 0;

}

@media screen and (max-width: 736px) {
	div.tech-col {
		padding: 0 0 1em;
		margin: 0 0 0 12%;
	}

	div.cert-col {
		margin-top: 2em;
	}
}

@media screen and (min-width: 736px) {
	.contact-form {
		margin-left: 20%;
		margin-right: 20%;
	}
}

p img {
	width: 90%;
	margin: 0 auto;
	display: block;
}

#training,
#training-details {
	margin: 0;
	justify-content: center;
	align-content: center;
}

#training :is(h1, h2, h3, h4, h5, h6){
	text-align: center;
}

#training-details h4 {
	font-size: 1.3rem;
}

/* skipped h4 on purpose */
#training-details :is(h1, h2, h3, h5, h6){
	text-align: center;
}
#training article > p,
#training blockquote > p,
#training > p,
#training-details p:not(.instructor) {
	text-align: justify;
	line-height: 1.5em;
}

#training.single-training ul,
#training.single-training ol,
#training-details.single-training ul,
#training-details.single-training ol {
	text-align: left;
	list-style-position: outside;
	font-size: 1em;
	line-height: 1.65em;
}


.table-wrapper {
	overflow: scroll;
}

#training .instructor,
#training-details .instructor {
	text-align: center;
	font-size: 1.2em;
}

#training .quotes,
#training-details .quotes {
	margin: var(--spacing-lg) 0;
}

.training-header-image {
	display: block;
	height: 10em;
	width: auto;
	margin: 2em auto;
}

header#header nav#nav a {
	text-decoration: underline;
	text-decoration-style: dotted;
}

.youtube-video {
	width: 50%;
	margin: 0 auto 1em;
}

#training p.video-caption,
#training-details p.video-caption {
	text-align: center;
	font-style: italic;
	font-size: 0.8em;


}

.openvalue-register-btn {
	box-shadow: none !important;
	box-sizing: border-box;
	margin: 0;
	cursor: pointer;
	display: inline-block;
	font-weight: 700;
	position: relative;
	text-align: center;
	transition: all .15s linear;
	border-radius: 3px;
	border-style: solid;
	border-width: 1px;
	padding: 12px 24px;
	-webkit-appearance: none;
	background: #2b343c;
	border-color: #2b343c;
	color: #ffffff !important;
	font-size: 19px;
}

#trainingTable tr.group,
#trainingTable tr.group:hover {
	background-color: rgba(0, 0, 0, 0.1) !important;
}

#trainingTable :root.dark tr.group,
#trainingTable :root.dark tr.group:hover {
	background-color: rgba(0, 0, 0, 0.75) !important;
}

#practical-details {
	display: flex;
	flex-direction: column;
	gap: 1em;
}

#back-button {
	font-size: 13px;
	text-decoration: none;
	display: flex;
	gap: var(--spacing-md);
	width: fit-content;
	margin-right: auto;
}

.contact-cta {
	margin: var(--spacing-md) 0;
}

.contact-cta .contact-cta-p {
	line-height: 1.5em;
	font-size: 15px;
	font-weight: 300;
	text-align: center;
}