@font-face {
    font-family: Avenir;
    src: url(../fonts/Avenir-Medium.woff);
}

@font-face {
    font-family: Avenir;
    font-weight: 100;
    src: url(../fonts/Avenir-Light.woff);
}


@font-face {
    font-family: Futura;
    font-weight: bold;
    src: url(../fonts/Futura-Medium.woff);
}

@charset "UTF-8";

body {
	font-family: Avenir;
	font-weight: 100;
	letter-spacing: 2px;
	overflow-x: hidden;
}

.container {
	max-width: 80em;
	width:90%;
	margin:0 auto;
}

h1 {
	font-family: Futura;
	letter-spacing: 4px;
}

h2 {
	font-family: Avenir;
	font-size:1.7em;
	text-transform: uppercase;
}

p {
	
}

.clear {
	clear:both;
}

.hero {
	width:100%;
	height:100vh;
	background:url(../images/hero.jpg) no-repeat;
	background-size:cover;
	position: relative;
	background-attachment: fixed;
}

.hero h1 {
	font-size:3em;
	margin-top: 11vh;
}

.hero h2 {
	font-size:2.2em;
	margin-top:20px;
}

.advert {
	background: red;
	display: flex;
	justify-content: center;
	padding: 20px 0;
	color: white;
	font-weight: bold;
}

.top {
	padding-top:20px;
}

.top a {
	text-decoration: none;
	color:#FFF;
	text-transform: uppercase;
}

.top .phone {
	text-align: center;
	display: block;
}

.top .main-nav {
	display: none;
	width: 100%;
    text-align: center;
}

.top .main-nav li {
	display: block;
	width:90%;
}

/*
.top .email {
    display: block;
    text-align: center;
    margin-top:20px;
}
*/

.top .logo {
    max-width: 210px;
    width:100%;
    margin: 30px auto;
    display: block;
}

.hero .heading {
	color: #FFF;
	text-transform: uppercase;
	position: absolute;
	left: 0;
	right:0;
	top:0;
	bottom:0;
	height:50vh;
	margin:auto;
	text-align: center;
}

.hero .heading:before {
	position: absolute;
	content:"";
	top:-20px;
	left:0;
	right:0;
	margin:0 auto;
	width:200px;
	height:3px;
	display: block;
	background: #FFF;
}

.hero .heading:after {
	position: absolute;
	content:"";
	bottom:-20px;
	left:0;
	right:0;
	margin:0 auto;
	width:100px;
	height:3px;
	display: block;
	background: #FFF;
}

.about {
	background: rgb(246,246,244);
	margin:50px auto;
	padding:50px 0;
	text-align: center;
}

.about h2 {
	font-weight: bold;
	margin-bottom:40px;
	text-transform: uppercase;
}

.about p {
	line-height: 1.7em;
	letter-spacing: 1px;
	
}

.about .articles {
	margin-top:50px;	
}

.about .articles a {
	color: #333;
    display: block;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7em;
    position: relative;
    padding-left:20px;
}

.about .articles a:before {
	position: absolute;
	left:0;
	top:0;
	content: "•";
	
}

.spacer {
	width: 100%;
	height:300px;
	background: url(../images/legs.jpg) no-repeat;
	background-size:cover;
	display: table;
}

.spacer h2 {
	color:#FFF;
	text-align: center;
	font-size:2.2em;
	line-height: 1.4em;
	font-weight: bold;
	display: table-cell;
	vertical-align: middle;
}

.services h2 {
	text-align: center;
	font-weight: bold;
	margin:50px 0;
}

.services .dropdown .body {
	display:none;
}

.services .dropdown:first-child .body {
	display:block;
}

.services .dropdown {
	margin-bottom:20px;
}

.services .dropdown .title {
	width:100%;
	display: block;
	background-color: rgb(14,15,39);
	min-height: 40px;
	position: relative;
	cursor: pointer;
}

.services .dropdown .title:before {
	content:"";
	background-color: rgb(61,85,146);
	background-image: url(../images/arrow.png);
	background-position: center;
	background-size:15px;
	background-repeat:no-repeat;
	width:40px;
	height:100%;
	display: block;
	position: absolute;
	
}

.services .dropdown .title h3 {
	color:#FFF;
	padding-top:12px;
	padding-bottom:10px;
	margin-left:50px;
	line-height: 1.3em;
}

.services .dropdown .body {
	background: rgb(246,246,244);
	width:90%;
	padding:40px 0;
	margin-left:40px;
	line-height: 1.3em;
}

.services .dropdown .body p {
	width:90%;
	margin:0 auto;
}

.our-team h2 {
	text-align: center;
    font-weight: bold;
    margin: 50px 0;
}

.our-team .members {
	text-align: center;
	margin-bottom:60px;
	display: flex;
}

.our-team .member {
	display:inline-block;
	width:100%;
	vertical-align: top;
	border:2px #ccc solid;
	min-height: 580px;
	border-radius: 14px;
	margin-right:15px;
	margin-left:15px;
	margin-bottom: 40px;
}

.our-team .member .inner {
	width:90%;
	margin:0 auto;
}

.our-team .member img {
	display: block;
	width:200px;
	margin:40px auto;
/*
	-webkit-filter: grayscale(1);
    filter: grayscale(1);
*/
}

.our-team .member h3 {
	font-family: Avenir;
	letter-spacing: 1px;
	font-size:1em;
	font-weight: bold;
	line-height: 1.4em;
	margin-bottom:30px;
}

.our-team .member p {
	font-size:0.9em;
	letter-spacing: 0;
	line-height: 1.5em;
	margin-bottom:10px;
}

#map-canvas {
	width:100%;
	height:300px;
}

.contact h2 {
	text-align: center;
	display: block;
	margin:50px auto;
}

.contact .contact-info {
	background:url(../images/hero.jpg) no-repeat;
	background-size:cover;
	color:#FFF;
	padding:50px 0;
}

.contact .contact-info p {
	margin:10px auto;
	max-width:500px;
	width:100%;
	line-height: 1.4em;
}

.contact .contact-info a {
	color:#FFF;
	text-decoration: none;
}

.job-popup {
    max-width: 500px;
    height: 200px;
    padding: 40px 0;
    border-radius: 20px;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 99999999999;
    text-align: center;
    background: #FFF;
    box-shadow: 0 0 0 9999px rgba(0,0,0,.5), 0 0 15px rgba(0,0,0,.5);
    display: none;
    overflow-y: auto;
    text-align: center;
    line-height: 1.4em;
    font-size: 1.2em;
}

.job-popup p {
	width:90%;
	margin: 0 auto;
}

.job-popup a {
	color: #333;
}

.job-popup button {
	display: block;
	margin: 20px auto;
	background: transparent;
	border-radius: 20px;
	padding: 10px 20px;
	font-size: 0.9em;
	color: #333;
	border-color: #333;
	cursor: pointer;
}

.job-popup button:hover {
	background: #333;
	color: #fff;
}


.job-popup.active {
	display: block;
}

@media screen and (min-width: 900px) {
    
.top .phone {
	float: left;
    display: block;
    width: 20%;
    margin-top:13px;
}

.top .main-nav {
	display: block;
	width: 60%;
    text-align: center;
    float:left;
    margin-top:13px;
}

.top .main-nav li {
	display: inline-block;
	width:23%;
}

/*
.top .email {
	float: right;
    display: block;
    width: 20%;
    text-align: right;
    margin-top:0;
}
*/

.top .logo {
    max-width: 200px;
    width:100%;
    float:right;
    margin-top:0;
}
}