* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
ol,
ul {
  list-style: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 20px;
}
h1,
h2,
h3,
h4,
h5,
h6,
nav ul li a,
.subhead,
label,
button,
.button,
input[type="submit"] {
  font-family: "Google Sans", serif;
  color: #222;
}
h2 {
  font-size: 2em;
  padding-bottom: 0.5em;
  border-bottom: 1px #ddd solid;
  margin-bottom: 0.5em;
}
h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
}
h4 {
  font-size: 1.2em;
  margin-bottom: 10px;
}
p {
  margin-bottom: 20px;
  line-height: 1.5em;
}
p strong {
  font-size: 1.2em;
}
body {
  background-color: #3d9dc0;
  font-family: "Roboto", sans-serif;
  overflow-x: hidden;
}
a {
  color: #008bd8;
  text-decoration: none;
}
a:hover {
  color: #003c8b;
}
hr {
  border: 0;
  border-bottom: #ddd 1px solid;
  margin: 3em 0;
}
.wrapper {
  width: 90vw;
  max-width: 1200px;
  margin: auto;
}
header {
  display:flex;
  align-items: end;
  justify-content: space-between;
  padding: 0 1em;
}
.tab {
  color: #444;
  background-color: #ffffff;
  border-radius: 10px 10px 0 0;
}
.subhead {
  padding: 0 0 20px;
}
nav ul {
  padding: 0;
}
nav ul li {
  display: inline-block;
  margin: 0 2px;
}
nav ul li a {
  padding: 14px;
  transition: padding 0.1s ease;
  font-size: 15px;
  display: block;
  box-shadow: inset 0 -5px 5px rgba(0, 0, 0, 0.1);
}
nav ul li a:hover:not(.active) {
  box-shadow: none;
  padding-left: 20px;
  padding-right: 20px;
}
nav ul li a.active {
  box-shadow: none;
  font-weight: bold;
  color: #BF1E2C;
}
#nav-opener {
  display: none;
}
h1 {
  margin-bottom: 0;
}
.logo {
  max-width: 100%;
  margin-top: 10px;
  transition: width 0.5s ease-out, height 0.5s ease-out;
}
.phone a {
  color: #003c8b;
}
.phone a:hover {
  color: #008bd8;
}
.subhead {
  color: white;
  text-align: center;
  padding: 10px;
  background-color: #2b2446;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
  font-weight: bold;
}
.subhead span {
  display: block;
}
.serving {
  font-size: 12px;
  font-weight: normal;
  font-family: "Roboto", sans-serif;
}
.sunday-service {
  display:block;
  font-size: 1.2em;
  position:relative;
  color: white;
  background-color: #B86FAD; 
  height:40px;
  line-height: 40px;
  position: absolute;
  right: -790px;
  width: 1000px;
  top: 30px;
  text-align: left;
  transition: top ease-out 0.2s, box-shadow ease-out 0.2s;
  box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.3);
}
.sunday-service:before, .sunday-service:after {
  content: '';
  position:absolute;
  display: block;
  width: 0;
	height: 0;
  top: 0;
	border: 20px solid #B86FAD;
}
.sunday-service:hover {
  color: white;
  top:27px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
}
.sunday-service:before {
  border-left: 20px solid transparent;
  left:-40px;
}
.sunday-service:after {
  border-right: 20px solid transparent;
  right:-40px;
}
main {
  position:relative;
  background-color: white;
  border-radius: 10px;
  padding: 40px 30px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
  color: #111;
  min-height: 300px;
}
main ul {
  list-style-type: circle;
  list-style-position: outside;
  margin-left: 30px;
  margin-bottom: 30px;
}
main li {
  margin-bottom: 10px;
}
main img {
  max-width: 100%;
}
footer {
  text-align: center;
}
.copyright {
  font-size: 12px;
  margin: 40px 0;
}
.form-field {
  padding: 10px 0;
}
.seal {
  text-align:center;
}
label {
  display: block;
  font-weight: bold;
  margin-bottom: 3px;
}
input,
textarea {
  border: 1px solid #aaa;
  padding: 6px 10px;
  border-radius: 4px;
  outline: 0;
}
input {
  width: 100%;
  max-width: 300px;
}
textarea {
  width: 100%;
  height: 200px;
}
button,
.button,
input[type="submit"] {
  font-size: 14px;
  padding: 10px 20px;
  background-color: #333;
  color: white;
  border-radius: 5px;
  outline: 0;
  border: 0;
  cursor: pointer;
}
button:hover,
.button:hover,
input[type="submit"]:hover {
  background-color: black;
}
main .split {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-bottom: 1em;
}
main .split.split-reverse {
  flex-direction: row-reverse;
}
main .split div:first-child {
  padding-right: 20px;
}
main .split.split-reverse div:first-child {
  padding-right: 0;
  padding-left: 20px;
}
main .split div {
  flex: 2;
}
main .split div.small {
  flex: 1.5;
}
main .split div.smaller {
  flex: 1;
}
main .split div.smallest {
  flex: 0.5;
}
a.download-link {
  display: inline-block;
  vertical-align: top;
  padding-top: 0.3em;
  padding-left: 0.3em;
}
.grey-background {
  background-color: #eee;
  padding: 20px;
  border-radius: 10px;
}
.some-padding {
  padding: 20px;
}

@media (max-width: 1200px) {
  nav {
    padding: 5px;
    color: #333;
    background-color: #ffffff;
    border-radius: 10px 10px 0 0;
    width: auto;
    display: inline-block;
    transition: width 0.5s ease-out;
    box-shadow: inset 0 -5px 5px rgba(0, 0, 0, 0.1);
  }
  nav ul {
    max-height: 0;
    width: 0;
    overflow: hidden;
    transition: all 0.5s ease-out;
    padding: 0;
  }
  nav.open ul {
    max-height: 500px;
    width: auto;
  }
  nav ul li {
    display: block;
    border-bottom: 2px solid #ddd;
  }
  nav ul li a {
    box-shadow: none;
    border-radius: 0 0 0 0;
  }
  nav ul li:last-child {
    border-bottom: none;
  }
  nav ul li a:hover:not(.active) {
    padding: 14px;
    background-color: #eee;
  }
  #nav-opener {
    display: block;
    cursor: pointer;
    padding: 7px 10px;
  }
  nav.open #nav-opener {
    display: none;
  }
}
@media (max-width: 760px) {
  header {
    flex-direction: column;
  }
  header h1 {
    align-self:center;
  }
  main .split, main .split.split-reverse {
    flex-direction: column;
  }
  main .split .split, main .split.split-reverse .split {
    flex-direction: row;
  }
  main .split > div:first-child, main .split.split-reverse > div:first-child {
    flex: 1;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 10px;
  }
  main {
    font-size: 14px;
  }
  .sunday-service {
    right: auto;
    left: -820px;
    top: -50px;
    text-align: right;
  }
}
