/* WELTLITERATUR */
p.copy > img {
	height:14px;
}

.author-info {clear:both;
}
.author-info + .author-info {margin-top:25px;}
.avatarwrapper {
    float:left;
    opacity: 0.4;
    margin-right: 25px;
}
.avatarwrapper:hover {opacity:1.0;}
.authors {background: #f2f2f2 none repeat scroll 0 0;}
.author > ul > li {
    list-style: none;
    display: inline-block;
    margin-right: 10px;
}
.author {
    min-height: 155px;
}
.author > span {
    font-size: larger;
    font-weight: bold;
}
.author-info:first-child {
    padding-top: 15px;
}
.author a {
    border-bottom: none;
}

/* --------------------------------------
-----   Reset   -----
------------------------------------------*/

html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}nav ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}ins{background-color:#ff9;color:#000;text-decoration:none}mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}input,select{vertical-align:middle}.clearfix:before,.clearfix:after{content:" ";display:table;}.clearfix:after {clear:both;}html,body{height:100%;overflow-x:hidden;}

/* --------------------------------------
-----   COLORS   -----
------------------------------------------*/

/* These rules are grouped based on color shades */

/* Selection */

::selection {
	background: #FDF2E3;
	color: #291A03;
}
::-moz-selection {
	background: #FDF2E3;
	color: #291A03;
}

/* Main text & navigation buttons */

#main-title, #main-subtitle {
	color: #FBE3C4;
}
#main-nav a, .button {
	color: #FBE3C4;
	border: 2px solid #FBE3C4;
}

#main-nav a:hover, #main-nav a.selected {
	background: #FBE3C4;
	color: #291A03;
}

/* Regular buttons & img captions */

.button {
	border-color: #B59A65;
	color: #B59A65;
}
.button:hover {
	border-color: #B59A65;
	background: #B59A65;
	color: #fff;
}
figcaption {
	background: #B59A65;
	background: rgba(181, 154, 101,.5);
}

/* Basic links */

a:hover, #posts-list a:hover {
	color: #D4A16B;
	border-color: #D4A16B;
}

/* --------------------------------------
-----   TYPOGRAPHY   -----
------------------------------------------*/

/* Font families are groupped here - individual styles are below */

body, #posts-list h3 {
	font-family: 'Fenix', Georgia, serif;
}
h1, h2, h3, h4, h5, h6, .section-subtitle, #main-nav a, .button, figcaption, #posts-list time, .main-footer, .projects-list span {
	font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}
#main-title, #main-subtitle {
	font-family: 'Playfair Display', Georgia, serif;
}

/* Basic typographic elements */

body {
	font-size: 20px;
	line-height: 30px;
	color: #222;
}
a {
	text-decoration: none;
	color: #888;
	border-bottom: 1px dotted #888;
}
figcaption a {
	color:#CCC;
}
p {
	margin: 20px 0;
}
ul {
	list-style: square inside;
	margin: 20px 0;
}
ol {
	list-style: decimal inside;
	margin: 20px 0;
}
ul > li > ul {
	margin: 0 0 0 20px;
	padding-left: 0;
}

pre {
	background: none repeat scroll 0 0 #F7F7F7;
	border: 5px solid #E9E9E9;
	font-family: Consolas, Courier, Monaco, monospace;
	font-size: 12px;
	line-height: 19px;
	overflow-x: auto;
	padding: 20px;
}

table {
   font-size: 16px;
   width: 100%;
   border: 1px solid #e9e9e9;
   text-align: left;
   margin-top: 20px;
   margin-bottom: 20px;
}
table thead h4 {
   font-size: 10px;
   line-height: 18px;
   text-transform: uppercase;
   margin-bottom: 0;
}
table tr {
   border-top: 1px solid #e9e9e9;
}
table thead tr {
   border-top: none;
}
table th, table td {
   min-height: 41px;
   padding: 10px 14px 8px;
   border-right: 1px solid #e9e9e9;
}

sub, sup {
   font-size: .7em;
   line-height: .7em;
}
sub {
   vertical-align: bottom;
}
sup {
   vertical-align: top;
}

var {
   font-family: Consolas, Courier, Monaco, monospace;
}

blockquote {
   border-left: 3px solid #b3b3b3;
   padding-left: 50px;
   margin: 40px 0;
}
blockquote > p {
   font-size: 20px;
   line-height: 28px;
   font-weight: 300;
}
blockquote cite {
   color: #999999;
   display: inline-block;
   font-size: 20px;
   font-style: italic;
   margin: 25px 0 15px;
}
q {
   border-left: 3px solid #b3b3b3;
   font-style: italic;
   padding-left: 15px;
}

.post-content h3 {
    font-size: 16px;
    line-height: 22px;
    text-transform: uppercase;
}

h4 {
	font-size: 14px;
	margin: 25px 0 10px;
	text-transform: uppercase;
	color: #666;
}
h4 + p {
	margin-top: 0;
}

/* Main header */

#main-title, #main-subtitle {
	font-style: italic;
	display: block;
}
#main-title {
	font-size: 52px;
	line-height: 52px;
	font-weight: 700;
	margin-bottom: 15px;
}
#main-subtitle {
	font-size: 24px;
	line-height: 32px;
	font-weight: 400;
}

/* Section titles */

.section-header {
	margin-bottom: 15px;
}
.section-title, h3.section-title {
	font-size: 28px;
	line-height: 28px;
	color: #212121;
	text-transform: uppercase;
	font-weight: 700;
}
.section-subtitle {
	font-size: 12px;
	line-height: 18px;
	color: #ccc;
	text-transform: uppercase;
	font-weight: 700;
	display: block;
	margin-top: 10px;
}

/* --------------------------------------
-----   STRUCTURE   -----
------------------------------------------*/

/* Typographic elements or colors will appear in this section as well */

/* ---------------------
-----   Navigation   -----
-------------------------*/

.main-header {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	/* background-image: url(../img/bg.jpg); main bg image */
	top: 0;
	left: 0;
	width: 100%;
	display: table;
}

#main-nav {
	margin-top: 35px;
}
#main-nav a, .button {
	font-size: 14px;
	line-height: 14px;
	padding: 12px 24px 11px;
	display: inline-block;
	margin: 7px;
	text-transform: uppercase;
}

/* Button (can be used in any other context ) */

.button {
	margin: 0 7px 0 0;
}

/*----------------------
-----   Homepage "header"   -----
-------------------------*/

.main-header.home {
	position: fixed;
	height: 100%;
}
.vertical-container {
	background: rgba(34, 34, 34, .6);
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

/* ---------------------
-----   Regular header   -----
-------------------------*/

.main-header.regular {
	height: 250px;
}
.main-header.regular #main-title {
	margin-bottom: 10px;
}
.main-header.regular .vertical-container {
	text-align: left;
}
.main-header.regular #main-nav {
	float: right;
	margin-top: 25px;
}
.main-header.regular header {
	float: left;
}

/* ---------------------
-----   Content structure   -----
-------------------------*/

.wrapper {
	max-width: 1040px;
	margin: auto;
	padding: 0 50px;
}
.main-content .wrapper {
	margin: 100px auto 150px;
}

.page-wrap {
	min-height: 100%;
	margin-bottom: -120px; /* footer heigth */
}
.page-wrap:after {
	content: "";
	display: block;
	height: 120px; /* footer heigth */
}

.page-content {
	margin-top: 50px;
}
.main-content .page-content:first-child {
	margin-top: 0;
}

.one-half {
	width: 45%;
}
.one-half.first {
	float: left;
}
.one-half.last {
	float: right;
}

/* --------------------------------------
-----   BLOG   -----
------------------------------------------*/

#posts-list {
	margin-top: 35px;
}
#posts-list li {
	border-top: 1px solid #e9e9e9;
	display: block;
}
#posts-list li:first-child {
	border-top: none;
}
#posts-list time {
	font-size: 12px;
	line-height: 12px;
	color: #ccc;
	width: 115px;
	text-transform: uppercase;
	float: left;
	padding-top: 26px;
}
#posts-list time:after {
	display: block;
	content: "";
	width: 5px;
	height: 5px;
	background: #ccc;
	float: right;
	margin: 3px 15px 0 0;
}
#posts-list a {
	color: #222;
	float: left;
	padding: 16px 0 13px;
	border: none;
}
#posts-list h3 {

	font-weight: 400;
}

.post-nav {
	margin-top: 70px;
}

/* ---------------------
-----   List   -----
-------------------------*/

/* --------------------------------------
-----   FOOTER   -----
------------------------------------------*/

.main-footer {
	background: #323538;
	display: table;
	position: relative;
	width: 100%;
	height: 120px;
}
.main-footer .vertical-container {
	text-align: left;
	background: transparent;
}
.main-footer {
	font-size: 12px;
	text-transform: uppercase;
	line-height: 12px;
	color: #fff;
}
.copy {
	float: left;
	margin: 0;
}
.social {
	margin: 0;
	float: right;
}
.social li {
	list-style: none;
	display: inline;
	margin: 0 10px;
}
.social li:last-child {
	margin-right: 0;
}
.social a {
	border: transparent;
	color: #fff;
}

/* --------------------------------------
-----   OTHER   -----
------------------------------------------*/

/* ---------------------
-----   Figures   -----
-------------------------*/

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}
iframe {
	max-width: 100%;
}
figure {
	position: relative;
	margin: 40px 0;
}
figcaption {
	bottom: 10px;
	color: #fff;
	font-size: 12px;
	line-height: 12px;
	padding: 13px 16px 11px;
	position: absolute;
	right: 10px;
	text-transform: uppercase;
}

/* ---------------------
-----   Projects   -----
-------------------------*/

.projects-list {
	margin-top: 30px;
	margin-left: -20px;
	width: 110%;
}
.projects-list li {
	float: left;
	margin: 20px;
	list-style: none;
}
.projects-list a {
	position: relative;
	display: inline-block;
	color: #fff;
	border: none;
}
.projects-list .caption {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #333;
	background: rgba(34, 34, 34, .6);
	opacity: 0;
}
.projects-list .caption > div {
	position: absolute;
	bottom: 10px;
	left: 15px;
}
.projects-list h4 {
	font-size: 18px;
	line-height: 18px;
	color: #fff;
	margin: 0 0 -5px 0;
	font-weight: 400;
}
.projects-list span {
	font-size: 12px;
	line-height: 12px;
	color: #ccc;
	text-transform: uppercase;
	font-weight: 400;
}

.projects-list a:hover {
	box-shadow: 6px 5px 0 0 #ccc;
}
.projects-list a:hover .caption {
	opacity: 1;
}

/* ---------------------
-----   Animations   -----
-------------------------*/

a, #posts-list li, #posts-list time, .projects-list .caption {
	-webkit-transition: all 150ms linear;
	transition: all 150ms linear;
}

/* ---------------------
-----   A bit of responsiveness   -----
-------------------------*/

@media all and (max-width: 840px) {

	.main-header.regular {
		height: auto;
	}
	.main-header.regular .vertical-container {
		padding: 38px 0;
	}
	.main-header.regular .vertical-container, .main-footer .vertical-container {
		text-align: center;
	}
	.main-header.regular header, .main-header.regular #main-nav, .copy, .social {
		float: none;
	}
	.wrapper {
		padding: 0 25px;
	}
	.copy {
		margin: 10px;
	}
	.one-half {
		width: 100%;
	}
	/* weltliteratur.net
	#posts-list time {
		display: none;
	} */

}

/* If you're using a "wacky" portfolio grid, it should be fixed when the
		browser resizes below 1040px */

@media all and (max-width: 1140px) {

	.projects-list {
		width: 100%;
		margin-left: 0;
	}
	.projects-list li, .projects-list a {
		float: none;
		max-width: 100%;
	}
	.projects-list li {
		margin: 20px 0 0 0 !important;
	}

}

/* TIWOLI Gallery stuff, added on Sep 6, 2016 */
.tiwoligallery ul {list-style-type:none;}
.tiwoligallery ul li {
    float:left;
    width:25%;
    border:0px;
    text-align:center;
    margin-top:0px;
    margin-bottom:0px;
}
.tiwoligallery figcaption {
    bottom: 0px;
    padding-right: 10px;
    padding-left: 10px;
    color: #222;
    background: #fff;
    font-size: 12px;
    line-height: 12px;
    position: relative;
    text-transform: none;
    padding-top: 0.6rem;
    padding-bottom: 0.8rem;
    text-align: center;
    right: 0px;
}
.tiwoligallery figcaption a {
	color: #888;
	border-bottom: 1px dotted #888;
}

.tiwoligallery img {width: 225px; height: 400px;}

@media all and (max-width: 1024px) {
	.tiwoligallery img {width: 135px; height: 240px;}
}

@media all and (max-width: 620px) {
	.tiwoligallery img {width: 90px; height: 160px;}
}
