body {
	background-color: white;
	margin: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a, a:active, a:focus {
	outline: none;
}

#page {
	max-width: 745px; /*740 with right margin gallery*/
	margin: auto;
}

.line {
	background-color: #CCCCCC;
	position: relative;
	top: 20px;
	left: 20px;
	max-width: 685px;
	height: 1px;
	margin-left: 10px;
}

/*-----------------------------------
Header
 ----------------------------------*/
header {
	width: 100%;
	margin: auto;
	text-align: center;
}

/*-----------------------------------
Navigation Bar
 ----------------------------------*/
nav {

	margin: auto;
	width: 80%;
	min-width: 500px;
	height: 40px;
}

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

nav li {
	float: left;
	width: 25%;
	height: 40px;
	position: relative;
	text-align: center;
}

nav li a {
	display: block;
	height: 40px;	
	font-family: 'Quicksand', sans-serif;
	font-size: 20px;
	text-decoration: none;
	color: black;
}

nav ul ul {
	display: none;
	position: absolute;
	width: 100%;
	z-index: 99999;
}

nav ul li:hover > ul {
	display: block;

}

nav ul ul li {
	height: 40px;
	width: 100%;
	margin-bottom: 1px;	
	background-color: #ffa755;
	padding-top: 12px;
}

nav ul ul li a {
	color: white;
}

.main-nav:visited {
	color: black;
}

.main-nav:hover {
	color: #92d957;
}

.work:hover {
	color: black;
}

nav ul ul li:hover {
	color: white;
	background-color: #feb878;
}

/*-----------------------------------
Index Boxes
 ----------------------------------*/
#content {
	min-width: 745px;
	margin: auto;
	margin-left: 10px;
}

#box1 {
	width: 450px;
	height: 215px;
	float: left;
	margin-top: 20px;
	margin-left: 20px;
	position: relative;
}

#box1 img {
	position: absolute;
}

#box1 img.fade {
	-webkit-animation: box1fade 32s linear infinite 0s;
    -moz-animation: box1fade 32s linear infinite 0s;
    -o-animation: box1fade 32s linear infinite 0s;
    -ms-animation: box1fade 32s linear infinite 0s;
    animation: box1fade 32s linear infinite 0s; 
}

@keyframes box1fade {
  0% {  opacity:1; }
  15% { opacity:1; }
  25% { opacity:0; }
  90% {  opacity:0; }
  100% {  opacity:1; }
}

#box1 img:nth-of-type(1) {
  animation-delay: 24s;
  -webkit-animation-delay: 24s;
  -moz-animation-delay: 24s;
  -o-animation-delay: 24s;
  -ms-animation-delay: 24s;
}
#box1 img:nth-of-type(2) {
  animation-delay: 16s;
  -webkit-animation-delay: 16s;
  -moz-animation-delay: 16s;
  -o-animation-delay: 16s;
  -ms-animation-delay: 16s;
}
#box1 img:nth-of-type(3) {
  animation-delay: 8s;
  -webkit-animation-delay: 8s;
  -moz-animation-delay: 8s;
  -o-animation-delay: 8s;
  -ms-animation-delay: 8s;
}
#box1 img:nth-of-type(4) {
  animation-delay: 0s;
  -webkit-animation-delay: 0s;
  -moz-animation-delay: 0s;
  -o-animation-delay: 0s;
  -ms-animation-delay: 0s;
}

#box2 {
	width: 215px;
	height: 450px;
	float: left;
	margin-left: 20px;
	margin-top: 20px;
	position: relative;
}

#box2 img {
	position: absolute;
}

#box2 img.top {
	-webkit-transition: opacity 2s ease-out;
	-moz-transition: opacity 2s ease-out;
	-o-transition: opacity 2s ease-out;
	transition: opacity 2s ease-out;
}

#box2 img.top:hover {
	opacity: 0;
}

#box3 {
	width: 215px;
	height: 215px;
	float: left;
	margin-left: 20px;
	margin-right: 20px;
	margin-top: -215px;
	position: relative;
}

/*#box3 img {
	position: absolute;
}

#box3 img.top:hover {
	opacity: 0;
}*/

#box4 {
	width: 215px;
	height: 215px;
	float: left;
	margin-left: 255px;
	margin-top: -215px;
}

#box4 img:hover {
	-webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}

/*-----------------------------------
 Gallery
 ----------------------------------*/

.gallery {
	max-width: 722px;
	min-width: 510px;
	/*height: 460px;*/
	margin-top: 10px;
	margin-left: 20px;
	/*border-top: solid #CCCCCC 1px;*/
	/*overflow-y: scroll;*/
	overflow-x: hidden;
}

.gallery-content {

}

.tile img {
	float: left;
	width: 215px;
	height: 215px;
	margin: 10px;
	/*margin-left: 20px;
	margin-top: 20px;*/

	-webkit-transition: opacity 0.3s ease-out;
	-moz-transition: opacity 0.3s ease-out;
	-o-transition: opacity 0.3s ease-out;
	transition: opacity 0.3s ease-out;
}

.tile img:hover {
	opacity: 0.6;

}

#page-nav {
	max-width: 600px;
	min-width: 510px;
	margin: auto;
	position: relative;
	padding-top: 25px;
	padding-bottom: 20px;
	z-index: 99;
}

.arrow-left {
	position: absolute;
	left: 0;
}

.arrow-right {
	position: absolute;
	right: 0;
}

.arrow-left img,
.arrow-right img {
		opacity: 0.4;
		width: 40px;
		height: 50px;
}


.page-numbers {
	max-width: 300px;
	position: relative;
	top: 11px;
	text-align: center;
	margin: auto;
	font-family: 'Quicksand', sans-serif;
	font-size: 20px;
}

.page-numbers a {
		text-decoration: none;
		color: #999999;
		padding: 0px 12px;
}

#page-nav a:hover img {
	opacity: 1;
}

.page-numbers a:hover {
	color: #92d957;
}


/*-----------------------------------
Resume
 ----------------------------------*/
.resume {
	position: relative;
	max-width: 722px;
	min-width: 510px;
	/*height: 460px;*/
	margin-top: 40px;
	/*border-top: solid #CCCCCC 1px;*/
	/*overflow-y: scroll;*/
	overflow-x: hidden;
	font-family: 'Ubuntu', sans-serif;
	font-size: 14px;
	margin-left: 20px;
}

.row {
	width: 100%;
	min-width: 500px;
	position: relative;
	float: left;
}

.column-left {
	width: 21%;
	float: left;
	margin-top: 2px;
	margin-left: 20px;
}

.column-right {
	width: 76%;
	float: left;
}

.resume ul {
	list-style: none;
}

.resume h2 {
	text-align: left;
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 24px;
	color: #813f97;
	text-transform: uppercase;
	margin-top: 5px;
}

.resume p {
	text-align: center;
	padding-top: 10px;
}

.resume h1 {
	text-align: center;
	text-transform: uppercase;
	font-family: 'Oswald', sans-serif;
	font-size: 40px;
	color: #92d957;
	margin: 10px;
	font-weight: normal;
}

.resume a {
	text-decoration: none;
	color: #ffa755;
}

.pdf-icon {
	position: absolute;
	right: 10px;
	top: 0px;
	z-index: 99999;
	opacity: 0.75;
}

.pdf-icon:hover {
	opacity: 0.5;
}



/*-----------------------------------
About
 ----------------------------------*/
.about {
	max-width: 722px;
	margin-left: 20px;
	min-width: 510px;
	height: 370px; /*adjust height + margin inversely*/
	padding-top: 85px;
	margin-top: 19px;
	/*border-top: solid #CCCCCC 1px;*/
}

#about-text {
	width: 438px;
	text-align: justify;
	font-family: 'Ubuntu', sans-serif;
	line-height: 1.8;
	font-size: 14px;
	float: left;
}

#hello-text {
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	font-size: 40px;
	text-align: center;
	position: relative;
	bottom: 35px;
	color: #92d957;
}

#hello-me {
	height: 300px;
	width: 220px;
	margin-right: 25px;
	margin-left: 10px;
	margin-top: 20px;
	float: left;
}

.about a {
	text-decoration: none;
	color: #ffa755;
}

/*-----------------------------------
 Footer
 ----------------------------------*/
footer {
	max-width: 700px;
	min-width: 500px;
	height: 100px;
	position: relative;
	left: 38px;
}

footer div {
	float: left;
	height: 18px;
	margin-right: 20px;
	margin-top: 40px;
}

#copyright {
	margin-right: 0;
	margin-left: 5px;
	font-family: 'Quicksand', sans-serif;
	font-size: 15px;
	color: #999999;
	position: relative;
	top: 7px;
}

#permission {
	font-family: 'Ubuntu', sans-serif;
	font-size: 12px;
	color: #999999;
}

footer img:hover {
	opacity: 0.75;

}