/* ===== FONTS ===== */

// <weight>: Use a value from 100 to 900
// <uniquifier>: Use a unique and descriptive class name

.exo-<uniquifier> {
  font-family: "Exo", sans-serif;
  /*font-optical-sizing: auto;*/
  /*font-weight: <weight>;*/
  font-style: normal;
}

/*@font-face {
    font-family: 'exo';
    src: url('fonts/exo/exo-webfont.eot');
    src: url('fonts/exo/exo.eot?#iefix') format('embedded-opentype'),
         url('fonts/exo/exo-webfont.woff') format('woff'),
         url('fonts/exo/exo-webfont.ttf') format('truetype'),
         url('fonts/exo/exo-webfont.svg#exodemi_bold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MolotRegular';
    src: url('fonts/molot/Molot-webfont.eot');
    src: url('fonts/molot/Molot-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/molot/Molot-webfont.woff') format('woff'),
         url('fonts/molot/Molot-webfont.ttf') format('truetype'),
         url('fonts/molot/Molot-webfont.svg#MolotRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}*/

/* ===== GENERAL STYLES ===== */
body {
	margin: 0px; padding: 0px;
	background: #529AC6;
}

a {
	font-weight: bold; text-decoration: none;
	cursor: pointer; outline: none;
}

a:active {outline: none; border: none;}
a:focus {-moz-outline-style: none;}

h1, h1 a, h2, h2 a, h3, h3 a,
h4, h4 a, h5, h5 a, h6, h6 a {
	margin: 0px; padding: 0px;
	font-family: 'exo';
	text-transform: uppercase;
}

p, ul, li {font-size: 0.75em; margin: 0; padding: 0;}

li {list-style: none;}

img {
	-webkit-border-radius: 0px !important;
	border-radius: 0px !important;
}

div.clear {clear: both;}

div.vertical-center {display: table-cell; vertical-align: middle;}

/* ===== STRUCTURE ===== */

div#top {position: absolute; top: 0px; left: 0px; width: 10px; height: 10px;}

div#black {
	position: fixed; z-index: 9999;
	width: 100%; height: 100%; background: #000;
	opacity: 0.75;
}

/* ===== HEADER ===== */
header#header {
	position: fixed; z-index: 5000;
	background: #529AC6;
	color: #F2F2F2;
	width: 90%;
	padding: 10px 5% 10px 5%;

	border-bottom: solid 5px #F2F2F2;
	box-shadow: 0px 0px 50px #000;
}

header#header a {color: #F2F2F2;}

header#header h1.site-title,
header#header div.contact {
	width: 50%;
	display: block;
}

header#header h1.site-title {
	float: left;
	position: relative;
}

h1.site-title img {
	width: 90px;
	display: block; float: left;
	position: relative;
	top: 15px;
	margin-right: 25px;
	/*left: -18px; top: -18px;*/
}

h1.site-title span {display: block; margin: 5px 0;}
h1.site-title span.name {font-size: 1.25em;}
h1.site-title span.desc {font-size: 0.75em; margin-top: 0px;}

header#header div.contact {
	float: right;
	position: relative;
	top: 10px;
	z-index: 1000;
	text-align: right;
	line-height: 200%;
}

header#header div.contact span {
	display: inline-block;
	position: relative;
}

header#header div.contact h3 {
	display: block;
	font-size: 1.375em;
	text-transform: initial;
	margin: 5px 0;
}

header#header div.contact img {
	width: 45px;
	margin: -10px 0px 0px 20px;
}

/* ===== NAV ===== */
nav {
	display: block;	position: fixed;	
	z-index: 1000; top: 20%;
	background: #529AC6;
	color: #F2F2F2;
	border: solid 2px #F2F2F2;
	border-left: none;
	box-shadow: 0px 0px 20px #4D4D4D;

	left: -140px;
	transition: left 0.1s linear;	
}

nav:hover {left: 0;}

nav li {
	font-family: 'exo';
	text-align: right;
	text-transform: uppercase;
	font-size: 1.25em;
	line-height: 150%;
}

nav span {
	position: relative;
	bottom: 25px;
	padding: 10px;
	opacity: 0;
	transition: opacity 0.1s linear;
}

nav:hover span {
	opacity: 1;
}

nav li, nav li a {
	color: #F2F2F2;
}

nav img {
	width: 50px;
	padding: 10px;
}

/* ===== FOOTER ===== */
footer#footer {
	position: relative;
	top: 60px;
	background: #529AC6;
	color: #F2F2F2;
	width: 90%;
	padding: 15px 5% 15px 5%;
	margin: 50px 0 0;
	border-top: solid 2px #F2F2F2;
	border-bottom: none;
	text-align: right;
	box-shadow: 0px 0px 20px #4D4D4D;
}

footer#footer p {
	font-family: 'Meiryo UI', Helvetica, Arial, sans-serif;
	font-size: 1em; line-height: 160%; margin: 0px;
}

footer#footer a {color: #F2F2F2;}

footer#footer a:hover,
footer#footer a:focus,
footer#footer a:active {color: #000;}

/* ===== PAGE STRUCTURE ===== */
main#main {position: relative;}

main#main article {
	position: relative;	width: 100%;
	margin: 0 auto;
}

main#main article:first-child {padding: 20px 0 0;}

main#main article:nth-child(odd) {background: #F2F2F2; color: #4D4D4D;}
main#main article:nth-child(even) {background: #529AC6; color: #F2F2F2;}

main#main article h2.article-header {	
	font-size: 1.75em;
	margin: 5px 0px 0px 0px;
	padding: 0; text-align: center;
}
main#main article:nth-child(odd) h2.article-header {color: #529AC6;}

main#main article h2.article-header img {
	position: relative; top: 2px;
	width: 80px; margin: 0px 5px 0px 20px;
}

main#main article h2.article-header span {position: relative; top: -20px;}

main#main article:nth-child(odd) div.article-body:nth-child(odd) {background: #F2F2F2; color: #4D4D4D;}
main#main article:nth-child(odd) div.article-body:nth-child(even) {background: #529AC6; color: #F2F2F2;}
main#main article:nth-child(even) div.article-body:nth-child(odd) {background: #529AC6; color: #F2F2F2;}
main#main article:nth-child(even) div.article-body:nth-child(even) {background: #F2F2F2; color: #4D4D4D;}

main#main article:nth-child(odd) div.article-body:nth-child(odd) hr {color: #4D4D4D;}
main#main article:nth-child(odd) div.article-body:nth-child(even) hr {color: #F2F2F2;}

main#main article:nth-child(even) div.article-body:nth-child(odd) hr {color: #F2F2F2;}
main#main article:nth-child(even) div.article-body:nth-child(even) hr {color: #4D4D4D;}

main#main article a, main article a:visited {color: #529AC6;}

main#main article a:hover,
main#main article a:focus,
main#main article a:active {color: #4D4D4D;}

main#main p, main#main li, main#main label {
	font-family: 'Meiryo UI', Helvetica, Arial, sans-serif;
	font-size: 1em;
	line-height: 150%;
}

main#main article ul {list-style: square;
	/*width: 75%;*/
	width: 90%;
	margin-left: auto; margin-right: auto;
}

main#main article li {margin-left: 20px;}

main#main article blockquote {
	width: 50%; font-size: 1em; margin: 0px auto;
	background: #F0F0F0; border: solid 1px #4D4D4D;
}

main#main article blockquote p {width: 90%;}

/* ===== CONTENT ===== */

div.article-body {
	margin: 0 0;
	padding: 30px 30px 5px;
}

div.article-body h3 {
	margin: 0px 0px;
	font-size: 1.625em;
	text-align: center;
}

div.article-body h4 {
	margin: 0px 0px 15px;
	font-size: 1.35em;
	line-height: 150%;
}

div.article-body h5 {
	margin: 0px 0px 15px;
	font-size: 1.325em;
	line-height: 150%;
}

div.article-body p {
	margin: 0px auto 20px;
	text-align: center;
}

div.article-body hr {
	border-style: solid;
	border-width: 1px;
	margin: 20px;
}

/* ANIMATION, ABOUT, RESUME, UNITY */

.video-ph {
	position: relative;
	display: block;	
	margin: 10px auto;

	/*width: 100%; height: 56.25%;
	max-width: 1100px; max-height: 619px;*/
	width: 1100px; height: 619px;
}

.video {
	position: relative;
	display: block;
	margin: auto;
	background: #000;
	/*box-shadow: 10px 0px 25px -20px #000, -10px 0px 25px -20px #000;*/
}

.video-left {float: left; margin: 0px 2% 20px 0px;}
.video-right {float: right; margin: 0px 0px 20px 2%;}

.vidembed {
	width: 100%;
	max-width: 1024px;
	height: auto;
	max-height: 576px;
}

.vidembed video {
	width: 100%;
	max-width: 1024px;
	height: auto;
	max-height: 576px;
}

.youtube {
	position: absolute;
	left: 0; right: 0;
	width: 100% !important; /*height: 56.25% !important;*/

	/*max-width: 1280px !important; max-height: 720px !important;*/
	max-width: 1000px !important; height: 600px !important;
	/*max-width: 1000px !important; max-height: 563px !important;*/	
}

.white-border {border: solid 4px #F2F2F2;}
.blue-border {border: solid 4px #529AC6;}

.white-bg {background: #F2F2F2;} .white-bg p {color: #529AC6 !important;}
.blue-bg {background: #529AC6;} .blue-bg p {color: #F2F2F2 !important;}

article#animation-portfolio div.credit {
	position: relative;
	width: 90%; max-width: 900px;
	padding: 10px; text-align: center;
	margin-bottom: 20px;
	margin-left: auto; margin-right: auto;	
}

div.credit-em {margin-top: 0px;}
div.credit-yt {margin-top: 627px;}

/*article#animation-portfolio div.credit p {font-size: 18px !important;}*/

div.anim-youtube {
	position: relative;
	text-align: center;
	padding: 0 0;
	margin-top: 20px;
}

div.anim-youtube img.youtube-logo {width: 100px; margin-bottom: 10px;}

/*div.anim-youtube hr {
	background: #F2F2F2; border: solid 1px #F2F2F2;
	margin-left: 2.5%; margin-right: 2.5%;
}*/

div.anim-youtube h3 {font-size: 1.375em; line-height: 150%;}

div.anim-youtube h4 {
	font-size: 1.25em;
	line-height: 150%;
	margin-bottom: 20px;
}

div.anim-youtube a {color: #F2F2F2 !important;}

div.anim-youtube a:hover,
div.anim-youtube a:focus,
div.anim-youtube a:active {color: #000 !important;}

div.animation-slider {display: none;}

div.anim-yt-videos {position: relative; display: block;}

/*
div.animation-slider ul {
	width: 100% !important;
	margin: 0;
	padding: 15px 0 10px;
}

div.animation-slider ul li {
	list-style: none;
	display: inline-block;
	margin: 20px 10px 10px;
	padding: 0;
	background: #F2F2F2;
	border: solid 4px #F2F2F2;
	border-bottom-width: 0px;
}

ul.animation {padding-left: 10px; text-align: left;}

ul.animation li {
	font-family: 'Meiryo UI', Helvetica, Arial, sans-serif;
	font-size: 1em; line-height: 150%;
}

div.animation-slider img {
	margin: 0; padding: 0; opacity: 1;
	transition: opacity 0.25s linear;
	-webkit-transition: opacity 0.25s linear;
}

div.animation-slider img:hover {opacity: 0.5;}
*/

div.anim-links {
	position: relative;
	width: 85%; max-width: 1200px;
	margin: 0 auto; text-align: left;
	/*margin: 40% auto 20px; /*vid width = 1200*/
	/*margin: 35% auto 20px; /*vid width = 1100*/
	/*margin: 30% auto 20px; /*vid width = 1000*/
}

div.anim-youtube img.dw-logo {
	position: relative;
	width: 500px;
	border: solid 3px #F2F2F2;
	margin-top: 10px !important;
}

div#anchor-profile {position: absolute;	top: -100px;}

iframe.pdf {
	display: block; float: left; width: 90%; max-width: 800px;
	margin: 0px 2% 20px 0px; border: solid 3px #529AC6;
	box-shadow: 10px 0px 25px -20px #000, -10px 0px 25px -20px #000;
}

div.article-body figure {
	display: block; background: #CCC;
	width: 75%; max-width: 700px;
	margin: 0px auto 20px auto;	
	border: solid 2px #999;
}

div.article-body figure img {
	display: block;
	border: solid 3px #529AC6;
	width: 90%; height: auto;
	margin: 3% auto 1.5% auto;
}

div.article-body figure figcaption {
	font-family: 'Meiryo UI', Helvetica, Arial, sans-serif;
	/*font-size: 1.125em;*/
	line-height: 150%; text-align: center;
	margin: 0px 5% 15px 5%;
}

main#main .img-left {float: left; margin: 0px 30px 20px 0px;}
main#main .img-right {float: right; margin: 0px 0px 20px 30px;}

/*div.article-clicktoy div.credit {margin-top: 641px !important;}*/
/*div.article-clicktoy {padding-bottom: 0; margin-bottom: 0;}*/
div.clicktoy {max-width: 900px; margin: 0 auto;}
img.clicktoy-box {position: relative; /*top: -75px;*/}
/*img.clicktoy-box {position: absolute; bottom: 0px;}*/

/* GRAPHIC DESIGN */

div.article-graphicdesign div {
	
}
div.article-graphicdesign ul {
	
}

div.article-graphicdesign ul li {
	display: inline;
	text-align: center;
}

div.article-graphicdesign ul li a {
	
	font-weight: normal;
	
}

div.article-graphicdesign ul li p {
	font-size: 1.5em !important;
	
	color: #F2F2F2;
	margin: 20px 0px 0px;
}

div.article-graphicdesign img {
	width: 10%;
	margin: 1%;
	border: solid 3px #F2F2F2;
	box-shadow: 0px 0px 20px #4D4D4D;
}

/* LIGHTBOX MARKUP */

.lightbox {
  /* Default to hidden */
  display: none;

  /* Overlay entire screen */
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  
  /* A bit of padding around image */
  padding: 1em;

  /* Translucent background */
  background: rgba(0, 0, 0, 0.8);
}

/* Unhide the lightbox when it's the target */
.lightbox:target {
  display: block;
}

.lightbox span {
  /* Full width and height */
  display: block;
  /*width: 100%;*/
  height: 90%;

  /* Size and position background image */
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}






img.error404 {
	width: 95%; max-width: 300px;
	border: solid 3px #529AC6;
}

/* FOOTER CREDITS */
article#web-design-portfolio div.credit {
	color: #444;
	position: absolute; z-index: 100;
	bottom: 0px; left: 0px; width: 95%;
	padding: 10px 2.5% 10px 2.5%; background: #FFF;
	box-shadow: 0px 0px 10px #000;
}

/*div.credit img.logo {
	display: block; float: left; margin: 0px;
	position: relative !important;
	top: -7px !important; width: 75px !important; 
}*/

div.credit p {
	font-family: 'Meiryo UI', Helvetica, Arial, sans-serif !important;
	/*font-size: 1em !important;*/
	line-height: 150;
	/*% !important;
	/*text-align: left !important;*/
	/*color: #000 !important;*/
	padding: 0px !important; margin: 0px !important;
}

div.credit a {font-weight: bold !important;}

/* ===== RESPONSIVE ===== */

@media screen and (max-width: 1450px) {

	nav#site-navigation ul li {width: 17.5%;}

	nav#site-navigation ul li:nth-of-type(1) {right: 63%;}
	nav#site-navigation ul li:nth-of-type(2) {right: 46.5%;}
	nav#site-navigation ul li:nth-of-type(3) {right: 30%;}
	nav#site-navigation ul li:nth-of-type(4) {right: 13.5%;}
	nav#site-navigation ul li:nth-of-type(5) {right: -3%;}

	nav#site-navigation ul li a {height: 45%; line-height: 115%;}

	div#websites_gallery {padding-left: 4%;}

	div#websites_gallery section {
		width: 49%; max-width: 405px;
		height: 245px; margin: 0px 4% 30px 4%;
	}
}

@media screen and (max-width: 960px) {

	/* HEADER */
	header#header {
		min-height: auto;
		margin-top: 0px;
		border-top: none;
		text-align: center;
	}

	h1.site-title {
		display: inline-block;
		float: none;
		width: auto;
		margin: 0px;
		/*width: 47.5 !important;*/
		text-align: left;
	}	

	h1.site-title img {display: none;}
	h1.site-title div.header-text {float: none; margin: 0px;}
	h1.site-title span.name {font-size: 0.75em; line-height: 90%;}
	h1.site-title span.desc {font-size: 0.5em; line-height: 120%;}

	div.contact {
		top: 0px !important;
		width: 47.5% !important;
		line-height: 150% !important;
	}

	div.contact h3 {
		font-size: 0.875em !important;
		margin: 0px !important;
	}

	div.contact img {
		width: 30px !important;
		margin-left: 10px !important;
	}

	/* ===== NAV ===== */
	nav {
		left: -140px;
		transition: none;	
	}

	nav:hover {
		left: -140px;
	}

	nav span {
		transition: none;
	}

	nav:hover span {
		opacity: 0;
	}

	nav img {
		width: 25px;
		padding: 8px;
	}

	/* CONTENT */
	main {
		position: relative;
		top: 0px;
		width: 90%;
		margin: 0px auto
	}

	main article {
		width: 80%;
		margin: 10px auto 10px;
		/*padding: 50px 10% 20px;*/
	}

	main article h2.article-header {
		position: relative;
		/*top: 0px; left: 0px; height: 70px;*/
		/*width: 99%; font-size: 1.25em;*/
		border-left: solid 2px #FFF;
		border-right: solid 2px #FFF;
	}

	main article h2.article-header {
		/*position: absolute;*/
		top: -5px; left: 0px;
		width: 100%; height: auto;
		padding: 0px; box-shadow: none;		
		font-size: 0.825em; line-height: 135%;		
	}

	main article h2.article-header img {
		float: left;
		display: block; width: 40px;
		margin: 5px 0px 10px 2.5%;
	}

	main article h2.article-header span {
		display: block;
		top: 6px;
		left: 2.5%;
		width: 100%;
		margin-top: 0px;
	}

	main article h2.article-header span:after {clear: both;}

	main article h2.article-header img {width: 65px; margin: 5px;}

	main article hr {display: none;}

	div.article-body {
		position: relative;
		top: 0px;
		padding: 20px 0px 0px;
		background: #F2F2F2 !important;
		color: #4D4D4D !important;
	}

	.white-border {border: solid 4px #529AC6;}
	.blue-border {border: solid 4px #529AC6;}

	div.article-body h3 {margin: 0px 0px 10px; font-size: 1.125em; line-height: 130%;}

	div.article-body p {
		text-align: center; font-size: 1em;
		margin: 10px auto 10px auto;
	}

	div.vidembed {
		width: 90%;
		height: auto;
	}

	div.vidembed video {
		height: auto;
	}

	div.article-body .img-left, div.article-body .img-right {float: none; margin: 0px 0px 20px;}

	div.animation-slider {display: block;}
	div.anim-youtube {display: none;}
	div.anim-yt-videos {display: none;}
	div.credit {display: none;}
	div.article-clicktoy {display: none;}

	div.article-body figure {float: none; width: 60%;}

	img.clicktoy-box {position: relative; width: 110px; height: auto; top: 0;}

	div.article-body figure {float: none; width: 100%;}

	div.article-graphicdesign img {
		width: 25%;
		padding: 2% 0;
	}

	/* ===== FOOTER ===== */
	footer#footer {
		display: none;
		position: static;
		top: 0px;
		margin-top: 10px;
		margin-bottom: 0px;
		border-bottom: none;
	}
	footer#footer p {font-size: 0.875em;}
}

/* ===== PRINT ===== */
@media print {

	body {background: none;}

	header#header {background: none; border: none;}
	h1.site-title, h1.not-home, h1.site-title a {float: none; color: #40697F;}
	nav#site-navigation {display: none;}

	main article h2.article-header {background: none; color: #40697F;}
	main article h2.article-header img {display: none;}
}