/* 
Theme Name: sichtbarkeit.ch – Child Theme
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child Theme.
Author: Martin Aue Sichtbarkeit GmbH
Author URI: https://www.sichtbarkeit.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 sichtbarkeit.ch */

b, strong {
    font-weight: 600;
}
nav a, .elementor-button {
  text-decoration: none !important;
}
.main-gallery .swiper .swiper-slide:nth-child(2n) .elementor-widget-image {
	margin-top: 70px !important;
}
.main-gallery .swiper .swiper-slide:nth-child(4n) {
	margin-top: 220px !important;
}
.main-gallery .e-n-carousel {
	padding-top: 50px !important;
	padding-bottom: 50px !important;

}
h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
  margin-top: 0;
}
h1 + p {
	margin-top: 30px;
}
h2 {
	margin-bottom: 15px;
}
h3 {
  margin-bottom: 10px;
}
.elementor-widget-text-editor ul {
    margin-bottom: 25px;
}
.page-content section:not(.section-hero), .single section:not(.section-hero), .elementor-location-archive section:not(.section-hero), .page section:not(.section-hero), footer, .single-post section, .single-wissen section {
    margin-top: 130px;
}
footer {
    margin-top: 180px;
}
.hero-section {
    margin-bottom: -27px;
}
p:last-child, p:only-child {
    margin-bottom: 0;
}
.rotatingimage {
  position:absolute;
  z-index:1;
  -webkit-animation:10s linear infinite spin;
  animation:10s linear infinite spin;
  width:170px
}
.bg-section .rotatingimage {
  position:absolute;
  top:-88px;
  right:-87px;
  z-index:1;
  -webkit-animation:10s linear infinite spin;
  animation:10s linear infinite spin
}
@-webkit-keyframes spin {
  to {
    transform:rotate(1turn)
  }
}
@keyframes spin {
  to {
    transform:rotate(1turn)
  }
}
.rotatingimage {
  z-index:1;
  -webkit-animation:15s linear infinite spin;
  animation:15s linear infinite spin;
  width:170px;
}
@-webkit-keyframes spin {
  to {
    transform:rotate(1turn)
  }
}
@keyframes spin {
  to {
    transform:rotate(1turn)
  }
}
.main-gallery .swiper .swiper-slide .elementor-widget-image {
	padding-top: 150%;
	overflow: hidden;
}
.main-gallery .swiper .swiper-slide:nth-child(2n) .elementor-widget-image {
	padding-top: 100%;
	overflow: hidden;
}
.main-gallery .swiper .swiper-slide .elementor-widget-image {
	border-radius: 8px;
	overflow: hidden;
}
.main-gallery .swiper .swiper-slide .elementor-widget-image img, .main-gallery .swiper .swiper-slide:nth-child(2n) .elementor-widget-image 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;
}
#sb_instagram {
    padding-bottom: 0 !important;
}
.credits ul {
    display: flex;
    list-style-type: none;
    gap: 30px;
    padding: 0;
    font-size: 15px;
	text-align: center;
  	justify-content: center;
}
.sbi_photo_wrap {
  border-radius: 8px !important;
}
.tablepress:not(.times) tr {
    border-bottom: 1px solid black;
}
.tablepress:not(.times) > :not(caption) > * > * {
    padding: 10px 0;
}
.tablepress:not(.times) .column-2 {
    text-align: right;
}
.tablepress:not(.times) .column-1 {
    font-weight: 600;
}
.cta-section h2 {
	font-size: clamp(1.667rem, 0.079rem + 5.714vw, 3.889rem);
	font-weight: 400;
}
.single-post h1, .single-wissen h1 {
    color: var(--e-global-color-primary);
    font-family: "Rethink Sans", Sans-serif;
    font-size: clamp(1.667rem, 1.071rem + 2.143vw, 2.5rem);
    font-weight: 600 !important;
	letter-spacing: 0;
	text-transform: none;
}
@media screen and (max-width: 767px) {
		
.cta-section h2 {
	font-weight: 600;
}
}


@media screen and (max-width: 1300px) {
	.e-con-full.e-parent,
	.e-con-boxed.e-parent .e-con-inner,
	.cta-boxes .e-con-inner {
		padding-left: 40px;
		padding-right: 40px;
	}
	.e-con-full.section-fullwidth,
	.dialog-widget .e-con-boxed.e-parent .e-con-inner,
	.subpage-container .e-con-inner,
	.section-hero,
	.e-con-full.section-hero,
	.e-con-boxed.e-parent .e-con-inner .e-con-inner {
		padding-left: 0;
		padding-right: 0;
	}
}
@media screen and (max-width: 767px) {
	.e-con-full.e-parent,
	.e-con-boxed.e-parent .e-con-inner,
	.cta-boxes .e-con-inner {
		padding-left: 20px;
		padding-right: 20px;
	}
	.e-con-full.section-fullwidth,
	.dialog-widget .e-con-boxed.e-parent .e-con-inner,
	.e-con-boxed.subpage-container .e-con-inner,
	.e-con-full.section-hero,
	.e-con-boxed.e-parent .e-con-inner .e-con-inner {
		padding-left: 0;
		padding-right: 0;
	}
}

@media screen and (max-width: 1024px) {

nav {
  padding-top: 20px !important;
  padding-bottom: 0 !important;
}
		.main-gallery .swiper .swiper-slide .elementor-widget-image,
	.main-gallery .swiper .swiper-slide:nth-child(2n) .elementor-widget-image {
	padding-top: 100% !important;
	overflow: hidden;
	}
	
	.main-gallery .swiper .swiper-slide:nth-child(2n) .elementor-widget-image {
	margin-top: 0 !important;
}
.main-gallery .swiper .swiper-slide:nth-child(4n) {
	margin-top: 0 !important;
}
.main-gallery .e-n-carousel {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	margin-left: 0;
  margin-right: 0;
}
	.page-content section:not(.section-hero), .single section:not(.section-hero), .elementor-location-archive section:not(.section-hero), .page section:not(.section-hero), footer {
    margin-top: 80px;
}
footer {
    margin-top: 120px;
}
	
	}