.outer-wrapper {
  margin: 0 20px;
}

.page-heading {
  font-family: Georgia,'Times New Roman',serif;
  letter-spacing: 2px;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
  margin: 30px 0;
}

/* header */
.page-header {
  position: relative;
  min-height: 120px;
  border-bottom: 2px lightgrey solid;
  margin-bottom: 40px;
}

.top-nav {
  width: 100%;
  position: relative;
  text-align: center;
}

.top-nav ul {
    font-family: Varela Round, arial, serif;
    letter-spacing: 2px;
    list-style-type: none;
    text-align: center;
    margin: auto 0;
    padding: 0;
}

.top-nav ul li {
    display: inline-block;
    position: relative;
    margin-left: auto;
    margin-bottom: 10px;
}

.top-nav ul li > a {
  display: inline-block;
  padding: 5px 16px;
}

.top-nav ul li a {
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
  text-decoration: none;
  border-bottom: 1px white solid;
}

.top-nav ul li a.current {
  color: red;
  border-bottom: 1px rgba(0, 0, 0, 0.5) solid;
  transition-duration: 0.5s;
}

.dropdown-content {
  display: none;
  width: 100%;
  position: absolute;
  z-index: 1;
  background-color: white;
}

.dropdown-content a {
  width: 100%;
  display: block;
  padding: 5px 0;
}

.dropdown-menu:hover .dropdown-content{
  display: block;
}


.login-nav {
  max-height: 80px;
  position: absolute;
  right: 10px;
  transform: translateY(-50%);
}

/* main content */
h2 {
  width: 90%;
  color: white;
  text-shadow: 1.5px 1.5px 1px black;
  text-align: center;
  padding: 5px 0px;
}

.main-content {
  width: 80%;
  margin: 30px auto;
}

.main-content > h3 {
  text-transform: uppercase;
}

.content-header {
  font-family: Georgia, sans-serif;
  letter-spacing: 2px;
  position: relative;
  height: 60vh;
  margin-bottom: 30px;
  text-transform: uppercase;
  overflow-y: hidden;
  padding: auto;
}

.content-header h2 {
  margin: 0;
}

.header-image, .content-image {
  position: absolute;
  z-index: -1;
  left: 0;
  margin: 0;
  padding: 0;
}

.header-image {
  width: 100%;
}

.content-image {
  width: 80%;
}
.image-bot {
  bottom: 0 !important;
}

.image-top {
  top: 0 !important;
}

.image-mid {
  top: -50%;
}

/* forms */
.mails h3 {
  text-align: center;
  width: 100%;
  text-transform: uppercase;
}
.mails {
  max-width: 100%;
  padding: 20px;
  border: none;
}

.mails input, .mails textarea {
  color: black;
  width: 80%;
  margin-left: 10%;
  margin-right: auto;
  margin-top: 20px;
}

.mails input {
  border: none;
  border-bottom: 1px lightgrey solid;
}

.mails input:focus, .mails textarea:focus {
  outline: 0px;
}

.mails input:focus {
  border-bottom: 1px black solid;
  transition: 0.5s;
}

.mails .buttoninput {
  cursor: pointer;
  display: inline-block;
  width: 20%;
  height: 50px;
  margin-left: 20%;
  background-color: rgba(0, 0, 255, 0.4);
  color: white;
}

.mails .buttoninput:hover {
  background-color: rgba(0, 0, 0, 1);
  transition: 0.5s;
}

.mails .buttoninput:focus {

}

/* footer */
footer {
  max-height: 50px;
  border-top: 2px lightgrey solid;
}

.footer-note > p {
  text-align: center;
  font-size: 12px;
}

/* functional style class */
.sticky {
  position: fixed;
  top: 0;
}

.map, .calendar {
  width: 100%;
}

.map {
  text-align: center;
  height: 450px;
}

.calendar {
  height: 650px;
}

.map iframe, .calendar iframe {
  width: 100%;
  height: 100%;
}

.abs-ctr {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* Responsive fixes */
@media only screen and (min-width: 600px) {
  .top-nav ul li a:hover, .top-nav ul li a:active {
    color: red;
    border-bottom: 1px rgba(0, 0, 0, 0.5) solid;
    transition-duration: 0.5s;
  }
}

@media only screen and (max-width: 900px) {
  .content-header {
    height: 400px;
  }
}

@media only screen and (max-width: 750px) {
  .content-header {
    height: 300px;
  }

  .map {
    height: 250px;
  }

  .map iframe {
    height: 250px;
  }

  .calendar {
    height: 350px;
  }

  .calendar iframe {
    height: 350px;
  }
}

@media only screen and (max-width: 650px) {
  /* header */
  .page-header {
    min-height: auto;
    max-height: 100%;
  }

  .top-nav ul li {
      display: block;
      width: 100%;
      text-align: center;
  }

  .dropdown-content {
    position: relative;
  }

  .dropdown-content a {
    text-align: center;
  }

  .content-header {
    height: 150px;
  }

  .calendar {
    height: 250px;
  }

  .calendar iframe {
    height: 250px;
  }

  * {
    text-align: justify;
  }
}
