
body::before {
  /* never visible - this is used in jQuery to check the current MQ */
  content: 'mobile';
  display: none;
}
@media only screen and (min-width: 1050px) {
  body::before {
    /* never visible - this is used in jQuery to check the current MQ */
    content: 'desktop';
  }
}

a {
  color: #267481;
  text-decoration: none;
}

/* -------------------------------- 

Main Components 

-------------------------------- */
@media only screen and (min-width: 1050px) {
  body[data-hijacking="on"] {
    overflow: hidden;
  }
}

.cd-section {
  height: 100vh;
}
.cd-section:first-of-type > .s1 {
    height: 100vh;
}
.cd-section:first-of-type > div::before {
  /* alert -> all scrolling effects are not visible on small devices */
  content: 'Effects not visible on mobile!';
  position: absolute;
  width: 100%;
  text-align: center;
  top: 20px;
  z-index: 2;
  font-weight: bold;
  font-size: 1.3rem;
  text-transform: uppercase;
  color: #6a7083;
}
.cd-section:nth-of-type(2) > .s2 {
    background-color: #fff;
    height: 100vh;
}
.cd-section:nth-of-type(3) > .s3 {
    background-color: #f7f7f7;
    height: 100vh;
    padding: 30px 0 0 0px;   
    
}
.cd-section:nth-of-type(4) > .s4 {
  background-image: url('../imgs/wheat-rice-bg.jpg');
    background-repeat: no-repeat;
    background-color: #999;
  background-size: 100%;
    background-position: center center;
  padding: 50px 0 0 0px;        
  height: 100vh;
}
.cd-section:nth-of-type(5) > .s5 {
  background-image: url('../imgs/leafsbg.png');
  background-repeat: no-repeat;
  background-position: right -90px bottom -90px;
  background-color: #fff;    
  padding: 30px 0 0 0px;    
  height: 100vh;    
}
.cd-section:nth-of-type(6) > .s6 {
  height: 100vh;    
}
.cd-section:nth-of-type(7) > .s7 {
  background-color: #fff;        
  height: 100vh;    
}

@media only screen and (min-width: 1050px) {
  
  [data-hijacking="on"] .cd-section {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }
  [data-hijacking="on"] .cd-section > div {
    visibility: visible;
  }
  [data-hijacking="off"] .cd-section > div {
    opacity: 0;
  }
  [data-animation="rotate"] .cd-section {
    /* enable a 3D-space for children elements */
    -webkit-perspective: 1800px;
    -moz-perspective: 1800px;
    perspective: 1800px;
  }
  [data-hijacking="on"][data-animation="rotate"] .cd-section:not(:first-of-type) {
    -webkit-perspective-origin: center 0;
    -moz-perspective-origin: center 0;
    perspective-origin: center 0;
  }
  [data-animation="scaleDown"] .cd-section > div, [data-animation="gallery"] .cd-section > div, [data-animation="catch"] .cd-section > div {
    box-shadow: 0 0 0 rgba(25, 30, 46, 0.4);
  }
  [data-animation="opacity"] .cd-section.visible > div {
    z-index: 1;
  }
}

@media only screen and (min-width: 1050px) {
  .cd-section:first-of-type > div::before {
    display: none;
  }
}
@media only screen and (min-width: 1050px) {
  .cd-section > div {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Force Hardware Acceleration */
    -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;
  }
  [data-hijacking="on"] .cd-section > div {
    position: absolute;
  }
  [data-animation="rotate"] .cd-section > div {
    -webkit-transform-origin: center bottom;
    -moz-transform-origin: center bottom;
    -ms-transform-origin: center bottom;
    -o-transform-origin: center bottom;
    transform-origin: center bottom;
  }
}

.cd-vertical-nav {
  /* lateral navigation */
  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: url(../img/cd-icon-arrow.svg) no-repeat center center;
}
.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: 1050px) {
  .cd-vertical-nav {
    display: block;
  }
}
@media screen and (max-width: 650px) {
.cd-section {
  height: auto !Important;
}
.cd-section:nth-of-type(3) > .s3 {
  height: auto !Important;
}    
.cd-section:nth-of-type(4) > .s4 {
  background-image: url('../imgs/wheat-rice-bg.jpg');
    background-repeat: no-repeat;
    background-color: #999;
  background-size: cover;
    background-position: center center;
  padding: 50px 0 0 0px;        
  height: auto;
}
.cd-section:nth-of-type(5) > .s5 {
  background-image: url('../imgs/leafsbg.png');
  background-repeat: no-repeat;
  background-position: right -90px bottom -90px;
  background-color: #fff;    
  padding: 50px 0 0 0px;    
  height: auto;    
}
.cd-section:nth-of-type(6) > .s6 {
  height: auto;    
}
.cd-section:nth-of-type(7) > .s7 {
  background-color: #fff;        
  height: auto;    
}    
}
