html {
    font-size: initial !important;
}

/* override bootstrap-custom.css, conflicts with dialog modal and notification */
.fade:not(.show) {
    opacity: initial;
}

.modal.fade {
    top: 50px;
}

.modal-dialog {
    top: 144px;
}

.modal-dialog .modal-header {
    padding: 0.75rem 1.25rem;
}

.modal-dialog .modal-footer {
    padding: 0.4rem;
    margin: 0;
}

.modal-dialog .modal-footer > * {
    margin: 0;
}

.modal-dialog .bootstrap-dialog-header {
    width: 100%;
}

.bootstrap-dialog .bootstrap-dialog-title {
    font-size: .9rem;
}

.modal-backdrop.in,
.modal-backdrop.fade {
    filter: alpha(opacity=0);
    opacity: 0;
}

/* remove duplicate caret in bootstrap multiselect box */
button.multiselect.dropdown-toggle b.caret {
    display: none;
}

/** **/
.auth-box .right {
    /*
    background-image: url(http://assets.neurosteer.com/images/login-bg-1.jpg);
    */
    background-position: center;
}

.auth-box .right .overlay {
    background: rgba(0, 0, 0, 0.5);
}

/* alerts */
.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

/* top bar */
.navbar {
    background: deepskyblue;
    border-radius: 0;
}

.navbar .navbar-brand .logo {
    position: relative;
    max-height: 65px;
    top: -8px;
}

.navbar .search-form .input-group {
    display: none;
}

.navbar-nav .icon-menu .badge {
    width: 1.05rem;
    height: 1.05rem;
}

.navbar-nav > li.user-picture-wrapper > a {
    padding-top: 0px;
    padding-bottom: 0px;
}

.navbar .user-picture {
    border-radius: 50%;
    border: none;
    width: 38px;
}

.navbar li.disabled {
    color: #b0b0b0;
    cursor: not-allowed;
}

.navbar li.disabled a {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

#wrapper .sidebar {
    overflow-y: visible;
}

#wrapper .sidebar .btn-toggle-minified {
    border-radius: 50%;
    padding: 4px 6px;
    position: absolute;
    top: 105px;
    right: -13px;
}

#wrapper .sidebar .nav-wrapper {
    overflow: hidden;
}

#wrapper .sidebar .nav-wrapper .version-info {
    overflow: hidden;
    font-size: 11px;
}

#wrapper .sidebar .version-info-wrapper {
    position: absolute;
    bottom: 30px;
    left: 10px
}

.sidebar-minified #wrapper .sidebar .version-info-wrapper {
    display: none;
}

.sidebar .nav > li.active > a {
    color: #0af;
}

#wrapper .main {
    min-height: 100vh;
}

/** tabbed card - avoid using class card-tab as it conflicts with nested cards **/
.card-tabbed > .card-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0;
    border-bottom: 0;
}

.card-tabbed > .card-header .card-title {
    padding-left: 20px;
}

.card-tabbed > .card-header .nav-link {
    border-radius: 0;
}

.card-tabbed > .card-body {
    padding: 0;
}

.card .card-body > tabbed-content > .card-tabbed.fill-parent-card {
    margin: -1.25rem;
    border: 0;
}

.modal-content.card .card-footer {
    text-align: right;
    padding: 0.4rem;
}

.new-entry-button-wrapper {
    margin-bottom: 30px;
}

.new-entry-button-wrapper button {
}

.new-entry-modal .form-group.row,
.edit-entry-modal .form-group.row {
    margin-right: inherit;
    margin-left: inherit;
}

.new-entry-modal form:invalid button[type=submit],
.edit-entry-modal form:invalid button[type=submit] {
    color: #b0b0b0;
    border-color: #b0b0b0;
    cursor: not-allowed;
}

.new-entry-modal button:disabled,
.edit-entry-modal button:disabled {
    color: #b0b0b0;
    border-color: #b0b0b0;
}

/** ensure autocomplete list is not hidden by modal **/
.ui-autocomplete.ui-front {
    z-index: 1060;
}

.data-table-controls {
    height: 22px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
    margin-top: 0px;
}

.data-table-controls .pagination {
    float: left;
    margin: 0;
    font-size: 11px;
}

.data-table-controls .pagination > li > a, .pagination > li > span {
    padding: 4px 8px !important;
    cursor: pointer;
}

.data-table-controls .per-page {
    float: left;
    padding: 3px;
    margin-left: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 13px;
    color: #337ab7;
}

.data-table-controls .data-table-search {
    border-radius: 5px;
    padding-left: 10px;
}

.data-table-controls .data-table-information {
    border-radius: 5px;
    width: 50%;
    margin: 0 auto;
    text-align: center;
}

.data-table {
    /*
    background-color: aliceblue;
    */
    border-radius: 5px;
    margin: 0px !important;
}

.data-table.table-responsive {
    display: table;
}

.data-table thead {
}

.data-table > thead > tr > th {
    color: #a1a7af;
    background-color: #f2f4f7;
    border-color: #e9eef2;
}

.data-table .fa,
.data-table .fas {
    font-size: 16px;
    padding: 3px;
}

.data-table th .fa,
.data-table th .fas {
    font-size: 13px;
    padding: 0;
    padding-left: 5px;
}

.dashboard-data-table td,
.data-table td,
.meta-table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.meta-table td {
    min-width: 134px;
    max-width: 134px;
}

.meta-table td.meta-table-key {
    min-width: 50px;
}

.data-table td .fa,
.data-table td .fas,
.dashboard-data-table td.data-table-action-button .fa,
.dashboard-data-table td.data-table-action-button .fas {
    color: #337ab7;
}

a.meta-table-btn .fa:hover,
a.meta-table-btn .fas:hover,
.data-table td a .fa:hover,
.data-table td a .fas:hover,
.data-table td.data-table-action-button .fa:hover,
.data-table td.data-table-action-button .fas:hover,
.dashboard-data-table td.data-table-action-button .fa:hover,
.dashboard-data-table td.data-table-action-button .fas:hover {
    cursor: pointer;
    color: #00aaff;
}

.data-table td .fa.fa-remove,
.dashboard-data-table td.data-table-action-button .fa.fa-remove {
    color: red;
}

i.fas.fa-file-medical-alt {
    position: relative;
    left: -2px;
}

.meta-table-btn i.fas.fa-file-medical-alt {
    left: -1px;
}

.data-table > tbody > tr:hover,
.dashboard-data-table > tbody > tr:hover {
    background: #e3f2fd;
}

.data-table > tbody > tr button.btn,
.dashboard-data-table > tbody > tr  button.btn {
    background-color: #fff;
}

.data-table-action-button {
    text-align: center;
    width: 35px;
}

.data-table-action-button .fa,
.data-table-action-button .fas {
    font-size: 16px;
    padding: 3px;
    cursor: pointer;
}

.data-table td.data-table-action-button a.disabled,
.dashboard-data-table td.data-table-action-button a.disabled {
    cursor: not-allowed;
}

.data-table a.disabled,
.dashboard-data-table a.disabled {
    color: #b0b0b0;
    pointer-events: none;
}

.data-table td.data-table-action-button a.disabled .fa,
.data-table td.data-table-action-button a.disabled .fas,
.dashboard-data-table td.data-table-action-button a.disabled .fa,
.dashboard-data-table td.data-table-action-button a.disabled .fas {
    color: #b0b0b0;
}

.data-table tr.inactive-line,
.dashboard-data-table tr.inactive-line {
    color: #b0b0b0;
}

.data-table tr.inactive-line td.data-table-action-button,
.data-table tr.inactive-line td.data-table-action-button input,
.data-table tr.inherited-line td.data-table-action-button,
.data-table tr.inherited-line td.data-table-action-button input,
.dashboard-data-table tr.inactive-line td.data-table-action-button,
.dashboard-data-table tr.inactive-line td.data-table-action-button input,
.dashboard-data-table tr.inherited-line td.data-table-action-button,
.dashboard-data-table tr.inherited-line td.data-table-action-button input {
    cursor: not-allowed;
}

.data-table tr.inactive-line a, .data-table tr.inactive-line a .fa,
.data-table tr.inactive-line a, .data-table tr.inactive-line a .fas,
.data-table tr.inherited-line a, .data-table tr.inherited-line a .fa,
.data-table tr.inherited-line a, .data-table tr.inherited-line a .fas,
.dashboard-data-table tr.inactive-line a, .dashboard-data-table tr.inactive-line a .fa,
.dashboard-data-table tr.inactive-line a, .dashboard-data-table tr.inactive-line a .fas,
.dashboard-data-table tr.inherited-line a, .dashboard-data-table tr.inherited-line a .fa,
.dashboard-data-table tr.inherited-line a, .dashboard-data-table tr.inherited-line a .fas {
    color: #000000;
    opacity: 0.5;
    pointer-events: none;
}

.data-table tr.inactive-line input,
.data-table tr.inherited-line input,
.dashboard-data-table tr.inactive-line input,
.dashboard-data-table tr.inherited-line input {
    opacity: 0.5;
}

.data-table .media-events-table {
    background-color: #fafafa;
    border-radius: 0 !important;
}

.data-table .media-events-table thead {
    border-bottom: 1px solid #dddddd;
    box-shadow: none;
}

.data-table .media-events-table th {
    background-color: #f6f6f9;
    font-weight: 400;
}

.dashboard-data-table td.status-circle,
.dashboard-data-table td.data-table-action-button {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.data-table .status-circle,
.dashboard-data-table .status-circle {
    display: table-cell;
    text-align: center;
    width: 35px;
}

.data-table .status-circle i,
.dashboard-data-table .status-circle i {
    color: lightgrey;
}

.data-table .status-circle i.green-status-circle,
.dashboard-data-table .status-circle i.green-status-circle {
    color: green;
}

.data-table .status-circle i.gateway-status-active,
.data-table .status-circle i.gateway-status-recording,
.dashboard-data-table .status-circle i.gateway-status-active,
.dashboard-data-table .status-circle i.gateway-status-recording {
    color: green;
}

.data-table .status-circle i.gateway-status-recording,
.dashboard-data-table .status-circle i.gateway-status-recording {
    animation: status-circle-blinker 2s step-start infinite;
}

@keyframes status-circle-blinker {
    0%, 100% {
        color: green;
    }
    20% {
        color: lightgreen;
    }
}
.data-table .badge,
.dashboard-data-table .badge {
    padding: 0.2em 0.5em;
    font-size: 0.7em;
    text-transform: uppercase;
    border-radius: 4px;
    font-weight: normal;
}

.data-table .badge.status-ok,
.dashboard-data-table .badge.status-ok {
    background-color: #E3FCEF;
    color: #006644;
    border: 1px solid #006644;
}

.data-table .badge.status-error,
.dashboard-data-table .badge.status-error {
    background-color: #FFEBE6;
    color: #DE350B;
    border: 1px solid #DE350B;
}

.dashboard-data-table td:first-child {
    padding-left: 15px !important;
}

.profile-header .profile-main {
    background-image: url("https://s3.amazonaws.com/assets.neurosteer.com/images/profile-bg.png");
}

.profile-header .profile-main img {
    width: 100px;
}

.profile-header .profile-main .about {
    font-size: 13px;
    position: relative;
    top: -2px;
}

td .battery-icon {
    color: grey;
}

td .battery-icon.fa-battery-empty {
    color: red;
    animation: battery-blinker 1.5s linear infinite;
}

td .battery-icon.fa-battery-quarter {
    color: orange;
}

td .battery-icon.fa-battery-half {
    color: orange;
}

td .battery-icon.fa-battery-three-quarters {
    color: limegreen;
}

td .battery-icon.fa-battery-full {
    color: limegreen;
}

@keyframes battery-blinker {
    50% {
        opacity: 0.2;
    }
}

/** forms **/
label {
    font-weight: initial;
}

select {
    cursor: pointer;
}

input[type="range"] {
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    cursor: grab;
}

input[type="range"]:active::-webkit-slider-thumb {
    cursor: grabbing;
}

input[type="radio"] {
    cursor: pointer;
}

input[type="color"] {
    cursor: pointer;
}

input[type="checkbox"] {
    cursor: pointer;
}

input[type="file"],
input[type="file"]::file-selector-button {
    cursor: pointer;
}

input[type="text"].hasDatepicker {
    cursor: pointer;
}

input[type="number"] {
    padding-right: 0.15rem;
}

input[type="number"]::-webkit-inner-spin-button {
    margin-left: 0.6rem;
    /*opacity: 1;*/
    cursor: pointer;
}

.search-filters {
    align-items: baseline;
    margin-left: auto;
    margin-right: auto;
}

input.form-control.hasDatepicker[readonly] {
    background-color: #fcfcfc;
}

/*******************************************************************

    css from original main.css - go over one by one

********************************************************************/

.chart-wrapper {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 3px;
    margin-bottom: 10px;
}

.chart-wrapper .chart-title {
    border-bottom: 1px solid #d7d7d7;
    color: #666;
    font-size: 14px;
    font-weight: 200;
    padding: 7px 10px 4px;
}

.chart-wrapper .chart-stage {
    overflow: hidden;
    padding: 5px 10px;
    position: relative;
}

.chart-wrapper .chart-notes {
    background: #fbfbfb;
    border-top: 1px solid #e2e2e2;
    color: #808080;
    font-size: 12px;
    padding: 8px 10px 5px;
}

ul.nav.navbar-nav.navbar-left li a,
ul.nav.navbar-nav.navbar-right li a {
    color: #555;
}

ul.nav.navbar-nav.navbar-left > li:hover > a,
ul.nav.navbar-nav.navbar-left > li li:hover > a,
ul.nav.navbar-nav.navbar-right > li:hover > a,
ul.nav.navbar-nav.navbar-right > li li:hover > a {
    color: #000000;
}

.tabbable .tab-content {
    margin-top: 20px;
}

.tabbable .tab-content .container {
    padding: 0;
}

.meta-data-bar,
.action-bar,
.report-control-bar {

    margin-bottom: 30px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.meta-data-bar .meta-table-left, .meta-data-bar .meta-table-center {
    margin-right: 50px;
}

a.meta-table-btn {
    margin-left: 10px;
}

a.meta-table-btn.disabled {
    pointer-events: none;
    cursor: not-allowed;
    color: #b0b0b0;
}

a.meta-table-btn .fa,
a.meta-table-btn .fas {
    font-size: 18px;
    color: #337ab7;
}

a.meta-table-btn.disabled .fa,
a.meta-table-btn.disabled .fas {
    color: #b0b0b0;
}

.meta-data-bar .meta-table td {
    padding-right: 10px;
    font-size: 12px;
    vertical-align: baseline;
    color: #5e6773;
}

.meta-data-bar .meta-table td.meta-table-key {
    color: #a0aeba;
}

.meta-data-bar .meta-table .highlight {
}

.report-control-bar label {
    margin-right: 12px;
}

.report-control-bar .radio-label {
    margin-right: 12px;
}

.report-control-bar input[type=text] {
    margin-right: 18px;
    padding-left: 8px;
    width: 120px;
}

.report-control-bar [type=radio] {
    vertical-align: top;
}

.session-description-buttons button {
    min-width: 82px;
}

.neurogram-controls-annotation-wrapper {
    margin-top: -40px;
}

.event-info-popup {
    background: rgba(0, 0, 0, 0.65);
    border: 2px solid rgb(68, 68, 68);
    z-index: 999999;
    width: 220px;
    height: 108px;
    position: absolute;
    top: 200px;
    color: white;
    padding: 0;
    font-size: 10px;
}

.event-info-popup-title {
    background: rgba(0, 0, 0, 0.2);
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    padding: 2px 0;
}

.event-info-popup-content {
    padding: 6px;
}

.event-info-popup textarea {
    float: left;
    width: 140px;
    height: 70px;
    font-size: 12px;
}

.event-info-popup-buttons {
    float: left;
}

.event-info-popup-buttons button {
    display: block;
    clear: both;
    padding: 2px;
    margin-left: 10px;
    margin-top: 4px;
    margin-bottom: 1px;
    width: 54px;
    color: black;
    background-color: ghostwhite;
    border-color: gray;
    font-size: 14px;
}

.rt-bio-markers-bar {
}

.rt-neurogram-controls {
    min-width: 50%;
}

.neurogram-controls {
    border: 1px solid #ddd;
    position: absolute;
    right: -250px;
    width: 240px;
    height: 363px;
    top: 0;
    padding: 10px;
}

.neurogram-controls h5 {
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    border-bottom: 1px solid #ddd;
}

.neurogram-controls-top-wrapper {
    margin-bottom: 10px;
    padding-bottom: 16px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 16px;
    border: 1px solid #ddd;
    /*
    margin-left: auto !important;
    margin-right: auto !important;
    */
    border-radius: 5px;
}

.neurogram-controls-top-table th, .neurogram-controls-top-table td {
    padding: 0 8px;
    text-align: center;
}

.neurogram-controls-top-table th {
    font-weight: 400;
    font-size: 12px;
    color: #000;
    padding-bottom: 4px;
}

.neurogram-controls-top-table button,
.neurogram-controls-top-table select {
    height: 30px;
}

.neurogram-controls-annotation {
    padding-top: 4px;
}

.neurogram-controls-annotation select {
    width: auto;
    height: 30px;
    padding: 2px;
    display: inline;
}

.neurogram-controls-input-wrapper {
    clear: both;
    width: 100%;
}

.neurogram-controls-scale-chart {
    display: inline-block;
    margin-bottom: 4px;
}

.neurogram-controls-scale-chart select {
    width: auto;
    padding: 2px;
    display: inline;
}

.neurogram-controls-overlay-chart {
    margin-left: 0px;
    display: inline-block;
}

.neurogram-controls-overlay-chart select {
    width: auto;
    padding: 2px;
    display: inline;
}

.neurogram-controls-overlay-chart .btn-group button {
    min-width: 100px;
    padding: 2px;
    display: inline;
    overflow: hidden;
}

.neurogram-controls-overlay-chart .btn-group .multiselect-all {
    padding-top: 1px;
    padding-bottom: 1px;
}

.neurogram-controls-overlay-chart .btn-group ul li a label {
    margin-top: 1px;
    margin-bottom: 1px;
}

.neurogram-controls-overlay-chart button.multiselect span {
    overflow: hidden;
    width: 120px;
    display: inline-block;
}

.neurogram-controls-event-filter button.multiselect span {
    overflow: hidden;
    width: 120px;
    display: inline-block;
}

.neurogram-controls-event-nav {
    min-width: 120px;
}

.neurogram-controls-event-nav .btn {
    background: transparent;
    padding: 5px 6px;
    border: none;
}

.neurogram-controls-event-nav-index {
    vertical-align: middle;
    width: 40px;
    display: inline-block;
    margin: 0 5px 0 5px;
}

.neurogram-controls-nav {
    position: absolute;
    bottom: 10px;
}

.neurogram-controls button {
    margin-left: 0;
    margin-right: 3px;
}

.neurogram-controls .rt-event-widget {
    height: 100%;
}

.neurogram-controls .rt-event-widget form {
    height: 100%;
}

.neurogram-controls .rt-event-widget form textarea {
    height: 80%;
}

table.indicator-table {
    text-align: center;
    padding: 4px 0;
    margin: 0;
}

table.indicator-table td {
    vertical-align: baseline;
    text-align: center;
    font-size: 12px;
    color: #5e6773;
    padding: 0;
    margin: 0;
}

table.indicator-table tr.indicators-row td {
    vertical-align: middle;
    padding: 4px 4px;
}

table.indicator-table tr.indicators-row td > div {
}

.quality-indicator span {
    font-family: fantasy;
    font-weight: 800;
    font-size: 36px;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #c0c0c0;
    position: relative;
}

.quality-indicator.quality-indicator-on span {
    -webkit-text-fill-color: #ffeb3b;
    -webkit-text-stroke-color: #a0a0a0;
}

.electrical-disturbance-indicator i,
.quality-indicator i {
    position: relative;
    top: 5px;
    font-size: 36px;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #c0c0c0;
}

.quality-indicator i {
    top: 6px;
}

.electrical-disturbance-indicator.electrical-disturbance-indicator-on i,
.quality-indicator.quality-indicator-on i {
    -webkit-text-fill-color: #ffeb3b;
    -webkit-text-stroke-color: #a0a0a0;
}

.quality-indicator, .electrical-disturbance-indicator, .battery-meter {
    width: 44px;
}

.battery-meter {
    padding-top: 5px;
}

.quality-indicator-value p, .electrical-disturbance-value p, .battery-meter-value p {
    margin: 0px;
}

.quality-indicator-label, .electrical-disturbance-label, .battery-meter-label {
    margin: 0px;
}

.battery-meter-value,
.electrical-disturbance-value,
.quality-indicator-value {
    font-size: 11px;
    text-align: center;
}

.battery-meter-label,
.electrical-disturbance-label,
.quality-indicator-label {
    font-size: 11px;
    text-align: center;
}

.battery-meter-cap {
    content: " ";
    background: #c0c0c0;
    width: 10px;
    height: 6px;
    margin: 0 auto;
}

.battery-meter-body {
    margin-top: 0;
    height: 32px;
    width: 34px;

    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.battery-meter-body::-webkit-meter-bar {
    border-radius: initial;
}

.tt-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
    cursor: pointer;
}

.tt-suggestion {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.428571429;
    color: #333333;
    white-space: nowrap;
}

.tt-suggestion:hover,
.tt-suggestion:focus {
    color: #ffffff;
    text-decoration: none;
    outline: 0;
    background-color: #428bca;
}

.color-selection {
    width: 88px;
    height: 34px;
}

.tag.label {
    border-radius: 0.25em;
    padding: 0.2em 0.6em;
    color: #fff;

}

.tags-form-group {
    width: 100%;
}

.disabled-tags-form-group input,
.disabled-tags-form-group .bootstrap-tagsinput,
.disabled-tags-form-group .bootstrap-tagsinput .tag [data-role="remove"] {
    cursor: not-allowed;
}

.tags-form-group label {
}

.tags-form-group .bootstrap-tagsinput {
    width: 100%;
    line-height: 42px;
}

.bootstrap-tagsinput .label {
    font: 12px sans-serif;
}

.bootstrap-tagsinput .tag {
    text-shadow: 2px 2px 6px #b0b0b0;
}

.list-contacts .picture {
    line-height: initial;
}

.list-contacts .picture img {
    width: 100%;
    height: 100%;
}