/*********************************
**********************************
**********************************

Dark Blue => #445879
Medium Blue => #879ab8
Light Blue => #c5ccd5
Blue / Grey => #778bab
Grey => #636466


**********************************
**********************************
*********************************/
.blog-post {
  background-color: #445879;
}

.blog-post.animated {
  background-color: #445879;
  color: white;
  padding: 20px;
  padding-top: 5px;
  padding-bottom: 25px;
  text-align: center;
  width: 75%;
  margin: 0 auto;
}

.blog-post.animated h2,
.blog-post.animated p {
  color: white;
}
.blog-post.animated h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 10px;
}
.blog-post.animated p {
  font-weight: 300;
  margin-bottom: 30px;
}

div#blog-carousel img {
  height: 400px;
  object-fit: cover;
}

/*********************************

Slideshow

*********************************/

#home-slider img.img-fluid {
  width: 100%;
  height: auto;
  min-height: 250px;
  object-fit: cover;
}

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(1, 1);
  }
  to {
    -webkit-transform: scale(1.5, 1.5);
  }
}

@keyframes zoom {
  from {
    transform: scale(1, 1);
  }
  to {
    transform: scale(1.5, 1.5);
  }
}

#home-slider .carousel-inner .item > img {
  -webkit-animation: zoom 40s;
  animation: zoom 40s;
}
/*#carousel-home {margin-bottom: 30px;}*/
.home.page #introduction {
  padding: 60px 30px;
}
.home h1 {
  text-align: center;
  font-size: 60px;
  font-style: italic;
  line-height: 1.2;
  margin: 0px auto;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #84181a;
  text-transform: none;
}
#introduction h2 {
  font-size: 24px;
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
  color: #445979;
  font-style: normal;
}
.home #carousel-block {
  margin-bottom: 30px;
}
.home.page #commercial-block {
  padding: 60px 30px;
}
.home.page #commercial-block h2 {
  text-align: center;
  color: #445979;
  font-size: 32px;
  margin: 15px auto;
  margin-top: 0;
  font-weight: 400;
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
  font-style: normal;
}
.home.page #commercial-block h3 {
  text-align: center;
  color: #000;
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  line-height: 28px;
  margin: 0px auto;
  margin-bottom: 30px;
  padding: 0 15px;
}
.home.page #relationships {
  background-color: #f8f8f8;
  padding: 60px 30px;
}
.home.page #relationships h2 {
  text-align: center;
  font-size: 50px;
  font-style: italic;
  line-height: 1.2;
  margin: 0px auto;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #84181a;
  text-transform: none;
}
.home.page #relationships h3 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 18px;
  line-height: 28px;
  color: #000;
  font-family: 'Raleway', sans-serif;
  margin-top: 15px;
  max-width: 1200px;
}
.home.page #relationships a.btn.btn-primary {
  display: block;
  width: 100%;
  margin: 15px auto;
  max-width: 350px;
}
.home.page ul.list-unstyled.listed-logos {
  width: 100%;
  display: block;
  text-align: center;
  margin: 5px auto;
}
ul.list-unstyled.listed-logos li {
  width: 12.5%;
  display: inline-block;
  padding: 5px;
  margin: 15px 0px;
}
#affiliations h2 {
  text-align: center;
  background-color: #778bab;
  color: #ffffff;
  margin: 15px auto;
  padding: 5px;
  font-size: 24px;
  line-height: 34px;
  letter-spacing: 2px;
  font-weight: 500;
  font-family: 'Raleway', sans-serif;
  margin-bottom: 30px;
}
.home.page #affiliations {
  padding: 60px 30px;
}
#affiliations a.btn.btn-primary {
  margin: 0 auto;
  display: table;
}

#products #carousel-block #carousel-block {
  margin-right: 0;
  margin-left: 0;
  padding: 0;
}

section#open-text {
  background-color: #445879;
  padding: 25px;
}

section#open-text p,
section#open-text li {
  color: white;
}

.modal-content {
  background: #778bab;
  color: #fff;
  border: 0;
  box-shadow: 1px 1px 10px#00000099;
}

#alert-Modal h2 {
  color: #ffffff;
  text-transform: uppercase;
  font-weight: bold;
}

button.btn-close {
  position: absolute;
  right: 0;
  top: -5px;
  z-index: 10;
  border: none;
  filter: invert(1);
  opacity: 0.8;
}

.modal {
  position: fixed;
  left: 0;
  top: 75%;
  z-index: 1060;
  display: none;
  width: 100%;
  max-width: 500px;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}

.gray h2 {
  color: #636466;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
}

#affiliations h2 {
  color: #445979;
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  background: unset;
  margin: 0;
  font-size: 32px;
  letter-spacing: 0px;
  font-style: normal;
}

#carousel-home {
  border-bottom: 5px solid #84181a;
}

#carousel-block h2 {
  color: white;
  text-align: center;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-style: italic;
  background: #445879;
  margin: 0;
  font-size: 32px;
  letter-spacing: 0px;
  padding: 10px;
}

@media (max-width: 1200px) {
  .home h1 {
    font-size: 44px;
  }
  .home.page #relationships h2 {
    font-size: 36px;
  }
}

@media (max-width: 992px) {
  .home h1 {
    font-size: 36px;
  }
  .home.page #introduction,
  .home.page #relationships,
  .home.page #commercial-block {
    padding: 30px;
  }
  #introduction h2 {
    font-size: 18px;
  }
  .home #products h2,
  .home.page #commercial-block h2,
  #affiliations h2 {
    font-size: 24px;
  }
  .home.page #relationships h2,
  #testimonials h2 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .home h1 {
    font-size: 28px;
  }
  .home.page #relationships h2,
  #testimonials h2 {
    font-size: 28px;
  }
  .btn-row {
    flex-direction: column;
    align-items: center;
  }
  .btn-row .btn {
    margin-bottom: 15px;
  }
}
