/*---------------Pop up css------------*/
  #auto-modal {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0, 0, 0, 0.8);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      animation: showModal 0.5s ease forwards;
      animation-delay: 1s; /* Delay to simulate auto open after 2 seconds */
      z-index: 9999;
    }

    /* Modal content */
    .modal-pop-up {
      background: #fff;
      padding: 40px 30px;
      max-width: 580px;
      width: 90%;
      text-align: center;
      position: relative;
      border-top: 10px solid #CE0F0F !important;
      border-bottom: 10px solid #CE0F0F !important;
    }

    .modal-pop-up h2 {
      margin-top: 0;
    }

    .modal-pop-up p {
      color: #333;
      font-weight: bold;
    }

    /* Close button (optional) */
    .close-btn {
        position: absolute;
        top: 10px;
        right: 15px;
        background: transparent;
        color: #030303;
        border: none;
        border-radius: 50%;
        font-size: 43px;
        cursor: pointer;
        line-height: 29px;
    }

    button.close-btn:hover {
        font-size: 40px;
    }

    a.covid-cta {
        background-color: #383838;
        color: #fff !important;
        font-family: 'Lato', sans-serif;
        font-size: 18px;
        font-weight: 700;
        line-height: 22px;
        text-decoration: none;
        margin: 34px 0 0 0;
        display: inline-block;
        padding: 13px 30.5px;
    }
    a.covid-close-link {
        margin: 20px 0 0 0;
        display: inline-block;
        color: #878787 !important;
        font-family: 'Lato', sans-serif;
        font-size: 18px;
        font-weight: 700;
        line-height: 22px;
        text-decoration: none;
        cursor: pointer;
    }

    /* Animation to fade in modal */
    @keyframes showModal {
      to {
        opacity: 1;
        pointer-events: auto;
      }
    }

    @media(max-width: 768px)
{
    .modal-pop-up {
        padding: 45px 30px !important;
    }
    .close-btn {
        top: 6px !important;
        right: 5px !important;
    }
}
/*------------End pop up css------*/



/* custom banner */
.alias-banner_harrisburg ul.slides li:nth-child(2) img.banner_media_picture_image {
    /* opacity:0; */
}
.alias-banner_harrisburg ul.slides li.banner__item,
.alias-banner_harrisburg img.banner_media_picture_image {
    max-height: 583px !important;
}
/* .alias-banner_harrisburg ul.slides li:nth-child(3) .banner__cta-wrapper  */
.alias-banner_harrisburg ul.slides li:nth-child(4) .banner__cta-wrapper {
    display: none;
}

/* HEARING HEALTH Q&A start */
.banner_harrisburg__container--inner ul.slides li.banner__item:nth-child(2) .banner__text-wrapper .banner__cta-wrapper .banner__cta.component__button:nth-child(2) {
      display: none !important;
}
.banner_harrisburg__container--inner ul.slides li.banner__item:nth-child(2) .banner__text-wrapper p.component__subtitle {
    color: #031830;
    text-shadow: 1px 1px 3px #fff;
    font-weight: bold;
}
/* HEARING HEALTH Q&A end */
@media (min-width: 992px) {

    .alias-banner_harrisburg .banner-a ul.slides li:nth-child(1) .banner__subtitle {
        color: #ffffff;
        text-shadow: none;
    }

    .alias-banner_harrisburg .banner-a ul.slides li:nth-child(1) .banner__title {
        font-size: 3.25rem;
    }
        /* .alias-banner_harrisburg .banner-a ul.slides li:nth-child(3) .banner__title  */
    .alias-banner_harrisburg .banner-a ul.slides li:nth-child(4) .banner__title {
        font-size: 3.25rem;
    }
    /* .alias-banner_harrisburg .banner-a ul.slides li:nth-child(3) .banner__subtitle */
    .alias-banner_harrisburg .banner-a ul.slides li:nth-child(4) .banner__subtitle {
        font-size: 1.35rem;
        color: #000;
        text-shadow: none;
    }

}

/* Header */
.section--dark .navigation-a .navigation__item--link, .navigation-a .navigation__item>.navigation__list--sub>.navigation__item a {
    font-size: 18px;
    line-height: 20px;
}

/* -- testimonials section -- */
.wrap_testimonials {
  box-shadow: 0px 5px 9.5px 0.5px rgba(0, 0, 0, 0.1);
  width: 98%;
  margin: 25px;
} 
.wrap_testimonials_inner {
  margin: 0 atuo;
  padding: 15px 35px 35px;
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
}
.wrap_testimonials_inner h1{
  text-transform:uppercase;
}
.btn_cta a {
  background: #e7b451;
  padding: 5px 15px;
  width: 200px;
  border-radius: 15px;
  text-decoration: none;
  color: #444;
}
/* -- testimonials section -- */


/* -- PLE copyright -- */
.copyright__list {
    color: #fff;
    text-align: center;
}

.section-copyright .copyright__item:not(:last-child),
.section-copyright #copyright__item:not(:last-child) {
    border: 0;
}

.section-copyright .copyright__item,
.section-copyright #copyright__item {
    padding: 0;
}

.section-copyright .copyright__item:not(:last-child)::after, .section-copyright #copyright__item:not(:last-child)::after {
  content: '';
}
/* -- / copyright -- */

/* Disclaimers */

.disclaimerbody__container ul, .disclaimerbody__container ol  {
    font-family: "raleway", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5rem;
    margin-top: 0;
    padding-inline-start: 20px;
    list-style: revert;
    font-weight: 400;
}


/* header */
.header-f .locations-a .list .location__list-icons .location__item {
    margin: 0;
}
.header-f .locations-a .location__address-wrapper:before {
    display: none;
}
.section--dark .phone-a .component-phone__number:before,
.section--dark .phone-a .component-phone__fax:before {
    content: "\f095";
    font: normal normal normal 14px/1 font-awesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-right: 4px;
    display: inline-block;
}
.section--dark .phone-a .component-phone__fax:before {
    content: "\f1ac";
}
body .logo-a__title {
    font-size: 22px;
}

/* Banner */
.banner-a-xl-title {
    min-height: unset !important;
}
.cta__button {
    min-height: 60px;
}


/* Locations module */
.single-locations-1 .location__fax-wrapper {
    margin: 12px 0 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.section.single-locations-1 .locations-a .list .location__phone-wrapper {
    margin-right: 48px;
}
.single-locations-1 .location__fax--link {
    padding-left: 64px;
    position: relative;
}
.single-locations-1 .location__fax--link:before {
    content: "\f1ac";
    font: normal normal normal 14px/1 font-awesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 15px;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 28px;
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    border-width: 3px;
    border-style: solid;
    border-image: initial;
    border-color: #15354b;
    color: #15354b;
}
/* Articles */
.articles__categories .mm-panels>.mm-panel>.mm-navbar+.mm-listview {
    margin-top: 7px;
}

/* Editable */
.col-2-services {
    width: 49%;
    display: inline-block;
    vertical-align: top;
}
.featuredblocks-grid-a .featuredblocks .featuredblock__image {
    min-width: 200px;
    min-height: 200px;
}

/* Custom colors */
.section--dark a.piwik_ignore,
.header-g .locations-a .location__phone a, .section--dark .breadcrumb__item a {
    color: white;
}
.section--dark .cta__button.component__button--1, .section--dark .cta__button.component__button--2, .section--dark .cta__button.component__button--3 {
    color: white;
}
.section--dark .featuredblocks-grid-a.grid-transparent .featuredblocks .featuredblock__title {
    color: #ffffff;
}
.section--light .form-a .form__input input:not([type=radio]):not([type=checkbox]), .section--light .form-a .form__input textarea, .section--light .form-a .form__input select {
    background: rgb(255 255 255 / 70%);
    color: black;
}
.section--light .form-a ::placeholder {
    color: black !important;
}
.section--light .form-a .form__submit input.component__button--1 {
    background-color: #bba374;
    border: 2px solid #bba374;
}
.contact-layout-light .section--light .form-a .form__input input:not([type=radio]):not([type=checkbox]), 
.contact-layout-light .section--light .form-a .form__input textarea,
.contact-layout-light .section--light .form-a .form__input select {
    background: rgb(179 205 228 / 70%);
}
.section.single-locations-1 .section--dark .locations-a .list .location__address:before, .section.single-locations-1 .section--dark .locations-a .list .location__phone:before {
    border-color: #5c9190;
    color: #5c9190;
}
.section--dark .socialmedia__link {
    color: white;
}
.section--light .articles__categories.mm-menu {
    background: transparent;
}
.section--light .articles__categories.mm-menu .mm-title {
    background: #045ea7 !important;
}
.section--light .articles__categories-link {
    background: #b3cde4;
    color: black;
}
.section--light .articles-a .articles__item .article__post-title,
.section--light .articles-a .articles__item .article__post-permalink {
    color: #045ea7;
}
.section--light .articles-a .articles__item {
    background-color: #f5f5f5;
}
.section--light .articles-a .articles__item .article__post-content p {
    color: black;
}
.section--light .articles__categories-item.active.mm-selected,
.section--light .articles__categories-link:hover {
    background-color: #5c9190;
    color: white;
}
.blade_klara__container--inner a.blade__readmore.piwik_ignore {
    font-size: 2.5rem;
    font-weight: bold;
}

/* Media */
@media(min-width: 992px) {
    .section__bg--dark-1 .section--dark .banner-a .banner__image-overlay, .section__bg--dark-1 .section--dark .banner-a .banner__video-overlay {
        background-color: #000;
    }
    .new-patient-special .form__col-top .row .form__group {
        -ms-flex: 0 0 33.33%;
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }
    .section--dark .banner-a .banner__title {
        text-shadow: 1px 1px 4px #000;
    }
    .section--dark .banner-a .banner__subtitle {
        text-shadow: 1px 1px 6px #000;
    }
    .banner .banner-text__title--extraLarge {
    	font-size: 4rem;
    }
}
@media(max-width: 991px) {
    .header-g .row-1>div:first-child,
    .header-g .header-partial-navigation {
        margin: 12px 0;
    }
    .header-g .row-2 {
        margin-bottom: 20px;
    }
    .container-fluid .banner-a {
        background: white;
    }
    .section--dark .banner-a .banner__title {
        color: black;
    }
    .banner-a .banner__cta .cta__button.component__button--1:hover {
        color: #bfa676;
    }
    .banner-a .banner__cta .cta__button.component__button--2:hover {
        color: #045ea7;
    }
    .banner-a .banner__cta .cta__button {
        margin: 12px 0;
    }
    .container-fluid .map-a .map__display {
        max-height: 520px;
    }
}
@media(min-width: 768px) {
    img.align-right {
        float: right !important;
        margin: 0 0 20px 20px !important;
    }
    img.align-left {
        float: left !important;
        margin: 0 20px 20px 0 !important;
    }
}
@media(max-width: 767px) {
    img.align-right, img.align-left {
        float: none !important;
        margin: 0 auto 20px !important;
        display: block;
    }
    .section.single-locations-1 .locations-a .list .location__item {
        flex-direction: column;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
    }
    .section.single-locations-1 .locations-a .list .location__address-wrapper,
    .section.single-locations-1 .locations-a .list .location__phone-wrapper {
        margin-right: 0;
    }
    .single-locations-1 .location__fax-wrapper {
        margin-top: 25px
    }
    .col-2-services {
        width: 100%;
    }
}