.page-home #site-header { border: none;}
.home-header-bg {
    height: 425px;
    background: url(../img/image-feature.jpg);
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-bottom: 1px solid silver;
}
.page-home .header-top {
    background: transparent;
}
.services-links {
    margin: 0;
    border-bottom: 5px solid#CE0F0F;
}
.home-header-bg::before {
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    position: absolute;
}
@media(min-width:991px){
    .home-header-bg {
        height: 525px;
    }
}
@media screen and (min-width: 1080px) {
    .home-header-bg {
        height: calc(100vh - 50px);
        background-position: top;
        margin-top: 50px;
    }
    #site-header {
        position: relative;
        left: 0;
        right: 0;
        top: 0;
        z-index: 99;
    }
    .services-links {
        padding: 0 2rem;
    }
    .home-header-bg::before {
        content: "";
        top: 0;
        background: linear-gradient(0deg, #ffffff00 80%, #ffffff 95%);
        right: 0;
        left: 0;
        bottom: 0;
        position: absolute;
    }
}

@media screen and (min-width: 1080px) and (min-height: 850px) {
    .home-header-bg {
        height: calc(80vh - 50px);
    }
    .services-section {
        margin-top: -297px;
    }
    .home-header-bg:after {
        content: "";
        top: 0;
        background: linear-gradient(180deg, #ffffff00 70%, #ffffff 94%);
        right: 0;
        left: 0;
        bottom: 0;
        position: absolute;
    }
}

@media(min-width: 1200px){
    .home-header-bg::before  {
        background: linear-gradient(0deg, #ffffff00 80%, #ffffff 100%);
    }
    .home-header-bg {
        margin-top: 0;
        height: 100vh;
    }
}

@media screen and (min-width: 1200px) and (min-height: 850px) {
    .home-header-bg {
        height: calc(100vh - 200px);
    }
    .services-section {
        margin-top: -297px;
    }
    .home-header-bg:after {
        content: "";
        top: 0;
        background: linear-gradient(180deg, #ffffff00 70%, #ffffff 94%);
        right: 0;
        left: 0;
        bottom: 0;
        position: absolute;
    }
}

.help {
    text-transform: uppercase;
    position: relative;
    text-align: center;
}
.service-link {
    min-height: 216px;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1rem;
}
.service-link a {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-left: 1px solid #33333343;
    padding: 0 1rem;
    min-height: 170px;
}
.service-link a:hover {
    background: #cecece55;
    transition: .2s ease;
    text-decoration: none;
}
.first {border-left: none !important;}
.service-link a .service-text{
   color: #1D3454;
   font-size: 24px;
   font-family: 'Oswald', sans-serif;
   text-transform: uppercase;
   display: block;
}
.service-link a img{
    margin-bottom: 1.5rem;
}


/* Carousel */

.feature-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 500px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.feature-content::before {
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    height: 500px;
    background: linear-gradient(0deg, rgba(22,33,44,0.6) 0%, rgba(22,33,44,0.15) 30%, rgba(22,33,44,0.15) 65%, rgba(22,33,44,0.6) 100%);
}
.feature-title{ position: relative; text-align: center; font-size: 40px; max-width: 70%; background: rgba(0, 0, 0, 0.01); text-shadow: 2px 2px 1px black;}
.feature-title a { color: #fff; }
.feature-title a:hover { opacity: .8px; text-decoration: none;}
.feature-body { position: relative;  background: rgba(0, 0, 0, 0.01); font-size: 18px; color: #fff; text-align: center; font-family: Helvetica, sans-serif; max-width:60%;}
#learn-more {
    color: #fff;
    font-size: 22px;
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    padding: 1.3rem 4rem;
    border: 1px solid #fff;
    margin-top: 2rem;
    background: rgba(0, 0, 0, 0.01);
    position: relative;
}
#learn-more:hover { background: #fff; color: #1D3454; text-decoration: none; transition: .2s ease;}
.feature-abstract {display: none;}
@media screen and (min-width: 1080px){
    .feature-abstract {
        display: block;
        margin-top: 1.5rem;
        overflow: hidden;
        line-height: 1.5em;
        max-height: 9em;
    }
}
#feature-carousel .owl-controls { position: absolute; right: 0; bottom: 13px; left: 0; line-height: 1px; margin: 0; }
@media (max-width: 767px) {
    #feature-carousel .owl-controls { display: none !important; }
}
#feature-carousel .owl-controls .owl-page span { height: 15px; margin: 7px; opacity: 0.25; width: 15px; }
#feature-carousel .owl-controls .owl-page.active span, #feature-carousel .owl-controls.clickable .owl-page:hover span { filter: Alpha(Opacity=100); /*IE7 fix*/ opacity: 1; }

#feature-carousel-next, #feature-carousel-prev { position: absolute; top: 0; bottom: 0; z-index: 1; background-position: center; background-repeat: no-repeat; cursor: pointer; opacity: 0.75; width: 40px; }
#feature-carousel-next { right: 0; background-image: url(../img/arrow-right.svg); filter: brightness(5000%);}
#feature-carousel-prev { left: 0; background-image: url(../img/arrow-left.svg); filter: brightness(1000%);}
#feature-carousel-next:hover,
#feature-carousel-prev:hover { opacity: 1; }
@media (min-width: 768px) {
    #feature-carousel-next, #feature-carousel-prev { width: 60px; }
}
@media (min-width: 1080px) {
    #feature-carousel-next { right: 10px; background-size: contain; }
#feature-carousel-prev { left: 10px; background-size: contain;}
}

/* OFFICES */
#offices {
    background: url(../img/bg-office-locations.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}
.offices-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem;
    max-width: 1300px;
    padding-bottom: 2rem;
}
.offices-head { margin: 4rem; text-transform: uppercase; }
.offices-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.offices-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid #33333343;
    text-align: center;
    padding: 2rem 0 3rem 0;
}
.top1 { border: none; }
.state-map { display: none; }
@media (min-width: 1080px){
    .top2 { border: none; }
    .state-map {
        display: flex;
        margin: 0 auto;
        justify-content: center;
        align-items: center;
    }
    #offices{ padding: 30px; }
    .offices-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        max-width: 1400px;
        margin: 0 auto;
    }
    .offices-inner {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    .offices-details {
        width: calc(50% - 20px);
        padding: 0;
    }
    .offices-details.top1, .offices-details.top2 { padding-top: 2rem; }
}
@media (min-width: 1300px) {
    .offices-container{ padding-left: 0; padding-right: 0; }
}
.location p {
    font-size: 16px;
    color: #1D3454;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 5px;
    display: block;
}
.mobile-office {
    background: none;
    font-size: 32px;
    width: 100%;
    margin: 0 4rem;
    padding: 2rem;
    border: 1px solid #1D345459;
    color: #1D3454;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    text-align: center;
    max-width: 1300px;
    background-color: #00000010;
}
@media (min-width: 1080px){
    .mobile-office {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1rem;
    }
}
@media (min-width: 1300px){
    .mobile-office {
        font-size: 36px;
    }
}
.mobile-office:hover {
    background-color: #ffffffd9;
    text-decoration: none;
    transition: .2s ease;
}
.mobile-office-img { margin-right: 1.5rem; display: inline-block; background: url(../img/icons/icon-mobile-office.svg); height: 40px; width: 40px; background-repeat: no-repeat; background-size: cover;}
#offices .state-map svg #counties path:hover {
    fill: #df2323;
    transition: .2s ease;
}
.tip {
  pointer-events: none;
  position: absolute;
  font-size: 18px;
  text-align: center;
  background: white;
  padding: 10px 15px;
  z-index: 5;
  height: 40px;
  line-height: 20px;
  margin: 0 auto;
  color: #1D3454;
  border-radius: 5px;
  box-shadow: 0 0 0 1px #eee;
  transform: translateX(-50%);
  display: none
}
.tip-active {
    display: block
}
.tip-active:after{
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    width: 0;
    height: 0;
    margin-left: -10px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

/* EMAIL ME SECTION */

.email-me-block { display: none; }
@media(min-width: 500px){
    .email-me-block {
        display: block;
        position: absolute;
        color: black;
        z-index: 1;
        top: 20%;
        left: 2rem;
        max-width: 240px;
    }
}
@media(min-width: 768px){
    .email-me-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 300px;
        left: 15%;
    }
}
.email-me-text {
    color:#1D3454;
    font-size: 20px;
    font-style: italic;
    margin-bottom: 5px;
    display: block;
    font-family: Georgia, serif;
}
.email-me-head {
    font-size: 30px;
    margin-bottom: 0;
}
.email-me-btn {
    padding: 13px;
    background-color:#1D3454;
    display: block;
    text-align: center;
    color: white;
    text-transform: uppercase;
    font-size: 26px;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    border-radius: 5px;
    width: 80%;
    max-width: 180px;
    transition: .2s ease;
}
.email-me-btn:hover { text-decoration: none; background-color: #0060B4; color: #fff;}
@media(min-width: 768px) {
    .email-me-block { top: 25%; max-width: 450px; }
    .email-me-head { font-size: 36px; }
}
@media(min-width: 991px) {
    .email-me-block { top: 25%; max-width: 450px; }
    .email-me-head { font-size: 44px; }
    .email-me-text {font-size: 26px; }
}
@media(min-width: 1080px) {
    .email-me-block { top: 13vh; }
}
@media(min-width: 1200px) {
    .email-me-head { font-size: 60px; }
    .email-me-text { font-size: 40px;}
    .email-me-block { max-width: 620px; }
    .email-me-btn { font-size: 30px; }
}
@media(min-width: 1500px) {
    .email-me-block { top: 13vh; }
}

/* HOME PAGE STICKY NAV */
.scrolled.page-home header#site-header {
    position: fixed;
    background: white !important;
    z-index: 99;
    top: 0;
    left: 0;
    right: 0;
}
.scrolled.page-home header#site-header {
    position: fixed;
    background: white !important;
    z-index: 99;
    top: 0;
    left: 0;
    right: 0;
}
.scrolled.page-home .mobile-socials {
    display: none;
}
.scrolled.page-home #header-social { display: block; }
