/* 
Theme Name: Supersaxo Media AG – Child Theme
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child Theme.
Author: Supersaxo Media AG
Author URI: https://www.supersaxo.media/
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 */

html, body {
    overflow-x: hidden;
}

/* Header */
.logo img {
    transition: all .3s ease;
}
.scrolling .logo img {
    width: 190px !important;
}
#header-main.headroom--unpinned nav .sub-menu{
    display: none !important;
}
.header-topnav a, footer .footer-credits * {
	font-size: .85rem;
}
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;
}
#header-main nav .sub-menu,
.elementor-top-section .elementor-nav-menu--layout-horizontal .elementor-nav-menu>li>ul {
	padding: 20px!important;
	left: 50%!important;
	right: auto;
	text-align: center;
	transform: translate(-50%,0);
	min-width: 250px!important;
	width: auto!important;
	border-radius: 12px;
	box-shadow: 5px 6px 30px rgba(0,0,0,.1);
	margin-top: 0!important;
	top: 50px!important;
	display: block!important;
	opacity: 0!important;
	visibility: hidden!important;
	background: var( --e-global-color-secondary );
	-webkit-transition: all .4s ease-in-out!important;
	-o-transition: all .4s ease-in-out!important;
	transition: all .4s ease-in-out!important;
}
#header-main .elementor-nav-menu--main>.elementor-nav-menu>li:hover>.elementor-nav-menu--dropdown {
  	top: 70px!important;
  	opacity: 1!important;
  	visibility: visible!important;
  	left: 50%!important;
}
#header-main nav .sub-menu:after {
	content: "";
  	position: absolute;
  	top: -20px;
  	left: 0;
  	width: 100%;
  	height: 20px;
  	display: block;
  	background: transparent;
}
#header-main .sub-menu::before {
  	content: "";
  	position: absolute;
  	top: -8px;
  	left: 50%;
    transform: translateX(-50%) !important;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 0 15px 10px 15px;
    border-color: transparent transparent var( --e-global-color-secondary ) transparent;
    transform: rotate(0deg);
    border-radius: 5px;
}
#header-main .elementor-nav-menu--dropdown a {
  	color: #fff;
  	padding: 0 !important;
  	font-size: 21px;
  	font-weight: 600;
  	max-width: 280px;
  	white-space: normal;
  	word-wrap: break-word;
  	overflow-wrap: break-word;
  	text-align: left;
}
#header-main .sub-menu li:not(:last-child) {
	margin-bottom: 15px;
}
#header-main .elementor-sub-item:hover, .overlay-menu a:hover, .overlay-menu a:visited, .overlay-menu a:focus, .elementor-popup-modal .dialog-widget-content {
  	background-color: transparent !important;
}
#header-main .navigation-main .menu-item a:not(.elementor-sub-item) {
  	margin-bottom: 35px;
}
#header-main a:hover {
	color: inherit !important;
}
#header-main .sub-menu a:hover {
	color: #fff !important;
}
#header-main nav .sub-menu .sub-menu {
	display: none !important;
}
#header-main .elementor-sub-item.elementor-item-active, #header-main .elementor-sub-item.highlighted, #header-main .elementor-sub-item:focus, #header-main .elementor-sub-item:hover {
    background-color: transparent !important;
}
#header-main .sub-arrow {
    display: none !important;
}

/* Mainstyles */
h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
    margin-top: 0;
}
#content section {
    margin-top: clamp(3.333rem, 7.389vw + 1.281rem, 6.667rem);
}
.section-zeiter {
	margin-top: calc(clamp(3.333rem, 7.389vw + 1.281rem, 6.667rem) - 30px) !important;
    margin-bottom: clamp(3.333rem, 7.389vw + 1.281rem, 6.667rem);
}
.section-space-bottom {
	margin-bottom: clamp(3.333rem, 7.389vw + 1.281rem, 6.667rem);
}
p:last-child, p:only-child {
    margin-bottom: 0;
}
.lead p {
    font-size: 28px;
    line-height: 1.3;
}
.home h1 {
    font-size: 23px;
	color: var( --e-global-color-secondary );
	margin-bottom: 30px;
}
.small-title h1 {
  	font-size: clamp(40px, 0.6989rem + 3.7634vw, 65px);
  	margin-bottom: 30px;
}
.section-hero .lead {
	margin-bottom: 20px;
}
section a {
	border-bottom: 2px dotted var( --e-global-color-primary );
    text-decoration: none;
    transition: all .3s ease;
	color: var( --e-global-color-primary ) !important;
}
.current-menu-ancestor a, .current-menu-item a {
	text-decoration: underline dotted var(--e-global-color-secondary) 2px;
	text-underline-offset: 4px;
}
.swiper-wrapper {
    padding-top: 15px;
}
.swiper-slide .elementor-widget-image::before {
    content: '';
	position: absolute;
    background-image: url(assets/img/outline-circle.svg);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    padding-top: 100%;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 1;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    transform: scale(0.9);
    z-index: -1;
}
.swiper-slide-active .elementor-widget-image::before {
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    top: -10px;
    left: -10px;
    transform: scale(1);
    z-index: 1;
}
.section-partner .e-grid .elementor-widget-image{
    border-bottom: 2px dotted rgba(172, 39, 35, .2);
	padding: 70px;
  	min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.section-partner .e-grid .elementor-widget-image .elementor-widget-container {
	height: auto;
}
.section-partner .e-grid .elementor-widget-image img{
    max-width: 180px;
	max-height: 60px;
	height: auto;
	width: auto;
}
.section-partner .e-grid .elementor-widget-image:before{
	content: '';
    width: 36px;
    height: 36px;
    background: #fff;
    position: absolute;
    left: -18px;
    bottom: -18px;
    z-index: 1;
}
.section-partner .e-grid .elementor-widget-image:not(:nth-child(3n)) {
    border-right: 2px dotted rgba(172, 39, 35, .2);
}
.section-partner .e-grid .elementor-widget-image:nth-last-child(-n+3) {
	border-bottom: 0 !important
}
.elementor-gallery-item__overlay:hover::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	right: 0;
	bottom: 0;
	background-image: url('assets/img/fullscreen-icon.svg');
	background-size: cover;
	background-position: center;
	width: 40px;
	height: 40px;
	z-index: 10;
}
.elementor-button span {
  	color: #AC2723;
  	font-size: 19px;
}
.btn-small .elementor-button {
  	border: 0;
  	font-weight: 400;
}
.btn-small .elementor-button span{
  	color: var(--e-global-color-primary) !important;
  	font-size: 19px;
	text-decoration: underline dotted var(--e-global-color-primary) 2px;
}
.elementor-button {
	background-color: transparent !important;
}
.elementor-button:hover {
    background-color: var(--e-global-color-secondary) !important;
    border-color: var(--e-global-color-secondary) !important;
    transform: scale(0.98);
    box-shadow: 0px 0px 20px rgba(0,0,0,0.2);
}
.elementor-button:hover span {
    color: #fff !important;
}
.fullscreen-hero {
  	min-height: 500px !important;
}
.swiper-slide img {
    border-radius: 20px;
}
.swiper-pagination {
    bottom: -10px !important;
}
.section-images .elementor-image-carousel-wrapper.swiper{
    max-width: 90vw;
}
.section-images .elementor-swiper-button-next {
    right: 20px !important;
}
.section-images .elementor-swiper-button-prev {
    left: 20px !important;
}
.cta-sub .lead p {
    font-size: 24px;
}
.section-service .e-con-inner {
	border-radius: 20px;
	overflow: hidden;
}
.section-service .elementor-widget-image:not(.no-ratio) {
  	padding-top: 66.66%;
  	overflow: hidden;
}
.section-service .elementor-widget-image:not(.no-ratio) 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: all .3s ease-in-out !important;
}
#cta-section{
	padding-left: 0 !important;
	padding-right: 0 !important;
}
/* Footer */
footer h4 {
    font-size: 28px !important;
    color: #fff !important;
}
footer a {
	text-decoration: underline dotted var( --e-global-color-906521c ) 2px !important;
}
footer .e-con-full:not(.credits) ul {
    font-size: 22px;
    list-style-type: none;
    padding: 0;
    line-height: 1.6;
}
footer .e-con-full.credits ul {
    list-style-type: none;
    padding: 0;
	display: flex;
	flex-direction: row;
	gap: 40px;
	font-size: 17px;
}

@media screen and (max-width: 1430px) {
	header header, #content section, footer footer{
		padding: 0 30px !important;
	}	
}
@media screen and (max-width: 1350px) {
	.section-images .elementor-swiper-button-next {
		right: 10px !important;
	}
	.section-images .elementor-swiper-button-prev {
		left: 10px !important;
	}
}
@media screen and (max-width: 1024px) {
	.lead p {
		font-size: 25px;
		line-height: 1.3;
	}
	ul.sub-menu[aria-expanded="false"] {
		display: none !important;
		opacity: 0;
	}
	ul.sub-menu[aria-expanded="true"] {
		position: relative;
		margin-left: 0 !important;
		margin-top: 10px !important;
	}
	.sub-menu a {
		padding: 5px 0px !important;
	}
}
@media screen and (max-width: 767px) {
	.fullscreen-hero {
		min-height: 350px !important;
		height: 500px !important;
	}
	.scrolling .logo img {
		width: 160px !important;
	}
	.lead p {
		font-size: 20px;
	}
	.section-partner .e-grid .elementor-widget-image:not(:nth-child(3n)) {
		border-right: 0;
	}
	.section-partner .e-grid .elementor-widget-image:nth-last-child(-n+3){
		border-bottom: 2px dotted rgba(172, 39, 35, .2) !important;
	}
	.section-partner .e-grid .elementor-widget-image:last-of-type{
		border-bottom: 0 !important;
	}
}
@media screen and (max-width: 600px) {
	header header, #content section, footer footer{
		padding: 0 20px !important;
	}	
}
@media screen and (max-width: 540px) {
	html, body{
		hyphens: auto;
	}
	footer .e-con-full.credits ul {
		display: flex;
		flex-direction: column;
		gap: 0px;
	}
}