@import url(http://fonts.googleapis.com/css?family=PT+Mono|Oswald:700,400);

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


body {
	width: 95%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
	font-size: 16px;
	line-height: 1.5;
}

article.model{
	max-width: 800px;
	margin: auto;
}

article p {
	font-size: 1.25em;
	font-family: georgia, times, "times new roman", serif;
}

p{
	font-size: .8em;
}

a, a:visited {
	text-decoration: none;
	color: hotpink;
}
a:hover {
	color: firebrick;
}

header h1 {
	font-family: Oswald, Trebuchet, sans-serif;
	font-size: 2em;
	padding-top: 2em;
	margin-top: 0;
	font-weight: normal;
	background: black;
	color: white;
	text-transform: uppercase;	
	text-align: center;
	-webkit-border-bottom-right-radius: 1em;
	-webkit-border-bottom-left-radius: 1em;
	-moz-border-radius-bottomright: 1em;
	-moz-border-radius-bottomleft: 1em;
	border-bottom-right-radius: 1em;
	border-bottom-left-radius: 1em;
}

h2 {
	
	font-size: 3em;
	line-height: 1em;
	font-weight: normal;
	font-family: Oswald, Trebuchet, sans-serif;
	text-transform: uppercase;
  
    margin-top: 0;
	padding: .5rem;
}

h3 {
	font-size: .8em;
	font-weight: normal;
	margin-top: 0;
	font-family: "PT Mono";
}

h4 {
	font-size: .8em;
	font-weight: normal;
	font-family: Oswald, Trebuchet, sans-serif;
	margin-top: 0;
}


img {
	max-width: 100%;
	height: auto;
	border: 1px solid #ccc;
}


header nav ul {
	margin: 1em 0;
	padding: 0;
	background: black;
	color: white;
	font-size: 1em;
	font-family: Oswald, Trebuchet, sans-serif;
	font-weight: normal;
}

nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}



section {
	margin-bottom: 2em;
}



label {
	display: block;
	font-size: .7em;
}

input, textarea {
		width: 100%;
		margin-left: auto;
		margin-right: auto;
	}


input {
	margin-bottom: .5em;
	
}

textarea {
	
	min-height: 5em;
}


input[type="submit"] {
	margin-top: .5em;
	color: white;
	display: block;
	width: 100%;
	font-size: 1.5em;
	box-sizing: content-box;
	padding: 0;
	
	background: #4c4c4c; /* Old browsers */
background: -moz-linear-gradient(top,  #4c4c4c 0%, #595959 12%, #666666 25%, #474747 39%, #2c2c2c 50%, #000000 51%, #111111 60%, #2b2b2b 76%, #1c1c1c 91%, #131313 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4c4c4c), color-stop(12%,#595959), color-stop(25%,#666666), color-stop(39%,#474747), color-stop(50%,#2c2c2c), color-stop(51%,#000000), color-stop(60%,#111111), color-stop(76%,#2b2b2b), color-stop(91%,#1c1c1c), color-stop(100%,#131313)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#000000 51%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#000000 51%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#000000 51%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313 100%); /* IE10+ */
background: linear-gradient(to bottom,  #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#000000 51%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c4c4c', endColorstr='#131313',GradientType=0 ); /* IE6-9 */

	
}

/* === Footer  =========================================================== */

footer{
	text-align: center;
	margin-top: 3em;
}

footer a {
	color: black;
	text-decoration: none;

}

/* === Standard UTILITY CLASSES ========================================= */


.clearfix:before,
.clearfix:after {
    content: " "; 
    display: table; 
}

.clearfix:after {
    clear: both;
}

.clearboth {
	clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.clearfix {
    *zoom: 1;
}

/* === END Standard UTILITY CLASSES ========================================= */



/* === MEDIA QUERIES =======================================================*/



@media screen and (max-width: 840px){
	header nav ul {
		font-size: 1em;
		line-height: 2em;
	}

	h2 {
		font-size: 1em;
		line-height: 1.5em;
		background: black;
		color: white;
		text-align: center;
		font-weight: normal;
		/* margin: 0; */
	}
	
	section {
		position: relative;
	}
	
	section h3 {
		position: absolute;
		right: 1em;
		top: 1em;
	}
	
	nav ul li.grid_2 {
		width: 50%;
		margin-bottom: 1em;
		font-size: 1em;
		color: black;
		text-align: center;
		float: left;
	}
	
	header nav ul{
		background: white;
	}

}

@media screen and (min-width: 840px) {
	h2 {
		font-size: 2.8rem;
		margin-top: 0;
		line-height: 1;
		padding: 0;
	}
}

/* END MEDIA QUERIES */
