html {
  display: flex;
}

body {
  width: 100vw;
  height: 100vh;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  font-family: "Open Sans";
}

.page {
  display: none;
  flex-direction: column;
  flex: 1 1 auto;
}

.page_selected {
  display: flex;
}

.page h1 {
  text-align: center;
  text-transform: uppercase;
  font-family: sans-serif;
}

.banner {
  display: flex;
  flex-direction: column;
  flex: 0 0 310px;
  justify-content: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #ffffff;
  text-align: center;
  padding-bottom: 18px;
  font-family: sans-serif;
  font-size: 1.25em;
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1.26;
  align-items: center;
  justify-content: center;
}

.banner h1 {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  font-size: 3.75em;
  margin-block-end: 0.2em;
  margin-block-start: 0.67em;
}

.banner h1:first-child:after {
  content: "";
  border-bottom-style: solid;
  border-bottom-width: 8px;
  border-color: rgba(206, 169, 100, 1);
  margin-left: auto;
  margin-right: auto;
  width: 100px;
}

.banner_home {
  display: flex;
  flex-direction: row;
  flex: 0 0 480px;
  background-image: url(/images/banner_home.jpg);
  background-position: center bottom 50%;
}

.banner_home h1 {
  font-size: 2em;
}

.banner_aboutus {
  background-image: url(/images/banner_aboutus.jpg);
}

.banner_ministries {
  background-image: url(/images/banner_ministries.jpg);
}

.banner_mens {
  background-image: url(/images/ministries_men.jpg);
}

.banner_calendar {
  background-image: url(/images/banner_calendar.jpg);
}

.banner_calendar h1 {
  color: #000000;
}

.banner_announcements {
  background-image: url(/images/banner_announcements.jpg);
}

.banner_bulletin {
  background-image: url(/images/banner_bulletin.jpg);
}

.banner_video {
  background-image: url(/images/banner_video.jpg);
}

.banner_contactus {
  background-image: url(/images/banner_contactus.jpg);
}

.linkbutton {
  background-color: rgba(130, 113, 83, 1);
  color: #ffffff;
  font-size: 1.2em;
  text-align: center;
  text-wrap: nowrap;
  font-family: "Open Sans", sans-serif;
  justify-content: center;
  display: flex;
  flex-direction: row;
  flex: 0 0 300px;
  width: 300px;
  text-decoration: none;
  padding: 5px;
  margin-left: auto;
  margin-right: auto;
}

.menu {
  background-color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: row-reverse;
  position: fixed;
  top: 0;
  right: 0;
  overflow: hidden;
  width: 100vw;
}
.menu ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-left: -1px;
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.menu li {
  flex-grow: 1;
  flex-basis: auto;
  margin: 0.25em 0;
  padding: 0 1em;
  text-align: center;
  border-right: 1px solid;
  cursor: pointer;
}

.menu_selected {
  font-weight: bold;
}

.menu li:last-child {
  border-right: 0px;
}

.menu li:hover {
  font-weight: bold;
  content: attr(data-label);
}

/* prevents shifting. must set 'data-label="label of menu item"' */
.menu li::before {
  display: block;
  content: attr(data-label);
  font-weight: bold;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

.submenu {
  display: none;
}

.flex-row {
  display: flex;
  flex-direction: row;
  flex: 1 1 auto;
}

.flex-column {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

#edit-banner {
  display: none;
  flex-direction: row;
}

.edit-button {
  display: block;
  background-color: #600000;
  color: #ffffff;
}
