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

Primary style
Highlight color:  #d9e021

-------------------------------- */
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body {
  font-size: 100%;
  font-family: 'Source Sans Pro', sans-serif;
  color: #3d3536;
  background-color: white;
}

body, html {
  /* important */
  height: 100%;
}

a {
  color: #d9e021;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.clear{
    clear:both;   
}
h3{
    margin-top: 1.5em;
    font-weight: 800;   
}

.gmap{
    width: 100%;
    height: 450px;
}

footer{
    width: 100%;
    height: 80px;
    background-color: black;
    padding: 10px;
    margin-top: -3px;
}

footer>p{
    width: 100%;
    font-size: 1em;
    text-align: center;
    color: white;
}

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

Modules - reusable parts of our design

-------------------------------- */
.rslidesworks{
    width: 100%;
}
.rslidesworks img{
    width:100%;
}
.refimage{
    width: 100%;
    background-size: cover;
    margin-bottom: 50px;
}
.refdescript{
    position:absolute;
    color: white;
    top: 20px;
}
.refdescript span{
    background-color: #363e0a;
    padding: 0.2em 1.5em;
}

.cd-container {
  /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
  width: 90%;
  max-width: 768px;
  margin: 0 auto;
}
.cd-container::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}

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

Main components 

-------------------------------- */
.cd-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 2;
}
.cd-header:after {
  content: "";
  display: table;
  clear: both;
}
.cd-header #cd-logo {
  float: left;
  height: 50px;
  width: 50px;
  background-color: #d9e021;
}
.cd-header #cd-logo img{
  height: 100%;
  width: 100%;
}
.cd-header #cd-logo img {
  display: block;
}
@media only screen and (min-width: 768px) {
  .cd-header {
    height: 70px;
  }
  .cd-header #cd-logo {
    height: 70px;
    width: 70px;
  }
}

.cd-header #cd-name a{
  float: left;
  padding-left: 15px;
  line-height: 50px;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  font-size: 0.875rem;
}
.smlTitleFont{
  font-size: 0.8em;
}


.cd-main-nav {
  float: right;
  margin-right: 5%;
  width: 44px;
  height: 100%;
  background: url("../img/cd-icon-menu.svg") no-repeat center center;
  background-size: 44px 44px;
  cursor: pointer;
}
.cd-main-nav ul {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%);
}
.cd-main-nav ul.is-visible {
  -webkit-transform: translateY(50px);
  -moz-transform: translateY(50px);
  -ms-transform: translateY(50px);
  -o-transform: translateY(50px);
  transform: translateY(50px);
}
.cd-main-nav a {
  display: block;
  height: 50px;
  line-height: 50px;
  padding-left: 5%;
  background: #000000;
  border-top: 1px solid #555555;
  color: #ffffff;
}
@media only screen and (min-width: 768px) {
  .cd-main-nav {
    width: auto;
    height: auto;
    background: none;
    cursor: auto;
  }
  .cd-main-nav ul {
    position: static;
    width: auto;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    line-height: 70px;
  }
  .cd-main-nav ul.is-visible {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
  }
  .cd-main-nav li {
    display: inline-block;
    margin-left: 1em;
  }
  .cd-main-nav a {
    display: inline-block;
    height: auto;
    line-height: normal;
    background: transparent;
    padding: .6em 0.5em;
    border-top: none;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    font-size: 0.875rem;
  }
  .cd-header #cd-name a{
    line-height: 70px;
  }
  .no-touch .cd-main-nav a:hover {
    color: #d9e021;
  }
}

.cd-main-content {
  /* you need to assign a min-height to the main content so that the children can inherit it*/
  height: 100%;
  position: relative;
  z-index: 1;
}

.cd-fixed-bg {
  position: relative;
  min-height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  z-index: 1;
}
.cd-fixed-bg h1, .cd-fixed-bg h3 {
  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%);
  max-width: 1170px;
  text-align: center;
  font-size: 30px;
  font-size: 1.875rem;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 1.0);
  color: white;
}
.cd-fixed-bg h1 span, .cd-fixed-bg h3 span {
  padding: 0px 15px;
  background-color: rgba(0, 0, 0, 0.7);
  line-height: 1.25em;
}
.cd-fixed-bg h3{
  width: 100%;
}

@media only screen and (max-width: 480px) {
    .cd-fixed-bg h3 span{
        font-size: 0.8em; 
        line-height: 0.8em; 
    }
}

.nobr { 
    white-space:nowrap; 
}

.cd-fixed-bg.cd-bg-1 {
  background-image: url("../img/cd-background-1-sml.jpg");
}
.cd-fixed-bg.cd-bg-2 {
  background-image: url("../img/cd-background-2-sml.jpg");
}
.cd-fixed-bg.cd-bg-3 {
  background-image: url("../img/cd-background-3-sml.jpg");
}
.cd-fixed-bg.cd-bg-4 {
  background-image: url("../img/cd-background-4-sml.jpg");
}

@media only screen and (min-width: 768px) {
    .cd-fixed-bg.cd-bg-1 {
      background-image: url("../img/cd-background-1.jpg");
    }
    .cd-fixed-bg.cd-bg-2 {
      background-image: url("../img/cd-background-2.jpg");
    }
    .cd-fixed-bg.cd-bg-3 {
      background-image: url("../img/cd-background-3.jpg");
    }
    .cd-fixed-bg.cd-bg-4 {
      background-image: url("../img/cd-background-4.jpg");
    }
}
@media only screen and (min-width: 768px) {
  .cd-fixed-bg h1, .cd-fixed-bg h3 {
    font-size: 36px;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-fixed-bg {
    background-attachment: fixed;
  }
  .cd-fixed-bg h1, .cd-fixed-bg h3 {
    font-size: 48px;
    font-weight: 100;
  }
}

.cd-scrolling-bg {
  position: relative;
  min-height: 100%;
  padding: 4em 0;
  line-height: 1.3em;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  z-index: 2;
  overflow:hidden;
}
.cd-scrolling-bg.cd-color-1 {
  background-color: #abaf51;
  color: #fff;
}
.cd-scrolling-bg.cd-color-2 {
  background-color: #dce89c;
  color: #363e0a;
}
.cd-scrolling-bg.cd-color-2 a{
  color: #71830b;
}
.cd-scrolling-bg.cd-color-3 {
  background-color: #fff;
  color: #000;
}
.cd-scrolling-bg.cd-color-4 {
  background-color: #c8d28f;
  color: #3d3536;
}
@media only screen and (min-width: 768px) {
  .cd-scrolling-bg {
    padding: 4em 0;
    font-size: 20px;
    font-size: 1.5rem;
    line-height: 1.5em;
    font-weight: 300;
  }
}


p {
    margin-bottom: 1.5em;
}
p.sublist {
    margin-bottom: 0.1em;
}


h1 {
    margin-bottom: 1.5em;
}

.continue-arrow{
    width: 80px;
    align-content: right;
    margin: 0 auto;
}

.testimonial{
    max-width: 768px;
    color: #000;
}
.testimonial_main{
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2em;
    font-size: 1.5em;
}
.testimonial_main:lang(de), .testimonial_main {
  quotes: "\00AB" "\00BB";
}
.testimonial_main:before {
  color: #d9e021;
  content: open-quote;
  font-size: 2em;
  line-height: 0em;
  margin-right: 0.1em;
  vertical-align: -0.09em;
}
.testimonial_main:after {
  color: #d9e021;
  content: close-quote;
  font-size: 2em;
  line-height: 0em;
  margin-left: 0.1em;
  vertical-align: -0.09em;
}
.testimonial_from{
    font-weight: 800;
    font-size: 0.6em;
    margin-bottom: 0px;
}
.testimonial_from_pos{
    font-weight: 100;
    font-size: 0.6em;
    line-height: 1.2em;
}
.logo-container{
    margin-top: 1em;
    width:105%; 
    margin: 0 -2.5%;
}
.customer-logo img{
    width:100%; 
    vertical-align: middle;
}
.customer-logo span{
}
.customer-logo{
    display: inline-block;
    border: solid 1px #eee;
    width:15%;
    margin:5%;
    padding: 0 1%;
    height:60px;
    float:left;
    line-height:50px;
    text-align:center;
    font-size: 0.7em;
}
@media only screen and (max-width: 768px) {
    .customer-logo{
        width:20%;
        margin:6%;
    }
}
@media only screen and (max-width: 500px) {
    .customer-logo{
        width:35%;
        margin:7.5%;
    }
}
