/* 
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://use.typekit.net/ioo4czv.css");

:root {
	--custom-title-color: #4B7896 !important;
	--custom-body-color: #4B7896 !important;
}

body {
    font-family: "elido", sans-serif;
    font-weight: 500;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #4B7896;
    font-size: 20px;
    line-height: 1.4;
    overflow-x: hidden;
}
.fadeInDown {
    animation-name:fadeInDownCustom!important
}
.animated {
    animation-duration:1.5s!important
}   
@keyframes fadeInDownCustom {
from {
    opacity:0;
    transform:translate3d(0,-30px,0)
}
to {
    opacity:1;
    transform:none
}
}
.no-br img {
    border-radius: 0 !important;
}
b, strong, .elementor-button, .main-nav nav .elementor-item, .footer-cta p, .footer-contact, h1, h2, h3, h4, h5, h6, .hero p,
.elementor-button, .section-social p, .breadcrumb-hero span, .elementor-accordion-item ul a, main a, .overlay-menu nav .elementor-item {
    font-weight: 700;
}
.breadcrumb-hero .breadcrumb_last {
    font-weight: 500;
}
p:last-child, p:only-child, .lead p:last-child, .lead p:only-child {
    margin-bottom: 0;
}
h1 {
    font-size: 57px;
    margin-bottom: 35px;
    line-height: 1.1;
}
.hero h1 {
    font-size: 80px; 
}
h6 {
    font-size: 22px;
    color: #77A0BE;
}
* + h2, * + h3, * + h4, * + h5, * + h6 {
    margin-top: 45px;
}
p {
    margin-bottom: 20px;
}
.lead p, .hero p {
    font-size: 27px;
    line-height: 1.5;
}
.main-nav nav .elementor-item, .overlay-menu nav .elementor-item, .overlay-menu nav .elementor-item:hover, .overlay-menu nav .elementor-item:focus, .overlay-menu nav .elementor-item:active, .overlay-menu nav .elementor-item.highlighted {
    font-size: 23px;
    color: #abb0b5;
}
header .elementor-button, .overlay-menu .elementor-button {
    background: #BC706B;
    padding: 7px 12px;
    border-radius: 30px;
    font-size: 16px;
}
.current-menu-item a, header nav a:hover, .current-menu-parent > a {
    color: #4B7896 !important;
}
#main-header nav .sub-menu,.elementor-top-section .elementor-nav-menu--layout-horizontal .elementor-nav-menu>li>ul {
    padding: 15px!important;
    left: 50%!important;
    right: auto;
    text-align: center;
    transform: translate(-50%,0);
    min-width: 250px!important;
    width: auto!important;
    border-radius: 20px;
    box-shadow: none;
    margin-top: 30px!important;
    top: 40px!important;
    display: block!important;
    opacity: 0!important;
    visibility: hidden!important;
    -webkit-transition: all .5s ease-in-out!important;
    -moz-transition: all .5s ease-in-out!important;
    transition: all .5s ease-in-out!important;
    background-color: #4B7896;
    max-width: 250px;
}
#main-header .elementor-nav-menu--main>.elementor-nav-menu>li:hover>.elementor-nav-menu--dropdown {
    top: 20px!important;
    opacity: 1!important;
    visibility: visible!important;
    left: 50%!important
}
#main-header nav .sub-menu a {
    padding: 8px 10px!important;
    white-space: normal !important;
}
.main-nav .sub-menu:before {
    content: "";
    position: absolute;
    width: 25px;
    height: 10px;
    top: -9px;
    left: 50%;
    display: block;
    background: #4B7896;
    margin-left: -18px;
    clip-path: polygon(50% 0%,0% 100%,100% 100%)
}
.main-nav .sub-menu a {
    color: #fff !important;
}
.main-nav .menu-item-has-children:hover .sub-arrow svg {
    transform: rotate(180deg);
    transform: all .5s ease-in-out;
}
.main-nav .elementor-sub-item {
    font-size: 19px;
    text-align: center;
    font-weight: 700;
}
.elementor-nav-menu a {
    display: flex;
    justify-content: center;
}
.main-nav .menu-item-has-children .sub-arrow svg {
    transform: all .5s ease-in-out;
}
.sub-arrow svg {
    fill: #abb0b5 !important;
}
ul.elementor-nav-menu--dropdown a,ul.elementor-nav-menu--dropdown a:focus,ul.elementor-nav-menu--dropdown a:hover {
    text-shadow: none;
    border-left: none!important
}
.elementor-nav-menu--dropdown .elementor-item.elementor-item-active,.elementor-nav-menu--dropdown .elementor-item.highlighted,.elementor-nav-menu--dropdown .elementor-item:focus,.elementor-nav-menu--dropdown .elementor-item:hover,.elementor-sub-item.elementor-item-active,.elementor-sub-item.highlighted,.elementor-sub-item:focus,.elementor-sub-item:hover {
    background-color: transparent!important;
}
.hero-image {
    position: absolute;
    width: 60vw;
    left: 40vw;
    height: 900px !important;
    top: -75px;
}
.hero p {
    color: #77A0BE;
}
.elementor-nav-menu--dropdown.elementor-nav-menu__container .elementor-sub-item {
    font-size: 21px !important;
    color: #abb0b5 !important;
    padding: 13px 0 !important;
}
.overlay-menu nav .elementor-item, .overlay-menu nav .elementor-item:hover, .overlay-menu nav .elementor-item:focus, .overlay-menu nav .elementor-item.highlighted {
    font-size: 26px;
}
.overlay-menu .dialog-widget-content {
    animation-duration: 0.5s !important;
}
.overlay-menu .dialog-close-button {
    background-image: url('assets/img/menu-close.svg');
    width: 35px;
    height: 35px;
    background-size: cover;
    background-position: center;
}
.overlay-menu .dialog-close-button svg {
    display: none;
}
.sub-arrow svg {
    transition: all .3s ease;
}
.highlighted .sub-arrow svg {
    -webkit-transform: rotate(-180deg);
    -moz-transform: rotate(-180deg);
    -o-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

main .e-parent {
    margin: 100px 0!important;
}
main .e-parent .e-parent {
    margin:0!important
}
main .hero {
    margin: 0!important;
}
main .mt-0 {
    margin-top: 0!important;
}
.lead p {
	max-width: 1100px;
	margin-bottom: 30px;
}
.bg-color {
  padding-top: 50px;
  padding-bottom: 70px;
}
.bg-color p, .bg-color h1, .bg-color h2, .bg-color h3 {
    color: #fff;
}
.elementor-field-group .elementor-field-textual {
  padding: 15px !important;
    padding-left: 15px;
  border-radius: 30px;
  background-color: #f1f5f8 !important;
  border: 0;
  color: rgb(75, 120, 150);
  font-size: 18px;
  padding-left: 26px !important;
}
.cta-box::before, .hero-sub::before {
    content: '';
    background-color: #f1f5f8;
    width: 75vw;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    border-radius: 0 300px 300px 0;
}
.hero-sub::before {
    background-color: #4B7896;
    width: 96vw;
    left: auto;
    right: 0;
    border-radius: 300px 0 0 300px;
}
.hero-sub * {
    color: #fff !important;
}
main .elementor-button {
    background: #fff;
    border-radius: 30px;
    padding: 15px 30px;
    color: #4B7896 !important;
    text-transform: uppercase;
    font-size: 18px;
    text-decoration: none !important;
}
.btn-color .elementor-button {
    background: #F1F5F8;
}
.btn-color svg {
    fill: #4B7896 !important;
}
.section-social p {
    font-size: 45px;
    line-height: 1;
    color: #4B7896;
}
.section-social img {
    width: 75px;
}
.section-social h6 {
    margin-top: 0;
}
.jobs-listing h3, .news-slider h3 {
    margin-top: 0 !important;
}
header img, footer img {
    border-radius: 0 !important;
}
main a, main a:hover, main a:focus {
  color: #4B7896;
  text-decoration: underline;
  text-decoration-color: currentcolor;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 4px;
  text-decoration-color: #77A0BE;
}
.elementor-accordion-item {
    border-radius: 15px;
    margin-bottom: 35px;
	overflow: hidden;
}
.elementor-accordion-item:last-child {
    margin-bottom: 0;
}
a.elementor-accordion-title {
    text-decoration: none !important;
}
.elementor-button svg {
  fill: #4B7896;
}
header .elementor-button svg, .overlay-menu .elementor-button svg {
  fill: #fff;
}
.elementor-button:hover, .social-listing li:hover, button:hover, [type="button"]:hover, [type="submit"]:hover, .section-property-listing .apply-filters__button:hover {
  transform: scale(.95);
}
.fadeInUp {
  animation-name:fadeInUpCustom!important
}
@keyframes fadeInUpCustom {
  from {
    opacity:0;
    transform:translate3d(0,25px,0)
  }
  to {
    opacity:1;
    transform:none
  }
}
ul + * {
  margin-top: 25px;
}
.mail-icon .elementor-icon {
    display: none;
}
.mail-icon a.elementor-icon {
    display: block;
}
main a {
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 4px;
}
main .breadcrumb-hero a {
    color: #4B7896;
}
privacybee-widget div, privacybee-widget div ul li, privacybee-widget div a {
	max-width: 100% !important;
	line-height: inherit !important;
}


footer {
    color: #fff;
    margin-top: 150px;
}
.footer-signature {
    max-width: 100px !important;
    height: auto;
    top: -100px !important;
}
.footer-cta p {
    font-size: 28px;
    color: #fff;
}
footer .credits ul {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    padding: 0;
    flex-wrap: wrap;
    font-size: 17px;
}
footer .credits ul li {
    margin-right: 40px;
}
footer a {
    color: #fff;
}

/* Responsive Settings */
@media screen and (max-width: 1500px) {
    .e-con > .e-con-inner, .e-con-full.e-parent .e-child {
      width: calc(100vw - 80px);
      margin: 0 auto;
    }
    .e-loop-item .e-con-inner, .e-con > .e-con-inner .e-con-inner {
      width: 100%;
      margin: 0 auto;
    }
}
@media screen and (max-width: 1200px) {
    .e-con > .e-con-inner, .e-con-full.e-parent .e-child {
        width: calc(100vw - 50px);
        margin: 0 auto;
    }
    .hero h1 {
        font-size: 60px;
    }
    .elementor-nav-menu a, .elementor-nav-menu a:focus, .elementor-nav-menu a:hover {
        padding: 17px 0 !important;
    }
    .elementor-nav-menu a {
        display: flex;
        justify-content: start;
    }
}
@media screen and (max-width: 768px) {
    body {
        font-size: 19px;
    }
    .section-social img {
        width: 60px;
    }
    .hero h1 {
        font-size: 42px;
    }
    h1, .section-social p {
        font-size: 32px;
    }
    .overlay-menu .dialog-close-button {
        width: 30px;
        height: 30px;
    }
    .hero-image {
        position: absolute;
        width: 100% !important;
        left: 36px !important;
        height: calc(100% - 20px) !important;
        top: 0;
    }
    .hero-text {
        background-image: linear-gradient(100deg, #FFF 30%, #FFF0 75%) !important;
    }
    .lead p, .hero p {
        font-size: 23px;
        line-height: 1.5;
    }
    .footer-signature {
        top: -93px !important;
    }
	.cta-box::before {
		content: '';
		background-color: #f1f5f8;
		width: 100vw;
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		z-index: -1;
		border-radius: 0;
	}
	.cta-box h2 {
		font-size: 1.5rem;
	}
	main .e-parent {
		margin: 60px 0 !important;
	}
	.elementor-accordion h3 {
		font-size: 25px !important;
		hyphens: auto;
	}
	.elementor-accordion-item {
		margin-bottom: 20px;
	}
}