/*
Theme Name: Glacial Theme
Author: Glacial Multimedia
Author URI: https://glacial.com
Description: Your custom created WordPress theme from Glacial Multimedia.
Version: 2.0.3
Text Domain: glacialtheme
 */

body {
    --main-button-color: #fff;
    --main-button-background-color: #005d95;
    --main-button-background-color-hover: #023253;
    --sidebar-background: #fff;
    font-family: "Open Sans", sans-serif;
}

.kb-gallery-id-_bc2ace-02 .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner .kadence-blocks-gallery-item__caption {
    color: #023253 !important;
    background: linear-gradient(0deg, #ffffff 0, rgba(255, 255, 255, 0) 100%);
    font-size: 20px !important;
}

.entry .kb-gallery-item-link:hover .kadence-blocks-gallery-item__caption {
    background: #005D95 !important;
    color: #fff !important;
}

.entry .kb-gallery-id-_bc2ace-02 .kadence-blocks-gallery-item {
    padding: 36px;
}

.quick-contact-footer {
    min-height: 600px;
}
/*

.entry .kb-gallery-ul .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner figure .kb-gallery-image-contain.kadence-blocks-gallery-intrinsic img {
    object-fit: contain;
}

.entry .brown-background .kb-gallery-ul .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner figure .kb-gallery-image-contain.kadence-blocks-gallery-intrinsic img {
    object-fit: contain;
    object-position: bottom;
    background: #42241b;
}
*/


#calculator_small {
    width: 326px;
    height: 232px;
    background: url("http://www.carecredit.com/assets/views/home/payment-calculator.jpg") no-repeat;
    font-family: 'Myriad Pro', sans-serif;
}

#calculator_small h2 {
    font-weight: bold;
    color: #FFF;
    font-size: 36px;
    line-height: 40px;
    margin-bottom: 10px;
    margin-top: 0;
    border: 0;
    padding: 0;
    float: left;
    text-align: left;
}

#calculator_small #input-amount-field {
    width: 100%;
    background: url("http://www.carecredit.com/assets/views/home/payment-calculator-input.png") no-repeat;
    margin-bottom: 10px;
    height: 44px;
    margin-right: 30px;
    border: none;
    padding: 10px;
    font-size: 16px;
}

#calculator_small #submit-field {
    font-family: 'Myriad Pro', sans-serif;
    font-size: 16px;
    opacity: 0.9;
    color: #fff;
    font-weight: 300;
    text-decoration: none;
    padding: 11px 18px;
    min-width: 46px;
    background-color: #00ac9d;
    border-radius: 5px;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
    float: left;
}

::-webkit-input-placeholder {
    color: #ABABAB;
    font-family: 'Myriad Pro', sans-serif;
    font-size: 16px;
}

:-moz-placeholder { /* Firefox 18- */
    color: #ABABAB;
    font-family: 'Myriad Pro', sans-serif;
    font-size: 16px;
}

::-moz-placeholder { /* Firefox 19+ */
    color: #ABABAB;
    font-family: 'Myriad Pro', sans-serif;
    font-size: 16px;
}

:-ms-input-placeholder {
    color: #ABABAB;
    font-family: 'Myriad Pro', sans-serif;
    font-size: 16px;
}

#calculator_small #submit-field:hover {
    opacity: 0.7;
}

#calculator_small #content1 {
    padding: 25px;
}

.related_page_link.current-page {
    color: #000;
}

figure.wp-block-gallery {
    margin-top: 4em;
}

.entry .related_page_link {
    text-decoration: none;
}

.wp-block-columns {
    margin-bottom: 4em
}

.wp-block-columns .wp-block-columns:last-of-type {
    margin-bottom: 0
}

.wp-block-columns .wp-block-columns, .wp-block-columns .wp-block-columns:first-of-type {
    margin-bottom: 3em;
}

.skip-link {
    position: absolute;
    top: -9999px;
    left: -9999px;
    transition: 0s;
}

.skip-link:focus {
    padding: 1em 2em;
    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, .footer_section {
    max-width: 1350px;
    width: 90%;
    margin: 0 auto;
}

.full-width-wrapper, .standard-inner-wrapper {
    padding-top: 11em;
    padding-bottom: 5em;
}

.blog-logo {
    max-width: 270px;
}

/* Related Pages bottom */

.related-pages-bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.related-pages-bottom h2 {
    width: 100%;
}

.entry .related-pages-bottom h3 {
    margin: 0;
}

.entry .related-pages-bottom ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    height: 100%;
    align-items: center;
}

.related-pages-bottom ul li {
    margin-left: 1em;
}

/* Pillar Link Buttons*/

.entry .pillar-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    grid-gap: 1.5em;
    grid-auto-rows: 1fr;
}

.entry .pillar-link-grid a.ui-button, .entry .pillar-link-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    width: 100%;
    height: 100%;
    padding: 2em;
}

/* Blog containers */
.main-content {
    width: 70%;
}

aside {
    background: #fff;
    width: 23%;
    padding: 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(--main-button-background-color);
    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
}

a {
    transition: all 200ms ease;
    -o-transition: all 200ms ease;
}

.entry a {
    color: #437AB2;
}

.entry p a {
    font-weight: bold;

}

.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 {
    color: var(--main-button-color);
    font-size: 1em;
    margin: 0 auto;
    border-radius: 0;
    text-transform: uppercase;
    display: inline-block;
    padding: 1em 1.2em;
    text-align: center;
    text-decoration: none;
    background: var(--main-button-background-color);
}

a.ui-button:hover, a.wp-block-button__link:hover, .entry a.moretag:hover {
    color: var(--main-button-color);
    background: var(--main-button-background-color-hover);
    box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.15);
}

.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;
}

.doctor-featured-image {
    float: right;
    margin: 0 0 30px 20px;
}

/* Alignment End */

.embed-container {
    position: relative;
    padding-bottom: 60.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    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: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-wrap: wrap;
    justify-content: space-around;
}

.flex-wrapper .ui-button, .flex-wrapper .wp-block-button {
    width: 260px;
    margin-right: 0 !important;
    display: flex !important;
    justify-content: 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: flex !important;
    justify-content: center;
    align-items: center;
}

.flex-item {
    text-align: center;
    margin-bottom: 30px;
}

.featured-img-post {
    float: right;
    margin: 0 0 8px 15px;
}

#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, #f0f0f0, #8c8b8b, #f0f0f0);
    background-image: -moz-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
    background-image: -ms-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
    background-image: -o-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
}

.search-form {
    margin-bottom: 30px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.search-field, .search-submit {
    height: 35px;
}

.search-field {
    border-radius: 0;
    border: 1px solid #666;
}

.search-submit {
    -webkit-appearance: none;
    border: none;
    cursor: pointer;
    background: var(--main-button-background-color);
    color: var(--main-button-color);
    transition: all 200ms ease;
}

.search-submit:hover {
    background: var(--main-button-background-color-hover);
}

.menu-footer-menu-container {
    width: 100%;
}

.sb-link.current-page {
    color: var(--main-button-background-color-hover);
}

.menu-item-has-children > a:after {
    color: #000;
    content: '\e603';
    font-size: 12px;
    vertical-align: 1px;
    font-family: 'webflow-icons';
    margin-left: 5px;
}

/* Add class to make sure dropdown stays on screen see glacial.js */
#navigation ul li.edge ul.sub-menu {
    left: auto;
    right: 1em !important;
}

/* Dropdown Menus End */

/* Full Width Blocks Template Stuff*/
.entry-content > * {
    margin-left: auto;
    margin-right: auto;
}

.wp-block-group__inner-container {
    margin: 0 auto;
}

.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
    max-width: 48rem;
    width: calc(100% - 2rem);
}

.entry-content > .alignwide {
    max-width: 64rem;
    width: calc(100% - 2rem);
}

.entry-content > .wp-block-group.alignfull.has-background {
    padding: 2rem;
    margin-bottom: 0;
    margin-top: 0;
}

[class*="__inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
    max-width: 58rem;
    width: 100%;
}

[class*="__inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright) {
    margin-left: auto;
    margin-right: auto;
}

.wp-block-group.has-background {
    padding: 2rem;
}

.nav-links {
    display: flex;
    justify-content: space-between;
}

.brand > img {
    max-width: 200px;
}

.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);
    transition: all 400ms ease;
    -webkit-transition: all 400ms ease;
    -moz-transition: all 400ms ease;
    -ms-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(--main-button-background-color);
    padding: 30px 30px 0 30px;
    margin: 0 0 30px 0;
    display: block;
}

.box-solid {
    background-color: var(--main-button-background-color);
    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(--main-button-background-color) !important;
}

.box-solid .ui-button:hover, .box-solid .wp-block-button__link:hover {
    background: var(--main-button-background-color-hover) !important;
    color: var(--main-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;
    -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;
}

#breadcrumbs a {
    font-weight: 400;
}

#breadcrumbs {
    font-size: 14px;
}

/**** STYLE OVERRIDES ****/

/*** Home ***/

/*** Secondary Pages ***/

/*** Footer ***/

@media (max-width: 1080px) {
    /** Center images to avoid narrow text wrap **/
    .alignleft, .alignright, .aligncenter, .wp-block-image .alignright, .wp-block-image .alignleft, .doctor-featured-image {
        display: block;
        float: none;
        margin: auto;
        margin-bottom: 20px;
        text-align: center;
    }

    figcaption {
        display: block !important;
    }
}

@media (max-width: 991px) {

    .flex-column-mobile {
        flex-direction: column;
    }

    .wp-block-columns {
        flex-wrap: wrap;
    }

    .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:only-child) {
        flex-basis: 100% !important;
        flex-grow: 0;
    }

    .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:first-child) {
        margin-left: 0;
    }

    .wp-block-columns.wp-column-reverse {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }

    .wp-block-columns .wp-block-columns:last-of-type {
        margin-bottom: 0
    }

    .wp-block-columns .wp-block-columns, .wp-block-columns .wp-block-columns:first-of-type {
        margin-bottom: 2em;
    }

    .pillar-link-grid a {
        padding: 1.5em;
    }

    /* Blog Containers */
    .main-content {
        width: 100%;
        padding-right: 0;
    }

    aside {
        padding: 1em 0;
        width: 100%;
    }

    .w-nav-overlay .w--nav-menu-open, .w-nav-overlay [data-nav-menu-open] {
        top: 98px;
    }

    .w-nav-menu {
        height: 100%;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        position: fixed;
    }

    .menu-item-has-children > a:after {
        display: none;
    }

    .navmenu {
        background-color: #005d95;
    }

    #navigation ul {
        display: block;
    }

    #navigation ul li {
        float: none;
        width: 100%;
        display: block;
        text-align: center;
        background: #fff;
    }

    #navigation ul li:hover ul {
        display: none;
    }

    .menu-main-navigation-container > ul {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .menu-main-navigation-container {
        background-color: #393be5;
    }

    #navigation ul li a {
        padding: 30px 50px 10px 0px;
        text-align: right;
    }

    #navigation ul li {
        width: 100%;
        text-align: right;
    }

    #navigation ul li ul {
        width: 100%;
        position: relative;
        padding-top: 0px;
        margin-top: 0px;
    }

    #navigation ul li:hover ul {
        position: relative;
        display: none;
    }

    #navigation ul ul li a {
        width: 100% !important;
        padding-right: 50px;
    }

    #navigation ul li:hover a {
        width: 100%;
    }

    .menu li.has-children > a:after {
        display: none;
    }

    #navigation ul ul li:hover ul, #navigation ul li:hover ul li:hover ul {
        display: none;
    }

    /* Drop Down Arrows  Mobile */
    /* Drop Down Arrows */
    #navigation > ul > li > a:hover, #navigation > ul > li.active > a, #navigation > ul > li.open > a {
        color: #eeeeee;
        background: #1fa0e4;
        background: -webkit-linear-gradient(#1fa0e4, #1992d1);
        background: -moz-linear-gradient(#1fa0e4, #1992d1);
        background: -o-linear-gradient(#1fa0e4, #1992d1);
        background: -ms-linear-gradient(#1fa0e4, #1992d1);
        background: linear-gradient(#1fa0e4, #1992d1);
    }

    #navigation > ul > li.open > a {
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.15);
        border-bottom: 1px solid #1682ba;
    }

    li.open .holder {
        transform: rotate(180deg);
    }

    .holder {
        position: absolute;
        top: 10px;
        right: 0px;
        z-index: 1000;
        width: 60px;
        height: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #222;
        transition: all 350ms ease;
    }

    .holder::before {
        display: inline-block;
        content: "";
        width: 6px;
        height: 6px;
        right: 20px;
        z-index: 10;
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        -ms-transform: rotate(-135deg);
        -o-transform: rotate(-135deg);
        transform: rotate(-135deg);
        color: #222;
    }

    .holder::after {
        top: 17px;
        border-top: 2px solid #ffffff;
        border-left: 2px solid #ffffff;
    }

    #navigation > ul > li > a:hover > span::after, #navigation > ul > li.active > a > span::after, #navigation > ul > li.open > a > span::after {
        border-color: #eeeeee;
    }

    .holder::before {
        top: 18px;
        border-top: 2px solid;
        border-left: 2px solid;
        border-top-color: inherit;
        border-left-color: inherit;
    }

    #navigation > ul > li > a:hover > span::after, #navigation > ul > li.active > a > span::after, #navigation > ul > li.open > a > span::after {
        border-color: #eeeeee;
    }

    #navigation ul ul li:hover > a, #navigation ul ul li.open > a, #navigation ul ul li.active > a {
        background: #424852;
        color: #ffffff;
    }

    #navigation > ul > li > ul > li.open:last-child > a, #navigation > ul > li > ul > li.last.open > a {
        border-bottom: 1px solid #32373e;
    }

    #navigation > ul > li > ul > li.open:last-child > ul > li:last-child > a {
        border-bottom: 0;
    }

    #navigation ul ul li.active > a::after, #navigation ul ul li.open > a::after, #navigation ul ul li > a:hover::after {
        border-color: #ffffff;
    }

    .embed-container {
        max-width: 100%;
        padding-bottom: 56.25%;
    }

    /* Rollover LASIK Callouts */
    .colorbox {
        display: block;
        z-index: 99999999;
        transform: translateX(0px) translateY(0px) translateZ(0px) !important;
        opacity: 1 !important;
    }

    .project-name {
        transform: translateX(0px) translateY(0px) translateZ(0px) !important;
    }

    .w--open .w-icon-nav-menu:before {
        content: "\e900";
    }

}

@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: flex !important;
        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) {

    .kb-gallery-id-_bc2ace-02 .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner .kadence-blocks-gallery-item__caption {
        font-size: 16px !important;
    }

    .entry .kb-gallery-id-_bc2ace-02 .kadence-blocks-gallery-item {
        padding: 4px;
    }

    .breadcrumbs_wrapper {
        margin-bottom: 2em;
    }

    .full-width-wrapper, .standard-inner-wrapper {
        padding-top: 8em;
        padding-bottom: 3em;

    }

    .w-nav-overlay .w--nav-menu-open, .w-nav-overlay [data-nav-menu-open] {
        top: 70px;
    }

    .kt-sc-textcol {
        margin: 0 !important;
    }

    .kt-row-column-wrap {
        max-width: 100% !important;
    }

    .wp-block-buttons > .wp-block-button {
        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) {

    .featured-img-post {
        float: none;
        margin: 0 0 30px 0;
        text-align: center;
    }
}


