/* =========== Dekanat Bergstrasse============= */

/*automatische Schriftgrößenanpassung von iOS verhindern  - IHS 13.6.17*/
body {
  -webkit-text-size-adjust: 100%;
}

/* colors */
#deanery h1,
#deanery h1 a,
#deanery .submenu h4,
#deanery .event-header,
#deanery .news-text h3 a:hover {
  color: #51277F;
}

#deanery .event-search-simple .event-search-simple-input,
#deanery .event-search-simple .event-search-simple-input input[type="submit"],
#deanery .eventfilter-week,
#deanery .eventfilter-week input[type="submit"],
#deanery .tx-ekhn-events input[type="submit"],
#deanery .eventtip,
#deanery .tx-ptextlist-filterbox input[type="submit"],
#deanery .tx-ptextlist-filter.pt-extlist-filter-mainSearch,
#deanery .tx-ptextlist-divlist .tx-ptextlist-divlist.header,
#deanery .signalbox {
  background-color: #51277F;
}

#deanery .metamenu-link{
  width: 310px;
}

#deanery .header-foldout > p {
  position: absolute;
  top: 21px;
}

#deanery .signalbox {
  color: #FFF;
}

#deanery .news-backlink-wrap {
  border-color: #51277F;
}

#deanery .event-search-simple .current-date {
  background-image: url(../images/icon-calendar-deanery.png);
}

#deanery .tx-ekhn-events a.flex-next,
#deanery .featured-events .slider-next,
#deanery .flex-next {
  background-image: url("../../../templates/images/paginator-next-purple.gif");
}

#deanery .tx-ekhn-events a.flex-prev,
#deanery .featured-events .slider-prev,
#deanery .flex-prev {
  background-image: url("../../../templates/images/paginator-prev-purple.gif");
}

#deanery .mainSearch {
  background-image: url(../../../templates/images/icon-adresssearch-deanery.png);
}

#deanery .tx-ptextlist-divlist .tx-ptextlist-divlist.header li,
#deanery .tx-ptextlist-divlist .tx-ptextlist-divlist.header a {
  color: #a47abd;
}

#deanery .close-header-foldout {
  left: 50.5%;
}

#deanery .logo-small {
  float: right;
  padding-top: 10px;
  padding-right: 10px;
  display:none
}

#deanery .header-foldout .col1 {
  width: 25%;
  margin-right: 40px;
}

#deanery .header-foldout .col2 {
  width: 70%;
  margin: 0;
}

#deanery .header-foldout .col2  ul {
  margin-right: 40px;
}

#deanery .header-menu-wrapper {
  height: 150px;
  position: relative;
}

#deanery .header {
  height: 150px;
  overflow: hidden;
}

#deanery .tx-ptextlist-divlist li span.header {
  height: auto;
}

#deanery .logo-area {
  float: left;
  width: 50%;
  height: 270px;
  background-color: #51277F;
  -webkit-box-shadow: -23px 0px 22px 40px rgba(0,0,0,0.6);
  -moz-box-shadow: -23px 0px 22px 40px rgba(0,0,0,0.6);
  box-shadow: -23px 0px 22px 40px rgba(0,0,0,0.6);
  position: relative;
  z-index: 9;
}

#deanery .logo-area img {
  position: absolute;
  left: 40px;
  top: 20px;
}

#deanery .header-image {
  float: right;
  width: 50%;
}

#deanery .header-image img {
  max-width: none;
}

#deanery #navbar {
  position: absolute;
  //bottom: 0px;
  width: 100%;
}

#deanery .mainmenu > ul > li {
    width: 135px;
}

/*
#deanery .mainmenu> ul> li:nth-child(4){
  width: 140px;
}

#deanery .mainmenu> ul li:nth-child(4)> ul >li {
  width: 140px;
}
*/

#deanery .mainmenu ul li.home a {
  background: rgba(255, 255, 255, .7);
  background-image: url(../../../templates/images/icon-home-purple.png);
  background-repeat: no-repeat;
}

.ie7 #deanery .mainmenu ul li.home a,
.ie8 #deanery .mainmenu ul li.home a {
  color: #999;
  background-color: transparent;
  background-image: url(../../../templates/images/background-menu.png);
}

#deanery .mainmenu >ul> li:hover >a {
  color: #51277F;
  background-color: #fff;
  opacity: 1;
}

.ie7 #deanery .mainmenu >ul> li:hover >a
.ie7 #deanery .mainmenu >ul> li:hover >a {
  background: #fff;
}

#deanery .mainmenu >ul> li.active >a {
  color: #51277F;
  opacity: 1;
}

#deanery .mainmenu ul li ul li,
#deanery .mainmenu ul li ul li:first-child,
#deanery .mainmenu ul li ul li a {
  border-color: #aaa;
  color: #333;
}

#deanery .mainmenu ul li ul li a:hover {
  color: #aaa;
}

#deanery .mainmenu ul li ul li.active a {
  background-color: #51277F!important;
}

#deanery .mainmenu ul li a.less {
  background-color: #51277F;
}

#deanery #navbar.fixmenu {
  bottom: auto;
  position: fixed;
  width: 1020px;
}

#deanery.home #content {
  padding-top: 25px;
}

#deanery .submenu > ul > li > a.active{
  background-image: none;
  background-color: #51277F;
  color: #fff;
}

#deanery .submenu ul {
  border-color: #51277F;
}

* =============== metamenu =============== */

#mobilemenu {
  display: none;
}

.metamenu {
  height: 40px;
  background-color: #fff;
  overflow: hidden;
}

.search {
  width: 355px;
  float: left;
  font-family: "HelveticaNeueW01-77BdCn 692722", arial, sans-serif;
  //background-image: none;
  background-repeat: no-repeat;
  background-position: 10px 10px;
  padding-top: 7px;
  padding-bottom: 8px;
}

.search input {
  border: none;
  font-family: "HelveticaNeueW01-77BdCn 692722", arial, sans-serif;
  font-size: 11px;
  background-color: #F1F1F1;
  margin-left: 40px;
}

.search input[type="text"] {
  width: 155px;
  padding: 6px 0 5px 8px;
  /*display:none;*/
}

.search input[type=image] {
  padding-left: 0px;
  margin-left: 0px;
  /*display:none;*/
}

/* Cookie-Fehler erstmal ausblenden auf Seite Login-Intern */
#tx_felogin_pi1 > p:nth-child(2) {display:none;}

.fn-logo {float:right;}


.logo-fb {
  position:relative;
  padding-right:5px;
  float:right;
  }
.logo-insta1 {
  position:relative;
  padding-right:5px;
  float:right;
  }
.logo-insta2 {
    position:relative;
    padding-right:5px;
  float:right;
    }
.logo-pdl {
  position:relative;
  padding-right:5px;
  float:right;
  }


@media (max-width: 1024px) {
  .fce-2 .col2 {
    width:200px;
  }
}
@media (max-width: 770px) { /* und kleiner */

  .metamenu {
     height: 40px;
  }
#deanery .mainmenu ul li ul li, #deanery .mainmenu ul li ul li:first-child, #deanery .mainmenu ul li ul li a {
    width: 99%;
}
#deanery .header {
    background-color: #fff;
}
#deanery .header-image img {
    display:none;
}

#deanery #mobilemenu {
    position: absolute;
    top: 70px;
}

  #deanery .mainmenu > ul > li#menuitem-10880 {
    width: 99%;
}

  .news-text {
    width: 100%;
  }
   /*.search {
    display: none;
   }*/

  .news-list-view .news-text {
    float: none; /* rausnehmen oder ersetzen durch float: none; */
    width: 85%; /* ersetzen durch width: 85%; */
  }

  .main-article-image {
   /*   float: left; */ /* rausnehmen oder ersetzen durch float: none; */
  }
  span.image-wrapper {
      display: none; /* fÃƒÆ’Ã‚Â¼r Landkarte */
  }

  .event-info {
    float: none; /* rausnehmen oder ersetzen durch float: none; */
    margin-left: 0px; /* rausnehmen */
    width: 95%; /* rausnehmen */
  }

  .fce-2 .col2 {
    float: none;
  }

  .top-article {
      display: block !important;
  }
  #slider-pagination {
      display: block;
      margin-bottom:15px;
  }

  .instagram-feedback-box {
    display:none !important;
  }

  h3 {
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
  }
  #deanery .header-menu-wrapper {
    height: 110px;
  }
  #deanery .header {
    height: 110px;
  }
  #deanery .logo-area {
   width: 100%;
   height: 110px;
  }
  #deanery .logo-area img {
    top: 0px;
    left: 10px;
  }
  #deanery .logo-area > a img {
    width: 230px;
  }

}
@media (max-width: 768px) {

.top-article .article-image-copyright {
     right:0px;
     bottom:14px;
  }

h1 {
    font-size: 1.2em;
  }


   p.news-teaser {
   font-weight:normal;
   font-size:100%;
   padding-top:5px;
   line-height:1.2;
   /*max-height:40px; */
}

.top-article .article-description .subtitle {font-size:9px;}
.fce-2 .col1 {
    width: 100%;
   }

   .news-list-view .news-text {
    width: 99%;
   }

  #pause-button { display: none; }
  .wrapper { width: 100% }
  .article-info {
    /*width: 100%;
    padding-right: 0;*/
    display:none;
  }
  .top-article { height: auto !important; }
  .top-article img, article-image-copyright { display: block !important;}
  .top-article .article-description {
    width: 90%;
    position: static;
  }
  .top-article .article-description h2 { font-size: 11px; }


   #deanery .mainmenu > ul > li.home {
    width: 100%;
   }

   #deanery .mainmenu > ul > li {
    width: 99%;
   }
   
  .news-list-view .news-text {
    float: none;
    width: 99%;
  }
  .main-article-image {
    /*   float: left; */ /* rausnehmen oder ersetzen durch float: none;*/
  }
  span.image-wrapper {
    display: block; /* für Landkarte */
  }
  .event-info {
    float: none;
    margin-left: 0; /* rausnehmen */
    width: 95%; /* rausnehmen */
  }
  .fce-2 .col2 { float: none }
  .instagram-feedback-box { display: none !important }
  .search {
    float: left;
    width: 320px;
  }
  .ver_box1 { margin-top: 110px }
  h3 {
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
  }

  .top-article {
      display: block !important;
  }
  #slider-pagination {
      display: block;
      margin-bottom:15px;
  }

}

@media screen and (max-width: 480px) {
   .top-article img, .article-image-copyright { display: block !important;}
}

