/*
  Daalej Jin - Static Site Stylesheet
  Adapted from Infinity Theme (Theme Trust) v1.1.2
  Modified for static HTML/CSS/JS site
*/

/* Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	background: transparent;
}

html {height: 101%;}

body { line-height: 1; }

h1, h2, h3, h4, h5, h6 { clear: both; }
ul { list-style: none; }

blockquote { quotes: none; }
blockquote:before, blockquote:after { content: ''; content: none; }
del { text-decoration: line-through; }
table { border-collapse: collapse; border-spacing: 0; }
a img { border: none; }
img { display: block; }

input[type="submit"]::-moz-focus-inner {border:0;}
input[type="submit"]::-webkit-focus-inner {border:0;}

.post p img, .page p img, #footer p img, video, object, embed {
	max-width: 100% !important;
	height: auto;
}

/* Global */
body {
	font-size: 100%;
	font-family: "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	width: auto; height: auto;
	padding: 0;
	margin: 0;
	color: #7d7d7b;
	background-color: #f7f6ef;
	border-top: 5px solid #93bcbe;
}

p {
	line-height: 1.7em;
	font-size: .75em;
	margin: 0 0 20px 0;
}

li { margin: 0; padding: 0; }
img { margin: 0; }

a {
	text-decoration: none;
	outline: none;
	color: #93bcbe;
}
a:hover { color: #4d787a; }
a img { border: none; }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 15px 0;
	font-weight: normal;
}

blockquote, address {
	margin: 0 0 30px 0;
	padding: 0 30px 0 30px;
	font-style: italic;
	font-size: 1.2em;
	font-family: Georgia, Times, "Times New Roman", serif;
}

code {
	font-family: "Courier New", Courier, serif;
	overflow: auto;
	padding: 2px;
	background: #fff;
}

pre {
	margin: 0 0 20px;
	padding: 10px;
	background: #fff;
	overflow: auto;
	border: 1px solid #e4e4e4;
}

.left { float: left; }
.right { float: right; }

.meta { color: #b0b0ad; }
.meta a { color: #7d7d7b !important; }
.meta a:hover { color: #b0b0ad !important; }

input[type="text"], textarea {
	background-color: #fafafa;
	padding: 10px;
	font-family: "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	color: #6a6a6a;
	border: 1px solid #ddd;
}
input[type="text"]:focus { outline: none; background-color: #f7f7f7; }
textarea:focus { outline: none; background-color: #f7f7f7; }
textarea { width: 80%; font-size: 13px; }

/* Clearfix */
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; visibility: hidden; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

a.action { font-style: italic; }
.hidden { display: none; }

/* Buttons */
a.button, #footer a.button, #searchsubmit, input[type="submit"] {
	font-size: 12px;
	display: inline-block;
	background: #515151;
	color: #fff;
	text-decoration: none;
	position: relative;
	cursor: pointer;
	font-weight: bold;
	padding: 7px 15px 7px;
	border: none;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	margin: 0 3px 0 0;
	line-height: normal !important;
}
a.button, #footer a.button { padding: 6px 15px 5px; }
.button:hover, #footer a.button:hover, #searchsubmit:hover, input[type="submit"]:hover {
	background-color: #717171;
	color: #fff;
}

/* General Layout */
#container {
	max-width: 62.5em;
	margin: 0 auto;
}

#main {
	float: right;
	width: 72%;
	padding: 40px 0 0 0;
	margin: 0 20px 0px 0;
}

.home #main { border: none; }
#main.full { background: none; }

#footer {
	width: 74%;
	float: right;
	clear: both;
	margin: 0 0 30px 0;
}

/* Header */
#header {
	width: 220px;
	position: fixed;
	float: left;
	margin-left: 20px;
	padding-top: 40px;
}

#logo {
	margin: 0 0 30px 0;
	padding: 0;
}

#logo h1 {
	margin: 0 !important;
	line-height: 1em !important;
	padding: 0 !important;
	font-size: 1.5em;
	font-weight: bold;
	color: #575757;
}

#header h1 {
	font-size: 1.5em;
	color: #575757;
	margin: 0;
}

#header h1 a, #header h1 a:hover { color: #575757 !important; }

/* Navigation */
#mainNav { margin-bottom: 20px; }
#mainNav li { margin: 0; padding: 0; }
#mainNav ul a {
	line-height: 25px;
	color: #7b7b7b;
	font-size: .75em;
}
#mainNav ul a:hover { color: #9f9f9c; }

#mainNav ul li.current-menu-item a {
	text-decoration: none;
	color: #93bcbe;
}

/* Content */
#content {
	margin: 0 0px 10px 0 !important;
	padding: 0 !important;
}

#content .post {
	margin: 0 20px 30px 0px;
	position: relative;
	padding-bottom: 15px;
	min-height: 180px;
}

#content .post h1 { font-size: 1.3em; }
#content .page, #content .project { margin: 0 0 30px 0px; }

.post .meta, .attachment .meta {
	margin: -5px 0 25px 0;
	padding: 0;
	font-size: .75em;
	line-height: 1.5em;
}

#content h1 a, #content h2 a, #content h3 a,
#content h4 a, #content h5 a { color: #7d7d7b; }
#content h1 a:hover, #content h2 a:hover, #content h3 a:hover,
#content h4 a:hover, #content h5 a:hover { color: #a7a7a3; }

#pageHead {
	padding: 10px 0 30px 0;
	margin: 0 0 30px 0;
	border-bottom: 1px solid #e4e4e4;
}

#pageHead h1 {
	font-size: 1.2em;
	line-height: .7em;
	padding: 0;
	margin-bottom: 0;
	display: block;
}

#pageHead p {
	margin: 0 !important;
	padding: 10px 0 0 0 !important;
	color: #b2b2b2;
	line-height: 1em;
}

/* Project Filter Navigation */
#content #filterNav {
	padding: 0 !important;
	margin: 0 0 0px 0 !important;
}
#content #filterNav li {
	padding: 1px 0 0 0;
	background: none;
	margin: 0 4px 5px 0;
	display: block;
	float: left;
}
#filterNav li a {
	display: inline-block;
	color: #7d7d7b !important;
	text-decoration: none;
	position: relative;
	cursor: pointer;
	padding: 0 6px 0 !important;
	border: none;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	line-height: 20px;
}
#filterNav li a:hover { color: #9f9f9c !important; }
#filterNav .selected { color: #93bcbe !important; }

/* Projects */
#projects { margin: 0; list-style: none; }
#projects .thumbs { margin: 0 auto; }

#content .project.small {
	position: relative;
	max-width: 220px;
	height: auto;
	display: block;
	margin: 0 20px 20px 0;
	opacity: 1;
	padding-bottom: 0px;
	cursor: pointer;
	overflow: hidden;
	background: #515151;
	zoom: 1;
	float: left;
}

#content .project.small img {
	margin: 0 !important;
	max-width: 100%;
	height: auto;
}

#content .project.small .title {
	display: none;
	color: #fff;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	padding: 0;
	font-size: 0.92em;
	width: 100%;
	line-height: 1.5em;
	background: #515151;
}

#content .project.small h2 {
	height: 3.2em;
	font-size: 0.92em;
}

#content .project.small p {
	color: #ccc;
	padding-top: 10px;
	font-size: 0.82em;
}

#content .project.small .title span {
	padding: 20px 17px 12px 20px;
	display: block;
}

#content .project.small:hover .title {
	display: block;
}

/* Project Navigation */
.projectNav {
	margin: -12px 0 30px 0;
	padding-top: 0;
	float: right;
}

.projectNav a {
	display: block !important;
	width: 35px;
	height: 19px;
	text-indent: -9999px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.projectNav div {
	float: left;
	margin-right: 10px;
	width: 35px;
	height: 19px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.projectNav .next a {
	background: #6c6c6c url(../images/project_nav_arrows.png) no-repeat;
	background-position: -36px 0;
}
.projectNav .previous a {
	background: #6c6c6c url(../images/project_nav_arrows.png) no-repeat;
	background-position: 0 0;
}
.projectNav a:hover { background-color: #93bcbe; }

/* Images */
#content .alignleft, #content img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px !important;
	margin-top: 4px;
}
#content .alignright, #content img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
#content .aligncenter, #content img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Lists */
#content ul {
	margin: 0 0 25px 20px;
	list-style-type: disc;
}
#content ul li {
	margin: 0 0 10px 0;
	line-height: 1.4em;
	font-size: .75em;
}
#content ol li { margin: 0 0 10px 0; line-height: 1.4em; }
#content ol { margin: 0 0 20px 20px; }
#content ul ul, #content ol ul, #content ul ol, #content ol ol { padding-top: 10px; }

/* Widgets / Footer */
#footer .widgetBox {
	float: left;
	margin-right: 23px;
	width: 29.5%;
}

#sideWidgets {
	padding-top: 20px;
	margin-right: 20px;
}

#sideWidgets .widgetBox h3, #footer .widgetBox h3 {
	font-size: .75em;
	font-weight: bold;
	color: #606060;
}

#sideWidgets ul, #footer ul {
	margin: 0;
	padding: 0px 0 0 0;
	line-height: 1em;
	background: none;
	position: relative;
}

#sideWidgets ul li, #footer ul li {
	padding: 0;
	margin: 0 0 15px 0;
	line-height: 1em;
	background: none;
	font-size: .75em;
}

#sideWidgets .widget_nav_menu ul, #footer .widget_nav_menu ul,
#sideWidgets .widget_pages ul, #footer .widget_pages ul {
	background: none;
	margin: 0;
	padding: 0;
	border: none;
}

#sideWidgets .widget_nav_menu li, #footer .widget_nav_menu li,
#sideWidgets .widget_pages li, #footer .widget_pages li {
	padding: 0;
	margin: 10px 0 0 0;
	border: none;
}

#footer .secondary a { color: #797979; }
#footer .secondary a:hover { color: #5b5b5b; }
#footer .main { padding-bottom: 10px; }
#footer .secondary {
	margin: 0 20px 0 0;
	border-top: 1px solid #e3e2de !important;
	padding-top: 30px;
	color: #9f9f9f;
}
#footer .secondary .left { float: left; }
#footer .secondary .right { float: right; }

/* Comment Form */
#commentForm {
	position: relative;
	margin: 30px 0 30px 0px;
}
#commentForm label { padding-left: 20px; }
#commentForm textarea { width: 90% !important; }
#commentForm input[type="text"] { width: 50%; margin-right: 20px; }

/* Contact Form */
.wpcf7-form p { margin-bottom: 15px; }
.wpcf7-text, .wpcf7-form textarea {
	background-color: #fafafa;
	padding: 10px;
	font-family: "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	color: #6a6a6a;
	border: 1px solid #ddd;
}
.wpcf7-text { width: 300px; }

/* Media Queries */
@media only screen and (max-width: 1024px) {
	#main, #header .inside { max-width: 64.5em; }
	#header { width: 21%; }
}

@media only screen and (max-width: 768px) {
	#header {
		float: none;
		position: relative;
		margin: 0 auto 10px auto;
		width: 94%;
		padding: 20px 0 20px 0;
	}
	#header #logo { margin: 0; display: inline-block; width: 100px; }
	#header #sideWidgets { display: none; }
	#mainNav {
		right: 20px;
		position: absolute;
		top: 50%;
		height: 20px;
		margin-top: -10px;
	}
	#mainNav li {
		margin: 0 0 0 1.5em;
		display: inline-block;
		padding: 0;
	}
	#main {
		width: 94%;
		margin: 0 auto 30px auto;
		padding-top: 0;
		float: none;
	}
	#projects { margin-left: 15px; }
	#footer {
		width: 94%;
		float: none;
		margin: 0 0 30px 25px;
	}
}

@media only screen and (max-width: 480px), screen and (max-device-width: 480px), screen and (max-width: 600px) {
	html { -webkit-text-size-adjust: none; }
	h1 { font-size: 1.2em; }
	h2 { font-size: 1.1em; }
	h3 { font-size: 1.0em; }
	#header {
		text-align: center;
		width: 99%;
		padding-bottom: 15px;
		margin: 0 auto;
		position: relative;
	}
	#header #logo { float: none; width: 60px; margin: 0 auto 20px; }
	#pageHead h1 { font-size: 1.0em; }
	#main { width: 94%; padding-top: 5px; }
	#mainNav {
		position: relative;
		margin-top: 0;
		top: 0;
		right: 0;
		width: 100%;
		margin: 0 0 5px 0;
		display: block;
	}
	#mainNav li {
		margin: 0;
		display: inline-block;
		padding: 0 5px 0 5px;
	}
	#footer { width: 92%; margin: 0 auto; }
	#footer .widgetBox { width: 100%; float: none; margin-bottom: 20px; }
	#footer .secondary {
		width: 100%;
		padding-bottom: 10px;
		text-align: center;
	}
	#footer .secondary .left, #footer .secondary .right {
		float: none;
		padding-bottom: 10px;
	}
}
