/*
 Theme Name:   KMES Partner - Childtheme GeneratePress
 Theme URI:    https://arteeo.ch
 Description:  Custom KMES Partner design, based on generatepress
 Author:       arteeo.ch
 Author URI:   https://arteeo.ch
 Template:     generatepress
 Version:      1.0
*/
/*
-----------------------------------------------------------------------------------

	1.	General HTML elements
	2.	Homepage (home) Stylings
	3.	Bouncing Arrow
	4.	Contact Form 7
	5.	Footer
	6.  Mediaqueries

----------------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------------- */
/*	1.	General HTML elements
/* -------------------------------------------------------------------------------- */

html, body {
	margin: 0;
	height: 100%;
	overflow: hidden;
}
/* -------------------------------------------------------------------------------- */
/*	2.	Header
/* -------------------------------------------------------------------------------- */
.inside-header {
    position: absolute;
}
/*Header - Sitelogo*/
.site-logo {
	padding-top: 40px;
    padding-left: 68px;
	z-index: 9;
}
/*Background Image*/
.kmes-background-image {
	background-image: url('../generatepress_child/kmes-partner-homepage-video.jpg');
	background-attachment: fixed;
	background-repeat: no-repeat;
	/*background-size: cover;*/
	height: 100vh;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}	
/* -------------------------------------------------------------------------------- */
/*	3.	Frontpage (front-page.php & content-kmes_home.php)
/* -------------------------------------------------------------------------------- */
/*Menu Buttons*/
.kmes-menu-container {
	position: fixed;
	left: 96%;
	top: 50px;
	z-index: 11;
}	
.kmes-menu {
	display: block;
	font-family: 'IBM Plex Mono';
    font-weight: 500;
    writing-mode: vertical-lr;
	color: #FFF;
    margin: 20px 0;
    padding: 25px 20px;
    background-color: #000;
	transform: rotate(180deg);
}
a.kmes-menu:hover, a.kmes-menu:focus, a.kmes-menu:active {
	color: #FF1001;
}
/* Output of all WP data (hidden)*/
.kmes-partner-infos {
	display: none;
}
.kmes-strength-infos {
	display: none;
}
.kmes-kontakt-infos {
	display: none;
}
/* Main container for slide content*/
.kmes-floating-slide-container {
	position: absolute;
	right: 0;
	top: 0px;
	width: 78.5%;
    overflow: auto;
    background: rgba(0,0,0,0.6);
	display: none;
	height: 100vh;
	animation-name: slideIn;
	animation-duration: 1s;	
	transition: 1s;
	padding-bottom: 40px;
	z-index: 10;
	-ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}
.kmes-floating-slide-container::-webkit-scrollbar {
	display: none;
}
/* Custom Cursor*/
/*.kmes-floating-slide-container a:hover {
	cursor: url('../generatepress_child/kmes-partner-custom-cursor.png'), auto;	
}*/
.kmes-content-slide {
	padding-left: 125px;
	padding-top: 55px;
	color: #FFF;
}	
.kmes-content-slide h2 {
	font-family: 'Maven Pro', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 80px;
    color: #FFF;
}
.h2-kmes-partner {
    line-height: 0.8;
	width: 80%;
	font-stretch: semi-expanded;
}
.h2-kmes-strength {
    line-height: 1;
	font-stretch: semi-expanded;
	width: 80%;
}
.h2-kmes-partner:hover, .h2-kmes-strength:hover  {
    /*text-shadow: 0px 0px 8px rgba(255,255,255,1);*/
	font-weight: bold;
}
.kmes-partner-content, .kmes-strength-content, .kmes-partner-mehr {
	width: 60%;
}	
.kmes-content-slide a {
    color: #FFF;
}	
.kmes-close-slide {
	position: fixed;
    top: 50%;
    left: 24%;
	opacity: 1;
	color: #FFF;
	background: none;
	display: none;
	z-index: 7;
}
.kmes-close-slide-individual {
	position: fixed;
    top: 50%;
    left: 24%;
	opacity: 1;
	color: #FFF;
	background: none;
	display: none;
	z-index: 7;
}
.kmes-home-button {
	display: none;
	z-index: 7;
}
a.kmes-content-mehr-button {
	position: fixed;
	display: none;
    top: 48%;
    left: 97%;	
	font-family: 'IBM Plex Mono';
    font-weight: 500;
    writing-mode: vertical-lr;
	color: #000;
    padding: 35px 12px;
    background-color: #FFF;
	z-index: 99999;
	transform: rotate(180deg);
}
.kmes-close-slide-more	 {
	position: fixed;
    top: 50%;
    left: 24%;
	opacity: 1;
	color: #FFF;
	background: none;
	z-index: 7;
	display: none;
}
.kmes-partner-more-image, .kmes-kontakt-more-image {
	position: absolute;
    top: 0;
    left: 0;
	height: 100vh;
    width: 100%;
	object-fit: cover;
	z-index: 1;
}
.kmes-kontakt-content {
	position: absolute;
	z-index: 6;
	bottom: 0;
}	
.kmes-partner-mehr {
	position: relative;
	z-index: 6;
	display: flex;
	align-items: center;
	height: 100vh;
	font-size: xx-large;
}	
/* Slide Effect*/
.kmes-slidein {
	width: 78.5%;
	animation-name: slideIn;
	animation-duration: 2s;
}
.kmes-slideout {
	display: none;
	width: 0;
	animation-name: slideOut;
	animation-duration: 2s;
}	
@keyframes slideIn {
	0% { 
		transform: translateX(200%); 		
	}
	100% { 
		transform: translateX(0%); 
	}
}
@keyframes slideOut {
	100% { 
		transform: translateX(200%); 
	}
	0% { 
		transform: translateX(0%); 		
	}

}
/* Tickertape*/
.ticker-wrap {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	overflow: hidden;
	height: 4rem;
	background-color: #FFF;
	padding-left: 100%;
	box-sizing: content-box;
	z-index: 1;
}
.ticker-wrap .ticker {
	display: inline-block;
	height: 4rem;
	line-height: 4rem;
	white-space: nowrap;
	padding-right: 100%;
	box-sizing: content-box;
	-webkit-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;
	animation-timing-function: linear;
	-webkit-animation-name: ticker;
	animation-name: ticker;
	-webkit-animation-duration: 30s;
	animation-duration: 30s;
}
.ticker-wrap .ticker__item {
	display: inline-block;
	padding: 0 0.5rem;
	font-size: 1.5rem;
	font-family: 'IBM Plex Mono';
	font-weight: 500;
	color: #000;
}
@-webkit-keyframes ticker {
	0% {
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	visibility: visible;
	}
	100% {
	-webkit-transform: translate3d(-100%, 0, 0);
	transform: translate3d(-100%, 0, 0);
	}
}
@keyframes ticker {
	0% {
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	visibility: visible;
	}
	100% {
	-webkit-transform: translate3d(-100%, 0, 0);
	transform: translate3d(-100%, 0, 0);
	}
}
/* -------------------------------------------------------------------------------- */
/*	4.	Mobile View
/* -------------------------------------------------------------------------------- */
@media (max-width: 768px) {
	/*html, body {
		margin: 0;
		min-height: 100%;
		overflow: hidden;
	}*/
	.inside-header {
		width: 100%;
	}
	.site-header .header-image {
		width: 102px;
	}	
	/*Header - Sitelogo*/
	.site-logo {
		margin: 0 auto;
		padding: 0;
	}
	.kmes-menu-container {
		top: 113px;
		left: 86%;
	}
	.kmes-menu {
		margin: 10px 0;
		padding: 25px 15px;
	}	
	/* Main container for slide content*/
	.kmes-floating-slide-container {
		width: 100%;
		background: rgba(0,0,0,0.6);
		/*background: none;*/
	}
	
	.h2-kmes-partner:last-of-type, .h2-kmes-strength:last-of-type {
		padding-bottom: 40px;
	}	
	.kmes-content-slide {
		padding-left: 0;
		padding-top: 39px;
		width: 100%;
		height: 100vh;
	}
	.kmes-content-slide p, .kmes-content-slide h2 {
		padding-left: 24px;
	}	
	.kmes-partner-link, .kmes-strength-link {
		font-size: 30px;		
	}
	.h2-kmes-partner {
		line-height: 0.2;
	}
	.h2-kmes-strength {
		line-height: 0.4;
	}
	.kmes-partner-content, .kmes-strength-content, .kmes-partner-mehr {
		width: 100%;
	}	
	.kmes-close-slide, .kmes-close-slide-individual, .kmes-close-slide-more {
		position: relative;
		top: 50px;
		left: 24px;
		opacity: 1;
		color: #FFF;
		background: none;
		display: none;
	}
	.kmes-home-button {
		position: relative;
		top: 50px;
		left: 54px;
		opacity: 1;
		color: #FFF;
		background: none;
		display: none;
	}		
	.kmes-close-slide svg, .kmes-close-slide-individual svg, .kmes-close-slide-more svg, .kmes-home-button svg {
		height: 30px;
		width: 30px;
	}
	.kmes-content-mehr-button {
		left: 89% !important;	
		padding: 40px 15px !important;
		opacity: 1 !important;
		z-index: 99999999;
	}
	.kmes-content-slide.kmes-partner-featured-image {
		padding-left: 0 !important;
		padding-top: 0 !important;
	}
	.kmes-partner-content, .kmes-strength-content {
		position: relative;
		padding-right: 45px;
		padding-bottom: 25px;
	}	
	.kmes-partner-featured-image {
		padding: 0;
	}
	.kmes-partner-featured-image img {
		position: relative;
		top: -75px;
	}	
	.kmes-partner-more-image, .kmes-kontakt-more-image {
		height: auto;
		max-height: 390px;
		width: 100%;
}
	.kmes-partner-mehr {
		position: relative;
		padding: 30px;
		top: -85px;
		background-color: #000;
		align-items: unset;
	}
	.kmes-kontakt-content {

	}
	/*.ticker-wrap {
		position: relative;

	}*/	
	
}