/* Local Fonts */
/* jost-regular - latin */

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  src: url('../assets/fonts/jost-v12-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../assets/fonts/jost-v12-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../assets/fonts/jost-v12-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../assets/fonts/jost-v12-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../assets/fonts/jost-v12-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../assets/fonts/jost-v12-latin-regular.svg#Jost') format('svg'); /* Legacy iOS */
       font-display: swap;
}

/* jost-500 - latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  src: url('../assets/fonts/jost-v12-latin-500.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../assets/fonts/jost-v12-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../assets/fonts/jost-v12-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('../assets/fonts/jost-v12-latin-500.woff') format('woff'), /* Modern Browsers */
       url('../assets/fonts/jost-v12-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../assets/fonts/jost-v12-latin-500.svg#Jost') format('svg'); /* Legacy iOS */
       font-display: swap;
}

/* jost-700 - latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 700;
  src: url('../assets/fonts/jost-v12-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../assets/fonts/jost-v12-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../assets/fonts/jost-v12-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../assets/fonts/jost-v12-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../assets/fonts/jost-v12-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../assets/fonts/jost-v12-latin-700.svg#Jost') format('svg'); /* Legacy iOS */
       font-display: swap;
}



/* General */

.trp-language-switcher>div {
	padding: 0 5px !important;
}

.trp-ls-shortcode-current-language, .trp-ls-clicked {
	width: 80px !important;
}

.trp-language-switcher>div>a>img {
	height: auto !important;
	margin: -2px 0 !important;
}


.wp-block-button a {
	border: 1px solid #fff !important; 
	transition: all 0.8s;

}

.wp-block-button a:hover {
	background-color: #fff !important;
	color: #006ba1 !important;
	border: 1px solid #006ba1 !important; 
}

.hero .wp-block-media-text__content {
	border-radius: 0 25px 25px 0 !important;
	background-color: #006ba1;
	padding: 5%;
}

.hero .wp-block-media-text__media  {
	margin: 0 5%;
	box-shadow: 0 0 30px rgb(0 0 0 / 20%);
	border-radius: 25px !important;
}

.entry-content ul li {
	margin-bottom: 0.8em;
}

.heroback { 
		background: #fff url(/wp-content/uploads/wave-blue-back.svg) top center no-repeat;
		background-size: auto 100%;
}

figure {
	margin: 0;
}

.wp-block-image .alignright {
	margin: 1em 0 1em 1em;
}

.wp-block-image .alignleft {
	margin: 1em 1em 1em 0;
}


.spacer-home {
	height: 40px;
}

.wp-block-navigation .wp-block-navigation-item__content {
	letter-spacing: 1px;
}

.navbuttons .wp-block-ab-animate {
	margin-bottom: 10px;
}

.wp-block-quote.is-large p, .wp-block-quote.is-style-large p {
    line-height: 1.3;
    font-style: italic;
    font-family: Georgia, Times, "Times New Roman", serif;
}
    
.wp-block-quote.is-style-large cite {
  	font-size: 16px;
  	font-style: normal;
}

.shadow img {
	box-shadow: 0 0 30px rgb(0 0 0 / 20%);
	border-radius: 5% !important;
}

.shadow img {
  transition: filter 0.5s ease-in-out;
  filter: grayscale(100%);
}

.shadow img:hover {
  filter: grayscale(10%);
}


.wp-site-blocks > * + * {
	margin-top: 0 !important;
}

.hero-headline {
	margin-top: 0;
}

.hero-left {
	border-radius: 0 25px 25px 0;
}

.hero-right {
	border-radius: 25px 0 0 25px;
}

.box .wp-block-columns {
	margin-bottom: 0;
}

.box h1 {
	font-size: 2.5vw !important;
}

.box h2, .box p {
	font-size: 24px !important;
}

.wp-block-button__link {
	text-align: left;
}


/* Navigation & Overlay Nav */

.wp-block-navigation__container li {
	transition: .5s;
}

.wp-block-navigation__container:hover > :not(:hover) {
	opacity: .4;
}

.wp-block-navigation:not([style*=text-decoration]) a:hover {
	text-decoration: underline;
}

.wp-block-navigation__responsive-close {
	max-width: unset;
}

.has-modal-open .admin-bar .is-menu-open .wp-block-navigation__responsive-dialog {
	margin-top: 0;
}

.wp-block-navigation__responsive-container-close svg, .wp-block-navigation__responsive-container-open svg {
	width: 40px;
	height: 40px;
}

.wp-block-navigation.is-responsive .is-menu-open .wp-block-navigation-item a {
	margin-bottom: 0.5em;
	font-size: 1.5rem;
}


.wp-block-navigation__responsive-container.is-menu-open .trp-language-switcher>div {
	background-color: transparent !important;
	color: #fff !important;
	background-image: linear-gradient(45deg,transparent 50%,white 50%),linear-gradient(135deg,white 50%,transparent 50%);
}

.trp-language-switcher>div>a {
	padding: 0;
}


.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
            animation: fadeInAnimation ease-in-out 1s;
        }
        @keyframes fadeInAnimation {
            0% {
                opacity: 0;
            }
            100% {
                opacity: 1;
            }
        }

        
        
/* Projekte Overview */       

.portfolio .wp-block-post-title {
	margin: 0.8em 0 1em 0;
}

.wp-block-post-title a, .trp-language-switcher a, .trp-language-switcher a:hover {
	text-decoration: none;
}

.wp-block-post-title a:hover {
	text-decoration: underline;
}

.trp-language-switcher>div {
	background-position: calc(100% - 8px) calc(1em - 7px),calc(100% - 3px) calc(1em - 7px);
}


/* Project Single */

.post-template-single-projekt h2 {
	font-size: 20px;
	font-weight: 500;
}

.post-template-single-projekt strong {
	font-weight: 500;
}

.post-template-single-projekt .wp-site-blocks {
	display: block;
}

.post-template-single-projekt .wp-block-post-title, .post-template-single-projekt .details {
	max-width: 1000px;
	margin: 0 auto;
}

.post-template-single-projekt .wp-block-post-featured-image {
	margin: 0 20px 0 0;
}

.card {
	padding-left: inherit !important;
	padding-right: inherit !important;
}

.post-template-single-projekt table td:first-child {
	width: 25%;
}

.pagination p {
	margin: 0;
}

.pagination .wp-block-post-navigation-link a {
	font-size: 18px; 
	font-weight: 500;
	line-height: 2.4em;
	display: block;
}

.pagination .wp-block-post-navigation-link {
	display: inline;
}

.wp-block-separator, .has-tertiary-border-color, .wp-block-quote {
	border-color: #006ba1 !important;
	border-style: dashed !important;
}

.wp-block-table table[style*=border-width]>*, .wp-block-table table[style*=border-width] td, .wp-block-table table[style*=border-width] th, .wp-block-table table[style*=border-width] tr {
	background-color: rgba(255, 255, 255, 0.3);
}



@media (max-width: 600px) {
	
	.wp-block-post-template.is-flex-container li, .wp-block-query-loop.is-flex-container li {
		width: 100% !important;
	}
	
	.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media  {
		margin: 10px 0 0 0 !important;
	}
	
	.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
		grid-row: initial !important;
	}
	
	.wp-site-blocks .site-header .wp-block-site-logo {
		text-align: left;
		margin: 0;
		flex-basis: auto !important;
	}
	
	.wp-site-blocks .site-header .site-brand {
		display: inherit;
	}

}

@media (max-width: 781px) {
	
	
	.wp-block-columns {
		display: block;
			}
			
	.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:nth-child(2n) {
		margin-left: 0;
			}
			
	p, h1, h2, h3, h4, h5, h6, .has-text-align-right, .has-text-align-center {
		text-align: left;
			}
			
	.wp-block-buttons {
		justify-content: flex-start !important;	
			}
			
	.box h1 {
		font-size: 36px !important;
		padding: 5% 0;
	}
	
	
	.box h2 {
		font-size: 24px !important;
	}
			
	.box p {
		font-size: 20px !important;
	}
	
	.hero-left, .hero-right {
		border-radius: 0;
	}
	
	.heroback .hero-right {
		display: none;
	}
	
	h4.has-large-font-size {
		font-size: 22px !important;
		line-height: 1.4em;
	}
	
	.wp-block-separator.aligncenter {
		text-align: left;
		margin: 0;
	}
	
	.post-template-single-projekt .wp-block-post-featured-image {
		margin: 0 0 40px 0;
	}
	
/*
	.pagination .wp-block-column:first-child {
		margin-bottom: 1em;
	}
*/
	
	.wp-block-media-text .wp-block-media-text__content {
		padding: 1em 0 1.5em 0;
	}
	
	.wp-block-quote.is-large, .wp-block-quote.is-style-large {
		margin: 0;
	}
	
	.wp-block-quote.is-large p, .wp-block-quote.is-style-large p {
		font-size: 20px;
	}
	
	.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
		grid-row: 1;
		border-radius: 0 !important;
	}
	
	.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media  {
		margin-right: 30px;
	}
	
	
	.heroback { 
		background: none;
	}
	
	
	h4 {
		margin: 0 !important;
	}
	
	.wp-block-post-template.is-flex-container li, .wp-block-query-loop.is-flex-container li {
		width: 47.5%;
	}
	
	.pagination .wp-block-post-navigation-link a {
		line-height: 1.1em;
	}

	

}




