html {
  overflow: scroll;
}

body {
  background-color: #000000;
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #3399FF;
}

#wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  border: none;
  background-color: black;
  border-radius: 20px;
  display: flex;
  overflow: auto;
  /* flex-wrap: wrap; */
  flex-flow: row;
  flex-wrap: wrap;
  /* background-color: #d8edf5;
  background-image: url(images/bg_side.png); */
  /* background-image: url(images/bg_side.png);  */
  background-image: repeating-linear-gradient(0deg, #234bae 1px, #3456b9 6px);
}

header {
  height: 85px;
  text-align: center;
  padding-top: 0;
  flex: 0 0 100%;
  overflow: hidden;
  display: flex;
  justify-content: start;
  /* background-image: url(images/ultraplex_top.png); */
}

header img {
  max-width: 100%;
}

header > a {
  width: 100%;
  flex: 1;
}

nav {
  font-variant: small-caps;
  font-size: 1.2em;
  border: solid 0 #000000;
  margin: 1em;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
}

nav div {
  text-align: center;
}

nav ul {
  padding-left: 0;
  padding-inline-start: 0;
  list-style: none;
  display: flex;
  flex-flow: column;
}

nav li {
  border-color: #000000;
  border-width: 1px;
  padding-bottom: 0;
  border-style: solid;
  text-align: center;
  margin-bottom: 0.25em;
  font-weight: bold;
  min-width: 122px;
  /* background-image: url(images/bg_light.png); */
  background-color: rgba(255, 255, 255, 0.133);
  line-height: 1.6em;
}

nav li:first-of-type {
  display: none;
}

nav li .icon {
  display: none;
}

nav li:hover {
  background-color: #0000ff;
  color: #ffffff;
  cursor: pointer;
  transform: scale(1.1);
  transition: all 0.3s;
  background-color: rgba(0, 0, 0, 0.28);
  /* background-image: url(images/bg_dark_side.png) */
}

nav a:active, nav a:link, nav a:visited {
  color: #ffffff;
  text-decoration: none;
}

nav a:hover {
  text-decoration: none;
  color: #ffffff;
}

nav li a {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  padding: 0;
  height: 23px;
}

nav li a:hover {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  padding: 0;
  height: 23px;
}

nav li a:active, nav li a:focus {
  background-color: #0000ff;
  color: #ffffff;
  cursor: pointer;
  /* background-image: url(images/bg_dark_side.png); */
}

nav .highlight {
  border: solid 1px #FF319C;
}

main {
  background-color: #090a20;
  text-align: justify;
  font-size: 1em;
  max-width: calc(100% - 130px - 5em);
  flex: 1;
  box-shadow: 0 0 10px black;
  padding: 0.5em;
}

main img {
  margin: 5px;
}

main div {
  text-align: justify;
  /* float: left; */
}

h1 {
  font-variant: small-caps;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 0;
  margin-top: 0;
}

h2 {
  font-variant: small-caps;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
  margin-top: 0;
  text-align: center;
  color: #FF319C;
}

h3 {
  font-variant: small-caps;
}

h4 {
  font-variant: small-caps;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #FF319C;
}

#flags {
  text-align: center;
  display: flex;
  max-width: 150px;
  margin: auto 0;
  flex: 1;
  box-sizing: border-box;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

#flags div {
  padding: 20px;
}

#flags a:visited {
  color: #000078;
  text-decoration: none;
}

#flags a:active {
  color: #ffffff;
  text-decoration: none;
}

#flags a:link {
  color: #000078;
  text-decoration: none;
}

#flags a:focus, #flags a:hover {
  text-decoration: none;
  color: #ffffff;
}

#flags img {
  margin-left: 0;
  margin-top: 2px;
  border: 2px solid #000078;
  width: 35px;
  height: 23px;
}

#flags img:hover {
  border: 2px solid #ffffff;
}

#archiv {
  text-align: center;
  margin-top: 1.2em;
}

#archiv ul {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  padding: 0;
  padding-inline-start: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(134px, 1fr));
  flex-flow: row wrap;
  justify-content: space-between;
}

#archiv ul::after {
  content: "";
  flex: auto;
}

#archiv ul li {
  box-sizing: border-box;
  flex-direction: column;
  min-height: 150px;
  min-width: 134px;
  max-width: 220px;
  text-align: center !important;
}

#archiv ul li a {
  flex: 1;
  padding: 0.25em;
}

#archiv ul li span {
  display: flex;
  text-align: center;
  padding: 0.5em 0.5em 1.5em;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  display: none;
}

#archiv ul li img {
  width: calc(100% - 0.5em);
  margin: 0 auto !important;
  box-shadow: 0 0 20px #132757;
}

#archiv ul li img:hover {
  filter: brightness(120%);
  background-color: #FF319C;
}

#archiv ul li:hover {
  filter: brightness(120%);
  background-color: #FF319C;
  transform: scale(1.1);
  transition: all 0.3s;
  box-shadow: 0 0 12px 2px #FF319C;
  z-index: 120;
}

#archiv ul li:hover img {
  filter: brightness(120%);
  background-color: #FF319C;
}

.filmcharts {
  font-size: 10px;
}

.chartsdiv {
  border: solid 2px #FF319C;
  margin-left: 75px;
  margin-top: 50px;
  padding: 20px;
  width: 525px;
  text-align: center;
}

.chartsdiv > div {
  text-align: center;
  margin: 10px 5px 15px;
}

.chartsdiv img {
  margin: 0;
}

.chartsdiv input[type=submit] {
  background-color: white;
}

.umfragentext {
  color: #3399FF;
}

#tabcen {
  text-align: center;
}

#tabcen caption {
  color: #FF319C;
  margin: 10px;
  font-size: 14px;
}

#tabcen th {
  color: #FF319C;
}

#tabcen tr {
  padding: 5px;
}

#tabcen td {
  text-align: justify;
  border: none;
  padding: 5px;
}

#cinetab tr {
  margin-top: 20px;
  text-align: left;
}

#cinetab caption {
  font-variant: small-caps;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
  text-align: center;
  color: #FF319C;
}

#cinetab td {
  text-align: left;
}

input {
  margin: 10px;
}

.cine {
  color: #FF319C;
  font-weight: bold;
}

.inputlang {
  width: 200px;
}

.inputurl {
  width: 250px;
}

.inputtwo {
  width: 20px;
}

.inputyear {
  width: 40px;
}

.inputtext {
  width: 400px;
}

b {
  color: #FF319C;
}

a:active, a:link, a:visited {
  color: #ffffff;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
  color: #eeeeff;
}

.popup {
  background-image: url("images/bg_popup.png");
}

.subtitel {
  font-size: 12px;
  font-style: italic;
  font-variant: small-caps;
}

.menlink {
  border: 2px;
  float: left;
}

.leftdiv {
  text-align: justify;
  width: 355px;
  padding: 0;
  float: left;
}

.rightdiv {
  text-align: justify;
  width: 355px;
  padding-left: 15px;
  padding-right: 0;
  float: right;
}

.bgpop {
  background-image: none;
  background-color: #6699CC;
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #FFFFFF;
}

div.movie-lightbox {
  position: relative;
  box-sizing: content-box;
  float: left;
  display: flex;
  flex-direction: column;
  cursor: zoom-in;
  z-index: 10;
}

div.movie-lightbox div.lightbox-zoom {
  position: absolute;
  left: 213px;
  top: 331px;
  width: 14px;
  height: 14px;
  background-size: contain;
  background-image: url("images/zoom-in.svg");
}

div.movie-lightbox span {
  display: inline-block;
  margin-right: 0.5em;
  color: grey;
  background-color: white;
  margin-left: 5px;
  padding: 0.25em;
  font-size: 0.8em;
  box-sizing: border-box;
  text-align: center;
}

.basicLightbox--visible {
  cursor: zoom-out;
}

footer {
  color: darkgrey;
  vertical-align: middle;
  text-align: center;
  padding: 0.5em 0;
  clear: both;
  flex: 0 0 100%;
}

footer a:active, footer a:link, footer a:visited {
  color: #FF319C;
  text-decoration: none;
}

footer a:hover {
  text-decoration: none;
  color: #6699CC;
}

.ngpage {
  background-image: linear-gradient(270deg, transparent 10px, black 20px), repeating-linear-gradient(0deg, #234bae 1px, #3456b9 6px);
}

.ngpagebg {
  background-image: repeating-linear-gradient(0deg, #234bae 1px, #3456b9 6px);
}

.ngtitle {
  height: 90px;
  text-align: center;
  padding-top: 0;
  background-image: repeating-linear-gradient(0deg, #234bae 1px, #3456b9 6px);
  /* background-image: url(images/ultraplex_top.png); */
  border-radius: 20px 20px 0 0;
}

.ngcontent {
  box-shadow: 0 0 10px black;
  width: 90%;
  height: 90%;
  margin: 10px;
  background: black;
}

h3.movietitel {
  /* background: #ffe948; */
  background: #0d1938;
  color: white;
  font-size: 2.0em;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0.5em;
  /* border: 1px solid #607D8B; */
  padding: 0.25em 0.5em;
  position: relative;
  display: flex;
  flex-direction: column;
}

h3.movietitel .programm--neu {
  background-color: #2f52b6;
  text-shadow: 1px 1px 0 #4d0429,1px -1px 0 #4d0429,-1px 1px 0 #4d0429,-1px -1px 0 #4d0429;
  color: #f23199;
  position: absolute;
  display: flex;
  flex-direction: column;
  top: 0;
  height: 100%;
  left: 0;
}

h3.movietitel .programm--neu > span {
  margin: auto;
  padding-left: 0.5em;
  padding-right: 0.5em;
}

.originaltitle {
  color: #f9f9f9;
  font-size: 0.8em;
  font-variant: initial;
}

.omu-movie {
  color: #9E9E9E;
}

.movie {
  position: relative;
}

div.movie div {
  display: flex;
  margin-bottom: 0.25em;
}

div.movie div h4 {
  display: inline-block;
  width: 21ch;
  padding: 0;
  margin: 0;
  font-size: 0.9em;
  font-variant: initial;
}

div.movie div p {
  margin: 0;
  /* display: inline; */
  flex: 2;
  text-align: left;
}

img.movie {
  margin-right: 0.5em;
  float: left;
  width: 225px;
  height: 320px;
  box-shadow: 0 0 22px -10px #777777;
}

div.summary h4 {
  display: block;
  font-size: 1.1em;
  padding: 0.5em;
  color: white;
  background: #0d1938;
  width: calc(100% - 1em);
  text-align: left;
  margin-bottom: 0.5em;
  /* border: 1px solid #607D8B; */
}

div.summary h4.moviesum {
  width: calc(100% - 225px - 1.5em);
  /* float: right; */
  margin-left: calc(225px + 0.5em);
}

div.programm {
  margin-bottom: 5em;
}

.programm-film {
  margin-bottom: 2em;
  border-bottom: 1px solid darkblue;
}

@media screen and (max-width: 768px) {
  body,
  main {
    /* font-size: 1.1em */
  }
  nav {
    font-size: 14px;
  }
  h3.movietitel .programm--neu {
    position: inherit;
    margin-left: -0.5em;
    margin-right: -0.5em;
  }
}

@media screen and (max-width: 660px) {
  body,
  main {
    /* font-size: 1.25em; */
    max-width: 100%;
    margin-right: 0.5em;
  }
  div.film {
    display: flex;
    flex-flow: column;
  }
  img.movie {
    margin: auto auto 0.5em;
  }
  div.movie div {
    display: block;
    margin-bottom: 0.5em;
  }
  div.summary h4.moviesum {
    width: calc(100% - 1em);
    margin-left: 0;
  }
}

@media screen and (max-width: 500px) {
  body {
    font-size: 1.2em;
  }
  #wrapper {
    display: block;
  }
  main {
    margin: auto;
  }
  header {
    height: auto;
    flex-direction: column;
  }
  #flags {
    max-width: 100%;
    order: 2;
    justify-content: space-evenly;
  }
  div.movietitel {
    display: none;
  }
  h3.movietitel {
    font-size: 1.6em;
  }
  .programmtitel {
    font-size: 1em !important;
  }
  nav {
    margin-top: 0;
  }
  nav ul li:not(:first-of-type) {
    display: none;
    padding-left: 1em;
  }
  nav ul .icon {
    float: right;
    display: block;
    text-align: right;
  }
  nav ul .icon a {
    padding-right: 1em;
    float: right;
  }
  nav ul.ultranav.responsive {
    position: relative;
  }
  nav ul.ultranav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
    text-align: right;
  }
  nav ul.ultranav.responsive .icon a {
    padding-right: 1em;
    float: right;
  }
  nav ul.ultranav.responsive li {
    float: none;
    display: block;
    text-align: left;
  }
}

@media screen and (max-width: 400px) {
  img.movie {
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 320px) {
  body,
  main {
    font-size: 1.3em;
  }
}
