/*
    Theme Name: Fries Theme
    Version: 0.4.2
    Description: An WordPress Theme based on "EUROKEY Base Theme"
*/

/*=^.^=|=^.^=|=^.^=|=^.^=|=^.^=
    KEEP THES FILE ORGANISED
    IT EASYLY GETS 400+ LINES
=^.^=|=^.^=|=^.^=|=^.^=*|=^.^=/

/*==============================
	   imports
==============================*/

/* montserrat-300 - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: local(''),
       url('/wp-content/themes/2023-child/assets/fonts/montserrat-v21-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/wp-content/themes/2023-child/assets/fonts/montserrat-v21-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-regular - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('/wp-content/themes/2023-child/assets/fonts/montserrat-v21-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/wp-content/themes/2023-child/assets/fonts/montserrat-v21-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-500 - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: local(''),
       url('/wp-content/themes/2023-child/assets/fonts/montserrat-v21-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/wp-content/themes/2023-child/assets/fonts/montserrat-v21-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* muli-light - latin */
@font-face {
  font-family: 'Muli';
  font-style: normal;
  font-weight: 300;
  src: local(''),
       url('/wp-content/themes/2023-child/assets/fonts/Muli-Light.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/wp-content/themes/2023-child/assets/fonts/Muli-Light.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* muli-regular - latin */
@font-face {
  font-family: 'muli';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('/wp-content/themes/2023-child/assets/fonts/Muli-Regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/wp-content/themes/2023-child/assets/fonts/Muli-Regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

@font-face {
  font-family: 'muli';
  font-style: normal;
  font-weight: 600;
  src: local(''),
       url('/wp-content/themes/2023-child/assets/fonts/Muli-SemiBold.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/wp-content/themes/2023-child/assets/fonts/Muli-SemiBold.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

@font-face {
  font-family: 'muli';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('/wp-content/themes/2023-child/assets/fonts/Muli-Bold.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/wp-content/themes/2023-child/assets/fonts/Muli-Bold.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}




/*==============================
	   general style
==============================*/

*{
    box-sizing: border-box;
}

body{
    margin: 0px;
    color: #323232;
    line-height: 1.5rem;
    font-family: 'Muli', sans-serif !important;
    font-size: 16px !important;
	font-weight: 400 !important;
	background: #ffffff;
}

header, main, footer, article, nav, section, aside{
    display: block;
}

img.bottom {
    margin-bottom: 20px;
}

.smallImg {
    width: 120px;
    height: auto;
}

.textImg {
    vertical-align: bottom;
    max-height: 32px;
    width: auto;
}

.uppercase{
    text-transform: uppercase;
}

.lowercase{
    text-transform: lowercase;
}

.align-center {
	margin: 0 auto;
}

.no-margin {
	margin: 0 !important;
}

article{
    padding: 40px 0;
}

h1, h2, h3, h4, h5, h6{
    font-family: 'Montserrat', sans-serif;
    color: #354261;
    letter-spacing: 1px;
	font-weight: 400;
	line-height: 1.3;
}

h1{
    font-size: 3rem;
	margin-bottom: 30px;
}

h2 {
    font-size: 2rem;
	margin-bottom: 15px;
}

h3, footer h2 {
    font-size: 1.3rem;
}

h4{
    font-size: 1.3rem;
	letter-spacing: 0;
}

h2 + h3 {
	margin-top: 20px;
}

h2.titlelist:before {
	content:''; 
	display:inline-block; 
	height: 0.8em; 
	width: 0.8em; 
	background-image:url('/wp-content/uploads/list_fries.svg'); 
	background-size:contain; 
	background-repeat:no-repeat; 
	padding-left: 1.3em;
	vertical-align: -1px;
}

#datenschutz h2 {
	margin-top: 3rem;
}

p + h4, ul + h4, p + h2, ul + h2 {
	margin-top: 50px;
}

main a {
	color: #354261;
}

main a:hover {
	color: #7b849e;
}

a {
	transition: color 0.4s, background 0.4s
}

a:hover {
    text-decoration: none !important;
	transition: color 0.4s, background 0.4s
}

.wp-block-button__link {
	color: #fff;
	background: #354261;
	transition: 0.4s;
}

.wp-block-button__link:hover {
	background: #7b849e;
	transition: 0.4s;
}

main .white a {
	color: #fff;
}

.separator{
    margin: 0 5px;
}

.btn-primary {
    background-color: #354261 !important;
    border-color: #354261 !important;
}

.bg-grey {
	background: #f2f2f2;
}

/*==============================
	   header style
==============================*/


/*====================================  header ==================================== */


header {
	display: flex;
	height:90px;
	align-items: end;
}

#logo-block {
	width: 40%;
}

#headerSpace{
	display: block;
	transition: all 0.8s ease 0s;
	height: 90px;
}


 #header_left {
	display: block;
}

#header_left {
	max-width: 150px;	
	height: auto;
  	padding: 15px 0;
	transition: 0.8s;
	margin-bottom: -5px;
	transition: all 0.8s ease 0s;
}




/*
header {
  background: #fff;
  position: fixed;
  width: 100%;
  height: 90px;
  box-sizing: border-box;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: flex-end;
  z-index: 50;
  transition: all 0.8s ease 0s;
}
header #topHeader {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  height: 75%;
}
header #header-menu {
  color: #323232;
  width: 50%;
  right: 0;
  position: absolute;
}
header #header-menu .menu {
  width: 100%;
  padding: 0px 2%;
  box-sizing: border-box;
  max-height: 35px;
}

@media only screen and (max-width: 1200px) {
  header #header-menu {
    width: 55%;
    right: 0%;
  }
}
@media only screen and (max-width: 992px) {
  header #header-menu {
    width: 100%;
    margin: 0 auto;
    position: initial;
    right: initial;
  }
  header #header-menu .menu {
    padding: 0;
  }
}
header #header-line {
  width: 100%;
  min-height: 35px;
  line-height: 35px;
}

header #logo {
  display: block;
  position: absolute;
  left: 15%;
  bottom: 5px;
}
header #logo div:first-child {
  color: #fff;
}
header #logo img {
  max-height: 75px;
}
*/

/*==============================
	   menu style
==============================*/

.menu {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: inherit;
    margin: 0px;
    padding: 0px;
}

.menu li {
    display: inline-block;
    height: inherit;
    cursor: pointer;
    transition: .5s;
    text-align: center;
    flex-grow: .2;
}

.menu li.menu-item-type-custom a {
	cursor: default;
}

.menu li a {
    display: inline-block;
    width: 100%;
    padding: 0px 3.2%;
    box-sizing: border-box;
    color: inherit;
    font-size: 15px;
	font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Montserrat', serif;
}

#openMobileMenu{
    display: none !important;
    //max-width: 36px;
	max-height: 90px;
    color: #fff;
    font-size: 24px;
    //margin: 0 2%;
    cursor: pointer;
    //padding: 0 5px;
	padding: 30px;
    transition: .3s;
	text-align: center;
	//top: 29px;
	top: 0px;
    position: fixed;
	background: #354261;
}

.menu .sub-menu {
	display:none;
	position: absolute;
	z-index: 999;	
	top: 35px;
	padding: 10px 15px;
	min-width: 9vw;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.6);
}

.menu .sub-menu a {
	text-transform: none;
	cursor: pointer !important;
	padding: 2px 0 !important;
}

.menu .menu-item-has-children > a:after {
	content: '\f0d7';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	padding-left: 5px;
}

.menu .menu-item-has-children:hover > .sub-menu {
	display: grid;
	padding: 0;
	background: #fff;
} 

.menu li:hover,
.menu .current_page_item,
.menu .current-menu-item,
#openMobileMenu:hover{
    display: block;
	color: #354261;
}

.overlay{
    width: 0;
}

.overlay .closebtn {
    display: none;
}

.sticky {
    position: fixed !important;
    width: 100% !important;
    transition: box-shadow 0.3s;
    z-index: 20;
    right: initial !important;
}

.menu li.current_page_item > a, .menu li.current-menu-item > a, .menu li.current-menu-parent > a, .menu li:hover > a, #openMobileMenu:hover {
  color: #fff !important;
  display: inline-block;
	background: #354261;
}

.sub-menu li.current_page_item > a, .sub-menu li.current-menu-item > a, .sub-menu li.current-menu-parent > a, .sub-menu li:hover > a {
	background: #45516c;
	background: #7b849e;
}

/*==============================
	   main style
==============================*/

main{
    min-height: 538px;
    min-height: calc(100vh - 250px);
}

main#error_404{
    padding: 11vh 0;
    font-size: 20px;
}

article{
    padding: 6vw 0;
}

article:nth-child(odd){
    background: #F2F2F2;
}

.container-100 {
	padding: 6vw 0;
}

.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.columnContainer{
    display: flex;
}

.list.fries {
    line-height: 1.8;
	margin-left: 0 !important;
}

.list.fries li{
    margin-bottom: 25px;
	font-size: 1.1rem;
	font-weight: 500;
}

.list.fries li:before{
	content:''; 
	display:inline-block; 
	height: 0.8em; 
	width: 0.8em; 
	background-image:url('/wp-content/uploads/list_fries.svg'); 
	background-size:contain; 
	background-repeat:no-repeat; 
	padding-left: 25px;
	vertical-align: -1px;
}

.list li span{
    left: -2.5em;
}

.list li i{
    color: #354261;
	font-size: 13px;
}

ul.fries > li > ul > li {
	margin-bottom: 0 !important;
	font-size: 1rem !important;
	font-weight: 300 !important;
}

ul.fries > li > ul > li:before {
	content:''; 
	height: auto !important;
	width: auto !important;
	background-image: none !important;
	padding-left: 0 !important;
}

.bluebox{
    height: 15px;
    width: 35px;
    background: #354261;
    display: block;
    position: absolute;
    right: 30px;
    top: 7px;
}

.grecaptcha-badge { 
	visibility: hidden; 
}

/*==============================
	   pages style
==============================*/


#datenschutz h3, #impressum h3 {
	margin-top: 1.5em;
}

.wwsArticleTeaser {
    padding: 20px;
    background-color: #fff;
}

.wwsArticleTeaser:nth-child(2n+1) {
    background-color: #F2F2F2;
}

.wwsSearchBox {
    margin-bottom: 10px;
}

#facetListToggle {
    width: 100%;
    margin-bottom: 10px;
    display: none;
}

.wwsTeaserList.row {
    flex-direction: row-reverse;
}

.wwsArticle a {
    color: #354261 !important;
}

.list-group-item.active,
.page-item.active .page-link{
    color: #fff !important;
    background-color: #354261 !important;
    border-color: #354261 !important;
}

.badge-primary {
    background-color: #354261 !important;
}

.page-item:not(.active) .page-link{
    color: #354261 !important;
}

.wwsArticleTeaser a {
    color: #354261 !important;
}

.wwsArticleTeaserCaption{
    font-weight: 500 !important;
    letter-spacing: initial !important;
}

.wwsArticleTeaserBodyMoreLink{
    font-weight: 600 !important;
}

/*==============================
	   footer style
==============================*/

footer{
    height: 250px;
    background: #354261;
    color: #fff !important;
}

#topFooter{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    height: 85%;
}

#bottomFooter{
    height: 15%;
    background: rgba(0,0,0,0.4);
    min-height: 35px;
    line-height: 35px;
}

#bottomFooter ul{
    margin: 0;
}

#bottomFooter .menu{
    margin: 0 auto;
    padding: 1px 0;
    width: 400px;
}

#bottomFooter .menu li a {
    font-size: 12px;
}

#bottomFooter ul	{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#footerWidgetArea{
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

footer .container{
    padding-top: 30px;
}

footer h2{
    color: #fff !important;
}

/*==============================
	   widget style
==============================*/

#front-page .mio h4 {
	hyphens: auto;
}

/*==============================
	   @media style
==============================*/


@media only screen and (max-width: 1300px) {
    #bottomFooter .menu{
	margin-left: 7%;
    }
	
	header #logo {
		left: 3%;
	}
}

@media only screen and (max-width: 1200px) {
    #header-menu{
	width: 50%;
	right: 0%;
    }
}

@media only screen and (min-width: 992px) {
    .wwsFacetList{
		display: block !important;
    }
	
	header #logo {
		z-index: 25;
	}
}

@media only screen and (max-width: 992px) {
    
	h1 {
	font-size: 26px !important;	
	margin-bottom: 24px !important;
	}
	
	h2 {
	font-size: 22px !important;	
	}
	
	h3, footer h2 {
    font-size: 18px;
	}
	
	#logo{
	position: absolute;
	right: 0;
	text-align: end;
	padding: 5px 10px 5px 5px;
	left: initial !important;
    }
	
	header #logo img {
   		max-height: 60px;
	}
	
	#header-menu{
	width: 100%;
	margin: 0 auto;
	position: initial;
	right: initial;
    }
	
	.menu .menu-item-has-children:hover > .sub-menu {
		background: transparent;
	} 

    #bottomFooter .menu{
	margin-left: 5%;
    }
	
	#bottomHeader.sticky{
	width: 100px !important;
    }

    .bluebox{
	display: none;
    }

    .sticky #logo{
	left: 17%;
    }

    #header-menu .menu{
	padding: 0;
    }

    #openMobileMenu{
        display: block !important;
    }
	
	.overlay ul.menu li:hover,
	.overlay ul.menu li:hover > a,
	.overlay .menu li.current_page_item > a,
	.overlay .menu li.current-menu-item > a{
 	   color: #fff !important;
	}

    .overlay{
        height: 100% !important;
        position: fixed !important;
        z-index: 10 !important;
        left: 0 !important;
        top: 0 !important;
        background-color: #f2f2f2 !important;
        overflow: hidden;
        transition: width 0.5s !important;
        overflow-y: auto;
    }

    .overlay ul{
        width: 100%;
    }

    .overlay .closebtn {
        position: absolute;
        top: 0px;
		left: 0px;
        font-size: 32px !important;
		color: #fff !important;
		height:	40px;
		line-height: 16px;
		background: #354261;
		padding: 10px !important;
    }

    .overlay #menu-header li{
        width: 100%;
        padding: 10px 0;
		color: #fff;
    }

    .overlay #menu-header{
        position: relative !important;
        top: 40px !important;
        width: 100% !important;
        display: block;
        margin-top: 15px !important;
        height: 100%;
        height: fit-content;
        height: -moz-fit-content;
        padding: 0;
    }

    .overlay .menu-header-container{
        right: initial !important;
        height: 100%;
        width: 100% !important;
    }

    .overlay a {
        padding: 0 !important;
		font-size: 23px !important;
		display: block !important;
		color: #354261 !important;
		background: #f2f2f2;
		padding: 5px 0 !important;
    }

    .overlay .sub-menu {
        position: static !important;
        display: grid;
        background-color: transparent;
        box-shadow: none;
        padding: 0;
    }
	
	.overlay .sub-menu:hover {
		background: transparent !important;
	}
	
	.overlay .sub-menu li {
		padding: 0 !important;
	}
	
	.overlay .sub-menu a {
		font-size: 1rem !important;
		padding: 0 !important;
		width: 75%;
		margin: 0 auto;
	}

    #facetListToggle{
	display: block;
    }
}

@media only screen and (max-width: 768px) {
	body {
		font-size: 14px !important;
	}
	
	main {
		padding-top: 78px;
	}
	
	p {
		line-height: 1.7;
	}
	
	h1 {
		font-size: 26px !important;	
		margin-bottom: 24px !important;
	}
	
	h2 {
		font-size: 22px !important;	
	}
	
	h3{
    font-size: 18px;
	}
	
	header{
		height: 78px;
    }

    #topHeader{
		display: none;
    }    	

    #bottomHeader{
		height: 50%;
    }
	
	#openMobileMenu{
		max-height: 78px;
		padding: 24px 30px 30px 30px;
	}
	
	.container-100 {
		padding: 10vw 0;
	}

    .columnContainer {
		flex-direction: column;
    }

    .columnContainer .col:not(:last-child){
		margin-bottom: 20px;
    }

    #footer-menu li{
		text-align: initial;
	padding: 0 19px;
    }

}

@media only screen and (max-width: 500px) {
    footer{
	height: auto;
    }

    #bottomFooter{
	height: auto;
    }

    #bottomFooter .menu{
	flex-direction: column;
	margin: 0;
	width: 100%;
    }

    #bottomFooter .separator{
	display: none;
    }
}