@charset "utf-8";
/* CSS Document */

  body {
	  font-size: 15px;
  }
  @media (min-width: 800px) {
  	body {
		font-size: 18px;
	}
  }
  @media (min-width: 1200px) {
    body {
		font-size: 23.4px;
	}
  }

body {
	font-family: 'Droid Serif', Georgia, serif;
	line-height: 1.6;
	font-weight: 400;
    color: #999;
    background: #161616;
}
::-moz-selection { background: #f7b518; color: #161616; }
::selection { background: #f7b518; color: #161616;}
.highlighted { background: #f7b518; color: #161616;}
a {
	color: #f7b518;
	text-decoration: none;
}
	a:hover, a:focus {
		border-bottom: 1px solid;
		opacity: 0.85;
	}
p {
	font-size: 1.2em;
}
h1 {
	color: white;
	font-size: 2.827em;
}
h2 {
	color: white;
	font-size: 2.827em;
	line-height: 1.1;
}
h3 {
	color: white;
	font-size: 1.999em;
}
header[role='banner'] {
	max-width: 1000px;
	margin: 0 auto;
	position: relative;
	padding: 1.25em;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}
	.logo {
		text-align: center;
	}
		.logo > a:hover {
			border-bottom: none;
		}
	nav {
		text-align: right;
	}
		nav ul {
			list-style-type: none;
		}
			nav ul li {
				display: inline-block;
			}
				nav ul li a {
					border-bottom: 1px solid #f7b518;
					color: #f7b518;
					text-decoration: none;
				}
	
	
section#main {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 1.25em;
}
article {
	margin-bottom: 100px;
}
	article header h2:after {
		content: '';
		-webkit-transform: translateY(1px);
		transform: translateY(1px);
		width: 15%;
		max-width: 400px;
		height: 1px;
		background: #f7b518;
		display: block;
		margin-top: 30px;
	}
footer {
	text-align: center;
}
	footer p {
		font-size: 16px;
	}

.nowrap {
	white-space: nowrap;
}

/* === Remove input autofocus webkit === */
*:focus {outline: none;}

/* === Form Typography === */
.form_hint, .required_notification {font-size: 11px;}

/* === List Styles === */
.contact_form ul {
    max-width: 750px;
    list-style-type:none;
	list-style-position:outside;
	margin:0px;
	padding:0px;
}
.contact_form li:not(:first-child):not(:last-child) {
	padding:12px; 
	border-bottom:1px solid #333;
	position:relative;
} 

.alert {
	padding: 15px;
	margin-bottom: 20px;
	border: 1px solid transparent;
	border-radius: 4px;
}
.alert-success {
	background-color: #dff0d8;
	border-color: #d6e9c6;
	color: #3c763d;
}
.alert-danger {
	background-color: #f2dede;
	border-color: #ebccd1;
	color: #a94442;
}

.required_notification {
  color: #d45252;
  display: block;
  padding-bottom: 30px;
  text-align: right;
}

/* === Form Elements === */
form {
	overflow: hidden;
}
.contact_form label {
	width:280px;
	margin-top: 3px;
	display:inline-block;
	float:left;
	padding:3px;
	margin-right: 20px;
}
.contact_form input {
	height:25px; 
	width:220px; 
	padding:5px 8px;
}


	/* form element visual styles */
	.contact_form textarea {padding:8px;}
	.contact_form input, .contact_form textarea { 
		border:1px solid #aaa;
		box-shadow: 0px 0px 3px #ccc, 0 10px 15px #eee inset;
		border-radius:2px;
		padding-right:30px;
		-moz-transition: padding .25s; 
		-webkit-transition: padding .25s; 
		-o-transition: padding .25s;
		transition: padding .25s;
	}
	.contact_form input:focus, .contact_form textarea:focus {
		background: #fff; 
		border:1px solid #555; 
		box-shadow: 0 0 3px #aaa; 
		padding-right:70px;
	}

/* === HTML5 validation styles === */	
.contact_form input:required, .contact_form textarea:required {
	background: #fff url(../images/red_asterisk.png) no-repeat 98% center;
}
.contact_form input:required:valid, .contact_form textarea:required:valid {
	background: #fff url(../images/valid.png) no-repeat 98% center;
	box-shadow: 0 0 5px #5cd053;
	border-color: #28921f;
}
.contact_form input:focus:invalid, .contact_form textarea:focus:invalid {
	background: #fff url(../images/invalid.png) no-repeat 98% center;
	box-shadow: 0 0 5px #d45252;
	border-color: #b03535
}

/* === Form hints === */
.form_hint {
	background: #d45252;
	border-radius: 3px 3px 3px 3px;
	color: white;
	margin-left:8px;
	padding: 1px 6px;
	z-index: 999; /* hints stay above all other elements */
	position: absolute; /* allows proper formatting if hint is two lines */
	display: none;
}
.form_hint::before {
	content: "\25C0";
	color:#d45252;
	position: absolute;
	top:1px;
	left:-6px;
}
.contact_form input:focus + .form_hint {display: inline;}
.contact_form input:required:valid + .form_hint {background: #28921f;}
.contact_form input:required:valid + .form_hint::before {color:#28921f;}
	
/* === Button Style === */
button {
  background: #f7b518 none repeat scroll 0 0;
  border: medium none;
  border-radius: 3px;
  color: #161616;
  font-family: 'Droid Serif', Georgia, serif;
  font-size: 18px;
  margin-top: 30px;
  padding: 15px 40px;
  text-align: center;
}
button:hover {
	opacity:.85;
	cursor: pointer; 
}
button:active {
	border: 1px solid #20911e;
	box-shadow: 0 0 10px 5px #356b0b inset; 
	-webkit-box-shadow:0 0 10px 5px #356b0b inset ;

	-moz-box-shadow: 0 0 10px 5px #356b0b inset;
	-ms-box-shadow: 0 0 10px 5px #356b0b inset;
	-o-box-shadow: 0 0 10px 5px #356b0b inset;
	
}

button {
	width: 100%;
}
@media only screen and (min-width: 768px) {
	button {
		width: auto;
		float: right;
	}
}

@media only screen and (min-width: 1025px) {
	header[role='banner'] {
		padding: 3em 1.25em;
	}
		nav {
			position: absolute;
			right: 0;
			top: 29px;
		}
}