/* ========= FONTS ============= */

@font-face {
  font-family: 'Korpus';
  src:  url('korpusa.woff2') format('woff2'),
        url('korpusa.woff') format('woff');
  font-weight:normal;
  font-style: normal;
}
@font-face {
  font-family: 'Korpus';
  src:  url('korpusc.woff2') format('woff2'),
        url('korpusc.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'Korpus';
  src:  url('korpusa10.woff2') format('woff2'),
        url('korpusa10.woff') format('woff');
  font-style: italic;
  font-weight:normal;
}
@font-face {
  font-family: 'National';
  src:  url('national.woff2') format('woff2'),
        url('national.woff') format('woff');
}

/* ========= GLOBAL ============ */

/* Remove spacings */
* {
  margin: 0;
  padding: 0;
}

html {
  /* padding: 5px 2%; */
  margin-left: auto;
  margin-right: auto;
  /* max-width: 90%; */
}

body {
  font-family: 'Korpus','Helvetica','Arial',sans-serif;
  background-color: #efefef;
  color: #252525;
  line-height: 1.5;
}

a {
  color: #4680cd;
  text-decoration: none;
}

a:hover {
  color: #f05a50;
}

img.link_icon {
  vertical-align: middle;
  margin-right: 5px;
  margin-bottom: 2px;
}

.link_icon_pfeil {
  height: 10px;
}

div.confirmation {
  font-size: 0.9em;
  color: #067906;
  padding: 2px;
}

div.error {
  font-size: 0.9em;
  color: #af0000;
  padding: 2px;
}
 
/* ========= HEADER ============= */

header {
  width: 100%;
  height: 197px;
  background-color: #b5cceb;
  background-repeat: no-repeat;
  background-size: 1200px 163px;
  position: relative;
  z-index: 10;
}

header div {
  display: table-cell;
  height: 162px;
  vertical-align: bottom;
}

/* Titel im Header */
header h1 {
  padding-left: 10px;
  font-size: 1.9em;
  color: #ffcd6e;
  width: 75%;
}
header a {
  text-decoration: none;
}

#header_logo {
  position: absolute;
  right: 35px;
  top: 38px;
  height: 152px;
  width: 152px;
  z-index: 15;
}

#header_logozusatz {
  width: 176px;
  height: 64px;
  position: absolute;
  left: 15px;
  top: 25px;
}

#FB_logo {
  width: 22px;

  /* FIX NEBEN LOGO */
  position: absolute;
  top: 173px;
  right: 190px;

  /* IN NAVIGATION: */
  /*position: relative;
  top: 2px; */
}

/* ========= MAIN NAVIGATION ========= */

/* Dropdown menu */
#nav_anchor {
   display: block;
}

#nav_expanded.nav_closed {
   display: none;
}

#nav_expanded.nav_open {
   display: block;
}

header nav {
  width: 100%;
  font-family: 'National','Helvetica','Arial',sans-serif;
  font-weight: bold;
}

/* Main menu */
header nav ul {
  float: left;
  width: 100%;
  list-style-type: none;
  background: #4680cd;
}

header nav ul li {
  float: left;
  width: 90%;
  margin-left: 8px;
}

nav.submenu {
  margin-left: 10px;
}

header nav ul li a {
  float: left;
  padding: 8px 0 8px 8px;
  color: #ffebc5;
  text-decoration: none;
  font-size: 1.1em;
}

header nav li a:hover, nav li a:focus {
  color: #ffcd64;
}

/* Submenu */
main nav ul {
  list-style-type: none;
  background: #ffcd6e;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
}

main nav ul li {
  padding-top: 5px;
  padding-bottom: 5px;
}

main nav ul li a {
  color: #084673;
  text-decoration: none;
}

/* ========= LAYOUT MAIN CONTENT ========= */

main {
  background: #ffffff;
  overflow: auto;
  float: left;
  width: 100%;
  padding-bottom: 10px;
}

/* Container */
.content {
  height: auto;
  overflow: hidden;
  position: relative;
}

/* Submenu spacer if no submenu present */ 
#submenu_spacer {
   display: none;
}

/* Main content (center) */
.main_content {
  overflow: hidden;
} 

/* ========= CONTENT ========= */

/* Main content */ 
section {
  padding-top: 10px;
  padding-left: 25px;
  padding-right: 25px;
  font-size: 1.1em;
}
section p {
  margin-top: 8px;
  margin-bottom: 8px;
}

/* Main title */
section h1 {
font-family: 'National','Helvetica','Arial',sans-serif;;
font-size:1.8em;
margin-top: 15px;
margin-bottom: 15px;
background-color: #ffebc5;
display: table;
padding-left: 7px;
padding-right: 7px;
position: relative;
left: -7px;
}

/* Subtitles */
section h2 {
font-family: 'National','Helvetica','Arial',sans-serif;;
font-size:1.2em;
margin-bottom: 5px;
margin-top: 20px;
clear: both;
/* border-bottom: 2px solid #b4e3de;
color: #44b9ad; */
/* background-color: #ffebc5; */
background-color: #F9BDB9;
display: table;
padding-left: 7px;
padding-right: 7px;
position: relative;
left: -7px;
}

section h3 {
font-size:1.1em;
margin-top: 20px;
}
.clear {
clear: both;
}

hr {
clear: both;
width: 90%;
border: 0;
border-top: 1px solid #1082ce;
}

/* Links */

.readmore_links {
font-size:0.9em;
color: grey;
}
span.readmore_links:before {
content: "[";
}
span.readmore_links:after {
content: "]";
}
.readmore_links a {
color: grey;
padding-left:2px;
padding-right:2px;
text-decoration: none;
}
.readmore_links a:hover {
color: #b5cceb;
}

/* Buttons/Teaser */

div.buttons a {
/* background-color: #4CAF50; */
border: 6px solid #44B9AD;
color: #44B9AD;
font-family: 'National','Helvetica','Arial',sans-serif;
font-weight: bold;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 20px;
margin-top: 5px;
margin-bottom: 5px;
margin-right: 5px;
min-width: 10em;
}

div.buttons a:hover {
  background-color: rgba(68, 185, 173, 0.2);
}

/* Lists */

section ul {
list-style-type: square;
}

section ul li {
margin-left: 25px;
}
section ol li {
margin-left: 25px;
}

/* Start page: Intro text */
section.intro {
clear:left;
text-align: left;
font-size: 1.3em;
/* background-color: #d1dddb; */
background-color: #DAE6f5;
padding-bottom: 20px;
padding-top: 15px;
margin-bottom: 10px;
}
section.intro p {
margin-left: auto;
margin-right: auto;
padding-top: 5px;
}

div.landing_bild img {
  width: 100%;
  margin-bottom: -8px;
}

div.landing_teaser img {
  width: 50%;
  float: left;
}

div.landing_bild img.teaser_link {
  width:60%;
  max-width:600px;
  position:absolute;
  left:2%;
  top:7%;
}

div.bluewide {
  margin-top: 20px;
  background-color: #DAE6f5;
}

div.bluewide div.left {
  width: 50%;
  float: left;
  margin-bottom: 20px;
  padding-top: 1%;
}

div.bluewide div.right {
  width:45%;
  padding-left: 1.5%;
  padding-top: 1%;
  padding-bottom: 1%;
  margin-bottom: 20px;
  float: left;
}

div.bluewide div.left_grundr {
  width: 100%;
  float: left;
  margin-bottom: 20px;
  padding-top: 1%;
}

div.bluewide div.right_grundr {
  width:100%;
  padding-left: 1.5%;
  padding-top: 1%;
  padding-bottom: 1%;
  margin-bottom: 20px;
  float: left;
}

img#schnitt_grundr {
  width:100%;
  max-width:700px;
  position:relative;
} 

img.doku {
  max-width: 400px;
  width: 100%;
}

.link_hover:hover {
  opacity: 0.8;
  filter: alpha(opacity=80); /* For IE8 and earlier */
  cursor: pointer;
}

.hvr-rotate {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.hvr-rotate:hover, .hvr-rotate:focus, .hvr-rotate:active {
  -webkit-transform: rotate(3deg);
  transform: rotate(3deg);
}

/* Video */
section.video {
  position: relative;
  max-width: 720px;
  cursor: pointer;
}
section.video video {
  width: 100%;
  max-width: 720px;
  max-height: 480px;
}
#playpause {
  background-image: url('/static/website/bilder/play-button-yellow.png');
  background-repeat: no-repeat; 
  background-size: 15%;
  background-position: center;
  width: 100%;
  height: 100%;
  position:absolute;
  left:0%;
  right:0%;
  top:0%;
  bottom:0%;
}

/* Box with title */
section.box {
  padding-left: 15px;
  padding-right: 0;
}

section.box h2,
section.box h3,
section.box p,
section.box form {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 10px;
  margin-right: 20px;
  overflow: hidden;
}

section.box h3 {
  margin-top: 8px;
  margin-bottom: -4px;
}

section.box h2 {
  border-bottom: 0;
}

section.box h1 {
  font-family: 'National','Helvetica','Arial',sans-serif;;
  text-align: center;
  font-size:1.8em;
  margin: 0.5em 5px;
  left: -2px;
} 

section.box img.float {
  float: right;
  margin-right: 10px;
  margin-bottom: 10px;
  margin-left: 5px;
}

section.box p {
  margin-top: 10px;
  margin-bottom: 20px;
}

section.box form {
  margin-top: 15px;
}

.hinweis-small {
  margin-top: 20px;
  font-style: italic;
  font-size: 0.85em;
}

.teaser {
  font-size: 1.8em;
  color: #F05A50;
  padding-top: 10px;
  padding-bottom: 5px;
}

/* Link list */
aside {
  padding-top: 2px;
  margin-bottom: 10px;
  margin-right: 10px;
  margin-left: 8px;
  padding: 10px;
}

aside h1 {
  font-family: 'National','Helvetica','Arial',sans-serif;
  font-size: 1.2em;
  min-width:200px;

  background: #ffebc5;
  margin: 0;
  padding: 5px;
  padding-left: 10px;
  margin-bottom: 5px;
}

aside ul {
  list-style-type: none;
  padding-top: 5px;
  margin-left: 10px;
}

aside ul li {
  padding-bottom: 10px;
}

ul.download_list {
  list-style-type: none;
}

aside a {
  color: #4680cd;
}

aside p {
  margin-bottom: 10px;
  margin-left: 10px;
}

/* Events */
.event_block {
  margin-top: 10px;
  margin-bottom: 30px;
}

.event_body {
  position: relative;
  /* overflow: hidden; */
}

.event_block h2 {
  padding-bottom: 3px;
}

.event_block h3 {
  margin-top: 0px;
}

/* Time table */
.timetable {
  display: table;
}

.timetable div {
  display: table-row;
}

.timetable div div {
  display: table-cell;
  padding: 5px;
}

.time {
  font-weight: bold;
  white-space: nowrap;
}

/* Tool tips */

div.wb-qtip {
    border-color: #4680cd; /* rgb(0,190,0); */
    background-color: #ddd;
    font-size: 1.0em;
    line-height: 1.2;
}

  /*
  i wish this required CSS was better documented :(
  https://github.com/FezVrasta/popper.js/issues/674
  derived from this CSS on this page: https://popper.js.org/tooltip-examples.html
  */

  .popper,
  .tooltip {
    position: absolute;
    z-index: 9999;
    background: #FFC107;
    color: black;
    width: 300px;
    border-radius: 3px;
    box-shadow: 0 0 2px rgba(0,0,0,0.5);
    padding: 10px;
    text-align: center;
  }
  .style5 .tooltip {
    background: #1E252B;
    color: #FFFFFF;
    max-width: 400px;
    width: auto;
    font-size: .8rem;
    padding: .5em 1em;
  }
  .popper .popper__arrow,
  .tooltip .tooltip-arrow {
    width: 0;
    height: 0;
    border-style: solid;
    position: absolute;
    margin: 5px;
  }

  .tooltip .tooltip-arrow,
  .popper .popper__arrow {
    border-color: #FFC107;
  }
  .style5 .tooltip .tooltip-arrow {
    border-color: #1E252B;
  }
  .popper[x-placement^="top"],
  .tooltip[x-placement^="top"] {
    margin-bottom: 5px;
  }
  .popper[x-placement^="top"] .popper__arrow,
  .tooltip[x-placement^="top"] .tooltip-arrow {
    border-width: 5px 5px 0 5px;
    border-left-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    bottom: -5px;
    left: calc(50% - 5px);
    margin-top: 0;
    margin-bottom: 0;
  }
  .popper[x-placement^="bottom"],
  .tooltip[x-placement^="bottom"] {
    margin-top: 5px;
  }
  .tooltip[x-placement^="bottom"] .tooltip-arrow,
  .popper[x-placement^="bottom"] .popper__arrow {
    border-width: 0 5px 5px 5px;
    border-left-color: transparent;
    border-right-color: transparent;
    border-top-color: transparent;
    top: -5px;
    left: calc(50% - 5px);
    margin-top: 0;
    margin-bottom: 0;
  }
  .tooltip[x-placement^="right"],
  .popper[x-placement^="right"] {
    margin-left: 5px;
  }
  .popper[x-placement^="right"] .popper__arrow,
  .tooltip[x-placement^="right"] .tooltip-arrow {
    border-width: 5px 5px 5px 0;
    border-left-color: transparent;
    border-top-color: transparent;
    border-bottom-color: transparent;
    left: -5px;
    top: calc(50% - 5px);
    margin-left: 0;
    margin-right: 0;
  }
  .popper[x-placement^="left"],
  .tooltip[x-placement^="left"] {
    margin-right: 5px;
  }
  .popper[x-placement^="left"] .popper__arrow,
  .tooltip[x-placement^="left"] .tooltip-arrow {
    border-width: 5px 0 5px 5px;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    right: -5px;
    top: calc(50% - 5px);
    margin-left: 0;
    margin-right: 0;
  }


/* ========= IMAGES ========= */

.bildimtext img {
  max-width: 100%;
  margin-top: 10px;
}
.bildimtext figcaption {
  margin-top: -6px;
}

.grundr_plan {
  float: left;
  margin-right: 10px;
}

.grundr_illu {
  max-width: 500px;
  float: left;
}

.grundr_exempl {
  margin-top: 50px;
  margin-bottom: 50px;
}

.imageblock {
  display: block;
  /*margin-left: auto;
  margin-right: auto;*/
  max-width: 100%;
}

.imageblock img {
  max-width: 100%;
  border: 1px solid #999999;
}

/*.imageblock figcaption {*/
figcaption {
  padding-bottom: 5px;
}
figcaption.gallery {
  border: 0;
}

section figcaption {
  font-size: 0.8em;
}

div.gallery {
  margin-top: 20px;
}

img.fullwidth {
  width: 100%;
  max-width: 800px;
}

img.halfwidth {
  width: 100%;
  max-width: 400px;
}

.event_image {
  margin: 5px;
  border: 1px solid #999999;
}

.wegweiser {
  display: none;
}

div.download_image {
  float: left;
  width: 150px;
  max-width: 100%;
  padding-right: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}

div.visual {
  margin-top: 20px;
}

p.caption {
  margin-top: 0;
  line-height: 1;
  font-size: 1em;
}

/*img.sticker_holliger {
  float:right;
  width:125px;
  padding-top:10px;
  padding-left:10px;
  position:relative;
  top:-10px;
}*/

div.sticker_holliger {
  position: absolute;
  top: 40px;
  right: 60px;
  z-index: 15;  
  display: none;
}

div.sticker_holliger_text {
  padding-top:20px;
  position: relative;
}

div.landing_bild img.sticker_holliger, img.sticker_holliger {
  display: block;
  margin-left:auto;
  margin-right:auto;
  width: 150px;
}

div.icon_with_text {
  margin-top: 10px;
  display: block;
  align-items: center;
}

/* ========= VIDEO ========= */

div.video {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
div.video iframe {
  aspect-ratio: 16 / 9;
  width: 100% !important;
}

/* ========= MAPS =========== */

div#map {
  position: relative;
}

div#map > a, div#map > a:hover {
  color: black;
}

div.map_green {
  background-color: rgba(81, 196, 178, 0.6);
  position: absolute;
  padding: 8px;
  font-size: 0.8em;
}
div.map_green:hover {
  background-color: rgba(81, 196, 178, 0.8);
}

div.map_yellow {
  background-color: rgba(252, 201, 86, 0.6);
  position: absolute;
  padding: 8px;
  font-size: 0.8em;
}
div.map_yellow:hover {
  background-color: rgba(252, 201, 86, 0.8);
}


div.map_red {
  /* border: 2px solid rgba(240, 51, 53, 1); */
  background-color: rgba(240, 51, 53, 0.6);
  position: absolute;
  padding: 8px;
  font-size: 0.8em;
}
div.map_red:hover {
  background-color: rgba(240, 51, 53, 0.8);
}

div.map_blue {
  /* border: 2px solid rgba(60, 137, 208, 1); */
  background-color: rgba(60, 137, 208, 0.6);
  position: absolute;
  padding: 8px;
  font-size: 0.8em;
}
div.map_blue:hover {
  background-color: rgba(60, 137, 208, 0.8);
}

div.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 20; /* Sit on top */
  /* padding-top: 100px;*/ /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

div.map_info {
  display: none; /* Hidden by default */
  background-color: #fefefe;
  margin: 5% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  max-width: 1200px;
}

div.map_info h2 {
  font-family: 'National','Helvetica','Arial',sans-serif;;
  color: black;
  font-size:1.8em;
  margin-top: 0px;
  margin-bottom: 0px;
  float: left;
  border: 0;
}

div.map_info img.firstimg {
   margin-top: 20px;
}

div.map_info .close {
  color: #aaaaaa;
  float: right;
  font-size: 38px;
  font-weight: bold;
  line-height: 1;
}

div.map_info .close:hover,
div.map_info .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.show {
  display: block;
}

/* ========= FORMS ========== */

main form {
  border: 1px solid #b4e3de; /* #00a6ff; */
  text-align: center;
  max-width: 500px;
}

main form input {
  margin: 5px;
  padding: 2px;
}

/* Form in box */
section.box form p {
  margin: 0px;
}

section form ul {
  list-style-type: none;
  margin: 5px;
}

section form ul li {
  margin-left: 0px;
}

ul.errorlist {
  color: #f05a50;
} 

section ul.confirmationlist {
  color: #44b9ad;
}

form.bigform {
  border: none;
  text-align: left;
  max-width: 100%;
}
form.bigform label {
  width: 100%;
  display: block;
}
form.bigform input, textarea {
  width: 100%;
  max-width: 400px;
  margin: 0;
  padding: 0;
  margin-bottom: 10px;
}
form.bigform input[type="checkbox"] {
  width: unset;
}
form.bigform input[type="radio"] {
  width: unset;
}

#kalender_reservation ul {
  display: table;
}

#kalender_reservation li {
  display: table-row;
}

#kalender_reservation label, input {
  display: table-cell;
}

.small {
   font-size: 0.9em;
}

.helptext {
   font-size: 0.8em;
   font-style: italic;
}

/* ========= TABLES ========= */

table.default {
  border-collapse: collapse;
}
td.default, th.default {
  border-bottom: #b4b4b4 1px solid;
  text-align: center;
  padding: 2px;
  font-size: 0.95rem;
}

tr.vermietung {
  cursor: pointer;
}

tr.section td {
  border-bottom: #b4b4b4 1px solid;
  /* background: #cdcdcd; */
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 5px;
  padding-bottom: 5px;
  /* border: 0; */
  text-align: center;
  font-weight: bold; 
  font-family: National;
}

.svgListItem.hover {
  background: #aee3d2;
}
 
div.svgMap {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.svgMapItem {
  opacity: 0;
  filter: alpha(opacity=0); /* For IE8 and earlier */
  fill: #000000;
}

.svgMapItem.hover {
  opacity: 0.4;
  filter: alpha(opacity=40); /* For IE8 and earlier */
  cursor: pointer;
}

.svgMapImage {
  width: 100%;
  max-width: 747px;
  position: relative;
}

.svgMapTable {
  width: 100%;
  max-width: 747px;
}

.status_ok {
  /* color: #44B9AD; */
  color: #26AC2C;
}

.status_res {
  color: #FDB626;
}

.status_nok {
  color: #F05A50;
}

div.xborder {
  border-top: 1px solid #b4b4b4;
  border-bottom: 1px solid #b4b4b4;
  padding: 5px;
  margin-top: 10px;
  margin-bottom: 25px;
  max-width: 1080px;
}

div.table {
  display: table;
  width: 100%;
}
div.trow {
  display: table-row;
}
div.label {
  font-weight: bold;
}
div.tcell {
  display: table-cell;
}

/* ========= FOOTER ========= */

footer {
  float: left;
  width: 100%;
  background-color: #ffffff;
  position: relative;
  padding-top: 40px;
  padding-bottom: 5px;
}

footer p {
  font-size: 0.8em;
  /* color: #4680cd; */
  margin-left: 20px;
  margin-right: 20px;
  padding: 10px;
  padding-top: 15px;
  text-align: center;
  border-top: 1px solid #b4e3de;
}

#footer_logo {
  position: absolute;
  left: 30px;
  bottom: 15px;
  height: 76px;
  width: 76px;
  z-index: 5;
}

/* ========= SEAFILE BROWSER ======== */

section .seafile_filebrowser {min-height:250px;background:#fff;border:1px solid #ddd;border-radius:3px}
section .seafile_filebrowser .alc{text-align:center}
section .seafile_filebrowser .vh{display:none}
section .seafile_filebrowser .repo-file-list-topbar .fright{
  float: right;
  display: none;
}

section .seafile_filebrowser p { margin:0 }
section .seafile_filebrowser td,th{padding:5px 3px;word-wrap:break-word;border-bottom:1px solid #eee}
section .seafile_filebrowser table {
  padding:8px 10px
}

section .seafile_filebrowser .repo-file-list-topbar {
  background-color: #f8f8f8;
  padding:8px 10px;
  margin-bottom: 0;
}

section .seafile_filebrowser .repo-file-list-topbar .path{font-size:14px;line-height:25px;margin:0}

section .seafile_filebrowser th{
    text-align: left;
    font-weight: normal;
    color: #9c9c9c;
    padding-top:5px
}

/* EOF */
