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

Primary style

-------------------------------- */
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: "Roboto", sans-serif;
  color: #3d3536;
  background-color: white;
}

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

a {
  color: #b4d7a8;
  text-decoration: none;
}

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

Modules - reusable parts of our design

-------------------------------- */
.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: 750px;
	color: #fffaee;
	font-size: 65px;
	margin: 0 auto;
	line-height: 1.6em;
}
.cd-container::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}


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

Main components 

-------------------------------- */
.cd-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  z-index: 2;
}
.cd-header:after {
  content: "";
  display: table;
  clear: both;
}
.cd-header #cd-logo {
  float: left;
  margin: 13px 0 0 5%;
}
.cd-header #cd-logo img {
  display: block;
}
@media only screen and (min-width: 768px) {
  .cd-header {
    height: 70px;
  }
  .cd-header #cd-logo {
    margin: 23px 0 0 5%;
  }
}


.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;
}

.next_section {
	position:absolute;
	left:50%;
	bottom:0;
	width:60px;
	height:60px;
	margin-left:-30px;
	transition: all 300ms;
	-webkit-transition: all 300ms;
	background-image:url(../img/sprite.png);
	background-position:0 -60px;
	background-repeat:no-repeat;
	background-color:#c0392b;
}
.next_section:hover {
	background-color:#fff;
	background-position:0 0;
}

.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 h2 {
  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: 90%;
  max-width: 1170px;
  text-align: center;
  font-size: 30px;
  font-size: 1.875rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  color: white;
}
.cd-fixed-bg.cd-bg-1 {
  background-image: url("../img/c001.jpg");
}
.cd-fixed-bg.cd-bg-2 {
  background-image: url("../img/c002.jpg");
}
.cd-fixed-bg.cd-bg-3 {
  background-image: url("../img/c003.jpg");
}
.cd-fixed-bg.cd-bg-4 {
  background-image: url("../img/c004.jpg");
 } 
.cd-fixed-bg.cd-bg-5 {
  background-image: url("../img/c005.jpg");
}
.cd-fixed-bg.cd-bg-6 {
  background-image: url("../img/c006.jpg");
}
.cd-fixed-bg.cd-bg-7 {
  background-image: url("../img/c007.jpg");
}
.cd-fixed-bg.cd-bg-8 {
  background-image: url("../img/c008.jpg");
}

.cd-fixed-bg.cd-bg-9 {
  background-image: url("../img/c009.jpg");
}
.cd-fixed-bg.cd-bg-10 {
  background-image: url("../img/c010.jpg");
}
.cd-fixed-bg.cd-bg-11 {
  background-image: url("../img/c011.jpg");
}

.cd-fixed-bg.cd-bg-12 {
  background-image: url("../img/c012.jpg");
}

.cd-fixed-bg.cd-bg-13 {
  background-image: url("../img/c013.jpg");
}

.cd-fixed-bg.cd-bg-14 {
  background-image: url("../img/c014.jpg");
}


@media only screen and (min-width: 768px) {
  .cd-fixed-bg h1, .cd-fixed-bg h2 {
    font-size: 36px;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-fixed-bg {
    background-attachment: fixed;
  }
  .cd-fixed-bg h1, .cd-fixed-bg h2 {
    font-size: 48px;
    font-weight: 300;
  }
}

.cd-scrolling-bg {
  position: relative;
  min-height: 60%;
  line-height: 1.6;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  z-index: 2;
  padding: 4em 0;
}
.cd-scrolling-bg.cd-color-1 {
  background-color: #3e3947;
  color: #a6989a;
}
.cd-scrolling-bg.cd-color-2 {
  background-color: #745360;
  color: #3d3536;
}
.cd-scrolling-bg.cd-color-3 {
  background-color: #c08989;
  color: #3d3536;
}
@media only screen and (min-width: 768px) {
  .cd-scrolling-bg {
    padding: 8em 0;
    font-size: 20px;
    font-size: 1.25rem;
    line-height: 2;
    font-weight: 300;
  }
}

.cd-top {
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: rgba(232, 98, 86, 0.8) url(../img/cd-top-arrow.svg) no-repeat center 50%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
  z-index: 10;
}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
 }
.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;
}
.no-touch .cd-top:hover {
  background-color: #e86256;
  opacity: 1;
}
@media only screen and (min-width: 768px) {
  .cd-top {
    right: 20px;
    bottom: 20px;
  }
}
@media only screen and (min-width: 1024px) {
  .cd-top {
    height: 60px;
    width: 60px;
    right: 30px;
    bottom: 30px;
  }
}

