/* 
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 */

@font-face {
    font-family: 'Figtree';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://wwww.kunden.valpix.cloud/zbs/wp-content/themes/valpix-child/assets/fonts/Figtree-Regular.ttf) format('ttf');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Figtree';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://wwww.kunden.valpix.cloud/zbs/wp-content/themes/valpix-child/assets/fonts/Figtree-Bold.ttf) format('ttf');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html, body{
    font-family: 'Figtree', sans-serif;
    color: #000;
    font-size: 18px;
    overflow-x: hidden;
}
:focus, :focus-visible, [type=button]:focus, [type=submit]:focus, button:focus{
    outline: none;
}
h1, h2, h3, h4, h5, h6, .factnumber, .testimonialcontent, .elementor-button {
    font-weight: 700;
}
*+h2, *+h3, *+h4, *+h5, *+h6 {
    margin-top: 30px;
}
h1 {
    font-size: 48px;
}
h2{
    font-size: 36px;
}
h3{
    font-size: 32px;
}
h4{
    font-size: 28px;
    margin-bottom: 30px !important;
}
h5{
    font-size: 24px;
}
h6{
    font-size: 22px;
}
.page-content section, .elementor-location-single section {
    margin: 80px 0;
}
.firstsectionsubpage, .singlepost {
    margin-top: 20px !important;
}
.firstsectionsubpage h1, .singlepost h1 {
    color: #717E86;
    font-size: 30px;
    margin-bottom: 15px;
}
.firstsectionsubpage h2, .singlepost h2 {
    font-size: 28px;
}
.firstsectionsubpage h3, .singlepost h3 {
    font-size: 26px;
}
.firstsectionsubpage h4, .singlepost h4 {
    font-size: 24px;
}
.firstsectionsubpage h5, .singlepost h5 {
    font-size: 22px;
}
.firstsectionsubpage h6, .singlepost h6 {
    font-size: 20px;
}
section section {
    margin: 0 !important;
}
.homeslider {
    margin-bottom: 40px !important;
}
footer section .elementor-widget-wrap, .newspreview .elementor-widget-wrap {
    padding: 0 !important;
}
section section .elementor-column:first-of-type .elementor-widget-wrap {
    padding-left: 0 !important;
}
section section .elementor-column:last-of-type .elementor-widget-wrap {
    padding-right: 0 !important;
}
p:only-child, p:last-of-type {
    margin-bottom: 0;
}

header {
    border-bottom: 1px solid #DDDDDD;
    padding: 30px 0 20px 0px;
    background-color: #fff;
    transition: 0.5s ease-in-out;
    position: fixed !important;
    z-index: 1000;
    width: 100% !important;
}
.scrolling header {
    padding-top: 20px;
    padding-bottom: 15px;
    transition: 0.5s ease-in-out;
}
nav li a {
    padding-left: 8px !important;
    padding-right: 8px !important;
}
nav .elementor-item {
    padding-bottom: 0 !important;
    font-weight: 700;
    font-size: 20px;
    color: #000;
}
nav .sub-menu {
    min-width: 100% !important;
    margin-top: 31px !important;
    font-size: 18px;
    padding: 25px 20px 25px 20px !important;
    transition: 0.5s ease-in-out;
}
.scrolling nav .sub-menu {
    margin-top: 26px !important;
    padding: 30px 20px 25px 20px !important;
    transition: 0.5s ease-in-out;
}
nav .sub-menu a {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 7px !important;
    padding-top: 7px !important;
    border-left: 0 !important;
}
nav.elementor-nav-menu--main a {
	padding-left: 12px !important;
	padding-right: 12px !important;
}
nav .sub-menu a:hover, nav .sub-menu a:focus, .elementor-sub-item.elementor-item-active {
    color: #D9000D !important;
    background-color: transparent !important;
}
nav .sub-menu li:first-of-type a {
    padding-top: 0 !important;
}
nav .sub-menu li:last-of-type a {
    padding-bottom: 0 !important;
}
nav li .sub-arrow {
    display: none !important;
}
.elementor-widget-theme-site-logo img {
    width: 200px !important;
    transition: 0.5s ease-in-out;
}
.scrolling .elementor-widget-theme-site-logo img {
    width: 140px !important;
    transition: 0.5s ease-in-out;
}
.wpml-ls {
    padding: 0 !important;
}
.wpml-ls li {
    margin-right: 15px !important;
}
.wpml-ls a {
    padding: 0;
    color: #000;
}
.wpml-ls-current-language {
    display: none !important;
}
#breadcrumbs a {
    color: #000;
    font-size: 16px;
}
#content a {
    color: #000;
}
#content ul {
    padding-left: 15px;
}
#content ul.children {
    padding-left: 20px;
}
.swiper-slide-bg:after {
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    top: 0;
    bottom: 0;
    margin: 0 auto;
    background: rgb(0,0,0);
    background: -moz-linear-gradient(0deg, rgba(0,0,0,0.64) 0%, rgba(0,0,0,0.2) 100%);
    background: -webkit-linear-gradient(0deg, rgba(0,0,0,0.64) 0%, rgba(0,0,0,0.2) 100%);
    background: linear-gradient(0deg, rgba(0,0,0,0.64) 0%, rgba(0,0,0,0.2) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
}
.elementor-slide-heading {
    font-size: 48px !important;
    text-shadow: 0 0px 10px rgb(0 0 0 / 20%);
}
p.elementor-slide-description {
    font-size: 34px !important;
}
.elementor-slides .swiper-slide-inner .elementor-slide-button {
    background-color: #D9000D !important;
    border-radius: 0;
    border: 0 !important;
}
.swiper-slide-contents {
    color: #fff !important;
}
.elementor-button, .elementor-button[type="submit"]:hover, .elementor-button[type="submit"]:focus {
    background-color: #D9000D;
    border-radius: 0;
    font-size: 18px;
    color: #fff !important;
}

.elementor-swiper-button.elementor-swiper-button-next svg, .elementor-swiper-button.elementor-swiper-button-prev svg {
    fill: black !important;
    height: 40px !important;
    width: 40px !important;
}
.elementor-swiper-button.elementor-swiper-button-prev {
    left: 50px !important;
}
.elementor-swiper-button.elementor-swiper-button-next {
    right: 50px !important;
}
.swiper-pagination-bullet {
    height: 10px;
    width: 10px;
    background-color: #fff;
}
.memberimg img {
    height: 275px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: 0.5s ease-in-out;
}
.memberimg img:hover {
    transform: scale(1.05);
    transition: 0.5s ease-in-out;
}
.case {
    min-height: 350px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.case a{
    color: #fff !important;
}
.case .elementor-widget-image {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
}
.case .elementor-widget-image .elementor-widget-container a:after {
    content: '';
    height: 100%;
    width: 100%;
    background-color: #717E86;
    position: absolute;
    opacity: 0.7;
    top: 0;
    left: 0;
}
.case img {
    object-fit: cover;
    min-height: 350px;
    transform: scale(1);
    transition: 0.5s ease-in-out;
}
.case:hover img{
    transform: scale(1.05);
    transition: 0.5s ease-in-out;
}
.case .elementor-widget-image .elementor-widget-container {
    height: 100%;
}
.case .elementor-widget-theme-post-title, .case .elementor-widget-theme-post-content, .case .elementor-widget-heading, .case .elementor-widget-theme-post-excerpt {
    padding-left: 20px;
    padding-right: 20px;
}
.case .elementor-button {
    background-color: transparent;
    padding: 0 !important;
    margin-left: 20px;
    margin-bottom: 20px;
}
.case .elementor-widget-theme-post-content, .case .elementor-button {
    padding-bottom: 20px;
}
.testimonialslider{
    background-color: #F4F4F4;
    padding: 80px 0;
}
.testimonialslider img{
    height: 350px;
    width: 350px;
    object-fit: cover;
    object-position: center;
}
.testimonialcontent {
    font-size: 25px;
    padding-right: 15%;
    padding-left: 5%;
}
.testimonialautor {
    color: #717E86;
    padding-right: 15%;
    padding-left: 5%;
    margin-top: 15px;
}
.elementor-icon-box-wrapper .elementor-icon {
    height: 40px;
    width: 40px;
    font-size: 40px;
    color: #fbbc04 !important;
}
.factsandnumbers{
    background-color: #717E86;
    color: #fff;
    padding: 80px 0;
    font-size: 20px;
}
.factsandnumbers strong{
    font-size: 60px;
}
.cta-banner {
    background-color: #EFEFEF;
    font-size: 20px;
}
.cta-banner img {
    height: 320px;
    object-fit: cover;
    object-position: center;
}
.cta-banner a {
    color: #000;
}
.cta-name {
    margin-bottom: 0 !important;
}
.cta-banner .elementor-button {
    background-color: #717E86;
    width: calc(100% - 50px);
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 18px;
    color: #fff;
}
.cta-banner h4 {
    color: #717E86;
    margin-bottom: 10px !important;
}
.cta-banner strong {
    color: #717E86;
}
.newspreview .elementor-widget-theme-post-featured-image, .memberimg {
    overflow: hidden;
}
.newspreview img {
    height: 385px;
    object-fit: cover;
    transform: scale(1);
    transition: 0.5s ease-in-out;
}
.newspreview img:hover {
    height: 385px;
    object-fit: cover;
    transform: scale(1.05);
    transition: 0.5s ease-in-out;
}
.newspreview .elementor-button {
    padding: 0;
    font-weight: 700;
    color: #000 !important;
    background-color: transparent;
    font-size: 18px;
    transition: 0.2s ease-in-out;
}
.newspreview .elementor-button:hover {
    color: #D9000D !important;
    transition: 0.2s ease-in-out;
}
.elementor-widget-form input, .elementor-widget-form textarea, .elementor-widget-form select {
    margin-top: 10px;
    margin-bottom: 20px;
    border-radius: 0;
}
.searchresults h4 {
    font-size: 28px !important;
    margin-bottom: 10px !important;
}
.searchresults h4 a{
	color: black;
}
.searchresults p, .searchresults .elementor-post__read-more {
    font-size: 18px !important;
    color: black !important;
}
.footercta{
    margin-top: 80px;
}
.footer-logo{
    margin-bottom: 50px !important;
}
footer a, footer a:hover {
    color: #fff;
}
.credits {
    color: #B2B2B2;
    border-top: 1px solid #4D4D4D;
    padding-top: 25px;
    margin-top: 70px;
    font-size: 16px;
}
.credits a{
    color: #B2B2B2;
}
.credits ul {
    padding-left: 0;
}
.credits ul li {
    display: inline-block;
    padding-left: 20px;
    padding-right: 20px;
}
.credits ul li:first-of-type {
    padding-left: 0;
}
.credits ul li:last-of-type {
    padding-right: 0;
}
.singlepost {
    margin-bottom: 80px;
}
.singlepost .elementor-widget-theme-post-featured-image, .type-page .page-thumbnail {
    margin-top: 0px;
    height: 400px;
    max-height: 400px;
    margin-bottom: 30px !important;
    margin-left: 30px;
    overflow: hidden;
}
.singlepost .elementor-widget-theme-post-featured-image img, .type-page .page-thumbnail img{
    min-height: 400px;
    min-width: 100%;
    object-fit: cover;
    object-position: center;
}
.elementor-field-type-acceptance .elementor-field-label {
    display: none !important;
}
.elementor-counter .elementor-counter-title {
    font-size: 18px !important;
    line-height: 1.2 !important;
    margin-top: 15px !important;
}
.select-caret-down-wrapper {
    display: none !important;
}
.elementor-location-popup a {
    color: #D9000D;
    text-decoration: underline;
    text-underline-position: under;
}

.fadeInUp {
    animation-name: fadeInUpCustom!important
}

.animated {
    animation-duration: 1.5s!important
}

@keyframes fadeInUpCustom {
    from {
        opacity: 0;
        transform: translate3d(0,50px,0)
    }

    to {
        opacity: 1;
        transform: none
    }
}
@media screen and (max-width: 1600px){
    .elementor-swiper-button.elementor-swiper-button-prev {
        left: 0px !important;
    }
    .elementor-swiper-button.elementor-swiper-button-next {
        right: 0px !important;
    }
    .kundenstimme {
        padding-left: 60px;
        padding-right: 60px;
    }
    .testimonialcontent {
        padding-right: 0;
    }
}
@media screen and (max-width: 1350px){
    .elementor-section.elementor-section-boxed > .elementor-container {
        max-width: 95%;
        width: 95%;
    }
    .elementor-inner-section .elementor-container, .elementor-section-boxed .elementor-section .elementor-container {
        width: 100% !important;
        max-width: 100% !important;
    }
	nav.elementor-nav-menu--main a {
		padding-left: 9px !important;
		padding-right: 9px !important;
	}
}
@media screen and (max-width: 1200px){
    body.overlaymenu-isactive {
        height: 100vh;
        overflow: hidden !important;
        min-height: 400px;
    }
	.mobilemenu a.dialog-close-button.dialog-lightbox-close-button {
		height: 35px !important;
		width: 35px !important;
		background-image: url(https://www.zentralbeschaffung.ch/wp-content/uploads/2023/10/menu-open.svg);
		margin-top: 27px;
		margin-right: 19px;
	}
	.mobilemenu nav a {
		text-decoration: none !important;
		color: black !important;
	}
	.mobilemenu .dialog-widget-content {
		border-left: 1px solid #DDDDDD;
	}
	.mobilemenu .dialog-close-button i {
		display: none;
	}
    .elementor-section .elementor-container {
        gap: 30px;
    }
	.menu-close {
		margin-right: 5px;
	}
    .elementor-slide-heading {
        font-size: 40px !important;
    }
    p.elementor-slide-description {
        font-size: 30px !important;
    }
    h1 {
        font-size: 40px;
    }
    h2 {
        font-size: 32px;
    }
    h3 {
        font-size: 28px;
    }
    h4 {
        font-size: 25px;
    }
    h5 {
        font-size: 22px;
    }
    h6 {
        font-size: 20px;
    }
    .elementor-top-section .elementor-container {
        gap: 0;
    }
    .elementor-widget-theme-site-logo img {
        width: 170px !important;
    }
    .scrolling .elementor-widget-theme-site-logo img {
        width: 130px !important;
    }
    .mobile-menu {
        border-bottom: 1px solid #DDDDDD;
        padding: 30px 0 20px 0px;
        background-color: #fff;
        transition: 0.5s ease-in-out;
        position: fixed !important;
        z-index: 1000;
        width: 100% !important;
    }
    #overlaymenu {
        -webkit-transition: all 0.5s ease !important;
        -moz-transition: all 0.5s ease !important;
        -o-transition: all 0.5s ease !important;
        -ms-transition: all 0.5s ease !important;
        transition: all 0.5s ease !important;
        visibility: hidden;
        opacity: 0;
        height: 100% !important;
        width: 100% !important;
        position: absolute;
        margin-top: 0;
        margin-bottom: 0;
        display: none;
    }
    #overlaymenu.section-transform-active {
        visibility: visible !important;
        opacity: 1!important;
        overflow-y: scroll;
        z-index: 5000;
        display: block;
        background-color: #fff;
    }
    nav ul ul {
        position: relative !important;
        margin-left: 0 !important;
        top: 0px !important;
    }
    nav .sub-menu, .scrolling nav .sub-menu {
        margin-top: 10px !important;
        padding: 0px 0px 25px 0px !important;
        transition: 0.5s ease-in-out;
    }
    .elementor-nav-menu a, .elementor-nav-menu a:focus, .elementor-nav-menu a:hover {
        padding: 10px 0px 10px 0px !important;
        line-height: 20px;
    }
	nav .sub-menu a:hover {
		padding-bottom: 7px !important;
    	padding-top: 7px !important;
	}
    .homeslider {
        margin-bottom: 40px !important;
        margin-top: 100px !important;
    }
    .cta-banner .elementor-button {
        width: calc(100% - 20px);
        font-size: 16px;
    }
}
@media screen and (max-width: 940px){
    .cta-banner{
        padding: 20px;
    }
    .cta-btns-col {
        width: 100% !important;
        margin-bottom: 20px;
    }
    .cta-contactdetails {
        width: 100% !important;
    }
}
@media screen and (max-width: 780px){
    .mobile-menu .elementor-container {
        gap: 0 !important;
    }
    .elementor-section .elementor-container {
        gap: 20px;
    }
    .elementor-slide-heading {
        font-size: 30px !important;
    }
	.menu-close {
		margin-right: 10px;
		margin-top: -4px;
	}
	a.dialog-close-button.dialog-lightbox-close-button {
		height: 30px;
		width: 30px;
		margin-top: 17px;
		margin-right: 9px;
	}
    p.elementor-slide-description {
        font-size: 22px !important;
    }
    .headerbreadcrumbs {
        margin-top: 115px !important;
    }
    .page-content section, .elementor-location-single section {
        margin: 50px 0;
    }
    h1 {
        font-size: 28px;
    }
    h2 {
        font-size: 26px;
    }
    h3 {
        font-size: 24px;
    }
    h4, .searchresults h4 {
        font-size: 22px;
    }
    h5 {
        font-size: 20px;
    }
    .firstsectionsubpage h1, .singlepost h1 {
        font-size: 28px;
    }
    .firstsectionsubpage h2, .singlepost h2 {
        font-size: 26px;
    }
    .firstsectionsubpage h3, .singlepost h3 {
        font-size: 24px;
    }
    .firstsectionsubpage h4, .singlepost h4 {
        font-size: 22px;
    }
    .firstsectionsubpage h5, .singlepost h5 {
        font-size: 20px;
    }
    h6, .firstsectionsubpage h6, .singlepost h6 {
        font-size: 18px;
    }
    html, body, .searchresults p, .searchresults .elementor-post__read-more {
        font-size: 16px;
    }
    .elementor-widget-theme-site-logo img, .scrolling .elementor-widget-theme-site-logo img {
        width: 160px !important;
    }
    .mobile-menu {
        padding: 20px 0 10px 0px;
    }
    .homeslider {
        margin-top: 90px !important;
    }
    .elementor-swiper-button.elementor-swiper-button-next svg, .elementor-swiper-button.elementor-swiper-button-prev svg {
        height: 30px !important;
        width: 30px !important;
    }
    .kundenstimme {
        padding-left: 45px;
        padding-right: 45px;
    }
    .testimonialcontent {
        font-size: 20px;
        padding-right: 0;
        padding-left: 0;
    }
    .testimonialautor {
        padding-right: 0;
        padding-left: 0;
        margin-top: 5px;
    }
    .elementor-counter-number-wrapper * {
        font-size: 50px;
    }
    footer {
        font-size: 17px;
    }
    .credits {
        font-size: 14px;
    }
    .credits ul li {
        padding-left: 10px;
        padding-right: 10px;
    }
    .cta-banner .elementor-button {
        width: 100%;
        font-size: 16px;
    }
    .cta-banner {
        padding: 15px !important;
    }
    .order-1 {
        order: 1;
    }
    .order-2 {
        order: 2;
        margin-bottom: 30px;
    }
    .order-1 .elementor-widget-wrap, .order-2 .elementor-widget-wrap {
        padding: 0 !important;
    }
    .singlepost .elementor-widget-theme-post-featured-image{
        min-width: 100%;
    }
}
@media screen and (max-width: 640px){
	.mobilemenu .dialog-widget-content {
		border-left: 0;
	}
}
@media screen and (max-width: 500px){
    /*
	.kundenstimme {
        padding-left: 0px;
        padding-right: 0px;
    }
    .elementor-swiper-button.elementor-swiper-button-prev, .elementor-swiper-button.elementor-swiper-button-next {
        position: relative !important;
        bottom: -50px !important;
        top: unset !important;
        width: 49%;
        display: inline-block !important;
    }*/
    .elementor-swiper-button.elementor-swiper-button-next {
        text-align: right;
    }
    .testimonialcontent {
        font-size: 19px;
        line-height: 1.4;
    }
    .testimonialautor {
        margin-top: 0px;
        font-size: 17px;
    }
	a.dialog-close-button.dialog-lightbox-close-button {
		height: 30px !important;
		width: 30px !important;
		margin-top: 16px;
		margin-right: 0px;
	}
}