@import url('fontawesome-5.5.0.css');
:root {
    --theme-background-image: url(../img/Fond4.jpg);
    --theme-font-color: #fff;
    --theme-light-font-color: #fff;
    --theme-button-color:#22b6bb;
    --theme-ok-color:#22b6bb;
    --theme-cancel-color: rgba(130,130,130, 0.59);
    --theme-list-border-color:#cdcdcd;
    --theme-menu-item:rgb(255, 255, 255);
    --theme-item-background: white;
    --theme-selection-background: #cdcdcd;
    --theme-sensor-glow: white;
    --theme-sensor-glow-valid: #a2fc4c;
    --theme-sensor-glow-invalid: red;
    --theme-topbar-height: 17vw;
    --theme-gauge-axis: #344245;
    --theme-border-radius: 1vmin;
}
@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:400;src:url(../fonts/fa-regular-400.woff2) format("woff2")}
/* latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: local('Roboto'), local('Roboto-Regular'), url(../fonts/Roboto-Regular.ttf) format('ttf');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: local('Roboto Medium'), local('Roboto-Medium'), url(../fonts/Roboto-Medium.ttf) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 600;
    src: local('Roboto Semibold'), local('Roboto-Semibold'), url(../fonts/Roboto-Semibold.ttf) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: local('Roboto Bold'), local('Roboto-Bold'), url(../fonts/Roboto-Bold.ttf) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin */
@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 400;
    src: local('Roboto Italic'), local('Roboto-It'), url(../fonts/Roboto-Italic.ttf) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 200;
    src: local('Roboto Light'), local('Roboto-Light'), url(../fonts/Roboto-Light.ttf) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

/* latin */
@font-face {
  font-family: 'Source Code Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Source Code Pro Regular'), local('SourceCodePro-Regular'), url(../fonts/Source-Code-Pro.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


@supports (-webkit-overflow-scrolling: touch) {
    :root {
        --theme-background-image: url(./style/img/Fond3.svg);
    }
}
*:not(input):not(textarea) {
    user-select: none; /* disable selection/Copy of UIWebView */
    -webkit-touch-callout: none; /* disable the IOS popup when long-press on a link */
}
body, #topbar_righticon:active {
    background-color: rgb(44, 62, 80);
}

#topbar {
    background-color: rgba(52, 73, 94, 0.5);
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    text-align: right;
}

#topbar_team {
    padding: 0 1em;
    cursor: pointer;
    transition: 0.3s all;
    overflow: hidden;
    display: none !important;
}

#topbar_teamlabel {
    font-family: 'Source Sans Pro', serif;
    color: rgba(220,220,220,0.8);
    border: 0;
    vertical-align: middle;
    display: inline-block;
    text-align: left;
}

div.topbar_teamicon.fa {
    position: relative;
    height: 52px;
    width: 52px;
    line-height: 52px;
    text-align: center;
    color: rgb(230, 231, 232);
    font-size: 21pt;
    vertical-align: middle;
}

#topbar_team:hover {
    background-color: rgba(220, 220, 220, 0.3);
}

.gobtn {
    background-color: rgb(52, 73, 94);
}

.gobtn:hover {
    background-color: rgb(72, 93, 114);
}

.gobtn:active {
    background-color: rgb(32, 53, 74);
}

.window {
    display:none;
    position: fixed;
    top:10vh;
    left:10vw;
    width:80vw;
    height:80vh;
    background-color: black;
    transition: all 0.25s;
}
.list-title {
    color: rgb(220,220,220);
    font-size: 1.2rem;
    line-height: 2.3rem;
    text-align: left;
    height: 2.3rem;
    background-color: rgba(34, 52, 70, 0.5);
    width:100%;
}
.window.openPane .list-title {
    background: rgb(50, 76, 103);
    line-height: 3rem;
    height: 3rem;
    text-align: center;
}
.list-title p {
    font-family: 'Roboto'; /* having text rendered using Roboto makes it ready for use in canvas too */
    height:calc(100% - 7px);;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 10px;
    font-size: 1.2rem;
}
#diversTitle p {
    max-width: calc(100% - 1rem - 38px - 38px);
}
.list-title div {
    height:100%;
    width:38px;
    float:right;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: 50% 50%;
    background-position: center center;
    transition: 0.3s all;
}

.list-title div:hover {
    background-color: rgba(220,220,220,0.1);
}

.list-edit {
    background-image: url(../../ne/img/edit.svg);
}
.list-import{
    background-image: url(../../ne/img/import.svg);
}
#import_uddf {
    background-position: center 1rem;
    background-size: 0.9rem;
}
#import_uddf::after {
    content: "DAN";
    display: block;
    font-size: 0.8rem;
    font-weight: bold;
    text-align: center;
    margin-top: -0.45rem;
    color: white;
}
#diveUploaderUDDF {
    display: none;
}
.list-information {
    background-image: url(../../ne/img/information.svg);
}
.list-add {
    background-image: url(../../ne/img/add.svg);
}
.list-grade {
    background-image: url(/bfsm/img/grade2.svg);
}

.list-compute {
    background-image: url(/bfsm/img/compute.svg);
}

.list-compute_all {
    background-image: url(/bfsm/img/compute_all.svg);
}
.list-edit-compute {
    background-image: url(/bfsm/img/editcompute.svg);
}
.list-edit-grade {
    background-image: url(/bfsm/img/grade2.svg);
}
.list-content {
    scrollbar-color: rgba(255,255,255,0.7) transparent;
}
.list-content::-webkit-scrollbar {
    width: 16px;
    background: transparent;
}
.list-content::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.7);
    border-radius: 10px;
}
.list-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,1);
}
.list-content {
    color: rgb(220,220,220);
    background-color: inherit;
    font-size: 17pt;
    overflow-y: auto;
    height:calc(100% - 38px);
    width:100%;
}
.list-content li {
    height:auto;
    /*cursor: pointer;*/
    padding-left: 25px;
    transition: 0.3s all;
}

.list-content li:hover {
    background-color: rgba(220,220,220, 0.1);
}
.window .list-content li:hover {
    background-color: transparent;
}

.list-content input[type='text'],
.list-content input[type='date'],
.list-content input[type='number'],
.list-content input[type='email'],
.list-content input[type='time'],
.list-content input[type='datetime'],
.list-content input[type='datetime-local'],
.list-content input[type='checkbox'],
.list-filter-text {
    background-color: rgb(24, 42, 60);
    padding-left: 6px;
    height: 2.2rem;
    width: 50%;
    color: rgb(220,220,220);
    font-family: "Source Sans Pro", sans-serif;
    transition: background-color 0.3s;
}

.list-content input[readonly],
.list-content textarea[readonly] {
    color: rgb(110,110,110);
}

.list-content input[type='number'] {
    text-align: right;
}
.list-filter {
    background-color: rgb(24, 42, 60);
}

.list-content .listItem_mapsLinkEditor .listEditor,
.list-content div.listItemEnum {
    height: 40px;
    width: calc(50% + 6px);
    display: inline-flex;
    justify-content: space-around;
    align-items: center;
    margin: 0;
}

.list-content .listItem_mapsLinkEditor .listEditor {
    justify-content: flex-end;
}

.list-content .listItem_mapsLinkEditor .listEditor a {
    color: rgb(220,220,220);
}

.list-content div.listItemEnum > div {
    flex: 1;
    margin: 0;
    height: 40px;
    line-height: 40px;
    text-align: center;
    width: auto;
    padding-left: auto;
    padding-right: auto;
    transition: background-color 0.3s;
    text-overflow: ellipsis;
    overflow: hidden;
}

.list-content div.listItemEnum > div:hover {
    background-color: rgb(44, 62, 80);
}

.listItemEnum > .listItemEnumSelected {
    background-color: white;
    color: black;
}

.list-filter {
    width: 100%;
    position: relative;
}

.list-filter-text {
    width: calc(100% - 2.8rem);
    text-overflow: ellipsis;
}

.list-filter-clear {
    cursor: pointer;
    position: absolute;
    top: 50%;
    right: 1px;
    padding: 10px;
    transform: translateY(-50%);
}
.list-filter-clear:hover {
    filter: contrast(200%) drop-shadow(0 0 10px white);
}
section#measures div.list-filter-clear {
    cursor: pointer;
}
.list-content input[type=text]:focus,
.list-content input[type=date]:focus,
.list-content input[type=number]:focus,
.list-content input[type='time']:focus,
.list-content input[type='datetime']:focus,
.list-content input[type='datetime-local']:focus,
.list-filter-text:focus {
    background-color: rgb(44, 62, 80);
}
.list-content textarea {
    margin: 0px;
    width: 50%;
    height: 139px;
    background-color: #182a3c;
    padding-left: 6px;
    color: #dcdcdc;
    font-family: 'Source Sans Pro';
    font-size: 16pt;
    transition: background-color .3s;
    vertical-align: top;
    border: none;
}
.list-content div {
    font-size: 24px;
    font-family: 'Source Sans Pro';
    color:white;
    border: 1 wheat;
    width: 10;
    /*cursor: pointer;*/
    margin-left: 3px;
}
.list-content .listEditor {
    overflow-x: hidden;
}
.list-content div.listEditor {
    padding: 10px 0;
}
.list-content div.listEditor,
.list-content div.listEditor div {
    font-size: 20px;
}
.list-content .DiveStepI, .list-content .DiveStepD, .list-content .DiveStepNX {
    display: inline-block;
    width: 5vw;
    min-width: 3rem;
}
.list-content select {
    font-size: 24px;
    font-family: 'Source Sans Pro';
    background-color: rgba(255,255,255,0.1);
    color:white;
    border:0;
    width: calc(50% + 0.5rem);

}
.list-content select option {
    background-color: rgb(34, 52, 70);
    font-family: 'Source Sans Pro';
    font-size: 24px;
    border:0;
}

.listLabel {
    display: inline-block;
    padding-top: 0.32rem;
    padding-bottom: 0.32rem;
    width: calc(50% - 25px);
}
.data-panel .listLabel {
    width: 100%;
    height:90%;
    padding-top: 6px;
    overflow: hidden;
    white-space: nowrap;
}
.data-panel .listLabel > span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-block;
    width: 100%;
}
.data-panel .listItem, #diveList > li, #diveListFlow > li, #adviceList > li, #sensorVariantList > li {
    position: relative;
    height: 2.2rem;
}
#diveList > li, #diveListFlow > li {
    background-size: 4rem;
    background-repeat: no-repeat;
    background-position: calc(100% + 2.7rem) 0.4rem;
}
#sensorVariantList > li .sensor {
    text-align: right;
    font-family: "Source Code Pro";
    letter-spacing: -0.05em;
    width: 7.5rem;
}
#sensorVariantList > li .variant {
    display: inline-flex;
    padding-left: 0.5rem;
    color: rgba(200, 200, 200, 0.8);
    font-size: 1rem;
    line-height: 1em;
    width: 7rem;
}
.dive-list-item {
    width: 100%;
}

#adviceList {
    position: relative;
}

#adviceList > li > .listLabel > span:first-child {
    width: 12rem;
}
#adviceList > li > .listLabel > span:nth-child(2) {
    width: 8rem;
    opacity: 0.5;
}


.list-content li[data-selected]{
    background-color: rgba(220,220,220, 0.3);
}

.listEditor li {
    cursor: default !important;
}
/* ADDED */
.listLabelEditor {
    font-size: 20px;
    line-height: 1.2em;
    display: inline-block;
    padding-top: 3px;
    width: calc(50% - 25px);
    margin-bottom: 5px;
    cursor :auto;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
}
.listItemEditor {
    padding-bottom: 7px;
    padding-top: 7px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    height:70px;
}

#teamList.list-content .listItem {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    height: 40px;
    line-height: 40px;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 20px;
    overflow: hidden;

    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}
#teamList.list-content .listItem:first-child,
.list-content .listItem:first-child {
    border-top: 1px transparent;
}

#teamList.list-content .listItem:hover {
    background-color: rgba(220, 220, 220, 0.5);
}
#teamListFlow.list-content .listItem {
    margin-bottom: 7px;
    margin-top: 7px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    height: 40px;
    line-height: 40px;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 20px;
    position: relative;

    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

#teamListFlow.list-content .listItem:hover {
    background-color: rgba(220, 220, 220, 0.5);
}
/* END ADDED */

.list-remove {
    position: absolute;
    right: 0;
    top: 0;
    height: 2.2rem;
    background-image: url(../../ne/img/delete.svg);
    width:2.2rem;
    background-size: 50% 50%;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0.5;
    transition: 0.3s all;
}

.list-remove:hover {
    opacity: 0.9;
    background-color: rgb(239, 72, 54);
}

.list-buttons {
    width: 100%;
    height: 38px;
    font-size: 16pt;
    text-align: center;
    background-color: rgb(50, 76, 103);
}

.list-buttons div {
    display: inline-block;
    cursor: pointer;
    height: calc(100% - 8px);
    padding-top: 8px;
    width:50%;
    transition: 0.3s all;
}

.list-buttons div:hover {
    background-color: rgb(72, 93, 114);
}
.list-buttons div:active {
    background-color: rgb(32, 53, 74);
}

.list-ok {
    float:left;
    color:white;
}
.list-cancel {
    color:white;
}

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vw;
    background: rgba(34, 52, 70, 0.9);
}

#analyser {
    width: 100%;
    height: 100%;
}

#wavedisplay {
    display: none;
}

#analyser-flow {
    width: 100%;
    height: 100%;
}

#wavedisplay-flow {
    display: none;
}

section#measures {
    overflow-x: auto;
    overflow-y: hidden;
}

section#flow {
    overflow-x: auto;
    overflow-y: hidden;
}

.data-panels {
    height: 100%;
    min-width: 45rem;
    white-space: nowrap;
}

.data-panel {
    display: inline-block;
    vertical-align: top;
    height: 100%;
    box-shadow: 1px 0 0 0 rgba(220, 220, 220, 0.2)
}

.data-panel-child {
    width: 100%;
    height: 50%;
    overflow-x: auto;
}

.data-maincontrol_player {
    width: 100vw;
    height: 120px;
    background-color: rgba(52, 73, 94, 0.5);
}

#auth_applogo {
    background-image: url("/bfsm/img/titleApp_gray.png");
}

#background {
    background: url(/bfsm/img/bg.jpg);
    -webkit-filter: blur(15px);
    -moz-filter: blur(15px);
    -o-filter: blur(15px);
    -ms-filter: blur(15px);
    filter: blur(15px);
    box-shadow: 0 0 0 9px black inset;
    background-size: cover;
}

#background-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0.2;
    background: url("/bfsm/img/titleApp_white.png") no-repeat center 37.5%;
    background-size: 15%;
}

#usermenu_settings {
    display: none;
}

#usermenu_about {
    display: none;
}
#advisingDive {
    position:absolute;
    top:67%;
    width: 100%;
    height:50%;

}
#advisingLines {
    padding-top: 10px;
    display: none;
}
.advisingLine {
    display:flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.spanLabel {
    left:4%;
    margin-left: 4%;
}
.spanValue {
    text-align: right;
    margin-right: 4%;
    right:4%;
}
#advising {
    position: relative !important;
    width:100%;
    height: calc(100% - 2.3rem);
    overflow: hidden;
}
#advisingCancel {
    position:absolute;
    right: 10px;
    top:10px;
}
#advisingTitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 20pt;
}
.advisingChart canvas {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
.advisingChart {
    position: relative;
    width: 100%;
    height: 300px;
}

.advisingChartClonedAxis {
    position: absolute;
    left: 0;
    top: 0;
    pointer-events:none;
}

.advisingChartWrapper {
    overflow-x: auto;
    position: relative;
    width: 100%;
    height: 100%;
}

.advisingChartWrapper2 {
    position: relative;
    height: 100%;
}

.measureItemBadIPOS,
.noGradediveItem {
    border-left: 10px solid rgba(255, 80, 80, 0.7);
}
.measureItemGoodIPOS,
.gradediveItemToConfirm {
    border-left: 10px solid rgba(50, 163, 255, 0.7);
}
.measureItemBadMeasure {
    border-left: 10px solid rgba(180, 180, 180, 0.7);
}
.measureItemDoubtIPOS {
    border-left: 10px solid rgba(255, 200, 80, 0.7);
}
.measureItemHasManualQuotation,
.gradediveItem {
    border-left: 10px solid rgba(80, 255, 80, 0.7);
}

.list-filter-dive {
    font-size: 25px !important;
    line-height: 38px !important;
    text-align: center;
}

.list-filter-dive.selected {
    background-color: rgba(220,220,220, 0.3);
}

.list-filter-dive#filter_unitary {
    color: rgba(30, 80, 150, 0.7);
}
.list-filter-dive#filter_nograde {
    color: rgba(255, 80, 80, 0.7);
}
.list-filter-dive#filter_grade {
    color: rgba(80, 255, 80, 0.7);
}
.list-filter-dive#filter_gradetoconfirm {
    color: rgba(50, 163, 255, 0.7);
}
.list-filter-dive#flowFilterUndef {
    color: rgba(255, 80, 80, 0.7);
}
.list-filter-dive#flowFilterManual {
    color: rgba(80, 255, 80, 0.7);
}
.list-filter-dive#flowFilterAuto {
    color: rgba(50, 163, 255, 0.7);
}
#diversSection,
#sensorVariantSection {
    min-width: 10rem;
    width: 15%;
    height: 100%;
}
#sensorVariantSection {
    width: 100vw;
}

#sensorVariantList,
#diverList {
    height: calc(100% - 78px);
    display: flex;
    flex-direction: column;
}
#diverList li {
    order: 50;
}
#diverList li.testAccount {
    order: 100;
    color: rgba(200, 200, 200, 0.8)
}

#diveDataPanel {
    width: calc(100% - 15% - 27rem - 0.4rem);
    min-width: 18.8rem;
}
#measuresDataPanel {
    width: 27rem;
    vertical-align: top;
}
#measureSection {
    height:45%;
}
#diveSection {
    height:45%;
}
#adviceDisplay {
    height:55%;
}
#computeSection {
    height:55%;
}
#recomSection {
    height:35%;
}
#diversSection #add,
#diveSection #add,
#recomSection {
    display: none;
}
.disableRecom {
    border-left: 7px solid rgba(255, 80, 80, 0.7);

}
.enableRecom {
    border-left: 7px solid rgba(80, 255, 80, 0.7);
}
#adviseRecomValue {
    text-align: left;
    margin-left: 4%;
    left: 4%;
}
#diveDataFlow {
    width: calc(100% - 27rem - 0.2rem);
    min-width: 58rem;
}
#diveSectionFlow {
    height:100%;
}
#measuresDataFlow {
    width: 27rem;
}
#measureSectionFlow {
    height:100%;
}
#measureList,
#measureListFlow {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
    height: calc(100% - 38px - 2rem);
    position: relative;
}
#measureList > li,
#measureListFlow > li {
    margin-bottom: 0.6rem;
}
.measureListItem {
    flex-direction: row;
    flex-wrap: wrap;
}
#computeMatlabFlow,
#editGradeFlow {
    display: none;
}
.FlyingButton{
    position:absolute;
    right: 5px;
    width: 40px;
    height: 40px;
    padding-top: 0px;
    font-size: 20pt;
    border-radius: 50px;
    border: 0px solid white;
    transition: 0.5s background-color;
    user-select: none;
    background-color: rgba(128,128,128,0.5);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center center;
}

#validateCompute {
    border: none;
    user-select: none;
    background-repeat: no-repeat;
    background-size: 1.4rem;
    background-image: url(/bfsm/img/invalidate.png);
    background-position: center;
    box-sizing: border-box;
}
#validateCompute:hover {
    background-color: rgba(128,128,128,0.5);
}
#validateCompute.willValidate {
    background-image: url(/bfsm/img/validate.png);
}
#computeMatlab {
    background-image: url(/bfsm/img/computeMatlab.svg);
    display: none;
}

#imgIsDiver{
    width: 6%;
}

#helpWindow {
    display: none;
    position: absolute;
    z-index:2100;
    width: 80vw;
    height: 80vh;
    left: 10vw;
    top: 10vh;
    align-content: center;
    text-align: center;
    vertical-align: middle;
    color:var(--theme-font-color);
    font-size: 15pt;
    background-image: none;
    background-color: transparent;
    flex-direction: column;
}
#helpBackground {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    align-content: center;
    text-align: center;
    vertical-align: middle;
    color: black;
    z-index: -10;
    background-color: var(--theme-item-background);
    border-radius: 2vw;
    filter: drop-shadow(0 0 2vw rgba(0,0,0,0.5));
}
#helpText {
    position: relative;
    margin: 8vw 5vw;
    max-height: 100%;
    text-align: justify;
    font-size: 3.5vw;
    color: black;
    line-height: 5vw;
    overflow: auto;
    font-weight: lighter;
    text-align: left;
}
#helpText h3 {
    font-weight: bold;
    font-size: 4vw;
    margin-top: 2em;
}
#helpText em {
    font-style: italic;
}
#helpText strong {
    font-weight: bold;
}
#helpText p {
    margin: 1em 0;
}
#helpTitle {
    position: relative;
    top: 2vw;
    width: 80vw;
    color: black;
    font-size: 4vw;
    font-weight: bold;
}
#helpHelpButton {
    right: 2vw;
    top: 2vw;
    background-image: url(../img/help.png);
    background-size: 44%;
}
#helpCloseButton {
    right: 2vw;
    cursor: pointer;
    top: 2vw;
    width: 8vw;
    height: 8vw;
    background-image: url(../img/delete.svg);
    filter: brightness(50%);
    z-index: 300;
    background-color: rgba(255,255,255,0.5);
}
body.ne #helpWindow {
    top: 7rem !important;
}
body.ne #helpTitle {
    font-size: 2.5rem;
}
body.ne #helpText {
    margin: 4rem 2rem;
    font-size: 1.5rem;
    line-height: 1.4em;
}
body.ne #helpText h3 {
    font-size: 2rem;
}
body.ne #helpCloseButton {
    right: 2rem;
    top: 2rem;
    width: 2rem;
    height: 2rem;
    background-image: url(/ne/img/delete.svg);
    position: absolute;
    border-radius: 2rem;
    background-repeat: no-repeat;
    background-size: 1rem;
    background-position: center;
}
body.ne #helpBackground {
    border-radius: 1rem;
}
body.ne .HelpItemButton{
    display: inline-flex;
    background-image: url(/ne/img/helpi.svg);
    background-position: center;
    background-size: 1.4rem 1.4rem;
    background-repeat: no-repeat;
    width: 2.3rem;
    height: 2.4rem;
}
.HelpItemButton + .listLabelEditor {
    width: calc(50% - 25px - 20px - 1.5rem);
}
body.ne .HelpItemButton:hover {
    filter: contrast(200%) drop-shadow(0 0 10px white);
    cursor: pointer;
}
body.ne #helpText dl {
    display: grid;
    grid-template-columns: 1fr 3fr;
}
body.ne #helpText dt {
    font-weight: bold;
    padding-left: 1rem;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    white-space: nowrap;
}
body.ne #helpText dd {
    padding-left: 4rem;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    border-left: 0;
    margin-bottom: 0;
}
.openPane {
    display: block;
}
#spectrogramContainer {
    display: none;
    position: absolute;
    z-index: 200;
    background-color: rgb(44, 62, 80);
    flex-direction: column-reverse;
    bottom: 0;
    top: auto;
    width: 100vw;
    height: auto;
    padding-top: 0;
    overflow-y: hidden;
    overflow-x: auto;
    /*pointer-events: none;*/
}
#spectrogramSubContainer {
    top: 0;
    position: relative;
    width: 100%;
    min-width: 45rem;
    overflow: hidden;
    padding-top: 0vw;
    box-sizing: border-box;
}
#spectrogramParameters {
    display: flex;
    box-sizing: border-box;
    justify-content: flex-end;
    height: auto;
    background: rgb(16,53,76);
    padding: 0.5rem;
    width: 100%;
    min-width: 45rem;
    /*padding-left: 3%;*/
}
#spectrogramParameters input {
    position: relative;
    width: 9%;
    margin-right: 1%;
    text-align: right;
}
#spectrogramParameters input:focus + label:before {
    transition: all 0.5s;
    content: " ";
    margin-top: 0;
    color: rgba(255,255,255,0.3);
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    height: 2.2rem;
    width: 9%;
    margin-left: -10%;
}
#spectrogramParameters input:focus:not(:placeholder-shown) + label:before {
    content: attr(for);
    position: absolute;
    color: rgba(255,255,255,1);
    margin-top: 2rem;
    z-index: 2;
    font-size: 1rem;
    text-shadow: 0 0 0.2rem black;
    filter: drop-shadow(0 0 0.2rem black);
}
#spectrogram {
    width: 100%;
    height: 20rem;
    /*image-rendering: pixelated;*/
}
#closeSpectro {
    width: 2.2rem;
    height: 2.2rem;
    z-index: 2;
    background-image: url(/ne/img/delete.svg);
    background-color: transparent;
    -webkit-appearance: none;
    border: none;
    background-repeat: no-repeat;
    background-position: center;
}
#closeSpectro:hover {
    filter: contrast(200%) drop-shadow(0 0 10px white);
}
#spectrogramParameters #disableSpectroMask {
    width: 2.2rem;
}
#spectrogramParameters input:focus + label[for=disableSpectroMask]:before {
    width: 2.2rem;
    margin-left: calc(-2.2rem - 1%);
    justify-content: center;
}
#diveProfileChartWrapper {
    margin-top: 2vmin;
    height: 40vmin;
    width: calc(100% - 25px);
    box-sizing: border-box;
    border: 1px solid var(--theme-cancel-color);
}

#subsurfaceDiveExtracts,
#buhlmannExtracts {
    margin-right: 25px;
}
#buhlmannExtracts:not(.hidden) {
    display: flex;
}
#buhlmannExtracts dl,
#subsurfaceDiveExtracts dl {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    flex-grow: 1;
}
#buhlmannExtracts dl {
    padding: 0 1rem;
}
#buhlmannExtracts dl:first-child {
    padding-left: 0;
}
#buhlmannExtracts dl:last-child {
    padding-right: 0;
}
#buhlmannExtracts dl:not(:first-child):not(:last-child) {
    border-left: 1px dashed rgba(255, 255, 255, 0.2);
    border-right: 1px dashed rgba(255, 255, 255, 0.2);
}
#buhlmannExtracts dt,
#subsurfaceDiveExtracts dt {
    width: 50%;
    padding-left: 17% !important;
}
#buhlmannExtracts dd,
#subsurfaceDiveExtracts dd {
    margin-left: auto;
    width: 50%;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: normal;
    text-align: right;
    padding-right: 17% !important;
}
#buhlmannExtracts dt:nth-of-type(odd),
#subsurfaceDiveExtracts dt:nth-of-type(odd),
#buhlmannExtracts dd:nth-of-type(odd),
#subsurfaceDiveExtracts dd:nth-of-type(odd) {
    background-color: rgb(24, 42, 60);
}
#buhlmannExtracts dt,
#subsurfaceDiveExtracts dt,
#buhlmannExtracts dd,
#subsurfaceDiveExtracts dd {
    padding: 0.25em;
    box-sizing: border-box;
}
#subsurfaceDiveExtracts dl,
#buhlmannExtracts dl {
    position: relative;
    display: flex;
    margin-top: 2rem;
    padding-top: 2rem;
}
#buhlmannExtracts dl {
    width: 33%;
}
dl .controls {
    position: absolute;
    background: transparent !important;
    top: -0.5rem;
    right: 0;
    padding-left: 0 !important;
    display: inline-flex;
    justify-content: flex-end;
}
dl:not(:last-child) .controls {
    padding-right: 1rem;
}
.listItem_stepsMessage .download:hover,
dl .controls .download:hover {
    filter: contrast(200%) drop-shadow(0 0 10px white);
    cursor: pointer;
}
.listItem_stepsMessage .download,
dl .controls .download {
    background-color: rgba(255,255,255,0.7);
    display: block;
    width: 3rem;
    height: 2rem;
    border-radius: 0.2rem;
}
dl .controls .download::before {
    content: " ";
    display: block;
    text-align: center;
    color: rgba(24, 42, 60, 0.9);
    font-size: 1rem;
    line-height: 2rem;
    font-weight: bold;
    letter-spacing: -0.05rem;
}
dl .controls .download.buhlmannout::before {
    content: "JSON";
}
dl .controls .download.xls::before {
    content: "XLS";
}
dl .controls .download.uddf::before {
    content: "UDDF";
}
#buhlmannExtracts dl.buhlmannExtractsMode1::before,
#buhlmannExtracts dl.buhlmannExtractsMode2::before,
#buhlmannExtracts dl.buhlmannExtractsMode3::before {
    content: "Buhlmann base";
    position: absolute;
    top: 0;
    color: rgb(150, 150, 150);
}
#buhlmannExtracts dl:empty::before {
    opacity: 0.4;
}
#buhlmannExtracts dl.buhlmannExtractsMode2::before {
    content: "Buhlmann PpO2";
}
#buhlmannExtracts dl.buhlmannExtractsMode3::before {
    content: "Buhlmann setPoint";
}

.listItem_stepsMessage hr {
    max-width: calc(100% - 25px);
    opacity: 0.5;
    margin: 1rem 25px 1rem 0;
    height: 1px;
    background-color: var(--theme-cancel-color);
    border-width: 0;
    border-color: transparent;
}
.window .list-content li.list-foot-remove:first-child {
    display: none;
}
.window .list-content li.list-foot-remove {
    padding: 1rem;
    margin: 1rem;
    text-align: center;
    border: 1px solid rgba(220,0,0,0.5);
}
.window .list-content li.list-foot-remove:hover {
    background-color: rgba(220,0,0,0.5);
    color: white;
    border: 1px solid transparent;
}
.list-content li span.list-remove {
    border: 10px solid green;
    display: none;
}

.missingMeasures > * {
    pointer-events: none;
    opacity: 0.3;
}
.missingMeasures::before {
    content: "En cours de synchro...";
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(220, 220, 220, 0.2);
    margin: 1rem;
}

.AB {
    text-align: center;
    border: 0;
    display: inline-block;
    margin: 1rem auto;
    line-height: 1rem;
    padding: 0.5rem;
    background-color: rgb(52, 73, 94);
    width: 1rem;
    height: 1rem;
    position: relative;
}
.listEditor[readonly=readonly] .AB {
    visibility: hidden;
}

.listEditor.listItemEnum[readonly=readonly] {
    opacity: 0.5;
    pointer-events: none;
}

/* PRO dive editor layout */
section.PRO #diveEditor,
section.PRO #diveEditorFlow {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
section.PRO #diveEditor .listItem_bottomTime,
section.PRO #diveEditorFlow .listItem_bottomTime {
    display: block;
}
section.PRO #diveEditor .listItem_name,
section.PRO #diveEditorFlow .listItem_name {
    order: 5;
}
section.PRO #diveEditor .listItem_place,
section.PRO #diveEditorFlow .listItem_place {
    order: 10;
}
section.PRO #diveEditor .listItem_duration,
section.PRO #diveEditorFlow .listItem_duration,
section.PRO #diveEditor .listItem_surfaceDate,
section.PRO #diveEditorFlow .listItem_surfaceDate,
section.PRO #diveEditor .listItem_immersionDate,
section.PRO #diveEditorFlow .listItem_immersionDate {
    order: 20;
}
section.PRO #diveEditor li,
section.PRO #diveEditorFlow li {
    order: 1000;
}
section.PRO #diveEditor .listItem_sectionExposition,
section.PRO #diveEditorFlow .listItem_sectionExposition {
    order: 25;
}
section.PRO #diveEditor .listItem_sectionDecompression .listEditor,
section.PRO #diveEditorFlow .listItem_sectionDecompression .listEditor,
section.PRO #diveEditor .listItem_sectionExposition .listEditor,
section.PRO #diveEditorFlow .listItem_sectionExposition .listEditor {
    background: transparent;
    color: var(--theme-light-font-color);
    text-align: center;
}
section.PRO #diveEditor .listItem_diveSubsurface,
section.PRO #diveEditorFlow .listItem_diveSubsurface {
    order: 30;
}
section.PRO #diveEditor .listItem_stepsMessage,
section.PRO #diveEditorFlow .listItem_stepsMessage {
    order: 40;
}
section.PRO #diveEditor .listItem_editO2DiveStep,
section.PRO #diveEditorFlow .listItem_editO2DiveStep {
    order: 50;
}
section.PRO #diveEditor .listItem_maxDepth,
section.PRO #diveEditorFlow .listItem_maxDepth {
    order: 60;
}
section.PRO #diveEditor .listItem_bottomTime,
section.PRO #diveEditorFlow .listItem_bottomTime {
    order: 70;
}
section.PRO #diveEditor .listItem_bottomTime .buttonM + input[type='number'],
section.PRO #diveEditorFlow .listItem_bottomTime .buttonM + input[type='number'],
section.PRO #diveEditor .listItem_maxDepth .buttonM + input[type='number'],
section.PRO #diveEditorFlow .listItem_maxDepth .buttonM + input[type='number'],
section.PRO #diveEditor .listItem_diveTableMaxDepth .buttonM + input[type='number'],
section.PRO #diveEditorFlow .listItem_diveTableMaxDepth .buttonM + input[type='number'],
section.PRO #diveEditor .listItem_diveTableBottomTime .buttonM + input[type='number'],
section.PRO #diveEditorFlow .listItem_diveTableBottomTime .buttonM + input[type='number'] {
    width: 13vw;
}
section.PRO #diveEditor .listItem_gasType,
section.PRO #diveEditorFlow .listItem_gasType {
    order: 80;
}
section.PRO #diveEditor .listItem_sectionDecompression,
section.PRO #diveEditorFlow .listItem_sectionDecompression {
    order: 85;
}
section.PRO #diveEditor .listItem_table,
section.PRO #diveEditorFlow .listItem_table {
    order: 90;
}
section.PRO #diveEditor .listItem_diveTableMaxDepth,
section.PRO #diveEditorFlow .listItem_diveTableMaxDepth {
    order: 100;
}
section.PRO #diveEditor .listItem_diveTableBottomTime,
section.PRO #diveEditorFlow .listItem_diveTableBottomTime {
    order: 110;
}
section.PRO #diveEditor .listItem_comment,
section.PRO #diveEditorFlow .listItem_comment {
    order: 200;
}
#diveDataPanel,
#measuresDataPanel,
#diveList,
#diveListFlow,
#measureList,
#measureListFlow {
    transition: opacity 0.5s;
}
.notvisible {
    visibility: hidden;
}
.inert {
    transition: opacity 2s;
    opacity: 0.5;
    pointer-events: none !important;
}
.reloading {
    pointer-events: none !important;
}
.reloading > * {
    transition: opacity 3s;
    transition-timing-function: cubic-bezier(0, 0.3, 0, 1);
    opacity: 0;
}
.reloading .reloading {
    transition: opacity 0s !important;
}
@keyframes apiloader {
  0% {
    transform: scale(0.3);
    opacity: 0.1;
  }
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
}
.reloading::before {
    content: "...";
    transform: translateZ(0);
    animation: apiloader 1s 1 cubic-bezier(0, 0.4, 0, 1);
    opacity: 0.7;
    display: block;
    position: absolute;
    z-index: 10;
    font-size: 1.5rem;
    line-height: 1.3rem;
    text-align: center;
    margin: 2rem auto;
    width: 2rem;
    height: 2rem;
    left: 0;
    right: 0;
    background-color: var(--theme-cancel-color);
    border-radius: 100%;
    box-shadow: 0 0.5rem 0.5rem rgba(0,0,0,0.3);
    pointer-events: none;
    align-self: center;
}
.manyAttempts {
    color: red;
}
