.navbar-default {
    background-color: #1bc1b0;
    border-color: #ffffff;
}
.navbar-default .navbar-brand {
    color: #ffffff;
}
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
    color: #1bc1b0;
    background: white;
}
.navbar-default .navbar-text {
    color: #ffffff;
}
.navbar-default .navbar-nav > li > a {
    color: #ffffff;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #1bc1b0;
    background: white;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: #1bc1b0;
    background-color: #ffffff;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
    color: #1bc1b0;
    background-color: #ffffff;
}
.navbar-default .navbar-toggle {
    border-color: #ffffff;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #ffffff;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #ffffff;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
    border-color: #ffffff;
}
.navbar-default .navbar-link {
    color: #ffffff;
}
.navbar-default .navbar-link:hover {
    color: #1bc1b0;
}
.new-messages-icon {
    color: #1bc1b0;
    background-color: #fff !important;
    font-size: 0.8rem;
    display: inline-block;
    padding: 0;
    width: 20px;
    height: 20px;
    line-height: 17px;
    text-align: center;
    vertical-align: middle;
    border-radius: 100%;
    margin-left: 0.1rem;
}
.nav-link:hover .new-messages-icon {
    color: #fff !important;
    background-color: #1bc1b0!important;
}

@media (max-width: 767px) {
    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
	    color: #ffffff;
    }
    .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
    .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
	    color: #1bc1b0;
    }
    .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
    .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
    .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
        color: #1bc1b0;
        background-color: #ffffff;
    }
    #twofa-video-container {
        margin-bottom: 20%!important;
    }
    #twofa-video {
        width: 100%!important;
        height: 100%!important;
    }
    .patient-list-col-m {
        width: 25vw!important;
    }
    .patient-list-col-s {
        width: 20vw!important;
    }
    .mobile-display-none {
        display: none!important;
    }
    div.patient-note {
        font-size: 0.8em;
        padding: 1em!important;
    }
    .patient-info-lower-container {
        display: flex!important;
        flex-direction: row!important;
        justify-content: space-between;
    }
    #patient-info-mobile {
        display: block!important;
    }
    #patient-info-desktop {
        display: none!important;
    }
    .chat-info-container {
        text-align: right;
    }
    .chat-activated-container {
        margin-bottom: 0.5rem!important;
        margin-left: 4px!important;
        padding-right: 0!important;
        padding-top: 0.5em!important;
        padding: 0.375rem 0.75rem;
    }
    .billing-delivery-method-container {
        flex-direction: column;
    }
    .billing-delivery-method-container .text-info {
        align-self: center!important;
    }
    .alert-maintenance {
        margin: -20px -30px 10px!important;
    }
    .alert-maintenance-buttons {
        width: 30%!important;
    }
}


@media (min-width: 768px) { 
    .navbar {
        max-height: 80px;
    }
    .navbar-nav > li {
        height: 80px;
    }
    .navbar-nav > li > a {
        height: 80px;
        line-height: 60px;
    }
}

@media (min-width: 1025px) {
    .break-space-mobile {
        display: none;
    }
}
.nav-link {
    display: block;
    padding: 1rem 1rem !important;
    font-weight: 600;
}

.navbar-brand {
    padding: 0 15px;
    height: 80px;
    line-height: 80px;
    font-weight: bold;
}

.navbar-brand > img {
    display: inline;
    margin-right: 1em;
}

.navbar-toggle {
    /* (80px - button height 34px) / 2 = 23px */
    margin-top: 23px;
    padding: 9px 10px !important;
}

.navbar-nav > li img.profile-picture {
    border-radius: 50%;
    border: 2px solid white;
    height: 60px;
    margin-left: 1em;
}

.sidebar {
    display: block;
    height: 100%;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
}

.nav-sidebar {
    margin-right: -21px; /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}
.nav-sidebar > li > a {
    padding-right: 20px;
    padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
    color: #fff;
    background-color: #428bca;
}
.alert-maintenance {
    color: #114c8a;
    background-color: #fff3cd;
    border: 2px solid #ffeeba;
    display: flex;
    align-items: center;
    padding: 0.1rem;
    margin: -4px -40px 10px;
}
.alert-maintenance:first-child {
    margin-top: -19px;
}
.alert-maintenance-buttons {
    display: flex;
    flex-direction: column;
    width: 15%;
}


/*
 * Main content
 */

.main {
    padding: 20px;
}
@media (min-width: 768px) {
    .main {
        padding-right: 40px;
        padding-left: 40px;
    }
}
.main .page-header {
    margin-top: 0;
}

.customers-heading, .appointments-heading {
    font-size: 18px;
    font-weight: bold;
    background: #467873;
    color: white;
    padding: 8px 4px 8px 16px;
}
div.row.close-overlay {
    background: #f5f5f5;
    padding-left: 15px;
}
a#close-overlay {
    text-decoration: none;
    font-size: 1.5em;
    color: black;
}

#overlay {
    padding-bottom: 1em;
    min-height: 10em;
}

#overlay div.patient-info {
    background: #f5f5f5;
    font-size: 1.2em;
}
#overlay div.patient-info div.initials {
    font-size: 1em;
    background-color: #fd836f;
    width: 40px;
    height: 40px;
    border-radius: 25px;
    margin: 1em auto 0.2em auto;
    color: white;
    font-weight: bold;
    line-height: 250%;
    text-align: center;
}

div.row.appointment {
    padding: 0.2em 0.1em;
    font-size: 1.2em;
    font-weight: bold;
}

div.row.appointment > div.name {
    font-weight: normal;
}

div.row.appointment.cancelled,
div.row.appointment.cancelled a {
    color: red;
}

#overlay.loading {
    background: no-repeat center url("/img/spinner.gif");
}
#main.loading {
    background: no-repeat center url("/img/spinner.gif");
    min-height: 400px;
}

#overlay.kanta-loading {
    background: no-repeat center url("/img/kanta-spinner.gif");
}
#main.kanta-loading {
    background: no-repeat center url("/img/kanta-spinner.gif");
    min-height: 400px;
}

.disabled {
    opacity: 0.6;
    cursor: default;
    pointer-events: none;
}

#main .panel {
    margin-right: -15px;
    margin-left: -15px;
}
#main .title-floater {
    float: right;
    margin-bottom: -10px;
    margin-top: -4px;
}
ul.messages {
    /* background: #f5f5f5; */
    margin: 0;
    padding: 0.5em;
}
ul.messages li {
    list-style-type: none;
}
#message {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
body {
    font-family: FreightSansProBook-Regular;
}

div.patient-list div.patient {
    text-align: center;
    font-size: 1.2em;
}
div.patient-list div.patient div.initials {
    font-size: 2em;
    background-color: #fd836f;
    width: 80px;
    height: 80px;
    border-radius: 50px;
    margin: 1em auto 0.2em auto;
    color: white;
    font-weight: bold;
    line-height: 230%;
}
div.patient-list div.patient.archived div.initials {
    background-color: lightgray;
}
div.patient-list div.patient.add-new div.initials {
    font-size: 2em;
    background-color: #6dc5ef;
}
div.patient-list > div a,
div.patient-list > div a:hover {
    color: black;
    text-decoration: none;
}
div.patient-list div#new-patient-button a {
    font-weight: bold;
    color: black;
}
#show-icons-button {
    background: transparent;
    color: #fff;
    border: none;
    margin-right: 0.5rem!important;
    margin-top: -6px!important;
}
#show-list-button {
    background: transparent;
    color: #fff;
    border: none;
    margin-right: 0.5rem!important;
    margin-top: -6px!important;
}
table.patient-table {
    text-align: center;
    width: 100%;
}
tr.patient-list-header {
    border-bottom: 1px solid #1bc1b0;
    background-color: #efefef;
    color: #6e6e6e;
    font-size: 1.1rem;
    height: 3rem;
}
tr.patient-list-row {
    border-bottom: 1px solid #1bc1b0;
    color: #666666;
    height: 3rem;
}
tr.archived {
    border-bottom: 1px solid #1bc1b0;
    color: #666666;
    background-color: #eaedeb;
    height: 3rem;
}
tr.patient-list-header th {
    cursor: pointer;
}
tr.patient-link-container {
    cursor: pointer;
}
tr.patient-link-container:hover {
    background-color: #f8f8f8;
}
td.patient-list-col-m {
    width: 14%;
}
td.patient-list-col-s {
    width: 11%;
}

tr#new-patient-from-list-button {
    height: 4rem;
}
tr#new-patient-from-list-button td { 
    text-align: end;
}
tr#new-patient-from-list-button td a {
    color: white;
    background-color: #6dc5ef;
    padding: 0.5rem;
    font-size: 1.2rem;
    text-decoration: none;
}
table thead tr th i {
    margin-right: 3%;
}
.select-view {
    margin-right: 10px;
    display: none;
 } 
html {
    font-size: 14px !important;
}
body {
    padding-top: 80px;
}

#overlay > .content {
    margin-top: 0px;
}
.chat-activated-container {
    font-size: 0.9em;
    padding: 1em 1em 0.3em 0;
    margin-left: -2px;
}
p.patient-note {
    font-style: normal;
    font-size: 0.8em;
    margin: 0; 
}
.appointment-note {
    font-style: italic;
    font-size: 0.8em;
    margin: 0;
}
div.patient-note {
    padding: 1em 1em 1em 0;
    font-style: normal;
}
#patient-info-mobile {
    display: none;
}
#patient-info-desktop {
    display: block;
}
div.name > a,
div.name > a:hover {
    color: black;
    text-decoration: none;
}
div.appointment-note p {
    font-style: italic;
}
.data-entry-form .input-group {
    width: 100%;
}
textarea.data_entry {
    width: 100%;
}
.panel {
    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);
}
.panel-default {
    border: #ddd 1px solid;
}
.panel-heading {
    display: flex;
    flex-direction: column;
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}
.panel-body {
    padding: 15px;
}
.input-group {
    position: relative;
    display: table;
    border-collapse: separate;
}
.input-group .form-control {
    position: relative;
    z-index: 2;
    float: left;
    width: 100%;
    margin-bottom: 0;
}
.select-delay {
    display: flex;
    margin-top: 2vh;
}
.delay {
    display: flex;
    margin-top: 1vh;
}
.delay-enable-checkbox {
    margin: 4px 0 5px;
    margin-left: 1vw;
}
a {
    color: #337ab7;
    text-decoration: none;
}
label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
}
select {
   font-weight: bold !important;
   text-transform: uppercase;
}

.form-control {
    border-radius: 0px;
    border: 1px solid black;
}

.indent {
    margin-left: 0.1rem;
}

#edit-appointment-modal .modal-body .form-group {
    margin-left: -15px;
    margin-right: -15px;
}

#edit-appointment-modal .modal-body .form-group label {
    font-weight: 700;
}

#edit-appointment-modal .modal-dialog-lg {
    max-width: 600px;
    margin: auto;
}

.sidebar-edit .form-group, .sidebar-edit .form-check {
    margin-left: -15px;
    margin-right: -15px;
}

.sidebar-edit .form-group .row {
    padding-left: 0 !important;
    display: flex;
    align-items: center;
}

form .form-group label, .form label {
    font-weight: 700;
}

.form h1 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.pro-dashboard-btn {
    border: 1px solid black;
    font-weight: bold;
    padding-left: 1.5em;
    padding-right: 1.5em;
    padding-top: 1ex;
    padding-bottom: 1ex;
    margin-right: 1em;
}

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.btn.pushme {
    border: 1px solid #1BC1B0;
    background-color: #1BC1B0;
    color: white;
}

.btn.beware {
    border: 1px solid #fd836f;
    background-color: #fd836f;
    color: white;
    margin-right: 0;
}

hr {
    border-top: 1px solid #888;
}
.heading-description {
    display: none;
}
div#notification-bar {
    background-color: #fd836f;
    color: white;
    text-align: center;
    padding: 1em;
}
div#notification-bar a,
div#notification-bar a:visited {
    color: white;
    font-weight: bold;
    text-decoration: underline;
}
div#mobilepay-notification-bar {
    background-color: #504678;
    color: white;
    text-align: center;
    margin-top: 0.2em;
}
div#mobilepay-notification-bar a,
div#mobilepay-notification-bar a:visited {
    color: white;
    font-weight: bold;
    text-decoration: underline;
}
@media (min-width: 1025px) {
    #patient-selector {
        padding-right: 45px;
    }
}
.small-button{
    padding: 0.2em 0.5em;
}
div.invoice {
    padding: 1em;
}
div.invoice div#template-row {
    display: none;
}
div#ku205-rows div.row.data.visits,
div.invoice div.invoice-row {
    padding-top: 0.2em;
    padding-bottom: 0.2em;
}
div#ku205-rows div.row.data.visits.delete,
div.invoice div.invoice-row.delete {
    background: #fd836f;
}
div.patient-selector {
    font-size: 1.4em;
    padding: 1em;
}

div#recurring_end_time_box {
    display: none;
}
div#recurrence_choice {
    display: none;
}
ul.errorlist {
    list-style-type:none;
    padding: 0;
    margin: 0;
    margin-bottom: 10px;
}
ul.errorlist li {
    border: 1px solid #fd836f;
    background-color: #fd836f;
    color: white;
    font-weight: bold;
    display: inline;
    padding: 0.3em 1em;
    margin: 0.2em;
    border-radius: 3px;
}

div.panel.patient-info {
    font-size: 1.2em;

}
tr.past_due {
    background-color: #fd836f;
    color: white;
}
a#show-calendar-icon {
    margin-left: 1em;
}
a.video-session-url {
    text-decoration: underline;
    color: black;
}
a.video-session-button {
    float: right;
}
p.info {
    font-style: italic;
}
p.info-large {
    font-size: 1.4em;
}
div.no-files {
    font-size: 1.4em;
    font-style: italic;
    padding-top: 1em;
}
a.file-manager-folder-link {
    text-decoration: none;
}
a.file-manager-folder-link img {
    margin-right: 1em;
}
table.appointments tr.cancelled td,
table.appointments tr.cancelled td a {
    color: red;
}
table.appointments tr.noborder td {
    border: 0px;
}
table.appointments span.green {
    font-weight: bold;
    color:green;
}
table.appointments span.red {
    font-weight: bold;
    color:red;
}
table.appointments tr.additional {
    display:none;
}
a#show-additional {
    float:right;
    margin: 0 0 0 0.3rem;
}
table.appointments tr.odd {
    background: white;
}
table.statements tr.odd {
    background: white;
}
div.loading {
    background: no-repeat center url("/img/spinner.gif");
}
div#upload-placeholder {
    height: 16ex;
}
.filter-container {
    display: flex; 
    align-items: baseline; 
    margin-right: -15px;
    margin-left: -15px;
}
.filter-field {
    text-align: center;
}
a.resend-link,
a.resend-link:visited,
a.resend-link:link {
    color: black;
}

/* Navbar-toggler for bootstrap 4 */
.navbar-default .navbar-toggler {
  color: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

.navbar-default .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.form-group label {
    font-weight: 700 !important;
}

.form-group-checkbox {
    align-self: center;
    margin: 0 0 0 0.3rem;
}
.form-group-checkbox-inline {
    vertical-align: middle;
    margin: 0 0 0 0.3rem;
    display: inline-table;
}
.form-billing-delivery-method-label {
    margin-bottom: 0;
}
.form-billing-delivery-method-label > label {
    margin-bottom: 0;
}
.billing-delivery-method-container {
    margin: 0.5rem;
}
.form-billing-delivery-method-fieldset {
    display: flex;
    margin-left: 0.5rem;
}
.form-billing-delivery-method-fieldset > label {
    display: flex;
}
.form-billing-delivery-method-fieldset label {
    font-weight: 100!important;
}
.form-billing-delivery-method-fieldset input {
    font-size: 0.4rem!important;
    margin-right: 0.2rem;
}
.form-billing-delivery-method-radiobutton {
    width: 20%;
    height: 100%;
    display: flex;
    align-items: center;
}
.form-billing-delivery-method-choice-label {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-left: 3px dashed #f5f5f5;
    margin: 0 5rem 0 1rem;
}
.form-billing-delivery-method-choice-label-mobilepay {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-left: 3px dashed #f5f5f5;
}
.mobilepay-disabled {
    cursor: default;
    color:  rgb(170, 170, 170);
    border: rgb(170, 170, 170);
    pointer-events: none;
}
.mobilepay-disabled input {
    color: rgb(170, 170, 170);
    accent-color: #777f86;
}
.mobilepay-disabled .mobilepay-logo {
    opacity: 0.8;
}
#id_kanta_login {
    margin-right: .5rem;
}

@media print {
    body {
        font-family: Arial, Helvetica, sans-serif;
    }
}
div.panel-body.underage-info {
    font-weight: bold;
    background: red;
    color: white;
}
div.panel-body.release-date-info {
    font-weight: bold;
    background: yellow;
    color: black;
}
p.kanta-error {
    font-size: 1.2em;
    font-weight: bold;
}
.mobilepay-auth-button {
    margin: 10px;
    padding: 0;
    border: 0;
}
.mobilepay-auth-button-display-as-link {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    text-decoration: underline;
}
.mobilepay-logo-small {
    width: 100px;
    margin: 17px;
}
.mobilepay-logo-medium {
    width: 150px;
    margin: 25px;
}
.mobilepay-logo-large {
    width: 200px;
    margin: 33px;
}
