/*
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
*/
/* open-sans-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: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  src: url('./assets/fonts/open-sans/open-sans-v34-latin-500.eot'); /* IE9 Compat Modes */
  src: url('./assets/fonts/open-sans/open-sans-v34-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./assets/fonts/open-sans/open-sans-v34-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('./assets/fonts/open-sans/open-sans-v34-latin-500.woff') format('woff'), /* Modern Browsers */
       url('./assets/fonts/open-sans/open-sans-v34-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./assets/fonts/open-sans/open-sans-v34-latin-500.svg#OpenSans') format('svg'); /* Legacy iOS */
}

* {
    --twire-primary: #008ed6;
    --twire-primary-filter: brightness(0) saturate(100%) invert(60%) sepia(62%) saturate(6542%) hue-rotate(174deg) brightness(92%) contrast(101%);
    --twire-light: #fefefe;
    --twire-light-filter: brightness(0) saturate(100%) invert(99%) sepia(91%) saturate(3%) hue-rotate(169deg) brightness(107%) contrast(99%);
    --twire-dark: #121212;
    --twire-dark-filter: brightness(0) saturate(100%) invert(0%) sepia(13%) saturate(6393%) hue-rotate(31deg) brightness(96%) contrast(86%);
    --twire-lightyellow: #f5f2eb;
    --twire-lightyellow-filter: brightness(0) saturate(100%) invert(89%) sepia(7%) saturate(433%) hue-rotate(327deg) brightness(111%) contrast(92%);
    --twire-lightblue: #e5f0f4;
	--twire-lightblue2: #f0f5f9;
    --twire-lightblue-filter: brightness(0) saturate(100%) invert(93%) sepia(13%) saturate(116%) hue-rotate(150deg) brightness(98%) contrast(99%);
	
	--twire-row-bg: var(--twire-light);
    --twire-row-color: var(--twire-dark);
    --twire-row-hover-color: #000;
    /*
    #e5f0f4
    #eaecff
    */
}
html,body{
    scroll-behavior: smooth;
	height: auto;
    overflow-y: auto;
}
body * {
    line-height: 1.7;
}
body,
body p,
#top nav > ul > li > a {
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 500;
    color: #676767;
}
body #nectar_fullscreen_rows {
    position: relative !important;
}
body h1 {
    color: #121212;
}
body h2 {
    font-size: 2.5rem;
    line-height: 1.7;
    color: #121212;
}
body h3 {
    color: #121212;
}
.primary {
    color: var(--twire-primary);
}
body.mobile .phone-number a {
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    opacity: 1 !important;
	font-size: 6vw;
	color: #121212;
    font-weight: 500;
    letter-spacing: -0.025em;
    background-color: var(--twire-primary);
    background-image: linear-gradient(180deg, #94cfff 30%, transparent 70%);
    background-repeat: no-repeat;
    background-position: center 45%;
    background-size: 100% 200%;
    padding: 1.1em 1.5em;
    border-radius: 1em 1em 0 0;
    border: none;
    box-shadow: 0px 0px 15px 0px var(--twire-dark);
    transition: all 0.5s ease;
    outline: none;
}
body.mobile .phone-number a span:before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%23121212' d='M20 15.5c-1.25 0-2.45-.2-3.57-.57a1.02 1.02 0 0 0-1.02.24l-2.2 2.2a15.045 15.045 0 0 1-6.59-6.59l2.2-2.21a.96.96 0 0 0 .25-1A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1c0 9.39 7.61 17 17 17c.55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1zM19 12h2a9 9 0 0 0-9-9v2c3.87 0 7 3.13 7 7zm-4 0h2c0-2.76-2.24-5-5-5v2c1.66 0 3 1.34 3 3z'%3E%3C/path%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
    border-radius: 50%;
    background-color: #fff;
    padding: 8px;
    aspect-ratio: 1/1;
    width: 15px;
    object-fit: cover;
    margin-right: 10px;
    display: inline-flex !important;
}
#top #logo,
#fp-nav ul li .fp-tooltip .tooltip-inner,
.sf-menu ul li,
textarea,
input,
input[type=submit] {
    font-family: 'Open Sans',Helvetica,sans-serif;
    font-weight: 500;
    font-size: 1rem;
}
#header-outer[data-transparent-header="true"][data-transparent-shadow-helper="true"].transparent:before {
    background: linear-gradient(to top,rgba(255,255,255,0) 0,rgba(0,0,0,0) 1%,rgba(0,0,0,0.04) 16%,rgba(0,0,0,0.23) 75%,rgba(0,0,0,0.33) 100%);
    position: absolute;
    pointer-events: none;
    height: 120%;
    top: 0;
    left: 0;
    width: 100%;
    content: "";
    display: block;
}
.big-bg-font,
.home #nectar_fullscreen_rows > .wpb_row> div:before,
.home #nectar_fullscreen_rows > .wpb_row> div:after {
    position: fixed;
    display: flex;
    width: 100%;
    z-index: 11;
    font-family: 'Playfair Display';
    font-weight: 500;
    font-size: 700%;
    opacity: 0.05;
    animation: opacity 3s 1 both;
}
.home #nectar_fullscreen_rows > .wpb_row:nth-child(1) {
    height: 100vh;
}
.home #nectar_fullscreen_rows > .wpb_row:nth-child(1) > div:before {
    content: 'Bauunternehmen';
    top: 2%;
    left: 5%;
    justify-content: flex-start;
}
.home #nectar_fullscreen_rows > .wpb_row:nth-child(1) > div:after {
    content: 'Koblenz';
    bottom: 0;
    right: 5%;
    line-height: 100%;
    justify-content: flex-end;
}
.home #nectar_fullscreen_rows > .wpb_row:nth-child(2) > div:before {
    content: 'Erfahrung';
    top: 2%;
    left: 2%;
}
.home #nectar_fullscreen_rows > .wpb_row:nth-child(2) > div:after {
    content: 'Kompetenz';
    bottom: 0%;
    line-height: 100%;
    left: 10%;
}
.home #nectar_fullscreen_rows > .wpb_row:nth-child(3) > div:before {
    content: 'Vertrauen';
    top: 2%;
    right: 5%;
    justify-content: flex-end;
}
.home #nectar_fullscreen_rows > .wpb_row:nth-child(3) > div:after {
    content: 'Anspruch';
    bottom: 0%;
    line-height: 100%;
    left: 10%;
    justify-content: center;
}/*
.home #nectar_fullscreen_rows > .wpb_row:nth-child(4) > div:before {
    content: '1,2,3 fertig';
    top: 2%;
    right: 10%;
    justify-content: flex-end;
}
.home #nectar_fullscreen_rows > .wpb_row:nth-child(4) > div:after {
    content: 'Unkompliziert';
    bottom: 2%;
    line-height: 100%;
    right: 5%;
    justify-content: center;
}*/
@keyframes opacity {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0.05;
    }
}
.home #nectar_fullscreen_rows > .wpb_row:nth-child(1) img {
    border: 8px solid #fefefe;
    /*filter: sepia(0.15);*/
	margin-top: 65px;
	box-shadow: rgb(0 0 0 / 4%) 0 1px 0, rgb(0 0 0 / 5%) 0 2px 7px, rgb(0 0 0 / 6%) 0 12px 22px;
}
body #footer-outer .row {
    padding: 40px 0 20px 0;
    border-bottom: 1px solid #676767;
}
body #copyright .col {

}
body #copyright p {
    font-size: 0.9rem;
}
body #copyright .col:first-child {
    width: 100%;
    text-align: center;
}
body #copyright .col:last-child {
    display: none;
}
.ascend #footer-outer #footer-widgets .widget.widget_nav_menu li:first-child {
    padding: 0 !important;
}
#to-top {
    bottom: 5%;
    right: 1%;
    z-index:9999;
}
body:not(.wp-admin) #fp-nav.right {
    right: auto;
    left: 1%;
    top: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 140px - 1%);
    width: 40px;
    margin: 0 !important;
    z-index: 9999;
}
body #fp-nav ul li a.active span {
    box-shadow: none;
    border: 2px solid;
}
body #fp-nav.tooltip ul li .fp-tooltip .tooltip-inner:after {
    right: auto;
    left: -6px;
    -webkit-transform: translateY(-50%) rotate(180deg);
    transform: translateY(-50%) rotate(180deg);
}
body #fp-nav ul li .fp-tooltip .tooltip-inner {
    right: auto;
    left: 40px;
	max-width: 250px;
}
.slide-out-widget-area-toggle {
    margin-right: 8px;
    z-index: 11;
}
#social-in-menu {
    position: fixed !important;
    flex-direction: column;
    margin: 0 !important;
    width: 40px;
    right: 1%;
    top: 70px;
    height: calc(100vh - 140px - 1%);
    justify-content: center;
    z-index: 11;
}
#social-in-menu a {
    margin-bottom: 0 !important;
}
#social-in-menu a:first-child {
    border-radius: 4px 4px 0 0;
}
#social-in-menu a:last-child {
    border-radius: 0 0 4px 4px;
}
#social-in-menu i {
    font-size: 20px !important;
    line-height: 40px !important;
    aspect-ratio: 1 / 1;
    width: 40px !important;
    height: 40px !important;
    top: 0;
}
.home .nectar-next-section-wrap a,
.home .back-to-top a {
	position: relative;
}
body .nectar-next-section-wrap a:before,
body .back-to-top a:after {
    content: 'weiter';
    transform: rotate(-90deg);
    color: var(--twire-row-color);
    position: absolute;
    top: -8px;
    left: calc(100% - 30px);
    font-size: 12px;
    height: 100%;
    width: 100%;
}
body .back-to-top a:after {
    content: 'Start';
    top: auto;
    bottom: 0px;
    left: -10px;
    transform: rotate(90deg);
	opacity: 1;
	transition: .3s opacity ease;
}

body .mobile-header .nextSlideBtn {
    display: none;
} 

.home .nectar-next-section-wrap,
.home .back-to-top {
    height: 100vh;
    position: fixed;
    left: 1%;
    top: 0;
    display: flex;
    align-items: flex-end;
    opacity: 0.75;
}
.home .nectar-next-section-wrap:hover,
.home .back-to-top:hover {
    opacity: 1;
}
body.last-row .nextSlideBtn {
    display: none !important;
}
body .fp-section-1 .back-to-top {
    display: none;
}
.home .back-to-top {
    left: auto;
    right: 1%;
}
.home .minimal-arrow a {
    width: 40px;
}
body.mobile .transparent #logo {
	opacity: 0;
}
body.mobile #logo {
	opacity: 1;
	transition: .3s opacity ease;
}
body .transparent .mobile-header .back-to-top svg, 
body .transparent .mobile-header .back-to-top a:after {
    background: transparent;
	opacity: 0;
}
body .nectar-next-section-wrap svg,
body .back-to-top svg {
    background: var(--twire-row-bg);
    border-radius: 4px;
	padding: 4px;
	transition: .3s all ease;
}
.home .nectar-next-section-wrap svg path,
.home .nectar-next-section-wrap svg polyline,
.home .back-to-top svg path,
.home .back-to-top svg polyline{
    stroke: var(--twire-row-color);
    stroke-width: 2;
    fill: none;
}
.home .back-to-top svg {
    transform: rotate(180deg);
}
/*home section 1*/
.home .fp-section-1 *,
.home #nectar_fullscreen_rows > .wpb_row:nth-child(1) *{
    --twire-row-bg: var(--twire-lightyellow);
    --twire-row-bg: transparent;
    --twire-row-color: var(--twire-dark);
    --twire-row-hover-color: #000;
}
/*home section 2*/
.home .fp-section-2 *,
.home #nectar_fullscreen_rows > .wpb_row:nth-child(2) *{
    --twire-row-bg: var(--twire-light);
    --twire-row-color: var(--twire-dark);
    --twire-row-hover-color: #000;
}
/*home section 3*/
.home .fp-section-3 *,
.home #nectar_fullscreen_rows > .wpb_row:nth-child(3) *{
    --twire-row-bg: var(--twire-lightblue);
    --twire-row-bg: transparent;
    --twire-row-color: var(--twire-dark);
    --twire-row-hover-color: #000;
}
/*home section 4*/
.home .fp-section-4 *,
.home #nectar_fullscreen_rows > .wpb_row:nth-child(4) *{
    --twire-row-bg: var(--twire-lightblue);
    --twire-row-bg: transparent;
    --twire-row-color: var(--twire-dark);
    --twire-row-hover-color: #000;
}
/*home section 5*/
.home .fp-section-5 *,
.home #nectar_fullscreen_rows > .wpb_row:nth-child(5) *{
    --twire-row-bg: transparent;
    --twire-row-color: var(--twire-dark);
    --twire-row-hover-color: #000;
}
.home #social-in-menu a {
    background: var(--twire-row-bg);
}
.home #social-in-menu i:before {
    color: var(--twire-row-color);
}
.home #social-in-menu a:hover i:after {
    color: var(--twire-row-hover-color) !important;
}
nav .sf-menu li.phone-number {
    position: fixed;
    right: 100px;
    top: 22px;
}
body #call-to-action {
    padding: 0 5%;
}
body #call-to-action span {
    line-height: 1.2;
}
#call-to-action .container a {
    margin: 2rem 0 0;
}
#footerForm {
    display: none;
}
#footerForm.show {
    display: block;
}

body .container-wrap input,
body .container-wrap textarea {
    border: none;
    border-bottom: 1px solid #676767;
    border-radius: 0;
    background: transparent;
}
body[data-form-submit="regular"] input[type=submit] {
    background-color: #121212;
}
#image-comparison {
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 50%);
    border-radius: 8px;
}
#image-comparison .images,
#image-comparison .image-lft,
#image-comparison .image-rgt {
    border-radius: 8px;
}
#image-comparison .images {
    border: 1px solid #fefefe;
}
#image-comparison .image-lft {
    /*filter: brightness(0.8) contrast(0.8) saturate(0.8) grayscale(0.4);*/
}
#image-comparison .image-rgt {
    /*filter: saturate(1.1) brightness(1.1) contrast(1.1);*/
}
#image-comparison .button-lft {
    border-top-left-radius: 8px !important;
    padding: 5px;
}
#image-comparison .button-rgt {
    border-top-right-radius: 8px !important;
    padding: 5px;
}
.wpcf7-form br {
    content: "";
    display: block;
    margin: 1em;
}

.wpcf7-form p {
    padding-bottom: 1rem;
    font-size: 0.9rem;
}

.wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
    margin-left: 0;
}

.grecaptcha-badge {
    bottom: 80px !important;
    transform: scale(0.9);
}

/* POPUP */
.popup button {
  background: #008ed6;
  border: 0;
  border-radius: 4px;
  border: 1px solid #008ed6;
  margin-top: 10px;
  padding: 15px 30px;
  font-size: 18px;
  color: #FFFFFF;
  cursor: pointer;
}
.popup button:focus {
  outline: none;
}
.popup button:hover {
  background: #fff;
  border: 1px solid #008ed6;
  color: #222;
}
.popup {
  background: rgba(100, 100, 100, 0.6);
  position: fixed;
  display: none;
  z-index: 9999;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
}
.popup .wrapper {
  max-width: 1200px;
  width: 80%;
  position: fixed;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  background: #FFFFFF;
  padding: 50px;
  border-radius: 10px;
  box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.4);
}
.popup .container.main-content {
    padding: 0;
}
#popupContent {
    height: 70vh;
    overflow-y: auto;
}

@media only screen and (min-width: 1000px) {
	.home #nectar_fullscreen_rows > .wpb_row:nth-child(1) .container,
	.home #nectar_fullscreen_rows > .wpb_row:nth-child(2) .container {
		padding: 0;
		max-width: 100%;
	}
}

@media only screen and (max-width: 999px) {
	.home #nectar_fullscreen_rows > .wpb_row:nth-child(1) .container {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
	.home #nectar_fullscreen_rows > .wpb_row:nth-child(1) .full-page-inner-wrap {
		background: var(--twire-lightblue2)
	}
	.home #nectar_fullscreen_rows > .wpb_row:nth-child(2) .full-page-inner-wrap {
		/*background: var(--twire-lightyellow)*/
		background: linear-gradient(0deg, rgba(245,242,235,1) 0%, rgba(254,254,254,1) 100%);
	}
	.home #nectar_fullscreen_rows > .wpb_row:nth-child(3) .bg_img_front {
		object-fit: contain;
		aspect-ratio: 3 / 4;
	}
	.home #nectar_fullscreen_rows > .wpb_row> div:before,
	.home #nectar_fullscreen_rows > .wpb_row> div:after {
		display: none;
	}
}

