 /* //// BODY STYLES //// */
 body {
   font-family: 'Source Sans Pro', sans-serif;
   color: #242424;
 }

 h2 {
   font-size: 30px;
 }

 h4 {
   margin: 0;
   display: inline-block;
   border-bottom: solid 3px #29469D;
   font-size: 20px;
 }

 a {
   color: #29469D;
   transition: all .2s ease;
 }

 a:hover {
   color: #8BC5EC;
 }

.inner-wrapper {
  padding: 0 20px;
  max-width: 1080px;
  min-width: 280px;
  margin: 0 auto;
  overflow: hidden;
}

.flourish {
  width: 75px;
  height: 3px;
  background-color: #29469D;
  margin: 0 auto;
}






 /* //// HEADER //// */
.header {
  padding: 40px 0 60px 0;
}

.header__logo {
  text-align: center;
}

.header__logo img {
  max-height: 150px;
}

.header__nav {
  text-align: center;
  padding-top: 40px;
}

.header__nav ul {
  margin: 0;
  padding: 0;
}

.header__nav li {
  list-style: none;
  display: inline-block;
  margin: 0 10px;
}

.header__nav li a {
  color: #29469D;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  transition: all .2s ease;
  border-bottom: solid 3px #29469D;
}

.header__nav li a:hover {
  color: #8BC5EC;
  border-color:  #8BC5EC;
}





 /* //// HERO //// */
.hero {
  text-align: center;
}

.hero img {
  max-width: 100%;
}





 /* //// SECTION //// */
.section {
  margin: 60px 0;
}

.section__title {
  text-align: center;
}

.section__body {
  max-width: 800px;
  margin: 40px auto;
}

.section__body--title {
  padding-bottom: 10px;
}





 /* //// CONTACT //// */
.contact__module--wrapper {
  max-width: 500px;
}

@media screen and (min-width: 700px){
  .contact__module--wrapper {
    max-width: 10000px;
    text-align: center;
  }
}

@media screen and (min-width: 700px){
  .contact__module {
    display: inline-block;
  }
}

.contact__module:first-child {
  margin-bottom: 40px;
}
@media screen and (min-width: 700px){
  .contact__module:first-child {
    /* margin-right: 80px; */
    margin-bottom: 0;
  }
}

.contact__module img {
  display: inline-block;
  vertical-align: middle;
  height: 50px;
}

.contact__module--body {
  display: inline-block;
  vertical-align: middle;
  margin-left: 20px;
  text-align: left;
}

.contact__module--body p {
  margin: 0 0 5px 0;
}


.contact__form {
  max-width: 500px;
  margin: 0 auto;
  max-height: 600px;
  opacity: 1;
  transition: all .5s ease;
}

.contact__form.is-inactive {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

.contact__form--input {
  margin-bottom: 20px;
  position: relative;
  width: 100%;
}

.contact__form--input label {
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  transition: all .2s ease;
  color: #8BC5EC;
}

.contact__form--input.is-active label, .contact__form--input.is-valid label {
  top: 5px;
  transform: translateY(0%);
  font-size: 10px;
}

.contact__form--input.is-invalid label {
  color: #EF3340;
}

.contact__form--input.is-invalid input, .contact__form--input.is-invalid textarea {
  border-color: #EF3340;
}

.contact__form--input.message label {
  top: 5px;
  transform: translateY(0);
}

.contact__form input:focus, .contact__form textarea:focus, .contact__form select:focus {
  outline: none;
  border-color: #29469D;
}
.contact__form input, .contact__form textarea {
  width: calc(100% - 15px);
  height: 20px;
  padding: 20px 5px 5px 5px;
  color: #29469D;
  font-weight: bold;
  border: solid 1px #D3D3D3;
}

.contact__form textarea {
  height: 60px;
}

.contact__form select {
  width: 100%;
  padding: 5px 5px 5px 5px;
  height: 40px;
  color: #29469D;
  font-weight: bold;
  background: none;
  border: solid 1px #D3D3D3;
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.contact__form input#submit {
  height: 40px;
  width: 100%;
  padding: 0;
  background: #F6F6F6;
  /*background: #8BC5EC;*/
  border: none;
  color: #292929;
  transition: all .2s ease;
}

.contact__form input#submit.is-valid {
  background: #8BC5EC;
}

.contact__form input#submit:hover {
  background: #29469D;
  color: white;
}


.contact__confirmation {
  text-align: center;
  max-height: 0;
  transition: all .5s ease;
  transition-delay: .75s;
  overflow: hidden;
  opacity: 0;
}

.contact__confirmation.is-active {
  max-height: 40px;
  opacity: 1;
}






 /* //// FOOTER //// */
footer {
  margin-top: 120px;
  padding: 40px 0;
  background-color: #F6F6F6;
  text-align: center;
}

.footer__contact { margin-bottom: 40px; }
.footer__contact p { margin: 10px 0; }

p.footer__contact--title {
  font-size: 20px;
}

.footer__contact a {
  color: #242424;
  text-decoration: none;
}

.footer__counties {
  margin: 40px 0 30px 0;
  font-size: 14px;
}

.footer__towns {
  font-size: 12px;
}
