html {
  background: url('/static/img/homepage2.jpg') no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  height: 100%;

}

/* 
    

    font-family: 'Oswald', sans-serif;

    font-family: 'Libre Baskerville', serif;


*/

body {

    font-family: 'Libre Baskerville', serif;
    letter-spacing: 0em;
    line-height: 1.6em;
    font-weight: 400;
    font-style: normal;
    font-size: calc(13px + 0.2vw);
    line-height: 1.8em;
    text-transform: none;
    color: #222222;
    background: rgba(255,255,255,0.4);

}

.text-red {
  color: #D22333;
}

.text-black {
  color: #222222;
}

.fw-bold {
  font-weight: bold;
}

.fs-5 {
  font-size: 1.2em;
}

.form_page {
  min-height: 90vh;
}

.form_page form {
  background: rgba(255,255,255,0.7);
  padding: 15px 25px 30px 25px;
  border-radius: 4px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.12), inset 0 1px 2px rgba(0,0,0,0.24);
}

.form_page h3 {
  font-weight: lighter;
  letter-spacing: 1px;
  margin-top: 40px;
}

.form_page h3 span {
  color: #868686;
}

.form_page .form-group {
  display: inline-block;
  width: 49.5%;
  padding: 5px 0px 5px 0px;
  margin: 0;
  vertical-align: top;
  /* border-left: 1px solid #D22333; */
}

.form_page .multiline {
  width: 100%;
}

.form_page input, .form_page textarea {
  display: block;
  border: none;
  padding: 8px 10px 8px 10px;
  width: 80%;
  background: rgba(255,255,255,0.9);
  border-radius: 4px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.12), inset 0 1px 2px rgba(0,0,0,0.24);
  /* border: 3px solid #ccc; */
  /* background-color: transparent; */
  /* border-bottom: 2px solid #D22333; */
}

.form_page textarea {
  height: 120px;
  min-height: 44px;
  max-height: 500px;
}

.form_page .multiline textarea {
  width: 100%;
}

.form_page select {
  display: block;
  /* height: 44px; */
  /* width: 80%; */
}

.form_page .submit_form {
  background-color: #D22333;
  /* margin: 0 auto; */
  margin-top: 40px;
  border: none;
  border-radius: 4px;
  color: white;
  padding: 10px;
  width: 300px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  font-weight: normal;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 1px;
}

.form_page .submit_form:hover {
  cursor: pointer;
  opacity: 0.8;
}

.form_page .we_may {
  color: #868686;
  font-size: 14px;
}

.form_page .required {
  color: #D22333;
  font-size: 18px;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 1px;
}

.form_page label {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
}

.form_page .help_text {
  font-size: 14px;
  color: #868686;
}

.form_page_landing .thankyoubox {
  padding: 20vh 40px 40vh 40px;
  min-height: 200px;
  text-align: center;
  /* background: rgba(255,255,255,0.9); */
  border-radius: 4px;
  /* box-shadow: inset 0 1px 3px rgba(0,0,0,0.12), inset 0 1px 2px rgba(0,0,0,0.24); */
  margin: 0 auto;
}

.form_page_landing .thankyoubox .done-button {
    background-color: #D22333;
    /* border-color: #D22333; */
    border: none;
    border-radius: 4px;
    color: white;
    padding: 10px;
    width: 250px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    font-weight: normal;
    letter-spacing: 1px;
}

.form_page_landing .thankyoubox .done-button a {
    color: #fff;
}

.form_page_landing .thankyoubox .go-home-button {
    background-color: #868686;
    color: #222222;
    display: inline-block;
}

.form_page_landing .thankyoubox .add-another-button {
    background-color: #D22333;
    display: inline-block;
}

h1, h2, h3, h4, h5, h6 {

    font-family: 'Oswald', sans-serif;
    color: #d22233;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 10px;

}

h1 {
  /* font-weight: normal; */
}

h4 {
    margin-top: 25px;
}

a {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 2px;
  font-weight: normal;
  text-transform: uppercase;
}

button {
  font-family: 'Oswald', sans-serif;
  font-weight: lighter;
}

body.homepage blockquote h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: lighter;
}

body.homepage blockquote span {
  font-family: 'Oswald', sans-serif;
  font-weight: normal;
  font-size: 60%;
}

/* start wagtail responsive embeds */
/* http://docs.wagtail.io/en/latest/topics/writing_templates.html?highlight=responsive#responsive-embeds */
.rich-text img {
    max-width: 100%;
    height: auto;
}

.responsive-object {
    position: relative;
}

.responsive-object iframe,
.responsive-object object,
.responsive-object embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* end wagtail responsive embed */

div.header {
    background-color: rgba(255,255,255,0.6);
    color: #2e2a2b;
    padding-top: 20px;
    padding-bottom: 10px;
}

div.header .logo-img {
  width: 300px;
}

div.header .nav-links {
  /* float: right; */
  position: absolute;
  bottom: 8px;
  right: 15px;
}

.home-link, .contact-link {
  margin-left: 0px;
  color: #868686;
  border-radius: 2px;
  padding: 4px 10px 4px 10px;
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.home-link:hover, .contact-link:hover, .logout-link:hover {
  background-color: #f0f0f0;
  color: #9e9e9e;
  text-decoration: none;
}

.contact-link {
  margin-left: 2px;
}

.username-label {
  font-weight: normal;
  text-transform: none;
}

.links {
  display: inline-block;
}

.logout-div {
  display: inline-block;
  color: #222222;
  font-family: 'Oswald', sans-serif;
  text-transform: lowercase;
  font-weight: lighter;
  letter-spacing: 1px;
}

.liner {
  color: #cccccc;
  margin-left: 0;
  margin-right: 10px;
  font-size: 24px;
  font-weight: lighter;
}

.logout-link {
  text-transform: uppercase;
  color: #868686;
  border-radius: 2px;
  padding: 4px 10px 4px 10px;
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.dot {
    height: 8px;
    width: 8px;
    background-color: #fff;
    border-radius: 50%;
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
  }

#tagline {
    font-size: 20px;
}

 /* Style the list */
 ul.breadcrumb.main {
    padding: 10px 16px;
    list-style: none;
    background-color: inherit;
  }
  
  /* Display list items side by side */
  ul.breadcrumb.main li {
    display: inline;
    font-size: 18px;
  }
  
  /* Add a slash symbol (/) before/behind each list item */
  ul.breadcrumb.main li+li:before {
    /* padding: 8px; */
    color: white;
    content: "/\00a0";
  }
  
  /* Add a color to all links inside the list */
  ul.breadcrumb.main li a {
    color: #fff;
    text-decoration: none;
  }
  
  /* Add a color on mouse-over */
  ul.breadcrumb.main li a:hover {
    color: #fff;
    text-decoration: underline;
  } 

  .main-content div.container {
      padding-top: 40px;
      padding-bottom: 40px;
  }

  footer {
      text-align: center;
      color: #777;
      font-family: sans-serif;
  }

  footer .fifth-logo {
    display: block;
    margin: 0 auto;
  }

  footer a:hover {
    opacity: 0.8;
  }

  footer .facebook-logo, footer .linkedin-logo, footer .instagram-logo {
    height: 30px;
    width: 30px;
    margin: 5px 6px 20px 6px;
  }
  


  /* Error message */
  .errorlist {
    text-align: center;
  }

  .errorlist > li {
    margin-top: -15px;
    margin-bottom: 30px;
    font-size: 16px;
    list-style: none;
    color: #D22333;
    font-family: 'Oswald', sans-serif;
    /* font-weight: lighter; */
    letter-spacing: 1px;
  }

  .form-label {
    margin: 0 auto;
    margin-bottom: 30px;
    color: #868686;
    width: 300px;
  }

  body.login label {
      display:none;
  }

  body.login button {
      background-color: #D22333;
      /* border-color: #D22333; */
      border: none;
      border-radius: 4px;
      color: white;
      padding: 10px;
      width: 300px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
      margin-top: -10px;
      font-weight: normal;
      letter-spacing: 1px;
  }

  body.login button:hover {
    cursor: pointer;
    opacity: 0.8;
}

  body.login input {
    padding: 10px;
    width: 300px;
    background: rgba(255,255,255,0.8);
    border-radius: 4px;
    border: none;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    margin-top: -10px;
    margin-bottom: -10px;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
  }

  body.login input:focus {
    /* border:0; */
    box-shadow: 0;
    outline:0;
  }

  body.login ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #D22333;
    opacity: 0.5; /* Firefox */
    text-transform: uppercase;
  }
  
  body.login :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #D22333;
    text-transform: uppercase;
  }
  
  body.login ::-ms-input-placeholder { /* Microsoft Edge */
    color: #D22333;
    text-transform: uppercase;
  }

  a.public-site-link {
    color: white;
  }

  a.public-site-link:hover {
    color: #EEEEEE;
    text-decoration: none;
  }

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

  body.homepage p {
      margin-bottom: 30px;
  }

  body.homepage .block-paragraph a {
    /* padding: 5px 20px 5px 20px; */
    /* color: #222222; */
    /* background-color: rgba(255, 255, 255, 0.8); */
    border: none;
    border-radius: 4px;
  }

  body.homepage .block-paragraph a:hover {
    text-decoration: none;
    opacity: 0.8;
  }

  body.homepage blockquote {
    display: block;
    padding: 0px 0px 0px 20px;
    font-size: 26px;
    line-height: 35px;
    text-align: right;
    max-width: 350px;
    margin: 0px 0px 15px 30px;
    float: right;
    border-left: 1px solid #dddddd;
  }
  body.homepage blockquote .div2 {
    margin: 0 auto;
    margin-top: -2px;
    margin-bottom: -2px;
  }

  body.homepage blockquote h2 {
    color: #868686;
    clear: both;
    line-height: 40px;
  }

  body.homepage blockquote span {
    color: #d22233;
    display: block;
    width: 100%;
    text-align: right;
    margin-bottom: 0;
  }

  body.homepage .block-video {
    margin-bottom: 60px;
  }   

  @media only screen and (max-width: 767px) {
    body.homepage blockquote {
      float: none;
      padding: 30px 30px 15px 30px;
      max-width: inherit;
      border-left: none;
      background-color: rgba(255, 255, 255, 0.6);
      margin: 0;
      margin-bottom: 20px;
      text-align: left;
    }
    body.homepage blockquote h2 {
      font-size: 24px;
      line-height: 30px;
    }

    div.header .nav-links {
      right: 15px;
      bottom: -30px;
    }
    
    div.header .row {
      padding-bottom: 40px;
    }
    
    .form_page .form-group {

      width: 100%;
      padding: 5px 0px 5px 0px;
      margin: 0;
    }
    
    .form_page input, .form_page textarea {
      width: 100%;
    }

  }

  @media only screen and (max-width: 570px) {

    .form_page h1 {
      padding-left: 15px;
    }

    footer .fifth-logo {
      max-width: 350px;
      width: 100%;
    }
    
    .form_page form {
      padding: 5px 15px 30px 15px;
      box-shadow: none;
    }

    .form_page .container {
      padding: 0;
    }

    .form_page .submit_form {
      width: 100%;
    }

  }

.portal-signup input[type="radio"],
.portal-signup input[type="checkbox"] {
  /* Double-sized Checkboxes */
  -ms-transform: scale(2); /* IE */
  -moz-transform: scale(2); /* FF */
  -webkit-transform: scale(2); /* Safari and Chrome */
  -o-transform: scale(2); /* Opera */
  transform: scale(2);
  padding: 10px;
  margin-top: 6px;
  margin-right: 10px;
  margin-left: 10px;
}

.preferences-callout {
  background: white;
  border: 2px solid #d22233;
  color: #d22233;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 20px;
  display: none;
}

.preferences-callout .icon {
  font-size: 2.0em;
}
