*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
    background: url(../images/back.png) no-repeat top center;
    background-attachment: fixed;
    background-size: cover;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    font-size: 15px;
    line-height: 150%;
}
nav a {
    color: #333;
    text-decoration: none;
}
nav {
    color: #bbb;
    float: left;
}
.veranstalter a:link, .veranstalter a:visited {
    text-decoration: none;
    color: #0088ee;
    transition: all 500ms;  
-o-transition: all 500ms;  
-moz-transition: all 500ms;  
-webkit-transition: all 500ms;
}
.veranstalter a:hover {
    color: #006EC0;
    transition: all 500ms;  
-o-transition: all 500ms;  
-moz-transition: all 500ms;  
-webkit-transition: all 500ms;
    
}
.ui-datepicker {
    font-size: 13px !important;
}
.offstatus {
    top: 55px;
    color: #d43169;
    font-size: 40px;
    font-weight: bold;
    height: 0;
    left: 0;
    opacity: 0.7;
    position: relative;
    z-index: 100;
    width: 100%;
    text-align: center;
    -moz-transform: rotate(-20deg);
-ms-transform: rotate(-20deg);
-o-transform: rotate(-20deg);
-webkit-transform: rotate(-20deg);
transform: rotate(-20deg);
}

#wrapper {
    width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    overflow: hidden;
}
#logowrapper {
    padding: 20px;
    overflow: hidden;
    width: 1200px;
    margin: 0 auto;
    text-align: center;
}
input[type='submit'] {
    background: #0088ee none repeat scroll 0 0;
    border: medium none;
    color: #fff;
    margin-left: 10px;
    padding: 5px 10px;
    text-decoration: none;
    cursor: pointer;
    font-size: 15px;
}
input[type='submit']:hover {
    background: #006EC0;
}
#line {
    display: block;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f6f6f6;
    padding: 20px;
    clear: both;
}
#line0 {
    display: block;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f0f0f0;
    padding: 20px;
    clear: both;
    transition-property: background;
    transition-duration: 1s;
}

#line1 {
    display: block;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f6f6f6;
    padding: 20px;
    clear: both;
    transition-property: background;
    transition-duration: 1s;
}
#line0:hover, #line1:hover {
    background: #BDE8F1;  
}


#filterwrapper {
    margin-bottom: 80px;
}
.keywords {
    clear: both;
    display: inline-block;
    float: none;
    margin: 20px 0 0;
    padding: 0 !important;
    width: 100%;
}
.keys {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}
.bild {
    float: left;
    overflow: hidden;
    z-index: 10;
}
#hl {
    background: url(../images/hl.png) no-repeat top left transparent !important;
    height: 150px;
    width: 150px;
    position: absolute;
}
#grid .bild {
    margin-bottom: 20px;
    float: none;
    width: 100%;
    height: 200px;
}
.bild img {
    width: 300px;
}
.titel {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}
#zeigev > img {
    margin-left: 5px;
    position: relative;
    top: 3px;
}
.button.small {
    border-radius: 0;
    float: right;
    font-size: 13px;
    padding: 2px 5px;
    position: relative;
    top: 22px;
}
#darstellung {
    float: right;
}
.status {
    color: red;
    font-size: 20px;
    margin-left: 100px;
    margin-top: 20px;
}
.swrapper {
    margin-left: 20px;
    display: block;
    float: left;
    width: 480px;
}
.iwrapper {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #ddd;
    display: block;
    float: right;
    margin-left: 20px;
    overflow: hidden;
    padding: 20px;
    width: 300px;
}
.button {
    background: #0088EE;
    color: #fff;
    padding: 5px 10px;
    cursor: pointer;
    text-decoration: none;
    transition-property: background;
    transition-duration: 1s;
}
.button:hover {
    background: #006EC0;
}
#edit, #delete, #adminwrapper, #aktiv {
    float: right;
    position: relative;
}
#new {
    text-align: right;
    margin: 0 20px 20px 0;
}
.label {
    width: 100px;
    display: inline-block;
}
input[type='text'] {
    width: 250px;
    line-height: 20px;
    margin-bottom: 10px;
}
.ui-datepicker-trigger {
    line-height: 20px;
    margin: 0 0 0 5px;
    vertical-align: middle;
}
input[type='submit'] {

}
.loader {
    display: block;
margin: 200px auto;
    height: 100%;
    vertical-align: middle;
    width: 65px;
}
#user {
    float: left;
    margin: 0 0 20px 20px;
}
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 15px;
    color: #fff;
    background: #003F6E;
    line-height: 15px;
    padding: 10px;
}
.filterort, .filterkategorie, .filterveranstalter, .filterdatum, .filterkeyword {
    float: left;
    margin-right: 30px;
}
.filterdatum input {
    line-height: 10px;
    width: 120px;
}
.filterkeyword input {
    line-height: 10px;
}
.suchebutton {
    position: relative;
    top: 22px;
}
.cancelbutton {
    left: 55px;
    position: relative;
    top: -2px;
}
.bildbutton {
    float: left;
    margin-left: 5px;
    position: relative;
    top: 25px;
}
.centerbutton, .center {
    margin: 20px 0 0;
    text-align: center;
    width: 100%;
}
input[type='submit'] {
    background: #0088ee none repeat scroll 0 0;
    border: medium none;
    color: #fff;
    margin-left: 10px;
    padding: 5px 10px;
    text-decoration: none;
}
.cd-top {
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: rgba(232, 98, 86, 0.8) url(../admin/images/cd-top-arrow.svg) no-repeat center 50%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}
.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;
}
.no-touch .cd-top:hover {
  background-color: #e86256;
  opacity: 1;
}
#v {
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
    font-size: 13px;
    margin: 10px 0;
    padding: 5px 0;
    display: none;
}
#v h3 {
    margin: 5px 0;
    padding: 0;
}
#zeigev {
    color: #0088ee;
    cursor: pointer;
    display: inline;
}
#gridcontainer {
    display: grid;
    display: -ms-grid;
}
#grid {
    float: left;
    padding: 20px;
    width: 373px;
    background: #eee;
    overflow: hidden;
    transition-property: background;
    transition-duration: 1s;
}
#grid:hover {
    background: #BDE8F1;
    
}
#grid img {
    width: 100%;
}
.gridpos0 {
    margin: 0 20px 20px 0;
    clear: left;
}
.gridpos1 {
    margin: 0 0 20px 0;
}
.gridpos2 {
    margin: 0 0 20px 20px;
}
/**************************** lightbox ************************************************/
/* Preload images */
body:after {
  content: url(../js/images/close.png) url(../js/images/loading.gif) url(../js/images/prev.png) url(../js/images/next.png);
  display: none;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: black;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  opacity: 0.8;
  display: none;
}

.lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
}

.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  position: relative;
  background-color: white;
  *zoom: 1;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
}

.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-container {
  padding: 4px;
}

.lb-loader {
  position: absolute;
  top: 43%;
  left: 0;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}

.lb-cancel {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  background: url(../js/images/loading.gif) no-repeat;
}

.lb-nav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}

.lb-container > .nav {
  left: 0;
}

.lb-nav a {
  outline: none;
  background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}

.lb-prev, .lb-next {
  height: 100%;
  cursor: pointer;
  display: block;
}

.lb-nav a.lb-prev {
  width: 34%;
  left: 0;
  float: left;
  background: url(../js/images/prev.png) left 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

.lb-nav a.lb-prev:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-nav a.lb-next {
  width: 64%;
  right: 0;
  float: right;
  background: url(../js/images/next.png) right 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

.lb-nav a.lb-next:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-dataContainer {
  margin: 0 auto;
  padding-top: 5px;
  *zoom: 1;
  width: 100%;
  -moz-border-radius-bottomleft: 4px;
  -webkit-border-bottom-left-radius: 4px;
  border-bottom-left-radius: 4px;
  -moz-border-radius-bottomright: 4px;
  -webkit-border-bottom-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-data {
  padding: 0 4px;
  color: #ccc;
}

.lb-data .lb-details {
  width: 85%;
  float: left;
  text-align: left;
  line-height: 1.1em;
}

.lb-data .lb-caption {
  font-size: 13px;
  font-weight: bold;
  line-height: 1em;
}

.lb-data .lb-number {
  display: block;
  clear: left;
  padding-bottom: 1em;
  font-size: 12px;
  color: #999999;
}

.lb-data .lb-close {
  display: block;
  float: right;
  width: 30px;
  height: 30px;
  background: url(../js/images/close.png) top right no-repeat;
  text-align: right;
  outline: none;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.7;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.lb-data .lb-close:hover {
  cursor: pointer;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

/***************** Ende Lightbox ********************************/

#drop-area {
    background: #fff;
    width: 300px;
    height: 300px;
}
.drop-text {
    background: #666 none repeat scroll 0 0;
    border-radius: 82px;
    color: #fff;
    height: 60px;
    margin: 90px;
    opacity: 0.5;
    padding: 30px;
    position: absolute;
    text-align: center;
    top: 124px;
    vertical-align: middle;
    width: 60px;
    
    
}

/************************ Media **********************************/
@media (max-width: 1215px){
#wrapper, #logowrapper {
    width: 1100px;
}
.swrapper {
    width: 400px;
}
#grid {
    width: 340px;
}
}
@media (max-width: 1100px){
#wrapper, #logowrapper {
    width: 800px;
}
.swrapper {
    margin: 20px 0 0 0;
    width: 420px;
}
.iwrapper {
    margin: 20px 0 0 0;
}
.bild {
    float: none;
}
.bild img {
    width: 100%;
}
#grid {
    width: 100%;
}
#grid .bild {
    float: none;
    width: 100%;
    height: auto;
}
.gridpos0, .gridpos1, .gridpos2 {
    margin: 0 0 20px 0 !important;
}
}
@media (max-width: 799px){
#wrapper, #logowrapper {
    width: 640px;
}
.swrapper {
    float: none;
    width: 100%;
    margin-top: 20px;
}
.iwrapper {
    background: transparent none repeat scroll 0 0;
    border: 0 none;
    float: none;
    margin: 20px 0 0 0;
    padding: 0;
    width: 100%;
}
#logo img {
    width: 100%;
}
}
@media (max-width: 639px){
#wrapper, #logowrapper {
    width: 100%;
}
#logo img {
    width: 100%;
}
}
