/*  
Theme Name: Filtered
Theme URI: http://themetrust.com/themes/filtered
Description: A Portfolio Theme
Version: 1.0.2
Author: Theme Trust
Author URI: http://themetrust.com
Tags: portfolio, clean, minimal, white, two-columns, fixed-width, custom-background, threaded-comments, translation-ready, custom-menus

TABLE OF CONTENTS

01 - Reset
02 - Global 
03 - General Layout
04 - Header
05 - Content
06 - Slideshow
07 - Buttons
08 - Sidebar
09 - Widgets
10 - Comments
11 - Pagination
12 - Footer
*/

/* ///////////////////////////////////////////////////////////////////// 
//  01 - 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;
}

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; }
html {height: 100%; background: #f2f2f2;;}
input[type="submit"]::-moz-focus-inner {border:0;}
input[type="submit"]::-webkit-focus-inner {border:0;}


/* ///////////////////////////////////////////////////////////////////// 
//  02 - Global 
/////////////////////////////////////////////////////////////////////*/

body {
	-webkit-text-size-adjust: 100%;
	font-size: 13px;
	line-height: 15px;
	font-family: 'Open Sans', sans-serif; /* "Droid Sans", Arial, sans-serif;	*/
	padding: 0;
	margin: 0;
	color: #000;
	zoom: 1;
	background: #f2f2f2;
}

/*::-moz-selection {
	background: #10fead;
	color: #fff;
}

::selection {
	background: #10fead;
	color: #fff;
}*/

p {
	font-size: 14px;
	line-height: 30px;
	margin: 0;
	padding: 10px 0 15px;
	width: 100%;
	float: left;
	text-align: justify;	
}

p.blog-top, p.blog-text { 
    padding: 10px 0;
    margin: 0;
    width: 100%;
    clear: both; 
}
/* p.blog-text { padding: 15px 120px; margin: 0; width:auto; clear:both; } */
p.caption { float: none; text-align: center; font-style: italic; display: block; clear: both; padding-top: 0; }

a {     
    color: black;
    text-decoration: none;
    outline: none;
    background: #e2fff5;
}

a:hover {
	color: black;
    text-decoration: none;
    outline: none;
    background: #10fead;
}

h1, h2, h3, h4, h5, h6{	
	color: #000;	
	margin: 0;
	font-weight: normal;
}

h1 { font-size: 13px; margin: 15px 0; font-weight: bold; }
h2 { font-size: 30px; font-weight: normal; }
h3 { font-size: 18px; font-weight: bold; margin: 30px 0; line-height: 20px; float: left; }

h1 a, h2 a { text-decoration: none; color: black; background: white; }

::selection { background: #10fead; }
::-moz-selection { background: #10fead; }

section {
    clear: both;
    width: 100%;
    margin: 20px 0 20px;
    position: relative;
    float: left;
    display: none;
    z-index: 1000;
    padding-bottom: 20px;
}

table { width: 100%; }

/* //////////////////////////////////////////////////////////////////////
//  03 - General Layout 
//////////////////////////////////////////////////////////////////////*/

#wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

#sidebar {
    width: 180px;
    position: fixed;
    left: 40px;
    top: 40px;
}

#about { padding: 0 5%; width: 90%; }
#about p {
	font-size: 38px;
	line-height: 64px;
	margin: 0 0 90px 0;
	text-align: justify;
}
#about a {
	border-bottom: 3px solid black;
	padding-bottom: 1px;
}
#about a:hover { color: #ec008c; }

#about h1 a { border: none; }

#header_nav ul { float: right; width: 50%; }
#header_nav li { float: right; width: auto; margin-left: 15px; font-size: 12px; font-weight: bold; }
#header_nav li a { text-decoration: none; border: none; }
#header_nav li a.location { border-bottom: 2px solid #000000; }

#blog { 
    width: calc(100% - 260px);
    display: block;
    margin: 0px 40px 0px 220px;
    max-width: 960px;
}
#blog > li { 
    display: block;
    width: calc(100% - 80px);
    max-width: 800px;
    margin: 0 auto;
    background: white;
    box-shadow: 5px 6px 0px black;
    float: left;
    padding: 40px;
}

#blog aside {
	display: block;
	clear: both;
	margin: 20px 0 0;
	width: 100%;
	float: left;
	text-align: justify;
}
#blog aside.project_section { display: block; padding: 20px 0 10px; }
#blog li.current aside.project_section { display: block; }
#blog aside p { margin: 0; }

#blog img { width: 100%; height: auto; float: left; margin: 20px 0; }

#blog section.project_section { display:block; }

.project_section ul, .project_section ol {
	clear: both;
    width: calc(100% - 100px);
    margin: 0 auto;
}

.project_section ul {
	list-style: disc inside;
}


#blog .project_section li {
	display: list-item;
	float: left;
	clear: both;
	line-height: 25px;
}

#blog li.current {	
	margin-bottom: 50px;
}

h2 {
    display: block;
    margin: 0;
    padding: 0 0 30px;
    width: 100%;
    float: left;
    line-height: 48px;
    text-align: center;
}

#content h3 {
	text-align: left;
	float: left;
}

.meta { 
	width: 100%;
	margin: 0px 0 10px;
	float: left;
	clear: both;
	font-style: italic;
	text-align: center;
}

.meta.categories {
    border-top: #ddd solid 1px;
    padding-top: 40px;
}

ul.leaders li span.first_span {
	float: left;
	width: auto;
}
ul.leaders li span.second_span {
    float: left;
    width: 0;
    margin: 0 10px;
    color: #222;
    white-space: nowrap;
 	overflow: hidden;
 	line-height: 28px;
}
ul.leaders li span.third_span {
	float: right;
	width: auto;
}

footer {
	margin: 50px 0 0;
	padding: 0 5% 200px;
	width: 90%;
}

#background {
	position: fixed;
	display: block;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: -4;
	background-color: #dddddd;
}


.post-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 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#content {
    width: calc(100% - 260px);
    display: block;
    margin: 0px 180px;
}

#content .page {
    display: block;
    width: calc(100% - 80px);
    max-width: 840px;
    margin: 0 auto 50px;
    background: white;
    box-shadow: 5px 6px 0px black;
    float: left;
    padding: 40px;
}

/*Images------------------*/

#content .alignleft,
#content img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	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;
}

#content img.alignleft, 
#content img.alignright, 
#content img.aligncenter {
	margin-bottom: 12px;
}

/*Gallery------------------*/

.gallery {
	padding-top: 15px;
	margin-bottom: 25px!important;		
}

.gallery-item {
	margin-top: 0px!important;	
	margin-bottom: 25px!important;	
}

.gallery img {
	border: none!important;
}

/*Lists------------------*/

#content ul{	
	margin:  0 0 25px 20px;
	list-style-type: disc;	
}

#content ul li{	
	margin: 0 0 10px 0;		
	line-height: 1.4em;
		
}

#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 {	
	margin-left: 20px;
	padding-top: 10px;	
}

/*//////////////////////////////////////////////////////////////////// 
//  07 - Buttons
////////////////////////////////////////////////////////////////////*/

.button,
#searchsubmit  {	
	font-size: 12px;
	background: #ffffff;	
	display: inline-block;	
	color: #000 !important;
	text-decoration: none;
	-moz-box-shadow: 4px 4px #000000;
	-webkit-box-shadow: 4px 4px #000000;
	position: relative;
	cursor: pointer;
	font-weight: bold;	
	padding: 5px 15px 6px;
	margin: 0 5px 0 0;	
	line-height: normal !important;
	border: none;
}

.button:hover, #searchsubmit:hover {
	background-color: #ec008c !important;
}

/*///////////////////////////////////////////////////////////////////// 
//  09 - Widgets
////////////////////////////////////////////////////////////////////*/

.widgetBox {
	margin: 15px 0;
}

.widgetBox h3 {
	display: none;
}

.widgetBox label {
    width: 100%;
    display: block;
    font-size: 11px;
    font-weight: bold;
}

p.sidebar {
    padding: 0;
    line-height: 20px;
    font-size: 11px;
}

.menu-blog-container {
	margin-bottom: 10px;
}

.menu-blog-container .menu li {
    line-height: 24px;
    padding: 0;
}

/*///////////////////////////////////////////////////////////////////// 
//  10 - Comments
////////////////////////////////////////////////////////////////////*/
	
#comments {
	position: relative;
	margin: 30px 0 30px 0px;
	width: 550px;		
	padding: 30px 0 0 0;
}

#comments ul{
	list-style: none;
	margin: 0;
}

#trackbacks {
	margin: 30px 0 0 40px;
}

ol#commentslist {
	margin: 0 0 0 0px;
	list-style: none;
	padding: none;	
	padding: 0;
}

#commentslist .children li {
	padding: 15px 0 0 30px;
	background: transparent url(images/comment_marker.gif) no-repeat 0px 40px;
	border-left: 1px solid #cbcbcb;	
}
	
.comment {
	position: relative;
	margin: 0 0 0 0;
	padding: 0 0 20px 0;		
}

.comment .avatar {
	position: absolute;
	left: 0;
	top: 0;	
}

#commentForm h3 {
	font-size: 19px;
}

#commentForm label {
	padding-left: 20px;
}

.comment h5 {
	font-size: 16px;
	margin: 0 0 0 80px;
	padding: 0;	
}

.comment .date {	
	margin: 0 0 10px 80px;	
	display: block;
	color: #a5a5a2;
	font-family: Arial, "Droid Serif", Georgia, Times, "Times New Roman", serif;
	font-style: italic;		
}

.comment p {	
	margin: 0 0 10px 80px;
}

.comment-reply-link,
.comment-reply-login {
	margin: 0 0 0 80px;
}

.comment-reply {
	display: inline-block!important;
	padding: 0 0 0 10px;
}

#comment-add {
	position: absolute;
	top: -5px;
	right: 0px;
}

.moderation {
	margin: 0px;
	padding: 0 0 10px 25px;	
}

#comment-navigation {
	position: absolute;
	top: 0px;
	right: 0px;
}

.older-comments,
.newer-comments {
	display: block;
	float: left;
	width: auto;
	height: 24px;
	line-height: 24px;
	margin: 0px;
	padding: 0 8px;	
	border-right: 1px solid #e4e4e4;
	border-left: 1px solid #e4e4e4;
	text-align: center;
	text-decoration: none;
}

a:hover span.newer-comments,
a:hover span.older-comments {
	
}

.newer-comments {
	float: right;
	margin: 0 0 0 10px;
}

#trackbacks ul {
	margin: -5px 0 15px;
}

#trackbacks ul li {
	padding: 5px 0 5px 20px;	
}



/* Comment Form */
	
#commentForm {
	position: relative;
	margin: 30px 0 30px 0px;
}

#comments #respond {
	position: relative;
	padding: 0 0 0;
	margin: 0;
}

#respond .form-allowed-tags {
	display: none;
}


#respond form {
	margin: none;
	padding: none;
	position: relative;
}

.cancel-comment-reply {
	float: right;
	margin: 5px 90px 0 0;
}

#comments textarea {
	width: 90% !important;
}

#comments input[type="text"] {
	width: 50%;
}




/*//////////////////////////////////////////////////////////////////// 
//  11 - Pagination
////////////////////////////////////////////////////////////////////*/
	
.pagination {
	width: 100%;
	padding: 0 0 20px;	
	clear: both;	
	margin: 0 0 15px 0;
	
}

.pagination-prev a,
.pagination-next a,
.wp-pagenavi a,
.wp-pagenavi .current,
.wp-pagenavi .pages,
.older-comments,
.newer-comments {
	display: block;
	float: left;
	width: auto;
	height: 24px;
	line-height: 24px;
	margin: 0 5px 0 0;
	padding: 0 8px;	
	text-align: center;
	text-decoration: none;
}

.pagination-prev a:hover,
.pagination-next a:hover,
.wp-pagenavi a:hover,
.wp-pagenavi .current {
		
}

.pagination-prev a,
.pagination-next a {
	float: none;
	margin: 0px;
}

.pagination-prev,
.pagination-next {
	float: left;
	width: auto;
	margin: 0px;
}

.pagination-prev {
	float: right;
}

.wp-pagenavi .pages {
	float: right;
	margin: 0px;
}


/*//////////////////////////////////////////////////////////////////// 
//  12 - Footer
////////////////////////////////////////////////////////////////////*/

#footer {	
	background: none;
}

.small-text { float: left; }

/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
/* for 980px or less */
@media screen and (max-width: 1000px) {
	
	#container { width:96%; margin:0; padding-right:2%; padding-left:2%; }
	#header { width:96%; margin:0;}
	#main { width:100%; margin:0; }
	#content .image-grid { width: 100%; margin: 0; }
	#content .image-grid div { width:32.3%; margin: 0 .5% 1% .5%;}
	.project.small p { font-size:11px; padding: 15px 0 0 0; height:40px; }

	p.project-description { width: 100%; float: none; }
	table { float: none; width: 100%; }

	#sidebar { width:auto; }
	.oneThird { width:auto; }

}

/* for 700px or less */
@media (max-width: 700px) {

	#wrapper { width: 92%; }
	#main { padding: 100px 0 0 0; }
	#header { padding: 5px 0; height:90px; }
	#content .image-grid div { width:49%; margin: 0 .5% 2% .5%;}
	#mainNav { float: left; width: 100%; margin-top: 0; }
	#mainNav li { margin:0 25px 0 0; }
	.project_section ul, .project_section ol { margin: 15px 5%; }
	p.blog-text { padding: 15px 5%; }
	.meta { margin: 0px 5% 0px; }

#blog { 
	width: calc(100% - 150px);
    display: block;
    margin: 0px 10px 0px 160px;
    max-width: 960px;
}

}

/* for 480px or less */
@media (max-width: 320px) {

	#content .image-grid div { width:99%; margin: 0 .5% 2% .5%;}
	#mainNav li { margin:0 15px 0 0; }

}

#projects p {
font-size: 12px;
    line-height: 22px;
    margin: 0;
    padding: 14px 0;
    width: 100%;
    float: left;
    text-align: justify;
    border-top: 1px solid #eee;
    display: block;
    height: auto;
}

.project {
	float: left;
    display: block;
    width: 100%;
    height: auto;
}

.skill-204 a {
background: #eee;
}

.skill-204 a:hover {
background: #ccc;
}

span.book { background:#e2fff5; }
span.paper { background:#eee; }
.clear { clear:both; }