/*
  Archiv-CSS Teltower FV 1913 e.V.
  Patch fuer die statische 1:1-Spiegelung der alten Website.
*/

@font-face {
  font-family: "Borna Lato";
  src: url("./style/fontsrc_e1310842f2.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Borna Titillium";
  src: url("./style/fontsrc_84ba890d3b.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Borna Russo";
  src: url("./style/fontsrc_58a1ccd74f.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: auto;
  background: #aac8e0;
  height: auto !important;
  min-height: 100% !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

body {
  min-width: 320px !important;
  height: auto !important;
  min-height: 100% !important;
  max-height: none !important;
  overflow-y: auto !important;
  overflow-x: hidden;
  color: #111;
  background: #aac8e0 !important;
  font-family: "Borna Lato", Lato, Arial, Helvetica, sans-serif !important;
  font-size: 16px;
  line-height: 1.55;
}

#page,
#main,
.panel,
.panel-body,
.article_panel,
.widget {
  font-family: "Borna Lato", Lato, Arial, Helvetica, sans-serif !important;
}

body.modal-open,
html.modal-open {
  overflow-y: auto !important;
  padding-right: 0 !important;
}

#page,
#main,
#content,
.container,
.container-fluid,
.row,
.shrow,
.shcol {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

#page,
#main,
#content,
.shrow,
.shcol {
  overflow: visible !important;
}

#mainmenu .navbar-nav a,
#mainmenu .navbar-default .navbar-brand {
  font-family: "Borna Titillium", "Trebuchet MS", Arial, sans-serif !important;
  font-weight: 700;
}

#main .widget .panel > .panel-heading,
#main .widget .panel > .panel-heading h1,
#main .widget .panel > .panel-heading h2,
#main .widget .panel > .panel-heading h3,
.carousel-caption,
.carousel-caption h2 {
  font-family: "Borna Russo", "Arial Black", Arial, sans-serif !important;
}

/*
  Teltow-specific typography restore.
  The source design uses Lato for text, Arial for menus/panel headers,
  Orbitron for the site title, and Calligraffitti for the page title band.
*/
html,
body {
  background: #e30000 !important;
}

body,
#page,
#main,
.panel,
.panel-body,
.article_panel,
.widget {
  font-family: Lato, Arial, Helvetica, sans-serif !important;
}

#mainmenu .navbar-nav a,
#mainmenu .navbar-default .navbar-brand,
#main .widget .panel > .panel-heading,
#main .widget .panel > .panel-heading h1,
#main .widget .panel > .panel-heading h2,
#main .widget .panel > .panel-heading h3,
#main .widget .panel > .panel-heading .nav-tabs li a,
#footer,
#footer a {
  font-family: Arial, Helvetica, sans-serif !important;
}

#site-title a,
#site-title a:active,
#site-title a:visited,
#site-title a:hover {
  font-family: Orbitron, Arial, Helvetica, sans-serif !important;
}

#pageinfo h1 {
  font-family: Calligraffitti, "Comic Sans MS", cursive !important;
  font-weight: 400 !important;
}

a {
  color: #1a68b7;
}

a:hover,
a:focus {
  color: #0e4380;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

img[src=""],
img:not([src]),
img[src^="data:image/gif;base64,R0lGODlhAQABAIA"] {
  display: none !important;
}

#header {
  margin-bottom: 48px;
}

#emblem img,
.navbar-brand img {
  display: inline-block !important;
  width: auto !important;
  max-width: 299px !important;
  max-height: 118px !important;
}

#mainmenu {
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
}

#main .widget {
  margin-bottom: 48px;
}

#main .widget .panel {
  box-shadow: 4px 6px 18px rgba(0, 0, 0, .42);
}

.carousel .item:after {
  pointer-events: none !important;
  position: absolute !important;
}

.sponsor_preview_container {
  overflow: hidden;
}

.sponsor_preview img,
img.sponsor_preview {
  width: auto !important;
  max-width: 220px !important;
  max-height: 88px !important;
  object-fit: contain;
}

.thumbnail img,
img.thumbnail,
.article_panel img,
.img-widget-box img {
  object-fit: contain;
}

.uc-embedding-wrapper,
.uc-embedding-container,
#usercentrics-root,
[data-testid*="uc-"],
.modal-backdrop,
a[href*="login"],
a[href*="/Login"],
form[action*="login"],
.article-pin,
.article-unpin,
.article-pin-down,
.article-pin-up,
.ajax-delete-link,
.create-event,
a[href*="/article/update"],
a[href*="./article/update"],
a[href*="/article/delete"],
a[href*="./article/delete"],
a[href*="/page/widgetUpdateParams"],
a[href*="./page/widgetUpdateParams"],
a[href^="javascript:UC_UI"] {
  display: none !important;
}

.processing,
.preloader,
.loader,
.spinner,
.loading,
[class*="cookie"],
[id*="cookie"] {
  max-width: 100%;
}

@media (max-width: 760px) {
  table {
    max-width: 100%;
  }

  #header {
    margin-bottom: 24px;
  }

  #main .widget {
    margin-bottom: 30px;
  }
}

/* Static archive: remove external consent/tracking/map service surfaces. */
#usercentrics-root,
.usercentrics-root,
[data-testid*="uc-"],
[id^="uc-"],
a[href^="javascript:UC_UI"],
.widget-google-maps,
.sh-no-consent,
.gmap-loading,
.g-google-map,
.sh-recaptcha {
  display: none !important;
}

