/*
Theme Name: Child Theme
Template: activello
Author: Free WP TP
Author URI: http://freewptp.com/
*/

/*
	Home Page
*/

@media all and (min-width: 768px){
	.blog.home .page-1 article.post:nth-child(2) .post-inner-content {
		padding: 50px 0;
		margin-bottom: 50px;
	}
	
	body.home #main article.post{
		padding-left:15px !important;
		padding-right:15px !important;
	}
}

@media all and (max-width: 767px){
	article.post{
		padding-right:0;
	}
}

article.post{
	text-align:justify;
}

/*
	Search
*/

body.search article.page .post-inner-content{
	padding-top:40px;
	padding-bottom:40px;
}

body.search h1.page-title{
	margin-top:0;
}

/*
	Logo
*/

a.custom-logo-link{
	max-width:250px;
}

#logo {
    padding: 30px 0 25px 0;
}

/*
	Cookie Notice
*/

#cookie-notice .button.bootstrap, #cookie-notice .button.bootstrap:focus, #cookie-notice .button.bootstrap:hover{
	background-image: -moz-linear-gradient(top,#000,#000);
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#000),to(#000));
    background-image: -webkit-linear-gradient(top,#000,#000);
    background-image: -o-linear-gradient(top,#000,#000);
    background-image: linear-gradient(to bottom,#000,#000);
	background-color: black;
}

/*
	Slides
*/

.slides .flex-caption{
	max-width:450px;
	background:white;
	bottom:25%;
	top:25%;
}


#content .flex-caption h2, #content .flex-caption h2:hover, #content .flex-caption h2:focus, #content .flex-caption h2:active{
	color:black;
}

.flex-caption .post-categories:after{
	background-color:#dd9933;
}

.flex-caption .post-categories a, .flex-caption .read-more a{
	color:#dd9933;
	border-color:#dd9933;
}

.flex-control-nav.flex-control-paging{
	display:none;
}

.caption-content{
	position:relative;
	top:50%;
	padding:15px;
	transform:translateY(-50%);
	-ms-transform:translateY(-50%);
	-o-transform:translateY(-50%);
	-moz-transform:translateY(-50%);
	-webkit-transform:translateY(-50%);
}


@media all and (max-width: 1300px){
	.slides .flex-caption{
		top: 19%;
		bottom: 19%;
	}
}

@media all and (max-width: 900px){
	.slides .flex-caption{
		top: 15%;
		bottom: 15%;
	}
}



/*
	Blog Overview
*/
.archive .post-inner-content{
	margin:0;
}

.post-inner-content{
	padding:40px 0;
}

a.blog-image img{
	margin-bottom:30px;
}

body.archive.category h1.page-title{
	display:none;
}

body.archive.category header.page-header{
	margin:0;
}

body.archive article:nth-of-type(1) .post-inner-content{
	padding-top:0;
}

/*
	Kontakt
*/
form.wpcf7-form label{
	width:100%;
}

/*
	Impressum
*/

body.page-id-1968 h3, body.page-id-1968 h2{
	margin-top:60px;
}