@font-face {
    font-family: 'portfolio_straightregular';
    src: url('../fonts/portfoliostraight-webfont.eot');
    src: url('../fonts/portfoliostraight-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/portfoliostraight-webfont.woff2') format('woff2'),
         url('../fonts/portfoliostraight-webfont.woff') format('woff'),
         url('../fonts/portfoliostraight-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
	width: 100%;
	margin: 0;
	padding: 0;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++ STYLING FOR HEADER INC TITLE ++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
header {
	width: 90%;
	max-width: 1200px;
	margin: 1.4rem auto 0.5rem;
	text-transform: uppercase;
	/*text-align: right;*/
	vertical-align: baseline;
	overflow: hidden;
	position: relative;
}

header a, nav, nav ul, nav ul li, #titlediv, #navcont {
	text-transform: uppercase;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: bold;
	display: inline-block;
}

header a {
	float: left;
	text-align: left;
}

#maintitle {
	font-size: 2rem;
}

#maintitle h1 {
	display: block;
	font-family: portfolio_straightregular, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/*@media screen and (max-width: 350px) {
	#maintitle {
		font-size: 1.6rem;
	}
}*/

nav {
	font-size: 1rem;
	position: absolute;
	bottom: 0;
	right: 0;
}

nav a {
	margin: 0 1rem;
}

@media screen and (max-width: 750px) {
   nav {
   	margin: 1.5rem 0 1rem;
   	position: relative;
   	width: 100%;
   	text-align: center;
   }

   nav ul {
   	width: 100%;
   }

   nav ul li {
   	margin: 0 auto;
   }
}

/* STYLING FOR VIEWBOX - the div with all the images in*/
#viewbox {
	margin: 0rem auto;
	width: 1000px;
	position: relative;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* +++++++++++++++++ STYLING FOR WORK PAGE ++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
.coverimgcont {
	margin: 1rem auto 1.5rem;
	display: inline-block;
}

.coverimgcont div, #arrowbars {
	position: absolute;
	/*setting height and bgColor and opacity in JS*/
}


#arrowbars div {
	height: 100%;
	width: 12%;
	text-align: center;
	font-size: 4rem;
	background-color: #333333;
	cursor: pointer;
}

.coverimg, .coverimgcont div, #arrowbars {
	width: 100%;
	margin: 0 auto;
}

#arrowbars {
	margin-top: 1rem;
}

#arrowbars div h5 {
	position: relative;
}

.coverimgcaption {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1rem;
	color: inherit;
}

.serif {
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	text-transform: lowercase;
	font-style: italic;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++ STYLING FOR PROJECT PAGE ++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */



section {
	margin: 1rem auto;
	width: 100%;
	max-width: 1000px;
	background-color: #FFF;
	border: solid 1px #FFF;
}

#vimeo {
	width: 1000px;
	height: 562px;
	margin: 0 auto;
}


section.text {
	background-color: #F6F6F7;
	height: 562px;
	color: #333;
	overflow-y: scroll;
	/*border-top: solid 2px #000;*/
	/*border-bottom: solid 2px #000;*/
}

h2#project_title {
	display: block;
	width: 100%;
	font-size: 2.2rem;
	padding: 2rem 0 0.5rem;
}

aside, article {
	display: inline-block;
	margin-top: 1.6rem;
}

aside {
	width: 17%;
	float: left;
	/*font-size: 0.9rem;*/
}

aside > * {
	margin: 0 0 1.2rem 0;
}

h2#project_title, aside > * {
	margin-left: 2.8rem;
}

aside h3 {
	margin-top: 0.5rem;
	font-size: 1.3rem;
}

h4 {
	margin: 0 3.2rem 0.5rem 2rem;
}

aside ul li {
	margin-bottom: 0.3rem;
}

article {
	width: 83%;
	float: right;
}

article p {
	margin: 0 3.2rem 1rem 2rem;
	/*font-family: "Times New Roman";*/
	text-align: justify;
}

article.jmc {
	float: none;
	margin: 2rem 3rem;
}

p.strapline {
	font-weight: bold;
	font-style: italic;
	font-size: 1.1rem;
}

div#secnav {
	padding: 1rem 0 2rem;
	display: none;
	text-align: center;
	width: 1000px;
	/*made visible w js, not needed for css only clients*/
}


div#secnav p {
	display: inline-block;
	width: 10em;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: bold;
	cursor: pointer;
	margin: 0 1rem;
	text-transform: uppercase;
	font-size: 1.1em;
	color: #333;
}

p#previous {
	margin-right: 3em;
}

p#next {
	margin-left: 3em;
}

div#arrows {
	display: none;
}

/* < and > that navigate through images */
div#arrows h5 {
	font-size: 5em;
	color: #7F7F7F;
	cursor: pointer;
	position: relative;

}

div#arrowbars {
	display: none;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++ STYLING FOR OTHER PAGES ++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

footer {
	margin: 2rem 0 0 0;
}
section.about article {
	margin: 2rem;
	font-weight: bold;
	margin: 0;

}

#billypic {
	display: block;
	margin: 2rem;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* +++++++++++++++++++++ MEDEA QUERIES ++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

@media screen and (max-width: 1250px) {
	div#secnav, #viewbox {
		width: 800px;
	}

	section, #vimeo, img.secimg, section.text {
		width: 800px;
		height: 450px;
	}
}

@media screen and (max-width: 915px) {
	div#secnav, #viewbox {
		width: 500px;
	}

	section, #vimeo, img.secimg {
		width: 500px;
		height: 251px;
	}
}

@media screen and (max-width: 750px) {
	div#secnav, #viewbox, section, #vimeo, {
		width: 96%;
		margin-left: auto;
		margin-right: auto;
	}

	img.secimg {
		width: 100%;
	}

	section, #vimeo, img.secimg {
		height: auto;
	}

	section.text {
		background-color: #FFF;
		overflow-y: visible;
	}

	aside, article {
		float: none;
		display: block;
		width: auto;
		width: 100%;
	}

	aside, p {
		margin: 1rem 0
	}

	aside > *, article p {
		margin: 0.5rem 0 ;
	}
}

@media screen and (max-width: 500px) {
    #titlediv h1 {
		text-align: left;
	}
	
	#title_billy {
		margin: 0;
	}

	#title_turvey {
		margin: 0;
	}
}


