/* Light mode */
/* Dark mode */
html {
  -webkit-font-smoothing: auto;
}

body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
  font-size: 13px;
  min-height: 100vh;
  position: relative;
  padding-bottom: 100px;
}

header {
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: solid 1px #ddd;
  min-height: 72px;
}

td {
  padding: 1px;
}

input {
  border: 1px solid rgb(118, 118, 118);
  font-weight: normal;
  border-radius: 3px;
  padding: 2px;
  padding-left: 3px;
}

nav.navbar-light {
  background-color: white;
  border-bottom: 1px solid #ccc;
  min-height: 83px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.navbar-nav div.nav-old-friends a.dropdown-item,
.navbar-nav div.nav-old-friends a.dropdown-item:visited,
.navbar-nav div.nav-old-friends a.dropdown-item:active,
.navbar-nav div.nav-old-friends a.dropdown-item:hover,
.navbar-nav div.nav-old-friends a.dropdown-item:focus {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.5);
}

.navbar-nav div.nav-old-friends a.dropdown-item:hover,
.navbar-nav div.nav-old-friends a.dropdown-item:focus {
  color: rgba(0, 0, 0, 0.7);
}

#loginMenu .dropdown-menu {
  min-width: 0;
  left: -20px;
}

#loginMenu a.dropdown-item {
  font-size: 0.75rem;
}

#loginMenu a,
#loginMenu a:link,
#loginMenu a:visited,
#loginMenu a:hover,
#loginMenu a:active,
#loginMenu a span {
  color: rgb(212, 60, 116);
}

a, a:active, a:visited, a:hover {
  color: #2281cf;
  /* color: rgb(212, 60, 116); */
}

/* add 'external' marker for all targeted links */
a[target]:after {
  content: "\f35d";
  font-family: "Font Awesome 5 Free";
  font-weight: 600; /* must be specified above x for free */
  font-size: 0.7em;
  padding-left: 0.5em;
  vertical-align: middle;
}

a[target]:after {
  content: "\f35d";
  font-family: "Font Awesome 5 Free";
  font-weight: 600; /* must be specified above x for free */
  font-size: 0.7em;
  padding-left: 0.5em;
  vertical-align: middle;
}

a[target].no-link-out-icon:after {
  content: none;
}

tr.score-row td a[target]:after {
  content: none;
}

div.inner-wrapper {
  background-color: white;
  padding-bottom: 20px;
}

footer {
  padding-top: 20px;
  padding-bottom: 15px;
  background-color: rgb(212, 60, 116);
  color: white;
  position: absolute;
  bottom: 0;
  width: 100%;
}

footer a, footer a:link, footer a:active, footer a:visited, footer a:hover {
  color: white;
}

/* anchor div -- class used to offsed header for jump */
div.anchor a {
  position: absolute;
  top: -85px;
}

div.anchor {
  position: relative;
}

section#contentcontainer {
  border: none;
  margin-top: 20px;
}

div#body-container {
  margin-top: 0;
  margin-bottom: 20px;
}

div#print-footer {
  display: none;
}

/* Colour overrides */
a.page-link, a.page-link:active, a.page-link:visited, a.page-link:hover {
  color: #2281cf;
  /* color: rgb(212, 60, 116); */
}

.btn-primary {
  background-color: rgb(7, 59, 94);
  border-color: rgb(7, 59, 94);
  color: white;
}

a.btn-primary:active, a.btn-primary:visited {
  color: white;
}

.btn-primary:hover {
  background-color: #2281CF;
}

.btn-primary[disabled] {
  background-color: #999;
  border-color: #555;
}

.btn-outline-primary, .btn-outline-primary:active, .btn-outline-primary:visited {
  background-color: #fff;
  border-color: rgb(7, 59, 94);
  color: rgb(7, 59, 94);
}

.btn-outline-primary:hover {
  color: white;
  background-color: rgb(7, 59, 94);
  border-color: rgb(7, 59, 94);
}

.btn-outline-primary[disabled] {
  background-color: #999;
  border-color: #555;
  color: white;
}

.page-item.active .page-link {
  z-index: 1;
  color: white;
  background-color: rgb(212, 60, 116);
  border-color: rgb(212, 60, 116);
}

/* SU menu */
div#superusermenu {
  background-color: #F7F7F7;
  padding-top: 10px;
  margin-bottom: 10px;
  margin-top: 10px;
  border-radius: 0 0 5px 5px;
  border: 1px solid #e4e4e4;
}

div#superusermenu ul {
  list-style: none;
  padding-left: 0;
}

div#superusermenu ul li {
  line-height: 1.5rem;
}

/* account changer */
div.row#accountChanger {
  margin-bottom: 10px;
  margin-top: 10px;
}

#select4AccountChanger {
  display: inline;
}

/* Partner header */
#partner-info img {
  float: left;
  /* border: 1px solid #cccccc; */
  margin-right: 5px;
}

#partner-info p {
  margin: 4px 0 0 0;
  line-height: 1.3em;
  font-style: italic;
  color: #aaaaaa;
}

/* Breadcrumb */
span.breadcrumb-gt {
  color: #bbb;
}

div#breadcrumb {
  margin-top: 10px;
  margin-bottom: 5px;
}

/* alert */
div.alert.row.account-alert {
  margin-top: 25px;
}

/* Item Links */
div#item-links div:not(:last-child)::after {
  content: " |";
}

/* headers */
h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1rem;
}

h4 {
  font-size: 0.75rem;
  font-weight: bold;
}

h5 {
  font-size: 0.75rem;
  font-weight: bold;
}

/* Form inputs */
input.form-control,
textarea.form-control {
  font-size: 13px;
}

div.deformed input[readonly] {
  padding: 0.375rem 0.75rem;
}

div.deformed input, div.deformed select {
  font-size: 13px;
}

.deformMappingFieldset legend {
  font-size: 1.2rem;
}

.ui_tpicker_unit_hide {
  display: none;
}

form p.error {
  /* Ditto BS4 .alert-danger */
  padding: 5px;
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 0.25rem;
  padding: 0.75rem 1.25rem;
}

/* User stuff */
img.avatar-user,
img.account-logo {
  border-radius: 2px;
  border: solid 1px #d8d8d8;
}

span.no-avatar-user-initials {
  font-family: "Open Sans Condensed";
  letter-spacing: -2px;
  font-size: 24px;
  cursor: default;
  background-color: #eee;
  width: 35px;
  display: block;
  text-align: center;
  border-radius: 2px;
}

#welcome-user {
  color: #444444;
}

a[data-toggle=popover] {
  cursor: pointer;
}

/* Kiosk stuff */
.kiosk .kiosk-branding {
  position: absolute;
  bottom: 0;
  right: 0;
}

.kiosk .dark .kiosk-branding img {
  opacity: 0.5;
}

.kiosk div.dark {
  background-color: #211F1E;
}

/* remove footer allowance (standard footer not used in kiosks) */
body.kiosk {
  padding: 0px;
}

/* ------ LOADING CLASSES ------- */
.loading {
  background: url("/static/2025.07_12/images/ajax-loader-small.gif") 30% 50% no-repeat;
  color: #888888;
  min-width: 80px;
  min-height: 80px;
}

div.selectize-control.loading {
  background: none;
}

div.selectize-control.loading div.selectize-input,
div.selectize-control.loading div.selectize-input.items.not-full {
  background: url("/static/2025.07_12/images/ajax-loader-small.gif") 50% 50% no-repeat;
}

/* q-tip nav fix: */
/* NB disabled - not sure if this is needed but breaks editor tips
.qtip-default {
    z-index: 999 !important;
} */
/* Hidden override */
.hidden {
  display: none !important;
}

/* Item page stuff */
div.item ul {
  list-style: none;
  padding-left: 0;
}

/* Style the tab */
li.nav-item i.tab-icon {
  font-size: 20px;
}

ul.nav-tabs li.nav-item {
  overflow: hidden;
  background-color: #fff;
}

ul.nav-tabs li.nav-item:first-child {
  border-top-left-radius: 10px;
}

ul.nav-tabs li.nav-item:last-child {
  border-top-right-radius: 10px;
}

/* Style the buttons inside the tab */
ul.nav-tabs li.nav-item button.nav-link,
ul.nav-tabs li.nav-item a.nav-link {
  background-color: #f1f1f1;
  float: left;
  outline: none;
  cursor: pointer;
  padding: 12px 16px 10px 16px;
  transition: 0.3s;
  color: #444444;
  border: solid 1px #ccc;
  border-bottom: 1px solid #ddd;
  border-radius: 10px 10px 0 0;
  margin-right: -1px;
  line-height: 24px;
}

ul.nav-tabs li.nav-item:last-child button.nav-link,
ul.nav-tabs li.nav-item:last-child a.nav-link {
  margin-right: 0;
}

/* Change background color of buttons on hover */
ul.nav-tabs li.nav-item button.nav-link:hover,
ul.nav-tabs li.nav-item a.nav-link:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
ul.nav-tabs li.nav-item button.nav-link.active,
ul.nav-tabs li.nav-item a.nav-link.active {
  background-color: #fff;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  border-bottom: 1px solid #fff;
}

/* Style the tab content */
.tabcontent {
  margin-top: 10px;
  display: none;
  padding: 6px 12px;
  border-top: none;
  -webkit-animation: fadeEffect 1s;
  animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

.tabcontent.unpad {
  padding: 0;
}

@-webkit-keyframes fadeEffect {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeEffect {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* DT fixes */
.dt-button { /* for multi-row buttons on a datatable (e.g. collections) */
  margin-bottom: 3px;
}

.dt-filter .dt-filter-btn, .dt-filter span.filter-control {
  height: 32px;
}
.dt-filter span.filter-control {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Fixes for half-half */
a.deformClosebutton + input.form-control {
  width: 90%;
}

@media (min-width: 768px) {
  /* temporary fix until whole site is responsive */
  .mr-auto.navbar-brand {
    margin-right: 15px !important;
  }
}
@media (max-width: 767px) {
  /* temporary fix until whole site is responsive */
  #loginMenu a.dropdown-item {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  li.nav-item {
    font-size: 1rem;
    line-height: 1rem;
  }
  button.navbar-toggler {
    margin-right: 20px;
  }
}
/* Plotly customisations */
.modebar-btn:hover .icon rect {
  fill: rgba(68, 68, 68, 0.7);
  stroke: rgba(68, 68, 68, 0.7);
}

.modebar-btn .icon rect {
  fill: rgba(68, 68, 68, 0.3);
  stroke: rgba(68, 68, 68, 0.3);
}

/* RAG */
.rag-green {
  color: #58ca2c;
}

.rag-amber {
  color: #f2e226;
}

.rag-red {
  color: #d74c1b;
}

.icon-subtle-grey {
  color: #999999;
}

i.fas.text-shadow {
  text-shadow: 1px 1px 2px #999;
}

pre.recipe {
  border: solid 1px #888;
  padding: 4px;
  margin: 2px;
  border-radius: 2px;
  background-color: #ddd;
  padding-left: 10px;
}

@media (min-width: 900px) {
  .modal-dialog {
    max-width: 50%;
    margin: 1.75rem auto;
  }
}
@media (min-width: 1700px) {
  .modal-dialog {
    max-width: 40%;
    margin: 1.75rem auto;
  }
}
@media (min-width: 2100px) {
  .modal-dialog {
    max-width: 30%;
    margin: 1.75rem auto;
  }
}
@media (min-width: 3500px) {
  .modal-dialog {
    max-width: 20%;
    margin: 1.75rem auto;
  }
}
#jqstooltip {
  min-height: 22px;
  min-width: 50px;
  background-color: rgba(119, 119, 119, 0.6666666667);
}

.trace-profile dl, .trace-profile dd, .trace-profile dt {
  margin-bottom: 0;
}

#run-parameters-summary {
  border: solid 1px #999;
  border-radius: 3px;
  background-color: #eee;
}

.ct-shutterheader {
  background-color: #DBDBDB;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  cursor: pointer;
}

.ct-shutterheader .content {
  padding-left: 8px;
  padding-top: 2px;
  padding-bottom: 0px;
  font-weight: normal;
  margin: 0;
}

.ct-shutterheader .icon {
  float: right;
  padding-right: 6px;
  color: #AAAAAA;
}

.ct-shutterheader .iconopen {
  display: none;
}

.ct-shutterheader.open .iconclosed {
  display: none;
}

.ct-shutterheader.open .iconopen {
  display: inline;
}

.ct-shuttercontent {
  display: none;
  background-color: #EFEFEF;
  padding: 5px;
  border-top: 2px solid #DBDBDB;
  border-left: 2px solid #DBDBDB;
  border-right: 2px solid #DBDBDB;
}

.ct-shutterfooter {
  height: 5px;
  background-color: #DBDBDB;
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
  margin-bottom: 5px;
}

span#ct-lost-annual-value-big {
  margin-left: 20px;
  font-size: 40px;
  color: #EA964D;
}

span.ct-prod-lost-daily-percent,
span.ct-prod-lost-daily-value,
span.ct-prod-value-annual-spend,
span.ct-prod-lost-annual-value-no-round {
  font-weight: bold;
}

span.badge.too-cold {
  background-color: #2281cf;
  color: inherit;
}

h3.too-cold {
  color: #2281cf;
}

span.badge.too-hot {
  background-color: #d74c1b;
  color: inherit;
}

h3.too-hot {
  color: #d74c1b;
}

span.badge.comfortable {
  background-color: #9ebc8f;
  color: inherit;
}

h3.comfortable {
  color: #9ebc8f;
}

span.badge {
  background-color: rgb(212, 60, 116);
  color: white;
  border-radius: 20px;
}

.dl-icon--pink {
  fill: #D43C74;
}
.dl-icon--blue {
  fill: #073b5e;
}

ol, ul {
  padding-inline-start: 40px;
}

textarea {
  background-color: white;
}

html {
  overflow-x: auto;
}

div.v-input div.v-input__control input {
  border: none;
}

.ui-datepicker-header select {
  appearance: auto;
  background-color: white;
  border: 1px solid #363A42;
}
@media (prefers-color-scheme: dark) {
  .ui-datepicker-header select {
    background-color: #0d1117;
    color: #D3D3D3;
  }
}

button.toggle, button.toggle-all {
  background: none;
  border: 1px solid #363A42;
}
@media (prefers-color-scheme: dark) {
  button.toggle, button.toggle-all {
    background-color: #0d1117;
  }
}