:root {
	--orange:#d36a26;
}

.group:after {
  content: "";
  display: table;
  clear: both;
}

* {
    padding:0;
    margin:0;
    box-sizing: border-box;
	font-family:inherit;
	color:inherit;
}

img {
	display:block;
	max-width:100%;
}

.wrap {
  position:relative;
  width:1220px;
  padding:0 10px;
  max-width:100%;
  margin:0 auto;
  clear:both;
}

#burger,
#burger2,
#mobnav {
  display:none;
}

body {
    font-size:62.5%;
	font-family: 'Open Sans', sans-serif;
	color:#4d4d4f;
}

header {
	float:left;
	clear:left;
    width:100%;
	background-color:#fff;
}

    nav {
		float:right;
		margin-top:5em;
    }
  
		nav ul {
			list-style: none;
			float:left;
		}
		
			#mainnav li,
			#mainnav li a {
				float:left;
				color:#939598;
			}
			
			nav ul li a {
				font-size:1.4em;
				font-weight:600;
				text-decoration: none;
				padding:1em;
			}
			
				#mainnav li a:hover,
				#mainnav .active{
					color:#d36a26; /* orange */
				}

    #logo {
		float:left;
		width:381px;
		max-width:100%;
		margin:3em 0;
    }
  
		#logo img {
			width:100%;
		}

.flex {
  display:-webkit-flex;
  display:flex;
  -webkit-flex-direction:row;
  flex-direction:row;
  -webkit-flex-wrap:wrap;
  flex-wrap:wrap;
}

.fcw {
  float:left;
  clear:left;
  width:100%;
}

.grey {
	background-color:#f0f0f0; /* l grey */
}

.c-upper {
	position:absolute;
	width:100%;
	height:35px;
	left:0;
	top:-35px;
	z-index: 6;
}

.c-lower {
	position:absolute;
	width:100%;
	height:35px;
	left:0;
	bottom:-35px;
	z-index: 6;
}

h1,h2,h3,h4,h5,h6 {
	margin-bottom:1em;
	font-weight:normal;
	color:#1b3547; /* d blue */
}

.left {
	float:left;
}

.right {
	float:right;
}

.main p,
.main li{
	font-size:1.4em;
	line-height:1.6;
	margin-bottom:1em;
}

.main ul,
.main ol {
	margin:2em;
}

  .main li {
    padding-left:1em;
  }

.align_left {
  float:left;
}

.align_right {
  float:right;
}

.align_center {
  text-align: center;
}

img.align_left {
  margin:1% 5% 5% 0;
}

img.align_right {
  margin:1% 0 5% 5%;
}

img.align_center {
  display:block;
  margin-left:auto;
  margin-right:auto;
}

.orange-btn {
	background-color: #d36a26;
	color: #fff;
	text-transform: uppercase;
	font-size: 1rem;
	font-weight: 600;
	margin-top: 1.2em;
	padding: 0.3em 0.7em;
	border-radius: 10em;
	text-decoration: none;
}
  
footer {
	float:left;
	clear:both;
	position:relative;
	width:100%;
	background-color:#f0f0f0;
	padding:3% 0 0 0;
}

	.third {
		float:left;
		width:33.333333333%;
		padding-right:5%;
	}
	
	footer h3 {
		font-size:2em;
	}
	
	footer .third p {
		font-size:1.5em;
		line-height: 1.7;
		margin-bottom:1em;
	}
	
	.third:nth-of-type(3n) {
		padding-right:0;
	}
	
	#map {
		float:right;
	}

	.copyright {
		background-color:#d36a26; /* orange */
		color:#fff;
		margin-top:3%;
	}
	
		.copyright p {
			font-size:1.2em;
			width:100%;
			text-align: center;
			padding:1em 0;
		}

.popup {
	position:fixed;
	z-index:50;
	text-align: center;
	width:100%;
	height:100%;
	left:0;
	top:0;
	background-color:rgba(0,0,0,0.5);
}

	.popup .text {
		position:absolute;
		top:50%;
		left:50%;
		transform: translate(-50%, -50%);
		width:650px;
		max-width:100%;
		text-align: center;;
		background-color:#273744;
		padding:2.5%;
		box-shadow:0px 0px 10px 0px rgba(0,0,0,0.4);
		border-radius:1em;
	}

		.popup .text h2 {
			font-size:3em;
			text-transform: none;
			letter-spacing: 0;
			margin-bottom:1em;
			color:#fff;
		}

		.popup .text p {
			font-size:1.4em;
			margin-bottom:1em;
			color:#fff;
		}

		#hide {
			position:absolute;
			right:1em;
			top:1em;
			font-size:2em;
			color:#fff;
			font-weight:bold;
		}
  
@media screen and (max-width:999px) {
	
	.wrap {
		padding:0 3%;
	}
  
  #mainnav {
    display:none;
  }
  
  #burger {
    width:20px;
	display:block;
	float:right;
	margin-top:8.5em;
  }  
        
		#mobnav {
			background-color:#fff;
			position:absolute;
			top:0;
			border-left:2px solid #eee;
			border-right:2px solid #eee;
			right:1.5%;
			padding-top:7.6em;
			z-index:10;
		}
		
		#mobnav p {
			float:left;
			font-size:1.4em;
			font-weight:600;
			text-decoration: none;
			padding:1em;
		}
		
		#close {
			float:right;
			padding:1em;
			margin-right:0.35em;
		}
		
		#mobnav ul {
			clear:left;
			width:100%;
		}
		
			#mobnav ul li {
				float:left;
				clear:left;
				width:100%;
			}
		
			#mobnav ul li a {
				float:left;
				clear:left;
				width:100%;
				padding:0.5em 1em;
				border-bottom:1px solid #eee;
			}
}

@media screen and (max-width:599px) {
	.c-upper,
	.c-lower {
		height:20px;
	}
	
	.c-upper {
		top:-20px;
	}
	
	.c-lower {
		bottom:-20px;
	}
	
	footer .third {
		display:none;
	}
}

@media screen and (max-width:459px) {
	
	header .wrap {
		padding:0;
	}
	
	#logo {
		padding:0 3%;
		width:100%;
	}
	
	nav {
		float:left;
		clear:left;
		width:100%;
		background-color:#d36a26; /* orange */
		margin:0;
	}
	
	#burger,
	#close{
		display:none;
	}
	
	#burger2 {
		display:block;
		float:right;
		padding:1.5em;
	}
	
	#mobnav {
		position:relative;
		padding:0;
		border:0;
		right:0;
		float:left;
		clear:left;
		width:100%;
	}
	
		#mobnav p {
			display:none;
		}
		
		#close {
			background-color:#fff;
			position:absolute;
			top:0;
		}
}