/*
Theme Name: Laitzsch
Theme URI: http://julianelaitzsch.de/
Author: 20inch Labs
Author URI: http://20inchlabs.com
Description: Theme for the website of Juliane Laitzsch, based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.
Version: 1.0
License: Commercial
Text Domain: laitzsch
Domain Path: /languages/
Tags: green, orange, single column, tidy, light

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 - Reset
2.0 - Typography
3.0 - Elements
4.0 - Inputs and buttons
5.0 - Navigation
	5.1 - Links
	5.2 - Menus
6.0 - Accessibility
7.0 - Alignments
8.0 - Clearings
9.0 - Widgets
10.0 - Content
	10.1 - Posts and pages
	10.2 - Asides
	10.3 - Comments
11.0 - Infinite scroll
12.0 - Media
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 - 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, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
*,
*:before,
*:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
	-webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
	-moz-box-sizing:    border-box; /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
	box-sizing:         border-box;
}
body {
	background: #fff;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active {
	outline: 0;
}
a img {
	border: 0;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	/* font-family: sans-serif; */
	/* font-size: 16px; */
	/* font-size: 1.6rem; */
	/* line-height: 1.5; */
	font-family: 'PT Serif', serif;
	letter-spacing: 0.07em;
	word-spacing: 0.1em;
	color: #324225;
	font-size: 16px;
	line-height: 29px;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
}
p {
	margin-bottom: 1.5em;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}

/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/
body {
	background: #edefec;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}
ul, ol {
	margin: 0 0 1.5em 3em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
figure {
	margin: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}

/*--------------------------------------------------------------
4.0 Inputs and buttons
--------------------------------------------------------------*/
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	*vertical-align: middle; /* Improves appearance and consistency in all browsers */
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid #ccc;
	border-color: #ccc #ccc #bbb #ccc;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa #bbb;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}
input[type="checkbox"],
input[type="radio"] {
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}
textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a,
a:visited,
a:hover,
a:focus,
a:active {
	color: #ec542c;
}

/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/
/*
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation li {
	float: left;
	position: relative;
}
.main-navigation a {
	display: block;
	text-decoration: none;
}
.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	display: none;
	float: left;
	left: 0;
	position: absolute;
	top: 1.5em;
	z-index: 99999;
}
.main-navigation ul ul ul {
	left: 100%;
	top: 0;
}
.main-navigation ul ul a {
	width: 200px;
}
.main-navigation ul ul li {
}
.main-navigation li:hover > a {
}
.main-navigation ul ul :hover > a {
}
.main-navigation ul ul a:hover {
}
.main-navigation ul li:hover > ul {
	display: block;
}
.main-navigation .current_page_item a,
.main-navigation .current-menu-item a {
}
*/

.menu {
	position: relative;
	padding: 0em 0em 0.6em;
	margin: 2.5em 0em 1.4em;
	font-family: 'PT Serif', serif;
	font-style: italic;
	z-index: 50;
    list-style: none outside none;
    border-width: 0px 0px 0px 0px;
    border-style: solid;
	border-bottom: 4px double #ec542c;
}
.menu a {
	/* padding: 0em 2.4em 0.9em 0.2em; */
	padding: 0em 2.4em 0.9em 0.1em;
	margin: 0em 0em 0em 0em;
	text-transform: none;
	text-decoration: none;
}
.menu li {
	position: relative;
	float: left;
	margin-bottom: -1px;
}
.menu a:hover {
    color: #ec542c;  
}
.menu a,
.menu_control,
.menu-toggle {
	display: block;
	font-size: 18px;
	line-height: 1em;
	letter-spacing: 0px;
	border: 0 none;
	color: #324225;
}

.second_menu .current-menu-item > a { 
	color: #ec542c; 
}
.second_menu {
	margin-top: 0;
	padding-bottom: 0.25em;
}

.sub-menu {
	visibility: hidden;
	display: none;
}
li.menu-item.current-post-ancestor > a, 
li.menu-item.current-menu-item > a,
li.menu-item.current-menu-ancestor > a {
	color: #ec542c;
}
@media all and (max-width: 950px) {
	span.menu_control:nth-of-type(2),
	span.menu_control:nth-of-type(3) { 
		display: none !important; 
	}
	#menu-submenue { 
		display: none !important; 
	}
	.current-post-ancestor .sub-menu,
	.current-menu-parent .sub-menu {
		display: block;
		visibility: visible;
	}
}
@media all and (max-width: 450px) { }

/* Small menu */
.menu-toggle {
	margin-top: -2em;
	text-transform: uppercase;
	cursor: pointer;
	display: none;
}
@media screen and (max-width: 950px) {
	.menu-toggle,
	.main-navigation.toggled .nav-menu {
		display: block;
	}

	.main-navigation ul {
		display: none;
	}
	
	.main-navigation li {
		float: none;
		display: block;
		list-style: none;
	}
}

.site-main .comment-navigation,
.site-main .paging-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}
.comment-navigation .nav-previous,
.paging-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}
.comment-navigation .nav-next,
.paging-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/* schöne farben: grün: #ccd0bc */
.prev_next {
	padding: 2em 0em;
}
.next_post, .previous_post {
	font-size: 30px;
	color: #ec542c;
}
.next_post a, .previous_post a {
	font-size: 17px;
	line-height: 2em;
	color: #ec542c;
}
.grt div.post_nav p {
	margin-bottom: 0;
}

/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	/* margin-right: 1.5em; */
	margin-right: 2.25em;
}
.alignright {
	display: inline;
	float: right;
	/* margin-left: 1.5em; */
	margin-left: 2.25em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/*--------------------------------------------------------------
8.0 Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: '';
	display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Search widget */
.widget_search .search-submit {
	display: none;
}

/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/
.site {
	width: 950px;
	margin: 23px auto 0;
}

.post_box {
	margin: 0em;
	padding: 1.1em 0em 0em 0em;
}
.post_box .thumb {
    margin-bottom: 1.7em;
}

.grt p {
	margin-top: 0em;
	margin-bottom: 1.1em;
	}

#menu-item-13 a { margin: 0em 0em 0em 0em; }

.grt .headline,
.grt .headline a {
	font-family: 'Fjalla One', sans-serif;
	text-transform: uppercase;
	line-height: 21px;  /* war 37px; */
	letter-spacing: 0.1em;
	font-size: 22px;
	color: #324225;
	text-decoration: none;
}
.grt .headline a:hover {
	color: #ec542c;
}

.grt .small .grt .caption {
    font-size: 13px;
    line-height: 100px;
	}
	
p a {
	text-decoration: none;
}

.post_box .frame, .post_box .post_image_box, .post_box .wp-caption {
    padding-bottom: 0px;
	padding-right: 10px;
    padding-left: 0px;
	padding-top: 9px;
}

.post_box .wp-caption p {
    font-size: 12px;
    line-height: 5px;
}
article.hentry {
    border-bottom: 1px solid #ec542c;
}
body.archive article.post {
	margin-bottom: 3.5em;
}
body.archive article.post:last-child {
	margin-bottom: 0;
}
body.archive h1.headline {
	clear: none;
}

article.full-thumb h1 { margin-bottom: 29px; }

.sticky {
}
.hentry {
	/* margin: 0 0 1.5em; */
}
.byline,
.updated {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.page-content,
.entry-content,
.entry-summary {
	margin: 1.8em 0 0;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

body.single-attachment section.top,
body.single-attachment header.site-header,
body.single-attachment div.link-to-top,
body.single-attachment footer.site-footer { visibility: hidden !important; display: none !important; }
body.single-attachment .site-main { margin-top: 72px; margin-bottom: 95px; padding-top: 0; }
body.single-attachment .entry-content { margin-top: 0; margin-bottom: 0; }

body.single-attachment .image-container img { max-width: 100%; height: auto; }

.image-container { width: 100%; position: relative; text-align: center; }
.image-container .nav-previous a,
.image-container .nav-next a { width: 50%; height: 100%; position: absolute; top: 0; display: block; text-indent: -99999em; cursor: pointer; line-height: 0; }
.image-container .nav-previous a { left: 0; cursor: url(img/cursor-left.png), url(img/cursor-left.png), default; }
.image-container .nav-next a { right: 0; cursor: url(img/cursor-right.png), url(img/cursor-right.png), default; }
.image-container img { position: relative; margin: 0 auto; }

.gallery-pagination { position: relative; margin-top: 2.25em; width: 100%; height: 72px; border-bottom: 4px double #324225; margin-bottom: 1.5em; }
.gallery-pagination .additional { width: 120px; margin: 0 auto; position: relative; }
.gallery-pagination .additional .icon-back { margin-right: 30px; }
/* .gallery-pagination .additional .add-container { position: absolute; width: 120px; top: 0; right: -60px; text-align: center; } */
.gallery-pagination .pages { width: 150px; position: absolute; top: 0; right: 0; }
.gallery-pagination .pages .nav-next,
.gallery-pagination .pages .nav-previous { position: absolute; top: 0; }
.gallery-pagination .pages .nav-next { right: 0; }
.gallery-pagination .pages .nav-previous { left: 0; }
.gallery-pagination .pages .page-number { width: 100px; text-align: center; position: absolute; top: 3px; left: 25px; font-family: 'Fjalla One', sans-serif; text-transform: uppercase; line-height: 21px; letter-spacing: 0.1em; font-size: 22px; }

body.single-attachment footer .info { display: block; }
body.single-attachment footer .info .image-title { font-size: 18px; line-height: 23px; margin-bottom: 0; }
body.single-attachment footer .info .image-content { font-size: 16px; line-height: 23px; font-style: italic; }

body.single-attachment .hentry { border-bottom: 0 none; }

@media screen and (max-width: 950px) {
	.gallery-pagination .additional {
		margin: 0;
	}

	.gallery-pagination .additional .icon-full {
		display: none !important;
		visibility: none !important;
	}
}


/*--------------------------------------------------------------
10.2 Asides, Header, Footer
--------------------------------------------------------------*/
.top {
	text-align: right;
	padding: 0;
	margin: 0;
	font-size: 13px;
	line-height: 1;
}

.top a {
	padding: 0;
	margin: 0;
	color: #324225;
	font-size: 13px;
	font-style: italic;
	line-height: 1;
}
.top a:hover {
    color: #ec542c;  
}
.top p {
    margin-bottom: 13px;  
}

header.site-header {
    border-top: 4px double #324225;
	padding: 2.5em 0em 2.5em;
	margin: 0em 0em 0em 0em;
}
.site-branding {
	margin-bottom: 5.25em;
}
h1.site-title a {
	font-family: 'Fjalla One', sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	line-height: 1.32em;
	font-weight: normal;
	color: #324225;
	font-size: 60px;
	text-decoration: none;
}
h1.site-title a:hover {
	color: #ec542c;
}

.site-description {
	font-family: 'Fjalla One', sans-serif;
	letter-spacing: 0.1em;
	letter-spacing: 0.1em;
	margin: 0.4em 0em 0em 0em;
}

.link-to-top p {
	padding: 1.7em 0em 0em 0em;
	margin: 0em;
	margin-bottom: 0.5em;
	color: #ec542c;
	font-size: 15px;
	font-style: italic;
	line-height: 1;
}
	

footer.site-footer {
	text-align: right;
	padding-top: 0.5em;
	padding-bottom: 4em;
	padding-right: 0em;
	padding-left: 0em;
	margin: 0em;
	color: #324225;
	font-size: 13px;
	font-style: italic;
	letter-spacing: 1px;
	word-spacing: 1px;
}

footer.site-footer p {
	padding-top: 1em;
	padding-bottom: 1em;
	margin-top: 1em;
    color: #324225;
	border-bottom: 4px double #ec542c;
}

footer.site-footer a {
    color: #888;
}
footer.site-footer a:hover {
    color: #ec542c;
}

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
}

/*--------------------------------------------------------------
11.0 Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
12.0 Media
--------------------------------------------------------------*/
.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 10px 15px 0;
	max-width: 100%;
}
.wp-caption-text {
	text-align: left;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
.site-main .gallery {
	margin-bottom: 1.5em;
}
.gallery-caption {
}
.site-main .gallery a img {
	border: none;
	height: auto;
	max-width: 100%;
}
.site-main .gallery dd {
	margin: 0;
}
.site-main .gallery-columns-4 .gallery-item {
}
.site-main .gallery-columns-4 .gallery-item img {
}
/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}

.gallery { margin: 1.2em 0 1em; }

.gallery-item { float: left; width: 18.95%; height: auto; margin: 0 1.3125% 1.3125% 0; padding: 0; }
.gallery-item.five { margin-right: 0; }

a.thumb-link,
.gallery-item a { position: relative; padding: 0; height: auto; width: auto; margin: 0; display: block; line-height: 0; }

.gallery-item img { width: 100%; max-width: 100%; height: auto; }

.thumb-link img {
	margin-right: 29px;
	margin-bottom: 1.7em;
	float: left;
	display: block;
}

/* Icons */
.icon { display: inline-block; overflow: hidden; background-repeat: no-repeat; background-image: url(img/sprite-icons.png); text-indent: -99999em; cursor: pointer; }
.icon-left { width: 13px; height: 27px; background-position: -53px -20px; }
.icon-right { width: 13px; height: 27px; background-position: -20px -20px; }
.icon-back { width: 44px; height: 26px; background-position: -86px -20px; }
.icon-back:hover { width: 44px; height: 26px; background-position: -126px -66px; }
.icon-close { width: 26px; height: 26px; background-position: -196px -20px; }
.icon-full { width: 26px; height: 26px; background-position: -150px -20px; }
.icon-full:hover { width: 26px; height: 26px; background-position: -190px -66px; }
.icon-mail { width: 33px; height: 20px; background-position: -20px -67px; }
.icon-mail:hover { width: 33px; height: 20px; background-position: -73px -67px; }

.icon a { width: 100%; height: 100%; display: block; text-indent: -99999em; }

.clearfix:before, .clear:before,
.clearfix:after, .clear:after { content:""; display:table; }
.clearfix:after, .clear:after { clear:both; }
.clearfix, .clear { zoom:1; /* For IE 6/7 (trigger hasLayout) */ }


/* 4 columns */
@media all and (max-width: 950px) {
	body { padding: 0 3%; }
	.site { width: 100%; max-width: 100%; }
	
	.gallery-item { width: 23.5%; margin: 0 2% 2% 0; }
	.gallery-item.five { margin-right: 2%; }
	.gallery-item.four { margin-right: 0; }
	
	.sidebar a { line-height: 1; }
	
	img {
		max-width: 100%;
		height: auto;
	}
}

/* 3 columns */
@media all and (max-width: 750px) {
	.gallery-item { width: 32%; margin: 0 2% 2% 0; }
	.gallery-item.five,
	.gallery-item.four { margin-right: 2%; }
	.gallery-item.three { margin-right: 0; }
}

/* 2 columns */
@media all and (max-width: 550px) {
	.gallery-item { width: 48.5%; margin: 0 3% 3% 0; }
	.gallery-item.three,
	.gallery-item.four,
	.gallery-item.five { margin-right: 3%; }
	.gallery-item.two { margin-right: 0; }
}

/*
@media all and (max-width: 322px) {
	.gallery-item { width: 100%; margin: 0 0 3% 0 !important; }
}
*/

/* Lightbox Style changes */
body .fancybox-overlay { background: #b5b7b0; }
body .fancybox-close { background-repeat: no-repeat; background-image: url(img/sprite-icons.png); text-indent: -99999em; cursor: pointer; width: 26px; height: 26px; background-position: -196px -20px; right: -36px; top: 0; }
body .fancybox-opened .fancybox-skin { -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; }
body .fancybox-nav { width: 50%; }
body .fancybox-next { cursor: url(img/cursor-right.png), url(img/cursor-right.png), default; }
body .fancybox-prev { cursor: url(img/cursor-left.png), url(img/cursor-left.png), default; }
body .fancybox-nav span { position: absolute; width: 13px; height: 27px; cursor: pointer; visibility: visible; top: auto; bottom: -35px; opacity: 1; background-repeat: no-repeat; background-image: url(img/sprite-icons.png); background-position: -53px -20px; }
body .fancybox-next span { background-position: -20px -20px; left: 50px; right: auto; }
body .fancybox-prev span { right: 50px; left: auto; }

body .fancybox-title-float-wrap { margin-bottom: -37px !important; }
body .fancybox-title-float-wrap .child { background-color: transparent; background: none; font-family: 'Fjalla One', sans-serif; text-transform: uppercase; line-height: 21px; letter-spacing: 0.1em; font-size: 22px; color: #324225; text-shadow: none; padding: 0; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; }
