/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font-family: 'Roboto', 'Noto', sans-serif;
	color:#000;
	margin: 0;
	padding: 0;
}

body.page {
	background-color: #222222;
}

/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}

h1, h2, h3, p, ul, ol {
    display: block;
    max-width: 800px;
    margin: 0 auto 30px;
    width: 90%;
    font-size: 13px;
    line-height: 26px;
}

h1, h2 {
    font-size: 18px;
    line-height: 20px;
    font-weight: 700;
}

h1 {
	padding-bottom: 30px;
}

p.images {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
}

p.images img.top { margin-top: 30px;}
p.images img.bottom { margin-bottom: 30px; }

p.indent.left {
    width: 180px;
    float: left;
    margin-left: 10%;
    clear: both;
    line-height: 20px;
}

p.indent.right {
    width: calc(100% - 180px);
    padding-left: 180px;
    line-height: 20px;
}

h2.indent.right {
    width: calc(100% - 180px);
    padding-left: 180px;
}

img {
    max-width:100%;
    vertical-align: bottom;
    width: 100%;
    height: auto;
}
a {
	color:#000;
	text-decoration:underline;
}
a:hover {
	color:blue;
	text-decoration:underline;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

ol.bookshelf_list {
	list-style-position: outside;
    	padding-left: 0px;
	list-style-type: none;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1280px;
	width:95%;
	margin:0 auto;
	position:relative;
}
/* header */
.header {

}
/* logo */
.logo {

}
.logo-img {

}
/* nav */
.nav {

}
/* sidebar */
.sidebar {
    float: left;
    width: 360px;
    font-size: 13px;
    line-height: 20px;
    box-shadow: 5px 6px 0px #000000;
    background-color: white;
    margin: 0 30px;
}

.sidebar h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 20px;
    padding-top: 50px;
}

.sidebar .widget_recent_entries h3 {
    padding-top: 0;
}

.sidebar ul {
    padding: 0;
    padding-left: 20px;
}

.sidebar li {
	padding-bottom: 10px;
	line-height: 18px;
}


/* footer */
.footer {

}

.pagination {
    margin-top: 0px;
    padding-bottom: 50px;
    width:100%;
    font-size: 20px;
}


/*------------------------------------*\
    PORTFOLIO
\*------------------------------------*/

#fullsize-background {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -4;
    height: 100%;
    overflow: scroll;
    padding: 0 0 50px;
    width: 100%;
    margin: 0 auto;
    background-color: white;
    -webkit-transition: background-color .3s ease-in-out; /* Safari 3.1 to 6.0 */
    transition: background-color .3s ease-in-out;
 }

#portfolio {
    padding: 50px 0;
    max-width: none;
    margin: 0 auto;
    width: 100%;
}

.tile {
    display: block;
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    vertical-align: top;
    font-family: 'Roboto', 'Noto', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    /*cursor: pointer;*/

    padding: 20px 20px 10px;
    height: 50px;
    overflow: hidden;
    background-color: transparent;
    box-shadow: none;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
}

.project-title, .project-year {
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    width: auto;
}

.project-title {
	float: left;
}
.project-year {
	float: right;
}

.project-question {
    clear: both;
    padding: 10px 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 200;
    font-style: italic;
    margin: 0;
    word-wrap: normal;
    width: auto;
    white-space: normal;
}

/* ABOUT */
.tile.about .project-title, .tile.about .project-year {
	color: #333333;
}
#fullsize-background.about { background-color: #333333; }

/* BLOG */
.tile.blog .project-title, .tile.blog .project-year {
	color: #66ccff;
}
#fullsize-background.blog { background-color: #66ccff; }

/* BOOKSHELF */
.tile.bookshelf .project-title, .tile.bookshelf .project-year {
	color: #ffaccd;
}
#fullsize-background.bookshelf { background-color: #ffaccd; }

/* SYSTEMS OF SYSTEMS */
.tile.systems-of-systems .project-title, .tile.systems-of-systems .project-year {
	color: #6f00ff;
}
#fullsize-background.systems-of-systems { background-color: #6f00ff; }

/* BURRITO */
.tile.burrito .project-title, .tile.burrito .project-year {
	color: #ffd200;
}
#fullsize-background.burrito { background-color: #ffd200; }

/* APPGALLERY */
.tile.appgallery .project-title, .tile.appgallery .project-year {
	color: #0077a0;
}
#fullsize-background.appgallery { background-color: #0077a0; }

/* PHYGITAL PARTY MODE */
.tile.phygital-party-mode .project-title, .tile.phygital-party-mode .project-year {
	color: #ff00ff;
}
#fullsize-background.phygital-party-mode { background-color: #ff00ff; }

/* STORY OF ME */
.tile.story-of-me .project-title, .tile.story-of-me .project-year {
	color: #ccccff;
}
#fullsize-background.story-of-me { background-color: #ccccff; }

/* THE FAMILY CIRCUIT */
.tile.the-family-circuit .project-title, .tile.the-family-circuit .project-year {
	color: #df3627;
}
#fullsize-background.the-family-circuit { background-color: #df3627; }

/* ENERGY OF THINGS */
.tile.energy-of-things .project-title, .tile.energy-of-things .project-year {
	color: #73e31d;
}
#fullsize-background.energy-of-things { background-color: #73e31d; }

/* BOOST */
.tile.boost .project-title, .tile.boost .project-year {
	color: #ffff00;
}
#fullsize-background.boost { background-color: #ffff00; }

/* SOUND BOWL */
.tile.sound-bowl .project-title, .tile.sound-bowl .project-year {
	color: #005aff;
}
#fullsize-background.sound-bowl { background-color: #005aff; }

/* FOCUS SHIFT */
.tile.focus-shift .project-title, .tile.focus-shift .project-year {
	color: #77452b;
}
#fullsize-background.focus-shift { background-color: #77452b; }

/* BLINK BLINK */
.tile.blink-blink .project-title, .tile.blink-blink .project-year {
	color: #ffa812;
}
#fullsize-background.blink-blink { background-color: #ffa812; }

/* SPLIT FLAP */
.tile.split-flap .project-title, .tile.split-flap .project-year {
	color: #10fead;
}
#fullsize-background.split-flap { background-color: #10fead; }

/* FABRIKA SPLIT */
.tile.fabrika-split .project-title, .tile.fabrika-split .project-year {
	color: #9c00ff;
}
#fullsize-background.fabrika-split { background-color: #9c00ff; }

/* DATA PETS */
.tile.data-pets .project-title, .tile.data-pets .project-year {
	color: #a00000;
}
#fullsize-background.data-pets { background-color: #a00000; }

/* TOOLKIT HACKATHON */
.tile.toolkit-hackathon .project-title, .tile.toolkit-hackathon .project-year {
	color: #fea4df;
}
#fullsize-background.toolkit-hackathon { background-color: #fea4df; }

/* USTIIME */
.tile.ustiime .project-title, .tile.ustiime .project-year {
	color: #00eaff;
}
#fullsize-background.ustiime { background-color: #00eaff; }

/* KENNEDY CENTER */
.tile.the-kennedy-center .project-title, .tile.the-kennedy-center .project-year {
	color: #091870;
}
#fullsize-background.the-kennedy-center { background-color: #091870; }

/* ROBOTIC ECOLOGIES */
.tile.robotic-ecologies .project-title, .tile.robotic-ecologies .project-year {
	color: #ff2052;
}
#fullsize-background.robotic-ecologies { background-color: #ff2052; }

/* ARCHITECTURE MODELS */
.tile.architecture-models .project-title, .tile.architecture-models .project-year {
	color: #b2ec5d;
}
#fullsize-background.architecture-models { background-color: #b2ec5d; }

/*ALL*/
   
.tile.hover {
    padding: 25px 20px 15px;
    background-color: white;
    box-shadow: 5px 6px 0px black;
    height: auto;
    min-height: 60px;
}

.tile.hover .project-title, .tile.hover .project-year, .tile.hover .project-question, .tile .project-question, a.project-link {
	color: black;
	text-decoration: none;
}


/*------------------------------------*\
    PROJECTS
\*------------------------------------*/

header.project {
    height: 64px;
    width: 100%;
    margin: 0 auto;
    position: fixed;
    top: 0;
}

header.project div.nav-wrapper {
	width: 100%;
	margin: 0 0 0 10px;
}

header.project div.close {
    width: 30px;
    height: 30px;
    margin: 14px 0 20px;
    float: left;
}

article.project, article.post {
    width: calc(100% - 100px);
    max-width: 1000px;
    box-shadow: 5px 6px 0px #000000;
    background-color: white;
    margin: 64px auto 50px;
}

article.post {
    margin-top: 0px;
    padding-bottom: 50px;
    width: 100%;
}

#project { padding: 50px 0; }

h1 span.project-title, h1 span.project-year { font-size: 18px; }
span.project-title { float: left;}
span.project-year { float: right;}

p.project-intro {
    font-style: italic;
    font-weight: 300;
    font-size: 18px;
    line-height: 30px;
}

p.short {
	margin-bottom: 15px;
}

.post-video, .project-video {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	margin: 30px 0 20px;
	clear: both;
	float: left;
	width: 100%;
	display: block;
}

.post-video iframe, .post-video object, .post-video embed, .project-video iframe, .project-video object, .project-video embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*------------------------------------*\
	PARTY
\*------------------------------------*/

#party {
	width: 90%;
    max-width: 800px;
    margin: auto;
}

#view_party {
	width: 140px;
    padding: 0px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    float: left;
    margin: 30px 10px 100px;
    background: none;
}

#view_party a { 
	text-decoration: none;
	padding: 10px;
	color: black;
	background-color: none;
	-webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
}

#view_party a:hover { 
    color: white;
    background-color: blue;
    box-shadow: 5px 6px 0px black;
}

#leave_party {
    display: none;
    width: 140px;
    padding: 0px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    float: left;
    margin: 30px 10px 100px;
    background: none;
}

#leave_party a { 
	text-decoration: none;
	padding: 10px;
	color: black;
	background-color: none;
	-webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
}

#leave_party a:hover { 
	color: white;
	background-color: blue;
    box-shadow: 5px 6px 0px black;
}

#view_party { display:block; }
body.party_mode #view_party { display:none; }

#leave_party { display:none; }
body.party_mode #leave_party { display:block; }

#cowboy_hat { position:fixed; top: -2000px; left: -2000px; }
#animal_print { position:fixed; top: -2000px; left: -2000px; }

body.party_mode #portfolio.star a.project_title { cursor: url(/wp-content/themes/kareyhelms/img/party/star.png), auto; }
body.party_mode #portfolio.animal a.project_title { cursor: url(/wp-content/themes/kareyhelms/img/party/cat.png), auto; }
body.party_mode #portfolio.patriot a.project_title { cursor: url(/wp-content/themes/kareyhelms/img/party/patriot.png), auto; }

#party_favors { 
	position: fixed;
	top: 50%;
	left: 10px;
	margin-top: -120px;
	background: none;
	display: block;
	color: white;
	width: 40px;
	z-index: 9999;
	height: 240px;
	display: none;
	cursor: pointer; 
	cursor: hand;
}
	
#party_explore { position: relative; }
#party_normal { position: relative; }
#party_animal { position: relative; }
#party_patriot { position: relative; }
#party_exit { position: relative; }

.party_style { margin-bottom: 20px; height: 40px; width: 40px; background: white; box-shadow: 4px 4px #000000; }


#party_favors.star .diamond.normal { border-bottom-color: #000000; }
#party_favors.star .diamond.normal:after { border-top-color: #000000; }

#party_favors.animal .diamond.animal { border-bottom-color: #000000; }
#party_favors.animal .diamond.animal:after { border-top-color: #000000; }

#party_favors.patriot .diamond.patriot { border-bottom-color: #000000; }
#party_favors.patriot .diamond.patriot:after { border-top-color: #000000; }

.party_image { position:absolute; display:block; width:40px; height: 40px; top: 0; left: 0; }

#party_normal .party_image { background: url(/wp-content/themes/kareyhelms/img/party/star.png) no-repeat center; }
#party_animal .party_image { background: url(/wp-content/themes/kareyhelms/img/party/cat.png) no-repeat center; }
#party_patriot .party_image { background: url(/wp-content/themes/kareyhelms/img/party/patriot.png) no-repeat center; }
#party_exit .party_image { 
	background: none; 
	color: red;
	font-size: 12px;
	font-weight: bold;
	line-height: 46px;
	margin-left: 6px;
}

#background_party {
	position: fixed;
	display: block;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: -2;
	background: none;
}

canvas {
	position: fixed;
	top: 0;
	left: 0;
	z-index: -3;
}

#preload {
	position: absolute;
	top: -2000px;
	left: -2000px;
	display: none;
}

/*------------------------------------*\
	BLOG
\*------------------------------------*/

#blog {
    padding: 64px 50px 0;
    background: #66ccff;
    width: 100%;
    float: left;
}

#blog_posts {
    float: left;
    max-width: 1000px;
    width: calc(100% - 420px);
}

#blog p.full-width {
	width: 100%;
	margin: 0 0 30px 0;
	max-width: none;
}

.single-post #blog {
	padding-bottom: 50px;
}

article.post {
	padding-bottom: 50px;
}

article.post h1, article.post h2 {
	padding-top: 50px;
	padding-bottom: 0;
}

/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width: 1020px) {
	
	.tile { width: 90%; }
	article.project, article.post { width: calc(90%); margin-top: 0px; }

	header.project { position: relative; }
	header.project div.nav-wrapper { margin-left: 5%; }

	h2.indent.right { width: 90%; padding-left: 0; }
	p.indent.left { margin-left: 5%; width: 90%; margin-bottom: 10px; }
	p.indent.right { width: 90%; padding-left: 0; margin-left: 5%; }
	

	#blog_posts {
		width: 100%;
	}
	.sidebar {
		width: calc(100% - 100px);
		margin: 0 50px 50px;
	}
}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    404
\*------------------------------------*/

#post-404 {
	margin: 30px;
}

#post-404 p {
	margin: 0;
	padding: 0;
}
