/* inter-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('../webfonts/inter-v18-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../webfonts/inter-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('../webfonts/inter-v18-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../webfonts/inter-v18-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  src: url('../webfonts/inter-v18-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

* {
  scroll-behavior: smooth;
}

*:focus {
	outline: none;
}

body {
  font-family: 'Inter';
  font-weight: 300;
  background-color: #F3F4F6;
}

body:not(.page-template-ultimatemember) {
	position: relative;
}

body:not(.page-template-ultimatemember)::after {
	position: absolute;
	right: 0;
	top: calc(66.66vh - 165px);
	content: '';
	height: 330px;
	width: 123px;
	background-image: url('/wp-content/themes/skycabup/assets/img/decoration.svg');
}

main {
	min-height: calc(100vh - 452px);
}

/* Header */

header {
  padding: 15px 0;
  z-index: 999;
}

header:has(+ main > .hero) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; 
}

header .logo img {
  width: 315px;
  max-width: 100%;
}

header .navigation nav ul {
  margin: 0;
  padding: 0;
}

header .navigation nav ul li {
  list-style: none;
  display: inline-block;
}

header .navigation nav ul li a {
  color: #000000;
  font-size: 18px;
  padding: 5px 10px;
  display: block;
  text-decoration: none;
  position: relative;
}

header .navigation nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  max-width: 50%;
  height: 2px;
  background-color: #000000;
  opacity: 0;
  transition: all 0.3s;
}

header .navigation nav ul li.current_page_item a {
  font-weight: 500;
}

header .navigation nav ul li.current_page_item a::after {
  opacity: 1;
}

header .navigation nav ul li a:hover::after {
  opacity: 1;
}

header .login {
	display: flex;
}

header .login ul {
  margin: 0;
  padding: 0;
}

header .login ul li {
  list-style: none;
  display: inline-block;
  padding-left: 10px;
}

header .login ul li a,
.mobile_nav_trigger,
.mobile_navigation_buttons ul li a {
	display: inline-block;
	padding: 8px 15px;
	background-color: #000000;
	color: #ffffff;
	text-decoration: none;
	font-size: 18px;
	transition: all 0.3s;
}

header .login ul li a:hover,
.mobile_nav_trigger:hover,
.mobile_navigation_buttons ul li a:hover {
	background-color: #cccccc;
	color: #000000;
}

.mobile_nav_trigger {
	margin-left: 10px;
	cursor: pointer;
	display: none;
}

header .mobile_navigation {
	position: fixed;
	top: 0;
	right: -100%;
	width: 500px;
	max-width: 70vw;
	background-color: #f3f4f6;
	height: 100vh;	
	z-index: 999;
	display: none;
	transition: all 0.3s;
	box-shadow: -5px 0px 15px 0px rgba(0,0,0,0.15);
}

header .mobile_navigation .mobile_navigation_nav ul {
	margin: 0;
	padding: 0;
}

header .mobile_navigation .mobile_navigation_nav ul li {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}

header .mobile_navigation .mobile_navigation_nav ul li a {
	display: block;
	padding: 10px;
	border-bottom: 1px solid #797A7B;
	color: #000000;
	text-decoration: none;
	transition: all 0.3s;	
}

header .mobile_navigation .mobile_navigation_nav ul li.current_page_item a {
	background-color: #797A7B;
	color: #ffffff;
}

header .mobile_navigation .mobile_navigation_nav ul li a:hover {
	background-color: #797A7B;
	color: #ffffff;	
}

.mobile_navigation_buttons {
	margin: 15px 0 0 10px;
	display: none;
}

.mobile_navigation_buttons ul {
	margin: 0;
	padding: 0;
}

.mobile_navigation_buttons ul li {
	display: inline-block;
	list-style: none;
	margin-right: 10px;
}

.mobile_navigation_buttons ul li a {
	display: block;
}

/* Hero */

section.hero {
  position: relative;
}

section.hero img {
  width: 100%;
  min-height: 700px;
  max-height: 100vh;
  object-fit: cover;
  object-position: top center; 
}

section.hero .cta {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;	
}

section.hero .cta ul {
	margin: 0;
	padding: 0;
	height: 100%;
	text-align: center;
	writing-mode: sideways-lr;
	position: absolute;
	top: 0;
	left: 0;
}

section.hero .cta ul li {
	list-style: none;
	margin-bottom: 15px;
}

section.hero .cta ul li a {
	display: inline-block;
	padding: 15px 15px;
	background-color: rgba(228, 37, 38, 0.6);
	color: #ffffff;
	writing-mode: sideways-lr;
	line-height: 1;
	font-size: 20px;
	transition: all 0.3s;
	text-decoration: none;
}

section.hero .cta ul li a:hover {
	text-decoration: none;
	background-color: rgba(228, 37, 38, 0.8);
}

section.hero .hero_anchor {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 350px;
  background: linear-gradient(0deg,rgba(243, 244, 246, 1) 40%, rgba(243, 244, 246, 0) 100%);
  padding-bottom: 50px;
  display: flex;
  align-items: flex-end;
  text-align: center;
}

section.hero .hero_anchor h1 {
  position: relative;
  padding-bottom: 90px;
}

section.hero .hero_anchor .scroll-indicator {
	position: absolute;
	bottom: 0;
	left: calc(50% - 20px);
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
}

section.hero .hero_anchor .arrow {
	width: 40px;
	height: 40px;
	border-bottom: 2px solid #888;
	border-right: 2px solid #888;
	transform: rotate(45deg);
	opacity: 0.2;
	animation: fadeArrow 2s infinite;
}

section.hero .hero_anchor .arrow:nth-child(1) {
	animation-delay: 0s;
}

section.hero .hero_anchor .arrow:nth-child(2) {
	animation-delay: 0.3s;
	margin-top: -15px;
}

section.hero .hero_anchor .arrow:nth-child(3) {
	animation-delay: 0.6s;
	margin-top: -15px;
}

@keyframes fadeArrow {
	0% { opacity: 0.2; transform: rotate(45deg); }
	25% { opacity: 1; transform: rotate(45deg); }
	50% { opacity: 0.4; transform: rotate(45deg); }
	100% { opacity: 0.2; transform: rotate(45deg); }
}

/* Text */

.textwrap {
  font-size: 20px;
  padding-left: 30px;
  border-left: 2px solid #BFBFBF;
}

.textwrap strong {
  font-weight: 700;
}

.headlinewrap {
	margin-bottom: 20px;
}

/* Textteaser */

.textteaser {
	height: 300px;
	overflow: hidden;
	text-align: center;
	font-size: 20px;
	position: relative;
	transition: all 0.3s;
}

.textteaser.open {
	height: auto;
}

.textteaser .readmore {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(0deg,rgba(243, 244, 246, 1) 30%, rgba(243, 244, 246, 0) 100%);
  padding-bottom: 10px;
  display: flex;
  align-items: flex-end;
  text-align: center;	
}

.textteaser.open .readmore {
	display: none;
}

.textteaser .readmore span {
	display: block;
	margin: 0 auto;
	cursor: pointer;
	transition: all 0.3s;
}

.textteaser .readmore span i {
	display: inline-block;
	margin-left: 5px;
}

.textteaser .readmore span:hover {
	opacity: 0.8;
}

/* Image */

.imagewrap img {
  width: 100%;
}

/* Team */

.team_single {
	margin: 0 0 30px 0;
}

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

.team_text {
	padding: 30px;
	background-color: #000000;
	color: #ffffff;
	height: calc(100% - 400px);
}

.team_text strong {
	display: block;
	font-size: 22px;
	letter-spacing: 1px;
	line-height: 1.1;
	margin-bottom: 5px;
	font-weight: 500;
}

.team_text span {
	font-size: 18px;
	display: block;
	line-height: 1.1;
	margin-bottom: 15px;
	font-style: italic;
	opacity: 0.7;
}

.team_text a {
	font-size: 18px;
	display: block;
	line-height: 1.1;
	text-decoration: none;
	color: #ffffff;
	transition: all 0.3s;
	margin-bottom: 5px;
}

.team_text a:hover {
	opacity: 0.7;
}

.team_cv {
	margin-top: 30px;
}

.team_cv div {
	display: none;
}

.team_cv .toggle_cv {
	cursor: pointer;
	transition: all 0.3s;
}

.team_cv .toggle_cv:hover {
	opacity: 1;
}

/* Partner */

.partner_single {
	border-bottom: 1px solid #000000;
	padding: 50px 0;	
}

.partner_single .logo img {
	max-width: 100%;
	max-height: 325px;
}

.partner_single .description {
	font-size: 16px;
	line-height: 1.6;
}

.partner_single .description strong {
	display: block;
	font-size: 28px;
	font-weight: 500;
	line-height: 1.1;
	margin-bottom: 20px;
}

/* Downloads */

.download_single {
	margin-bottom: 30px;
}

.download_text {
	padding: 30px;
	background-color: #000000;
	color: #ffffff;
	height: calc(100% - 40px);
}

.download_text strong {
	display: block;
	line-height: 1.1;
	font-size: 23px;
	font-weight: 500;
	margin-bottom: 10px;
}

.download_text p {
	margin-bottom: 0;
}

.download_single a {
	display: inline-block;
	background-color: #797A7B;
	padding: 8px 30px;
	color: #ffffff;
	text-decoration: none;
	transition: all 0.3s;
}

.download_single a:hover {
	opacity: 0.8;
}

.downloads_error {
	text-align: center;
}

/* Teaser */

.teaser_single {
  margin-bottom: 30px;
}

.teaser_inner {
  height: 100%;
}

.teaser_image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.teaser_description {
  padding: 30px;
  background-color: #000000;
  color: #ffffff;
  height: calc(100% - 250px);
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
}

.teaser_description strong {
  font-size: 25px;
  display: block;
  margin-bottom: 15px;
  font-weight: 500;
}

.teaser_description .teaser_button {
  padding-top: 15px;
}

.teaser_description a {
  display: inline-block;
  padding: 8px 15px;
  background-color: #ffffff;
  color: #000000;
  text-decoration: none;
  transition: all 0.3s;
  margin-right: 10px;
}

.teaser_description a:hover {
  opacity: 0.8;
}

.teaser_description span {
	font-style: italic;
	opacity: 0.7;
}

/* Container */

section.outer-wrapper {
  padding: 75px 0;
}

/* Form */

form label {
	margin: 0;
}

form label span:not(.um-field-checkbox-option) {
	color: #af0000;
}

form label input + span:not(.um-field-checkbox-option) {
	color: initial;
}

form .formfield {
	margin-bottom: 15px;
}

form .formfield p {
	margin: 0;
}

form input {
	width: 100%;
	border: 1px solid #000000;
	padding: 5px;
	border-radius: 0;
}

form input[type="checkbox"] {
	width: auto;
}

form textarea {
	width: 100%;
	height: 390px;
	border: 1px solid #000000;
	padding: 5px;	
	border-radius: 0;
}

form input[type="submit"] {
	display: inline-block;
	width: auto;
	cursor: pointer;
	padding: 8px 15px;
	background-color: #000000;
	color: #ffffff;
	border: none;
	text-decoration: none;
	font-weight: 300;
	transition: all 0.3s;
}

form input[type="submit"]:hover {
	opacity: 0.8;
}

form select {
	width: 100%;
	padding: 5px;
	border: 1px solid #000000;
	background-color: #ffffff;
	background-image: url('/wp-content/themes/skycabup/assets/img/chevron-down-solid.svg');
	background-size: 15px;
	background-repeat: no-repeat;
	background-position: calc(100% - 15px) center;
	cursor: pointer;
	appearance: none;
	color: #000000;	
}

/* Ultimate Member */

.page-template-ultimatemember header,
.page-template-ultimatemember footer {
	display: none;
}

.page-template-ultimatemember main {
	padding: 50px 0;
	display: flex;
	align-items: center;
	min-height: 100vh;
	position: relative;
	justify-content: center;
	flex-wrap: wrap;
	flex-direction: column;
	overflow-x: hidden;
}

.page-template-ultimatemember main::before {
	width: 887px;
	height: 426px;
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('/wp-content/themes/skycabup/assets/img/um_image.png');
}

.um_content {
	position: relative;
	z-index: 999;
	max-width: 100%;
}

.page-template-ultimatemember .homepagelink img {
	width: 350px;
	display: block;
	max-width: 100%;
	margin: 0 auto 30px auto;
	padding: 0 15px;
}

.page-template-ultimatemember form {
	width: 750px;
	max-width: 100%;
	padding: 0 15px;
}

.page-template-ultimatemember form .um-field {
	margin-bottom: 15px;
}

.page-template-ultimatemember form .um_request_name {
	display: none;
}

.page-template-ultimatemember form .um-half {
	width: 50%;
	float: left;
}

.page-template-ultimatemember form .um-left {
	padding-right: 15px;
}

.page-template-ultimatemember form .um-right {
	padding-left: 15px;
}

.page-template-ultimatemember form .um-clear {
	clear: both;
	margin-bottom: 5px;
}

.page-template-ultimatemember form .um-row {
	margin: 0 !important;
}

.page-template-ultimatemember form a.um-button {
	display: block;
	text-align: center;
	padding: 8px 15px;
	background-color: #CCCCCC;
	color: #000000;
	border: none;
	text-decoration: none;
	transition: all 0.3s;
}

.page-template-ultimatemember form input[type="submit"] {
	display: block;
	text-align: center;
	padding: 8px 15px;
	background-color: #000000;
	color: #ffffff;
	border: none;
	text-decoration: none;
	font-weight: 300;
	transition: all 0.3s;
	width: 100%;
}

.page-template-ultimatemember form input[type="submit"]:hover,
.page-template-ultimatemember form a.um-button:hover {
	opacity: 0.8;
}

.page-template-ultimatemember form a.um-link-alt {
	color: #000000;
}

/* Footer */

footer {
  background-color: #000000;
  color: #ffffff;
}

footer .logo_footer {
  border-right: 1px solid rgba(255,255,255,0.3);
  padding: 50px 50px 50px 15px;
}

footer .logo_footer img {
  width: 100%;
  margin-bottom: 30px;
}

footer .navigation_footer {
  padding-top: 30px;
}

footer .navigation_footer ul {
  padding: 0;
  margin: 0;
}

footer .navigation_footer ul li {
  list-style: none;
  margin-bottom: 5px;
}

footer .navigation_footer ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s;
}

footer .navigation_footer ul li a:hover {
  opacity: 0.5;
  color: #ffffff;
  text-decoration: none;
}

footer .footer_bottom {
  padding: 15px 0;
  border-top: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.3);
}

footer .footer_bottom a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: all 0.3s;
}

footer .footer_bottom a:hover {
  color: rgba(255,255,255,0.8);
}

footer .backlink {
  text-align: right;
}

/* Responsive */

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

	.page-template-ultimatemember main::before {
		opacity: 0.1;
	}

	body:not(.page-template-ultimatemember)::after {
		display: none;
	}

}

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

	header .navigation {
		display: none;
	}

	.mobile_nav_trigger {
		display: block;
	}

	header .mobile_navigation {
		display: block;
	}

	header .mobile_navigation.open {
		right: 0;
	}

	section.hero .cta {
		display: none;
	}

}

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

	section.hero .hero_anchor h1,
	.textteaser h1 {
		font-size: 35px;
	}

	footer .logo_footer {
		border-right: none;
	}

	footer .backlink {
		text-align: left;
	}

	.team_portrait img {
		position: initial;
		max-height: 450px;
	}

	.team_single:nth-child(odd) .team_portrait {
		padding-left: 0;
	}

	.team_single:nth-child(even) .team_portrait {
		padding-right: 0; 
	}

	.partner_single .logo img {
		margin-bottom: 30px;
	}

	header .login .menu-buttons-container {
		display: none;
	}

	.mobile_navigation_buttons {
		display: block;
	}

}

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

	header .logo img {
		width: 225px;
	}

	.textwrap,
	.textteaser {
		font-size: 18px;
	}

	header .login ul li a {
		font-size: 16px;
	}

}