body.fixed-header #top_link {
  width: 35px;
  height: 35px;
  line-height: 18px;
  bottom: 19px;
}

body.fixed-header #top_link a {
  line-height: 34px;
  color:#b8312e;
}

body.fixed-header #top_link:hover a {
  margin-top: 0;
}

.header.original {
  line-height: 170px;
}

.ce_gallery.hauptsponsor {
  margin: 0 auto;
  max-width: 800px;
}

.ce_gallery.projektsponsoren {
  margin: 0 auto;
  max-width: 700px;
}

.ce_gallery.goenner {
  margin: 0 auto;
  max-width: 900px;
}

.ce_gallery .cols_2 {
  max-width: 700px;
}
.ce_gallery .cols_3 li {
  padding: 10px;
}

.ce_gallery .image_container {
  /* margin: 20px; */
}

.ce_gallery li:hover .content {
  /* display:  */
}

.ce_gallery .content {
  background-color: transparent;
}

.ce_gallery .content .fa {
  display: none;
}

body .font-size-xxs, body .font-size-xxs p {
  font-size: 1.2rem;
  line-height: 1.5;

}

body .font-size-xs, .font-size-xs p {
  font-size: 1.2rem;
  line-height: 1.3;
  max-width: 800px;
}


.ce_leadertext.version1 {
  margin-bottom: 0;
}

#nav-open-btn:before {
  background-color: transparent;
}

#nav-open-btn:before {
  font-size: 33px;
  color: #000;
}

body p {
  /* line-height: 21px; */
  font-size: 1.2rem;
  line-height: 1.5;
}

body .ce_leadertext.version1 p {
  font-size: 1.2rem;
  line-height: 1.4rem;
}

body #about .ce_leadertext.version1 p {
  font-size: 0.92rem;
  line-height: 1.1rem;
}

body #about p a {
  color: #fff;
  text-decoration: underline;
}

body #about p a:hover {
  color: #ff0600;
}


body .pb-m {
    padding-bottom: 50px!important;
}

body .pt-m {
  padding-top: 50px!important;

}

body .header.original .logo {
/* width: 144px;
height: 111px;*/
  width: 377px;
  height: 133px;
  margin-top: 9px;
  /*margin-left: -17px;*/
  margin-left: -13px;
}

/* for low resolution display */

body .header.original .logo a {

    background-image: url(../themedesigner/uploads/logo_web.png);
    background-size: 144px 111px;
    width: 144px;
    height: 111px;
}

body .header.cloned .logo a {
    background-image: url(../themedesigner/uploads/spectaculum_logo_web_v2@2x.png);
    width: 100px;
}

/* for high resolution display */

@media only screen and (min--moz-device-pixel-ratio: 2),

only screen and (-o-min-device-pixel-ratio: 2/1),

only screen and (-webkit-min-device-pixel-ratio: 2),

only screen and (min-device-pixel-ratio: 2) {

  body .header.original .logo a {
  /* background-image: url(../themedesigner/uploads/logo_web_2.png); */
    /* background-size: 144px 111px; */
    background-image: url(../themedesigner/uploads/spectaculum_logo_web_v2@2x.png);
    background-size: cover;
    /* width: 128px;*/
    width: 100%;
    height: 100%;
    margin-top: 8px;
    /* rest of your styles... */
  }

}


body .stickyheader, body .header {
  background-image: url("/files/cto_layout/img/images/Background/bg_bg2.jpg");
  background-position: 0 -670px;
  background-size: cover;
}

body .header.cloned {
  background-color: transparent !important;
}

body .stickyheader .header.cloned .logo {
  display: none;
}

body .stickyheader .header .float_right.floatbox.sibling {
  float: none;
}

body .stickyheader .header .mainmenu li.float_left.floatbox {
  float:none;
}

#fix-wrapper {
  display: block;
  position: relative;
}

.header .mainmenu ul li a, .header .mainmenu ul li ul a.active, .header .ce_search_label i, .header .mod_langswitcher .mod_langswitcher_inside, .header .header_metanavi a, .header .mod_socials a {
  color: #000;
}

.mainmenu ul {
  text-align: center;
}
#linkToContent {
  display: none;
}

.ce_image_text_box_image .image_container {
  text-align: center;
}

.ce_image_text_box_content .ce_headline {
  text-align: center;
}
body .ce_image_text_box.version2 .ce_image_text_box_inside {
  border: none;
}

body {
  color: #313131;
}

.ce_bgimage.parallax .ce_bgimage-image {
    background-repeat: repeat;
}

body.ios .ce_bgimage.parallax .ce_bgimage-image, body.android .ce_bgimage.parallax .ce_bgimage-image {
  background-attachment: fixed;
}
body.ios .ce_bgimage.parallax .ce_bgimage-image {
  background-position: top center !important;
  background-size: 100% 200vh;
}
.mm-panel.mm-hasnavbar .mm-navbar {
  display: none;
}

.mm-listview {
  font-size: 20px;
  line-height: 28px;
}

.mm-panels > .mm-panel.mm-hasnavbar {
  padding-top: 0;
}

body .mt-xl {
  margin-top: 0 !important;
  padding-top: 90px !important;
}

body #cboxLoadedContent, body #cboxContent {
  background-color: transparent;
}

body #about, body #about h2 {
  color: #fff;
}

body h4 {
  font-size: 1.2rem;
  line-height: 1.3;
  color: #b8312e;
}

body #bottom {
  background-color: #000;
}

body #bottom .inside, body #bottom .inside a {
  color: #fff;
}

#bottom .inside .left {
  line-height: 50px;
}

.bg-full-height {
  min-height: calc(100vh - 232px);
}

.slider-mobile {
  display: none;
}

@media only screen and (max-width: 767px) {

  body p {
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .ce_bgimage.parallax .ce_bgimage-image {
    background-attachment: fixed;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 25px;
  }
  .font-size-xs, .font-size-xs p {
    font-size: 1.15rem;
  }

  .ce_leadertext.version1 p {
    font-size: 1.15rem;
  }

  body .font-size-xxs, body .font-size-xxs p {
    font-size: 1.15rem;
    line-height: 1.3;
  }

  body .stickyheader .header.cloned .logo {
    display: block;
    width: 100%;
    height: 90px;
  }
  body .stickyheader .header.cloned .logo a {
    width: 220px;
    margin-left: auto;
    margin-right: auto;
  }

  body .mt-xl {
    margin-top: 0 !important;
    padding-top: 20px !important;
  }

  body .header {
    background-position: 0 -80px;
  }

  body #fix-wrapper {
    border: 1px solid red;
    display: none;
  }

  body #slider {
    margin-top: 90px;
  }

  .stickyheader .header.cloned .inside, .header .inside {
        height: 90px;
    }

  body .ce_bgimage.parallax .ce_bgimage-image {
    /* background: #d6c7a580 !important; */
    /* background-attachment: fixed; */
    /* background-size: contain; */
    /* background-image: url("http://mittelalter.local/files/cto_layout/img/images/Background/bg_mobile.jpg") !important; */
  }

  body .style-rounded .image_container img {
    max-width: 200px;
  }

  body .ce_image_text_box.version2 .ce_image_text_box_content_outside {
    padding: 0 0 20px 0;
  }

  .bg-full-height {
    min-height: calc(100vh - 201.5px);
  }

  .ce_text_extented.align-center-justify {
    text-align: start;
  }

  .stickyheader #nav-open-btn {
    display: none;
  }

  .stickyheader .smartmenu {
    display: block;
    position: absolute;
    top: 10px;
    right: 20px;
  }

  .stickyheader .header .smartmenu .smartmenu-trigger .line {
    background: #000000;
    height: 2px;
  }

  .stickyheader .smartmenu .smartmenu-trigger .line:before, .stickyheader .smartmenu .smartmenu-trigger .line:after {
    background: #000000;
    height: 2px;
  }

  .slider-desktop {
    display: none;
  }

  .slider-mobile {
    display: block;
  }

  .smartmenu-content .smartmenu-close {
    right: 20px;
    top: 24px;
  }

}

.ce_gallery.goenner {
  margin-bottom: 100px;
}

#map {
  width: 100%;
  height: 600px;
}

#bottom .fb-link {
  /*CSS transitions*/
transition-property: none !important;
/*CSS transforms*/
transform: none !important;
/*CSS animations*/
animation: none !important;

    background-position: 0px 0px;
    height: 50px;
    width: 50px;
    overflow: hidden;
    background-image: url(../img/images/Icons/fb.png);
    /* position: absolute; */
    display: inline-block;
    line-height: 0;
    font-size: 0;
    color: transparent;
    background-size: 100px 50px;
    margin-bottom: -20px;
}

#bottom  .inside .fb-link:hover {
    background-position-x: -50px;
    border-bottom: none;
    /*CSS transitions*/
transition-property: none !important;
/*CSS transforms*/
transform: none !important;
/*CSS animations*/
animation: none !important;

}


@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
  #bottom .fb-link {
    background-image: url(../img/images/Icons/fb@2x.png);
    background-size: 100px 50px;
  }
}

@media only screen and (max-width: 499px) {
    .ce_gallery [class*='cols_'] li {
        width: 100%;
    }
}
