﻿@media only screen and (min-width: 0em) {
  #hero {
    font-size: inherit;
    padding-top: 90px;
     position: relative;
    background-image: linear-gradient(to right, #d08c54 0%, #2c365d 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
  }
  #hero:before {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    background: #2c365d;
    opacity: .0;
    top: 0;
    left: 0;
    z-index: -10;
  }
  #hero picture {
    display: none;
  }
  #hero .hero-content {
    width: 96%;
    max-width: 71.5em;
    margin: auto;
    position: relative;
    z-index: 10;
    text-align: center;
  }
  #hero .hero-content {
    padding: 0;
  }
  #hero .blink_me {
    animation: blinker 1s linear infinite;
    color: #fff;
    font-size: 20px;
    margin-left: 1px;
  }
  @keyframes blinker {
    50% {
      opacity: 0;
    }
  }
  #hero .heroText {
    width: 100%;
    margin: auto;
    max-width: 59.375em;
  }
  #hero .heroText p {
    display: inline;
    line-height: 1.55em;
    margin: auto;
    margin-bottom: 1.72222222em;
    color: #fff;
    width: 100%;
    text-align: center;
    max-width: 34.27777778em;
    opacity: 1;
    font-size: 17px;
  }
  #hero .heroText p:last-of-type {
    font-weight: bold;
    color: #ffffff;
    margin-right: 1px;
  }
  #hero .heroText .button-solid {
    margin-top: 1.72222222em;
    display: inline-block;
    width: auto;
  }
  #hero h1 {
    font-weight: bold;
    font-size: min(12vw, 4em);
    color: #fff;
    text-align: center;
    line-height: 1.203125;
    margin: auto;
    width: 100%;
     margin-bottom: 1.4375em;
    position: relative;
  }
  #hero h1:before {
    content: '';
    position: absolute;
    display: block;
    height: 0.0625em;
     background: var(--primary);
    opacity: 1;
    bottom: -0.25em;
    left: 50%;
    transform: translateX(-50%);
  }
  #hero .button-solid {
    margin: auto;
    display: inline-block;
    width: auto;
  }
  .badges {
    width: 90%;
    margin: auto;
    margin-bottom: 30px;
  }
  .badges .badge {
    display: flex;
    flex-direction: row;
    margin: auto;
    align-items: center;
    justify-content: center;
  }
  .badges .badge a img {
    float: left;
    height: 100px;
    width: 100px;
  }
  .badges .badge h3 {
    color: #000;
    font-size: 1em;
    padding-left: 10px;
    float: right;
  }
  .badges .badge h3 a {
    color: #000;
    font-size: 1.0625em;
    text-decoration: underline;
  }
}

@media only screen and (min-width: 48em) {
  #hero {
     z-index: 1;
     padding-top: 180px;
    overflow: hidden;
    background-image: linear-gradient(to right, #d08c54 0%, #2c365d 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
  #hero .hero-content {
    display: flex;
    justify-content: space-between;
    position: relative;
  }
  .badges .badge a img {
    height: 200px;
    width: 200px;
  }
}

@media only screen and (min-width: 1300px) {
  .badges .badge a img {
    height: 250px;
    width: 250px;
  }
  #hero {
     background-image: linear-gradient(to right, #d08c54 0%, #2c365d 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
  #hero picture {
    display: none;
  }
}


@media only screen and (min-width: 0em) {
  .services {
    border-radius: 0.3125em;
    margin: auto;
    margin-top: 3.125em;
    position: relative;
    z-index: 100;
    background: #fff;
    width: 90%;
    max-width: 82.5em;
    padding: 3.125em 1.25em;
    border-top: 0.375em solid var(--primary);
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.05);
    margin-bottom: 3.125em;
  }
  .services .card {
    display: block;
    border-radius: 0.3125em;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 22.3125em;
    padding: -0.3125em 0em 3.125em 0em;
    margin: auto;
    margin-bottom: 3.125em;
  }
  .services .card:last-of-type {
    margin-bottom: 0;
  }
  .services .card .service-banner {
    border-radius: 0.3125em 0.3125em 0em 0em;
    background: var(--primary);
    width: auto;
    height: 5.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    padding: 10px;
   }
  .services .card .service-banner h2 {
    text-align: center;
    font-size: 1.375em;
    line-height: 0.9375em;
    font-weight: 600;
    color: #2c365d;
    margin-bottom: 0.4em;
    margin-top: 0.4em;
  }
  .services .card .service-banner img {
    width: 3em;
    height: 3em;
  }
  .services .card .primary {
    background: #2c365d;
  }
  .services .card .primary h2 {
    color: #ffffff;
  }
  .services .card .service-content {
    padding: 1.25em 1.25em 3.125em 1.25em;
  }
  .services .card .service-content .center {
    text-align: center;
    padding: 0em;
    margin-bottom: 1.5em;
  }
  .services .card .service-content .center h2 {
    display: inline;
    text-align: center;
    font-size: 2.5em;
    line-height: 1.35em;
    font-weight: 500;
    color: #2c365d;
    margin-bottom: 0.65em;
  }
  .services .card .service-content .center h4 {
    display: inline;
    text-align: center;
    font-size: 1.25em;
    line-height: 0.75em;
    font-weight: 500;
    color: #2c365d;
    margin-bottom: 0.65em;
  }
  .services .card .service-content p {
    text-align: center;
    line-height: 1.33333333em;
    width: 100%;
    opacity: .85;
  }
  .services .card .service-content ul {
    display: inline-block;
    text-align: left;
  }
  .services .card .service-content ul li {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    opacity: .90;
    margin-bottom: 0.27777778em;
  }
  .services .card .service-content ul li img {
    margin-right: 0.625em;
    margin-top: 0.22222222em;
  }
}

@media only screen and (min-width: 768px) {
  .services {
    font-size: min(1.8vw, 1em);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 98%;
  }
  .services .card {
    margin: 0;
    max-width: 20.3125em;
   }
}

@media only screen and (min-width: 1300px) {
  .services {
    padding: 3.125em 5em;
  }
  .services .card {
    max-width: 22.3125em;
  }
}

@media only screen and (min-width: 0em) {
  body.dark-mode #services {
    background: var(--medium);
  }
  body.dark-mode #services .card {
    box-shadow: 0px 0px 10px 3px var(--primary);
  }
  body.dark-mode #services .service-banner {
    background: var(--primaryDark);
  }
  body.dark-mode #services h2 {
    color: #fff;
  }
  body.dark-mode #services h4 {
    color: #fff;
  }
}