/*!
 * Start Bootstrap - Clean Blog v5.0.3 (https://startbootstrap.com/template-overviews/clean-blog)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-clean-blog/blob/master/LICENSE)
 */

body {
  font-size: 18px;
  color: #212529;
  font-family:'Roboto', 'Helvetica', sans-serif;
  font-weight: 300;
}

p {
  line-height: 30px;
}

p a {
  color: #508991;
  font-weight:400;
}

span.highlight {
  color: #508991;
  font-weight: 400;
}

h1 {
    font-weight: 800;
    font-family: 'Playfair Display', serif
}

h2{
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  color: #212529;
  font-family: 'Roboto', 'Helvetica', sans-serif;
  margin-bottom: 0;
}

h3 {
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  color: #212529;
  font-family: 'Roboto', 'Helvetica', sans-serif;
  margin: 40px 0 0 0;
}

h4{
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  color: #212529;
  font-family: 'Roboto', 'Helvetica', sans-serif;
}

h5 {
  font-size: 20px;
  color: #212529;
  font-family:'Roboto', 'Helvetica', sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

h6 {
  font-size: 18px;
  font-weight: 300;
  line-height: 24px;
}

a {
  color: #212529;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

/* ----- Hover states ----- */
.case-study:hover {
  color: #212529;
}

.case-study:focus {
  color: #212529;
}

a:focus, a:hover {
  /*color: #0085A1;*/
  color: #508991;
  /*text-decoration: none;   -- Usually would remove underline, but this is not accessible -- */
}


blockquote {
  font-style: italic;
  color: #868e96;
}

.section-heading {
  font-size: 36px;
  font-weight: 700;
  margin-top: 60px;
}

.caption {
  font-size: 14px;
  font-style: italic;
  display: block;
  margin: 0;
  padding: 10px;
  text-align: center;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

.subtext {
  font-size: 14px;
  display: block;
  color: #676767;
  font-weight: 400;
  line-height: 16px;
  margin-bottom: 16px;
}

::-moz-selection {
  color: #fff;
  background: #0085A1;
  text-shadow: none;
}

::selection {
  color: #fff;
  background: #0085A1;
  text-shadow: none;
}

img::-moz-selection {
  color: #fff;
  background: transparent;
}

img::selection {
  color: #fff;
  background: transparent;
}

img::-moz-selection {
  color: #fff;
  background: transparent;
}

#mainNav {
  position: absolute;
  border-bottom: 1px solid #e9ecef;
  background-color: white;
  /*font-family: 'Open Sans', 'Helvetica', Arial, sans-serif;*/
  font-family:'Roboto', 'Helvetica', sans-serif;
}

/* Navbar brand for mobile:*/
#mainNav .navbar-brand {
  font-size: 18px;
  color: #212529;
  font-weight: 800;
  font-family: 'Playfair Display'
}

#mainNav .navbar-toggler {
  font-size: 12px;
  font-weight: 800;
  padding: 13px;
  /*text-transform: uppercase;*/
  color: #343a40;
}
#mainNav .navbar-nav > li.nav-item > a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  /*text-transform: uppercase;*/
}
#mainNav .navbar-nav > li.nav-active > a {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  /*text-transform: uppercase;*/
  color: #508991;
}

/* Desktop menu styling combined with bootstrap external*/
@media only screen and (min-width: 992px) {
  #mainNav {
    border-bottom: 1px solid transparent;
    background: transparent;
  }
  #mainNav .navbar-brand {
    padding: 10px 20px 10px 0px;
    font-size: 24px;
    color: #212529;
    font-weight: 800;
    font-family: 'Playfair Display'
  }

  #mainNav .navbar-nav > li.nav-item > a {
    /*padding: 5px 5px;*/
    margin: 10px 15px;
    color: #676767;
  }
  #mainNav .navbar-nav > li.nav-dark > a {
    color: #ffffff;
  }
  #mainNav .navbar-nav > li.nav-active > a {
    color: #508991;
  }
  #mainNav .navbar-nav > li.nav-item > a:focus, #mainNav .navbar-nav > li.nav-item > a:hover{
    /*color: rgba(255, 255, 255, 0.8);*/
    /*text-shadow:1px 0px 0px #508991;*/
    color: #508991;
    /*font-weight: 800;
    /*border-bottom-color: #508991;
    text-decoration: underline;
    text-underline-position: under;*/
  }
}
/* ------ Section responsible for scrolling header ------ */
/*@media only screen and (min-width: 992px) {
  #mainNav {
    -webkit-transition: background-color 0.2s;
    transition: background-color 0.2s;
    /* Force Hardware Acceleration in WebKit * /
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
  }
  #mainNav.is-fixed {
    /* when the user scrolls down, we hide the header right above the viewport * /
    position: fixed;
    top: -75px;
    -webkit-transition: -webkit-transform 0.2s;
    transition: -webkit-transform 0.2s;
    transition: transform 0.2s;
    transition: transform 0.2s, -webkit-transform 0.2s;
    border-bottom: 1px solid white;
    /*background-color: rgba(255, 255, 255, 0.9);* /
    background-color: black;
  }
  #mainNav.is-fixed .navbar-brand {
    color: #212529;
  }
  #mainNav.is-fixed .navbar-brand:focus, #mainNav.is-fixed .navbar-brand:hover {
    color: #0085A1;
  }
  #mainNav.is-fixed .navbar-nav > li.nav-item > a {
    color: white;
  }
  #mainNav.is-fixed .navbar-nav > li.nav-active > a {
    color: #508991;
  }
  #mainNav.is-fixed .navbar-nav > li.nav-item > a:focus, #mainNav.is-fixed .navbar-nav > li.nav-item > a:hover {
    color: #0085A1;
  }
  #mainNav.is-visible {
    /* if the user changes the scrolling direction, we show the header * /
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
}
*/
header.masthead {
  margin: 30px 0px 30px 0px;
  background: no-repeat center center;
  /*background-color: #868e96;*/
  background-color: #ffffff;
  background-attachment: scroll;
  position: relative;
  background-size: cover;
}

header.masthead .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #212529;
  opacity: 0.5;
}

header.masthead .page-heading,
header.masthead .post-heading,
header.masthead .site-heading {
  padding: 100px 0 50px;
  color: black;
}

@media only screen and (min-width: 992px) {
  header.masthead .page-heading,
  header.masthead .post-heading,
  header.masthead .site-heading {
    padding: 150px 0 70px 0;
  }
  header.masthead .post-heading.override {
    padding: 100px 0 50px 0;
  }

}

header.masthead .page-heading,
header.masthead .site-heading {
  text-align: center;
}

header.masthead .maintext {
  text-align: left;
}

header.masthead .page-heading h1,
header.masthead .site-heading h1 {
  font-size: 32px;
  line-height: 40px;
  margin-top: 0;
  margin-bottom: 2rem;
}

header.masthead .page-heading .subheading,
header.masthead .site-heading .subheading {
  font-size: 20px;
  font-weight: 300;
  line-height: 32px;
  display: block;
  color: #676767;
  margin: 10px 0 0;
  /*font-family: /'Open Sans', 'Helvetica', Arial, sans-serif;*/
  font-family: 'Roboto', 'Helvetica', sans-serif;
}

@media only screen and (min-width: 992px) {
  header.masthead .page-heading h1,
  header.masthead .site-heading h1 {
    font-size: 80px;
  }

  header.masthead .page-heading .subheading,
  header.masthead .site-heading .subheading {
    font-size: 24px;
    line-height: 32px;
  }
}

header.masthead .post-heading h1 {
  font-size: 32px;
  line-height: 40px;
  font-family: 'Playfair Display', serif;
}

header.masthead .post-heading .meta,
header.masthead .post-heading .subheading {
  font-size: 24px;
  line-height: 32px;
  color: #676767;
  display: block;
}

header.masthead .post-heading .subheading {
  font-size: 24px;
  line-height: 32px;
  font-weight: 300;
  margin: 24px 0 24px;
  font-family: 'Roboto', 'Helvetica', Arial, sans-serif;
}

header.masthead .post-heading .meta {
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  font-family: 'Roboto', 'Times New Roman', serif;
}

header.masthead .post-heading .meta a {
  color: #fff;
}

@media only screen and (min-width: 992px) {
  header.masthead .post-heading h1 {
    font-size: 40px;
    line-height: 48px;
    font-family: 'Playfair Display', serif
  }
  header.masthead .post-heading .subheading {
    font-size: 24px;
    line-height: 32px;
    color: #676767;
  }
}

.post-preview > a {
  color: #212529;
}

.post-preview > a:focus, .post-preview > a:hover {
  text-decoration: none;
  /*color: #0085A1;*/
  color: #508991;;
}

.post-preview > a > .post-title {
  font-size: 30px;
  margin-top: 30px;
  margin-bottom: 10px;
}

.post-preview > a > .post-subtitle {
  font-weight: 300;
  margin: 0 0 10px;
}

.post-preview > .post-meta {
  font-size: 18px;
  font-style: italic;
  margin-top: 0;
  color: #868e96;
}

.post-preview > .post-meta > a {
  text-decoration: none;
  color: #212529;
}

.post-preview > .post-meta > a:focus, .post-preview > .post-meta > a:hover {
  text-decoration: underline;
  /*color: #0085A1;*/
  color: #508991;
}

@media only screen and (min-width: 992px) {
  .post-preview > a > .post-title {
    font-size: 36px;
  }
}

.floating-label-form-group {
  font-size: 14px;
  position: relative;
  margin-bottom: 0;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #dee2e6;
}

.floating-label-form-group input,
.floating-label-form-group Robotorea {
  font-size: 1.5em;
  position: relative;
  z-index: 1;
  padding: 0;
  resize: none;
  border: none;
  border-radius: 0;
  background: none;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  font-family: 'Lora', 'Times New Roman', serif;
}

.floating-label-form-group input::-webkit-input-placeholder,
.floating-label-form-group Robotorea::-webkit-input-placeholder {
  color: #868e96;
  font-family: 'Lora', 'Times New Roman', serif;
}

.floating-label-form-group label {
  font-size: 0.85em;
  line-height: 1.764705882em;
  position: relative;
  z-index: 0;
  top: 2em;
  display: block;
  margin: 0;
  -webkit-transition: top 0.3s ease, opacity 0.3s ease;
  transition: top 0.3s ease, opacity 0.3s ease;
  vertical-align: middle;
  vertical-align: baseline;
  opacity: 0;
}

.floating-label-form-group .help-block {
  margin: 15px 0;
}

.floating-label-form-group-with-value label {
  top: 0;
  opacity: 1;
}

.floating-label-form-group-with-focus label {
  color: #0085A1;
}

form .form-group:first-child .floating-label-form-group {
  border-top: 1px solid #dee2e6;
}

footer {
  padding: 50px 0 50px;
}

footer .list-inline {
  margin: 0;
  padding: 0;
}

footer .copyright {
  font-size: 14px;
  margin-bottom: 0;
  text-align: center;
}

.btn {
  font-size: 14px;
  font-weight: 800;
  padding: 15px 25px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 0;
  font-family: 'Open Sans', 'Helvetica', Arial, sans-serif;
}

.btn-primary {
  background-color: #0085A1;
  border-color: #0085A1;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  color: #fff;
  background-color: #00657b !important;
  border-color: #00657b !important;
}

.btn-lg {
  font-size: 16px;
  padding: 25px 35px;
}

/* ------- Home page styling ------- */
.card-columns.override {
  column-count: 1;
  column-gap: 2rem;
}

.card.override {
  border: none;
  border-radius:16px;
  /*padding: 32px 24px 24px 24px;*/
  margin-top: 16px;
  box-shadow: 10px 10px 25px rgba(122,125,129,0.4);
  background-color:#FFFFFF;
}

.card-logo {
  width: 80%;
}

.column-30 {
   float: left;
   width: 30%;
   column-gap: 24px;
}

.column-70 {
   float: left;
   width: 70%;
   column-gap: 24px;
}

.card-img-top.img-fluid.override{
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  /*box-shadow: 10px 10px 25px rgba(122,125,129,0.4);*/
}

/* ------- Home page styling specific for desktop ------- */
@media only screen and (min-width: 992px) {

  .card-columns.override {
    column-count: 2;
    column-gap: 2rem;
  }
}

.img-full-width {
  width: 100%;
}

.row-buffer {
  margin-top: 30px;
}

.twenty-buffer {
  margin-top: 20px;
}

.p-subtitle {
  font-weight: 500;
  margin-bottom: 5px;
  color: #db5461;
}

.copyright-text {
  font-size: 12px;
  color: #db5461;
}

.big-quote {
  font-weight: 500px;
  font-size: 24px;
  padding: 100px 0px;
  text-align: center;
  color: #ffffff;
}

.container-fluid.override {
  padding-right: 0px;
  padding-left: 0px;
  margin-bottom: 60px;
}

.video-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px; height: 0; overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
