/*
Theme Name: Glacial Theme
Author: Glacial Multimedia
Author URI: https://glacial.com
Description: Your custom created WordPress theme from Glacial Multimedia.
Version: 3.2.4
Text Domain: glacialtheme

GitHub Theme URI: https://github.com/Glacial-Web/glacial-theme
 */

:root {
    --gl-inner-pad-top: 4rem;
    --gl-inner-pad-bottom: 4rem;

    --gl-button-color: #fff;
    --gl-button-bg: #032d6e;
    --gl-button-color-hover: #fff;
    --gl-button-bg-hover: #023552;
    --gl-max-width: 1500px;
    --gl-banner-height: 80px;

    --cpt-doctor-aspect: 4 / 4;
}

.doc_grid-2 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.doc_grid-2 > div {
    width: calc(100% / 5 - 20px);
}

.center_wrapper.welcome {
    margin-top: 0;
}

.doctor-filter-grid {
    justify-content: center;
}

.gallery-align-center ul {
    justify-content: center;
    align-items: center;
}

.hidden-all {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
}

.breadcrumbs_wrapper {
    color: #00c1f1;
}

.breadcrumbs_wrapper a, .breadcrumb_last {
    color: #fff;
}

.picture {
    display: block;
}

.doc_img_div-2 {
    margin-bottom: 0;
}

.doc_img_div-2 img {
    width: 100%;
    aspect-ratio: var(--cpt-doctor-aspect);
    object-position: top;
    object-fit: cover;
}

.doc_header_grid {
    grid-row-gap: 0px;
    margin-bottom: 30px;
}

.screen-readers {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    word-break: normal !important;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

/* Skip Links */
.glacial-skip-link {
    position: absolute;
    top: -9999px;
    left: -9999px;
    -webkit-transition: 0s;
    transition: 0s;
    text-decoration: none;
}

.glacial-skip-link:focus {
    padding: 1em 2em !important;
    top: 20px;
    font-size: 1.2em;
    left: 20px;
    z-index: 99999;
    background: #333;
    color: #fff;
    border: 1px solid #ccc;
}

/* Full width blocks */
.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow-x: hidden;
}

.standard-inner-wrapper, .glacial-footer {
    max-width: var(--gl-max-width, 1350px);
    width: 90%;
    margin: 0 auto;
}

.standard-inner-wrapper {
    padding-top: var(--gl-inner-pad-top);
    padding-bottom: var(--gl-inner-pad-bottom);
}

/* Related Pages bottom */
.related-pages-bottom {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    flex-wrap: wrap;
}

.related-pages-bottom .related-title {
    width: 100%;
}

.entry .related-pages-bottom h3 {
    margin: 0;
}

.entry .related-pages-bottom ul {
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    height: 100%;
    -webkit-box-align: center;
    align-items: center;
}

.related-pages-bottom ul li {
    margin-right: 1em;
}

.inner_hero_section {
    background-color: var(--dark-blue);
    color: var(--white);
    background-image: linear-gradient(#0000 28%, #029ec55c);
    flex-flow: column;
    justify-content: flex-end;
    align-items: flex-start;
    height: auto;
    display: flex;
    margin-top: var(--gl-banner-height);
    /*min-height: 300px;*/
    padding: clamp(50px, 100px, 7%) 0;
}

.inner-title-container {
    margin-right: auto;
    margin-left: auto;
    width: 90%;
    gap: 30px;
    max-width: calc(var(--gl-max-width) + 200px);
    display: grid;
    grid-template-columns: 0.6fr 0.4fr;
}

.inner-title-container .related-pages-bottom {
    display: block;
}

.inner-title-container .related-pages-bottom ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    /*display: grid;*/
    /*grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));*/
    gap: 10px;

}

.inner-title-container .related-pages-bottom ul a {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #fff;
    border-radius: 7px;
    background: transparent;

}

.inner-title-container .related-pages-bottom ul a:hover,
.inner-title-container .related-pages-bottom ul a.current-page {
    background: #fff;
    color: var(--dark-blue);
}

.inner-title-container .related-pages-bottom ul li {
    margin: 0 0 10px;
}

.inner-title-container .related-pages-bottom h3.related-title {
    color: #fff;
    text-transform: uppercase;
    font-size: 20px;
    width: 100%;
    margin-bottom: 20px;
}

/* Pillar Link Buttons*/

.pillar-link-grid {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 1.5em;
    grid-auto-rows: 1fr;
}

.page-top-section .children-pages {
    grid-template-columns: repeat(3, 1fr);
}

.pillar-link-grid a.ui-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    margin: auto;
    width: 100%;
    height: 300px;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    border-color: rgba(255, 255, 255, 0.8);
    border-width: 2px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    top: 10px;
}

.pillar-link-grid a.ui-button span {
    width: 100%;
    padding: 10px;
    color: #000;
    background-color: rgba(255, 255, 255, 0.8);
}

.children-pages a.ui-button {
    height: 100%;
    padding: 20px 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.4;
}

/* Blog containers */

.outer-flex-wrapper {
    gap: 4rem;
}

.main-content {
    flex: 1;
}

aside {
    background: #fff;
    flex-basis: 25%;
    border-left: 1px solid #cecece;
    padding-left: 15px;
}

h2 a {
    text-decoration: none !important;
}

.related-topics-div ul {
    padding-left: 0;
}

.related-topics-div li {
    list-style: none;
}

.related-topics-div li a {
    text-decoration: none;
}

.related-pages-bottom li:first-of-type {
    margin-left: 0;
}

/* Format Content */
.entry h2, .entry h3, .entry h4, .entry p, .entry ul, .entry ol, .entry blockquote, .attachment-post-thumbnail, article h2, article h3, article h4, article p, article ul, article ol, article hr, article blockquote, .wp-block-group, .wp-block-image, .wp-block-media-text {
    margin-bottom: 30px;
}

.entry p, .entry li {
    line-height: 180%;
}

.entry hr {
    margin: 50px auto;
}

blockquote {
    color: var(--gl-button-bg);
    line-height: 1.5em;
    font-weight: 400;
    font-style: italic;
}

cite {
    color: #757575;
    font-weight: 400;
    font-style: normal;
}

.wp-caption-text {
    margin-top: 30px;
    font-style: italic;
    text-align: center;
}

img, .entry img {
    height: auto
}

.entry img {
    border-radius: 10px;

}

.kt-row-has-bg:not(.alignfull),
.kt-blocks-accordion-header {
    border-radius: 10px !important;
}

a {
    -webkit-transition: all 100ms ease;
    -o-transition: all 100ms ease;
    transition: all 100ms ease;
}

.entry a {
    color: #061a38;
    text-decoration: underline;
}

.entry a:hover {
    color: #174677;
}

.size-medium-large img {
    width: 100%;
    max-width: 650px;
}

/* Button Code */
a.ui-button, a.wp-block-button__link, .entry a.moretag, a.wp-element-button {
    color: var(--gl-button-color);
    font-size: 1em;
    border-radius: 10px;
    display: inline-block;
    padding: 1.2em 2em;
    text-align: center;
    text-decoration: none;
    background: var(--gl-button-bg);
    text-transform: uppercase;
    background-image: radial-gradient(circle at 30% 30%, #03cdff70, #05b1db00);
}

a.ui-button.mt-2 {
    display: block;
    margin-top: 25px;
}

a.ui-button:hover, a.wp-block-button__link:hover, .entry a.moretag:hover, a.wp-element-button: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);
    background-image: linear-gradient(#00000080, #00000080), radial-gradient(circle at 30% 30%, #03cdff70, #05b1db00);

}

.wp-block-buttons {
    margin-bottom: 30px;
}

.entry a.wp-block-file__button {
    margin-left: 20px;
    display: inline-block;
}

.search-submit {
    -webkit-appearance: none;
    padding: 0 15px;
    border: none;
    cursor: pointer;
    background: var(--gl-button-bg);
    color: var(--gl-button-color);
}

.search-submit:hover {
    color: var(--gl-button-color-hover);
    background: var(--gl-button-bg-hover);
}

.search-form {
    display: -webkit-box;
    display: flex;
}

.search-field, .search-submit {
    height: 35px;
}

.search-field {
    padding-left: 5px;
    border-radius: 0;
    border: 1px solid #666;
}

.entry a.moretag {
    display: block;
    margin: 15px 0;
    padding: 0.6em;
    width: 150px;
}

/* Button Code End */
h2 a {
    text-decoration: none;
}

/* Alignment */
.alignleft {
    float: left;
    margin: 0 15px 8px 0;
}

.alignright {
    float: right;
    margin: 0 0 8px 15px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.embed-container {
    position: relative;
    padding-bottom: 45.25%;
    height: 0;
    overflow: hidden;
    max-width: 80%;
    margin: auto;
    margin-bottom: 20px;
}

.embed-container iframe, .embed-container object, .embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.flex-wrapper, .flex-wrapper .wp-block-group__inner-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    justify-content: space-between;
}

.entry aside .wp-block-group__inner-container {
    display: block
}

.flex-wrapper .ui-button, .flex-wrapper .wp-block-button {
    width: 260px;
    margin-right: 0 !important;
    display: -webkit-box !important;
    display: flex !important;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    margin-bottom: 30px;
}

.flex-wrapper .wp-block-button__link {
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    height: 100%;
    width: 100%;
    display: -webkit-box !important;
    display: flex !important;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
}

.flex-item {
    text-align: center;
    margin-bottom: 30px;
}

#primary-sidebar h2 {
    font-size: 20px;
    font-weight: 700;
    border-bottom: 1px solid #2f7896;
    color: #2f7896;
    text-transform: uppercase;
    margin-bottom: 30px;
}

#primary-sidebar ul {
    padding-left: 0;
    margin-bottom: 30px;
}

#primary-sidebar ul li {
    list-style: none;
}

#primary-sidebar ul li a {
    text-decoration: none;
}

hr {
    border: 0;
    height: 1px;
    background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    background-image: -webkit-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
    background-image: -o-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
}

.menu-footer-menu-container {
    width: 100%;
}

.sb-link.current-page {
    color: var(--gl-button-bg-hover);
}

#menu-footer-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-left: 0;
}

#menu-footer-menu li {
    list-style: none;
}

.menu-level-1 {
    display: none
}

/* Dropdown Menus End */

.wp-block-group.has-background {
    padding: 2rem;
}

.footer-menu-link {
    padding: 1em;
}

/** Column Shadow Boxes **/
.wp-block-columns.box-columns {
    margin-bottom: 30px !important;
}

.box-columns .wp-block-column {
    border: 1.2px solid #e5e5e5;
    padding: 20px 20px 0 20px;
    height: auto;
    min-height: 280px;
    background-color: #fbfbfb;
    box-shadow: 2px 2px 6px 0 rgba(0, 0, 0, .19);
    -webkit-transition: all 400ms ease;
    -moz-transition: all 400ms ease;
    -ms-transition: all 400ms ease;
    transition: all 400ms ease;
}

.box-columns .wp-block-column:hover {
    /*box-shadow: 2px 2px 6px 0 rgba(0, 0, 0, .49);*/
}

/*** GUTTENBERG CALLOUT BOX GROUPS ***/
.box-outline {
    border: 1px solid var(--gl-button-bg);
    padding: 30px 30px 0 30px;
    margin: 0 0 30px 0;
    display: block;
}

.box-solid {
    background-color: var(--gl-button-bg);
    padding: 30px 30px 0 30px;
    margin: 0 0 30px 0;
    display: block;
    color: #fff !important;
}

.box-solid h2, .box-solid h3, .box-solid h4, .box-solid p, .box-solid a, .box-solid li, .box-solid figcaption, .box-solid blockquote, .box-solid cite {
    color: #fff !important;
}

.box-solid .ui-button, .box-solid .wp-block-button__link {
    background-color: #fff !important;
    color: var(--gl-button-bg) !important;
}

.box-solid .ui-button:hover, .box-solid .wp-block-button__link:hover {
    background: var(--gl-button-bg-hover) !important;
    color: var(--gl-button-color) !important;
}

/*** KADENCE OVERRIDES ***/

/*** BIO ROW HOVER REVERSE TO COLOR/BLACK WHITE ***/
.kt-info-animate-grayscale img, .kt-info-animate-grayscale-border-draw img {
    -webkit-filter: none !important;
    filter: none !important;
}

.kt-blocks-info-box-link-wrap:hover .kt-info-animate-grayscale img, .kt-blocks-info-box-link-wrap:hover .kt-info-animate-grayscale-border-draw img {
    -webkit-filter: grayscale(100%) !important;
    filter: grayscale(100%) !important;
}

.top-floating-button {
    display: none;
    text-decoration: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    font-size: 15px;
    border: none;
    outline: none;
    background-color: var(--gl-button-bg);
    color: white;
    padding: 10px;
    border-radius: 0;
    opacity: .7 !important;
    -webkit-transition: all 200ms ease;
    transition: all 200ms ease;
}

.top-floating-button:hover {
    background-color: var(--gl-button-bg-hover);
}

.tabs-content-2 {
    background-color: hsl(0deg 0% 90% / 73%);
}

/*** BLOG START ***/
.post-excerpt {
    margin-bottom: 30px;
    padding: 20px;
    box-shadow: 1px 1px 11px 0 rgb(68 68 70 / 17%);
}

.blog-entry-wrapper {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
}

.blog-entry-wrap {
    width: 65%;
}

.featured-img-post {
    width: 30%;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
}

.blog-logo {
    max-width: 270px;
    width: 100%;
}

h2.blog-title-excerpt {
    margin-top: 0;
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 5px;
}

.blog-grid .blog-grid-wrapper {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-gap: 3rem;
    margin: 0 auto 3rem auto;
}

.blog-grid-wrapper .grid-excerpt {
    max-width: 550px;
}

a.grid-excerpt {
    background-color: var(--gl-button-bg);
    padding: 20px;
    text-decoration: none;
    position: relative;
}

a.grid-excerpt:hover {
    background-color: var(--gl-button-bg-hover);
}

p.blog-grid-meta {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.grid-excerpt img {
    aspect-ratio: 16/9;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.grid-excerpt img.post-logo, .grid-excerpt .post-logo img {
    -o-object-fit: contain;
    object-fit: contain;
}

a.grid-excerpt * {
    color: var(--gl-button-color);
}

a.grid-excerpt:hover * {
    color: var(--gl-button-color-hover);
}

.nav-links {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
}

.nav-link-buttons .nav-links {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    flex-wrap: wrap;
}

.nav-link-buttons .nav-links {
    -webkit-box-pack: center;
    justify-content: center;
}

.nav-link-buttons .nav-links > * {
    width: 40px;
    padding: 10px;
    margin-top: 1em;
    margin-right: 10px;
    border-radius: 0;
    text-align: center;
    font-size: 1.2em;
}

.nav-link-buttons .nav-links a {
    color: var(--gl-button-color);
    background: var(--gl-button-bg);
    text-decoration: none;
}

.nav-link-buttons .nav-links a:hover, .nav-link-buttons .nav-links .current {
    background: var(--gl-button-bg-hover);
    color: var(--gl-button-color-hover);
}

.wp-block-image.img-50 figure {
    width: 49% !important;
}

.services-single-image {
    display: grid;
    grid-template-columns: 30% 70%;
    width: 100%;
}

.services-single-image .links {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 0;
}

.services-single-image .links a {
    margin: 0;
    display: flex;
    align-items: center;
    flex: 1;
    text-align: left;
    border-radius: 0;
    border-bottom: 1px solid #c5c5c5;

}

.services-single-image .links a:first-of-type {
    border-top-left-radius: 10px;
}

.services-single-image .links a:last-of-type {
    border-bottom-left-radius: 10px;
}

.services-single-image a svg {
    transition: 0.2s ease-in-out transform;
    margin-left: 5px
}

.services-single-image a:hover svg {
    transform: translateX(10px);
}

.services-single-image .links a:last-child {
    border-bottom: none;
}

.services-single-image img {
    border-radius: 0 10px 10px 0;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

/*** Search modal ***/

.search-button-modal {
    background: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #666;
    border-radius: 50%;
    color: var(--gl-button-color);
    cursor: pointer;
    transition: 0.1s;
    background: var(--gl-button-bg);
}

.search-button-modal:hover {
    background: var(--gl-button-bg-hover);
    color: var(--gl-button-color-hover);
}

.search-button-modal svg {
    width: 15px;
    height: 15px;
}

.modal__overlay {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal__container {
    position: relative;
    background-color: #fff;
    padding: 30px;
    width: 95%;
    max-width: 500px;
    max-height: 100vh;
    border-radius: 4px;
    overflow-y: auto;
    box-sizing: border-box;
}

.modal__content button {
    padding: 5px 1em;
    display: block;
}

.modal__close {
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 10px;
    background: transparent;
    border: 0;
}

.modal__close:before {
    content: "\2715";
}

@keyframes mmfadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes mmfadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes mmslideIn {
    from {
        transform: translateY(15%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes mmslideOut {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10%);
    }
}

.micromodal-slide {
    display: none;
}

.micromodal-slide.is-open {
    display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
    animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
    animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
    animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
    animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
    will-change: transform;
}

.modal__container .search-field {
    flex: 1;
}

/*** BLOG END ***/

/**** STYLE OVERRIDES ****/

/*** Home ***/

/*** Secondary Pages ***/

/*** Footer ***/

.entry h1 {
    font-size: clamp(1.8rem, 0.8400rem + 3.2000vw, 3rem);
    line-height: 1.2;
    margin-bottom: 0.6em;
}

.inner_page_title {
    line-height: 1.1;
}

.entry h2 {
    color: #017591;
    font-size: clamp(1.5rem, 0.7800rem + 2.4000vw, 2.4rem);
    line-height: 1.2;
    margin-bottom: 0.7em;
    text-transform: uppercase;
}

.entry h3 {
    color: var(--black);
    font-style: normal;
    font-size: clamp(1.2rem, 0.9600rem + 0.8000vw, 1.5rem);
    letter-spacing: normal;
    font-weight: 600;
    margin-bottom: 0.7em;
}

var iframe {
    border-radius: 10px;
}

.entry h4 {
    margin-bottom: 15px;
}

.entry picture {
    display: block;
}

.kt-tab-inner-content-inner picture {
    height: 100%;
}

.kt-inside-inner-col *:last-child {
    margin-bottom: 0 !important;
}

.kt-tab-inner-content-inner img {
    border-radius: 0;
}

.wp-block-kadence-iconlist ul.kt-svg-icon-list .kt-svg-icon-list-item-wrap {
    align-items: flex-start !important;
}

.entry h2 {
    padding-top: 6%;
}

.entry p + h2,
.entry .wp-block-image + h2,
.entry .wp-block-kadence-accordion + h2,
.wp-block-list + h2, .wp-block-kadence-iconlist + h2 {
    padding-top: calc(6% - 30px);;
}

.entry h2:first-of-type,
.entry .kb-row-layout-wrap + h2,
.kt-inside-inner-col h2:first-child,
.standard-inner-wrapper h2:first-child,
.line_div + h2 {
    padding-top: 0;
}

.alignfull .kt-row-column-wrap {
    width: 90%;
    max-width: var(--gl-max-width);
    margin-left: auto;
    margin-right: auto;

}

.alignfull .kt-row-column-wrap .kt-row-column-wrap {
    width: 100%;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 2rem;
    margin: 0 auto 3rem auto;
}

.video-card a {
    text-decoration: none;
}

.youtube-container {
    display: block;
    margin: 10px auto;
    width: 100%;
}

.video-container {
    display: block;
    margin: 10px auto;
    width: 100%;
    position: relative;
}

.video-container img {
    object-fit: cover;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

.video-container:after, .video-container:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
}

.video-container:after {

    width: 0;
    height: 0;
    border: 12px solid transparent;
    border-left: 16px solid #fff;
    margin-top: -12px;
    margin-left: -7px;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, .25));
}

.video-container:before {
    margin-top: -34px;
    margin-left: -34px;
    width: 60px;
    height: 60px;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0, 0, 0, .18);
    background: rgba(0, 0, 0, .42);
    transition: background .3s;
}

.footer-menu-small {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin-bottom: 30px;
}

.blog_img_div-2 {
    width: auto;
    height: auto;
    aspect-ratio: 16 / 9;
}

.footer_text-2 p {
    line-height: 1.4;
}

.entry a.services_btn {
    line-height: 1.2;
    color: #fff;
}

.entry a.services_btn:hover {
    color: #fff;
}

.entry .services_label_div {
    padding-bottom: 20px;
    justify-content: flex-end;
}

.related-page-thumb img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
}

.entry #w-node-_9dfe88d0-fb60-ad9a-5338-24fd465d0fdc-26027917 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

}

.breadcrumbs_wrapper {
    width: 100%;
}

li.kt-svg-icon-list-item-wrap {
    margin-bottom: 0;
    line-height: 1.4;
}

.breadcrumbs_wrapper a {
    text-decoration: underline;
}

.breadcrumbs_wrapper a:hover {
    text-decoration: none;
    color: #c4c4c4;
}

.services_btn_img_div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.single-locations .embed-container.location-page {
    display: none;
}

.card-iframe {
    margin-top: 20px;
}

.page-id-12 .locations-grid,
.page-id-14 .locations-grid {
    grid-template-columns: 1fr;
    grid-gap: 2rem;
}

.page-id-12 .locations-grid .card-iframe,
.page-id-14 .locations-grid .card-iframe {
    display: none;
}

.cpt-location-card {
    border-radius: 10px;
}

.page-id-12 .location-icon-wrap.hours,
.page-id-14 .location-icon-wrap.hours {
    margin-bottom: 20px !important;
}

h2.blog-grid-title {
    font-size: 24px;
    color: #fff !important;
    text-transform: none;
    line-height: 1.3;
    margin-bottom: 10px;
    margin-top: 0;
}

.mobile-overlay {
    display: none;
}

@media (max-width: 1280px) {

    .doc_grid-2 > div {
        width: calc(100% / 4 - 20px);
    }

}

@media (max-width: 1080px) {

    .doc_grid-2 > div {
        width: calc(100% / 3 - 20px);
    }

    .wp-block-image.img-50 figure {
        width: 100% !important;
    }

    /** Center images to avoid narrow text wrap **/
    .alignleft, .alignright, .aligncenter, .wp-block-image .alignright, .wp-block-image .alignleft {
        display: block;
        float: none;
        margin: auto;
        margin-bottom: 20px;
        text-align: center;
    }

    figcaption {
        display: block !important;
    }

    .blog-entry-wrapper {
        flex-wrap: wrap;
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        flex-direction: column-reverse;
    }

    .blog-entry-wrap, .featured-img-post {
        width: 100%;
    }

    .featured-img-post {
        margin-bottom: 0px;
        text-align: center;
    }

    .attachment-post-thumbnail {
        float: none;
    }

    .blog-entry-wrapper {
        -webkit-box-pack: center;
        justify-content: center;
    }

    .blog-title-excerpt, .blog-entry-wrap p {
        text-align: center;
    }

    .entry a.moretag {
        margin-left: auto;
        margin-right: auto;
    }

    .page-top-section .children-pages {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 991px) {

    .cataract_section {
        background-image: none;
    }

    .search-button-modal {
        margin-top: 1em;
        margin-left: 10px;
    }

    .modal__overlay {
        align-items: flex-start;
    }

    .modal__container {
        margin-top: 100px;
    }

    .services-single-image {
        display: flex;
        flex-direction: column-reverse;
    }

    .w--open .w-icon-nav-menu:before {
        content: "\e900";
    }

    aside {
        flex-basis: auto;
        width: 100%;
        border-left: none;
        padding: 1em 0;
    }

    .pillar-link-grid a {
        padding: 1.5em;
    }

    /* Blog Containers */
    .main-content {
        width: 100%;
        padding-right: 0;
    }

    .embed-container {
        max-width: 100%;
        padding-bottom: 56.25%;
    }

    /* Rollover LASIK Callouts */
    .colorbox {
        display: block;
        z-index: 99999999;
        -webkit-transform: translateX(0px) translateY(0px) translateZ(0px) !important;
        transform: translateX(0px) translateY(0px) translateZ(0px) !important;
        opacity: 1 !important;
    }

    .project-name {
        -webkit-transform: translateX(0px) translateY(0px) translateZ(0px) !important;
        transform: translateX(0px) translateY(0px) translateZ(0px) !important;
    }

    .home .doc_headline {
        margin-bottom: 1em;
    }
}

@media (max-width: 800px) {
    /** Stack Gutenberg Columns & Media Text **/
    .wp-block-columns {
        display: block
    }

    .wp-block-column {
        margin-left: 0px;
        margin-right: 0;
    }

    .wp-block-column:nth-child(2n) {
        margin-left: 0 !important;
    }

    .wp-block-media-text {
        display: -webkit-box !important;
        display: flex !important;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
        margin-bottom: 0;
    }

    .wp-block-media-text__media img, .wp-block-media-text__media video {
        padding-bottom: 30px;
    }

    .wp-block-media-text .wp-block-media-text__content {
        padding: 0;
    }

    /* Column Shadow Boxes Mobile */
    .box-columns .wp-block-column {
        margin-left: 0;
        margin-bottom: 20px;
        width: 100%;
        flex-basis: unset;
    }

    .wp-block-columns.box-columns {
        flex-wrap: wrap;
    }

    .box-columns .wp-block-column:not(:first-child) {
        margin-left: 0;
    }

}

@media (max-width: 767px) {

    p.welcome_callout_text {
        text-align: left;
        font-size: 1.4rem;
        line-height: 1.5;
    }

    .w-layout-cell.welcome_content_cell.right {
        margin-left: 0;
        padding-left: 0;
    }

    .center_wrapper.welcome {
        width: 100%;
    }

    .doc_grid-2 > div {
        width: calc(100% / 2 - 10px);
    }

    .inner_hero_section {
        margin-top: 0;
    }

    .side_btns_wrapper {
        margin-top: calc(var(--gl-banner-height) + 0px);
    }

    .breadcrumbs_wrapper {
        display: none;
    }

    .footer_div {
        align-items: center;
    }

    .locations_section, .footer_section-2 {
        padding-left: 5%;
        padding-right: 5%;

    }

    .inner-title-container {
        gap: 20px;
        grid-template-columns: 1fr;
    }

    .page-top-section .children-pages {
        grid-template-columns: 1fr;
    }

    .children-pages a.ui-button {
        padding: 15px;
    }

    figure.alignleft, img.alignleft, figure.alignright, img.alignright {
        float: none !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .kt-sc-textcol {
        margin: 0 !important;
    }

    .kt-row-column-wrap {
        max-width: 100% !important;
    }

    .wp-block-buttons > .wp-block-button {
        width: 100%;
    }

    .blog-grid-wrapper .grid-excerpt {
        max-width: 100%;
    }

}

@media only screen
and (min-device-width: 375px)
and (max-device-width: 667px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: landscape) {

}

@media (max-width: 479px) {

    .welcome_section {
        padding-top: 50px;
    }

    .welcome_headline {
        margin-bottom: 0.4em;
    }

    .blog_section {
        background: none;
    }

    .blog_main_headline {
        color: #000;
    }

    .welcome_img_div {
        opacity: 1 !important;
        transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg) !important;
        transform-style: preserve-3d;
    }

    :root {
        --gl-banner-height: 71px;

    }

    .inner_page_title {
        margin-bottom: 0;
        font-size: 2.2rem;
    }

    .inner-title-container .related-pages-bottom h3.related-title {
        color: #fff;
        text-transform: uppercase;
        font-size: 15px;
        margin-bottom: 12px;
    }

    .inner-title-container .related-pages-bottom ul {
        font-size: 14px;
        gap: 5px;
    }

    .inner-title-container .related-pages-bottom ul li {
        margin: 0 0 5px;
    }

    .inner_hero_section {
        padding: 20px 0 30px 0;
    }

    .standard-inner-wrapper {
        padding-top: 40px;
    }

    .kb-row-layout-wrap {
        margin-bottom: 40px !important;
    }

    .kb-row-layout-wrap .kb-row-layout-wrap {
        margin-bottom: 0 !important;
    }

    .kb-row-layout-wrap.kt-row-has-bg > .kt-row-column-wrap {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .side_btns_wrapper {
        flex-direction: row;
    }

    .side_btn {
        text-align: center;
        height: auto;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 0.6rem;
        padding: 5px;

    }

    .side_btn_icon_grey {
        margin: 0;
    }

    .doc_img_div-2 {
        height: auto;
    }

    .doc_img_div-2 img {
        aspect-ratio: 4 / 4;
    }

    body {
        font-size: 16px;
    }

    a.ui-button, a.wp-block-button__link, .entry a.moretag {
        width: 100%;
    }

    .featured-img-post {
        float: none;
        margin: 0 0 30px 0;
        text-align: center;
    }

    .hero_section,
    .bg_hero_movie {
        height: auto;
    }

    .hero_section {
        position: relative;
    }

    .w-background-video > video {
        height: auto;
        aspect-ratio: 16/9;
        position: static;
    }

    .main_tagline_wrapper {
        bottom: auto;
        top: 250px;
    }

    .mobile-overlay {
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.3);
    }
}

