/*  
Theme Name: Infinity Otolab
Description: A Responsive and Minimal Portfolio Theme
Version: 1.0.2
Author: Theme Trust
Author URI: http://themetrust.com
Tags: portfolio, responsive, clean, minimal, white, two-columns, 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 - Widgets
08 - Comments
09 - Pagination
10 - Footer
11 - Media Queries
*/


/* ///////////////////////////////////////////////////////////////////// 
//  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;
}

* {
	box-sizing: border-box;
}

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;
}

.slideshow img, .post p img, .page p img, img.postThumb, .single p img, #footer p img, video, object, embed {
	max-width: 100% !important;
	height: auto;
}

* {
	-webkit-transition: opacity .3s ease, color .3s ease;
	transition: opacity .3s ease, color .3s ease;
}

.wp-caption {
	width: auto !important;
}


/**** Isotope filtering ****/

.isotope-item {
	z-index: 2;
}

.isotope-hidden.isotope-item {
	pointer-events: none;
	z-index: 1;
}


/**** Video Embeds ****/

.videoContainer {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.videoContainer iframe, .videoContainer object, .videoContainer embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


/* ///////////////////////////////////////////////////////////////////// 
//  02 - Global 
/////////////////////////////////////////////////////////////////////*/

body {
	font-size: 80%;
	font-family: Arial;
	width: auto;
	height: auto;
	padding: 0 0 0 0;
	margin: 0;
	color: #f5f5f5;
	background-color: #000000;
	border-top: 0 !important;
}

p {
	line-height: 140%;
	font-size: 1.45em;
	margin: 0 0 20px 0;
}

table {
	font-size: .75em !important;
}

table caption {
	font-size: 1em !important;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

li {
	margin: 0 0 0 0;
	padding: 0;
}

img {
	margin: 0;
}

img.left {
	margin: 0 15px 15px 0;
	float: left;
}

a {
	text-decoration: none;
	outline: none;
}

a {
	color: white;
}

a:hover {
	color: #7f7f7f;
}

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;
}

blockquote {
	background: transparent url(images/quote.png) no-repeat;
}

code {
	font-family: "Courier New", Courier, serif;
	overflow: auto;
	padding: 2px;
	background: #fff;
}

pre code {
	background: none;
}

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: Arial;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	color: #6a6a6a;
	border: 1px solid #ddd;
	background: #fafafa url(images/field_bkg.png) repeat-x;
}

input[type="text"]:focus {
	outline: none;
	background-color: #f7f7f7;
}

textarea:focus {
	outline: none;
	background-color: #f7f7f7;
}

textarea {
	width: 80%;
	font-size: 13px;
}


/* Clearfix ----------- */


/* Some clearfix code from HTML5 Boilerplate */

.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;
}

#searchsubmit {
	padding: 5px 15px 6px;
}

.button:hover, #footer a.button:hover, #searchsubmit:hover, input[type="submit"]:hover {
	background-color: #717171;
	color: #fff;
}


/* //////////////////////////////////////////////////////////////////////
//  03 - General Layout 
//////////////////////////////////////////////////////////////////////*/

#container {
	max-width: 100%;
	margin: 0 auto;
}

#main {
	position: relative;
	float: right;
	width: 77.5%;
	padding: 160px 0 0 0;
	margin: 0 30px 30px 0;
	z-index: 2;
}

.home #main {
	border: none;
}

#main.full {
	background: none;
}

.home #sidebar {
	padding: 30px 0 0 0;
}

#footer {
	width: 74%;
	float: right;
	clear: both;
	margin: 0 0 30px 0;
}


/*////////////////////////////////////////////////////////////////////////
//  04 - Header
///////////////////////////////////////////////////////////////////////*/

#header {
	width: 21.5%;
	position: fixed;
	/*--Fix the sidenav to stay in one spot--*/
	float: left;
	/*--Keeps sidenav into place when Fixed positioning fails--*/
	padding: 200px 10px 0 56px;
	z-index: 2;
}

*html #header {
	position: absolute;
	left: expression( ( 0 ( ignoreMe2=document.documentElement.scrollLeft ? document.documentElement.scrollLeft: document.body.scrollLeft)) 'px');
	top: expression( ( 0 ( ignoreMe=document.documentElement.scrollTop ? document.documentElement.scrollTop: document.body.scrollTop)) 'px');
}

#logo {
	position: fixed;
	top: 0;
	width: 48px;
}

#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 0 0 0;
	padding: 0 0 6px 0;
	font-size: 13px;
}

#mainNav ul a {
	color: #7b7b7b;
	font-size: 1.7em;
}

#mainNav ul a:hover {
	color: #9f9f9c;
}

#mainNav ul li.current a, #mainNav ul li.current-cat a, #mainNav ul li.current_page_item a, #mainNav ul li.current-menu-item a, #mainNav ul li.current-post-ancestor a, #mainNav ul li.current_page_parent a, #mainNav ul li.current-category-parent a, #mainNav ul li.current-category-ancestor a, #mainNav ul li.current-portfolio-ancestor a, #mainNav ul li.current-projects-ancestor a, #mainNav ul li.current-educations-ancestor a {
	text-decoration: none;
	color: #eeeeee;
}


/*//////////////////////////////////////////////////////////////////// 
//  05 - Content
////////////////////////////////////////////////////////////////////*/

#content {
	margin: 0 0px 10px 0 !important;
	padding: 0 0 0 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, #content .education {
	margin: 0 0 10px 0px;
}

.search #content .post {
	min-height: 50px;
}

.post .meta, .attachment .meta {
	margin: -5px 0 25px 0;
	padding: 0 0 0px 0;
	font-size: .75em;
	line-height: 1.5em;
}

#content .post.lastPost {
	border-bottom: none;
}

#content h1 a, #content h2 a, #content h3 a, .widgetBox h3 a, #slideshow .slideText h3 a, #content h4 a, #content h5 a {
	color: #7d7d7b;
}

#content h1 a:hover, #content h2 a:hover, #content h3 a:hover, .widgetBox h3 a:hover, #slideshow .slideText h3 a:hover, #content h4 a:hover, #content h5 a:hover {
	color: #a7a7a3;
}

#content .postThumb {
	margin: 0 0 20px 0 !important;
}

#pageHead {
	padding: 10px 0 30px 0;
	margin: 0 0 80px 0;
}

#pageHead h1 {
	font-size: 3.75em;
	line-height: 110%;
	padding: 0;
	margin-bottom: 0;
	display: block;
}

#pageHead h2 {
	font-size: 2.2em;
	line-height: 110%;
	padding: 0;
	margin-bottom: 0;
	display: block;
}

#pageHead p {
	margin: 0!important;
	padding: 10px 0 0 0!important;
	color: #b2b2b2;
	line-height: 1em;
}


/*Column Shortcodes------------------*/


/*.one_half{ width:48%; }
.one_third{ width:30%; }
.two_third{ width:65.33%; }
.one_half,.one_third,.two_third{ position:relative; margin-right:4%; float:left; }
.last{ margin-right:0 !important; clear:right; }
.clearboth {clear:both;display:block;font-size:0;height:0;line-height:0;width:100%;}*/


/*Home Message------------------*/

#homeMessage {
	margin: 0 0 25px 0;
	border-bottom: 1px solid #e3e2de !important;
}

#homeMessage p {
	font-size: 2.5em;
	font-family: Arial;
	line-height: 1.1em !important;
}


/*Project Filter Navigation------------------*/

#content #filterNav {
	position: fixed;
	top: 0;
	right: 40px;
	z-index: 999;
	width: 74px;
	height: 74px;
	padding: 0!important;
	margin: 3px 0 20px 0!important;
	text-align: right;
	cursor: pointer;
}

#content #filterNav.active {
	background-color: #000;
}

#content #filterNav:before {
	content: '...';
	display: block;
	height: auto;
	margin-top: -20px;
	margin-right: 10px;
	margin-bottom: 5px;
	visibility: visible;
	font-family: 'Times New Roman';
	font-size: 4em;
	font-weight: bold;
	letter-spacing: 4px;
	color: #ffffff;
}

#content #filterNav li {
	width: 0;
	margin: 0;
	padding: 0;
	/*padding: 1px 0 0 0;*/
	background: none;
	/*margin: 0 4px 5px 0;	*/
	float: left;
	overflow: hidden;
}

#content #filterNav li span {
	margin: 0 4px 5px 0;
	color: #bcbcbc;
}

#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: #7f7f7f !important;
}

#filterNav li a.selected:hover {
	color: #7f7f7f !important;
}


/*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;
}

#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;
	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;
}

#content ul ul li, #content ol ul li, #content ul ol li, #content ol ol li {
	font-size: 1em !important;
}


/*Infinite Scrolling------------------*/

#infscr-loading {
	position: fixed;
	text-align: center;
	bottom: 0px;
	left: 0px;
	z-index: 100;
	margin: 0 0 0 0;
	padding: 15px 15px 15px 40px;
	font-size: .7em;
	font-style: none;
	color: #fff;
	background: #515151 url(images/loading.gif) 15px 13px no-repeat;
}

#infscr-loading img {
	display: none;
}

.infscrBtn span {
	line-height: 35px;
}

.infscrBtn {
	margin: 0 0 30px 0;
	background: #fff;
	-webkit-box-shadow: 0 0px 1px rgba(0, 0, 0, 0.10);
	-moz-box-shadow: 0 0px 1px rgba(0, 0, 0, 0.10);
	box-shadow: 0 0px 1px rgba(0, 0, 0, 0.10);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	height: 35px;
	clear: both;
	text-align: center;
	cursor: pointer;
	font-size: .7em;
	padding: 0;
}

.infscrBtn:hover {
	background-color: #fcfcfc;
}


/*//////////////////////////////////////////////////////////////////// 
//  06 - Slideshow
////////////////////////////////////////////////////////////////////*/

.slideshow {
	margin: 0 0 20px 0;
	position: relative;
}

#content .slideshow {
	margin: 0 0 40px 0;
}

#content .flex-control-nav {
	padding: 0;
	margin: 0 !important;
	padding: 0 !important;
	bottom: -20px !important;
}

.slideshow li, #content .flexslider li, #content .flexslider ol {
	list-style: none !important;
	list-style-type: none !important;
}

#content .flexslider .slides {
	margin: 0;
}


/*///////////////////////////////////////////////////////////////////// 
//  07 - Widgets
////////////////////////////////////////////////////////////////////*/

#footer .widgetBox {
	float: left;
	margin-right: 23px;
	width: 29.5%;
}

#sideWidgets {
	padding-top: 20px;
	margin-right: 20px;
}

#sideWidgets .widgetBox {
	margin-bottom: 30px !important;
}

#sideWidgets .widgetBox h3, #footer .widgetBox h3 {
	font-size: .75em;
	font-weight: bold;
	color: #606060;
}

#sideWidgets .widgetBox .meta, #footer .widgetBox .meta {
	font-style: italic;
}

#sideWidgets ul, #footer ul {
	margin: 0 0 0 0;
	padding: 0px 0 0 0;
	line-height: 1em;
	background: none;
	position: relative;
}

#sideWidgets ul li, #footer ul li {
	padding: 0px 0 0px 0;
	margin: 0 0 15px 0;
	line-height: 1em;
	background: none;
	font-size: .75em;
}

#sideWidgets ul li p, #footer ul li p {
	line-height: 1.3em;
	margin: 0;
}

#sideWidgets ul li h2, #footer ul li h2 {
	font-size: 13px;
	margin: 0 0 0px 0;
	padding: 0 !important;
	line-height: 1em;
	font-weight: normal;
}

#sideWidgets .widget_nav_menu ul, #footer .widget_nav_menu ul, #sideWidgets .widget_pages ul, #footer .widget_pages ul, #sideWidgets .widget_categories ul, #footer .widget_categories 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, #sideWidgets .widget_categories li, #footer .widget_categories li {
	display: block;
	padding: 0 0 0 0;
	margin: 10px 0 0 0;
	border: none;
}


/*Search------------------*/

.widget_search {
	display: inline-block;
	padding: 0 !important;
}

.widget_search h3 {
	display: none;
}

.widget_search:after {
	content: " ";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

html[xmlns] .widget_search {
	display: block;
}

* html .widget_search {
	height: 1%;
}

#s {
	margin: 0 0px 0 0;
	padding: 7px 10px 7px 10px !important;
	line-height: normal!important;
	width: 160px;
	color: #9a9a9a;
}

#searchsubmit {
	font-size: 11px !important;
	margin: 0 !important;
	border-left: none;
	-webkit-border-bottom-left-radius: 0px;
	-webkit-border-top-left-radius: 0px;
	-moz-border-radius-bottomleft: 0px;
	-moz-border-radius-topleft: 0px;
	border-bottom-left-radius: 0px;
	border-top-left-radius: 0px;
	float: right;
	border: none;
	height: 30px;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	background-position: 0 -1px;
}


/*Recent Posts Widget------------------*/

#sideWidgets .ttrust_recent_posts .meta, #footer .ttrust_recent_posts .meta {
	margin: 0 0 0 0 !important;
	display: block;
	padding: 3px 0 0 0;
}

#sideWidgets .ttrust_recent_posts .title, #footer .ttrust_recent_posts .title {
	font-size: 13px !important;
	margin-bottom: 2px;
	line-height: 1.1em;
	display: inline-block;
}

.ttrust_recent_posts .firstPost p {
	margin-bottom: 10px;
}

.secondaryPost {
	padding: 10px 0 0px 0;
}

.ttrust_recent_posts .thumb {
	float: left;
	margin: 0 12px 0 0;
	padding: 3px;
	background: #fff;
	border: 1px solid #e1e1e1;
}

.ttrust_recent_posts li {
	margin-bottom: 30px;
	border: none;
	display: block;
}


/*Calendar Widget--------------------*/

table#wp-calendar {
	width: 100%;
}

table#wp-calendar td, table#wp-calendar th {
	text-align: left;
}

table#wp-calendar td {
	color: #b0b0ad;
	padding-top: 10px;
}

table#wp-calendar td a {
	font-weight: bold;
}

#wp-calendar caption {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #dbdad8;
	font-size: 14px;
	font-weight: bold;
}


/*Tag Widget--------------------*/

.widget_tag_cloud a {
	font-size: 11px !important;
	padding: 5px 7px 5px 7px;
	display: block;
	float: left;
	margin: 0 5px 5px 0;
}

#footer .widget_tag_cloud a, #sidebar .widget_tag_cloud a {
	background: #7a7a7a;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

#sidebar .widget_tag_cloud a {
	background: #f3f3f3;
}

#footer .widget_tag_cloud a {
	background: #e5e5e5;
}

.widget_tag_cloud:after {
	content: " ";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.widget_tag_cloud {
	display: inline-block;
}

html[xmlns] .widget_tag_cloud {
	display: block;
}

* html .widget_tag_cloud {
	height: 1%;
}


/*Twitter Widget--------------------*/

#twitterBox {
	margin: 0 0 10px 0;
}

ul#twitter_update_list li {
	line-height: 1.4em !important;
}

.twitterLink a {
	font-style: italic;
}


/*Flickr Widget--------------------*/

#flickrBox .flickrImage {
	float: left;
	margin: 0 7px 7px 0;
	padding: 3px;
	background: #f0f0f0;
	border: 1px solid #e1e1e1;
}

#flickrBox .flickrImage img {
	width: 50px;
	height: 50px;
}

#footer #flickrBox .flickrImage {
	margin: 0 12px 12px 0;
}


/*///////////////////////////////////////////////////////////////////// 
//  08 - Comments
////////////////////////////////////////////////////////////////////*/

#comments {
	position: relative;
	margin: 0 0 30px 0px;
	width: 74.468805%;
	padding: 0 0 0 0;
}

#content.project #comments, #content.education #comments {
	padding-top: 30px;
}

#comments ul {
	list-style: none;
	margin: 0 0 30px 0;
}

#comments h3 {
	margin: 0 0 30px 0;
}

#commentBox h3 {
	font-size: 1em;
	margin-bottom: 20px;
}

#content #comments ul li {
	font-size: 1em !important;
}

#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 #e3e3e3;
}

.comment {
	position: relative;
	margin: 0 0 0 0;
	padding: 0 0 20px 0;
}

.comment .avatar {
	position: absolute;
	left: 0;
	top: 0;
}

#commentForm label {
	padding-left: 20px;
}

.comment h5 {
	margin: 0 0 0 80px;
	padding: 0;
}

.comment .date {
	margin: -5px 0 10px 80px;
	display: block;
	color: #a5a5a2;
	font-style: italic;
	font-size: .75em;
}

.comment p {
	margin: 0 0 10px 80px;
}

.comment-reply-link, .comment-reply-login {
	margin: 0 0 0 80px;
	font-size: .75em;
}

.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;
}

#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%;
	margin-right: 20px;
}


/*//////////////////////////////////////////////////////////////////// 
//  09 - Pagination
////////////////////////////////////////////////////////////////////*/

.pagination {
	width: 98%;
	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;
}


/*//////////////////////////////////////////////////////////////////// 
//  10 - Footer
////////////////////////////////////////////////////////////////////*/

#footer .secondary a {
	color: #797979;
}

#footer .secondary a:hover {
	color: #5b5b5b;
}

#footer .main {
	padding-bottom: 10px;
}

#footer .inside {
	max-width: 62.5em;
	margin: 0 auto;
	padding: 30px 0 30px;
}

#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;
}


/*//////////////////////////////////////////////////////////////////// 
//  11 - Media Queries
////////////////////////////////////////////////////////////////////*/


/* iPad Landscape */

@media only screen and (max-width: 1024px) {
	#main, #header .inside {
		max-width: 64.5em;
	}
	#header {
		width: 21%;
	}
}


/* iPad Portrait */

@media only screen and (max-width: 768px) {
	#header {
		float: none;
		position: relative;
		margin: 0 auto 10px auto;
		width: auto;
		padding: 20px 0 20px 0;
	}
	#header #logo {
		margin: 0;
		display: inline-block;
		width: 100px;
	}
	#header #logo img {
		max-width: 100%;
		height: auto;
	}
	#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: auto;
		margin: 0 auto 30px auto;
		padding-top: 0;
		float: none;
	}
	#homeMessage p {
		font-size: 1.0em!important;
	}
	.sidebarBox {
		float: left;
		margin: 0 3% 30px 0;
	}
	#homeMessage p {
		font-size: 2.7em !important;
	}
	#comments {
		width: 100%;
	}
	#footer {
		width: auto;
		float: none;
		margin: 0 0 30px 25px;
	}
}


/*layouts smaller than 600px, iPhone and mobiles*/

@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;
	}
	h4 {
		font-size: .9em;
	}
	h5 {
		font-size: .8em;
	}
	#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: 2.0em;
	}
	#pageHead h2 {
		font-size: 1.5em;
	}
	#pageHead {
		padding: 10px 0 20px 0;
	}
	#homeMessage {
		font-size: .5em;
		margin-bottom: 20px;
	}
	#homeMessage p {
		text-align: center;
	}
	#main {
		width: auto;
		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 0 0 0;
		display: inline-block;
		padding: 0 5px 0 5px;
	}
	#content .post {
		margin-bottom: 20px;
		padding-bottom: 0!important;
	}
	#content .project.small, #content .education.small {
		margin: 0 10px 10px 0;
	}
	#projects, #educations {
		margin-left: 10px;
	}
	.project.small, .education.small {
		margin: 0 10px 10px 0 !important;
	}
	.project.small img, .education.small img {
		max-width: 100%;
		height: auto;
	}
	#footer {
		width: 92%;
		margin: 0 auto 0 auto;
	}
	#footer .widgetBox {
		width: 100%;
		float: none;
		margin-bottom: 20px;
	}
	#footer #flickrBox .flickrImage {
		margin: 0 5px 5px 0;
	}
	#footer .secondary {
		width: 100%;
		padding-bottom: 10px;
		text-align: center;
	}
	#footer .secondary p {
		margin: 0px;
		padding: 0px;
	}
	#footer .secondary .left, #footer .secondary .right {
		float: none;
		padding-bottom: 10px;
	}
	#commentForm input[type="text"], #comments input[type="text"] {
		width: 40% !important;
		margin-right: 5px !important;
	}
	#commentForm label, #comments label {
		font-size: .8em;
	}
	/*Column Shortcodes------------------*/
	.one_half {
		width: 100%;
	}
	.one_third {
		width: 100%;
	}
	.two_third {
		width: 100%;
	}
	.one_half, .one_third, .two_third {
		position: relative;
		margin-right: 0%;
		float: none;
	}
	.last {
		margin-right: 0 !important;
		clear: right;
	}
	.clearboth {
		clear: both;
		display: block;
		font-size: 0;
		height: 0;
		line-height: 0;
		width: 100%;
	}
}


/**
 * Menu
 */

#header, #header > div {
	height: 100%;
}

#content #filterNav li > span:first-child {
	display: none;
}

#content #filterNav li {
	background-color: #000;
}

#content #filterNav li a {
	line-height: 150%;
	color: #f5f5f5 !important;
	font-size: 1.75em;
}

#content #filterNav li a:hover, #content #filterNav li a:focus, #content #filterNav li a:active {
	color: #cccccc !important;
}

#content #filterNav.active li {
	right: 0;
	display: block;
	float: right;
	width: 180px;
	padding: 5px 10px;
	clear: both;
}


/**
 * Projects
 */

#projects .title, #educations .title {
	display: block;
	margin: 5px 10px 30px;
	font-size: 23px;
	opacity: 1 !important;
}

#projects .title .entry-subtitle, #educations .title .entry-subtitle {
	display: none;
}

#projects .project > a, #educations .education > a {
	display: block;
	opacity: 0.7;
}

#projects .project > a:hover, #projects .project > a:focus, #projects .project > a:active, #educations .education > a:hover, #educations .education > a:focus, #educations .education > a:active {
	opacity: 1;
}

.thumbs.masonry img {
	width: 100%;
	height: auto;
	padding: 0 10px;
}

.thumbs.masonry > div.project, .thumbs.masonry > div.education {
	width: 100%;
}

.thumbs.masonry > div.project > a, .thumbs.masonry > div.education > a {
	max-height: 245px;
	overflow: hidden;
}

.flexslider .slides img {
	width: 100%;
}

.post-thumb-container img {
	width: 100%;
	height: auto;
	margin: -80px 0 50px 0;
}

#content .project p, #content .education p {
	padding-right: 40px;
}

.single-projects #main, .single-educations #main, .single.events #main {
	padding-top: 0;
	margin-top: 40px;
	margin-right: 0;
	margin-left: -20px;
}

.single-projects .size-full, .single-educations .size-full {
	width: 100%;
	height: auto;
}

.wp-caption-text {
	font-size: 1.5em;
}

.isotope-item.isotope-hidden {
	display: none;
}

.page-projects #pageHead, .page-educations #pageHead {
	display: none;
}

.single-projects #pageHead, .single-educations #pageHead {
	position: absolute;
	padding: 40px 0 30px 0;
	margin: 0 0 80px 0;
	top: 0;
}

.single-projects .post-thumb-container, .single-educations .post-thumb-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-size: cover;
	background-repeat: no-repeat;
}

@media (min-width: 320px) {
	/**
	 * Menu social
	 */
	#sideWidgets {
		position: absolute;
		right: 0;
		bottom: 40px;
		left: 65px;
	}
	#menu-social {
		max-width: 200px;
	}
	#menu-social .menu-item {
		position: relative;
		width: 25px;
		height: 25px;
		margin-right: 15% !important;
		font-size: 25px;
		line-height: 25px;
		color: #4c4c4c;
	}
	#menu-social .menu-item:last-child {
		margin-right: 0 !important;
	}
	#menu-social .menu-item a {
		position: absolute;
		top: 0;
		left: 0;
		display: block;
		width: 25px;
		height: 25px;
		overflow: hidden;
		text-indent: -9999px;
	}
	#menu-social .menu-item:hover, #menu-social .menu-item:focus, #menu-social .menu-item:active {
		color: #f5f5f5 !important;
	}
	#menu-social .fa-soundcloud, #menu-social .fa-mixcloud {
		font-size: 20px;
	}
}


/**
 * Events
 */

.page-events #pageHead {
	display: none;
}

div.event {
	width: 100%;
	margin-bottom: 40px;
	float: left;
}

div.event .event-date {
	width: 25%;
	padding: 0 10px;
	float: left;
	font-size: 1.45em;
	line-height: 120%;
	text-align: center;
}

div.event .event-date .month {
	font-size: 0.8em;
}

div.event .event-name {
	width: 50%;
	padding: 0 10px;
	float: left;
	text-align: left;
	line-height: 170%;
}

div.event .event-name .name {
	font-size: 1.45em;
}

div.event .event-name .tag {
	font-size: 1.45em;
}

div.event .event-name .category {
	font-size: 1.45em;
}

div.event .event-location {
	width: 25%;
	padding: 0 10px;
	float: left;
	text-align: left;
}

div.event .event-location .address {
	font-size: 1.5em;
}

div.event .event-location .name {
	font-size: 2em;
}

.single-event div.post.event {
	float: none;
}

div.event-image, div.event-content {
	width: 75%;
}

div.event-image .postThumb {
	width: 100%;
}

.em-location-map-container {
	width: 100% !important;
	height: 500px !important;
	max-width: 100%;
	background-color: #333333 !important;
}

.event-datetime {
	margin-bottom: 0;
}

#em-wrapper > p:first-child, #em-wrapper > p:last-child {
	display: none;
}


/**
 * Logo
 */

#logo {
	z-index: 999999;
}

#logo img {
	max-width: 100%;
}


/**
 * Front page
 */

body.home {
	overflow: hidden;
}

.home .home-header {
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center center;
}

.hidden-filter {
	display: none;
}

.filter-container {
	z-index: 999;
	position: fixed;
	width: 100%;
	height: 44px;
	top: 0;
	right: 0;
	background-color: #000000;
}

@media (max-width: 768px) {
	.single-projects #main, .single-educations #main, .single.events #main {
		margin-left: 120px;
	}
}


/**
 * MENU ICON
 */

#menu-toggle {
	position: fixed;
	top: -30px;
	right: 20px;
	width: 46px;
	height: 46px !important;
	display: none;
	margin: 50px auto;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	-o-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
	cursor: pointer;
}

#menu-toggle span {
	display: block;
	position: absolute;
	height: 5px;
	width: 100%;
	background: white;
	opacity: 1;
	left: 0;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .25s ease-in-out;
	-moz-transition: .25s ease-in-out;
	-o-transition: .25s ease-in-out;
	transition: .25s ease-in-out;
}


/* Icon 4 */

#menu-toggle span:nth-child(1) {
	top: 0px;
	-webkit-transform-origin: left center;
	-moz-transform-origin: left center;
	-o-transform-origin: left center;
	transform-origin: left center;
}

#menu-toggle span:nth-child(2) {
	top: 15px;
	-webkit-transform-origin: left center;
	-moz-transform-origin: left center;
	-o-transform-origin: left center;
	transform-origin: left center;
}

#menu-toggle span:nth-child(3) {
	top: 30px;
	-webkit-transform-origin: left center;
	-moz-transform-origin: left center;
	-o-transform-origin: left center;
	transform-origin: left center;
}

#menu-toggle.open span:nth-child(1) {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
	top: 0px;
	left: 8px;
}

#menu-toggle.open span:nth-child(2) {
	width: 0%;
	opacity: 0;
}

#menu-toggle.open span:nth-child(3) {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
	top: 33px;
	left: 8px;
}

.single #content {
	width: 75%;
}

.flex-control-nav {
	display: none;
}


/**
 * Default pages
 */

.page #pageHead {
	position: absolute;
	padding: 40px 0 30px 0;
	margin: 0 0 80px 0;
	top: 0;
}

.page #main {
	margin-top: 40px;
	margin-right: 0;
	margin-left: -20px;
}

.page #content {
	width: 75%;
}

.page.page-projects #content, .page.page-educations #content {
	width: 99%;
}


/**
 * Event pages
 */

.single-event #pageHead {
	padding: 40px 0 30px 0;
        margin: 0;
}

.single-event #content {
	width: 75%;
}


/**
 * Project slideshows
 */

#content ul.slides {
	margin: 0 0 0 20px;
}

#content .slideshow {
	margin: 0;
}

.slideshow .flexslider {
	margin: 0;
}

#content ul.slides li {
	margin: 0;
}

#content ul.flex-direction-nav {
	margin: 0;
}


/**
 * Mobile fixing
 */

@media (max-width: 768px) {
	#menu-toggle {
		display: block;
	}
	#header {
		z-index: 99999;
		position: fixed;
		top: 0;
		right: 0;
		left: 100%;
		height: 100%;
		width: 100%;
		background-color: rgba(0, 0, 0, 0.9);
		transition: left .3s ease;
	}
	#header.open {
		left: 0;
	}
	#mainNav {
		top: 140px;
		right: 20px;
	}
	#mainNav li {
		display: block;
		margin: 20px 0;
		text-align: right;
	}
	#content #filterNav {
		top: auto;
		right: 3px;
		bottom: 0;
		height: 44px;
		margin: 3px 0 0 0 !important;
	}
	.filter-container {
		top: auto;
		bottom: 0;
	}
	#main {
		margin-left: 34px;
	}
	.page #main {
		margin-top: 70px;
		margin-left: 36px;
		margin-right: 5px;
	}
	#content .one_third {
		width: 100%;
	}
	#logo {
		width: 35px;
	}
	.single-projects #main, .single-educations #main, .single.events #main {
		margin-top: 0;
		margin-left: 44px;
		margin-right: 5px;
	}
	.single #content {
		width: 100%;
		padding-top: 20px !important;
	}
	/** Event date */
	div.event .event-date {
		width: 100%;
		margin-bottom: 5px;
		text-align: left;
	}
	div.event .event-name {
		width: 100%;
		text-align: left;
	}
	.thumbs.masonry img {
		padding-left: 0;
	}
}


/**
 * Events on menu
 */

.single-event #mainNav .menu-item-168 > a {
	color: #eeeeee;
}


/**
 * Mailchimp
 */

#mc_signup::before, #mc_signup::after {
	content: '';
	display: table;
	clear: both;
}

.mc_merge_var {
	margin: 20px 20px 0 0;
	float: left;
}

.mc_signup_submit {
	margin: 20px 20px 0 0;
	float: left;
}

.mc_var_label {
	display: inline-block;
	padding: 10px 0;
	margin-right: 17px;
	font-size: 12px;
	font-weight: 700;
}

#mc_display_rewards {
	display: none;
}

#mc_signup_submit {
	font-size: 1em;
	padding: 10px;
	line-height: 130% !important;
}


/**
 * Remove empty tag on event listing
 */

span.tag:empty, span.tag:empty + br {
	display: none;
}

/**
 * Divide past and future events
 */

.css-events-list-2 > .event-list-divider {
    background: white;
display: inline-block;
width: 75%;
height: 2px;
margin-bottom: 40px;
margin-left: 10px;

}

