
@font-face {
    font-family: 'Cand';
    src: url('../../fileadmin/tmpl/css/fonts/CANDARA.eot');
    src: url('../../fileadmin/tmpl/css/fonts/CANDARA.eot?#iefix') format('embedded-opentype'),
         url('../../fileadmin/tmpl/css/fonts/CANDARA.woff') format('woff'),
         url('../../fileadmin/tmpl/css/fonts/CANDARA.ttf') format('truetype'),
         url('../../fileadmin/tmpl/css/fonts/CANDARA.svg#CANDARA') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cand_B';
    src: url('../../fileadmin/tmpl/css/fonts/CANDARAB.eot');
    src: url('../../fileadmin/tmpl/css/fonts/CANDARAB.eot?#iefix') format('embedded-opentype'),
         url('../../fileadmin/tmpl/css/fonts/CANDARAB.woff') format('woff'),
         url('../../fileadmin/tmpl/css/fonts/CANDARAB.ttf') format('truetype'),
         url('../../fileadmin/tmpl/css/fonts/CANDARAB.svg#CANDARAB') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Make HTML 5 elements display block-level for consistent styling */
article, aside, canvas, details, embed, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
	display: block;
}
command, datalist, keygen, mark, meter, progress, rp, rt, ruby, time, wbr {
	display: inline;
}
*, *:before, *:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
  line-height: 1.2;
}
body, body.htmlarea-content-body {
  background: #F5F5F5;
  font-family: 'Cand', Arial, sans-serif;
  color: #000;
  text-align: center;
}
body.htmlarea-content-body {
  font-size: 1.4rem;
  line-height: 1.5;
  text-align: left;
}

/* flexible Medien*/
#buehne img, #content img, embed, object, video {
 max-width: 100%;
 height: auto;
 width: auto;
}
img {
  display: block;
}

/* ----------------------- Container ---------------------- */

#noscript{
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  background: #d3d800;
  color: #fff;
  font-size: 16px;
  padding: 10px;
  width: 100%;
}

#page {
  opacity: 0;
  padding-bottom: 30px;
  background: url('../../fileadmin/tmpl/css/gfx/bg_page.png') center bottom repeat-x;
  margin-bottom: 100px;
}

#wrapper, .wrap {
  position: relative;
  z-index: 1;
  max-width: 1310px;
  min-width: 320px;
  padding: 0 15px;
  margin: 0 auto;
  text-align: left;
}

header {
  position: relative;
}

nav {
  border-top: 18px solid #d3d800;
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 25px;
  background: #FFF;
  background: rgba(255,255,255,0.75);
  border-bottom: 1px solid #39b253;
}

a#home_link {
  position: absolute;
  z-index: 1;
  top: -120px;
  right: 15px;
}

#fb {
  position: absolute;
  z-index: 3;
  right: 15px;
  top: -46px;
}

#buehne {
  min-height: 90px;
  max-width: 880px;
  position: relative;
  padding-top: 15px;
  margin-bottom: 15px;
}
#buehne .schatten {
  position: absolute;
  z-index: -1;
  bottom: -4%;
  left: -1%;
  width: 100%;
  height: 78%;
  background: url('../../fileadmin/tmpl/css/gfx/buehne_shadow.png') bottom left no-repeat;
  background-size: contain;
}
.home #buehne .schatten {
  height: 89%;
  bottom: -3.5%;
  left: -1.5%;
}

#info {
  position: absolute;
  z-index: 2;
  bottom: -15px;
  right: 15px;
  width: 380px;
  margin-bottom: 15px;
}
#info * {
  overflow: visible;
}

#info > div {
  margin-top: 18px;
}
#info div.csc-textpic .csc-textpic-imagewrap .csc-textpic-image {
  margin-bottom: 0;
}

#info #c8 {
  background: #82ba25;
  padding: 8px 12px;
  color: #FFF;
  font-size: 1.25rem;
  line-height: 1.4;
}
#info #c8 .csc-textpic-text p { padding: 0 90px 0 0; }
#info #c8 .csc-textpic-text a { color: #FFF; }
#info #c8 .csc-textpic-imagewrap {
  position: absolute;
  right: -10px;
  bottom: 0;
}
@media (min-width: 1340px) {
 #info #c8 { letter-spacing: 0.03em; }
 #info #c8 .csc-textpic-text p { padding-right: 70px; }
 #info #c8 .csc-textpic-imagewrap { right: -30px; }
}

#content {
  position: relative;
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 15px;
}
#buttons {
  float: left;
  width: 175px;
  min-height: 1px;
  margin-right: 18px;
  margin-bottom: 15px;
}
#buttons * { overflow: visible; }
#buttons .csc-textpic-image { margin-bottom: 15px; }
#buttons > div:last-child .csc-textpic-image { margin-bottom: 0; }
#buttons img { width: 100%; }

#main {
  float: left;
  width: 73.4375%;
  background: #FFF;
  margin-bottom: 15px;
}
#main .inner {
  padding: 18px;
  width: 64%;
  max-width: 660px;
}
#right {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 29%;
  margin-bottom: 15px;
}
#right > div {
  background: #f8faf4;
  padding: 10px 15px 5px;
  margin-bottom: 15px;
}

footer {
  font-size: 1.3rem;
  text-align: center !important;
}


#bgimg {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
}

/* ----------------------- Navigation ---------------------- */

nav li {
  position: relative;
  float: left;
  display: inline;
  margin-left: -2px;
}
nav > div > ul > li:first-child {
  margin-left: 0;
}

/* border helper from jquery */
nav li > .border {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 0;
  height: 80%;
  border-right: 2px solid #d3d800;
}

nav li > a {
  position: relative;
  z-index: 2;
  float: left;
  display: block;
  min-width: 130px;
  padding: 15px 5px;
  font-family: 'Cand_B', Arial, sans-serif;
  font-size: 1.6rem;
  color: #01661f;
  text-align: center;
}
nav li:hover > a,
nav li.active > a {
  text-decoration: none;
  background: rgba(130,186,37,0.8);
  color: #FFF;
}


/* 2.Ebene */
nav li > ul {
  position: absolute;
  top: 48px;
  left: 0px;
  min-width: 130px;
  padding: 10px 0;
  background: #d3d800;
  background: rgba(130,186,37,0.8);
  display: none;
}
nav li:hover > ul {
  display: block;
}
nav li li {
  float: none;
  display: block;
  margin-left: 0;
}
nav li li > a {
  float: none;
  min-width: 0px;
  padding: 5px 15px;
  font-family: 'Cand', Arial, sans-serif;
  font-size: 1.4rem;
  color: #FFF;
  text-align: left;
  text-shadow: 1px 1px 3px #808080;
}
nav li li:hover > a,
nav li li.active > a {
  background: rgba(255,255,255,0.3);
}


#nav_button {
  display: none;
  width: 180px;
  padding: 10px 15px;
  background: #FFF;
  background: rgba(255,255,255,0.5);
  font-family: 'Cand_B', Arial, sans-serif;
  font-size: 1.4rem;
  color: #01661f;
  cursor: pointer;
}
#nav_button.open {
  background: #fff;
  border-bottom: 1px solid #d3d800;
}

#nav_button:after {
  content: ' \25B6';
  font-size: 1.2rem;
  float: right;
  position: relative;
  top: 3px;
}
#nav_button.open:after {
  content: ' \25BC';
}

/* ----------------------- Startseite  ---------------------- */
/* Buttons */
.home #buttons {
  float: none;
  width: 100%;
  margin: 1.5% 0 0;
}
.home #buttons > div {
  clear: none;
  float: left;
  width: 23.4375%;
  margin-right: 2.08333%
}
.home #buttons > div:last-child {
  margin-right: 0;
}

/* Kaese / Erdbeeren */
#kaese1 {
  position: absolute;
  z-index: -1;
  top: 0;
  left: -295px;
  display: none;
}
@media (min-width: 1280px) {
  #kaese1 { display: block; }
}
#kaese2 {
  position: absolute;
  z-index: 2;
  bottom: -30%;
  left: 1.95%;
  display: block;
  width: 16.4% !important;
  height: auto;
}
@media (min-width: 1280px) {
  #kaese2 { display: block; }
}

#erdbeeren {
  position: absolute;
  z-index: 2;
  bottom: -25%;
  right: 0%;
  width: 16.7968% !important;
  height: auto;
}
@media (min-width: 1360px) {
  #erdbeeren { right: -20px; }
}
@media (min-width: 1440px) {
  #erdbeeren { right: -60px; }
}
@media (min-width: 1600px) {
  #erdbeeren { right: -115px; }
}
/* ----------------------- Boxen ---------------------- */

.csc-frame, .csc-default {
  position: relative;
}

/* class added via jQuery */
.border {
  -webkit-border-radius: 10px;
     -moz-border-radius: 10px;
          border-radius: 10px;
}
.shadow,
#main a:hover img.border {
  -webkit-box-shadow: 2px 2px 4px 0px rgba(85,85,85,0.75);
     -moz-box-shadow: 2px 2px 4px 0px rgba(85,85,85,0.75);
          box-shadow: 2px 2px 4px 0px rgba(85,85,85,0.75);
}

#main div.csc-textpic .csc-textpic-imagewrap .csc-textpic-image {
  margin-bottom: 10px !important;
}

#main div.csc-textpic {
  overflow: visible;
}

#main div.csc-textpic-left.csc-textpic-above .csc-textpic-imagewrap { float: none; }
#main div.csc-textpic-left.csc-textpic-above .csc-textpic-imagewrap figure { display: block; }
#main div.csc-textpic-left.csc-textpic-above .csc-textpic-imagewrap figure .csc-textpic-caption { display: block; }

/* Bilder rechts */
#right .csc-frame-invisible {
  padding: 0;
  background: none;
  border-radius: none;
  box-shadow: none;
  margin-bottom: 15px;
}
#right .csc-frame-invisible div.csc-textpic {
  overflow: visible;
}
#right .csc-frame-invisible div.csc-textpic-left .csc-textpic-imagewrap {
  float: none;
}
#right .csc-frame-invisible figure {
  margin-bottom: 0;
  display: block;
}

.csc-frame-rulerAfter,
.csc-frame-indent,
.csc-frame-indent3366,
.csc-frame-indent6633,
.csc-frame-frame1,
.csc-frame-frame2 {
  float: left;
  display: inline;
  margin-right: 3.5%;
  margin-bottom: 30px;
  text-align: justify;
}
/* 1/3 */
.csc-frame-rulerAfter { width: 31%; }
.csc-frame-indent { width: 31%; margin-right: 0; }
/* 2/3 */
.csc-frame-indent3366 { width: 62%; clear: left; }
.csc-frame-indent6633 { width: 65.5%; margin-right: 0; }
/* 1/2 */
.csc-frame-frame1 { width: 48.25%; clear: left; }
.csc-frame-frame2 { width: 48.25%; margin-right: 0; }


.csc-default {clear: both;}


/* ----------------------- Klappinhalte ---------------------- */

.csc-layout-1 {

}
.csc-layout-1 .header {
  background: #eee;
  border-radius: 8px;
  padding: 5px 10px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
}
.csc-layout-1 .header:hover,
.csc-layout-1.open .header {
  background: #82BA25;
  color: #FFF;
}
.csc-layout-1 .header:after {
  content: '  \2192';
  float: right;
  position: relative;
  top: -1px;
}
.csc-layout-1.open .header:after {
  content: '  \2193';
  top: -3px;
}

.csc-layout-1 .content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.csc-layout-1.open .content {
  max-height: 2000px;
  overflow: visible;
  transition: max-height 0.5s ease;
}


/* ----------------------- verschiedenes ---------------------- */

div.csc-textpic .csc-textpic-imagewrap .csc-textpic-image {
  margin-bottom: 15px;
}

.align-left {
  text-align: left;
}
.align-center {
  text-align: center;
}
.align-right {
  text-align: right;
}
.align-justify {
  text-align: justify;
}
#content ul, .htmlarea-content-body ul, .contenttable,
form {
  margin: 0 0 15px;
}
p {
  padding: 0 0 15px;
}

h1, h2, h3, h4, h5, h6 {
  padding: 10px 0 0;
  font-weight: normal;
  line-height: 1.2em;
  color: #01661f;
}
h1 {
  font-family: 'Cand_B', Arial, sans-serif;
  font-size: 2.2rem;
  padding: 0 0 15px;
}
h2 {
  font-family: 'Cand_B', Arial, sans-serif;
  font-size: 1.6rem;
  padding: 0 0 10px;
}

h3 {
  font-family: 'Cand_B', Arial, sans-serif;
  font-size: 1.25rem;
  padding: 5px 0 5px;
}

a {
  color: #01661f;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:active, a:focus {outline: none;}
a img { border: 0; }
/*
a[href$='.pdf'], a[href$='.PDF'] {
  background: url('../../fileadmin/tmpl/css/gfx/pdf.gif') 0 0 no-repeat;
  padding-left: 25px;
}
*/
a[href$='.doc'], a[href$='.DOC'], a[href$='.docx'], a[href$='.DOCX'] {
  background: url('../../fileadmin/tmpl/css/gfx/word.gif') 0 0 no-repeat;
  padding-left: 25px;
}
a[href$='.xls'], a[href$='.XLS'], a[href$='.xlsx'], a[href$='.XLSX'] {
  background: url('../../fileadmin/tmpl/css/gfx/excel.gif') 0 0 no-repeat;
  padding-left: 25px;
}

*:focus {
  outline: 0;
}

ul, li {
  list-style: none;
}
#content li, .htmlarea-content-body li {
  /*background: url('../../fileadmin/tmpl/css/gfx/li.gif') 0 4px no-repeat;
  padding-left: 15px;*/
  list-style-type: disc;
  list-style-position: inside;
}
#content li.csc-textpic-image {
  background: none;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0 0;
  font-size: 1em;
}
table p {
  padding-bottom: 0;
}
.contenttable th, .htmlarea-content-body th,
.contenttable td, .htmlarea-content-body td {
  background: #FCFCFC;
  padding: 5px 10px;
  vertical-align: top;
  border: 2px solid #FFF;
}
.contenttable th, .htmlarea-content-body th {
  background: #EEE;
}
.contenttable tr:nth-child(even) td {
  background: #F5F5F5;
}

fieldset {
  border: 0;
}
select,
textarea,
input {
  background: #FAFAFA;
  border: 1px solid #CCC;
  padding: 5px 8px;
  width: 70%;
  max-width: 360px;
  font-family: 'Cand', Arial, sans-serif;
  font-size: 1.4rem;
}
form textarea:focus,
form input[type="text"]:focus,
form select:focus {
  background: #FFF;
  border: 1px solid #82ba25;
}
.csc-mailform-field label {
  display: block;
  clear: left;
  float: left;
  width: 20%;
  padding: 4px 3% 0 0;
  text-align: right;
}
.csc-mailform-field input,
.csc-mailform-field textarea,
.csc-mailform-field select {
  margin-bottom: 2%;
}

/* Radioboxen */
.csc-mailform-field input.csc-mailform-radio {
  background: none;
  border: 0;
  margin: 6px 3px 0 0;
  width: 20px;
  float: left;
}
span.csc-mailform-radio label {
  clear: none;
  display: inline;
  width: auto;
  text-align: left;
}
/* Checkboxen */
input[type="checkbox"] {
  width: 30px;
}
.csc-mailform div.csc-mailform-checkbox {
  min-height: 25px;
}
.csc-mailform-checkbox input.csc-mailform-check  {
  float: left;
  margin: 4px 5px 2% 20% !important;
  background: none;
  border: 0;
  width: 16px;
  height: 16px;
  padding: 0;
}
.csc-mailform-checkbox label {
  clear: none;
  float: left;
  display: inline;
  position: relative;
  top: 1px;
  padding: 0;
  text-align: left;
  width: 55%;
}
.csc-mailform div.csc-mailform-checkbox:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.csc-mailform-submit,
input[type="submit"] {
  background: #82ba25;
  border-color: #82ba25;
  width: 40%;
  padding: 8px;
  margin: 10px 0 0 20%;
  text-transform: uppercase;
  cursor: pointer;
  color: #FFF;
}
.csc-mailform-submit:hover,
input[type="submit"]:hover {
  background: #037c35;
  border-color: #037c35;
  box-shadow: 0 0 5px #333;
}


#right input,
#right select,
#right textarea{
  width: 60%;
}
#right label {
  width: 37%;
}
#right .csc-mailform-submit,
#right input[type="submit"] {
  margin-left: 37%;
  width: 60%;
}

.csc-uploads > div {
  margin-bottom: 10px;
}

.left {
  float: left;
}
.right {
  float: right;
}
.clear {
  clear: both;
}


#map {
  width: 100%;
  height: 200px;
  margin: 5px 0 10px;
}
#saddr {
  float: left;
  width: 48%;
  margin-right: 4%;
}
#addr_submit {
  width: 48%;
  margin: 0;
  padding: 4px;
  margin-bottom: 10px;
  text-transform: none;
}


/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	background: #FFF;
	color: #000;
	text-shadow: none;
	-webkit-border-radius: 10px;
	   -moz-border-radius: 10px;
	        border-radius: 10px;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {
	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	   -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-outer, .fancybox-inner {
	position: relative;
}

.fancybox-inner {
	overflow: hidden;
	text-shadow: none;
	-webkit-border-radius: 10px;
	   -moz-border-radius: 10px;
	        border-radius: 10px;
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}

.fancybox-error {
	color: #444;
	font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	margin: 0;
	padding: 15px;
	white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
	text-shadow: none;
	-webkit-border-radius: 8px;
	   -moz-border-radius: 8px;
	        border-radius: 8px;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
	background-image: url('../../fileadmin/tmpl/css/gfx/fancybox_sprite.png');
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: url('../../fileadmin/tmpl/css/gfx/fancybox_loading.gif') center center no-repeat;
}

.fancybox-close {
	position: absolute;
	top: -18px;
	right: -18px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 8040;
}

.fancybox-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('../../fileadmin/tmpl/css/gfx/blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
	left: 0;
}

.fancybox-next {
	right: 0;
}

.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 36px;
	height: 34px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
	visibility: hidden;
}

.fancybox-prev span {
	left: 10px;
	background-position: 0 -36px;
}

.fancybox-next span {
	right: 10px;
	background-position: 0 -72px;
}

.fancybox-nav:hover span {
	visibility: visible;
}

.fancybox-tmp {
	position: absolute;
	top: -99999px;
	left: -99999px;
	visibility: hidden;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
    overflow: hidden !important;
    width: auto;
}

.fancybox-lock body {
    overflow: hidden !important;
}

.fancybox-lock-test {
    overflow-y: hidden !important;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	background: url('../../fileadmin/tmpl/css/gfx/fancybox_overlay.png');
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
	font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	position: relative;
	text-shadow: none;
	z-index: 8050;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 50%;
	margin-bottom: -35px;
	z-index: 8050;
	text-align: center;
}

.fancybox-title-float-wrap .child {
	display: inline-block;
	margin-right: -100%;
	padding: 2px 20px;
	background: #82BA25;
	-webkit-border-radius: 10px;
	   -moz-border-radius: 10px;
	        border-radius: 10px;
	text-shadow: 0 1px 2px #222;
	color: #FFF;
	font-weight: bold;
	line-height: 24px;
	white-space: nowrap;
}

.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancybox-title-inside-wrap {
	padding-top: 10px;
}

.fancybox-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #000;
	background: rgba(0, 0, 0, .8);
}

/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	   only screen and (min--moz-device-pixel-ratio: 1.5),
	   only screen and (min-device-pixel-ratio: 1.5){

	#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
		background-image: url('../../fileadmin/tmpl/css/gfx/fancybox_sprite@2x.png');
		background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
	}

	#fancybox-loading div {
		background-image: url('../../fileadmin/tmpl/css/gfx/fancybox_loading@2x.gif');
		background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
	}
}



/*
 * jQuery FlexSlider v2.2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */


/* Browser Resets
*********************************/
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;}

/* Icon Fonts
*********************************/
/* Font-face Icons */
@font-face {
	font-family: 'flexslider-icon';
	src:url('../../fileadmin/tmpl/css/fonts/flexslider-icon.eot');
	src:url('../../fileadmin/tmpl/css/fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'),
		url('../../fileadmin/tmpl/css/fonts/flexslider-icon.woff') format('woff'),
		url('../../fileadmin/tmpl/css/fonts/flexslider-icon.ttf') format('truetype'),
		url('../../fileadmin/tmpl/css/fonts/flexslider-icon.svg#flexslider-icon') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* FlexSlider Necessary Styles
*********************************/
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "\0020"; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
html[xmlns] .slides {display: block;}
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}

/* FlexSlider Default Theme
*********************************/
.flexslider { position: relative; z-index: 1; zoom: 1; }
.flex-viewport { max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; }
.loading .flex-viewport { max-height: 300px; }
.flexslider .slides { zoom: 1; }
.carousel li { margin-right: 5px; }

/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a  { display: block; width: 40px; height: 40px; position: absolute; bottom: 10px; z-index: 10; background: url('../../fileadmin/tmpl/css/gfx/flexslider_arrows.png') 0 0 no-repeat; overflow: hidden; opacity: 0.8; cursor: pointer; text-indent: 10000px; overflow: hidden; white-space: nowrap; }
.flex-direction-nav .flex-prev { left: 15px; }
.flex-direction-nav .flex-next { left: 55px; background-position: -40px 0; }
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover { opacity: 1; }
.flex-direction-nav .flex-disabled { opacity: 0!important; filter:alpha(opacity=0); cursor: default; }

/* Pause/Play */
.flex-pauseplay a { display: block; width: 20px; height: 20px; position: absolute; bottom: 5px; left: 10px; opacity: 0.8; z-index: 10; overflow: hidden; cursor: pointer; color: #000; }
.flex-pauseplay a:before  { font-family: "flexslider-icon"; font-size: 20px; display: inline-block; content: '\f004'; }
.flex-pauseplay a:hover  { opacity: 1; }
.flex-pauseplay a.flex-play:before { content: '\f003'; }

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; z-index: 10; bottom: 5px; right: 10px; text-align: right;}
.flex-control-nav li {margin: 0 3px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 30px; height: 30px; display: block; background: url('../../fileadmin/tmpl/css/gfx/flexslider_nav.png') 0 0 no-repeat; cursor: pointer; text-indent: 10000px; overflow: hidden; white-space: nowrap; }
.flex-control-paging li a:hover,
.flex-control-paging li a.flex-active { background-position: -30px 0; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev { opacity: 1; left: 10px;}
  .flex-direction-nav .flex-next { opacity: 1; right: 10px;}
}





/* kleine Bildschirme */
@media (max-width: 1160px) {
  nav li > a,
  nav li > ul {
    min-width: 120px;
  }
  .home a#home_link { top: -96px; }
  .home a#home_link img { width: 450px; }
  .flex-control-nav { display: none; }
}
@media (max-width: 1080px) {
  nav li > a {
    font-size: 1.4rem;
    min-width: 0;
    padding: 10px 15px;
  }
  nav li > ul { top: 37px; padding: 5px 0 0; }
  a#home_link, .home a#home_link { top: -75px; }
  a#home_link img, .home a#home_link img { width: 350px; }

}
@media (max-width: 1024px) {
  .home #buehne { max-width: 80%; }
  .home #info > div:last-child { display: none; }
}

@media (max-width: 860px) {
  #buttons {
    width: 24%;
    margin-right: 2%;
  }
  #main {
    width: 74%;
  }

  #main .inner {
    width: 100%;
    max-width: 100%;
  }
  #right {
    position: relative;
    top: 0;
    right: auto;
    left: 0;
    width: 100%;
    clear: both;
  }

}

@media (max-width: 760px) {
/* mobile */
  a#home_link, .home a#home_link { top: -134px; right: 60px; }
  #fb { top: -20px; }
  .home #buehne { max-width: 100%; }

  nav { border-top-width: 10px;  padding: 20px 0 0; }

  #nav_button {
    display: block;
  }
  nav li > .border,
  nav > div > ul {
    display: none;
  }
  nav > div > ul {
    width: 180px;
  }

  nav li {
    float: none;
    display: block;
    margin-left: 0;
  }
  nav li > a {
    float: none;
    text-align: left;
    background: #FFF;
    color: #01661f;
    padding: 5px 15px;
    font-size: 1.3rem;
    border-top: 1px solid #d3d800;
  }
  nav li > ul {
    display: block;
    position: relative;
    top: 0;
    padding: 0;
  }
  nav li li > a,
  nav li.active li > a {
    padding-left: 20px;
    color: #01661f !important;
    font-size: 1.3rem;
    text-shadow: none;
    border-top: none;
  }
  nav li li > a:before {
    content: '- ';
  }
  #buehne {
    padding-top: 10px;
  }
  #info img {
    width: 85px;
    height: auto;
  }
}


@media (max-width: 655px) {
  #buttons, #main {
    clear: left;
    float: none;
    width: 100%;
    margin-right: 0;
  }

 #buttons > div,
 .home #buttons > div {
   clear: none;
   float: left;
   width: 48%;
   margin-right: 4%;
 }
 #buttons > div:nth-child(2n),
 .home #buttons > div:nth-child(2n) {
   margin-right: 0;
 }
 #buttons > div:nth-child(2n+1),
 .home #buttons > div:nth-child(2n+1) {
   clear: left;
 }
 .home #kaese2 {
   left: -8%;
   bottom: 48%;
   width: 25% !important;
 }
 .home #erdbeeren {
   right: 5%;
   bottom: -1%;
   width: 25% !important;
 }
}

@media (max-width: 600px) {
  a#home_link, .home a#home_link { top: -101px; }
  a#home_link img, .home a#home_link img { width: 250px; }

  #info {
    position: relative;
    width: 100%;
    right: auto;
    bottom: auto;
  }
  #info #c8 .csc-textpic-imagewrap {
    right: -10px;
  }
  #info #c8 .csc-textpic-text p {
    padding-right: 35px;
    line-height: 1.2;
  }

}

@media (max-width: 480px) {
  html {
    font-size: 9px;
  }
  nav {
    padding: 10px 0;
  }
  a#home_link, .home a#home_link {
    right: auto;
    left: 58%;
    margin-left: -125px;
    top: -91px;
  }
  #fb {
    top: 67px;
  }

  #nav_button, #nav_button.open {
    background: url('../../fileadmin/tmpl/css/gfx/nav_button.png') 0 0 no-repeat;
    text-indent: 100000px;
    overflow: hidden;
    white-space: nowrap;
    width: 40px;
    height: 41px;
    border-bottom: 0;
  }
  #nav_button:after {
    display: none;
  }

  #buehne {
    padding-top: 87px;
  }
  #buehne .schatten {
    display: none;
  }
  #info img {
    width: 56px;
  }

  #main .csc-frame-rulerAfter,
  #main .csc-frame-indent,
  #main .csc-frame-indent3366,
  #main .csc-frame-indent6633,
  #main .csc-frame-frame1,
  #main .csc-frame-frame2 {
    float: none;
    display: block;
    margin: 0;
    width: 100%;
   }
  .csc-mailform-field label {
    float: none;
    width: 100%;
    padding: 0;
    text-align: left;
  }
  select,
  textarea,
  input {
    width: 96%;
  }
  .csc-mailform-checkbox input.csc-mailform-check  {
    margin: 0 5px 2% 0% !important;
  }
  .csc-mailform-submit,
  #content input[type="submit"] {
    width: 99%;
    margin: 0;
  }

}

