
*,
*::before,
*::after {
    box-sizing: border-box;
}
/* 2. Remove default margin */
* {
 margin: 0;
 

}
/* 3. Smooth Scroll */
 html, body {
 max-width: 1920px;
 margin-left: auto;
 background-color: white;
 margin-right: auto;
}
/* Typographic tweaks! 4. Add accessible line-height 5. Improve text rendering */
body {
 line-height: 1.5;
 -webkit-font-smoothing: antialiased;
 font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
/* 6. Improve media defaults */
 img,svg,video,picture {
 max-width: 100%;
 height: auto;
}
/* 7. Remove built-in form typography styles */
input, button, textarea, select {
 font: inherit;
}
/* 8. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
 overflow-wrap: break-word;
}


.head {
    display: grid;
    width: 100%;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto;
    gap: 1rem;
    grid-template-areas:
    "title  contact"
    "navigation navigation";
}
.heading {
    padding: 1rem;
    text-align: center;
    grid-area: title;
}

.contact {
    padding: 1rem;
    text-align: center;
    grid-area: contact;
}

.navigation {
    /* padding: 0.5rm; */
    width: 100%;
    max-width: 700px;
    grid-area: navigation;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.hero {
    display: grid;
    align-items: center;
    align-content: center;
    text-align: center;
    padding: 1rem;
    margin-top: 1rem;
}

.bg1 {
    background: url(../images/herobg.webp) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: contain;
	-o-background-size: cover;
	background-size: cover;
	padding: 30vh 1rem;
}

.bg2 {
    background: url(../images/booking1.webp) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: contain;
	-o-background-size: cover;
	background-size: cover;
	padding: 30vh 1rem;
}
.bg3 {
    background: url(../images/sustainability.webp) no-repeat center bottom fixed; 
	-webkit-background-size: cover;
	-moz-background-size: contain;
	-o-background-size: cover;
	background-size: cover;
	padding: 30vh 1rem;
}

.fifty-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    margin-top: 1rem;
    gap: 1rem;
}

.left {
    padding: 1rem;
}
.right {
    padding: 1rem;
}
.full {
    display: grid;
    margin-top: 1rem;
    padding: 1rem;
    background-color: white;
}
.footer {
    padding: 1rem;
}

/**NEW WHITBY HUB CODE NOV 25 */

.whitbyhub {
    display:grid;
    padding-left: 1rem;
    padding-right: 1rem;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
}

.section1 {
    text-align: center;
    padding: 1rem;
}
.section2 {
    text-align: center;
    padding: 1rem;
}
.section3 {
    text-align: center;
    padding: 1rem;
}
.section4 {
    text-align: center;
    padding: 1rem;
}


/** menu styles */
.topnav {
	overflow: hidden;
	background-color: white;
    margin-left: auto;
    margin-right: auto;
  }
  
  .topnav a {
	float: left;
	display: block;
	color: black;
	text-align: center;
	padding: 14px 50px;
	text-decoration: none;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	font-size: 17px;
  }
  
  .topnav a:hover {
	background-color: #dddddd81;
	color: black;
  }
  
  .topnav .icon {
	display: none;
  }
  .active {
    background-color: #dddddd81 ;
  }
  
  
/*todo fonts */

h1 {
    font-size: 3rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: black;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: black;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: black;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
p {
    font-size: 1rem;
    margin-bottom: 20px;
    margin-top: 20px;
    color: black;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
/* .large {
    font-size: 2.5rem;
} */

/*todo table styles */
table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border: 1px solid #ddd;
}

th, td {
    border: none;
    text-align: left;
    padding: 8px;
    /* font-size: 10px; */
}

/*todo list items */
div.container {
    text-align: center;

    
  }
  
  ul.myUL {
    display: inline-block;
    text-align: left;
 
    
  }

  /*todo accordian*/
  button.accordion {
    background-color: #c4c1c1;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

button.accordion.active, button.accordion:hover {
    background-color: #ccc; 
}

div.panel {
    padding: 0 18px;
    display: none;
    background-color: white;
}

button.accordion:after {
    content: '\002B';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

tr:nth-child(even){background-color: #f2f2f2}

/*todo Back to top */
.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: #313131 url("../images/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;
  }
  .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: #F29E92;
    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;
    }
  }

  /*todo MEDIA */
  /* MOBILE MEDIA QUERIES 1024 */

@media screen and (max-width: 1080px) {
    .head {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem;
        grid-template-areas:
        "title"
        "contact"
        "navigation";
    }

    .fifty-split {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        margin-top: 1rem;
        gap: 1rem;
    }

}


/* MOBILE MEDIA QUERIES Nexus 7 Android portrait / Galaxy Tab */

@media screen and (max-width: 768px) {

    .head {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem;
        grid-template-areas:
        "navigation"
        "title"
        "contact"
        ;
    }

    .topnav a:not(:first-child) {display: none;}
	.topnav a.icon {
	  float: right;
	  display: block;
	}
  
	.topnav.responsive {position: relative;}
	.topnav.responsive .icon {
	  position: absolute;
	  right: 0;
	  top: 0;
	}
	.topnav.responsive a {
	  float: none;
	  display: block;
	  text-align: left;
	}

    .bg1 {
        background: url(../images/herobg.webp) no-repeat center center scroll; 
        -webkit-background-size: cover;
        -moz-background-size: contain;
        -o-background-size: cover;
        background-size: cover;
        padding: 20vh 1rem;
    }

    /* .large {
        font-size: 2rem;
    } */

    .bg2 {
        background: url(../images/booking1.webp) no-repeat center center scroll; 
        -webkit-background-size: cover;
        -moz-background-size: contain;
        -o-background-size: cover;
        background-size: cover;
        padding: 30vh 1rem;
    }
    .bg3 {
        background: url(../images/sustainability.webp) no-repeat center bottom scroll; 
        -webkit-background-size: cover;
        -moz-background-size: contain;
        -o-background-size: cover;
        background-size: cover;
        padding: 30vh 1rem;
    }

    .whitbyhub {
    display:grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto; 
}
}

@media screen and (max-width: 600px) {

    th, td {
        border: none;
        text-align: left;
        padding: 8px;
        font-size: 8px;
    }

    .whitbyhub {
    display:grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;  }
}



@media screen and (max-width: 360px) {

    th, td {
        border: none;
        text-align: left;
        padding: 8px;
        font-size: 8px;
    }

    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    h3 {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    h4 {
        font-size: 0.8rem;
        margin-bottom: 20px;
    }
    
    .large {
        font-size: 1rem;
    }

}

@media screen and (max-width: 320px) {

    th, td {
        border: none;
        text-align: left;
        padding: 8px;
        font-size: 8px;
    }
    .large {
        font-size: 1rem;
    }


}



