/* -------------------------------- 

Primary style

-------------------------------- */




*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}


body.overflow-hidden {
  /* when primary navigation is visible, the content in the background won't scroll */
  overflow: hidden;
}



.cd-header {
  position: fixed;
  top: 0;
  right: 0;
  height: 50px;
  width: 50px;
  z-index: 3;
	margin:0;
	padding:0;
 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media only screen and (min-width: 1170px) {
  .cd-header {
    -webkit-transition: background-color 0.3s;
    -moz-transition: background-color 0.3s;
    transition: background-color 0.3s;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .cd-header.is-fixed {
    /* when the user scrolls down, we hide the header right above the viewport */
    position: fixed;
    top: -80px;
    background-color: rgba(2, 23, 37, 0.96);
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    transition: transform 0.3s;
  }
  .cd-header.is-visible {
    /* if the user changes the scrolling direction, we show the header */
    -webkit-transform: translate3d(0, 100%, 0);
    -moz-transform: translate3d(0, 100%, 0);
    -ms-transform: translate3d(0, 100%, 0);
    -o-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
  .cd-header.menu-is-open {
    /* add a background color to the header when the navigation is open */
    background-color: rgba(2, 23, 37, 0.96);
  }
}

.cd-logo {
  display: block;
  position: absolute;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  left: .875em;
}
.cd-logo img {
  display: block;
}


.cd-secondary-nav {
  position: absolute;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 10em;
  /* hidden on small devices */
  display: none;
}
.cd-secondary-nav li {
  display: inline-block;
  margin-left: 2.2em;
}
.cd-secondary-nav a {
  display: inline-block;
  color: var(--bs-white);
  text-transform: uppercase;
  font-weight: 700;
}

.cd-primary-nav-trigger {
    position: absolute;
    right: 10px;
    top: 10px;
    height: 100%;
    width: 50px;
    background-color:var(--bs-white);
    display: block;
box-shadow: 0 0 6px rgba(0, 0, 0, .1607843137);
    border-radius: 100%;	
}
.cd-primary-nav-trigger .cd-menu-text {
  color: var(--bs-white);
  text-transform: uppercase;
  font-weight: 700;
  /* hide the text on small devices */
  display: none;
}
.cd-primary-nav-trigger .cd-menu-icon {
  /* this span is the central line of the menu icon */
  display: inline-block;
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  width: 20px;
  height: 2px;
  background-color: var(--bs-green);
  -webkit-transition: background-color 0.3s;
  -moz-transition: background-color 0.3s;
  transition: background-color 0.3s;
  /* these are the upper and lower lines in the menu icon */
}
.cd-primary-nav-trigger .cd-menu-icon::before, .cd-primary-nav-trigger .cd-menu-icon:after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: var(--bs-green);
  right: 0;
  -webkit-transition: -webkit-transform .3s, top .3s, background-color 0s;
  -moz-transition: -moz-transform .3s, top .3s, background-color 0s;
  transition: transform .3s, top .3s, background-color 0s;
}
.cd-primary-nav-trigger .cd-menu-icon::before {
  top: -5px;
}
.cd-primary-nav-trigger .cd-menu-icon::after {
  top: 5px;
}
.cd-primary-nav-trigger .cd-menu-icon.is-clicked {
  background-color: rgba(255, 255, 255, 0);
}
.cd-primary-nav-trigger .cd-menu-icon.is-clicked::before, .cd-primary-nav-trigger .cd-menu-icon.is-clicked::after {
  background-color: var(--bs-green);
}
.cd-primary-nav-trigger .cd-menu-icon.is-clicked::before {
  top: 0;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}
.cd-primary-nav-trigger .cd-menu-icon.is-clicked::after {
  top: 0;
  -webkit-transform: rotate(225deg);
  -moz-transform: rotate(225deg);
  -ms-transform: rotate(225deg);
  -o-transform: rotate(225deg);
  transform: rotate(225deg);
}

.cd-primary-nav {
  /* by default it's hidden - on top of the viewport */
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
     z-index: 99999;
  text-align: center;
  padding: 50px 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: auto;
  /* this fixes the buggy scrolling on webkit browsers - mobile devices only - when overflow property is applied */
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%);
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  transition-duration: 0.4s;
}
.cd-primary-nav li {
  font-size: 22px;
  font-size: 1.375rem;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: .2em 0;
}
.cd-primary-nav a {
  display: inline-block;
  padding: .4em 1em;
  border-radius: 0.25em;
  -webkit-transition: background 0.2s;
  -moz-transition: background 0.2s;
  transition: background 0.2s;
}

.cd-primary-nav .cd-label {
  color: var(--bs-dark);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  font-size: 0.875rem;
  margin: 2.4em 0 .8em;
}
.cd-primary-nav .cd-social {
  display: inline-block;
  margin: 0 .4em;
}
.cd-primary-nav .cd-social a {
  width: 44px;
  height: 44px;
  padding: 0;
  background-image: url("../img/cd-socials.svg");
  background-repeat: no-repeat;
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}
.cd-primary-nav .cd-facebook a {
  background-position: 0 0;
}
.cd-primary-nav .cd-instagram a {
  background-position: -44px 0;
}
.cd-primary-nav .cd-dribbble a {
  background-position: -88px 0;
}
.cd-primary-nav .cd-twitter a {
  background-position: -132px 0;
}
.cd-primary-nav.is-visible {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
	margin-top: 2em;
	padding-top:5em;
}

@media only screen and (min-width: 1170px) {
  .cd-primary-nav li {
    font-size: 30px;
    font-size: 1.875rem;
  }
  .cd-primary-nav .cd-label {
    font-size: 16px;
    font-size: 1rem;
  }
}

.cd-intro {
  position: relative;
  height: 100%;
  background: url("../img/cd-background-img.jpg") no-repeat center center;
  background-size: cover;
  z-index: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.cd-intro h1 {
  position: absolute;
  width: 90%;
  max-width: 1170px;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  color: var(--bs-white);
  font-size: 20px;
  font-size: 1.25rem;
  font-weight: 300;
  text-align: center;
}

@media only screen and (min-width: 1170px) {
  .cd-intro {
    height: 700px;
  }
}

.cd-main-content {
  position: relative;
  z-index: 1;
}


@media (max-width: 989px) {

nav {
    display: block;
	    z-index: 8 !important;
}
	.mobileimprint .col-md-8, .mobileimprint .col-md-4{
 width:100%;
		float:left;
		text-align:left;
		
}
	.mobileimprint .col-md-8{
padding-bottom:5px
}
	.mobileimprint{
 width:90%;
		margin:0 5% 2em 5%!important;
}
	.logosfooter{
 width:90%;
		margin:0 5% 2em 5%!important;
}
	}










/* CONTAINERS
-------------------------------------------------*/

#toggle li div a:before {
    content: "\+";
    margin-right: .5em;
    font-size: 14px;
}
*:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}



#container {
    width: 100%;
    position: relative;

}


#canvastop {
    width: 100%;
    position: relative;
 
   -webkit-transition:.5s ease all;
   -moz-transition:.5s ease all;
     -o-transition:.5s ease all;
        transition:.5s ease all;
}

#mobilienav {
     width: 300px;
    background: #FFF;
    position: absolute;
    left: -360px;
    top: 0;
padding-left:4%;
    
    -webkit-transition:.5s ease all;
   -moz-transition:.5s ease all;
     -o-transition:.5s ease all;
        transition:.5s ease all;
    
    /* By default, rotate the menu 90deg inwards */
    -webkit-transform:rotateY(-90deg);
   -moz-transform:rotateY(-90deg);
    -ms-transform:rotateY(-90deg);
     -o-transform:rotateY(-90deg);
        transform:rotateY(-90deg);
}

#container.display-nav #canvastop {
   -webkit-transform:translateX(300px);
   -moz-transform:translateX(300px);
    -ms-transform:translateX(300px);
     -o-transform:translateX(300px);
        transform:translateX(300px);
}

/* transition the menu with perspective on "show-nav" */
#container.display-nav #mobilienav {
    
    -webkit-transform-origin:100% 50%;
   -moz-transform-origin:100% 50%;
    -ms-transform-origin:100% 50%;
     -o-transform-origin:100% 50%;
        transform-origin:100% 50%;
    
    -webkit-transform:perspective(600px) rotateY(0deg);
   -moz-transform:perspective(600px) rotateY(0deg);
    -ms-transform:perspective(600px) rotateY(0deg);
     -o-transform:perspective(600px) rotateY(0deg);
        transform:perspective(600px) rotateY(0deg);

}


/* UTILITIES
-------------------------------------------------*/

#bars{
	font-size: 34px;
	margin-right: 0px;
	color: var(--bs-dark);
z-index:99999999999999999999999 !important;
font-weight:100 !important;
right:.5em !important;
top:.5em !important;
position:absolute;

}

#bars:hover{
       color: var(--bs-brown);
}

#title{
	margin: 0;
	padding: 1em;
	color: rgba(0,0,0,0.4);
	text-shadow: 0 0 1px rgba(0,0,0,0.1);
	font-weight: 300;
	font-size: .9em;

}


.border{
border-top: 1px solid rgba(0,0,0,0.2);

}

a.back {
   color: var(--bs-dark);
   width: 200px;
   text-decoration: none; 
   text-align: center; 
   font-size: .9em;
   display: block;
   margin: 50px auto 0 auto;
   border: 2px solid #38935f;
   padding: 10px;

}

a.back:hover{
   color: var(--bs-brown);
 border: 2px solid #48b978;
}


.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
}



/* TOGGLE NAV
-------------------------------------------------*/

#toggle {
    list-style: none;
    padding-top: 50px;
    background: #FFF;
    z-index: 999999999 !important;
    top: -40px !important;
}
#toggle div:hover {
    background: rgba(0,0,0,0.2);
	-webkit-box-shadow:inset 0 -1px rgba(0,0,0,0);
   -moz-box-shadow:inset 0 -1px rgba(0,0,0,0);
        box-shadow:inset 0 -1px rgba(0,0,0,0);
	color: var(--bs-dark);
}
#toggle div.active {
       background: #c4bfbe;
}
#toggle div {

    cursor: pointer;
    display: block;
       border-bottom: 1px solid rgba(0,0,0,0.2);
}




span.the-btn {
    float: right;
    font-size: 12px;
    height: 30px;
    width: 43px;
    margin-top: 10px;
	margin-right: 8px;
    padding:0;
    color: var(--bs-dark);
	display:none
}

#toggle ul{
    list-style: disc;
    display: none;
    color: var(--bs-dark);
   background: #FFF;
	-webkit-box-shadow:inset 0 -1px rgba(0,0,0,0);
   -moz-box-shadow:inset 0 -1px rgba(0,0,0,0);
        box-shadow:inset 0 -1px rgba(0,0,0,0);

}
#toggle li div a {
	color: var(--bs-dark);
		list-style: none!important;
	    text-align: left;
}
#toggle .upper {
	
		list-style: none!important
}
#toggle .upper a {
	font-weight: initial;
	margin:0;
	padding:0;
	font-size: .8em;
		list-style: none!important;
	    text-align: left;
}
#toggle .upper .upper {
	text-transform: initial;
		list-style: none!important
	
}

#toggle li ul li ul  a{
    list-style: disc;
    display: block;
    color: var(--bs-dark);
		margin:0;
	padding:0;
		list-style: none!important
  
}

#toggle li a {
    line-height: 41px;
    color: var(--bs-dark);
    list-style: circle;
    width: 260px;
    padding: 0;
  	 margin: 0 0 0 5px;
		list-style: none!important

}
#toggle a {
	  margin: 0 0 0 47px;
    padding: 0;
    color: var(--bs-dark);
    line-height: 41px;
    font-weight: normal;
    font-size: 1em;
    text-decoration: none !important;
		list-style: none!important

}
#toggle ul.nav3 {
	display: block !important;
	margin: 0 0 0 5px;
	padding:0;
	list-style: none!important
	}



@media screen and (min-width:1000px) {
	
	#bars{
display:none;
}
}




#nav li{
 list-style:none !important
}

