@font-face {
  font-family: 'open_sans';
  src: url("../fonts/opensans-regular-webfont.eot");
  src: url("../fonts/opensans-regular-webfont.eot?#iefix") format('embedded-opentype'), url("../fonts/opensans-regular-webfont.woff2") format('woff2'), url("../fonts/opensans-regular-webfont.woff") format('woff'), url("../fonts/opensans-regular-webfont.ttf") format('truetype'), url("../fonts/opensans-regular-webfont.svg#open_sansregular") format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'open_sans';
  src: url("../fonts/opensans-italic-webfont.eot");
  src: url("../fonts/opensans-italic-webfont.eot?#iefix") format('embedded-opentype'), url("../fonts/opensans-italic-webfont.woff2") format('woff2'), url("../fonts/opensans-italic-webfont.woff") format('woff'), url("../fonts/opensans-italic-webfont.ttf") format('truetype'), url("../fonts/opensans-italic-webfont.svg#open_sansitalic") format('svg');
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: 'open_sans';
  src: url("../fonts/opensans-bold-webfont.eot");
  src: url("../fonts/opensans-bold-webfont.eot?#iefix") format('embedded-opentype'), url("../fonts/opensans-bold-webfont.woff2") format('woff2'), url("../fonts/opensans-bold-webfont.woff") format('woff'), url("../fonts/opensans-bold-webfont.ttf") format('truetype'), url("../fonts/opensans-bold-webfont.svg#open_sansbold") format('svg');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'open_sans';
  src: url("../fonts/opensans-bolditalic-webfont.eot");
  src: url("../fonts/opensans-bolditalic-webfont.eot?#iefix") format('embedded-opentype'), url("../fonts/opensans-bolditalic-webfont.woff2") format('woff2'), url("../fonts/opensans-bolditalic-webfont.woff") format('woff'), url("../fonts/opensans-bolditalic-webfont.ttf") format('truetype'), url("../fonts/opensans-bolditalic-webfont.svg#open_sansbold_italic") format('svg');
  font-weight: 700;
  font-style: italic;
}
input:disabled,
select:disabled,
textarea:disabled {
  cursor: default;
  background: #ebebe4;
}
h2.title {
  margin-bottom: 35px;
}
h3 {
  margin-bottom: 5px;
}
p {
  margin: 5px 0;
}
a {
  color: #4e7898;
  text-decoration: none;
}
a:hover,
a:focus {
  text-decoration: underline;
  color: #2a6496;
}
.cf:before,
.cf:after {
  content: " ";
  display: block;
}
.cf:after {
  clear: both;
}
.cf {
  *zoom: 1;
  clear: both;
}

/* Protocol form tweaks */
#frm-protocolForm input[type="number"] {
  text-align: center;
}

#frm-protocolForm input.preparation-autocomplete {
  width: 100%;
  box-sizing: border-box;
}
body {
  font-family: 'open_sans', Arial, sans-serif;
  font-size: 100%; /* add PX (or original value) as backup */
  font-size: 100%;
  line-height: 150%;
}
#header {
  margin: 0 auto;
  padding: 10px 30px 0 30px;
  position: relative;
}
#header #logo {
  float: left;
}
#header #logo h1 {
  font-size: 36px; /* add PX (or original value) as backup */
  font-size: 2.25rem;
  margin: 0;
}
#header #logo h1 a {
  color: #33556f;
  text-decoration: none;
}
#header #logo h1 a img {
  max-width: 100%;
  height: auto;
}
#header #customer_logo {
  float: left;
  max-width: 300px;
  padding: 15px 10px;
  height: 80px;
  line-height: 77px;
}
#header #customer_logo img {
  max-width: 100%;
  height: auto;
}
#header > h1 {
  position: absolute;
  width: calc(100% - 40px);
  text-align: center;
  color: #224561;
  padding: 20px 20px 0 20px;
  box-sizing: border-box;
}
#header .headerButtons {
  position: absolute;
  bottom: 20px;
  right: 30px;
}
#menu {
  background: #33556f;
}
#menu ul {
  margin: 0 auto;
  padding: 0 30px;
}
#menu ul li {
  float: left;
  list-style-type: none;
}
#menu ul li a {
  display: block;
  line-height: 20px;
  height: 20px;
  font-size: 16px; /* add PX (or original value) as backup */
  font-size: 1rem;
  padding: 10px 14px;
  color: #fff;
  text-decoration: none;
}
#menu ul li a:hover {
  text-decoration: underline;
}
#menu ul li a.active {
  background: #437093;
}
#content {
  padding: 0 30px 20px 30px;
  margin: 35px auto 0 auto;
}
#content form fieldset {
  display: block;
  background: #fbfbfb;
  border: none;
  margin: 0 0 10px 0;
  padding: 10px;
}
#content form fieldset legend {
  display: block;
  font-size: 20px; /* add PX (or original value) as backup */
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0;
  padding: 0;
  top: 0;
}
#content form fieldset th {
  text-align: left;
}
#content form table th {
  padding-right: 12px;
}
#content form table th.buttons,
#content form table th.checker {
  text-align: center;
}
#content form table td,
#content form table th {
  padding-top: 3px;
  padding-bottom: 3px;
}
#content form table td.notPadding,
#content form table th.notPadding {
  padding: 0;
}
#content form table label {
  display: inline-block;
  line-height: 28px;
  font-weight: bold;
}
#content form table input[type='text'],
#content form table input[type='password'],
#content form table input[type='number'] {
  max-width: 770px;
  width: 100%;
  height: 32px;
  line-height: 32px;
  padding: 0px 5px;
  box-sizing: border-box;
  color: #353535;
  border: 1px solid #dadada;
  outline: none;
  font-weight: normal;
}
#content form table input[type='number'] {
  max-width: 80px;
}
#content form table select {
  max-width: 770px;
  width: 100%;
  height: 32px;
  line-height: 32px;
  padding: 0px 5px;
  box-sizing: border-box;
  font-weight: normal;
  border: 1px solid #dadada;
}
#content form table select[multiple] {
  height: auto;
}
#content form table textarea {
  max-width: 770px;
  min-width: 450px;
  width: 100%;
  padding: 8px 5px;
  box-sizing: border-box;
  font-weight: normal;
  border: 1px solid #dadada;
}
#content form table input[type='checkbox'] {
  vertical-align: middle;
  margin-right: 3px;
}
#content #snippet-grid-grid {
  margin-top: 15px;
}
.btn,
input[type='submit'] {
  display: inline-block;
  color: #fff;
  font-weight: bold;
  font-size: 14px; /* add PX (or original value) as backup */
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 4px;
  padding: 4px 10px;
  transition: all 100ms ease-in-out 0s;
  background-color: #989898;
  border: none;
  line-height: 24px;
  margin: 2px 0;
}
.btn:hover,
input[type='submit']:hover,
.btn:focus,
input[type='submit']:focus,
.btn:active,
input[type='submit']:active {
  color: #fff;
  background-color: #868282;
  text-decoration: none;
}
.btn-green {
  background-color: #5fcf80;
}
.btn-green:hover,
.btn-green:focus,
.btn-green:active {
  background-color: #4bc970;
}
.btn-blue,
.grid-action-edit {
  background-color: #437093;
}
.btn-blue:hover,
.grid-action-edit:hover,
.btn-blue:focus,
.grid-action-edit:focus,
.btn-blue:active,
.grid-action-edit:active {
  background-color: #3b6382;
}
.btn-red,
.grid-action-delete {
  background-color: #ed5a5a;
}
.btn-red:hover,
.grid-action-delete:hover,
.btn-red:focus,
.grid-action-delete:focus,
.btn-red:active,
.grid-action-delete:active {
  background: none repeat scroll 0 0 #eb4848;
}
.pointersMap {
  float: left;
  border: 1px solid #9f9f9f;
  padding: 10px;
  max-width: 1150px;
  background: #fff;
}
.pointersMap .mapHeader {
  position: relative;
}
.pointersMap .mapHeader span.btn {
  cursor: pointer;
}
.pointersMap .mapHeader span.checkboxContainer {
  display: block;
  padding-right: 54px;
  font-weight: bold;
  height: 32px;
  line-height: 32px;
  position: absolute;
  top: 0;
  left: 161px;
}
.pointersMap .mapHeader span.checkboxContainer span.checkbox {
  display: block;
  width: 46px;
  height: 22px;
  background: #989898;
  border-radius: 4px;
  position: absolute;
  top: 6px;
  right: 0;
  overflow: hidden;
  cursor: pointer;
}
.pointersMap .mapHeader span.checkboxContainer span.checkbox.check span.ico {
  right: 3px;
}
.pointersMap .mapHeader span.checkboxContainer span.checkbox span.ico {
  display: block;
  position: absolute;
  top: 3px;
  right: 26px;
  width: 37px;
  height: 16px;
  background: url("../images/poznamka-ico.png") no-repeat 0 0;
}
.pointersMap .mapContainer {
  float: left;
  position: relative;
  margin-top: 10px;
}
.pointersMap .mapContainer .innerContainer {
  display: inline-block;
  padding-right: 160px;
  min-width: 140px;
  min-height: 130px;
}
.pointersMap .mapContainer img {
  display: block;
}
.pointersMap .mapContainer span.pointer {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  border: none;
  background: url("../images/stanicka.png") no-repeat 0 0;
  width: 9px;
  height: 9px;
  cursor: pointer;
}
.pointersMap .mapContainer span.pointer:hover span.title,
.pointersMap .mapContainer span.pointer.drag span.title,
.pointersMap .mapContainer span.pointer.new span.title,
.pointersMap .mapContainer span.pointer.showTitle span.title,
.pointersMap .mapContainer span.pointer.selected span.title {
  display: block;
}
.pointersMap .mapContainer span.pointer:hover,
.pointersMap .mapContainer span.pointer.drag,
.pointersMap .mapContainer span.pointer.new {
  z-index: 2;
}
.pointersMap .mapContainer span.pointer.selected {
  z-index: 3;
  background-position: 0 -9px;
}
.pointersMap .mapContainer span.pointer span.title {
  display: none;
  line-height: 16px;
  position: absolute;
  bottom: 11px;
  left: 50%;
}
.pointersMap .mapContainer span.pointer span.title > span {
  display: block;
  position: relative;
  left: -50%;
  padding-bottom: 5px;
  background: url("../images/zobak.png") no-repeat center bottom;
}
.pointersMap .mapContainer span.pointer span.title > span > span {
  display: block;
  background: #ef0000;
  padding: 2px 9px;
  color: #fff;
  font-size: 11px; /* add PX (or original value) as backup */
  font-size: 0.6875rem;
  border-radius: 4px;
}
.pointersMap .mapContainer .renameContainer {
  display: none;
  position: absolute;
  top: 0px;
  right: 0;
  width: 151px;
}
.pointersMap .mapContainer .renameContainer span.title {
  display: block;
  font-weight: bold;
  font-size: 18px; /* add PX (or original value) as backup */
  font-size: 1.125rem;
}
.pointersMap .mapContainer .renameContainer input[type='text'] {
  display: none;
  width: 100% !important;
}
.pointersMap .mapContainer .deleteContainer {
  position: absolute;
  top: 85px;
  right: 0;
  width: 151px;
  height: 127px;
  background: url("../images/delete-frame.png") no-repeat 0 0;
}
.pointersMap .mapContainer .deleteContainer.hover {
  background-color: #fbfbfb;
}
.pointersMap .mapContainer .deleteContainer span.thrash {
  display: block;
  width: 43px;
  height: 43px;
  border-radius: 4px;
  background: #ec0300 url("../images/delete-ico.png") no-repeat center center;
  margin: 19px auto 0 auto;
}
.pointersMap .mapContainer .deleteContainer p {
  color: #5c5c5c;
  font-size: 12px; /* add PX (or original value) as backup */
  font-size: 0.75rem;
  line-height: 14px;
  text-align: center;
  padding: 0 20px;
  margin-top: 10px;
}
#jsStations {
  display: none;
}
#jsStations .station {
  padding: 3px 0;
}
#jsStations .station span.remove {
  cursor: pointer;
}
#jsStations .station a.remove {
  color: #000;
}
#jsFiles {
  display: none;
}
#jsFiles .file {
  padding: 3px 0;
}
#jsFiles .file span.remove {
  cursor: pointer;
  float: right;
}
input#frm-circuitForm-circuit_count_station,
input#frm-contractForm-circuit_count_station {
  width: 65px !important;
}
input#frm-contractForm-circuit_new_files {
  display: none;
}
tr.hasMap {
  display: none;
}
#jsStationsSubmit,
#jsFilesAdd {
  cursor: pointer;
}
.viewMapContainer {
  float: left;
  border: 1px solid #9f9f9f;
  padding: 10px;
  max-width: 1150px;
  background: #fff;
}
.viewMapContainer .mapHeader {
  position: relative;
  padding-bottom: 10px;
}
.viewMapContainer .mapHeader span.checkboxContainer {
  display: block;
  position: relative;
  width: 80px;
  padding-right: 54px;
  font-weight: bold;
  height: 32px;
  line-height: 32px;
}
.viewMapContainer .mapHeader span.checkboxContainer span.checkbox {
  display: block;
  width: 46px;
  height: 22px;
  background: #989898;
  border-radius: 4px;
  position: absolute;
  top: 6px;
  right: 0;
  overflow: hidden;
  cursor: pointer;
}
.viewMapContainer .mapHeader span.checkboxContainer span.checkbox.check span.ico {
  right: 3px;
}
.viewMapContainer .mapHeader span.checkboxContainer span.checkbox span.ico {
  display: block;
  position: absolute;
  top: 3px;
  right: 26px;
  width: 37px;
  height: 16px;
  background: url("../images/poznamka-ico.png") no-repeat 0 0;
}
.viewMapContainer .map {
  position: relative;
}
.viewMapContainer .map img {
  display: block;
}
.viewMapContainer .map span.pointer {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  border: none;
  background: url("../images/stanicka.png") no-repeat 0 0;
  width: 9px;
  height: 9px;
}
.viewMapContainer .map span.pointer.showTitle span.title {
  display: block;
}
.viewMapContainer .map span.pointer span.title {
  display: none;
  line-height: 20px;
  height: 20px;
  position: absolute;
  top: -27px;
  left: 50%;
}
.viewMapContainer .map span.pointer span.title > span {
  display: block;
  position: relative;
  left: -50%;
  padding-bottom: 5px;
  background: url("../images/zobak.png") no-repeat center bottom;
}
.viewMapContainer .map span.pointer span.title > span > span {
  display: block;
  background: #ef0000;
  padding: 0 9px;
  color: #fff;
  font-size: 11px; /* add PX (or original value) as backup */
  font-size: 0.6875rem;
  border-radius: 4px;
}
.grido table {
  margin-top: 15px;
}
.grido table tfoot span.operations {
  width: 40%;
}
.grido table tfoot span.count {
  width: 60%;
  text-align: right;
}
.grido table tfoot span.paginator {
  float: right;
}
.grido table tfoot input[type='text'],
.grido table tfoot input[type='password'],
.grido table tfoot input[type='number'],
.grido table tfoot select {
  max-width: 220px !important;
}
.grido th.column {
  width: auto;
}
.grido td.idsize,
.grido th.idsize {
  width: 70px;
}
.grido td.actions,
.grido th.actions {
  min-width: 222px;
}
.grido td.actions span {
  margin-right: 3px;
}
.table-striped >tbody >tr:nth-child(odd) >td,
.table-striped >tbody >tr:nth-child(odd) >th {
  background-color: #f9f9f9;
}
.table-striped >tbody >tr:hover >td,
.table-striped >tbody >tr:hover >th {
  background-color: #f5f5f5;
}
.ajaxSpinner {
  display: none;
  background: url("../images/spinner.gif") no-repeat center center;
  width: 14px;
  height: 14px;
}
.ajaxSpinner.newMapSpinner {
  margin-top: 10px;
}
#tabs table.stations {
  width: 100%;
}
#tabs table.stations td,
#tabs table.stations th {
  text-align: center;
  padding: 3px 6px;
  border: 1px solid #cacaca;
}
#tabs table.stations td .cf .left,
#tabs table.stations th .cf .left {
  float: left;
  width: 58%;
}
#tabs table.stations td .cf .right,
#tabs table.stations th .cf .right {
  float: left;
  margin-left: 1%;
}
#tabs table.stations td .cf .right.small,
#tabs table.stations th .cf .right.small {
  font-size: 12px; /* add PX (or original value) as backup */
  font-size: 0.75rem;
  text-decoration: none;
  font-weight: normal;
}
#tabs table.stations td .cf .unit,
#tabs table.stations th .cf .unit {
  float: left;
  height: 32px;
  line-height: 32px;
  margin-left: 1%;
}
#tabs table.stations td .cf .buttons,
#tabs table.stations th .cf .buttons {
  float: right;
}
#tabs table.stations td .cf + .cf,
#tabs table.stations th .cf + .cf {
  margin-top: 3px;
}
#tabs table.stations th {
  min-height: 30px;
}
#tabs table.stations tr.odd >td,
#tabs table.stations tr.odd >th {
  background-color: #f9f9f9;
}
#tabs table.stations tr.evenodd:hover >td,
#tabs table.stations tr.evenodd:hover >th {
  background-color: #f5f5f5;
}
#tabs table.stations tr.active td {
  background-color: #f5f5f5;
}
#tabs table.stations tr.descTr {
  display: none;
}
#tabs table.stations tr.descTr td {
  background-color: #f5f5f5;
}
#tabs table.stations td.blank {
  border-right: none;
}
#tabs table.stations td.desc {
  border-left: none;
  text-align: right;
}
#tabs table.stations td.desc span.descLabel {
  text-align: right;
}
#tabs table.stations td.desc textarea {
  display: block;
  float: right;
  height: 88px;
}
#tabs table.stations th.umn {
  width: 200px;
}
#tabs table.stations th.notice {
  width: 88px;
}
.styledText.bg {
  background: #fbfbfb;
  padding: 10px;
  margin: 0 0 10px 0;
}
.styledText strong {
  color: #887f80;
  font-size: 14px; /* add PX (or original value) as backup */
  font-size: 0.875rem;
}
.dashboard {
  margin-bottom: 30px;
  background: #fbfbfb;
  padding-bottom: 10px;
}
.dashboard .col {
  overflow: hidden;
  position: relative;
  float: left;
  width: 33%;
  box-sizing: border-box;
  padding: 0 10px;
}
p.buttons {
  margin: 20px 0;
}
.ui-widget {
  font-size: 16px; /* add PX (or original value) as backup */
  font-size: 1rem;
}

/* DataGrid: ensure jQuery UI datepicker popup is visible above grids/headers */
.ui-datepicker {
	z-index: 10000 !important;
}

/* jQuery UI autocomplete dropdown (used in protocol preparations) */
.ui-autocomplete {
  z-index: 10000 !important;
}

/* DataGrid: hide per-column reset crosses (we use a single global Reset) */
.datagrid a[data-datagrid-reset-filter-by-column] {
	display: none !important;
}

/* DataGrid: make datepicker icon clearly clickable */
.datagrid .input-group-text {
  cursor: pointer;
  pointer-events: auto;
}

/* DataGrid: render calendar icon inside the date filter input */
.datagrid .datagrid-filter-date {
  position: relative;
}

.datagrid .datagrid-filter-date input {
  padding-right: 22px;
}

.datagrid .datagrid-filter-date .input-group-text {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  padding: 0;
  z-index: 2;
}
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
  top: 4px;
}
.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover {
  top: 2px;
}
.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
  border: none;
}
.ui-state-highlight a,
.ui-widget-content .ui-state-highlight a,
.ui-widget-header .ui-state-highlight a {
  background: #33556f url("images/ui-bg_highlight-soft_25_33556f_1x100.png") 50% 50% repeat-x;
  border: 1px solid #33556f;
  color: #fff;
}
.signatureContainer {
  margin-bottom: 10px;
  background: #fbfbfb;
  padding: 24px 10px 10px 10px;
}
.signatureContainer span.title {
  display: block;
  font-weight: bold;
}
.signatureContainer #signature-pad {
  position: relative;
  max-width: 502px;
  min-height: 142px;
  min-width: 302px;
}
.signatureContainer #signature-pad span#clearSignature {
  position: absolute;
  top: -40px;
  right: 0;
  cursor: pointer;
}

/* Grido style pro nové datagridy - stejné rozložení jako původní Grido */
.datagrid.grido table {
  margin-top: 15px;
}

/* Vystředění všech hlaviček sloupců */
.datagrid.grido table thead th {
  text-align: center;
}

/* DataGrid (Ublaboo/Contributte): Column::setAlign('center') přidá třídu text-center */
.datagrid.grido table th.text-center,
.datagrid.grido table td.text-center {
  text-align: center;
}

.datagrid.grido table tfoot td {
  overflow: hidden;
  text-align: left;
}

.datagrid.grido table tfoot span.operations {
  width: 40%;
  display: inline-block;
  vertical-align: top;
}

.datagrid.grido table tfoot span.count {
  width: 60%;
  display: inline-block;
  vertical-align: top;
  text-align: right;
}

.datagrid.grido table tfoot span.paginator {
  float: right;
  vertical-align: top;
}

.datagrid.grido table tfoot span.paginator > div {
  display: inline-block;
  vertical-align: top;
}

.datagrid.grido table tfoot input[type='text'],
.datagrid.grido table tfoot input[type='password'],
.datagrid.grido table tfoot input[type='number'],
.datagrid.grido table tfoot select {
  max-width: 220px !important;
}

/* Circuit grid: vystředění vybraných sloupců (hlavička + tělo) */
.datagrid.grido table thead tr:first-child th.col-dateHandover,
.datagrid.grido table tbody td.col-dateHandover,
.datagrid.grido table thead tr:first-child th.col-user_name,
.datagrid.grido table tbody td.col-user_name,
.datagrid.grido table thead tr:first-child th.col-company,
.datagrid.grido table tbody td.col-company,
.datagrid.grido table thead tr:first-child th.col-id,
.datagrid.grido table tbody td.col-id,
.datagrid.grido table thead tr:first-child th.col-ico,
.datagrid.grido table tbody td.col-ico,
.datagrid.grido table thead tr:first-child th.col-order_master,
.datagrid.grido table tbody td.col-order_master,
.datagrid.grido table thead tr:first-child th.col-id_contract,
.datagrid.grido table tbody td.col-id_contract,
.datagrid.grido table thead tr:first-child th.col-id_order,
.datagrid.grido table tbody td.col-id_order,
.datagrid.grido table thead tr:first-child th.col-completed,
.datagrid.grido table tbody td.col-completed,
.datagrid.grido table thead tr:first-child th.col-visibility,
.datagrid.grido table tbody td.col-visibility,
.datagrid.grido table thead tr:first-child th.col-action,
.datagrid.grido table tbody td.col-action {
  text-align: center;
}

.signatureContainer #signature-pad .signatureBox {
  border: 1px solid #33556f;
  position: relative;
  background: #fff;
  max-width: 500px;
  min-height: 140px;
  min-width: 300px;
}
.signatureContainer #signature-pad .signatureBox .signaturePreviewImage {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  padding: 10px;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 1;
}
.signatureContainer #signature-pad .signatureBox .signaturePreviewImage.is-visible {
  display: block;
}
.signatureStampPreview {
  padding-top: 10px;
}
.signatureStampPreview .stampUploadRow {
  max-width: 500px;
  margin-bottom: 10px;
}
.signatureStampPreview .stampUploadField {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.signatureStampPreview .stampUploadLabel {
  display: inline-block;
  font-weight: bold;
}
.signatureStampPreview .stampUploadControl input[type='file'] {
  max-width: 100%;
}
.formActionsRow {
  margin-top: 16px;
}
.formActionsRow input,
.formActionsRow button {
  margin-right: 8px;
}
.signatureStampPreview .signatureStampPreviewHeader {
  max-width: 500px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.signatureStampPreview .signatureStampPreviewHeader .title {
  margin: 0;
}
.signatureStampPreview .signatureStampPreviewBody {
  max-width: 500px;
}
.signatureStampPreview .stampRemoveToggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-weight: normal;
  white-space: nowrap;
}
.signatureStampPreview .stampRemoveToggle input {
  margin: 0;
}
.signatureStampPreview .signatureBox--stampPreview {
  border: 1px solid #33556f;
  background: #fff;
  max-width: 500px;
  min-height: 140px;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}
.signatureStampPreview .signatureBox--stampPreview img {
  max-width: 100%;
  max-height: 180px;
}
.signatureContainer #signature-pad .signatureBox canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
#modalWindow {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/opacity.png") repeat 0 0;
  z-index: 9999;
}
#modalWindow .container {
  display: none;
  width: 300px;
  padding: 30px 50px;
  background: #fff;
  position: fixed;
  text-align: center;
  top: 30%;
  left: 50%;
  margin: -100px 0 0 -200px;
}
#modalWindow .container#loading {
  width: 100px;
  height: 100px;
  margin: -100px 0 0 -100px;
  background: #fff url("../images/loading_spinner-80.gif") no-repeat center center;
}
#modalWindow .container span.success {
  display: block;
  color: #497915;
  font-weight: bold;
  font-size: 26px; /* add PX (or original value) as backup */
  font-size: 1.625rem;
}
#modalWindow .container span.fail {
  display: block;
  color: #ed5a5a;
  font-weight: bold;
  font-size: 26px; /* add PX (or original value) as backup */
  font-size: 1.625rem;
}
#modalWindow .container span.info {
  display: block;
  color: #437093;
  font-weight: bold;
  font-size: 26px; /* add PX (or original value) as backup */
  font-size: 1.625rem;
}
#modalWindow .container p {
  font-size: 18px; /* add PX (or original value) as backup */
  font-size: 1.125rem;
  margin-top: 25px;
}
#modalWindow .container .buttons {
  max-width: 120px;
  margin: 15px auto 0 auto;
}
#modalWindow .container .buttons .left {
  float: left;
}
#modalWindow .container .buttons .right {
  float: right;
}
#modalWindow .container .buttons .center {
  display: block;
  margin: 0 auto;
}
.onlyMobile {
  display: none;
}
@media screen and (min-width: 1240px) {
  #content form fieldset table label {
    width: 170px;
  }
  #content form fieldset table label.width-auto {
    width: auto;
    font-weight: normal;
  }
  #content form fieldset table input[type='text'],
  #content form fieldset table input[type='password'],
  #content form fieldset table input[type='number'] {
    width: 770px;
  }
  #content form fieldset table select {
    width: 770px;
  }
  #content form fieldset table textarea {
    width: 770px;
  }
}
@media screen and (max-width: 1240px) {
  #header {
    padding: 10px 14px 0 14px;
  }
  #header > h1 {
    font-size: 20px; /* add PX (or original value) as backup */
    font-size: 1.25rem;
  }
  #menu ul {
    padding: 0 14px;
  }
  #content {
    padding: 0 14px 20px 14px;
  }
}
@media screen and (max-width: 1000px) {
  #header > h1 {
    position: relative;
    width: auto;
    text-align: right;
    padding-top: 10px;
    padding-right: 15px;
  }
  .dashboard .col {
    width: 50%;
  }
  .dashboard .col.last {
    clear: both;
    margin-top: 20px;
  }
}
@media screen and (max-width: 700px) {
  .onlyMobile {
    display: block;
  }
  .notMobile {
    display: none;
  }
  #header #logo,
  #header #customer_logo {
    float: none;
    text-align: center;
    max-width: 700px;
    height: auto;
    line-height: 1;
    padding: 10px 0;
  }
  #header > h1 {
    display: block;
    position: relative;
    text-align: center;
    font-size: 18px; /* add PX (or original value) as backup */
    font-size: 1.125rem;
    line-height: 24px;
    padding-right: 20px;
  }
  #menu span.control {
    display: block;
    color: #fff;
    padding: 10px 14px;
    line-height: 20px;
    font-weight: bold;
    font-size: 16px; /* add PX (or original value) as backup */
    font-size: 1rem;
    cursor: pointer;
  }
  #menu > ul {
    display: none;
  }
  #menu > ul li {
    float: none;
  }
  #content form:not(.grido) table {
    width: 100%;
  }
  #content form:not(.grido) table th,
  #content form:not(.grido) table td {
    display: block;
    padding-left: 0;
    padding-right: 0;
  }
  #content form:not(.grido) table th {
    margin-top: 10px;
  }
  #content form:not(.grido) table input[type='text'],
  #content form:not(.grido) table input[type='password'],
  #content form:not(.grido) table select,
  #content form:not(.grido) table textarea {
    max-width: 100%;
  }
  #content form:not(.grido) table textarea {
    min-width: 220px;
  }
  .grido table {
    margin-top: 15px;
  }
  .grido table tfoot span.operations {
    display: block;
    float: none;
    width: 100%;
  }
  .grido table tfoot span.count {
    display: block;
    width: 100%;
    text-align: left;
    margin-top: 10px;
  }
  .grido table tfoot span.paginator {
    display: block;
    float: none;
    width: 100%;
    text-align: left;
    margin-top: 10px;
  }
  #tabs table.stations {
    width: 100%;
  }
  #tabs table.stations tr:hover >td,
  #tabs table.stations tr:nth-child(odd) >td,
  #tabs table.stations tr:hover >th,
  #tabs table.stations tr:nth-child(odd) >th {
    background-color: #fbfbfb;
  }
  #tabs table.stations td.mobileCode {
    font-weight: bold;
    font-size: 20px; /* add PX (or original value) as backup */
    font-size: 1.25rem;
    text-align: center;
    margin-top: 0;
  }
  #tabs table.stations tr {
    display: block;
    background: #fbfbfb;
    border: none;
    margin: 0 0 10px 0;
    padding: 10px;
  }
  #tabs table.stations tr.notMobile {
    display: none;
  }
  #tabs table.stations tr.descTr {
    margin-top: -10px;
    padding-top: 0;
    padding-bottom: 0;
  }
  #tabs table.stations tr.descTr.show {
    display: block !important;
  }
  #tabs table.stations tr.descTr td {
    background: none;
  }
  #tabs table.stations tr.active >td,
  #tabs table.stations tr.evenodd:hover >td,
  #tabs table.stations tr.active >th,
  #tabs table.stations tr.evenodd:hover >th {
    background: none;
  }
  #tabs table.stations td {
    border: none;
    text-align: left;
    margin-top: 10px;
  }
  #tabs table.stations td span.mobileLabel {
    display: block;
    text-align: left;
    padding-bottom: 5px;
    font-weight: bold;
  }
  #tabs table.stations td.blank {
    padding: 0;
  }
  #tabs table.stations td .unit {
    float: left;
    height: auto;
    line-height: 24px;
  }
  #tabs table.stations td .unit span.content {
    display: block;
    line-height: 32px;
  }
  #tabs .ui-widget-content {
    border: none;
  }
  #modalWindow {
    background: #fff;
  }
  #modalWindow .container {
    width: 100%;
    height: 100%;
    padding: 30px 20px;
    box-sizing: border-box;
    top: 0;
    left: 0;
    margin: 0;
  }
  #modalWindow .container#loading {
    width: 100%;
    height: 100%;
    margin: 0;
    background: #fff url("../images/loading_spinner-80.gif") no-repeat center center;
  }
  .dashboard .col {
    float: none;
    width: 100%;
    margin-top: 20px;
  }
}
@media screen and (max-width: 450px) {
  #jsFiles .file span.remove {
    float: none;
    margin-left: 10px;
  }
}
.dropdown {
  position: relative;
}
.dropdown .dropdown-container {
  display: none;
  padding: 10px 8px 10px 8px;
  border-radius: 3px;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  position: absolute;
  background: white;
  z-index: 10;
  left: 50%;
  transform: translate(-50%, 3px);
}
.dropdown:hover .dropdown-container {
  display: block;
}
#warning-notice {
  background: white;
  z-index: 1000;
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 5px 10px 5px 10px;
  line-height: 1.2rem;
  box-shadow: -1px -1px 5px -3px rgba(0,0,0,0.75);
  -webkit-box-shadow: -1px -2px 5px -3px rgba(0,0,0,0.75);
  -moz-box-shadow: -1px -1px 5px -3px rgba(0,0,0,0.75);
}
@media screen and (max-width: 450px) {
  #warning-notice {
    padding: 2px 5px 2px 5px;
    font-size: 11px;
    line-height: 1rem;
  }
}
