@font-face { font-family: 'Kaushan'; src: url(../fonts/KaushanScript-Regular.ttf); font-weight: 400; }
@font-face { font-family: 'Source Sans'; src: url(../fonts/SourceSansPro-Regular.ttf); font-weight: 400; }
@font-face { font-family: 'Source Sans'; src: url(../fonts/SourceSansPro-Light.ttf); font-weight: 300; }
@font-face { font-family: 'Source Sans'; src: url(../fonts/SourceSansPro-ExtraLight.ttf); font-weight: 200; }
@font-face { font-family: 'Source Sans'; src: url(../fonts/SourceSansPro-Semibold.ttf); font-weight: 600; }
@font-face { font-family: 'Share'; src: url(../fonts/Share-Bold.ttf); font-weight: 700; }
@font-face { font-family: 'Share'; src: url(../fonts/Share-Regular.ttf); font-weight: 400; }

strong { font-weight: 600; }
.widget>label { font-weight: inherit; }

html { font-family: 'Helvetica', sans-serif; font-family: 'Source Sans', sans-serif; font-weight: 400; font-size: 100%; line-height: 1.5; }
body { font-size: 1.1rem; background-color: rgba(217,232,232,.3); }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { padding-left: .5em; }
h1 { font-size: 1.5rem; font-weight: normal; color: #236fa1; }
h2 { font-size: 1em; #font-weight: 400; margin-top: 2rem; margin-bottom: .3em; }
h3 { font-size: 1.2em; #font-weight: 300; margin-top: 0; margin-bottom: .6em; color: #ba372a; }
h4 { font-size: 1.1em; font-weight: normal; margin-top: 1.4em; margin-bottom: .6em; color: #ba372a; }
.page-4 h3 { font-size: 1em; color: inherit; }
.page-4 h4 { font-size: 1em; color: inherit; }

nav ul { padding-left: 0; }
.rot { color: #ba372a; }
.blau { color: #236fa1; }

#header,
#footer { background-color: #d9e8e8; opacity: 1; }

#header { position: sticky; top: 0; z-index: 1; padding: .5em 0 0; margin-bottom: 2em; font-family: 'Share'; font-weight: 400; font-size: 1.3em; text-align: center; box-shadow: 0 0 10px #ccc; #background-image: url(../bilder/AP_Portrait.jpg); #background-repeat: no-repeat;  }
#header h1 { margin: 0; text-align: left; line-height: 1.2; }
#header p { margin: 0.2em 0; padding-bottom: 1em; }
#header .menu ul { font-size: 1.2rem; list-style: none; padding: 0; }
#header .menu li { display: block; }
#header .menu li a { text-align: left; }

#hauptmenu ul { display: flex; justify-content: space-between; margin: .4em 0; }

#navButton { display: none; position: absolute; top: 0; right: 0; font-size: 2em; border: none; background: transparent; cursor: pointer; }
#mobilmenu { display: none; position: absolute; top: 0; right: .5em; padding: 0 1em; background-color: rgba(255,255,255,.9); border: 1px dotted rgba(0,0,0,.5); }
#mobilmenu li { text-align: left; padding: .3em .5em; }

#linie hr { margin: 0; background-color: rgba(0,0,0,0.3); border: 0; height: 1px; }

#container p { margin: .5em 0; }

#header #kopf,
#header #hauptmenu,
#container,
#footer>.inside { position: relative; width: 95%; max-width: 1024px; margin: 0 auto; }

#main>.inside { float: left; width: 75%; }
#main>.inside .mod_article { padding: 0 0 2em; border-bottom: 1px solid rgba(0,0,0,0.5); }
#main>.inside .mod_article:nth-child(2) { padding-top: 0; }
#main>.inside .mod_article:last-child { border-bottom: none; }
#main li { list-style-type: "• "; padding-left: .5em; }

.custom { float: right; width: 22%; position: sticky; top: 0px; padding-top: 2rem; font-size: .9em; }

#rechtsOben { display: none; padding-bottom: 2em; margin-bottom: 2em; border-bottom: 2px solid; }

.weihnachtsgruss { padding: .5em 15%; display: flex; justify-content: space-between; align-items: center; font-family: 'Kaushan'; font-size: 3em; }
.weihnachtsgruss .left { width: 60%; }
.weihnachtsgruss .right { width: 25%; }

#kompetenzen { display: flex; justify-content: space-between; }
#kompetenzen>div { box-sizing: border-box; width: 33.333%; margin-right: 2em; }
#kompetenzen>div:last-child { margin-right: 0; }
	
.login_info,
.widget-password label,
.mod_login.login .widget-submitXXX { display: none; }
input[type=password] { font: inherit; }
button[type=submit] { font: inherit; background: #999; color: #fff; }
.widget-password { width: 75%; float: left; padding-right: 1em; }
.widget-submit { float: right; }
.logout .widget-submit { float: none; }

.sp35 { display: flex; justify-content: space-between; }
.sp3 { width: 35%; }
.sp5 { width: 60%; margin-top: 1em; }

#footer { margin-top: 4em; padding: .6em 0; }
#social { display: flex; justify-content: space-between; text-align: center; }
#social a { padding: 0; }
#social img { max-width: 2em; padding-right: 2em; }

@media (max-width: 1024px) {
	html { font-size: 1.5vw; }
	#h1 { font-size: 1.6em; }
	#navButton { display: block; }
	#hauptmenu { display: none; }
}
@media (max-width: 720px) {
	html { font-size: 2vw; }
	.custom { display: none; }
	#main>.inside { width: 100%; }
	#rechtsOben { display: block; }
}
@media (max-width: 520px) {
	html { font-size: 3.5vw; }
	#h1 { font-size: 1.2em; }
	.weihnachtsgruss { padding: 0; font-size: 2em; }
	#kompetenzen { display: block; }
	#kompetenzen>div { width: 100%; margin-right: 0; }
	input[type=password],
	button[type=submit] { font-size: .7em; }
}
