:root {
    --bphy-mcolblue: #00b6b0;
    --bphy-mcolgreen: #7ec243;
    --bphy-mcolmiddle: #4fbb7e;
    --bphy-mcolwhite: #ffffff;
    --bphy-mcoldanger: #bb4f4f;
    --bphy-mcolwarning: #b99d3c;
    --bphy-mcolgray: #fafafa;
}
html {
    scroll-behavior: auto !important;
    height: 100%;
}
body {
    font-family: "Open Sans", sans-serif;
    font-size:11pt;
    height: 100%;
}
h1 {
    font-size:18pt;
}
h2 {
    font-size:16pt;
}
h3 {
    font-size:14pt;
}
h4 {
    font-size:12pt;
}
input.bphy-checkpoxlarge {
    transform: scale(1.5);
    background-color:transparent;
}
.btn-primary {
    background-color: var(--bphy-mcolmiddle);
    color: var(--bphy-mcolwhite);
    border-color: var(--bphy-mcolmiddle);
}

.btn-primary:hover {
    background-color: var(--bphy-mcolmiddle);
    color: var(--bphy-mcolwhite);
    border-color: var(--bphy-mcolmiddle);
}

.btn-primary:active {
    background-color: var(--bphy-mcolmiddle);
    color: var(--bphy-mcolwhite);
    border-color: var(--bphy-mcolmiddle);
}

.btn-info {
    background-color: var(--bphy-mcolblue);
    color: var(--bphy-mcolwhite);
    border-color: var(--bphy-mcolblue);
}

.btn-info:hover {
    background-color: var(--bphy-mcolblue);
    color: var(--bphy-mcolwhite);
    border-color: var(--bphy-mcolblue);
}

.btn-info:active {
    background-color: var(--bphy-mcolblue);
    color: var(--bphy-mcolwhite);
    border-color: var(--bphy-mcolblue);
}

.btn-danger {
    background-color: var(--bphy-mcoldanger);
    color: var(--bphy-mcolwhite);
    border-color: var(--bphy-mcoldanger);
}

.btn-danger:hover {
    background-color: var(--bphy-mcoldanger);
    color: var(--bphy-mcolwhite);
    border-color: var(--bphy-mcoldanger);
}

.btn-danger:active {
    background-color: var(--bphy-mcoldanger);
    color: var(--bphy-mcolwhite);
    border-color: var(--bphy-mcoldanger);
}

.btn-warning {
    background-color: var(--bphy-mcolwarning);
    color: var(--bphy-mcolwhite);
    border-color: var(--bphy-mcolwarning);
}

.btn-warning:hover {
    background-color: var(--bphy-mcolwarning);
    color: var(--bphy-mcolwhite);
    border-color: var(--bphy-mcolwarning);
}

.btn-warning:active {
    background-color: var(--bphy-mcolwarning);
    color: var(--bphy-mcolwhite);
    border-color: var(--bphy-mcolwarning);
}
.form-control:focus {
    box-shadow:none;
}
#app-footer {
    position:fixed;
    bottom:0px;
    left:0px;
    right:0px;
    padding:15px;
    background-color: var(--bphy-mcolgray);
    border-top:solid 1px #ddd;
    text-align:right;
}
#app-version {
    text-align:left;
}
.app-vertext {
    font-size:6pt;
    font-weight:bold;
}
.app-devtext {
    font-size:6pt;
}
.app-dspnone {
    display:none;
}
.bhy-navbar {
    background-color: var(--bphy-mcolwhite);
    border-bottom:solid 1px #ddd;
}
.app-margintop-70 {
    z-index:10;
    margin-top:70px;
    padding: 0px 15px 100px 15px;
}
.app-margintop-100 {
    z-index:10;
    margin-top:100px;
    padding: 0px 15px 100px 15px;
    height: calc(100vh - 100px);
}
.bphy-w100 {
    width:100%;
    height:90px;
    text-align:center;
    font-size:9pt;
}
.bphy-w100-selected {
    background-color: var(--bphy-mcolblue) !important;
    border-color: var(--bphy-mcolblue) !important;
    text-decoration: underlined;
}
.bphy-logomenu {
    position: absolute;
    bottom: 0;
    margin-left: -15px;
    width: 100%;
}
.bphy-prefs-title {
    margin-top:-14px;
    padding-top:12px;
    padding-bottom:12px;
    background-color:#eee;
}
.bphy-col5 { float:left; width: 5%; }
.bphy-col10 { float:left; width: 10%; }
.bphy-col15 { float:left; width: 15%; }
.bphy-col20 { float:left; width: 20%; }
.bphy-col25 { float:left; width: 25%; }
.bphy-col30 { float:left; width: 30%; }
.bphy-col35 { float:left; width: 35%; }
.bphy-col40 { float:left; width: 40%; }
.bphy-col45 { float:left; width: 45%; }
.bphy-col50 { float:left; width: 50%; }
.bphy-col55 { float:left; width: 55%; }
.bphy-col60 { float:left; width: 60%; }
.bphy-col65 { float:left; width: 65%; }
.bphy-col70 { float:left; width: 70%; }
.bphy-col75 { float:left; width: 75%; }
.bphy-col80 { float:left; width: 80%; }
.bphy-col85 { float:left; width: 85%; }
.bphy-col90 { float:left; width: 90%; }
.bphy-col95 { float:left; width: 95%; }
.bphy-col100 { float:left; width: 100%; }

.bphy-line { display: flex; }
.bphy-line:after { clear: both; }

.bphy-checkbox-readonly {
   background-color:#ddd !important;
   accent-color: #ddd;
}
.bphy-list-group-item {
    padding:20px;
}
.bphy-indication-top {
    z-index:800;
    width:100%;
    position:fixed;
    background-color:#fff;
    margin-left:-15px;
    margin-right:-15px;
    padding-top:20px;
    padding-left:15px;
    padding-right:15px;
    top:73px;
    height:50px;
}

.bphy-footer-prefs {
    position:fixed;
    width:100%;
    border-top:solid 1px #ddd;
    bottom:0px;
    left:0px;
    right:0px;
    height:75px;
    background-color:#fff;
    padding:10px;
}

.bphy-efficacite {
    padding: 8px;
    margin: 0px -5px;
    border-radius: 5px;
}

.bphy-select-counter {
    font-size:9pt;
    background-color:#4fbb7e;
    color:#fff;
    padding:3px 8px;
    font-weight:bold;
    border-radius:3px;
}

.bphy-fa-gray {
    color:#a5a5a5;
}

.bphy-loader {
    display:none;
    position:fixed;
    top:0px;
    bottom:0px;
    left:0px;
    right:0px;
    background-color:#00000020;
    z-index:2000;
    justify-content:center;
    align-items:center;
    color:#fff;
}

 .bphy-checkboxscale {
    transform: scale(1.5);
    appearance: none;
    -webkit-appearance: none;
    background-image: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    width: 14px;
    height: 14px;
    border: 1px solid #888;
    border-radius: 3px;
    background-color: white;
    cursor: pointer;
    position: relative;
 }

.bphy-checkboxscale:checked::before {
  content: '';
  position: absolute;
  appearance: none;
  -webkit-appearance: none;
  background-image: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  top: 1px;
  left: 4px;
  width: 4px;
  height: 8px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.bphy-radioscale {
  appearance: none;
  -webkit-appearance: none;
  background-image: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  width: 14px;
  height: 14px;
  border: 1px solid #666;
  border-radius: 50%;
  background-color: white;
  cursor: pointer;
  position: relative;
  vertical-align: middle;
  margin: 0;
}

.bphy-radioscale:checked::before {
  content: '';
  position: absolute;
  -webkit-appearance: none;
  background-image: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  top: 3px;
  left: 3px;
  width: 6px;
  height: 6px;
  background-color: #000;
  border-radius: 50%;
}
/*********** Baseline, reset styles ***********/
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  width: 25rem;
}

/* Removes default focus */
input[type="range"]:focus {
  outline: none;
}

/******** Chrome, Safari, Opera and Edge Chromium styles ********/
/* slider track */
input[type="range"]::-webkit-slider-runnable-track {
  background-color: #d6d6d6;
  border-radius: 0.5rem;
  height: 0.5rem;
}

/* slider thumb */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  margin-top: -4px; /* Centers thumb on the track */
  background-color: #4fbb7e;
  border-radius: 0.5rem;
  height: 1rem;
  width: 1rem;
}

input[type="range"]:focus::-webkit-slider-thumb {
  outline: 3px solid #4fbb7e;
  outline-offset: 0.125rem;
}

/*********** Firefox styles ***********/
/* slider track */
input[type="range"]::-moz-range-track {
  background-color: #d6d6d6;
  border-radius: 0.5rem;
  height: 0.5rem;
}

/* slider thumb */
input[type="range"]::-moz-range-thumb {
  background-color: #4fbb7e;
  border: none; /*Removes extra border that FF applies*/
  border-radius: 0.5rem;
  height: 1rem;
  width: 1rem;
}

input[type="range"]:focus::-moz-range-thumb{
  outline: 3px solid #4fbb7e;
  outline-offset: 0.125rem;
}

.bphy-sep-prefs {
    height:1px;
    width:100%;
    background-color:#dddddd;
    margin-bottom:18px;
}
.bphy-filter {
    position:relative;
}
#filter-filter {
    position:fixed;
    top:83px;
    right:10px;
    z-index:200;
    background-color:#fff;
    border:solid 1px #ddd;
    padding:10px;
    width:250px;
    height:400px;
    box-shadow: 0px 0px 11px 0px;
}
.bphy-filter-header {
    margin-left:-10px;
    margin-top:-10px;
    margin-right:-10px;
    margin-bottom:10px;
    padding:10px;
    border-bottom:solid 1px #ddd;
    background-color: #f7f7f7;
}
.legende {
    cursor:pointer;
}
.legende-container {
    overflow-y:auto;
    overflow-x:hidden;
    min-height:100px;
    max-height:400px;
    margin:-10px;
}
#legende-content {
    padding:10px;
}
#bphy-legende-global {
     display:none;
     position: fixed;
     top: 110px;
     right: 15px;
     left: 15px;
     z-index: 200;
     background-color: #fff;
     border: solid 1px #ddd;
     padding: 10px;
     box-shadow:0px 0px 11px 0px;
 }
.bphy-search-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    background: white;
    border-top: 1px solid #ddd;
    padding: 10px;
    width: calc(100% - 3px);
}
.bphy-substance-info {
    cursor:pointer;
}

.bphy-aux-col {
    display: flex;
    align-items: flex-end;
    padding-bottom: 10px;
    padding-top: 10px;
    border-top: 1px solid #dee2e2;
    border-bottom: 1px solid #dee2e2;
    border-left: 1px solid #dee2e2;
}

.bphy-aux-col:last-child {
    border: 1px solid #dee2e2;
}

.bphy-aux-line:last-child {
    border-bottom: 1px solid #dee2e2;
    border-left: 1px solid #dee2e2;
    border-right: 1px solid #dee2e2;
}

.bphy-aux-line:first-child {
    border-top: 1px solid #dee2e2;
    border-bottom: 1px solid #dee2e2;
    border-left: 1px solid #dee2e2;
}

.bphy-aux-line {
    border-bottom: 1px solid #dee2e2;
    border-left: 1px solid #dee2e2;
}

.bphy-aux-data {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    display: inline-block;
}

.bphy-required {
    color: #dc3545;
}
