/*
Theme Name: GTI Website + Projektportal
Theme URI: http://gti-innovation.com
Author: Simon Schmidt, WOLFRAM Designer und Ingenieure
Author URI: http://wolframdesign.de
Version: 2.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 {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	appearance: none;
	-webkit-appearance: none;
}
/* 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 */

*{
	box-sizing: border-box !important;
	font-family:Arial, Helvetica, sans-serif !important;
}

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

body{
	min-height:100%;
    display: flex;
    flex-direction: column;
}

.flex{
	display:flex;
}

.clmn{
	flex-direction:column;
}

.center{
	align-items:center;
}

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

h1{
	font-weight:bold;
	font-size:2.6em;
	line-height:1.2em;
	margin-bottom:24px;
}

h2{
	font-weight:bold;
	font-size:1.75em;
	line-height:1.2em;
	margin-bottom:24px;
}

h3{
	font-weight:bold;
	margin-bottom:20px;
	font-size:1.25em;
	margin-bottom:24px;
	line-height:1.2em;
}

h4{
	font-weight:bold;
	font-size:1.12em;
	margin-bottom:12px;
}

p{
	line-height:1.4em;
	margin-bottom:12px;
}

strong, b{
	font-weight:bold;
}

.editor-content ul li {
    list-style: disc;
    line-height: 1.4em;
    margin-bottom: 15px;
    margin-left: 30px;
    padding-left: 15px;
}

.bg{
	background-image: url(/wp-content/themes/gti-projektportal/img/bg.png) !important;
	background-size:cover !important;
	background-position:center center !important;
	background-repeat:no-repeat;
	height:100%;
	width:100%;
	position:fixed;
	z-index:-1;
}

#bodywrap{
	display:flex;
	flex-direction:column;
	min-height:100vh;
}

.contentframe{
	max-width:1200px;
	width:90%;
	margin:0 auto;
	position:relative;
	flex-grow: 1;
}

.main{
	width:500px;
	flex-grow:1;
	margin-right:25px;
}

.side{
	width:360px;
	margin-bottom:auto;
}

.box{
	background-color:rgba(255,255,255,.7);
	padding:25px;
}

.whitebox{
	background-color:white;
	padding:25px;
}

.mainnav{
	padding:12px 0;
	width:100%;
	background:white;
}

.footer{
	padding:32px 0;
	width:100%;
	background:white;
	flex-grow:0;
}

#headerlogo{
	height:56px;
	width:auto;
}

.mainnav a, a{
	color:black;
	text-decoration:none;
}

.mainnav-wrap{
	margin-right:104px;
	margin-left:auto;
}

.main-navigation .current-menu-item a, .main-navigation .current-page-ancestor a{
	color:#d10019;
}

ul.main-navigation li, ul.footer-navigation li{
	margin-left:32px;
	text-transform:uppercase;
}

#hero{
	min-height:560px;
	background-position:center 60%;
	background-size:cover;
	width:100%;
	padding:128px 0;
}

.hero-box{
	background-color:rgba(255,255,255,.72);
	position:relative;
	box-shadow:8px 8px 48px rgba(0,0,0,.16);
	width:72%;
	margin-left:28%;
	padding:48px;
}

.hero-arrow{
	height:72px;
	width:72px;
	position:absolute;
	top:-12px;
	right:-12px;
}

.user-button{
    height: 72px;
    width: 72px;
    display: flex;
    background: #d10019;
    align-items: center;
    justify-content: center;
	position:absolute;
	right:0;
	top:20px;
}

#pmhome, #adminlogin{
	display: block;
	z-index: 99;
	width: 72px;
	height: 72px;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	position: absolute;
	right: 96px;
	top: 20px;
	background-color: rgb(245, 245, 245);
	padding: 18px;
}

#pmhome::before{
	content:url(./img/pmhome.svg);
}

.user-button img{
	height:32px;
	width:32px;
}


#navtoggle{
	display:none;	
}

.blocks section{
	margin-top:96px;
}

.blocks section:last-child{
	margin-bottom:96px;
}

section.editor{
	width:64%;
	margin-left:auto;
	margin-right:auto;
}

section.blockbox.style1{
	background-color:white;
	box-shadow:8px 8px 48px rgba(0,0,0,.16);
	padding:24px;
	position:relative;
	display:flex;
	align-items:center;
}

.blockbox.style1 .blockbox-image{
	aspect-ratio:1 / 1;
	object-fit: cover;
	width:360px;
	margin-top:-48px;
	margin-right:48px;
}

.blockbox.style1 .editor-content{
	margin-bottom:48px;
}

section.blockbox.style2{
	box-shadow:8px 8px 16px rgba(0,0,0,.16);
	padding:56px;
	position:relative;
	min-height:360px;
	display:flex;
	flex-wrap:wrap;
}

.blockbox.style2 .blockbox-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
	top:0;
	left:0;
}

.blockbox.style2 .blockbox-icon{
	width:40%;
	max-width:320px;
	min-width:200px;
	margin:auto;
}

.blockbox-button{
	display:flex;
	align-items:center;
}

.style1 .blockbox-button::after{
	margin-left:24px;
	content: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='20' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 12 20'%3E%3Cpath fill='white' d='M1.292969,20c-.255859,0-.511719-.097656-.707031-.292969-.390625-.390381-.390625-1.023682,0-1.414062l8.292969-8.292969L.585938,1.707031C.195312,1.31665.195312.68335.585938.292969.976562-.097656,1.609375-.097656,2,.292969l9.707031,9.707031L2,19.707031c-.195312.195312-.451172.292969-.707031.292969Z'/%3E%3C/svg%3E");
}

.style1 .blockbox-button{
	background-color:#d10019;
	padding:12px;
	color:white;
	position:absolute;
	right:-24px;
	bottom:24px;
	height:48px;
}

.style2 .blockbox-button::after{
	margin-left:24px;
	content: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='20' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 12 20'%3E%3Cpath fill='black' d='M1.292969,20c-.255859,0-.511719-.097656-.707031-.292969-.390625-.390381-.390625-1.023682,0-1.414062l8.292969-8.292969L.585938,1.707031C.195312,1.31665.195312.68335.585938.292969.976562-.097656,1.609375-.097656,2,.292969l9.707031,9.707031L2,19.707031c-.195312.195312-.451172.292969-.707031.292969Z'/%3E%3C/svg%3E");
}

.style2 .blockbox-button{
	font-weight:bold;
	margin-top:48px;
	width:100%;
}

.style2 .editor-content {
    width: 60%;
}

.singlefaq{
	margin-bottom:48px;
}

button.expansionpanel{
    background-color: white;
	color:black;
    display: block;
    width: 100%;
    padding: 24px 80px 24px 24px;
    text-align: left;
    font-weight: bold;
	position:relative;
	cursor:pointer;
}

button.expansionpanel h3{
	margin-bottom:0;
}

button.expansionpanel::after{
	height:56px;
	width:56px;
	content:'+';
	display:flex;
	align-items:center;
	justify-content:center;
	background-color:#d10019;
    position: absolute;
    right: 12px;
    bottom: -12px;
    color: white;
    font-size: 48px;
    font-weight: normal;
}

.faqanswer {
    background-color: white;
}

.faqanswer .editor-content{
	padding:24px;
}

button.expansionpanel.openpanel::after{
	  content: '-';  
	}

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

.prozess-step{
	display:flex;
	align-items:center;
}

.prozess-mask{
	width: 300px;
	height:300px;
	clip-path: polygon(
		0% 0%, 
		50% 15%, 
		100% 0%, 
		100% 85%, 
		50% 100%, 
		0% 85%
	);
	background-color: white;
	box-shadow:8px 8px 16px rgba(0,0,0,.16);
	display:flex;
	align-items:center;
	justify-content:center;
	flex-grow:0;
	flex-shrink:0;
	margin-right:48px;
}

.prozess-step:last-child .prozess-mask{
	background-color:#d10019;
}

.prozess-icon{
	height:96px;
	width:96px;
	object-fit: contain;
}

.prozess-text{
	margin-bottom:24px;
}

.style2 .editor-content a{
	display:flex;
	align-items:center;
}

.style2 .editor-content a::after{
	margin-left:24px;
	content: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='20' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 12 20'%3E%3Cpath fill='black' d='M1.292969,20c-.255859,0-.511719-.097656-.707031-.292969-.390625-.390381-.390625-1.023682,0-1.414062l8.292969-8.292969L.585938,1.707031C.195312,1.31665.195312.68335.585938.292969.976562-.097656,1.609375-.097656,2,.292969l9.707031,9.707031L2,19.707031c-.195312.195312-.451172.292969-.707031.292969Z'/%3E%3C/svg%3E");
}

.editor-content a{
	font-weight:bold;
	margin-top:24px;
}

.leftHeader{
	display:flex;
}

.mainnav a span{
	margin:0 10px;
}

.pm-contentframe{
	margin-top:56px;
	margin-bottom:56px;
}

.header{
	margin-bottom:3em;
}

.gti-logo{
	display:none;
}

.gti-logo a{
	display:block;
	text-align:center;
}

.gti-logo img{
	height:120px;
	width:auto;
}

.avatar{
	height: 60px;
    width: 60px;
    border-radius: 30px;
    background-color: white;
    margin-right: 10px;
    border: 5px solid white;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
	flex-shrink:0;
}

.comment .avatar, .commentFormWrap .avatar{
	border:1px solid silver;
	margin-right:25px;
}

.depth-2 .singleComment .avatar{
	border:none;
	height:40px;
	width:40px;
}

.name{
	font-weight:bold;
}

.company{
	font-size:.75em;
	margin-top:5px;
}

.tel, .mobile, .mail, .web, .fax{
	margin-bottom:5px;
	margin-left:70px;
}

.tel img, .mobile img, .mail img, .web img, .fax img{
	height:15px;
	width:15px;
	/*border-radius:10px;
	background-color:#dfd8d0;*/
	margin-right:10px;
}

.gti-contact{
	margin-bottom:40px;
}

.projektKontakt{
	margin-bottom:12.5px;
}

.projektKontakt p{
	margin:0;
}

.projektkachel{
	min-height:120px;
	margin-bottom:25px;
	transition:all .5s;
}

.projektkachel:hover{
	background-color:white;
}

.projektkachel img{
	height:40px;
	width:40px;
	margin-right:15px;
	margin-left:40px;
}

.tabContent{
	display:none;
}

.activeTabContent{
	display:block;
}

#projectnavigation{
	display:flex;
}

.button{
	height:60px;
	width:60px;
	margin:0 10px 0 0;
	background:none;
	cursor:pointer;
	display:inline-block;
	display:flex;
	justify-content:center;
	align-items:center;
}

.activeTabButton{
	background-color:white;
}

.termin{
	display:flex;
	position:relative;
}

.timeline{
	margin:0 40px 0 20px;
	border-left:2px solid black;
	width:1px;
	position:absolute;
	height:100%;
}

.timeline:before{
	display:block;
	content:"";
	width:10px;
	height:10px;
	border-radius:5px;
	margin-top:-5px;
	margin-left:-6px;
	position:absolute;
	top:50%;
	background-color:black;
}

.timecontent{
	border-bottom:1px solid silver;
	padding:20px 0;
	flex-grow:1;
	margin-left:62px;
}

.termin:last-child .timecontent{
	border-bottom:none;
}

.termin:first-child .timeline{
	top:50%;
	height:50%;
}

.termin:first-child .timeline:before{
	top:0;
}

.termin:last-child .timeline{
	height:50%;
}

.termin:last-child .timeline:before{
	top:100%;
}

.datum{
	color:#c2a583;
}

.titel{
	font-size:1.2em;
	font-weight:bold;
	margin:5px 0;
}

.logged-in-as, .comment-edit-link, .comment-form-attachment label, .comment-form-attachment span, .depth-1 .comment-form-attachment, .depth-2 .comment-respond{
	display:none !important;
}

.comment-form-attachment{
	float:left;
	margin-top:25px;
}

.commentHeader, .commentFormWrap{
	margin-top:25px;
	display:flex;
	width:100%;
}

.depth-2 .singleComment{
	margin-top:0 !important;
	background-color:#f4f0ec;
	margin-left:85px;
	padding:25px;
	border-top:3px dashed white;
	width:calc(100% - 85px);
}

.depth-2 .commentMeta{
	padding:0; 
	height:40px;
	align-items:flex-end;
	margin-bottom:25px;
}

.depth-2 .commentHeader{
	margin-top:0;
}

.depth-2 .comment-block{
	padding:0;
}

.comment-block, .comment-respond{
	background-color:#f4f0ec;
	padding:25px;
	flex-grow:1;
	max-width:100%;
}

.commentMeta{
	display:flex;
	flex-grow:1;
	justify-content:space-between;
	background-color:#f4f0ec;
	padding:25px; 
}

.commentBody{
	margin-left:85px;
	background-color:#f4f0ec;
	padding:0 25px 25px; 
}

.depth-2 .commentBody{
	margin-left:65px;
	padding-left:0;
	padding-bottom:0;
}

.commentAuthor{
	font-weight:bold;
	flex-grow:1;
}

.commentAuthor, .commentDate{
	padding-bottom:12.5px;
	border-bottom:1px solid rgba(0,0,0,.1);
}

.comment-form:after, .commentBody:after{
	clear:both;
	display:block;
	content:"";
}

.depth-1 .comment-respond, .depth-2 .comment-respond{
	padding:25px 0 0 0;
}

.depth-1 .comment-form{
	display:flex;
}

.depth-1 textarea{
	min-height:auto;
	height:35px;
	background-color:transparent;
	border:2px solid white;
}

.depth-1 textarea:focus-visible{
	outline:none;
	background-color:white;
}

input{
	-webkit-appearance: none;
	appearance: none;
}

.depth-1 input[type=submit]{
	background-color:white;
	color:black;
	float:none;
	margin-top:0;
	margin-left:12.5px;
}

.dco-misc-attachment, .documentLink{
	display:flex;
	margin: 12.5px 0;
	font-style:italic;
	align-items:center;
	line-height:24px;
}

/*.dco-misc-attachment a{
	color:#c1272d;
}*/

.dco-misc-attachment:before, .documentLink:before{
	display:block;
	content:url(/wp-content/themes/gti-projektportal/img/file.svg);
	width:24px;
	height:24px;
	margin-right:12.5px;
}

.reply{
	float:right;
}

.reply a:before{
	display:block;
	content:url(/wp-content/themes/gti-projektportal/img/reply.svg);
	width:24px;
	height:24px;
	margin-right:5px;
}

.reply:empty:before{
	display:none !important;
}

.reply a{
	color:#c1272d;
	align-items:center;
	line-height:24px;
	display:flex;
}

#reply-title{
	font-weight:normal;
}

#cancel-comment-reply-link{
	float:right;
}

textarea{
	background:white;
	border:none;
	width:100%;
	min-height:120px;
	padding:8px;
	font-size:1em;
}

input{
	cursor:pointer;
}

input[type=submit]{
	background-color:#c1272d;
	color:white;
	border:none;
	border-radius:0;
	padding:10px 0;
	cursor:pointer;
	float:right;
	margin-top:25px;
	width:150px;
	text-align:center;
}

input#attachment{
	max-width:100%;
	overflow:hidden;
}

p:empty{
	display:none;
}

.adminLogIn{
	margin-left:25px; 
	margin-right:auto;
}

.docs{
	margin-top:40px;
}

/*.footer {
    border-top: 1px solid rgba(0,0,0,.125);
    text-align: center;
    padding-top: 25px;
}

.footer a{
	padding:0 12.5px;
}*/

/* Responsive Design starts here */

@media (max-width:1200px){
	.comment .avatar, .commentFormWrap .avatar{
		height:40px;
		width:40px;
		margin-right:12.5px;
	}
	.depth-2 .singleComment{
		margin-left:52.5px;
		width:calc(100% - 52.5px);
	}
	.commentBody, .depth-2 .commentBody {
		margin-left: 52.5px;
	}
}

@media (max-width:1080px){
	.main-navigation{
		display:none;
        position: absolute;
        left: 0;
        top: 120px;
        width: 100%;
        flex-direction: column;
        z-index: 99;
        background: white;
        box-shadow: 4px 4px 16px rgba(0, 0, 0, .12);
	}
	.opennav .main-navigation{
		display:flex;
	}
	ul.main-navigation li {
		margin: 0;
		width: 100%;
	}
	ul.main-navigation li a{
		border-bottom:1px solid rgb(245,245,245);
		display:block;
		padding: 24px;
		width: 100%;
		text-align: center;
		transition: all .5s;
	}
	ul.main-navigation li a:hover{
		background:rgb(245,245,245);
	}
	#navtoggle {
        display: block;
        z-index: 99;
        width: 72px;
        height: 72px;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        position: absolute;
        right: 96px;
        top: 20px;
        background-color: rgb(245, 245, 245);
        padding: 18px;
		overflow:hidden;
    }
	#navtoggle::before{
		content:url(./img/menu.svg);
	}
	.opennav #navtoggle::before{
		content:url(./img/close.svg);
	}
}

@media (max-width:980px){
	.content{
		flex-direction:column;
	}
	.main, .side{
		width:100%;
		margin-bottom:25px;
	}
	.gti-logo{
		width:auto;
	}
	.gti-logo a{
		text-align:right;
	}
	.gti-logo img{
		height:60px;
	}

/*	.sideBoxWrap{
		display:flex;
		flex-wrap:wrap;
	}
	.sideBox{
		width:calc(50% - 12.5px);
	}
	div.sideBox + div.sideBox{
		margin-left:25px;
	}*/
	/*.gti-contact{
		margin-right:25px;
	}*/

	h1{
		font-weight:bold;
		font-size:1.75em;
		line-height:1em;
	}
	h2{
		font-weight:bold;
		font-size:1.25em;
		line-height:1.25em;
	}
	section.editor{
		width:80%;
	}
	section.blockbox.style1{
		flex-direction:column;
		max-width:400px;
		margin-left:auto;
		margin-right:auto;
	}
	.blockbox.style1 .blockbox-image{
		width:100%;
		margin-right:0;
		margin-bottom:32px;
	}
	.blockbox.style1 .editor-content{
		margin-bottom:64px;
	}
	section.blockbox.style2{
		padding:32px;
	}
	.blockbox.style2 .editor-content{
		width:100%;
	}
	.style2 .blockbox-button{
		margin-top:24px;
		justify-content:flex-end;
	}
	.hero-box{
		width:90%;
		margin-left:5%;
	}
	.footer .contentframe{
		flex-direction:column;
		gap:24px;
        text-align: center;
        font-size: 12px;
	}
	ul.footer-navigation li {
		margin:0 12px;
	}
	.prozess-step{
		margin-bottom:32px;
	}
	.prozess-mask{
		height:150px;
		width:150px;
	}
	.prozess-icon{
		height:64px;
		width:64px;
	}
}

@media (max-width:600px){
	.projektkachel{
		flex-direction:column;
	}
	.projektkachel img{
		margin: 25px auto;
	}
	.mainnav{
		align-items:flex-start;
	}
	.leftHeader{
		flex-direction:column; 
	}
	.adminLogIn{
		margin: 12.5px 0 0 0;
	}
	.avatar{
		height:40px;
		width:40px;
	}
	.depth-2 .avatar{
		display:none;
	}
	.tel, .mobile, .mail, .web, .fax{
		margin-left:50px;
	}
	.singleComment{
		background-color:#f4f0ec;
		padding:12.5px;
		margin: 25px 0 0;
	}
	.depth-2 .singleComment{
		margin:0;
		width:100%;
		padding:12.5px;
	}
	#respond{
		padding:25px 12.5px;
	}
	.commentHeader{
		margin-top:0;
		flex-wrap:nowrap;
		flex-direction:row;
	}
	.commentMeta{
		height:40px;
		padding:0;
		align-items:center;
		border-bottom:1px solid rgba(0,0,0,.1);
	}
	.depth-2 .commentMeta{
		align-items:center;
		margin-bottom:0;
	}
	.commentAuthor, .commentDate{
		border:none;
		padding:0;
	}
	.commentDate{
		font-size:.9em;
	}
	.commentBody {
		padding: 25px 0 0;
		margin-left:0;
		/*margin-left: 40px;*/
	}
	.depth-2 .commentBody{
		margin-left:0;
	}
	.header{
		flex-direction:column-reverse;
		margin-top: 25px;
	}
	.main{
		margin:0;
	}
	h1{
		font-size:1.4em;
	}
	.commentFormWrap .avatar{
		display:none;
	}
	.user-button{
		height: 60px;
		width: 60px;
		top:32px;
	}
	#pmhome, #navtoggle, #adminlogin{
		width: 60px;
		height: 60px;
		right: 72px;
		top: 32px;
		padding: 12px;
	}
	.prozess-step{
		align-items: flex-start;
	}
	.prozess-mask{
		height:64px;
		width:64px;
		margin-right:24px;
	}
	.prozess-icon{
		height:40px;
		width:40px;
	}
}

@media (max-width:500px){
	.commentMeta {
		flex-direction: column;
		align-items: flex-start;
		justify-content: space-around;
		padding-bottom:3px;
		width:auto;
	}
	.depth-2 .commentMeta{
		align-items:flex-start;
	}
	.commentAuthor{
		flex-grow:0;
	}
	.blockbox.style1 .editor-content{
		margin-bottom: 24px;
	}
	.style1 .blockbox-button{
		right:auto;
		bottom:-24px;
	}
	#headerlogo{
		width: 92px;
		object-fit: cover;
		object-position: left;
	}
	.blockbox.style2 .blockbox-icon {
		width: 100%;
		max-width: unset;
	}
	section.editor {
        width: 100%;
    }
}