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

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;
  overflow-x:hidden;
}

body, html {
  /* important */
  height: 100%;
  /*width:100%;
  margin:0;
  padding:0;
  overflow-x:hidden;*/
}

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: 100%;
  /*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.80);
  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;
  margin: 8px 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: 14px 0 0 5%;
  }
}

.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: #2f292a;
  border-top: 1px solid #453c3d;
  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 1em;
    border-top: none;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    font-size: 0.875rem;
  }
  .no-touch .cd-main-nav a:hover {
    color: #99a478;
  }
}
/* all the content tags, big and small */
.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-main-content h1, .cd-main-content h2, .cd-main-content h3, .cd-main-content h4  {
	font-family:BebasNeue, Verdana, sans-serif;
}
.cd-main-content h4  {
	line-height: 1;
}

.cd-fixed-bg {
  position: relative;
  min-height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 0 0;
  z-index: 1;
}
.cd-fixed-bg h1, .cd-fixed-bg h2 {
  position: absolute;
  left: 50%;
  top: 70%;
  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%;
  /*min-width: 330px;*/
  text-align: center;
  /*font-size: 30px;
  font-size: 1.875rem;*/
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  color: white;
}

/* put other screen sized h1 and h2 under here*/

.cd-fixed-bg.cd-bg-1 {
  background-image: url("../images/Aback.jpg");
}

.cd-fixed-bg.cd-bg-1 p {
	width:50%; 
	margin:7% auto 0 auto; 
	font-size:1.8em;
	font-weight:900; 
	color:white; 
	text-shadow:1px 1px 5px rgba(86,85,85,1.00);	
}

.cd-fixed-bg.cd-bg-2 {
  background-image: url("../images/backDown.jpg");
}
.cd-fixed-bg.cd-bg-3 {
  background-image: url("../images/backMid.jpg");
}
.cd-fixed-bg.cd-bg-4 {
  background-image: url("../images/BasePaper.jpg");
}



@media only screen and (min-width: 330px) and (max-width:629px) {

.cd-fixed-bg {
  position: relative;
  min-height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 0 0;
  z-index: 1;
}

.cd-fixed-bg h1, .cd-fixed-bg h2 {
    font-size: 36px;
  }
  
    .cd-fixed-bg h1 {
	font-size:3.5em;
	line-height:1;
}

.cd-fixed-bg h2  {
	font-size:2.5em;
}

.tight {
	width:80%;
	margin:0 auto;
	font-weight:900;
	font-size:1.2rem;
}
.tight strong {
	color:rgb(255,102,0);
	font-weight:900;
	font-size:1.8rem;
}
.cd-fixed-bg.cd-bg-1 {
  background-image: url("../images/Aback430.jpg");
}
.cd-fixed-bg.cd-bg-1 p {
	width:80%; 
	margin:5% auto 0 auto; 
	font-size:0.8em;
	font-weight:900; 
	color:white; 
	text-shadow:1px 1px 5px rgba(86,85,85,1.00);	
}
.cd-fixed-bg.cd-bg-2 {
  background-image: url("../images/backDown430.jpg");
}
.cd-fixed-bg.cd-bg-3 {
  background-image: url("../images/backMid430.jpg");
}
.cd-fixed-bg.cd-bg-4 {
  background-image: url("../images/BasePaper430.jpg");
}	
  .cd-header #cd-logo img {
  display: block;
  width:80%;
}

.cd-fixed-bg {
    background-attachment: fixed;
  }
}


@media only screen and (min-width: 630px) and (max-width:767px) {
	.cd-fixed-bg {
    background-attachment: fixed;
	background-size:contain;
  }
  
.cd-fixed-bg h1, .cd-fixed-bg h2 {
    font-size: 36px;
  }
  
  .cd-header #cd-logo img {
  display: block;
  width:80%;
}  
    .cd-fixed-bg h1 {
	font-size:5.5em;
	line-height:1;
}

.cd-fixed-bg h2  {
	font-size:3em;
}

.tight {
	width:80%;
	margin:0 auto;
	font-weight:900;
	font-size:1.8rem;
}
.tight strong {
	color:rgb(255,102,0);
	font-weight:900;
	font-size:2.5rem;
}
.cd-fixed-bg.cd-bg-1 {
  background-image: url("../images/Aback600.jpg");
}
.cd-fixed-bg.cd-bg-1 p {
	width:60%; 
	margin:8% auto 0 auto; 
	font-size:1em;
	font-weight:900; 
	color:white; 
	text-shadow:1px 1px 5px rgba(86,85,85,1.00);	
}
.cd-fixed-bg.cd-bg-2 {
  background-image: url("../images/backDown600.jpg");
}
.cd-fixed-bg.cd-bg-3 {
  background-image: url("../images/backMid600.jpg");
}
.cd-fixed-bg.cd-bg-4 {
  background-image: url("../images/BasePaper600.jpg");
}	
}
@media only screen and (min-width: 768px) and (max-width:1169px) {
	.cd-fixed-bg {
    background-attachment: fixed;
	background-size:cover;
  }
  
  .cd-fixed-bg h1, .cd-fixed-bg h2 {
    font-size: 36px;
  }
  
    .cd-fixed-bg h1 {
	font-size:8em;
	line-height:1;
}

.cd-fixed-bg h2  {
	font-size:5em;
}

.tight {
	width:80%;
	margin:0 auto;
	font-weight:900;
	font-size:2.0rem;
}
.tight strong {
	color:rgb(255,102,0);
	font-weight:900;
	font-size:3rem;
}
.cd-fixed-bg.cd-bg-1 {
  background-image: url("../images/Aback770.jpg");
}
.cd-fixed-bg.cd-bg-1 p {
	width:50%; 
	margin:10% auto 0 auto; 
	font-size:1.2em;
	font-weight:900; 
	color:white; 
	text-shadow:1px 1px 5px rgba(86,85,85,1.00);	
}
.cd-fixed-bg.cd-bg-2 {
  background-image: url("../images/backDown770.jpg");
}
.cd-fixed-bg.cd-bg-3 {
  background-image: url("../images/backMid770.jpg");
}
.cd-fixed-bg.cd-bg-4 {
  background-image: url("../images/BasePaper770.jpg");
}
}
@media only screen and (min-device-width: 768px) and (max-device-width:1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
	.cd-fixed-bg {
	-webkit-background-size: 2024px 768px !important;
	background-size: 2024px 768px !important;
	background-attachment:fixed;
	background: no-repeat center center;
  }
  
.cd-fixed-bg.cd-bg-1 {
  background-image: url("../images/Aback770.jpg");
}
.cd-fixed-bg.cd-bg-1 p {
	width:60%; 
	margin:11% auto 0 auto; 
	font-size:1.1em;
	font-weight:900; 
	color:white; 
	text-shadow:1px 1px 5px rgba(86,85,85,1.00);	
}
.cd-fixed-bg.cd-bg-2 {
  background-image: url("../images/backDown770.jpg");
}
.cd-fixed-bg.cd-bg-3 {
  background-image: url("../images/backMid770.jpg");
}
.cd-fixed-bg.cd-bg-4 {
  background-image: url("../images/BasePaper770.jpg");
}
}

@media only screen and (min-device-width: 768px) and (max-device-width:1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
	.cd-fixed-bg {
	-webkit-background-size: 2024px 768px !important;
	background-size: 2024px 768px !important;
	background-attachment:fixed;
	background: no-repeat center center;
  }
  
.cd-fixed-bg.cd-bg-1 {
  background-image: url("../images/Aback770.jpg");
}

.cd-fixed-bg.cd-bg-1 p {
	width:60%; 
	margin:5% auto 0 auto; 
	font-size:1em;
	font-weight:900; 
	color:white; 
	text-shadow:1px 1px 5px rgba(86,85,85,1.00);	
}
.cd-fixed-bg.cd-bg-2 {
  background-image: url("../images/backDown770.jpg");
}
.cd-fixed-bg.cd-bg-3 {
  background-image: url("../images/backMid770.jpg");
}
.cd-fixed-bg.cd-bg-4 {
  background-image: url("../images/BasePaper770.jpg");
}
}
@media only screen and (min-width: 1170px) {
  .cd-fixed-bg {
    background-attachment: fixed;
	background-size:cover;
  }
  /*.cd-fixed-bg h1, .cd-fixed-bg h2 {
    font-size: 48px;
    font-weight: 300;
  }*/
  .cd-fixed-bg h1 {
	font-size:10em;
	line-height:1;
}

.cd-fixed-bg h2  {
	font-size:5em;
}

.tight {
	width:80%;
	margin:0 auto;
	font-weight:900;
	font-size:2.8rem;
}
.tight strong {
	color:rgb(255,102,0);
	font-weight:900;
	font-size:5rem;
}
}

.cd-scrolling-bg {
  position: relative;
  min-height: 100%;
  padding: 4em 0;
  line-height: 1.6;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.cd-scrolling-bg.cd-color-1 {
  background-color: #3d3536;
  color: #a6989a;
}
.cd-scrolling-bg.cd-color-1 h3{
   color: #a6989a;
	text-align: center;
	margin-top: -25px;
}
/*.cd-scrolling-bg.cd-color-1 h3 a:link, .cd-scrolling-bg.cd-color-1 h3 a:visited{
  color: #a6989a;
}
.cd-scrolling-bg.cd-color-1 h3 a:hover, .cd-scrolling-bg.cd-color-1 h3 a:active{
  color: white;
}*/
.cd-scrolling-bg.cd-color-1 h3.emphatic a:link, .cd-scrolling-bg.cd-color-1 h3.emphatic a:visited{
  color: white;
}
.cd-scrolling-bg.cd-color-1 h3.emphatic a:hover, .cd-scrolling-bg.cd-color-1 h3.emphatic a:active{
  color: #FF9100;
}
.cd-scrolling-bg.cd-color-2 {
  background-color:rgba(249,225,127,1.00);
  color: #3d3536;
}
.cd-scrolling-bg.cd-color-3 {
  background-color: #b4d7a8;
  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;
  }
}
