/* Farben
Logo Blau 01 - #0C36A6
Logo Blau 02 - #2D79C4
Logo Blau 03 - #528CBC
Logo Blau 04 - #86B2D7

Logo außen - #171B48

Logo Engel - #E1DDD1

*/

body {
  background: #171B48;
  overflow-y: scroll;
  color: #E1DDD1;
}

.slideshow .container,
.wrap .container,
.t3-mainbody{
  padding: 0px;
}

p {
  font-size: 1.7rem;
  line-height: 2.4rem;
}

h1,
.h1 {
color: #86B2D7;
font-size: 28px;
text-transform: uppercase;
font-family:"Playfair Display Italic";
font-weight: bold;
font-style:italic;
}
h2,
.h2 {
  color: #86B2D7;
  font-size: 26px;
  font-family:"Playfair Display Italic";
  font-style:italic;
}
h3,
.h3 {
font-size: 16px;
}

a {
  color: #86B2D7;
}

td,
tr td {
  border-top: none;
}

/* ################################################################## */
/* ##### Header  */
/* ################################################################## */

.logo:hover a,
.logo a:hover,
.logo a:active,
.logo a:focus {
  background: #0FA3FB;
  color: #ffffff;
  text-decoration: none;
}
  .logo a {
  background: #0FA3FB;
}

/* ################################################################## */
/* ##### Navbar */
/* ################################################################## */

.nav-pills > li.active > a, 
.nav-pills > li.active > a:hover, 
.nav-pills > li.active > a:focus {
  color: #ffffff;
  background-color: #171B48;
  text-decoration: none;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background: #171B48;
  color: #528CBC;
}
.t3-mainnav .t3-navbar-collapse .navbar-nav > li > a {
  border-top: 1px solid #0C36A6;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  border-color: #171B48;
}
.navbar-default .navbar-toggle .icon-bar,
.navbar-default .navbar-toggle .fa-bars {
  background-color: #171B48;
  color: #528CBC;
  font-size: 1.7rem;
}

.navbar-default .navbar-nav > .dropdown > a .caret {
  border-top-color: #171B48;
  border-bottom-color: #171B48;
}

.navbar-default {
  background-color: #171B48;
}

@media screen and (max-width: 991px) {
  .item-105,
  .item-131,
  .item-135,
  .item-180,
  .item-181,
  .item-226{
    background-color: rgb(23, 27, 72);
    border-top-color: #444444 !important;
    border-bottom-color: #444444 !important;
    padding-left: 15px;
  }
  .navbar-default .navbar-nav > li > a {
    color: #86B2D7;
  }

  .navbar-default .navbar-link .navbar-text .navbar-nav > li > a {
    color: #86B2D7;
  }

  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
  color: #86B2D7;
  }
}

.navbar-default .navbar-nav > li > a {
  color: #86B2D7;
}

.t3-mainnav {
  border-bottom: 1px solid #171B48;
}

.nav {
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
  text-align:center;
}

.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
  color: #ffffff;
  background: transparent;
  background-color: #171B48;
  text-decoration: none;
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
  color: #ffffff;
  text-decoration: none;
  outline: 0;
  background-color: #171B48; 
}

/* ################################################################## */
/* ##### Banner */
/* ################################################################## */

.corporate .slideshow {
  background: #171B48;
  border-bottom: 0px;
  padding:  0;
}

/* ################################################################## */
/* ##### Breadcrumb */
/* ################################################################## */

.breadcrumb > .active {
  color: #171B48;
}

body .breadcrumb{
  font-size: 1.7rem;
  color: #86B2D7;
}

/* ################################################################## */
/* ##### Sidebar 1 */
/* ################################################################## */

#t3-mainbody .t3-sidebar{
  padding: 15px;
}

@media screen and (max-width: 768px) {
  #mod-custom113 {
    padding: 0px 10px;
  }
}

/* ################################################################## */
/* ##### Content */
/* ################################################################## */

.text-und-button {
  display: flex;
  flex-direction: column;
  align-items: center; /* Zentriert den Button und den Text */
}

.ha-box-button {
  order: -1; /* Button über den Text setzen */
  margin: 0 auto 15px;
}

.ha-box-button a {
  text-align: center;
  width: 300px;
  display: inline-block;
  background-color: #0056b3; /* Blauton passend zum Design */
  color: #ffffff;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease-in-out;
}

.ha-box-button a:hover {
  background-color: #003d80; /* Dunklere Farbe für Hover-Effekt */
}

hr.ha-starseite{
  height: 0; 
  border: 0; 
  border-top: 1px solid #528CBC;
}

.ha-box{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ha-box-text{
margin-bottom: 10px;
}

.ha-box-bild{
  width: 300px;
  margin: 0px auto;
  box-shadow: #131313 5px 5px 10px;
}

.ha-box-bild > p{
  margin: 0px;
}

.ha-box-bild > p > a > img{
  width: 300px !important;
  max-width: 300px !important;
}

@media screen and (min-width: 992px) {
    .ha-box{
      flex-direction: row-reverse; 
      align-items:center;   
    }

    .ha-box-text{
    margin-bottom: 0px;
    }

    .ha-box-bild{
      margin-right: 20px;
    }

    .ha-box-button {
      align-self: flex-start; /* Falls nötig, den Button links ausrichten */
      margin: 0 auto 15px
  }
}


.button-div {
  margin: auto;
  width: 155px;
}

.button-wa,
.button-wa:hover,
.button-wa:focus {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items:center;
    background-color: #32D951;
    color: white;
    /* text-shadow: 0px 0px 15px rgb(0, 83, 15); */
    text-shadow: 0px 0px 10px rgb(0, 0, 0);
    border-radius: 50px;
    padding-right: 10px;
    text-decoration: none;
    box-shadow: #131313 5px 5px 10px;
}

#t3-mainbody .t3-content{
  padding: 15px;
}

.row{
  margin: 0;
}

.row .col-xs-12{
  padding: 0px;
}

@media screen and (min-width: 768px) {
  .t3-sl {
    padding-bottom: 0px !important;
    padding-top: 0px !important;
  }
}

.t3-sl {
  padding-bottom: 0px !important;
  padding-top: 0px !important;
}

.bild-im-text {
  border: 4px solid #c5b1a8;
  box-shadow: 3px 3px 8px #1b1b1b;
  border-width: 4px;
  margin: 0px auto 0px auto;
}

@media screen and (max-width: 991px) {
  article img  {
    max-width: 300px !important;
  }
  .SocialMedia{
    width: 35px !important;
  }
}

body > div > div.wrap.t3-sl.t3-sl-1{
  background: #171B48 !important;
  border-bottom: 0px;
}

/* ################################################################## */
/* ##### Event Gallery */
/* ################################################################## */

#events .item-container {
  width: 50%;
}

.eventgallery-back-button{
  margin-left: 20px;
  padding: 5px;
  border: 1px solid silver;
  border-radius: 5px;
}

a.eventgallery-back-button:hover{
  color: white;
}

#t3-content > div.event > h1{
  margin-left: 15px;
}

#events .counter{
  display: none;
}

.eventgallery-category-headline,
.eventgallery-tile h2{
text-align: center;
}

.eventgallery-tiles-list{
  padding: 15px;
}

.eventgallery-tile .wrapper{
  min-height: 430px;
}

.eventgallery-tile .wrapper > a:hover{
  color: #9f6c84;
}

.com-content-category__navigation{
  display: none;
}

#events .item .eg-content .data {
  background-color: rgba(23, 27, 72, 80%);
  color: #b8c8d4;
  opacity: 100%;
  text-align: center;
  font-size: 2.1rem;
  font-family:"Playfair Display Italic";
  font-style:italic;
}

.pswp .pswp__bg {
    background-color: rgba(2, 5, 37, 0.85);
}

.pswp .pswp__custom-caption {
  background: rgba(23, 27, 72, 0.95);
}

/* ################################################################## */
/* ##### Footer */
/* ################################################################## */

.t3-footer a{
  font-size: 1.7rem;
  color: #0C36A6;
}

.btn-primary {
  background-color: #0C36A6;
  border-color: #0C36A6;
}

.btn-primary:hover {
  background-color: #528CBC;
  border-color: #528CBC;
}

/* ################################################################## */
/* #####  */
/* ################################################################## */

.t3-copyright {
  border-top: 1px solid #eeeeee;
  font-size: 12px;
  padding:  0;
}

.pswp__bg {
  background: #826558;
}