/* 
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: "CenturyGothicBold";
    src: url('assets/webFonts/CenturyGothicBold/font.woff2') format('woff2'), url('assets/webFonts/CenturyGothicBold/font.woff') format('woff');
  }
@font-face {
    font-family: "CenturyGothicItalic";
    src: url('assets/webFonts/CenturyGothicItalic/font.woff2') format('woff2'), url('assets/webFonts/CenturyGothicItalic/font.woff') format('woff');
  }
@font-face {
    font-family: "CenturyGothicRegular";
    src: url('assets/webFonts/CenturyGothicRegular/font.woff2') format('woff2'), url('assets/webFonts/CenturyGothicRegular/font.woff') format('woff');
  }  
:root {
	--custom-title-color: #707070 !important;
	--custom-body-color: #707070 !important;
}
body {
	font-family: "CenturyGothicRegular", sans-serif;
    font-weight: 400;
    font-style: normal;
	font-size: 18px;
    line-height: 1.5;
}
b, strong {
	font-family: "CenturyGothicBold", sans-serif;
    font-weight: normal;
}
em {
    font-family: "CenturyGothicItalic", sans-serif;
    font-weight: normal;
}
header:before {
	content: '';
	background: linear-gradient(to right, #707070 25%,#D10073 25%, #D10073 50%, #00AEEA 50%, #00AEEA 75%, #70B62C 75%);
    position: absolute;
    top: 0;
    left: 0;
	right: 0;
    width: 100%;
    height: 7px;
    background-position: center;
    z-index: 10;
    background-size: cover;
}
.partner-logos img {
    max-height: 43px;
    width: auto;
    min-height: 32px;
}
.partner-logos .elementor-widget-image:nth-child(3) img {
    min-height: unset;
}
header.border-magenta:before {
    background: #D10073;
}
header.border-blue:before {
    background: #00AEEA;
}
header.border-green:before {
    background: #70B62C;
}
.btn-color .elementor-button-link {
    background: #707070 !important;
    color: #FFF !important;
}
.hero h5 {
    color: #FFF;
    font-size: 23px;
}
.hero p {
	font-weight: 300;
}
.fadeInUp {
    animation-name: fadeInUpCustom!important;
}
@keyframes fadeInUpCustom{from{opacity:0;transform:translate3d(0,40px,0)}to{opacity:1;transform:none}}#main-header{position:fixed;top:0;left:0;right:0;z-index:10000}
nav .sub-menu, .elementor-top-section .elementor-nav-menu--layout-horizontal .elementor-nav-menu>li:not(:first-child)>ul {
    min-width: 100% !important;
    left: 50% !important;
    right: auto;
    text-align: center;
    transform: translate(-50%,0);
	max-width: 300px;
		padding: 15px 0 !important;
}
nav .sub-menu elementor-nav-menu--dropdown a, .elementor-top-section .elementor-nav-menu--layout-horizontal .elementor-nav-menu .elementor-nav-menu--dropdown a {
    padding-left: 30px !important;
    padding-right: 30px !important;
    padding-top: 12px;
    padding-bottom: 12px;
	border-left: 0 !important;
}
nav .sub-menu:before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    width: 10px;
    height: 10px;
    display: block;
    background: #d3171700;
    margin-left: -10px;
    opacity: 1;
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent #707070 transparent;
    pointer-events: none;
    z-index: 100;
}
nav .sub-menu a {
	white-space: normal !important;
    text-align: left !important;
}
.elementor-section-full_width .elementor-container {
    padding-left: 100px;
    padding-right: 100px;
	max-width: 1650px;
}
.elementor-widget-template .elementor-container {
    padding: 0;
}
.hero .elementor-container p {
    max-width: 1060px;
    font-size: 70px;
    line-height: 105px;
}
header nav a, h1, .lead p, .cta-more p, .elementor-location-footer p, .elementor-button {
    font-family: "CenturyGothicRegular", sans-serif !important;
    font-weight: 400 !important;
    font-style: normal;
}
nav .current-menu-item a, nav .current-menu-parent .elementor-item {
    font-family: "CenturyGothicBold", sans-serif;
}
.lead h1 {
    font-size: 50px;
    line-height: 70px;
	color: #707070;
}
h1 {
	font-size: 45px;
	line-height: 65px;
	color: #707070;
}
h3 {
    font-size: 27px;
}
.elementor-widget-text-editor ul {
	padding: 0;
	margin: 0;
}
.elementor-widget-text-editor ul li {
	padding: 10px 0;
	border-bottom: 1px solid #E0E0E0;
	list-style-type: none;
}
header .elementor-widget-text-editor ul li {
    padding: 0;
    border: 0px;
}
ul li:last-child {
	border-bottom: 0;
}
.lead p {
	font-size: 24px;
	line-height: 39px;
}
.cta-more p {
    font-size: 18px;
    color: #FFF;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.cta-more:after {
    content: '';
    height: 80px;
    width: 2px;
    bottom: -78px;
    background: #707070;
    position: absolute;
    border-top: 40px solid #FFF;
    left: 0;
    right: 0;
    margin: 0 auto;
}
h1 {
    margin-bottom: 25px;
}
.cta-footer {
	max-width: 800px;
}
.elementor-location-footer .elementor-section .elementor-container {
    justify-content: space-between;
}
.elementor-button {
    background-color: transparent !important;
	padding: 15px 30px;
}
.partner-logos .elementor-widget-wrap {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    align-content: flex-start;
    flex-direction: row;
}
.elementor-location-footer h2 {
	font-family: "CenturyGothicRegular", sans-serif !important;
    font-weight: 300 !important;
    font-style: normal;
    font-size: 42px;
    line-height: 60px;
	margin-bottom: 35px;
}
.elementor-location-footer .elementor-widget-button {
    margin-top: 17px;
}
.elementor-location-footer ul li, .top-nav ul li {
    display: inline-block;
    margin: 0px 15px;
    list-style-type: none;
    font-size: 16px;
}
.elementor-location-footer ul li:first-child {
    margin-left: 0;
}
.top-nav ul li:last-child, header nav ul li:last-child a{
    margin-right: 0;
	padding-right: 0 !important;
}
.elementor-location-footer ul, .top-nav ul {
    padding: 0;
	margin: 0;
}
.map-overlay {
    position: absolute;
    top: 50%;
    left: 10px;
    max-width: 500px;
    transform: translateY(-50%);
}
.map-overlay div {
    padding: 50px;
}
article .elementor-widget-theme-post-featured-image:before {
    content: '';
    background-color: #5C5C5B;
    opacity: 1;
    mix-blend-mode: multiply;
    z-index: 10;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
footer .elementor-button-link {
	width: 100% !important;
}
.hero {
    padding: 220px 0 !important;
}
a:hover {
	text-decoration: underline;
}
header nav a:hover {
    text-decoration: none !important;
}
.gfield textarea.large {
    max-height: 160px !important;
}
input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    border: 0px solid #666;
    border-radius: 0;
    padding: 12px 20px !important;
    background: #f9f9f9;
    padding: 0.5rem 1rem;
}
.gform_title {
    display: none;
}
#gform_submit_button_1 {
    background: #707070 !important;
    color: #FFF !important;
    padding: 10px 30px !important;
}
.hide-desktop {
    display: none !important;
}
header nav {
    margin-right: -15px;
}
header nav span {
    transition: all .3s ease-in-out;
}
header nav .highlighted span {
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
}
header nav .highlighted span.wpml-ls-native {
    -webkit-transform: scaleY(1) !important;
    transform: scaleY(1) !important;
}
p + h2, p + h3, p + h4, p + h5, p + h6 {
    margin-top: 30px;
}
.gform_validation_errors {
    display: none;
}
.gform-field-label {
    font-weight: 400 !important;
}
privacybee-widget div, privacybee-widget div ul li, privacybee-widget div a {
	max-width: 100% !important;
	line-height: inherit !important;
}
.gform_wrapper.gravity-theme .gfield-choice-input+label {
    max-width: none!important;
    position: relative;
    padding-left: 45px;
}
.gfield--type-choice {
    margin: 20px 0!important;
}
.gform_wrapper [type="checkbox"]+label::before {
    width: 25px;
    height: 25px;
    background-color: transparent;
    display: block;
    content: "";
    float: left;
    margin-right: 5px;
    z-index: 5;
    position: absolute;
    top: 50%;
    left: 0;
    border: 2px solid #707070;
    transform: translateY(-50%);
}
.gform_wrapper input[type="checkbox"]:checked+label::before {
    background-color: #707070;
    box-shadow: inset 0 0 0 5px #fff;
}
.gform_wrapper .gfield-choice-input {
    visibility: hidden;
    position: absolute;
    left: 0;
    right: 0;
    padding: 0;
}
@media (max-width:1300px){
    .hero .elementor-container p {
        max-width: 100%;
        font-size: 62px;
        line-height: 92px;
    }
    .team-member .elementor-column {
        max-width: 70% !important;
        display: block !important;
    }
    .hide-desktop {
        display: block !important;
    }
    nav .sub-menu:before {
        display: none;
    }
    nav .sub-menu, .elementor-top-section .elementor-nav-menu--layout-horizontal .elementor-nav-menu>li:not(:first-child)>ul {
        transform: none;
        max-width: 100%;
        padding: 0 !important;
        margin-bottom: 0 !important;
    }
    .sub-menu a:last-child {
        padding-bottom: 20px !important;
    }
    .lead h1, footer h2 {
        font-size: 40px !important;
        line-height: 70px;
	}
	h1{
        font-size: 40px;
        line-height: 70px;
	}
    .contact-box {
        order: 2;
        max-width: 400px;
        margin-top: 100px;
    }
    .sub-menu a:before {
        content: '';
        position: absolute;
        left: 22px;
        width: 7px;
        height: 1px;
        background-color: #FFF;
    }
    .elementor-nav-menu li, .elementor-nav-menu a {
        background: #707070 !important;
    }
    .elementor-nav-menu li:nth-child(2n), .elementor-nav-menu > li:nth-child(2n) a {
        background: #646464 !important;
    }
    .sub-menu a {
        padding-left: 40px !important;
    }
    header nav ul li:last-child .sub-menu {
        padding-bottom: 0 !important;
    }
    header nav .elementor-item {
        padding: 20px 30px !important;
    }
    nav li {
        padding-left: 75px !important;
    }
    nav .sub-menu li {
        padding-left: 0px !important;
	}
}
@media (max-height:900px){
	.hero {
		padding: 150px 0 !important;
	}
	.home .hero {
        padding: 150px 0 170px 0 !important;
	}
	.hero .elementor-container p {
        font-size: 57px;
        line-height: 87px;
	}
	.lead p {
		font-size: 21px;
        line-height: 37px;
	}
}
@media (max-width:992px){
	.elementor-section-full_width .elementor-container{
		padding-left: 20px;
		padding-right: 20px;
	}
	nav li {
		padding-left: 0 !important;
	}
	.hero {
		padding: 180px 0 !important;
	}
	.lead h1 {
		font-size: 40px;
		line-height: 55px;
	}
	footer h2, h1 {
		font-size: 35px !important;
		line-height: 53px !important;
	}
    h2 {
        font-size: 28px;
        line-height: 46px;
    }
	.hero .elementor-container p {
		font-size: 57px;
		line-height: 87px;
	}
	.lead p {
		font-size: 21px;
		line-height: 37px;
	}
	.elementor-section .elementor-container {
		padding-left: 20px;
		padding-right: 20px;
    }
    .elementor-section .elementor-container .elementor-container {
        padding-left: 0;
        padding-right: 0;
	}
	.hero .elementor-container {
		max-width: 86%;
		margin: 0 auto;
	}
}
@media (max-width:768px){
    footer .elementor-widget-button .elementor-widget-container {
        margin: 0 !important;
    }
    .team-member .elementor-column {
        max-width: 100% !important;
    }
    .hero .elementor-container p {
        font-size: 45px;
        line-height: 70px;
	}
    h1 {
        font-size: 25px;
        line-height: 38px;
    }
    .lead h1 {
        font-size: 35px;
        line-height: 48px;
	}
	.lead p {
		font-size: 22px;
        line-height: 37px;
	}
    .hero {
		padding: 100px 0 !important;
	}
	.home .hero {
		padding-bottom: 150px !important;
	}
	.page-content .elementor-section:last-child {
		margin-bottom: 50px !important;
		padding-bottom: 0;
	}
    h2 {
		font-size: 20px;
        font-family: "CenturyGothicBold", sans-serif;
	}
    h3 {
		font-size: 20px;
        font-family: "CenturyGothicBold", sans-serif;
	}
	h4 {
		font-size: 19px;
        font-family: "CenturyGothicBold", sans-serif;
	}
	.lead h1, footer h2 {
		font-size: 35px !important;
		line-height: 50px !important;
	}
}
@media (max-width:500px){
	.elementor-location-footer ul li, .top-nav ul li {
		display: block;
		margin: 0;
		padding: 5px 0;
	}
	.partner-logos .elementor-widget-wrap {
		flex-wrap: wrap;
		align-items: flex-start !important;
	}
	.partner-logos .elementor-widget-image {
		text-align: left !important;
		margin-bottom: 30px !important;
		display: block;
		width: 100%;
		float: left;
	}
	.partner-logos img {
		min-width: 50px;
		width: unset;
	}
	.lead h1, footer h2, h1 {
		font-size: 25px !important;
		line-height: 37px !important;
        hyphens: auto;
	}
	.partner-logos .elementor-widget-image img {
		margin-right: auto !important;
		display: block;
	}
	.hero .elementor-container {
		max-width: 100%;
		margin: 0 auto;
		padding: 0px 30px;
	}
	.hero .elementor-container p {
		font-size: 40px;
		line-height: 55px;
	}
	.hero h5 {
		font-size: 20px;
	}
	.lead p {
		font-size: 19px;
		line-height: 34px;
	}
	.cta-more p {
		font-size: 15px;
	}
	.map iframe {
		height: 400px;
	}
}
@media (max-width:375px){
	.elementor-location-footer ul li, .top-nav ul li {
        display: block;
        margin: 0;
        padding: 5px 0;
    }
    .hero .elementor-container p {
        font-size: 37px;
        line-height: 55px;
    }
}    