/*
Theme Name: ITD
Author: Simon Schmidt | WOLFRAM Designer und Ingenieure
Author URI: http://wolframdesign.de
Version: 1.0
*/



html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video, button, input, textarea {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* CSS reset end */

/* latin-ext */
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(fonts/manrope-latin-ext-700.woff2) format('woff2');
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  /* latin */
  @font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(fonts/manrope-latin-700.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }

/* latin-ext */
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(fonts/manrope-latin-ext-400.woff2) format('woff2');
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  /* latin */
  @font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(fonts/manrope-latin-400.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }

/* Font Import end */

*{
	-moz-box-sizing:    border-box;
	-webkit-box-sizing: border-box;
	 box-sizing:        border-box;
	 -webkit-appearance: none;
}

::-moz-selection { /* Code for Firefox */
	color: white;
	background: #00669a;
  }
  
::selection {
	color: white;
	background: #00669a;
  }

html{
	-webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
	text-size-adjust: 100%; 
	height:100%;
	scroll-behavior: smooth;
}

body{
	font-family: 'Manrope', sans-serif;
	font-weight:400;
	height:100%;
}

#companylogoframe {
    align-items: center;
    display: flex;
}

#headline img{
	height:60px;
	width:auto;
}

#companyname {
    font-size: 50px;
    vertical-align: middle;
    line-height: 60px;
    margin-top: -10px;
}

.companylogo{
	max-width:250px;
	height:auto;
}

.pagewidth{
	width:1480px;
	margin-left:auto;
	margin-right:auto;
}

#headline, #bottomline{
	margin-top:50px;
	margin-bottom:50px;
}

#headline{
	align-items:center;
}

#headline a{
	z-index:999;
}

.shortlogo{
	display:none;
}

.navtoggle{
	display:none;
}

.flex{
	display:flex;
}

.space-between{
	justify-content:space-between;
}

.column{
	flex-direction:column;
}

#headline nav ul{
	display:flex;
	z-index:999;
}

a{
	text-decoration:none;
	transition:color .2s;
	color:black;
}

.itdcontent a{
    border-bottom: 1px solid #00669a;
    padding-bottom: 2px;
	transition:color .2s;
}

.itdcontent a:hover{
    color: #00669a;
}

a.button, input[type="submit"]{
    background:linear-gradient(to right, #1973b9, #55b9e6);
	border:none;
	border-radius:20px;
    padding: 2px 40px !important;
    color: white;
    height: 40px;
    display: inline-block;
    line-height: 36px;
    margin-top: 20px;
	align-self:start;
	text-transform:uppercase;
	font-weight:700;
	box-shadow: 0 3px 5px 1px rgba(0,0,0,.1);
	transition: box-shadow 0.3s ease-in-out;
	cursor:pointer;
	width:auto !important;
	text-align:center;
}

input[type="submit"]{
	float:right;
}

a.button:hover, input[type="submit"]:hover{
	box-shadow: 0 5px 15px 2px rgba(0,0,0,.15);
	color:white;
}

p{
	margin-bottom:15px;
	font-size:1em;
	line-height:1.5em;
}

tr{
	border-bottom:1px solid #e5e5e5;
}

tr td{
	text-align:center;
	margin-bottom:15px;
	font-size:1em;
	line-height:2em;
}

tr td:first-child{
	text-align:left;
}

tr td:last-child{
	text-align:right;
}

p:last-child{
	margin-bottom:0;
}

.itdcontent ul li {
    list-style: disc;
    line-height: 1.5em;
    margin-bottom: 8px;
    margin-left: 30px;
    padding-left: 15px;
}

.itdcontent ol li{
	list-style-type: decimal;
    line-height: 1.5em;
    margin-bottom: 8px;
    margin-left: 30px;
    padding-left: 4px;
}

strong{
	font-weight:700;
}

em{
	font-style:italic;
}

h1{
	font-size:3em;
	font-weight:700;
	line-height:1.25em;
	margin-bottom:25px;
}

h2, .h2{
	font-size:1.6em;
	font-weight:700;
	line-height:1.5em;
	margin-top:25px;
	border-top:1px solid #f5f5f5;
	padding-top:50px;
	margin-bottom:50px;
	color:#00669a;
	text-align:center;
}

h3, .h3{
	font-size:1.5em;
	font-weight:400;
	margin-bottom:25px;
	line-height:1.5em;
	color:#00669a;
	text-align:left;
}

h4, .h4{
	font-size:1em;
	font-weight:400;
	margin-bottom:25px;
	line-height:1.5em;
	color:#00669a;
	text-align:center;
}

nav ul li a {
    height: 35px;
    display: block;
    line-height: 35px;
    padding: 0px 20px;
	color:black;
	font-weight:400;
}

nav > ul > li:last-child > a{
	padding-right:0;
}

nav ul li a:hover{
color:#00669a;
}

section{
	margin-bottom:72px;
}

#footer{
	margin-bottom:0;
}

#footer-nav ul li{
	list-style:none;
	margin:0;
	padding:0;
}

#footer a{
	text-decoration:none;
	padding:0;
	margin:0;
	border-bottom:none;
}

#footer h3{
	text-align:left;
}

.footerlogoframe{
	margin:auto;
	text-align:center;
}

.footerlogo{
	width:50% !important;
	height:auto !important;
	object-fit:contain !important;
}

.grey{
	background-color:#f5f5f5;
	padding:50px 0;
}

.background {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px;
	padding:50px 75px;
	height:auto;
	margin-bottom:100px;
}

.titlecontent{
	color:white;
	width:calc(100% - 460px);
	z-index:999;
}

.titlecontent p{
	font-size:1.2em;
	max-width:460px;
	text-shadow:1px 1px 10px rgb(0 0 0);
}

.titlecontent a.button{
	color:black;
	background:#f5f5f5;
}

.titleimage{
	width:460px;
	margin-bottom:-200px;
}

.productimage{
	height:auto;
	width:100%;
}

.textcontent{
	text-align:center;
	width:100%;
	max-width:900px;
	margin:0 auto;
}

#impressum .textcontent, #datenschutz .textcontent {
	text-align: left;
}

.hasimage h3{
	text-align:left;
}

.hasimage .textcontent{
	text-align:left;
	padding-right:75px;
	flex:50%;
}

.textimage{
	flex:50%;
	width:50%;
	height:auto;
	max-height:350px;
	margin-bottom:auto;
	object-fit:cover;
	border-radius:15px;
}

.singletile{
	width:25%;
	flex-grow:1;
	margin-right:50px;
}

.boxes .singletile .stframe{
    background-color: #f5f5f5;
    border-radius: 25px;
    padding: 15px;
	flex-grow:1;
}

.boxes .singletileimage{
	background-color:white;
	height:260px;
	width:100%;
	object-fit:cover;
	border-radius:10px;
	box-shadow:0 3px 5px 1px rgb(0 0 0 / 10%);
}

.boxes h2, .boxes h3, .boxes p{
	margin-left:25px;
	margin-right:25px;
	margin-bottom:25px;
}

.singletile:last-child{
	margin-right:0;
}

.singletile img{
	height:300px;
	object-fit: cover;
	margin-bottom:25px;
}

.singletile a{
	margin-top:auto;
}

button{
	width:100%;
	background:#f5f5f5;
	line-height:1.5em;
	text-align:left;
	cursor:pointer;
	padding: 10px 20px;
	margin-top:20px;
	color:black;
	border-radius:5px;
	transition:all .5s;
}

.faqquestion:after {
	content: '\25BC';
	color: #cccccc;
	font-weight: bold;
	width:20px;
	margin-right:0;
	margin-left:auto;
	text-align:center;
	transition:all .5s;
  }

.faqquestion.openpanel{
    background:linear-gradient(to right, #1973b9, #55b9e6);
	color:white;
  }

.faqquestion.openpanel:after {
	  transform:rotate(180deg);
	  color:white;
	}

.faqanswer{
	max-height:0;
	overflow:hidden;
	transition:max-height 0.2s ease-out;
}

.faqframe{
	margin:30px;
}

.wpcf7-form{
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
}

.wpcf7-list-item {
    margin: 0 !important;
}

/* Standard-Formatierung */
.wpcf7-form p{
	width:calc(50% - 25px);
}

/* 100% breites Formularfeld mit vorliegendem Umbruch*/
.fullFormElement{
	width:100% !important;
}

.wpcf7-form input, .wpcf7-form textarea{
	width:100%;
	background-color: #f5f5f5;
    min-height: 40px;
    margin: 5px 0;
	padding:5px 20px;
	border-radius:5px;
}

.wpcf7-list-item-label{
	display:flex;
	align-items:center;
}

input.wpcf7-not-valid, textarea.wpcf7-not-valid, .wpcf7-acceptance.wpcf7-not-valid input[type="checkbox"]:not(:checked) + .wpcf7-list-item-label::before{
    outline: 2px solid #e5adad;
}

.wpcf7-not-valid-tip{
	display:none !important;
}

.wpcf7-response-output{
	margin:0 !important;
	padding:0 20px !important;
	min-height:40px;
    background-color: #e8f8ff;
	border:0 !important;
	border-radius:5px;
	line-height:40px;
	width: 100%;
	text-align: center;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output{
    background-color: #fff4f4;
}

.wpcf7-form.sent p {
    display: none;
}

input[type="checkbox"]{
	display:none;
}

input[type="checkbox"]:not(:checked) + .wpcf7-list-item-label::before{
	height: 40px;
	width: 40px;
	content: '';
	background-color:#f2f2f2;
	margin-right: 20px;
	cursor: pointer;
	display: inline-block;
    content: "\2713";
    color: #f2f2f2;
    text-align: center;
    line-height: 40px;
    font-weight: 700;
	font-size:1.5em;
}

input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
	height: 40px;
    width: 40px;
    background-color: #f2f2f2;
    margin-right: 20px;
    cursor: pointer;
    display: inline-block;
    content: "\2713";
    color: #0a82af;
    text-align: center;
    line-height: 40px;
    font-weight: 700;
	font-size:1.5em;
}

#footer #footer-nav{
	margin-top:25px;
	border-top:1px solid white;
	padding-top:15px;
}

@media (max-width:1580px){

	.pagewidth{
		width:calc(100% - 100px);
	}

}

@media (max-width:1160px){

	.singletile {
		margin-right: 15px;
	}

	.boxes h2, .boxes h3, .boxes p {
		margin-left: 10px;
		margin-right: 10px;
	}

	.titlecontent p{
		font-size:1em;
	}

	h1{
		font-size:2em;
	}

	.titlecontent {
		width: calc(100% - 300px);
	}

	.titleimage {
		width: 300px;
	}

}

@media (max-width:980px){

	#headline img{
		height:44px;
	}

	#companyname {
		font-size: 25px;
		line-height: 30px;
		margin-top: -5px;
	}

	#headline{
		margin-top:25px;
		margin-bottom:25px;
	}

	.title.pagewidth {
		max-width: unset;
	}

	.background {
		padding:50px;
		margin-bottom:50px;
	}

	.titlecontent{
		margin-top:0;
	}

	.wpcf7-form p {
		width: calc(50% - 10px);
	}

	.textframe{
		flex-direction:column-reverse;
	}

	.pagewidth#headline, .pagewidth.boxes{
		width:calc(100% - 100px);
		max-width:unset;
	}

	.pagewidth{
		max-width:460px;
	}

	.hasimage .textcontent {
		padding-right: 0;
	}

	.textimage{
		width:100%;
		max-width:100%;
		margin-bottom:25px;
	}

	.rows .tilerepeater{
		flex-direction:column;
	}

	.rows .singletile{
		max-width:460px;
		width:100%;
		margin-left:auto;
		margin-right:auto;
		margin-top:72px;
	}

	.tiles .pagewidth.boxes {
		width:100%;
	}

	.boxes .tilerepeater {
		overflow-x: scroll;
		scroll-snap-type: x mandatory;
		position: relative;
		width: 100% !important;
		margin: 0 !important;
	}

	.boxes .singletile {
		min-width: 460px;
		max-width: 460px;
		margin: 0 0 20px 50px;
		scroll-snap-align: center;
	}

	.boxes .singletile:first-child {
		margin-left: calc((100% - 460px) / 2);
	}

	.boxes .singletile:last-child {
		min-width: calc(460px + ((100% - 460px) /2));
		padding-right: calc((100% - 460px) / 2);
	}

	.boxes .singletile img{
		height:50vw;
	}

	#footer h3, #footer #footer-nav{
		margin-top:50px;
		border-top:1px solid white;
		padding-top:25px;
	}

	.wpcf7-form p {
		width: 100%;
	}

	/* lines to columns */
	
}

@media (max-width:800px){
	
	/*h2, .h2{
		font-size:1.25em;
	}
	
	h3, .h3{
		font-size:1em;
	}*/

	#headline{
		justify-content: center;
	}

	#main-nav{
		display:none;
	}

	a.button, input[type="submit"]{
		margin-left:auto;
		margin-right:auto;
		align-self:center;
		float:none;
	}

	#main_navigation{
		display:none !important;
	}

	.pagewidth{
		width:calc(100% - 50px);
	}

	.title.pagewidth{
		max-width:460px;
	}

	.boxes .singletile {
		margin-left:25px;
	}

	.background {
		flex-direction: column;
		height:auto;
	}

	.titlecontent{
		width:100%;
		text-align:center;
	}

	.titleimage{
		width:100%;
		margin-top:50px;
		margin-bottom:-150px;
	}

	.productimage{
		top:0;
		position:relative;
		float:right;
	}
}

@media (max-width:560px){

	.boxes .singletile {
		min-width: calc(100% - 100px);
		max-width: calc(100% - 100px);
		margin-left:25px;
	}
	
	.boxes .singletile:first-child {
		margin-left: 50px;
	}

	.boxes .singletile:last-child {
		min-width: calc(100% - 50px);
		padding-right: 50px;
	}

	.background{
		padding:50px 25px;
	}

	h1{
		hyphens: auto;
    	-webkit-hyphens: auto;
	}

}