#main { min-height: 300px; background: #fff; padding: 0; }
#A1 section { margin: 0 auto; max-width: 1920px; }
#A1 #main > div > .row,
#A1 section > .row { padding-left: 110px; padding-right: 110px; }
#A1 #main #s815 > .row { padding-left: 0px; padding-right: 0px; }
#A1 #main #s998 > .row { padding-left: 0px; padding-right: 0px; }
@media(max-width: 1199px) {
    #A1#main .row { padding-left: 45px; padding-right: 45px; }
	#A1 #main #s815 > .row { padding-left: 45px; padding-right: 45px; }
    #A1 #main > div > .row,
    #A1 section > .row { padding-left: 45px; padding-right: 45px; }
}
@media(max-width: 575px) {
    #A1#main .row { padding-left: 0px; padding-right: 0px; }
	#A1 #main #s815 > .row { padding-left: 0px; padding-right: 0px; }
    #A1 #main > div > .row,
    #A1 section > .row { padding-left: 0px; padding-right: 0px; }
}



/* FOOTER */
#A1 #footer { position: relative; min-height: 126px; }
#footer .footer-content { padding-top: 80px; }
#footer .footer-content #bs-adr a { text-transform: inherit; }

#bs-name{ 
    position: absolute; bottom: 144px; right: calc(50% + 390px); 
    width: 300px;  
    text-align: right;  
}
#bs-name h2 { font-size: 60px; margin: 0; font-family: 'Gill Sans', Arial, sans-serif; font-weight: 400;}
#bs-name h2 span { display: block; margin-bottom: .5rem; }

#bs-adr { 
    position: absolute; bottom: 0; right: 0; 
    width: 500px; height: 390px;  
    overflow: hidden;
}
#bs-adr img { position: absolute; width: 500px; }
#bs-adr-adr { position: absolute; bottom: 10px; right: 15px; }

#copyright { display: none; }

@media(max-width: 1399px) {
    #bs-name { right: calc(50% + 290px); } 
}
@media(max-width: 1199px) {
    #bs-name h2 { font-size: 50px; }
    #bs-name { right: calc(50% + 260px); } 
}
@media(max-width: 991px) {
    #bs-name, #bs-adr { display: none; }
    #copyright { display: block; }
}
@media(max-width: 575px) {
    #A1 #footer { min-height: auto; }
    #footer .footer-content { padding-top: .5rem; }
}




/********** MODUL Masterslider **********/
.msholder { margin-top: -34px; }
.ms-layer.ms-caption { padding: 10px 20px; background: rgba(255,255,255,.7); width: calc(100% - 160px); max-width: 600px; }
.ms-layer h2 { color: #000; font-size: 1.75rem; font-family: 'Gill Sans Bold', Arial, sans-serif; }
.ms-layer p { line-height: 1.3; }
.ms-layer p.teaser { margin-bottom: 6px; font-size: 1rem; color: #000; }
.ms-layer p.more { margin-bottom: 0; text-align: right; font-size: .9rem; font-family: 'Gill Sans Bold', Arial, sans-serif; }
.ms-layer p.more a { display: block; }

.ms-skin-default .ms-bullet { width: 10px; height: 10px; background: #fff; border-radius: 50%; }
.ms-skin-default .ms-bullet.ms-bullet-selected { background: #4aa330; }
.ms-view { background: transparent; }

@media(max-width: 1199px) {
    .ms-layer.ms-caption { width: calc(100% - 160px); max-width: 450px; margin-bottom: -40px; left: 65px !important; }
}
@media(max-width: 991px) {
    .msholder { margin-top: 0px; }
    .ms-layer.ms-caption { margin-bottom: 0; bottom: 20px !important; }
    .ms-bullets.ms-dir-h { right:80px; }
}
@media(max-width: 767px) {
    
}
@media(max-width: 575px) {
    .ms-layer.ms-caption { margin-bottom: 0; bottom: 20px !important; left: 20px !important; }
    .ms-bullets.ms-dir-h { right:40px; }
    .ms-layer h2 { font-size: 1.5rem; }
    .ms-layer p.teaser { display: none; }
}
@media(max-width: 375px) {
    .ms-layer.ms-caption { width: calc(100% - 140px); }
    .ms-layer h2 { font-size: 1.1rem; }
    .ms-bullets.ms-dir-h { bottom: 0; }
}
/********** MODUL Masterslider **********/

/*
blau: 034594 / rgba(3,69,148,1) 
grün: 4aa330 / rgba(74,163,48,1)
*/

/********** Bildernavigation ***********/
.img-nav > div > div { padding-top: 25px; }
.img-link { margin-bottom: 0; padding: 10px; }
.img-link img {  
    /*
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.35);
       -moz-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.35);
            box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.35);
    */
}
.img-link a { display: block; overflow: hidden; position: relative; }
.img-link a h4 { 
    color: #92c02a; 
    font-family: 'Gill Sans', Arial, sans-serif;
    font-weight: 400;
    font-size: 1.75rem;
}

.smaler .row { margin-left: -35px; margin-right: -35px; }
.smaler .img-links .col-content { padding: 0 20px; }

.img-link-v2, .img-link-v3 {}
.img-link-v2 a, .img-link-v3 a { display: block; overflow: hidden; position: relative; }
.img-link-v2 a h4, .img-link-v3 a h4 { 
    color: #fff; 
    position: absolute; 
    top: 50%;  width: 100%;
    transform: translateY(-50%); 
    text-align: center; 
    padding: 5px 15px; 
    margin-bottom: 0;
    
}
.img-link-v2 figure, .img-link-v3 figure { margin-bottom: 0; }
.img-link-v2 img, .img-link-v3 img {
    -webkit-transition: all 0.6s;
       -moz-transition: all 0.6s;
            transition: all 0.6s;
}
.img-link-v2:hover img, .img-link-v3:hover img {
       -moz-transform: scale(1.05);
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
}
.img-link-v2 .img-link-info, .img-link-v3 .img-link-info,
.img-link-v2 a .img-link-info h4, .img-link-v3 a .img-link-info h4,
.img-link-v2 a .img-link-info p, .img-link-v3 a .img-link-info p {
    -webkit-transition: all ease-out 0.4s;
       -moz-transition: all ease-out 0.4s;
            transition: all ease-out 0.4s;
}
.img-link-v2 .img-link-info, .img-link-v3 .img-link-info {
    position: absolute; top:0; bottom: 0; left: 0; width: 100%;
    padding-top: .5rem;
}

.img-link-info.blau { background: rgba(3,69,148,.7) }
.img-link-info.blau:hover { background: rgba(3,69,148,.95) }
.img-link-info.gruen { background: rgba(74,163,48,.7) }
.img-link-info.gruen:hover { background: rgba(74,163,48,.95) }

@media(max-width: 575px) {
    .img-link-v2 a h4 { font-size: 1.5rem; padding: 5px 2px; }
}
@media(max-width: 375px) {
    .img-link-v2 a h4 { font-size: 1.2rem; hyphens: auto; }
}
/* grüne kacheln */
/*
    .img-link-v2:nth-child(even) .img-link-info { background: rgba(74,163,48,.7); }
    .img-link-v2:nth-child(even):hover .img-link-info { background: rgba(74,163,48,.95); }

@media(min-width: 768px) {
    .img-link-v2:nth-child(even) .img-link-info { background: rgba(3,69,148,.7); }
    .img-link-v2:nth-child(even):hover .img-link-info { background: rgba(3,69,148,.95); }
    
    .img-link-v2:nth-child(2) .img-link-info,
    .img-link-v2:nth-child(3) .img-link-info,
    .img-link-v2:nth-child(6) .img-link-info,
    .img-link-v2:nth-child(7) .img-link-info,
    .img-link-v2:nth-child(10) .img-link-info,
    .img-link-v2:nth-child(11) .img-link-info { background: rgba(74,163,48,.7); }
    .img-link-v2:nth-child(2):hover .img-link-info,
    .img-link-v2:nth-child(3):hover .img-link-info,
    .img-link-v2:nth-child(6):hover .img-link-info,
    .img-link-v2:nth-child(7):hover .img-link-info,
    .img-link-v2:nth-child(10):hover .img-link-info,
    .img-link-v2:nth-child(11):hover .img-link-info { background: rgba(74,163,48,.95); }
}
@media(min-width: 992px) {
    .img-link-v2:nth-child(3) .img-link-info,
    .img-link-v2:nth-child(7) .img-link-info,
    .img-link-v2:nth-child(11) .img-link-info { background: rgba(3,69,148,.7); }
    .img-link-v2:nth-child(3):hover .img-link-info,
    .img-link-v2:nth-child(7):hover .img-link-info,
    .img-link-v2:nth-child(11):hover .img-link-info { background: rgba(3,69,148,.95); }
    
    .img-link-v2:nth-child(4) .img-link-info,
    .img-link-v2:nth-child(8) .img-link-info,
    .img-link-v2:nth-child(12) .img-link-info { background: rgba(74,163,48,.7); }
    .img-link-v2:nth-child(4):hover .img-link-info,
    .img-link-v2:nth-child(8):hover .img-link-info,
    .img-link-v2:nth-child(12):hover .img-link-info { background: rgba(74,163,48,.95); }
}
@media(min-width: 1200px) {
    .img-link-v2:nth-child(6) .img-link-info, 
    .img-link-v2:nth-child(8) .img-link-info,
    .img-link-v2:nth-child(9) .img-link-info,
    .img-link-v2:nth-child(11) .img-link-info  { background: rgba(3,69,148,.7); }
    
    .img-link-v2:nth-child(6):hover .img-link-info, 
    .img-link-v2:nth-child(8):hover .img-link-info,
    .img-link-v2:nth-child(9):hover .img-link-info,
    .img-link-v2:nth-child(11):hover .img-link-info  { background: rgba(3,69,148,.95); }
    
    .img-link-v2:nth-child(5) .img-link-info,
    .img-link-v2:nth-child(7) .img-link-info { background: rgba(74,163,48,.7); }
    
    .img-link-v2:nth-child(5):hover .img-link-info,
    .img-link-v2:nth-child(7):hover .img-link-info { background: rgba(74,163,48,.95); }
}
*/
.kachelnav-v3 { margin-top: 2rem; margin-bottom: 2rem; }
.img-link-v3.card { border: 0px none; }
.img-link-v3.card:nth-child(odd) .img-link-info { background: rgba(3,69,148,.7); }
.img-link-v3.card:nth-child(odd) .img-link-info:hover { background: rgba(3,69,148,.95); }
.img-link-v3.card:nth-child(even) .img-link-info { background: rgba(74,163,48,.7) ; }
.img-link-v3.card:nth-child(even) .img-link-info:hover { background: rgba(74,163,48,.95) ; }
.w-20 {
	-webkit-box-flex: 0;
			-ms-flex: 0 0 20% !important;
				flex: 0 0 20% !important;
	max-width: 20%;
}
@media(max-width: 1499px) {
	.w-20 {
		-webkit-box-flex: 0;
				-ms-flex: 0 0 25% !important;
					flex: 0 0 25% !important;
		max-width: 25%;
	}
	.img-link-v3.card-5 .img-link-info,
	.img-link-v3.card-7 .img-link-info,
	.img-link-v3.card-9 .img-link-info { background: rgba(74,163,48,.7) !important; }
	.img-link-v3.card-5 .img-link-info:hover,
	.img-link-v3.card-7 .img-link-info:hover,
	.img-link-v3.card-9 .img-link-info:hover { background: rgba(74,163,48,.95) !important; }
	
	.img-link-v3.card-6 .img-link-info,
	.img-link-v3.card-8 .img-link-info,
	.img-link-v3.card-10 .img-link-info { background: rgba(3,69,148,.7) !important; }
	.img-link-v3.card-6 .img-link-info:hover,
	.img-link-v3.card-8 .img-link-info:hover,
	.img-link-v3.card-10 .img-link-info:hover { background: rgba(3,69,148,.95) !important; }
}
@media(max-width: 1199px) {
	.w-20 {
		-webkit-box-flex: 0;
				-ms-flex: 0 0 50% !important;
					flex: 0 0 50% !important;
		max-width: 50%;
	}
	.img-link-v3.card-3 .img-link-info,
	.img-link-v3.card-6 .img-link-info,
	.img-link-v3.card-10 .img-link-info { background: rgba(74,163,48,.7) !important; }
	.img-link-v3.card-6 .img-link-info:hover,
	.img-link-v3.card-6 .img-link-info:hover,
	.img-link-v3.card-10 .img-link-info:hover { background: rgba(74,163,48,.95) !important; }
	
	.img-link-v3.card-4 .img-link-info,
	.img-link-v3.card-5 .img-link-info,
	.img-link-v3.card-9 .img-link-info { background: rgba(3,69,148,.7) !important; }
	.img-link-v3.card-4 .img-link-info:hover,
	.img-link-v3.card-5 .img-link-info:hover,
	.img-link-v3.card-9 .img-link-info:hover { background: rgba(3,69,148,.95) !important; }
}

@media(max-width: 575px) {
	.kachelnav-v3 { margin-top: 0; margin-bottom: 0; }
	.img-link-v3 a h4 { font-size: 1.5rem; padding: 5px 2px; }
}
@media(max-width: 375px) {
	.img-link-v3 a h4 { font-size: 1.2rem; hyphens: auto; }
}




#A1 #main .events .row { padding-left: 0; padding-right: 0 }
#A1 #main .events .row .col-4 { padding-right: 0 }
.events {
    flex: 0 0 700px;
    margin: 0 auto;
    margin-top: -88px;
    margin-bottom: -60px;
    padding: 15px 40px !important;
    background: #fff;
    z-index: 90;
    border: 1px solid rgba(3,69,148,1);
min-height: 425px;
}

.event-liste h2 { margin-bottom: 2rem; padding-bottom: 5px; border-bottom: 1px solid rgba(3,69,148,1); font-size: 1.75rem; text-align: center; color: rgba(3,69,148,1); font-family: 'Gill Sans', Arial, sans-serif; font-weight: 400; }
.event-teaser { margin-bottom: 2rem; cursor: pointer; }
.event-teaser h3 { font-size: 1em; font-family: 'Gill Sans', Arial, sans-serif; font-weight: 400; color: rgba(74,163,48,1); }
.event-teaser p { margin-bottom: 0; }
.event-teaser .event-date { font-size: .8em; display: none;}
.event-teaser .event-more { text-align: right; font-weight: bold; font-family: 'Gill Sans Bold', Arial, sans-serif; }
.event-teaser:hover a { color:rgba(74,163,48,1);  }

@media(max-width: 1399px) {
    .events {  flex: 0 0 500px; padding: 15px 30px !important;}
    
}
@media(max-width: 1199px) {
    .events { flex: 0 0 450px; padding: 15px 20px !important;}
}

@media(max-width: 991px) {
    .events {width: 75%; margin-top: -50px; margin-bottom: -50px;}
}
@media(max-width: 575px) {
    .embed-responsive-bs::before { padding-top: 60% }
    .events{flex: 0 0 calc(100% - 40px); margin-top: 1rem; margin-bottom: 1rem; padding: 15px;}
}