@import url("//fonts.googleapis.com/css?family=PT+Sans:400,500,600,700");

#c268 {
  margin-top: 8px;
}

.news-list-date {
    color: #333;
    font-style:italic;
}

.news-list-view {
    margin-top:15px;
}

.teaser-text .interner-button {
	margin:0;
}

/*  Header */
h3, .h3 {
	font-weight:700;
	font-size:18px;
}

.header-right {
    text-align:right;
    padding-top:10px;
}

.header-right a {
    padding: 2px 12px;
    background: #97bf0d;
    border: solid 1px #97bf0d;
    border-radius: 0px;
    margin-left: 15px;
    color: #fff;
    font-size: 1em;
}

.header-right a:hover {
    background: #80a51f;
    border: solid 1px #97bf0d;
    color: #fff;
    text-decoration: none;
}

/* Hero */
.hero .frame {
    margin:0;
    padding:0;
}

.frame .frame, .frame .frame .frame {
    padding:0;
    margin:0;
}

/* News */
.news .footer {
    border-top: 0px solid #fff;
}

.news .article {
    padding-bottom: 0px;
    margin-bottom: 15px;
    border-bottom: 1px solid #ccc;
}
/*  Footer */
footer {
  margin-top:30px;
  padding-top: 10px;
}

.footer-section {
  color: #fff;
  background: #97bf0d;
}
.footer-section a {
  color: #fff;
}
.footer-section a:hover,
.footer-section a:focus {
  color: #fff;
  text-decoration: underline;
}

.footer-section-meta {
  background: #90b61d;
}
.footer-section-meta a {
  color: inherit;
}
.footer-section-meta a:hover,
.footer-section-meta a:focus {
  color: #fff;
}
.footer-section-meta .meta-menu {
  list-style: none;
  padding-left: 0;
}

.footer-section-meta {
    text-align: center;
}

.f-middle {
    text-align: center;
}

.f-right {
    text-align: right;
}


.fancybox-skin {
    background: #d3d41f;
}


/* Gallery */
.frame-layout-fotogal .gallery-item {
    float: none;
    padding-left: 0.5em;
    padding-right: 0.5em;
    display: inline-block;
    height: 110px;
    overflow: hidden;
    margin-bottom:1em;
}

.frame-layout-fotogal .gallery-item img {
    width: 100%;
    border-radius: 0 !important;
}


/* Flexslider
-------------------------------------------------------------- */       

.tx-ws-flexslider .caption-text {
    background:transparent;
}

.flexslider {
    background: #fafafa !important;
    border: 0px solid #ffffff !important;
    -webkit-box-shadow: 0 0px 0px rgba(0,0,0,0) !important;
    -moz-box-shadow: 0 0px 0px rgba(0,0,0,0) !important;
    -o-box-shadow: 0 0px 0px rgba(0,0,0,0) !important;
    box-shadow: 0 0px 0px rgba(0,0,0,0) !important;
    zoom: 1;
    overflow: hidden;
    border-radius: 0px;
    margin-bottom:2em;
}

.tx-ws-flexslider .frame {
    padding: 0;
}

.caption-wrapper {
    display: none;
}

/* Textformatierungen
-------------------------------------------------------------- */  

body {
    font-family: "PT Sans", Arial, Herlvetica, sans-serif;
    font-size: 16px;
}

.section-default, .section-light {
    margin-top:2em;
}

h1 {
    margin:0 0 0.3em 0;
    padding:0;
}

h2, h3, h4 {
    margin:1em 0 0.25em 0;
    padding:0;
}

p {
    margin:0 0 1em 0;
}

.btn-primary, .interner-button, .mail-button, .externer-button {
    padding: 3px 12px;
    background: #97bf0d;
    border: solid 1px #97bf0d;
    border-radius: 0px;
    margin:12px 25px 12px 0;
    color: #fff;
    font-size: 0.9em;
    display:inline-block;
}

.btn-primary:hover, .interner-button:hover, .mail-button:hover, .externer-button:hover {
    background: #80a51f;
    border: solid 1px #97bf0d;
    color: #fff;
    text-decoration: none;
}


.button-download {
    padding: 3px 10px;
    background: #fff;
    border: solid 1px #80a51f;
    border-radius: 0px;
    margin:3px 6px 3px 0;
    color: #80a51f;
    font-size: 1em;
    font-weight:600;
    display:inline-block;
}

.button-download:hover {
    background: #97bf0d;
    border: solid 1px #97bf0d;
    color: #fff;
    text-decoration: none;
}

.frame-well {
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fbfbfb;
    margin-bottom:1.5em;
}

.frame-well img {
    padding-bottom: 1.8em;
}

.frame-jumbotron {
    padding:1em 2em!important;
    background: #97bf0d;
    border-radius: 3px;
    color: #fff;
}

.frame-jumbotron h3 {
    margin:1em 0 0.3em 0;

}

.frame-jumbotron td p {
    margin:0;
    padding:0;
    font-weight:600;
}

.frame-jumbotron .tbl-1 tr {
    border-top:1px solid #fff;
}

.frame-jumbotron .tbl-1 tr:last-child {
    border-bottom:1px solid #fff;
}

/* Tabellen tbl-1, tbl-2
-------------------------------------------------------------- */

.tbl-1, .tbl-2 {
    width:100%;
}


.tbl-1 tr, .tbl-2 tr {
    border-top:1px solid #ccc;
}

.tbl-1 tr:last-child, .tbl-2 tr:last-child {
    border-bottom:1px solid #ccc;
}

.tbl-1 .align-right, .tbl-2 .align-right  {
    text-align: right;
    padding-right:1em;
}

td ul {
    margin-top: -1em;
    margin-bottom: -1em;
}

.tbl-1 tr td {
    padding:4px 1em 4px 0;
    vertical-align: top;
}

.tbl-2 tr td {
    padding:0 1em 0 0;
    vertical-align: middle;
}

td p {
    margin:0;
}

/* Submenu */
.frame-type-menu_subpages ul {
    list-style: none;
    margin: 0;
    padding: 0;
}


.frame-type-menu_subpages ul a {
    padding: 4px 12px;
    background: #fff;
    border: solid 1px #80a51f;
    border-radius: 3px;
    margin:3px 10px 3px 0;
    color: #80a51f;
    font-size: 1em;
    display:inline-block;
}

.frame-type-menu_subpages ul a:hover {
    background: #97bf0d;
    border: solid 1px #97bf0d;
    color: #fff;
    text-decoration: none;
}


/* Form Header ausblenden und Formatierungen */
#contactForm h2 {
    display: none;
}

label {
    font-weight: bold;
}

.form-control {
    background-color: #fafafa;
    background-image: none;
    border: 1px solid 0;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 0 0 rgba(0,0,0,0.075);
    box-shadow: inset 0 0 0 0 rgba(0,0,0,0.075);

}

.popup {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 500px;
  height: 350px;
  margin: 15% auto auto;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #3cc06a;
}

.heading {
  width: 90%;
  text-align: right;
}

.section-popup {
  position: fixed;
  left: 0%;
  top: 0%;
  right: 0%;
  bottom: 0%;
  z-index: 60;
  display: block;
  overflow: visible;
  height: 100%;
  margin: auto;
  padding-left: 0px;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: transparent;
}

.popup-wrapper {
  position: fixed;
  left: 10%;
  top: 15%;
  right: 10%;
  bottom: 15%;
  z-index: 900;
  display: block;
  overflow: visible;
  max-height: 600px;
  max-width: 600px;
  margin: 60px auto auto;
  padding-left: 0px;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: rgba(80, 161, 37, 0.93);
}


.close-popup-button {
  cursor: pointer;
  position: absolute;
  left: auto;
  top: 20px;
  right: 20px;
  bottom: auto;

}

.close-image {
  width: 75px;
padding: 20px;
}

.close-image:hover {
  opacity: 0.71;
}

.container-popup {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.rte-popup {
  padding: 80px;
  color: #fff;
  letter-spacing: 1.2px;
}

h2.kofa {
  color: white;
  font-size: 30px;
  font-weight: 700;
}

p.kofa {
  color: white;
  font-size: 22px;
}

a.kofa {
  color: white;
  font-size: 22px;
    font-weight: 700;
}

@media screen and (min-width: 1280px) {
  .section-popup {
    display: block;
  }

  .popup-wrapper {
    left: 25%;
    right: 25%;
  }
}

@media screen and (min-width: 1440px) {
  .section-popup {
    display: block;
  }

  .popup-wrapper {
    display: block;
    max-height: 500px;
    max-width: 600px;
  }
}

@media screen and (max-width: 991px) {
  .popup-wrapper {
    left: 5%;
    top: 10%;
    right: 5%;
    bottom: 10%;
    height: 50vh;
    max-height: none;
  }

  .close-image {
  width: 75px;
padding: 20px;
  }
}

@media screen and (max-width: 767px) {
  .section-popup {
    left: 0%;
    top: 0%;
    right: 0%;
    bottom: 0%;
  }

  .popup-wrapper {
    left: 5%;
    top: 100px;
    right: 5%;
    bottom: 5%;
    margin-top: 0px;
  }

  .close-image {
    display: block;
  width: 75px;
padding: 20px;
  }
}

@media screen and (max-width: 479px) {
  .popup-wrapper {
    left: 0%;
    top: 46px;
    right: 0%;
    bottom: 0%;
    height: 100vh;
    margin-top: 20px;
  }

  .rte-popup {
    padding-right: 25px;
    padding-left: 25px;
  }
}