/* FONTS */

@font-face {
	font-family: 'Neumayer', sans-serif;
}

@font-face {
    font-family: 'Neumayer';
    src: url('/media/webfont/neumayer.woff2') format('woff2'),
         url('/media/webfont/neumayer.woff') format('woff'),
    font-weight: normal;
    font-style: normal;
}

/* ALLGEMEIN */

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6, p, a  {
	font-family: Neumayer, Helvetica, sans-serif !important;
}

.h1, h1 {
    color: #373737;
	text-transform: uppercase;
	font-size: 1.3em;
	margin-bottom: 1.2rem;
}
.h2, h2 {
    color: #373737;
	text-transform: uppercase;
	font-size: 1.1em;
}
.h3, h3 {
    font-size: 1em;
	text-transform: uppercase;
	background-color: #373737;
	color: #fff;
	-webkit-transform: skew(-20deg); 
	-moz-transform: skew(-20deg); 
	-o-transform: skew(-20deg);
	transform: skew(-20deg);
	border-radius: 5px;
}

a {
	color: #909090;
}

.kleiner {
    font-size: 0.6em;
    font-weight: normal;
}

/* HOVER */
a:hover {
	color: #373737;
}
a , a:hover {
	transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
}
.item-image img:hover {
	transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
	filter: contrast(1.4);
}

/* GRID */

/* HEADER */
.container-header {
    background: rgb(255,255,255);
	display: flex;
	justify-content: space-between;
}
.container-header .grid-child {
  margin: 0;
  width: auto;
  align-self: end;
}
.container-topbar {
  position: absolute;
  right: 2em;
}
.container-header .container-nav {
	margin: 0;
}

.logo {
    float: left;
	margin-right: 10px;
}

.container-header > .grid-child:nth-of-type(1){
	display: block;
	margin-left: 0;
	margin-right: 0;
	width: fit-content;
	float: left;
}
.container-nav {
	float: left;
	width: auto;
}
.container-header .mod-menu {
	color: #373737;
}
.container-header .mod-menu > li.active::after, .container-header .mod-menu > li:hover::after {
  background: none;
  left: 0;
  right: 2px;
}
.container-header .container-nav {
  padding-bottom: 1px;
}
.navbar, .navbar > .container, .navbar > .container-fluid, .navbar > .container-lg, .navbar > .container-md, .navbar > .container-sm, .navbar > .container-xl, .navbar > .container-xxl {
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: end;
}
.klein {
    font-size: 0.8em !important;
    padding-left: 20px;
	margin-top: -5px !important;
}

/* MENU */
.nav-item a {
	font-size: 1.3em;
}
.mod-list li a, .container-header .mod-menu > li {
	color: #909090;
	text-transform: uppercase;
}
.mod-list li a:hover, .container-header .mod-menu > li.active {
	text-decoration: none;
	color: #373737;
}

/* SUBMENU */
.container-header .mod-menu .parent > ul {
	display: block;
	opacity: 0;
	height: 0;
	width: 0;
}
.nav .deeper:hover ul {
	background: rgb(255, 255, 255) none repeat scroll 0 0;
	-webkit-box-shadow: 5px 5px 5px rgba(0,0,0,0.4);
	-moz-box-shadow: 5px 5px 5px rgba(0,0,0,0.4);
	box-shadow: 5px 5px 5px rgba(0,0,0,0.4);
	-webkit-border-radius: 0 0 15px 15px;
	border-radius: 0 0 15px 15px;
	display: block !important;
	position: absolute;
	top: 52px;
	padding: 0.2em .5em;
	width: max-content;
	right: -10px;
	opacity: 1;
	height: auto;
  	-moz-transition: all 1s ease;
	-webkit-transition: all 1s ease;
	transition: all 1s ease;
 }
.nav .deeper a {
	padding-bottom: 30px;
}
 
/* CONTENT */
.blog-items.masonry-3 {
  display: flex;
  justify-content: space-between;
}

.cont_flex {
	display: flex;
	width: auto;
}
.item-image img {
  object-fit: cover;
  height: 30vw;
  width: 30vw;
}
.cont_flex > * {
	width: 50%;
	/* mittig: margin: auto; */
}
.cont_flex .maintext {
  padding-left: 3vw;
}
.wrap {
	flex-wrap: wrap;
	gap: 0.5em;
	justify-content: space-around;
}
.wrap img {
  max-height: 320px;
  width: auto;
}

.mainimg {
	width: 50%;
	justify-content: center;
}
.maintext {
  padding: 0.8em 0 2em 0;
}
.details img {
  width: 75%;
  margin-top: 2em;
}
.maintiles {
  background-color: rgb(140,196,178);
  padding: 2em;
}


/* FOOTER */
.footer a {
	color: #909090;
}
.footer a:hover {
	color: #373737;
}
.footer .grid-child {
	background-color: #fff;
	padding: 10px;
}
.footer .mod-custom {
    width: 100%;
	display: flex;
	justify-content: center;
}
.footer .left, .footer .mid, .footer .right {
	display: block;
}
.footer .left {
	float: left;
}
.footer .mid {
	margin: auto;
}
.footer .right {
	text-align: right;
	float: right;
}
.footer .right .left {
    float: right;
}
.footer .right .middle {
    display: none;
}
.footer .right .right {
    clear: both;
}

.cont_footer {
	width: 100%;
}
.cont_footer  > * {
  padding: 0 10px;
 }

/* RESPONSIVE */
.navbar-toggler.navbar-toggler-right {
	background-color: #373737;
}
@media (min-width: 1200px) {
	.h1, h1 {
		font-size: 1.3rem;
	}
	.h2, h2 {
		font-size: 1.1rem;
	}
	
}
	
@media only screen and (max-width: 960px), (max-device-width: 960px) {
	.nav-item a {
		font-size: calc(0.25rem + 1.5vw);
	}
	.container-header .container-nav {
		padding-bottom: 0.2em;
	}
	.container {
		display: block;
	}
	.container .left {
		margin-right: 0;
		width: 100%;
	}
	.container .left p {
		display: flex;
		justify-content: center;
	}
	
	.item-image img {
		object-fit: cover;
		height: 25vw;
		width: 25vw;
	}
}
@media (min-width: 769px) {
	.container-header .mod-menu {
		-webkit-box-flex: 1;
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex: 1 1 0%;
		flex: 1 1 0%;
		-ms-flex-direction: row;
		flex-direction: row;
	}
	.container-header .mod-menu > li::after {
		background: transparent;
		bottom: 0;
		content: "";
		display: block;
		height: 2px;
		left: 50%;
		margin: auto;
		opacity: .2;
		position: absolute;
		right: 50%;
		-webkit-transition: all .2s ease,background-color .2s ease;
		-o-transition: all .2s ease,background-color .2s ease;
		transition: all .2s ease,background-color .2s ease;
	}
	.container-header .mod-menu > li + li {
		  margin-left: 1.55em;
	}
}

@media only screen and (max-width: 768px), (max-device-width: 768px) {
	.container-topbar {
		left: 2em;
	}
	.navbar-collapse .navbar {align-content: end;}
	.navbar-collapse .nav {
		display: inline-block;
		position: static;
		top: 50px;
		right: 1px;
		text-align: right;
	}
	.container-header .mod-menu > li {
		background-color: #909090;
		padding: 10px;
	}
	.container-header .mod-list li.active, .container-header .mod-menu > li:hover{
		background-color: #373737;
	}
	.container-header .mod-menu > li a {
		color: #fff;
		width: 100%;
		display: inline-block;
	}
	.container-header .mod-list li.active > a, .container-header .mod-menu > li > a:hover, .container-header .mod-menu > li > span:hover {color: #fff;}
	.themen {flex-direction: column;}
	.kat {padding: 10px 0;}
	h2 {padding: 10px 0;}
	
	.item-image img {
		height: 44vw;
		width: 44vw;
	}
}

@media only screen and (max-width: 660px), (max-device-width: 660px) {
	.item-image img {
		height: 100vw;
		width: 100vw;
	}
}

@media only screen and (max-width: 580px), (max-device-width: 580px) {
	.header .left {
		margin: 0 0 0 10px;
	}
	.header .left img {
		height: 15px;
		width: 15px;
	}
	.header .left .right {
		clear: both;
	}
	.header .middle {
		display: none;
	}
	.header .right {
		margin: 5px;
	}	
	.footer .grid-child {
		padding: 10px !important;
	}
	.footer .mod-custom {
		display: block;
	}
	.footer .right {
	  clear: both;
	  text-align: left;
	  float: none;
	  display: block;
	}
	.footer .right .left {
	  padding-right: 10px;
	  float: left;
	}
}