/* DESIGN STANDARDS
*********************************************/

/* Color */
html, a, h2, h3 {
	color: #2a2a2a;
}
h1, .blue {
	color: #007cbc;
}
h3, .red {
	color: #dd0202;
}
.site-navigation a, #contact, #contact a, footer {
	color: #ffffff;
}
.black {
	color: #000000;
}
.site-navigation a:hover, .site-navigation li.active a, .yellow {
	color: #facb00;
}
/* Size */
html {
	font-size: 15px;
}
#contact, h3, footer, .size20 {
	font-size: 20px;
}
.site-navigation {
	font-size: 22px;
}
h1, h2, body > article, .size30 {
	font-size: 30px;
}
header {
	font-size: 50px;
}
/* line-height */
header {
	line-height: 100%;
}
body > article {
	line-height: 150%;
}
body {
	line-height: 170%;
}
footer {
	line-height: 200%;
}
/* Weight */
html {
	font-weight: 400;
}
h1, h2, h3, .bold, p.readmore, dd.published {
	font-weight: 700;
}
.ultrabold {
	font-weight: 900;
}
/* Font style */
.site-navigation a {
	text-decoration: none;
}
a, header a:hover {
	text-decoration: none;
}
a:hover, h3 {
	text-decoration: underline;
}
h1, h2, .site-navigation {
	text-transform: uppercase;
}
li {
	list-style: square;
}
/* Fonts */
html {
	font-family: 'Ubuntu', sans-serif;
}
.arial {
	font-family: Arial, Helvetica, sans-serif;
}
/* LAYOUTS
*********************************************/

/* HTML */
html {
	overflow-y: scroll;
	background-color: #ffffff;
	text-align: left;
	height: 100%;
}
body { height: auto; min-height: 100%;
}
.webwidth {
	max-width: 1280px;
	margin: 0 auto;
}
p {
	margin: 0;
	padding: 5px 0 5px 0;
}
div {
	margin: 0;
}
img {
	max-width: 100%;
	height: auto;
}
h1 {
	margin: 40px 0 60px 0;
}
h1, h2 {
	text-align: center;
}
dd.published {
	text-align:center;
	margin:-15px 0 15px 0;
}
dl.article-info {
	text-align:center;
	padding:0;
	margin:0;
}
/* Header */
header {
	min-height: 390px;
	background: url(../images/header_bg.jpg) no-repeat center;
	text-align: right;
}
.site-navigation {
	background-color: #2a2a2a;
	text-align: center;
}
.site-navigation ul {
	margin: 0;
	padding: 0;
}
.site-navigation li {
	display: inline-block;
	vertical-align: middle;
	padding: 15px 17px 15px 17px;
}
/* Content */
article {
	padding: 15px;
}
.blog div.group {
	padding-bottom: 30px;
	display:flex;
	flex-direction:row;
}
.blog div.group > div {
	display:flex;
    flex-direction:column;
	text-align:center;
}
.blog div.item {
	background-color: #f5d2c6;
	height:100%;
	-webkit-box-shadow: 10px 10px 16px -6px rgba(0,0,0,0.6);
	-moz-box-shadow: 10px 10px 16px -6px rgba(0,0,0,0.6);
	box-shadow: 10px 10px 16px -6px rgba(0,0,0,0.6);
}
.blog div.item h2 {
	margin-bottom: 0;
}
.blog div.item p {
	padding: 5px 20px 5px 20px;
}
.blog div.item p.readmore {
	padding-bottom:20px;
}
.blog div.item div.item-image {
	float: none;
}
.blog div.item div.item-image img {
	width: 100%;
	max-height: 190px;
}
.items-leading > div {
	padding-bottom:30px;
}
/* Contact */
#contact {
	min-height: 795px;
	background: url(../images/contact_bg.jpg) no-repeat center;
	text-align: left;
	margin-top:30px;
}
#contact aside {
	padding-top: 30px;
}
#contact div {
	background: rgba(42,42,42,0.85);
	width: 480px;
	padding: 90px 60px 200px 60px;
	position: relative;
}
#contact div div {
	position: absolute;
	width: 186px;
	height: 186px;
	top: 50px;
	right: 50px;
	background: url(../images/Peter-Walter.png) no-repeat top right;
}
/* Footer */

footer {
	padding: 20px 0 10px 0;
	background-color: #2a2a2a;
	text-align: center;
}
/* layouts */
.two_quarters-layout {
	width: 64%;
	margin-right: 2%
}
.two-layout {
	width: 49%;
	margin-right: 2%
}
.three-layout {
	width: 32%;
	margin-right: 2%;
}
.four-layout {
	width: 23.5%;
	margin-right: 2%;
}
.five-layout {
	width: 18.4%;
	margin-right: 2%;
}
.six-layout {
	width: 15%;
	margin-right: 2%;
}
.two-layout:last-of-type, .three-layout:last-of-type, .four-layout:last-of-type, .five-layout:last-of-type, .six-layout:last-of-type, .two_quarters-layout:last-of-type {
	margin-right: 0;
}
.group:before, .group:after {
	content: "";
	display: table;
}
.group:after {
	clear: both;
}
.float-left, .pull-left {
	float: left;
}
.float-right, .pull-right {
	float: right;
}
/* MODULES
*********************************************/
/* Pictures */
main > aside {
	padding-top: 150px;
}
/* Under article */
.line {
	margin: 0 30% 0 30%;
	border: #2a2a2a solid 1px;
	clear: both;
}
body > article {
	text-align: center;
}
/* Testimonial */
#testimonial-top {
	background: rgba(253,235,156,0.7);
	margin-top: -30px;
	height: 30px;
}
#testimonial {
	background-color: #fdeb9c;
	padding: 10px 0 50px 0;
	text-align: center;
}
.mod-articles-category-image {
	background: url(../images/TESTIMONIALS.png) no-repeat top center;
	min-width: 70px;
	min-height: 70px;
	margin: 30px 0 10px 0;
}
/* Modul Xmap */
#xmap div.muted {
	display: none;
}
#xmap li {
	list-style: circle;
}
#xmap ul {
	margin-left: 30px;
}
#xmap ul ul {
	margin-left: 40px;
}
/* Scrollup */
.scrollup {
	width: 40px;
	height: 40px;
	position: fixed;
	bottom: 30px;
	right: 30px;
	display: none;
	text-indent: -9999px;
	background: url(../images/top-button.png) no-repeat center center;
	background-color: #2a2a2a;
}
/* MEDIA QUERIES
*********************************************/

/* Small devices (tablets, 768px and up) */
@media (max-width: 768px) {
header {
    min-height: 190px;
	text-align: center;
}
.site-navigation {
    line-height: 10%;
	padding:10px;
}
h1 {
    margin: 20px 0 30px 0;
}
.two-layout, .three-layout, .four-layout, .five-layout, .six-layout, .two_quarters-layout {
	float: none;
	width: 100%;
}
.blog div.group {
    display: block;
	padding-bottom:0;
}
.blog div.group > div {
    padding-bottom: 30px;
	display: block;
}
main > aside {
	padding-top: 0px;
	text-align:center;
}
#contact {
    min-height: 595px;
}
#contact div {
    width: 90%;
    padding: 90px 15px 100px 15px;
    position: relative;
}
#contact div div {
	display:none;
}
html {
	font-size: 14px;
}
#contact, footer, .size20 {
	font-size: 18px;
}
.site-navigation {
	font-size: 20px;
}

h1, h2, h3, body > article, .size30 {
	font-size: 26px;
}
header {
	font-size: 30px;
}
#testimonial {
    padding: 0 15px 0 15px;
}
}
/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

/* for higher resolutions (android and retina) */
@media screen and (-webkit-min-device-pixel-ratio: 1.5), screen and (max--moz-device-pixel-ratio: 1.5) {
}


/* Joomla 4 layout integration. Keep the original colours and artwork. */
.site-navigation {
    position: sticky;
    top: 0;
    z-index: 500;
}
.site-navigation ul ul {
    display: block;
    font-size: 0.85em;
}
.site-navigation ul ul li { padding: 6px; }
.scrollup { z-index: 600; }
.scrollup.is-visible { display: block; }
:focus-visible { outline: 3px solid #007cbc; outline-offset: 3px; }
.visually-hidden, .sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}
.clearfix::after { content: ""; display: table; clear: both; }
main > article, main > aside { box-sizing: border-box; min-width: 0; }
.blog .blog-items {
    display: grid;
    grid-template-columns: repeat(var(--blog-columns, 1), minmax(0, 1fr));
    gap: 30px 2%;
    margin-bottom: 30px;
}
.blog .columns-2, .blog .masonry-2 { --blog-columns: 2; }
.blog .columns-3, .blog .masonry-3 { --blog-columns: 3; }
.blog .columns-4, .blog .masonry-4 { --blog-columns: 4; }
.blog .columns-5, .blog .masonry-5 { --blog-columns: 5; }
.blog .columns-6, .blog .masonry-6 { --blog-columns: 6; }
.blog .blog-item { min-width: 0; }
.blog .blog-items:not(.items-leading) > .blog-item {
    text-align: center;
    background: #f5d2c6;
    box-shadow: 10px 10px 16px -6px rgba(0,0,0,0.6);
}
.blog .blog-item h2 { margin-bottom: 0; }
.blog .blog-item p { padding: 5px 20px; }
.blog .blog-item p.readmore { padding-bottom: 20px; }
.blog .blog-item .item-image { float: none; margin: 0; }
.blog .blog-items:not(.items-leading) .item-image img { width: 100%; max-height: 190px; object-fit: cover; }
.item-page .item-image { margin: 0 0 20px; }
.article-info-term { display: none; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; }
.pagination li { list-style: none; }
.pagination a, .pagination span { display: inline-block; padding: 4px 10px; }
.pagination .active { font-weight: bold; }
.system-unpublished { border: 2px dashed #a00; padding: 10px; }
.alert, joomla-alert { display: block; padding: 15px; margin: 15px 0; border: 1px solid #888; }
.alert-danger, joomla-alert[type="danger"] { border-color: #a00; background: #fff0f0; }
.alert-success, joomla-alert[type="success"] { border-color: #287a28; background: #f0fff0; }
.btn, .button { display: inline-block; padding: 6px 12px; cursor: pointer; }
.category-module { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2%; }
.category-module > div { min-width: 0; }
#contact a { overflow-wrap: anywhere; }
/* Empty translation overlay saved in legacy article HTML can extend the mobile page. */
.com-content-article__body #gtx-trans { display: none; }
@media (max-width: 768px) {
    .site-navigation { position: static; line-height: 1.4; }
    .site-navigation li { padding: 8px 10px; }
    .blog .blog-items { grid-template-columns: 1fr; }
    .category-module { grid-template-columns: 1fr; gap: 20px; }
    .two-layout, .three-layout, .four-layout, .five-layout, .six-layout, .two_quarters-layout { margin-right: 0; }
    #contact > aside > div { box-sizing: border-box; width: 100%; }
}
