/** 
 * main.css
 * 
 * 1. General HTML tags
 * 2. Masthead area
 * 3. Main content and sidebar
 * 4. Footer
 * 5. Media queries for responsive layout
 * 
 */

/*********************************************************************
 * 1. General HTML tags
 *
 */

:root {
    --purple: #444;
    --bg-orange: #ff6309;
    --primary-color: #ff6309;
    --bg-content:#ffffff;
}

html, body {
  height: 100%;
  margin: 0;
 
}

* {
  box-sizing: border-box; 
}

html {
  scroll-behavior: smooth;
}

body {
    margin:0;
    background: var(--bg-content);
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../logo.png") no-repeat scroll center 80% / 50% auto #ffffff;
    opacity: 0.02; /* Hier die Transparenz einstellen (0 = komplett durchsichtig, 1 = sichtbar) */
    z-index: -1;
    background-attachment: fixed;
}


.body {
    min-height: 100%;
    display: flex;
    flex-direction: column; 
}

.ks-vvk  {
    position: fixed;
    top: 4%;
    right: 38.5%;
    width: 12%;
    z-index: 4;
}
.ks-vvk a {
  border: 0;
}

.header {
    background:#fff;
    border-bottom: 2px solid var(--bg-orange);
    display:flex;
    align-items: flex-end;    
    
}

.header-content {
  display: flex;
  width: 100%;
  margin-bottom: 0.50rem;
  justify-content: flex-end;
}

svg.logo {
  color: var(--bg-orange);
  height: 85px;
  transition: height 0.3s ease-in-out;
}

.sticky.small .header svg.logo {
  height: 50px;
}

.live {

/*    background: url("https://cdn.freiraum-uebersee.de/logo/web/freiraum_logo_220_80.png") no-repeat scroll 7% 10px / 200px #ff6309*/
    background: url(../logo_live.png) no-repeat scroll 7% 5px / 200px var(--bg-orange);
}


.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  justify-content: space-between;
  padding: 4px 2px;
  display: none;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 5px;
  background-color: var(--primary-color); /* Ersetze mit der gewünschten Farbe */
  border-radius: 2px;
}

.nocookie-youtube {
    background: #aec0c2;
    background-image: url(/site/templates/stream/FR_Streambild.jpg) cover;    
    width: 800;
    height: 450px;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;  
}

.nocookie-youtube .video_trigger {  
  max-width: 330px;
  font-size: 1.25em;
  text-align: center;
  margin: auto;
  display: flex;
  justify-content: center;
  height: 100%;
  align-items: center;
  line-height: normal;
}
.nocookie-youtube .ihavecookiesBtn {
  margin: 10px;
}

.TextformatterVideoEmbed iframe {
  position:absolute;top:0;left:0;width:100%;height:100%;  
}




.body {
    padding: 0 0.25rem;
    max-width: 1600px; 
    margin: 0 auto; 
    box-sizing: border-box;    
    
}

body, td, input[type=text],  input[type=email], textarea {
	font-family: 'Droid Snas', sans-serif;
  font-family: 'Open Sans Condensed', sans-serif;
	font-size: 18px; 
	line-height: 1.5em;
	color: #444; 
}

img {
	max-width: 100%; 
}

h1 {
	font-size:1.6em;
  line-height:unset;
}
h1 span {
  display:block;
  font-size:50%;
  line-height:unset;
}

h2 {
	font-weight: normal;
  margin:0.3em 0;
        
}

h3 {
	border-top: 1px solid #eee; 
	padding-top: 1em;
	color: #777; 
}

a {
	color: #333;
	text-decoration: none;
	border-bottom: 1px solid #ccc; 
}
	a:hover,
	.nav a:hover {
		color: #000;
		border-color: #aaa; 
	}

blockquote {
	margin-left: 0;
	padding-left: 1.5em;
	padding-right: 2em; 
	border-left: 4px solid #ddd; 
	font-style: italic; 
	color: #777; 
}

pre, code {
	background: #eee; 
	border: 1px solid #ddd; 
}

pre {
	font-size: 14px; 
	line-height: 1.4em;
	padding: 1em;
	border-left: 4px solid #ddd; 
}

/*********************************************************************
 * 2. Masthead area
 *
 */
 
nav.main-navigation {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 0.5rem;
    width: 100%;
    position:relative;
    background: var(--bg-content);
    
}
 .topnav {
      display: flex;
      align-items: flex-end;
   
 }
 
 
 .topnav, .topnav li {
      list-style: none;
      padding: 0;
      margin: 0;
  }
  
	.topnav li {
    line-height: 1.3em;
    white-space: no-wrap;    
	}
  
	.topnav a {
		padding: 0.25em 0.5em;
		text-decoration: none; 
		display: block;
		color: #333; 
		border: none;
	}
	.topnav a span {
		font-size: 60%
	}
  
	.topnav a:hover {
		background: #ddd;
		border-color: #ddd; 
	}
	.topnav li.current a {
    border-top: 2px solid var(--bg-orange);
	}
	.topnav li.edit a {
		background: none; 
	}


form.search {
	width: 30%; 
  max-width: 300px
}

div.social {
  position: absolute;
  right:5%;
  top:3em;
 // background-color:red;
/*	float: right; */
	margin-top: 5px;
	width: 30%; 
  text-align: right;
}
div.social a {
  border:none;
  margin-left:0.2em;
  float: right;
  font-size: 1.75em;
}
div.social a img {
  height:20px;
  width:20px;
}

div.social a img.trans {
  display:initial;
}
div.social a img.blue {
  display:none;
}

.VombieLikeButtonbbbh{
  float:right;
  line-height: 20px;
}

form.search input {
  margin: 0;
	padding: 0.25em 0.5em;
	border: 1px solid #ccc; 
  border-radius: 4px;
  line-height: 1em;
  font-size: 1em;
	width: 100%; 
  
}

form.search button {
  display: none; 
}

.breadcrumbs {
	clear: both; 
	padding-top: 1em; 
}
.breadcrumbs span:after {
	content: ">";
	color: #999; 
	padding-left: 0.5em;
	padding-right: 0.25em; 
}
.breadcrumbs span:last-child:after
{
  content: '';
}

.content-container {
  position: relative;
  margin: 2em 0;
  padding: 2em 0;
  position: relative;
  min-height: 300px;
  z-index: 3;
  font-size: 1.5em;    
}

/*********************************************************************
 * 3. Main content and sidebar
 *
 */

#main {
	border-top: 1px solid #eee; 
	padding: 0.25rem; 
	clear: both; 
}

#content {
	width: 65%; 
	float: left;
	padding-bottom: 2em; 
}

#sidebar {
	width: 35%;
	padding-left: 5%; 
	float: left; 
	padding-bottom: 2em; 
}

.nav {
	margin-left: 0;
	padding-left: 0;
	list-style: none; 
}
	.nav .nav {
		padding-left: 1.5em;
		list-style: disc;
	}
	.nav li {
		margin: 1em 0;
	}

	.nav-tree li {
		margin-top: 0;
		margin-bottom: 0;
	}

	.nav a {
		font-weight: bold;
	}

	.nav-tree li a {
		color: #777; 
	}

	.nav .current > a {
		color: #333; 
	}

.align_left {
	/* for images placed in rich text editor */ 
	float: left;
	margin: 0 1em 0.5em 0; 
	position: relative;
	top: 0.5em;
	max-width: 50%; 
}

.align_right {
	/* for images placed in rich text editor */ 
	float: right;
	margin: 0 0 0.5em 1em;
	max-width: 50%; 
}

.align_center {
	/* for images placed in rich text editor */ 
	display: block;
	margin: 1em auto; 
	position: relative;
	top: 0.5em;
}



label {
    font-weight: bold; 
}
.eventbox, .vvk {
  padding-left:0.5em
}
.eventbox label {
    /*display:block;*/
}
.eventbox div {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.nav.events li {
    position:relative;
    clear: left;
    overflow: hidden;
    font-size:95%
}


.nav.events li div.summary {
    font-size:90%;
    line-height:1.3em;
    max-height:5em;
    /*border:1px solid black;*/
}

.nav.events li img {
    float:left; 
    max-width:25%; 
    margin-right:0.2em;
    margin-top:0.3em;
    min-width:117px;
}


/*
.nav.events div {
    font-size:100%;
    line-height:1.4em;
}
*/

.stream_button {
  width: 35%;
  min-width:220px; 
  float: right; 
  position: relative; 
  margin-top: -100px;
}
.stream_button a {
  border:0;
}

/*********************************************************************
 * 4. Footer
 *
 */

  #footer {
    clear: both; 
    border-top: 1px solid #eee; 
    text-align: center;
    font-size: 1.5em;
    padding-top: 20px;
    margin-bottom: 100px;
  }
  
  #footer .socialmedia {
    text-align: center;
    font-size: 1.5em;
  }
  
  footer .socialmedia a {
    border-bottom: none;
  }
  

/*********************************************************************
 * 5. Media queries for responsive layout
 *
 */

@media only screen and (max-width: 468px) {
  
  #footer {  
    font-size: 1em;
  }
  
  .content-container {  
    font-size: 1em;
  }
  
  .nav.events li img {
    display:none;
  }
    
  .stream_button {
    float: none;
    width:100%;
    text-align:center; 
    position: relative; 
    margin-top: 0px;
  }    
}

@media only screen and (max-width: 767px) {
	/* mobile layout */ 
        
	body, td, textarea {
            font-size: 100%;             
	}
  
  .header {
    
  }
  
  svg.logo {
    color: var(--bg-orange);
    height: 50px;
  }
  
  
  
  .live {
    background-size: 6em
  }
  
  #footer {  
    font-size: 1.25em;
  }
  
  .content-container {  
    font-size: 1.25em;
  }


	#content, 
	#sidebar {
		float: none;
		width: 100%; 
		padding: 0; 
	}
	form.search {
    position: initial;
		float: none; 
		width: 100%; 
	}
	div.social {
    position: initial;
		float: none; 
    clear:left;
		width: 100%; 
	}  
  div.social>div,div.social>a  {
    float:left;
    margin-right:0.2em;
    margin-left:0;
    line-height: 20px
  }
  div.social a img.trans {
    display:none;
  }
  div.social a img.blue {
    display:initial;
    height:20px;
    width:20px;
  }
  
	#content {
		width: 100%; 
	}
	#sidebar {
		border-top: 1px solid #eee;
		padding-top: 1em; 
	}
	.align_left, .align_right, .align_center {
		display: block;
		float: none; 
		margin: 1em auto;
		max-width: 100%; 
	}

}

@media only screen and (min-width: 1200px) {
	/* extra-wide desktop layout */ 

    
    
}



a.fancybox-item {
  border:0;    
}

div#event_images {
  text-align: center;
}

div#event_images a {
  border:none;
}

ul.attachments {
  list-style: outside none none;
  padding-left: 0.5em
    
}

.events a {
  text-overflow: ellipsis;
  overflow: hidden;
  display: block;
  white-space: nowrap;
}

.active,
li.MarkupPagerNavOn a {
   color: #ff6309;
   border-bottom: 1px solid #ff6309;
   font-weight: bolder;
}

div.vvk {
  
}

div.vvk h3 {
  margin: 0.5em 0;
  border-top:0;
  font-size: 1em;
  padding: 0;
}

.MarkupPagerNav {
  float:right;
  margin: 0.2em 0;
  list-style:outside none none;
}

.MarkupPagerNav li {
  float:left;
  padding:0.2em;
  list-style: none;
}

 



.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}


form.newsletter {
  
  
}


form.newsletter input,form.newsletter button {
  background: #f4f4f4; 
  border: 1px solid #cccccc; 
  width: 100%;
  line-height:normal;
  margin-bottom: 0.3em;
}

form.newsletter button.submit {
  cursor: pointer; 
  border: 1px solid rgb(200, 50, 3); 
  border-radius: 3px; 
  font-weight: bold; 
  text-align: center; 
  color: #fff;
  background-color: rgb(255, 99, 9); 
  padding: 2px 8px;
  font-size: 100%; 
  margin-top: 0.3em;
}

.socila-bar {
}

.social-bar a {
    display: block;
    text-align: center;
    padding: 12px 16px;
    transition: all 0.3s ease;
    color: white;
    font-size: 20px;
    margin-top: 10px;
}

.social-bar1 a {
  display: block;
  text-align: center;
  padding: 16px;
  transition: all 0.3s ease;
  color: white;
  font-size: 20px;
}

.social-bar a:hover {
    background-color: #000;
}

.facebook {
  background: #3B5998;
  color: white;
}

.twitter {
  background: #55ACEE;
  color: white;
}

.google {
  background: #dd4b39;
  color: white;
}

.linkedin {
  background: #007bb5;
  color: white;
}

.youtube {
  background: #bb0000;
  color: white;
}


#top-button {
  display: inline-block;
  background-color: #ff6309;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

#top-button::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}

#top-button:hover {
  cursor: pointer;
  background-color: #333;
}

#top-button:active {
  background-color: #555;
}

#top-button.show {
  opacity: 1;
  visibility: visible;
}


@media (max-width: 768px) {
nav.main-navigation {
display:block
}  

    .topnav {
        display: none;
        flex-direction: column;
        position: absolute;
        right: 0;
        background:  var(--bg-content);
        width: 100%;
        text-align: center;
    }
    
    .topnav li,
    .topnav a {
      width: 100%;
    }    

    .topnav.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}









.main-timeline {
    position: relative
}

.main-timeline:before {
    content: "";
    display: block;
    width: 2px;
    height: 100%;
    background: #c6c6c6;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0
}

.main-timeline .timeline {
    margin-bottom: 40px;
    position: relative
}

.main-timeline .timeline:after {
    content: "";
    display: block;
    clear: both
}

.main-timeline .icon {
    width: 18px;
    height: 18px;
    line-height: 18px;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0
}

.main-timeline .icon:before,
.main-timeline .icon:after {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.33s ease-out 0s
}

.main-timeline .icon:before {
    background:  var(--bg-content);
    border: 2px solid #232323;
    left: -3px
}

.main-timeline .icon:after {
    border: 2px solid #c6c6c6;
    left: 3px
}

.main-timeline .timeline:hover .icon:before {
    left: 3px
}

.main-timeline .timeline:hover .icon:after {
    left: -3px
}

.main-timeline .date-content {
    width: 50%;
    float: left;
    margin-top: 22px;
    position: relative
}

.main-timeline .date-content:before {
    content: "";
    width: 36.5%;
    height: 2px;
    background: #c6c6c6;
    margin: auto 0;
    position: absolute;
    top: 0;
    right: 10px;
    bottom: 0
}

.main-timeline .date-outer {
    width: 125px;
    height: 125px;
    font-size: 16px;
    text-align: center;
    margin: auto;
    z-index: 1
}

.main-timeline .date-outer:before,
.main-timeline .date-outer:after {
    content: "";
    width: 125px;
    height: 125px;
    margin: 0 auto;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transition: all 0.33s ease-out 0s
}
/*
.main-timeline .date-outer:before {
    background: #fff;
    border: 2px solid #232323;
    left: -6px
}

.main-timeline .date-outer:after {
    border: 2px solid #c6c6c6;
    left: 6px
}
*/
.sticky {
  top:0;
  position:sticky;
  z-index: 10;
  background:inherit;
}

.main-timeline .timeline:hover .date-outer:before {
    left: 6px
}

.main-timeline .timeline:hover .date-outer:after {
    left: -6px
}

.main-timeline .date {
    width: 100%;
    margin: auto;
    position: absolute;
    top: 27%;
    left: 0
}

.main-timeline .month {
    font-size: 18px;
    font-weight: 700
}

.main-timeline .year {
    display: block;
    font-size: 30px;
    font-weight: 700;
    color: #232323;
    line-height: 36px
}

.main-timeline .timeline-content {
    width: 50%;
    padding: 20px 0 20px 50px;
    float: right
}

.main-timeline .title {
    font-size: 19px;
    font-weight: 700;
    line-height: 24px;
    margin: 0 0 15px 0
}

.main-timeline .description {
    margin-bottom: 0
}

.main-timeline .timeline:nth-child(2n) .date-content {
    float: right
}

.main-timeline .timeline:nth-child(2n) .date-content:before {
    left: 10px
}

.main-timeline .timeline:nth-child(2n) .timeline-content {
    padding: 20px 50px 20px 0;
    text-align: right
}

@media only screen and (max-width: 991px) {
    .main-timeline .date-content {
        margin-top: 35px
    }
    .main-timeline .date-content:before {
        width: 22.5%
    }
    .main-timeline .timeline-content {
        padding: 10px 0 10px 30px
    }
    .main-timeline .title {
        font-size: 17px
    }
    .main-timeline .timeline:nth-child(2n) .timeline-content {
        padding: 10px 30px 10px 0
    }
}

@media only screen and (max-width: 767px) {
    .main-timeline:before {
        margin: 0;
        left: 7px
    }
    .main-timeline .timeline {
        margin-bottom: 20px
    }
    .main-timeline .timeline:last-child {
        margin-bottom: 0
    }
    .main-timeline .icon {
        margin: auto 0
    }
    .main-timeline .date-content {
        width: 95%;
        float: right;
        margin-top: 0
    }
    .main-timeline .date-content:before {
        display: none
    }
    .main-timeline .date-outer {
        width: 110px;
        height: 110px
    }
    .main-timeline .date-outer:before,
    .main-timeline .date-outer:after {
        width: 110px;
        height: 110px
    }
    .main-timeline .date {
        top: 30%
    }
    .main-timeline .year {
        font-size: 24px
    }
    .main-timeline .timeline-content,
    .main-timeline .timeline:nth-child(2n) .timeline-content {
        width: 95%;
        text-align: center;
        padding: 10px 0
    }
    .main-timeline .title {
        margin-bottom: 10px
    }
}