/*
Theme Name: van-life-tales
Theme URI:
Description: 
Version: 1.0
Author: Philip Wilson
Author URI: 
Tags: 
*/ 

html, body {
	margin: 0px;
	padding: 0px;
}
body {
	text-align: left;
	background-color: #f3f3f3;
	font-family: 'dinregular', sans-serif;
	font-size: 14px;
	line-height: 160%;
	color: #080808;	
}

.clear {
	clear: both;
}

b, strong {
	font-family: 'dinmedium';
	font-weight: bold;
}

a {
	text-decoration: none;
}

a:link, a:active, a:visited {
	color: #333;
	text-decoration: none;
}
a:hover {
	text-decoration: none;
	color: #837a25;
}

a.non:link, a.non:active, a.non:visited {
	color: #000;
	text-decoration: none;
}

a.non:hover {
	text-decoration: none;
	color: #000;
}

h1 {
	font-size: 37px;
	font-family: 'dinbold';	
    margin: 1.6em 0;
    margin-bottom: 0.6em;
    line-height: normal;	
}

.page h1 {
	margin-bottom: 1em;		
}

h2 {
	font-family: 'dinbold';
	font-size: 23px;
	font-weight: bold;
	color: #3b2512;
	line-height: 150%;
}

.startseite .post_title {
	display: flex;
	min-height: 70px;
	margin-bottom: 10px;	
}

.startseite h2 {
	align-self: flex-end;
	margin: 0;
}

/* header, rand posts, logo  */

.rand_posts {
	position: relative;
	top: 0;
	left: 0;
	z-index: 1;	 
}

.rand_posts img {
	width: 100%;
	max-height: 83vh;
	object-fit: cover;
	object-position: center center;
}

.rand_posts img.page_header_img {
	max-height: 70vh;	
}

.rand_posts:before {
	position: absolute;
	z-index: 1;
	left: 0px;
	top: 0px;
	content: ' ';
	height: 30%;
	width: 100%;
	background: rgb(0,0,0);
	background: -moz-linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
	background: -webkit-linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
	background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
}

.rand_posts:after {
	position: absolute;
	z-index: 1;
	left: 0px;
	bottom: 0px;
	content: ' ';
	height: 30%;
	width: 100%;
	background: rgb(0,0,0);
	background: -moz-linear-gradient(0deg, rgba(0,0,0,0.8015800070028012) 0%, rgba(0,0,0,0) 100%);
	background: -webkit-linear-gradient(0deg, rgba(0,0,0,0.8015800070028012) 0%, rgba(0,0,0,0) 100%);
	background: linear-gradient(0deg, rgba(0,0,0,0.8015800070028012) 0%, rgba(0,0,0,0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
}


.logo {
	width: 200px;
	margin-top: 60px;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;		
}

.logo img:hover {		
	filter: blur(1px) !important;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;		
}

.header_content {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
}

.header_entry {
	z-index: 99;
	position: relative;	
}

.header_content.header_excerpt {	
	display: flex;
	color: #fff;
	text-transform: uppercase;
	align-items: flex-end;	
	
}

.header_content.header_excerpt .header_entry {
	width: 100%;
}

.header_content.header_excerpt .flex {
	margin-bottom: 55px;
}

.header_post_text a {
	color: #fff;
}

.header_post_text a:hover {
	color: #fff;
	text-decoration: underline;
}

.header_post_text {
	text-transform: none;
	font-size: 18px;
	line-height: 160%;	
}

.header_post_text_title {
	font-size: 30px;
	font-family: 'dinbold';	
	display: block;
	margin-bottom: 20px;
	line-height: 160%;
}

.play_buttons {
	display: flex;
	justify-content: space-between;
}

.play_buttons .playvideo, .play_buttons .time {
	padding:5px 6px 5px 8px;
	background-color: rgba(0, 0, 0, 0.5);
	color: #ccc;
	margin-left: 10px;	
}

.play_buttons .time {
	transition: all .2s ease-in-out;
}

.post_img_wrapper:hover .play_buttons .time {
	transform: scaleY(-150px);
}

.play_buttons .playvideo {
	font-family: 'dinbold';
	font-weight: bold;
}

.playvideo a {
	color: #fff;
}

.playvideo a:hover {
	color: #000;	
}

.play_buttons .playvideo:hover {
	background-color: #837a25;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;	
}

.play_buttons.play_buttons_startseite {
	position: absolute;
	bottom: 3%;
	right: 2%;	
	color: #fff !important;
	z-index: 199;
}

/* page */

#page {	
	width: auto;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
}

/* content  */

#content, .header_content .header_entry, .footer_year {
	margin: 0 15vw;	
}

#content.startseite {
	margin-top: 5vh;
	display: flex;
	justify-content: space-between;	
	flex-wrap: wrap;
}

#content.footer_entry {
	padding-top: 80px;
	display: flex;
	justify-content: space-between;
}

/* footer */

.footer {
	margin-top: 20vh;
	background-color:#ddc7a4;
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
	/*height: 350px;*/
	font-family: 'dinbold';
	font-weight: bold;
}

.footer_menu, .footer_social_icons {
	width: auto;
}


.footer_social_icons i {
	margin-left: 10px;
}

/* footer menu */


ul.footermenu {
	display: flex;
	flex-direction: column;
}

ul.footermenu, ul.footermenu li {
	padding: 0px;
	margin: 0px;
	list-style: none;
}

ul.footermenu li.menu-item {
	font-size: 12px;
	text-transform: uppercase;
	margin-right: 10px;	
}

ul.footermenu li.current_menu-item {
	background-color: #000;
	font-family: 'dinregular';		
}

ul.footermenu li.menu-item:hover > a {
	background-color: #000;	
	color: #fff;
	 -webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;	
}

.footer_year {
	padding-top: 70px;
	padding-bottom: 70px;
	font-family: 'dinregular';
	font-weight: 100;
}


/* general */

.flex {
	display: flex;
	justify-content: space-between;	
}

/* navigation */

.hamburger_button { 
	display: none;
}

.hamburger {
	padding: 0px !important;
	transform: scale(0.7);
	position: relative;
	left: -6px;
	top: 123px;
	outline: none;
	z-index: 11;
}

.navigation {
	margin-top: 60px;	
}

ul.mainmenu {
	display: flex;
	flex-flow: column;		
}

ul.mainmenu, ul.mainmenu li {
	padding: 0px;
	margin: 0px;
	list-style: none;
}

ul.mainmenu li.menu-item a {
	color: #fff;
	text-align: right;
	font-size: 12px;
	padding: 5px 10px 3px 10px;
	text-align: right;
	background-color: #24160a;
	margin-bottom: 5px;
	text-transform: uppercase;
	float: right;
}

ul.mainmenu li.menu-item a:hover, ul.mainmenu li.current_page_item a {
	background-color: #ddc7a4;
	color: #000;
	 -webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;			
}

/*
ul.mainmenu li a {
	text-decoration: none;
	color: #fff;
}

ul.mainmenu li.menu-item:hover > a {
	color: #000;	
}
*/

		
/* video */

.elastic-video {
	position: relative;
	padding-bottom: 55%;
	padding-top: 15px;
	height: 0;
	overflow: hidden;
	z-index: 99;	
}
.elastic-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99;
}	

.elastic-video.header_video iframe {
	height: 90vh;
}

.video_container {
	width: 100%;	
}

/* frontpage */

.post_img {
	width: 100%;
	position: relative;
	overflow: hidden;
	padding-top: 56.25%;
}

.post_img img {
	height: 100%;
	width: 100%;	
	position: absolute;
	top:0px;
	left: 0px;
	object-fit: cover;
	z-index: 99;
}

.play_icon_img {
	height: 100%;
	width: 100%;
	position: absolute;
	z-index: 299;
	left: 0;
	top: 0;	
}

.play_icon_img:after {
	position: absolute;
	z-index: 299;
	left: 46%;
	top: 46%;
	font-family: "Font Awesome 6 Pro";
	font-weight: 900; 
	content: "\f04b";
	color: #fff;
	font-size: 65px;
/*	height: 100%;
	width: 100%;*/
}

.post_img_hover, .play_icon_img, .post_img .post_desc {
	visibility: hidden;
	opacity: 0;
	transition: visibility 0s ease-in-out 300ms, opacity 400ms;	
}

.post_img:hover .post_img_hover {
	visibility: visible;
	opacity: 1;
	filter: brightness(80%);
	transition: visibility 0s ease-in-out 0s, opacity 400ms;
}

.post_img:hover .play_icon_img, .post_img:hover .post_desc {
	visibility: visible;
	opacity: 1;	
	transition: visibility 0s ease-in-out 0s, opacity 500ms;	
}

.startseite .post_desc {
	/*margin-top: 5px;*/
	position: relative;
	z-index: 99;
	width: 100%;
	height: 100%;
}

.post_desc .post_desc_text {
	text-transform: uppercase;
	text-align: center;
}

.post_content {
	margin-top: 5vh;
}

.startseite .post_content {
	width: 49%;
}

.post_content.post_full_width {
	width: 100%;
}

.post_title.post_blog {
	min-height: auto;
}

.post_datetime.date_overlay {
	z-index: 100;
    position: absolute;
    color: #ffffff;
    top: 0px;
    padding: 9px 18px;
    background: #24160a;
}


/* single */

.single_content_container {
	margin-top: 10vh;
	display: flex;
	justify-content: space-between;
}

.single_content {
	
	
}

.single_content_padding {
	
}

.single_content_work_padding {
	padding: 11% 14%
}


.single_content_work {
	width: 39.5%;
	height: auto;
	background-image: url(gfx/work.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

.post_gallery {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-top: 5vh;
}

.post_gallery_img.twothird {
	width: 59.5%;
	margin-bottom: 1%;	
}

.post_gallery_img.onethird {
	width: 39.5%;
	margin-bottom: 1%;	
}

.post_gallery_img img {
	object-fit: cover;
	object-position: center center;
	height: 100%;	
	width: 100%;	
}

.post_img_wrapper {
	position: relative;
}

.front_divider {
	margin-top: 100px;
	text-align: center;
	background-color: #ddc7a4;
	padding: 50px;
	width: 100%;
	margin-bottom: 50px;
}

/* pagination */

.pagination ul {	
	margin: auto;
	margin-top: 50px;	
	padding: 0px;	
	display: flex;
	width: 50%;
	justify-content: space-between;
}

.pagination ul li {
	list-style: none;
	margin: 0px;
	padding: 0px;
}

.pagination ul li a, .pagination ul li span {
	border: 1px solid #5c5c5c;
	color: #333;
	padding: 10px 15px;
	border-radius: 2px;
	font-family: Gilroy-Bold;	
	font-weight: 100;
}

.pagination ul li span {
	border: 1px solid #5c5c5c;		
}

.pagination ul li a:hover, .pagination ul li span:hover, .pagination .current {
	background-color: #ddc7a4;
	color: #24160a;
}


@media only screen and (max-width: 1000px){

	#content, .header_content .header_entry, .footer_year {
		margin: 0 10vw;	
	}

	.hamburger {
		top: 86px;
	}
	
	.single_content_container {
		flex-wrap: wrap;
		margin-top: 5vh;
	}
	
	.post_gallery_img.twothird, .post_gallery_img.onethird, .single_content, .single_content_work {
		width: 100%;
		margin-bottom: 1%;	
	}
}

@media only screen and (max-width: 850px){
	
	
	.startseite .post_content {
		width: 100%;
	}
	
	.header_content.header_excerpt .flex {
		flex-wrap: wrap;
	}
	
	.play_buttons .playvideo, .play_buttons .time {
		margin-left: 0px;
		margin-right: 10px;
		margin-top: 10px;
	}
	
	.play_buttons .time { 
		font-size: 10px;
		padding: 2px 6px 2px 8px;		
		margin-right: 5px;
	}
	
	.play_buttons.play_buttons_startseite {
		right: 0%;
	}
	
	.rand_posts img {
		/*max-height: 70vh;*/
	}
	
	#content.footer_entry {
		flex-wrap: wrap;
	}
	
	.footer_menu, .footer_social_icons {
		width: 100%;
	}
	
	ul.footermenu {
		justify-content: space-between;		
		flex-wrap: wrap;
	}
	
	.footer_social_icons {
		text-align: left;
		margin-top: 20px;
	}
	
	.footer_social_icons i {
		margin-left: 0;
	}
	
}


@media only screen and (max-width: 500px){ 
	
	#content, .header_content .header_entry, .footer_year {
		margin: 0 6vw;	
	}
	
	.logo, .navigation {
		margin-top: 30px;
	}
	
	#content.startseite {
		margin-top: 0;
	}
	
	h1 {
		font-size: 6vw;		
	}
		
	.logo {
		/*filter: invert(1);*/
	}
	
}






