/* Cascading style sheet */


/*	Elements */

body {
	margin: 0;
	font-family: "REM";
	background-image: url("images/blue-sky-background.jpg");
}
	
div {
	box-sizing: border-box;
}

h1 {
	font-family: "Protest Strike", sans-serif;
	font-weight: normal;
	font-size: 48px;
	padding-bottom: 10px;
	margin-top: 0;
	border-bottom: 2px solid #0C5BA2;
}

h2, h3, h4, h5, h6 {
	font-family: "Aleo", sans-serif;
}

h3 {
	font-size: 30px;
	margin-bottom: 18px;
}

p {
	font-size: 18px;
	margin-top: 0;
}

table {
	border-collapse: collapse;
	margin-bottom: 50px;
	max-width: 900px;
}

table td {
	border: 1px solid #CCC;
	padding: 10px;
}

table th {
	padding: 10px;
	text-align: left;
	font-size: 20px;
}

ul {
	font-size: 18px;
}


/* IDs */

#client-reviews {
	padding-bottom: 25px;
	border-bottom: 1px solid #CCC;
	margin-bottom: 40px;
}

#footer {
	font-style: italic;
	text-align: center;
}

#main-content {
	max-width: 1300px;
	background-color: white;
	margin: 0 auto;
	padding: 50px;
}

#tabs {
	display: flex;
	flex-direction: row;
	font-size: 24px;
	margin-top: 25px;
	margin-bottom: 25px;
}


/*	Classes */

.caption {
	margin-top: -5px;
	font-size: 16px;
	font-style: italic;
}

.column img {
	max-width: 100%;
}

.column p:last-child {
	margin-bottom: 0;
}
	
.custom-blue {
	color: #0C5BA2;
}

.custom-orange {
	color: #FB4F00;
}

.down-arrow {
	font-size: 16px;
	margin-left: 5px;
 }
 
.expandable-panel {
	height: 300px;
	overflow-y: hidden;
	position: relative;
}

.expander-button {
	background-color: #6884A5;
	color: white;
	padding: 10px;
	text-align: center;
	font-size: 20px;
	cursor: pointer;
	border: none;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

.expander-button:hover {
	background-color: #42658F;
}

.expander-button-wrapper {
	text-align: right;
	border-top: 4px solid #6884A5;
	/*
	border-image: linear-gradient(to right, #C6D0DD, #42658F) 30;
	border-top-width: 4px;
	border-top-style: solid;
	*/
}

.project-description {
	font-style: italic;
}

.row {
	padding-bottom: 50px;
	border-bottom: 1px solid #CCC;
	margin-bottom: 50px;
 }

.tab {
	flex: none;
	margin-right: 50px;
	margin-bottom: 25px;
}

.tab.active {
	border-bottom: 5px solid #FB4F00;
}

.tab:not(.active) {
	cursor: pointer;
}

.text-fader {
	height: 30px;
	position: relative;
	margin-top: -30px;
	z-index: 1;
	background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
}


/*	Responsive video embedding styles from embedresponsively.com */

.embed-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
}

.embed-container iframe, .embed-container object, .embed-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


/*	For narrow screens only */

@media screen and (max-width: 999px) {

	.column:first-child {
		margin-bottom: 50px;
	}

	.row.first .column:first-child {
		border-top: 1px solid #CCC;
	}
}


/*	For wider screens only */

@media screen and (min-width: 1000px) {

	h3 {
		margin-top: 0;
	}
	
	.row {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 50px;
	}
	
	.row.first {
		border-top: 1px solid #CCC;
		padding-top: 50px;
	}
	
}