/*
 * Benutzerdefiniertes Cassiopeia-Template
 * Wassersportverein Rehköppel e. V.
 */

/* =========================================================
   Farben
   ========================================================= */

:root {
  --cassiopeia-color-primary: #68747b;
  --cassiopeia-color-link: #797979;
  --cassiopeia-color-hover: #526b78;
  --body-color: #393939;
  --body-bg: #ffffff;
}

/* =========================================================
   Seitenhintergrund und weißer Seitenbereich
   ========================================================= */

html {
  min-height: 100%;
  background:
    linear-gradient(
      rgb(255 255 255 / 12%),
      rgb(255 255 255 / 12%)
    ),
    url("/images/headers/hintergrundsee.jpg")
    center center / cover fixed no-repeat;
}

body {
  width: min(1024px, calc(100% - 32px)) !important;
  min-height: calc(100vh - 24px);
  margin: 12px auto !important;
  padding: 0;
  color: #393939;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  background: #ffffff !important;
  border: 1px solid #aeb7bd;
  box-shadow: 0 0 16px rgb(0 0 0 / 25%);
}

/* =========================================================
   Kopfbereich
   ========================================================= */

.container-header {
  color: #666666;
  background: #ffffff !important;
  background-image: none !important;
  box-shadow: none !important;
}

.container-header .container-nav {
  padding: 0;
}

.container-header .navbar-brand {
  width: 100%;
  margin: 0;
  padding: 17px 57px 14px;
}

.container-header .navbar-brand a,
.container-header .brand-logo,
.container-header .brand-logo a,
.container-header .site-title {
  color: #767676 !important;
  font-family: "Times New Roman", Times, serif;
  font-size: 19px;
  font-weight: normal;
  line-height: 20px;
  letter-spacing: 4px;
  text-decoration: none;
}

.container-header .navbar-brand a:hover,
.container-header .brand-logo a:hover {
  color: #526b78 !important;
  text-decoration: none;
}

/* =========================================================
   Banner
   Originalmaß: 900 × 75 Pixel
   ========================================================= */

body.wrapper-fluid .container-banner,
body:not(.has-sidebar-right) .container-banner,
.container-banner {
  width: 910px;
  max-width: calc(100% - 32px);
  margin: 0 auto 18px !important;
  padding: 0 !important;
}

.container-banner .mod-custom,
.container-banner p {
  width: 100%;
  margin: 0;
  padding: 0;
}

.container-banner img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  box-sizing: border-box;
  object-fit: contain;
  padding: 4px 4px 2px;
  background: #ffffff;
  border: 1px solid #e2e2e2;
}

/* =========================================================
   Hauptbereich
   ========================================================= */

body.wrapper-fluid .site-grid,
.site-grid {
  min-height: 0px;
  margin-top: 0 !important;
  padding: 0 57px 30px !important;
  background: #ffffff;
}

/* Hauptinhalt */

main {
  min-width: 0;
  padding: 0;
}

/* =========================================================
   Modulbereiche links und rechts
   ========================================================= */

.sidebar-left,
.sidebar-right {
  min-width: 0;
}

.sidebar-left .card,
.sidebar-right .card {
  background: transparent;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
}

.sidebar-left .card-header,
.sidebar-right .card-header {
  min-height: auto;
  margin: 0 0 10px;
  padding: 10px 0 0;
  color: #767676;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 10px;
  font-weight: bold;
  line-height: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e2e2e2;
}

.sidebar-left .card-header h1,
.sidebar-left .card-header h2,
.sidebar-left .card-header h3,
.sidebar-left .card-header h4,
.sidebar-right .card-header h1,
.sidebar-right .card-header h2,
.sidebar-right .card-header h3,
.sidebar-right .card-header h4 {
  margin: 0;
  color: #767676;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 10px;
  font-weight: bold;
  line-height: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sidebar-left .card-body,
.sidebar-right .card-body {
  padding: 0;
}

/* =========================================================
   Linke Navigation
   ========================================================= */

.sidebar-left .mod-menu {
  display: block;
  margin: 0 0 20px !important;
  padding: 0 !important;
  list-style: none;
}

.sidebar-left .mod-menu li {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  background: none;
  border-bottom: 1px solid #e6e6e6;
}

.sidebar-left .mod-menu li:last-child {
  border-bottom: 0;
}

.sidebar-left .mod-menu a,
.sidebar-left .mod-menu span {
  display: block;
  margin: 0;
  padding: 7px 0;
  color: #a0a0a0;
  font-family: "Times New Roman", Times, serif;
  font-size: 11px;
  font-weight: normal;
  line-height: 12px;
  letter-spacing: 2px;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
}

.sidebar-left .mod-menu a:hover,
.sidebar-left .mod-menu li.active > a,
.sidebar-left .mod-menu li.current > a {
  color: #797979;
  text-decoration: none;
}

.sidebar-left .mod-menu li.active > a,
.sidebar-left .mod-menu li.current > a {
  font-weight: bold;
}

/* Untermenüs */

.sidebar-left .mod-menu .mod-menu__sub {
  margin: 0 0 0 15px;
  padding: 0;
  list-style: none;
}

.sidebar-left .mod-menu .mod-menu__sub a {
  font-size: 10px;
  letter-spacing: 1.5px;
}

/* =========================================================
   Breadcrumbs
   ========================================================= */

.breadcrumb {
  margin-bottom: 15px;
  padding: 8px 12px;
  color: #777777;
  font-size: 12px;
  background: #f5f5f5;
  border-radius: 0;
}

.breadcrumb a {
  color: #797979;
}

/* =========================================================
   Überschriften
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6,
.item-title,
.page-header {
  color: #a0a0a0;
  font-family: "Times New Roman", Times, serif;
  font-weight: normal;
}

h1 {
  margin: 0 0 15px;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: 1px;
}

h2 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: 2px;
}

h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 2px;
}

h4 {
  font-size: 14px;
  font-weight: bold;
  line-height: 19px;
}

h5 {
  font-size: 12px;
  font-weight: bold;
  line-height: 18px;
}

h6 {
  font-size: 11px;
  font-weight: bold;
  line-height: 17px;
}

/* =========================================================
   Texte und Links
   ========================================================= */

p {
  margin: 0;
  padding: 5px 0;
}

a {
  color: #797979;
  text-decoration: underline;
}

a:hover,
a:focus {
  color: #526b78;
  text-decoration: none;
}

/* =========================================================
   Bilder und Galerie
   ========================================================= */

img {
  max-width: 100%;
  height: auto;
}

.com-content-article img,
.com-joomgallery img,
main img {
  max-width: 100%;
  height: auto;
}

/* Das Banner behält seine eigene Größenregel */

.container-banner img {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
}

/* =========================================================
   Formulare und Schaltflächen
   ========================================================= */

input,
select,
textarea,
button {
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.form-control {
  border-color: #d5d5d5;
  border-radius: 0;
}

.btn {
  border-radius: 2px;
}

.btn-primary {
  color: #ffffff;
  background-color: #68747b;
  border-color: #68747b;
}

.btn-primary:hover,
.btn-primary:focus {
  color: #ffffff;
  background-color: #526b78;
  border-color: #526b78;
}

/* =========================================================
   Footer
   ========================================================= */

.container-footer {
  padding: 15px 57px;
  color: #a0a0a0;
  font-family: "Times New Roman", Times, serif;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: #ffffff !important;
  background-image: none !important;
  border-top: 1px solid #e2e2e2;
  box-shadow: none;
}

.container-footer a {
  color: #a0a0a0;
}

/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 900px) {
  body.wrapper-fluid .site-grid,
  .site-grid {
    padding-right: 30px !important;
    padding-left: 30px !important;
  }

  .container-header .navbar-brand {
    padding-right: 30px;
    padding-left: 30px;
  }
}

/* =========================================================
   Smartphone
   ========================================================= */

@media (max-width: 768px) {
  html {
    background: #ffffff;
  }

  body {
    width: 100% !important;
    min-height: 100vh;
    margin: 0 !important;
    border: 0;
    box-shadow: none;
  }

  .container-header .navbar-brand {
    padding: 18px 16px 14px;
  }

  .container-header .navbar-brand a,
  .container-header .brand-logo,
  .container-header .brand-logo a,
  .container-header .site-title {
    font-size: 16px;
    line-height: 21px;
    letter-spacing: 2px;
  }

  body.wrapper-fluid .container-banner,
  body:not(.has-sidebar-right) .container-banner,
  .container-banner {
    width: auto;
    max-width: none;
    margin: 0 16px 16px !important;
  }

  .container-banner img {
    width: 100% !important;
    height: auto !important;
  }

  body.wrapper-fluid .site-grid,
  .site-grid {
    min-height: 0;
    padding: 0 16px 25px !important;
  }

  h1 {
    font-size: 22px;
    line-height: 27px;
  }

  h2 {
    font-size: 19px;
    line-height: 24px;
  }

  .container-footer {
    padding-right: 16px;
    padding-left: 16px;
  }
}
/* Leerraum zwischen Banner und Inhalt begrenzen */
.container-banner {
  line-height: 0;
}

.container-banner .mod-custom {
  height: auto !important;
  min-height: 0 !important;
}

.container-banner p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0;
}

.container-banner br {
  display: none;
}

/* Inhaltsbereich direkt nach dem Banner */
.container-banner + .site-grid {
  margin-top: 0 !important;
}

/* Äußere Rahmen der Module in den Seitenleisten entfernen */
.container-sidebar-left .card,
.container-sidebar-right .card {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.container-sidebar-left .card-body,
.container-sidebar-right .card-body {
  padding: 0 !important;
}