html {
    overflow-y: scroll;
    font-size: 100%;
    height: 100%;
    box-sizing: border-box;
}
 
body {
    font-family: Verdana, Arial, sans-serif;
    font-size: 1rem;
    line-height: 2;
    color: #000;
    background-color: #fff;
}

.footer-main {
  padding: 2.5rem 0 1.5rem 0;
  border-top: 1px solid #6b8da9;
}

.footer-columns {
  display: flex;
  gap: 3rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  max-width: 1260px;
  margin: 0 auto;
}

.footer-columns > div {
  flex: 1 1 220px;
  min-width: 160px;
  text-align: left;
  padding-bottom: 1rem;
}

.footer-bottom {
  background: var(--bg-light);
  color: var(--primary);
  font-size: 0.85rem;
  padding: 1.8rem 0 2.2rem 0;
}

.footer-bottom .inside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom nav a {
  color: var(--accent);
  margin: 0 1.2rem;
  text-decoration: none;
  font-size: 1rem;
}

.footer-bottom small {
  opacity: 0.75;
  font-size: 0.9em;
}

a.sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0,0,0,0);
	border: 0;
}

	a.sr:focus {
	position:relative;
	width: 100%;
	height: 25px;
	margin: 0;
	padding: 8px;
	overflow: hidden;
	clip: rect(auto, auto, auto, auto);
	border: 0;
	display: block;
	text-align: center;
	font-weight: bold;
	color: rgb(251,252,173);
	background-color: rgb(43,92,132);
}

.clearing {
	clear:both;
}

#wrapper {
    max-width: 1260px;
    margin: 0 auto 0 auto;
    background-color: #fff;
}

#mobilemenu-button button, #mobilemenu-button button:active {
    background-color: transparent;
    color: rgb(0,55,100);
    border: 0;
    padding: 0;
}

.mod_zad_switcher {
	font-size: 0.75rem;
}

.mod_zad_switcher img, .mod_zad_switcher span {
	vertical-align: middle;
}

.mod_zad_switcher img {
	margin-right: 2px;
}

.mod_zad_switcher a {
		display: inline-flex;
		align-items: center;
}

.mod_zad_switcher i {
		font-size: 20px;
		margin-right: 6px;
}

#breadcrumbs {
	margin: 0;
}

#breadcrumbs a::after {
	content:"::";
	padding: 0 0 0 6px;
}

#breadcrumbs .last a::after {
	content:"";
}

.mod_breadcrumb {
	font-size: 0.75rem;
	line-height: 0.8;
}

.mod_breadcrumb li {
	display: inline;
}

#container {
	padding-bottom: 3rem;
}


#footer .inside .footer-main .inside {
  padding: 0 1rem;
}

#logo-lebensraum-diakonie {
	margin-top: 4px;
	width: 217px;
}

#nach-oben-button {
    position: fixed;
    right: 3%;
    bottom: 24px;
    z-index: 1000;
    opacity: 0.7;
    font-size: 4rem;
}

#nach-oben-button:hover {
    opacity: 1;
}

/* Links */

a {
	text-decoration: none;
	color: rgb(0,55,100);
}

a:link, a:visited {
	text-decoration: none;
	color: rgb(0,55,100);
}

a:focus {
	text-decoration: underline dotted;
}

#main a:hover, #left a:hover, #right a:hover, #footer a:hover {
    text-decoration: underline dotted;
}

.mod_zad_switcher a,
#footer a,
#hauptnav,
#hauptnav a,
#lupenbox,
#lupenbox a{
/*	color: rgb(251,252,173); */
}

#footer #nach-oben-button a {
    color: rgb(190,190,190);
}

#breadcrumbs li a, #breadcrumbs li.active {
	float: left;
	padding: 3px;
}

#breadcrumbs li a:hover {
	background-color: rgb(0,55,100);
	color: rgb(251,252,173);
}

/* #breadcrumbs li a:hover::after {
	background-color: rgb(255,255,255);
	color: rgb(0,55,100);
} */

/* Schriftformatierungen */

h1, h2, h3 {
	color: rgb(0,55,100);
	font-weight:bold;
}

h1 {
	font-size: 1.5rem;
}

h2 {
	font-size: 1.25rem;
}

h3 {
	font-size: 1rem;
}

	#suchfeld input,
	#mobile-suchfeld input {
		width: 600px;
		height: 35px;
		margin-top:1px;
		margin-left: 1px;
		border: solid 1px #000000;
		font-size: 1rem;
		color: #000000;
		padding: 3px;
		float: left;
	}


	#suchfeld button,
	#mobile-suchfeld button {
		background-image: none;
		border: 0;
		background-color: transparent;
		float: left;
		font-size: 1.4rem;
		margin-top: 3px;
	}
	
	#suchfeld button {
		color: rgb(0,55,100);
	}
	
	#mobile-suchfeld button {
		color: rgb(251,252,173);
	}



/* Content Elemente */

.statt-h1 {
	margin-top: 32px;
}

#main ul {
	margin-left: 3rem;
}

#right ul {
	margin-left: 1rem;
}

#main ul, #right ul {
	list-style-image: url(../img/aufzaehlungszeichen.png);
}

#main ul ul, #right ul ul {
	list-style-image: url(../img/aufzaehlungszeichen2.png);
}

figcaption {
		font-size: 0.8rem;
		color: grey;
		padding: 0px 6px;
		margin-top: -9px;
		margin-bottom: 10px;
	}



/* Formulare */

#main input[type=text],
#main input[type=password],
#main input[type=date],
#main input[type=datetime],
#main input[type=email],
#main input[type=number],
#main input[type=search],
#main input[type=tel],
#main input[type=time],
#main input[type=url],
#main input:not([type]),
#main textarea {
	padding: 9px 6px;
}



#main form button, #main input[type="submit"], #main .button {
	display: inline-block;
	padding: 10px 14px 10px 14px;
	margin-top: 20px;
	margin-bottom: 0;
	text-align: center;
	vertical-align: middle;
	line-height: 16px;
	font-size: 1rem;
	color: rgb(251, 252, 173);
	cursor: pointer;
	border: none;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
	background-color: rgb(0,55,100);
	background-image: none;
}

/* Galerien */


#main .content-gallery ul,
#right .content-gallery ul {
	margin-left: 0;
	list-style-image: none;
}

.content-gallery--cols-4 li {
	width: 21%;
	margin-right: 1%;
	margin-bottom: 0.6%;
}

.content-gallery--cols-3 li {
	width: 30%;
	margin-right: 1%;
	margin-bottom: 0.6%;
}

.content-gallery--cols-2 li {
	width: 48%;
	margin-right: 1%;
	margin-bottom: 0.6%;
}

.content-gallery--cols-1 li {
	width: 100%;
	margin-right: 0;
	margin-bottom: 0.6%;
}

.content-gallery--cols-4 li:last:child,
.content-gallery--cols-3 li:last:child,
.content-gallery--cols-2 li:last:child,
.content-gallery--cols-1 li:last:child {
	margin-right: 0;
}

.content-gallery figure {
    margin-bottom: 0;
}
	

/* Recursive Download Folder */

#main .ce_hofff_recursive-download-folder ul {
	list-style-image: none;
	margin-left:1.5rem;
}

#main .ce_hofff_recursive-download-folder ul.level_1 {
	margin-left: 0;
	margin-top: 3rem;
}

.ce_hofff_recursive-download-folder .folder > a:before {	
		content: "\f196  \f07b";	
		display: inline-block;
		font-family: FontAwesome;
		font-weight: normal;
		font-size: 1.2rem;	
		margin-right: 6px;
}

.ce_hofff_recursive-download-folder .folder-open > a:before {	
		content: "\f147  \f07c";	
}

.ce_hofff_recursive-download-folder .folder-empty > span:before {	
		content: "\f07b";
		display: inline-block;
		color: #999;
		font-family: FontAwesome;
		font-weight: normal;
		font-size: 1.2rem;	
		margin-right: 6px;
}

.ce_hofff_recursive-download-folder .file > a:before {	
		content: "\f016";	
		display: inline-block;
		font-family: FontAwesome;
		font-weight: normal;
		font-size: 1.2rem;	
		margin-right: 6px;
		margin-left: 1.3rem;
}



/* Cookiebar */

a.cookiebar__link {
		color: #ffffff;
		font-weight: bold;
}


#logo-gal .row:first-child figure {
	height: 167px;
	vertical-align: bottom;
	display: table-cell;
	padding-bottom: 50px;
}



/* Youtube-Videos responsiv machen */

.content-youtube, .content-vimeo {
 position: relative;
 padding-bottom: 56.25%;
 width: 100%;
 height: auto;
}
 
.content-player figure video {
 width: 100% !important;
 height: 100% !important;
}

.content-youtube iframe, .content-vimeo figure iframe {
 position: absolute;
 top: 0; left: 0; right: 0; bottom: 0;
 width: 100% !important;
 height: 100% !important;
}

.boxrechts {
	margin-bottom: 2%;
	}

/* Hinweiskasten */

.box {
	background-color: #c8111c;
	padding: 10px;
	margin: 10px 0px;
	border: 1px solid;
	color: #ffffff;
	font-weight: bold;
}

.box a {
	color: #ffffff;
}

.box-light {
  border-radius: 10px;
  padding: 6px 12px;
  color: #fff;
  background-color: rgba(0, 55, 100, 0.15);
}

.box_black {
	background-color: #000000;
	color: #ffffff;
	padding: 10px;
	margin: 10px;
}

.box_black h2, .box_black a {
	color: #cccccc;
}

.box_black a {
	text-decoration-line: underline;
}


/* Dateigröße bei Downloads ausblenden */

.size {
  display: none;
}


/* Nachrichten Liste */
	
	#main #nachrichtenliste {
		margin-bottom: 5em;
	}
	
	#main .mod_newslist {
		margin-top: 3em;
		margin-bottom: 0;
	}
	
	#main .mod_newslist .layout_latest {
		margin-bottom: 4em;
		max-width: 1040px;
		min-height: 240px;
		position: relative;
	}
	
	#main .mod_newslist .layout_latest:hover {
		background-color: rgba(0 55 100 / 0.05);
		cursor: pointer;
	}
	
	#main .mod_newslist a:hover {
		text-decoration: none;
	}

	#main .mod_newslist .layout_latest .more a {
		width: 180px;
		display: block;
		box-sizing: border-box;
		height: 50px;
		text-align: center;
		font-weight: normal;
		text-transform: uppercase;
		font-size: 0.75rem;
		line-height: 1.8rem;
	}
	
	.mod_newslist img {
		width: 180px;
		height: 180px;
		}
	
	
	#main #newsnavi {
		color: #595959;
		text-align: center;
	}	

	.news_weniger, .news_mehr {
		width: 80px;
		background-color: #fff;
		text-align: center;
		margin-left: 20px;
		margin-right: 20px;
	}

	.news_weniger i, .news_mehr i {
		font-size: 24px;
	}
	
	.news_weniger:hover, .news_mehr:hover {
		cursor: pointer;
	}
	
	/* Formatierungen Nachrichten */

	.more a, .back a {
		width: 120px;
		height: 20px;
		padding: 10px;
		background-color: rgb(0,55,100);
		color: rgb(251,252,173);
		/* padding: 10px;
		border: 2px solid rgb(92,36,131);
		color: rgb(92,36,131);
		*/
	}