/*
Theme Name: My Gallery Theme
Description: Responsive Template für meine Fotogallerien
Author: Matthias Wagenitz
*/
@import url('css/bootstrap.min.css');

body {
	color      : #333;
	background : #e5e5e5;
	font-family: 'Montserrat', serif !important;
	font-size  : 16px !important;
}

h1 {
	font-size: 1rem !important;
}

/***********************************
Generelle Struktur - Seitenaufbau
***********************************/
#header {
	width           : 100%;
	min-height      : 75px;
	padding         : 20px;
	position        : fixed;
	background-color: #FFFFFF;
	z-index         : 10000;
}

#header header {
	top       : 132px;
	min-height: 2.5em;
}

#header header h1 {
	text-transform: uppercase;
	font-weight   : normal;
	letter-spacing: 0.0625em;
}

#main {
	width   : 100%;
	padding : 75px 0px 0px 0px !important;
}

#footer {
	clear           : both;
	height          : 50px;
	padding         : 20px;
	text-transform  : uppercase;
	background-color: rgba(5, 23, 21, 0.35);
	font-size       : 66%;
}

a, a:hover {
	color          : #FFFFFF !important;
	text-decoration: none !important;
}


/***********************************************
Seiten - Header Informationen Blogname etc.
***********************************************/
.blog-title {
	float        : left;
	padding-right: 12px;
	max-width    : 100%;
	margin       : 0 auto;
	color        : #000000;
	font-size    : 1.575em !important;
	line-height  : 1.5;
}

.blog-desc {
	float         : left;
	max-width     : 100%;
	margin        : 0 auto;
	letter-spacing: 0;
	font-size     : 0.92em !important;
	line-height   : 2.5em !important;
	vertical-align: bottom;
	position      : relative;
	bottom        : -3px;
	color         : rgba(0, 0, 0, 0.6);
}

/*************************************************
Startseite und Blogbeiträge mit Unterkategorien
Styling der Blöcke
*************************************************/
.entry-header {
	position        : absolute;
	bottom          : 0;
	left            : 0;
	width           : 100%;
	background-color: rgba(0, 0, 0, 0.35);
	max-height      : 100%;
	padding-bottom  : 6px;
}

.entry-meta {
	line-height: 1.7;
	padding    : 6px;
}

.entry-meta, .entry-title {
	color     : #FFFFFF;
	text-align: center;
}

.entry-title {
	font-size     : 22px !important;
	margin        : 0px !important;
	text-transform: uppercase;
	letter-spacing: 0.0625em;
}

.post_date, .blog-entry, .blog-desc {
	font-family: 'Playfair Display', serif !important;
}


/*********************************************************
Header für die Blog-Beiträge
*********************************************************/
.entry-thumb {
	position  : relative;
	overflow  : hidden;
	background: #000;
	min-height: 488px;
}

.entry-hero-image {
	position : absolute;
	top      : 50%;
	left     : 50%;
	min-width: 100%;
	max-width: 100%;
	transform: translate(-50%, -50%);
	height   : auto;
}

article.post>.entry-header {
	position      : absolute;
	top           : 125px;
	width         : 33%;
	left          : 25%;
	right         : 25%;
	margin        : 20px auto;
	height        : auto !important;
	bottom        : auto;
	padding       : 10px 2% 20px 2%;
}

@media (max-width: 544px) {
	article.post>.entry-header>.entry-title {font-size:1rem !important;} /*1rem = 16px*/
}
@media (min-width: 544px) {
	article.post>.entry-header>.entry-title {font-size:1.5rem !important;} /*1rem = 16px*/
}
@media (min-width: 768px) {
	article.post>.entry-header>.entry-title {font-size:2rem !important;} /*1rem = 16px*/
}
@media (min-width: 992px) {
	article.post>.entry-header>.entry-title {font-size:2.5rem !important;} /*1rem = 16px*/
}
@media (min-width: 1200px) {
	article.post>.entry-header>.entry-title {font-size:3rem !important;} /*1rem = 16px*/
}

article.post>p.spacer {
	padding: 2%;
}

article.post>nav.breadcrumb {
	font-size: 80%;
}

article.post>nav.breadcrumb>a {
	color    : #000 !important;
}

article.post>p, article.post>h1, article.post>h2, article.post>h3, article.post>h4, article.post>h5, article.post>h6, article.post>div, article.post>nav.breadcrumb {
	padding    : 0 3%;
	font-family: 'Playfair Display', serif !important;
}

/*********************************************
Envira Gallery mobile settings
*********************************************/
body .envirabox-lock { overflow: visible !important; width: auto; }

@media only screen and (max-width: 640px) {
	.envirabox-lock {
		overflow: hidden !important;
		width: auto;
	}
}

/*********************************************************
Effects Definitionen
*********************************************************/
@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: 'feathericons';
	src:url('../fonts/feathericons/feathericons.eot?-8is7zf');
	src:url('../fonts/feathericons/feathericons.eot?#iefix-8is7zf') format('embedded-opentype'),
		url('../fonts/feathericons/feathericons.woff?-8is7zf') format('woff'),
		url('../fonts/feathericons/feathericons.ttf?-8is7zf') format('truetype'),
		url('../fonts/feathericons/feathericons.svg?-8is7zf#feathericons') format('svg');
}

.grid {
	position: relative;
	margin: 0 auto;
	max-width: 1000px;
	list-style: none;
	text-align: center;
}

/* Common style */
.grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	background: #3085a3;
	text-align: center;
	cursor: pointer;
}

.grid figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 0.8;
}

.grid figure figcaption {
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure h4 {
	word-spacing: -0.15em;
	font-weight: 300;
}

.grid figure h4 span {
	font-weight: 800;
}

.grid figure h4,
.grid figure p {
	margin: 0;
}

.grid figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}

/* Individual effects */
/*---------------*/
/***** Milo *****/
/*---------------*/

figure.effect-milo {
	background: #009fff;
}

figure.effect-milo img {
	max-width: none;
	width: 105%;
	opacity: 1;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(-30px,0,0) scale(1.12);
	transform: translate3d(-30px,0,0) scale(1.12);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

figure.effect-milo:hover img {
	opacity: 0.5;
	-webkit-transform: translate3d(0,0,0) scale(1);
	transform: translate3d(0,0,0) scale(1);
}

figure.effect-milo h4 {
	position: absolute;
	right: 0;
	bottom: 0;
	padding: 1em 1.2em;
}

figure.effect-milo p {
	padding: 0 10px 0 0;
	width: 50%;
	border-right: 1px solid #fff;
	text-align: right;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(-40px,0,0);
	transform: translate3d(-40px,0,0);
}

figure.effect-milo:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}
