/*
Theme Name: Energiekongress Clone
Author: Die Gestalter (original) — bundled for the energiekongress.ch clone
Description: Brand theme for the energiekongress.ch clone. Bundles the original site's CSS, Univers fonts and logo so cloned content renders on-brand while staying editable in WordPress.
Version: 1.0.0
Tags: energiekongress, clone
*/

:root {
	--col-1: rgba(0,66,88,1);
}

body {
	font-family: Univers, sans-serif;
	font-size: 15px;
	line-height: 1.4;
	padding-top: 94px;
}

.mainHeader {
	position: relative;
	overflow:hidden;
	color: white;
	height: auto;
	background-color: transparent;
}

.logoContainer {
	width: 100%;
	height: 94px;
	position: fixed;
	z-index: 3;
	top: 0;
	left:0;
	padding: 0;
	background-color: white;
}

.logoContainer .congressLogo {
	position: relative;
	top: 0;
	left:0;
	width: 140px;
}

.logoContainer>a {
	display:inline-block;
	padding: 3vw 6vw;
}

.logoContainer h1 {
	margin: 0;
}

.logoContainer img {
	width: 100%;
}

.headerImage {
	padding-bottom: 74.5%;
}

.mainHeader .headerImage img {
	position: absolute;
	width: 100%;
	height: auto;
}

.main {
	position: relative;
	margin: 0 auto;
	padding-top: 3em;
}

.home .main {
	padding-top: 0;
}

.main>h1 {
	display:block;
	font-size: 2em;
	font-weight: bold;
}

.main>h1,
.untertitel_datum {
	padding: 0 6vw;
}

.contentSection .untertitel_datum {
	padding-left: 0;
	padding-right: 0;
}


.mainContent h2 {
	font-size: 2em;
	line-height: 1.2;
	font-weight: bold;
	margin-top: 2em;
}

.mainContent h2:first-of-type {
	margin-top: 0;
}

.untertitel_datum h2 {
	font-weight: bold;
	font-size: 1.2rem;
}


.contentSection {
	position: relative;
	padding: 2em 6vw;
}

.contentSection a:not(.containsImg) {
	border-bottom: 1px solid #000;
}


.videoDiv {
	margin-top: 2em;
	position:relative;
	width: 100%;
	height: 0;
	padding-bottom: 56%;
}

.videoDiv iframe {
	position: absolute;
	width: 100%;
	height: 100%;
}

/*   close icon   */

.closeIcon {
	position: absolute;
	top: 1em;
	left: calc(8vw - 12px);
	width: 42px;
	height: 42px;
	cursor:pointer;
	z-index: 10;
}

.closeIcon span {
	display:block;
	position: absolute;
	height: 2px;
	background-color: white;
	width: 100%;
	transform: rotate(45deg);
	top: 23px;
}

.closeIcon span:first-child {
	transform: rotate(-45deg);
}



.overlaySticker {
	position: fixed;
	top: 40vw;
	left: 70vw;
	width: 24vw;
	aspect-ratio: 1/1;
	z-index: 2;
	transition: transform 0.3s ease;
}

.overlaySticker .stickerContent {
	margin-top: -0.5em;
	transform: rotate(-9deg);
}

.overlaySticker .sticker-wrapper {
	display:flex;
	align-items: center;
	justify-content: center;
	background: var(--col-1);
	background: linear-gradient(80deg, rgb(116,157,101) 0%, var(--col-1) 100%);
	border-radius: 50%;
	color: white;
	font-weight: bold;
	font-size: 3.8vw;
	width: 100%;
	height: 100%;
	text-align: center;
}

.overlaySticker a {
	color: inherit;
}

.overlaySticker.shrink {
	transform: scale(0.7) translate(6vw, -25vw);
}



/*		home sub sections		*/

.homeSubSection {
	text-align: center;
}

.homeSubSection .sectionTitle {
	font-size: 2em;
	color: var(--col-1);
}

.homeSubSection h3 {
	font-weight: bold;
	font-size: 2.3em;
	line-height: 1.2;
	margin-top: -0.3em;
}

.homeSubSection img {
	max-width: 60%;
}

.trennbildSection img {
	max-width: none;
	width: 100%;
}


.extraSection p strong {
	color: var(--col-1);
}



/*   sponsoren   */

.sponsoren .mainContent p a {
	display:inline-block;
	margin-right: 1em;
	margin-top: 1em;
	vertical-align: middle;
}


/*   footer   */

.mainFooter {
	position: relative;
	padding: 3rem 0 0 0;
}

.mainFooter .footer-columns-wrapper {
	padding-top: 3em;
	padding-bottom: 3em;
	background: var(--col-1);
	background: linear-gradient(90deg, rgb(0,0,0) 0%, var(--col-1) 100%);
	color: white;
	font-size: 0.7rem;
}

.mainFooter .footer-title {
	font-size: 1.1rem;
}

.mainFooter .footer-columns a {
	color: inherit;
}

.mainFooter address a {
	text-decoration: underline;
}

.mainFooter .footer-nav a {
	text-align: right;
	display:block;
	padding: 0.7em 1em;
	margin-right: -1em;
}

.impressumLink {
	display:inline-block;
	text-align: center;
}

.mainFooter .social-links {
	display:flex;
	flex-direction: row;
	gap: 1rem;
}

.mainFooter .footer-nav ul {
	margin: 0;
}

.mainFooter .marquee-footer-title-wrapper {
	padding: 0 6vw;
}

.mainFooter .marquee-footer-title {
	margin-bottom: 0.4em;
	font-weight: bold;
	font-size: 2em;
	line-height: 1.2;
}



/*   anmeldeformular   */
#anmeldeformular {
	margin: 50px 15px;
}

.wpcf7 h1 {
	font-size: 2em;
    font-weight: bold;
	margin-bottom: 0;
}

.wpcf7 h3 {
	font-size: 1.5em;
	line-height: 1.2em;
  color: var(--col-1);
	margin-bottom: 0.5em;
	margin-top: 1em;
}

.wpcf7 input[type="submit"] {
  background-color: var(--col-1);
	color: white;
	padding: 0.4em 1.4em;
	border: none;
	cursor:pointer;
	border-radius: 0.1em;
	margin-top: 1em;
}

.wpcf7 .byline {
	font-size: 18px;
	color: #000;
	margin: 0 0 50px;
}

.wpcf7 span.wpcf7-list-item {
	display: block;
}

.wpcf7 label {
	vertical-align: baseline;
	min-width: 270px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"] {
	border: 1px solid lightgrey;
	border-radius: 0;
	padding: 5px;
	width: 100%;
}

span.wpcf7-list-item {
	margin: 0;
}

input[type="checkbox"] {
	margin: 0;
}

.wpcf7 input[type="radio"] {
	margin-right: 10px;
}

.wpcf7 .associated {
	margin-left: 2em;
	margin-top: -1em;
}

.wpcf7 .checkbox-03 .wpcf7-list-item.last input {
	display: none;
}

.wpcf7 .checkbox-03 .wpcf7-list-item.last span.wpcf7-list-item-label {
	margin: 5px 0 10px 29px;
	display: inline-block;
}

span.wpcf7-not-valid-tip {
	font-size: 1rem;
}

.grecaptcha-badge {
	position: relative !important;
	bottom: 2em !important;
	margin-top: 2em !important;
	left: 6vw !important;
}


/* logo-ticker */

.marquee {
  position: relative;
  display: flex;
  overflow: hidden;
	margin-bottom: 0.5vw;
}

.marquee__content {
  display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
  flex-shrink: 0;
	padding: 0.5em 0;
	animation: scroll 25s linear infinite;
	color: var(--orange);
}

.marquee__content img {
	margin: 0 2vw;
	max-width: none;
}

.marquee__content img.portrait {
	height: 8vw;
	width: auto;
}

.marquee__content img.landscape {
	width: 20vw;
	height: auto;
}

@keyframes scroll {
  from { transform: translateX(0); }
	to { transform: translateX(-100%); }
}



/* anreise */

.anreise-iframe-wrapper {
	width: 100%;
	height: auto;
}

.anreise-iframe-wrapper iframe {
	width: 100%;
	height: auto;
	aspect-ratio: 4/3;
}

/* impressum & Datenschutz */

.impressum h2, .datenschutz h2 {
	font-size: 1.6rem;
	line-height: 1.2;
	margin-bottom: 0.7em;
}


.impressum h3, .datenschutz h3 {
	font-size: 1.2rem;
	line-height: 1.2;
	font-weight: bold;
	margin-bottom: 0.2em;
}

.impressumg h2:not(:first-child),
.datenschutz h2:not(:first-child) {
	margin-top: 3em;
}

.impressum h3:not(:first-child),
.datenschutz h3:not(:first-child) {
	margin-top: 2em;
}

/*   mobile only  */
@media screen and (max-width: 650px) {
	
	.mainFooter .footer-columns {
		position: relative;
		padding: 0 6vw;
	}
	
	.mainFooter .col-1 {
		max-width: 34ch;
	}

	.mainFooter .social-links {
		position: absolute;
		top: 0;
		right: 11vw;
		gap: 3vw;
	}
	
	.mainFooter .social-links img {
		width: 9.5vw;
		aspect-ratio: 1/1;
	}
	
	.mainFooter .footer-nav {
		position: absolute;
		bottom: -0.65em;
		right: 11vw;
		text-align: right;
		font-weight: bold;
	}
}



/*   tablet & desktop   */
@media screen and (min-width: 650px) {

	body {
		font-size: 18px;
		line-height: 1.4;
		padding-top: 130px;
	}
	
	.logoContainer {
		height: 130px;
	}
	
	.logoContainer>a {
		padding: 20px 6vw;
	}

	.logoContainer .congressLogo {
		width: 180px;
	}
	
	.headerImage {
		padding-bottom: 33%;
	}
	
	.mainHeader .headerImage img {
		top: 50%;
		transform: translate(0,-50%);
	}
	

	.main {
		max-width: 1200px;
		padding-left: 6vw;
		padding-right: 6vw;
		padding-top: 4em;
	}
	
	.home .main {
		padding-top: 1em;
	}

	.main>h1 {
		font-size: 2em;
	}
	
	.main>h1,
	.untertitel_datum {
		padding: 0;
	}
	
	.untertitel_datum h2 {
		font-size: 1.5rem;
	}

	.contentSection {
		padding: 3em 0;
	}


	.trennbildSection {
		display:none;
	}
	
	.overlaySticker {
		top: 18vw;
		left: 7vw;
		width: 11vw;
	}
	
	.overlaySticker .sticker-wrapper {
		font-size: 1.8vw;
	}

	.overlaySticker.shrink {
		transform: scale(0.9) translate(-6vw, -1vw);
	}
	
	
	/* main footer */
	
	.mainFooter {
		padding-top: 8rem;
	}
	
	.mainFooter .footer-columns-wrapper {
		font-size: 0.9rem;
	}
	
	.mainFooter .footer-columns {
		display:flex;
		flex-direction: row;
		justify-content: space-between;
		max-width: 1200px;
		margin: 0 auto;
		padding-left: 6vw;
		padding-right: 6vw;
	}
	
	.mainFooter .marquee-footer-title-wrapper {
		max-width: 1200px;
		margin: 0 auto;
		padding: 0 6vw;
	}
	
	.mainFooter .footer-title {
		font-size: 1.65rem;
		margin-bottom: 0.7em;
	}
	
	.mainFooter .social-links img {
		width: 3rem;
	}
	
	.mainFooter .footer-nav {
		font-weight: bold;
		margin-top: -0.4rem;
	}
	
	.mainFooter .footer-nav a {
		padding: 0.4em 1em;
		text-align: left;
		margin: 0;
	}
	
	
	/* impressionen */
	
	.contentSection p.img-p {
		display:inline-block;
		width: 48%;
		margin-right: 2%;
		vertical-align:top;
	}
	
	.contentSection p.img-p:nth-child(2n) {
		margin-right: 0;
	}

	
	/* marquee */
	
	.marquee__content img {
		margin: 0 1.4vw;
	}
	
	.marquee__content img.portrait {
		height: 4vw;
		width: auto;
	}

	.marquee__content img.landscape {
		width: 10vw;
		height: auto;
	}

}

/*   desktop   */
@media screen and (min-width: 900px) {

	.homeSubSection:not(.trennbildSection) {
		display:inline-block;
		width: 50%;
		vertical-align: top;
		padding: 0 5vw;
	}

	.wpcf7 input[type="text"],
	.wpcf7 input[type="email"] {
		width: auto;
	}

	.wpcf7 h3 {
		font-size: 2em;
		line-height: 2em;
	}

	input[type="checkbox"] {
	    margin-bottom: 1em;
	}

	#anmeldeformular {
		margin: 150px 0;
	}

	.wpcf7 .byline {
		margin: -40px 0 50px;
	}
	
	.overlaySticker.shrink {
		transform: scale(0.8) translate(-6vw, -8vw);
	}
	


}

/*   desktop++   */
@media screen and (min-width: 1100px) {
	.mainFooter {
		padding-top: 12rem;
	}
	
}

/*   desktop++   */
@media screen and (min-width: 1500px) {	
	.overlaySticker.shrink {
		transform: scale(0.9) translate(-4vw, -8vw);
	}
	
}


/*   desktop+++   */
@media screen and (min-width: 2000px) {

	.main,
	.mainFooter .footer-columns {
		padding-left: 120px;
		padding-right: 120px;
	}

	.homeSubSection:not(.trennbildSection) {
		padding: 0 4em;
	}
	
	/* marquee */
	
	.marquee__content img {
		margin: 0 20px;
	}
	
	.marquee__content img.portrait {
		height: 50px;
		width: auto;
	}

	.marquee__content img.landscape {
		width: 120px;
		height: auto;
	}
	
	
}
