/* 
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: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url(https://www.rohrbachkuechen.ch/wp-content/themes/valpix-child/assets/fonts/poppins-light.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: 'Poppins';
    font-style: normal;
    font-weight: 600;
    src: url(https://www.rohrbachkuechen.ch/wp-content/themes/valpix-child/assets/fonts/poppins-semibold.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: 'Poppins', sans-serif;
    color: #000;
    font-size: 16px;
    overflow-x: hidden;
    font-weight: 400;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
:focus, :focus-visible, [type=button]:focus, [type=submit]:focus, button:focus{
    outline: none;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #D9000D;
}
*+h2, *+h3, *+h4, *+h5, *+h6 {
    margin-top: 30px;
}
h1 {
    font-size: 34px;
}
h2{
    font-size: 28px;
}
h3{
    font-size: 25px;
}
h4{
    font-size: 22px;
}
h5{
    font-size: 20px;
    line-height: 28px !important;
}
h6{
    font-size: 18px;
}
p:only-child, p:last-of-type {
    margin-bottom: 0;
}
strong {
    font-weight: 600;
}
header header {
    transition: 0.5s ease-in-out;
    position: fixed !important;
    z-index: 1000;
    width: 100% !important;
}
.homeheader {
    background-color: transparent;
    border: 0;
    padding: 30px 50px;
    transition: 0.5s ease-in-out;
}
.contentheader {
    background-color: #fff;
    border: 0;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.05);
    padding: 30px 50px;
}
.scrolling .homeheader{
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.05);
    transition: 0.5s ease-in-out;
}
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;
    background-color: rgba(255, 255, 255, 0.9);
}
.scrolling nav .sub-menu {
    margin-top: 35px !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 .sub-menu a:hover, nav .sub-menu a:focus, .elementor-sub-item.elementor-item-active {
    color: #D9000D !important;
    background-color: transparent !important;
    font-weight: 600;
}
.current-page-parent a, .current_page_item a, .section-breadcrumbs a {
    color: #D9000D;
}
nav .sub-menu li:first-of-type a {
    padding-top: 0 !important;
}
nav .sub-menu li:last-of-type a {
    padding-bottom: 0 !important;
}
.elementor-widget-theme-site-logo img {
    width: 350px !important;
}

.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
    }
}
.page-content section {
    padding-top: 80px;
    padding-bottom: 70px;
}
.page-content p a, .page-content ul li a, .elementor-location-archive a, .singlecontent a, .elementor-field-option a{
    color: #324C79;
	text-decoration: underline;
	text-underline-position: under;
}
.page-content ul {
    margin-bottom: 20px;
    list-style-type: "- ";
    padding-left: 17px;
    line-height: 25px;
}
.partners a {
    color: #000 !important;
    text-decoration: none !important;
}
.partners a:hover {
    color: #324C79 !important;
	text-decoration: underline !important;
	text-underline-position: under !important;
}















.homeslider {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.homeslider:after {
    position: absolute;
    content: '';
    height: 40vh;
    width: 100%;
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    top: 0;
    left: 0;
    opacity: 1;
    transition: 0.5s ease-in-out;
    z-index: 1;
}
.introslider {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.introslider .swiper-slide-inner {
    max-width: 1400px;
}
.introslider .swiper-slide-contents {
    background-color: #d9000ae3;
    padding: 60px 50px;
    text-align: left;
    margin-bottom: 150px;
    max-width: 650px !important;
}
.introslider .swiper-slide-contents .elementor-slide-heading {
    font-size: 30px !important;
    margin-bottom: 10px !important;
    line-height: 40px !important;
}
.introslider .swiper-slide-contents p {
    font-size: 22px !important;
    hyphens: auto;
    font-weight: 300 !important;
    margin-bottom: 0 !important;
}
.introslider .elementor-button {
    border: 1px solid #fff !important;
    font-weight: 600 !important;
    font-size: 18px;
    border-radius: 50px;
    color: #fff !important;
    margin-top: 30px;
}
.introslider .swiper-pagination {
    margin-bottom: 25px;
    position: absolute;
    text-align: left;
    padding-left: 50px;
    padding-right: 50px;
}
.introslider .swiper-pagination-bullet {
    background-color: #FFF;
    height: 15px;
    width: 15px;
}
.introslider:after {
    position: absolute;
    content: '';
    height: 20px;
    width: 33px;
    background-image: url(https://www.rohrbachkuechen.ch/wp-content/themes/valpix-child/assets/img/arrow-up.svg);
    bottom: 35px;
    z-index: 1;
    transform: rotate(180deg);
    left: 0;
    right: 0;
    margin: auto;
}

.page-content .elementor-button, .elementor-location-archive .elementor-button {
    background-color: transparent;
    color: #000;
    font-weight: 600 !important;
    font-size: 18px;
    border: 1px solid #000;
    border-radius: 50px;
    text-decoration: none !important;
}



.cases-loop .e-loop-item:nth-child(even) .case:after, .cases-loop .e-loop-item:nth-child(odd) .case:after {
    content: '';
    position: absolute;
    border: 1px solid #707070;
    height: 80%;
    width: 90%;
    margin: auto;
	pointer-events: none;
}

.cases-loop .e-loop-item:nth-child(even) .case:after { 
    top: 13%;
    right: 5%;
    left: 0;
    bottom: 0;
}
.cases-loop .e-loop-item:nth-child(odd) .case:after {       
    top: 0;
    right: 0%;
    left: 5%;
    bottom: 13%;
}
.case:hover img {
    transform: rotate(1deg) scale(1.1);
    transition: 0.5s ease-in-out;
}
.case img {
    height: 250px !important;
    min-width: 100%;
    object-fit: cover;
    transform: rotate(0deg) scale(1);
    transition: 0.5s ease-in-out;
    object-position: center !important;
}
.section-cases h5 {
    color: #fff;
}
.section-cases .elementor-widget-heading {
    position: absolute;
    padding: 20px;
    max-width: 80% !important;
}
.cases-loop .e-loop-item:nth-child(even) .elementor-widget-heading {
    background-color: #d9000deb;
    left: 0;
    bottom: 0;
    padding-top: 50px;
}
.cases-loop .e-loop-item:nth-child(odd) .elementor-widget-heading {
    background-color: #878787ed;
    right: 0;
    top: 0px;
    padding-bottom: 50px;
}
.cases-loop .e-loop-item:nth-child(even) .elementor-widget-image {
    margin-left: 13%;
    height: 250px;
    margin-bottom: 80px;
    overflow: hidden;
}
.cases-loop .e-loop-item:nth-child(odd) .elementor-widget-image {
    margin-right: 13%;
    height: 250px;
    margin-top: 80px;
    overflow: hidden;
}

.section-quote {
    background-color: #EDEDED;
    margin-top: 100px;
    margin-bottom: 50px;
    padding-top: 90px;
    padding-bottom: 90px;
    font-size: 20px;
    line-height: 30px;
}
.section-quote .elementor-widget-image img {
    transform: translateY(-160px);
    max-height: 500px;
    object-fit: contain;
}





.insposlider {
    margin-top: 30px;
}
.insposlider .swiper-slide-inner {
    height: 200px;
    overflow: hidden;
}
.insposlider img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transform: rotate(0deg) scale(1);
    transition: 0.5s ease-in-out;
}
.insposlider .swiper-pagination {
    text-align: left;
    bottom: -6px !important;
}
.insposlider .elementor-swiper-button-prev {
    left: -150px !important;
}
.insposlider .elementor-swiper-button-next {
    right: -150px !important;
}
span.swiper-pagination-bullet {
    height: 13px;
    width: 13px;
    opacity: 1;
    background-color: #000;
}
span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #D9000D;
}
.insposlider .swiper-slide:hover img {
    transform: rotate(1deg) scale(1.1);
    transition: 0.5s ease-in-out;
}




.blogsection{
	margin-top: 40px;
}
.newssection {
    background-color: #EDEDED;
    padding-top: 60px !important;
    padding-bottom: 50px !important;
}
.newssection .newsimg, .blogsection .newsimg {
    overflow: hidden;
    height: 250px;
    margin-bottom: 20px !important;
}
.newspreview:hover img {
    transform: rotate(1deg) scale(1.1);
    transition: 0.5s ease-in-out;
}
.newsimg img {
    transform: rotate(0deg) scale(1);
    transition: 0.5s ease-in-out;
}
.newssection h6, .blogsection h6 {
    margin-bottom: 15px;
    font-size: 18px;
    line-height: 1.5;
}
.newssection .elementor-widget-theme-post-excerpt, .blogsection .elementor-widget-theme-post-excerpt {
    margin-bottom: 20px !important;
}
.newssection .elementor-button, .blogsection .elementor-button {
    padding: 0;
    position: relative;
    border: 0;
	background-color: transparent;
}
.blogsection .elementor-button{
	background-color: transparent;
    color: #000;
    font-weight: 600 !important;
    font-size: 18px;
}
.newssection .elementor-button:after, .blogsection .elementor-button:after {
    content: '';
    position: absolute;
    height: 16px;
    width: 16px;
    background-image: url(https://www.rohrbachkuechen.ch/wp-content/themes/valpix-child/assets/img/news-arrow-right.svg);  
    background-repeat: no-repeat;
    background-size: cover;
    top: 0;
    right: -25px;
}
.elementor-widget-theme-post-featured-image a {
    width: 100% !important;
}



.section-breadcrumbs {
    padding-top: 80px;
    font-size: 18px;
}
.singlecontentpage {
    padding-top: 20px;
    padding-bottom: 90px;
}
.offercontentimage {
    margin-right: 40px;
    margin-bottom: 20px !important;
}
.singlecontentpage h1 {
    margin-bottom: 20px;
    color: #000;
}
.singlecontentpage .content-column {
    padding-right: 50px !important;
	padding-left: 0;
}
.dialog-section h3 {
    margin-bottom: 25px;
}
.singlecontent .elementor-button {
    border-radius: 0;
    background-color: #D9000D;
    border: 0;
    font-size: 18px;
    color: #fff !important;
    margin-top: 20px;
    text-decoration: none !important;
}
.dialog-section .elementor-button {
    border-radius: 0;
    width: 100%;
    margin-bottom: 5px;
}
.dialog-section .contact-btn .elementor-button {
    background-color: #D9000D;
    color: #fff;
    border: 1px solid #D9000D;
}


.partnerlogos img {
    max-height: 100px;
    width: auto;
}
footer.elementor-slideshow__footer {
    display: none;
}
.remove-before::before{
	display: none;
}
.select-caret-down-wrapper {
    position: absolute !important;
    right: 10px;
    top: 0 !important;
    bottom: 0;
    margin: auto;
    height: 25px;
}
.elementor-field-type-submit .elementor-button {
    border-radius: 0;
    margin-bottom: 5px;
    background-color: #D9000D;
    color: #fff;
    border: 1px solid #D9000D;
    font-weight: 600 !important;
    font-size: 18px;
	margin-top: 30px;
}
.elementor-form label {
    margin-bottom: 8px;
}
.elementor-form input, .elementor-form textarea, .elementor-form select {
    border-radius: 0;
    margin-bottom: 15px;
	font-weight: 300 !important;
}
.ansprechpartner p a {
    color: black !important;
    text-decoration: none !important;
}



footer footer {
    background-color: black;
    color: #fff;
    padding-top: 110px;
    padding-bottom: 70px;
    font-size: 17px;
}
footer a{
    color: #fff;
}
.socialrow {
    max-width: 300px;
    font-size: 16px;
}
.socialrow .elementor-social-icon {
    background-color: transparent;
}
.footer-badge {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 30px;
    top: 45px;
}
footer a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-position: under;
}
@media screen and (max-width: 1350px){
    .contentheader, .homeheader {
        padding: 30px 2.5%;
    }
    .section-breadcrumbs, .singlecontentpage, footer .e-con-inner, .singlepost {
        max-width: 95% !important;
    }
    .errorcontainer {
        max-width: 95% !important;
        padding-left: 10px;
        padding-right: 10px;
    }
}
@media screen and (max-width: 1230px){
	nav li a {
		padding-left: 10px !important;
		padding-right: 10px !important;
	}
}
@media screen and (max-width: 1200px){
	.mobilemenu .dialog-close-button {
		height: 30px;
		width: 30px;
		margin-top: 25px;
		margin-right: 3px;
		background-image: url(https://www.rohrbachkuechen.ch/wp-content/uploads/2023/11/menu-close.svg);
		background-size: cover;
	}
	.mobilemenu .dialog-close-button i {
		display: none;
	}
	h1 {
		font-size: 30px;
	}
	h2 {
		font-size: 26px;
	}
	h3 {
		font-size: 24px;
	}
	h4 {
		font-size: 22px;
	}
	h5 {
		font-size: 20px;
	}
	h6 {
		font-size: 18px;
	}
	.homeslider:after {
		height: 30vh;
	}
	.introslider .swiper-slide-contents {
		padding: 50px 40px;
		margin-bottom: 50px;
	}
	.introslider .swiper-slide-contents p {
		font-size: 20px !important;
	}
	.introslider .swiper-slide-contents .elementor-slide-heading {
		font-size: 28px !important;
	}
	.singlecontentpage .content-column {
		padding-right: 0px !important;
	}
    .dialog-banner {
        background-color: #EDEDED;
        padding: 30px 30px 0px 30px;
        margin-top: 90px;
    }
    .dialog-section h3 {
        margin-bottom: 15px;
    }
	nav .sub-menu {
		position: relative !important;
		left: 0 !important;
		margin-left: 0 !important;
		margin-top: 0 !important;
	}
	.section-quote {
		margin-top: 100px;
		margin-bottom: 50px;
		padding-top: 90px;
		padding-bottom: 90px;
		font-size: 18px;
		line-height: 27px;
	}
	.page-content .elementor-button, .elementor-location-archive .elementor-button {
		font-size: 16px;
    }
	.badgequality {
		position: absolute;
		top: 50px;
		right: 50px;
	}
    .errorcontainer {
        max-width: 100% !important;
    }
}
@media screen and (max-width: 1055px){
    .section-cases .elementor-widget-heading {
        width: 95%;
        max-width: 95% !important;
    }
    .cases-loop .e-loop-item:nth-child(even) .elementor-widget-heading, .cases-loop .e-loop-item:nth-child(odd) .elementor-widget-heading {
        padding-right: 50px;
    }
}
@media screen and (max-width: 767px){
	.homeheader {
		padding: 30px 2.5%;
	}
	h1 {
		font-size: 28px;
	}
	h2 {
		font-size: 24px;
	}
	h3 {
		font-size: 22px;
	}
	h4 {
		font-size: 20px;
	}
	h5 {
		font-size: 18px;
	}
	h6 {
		font-size: 16px;
	}
	.introslider .swiper-slide-contents {
		padding: 40px 30px;
		margin-bottom: 70px;
		max-width: 100% !important;
		width: 100% !important;
	}
	.introslider .swiper-slide-contents .elementor-slide-heading {
		font-size: 25px !important;
	}
	.introslider .swiper-slide-contents p {
		font-size: 18px !important;
	}
	.introslider .elementor-button {
		margin-top: 20px;
		font-size: 15px !important;
	}
	.introslider .elementor-swiper-button-prev, .introslider .elementor-swiper-button-next {
		display: none !important;
	}
	.introslider .swiper-pagination {
		padding-left: 40px;
		padding-right: 40px;
	}
	.introslider .swiper-pagination-bullet {
		height: 10px;
		width: 10px;
	}
    .insposlider .swiper-pagination {
        text-align: left;
        bottom: -20px !important;
    }
    span.swiper-pagination-bullet {
        height: 10px;
        width: 10px;
    }
    .cases-loop .e-loop-item:nth-child(even) .elementor-widget-heading{
        padding-left: 35px;
        padding-bottom: 25px;
    }
    .cases-loop .e-loop-item:nth-child(odd) .elementor-widget-heading {
        padding-top: 25px;
        padding-left: 35px;
    }
    .dialog-banner {
        background-color: #EDEDED;
        padding: 20px 20px 0px 20px;
        margin-top: 90px;
    }
	.testimonialimage {
		position: relative !important;
	}
	.section-quote .elementor-widget-image img {
		transform: translateY(0);
		margin-top: 30px;
	}
	.section-quote {
		padding-bottom: 0px;
	}
	.badgequality {
		top: 30px;
		right: 30px;
	}
	.footer-badge {
		width: 25px;
	}
}
@media screen and (max-width: 550px){
    .section-breadcrumbs {
        padding-top: 50px;
    }
}
@media screen and (max-width: 500px){
    html, body{
        hyphens: auto;
    }
	.introslider .swiper-slide-contents {
		padding: 25px;
	}
	.section-quote .elementor-widget-image img {
		max-height: 350px;
	}
	span.swiper-pagination-bullet {
		height: 10px;
		width: 10px;
	}
}