html, body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
}

.header {
  padding: 5px 15px;
  display: flex;
  justify-content: space-between;
}

.header > div > a {
  display: flex;
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lato';
}

.header div {
  display: flex;
  align-items: center;
}

.header .logo img {
  height: 90px;
}

.header .name h1 small {
  font-size: 0.7em;
}

.header .name h1 {
  font-family: 'Ovo', serif;
  color: #2b386c;
}

.header .links a {
  text-decoration: none;
  color: #666;
  margin-left: 15px;
  margin-right: 15px;
  transition: 300ms ease color;
}

.header .links a:hover {
  color: #bc3128;
}

a.button {
  background: #2b386c;
  padding: 15px 20px;
  color: #FFF;
  transition: 300ms ease background;
  border-radius: 5px;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.header .links a.button {
  color: #FFF;
  transition: 300ms ease background;
}

a.button:hover {
  background: #3f53a2;
}

.header .links a.phone-cta {
  display: flex;
  align-items: center;
  font-size: 1.5em;
  color: #2b386c;
  font-weight: bold;
}

.header .links a.phone-cta:hover {
  color: #3f53a2;
}

.phone-cta .material-icons {
  margin-right: 10px;
  font-size: 1.6em;
  position: relative;
  top: 2px;
}

.banner {
  background: url("/images/team.jpg");
  height: 600px;
  background-size: cover;
  background-position: center;
  background-position-y: 30%;
}

.banner h2 {
  margin: 0;
  font-size: 3em;
  font-family: 'Lato';
  font-weight: 600;
}

.banner h3 {
  font-weight: normal;
  margin-bottom: 70px;
}

.banner-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  background: rgba(37, 59, 109, 0.6);
  color: #FFF;
}

.container {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.content section {
  padding: 50px 30px;
  display: flex;
  align-items: center;
}

.content section:nth-child(even) {
  flex-direction: row-reverse;
}

.content section:nth-child(even) .rounded-image {
  margin-left: 0;
  margin-right: 150px;
}

.content section:nth-child(even) div {
  text-align: right;
}

.content h3 {
  font-size: 1.6em;
  color: #2b386c;
}

.content a.button {
  display: inline-flex;
  margin-top: 15px;
  padding-right: 15px;
}

.content a.button .material-icons {
  margin-left: 10px;
}

.content .rounded-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-size: cover;
  flex-shrink: 0;
  margin-left: 150px;
  background-position: center;
}

.footer {
  background: #2b386c;
  padding: 30px 15px;
}

.footer .core-details {
  display: flex;
  flex-wrap: wrap;
}

.footer .core-details section {
  display: flex;
  align-items: center;
  color: #FFF;
  width: 50%;
  margin-bottom: 10px;
  margin-top: 10px;
}

.footer .core-details section div:first-child {
  margin-right: 20px;
}

.footer h4 {
  margin-bottom: 0px;
}

.footer p {
  margin-top: 5px;
  margin-bottom: 5px;
}

.footer .core-details .material-icons {
  color: #2b386c;
  background: #FFF;
  padding: 15px;
  border-radius: 50%;
}

.copyright {
  display: block;
  text-align: center;
  color: #FFF;
  padding-top: 30px;
  padding-bottom: 5px;
}

.page-title {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.page-title.team {
  height: 500px;
  background-position: center 30%;
}

.page-title.repairs {
  background-position: 0% 15%;
}

.page-title.contact {
  background-position: 0% 60%;
}

.page-title-holder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 59, 109, 0.6);
  width: 100%;
  height: 100%;
  color: #FFF;
}

.contact-us-bar {
  width: 100%;
  height: 5px;
  background: #2b386c;
}

.page-title h2 {
  font-size: 3em;
}

.page-content {
  padding: 50px 30px;
  color: #222;
  display: flex;
  align-items: center;
}

.page-content.center {
  justify-content: center;
  text-align: center;
}

.page-content > div:first-child {
  flex-grow: 1;
}

.page-content .rounded-image {
  width: 150px;
  height: 150px;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  margin-bottom: 60px;
  margin-left: 60px;
}

.page-content .rounded-image.single {
  margin-bottom: 0;
}

.rounded-image.team-front {
  background-position: 25%;
}

.page-content a.button {
  display: inline-flex;
  color: #FFF;
}

.page-content a.button.red {
  background: #c52929;
}

.page-content a.button.red:hover {
  background: #e02a2a;
}

.page-content a {
  color: #41508e;
}

.photo-title-bar {
  padding: 10px;
  text-align: center;
  background: #2b386c;
  color: #FFF;
}

.people {
  display: flex;
  flex-wrap: wrap;
}

.people > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
  flex-grow: 1;
  width: 50%;
  flex-shrink: 0;
  flex-basis: 0;
}

.people div h3 {
  font-size: 1.8em;
  color: #2b386c;
  margin-bottom: 0;
}

.people div h4 {
  margin-top: 5px;
  font-weight: normal;
  font-size: 1.2em;
  color: #222;
}

.people .rounded-image {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background-position: center;
  background-size: cover;
  margin-bottom: 15px;
  display: block;
}

.map-responsive {
    overflow:hidden;
    padding-bottom:36.25%;
    position:relative;
    height:0;
}

.map-responsive iframe {
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

.header.mobile {
  display: none;
}

@media( max-width: 900px ) {
  .header.mobile {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
  }

  .header.mobile .material-icons {
    font-size: 2em;
    color: #2b386c;
    cursor: pointer;
  }

  .header.mobile > div > a {
    display: flex;
    align-items: center;
  }

  .header.mobile > div > a img {
    height: 80px;
  }

  .header.mobile > div > a h1 {
    font-size: 1.4em;
  }

  .header.core {
    display: none;
    position: fixed;
    padding: 0;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: #FFF;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .header.core.open {
    display: block;
    animation-name: sidebar-open;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
  }

  @keyframes sidebar-open {
    from {transform: translateX(-100%)}
    to {transform: translateX(0%)}
  }

  .header div {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .header > div {
    width: 100%;
  }

  .links {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
  }

  .header .links a {
    padding: 30px 20px;
    margin: 0;
    text-align: left;
    width: calc(100% - 40px);
    border-bottom: 1px solid rgb(214, 214, 214);
  }

  .header .links a:first-child {
    border-top: 1px solid rgb(214, 214, 214);
  }

  .header .links a.button {
    border-radius: 0;
  }

  .content section {
    flex-direction: column;
    justify-content: flex-start;
  }

  .content section div:last-child {
    margin-top: 50px;
    margin-bottom: 0px;
  }

  .content .rounded-image {
    margin-left: auto;
    margin-right: auto;
  }

  .content section:nth-child(even) {
    flex-direction: column;
  }

  .content section:nth-child(even) div {
    text-align: left;
  }

  .content section:nth-child(even) .rounded-image {
    margin-left: auto;
    margin-right: auto;
  }

  .banner h2 {
    padding-left: 30px;
    padding-right: 30px;
    text-align: center;
  }

  .banner h3 {
    padding-left: 30px;
    padding-right: 30px;
    text-align: center;
  }

  .footer .core-details section {
    width: 100%;
  }

  .page-content {
    flex-direction: column;
  }

  .page-content > div:last-child {
    margin-top: 50px;
  }

  .page-content .rounded-image {
    margin-left: 0;
    width: 180px;
    height: 180px;
  }

  .banner {
    height: 320px;
    display: flex;
    align-items: flex-end;
  }

  .banner-overlay {
    background: transparent;
    width: 100%;
    height: auto;
    background: #2b386c;
    padding: 20px;
  }

  .banner h2 {
    font-size: 1.3em;
  }

  .banner h3 {
    margin-bottom: 0;
    font-size: 1em;
  }

  .content section a.button {
    display: flex;
    justify-content: space-between;
  }

  .page-title-holder h2 {
    margin-left: 15px;
    font-size: 2em;
  }

  .map-responsive {
    padding-bottom: 70%;
  }

  .page-title.team {
    height: 200px;
  }
}

form {
  width: 100%;
}

form input, form textarea {
  display: block;
  padding: 15px;
  width: 100%;
  margin-bottom: 15px;
  border: 1px solid #2b386c;
}

.submit-btn {
  background: #2b386c;
  color: #FFF;
  border: 0;
  font-size: 1.2em;
}
