/*
Theme Name: Event Minimal
Author: Stefan
Description: Minimal theme for a one-page event site.
Version: 1.2
*/

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
}

body {
	margin: 0px;
  padding: 0px;
  font-family: "Comic Neue", sans-serif;
  font-size: 20px;
	font-weight: 500;
  color: #002060;
  background: #FAFAFA;
  line-height: 1.2;
}


img {
  max-width: 100%;
  height: auto;
}

/* Bereich oberhalb des Footers */
.page-bg {
  min-height: calc(100vh - 90px);
  padding: 50px 24px 80px;

  background-image: url("images/background.gif");
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% auto;
}

/* Eigentlicher editierbarer Content-Bereich */
.site-main {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px;

  background: #FAFAFA;
}


/* Footer */
.site-footer {
  padding: 28px 24px;
  text-align: center;
  font-size: 0.95rem;
  color: #666;
  background: #FAFAFA;
}

.site-footer a {
  color: inherit;
  text-decoration: underline;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #222;
}

/* Kleine Bildschirme */
@media (max-width: 576px) {
  .page-bg {
    padding: 0px 0px 50px;
  }

  .site-main {
    padding: 0 20px 28px;
		line-height: 1.2;
  }

  img.event-hero {
    display: block;
    width: calc(100% + 40px);
    max-width: none;
    height: auto;
    margin: 0 -20px 20px -20px;
  }
}

@media (max-width: 768px) {
  .site-main h1 {
    font-size: 1.5rem;
    line-height: 1.15;
  }
}

img.aligncenter,
.wp-caption.aligncenter,
figure.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Videobereich */
.event-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 48px;
  align-items: start;
}

video {
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: 640px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  background: #000;
}

/* Smartphone */
@media (max-width: 768px) {
  .event-videos {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 36px;
  }

  .event-videos video {
    width: 100%;
    height: auto;
    max-height: none;
  }
}

/* Fonts */
@font-face {
    font-family: 'Comic Neue';
    src: url('fonts/ComicNeue-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Comic Neue';
    src: url('fonts/ComicNeue-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Comic Neue';
    src: url('fonts/ComicNeue-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Comic Neue';
    src: url('fonts/ComicNeue-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Comic Neue';
    src: url('fonts/ComicNeue-Light.ttf') format('truetype');
    font-weight: light;
    font-style: normal;
}

@font-face {
    font-family: 'Comic Neue';
    src: url('fonts/ComicNeue-LightItalic.ttf') format('truetype');
    font-weight: light;
    font-style: italic;
}


.ea-header {
	font-weight:bold;    
}

.sp-ea-one.sp-easy-accordion .sp-ea-single .ea-header a {
    padding-top: 5px;
    padding-bottom: 5px;
}

#ea-header-900 {
    padding-top: 5px;
    padding-bottom: 5px;
}

.site-main [id^="collapse"] > div {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

.ea-body {
	padding: 0px;
}

table {
  background-color: #FAE4B4;
  width: 100%;
}