:root {
    --half-min-width: 380px;
}

@media screen and (max-width: 782px)
{
  html {
      margin-top: 0 !important;
  }
}

p, label, ul {
    font-family: Source Sans Pro;
    font-size: 17px;
    line-height: 1.4;
}

@media (min-width:1950px) {
    .container {
        max-width: 1520px;
        width: 100%
    }

}

.btn-arrow:after {
    content: "";
    display: inline-block;
    position: relative;
    height: 20px;
    width: 30px;
    top: 4px;
    margin-left: 2px;
    background: url('http://www.hamiltonhealthcenter.com/content/uploads/2021/06/arrow-icon.png') no-repeat center / contain;
}

.img--round-corners {
  border-radius: 15px;
  box-shadow: 10px 10px 30px #00000036;
}

.ld-header {
    background: #fff;
    border-bottom: 2px solid #0D4166;
    padding: 1rem 0;
    position: relative;
}

.ld-header__nav {
    display: none;
}

@media (min-width: 1025px) {
    .ld-header__mobile {
        display: none;
    }
}

.ld-header__toggle svg {
    height: 30px;
    width: 50px;
}

.ld-header__logo {
    max-width: 200px;
}

.ld-header__logo img {
    max-width: 100%;
}


.ld-header__cont  {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ld-header__cont:before, .ld-header__cont:after {
    display: none;
}

.ld-header__menu-link {
    font: normal normal bold 16px/1 Source Sans Pro;
    letter-spacing: 0px;
    color: #fff;
}

@media (min-width: 1025px) {
    .ld-header__menu-link {
      color: #0D4166;
    }

    .ld-header__logo {
        max-width: 370px;
    }

}

.ld-header__menu {
    display: none;
}

.ld-header__closed {
  display: none;
}

.ld-header__nav {
  flex-direction: column;
  position: absolute;
  width: 100%;
  z-index: 9;
  background: #0d4166;
  left: 0;
  top: 4.2rem;
}

.ld-header__menu-item {
    border-bottom: 2px solid #fff;
    line-height: 0;
}



.ld-header__menu-item a {
    padding: 1rem 1rem;
    display: block;
}

@media (min-width: 1025px) {
  .ld-header__nav {
    display: none!important;
  }
}

@media (min-width: 1025px) {

    .ld-header__cont {
        display: flex;
        justify-content: space-between;
        padding: 2rem 0;
    }
    .ld-header__menu {
        display: flex;
        justify-content: space-between;
        gap: 5rem;
    }
}

.intro {
    position: relative;
    min-height: 485px;
    background: #fff;
}


@media (min-width: 600px) {
    .intro {
        position: relative;
        height: 685px;
    }
}

@media (min-width: 600px) {

.intro__image {
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0;
    object-fit: cover;
    z-index: 1;
}


.intro:before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: #ffffffad;

}
}


.intro__container {
    position: relative;
    z-index: 2;
    padding-block: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro__title {
    font: normal normal bold 50px/1.2 Lora;
    letter-spacing: 0px;
    color: #0D4166;
    margin-bottom: 2rem;
}

@media (min-width: 600px) {

    .intro__container {
        height: 100%;
    }

    .intro__title {
        font: normal normal bold 66px/80px Lora;
        margin-bottom: 2rem;
    }
}

.intro__wrapper {
    max-width: 90%;
    z-index: 3;
}

.intro__wrapper .btn-arrow {
    margin-left: 0;
}



@media (min-width: 700px) {
    .intro:before {
        width: 60%;
        height: 100%;
        background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 76%, rgba(255,255,255,0) 100%);
    }

    .intro__wrapper {
        max-width: 500px;
    }
    .intro__image {
        width: 60%;
    }
}


@media (min-width: 600px) {
    .intro__wrapper {
        max-width: 490px;
    }
}


.btn-arrow {
    padding: 1rem;
    text-transform: uppercase;
    width: -moz-fit-content;
    width: fit-content;
}

.btn-arrow + .btn-arrow  {
    margin-top: 1rem;

}

@media (min-width: 1200px) {
    .btn-arrow + .btn-arrow  {
        margin-left: 1.5rem;
    }

}

.half_section {
    padding-block: 5rem;
    color: #000000;
}


.half_section h2 > p,
.half_section h3 > p {
    font-size: inherit;
    font-family: 'Lora';
}

.light-blue {
    background: #E2F4FA;
}

.half_section__grid {
    display: grid;
    grid-auto-flow: dense;
    gap: 1rem;
}

@media (min-width: 600px) {
    .half_section__grid {
        grid-template-columns: repeat(auto-fit, minmax(var(--half-min-width), 1fr));
    }
}

.half_section__img {
    height: 250px;
    object-fit: cover;
    /* position: relative; */
    /* top: -10px; */
}

@media (min-width: 1024px) {
    .half_section__grid {
        gap: 5rem;
    }

    .half_section__img {
        height: 100%;
        width: 100%;
        max-width: initial;
        position: relative;
        /* top: -5%; */
    }
}

.half_section__grid:before, .half_section__grid:after  {
    display: none;
}

.half_section__title {
    font: normal normal normal 35px/1.2 Lora;
    letter-spacing: 0px;
    color: #0D4166;
}


@media (min-width: 600px) {
    .half_section__title {
         font: normal normal normal 45px/1.2 Lora;
    }
}

.half_section__text-box {
    display: block;
    margin-block: auto;
}

.half_section__text-box hgroup {
    border-bottom: 2px solid #0F395B;
    margin-bottom: 2rem;
}

.half_section__subtitle {
    font: normal normal bold 20px/1.2 Source Sans Pro;
    letter-spacing: 0px;
    color: #000000;
}

.half_section__text-box ul {
    font: normal normal bold 25px/1.5 Source Sans Pro;
    letter-spacing: 0px;
    color: #0D4166;
}
@media (min-width: 1000px) {
  .half_section__text-box ul {
      font: normal normal bold 25px/1.5 Source Sans Pro;
    }
}

.half_section__text-box ul li {
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 10px;
}

.half_section__text-box ul li:before {
    content: "";
    display: inline-block;
    width: 32px;
    height: 29px;
    top: 6px;
    position: relative;
    background: center / contain no-repeat url('http://www.hamiltonhealthcenter.com/content/uploads/2021/06/list-bullets.png');
    margin-right: .5rem;
}

.white {
    background: #fff;
}

.mild-blue {
    background: rgb(0 203 255 / 30%);
}

.half_section__img.with-border {
    border: 15px solid #FFFFFF;
}

.half_section__img.img--round-corners.with-border {
    border-radius: 45px;
    max-height: 389px;
    max-width: 564px;
}

.right .half_section__img-box {
    display: flex;
    align-content: center;
    justify-content: center;
}

@media (min-width: 760px) {
    .right .half_section__img-box {
        grid-column: 2 / 3;
    }
}

.half_section__img-box {
    display: grid;
    justify-content: center;
    position: relative;
}

@media (min-width: 1025px) {
    .half_section__img-box {
        justify-content: initial;
    }
}

.contact_section__box {
    background: #fff;
    padding-block: 5rem;
}

.contact_section__title {
    text-align: center;
    font: normal 45px/1.2 Lora;
    letter-spacing: 0px;
    color: #0D4166;
    border-bottom: 2px solid;
    width: fit-content;
    margin-inline: auto;
    padding: 0 2rem 1rem;
}

#contact-section .btn-blue {
    margin-inline: auto;
    text-align: center;
    display: block;
}

.cf__container {
    width: 100%;
    background: #e2f4fa9e;
    box-shadow: 0px 0px 20px #00000033;
    border-radius: 20px;
    margin-inline: auto;
    margin-top: 4rem;
    padding: 0 2rem 1rem;
}

@media (min-width: 1024px) {
    .cf__container {
        width: 80%;
        padding: 3rem 5rem;
    }
}

.cf__title {
    font: normal 20px/2 Lora;
    letter-spacing: 0px;
    color: #0D4166;
    border-bottom: 2px solid #0D4166;
    display: inline-block;
    min-width: 220px;
    margin-top: 2.5rem;
}

.cf__block {
    display: grid;
    gap: 1.2rem;
}

.cf__block-1, .cf__block-2  {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.cf__field input, .cf__field select {
    border: 1px solid #B6B6B6;
    color: #989898;
}

.cf__field label {
    display: block;
    margin-bottom: .2rem;
}

.cf__field .wpcf7-list-item {
    margin-right: .5rem;
}

.cf__field .wpcf7-list-item .wpcf7-list-item-label {
    margin-inline: 0.3rem .2rem;
}

.cf__important-mark {
    color: #FC4F1D;
}

@media (min-width: 1024px) {
   .cf__block-2 {
        grid-template-columns: 2fr 2fr 1fr 1fr;
    }
}

@media (min-width: 700px) {
    .cf__block-3 {
        grid-template-columns: 280px 1fr;
    }
}


.wpcf7-submit {
    font: bold 20px/1 Source Sans Pro;
    letter-spacing: 0px;
    color: #FFFFFF!important;
    padding: 1rem;
    text-transform: uppercase;
    border: none!important;
    padding: 1rem!important;
    background: #FC4F1D!important;
}

.choices {
    margin-top: 0.9rem;
}

.choices__inner {
    border-radius: 10px!important;
    background: #fff;
    border: 1px solid #b6b6b6;
    color: #878787;
}

.choices__list--dropdown {
    min-width: 250px;
}

.choices__input.choices__input--cloned {
    border-radius: 0;
    border: none;
}

.locations {
    background: #beecf8;
    padding-block: 6rem;
}

.locations__hgroup {
    text-align: center;
}

.locations__title {
    font: normal normal normal 45px/60px Lora;
    letter-spacing: 0px;
    color: #0D4166;
    border-bottom: 2px solid #0D4166;
    display: inline-block;
    padding-inline: 1rem;
}

.locations__grid {
    max-width: 90%;
    margin-inline: auto;
}

.locations__grid  .slick-track {
    display: flex;
    align-items: stretch;
}

.locations__grid  .slick-slide {
    height: unset;
    flex: 1 1 0;
}

.locations__grid  .slick-slide > div {
    height: 100%;
}

@media (min-width: 1025px) {
    .locations__grid {
        max-width: 1000px;
        margin-inline: auto;
    }
}

@media (min-width: 700px) {
    .locations__grid {
        /* gap: 110px; */
    }
}

.locations__grid-item {
    background: #fff;
    border-radius: 15px;
    display: flex!important;
    flex-direction: column;
    overflow: hidden;
    justify-content: stretch;
    max-width: 420px;
    margin-inline: auto;
    height: 100%;
}

.locations__item-image {
    height: 300px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.locations__subtitle, .locations__subtitle p {
    color: #0D4166;
    font: normal normal normal 30px/1.2 Lora;
}

.locations__subtitle {
    margin-block: 1rem;
    margin-inline: auto;
    max-width: 600px;
    display: -webkit-box;
}

.locations__grid-wrap {
    padding: 1rem 1.5rem 2rem;
    /* height: 100%; */
    flex: 1;
    display: flex;
    flex-direction: column;
    color: #0D4166;
    font: normal normal normal 20px/28px Lora;
}

@media (min-width: 1025px) {
    .locations__grid-wrap {
        padding: 1rem 2.8rem 4rem;
    }
}

.locations__item-title {
    font: bold 30px/38px Lora;
    color: #0D4166;
    text-align: center;
}

.locations__address,
.locations__telephone,
.locations__hours_of_operation {
    font-style: normal;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.7rem;
}

.locations__address:before,
.locations__telephone:before,
.locations__hours_of_operation:before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 26px;
    background-size: contain;
    background-repeat: no-repeat;
}

.locations__address:before {
    background-image: url('http://www.hamiltonhealthcenter.com/content/uploads/2021/08/Icon-metro-location.png');
}

.locations__telephone:before {
    background-image: url('http://www.hamiltonhealthcenter.com/content/uploads/2021/08/Icon-material-local-phone.png');
    width: 22px;
    height: 22px;
}

.locations__hours_of_operation:before {
    background-image: url('http://www.hamiltonhealthcenter.com/content/uploads/2021/08/Icon-feather-clock.png');
    width: 22px;
    height: 22px;
}

.locations__hours {
    grid-column: 2 / 3;
}

.locations__telephone {
    margin-block: 1.2rem;
}

.locations__hours * {
    font-size: 85%;
    margin-top: 1rem;
    font-family: inherit;
}

.locations__grid-item .btn-arrow {
    margin-inline: auto;
    display: inline-block;
    margin-top: auto;
}

.team_section {
    background: #fff;
    padding-block: 4rem;
}

@media (min-width: 1025px) {

        .team_section__img-box {
            /* display: grid; */
            /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
            /* gap: 15px 30px; */
            /* justify-content: center; */
            /* margin-top: 3rem; */
            /* padding: 0 1rem; */
        }

       .team_section__img-box {
            margin-top: 0;
        }
}


@media (min-width: 1200px) {
       .team_section__img-box {
            /* gap: 75px; */
        }
}

.team_section__team-person {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    color: #0D4166;
    text-align: center;
    padding-bottom: 1rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    max-width: 300px;
    margin-inline: auto;
    display: block!important;
}

@media (min-width: 1800px) {
    .team_section__team-person {
        box-shadow: 10px 10px 30px #00000029;
        border: 11px solid #FFFFFF;
        /* max-width: 350px; */
        max-width: 310px;
    }
}

@media (min-width: 2000px) {
    .team_section__team-person {
        box-shadow: 10px 10px 30px #00000029;
        border: 11px solid #FFFFFF;
        /* max-width: 350px; */
        max-width: 350px;
    }
}

.team_section__member-img {
    height: 270px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.team_section__title {
    color: #0D4166;
    font: bold 26px/1 Lora;
}

h2.team_section__title {
    font: normal 45px/1.4 Lora;
    border-bottom: 2px solid #0d4166;
    color: #0D4166;
}

@media (min-width: 1000px) {
  h2.team_section__title {
      margin-top: 80px;
  }
}

.team_section__text-box {
    color: #000000;
}

.team_section__job-title {
    display: block;
    margin-bottom: 0.7rem;
}

.intro__wrapper .btn-arrow {
    margin-left: 0;
}

.team_section__img-box {
    max-width: 90%;
    margin-inline: auto;
}

.page-footer {
    bottom: initial;
}
