/*
Theme Name: Bennett and Bloom, Eye Care Partners Child Theme
Theme URI: http://eyecarepartners.com
Description: Bennett and Bloom, Eye Care Partners Child Theme
Author: Glacial Multimedia
Author URI: https://glacial.com
Template: eye-care-partners
Version: 1.0.0
*/

.copyright-notice {
    font-size: 13px;
    padding: 0 0 20px 0;
    text-align: center;
    width: 90%;
    margin: 0 auto;
}

.testimonial-wrapper-div .w-slider {
    min-height: 400px;
}

.doc-locations-wrapper {
    display: none;
}

.embed-container.doc-fresh-paint {
    max-width: 50%;
    width: 100%;
    padding-bottom: 28.25%;
    float: right;
    margin: 0.5rem 0 3rem 3em;
}

.related-children {
    margin-bottom: 6%;
}

.testimonial-slider {
    height: 450px;
}

.inner-card-content {
    margin-bottom: 20px;
}

.inner-related-bottom {
    margin-top: 50px;
}

.location-48.map {
    min-height: 335px;
}

.img-50 figure {
    max-width: 48%;
}

.location-48 a p {
    display: inline-flex;
    line-height: 1.4;
}

.wp-block-group.has-background {
    padding-top: 6%;
    padding-bottom: 6%;
}

.entry .kt-modal-linkalign-center {
    text-align: left !important;
}

.kt-button.wp-block-button__link {
    color: var(--gl-button-color);
    font-size: 1em;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    background: var(--gl-button-bg);
    border-radius: 50px;
    padding: 20px 35px 18px;
    font-weight: 500;
    margin: 0;
    line-height: 1.2;
    max-width: 480px;
}

.kt-button.wp-block-button__link:hover {
    color: var(--gl-button-color-hover);
    background: var(--gl-button-bg-hover);
    box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.15);
}

.site-navigation > ul {
    flex-wrap: nowrap;
}

ul.yellow-square li, ul.yellow-check li, .entry ul.kt-svg-icon-list {
    line-height: 1.8;
    margin-bottom: 14px;
}

ul.related-accordion-ul li, .yellow-square.list-col-2 li {
    line-height: 1.5;
    margin-bottom: 12px;
}

p + a + h2,
.wp-block-kadence-advancedgallery + a + h2,
.wp-block-kadence-iconlist + a + h2,
.wp-block-list + a + h2 {
    padding-top: 2rem;
}

.page-nav-links-grid {
    --anchor-links-num: 3;
    grid-template-rows: repeat(var(--anchor-links-num), auto);
}

li.lasik-link {
    line-height: 1.5
}

.entry a:not(.wp-block-button__link):not(.ui-button):not(.lasik-link a) {
    word-break: break-word;
}

.logo-ecp-block .image-text-block-img img {
    object-fit: contain;
    background: #fff;
    aspect-ratio: auto;
    padding: 20px;
}

.kb-gallery-ul[data-columns-xxl="2"] {
    width: 100%;
    max-width: 800px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.wide-gallery .kb-gallery-ul[data-columns-xxl="2"] {
    max-width: 1200px;
}

.kb-gallery-ul[data-columns-xxl="2"] .kb-gallery-figure,
.kb-gallery-ul[data-columns-xxl="2"] .kb-gal-image-radius,
.kb-gallery-ul[data-columns-xxl="2"] img {
    max-width: 100% !important;
    width: 100% !important;
}

.kb-gallery-ul[data-columns-xxl="2"] .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner figure .kb-gallery-image-contain.kadence-blocks-gallery-intrinsic {
    height: 100%;
}

.kb-gallery-ul[data-columns-xxl="2"] .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner figure .kb-gal-image-radius {
    position: relative;
    overflow: hidden;
    z-index: 1;
    aspect-ratio: 5/4;
}

.wide-gallery .kb-gallery-ul[data-columns-xxl="2"] .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner figure .kb-gal-image-radius {
    aspect-ratio: 16/6;
}

.wide-gallery.aspect-16-9 .kb-gallery-ul[data-columns-xxl="2"] .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner figure .kb-gal-image-radius {
    aspect-ratio: 16/9;
}

.kb-gallery-ul .kadence-blocks-gallery-item__caption {
    background: #000000;
    min-height: 4rem !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center;
}

a.current-related-pages {
    text-decoration: none;
    font-weight: bold;
}

.entry .has-video .image-text-block-img {
    border: 0;
    background: transparent;
}

:root :where(.wp-block-image figcaption) {
    color: #555;
    font-size: 17px;
}

:root :where(.wp-block-image.cap-background figcaption) {
    background: #000;
    margin-top: 0;
    font-size: 16px;
    line-height: 1.2em;
    color: #ffffff;
    padding: 10px;
    min-height: 4rem !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center;
}

.has-video .image-text-block-img {
    aspect-ratio: 16/9;
}

.hero-text-div {
    position: relative;
}

.welcome-wrapper-div {
    max-width: 1200px;
}

.video-library-wrapper {
    display: grid;
    grid-template-columns: 0.35fr 0.65fr;
    grid-gap: 40px;
    overflow: hidden;
    width: 100%;
    max-width: 1600px;
    margin: auto;

}

.video-menu .menu-item {
    overflow: hidden;
}

.video-menu {
    max-height: 600px;
    overflow: scroll;
}

.video-iframe {
    aspect-ratio: 16/9;
    height: auto;
    width: 100%;
}

.video-menu ul {
    list-style: none;
    padding: 0;
}

.video-menu li a {
    background-color: var(--gl-button-bg);
    border-radius: 10px;
    margin-bottom: 5px;
}

.video-menu .sub-menu {
    /*display: none;*/
    height: 0;
    margin: 0;
    visibility: hidden;
    transform: translate3d(100%, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
    transform-style: preserve-3d;
    transition: 0.4s;
    /*opacity: 0;*/
}

.video-menu .stack-menu__list--root {
    transform: translate3d(0, 0, 100%) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
    transform-style: preserve-3d;
    transition: 0.4s;
    display: block;
}

.video-menu a:hover, .video-menu a.active {
    cursor: pointer;
    color: #fff;
    background-color: #000222;
}

.video-menu a {
    padding: 5px 10px;
    color: #000;
    text-decoration: none;
}

.stack-menu--active,
.video-menu .stack-menu__list--active {
    display: block;
}

.video-menu .stack-menu__list--active {
    height: auto !important;
    visibility: visible !important;
    transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg) !important;
    transform-style: preserve-3d;
    opacity: 1 !important;
}

.video-menu .stack-menu__item--hidden {
    display: none;
}

.stack-menu__link {
    display: block;
    text-decoration: none;
    position: relative;
    color: #000;
    transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out, background-image 0.25s ease-in-out;
    background-repeat: no-repeat;
}

.stack-menu__link--parent,
.stack-menu__link--back {
    -webkit-background-size: 6px 12px;
    background-size: 6px 12px;
    background-repeat: no-repeat;
}

.stack-menu__link--parent {
    background-position: center right 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='12' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000' fill-rule='evenodd'%3E%3Cpath d='M.087 1.656L1.232.318l4.681 5.026-1.145 1.338z'/%3E%3Cpath d='M4.768 5.318l1.145 1.338-4.68 5.026-1.146-1.338z'/%3E%3C/g%3E%3C/svg%3E");
}

.stack-menu__link--parent:hover, .sub-menu .menu-item-has-children > .stack-menu__link.active {
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='12' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-rule='evenodd'%3E%3Cpath d='M.087 1.656L1.232.318l4.681 5.026-1.145 1.338z'/%3E%3Cpath d='M4.768 5.318l1.145 1.338-4.68 5.026-1.146-1.338z'/%3E%3C/g%3E%3C/svg%3E");
}

.stack-menu__link--back {
    background-position: center left 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='12' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-rule='evenodd'%3E%3Cpath d='M5.913 1.656L4.768.318.087 5.344l1.145 1.338z'/%3E%3Cpath d='M1.232 5.318L.087 6.656l4.68 5.026 1.146-1.338z'/%3E%3C/g%3E%3C/svg%3E");
}

.stack-menu__link--back:hover {
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='12' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-rule='evenodd'%3E%3Cpath d='M5.913 1.656L4.768.318.087 5.344l1.145 1.338z'/%3E%3Cpath d='M1.232 5.318L.087 6.656l4.68 5.026 1.146-1.338z'/%3E%3C/g%3E%3C/svg%3E");
}

.stack-menu__link--hidden {
    display: none;
}

.stack-menu__item a.stack-menu__link--back {
    padding-left: 40px;
    background-color: #45a2da;
    color: #fff;
}

a[href*="tel:"] {
    white-space: nowrap;
}

.entry p a {
    color: #325b84
}

.entry p a:hover {
    color: #222;
}

.ecp-logo p {
    line-height: 1.2;
}

.entry .image-text-block-content {
    max-height: 100%;
}

.related-accordion .kt-blocks-accordion-title-wrap {
    display: flex;
    justify-content: center;
    margin-left: 24px;
    padding-right: 0;
    width: 100%;
}

.related-accordion {
    max-width: 1200px;
    margin: 0 auto;
}

.related-accordion a {
    color: #444;
}

.related-accordion-ul {
    column-count: 3;
    column-gap: 2rem;
}

.page-id-34 .related-accordion-ul,
.parent-pageid-34 .related-accordion-ul,
.parent-pageid-2663 .related-accordion-ul {
    column-count: 2 !important;
}

.related-accordion-ul .has-children ul {
    margin-top: 8px;
}

.header-logo {
    max-width: 170px;
}

.max-video {
    position: relative;
    aspect-ratio: 16/9;
}

.lasik-link .link, .related-accordion-ul a {
    color: #222;
}

.entry hr {
    margin: 50px auto;
    clear: both;
    display: block;
}

.retina-rocks-technology {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.kt-inside-inner-col .wp-block-image:last-child,
.insurance-wrapper-div p:last-child {
    margin-bottom: 0;
}

.page-id-801 .image-text-block-content,
.aspect-7_3 .image-text-block-content {
    aspect-ratio: 7 / 3;
}

.insurance-logo-grid {
    display: none;
}

.min-h-2em {
    min-height: 2.4em;
}

.entry .image-contain .obj-fit-img img {
    object-fit: contain;
}

.vision-service-50-50.mb-0 > div:only-child {
    width: calc(50% - 25px);
}

@media (max-width: 1024px) {
    .min-h-2em {
        min-height: auto;
    }
}

@media (max-width: 991px) {

    .embed-container.doc-fresh-paint {
        max-width: 100%;
        width: 100%;
        padding-bottom: 56.25%;
        float: none;
        margin: 0 auto 30px auto;
    }

    .img-50 figure {
        max-width: 100%;
    }

    .ecp-image-text-block + .wp-block-group.has-background,
    .ecp-text-over-image-block + .wp-block-group.has-background,
    .wp-block-group.has-background + .ecp-image-text-block {
        padding-top: 0;
    }

    .ecp-text-over-image-block + .wp-block-group.has-background {
        margin-bottom: 0;
    }

    .header-logo {
        max-width: 130px;
    }

    .service-child .ecp-image-text-block {
        margin-bottom: 50px;
    }

    p + a + h2,
    .wp-block-kadence-advancedgallery + a + h2,
    .wp-block-kadence-iconlist + a + h2,
    .wp-block-list + a + h2 {
        padding-top: 0.7rem;
    }

}

@media (max-width: 768px) {

    .header-logo {
        max-width: 93px;
    }

    .related-accordion-ul {
        column-count: 2 !important;
    }

    .video-library-wrapper {
        grid-template-columns: 1fr;
        grid-gap: 20px;
    }

    .video-menu {
        max-height: 200px;
        overflow: scroll;
    }

    .entry .has-background .kt-inside-inner-col {
        padding: 25px;
    }
}

@media (max-width: 480px) {

    .page-id-34 .related-accordion-ul,
    .parent-pageid-34 .related-accordion-ul,
    .parent-pageid-2663 .related-accordion-ul {
        column-count: 1 !important;
    }

    .doc-name {
        margin-bottom: 4rem;
    }

    .related-accordion-ul {
        column-count: 1 !important;
    }

    .header-logo {
        width: 100%;
        max-width: 72px;
    }

}





