/*
Theme Name: Seherin
Author: Marcel Gahlings
Description: Wordpress Template Seherin.com
Version: 1.0
*/

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
	min-height: 100%;
}

body {
	position: relative;
	background-color: #2d3141;
	color: #ffffff;
	font-family: 'Raleway', sans-serif;
	width: 100vw;
	min-height: 100%;
}

:focus {outline:none;}
::-moz-focus-inner {border:0;}

a:hover, a:active, a:focus {
  outline: 0;
}

::selection {
	color: #2d3141;
	background: rgb(255,255,255);
}

::-moz-selection {
	color: #2d3141;
	background: rgb(255,255,255);
}

h1, h2, h3,
h4, h5, h6,
strong {
	font-weight: 200;
}

p {
	margin-bottom: 22px;
} 

b {
	font-weight: 500;
}

a:hover {
	text-decoration: none;
	color: inherit;
}

hr {
	margin-top: 50px;
	margin-bottom: 50px;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, .05);
}

iframe {
	max-width: 100%;
	overflow: hidden;
}

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

tr, td, th {
	background: none!important;
}

.no-padding {
	padding: 0!important;
}

.no-border {
	border: none!important;
}

.max-width {
	max-width: 880px;
	height: auto;
}

.aligncenter {
	display: block;
	margin: 0 auto;
}

.btn {
	display: block;
	max-width: 260px;
	padding: 0 30px;
	margin: 20px auto 0;
	height: 44px;
	font-size: 13px;
	line-height: 44px;
	text-transform: uppercase;
	color: rgb(255,255,255);
	background-color: rgba(255,255,255,.2);
	border-radius: 10px;
	transition: .3s ease-in-out;
}

.btn:hover {
	color: #2d3141;
	background-color: rgb(255,255,255);
	opacity: 1;
}

/* Header */

header {
	position: fixed;
	z-index: 4;
	top: 0;
	left: 0;
	width: 100vw;
	height: 120px;
	background: rgba(45,49,65,.95);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border-bottom: 1px solid rgba(255,255,255,.05);
	transition: .3s ease-in-out;
	transform: translate3d(0,0,0);
}

header.hero {
	background: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

header.scroll {
	background: rgba(32, 34, 44, .9);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

header .container {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;

	-webkit-box-pack: justify;
	-ms-flex-pack: justify;

	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
	height: 120px;
}

header h1 {
	position: relative;
	/*flex: 1 0 30%;*/
	margin: 0;
	padding: 0 0 0 70px;
	font-size: 16px;
	font-weight: 400;
	text-transform: uppercase;
	color: #ffffff;
	min-width: 320px !important;
	width: 320px !important;
	max-width: 320px !important;
}

header h1:before {
	content: "";
	position: absolute;
	top: -28px;
	left: -5px;
	width: 64px;
	height: 64px;
	background: url(img/logo.png) no-repeat;
	background-position: center;
	background-size: contain;
}

header h1:after {
	content: "eine Marke der Destiny UG";
	text-transform: none !important;
	position: absolute;
	left: 0 !important;
	top: 20px !important;
	/*flex: 1 0 100%;*/
	margin: 0;
	padding: 0 0 0 70px;
	font-size: 9px;
	font-weight: 400;
	text-transform: uppercase;
	color: #ffffff;
	min-width: 320px !important;
	width: 320px !important;
	max-width: 320px !important;
}

header nav {
	flex: 1 0 70%;
	text-align: right;
}

@media (max-width: 800px) {

	header {
		height: 80px;
	}

	header h1 {
		position: absolute;
		top: 18px;
		left: 0;
		right: 0;
		margin: 0 auto; 
		width: 48px;
		height: 48px;
		padding: 0;
		text-indent: -10000px;
		overflow: hidden;
		transition: opacity .3s ease-in-out;
	}

	header h1:before {
		top: 0;
		left: 0;
		width: 48px;
		height: 48px;
	}

	header h1.hide-mobile {
		opacity: 0;
	}
}


/* Navigation */

.call-menu {
	display: none;
}

nav ul {
	display: inline-block;
	list-style: none;
	padding: 0;
	margin: 0;
}

nav ul li {
	display: inline-block;
	margin: 0 0 0 15px;

}

nav ul li a {
	display: block;
	color: #989fbe;
	text-transform: uppercase;
	transition: .2s ease-in-out;
}

nav ul li.current_page_item a,
nav ul li.current-menu-item a,
nav ul li.current-page-ancestor a {
	color: #ffffff;
}

nav .off-canvas-header {
	display: none;
}

@media (max-width: 992px) {

	.call-menu {
		position: absolute;
		top: 32px;
		right: 18px;
		display: block;
		width: 22px;
		height: 22px;
		border: none;
		background: none;
		background-image: url('img/menu.svg');
		background-repeat: no-repeat;
		opacity: .7;
	}

	nav {
		position: fixed;
		top: 0;
		bottom: 0;
		right: 0;
		width: 75vw;
		height: 100vh;
		max-width: 400px;
		background: rgba(32, 34, 44, .92);
		backdrop-filter: blur(6px);
		-webkit-backdrop-filter: blur(6px);
		transform: translate3d(100%,0,0);
		transition: transform .3s ease-in-out;
	}

	nav.nav-in {
		transform: translate3d(0,0,0);
	}

	nav .off-canvas-header {
		position: relative;
		display: block;
		padding: 34px 0 28px;
	}

	nav .off-canvas-header h1 {
		position: relative;
		display: block;
		width: auto;
		height: auto;
		top: 0;
		margin: 0 auto;
		padding: 70px 12% 0;
		font-size: 17px;
		line-height: 25px;
		text-indent: 0px;
		text-align: right;
		overflow: hidden;

	}

	nav .off-canvas-header h1:before {
		top: 0;
		left: auto;
		right: 12%;
		width: 55px;
		height: 55px;
	}

	nav ul {
		display: block;
	}

	nav ul li {
		display: block;
		margin: 14px 12%;
		font-size: 15px;
	}
}

/* Main */

main {
	position: relative;
	min-height: calc(100vh - 225px);
	padding: 170px 0 0;
	overflow: hidden;
}

main .wp-post-image {
	display: block;
	margin: 0 auto 16px;
	width: 40px;
	height: 40px;
	overflow: hidden;
}

main .page-title {
	margin: 10px 0 0;
	font-size: 25px;
	text-transform: uppercase;
	text-align: center;
}

main .page-title small {
	display: block;
	margin: 18px 0 0;
	font-size: 15px;
	color: inherit;
	text-transform: none;
	text-align: center;
}

@media (max-width: 800px) {
	main {
		padding: 120px 0 0;
	}

	main .page-title {
		font-size: 20px;
	}
}


/* Main - Hero */

main .hero {
	position: relative;
	height: 82vh;
	max-height: 900px;
	padding-top: 120px;
	text-align: center;
	background: url(img/hero.jpg) no-repeat;
	background-size: cover;
	background-position: top center;
}

main .hero h2 {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100px;
	margin: 0 auto;
	font-size: 22px;
	font-weight: 200;
	line-height: 34px;
}

main .hero h2 small {
	display: block;
	margin: 20px 0 0;
	font-size: 13px;
	font-style: italic;
	color: #ffffff;
}

@media (max-width: 800px) {

	main .hero h2 {
		bottom: 50px;
		max-width: 80%;
		font-size: 17px;
		line-height: 27px;
	}

	main .hero h2:before {
		content: "";
		position: absolute;
		top: -78px;
		left: 0;
		right: 0;
		margin: 0 auto;
		width: 54px;
		height: 54px;
		background: url(img/logo.png) no-repeat;
		background-position: center;
		background-size: contain;
	}

	main .hero h2 br {
		display: none;
	}
}

/* Main - Block */

main .block {
	position: relative;
	width: 100vw;
	padding: 60px 0;
}

main .block.center {
	text-align: center;
}

main .block.dark {
	z-index: 3;
	background: rgba(32, 34, 44, .75);
}

main .block h2 {
	font-size: 25px;
	text-transform: uppercase;
	margin: 30px 0 70px;
}

main .block p,
main .block strong {
	font-size: 17px;
	line-height: 26px;
}

main .block p {
	font-weight: 200;
}

main .block strong {
	font-weight: 400;
}

main .block small {
	line-height: 22px;
}

main .block a {
	color: rgb(255,255,255);
}

main .block ul {
	padding: 0;
	list-style: none;
	font-size: 17px;
	font-weight: 200;
	line-height: 26px;
}

main .block li {
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

main .featured strong {
	font-size: 19px;
}

main .featured strong small {
	display: block;
	margin: 16px 0 0;
}

@media (max-width: 600px) {
	main .block {
		padding: 50px 10px;
	}

	main .block h2 {
		font-size: 20px;
	}

	main .block p,
	main .block strong,
	main .block ul {
		font-size: 16px;
		line-height: 24px;
	}

	main .featured:first-child {
		margin-bottom: 50px;
	}
}

/* Main - Subpages */

main .subpages {
	position: relative;
	width: 100vw;
	text-align: center;
}

@media (min-width: 680px) {
	main .subpages ul {
		display: -webkit-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;

		-webkit-box-pack: justify;
		-ms-flex-pack: justify;

		-webkit-box-align: center;
		-ms-flex-align: center;
		-webkit-align-items: center;
		align-items: center;
		-webkit-justify-content: center;
		justify-content: center;

		padding: 0;
		margin: 0;
		list-style: none;
	}

	main .subpages ul li a {
		width: 200px;
	}
}

@media (max-width: 679px) {
	main .subpages ul {
		display: block;
		padding: 0 25px;
		margin: 0;
		list-style: none;
	}

	main .subpages ul li a {
		width: 100%;
	}
}

main .subpages ul li,
main .subpages ul li a {
	display: block;
	color: rgba(255,255,255,.9);
} 

main .subpages ul li a {
	height: 44px;
	line-height: 45px;
	font-size: .95em;
	text-transform: uppercase;
	background-color: rgba(255,255,255,.2);
	margin-right: 1px;
}

main .subpages ul li.current_page_item a {
	background-color: rgb(255,255,255);
	color: #2d3141;
}

@media (min-width: 680px) {

	main .subpages ul li:first-child a {
		border-radius: 10px 0 0 10px;
	}

	main .subpages ul li:last-child a {
		border-radius: 0 10px 10px 0;
		margin-right: 0;
	}
}

@media (max-width: 679px) {

	main .subpages ul li:first-child a {
		border-radius: 10px 10px 0 0;
	}

	main .subpages ul li:last-child a {
		border-radius: 0  0 10px 10px;
		margin-right: 0;
	}
}

/* Main - Pagination */

main .pagination {
	display: block;
	width: 100%;
	padding: 14px 0 50px;
	border-top: 1px solid rgba(255,255,255,.05);
}

main .pagination ul {
	display: block;
	width: 100%;
	list-style: none;
	padding: 0;
}

main .pagination ul li {
	float: left;
	margin: 0;
	padding: 0;
}

main .pagination ul li a {
	color: rgb(255,255,255);
}

main .pagination ul li:last-child {
	float: right;
}

/* Main - Dates */

main .dates {
	display: block;
	margin: 25px 0;
}

main .dates li,
main .list li {
	display: block;
	margin: 0 0 10px;
}

/* Main - Horoskop */

main .horoskop {
	margin: 0 0 45px;
}

main .horoskop img {
	display: block;
	margin: 0 auto;
	width: 40px;
	height: 40px;
}

main .horoskop h3 {
	font-size: 20px;
	text-transform: uppercase;
	text-align: center;
}

main .horoskop h3 small {
	display: block;
	margin: 8px 0 0;
	font-size: 13px;
	text-transform: none;
	color: rgb(255,255,255);
}

/* Main - Guestbook */

.guestbook-form {

}

.guestbook-form input,
.guestbook-form textarea {
	display: block;
	background-color: rgba(255, 255, 255, .2);
	border: none;
	border-radius: 10px;
	width: 600px;
	max-width: 100%;
	font-size: 16px;
	margin: 0 auto 18px;
}

.guestbook-form input {
	height: 50px;
	padding: 12px 20px;
}

.guestbook-form textarea {
	height: 200px;
	padding: 10px 20px;
	resize: vertical;
}

.guestbook-form input[type="submit"] {
	/*width: 250px;
	height: 44px;
	line-height: 44px;
	padding: 0;
	margin: 40px auto 0;
	background: rgb(255, 255, 255);
	color: #2d3141;*/

	background: none;
	font-size: 17px;
}  

.guestbook .comment {
	padding: 30px 0 0;
}

.guestbook strong {
	display: block;
	font-size: 18px!important;
	line-height: 26px!important;
}

.guestbook strong.email {
	display: block;
	font-size: 15px!important;
	line-height: 20px!important;
	opacity: .8;
}

.guestbook small {
	display: block;
	margin: 12px 0 0;
}

.guestbook .entry {
	display: block;
	margin: 0 auto;
	padding: 30px 0 40px;
	text-align: justify;
	max-width: 600px;
	border-bottom: 1px solid rgba(255, 255, 255, .05);
}


/* Footer */

footer {
	position: relative;
	z-index: 3;
	width: 100vw;
	padding: 50px 0 70px;
	background: rgba(32, 34, 44, .75);
	text-align: center;
}

footer ul {
	position: relative;
	display: inline-block;
	list-style: none;
	padding: 75px 0 0 0;
}

footer ul:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: 50px;
	height: 50px;
	background: url(img/logo.png) no-repeat;
	background-position: center;
	background-size: contain;
}

footer ul li {
	display: inline-block;
	margin: 0 8px;
}

footer ul li a {
	display: inline-block;
	color: #989fbe;
	font-size: 13px;
	text-transform: uppercase;
}

footer ul li.current-menu-item a {
	color: #ffffff;
}

@media (max-width: 600px) {
	footer {
		padding: 20px 0 25px;
	}

	footer ul {
		padding: 55px 0 0;
	}

	footer ul:before {
		width: 40px;
		height: 40px;
	}

	footer ul li {
		margin: 0 5px;
	}

	footer ul li a {
		font-size: .85em;
		line-height: 22px;
	}
}

/* Overrides */

.psgal {
	max-width: 100%;
}

.psgal figure {
	max-width: 100%;
	padding: 12px!important;
}

@media (max-width: 992px) {

	.psgal figure {
		padding: 10px 0!important;
	}
}

















