html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

/* COLORS */
/* BREAKPOINTS */
@font-face {
  font-family: "Regionalfussball";
  src: url("../icons/icons.eot");
  src: url("../icons/icons.eot?#iefix") format("embedded-opentype"), url("../icons/icons.woff") format("woff"), url("../icons/icons.ttf") format("truetype"), url("../icons/icons.svg#rf") format("svg");
  font-weight: normal;
  font-style: normal;
}
a {
  text-decoration: none;
}

body {
  background-color: #333;
  position: relative;
  text-align: center;
  margin: 0;
  padding: 0;
  font-family: 'Roboto Condensed', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 300;
  -webkit-perspective: 800px;
  -moz-perspective: 800px;
  -o-perspective: 800px;
  perspective: 800px;
}
body:after {
  content: "";
  position: relative;
  display: inline-block;
  vertical-align: middle;
  height: 100vh;
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  opacity: 0.3;
}
.slider .slide {
  position: absolute;
  display: block;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: 0.8s linear;
}
.slider .slide.current {
  opacity: 1;
}

.loginwrap {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  padding: 30px 20px;
  text-align: left;
  width: 340px;
  height: 340px;
  max-width: 90%;
  top: -20px;
  background-color: white;
  box-sizing: border-box;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.6);
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
}
.loginwrap.flipped {
  -webkit-transform: rotatey(-180deg);
  -moz-transform: rotatey(-180deg);
  -ms-transform: rotatey(-180deg);
  transform: rotatey(-180deg);
}
.loginwrap.flipped .face.back {
  opacity: 1 !important;
}
.loginwrap.flipped .face.front {
  opacity: 0 !important;
  visibility: hidden;
}
.loginwrap .face {
  display: block;
  -webkit-transition: opacity 0.01s linear 0.25s, visibility 0.1s linear 0.25s;
  -moz-transition: opacity 0.01s linear 0.25s, visibility 0.1s linear 0.25s;
  transition: opacity 0.01s linear 0.25s, visibility 0.1s linear 0.25s;
}
.loginwrap .back {
  -webkit-transform: rotatey(-180deg);
  -moz-transform: rotatey(-180deg);
  -ms-transform: rotatey(-180deg);
  transform: rotatey(-180deg);
  z-index: 2;
  opacity: 0;
  display: none;
}
.loginwrap .front {
  z-index: 1;
  opacity: 1;
}
.loginwrap img {
  position: relative;
  display: block;
  max-width: 200px;
  margin: -9px auto 10px;
  left: -4px;
}

.fail, .success, .passwordform {
  position: absolute;
  display: block;
  background-color: #11aa00;
  color: white;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  font-size: 0;
  line-height: 0;
}
.fail h2, .success h2, .passwordform h2 {
  font-size: 24px;
  line-height: 30px;
  font-weight: 300;
  margin: 0;
}
.fail .outer, .success .outer, .passwordform .outer {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}
.fail .outer:after, .success .outer:after, .passwordform .outer:after {
  content: "";
  position: relative;
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}
.fail .inner, .success .inner, .passwordform .inner {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  padding: 15px 20px;
}
.fail .inner:before, .success .inner:before, .passwordform .inner:before {
  content: "c";
  font-family: 'Regionalfussball', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 40px;
  line-height: 70px;
  display: block;
  width: 70px;
  height: 70px;
  border: 5px solid white;
  border-radius: 50%;
  margin: 0 auto 18px;
}
.fail p, .success p, .passwordform p {
  font-size: 17px;
  line-height: 23px;
  margin: 13px 0;
  color: rgba(255, 255, 255, 0.75);
}
.fail p .email, .success p .email, .passwordform p .email {
  color: white;
}

.fail {
  background-color: #b01;
}
.fail .inner:before {
  content: "x";
}
.fail button {
  position: relative;
  width: 50%;
  float: left;
  font-size: 14px;
  font-weight: 400;
  padding: 10px;
  background-color: #999;
}
.fail button:first-of-type {
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 700;
}
.fail button + button {
  background-color: #888;
}
.fail button + button:hover {
  background-color: #666 !important;
}
.fail .outer {
  bottom: 44px;
}

.passwordform {
  background-color: white;
  padding: 30px 20px;
  text-align: left;
}
.passwordform p {
  color: #111;
}
.passwordform input + p {
  font-size: 12px;
  line-height: 19px;
  font-weight: 400;
  margin: 2px 1px;
  padding-right: 8px;
}
.passwordform:before, .passwordform:after {
  display: none;
}
.passwordform .retry {
  position: absolute;
  display: block;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  text-align: center;
  text-decoration: none;
}
.passwordform .retry:before {
  content: "x";
  font-family: 'Regionalfussball', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 12px;
  line-height: 20px;
  color: #333;
}

form p {
  margin: 5px 0;
}
form input {
  position: relative;
  display: block;
  background-color: white;
  display: block;
  width: 100%;
  height: 45px;
  border: 0;
  box-sizing: border-box;
  padding: 8px 12px;
  font-size: 17px;
  line-height: 25px;
  font-family: 'Roboto Condensed', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 300;
  background-color: #eee;
  border: 2px solid #eee;
}
form input:focus, form input:active {
  border: 2px solid #ccc;
  box-shadow: none;
  outline: none;
}
form input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #eee inset;
}
form label {
  position: relative;
  display: block;
  font-size: 12px;
  line-height: 18px;
  text-transform: uppercase;
  margin: 11px 1px 2px;
  font-weight: 400;
}
form .checkbox {
  display: none;
}

.submit {
  position: absolute;
  display: block;
  bottom: 0;
  left: 0;
  right: 0;
}

input[type="submit"], button {
  position: relative;
  display: block;
  margin: 0;
  padding: 20px;
  width: 100%;
  border: 0;
  background-color: #00A3E4;
  color: white;
  -webkit-transition: 0.3s ease;
  -o-transition: 0.3s ease;
  -moz-transition: 0.3s ease;
  transition: 0.3s ease;
  font-size: 24px;
  line-height: 24px;
  text-align: center;
  font-family: 'Roboto Condensed', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 300;
  cursor: pointer;
}
input[type="submit"]:focus, input[type="submit"]:active, button:focus, button:active {
  box-shadow: none;
  border: 0;
  outline: none;
}
input[type="submit"]:hover, button:hover {
  background-color: #09b9ff;
}

p.actions {
  position: relative;
  display: block;
}
p.actions a {
  display: inline-block;
  margin: 10px 1px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  color: #888;
  -webkit-transition: 0.3s ease;
  -o-transition: 0.3s ease;
  -moz-transition: 0.3s ease;
  transition: 0.3s ease;
}
p.actions a:hover {
  color: 222;
}
p.actions a + a {
  float: right;
}

.footnote {
  position: absolute;
  display: block;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
}
.footnote p {
  display: inline-block;
  max-width: 780px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 19px;
  font-weight: 400;
}
.footnote a {
  color: white;
  -webkit-transition: 0.3s ease;
  -o-transition: 0.3s ease;
  -moz-transition: 0.3s ease;
  transition: 0.3s ease;
  text-decoration: none;
}
.footnote a:hover {
  color: #32c4ff;
}

div.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(33, 33, 33, 0.8);
  text-align: center;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  font-size: 0;
  line-height: 0;
  -webkit-transition: opacity 0.4s ease 0s, visibility 0s ease 0.4s, transform 0.4s ease, -webkit-transform 0.4s ease, z-index 0s linear 0.5s;
  -o-transition: opacity 0.4s ease 0s, visibility 0s ease 0.4s, transform 0.4s ease, -webkit-transform 0.4s ease, z-index 0s linear 0.5s;
  -moz-transition: opacity 0.4s ease 0s, visibility 0s ease 0.4s, transform 0.4s ease, -webkit-transform 0.4s ease, z-index 0s linear 0.5s;
  transition: opacity 0.4s ease 0s, visibility 0s ease 0.4s, transform 0.4s ease, -webkit-transform 0.4s ease, z-index 0s linear 0.5s;
}
div.lightbox:after {
  content: "";
  position: relative;
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}
div.lightbox .window {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 700px;
  padding: 0;
  background-color: white;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.6);
  text-align: left;
  -moz-transition: transform 0.4s ease-in, opacity 0.3s linear;
  -o-transition: transform 0.4s ease-in, opacity 0.3s linear;
  transition: transform 0.4s ease-in, opacity 0.3s linear;
  -webkit-transition: transform 0.4s ease-in, opacity 0.3s linear;
  opacity: 0;
  max-width: 90%;
  overflow: hidden;
  -webkit-transform: scale(0.8, 0.8);
  -moz-transform: scale(0.8, 0.8);
  -ms-transform: scale(0.8, 0.8);
  -o-transform: scale(0.8, 0.8);
  transform: scale(0.8, 0.8);
}
div.lightbox.open {
  opacity: 1;
  z-index: 99;
  visibility: visible;
  pointer-events: auto;
  -webkit-transition: opacity 0.5s ease 0s, visibility 0s ease 0s, transform 0.4s ease 0s, -webkit-transform 0.4s ease 0s, z-index 0s linear 0s;
  -o-transition: opacity 0.5s ease 0s, visibility 0s ease 0s, transform 0.4s ease 0s, -webkit-transform 0.4s ease 0s, z-index 0s linear 0s;
  -moz-transition: opacity 0.5s ease 0s, visibility 0s ease 0s, transform 0.4s ease 0s, -webkit-transform 0.4s ease 0s, z-index 0s linear 0s;
  transition: opacity 0.5s ease 0s, visibility 0s ease 0s, transform 0.4s ease 0s, -webkit-transform 0.4s ease 0s, z-index 0s linear 0s;
}
div.lightbox.open .window {
  opacity: 1;
  -webkit-transform: scale(1, 1);
  -moz-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  -o-transform: scale(1, 1);
  transform: scale(1, 1);
  -moz-transition: transform 0.4s ease 0.2s, opacity 0.3s ease 0.2s;
  -o-transition: transform 0.4s ease 0.2s, opacity 0.3s ease 0.2s;
  transition: transform 0.4s ease 0.2s, opacity 0.3s ease 0.2s;
  -webkit-transition: transform 0.4s ease 0.2s, opacity 0.3s ease 0.2s;
}
div.lightbox .closer {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  text-align: center;
  -webkit-transition: 0.3s ease;
  -o-transition: 0.3s ease;
  -moz-transition: 0.3s ease;
  transition: 0.3s ease;
  opacity: 1;
  border-radius: 50%;
  color: #333;
}
div.lightbox .closer:before {
  content: "x";
  font-family: 'Regionalfussball', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 20px;
  line-height: 40px;
}
div.lightbox .closer:hover, div.lightbox .closer.clicked {
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}
div.lightbox p {
  float: left;
  width: 48%;
}
@media (min-width: 768px) {
  div.lightbox p:nth-child(odd) {
    margin-right: 4%;
  }
}
div.lightbox form {
  position: relative;
  display: block;
  padding: 15px 30px 95px;
}
div.lightbox form:after {
  content: "";
  position: relative;
  display: block;
  clear: both;
}
div.lightbox h2 {
  font-size: 40px;
  line-height: 45px;
  padding: 25px 2px 5px;
  margin: 0 28px;
  border-bottom: 1px dashed #ccc;
}

a.m span.n:after {
  content: "@";
}
