/* loader */
.no-js { display: none;  }
.js { display: block; position: absolute; left: 0px; top: 0; }
.full-page-loader {
    position:fixed;
    width:100%;
    height:100%;
    left:0;
    top:0;
    background:rgba(0,0,0,.3);
    z-index: 9999;
}
.full-page-loader i{
    position:absolute;
    left:50%;
    top:50%;
}

/* Fonts */
@font-face {
    font-family: 'Oxygen';
    src: url("../fonts/Oxygen.f9ff876f3261.ttf");
}

@font-face {
    font-family: 'Oxygen_Light';
    src: url("../fonts/Oxygen_300.fd22efa0c0b8.ttf");
}

@font-face {
    font-family: 'Oxygen_Bold';
    src: url("../fonts/Oxygen_700.7aa3b76ee252.ttf");
}

/* HTML elements */
body {
    margin:0;
}

label {
    display: block;
    color: #0F2E3B;
    font-size: 18px;
    letter-spacing: 0.5px;
    height: 30px;
    line-height: 30px;
}

.nav {
    max-width: 1175px;
    margin: 15px auto;
}

.helptext {
    display: block;
    color: #0F2E3B;
    margin-top: 8px;
    font-size: 14px;
    width: 350px;
}

input[type=text] {
    width: 350px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #87969D;
    color: #505A5E;
    padding: 5px 0;
}

input[type=text]:disabled {
    background-color: #FFFFFF;
    cursor: not-allowed;
}

input[type=email] {
    width: 350px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #87969D;
    color: #505A5E;
    padding: 5px 0;
}

input[type=email]:disabled {
    background-color: #FFFFFF;
    cursor: not-allowed;
}

input[type=password] {
    width: 350px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #87969D;
    color: #505A5E;
    padding: 5px 0;
}

input[type=image] {
    width: 18px;
    height: 18px;
    padding: 15px;
}

input[type=date] {
    width: 150px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #87969D;
    color: #505A5E;
    font-size: 18px;
    padding: 5px 0;
}

textarea {
    height: 120px;
    width: 600px;
}

select {
	-webkit-appearance: none;
    width: 350px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #87969D;
    padding: 8px;
    font-size: 18px;
    color: #505A5E;
    background-color: #FFFFFF;
}

.short-select {
    width:150px;
}

select[multiple] {
    border: 1px solid #87969D;
}

select option {
    font-size: 18px;
    padding: 8px;
    color: #0F2E3B;
}

h1 {
    font-family: 'Oxygen_Light';
    font-size: 30px;
    letter-spacing: 1px;
    margin-top: 0px;
    margin-bottom: 0px;
    color: #0F2E3B;
    font-weight: 300;
}

h2 {
    font-family: 'Oxygen_Light';
    font-size: 22px;
    letter-spacing: 0.75px;
    margin-top: 0px;
    color: #0F2E3B;
    font-weight: 300;
    margin-bottom: 20px;
}
h3 {
    font-family: 'Oxygen_Light';
    font-size: 16px;
    letter-spacing: 0.6px;
    margin-top: 0px;
    color: #0F2E3B;
    font-weight: 250;
    margin-bottom: 0px;
}

.space-between-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.start-row {
    display:flex;
    justify-content: flex-start;
    align-items:center;
}

.horizontal-rule {
    margin: 32px -32px 0px -32px;
    height: 1px;
    background-color: #F0F5F6;
}
.separator {
    margin: 15px auto;
    height: 20px;
    background-color: #F0F5F6;
}

/* Navbar */
.top-bar {
    background-color: #0F2E3B;
    width: 100%;
    height: 68px;
    display: flex;
}

.navbar-fixed {
    position: fixed;
    top: 0px;
    z-index: 1000;
}

.logo-container {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    /*justify-content: center;*/
}

.logo {
    /*width: 31px;*/
    height: 40px;
}

.top-bar-buttons {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.form-buttons {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.top-bar-item {
    color: #E4F1F7;
    font-family: 'Oxygen';
    font-size: 18px;
    letter-spacing: 1px;
    text-decoration: none;
    line-height: 68px;
    margin-right: 32px;
    height: 68px;
}

.top-bar-item-selected {
    height: 64px;
    border-bottom: 4px solid #87E4F9;
}

.top-bar-user {
    margin-right: 32px;
}

.user-item {
    font-size: 13px;
    font-family: 'Oxygen';
    color: #87E4F9;
    text-decoration: none;
}

.user-item:hover {
    color: white;
}

.user-item-separator {
    color: #FFFFFF;
    font-size: 13px;
    font-family: 'Oxygen';
}

/* Message */
.message {
    max-width: 1174px;
    position: absolute;
    padding: 0px;
    border-radius: 2px;
    font-family: 'Oxygen', serif;
    margin-top: 15px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    z-index: 9999;
}

.error {
    background-color: rgba(255,68,68,0.5);
    border-radius: 4px;
    box-shadow: 0 0 12px 0 rgba(0,0,0,0.16);
    margin-bottom: 16px;
    padding: 10px 24px;
    color: #0F2E3B;
    display: flex;
    align-items: center;
}

.success {
    background-color: rgba(118,214,57,0.5);
    border-radius: 4px;
    box-shadow: 0 0 12px 0 rgba(0,0,0,0.16);
    margin-bottom: 16px;
    padding: 10px 24px;
    color: #0F2E3B;
    display: flex;
    align-items: center;
}


.info {
    background-color: rgba(118,214,57,0.5);
    border-radius: 4px;
    box-shadow: 0 0 12px 0 rgba(0,0,0,0.16);
    margin-bottom: 16px;
    padding: 10px 24px;
    color: #0F2E3B;
    display: flex;
    align-items: center;
}

/* Display */
.board {
    display: flex;
    gap: 0px;
    padding: 0px;
    flex-direction: column;
    font-family: 'Oxygen', serif;
    align-items: center;
    justify-content: space-between;
}
.fixed {
    }

@media (min-width: 2500px) {
    .board {
        flex-direction: row;
        align-items: flex-start;
    }
    .fixed {
        position:fixed;
        margin-left:50px;
        width: 100%;
        max-width: 1190px;
    }
    .board-column {
        max-width: 49%;
    }
    .page-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .content {
        margin: unset !important;
        margin-top: 15px ! important;
        width: unset !important;
        max-width: unset !important;
    }
    .search-bar-box-extended {
        margin-left: 15px !important;
        margin-bottom: 10px !important;
        width: 94% !important;
        max-width: unset !important;
    }
    .left-panel {
        margin-left: 15px !important;
        width: 96% !important;
        max-width: unset !important;
    }
    .left-panel-fixed {
        width: 41.5% !important;
        max-width: unset !important;
    }
    .right-panel {
        width: 90% !important;
        max-width: unset !important;
    }
}

.board-column {
    flex:1;
    display: flex;
    padding: 0px;
    width: 100%;
    flex-direction: column;
    font-family: 'Oxygen', serif;
}

.strikethrough {
    text-decoration: line-through;
}

/* Content */
.content {
    max-width: 1190px;
    width: 100%;
    margin: 15px auto;
    padding: 32px;
    border-radius: 12px;
    background-color: #FFFFFF;
    box-shadow: 0 0 12px 0 rgba(0,0,0,0.16);
    font-family: 'Oxygen', serif;
}

.wide {
    max-width: unset !important;
    width: 90% !important;
}
.content-small {
    max-width: 1130px;
    margin: 15px auto;
    padding: 22px;
    border-radius: 12px;
    background-color: #FFFFFF;
    box-shadow: 0 0 12px 0 rgba(0,0,0,0.16);
    font-family: 'Oxygen', serif;
}

.centered-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.control-plot-container {
    height: 500px;
}

.search-bar-box {
    max-width: 1190px;
    width: 100%;
    margin: 15px auto;
    margin-bottom: auto;
    padding: 10px 32px 10px 32px;
    border-radius: 12px;
    background-color: #FFFFFF;
    box-shadow: 0 0 12px 0 rgba(0,0,0,0.16);
    font-family: 'Oxygen', serif;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.search-text {
    margin-top: 6px;
    margin-right: 10px;
    color: #0F2E3B;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.61px;
    text-align: center;
    font-family: 'Oxygen', serif;
}

.content-bottom-aligned {
    display: flex;
    align-items: flex-end;
}

.content-top-aligned {
    display: flex;
    align-items: baseline;
}

.measure-date {
    color: #0F2E3B;
    font-size: 13px;
    text-decoration: underline;
    margin-left: 15px;
    margin-bottom: 4px;
}


.margin-top {
    margin-top: 12px;
}
.pointer {
    cursor: pointer;
}

.margin-right {
    margin-right: 10px;
}
.margin-right-big {
    margin-right: 15px;
}

.margin-right-small {
    margin-right: 5px;
}
.margin-left {
    margin-left: 10px;
}

.warning {
    background-color: rgba(255,130,0,0.5);
    border-radius: 4px;
    box-shadow: 0 0 12px 0 rgba(0,0,0,0.16);
    margin-bottom: 16px;
    padding: 10px 24px;
    color: #0F2E3B;
    display: flex;
    align-items: center;
}

.warning-icon {
    width: 24px;
    height: 22px;
    margin-right: 6px;
}

.warning-title {
    color: #0F2E3B;
    font-size: 13px;
    font-weight: bold;
    margin: 0 8px;
}

.warning-text {
    color: #0F2E3B;
    font-size: 13px;
    margin: 0 8px;
}

.expander {
    display: flex;
    justify-content: flex-end;
}

.predictions {
    display: flex;
    justify-content: space-between;
}

.automl-dataset-summary {
    display: flex;
    justify-content: space-between;
}

.automl-dataset-summary-box {
    flex-direction: column;
    flex-basis: 50%;
    justify-content: left;
    gap: 30px;
    margin-top: 20px;
}

.substance-info-main {
    flex: 2;
}

.substance-info-secondary {
    flex: 3;
}

.substance-type-box {
    padding: 34px;
    background-color: #F7FAFC;
    border-radius: 5px;
    box-shadow: 0 0 8px 0 rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.substance-name-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.substance-container {
    flex-direction: column;
    flex-basis: 60%;
    justify-content: left;
    gap: 30px;
}

.section-header {
    display: inline-flex;
    align-items: baseline;
    column-gap: 20px;
    margin-bottom: 5px;
}

.title{
    margin-right: 20px;
 }

.substance-box {
    flex-basis: 60%;
    padding: 10px;
    background-color: #F7FAFC;
    border-radius: 5px;
    box-shadow: 0 0 8px 0 rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.checklist-box {
    flex-basis: 60%;
    padding: 10px;
    background-color: #F7FAFC;
    border-radius: 5px;
    box-shadow: 0 0 8px 0 rgba(0,0,0,0.04);
    display: flex;
    justify-content: space-between;
}

.sample-info-container {
    flex-direction: column;
    flex-basis: 38%;
    justify-content: left;
    gap: 30px;
}

.sample-info-box {
    flex-direction: column;
    background-color: #F7FAFC;
    display: flex;
    padding-left: 20px;
    border-radius: 5px;
    box-shadow: 0 0 8px 0 rgba(0,0,0,0.04);
}

.sample-info-text {
    margin-top:7px;
    margin-bottom: 7px;
}

.substance-icon {
    width: 32px;
    margin-right: 8px;
    flex-shrink: 0;
}

.substance-name {
    color: #0F2E3B;
    font-size: 30px;
    letter-spacing: 1px;
    display: block;
    margin-left: 15px;
}

.substance-info-icon {
    width: 14px;
    margin-left: 4px;
    vertical-align: text-top;
}

.regressor-container {
    display: flex;
    justify-content: center;
}

.regressor-separator {
    background-color: #D8D8D8;
    width: 1px;
    margin-left: 30px;
    margin-right: 30px;
}

.regressor-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.regressor-name {
    color: #87969D;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.61px;
    text-align: center;
}

.regressor-error {
    color: #87969D;
    font-size: 18px;
    letter-spacing: 0.61px;
    text-align: center;
}

.regressor-value {
    color: #0F2E3B;
    font-size: 36px;
    letter-spacing: 2.05px;
}


.match-box {
    background-color: #F7FAFC;
    box-shadow: 0 0 8px 0 rgba(0,0,0,0.04);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.match-name {
    color: #0F2E3B;
    font-size: 18px;
}

.match-value {
    color: #0F2E3B;
    font-size: 18px;
    font-weight: bold;
}

.confidence-level-box {
    background-color: #F7FAFC;
    border-radius: 5px;
    box-shadow: 0 0 8px 0 rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    padding: 10px;
}

.substance-level-track {
    max-width: 100px;
    height: 10px;
    width: 100%;
    margin-left: 3px;
    margin-right: 3px;
    border-radius: 4.5px;
    background-color: #E4F1F7;
}

.substance-level-bar {
    height: 10px;
    border-radius: 4.5px;
}

.confidence-level-track {
    height: 6px;
    width: 100%;
    margin-left: 12px;
    margin-right: 28px;
    border-radius: 4.5px;
    background-color: #E4F1F7;
}

.confidence-level-bar {
    height: 6px;
    border-radius: 4.5px;
}

.confidence-level-value {
    color: #0F2E3B;
    font-size: 25px;
    letter-spacing: 0.85px;
}

.match-esc {
    background-color: #F7FAFC;
    box-shadow: 0 0 8px 0 rgba(0,0,0,0.04);
    padding: 16px;
    display: flex;
    justify-content: left;
    margin-bottom: 8px;
}
/* Lists */
.row {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    background-color: #FFFFFF;
    margin-left: -32px;
    padding-left: 32px;
    margin-right: -32px;
    padding-right: 32px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-decoration: none;
}

.row:nth-child(even) {
    background-color: #F7FAFC;
}

.row:focus {
    background-color: #E4F1F7;
    outline: none;
}

.row-result {
    display: flex;
    width: 100%;
    align-items: center;
    text-decoration: none;
}

.sample-row-header {
    background-color: #F7FAFC;
}

.no-padding {
    padding: unset !important;
}

.no-vertical-padding {
    padding-top: 0;
    padding-bottom: 0;
}

.row-result-sample-summary {
    display: flex;
    flex-direction: row;
}

.result-sample-summary {
    display: flex;
    align-items: center;
    margin: 5px;
}

.row-result-sample-detail {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 20px;
    align-items: center;
    margin-left: 10px;
    padding-left: 5px;
    margin-right: -5px;
    padding-right: 5px;
    text-decoration: none;
}

.header-row {
    height: 40px;
    padding-top: 16px;
    align-items: flex-start;
}

.col {
    color: #0F2E3B;
    font-size: 13px;
    padding: 5px;
    max-width: unset;
    text-decoration: none;
}

.col-icon {
    max-width: 20px;
}

.col-header {
    letter-spacing: 0.6px;
    font-size: 15px;
    font-weight: bold;
}

.col-1 {
    flex: 1;
}

.col-2 {
    flex: 2;
}

.col-3 {
    flex: 3;
}

.col-4 {
    flex: 4;
}
.col-5 {
    flex: 5;
}

.col-6 {
    flex: 6;
}

/* Pagination */
.pagination {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.page-number {
    margin-left: 4px;
    margin-right: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    letter-spacing: 0.6px;
}

.page-number:hover {
    background-color: #F7FAFC;
}

.page-number-empty {
    margin-left: 4px;
    margin-right: 4px;
    width: 32px;
    height: 32px;
}

.current-page-number {
    background-color: #E4F1F7;
}

.current-page-number:hover {
    background-color: #E4F1F7;
}

.page-text {
    font-size: 15px;
    color: #0F2E3B;
}

.current-text {
    font-weight: bold;
}

/* Buttons */

.button {
    display: inline-block;
    height: 48px;
    padding-left: 32px;
    padding-right: 32px;
    color: #FFFFFF;
    font-size: 15px;
    text-align: center;
    line-height: 48px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.button-primary {
    background-color: #0F2E3B;
}

.button-primary:hover {
    background-color: #254958;
    color: white;
}

.button-secondary {
    color: #0F2E3B;
    background-color: #E4F1F7;
}

.button-secondary:hover {
    background-color: #F7FAFC;
}

.button-neutral {
    color: #0F2E3B;
    background-color: unset;
}

.button-danger {
    color: #FFFFFF;
    background-color: #FF4444;
}

.button-danger:hover {
    background-color: #FF0F0F;
}

.button-small-padding {
    padding-left: 10px;
    padding-right: 10px;
}

.button-back {
    background-color: #E4F1F7;
    width: 48px;
    height: 48px;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.button-back:hover {
    background-color: #F7FAFC;
}

.hidden {
    display: none;
}

.icon {
    width: 17px;
    height: 17px;
    z-index: 10;
}

.delete-icon:hover {
    cursor: pointer;
}

.labresult-icon {
    vertical-align: baseline;
    margin-left: 10px;
}

.labresult-substance-box {
    display: flex;
    align-items: center;
}

.labresult-regressor {
    margin-top: -12px;
    margin-bottom: -12px;
}

.add-lab-result {
    margin-top: 20px;
    margin-bottom: 20px;
}
.space {
    margin-left: 8px;
    margin-right: 8px;
    vertical-align: middle;
}

.doublespace {
    margin-left: 16px;
    margin-right: 16px;
    vertical-align: middle;
}

.last {
    margin-top: 5px;
    margin-right: 40px;
}

.no-margin-right {
    margin-right: 0px
}


/* override bootstrap css */
*,
*::before,
*::after {
    box-sizing: unset;
}

a.top-bar-item:hover {
    text-decoration: unset;
    color: white;
}
a.search-text:hover {
    text-decoration: underline;
    color: inherit;
}
a.col:hover {
    text-decoration: unset;
    color: inherit;
}
a:hover {
    text-decoration: inherit;
    color: inherit;
}

a {
    text-decoration: underline;
}

[data-toggle="collapse"].collapsed .if-not-collapsed {
  display: none;
}
[data-toggle="collapse"]:not(.collapsed) .if-collapsed {
  display: none;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-center {
    align-items: center;
}

.checklist-item {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-space-between {
    justify-content: space-between;
}

.bokeh-aspect-ratio {
    padding-bottom: 21.75%;
}
div.bk-tooltip.bk-right>div.bk>div:not(:first-child) {
        display:none !important;
    }
div.bk-tooltip.bk-left>div.bk>div:not(:first-child) {
        display:none !important;
    }

.flex-align-start {
    align-items: flex-start;
}

.popover {
    max-width: unset;
}

.popover-spectra {
    position: fixed!important;
    left:50%!important;
    top:50%!important;
    transform:translate(-50%,-50%) translate3d(0,0,0)!important;
    margin: 0!important;
}

.popover-sample-info {
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 5px;
}

.popover-spectra-box {
    padding: 5px;
    height: 320px;
    width: 700px;
}

.popover-spectra-result {
    display: flex;
    flex-direction: row;
}

.popover-predictions {
    flex-basis: 50%;
    padding: 5px;
    margin: 5px;
}

.popover-spectra-title {
    display: flex;
    justify-content: space-between;
}

.spectra-arrow {
    visibility: hidden;
}

.dropdown-toggle-split {
    padding-right: .5625rem;
    padding-left: .5625rem;
    background-color: transparent;
    border: 0;
    color: white;
    margin-right: 32px;
}

.dropdown-item {
 width: unset;
}

.btn-group {
  position: relative;
  display: flex;
  vertical-align: middle;
}

.button-align-right {
    display: flex;
    justify-content: center;
}

.errorlist
    {
        color: #FF0F0F;
    }

.control-sample-box {
    background-color: #F7FAFC;
    padding:20px;
    box-shadow: 0 0 8px 0 rgba(0,0,0,0.04);
}

.label-sort-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.sort-label {
    margin-right: 10px;
}

.sort-arrows-container {
    display:flex;
    flex-direction: column;
}

.sort-arrow {
    font-size: 10px;
    text-decoration: none;
    color: #87969D;
}

.sort-arrow-selected {
    color: #0F2E3B;
}

.top-button {
    position: fixed;
    bottom: 20px;
    cursor: pointer;
}

.prod-banner {
    position: fixed;
    width: 240px;
    background-color: rgba(255, 68, 68, 1);
    height: 20px;
    color: white;
    top: 0;
    z-index: 100;
    cursor: pointer;
}

.plot-placeholder {
    background-color: #F7FAFC;
}

.inline-tag {
    display: inline-block;
    padding: 2px 8px;
    background-color: #0F2E3B;
    color: white;
    border-radius: 4px;
}

/* Svelte menu related stuff */
.page {
    display: flex;
    flex-direction: row;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#menu-container {
    display: block;
    flex-shrink: 0;
    height: 100%;
}

#page-content {
    display: block;
    flex-grow: 1;
    overflow-y: auto;
}
