@charset "ISO-8859-1";

* {
  box-sizing: border-box;
}

/* SECTIONS */

body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: white;
}

header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: lightgray;
  text-align: center;
  padding-top: 1px;
  z-index: 1;
}

main {
  background-color: white;
  width: 100%;
  padding-top: 1%;
  padding-bottom: 4%;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: lightgray;
  text-align: center;
  z-index: 1;
}

/* HEADINGS */

h1 {
  font-size: 1.5em;
  margin-top: 0.83em;
  margin-bottom: 0.83em;
}
h2 {
  font-size: 1.17em;
  margin-top: 1em;
  margin-bottom: 1em;
}
h3 {
  font-size: 1em;
  margin-top: 1.33em;
  margin-bottom: 1.33em;
}
h4 {
  font-size: .83em;
  margin-top: 1.67em;
  margin-bottom: 1.67em;
}
h5 {
  font-size: .67em;
  margin-top: 2.33em;
  margin-bottom: 2.33em;
}
h6 {
  font-size: 0.5em;
  margin-top: 2.5em;
  margin-bottom: 2.5em;
}

/*
h1 {
  margin-top: 0.33em;
  margin-bottom: 0.33em;
}
*/
h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0;
}

.no-bullets {
  list-style-type: none;
  padding-left: 0;
  margin-left: 0;
}

/* IMAGES */

.flag {
  position: absolute;
  top: 0;
  right: 0;
  padding: 5px;
}

.flag img {
  height: 30px;
  width: auto;
}

/* NAVIGATION */

nav h3 {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow: hidden;
}

nav li {
  float: left;
}

nav li button {
  position: absolute;
  right: 0;
  bottom: 0;
}

nav li a, .dropbtn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 5px;
  padding-right: 5px;
  color: black;
}

nav li.active {
  background-color: white;
}

nav li a:hover, .dropdown:hover .dropbtn {
  background-color: darkgray;
}

nav li.dropdown {
  display: inline-block;
}

nav li.dropdown .dropdown-content {
  display: none;
  position: absolute;
  box-shadow: 0px 8px 16px 0px black;
  z-index: 1;
  background-color: darkgray;
}

nav li.dropdown .dropdown-content a {
  display: block;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 12px;
  padding-right: 12px;
  text-decoration: none;
  text-align: left;
  color: black;
}

nav li.dropdown .dropdown-content a:hover {
  background-color: lightgray;
}

nav li.dropdown:hover .dropdown-content {
  display: block;
}

.translate-button {
  padding-left: 1px;
  padding-right: 1px;
  padding-top: 0.3em;
  padding-bottom: 0.3em;
  margin-bottom: 0.3em;
  margin-right: 2px;
}

/* COLLAPSIBLE */

.more {
  margin-bottom: 20%;
}

.collapsible {
  display: none;
  overflow: hidden;
}

/* CARDS */

.cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.card {
  width: 95%;
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  display: block;
  zoom: 1;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2%;
  border-radius: 8px;
}

.card-title {
  width: 100%;
  text-align: center;
}

.card-content {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 2%;
}

.card-image {
  width: 30%;
  margin-left: 0%;
  display: inline-block;
  text-align: center;
}

.card-schedule {
  width: 60%;
  display: inline-block;
  vertical-align: top;
  padding-left: 10%;
  padding-top: 0%;
  text-align: left;
}

.card-schedule h3 {
  margin-top: 15%;
  margin-bottom: 5px;
}

.card-schedule h4 {
  margin-top: 10px;
  margin-bottom: 0px;
  padding-left: 10px;
}

.card-image p {
  margin-top: 0px;
  margin-bottom: 0px;
}

#pomeroy-resources, #dayton-resources, #waitsburg-resources {
  margin-top: 2%;
  margin-bottom: 4%;
}

#pomeroy-card, #pomeroy-resources {
  background-color: rgba(255, 0, 0, 0.25);
}

#dayton-card, #dayton-resources {
  background-color: rgba(255, 224, 0, 0.25);
}

#waitsburg-card, #waitsburg-resources {
  background-color: rgba(0, 106, 179, 0.25);
}

#pomeroy-card:hover {
  background-color: rgba(255, 0, 0, 1.0);
  box-shadow: 0 4px 8px 0 rgba(255, 0, 0, 1.0), 0 6px 20px 0 rgba(255,0,0,0.25);
}

#dayton-card:hover {
  background-color: rgba(255, 244, 0, 1.0);
  box-shadow: 0 4px 8px 0 rgba(255, 224, 0, 1.0), 0 6px 20px 0 rgba(255, 224, 0, 0.25);
}

#waitsburg-card:hover {
  background-color: rgba(0, 106, 179, 1.0);
  box-shadow: 0 4px 8px 0 rgba(0, 106, 179, 1.0), 0 6px 20px 0 rgba(0, 0, 0, 0.25);
}

/* RESOURCES, LINKS */

.links {
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  margin-top: 1%;
  margin-bottom: 2%;
}

.resources {
  margin-left: auto;
  margin-right: auto;
  width: 98%;
}

.resources .row {
  padding-bottom: 1%;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.row .column {
  float: left;
  width: 50%;
}

.row .column h3 {
  padding-left: 4px;
  padding-top: 8px;
}

.row .column h4, h5 {
  padding-left: 4px;
}

.row .column-resource {
  float: left;
  width: 30%;
}

.row .column-contact {
  float: left;
  width: 70%;
}

.row .column-logo {
  float: left;
  text-align: center;
  width: 128px;
}

img.logo {
  height: 64px;
  width: auto;
}

img.logo-round {
	height: 64px;
	width: 64px;
	border-radius: 32px;
}

/* DETAIL */

.detail {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.detail .row:after {
  content: "";
  display: table;
  clear: both;
}

.detail .column {
  width: 100%;
}

.detail .row .column {
  width: 100%;
  float: left;
}

.address-row {
  width: 100%;
}

.address-column {
  padding-left: 4%;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  float: left;
}

.slideshow {
  margin: 0;
  padding-left: 0%;
}

.slides {
  display: none
}

img.slide {
  vertical-align: middle;
  width: 100%;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  color: red;
  background-color: rgba(191,191,191,0.50);
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 16px 16px 0;
  user-select: none;
}

.next {
  color: lightgreen;
  right: 0;
  border-radius: 16px 0 0 16px;
}

.prev:hover, .next:hover {
  background-color: rgba(191,191,191,0.75);
}

.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;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

.detail .description {
  width: 50%;
  font-size: 18px;
  text-align: left;
  padding-left: 5%;
  padding-right: 1%;
}

.info {
  padding-left: 5%;
}

address h4 {
  padding-top: 0.5em;
}

.block {
  padding-top: 0;
  padding-bottom: 3%;
}

.center {
  padding-top: 1%;
  text-align: center;
}

.tab {
  margin-left: 8px;
}

.shade {
  background-color: rgb(239, 239, 239);
}

.mapframe {
  width: 100%;
  height: 100vw;
}

/* LANDSCAPE */

@media only screen and (orientation: landscape) {
  h1 {
    font-size: 2em;
    margin-top: 0.67em;
    margin-bottom: 0.67em;
  }
  h2 {
    font-size: 1.5em;
  }
  h3 {
    font-size: 1.17em;
  }
  h4 {
    font-size: 1em;
  }
  h5 {
    font-size: .83em;
  }
  h6 {
    font-size: .67em;
  }
  nav li a, .dropbtn {
    padding-left: 16px;
    padding-right: 16px;
  }
  .cards {
    flex-direction: row;
  }
  .card {
    width: 32%;
    padding-left: 0;
  }
  .card-image {
    width: 100%;
    margin-left: 0%;
    display: block;
  }
  .card-schedule {
    width: 100%;
    padding-left: 5%;
    padding-top: 5%;
    display: block;
  }
  .slideshow {
    padding-left: 2%;
  }
  .next, .prev {
    top: 60%;
  }
  .next {
    right: 50%;
  }
  .detail .column {
    width: 50%;
  }
  .detail .row .column {
    width: 50%;
    float: left;
  }
  .address-column {
    padding-left: 0;
    padding-right: 1%;
  }
  .mapframe {
    height: 50vw;
  }
  .links {
    width: 66%;
  }
  .resources {
    width: 96%;
  }
  .row .column h3 {
    padding-left: 16px;
    padding-top: 16px;
  }
  .row .column h4, h5 {
    padding-left: 16px;
  }
}
