/* neues dunkelrot für Stadtkirche */

/* overall */
a {color: #a73023;}
a:hover {color:#da5b4e;}
.link-internal-more {border:solid 2px #3d3730;}
.link-button {color:#fff; background-color:#a73023;}
.link-button:hover {background-color:#878787; color:#fff;}
#topnav {background-color: #a73023;}
#contact {background-color:#a73023; background-image: linear-gradient(#a73023, #691f16); color:#fff;}  /* Verlauf: oben, unten */

/* TEST */
/* #site_872 #contact {background-color:#a73023; background-image: linear-gradient(#ff8800, #a73023); color:#fff;} */
/* TEST */

.allnews {border: solid 2px #a73023;}
.allnews:hover {border:solid 2px #1a3145 !important;}

#servicenav li a {color:#010101;}

/* dynlogo */
#homelink {color:#a73023;}
#homelink .logo span {color:#a73023;}

#mobile-header {background-color:#a73023;}

#topnav a { font-weight: normal; }
#topnav ul li.act > a,
#topnav ul li > a:hover {color:#e8968c;}  /* oder #aaa */
#topnav .secondlvl li:hover > a,
#topnav .secondlvl li.act > a {color:#a73023; text-decoration:none;}

.shariff .shariff-button a {color:#a73023;}

#metanav a, footer .infotext a {color:#fff;}
#metanav a:hover, footer .infotext a:hover {color:#fff!important; opacity: .75;}

/* mobile menu */
#sidr-main #firstlvl > li.act > a,
#sidr-main #firstlvl ul > li.act > a {color:#a73023;}

/* slider home */

/* NEU 1 = Mitte, 2 = links, 3 = rechts */
.tx-ff-owl-slider .layout-1 .slider-caption {background-color:#fff;}
.tx-ff-owl-slider .layout-1 picture::after {background: rgba(0,0,0,0.0);}
.tx-ff-owl-slider .layout-1 h3 {color:#000; margin-top: 30px;}
.tx-ff-owl-slider .layout-1 p {color:#000;}

.tx-ff-owl-slider .layout-2 .link-more,
.tx-ff-owl-slider .layout-3 .link-more,
.tx-ff-owl-slider .layout-1 .link-more {background-color: #a73023; color: #fff; border-radius: 7px; margin-bottom: 30px;}
.tx-ff-owl-slider .layout-2 .link-more:hover,
.tx-ff-owl-slider .layout-3 .link-more:hover,
.tx-ff-owl-slider .layout-1 .link-more:hover {background-color: #dc6558;}

@media only screen and (min-width: 769px) {
 .tx-ff-owl-slider .layout-1 .slider-caption {
   max-width: 45%;
   min-width: 400px;
   width: auto;
 }
}

/* losung */
#losungen-main .links-bottom a {color:#a73023;}
#losungen-main .losung-nav a {color:#a73023;}
#losungen-main .losung-nav a:hover {color:#333;}

#innerwrapper .col-25 #losungen-main .losung-nav a i {color:#feb81a;}

/* news */
/* list */
.news-list-item h3 a,
.news-list-item .news-list-image a {color:#1a3145;}
.news-list-item h3 a:hover,
.news-list-item .news-list-image a:hover {color:#feb81a;}

/* category selector */
.news-catmenu .event-btn,
.news-catmenu .reset-catfilter {color:#fff; background-color:#a73023;}
.news-catmenu .event-btn:hover,
.news-catmenu .reset-catfilter:hover {background-color:#878787; color:#fff;}

.tx-ttnews-browsebox td:hover,
.tx-ttnews-browsebox .tx-ttnews-browsebox-SCell {background-color: #a73023; border: 1px solid #a73023;}
.tx-ttnews-browsebox .tx-ttnews-browsebox-SCell a {background-color: #a73023; border: 1px solid #a73023;}

.news-single-item h2 {color:#a73023;}

.news-single-backlink a {color: #fff; background-color:#a73023;}
.news-single-backlink a:hover {background-color:#dc6558;}

/* ff-list */
.tx-fflist .list th:after {color:#a73023;}
.tx-fflist .result-page-browser ul li a,
.result-page-browser ul li .dots {color:#a73023;}
.tx-fflist .result-page-browser ul li a:hover,
.tx-fflist .result-page-browser ul li.cur a {background-color:#a73023; color:#fff;}

/* grids */
.full-2 .cols {background-color: #a73023;}
.full-2 .link-internal-more {color:#000; background-color: #feb81a;}

/* cal */
.style-2 .cal-button a {color:#fff;}
.style-2 .cal-button a:hover {color:#fff;}

.cal-list-event .cal-button a {color: #fff; background-color: #a73023;}
.cal-list-event .cal-button a:hover {background-color: #878787; color: #fff;}

.home .style-2 .cal-search-widget {border-top: 1px solid #f2d4b2;}
.home .style-2 .btn-group button {color:#fff; background-color:#3d3730;}
.home .style-2 .btn-group button:hover {color:#fff; background-color:#333;}

.full-2 .link-button { color: #fff; background-color: #3d3730; }
.full-2 .link-button:hover { color: #fff; background-color:#878787; }


.cal-latest-event-info .cal-category,
.cal-list-event-info .cal-category {color: #3d3730;}
.style-default .cal-widget-time {background-color:#a73023;}
.style-default .cal-widget-date {background-color:#3d3730;}

.cal-show-event .cal-category {color:#3d3730;}

#calPagination li a {color:#1b3043;}
#calPagination li.active a,
#calPagination li a:hover {color:#fff; background-color:#a73023; border:1px solid #a73023;}

.cal-show-event .btn {background-color:#a73023;}
.cal-show-event .btn:hover {color: #fff; background-color: #878787;}

.home .style-2 .allevents {color:#fff; background-color:#a73023 !important;}
.home .allevents, .home .cal-nav-buttons .allevents {border:solid 2px #a73023;}
.home .cal-nav-buttons .allevents:hover { color: #3d3730; border: solid 2px #3d3730; }
/* powermail */
.powermail_fieldwrap .powermail_submit {background-color:#a73023;}
.powermail_fieldwrap .powermail_submit:hover {background-color:#feb81a;}

/* search */
.tx-indexedsearch-search-submit input {color: #fff; background-color:#a73023;}
.tx-indexedsearch-search-submit input:hover {background-color:#feb81a;}

.tx-indexedsearch-browsebox .tx-indexedsearch-browselist-currentPage a,
.tx-indexedsearch-browsebox li a:hover {background-color: #a73023; border: 1px solid #a73023;}

/* remoge content */
.navigation ul > li > a { background-color:#ffe5aa; color:#1a3145; border-bottom: 1px solid #fff;}
.navigation ul > li.cur > a,
.navigation ul > li.act > a {color:#a73023; font-family:Roboto,sans-serif;}
.navigation ul ul li a {color:#888; background-color:#fff4db;}
.navigation ul ul > li.cur > a {color:#333;}

.col-pos-9 .bg-gray {background-color: #f5f5f5;}

/* accordion */
.frame-layout-2 h2 {color:#a73023;}
.frame-layout-2 h2:hover,
.frame-layout-2 .act h2 {background-color:#a73023;}

/* addressviewer */
#user-lkbsaddress-institution-search-form .submit input {color: #fff; background-color:#a73023;}
#user-lkbsaddress-institution-search-form .submit input:hover {background-color:#feb81a; color:#1a3145;}


@media only screen and (max-width: 1024px) {
  /* overwrite colors from home.css */
  #losungen-main .losung-nav a i {color:#a73023 !important;}
}

@media only screen and (max-width: 990px) {
  #searchform {background-color:#feb81a;}
}

@media only screen and (max-width: 640px) {
  .style-2 .cal-data .cal-latest-event {border-bottom: 1px solid #f2d4b2 !important;}
  .style-2 .cal-data .cal-latest-event:nth-child(2n) {border-bottom:none !important;}
}

@media only screen and (max-width: 480px) {
  .tx-ff-owl-slider .layout-1 .slider-caption {background-color:#f5f5f5;}
}

/* ipad pro */
/* Landscape */
@media only screen
  and (min-width: 1024px)
  and (max-height: 1366px)
  and (orientation: landscape)
  and (-webkit-min-device-pixel-ratio: 1.5) {
    .touchdevice #topnav ul, #searchform {background-color:#a73023;}
}


/* Ergänzungen Wbb */

/* Social-Bar auf Startseite unterdrücken, klappt nicht über Konstante root: socialmedia_off = 1 */
#socialbar {
  display: none;
}

/* Headerbild */
#headerimg {
  overflow: hidden;
  position: relative;
  background-color: #fff;  /* org: #f5f5f5 */
  min-height: 60px;  /* org: 300px; */
  height: auto;
}

#headerimg .frame-type-text p {
  display: block;
  width: 1024px;
  margin: 0 auto;
  padding: 0 15px;
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: RobotoItalic, sans-serif;
  font-size: 32px;
  font-size: 3.2rem;
  line-height: 42px;
}

#headerimg figure {
  line-height: 0;
}

#headerimg img {
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;  /* org: cover */
}

#headerimg figure img.image-embed-item {
  max-width: 100%;
  width: auto;
  height: auto;
}

.clear { clear: both !important; }

/* Farben für Kirchengemeinden */
.morebk .frame:nth-child(1) a {
  background-color: #ff8800;  /* orange */
}

.morebk .frame:nth-child(2) a {
  background-color: #7e9e26;
}

.morebk .frame:nth-child(3) a {
  background-color: #7e9e26;
}

.morebk .frame:nth-child(4) a {
  background-color: #7e9e26;
}

.morebk .frame:nth-child(5) a {
  background-color: #7e9e26;
}

.morebk .frame:nth-child(6) a {
  background-color: #7e9e26;
}

.morebk .frame:nth-child(7) a {
  background-color: #7e9e26;
}

.morebk .frame:nth-child(8) a {
  background-color: #7e9e26;
}

.morebk .frame:nth-child(9) a {
  background-color: #7e9e26;
}

.morebk .frame:nth-child(10) a {
  background-color: #7e9e26;
}

#multinav {
  display: block !important; /* für TEST */
}

#multinav .dropdown {
  width: 350px;
}

#multinav ul {
  width: 350px;
}

.link-more:hover {
 background-color: #dc6558 !important;
}

.news-list-item .news-list-morelink a {
 text-transform: none;
}

div.home header h3 {
 min-height: 4.5em;
}

div.logo {
 min-width: 300px;
 max-width: 600px;
 min-height: 80px;
 padding-top: 0;
 padding-left: 135px;
 background: url(/fileadmin/2_Stadtkirche/stadtkirche_mini.jpg) no-repeat center left;
 background-size: 120px;  /* oder contain */
}

#topbox form#searchform {
  position: relative;
  margin-top: 34px;
}

.image-embed-item {
  max-width: 100%;
  width: auto;
  height: auto;
}

table.orgel {
  max-width: 100%;
  width: 630px;
  background: #eee;
  padding: 10px;
}

table.orgel p {
  margin: 0 0 4px 0;
}

.rot {
  color: #a00;
}

.full-2 h2 { margin-top:20px !important; }

@media only screen and (min-width: 991px) {
  #topbox .searchform {
    display: block !important;
  }
}

/* morebk mit 5 statt 4 Elementen */
.morebk-4-col > .frame {width:18.4%; margin-right:2%; margin-bottom:35px;}
.morebk-4-col > .frame:nth-child(4n) { margin-right: 2%;}
.morebk-4-col > .frame:nth-child(5n) { margin-right: 0;}
.morebk-4-col h3 {padding:12px 12px; font-size:18px; font-size:1.8rem; hyphens:none;}

@media only screen and (max-width: 1024px) {
 .morebk-4-col > .frame {width:32%;}
 .morebk-4-col > .frame:nth-child(3n) {margin-right:0%;}
 .morebk-4-col > .frame:nth-child(5n) {margin-right:2%;}
}

@media only screen and (max-width:640px) {
 .morebk-4-col h3 { font-size: 1.0em; line-height: 125%; padding: 6px 4px 4px 4px; text-align: left;  hyphens: auto; }
 .morebk-4-col > .frame:nth-child(2n) {margin-right:2%;}
 .morebk-4-col > .frame:nth-child(3n) {margin-right:0%;}
 .morebk-4-col > .frame:nth-child(5n) {margin-right:2%;}
}


/* Keine Texte in Großbuchstaben */
div.cal-list-title, a.link-more, a.allnews, a.btn, div.losung-nav a, div.links-bottom a {
  text-transform: none !important;
  font-size: 1.1em !important;
}

/* Links als PDF automatisch mit Logo */
a[href$=".pdf"] {
  background: transparent url(/typo3/sysext/frontend/Resources/Public/Icons/FileIcons/pdf.gif) left center no-repeat;
  padding: 2px 4px 2px 24px;
  line-height: 140%;
  opacity: 1.0
}

a[href$=".pdf"]:hover {
  background-color: #fff;
  opacity: .8
}

/* nicht bei PDF über "downloads" */
div.tx-mitdownload-pi1-text a[href$=".pdf"] {
  background: none !important;
}

/* nicht im Slider */
div.owl-item a[href$=".pdf"] {
  background-image: none !important;
}

p.pdf {
  text-indent: -24px;
  margin-left: 24px;
}

/* Back to Top */
a.back-to-top {
  color: #fff;
  background: #a73023;
  border: 1px solid #fff;
  border-radius: 9px;
  font-size: 1.3em;
  line-height: 100%;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
  padding: 8px 10px 12px 10px;
}

a.back-to-top:link {
  text-decoration: none;
  color: #fff !important;
  background: #a73023 !important;
  opacity: 0.6;
}

a.back-to-top:hover {
  text-decoration: none;
  opacity: 1.0;
}

#content p a { font-weight: bold; text-transform: none; }

#content li a { font-weight: bold; text-transform: none; }

#content .ce-bodytext p a { font-weight: bold; }

#content .news-list-morelink a { font-weight: normal !important; }

.btn, link-more { font-weight: normal !important; border-radius: 7px; }

.news-single-backlink .btn::before {content:"\f104"; margin-right:8px; font-family:"Font Awesome 5 Free"; font-style:normal; font-weight:900;}

.news-list-morelink a { background: #a73023; color: #fff; padding: 10px 12px 10px 12px; border-radius: 7px; }

.news-list-morelink a::after {content:"\f105"; margin-left:8px; font-family:"Font Awesome 5 Free"; font-style:normal; font-weight:900; font-size:1em; }

.news-list-morelink a:hover { background: #dc6558; color: #000; }

.cal-nav-buttons { margin-top: 20px; }
.cal-nav-buttons a { background: #7e9e26; color: #fff; padding: 10px 12px 10px 12px; border-radius: 7px; }

/* für Rücksprung Termine */
.cal-nav-buttons a.btn.btn-default { background: #a73023; color: #fff; padding: 10px 12px 10px 12px; border: none; border-radius: 7px; }
.cal-nav-buttons a.btn.btn-default:hover { background: #dc6558; color: #000; }

/* Gottesdienste Startseite unten, zurück hier sinnlos */
.home .cal-nav-buttons a.btn.btn-default { display: none; }

.home .style-2 .cal-button a {
 color: #fff;
}

.home .style-2 .cal-button a:hover {
 color: #000;
}

.cal-button { margin-bottom: 10px; }
.cal-button a { background: #7e9e26; color: #fff; padding: 10px 12px 10px 12px; border-radius: 7px; }

.cal-button a.btn { background: #a73023; color: #fff; padding: 10px 12px 10px 12px; border: 1px solid #fff; border-radius: 7px; }

.cal-button a.btn:hover { background: #dc6558; color: #000; }

.news-single-backlink a { text-transform: none; border-radius: 7px; }

.news-single-author { font-style: italic; border-bottom: none; }

.news-single-image { margin-top: 0.5em; }

a.lightbox { cursor: zoom-in; }

.news-list-image {
  margin-left: 2%;
  width: 30%;
  margin-top: 2.7em;
}

.news-single-item .news-single-imgcaption {
  max-width: 360px;
  width: auto !important;
}

em {
 font-family: RobotoItalic, sans-serif;
 font-style: normal;
}

.news-list-container .news-list-item {
  display: block; /* orig: flex */
}

.news-list-item .news-list-image {
  float: right;
}

.news-single-image {
  float: right;
  margin-left: 20px;
}

.news-single-item .news-single-content {
  display: block; /* orig: flex */
}

.home .news-list-container .news-list-item {
  display: block;  /* orig: flex */
}

.home #c367 .news-list-container .news-list-item {
  display: block;  /* für News-Latest LK-BS */
}

.home #c367 .news-list-item .news-list-image {
  max-width: 40% !important;
}

/* Schreib-Datum News ausblenden */
.news-list-date {
  display: none;
}

.abgesagt {
  border: 2px solid #ff6000;
  border-radius: 7px;
  padding: 10px 15px 10px 15px;
  font-weight: normal;
  font-size: 1.1em;
  color: #ff6000;
  display: inline-block;
  box-shadow: 2px 4px 4px #aaa;
}

@media only screen and (max-width: 1024px) {
 .news-single-item .news-single-content {flex-wrap:wrap;}
 .news-single-text {width:100%;}
 .news-single-image {display:flex; flex-wrap:wrap; width:100%;}
 .news-single-subimage {width:23.5%; margin-right:2%;}
 .news-single-subimage:nth-child(4n) {margin-right:0;}
 .news-single-subimage img {width:100%; height:auto;}

 .col-1 .news-list-container {margin-top: 24px; margin-bottom: 50px;}
 .col-1 .news-list-container .news-list-item {width:100%; margin-right:0; padding:0; margin-bottom:30px; padding-bottom:30px; box-shadow:none; border-bottom:1px solid #dee9ef;}
 .col-1 .news-list-container .news-list-item:last-child {border-bottom:0; margin-bottom:0;}
}

@media only screen and (max-width: 768px) {
 .news-list-item .news-list-image {display:block; max-width: 30% !important; float:right !important;}  /* orig: none */
 .news-list-item .news-list-text {width:100%; margin-right:0;}

 .news-list-container .news-list-item {
  display: block;  /* orig: flex */
 }

 .news-single-subimage {width:49%; margin-right:2%;}
 .news-single-subimage:nth-child(3n) {margin-right:2%;}  /* falsch: 0 */
 .news-single-subimage:nth-child(2n) {margin-right:0;}

 .col-1 .news-list-item .news-list-text {width:100%;}
}

@media only screen and (max-width: 480px) {
 .news-list-item h3 { font-size: 1.4em; line-height: 125%; }

 .news-list-item .subheader p { font-size: 1.2em; }
 .news-single-item .news-single-content {
   display: block; /* orig: flex */
 }

 .home .news-list-container .news-list-item {
   display: block; /* orig: flex */
 }

 .news-single-subimage {width:100%; margin-right:0;}
 .news-single-subimage .news-single-imgcaption {width:95% !important;}
}

/* Ort in List-Ansicht */
.ort { margin-left: 2.0em; text-indent: -2.0em; line-height: 120%; font-weight: bold; }
.ort span { font-weight: normal; }

/* Schrift Kirche größer */
.cal-list-type {
  font-size: 0.85em !important;
  margin-left: -4px;
/*  hyphens: auto; */
}

/* für Seite GD ggf. nicht anzeigen */
#site_377 .ort { display: block; }

/* Lastest-Ansicht */
.cal-latest-title, .cal-list-title {
  margin-bottom: 10px;
}

.home .style-default .cal-latest-event > div:first-child {
  max-width: 100%;
  width: 360px;  /* orig: 215px */
  margin: 0;
}

/* Linie oben Home GD suchen */
.home .style-2 .cal-search-widget {
  border-top: 1px solid #4a5f16;
}

/* Akkordion */
 .frame-layout-2 .text-frame, .frame-layout-2 .ce-textpic {
  display: block;
}

 .frame-layout-2 h2:hover, .frame-layout-2 h2:hover {
  background: #f5f5f5;
  color: #a73023;
  cursor: default;
}

/* siehe functions_header_3 */

/* Link auf Slider blockieren */
#owlslider .item.layout-1 {
  pointer-events: none;
}

#owlslider a.link-more {
  pointer-events: auto !important;
}

/* E-Mail */
.link-mail, .mail {
  font-weight: bold !important;
}

/* Single-Ansicht Kalender */
@media only screen and (min-width: 642px) {
  .cal-show-event .cal-show-detail .cal-timer-widget {
    max-width: 33%;
  }
}

/* Navigation im Footer */
/* siehe main.css */
#metanav li { display: inline-block; }  /* orig: inline */
#metanav a { margin: 0 15px; }          /* orig: margin: 0 30px; */

@media only screen and (max-width: 768px) {
  #metanav li {
    display: block;
  }
}

#contact {
  padding: 50px 0 40px;  /* oben rechts/links unten */
}

#contact h3 {
  margin-bottom: 40px;  /* orig: 90px */
}

.infotext {display: flex; flex-wrap: wrap; justify-content: center; margin: 0 auto 90px;}

.infotext {display: flex; flex-wrap: wrap; justify-content: center; margin: 0 auto 60px auto;}
.infotext div {font-size: 20px; font-size: 2rem; line-height: 40px; line-height: 4rem;}
.infotext div:last-child {margin-left: 6%;}  /* orig: 8% */

@media only screen and (max-width: 1024px) {  /* orig: 768px */
 .infotext {display: block; margin-bottom: 40px; text-align: center;}
 .infotext div {font-size: 18px; font-size: 1.8rem; line-height: 28px; line-height: 2.8rem;}
 .infotext div:last-child {margin-left: 0;}
}

/* Footerbottom */
#footerbottom {
  padding: 30px 0;  /* oben/unten links/rechts | orig: 50px 0 */  
}

@media only screen and (max-width: 768px) {
  #footerbottom {padding: 30px 30px 70px; max-width: 560px;}  /* oben rechts/links unten */
}

/* Latest-Ansicht auf Home */
.home .style-default .cal-timer-widget {
  width: auto !important;
}

.home .tx-nf-lkcal {
  margin: 0 0 40px 0;  /* orig: 50px 0 (oben/unten links/rechts) */
  padding: 0 55px 0 10px;
}

/* Hauptmenü KGV andere Farbe */
#topnav ul#firstlvl  li.last > a[href*="kirchengemeindeverband-koenigslutter.de"] {
  color: #fff;
  background: #7e9e26;
  padding-left: 8px;
  padding-right: 8px;
}

#topnav ul#firstlvl li.last > a[href*="kirchengemeindeverband-koenigslutter.de"]:hover {
  color: #000;
  background: #7e9e26;
}

/* Bei Gottesdiensten keine doppelte Kategorie anzeigen */
.cal-category {
  display: none;
}

/* Absatz rechtsbündig, Text zentriert */
p.right {
  float: right;
  margin-left: 10px;
  text-align: center;
}

/* Absatz linkssbündig, Text zentriert */
p.left {
  float: left;
  margin-right: 10px;
  text-align: center;
}

/* Karte aus OpenStreetMap */
#openstreetmap {
  margin: 10px 0 10px 0;
}

@media only screen and (max-width: 768px) {
 #openstreetmap {
   margin-right: 10px; /* damit für Mobile Platz zum Scrollen bleibt */
 }
}

#openstreetmap iframe {
  border: 1px solid #aaa;
  max-width: 100%;
  width: 600px;
  height: 600px;
}

/* Startseite GD unten */
.home #c1651 h2 {
  font-size: 3.0rem !important;
  padding-top: 10px !important;
}

.home p.ort {
  display: none;
}

/* Detail GD */
.cal-show-event .cal-info {
  margin-left: 0 !important;
}

/* Download-Bereich neu 2024 */
header h2 {
  clear: both;
}

h3.download-title {
  font-size: 1.02em;
  min-height: 85px;
}

.tx-nf-lkdownload.default {
  clear: both;
}

.tx-nf-lkdownload .download-item {
  max-width: 50%;
  width: 222px;
  float: left;
}

.col-25 .tx-nf-lkdownload .download-item {
  max-width: 100%; /* rechte Spalte */
  width: 100%;
  margin-top: 60px;
}

.tx-nf-lkdownload .download-item .col1 {
  margin-bottom: -25px;
}

/* Suchergebnis mit : */
span.tx-indexedsearch-result-number {
  color:#555
}
span.tx-indexedsearch-result-number::after {
  content:": "
}

#site_785 .cal-date-weekday {
  width: 240px !important;
}

.cal-latest-inner {
  width: 108% !important;
  padding-left: 4px !important;
}

.cal-latest-title {
  min-height: 2.6em;
}