/******************************************************************************************************
 * Standard-Einstellungen
 *
 * var(--blue) - Oberdorf Blau
 * var(--medium-blue) - Hellblau
 * var(--light-blue) - Hellblau 2
 *	
 ******************************************************************************************************/

:root {
  --light-blue: #c8dfff;
  --medium-blue: #9dc3e6;
  --blue: #144293;
  --dark-grey: #333;
  --black: #030303;
  --white: #fdfdfd;
}

.ui-widget-content a,
a {
  color: var(--blue);
}

a:hover {
  color: var(--dark-grey);
  text-decoration: none;
}

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

.views-field-field-slideshow img {
  max-width: 100vw;
  width: 100vw;
  padding: 0;
  height: auto;
  min-height: 300px;
  width: auto;
  object-fit: cover;
}

.fas {
  font-family: "Font Awesome 5 Free";
}

.far {
  font-family: "Font Awesome 5 Free";
}

.fa {
  font-family: "Font Awesome 5 Free";
}

.button {
  background-color: var(--light-blue);
  padding: 5px 15px;
  border-radius: 5px;
}

.button:hover {
  background-color: var(--medium-blue);
}

.field--name-field-image {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 25px;
}

.views-accordion-header {
  background-color: var(--light-blue);
  border-radius: 5px;
}

.views-accordion-header:hover {
  background-color: var(--medium-blue);
}

.ui-accordion-header-active {
  background-color: var(--medium-blue);
  border: 1px solid #f7f7f7;
}

.ui-state-active {
  color: var(--black);
}

.view-header h2 {
  display: none;
}

.js-views-accordion-group-header {
  margin-top: 25px;
}

.navbar-brand img {
  height: 120px;
}

.slides {
  padding: 0;
}

.flexslider {
  display: flex;
  justify-content: center;
}

#views_slideshow_cycle_main_slideshow_startseite-block_1 {
  background-color: var(--light-blue);
}

@media screen and (min-width: 2048px) {
  #views_slideshow_cycle_teaser_section_slideshow_startseite-block_1 {
    width: 2048px;
  }
}

.navigation-main {
  background-color: var(--blue);
}

.navigation-main a {
  color: var(--white);
  font-size: 1.25rem;
}

.navigation-main a:hover {
  background-color: #6994c8;
}

#superfish-main {
  display: flex;
  justify-content: space-around;
}

#superfish-main ul {
  width: min-content !important;
}

#superfish-main .sf-depth-1>ul {
  transform: translateY(20px);
}

#superfish-main .sf-depth-2,
#superfish-main .sf-depth-3 {
  background-color: var(--white);
  color: var(--dark-grey);
}

#superfish-main .sf-depth-2 a:hover,
#superfish-main .sf-depth-3 a:hover {
  background-color: var(--blue);
  color: var(--white);
}

#superfish-main .active-trail {
  color: var(--light-blue);
}

#superfish-main .is-active {
  color: var(--light-blue);
}

#superfish-main .sf-depth-2 .is-active {
  color: var(--blue);
}

.navigation-main .dropdown-menu {
  border-radius: 10px;
}

.navigation-main .nav-link:hover {
  border-radius: 10px;
}

.navigation-main .navbar-nav {
  display: flex;
  justify-content: space-around;
  width: 100%;
}

.navigation-main .navbar-nav .nav-item a {
  font-size: 1.25rem;
}

.navigation-main .dropdown-item {
  color: var(--black);
}

.navigation-sidebar .menu-item--expanded {
  list-style-type: none;
  list-style-image: none;
}

.menu-item-popup {
  width: 150%;
}

.sidebar {
  padding-left: 0 !important;
}

.sidebar a {
  color: var(--black) !important;
}

.sidebar .region {
  border-top: 1px solid #a5b09e;
  border-bottom: 1px solid #a5b09e;
  padding: 10px 0;
}

.sidebar .menu-item {
  padding: 6px 15px;
  border-bottom: 2px solid var(--white);
}

.sidebar .menu-item:hover {
  background-color: #d9ebcb;
  text-decoration: none;
  height: 60px;
  border-radius: 10px;
}

.sidebar .menu-item a:hover {
  text-decoration: none;
}

.sidebar .menu-item li:hover {
  background-color: #d9ebcb;
}

.sidebar .menu-item--expanded {
  background-color: var(--white);
}

.sidebar .menu-item--expanded:hover {
  background-color: #d9ebcb;
}

.sidebar .menu-item--active-trail {
  background-color: #c5dae7;
  border-radius: 10px;
}

.sidebar .menu-item a:is-active {
  background-color: #c5dae7;
  display: inline-block;
}

.breadcrumb {
  background-color: var(--white);
}

.region-direktlinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 25px;
  margin: 100px;
  animation-name: moveUp;
  animation-duration: 1.2s;
  animation-fill-mode: forwards;
  transform: translate(0px);
}

@keyframes moveUp {
  0% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(-50px);
  }
}

.region-direktlinks .field--name-body a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

@media screen and (max-width: 1280px) {
  .region-direktlinks {
    gap: 25px;
    margin: 75px;
  }
}

@media screen and (max-width: 1024px) {
  .region-direktlinks {
    margin: 50px;
  }
}

@media screen and (max-width: 720px) {
  .region-direktlinks {
    margin: 25px;
  }
}

.region-direktlinks>div.block {
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-blue);
  border-radius: 2px;
}

.region-direktlinks>div.block:nth-child(3) {
  background-color: var(--pink);
  transform-origin: center center;
  transform: scale(1.1);
}

.region-direktlinks>div.block a {
  font-size: 90%;
}

.region-direktlinks>div.block:nth-child(3) a {
  color: var(--white);
}

.region-direktlinks>div.block:nth-child(3) img {
  filter: brightness(1);
}

.region-direktlinks img {
  height: 160px;
  width: auto;
  filter: brightness(0.7);
}

.views_slideshow_cycle_teaser_section {
  margin: auto;
}

#block-banner {
  margin: 100px 0 0 50px;
  position: absolute;
  z-index: 99;
  text-align: left;
  opacity: 0.8;
  text-shadow: 0px 0px 5px var(--black);
}

#block-banner img {
  height: 80px;
  width: auto;
}

#block-banner h2 {
  margin-bottom: 15px;
  color: var(--white);
  font-weight: 5rem;
  padding: 10px;
}

@media screen and (max-width: 2048px) {
  #block-banner {
    margin: 75px 0 0 50px;
  }
}

@media screen and (max-width: 1320px) {
  #block-banner {
    margin: 50px 0 0 25px;
    transform-origin: top left;
    transform: scale(80%);
    width: 120%;
  }
}

@media screen and (max-width: 1024px) {
  #block-banner {
    margin: 25px 0 0 12px;
  }
}

.view-gemeinderat .views-row {
  margin: 25px 0;
}

.view-gemeinderat .views-field-title {
  border-bottom: 2px solid #6994c8;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.view-gemeinderat .views-field-field-image {
  float: right;
  padding-left: 25px;
}

.view-gemeinderat .views-field {
  display: flex;
  padding-bottom: 15px;
}

.view-gemeinderat .views-field>strong:first-child {
  width: 250px;
}

.view-gemeinderat .views-field-field-dep {
  padding-left: 250px;
  margin-top: -38px;
}

.view-mitarbeiter .views-row {
  margin: 25px 0;
}

.view-mitarbeiter .views-field {
  display: flex;
  padding-bottom: 15px;
}

.view-mitarbeiter .views-field>strong:first-child {
  width: 200px;
}

.view-mitarbeiter .views-field-title {
  border-bottom: 2px solid #6994c8;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.view-mitarbeiter .views-field-title .field-content {
  width: 400px !important;
}

.view-bgv-egv .views-field {
  padding: 10px;
}

.sub_features {
  background-color: var(--dark-grey);
  color: var(--white);
  padding: 50px;
  margin-top: 50px;
}

.sub_features h3 {
  color: var(--light-blue);
}

.sub_features a {
  color: var(--light-blue);
}

.sub_features tr {
  background-color: var(--dark-grey);
}

.footer {
  background-color: #6994c8;
  font-size: 90%;
}

.region-footer {
  display: flex;
  justify-content: space-between;
}

.navbar_bottom {
  display: none;
}

/* Flying Menu */
/* SCSS Variables */
:root {
  --flying-menu-gap: 1rem;
  /* Replace with actual value */
  --flying-menu-background: var(--white);
  /* Replace with actual value */
  --global-padding: 1rem;
  /* Replace with actual value */
  --flying-menu-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* Replace with actual value */
  --flying-menu-border: 1px solid #ddd;
  /* Replace with actual value */
  --global-radius: 4px;
  /* Replace with actual value */
  --flying-menu-color: var(--dark-grey);
  /* Replace with actual value */
  --flying-menu-block-background: #f9f9f9;
  /* Replace with actual value */
  --flying-menu-width: 200px;
  /* Replace with actual value */
  --flying-menu-background-hover: #eee;
  /* Replace with actual value */
  --flying-menu-icon-scale: 1;
  /* Replace with actual value */
}

.block-type-flying-menu {
  animation-name: enter;
  animation-duration: 0.8s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.445, 0.05, 0.55, 0.95);
  position: fixed;
  z-index: 2000;
  right: 0;
  top: 33%;
}

.block-type-flying-menu>h2 {
  visibility: hidden;
  display: none;
}

ul.flying-menu-links--wrapper {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--flying-menu-gap);
}

li.flying-menu--item {
  z-index: 2000;
}

li.flying-menu--item:hover {
  z-index: 3000;
}

li.flying-menu--item>.flying-menu--block-container,
li.flying-menu--item>.flying-menu--link {
  transition: width 0.4s;
  gap: 0.525rem !important;
  display: flex;
  justify-content: right;
  background: var(--flying-menu-background);
  padding: var(--global-padding);
  box-shadow: var(--flying-menu-shadow);
  border: var(--flying-menu-border);
  border-right: none;
  border-radius: var(--global-radius) 0 0 var(--global-radius);
}

.flying-menu--text {
  transition: width 0.4s 0.4s;
  width: 0px;
  overflow: hidden;
  white-space: nowrap;
  color: var(--flying-menu-color);
}

.flying-menu--block {
  transition: opacity 0.4s;
  opacity: 0;
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 100%;
  min-width: 200px;
  height: 0;
  display: flex;
  flex-direction: column;
}

.flying-menu--block>* {
  background-color: var(--flying-menu-block-background);
  box-shadow: var(--flying-menu-shadow);
  border-radius: 0 0 var(--global-radius) var(--global-radius);
  transition: visibility 0.4s;
  visibility: hidden;
}

.flying-menu--block>*:not(.card-section) {
  padding: var(--global-padding);
}

.hiag-external-link::before {
  content: none !important;
}

.flying-menu--link.ext svg.ext {
  display: none;
}

.flying-menu--block-container:hover,
.flying-menu--link:hover,
.flying-menu--block-container.touched,
.flying-menu--link.touched {
  background: var(--flying-menu-background-hover);
}

.flying-menu--block-container:hover .flying-menu--text,
.flying-menu--link:hover .flying-menu--text,
.flying-menu--block-container.touched .flying-menu--text,
.flying-menu--link.touched .flying-menu--text {
  width: var(--flying-menu-width);
  transition: width 0.4s;
}

.flying-menu--block-container:hover .flying-menu--block,
.flying-menu--link:hover .flying-menu--block,
.flying-menu--block-container.touched .flying-menu--block,
.flying-menu--link.touched .flying-menu--block {
  opacity: 1;
  transition: opacity 0.4s 0.4s;
}

.flying-menu--block-container:hover .flying-menu--block>*,
.flying-menu--link:hover .flying-menu--block>*,
.flying-menu--block-container.touched .flying-menu--block>*,
.flying-menu--link.touched .flying-menu--block>* {
  visibility: visible;
  transition: visibility 0s;
}

.flying-menu--icon {
  transform-origin: 50% 0%;
  transform: scale(var(--flying-menu-icon-scale));
  color: var(--flying-menu-color);
}

.flying-menu--block-container {
  position: relative;
  transition: width 0.4s border-radius 0.4s;
}

.flying-menu--block-container:hover,
.flying-menu--block-container.touched {
  border-radius: var(--global-radius) 0 0 0;
  transition: border-radius 0.4s 0.4s;
}

@keyframes enter {
  0% {
    transform: translateX(100px);
  }

  100% {
    transform: translateX(0px);
  }
}

.icon--hiag-facebook {
  width: 16px;
  position: relative;
  color: transparent !important;
}

.icon--hiag-facebook::before {
  content: "";
  mask-image: url("/themes/hiag_base_theme/images/icons/facebook_logo_hiag.png");
  mask-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  mask-size: 98%;
  background: var(--flying-menu-color);
}

.icon--hiag-instagram {
  width: 16px;
  position: relative;
  color: transparent !important;
}

.icon--hiag-instagram::before {
  content: "";
  mask-image: url("/themes/hiag_base_theme/images/icons/instagram_logo_hiag.png");
  mask-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  mask-size: 98%;
  background: var(--flying-menu-color);
}

.icon--hiag-teamviewer {
  width: 16px;
  position: relative;
  color: transparent !important;
}

.icon--hiag-teamviewer::before {
  content: "";
  mask-image: url("/themes/hiag_base_theme/images/icons/teamviewer_logo_hiag.png");
  mask-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  mask-size: 98%;
  background: var(--flying-menu-color);
}

.node[data-history-node-id="1170"] :where(.field--name-field-downloads, .field--name-field-links) .field__item {
  background-color: var(--pink);
  width: max-content;
  margin: 12px;
  border-radius: 4px;
}

.node[data-history-node-id="1170"] :where(.field--name-field-downloads, .field--name-field-links) .field__item a {
  padding: 20px;
  display: inline-block;
  width: max-content;
  color: var(--light-blue);
  font-weight: bold;
}

.node[data-history-node-id="1170"] .field--name-field-downloads .field__item span {
  background-position: 12px center;
  background-size: 24px;
}

.node[data-history-node-id="1170"] :where(.field--name-field-downloads, .field--name-field-links) {
  display: inline-flex;
  flex-wrap: wrap;
}

/* Overrides Black Superfish Menu Styles for Transparent Backgrounds */
ul.sf-menu.sf-style-black li,
ul.sf-menu.sf-style-black.sf-navbar,
div.sf-accordion-toggle.sf-style-black a {
  background-color: transparent !important;
  border: none !important;
}

ul.sf-menu.sf-style-black {
  margin-bottom: 0 !important;
}

.sf-accordion-toggle.sf-style-black {
  display: flex !important;
  width: 100% !important;
  justify-content: center;
  padding-bottom: 0.35rem !important;
}

ul.sf-menu.sf-style-black li:hover,
ul.sf-menu.sf-style-black li.sfHover,
ul.sf-menu.sf-style-black a.is-active,
ul.sf-menu.sf-style-black a:focus,
ul.sf-menu.sf-style-black a:hover,
ul.sf-menu.sf-style-black span.nolink:hover {
  background: var(--medium-blue) !important;
  color: var(--black) !important;
}