/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/*** Variablen ***/
:root {
	--color-accent: #0046cd;
	--color-blue-main: #71a4f7;
	--small-radius: 5px;
	--font-size--medium: 24px;
	--font-size--small: 18px;

	/* @link https://utopia.fyi/type/calculator?c=320,16,1.2,2000,24,1.25,5,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,xl,12 */
	--step--2: clamp(0.6944rem, 0.6439rem + 0.2529vw, 0.96rem);
	--step--1: clamp(0.8333rem, 0.7635rem + 0.3492vw, 1.2rem);
	--step-0: clamp(1rem, 0.9048rem + 0.4762vw, 1.5rem); /*--font-size--medium*/
	--step-1: clamp(1.2rem, 1.0714rem + 0.6429vw, 1.875rem);
	--step-2: clamp(1.44rem, 1.2679rem + 0.8607vw, 2.3438rem);
	--step-3: clamp(1.728rem, 1.4991rem + 1.1445vw, 2.9297rem);
	--step-4: clamp(2.0736rem, 1.771rem + 1.5129vw, 3.6621rem);
	--step-5: clamp(2.4883rem, 2.0904rem + 1.9898vw, 4.5776rem);
	--step-0-subtitle: clamp(1.375rem, 0.9226rem + 2.2619vw, 3.75rem); /* 22 - 60px */

	/* Formidabel Forms */
	--success-font-size: inherit;
}

p, a {
	hyphens: auto;
	hyphenate-limit-chars: 9 3 4;
	text-align: justify;
}
.frm_small_text p { text-align: inherit; }

/*** Abschnitte ***/
/* Header */
#header-outer .row .col.span_9 { justify-content: flex-end; }
#top #logo { max-width: 400px; }
#top #logo img {
	transition: opacity .4s ease, height .6s !important;
	max-width: 100%;
}
#top #logo img.default-logo { padding-bottom: 8%; }

.container-wrap { padding-bottom: 80px; }

.row .col.section-title {
	margin: 0;
	padding: 0 0 36px 0;
	border-bottom: 1px solid var(--color-accent);
}

/*** Elemente ***/
h1, h3 { margin-bottom: 1em; }
body h2 { margin-bottom: 0.6em; line-height: 1.1; }
.responsive-size h2 { font-size: clamp(28px, 5vw, 60px); }
a { display: inline-block; }
.nectar-highlighted-text[data-style=text_outline] em {
	color: #fff;
	/*text-shadow: 0 0 6px #000,
	0 0 6px #000,
	2px 2px 0 #000,
	-2px 2px 0 #000,
	-2px -2px 0 #000,
	2px -2px 0 #000;*/
	text-shadow: 0 0 3px #000, 0 0 3px #000,0 0 3px #000, 0 0 3px #000,0 0 3px #000, 0 0 3px #000;
	-webkit-text-fill-color: #fff!important;
	opacity: 1;
	/*3px 3px 0 #000,
	-3px 3px 0 #000,
	-3px -3px 0 #000,
	3px -3px 0 #000;*/

}
.responsive-size p, blockquote,
.grid.verfahren a { font-size: var(--step-0); }
.responsive-size .smaller-font p { font-size: clamp(18px, 3.43vw, var(--font-size--small)); }
.responsive-size p.subtitle {
	font-size: var(--step-0-subtitle);
	line-height: 1.2;
}
.nectar-highlighted-text h1 { margin-bottom: 0.3em; }
.small-radius, .small-radius .wpb_wrapper > div, .main-content img, input, textarea, .column-image-bg, .column-bg-overlay, .nectar-fancy-box.using-img {
	border-radius: var(--small-radius) !important;
}
div#footer-outer { border-radius: var(--small-radius) var(--small-radius) 0 0; }
.border-left {
	background: none;
	border-left: 4px solid var(--color-accent);
	padding: 10px;
}

.hover-content { font-size: 125%; }
.outlined {
	color: #fff;
	text-shadow: 0 0 2px #000, 0 0 2px #000,0 0 2px #000, 0 0 2px #000,0 0 2px #000, 0 0 2px #000;
	-webkit-text-fill-color: #fff !important;
	opacity: 1;
}
.larger {	font-size: 125%; }
.margin-left-overlap .vc_column-inner { margin-left: -30%; }
.margin-top-35 { margin-top: 35px; }
.hidden { display: none; }

/* Menu */
/*
#header-outer[data-transparent-header="true"][data-transparent-shadow-helper="true"].transparent:not(.dark-slide):before {
	background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.66) 16%, rgba(255,255,255,0.8) 33%, rgba(255,255,255,1) 100%);
}
body #header-outer, body[data-header-color="dark"] #header-outer {
	background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.79) 14%, rgba(255,255,255,0.9) 20%, rgba(255,255,255,1) 100%);
}
*/
.sf-menu a { text-shadow: 0 0 3px white; }
i::after,
body #header-outer[data-lhe=animated_underline] #top nav>ul>li#menu-item-6257:not([class*=button_])>a .menu-title-text:after {
	border: none !important;
}
i.fa.fa-home {
	font-size: 22px;
	top: -0.8px;
}

/* Heading Home */
.wpb_wrapper .nectar-highlighted-text.font_size_11vh h1 {
	font-size: clamp(36px, 10vw, 120px) ;
	line-height: 1;
}
.wpb_wrapper .nectar-highlighted-text.font_size_11vh h2 {
	font-size: clamp(36px, 8vw, 100px) ;
	line-height: 1;
}
.row .col.section-title h1.infah, .row .col.section-title h1.infah span,
h1.infah, h1.infah span {
	line-height: 1.4;
	font-size: 60px;
	text-transform: uppercase;
	margin-bottom: 14px;
}
.row .col.section-title h1.infah span, h1.infah span { color: #fff; }
.row .col.section-title h1.infah .name, h1.infah .name {
	background: #0046cd;
	padding: 0 10px;
	margin-right: 7px;
	font-weight: bold;
	display: inline-block;
	height: 76px;
}

/*** Elements ***/
.nectar-fancy-box .box-bg:after { background-color: rgba(51,51,51,.6); }
.nectar-fancy-box:hover .box-bg:after { background-color: rgba(51,51,51,.8); }

/* Hero row Home */
.vc_row.inner_row.min_width_desktop_80vh { min-width: 610px; }

/* Grid Verfahren */
.grid.verfahren {
	display: grid;
	align-items: start;
	justify-items: start;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}
.grid.verfahren a { line-height: 1; }

/* Kontakte */
.nectar_single_testimonial[data-style=basic_left_image] {  padding-left: 168px; }
.nectar_single_testimonial .image-icon, .testimonial_slider[data-style=multiple_visible_minimal] .image-icon {
	width: 140px;
	height: 140px;
	margin-right: 28px;
}
.nectar_single_testimonial .inner {
	display: flex;
	min-height: 140px;
	align-items: center;
}
.nectar_single_testimonial .title, .testimonial_slider[data-style*=multiple_visible] blockquote .title { font-size: 16px; }
.nectar_single_testimonial span, body .testimonial_slider blockquote span {
	font-size: 20px;
	line-height: 26px;
}
.nectar_single_testimonial[data-style=basic_left_image] .image-icon { top: 0; }

/* Gallery */
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	background: none;
	color: #000;
	font-size: 19px;
	left: 0;
	margin-bottom: 0;
	max-height: 100%;
	padding: 0 8px 8px;
	position: relative;
	margin: 1em 0 0 0;
	text-align: center;
}

/* Verfahren - Media +  Image */
.wp-block-media-text { margin: 0 0; }
.wp-block-media-text .wp-block-media-text__content { padding: 0 0 0 10%; }
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {	padding: 0 10% 0 0; }

/* Footer */
#footer-outer[data-using-bg-img="true"] {
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center bottom;
}
#footer-outer h1, #footer-outer h2, #footer-outer h3 { color: var(--color-blue-main); }
#footer-outer .widget_nav_menu h4 {
	font-size: 30.8px;
	line-height: 37.8px;
}
.menu-item-6257 a, .menu-item-6257 a:hover { background-image: none !important; }
#footer-outer .row { padding: 55px 0 0; }
#footer-outer #copyright[data-layout="centered"] { padding: 45px 0 10px; }
body #footer-outer #copyright {	font-size: 13px; }
body #footer-outer #copyright p, body #footer-outer #copyright a:not(.nectar-button) {
	color: #666 !important;
	/*text-shadow: -0.5px -0.5px 0.25px #999;*/
}

.swiss-medtech {

	display: none;

	position: relative;
	top: 50%;
	text-align: center;
	padding: 0 !important;
	line-height: 0;
}
.swiss-medtech img {
	width: 80% !important;
	background-color: white;
	border-radius: 5px;
	padding: 6px 12px;
}

#swiss-medtech {
	position: absolute;
	bottom: 160px;
	right: -45px;
	rotate: 270deg;
	padding: 0 !important;
	z-index: 10;
	line-height: 0;
}
#swiss-medtech .container {
	padding: 0;
	margin: 0;
}
#swiss-medtech img {
	height: 54px;
	width: 172px;
	background-color: white;
	margin: 0;
	border-radius: 5px;
	padding: 6px 12px;
}

/* ToTop - alt: 29/14*/
#to-top {
	height: 47px; /* 29 + 18 = 47 */
	width: 47px;
}
#to-top i {
	line-height: 44px;
	width: 47px;
	height: 47px;
	font-size: 32px; /* 32-14 = 18 */
}
body[data-button-style*="rounded"] #to-top:hover i.fa-angle-up.top-icon, body[data-button-style*="rounded"] #to-top:hover i.fa-angle-up,
body[data-button-style*="rounded"] #to-top.hovered i.fa-angle-up.top-icon, body[data-button-style*="rounded"] #to-top.hovered i.fa-angle-up {
	-webkit-transform: translate(0,-47px);
	transform: translate(0,-47px);
}

/* Button */
input[type="submit"], button, btn,
.menu-item { transition: transform 0.3s; }
input[type="submit"]:hover, button:hover, btn:hover,
.menu-item.current-menu-item a, .menu-item a:hover,
div:not([id=swiss-medtech]) a:not([id=logo]):hover {
	transform: skew(-6deg, 0);
}
figure a:hover {
	transform: skew(0, 0) !important;
}
#ajax-content-wrap #footer-outer[data-link-hover=underline] #footer-widgets ul:not([class*=nectar_blog_posts]) li>a:not(.tag-cloud-link):not(.nectar-button) {
	display: inline-block; /* sonst kein skew */
}

/* Testimonials */

/* Forms */
.frm_error { color: red !important; }
.with_frm_style .frm_message, .frm_success_style { font-size: inherit !important; }

/*** Media Queries ***/
@media only screen and (max-width: 999px) {
	body .container { max-width: 90%;	}
	.margin-left-overlap .vc_column-inner { margin-left: 0; }
}

@media only screen and (max-width: 600px) {
	.wp-block-media-text__content { margin: 2em 0 4em; }
	.wp-block-media-text .wp-block-media-text__content,
	.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content { padding: 0 5%; }
}

@media only screen and (min-width: 1000px) {
	/* Header */
	#header-outer.scrolling #logo img {
		height: 100px;
	}
	#header-outer.scrolling #logo {
		margin: 24px 0;
	}
	#header-outer #logo {
		transition: margin .6s !important;
	}

	.nectar-highlighted-text.font_size_11vh h1, .nectar-highlighted-text.font_size_11vh h2,
	.nectar-highlighted-text.font_size_11vh h3, .nectar-highlighted-text.font_size_11vh h4,
	.nectar-highlighted-text.font_size_11vh h5, .nectar-highlighted-text.font_size_11vh h6 {
		font-size: 11vh;
		line-height: 1.0em;
	}

	body #footer-outer .row { padding: 75px 0 35px; }

	.no-padding-right { padding-right: 0 !important; }
	.no-padding-left { padding-left: 0 !important; }

	/* Copyright Experiment */
	#copyright {
		position: absolute;
		bottom: 12em;
		left: -140px;
		rotate: 270deg;
		width: 330px;
		background: red;
		height: 50px;
		padding: 0 !important;
		z-index: 9;
	}
	#copyright .container {
		margin: 0;
		padding: 0;
	}
	#copyright .container .col.span_5 {
		margin: 0 !important;
		height: 100%;
		display: block;
		max-width: 100% !important;
	}
	body #footer-outer #copyright p, body #footer-outer #copyright a:not(.nectar-button) {
		color: #666!important;
		/*text-shadow: 0.5px 0.5px 0.25px #000;*/
	}
}

@media only screen and (max-width: 999px) {
	.responsive-size h2 { font-size: clamp(28px, 6vw, 54px); }

	.wp-block-media-text { min-height: 330px;	}
	.wp-block-media-text p { line-height: 1.3; }
	.wp-block-media-text p:last-child { padding-bottom: 0; }

	/* Hover box - text always visible */
	.nectar-fancy-box[data-style=hover_desc] .hover-content {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Shift hero text on small screen heights */
@media only screen and (max-height: 860px) {
	body.home { /*margin-top: 64px;*/ }
}
@media only screen and (max-height: 700px) {
	body.home { margin-top: 128px; }
	._responsive-top { top: calc(393px - 41vh); }
}

/* Hero image */
body .vc_row.inner_row.min_width_phone_50vw { min-width: 100vw; }


/* Video on Home */
/*.margin-left-overlap .vc_column-inner {
	margin-left: -30%;
	transform: translateX(20%);
}*/
body:-webkit-full-page-media { background-color: transparent !important; }
.video-full video {
	width: 100%;
	height: auto;
}

.grecaptcha-badge {
	z-index: 111;
	opacity: 0.5;
	bottom: 86px !important;
}
.grecaptcha-badge:hover { opacity: 1; }
body:not(.page-id-6063) .grecaptcha-badge { display: none !important; }
.large-padding.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) {
	padding: 24px;
}


/* Small screen */
@media only screen and (max-width: 690px) {
	#ajax-content-wrap #footer-widgets .container .col:nth-child(3) {	margin-bottom: 16px; }
}
@media only screen and (min-width: 441px) and (max-width: 690px) {
	.container, .orbit-wrapper .slider-nav, .post-area.standard-minimal.full-width-content .post .inner-wrap {
		max-width: 408px;
	}
	.divider-wrap {
		max-height: 420px;
		margin-top: 100px;
	}
	#slide-out-widget-area.fullscreen .inner .widget, #slide-out-widget-area.fullscreen-alt .inner .widget {
		padding: 0 10px !important;
	}
	/*#philosophy {	padding: 90px 0 0 !important; }*/
}

/* Very small screen */
@media only screen and (max-width: 440px) {
	body.home {	margin-top: 0; }
	.vc_column-inner, .wpb_column { /* Kontakte HP */
		/* RL230427 conflict w/ responsive options
		display: block !important;
		width: 100% !important;*/
	}
	.divider-wrap {
		max-height: 320px;
		margin-top: 2em;
	}
	#slide-out-widget-area.fullscreen .inner .widget, #slide-out-widget-area.fullscreen-alt .inner .widget {
		padding: 0 10px !important;
	}
	.nectar_single_testimonial[data-style=basic_left_image] {	padding-left: 86px;	}
	.nectar_single_testimonial .image-icon, .testimonial_slider[data-style=multiple_visible_minimal] .image-icon {
		width: 68px;
		height: 68px;
		margin-right: 18px;
	}
	.wpb_wrapper .nectar-highlighted-text.font_size_11vh h1 {	font-size: 75px; }
	.wpb_wrapper .nectar-highlighted-text.font_size_11vh h2 {	font-size: 48px; }
	/*#philosophy {	padding: 46px 0 9px !important; }*/
	#testimonials { margin-top: 3em !important; }
	.nectar_single_testimonial .inner { min-height: 88px; }
	.nectar_single_testimonial .inner .wrap { top: 0; }
}

@media screen and (max-width:480px) {
	.large-padding.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) {
		width: 100%;
		padding: 0 0 36px 0;
	}
}

@media only screen and (min-width: 480px) and (max-width: 999px) {
	.container { max-width: 90%; }
	#footer-outer .one-fourths.span_3 { width: 48% !important; }
	#footer-outer .one-fourths.span_3:first-child {
		width: 96% !important;
	}
	#footer-outer .one-fourths.span_3:nth-child(2) {
		display: none;
	}
}

@media only screen and (min-width: 440px) and (max-width: 999px) {
	.nectar_single_testimonial[data-style=basic_left_image] .image-icon {
		top: -10px;
	}
	.nectar_single_testimonial .image-icon, .testimonial_slider[data-style=multiple_visible_minimal] .image-icon {
		width: 120px;
		height: 120px;
	}
	blockquote.nectar_single_testimonial {
		margin-bottom: 40px !important;
		display: block;
	}
	.nectar_single_testimonial .inner {
		min-height: 120px;
	}
	.nectar_single_testimonial .inner .wrap {
		position: relative;
		top: -10px;
	}
}

@media only screen and (min-width: 999px) and (max-width: 1240px) {
	.nectar_single_testimonial[data-style=basic_left_image] {
		padding-left: 0;
		padding-top: 150px;
	}
}

body.using-mobile-browser .clients.fade-in-animation > div, body.using-mobile-browser .img-with-animation, body.using-mobile-browser .img-with-aniamtion-wrap .hover-wrap, body.using-mobile-browser .col.has-animation, body.using-mobile-browser .wpb_column.has-animation, body.using-mobile-browser .nectar_image_with_hotspots[data-animation="true"] .nectar_hotspot_wrap, body.using-mobile-browser .img-with-animation[data-animation="flip-in"], body.using-mobile-browser .col.has-animation[data-animation="flip-in"], body.using-mobile-browser .wpb_column.has-animation[data-animation="flip-in"], body.using-mobile-browser .img-with-animation[data-animation="flip-in-vertical"], body.using-mobile-browser .col.has-animation[data-animation="flip-in-vertical"], body.using-mobile-browser .wpb_column.has-animation[data-animation="flip-in-vertical"], body.using-mobile-browser .nectar-fancy-box.has-animation, body.using-mobile-browser .nectar-split-heading[data-animation-type="twist-in"], body.using-mobile-browser .nectar-split-heading span > .inner, body.using-mobile-browser .img-with-aniamtion-wrap[data-animation*="reveal-from-"] .inner, body.using-mobile-browser .nectar-post-grid:not([data-animation="none"]) .nectar-post-grid-item, body.using-mobile-browser .nectar-post-grid:not([data-animation="none"]) .nectar-post-grid-item .post-heading span, body.using-mobile-browser .nectar-post-grid:not([data-animation="none"]) .nectar-post-grid-item .meta-date, body.using-mobile-browser .nectar-woo-flickity[data-animation*="fade-in"] ul.products .flickity-cell {
	opacity: 1!important;
}

.container-wrap .main-content .column-image-bg-wrap[data-bg-pos="left top"] .column-image-bg {
	background-repeat: no-repeat;
	background-size: auto;
}
.mobile .container-wrap .main-content .column-image-bg-wrap[data-bg-pos="left top"] .column-image-bg {
	background-size: cover;
}

/* Zertifikate */
.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before {
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	height: auto;
}

@media screen and (min-width: 1000px) and (max-width:2224px) {
	.container-wrap .main-content .column-image-bg-wrap[data-bg-pos="left top"] .column-image-bg {
		background-position: -176px top !important;
	}
}

@media screen and (min-width: 1800px) {
	#swiss-medtech {
		bottom: 19px;
		right: 100px;
		rotate: 0deg;
	}
}
