:root {
  --w-70: 70%;
  --primary-color: #1c4587;
  --bg-grey: #EDEEF1;
}
/* login css */
.login-container {
  background-color: var(--bg-grey);
}
.login-header {
  font-size: 30px;
  font-weight: 100;
}
.login-form {
  padding: 50px;
}
.login-form label {
  font-size: 14px;
  color: #454859;
}
.login-form .form-control {
  height: calc(1.5em + 0.75rem + 0.3px);;
}
.bg-holder {
  background-image: url(/login-rhs.jpg);
  background-size: cover;
}
.login-container .logo {
  font-size: 35px;
  font-weight: 800;
  color: rgb(13, 89, 175);
}
.login-container small {
  font-size: 12px;
  color: #999;
}
/* end of login */
.w-70 {
  width: var(--w-70);
}
.stag-primary-bg {
  background-color: var(--primary-color) !important;
  color: #fff;
}
.stag-primary-border {
    border-color: var(--primary-color) !important;
}
.navbar-brand {
  font-size: 25px;
  font-weight: 900;
}
.sidebar .nav-link {
    padding: .25rem 1rem;
}
.sidebar .nav-item {
    margin-right: 0;
}
.navbar-dark .nav-item .nav-link {
  color: #fff;
}
.dropdown-menu {
  margin-top: 7px;
  border-radius: 0;
}
.dropdown-item:not(:last-child) {
  border-bottom:1px solid #ddd;
}

main {
  padding:0 1rem;
}

/* ability to toggle the video pane (rhs) */
.stag_rhs_toggle, .stag_rhs_toggle:hover {
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 0.25rem 0.75rem;
    border-top-left-radius: 6px;
    background-color: var(--primary-color);
    color: #fff;
    z-index: 2;
}
body.stag_rhs_collapsed .v-split,
body.stag_rhs_collapsed .app-right-panel {
    display: none !important;
}

.delete-column {
    width: 60px;
}
.m-negator {
    margin-left: -1.25rem !important;
    margin-right: -1.25rem !important;
}
.pl-3-5 {
    padding-left: 1.25rem !important;
}
.lh-24px {
    height: 24px;
    line-height: 24px;
}
.mcp-theme-1 *:not(i) {
    font-family: Verdana, sans-serif;
    font-size: 12px;
}
.mcp-theme-1 .font-size-11 {
    font-size: 11px;
}
.mcp-theme-1 .font-size-13 {
    font-size: 13px;
}
.mcp-theme-1 .font-underline {
    text-decoration: underline;
}
.mcp-theme-1 .on-hover-opaque {
    opacity: 0.6;
}
.mcp-theme-1 .on-hover-opaque:hover {
    opacity: 1;
}
.mcp-theme-1 a, .mcp-theme-1 a:link {
    color: rgb(13, 89, 175);
}
.mcp-theme-1 .btn.btn-primary {
    background: rgb(13, 89, 175);
    border-color: rgb(13, 89, 175);
    box-shadow: none;
}
.mcp-theme
.mcp-theme-1 .nav-item {
    margin: 0;
}
.mcp-theme-1 .nav-link:hover {
    background: #e3e3e394;
}
.mcp-theme-1 .text-sm {
    font-size: 85%;
}
.mcp-theme-1 .text-sm-incl-children,
.mcp-theme-1 .text-sm-incl-children *:not(i) {
    font-size: 0.8rem;
}
.mcp-theme-1 .minutes-label {
    width: 40px;
}
.mcp-theme-1 .memo-textarea {
    min-width: 200px;
    height: 60px;
}
.main-row {
    display: flex;
    flex-wrap: nowrap;
    margin-right: -15px;
    margin-left: -15px;
}
.main-row > .sidebar {
    width: 180px;
    min-width: 180px;
}
.main-row > main {
    flex-grow: 1;
}
html, body {
    height: 100%;
}
body>nav.navbar {
    height: 55px;
}
.stag-content {
    height: calc(100% - 55px);
}
[moe][large] form {
    width: 450px;
}
.moe-disabled[moe] {
    cursor: not-allowed;
}
.moe-disabled[moe] [start][show] {
    opacity: 0.5;
    pointer-events: none;
}
.mcp-theme-1 .stag-no-wrap-td {
    max-width: 260px;
}
.mcp-theme-1 .stag-no-wrap {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}
.mcp-theme-1 .form-control.form-control-sm {
    min-width: 200px;
}
.mcp-theme-1 [large] .form-control.form-control-sm {
    min-width: unset;
}
[wide] .form-control.form-control-sm {
    min-width: 350px;
}
.mcp-theme-1 .min-width-200px {
    min-width: 200px;
}
.mcp-theme-1 .min-width-300px {
    min-width: 300px;
}
.mcp-theme-1 .width-100px {
    width: 100px;
    min-width: unset !important;
    max-width: unset !important;
}
.mcp-theme-1 .max-width-300px {
    max-width: 300px;
}
.cancelled-item {
    opacity: 0.5;
}
.cancelled-item:not(.always-clickable) * {
    pointer-events: none;
}
.note-content {
    max-height: 300px;
    overflow-y: auto;
}
.note-content:not([auto-edit]) {
    padding: 1rem;
    padding-bottom: 0;
    cursor: pointer;
    position: relative;
}
.note-content:not(.cancelled):not([auto-edit]):not(.readonly):before {
    content: '(click to change)';
    display: block;
    color: #535353;
    padding-bottom: 0.3rem;
}
.mcp-theme-1 .ql-container, .mcp-theme-1 .ql-toolbar {
    border-left: 0;
    border-right: 0;
}
.mcp-theme-1 .ql-editor[contenteditable] {
    min-height: 100px;
}
.ql-container p {
    margin-top: 1rem;
}
.note-content ul {
    list-style: none !important;
}
.ql-editor ul > li::before {
    content: '';
}
.m-neg-4 {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
}
.mcp-theme-1 .ql-toolbar .ql-formats * {
    font-size: 12px !important;
}
.mcp-theme-1 .ql-toolbar.ql-snow {
    padding: 3px;
    background: #f7f7f7;
}
.mcp-theme-1 .ql-snow .ql-picker {
    height: 22px;
}
.mcp-theme-1 .ql-snow.ql-toolbar button {
    height: 22px;
    width: 26px;
}
.rte-holder .ql-container p {
    margin-top: 0;
    margin-bottom: 0.3rem;
}

.note-section:not(.edit) .if-not-edit {
    display: block !important;
}
.note-section:not(.edit) div.if-not-edit {
    padding-left: 1rem;
}
.note-section:not(.edit):hover {
    background: #f6f9fc;
    cursor: pointer;
}
.note-section.edit .if-edit {
    display: block !important;
}
.c-pointer {
    cursor: pointer;
}
.inset-comment p {
    margin-bottom: 0.3rem;
}
.inset-comment p:last-child {
    margin-bottom: 0 !important;
}
.note-section.edit {
    background: #f0f8ff7d;
    outline: 2px solid #9de3ff;
}
.note-section.edit .ql-editor,
.note-section.edit .btn-default {
    background-color: #fff !important;
}
/*.note-section-item-row:not(:first-child) {
    padding-top: 10px;
    border-top: 1px solid #ccc;
}*/

/* override med ac css */
#searchResults {
    z-index: 100001 !important;
}
input.search_field, textarea.search_field {
    background-position: right 7px center !important;
    padding-right: 23px !important;
}
.ansList:focus, .search_field:focus {
    background-color: #fff !important;
}

@media (min-width: 1000px) {
    .navbar.navbar-dark {
        height: 55px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
    }
    .main-row > .sidebar {
        width: 180px;
        min-width: 180px;
        position: fixed;
        left: 0;
        top: 55px;
        z-index: 8;
        height: calc(100% - 55px);
        overflow-y: auto;
    }
    .main-row {
        padding-left: 180px;
    }
    .navbar.navbar-dark+[role="main"] {
        padding-top: 55px;
    }
}
.font-smaller {
    font-size: 11px !important;
}
.text-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.outline-0 {
    outline: none !important;
}
.note-widget-item:hover {
    background: #eee;
}
.note-widget-title {
    background: #ccc !important;
    color: #333 !important;
    font-size: 12px !important;
    font-weight: bold !important;
}
.navbar-collapse.show {
    background: #1c4587;
    z-index: 999;
    padding: 0.5rem 1rem;
    margin: 0 -1rem;
}
.navbar-dark .nav-item .nav-link {
    font-size: 13px;
}
.suggestions-outer {
    top: calc(100% + 2px);
    background: #fff;
    width: calc(100% - 1rem);
    border-radius: 3px;
    border: 1px solid #ccc;
    z-index: 9999;
}
.suggestions-outer {
    top: calc(100% + 2px);
    background: #fff;
    width: calc(100% - 1rem);
    border-radius: 3px;
    border: 1px solid #ccc;
    z-index: 9999;
    max-height: 220px;
    overflow-y: auto;
}
.suggestions-outer .suggest-item, .suggestions-outer .no-suggest-items {
    padding: 0.25rem 0.5rem;
    text-decoration: none;
    font-size: 12px;
}
.suggestions-outer .no-suggest-items {
    color: #888;
}
.suggestions-outer .suggest-item.active {
    background: #ccc;
}
.suggestions-outer .suggest-item:hover {
    background: aliceblue;
}

.pro-dashboard-inline-calendar>.datepicker.datepicker-inline,
.pro-dashboard-inline-calendar table.table-condensed {
    width: 100% !important;
}
.pro-dashboard-inline-calendar {
    border: 1px solid #ddd;
    border-radius: 3px
}
.pro-dashboard-inline-calendar table.table-condensed th {
    padding: 0.5rem 0;
}
.pro-dashboard-inline-calendar table.table-condensed td {
    padding: 0.25rem 0;
}
.pro-dashboard-inline-calendar table.table-condensed td[has-events] {
    background: #c5e4ff;
}
[v-cloak] {
    opacity: 0;
}
.patient-avatar {
    width: 50px;
    height: 50px;
    background: #ddd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}
.large {
    font-size: 16px !important;
}


/* note templates */
.note-template-container {
    position: absolute;
    z-index: 10002;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    display: none;
    min-width: 200px;
}
.note-template-container .note-template-item {
    position: relative;
    height: 25px;
}
.note-template-container .note-template-item .note-template-text {
    border-bottom: 1px solid #eee;
}
.note-template-container .note-template-item .label {
    padding: 3px 6px;
    padding-right: 25px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    min-width: 120px;
    cursor: pointer;
    flex-grow: 1;
}
.note-template-container .note-template-item:hover,
.note-template-container .note-template-item.selected {
    background: aliceblue;
}
.note-template-container .note-template-item .label>input[type="checkbox"] {
    pointer-events: none;
    margin: 0;
    margin-right: 4px;
    height: 11px;
}
.note-template-container .note-template-item:last-child label {
    border: 0;
}
.note-template-container .note-template-item .note-template-children {
    position: absolute;
    left: 100%;
    top: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    display: none;
}
/*.note-template-container .note-template-item.selected:hover>.note-template-children {
    display: block;
}*/
.note-template-container .note-template-item .has-children {
    position: absolute;
    right: 6px;
    top: 0;
    height: 25px;
    line-height: 25px;
    color: #bbb;
}
.note-template-container .note-template-item:hover>.has-children {
    color: #444;
}
.note-templates-underlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.13);
    display: none;
    z-index: 10001;
}
.note-template-container textarea {
    height: 100px;
    border-radius: 0;
    border-color: #ccc;
    padding: 5px 10px;
    display: block;
}
.note-template-buttons {
    position: absolute;
    bottom: 100%;
    right: 0;
    height: 27px;
    padding: 0 3px;
    background: #fff;
}
.note-template-buttons button {
    font-size: 10px;
    padding: 2px 5px;
    margin-left: 5px;
    border-radius: 2px;
}
.note-template-buttons button:first-child {
    margin-left: 0;
}
.note-template-output {
    position: absolute;
    bottom: calc(100% + 26px);
    left: 0;
    padding: 3px 6px;
    background: #f7f7f7;
    min-width: 100%;
    border-radius: 3px;
}
.note-template-output-text {

}
.note-template-output .note-template-output-line {
    font-size: 11px;
    width: max-content;
    max-width: 500px;
    margin: 0;
}
.note-template-set-chooser {
    height: 22px;
    line-height: 22px;
    padding: 0 0.22rem;
    font-size: 12px !important;
}
.ql-editor .note-template-output-line {
    white-space: normal;
}
[prefix="(+)"] a.plus-trigger {
    color: #23a923 !important;
}
[prefix="(-)"] a.minus-trigger {
    color: #a91e1e !important;
}
.rspace {
    width: 20px;
    display: inline-flex;
    text-align: center;
    justify-content: center;
}
.embed-mask {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 98;
}
.embed-section {
    background: #fff;
    z-index: 99;
    padding: 0;
    border: 1px solid #ccc;
}
