/*
Theme Name: anagraphic
Theme URI: http://anagraphic.hu
Author: a generous designer
Author URI: http://agenerousdesigner.com/
Description: 
Version: 1.11
*/


/* @group Normalize & basic styles
------------------------------------------------------------*/
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }
html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; font-size: 14px; line-height: 1.2857; }
.webkit body { line-height: 1.29; }
body, button, input, select, textarea { font-family: sans-serif; color: #010101; }
/*::-moz-selection { background: #0099cc; color: #fff; text-shadow: none; }
::selection { background: #0099cc; color: #fff; text-shadow: none; }*/
a { color: #0099cc; text-decoration: none; }
a:visited { color: #0099cc; }
a:hover { color: #010101; }
a:focus { color: #010101; outline: thin dotted; }
a:hover, a:active { outline: 0; }
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 0 20px 1em; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 0 0 1em 0; padding: 0 0 0 20px; }
dd { margin: 0 0 0 20px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }
form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; *overflow: visible; }
table button, table input { *overflow: auto; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }
table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }
/* @end */


/* @group Basic layout
------------------------------------------------------------*/
#wrapper {
	padding: 50px 10px 0 10px;
}
.grid {
	position: relative;
}
.column {
	position: relative;
	float: left;
	display: block;
	margin: 0 0 1.7857em;
}
.col1width,
.col2width,
.col3width {
	width: 100%;	
}
.grid .container {
	position: relative;
	/*max-height: 216px;*/
	overflow: hidden;
}
/* @end */


/* @group Basic styles
------------------------------------------------------------*/
body {
	font-family: "TitilliumText22L 250wt", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
}
p {
	margin-top: 0;
}
figure {
	margin: 0 !important;
}
/* @end */


/* @group Header
------------------------------------------------------------*/
#site-header {
	position: relative;
}
#site-header .logo {
	margin-bottom: 54px;
}
#site-header .logo a {
	display: block;
	width: 214px;
	height: 41px;
	background: url(images/anagraphic-logo.png) left top no-repeat;
	text-indent: -999em;
	outline: none;
}
#site-header nav {
	margin-bottom: 30px;
}
#site-header nav a {
	color: #010101;
	-webkit-transition: color 0.2s ease-in-out 0s;
	-moz-transition: color 0.2s ease-in-out 0s;
	transition: color 0.2s ease-in-out 0s;
}
#site-header nav a:hover,
#site-header nav a:focus,
#site-header nav .current-menu-item a,
#site-header nav .current-post-ancestor a {
	color: #0099cc;
}
#site-header nav li {
	display: inline-block;
	margin: 0 15px 13px 0;
	font-size: 17px;
	text-transform: lowercase;
}
#site-header nav li:last-child {
	margin-right: 0;
}
#site-header nav li:last-child a {
	color: #0099cc;
}
#site-header nav li:last-child a:hover,
#site-header nav li:last-child a:focus {
	color: #010101;
}
#site-header .portfolio-links {
	display: none;
}
/* @end */


/* @group Body
------------------------------------------------------------*/
.portfolio-links {
	position: relative;
	float: right;
	list-style: none;
}
.portfolio-links li {
	display: inline-block;
	margin-left: 2px;
}
.portfolio-links li a {
	display: block;
	width: 14px;
	height: 14px;
	overflow: hidden;
	text-indent: -999em;
}
.portfolio-links li a img {
	display: block;
}
.portfolio-links li a:hover img,
.portfolio-links li a:focus img {
	position: relative;
	top: -14px;
}
.pagination {
	position: relative;
	text-transform: lowercase;
}
.pagination div {
	margin-bottom: 1.7857em;
}
.pagination .icon {
	display: inline-block !important;
	width: 16px;
	height: 14px;
	overflow: hidden;
	vertical-align: middle;
	background: url(images/prev-next.png) no-repeat;
}
.pagination .nav-next {
	position: relative;
	float: left;
}
.pagination .nav-next .icon {
	margin: 0 5px;
	background-position: left top;
}
.pagination .nav-next a:hover .icon,
.pagination .nav-next a:focus .icon {
	background-position: right top;
}
.pagination .nav-prev {
	position: relative;
	float: right;
}
.pagination .nav-prev .icon {
	margin: 0 5px;
	background-position: left bottom;
}
.pagination .nav-prev a:hover .icon,
.pagination .nav-prev a:focus .icon {
	background-position: right bottom;
}
.pagination a {
	color: #010101;
}
.pagination a:hover {
	color: #0099cc;
}
.pagination a .text {
	display: none;
	vertical-align: middle;
}
.mobile .pagination a .text {
	display: inline;
}
.post-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.post-list li .post-thumb-img {
	position: relative;
	width: 100%;
	height: auto;
}
.js .post-list li .post-thumb-img.post-thumb-color {
	position: absolute;
	left: 0;
	top: 0;
}
.post-list li .loading {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	display: block;
	background: url(images/loader.gif) center center no-repeat #fff;
}
.no-js .post-list li .loading {
	display: none;
}
.post-list li a {
	display: block;
}
.post-list header {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	z-index: 2;
}
.post-list header h2 {
	margin: 0;
	padding: 9px 15px;
	font-size: 17px;
	font-weight: normal;
	background: rgba(255, 255, 255, .7);
	color: #000;
	text-transform: lowercase;
	letter-spacing: 0.03em;
}
.legacy .post-list header h2 {
	background: transparent url(images/ie-postheader-bg.png);
}
.post-thumbnail {
	margin-bottom: 1.7857em;
}
.post-thumbnail img {
	width: 100%;
}
.post-gallery .gallery-icon img {
	width: 100%;
	height: auto;
}
.col2width.post-gallery .gallery-icon img {
	max-width: 745px;
}
.post-gallery .gallery-item {
	margin-bottom: 1.7857em;
}
.post-content {
	text-transform: lowercase;
	letter-spacing: 0.03em;
}
.post-content h1,
.post-content h2{
	font-size: 1em;
	font-weight: normal;
	margin-bottom: 0;
}
.pagination-top {
	display: none;
}
.post-carousel {
	position: relative;
	margin-right: -24px;
}
.post-carousel .col-2 {
	position: relative;
	float: left;
	width: 50%;
}
.post-carousel .col-2 .gallery-icon {
	position: relative;
	margin-right: 24px !important;
}
.post-carousel .gallery-row {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
}
.post-carousel .gallery-row:first-child {
	position: relative;
}
.mobile .post-carousel .gallery-row,
.mobile.ipad .post-carousel .gallery-row:first-child {
	position: relative;
}
.mobile.ipad .post-carousel .gallery-row {
	position: absolute;
}
.gallery-clear:before, .gallery-clear:after {content: "\0020"; display: block; height: 0; overflow: hidden;}
.gallery-clear:after {clear: both;}
.gallery-clear {zoom: 1;}

#infscr-loading {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	text-align: center;
	height: 60px;
	background-color: rgba(255,255,255,.95);
	z-index: 10;
}
#infscr-loading img {
	margin-top: 25px;
}
/* @end */


/* @group Footer
------------------------------------------------------------*/
#site-footer {
	position: relative;
	margin: 0 2px;
	text-transform: lowercase;
}
#site-footer .copyright {
	position: relative;
	float: left;
}
/* @end */


/* @group Non-semantic helper classes
------------------------------------------------------------*/
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }
.hidden, .js .if-js-hidden, .no-js .if-nojs-hidden, .mobile .if-mobile-hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }
.group:before, .group:after {content: "\0020"; display: block; height: 0; overflow: hidden;}
.group:after {clear: both;}
.group {zoom: 1;}

.clear {clear: both; height: 0; margin: 0; border: none;}
.no-clear {clear: none;}
.align-center {text-align: center;}
.tsep {margin: 0.1em;}
.smaller { font-size: 0.9em; }

/* @end */


/* @group Media queries
------------------------------------------------------------*/

/* bigger images on higher screen resolutions */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
	#site-header .logo a {
		background-image: url(images/anagraphic-logo-hr.png);
		background-size: 100%;
	}
	.no-backgroundsize #site-header .logo a {
		background-image: url(images/anagraphic-logo.png);
	}
}

/* switch to 2 column grid when featured images reach their original width (360px) */
@media only screen and (min-width: 401px) {
	.col1width,
	.col2width { width: 50%; }
	.the-post .col1width,
	.the-post .col2width { width: 100%; }
	.grid { margin: 0 -10px; }
	.grid .container { margin: 0 12px; }
	.the-post .post-thumbnail { display: none; }
	.the-post .post-content {}
}

/* switch to 3 column grid (front page) on midsize screens */
@media only screen and (min-width: 768px) {
	.col1width,
	.the-post .col1width { width: 33.3333%; }
	.col2width,
	.the-post .col2width { width: 66.6666%; }
	.the-post .post-thumbnail {
		position: relative;
		float: none;
		width: auto;
	}
	.the-post .post-content {
		position: relative;
		float: none;
		width: auto;
	}
	.pagination-top,
	.the-post .post-thumbnail{ display: block; }
	.pagination-bottom { display: none; }
}

/* adjusting menu position */
@media only screen and (min-width: 868px) {
	#site-header .logo { position: relative; float: left; }
	#site-header nav {
		position: relative;
		float: right;
		margin-top: 7px;
	}
	#site-header .portfolio-links {
		position: absolute;
		right: 3px;
		bottom: 26px;
		display: block;
		float: none;
		margin: 0;
	}
	/* post get min height to preserve layout while loading */
	.the-post .post-content { min-height: 166px; /* 216 */ padding-bottom: 50px; }
}

/* get the full sized layout */
@media only screen and (min-width: 1152px) {
	/* p10 + 1132 + p10; 1 column is m12 + 360 + m12; grid has 3 columns */
	#wrapper { margin: 0 auto; width: 1132px; }
	.col1width { width: 384px; }
	/* adjusting grid to fit the 745px wide images; grid has 2 columns */
	.the-post .col1width { width: 383px; }
	.the-post .col1width .container { margin-right: 11px; }
	.the-post .col2width { width: 769px; }
}
/* @end */


/* @group Print styles
------------------------------------------------------------*/
@media print {
	* { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } 
	a, a:visited { text-decoration: underline; }
	a[href]:after { content: " (" attr(href) ")"; }
	abbr[title]:after { content: " (" attr(title) ")"; }
	.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } 
	pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
	thead { display: table-header-group; }
	tr, img { page-break-inside: avoid; }
	img { max-width: 100% !important; }
	@page { margin: 0.5cm; }
	p, h2, h3 { orphans: 3; widows: 3; }
	h2, h3 { page-break-after: avoid; }
}
/* @end */