/* See https://fonts.google.com/specimen/Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

html {
    position: fixed;
    height: 100%;
    overflow: hidden;
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.bold {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.shaded-heading {
    background-color: #d8d9db;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 7px;
}

.align-children-top * {
    vertical-align: top;
}

.user-input {
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.user-input::-ms-expand {
    background-color: transparent;
    border: 0;
}

.user-input:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.user-input::-webkit-input-placeholder {
    color: #6c757d;
    opacity: 1;
}

.user-input::-moz-placeholder {
    color: #6c757d;
    opacity: 1;
}

.user-input:-ms-input-placeholder {
    color: #6c757d;
    opacity: 1;
}

.user-input::-ms-input-placeholder {
    color: #6c757d;
    opacity: 1;
}

.user-input::placeholder {
    color: #6c757d;
    opacity: 1;
}

.user-input:disabled, .user-input[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}

select.user-input:not([size]):not([multiple]) {
    height: calc(2.25rem + 2px);
}

select.user-input:focus::-ms-value {
    color: #495057;
    background-color: #fff;
}

.user-input-file,
.user-input-range {
    display: block;
    width: 100%;
}

.no-margin-or-border {
    margin: 0;
    border: 0;
}

.centered-horizonal-vertical {
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

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

.help-image {
    display: block;
    margin: 0 auto;
    max-width: 75%;
    padding-top: 15px;
    padding-bottom: 15px;
}

.inherit-height {
    height: inherit;
}

.no-padding {
    padding: 0;
}

.no-focus-outline {
    outline: none;
}

.no-border {
    border: none;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-scroll {
    overflow-y: scroll;
}

.overflow-scroll-y {
    overflow-y: auto;
    overflow-x: hidden;
}

.overflow-scroll-x {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
}

.flex-container {
    display: flex;
}

.stretch-horizontal {
    width: 100%;
    left: 0;
}

.stretch-vertical {
    height: 100%;
    top: 0;
}

.header {
    height: 55px;
    max-height: 55px;
    padding-left: 10px;
    padding-right: 10px;
}

.page-title {
    height: 50px;
    max-height: 50px;
}

.footer {
    height: 30px;
    max-height: 30px;
}

/* The page content height is reduced by the header, page title, footer, + 5. */
.page-content {
    height: calc(100% - 140px);
    max-height: calc(100% - 140px);
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 0;
    margin-bottom: 0;
}

.centered-text {
    text-align: center;
    margin: 0 auto;
}

.right-justify-text {
    text-align: right;
}

.outlined {
    border: 1px solid black;
}

.no-text-area-grabber {
    resize: none;
}

.read-only {
    background: #eeeeee;
}

.bg-light-gray {
    background: #eeeeee;
}

.bg-editing {
    background: white;
}

.hidden {
    display: none;
}

.inline-block {
    display: inline-block;
}

.block {
    display: block;
}

.context-menu {
    background:     #ffffff;
    border:         1px solid darkgray;
    display:        inline-block;
    position:       absolute;
    padding-left:   10px;
    padding-right:  10px;
    padding-top:    5px;
    padding-bottom: 0;
    box-shadow:     0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.context-menu-item {
    display: block;
    white-space: nowrap;
}

.hoverable-context-menu-item:hover {
    background-color: #99c8d5;
}

.help-popup {
    background: #f5efe1;
    height:         150px;
    width:          250px;
    border:         1px solid darkgray;
    display:        inline-block;
    position:       absolute;
    padding-left:   10px;
    padding-right:  10px;
    padding-top:    5px;
    padding-bottom: 0;
    box-shadow:     0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.help-popup-details:hover {
    background-color: #99c8d5;
}

.component-leading {
    margin: 5px;
}

.logo {
    height: 40px;
    margin: 3px;
    cursor: pointer;
}

.large-icon {
    width: 40px;
    height: 40px;
    margin: 4px;
    cursor: pointer;
}

.icon {
    width: 32px;
    height: 32px;
    margin: 5px;
    cursor: pointer;
}

.header-control-leading {
    margin-left: 10px;
    margin-right: 10px;
}

.medium-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.medium-button {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 5px;
    padding-right: 5px;
    height: 24px;
    background-color: #98a1a4;
}

/* Derived from Bootstrap btn-primary */
.button-primary {
    color: #fff;
    background-color: #2f8ec6;
    border-color: #2f8ec6;
}

/* Derived from Bootstrap text-primary */
.text-principal {
    color: #2f8ec6 !important;
}

.small-icon {
    width: 16px;
    height: 16px;
    margin: 4px;
    cursor: pointer;
}

.centered-block {
    display: block;
    margin: auto;
}

.centered-inline-block {
    display: inline-block;
    margin: auto;
}

.bg-page {
    background-color: #f6f6f6;
}

.bg-header {
    background-color: #1a2d35;
}

.bg-footer {
    background-color: #1a2d35;
}

.heart-rate-vis-container {
    background-color: white;
    padding: 5px;
    margin: 5px;
}

.bg-form {
    background-color: #FFFFFF;
    margin-top: 10px;
}

.tag-item {
    width: auto;
    height: 25px;
    display: inline-block;
    border: 1px solid #dddddd;
    background: #eeeeee;
    color: #000;
    line-height: 25px;
    text-align: center;
    padding: 0px 5px;
    border-radius: 8px;
    margin: 3px;
    white-space: nowrap;
}

.no-pointer-events {
    pointer-events: none;
}

.over-image {
    border-width: 5px;
    border-color: greenyellow;
    border-style: solid;
}

.selected-image {
    border-width: 5px;
    border-color: limegreen;
    border-style: solid;
}

.unselected-image {
    border-width: 5px;
    border-color: white;
    border-style: solid;
}

.tab-selected {
    font-weight: bold;
    display: inline-block;
    margin: 0;
    border: 0;
}

.tab-unselected {
    font-weight: normal;
    display: inline-block;
    margin: 0;
    border: 0;
}

.toc-ul {
    padding-left: 1.0em;
}

.vertically-aligned-div {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}


/* ******************* */
/* * Dropdown styles * */
/* ******************* */

/* See here for details: https://www.w3schools.com/howto/howto_js_dropdown.asp */

/* The control with which the dropdown items are associated */
.dropdown-control {}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* The dropdown content container (hidden by default) */
.dropdown-content {
    transform: translate(-125px);
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 2147483647;
}

/* Paragraph items inside the dropdown */
.dropdown-content p {
    color: black;
    margin-top: 1px;
    margin-bottom: 1px;
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 5px;
    padding-right: 5px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content p:hover {
    background-color: #f1f1f1;
}

/* Show the dropdown menu (use Javascript code to add this class to the .dropdown-content container to make the container visible) */
.dropdown-show {
    display:block;
}

.arrow-up {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid black;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid black;
}


/* ******************* */
/* * Pulldown styles * */
/* ******************* */

/* The container <div> - needed to position the pulldown content */
.pulldown {
    position: relative;
    display: inline-block;
}

/* The pulldown content container (hidden by default) */
.pulldown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 2147483647;
}

/* Show the pulldown menu (use Javascript code to add this class to the .pulldown-content container to make the container visible) */
.pulldown-show {
    display:block;
}

.pulldown-component {
}


/* **************** */
/* * Progress Bar * */
/* **************** */

.progress-bar-danger {
    background-color: #d9534f;
}

.progress-bar-warning {
    background-color: #f0ad4e;
}

.progress-bar-info {
    background-color: #5bc0de;
}

.progress-bar-success {
    background-color: #5cb85c;
}
