/* CSS Document */
/* Copyright 2013 Tim De Chant */
/* Please feel free to use this file and modify it, under the conditions that you. . . */
/*     a.  notify me */
/*     b.  keep these header comments in the resulting file. */
/* If you have any suggestions on how I can make this better/more efficient, please let me know via the site's contact page.  Thanks. */

/* Sets body attributes */

body{
	background:url(images/gradient.jpg) repeat-x;
	background-color:#fefefe;
}

/* Positions for index.html images */
.center_frame{
	margin-top:10%;
	background:url('images/index-2x.png') no-repeat;
	background-size:100% auto;
	max-width:600px;
	min-height:500px;
	margin-left:auto;
	margin-right:auto;
	position:relative;
	z-index:1;
	box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.65);
	-webkit-box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.65);
	-icab-box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.65);
	-moz-box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.65);
	-khtml-box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.65);
}

.journalism_index{
	position:absolute;
	left:0%;
	bottom:0%;
	width:150px;
	height:150px;
	z-index:2
}

.design_index{
	position:absolute;
	left:25%;
	bottom:0%;
	width:150px;
	height:150px;
	z-index:2
}
.research_index{
	position:absolute;
	left:50%;
	bottom:0%;
	width:150px;
	height:150px;
	z-index:2
}

.contact_index{
	position:absolute;
	left:75%;
	bottom:0%;
	width:150px;
	height:150px;
	z-index:2
}

.twitter {
	background-image:url('images/twitter-2x.png');
	background-size:100% auto;
	width:144px;
	height:48px;
	margin-left:auto;
	margin-right:auto;
}

.nav {
	background:url('images/nav-2x.png') no-repeat;
	background-size:100% auto;
	width:920px;
	height:150px;
	margin-left:auto;
	margin-right:auto;
	margin-top:30px;
	position:relative;
	z-index:1
	box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.65);
	-webkit-box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.65);
	-icab-box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.65);
	-moz-box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.65);
	-khtml-box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.65);
}

.home {
	position:relative;
	left:0%;
	bottom:0%;
	width:318px;
	height:150px;
}

.journalism_nav {
	position:absolute;
	left:318px;
	top:0px;
	width:150px;
	height:150px;
	z-index:2
}

.design_nav {
	position:absolute;
	left:468px;
	top:0px;
	width:150px;
	height:150px;
	z-index:2
}

.research_nav {
	position:absolute;
	left:618px;
	top:0px;
	width:150px;
	height:150px;
	z-index:2
}

.speaking_nav {
	position:absolute;
	left:768px;
	top:0px;
	width:150px;
	height:150px;
	z-index:2
}

.twitter {
	position:relative;
	background-image:url('images/twitter.png') no-repeat;
	margin-left:auto;
	margin-right:auto;
	margin-top: 4%;
	width:144px;
	height:48px;
}

.content{
	width:800px;
	margin: 30px auto 0;
}

.design-images img {
	display: block;
	max-width: 70%;
	height: auto;
	margin: 0 auto 30px;
	box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.65);
	-webkit-box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.65);
	-icab-box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.65);
	-moz-box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.65);
	-khtml-box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.65);
	
}

.clips{
	margin:0 50px 0 200px;
}

.pub_name{
	position: relative;
	top: 60px;
	margin-left: -200px;
	max-width: 160px;
}

.pub_name img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Sets the paragraph tag attributes */

p {
	font-family: Helvetica, Arial, Geneva, sans-serif;
	font-size: 13px;
	line-height: 20px;
	color: #000000;
	letter-spacing:0.05px;
}

blockquote {
	font-family: Helvetica, Arial, Geneva, sans-serif;
	font-size: 13px;
	line-height: 20px;
	color: #000000;
	letter-spacing:0.05px;
}

a {
	color: #366FBC;
}


/* Justifies text within paragraph tag */

.justify_p{
	text-align: justify;
}

/* Sets header text attributes */

h1{
	font-family: "Lucida Grande", Helvetica, Arial, Geneva, sans-serif;
	font-size: 16px;
	font-weight: bold;
	color: #000000;
}

/* Sets bottom nav text attributes */

.bottom_nav {
	font-family: "Lucida Grande", Helvetica, Arial, Geneva, sans-serif;
	font-size: 10px;
	line-height: 16px;
	color: #000000;
	font-style: normal;
	line-height: 24px;
	margin: 50px auto 20px auto;
	width: 50%;
	text-align: center;
}

/* Sets copyright text attributes */

.copyright{
	font-family: "Lucida Grande", Helvetica, Arial, Geneva, sans-serif;
	font-size: 9px;
	font-style: oblique;
	color: #000000;
	text-align: center;
}

/* Controls the indent for formatting text on resume.html */

.resume_indent{
	padding-left: 30px;
	font-family: "Lucida Grande", Helvetica, Arial, Geneva, sans-serif;
	font-size: 11px;
	line-height: 16px;
	color: #000000;
}

/* Sets the publication title on journalsm.html */

.pub_title{
/* font-style:italic; */
}

/* Special style for stamp on contact page */

.stamp img{
	padding-right:30px;
}


@media screen and (max-width: 767px) {
	.center_frame {
		max-width: 300px;
		min-height: 250px;
		background:url('images/index-mobile-2x.png') no-repeat;
		background-size:100% auto;
	}

	.journalism_index {
		width:75px;
		height:75px;
	}
	
	.design_index {
		background:url('images/design-up-2x.png') no-repeat;		
		background-size:100% auto;
		width:75px;
		height:75px;
	}
	
	.research_index {
		background:url('images/contact-up-2x.png') no-repeat;		
		background-size:100% auto;
		width:75px;
		height:75px;
	}
	
	.contact_index {
		background:url('images/contact-up-2x.png') no-repeat;		
		background-size:100% auto;
		width:75px;
		height:75px;
	}

	.twitter {
		background:url('images/twitter-mobile-2x.png') no-repeat;		
		background-size:100% auto;
		width:100px;
		height:33px;
		margin-top:4%;
	}
	
	.nav {
		background:url('images/nav-mobile-2x.png') no-repeat;
		background-size:100% auto;
		width:300px;
		height:115px;
		margin-left:auto;
		margin-right:auto;
		margin-top:5px;
		position:relative;
	}

	.home {
		position:relative;
		left: 0%;
		bottom: 0%;
		width: 300px;
		height: 40px;
	}

	.journalism_nav {
		position:absolute;
		left: 0;
		top: 41px;
		width: 75px;
		height: 75px;
	}

	.design_nav {
		position:absolute;
		left: 75px;
		top: 41px;
		width: 75px;
		height: 75px;
	}

	.research_nav {
		position:absolute;
		left: 150px;
		top: 41px;
		width: 75px;
		height: 75px;
	}

	.speaking_nav {
		position:absolute;
		left: 225px;
		top: 41px;
		width: 75px;
		height: 75px;
	}

	.content {
		width: 90%;
		margin: 20px auto 0;
	}

	.clips {
		margin: 0;
	}
	
	.pub_name {
		top: 0;
		margin-left: 0;
	}
	
	.pub_name img {
		width: 100px;
		height: auto;
		display: block;
	}
	
	.design-images img {
		max-width: 90%;
		height: auto;
	}
	
	.bottom_nav {
		font-size: 11px;
		width: 90%;
	}
}