/*
Theme Name: ILS-Theme
Theme URI: https://ils-bau.de
Author: Mathias Wilmer
Author URI: https://ils-bau.de
Description: Ein eigenes Theme
Version: 1.0
*/

@font-face {
	font-family: 'Rajdhani';
	src: url('fonts/Rajdhani/Rajdhani-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'Zen_Dots';
	src: url('fonts/Zen_Dots/ZenDots-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
}

:root {
	--ILSBlue: #194770;
	--softILSBlue: #809ebb;
	--MainFontColor: #323232;
	--CAreaBorderColor: #c9c9c9;
	--ContenAreaBorderColor: #a7a7a7;

	--MainFont: Rajdhani;
	--HeadlineFont: Zen_Dots;

	--maxContentArea: 1020px;
}

@media (min-width: 600px) {
	  #main-content {
	    padding:0rem 2rem 0rem 2rem;
	  }

	  #Top-Header-Inner {
	  	justify-content: space-between;
	  }
}


@media (max-width: 600px) {
		#MainContentBox {
	    	padding-left:10px !important;
	    	padding-right:10px !important;
	  }

	  #ContentAreaNavigation {
	    	visibility:collapse;
	    	padding:0px 5px 0px;
	  }

	  #Top-Header-Inner {
	  		justify-content: center;
	  }
}


/* Grunddefinition nur EINMAL */
@media (min-width: 1000px) {
    body {
        background-size: cover;
        background-position: top center;
        background-repeat: no-repeat;
    }
}

/* FullHD bis WQHD */
@media (min-width: 1000px) {
    body {
        background-image: url("images/background-1920.webp");
    }
}

/* Ab WQHD */
@media (min-width: 2560px) {
    body {
        background-image: url("images/background-2560.webp");
    }
}

/* Ab 4K */
@media (min-width: 3840px) {
    body {
        background-image: url("images/background-3840.webp");
    }
}



html, body{
	/* background-color: #f0f0f0; */
	height: 100%;
	margin: 0px;
	font-family: var(--MainFont);
	line-height: 19pt;
		font-size: 13pt;
	color:var(--MainFontColor);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	/* background: linear-gradient(90deg,rgb(247, 247, 247) 0%, rgb(218, 218, 218) 30%, rgb(218, 218, 218) 70%, rgb(247, 247, 247) 100%); */
}

h1, h2, h3, h4, h5, h6 {
	color:var(--ILSBlue);
}

h1 {
	font-family: var(--HeadlineFont);
	font-size: 18pt;
}

h2{
	font-size: 13pt;
}

h3{
	font-size: 12pt;
}

img {
	border-radius: 15px;
}

#CAreaNavTitle{
	color: #FFF;
	background-color: var(-);
	background-color: #4d4d4d;
	border-radius: 15px 15px 0px 0px;
	height: 35px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: row;
	width: 250px;
}

#ContentAreaNavigation{
	border:solid 1px var(--CAreaBorderColor);
	margin-right:2rem;
	height: fit-content;
	border-radius: 15px;
	/* box-shadow: 2px 3px 9px 0px rgba(0,0,0,.1); */
}

#ContentAreaNavigation ul{
	width:100%;
	margin:0px;		
}

#ContentAreaNavigation li{
	padding: 5px 15px 5px 15px;
	margin: 0px 10px 0px 10px;
}
#ContentAreaNavigation li:hover,
#ContentAreaNavigation li:hover a {
	background-color: var(--ILSBlue);
	color:#FFF;
}

#ContentAreaNavigation {
	background-color: #FFF;
}

#ContentAreaNavigation li:not(:last-child){
	border-bottom:solid 1px var(--CAreaBorderColor);
}

#ContentAreaNavigation a{
	border:initial !important;
}

#InfoFooter{
	display:flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
	justify-content: space-between;
}

#ILS-BaustoffeLinkLogo{
	max-height:35px;
	width:auto;
}

#footer-menu{
	margin:0px;
}

#footer-nav a {
	text-decoration: underline !important;
}

#footer-nav a:hover {
	color: #FF0;
}

#MainContentBox { 
	/* Wordpress Class */
	width: 100%;
}

#main-content{
	height:100%;
	width: 100%;
	padding-top: 3rem;
	padding-bottom: 6rem;
	display:flex;
	flex-direction:row;
	background-color: #FFFFFFEB;
	border-left:solid 1px var(--ContenAreaBorderColor);
	border-right:solid 1px var(--ContenAreaBorderColor);
}

#main-menu a {
	color: var(--ILSBlue);
	padding: 7px;
	display:flex;
}

#main-menu a:hover {
	display:flex;
	color: #FFF;
	background-color: var(--ILSBlue);
	padding: 7px;
}

#MainNavBox {
	display: flex;
	flex-direction: column;
	justify-content: end;
}

#MainNavBox ul{
	margin:0px;
}

#Logo-Nav-Header{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	padding-left: 1rem;
	padding-right: 1rem;
	padding-top: 15px;
	padding-bottom: 5px;
	background-color: #FFFFFFEB;
	border-bottom: solid 1px #dee3e8;
	padding: 1rem 3rem 0.25rem 3rem;
}

#site-footer{
	display:flex;
	flex-direction:column;
	flex-wrap: wrap;
	justify-content: center;
	background-color: var(--ILSBlue);
	color:#FFF;
	margin-top: auto;
	padding:2rem;
}

#site-header{
	display: flex;
	flex-direction: column;
	position: sticky;
  	top: 0px;
}

#SocialMediaFooter {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	margin-top: 3rem;
}

#SocialMediaHeadline{
	margin-bottom:2rem;
	border: initial;
}

#SocialMediaWrapper {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

#Top-Header{
	display: flex;
	flex-direction: row;
	justify-content: center;
	width: 100%;
	height: fit-content;
	font-size: 13pt;
	background-color: #222;
	min-height: 30px;
}

#Top-Header p,
#Top-Header ul {
	margin:0px;
}

#Top-Header-Inner {
	display:flex;
	flex-direction: row;
	flex-wrap: wrap;
	color:#FFF;
	width: 100%;
}

#top-header-menu{
	height:25px;
}

#top-header-menu a{
	color:#FFF;
}
#top-header-menu a:hover{
	color:#FFFF00;
}

#top-header-menu, #FooterNavBox a{
	color: #FFF;
}

.CenterContent {
	display: flex;
	justify-content: center;
}

.custom-logo {
    height: 55px;      /* gewünschte Höhe */
    width: auto;       /* Breite proportional */
}

.contentArea{
	max-width:var(--maxContentArea);
	align-self: center;
	width:100%;
}

.FooterMenuHL{
	margin-bottom:3pt;
	font-family: var(--HeadlineFont);
	border-bottom: solid 1px #fff;
}

.HorizontalNav ul{
	display: flex;
	flex-direction: row;
}

.InfoFooterElement{
	margin-right: 5rem;
	display:flex;
	flex-direction: column;
	flex-wrap: wrap;
}

.InfoFooterElement p {
	margin-top: 0px;
	display:flex;
	flex-direction: column;
}

.is-layout-flex {
	display: flex;
}

.menu {
	padding: 0;
}

.menu li,a  {
	list-style-type: none;
	margin-right: 10px;
	text-decoration: none;
}

.SidebarNavigation li{
	padding: 5px 0px 5px 0px;
	color: var(--MainFontColor);
}

.SidebarNavigation li  > *:not(:last-child){
	border-bottom: solid 1px #CCC;
}

.SidebarNavigation li:hover{
	background-color: var(--ILSBlue);
}

.SidebarNavigation li:hover a{
	color: #FFF !important;	
}

.SidebarNavigation a{
	padding:10px;	
}

.SidebarNavigation ul {
	border: solid 1px #ccc;
	width: 100%;
	margin-right: 2rem;
	border-radius: 15px;
	list-style-type: none;
	display: flex;
	flex-direction: column;
	padding: 0px 30px 0px 30px;
}

.SocialMediaLinkIcon {
  	max-height: 40px;
}

.SocialMediaItem{
	margin-right:30px;
}

.VerticalNav ul{
	display: flex;
	flex-direction: column;
}


/* Burger Navi */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 3px;
    background: #000;
}

/* Mobile */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    #main-menu {
        display: none;
        flex-direction: column;
        position:absolute;
        z-index:100;
        left:0px;
    }

    #main-menu.active {
        display: flex;
    }

    #MainNavBox ul{
		width:100%;
		background-color:#FFF;
		border:initial;
    }

    #MainNavBox li, 
    #MainNavBox a{
		display:block;
		width:100%;
		border:none !important;
		background-color:#FFF;
		padding: 10px;
    }

    #MainNavBox li {
    	border-bottom: solid 1px var(--softILSBlue) !important;
    }
}
