body {
  font-family: "Calibri", Arial, Helvetica, sans-serif!important;
}

nav,
.nav,
.navbar {
  font-family: "Calibri", Arial, Helvetica, sans-serif!important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Calibri", Arial, Helvetica, sans-serif!important;
}

/* HAUPTNAVI
---------------------------------- */
.page-header-inner #quicksearch {
  display: none!important;
}
#p2337 .page-header-inner #quicksearch {
  display: block!important;
}
.page-header-search input,
.navbar-theme-default #quicksearch input {
  border: 5px solid rgb(251, 199, 50) !important;
  color: #00285a !important;
}
/*.dropdown-menu.level-3 {display:none!important;}*/
#servicenavigation .container-hover li ul.dropdown-menu li ul.dropdown-menu {
  right: 18rem !important;
  left: auto !important;
  border: 1px solid rgba(256,256,256,0.5);
}

.bp-page-footer .section-row {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
}


/* KURSnavi Icons
---------------------------------- */
.subnavbar-style-default .menu-item:not(:last-child) {
  border-right: 0px solid #fff!important;
}
#subnavigationTop .subnavigationTop-menu .menu-item a span {
  font-size: 0.9vw;
}
@media (min-width: 992px) AND (max-width: 1300px) {
  #subnavigationTop .subnavigationTop-menu .menu-item a span {
    font-size: 1.2vw !important;
  }
}


/* SUBnavi - rechte Spalte
---------------------------------- */
.frame-type-menu_subpages.frame-layout-vhsConnect li:hover {
  background-color: #FDB824!important;
}
.frame-type-menu_subpages.frame-layout-vhsConnect a:hover {
  color: #00285a!important;
}


/* CONTENT 
---------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 300 !important;
}
.carousel-item-type-header .carousel-text-inner h2 {
  font-weight: 400 !important;
}

.frame-no-border .table td {
  border-top: none;
}

.frame.sidebar {
  padding-bottom: 0 !important;
}

.lead, .element-subheader {
  font-size: 1.3125rem;
  font-weight: 300;
  margin: 1em 0;
}

video {
  width: 100%;
  height: auto;
  border: 1px solid rgba(0,0,0,0.1);
}


/* KONTAKTE Team
---------------------------------- */
.contact-box .fa-fax::before {
  content: "\f10b";
}
.contact-box .rounded-circle {
  border-radius: 10% !important;
}
.contact-box {
  min-height: 220px;
}
.contact-box .thumb {
  min-width: 85px;
}
.modal-title .text-muted::before {
  content: "|";
  font-weight: 300;
  margin: 0 0.15em 0 -0.2em;
}

/* Team-Referenzen */
#c31616 {
  margin: 0 !important;
  padding: 0 !important;
}



/* Aktuelles News-Liste
---------------------------------- */
@media (min-width: 768px) {
  .news-list-item .col-lg-3 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 95%;
    max-width: 100%;
    margin-bottom: 10px;
  }
}


/* Dateigroesse Downloads
---------------------------------- */
.uploads-filesize::before {
  content: "[";
}
.uploads-filesize::after {
  content: "]";
}


/* Startseite Carousel Slider
---------------------------------- */
@media (min-width: 992px) {
  #carousel-9211 .carousel-item-type-header .carousel-text-inner {
    width: 80% !important;
  }
}
.carousel-item-type-call_to_action .carousel-box {
  background-color: rgba(255, 255, 255, 0.80)!important;
  padding: 2rem;
  border-radius: 0.625rem;
}
.carousel-item-button.btn.btn-primary {
  margin-top: 1em;
}


/* Startseite Kacheln
---------------------------------- */
.frame-home .card-group-element-align-center {
  justify-content: left!important;
}

.frame-home .card-group-element-item {
  margin-bottom: -45px;
}
.frame-home .card-img-top {background: #000;}
.frame-home .card-img-top picture {opacity: 0.75;}
.frame-home .card.bg-none:hover picture {opacity: 0.4;}

.frame-home .card-title {
  font-weight: 400 !important;
}
.frame-home .card-title a {
  font-weight: 400 !important;
  position: absolute;
  text-align: center;
  direction: ltr;
  overflow-wrap: break-word;
  box-sizing: border-box;
  color: #fff!important;
  text-decoration: none;
  font-size: 1.1em;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  top: 0;
  bottom: 0px;
  right: 0px;
  left: 0px;
  justify-content: center;
  margin: 0;
  filter: drop-shadow(0px 0px 7px rgba(31, 31, 31, 0.99));
  
}
.frame-home .card-title a:hover {text-decoration: none;}

@media (min-width: 768px) AND (max-width: 1020px) {
  .frame-home .card-title a {
    hyphens: auto !important;
  }
}



/* Flipbook
---------------------------------- */
.flipframe {
  width: 100%;
  height: 100vw;
  max-height: 1200px;
}


/* FOOTER Carousel "Statements"
---------------------------------- */
@media (max-width: 610px) {
  #carousel-19299 .carousel-item-type-image .carousel-image img {
    height: 65vw !important;
    max-width: max-content !important;
    position: absolute;
    transform: translate(-50vw,-32.5vw);
  }
}

/* FOOTER
---------------------------------- */
#page-footer .frame-inner p>a:not([class]) {
  text-decoration: none;
}
.footer-section-content a:not(.btn):focus,
.footer-section-content a:not(.btn):hover {
  text-decoration: underline !important;
  color: #fff !important;
}
#page-footer .frame-header h2 {
  color: #fff;
  font-size: 1.125rem !important;
}
.bp-page-footer .footerimg img {
  max-width: 100%;
  padding: 0 1rem;
}
.bp-page-footer .table-responsive {
  display: table;
  overflow-x: hidden;
}

.bp-page-footer .frame-inner p a[href^="mailto"]::before,
.bp-page-footer .frame-inner p a[href^="tel"]::before {
  content: none!important;
}

/* Startseite Kalender
---------------------------------- */
.frame-itm.frontpage-calender #prevMonth i, .frame-itm.frontpage-calender #nextMonth i {
  color: #fff;
}
#course-list-calendar #prevMonth, #course-list-calendar #nextMonth {
  font-size: 3rem;
  opacity: 0.75!important;
}


/* VHS Stadtplan
---------------------------------- */
.tabrow {
margin-bottom: 2em;
}
.tabrow div {
  display: inline-block;
}
.tabrow div:nth-child(1) {
  font-weight: 600;
  background: #00285A;
  color: #fff;
  padding: 5px;
  width: 34px;
  border-radius: 50%;
  text-align: center;
}
.tabrow div:nth-child(2) {
  padding: 0 5px;
  font-size: 1.5em;
}
.tabrow div:nth-child(3) {
  display: block;
  margin-top: 0.5em;
}
.tabrow div:nth-child(3), .tabrow div:nth-child(4) {
  text-indent: 1em;
}


/* Startseite
---------------------------------- */
@media(max-width:1600px) {

  #service_menu li:nth-last-child(-n+3) .dropdown-menu.level-2 {
    right: 0;
    left: auto;
  }
  #service_menu li:nth-last-child(-n+3) .dropdown-menu.level-2 dropdown-menu.level-3 {
    right: 100%;
    left: auto;
  }

}