/* Core styling */
body {
  max-width: 1000px;
  background-color: black;
  color: #f1f1f1;
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 200;
  letter-spacing: 0.5px;
}

h1,
h2,
h3,
h4 {
  font-weight: 200;
}

.main {
  width: 90%;
  margin: auto;
}

.pageheader {
  height: 279px;
  background-image: url("./global-resources/HeaderImage.jpg");
  color: #f1f1f1;
}
.headerlogo {
  overflow: hidden;
  width: 130px;
  height: 130px;
  margin: 30px 30px;
}
.headerlogo img {
  width: 100%;
  height: 100%;
}
.pageheader h1 {
  position: relative;
  text-align: right;
  right: -155px;
  top: 210px;
  font-weight: 300;
}
.pageheader img {
  float: right;
}

.yellow {
  color: yellow;
}

/* Menu styling and links */
.menu {
  border-bottom: 1px solid #f1f1f1;
}
.menu a {
  text-decoration: none;
}

.menuitem {
  padding: 8px 8px 10px 8px;
  margin-top: 4px;
  display: inline-block;
  color: #f1f1f1;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.currentmenuitem {
  padding: 8px 8px 10px 8px;
  margin-top: 4px;
  display: inline-block;
  background-color: #f1f1f1;
  color: black;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
a:link .menuitem {
  text-decoration: none;
  transition: 1s;
}
a:visited .menuitem {
  text-decoration: none;
}
a:hover .menuitem {
  text-decoration: none;
  background-color: #f1f1f1;
  color: black;
  transition: 1s;
}
a:active .menuitem {
  text-decoration: none;
}

#menuitemright {
  float: right;
}

/* Main Page Styles */
.pagecontent {
  /* float: left; */
  width: 100%;
  /* padding-top: 10px; */
  padding-bottom: 10px;
}

.aligncentre {
  text-align: center;
}

.footerlogo {
  overflow: hidden;
  width: 80px;
  height: 80px;
}
.footerlogo img {
  width: 100%;
  height: 100%;
}

a:link {
  text-decoration: none;
  color: #f1f1f1;
}
a:visited {
  text-decoration: none;
  color: #f1f1f1;
}
a:hover {
  text-decoration: underline;
}
a:active {
  text-decoration: none;
}

.linkstable {
  width: 70%;
  margin: auto;
}
.linkstable th {
  font-weight: 400;
  text-align: left;
  padding: 10px;
  text-decoration: underline;
}
.linkstable td {
  padding: 10px;
}

.standardtable {
  width: 95%;
  margin: auto;
  border: 1px solid;
  border-color: #f1f1f1;
  border-collapse: collapse;
}
.standardtable th {
  padding: 5px;
  border: 1px solid;
  border-color: #f1f1f1;
  font-weight: 400;
}
.standardtable td {
  padding: 5px;
  border: 1px solid;
  border-color: #f1f1f1;
}

.googlemap {
  text-align: center;
  width: 600;
  height: 450;
}

.quote {
  font-style: italic;
  background-color: #444444;
  text-align: center;
  width: 75%;
  margin: 10px auto;
  padding: 10px;
}

.pagefooter {
  border-top: 1px solid #f1f1f1;
  border-bottom: 1px solid #f1f1f1;
  text-align: center;
  margin-bottom: 20px;
}

/* Gallery CSS */
.galleryrow {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.gallerycolumn {
  flex: 25%;
  max-width: 24%;
  padding: 0 4px;
}

.gallerycolumn img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

/* Style the Image Used to Trigger the Modal */
.galleryImage {
  border-radius: 3px;
  cursor: pointer;
  transition: 0.5s;
  max-width: 24%;
  padding: 0 4px;
}

.galleryImage:hover {
  opacity: 0.7;
  /* pointer-events: none !important; */
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.6s;
  animation-fill-mode: forwards;
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* --------------------------------------------------------------------------- */
/* Additions for Responsive Design */
@media only screen and (max-width: 800px) {
  /* For tablets: */
  .main {
    width: 80%;
    padding: 0;
  }
  .pageheader h1 {
    top: 170px;
  }
  .right {
    width: 100%;
  }
  .gallerycolumn {
    flex: 50%;
    max-width: 50%;
  }
}

@media only screen and (max-width: 500px) and (orientation: portrait) {
  /* For larger mobile phones: */

  .main {
    width: 95%;
  }

  .pageheader {
    height: 225px;
  }

  .pageheader h1 {
    top: 160px;
    position: absolute;
    text-align: right;
    font-size: x-large;
    right: 50px;
    width: 80%;
    font-weight: 200;
  }
  .gallerycolumn {
    flex: 100%;
    max-width: 100%;
  }
  .modal-content {
    width: 100%;
  }
}

@media only screen and (max-width: 400px) and (orientation: portrait) {
  /* For medium size mobile phones */

  .pageheader {
    height: 160px;
    background-position: -50px -120px;
  }
  .pageheader h1 {
    right: -160px;
  }

  .headerlogo {
    width: 80px;
    height: 80px;
  }

  .pageheader h1 {
    position: absolute;
    right: 40px;
    top: 100px;
  }
}

@media only screen and (max-width: 350px) and (orientation: portrait) {
  /* For small size mobile phones */

  .menu {
    font-size: small;
  }

  .pageheader {
    height: 140px;
    background-position: -50px -110px;
  }

  .pageheader h1 {
    top: 80px;
    font-size: larger;
  }

  .headerlogo img {
    width: 50px;
    height: 50px;
  }

  .menuitem,
  .currentmenuitem {
    padding: 4px 4px 6px 4px;
    margin-top: 2px;
  }
  .pagecontent p {
    font-size: small;
  }

  .pagefooter {
    font-size: small;
  }
}
