/* Fonts */
/* montserrat-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/montserrat-v31-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/montserrat-v31-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/montserrat-v31-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/montserrat-v31-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/montserrat-v31-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/montserrat-v31-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/montserrat-v31-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/montserrat-v31-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* --------------------------------------------------------------- */


html{scroll-padding-top: 230px;}
*{outline:none}
body {
  margin: 0;
  padding: 0;
  overflow: scroll;
  overflow-x: hidden;
  font-family: 'Montserrat';
  font-weight: 400;
  font-size: 19px;
  line-height: 26px;
  color: #333333;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* Haupt-Navigation */
#navwrapper {
  width: 100%;
  height: 160px;
  z-index: 500;
  transform: translate3d(0,0,0);
  margin: 0 auto;
  position: fixed;
  top: 0;
  background: #fff;
  box-shadow: 0px 3px 10px rgba(0,0,0,0.5);
  -webkit-box-shadow: 0px 3px 10px rgba(0,0,0,0.5);
}
.topnav {
  width: 100%;
  max-width: 1200px;
  margin: 30px auto;
  height: 100px;
  display: flex;
  justify-content: space-between;
}
.kvblogo {
  height: 100px;
  width: 140px;
  align-self: center;
  background: url('../gfx/kvb-epraxis.svg') no-repeat;
}
.nav {
  position: relative;
  min-height: 24px;
  align-self: center;
}
.nav ul {
    margin: 0 auto;
    padding: 0;
    list-style: none;
    max-width: 1200px;
}


.nav ul li {
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  float: left;
  padding: 15px 30px 15px 0px;
  margin: 0;
  text-decoration: none;
  overflow: visible;
  list-style: none;
}
.nav ul li.terminbutton {
  background: #00254d;
  padding: 15px !important;
  border-radius: 10px;
  border: 1.5px solid #00254d;
}
.nav ul li.terminbutton:hover, .nav ul li.terminbutton:focus-within {
  background: transparent !important;
  box-sizing: border-box;
  border: 1.5px solid #00254d;
 
}

.nav li.terminbutton a {
  color: #fff;
}
.nav li a {
  text-decoration: none;
  color: #00254d;
  transition: 300ms ease;
}
.nav li.terminbutton:hover a, .nav li.terminbutton a.active, .nav li.terminbutton:focus-within a{color:#00254d;}
.nav li a:hover, .nav li a.active, .nav a:focus-within {color:#066cb7;}

.fixed,#mobnav {display:none;z-index:600;position:relative;}
.fixed{position:fixed;overflow:hidden;width:100%;top:0;}
#menu{display:none;}
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

#headerrow {
  margin-top: 160px;
  width: 100%;
  position: relative;
  height: 700px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: flex-start;
}
.headerdata {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.7);
  padding: 60px;
  width: calc(50% - 120px);
  min-width:400px;
  border-radius: 0 10px 10px 0;
  text-align: right;
  height: fit-content;
  margin-top: 100px;
}
.headerdata h1{font-weight:900;font-size:48px;line-height:58px;margin-bottom: 10px;}
.headerdata p{font-weight:400;font-size:25px;line-height:32px;color:#066CB7;}
.headerbutton {
  display: inline-block;
  background: #00254d;
  padding: 15px !important;
  border-radius: 10px;
  color: #fff;
  text-decoration: navajowhite;
  font-weight:500;
  border: 1.5px solid #00254d;
}
.headerbutton:hover, .headerbutton:focus-within{
  background: transparent !important;
  box-sizing: border-box;
  border: 1.5px solid #00254d;

  color:#00254d;
}
#contentstart, #content {
  width: 100%;
  /*min-height: 70vH;*/
  margin: 40px auto 30px auto;
  overflow: hidden;
  position: relative;
}
.content {
  width: 100%;
  max-width: 1200px;
  margin: 15px auto 40px auto;
  overflow: hidden;
  position: relative;
}
.content .twocol {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  overflow: hidden;
  position: relative;
}
.content .twocol .col {
  width: 49%;
  overflow: hidden;
}
.sliderow {
  width: 100%;
  margin: 55px 0 140px 0;
  background: #F5F5F5;
  position: relative;
  
  padding: 60px 0;
}
.startslider {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  
}

/* Standard Tags */

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  color: #00254d;
  margin-top: 0;
}
h1 {
  font-size: 46px;
  line-height: 52px;
}
h2 {font-size:34px;line-height:42px;}
h3 {font-size:26px;line-height:32px;}
h1 a, h2 a, h3 a, h4 a, h5 a {color: #00254d;}
p {
    margin:0 0 30px 0;
}
.teaser-text a, .news-single a {
  color: #00254d;
}





.text-center {
  text-align: center;
}
/* DC Elements */
.infobox {
  border-radius: 10px;
  padding: 50px;
  text-align: center;
  overflow: hidden;
  margin-bottom:80px;
}
.kvbblue {
  background: #00254d;
  color: #fff;
}
.kvbgrey{
  background: #f4f4f4;
  color: #333;
}
.infobox.kvbblue h2 {
  color: #fff;
  text-align: center;
  margin-top: 0;
}
.infobox.kvbgrey h2 {
  color: #00254d;
  text-align: center;
  margin-top: 0;
}
.infobox.kvbblue img {
  filter: brightness(0%) contrast(100%) grayscale(100%) invert(100%);
  margin-bottom: 20px;
}
.button.kvbblue {
  color: #fff;
  text-align: center;
  border: 1.5px solid #fff;
 font-weight:500;
  padding: 15px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
}
.button.kvbgrey {
  color: #333;
  text-align: center;
  box-shadow: inset 0 0 0 2px #333;
  padding: 15px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
}
.button.kvbblue:hover,.button.kvbblue:focus-within {
  background: #fff;
  color: #00254d;
  border: 1.5px solid #00254d;
}
.button.kvbgrey:hover, .button.kvbgrey:focus-within {
  background: #00254d;
  color: #f4f4f4;
  box-shadow: inset 0 0 0 2px #00254d;
}

/* Accordion Startseite */
.greybox {
  background: #f5f5f5;
  border-radius: 10px;
 padding: 90px 20% 60px 20%;
}
.greybox h2{
  text-align: center;
}

.greybox .accordion .ui-state-default {
  background: none;
  font-weight: 400;
  color: #333;
  padding: 20px 0;
  border: none;
  border-top: solid 1px #00254d;
}
.greybox .ui-accordion .ui-accordion-header {
  font-family: 'Montserrat' !important;
  color: #00254d;
  font-size: 20px;
  line-height: 24px;
  
  border-radius: 0;
  margin: 0;
  width: calc(100% - 20px);
  padding-right: 20px;
}
.greybox .ui-accordion-header-collapsed {
  border-top: 1px solid #00254d;
}
.greybox .ui-accordion-header-collapsed:hover, .greybox .ui-accordion-header-collapsed:focus-within, .greybox .accordion .ui-state-active {
  background: none;
  color: #066cb7 !important;
  border-top: 1px solid #066cb7 !important;
}
.greybox .ui-accordion-header::after {
    font-family: 'Font Awesome 5 Free';
    font-weight: 600;
    content: '\f055';
    float: right;
  font-size: 30px;
  position: absolute;
  right: 0px;
  top: 20px;
}
.greybox .ui-accordion-header.ui-state-active::after {
    font-family: 'Font Awesome 5 Free';
    font-weight: 600;
    content: '\f056';
    float: right;
  font-size: 30px;
}
.greybox .accordion .ui-icon-triangle-1-e {
    background-position: unset;
}
.greybox .accordion .ui-icon, .greybox .accordion .ui-widget-content .ui-icon {
    background-image: none;
}
.greybox .accordion .ui-icon {
    display: inline-block;
    vertical-align: unset;
    margin-top: unset;
    position: relative;
    text-indent: unset;
    overflow: hidden;
    background-repeat: no-repeat;
    width: unset;
    height: unset;
}
.greybox .accordion-mit-bild img {
  width: 15%;
}
.greybox .ui-accordion .accordion_titel {
  overflow: hidden;
}
.greybox .ui-accordion .ui-accordion-content {
  padding: 30px 0 0 0;
  border-top: 0;
  overflow: auto;
  background: none;
}

.greybox .ui-widget-content a {
  color: #007378 !important;
}
.greybox .ui-widget-content a:hover, .ui-widget-content a:focus-within {
  text-decoration:underline !important;
}




/* Accordion Stadard */
.accrow {
margin-bottom:80px;
position: relative;
overflow: hidden;
  }
.accrow .accordion .ui-state-default {
  background: none;
  font-weight: 400;
  color: #333;
  padding: 20px 0;
  border: none;
  
}
.accrow .ui-accordion .ui-accordion-header {
  font-family: 'Montserrat' !important;
  color: #fff;
  font-size: 20px;
  line-height: 24px;
  background: #00254d;
  border-radius: 10px;
  padding: 20px;
  margin: 0 0 10px 0;
  font-weight: 600;
}
.accrow .accnumber {
  border-radius: 50%;
  width: 24px;
  display: inline-block;
  text-align: center;
  aspect-ratio: 1/1;
  font-weight: 600;
  margin-right: 10px;
  border: 2px solid #fff;
  padding: 4px;
}
.accrow .ui-accordion-header-collapsed {
  border-top: 1px solid #00254d;
}
.accrow .ui-accordion-header-collapsed:hover, .accrow .ui-accordion-header-collapsed:focus-within, .accrow .accordion .ui-state-active {
  background: #066cb7;
}
.accrow .accordion .ui-state-active {
  border-radius: 10px 10px 0 0;
  margin: 0;
}
.accrow .ui-accordion-header::after {
  font-family: 'Font Awesome 5 Free';
  font-weight: 600;
  content: '\f055';
  float: right;
  font-size: 30px;
  margin-top: 7px;
}
.accrow .ui-accordion-header.ui-state-active::after {
    font-family: 'Font Awesome 5 Free';
    font-weight: 600;
    content: '\f056';
    float: right;
  font-size: 30px;
}
.accrow .accordion .ui-icon-triangle-1-e {
    background-position: unset;
}
.accrow .accordion .ui-icon, .greybox .accordion .ui-widget-content .ui-icon {
    background-image: none;
}
.accrow .accordion .ui-icon {
    display: inline-block;
    vertical-align: unset;
    margin-top: unset;
    position: relative;
    text-indent: unset;
    overflow: hidden;
    background-repeat: no-repeat;
    width: unset;
    height: unset;
}
.accrow .accordion-mit-bild img {
  width: 15%;
}
.accrow .ui-accordion .accordion_titel {
  overflow: hidden;
}
.accrow .ui-accordion .ui-accordion-content {
  padding: 20px;
  border-top: 0;
  overflow: auto;
  background: #f4f4f4;
  margin: 0 0 10px 0;
}

.accrow .ui-widget-content a {
  color: #007378 !important;
}
..accrow .ui-widget-content a:hover, .ui-widget-content a:focus-within {
  text-decoration:underline !important;
}









/* Icon-Block */

.iconblock {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto 0 auto;
  top: -135px;
  z-index: 50;
  height: 500px;
}
.icon {
  width: 220px;
  height: 220px;
  padding: 30px;

  border-radius: 10px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background: #fff;
  box-shadow: 0px 0px 12px rgba(0,0,0,0.15);
  margin-bottom: 30px;
}
.iconcontent {
  align-self: center;
  text-align: center;
}
a.icon {
  color: #00254d;
  font-weight: 600;
  font-size: 19px;
  line-height: 24px;
  text-decoration: none;
}
a.icon img{width:auto; height:70px;padding-bottom: 8px;}

/*-----------Tabs---------------------*/
.tabrow {
  margin: 60px 0;
  position: relative;
}
.tabrow .ui-widget.ui-widget-content {
  border: none !important;
  background: none !important;
  border-radius: unset !important;
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
}
.tabrow .ui-widget.ui-widget-content {
  border: unset !important;
}
.tabrow .ui-tabs .ui-tabs-nav {
  margin: 0;
  padding: 0 !important;
  width: 30%;
  overflow: hidden;
}
.tabrow .ui-widget-header {
  border: unset !important;
  background: none !important;
  color: #333 !important;
  font-weight: 700 !important;
}
.tabrow .ui-widget-header {
  background: unset !important;
  color: #00254d !important;
  font-weight: 500 !important;
}


.tabrow .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
  border: unset !important;
  background: none !important;
  font-weight: 500 !important;
  color: #00254d !important;
}
.tabrow .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited, a.ui-button, a:link.ui-button, a:visited.ui-button, .ui-button {
  color: #00254d;
  text-decoration: none;
}
.tabrow .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited, .ui-state-hover a {
  color: #056CB7 !important;
  text-decoration: none !important;
}
.tabrow .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
  border: unset !important;
  background: none !important;
  font-weight: 500 !important;
  color: #00254d !important;
}
.tabrow .ui-tabs .ui-tabs-nav .ui-tabs-anchor {
  padding: unset !important;
}

.tabrow .ui-tabs .ui-tabs-nav li {
  list-style: none;
  float: left;
  position: relative;
  top: 0;
  padding: 20px 0 !important;
  white-space: normal;
  border-top: 1px solid #00254d !important;
  width: 100%;
  border-radius: 0 !important;
  display: block;
  margin: 0 !important;
}
.tabrow .ui-tabs .ui-tabs-nav li:last-child {
  border-bottom: 1px solid #00254d !important;
}
.tabrow .tabicon {
  height: 80px;
  width: auto;
  margin-bottom: 30px;
}
.tabrow .tabtxt{padding:0;margin:0;}
.tabrow .ui-tabs .ui-tabs-panel {
  display: block;
  border: unset !important;
  padding: 40px !important;
  background: #F5F5F5 !important;
  width: calc(68% - 80px);
}

/* SLIDER */
.slide {
  max-width: 1200px;
  margin: 30px auto;
  display: flex;
  justify-content: space-around;
}
.slidecontent {
  width: 49%;
}
.slidecontent h2 {
  font-size: 26px;
  line-height: 32px;
}
.slidertxt p{
}
.slidebutton a {
  background: #00254d;
  padding: 15px !important;
  border-radius: 10px;
  color: #fff;
  text-decoration: navajowhite;
  border: 1.5px solid #00254d;
  font-weight:500;
  display: inline-block;
}

.slidebutton a:hover,.slidebutton a:focus-within  {
  background: transparent !important;
  box-sizing: border-box;
  border: 1.5px solid #00254d;
  color: #00254d;
}
.slidecontent img {
  aspect-ratio: 3/2;
  max-width: 590px;
  float: right;
}
.flex-direction-nav {
  display: none;
}
.flex-control-nav {
  width: 100%;
  text-align: center;
  bottom: -120px;
  position: absolute;
}


.slideimg {
  width: 100%;
  height: 600px !important;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 10px;
}
.imageslider .flex-direction-nav {
  display: unset;
}
.imageslider .flex-control-nav {
  width: 100%;
  text-align: center;
  bottom: -10px;
  position: relative;
}


/* Footer */
#footerwrapper {
  background-color: #00254d;
  margin: 300px 0 0 0;
}
.footerimage {
  height: 450px;
  max-width: 1200px;
  margin: 0 auto 30px auto;
  border-radius: 10px;
  position: relative;
  top: -225px;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: flex-end;
}
.footerinfo {
  align-self: center;
  width: calc(50% - 2%);
  margin-right: 4%;
  text-align: center;
}
.footerinfo p {
  color: #333;
}
.footer {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  color: #fff;
  text-align: right;
  position: relative;
}
.footer .frame {
  position: relative;
  top: -200px;
  overflow: hidden;
}
.footer p a {
  font-size: 16px;
  line-height: 24px;
  padding: 0;
  color: #fff;
}
.fcol p {font-size:24px;font-family: 'Kanit';margin: 15px 0 15px 0;}

.footer p a:hover{text-decoration:none;color: rgb(212, 232, 128);}
.footer p a:focus-within {
  background: #fff;
  padding: 0 3px;
  color: #007378;
}

.footer ul {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  float: right;
}
.footer li {
  float: left;
  padding: 0 10px;
  margin: 0;
  text-decoration: none;
  overflow: visible;
  list-style: none;
  border-right: 1px solid #fff;
}
.footer li a {
  color: #fff;
  text-decoration: none;
}


.footerlogo{
  background: url('../gfx/kvb-epraxis.svg') no-repeat;
  background-size: contain;
  width: 150px;
  height:150px;
  position: absolute;
  top: 280px;
  left: 0;
  filter: brightness(0%) contrast(100%) grayscale(100%) invert(100%);
}

/* Kontakt-Formular */
#kontaktformular-34 {
  background: #f1f1f1;
  padding: 20px;
  border-radius: 10px;
}
.form-group {
  margin: 0 0 20px 0;
}
.form-label {
  margin-bottom: 5px;
  display: block;
}

.form-group .input input, .form-group .input textarea {
  padding: 10px;
  width: calc(100% - 20px);
  border-radius: 10px;
  font-size: 16px;
  font-family: 'Montserrat';
  border-width: thin;
}
.form-check input {
  display: inline-block;
  width: unset !important;
}
.btn.btn-primary {
  background: #00254d;
  padding: 15px !important;
  border-radius: 10px;
  color: #fff;
  font-size: 20px;
  border: none;
}


@media screen and (max-width: 1200px) {
.topnav, .content, .startslider, .footer  {width: calc(100% - 20px);padding: 0 10px;}
  

  
}



@media screen and (max-width: 870px) {
#navwrapper {height: 100px;}
.nav{display:none;}
.topnav{margin:0 auto;}
.kvblogo{height:80px;}
.iconblock{justify-content: center;height: 350px;}
.icon{width:180px;height:180px;}
a.icon{margin: 0 10px 20px 10px;}




  
}



@media screen and (max-width: 800px) {

.iconblock{justify-content: center;height: 250px;}
.icon{width:120px;height:120px;}
a.icon{font-size: 12px;line-height: 18px;}
.content .twocol .col {width: 100%;}
}

@media screen and (max-width: 600px) {
.iconblock{justify-content: center;height: 450px;}
.footerinfo{background: rgba(255,255,255,0.8);padding: 20px;border-radius: 10px;} 
.slide {flex-wrap:wrap;}
.slidecontent {width: 100%; margin-bottom: 20px;}
.greybox {padding: 90px 5% 60px 5%;}
.tabrow .ui-widget.ui-widget-content {flex-wrap: wrap;}
.tabrow .ui-tabs .ui-tabs-nav {width: 100%;}
.tabrow .ui-tabs .ui-tabs-panel {width: 100%;}  
}

@media screen and (max-width: 400px) {
.headerdata{width:calc(100% - 20px);padding: 20px 10px;min-width:unset;} 
 .icon {width: 100px;height: 100px;}
 a.icon img {height: 40px;}
}

