/* ---------------   Navigation    ---------------------*/

.navbar {
  width: 100%;
  background-color: #555;
  overflow: auto;
}

.navbar a {
  float: left;
  padding: 10px;
  color: white;
  text-decoration: none;
  font-size: 20px;
  width: 20%; /* Five links of equal widths */
  text-align: center;
}

/* ---------------- Style for link button -------------- */

.navbar a:hover {
  background-color: #642761;
}

.navbar a.active {
  background-color: #9da25d;;
}

.navbar a:link, a:visited {
  background-color: #5b2c31;
  padding: 14px 25px;
  text-align: center;
  text-decoration: none;
  /*display: inline-block;*/
}

.historybuttonbox {
  width: 33.3%;
  height: auto;
  overflow: auto;
  display: inline-block;
}


.historybuttonleft {
  border-radius: 10px;
  background-color: #842761;
  float: left;
  width: 45%;
  padding: 1%;
  text-align: center; 
  margin-right: 10%;
}

.historybuttonleft a {
  font-size: 2.5vw;
  font-style: italic;
  color:#f1f1f1;
  text-decoration: none;
}

.historybuttonleft:hover {
  background-color: #9da25d;
}

.historybuttoncenter {
  border-radius: 10px;
  background-color: #842761;
  float: left;
  width: 60%;
  padding: 1%;
  text-align: center; 
}

.historybuttonright {
 border-radius: 10px;
  background-color: #842761;
  float: left;
  width: 45%;
  padding: 1%;
  text-align: center; 
}

.historybuttonright a {
  font-size: 2.5vw;
  font-style: italic;
  color:#f1f1f1;
  text-decoration: none;
}

.historybuttonright:hover {
  background-color: #9da25d;
}

.historybuttoncenter a {
  font-size: 2.5vw;
  font-style: italic;
  color:#f1f1f1;
  text-decoration: none;
  
}

.historybuttoncenter:hover {
  background-color: #9da25d;;
}


* {
  box-sizing: border-box;
}

table {
width: 100% ;
font-size: 16px;
padding-top: 10%;
}

th{
  text-align: left;
  color:#642761;
  padding-bottom: 8px; 
}

tr {
font-style: italic;
padding-bottom: 8px;
}

body {
  background-color: #ceca98;
  padding: 20px;
  font-family: Arial;
}

p {
  font-size: 90% ;
 
 }

.quote {
  font-weight: bold;
  font-size: 2vw;
  font-style: italic;
  color:#5b2c31;
}

.footer {
  margin-top: 15px;
  background-color: #5b2c31;
  float: left;
  width: 100%;
  color: #f1f1f1;
}

.footerbox {
  float: left;
  width: 33.3%;
  height: 150px;
  border-left : 1px solid rgb(255, 255, 255);
  overflow: auto;
}

.footerbox p {
  font-size: 85%;
}

.footerbox a {
  color: #f1f1f1; 
  text-decoration: none;
   
}

.footerbox ul {
  list-style-type: none;
  padding-left: 20px;
  padding-right: 30px;

}

.footerbox l {
  padding-bottom: 20px;
  border-bottom: 1pt solid #f2f2f2;
}

/* Center website */
.main {
  max-width: auto;
  margin: auto;
}

h1 {
    font-size: 3vw;
    word-break: normal;
    white-space: normal;
    color:#9da25d;
}

h2 {
  font-size: 2.5vw;
  font-weight: 700;
  word-break: normal;
  white-space: normal;
  color: #642761;
}

h3 {
  font-size: 2vw;
  font-weight: 700;
  word-break: normal;
  white-space: normal;
  color: #000000;
}

.intro {
  float: right;
  width: 100%;
  display: inline;

}



.intro p {
  font-size: 1.5vw;
}

.row {
  margin: 8px -16px;
}

/* Add padding BETWEEN each column (if you want) */
.row,
.row > .column {
  padding: 8px;
}

.column {
  width: 100%;
  
}


/* mapkeycolumn styles*/

.mapkeyrow {
  margin: 8px -16px;
}

/* Add padding BETWEEN each mapkeycolumn (if you want) */
.mapkeyrow,
.row > .column {
  padding: 8px;
}

.mapkeycolumn {
  width: 50%;
  float: left;
}


.mapkeycontent img{
  width: 100%;
  height: auto;
  padding: 20px;

}

/* Clear floats after mapkeyrows */
.mapkeyrow:after {
  content: "";
  display: table;
  clear: both;
}


.columnwhole {
  width: 100%;
  float: left;
  margin-top: 0%;
  padding: 5px;
 }

.columnwhole h1 { 
  
  font-size: 3vw;
  word-break: normal;
  white-space: normal;
  color:#23233b;
}

.columnwhole h2 {
  font-size: 2.5vw;
  font-weight: 700;
  word-break: normal;
  white-space: normal;
  color: #642761;
}

.columnwhole p {
  font-size: 1.5vw;  
 }

.columnwhole img {
  width: 100%;
  height: 100%;
  padding: 20px;
}

.magic p {
  font-style: italic;
  margin-bottom: -20px;
 }

/* Create four equal columns that floats next to each other */
.column {
  float: left;
  width: 25%;
  padding: 5px;
}

/* Clear floats after rows */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Clear floats after rows */
.row2:after {
  content: "";
  clear: both;
  display: table; 
}

/* Content */

 .content {
  background-color: rgb(158, 149, 149);
  border: 1px solid rgb(0, 0, 0);
  padding: 10px;
  height: 280px;
}

 .content img {
  object-fit: contain;
  }

 .contentplus {
  background-color: white;
  padding: 10px;
  height: 400px;
}

/* Create 2 equal colums for text */

.columnB {
  float: left;
  width: 50%;
}

/* Clear floats after rows */
.row2:after {
  content: "";
  display: table;
  clear: both;
}

/* Content */
 .contentB {
  background-color: white;
  padding: 10px;
  height: 450px;
}

 .content img {
  object-fit: contain;
  }



/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 992px) {
 
.navbar {
  width: 100%;
  background-color: #333;
  overflow: auto;
}

.navbar a {
  float: left;
  padding: 8px;
  color: white;
  text-decoration: none;
  font-size: 13px;
  width: 20%; /* Five links of equal widths */
  text-align: center;
}

.navbar a:hover {
  background-color: #000;
}

.navbar a.active {
  background-color: #9da25d;;
}

.column {
  width: 50%;
}

.columnwhole p {
  font-size: 120%; 
 }

 .content {
  background-color: rgb(158, 149, 149);
  border: 1px solid rgb(0, 0, 0);
  padding: 10px;
  
   }

 .content img {
  object-fit: contain;
  }

h1 {
  font-size: 30px;
  word-break: break-all;
  }

  .intro p {
    font-size: 18px;
  }

table {
  font-size: 16px;
}

 .contentplus {
  background-color: white;
  padding: 10px;
  height: 400px;
  }

 .contentplus img {
  object-fit: contain;
  }

  .footerbox {
    font-size: 75%;
    float: left;
    width: 33.3%;
    text-align: left;
    padding: 5px;
    border-left : 1px solid rgb(255, 255, 255);
  }
  
  .quote {
    font-size: 100%;
  
  }
  
  .historybuttonbox {
  
    width: 100%;
    height: auto;
    overflow: auto;
    display: inline-block;
  }

  .historybutton a {
    font-size: 3vw;
    font-style: italic;
 
  }
 
}



/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 670px) {

  .navbar a {
    
    font-size: 67%;
    
     
  }
  
 .column {
    width: 100%;
  }


  .columnwhole h1 { 
    margin-top: -5px;
    color:#23233b;
    font-size: 130%;
    font-weight: bold;
  }
  
  .columnwhole h2 {
    font-size: 110%;
    font-weight: bold;
    color: #642761;
  }

  .columnwhole p {
    font-size: 100%;
  }

  .content {
    background-color: rgb(158, 149, 149);
  border: 1px solid rgb(0, 0, 0);
  padding: 10px;
  height: auto;
  }

 .content img {
  object-fit: contain;
  }

h1 {
  font-size: 5vw;
  word-break: normal;
  white-space: normal;
  color:#514a05;
  }

h2 {
  font-size: 4.5vw;
  word-break: normal;
  white-space: normal;
  color: #642761;
  }

h3 {
  font-size: 4vw;
  font-weight: 700;
  word-break: normal;
  white-space: normal;
  color: #000000;
  }

 .contentplus {
  background-color: white;
  padding: 10px;
  height: 420px;
  }

  .contentplus img {
  object-fit: contain;
  }

  .magic p {
  visibility: hidden
  }

  .banner h1 {
  font-size: 5vw;
  word-break: normal;
  white-space: normal;
  color:#514a05;
  }

  .banner p{
    font-weight: bold;
    font-size: 1vw;
    color: black;
    } 
 
 .banner hr {
  visibility: hidden;
  }



  .intro p {
    font-size: 14px;
  }

  table {
    font-size: 14px;
    padding-left: 10px;
  }

  .footer {
    font-size: 85%;
    color: #f1f1f1;
  }

  .mapkeycolumn {
    width: 100%;
    float: left;
  }

  .mapkeycontent {
    border: 1px solid rgb(0, 0, 0);
  }

  .historybuttonleft {
    width: 100%;
    margin-bottom: 10px;
  }

   .historybuttonright {
    width: 100%;
  }
 
}


@media screen and (max-width: 667px) {
  
  .navbar a {
    float: none;
    display: block;
    width: 100%;
    text-align: left;
  }


.banner h1{
    font-weight: bold;
    font-size: 5vw;
    } 

 .banner p{
  font-weight: bold;
  font-size: 8px;
  color: black;
  } 

  hr {
    visibility: hidden;
  }

  .intro p {
    font-size: 14px;
  }

  .historybutton a {
    font-size: 3vw;
   
  }

  .footerbox {
    float: none;
    display: block;
    width: 100%;
    height: auto;
    text-align: left;
    padding: 5px;
    border-bottom : 1px solid rgb(255, 255, 255);
  }

   .mapkeycolumn {
    width: 100%;
    float: left;
  }
   
  .mapkeycontent {
    border: 1px solid rgb(0, 0, 0);
  }


} 

#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
 display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* ----------------- Modal Content----------------- */

.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 100%;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

.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: #f2f2f2;
  font-size: 18px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

img {
  margin-bottom: -4px;
}

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.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);
}

/*---Home Page --*/
.container {
  position: relative;
  max-width: 100%; 
  margin: 0 auto;
}


.container .content {
  position: absolute; /* Position the background text */
  top: 0; /* At the bottom. Use top:0 to append it to the top */
  background: rgb(0, 0, 0); /* Fallback color */
  background: rgba(0, 0, 0, 0.5); /* Black background with 0.5 opacity */
  color: #f1f1f1; /* Grey text */
  width: 100%; 
  padding: 20px; 
}

.banner {
  height: 100%;
  width: 100%;
  float:left;
  text-align: left;
  clear: both;
  }


.banner img{
  width: 5vw;
  float: right;
  margin-bottom: 3px;
  }


/* Thick rule */
banner .hr{
  border: 2px solid black;
}
 
