* {
  box-sizing: border-box;
}

body {
  margin: 0;
   background-color: #ffffff;
}

h1 {
	font-family: "Cormorant Garamond";
    font-size: 16px;
}

h2 { 
	color: #064867;
	font-size: 16px;
	font-family: "Cormorant Garamond";
	}
/* Style the top navigation bar */
.topnav {
  overflow: hidden;
  background-color: #091534;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Add an active class to highlight the current page */
.active {
  background-color: #064867;
  color: black;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #555;
  color: white;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
  display: block;
}

/* When the screen is less than 500 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 500px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}
/* Style the header */
.header {
  padding: 10px;
  height: 80px;
  text-align: center;
  background: linear-gradient(to bottom, #EFF4EC 0%, #CAD9BF 100%);
  color: #091534;
}

/*style the pagination links */
.pagination {
	font-size:140%;
	display: inline-block;
   }
   
.pagination a {
	color: black;
   	float:left;
   	padding: 4px 8px;
   	text-decoration: none;
   	transition: background-color .3s;
   	border: 1px solid #ddd;
   	margin: 0 3px;
   	}
   	
.pagination a.active {
   	background-color: #66b032;
   	color: white;
   	border: 1px solid #66b032;
   	}
   	
   	.pagination a:hover:not(.active) {background-color: #ddd;
   	}
   	.pagination a:first-child {
   	border-top-left-radius: 5px;
   	border-bottom-left-radius: 5px;
   	}
   	.pagination a:last-child {
   	border-top-right-radius: 5px;
   	border-bottom-left-radius: 5px;
   	}
 /* Create two unequal columns that floats next to each other */
 .column {
  float: left;
  padding: 6px;
}
.column a {
   color: #000000;
}

.column a:hover {
     color: #fc600a;
}
/* Left and right column */
.column.side {
	margin: 1%;
	border-radius: 25px;
	background-color: #f0f5f5;
	width: 16%;
	Color:#000000;
	font-size: 90%;
}
 .column.side p {
    font-family: "Cormorant Garamond";
    }

/* Middle column */
.column.middle {
  margin: auto;
  width: 80%;
  background-color: #ffffff;
  color: #091D34;
  float: left;
}
  .column.middle p {
    font-family: "Cormorant Garamond";
    }

/* for paypal*/
.paypal {
background-color: white;
  margin: auto;
  padding: 10px 10px 10px 80px;
  width: 100%;
  max-width: 600px;
}

/* for text*/
.post {
background-color: white;
margin: auto;
  padding: 10px 10px 10px 10px;
  width: 100%;
}




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

/*start of the image gallery */
.cole {
  float: left;
  width: 33%;
  max-width: 180px;
}

/* The Modal (background) */
.modal {
  display: all;
  position: relative;
  z-index: 1;
  padding: 20px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: white;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 10px;
  width: 100%;
  max-width: 600px;
}

.mySlides {
  display: none;
  padding: 10px;
}

.cursor {
  cursor: pointer;
}

/* 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: #333333;
  padding: 1px 1px;
  position: absolute;
  top: 0px;
 }
img {
margin-bottom: 0px;
}
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);
}


/* Style the footer */
.footer {
  color: white;
  background-color: black;
  padding: 10px;
  font-size: 84%;
  text-align: center;
  }
.footer a {
	color: white;
  text-align: center;
  padding: 1px 20px;
  text-decoration: none;
}

/* Change color on hover */
.footer a:hover {
  background-color: #ddd;
  color: black;
}

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

.notice {
	font-family: "Comic Sans MS", cursive;
	font-size: 20px;
	font-weight: bold;
	color: #FFF;
	padding: 10px;
	background-color: #C00;
	display: block;
	margin: 5px;
}

.p01 {
font-family: "Times New Roman", Times, serif;
font-size: 120%;
color:#064867
}


/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */

@media only screen and (max-width: 500px) {
  .column.side, .column.middle {
    width: 100%;
  }
  

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 500px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
  
    h1 {
    font-size: 5vw;
  }
  .paypal {
    width: 100%;
    padding: 5px 5px 5px 5px;
  }
  
  .header img {
  max-width: 50%;
  }
  }

/* all copyright Jeffrey Hall, Plymouth, Pl1 1LE */
