/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */ 

/*
img, iframe, object, embed, video {
    width: 100%;
    max-width: 100%;
}
*/

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
	margin: 0 auto;
	padding: 0;
}
a {
	text-decoration: none;
}

a {
    opacity: 1;
	color: #999;
	text-decoration: none;
    text-transform: lowercase;
    text-shadow: 0px 0px 1px white;
}

a:visited {
    opacity: 1;
	color: #999;
	text-decoration: none;
    text-transform: uppercase;
    text-shadow: 0px 0px 2px white;
	text-decoration: none;
}

a:hover {
    color: white;
	opacity: 1.0;
	text-transform: uppercase;
	text-decoration: none;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}


/* ==========================================================================
   Typography
   ========================================================================== */

/**
 * Address font sizes and margins set differently in IE 6/7.
 * Address font sizes within `section` and `article` in Firefox 4+, Safari 5,
 * and Chrome.
 */

h1 {
	font-family: 'Montserrat', Arial, serif;
    font-size: 2.5em;
    margin:0;
}

h2 {
	font-family: 'Montserrat', Arial, serif;
    font-size: 1.6em;
    margin:0;
}

h3 {
	font-family: 'Montserrat', Arial, serif;
    font-size: 1.4em;
    margin:0;
}

h4 {
	font-family: 'Montserrat', Arial, serif;
    font-size: 1em;
    margin:0;
}

h5 {
	font-family: 'Montserrat', Arial, serif;
    font-size: 0.83em;
    margin:0;
}

h6 {
	font-family: 'Montserrat', Arial, serif;
    font-size: 0.67em;
    margin:0;
}
p{
	font-family: 'Montserrat', Arial, serif;
    font-size: 14px;
    margin:0;
}

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

img,
embed,
object,
video{
	display: block;
	max-width: 100%;
    height: auto;
	margin: 0 auto;
}

.page-wrapper{
	width: 1152px;
	height: auto;
	margin: 0 auto;
	padding: 0;
	background: rgb(51,41,0); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(51,41,0,1) 20%, rgba(239,225,119,1) 85%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(51,41,0,1) 20%,rgba(239,225,119,1) 85%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(51,41,0,1) 20%,rgba(239,225,119,1) 85%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#332900', endColorstr='#efe177',GradientType=0 ); /* IE6-9 */
}

/* ==========================================================================
   Header styles
   ========================================================================== */

header{
	width: 100%;
	height: auto;
	margin: 0.25em auto 1em;
	padding: 0;
}
svg{
	width: 90%;
	height: auto;
	margin: 1% 0 1% 4.5%;
	padding: 0;
}
.page-title{
	width: 100%;
	height: auto;
	margin: 0 auto;
	padding: 0;
}
.social-wrapper{
	width: 100%;
	height: 2.45em;
	margin: 0.25em auto 1em;
	padding: 0;
}
.facebook {
 margin: 0;
 width: 64px;
 height: 64px;
 display:inline-block;
 background:transparent url('../img/facebook_base40.png') center top no-repeat;
}
.facebook:hover {
   background-image: url('../img/facebook_rollover40.png');
}
.youtube {
 margin: 0;
 width: 64px;
 height: 64px;
 display:inline-block;
 background:transparent url('../img/youtube_base40.png') center top no-repeat;
}
.youtube:hover {
   background-image: url('../img/youtube_rollover40.png');
}
/* ==========================================================================
   Navigation styles
   ========================================================================== */
.roscoe-navigation{
	width: 100%;
	height: auto;
	margin: 0.25em auto 3em auto;
	padding: 0; 
}
/* ==========================================================================
   Page content styles
   ========================================================================== */ 
main{
	width: 100%;
	height: auto;
	margin: 4em auto 0;
	padding: 0;
}
.page-heading{
	width:100%;
	height: auto;
	margin: 0 auto;
	padding: 0.75em 0 0;
	line-height: 2.5em;
	color: #FFF;
	text-align: center;
}
article{
	width: 96.6%;
	height: auto;
	margin: 0 auto;
	padding: 1.7%;
	text-align: center;
	color: #FFF;
}
.image-container{
	width:100%;
	height: auto;
	margin: -4em auto 0;
	padding: 0;
} 
.copy-container{
	float: right;
	position: relative;
	top: -1em;
	right: 0.5em;
	width: 67%;
	height: 27em;
	margin: 0;
	padding: 0.5em 1em 0;
	-webkit-border-radius: 24px 20px 20px 20px;
	-moz-border-radius: 24px 20px 20px 20px;
	border-radius: 24px 20px 20px 20px;
	-webkit-box-shadow: #000000 0px 8px 16px;
	-moz-box-shadow: #000000 0px 8px 16px; 
	box-shadow: #000000 0px 8px 16px;
	background: rgb(239,225,119); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(239,225,119,1) 0%, rgba(51,41,0,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(239,225,119,1) 0%,rgba(51,41,0,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(239,225,119,1) 0%,rgba(51,41,0,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#efe177', endColorstr='#332900',GradientType=0 ); /* IE6-9 */
}
@media only screen and (max-width : 1024px) {
	.page-wrapper{
	width: 99%;
	}
}
@media only screen and (max-width : 896px) {
	.page-wrapper{
	width: 98%;
	}
} 
@media screen and (max-width: 768px) {
	.page-wrapper{
	width: 98%;
	margin: 0 0 0 0.25em;
	}
	header{
	width: 100%;
	height: auto;
	padding: 0.25em 0 1em 0;
	}
	.page-title{
	width: 80%;
	height: auto;
	}
	.social-wrapper{
	width: 100%;
	margin: 0 auto 1em;
	} 
	main{
    width: 100%;
	}
	.page-heading{
	width:100%;
	height: auto;
	margin: 0 auto;
	}
	.copy-container{
	float: right;
	position: relative;
	top: -0.5em;
	width: 75%;
	height: auto;
	}
}
@media only screen and (max-width : 414px) {
	.page-wrapper{
	width: 98%;
	}
}
@media only screen and (max-width : 375px) {
	.page-wrapper{
	width: 98%;
	}
}
@media only screen and (max-width : 320px) {
	.page-wrapper{
	width: 98%;
	}
	.page-title{
	width: 80%;
	height: auto;
	}
}
/* ==========================================================================
   Footer Styles
   ========================================================================== */ 
footer{
	clear: both;
	width: 100%;
	height: auto;
	margin: 0 auto;
	padding: 0px;
	background: #000;
}
.contact-wrapper{
	width: 100%;
	height: auto;
	margin: 0 auto;
	padding: 1em 0;
	text-align: center;
	color: #FFF;
}

/* ==========================================================================
   Mobile and handheld devices
   ========================================================================== */

@media only screen and (min-width: 150px) and (max-width: 600px) {
body{
	margin: 0;
	padding: 0;
}

a {
	text-decoration: none;
}

a: link, a:visited {
	
}

a: hover, a:active {
	
}


/* ==========================================================================
   Main Header Navigation styles
   ========================================================================== */
@media screen and (max-width: 600px) {  
     
}

@media only screen and (max-width : 481px) {  
      
}

@media only screen and (max-width : 321px) {  
      
}

    


/* ==========================================================================
   Helper classes
   ========================================================================== */

/* Prevent callout */

.nocallout {
    -webkit-touch-callout: none;
}

.pressed {
    background-color: rgba(0, 0, 0, 0.7);
}

/* A hack for HTML5 contenteditable attribute on mobile */

textarea[contenteditable] {
    -webkit-appearance: none;
}

/* A workaround for S60 3.x and 5.0 devices which do not animated gif images if
   they have been set as display: none */

.gifhidden {
    position: absolute;
    left: -100%;
}

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    background-repeat: no-repeat;
    border: 0;
    direction: ltr;
    display: block;
    overflow: hidden;
    text-align: left;
    text-indent: -999em;
}

.ir br {
    display: none;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/**
 * Clearfix helper
 * Used to contain floats: h5bp.com/q
 */

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

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 800px) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for viewports that meet the condition */
}
