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

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: 'Quicksand', sans-serif;
  color: #3d3536;
  background-color: white;
}

p {
  font-family: 'Quicksand', sans-serif;
  font-size:16px;    
}

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

a {
  color: #0099ff;
  font-weight:400;    
  text-decoration: none;
}

a:hover {
  color: #ffe700;
  text-decoration: none;
}

h1 {
  font-family: 'Damion', cursive;
  font-size:120px;
}

h2,
.row h2 {
  font-family: 'Quicksand', sans-serif;
  font-size:40px;
  font-weight: 200!important;
}

h3,
.row h3 {
  font-family: 'Quicksand', sans-serif;
  font-size:30px;
  font-weight: 200!important;
}

.row h4 {
  font-family: 'Quicksand', sans-serif;
  font-size:20px;
  font-weight: 700;    
}

@media only screen and (max-width: 768px) {
h1 {
  font-family: 'Damion', cursive;
  font-size:80px;
} 
.row h3 {
  font-family: 'Quicksand', sans-serif;
  font-size:30px;
}
}

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

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: 1000px;
  margin: 0 auto;
}
.cd-container::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}

.open-table {
border-collapse: collapse;
border-spacing: 0;
border: 1px solid #ddd;
margin-bottom: 20px;
width: 100%;
}

.open-table tr td {
border: 1px solid #ddd;
padding:10px;
}

.cable-table {
border-collapse: collapse;
border-spacing: 0;
border: 1px solid #999;
margin-bottom: 20px;
width: 100%;
}

.cable-table tr td {
border: 1px solid #999;
padding:10px;
}

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

Main components 

-------------------------------- */
.cd-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  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: 70px;
  margin: 9px 0 0 5%;
}
.cd-header #cd-logo img {
  display: block;
}
@media only screen and (min-width: 768px) {
  .cd-header {
    height: 80px;
  }
  .cd-header #cd-logo { 
    margin: 6px 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(80px);
  -moz-transform: translateY(80px);
  -ms-transform: translateY(80px);
  -o-transform: translateY(80px);
  transform: translateY(80px);
  background-color:rgba(250,250,250,1);
  height:100vh;
}

.cd-main-nav a {
  display: block;
  height: 60px;
  line-height: 60px;
  padding-left: 5%;
  text-align: center;
  border-top: 1px solid #453c3d;
  color: #8e7d7f;
}

.book-btn {
    background-color:#fff;
    color:#333;
    border:1px solid #333;
    border-radius: 10px;
    padding:10px;
}

.book-btn:hover {
    background-image: linear-gradient(to bottom right, #fff000, #ffc000);
    color:#fff;
    border:1px solid #fff;
    border-radius: 10px;
    padding:10px;
-webkit-transition:1s color;
-moz-transition:1s color;
transition:1s color;
}

/* Dropdown Menu */
.cd-main-nav ul li ul { 
    position: absolute;
    top:64px;
    width: 30%;
    margin:0;
    padding:0;
    display: none; 
}
.cd-main-nav ul li ul li { 
    text-align: left;
    width: 100%;
    position:relative;
}
.cd-main-nav ul li ul a { 
    padding: 10px; 
    background: #fff;
}
.cd-main-nav ul li:hover ul { 
    display: block;
    left:auto;
    right:auto; 
}

/* My late night media q */
@media only screen and (max-width: 768px) {
    
/* Dropdown Menu */
.cd-main-nav ul li ul { 
    position: absolute;
    top:64px;
    width: 30%;
    margin:0;
    padding:0;
    display: none; 
}
.cd-main-nav ul li ul li { 
    text-align: left;
    width: 100%;
    position:relative;
}
.cd-main-nav ul li ul a { 
    padding: 10px; 
    background: #fff;
}
.cd-main-nav ul li:hover ul { 
    display: none;
}    
    
.no-touch .cd-main-nav .book-btn a {
    background-image: linear-gradient(to bottom right, #fff200, #0099ff);
    color:#fff;
    width:80%;
    margin:0 auto;
    text-align: center;
    border-radius: 10px;
} 
}

@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;
    padding-top:15px;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    line-height: 50px;
  }
  .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: #3d3536;
    font-weight: ;
    font-size: 14px;
    font-size: 0.875rem;
  }
  .no-touch .cd-main-nav a:hover {
    color: #999;  
  }
}




.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 p {  
    text-align:center;
}
    
.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;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  color: white;
}
.cd-fixed-bg.cd-bg-1 {
  background-image: url("../img/tea-fog.jpg");
}
.cd-fixed-bg.cd-bg-2 {
  background-image: url("../img/Perfume-hero2.jpg");
}
.cd-fixed-bg.cd-bg-3 {
  background-image: url("../img/black-tea.jpg");
}
.cd-fixed-bg.cd-bg-4 {
  background-image: url("../img/shop-banner.jpg");
}
.cd-fixed-bg.cd-bg-5 {
  background-image: url("../img/decs-5.jpg");
}
.cd-fixed-bg.cd-bg-6 {
  background-image: url("../img/kids-club.jpg");
}
.cd-fixed-bg.cd-bg-7 {
  background-image: url("../img/pipe-hit.jpg");
}
.cd-fixed-bg.cd-bg-8 {
  background-image: url("../img/ows.jpg");
}
.cd-fixed-bg.cd-bg-9 {
  background-image: url("../img/sup.jpg");
}
.cd-fixed-bg.cd-bg-10 {
  background-image: url("../img/ringo.jpg");
}
.cd-fixed-bg.cd-bg-map {
  background-image: url("../img/cambridgemap.png");
}
@media only screen and (min-width: 768px) {
  .cd-fixed-bg h1, .cd-fixed-bg h2 {
        font-weight: 400;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-fixed-bg {
    background-attachment: fixed;
  }
  .cd-fixed-bg h1, .cd-fixed-bg h2 {
    font-family: 'Quicksand', sans-serif;
    font-size:50px;  
    font-weight: 400;
  }
}

.cd-fixed-bg.cd-bg-1:before,
.cd-fixed-bg.cd-bg-2:before,
.cd-fixed-bg.cd-bg-3:before,
.cd-fixed-bg.cd-bg-4:before,
.cd-fixed-bg.cd-bg-5:before,
.cd-fixed-bg.cd-bg-6:before,
.cd-fixed-bg.cd-bg-7:before,
.cd-fixed-bg.cd-bg-8:before,
.cd-fixed-bg.cd-bg-9:before,
.cd-fixed-bg.cd-bg-10:before,
.cd-fixed-bg.cd-bg-map:before{
		content: "";
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		background-image: linear-gradient(to bottom right, #fff000, #ffc000);
		opacity: 0;
        z-index:-1;
}

.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.1);
  z-index: 2;
}
.cd-scrolling-bg.cd-color-1 {
  background-color: #ffffff;
  color: #333333;
}
.cd-scrolling-bg.cd-color-2 {
  background-color: #3d3536;
  color: #ffffff;
  text-align:center;
}
.cd-scrolling-bg.cd-color-3 {
  background-color: #fff700;
  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;
  }
}

