.page-ifu #body-wrapper ul:first-of-type {
  list-style-type: none;
  margin-left: 0;
}

.page-ifu #body-wrapper ul:first-of-type ul { 
  margin: 0 0 0 1.5em;
}

.page-ifu #body-wrapper ul:first-of-type li {
  margin: 0;
}

.sz_ifu_img {
  border: 1px solid #b0b0b0;
  border-radius: 4px;
  padding: 16px;
}

.sz_ifu_img50 {
  width: 50%;
  height: 50%;
}

.sz_noise_styling {
  color: #990000 !important;
  font-weight: bold !important;
  border: 2px dashed #990000 !important;
}

#body-wrapper .container {
  padding-top: 16px;
}

#body-wrapper {
  padding-left: 25px !important;
  padding-right: 25px !important;
}

.sz_login_button {
  margin-top: 12px;
  color: #fff;
  border-color: #215675;
  background: #215675;
  border: 0.05rem solid #215675;

  font-size: 0.8rem;
  line-height: 1.2rem;
  display: inline-block;
  /*display: none; */
  height: 1.8rem;
  padding: 0.25rem 0.4rem;
  cursor: pointer;

  user-select: none;
  transition: background 0.2s, border 0.2s, box-shadow 0.2s, color 0.2s;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  text-decoration: none;

  border-radius: 0.1rem;
  outline: 0;
}

.sz_desktop_menu_selected {
  background: #f0f0f0 !important;
  border: 1px solid #b0b0b0 !important;
}

.title-center h1,
.title-center h2 {
  text-align: left !important;
}

.notices.blue {
  border-left: 10px solid #215675 !important;
  background: #f4f8fa !important;
  color: #215675 !important;
}

.notices .code {
  font-size: 14px;
  font-family: Courier;
  padding: 12px;
  border: 1px solid black;
  background: white;
  color: black;
}

body {
  padding-right: 0px !important;
}

/* When body has display: flex, Firefox will only print page 1. With
display: block, the footer isn't positioned at the very bottom of the
(printed) page, but that's ok I think. */
@media print {
  body.sticky-footer {
    display: block;
  }
}

/* Footer with Senzime message, the message is defined in templates/partials/base.html.twig */
.sz_footer {
  font-size: 13px;
  padding: 0px 0px 0px 0px;
  font-family: Arial;
  background: #000000 !important;
  color: #ffffff !important;
  bottom: 0px !important;
  line-height: 0px !important;
  margin-top: 8px;
}
.sz_footer_link {
  color: #e0e0e0 !important;
  font-weight: bold;
  padding: 4px;
}

/* The buttons */
nav.dropmenu > ul > li {
  display: inline-block;
  margin-right: 8px;
  border: 1px solid #c0c0c0;
  background: #ffffff;
  border-radius: 3px;
  padding: 8px;
}

/* Home button, not visible since it has an equivalent with the logo */
nav.dropmenu > ul > li:first-child {
  display: none;
}

/* The button links */
nav.dropmenu > ul > li > a:hover,
nav.dropmenu > ul > li > a:active,
nav.dropmenu > ul > li > a:visited,
nav.dropmenu > ul > li > a:link {
  font-size: 16px;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', sans-serif !important;
  color: #3a414e !important;
  padding: 4px 4px 4px 4px;
  text-align: center;
  font-weight: normal !important;
}
/* Container around the buttons */
.desktop-menu {
  margin-top: 7px;
}

/* Move the top logo a little bit to the left */
.navbar-section {
  margin-left: -9px !important;
}

/* Line between menu and below menu */
#header {
  border-bottom: none !important;
}

#grav-login {
  border: 1px solid #f0f0f0 !important;
}
/* Make sure message at login/logout isn't truncated by logo */
.toast {
  margin-top: 32px !important;
  padding-bottom: 14px;
}
/* Make sure message at login/logout is centered vertically within green area */
.toast > icon {
  padding-bottom: 15px;
}

@media screen and (max-width: 1029px) {
  .navbar > .logo > a > img {
    margin-left: -30px;
  }
}
@media screen and (min-width: 1030px) {
  .navbar > .logo > a > img {
    margin-left: -60px;
  }
}
.navbar > .logo > a > img {
  width: 100% !important;
  height: 100% !important;
  max-height: 30vh !important;
  margin-top: 24px !important;
}

#tetragraph_div {
  margin-top: -32px;
}
/*
@media screen and (min-width: 600px) and (max-width: 599px) {
    .navbar > .logo > a > img {
	margin-top: 0px !important;
	margin-left: -36px !important;
    }
}
*/

/* Measurements page ***************************************************/

#sz_trash_div {
  position: relative;
  top: -40px;
  left: -6px;
  width: 50%;
  display: flex;
  flex-wrap: wrap;
  column-gap: 25px;
  row-gap: 8px;
}
#sz_trash_div button,
#sz_trash_div label {
  width: 90px;
  border: none;
  color: white;
  border-radius: 4px;
  font-size: 12px;
  padding: 8px;
  line-height: 1.1;
}
#sz_trash_msg {
  width: 100%;
}
#sz_measurements_table_info {
  position: relative;
  top: -25px;
  font-size: 12px;
  left: 0px;
}
#sz_move_to_trash {
  background: #e25580;
}
#sz_view_trash, #sz_empty-filter-container {
  background: #215675;
}

#sz_measurements_table_wrapper {
  margin-left: -6px;
}

/* Table, main */
#sz_measurements_table {
  border: 1px solid #d0d0d0;
  border-radius: 2px;
  padding: 2px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 6px !important;
}

/* Search input */
#sz_measurements_table_filter > label input {
  border: 1px solid #c0c0c0;
  background: #ffffff;
  border-radius: 3px;
  padding: 4px;
  margin-left: 8px;
}
#sz_measurements_table_filter {
  display: inline-block !important;
  position: relative;
  margin-right: -6px;
}

/* Select "Show X entries" */
#sz_measurements_table_length > label > select {
  border: 1px solid #c0c0c0;
  background: #ffffff;
  border-radius: 3px;
  padding: 4px;
}
div#sz_measurements_table_length.dataTables_length {
  margin-bottom: 8px;
}

#sz_switch_orientation {
  display: none;
  background: white url(orientation-icon-22.png?v2.3) no-repeat center center;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 2000;
  width: 100vw;
  height: 100vh;
}

/* Cannot display all info, Show the switch orientation icon */
/* Without the screen directive, a white box covers most of each page when
printing in some browsers. */
@media screen and (max-width: 599px) {
  #sz_switch_orientation {
    display: block;
  }
  body {
    overflow: hidden; /* Hide scrollbars */
  }
}

/* Measurements paginate button */
.paginate_button.current {
  background: #f0f0f0 !important;
}

/* Prevent newline in data time */
#sz_measurements_table > tbody > tr > td:nth-child(1),
#sz_measurements_table > tbody > tr > td:nth-child(2) {
  white-space: nowrap;
}

table.dataTable thead th,
table.dataTable tfoot th {
  font-size: 13px;
  margin-left: 0px;
  padding-left: 0px;
  border: 1px solid #e0e0e0 !important;
  background: #404040;
  color: white;
  font-weight: normal !important;
}
#sz_measurements_table > tbody > tr > td {
  font-size: 12px;
}
#sz_measurements_table > thead > tr > th,
#sz_measurements_table > tbody > tr > td {
  text-align: left;
}
table.dataTable td {
  text-align: left;
}

/* Measurements list highlighted selected row*/
.sz_highlighted_row {
  font-weight: bold !important;
  background-color: #134c79 !important;
  color: white;
}
#sz_measurements_table tr.-empty {
  color: #AEAEAE;
}
.sz_highlighted_row.-empty {
  color: #999;
}
/* Measurements list edit pen*/
a.sz_measurement_edit_pen,
a.sz_measurement_edit_pen:hover,
a.sz_measurement_edit_pen:link,
a.sz_measurement_edit_pen:active,
a.sz_measurement_edit_pen:visited {
  font-size: 11px;
  height: 16px;
  width: 16px;
  margin: 3px 4px 2px 0;
  background: url(edit-pen-16x16.png) no-repeat 0 0;
  display: inline-block;
  vertical-align: top;
}

.sz_measurement_annotation {
  display: inline-block;
  max-width: 10vw;
  font-size: 11px;
  font-family: Verdana;
  font-weight: normal;
}

table.dataTable tbody th,
table.dataTable tbody td {
  padding: 2px 10px 2px !important;
}

div.dt-container.dt-empty-footer tbody>tr:last-child>* {
  border-bottom: none;
}

#sz_empty-filter-container {
  display: none;
  align-items: center;
  width: auto !important;
  column-gap: 10px;
}

#empty-measurements-notice {
  display: none;
  margin-top: -30px;
  font-style: italic;
}

/* Custom checkbox styling adapted from https://moderncss.dev/pure-css-custom-checkbox-style/ 
* (A default checkbox didn't look good used inside a button-like <label>) */
#sz_empty-filter-container input {
  flex-shrink: 0;
  appearance: none;
  background-color: white;
  margin: 0;
  font: inherit;
  color: currentColor;
  width: 1.25em;
  height: 1.25em;
  border: 0.15em solid currentColor;
  border-radius: 0.15em;
  display: grid;
  place-content: center;transform: translateY(-0.075em);
}

#sz_empty-filter-container input::before {
  content: "";
  width: 0.75em;
  height: 0.75em;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em #215675;
  background-color: CanvasText;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

#sz_empty-filter-container input:checked::before {
  transform: scale(1);
}

#sz_empty-filter-container input:focus {
  outline: max(1px, 0.15em) dashed currentColor;
  outline-offset: max(1px, 0.15em);
}

@media screen and (max-width: 767px) {
  #sz_measurements_table_info {
    top: -10px;
  }
  #sz_trash_div {
    top: 0;
    left: 0;
    padding-top: 6px;
    width: 100%;
    justify-content: center;
  }
  #empty-measurements-notice {
    margin-top: 0;
    text-align: center;
  }
}

@media (min-width: 0px) and (max-width: 749px) {
  /* TD fonts */
  #sz_measurements_table > tbody > tr > td,
  table.dataTable thead th,
  table.dataTable tfoot th {
    font-size: 7px;
  }
  /* Table header fonts */
  th.sorting,
  th.sorting_asc,
  th.sorting_desc {
    font-size: 7px;
    font-weight: bold;
  }
  .sz_footer {
    font-size: 12px;
    padding: 0px 0px 0px 0px;
    font-family: Arial;
    background: #000000 !important;
    color: #ffffff !important;
    bottom: 0px !important;
    line-height: 0px !important;
  }
  table.dataTable tbody th,
  table.dataTable tbody td {
    padding: 2px 10px 2px !important;
  }

  .navbar > .logo > a > img {
    margin-top: 16px !important;
    /*margin-left: -38px !important;*/
    margin-left: -5vw !important;
  }
}
@media (min-width: 750px) and (max-width: 800px) {
  /* Table header fonts */
  th.sorting,
  th.sorting_asc,
  th.sorting_desc {
    font-size: 1vw;
    font-weight: bold;
  }
  .sz_footer_link {
    color: #e0e0e0 !important;
    font-weight: bold;
    padding: 4px;
  }
  body {
    padding-right: 10px !important;
  }
}
#sz_ajax_anno_info {
  font-size: 12px;
  color: red;
}
.sz_edit_text_container_outer {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 0; /* Location of the box */
  margin-top: 0;
  left: 30vw;
  top: 25vh;
  width: 40vw;
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
}
.sz_edit_text_container_inner {
  font-size: 12px;
  background-color: #fefefe;
  margin: 0 auto;
  padding: 8px;
  border: 1px solid #404040;
  border-radius: 4px;
  width: 40vw;
  box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.6);
}
.sz_edit_text_field {
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  padding: 4px;
  font-size: 14px;
  margin: 8px auto 16px 0;
  width: 38.5vw;
  height: 64px;
}
.sz_edit_text_SAVE {
  margin: 0 8px 0 0;
  width: 100px;
  background: #164f63;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  padding: 8px 4px 8px 4px;
}
.sz_edit_text_CANCEL {
  margin: 0 8px 0 0;
  width: 100px;
  background: #e25580;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  padding: 8px 4px 8px 4px;
}
.sz_edit_text_SAVE:disabled, .sz_edit_text_CANCEL:disabled {
  color: gray;
}
.sz_ajax_measure {
  display: none;
}

.sz_view_trash_container_outer {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 0; /* Location of the box */
  margin-top: 0;
  left: 20vw;
  top: 11vh;
  width: 60vw; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
}
.sz_view_trash_container_inner {
  background-color: #fefefe;
  margin: 0 auto;
  padding: 8px;
  border: 1px solid #404040;
  border-radius: 4px;
  width: 60vw;
  box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.6);
}
#sz_view_trash_field {
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  padding: 4px;
  font-size: 14px;
  margin: 0 auto 16px 0;
  width: 58.5vw;
}
.sz_view_trash_SAVE {
  margin: 0 8px 0 0;
  width: 128px;
  background: #164f63;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  padding: 8px 4px 8px 4px;
}
.sz_view_trash_CANCEL {
  margin: 0 8px 0 0;
  width: 100px;
  background: #e25580;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  padding: 8px 4px 8px 4px;
}

/* View page ***************************************************/

#sz_graphs {
  border: 1px solid #707070;
  border-radius: 6px;
  box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.3);
}

.sz_graph_label {
  padding: 4px;
  background: black;
  font-size: 16px;
  color: white;
  border-radius: 2px;
  text-align: center;
  width: 88%;
  margin: 0px auto auto auto;
  z-index: 3;
}

@media screen and (max-width: 950px) {
  .sz_graph_label {
    width: 82%;
  }
}

#sz_ajaxloader_view {
  display: block;
  margin: -40px auto auto auto;
}

.sz_values_table_outer {
  border: none;
  border-radius: 2px;
  padding: 4px;
  margin-top: -4px;
}

.sz_values_table {
  width: 100%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  border-collapse: separate !important;
  border-radius: 6px;
  table-layout: auto !important;
  margin: 0 0 0 0;
  background: #e4e4e4;
}
.sz_values_table td,
.sz_values_table tr.sz_values_table_head2 > th {
  padding: 0px 4px 0px 4px;
}
.sz_values_table tr:nth-child(even) {
  background-color: #f8f8f8;
}
.sz_values_table th.sz_values_table_head1 {
  padding-top: 4px;
  padding-bottom: 4px;
  text-align: left;
  background: #f0f0f0;
  color: #656565;
  font-size: 12px;
  font-family: Arial;
  text-align: center;
}
.sz_values_table tr.sz_values_table_head2 > th {
  padding-top: 10px;
  padding-bottom: 4px;
  text-align: left;
  color: #404040;
}
#sz_viewtable_type {
  color: #215675;
  font-family: Arial;
  font-size: 30px;
  font-weight: bold;
}
#sz_trend_graph_outer {
  padding: 8px;
  margin: -18px 8px -8px 8px;
}
#sz_response_graph_outer {
  padding: 8px 8px 0px 8px;
  margin: -14px 8px 0px 8px;
}
#sz_trend_controls {
  display: flex;
  justify-content: space-between;
  column-gap: 15px;
}
#sz_trend_zoom_controls {
  display: flex;
  flex-wrap: wrap;
  column-gap: 7px;
}
#sz_trend_controls > *,
#sz_trend_zoom_controls > * {
  vertical-align: top;
}
.graph_control_button {
  font-size: 19px;
  min-width: 64px;
  height: 29px;
  font-family: Arial;
  border: none;
  background: #f0f0f0;
  border-radius: 9px;
  padding: 0px;
}
.graph_control_button:focus-visible {
  outline: none;
}
@media (max-width: 900px) {
  #sz_trend_zoom_controls {
    flex-basis: 250px;
    flex-wrap: wrap;
    row-gap: 7px;
  }
  .graph_control_button {
    flex-grow: 1;
  }
  #sz_trend_zoom_controls .graph_control_button {
    min-width: auto;
  }
  #sz_trend_zoom_in,
  #sz_trend_zoom_out {
    /* This width doesn't have to be this accurate, but high enough to prevent a third item from fitting and narrow enough
    to prevent the two buttons from wrapping. Flex-grow would then give them this width automatically. */
    flex-basis: calc(50% - 7px / 2);
    flex-shrink: 0;
  }
}
#sz_view_display_options {
  display: flex;
  column-gap: 20px;
}
.labelled-select {
  flex: 0 0 auto;
  width: 115px;
  font-family: Arial;
}
.labelled-select > * {
  display: block;
}
.labelled-select label {
  font-size: 11px;
}
.labelled-select select {
  width: 100%;
  padding: 4px;
  border: 1px solid #d0d0d0;
  border-radius: 9px;
  font-size: 14px;
  color: black;
  background: #f0f0f0;
}
#sz_trend_reset_zoom_pan {
  font-size: 14px;
  padding: 4px 0;
}
#sz_response_up,
#sz_response_down {
  position: relative;
  top: -20px;
}
#sz_response_up {
  margin: 0 14px 0 2px;
}

/******* Import *******/

#sz_import_instructions_upload {
  margin: -2px auto 0 auto;
  padding-bottom: 5px;
  width: 65%;
  font-size: 16px !important;
  display: none;
  line-height: 1.5;
}

#sz_import_instructions_upload ol {
  list-style-position: inside;
  margin: 24px 0;
}

#sz_import_instructions_upload li {
  margin-top: 0;
}

#sz_import_error_message {
  display: none;
  margin: 0px auto 16px auto;
  width: 45%;
  padding: 16px;
}

#sz_import_result_wrapper {
  margin: 0 auto 32px auto;
  width: 45vw;
  border: 1px dashed #808080;
  border-radius: 4px;
  padding: 18px;
  display: none;
}

#sz_import_progress_wrapper {
  display: none;
}

.sz_import_button_wrapper {
  width: 100%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
  row-gap: 26px;
  column-gap: 4vw;
}

.sz_import_button_wrapper div {
  width: 100%;
  text-align: center;
}

.sz_import_button_wrapper h3 {
  margin-bottom: 5px;
}

.sz_import_button_wrapper p {
  margin-bottom: 0;
}

.sz_import_button_wrapper button {
  font-size: 18px;
}

#sz_import_button_connect {
  height: 48px;
  width: 120px;
  color: white;
  border: none;
  border-radius: 4px;
  background: #164f63;
  padding: 12px 0;
}

#sz_import_select_wrapper {

}

.sz_import_select {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 14px;
  padding: 10px 15px;
  border: none;
  border-radius: 10px;
  align-self: stretch;
  justify-content: space-between;
  background-color: #f6f6f6;
}

.sz_import_select img {
  max-width: 96px; 
}

.sz_import_select span {
}

#sz_import_select_nextgen {
  box-shadow: 0 0 8px #e25580;
}

#sz_import_select_classic {
  box-shadow: 0 0 8px #164f63;;
}

.sz_import_select.-selected {
  outline: 2px dashed black;
  outline-offset: 10px;
}

#sz_import_instructions, #sz_import_instructions > div, #sz_connect_button_wrapper {
  display: none;
}

#sz_import_instructions .notices {
  margin: 0;
}

#sz_import_raw_file {
  margin: auto;
  width: 65%;
  border: none;
  text-align: center;
  display: none;
}
#sz_import_raw_file2 {
  margin: auto;
  width: 65%;
  padding: 12px;
  text-align: center;
}
.sz_import_raw_file_class {
  margin: auto;
  width: 65%;
  border-left: 10px solid #215675;
  /*border-left: 10px solid #5bc0de;*/
  color: #5bc0de;
  background: #f4f8fa;
  padding: 12px;
  text-align: center;
  display: none;
}
#sz_raw_import_browse {
  width: 90%;
  padding: 16px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}
button#sz_raw_import_button {
  height: 48px;
  width: 100px;
  background: #164f63;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  padding: 12px;
}

/******* Export *******/

#sz_export_pdf_report_container {
  display: none;
}

#sz_export_pdf_report_container #sz_trend_graph_outer {
  max-width: 98%;
  margin: -4px 0 0;
  padding: 0;
}

#sz_export_pdf_trendgraph_settings_hint {
  margin: 12px 25px;
}

#sz_export_sz_options {
  display: none;
  margin: 0px auto 4px auto;
}
#sz_export_raw_button,
#sz_export_json_button {
  display: none;
  margin: 0px 8px 0px 8px;
  color: white;
  padding: 8px;
  border-radius: 3px;
  border: none;
}

#sz_export_raw_button {
  background: #ffaa22;
}

#sz_export_json_button {
  background: #77aa33;
}

#sz_export_instructions_select {
  margin: 0 auto 37px auto;
  width: 45%;
  font-size: 16px !important;
  padding: 16px;
}
#sz_export_format_selection_div {
  text-align: center;
}
#sz_export_excel_button,
#sz_manual_button {
  margin: 0 1vw 0 1vw;
  height: 48px;
  width: 240px;
  min-width: 240px;
  background: #215675;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  padding: 12px;
}
#sz_export_pdf_button,
#sz_export_pdf_save_button,
#sz_about_button,
#sz_export_help_button {
  margin: 0 1vw 0 1vw;
  height: 48px;
  width: 240px;
  min-width: 240px;
  background: #e25580;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  padding: 12px;
}
#sz_export_pdf_save_button, #sz_export_help_button {
  margin-left: 0;
  padding-left: 0;
}
#sz_export_pdf_save_button {
  margin-top: 15px;
}
#sz_export_format_selection_div {
  width: 80%;
  margin: auto;
}
#sz_export_table_excel_wrapper .dt-buttons {
  margin-bottom: 2px;
}
#sz_export_table_excel_wrapper .dt-buttons button {
  margin: 0 1vw 0 1vw;
  height: 48px;
  width: 150px;
  background: #164f63;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  padding: 12px;
}
.dt-button.processing::after {
  border-top-color: white;
  border-bottom-color: white;
}
#sz_export_table_excel_wrapper .dt-info {
  margin-top: -7px;
}
#sz_export_table_excel_filter label input {
  border: 1px solid #c0c0c0;
  background: #ffffff;
  border-radius: 3px;
  padding: 4px;
  margin-left: 8px;
}
#sz_export_table_excel_filter {
  margin-top: -3px;
}
#sz_export_table_excel_wrapper div button {
  margin-top: -32px;
}
#sz_export_table_excel {
  border: 1px solid #d0d0d0;
  border-radius: 3px;
  padding: 8px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 6px !important;
}
#sz_export_table_excel > thead > tr > th,
#sz_export_table_excel > tbody > tr > td {
  font-size: 12px;
  padding: 4px;
  text-align: left;
}
.sz_export_notice {
  padding-top: 8px;
  padding-bottom: 12px;
  margin-bottom: 15px;
}
#sz_export_pdf_logo {
  width: 25%;
  height: 25%;
  margin-top: 16px;
  margin-left: -16px;
  margin-bottom: 16px;
}
.sz_export_pdf_logo_top {
  margin-top: -128px !important;
}
.sz_export_pdf_report_hidden {
  display: none;
}
/* 1. General and 2. Device Settings tables */
.sz_export_pdf_table {
  border: 1px solid #808080;
  border-radius: 4px;
  width: 98.5%;
  padding: 4px;
}
.sz_export_pdf_table > tbody > tr > td {
  padding: 8px !important;
}
.sz_export_pdf_table > tbody > tr:nth-child(1),
.sz_export_pdf_table > tbody > tr:nth-child(3) {
  background: #a0a0a0;
  color: black;
  padding: 4px;
}
.sz_export_pdf_table > tbody > tr:nth-child(2),
.sz_export_pdf_table > tbody > tr:nth-child(4) {
  background: #f0f0f0;
  padding: 4px;
}

/* 4. Measurement Data tables */
.sz_export_pdf_measurements_table {
  border: 1px solid #808080;
  border-radius: 4px;
  width: 98.5%;
  padding: 4px;
}
.sz_export_pdf_measurements_table > tbody > tr > td,
.sz_export_pdf_measurements_table > thead > tr > td {
  padding: 8px !important;
}
.sz_export_pdf_measurements_table > thead > tr {
  background: #a0a0a0;
  color: black;
  padding: 4px;
}
.sz_export_pdf_measurements_table > tbody > tr:nth-child(odd) {
  background: #f0f0f0;
  padding: 4px;
}
.sz_export_pdf_measurements_table > tbody > tr:nth-child(even) {
  background: #ffffff;
  padding: 4px;
}
.sz_export_pdf_measurements_table > tbody > tr > td:nth-child(6) {
  font-family: Courier;
}

/************************* Login styling *************************/

.form-input:focus,
.search-input:focus,
[data-grav-field='array'] input:focus,
[data-grav-field='array'] textarea:focus {
  border-color: #215675 !important;
  box-shadow: 0 0 0 0.1rem rgba(48, 133, 238, 0.2) !important;
}

#grav-login .login-form button[type='submit'] {
  color: #fff !important;
  border-color: #215675 !important;
  background: #215675 !important;
}

.btn,
.button {
  color: #215675 !important;
  border: 0.05rem solid #215675 !important;
}

.form-input:not(:placeholder-shown):invalid,
.search-input:not(:placeholder-shown):invalid,
[data-grav-field='array'] input:not(:placeholder-shown):invalid,
[data-grav-field='array'] textarea:not(:placeholder-shown):invalid {
  border-color: #e25580 !important;
}

.form-input:not(:placeholder-shown):invalid:focus,
.search-input:not(:placeholder-shown):invalid:focus,
[data-grav-field='array'] input:not(:placeholder-shown):invalid:focus,
[data-grav-field='array'] textarea:not(:placeholder-shown):invalid:focus {
  background: #f8f8f8;
  box-shadow: 0 0 0 0.1rem rgba(226, 85, 128, 0.2) !important;
}

#sz_modal_overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

#sz_modal_spinner {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 10px;
  border-radius: 5px;
}

.marker-annotation-buttons {
  display: inline-block;
  position: relative;
  margin-top: 27px;
}

.marker-annotation-buttons::before {
  content: 'Markers';
  display: block;
  position: absolute;
  top: -21px;
  font-weight: bold;
  background: url(edit-pen-16x16.png) no-repeat right center;
  padding-right: 20px;
}

.marker-annotation-buttons .inner-container {
  border: 1px solid #777;
  border-radius: 4px;
  overflow: hidden;
}

.sz_highlighted_row .marker-annotation-buttons .inner-container {
  border-color: white;
}

.marker-annotation-buttons button {
  display: inline-block;
  background-color: white;
  color: black;
  padding: 2px 8px;
  cursor: pointer;
  border-width: 0;
}

.marker-annotation-buttons button.has-text {
  background-color: #e25580;
  color: white;
  font-weight: bold;
}

/* Compensate for the floating header */
:target {
  scroll-margin-top: 70px;
}

@media print {
  .no-print {
    display: none;
  }
}
