﻿
header {
    position: relative;
    padding-top: 36px;
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    -webkit-transition: 0.6s;
    transition: 0.6s;
}

    header .bl-top-banner .bl-header {
        position: absolute;
        top: 0;
        width: 100%;
        background: #03838c;
        height: 42px;
        padding: 9px 0
    }

        header .bl-top-banner .bl-header .bl-link {
            text-align: end
        }

            header .bl-top-banner .bl-header .bl-link a {
                text-align: end;
                color: #fff;
                font-size: 11px;
                font-style: normal;
                font-weight: 900;
                line-height: normal;
                text-decoration-line: underline;
                text-decoration-style: solid;
                -webkit-text-decoration-skip-ink: none;
                text-decoration-skip-ink: none;
                text-decoration-thickness: auto;
                text-underline-offset: auto;
                text-underline-position: from-font;
                text-transform: uppercase
            }

            header .bl-top-banner .bl-header .bl-link img {
                width: 13px;
                height: 10.947px;
                margin-left: 5px
            }

    header .navbar .main-nav {
        width: 100%;
        padding-bottom: 10px
    }

.form-section {
    display: none; /* hide all forms initially */
    margin-top: 1.5rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 1.5rem;
}

.dropdown-container {
    max-width: 600px;
    margin: auto;
}

.form-label {
    font-weight: bold;
}



.patientportal .btn {
    background: #fff;
    border: 2px solid #354bb6;
    color: #354bb6;
    border: 2px solid #354bb6
}

    .patientportal .btn:hover {
        background: #354bb6;
        color: white
    }

.patientportal .product-row__h2 {
    color: #354bb6;
    font-weight: 300;
    text-transform: none;
    margin-bottom: 40px;
    font-size: 3.625rem
}

.patientportal .product-content-content-column h1 {
    color: #354bb6;
    font-size: 3.625rem;
    font-weight: 400
}

.patientportal .product-content-content-column h2 {
    color: #354bb6;
    font-weight: 400;
    font-size: 2.875rem
}

.patientportal .product-content-content-column h3 {
    color: #354bb6
}

.patientportal .product-content [aria-selected="true"].tabs__link {
    color: #354bb6;
    border-bottom: 4px solid #354bb6
}

.patientportal .product-content .tabs__link:hover {
    border-bottom: 4px solid #354bb6;
    color: #354bb6
}

.patient-form-wrapper {
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column; /* Stack all elements vertically */
    justify-content: flex-start;
    width: 100%;
    float: left;
}

.patient-form-main {
    flex: 0 1 100%;
}

.patient-form-title {
    flex: 0 1 40%;
    text-align: right;
    padding-top: 10px;
    font-size: 15px;
    color: #354bb6;
    font-weight: 400;
}

.patient-form-grid .FormStep {
    margin-bottom: 24px;
}

.patient-form-row {
    display: contents;
}

.Form__Element {
    margin-bottom: 0;
}

.Form__Element__Caption {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 6px;
    color: #222;
    display: block;
}

.FormTextbox__Input,
select.FormTextbox__Input,
input[type="text"],
input[type="number"],
input[type="email"],
input[type="url"] {
    width: 100%;
    padding: 6px 8px;
    font-size: 15px;
    border: 1px solid #d1d1d1;
    border-radius: 0;
    background: #fff;
    margin-bottom: 0;
    box-sizing: border-box;
    height: 36px;
}

.FormSelection select {
    width: 100%;
    height: 36px;
    font-size: 15px;
    border: 1px solid #d1d1d1;
    background: #fff;
}

.FormChoice {
    margin-top: 24px;
    margin-bottom: 24px;
}

.FormChoice__Input--Checkbox {
    margin-right: 8px;
    vertical-align: middle;
}

.FormChoice label {
    font-size: 15px;
    font-weight: 400;
    color: #222;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.patient-form-submit {
    margin-top: 24px;
    text-align: left;
}

.FormSubmitButton {
    background: #fff;
    color: #354bb6;
    border: 1px solid #354bb6;
    padding: 8px 32px;
    font-size: 15px;
    font-weight: 400;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

    .FormSubmitButton:hover {
        background: #354bb6;
        color: #fff;
    }

/* Add location link styling */
.patient-form-add-location {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #222;
    margin-bottom: 16px;
    cursor: pointer;
}

    .patient-form-add-location:before {
        content: '+';
        font-size: 18px;
        margin-right: 8px;
        color: #222;
    }

/* IOLs Offered label styling */
.patient-form-iols-label {
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 8px;
    color: #222;
}

/* Responsive adjustments */
@media (max-width: 900px) {


    .patient-form-title {
        text-align: left;
        padding-top: 0;
        margin-bottom: 20px;
    }

    .patient-form-grid {
        grid-template-columns: 1fr;
        gap: 18px 0;
    }
}

/* Specialty Row Styling */
.specialty-row {
    display: flex;
    flex-wrap: wrap; /* Allows the checkbox options to wrap to the next line */
    gap: 15px; /* Adds space between checkboxes */
    grid-column: span 2;
}

/* Submit Button Styling */
.submit-button {
    display: block; /* Ensures it behaves like a block-level element */
    width: 100%; /* Forces the button to take up the full width */
    margin-top: 20px; /* Creates space above it */
    text-align: center; /* Centers the button */
    grid-column: span 2;
}

.patient-form-grid .FormStep .full-width-row {
    grid-column: span 2; /* This will make the row take up both columns */
}

.find-a-doctor-header .fad-desc {
    margin-top: 20px;
}

    .find-a-doctor-header .fad-desc a {
        color: #354bb6;
        font-weight: 400;
    }

.find-a-doctor-header h1 {
    color: #354bb6;
    font-size: 3.625rem;
    font-weight: 400;
}

.find-a-doctor-header h1 {
    color: #354bb6;
    font-size: 3.625rem;
    font-weight: 400;
}

.find-a-doctor-header h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    font-weight: 400;
    line-height: 1.3em;
    color: #354bb6;
    margin-bottom: 20px;
}

.find-a-doctor-header p, .find-a-doctor-header ol, .find-a-doctor-header ul, .fad-info-links, .fad-search-left {
    font-size: 1.125rem;
    font-family: "open-sans", Helvetica, Arial, sans-serif;
    margin-bottom: 20px;
    line-height: 1.5em;
}

.Form__Element.FormFileUpload {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    grid-column: span 2;
}

.specialty-row-fullwidth {
    display: block;
    width: 100%;
    text-align: left;
    grid-column: span 2;
}

button[type=submit], input[type=submit] {
    display: block;
    color: #FFF;
    text-align: center;
    text-transform: uppercase;
    padding: 5px 15px;
    background: #027074;
    border: 2px solid #027074;
    font-weight: 400;
    cursor: pointer;
    transition: 0.25s;
    min-width: 120px;
}

    button[type=submit]:hover, input[type=submit]:hover {
        background: #fff;
        border: 2px solid #027074;
        color: #027074;
    }

.EPiServerForms .Form__Element {
    margin: 0 0 0.5rem 0;
}

    .EPiServerForms .Form__Element .Form__Element__Caption {
        font-weight: bold;
    }

.Form__Title {
    margin-top: 25px;
}

.FormParagraphText {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    grid-column: span 4;
}

.patient-form-grid .FormStep {
    display: block;
    grid-template-columns: repeat(3, 1fr); /* one row with 6 items */
    gap: 0;
}

.patient-form-row {
    display: block;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    float: left;
    padding-right: 20px;
}

.two-col {
    display: block;
    float: left;
    padding-right: 20px;
}

.Form__Element.FormFileUpload {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    grid-column: span 4;
}

.specialty-row-fullwidth {
    display: block;
    width: 100%;
    text-align: left;
    grid-column: span 4;
}

.FormStep .FormParagraphText {
    width: 100%;
    display: grid;
}

    .FormStep .FormParagraphText:first-child {
        width: 100%;
        display: block;
    }

.patient-form-row label {
    white-space: nowrap; /* keep labels on one line */
}

.returndropdown {
    display: flex;
    grid-column: span 2;
}

.Form__Element.returncheckbox {
    display: contents;
    grid-column: span 4;
}

.width-150px {
    min-width: 200px;
    max-width: 200px;
}

@media (max-width: 768px) {
    .patient-form-row label {
        white-space: normal; /* Allow wrapping on small screens */
    }

    .patient-form-wrapper {
        margin: 0px;
        margin-top: 50px;
    }
}

.FormDateTime {
    width: 8%;
 
    /* margin-right: 7px; */
    display: inline;
    /* POSITION: relative; */
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    float: left;
    padding-right: 20px;
    flex: 0 0 auto;
    margin-right: 40px !important;
}

.EPiServerForms .FormDateTime .FormDateTime__Input {
    width: 8rem !important;
}

.highlight-required {
    border: 1px solid red !important;
}

.EPiServerForms .group-2 .ValidationRequired .Form__Element__Caption:after {
    content: "";
}
.EPiServerForms .group-3 .ValidationRequired .Form__Element__Caption:after {
    content: "";
}
.EPiServerForms .group-4 .ValidationRequired .Form__Element__Caption:after {
    content: "";
}
.EPiServerForms .group-5 .ValidationRequired .Form__Element__Caption:after {
    content: "";
}
.EPiServerForms .group-6 .ValidationRequired .Form__Element__Caption:after {
    content: "";
}
.EPiServerForms .group-7 .ValidationRequired .Form__Element__Caption:after {
    content: "";
}
.EPiServerForms .group-8 .ValidationRequired .Form__Element__Caption:after {
    content: "";
}
.EPiServerForms .group-9 .ValidationRequired .Form__Element__Caption:after {
    content: "";
}
.EPiServerForms .group-10 .ValidationRequired .Form__Element__Caption:after {
    content: "";
}
.group-1 {
    margin-bottom: 10px;
}

.group-2 .Form__Element__Caption {
    display: none;
}

.FormDateTime .Form__Element__ValidationError {
    display: none !important;
}

.group-1 .Form__Element__ValidationError {
    display: none !important;
}

.group-2 .Form__Element__Caption {
    display: none !important;
}

.group-2-FormDateTime label {
    display: none !important;
}
.group-3.Form__Element__Caption {
    display: none;
}
.group-3 .Form__Element__Caption {
    display: none !important;
}

.group-3-FormDateTime label {
    display: none !important;
}
.group-4.Form__Element__Caption {
    display: none;
}

.group-4 .Form__Element__Caption {
    display: none !important;
}

.group-4-FormDateTime label {
    display: none !important;
}
.group-5.Form__Element__Caption {
    display: none;
}

.group-5 .Form__Element__Caption {
    display: none !important;
}
.group-6,.group-7,.group-8,.group-9,.group-10{display: none;}
.group-6 .Form__Element__Caption,.group-7 .Form__Element__Caption,.group-8 .Form__Element__Caption,.group-9 .Form__Element__Caption,.group-10 .Form__Element__Caption {
    display: none !important;
}

.group-5-FormDateTime label {
    display: none !important;
}
.group-6-FormDateTime label ,.group-7-FormDateTime label,.group-8-FormDateTime label ,.group-9-FormDateTime label, .group-10-FormDateTime label   {
    display: none !important;
}
.group-2, .group-3, .group-4, .group-5, .group-1-FormDateTime, .group-2-FormDateTime, .group-3-FormDateTime, .group-4-FormDateTime, .group-5-FormDateTime{
    display:none;
}
.w-addproducts3, .w-addproducts4, .w-addproducts5, .w-addproducts6, .w-addproducts7, .w-addproducts8, .w-addproducts9, .w-addproducts10{display:none !important;}
.w-replacementproducts3, .w-replacementproducts4, .w-replacementproducts5 {
    display: none !important;
}
.w-replacementproducts2, .w-replacementproducts3, .w-replacementproducts4, .w-replacementproducts5 {
    clear: left;
}
.replacement-group2, .replacement-group3, .replacement-group4, .replacement-group5 {
    display: none;
}
.EPiServerForms .replacement-group2 .ValidationRequired .Form__Element__Caption:after, .EPiServerForms .replacement-group3 .ValidationRequired .Form__Element__Caption:after, .EPiServerForms .replacement-group3 .ValidationRequired .Form__Element__Caption:after, .EPiServerForms .replacement-group4 .ValidationRequired .Form__Element__Caption:after, .EPiServerForms .replacement-group5 .ValidationRequired .Form__Element__Caption:after {
    content: "";
}
    .replacement-group2.first, .replacement-group3.first, .replacement-group4.first, .replacement-group5.first {
        clear: left;
    }
/*.EPiServerForms .Form__Element {
    margin: 0 0 1rem 0;
}*/
.EPiServerForms .replacement-group1 .Form__Element, .EPiServerForms .replacement-group2 .Form__Element, .EPiServerForms .replacement-group3 .Form__Element, .EPiServerForms .replacement-group4 .Form__Element{
    margin: 0 0 0.5rem 0;
}

@media (max-width: 768px) {
    .FormDateTime {
        width: 100%;
        margin-right: 0px !important;
    }

    .EPiServerForms .FormDateTime .FormDateTime__Input {
        width: 24rem;
    }

    .col-sm-12 {
        flex: 0 0 auto;
        width: 100%
    }

    .specialty-row {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        grid-column: span 2;
        clear: both;
    }
}
.EPiServerForms .ValidationFail {
    color: #000 !important;
    border-color: #e9322d !important;
}