﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.nav-link .fa-bars{
    font-size: 1.5em;
}

.user-panel .nav-link {
    padding-right: 0;
    padding-left: 0;
}

.brand-image{
    height: 33px;
}

.main-sidebar .brand-link {
    background-color: #A6E2E2;
    margin-left: 16px;
    margin-right: 16px;
    width: 218px !important;
    height: 60px;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn {
    line-height: 2em;
    border-radius: 8px;
    font-size: 18px;
}

.btn-link {
    color: #0366d6;
    font-size: inherit;
    cursor: pointer;
}

.btn-original {
    line-height: initial;
    font-size: initial;
}

.btn-primary {
    color: #fff;
    background-color: #0166C3;
    border-color: #0166C3;
}

    .btn-primary:hover {
        background-color: #1E3B66;
        border-color: #1E3B66;
        color: #fff;
    }

.btn-secondary {
    color: #0166C3 !important;
    background-color: #F5F5F5;
    border-color: #0166C3;
}

.btn-secondary:hover {
    background-color: lightgray;
}

.btn-secondary.focus, .btn-secondary:focus {
    background-color: initial !important;
}

.buttongroup .buttongrouplabel {
    color: #214271;
    font-size: 1.5rem;
    padding: 0px;
}

.buttongroup label.active {
    background-color: #214271 !important;
}

.buttongroup label {
    background-color: transparent !important;
}

    .buttongroup label.active .buttongrouplabel {
        color: white;
    }


.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

div {
    position: relative;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 90%;
    }
}

@media (min-width: 1025px) {
    .modal-dialog {
        max-width: 75%;
    }
}

.modal {
    overflow-y: auto !important;
}

.field-error {
    border: 1px solid red;
    padding: 5px;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
    line-height: 18px;
}

body {
    font-family: 'DM Sans',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    color: #212121;
    letter-spacing: calc(-25em/1000);
}

@media (min-width: 768px) {
    html {
        font-size: 14px;
        line-height: 18px;
    }
}

h2 {
    font-size: 32px;
    line-height: 32px;
    color: #212121;
}

h3 {
    font-size: 24px;
    line-height: 31px;
    color: #1E3B66;
    border-bottom: 4px solid #31C3C3;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    /*margin-bottom: 60px;*/
    color: #214271;
    background-color: #F5F5F5;
}

.sidebar-dark-primary {
    background-color: #13294B;
}

.sidebar a {
    color: #DCDCDC;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

    .footer .container {
        text-align: center;
    }

.fullwidth {
    width: 100% !important;
    max-width: 100% !important;
    float: left;
}

.left {
    float: left;
}

.right {
    float: right;
}

.card-title {
    border-bottom: 3px solid #37CACA;
    font-size: 1.5em;
}

.card-title-description {
    clear: both;
}

div.loader {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10000;
    display: none;
}

div.blackoverlay {
    background: rgba(0,0,0,.8);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 10000;
}

.row {
    width: 100%;
    margin: 0;
}

.progress {
    clear: both;
    width: 100%;
    border-radius: 5px;
}

.progress-bar {
    border-radius: 5px;
    background-color: #214271;
}

.progress-bar-empty {
    min-width: 8%;
}

.tablewithloading{
    min-height: 200px;
}

.tab-pane{
    min-height: 220px;
}

/*FORMS*/
.formcontainer {
  /*  margin-bottom: 60px;*/
    float: left;
    width:100%;
}

.formicon {
    background-repeat: no-repeat;
    background-size: 28px 28px;
    background-position: center;
    float: left;
    font-size: 1.5em;
    min-width: 40px;
    text-align: center
}

.formpage {
    padding: 0.5em;
    background-color: #fdfbf9;
    margin-top: 0.5em;
}

.formpage-name {
    font-weight: bold;
    font-size: 1.8em;
    margin-top: 0.5em;
    color: #214271;
}

.formpage-description {
    font-style: italic;
    margin-bottom: 1em;
}

.formsection {
    margin-bottom: 1em;
    width: 100%;
    float: left;
    padding: 1em;
    border-radius: 20px;
    background-color: white;
}

.formsection-first {
    padding-top: 0;
}

.formsection-body{
    padding:10px;
}

.formsection-name {
    font-weight: bold;
    font-size: 1.5em;
}

    .formsection-name span {
        border-bottom: 4px solid #31C3C3;
    }

.formsection-description {
    font-style: italic;
    margin-top: 0.5em;
}

.formsectionfield {
    width: 100%;
    margin-top: 1em;
    float: left;
}

.formsectionfield-tooltip {
    font-size: 1.2em;
}

.tooltip.show{
    z-index: 100000;
}

.formsectionfield-option {
    width: 100%;
    float: left;
}

.formsectionfield-option-twocolumns {
    width: 50%;
}

@media (min-width: 576px) {
    .formsectionfield-option-twocolumns {
        width: 20%;
    }
}

.formsectionfield-option .radiobutton {
    float: left;
}

.formsectionfield-option .checkbox {
    float: left;
}

.formsectionfield-option .checkboxlabel {
    float: left;
}

.formsectionfield-divider {
    margin-top: 0;
    margin-bottom: 0;
    border: 0;
    border-top: 1px solid rgba(0,0,0,.1);
    float: left;
    width: 100%;
    height: 0px;
}

.formsectionfield-calculation {
    display: none;
}

.formsectionfield-name {
    font-weight: bold;
    padding-left: 0;
}

.formsectionfield-description {
    font-style: italic;
    padding:0;
}

.formsectionfield-content {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.form-explanation {
    float: left;
    clear: both;
}

.formimagepreview {
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 200px;
    background-position: center;
    margin: 10px;
}

.clickrow:hover {
    background-color: rgba(0,0,0,0.2) !important;
    font-weight: bold;
    cursor: pointer;
}

#tableResponses tr.flaggedgreen,
.timeline-item.flaggedgreen {
    background-color: rgb(0, 128, 0, 0.5) !important;
}

#tableResponses td .flaggedgreen:before {
    content: '\f024';
    font-family: 'Font Awesome 6 Pro';
    color: rgb(0, 128, 0);
    margin-right: 5px;
    font-weight: 900;
}

#tableResponses tr.flaggedyellow,
.timeline-item.flaggedyellow {
    background-color: rgb(255, 215, 0, 0.5) !important;
}

#tableResponses td .flaggedyellow:before {
    content: '\f024';
    font-family: 'Font Awesome 6 Pro';
    color: rgb(255, 215, 0);
    margin-right: 5px;
    font-weight: 900;
}

#tableResponses tr.flaggedamber,
.timeline-item.flaggedamber {
    background-color: rgb(255, 140, 0, 0.5) !important;
}

#tableResponses td .flaggedamber:before {
    content: '\f024';
    font-family: 'Font Awesome 6 Pro';
    color: rgb(255, 140, 0);
    margin-right: 5px;
    font-weight: 900;
}

#tableResponses td .flaggedblue:before {
    content: '\f024';
    font-family: 'Font Awesome 6 Pro';
    color: rgb(0, 0, 255);
    margin-right: 5px;
    font-weight: 900;
}

#tableResponses td .commercial:before {
    content: '\f024';
    font-family: 'Font Awesome 6 Pro';
    color: rgb(0, 128, 0);
    margin-right: 5px;
    font-weight: 900;
}

#tableResponses tr.formhighlight,
.timeline-item.formhighlight,
#tblActiveFollowupPlans tr.formhighlight {
    background-color: mistyrose !important;
}

#tableResponses td .formhighlight:before,
#tblActiveFollowupPlans td .formhighlight:before {
    content: '\f024';
    font-family: 'Font Awesome 6 Pro';
    color: red;
    margin-right: 5px;
    font-weight: 900;
}

#tableResponses tr.notprocessed
{
    background-color: inherit;
}

#tableResponses td .notprocessed:before {
    content: '\f05a';
    font-family: 'Font Awesome 6 Pro';
    color: rgb(255, 140, 0);
    margin-right: 5px;
    font-weight: 900;
}

.timeline > div > .timeline-item > .time {
    color: inherit;
    font-size: inherit;
}


#tablePatientsForFollowUp tr.formhighlight {
    background-color: mistyrose !important;
}

#tablePatientsForFollowUp td .formhighlight:before {
    content: '\f024';
    font-family: 'Font Awesome 6 Pro';
    color: red;
    margin-right: 5px;
    font-weight: 900;
}


.radiobutton {
    height: 1.5em;
    margin-bottom: 1.0em;
}

.checkbox {
    height: 1.5em;
    margin-bottom: 1.0em;
}

.navbar {
    border-bottom: 2px solid #37CACA !important;
}

.main-header .navbar-badge {
    font-weight: inherit;
   /* top: 15px;*/
    right: 0;
    border: 1px solid lightgray;
    border-radius: 50%;
}

.nav-sidebar .navbar-badge {
    font-weight: 700;
    font-size: 14px;
    border-radius: 4px;
    background-color: #A6E2E2;
    padding-top: 4px;
    padding-bottom: 4px;
    min-width: 22px;
    color: #000000;
}

#tableResponses .badge {
    font-weight: 700;
    font-size: 14px;
    border-radius: 4px;
    background-color: #A6E2E2;
    padding-top: 4px;
    padding-bottom: 4px;
    min-width: 22px;
    color: #000000;
}

.nextprevsavebuttons {
    padding-top: 10px;
    background: white;
}

/*END FORMS*/
/*REGISTRATIONS*/
.registrationpage {
}

.registrationsection {
    margin-bottom: 1em;
    width: 100%;
    float: left;
}

.registrationsectionfield {
    width: 100%;
    margin-top: 10px;
    float: left;
}

.registrationsectionfield-name {
}

.registrationsectionfield-description {
    font-style: italic;
    color: lightgray;
}


/*END REGISTRATIONS*/


.popover {
    z-index: 1040 !important;
}

.alwaysontop {
    z-index: 20000 !important;
}

.alwaysalwaysontop {
    z-index: 30000 !important;
}

.alwaysalwaysalwaysontop {
    z-index: 40000 !important;
}

.divloader {
    width: 100%;
    height: 100%;
    background: url(../images/loader.svg) no-repeat center;
    background-position-y: 0%;
    background-color: rgba(0,0,0,0.8);
    position: absolute;
    top: 0;
    left: 0;
    color: white;
    text-align: center;
    display: none;
}

.divloadertext {
    position: absolute;
    width: 100%;
    top: calc(0% + 180px);
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
}

.pagehelp {
    display: none;
    vertical-align: middle;
    font-size: 0.5em;
}

/* COLORS */
.color-primary1 {
    color: #214271;
}

.color-primary1-background {
    background-color: #214271;
}

.color-primary2 {
    color: #37CACA;
}

.color-primary2-background {
    background-color: #37CACA;
}

.color-primary3 {
    color: white;
}

.color-primary3-background {
    background-color: white;
}

.color-secondary1 {
    color: #D8D8D8;
}

.color-secondary1-background {
    background-color: #D8D8D8;
}

.color-secondary2 {
    color: #0071CA;
}

.color-secondary2-background {
    background-color: #0071CA;
}

.color-secondary3 {
    color: #232323;
}

.color-secondary3-background {
    background-color: #232323;
}

.red {
    color: red;
}

.green {
    color: green;
}

/* Ion Slider */
.irs.irs--round {
    width: 100%;
    margin-top: 0.5em;
    margin-bottom: 1em;
}

.irs--round .irs-handle {
    border-color: #37CACA !important;
    background-color: #214271 !important;
    width: 32px !important;
    height: 32px !important;
    top: 22px !important;
}

.irs--round .irs-bar {
    background-color: #214271 !important;
}

.irs--round .irs-from, .irs--round .irs-to, .irs--round .irs-single {
    background-color: #37CACA !important;
    color: inherit !important;
    top: -0.5em;
    font-size: 2em !important;
}

    .irs--round .irs-from:before, .irs--round .irs-to:before, .irs--round .irs-single:before {
        border-top-color: #37CACA !important;
    }

.irs-single {
    padding: 6px;
    margin-left: -4px;
    margin-top: -2px;
}

.signaturediv {
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 150px;
}

.alert-dismissible {
    border-radius: 8px;
    border: 1px solid #D8D8D8;
    padding-right: 2rem;
}

.alert .close {
    font-size: 2em;
    opacity: 1;
    background-color: rgba(0,0,0,0.4);
    border-radius: 50%;
    padding: 0;
    width: 40px;
    height: 40px;
    top: 10px;
    right: 10px;
    color: #214271;
}

.swal2-popup {
    border: 2px solid red;
}

    .swal2-popup.swal2-toast {
        background-color: red;
    }

.swal2-x-mark-line-left {
    background-color: white !important;
}

.swal2-x-mark-line-right {
    background-color: white !important;
}

.swal2-icon.swal2-error {
    border-color: white;
}

.swal2-popup.swal2-toast .swal2-title {
    color: white;
    margin-left: 1em;
}

.swal2-container {
    z-index: 50000;
}

.spinner-border{
    vertical-align: unset;
}

.accepttermscheckbox{
    width: 18px;
    height:18px;
    margin-right:10px;
}

.accepttermstext{
    font-size: 18px;
}

.fullviewonly.exclude{
    display:none;
}

.card.fullviewonly.exclude {
   display: block;
}

.card.fullviewonly.exclude .card-title {
    opacity: 0.5;
}

.dependentfield .fieldoption:not(.fullviewonly):not(.formhighlight) {
    display: block;
}

.formhtmlwarningsection .dependentfield:not(:has(.formhighlight)) {
    display: none;
}


.loginwrapper {
    top: 10%;
    width:50%;
    margin: auto;
}

@media (max-width: 768px) {
    .loginwrapper {
        width: 100%;
    }
}

.pointercursor {
    cursor: pointer;
}

.disabledoptionlabel option:first-child{
    visibility:hidden;
}


.formversion {
    position: absolute;
    left: 1em;
}

#chartjs-tooltip {
    background-color: black;
    color: white;
    position: absolute;
    padding: 1rem;
    font-style: normal;
    z-index: 29900;
    border-radius: 0.5rem;
}

#chartjs-tooltip:hover {
    opacity: 0.8;
}

.multiselect-container .multiselect-group {
    margin: 0;
    padding: 3px 20px 3px 20px;
    height: 100%;
    font-weight: bold;
}


/* Form viewer */
#FormViewerModal .containsdependentfields {
    background-color: #F5F5F5;
    border-radius: 4px;
    padding: 0.5em;
    margin-bottom: 4px;
    margin-top: 4px;
    border: solid 1px lightgray;
    float: left;
}

#EditPatientModalForm .containsdependentfields {
    background-color: #F5F5F5;
    border-radius: 4px;
    padding: 0.5em;
    margin-bottom: 4px;
    margin-top: 4px;
    border: solid 1px lightgray;
    float: left;
}

#FormViewerModal .formhtmlwarningsection .containsdependentfields {
    background-color: inherit;
}

#EditPatientModalForm .formhtmlwarningsection .containsdependentfields {
    background-color: inherit;
}


#FormViewerModal .containsdependentfields .dependentfield {
    margin-left: 16px;
    font-weight: 200;
    margin-top: 1em;
}

#EditPatientModalForm .containsdependentfields .dependentfield {
    margin-left: 16px;
    font-weight: 200;
    margin-top: 1em;
}

#FormViewerModal .irs.irs-disabled {
    max-width: 500px;
    margin-top: 0;
}

#FormViewerModal .irs--round .irs-handle {
    width: 16px !important;
    height: 16px !important;
    top: 30px !important;
}

#FormViewerModal .irs-with-grid {
}

#FormViewerModal .irs-single {
    padding: 3px;
    margin: 0;
    font-size: 1.5em !important;
}

#FormViewerModal .irs.irs--round{
    margin-bottom: 0;
    margin-top: 0;
}

#FormViewerModal .irs-min, .irs--round .irs-max{
    top: auto;
}

#FormViewerModal .formhtmlcommercialsection .containsdependentfields
{
    background-color: inherit;
}

#EditPatientModalForm .formhtmlcommercialsection .containsdependentfields {
    background-color: inherit;
}

/* Hides the dependent fields that do not have a sub element with the class .commercial */
#FormViewerModal .formhtmlcommercialsection .dependentfield:not(:has(.commercial)) {
    display:none;
}

#EditPatientModalForm .formhtmlcommercialsection .dependentfield:not(:has(.commercial)) {
    display: none;
}

/* Overrides the above class as we want to show sub elements of elements with the .commercial class set */
#FormViewerModal .formhtmlcommercialsection .commercial.containsdependentfields .dependentfield {
    display:block;
}

#EditPatientModalForm .formhtmlcommercialsection .commercial.containsdependentfields .dependentfield {
    display: block;
}

/* End Form viewer*/
.navbar-toggler {
    border: none !important;
}

.langselector-wrapper {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}



.langselector {
    position: relative;
    /*display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;*/
    padding: 10px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition: color .2s;
    transition: color .2s;
    text-decoration: none;
    /*opacity: 0.5;*/
    cursor: pointer;
}

    .langselector.selected {
        /*color: #31c3c3;
        opacity: 1;*/
        background-color: lightgrey;
    }

        .langselector.selected .langcode {
            border-bottom: 3px solid #31c3c3;
        }

    .langselector .langcode {
        border-bottom: 3px solid transparent;
    }

.selectedmenuitem {
    text-decoration: underline;
    color: white !important;
    background-color: rgba(255,255,255,.3);
}

.nav-sidebar > .nav-item.menu-open > .nav-link
{
    background-color: transparent !important;
}

.nav-item-whatsnew {
    border-radius: 5px;
    background-color: #31C3C3;
    color: white;
}


/*AB#310: For iPad Pro the pending responses table looks weird*/
.col-1 {
    max-width: 8.333333% !important;
}

.dashboardstatschart:nth-child(3) {
    clear:both;
    
}

.dashboardstatschart {
    margin-top: 2em;
}

    .dashboardstatschart .chart-heading {
        text-align: center;
        width: 100%;
        display: block;
        margin-bottom: 1em;
    }

    .yellowmark{
        background-color: yellow;
    }

.opacity-03 {
    opacity: 0.3;
}

#SurveyModal .modal-dialog{
    max-width:800px;
}

.surveypopup {
    position:fixed;
    right:10px;
    bottom:20px;
    min-width:200px;
    max-width: 300px;
    width: auto;
    min-height:200px;
    max-height: 400px;
    height: auto;
    padding: 1em !important;
}

.surveypopup-header {
    height: 50px;
    background: url('/images/Icon_Nurse.svg') no-repeat center;
}

.surveyresponsebutton{
    width: 100%;
    color: white;
}

.surveyresponsebutton:hover {
    width: 100%;
    color: white;
    font-weight: bold;
}

.selectededucationitems{
    height: 1.5em;
    width: 1.5em;
}
.educationitempreview{
    font-size: 1.5em;
}

.patienteducationavailable {
    border: 2px solid #0366d6;
    padding: 5px;
    border-radius: 50%;
}

.internaleducationavailable {
    border: 2px solid #0366d6;
    padding: 5px;
    border-radius: 50%;
}

.translatetext{
    color:inherit;
}

.translatetext i{
    font-size: 1.3em;
}

.viewertextbox {
    margin-left: 8px;
    background-color: aliceblue;
    padding: 4px; 
    border-radius: 3px;
    padding-left: 5px;
    padding-right: 5px
}

.supportarticleheading,
.supportarticlefaqheading {
    margin-top: 2em;
    font-weight: bold;
    font-size: 1.5em;
    border-bottom: 4px solid #31C3C3;
}

.supportarticlefaqitemtitle{
    font-weight: bold;
}

.supportarticlemoduleitemtitle{
    font-weight: bold;
}

.promoarticle {
    background-color: #bfe9e8;
}

.promoarticleheading,
.promoarticlefaqheading {
    margin-top: 0em;
    font-weight: bold;
    font-size: 1.5em;
    border-bottom: 4px solid #31C3C3;
}

.promoarticlefaqheading {
    margin-top: 2em;
}

.promoarticlefaqitemtitle {
    font-weight: bold;
}

.promoarticlemoduleitemtitle {
    font-weight: bold;
}

.dropdown-item{
    cursor:pointer;
}