/*
Theme Name: Pallerhaff
*/

body{
	width: 100%;
	height:100%;
	margin:0;
	padding:0;
	position:absolute;
	background:#e2dac1;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	color: #1c1c1c;
	}
	
	
h1,h2,h3,h4,h5,h6{
	margin:0;
	padding:0;
	}

.text-grid h1{
	font-size:40px;
	font-weight: bold;
}
	
.bg-black{
	background-color:#000;
	color:#fff;
	}
	
.bg-grey{
	background-color:#cacbc6;
	color:#000;
	}
	
p{
	margin:0;
	}

a{
	color:#786e46;
	}

.wrap{
	position:relative;
	width: 100%;
	height:100%;
	max-width: 1536px;
	margin:0 auto;
	}


.inner-wrap{
	position:relative;
	float:left;
	width: 100%;
	height:100%;
	background:#fffcf3;
	}
	

#video_overlay{
	display:none;
	position:fixed;
	width:100%;
	height:100%;
	z-index:999;
	left: 0px;
	background-color:rgba(255,255,255,0.9);
	}
	
.video-container{
	width:100%;
	max-width:860px;
	margin:0 auto;
	margin-top:10%;
	}
	
.video-container video{
	height:auto;
	width:100%;
	}
	
.close-video{
	position:relative;
	float:right;
	font-size:50px;
	transform:rotate(45deg);
	cursor:pointer;
	}
	
header{
	top:0;
	position:fixed;
	width: 100%;
	max-width: 1536px;
	height:75px;
	z-index:999;
	background: -moz-linear-gradient(top, rgba(0,0,0,1) 1%, rgba(0,0,0,1) 15%, rgba(0,0,0,0) 100%);
	background: -webkit-linear-gradient(top, rgba(0,0,0,1) 1%,rgba(0,0,0,1) 15%,rgba(0,0,0,0) 100%);
	background: linear-gradient(to bottom, rgba(0,0,0,1) 1%,rgba(0,0,0,1) 15%,rgba(0,0,0,0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#00000000',GradientType=0 );
	}
	

header #menu{
	margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 20px 0px;
    width: 100%;
    max-width: 726px;
    height: 20px;
	}
	

header #mobile-menu{
    position: fixed;
    height: 100%;
    background: #000;
    width: 100%;
    right: -100%;
    top: 0;
    z-index: 999;
    padding: 0 20px 0;
    box-sizing: border-box;
}
	
.mobile-menu-home .mobile-menu-hamburger{
	position:relative;
	float:right;
	padding:20px;
	cursor:pointer;
	}
	
.mobile-menu-home .menu-main-item-home-image{
	position:relative;
	float:left;
	padding:20px;
	}
	
header #menu a.menu-main-item{
	padding: 0px 10px;
    width: 80px;
    position: relative;
    float: left;
	border-right: 1px solid #fff;
	color:#fff;
	text-decoration:none;
	font-weight:600;
	font-size: 14px;
    line-height: 14px;
	}

header a.special-menu-main-item{
	padding: 0px 10px;
    width: 80px;
    position: absolute;
    right: 0px;
	top: 20px;
	color:#fff;
	text-decoration:none;
	font-weight:200;
	font-size: 14px;
    line-height: 14px;
}
	
	
header #mobile-menu a.menu-main-item{
	padding: 20px 0px;
    width: 100%;
    position: relative;
    float: left;
	border-top: 1px solid #fff;
	color:#fff;
	text-decoration:none;
	font-weight:600;
	font-size: 20px;
    line-height: 20px;
	text-align:center;
	}

header #mobile-menu .close-mobile-menu{
    position: relative;
    float: right;
    transform: rotate(45deg);
    color: #fff;
    font-size: 50px;
    padding: 0 20px;
    cursor: pointer;
    margin-right: -20px;
}
	
header #mobile-menu a.menu-main-item:nth-child(1){
	border-top: none;
	}
	
header #menu a.menu-main-item-home-image{
    width: 300px;
	height: 14px;
	 }
	 
header #menu a.menu-main-item-home-image > img{ 
	bottom: 0;
	position: absolute;
	left: 30px;
	}
	
header #menu a.menu-main-item:nth-child(1){
    border-left: 1px solid #fff;
	}
	

.mobile-menu-home{
	display:none;
	top:0;
	width:100%;
	position:absolute;
	}
	
.header{
	height:100%;
	max-height:860px;
	padding-bottom:84px;
	box-sizing:border-box;
	}
.header.text-only{
	max-height:120px;
}
	
.header.full-image{
	max-height:none;
}

.header.full-image-max{
	max-height:800px;
}
	
.button{
	padding: 7.5px 75px;
    border: 2px solid #ffffff;
    text-align: center;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    box-sizing: border-box;
    letter-spacing: 2px;
    max-width: 100px;
	background: rgba(0,0,0,0.3);
	cursor:pointer;
	}
	
.button:hover,
.button.active{
	background:#ffffff;
	color:#000;
	}
	
.button:hover span
.button.active span{
	color:#000;
	}
	
.module{
	position:relative;
	float:left;
	width: 100%;
	}
	
.module-after-header{
	 margin-top:-84px;
	 }
	
.header-img{
	position:relative;
	float:left;
	width: 100%;
	height:100%;
	background-position:top center;
	background-size:cover;
	background-repeat:no-repeat;
	}
	
.grid,.grid-double,.grid-full{
	position:relative;
	float:left;
	box-sizing:border-box;
	overflow:hidden;
    min-height: 84px;
	}
	
.grid-wrapper{
	position:relative;
	width:100%;
	float:left;
	background:#fffcf3;
	height: 100%;
	background-position:center center;
	background-size:cover;
	background-repeat:no-repeat;
	}

.single-post .grid-wrapper,
.page-template-default .grid-wrapper{
	float:none;
	margin: 0 auto;
	max-width: 1024px;
}

.single-post .content-width-wrapper,
.page-template-default .content-width-wrapper{
	
    max-width: 100%;
	float:left;
	min-height: 0;
}

	
.single-post .module-after-header,
.page-template-default .module-after-header{
    padding-bottom: 30px;
	padding-top: 30px;
}

.single-perde .module-after-header{
    padding-bottom: 0px;
}


.single-post .module-after-header,
.page-template-default .module-after-header{
	background: #fffcf3;
}


.home .grid-wrapper,
.post-type-archive-termin .grid-wrapper{
	background:transparent;
	}
	
.pferd-claim{
	font-size:35px;
	}
	
.text-grid{
	padding:10px;
	}

.subtitle-text-grid{
	padding:10px;
	min-height:0;
	font-size: 30px;
	}
	
.text-grid p
.content-wrapper p{
	padding-bottom:10px;
	}

.image-grid img{
	width:100%;
	height:auto;
	float:left;
	}
	
.image-content img{
	width:100%;
	height:auto;
	padding:20px;
	padding-bottom:0;
	box-sizing:border-box;
	}
	
.image-content{
	width:100%;
	}
	
.arrow-down{
	width: 40px;
    height: 40px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    margin-left: -20px;
	background-image:url('assets/images/pfeil-pallerhaff-down.png');
	z-index:19;
	cursor: pointer;
	background-size:contain;
	}
	
.back-to-top,
.button-video{
	width: 200px;
    position: absolute;
    bottom: 75px;
    left: 50%;
    margin-left: -100px;
	z-index:9;
	max-width:none;
	}

.grid-2 .grid{ width:50%; }
.grid-3 .grid{ width:33.33%; }
.grid-4 .grid{ width:25%; }
.grid-5 .grid{ width:20%; }
.grid-6 .grid{ width:16.66%; }

.grid-2 .grid-double{ width:100%; }
.grid-3 .grid-double{ width:66.66%; }
.grid-4 .grid-double{ width:50%; }
.grid-5 .grid-double{ width:40%; }
.grid-6 .grid-double{ width:33.33%; }

.grid-2 .grid-full{ width:100%; }
.grid-3 .grid-full{ width:100%; }
.grid-4 .grid-full{ width:100%; }
.grid-5 .grid-full{ width:100%; }
.grid-6 .grid-full{ width:100%; }


.content-width-wrapper{
	position:relative;
	margin:0 auto;
	width:100%;
	min-height:100%;
	max-width:1024px;
    padding-bottom: 84px;
    box-sizing: border-box;
	}

.content-float-wrapper{
	position:relative;
	float:left;
	background:#fffcf3;
	width: 100%;
}
	
.full-fixed-background{
	position:fixed;
	width:100%;
	padding:0;
	max-height:none;
	height:100%;
	max-width: 1536px;
	}
	
.full-fixed-background .header-img{
	background-attachment:fixed;
	}
	
/* PFERDE ARCHIVE */
.pferd-element{
	height:280px;
	text-align:center;
	color:#fff;
	background-size:cover;
	background-repeat:no-repeat;
	background-position:top center;
	}
	
.pferd-element .pferd-dots{
	font-size: 20px;
    line-height: 7px;
    margin: 2px 0 10px;
    float: left;
    width: 100%;
	}
	
.pferd-element .arrow-down-pferde{
	float:left;
	width:100%;
	padding:20px 0 10px;
	}
	
.pferd-element .mehr-info{
	text-align:center;
	color:#ffffff;
	text-decoration:none;
	}

.pferd-element .pferd-info{	
    position: absolute;
    width: 100%;
    bottom: 20px;
	left:0;
}

.pferd-element .pferd-info-wrapper{	
    position: absolute;
    width: 100%;
	height: 100%;
    bottom: 0px;
	left:0;
	background: rgba(0,0,0,0.5);
	opacity:0;
	transition: 500ms opacity;
}

.pferd-element:hover .pferd-info-wrapper{
	opacity:1;
}

.pferd-element .pferd-terms span{
	font-size:16px;
	text-transform:uppercase;
	}
	
.header .archive-menu{
	position:absolute;
	width:100%;
	bottom:84px;
	background: #000;
	}
	
.header .pferd-typ-button{
	color:#ffffff;
	text-decoration:none;
	width:100%;
	float:left;
	padding:2px 0;
	}
	
.header .pferd-typ-button strong{
	font-weight:900;
	text-transform:uppercase;
	}
.header .pferd-typ-button span{
	padding-left:20px;
	}

.gallery-link{
	background: #786e46;
	min-height: 0;
   }

.gallery-link a{
	color: #ffffff;
	text-decoration:none;
	float: left;
    width: 100%;
	padding: 12px 0;
    text-align: center;
}

.hidden-element{
	display:none;
}


/* MEDIATHEK */

.mediathek-element{
	height:432px;
	text-align:center;
	background-size:cover;
	background-repeat:no-repeat;
	background-position:top center;
}

#swipebox-overlay {
    background: rgba(0,0,0,0.8);
}

/* TABLE */	

.table-grid{
	position:relative;
	float:left;
	width:100%;
	border-right:1px solid #ccc;
	}
	
.table-row{
	position:relative;
	float:left;
	width:100%;
	border-bottom:1px solid #ccc;
	border-top:1px solid #ccc;
	margin-top: -1px;
	}
	
.table-col{
	position:relative;
	float:left;
	width:33.33%;
	border-left:1px solid #ccc;
	box-sizing:border-box;
	}
	
.table-element{
	position: relative;
    float: left;
    width: 100%;
    padding: 5px;
    margin-top: -1px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
	border-top:1px solid #ccc;
	box-sizing:border-box;
	}
	
.table-element-empty{
	position:relative;
	float:left;
	width:100%;
	padding:5px 0;
	}
	
	
/* NEWS */	

.archive-black-bg{
	background:#000;
}

.archive-black-bg .grid-wrapper.masonry-archive{
	width:1500px;
	float:none;
	margin: 0 auto;
}

.module-after-header .masonry-archive .news-element{
	width:500px;
	padding:10px;
	}
	
	
.news-element.news-element-text .news-info{
	height:314px;
	margin-top:0;
	}
	
.news-element .news-info h2{
	text-overflow: ellipsis;
	white-space: nowrap; 
    overflow: hidden; 
	color: #4b5c68;
	font-size: 30px;
	}

.news-element .news-info p{
	font-size: 21px;
	}
	
.news-element .news-info a.news-headline{
	text-decoration: none;
    color: #4b5c68;
    font-weight: 600;
    margin-bottom: 10px;
    float: left;
    width: 100%;
	}
	
	
.news-element .news-thumbnail{
	background-size:cover;
	background-repeat:no-repeat;
	background-position:center center;
	height:200px;
	}
	
.news-element .news-thumbnail-date{
	height:40px;
	font-size:30px;
	text-align:center;
	background: #4b5c68;
	border: 4px solid #fffcf3;
	color:rgba(255,252,243,0.8);
	}
	
.news-element .news-info{
	padding: 10px 10px 10px 10px;
	background:rgba(255,252,243,0.8);
	float:left;
	width:100%;
	box-sizing:border-box;
    height: 150px;
	}
	
.news-element-text .news-date-wrapper{
	float:left;
	padding:4px 4px 0;
	width:100%;
	box-sizing:border-box;
	background:rgba(255,252,243,0.8);
	}
	
.news-element .news-date{
	background:#000000;
	color:#ffffff;
	padding:5px 10px;
	float:left;
	}
	
.news-element .news-info a.news-dots{
	color:#6d2e2e;
	font-weight:900;
	float:right;
	text-decoration: none;
	}
	
.news-element .news-info a.news-dots span{
	font-size: 30px;
    line-height: 20px;
	}



.navigation.post-navigation{
	float:left;
	padding: 10px;
	margin-top:30px;
}

.navigation.post-navigation .screen-reader-text{
	display: none;
}

.navigation.post-navigation .nav-previous{
	text-align: left;
	float: left;
	width:40%;
}

.navigation.post-navigation .nav-next{
	text-align: right;
	float: right;
	width:40%;
}



/* HOME */

.home-full-screen{
	height:100%;
	box-sizing:border-box;
	background-position:center center;
	background-size:cover;
	}
	
.home-full-screen .home-slider-element{
	background-position:center center;
	background-size:cover;
	}
	
.home-full-screen .pferd-typen-tax-grid{
	background-position:top center;
	background-size:cover;
	height:50%;
	text-align:center;
	}
	
.home-full-screen .pferd-typen-tax-grid .pferd-info{
	top: 70%;
    position: relative;
	}
	
.home-full-screen .pages-overview-element{
	top: 70%;
    position: relative;
	text-align:center;
	}

.page-template-default .pages-overview-element{
	top: 70%;
    position: absolute;
    text-align: center;
    width: 100%;
	}

.page-template-default .pages-overview-element .button{
	margin:0 15px;
	}
	
.home-full-screen .home-slider-element{
    position: relative;
	text-align:center;
	}
	
.home-full-screen .pages-overview-element .button{
	margin:0 15px;
	}
	
.events-overview-wrapper{
	position: absolute;
	bottom:0;
	width:100%;
	height:50%;
	padding:0px 100px;
	
	background: rgba(0,0,0,0);
	background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,0,0,0)), color-stop(100%, rgba(0,0,0,0.8)));
	background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
	background: -o-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
	background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000', GradientType=0 );
		
	box-sizing:border-box;
	text-align:center;
	}
	
	
.news-overview-wrapper {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 70%;
    box-sizing: border-box;
}
	
.termin-element{
	margin-top: 5%;
	color:#ffffff;
	text-align:center;
	}
	
.termin-element .termin-info h2{
	text-transform:uppercase;
	letter-spacing:1px;
	}
	
.home-news-info{
	margin-top: 80px;
    text-align: center;
    float: left;
    width: 100%;
	position: relative;
	}
	
.single-pferde .home-news-info {
    margin: 30px 0;
}
	
.pferd-single-news-head{
	padding:20px;
	box-sizing:border-box;
	}
	
.pferd-single-news{
	background:#786e46;
	}
	
	
/* SWIPER */
.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{
	margin: 30px 0;
	}
	
.swiper-pagination-bullet{
	width: 8px;
    height: 8px;
	background:transparent;
	border:2px solid #fff;
	opacity: 1;
	}
	
.swiper-pagination-bullet-active{
	background:#ffffff;
	}
	
.swiper-container-vertical>.swiper-pagination-bullets{
	right:100px;
	}
	
.swiper-pagination-bullet .swiper-pagination-bullet-index {
	position: absolute;
    bottom: 12px;
    margin-left: -20px;
    border-right: 2px solid #fff;
    width: 23px;
    text-align: left;
    color: #fff;
    display: none;
    height: 30px;
	}

.swiper-pagination {
    position: absolute;
    text-align: right;
}

.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
    left: -20px;
}


.swiper-container-single .swiper-slide{
	 width:auto;
	 }

.swiper-container-single {	 
	margin-left: auto;
	margin-right: auto;
	position: relative;
	overflow: hidden;
	z-index: 1;
	}
	 
.swiper-pagination-bullet-active .swiper-pagination-bullet-index {
	display:block;
}


.swiper-button-prev, .swiper-container-rtl .swiper-button-next {
    width: 40px;
    height: 40px;
    position: absolute;
    left: 10px;
    top: 50%;
    margin-top: -62px;
	background-image:url('assets/images/pfeil-pallerhaff-left.png');
    background-size: contain;
}

.swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    width: 40px;
    height: 40px;
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -62px;
	background-image:url('assets/images/pfeil-pallerhaff-right.png');
   	background-size: contain;
}

.paging-button-prev{
	float:left;
    width: 40px;
    height: 40px;
	margin-left:20px;
	background-image:url('assets/images/pfeil-pallerhaff-left.png');
}

.paging-button-next {
	float:right;
    width: 40px;
    height: 40px;
	margin-right:20px;
	background-image:url('assets/images/pfeil-pallerhaff-right.png');
}

.navigation.pagination{
	background: #000;
    text-align: center;
    float: left;
    width: 100%;
    padding: 10px 0;
	}
	
.page-numbers{
	color:#fff;
	margin:0 5px;
	line-height:40px;
	}
	


.home-contact-info{
    height: 50%;
    width: 100%;
    bottom: 0;
    position: absolute;
    color: #fff;
}

/* TERMINE */
.post-type-archive-termin .termin-archive{
	padding-top: 30%;
	padding-bottom: 20px;
    height: auto !important;
	min-height:100%;
    box-sizing: border-box;
	}
	
.post-type-archive-termin .header-bg-dark{
	position:absolute;
	width:100%;
	height:100%;
	background: rgba(0,0,0,0);
	background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,0,0,0)), color-stop(100%, rgba(0,0,0,0.8)));
	background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
	background: -o-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
	background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000', GradientType=0 );
	}
    

	

/* FOOTER */
footer{
	position:relative;
	float:left;
	bottom:0;
	background:#000000;
    width: 100%;
	box-sizing:border-box;
	color:#fff;
	max-width: 1536px;
	font-size:10px;
	z-index:990;
	}

.content-width-wrapper + footer{
	margin-top: -84px;
	}
	
.footer-element{
	text-decoration:none;
	padding:5px 10px;
	}

.social-media a{
	float:left;
	padding:1px 0;
	width:100%;
	}
	
.legal-links a{
	float: left;
    padding: 3px 0;
    width: 100%;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
	}
	
.search-submit{
	border:none;
	border-radius:none;
	background:#6f6f6e;
	color:#fff;
	float: left;
	height:19px;
	}
	
.search-submit svg{
    display: none;
}

.search .text-content{
    max-height: 90px;
    overflow: hidden;
	min-height: 0px;
	}

.text-content p{
	padding-top:10px;	
}

.text-content img{
	margin-right: 15px;	
	margin-bottom: 15px;	
	max-width:100%;
	height: auto;
	float: left;
}


.text-content h1,
.text-content h2,
.text-content h3,
.text-content h4{
	padding:25px 0 10px;	
}
	
.search-element{
	margin:20px 0;
	border-top:2px solid #ccc;
	}
	
.search-element:nth-child(1){
	border-top:0px solid #ccc;
	}
	
.search-element h2{
	padding:20px 20px 0;	
	white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.search-element .button-wrapper{
	position: relative;
    float:left;
    max-width: 400px;
    width: 100%;
    padding: 0 20px;
	margin-top:20px;
    box-sizing: border-box;
}



.search .content-width-wrapper,
.error404 .content-width-wrapper{
	 margin-top: 50px;
	}
	
.search-form{
	margin:15px 0;
	}
	
.search-field{
	float: left;
	color:#303030;
    width: 130px;
	}
	
label .screen-reader-text {
    display: none;
}
	
input[type="search"] {
    -webkit-appearance: textfield;
}



@media all and (max-width: 1000px) {
	
	header{ height:60px; background:#000; }
	header #menu{ display:none; }
	header .special-menu-main-item{ display:none; }
	.mobile-menu-home{ display:block; }
	.header { height: 50%; }
	.post-type-archive-termin .header { height: 100%; }
	.wrap{ padding-top:60px; box-sizing:border-box; }
		
	.grid-2 .grid{ width:100%; }
	.grid-3 .grid{ width:50%; }
	.grid-4 .grid{ width:50%; }
	.grid-5 .grid{ width:33.33%; }
	.grid-6 .grid{ width:33.33%; }
	
	.grid-2 .grid-double{ width:100%; }
	.grid-3 .grid-double{ width:100%; }
	.grid-4 .grid-double{ width:100%; }
	.grid-5 .grid-double{ width:66.66%; }
	.grid-6 .grid-double{ width:66.66%; }
	
	.grid-2 .grid-full{ width:100%; }
	.grid-3 .grid-full{ width:100%; }
	.grid-4 .grid-full{ width:100%; }
	.grid-5 .grid-full{ width:100%; }
	.grid-6 .grid-full{ width:100%; }
	
	.button-wrapper{
		position:relative;
		margin:0 auto;
		max-width:400px;
		width:100%;
		padding:0 20px;
		box-sizing:border-box;
		}
	a.button{
		position:relative;
		float:left;
		width:100%;
		margin:20px 0 0 0 !important;
		max-width:none;
		}
	.swiper-container-vertical>.swiper-pagination-bullets {
		right: 50px;
	}
	
	#pferde.home-full-screen {
    	height: 600px;
	}
	
	#pferde.grid-2 .grid {
		width: 50%;
	}
	
	.home-full-screen .pages-overview-element {
		top: 40%;
	}
	
	.page-template-default .pages-overview-element{
		top: 0;
	}
	
	.events-overview-wrapper {
    	height: 90%;
	}
	
	.news-overview-wrapper {
    	height: 100%;
	}
	
	.home .news-element:nth-child(3){
		display:none;
		}
		
	.home-news-info {
    	margin-top: 0px;
	}
	
	.home-contact-info {
    	height: 90%;
	}
	
	.pferd-element .mehr-info {
    	display:none;
	}
	
	.pferd-element .arrow-down-pferde{
		display:none;
		}
		
	
	.pferd-element .pferd-dots{
		display:none;
		}

	.pferd-element .pferd-info {
    	bottom: 20%;
	}
	
	.search-element .button-wrapper{
		margin-top:0px;
	}

	.header .archive-menu {
		bottom: auto;
		top: 0px;
	}

	.post-type-archive-pferde .header .archive-menu {
		position: relative;
		float: left;
	}


	.post-type-archive-pferde .header{
		height: auto;
	}

	.pferd-element .pferd-info-wrapper {
		opacity: 1;
	}


}
	
	
@media all and (max-width: 660px) {
	.grid-3 .grid{ width:100%; }
	.grid-4 .grid{ width:100%; }
	.grid-5 .grid{ width:50%; }
	.grid-6 .grid{ width:50%; }
	
	.grid-5 .grid-double{ width:100%; }
	.grid-6 .grid-double{ width:100%; }
	.swiper-container-vertical>.swiper-pagination-bullets {
		right: 20px;
	}

	#pferde.home-full-screen {
    	height: 100%;
	}
	
	#pferde.grid-2 .grid {
		width: 100%;
	}
	
	.home-full-screen .pferd-typen-tax-grid {
		height: 25%;
	}
	
	.home-full-screen .pferd-typen-tax-grid .pferd-info {
   		top: 40%;
	}
	
	#pferde .arrow-down{
		display:none;
		}
		
	.events-overview-wrapper {
    	padding:0;
	}
	
	.menu-main-item-home-image img{
		width:200px;
		}
		
	.home .termin-element:nth-child(4),
	.home .termin-element:nth-child(5){
		display:none;
		}
		
	.home .news-element:nth-child(2){
		display:none;
		}
		
	.back-to-top, .button-video {
    bottom: 60px;
	}

	.post-type-archive-pferde .grid-6 .grid {
		width: 100%;
	}

		
	

}


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

.module-after-header .masonry-archive .news-element{
	width:100%;
	}
}

@media all and (max-width: 1520px) {
	.archive-black-bg .grid-wrapper.masonry-archive{
		width:1020px;	
	}
}

@media all and (max-width: 1020px) {
	.archive-black-bg .grid-wrapper.masonry-archive{
		width:500px;	
	}
}

@media all and (max-width: 510px) {
	.archive-black-bg .grid-wrapper.masonry-archive{
		width:100%;	
	}
}