/* 
Theme Name: Valpix Child Theme
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child Theme.
Author: Valpix GmbH
Author URI: https://www.valpix.ch/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Custom Styles Valpix */

@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

:root{
    --grey: #706f6e;
    --font: 'Open Sans', sans-serif;
    --font-weight-normal: 400;
    --font-weight-bold: 700;
}
body{
    color:var(--grey) !important;
    font-family: var(--font);
    font-weight: var(--font-weight-normal);
    font-size: 19px;
    line-height: 1.5;
}
h1, h2, h3, h4, h5, h6, .introquicklink span{
    font-weight: var(--font-weight-bold) !important;
}
h1, h2, h3, h4, h5, h6{
    color: #000 !important;
}
h1{
    font-size: 55px;
	line-height: 1.4;
}
.subpagetitle h1 {
    font-size: 38px;
}
*+h2, *+h3, *+h4, *+h5, *+h6 {
    margin-top: 40px;
}

p:last-of-type, p:only-child {
    margin-bottom: 0px;
}


header {
    font-size: 17px;
    position: fixed !important;
    left: 0;
    right: 0;
    top: 0;
    z-index: 30 !important;
    background: #FFF;
    box-shadow: 0px -22px 37px 2px #4f4f4f;
}
.headroom {
    will-change: transform;
    -webkit-transition: -webkit-transform 200ms linear;
    transition: -webkit-transform 200ms linear;
    -o-transition: transform 200ms linear;
    transition: transform 200ms linear;
    transition: transform 200ms linear, -webkit-transform 200ms linear;
}
.headroom--pinned {
    -webkit-transform: translateY(0%);
        -ms-transform: translateY(0%);
            transform: translateY(0%);
}
.headroom--unpinned {
    -webkit-transform: translateY(-100%);
        -ms-transform: translateY(-100%);
            transform: translateY(-100%);
    box-shadow: unset !important;
}
.menu-close {
    position: relative;
    right: calc((100vw - 1350px) / 2 );
}
.wpml-ls * {
    color: black;
}
.wpml-ls-statics-shortcode_actions {
    padding: 0;
}
.wpml-ls-current-language {
    font-weight: bold;
}
.wpml-ls-item {
    position: relative;
}
.wpml-ls-item:first-of-type:after {
    content: "/";
    position: absolute;
    top: 3px;
    bottom: 0;
    margin: auto;
    right: -3px;
}


.nav-open::after {
    visibility: visible;
    opacity: 0.8;
}
.nav-open .nav-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    -webkit-transform: perspective(1px) translate3d(0, 0, 0);
    -moz-transform: perspective(1px) translate3d(0, 0, 0);
    -o-transform: perspective(1px) translate3d(0, 0, 0);
    transform: perspective(1px) translate3d(0, 0, 0);
    z-index: 50000;
}
.sub-menu {
    position: relative !important;
    top: 0px;
    left: 100%;
    min-width: 100% !important;
    color: #fff;
    text-align: left;
    list-style: none;
    background-color: transparent !important;
    background-clip: padding-box;
    border: 0px solid;
    border-radius: .25rem;
    display: block !important;
    margin-top: -65px !important;
    float: none !important;
}
/*
.elementor-nav-menu li {
    margin-bottom: 10px;
}
.elementor-nav-menu li a {
    color: #FFF !important;
    font-size: 50px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    padding-right: 50px;
    line-height: 50px;
}
.elementor-sub-item.elementor-item-active {
    background-color: transparent !important;
    color: #000 !important;
}

.sub-menu {
    position: relative !important;
    top: 0px;
    left: 100%;
    min-width: 100% !important;
    color: #fff;
    text-align: left;
    list-style: none;
    background-color: transparent !important;
    background-clip: padding-box;
    border: 0px solid;
    border-radius: .25rem;
    display: block !important;
    margin-top: -47px !important;
    float: none !important;
}
.sub-menu li {
    padding-bottom: 7px !important;
}
.sub-menu li a {
    font-size: 30px !important;
    padding: 0 !important;
    margin-right: 0 !important;
    border-left: 0 !important;
    line-height: 35px;
}
.sub-menu li a:hover{
    background-color: transparent;
    color: #000 !important;
	line-height: unset !important;
}
*/



.introimage h2 {
    color: #FFF !important;
    font-size: 38px;
    margin-bottom: 0px !important;
    text-shadow: 0 7px 10px #000;
  }

.boxshadow{
    box-shadow: 0px 6px 14px 0px rgba(112, 111, 110, 0.2);
}
.quicklink {
    position: absolute;
    bottom: -65px;
}
.introquicklink span{
    font-size: 28px;
    color: #FFF;
    text-shadow: 0px 0px 10px black;
}
.productquicklink span{
    font-size: 25px;
    font-weight: var(--font-weight-bold) !important;
    margin: 25px 0px 0px 0px;
    color: #000;
}


.elementor-swiper-button-prev i, .elementor-swiper-button-next i {
    display: none;
}
.elementor-swiper-button-prev:before, .elementor-swiper-button-next:before {
    content: '';
    background-image: url('https://zanellaholz.ch/wp-content/themes/valpix-child/assets/img/slider-arrow.svg');
    height: 80px;
    width: 60px;
}
.elementor-swiper-button-prev:before {
    rotate: 180deg;
}
.swiper-pagination {
    bottom: 20px !important;
}
.swiper-pagination-bullet {
    width: 30px !important;
    height: 7px !important;
    display: inline-block;
    border-radius: 100%;
    background: #fff !important;
    opacity: .4 !important;
    border-radius: 0px !important;
}
.swiper-pagination-bullet-active {
    background: #009C3F !important;
    opacity: 1 !important;
}
.elementor-sticky--active {
    z-index: 1;
}
.searchandfilter ul {
    padding-left: 0;
    display: flex;
    flex-direction: column;
    row-gap: 5px;
}
.searchandfilter h4 {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
}
.searchandfilter label {
    font-size: 17px;
}
.searchandfilter ul li li {
    padding: 0;
}
input.sf-input-checkbox {
    height: 20px;
    width: 20px;
}
label.sf-label-checkbox {
    top: -7px;
    position: relative;
}
.producttitle {
    margin-bottom: 0px !important;
    font-weight: var(--font-weight-bold) !important;
    font-size: 16px !important;
}
.producttitle a {
    text-decoration: underline;
    line-height: 1.3 !important;
}
.productdescription {
    margin-bottom: 0px !important;
    font-size: 16px !important;
}
.teammember .elementor-image-box-content *{
    margin-bottom: 5px !important;
    font-size: 16px !important;
}

.teammember .elementor-image-box-img img {
    object-fit: cover;
    height: 315px;
}
.teammember .elementor-image-box-img {
    width: 100% !important;
}
.dialog-type-lightbox {
    z-index: 99999 !important;
}
header.elementor-slideshow__header {
    background-color: transparent !important;
}



.footer-col:before {
    position: absolute;
    content: '';
    height: 28px;
    width: 17px;
    background-image: url('https://zanellaholz.ch/wp-content/themes/valpix-child/assets/img/icon-zanella.svg');
    left: -25px;
    top: -5px;
}
.autor {
    text-transform: uppercase;
    font-size: 13px;
}
footer a{
    color: #706f6e;
    text-decoration: underline !important;
}





@media screen and (max-width: 1350px) {
  .e-con-full.e-parent,
  .e-con-boxed.e-parent {
    padding-left: 30px;
    padding-right: 30px;
  }
  .e-con-inner {
    padding-left: 0;
    padding-right: 0;
  }
  .e-con-full.section-fullwidth, 
  .dialog-widget .e-con-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
@media screen and (max-width: 1024px) {
	h1 {
		font-size: 40px;
	}
}
@media screen and (max-width: 768px) {
  .e-con-full.e-parent,
  .e-con-boxed.e-parent {
    padding-left: 20px;
    padding-right: 20px;
  }
  .e-con-inner {
    padding-left: 0;
    padding-right: 0;
  }
  .e-con-full.section-fullwidth, 
  .dialog-widget .e-con-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
	h1 {
		font-size: 35px;
	}
	nav a.elementor-item {
		position: relative !important;
		left: 0 !important;
		justify-content: start !important;
	}
    .sub-menu {
        left: 22px;
        margin-top: 0 !important;
        margin-bottom: 20px !important;
    }
	.elementor-nav-menu li a{
		font-size: 35px !important;
	}
	.sub-menu li a {
		font-size: 25px !important;
	}
}
