/* ========================================================
/* IMPORTS
/* ======================================================== */
@import url('https://fonts.googleapis.com/css?family=Cabin');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');

/* ---------------------------------------------------------
/* COLOR SCHEME
/* ---------------------------------------------------------
	 Link Color: #5ebf55

*/

/* ========================================================
/* VARIABLES */
/* ======================================================== */
:root {
	--background-color: #ffecde; 		/* light beige */
	--primary-color: #5ebf55;			/* light green */
	--secondary-color: #b01e73;			/* fuscia */
	--secondary-color-darker: #570f39;	/* dark fuscia */
	--tertiary-color: #e55a57;			/* coral */
	--light-grey: #fff;
	--test-color: #7f6049;
}

/* ========================================================
/* UNIVERSAL
/* ======================================================== */
* {
	box-sizing: border-box;
	font-family: "Cabin", sans-serif;
}

html {
	background-color: var(--background-color);
}

.white-bg {
	background-color: #FFF;
}

.beige-bg {
	background-color: var(--background-color);
}
/* ========================================================
/* MAIN
/* ======================================================== */
body {
	background-color: inherit;
	margin: 0;
	padding: 0;
}
main {
	background-color: inherit;
	margin: 0 auto;
	width: 85%;
}

/* text-margins */
h1, h2, h3, h4, h5, h6, p,
input, iframe {
	padding-left: 20px;
	padding-right: 20px;
}

/* ========================================================
/* FOOTER
/* ======================================================== */
footer {
	background-color: inherit;
	padding: 20px;
	text-align: center;
}

footer address {
	margin-bottom: 0.25rem;
}

/* Hacks
------------- */
.full-width {
	width: 100%;
}
.nested {
	margin: 0 auto;
	width: 85%;
}
.margin-top-none {
	margin-top: 0;
}
.bg-image {
	background-image: url("../img/compressed/flowers.jpg");
}
.position-relative {
	position: relative;
}

/* Hyperlinks
------------- */
a {
	color: var(--secondary-color);
	text-decoration: none;
}

a.white {
	color: var(--primary-color);
	text-decoration: none;
}
a:hover {
	text-decoration: underline dashed;
}
a:visited {
	color: var(--secondary-color-darker);
}

/* Headings
----------- */
h1 {
	font-size: 2.25em;
}
h2 {
	color: #21481d;
	font-size: 2em;
	letter-spacing: 0.1em;
	margin: 20px 0 14px 0;
	text-shadow: 1px 2px 1px 1px rgba(10, 10, 10, 0.3);
	/* text-shadow: 1px 1px black, -1px -1px black, */
								/* 1px -1px black, -1px 1px black; */
}
h3 {
	color: var(--secondary-color);
	font-size: 1.8em;
	margin: 18px 0 9px 0;
}
h4 {
	/* font-color: #e55a57; */
	font-size: 1.3em;
	margin: 21px 0px 0px;
}
h4 a {
	color: #111;
	text-decoration: none;
	transition: color 0.15s ease-in-out;
}
h4 a:hover {
	color: var(--secondary-color);
	text-decoration: none;
}

/* Paragraphs
-------------*/
p, li, dt, dd, table, input {
	font-size: 1.4em;
	line-height: 1.4em;
}

p {
	margin-top: 4px;
}

p:first-of-type :not(p.small) {
	margin-top: 1em;
}

p.small {
	font-size: 1.1em;
	/* margin-top: 0; */
	/* padding-top: 0; */
}

p.justified {
	hyphens: auto;
	text-align: justify;
}

.page {
	background-color: inherit;
	margin: 0;
	padding: 0;
}

.wrapper {
	background-color: inherit;
	margin: 0 auto;
	padding: 0;

}

.centered-ele {
	/* text-align: center; */
	height: 50%;
}

.centered-text {
	margin: 0 auto 20px;
}

/* Lists
-------------*/
ol.indented li,
ul.indented li {
	margin-left: 25px;
	text-indent: 10px;
}
dt {
	font-weight: bold;
}
dd {
	font-style: italic;
	margin-bottom: 5px;
}

/* Tables
-------------*/
table {
	display: block;
	border-collapse: collapse;
}
tr, td {
	padding-top: 8px;
	border-bottom: 1px solid #000;
}
td {
	padding-right: 16px;
}
table#contact-table {
	margin-top: 25px;
}
table#contact-table th, table#contact-table td {
	padding-top: 13px;
	padding-bottom: 13px;
}
table#contact-table th {
	text-align: right;
}
table#contact-table td {
	padding-left: 25px;
}
/* Input
-------------*/
input {
	background-color: #FFF;
}

/* Miscellaneous
---------------*/
.align-left {
	float: left;
}

.align-right {
	float: right;
}

.clear-fix {
	clear: both;
}

.shrink {
	height: 0;
}
.grow {
	height: unset;
}

.inline {
	display: inline-block;
}

/* ========================================================
/* SYMBOLS
/* ======================================================== */

/* envelope symbol */
.wd1-symbol {
	background-color: var(--light-grey);
	background-image: url("../svg/envelope-closed.svg");
	background-position: center;
	background-repeat: no-repeat;
	/* content=""; override content */
	content: "";
	display: inline-block;
	margin-right: 8px;
	position: relative;
	top: 4px;
	width: 20px; height: 20px;
}

/* phone symbol */
.wd2-symbol {
	background-color: var(--light-grey);
	background-image: url("../svg/phone.svg");
	background-position: center;
	background-repeat: no-repeat;
	/* content=""; override content */
	content: "";
	display: inline-block;
	/* margin-right: 8px; */
	margin-left: 8px;
	position: relative;
	top: 4px;
	width: 20px; height: 20px;
}

/* ========================================================
/* TOP CONTACT STRIP
/* ======================================================== */
.top-contact-strip {
	background-color: var(--light-grey);
	border-bottom: 1px solid black;
	height: 40px;
	transition-property: height;
	transition-duration: 1.5s;
	transition-timing-function: ease-in-out;
}

.top-contact-strip-container {
	/* margin-left: 125px; */
	background-color: inherit;
	padding: 3px 3px 3px 3px;
	margin: 0 auto;
	max-width: 85%;
}

.top-contact-ele {
	background-color: inherit;
	font-size: 1.1em;
	margin-right: 10px;
}
.top-contact-ele a, a.alt-link {
	background-color: inherit;
	color: #330026;
	text-decoration: none;
}
.top-contact-ele a:hover, a.alt-link:hover {
	text-decoration: underline;
}

/* ========================================================
/* HEADER
/* ======================================================== */
header {
	background-color: #ffecde;
	border-bottom-color: #888;
	border-bottom-width: 3px;
	border-bottom-style: solid;
	box-shadow: 0px 3px 12px -3px rgba(10,10,10,0.6);
	padding-top: 0px;
	padding-bottom: 10px;
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 2;
}

.header-container {
	background-color: #ffecde;
	margin: 0 auto;
	width: 85%;
}

/* Logo */
.logo {
	background-color: inherit;
	display: inline-block;
}
img.logo {
	background-color: inherit;
	height: 66px;
	width: 66px;
	position: relative;
}

.site-title-container {
	background-color: inherit;
	display: inline-block;
}

h1.site-title {
	background-color: inherit;
	display: inline-block;
	margin: 0.2em 0em 0.1em;
	padding: 0;
	position: relative;
	top: 5px;
}
h2.site-subtitle {
	background-color: inherit;
	color: var(--secondary-color);
	font-size: 1.2em;
	margin: 3px 0 0 3px;
	padding-left: 0;
	text-shadow: none;
}
/* ========================================================
/* NAVIGATION
/* ======================================================== */
#nav-top {
	bottom: -25px;
	display: inline-block;
	float: right;
	padding-right: 40px;
	position: relative;
	transition: height 1.5s ease-in-out;
}
#nav-top:after {
	background-color: inherit;
	clear: both;
	content: "";
}

#nav-top ul {
	background-color: inherit;
	display: inline-block;
	list-style-type: none;
	list-style-position: inside;
	padding-left: 0px;
	width: 100%;
}

#nav-top ul li {
	background-color: inherit;
	border-radius: 5px;
	display: inline-block;
	font-size: 1.2em;
	margin-right: 5px;
	-webkit-transition: color 0.15s ease-in-out;
	transition: color 0.15s ease-in-out;
}

#nav-top ul a {
	background-color: inherit;
	color: #000;
	font-weight: bold;
	padding: 11px;
	text-transform: uppercase;
	text-decoration: none;
	-webkit-transition: color 0.15s ease-in-out;
	transition: color 0.15s ease-in-out;
}
#nav-top ul a.active {
	color: var(--primary-color);
	text-shadow: 0px 2px 4px rgb(0, 0, 0, 0.4);
}
#nav-top ul a:hover {
	color: var(--primary-color);
}
.nav-icon {
	display: none;
	font-size: 1.5em;
	position: absolute;
	right: 30px;
	top: 20px;
}

/* ========================================================
/* LOCATION PAGE
/* ======================================================== */
#location-text-container {
	display: grid;
	grid-template-areas: 'left right';
    grid-template-columns: 1fr 1fr;
/*
    grid-auto-rows: 100vh;
*/
	grid-gap: 20px;
	padding: 5px;
}

#location-text-subcontainer {
	/* background-color: var(--secondary-color); */
	background-color: var(--test-color);
	border: solid 2px black;
	border-radius: 10px;
    box-shadow: 0px 5px 11px rgba(0, 0, 0, 0.75);
	color: #FFF;
	display: block;
	grid-area: left;
	height: 75%;
	margin: 40px;
	padding: 10px;
	overflow: auto;
	/* justify-content: center; */
}
#office-photo {
	/* height: 100%; */
	/* display: block; */
	/* float: right; */
	grid-area: right;
	max-width: 600px;
	/* margin: 0 20px 10px 25px; */
}

/* ========================================================
/* OTHER LINKS
/* ======================================================== */
a.alt-link {
	color: #80005e;
	text-decoration: none;
}
a.alt-link:hover {
	text-decoration: underline;
}

/* ========================================================
/* PICTURES
/* ======================================================== */
.cover-photo {
	background-color: var(--light-grey);
	background-size: cover;
	box-shadow: inset 0px 13px 6px -6px rgba(10,10,10,0.6);
	margin-top: 0;
	padding: 20px;
	/* position: relative; */
	height: 500px;
	width: 100%;
	transition-property: height, opacity;
	transition-duration: 1.5s;
	transition-timing-function: ease-in-out;
}
.profile-pic {
	/* border: solid 2px #000; */
	border-radius: 100%;
	display: inline-block;
	height: 400px;
	margin: 0 20px 10px 20px;
	transition: none;
}
.block-photo {
	float: right;
	/* height: 100%; */
	width: 600px;
	margin: 0 20px 10px 25px;
}
.grid-photo-right {
	/* height: 100%; */
	/* display: block; */
	/* float: right; */
	grid-area: right;
	max-width: 600px;
	/* margin: 0 20px 10px 25px; */
}
#contact-page-photo {
    float: right;
    max-height: 400px;
    width: auto;
}
#home-cover-photo {
	background-image: url("../img/compressed/bench-crop.jpg");
	background-position: center;
	background-repeat: no-repeat;
}
#about-cover-photo {
	background-image: url("../img/compressed/desert.jpg");
	background-position: 90% 30%;
	background-repeat: no-repeat;
	/* background-size: contain; */
}
#services-cover-photo {
	background-image: url("../img/compressed/forest-path.jpg");
	background-position: center;
	background-repeat: no-repeat;
	/* background-size: contain; */
}
#contact-cover-photo {
	background-image: url("../img/compressed/flowers.jpg");
	background-position: center;
	background-repeat: no-repeat;
/*    background-size: contain;*/
}

/* ========================================================
/* CONTENT
/* ======================================================== */
.about-section {
	/* height: 200px; */
	overflow: auto;
}
#articleSearch {
	padding-left: 20px;
	width: 100%;
}
h4.article-link {
	margin: 17px 10px 21px 0px;
}

/* ========================================================
/* TESTIMONIALS
/* ======================================================== */
.testimonialBlock {
	background-color: #E6D6C9;
	padding-top: 10px;
	padding-bottom: 10px;
	border-left: 6px solid #5C5550;
}
.testimonialsContainer {
	/* background-color: hsla(0, 0%, 100%, 0.2); */
	/* border-radius: 10px; */
	/* box-shadow: 0px 4px 15px 5px rgba(0, 0, 0, 0.5); */
	background-color: none;
	color: white;
	font-weight: bold;
	height: 90%;
	margin: 20px auto;
	overflow: hidden;
	position: relative;
	text-shadow: 0px 2px 2px black;
	width: 75%;
	z-index: 1;
}
.testimonialsContainer::before {
	background-color: hsla(0, 0%, 0%, 0.1);
	content: '';
	margin: -30px;
	opacity: 0.7;
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: -1;
}
.button-strip {
	background-position: center;
	background-repeat: no-repeat;
	background-size: 32px 32px;
	display: inline-block;
	height: 100%;
	min-width: 50px;
	width: 5%;
}
.button-strip:hover {
	background-color: hsla(325, 100%, 50%, 0.3);
	cursor: pointer;
}
.left-arrow {
	background-image: url("../svg/chevron-left.svg");
	position: absolute;
	left: 0;
}
.right-arrow {
	background-image: url("../svg/chevron-right.svg");
	position: absolute;
	right: 0;
}
#testimonial {
	display: inline-block;
	font-size: 1.8em;
	font-weight: normal;
	left: 50%;
	/* margin: 10% auto; before absolute position + translate */
	padding-left: 5%; padding-right: 5%;
	/* position: relative; before absolute position + translate */
	position: absolute;
	text-align: center;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 80%;
}
#testimonial h4 {
	margin-bottom: 20px;
}

/* ========================================================
/* COLUMNS
/* ======================================================== */
.col-container {
	display: table;
	table-layout: fixed;
	margin-bottom: 15px;
	width: 100%;
}
.col {
	display: table-cell;
}

/* downloads */
ul.downloads {
	list-style-image: url("../res/pdf-icon-24.png");
}
ul.downloads a {
	color: #111;
	text-decoration: none;
}
ul.downloads a:hover {
	color: var(--secondary-color);
	text-decoration: underline;
}

/* ========================================================
/* ANIMATIONS
/* ======================================================== */
h1, h2, h3, h4, h5, h6, p, q, li, dt, dd, table, tr, td,
.wd1-symbol, .wd2-symbol,
.top-contact-ele {
	transition-property: font-size, padding;
	transition-duration: 1.5s;
}

img {
	transition-property: height, width;
	transition-duration: 1.5s;

}

/* ========================================================
/* RESPONSIVE DESIGN
/* ======================================================== */
@media screen and (max-width: 1640px) {

	#nav-top {
		bottom: 9px;
		float: none;
		margin: 0;
	}
	#nav-top ul {
		margin-top: 16px;
		margin-bottom: 0px;
	}
	#nav-top ul a {
		padding-bottom: 0;
	}
}

@media screen and (max-width: 1475px) {

	/* adjust text-margins */
	h1, h2, h3, h4, h5, h6, p, dt, dd,
	iframe, footer {
		padding-left: 10px;
		padding-right: 10px;
	}

	/* Headings
	----------- */
	h1.site-title {
		font-size: 1.8em;
	}

	h3 {
		font-size: 1.6em;
	}

	h4 {
		font-size: 1.2em;
		margin: 21px 0px 0px;
	}

	header {
		padding: 0;
	}
	img.logo {
		height: 44px;
		width: 44px;
		position: relative;
	}
	h1.site-title {
		margin-right: 1em;
	}
	h2.site-subtitle {
		font-size: 0.9em;
	}

	/* Paragraphs
	-------------*/
	p, li, dt, dd {
		font-size: 1.2em;
		line-height: 1.3em;
	}

	/* Testimonial Text
	------------------*/
	#testimonial {
		padding-left: 0;
		padding-right: 0;
	}
	#testimonial q {
		font-size: 0.9em;
	}

	.col-container {
		table-layout: auto;
	}

	/* adjust location text */
	#location-text-container {
		display: block;
		height: initial;
		/* overflow: auto; */
	}
	#location-text-subcontainer {
		display: inline-block;
		height: auto;
		max-width: 40%;
		margin-right: 0;
	}
	.block-photo, #office-photo {
		/* max-height: 100%; */
		display: inline-block;
		float: right;
		max-width: 50%;
	}

}

@media screen and (max-width: 1280px) {

		/* adjust text-margins */
	h1, h2, h3, h4, h5, h6, p, dt, dd,
	iframe {
		padding-left: 0px;
		padding-right: 0px;
	}

	.testimonialBlock {
		padding: 11px;
	}

}

@media screen and (max-width: 1130px) {

	#testimonial q {
		font-size: 0.8em;
	}

	#location-text-subcontainer {
		background-color: inherit;
		border: none;
        box-shadow: none;
		color: black;
		margin: 0;
		padding-left: 0;
		max-width: 50%;
	}

		/* change location layout*/
	#location-text-container {
		display: block;
        grid-template-columns: 1fr;
		grid-template-areas: none;
		padding: initial;
	}
	#location-text-subcontainer {
		background-color: inherit;
		border: none;
		color: initial;
		display: block;
		grid-area: none;
		height: 100%;
		hyphens: auto;
		margin: initial;
		padding: initial;
		overflow: auto;
		text-align: justify;
		max-width: 100%;
	}
	#location-text-subcontainer p {
			width: 100%;
	}

	#office-photo {
		display: block;
		float: none;
/*        grid-area: */
		margin: 20px auto 20px;
		max-width: 100%;
	}

		/* change navigation menu display */
	.site-title-container {
		margin-bottom: 16px;
	}
	#nav-top {
		/* hide navigation bar */
		display: block;
		height: 0;
		overflow: hidden;
	}
	#nav-top ul a {
		margin: 0;
		padding: 0;
	}
	#nav-top ul li {
		display: block;
		margin: 0;
		padding: 5px;
		width: 100%;
	}
	/* hover-state */
	#nav-top ul a:hover {
		/* background-color: #deeedd; */
	}
	#nav-top ul li:hover {
		background-color: #133805;
		color: #deeedd;
	}
	.nav-icon {
		display: inline-block;
	}

}

@media screen and (max-width: 980px) {
	iframe {
		max-width: 100%;
	}
	#contact-page-photo {
    float: none;
	margin: 20px auto;
    max-width: 100%;
	}
	#testimonial h4 {
		font-size: 0.9em;
	}
	#testimonial q {
		font-size: 0.7em;
	}
}

@media screen and (max-width: 920px) {

	/* hide About cover photo */
	#about-cover-photo {
		height: 0;
		min-height: 0;
		width: 0;
		padding: 0;
		margin: 0;
		opacity: 0;
	}

	.cover-photo {
		border: 8px solid #FFF;
		max-height: 500px;
		min-height: 300px;
		height: auto;
		width: 95%;
		margin: 20px auto;
		box-shadow: 0px 6px 10px 0px var(--secondary-color-darker);
		outline: 2px solid #EEE;
	}

	/* center photos */
	.profile-pic {
		display: block;
		float: none;
		margin: 0 auto;
		margin-bottom: 10px;
	}
}

@media screen and (max-width: 790px) {
	table {
		font-size: 1.2em;
	}
}

@media screen and (max-width: 675px) {

	#nav-top {
		bottom: 10px;
		float: none;
		margin: 0;
		padding: 0;
	}

	.col {
		display: block;
	}

}

@media screen and (max-width: 590px) {
	/* modify paragraph justification */
	p.justified {
		text-align: left;
	}
}

@media screen and (max-width: 560px) {
	/* hide navigation labels */
	nav ul li a.active {
		display: none;
	}
}

@media screen and (max-width: 520px) {
	h3 {
		text-align: center;
	}
    p.contact-info {
        text-align: center;
    }
	.profile-pic {
		/* border: solid 2px #000; */
		border-radius: 100%;
		display: block;
		height: 100%;
		width: 100%;
		/* margin: 0 20px 10px 20px; */
	}
}

@media screen and (max-width: 462px) {
	.top-contact-strip {
		font-size: 0.9em;
	}

}

@media screen and (max-width: 424px) {

	/* hide top contact strip */
	.top-contact-strip {
		height: 0;
	}

}

@media screen and (max-width: 380px) {

	/* headers */
	h1 {
		font-size: 1.5em;
	}
	h2 {
		font-size: 1.7em;
	}

	/* resize logo & site title */
	img.logo {
		height: 33px;
		width: 33px;
		bottom: 2px;
	}
	h1.site-title {
		font-size: 1.5em;
		margin-bottom: 5px;
	}
	h2.site-subtitle {
		font-size: 0.6em;
	}

}

/* ========================================================
/* PRINT FORMAT
/* ======================================================== */
@media print {

	/* change margins
	  ------------------------*/
	main {
		margin: 0 auto;
		width: 100%;
	}
	h1, h2, h3, h4, h5, h6, p,
	input, iframe,
	footer {
		padding-left: 0px;
		padding-right: 0px;
	}
	.top-contact-strip-container {
		max-width: 100%;
		width: 100%;
	}
	h1.site-title {
		margin-top: 0;
	}
	/* change text size & color
	  ------------------------*/
	/* Headings */
	h1 {
		color: black;
		font-size: 1.8em;
	}
	h1.site-tile {
		color: black;
		/* font-size: 2em; */
	}
	h2 {
		color: black;
		font-size: 1.6em;
	}
	h2.site-subtitle {
		color: black;
	}
	h3 {
		color: black;
		font-size: 1.4em;
		margin: 18px 0 9px 0;
	}
	h4 {
		font-size: 1.3em;
		margin: 21px 0px 0px;
	}

	/* Paragraphs */
	p, li, dt, dd, table, input {
		font-size: 1.1em;
		line-height: 1.2em;
	}

	/* Symbols */
	.wd1-symbol {
		color: black;
		font-size: 1.1em;
	}

	.wd2-symbol {
		color: black;
		font-size: 1.1em;
		font-weight: bold;
	}

	/* hyperlinks */
	a, a:visited, a.alt-link {
		color: black;
	}

	/* modify header
	  ------------------------*/
	.top-contact-strip {
		border-bottom: none;
	}
	header {
		border-bottom: none;
		box-shadow: none;
		padding: 0;
	}
	.header-container {
		margin: 0;
		width: 100%;
	}

	/* hide navigation
		------------------------*/
	#nav-top {
		display: none;
	}

	/* modify images
	------------------------*/
	img {
		-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
	}
	img.logo {
		height: 50px;
		width: 50px;
	}
	.cover-photo {
		display: none;
	}
	.profile-pic {
		height: 300px;
		/* margin: 0 20px 10px 20px; */
	}

	/* location page
	 ------------------------*/
	#location-text-container {
		display: block;
    grid-template-columns: 1fr;
		grid-template-areas: none;
		padding: initial;
	}
	#location-text-subcontainer {
    box-shadow: none;
		color: black;
		border: none;
		max-width: 100%;
	}
	#office-photo {
		float: right;
		width: 40%;
		/* margin: 20px auto 20px; */
		/* max-width: 100%; */
	}

	/* other hideables
	 ------------------------*/
	iframe, .hideable { display: none; }

}