/*
Theme Name: Georgia Retina
Template: glacial-theme
Template URI: https://glacial.com
Description: Glacial Child Theme
Author: Glacial Multimedia
Author URI: https://glacial.com
Version: 1.0
*/

:root {
    --gl-inner-pad-top: 3rem;
    --gl-max-width: 1500px;
    --gl-svg-color: #4879c9;

    --gl-button-color: #fff;
    --gl-button-bg: #003c71;
    --gl-button-color-hover: #fff;
    --gl-button-bg-hover: #000;
}

.cta-strip-link._2 {
    width: auto;
    flex: 1;
}

.single-location-content ul.services-list {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.single-location-content ul.services-list li {
    line-height: 1;
    height: 100%;
    margin-bottom: 0;
}

.single-location-content ul.services-list a {
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
}

.single-location-content ul.services-list a:hover {
    background: #003c71;
    color: #fff;
}

.top-nav-buttons-right {
    gap: 10px;
    margin-left: 10px;
}

.nav-link-1 {
    margin-right: 0;
}

.featured-img-post img {
    width: auto;
    max-height: 200px;
}

.page-id-672 .wp-block-kadence-posts .loop-entry .post-thumbnail img {
    max-height: 220px;
    width: auto;
}

.ip-header {
    background-color: rgba(91, 127, 149, .1);
    padding: 180px 0 50px;
}

.ip-header > div {
    justify-content: space-between;
    align-items: stretch;
    display: flex;
    width: 90%;
    margin: auto;
    max-width: var(--gl-max-width);
}

.single-post .ip-header-left {
    width: 100%;
}

.recent-posts-sidebar li {
    line-height: 1.3;
    margin-bottom: 20px;
}

.mobile-text {
    display: none;

}

.text-nav-button {
    display: none;
}

body .wp-gr.wpac {
    height: auto !important;
    margin-bottom: 3rem;
}

.location-featured-image img {
    width: 100%;
    max-width: 400px;
}

.related-pages-div h4 {
    width: 100%;
}

.wp-gr .grw-review .wp-google-feedback {
    height: auto !important;
}

.wp-gr[data-layout="grid"] .grw-reviews {
    align-items: start;
}

.wp-gr .grw-row-l .grw-review {
    align-self: stretch;
    align-items: stretch !important;
}

.wp-block-image .alignright {
    float: right;
    margin: 1.2em 0 2em 3em;
}

.gallery-align-center .kb-gallery-ul {
    align-items: center !important;
}

.related-parent-page {
    display: none;
}

.wp-block-buttons {
    margin-bottom: 2rem;
}

.kt-inside-inner-col p:last-child {
    margin-bottom: 0;
}

.kb-row-layout-wrap + .kb-row-layout-wrap {
    margin-top: 3rem;
}

#navigation .doctors-menu ul,
#navigation .conditions-menu ul,
#navigation .locations-menu ul {
    column-count: 3;
    background: #003c71;
    width: max-content;
}

#navigation .conditions-menu ul {
    column-count: 2;
}

.gl-top-level > li.edge.locations-menu > ul {
    left: auto;
    right: -131px;
}

.eyesouth-svg-icon {
    color: var(--gl-svg-color);
}

.nav-link-2 .eyesouth-svg-icon {
    color: #fff;
}

.phone-link-footer,
.fax-div-footer-copy {
    display: flex;
    gap: 5px;
}

.page-links ul {
    line-height: 1.3;
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.page-links ul a {
    padding: 3px 6px;
    display: block;
    color: #003c71;
    text-decoration: none;
    font-size: 16px;
    font-weight: 6500
}

.page-links ul a:hover,
.page-links ul a.current-page {
    background: #003c71;
    color: #fff;
}

#breadcrumbs {
    color: #7c690d;
    line-height: 1.3;
    margin-bottom: 10px;
}

#breadcrumbs a {
    text-decoration: none;
    color: #003c71;
}

#breadcrumbs > span {
    font-weight: 600;
    display: flex;
    gap: 20px;
    flex-flow: wrap;

}

.active-trials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.clinical-trial-h4 {
    text-transform: none;
    font-size: 1.3rem;
    line-height: 1.4;
}

ul.clinical-2-col {
    column-count: 3;
    gap: 2rem;
}

.blog-photo-div img {
    aspect-ratio: 16/9;
    object-fit: contain;
    width: 100%;
    height: 100%;
    background: #e5ebf1;
}

picture.home-hero {
    display: block;
    height: 100%;
}

.hero-mobile-img {
    --top-offset: 60px;
    height: calc(100% - var(--top-offset));
    margin-top: var(--top-offset);
}

.hero-mobile-img img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.feat-serv-list {
    margin-bottom: 15px;
}

.top-nav-buttons-right svg,
.cta-strip-link svg {
    margin-right: 10px;

}

.glacial-top-banner {
    z-index: 3000;
}

.grid-excerpt img.post-logo, .grid-excerpt .post-logo img {
    background: #fff;
    padding: 10px;
}

.services-single-image {
    border: 0;
    display: block;
    grid-template-columns: auto;
    width: 100%;
}

.services-single-image .links {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    grid-template-rows: repeat(4, auto);
    align-items: start;
    list-style: none;
    padding-left: 0;
    border: 0;
    gap: 10px;
}

.services-single-image .links a {
    width: auto;
    display: flex;
    height: 100%;
}

.services-single-image picture {
    display: inline;
}

.services-single-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.services-single-image > div:nth-child(2) {
    display: none;
}

.body, .entry p, .entry li {
    font-size: 18px;
}

.entry ul {
    padding-left: 25px;
}

.doctor-specialties-locations ul, .single-location-info ul {
    padding-left: 0;
}

.featured-service-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1em 1.5em
}

.featured-service-buttons .button {
    display: inline-flex;
    align-items: center;
}

.icon-button {
    padding-top: 10px;
    padding-bottom: 10px;
}

.icon-button img {
    margin-right: 10px;
}

.footer-headline-div {
    margin-bottom: 20px;
}

.alignfull.w-90 > .kt-row-column-wrap {
    width: 90%;
    margin-right: auto;
    margin-left: auto;
    padding-left: 0;
    padding-right: 0;
}

.entry .image-best,
.entry .image-14,
.entry .image-ocu {
    height: 100%;
}

.list-style-none {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1em;
}

.alignfull.p-lr-0 > .kt-row-column-wrap {
    padding-right: 0;
    padding-left: 0;

}

.kb-row-layout-wrap.full-right-div .kt-row-column-wrap > div:first-of-type {
    padding-left: 10%;
    /*max-width: 734px;*/
}

.has-hero .standard-inner-wrapper {
    padding-top: 0;
}

body {
    overflow-x: hidden;
}

picture {
    display: block;
}

picture.doc_img {
    display: block;
    height: 100%;
}

.site-navigation ul ul a {
    line-height: 1.4;
}

.ip-header h1 {
    font-size: clamp(1.8rem, 0.8400rem + 3.2000vw, 3rem);
    line-height: 1.2;
    margin-bottom: 0.6em;
    color: var(--main-blue);
    margin-top: 0;
    font-family: bookmania, sans-serif;
    font-weight: 400;
}

h1.home-h1 {
    color: var(--main-blue);
    margin-top: 0;
    margin-bottom: 20px;
    font-family: bookmania, sans-serif;
    font-size: clamp(2rem, 0.8400rem + 3.2000vw, 3rem);
    font-weight: 400;
    line-height: 1.2em;
}

.entry h2 {
    font-size: clamp(1.5rem, 0.7800rem + 2.4000vw, 2.4rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.entry h2:not(:first-of-type) {
    padding-top: 3rem;
}

.entry > h2:not(.wp-block-columns + h2):not(.kb-row-layout-wrap + h2):not(.entry > h2:first-of-type) {
    padding-top: 1em;
}

.entry h3 {
    font-style: normal;
    color: #434d65;
    letter-spacing: 1px;
    font-size: clamp(1.2rem, 0.5600rem + 2.1333vw, 1.7rem);
    font-weight: 600;
    margin-bottom: 0.4em;
}

.page-template-oculoplastics-page h3,
.page-template-cataracts-page h3 {
    font-style: italic;
    font-size: clamp(1.2rem, 0.5600rem + 2.1333vw, 1.5rem);
    font-weight: 300;
}

.entry h4 {
    margin-bottom: 15px;
}

.entry .max-width-inner-col {
    max-width: 730px;
    margin-right: 0;
    margin-left: auto;
    width: 90%;
}

figure.object-cover {
    height: 100%;
}

.object-cover img, .object-cover picture {
    object-fit: cover;
    width: 100%;
    height: 100%;

}

.entry figure {
    margin: 0;
}

.doc_img {
    margin-left: auto;
    margin-right: auto;
}

.glacial-top-banner {
    padding: 0;
    align-items: initial;
}

.nav-menu {
    box-shadow: 0px 0px 3px 1px #ffffff24;
}

.glacial-skip-link.w-tab-link {
    position: absolute;
}

a.ui-button, a.wp-block-button__link, .entry a.moretag {
    margin: 0;
}

.footer {
    position: relative;
    z-index: 100;
}

.bottom-cta-strip-new {
    z-index: 111;
    position: fixed;
}

.footer-wrapper-div {
    /*max-width: var(--gl-max-width);*/
}

.footer-menu-small a {
    padding-right: 10px;
}

.footer-menu-small a:not(:first-child) {
    padding-left: 10px;
}

.footer-menu-small a:not(:last-child) {
    border-right: 1px solid #fff;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

#footer, section:not(.welcome-section) {
    overflow: hidden;
}

.image-hp-service img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.feature-flex-reverse {
    flex-direction: row-reverse;
}

.new-doc-patient-holder {
    width: 430px;
}

.service-hero {
    z-index: 200;
    margin-top: 60px;
    height: calc(100vh - 60px);
    background-position: 100% 0;
    background-repeat: no-repeat;
    background-size: cover;
    align-items: center;
    padding: 100px 5%;
    display: flex;
    position: relative;
}

.entry .button {
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    background-color: var(--gl-button-bg);
    color: var(--gl-button-color);
    padding: 15px 30px;
    line-height: 1.2em;
}

.entry .button:hover {
    background-color: var(--gl-button-bg-hover);
    color: var(--gl-button-color-hover);
}

.entry .white-button a,
.entry a.button.white {
    background: #fff;
    color: #434d65;
}

.entry .white-button a:hover,
.entry a.button.white:hover {
    background: #1a1e26;
    color: #fff;
}

.top-floating-button {
    position: fixed;
    bottom: 93px;
    right: 1px;
    font-size: 14px;
    padding: 1px 6px;
}

a.ui-button {
    line-height: 1.3;
}

.pillar-link-grid.is-layout-flex {
    display: grid;
    grid-gap: 1em;
    grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));

}

.children-pages a.ui-button,
.pillar-link-grid.is-layout-flex a.wp-block-button__link {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 1.2em 10px;
}

.pillar-link-grid.is-layout-flex .wp-block-button {
    width: 100%;
    height: 100%;

}

.w-tabs a {
    text-decoration: none;
}

.entry .how-do-i-know-wrapper-div .tab-link-2 {
    color: #fff;
}

.wp-block-kadence-image.img-50 figure {
    width: 49% !important;
}

.entry :where(.wp-block-columns),
.entry .kb-row-layout-wrap {
    margin-bottom: 4em;
}

.entry .kb-row-layout-wrap + h2,
.entry .wp-block-columns + h2 {
    padding-top: 0;
}

.best-procedure-wrapper-jm {
    max-height: 100%;
}

.more-cataract-info-section {
    padding-bottom: 0;
}

.doc_description_text {
    font-size: 1rem;
}

.menu-col-2 ul.gl-dropdown-1 {
    width: 450px;
    column-count: 2;
    background: var(--lvl-1-bg-color);
}

.what-is-bleph-section {
    min-height: 850px;
}

#navigation .nav-mobile-only {
    display: none;
}

.side-bar-grid {
    display: grid;
    grid-template-columns: .7fr .3fr;
    grid-gap: 3em;
}

.side-bar-grid > div:nth-child(2) h3 {
    font-size: 20px;
    text-transform: none;
}

.side-bar-grid > div:nth-child(2) h2 {
    padding-top: 0;
}

.side-bar-grid > div:nth-child(2) hr {
    margin-top: 0;
    margin-bottom: 30px;
}

.side-bar-grid .list-style-none li {
    line-height: 1.2;
    margin-bottom: 2px;
}

.side-bar-grid .list-style-none li a {
    padding: 5px 0 5px 5px;
    display: block;
}

.trial-accordion-content {
    display: none;
}

.trial-accordion {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 1em;
    background: var(--main-blue);
    color: #fff;
    line-height: 1.4;
}

.trial-accordion svg {
    transition: 0.4s;
}

.trial-accordion.active svg {
    transform: rotate(180deg);
}

.faq-question-text {
    text-align: left;
}

.faq-accordion-icon {
    display: flex;
    align-items: center;
}

.trial-accordion:hover,
.trial-accordion.active {
    background: #000;
}

@media screen and (max-width: 1400px) {

    ul.clinical-2-col {
        column-count: 2;
        gap: 2rem;
    }

    .iframe-map-footer {
        height: 250px;
        padding-bottom: 0;
    }

}

@media screen and (max-width: 1200px) {
    .services-single-image .links {
        grid-template-rows: repeat(6, auto);
    }

}

@media screen and (max-width: 991px) {

    .site-navigation ul ul .toggle-dropdown {
        display: flex;
        visibility: visible;
        background: #000;
    }

    .site-navigation ul ul .toggle-dropdown svg {
        transform: rotate(0deg);
    }

    .site-navigation ul ul .toggle-dropdown.toggled-on svg {
        transform: rotate(180deg);
    }

    #navigation ul.sub-menu.gl-dropdown-2 {
        display: none;
    }

    #navigation ul.sub-menu.gl-dropdown-2.toggled-on {
        display: block;
    }

    .site-navigation ul ul li {
        padding-top: 2px;
        padding-bottom: 2px;
    }

    .hero-mobile-img {
        height: 100%;
    }

    .hero-mobile-img picture {
        display: block;
    }

    .hero-mobile-img img {
        object-fit: cover;
        height: 100%;
    }

    .body, .entry p, .entry li {
        font-size: 16px;
    }

    .top-nav-buttons-right {
        height: 100%;
    }

    .nav-link-1, .nav-link-2 {
        padding: 7px;
        height: 50px;
    }

    .mobile-text {
        display: block;
        font-size: 12px;
        text-transform: uppercase;
    }

    .text-nav-button {
        display: block;
    }

    .nav-link-1 {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .side-bar-grid > div:nth-child(2) h3 {
        font-size: 18px;
    }

    #navigation .doctors-menu ul,
    #navigation .conditions-menu ul,
    #navigation .locations-menu ul {
        column-count: 1;
        width: 100%;
    }

    #breadcrumbs > span {
        font-weight: 600;
        font-size: 15px;
        display: flex;
        gap: 5px;
    }

    .top-nav-buttons-right svg,
    .cta-strip-link svg {
        margin-right: 0;
    }

    .cta-strip-link svg {
        display: none;
    }

    #navigation .nav-mobile-only {
        display: flex;
    }

    .what-is-bleph-section {
        min-height: auto;
    }

    .menu-col-2 ul.gl-dropdown-1 {
        width: 100%;
        column-count: 1;
        background: var(--mobile-bg-color);
    }

    .entry :where(.wp-block-columns),
    .entry .kb-row-layout-wrap {
        margin-bottom: 2em;
    }

    .service-hero {
        align-items: flex-end;
        padding-bottom: 2%;
        padding-left: 2%;
        padding-right: 2%;
    }

    .feature-flex-reverse {
        flex-direction: column;
    }

    :root {
        --gl-inner-pad-top: 5rem;
    }

    .image-hp-service img {
        object-position: center;
    }

    .w-nav[data-collapse="medium"] .w-nav-button {
        display: flex;
        align-items: center;
    }

    .site-navigation {
        padding-left: 0;
    }

    .sta-div-holder {
        margin-left: 2em;
    }

    .nav-cta {
        margin-right: 1em
    }

    .w-nav-button.w--open {
        background-color: transparent;
        color: #333;
    }

    .site-navigation .gl-dropdown-1 > li > a {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .site-navigation ul ul a {
        font-size: 16px;
    }

    .site-navigation ul li a {
        padding: 10px;
    }

}

@media screen and (max-width: 767px) {

    .services-single-image .links {
        grid-auto-flow: row;
        grid-template-rows: auto;
    }

    .ip-header > div {
        flex-direction: column;
    }

    .ip-header-left {
        margin-bottom: 10px;
    }

    .related-pages-div {
        width: 100%;
    }

    .entry hr {
        margin: 20px auto;
    }

    .side-bar-grid {
        grid-template-columns: 1fr;
    }

    .image-hp-service img {
        height: 400px;
        object-position: bottom;
    }

    .hero {
        margin-top: 0;
        padding-top: 50px
    }

    ._3-boxes-holder-2 {
        flex-direction: column-reverse;
    }

    ._3-boxes-holder-2 .button {
        margin-top: 20px;
    }

    .entry p, .entry li {
        font-size: 16px;
    }

    .entry .max-width-inner-col {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    .service-hero {
        height: 600px;
    }

    .new-doc-patient-holder {
        width: 235px;
    }

    :root {
        --gl-inner-pad-top: 4rem;
    }

    .iframe-map-footer {
        height: 250px;
        width: 100%;
        flex: auto;
        padding-bottom: 0;
    }
}

@media screen and (max-width: 479px) {

    .ip-header {
        padding: 140px 0 40px;
    }

    .featured_2052 .service-wrapper-div {
        min-height: 600px;
    }

    .service-wrapper-div > div:nth-child(2) {
        height: max-content;
    }

    .entry h2:not(:first-of-type) {
        padding-top: 2rem;
    }

    .standard-inner-wrapper {
        padding-top: calc(var(--gl-inner-pad-top) - 2rem);
    }

    .nav-top-div {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    ul.clinical-2-col {
        column-count: auto;
        line-height: 1;
    }

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

    .hero-content-div {
        background: none;
        height: auto;
        min-height: auto;
        padding: 110px 0;
    }

    .buckets-info-section {
        padding-top: 5%;
    }

    .hero-mobile-img {
        object-fit: cover;
        width: 100%;
        max-height: 230px;
    }

    .hero {
        height: auto;
        padding-top: 50px;
        background-image: linear-gradient(0deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 63%, rgba(0, 0, 0, 0));
    }

    .service-hero {
        height: 600px;
    }

    .children-pages a.ui-button,
    .pillar-link-grid a.wp-block-button__link {
        padding: 10px;
    }

    .doc-slide-jm {
        width: 50%;
    }

    .blog-grid .blog-grid-wrapper {
        grid-template-columns: 1fr;
    }

    .cta-strip-link._2-phone {
        padding: 18px 5px;
    }

}


/* Mobile phone call and popup box */

.nav-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.nav-dialog-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 24px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
}

.nav-dialog-text{
font-size:1em;
}

.nav-dialog-click{
    text-decoration: underline !important;
}

.nav-dialog-option {
    display: block;
    width: 100%;
    padding: 16px;
    margin: 8px 0;
    background: #f0f5ff;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: background-color 0.2s;
}

.nav-dialog-option:hover {
    background: #e0e7ff;
}

@media (max-width: 991px) {
    .desktop-call {
        display: none !important;
    }
    .mobile-call {
        display: flex !important;
    }
}

@media (min-width: 992px) {
    .mobile-call {
        display: none !important;
    }
    .desktop-call {
        display: block !important;
    }
}