.CommentList {
	margin: 1em 0 0 0;
}
.CommentListItem {
	list-style: none;
	margin: 0;
	border-left: 5px solid #ddd;
	border-top: 1px dotted #ccc;
	padding: 1em 0 1px 1em;
	background: #fff;

}
.CommentListItem p {
	margin-top: 0;
}
.CommentHeader,
#CommentForm label {
	margin: 0;
	font-weight: bold;
	font-size: 11px;
	text-transform: uppercase;
	color: var(--text-dark);
}
.CommentText {
	color: var(--text-color);
}
#CommentForm h2 {
	margin-bottom: 0;
	border: none;
}
#CommentForm label {
	display: block;
	color: var(--text-dark);
}
#CommentForm p {
	margin: 0.5em 0;
}
#CommentForm .error {
	background: #a30000;
	color: #fff;
	padding: 0.25em 0.5em;
}
#CommentForm .success {
	font-weight: bold;
}
.CommentForm_new > h3 {
	font-size: 11pt;
}
.CommentForm_cite,
.CommentForm_email {
	float: left;
	width: 50%;
}
.CommentForm_cite input,
.CommentForm_email input {
	width: 100%;
	margin-right: 1em;
}
.CommentForm_text {
	clear: both;
}
.CommentForm_text textarea {
	padding: 2px;
	width: 100%;
	height: 100px;
}
.CommentForm_notify p {
	margin: 1.25em 0;
}
.CommentForm_submit {
	text-align: center;
}
.CommentForm_submit > button {
  position: relative;	
	min-width: 40%;
}
#wrap_Inputfield_scf-website {
	display: none;
}

li.CommentListItem {
	padding-left: 1em;
}

ul.CategoryList > li > a, ul.SearchResults > li > a:not(.button) {
	font-size:			1.5em;
	font-weight:		bold;
	text-decoration:	none;
}

ul.CategoryList > li, ul.SearchResults > li {
	margin-bottom:	1em;
}

div.CommentForm_new > h3 {
	cursor: pointer;
}

div.CommentForm_new > form {
	display: none;
}

div.HomeCards {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
}
 
div.HomeCard {
    position: relative;
    flex: 0 1 98%;
    padding: 0;
    padding-bottom: 2em;
    margin-bottom: 2em;
}

p.HomeCardBlank {
	margin: 0;
	width: 100%;
	height: 5em;
	background-color: grey;
}

img.HomeCardImage {
	margin: 0;
	width: 100%;
}

h3.HomeCardTitle {
	position: absolute;
	padding: 0.2em;
	font-size: 1.5em;
	left: 1em;
	top: 1em;
	margin-left: auto;
	margin-right: auto;
	color: white;
	/*font-shadow: 0 0 2px black;*/
	opacity: 0.9;
}

a.button.morelink, a.button.prevlink, a.button.nextlink {
	background-color: #e8e8e8 !important;
	color: #565656 !important;
}

article.post-excerpt {
	border-top: 1px solid lightgrey;
}

.BlogBody ul {
	list-style: disc outside;
	padding-left: 2em;
}

.BlogBody ul ul {
	list-style: circle outside;
}

.BlogBody ul ul ul {
	list-style: square outside;
}

.box.calendar .inner {
	position: relative;
	background-color: #272E39;
	background-color: rgba(0, 0, 0, 0.15);
	border-radius: 0.4em;
	padding: 0.75em 0.5em 0.75em 0.5em;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 0 0.25em 0 rgba(0, 0, 0, 0.25);
}

.box.calendar caption {
	font-weight: 700;
	color: #fff;
	margin: 0 0 0.25em 0;
}

.box.calendar table {
	margin: 0 auto;
}

.box.calendar td {
	cursor: default;
	padding: 0.35em 0 0.35em 0;
	border-top: solid 1px rgba(0, 0, 0, 0.25);
	box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.075);
}

.box.calendar th {
	cursor: default;
	padding: 0.35em 0 0.35em 0;
	border-top: solid 1px rgba(0, 0, 0, 0.25);
	box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.075);
	font-weight: 700;
	color: #fff;
}

.box.calendar td a, .box.calendar td span {
	display: block;
	margin: 0 auto;
	width: 1.5em;
	height: 1.5em;
	text-align: center;
	line-height: 1.4em;
	border-radius: 0.4em;
	-moz-transition: background-color .25s ease-in-out;
	-webkit-transition: background-color .25s ease-in-out;
	-ms-transition: background-color .25s ease-in-out;
	transition: background-color .25s ease-in-out;
	text-decoration: none;
}

.box.calendar td a {
	color: #fff;
	font-weight: 700;
}

.box.calendar td a:hover {
	background-color: rgba(200, 225, 255, 0.1);
	color: #fff;
}

.box.calendar td.today a {
	background-color: var(--mark-calendar);
	box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, 0.15), 0 0.025em 0.15em 0em rgba(0, 0, 0, 0.25);
	color: #fff !important;
}

.box.calendar td.today > span {
	background-color: var(--mark-calendar);
	box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, 0.15), 0 0.025em 0.15em 0em rgba(0, 0, 0, 0.25);
	color: #fff !important;
}


/* Pagination */
.pagination {
	padding: 3em 0 0 0;
}

.pagination .previous {
	margin-right: 0.6em;
}

.pagination .next {
	margin-left: 0.2em;
}

.pagination .pages a {
	width: 2.75em;
	height: 2.75em;
	line-height: 2.75em;
}

.pagination .button {
	height: 2.75em;
	padding-top: 0;
	padding-bottom: 0;
	line-height: 2.75em;
}

div.pages {
	display: inline-block;
}

a.button.active {
	color: darkgrey !important;
	/* box-shadow: rgba(237, 120, 106, 0.875) 0.125em 0.175em 0px 0px !important; */
}

#main a {
	border-bottom: none;
}

nav a.current {
	font-weight: bold !important;
}

.calendar div.inner {
	border: 1px solid darkgrey;
	border-radius: 5px !important;
}

#content {
	width: 100%;
}

a.download {
  margin: 0px 2rem;
}

a.download > span.caption {
  display: inline-block;
  position: relative;
  top: 24px;
  left: -5rem;
}

#header > ul.icons {
  max-width: 260px;
}

/*=== Gallery styles ===*/
div.gallery > button {
  font-size: 0.6em;
	margin-bottom: 1.2em;
}
div.gallery > div.frame {
	display: none;
	position: fixed;
	max-width: 80vw;
	max-height: 60vh;
	padding: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
	z-Index: 100;
	border: 4px solid white;
	box-sizing: border-box;
	opacity: 1.0;
}
div.gallery > div.frame.visible {
	display: flex;
	flex-direction: column;
	transition: opacity 200ms linear;
}

div.gallery > div.frame > div.image {
	display: flex;
	flex: 1 auto;
	width: 100%;
	background-size: cover;
	background-position: center;
	border: none;
	overflow: hidden;
}
div.gallery > div.frame > div.controls {
	display: flex;
	flex: 0 60px;
	justify-content: space-around;
	align-items: center;
  width: 100%;
	padding: 5px;
	background-color: white;
	opacity: 1.0;
}
div.controls > button {
	font-size: 1.2em;
	cursor: pointer;
	background-color: #999;
	color: #fff;
	border: none;
	padding: 2px;
	border-radius: 5px;
	min-width: 3.6em;
	max-width: calc(100% / 6);
	height: 60%;
	outline: none;
	line-height: 1.0;
}
div.gallery .effect3d {
	-webkit-box-shadow:0 1px 8px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 0, 0, 0.1);
	-moz-box-shadow:0 1px 8px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 0, 0, 0.1);
	box-shadow:0 1px 8px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 0, 0, 0.1);
}

/*=== Sort Widget ===*/
div.sort-selector {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
}
div.sort-selector > div {
	min-width: 1.4em;
	text-align: center;
	margin: 4px;
	padding: 4px;
	cursor: pointer;
}
div.sort-selector > div.active {
	border: 1px solid var(--mark-dark);
}

/*=== Capture Widget ===*/
section.capture > div.capture-items {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	font-size: 1.4em;
}
section.capture > div.capture-items > div {
	padding: 6px;
	margin: 16px 8px 2px 8px;
}
section.capture > div.capture-items > div.active {
	padding: 6px;
	border: 1px solid darkblue;
}
section.capture > div.capture-items + p {
	width: 100%;
	text-align: center;
	font-size: 8pt;
}
small.form-text {
  font-size: 8pt;
}
p.InputfieldError {
	font-size: 8pt;
	color: red;
}
/*=== Satzung layout ===*/
section#satzung > h4 + ol,
section#satzung > h4 + p {
  text-indent: 3rem;
}
/*=== Popup Dialog Panel ===*/
div#popup {
	width: 100vw;
	height: 100vh;
	background:rgba(80, 80, 80, 0.5);
	position: fixed;
	top: 0px;
}
div#popup > div.dialog {
	position:fixed;
	left:50%;
	top:50%;
	margin:0 auto;
	z-index:1112; 
	max-width:640px;
	max-height:90vh;
	min-height: 6rem;
	border:1px #999 solid;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;
	border-radius:8px;
	background:rgba(240, 240, 240, 0.98);
	transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	-webkit-box-shadow: 0 0 1.2em #999;
	-moz-box-shadow: 0 0 1.2em #999;
	box-shadow: 0 0 1.2em #999;
}
div#popup > div.dialog > div.content {
	position:relative;
	font-size: 0.9em;
	margin:0;
	padding:10px;
	width: 100%;
	height: calc(90vh - 20px - 4%);
	min-height: 6rem;
	overflow-y: auto !important;
}
div#popup > div.dialog > div.content > .scrollview {
	height: 100%;
}
div#popup > div.dialog > div.btn-close {
	position:absolute;
	z-index:1113;
	right:-24px;
	top:-24px;
	-moz-border-radius:50%;
	-webkit-border-radius:50%;
	border-radius:50%;
	width:48px;
	height:48px;
	background:rgb(240, 240, 240);
	border:2px #999 solid;
	font-weight:bold;
	font-size:32px;
	color:#999;
	text-align:center;
	vertical-align:middle;
	cursor:pointer;
}
div#popup > div.dialog > div.btn-close > span {
	display:inline-block;
	position:relative;
	top:-2px;
}
/*=== Members area section ===*/
section#member-article > div.row {
	display:flex !important;
	margin-top: 2em;
}
section#member-article > div.row figcaption {
	font-size: 0.9rem;
	text-decoration: italic;
}
section#member-article > div.row > div.content {
	padding: 0 2rem 0 2rem;
}

/*=== Responsive break points ===*/
@media screen and (min-width: 737px) {
	div.HomeCard {
    flex: 0 1 49%;
	}
	div.gallery > div.frame {
		min-width: 480px;
		min-height: 480px;
	}
}

@media screen and (min-width: 1201px) {
	div.HomeCard {
  	flex: 0 1 32%;
  }
	div.gallery > div.frame {
		min-width: 640px;
		min-height: 640px;
	}
}

@media screen and (max-width: 736px) {
	div.HomeCard {
		flex: 0 1 98%;
	}
	div.BlogBody img {
		max-width: 400px;
	}
	div.gallery > div.frame {
		min-width: 80vw;
		min-height: 60vh;
	}
	div.gallery > div.frame > div.controls {
		padding: 2px;
	}
	div.controls > button {
		min-width: 2.4em;
	}
	div.dialog {
		width: 80vw;
	}
	.\31 2u\28small\29 > a > img {
		max-width: 100%;
		object-fit: cover;
	}
}
