.callout-box {
	  background: linear-gradient(135deg, #fff 10%, #a7a6a6 118%);
    border: 1px solid #c2a473;
    box-shadow: 2px 3px 1rem #999;
    line-height: 24px; 	
    margin-top: 5rem;
}

.callout-box2 {
	background: white !important;
    border: 1px solid #b19d90;
    box-shadow: 2px 3px 1rem #999;
    border-top-width: 6px;
	border-top-color: #999 !important;
    line-height: 24px;
}

/* HIER WERDEN TABS DEFINIERT */

.nav-tabs {
	border-bottom: 1px solid #a0ce4e !important;
}

.nav-tabs > li.active > a {

        border-top: 3px solid #a0ce4e !important;
	color: #333 !important;
	background: lightyellow;
}

.nav-tabs > li:hover > a {

        border-top: 3px solid #a0ce4e!important;
	background: lightyellow;
	color: #333 !important;	

}

.nav-tabs > li > a {

        border-top: 3px solid #a0ce4e !important;
	background: #a0ce4e;	
	color: white !important;
}

.tab-content {

	border-color: #a0ce4e !important;
	box-shadow: 2px 3px 1rem #999;
	background: lightyellow;

}

/* TABS ENDE */
@media (max-width: 767px) {

.boxes {
    float: left;
}

.bildimtext {
    margin: 0 auto;
    display: block;
    float: none;
    width: 100%;
    padding: 1rem 0 1rem 0;
}
 }

/* Navi Layout 1 mit Rahmen unten */
.header1 nav ul li {
/*border-bottom: 1px solid red;*/
}

.header1 nav ul li ul li{
	border: none;
}
/* Navi Layout 1 mit Rahmen unten ENDE */

/* Trenner1 */
.trenner1 {
  background: rgba(0, 0, 0, 0) url("images/trenner.gif") no-repeat scroll center bottom;
  color: #244c73;
  margin: 0 auto;
  padding: 20px 400px 0 185px;
}
/* Trenner 1 Ende*/

/* Divider 1 */

.element1-box1 .shadow::before, .element1-box1 .shadow::after {
  opacity: 0.7;
}
.shadow::before, .shadow::after {
  bottom: 15px;
  box-shadow: 0 17px 10px rgba(0, 0, 0, 0.7) !important;
  content: "";
  height: 20%;
  left: 10px;
  max-height: 100px;
  max-width: 460px;
  opacity: 0.7;
  position: absolute;
  transform: rotate(-3deg);
  width: 60%;
  z-index: -1;
}
.element1-box1 .shadow::before, .element1-box1 .shadow::after {
  opacity: 0.7;
}
.shadow::after {
  left: auto;
  right: 10px;
  transform: rotate(3deg);
}
.element1 .box1 {
  background-color: #FFFFE0;
  border-top: 3px solid #a0ce4e;
  padding: 28px 28px 27px 31px;
  margin: 15px 0 25px 0;
}
.shadow {
  position: relative;
}
.element1_box1 {
  margin-bottom: 84px;
  position: relative;
  z-index: 1;
}

/*Divider 1 Ende*/ 

/* Schatten */
/* Bild Content, Bild Sidebar, Accordion */
.pic, aside .img{}

aside .accordion-panel {
box-shadow: 0px 0px 0rem #999 !important;
border: 0px solid lightgray;

}



/* SLiderbox Button Mouseover */
.sliderbox button.b1:hover,
 .sliderbox button.b2:hover {
  background: #d84923 none repeat scroll 0 0;
  color: #fff;
}

/* Accordion Sidebar ohne Rahmen */


/* Facebook und Google Hover */
.smb1:hover, .smb2:hover {
	background: green;
}

*/ ERST MAL RAUS
.flexslider ul.slides div {
    box-shadow: 0 0 1rem #999;
    border-top: 3px solid green;
    border-radius: 8px;
}
*/


.bg_red, .bg_green, .bg_black {
  background-attachment: fixed, fixed;
  background-position: left top, center center;
  background-size: 256px 256px, cover;
}
.main {
  margin: 0;
  overflow-x: hidden;
  position: relative;
}
.team_quadrate {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.team_quadrate li img {
    height: 100%;
    width: 100%;
}
.team_quadrate li a {
    color: #000;
    text-decoration: none;
}
.hide_for_small {
    display: none;
}
@media screen and (min-width: 320px) {
.team_quadrate li {
    float: left;
    width: 50%;
}
.team_quadrate li:nth-child(2n+1) {
    clear: both;
}
}
@media screen and (min-width: 800px) {
.team_quadrate li {
    float: left;
    width: 33.3333%;
}
.team_quadrate li:nth-child(2n+1) {
    clear: none;
}
.team_quadrate li:nth-child(3n+1) {
    clear: both;
}
.hide_for_small {
    display: block;
}
}
@media screen and (min-width: 1024px) {
.team_quadrate li {
    width: 20%;
}
.team_quadrate li:nth-child(2n+1) {
    clear: none;
}
.team_quadrate li:nth-child(3n+1) {
    clear: none;
}
.team_quadrate li:nth-child(4n+1) {
    clear: none;
}
.team_quadrate li:nth-child(5n+1) {
    clear: both;
}
}
.image_overlay img {
    vertical-align: top;
    width: 100%;
}
.image_overlay::after, .image_overlay::before {
    opacity: 0;
    position: absolute;
}
.image_overlay::after {
    background: rgba(178, 0, 45, 0.6) none repeat scroll 0 0;
    content: "\a ";
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
}
.image_overlay::before {
    bottom: 5%;
    box-sizing: border-box;
    color: #fff;
    content: attr(data-content);
    left: 5%;
    padding: 4px 10px;
    width: 25%;
    z-index: 1;
}
.image_overlay:hover::after, .image_overlay:hover::before {
    opacity: 1;
}
.image_overlay:focus::after, .image_overlay:focus::before {
    opacity: 1;
} 

.prTeam {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.prTeam li img {
    height: 100%;
    width: 100%;
}
.prTeam li a {
    color: #000;
    text-decoration: none;
}
@media screen and (min-width: 320px) {
.prTeam li {
    float: left;
    width: 50%;
}
.prTeam li:nth-child(2n+1) {
    clear: both;
}
}
@media screen and (min-width: 800px) {
.prTeam li {
    float: left;
    width: 33.3333%;
}
.prTeam li:nth-child(2n+1) {
    clear: none;
}
.prTeam li:nth-child(3n+1) {
    clear: both;
}
}
@media screen and (max-width: 767px) {
.hidemobile {
    display: none;
}
}
@media screen and (min-width: 1024px) {
.prTeam li {
    /*width: 20%;*/
}
.prTeam li:nth-child(2n+1) {
    clear: none;
}
.prTeam li:nth-child(3n+1) {
    clear: none;
}
.prTeam li:nth-child(4n+1) {
    clear: none;
}
.prTeam li:nth-child(5n+1) {
    clear: none;
}
}

.layerPic::after, .layerPic::before {
    opacity: 0;
    position: absolute;
}
.layerPic::after {
    background: rgba(187, 217, 137,0.8) none repeat scroll 0 0;
    content: "\a ";
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
	-webkit-transition: all 2s ease;
    -moz-transition: all 2s ease;
    -o-transition: all 2s ease;
    -ms-transition: all 2s ease;
    transition: all 2s ease;
}
.layerPic::before {
    bottom: 5%;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 2px 1px 2px #000000;
    content: attr(data-content);
    left: 5%;
    padding: 4px 10px;
    width: 85%;
    z-index: 1;
}
.layerPic:hover::after, .layerPic:hover::before {
    opacity: 1;
}
.layerPic:focus::after, .layerPic:focus::before {
    opacity: 1;
}

.layerPic {
    font-size: 2.5rem;
    line-height: 1.2;
    position: relative;
    /*width: 300px;
    height: 300px;*/
    overflow: hidden;
}
.layerPic img {
    margin: 0 auto;
    width: 100%;
    width: 300px;
    height: 300px;
    -webkit-transition: all 2s ease;
    -moz-transition: all 2s ease;
    -o-transition: all 2s ease;
    -ms-transition: all 2s ease;
    transition: all 2s ease;
}
.layerPic img:hover {
    -webkit-transform: scale(1.20);
    -moz-transform: scale(1.20);
    -ms-transform: scale(1.20);
    -o-transform: scale(1.20);
    transform: scale(1.20);
}

.scale {
    -webkit-transform: scale(1.20);
    -moz-transform: scale(1.20);
    -ms-transform: scale(1.20);
    -o-transform: scale(1.20);
    transform: scale(1.20);
}

.paralayer {
	margin: 0 auto;
	max-width: 40em;
	padding-top: 385px;
}

.paralayer p  {
    background-color: rgba(187, 217, 137, 0.8);
    color: #f4f4f4;
    font-size: 1.3em;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 3px;
    padding: 3%;
    text-transform: uppercase;    
}

.paralayer span {
    background-color: rgba(255, 255, 255, 0.95);
    color: #646464;
    display: block;
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 3px;
    padding: 3%;
    max-width: 40em;
}

.btn-default:hover {
color: white;
text-decoration: none;
font-weight: normal;
}

h1.teaser {
    text-align: center;
    color: #555;
    font-size: 3rem;
    display: block;
    text-shadow: 1px 1px 1px #beb7b0;
    margin-bottom: 0rem;                                                                                                                                           
}

.subh1:after {
    content: ' ';
    width: 634px;
    max-width: 80%;
    height: 3px;
    background: #dedede;
    display: block;
    margin: 8px auto;
}

@media (max-width: 767px) {
  span.teaser {
    font-size: 2rem;
}

h1.teaser {
    font-size: 2.7rem;
}

.subh1 {
    font-size: 2.4rem;
}
}

.panel-body {
font-weight: 300;
padding: 15px 0.7rem;
}

div.panel-body:has(>iframe) {
    padding: 15px 0;
}

.content .accordion_container .panel-body {
font-weight: 300;
margin-left:0rem;
}

.glyphicon-menu-right:before {
    content: "\e258";
    font-size: 1rem;
    padding-right: 4px;
    position: relative;
    top: -2px;
}

/*   the New stuff /  Impuls  */

.sub-header-button .glyphicon {
    top: 2px;
    margin-right: 5px;
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .header8 .menueleiste nav ul li a {
        padding: 0 1rem;
        font-size: 1.4rem;
    }
}

@media (max-width: 1399px) {
    .menueleiste: 100%;
}

@media (min-width: 1400px) {
    .menueleiste {
        width: 100%;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .header8 .menueleiste nav ul li a {
        padding: 0 0.5rem;
        font-size: 1.2rem;
    }
    
    .header8 .menueleiste nav ul li {
        line-height: 60px;
    }
    
    #logo img {
        max-width: 310px;
        top: 7px;
    }
}

@media (min-width: 1200px) {
    .boxes {
        width: 98%;
    }
}

@media (max-width: 1199px) {
    .boxes {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .header8 {
        height: 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
     .newsteaserboxen {
        padding-top: 15px;
        padding-bottom: 15px;
    }
}

@media (max-width: 767px) {

    .row.row-width {
        text-align: center;
    }

    .newsteaserboxen {
        padding-top: 15px;
    }
    
    .boxes img {
        padding: 15px 0;
    }
}

.boxes {
    background: #fff;
    position: relative;  
}

.prebox > div {
    margin-bottom: 15px;
}    

div.prebox > div:nth-of-type(even) > div > div.boxes div:first-child {
    float: right;
}

.boxes h2 {
    text-align: center;
}

.prebox {
    display: inline-block;
}

@media (min-width: 768px) {

div.prebox > div:nth-of-type(even) > div > div.boxes img {
    padding: 3rem;
    padding-left: 0;
    padding-right: 15px;
}

div.prebox > div:nth-of-type(odd) > div > div.boxes img {
    padding: 3rem;
    padding-right: 0;
    padding-left: 15px;
}

div.prebox > div:nth-of-type(even) > div > div.boxes {
    float: right;
}

div.prebox > div:nth-of-type(odd) > div > div.boxes {
    float: left;
}

.text, .sidetext > div {
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    top: 50%;
    position: absolute;
}

.text2 {
    left: 0;
    padding-left: 30px;
}

.text1 {
    right: 0;
    padding-right: 30px;
}

.boxes .text p, .boxes .text .btn {
    margin-bottom: 0;
}
}

.adresse-top {
    float: right;
    color: #676b6d;
    width: auto;
    position: relative;
    text-align: right;
    font-size: 1.4rem;
    margin-top: 0px;
    font-weight: 400;
    margin-left: 7px;
    line-height: 1;
    margin-bottom: -3rem;
}

.adresse-top p {
    margin-top: 0;
}

.adresse-top .telefonlink {
    text-shadow: rgb(103, 107, 109) 1px 1px 1px;
    color: #fff;
}

.adresse-top .telefonlink:hover {
    color: #9ba2a8;
}

.tel-quicklink {
    float: right;
    font-size: 1.6rem;
    margin-left: 2rem;
    margin-top: 5px;
    opacity: 0;
}

.start-team {
    min-height: 150px;
    background: #f39900;
}

.start-team h3 {
    color: #fff;
    text-transform: none;
    top: 50%;
    left: 50%;
    position: absolute;
    -webkit-transform: translateY(-50%) translateX(-50%);
    -ms-transform: translateY(-50%) translateX(-50%);
    transform: translateY(-50%) translateX(-50%);
    margin-top: 0;
    margin-bottom: 0;
}

.sidetext h3 {
    text-align: center;
    padding-top:3rem;
}

.sidetext {
    background: #fff;
}

/*   the New stuff /  Merx  */

.page-id-8 .content p, .page-id-8 h2 {
    text-align: center;
}

a#mobil-cta-link {
    float: left;
    position: absolute;
    top: 8px;
    font-size: 1.6rem;
    color: white;
    background: transparent;
    text-transform: uppercase;
    padding: 0.5rem 1rem 0.5rem 1rem;
    left: 15px;
    transition: 0.3s ease;
    text-shadow: 1px 1px 1px black;
    border: 1px solid;
    border-radius: 4px;
}

.page-id-12 .content img {
    display: block;
    margin: 15px auto;
    width: 100%;
    max-width: 800px;
}

.sub-header > div > div:nth-of-type(2) .sub-header-text p {
    margin: 0;
}

.btn-primary.active, .btn-primary.focus, .btn-primary:active, .btn-primary:focus, .open>.dropdown-toggle.btn-primary {
    background: #f39900;
    border-color: #f39900;
    color: #fff;
}

ol, ul {
    padding-left: 18px; 
}

@media (min-width: 992px) {
    .changeColor {
        background: rgba(255, 255, 255, 1);
    }
}

@media (min-width: 768px) {
    .flex-li {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
}
}



