.lightbox {
  display: block;
  margin: 0;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(255,255,255,0);
  z-index: 10001;
  cursor: pointer;
  overflow: hidden;
  width: 0;
  height: 0;
  -webkit-transition: background-color 750ms, width 0ms 750ms, height 0ms 750ms, opacity 750ms;
  -moz-transition: background-color 750ms, width 0ms 750ms, height 0ms 750ms, opacity 750ms;
  transition: background-color 750ms, width 0ms 750ms, height 0ms 750ms, opacity 750ms;
  opacity:0
}
.lightbox > a{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
.lightbox:target {
  background-color: rgba(255,255,255,.7);
  width: 100%;
  height: 100%;
  opacity:1;
  -webkit-transition: background-color 750ms, width 0ms 0ms, height 0ms 0ms;
  -moz-transition: background-color 750ms, width 0ms 0ms, height 0ms 0ms;
  transition: background-color 750ms, width 0ms 0ms, height 0ms 0ms;
}
.lightbox .lightbox-inner {
  max-height: 90%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  cursor: default;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: .3em;
  box-shadow: 0 .25em .5em rgba(0,0,0,.25);

  animation-duration: 500ms;
  animation-fill-mode: both;
}
.modal-dialog {
  border-radius: .5em;
  /*height:28%;*/
  min-height: 250px;
  width:310px;
  height:270px;
}

/* Dialogboxen */
.modal-dialog {padding:10px}
.modal-dialog.modal-login {width:350px;padding:25px;}

/* entire container, keeps perspective */

.modal-flippable {
  perspective: 0px;
  transform-style: preserve-3d;
  top:0;left:0;right:0;bottom:0;
  width:100%;height:0;
  margin:auto;
  position: absolute;
  transition: transform 750ms;
}
.modal-flippable .modal-dialog {
}
/* flip the pane when hovered */
.modal-flippable.modal-flip {
  transform: rotateY(180deg);
}

/* hide back of pane during swap */
.modal-front, .modal-back {
  backface-visibility: hidden;
}

/* front pane, placed above back */
.modal-front {
  z-index: 2;
  /* for firefox 31 */
  transform: rotateY(0deg);
}

/* back, initially hidden pane */
.modal-back {
  transform: rotateY(180deg);
}

@keyframes shake {
  from, 100% {
    transform: translate3d(0, 0, 0);
  }

  10%, 30%, 50%, 70%, 90% {
    transform: translate3d(-10px, 0, 0);
  }

  20%, 40%, 60%, 80% {
    transform: translate3d(10px, 0, 0);
  }
}

.lightbox:target .shake {
  animation-name: shake;
}

.lightbox:target .zoomIn {
  animation-name: zoomIn;
}


@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale3d(.3, .3, .3);
  }

  50% {
    opacity: 1;
  }
}

form {
  padding: 0;
  margin: 0;
}

input, .profidbildupload {
  color: #000;
  padding: 0 0 0 4px;
  margin: 0
}

/* Formatierung der Formulare */
form > ul {
  list-style: none outside none;
  margin:0;
  padding:0;
  font-size: 100%;
}

form > ul > li{
  clear: both;
  padding-top: 5px;
  font-size: 100%;
}


.form-control {
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
}
[role=form].small {
  width:50%;
  font-size:100%;
  line-height: 1.1em;
}
.modal-dialog [role=form].small {
  width:100%;
}
.modal-dialog .not-in-modal {
  display: none;
}
[role=form] .form-group {
  margin-bottom:1em;
}
[role=form] .form-group label{
  display: block;
  background-color: inherit;
  color: inherit;
  float: none;
  margin: 0 0 .5em;
  padding: 0;
  text-align: inherit;
  width: 100%;;
  font-size:1.1em;
  font-weight: 600;
}
html.placeholder [role=form] .form-group.input-only-placeholder label{
  display:none
}
[role=form] .form-group .form-control{
  display: block;
  margin: 0;
  width: 100%;
  height: 2.5em;
  padding: .5em 1em;
  font-size: 1.0em;
  line-height: 1.42857143em;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

form[role=form] > ul > li > *{
  margin-left:inherit;
  width:auto;
}

[role=form] .alternate_action {
  color: #979797
}

hr, .hrLineGrey {
  background-color: #AAAAAA;
  font-size: 0;
  height: 1px;
  line-height: 0;
  max-height: 1px;
  width: 100%;
}