:root {
    --background-grey: #F8F8F8;
    --disabled-grey: #DEDEDE;
    --footer-grey: #DEDEDE;
    --validation-red: #DD140F;
    --link-blue: #005BAF;
    --info-light-blue: #F2F5FF;
    --border-grey: #5D5E60;
    --input-border-grey: #86878A;
    --disabled-btn-grey: #86878A;
    --company-color: #003D57;
    --grey-text: #333333;
    --cookie-blue: #3860BE;
    --cosentyx-purple: #592D5F;
    --cosentyx-pink: #E50E63;
    --cosentyx-disabled: #8F8F8F;
    --light-red: #FCF0EF;
    --bright-red: #DD140F;
}

select {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48cGF0aCBkPSJNMjAxLjQgNDA2LjZjMTIuNSAxMi41IDMyLjggMTIuNSA0NS4zIDBsMTkyLTE5MmMxMi41LTEyLjUgMTIuNS0zMi44IDAtNDUuM3MtMzIuOC0xMi41LTQ1LjMgMEwyMjQgMzM4LjcgNTQuNiAxNjkuNGMtMTIuNS0xMi41LTMyLjgtMTIuNS00NS4zIDBzLTEyLjUgMzIuOCAwIDQ1LjNsMTkyIDE5MnoiLz48L3N2Zz4=);
    background-repeat: no-repeat;
    background-size: 15px;
    background-position: 95%;
    color: black;
    background-color: white;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

main {
    max-width: 100%;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

button.default-btn {
    border: none;
    background-color: var(--company-color);
    color: white;
    font-size: 18px;
    font-weight: 700;
    height: 48px;
    border-radius: 4px;
    width: 200px;
    max-width: 100%;
}

button.link-type {
    color: var(--link-blue);
    font-size: 16px;
    padding: 0;
    border: none;
    background: transparent;
    outline: none;
    appearance: none;
    text-decoration: underline;
}

button:disabled {
    background-color: var(--disabled-btn-grey);
}

html {
  position: relative;
  min-height: 100%;
}

body {
    min-height: 100vh;
}

.loader {
    width: 50px;
    aspect-ratio: 1;
    display: grid;
    border-radius: 50%;
    background: linear-gradient(0deg, rgb(0 0 0 / 50%) 30%,#0000 0 70%, rgb(0 0 0 / 100%) 0) 50% /8% 100%, linear-gradient(90deg, rgb(0 0 0 / 25%) 30%,#0000 0 70%, rgb(0 0 0 / 75%) 0) 50% /100% 8%;
    background-repeat: no-repeat;
    animation: l23 1s infinite steps(12);
}

    .loader::before,
    .loader::after {
        content: "";
        grid-area: 1 / 1;
        border-radius: 50%;
        background: inherit;
        opacity: 0.915;
        transform: rotate(30deg);
    }

    .loader::after {
        opacity: 0.83;
        transform: rotate(60deg);
    }

@keyframes l23 {
    100% {
        transform: rotate(1turn)
    }
}

header {
    width: 100%;
    padding-top: 40px;
}

header .splitChildren > a {
    height: fit-content;
}

footer {
    background: var(--footer-grey);
    width: 100%;
    padding-top: 16px;
    padding-bottom: 60px;
    min-height: 150px;
}

.footer-links > button, .footer-links > a {
    color: black;
}

.main-container {
    min-height: calc(100vh - 150px);
}

.container {
    display: flex;
    justify-content: center;
}

.max1000 {
    max-width: 1000px;
    width: 100%;
}

.pad18right {
    padding-right: 18px;
}

.padSides {
    padding: 0 5px;
}

#aspn-logo {
    height: 50px;
}

#airsupra-logo {
    height: 70px;
}

#cosentyx-logo {
    max-height: 70px;
}

#farxiga-logo {
    height: 100px;
}

#novartis-img {
    max-height: 29px;
}

.footer-group p {
    margin: 0;
}

.footer-group {
    display: flex;
    justify-content: space-between;
    margin-left: 18px;
    color: black;
}

.footer-group .footer-company {
    font-size: 16px;
    font-weight: 700;
    line-height: 140%;
}

.footer-group .footer-address {
    font-size: 16px;
    line-height: 22px;
}

.footer-group .trademark-container {
    font-size: 16px;
    line-height: 22px;
    color: black;
}

.footer-group .footer-links {
    color: black;
}

.splitChildren {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 15px;
}

.splitChildren.alignCenter {
    align-items: center;
}

.splitChildren > a:last-of-type {
    text-align: end;
}


.form-container {
    width: 100%;
}

    .form-container > form {
        max-width: 660px;
    }

.form-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
    width: 100%;
}


h1 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 32px;
}

summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

    summary > svg {
        min-width: 25px;
    }

    summary::marker {
        content: "";
    }

section > details[open] > summary > svg {
    transform: rotate(180deg);
}


section > details[open] > summary {
    margin-bottom: 24px;
}

    section > details {
    padding: 16px;
    border: 1px solid var(--input-border-grey);
    border-radius: 8px;
}

.compliance-chkbox-container, .cosentyx-container .chkbox-container {
    display: flex;
    margin-left: 19px;
}

    .compliance-chkbox-container label {
        text-indent: -0.7em;
        margin-left: 1.2em;
    }

    .cosentyx-container .chkbox-container label {
        text-indent: -0.4em;
        margin-left: 1.2em;
    }



    #compliance-chkbox, .cosentyx-container .chkbox-container input[type="checkbox"] {
        margin-top: 5px;
    }

    .cosentyx-container .chkbox-container:nth-of-type(n+2) {
        margin-top: 1%;
    }

div#hipaaModal .modal-header {
    border-bottom: none;
}

div#hipaaModal .modal-subheader {
    color: var(--cosentyx-purple);
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
}

.modal-container {
    display: none;
    position: fixed;
    z-index: 1055;
    background: rgba(0,0,0, .5);
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    justify-content: center;
    padding-top: 3%;
    padding-bottom: 3%;
}

.modal-container .modal-info {
    background: white;
    max-width: 600px;
    display: flex;
    flex-direction: column;
}

.modal-container .actions-container, .modal-container .modal-disclaimer, .modal-container .modal-subheader {
    margin: 12px;
}


.actions-container {
    display: flex;
    gap: 24px;
}

    .actions-container > button {
        flex: 1;
        font-weight: 700;
        font-size: 18px;
        line-height: 25px;
        background: white;
        border: 1px solid black;
        border-radius: 4px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

        .actions-container > button:disabled {
            background: var(--cosentyx-disabled);
            border-color: var(--cosentyx-disabled);
            color: white;
        }

    .actions-container > #declineToHipaa {
        color: var(--cosentyx-pink);
        border-color: var(--cosentyx-pink);
    }

        .actions-container > #declineToHipaa:hover {
            color: var(--cosentyx-disabled);

            border-color: var(--cosentyx-disabled);
        }

    .actions-container > #agreeToHipaaButton:not(:disabled) {
        color: white;
        background: var(--cosentyx-pink);
        border-color: var(--cosentyx-pink);
    }

        .actions-container > #agreeToHipaaButton:not(:disabled):hover {
            background: white;
            color: var(--cosentyx-pink);
            border-color: var(--cosentyx-pink);
        }

.modal-disclaimer {
    background: var(--info-light-blue);
    padding: 14px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: var(--link-blue);
    display: flex;
    gap: 7px;
}

.modal-info .modal-header .modal-title, .modal-info .modal-split-header .modal-title {
    font-weight: 600;
    font-size: 18px;
}

.modal-info .modal-header .modal-subtitle, .modal-info .modal-split-header .modal-subtitle {
    font-size: 14px;
    color: var(--company-color);
    border-bottom: 1px solid #dee2e6;
    padding: 0 1rem .5rem;
    font-weight: 600;
}

.modal-info .modal-header button, .modal-info .modal-split-header button {
    background: none;
    appearance: none;
    border: none;
}

.modal-info .modal-header .modal-header, .modal-info .modal-split-header .modal-header {
    border-bottom: none;
    padding-bottom: .5rem;  
}

.modal-info > .modal-body {
    margin: 12px;
    border: 1px solid var(--input-border-grey);
    overflow-y: auto;
    flex: 1;
}

.modal-info > .modal-body .modal-heading {
    font-weight: 600;
    font-size: 16px;
}

.modal-info > .modal-body p, .modal-info > .modal-body li {
    font-size: 14px;
}


.modal-cta-container {
    display: flex;
    gap: 10px;
    padding: 1rem;
}

.modal-cta-container button {
    flex: 1;
}

    .modal-cta-container button.decline {
        background: white;
        color: var(--company-color);
        border: 1px solid var(--company-color);
    }


    div#privacyModal * {
        font-size: 14px;
    }


/* ---- Home (Index.cshtml) --- */
#frmPatientSubmit section {
    margin-bottom: 16px;
}

#frmPatientSubmit input, #frmPatientSubmit select {
    border-color: var(--input-border-grey);
    border-width: 1px;
    border-radius: 4px;
    padding: 6px 12px;
    height: 44px;
    max-width: 100%;
}

#frmPatientSubmit input {
    max-width: 100%;
}

    #frmPatientSubmit input[type="radio"] {
        padding: 12px;
    }

        #frmPatientSubmit input[type="radio"]:checked {
            background-image: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(%23clip0_173_1016)"><rect x="0.5" y="0.5" width="23" height="23" rx="11.5" stroke="%23003D57"/><rect x="0.5" y="0.5" width="23" height="23" rx="11.5" fill="%23003D57" stroke="%23003D57"/><path d="M9.33317 15.2498L5.83317 11.7498L4.6665 12.9165L9.33317 17.5832L19.3332 7.58317L18.1665 6.4165L9.33317 15.2498Z" fill="white"/></g><defs><clipPath id="clip0_173_1016"><rect width="24" height="24" fill="white"/></clipPath></defs></svg>');
            appearance: none;
            background-repeat: no-repeat;
        }


#frmPatientSubmit input[type="radio"], #frmPatientSubmit input[type="checkbox"] {
    accent-color: var(--company-color);
}

#frmPatientSubmit input[type="checkbox"] {
    height: fit-content;

}

#frmPatientSubmit input[type="checkbox"] + label {
    display: inline;
}

.required-star {
    color: var(--validation-red);
}

.form-header, .form-body {
    padding: 0 5px;
}

#frmPatientSubmit h2 {
    font-size: 28px;
    font-weight: 700;
}

#frmPatientSubmit h3 {
    font-size: 22px;
    font-weight: 700;
}

#frmPatientSubmit p {
    font-size: 18px;
}

#frmPatientSubmit label {
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
}

.option-title {
    margin-bottom: 16px;
}

.option-one-container {
    border-radius: 4px;
    background: var(--background-grey);
    padding: 22px 18px;
    container: option-one / inline-size;
}

.option-one-instructions {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    gap: 12px;
    padding: 12px;
    background-color: white;
    border: 1px solid var(--input-border-grey);
    border-radius: 8px;
}

.instruction-info {
    display: flex;
    flex-wrap: wrap;
    column-gap: 32px;
}

.instruction-info > p {
    margin-bottom: 0px;
}


.info-group {
    flex: 1;
}

.info-group > p {
    margin-bottom: 4px;
}

button#copyMessageBtn:active {
    background: white;
    border: 1px solid var(--company-color);
    color: var(--company-color);
}

button#copyMessageBtn:active svg {
    stroke: var(--company-color);
    fill: var(--company-color);
}

.option-two-info {
    line-height: 140%;
}


.info-container {
    padding: 24px 18px;
    margin: 32px 0;
    background-color: var(--background-grey);
}

.info-header-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 140%;
}

.info-header {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
}

.inputs-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.input-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.info-input, .state-zip-container {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    gap: 5px 16px;
    max-width: 100%;
}

.state-zip-container {
    flex-direction: row;
}

.state-zip-container > div {
    min-width: 0;
}

.info-input {
    flex-direction: column;
}

#frmPatientSubmit input:disabled, #frmPatientSubmit select:disabled {
    border: none;
    background-color: var(--disabled-grey);
    -webkit-text-fill-color: var(--disabled-grey);
    opacity: 1;
}

.hidden {
    display: none;
}

.search-btn-container {
    display: flex;
    justify-content: end;
}

.provider-search-results:not(:has(.hidden)) {
    margin-top: 24px;
}

.results-header:not(.hidden) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.addProviderBtn {
    margin-bottom: 18px;
}

.provider-subtitle {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
}

.results-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 140%;
    margin-bottom: 5px;
}

#resultContainer:has(.search-radio:checked) .search-result:has(.search-radio:not(:checked)) {
    display: none;
}

.search-result {
    position: relative;
    width: 100%;
    padding: 12px 16px;
    background: white;
    border-radius: 8px;
    border: 1px solid #003D57;
    text-align: left;
    cursor: pointer;
}

.search-result p {
    margin-bottom: 0;
    max-width: 90%;
}

.search-result input {
    cursor: pointer;
}

.result-name {
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
    text-transform: uppercase;
}

.result-distance {
    font-size: 14px;
    font-weight: 400;
}

.result-addr, .result-phone, .result-fax {
    font-size: 16px;
    line-height: 22px;
}

.search-radio {
    position: absolute;
    right: 12px;
    top: calc(50% - 12px);
    width: 24px;
    height: 24px;
}

#frmPatientSubmit button[type="submit"] {
    margin-top: 24px;
}

#paginationControls:not(.hidden) {
    display: flex
}

/* Home (Cosentyx Layout) */
#frmPatientSubmit .cosentyx-container {
    display: flex;
    flex-direction: column;
/*    gap: 24px;*/
}

    #frmPatientSubmit .cosentyx-container .default-btn {
        background: var(--cosentyx-pink);
    }

    #frmPatientSubmit .cosentyx-container button[type="submit"] {
        margin-left: 18px;
    }

#frmPatientSubmit .cosentyx-container .default-btn:disabled {
    background: var(--disabled-btn-grey);
}

    #frmPatientSubmit .cosentyx-container label, #frmPatientSubmit .novartis-tac p {
        font-size: 16px;
        font-weight: 400;
        line-height: 140%;
    }

#frmPatientSubmit .cosentyx-container .info-header {
    font-size: 24px;
}

#frmPatientSubmit .cosentyx-container .title-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px 18px;
    margin-bottom: 12px;
}

#frmPatientSubmit .cosentyx-container h1 {
    color: var(--cosentyx-purple);
    font-size: 30px;
    line-height: 125%;
    font-weight: 700;
    margin-bottom: 0;
}

#frmPatientSubmit .cosentyx-container .title-body {
    color: var(--cosentyx-purple);
    font-size: 18px;
    line-height: 125%;
    margin-bottom: 0;
}

#frmPatientSubmit .cosentyx-container .title-body span.bracket {
    color: var(--cosentyx-pink);
}

#frmPatientSubmit .cosentyx-container .please-note-text {
    color: #707070;
    font-size: 14px;
    line-height: 125%;
    margin-bottom: 0;
    }

#frmPatientSubmit .cosentyx-container .please-note-text span {
    font-weight: bold;
}

#frmPatientSubmit .cosentyx-container .get-started {
    display: flex;
    flex-direction: column;
    padding: 0 18px;
}

#frmPatientSubmit .cosentyx-container .get-started h2 {
    color: var(--cosentyx-pink);
    font-size: 28px;
    line-height: 140%
}

#frmPatientSubmit .cosentyx-container .get-started p {
    font-size: 18px;
    line-height: 140%;
}

    #frmPatientSubmit .cosentyx-container .info-container.personal-info-container {
        margin-top: 24px;
    }

#frmPatientSubmit .cosentyx-container .info-container {
    margin-top: 0;
}

#frmPatientSubmit .novartis-tac {
    margin-top: 24px;
    margin-bottom: 10px;
    padding-left: 18px;
}

#frmPatientSubmit .cosentyx-container .hippaAuthRequiredDiv {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 14px 12px;
    width: 100%;
    background: var(--light-red);
    color: var(--bright-red);

    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
}

    #frmPatientSubmit .cosentyx-container .hippaAuthRequiredDiv p {
        margin-bottom: 0;
    }


/* Home (Index.cshtml) Queries */
@container option-one (min-width: 660px) {
    .option-one-instructions {
        flex-direction: row;
        align-items: center;
    }
}

@media (max-width: 510px) {
    header.cosentyx > div {
        justify-content: center;
    }

    #cosentyx-logo {
        height: 90px;
    }
}

@media (max-width: 600px) {
    #frmPatientSubmit .cosentyx-container h1 {
        font-size: 25px;
    }
}

@media (max-width: 769px) {
    .input-row, .option-one-instructions, .instruction-info, .state-zip-container {
        flex-direction: column;
    }

    .option-one-instructions {
        align-items: start;
    }

    .instruction-info {
        gap: 0;
    }
}

@media (min-width: 660px) {

    .form-header, .form-body, .padSides {
        padding: 0 43px;
    }

    section > details {
        padding: 24px;
    }

    .form-container > form {
        max-width: 1000px;
    }
}

/* ---- Confirmation (ThankYou.cshtml) --- */

h1.thankyou {
    font-size: 32px;
}


div.center-page {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 120px;
}

.confirmation-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 1000px;
}

.confirmation-container img#check_circle {
    height: 80px;
    width: 80px;
}