/***************************************** Styles *****************************************/

@charset "utf-8";
@font-face {
	font-family: 'Open Sans';
	src: url("../fonts/OpenSans.ttf");
	}

/* reset */

* {
	margin: 0;
	padding: 0;
	}

a {
	text-decoration: none;
	color: #aa1155;
	}

a:link, a:active, a:visited {
  text-decoration: none;
}

a:hover {
  	text-decoration: underline;
}

ul, ol {
	list-style: none;
	}


img {
	vertical-align: middle;
	}

/* reset */

body {
	background: #fdfdfd;
	background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 25%, rgba(150, 150, 150, 0.5) 100%), url("../images/bgtexture.png");
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	word-wrap: break-word;
	line-height: 200%;
	min-height: 100vh;
	}

a:link {
	color: #aa1155;
	}

a:visited {
	color: #aa1155;/*#7ba566;*/
	}

h3 {
	font-weight: 600;
	}

h1, h2 {
	line-height: 150%;
	}

h3, h4, h5 {
	line-height: 150%;
	}

p {
	padding: 5px 0px;
	}

td {
    word-wrap: break-word;
	}

.screenreader {
	position: absolute;
	text-indent: -10000px;
	}

.article ul {
    list-style-image: url('../images/ul.png');
    padding-left: 50px;
	}

.clear {
	clear: both;
  	height: 0px;
	}

.fullcontainer {
	position: relative;
	min-height: 100vh;
	padding: 0;
	margin: 0;
	padding-bottom: 100px;
	}

footer {
	width: 100%;
	background-color: rgba(100, 100, 100, 0.65);
	
	position: absolute;
	bottom: 0;
    
    -moz-box-shadow: inset 0 5px 5px #666;
	-webkit-box-shadow: inset 0 5px 5px #666;
	box-shadow: inset 0 5px 5px #666;
	}

footer p {
	margin: 0 auto;
	padding: 40px;
	text-align: center;
	font-weight: 600;
	font-size: 1.1em;
	}

nav > * {
	-webkit-border-radius: 0 !important;
	-moz-border-radius: 0 !important;
	border-radius: 0 !important;
	
	border: none !important;
	}

nav.main-menu {
	text-transform: uppercase;
	
	-moz-box-shadow: 0 5px 10px #999;
	-webkit-box-shadow: 0 5px 10px #999;
	box-shadow: 0 5px 10px #999;
	
	line-height: 0%;
	}

nav.main-menu a {
	font-size: 110%;
	}

.navbar ul li a {
	padding: 15px 25px;
	}

.navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #ddd ! important;
    padding-left: 30px;
    }

header {
	background-color: rgba(55, 180, 75, 0.3);
	background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%, rgba(0, 100, 50, 0.5) 100%);
	}

.header-wrapper {
	margin: auto;
	padding: 10px 0px 10px 0px;
	}

header img {
	height: 110px;
	}

div.bannerbox {
	display: flex;
	overflow: hidden;
	flex-wrap: wrap;
	margin-top: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	}

div.bannerbox .icon {
	padding: 0px 5px 5px 0px;
	}

.verticalbox {
	display: flex;
	flex-direction: column;
	}

.search label {
    display: none;
	}

.search input {
	border: 1px solid rgba(0, 0, 0, 0.5);
	padding: 5px 10px 5px 30px;
	width: 200px;
	background: url("../images/searchButton.png") no-repeat 8px 6px;
	background-color: rgba(255, 255, 255, 0.8);
	
	-moz-box-shadow: inset 2px 2px 2px #bbb;
	-webkit-box-shadow: inset 2px 2px 2px #bbb;
	box-shadow: inset 2px 2px 2px #bbb;
	}

.breadcrumb {
	background: none;
	margin: auto;
	font-weight: 600;
	padding-bottom: 20px;
}
.breadcrumb img{
	vertical-align:middle;
}

.breadcrumb > li + li:before {
    content: url("../images/ul_breadcrumd.png")
}

.main-wrapper {
	padding-top: 20px;
	}
	
.next-events .event-title {
	background: none !important;
	padding-left: 0px !important;
	}

.next-events .event-title a {
	font-size: medium;
	}

tr.dottet-tr {
	border-top: 1px dotted silver;
	}
	
.next-events td {
	padding: 5px;
	}
	
.article {
	background-color: #fff;
	padding: 20px 50px 50px 50px;
	
	
	-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.article, .item, .item-page, .items-leading {
	/*max-width: 900px;*/
	margin: auto;
	margin-top: 10px;
	margin-bottom: 50px;
	}

legend {
	font-size: 100%;
	}

.control-label {
	text-align: left !important;
	}

input, textarea {
	padding: 0px 5px;
	}

.register-button {
	background-color: #aa1155;
    border: none;
    color: white;
    padding: 15px 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 5px;
    cursor: pointer;
    border-radius: 4px;
	}

a.register-button:link,
a.register-button-s:link {
	color: #fff;
	}

a.register-button:visited,
a.register-button-s:visited {
	color: #fff;
	}

.register-button-s {
	background-color: #aa1155;
    border: none;
    color: white;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1.0em;
    margin: 5px;
    cursor: pointer;
    border-radius: 4px;
	}

/* attachment */

.attachmentsContainer table {
	background: none !important;
	border: none !important;
	border-radius: none !important;
	width: 100%;
	}

.attachmentsContainer td {
	padding: 10px !important;
	font-size: 1.1em;
	font-weight: 400;
	}

.attachmentsContainer th {
	background-color: #aa1155 !important;
	border: none !important;
	color: #fff;
	padding: 5px !important;
	font-size: 1.2em;
	}

.attachmentsContainer tr {
	border-width: 1px;
	border-color: #ccc;
	border-style: dotted none !important;
	}

.attachmentsContainer .at_filename {
	max-width: 100%;
	}

.attachmentsContainer .at_description {
	max-width: 100%;
	}

.homebox {
	max-width: 900px;
	margin: auto;
	}

.about {
	background-color: #a15;
	color: #eee;
	padding: 0px 5px 5px 10px;
  	border: solid #a15 2px;
	}

.about a {
	font-weight: 600;
	}

.about a:link {
	color: #f9f9f9; /*#dbafa7;*/
	}

.about a:visited {
	color: #f9f9f9; /*#dbafa7;*/
	}

/* contact form*/

div.contact h3 {
	display: none;
	}

div.contact dl {
	padding-top: 10px;
	}

div.contact dl dt {
	width: 30px;
	}

div.contact dl dd {
	margin-left: 40px;
	}

.contact-form form fieldset div.form-actions {
	padding-top: 30px;
	}

.radio {
	margin: 0px;
	padding: 0px 5px 0px 20px;
	}

.radio label {
	padding: 0px 30px 0px 0px;
	}

/* read more */

.read-container {
	display: none;
}

.read-open {
	opacity: 0;
	max-height: 0;
	font-size: 0;
	transition: .25s ease;
	line-height: 0em;
}

.read-container:checked ~ .read-box .read-open {
	opacity: 1;
	font-size: inherit;
	max-height: 999em;
	line-height: 2em;
}

.read-button {
	cursor: pointer;
	padding: 5px 10px;
	color: #666;
	border: 1px solid #ddd;
	border-radius: 3px;
	background: #f5f5f5;
	display: block;
	text-align: center;
}

.read-container ~ .read-button:before {
	content: 'weiterlesen';
}

.read-container:checked ~ .read-button:before {
	content: 'zuklappen';
}

/* Small only */
@media only screen and (max-width: 400px){
	/*main {
		padding: 5px 15px 10px 10px;
		}*/
	
	.page-header {
		margin-top: 10px;
		}
	
	}


/* Small */
@media only screen and (max-width: 1000px){
  	top-a, .slider-container, .slider-frame, .slider, .slider1 img, .slider2 img, .slider3 img, .slider4 img, .slider5 img, .slider6 img, .slider7 img, .slider-overlay {
    	display: None;
  		}
  
	h1 {
		font-size: 1.3em;
		font-weight: 600;
		}
	h2 {
		font-size: 1.2em;
		}
	h3 {
		font-size: 1.1em;
		}
	h4 {
		font-size: 1.0em;
		font-weight: 600;
		}
	h5 {
		font-size: 1.0em;
		font-weight: 600;
		}
		
	.slider-container {
		display: none;
		}
	
	.header-wrapper {
		width: 100%;
		}
	
	.navbar > .container {
		width: 100%;
		margin: auto;
		}
	
	.breadcrumb {
		width: 100%;
		}
	
	.header-wrapper-left {
		display: block;
		margin-left: auto;
    	margin-right: auto;
		}

	.header-wrapper-right {
		display: block;
		margin: auto;
		}
	
	header img {
		display: block;
		margin: auto;
		}

	.search input {
		display: block;
	    margin: auto;
		}
	
	.attachmentsContainer {
	  width: 100%;
	  overflow-y: auto;
	  margin: 0 0 1em;
	}

	.attachmentsContainer::-webkit-scrollbar {
	  -webkit-appearance: none;
	  width: 14px;
	  height: 14px;
	}

	.attachmentsContainer::-webkit-scrollbar-thumb {
	  border-radius: 8px;
	  border: 3px solid #fff;
	  background-color: rgba(0, 0, 0, .3);
	}
	
	.profile img {
		width: 150px;
		float: none;
		}

	.profile ul {
		padding-left: 0px;
		}
  
    /*main {
		padding: 5px 15px 10px 10px;
		}*/
  
  	/*.article {
		padding: 5px 15px 10px 10px;
		}*/
	
	.article ul {
		padding-left: 15px;
		}
	
	/* contact form*/
	
	.controls input .required, .controls input #jform_contact_wohnort {
		max-width: 230px;
		}
		
	.controls textarea {
		width: 230px;
		height: 150px;
		}
	
	div.bannerbox {
		justify-content: right;
		text-align: right;
		box-shadow: 0 0 0px rgba(0, 0, 0, 0.0);
		}
	
	.crop-right {
		display: block;
		overflow: hidden;
		width: 225px;
	}
	
	.crop-left {
		display: block;
		overflow: hidden;
		width: 225px;
	}
	
	.crop-left img {
		margin-left: -225px;
	}
	
	div.bannerbox .banner {
		max-width: 100%;/*450px;*/
		}
	
	.horizontalbox {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		}
	
	}
	


/* Normal*/
@media only screen and (min-width: 1000px){
	h5 {
		font-size: 1.1em;
		}
	
	.slider-container {
		}
	
	.header-wrapper {
		width: 900px;
		}
	
	.navbar > .container {
		width: 950px;
		margin: auto;
		}
	
	.breadcrumb {
		width: 900px;
		}
	
	.header-wrapper-left {
		float: left;
		}

	.header-wrapper-right {
		float: right;
		}
	
	.next-events {
		width: 630px;
		flex: 1;
		}
	/*.about {
		width: 28%;
		}*/
	
	.profile img {
		width: 150px;
		float: left;
		}

	.profile ul {
		padding-left: 200px;
		}
	
	/* contact form*/
	
	.controls input .required, .controls input #jform_contact_wohnort {
		width: 350px;
		}
		
	.controls textarea {
		width: 350px;
		height: 150px;
		}
	
	div.bannerbox {
		justify-content: right;
		text-align: right;
		}
	
	div.bannerbox .banner {
		max-width: 100%;
		}
	
	.crop-left {
		display: none;
		}
	
	.horizontalbox {
		display: flex;
		flex-direction: row;
		align-items: stretch;
		}
  
  	main {
		padding: 20px 50px 50px 50px; !important
		}
	}

@media only screen and (max-width: 1249px){

	.side-ad {
		max-width: 900px;
		min-height: 100px;
		max-height: 200px;
		padding: 10px 0px;
		margin: auto;
		margin-bottom: 30px;
		clear: both;
		}
	}

@media only screen and (min-width: 1250px){
  	/*.article {
		padding: 20px 50px 50px 50px;
		}*/

	.side-ad {
		min-width: 160px;
		max-width: 160px;
		min-height: 300px;
		position: absolute;
		}
	
	.left {
		float: left;
		}
	
	.right {
		float: right;
		top: 215px;
		right: 0px;
		}
	}

/***************************************** JEM *****************************************/

#jem {
	background: none !important;
	border: none !important;
	border-radius: none !important;
	padding: 10px;
	}
#jem h2 {
	background: none !important;
	font-size: 1.5em;
	font-width: 500;
	border-style: none !important;
	padding: 0px 5px !important;
	}
#jem .floattext {
	border-style: solid none !important;
	border-color: #ccc;
	padding: 5px 10px 0px 10px !important;
	}
#jem dl dt {
	background-color: #eee;
	border-style: none !important;
	border-collapse: separate;
    padding: 5px;
  	width: 120px !important;
	}

#jem dl dd {
	margin: 0px 0px 5px 130px !important;
	}
.eventtable {
	border: none;
	}
.eventtable th {
	background-color: #aa1155 !important;
	border: none !important;
	}
.eventtable tr {
	border-width: 1px;
	border-color: #ccc;
	border-style: dotted none !important;
	}
.eventtable td {
	border: none !important;
	}

#jemmodulewide td {
	vertical-align: top;
	}

#jem dl dt.custom1, #jem dl dt.custom2, #jem dl dt.custom3, #jem dl dt.custom4, #jem dl dt.custom5,
#jem dl dt.custom6, #jem dl dt.custom7, #jem dl dt.custom8, #jem dl dt.custom9, #jem dl dt.custom10 {
	background-color: #f5f5f5;
	padding-left: 10px;
	}

#jem dl dd.custom1, #jem dl dd.custom2, #jem dl dd.custom3, #jem dl dd.custom4, #jem dl dd.custom5,
#jem dl dd.custom6, #jem dl dd.custom7, #jem dl dd.custom8, #jem dl dd.custom9, #jem dl dd.custom10 {
	padding-left: 10px;
	}

#jem dl dt.when, #jem dl dt.where, #jem dl dt.category,
#jem dl dt.venue_street, #jem dl dt.venue_postalCode, #jem dl dt.venue_city, #jem dl dt.venue_state, #jem dl dt.venue_country {
	background-color: #eee;
  	padding: 5px;
	}

#jem dl {
	gap: 0px !important;
	}

/* Small */
@media only screen and (max-width: 900px){
	#jem h1 {
		font-size: 1.3em;
	}
	
	#jem h2 {
		font-size: 1.2em;
	}
	
	#jem dl dt {
		display: block;
		width: 100% !important;
		float: left;
		clear: both;
		}
	#jem dl dd {
		display: block;
		width: 100% !important;
		float: left;
		clear: both;
		margin: 5px !important;
		}
	
	table {
		overflow-x: auto;
		display: block;
		}
	}
	
	/* Force table to not be like tables anymore */
	table.eventset, .eventset tbody, .eventset tr, .eventset td { 
		display: block;
		width: 100%;
	} 
	
	/* Hide table headers (but not display: none;, for accessibility) */
	.eventset td {  
		/* Behave  like a "row" */
		border: none;
		position: relative;
	}
}


/* Normal*/
@media only screen and (min-width: 1000px){

	.jemmodw_col_first {
		width: 28%;
	}
	.jemmodw_col_title {
		width: 15%;
	}
	.jemmodw_col_category {
		width: 30%;
	}
	.jemmodw_col_venue {
		width: 27%;
	}
}


/***************************************** ANIMATION *****************************************/

/* fade slider */
.slider {
	background-image: url("../images/slider1.jpg");
    height: 290px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 890px;
    top: 5px;
}
.slider figure {
	position: absolute;
	opacity: 0;
	animation: cycle 42s linear infinite;
}

/* keyframes */
.slider .slider1 {
	animation-delay: 0s;
	z-index: 1;
}
.slider .slider2 {
	animation-delay: 6s;
	z-index: 9;
}
.slider .slider3 {
	animation-delay: 12s;
	z-index: 8;
}
.slider .slider4 {
	animation-delay: 18s;
	z-index: 7;
}
.slider .slider5 {
	animation-delay: 24s;
	z-index: 6;
}
.slider .slider6 {
	animation-delay: 30s;
	z-index: 5;
}
.slider .slider7 {
	animation-delay: 36s;
	z-index: 4;
}

@keyframes cycle {
	/* start: 0%, next: 14% */
	/* full length: 2%, 14% */
	0% { opacity: 0; } /* start */
	2% { opacity: 1; } /* start stable show */
	15% { opacity: 1; } /* end stable show */
	17% { opacity: 0; } /* auslaufen lassen */
    100% { opacity: 0; }
}

.slider-overlay {
	
	background-color: rgba(255, 255, 255, 0.8);
    border-radius:10px 10px 10px 10px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
    color: #333;
    font-size: 1.5em;
    right: 10%;
    margin: 0 auto;
    padding: 20px;
    position: absolute;
    top: 200px;
    width: 400px;
    text-align: center;
    border-radius: 0;
    z-index: 9;
    }

.slider-frame {
	height: 300px;
	width: 900px;
	margin: auto;
	background-color: #fff;
	
	-moz-box-shadow: 0 0 5px #888;
	-webkit-box-shadow: 0 0 5px #888;
	-ms-box-shadow: 0 0 5px #888;
	-o-box-shadow: 0 0 5px #888;
	box-shadow: 0 0 5px #888;
	}

/***************************************** Cassiopeia *****************************************/

.mod-banners-user div a img, .mod-banners-user-small div a img {
  padding-bottom: 5px;
}

.mod-jemwide-header-user {
  background-color: #fff;
  border-bottom: none;
  padding-top: 20px;
}

.main-bottom {
  flex: 1 1 auto;
  margin-bottom: 15px;
}

.about {
  flex: 1 1 auto;
  margin-bottom: 15px;
}

.about div {
  border-color: #a15;
}

.container-nav {
  padding: 0px 0px 0px 0.5em !important;
}

.container-nav nav  {
	text-transform: uppercase;
  	margin-top: 0px;
	
	line-height: 0%;
	}

li.level-1 + li.active {
  background-color: #f5f5f5;
  color: #333;
}

li.level-2:hover {
  background-color: #f5f5f5;
  cursor: pointer;
}

li.level-2 a:hover, li.level-2 a:link, li.level-2 a:visited, li.level-2 a:active {
  text-decoration: none !important;
  color: #a15;
}

div.attachmentsList tbody tr.even {
  background-color: #eee;
}

.mod-breadcrumbs__divider {
    display: none;
}

main {
  	border: 1px solid #eee;
	background-color: #fff;
	padding: 20px 50px 50px 50px;
  
	margin: 10px 0px 50px 0px;
  
  	-moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
	}

main ul {
    list-style-image: url('../images/ul.png');
    padding-left: 50px;
	}

.main-bottom {
  	padding: 20px 50px 50px 50px;
}

.page-header {
  	border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

/* Banner */
@media only screen and (max-width: 630px){
  .mod-banners-user {
    display: none;
  }
}
@media only screen and (min-width: 630px){
  .mod-banners-user-small {
    display: none;
  }
}

:root {
  --cassiopeia-color-primary: #308456;
  --cassiopeia-color-hover: #308456;
}