.css-arrow {
    border: solid $anakiwa;
    border-width: 0 5px 5px 0;
    display: inline-block;
    padding: 10px;
}

.css-arrow-right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.css-arrow-left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

#breadcrumbs {
    border-bottom: 1px solid #707070;
    padding: 30px 0!important;

    .breadcrumb_last {
        font-weight: 700;
    }
}

.font-denim-libre {
    color: $denim;
    font: italic 18px/1.25 $libre;
    line-height: 30px;
    text-align: center;

    @include bp($bp-col12) {
        font: italic 30px/1.25 $libre;
        line-height: 37px;
        text-align: left;
    }
}

.font-yellow-avenir {
    color: $yellow;
    font: 800 22px/1.25 $avenir;
}

.font-yellow {
    color: $yellow!important;
}

.mb-1 {
    margin-bottom: 10px!important;
}

.mb-3 {
    margin-bottom: 30px!important;
}

.block-hero-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 193px;

    @include bp($bp-col12) {
        background-image: url('../library/images/hero-ophthalmology.jpg');
        height: 305px;
    }

    h1 {
        margin-bottom: 10px;

        @include bp($bp-col12) {
            margin-bottom: 40px;
            max-width: 75%;
        }
    }
}

.provider-cards {
    display: none;
    flex-wrap: wrap;

    @include bp($bp-col12) {
        display: flex;
    }

    >div {
        border: 2px solid $mercury;
        margin: 0 10px 20px 10px;
        padding: 15px;

        @include bp($bp-col12) {
            margin: 0 20px 40px 20px;
            width: calc(33.3% - 40px);
        }

        img {
            margin-bottom: 30px;
        }

        h3 {
            font: 700 18px/22px $libre;
            margin-bottom: 20px;
            padding-bottom: 0;

            @include bp($bp-col12) {
                font: 700 25px/31px $libre;
            }

            a {
                color: #323132;
                text-decoration: none;
            }
        }

        p {
            color: $denim;
            font-size: 22px;
            font-weight: 500;
        }
    }
}

.provider-cards-slider {
    position: relative;

    @include bp($bp-col12) {
        display: none;
    }

    .slide {
        border: 2px solid $mercury;
        margin: 0 40px 0 40px;
        padding: 15px;
        text-align: center;

        img {
            margin-bottom: 30px;
        }

        h3 {
            font: 700 18px/22px $libre;
            margin-bottom: 20px;
            padding-bottom: 0;

            a {
                color: #323132;
                text-decoration: none;
            }
        }
    }

    .slick-controls {
        position: absolute;
        top: 0;
        height: 100%;
        width: 100%;

        .slick-arrow {
            position: absolute;
            cursor: pointer;
            top: 50%;
            transform: translateY(-50%);

            &.arrow-prev {
                left: 0;
            }

            &.arrow-next {
                right: 0;
            }
        }
    }
}

.icon-cards {
    display: flex;
    flex-direction: column;
    align-items: center;

    @include bp($bp-col12) {
        flex-direction: row;
        justify-content: space-between;
    }

    li {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: linear-gradient(to left top, $denim, #273576);
        border-bottom: 5px solid $yellow;
        margin-bottom: 30px;
        width: 80%;
        padding: 40px;

        @include bp($bp-col12) {
            margin-bottom: 0;
            width: calc(33% - 20px);
        }

        svg {
            margin-bottom: 30px;
        }

        p {
            color: $white;
            padding-bottom: 0;
            font: 700 25px/31px $libre;
            text-align: center;
        }
    }
}

.image-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;

    >li {
        border: 2px solid $mercury;
        padding: 15px;
        margin-bottom: 30px;
        max-width: 360px;

        @include bp($bp-col12) {
            margin-bottom: 0;
        }

        img {
            margin-bottom: 20px;
            width: 100%;
            height: auto;
        }

        h3 {
            font: 700 18px/22px $libre;
            margin-bottom: 20px;
            padding-bottom: 0;
            text-align: center;

            @include bp($bp-col12) {
                font: 700 25px/31px $libre;
            }
        }

        ul {
            margin-bottom: 0;
        }
    }
}

.reviews-slider {
    position: relative;

    .slider {
        padding: 0 40px;

        @include bp($bp-col12) {
            padding: 0 60px;
        }
        
        .slick-track {
            display: flex;
            align-items: center;
    
            .slide {
                text-align: center;

                .quote {
                    font-style: italic;
                    padding-bottom: 15px;
                }

                .author {
                    font-weight: 500;
                    padding-bottom: 0;
                }
            }
        }
    }

    .slick-controls {
        position: absolute;
        top: 0;
        height: 100%;
        width: 100%;

        .slick-arrow {
            position: absolute;
            cursor: pointer;
            top: 50%;
            transform: translateY(-50%);

            &.arrow-prev {
                left: 4%;
            }

            &.arrow-next {
                right: 4%;
            }
        }
    }

    .slick-dots {
        display: flex !important;
        position: relative;
        bottom: 0;
        justify-content: center;
        align-items: center;
        list-style-type: none;
        padding: 0;
        margin: 0;

        li {
            cursor: pointer;
            display: flex;
            border: 2px solid rgba($anakiwa, 0);
            border-radius: 50%;
            padding: 2px;
            margin: 0 4px;
            transition: border-color 0.25s;

            &.slick-active {
                border-color: $anakiwa;
            }

            button {
                cursor: pointer;
                appearance: none;
                width: 14px;
                height: 12px;
                font-size: 0;
                background: $anakiwa;
                border: none;
                border-radius: 50%;
                outline: none;
                text-indent: -9999px;
            }
        }
    }
}

.alabaster-card {
    background-color: $alabaster;
    padding: 25px 15px;
    width: 100%;

    @include bp($bp-col12) {
        padding: 25px;
    }

    h3 {
        font: 700 20px/24px $libre;
        padding-bottom: 20px;
    }

    ul {
        @include bp($bp-col12) {
            column-count: 2;
            column-gap: 20px;
        }

        li {
            position: relative;
            margin-bottom: 10px;
            padding-left: 20px;

            &::before {
                position: absolute;
                left: 6px;
                content: "\2022";
                color: $anakiwa;
            }
        }
    }
}

.basic-accordion {
    margin: 0 auto;
    width: 100%;

    >li {
        background-color: $white;
        border: 2px solid $mercury;
        border-radius: 4px;
        margin-bottom: 20px;
        padding: 15px 20px;

        >h3 {
            position: relative;
            color: $denim;
            cursor: pointer;
            font: 800 22px/27px $avenir;
            padding-bottom: 0;
            max-width: calc(100% - 24px);

            &:after {
                content: "";
                position: absolute;
                right: -24px;
                top: 50%;
                width: 24px;
                height: 24px;
                background-image: url('../library/images/icon-plus.png');
                background-position: center center;
                background-repeat: no-repeat;
                transform: translateY(-50%);
            }

            &.active {
                &:after {
                    background-image: url('../library/images/icon-minus.png');
                    height: 4px;
                }
            }
        }

        >div {
            display: none;
            max-width: calc(100% - 40px);
            padding-top: 20px;

            p {
                &:last-of-type {
                    padding-bottom: 0;
                }
            }
        }
    }
}

.basic-list {
    margin-bottom: 20px;

    li {
        position: relative;
        padding-left: 20px;

        &::before {
            position: absolute;
            left: 6px;
            content: "\2022";
            color: $anakiwa;
        }
    }
}

.check-list {
    li {
        position: relative;
        margin-bottom: 20px;
        padding: 0 50px 0 30px;
        text-align: left;

        &::before {
            position: absolute;
            width: 13px;
            height: 13px;
            left: 8px;
            top: 5px;
            content: "";
            background-image: url('../library/images/check-green.png');
        }
    }
}

.icon-list {
    li {
        display: flex;
        justify-content: flex-start;

        >div {
            margin-bottom: 20px;

            svg {
                width: 65%;

                @include bp($bp-col12) {
                    width: 100%;
                }
            }

            h3 {
                color: $blue;
                font: 700 20px/26px $libre;

                @include bp($bp-col12) {
                    font: 700 30px/37px $libre;
                }
            }

            &:first-of-type {
                width: 70px;

                @include bp($bp-col12) {
                    width: 140px;
                }
            }

            &:last-of-type {
                width: calc(100% - 70px);

                @include bp($bp-col12) {
                    width: calc(100% - 140px);
                }
            }
        }
    }
}

.title-body-list {
    display: flex;
    flex-wrap: wrap;

    li {
        position: relative;
        margin: 0 0 20px 0;
        padding: 0 0 0 20px;

        &::before {
            position: absolute;
            left: 6px;
            content: "\2022";
            color: $anakiwa;
        }

        &:last-of-type {
            margin: 0;
        }

        @include bp($bp-col12) {
            padding: 0 50px 0 20px;
            width: 50%
        }

        h3 {
            color: #164B80;
            font: 700 20px/24px $libre;
        }

        p {
            padding-bottom: 0;
        }
    }
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;

    @include bp($bp-col12) {
        grid-template-columns: repeat(4, 1fr);
    }
}

#lasik-form {
    margin-top: 0;
    margin-bottom: 0;
    background: none;
    box-shadow: none;

    form {
        background-color: transparent;
        box-shadow: none;
        margin: 0 auto;
    }

    .form-title {
        background: none;
        max-width: 600px;
        line-height: normal;
        font-weight: bold;
        .primary {
            @include bp($bp-col12) {
                font-size: 36px;
            }
        }
        .intro {
            background: none;
            @include bp($bp-col12) {
                font-size: 27px;
            }
        }
    }

    .steps-slider {
        background: $white;
        padding: 24px;
        border-radius: 9px;
        margin-top: 25px;

        .slick-list {
            overflow: visible;
        }

        .step-index {
            position: relative;
            top: -50px;
            z-index: 999;

            span {
                background: $white;
                width: 64px;
                height: 64px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                font-size: 24px;
                font-family: $avenir;
                font-style: normal;
                font-weight: bold;
                border-width: 3px;
            }
        }

        .step-title {
            font-size: 28px;
            text-transform: uppercase;
            font-family: $avenir;
        }
    }

    .radio {
        .inner-radio {
            justify-content: center;
        }
        label {
            display: block;
            font-size: 21px;
            text-align: center;
            padding: 12px;
            font-weight: bold;
            i {
                display: none;
            }
        }
    }
    .button {
        .btn {
            background: #041f61;
            font-family: $avenir;
            font-style: normal;
            font-size: 18px;
            font-weight: bold;
            border-radius: 8px;
            padding: 12px 48px;
            &:hover {
                background: #041f61;
            }
        }
    }
}

.appointment-form {
    display: flex;
    flex-wrap: wrap;
    background-color: #F9F9F9;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, .16);

    .body {
        color: $white;
        background: linear-gradient(0deg, #0E7EBC, #273576);
        padding: 40px;
        width: 100%;

        @include bp($bp-col12) {
            width: 33.3%;
        }
    }

    .gform_wrapper {
        background-color: $white;
        padding: 40px 20px;
        width: 100%;

        @include bp($bp-col12) {
            padding: 40px;
            width: 66.6%;
        }

        .gform_validation_errors {
            h2 {
                color: #FF0000;
                font-family: $avenir;
                font-style: normal;
                margin-bottom: 10px;
            }
        }

        .gform_heading {
            display: none;
        }

        form {
            max-width: 885px;

            .gform-body {
                background-color: $white;
                padding: 0;
            }

            .gform_footer {
                input[type='submit'] {
                    @include button;

                    background-color: $denim;
                    border: 3px solid $denim;
                    color: $white!important;

                    &:hover {
                        background-color: $white;
                        color: $denim!important;
                    }
                }
            }
        }
    }
}

#gform_fields_10 {
    display: flex;
    flex-wrap: wrap;
    background-color: $white;
    font-size: 16px;

    .gfield {
        margin-bottom: 20px;

        &--width-half {
            width: 100%;

            @include bp($bp-col12) {
                width: 50%;
            }

            .ginput_container {
                @include bp($bp-col12) {
                    margin-right: 30px;
                }
            }
        }

        &--width-full {
            width: 100%;
        }

        .gfield_label {
            display: inline-block;
            margin-bottom: 10px;

            .gfield_required_asterisk {
                color: #92DFFF;
            }
        }

        .ginput_container {
            input {
                background-color: #F9F9F9;
                border: 1px solid #DEDEDE;
                border-radius: 0;
                font-size: 16px!important;
                height: 50px;
            }

            select {
                font-size: 16px!important;
                height: 50px;
                margin-bottom: 10px;
            }

            textarea {
                font-size: 16px!important;
                height: 150px;
                width: 100%;
            }
        }

        .validation_message {
            color: #FF0000;
            padding-top: 10px;
        }
    }
}

.location-cards {
    display: none;

    @include bp($bp-col12) {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

.location-cards-slider {
    position: relative;

    @include bp($bp-col12) {
        display: none;
    }

    .slider {
        padding: 0 40px;
    }

    .slick-controls {
        position: absolute;
        top: 0;
        height: 100%;
        width: 100%;

        .arrow-prev, .arrow-next {
            position: absolute;
            cursor: pointer;
            top: 50%;
            transform: translateY(-50%);
        }

        .arrow-prev {
            left: 0;
        }

        .arrow-next {
            right: 0;
        }
    }
}

.location-card {
    border: 1px solid #E6E6E6;
    padding: 10px;

    iframe {
        margin-bottom: 10px;
    }

    >div {
        padding: 0 15px;
    }

    a {
        display: inline-block;
        color: $denim;
        font: 900 14px/27px $avenir;
        padding-top: 20px;
        text-decoration: none;
        text-transform: uppercase;
    }
}