﻿body {
    padding-top: 5px;
    padding-bottom: 20px;
}

/*https://mathematicampr.atlassian.net/browse/NFRM-3941 Should Fix items 1 & 2*/
/* Hide the legend text */
legend.hidden-legend {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Optionally, hide the fieldset border */
fieldset.hidden-fieldset {
    border: none;
}


/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.jumbotron 
{
    margin-top: 25px;
}

.jumbotron h1 {
    font-size: 3.5em;
}
/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
    font-weight: normal;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error, select.input-validation-error {
    border: 1px solid #b94a48;
}

.error-outline {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
    font-weight: bold;
}

.validation-summary-valid {
    display: none;
}

.help-block {
    font-style: italic;
    color: #31708f;
    display:block;
    margin-top:5px;
    margin-bottom:10px;
}

/*Help page styles*/
 .help-page .icon-cell {
    width: 15%;
    vertical-align: top;
}

.help-page .icon-cell div {
    text-align: center;
    margin: auto;
}

.help-page .icon-cell div i {
    color: #005983;
    font-size: 56px;
}


.help-page tr td {
    padding-bottom: 5px;
}

.help-page h4 {
    margin: 0;
}

.help-page h2 {
    margin-bottom: 0;
}


.help-page .links-cell ul {
    padding-left: 20px;
    margin: 0;
}
/*Help Page end*/


h4.passcode, h4.client-id {
    font-size: 3em !important;
}
/* Common styles */
#fade-indicator {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #808080;
    z-index: 1001;
    -moz-opacity: 0.8;
    opacity: .8;
    filter: alpha(opacity=80);
}

#progress-indicator {
    display: none;
    position: fixed;
    top: 25%;
    left: 43%;
    width: 250px;
    height: 115px;
    padding: 25px 10px 0px;
    border: 3px solid #ababab;
    box-shadow: 1px 1px 10px #ababab;
    border-radius:20px;
    background-color: white;
    z-index: 1051;
    text-align:center;
    overflow: auto;
}

#profile-additional-contacts hr {
    border-top: 1px solid #bbb;
}

#profile-additional-addresses hr {
    border-top: 1px solid #bbb;
}

.text-red {
    color: #E80000;
}

.control-label-reqd:before {
    content: " * ";
    color: red;
}

.control-label-left {
    text-align: left !important;
    margin-left: 15px;
}

.display-label {
    font-weight: bold;
    padding-top: 7px;
}

.display-label-left {
    font-weight: bold;
    padding-top: 7px;
}

.display-value {
    padding-top: 7px;
    padding-left: 5px;
}

.display-textarea {
    padding-left: 0 !important;  
    padding-top: 10px !important;
}

address {
    margin-left: 20px;
    margin-bottom: 1px !important;
}

.indented-text {
    margin-left: 20px;
}

.margin-bottom-small {
    margin-bottom: 8px;
}

.client-information fieldset legend {
    margin-bottom: 10px;
    margin-top: 10px;
}

fieldset > fieldset:not(.no-indent) {
    margin-left: 15px;
    font-size: .98em;
}

fieldset > div.row {
    margin-left: 0;
}

div.dv-screened {
    margin-top: 10px;
}

#additional-contacts hr {
    margin: 5px !important;
}
#additional-addresses hr {
    margin: 5px !important;
}
address .contact-heading {
    margin-left: -10px;
    font-size: 1.3em;
    font-weight:bold;
}

.search-criteria .card-heading,
.filter-criteria .card-heading {
    cursor: pointer;
}

.card-heading > .row {
    margin: 5px;
}

.input-group.date.disabled .form-control:first-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius:4px;
}

.checkbox .form-group {
    margin: 0;
}

.radio label {
    padding-left: 28px;
}

.radio label.margin15 {
    margin-right: 15px;
}

div.checkbox.child {
    margin-left: 25px;
    padding:0;
}

div.checkbox.parent
{
    padding-top: 15px;
}

div.checkbox.parent, div.checkbox.parent label {
   font-weight: bold !important;
}

input[type=text].specified-text 
{
    margin-left: 20px !important;
    font-weight: normal;
}

a.disabled {
    text-decoration: none;
}

textarea {
    resize: none;
}

ul.report-listing {
    margin-top: 15px;    
}

p.report-listing {
    margin-top: 15px;
    margin-left: 15px;
}

legend .support-text {
    font-size: 14px;
}

div.burdenbox {
    padding: 20px;
    margin-bottom: 20px;
    border: thin #000000 solid;
    border-radius: 6px;
}

/* Secondary text color */
h2 small {
    color: #3a87ad;
}

/* Modal header */
.modal-header h6 {
    margin-top: 5px;    
    margin-bottom: 0;
}

/* Common navigation styles */    
.navbar-main {
    margin-bottom: 0;
    border-bottom: 0;
}
a.navbar-brand {
    padding-bottom: 0 !important;
}
.navbar-subnav {
    min-height: 35px;
    background-color: #005983;            
}
.navbar-subnav ul.nav-pills 
{    
    margin-left: 35px;
}
.navbar-subnav .nav-pills li
{    
    margin-top: 6px;
    margin-right: 15px;
}
.navbar-subnav .nav-pills a
{    
    font-size: 12px;
    padding: 3px 20px;
    color: #f8f8f8;
}
.navbar-subnav .nav-pills a:hover, 
.navbar-subnav .nav-pills a:focus
{    
    color: #005983;
}

.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
  color: #005983;
  background-color: #f8f8f8;
}

.nav .glyphicon {
    color: #005983;
}

.nav.navbar-right > li:hover, 
.nav.navbar-right > li > a:hover {
    background-color: #f8f8f8 !important;
}

.nav-tabs>li.active>a, 
.nav-tabs>li.active>a:focus, 
.nav-tabs>li.active>a:hover {
    font-weight: bold;
    color: #000;
    background-color: #FFFFC0;
}

a.login-help {
    font-size: 1.75em;
}
/* Mobile styles */
@media screen and (max-width: 768px) {
    #progress-indicator {
        top: 15%;
        left: 10%;
    }

    /* Navigation */
    a.navbar-brand {
        padding: 15px 5px 10px 15px;
        top: -25px;
        position: relative;
    }
    a.navbar-brand img {
        width: 55%;
    }
     .navbar-nav .glyphicon {
        float: left;
        padding: 10px;
    }
    .navbar-nav > .active > a
    {
        background-color: transparent !important;
    }
    .navbar-right > ul {
        list-style: none;
        text-align: left;
        padding: 0;
    }

    .navbar-right > li {
        padding-bottom: 10px;
    }

    .nav-pills {
        padding-bottom: 5px;
    }

    .nav-pills> li {
        float: none;
    } 
}

/* Desktop styles */
@media screen and (min-width: 768px) {
    /* Navigation */
    .navbar-main {
        min-height: 107px;
    }
    a.navbar-brand {
        padding: 10px 5px;
    }

        a.navbar-brand img {
            width: 85%;
        }

    .navbar-nav .glyphicon {
        margin-top: 20px;
        margin-bottom: 5px;
        font-size: 3em;
    }

    .navbar-nav > li {
        text-align: center;
        cursor: pointer;
    }

    .navbar-nav > li > a {
        padding-top: 5px;
    }

    /* Navigation hover styles */
    .navbar-nav li:hover {
        color: white;
        background-color: #005983;
    }

    .navbar-nav li:hover .nav-link {
        color: white;
        background-color: #005983;
    }
    .navbar-nav > li > a:hover {
        color: white !important;
    }

    .navbar-nav li:hover a {
        color: white;
    }

    .navbar-nav li:hover .glyphicon {
        color: white;
    }

    .navbar-right > ul {
        list-style: none;
        text-align: right;
        margin-right: -3rem;
    }
    
    /* Navigation active styles */
    .navbar-nav li.active {
        color: white;
        background-color: #005983;
    }
        .navbar-nav li.active .glyphicon {
            color: white;
            background-color: #005983;
        }

        .navbar-nav li.active > a {
            color: white !important;
            background-color: #005983 !important;
        }

    .display-label {
        text-align:right;
    }

    .card-footer .actions a {
        margin-right: 10px;
    }
}

@media (min-width: 1200px) {
    .container { max-width: 1170px !important; }
}

/*Web grid filter styles*/
tr.filterColumns input._filterText {
    width: 100%;
}

tr.filterColumns input.input-sm {
    height: 25px;
}

/*Custom tablesorter styles*/
table.table-sorter thead th.header {
    cursor: pointer;
}

table.table-sorter thead tr .header:not(.headerSortDown):not(.headerSortUp):after {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    float:right;
    content: "\f0dc";
}

table.table-sorter thead tr .header.headerSortDown:after{
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    float:right;
    content: "\f0de";
}

table.table-sorter thead tr .header.headerSortUp:after{
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    float:right;
    content: "\f0dd";
}

table.table-sorter thead tr .header.headerSortDown, table.table-sorter thead tr .header.headerSortUp {
    background-color: #8dbdd8 !important;
}

table.table-sorter .pagination {
    margin: 5px;
}

table.table-sorter .record-count {
    margin: 5px;
    font-weight: bold;
}

.survey-link.disabled, 
input[type='submit'].disabled,
#btn-login[disabled], 
.btn[disabled] {
    pointer-events: all;
}

.additional-contacts {
    padding: 12px;
    border-radius: 3px;
}
.additional-addresses {
    margin-left: 2px;
    margin-bottom: 10px;
    padding: 5px;
    border-radius: 2px;
    background-color: #FCFDFB !important;
}

.additional-contacts legend {
    border-color: #c6c6c0;
}

.additional-addresses legend {
    border-color: #c6c6c0;
}

.card-heading a.btn {
    margin-left: 15px !important;
}

.col-sm {
    width: 10%;
}

.help {
    cursor: help;
}

.btn {
    white-space: nowrap !important;
}

.btn:focus,
.nav-pills a:focus {
   border-color: #ffa500;
   box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 2px 3px #ffa500;
   outline: 0 none;
}

.chkbox-list-container {
    border: 1px solid #ccc; 
    border-radius: 4px; 
    height: 85px; 
    overflow: auto; 
    padding-left: 10px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); 
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.chkbox-list-container.disabled {
    background-color: #eee; 
}

/* Styles for signature plugin v1.1.2. */
.kbw-signature {
    width: 400px;
    height: 200px;
}

.kbw-signature-disabled {
    cursor: not-allowed;
}

.child-adherence-question {
    margin-left: 10px;
}

.title-with-counter{
    position:relative;
}

.counter-in-title {
    position:absolute;
    right:2px; 
    bottom:5px; 
    font-weight: 700;
}

.input-group-append {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
}

html {
  font-size: 14px;
}

.close {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;
}

.h4, h4 {
    font-size: 18px;
}

.h6, h6 {
    font-size: 12px;
}

.dotted-line {
    border-top: 2px dotted #000;
    margin-top:20px;
    margin-bottom:2px;
}

.radio-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}


.signature-wrapper {
    position: relative;
    width: 460px;
    height: 245px;
}

.clear-button {
    position: absolute;
    left: 410px;
    top: 40%;
    border-radius: 15px;
}

.radio .spaced-radio {
    padding-left: 40px;
}

button.close {
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
}

.close {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;
}

legend {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
    font-size: 21px;
    line-height: inherit;
    color: #333;
    border: 0;
    border-bottom: 1px solid #e5e5e5;
}

canvas.disabled {
    opacity: 0.4;
    cursor: not-allowed
}

.btn-group-xs>.btn, .btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.control-label{
    text-align: right
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
}

.card-success>.card-header {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.bg-success {
    background-color: #dff0d8!important;
}

.bg-green {
    background-color: #28a745;
}

.small, small {
    font-size: 85%;
}

.row>.control-label {
    padding-top: 7px;
    margin-bottom: 0;
    text-align: right;
}

.form-horizontal .checkbox, .form-horizontal .checkbox-inline, .form-horizontal .radio, .form-horizontal .radio-inline {
    padding-top: 7px;
    margin-top: 0;
    margin-bottom: 0;
}

.input-group[class*=col-] {
    float: none;
    padding-right: 0;
    padding-left: 0;
}

.hidden {
  display: none !important;
}

.modal-lg {
    max-width: 900px !important;
}


.modal-dialog {
    max-width: 600px;
}


.navbar-nav>li>a {
    position: relative;
    display: block!important;
    padding: 10px 15px!important;
}

a {
    color: #337ab7;
    text-decoration: underline;
}
    a:focus, a:hover {
        text-decoration: none;
    }

.text-info {
    color: #31708f!important;
}

.text-success {
    color: #3c763d!important;
}

.btn-primary {
    color: #fff!important;
    background-color: #337ab7!important;
    border-color: #2e6da4!important;
}

a.btn-default:hover {
    color: #0056b3!important;
}

.nav-pills>li>a {
    border-radius: 4px;
}

.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
    color: #005983!important;
    background-color: #f8f8f8!important;
}

.navbar-subnav .nav-pills a {
    font-size: 12px;
    padding: 3px 20px;
    color: #f8f8f8!important;
}

.h1, .h2, .h3, h1, h2, h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.card {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
}

.card-success {
    border-color: #d6e9c6;
}

.card-primary>.card-header {
    color: #fff;
    background-color: #337ab7;
    border-color: #337ab7;
}

.card-header {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.card-body {
    padding: 15px;
}

.card-primary {
    border-color: #337ab7;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
    font-weight: bold!important;
    color: #000!important;
    background-color: #ffffc0!important;
}

.checkbox label, .radio label {
    min-height: 20px;
    padding-left: 20px;
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
}

.pull-right {
    float: right!important;
}

.pull-left {
    float: left!important;
}

.help-row {
    display:block;
}

.card-info>.card-header {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

body {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif !important;

}

.card-info {
    border-color: #bce8f1;
}

.justify-start {
    margin-right: auto;
    justify-content: flex-start;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
    border: 1px solid #ddd;
    border-bottom-color: transparent;
    cursor: default;
}

.form-horizontal .checkbox, .form-horizontal .radio {
    min-height: 27px;
}

.text-warning {
    color: #8a6d3b!important;
}

abbr[title] {
    cursor: help;
    border-bottom: 2px dotted #777;
    text-decoration: none;
}

.nav > li > a:focus, .nav > li > a:hover {
    color: #005983!important;
    background-color: #f8f8f8!important;
}

input[type=checkbox], input[type=radio] {
    margin-left: -20px;
}

.other-specify-first-row {
    margin-bottom: .5rem !important;
}


/* dosage progress meter */
.progress-label-top {
    /*display: flex;*/
    position: relative;
    width:100%;
    text-align: right;
    overflow: hidden; 
}

.progress-label-bottom {
    /*display: flex;*/
    position: relative;
    width:100%;
    text-align: right;
    overflow: hidden; 
}

.label-txt {
    font-size: .75rem;
}

.label-txt-top {
    float: right;
    padding-right: .45rem;
    position: absolute;
    bottom: 0;
    right: 0;
}

.label-txt-bottom {
    float: right;
    padding-right: .45rem;
    position: absolute;
    top: 0;
    right: 0;
}

.label-line {
    float: right;
    background: #000;
    height:30px;
    width:1px;
}
/*end dosage progress meter*/


.help-subtext {
    font-style: italic;
    color: #31708f;
    font-size: 65% !important;
}

/*508*/
.page-link {
    color: #0169D9;
}

.btn-success {
    background-color: #1B8934;
}

.navbar-light .navbar-text {
  color: #6B6B6B; 
}

.navbar-light .navbar-toggler {
   color: #6B6B6B; 
}

.navbar-light .navbar-nav .nav-link {
   color: #6B6B6B; 
}

/*Remove underline for <a> tag used to toggle fieldsets and nav links*/
.toggle-fieldset, .nav-link {
    text-decoration: none;
}

.btn-font-danger {
    color: #dc3545;
    font-weight: bold;
}
