/* 
Theme Name: Project N
Theme URI: http://
Description: Semantic HTML5 WordPress 3.4 Anaximander child theme. Reponsive theme with masonry layout, custom post types, custom taxonomys.
Author: Chris Skinner
Version: 0.0.1
Template: Anaximander-Static
Tags: responsive, masonry layout, custom post types, taxonomys.
*/

body {
 font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}


/* -------- HTM5 Outline -------- */
.hidden {
	display: none;
}

/* -------- Generic -------- */

p,
.entry-content p { line-height: 1.8em; margin-bottom: 1.6em; }
.entry-content ul { margin-bottom: 1.6em; }
.entry-content li { margin-bottom: 0.8em; }
.entry-content p a:link,
.entry-content p a:visited,
.entry-content li a:link,
.entry-content li a:visited { color: #437743; color: #1982d1;}

/* -------- Header -------- */

#site-header {
	background-color: #ffffff!important;
}

#header_image img {
	width: auto;
	margin: 0 auto;
	padding: 10px 0;
}

#description { 
	color: #363636;
	font-size: 20px;
	font-family: 'Trajan Pro';
	margin: 5px 0 0;
	text-align: center;
	transition:all .2s linear; 
    -o-transition:all .2s linear; 
    -moz-transition:all .2s linear; 
    -webkit-transition:all .2s linear;
}



/* -------- Front Page -------- */
.toggle a:hover {
	color: #000;
	cursor: pointer;
}

.entry-meta-custom {
	font-size: 12px;
	line-height: 18px;

}

.entry-meta-custom a {
	font-weight: bold;
	color: #437743;
	color: #1982d1;
	
}

/* -------- Blog Page -------- */

#content.blog {
	max-width: 620px;
	float: left;
	margin: 40px 20px 40px 50px;
}

#sidebar {
	margin: 40px 50px 0 0;
}

/* -------- Navigation -------- */
.main-navigation {
	margin: 20px 50px;
}

#menu-header-menu {
	border-bottom: 1px solid #ededed;
	border-top: 1px solid #ededed;
	display: inline-block;
	text-align: left;
	width: 100%;

}

#menu-header-menu li {
	display: inline-block;
	text-decoration: none;
	margin: 0 40px 0 0;
	margin: 0 2.857142857rem 0 0;
	position: relative;
}

	#menu-header-menu li a {
		color: #636363;
		/*font-weight: bold;*/
		text-decoration: none;
		line-height: 3.692307692;
		text-transform: uppercase;
		white-space: nowrap;
		font-size: 13px;
	}

#menu-header-menu ul {
	display: none;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1;
}

#menu-header-menu li:hover ul{
	display: inline-block;
}


#menu-header-menu li ul li a{
	background: #efefef;
	/*border-bottom: 1px solid #ededed;*/
	display: block;
	font-size: 13px;
	line-height: 2.181818182;
	padding: 8px 11px;
	padding: 0.571428571rem 0.714285714rem;	
	width: 180px;
	width: 12.85714286rem;
	white-space: normal;
}

#menu-header-menu li ul li a:hover {
	background: #e3e3e3;
	color: #444;
}

.nav-toggle {
	display: none;
}

/* -------- Header -------- */
.page-header {
	margin-top: 30px;
	margin-bottom: -35px;
}

.page-header h1 { font-weight: 200; }

.page-title {
	background-color: #fff;
	/*background-color: #013602;*/
	/*color: whitesmoke;*/
	/*background: url('patterns_vol2/noise_pattern_with_crosslines.png');*/
}

/* -------- Single Custom Post Page -------- */
.theComments {
	display: inline-block;
	margin-bottom: 2px;
}

/* -------- Search box -------- */
#searchform {
	width: 210px;
	position: relative;
	left: 740px;
	top: 39px;
	margin-top: -22px;
}

#searchform input#s {
	width: 120px;
	-moz-border-radius: 7px; /* add rounded corners to search box */
	-webkit-border-radius: 7px;
	border-radius: 7px; /* future proofing */
	-khtml-border-radius: 7px; /* for old Konqueror browsers */
}

#searchsubmit {
	position: relative;
	top: -1px;
}

/* -------- Social Sharethis button -------- */
li.theComments span.st_sharethis {
	display: inline-block;
}

.stButton {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 0.6em !important;
}

.stButton .chicklets {
	background-image: none !important;
	background-color: #333;
	font-size: 0.6em !important;
	padding: 0px 20px !important;
	text-decoration: none !important;
	line-height: 16px !important;
	color: #fff !important;
	font: inherit !important;
}

/* -------- Minor adjustment for IE -------- */
@media screen and (min-width:0\0) {
    .stButton .chicklets { height: 15px !important;}
} 

.stButton .sharethis {
	background-image: none !important;
}

.stButton .sharethis:hover {
	background-color: #437743;
	opacity: 1 !important;
}

/* -------- Images -------- */
img[class*="align"],
img[class*="wp-image-"],
#content .gallery .gallery-icon img,
.single-thumb img,
.archive-thumb img  {
	border: 1px solid #ddd;
	padding: 5px;
}

.archive-thumb img {
	float: left;
	margin-right: 10px;
	max-width: 40%;
	height: auto;
	border: none;
	padding: 0;
}

img.alignleft, .wp-caption.alignleft {
	margin: 0px 15px 5px 0;
}


/* -------- Meta Data -------- */
.index-meta li {
	margin: 0 1px 0 0;
	list-style-type: none;
}

li.more-link {
	text-align: left;
}

.name-date {
	border: none;
	margin: 10px 0 0 0;
	border-bottom: 1px solid #eee;
	margin-bottom: 10px;
	padding-bottom: 5px;"
}


/* -------- Archives -------- */
.archive-content {
	border: 1px #e3e3e3 solid;
	margin-bottom: 20px;
	padding-top: 20px;
}

.archive-content h1 {
	margin-bottom: 0.4em;
}

.archive-content .entry-title,
.archive-content .entry-meta-custom {
	padding-left: 20px;
}

.archive-content .index-meta {
	margin: .5em 0 0 0;
}

.archive-content .entry-content {
	padding: 20px 10px 0 10px ;
	overflow: hidden;
}

.archive-content .footer-meta {
	margin: 20px 0 0 0;
	clear: both;
}

.archive-content .name-date {

}

/* -------- Gallery Captions -------- */

#gallery-1 .gallery-item {
	width: auto !important;
	margin: 0 30px 30px 0;
}

.gallery-caption {
	font-weight: 300;
	padding-top: 5px;
}

#gallery-1 .gallery-item {
	margin: 0 20px 20px 0;
}

/* Slide in Captions */

#gallery-1 dl {
	display: block;
	position: relative;
	float: left;
	overflow: hidden;
	margin: 0 20px 20px 0;
}

.wp-caption-text.gallery-caption {
	position: absolute;
	background: black;
	background: rgba(0,0,0,0.75);
	color: white;
	padding: 10px 20px;
	opacity: 0;
	-webkit-transition: all 0.6s ease;
	-moz-transition:    all 0.6s ease;
	-o-transition:      all 0.6s ease;
	width: 162px;
	text-align: left;
}

#gallery-1 dl:hover .wp-caption-text.gallery-caption {
	opacity: 1;
}

#gallery-1 dl:before {
	content: "?";
	position: absolute;
	font-weight: 800;
	background: transparent;
	background: rgba(255,255,255,0.75);
	text-shadow: 0 0 5px white;
	color: black;
	width: 24px;
	height: 24px;
	-webkit-border-radius: 12px;
	-moz-border-radius:    12px;
	border-radius:         12px;
	text-align: center;
	font-size: 14px;
	line-height: 24px;
	-moz-transition: all 0.6s ease;
	opacity: 0.75;
}

#gallery-1 dl:hover:before {
	opacity: 0;
}

#gallery-1 dl:before { bottom: 10px; left: 10px; }
#gallery-1 dl .wp-caption-text.gallery-caption { left: 0; bottom: -30%;}
#gallery-1 dl:hover .wp-caption-text.gallery-caption { bottom: 0; }


.wp-caption img.size-medium,
.wp-caption img.size-large { max-width: 95%; width: 100%; }
.caption-permalink { font-size: 11px; display: block; }


/* -------- Footer -------- */

#footer-sidebar ul li {
	margin-right: 1.6%;
}

/* -------- Plugins -------- */

div.sharedaddy .sd-content { float: none !important;}
#related .sd-content ul li { width: auto; }
#related div.sharedaddy .sd-content { width: 100%; }


#related ul li:hover article,
#related ul li:focus article {
	background: #fff !important;
}

.contact-form input[type="text"], .contact-form input[type="email"] {
    max-width: 97% !important;
}

/* -------- Other -------- */

#bookmarksList li {
	list-style-type: none;
	display: inline;
	margin-left: 0;
}
#bookmarksList li:before { content: " | ";}
#bookmarksList li:first-child:before { content: "";}


.resources img {
	border: none !important;
	margin: 0px !important;
	width: 1px;
	height: 1px;
}


/* =Media queries
-------------------------------------------------------------- */

@media only screen and (min-width : 720px) and (max-width : 1039px) {

	#menu-header-menu li {
		margin: 0 1.857142857rem 0 0;
	}

	#wrapper {
		width: 720px;
	}
	
	/* -------- Search box -------- */
	#searchform {	
		width: 211px;
		left: 410px;
	}

	#searchsubmit {
		top: 0;
	}
	
	/* -------- Blog -------- */
	#content.blog {
		max-width: 620px;
		margin: 40px 50px;
	}

	#sidebar {
		display: none;
	}

	/* -------- Images -------- */
	.single-thumb img{
		max-width: 97%;
	}

	/* break images with alignright or align left to float none */
	.wp-caption.alignright,
	.wp-caption.alignleft { margin-right: auto; margin-left: auto; }
	.alignright { float: none; display: block; }
	.wp-caption { max-width: 95%; }

} /* END max-width : 1199px */

@media only screen and (min-width : 720px ) {
	#menu-header-menu { display: inline-block !important; }
}

@media only screen and (max-width : 719px ) {
	
	/* -------- Header -------- */
	#description { 
		margin: 10px 0 10px 10px;
	}

	/* -------- IE responsive styles added from main style sheet -------- */	
	.post-container {
		margin-left: 0;
	}

	.entry-header {
		margin-left: 0;
		float: none;
		width: 100%;
	}

	#content {
		margin: 20px;
	}

	.archive-content .entry-content {
		padding: 10px 10px 0 10px;
	}

	#footer-sidebar ul li, #related ul li {
		width: 100%;
		float: none;
		margin-right: 0;
		margin-bottom: 2em;
	}

	/* -------- Navigation -------- */
	#menu-header-menu {
		display: none;
		overflow: hidden;
		position: relative;
		border: none;
	}
	
	#menu-header-menu li {
		display: block;
		width: 100%;
		margin: 0;
		background: #eee;
	}

	#menu-header-menu li a,
	#menu-header-menu li ul li a {
		background: #333;
		/*color: #CCCCCC;*/
		color: white;
		font-size: 13px;
		line-height: 2;
		padding: 8px 11px;
		padding: 0.571428571rem 0.714285714rem;
		/*text-indent: ;*/
		margin: 0;
		white-space: normal;
		display: block;
		width: 100%;
		font-weight: 200;
	}

	#menu-header-menu li ul li a {
		text-indent: 1em;
	}

	#menu-header-menu li ul li a:before {
		content: "L";
		font-size: 8px;
		position: relative;
		left: -5px;
		top: -4px;
	}

	#menu-header-menu li a:hover,
	#menu-header-menu li ul li a:hover {
		background: #666666;
		color: #fff;
	}

	#menu-header-menu li:hover ul,
	#menu-header-menu ul {
		display: block;
		position: static;
	}

	.main-navigation {
		margin: 0;
	}

	.nav-toggle {
		display: block;
		overflow: hidden;
		text-align: right;
		text-decoration: none;
		font-size: 18px;
		line-height: 1.3;
		padding: 8px 11px;
		padding: 0.571428571rem 0.714285714rem;
		background-color: none;
		border-bottom: 1px solid #ededed;
		background: #333;
		
	}

	a.nav-toggle {
		text-decoration: none;
		/*color: #CCCCCC;*/
		color: white;
	}

	.nav-toggle:after {
		content: " ▼";
		font-size: 14px;
	}
	
	/* -------- Search box -------- */
	#searchform {
		width: 220px;
		position: relative;
		left: 10px;
		top: -10px;
		margin-top: -22px;
		z-index: 9999;
	}

	#searchsubmit {
		top: 0;
	}

	/* -------- Images -------- */
	.archive-thumb img{ margin-bottom: 10px; }
	.archive-content .entry-content { padding: 10px 10px 0 10px ;}
	.single-thumb img {max-width: 98%;}
	.wp-caption { max-width: 94%; }

	/* -------- Blog -------- */
	#content.blog {
		max-width: 100%;
		margin: 20px;
	}

	/* -------- Plugins -------- */
	#related .sd-content ul li { float: left; }


	/* -------- Plugins -------- */
	.menu-header-menu-container {
		position: relative;
		top: -3px;
	}

	.page-header {
		margin-top: 15px;
		margin-bottom: -25px;
	}

} /* END max-width : 719px */

@media only screen and (max-width : 479px ) {
	
	#description { font-size: 13px; }

	/* -------- Front Page -------- */
	#masonry-index .index-post-container { margin-right: 0; }
	#content { margin: 9px; }
	#masonry-index { width: 100%; }

	/* -------- Images -------- */
	.archive-thumb img{
		float: none;
		max-width: 95%;
	}

	/* break images with alignright or align left to float none */
	.wp-caption.alignright,
	.wp-caption.alignleft { margin-right: auto; margin-left: auto; }
	.alignright { float: none; display: block; }
	.single-thumb img { max-width:  97%; }
	
	/* -------- Search box -------- */
	#searchform input#s { width: 100px; }
	#searchsubmit { top: 0; }

	.page-header { margin-bottom: -15px; }
	.page-header h1 { padding-left: 10px; }

} /* END max-width : 479px */

@media only screen and (max-width : 319px ) {
	

} /* END max-width : 319px */