/* Custom Styling */
/* Immer zuerst schauen ob es mit UI Kit standard Klassen gelöst werden kann */
header {
	background-color: #fff;
	border-bottom: 1px solid #F1F1F1;
}
.uk-navbar-nav>li>a {
	font-size: 1rem;
}
.uk-navbar-nav>li.uk-active>a {
	color: #3e6bae;
}
#logo {
	height: 60px;
	margin-top: 5px;
	opacity: 0.9;
	-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
	-moz-filter: grayscale(100%);
	filter: grayscale(100%);
	transition: all 0.5s ease;
}
#logo:hover {
	opacity: 1;
	-webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
	-moz-filter: grayscale(0%);
	filter: grayscale(0%);
}
#intro {
	padding: 120px 0px;
}
#intro-home {
	height: 600px;
	padding: 120px 0px;
	background-image: url("../img/gebaeudemodell.jpg");
}
.slider-nav {
	margin: 15px -2px;
	padding: 10px 15px;
}
#intrographic {
	margin-left: -100px;
}
#diagonal {
	width: 100%;
	height: 140px;
	margin-top: -100px;
	background-color: #EFF6FF;
	-webkit-transform: skewY(2deg);
	-moz-transform: skewY(2deg);
	-ms-transform: skewY(2deg);
	-o-transform: skewY(2deg);
	transform: skewY(2deg);
}
/* Diagonal Footer */
#diagonal2 {
	width: 100%;
	height: 90px;
	margin-bottom: -55px;
	background-color: #EFF6FF;
	-webkit-transform: skewY(2deg);
	-moz-transform: skewY(2deg);
	-ms-transform: skewY(2deg);
	-o-transform: skewY(2deg);
	transform: skewY(2deg);
}
#diagonal-white {
	width: 100%;
	height: 140px;
	margin-top: -100px;
	margin-bottom: -65px;
	background-color: #fff;
	-webkit-transform: skewY(2deg);
	-moz-transform: skewY(2deg);
	-ms-transform: skewY(2deg);
	-o-transform: skewY(2deg);
	transform: skewY(2deg);
}
.sparte-img {
	width: auto;
	max-height: 150px;
}
.produkte-img {
	width: auto;
	max-height: 150px;
}

.absprung {
	margin-top: 50px;
}

.absprung .uk-card-default {
	max-width: 380px;
	margin-left: auto;
	margin-right: auto;
	background: #f8f8f8;
	padding: 25px 40px 30px!important;
}

.absprung img {
	width: 300px;
}

.absprung .text {
	margin: 10px auto 20px;
	max-width: 300px;
	text-align: left;
}

.absprung button {
	width: 100%;
	padding: 0;
}

.uk-input {
	height: 50px;
}
/* Swisstopo Suche */
.twitter-typeahead {
	width: 100%;
}
.tt-menu {
	width: 100%;
	background-color: #FFF;
	margin-top: -10px;
}
.tt-suggestion:hover {
	background-color: #F6F6F6;
}
.tt-menu p {
	margin: 0px;
	padding: 10px;
}
#google-map {
	width: 100%;
}
#kunden a:hover {
	text-decoration: none;
}
.kundenlogo {
	height: 66px;
	margin-right: 30px;
	margin-bottom: 30px !important;
	background-color: white;
	opacity: 0.9;
	-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
	-moz-filter: grayscale(100%);
	filter: grayscale(100%);
	transition: all 0.5s ease;
}
.kundenlogo:hover {
	opacity: 1;
	-webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
	-moz-filter: grayscale(0%);
	filter: grayscale(0%);
}
.contact-icon {
	width: 20px;
	opacity: 0.4;
	margin-right: 8px;
	margin-top: -5px;
}

/* ------------------------------------------------------------------------------------------- */
/* Allgemeine Utility Klassen */
/* ------------------------------------------------------------------------------------------- */
.uk-button-primary {
	background-color: #3e6bae;
}
.uk-button-primary:focus, .uk-button-primary:hover {
	background-color: #547FBF;
}
.ul-link, a {
	color: #3e6bae;
}
.ul-link:hover, a:hover {
	color: #3e6bae;
	text-decoration: underline;
}
.white {
	background-color: #fff !important;
}
.bg-secundary {
	background-color: #EFF6FF;
}
.color-primary {
	color: #3e6bae;
}
.m-t-25 {
	margin-top: 25px;
}
.m-w-100 {
	width: auto;
	max-width: 100%;
}
.error {
	border: 1px solid #C50B0B;
}
.hidden {
	display: none;
}
.mobile-visible {
	display: none;
}
.grecaptcha-badge{
	display: none;
}
/* ------------------------------------------------------------------------------------------- */
/* Media Queries */
/* ------------------------------------------------------------------------------------------- */

/* On screens that are 960px or less, set the background color to olive */
@media screen and (max-width: 960px) {
	#diagonal-white {
		margin-bottom: -30px;
	}
	#diagonal2 {
		height: 65px;
		margin-bottom: -20px;
	}
	#intrographic {
		margin-left: 0px;
	}
	.kundenlogo {
		height: 50px;
		margin-right: 25px;
		margin-bottom: 25px !important;
	}
}

/* On screens that are 640px or less, set the background color to olive */
@media screen and (max-width: 640px) {
	.mobile-hidden {
		display: none;
	}
	.mobile-visible {
		display: block;
	}
	#intro {
		padding-top: 80px;
	}
	#introslogan {
		margin-top: -30px;
		text-align: center;
	}
	#diagonal {
		height: 115px;
	}
	.kundenlogo {
		height: 40px;
		margin-right: 20px;
		margin-bottom: 20px !important;
	}
}


/* On screens that are 600px or less, set the background color to olive */
@media screen and (max-width: 1200px) {
	#intro-home {
		/*height: 600px;*/
		/*padding: 120px 0px;*/
		background-image: url("../img/gebaeudemodell_m.jpg");
	}
}
/* On screens that are 600px or less, set the background color to olive */
@media screen and (max-width: 1100px) {
	#intro-home {
		padding-top: 80px;
	}
}

/* On screens that are 600px or less, set the background color to olive */
@media screen and (max-width: 600px) {
	#diagonal2 {
		margin-bottom: -34px;
	}
	#agb {
		max-width: 50px;
		padding-left: 0px;
	}
	#intro-home {
		/*height: 600px;*/
		/*padding: 120px 0px;*/
		padding-top: 80px;
		background-image: url("../img/gebaeudemodell_s.jpg");
	}
}

/* On screens that are 420px or less, set the background color to olive */
@media screen and (max-width: 420px) {
	/* Navi */
	#logo {
		height: 50px;
	}
	header .uk-container {
		padding-left: 10px;
		padding-right: 10px;
	}
	#navi li a {
		padding: 0px 10px;
	}
	#navi li:last-child a {
		padding-right: 0px;
	}
}

/* On screens that are 300px or less, set the background color to olive */
@media screen and (max-width: 360px) {
	/* Navi */
	.uk-navbar-right {
		width: 100%;
		margin-left: 0px;
	}
	#logo {
		display: none;
	}
	.h1-smaller {
		font-size: 2.6rem;
	}
}

/* Timeline Styling */

.timeline {
	overflow-y: auto;

	/* border: 1px solid #3e6bae; */
	box-shadow: 0 5px 15px rgb(0 0 0 / 8%);
	border-style: none;

	height: 600px;

	position: relative;
}



.timeline::-webkit-scrollbar {
	width: 12px;               /* width of the entire scrollbar */
  }
  
.timeline::-webkit-scrollbar-track {
	background: rgb(238, 238, 238);        /* color of the tracking area */
	padding: 10px;
}

.timeline::-webkit-scrollbar-thumb {
	background-color: #999;
	padding: 1em;
}

.timeline > div {
	display: flex;
	flex-direction: column;
}

.timeline > .timeline_box > div {
	width: 43%;
}

.timeline_box > div:nth-child(odd) {
	text-align: right;
	margin-top: -50px;
	
}

.timeline_box > div:nth-child(even) {
	align-self: flex-end;
	margin-top: -50px;
}

#timeline_strich {
	background-color: #3e6bae;
	position: relative;
	width: 4px;
	height: 3380px;
	left: 50%;
	margin-left: -4px;
	margin-bottom: -3340px;
}



.uk-subnav-pill>.uk-active>a {
	background-color: #3e6bae !important;
}


#timeline_show_more_btn {
	visibility: hidden;
}

@media screen and (max-width: 960px) {
	.video_cus {
		padding: 5%;
		/* height: 14px; */
		/* transform: scale(0.9); */
	}
	.timeline {
		/* height: 100%; */
		overflow: hidden;
		box-shadow: 0 5px 15px rgb(0 0 0 / 0%);
	}
	
	.timeline:after {
		content: "";
		position: absolute;
		z-index: 1;
		bottom: 0;
		left: 0;
		pointer-events: none;
		background-image: linear-gradient(to bottom, rgba(255,255,255, 0), rgba(255,255,255, 1) 100%);
		width: 100%;
		height: 7em;
	  }

	#timeline_show_more_btn {
		visibility: visible;
	}
}
