/*
 Theme Name:   XYZ Customized Child Theme
 Theme URI:    http://www.maitopia.com
 Description:  XYZ Child theme
 Author:       XYZ
 Author URI:   http://www.maitopia.de
 Template:     generatepress
 Version:      5.7.1
*/





/* ---------------------------------
      FONTS
   --------------------------------- */

@font-face {
	font-family: 'base';
	src:url('/z-data/uploads/webfonts/NunitoSans-Regular.eot');
	src:url('/z-data/uploads/webfonts/NunitoSans-Regular.eot?#iefix') format('embedded-opentype');
	src:url('/z-data/uploads/webfonts/NunitoSans-Regular.woff') format('woff'),
		url('/z-data/uploads/webfonts/NunitoSans-Regular.woff2') format('woff2'),
		url('/z-data/uploads/webfonts/NunitoSans-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'bold';
	src:url('/z-data/uploads/webfonts/NunitoSans-Bold.eot');
	src:url('/z-data/uploads/webfonts/NunitoSans-Bold.eot?#iefix') format('embedded-opentype');
	src:url('/z-data/uploads/webfonts/NunitoSans-Bold.woff') format('woff'),
		url('/z-data/uploads/webfonts/NunitoSans-Bold.woff2') format('woff2'),
		url('/z-data/uploads/webfonts/NunitoSans-Bold.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'light';
	src:url('/z-data/uploads/webfonts/NunitoSans-Light.eot');
	src:url('/z-data/uploads/webfonts/NunitoSans-Light.eot?#iefix') format('embedded-opentype');
	src:url('/z-data/uploads/webfonts/NunitoSans-Light.woff') format('woff'),
		url('/z-data/uploads/webfonts/NunitoSans-Light.woff2') format('woff2'),
		url('/z-data/uploads/webfonts/NunitoSans-Light.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'title';
	src:url('/z-data/uploads/webfonts/NunitoSans-ExtraLight.eot');
	src:url('/z-data/uploads/webfonts/NunitoSans-ExtraLight.eot?#iefix') format('embedded-opentype');
	src:url('/z-data/uploads/webfonts/NunitoSans-ExtraLight.woff') format('woff'),
		url('/z-data/uploads/webfonts/NunitoSans-ExtraLight.woff2') format('woff2'),
		url('/z-data/uploads/webfonts/NunitoSans-ExtraLight.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}






/* maitopia icon: <span class="icon-maitopia"></span>*/
@font-face {
	font-family: 'icomoon';
	src:url('/z-data/uploads/webfonts/icomoon.eot');
	src:url('/z-data/uploads/webfonts/icomoon.eot?#iefix') format('embedded-opentype');
	src:url('/z-data/uploads/webfonts/icomoon.woff') format('woff'),
		url('/z-data/uploads/webfonts/icomoon.woff2') format('woff2'),
		url('/z-data/uploads/webfonts/icomoon.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
	font-family: 'icomoon' !important;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon-maitopia:before {
  content: "\ea9e";
}









/* ---------------------------------
      VARIABLES
   --------------------------------- */

:root {
	--ci: #1b2c4b;
	--cilight: #badfe7;
	--cierror: #cc0528;
    --outer: 1920px;
	--inner: 1300px;
	--innerxs: 900px;
	--innerpad: 40px;
	--innerpadm: 15px;
	--fbase: 'base', sans-serif;
	--fbold:  'bold', sans-serif;
	--flight:  'light', sans-serif;
	--ftitle: 'title', sans-serif;
}









/* ---------------------------------
      GENERAL
   --------------------------------- */

body,
html {
	/*height: 100%;*/
}

html {
	box-sizing: border-box;
}

*, *:before, *:after {
	box-sizing: inherit;
}

/* avoid mobile x scrolling */
html, body {
    overflow-x: hidden;
}

body {
    position: relative;
}

body {
	font-family: var(--fbase);
}

a:link,
a:visited {
	color: var(--ci);
	-webkit-transition: all 400ms linear;
    -moz-transition: all 400ms linear;
    -o-transition: all 400ms linear;
    -ms-transition: all 400ms linear;
    transition: all 400ms linear;
}

a:hover,
a:active {
	color: var(--ci);
    text-decoration: underline;
}

button {
    -webkit-transition: all 400ms linear;
    -moz-transition: all 400ms linear;
    -o-transition: all 400ms linear;
    -ms-transition: all 400ms linear;
    transition: all 400ms linear;
}

body,
section,
input,
a {
	outline: none !important;
}

.entry-content {
	padding: 0;
	margin: 0;
}

em {
	font-style: normal;
}

p {
	margin-bottom: 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: normal;
	font-family: var(--ftitle);
    margin-top: 0;
    margin-bottom: 0;
    color: var(--ci);
}

h1,
h2,
h3 {
    text-transform: uppercase;
}

.widget-title {
    margin-bottom: 0;
}

strong {
	font-family: var(--fbold);
}

figcaption {
	color: var(--ci);
	font-size: 0.8em;
}

.inner .panel-grid-cell {
	max-width: var(--inner);
	margin: 0 auto;
	padding-top: 5px;
	padding-right: var(--innerpad);
	padding-bottom: 5px;
	padding-left: var(--innerpad);
}

.inner-xs .panel-grid-cell {
	max-width: var(--innerxs);
	margin: 0 auto;
	padding-top: 5px;
	padding-right: var(--innerpad);
	padding-bottom: 5px;
	padding-left: var(--innerpad);
}


.textwidget ol,
.textwidget ul,
.textwidget ol li,
.textwidget ul li {
	list-style-type: square;
	margin-left: 20px;
}

ul.menu {
	list-style-type: none;
	margin-left: 0;
}

ul.menu li {
	list-style-type: none;
	margin-left: 0;
}

ul,
ol {
    margin: 0;
}

.widget ul li {
    padding-bottom: 0;
    margin-bottom: 0;
}




.cta {
	/*margin-top: 40px;
	margin-bottom: 40px;
	/*max-width: 500px;*/
}

.cta a:link,
.cta a:visited {
	display: inline-block;
	background-color: #fff;
    border: 1px solid var(--ci);
	font-family: var(--fbold);
	color: var(--ci);
	margin-top: 15px;
	margin-right: 20px;
	margin-bottom: 15px;
	padding: 15px 60px 15px 60px;
	-webkit-transition: all 400ms linear;
    -moz-transition: all 400ms linear;
    -o-transition: all 400ms linear;
    -ms-transition: all 400ms linear;
    transition: all 400ms linear;
}

.cta a:hover,
.cta a:active {
	background-color: var(--ci);
	color: #fff;text-decoration: none;
}

.cta a:only-child {
	margin-right: 0;
	margin-left: 0;
}


/* responsive videos */
iframe,
video {
	max-width: 100%;
}

video {
	height: auto;
	max-width: 100%;
}

.video-block { 
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}

.video-block iframe,
.video-block object,
.video-block embed,
.video-block video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


/* youtube player on click */

.video-wrapped {
	max-width: 100%;
	width: 100% !important;
	min-height: 50px !important;
	background: #fff url('/z-data/uploads/system/video-wrapper-bg.jpg') no-repeat center center !important;
	-moz-background-size: 100% auto !important;
	-o-background-size: 100% auto !important;
	-webkit-background-size: 100% auto !important;
	background-size: 100% auto !important;
	/*margin-top: 50px;*/
	margin-bottom: 10px;
}

.video-wrapped iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100;
	background: transparent;
}

.video-wrapped .video-wrapped-play {
	opacity: 0.8;
	margin-top: 0;
	margin-top: 200px;
	padding: 0 5px;
	position: inherit;
	left: auto;
	right: auto;
	background-color: rgba(0,0,0,0.9);
	font-size: 20px !important;
}

.video-wrapped.video-wrapped-video .video-wrapped-play:before {
	display: none;
}

.video-wrapped.video-wrapped-video .video-wrapped-play:after {
	display: none;
}

.video-wrapped:hover .video-wrapped-play {
	opacity: 0.99;
}

.video-wrapped .video-wrapped-play span {
	font-size: 12px;
}

.video-wrapped .video-wrapped-play div span {
	display: block;
	padding-bottom: 10px;
}

.video-wrapped .video-wrapped-play div.small a:link,
.video-wrapped .video-wrapped-play div.small a:visited {
	color: var(--ci) !important;
	text-decoration: none !important;
}




/* error pages */
body.error404 .inside-article {
	max-width: 1060px;
	margin: 0 auto;
	padding: 20px 20px;
	text-align: center;
}

.error404-headline img {
	display: block;
	width: 100%;
}



@media (max-width: 1023px) {
    
    html {
		/* hyphens */
	   -moz-hyphens: auto;
	   -o-hyphens: auto;
	   -webkit-hyphens: auto;
	   -ms-hyphens: auto;
	   hyphens: auto; 
	}
    
    body {
        font-size: 15px;
    }
	
	body .grid-container {
		padding: 0px;
	}
	
	#content {
		padding: 0 !important;
	}
    
    .textwidget ol,
    .textwidget ul,
    .textwidget ol li,
    .textwidget ul li {
        margin-left: 0px;
    }
	
	.preheader-inner {
		padding-right: 40px;
		padding-left: 40px;
	}
	
	.section {
		padding-top: 70px !important;
		padding-bottom: 70px !important;
	}
	
	.section-top {
		padding-top: 70px !important;
	}
	
	.section-bottom {
		padding-bottom: 70px !important;
	}
	
	.inner .panel-grid-cell {
		padding-right: var(--innerpadm);
		padding-left: var(--innerpadm);
	}
	
	.inner-xs .panel-grid-cell {
		padding-right: var(--innerpadm);
		padding-left: var(--innerpadm);
	}
	
	.cta a:link,
	.cta a:visited {
		display: block;
		text-align: center;
		margin-right: 0px;
		margin-left: 0px;
        padding: 5px 10px;
	}
	
	.desktop {
		display: none !important;
	}
}

@media (min-width: 1024px) {
	
	.section {
		padding-top: 150px !important;
		padding-bottom: 150px !important;
	}
	
	.section-top {
		padding-top: 150px !important;
	}
	
	.section-bottom {
		padding-bottom: 150px !important;
	}
	
	.flex-container,
	.flexbox .panel-grid-cell {
		display: -webkit-flex;
		display: flex;
	}
	
	.flexbox .so-panel,
	.flex-item {
		-webkit-flex: 1;
		flex: 1;
	}
	
	.mobile {
		display: none !important;
	}
}



.flex-container.flex-fest,
.flexbox.flex-fest .panel-grid-cell {
    display: -webkit-flex;
    display: flex;
}

.flexbox.flex-fest .so-panel,
.flex-fest .flex-item {
    -webkit-flex: 1;
    flex: 1;
}










/* ---------------------------------
      HEADER
   --------------------------------- */

header#siteheader {
    max-width: var(--outer);
    margin: 0 auto;
    background-color: #fff;
    padding-top: 35px;
    padding-bottom: 35px;
}

header#siteheader p {
    margin-bottom: 0;
}




header#siteheader ul {
    list-style-type: none;
}

header#siteheader ul li {
    list-style-type: none;
    display: inline-block;
    padding: 10px;
}



header#siteheader .flex-container .flex-item#header-logo {
    max-width: 90px;
}

header#siteheader .flex-container .flex-item#header-logo img {
    -webkit-transition: all 400ms linear;
    -moz-transition: all 400ms linear;
    -o-transition: all 400ms linear;
    -ms-transition: all 400ms linear;
    transition: all 400ms linear;
}

header#siteheader .flex-container .flex-item#header-logo img:hover {
    -webkit-filter: brightness(2.0);
    filter: brightness(2.0);
}

header#siteheader .flex-container .flex-item#navi {
    text-align: right;
    -webkit-flex: 4;
    flex: 4;
}

header#siteheader .menu-toggle {
    color: var(--ci);
}

header#siteheader #header-logo a,
header#siteheader #header-logo a img {
    display: block;
}



header#siteheader .main-navigation .main-nav ul li a:link,
header#siteheader .main-navigation .main-nav ul li a:visited {
    text-transform: uppercase;
    font-family: var(--ftitle);
    color: var(--ci);
    -webkit-transition: all 400ms linear;
    -moz-transition: all 400ms linear;
    -o-transition: all 400ms linear;
    -ms-transition: all 400ms linear;
    transition: all 400ms linear;
    border: 1px solid #fff;
}

header#siteheader .main-navigation .main-nav ul li a:hover,
header#siteheader .main-navigation .main-nav ul li a:active {
    color: var(--ci);
    border: 1px solid var(--ci);
    text-decoration: none !important;
}


header#siteheader #primary-menu,
header#siteheader .main-navigation .inside-navigation,
header#siteheader .main-navigation .main-nav > ul {
    display: block !important;
}
















@media (min-width: 568px) {
    header#siteheader .flex-container {
        padding-right: 10px;
        padding-left: 10px;
        display: -webkit-flex;
        display: flex;
    }

    header#siteheader .flex-container .flex-item {
        -webkit-flex: 1;
        flex: 1;
        align-self: center;
    }
}

@media (min-width: 1024px) {
    header#siteheader .flex-container {
        padding-right: 35px;
        padding-left: 35px;
    }

    header#siteheader .flex-container .flex-item#navi #primary-menu {
        width: 100%;
    }

    .main-navigation .main-nav > ul {
        display: block;
    }
}


@media (max-width: 567px) {
    header#siteheader ul li.menu-item {
        display: none;
    }
    
    header#siteheader nav#site-navigation.toggled ul li.menu-item {
        display: block;
        text-align: center;
        padding: 0;
        margin-right: 10px;
        margin-left: 10px;
        width: calc( 100% - 20px);
    }
    
    header#siteheader {
        text-align: center;
    }
    
    header#siteheader .flex-container .flex-item#header-logo {
        margin: 0 auto;
    }
    
    header#siteheader .main-navigation .menu-toggle {
        margin: 0 auto;
    }
}





/* ---------------------------------
      CONTENT
   --------------------------------- */

.titel h3 {
    font-size: 42px;
    margin-bottom: 60px;
}

.titel h3::after {
    content: '///////////////////////';
    display: block;
    font-size: 15px;
    color: #999;
    letter-spacing: 1px;
    padding-top: 40px;
}

.titel h3::after {
    padding-top: 20px;   
}

.legals h1 {
    font-size: 26px;
    margin-bottom: 30px;
}

.legals h3 {
    font-size: 21px;
    margin-top: 40px;
    margin-bottom: 10px;
}

.legals h4 {
    font-size: 17px;
    font-family: var(--fbold);
    text-transform: none;
}


@media (max-width: 1023px) {
    .titel h3 {
        font-size: 24px;
        margin-bottom: 40px;
    }
}






/* hero */

@media (min-width: 1024px) {
   #hero {
        background: #fff url('/z-data/uploads/content/header-hero.jpg') no-repeat center center;
        -moz-background-size: cover;
        -o-background-size: cover;
        -webkit-background-size: cover;
        background-size: cover;
        height: calc(100vH - 150px);
        position: relative;
    }
    
    #hero .panel-grid-cell .so-panel #hero-text {
        background-color: #fff;
        padding: 60px;
        position: absolute;
        bottom: 0;
        right: 0;
    }
}


#hero h1 {
    text-transform: uppercase;
    margin-bottom: 15px;
}

#hero h2 {
    font-size: 19px;
    font-family: var(--fbold);
    margin-bottom: 30px;
}

#hero p {
    margin-bottom: 0;
}






@media (max-width: 1023px) {
    #hero {
        background: #fff;
        position: relative;
    }
    
    #hero .panel-grid-cell .so-panel #hero-text {
        padding: 20px;
        text-align: center;
        background-color: rgba(255,255,255,0.9);
        position: absolute;
        bottom: 20px;
        width: calc(100% - 50px);
        margin-right: 25px;
        margin-left: 25px;
    }
    
    #hero h1 {
        font-size: 22px;
    }
    
    #hero h2 {
        font-size: 16px;
    }
}







/* intro */
@media (min-width: 1024px) {
    #intro.flexbox .panel-grid-cell .so-panel {
        align-self: center;
    }
    
    #intro.flexbox .panel-grid-cell .so-panel:first-child {
        -webkit-flex: 2;
        flex: 2;
        padding-right: 100px;
    }   
}




/* divider cta */
#divider-cta {
    background: #fff url('/z-data/uploads/content/divider-cta.jpg') no-repeat center center;
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
    color: #fff;
    padding-top: 50px;
    padding-bottom: 50px;
}

#divider-cta h3 {
    color: #fff;
    font-size: 42px;
    margin-bottom: 40px;
}

#divider-cta .cta a:link,
#divider-cta .cta a:visited {
    background-color: rgba(0,0,0,0.3);
    border-color: #fff;
    color: #fff;
}

#divider-cta .cta a:hover,
#divider-cta .cta a:active {
    background-color: #fff;
    border-color: var(--ci);
    color: var(--ci);
}




@media (min-width: 1024px) {
    #divider-cta {
        padding-top: 100px;
        padding-bottom: 100px;
    }
    
    #divider-cta.flexbox .panel-grid-cell .so-panel {
        align-self: center;
    }
    
    #divider-cta.flexbox .panel-grid-cell .so-panel:first-child {
        -webkit-flex: 2;
        flex: 2;
        padding-right: 60px;
    }   
}

@media (max-width: 1023px) {
    #divider-cta h3 {
        font-size: 24px;
        text-align: center;
    }
}




/* auflistungen */
.auflistung ul {
    margin-top: 30px;
    margin-bottom: 40px;
    list-style-type: none;
    font-family: var(--fbold);
    color: var(--ci);
}

.auflistung .textwidget ul li {
    list-style-type: '+';
    padding: 3px 3px 3px 15px;
}

@media (max-width: 1023px) {
    .auflistung ul {
        width: 80%;
        margin: 0 auto;
        margin-top: 30px;
        margin-bottom: 40px;
    }  
}






/* tradition */

#tradition ul.menu li {
    display: inline-block;
    margin-right: 30px;
}

@media (max-width: 1023px) {
    #tradition ul.menu li {
        display: block;
        margin-right: 0;
        margin-bottom: 20px;
        text-align: center;
    }
}






/* pages hero */
.page-hero img {
    display: block;
    margin: 0 auto;
    width: 100%;
}









/* ---------------------------------
      NINJA FORMS
   --------------------------------- */

body .nf-form-content {
    padding: 0;
    max-width: 100%;
}

body .nf-form-content p {
    margin-bottom: 0;
}

body .nf-form-layout {
	font-family: var(--fbase);
}

body .nf-form-layout .checkbox-container label {
	font-size: 0.8em !important;
	font-weight: normal !important;
}





/* ---------------------------------
      FOOTER
   --------------------------------- */

footer {
	max-width: var(--outer);
	margin: 0 auto;
}

footer p {
    margin-bottom: 0;
}

footer h3.widget-title {
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #fff;
}

footer a:link,
footer a:visited {
	color: #fff;
}

footer a:hover,
footer a:active {
	text-decoration: underline;
}

footer #footer-infos {
    background-color: var(--ci);
    color: #fff;
}

footer #footer-infos a:link,
footer #footer-infos a:visited {
    color: #fff;
}

footer #footer-infos a:hover,
footer #footer-infos a:active {
    color: #fff;
    text-decoration: underline;
}

footer #footer-infos.flexbox .panel-grid-cell {
    padding-top: 50px;
    padding-bottom: 50px;
}



/* footer copyright */
footer #footer-copy {
	background-color: transparent;
    color: var(--ci);
    font-size: 0.8em;
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
}

footer #footer-copy p {
	margin-bottom: 0;
}





@media (min-width: 1024px) {
	footer #footer-infos.flexbox .panel-grid-cell {
        flex-flow: row wrap;
    }
    
    footer #footer-infos.flexbox .panel-grid-cell .so-panel:first-child {
        -webkit-flex: 1 100%;
        flex: 1 100%;
        text-align: center;
        padding-bottom: 50px;
    }
}





@media (max-width: 1023px) {
	footer {
		padding: 10px;
		text-align: center;
	}
    
    footer #footer-infos.flexbox .panel-grid-cell .so-panel {
        padding-bottom: 40px;
    }
    
    footer #footer-infos.flexbox .panel-grid-cell .so-panel:first-child img {
        width: 90px;
    }
}






/* go to top */
.go-to-top:hover {
	color: #fff !important;
	background-color: rgba(0,0,0,0.9);
	text-decoration: none;
}

.go-to-top {
	display: none;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	position: fixed;
	bottom: 1rem;
	right: 1rem;
	width: 3.2rem;
	height: 3.2rem;
	line-height: 3.2rem;
	font-size: 1.4rem;
	color: #fff !important;
	background-color: rgba(0,0,0,0.7);
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	font-family: "FontAwesome";
	z-index: 9999999;
}
