/**
 * CSS3 Grid Template
 * Misty Poarch
 */
@charset "UTF-8";
/************************************************Mobile first Approach*/
html,
html * {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: Gotham, Helvetica Neue, Helvetica, Arial, "sans-serif";
}
body {
  background: #e6f4f8;
  margin-left: auto;
  margin-right: auto;
  padding-right: 25px;
  padding-left: 25px;
}
header img {
  display: grid;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}
nav ul {
  list-style-type: none;
}
nav li {
  text-align: center;
  padding-bottom: 7px;
}
nav li a {
  text-decoration: none;
  color: black;
}
.banner {
  background-image: url(/images/homepage-banner-mobile.jpg);
  background-size: cover;
  background-position: center;
  padding: 20px 20px 50px 20px;
  color: #ffffff;
  text-align: center;
  background-color: brown;
}
.banner h1 {
  padding-bottom: 50px;
  padding-top: 250px;
}
.button {
  border: 2px #ffffff solid;
  padding: 8px 30px;
  border-radius: 30px;
  color: #ffffff;
  text-decoration: none;
}
.info-box-tan {
  background-color: #d2a679;
  color: white;
  padding: 30px 20px 60px;
  text-align: center;
}

.info-box-tan p {
  padding-bottom: 50px;
}

.info-box-dark {
  background-color: #604020;
  color: white;
  padding: 30px 20px 60px;
  text-align: center;
}
.info-box-dark p {
  padding-bottom: 50px;
}
.gallary img {
  width: 100%;
}
footer {
  padding: 20px 30px;
  background-color: #dbecf1;
  text-align: center;
}
footer img {
  padding-right: 20px;
}
.socialMedia {
  text-align: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  padding-right: 20px;
  padding-bottom: 20px;
}
/************************************************service page CSS Mobile View*/
.sBanner {
  background-image: url(/images/fileName.jpg);
  background-size: cover;
  background-position: center;
  padding: 20px 20px 50px 20px;
  color: #ffffff;
  text-align: center;
  background-color: brown;
}
.sBanner .h3Bigger {
  font-size: 1.5em;
  padding-top: 50px;
  padding-bottom: 150px;
}
.s-info-box-tan {
  background-color: #d2a679;
  color: white;
  padding: 30px 20px 60px;
  text-align: center;
  display: grid;
  grid-template-row: 0.25fr 0.25fr 0.25fr 0.25fr 0.15fr;
  grid-template-columns: 0.5fr 0.5fr;
}
.s-info-box-tan h2 {
  display: grid;
  grid-area: 1/span 2;
}
.s-info-box-tan .topP {
  display: grid;
  grid-area: 2/span 2;
  text-align: left;
  padding-bottom: 50px;
}
.s-info-box-tan .leftList {
  display: grid;
  grid-area: 3/1;
}
.s-info-box-tan .rightList {
  display: grid;
  grid-area: 3/2;
}
.s-info-box-tan .sContact {
  display: grid;
  grid-area: 5/span 2;
  text-align: center;
}
.s-info-box-tan .bottomP {
  display: grid;
  grid-area: 4/span 2;
  text-align: left;
  padding-top: 70px;
}
/******************************gallery page CSS Mobile View*/
.gBanner {
  background-color: #009900;
  text-align: center;
}
.gBanner h1 {
  color: white;
  padding: 10px 10px;
}
.gImg1 img {
  background-color: red;
  width: 100%;
}
.gImg2 img {
  background-color: blue;
  width: 100%;
}
.gImg3 img {
  background-color: purple;
  width: 100%;
}
.gImg4 img {
  background-color: yellow;
  width: 100%;
}
.gImg5 img {
  background-color: orange;
}
.gImg6 img {
  background-color: yellow;
  width: 100%;
}
.gImg7 img {
  background-color: blue;
}
.gImg8 img {
  background-color: red;
  width: 100%;
}
.gallery {
  border: 1px solid #ccc;
}

.gallery:hover {
  border: 1px solid #777;
}

.gallery img {
  width: 100%;
  height: auto;
}

* {
  box-sizing: border-box;
}

.responsive {
  padding: 0 6px;
  float: left;
  width: 24.99999%;
}

var slideIndex = 1;
showDivs(slideIndex);

function plusDivs(n) {
  showDivs(slideIndex += n);
}

function currentDiv(n) {
  showDivs(slideIndex = n);
}

function showDivs(n) {
  var i;
  var x = document.getElementsByClassName("mySlides");
  var dots = document.getElementsByClassName("demo");
  if (n > x.length) {slideIndex = 1}
  if (n < 1) {slideIndex = x.length}
  for (i = 0; i < x.length; i++) {
    x[i].style.display = "none";  
  }
  for (i = 0; i < dots.length; i++) {
    dots[i].className = dots[i].className.replace(" w3-white", "");
  }
  x[slideIndex-1].style.display = "block";  
  dots[slideIndex-1].className += " w3-white";
}

/************************************************crew page CSS Mobile View*/
.cBanner {
  background-color: #009900;
  text-align: center;
}
.cBanner h1 {
  color: white;
  padding: 10px 10px;
}
.ownerImage {
  width: 100%;
  background-color: red;
}
.aboutDave img {
  width: 100%;
}
.dave {
  background-color: #99ddff;
  padding: 15px;
  line-height: 200%;
}
.about {
  background-color: #d2a679;
  padding: 15px;
  line-height: 200%;
}
.crewImage {
  width: 100%;
}
.crewList {
  background-color: #99ddff;
  padding: 15px;
  line-height: 300%;
}
/************************************************Contact Page CSS View Mobile View*/
.ctBanner {
  background-color: lightgreen;
  text-align: center;
  margin-bottom: 20px;
}
.ctBanner h1 {
  color: white;
  padding: 10px 10px;
  margin-top: 20px;
}
.contactBackground {
  background-image: url(/images/fileName.jpg);
  background-size: cover;
  background-position: center;
  padding: 20px 50px 50px 50px;
  color: #ffffff;
  background-color: green;
  line-height: 200%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 0.25fr 0.5fr 0.25fr;
  grid-gap: 50px;
}
.openingCopy {
  display: grid;
  grid-area: 1/1;
}
.contactForm {
  display: grid;
  grid-area: 2/1;
}
.information {
  display: grid;
  grid-area: 3/1;
}
.contact {
  display: grid;
  grid-template-columns: 50px 0.875fr;
  grid-template-rows: repeat(6, 0.25fr);
  grid-gap: 10px;
}
.openingCopy {
  display: grid;
  grid-area: 1/span 2;
}
.nameLabel {
  display: grid;
  grid-area: 2/1;
}
.name {
  display: grid;
  grid-area: 2/2;
}
.emailLabel {
  display: grid;
  grid-area: 3/1;
}
#email {
  display: grid;
  grid-area: 3/2;
}
.phoneLabel {
  display: grid;
  grid-area: 4/1;
}
#phone {
  display: grid;
  grid-area: 4/2;
}
.checkbox {
  display: grid;
  grid-area: 5/ span 2;
}
.checkbox input {
  display: inline-block;
}
.commentsLabel {
  display: grid;
  grid-area: 6/span 2;
}
#comments {
  display: grid;
  grid-area: 7/span 2;
}

/************************************************Tablet View*/
@media (min-width: 768px) {
  .container {
    display: grid;
    grid-template-rows: [header] 0.15fr [banner].45fr [row3] 0.25fr [row4] 0.5fr [footer] 0.15fr;
    grid-template-columns: repeat(2, 0.5fr);
    grid-gap: 20px;
  }
  header {
    display: grid;
    grid-row: header;
    grid-column: span 2;
  }
  nav {
    text-align: center;
    padding-top: 25px;
  }
  nav li {
    display: inline;
    text-align: center;
    margin-right: 30px;
  }
  .banner {
    background-image: url(/images/homepage-banner-tablet.jpg);
    display: grid;
    grid-row: banner;
    grid-column: span 2;
  }
  .banner .button {
    width: 150px;
    height: 40px;
    margin-right: auto;
    margin-left: auto;
  }
  .gallary {
    display: grid;
    grid-row: row4;
    grid-column: span 2;
    grid-template-rows: 0.25fr 0.25fr;
    grid-template-columns: 0.5fr 0.5fr;
    grid-gap: 20px;
  }
  .img1 {
    background-color: red;
    display: grid;
    grid-area: 1/1;
  }
  .img2 {
    background-color: blue;
    display: grid;
    grid-area: 1/2;
  }
  .img3 {
    background-color: yellow;
    display: grid;
    grid-area: 2/1;
  }
  .img4 {
    background-color: purple;
    display: grid;
    grid-area: 2/2;
  }
  footer {
    display: grid;
    grid-row: footer;
    grid-column: span 2;
  }
  /************************************************services page CSS Tablet View*/
  .sBanner {
    background-image: url(/images/fileName.jpg);
    display: grid;
    grid-row: banner;
    grid-column: span 2;
  }
  /*************************************gallery page CSS*/
  .galleryContainer {
    display: grid;
    grid-template-rows: [header] 0.1fr [banner].15fr [row3] 0.25fr [row4] 0.25fr [row5] 0.5fr [row6] 0.5fr [footer] 0.15fr;
    grid-template-columns: repeat(2, 0.5fr);
    grid-gap: 20px;
  }
  .gBanner {
    dispaly: grid;
    grid-row: banner;
    grid-column: span 2;
  }
  .gImg1 {
    dispaly: grid;
    grid-row: row3;
    grid-column: 1;
  }
  .gImg2 {
    dispaly: grid;
    grid-row: row3;
    grid-column: 2;
  }
  .gImg3 {
    dispaly: grid;
    grid-row: row4;
    grid-column: 1;
  }
  .gImg4 {
    dispaly: grid;
    grid-row: row4;
    grid-column: 2;
  }
  .gImg5 {
    dispaly: grid;
    grid-row: row5;
    grid-column: 1;
  }
  .gImg6 {
    dispaly: grid;
    grid-row: row5;
    grid-column: 2;
  }
  .gImg7 {
    dispaly: grid;
    grid-row: row6;
    grid-column: 1;
  }
  .gImg8 {
    dispaly: grid;
    grid-row: row6;
    grid-column: 2;
  }
  /************************************************crew page CSS Tablet View*/
  .crewContainer {
    display: grid;
    grid-template-rows: [header] 0.1fr [banner].15fr [row3] 0.25fr [row4] 0.25fr [row5] 0.5fr [footer] 0.15fr;
    grid-template-columns: repeat(2, 0.5fr);
    grid-gap: 20px;
  }
  .cBanner {
    display: Grid;
    grid-row: banner;
    grid-column: span 2;
  }
  .aboutDave {
    display: grid;
    grid-row: row3;
    grid-column: span 2;
    grid-template-columns: 0.5fr 0.5fr;
    grid-template-rows: 1fr;
    grid-gap: 20px;
  }
  .ownerImage {
    width: 100%;
    display: grid;
    grid-area: 1/1;
  }
  .dave {
    display: grid;
    grid-area: 1/2;
    padding-bottom: 50px;
  }
  .about {
    display: grid;
    grid-row: row4;
    grid-column: span 2;
  }
  .crewImage {
    background-color: red;
    display: grid;
    grid-row: row5;
    grid-column: 1;
  }
  .crewList {
    display: grid;
    grid-row: row5;
    grid-column: 2;
  }
  /************************************************contact page CSS Tablet View*/
  .contactBackground {
    background-image: url(/images/fileName.jpg);
    grid-template-columns: 0.5fr 0.5fr;
    grid-template-rows: 0.4fr 0.6fr;
    grid-gap: 100px;
  }
  .openingCopy {
    display: grid;
    grid-area: 1/span 2;
  }
  .contactForm {
    display: grid;
    grid-area: 2/1;
  }
  .information {
    display: grid;
    grid-area: 2/2;
  }
  .information h3 {
    line-height: 200%;
  }
}
/************************************************Desktop View */
@media (min-width: 1024px) {
  .container {
    display: grid;
    grid-template-rows: [header] 0.15fr [banner].45fr [row3] 0.25fr [row4] 0.5fr [footer] 0.15fr;
    grid-template-columns: repeat(4, 0.25fr);
    grid-auto-flow: dense;
  }
  header {
    display: grid;
    grid-area: header/span 4;
    grid-template-columns: 0.5fr 0.5fr;
    grid-gap: 20px;
  }
  header img {
    display: grid;
    grid-area: 1/1;
    justify-content: left;
    margin-right: 0px;
    margin-left: 0px;
  }
  nav {
    display: grid;
    grid-area: 1/2;
    justify-content: center;
    align-content: center;
  }
  nav li {
    display: inline-block;
    padding-right: 20px;
  }
  .banner {
    background-image: url(/images/homepage_banner.jpg);
    display: grid;
    grid-row: banner;
    grid-column: span 4;
  }
  .button {
    width: 150px;
    height: 40px;
    margin-right: auto;
    margin-left: auto;
  }
  .info-box-tan {
    display: grid;
    grid-row: row3;
    grid-column: span 2;
  }
  .info-box-dark {
    display: grid;
    grid-row: row3;
    grid-column: span 2;
  }
  .gallery {
    display: grid;
    grid-row: row4;
    grid-column: span 4;
    grid-template-rows: 0.25fr;
    grid-template-columns: 0.25fr 0.25fr 0.25fr 0.25fr;
  }
  .img1 {
    display: grid;
    grid-area: 1/1;
  }
  .img2 {
    display: grid;
    grid-area: 1/2;
  }
  .img3 {
    display: grid;
    grid-area: 1/3;
  }
  .img4 {
    display: grid;
    grid-area: 1/4;
  }
  footer {
    display: grid;
    grid-column: span 4;
    grid-template-columns: repeat(2, 0.5fr);
  }
  .socialMedia {
    display: grid-inline;
    grid-area: footer/2;
    margin-top: -25px;
  }
  footer p {
    display: grid;
    grid-column: 1;
    text-align: left;
  }
  /************************************************services page CSS desktop View*/
  .sBanner {
    background-image: url(/images/services_banner.jpg);
    display: grid;
    grid-row: banner;
    grid-column: span 4;
  }
  .s-info-box-tan {
    display: grid;
    grid-row: row3;
    grid-column: span 2;
  }
  /************************************************gallery page CSS desktop View*/
    .galleryContainer{
    display:grid;
    grid-template-rows: [header] .10fr [banner].15fr [row3] 1fr [footer] .15fr;
    grid-template-columns: repeat(4, .25fr);
    grid-gap: 20px;
  }
  .gBanner{
    display:grid;
    grid-row:banner;
    grid-column:span 4;
  }
  .gallery{
    display: grid;
    grid-row:row3;
    grid-column:span 4;
	max-width: 1000px;
    position: relative;
    margin: auto;
  }
	
.mySlides {display: none}

	img {
		vertical-align: middle;
	}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  webkit-animation-name: fade;
  webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}
  /************************************************crew page CSS desktop View*/
  .crewContainer {
    display: grid;
    grid-template-rows: [header] 0.1fr [banner].15fr [row3] 0.5fr [row4] 0fr [footer] 0.15fr;
    grid-template-columns: repeat(4, 0.25fr);
    grid-gap: 20px;
  }
  .cBanner {
    display: grid;
    grid-row: banner;
    grid-column: span 4;
  }
  .aboutDave {
    display: grid;
    grid-row: row3;
    grid-column: 1;
    grid-template-columns: 1fr;
    grid-template-rows: 0.5fr 0.5fr;
  }
  .daveImage {
    display: grid;
    grid-area: 1/1;
    justify-content: stretch;
  }
  .dave {
    display: grid;
    grid-area: 2/1;
  }
  .about {
    display: grid;
    grid-row: row3;
    grid-column: 2;
  }
  .crewImage {
    display: grid;
    grid-row: row3;
    grid-column: 3;
  }
  .crewList {
    display: grid;
    grid-row: row3;
    grid-column: 4;
  }
  /*--------------------------Contact page CSS*/
}
