/* CSS Document */

/* colors: 
E15528 orange
172149 blue
E6E8EF super light gray
*/

body {
	margin: 0;
	padding: 0;
	font-family: "Overpass", Helvetica, sans-serif;
	color: #172149;
	line-height: 1.5;
}

p {
	margin: 0 0 1rem;
}

img {
	display: block;
}

* {
	box-sizing: border-box;
}

a {
	color: inherit;
}

slide {
	display: block;
}

input, textarea, button {
	font: inherit;
}

section {
	padding: 4rem 0;
}
 
header {
	padding: 2rem 0;
	
}

section {
	font-size: 1.25rem;
}

.inner {
	width: 600px;
	margin: 0 auto;
}

h1 {
	font-size: 2.25rem;
	margin: 0 0 1.5rem;
	text-align: center;
}

h1::after {
	content: "";
	display: block;
	height: 5px;
	width: 30%;
	margin: 0 auto;
	background: #172149;
}

.intro h1::after {
	background: #E15528;
}

header img {
	width: 280px;
	height: auto;
	margin: 0 auto;
}

.intro {
	background: #172149;
	color: white;
}

.intro h1 {
	color: white;
}

.services {
	background: white;
}

.services h1 {
	color: #E15528;
}

.services ul {
	margin: 0 0 1.5rem;
	padding: 0;
	column-count: 2;
	column-gap: 5%;
	list-style: none;
	
}



.services li {
	background: #E6E8EF;
	padding: .5rem;
	margin: 0 0 .75rem;
}

.services li a.more-link {
	display: block;
	background: url(images/arrow.svg) right center no-repeat;
	text-decoration: none;
}

.services li:hover {
		background: #172149;
	color: white;
	transition: background .5s;
}

.contact {
	background: #E15528;
	color: white;
}

.contact h1 {
	color: white;
}

label {
	display: block;

}

.field {
	margin: 0 0 1rem;
}

input, textarea {
	width: 100%;
	padding: .25rem 2.5%;
	background: white;
	border: none;
}

input {
	height: 2em;
}

textarea {
	height: 8rem;
}

button {
	background: #172149;
	color: white;
	border: none;
	padding: .5rem;
	border-radius: 6px;
}

form em {
	font-size: .75rem;
}

.message {
	background: #172149;
	color: white;
	padding: 1em 1rem .5rem;
	margin: 0 0 1.5rem;
}

nav {
	position: fixed;
	top: 0;
	right: 0;	
	left: 0;
	z-index: 999;
	background: #E15528;
	background: black;
	color: white;
}

nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	justify-content: center;
	width: 100%;
}

nav ul li {
	margin: 0 1rem;
}

nav a {
	display: block;
	padding: .5rem 0;
	text-decoration: none;
}



.logotype {
	display: none;
}

	 nav {
		 display: flex;
		 justify-content: space-between;
	 }

.menu-toggle {
	display: none;
}

.hero, slide, .imagery {
	width: 100%;
}


slide {
	/*padding: 6rem 2rem;*/
	position: relative;
	width: 100%;
	overflow:hidden;
}

slide img {
	filter: grayscale(100%);
	width: 100%;
	height: auto;
	max-height: 60%;
}

slide h2 {
	background: #E15528;
	color: white;
	padding: 1rem;
	font-size: 2rem;
	display: inline-block;
	position: absolute;
	bottom: 2rem;
	left: 10%;
}


.footer-logo {
	width: 80%;
	height: auto;
	margin: 0 auto 1.5rem;
	display: none;
}

footer p {
	text-align: center;
	margin: 1rem 0;
}

footer em {
	background: #172149;
	color: white;
	padding: .5rem;
	display: block;
	font-size: .75rem;
	text-align: center;
}

footer em a {
	color: inherit;
}

.intro em {

}

.buttons {
	text-align: center;
}

.button {
	background: #E15528;
	color: white;
	border-radius: .25rem;
	padding: .5rem;
	display: inline-block;
	margin: 0 .5rem;
	text-decoration: none;
}

.before-after {
	/*display: flex;
	flex-flow: row wrap;*/
	align-items: center;
	width: 100%;
	border-bottom: 3px solid white;
}

.before-after img {
	width: 100%;
	height: auto;
}

.before, .after {
	width: 50%;
	display: flex !important;
	flex-flow: wrap;
	position: relative;
	align-items: center;
}

.before-after h2 {
	position: absolute;
	/*bottom: 1rem;
	left: 1rem;
	*/
	top: 0;
	left: 0;
	right: 0;
	background: black;
	color: white;
	font-size: 1rem;
	padding: .25rem;
	margin: 0;
}

.before img, .after img {
	flex: 1;
}

.columned img {
	width: 50% !important;
	height: auto;
}

.columned img {
	flex: none;
}

 @media only screen and (max-width: 600px) {
	
	 .footer-logo {
	display: block;
}
	 
	 .logotype {
	display: block;
}
	 
	 .logo {
		 display: none;
	 }

	 header {
		 margin-top: 44px;
	 }
       
	.services ul {
		 column-count: 1;
	 }
	 
	 .inner {
		 width: auto;
		 padding-left: 5%;
		 padding-right: 5%;
	 }
	 


	 .menu-toggle {
		 width: 20px;
		 height: 20px;
		 /*line-height: 20px;
		 border-radius: 10px;
		 background: white;
		 color: blue;*/
		 margin-left: auto;
		 display: block;
		 text-align: center;
		 padding: 0!important;
		 margin: .75rem 0;
	 }
	 
	 nav {
		 padding: 0 1rem;
		
	 }
	 
	 nav ul {
		 display: none;
		 position: absolute;
		  top: 44px;
		 	background: #E15528;
		 background: black;
	 }
	 
	 nav.visible ul {
		display: block;
		 top: 44px;
	 }
	 
slide h2 {
	background: #E15528;
	color: white;
	padding: .5rem;
	font-size: 1.25rem;
	bottom: 1rem;
	left: 5%;
	
}
	 
	 .before-after, .before, .after {
		 display: block;
		 width: 100%;
	 }
	 
	 .before-after img {
		 width: 100% !important;
		 height: auto;
	 }
	 
	 
	 
   /* end media query */ }





