.btn-primary {
 color: #fff;
 background-color: #333333;
 border-color: #333333;
 border-radius: 0px;
}

.btn-primary:hover {
 color: #fff;
 background-color: #333333;
 border-color: #333333;
}

.btn-primary:not([disabled]):not(.disabled).active,
.btn-primary:not([disabled]):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
 color: #fff;
 background-color: #333333;
 border-color: #333333;
 box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 50%);
}

.navbar-light .navbar-toggler {
 border: 0;
 margin-right: 10px;
}

.logo-wrapper {
 flex: 1;
}

div.collapse.navbar-collapse {
 justify-content: flex-end;
}

.navbar.modal .navbar-toggler {
 /* display: none; */
 flex: 1 1 100%;
 text-align: right;
 margin-right: 5px;
 /* margin-top: 20px; */
 position: absolute;
 top: 40px;
 right: 5px;
}

header.headerC15 .logo-wrapper {
 display: none;
}

ul.navbar-nav li {
 font-size: 23px;
}

.header {
 display: flex;
 align-items: center;
 margin-left: 120px;
 margin-right: 120px;
}

/*** NAV ***/
.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show>.nav-link {
 color: var(--navLv1-normal);
}

.navbar-light .navbar-nav .nav-link {
 color: var(--navLv1-normal);
 padding: 8px 20px;
}

nav.navbar.navbar-expand-md.navbar-light {
 flex: 1;
 justify-self: right;
 height: 120px;
 /* padding-bottom: 20px; */
 margin-top: 40px;
}

.navbar-nav {
 position: relative;
}

ul#refnav {
 position: absolute;
 left: 50%;
 -webkit-transform: translateX(-50%);
 transform: translateX(-50%);
 display: none;
}

ul#refnav.navbar-nav li {
 font-size: 14px;
}

li.nav-item.active.current {
 margin-top: -0px;
 /* border-bottom: 1px solid #333; */
 /* line-height: 20px; */
}

.nav-item.current a.nav-link {
 border-bottom: 1px solid #707070;
 padding: 0px 0px;
 margin: 0px 20px;
}

.dropdown-toggle::after {
 display: none;
}

/* .collapsing {
 position: relative;
 overflow: hidden;
-webkit-transition-duration: 0s;
-moz-transition-duration: 0s;
-o-transition-duration: 0s;
transition-duration: 0s;
display: block;
} */


.current .subnav-container {
 background-color: yellow;
 padding: 5px;
 position: absolute;
 left: 0px;
 width: calc(100vw);
 margin-left: calc(-50vw);
 display: flex;
 justify-content: center;
}

.current .subnav-container .dropdown-menu {
 display: flex;
}

/* lightbox */
body .lightboxOverlay {
 background-color: #F4F2F2;
 opacity: 1;
}

body .lightbox .lb-image {
 display: block;
 height: auto;
 max-width: inherit;
 max-height: none;
 border: 0px;
}

body .lb-nav {
 position: absolute;
 top: 0;
 left: 0;
 height: 100%;
 width: 100%;
 z-index: 10;
}

body .lb-nav a.lb-next {
 background-image: url(../../../fileadmin/images/icons/arr-right.svg);
 background-position: right center;
 background-size: 15px;
 background-repeat: no-repeat;
 position: absolute;
 right: -20px;
 opacity: 1;
 transition: 0.2s;
}

body .lb-nav a.lb-prev {
 background-image: url(../../../fileadmin/images/icons/arr-left.svg);
 background-position: left center;
 background-size: 15px;
 background-repeat: no-repeat;
 position: absolute;
 left: -20px;
 display: block;
 opacity: 1;
 transition: 0.2s;
}


.lightbox {
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;

 margin-bottom: auto 0;
}

.lb-container {
 align-self: flex-end;
}

@media(max-width:767px) {
 .navbar.modal {
  position: absolute;
  height: calc(100vh);
  background-color: #f4f2f2;
  top: 0;
  left: 0;
  margin: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
 }

 header.headerC15 .logo-wrapper {
  display: block;
 }

 nav.navbar.navbar-expand-md.navbar-light {
  flex: 1;
  justify-self: right;
  margin-top: 0px;
  padding-right: 0px;
  padding: 0px;
  text-align: center;
  justify-content: flex-end;
  height: 50px;
  margin-top:25px;
 }

 nav.navbar.navbar-expand-md.navbar-light.modal {
  height: calc(100vh);
  position: fixed;
  align-content: center;
  /* margin-top:-20px; */
 }
 
 .navbar.modal .navbar-toggler{
   margin-top:-20px;
 } 


 ul.dropdown-menu.show {
  background-color: transparent;
  text-align: center;
  border: 0px;
 }

 ul.dropdown-menu.show a.nav-link {
  font-size: 20px !important;
 }

 .nav-item.current a.nav-link {
  /* border: 0px; */
  font-weight: bold;
  display: inline;
 }
 .nav-link {
  font-size: 20px !important;
 }

 .navbar.modal .navbar-toggler-icon {
  transform: rotate(45deg);
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,0,0,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M15 4v22M4 15h22M4'/%3E%3C/svg%3E");
 }

 .lightbox {
  display: flex;
  flex-direction: column;
 }

 .lb-dataContainer {
  flex: 1 1;
  flex-basis: 10%;
 }

 .lb-outerContainer {
  flex: 1 0;
  align-self: center;
  justify-self: flex-start;
  flex-basis: auto;
  display: flex;
  background-color: transparent !important;
 }

 body .lb-nav {
  height: 50px;
  position: absolute;
  z-index: 10;
  top: 100%;
 }
  
 body .lb-nav a.lb-prev {
  position: relative;
  width: auto;
  width: 20px;
  left: 40%;
 }

 body .lb-nav a.lb-next {
  position: relative;
  left: -40%;
  width: 20px;
 }

 .service-row h2 {
   font-size: 16px;
 }
 .service-row h3 {
   font-size: 22px;
 }

 .subheader h2{
  font-size:27px;
 }
 .subheader.p{
  font-size:16px;
 }

}.btn-primary {
 color: #fff;
 background-color: #333333;
 border-color: #333333;
 border-radius: 0px;
}

.btn-primary:hover {
 color: #fff;
 background-color: #333333;
 border-color: #333333;
}

.btn-primary:not([disabled]):not(.disabled).active,
.btn-primary:not([disabled]):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
 color: #fff;
 background-color: #333333;
 border-color: #333333;
 box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 50%);
}

.navbar-light .navbar-toggler {
 border: 0;
 margin-right: 10px;
}

.logo-wrapper {
 flex: 1;
}

div.collapse.navbar-collapse {
 justify-content: flex-end;
}

.navbar.modal .navbar-toggler {
 /* display: none; */
 flex: 1 1 100%;
 text-align: right;
 margin-right: 5px;
 /* margin-top: 20px; */
 position: absolute;
 top: 40px;
 right: 5px;
}

header.headerC15 .logo-wrapper {
 display: none;
}

ul.navbar-nav li {
 font-size: 23px;
}

.header {
 display: flex;
 align-items: center;
 margin-left: 120px;
 margin-right: 120px;
}

/*** NAV ***/
.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show>.nav-link {
 color: var(--navLv1-normal);
}

.navbar-light .navbar-nav .nav-link {
 color: var(--navLv1-normal);
 padding: 8px 20px;
}

nav.navbar.navbar-expand-md.navbar-light {
 flex: 1;
 justify-self: right;
 height: 120px;
 /* padding-bottom: 20px; */
 margin-top: 40px;
}

.navbar-nav {
 position: relative;
}

ul#refnav {
 position: absolute;
 left: 50%;
 -webkit-transform: translateX(-50%);
 transform: translateX(-50%);
 display: none;
}

ul#refnav.navbar-nav li {
 font-size: 14px;
}

li.nav-item.active.current {
 margin-top: -0px;
 /* border-bottom: 1px solid #333; */
 /* line-height: 20px; */
}

.nav-item.current a.nav-link {
 border-bottom: 1px solid #707070;
 padding: 0px 0px;
 margin: 0px 20px;
}

.dropdown-toggle::after {
 display: none;
}

/* .collapsing {
 position: relative;
 overflow: hidden;
-webkit-transition-duration: 0s;
-moz-transition-duration: 0s;
-o-transition-duration: 0s;
transition-duration: 0s;
display: block;
} */


.current .subnav-container {
 background-color: yellow;
 padding: 5px;
 position: absolute;
 left: 0px;
 width: calc(100vw);
 margin-left: calc(-50vw);
 display: flex;
 justify-content: center;
}

.current .subnav-container .dropdown-menu {
 display: flex;
}

/* lightbox */
body .lightboxOverlay {
 background-color: #F4F2F2;
 opacity: 1;
}

body .lightbox .lb-image {
 display: block;
 height: auto;
 max-width: inherit;
 max-height: none;
 border: 0px;
}

body .lb-nav {
 position: absolute;
 top: 0;
 left: 0;
 height: 100%;
 width: 100%;
 z-index: 10;
}

body .lb-nav a.lb-next {
 background-image: url(../../../fileadmin/images/icons/arr-right.svg);
 background-position: right center;
 background-size: 15px;
 background-repeat: no-repeat;
 position: absolute;
 right: -20px;
 opacity: 1;
 transition: 0.2s;
}

body .lb-nav a.lb-prev {
 background-image: url(../../../fileadmin/images/icons/arr-left.svg);
 background-position: left center;
 background-size: 15px;
 background-repeat: no-repeat;
 position: absolute;
 left: -20px;
 display: block;
 opacity: 1;
 transition: 0.2s;
}

body .lb-data .lb-close {
 width: 70px;
 height: 70px;
 background: url(../../../fileadmin/images/icons/close.svg) top right no-repeat;
 opacity: 1;
 -webkit-transition: opacity 0.2s;
 -moz-transition: opacity 0.2s;
 -o-transition: opacity 0.2s;
 transition: opacity 0.2s;
 position: absolute;
 right: 0px;
 /* top: 25px; */
 top:10%;
}

.lightbox {
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;

 margin-bottom: auto 0;
}

.lb-container {
 align-self: flex-end;
}

@media(min-width:777px){
 body .lb-nav a.lb-next:hover {
  right: -30px
 }
 
 body .lb-nav a.lb-prev:hover {
  left: -30px;
 }
}

@media(max-width:767px) {
 .navbar.modal {
  position: absolute;
  height: calc(100vh);
  background-color: #f4f2f2;
  top: 0;
  left: 0;
  margin: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
 }

 header.headerC15 .logo-wrapper {
  display: block;
 }

 nav.navbar.navbar-expand-md.navbar-light {
  flex: 1;
  justify-self: right;
  margin-top: 0px;
  padding-right: 0px;
  padding: 0px;
  text-align: center;
  justify-content: flex-end;
  height: 50px;
  margin-top:25px;
 }

 nav.navbar.navbar-expand-md.navbar-light.modal {
  height: calc(100vh);
  position: fixed;
  align-content: center;
  /* margin-top:-20px; */
  margin-top: 0px;
 }



 ul.dropdown-menu.show {
  background-color: transparent;
  text-align: center;
  border: 0px;
 }

 ul.dropdown-menu.show a.nav-link {
  font-size: 20px !important;
 }

 .nav-item.current a.nav-link {
  /* border: 0px; */
  font-weight: bold;
  display: inline;
 }
 .nav-link {
  font-size: 20px !important;
 }

 .navbar.modal .navbar-toggler-icon {
  transform: rotate(45deg);
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,0,0,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M15 4v22M4 15h22M4'/%3E%3C/svg%3E");
 }

 .lightbox {
  display: flex;
  flex-direction: column;
 }

 .lb-dataContainer {
  flex: 1 1;
  flex-basis: 10%;
 }

 .lb-outerContainer {
  flex: 1 0;
  align-self: center;
  justify-self: flex-start;
  flex-basis: auto;
  display: flex;
  background-color: transparent !important;
 }

 body .lb-nav {
  height: 50px;
  position: absolute;
  z-index: 10;
  top: 100%;
 }

 body .lb-nav a.lb-prev {
  position: relative;
  width: auto;
  width: 20px;
  left: 40%;
 }

 body .lb-nav a.lb-next {
  position: relative;
  left: -40%;
  width: 20px;
 }

 .service-row h2 {
   font-size: 16px;
 }
 .service-row h3 {
   font-size: 22px;
 }

 .subheader h2{
  font-size:27px;
 }
 .subheader.p{
  font-size:16px;
 }

}