/* Header */
.section-overlap-container .d-none.d-sm-none.d-md-block.sierra-header {
    margin-top: 15px;
}
.sierra-header:before, .sierra-header-nav:before {
    background-color: transparent !important;
}
.sierra-header .section--inner.container, .sierra-header-nav .section--inner.container {
    position: relative;
}
.sierra-header .section--inner.container:before, .sierra-header-nav .section--inner.container:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transition: all 0.3s linear;
    opacity: 1;
    background-color: #4f77b3;
    border-radius: 24px;
    padding: 16px 24px;
    box-shadow: 0px 4px 4px rgba(0,0,0,.3);    
}
.sierra-header .section--inner.container:before {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.sierra-header-nav .section--inner.container:before {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.sierra-header-nav .section--inner.container {
    margin-bottom: 5px;
}

/* Custom header */
.ma-kao-header .logo-a__title {
    font-family: "Nunito Sans", sans-serif !important;
    font-size: 1.75rem !important;
    line-height: 2.125rem !important;
    margin: 0 !important;
}
.logo-a__caption.component__subtitle {
    font-family: "Nunito Sans", sans-serif !important;
    /* font-size: 2.75rem !important; */
    font-size: 2rem !important;
    line-height: 3rem !important;
    margin: 0 !important;
    font-weight: 400;
}
.ma-kao-header .logo-a__title br {
    display: none;
}
.navigation-a .navigation__item--link {
    padding: 0.7rem;
    margin: 0 !important;
}
.navigation-a .navigation__item.has-drop-down .navigation__item--link {
    padding: 0.7rem 1.7rem 0.7rem 0.7rem;
}
.ma-kao-header .col-lg-2.col-sm-12 .col-sm-12.col-lg-6 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 0;
}
.ma-kao-header .cta__button, .ma-kao-header .component__button--1, .ma-kao-header .component__button--2, .ma-kao-header .component__button--3 {
    padding: 8px 16px;
}
.overlap-ma-kao-header .align-items-center.row {
    padding: 16px;
    /* box-shadow: 0 2px 4px rgba(0,0,0,.3);
    background-image: url("https://cdcssl.ibsrv.net/ibimg/smb/3000x889_80/webmgr/1x/m/w/_sedona/form-bg-light-blue-gradient.jpg.webp"); */
}

/* Banner */
.section .banner .banner-c__title {
    animation: unset !important;
}

/* Home Welcome Editable */
.home_welcome_heading {
    /* font-family: "DM Serif Text", serif !important; */
    font-family: "Playfair Display", serif !important;
    font-weight: 400 !important;
    font-size: 48px !important;
    letter-spacing: -0.6px;
}
/* Home How Our Team Editable */
.home_how_our_team_heading {
    /* font-family: "DM Serif Text", serif !important; */
    font-family: "Playfair Display", serif !important;
    font-weight: 400 !important;
    font-size: 48px !important;
    letter-spacing: -0.6px;
}
.home_how_our_team_sub {
    /* font-family: "DM Serif Text", serif !important; */
    font-family: "Playfair Display", serif !important;
    font-size: 24px !important;
    font-weight: bold;
}

/* Featuredblocks */
.section--dark .featuredblocks-grid-e .featuredblock__bgImage:before {
    opacity: 0.1;
    background-color: #000000;
}
.section-featuredblocks .featuredblocks-grid-e .featuredblock__title {
    text-shadow: 1px 1px 1px black;
}

/* Gallery Home */
.section--dark .gallery-grid--item {
    outline: 0;
    outline-offset: 0;
}
.section-gallery .gallery-grid--item {
    margin-right: 0;
    padding: 0;
}
.home-insurance .gallery .gallery-item .gallery-item--spacer {
    text-align: center;
}

/* -- testimonials section -- */
.wrap_testimonials {
    box-shadow: 3px 1px 19px -3px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 3px 1px 19px -3px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 3px 1px 19px -3px rgba(0, 0, 0, 0.75);
    width: 95%;
    margin: 25px auto;
}
.wrap_testimonials_inner {
    margin: 0 auto;
    padding: 15px 35px 35px;
    background: rgba(255, 255, 255, 0.5);
    text-align: center;
}
.wrap_testimonials_inner h1 {
    text-transform: uppercase;
}
.wrap_testimonials img {
    max-width: 490px !important;
    width: 100% !important;
}
.btn_cta a {
    position: relative;
    display: block;
    max-width: 220px;
    margin: 0 auto;
    font-family: "DM Serif Text", serif;
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 52px !important;
    border-radius: 0;
    transition: all 0.2s ease 0s !important;
    background: #fff;
    text-decoration: none !important;
    color: #4F77B3 !important;
    box-shadow: #4F77B3 5px 5px 0 0;
}
.btn_cta a:hover {
    background: white !important;
    color: #4F77B3 !important;
    transform: translate(5px, 5px) !important;
    box-shadow: #4F77B3 0 0 0 0;
}

/* Staff */
.staff-b--12 .staff__item .staff-member__text-wrap {
    padding-top: 0;
}
.staff-b--12 .staff__item .staff-member__text {
    -webkit-box-align: baseline !important;
    -ms-flex-align: baseline !important;
    align-items: baseline !important;
}
.staff-b--12 .staff__item .staff-member__name.component__title {
    margin-top: 0;
}
.staff-member__first-last,
 span.staff-member__prefix,
  span.staff-member__suffix {
    /* font-family: "DM Serif Text", serif !important; */
    font-family: "Playfair Display", serif !important;
    font-size: 2rem !important;
}

h2.staff__title.component__title,
 .section .component__title:not(.staff-member__name) {
       font-family: "Playfair Display", serif !important;
}

/* Location module */
.col.location__direction-link {
    padding-bottom: 20px;
}
/* Footer */
.logo-a__title.component__title {
    font-family: "Nunito Sans", sans-serif !important;
    font-size: 1.75rem !important;
    line-height: 2.125rem !important;
    margin: 0 !important;
}
/* Custom colors */
.section__bg--dark-1::before {
    background-color: #8ab8fe;
}
.sedona .section--dark .navigation-a .navigation__list--sub .navigation__item--link:hover,
.sedona .section--dark .navigation-a .navigation__list--sub .navigation__item.navigation-open .navigation__item--link:hover {
    background: #4F77B3 !important;
}
.sedona .section-featuredblocks .section--dark .featuredblocks-grid-e .featuredblock__cta .cta__button, .sedona .section-featuredblocks .section--dark .featuredblocks-grid-e .featuredblock__cta .cta__button--icon {
    background: white !important;
    color: #4F77B3 !important;
    border-color: white !important;
}
.section-form .section--light .form-themeExtras .leadForm form .form-wrap__submit input,
.contact-us-im .section--light .wrap__form.appointment .form-wrap__submit input, 
.contact-us-im .section--light .wrap__form.contact .form-wrap__submit input {
    color: #fff !important;
    background: #4F77B3 !important;
    box-shadow: #4F77B3 5px 5px 0 0;
}
.section-form .section--light .form-themeExtras .leadForm form .form-wrap__submit input:hover,
.contact-us-im .section--light .wrap__form.appointment .form-wrap__submit input:hover, 
.contact-us-im .section--light .wrap__form.contact .form-wrap__submit input:hover {
    box-shadow: #4F77B3 0 0 0 0;
}
.section-form .section--light .form-themeExtras .leadForm form .form-wrap__submit input,
.contact-us-im .section--light .wrap__form.appointment .form-wrap__submit input, 
.contact-us-im .section--light .wrap__form.contact .form-wrap__submit input {
    box-shadow: #8ab8fe 5px 5px 0 0;
}
.contact-us-im .section--light .wrap__form.appointment .form-wrap__submit input, 
.contact-us-im .section--light .wrap__form.contact .form-wrap__submit input {
    max-width: 250px;
}
.mobileHeader-container, #mobileHeaderNav {
    background: #4F77B3;
}
.sedona .section-map .section--dark .map-a .map-search__submit {
    background: #8ab8fe;
    border: 2px solid #8ab8fe;
}
.sedona .section-map .section--dark .map-a .map-search__submit:hover {
    border-color: white;
}
.ma-kao-header .logo-a__title,
 p.logo-a__title.component__title {
    text-align: left;
}

.logo .logo-a__text {
    display: flex;
    align-items: center;
    column-gap: 5px;
}


.header_cta__container--inner a.cta__button.component__button--2 {
    color: #fff !important;
    font-weight: 400;
    background-color: #4f77b3 !important;
    box-shadow: #8ab8fe 5px 5px 0 0;
}
.header_cta__container--inner a.cta__button.component__button--2:hover {
      color: #fff !important;
}
/* #navigation_header ul li.navigation__item.navigation__item--default a {
        text-shadow: 1px 1px 1px black;
} */
 .editable_cta_header__container--inner .row {
    justify-content: center;
    align-items: center;
    column-gap: 10px;
  }
/* Media */

@media(min-width: 1200px) {
.cta-header-custom a.cta__button.component__button--2 {
        padding: 8px 10px;
  }
}

@media(max-width: 1199px) {
    .ma-kao-header.overlap-ma-kao-header .col-lg-2.col-sm-12 .col-sm-12.col-lg-6 {
        padding: 0;
    }
    .ma-kao-header.overlap-ma-kao-header .col-lg-2.col-sm-12 .col-sm-12.col-lg-6 .cta__button {
        padding: 8px;
    }
    .banner .banner-text__wrapper {
        margin: 0 auto;
        -webkit-box-align: end !important;
        -ms-flex-align: end !important;
        align-items: flex-end !important;
        padding-bottom: 50px;
    }
    
}
@media(min-width: 992px) {
    .sierra-header .col-lg-4.col-sm-12 {
        -ms-flex: 0 0 calc(100% - 560px);
        flex: 0 0 calc(100% - 560px);
        max-width: calc(100% - 560px);
    }
    .sierra-header .col-lg-4.col-sm-12:first-child, .sierra-header .col-lg-4.col-sm-12:last-child {
        -ms-flex: 0 0 280px;
        flex: 0 0 280px;
        max-width: 280px;
    } 

 .logo_header__container--inner p.logo-a__caption.component__subtitle {
  display: none;
  }
  .editable_cta_header__container--inner .row .column {
    width: 100%;
}
.logo_header__container--inner.logo__container--inner {
    display: none;
}
.dual-header-btn {
    display: none;
}
.cta-header-custom, .editable_cta_header__container p.logo-a__caption.component__subtitle  {
    text-align: right !important;
}
.editable_cta_header_left__container--inner a.logo-a__image-link {
  background-image: unset !important;
}
.editable_cta_header__container p.logo-a__caption.component__subtitle {
    min-height: 62px;
}
  
}


@media(min-width: 991px) {
    .section-banner.section__bg--dark-1 .banner-c .slider__background--overlay:after {
        background-color: #000;
        opacity: 0.1 !important;
    }
    .section .banner .banner-c__title, .section-banner .banner .banner-text__subtitle--medium {
        text-shadow: 1px 1px 1px black;
    }
 
}
@media(max-width: 991px) {
    .d-none.d-sm-none.d-md-block.sierra-header .col-lg-4.col-sm-12:first-child, .d-none.d-sm-none.d-md-block.sierra-header .col-lg-4.col-sm-12:last-child,
    .sierra-header .col-lg-4.col-sm-12:first-child, .sierra-header .col-lg-4.col-sm-12:last-child {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    } 
    .sierra-header .section--inner.container, .sierra-header-nav .section--inner.container {
        max-width: calc(100% - 30px);
}
    .navigation-a .navigation__item--link {
        margin-right: 0;
    }
    .navigation-a .navigation__item.has-drop-down .navigation__item--link {
        padding-right: 1.7rem;
    }
    .sierra-header-nav .col-lg-12.alias-navigation_header {
        padding: 15px;
    }
    .sierra-header .col-lg-4.col-sm-12 {
        order: 1;
    }
    .sierra-header .col-lg-4.col-sm-12:first-child, .sierra-header .col-lg-4.col-sm-12:last-child {
        order: 2;
    } 
    .ma-kao-header .logo-a__image-link,
    .ma-kao-header .navigation-a .navigation__list--head {
        -webkit-box-pack: center !important;
        -ms-flex-pack: center !important;
        justify-content: center !important;
    }
    .section-banner.section__bg--dark-1 .banner-c .slider__background--overlay:after,
    body .banner .flexslider .banner-img__wrapper:after {
        background-color: #003470;
        opacity: 0.2;
    } 
    .home-insurance .gallery .gallery-item .gallery-item--spacer {
        text-align: center;
        margin: 0 !important;
        border: 1px solid #aac9f7;
        padding: 10px;
        background: white;
    }
       .editable_cta_header__container--inner .row .column:nth-child(1),
        .editable_cta_header_left__container.editable__container {
        display: none;
    }

.cta-header-custom a.cta__button.component__button--2 {
        padding: 8px 52px;
  }
  .editable_cta_header__container--inner .row .column:nth-child(2) {
      display: flex;
      flex-direction: row !important;
      column-gap: 10px;
  }
}

@media(max-width: 767px){
    .mobileHeader-container p {
        font-family: "DM Serif Text", serif;
    }
    .mobileHeader-logo:after {
        content: "馬高康復診所"
    }
    .staff-member__image {
        padding-bottom: 20px;
    }
}

@media(max-width: 480px){
.logo .logo-a__text {
    flex-direction: column

 }
 .ma-kao-header .logo-a__title,
 p.logo-a__title.component__title {
    text-align: unset;
}
}
