*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --colour1: #000000;
  --colour2: #ffffff;
  --colour3: #000000;
}

html{
  display:block;
}

body {
  min-height:100vh;
  width:100%;
  margin:0;
  display: flex;
  flex: inherit;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
}

h1 {
  margin: 0%;
  text-align:center;
  font-size: 3vh;
}

h2 {
  margin: 0%;
  text-align:center;
  font-size: 2.5vh;
}

h3 {
  margin: 0%;
  text-align:center;
  font-size: 2vh;
}

h4 {
  margin: 0%;
  text-align:center;
  font-size: 1.5vh;
}

h5 {
  margin: 0%;
  text-align:center;
  font-size: 1vh;
}

h6 {
  margin: 0%;
  text-align:center;
  font-size: 0.5vh;
}

p {
  font-size: 1.7vh;
}

a {
  text-decoration: none;
  font-size: 2vh;
  /*text-transform: uppercase;*/
}

.topNav {
  height: 20vh;
  position: relative;
  display: flex;
  align-items: center
}

.navigation {
  margin: 0;
  padding-left: 0%;
  position: absolute;
  bottom: 5px;
  right: 3%;
  display: inline;
}

.topNav img {
  float: left;
  padding-left: 5%;
  padding-right: 5%;
  height:95%;
}

.title {
  float: left;
  font-weight: bold;
  font-size: 3vmax;
  vertical-align:middle;
}

body .contents p1 {
  text-anchor: center;
}

.footer {
  background-color:var(--colour1);
  height:3.3vh;
  margin:0px;
  font-size: 1.2vh;
}

.footer p, .footer a {
  font-size: 1.2vh;
  margin-top: 2px;
  color:white;
  Float:right;
  padding-right:10px;
}

.container {
  border-style: solid;
  border-color: var(--colour1);
  border-width: 10px;
  background-color: white;
  /*min-height:75%;*/
  flex: 10;
  border-radius: 0px;
  padding: 10px;
}

.navigation li {
  display: inline;
  font-size: medium;
}

.navigation a {
  padding: 5px 5px;
  color: #ffffff;
  background-color: var(--colour1);
  border:1px solid var(--colour1);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.navigation a:hover {
  color: #ffffff;
  background-color: #000000;
}

.navigation a:active {
  color: #ffffff;
  background-color: #000000;
}

.navigation .w3-red {
  color: #000000;
  background-color: #ffffff;
}

#menuToggle{
  display: none;
  }

/*.galleryMenu{
  width: 30%;
  height: 400px;
  float: left;
  margin: 0% 1.5%;
  margin-bottom: 5px;
  border-radius: 10px;
  border:2px solid var(--colour1);
}*/

.galleryLink{
  width: 30%;
  border:1px solid var(--colour1);
  color: #000000;
  text-align: center;
  padding: 3px;
  border-radius: 5px;
  display: block;
  height: auto;
  float: left;
  margin: 0% 1.5%;
}

.galleryLink:hover{
  background-color: #000000;
  color: #ffffff;
}

.gallerySelect{
  width: 30%;
  border:1px solid var(--colour1);
  color: #000000;
  text-align: center;
  padding: 3px;
  border-radius: 5px;
  display: block;
  float: left;
  margin: 0% 1.5%;
}

.gallerySelect:hover{
  background-color: var(--colour1);
  color: #ffffff;
}

.gallerySelected{
  border:1px solid var(--colour1);
  color: #ffffff;
  background-color:var(--colour1);
}


.galleries {
  list-style-type: none;
  margin: 0px;
  padding-top: 5px;
  text-align: right;
  padding-right: 3%;
}

.galleries li {
  display: inline;
  font-size: medium;
}

.galleries a {
padding: 5px 10px;
color: black;
background-color: white;
}

.galleries a:hover {
color: white;
background-color: black;
}

.galleries a:active {
color: white;
background-color: var(--colour1);
}

.galButt{
  height: auto;
  width: 80%;
}

#contactdetails {
  padding-top: 50px;
  padding-left: 1%;
  width:25%;
  float: left;
  text-align: center;
  overflow-wrap: break-word;
}

#contactform {
  height:min-content;
  width: 75%;
  float: left;
  padding-left: 20px;
}

#map {
  width: auto;
  overflow:scroll;
  clear: both;
  text-align: center;
  padding-top: 4px;
}

.soc {
  padding: 10px;
  text-decoration: none;
}

/* Add a hover effect if you want */
.soc:hover {
  opacity: 0.7;
}

/* Set a specific color for each brand */

/* Facebook */
/*.fa-facebook {
  background: #3B5998;
  color: white;
}*/

/* Twitter */
/*.fa-twitter {
  background: #55ACEE;
  color: white;
}*/

/*------------------------------------------------------*/
input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  /*border-radius: 4px;*/
  resize: vertical;
  box-sizing : border-box;
  -webkit-appearance: none;
  -moz-appearance:    none;
  appearance:         none;
}

/*input[type=text]:focus, select:focus, textarea:focus {
  width: 100%;
  padding: 12px;
  border: 3px solid #ff0000;
  /*border-radius: 4px;*/
  /*resize: vertical;
  box-sizing : border-box;
}*/

.input{
  -webkit-appearance: none;
  -moz-appearance:    none;
  appearance:         none;
}

label {
  padding: 12px 12px 12px 0;
}

input[type=submit] {
  background-color: black;
  color: white;
  padding: 12px 20px;
  margin:4px 0px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}

input[type=submit]:hover {
  background-color: var(--colour1);
}

.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
}

.col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
  padding-right: 0;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is less than 740px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 740px) {
  .col-25, .col-75, input[type=submit] {
    width: 100%;
    margin-top: 0;
    padding: 3px;
  }
  #contactform, #contactdetails{
    clear:both;
    width:90%;
    padding-left: 3vw;
  }
  .topNav img {
    height:80%;
    margin-bottom: 6%;
  }
  .title {
    margin-bottom: 4%;
  }
}

@media screen and (max-width: 551px) {
  .topNav {
    display:  flex;
    flex-direction: column;
    height: fit-content;
  }

  .navigation {
    display:  none;
  }

  #menuToggle{
    display: block;
  }

  .footer{
  height:5vh;}
}

/* Media */
.media{
  margin: 0 auto;
  border: 0px solid black;
  width: 50%;
  height: 250px;
  border-radius: 3px;
  background-color: ghostwhite;
  text-align: center;
}
  /* Preview */
.preview{
  width: 100px;
  height: 100px;
  border: 1px solid black;
  margin: 0 auto;
  background: white;
}

.preview img{
  display: none;
}
/* Button */
.button{
  border: 0px;
  background-color: deepskyblue;
  color: white;
  padding: 5px 15px;
  margin-left: 10px;
}

.clear			{
  clear:both;
}

.photo-link		{
  padding:5px;
  margin: 5px 1.5%;
  border:1px solid #ccc;
  display:block;
  width:fit-content;
  height: fit-content;
  float:left;
}

.photo-link:hover	{
  border-color:#999;
}



/*******************************************************************************************************************************/


/*
 * Made by Erik Terwan
 * 24th of November 2015
 * MIT License
 *
 *
 * If you are thinking of using this in
 * production code, beware of the browser
 * prefixes.
 */

 #menuToggle
 {
  /*display: block;*/
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  -webkit-user-select: none;
   user-select: none;
 }

 #menuToggle a
 {
  color: #000000;
  background-color: #ffffff;
  font-size: 3vh;
  height: 3.1vh;
  transition: color 0.3s ease;
 }

 #menuToggle a:hover
 {
  color: #ffffff;
  background-color: var(--colour1);
 }


 #menuToggle input
 {
   display: block;
   width: 40px;
   height: 32px;
   position: absolute;
   top: -7px;
   left: -5px;

   cursor: pointer;

   opacity: 0; /* hide this */
   z-index: 2; /* and place it over the hamburger */

   -webkit-touch-callout: none;
 }

 /*
  * Just a quick hamburger
  */
 #menuToggle span
 {
   display: block;
   width: 33px;
   height: 4px;
   margin-bottom: 5px;
   position: relative;

   background: #000000;
   border-radius: 3px;

   z-index: 1;

   transform-origin: 4px 0px;

   transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
               background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
               opacity 0.55s ease;
 }

 #menuToggle span:first-child
 {
   transform-origin: 0% 0%;
 }

 #menuToggle span:nth-last-child(2)
 {
   transform-origin: 0% 100%;
 }

 /*
  * Transform all the slices of hamburger
  * into a crossmark.
  */
 #menuToggle input:checked ~ span
 {
   opacity: 1;
   transform: rotate(45deg) translate(-2px, -1px);
   background: #232323;
 }

 /*
  * But let's hide the middle one.
  */
 #menuToggle input:checked ~ span:nth-last-child(3)
 {
   opacity: 0;
   transform: rotate(0deg) scale(0.2, 0.2);
 }

 /*
  * Ohyeah and the last one should go the other direction
  */
 #menuToggle input:checked ~ span:nth-last-child(2)
 {
   transform: rotate(-45deg) translate(0, -1px);
 }

 /*
  * Make this absolute positioned
  * at the top left of the screen
  */
 #menu
 {
  border:2px solid var(--colour1);
  position: absolute;
  right: 0px;
  width:max-content;
  height: max-content;
  margin: 0;
  padding: 2px;
  background: #ffffff;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
  display: none;
 }

 #menu li
 {
  padding: 2px 0;
  font-size: 2vh;
 }

 /*
  * And let's slide it in from the left
  */
 #menuToggle input:checked ~ ul
 {
  transform: none;
  display: block;
 }



/*********************************************************************************************************************************************************************/

.row > .column {
  padding: 0 8px;
}

.row:after {
content: "";
display: table;
clear: both;
}

/* Create four equal columns that floats next to eachother */
.column {
float: left;
width: 25%;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #000;
  margin: auto;
  padding: 0;
  width: 90%;
  height: 90%;
  max-width: 100vw;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

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

/* Hide the slides by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-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);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Caption text */
.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

img.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}