html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

.navhover:hover {
    background-color: #ffffff15 !important;
    border-radius: 1rem !important;
}

.custom-main-container {
    display: flex;
    flex-direction: row;
    gap: 0;
}

.custom-content-section {
    flex: 1;
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
}

.mainList {
    counter-reset: section;
}

.mainList > li {
    list-style-type: none;
    margin-bottom: 20px;
    position: relative;
}

.mainList > .mainListTitle::before {
    counter-increment: section;
    content: counter(section);
    background-color: #005C9E;
    color: white;
    border-radius: 50%;
    width: 1.75em;
    height: 1.75em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25em;
    font-weight: bold;
    position: absolute;
    left: -40px;
}

.mainList > .mainListTitle {
    display: flex;
    align-items: center;
    position: relative;
    margin-left: 40px;
}

.mainList ol {
    list-style-type: decimal;
}

.mainList ol li {
    margin-bottom: 10px;
}

.mainTitle {
    font-size: medium;
    text-decoration: none;
}

.patientButton button {
    justify-content: center;
    align-items: center;
}

.patientButton {
    margin: 1rem 0;
}

.custom-image-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.custom-main-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.textColor {
    color: #005C9E;
    font-weight: 400;
}

.nav-item .nav-link.active {
    background-color: #ffffff50;
    border-radius: 1rem;
    color: #fff;
    padding: 10px 15px;
}

.nav-item {
    margin: 0 10px;
    display: flex;
    flex-direction: row;
}

.nav-item-spacing{
    padding-left: 16rem;
}

.text-link {
    text-decoration: none;
}

.steps-list-step1 {
    list-style: none;
    padding: 0;
}

.step-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

@media (max-width: 767px) {
    .custom-main-container {
        flex-direction: column-reverse;
    }

    .custom-content-section {
        flex: 1;
        padding: 1rem;
    }

    .mainList > .mainListTitle::before {
        line-height: 1.2 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .mainList > .mainListTitle {
        line-height: 1.4 !important;
        padding-top: 0.25rem !important;
        padding-bottom: 0.25rem !important;
        margin-bottom: 0.75rem !important;
    }

    .mainList > li {
        margin-bottom: 0.75rem !important;
    }

    .patientButton button {
        padding: 10px 3.5rem !important;
    }

    .custom-image-section {
        flex: 1;
        padding: 1rem;
        margin-top: 1.5rem;
    }

    .custom-main-image {
        max-height: 400px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .custom-content-section {
        flex: 1;
        padding: 2rem;
    }

    .patientButton {
        margin-top: 2rem !important;
    }
    
    .patientButton button {
        padding: 10px 4rem !important;
    }
}

@media (max-width: 575px) {
    .mainList {
        margin-top: 1rem !important;
        padding-left: 1.25rem !important;
    }

    .mainListTitle {
        margin-bottom: 0.5rem !important;
        font-size: 1rem !important;
    }

    .patientButton {
        text-align: center !important;
        margin-top: 1.5rem !important;
    }
    .patientButton button {
        width: 100% !important;
        padding: 10px 2.5rem !important;
    }
}

@media (max-width: 375px) {
    .mainList > .mainListTitle {
        margin-left: 0 !important;
        padding-left: 1.6rem !important;
    }

    .mainList > .mainListTitle::before {
        left: -1rem !important;
        width: 1.5em !important;
        height: 1.5em !important;
        font-size: 1.2em !important;
    }

    .custom-main-image {
        width: 300px !important;
        height: 200px !important;
    }
}

@media (min-width: 771px) and (max-width: 925px) {
    .custom-main-image {
        max-width: 500px !important;
        max-height: 300px !important;
    }
}

@media (max-width: 1150px) {
    .nav-item-spacing{
        padding-left: 5rem;
    }
}

@media (max-width: 850px) {
    .nav-item-spacing{
        padding-left: 2rem;
    }
}

@media (max-width: 810px) {
    .nav-item-spacing{
        padding-left: 0;
    }

    .is-hidden{
        visibility: hidden;
    }

    .navigation{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-bottom: 0.5rem;
    }
}


@media (max-width: 480px) {
    .main-content_height_adjusted {
        padding-bottom: 70px;
        height: 750px;
    }

    .mainList > .mainListTitle {
        margin-left: 0 !important;
        padding-left: 1.8rem !important;
    }

    .mainList > .mainListTitle::before {
        left: -1rem !important;
        position: absolute;
        width: 1.8em !important;
        height: 1.8em !important;
        font-size: 1.3em !important;
    }
}

@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }

    .custom-content-section {
        padding: 2.5rem 3rem;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1200px;
    }
}

@media (min-width: 1400px) {
    .container {
        width: 1320px;
    }
}

@media (min-width: 1600px) {
    .container {
        width: 1420px;
    }
}

.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.navbar {
    border-radius: 0px;
    border-left: none;
    border-right: none;
}

.navbar-left {
    border-radius: 0;
    height: 100%;
}

.navbar-left .navbar-nav>li {
    float: none;
}

.modal-header {
    background-color: #005C9E;
    color: #fff;
}

.angucomplete-holder {
    position: relative;
    font: 15px Verdana;
}

.angucomplete-dropdown {
    font: inherit;
    border-color: #ececec;
    border-width: 1px;
    border-style: solid;
    border-radius: 2px;
    width: 300px;
    padding: 6px;
    cursor: pointer;
    position: absolute;
    z-index: 9999;
    top: 36px;
    left: 0px;
    margin-top: -6px;
    background-color: #fff;
    overflow-y: auto;
    max-height: 150px;
}

.angucomplete-searching {
    font: inherit;
    font-size: 85%;
    color: #999;
    letter-spacing: 1px;
}

.angucomplete-row {
    padding: 5px;
    margin-bottom: 4px;
    color: #000;
    clear: both;
}

.angucomplete-selected-row {
    background-color: #428bca;
    color: #fff;
}

.highlight {
    font-weight: bold;
    color: #dc143c;
}

.text-primary {
    padding-left: 15px;
    font-size: 18px;
}

body {
    background: #fff !important;
}

header {
    border-bottom: 1px solid #ddd;
}

.dmargin {
    padding-top: 0px;
    padding-bottom: 10px;
}

.dmarginhead {
    padding-top: 15px;
    padding-bottom: 15px;
}

.dmtop {
    padding-top: 20px;
}

.dmbot {
    padding-bottom: 20px;
}

html,
body,
p,
a,
h1,
h2,
h3,
h4,
h5,
h6,
.p,
.a,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: "Open Sans", sans-serif;
}

p,
div {
    font-weight: 500;
    line-height: 1.72857143;
}

.panel-card {
    background: #fff;
    border: 5px solid #d9534f !important; 
    border-radius: 4px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

.panel-card .panel-body { 
    padding: 25px; 
}
.btn-pill { 
    border-radius: 28px; 
}

.cbck {
    background-color: #fff;
    /* min-height: 482px; */
    /* padding-bottom: 10px;*/
}

h1,
.h1 {
    font-size: 26pt;
    font-weight: 400;
    color: #6A6A6A;
    margin-top: 20px;
    margin-bottom: 20px;
    line-height: 1.67em;
}

.btm {
    margin-bottom: 20px;
}

h2,
.h2 {
    color: #6A6A6A;
    font-size: 24pt;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 20px;
    line-height: 1.67em;
}

h3,
.h3 {
    color: #6A6A6A;
    font-weight: 500;
    font-size: 18pt;
    line-height: 1.67em;
}

h4,
.h4 {
    color: #6A6A6A;
    font-size: 14pt;
    font-weight: 500;
    line-height: 1.67em;
    margin-top: 5px;
    margin-bottom: 5px;
}

body,
p {
    color: #6A6A6A;
    font-size: 14pt;
    font-weight: 500;
}

.modal-body {
    position: relative;
    padding: 0 15px;
}

.modal-footer .btn+.btn {
    margin-bottom: 0;
    margin-left: 25px;
}

.btn-theme-default,
.btn-theme-default-add {
    color: #fff;
    background-color: #005C9E;
    border-color: #005C9E;
    height: 40px;
    line-height: 30px;
}

.btn-primary {
    height: 40px;
    line-height: 30px;
}

.btn-default {
    height: 42px;
    line-height: 30px;
}

.btn-theme-default:hover,
.btn-theme-default:focus,
.btn-theme-default:active,
.btn-theme-default-add:hover,
.btn-theme-default-add:active,
.btn-theme-default-add:focus {
    color: #fff;
    background-color: #0074C7;
    border-color: #0074C7;
}

.btn-theme-default:-moz-suppressed,
.btn-theme-default-add:-moz-suppressed
{
color: #fff;
background-color: #003C66;
border-color: #003C66;
}

.table-labels {
    font-weight: 600;
    color: #005C9E;
    margin-bottom: 10px;
    font-size: 15px;
}

.form-group {
    margin-bottom: 0px;
}

label {
    margin-bottom: 5px;
    margin-top: 0px;
    font-weight: 300;
    color: #000;
}

.modal-body label {
    margin-bottom: 3px;
    margin-top: 15px;
    font-weight: 600;
    color: #000;
}

.modal-footer {
    padding: 15px;
    margin-top: 25px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

.affix {
    top: 0;
    width: 100%;
    z-index: 9999 !important;
    position: fixed;
    border-bottom: 1px solid #eee;
    background-color: #fff;
}

.tab-content {
    margin-top: 10px;
}

.btn-theme-tap {
    color: #fff;
    background-color: #005C9E;
    border-color: #005C9E;
    border-radius: 6px 6px 0 0;
}

.btn-theme-tap:hover,
.btn-theme-tap:focus,
.btn-theme-tap:active {
    color: #fff;
    background-color: #326fa3;
    border-color: #326fa3;
    border-radius: 6px 6px 0 0;
}

.theme-color {
    color: #005C9E;
}

.navbar {
    margin-bottom: 0;
}

.sticky {
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -o-sticky;
    position: -ms-sticky;
    position: static;
    top: 0px;
    z-index: 99;
    background-color: #fff;
    margin-top: 0px;
}

.modal-title {
    color: #fcfcfc;
}

.form-group {
    position: relative;
}

.autocompleteResult {
    max-height: 260px;
    list-style: none;
    padding: 0px;
    width: 100%;
    position: absolute;
    margin: 0;
    z-index: 1000;
    overflow-y: scroll;
    overflow-x: hidden;
}

.autocompleteResult li {
    background: #f3f3f3;
    padding: 4px;
    border-bottom: 1px #ccc solid;
}

.autocompleteResult li:hover {
    background: #005C9E;
    color: #fff;
    cursor: pointer;
}

.tblrow {
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 5px;
    padding-top: 5px;
}

.tblrow:hover {
    cursor: pointer;
    color: #000;
    background-color: #F6FBFF;
}

.tblbck {
    background-color: #f6f6f6;
    padding-left: 15px;
    border: 1px solid #e1e1e1;
    padding-top: 10px;
    margin-bottom: 0px;
}

.pagination>li>a,
.pagination>li>span {
    color: #005C9E;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #005C9E;
    border-color: #005C9E;
}

.modal-row-margin {
    margin-bottom: 20px;
}

.page-header {
    color: #0b598d;
}

.bs-docs-sidebar .nav>li>a {
    display: block;
    padding: 4px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #0b598d;
}

.bs-docs-nav .navbar-nav>.active>a,
.bs-docs-nav .navbar-nav>.active>a:hover,
.bs-docs-nav .navbar-nav>li>a:hover {
    color: #0b598d;
    background-color: #fff;
}

.bs-docs-nav .navbar-brand,
.bs-docs-nav .navbar-nav>li>a {
    font-weight: 500;
    color: #fff;
}

a.topmenu {
    color: #5a625f;
    text-decoration: none;
}

a.topmenu:hover,
a.topmenu:focus {
    color: #005C9E;
    text-decoration: none;
}

.sid-menu {
    padding-left: 0px;
}

.sid-menu a {
    color: #373737;
    text-decoration: none;
    padding-right: 7px;
    border-right: 4px solid #fff;
}

.sid-menu a:hover,
.sidemenu a:focus {
    color: #005C9E;
    border-right: 4px solid #005C9E;
    text-decoration: none;
    background-color: #f6f6f6;
    padding: 3px 7px 3px 7px;
}

.sid-menu a.active {
    color: #005C9E;
    border-right: 4px solid #005C9E;
    text-decoration: none;
    background-color: #f6f6f6;
    padding: 3px 7px 3px 7px;
}

.pagination {
    margin: 10px 45px 0 0;
}

.moduletop {
    margin-top: 10px;
    margin-bottom: 10px;
}

.modulebottom {
    margin-bottom: 20px;
}

.modulebottom a {
    color: #5a625f;
}

.modulebottom a:hover,
.modulebottom a:focus {
    color: #326fa3;
    text-decoration: none;
}

a.logout,
a.logout:hover {
    color: #326fa3;
    cursor: pointer;
}

i.glyphicon-calendar {
    color: #005C9E;
}

.btn-select {
    border-radius: 0;
}

span.atc {
    display: inline-block;
    min-width: 80px;
    text-align: right;
}

.error {
    color: #ff0000;
}

@media (min-width: 768px) {
    .nav-tabs.nav-justified>li>a {
        border: 1px solid #e1e1e1;
        border-radius: 0;
        color: #5a625f;
        background-color: #f6f6f6;
    }

    .nav-tabs.nav-justified>li>a:hover {
        cursor: pointer;
        color: #fff;
        background-color: #005C9E;
    }

    .nav-tabs.nav-justified>.active>a,
    .nav-tabs.nav-justified>.active>a:focus,
    .nav-tabs.nav-justified>.active>a:hover {
        border: 1px solid #005C9E;
        color: #fff;
        background-color: #005C9E;
        cursor: pointer;
    }
}

hr {
    margin-top: 10px;
    margin-bottom: 10px;
    border-top: 3px solid #326fa3;
}

hr.tablerowseperator {
    border-top: 1px solid #ddd;
}

hr.tblseperator {
    margin-top: 0px;
    border-top: 1px solid #acebdc;
    margin-bottom: 10px;
}

@media (min-width: 1200px) {
    .modal-lg {
        width: 1270px;
    }
}

h5 {
    background-color: #005C9E;
    border-top: 1px solid #005C9E;
    color: #fff;
    margin: 0;
    padding-left: 15px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-top: 10px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.panel {
    border-radius: 0px;
}

.demographics-stiky {
    z-index: 100;
    top: 0px;
    padding-bottom: 0px;
}

.c1 {
    padding: 10px 20px;
    background-color: #f3f3f3;
    margin-top: 10px;
}

.c2 {
    padding: 10px 20px;
    background-color: #e9e9e9;
    margin-top: 10px;
}

.radio-inline {
    margin-top: 5px;
}

.accordion {
    background-color: #f6f6f6;
    cursor: pointer;
    padding: 13px;
    width: 100%;
    border: 1px solid #e1e1e1;
    text-align: left;
    outline: none;
    font-size: 15pt;
    font-weight: 500;
    color: #4f4f4f;
    transition: 0.33s;
}

.activeaccordition,
.accordion:hover {
    background-color: #f6fbff;
    color: #4f4f4f;
}

small.supersmall {
    font-size: 75%;
    color: #4f4f4f;
}

.accordion:hover small.supersmall {
    font-size: 85%;
    transition: 0.33s;
}

.panel.ng-hide {
    height: 0;
    transition: height 0.35s ease;
    overflow: hidden;
    position: relative;
}

.panel {
    padding: 0 18px;
    height: auto;
    transition: height 0.35s ease;
    position: relative;
    background-color: #fff;
    transition: max-height 0.2s ease-out;
    border: none;
    box-shadow: none;
    margin-bottom: 0px;
}

.panel.ng-hide-remove,
.panel.ng-hide-add {
    display: block !important;
}

.panel.ng-hide-add {
    animation-name: hide;
    -webkit-animation-name: hide;
    animation-duration: 0.5s;
    -webkit-animation-duration: 0.5s;
    animation-timing-function: ease-in;
    -webkit-animation-timing-function: ease-in;
}

.panel.ng-hide-remove {
    animation-name: show;
    -webkit-animation-name: show;
    animation-duration: 0.5s;
    -webkit-animation-duration: 0.5s;
    animation-timing-function: ease-out;
    -webkit-animation-timing-function: ease-out;
}

.accordion:after {
    content: "\002B";
    font-size: 20px;
    color: #5a625f;
    float: right;
    margin-left: 5px;
}

.accordion:after:hover {
    color: #fff;
}

.activeaccordition:after {
    content: "\2212";
}

.form-control {
    height: 42px;
}

.breadcrumb {
    padding: 8px 15px 8px 0px;
    margin-top: 10px;
    margin-bottom: 10px;
    list-style: none;
    background-color: #fff;
    border-radius: 4px;
}

.record-enable,
.record-disable {
    border-radius: 5px;
    color: #fff;
}

.record-enable {
    background-color: #005C9E;
}

.record-disable {
    background-color: #373737;
}

.goToTop {
    position: fixed;
    border-radius: 30px;
    width: 60px;
    height: 60px;
    bottom: 0;
    right: 0;
    z-index: 100000;
    cursor: pointer;
    margin: 10px;
    color: #fff;
    background-color: #005C9E;
    border-color: #005C9E;
}

.goToTop:hover {
    background-color: #326fa3;
    border-color: #326fa3;
}

label {
    font-weight: 400;
}

.innertabs ul.nav-tabs.nav-justified {
    background-color: #fff;
}

.innertabs .nav-tabs.nav-justified>.active>a,
.nav-tabs.nav-justified>.active>a:focus {
    border: 1px solid #8a6d3b;
    color: #fff;
    background-color: #8a6d3b;
    cursor: pointer;
    padding-top: 17px;
    padding-bottom: 17px;
    border-radius: 3px;
}

.innertabs .nav-tabs.nav-justified>li>a:hover {
    cursor: pointer;
    color: #fff;
    background-color: #8a6d3b;
}

a.innertopselector {
    padding-top: 15px !important;
    box-shadow: 0px 7px 7px #aaaaaa !important;
    border-radius: 0px !important;
}

.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-xs-1,
.col-xs-10,
.col-xs-11,
.col-xs-12,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9 {
    word-wrap: break-word;
}

#infoModal .modal-dialog {
    border-color: #333;
}

.home-tile {
    min-height: 120px;
    background-color: #326fa3;
    border-color: #326fa3;
    border-radius: 3px;
    color: #fff;
    text-align: center;
    padding: 7px;
    font-size: 18px;
    line-height: 26px;
}

.date-message {
    color: #ccc;
}

.info-message {
    color: #005C9E;
    font-weight: bold;
    font-size: small;
}

.btn-cancel {
    height: 42px;
    line-height: 30px;
}

.mandatory-message {
    color: #005C9E;
    padding-top: 1rem;
    padding-left: 1.5rem;
    text-align: right;
    margin-right: 10px;
}

.button-container {
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
}

.label-text {
    font-size: 1.1em;
    flex-grow: 1;
}

.image-container {
    max-height: 150px;
    max-width: 150px;
    margin: auto;
    align-self: flex-end;
}

.onset-and-mandatory-messages {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}