@media only screen and (min-width:750px)

{	


.logo
{
	width:20%;
	height:auto;
	background-color:#000000;
	float:left;
}

.topbar
{
	width:103%;
	height:60px;
	background-color:#bf0000;
	
}

.topbar2
{
	width:100%;
	height:55px;
	background-color:#000000;
	
}

h1
{
	font-family:Arial,Verdana,serif;
	color:#ffffff;
	margin-left:2em;
	text-align:center;
	text-shadow:3px 3px 2px#000000;
}

.articleheading
{
	font-family:Arial,Verdana,serif;
	color:#ffffff;
	margin-left:2em;
	text-align:center;

}

h2
{
	font-family:Arial,Verdana,serif;
	color:#bf0000;
	margin-left:2em;
	text-align:center;
	text-shadow:1px 1px 2px#bf0000;
	font-size:20pt;
}

h3
{
	color:#ffffff;
	text-align:center;
	margin-left:2em;
	font-family:Arial,Verdana,serif;
	text-shadow:2px 2px 2px#000000;
	font-size:27pt;
}


p
{
	font-family:Arial,Verdana,serif;
	color:#ffffff;
	margin-left:2em;
	margin-right:2em;
	text-align:justify;
	font-size:14pt;
}
.banner
{
	width:100%;
	float:left;
}

/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */ 
  border: 1px solid #ccc; /* Gray border */
  border-radius: 4px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  margin-bottom: 16px; /* Bottom margin */
  resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
  background-color: #fffff;
  color: black;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
  background-color: #45a049;
}

/* Add a background color and some padding around the form */
.container {
  border-radius: 5px;
  background-color: #ffffff;
  padding: 20px;
}


ul
{
	display:flex;
	flex-direction:row;
	list-style-type:none;
	padding:1;
	margin:0;
	
}

li
{
	background:#000000;
	width:20%;
	margin:0 20px 15px 0;
	padding:0px;
	text-align:center;
	
		
}

nav
{
	font-family:Verdana,Ariel,Sans-serif;
	width:100%;
	float:left;
	bacground-color:#000000;
}


.nav2
{
		background-color:#000000;
		width:100%;

		
}

.nav3
{
		background-color:#000000;
		width:100%;
	  	background-repeat:no-repeat;
}



body
{
	background-color:#4e4e4e;
}

main
{
	width:100%;
	float:left;

	
}

.gallery4
{
    width: 100%;
    display: grid;
    grid-template:5% 33% 22% 22% / 22% 22% 22% 22%;
    grid-gap: 40px 40px;
    grid-row-gap:90px;
    align-content:center;
}

.gallery3
{
    
	width: 100%;
   	 display:grid;
    	grid-template:33% 33% 33% / 33% 33% 33%;
   	 grid-gap: 20px 20px;
    	grid-row-gap: 20px;
    	align-content:center;
	padding:20px;

}

aside
{
	width:30%;
	float:right;
}

/* unvisited link */
a:link {
  	color:#bf0000;
	font-family:Verdana,Ariel,Sans-serif;
	text-decoration:none;
	font-size:20pt;
	text-shadow:2px 1px 2px#c10000;
}

/* visited link */
a:visited {
  color: #bf0000;
}

/* mouse over link */
a:hover {
  	color:#ffffff;
	font-size:23pt;
	text-shadow:3px 3px 3px#bf0000;
	
}

/* selected link */
a:active {
  color: #ff9a30;
}


.gallery
{
    width: 100%;
    display: flex;
	flex-direction:row;
    grid-template:33% 33% 33% / 33% 33% 33%;
    grid-gap: 10px 10px;
    grid-row-gap: 100px;
    align-content:center;
	
	padding:20px;
display:visible;
	
	
}

.gallery2
{
    visibility:hidden;
max-height:0;
width: 100%;
    display: flex;
	flex-direction:row;
    grid-template:33% 33% 33% / 33% 33% 33%;
    grid-gap: 10px 10px;
    grid-row-gap: 100px;
    align-content:center;
	
	padding:20px;

}

.main2
{
	width:100%;
	float:right;

	
}

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  width:100%;
  position: relative;
  margin: none;
  float:right;
  display:flex;

  
}

/* Hide the images by default */
.mySlides {
  display: none;
  width: 100%;
}



/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  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);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;

}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

let slideIndex = 1;
showSlides(slideIndex);

// Next/previous controls
function plusSlides(n) {
  showSlides(slideIndex += n);
}

// Thumbnail image controls
function currentSlide(n) {
  showSlides(slideIndex = n);
}

function showSlides(n) {
  let i;
  let slides = document.getElementsByClassName("mySlides");
  let dots = document.getElementsByClassName("dot");
  if (n > slides.length) {slideIndex = 1}
  if (n < 1) {slideIndex = slides.length}
  for (i = 0; i < slides.length; i++) {
    slides[i].style.display = "none";
  }
  for (i = 0; i < dots.length; i++) {
    dots[i].className = dots[i].className.replace(" active", "");
  }
  slides[slideIndex-1].style.display = "block";
  dots[slideIndex-1].className += " active";
}

.slideshowwrapper
{
	width:80%;
	display:flex;

}


}

@media only screen and (max-width:750px)

{	


.logo
{
	width:20%;
	height:auto;
	background-color:#000000;
	float:left;
}

.topbar
{
	width:103%;
	height:60px;
	background-color:#bf0000;
	
}

.topbar2
{
	width:100%;
	height:55px;
	background-color:#000000;
	
}

h1
{
	font-family:Arial,Verdana,serif;
	color:#ffffff;
	margin-left:2em;
	text-align:center;
	text-shadow:3px 3px 2px#000000;
}

h3
{
	color:#bc0000;
	text-align:center;
	margin-left:2em;
	font-family:Arial,Verdana,serif;
	text-shadow:2px 2px 2px#000000;
	font-size:20pt;
}

.articleheading
{
	font-family:Arial,Verdana,serif;
	color:#ffffff;
	margin-left:2em;
	text-align:center;

}

h2
{
	font-family:Arial,Verdana,serif;
	color:#000000;
	margin-left:2em;
	text-align:left;
	text-shadow:1px 1px 2px#bf0000;
	font-size:2vw;
}

p
{
	font-family:Arial,Verdana,serif;
	color:#ffffff;
	margin-left:2em;
	margin-right:2em;
	text-align:justify;
	font-size:3vw;
}
.banner
{
	width:100%;
	float:left;
}

ul
{
	display:flex;
	flex-direction:row;
	list-style-type:none;
	padding:1;
	margin:0;
	
}

/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */ 
  border: 1px solid #ccc; /* Gray border */
  border-radius: 4px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  margin-bottom: 16px; /* Bottom margin */
  resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
  background-color: #fffff;
  color: black;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
  background-color: #45a049;
}

/* Add a background color and some padding around the form */
.container {
  border-radius: 5px;
  background-color: #ffffff;
  padding: 20px;
}

li
{
	background:#000000;
	width:20%;
	margin:0 20px 15px 0;
	padding:0px;
	text-align:center;
	
		
}

nav
{
	font-family:Verdana,Ariel,Sans-serif;
	width:100%;
	float:left;
}


.nav2
{
		background-color:#000000;
		width:100%;

		
}

.nav3
{
		background-color:#000000;
		width:100%;
	  	background-repeat:no-repeat;
}


body
{
	background-color:#4e4e4e;
}

main
{
	width:100%;
	float:left;
	background-color:#000000;

	
}


aside
{
	width:100%;
	float:right;
	
}


/* unvisited link */
a:link {
  	color:#bf0000;
	font-family:Verdana,Ariel,Sans-serif;
	text-decoration:none;
	font-size:3vw;
	text-shadow:2px 1px 2px#c10000;
}

/* visited link */
a:visited {
  color: #bf0000;
}

/* mouse over link */
a:hover {
  	color:#ffffff;
	font-size:3.5vw;
	text-shadow:3px 3px 3px#bf0000;
	
}

/* selected link */
a:active {
  color: #ff9a30;
}

.gallery
{
    visibility:hidden;
max-height:0;
    width: 100%;
    display: flex;
	flex-direction:row;
    grid-template:33% 33% 33% / 33% 33% 33%;
    grid-gap: 10px 10px;
    grid-row-gap: 100px;
    align-content:center;
	
	padding:20px;

	
	
}





* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  width:100%;
  position: relative;
  margin: none;
  float:right;
  display:flex;

  
}

/* Hide the images by default */
.mySlides {
  display: none;
  width: 100%;
}



/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  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);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;

}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

let slideIndex = 1;
showSlides(slideIndex);

// Next/previous controls
function plusSlides(n) {
  showSlides(slideIndex += n);
}

// Thumbnail image controls
function currentSlide(n) {
  showSlides(slideIndex = n);
}

function showSlides(n) {
  let i;
  let slides = document.getElementsByClassName("mySlides");
  let dots = document.getElementsByClassName("dot");
  if (n > slides.length) {slideIndex = 1}
  if (n < 1) {slideIndex = slides.length}
  for (i = 0; i < slides.length; i++) {
    slides[i].style.display = "none";
  }
  for (i = 0; i < dots.length; i++) {
    dots[i].className = dots[i].className.replace(" active", "");
  }
  slides[slideIndex-1].style.display = "block";
  dots[slideIndex-1].className += " active";
}

.slideshowwrapper
{
	width:80%;
	display:flex;

}

}
