/* Copyright 2015, Nadine Petry und Axel Waggershauser */

/* Schriften */
@font-face {
	font-family: GandhiSans;
	src: url(GandhiSans-Regular.woff);
}
@font-face {
	font-family: GandhiSans;
	src: url(GandhiSans-Bold.woff);
	font-weight: bold;
}
@font-face {
	font-family: GandhiSans;
	src: url(GandhiSans-Italic.woff);
	font-style: italic;
}
@font-face {
	font-family: GandhiSans;
	src: url(GandhiSans-BoldItalic.woff);
	font-weight: bold;
	font-style: italic;
}



body {
	display: block;
	width: 1300px;
	flex-direction: column;
	font-family: GandhiSans, Geneva, sans-serif;
	overflow-y: scroll;
	overflow-x: hidden;
	padding: 0;
	margin: 0;
	margin: auto;
	background: url(../images/background.jpg) top right no-repeat fixed;

}

h2 {
	margin: 15px 0;
}

p {
	margin: 5px 0;
	font-size: 17px;
}

#header {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
}

#lang-buttons-container {
	padding: 16px;
	display: flex;
}

#lang-buttons-container .separator {
	width: 1px;
	background-color: #b4002d;
	margin: 0 6px;
}

#header > span {
	position: absolute;
	font-weight: bold;
	display: block;
}

/*
blue: #0994CE
red:  #b4002d
gold: #8C8560
green: #678f24
*/

a:link, a:visited {
	color:#b4002d;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/* Navigation ------------------------ */

#nav a {
	background-color: white;
	color: #b4002d;
}

@media screen and (max-width: 1230px){
	body {
		width: 100%;
	}
}

#nav {
	/* BK width von 150px auf 180px*/
	position: sticky;
	top: 20px;
	float: left;
	display: flex;
	flex-direction: column; 
	min-height: 400px;
	min-width: 180px;
	margin-top: -5px;
	margin: 0 30px 0 0;
	z-index: 1000 !important;
}

#nav a {
	-moz-border-radius: 3px; /* Firefox */
	-webkit-border-radius: 3px; /* Safari, Chrome */
	-khtml-border-radius: 3px; /* Konqueror */
	border-radius: 3px; /* CSS3 */
	behavior: url(border-radius.htc);
	display: block;
	text-decoration: none;
	text-align: right;
	padding: 10px;
	font-size: 20px;
	text-transform: uppercase;
}

#nav a:hover {
	color: black;
	background-color: #EEE;
}

.caret_down {
	display: none;
    width: 0;
    height: 0;
    vertical-align: middle;
    border-top: 5px dashed;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
}

.caret_right {
	display: none;
    width: 0;
    height: 0;
    margin-left: 0px;
    vertical-align: middle;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px dashed;
}

/* dropdown menu */

.dropdown:hover .dropdown_content{
	display: block;
	z-index: 999999999 !important;
}

.dropdown:hover .caret_right{
	display: inline-block;
}

.dropdown * {
}

.dropdown{
	position: relative;
	cursor: pointer;
	
}

.dropdown_content{
	display: none;
	position: absolute;
	top: 0;
	left: 100%;
	background-color: #f1f1f1;
	min-width: 85px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	margin: 0 0 0 0;
}

#nav .dropdown_content a:hover {
	color: black;
	background-color: #EEE;
}

#nav .dropdown_content a {
	background-color: white;
	color: #b4002d;
  	padding: 12px 12px;
  	text-decoration: none;
	text-align: center;
	font-size: 18;
	text-transform: initial;
}

/** Nested Dropdown*/
 .nested-dropdown:hover .nested-dropdown_content{
	display: inline-block;
}

.nested-dropdown .nested-dropdown_button .nested-caret_right {
	display: none;
}

.nested-dropdown:hover .nested-caret_right{
	display: inline-block;
}

.nested-dropdown{
	position: relative;
	cursor: pointer;
}

.nested-dropdown_content{
	display: none;
	position: absolute;
	top: 0;
	left: 100%;
	background-color: #f1f1f1;
	min-width: 85px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
	margin: 0 0 0 0;
}

#nav .nested-dropdown_content a:hover {
	color: black;
	background-color: #EEE;
}

#nav .nested-dropdown_content a {
	background-color: white;
	color: #b4002d;
  	padding: 12px 12px;
  	text-decoration: none;
	text-align: center;
	font-size: 18;
	text-transform: initial;
}

/* Fix Navbar when scrolling down -----------*/
.nav-fixed {
	position: fixed !important;
}

/* Content ------------------------ */

#content div,p,td,li {
	line-height: 135%;
}

#content {
	display: flex;
	flex-direction: column;
	padding: 0 10px 10px 10px;
	margin: 0;
}

h1 {
	display: inline-block;
	color: #000;
	text-transform: uppercase;
	width: fit-content;
}

h2 {
	font-weight: normal;
	color: #b4002d;
	text-transform: uppercase;
}

h3 {
	font-size: 100%;
	font-style: italic;
	color: #222;
}

h4 {
	margin-bottom: 10px;
	font-style: italic;
	color: #222;
}

hr {
	border: 0;
	background-color: #CCC;
	height: 2px;
	margin-top: 40px;
	margin-bottom: 40px;
}

/* Startseite ------------------------ */

table.logos img , table.highlights img {
	max-width: 290px;
	max-height: 170px;
}

table.highlights td:first-child {
	width: 240px;
	white-space: nowrap;
	padding-right: 20px;
	vertical-align:top
}

/* Programm ------------------------ */

div.filmliste {
	overflow: hidden;
}

.filmliste a img {
	float: left;
	width: 140px;
	margin-right: 20px;
}


.filmliste_filmtitel {
	font-size: 22px;
	margin-top: 15px;
	text-transform: uppercase;
}

.filmliste_untertitel {
	display: inline-block;
	font-size: 16px;
	font-style: italic;
}

/* Wir �ber Uns ------------------------ */

.small-spacer {
	margin: 0;
	background-color: transparent;
}

table.logos img , table.initiatoren img {
	max-width: 240px;
	max-height: 120px;
}

table.initiatoren td:first-child {
	white-space: nowrap;
	padding-right: 50px; 
}

table.logos {
	border-collapse: separate;
	border-spacing: 10px 15px;
}


table.logos td {
	border: 2px solid #CCC;
	padding: 10px;
	text-align: center;
	vertical-align: middle;
	height: 120px;
}

table.logos img {
	max-width: 200px;
	max-height: 100px;
}

/* Bildergalerie ------------------------ */

table.bilder img {
	width: 150px;
	height: 100px;
}

table.bilder {
	border-collapse: separate;
	border-spacing: 10px 15px;
}

table.bilder td {
	border: 2px solid #CCC;
	padding: 0px;
	text-align: center;
	vertical-align: middle;
	height: 120px;
}

/* Spielplan ------------------------ */

td {
	height: 30px;
	padding: 5px;
}


.zeile_mit_header td {
	border-top: 2px solid #CCC;
}

.spalten-ueberschrift td {
	text-transform: uppercase;
	font-weight: bold; 
	min-width: 120px;
}

.spalten-ueberschrift a {
	white-space: nowrap !important;
	display: flex;
	align-items: center;
}

.spalten-ueberschrift a i {
	font-size: 22px !important;
	margin-bottom: 2px;
}

.spalten-ueberschrift a:hover{
	text-decoration: none !important;
}

.spalten-ueberschrift a:hover span{
	text-decoration: underline !important;
}


.spalten-ueberschrift td:nth-child(5) {
	min-width: 280px !important;
}

.spalten-ueberschrift-map td{
	color:rgb(151, 20, 20) !important;
	font-size: 14px;
}

.zeile_mit_header-map td {
	font-size: 14px;
}

.map-dialog-container {
	font-size: 14px;
}

/* Kontakt/Grussworte ------------------------ */

.adressen td {
	vertical-align: top;
}

.adressen p {
	margin: 10px 0px;
}

/* Veranstalter ------------------------ */

.horizontal-flex {
	display: flex;
}

.a-z-container {
	margin-bottom: 10px;
	display: flex;
	align-content: center;
}

.a-z-container a{
	margin: 0 4px;
	font-size: 20px;
	padding-top: 5px;
}

.plain-link {
	margin: 0!important;
	padding: 0!important;
}

.highlight-letter {
	text-decoration: underline !important;
	font-size: 22px !important;
}

.horizontal-flex .searchBox:last-child {
	margin-left: auto;
}

.cancel-custom {
	font-size: 28px !important;
	margin: 0 10px 0 10px !important;
    color: #616161;
    transition: all 0.4s ease 0s;
    cursor: pointer;
}

.cancel-custom:hover {
	color:#b4002d;
}

.searchBox{
	margin-left: auto;
	margin-top: auto;
	margin-bottom: auto;
	width: 330px;
	height: 40px;
	font-size: 18px;
	border: none;
	background: #FAFAFA;
	background-image: url(/images/icons/searchicon.png);
	background-repeat: no-repeat;
	background-position: 7px 7px;
	background-size: 18px;
	padding: 0 10px 0 38px;
	border: white 2px solid;
	border-radius: 10px;
	-webkit-transition: width 0.4s ease-in-out;
	transition: width 0.4s ease-in-out;
}

.searchBox:focus{
	width: 50%;
	border: none;
	outline: none;
	border: #CCC 2px solid;
}

.accordion-container {
	overflow:hidden;
}

.accordion-toggle {
	padding:8px 15px;
	cursor:pointer;
	border-top:1px solid #DDD;
}

.accordion-toggle:hover {
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	-o-border-radius:3px;
	border-radius:3px;
	background: #CCC;
}

.accordion-content {
	padding: 10px 30px;
	background: #FAFAFA;
}

.accordion-toggle.accordion-toggle-active {
	font-weight: bold;
	color: #262938;
}



/* Film ------------------------ */



#content table {
	width: 100%;
	margin-top: 0px; /* siehe h1 */
	border-collapse: collapse;
	
}

td.next-button {
	width: 1%;
}

td.next-button a {
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	-o-border-radius:3px;
	border-radius:3px;
	display: inline-block;
	font-family: Times;
	font-size: 40px;
	width: 25px;
	height: 25px;
	padding: 3px;
	text-decoration: none;
}

.flex-container {
	display: flex;
	flex-wrap: nowrap; /*changed by media query for responsiveness*/
	margin-top: 10px;
	width: 100%;
}

.flex-container img {
	margin: 5px 10px 10px 0	
}

td.next-button a:hover {
	color: black;
	background-color: #EEE;
}

.filmtitel {
	font-size: 160%;
	text-transform: uppercase;
}

.untertitel {
	font-size: 20px;
	font-size: 120%;
	font-style: italic;
	color: #678f24;
	color: #b4002d;
	padding-left: 20px;
	padding-top: 10px;
	padding-bottom: 5px;
}

td.screenshot {
	width: 1%;
	white-space: nowrap;
	padding-right: 20px;
}

.filminfo {
	vertical-align: top;
	font-size: 14px;
	font-style: italic;
	padding: 10px;
	border-top: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
	padding-top: 10px;
	padding-bottom: 10px;
}

.filminfo ul {
	padding: 0px;
}

.filminfo ul li {
	display: block;
}

.filminhalt {
	margin-top: 20px;
	margin-bottom: 30px;
}

.ort {
	margin-top: 20px;
	margin-bottom: 5px;
	width: 20em;
	display: inline-block;
	font-weight: bold;
	color: #b4002d;
}

.datum {
	font-weight: bold;
	color: #555;
}

.moderation  {
	font-size: 90%;
	font-style: italic;
	color: #555;
	margin-bottom: 20px;
}
/* Link zu Inhalt */

.iconWithLink *{
	display: inline;
	margin: auto;
	vertical-align: middle;
}

.iconWithLink a{
	color: rgb(151, 20, 20);
	font-weight: normal;
	font-size: 18px;
}

.iconWithLink {
	margin-bottom: 10px;
}

/* "nach oben" Button */
#topButton {
	display: none;
	width: 60px;
	height: 60px;
	margin: auto;
	border: none;
	background: transparent;
	padding-top: 10px;
	font-size: 16px;
	text-decoration: underline;
	color: rgb(151, 20, 20);
	cursor: pointer;
	position: fixed;
	bottom: 2%; /* Place the button at the bottom of the page */
  	right: 3%; /* Place the button 30px from the right */
	z-index: 99; /* Make sure it does not overlap */
	background-image: url(/images/icons/up-chevron-button.png);
	background-position: inherit;
	background-size: 100%;
}




/* Kommentarsektion */

#commentForm {
	padding-top: 5px;
	margin-block-end: 2em;
}

#commentForm *{
	font-size: 16px;
}

#commentForm label {
	font-size: 17px;
}

textarea{
	width: 100%;
	background-color: white;
	resize: none;
	-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

input{
	width: 100%;
	background-color: white;
	resize: none;
	-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}


/* kommentar boxen */
.comment-box {
	width: auto;
	padding: 10px;
	background-color: transparent;
	border-top: 1px solid lightslategray;
}

.comment-text {
	margin-top: 5px;
	font-size: 16px;
	color: black;
}

.comment-heading {
	font-weight: bold;
	font-size: 19px;
}

#guest-comment-heading {
	font-weight: bold;
	font-size: 19px;
	margin: 20px 0 10px 0;
}

.comment-info {
	color: #555;
	font-size: 16px;
	font-weight: 600;
	padding-left: 5px;
	padding-bottom: 10px;
}

.comment-user{
	display: inline-block;
	font-size: 16px;
	font-weight: bold;
	color:#b4002d;
}

.comment-date{
	font-size: 15px;
	font-weight: bold;
	display: inline-block;
	color: #555;
	float: right;
}

/* kommentar eingabe */

#commentMessage {
	margin: 10px 0 10px 0;
	padding: 10px;
	height: 100px;
}

#commentName {
	height: 45px;
	padding: 10px;
	margin: 10px 0 15px 0;
	width: 100%;
	display: block;
}

#commentNameLabel {
	flex-basis: 100px;
	width: 100%;
}

#commentForm button{
	color: rgb(11, 15, 15);
	cursor: pointer;
	padding: 7px;
	font-weight: 700;
	-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
	border-radius: 5px;
	background-image: linear-gradient(to right, rgb(210, 212, 216) 0%, #D7DDE8 51%, rgb(196, 198, 204) 100%)
}

#commentForm button:hover{
	color: black;
	background: lightgray;
}

.horizontalFlex {
	display: flex;
}

.horizontalFlexRegionen {
	display: flex;
}

/* Eingef�gt, BK */
.region-button-normal {
	margin: 0 2px;
	color: #494949 !important;
	text-transform: uppercase;
	text-decoration: none;
	background: #f0f0f0;
	border: 2px solid #494949 !important;
	display: inline-block;
	transition: all 0.4s ease 0s;
	cursor: pointer;
	border-radius: 4px;
	font-weight: bold;
	text-align: center;
	height: 100%;

}

.region-button-selected {
	margin: 0 2px;
	color: #ffffff !important;
	background: #b4002dad !important; 
	text-transform: uppercase;
	text-decoration: none;
	border: 2px solid #b4002dad !important;
	display: inline-block;
	transition: all 0.4s ease 0s;
	cursor: pointer;
	border-radius: 4px;
	font-weight: bold;
	text-align: center;
	height: 100%;

}

.region-spacing { /*only applied to year 2016 and smaller*/
	margin: 0 20px;
}

.region-button-normal:hover {
	color: #ffffff !important;
	background: #b4002dad;
	border-color: #b4002dad !important;
	transition: all 0.4s ease 0s;
}

div#archiv-wrapper {
	width: 680px;
}

div#archiv-wrapper a {
	display: block;
	width: 210px;
	height: 120px;
	border: solid 2px #ccc;
	margin: 5px;
	float: left;
}

div#archiv-wrapper a img {
	max-width: 200px;
    max-height: 100px;
	display: block;
	
	margin: 0;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.filmliste a img {
    width: 300px;
}

.filmliste p {
    margin-top: 0;
}

.filmliste_filmtitel {
    margin-top: 0;
}

.filmliste_text {
	margin-top: 15px;
	text-align: justify;
}

/** Archiv */

.archiv-spacer {
	height: 10px;
	width: 100%;
}


#archiv_wechsel a {
	cursor: pointer;
	color: #b4002d;
}

#archiv_wechsel a.active {
	text-decoration: underline;
}

.filmliste_filmtitel>a {
	color: black;
	font-weight: bold;
}

.filmliste_untertitel {
	color: #b4002d;
	font-weight: bold;
	margin-bottom: 15px;
	text-transform: uppercase;
}

ul.filmliste_infos {
	margin-bottom: 30px;
}

/* BK ENDE */

#nav .showOnMobile {
	display: none;
}

/* Media Queries for responsive toolbar */ 

@media screen and (max-width: 768px){
	
	#nav {
		position: fixed;
		cursor: pointer;
		top: 0;
		margin: 0;
		padding: 50px 0 0 0;
		height: 100%;
		width: 100%;
		background: white; 
		clip-path: circle(100px at -15% -15%);
		-webkit-clip-path: circle(100px at -15% -15%);
		transition: all 1s ease-out;
	}

	.caret_down {
		display: inline-block;
	}


	.dropdown:hover .dropdown_content{
		display: none;
	}
	
	.dropdown:hover .caret_right{
		display: none;
	}

	.dropdown_content {
		position: static;
		margin: 0;
	}

	.horizontal-flex{
		flex-direction: column;
	}

	.horizontal-flex .searchBox{
		width: 100%;
		margin-bottom: 10px;
	}

	.flex-container {
		flex-wrap: wrap;
		width: 100%;
	}

	.flex-container img {
		width: 100%;
		margin: 0 0 10px 0;
	}

	.horizontalFlexRegionen{
		flex-wrap: wrap;
	}

	.region-button-normal {
		height: 32px;
		margin-top: 5px;
	}

	.region-button-selected {
		height: 32px;
		margin-top: 5px;
	}
	
	#nav.open {
		clip-path: circle(1000px at 10% -15%);
		-webkit-clip-path: circle(1000px at 10% -15%);
		
	}
	
	#header img{
		display: inline-block;
		height: auto;
		width: 100vw;
		object-fit: contain;
		margin-top: 50px;
	}
	
	.hamburger {
		position: fixed;
		display: block;
		padding: 10px;
		cursor: pointer;
		background: transparent;
		z-index: 10;
	}
	.hamburger .line {
		width: 35px;
		height: 5px;
		background: #c4180c;
		margin: 4px;
		border-radius: 25%;
	}
		
	#nav a {
		margin: 0;
		text-align: center;
	}

	#nav .showOnMobile {
		display: block;
	}
}

