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

Primary style

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

/*html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: "Slabo 27px", serif;
  color: #ffffff;
  background-color: #131d20;
}
body::before {
  /* never visible - this is used in jQuery to check the current MQ */
 /*/ content: 'mobile';
  display: none;
}

a {
  color: #e3ca76;
  text-decoration: none;
}*/
@media only screen and (max-width: 1170px) {
  body::before {
    /* never visible - this is used in jQuery to check the current MQ */
    content: 'desktop';
  }
}

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

Main Components 

-------------------------------- */
@media only screen and (max-width: 1170px) {
  .cd-section {
    height: 100vh;
  }
}
.cd-section h1 {
  position: relative;
  top: 30%;
  -webkit-transform: translateY(-70%);
  -moz-transform: translateY(-70%);
  -ms-transform: translateY(-70%);
  -o-transform: translateY(-70%);
  transform: translateY(-70%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  font-size: 2.6rem;
  color: #444444;
  font-family: 'Raleway', sans-serif;
}
@media only screen and (max-width: 768px) {
  .cd-section h1 {
    font-size: 3.2rem;
  }
}
@media only screen and (max-width: 1170px) {
  .cd-section h1 {
    font-size: 4.2rem;
  }
}

.cd-block, .cd-half-block {
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.cd-block {
  -webkit-transform-origin: center center;
  -moz-transform-origin: center center;
  -ms-transform-origin: center center;
  -o-transform-origin: center center;
  transform-origin: center center;
  color: #ffffff;
}
.cd-section:first-of-type .cd-block {
  visibility: visible;
  height: 100vh;
  background:url(../images/7.jpg) no-repeat center center;
  background-size: cover;
}
@media only screen and (max-width: 1170px) {
  .cd-block {
    position: fixed;
    width: 100%;
    min-height: 100vh;
    top: 0;
    left: 0;
    height: 100vh;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
    visibility: hidden;
  }
  .cd-section:first-of-type .cd-block {
    visibility: visible;
  }
  .cd-block > * {
    visibility: visible;
  }
}

.cd-half-block {
  background: #ffffff;
  color: #263b40;
}
.cd-half-block:nth-of-type(1) {
  height: 60vh;
  background-color: #263b40;
  background-position: center center;
  background-repeat: no-repeat;
}
.cd-half-block:nth-of-type(2) {
  padding: 5em 5% 4em 4%;
}
.cd-half-block p{
  font-size: 1.8rem;
  line-height: 1.5;
}
.cd-section:nth-of-type(2) .cd-half-block:first-of-type {
  background-image: url("../images/img-1.jpg");
  background-size: cover;
}
.cd-section:nth-of-type(3) .cd-half-block:first-of-type {
  background-image: url("../images/img-2.jpg");
  background-size: cover;
}
.cd-section:nth-of-type(4) .cd-half-block:first-of-type {
  background-image: url("../images/img-3.jpg");
  background-size: cover;
}
.cd-section:nth-of-type(5) .cd-half-block:first-of-type {
  background-image: url("../images/img-4.jpg");
  background-size: cover;
}
.cd-section:nth-of-type(6) .cd-half-block:first-of-type {
  background-image: url("../images/img-3.jpg");
  background-size: cover;
}
@media only screen and (min-width: 1170px) {
  .cd-half-block {
    height: 100vh !important;
    width: 50%;
    position: absolute;
    top: 0;
  }
  .cd-half-block p {
    /*position: absolute;
left: 40%;
top: 20%;
    bottom: auto;
    right: auto;
    -webkit-transform: translateX(-46%) translateY(-40%);
    -moz-transform: translateX(-46%) translateY(-40%);
    -ms-transform: translateX(-46%) translateY(-40%);
    -o-transform: translateX(-46%) translateY(-40%);
    transform: translateX(-46%) translateY(-40%);*/
    width: 100%;
    padding: 0 0;
    font-family: 'Raleway', sans-serif;
    margin-bottom: 10px;
    color: #000000;
    font-weight: 400;
        font-size: 0.85em;
    line-height: 1.5;
  }
  .cd-section:nth-of-type(even) .cd-half-block:first-of-type, .cd-section:nth-of-type(odd) .cd-half-block:nth-of-type(2) {
    left: 0;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
  }
  .cd-section:nth-of-type(odd) .cd-half-block:first-of-type, .cd-section:nth-of-type(even) .cd-half-block:nth-of-type(2) {
    right: 0;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
  }
}

.cd-vertical-nav {
  position: fixed;
  z-index: 1;
  right: 3%;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  display: none;
}
.cd-vertical-nav a {
  display: block;
  height: 40px;
  width: 40px;
  /* image replace */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: transparent url(../images/cd-icon-arrow.svg) no-repeat center center;
  -webkit-transition: opacity 0.2s 0s, visibility 0.2s 0s;
  -moz-transition: opacity 0.2s 0s, visibility 0.2s 0s;
  transition: opacity 0.2s 0s, visibility 0.2s 0s;
}
.cd-vertical-nav a.cd-prev {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
  margin-bottom: 10px;
}
.cd-vertical-nav a.inactive {
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.2s 0s, visibility 0s 0.2s;
  -moz-transition: opacity 0.2s 0s, visibility 0s 0.2s;
  transition: opacity 0.2s 0s, visibility 0s 0.2s;
}
@media only screen and (min-width: 1170px) {
  .cd-vertical-nav {
    display: block;
  }
}
.cd-half-block ul{margin:0 25px;}
.cd-half-block ul li{
  font-size: 0.85em;
line-height: 1.5;
list-style-type: disc;
margin-bottom: 5px;
  font-family: 'Raleway', sans-serif;
}

.quotes {
    position: absolute;
    bottom: 20px;
    width: 100%;
    left: 0;
    top: 0px;
}

.quotes article {
    border-bottom: 1px dashed #ddd;
    text-align: justify;
    line-height: 1.8;
    background: rgba(255,255,255,0.95);
    /*max-width: 620px;*/
    font: normal 1em 'Raleway', sans-serif;
    padding: 80px 40px;
    margin: 0 auto;
    width: 99%;
    color: #013034;
}

.quotes article em {
    font:normal 1.2em 'Raleway', sans-serif;
    font-weight: bold;
    color: #ef6145;
    line-height: 1.8
}

.quotes article em:before {
    content: '~';
    margin: 0 10px;
}

@media (max-width: 600px) {
    .quotes article {
        padding: 60px 30px;
        line-height: 1.5;
        font-size: 12px;
    }
    .quotes article em {
        font-size: 10px;
    }
}