/* BASIS –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */

html {
	font-size: 18px;
}

/* Typography ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
h1 {
	max-width: none;
}

h4 {
	margin-bottom: 0;
}

p {
	max-width: none;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* HEADER –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

header {
	padding-left: 50%;
	min-height: 72vh;

	display: -ms-flex;
	display: -moz-flex;
	display: -webkit-flex;
	display: flex;

	-ms-flex-direction: column;
	-moz-flex-direction: column;
	-webkit-flex-direction: column;
	flex-direction: column;

	-ms-justify-content: center;
	-moz-justify-content: center;
	-webkit-justify-content: center;
	justify-content: center;

	-ms-align-items: center;
	-moz-align-items: center;
	-webkit-align-items: center;
	align-items: center;
}

/* Apply black tint layer */
header::before {
	background-color: rgba(0, 0, 0, 0.85);
	background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.9) 75%);

	z-index: 1;
}

/* Classes to determine background image */
.bg-strada {
	background-position: right center;
	background-size: auto;
	background-size: 175%;
}

.bg-strada::after {
	content: ' ';
	position: absolute;
	pointer-events: none;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

	background-image: url('../_assets/exploro-background.jpg');
	background-position: right 75%;
	background-size: 200%;

	opacity: 1;

	animation: header-bg-toggle 16s infinite alternate;
	animation-delay: 7.5s;
	animation-timing-function: linear;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* MAIN –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
main {
	max-width: 60em;
	margin: auto;

	background-color: #fff;
}

/* Hours and Contact Section ––––––––––––––––––––––––––––––––––––––––––––––– */

#hours-and-contact {
	display: -ms-flex;
	display: -moz-flex;
	display: -webkit-flex;
	display: flex;

	-ms-flex-direction: row;
	-moz-flex-direction: row;
	-webkit-flex-direction: row;
	flex-direction: row;

	-ms-justify-content: space-between;
	-moz-justify-content: space-between;
	-webkit-justify-content: space-between;
	justify-content: space-between;

	-ms-align-items: center;
	-moz-align-items: center;
	-webkit-align-items: center;
	align-items: center;
}

#hours-and-contact > div {
	/* Undo previous Flex Container Styling */
	display: block;

	-ms-flex: 0 1 calc(50% - 1em);
	-moz-flex: 0 1 calc(50% - 1em);
	-webkit-flex: 0 1 calc(50% - 1em);
	flex: 0 1 calc(50% - 1em);
}

#hours-and-contact form {
	-ms-flex: 0 1 calc(50% - 1em);
	-moz-flex: 0 1 calc(50% - 1em);
	-webkit-flex: 0 1 calc(50% - 1em);
	flex: 0 1 calc(50% - 1em);
}

/* Undo previous Flex Styling */
/* Section Title */
#hours-and-contact h2 {
	-ms-flex: none;
	-moz-flex: none;
	-webkit-flex: none;
	flex: none;
}

/* Store Hours */
#hours-and-contact table {
	-ms-flex: none;
	-moz-flex: none;
	-webkit-flex: none;
	flex: none;

	margin-left: 0;
	margin-top: 1em;
}

/* Contact Information and Map Section ––––––––––––––––––––––––––––––––––––– */
#contact-info {
	display: -ms-flex;
	display: -moz-flex;
	display: -webkit-flex;
	display: flex;

	-ms-flex-direction: row;
	-moz-flex-direction: row;
	-webkit-flex-direction: row;
	flex-direction: row;

	-ms-justify-content: space-between;
	-moz-justify-content: space-between;
	-webkit-justify-content: space-between;
	justify-content: space-between;

	-ms-align-items: center;
	-moz-align-items: center;
	-webkit-align-items: center;
	align-items: center;
}

address {
	/* Undo previous Flex Container Styling */
	display: block;

	-ms-flex: 0 1 auto;
	-moz-flex: 0 1 auto;
	-webkit-flex: 0 1 auto;
	flex: 0 1 auto;

	padding: 2em;
}

#gmap {
	-ms-flex: 1 0 50%;
	-moz-flex: 1 0 50%;
	-webkit-flex: 1 0 50%;
	flex: 1 0 50%;

	padding-bottom: 50%;
}

address .logo-wrapper {
	-ms-flex: none;
	-moz-flex: none;
	-webkit-flex: none;
	flex: none;

	margin-bottom: 1em;
}

/* Contact Information */
address > div {
	-ms-flex: none;
	-moz-flex: none;
	-webkit-flex: none;
	flex: none;

	margin-left: 0;
}

/* 3T Exploro and Strada Pictures –––––––––––––––––––––––––––––––––––––––––– */
#bicycle-pictures-section {
	display: -ms-flex;
	display: -moz-flex;
	display: -webkit-flex;
	display: flex;

	-ms-flex-direction: row;
	-moz-flex-direction: row;
	-webkit-flex-direction: row;
	flex-direction: row;
}

#bicycle-pictures-section > div {
	-ms-flex: 0 1 50%;
	-moz-flex: 0 1 50%;
	-webkit-flex: 0 1 50%;
	flex: 0 1 50%;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* FOOTER –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*
footer {
	min-height: 60vh;

	display: -ms-flex;
	display: -moz-flex;
	display: -webkit-flex;
	display: flex;

	-ms-flex-direction: column;
	-moz-flex-direction: column;
	-webkit-flex-direction: column;
	flex-direction: column;

	-ms-justify-content: flex-start;
	-moz-justify-content: flex-start;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;

	-ms-align-items: center;
	-moz-align-items: center;
	-webkit-align-items: center;
	align-items: center;
}

footer > * {
	-ms-flex: 0 1 auto;
	-moz-flex: 0 1 auto;
	-webkit-flex: 0 1 auto;
	flex: 0 1 auto;
}

footer::before {
	-ms-flex: none;
	-moz-flex: none;
	-webkit-flex: none;
	flex: none;
}*/

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* Animations –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

@keyframes header-bg-toggle {
	0% { opacity: 1; }
	46.875% { opacity: 1; }
	53.125% { opacity: 0; }
	100% { opacity: 0; }
}

@-webkit-keyframes header-bg-toggle {
	0% { opacity: 1; }
	46.875% { opacity: 1; }
	53.125% { opacity: 0; }
	100% { opacity: 0; }
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* Media Queries ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Video Split ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media all and (min-width: 60rem) {
	/* 3T Videos –––––––––––––––––––––––––––––––––––––––––– */
	#video-section {
		display: -ms-flex;
		display: -moz-flex;
		display: -webkit-flex;
		display: flex;

		-ms-flex-direction: row;
		-moz-flex-direction: row;
		-webkit-flex-direction: row;
		flex-direction: row;

		-ms-justify-content: space-between;
		-moz-justify-content: space-between;
		-webkit-justify-content: space-between;
		justify-content: space-between;
	}

	#video-section > div {
		-ms-flex: 0 1 calc(50% - 0.5em);
		-moz-flex: 0 1 calc(50% - 0.5em);
		-webkit-flex: 0 1 calc(50% - 0.5em);
		flex: 0 1 calc(50% - 0.5em);

		padding-bottom: calc( calc(56.25% - 0.75em) / 2);
	}
}

/* Massive Screen Header Change ––––––––––––––––––––––––––––––––––––––––––– */
@media all and (min-width: 1400px) {
	html {
		font-size: 21px;
	}

	header {
		min-height: 80vh;
	}
}
