body {
    position: relative;
}

#main-container {
	display: none;
}

.max-height-scroll {
	max-height: calc(100% - 250px);
	overflow-y: auto;
}

table.border-top-0 th {
	border-top: none;
}

.table.condensed {
    width: 1px !important;
}

.table.condensed td {
    white-space: nowrap;
}

.ui-sortable-helper {
	display: table;
}

.info-tooltip {
	color: white;
	background-color: rgb(0, 105, 217);
	display: inline-block;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	text-align: center;
	margin-top: 9px;
}

.info-tooltip:hover {
	color: white;
}

.info-tooltip .oi {
	margin-top: 2px;
}

.info-tooltip + div {
	display: none;
}

.tooltip-inner {
	text-align: left;
}

.form-check .info-tooltip {
	margin-top: 0px;
}

.info-tooltip-ui .tooltip-inner {
	min-width: 300px;
}

.error-border {
    border: 2px solid red;
}

.error-text {
    color: red;
    padding: 0px;
    margin: 0px;
    margin-top: -2px;
    margin-bottom: 2px;
}

#logout {
    float: right;
    margin-top: -25px;
    color: grey;
}

#subtitle {
    font-size: 28px;
}

.users-no-write td:nth-child(9), .users-no-write th:nth-child(9),
.users-no-projects td:nth-child(6), .users-no-projects th:nth-child(6),
.users-no-orgs td:nth-child(7), .users-no-orgs th:nth-child(7),
.users-no-api td:nth-child(8), .users-no-api th:nth-child(8),
.orgs-no-manage td:nth-child(n+2):nth-child(-n+4), .orgs-no-manage th:nth-child(n+2):nth-child(-n+4) {
    display: none;
}

#prompt-responses {
    max-height: 200px;
    overflow-x: hidden;
    overflow-y: scroll;
}

#prompt-choices-actions {
    margin-top: 10px;
}

#prompt-choices-actions a {
    display: inline-block;
    border-radius: 5px;
    padding: 5px 10px;
}

#prompt-choices-actions a.open {
    background-color: #0000ff;
    color: #ffffff;
}

#prompt-choices-import-file {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    margin-top: 10px;
    padding: 5px;
}

#report {
    display: none;
}

#report-table.no-user-info td:nth-child(2), #report-table.no-user-info th:nth-child(2),
#report-table.no-premium td:nth-child(n+10), #report-table.no-premium th:nth-child(n+10) {
    display: none;
}

#condition-table tr.highlight {
    background-color: lightcyan;
}

#condition-table-body td:nth-child(2), #condition-table-body td:nth-child(3), #condition-table-body td:nth-child(4) {
    text-align: right;
}

#comorbidity-table-body td:nth-child(2), #comorbidity-table-body td:nth-child(3) {
    text-align: right;
}

#script-container {
    padding: 0 15px;
    display: none;
}

#script-heading {
    height: 100px;
}

#script-heading a {
    float: right;
    margin-top: -25px;
    color: grey;
}

#script-minimize, #script-maximize {
    visibility: hidden;
}

#script-buttons {
    height: 38px;
}

@media (min-width: 1140px) {
    #script-container:not(.maximized) {
        width: 1140px;
        margin: 0 auto;
    }

    #script-maximize {
        visibility: visible;
    }

    .maximized #script-maximize {
        visibility: hidden;
    }

    .maximized #script-minimize {
        visibility: visible;
    }
}

#script {
    padding-top: 10px;
}

#script * {
    font-size: 18px;
}

#script .prompt {
    color: green;
}

#script .variable {
    color: purple;
}

#script .condition {
    color: blue;
}

#script .chart {
    color: orange;
}

#script .rate {
    color: orange;
}

#script .decision {
    color: red;
}

#script .info {
    display: inline-block;
    background-color: #e0f6ff;
    max-width: 550px;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 10px;
    border-radius: 5px;
}

#script .info.info-debug {
    background-color: #ffffc0;
}

#script .oi-warning {
    color: red;
}

#script .oi-x {
    color: red;
}

#script .oi-thumb-down {
    color: orange;
}

#script .oi-info {
    color: #0000d0;
}

.rule-value-col {
    padding-left: 0px;
    padding-right: 0px;
}

.button-spacer {
    margin-right: 50px;
}

#build-chart-add-row {
    position: absolute;
    left: 15px;
}

#build-chart-modal {
    height: 100% !important;
}

#build-chart-modal .modal-body {
    max-height: 600px;
    overflow-y: auto;
}

.build-table-weight {
    width: 70px !important;
}

#new-script, #add-prompt, #script-tool {
    margin-top: 10px;
}

#clone-product {
    margin-right: 20px;
}

.jstree-contextmenu * {
    font-size: 14px;
}

#chart-buttons {
    position: sticky;
    top: 0px;
    padding-top: 10px;
    padding-bottom: 15px;
    background-color: white;
    z-index: 999 !important;
}

#chart-table-head {
    position: sticky;
    top: 60px;
    background-color: white;
}

.path-tooltip .tooltip-inner {
    max-width: 800px;
}

#try-request, #try-results {
    font-family: monospace;
}

.no-top-border th {
    border-top: none;
}

.not-active {
    text-decoration: line-through;
}

.hidden {
    display: none;
}

#rule-info-menu {
    position: absolute;
    left: 0px;
    top: 130px;
    display: none;
}

#rule-info-variables {
    max-height: 200px;
    overflow-y: scroll;
}

#notes-table {
    max-height: calc(50vh);
    overflow: auto;
}

#notes-table-body td:nth-child(1), td:nth-child(2) {
    white-space: nowrap;
}
