html {
	margin:0;
	padding:0;
    /* Adjust font size */
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    /* Font varient */
    font-variant-ligatures: none;
    -webkit-font-variant-ligatures: none;
    /* Smoothing */
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    text-shadow: rgba(0, 0, 0, .01) 0 0 1px;
	min-width:350px;
}

body {
	background-color:#222222;
	margin:0;
	height:auto;
}

#main {
	width:100%;
	height:100%;
	max-width:750px;
	background-color:#323132;
	color:#ffffff;
	margin:0 auto;
	padding:30px 50px 0 50px;
	box-sizing: border-box;
}

#menu {
	height:70px;
	background-image:url("../images/logo.png");
	background-repeat:no-repeat;
	border-bottom:1px solid white;
}

#home {
	width:129px;
	height:47px;
	position:absolute;
}

#navigation {
	width:100%;
	height:60px;
	margin:0 0 25px 0;
	display:flex;
	align-items:center;
	border-bottom:1px solid white;
}

#hamburger {
	background-image:url("../images/hamburger.png");
	width:55px;
	height:47px;
	float:right;
}

.hide {
	display:none;
}

.highlight {
	background-color:#404041;
	margin:0 -50px 25px -50px;
	padding:0 50px 10px 50px;
	width:100%;
}

/* REQUIRED FOR UNIFORM */

.uniform__potty {
    position: absolute;
    left: -9999px;
}

/* TEXT STYLES */

h1 {
	margin:25px 0 25px 0;
	font-family:Barlow;
	font-weight:800;
	font-size:4em;
}

h2 {
	margin:25px 0 25px 0;
	font-family:Barlow;
	font-size:2.5em;
}

h3 {
	font-family:inherit;
	margin:0;
	padding:0;
	color:#fff;
	font-size:2em;
	font-family:"Barlow";
}

h4 {
	margin:20px 0;
	font-size:1.33em;
	font-family:Barlow;
	font-weight:500;
}

h5 {
	font-family:"Merriweather";
	font-size:0.8em;
	margin:0 0 20px 0;
	font-style:italic;
	text-align:center;
}

p {
	font-family:Merriweather;
	font-size:1em;
	line-height:1.5;
}

a {
	color:#ffffff;
}

a:hover {
	text-decoration:none;
}

.unstyled {
	text-decoration:none;
}

ul li {
	font-family:Merriweather;
	font-size:1em;
	line-height:1.5;
	list-style-type: square;
}

#navigation ul {
	display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
}

.center {
	text-align:center;
}

/* ELEMENT STYLES */

img {
	margin:25px 0 25px 0;
}

.column-1 {
	width:100%;
	height:auto;
}

hr {
	border:0;
	height:1px;
	width:100%;
	margin:0 0 20px 0;
	background:#ffffff;
}

iframe .center {
	margin:0 auto;
}

.videowrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 1em;
	height: 0;
}
.videowrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.floated {
	float:right;
	margin:0 0 20px 20px;
	background-color:#606060;
	padding:0 20px 0 20px;
	font-size:0.8em;
	text-align:center;
	line-height:normal;
	font-weight: 300;
	font-style: italic;
}

/* MENU STYLES */

#navigation ul {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
}

#navigation li {
  list-style-type: none;
  margin: 0 0.75em 0 0.75em;
  font-family: Barlow;
  font-weight: 800;
  font-size: 30px;
  text-transform: uppercase;
}

#navigation a {
	text-decoration:none;
	color:#CCC;
}

#navigation .active {
	text-decoration:none;
	color:#ffffff;
}

#navigation a:hover {
	text-decoration:none;
	color:#ffffff;
}

/* HOMEPAGE */

.caption p {
	margin:0 0 30px 0;
	font-size:0.8em;
	text-align:center;
	line-height:normal;
	font-weight: 300;
	font-style: italic;
}

/* WORK PAGE */

#resume {
	width:100%;
	background-color:#404041;
	margin:30px 0 30px 0;
	text-align:center;
}

#resume h3 {
	font-family:inherit;
	color:#fff;
	font-size:2em;
	font-family:"Barlow";
	padding:15px;
}

#experience {
	display:block;
}

#experience h1 {
	margin:30px 0 20px 0;
	font-size:3em;
	font-family:Barlow;
}

#experience h2 {
	margin:0;
	font-size:2em;
	font-family:Barlow;
	font-weight:400;
}

#experience h3 {
	margin:0;
	line-height:1.25em;
	font-size:1.33em;
	font-family:Barlow;
	font-weight:200;
}

#experience h4 {
	margin:20px 0;
	font-size:1.33em;
	font-family:Barlow;
	font-weight:500;
}

#experience p {
	font-family:Merriweather;
	font-size:16px;
	line-height:1.5;
	margin:8px 0 8px 0;
}

#experience hr {
	border:0;
	height:1px;
	width:100%;
	margin:30px 0 30px 0;
	background:#404041;
}

#qualifications ul {
	margin:8px 0 8px 0;
	padding:0 0 0 20px;
}

#qualifications {
	display: flex;
	margin: 0 0 30px 0;
	flex-wrap:wrap;
	flex-flow:center;
    flex-direction:row;
    justify-content:space-between;
    align-items:stretch;
}

#qualifications .left {
	order:1;
	flex-basis:50%;	
}

#qualifications .right {
	order:2;
	flex-basis:40%;
}

#qualification > div {
	margin:0 5px 0 5px;
}

#qualifications h1 {
	margin:0;
	font-size:2em;
	font-family:Barlow;
}

#qualifications h2 {
	margin:0;
	font-size:1.33em !important;
	font-family:Barlow;
	font-weight:200;
}

#qualifications p {
	font-family:Merriweather;
	font-size:16px;
	line-height:1.5;
	margin:8px 0 8px 0;
}

#qualifications ul {
	margin:8px 0 8px 0;
	padding:0 0 0 20px;
}

#qualifications ul li {
	font-family:Merriweather;
	font-size:16px;
	line-height:1.5;
}

#qualifications .column {
	width:50%;
}

/* CONTACT PAGE */

#contact-form {
	display:flex;
	margin:0 0 50px 0;
	flex-wrap:wrap;
    flex-direction:row;
    justify-content:flex-start;
    align-items:stretch;
}

#contact-form h2 {
	text-align: center;
	font-size:2.25em;
}

#contact-form h3 {
	font-family:"Barlow";
	font-size:1.5em;
	font-weight: 400;
	text-align: center;
}

#recaptcha {
	width:100%;
}

#left {
	order:1;
	flex-basis:100%;
	margin:30px 0;
	padding:25px;
	background-color:#606060;
}

#right {
	order:2;
	flex-basis:100%;
	width:50%;
	padding:25px;
}

/* FOOTER STYLES */

#footer {
	width:100%;
	display:flex;
	padding:0 0 70px 0;
	font-family:Barlow;
	font-weight:200;
	font-size:20px;
	text-transform:uppercase;
}

.copyright {
	width:50%;
}

.footer-navigation {
	width:50%;
	text-align:right;
}

.footer-navigation a {
	text-decoration:none;
	color:#CCC;
}

.footer-navigation .active {
	text-decoration:none;
	color:#ffffff;
}

.footer-navigation a:hover {
	text-decoration:none;
	color:#ffffff;
}

/* Alerts messages
-------------------------------------------------- */
.alert {
  padding: .7rem 1rem;
  font-size: 16px;
	
	text-align: center;
  color: #fff;
  background: #111;
  position: relative;
  border-radius: 3px;
}
.alert p {
  margin-bottom: .5rem;
  font-family: "Barlow";
}
.alert p:last-of-type {
  margin-bottom: 0;
}
.alert a {
  color: inherit;
  font-weight: bold;
}
.alert.error {
  background: #f40000;
}
.alert.success {
  background: #5ccc79;
}

/* Forms
-------------------------------------------------- */
form {
  font-size: 1.33em;
	display:block;
	font-family:"Barlow";
  padding: 0.5em;
}
form .field {
  width: 100%;
  display: inline-block;
  margin-bottom: 1.5rem;
}
form .honeypot {
  position: absolute;
  overflow: hidden;
  width: 0;
  height: 0;
  pointer-events: none;
}
form .alert {
  padding: 0 .5em;
  margin: 0 0 .5em;
  font-size: .86em;
  display: inline-block;
}
form label {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600;
  cursor: pointer;
}
form .field.error label {
  color: #f40000;
}
form input:not([type="button"]):not([type="submit"]),
form textarea {
  width: 90%;
  border: 2px solid #ddd;
  padding: .5rem;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.5em;
}
form input:not([type="button"]):not([type="submit"]):focus,
form textarea:focus {
  border-color: #000;
}
form textarea {
  height: 10em;
  resize: vertical;
}
form button,
form input[type="button"],
form input[type="submit"] {
  padding: .5rem 1.5rem;
  line-height: 1.5em;
  font-family: inherit;
  font-size: inherit;
  border: 0;
  font-weight: 600;
  /*width: 100%;*/
  cursor: pointer;
  background: rgba(0, 0, 0, 0.8);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  transition: color .15s ease-out, background-color .15s ease-out;
  border-radius: 2px;
}
form button::-moz-focus-inner,
form input[type="button"]::-moz-focus-inner,
form input[type="submit"]::-moz-focus-inner {
  border: 0;
  padding: 0;
}
form button:hover,
form input[type="button"]:hover,
form input[type="submit"]:hover {
  background: #000;
  color: #fff
}