/* 
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/css2?family=Work+Sans:wght@500;700&display=swap);.home h1,
.lead p {
    text-align: center;
}
#main-header .sub-menu a,
.elementor-button {
    font-size: 18px !important;
}
.home .big-intro .elementor-button,
.logo-text p {
    font-weight: 600;
}
footer,
header {
    padding-left: 90px !important;
    padding-right: 90px !important;
}
body p,
footer ul {
    line-height: 1.5;
}
:root {
    --blue: #004a81;
    --black: #000;
}
@font-face {
    font-family: Work;
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(https://www.friizit-mattertal.ch/wp-content/themes/valpix-child/assets/fonts/Work-Sans-Regular.woff2) format("woff2");
}
@font-face {
    font-family: Work;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://www.friizit-mattertal.ch/wp-content/themes/valpix-child/assets/fonts/Work-Sans-Bold.woff2) format("woff2");
}
:focus,
:focus-visible {
    outline: 0;
}
body,
html {
    font-family: Work;
    font-weight: 500;
    color: var(--black);
    font-size: 19px;
    overflow-x: hidden;
    width: 100vw;
    line-height: 1;
}
.filtersection .sf-option-active,
header nav a {
    font-weight: 700;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--blue);
}
.home h1 {
    font-size: 70px;
    line-height: 1.1;
}
p + h2,
p + h3,
p + h4,
p + h5,
p + h6 {
    margin-top: 40px;
}
.big-intro {
    height: 90vh;
    min-height: 450px;
}
.lead p {
    font-size: 22px;
    max-width: 90%;
}
.logo-text p,
header nav a {
    font-size: 20px;
    color: var(--blue);
}
p:last-of-type,
p:only-child {
    margin-bottom: 0 !important;
}
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #f4f9ff;
}
.logo-text p {
    margin: 0;
    line-height: 1;
}
.main-nav .sub-menu:before {
    content: "";
    position: absolute;
    width: 36px;
    height: 10px;
    top: -9px;
    left: 50%;
    display: block;
    background: var(--blue);
    margin-left: -18px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
ul.elementor-nav-menu--dropdown a,
ul.elementor-nav-menu--dropdown a:focus,
ul.elementor-nav-menu--dropdown a:hover {
    border-left: 0 solid transparent !important;
}
.sub-menu {
    padding: 20px !important;
    text-align: center;
    transform: translate(-30%, 0);
    min-width: 270px !important;
    width: auto !important;
    border-radius: 12px;
    box-shadow: 5px 6px 30px rgba(0, 0, 0, 0.1);
    margin-top: 30px !important;
    transition: 0.5s ease-in-out !important;
    background-color: var(--blue);
}
.sub-menu .sub-menu {
    position: relative !important;
    margin-left: 0 !important;
    transform: none;
    margin-top: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-top: 1px solid #fff !important;
    border-bottom: 1px solid #fff !important;
    border-radius: 0 !important;
}
/*
#main-header .elementor-nav-menu--main > .elementor-nav-menu > li:hover > .elementor-nav-menu--dropdown,
#main-header .elementor-nav-menu--main .sub-menu li:hover > .sub-menu {
    padding: 20px !important;
    left: 50% !important;
    right: auto;
    text-align: center;
    transform: translate(-50%, 0);
    min-width: 270px !important;
    width: auto !important;
    border-radius: 12px;
    box-shadow: 5px 6px 30px rgba(0, 0, 0, 0.1);
    margin-top: 30px !important;
    top: 40px !important;
    display: block !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: 0.5s ease-in-out !important;
    background-color: var(--blue);
}
#main-header .elementor-nav-menu--main .sub-menu li:hover > .sub-menu {
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 0 !important;
    margin-top: 0 !important;
    bottom: 0 !important;
    top: 0 !important;
    box-shadow: none;
    border-top: 1px solid #fff;
    border-radius: 0;
	min-width: unset !important;
}
*/
.main-nav .sub-menu .sub-menu:before{
	display: none;
}

#main-header .elementor-nav-menu--dropdown a,
.contactsection h1,
.contactsection h2,
.contactsection h3,
.contactsection h4,
.contactsection h5,
.contactsection h6,
.credits a:hover,
footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6 {
    color: #fff;
}
.breadcrumb *,
.elementor-button,
.elementor-widget-n-tabs .e-n-tabs-heading:hover .e-n-tab-title[aria-selected="true"],
footer a {
    color: #fff !important;
}
.elementor-sub-item.elementor-item-active,
.elementor-sub-item.highlighted,
.elementor-sub-item:focus,
.elementor-sub-item:hover {
    background-color: transparent !important;
    color: #fff;
}
/*
#main-header .elementor-nav-menu--main > .elementor-nav-menu > li:hover > .elementor-nav-menu--dropdown {
    top: 30px !important;
    opacity: 1 !important;
    visibility: visible !important;
    left: 50% !important;
}*/
section {
    margin-top: 80px !important;
    margin-bottom: 80px !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;
    }
}
.image-slider .swiper-slide .swiper-slide-inner {
    padding-top: 75%;
    overflow: hidden;
}
.image-slider img {
    height: 100% !important;
    width: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: cover;
    transform: scale(1.02);
    transition: 0.3s ease-in-out !important;
}
.elementor-button,
.listings a,
.quicklinks-container ul li a,
footer .elementor-button {
    transition: 0.2s ease-in-out;
}
.contactsection,
.filtersection {
    background-color: var(--blue);
    color: #fff !important;
    padding: 30px;
}
.filtersection ul {
    padding-left: 0;
}
.filtersection input {
    display: none;
}
.filtersection .sf-field-search input {
    display: block;
    border: 2px solid #fff;
    border-radius: 50px;
    font-size: 16px;
    width: 100%;
}
.sf-field-search label {
    width: 100%;
}
.searchandfilter h4 {
    color: #fff;
    margin-top: 20px;
    margin-bottom: 3px;
}
.filtersection label:hover {
    cursor: pointer;
}
.filtersection .searchandfilter select {
    font-size: 16px;
}
.filtersection .searchandfilter label {
    display: block;
}
.big-intro .elementor-background-slideshow::after,
.smallintrosection:after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background: #fff;
    background: -moz-linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(0, 74, 129, 0.7777704831932774) 100%);
    background: -webkit-linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(0, 74, 129, 0.7777704831932774) 100%);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(0, 74, 129, 0.7777704831932774) 100%);
    z-index: 1;
}
.smallintrosection .elementor-widget-heading {
    padding-bottom: 80px;
    z-index: 2;
    position: relative;
}
.contactsection p {
    margin-bottom: 0;
    line-height: 1.5 !important;
}
.btov .elementor-icon-box-title,
.contactsection .elementor-icon-box-title {
    margin-bottom: 0;
}
.btov .elementor-icon-box-wrapper,
.contactsection .elementor-icon-box-wrapper {
    margin-top: 5px;
}
.elementor-button {
    background: var(--blue) !important;
    padding: 15px 22px !important;
    border-radius: 50px;
    list-style-type: none;
    line-height: 1;
}
.elementor-button:hover,
footer .elementor-button:hover {
    transform: scale(0.97);
}
.breadcrumb span {
    column-gap: 10px !important;
    display: flex;
    font-size: 17px;
    font-weight: 600;
}
.breadcrumb .breadcrumb_last {
    font-weight: 400;
}
.searchandfilter label {
    padding-left: 0 !important;
}
.elementor-form label {
    display: inline-block;
    font-size: 16px !important;
    margin-bottom: 8px;
    padding: 0;
    line-height: 1.3;
}
.elementor-form input,
.elementor-form textarea {
    border-radius: 25px !important;
    border: 2px solid var(--blue) !important;
    padding: 10px 20px !important;
    font-size: 18px !important;
    margin-top: 5px !important;
}
.elementor-form .e-form__indicators__indicator--state-active [class*="indicator--shape-"]:not(.e-form__indicators__indicator--shape-none) {
    border-color: var(--blue) !important;
    color: var(--blue);
    font-size: 15px;
}
.elementor-form .e-form__indicators__indicator--state-completed [class*="indicator--shape-"]:not(.e-form__indicators__indicator--shape-none) {
    background-color: var(--blue) !important;
    color: #fff;
    font-size: 15px;
}
.elementor-widget-n-tabs .e-n-tabs-heading button {
    border-radius: 25px !important;
    border: 2px solid var(--blue) !important;
    padding: 10px 20px !important;
    background-color: #fff !important;
}
.elementor-widget-n-tabs .e-n-tabs-heading button:hover {
    color: var(--blue) !important;
}
.elementor-widget-n-tabs .e-n-tabs-heading .e-n-tab-title[aria-selected="true"] {
    background-color: var(--blue) !important;
}
main .elementor-widget-text-editor ul,
main .elementor-widget-text-editor ol {
    margin: 20px 0;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    line-height: 1.3;
}
main .elementor-widget-text-editor ul ul,
main .elementor-widget-text-editor ol ol {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}
.dialog-lightbox-close-button.dialog-close-button {
    top: 20px;
    right: 20px;
    font-size: 22px;
}
footer {
    background-color: var(--blue);
    color: #fff;
    margin-top: 30px;
}
footer ul {
    padding: 0 !important;
    margin-top: 10px !important;
}
.quicklinks-container ul li {
    list-style-type: none;
    margin: 2px 0;
}
.listings a:hover {
    padding-left: 5px;
}
.quicklinks-container ul li a:hover {
    padding-left: 5px;
    color: #fff;
}
footer .elementor-button {
    border: 2px solid #fff;
    padding: 10px 20px !important;
    border-radius: 50px;
    font-size: 18px !important;
    background: 0 0;
    list-style-type: none;
    line-height: 1;
    margin: 0 8px;
}
.credits {
    font-size: 15px;
}
@media screen and (max-width: 1250px) {
    .big-intro,
    .breadcrumb,
    .clubtitle,
    header {
        padding-left: 50px !important;
        padding-right: 50px !important;
    }
}
@media screen and (max-width: 1200px) {
    .big-intro,
    .breadcrumb,
    .clubtitle,
    header,
    main section {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}
@media screen and (max-width:1024px){
	
	
	nav .sub-menu .menu-item-has-children > a[aria-expanded="true"] + ul.sub-menu {
    position: relative;
    left: 0;
    border-top: 1px solid var(--blue);
}
	
	
	
.home h1{
	font-size:55px
	}
	.quicklinks-container{text-align:center}.smallintrosection .elementor-widget-heading{padding-bottom:60px}.mobile-overlay-menu a{margin-bottom:10px;color:var(--blue)!important;font-size:20px;font-weight:700;background-color:#fff;padding-left:0!important}.elementor-nav-menu--dropdown .elementor-item.elementor-item-active,.elementor-nav-menu--dropdown .elementor-item.highlighted,.mobile-overlay-menu .elementor-nav-menu--dropdown .elementor-item:active,.mobile-overlay-menu .elementor-nav-menu--dropdown .elementor-item:focus,.mobile-overlay-menu .elementor-nav-menu--dropdown .elementor-item:hover{background-color:#fff!important;color:var(--blue)!important}
	.mobile-overlay-menu .sub-menu {
        margin-bottom: 30px !important;
        transform: none;
        background-color: transparent;
        box-shadow: none;
        padding: 0 !important;
        margin-top: 0 !important;
    }
	.mobile-overlay-menu .sub-menu a{font-size:18px!important;font-weight:500!important;margin-bottom:0}}@media screen and (max-width:767px){body p{font-size:18px;line-height:1.4}.home h1{font-size:50px}h1{font-size:35px}h2{font-size:30px}h3{font-size:26px}h4{font-size:25px}h5,h6{font-size:22px}.contactsection h4{font-size:21px}.post-type-archive .verein .elementor-page-title{max-width:calc(100% - 70px)!important}}@media screen and (max-width:500px){.post-type-archive .verein h5{font-size:20px}.post-type-archive .verein .elementor-icon{font-size:23px!important}}@media screen and (max-width:450px){section{margin-top:60px!important;margin-bottom:60px!important}.home h1{font-size:40px}h1{font-size:35px}.big-intro,.breadcrumb,.clubtitle,header,main section{padding-left:20px!important;padding-right:20px!important}}@media screen and (max-width:400px){.searchicon{display:none}}@media screen and (max-width:340px){.post-type-archive .verein .elementor-page-title{max-width:100%!important}.post-type-archive .verein .elementor-widget-icon{display:none}}