aside a {
    color: #174290;
}

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

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

.n2-ss-slider p:empty {
	display:none;
}
p a.layer-button {
	background:transparent !important;
}

/* 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 */

/* 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{
	box-shadow: 0px 3px 1rem #999 !important;
}

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: white none repeat scroll 0 0;
  color: #ddd4be;
}

/* 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 {
    font-family: "FrutigerLTW01-57Condens";
    line-height: 1.2;
    position: relative;
}
.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;
}

.subboxtext a {
    color: #fff;
    text-shadow: 1px 1px #000;
}


/* Pop Up ANFANG */

.modal.in .modal-dialog {
    overflow-y: auto;
}

#myModal {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;   
    z-index: 6000;   
    display: none;
}

.modal.fade.in {    
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;  
}

modal.in .modal-dialog {
    overflow-y: scroll;
}

.modal-header li {
    font-size: 1.7rem;
}

.modal-title {
    font-size: 2.4rem;
    margin-bottom: 2rem;
}

.modal-header {
    border-bottom: none; 
    padding: 15px 25px;
}

.content h2.modal-title {
    text-align:left;
}     

.modal-body > p {
    text-align: left !important;
}

.modal-body > ul {
    text-align: left !important;
}

@media (min-width: 992px) {    
.modal-dialog {
    width: 100%;
    max-width: 1100px;
}       
}

@media (max-width: 991px) {    

.modal-dialog {
    margin-top: 0;
}   
}

.sprechzeiten p>span {
    float: right;
}

.sprechzeiten p {
    max-width: 530px;
    color: #333;
    border-bottom: 1px solid black;
}

/* Pop Up ENDE */


/* Logosammlung Anfang ------------------------------------------------------------------------------*/

.logosammlung {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.logosammlung img {
    width: 100%;
    max-width: 500px;
}

/* Logosammlung Ende ------------------------------------------------------------------------------*/