body {
    background-color: #E8EFEF;
}

hr {
    border-top: 1px solid whitesmoke;
}

.full-width-hr {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.progress {
    position: relative;
    background-color: #3C3C3B;
    height: 30px;
    overflow: hidden;
    padding-top: 1rem;
    border-radius: 4px !important;
    margin-bottom: 30px;
    margin-top: 20px;

}

.progress-bar-color {
    background-color: #4D8227;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

.bubble {
    position: relative;
    font-family: sans-serif;
    font-size: 18px;
    line-height: 24px;
    width: 100%;
    background-color: #FFFFFF;
    border: 2px solid #007EA8;
    border-radius: 2em;
    padding: 24px;
    text-align: center;
    color: black;
}

.bubble-bottom-center:before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    border-left: 24px solid #007EA8;
    border-right: 12px solid transparent;
    border-top: 12px solid #007EA8;
    border-bottom: 20px solid transparent;
    bottom: -32px;
    right: 150px;


}

.btn span {
    flex-grow: 1;
}

.btn-next {
    background-color: #007EA8;
    color: white;
    display: flex;
    font-size: 15px;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    transition: transform 0.3s ease-out;
    height: 50px;
    border-radius: 4px !important;


}

@media (max-width: 767.98px) {
    .btn-next {
        margin-bottom: 16px;
        width: 420px;

    }
}

.btn-next:hover {
    background-color: #2A647A;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.btn-pass {
    background-color: white;
    color: #2A647A;
    border-color: #2A647A;
    display: flex;
    font-size: 14px;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease-out;
    text-transform: uppercase;
    height: 50px;
    border-radius: 4px !important;

}

.btn-pass:hover {
    background-color: #E8EFEF;
    color: #2A647A;
}

.btn-pass:focus {
    background-color: #ECFAFF;
    color: #2A647A;
}

.btn-previous {
    background-color: #007EA8;
    color: white;
    display: flex;
    font-size: 15px;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    transition: transform 0.3s ease-out;
    height: 50px;
    border-radius: 4px !important;
}

.btn-previous:hover {
    background-color: #2A647A;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.btn-send {
    background-color: #007EA8;
    color: white;
    font-size: 16px;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    transition: transform 0.3s ease-out;
    width: 275px;
    border-radius: 4px !important;
}

.btn-send:hover {
    background-color: #2A647A;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.btn-complete {
    background-color: #007EA8;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease-out;
    border-radius: 4px !important;
}

.btn-complete:hover {
    background-color: #2A647A;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease-out;
    border-radius: 4px !important;
}

.btn-complete:focus {
    background-color: #2A647A;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease-out;
    border-radius: 4px !important;
}


.btn-modify-color {
    background-color: #6c757d;
}

.section-row {
    align-items: center;
    border-radius: 1em;
    background-color: #FFFFFF;
    margin-top: 10px;
}

form .form-check-input {
    position: static;
    margin-left: 1rem;
    align-items: center;
    margin-top: 0;
}

form .form-check-label {
    cursor: pointer;
    z-index: 90;
    line-height: 1.45em;
    display: inline-block;
    position: static;
    top: 2px;
    left: 0;
    right: 0;
    bottom: 0;
}

a {
    text-decoration: none;
    background-color: transparent;
}

.hq-skip-message {
    font-size: 13px;
    text-transform: Uppercase;
    overflow: hidden;
}

.yes-no-question .custom-radio {
    width: 39%;
    display: inline-block;
    margin-bottom: 5px;
    margin-top: 14px;
}

.two-options-question .custom-radio {
    width: 39%;
    display: inline-block;
    margin-bottom: 5px;
    margin-top: 14px;
}

.table-checkbox .custom-checkbox {
    width: 70%;
    display: inline-block;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 5px;
}

/* Media Query for low resolution  Tablets, Ipads */
@media (min-width: 481px) and (max-width: 767px) {
    .table-checkbox .custom-checkbox {
        width: 42%;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 8px;
    }
}

/* Media Query for Tablets Ipads portrait mode */
@media (min-width: 768px) {
    .table-checkbox .custom-checkbox {
        width: 32%;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 8px;

    }
}


.bottom-fixed-position {
    position: sticky;
    background-color: transparent;
    margin-bottom: 15px;
}

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


.bg-light-blue {
    background-color: #007EA8 !important;
    color: white !important;
    position: relative;
    overflow: visible;

}

.card-alert-top {
    position: absolute;
    top: -40px;
    left: 1rem;
    z-index: 100;
}

.banner-text-gradient {
    background: linear-gradient(to right, #000000, #f5f5dc 70%, #e8efef);
    color: white;
    height: 100%;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.hq-back-button:hover span:first-child {
    text-decoration: none;
}


.hq-back-button:hover {
    color: #06394f;
}

.hq-back-button:hover span:last-child {
    text-decoration: underline;
}

.banner-wrapper {
    margin-left: 400px;
}

.banner-container {
    max-width: calc(100% - 400px);
}

.banner-text-overlay {
    color: white;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hq-subtitle {
    font-family: 'Lato', sans-serif;
    font-weight: bold;
    font-size: 26px;
    line-height: 30px;
    text-align: left;
    margin-bottom: 1rem;
}

.hq-back-button {
    font-family: 'Lato', sans-serif;
    font-weight: 510;
    font-size: 18px;
    line-height: 24px;
    color: #007EA8;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}


.hq-back-container {
    padding-left: 1rem;
    margin-top: 2rem;
}

.custom-progress {
    position: relative;
    background-color: #4a4a4a;
}

.custom-progress-bar {
    background-color: #F1A33A;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: bold;
    color: white;
    width: 100%;
    text-align: center;
}

.hq-start-container div {
    text-align: center;
}

.svg-blue {
    filter: brightness(0) saturate(100%) invert(29%) sepia(99%) saturate(2091%) hue-rotate(168deg) brightness(93%) contrast(101%);
}

#sticky-footer {
    background-color: #2A647A;
}

.logo-blue {
    filter: brightness(0) saturate(100%) invert(29%) sepia(99%) saturate(2091%) hue-rotate(168deg) brightness(93%) contrast(101%);
}

.copyright-text {
    font-size: 0.75em;
    color: darkgray;
}

.hq-start-btns {
    padding: 100px 15px;
}

.btn-edit {
    color: white;
    background-color: #2A647A;
    border-color: #2A647A;
    border-radius: 4px !important;
    min-width: 100px;
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
}

.btn-edit:hover {
    background-color: #1f4b5e;
    border-color: #1f4b5e;
}

.btn-remove {
    color: white;
    background-color: #C82333;
    border-color: #BD2130;
    border-radius: 4px !important;
    min-width: 100px;
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
}

.btn-remove:hover {
    background-color: #a71d2a;
    border-color: #941622;
}

.medication-entry-spacer-line {
    border-bottom: 1px lightgray solid;
    margin-top: 10px;
}