@charset "UTF-8";
:root {
  --maxLightColor: #fff;
  --maxDarkColor: #000;
  --rootColor: #333;
  --darkColor: #444;
  --middleColor: #696969;
  --middleLightColor: #c0c0c0;
  --lightColor: #dcdcdc;
  --lighterColor: #efefef;
  --warningColor: #c20000;
  --warningColorLight: #ca1f1f;
  --okColorDark: #007e04;
  --okColorLight: #3fe444;
  --maybeColor: #e4c86c;
  --importantColor: #00c0ff;
  --vipColor: #ffaa56;
  --extraColor: #ffad5a;
  --textColor: #000;
  --textLightColor: #fff;
  --loaderBackgroundColor: rgba(255, 255, 255, 0.98);
  --loaderColor: #000;
  --infoBackgroundColor: #f5fcff;
  --statusTextColor: #000000;
  --statusStoppedBackgroundColor: #ffd4d4;
  --statusStoppedMessageBackgroundColor: #ffbdbd;
  --statusRestoringBackgroundColor: #ffead4;
  --statusRestoringMessageBackgroundColor: #f5d890;
  --colorBlack: #000;
  --colorWhite: #fff;
  --buttonTextColor: #ffffff;
  --buttonBackgroundColor: #696969;
  --buttonHoverBackgroundColor: #73ccf8;
  --buttonFilterActive: #abcf84;
  --buttonNewsActive: #ffd000;
  --inputBackgroundColor: #fff;
  --inputTextColor: #000;
  --loadingBlinkingColor1: #696969;
  --loadingBlinkingColor2: #73ccf8;
  --paginationColor: #696969;
  --paginationBackgroundColor: #fff;
  --paginationDisabledColor: #b9b9b9;
  --lighterBackgroundColor: #f5f5f5;
  --darkerBackgroundColor: #d4d4d4;
  --favouriteStarColor: #000;
  --favouriteStarBackgroundColor: #ddd;
  --serviceText: #000000;
  --serviceBackground: #fbd850;
  --serviceBorderColor: #000000;
  --linkedVehicles: #e46c6d;
  --lineColor: #000;
  --lineBackgroundColor: #c0c0c0;
  --timeColor: #ddd;
  --timeBackgroundColor: #000;
  --dividerColor: #b7b7b7;
  --lastYear: #f5f5f5;
  --lastMonth: #ffede2;
  --lastDay: #fffde2;
  --lastHour: #dffada;
  --eventBorderColor: #000;
  --eventStopText: #000000;
  --eventStopLine: #ffa900;
  --eventStopLinePast: #ffc553;
  --eventStopTurn: #ffdf00;
  --eventStopTurnPast: #ffed6c;
  --eventAccidentText: #ffffff;
  --eventAccident: #c20000;
  --eventAccidentPast: #ca1f1f;
  --tramColor: #e46c6d;
  --trolleyColor: #abcf84;
  --busColor: #4368ad;
  --ebusColor: #83badf;
  --unknownColor: #939393;
  --vehicleBoxTextColor: #fff;
  --favouriteColor: #ecd71f;
}

@media (prefers-color-scheme: dark) {
  :root {
    --maxLightColor: #252525;
    --maxDarkColor: #eee;
    --rootColor: #333;
    --darkColor: #696969;
    --middleColor: #5e5e5e;
    --middleLightColor: #686868;
    --lightColor: #292929;
    --lighterColor: #121212;
    --warningColor: #850e0e;
    --warningColorLight: #500c0c;
    --okColorDark: #007e04;
    --okColorLight: #165716;
    --maybeColor: #b39636;
    --importantColor: #068cc1;
    --vipColor: #ffaa56;
    --extraColor: #ff8000;
    --textColor: #dcdcdc;
    --textLightColor: #dcdcdc;
    --loaderBackgroundColor: rgba(18, 18, 18, 0.94);
    --loaderColor: #ddd;
    --infoBackgroundColor: #253d47;
    --statusTextColor: #dcdcdc;
    --statusStoppedBackgroundColor: #220000;
    --statusStoppedMessageBackgroundColor: #5b0000;
    --statusRestoringBackgroundColor: #302400;
    --statusRestoringMessageBackgroundColor: #8e6901;
    --colorBlack: #000;
    --colorWhite: #fff;
    --buttonTextColor: #dcdcdc;
    --buttonBackgroundColor: #696969;
    --buttonHoverBackgroundColor: #4e88a8;
    --buttonFilterActive: #7a945e;
    --buttonNewsActive: #857800;
    --inputBackgroundColor: #d9d9d9;
    --inputTextColor: #000;
    --loadingBlinkingColor1: #696969;
    --loadingBlinkingColor2: #73ccf8;
    --paginationColor: #fff;
    --paginationBackgroundColor: #444;
    --paginationDisabledColor: #898989;
    --lighterBackgroundColor: #333;
    --darkerBackgroundColor: #d4d4d4;
    --favouriteStarColor: #ddd;
    --favouriteStarBackgroundColor: #222222;
    --serviceText: #000000;
    --serviceBackground: #efc10d;
    --serviceBorderColor: #000000;
    --linkedVehicles: #780000;
    --lineColor: #efefef;
    --lineBackgroundColor: #111111;
    --timeColor: #ddd;
    --timeBackgroundColor: #000;
    --dividerColor: #444;
    --lastYear: #555555;
    --lastMonth: #622626;
    --lastDay: #6b571a;
    --lastHour: #285021;
    --eventBorderColor: #000;
    --eventStopText: #ddd;
    --eventStopLine: #6a521d;
    --eventStopLinePast: #675123;
    --eventStopTurn: #716844;
    --eventStopTurnPast: #9d873f;
    --eventAccidentText: #ccc;
    --eventAccident: #630000;
    --eventAccidentPast: #530d0d;
    --tramColor: #a41010;
    --trolleyColor: #549100;
    --busColor: #063b97;
    --ebusColor: #2390c0;
    --unknownColor: #939393;
    --vehicleBoxTextColor: #ffffff;
    --favouriteColor: #a59640;
  }
}
* {
  box-sizing: border-box;
}

*:focus {
  outline: none;
}

html {
  font-family: "Open Sans", sans-serif;
}

body {
  background: var(--maxLightColor) none;
  width: 990px;
  margin: 0 auto;
  padding: 0;
  font-size: 16px;
  color: var(--maxDarkColor);
  font-family: inherit;
  font-weight: lighter;
  line-height: 1.3em;
}
body.processStopped {
  color: var(--statusTextColor);
  background-color: var(--statusStoppedBackgroundColor);
}
body.processStopped .statusMessage {
  background-color: var(--statusStoppedMessageBackgroundColor);
}
body.processRestoring {
  color: var(--statusTextColor);
  background-color: var(--statusRestoringBackgroundColor);
}
body.processRestoring .statusMessage {
  background-color: var(--statusRestoringMessageBackgroundColor);
}

.clearLeftContent:after {
  content: "";
  display: block;
  clear: left;
}

header {
  position: relative;
  /*padding-top: 20px;*/
  background-color: var(--maxLightColor);
  border-bottom: 3px solid var(--maxLightColor);
  padding: 5px 0;
}

header .logoMain {
  width: auto;
  height: auto;
  display: block;
  padding: 10px 30px;
  background-size: contain;
  background-image: var(--admin), var(--vip), var(--registered), var(--logo);
  background-position: 45px center;
  background-repeat: no-repeat;
  --logo: url(../obrazky/logo.svg);
  --registered: none;
  --vip: none;
  --admin: none;
}
header .logoMain.vip {
  --vip: url(../obrazky/vip.svg);
}
header .logoMain.vip-ending {
  --vip: url(../obrazky/vip-ending.svg);
}
header .logoMain.registered {
  --registered: url(../obrazky/registered.svg);
}
header .logoMain.admin {
  --admin: url(../obrazky/admin.svg);
}
header .logoMain span {
  display: none;
}

header .logo {
  --logo: url(../obrazky/logo.svg);
}

header .logo-test {
  --logo: url(../obrazky/logo-test.svg);
}

header .logo-test-praha {
  --logo: url(../obrazky/logo-test-praha.svg);
}

header .logo-prod {
  --logo: url(../obrazky/logo-prod.svg);
}

header .logo-prod-praha {
  --logo: url(../obrazky/logo-prod-praha.svg);
}

header .logo-local {
  --logo: url(../obrazky/logo-local.svg);
}

header .topMenu {
  padding: 1em 1em;
  margin-bottom: 0;
}

header .topMenu li {
  float: right;
}

header .topMenuContainer {
  position: relative;
  right: 120px;
  top: 33px;
  font-weight: normal;
}

header .topMenuContainer.topMenuContainerAdmin {
  right: 70px;
}

header .topMenu {
  float: right;
}

header .topMenu li {
  text-transform: uppercase;
  display: block;
  font-weight: bold;
  height: 70px;
}

header .topMenu li a:hover, header .topMenu li a:active, header .topMenu li a:focus, header .topMenu li a.active {
  /*font-weight: bold;*/
  text-decoration: none;
  background-color: var(--buttonHoverBackgroundColor) !important;
}

header .topMenu li a {
  text-decoration: none;
  cursor: pointer;
  color: var(--buttonTextColor);
  padding: 20px 20px;
  font-size: large;
  background-color: var(--buttonBackgroundColor);
  margin: 10px 7px;
  text-align: center;
  min-width: 4em;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
header .topMenu li a.doubleSize {
  padding: 19px 30px 19px;
  min-width: 158px;
}
header .topMenu li a.warning {
  background-color: var(--warningColor);
}
header .topMenu li a:hover, header .topMenu li a:active, header .topMenu li a:focus {
  background-color: var(--buttonHoverBackgroundColor);
}

header .topMenu li a.filterActive {
  background-color: var(--buttonFilterActive);
}

header .topMenu li a.newsActive {
  background-color: var(--buttonNewsActive);
}

header .topMenu li a i {
  color: var(--buttonTextColor);
}

header .leftMenuContainer {
  position: relative;
  top: 308px;
  left: 0px;
  width: 250px;
  background-color: var(--maxLightColor);
}

#contentAndRightBar {
  padding-top: 0px;
  background-color: var(--maxLightColor);
  margin-bottom: 0px;
  width: 100%;
}

#contentAndRightBar:after {
  content: " ";
  display: block;
  clear: left;
}

#contentAndRightBar .returnArrow {
  display: block;
  height: 24px;
  position: relative;
  clear: both;
  top: 24px;
}

body #contentAndRightBar #content {
  padding: 25px;
  color: var(--textColor);
}

.vehicleList .unlinkVehicle i {
  color: var(--buttonTextColor);
}

.lineList .oneLine,
.vehicleList .oneVehicle {
  margin-bottom: 0.3em;
  background-color: var(--lighterBackgroundColor);
  padding: 8px 5px;
  position: relative;
  overflow: hidden;
}

.vehicleList .oneVehicle .terminateDate {
  position: absolute;
  right: -50px;
  bottom: 6px;
  background-color: var(--timeBackgroundColor);
  color: var(--timeColor);
  font-size: 10px;
  display: inline-block;
  padding: 0px 55px;
  transform: rotate(340deg);
}

.vehicleList .oneLineHeader .actionButtonWrap,
.lineList .oneVehicle .top-content .actionButtonWrap {
  float: left;
  width: auto;
}

.actionButtonWrap.magic {
  width: 70px;
  margin: 10px auto;
}

.actionButtonWrap.magic a.active {
  background-color: var(--buttonFilterActive);
}

.lineList .identifiedTurn {
  display: none;
}

.lineList .identifiedTurn .row.top {
  margin-bottom: 8px;
}

.lineList .identifiedTurn .row.top:last-of-type {
  margin-bottom: 0;
}

.lineList .oneLine:hover,
.vehicleList .oneVehicle:hover {
  /*background-color: #efeeee;*/
}

.vehicleList .oneLineHeader {
  padding-left: 5px;
  margin-bottom: 10px;
}
.vehicleList .oneLineHeader .lineNumber {
  display: block;
  font-size: xx-large;
  color: var(--maxDarkColor);
  background-color: var(--middleLightColor);
  text-align: center;
  padding: 18px;
}

a.lineNumber:hover {
  color: var(--maxLightColor);
  background-color: var(--buttonHoverBackgroundColor);
}

.lineList .oneLine.lastYear, .vehicleList .oneVehicle.lastYear {
  background-color: var(--lastYear);
}

.lineList .oneLine.lastMonth, .vehicleList .oneVehicle.lastMonth {
  background-color: var(--lastMonth);
}

.lineList .oneLine.lastDay, .vehicleList .oneVehicle.lastDay {
  background-color: var(--lastDay);
}

.lineList .oneLine.lastHour, .vehicleList .oneVehicle.lastHour {
  background-color: var(--lastHour);
}

.vehicleList .oneVehicle.last10min .lastSeen, .lineList .oneLine.last10min .lastSeen {
  font-weight: bold;
}

.vehicleNumber + .terminateDate {
  background-color: var(--timeBackgroundColor);
  color: var(--timeColor);
  font-size: 10px;
  display: inline-block;
  padding: 5px;
  width: 100%;
  margin-top: 1px;
  text-align: center;
  border-radius: 10px;
}

.vehicleNumber + .terminateDate i {
  padding-right: 10px;
}

.lineList .oneVehicle.tram .vehicleNumber,
.vehicleList .oneVehicle.tram .vehicleNumber {
  background-color: var(--tramColor);
  color: var(--vehicleBoxTextColor);
}

.lineList .oneVehicle.trolley .vehicleNumber,
.vehicleList .oneVehicle.trolley .vehicleNumber {
  background-color: var(--trolleyColor);
  color: var(--vehicleBoxTextColor);
}

.lineList .oneVehicle.ebus .vehicleNumber,
.vehicleList .oneVehicle.ebus .vehicleNumber {
  background-color: var(--ebusColor);
  color: var(--vehicleBoxTextColor);
}

.lineList .oneVehicle.bus .vehicleNumber,
.vehicleList .oneVehicle.bus .vehicleNumber {
  background-color: var(--busColor);
  color: var(--vehicleBoxTextColor);
}

.lineList .oneVehicle .vehicleNumber.tram {
  background-color: var(--tramColor);
  color: var(--vehicleBoxTextColor);
}

.lineList .oneVehicle .vehicleNumber.trolley {
  background-color: var(--trolleyColor);
  color: var(--vehicleBoxTextColor);
}

.lineList .oneVehicle .vehicleNumber.ebus {
  background-color: var(--ebusColor);
  color: var(--vehicleBoxTextColor);
}

.lineList .oneVehicle .vehicleNumber.bus {
  background-color: var(--busColor);
  color: var(--vehicleBoxTextColor);
}

.lineList .vehicleDetail .serviceId {
  margin-top: 5px;
  padding: 6px 12px;
}
.lineList .serviceId {
  border: 1px solid var(--serviceBorderColor);
  color: var(--serviceText);
  display: inline-block;
  padding: 0px 5px;
  border-radius: 5px;
  background-color: var(--serviceBackground);
}
.lineList .serviceId:hover, .lineList .serviceId:active, .lineList .serviceId:focus {
  text-decoration: none;
}

.vehicleList .serviceId {
  border: 1px solid var(--serviceBorderColor);
  color: var(--serviceText);
  display: inline-block;
  padding: 0px 5px;
  border-radius: 5px;
  background-color: var(--serviceBackground);
}
.vehicleList .serviceId:hover, .vehicleList .serviceId:active, .vehicleList .serviceId:focus {
  text-decoration: none;
}

.vehicleList .oneVehicle .vehicleNumber:hover, .vehicleList .oneVehicle .vehicleNumber:active, .vehicleList .oneVehicle .vehicleNumber:focus {
  background-color: var(--buttonHoverBackgroundColor);
  text-decoration: none;
}

.lineList .oneLine .row.top,
.vehicleList .oneVehicle .row.top {
  padding: 4px;
  background-color: var(--lightColor);
  color: var(--statusTextColor);
}

.lineList .oneLine .row.bottom,
.vehicleList .oneVehicle .row.bottom {
  margin-top: 9px;
  font-size: small;
  min-height: 26px;
  display: flex;
  align-items: center;
  align-items: flex-end;
}
.lineList .oneLine .row.bottom .lastSeen,
.vehicleList .oneVehicle .row.bottom .lastSeen {
  display: flex;
  align-items: flex-end;
  color: var(--textColor);
}

.lineList .oneLine .lineNumber,
.vehicleList .oneVehicle .lineNumber {
  display: block;
  font-size: large;
  color: var(--lineColor);
  background-color: var(--lineBackgroundColor);
  text-align: center;
  padding: 0.1em;
  font-weight: bolder;
}
.lineList .oneLine .lineNumber.doubleHeight,
.vehicleList .oneVehicle .lineNumber.doubleHeight {
  font-size: xx-large;
  line-height: 1.5;
}

.lineList .oneLine .row.bottom .favourite,
.vehicleList .oneVehicle .row.bottom .favourite {
  display: flex;
  justify-content: flex-end;
}

.miniInfo {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.miniInfo .serviceId {
  margin-right: 10px;
}

.lineList .oneLine .row.bottom .favouriteStar,
.vehicleList .oneVehicle .row.bottom .favouriteStar {
  background-color: var(--favouriteStarBackgroundColor);
  padding: 0px 6px;
  font-size: 13px;
  color: var(--favouriteStarColor);
  cursor: pointer;
}

.lineList .oneLine .row.bottom .favouriteStar .fas,
.vehicleList .oneVehicle .row.bottom .favouriteStar .fas {
  display: none;
}

.lineList .oneLine .row.bottom .favouriteStar .far,
.vehicleList .oneVehicle .row.bottom .favouriteStar .far {
  display: inline-block;
}

.lineList .oneLine .row.bottom .favouriteStar.active,
.vehicleList .oneVehicle .row.bottom .favouriteStar.active {
  color: var(--maxDarkColor);
}

.lineList .oneLine .row.bottom .favouriteStar.active .far,
.vehicleList .oneVehicle .row.bottom .favouriteStar.active .far {
  display: none;
}

.lineList .oneLine .row.bottom .favouriteStar.active .fas,
.vehicleList .oneVehicle .row.bottom .favouriteStar.active .fas {
  display: inline-block;
}

.vehicleList .oneVehicle.terminated .favouriteStar {
  display: none;
}

.lineList .oneLine .row.bottom .topVehicle, .vehicleList .oneVehicle .row.bottom .topVehicle {
  background-color: var(--buttonHoverBackgroundColor);
}

.lineList .oneLine a.lineNumber:hover,
.vehicleList .oneVehicle a.lineNumber:hover {
  color: var(--maxLightColor);
  background-color: var(--buttonHoverBackgroundColor);
  text-decoration: none;
}

.lineList .oneLine .linkedVehicle a,
.vehicleList .oneVehicle .linkedVehicle a {
  display: inline-block;
  padding: 0 15px;
  background-color: var(--linkedVehicles);
  color: var(--vehicleBoxTextColor);
}

.lineList .oneLine .linkedVehicle a.deleteButton,
.vehicleList .oneVehicle .linkedVehicle a.deleteButton {
  background-color: var(--warningColorLight);
}

.lineList .oneLine .linkedVehicle a.addButton,
.vehicleList .oneVehicle .linkedVehicle a.assButton {
  background-color: var(--okColorLight);
}

.vehicleList .oneVehicle .startTime {
  padding-top: 2.5em;
  font-size: small;
  text-align: right;
}

.vehicleList .linkedVehicleDetail a {
  background-color: var(--linkedVehicles);
  color: var(--maxLightColor);
  display: inline-block;
  padding: 15px 15px;
  font-size: large;
  text-decoration: none;
}

.vehicleList .linkedVehicleDetail a:hover {
  background-color: var(--buttonHoverBackgroundColor);
  text-decoration: none;
}

.vehicleList .unlinkVehicle a {
  padding: 15px;
  font-size: large;
  display: block;
  color: var(--buttonTextColor);
  background-color: var(--buttonBackgroundColor);
  text-align: center;
}

.vehicleList .unlinkVehicle a:hover {
  background-color: var(--buttonHoverBackgroundColor);
}

.innerContent .editButtons.actionButtonWrap {
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  justify-content: center;
}
.innerContent .editButtons.actionButtonWrap a {
  padding: 5px;
  width: inherit;
}
.innerContent .editButtons.actionButtonWrap a.addButton {
  background: var(--okColorLight);
}
.innerContent .editButtons.actionButtonWrap a.deleteButton {
  background-color: var(--warningColorLight);
}

.innerContent .actionButtonWrap a {
  padding: 18px;
  font-size: large;
  display: block;
  color: var(--buttonTextColor);
  background-color: var(--buttonBackgroundColor);
  text-align: center;
}
.innerContent .actionButtonWrap a.lastKnownPosition {
  background-color: var(--warningColorLight);
}

.innerContent .actionButtonWrap a:hover {
  background-color: var(--buttonHoverBackgroundColor);
}

.innerContent .news {
  color: var(--linkedVehicles);
}
.innerContent .news a {
  text-decoration: underline;
}

.lineList .oneLine .linkedVehicle .actual,
.vehicleList .oneVehicle .linkedVehicle .actual {
  font-weight: bold;
}
.lineList .oneLine .linkedVehicle .actual a,
.vehicleList .oneVehicle .linkedVehicle .actual a {
  font-weight: 400;
}

.lineList .oneLine .linkedVehicle a:hover, .lineList .oneLine .linkedVehicle a:active, .lineList .oneLine .linkedVehicle a:focus,
.vehicleList .oneVehicle .linkedVehicle a:hover, .vehicleList .oneVehicle .linkedVehicle a:active, .vehicleList .oneVehicle .linkedVehicle a:focus {
  background-color: var(--buttonHoverBackgroundColor);
  text-decoration: none;
}

.lineList .oneVehicle.vehicleDetail {
  padding-bottom: 15px;
}
.lineList .oneVehicle.vehicleDetail .services .serviceId {
  font-weight: lighter;
}
.lineList .oneVehicle.vehicleDetail .services .serviceId:first-child {
  font-weight: normal;
}
.lineList .oneVehicle.vehicleDetail .top-content {
  color: var(--textColor);
}
.lineList .oneVehicle.vehicleDetail .top-content .grey {
  font-weight: bolder;
  color: var(--textColor);
}

.vehicleList .oneLine,
.lineList .oneVehicle {
  margin-bottom: 0.3em;
  padding: 8px 5px 0;
  background-color: inherit;
}
.vehicleList .oneLine .serviceVehiclesList,
.lineList .oneVehicle .serviceVehiclesList {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  margin-bottom: 5px;
}
.vehicleList .oneLine .serviceVehiclesList .linkedVehicle,
.lineList .oneVehicle .serviceVehiclesList .linkedVehicle {
  border-top: 1px solid var(--dividerColor);
  padding-top: 7px;
}
.vehicleList .oneLine .serviceVehiclesList .linkedVehicle:first-child,
.lineList .oneVehicle .serviceVehiclesList .linkedVehicle:first-child {
  border-top: none;
  padding-top: 0;
}
.vehicleList .oneLine .serviceVehiclesList .vehicleNumber,
.lineList .oneVehicle .serviceVehiclesList .vehicleNumber {
  margin-bottom: 3px;
}
.vehicleList .oneLine .serviceVehiclesList .serviceTime,
.lineList .oneVehicle .serviceVehiclesList .serviceTime {
  width: 100%;
  text-align: right;
  margin-bottom: 2px;
  margin-top: 7px;
  font-size: small;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
.vehicleList .oneLine .plus,
.lineList .oneVehicle .plus {
  width: 6%;
  text-align: center;
  vertical-align: middle;
  font-size: xx-large;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}
.vehicleList .oneLine .vehicleNumberDiv1,
.lineList .oneVehicle .vehicleNumberDiv1 {
  width: 100%;
}
.vehicleList .oneLine .vehicleNumberDiv2,
.lineList .oneVehicle .vehicleNumberDiv2 {
  width: 46%;
}
.vehicleList .oneLine .vehicleNumberDiv3,
.lineList .oneVehicle .vehicleNumberDiv3 {
  width: 28%;
}

.serviceNumberContainer {
  margin-bottom: 3px;
}
.serviceNumberContainer .serviceId {
  display: block;
  font-size: xx-large;
  text-align: center;
  padding: 19px;
  border-radius: 10px;
  margin-top: 0;
}

.articleContent p {
  padding-top: 0;
}

#linkVehicle, #stopTable {
  margin: 2em 0 3em;
}
#linkVehicle input, #linkVehicle button, #linkVehicle select, #stopTable input, #stopTable button, #stopTable select {
  border: 2px solid var(--buttonBackgroundColor);
  color: var(--inputTextColor);
  background-color: var(--inputBackgroundColor);
  line-height: 3em;
  font-size: x-large;
}
#linkVehicle button, #stopTable button {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  font-size: large;
}
#linkVehicle input, #stopTable input {
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}
#linkVehicle select, #stopTable select {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  border-left: 0;
  text-align: center;
  color: var(--maxDarkColor);
  background-color: var(--maxLightColor);
}
#linkVehicle select option, #stopTable select option {
  color: var(--maxDarkColor);
  background-color: var(--maxLightColor);
}
#linkVehicle input[type=time], #stopTable input[type=time] {
  text-align: center;
  border: none;
  width: 100%;
  color: var(--maxDarkColor);
  background-color: var(--maxLightColor);
}
#linkVehicle .inputTimeWrapper, #stopTable .inputTimeWrapper {
  border-radius: 10px 0 0 10px;
  border: 2px solid var(--buttonBackgroundColor);
  background-color: var(--buttonTextColor);
  color: var(--buttonTextColor);
  margin: 0 auto;
}
#linkVehicle .submitLinkedVehicle, #linkVehicle .submitStopTable, #stopTable .submitLinkedVehicle, #stopTable .submitStopTable {
  color: var(--buttonTextColor);
  background-color: var(--buttonBackgroundColor);
  padding: 0px;
  font-size: x-large;
}

#content {
  float: left;
  background-color: var(--maxLightColor);
  padding: 25px 40px 40px;
  min-height: 400px;
  width: 100%;
}

footer {
  text-align: center;
  padding-top: 24px;
}

footer .footer-copyright {
  font-size: 12px;
  color: var(--maxDarkColor);
  margin-bottom: 30px;
}

footer .footer-copyright a {
  color: var(--maxDarkColor);
  text-decoration: underline;
}

.roundCorner {
  border-radius: 10px;
}

.modal {
  top: 20%;
}

.modal .modal-body {
  padding-top: 1.5em;
}

.modal .btn-ok {
  background-color: var(--warningColor);
  color: var(--colorWhite);
}

.modal .btn-ok.addButton {
  background-color: var(--okColorLight);
  color: var(--maxLightColor);
}

.modal-open {
  overflow: auto;
  padding-right: 0px !important;
}

body.loading .refreshContainer {
  animation: blink ease 2s infinite;
}

@keyframes blink {
  0% {
    background-color: var(--loadingBlinkingColor1);
  }
  50% {
    background-color: var(--loadingBlinkingColor2);
  }
  100% {
    background-color: var(--loadingBlinkingColor1);
  }
}
body.loading .refresh {
  animation: rotation 2s infinite linear;
  animation-name: rotation;
  animation-duration: 2s;
  animation-timing-function: linear;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--loaderBackgroundColor);
  z-index: 2000;
}

.loader .loaderInner {
  text-align: center;
}

.loader .loaderInner img {
  position: absolute;
  height: 100px;
  width: 100px;
  left: 50%;
  margin-left: -50px;
  top: 40%;
  margin-top: -50px;
  animation: trainIn 10s alternate infinite ease-in;
}

.loader .loaderInner span {
  color: var(--loaderColor);
  position: absolute;
  bottom: 30%;
  left: 50%;
  right: 50%;
  width: 200px;
  text-align: center;
  display: block;
  margin-left: -100px;
  font-weight: bolder;
  font-size: large;
}

@keyframes trainIn {
  0% {
    transform: scale(0.8);
  }
  100% {
    transform: scale(4.5);
  }
}
/*CONTENT*/
.hierarchyName {
  display: none;
  font-size: 20px;
  font-weight: bold;
  color: var(--importantColor);
  margin-bottom: 35px;
}

body.hi2 .hierarchyName {
  display: block;
}

body.hi2 .articleContent .articleH1 {
  font-size: 16px;
  color: var(--maxDarkColor);
  font-weight: bold;
}

.articleContent .imageBoxTypeNahled {
  float: left;
  margin: 0 30px 25px 0;
}

.articleContent {
  font-size: 16px;
  line-height: 1.3em;
}

.hierarchyContent {
  margin-bottom: 1em;
}

form.formStyled input {
  border: 2px solid var(--buttonBackgroundColor);
  line-height: 3em;
  font-size: x-large;
  margin-bottom: 0.5em;
  text-align: center;
}

form.formStyled button {
  color: var(--buttonTextColor);
  background-color: var(--buttonBackgroundColor);
  border: none;
  font-size: x-large;
  padding: 1em;
}

.paginatorNav {
  margin-top: 20px;
}

.paginatorNav .pagination .page-link {
  border-radius: 10px;
  border-color: var(--paginationBackgroundColor);
  background-color: var(--paginationBackgroundColor);
  border: none;
  color: var(--paginationColor);
}

.paginatorNav .pagination .page-item {
  margin: 0 1px;
}

.paginatorNav .pagination .page-item.active .page-link {
  background-color: var(--paginationColor);
  color: var(--paginationBackgroundColor);
}

.paginatorNav .pagination .page-item.disabled .page-link {
  color: var(--paginationDisabledColor);
}

.paginatorNav .pagination .page-link:hover {
  background-color: var(--importantColor);
  color: var(--colorWhite);
}

.paginatorNav .pagination .page-link:focus {
  box-shadow: none;
}

.alert {
  position: fixed;
  left: 10%;
  top: 10px;
  width: 80%;
  z-index: 100;
  box-shadow: 0px 0px 50px 15px gray;
}

hr {
  visibility: hidden;
  height: 1.5em;
}

a {
  color: var(--importantColor);
  text-decoration: none;
}

a:hover, a:active, a:focus {
  color: var(--maxDarkColor);
  text-decoration: none;
}

a img {
  border: none;
}

a:hover img, a:active img, a:focus img {
  border: none;
  opacity: 0.8;
}

/*
NADPISY
*/
h1, h2, h3, h4 {
  margin: 0;
  padding: 0;
  padding-bottom: 0.3em;
  color: var(--maxDarkColor);
}

h1 {
  font-size: xx-large;
  color: var(--importantColor);
  padding-top: 0.3em;
  font-weight: normal;
}

h2 {
  font-size: medium;
  padding-top: 0.6em;
}

h3 {
  font-size: small;
}

h4 {
  font-size: small;
}

h1 + h2 {
  padding-top: 0em;
}

h2 + h3 {
  padding-top: 0em;
}

h3 + h4 {
  padding-top: 0em;
}

h1 + h1 {
  padding-top: 0em;
}

h2 + h2 {
  padding-top: 0em;
}

h3 + h3 {
  padding-top: 0em;
}

h4 + h4 {
  padding-top: 0em;
}

/*
TEXT
*/
p {
  padding: 0.6em 0;
  margin: 0;
}

ul {
  padding-left: 0px;
  list-style-type: none;
  margin-top: 0px;
}

.nezobrazovat {
  display: none;
}

.obrazekPravy {
  float: right;
  margin-left: 20px;
}

.obrazekLevy {
  float: left;
  margin-right: 20px;
}

.clearLeft {
  clear: left;
}

.clearRight {
  clear: right;
}

.fLeft {
  float: left;
}

.fRight {
  float: right;
}

.imageBox {
  display: block;
} /*bacha pokud se da border tak v dusledku zaokrouhlovani budou bile mezery*/
.imageBox img {
  display: none !important;
}

.imageBoxMobile {
  display: none;
}

.info-eu-cookies {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  background-color: var(--buttonBackgroundColor);
  z-index: 1000;
  padding: 4px;
  color: var(--buttonTextColor);
}

.info-eu-cookies.info-priority span {
  text-align: center;
}

.info-eu-cookies.info-priority a {
  text-decoration: none;
  color: var(--maxLightColor) e;
  font-weight: bolder;
}

.info-eu-cookies.info-priority a:hover, .info-eu-cookies.info-priority a:active, .info-eu-cookies.info-priority a:focus {
  color: var(--maxLightColor);
}

.info-eu-cookies.info-priority button {
  padding: 2px 5px;
  border: none;
  background-color: var(--lightColor);
  color: var(--maxDarkColor);
}

.noDisplay {
  display: none;
}

.adminBar {
  float: left;
  padding: 2px 0 2px 0;
  /*border-bottom: 2px solid #000;*/
  clear: left;
  width: 100%;
  margin-bottom: 10px;
}

.adminBar a {
  display: block;
  background-color: var(--lightColor);
  color: var(--maxLightColor);
  float: left;
  padding: 5px 10px;
  margin-bottom: 2px;
  border-bottom: 2px solid var(--maxDarkColor);
  clear: right;
  margin-right: 5px;
}

.actionButton {
  display: block;
  border-radius: 10px;
  background-color: var(--buttonBackgroundColor);
  color: var(--buttonTextColor);
  border: none;
}

.actionButton:hover {
  background-color: var(--buttonHoverBackgroundColor);
  text-decoration: none;
}

.joinedCheckbox {
  display: none;
}

.joinedCheckboxLabel {
  display: block;
  padding: 1em;
  color: var(--textLightColor);
  background-color: var(--middleColor);
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

#filterFavourites + .joinedCheckboxLabel {
  color: var(--textLightColor);
}

#filterAirCondition + .joinedCheckboxLabel {
  color: var(--textLightColor);
}

#filterColorSchema + .joinedCheckboxLabel {
  color: var(--textLightColor);
}

#filterTerminated.joinedCheckbox:checked + .joinedCheckboxLabel {
  background-color: var(--timeBackgroundColor);
  color: var(--textLightColor);
}

#filterFavourites.joinedCheckbox:checked + .joinedCheckboxLabel {
  background-color: var(--favouriteColor);
  color: var(--textLightColor);
}

#filterAirCondition.joinedCheckbox:checked + .joinedCheckboxLabel {
  background-color: var(--favouriteColor);
  color: var(--textLightColor);
}

#filterColorSchema.joinedCheckbox:checked + .joinedCheckboxLabel {
  background-color: var(--favouriteColor);
  color: var(--textLightColor);
}

#filterVehicleTram.joinedCheckbox:checked + .joinedCheckboxLabel {
  background-color: var(--tramColor);
  color: var(--textLightColor);
}

.filterVehicleTramType.joinedCheckbox:checked + .joinedCheckboxLabel {
  background-color: rgba(228, 108, 109, 0.8);
  color: var(--textLightColor);
}

#filterVehicleTrolley.joinedCheckbox:checked + .joinedCheckboxLabel {
  background-color: var(--trolleyColor);
  color: var(--textLightColor);
}

.filterVehicleTrolleyType.joinedCheckbox:checked + .joinedCheckboxLabel {
  background-color: rgba(108, 147, 66, 0.8);
  color: var(--textLightColor);
}

#filterVehicleBus.joinedCheckbox:checked + .joinedCheckboxLabel {
  background-color: var(--busColor);
  color: var(--textLightColor);
}

.filterVehicleBusType.joinedCheckbox:checked + .joinedCheckboxLabel {
  background-color: rgba(67, 104, 173, 0.8);
  color: var(--textLightColor);
}

#filterVehicleEbus.joinedCheckbox:checked + .joinedCheckboxLabel {
  background-color: var(--ebusColor);
  color: var(--textLightColor);
}

.filterVehicleEbusType.joinedCheckbox:checked + .joinedCheckboxLabel {
  background-color: rgba(131, 186, 223, 0.86);
  color: var(--textLightColor);
}

.joinedCheckboxLabel:hover {
  background-color: var(--buttonHoverBackgroundColor) !important;
}

.filter {
  border-top: 2px solid var(--lightColor);
  margin-left: -10px;
  margin-right: -10px;
  padding: 0.5em 1em;
  display: none;
}
.filter.filterStatistic {
  display: block;
  border-top: 0;
}

.filter:after {
  content: "";
  display: block;
  clear: left;
}

.filter .joinedCheckboxLabel, .filter button {
  padding: 1em 1.5em;
  margin: 10px;
  float: left;
}

/*.filterTypeGroupAll {
    height: 100%;
    overflow-y: scroll;
}*/
.filterTypeGroup {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto 15px;
}

.filter .filterVehicleTramType + .joinedCheckboxLabel,
.filter .filterVehicleTrolleyType + .joinedCheckboxLabel,
.filter .filterVehicleBusType + .joinedCheckboxLabel,
.filter .filterVehicleEbusType + .joinedCheckboxLabel {
  text-transform: none;
  padding: 0.5em 0.75em;
  margin: 3px;
}

.filterSubmitContent button {
  background-color: var(--buttonFilterActive);
}

/*.filter.filterLeftAlign button{
    float: left;
}*/
.filter .inputAndLabel {
  float: left;
}

/*.filter.filterLeftAlign .inputAndLabel{
    float: left;
}*/
.filter .filterChoiceContent {
  padding-right: 0;
}

.filter .filterSubmitContent {
  padding-right: 0;
}

.filter button.submitFilter {
  float: right;
  margin-right: 0;
}

.filter .inputAndLabel label {
  margin: 10px;
  padding: 1em 0em 1em 1em;
  font-weight: 600;
  color: var(--textColor);
}

.filter .textInput {
  padding: 14px 1.5em;
  margin: 10px;
  border: 2px solid var(--buttonBackgroundColor);
  background-color: var(--inputBackgroundColor);
}

.filter .textInput.dateFilter {
  text-align: center;
  width: 10em;
  background-color: var(--inputBackgroundColor);
  color: var(--inputTextColor);
}

textarea,
.styledForm input,
.styledForm textarea,
.styledForm select,
.styledForm .fakeInput {
  padding: 16px 1.5em;
  border: 2px solid var(--buttonBackgroundColor);
  background-color: var(--inputBackgroundColor);
  color: var(--inputTextColor);
}
textarea optgroup,
.styledForm input optgroup,
.styledForm textarea optgroup,
.styledForm select optgroup,
.styledForm .fakeInput optgroup {
  margin-top: 0.5em;
}

.textCenter {
  text-align: center;
}

.styledForm label {
  padding: 13px 1.5em 0;
}

.styledForm .submit {
  background-color: var(--buttonBackgroundColor);
  color: var(--buttonTextColor);
  border: none;
  text-decoration: none;
  cursor: pointer;
  padding: 0.75em 0.5em;
  font-size: x-large;
  text-align: center;
  display: block;
}
.styledForm .submit i {
  width: 56px;
}

.lineList .oneVehicle a[href].vehicleNumber:hover, .lineList .oneVehicle a[href].vehicleNumber:active, .lineList .oneVehicle a[href].vehicleNumber:focus {
  text-decoration: none;
  background-color: var(--buttonHoverBackgroundColor);
}

textarea.textareaTopVehicles {
  height: 100px;
}

.advertisement {
  position: fixed;
  top: 30px;
  right: 30px;
  width: calc((100vw - 990px) / 2 - 60px);
}
.advertisement .topHeader {
  display: none;
}

.advertisement a.target {
  display: block;
}

.advertisement a,
.advertisement a:hover,
.advertisement a:active,
.advertisement a:focus {
  text-decoration: none;
}

.advertisement .content {
  background-color: var(--maxLightColor);
  text-align: center;
  padding: 10px;
  font-size: 13px;
}

.advertisement .content .headerText {
  font-size: 15px;
}

.advertisement .content .price {
  font-size: 16px;
}

.minusStop {
  font-weight: bold;
  color: var(--warningColor);
}

.plusStop {
  font-weight: bold;
  color: var(--okColorLight);
}

.notEqualStop {
  font-weight: bold;
  color: var(--middleColor);
}

.bestTrack {
  color: var(--importantColor);
}

.officialTrack {
  color: var(--rootColor);
}

.stopList {
  font-weight: 500;
}
.stopList .minutes, .stopList .times {
  display: none;
}
.stopList.selMinutes .minutes {
  display: block;
}
.stopList.selTimes .times {
  display: block;
}
.stopList .trackTimeSelect {
  float: right;
  border: 1px solid var(--maxDarkColor);
  border-radius: 3px;
}
.stopList .trackTimeSelect option.noTurn {
  background-color: var(--warningColorLight);
}

.stateApproved, .stateAuto, .stateDeclined {
  display: block;
  padding: 5px;
  font-size: small;
  font-weight: bold;
}
.stateApproved:hover, .stateApproved:active, .stateApproved:focus, .stateApproved.active, .stateAuto:hover, .stateAuto:active, .stateAuto:focus, .stateAuto.active, .stateDeclined:hover, .stateDeclined:active, .stateDeclined:focus, .stateDeclined.active {
  text-decoration: none;
  color: var(--maxLightColor);
  background-color: var(--buttonHoverBackgroundColor);
}

.trackAnalyse a, .trackAnalyse a:hover, .trackAnalyse a:active, .trackAnalyse a:focus, .trackAnalyse a.active {
  text-decoration: none;
}

.textSmall {
  font-size: 13px;
  font-weight: 500;
}

.prcWrap .prcAll {
  font-weight: bolder;
  font-size: x-large;
  padding: 18px;
}
.prcWrap .prcParts {
  font-weight: 500;
  font-size: 13px;
}
.prcWrap .prcBad {
  color: var(--warningColor);
}
.prcWrap .prcGood {
  color: var(--okColorLight);
}

.tinyItem {
  display: block;
  float: left;
  margin: 0 1px 1px 0;
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.tinyItem.state_APPROVED {
  background-color: var(--okColorLight) !important;
}
.tinyItem.state_APPROVED_OFFICIAL {
  background-color: rgba(0, 218, 162, 0.6784313725) !important;
}
.tinyItem.state_AUTO_APPROVED {
  background-color: #7ad57a !important;
}
.tinyItem.state_DECLINED {
  background-color: #b40005 !important;
}
.tinyItem.state_AUTO_DECLINED {
  background-color: #fa7878 !important;
}
.tinyItem.state_AUTO {
  background-color: #b2b2b2 !important;
}
.tinyItem.state_AUTO_PENDING {
  background-color: #b2b2b2 !important;
}
.tinyItem.missingTurn {
  background-color: var(--maxLightColor);
  border: 1px solid #c9c9c9;
}
.tinyItem.brokenTurn {
  background-color: var(--maxDarkColor);
  border: 1px solid var(--maxDarkColor);
}
.tinyItem.unusedTurn {
  animation: blinker 2s ease-in-out infinite alternate;
}
.tinyItem.missedTypeDays1 {
  animation: blinker 2s ease-in-out infinite alternate;
}
.tinyItem.missedTypeDays2 {
  animation: blinker 1s ease-in-out infinite alternate;
}
.tinyItem.missedTypeDays3 {
  animation: blinker 0.5s ease-in-out infinite alternate;
}
.tinyItem.missedTypeDays4 {
  animation: blinker 0.5s ease-in-out infinite alternate;
}
.tinyItem.missedTypeDays5 {
  animation: blinker 0.25s ease-in-out infinite alternate;
}
.tinyItem.missedTypeDays6 {
  animation: blinker 0.25s ease-in-out infinite alternate;
}
.tinyItem.missedTypeDays7 {
  animation: blinker 0.1s ease-in-out infinite alternate;
}
.tinyItem.missedTypeDaysMax {
  animation: blinker 0.1s ease-in-out infinite alternate;
}

@keyframes blinker {
  50% {
    opacity: 0.1;
  }
}
.stateApproved {
  background-color: #8bdd8d;
}

.stateDeclined {
  background-color: #eb8385;
}

.stateAuto {
  background-color: var(--middleLightColor);
}

.trackItem.stateAuto {
  background-color: var(--middleLightColor);
}
.trackItem.state_APPROVED {
  background-color: #dffada !important;
}
.trackItem.state_APPROVED_OFFICIAL {
  background-color: rgba(0, 218, 162, 0.3294117647) !important;
}
.trackItem.state_AUTO_APPROVED {
  background-color: #f7fce7 !important;
}
.trackItem.state_DECLINED {
  background-color: #ffede2 !important;
}
.trackItem.state_AUTO_DECLINED {
  background-color: #fff3e2 !important;
}
.trackItem.state_AUTO.preferred {
  background-color: #dfeeff;
}
.trackItem.notUsed {
  opacity: 0.3;
  display: none;
}
.trackItem.notUsedTrack {
  background-color: #ffb5b7 !important;
}
.trackItem.notUsedTrackAll {
  background-color: #ff8588 !important;
}
.trackItem.state_APPROVED_OFFICIAL_IGNORE {
  background-color: #ebebeb !important;
}

.trackList .oneLine .lineNumber {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.trackList .oneLine .lineNumber .tinyItem {
  border: 1px solid gray;
  width: 15px;
  height: 15px;
}

.toggleId {
  cursor: pointer;
}

.identifiedTurn .stationList {
  display: none;
}
.identifiedTurn .stationList .oneStation {
  line-height: 1.2;
  font-size: 14px;
}
.identifiedTurn .stationList .oneStation .expectedTime .delay {
  padding-left: 10px;
  font-size: x-small;
}
.identifiedTurn .stationList .oneStation.actual {
  line-height: 1.6;
  font-weight: 600;
}

.vehicleList .oneTimeDetail {
  background-color: var(--warningColorLight);
  font-weight: bold;
  border-radius: 10px 10px 0 0;
  padding: 5px;
  text-align: center;
  color: var(--maxLightColor);
}
.vehicleList .oneVehicle.favouriteVehicle {
  background-color: var(--favouriteColor);
}
.vehicleList .vehicleNumberContainer.linkedVehicles2 a {
  font-size: x-large;
  padding: 8px 20px;
}
.vehicleList .vehicleNumberContainer.linkedVehicles3 a {
  font-size: large;
  padding: 12px 8px;
}
.vehicleList .vehicleNumberContainer span.unknownVehicle {
  color: var(--maxDarkColor);
  background-color: var(--middleLightColor);
  padding: 8px 40px;
  display: inline-block;
}
.vehicleList .vehicleNumberContainer a {
  display: inline-block;
  padding: 0 15px;
  background-color: var(--middleLightColor);
  color: var(--maxLightColor);
}
.vehicleList .vehicleNumberContainer a:hover, .vehicleList .vehicleNumberContainer a.active, .vehicleList .vehicleNumberContainer a:focus {
  text-decoration: none;
  background-color: var(--buttonHoverBackgroundColor) !important;
}
.vehicleList .vehicleNumberContainer a.tram {
  background-color: var(--tramColor);
}
.vehicleList .vehicleNumberContainer a.trolley {
  background-color: var(--trolleyColor);
}
.vehicleList .vehicleNumberContainer a.bus {
  background-color: var(--busColor);
}
.vehicleList .vehicleNumberContainer a.ebus {
  background-color: var(--ebusColor);
}
.vehicleList .vehicleNumberContainer .delay {
  font-size: small;
  font-weight: 600;
}

/************ AUTOCOMPLETE *************************/
.autocompleteSelect {
  position: absolute;
  z-index: 100;
  background-color: var(--maxLightColor);
  border: 2px solid var(--middleColor);
  border-radius: 0 0 10px 10px;
  border-top: none;
  top: calc(100% - 10px);
  width: calc(100% - 0px);
  display: none;
  padding-bottom: 7px;
  padding-top: 10px;
}
.autocompleteSelect li {
  line-height: 2em;
  padding-left: 16px;
  font-size: 20px;
}
.autocompleteSelect li:hover {
  cursor: pointer;
  color: var(--maxLightColor);
  background-color: var(--middleColor);
}
.autocompleteSelect li span {
  display: inline-block;
  width: 100%;
}
.autocompleteSelect .autocompleteSelected {
  color: var(--maxLightColor);
  background-color: var(--middleColor);
}

/************ KONEC AUTOCOMPLETE *************************/
.statisticItems {
  margin-bottom: 2em;
}
.statisticItems a {
  text-decoration: none;
  cursor: pointer;
  color: var(--buttonTextColor);
  padding: 1em 1.5em;
  font-size: large;
  background-color: var(--buttonBackgroundColor);
  margin: 10px 7px;
  text-align: center;
  min-width: 4em;
  display: inline-block;
  border: none;
}
.statisticItems a:hover, .statisticItems a:active, .statisticItems a:focus {
  text-decoration: none;
  background-color: var(--buttonHoverBackgroundColor) !important;
}
.statisticItems a.private {
  background-color: var(--middleLightColor);
}

.button {
  display: inline-block;
  padding: 5px;
  font-size: small;
  font-weight: bold;
  border-radius: 10px;
  color: var(--buttonTextColor);
  text-decoration: none;
  background-color: var(--buttonBackgroundColor);
}
.button.ok {
  color: var(--buttonTextColor);
  background-color: var(--okColorLight) !important;
}
.button.unidentified {
  color: var(--buttonTextColor);
  background-color: var(--maybeColor) !important;
}
.button.fail {
  color: var(--buttonTextColor);
  background-color: var(--linkedVehicles) !important;
}
.button.active, .button:active, .button:focus, .button:hover {
  text-decoration: none;
  color: var(--buttonTextColor);
  background-color: var(--buttonHoverBackgroundColor) !important;
}

.grey {
  color: grey;
}

.statusMessage {
  border: 2px solid var(--middleColor);
  color: var(--statusTextColor);
  margin-bottom: 2px;
  padding: 2px;
  text-align: center;
  font-weight: 500;
}
.statusMessage.info {
  background-color: var(--buttonNewsActive);
  color: var(--maxDarkColor);
  padding: 1em;
}
.statusMessage.infoMsg {
  background-color: var(--buttonNewsActive);
  color: var(--maxDarkColor);
  padding: 0.75em 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  text-align: center;
}
.statusMessage.infoMsg .infoMsgText {
  flex: 1;
}
.statusMessage.infoMsg a {
  font-weight: bolder;
  text-decoration: underline;
  color: var(--maxDarkColor);
}
.statusMessage.infoMsg .infoMsgDismiss {
  background-color: var(--buttonBackgroundColor);
  color: var(--buttonTextColor);
  border: none;
  padding: 0.3em 1em;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9em;
  white-space: nowrap;
}
.statusMessage.infoMsg .infoMsgDismiss:hover {
  opacity: 0.85;
}

.problemText {
  margin: 5px auto 0;
  padding: 5px 3px;
  background-color: var(--buttonBackgroundColor);
  color: var(--buttonTextColor);
}
.problemText.stop_line {
  background-color: var(--eventStopLine);
  color: var(--eventStopText);
}
.problemText.stop_line.notTodayEvent {
  background-color: var(--eventStopLinePast);
}
.problemText.stop_turn {
  background-color: var(--eventStopTurn);
  color: var(--eventStopText);
}
.problemText.stop_turn.notTodayEvent {
  background-color: var(--eventStopTurnPast);
}
.problemText.accident {
  background-color: var(--warningColor);
  color: var(--eventAccidentText);
}
.problemText.accident.notTodayEvent {
  background-color: var(--warningColorLight);
}
.problemText b {
  font-weight: bold;
}
.problemText.relevance2 {
  border: 2px solid var(--eventBorderColor);
}
.problemText.relevance3 {
  border: 3px solid var(--eventBorderColor);
}
.problemText .extendedText {
  font-size: 14px;
  margin-top: 7px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  align-items: start;
  border-top: 1px solid;
  padding-top: 6px;
}

.servicesList .oneVehicle {
  background-color: var(--lighterBackgroundColor);
}

.eventsList .eventWrapper {
  background-color: var(--lighterBackgroundColor);
}
.eventsList .eventWrapper .timeLine {
  padding: 0 10px;
  margin-bottom: 5px;
}
.eventsList .eventWrapper .timeLine .serviceId {
  margin-top: 0;
  padding: 0 10px;
}
.eventsList .problemText {
  margin-top: 0;
  display: flex;
  align-items: center;
  width: inherit;
}
.eventsList .lineNumber {
  display: block;
  font-size: large;
  color: var(--lineColor);
  background-color: var(--lineBackgroundColor);
  text-align: center;
  padding: 0.1em;
  font-weight: bolder;
}
.eventsList .lineNumber:hover, .eventsList .lineNumber:active, .eventsList .lineNumber:focus {
  text-decoration: none;
}
.eventsList .time {
  display: block;
  font-size: medium;
  color: var(--timeColor);
  background-color: var(--timeBackgroundColor);
  text-align: center;
  padding: 0.1em;
  font-weight: bolder;
}

.airCondition {
  color: var(--importantColor);
}

.buttonsInLine {
  display: flex;
  justify-content: flex-end;
}

.buttonsInLine .submit.profile-btn-action,
.styledForm .submit.profile-btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 56px;
  padding: 0.6em 0.75em;
}

.innerContent .actionButtonWrap a.profile-btn-action,
.actionButtonWrap a.profile-btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 56px;
  padding: 0.6em 0.75em;
  font-size: large;
  color: var(--buttonTextColor);
  background-color: var(--buttonBackgroundColor);
  text-align: center;
  text-decoration: none;
}
.innerContent .actionButtonWrap a.profile-btn-action:hover,
.actionButtonWrap a.profile-btn-action:hover {
  background-color: var(--buttonHoverBackgroundColor);
}

a.profile-btn-sendtest {
  display: flex !important;
  width: 100% !important;
  padding: 0.75em 1em !important;
  color: var(--buttonTextColor) !important;
  background-color: var(--buttonBackgroundColor);
  text-decoration: none;
}
a.profile-btn-sendtest:hover {
  background-color: var(--buttonHoverBackgroundColor);
}

.push-table {
  margin-bottom: 1.5rem;
}
.push-table .push-table-header {
  font-weight: 600;
  border-bottom: 2px solid var(--borderColor, #dee2e6);
  padding-bottom: 0.5rem;
}
.push-table .push-table-row {
  border-bottom: 1px solid var(--borderColor, #dee2e6);
  align-items: center;
}
.push-table .push-table-row:last-child {
  border-bottom: none;
}
@media (max-width: 575px) {
  .push-table .push-table-row .col-6 {
    font-size: 0.9rem;
  }
  .push-table .push-table-row .editButtons.actionButtonWrap {
    justify-content: flex-end;
    border-top: 1px solid var(--borderColor, #dee2e6);
    padding-top: 0.5rem;
  }
}

input[type=color] {
  height: 50px;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  padding: 5px;
}

.dropdown {
  padding: 0;
}
.dropdown.open .dropdown-menu {
  display: block;
}
.dropdown .dropdown-toggle {
  width: 100%;
  padding: 0.75rem 0.75rem;
  color: var(--inputTextColor);
  border: 2px solid var(--buttonBackgroundColor);
  background: var(--inputBackgroundColor);
  cursor: pointer;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dropdown .palette {
  display: flex;
  gap: 2px;
}
.dropdown .dropdown-menu {
  position: absolute;
  top: calc(70% + 4px);
  left: 0;
  width: 100%;
  background: var(--inputBackgroundColor);
  border: 2px solid var(--buttonBackgroundColor);
  border-radius: 0.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  display: none;
  max-height: 220px;
  overflow-y: auto;
  z-index: 10;
}
.dropdown .dropdown.open .dropdown-menu {
  display: block;
}
.dropdown .dropdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
}
.dropdown .dropdown-item:hover {
  color: var(--textColor);
  background: var(--lightColor);
}
.dropdown .dot {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.colorGroup {
  display: flex;
  width: 90px; /* celková šířka */
  height: 56px; /* výška obdélníku */
  border-radius: 10px; /* zaoblené rohy celého obdélníku */
  overflow: hidden; /* aby barvy nerušily zaoblení */
  border: 1px solid var(--lightColor); /* jemný rámeček */
}
.colorGroup div {
  flex: 1;
}
.colorGroup .color2 {
  flex: 1.1;
}

.vehicleNumberBox.largeText .vehicleNumber {
  font-size: x-large;
}
.vehicleNumberBox.tram .vehicleNumber {
  background-color: var(--tramColor);
  color: var(--vehicleBoxTextColor);
}
.vehicleNumberBox.trolley .vehicleNumber {
  background-color: var(--trolleyColor);
  color: var(--vehicleBoxTextColor);
}
.vehicleNumberBox.bus .vehicleNumber {
  background-color: var(--busColor);
  color: var(--vehicleBoxTextColor);
}
.vehicleNumberBox.ebus .vehicleNumber {
  background-color: var(--ebusColor);
  color: var(--vehicleBoxTextColor);
}
.vehicleNumberBox .vehicleNumber {
  padding: 18px;
  font-weight: 100;
  color: var(--colorWhite);
  background-color: var(--unknownColor);
  width: 100%;
  padding-top: 20px;
  padding-bottom: 22px;
}
.vehicleNumberBox .flagBadge {
  display: inline-block;
  border-radius: 8px;
  font-size: xx-large;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.vehicleNumberBox .flagBorder {
  display: flex;
  width: 100%;
  height: 4px;
  position: absolute;
  bottom: 0;
  left: 0;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  overflow: hidden;
}
.vehicleNumberBox .flagColor {
  flex: 1;
}

.detailVehicleGroup .terminateDate {
  background-color: var(--timeBackgroundColor);
  color: var(--timeColor);
  font-size: 10px;
  display: inline-block;
  padding: 5px;
  width: 100%;
  margin-top: 1px;
  text-align: center;
  border-radius: 10px;
}
.detailVehicleGroup .terminateDate i {
  padding-right: 10px;
}

.vehicleNumberBox + .terminateDate {
  margin-top: 10px;
}

.linkedVehicle {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0;
  border-bottom: none;
  justify-content: flex-start;
}
.linkedVehicle .linkedVehicleInner {
  display: flex;
  align-items: center;
}
.linkedVehicle .linkedVehicleInner .vehicleNumberBox .vehicleNumber {
  font-size: x-large;
  padding: 18px;
  font-weight: 100;
  color: var(--vehicleBoxTextColor);
  width: 100%;
  padding-top: 19px;
  padding-bottom: 20px;
}
.linkedVehicle .linkedVehicleInner .vehicleNumberBox .vehicleNumber .flagBorder {
  height: 4px;
}
.linkedVehicle .linkedVehicleInner .plus {
  font-size: x-large;
  font-weight: normal;
}
.linkedVehicle .vehicleNumberBox .vehicleNumber {
  font-size: small;
}
.linkedVehicle .vehicleNumberBox .vehicleNumber .flagBorder {
  height: 2px;
}
.linkedVehicle .plus {
  padding: 0 10px;
  font-size: small;
  align-items: initial;
  font-weight: bold;
}
.linkedVehicle .problemText {
  margin: 5px 10px;
}

#statisticCanvas {
  background-color: var(--colorWhite);
  border-radius: 10px;
}

/* ══════════════════════════════════════════════════════════════════════════════
   ── NOTIFICATION RULES (Pravidla notifikací) ──
   ══════════════════════════════════════════════════════════════════════════════ */
/* ── Error alert ── */
.notification-error-alert {
  background: #ffe0e0;
  border: 1px solid #c00;
  padding: 8px 12px;
  margin-bottom: 8px;
}

/* ── Základní sekce ── */
.notification-section {
  border: 1px solid #ddd;
  padding: 10px 14px;
  margin-bottom: 0;
  background: var(--lighterBackgroundColor);
}

.notification-section-header {
  font-weight: bold;
  margin-bottom: 4px;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.notification-section-header .ntf-section-title {
  display: flex;
  align-items: baseline;
  gap: 0.35em;
  flex: 1;
  min-width: 0;
}
.notification-section-header .ntf-section-arrow {
  display: inline-block;
  font-size: 0.75em;
  color: var(--middleColor);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 0.5em;
}

.notification-section-body {
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.2s ease;
  max-height: 0;
  opacity: 0;
}
.notification-section-body.ntf-section-open {
  max-height: 2000px;
  opacity: 1;
  overflow: visible;
}

.notification-section-header.ntf-section-expanded .ntf-section-arrow {
  transform: rotate(90deg);
}

.notification-form-wrap {
  margin-bottom: 20px;
  /* ── Custom checkbox styling ── */
}
.notification-form-wrap .form-check {
  position: relative;
  padding-left: 0;
  margin-bottom: 0;
}
.notification-form-wrap .form-check .form-check-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.notification-form-wrap .form-check .form-check-input:checked ~ .form-check-label {
  background: var(--buttonHoverBackgroundColor);
  border-color: var(--loadingBlinkingColor2);
  line-height: 1rem;
}
.notification-form-wrap .form-check .form-check-input:checked ~ .form-check-label:before {
  background: var(--maxLightColor);
  border-color: var(--loadingBlinkingColor1);
}
.notification-form-wrap .form-check .form-check-input:checked ~ .form-check-label:after {
  opacity: 1;
  transform: translateY(-55%) rotate(45deg) scale(1);
}
.notification-form-wrap .form-check .form-check-input:disabled ~ .form-check-label {
  cursor: not-allowed;
  opacity: 0.5;
}
.notification-form-wrap .form-check .form-check-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 14px;
  background: var(--lightColor);
  border: 2px solid #dee2e6;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  transition: background 0.15s ease, border-color 0.15s ease;
  user-select: none;
  min-height: 44px;
  box-sizing: border-box;
}
.notification-form-wrap .form-check .form-check-label:hover {
  background: var(--middleLightColor);
  border-color: var(--lightColor);
}
.notification-form-wrap .form-check .form-check-label:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #6c757d;
  border-radius: 4px;
  background: #fff;
  transition: background 0.15s ease, border-color 0.15s ease;
  flex-shrink: 0;
  box-sizing: border-box;
}
.notification-form-wrap .form-check .form-check-label:after {
  content: "";
  position: absolute;
  left: 23px;
  top: 50%;
  width: 6px;
  height: 11px;
  border: solid var(--maxDarkColor);
  border-width: 0 2px 2px 0;
  transform: translateY(-55%) rotate(45deg) scale(0);
  transition: opacity 0.15s ease, transform 0.15s ease;
  opacity: 0;
}

.styled-checkbox {
  position: relative;
  padding-left: 0;
  margin-bottom: 0;
}
.styled-checkbox .form-check-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 20px;
  height: 20px;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  margin: 0;
}
.styled-checkbox .form-check-input:checked ~ .form-check-label {
  background: var(--buttonHoverBackgroundColor);
  border-color: var(--loadingBlinkingColor2);
}
.styled-checkbox .form-check-input:checked ~ .form-check-label:before {
  background: var(--maxLightColor);
  border-color: var(--loadingBlinkingColor1);
}
.styled-checkbox .form-check-input:checked ~ .form-check-label:after {
  opacity: 1;
  transform: translateY(-55%) rotate(45deg) scale(1);
}
.styled-checkbox .form-check-input:checked ~ .form-check-label a {
  color: var(--maxDarkColor);
  text-decoration: underline;
}
.styled-checkbox .form-check-input:disabled ~ .form-check-label {
  cursor: not-allowed;
  opacity: 0.5;
}
.styled-checkbox .form-check-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 10px 14px;
  background: var(--lightColor);
  border: 2px solid #dee2e6;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  transition: background 0.15s ease, border-color 0.15s ease;
  user-select: none;
  min-height: 44px;
  box-sizing: border-box;
  width: 100%;
}
.styled-checkbox .form-check-label:hover {
  background: var(--middleLightColor);
  border-color: #adb5bd;
}
.styled-checkbox .form-check-label:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #6c757d;
  border-radius: 4px;
  background: #fff;
  transition: background 0.15s ease, border-color 0.15s ease;
  flex-shrink: 0;
  box-sizing: border-box;
}
.styled-checkbox .form-check-label:after {
  content: "";
  position: absolute;
  left: 23px;
  top: 50%;
  width: 6px;
  height: 11px;
  border: solid var(--maxDarkColor);
  border-width: 0 2px 2px 0;
  transform: translateY(-55%) rotate(45deg) scale(0);
  transition: opacity 0.15s ease, transform 0.15s ease;
  opacity: 0;
}

.notification-email-disabled {
  opacity: 0.45;
}

/* ── Time select (hodiny:minuty) ── */
.time-select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 8px 10px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
  justify-content: center;
}
.time-select-wrap:focus-within {
  border-color: #05b8cc;
  box-shadow: 0 0 0 3px rgba(5, 184, 204, 0.1);
}
.time-select-wrap .time-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
  text-align: center !important;
}
.time-select-wrap .time-select::-ms-expand {
  display: none;
}
.time-select-wrap .time-select option {
  background: #fff;
  color: #1f2937;
}
.time-select-wrap .time-select option[value=""] {
  color: #9ca3af;
}
.time-select-wrap .time-separator {
  font-size: 18px;
  font-weight: 500;
  color: #6b7280;
  user-select: none;
}

/* ── Chipy ── */
.chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  min-height: 28px;
}

.ntf-chip {
  display: inline-flex;
  align-items: center;
  background: var(--importantColor);
  border-radius: 12px;
  padding: 2px 10px;
  font-size: 0.87em;
  font-weight: 500;
  color: var(--colorWhite);
}

.ntf-chip-del {
  background: none;
  border: none;
  color: var(--colorWhite);
  cursor: pointer;
  padding: 0 0 0 6px;
  line-height: 1;
}

.chip-input-row {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.chip-input-wrapper {
  position: relative;
}

/* ── Autocomplete dropdown ── */
.autocomplete-dropdown {
  position: absolute;
  z-index: 1000;
  background: var(--inputBackgroundColor);
  border: 1px solid var(--buttonBackgroundColor);
  border-top: none;
  max-height: 200px;
  overflow-y: auto;
  width: 100%;
  display: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.autocomplete-dropdown.show {
  display: block;
}

.autocomplete-item {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid var(--inputTextColor);
  color: var(--inputTextColor);
}
.autocomplete-item:hover, .autocomplete-item.active {
  background: var(--middleLightColor);
}
.autocomplete-item:last-child {
  border-bottom: none;
}

/* ── Klíčová slova ── */
.notification-keywords code.ntf-keyword {
  cursor: pointer;
  margin-right: 3px;
}
.notification-keywords code.ntf-keyword:hover {
  background: #d4f1f4;
}

/* ── Accordion ── */
.accordion {
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  background: var(--lighterColor);
}

.accordion-item {
  border-bottom: 1px solid #ccc;
}
.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  margin: 0;
}

.accordion-button {
  width: 100%;
  text-align: left;
  background: #f5f5f5;
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 1.05em;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
  color: #333;
}
.accordion-button:hover {
  background: #e8e8e8;
}
.accordion-button:not(.collapsed) {
  background: var(--importantColor);
  color: var(--maxDarkColor);
}
.accordion-button::after {
  content: "▼";
  font-size: 0.8em;
  transition: transform 0.2s;
  margin-left: auto;
}
.accordion-button.collapsed::after {
  transform: rotate(-90deg);
}

.accordion-collapse {
  overflow: hidden;
  transition: height 0.3s ease;
}
.accordion-collapse:not(.show) {
  display: none;
}

.accordion-body {
  padding: 16px;
  background: var(--lighterColor);
}
.accordion-body .justify-content-evenly {
  justify-content: space-evenly;
}
.accordion-body code {
  color: var(--importantColor);
}

/* ── Karta pravidla ── */
.notification-rule-card {
  border: 1px solid #ccc;
  padding: 4px 8px;
  margin-bottom: 6px;
}

.rule-inactive {
  opacity: 0.55;
}

.rule-even {
  background: var(--lightColor);
}

.rule-active {
  border-color: var(--importantColor);
}

.rule-odd {
  background: var(--lighterColor);
}

.badge-inactive {
  background: #aaa;
  color: #fff;
  border-radius: 8px;
  padding: 1px 7px;
  font-size: 0.75em;
  display: inline-block;
}

/* ── Akční tlačítka v přehledu ── */
.actionButtonWrap {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.actionButtonWrap .profile-btn-action {
  background: #05b5c6;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
}
.actionButtonWrap .profile-btn-action:hover {
  background: #049aaa;
}
.actionButtonWrap .profile-btn-delete {
  background: #dc3545;
}
.actionButtonWrap .profile-btn-delete:hover {
  background: #c82333;
}

/* ── Mobilní optimalizace ── */
@media (max-width: 576px) {
  .notification-section-header {
    font-size: 0.9em;
  }
  .notification-section {
    padding: 10px 8px;
    /*        .time-select-wrap {
                padding: 10px 12px !important;

                .time-select {
                    font-size: 18px !important;
                    min-width: 42px !important;
                }

                .time-separator {
                    font-size: 20px !important;
                }
            }
    */
    /*        .row.mt-2 {
                flex-direction: column;

                > div[class*="col-sm-"] {
                    width: 100% !important;
                    max-width: 100% !important;
                    padding-left: 12px !important;
                    padding-right: 12px !important;
                    margin-bottom: 8px;

                    &:last-child {
                        margin-bottom: 0;
                    }
                }
            }*/
  }
  .notification-section input[type=date] {
    font-size: 14px !important;
    padding: 8px !important;
  }
  .notification-section label {
    font-size: 13px;
    margin-bottom: 3px;
    display: block;
    font-weight: 500;
  }
  .notification-section .form-check .form-check-label {
    font-size: 15px !important;
    padding: 10px 16px !important;
    min-height: 48px !important;
    width: 100%;
    min-width: 100px;
    justify-content: flex-start;
  }
  .notification-section .form-check .form-check-label:after {
    left: 25px !important;
    top: 24px !important;
  }
  .notification-section .row.mt-2:has(input[type=date]) {
    flex-direction: row !important;
  }
  .chip-input-row {
    flex-direction: column;
    align-items: stretch;
  }
  .chip-input-row .chip-input,
  .chip-input-row select,
  .chip-input-row button {
    width: 100%;
  }
  .chip-input-wrapper {
    flex: 1 1 auto;
    width: 100%;
  }
  .actionButtonWrap {
    justify-content: center;
  }
  #vehicle_types_select {
    padding: 8px !important;
    line-height: 1.4 !important;
    height: 57px !important;
  }
  select.text-field {
    padding: 8px !important;
    height: 57px !important;
  }
  .accordion-button {
    padding: 10px 12px !important;
  }
  .notification-keywords code.ntf-keyword {
    font-size: 10px !important;
    padding: 2px 4px !important;
    margin-bottom: 2px !important;
    display: inline-block;
  }
  #rule_name {
    font-size: 14px !important;
    padding: 10px !important;
  }
  .notification-form-wrap .row.mb-2 .col-sm-3,
  .notification-form-wrap .row.mb-2 .col-sm-4,
  .notification-form-wrap .row.mb-2 .col-sm-9,
  .notification-form-wrap .row.mb-3 .col-sm-3,
  .notification-form-wrap .row.mb-3 .col-sm-4,
  .notification-form-wrap .row.mb-3 .col-sm-9 {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 8px;
  }
  .notification-form-wrap .row.mb-2 .col-sm-3:last-child,
  .notification-form-wrap .row.mb-2 .col-sm-4:last-child,
  .notification-form-wrap .row.mb-2 .col-sm-9:last-child,
  .notification-form-wrap .row.mb-3 .col-sm-3:last-child,
  .notification-form-wrap .row.mb-3 .col-sm-4:last-child,
  .notification-form-wrap .row.mb-3 .col-sm-9:last-child {
    margin-bottom: 0;
  }
}
/* ── Notifikace – collapse pro soupravy ─────────────────────────────────── */
.ntf-collapse-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  user-select: none;
}
.ntf-collapse-toggle:hover {
  color: #444 !important;
}
.ntf-collapse-toggle .ntf-collapse-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
  font-size: 0.75em;
}

.ntf-collapsible {
  display: none;
  overflow: hidden;
}
.ntf-collapsible.ntf-collapsible-open {
  display: block;
}

.ntf-collapse-toggle.ntf-collapse-open .ntf-collapse-arrow {
  transform: rotate(90deg);
}

i.fas.fa-crown.vip {
  color: var(--vipColor);
}

.vip-card {
  border: 2px solid var(--vipColor);
  border-radius: 10px;
  padding: 1.5em 1.5em 1.2em;
  background: linear-gradient(135deg, rgba(255, 170, 86, 0.12) 0%, rgba(255, 170, 86, 0.04) 100%);
  display: flex;
  flex-direction: column;
  gap: 0.6em;
}
.vip-card .vip-crown {
  font-size: 2.2em;
  line-height: 1;
}
.vip-card .vip-title {
  font-size: 1.35em;
  font-weight: 700;
  color: var(--vipColor);
}
.vip-card .vip-validity {
  font-size: 0.92em;
  color: var(--maxDarkColor);
}
.vip-card .vip-validity strong {
  color: var(--textColor);
}
.vip-card .vip-days-left {
  color: var(--maxDarkColor);
}

.vip-promo {
  border: 1px solid var(--dividerColor);
  border-radius: 10px;
  padding: 1.4em 1.5em;
  display: flex;
  flex-direction: column;
  gap: 0.7em;
}
.vip-promo .vip-promo-header {
  font-size: 1.1em;
  font-weight: 700;
}
.vip-promo ul {
  margin: 0.3em 0 0 1.2em;
  padding: 0;
}
.vip-promo ul li {
  margin-bottom: 0.3em;
}

.vip-price {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--vipColor);
}
.vip-price small {
  font-size: 0.55em;
  font-weight: 400;
  color: var(--middleColor);
}

.profile-btn-vip {
  background: var(--vipColor) !important;
  color: #000 !important;
}
.profile-btn-vip:hover {
  text-decoration: none;
  background: #e89440 !important;
}

.vip-expiry-banner {
  padding: 1em;
  border: 2px solid var(--vipColor);
}

.vip-expiry-btn {
  white-space: nowrap;
  margin-left: 1em;
  font-size: 0.9em;
  padding: 0.4em 0.9em;
}

.info-sibling-tabs {
  border-bottom: none;
  margin-bottom: 0;
}
.info-sibling-tabs .nav-link {
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  color: var(--maxDarkColor);
  padding: 0.4em 0.8em;
  font-size: 0.9em;
}
.info-sibling-tabs .nav-link.active {
  border-color: var(--dividerColor) var(--dividerColor) var(--maxLightColor);
  color: var(--textColor);
  background: var(--maxLightColor);
}
.info-sibling-tabs .nav-link:not(.active):hover {
  border-color: var(--dividerColor) var(--dividerColor) transparent;
  color: var(--maxDarkColor);
}

@media (max-width: 576px) {
  .nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3em;
    padding-bottom: 0.5em;
    border-bottom: none;
  }
  .nav-tabs .nav-item {
    flex: 0 0 auto;
  }
  .nav-tabs .nav-link {
    border: 1px solid var(--dividerColor) !important;
    border-radius: 6px !important;
    padding: 0.3em 0.7em;
    font-size: 0.82em;
    color: var(--maxDarkColor);
  }
  .nav-tabs .nav-link.active {
    background: var(--maxLightColor);
    border-color: var(--dividerColor) !important;
    font-weight: 700;
  }
  .nav-tabs .nav-link:not(.active) {
    background: transparent;
    border-color: var(--dividerColor) !important;
  }
  .tab-content.border-top-0 {
    border: 1px solid var(--dividerColor) !important;
    border-radius: 6px !important;
  }
  #infoSiblingTabContent {
    border-radius: 6px;
  }
}
#infoSiblingTabContent {
  border: 1px solid var(--dividerColor);
  border-radius: 0 6px 6px 6px;
  padding: 1.4em 1.6em;
  background: var(--maxLightColor);
}
#infoSiblingTabContent .tab-pane {
  display: none;
}
#infoSiblingTabContent .tab-pane.active {
  display: block;
}

#infoSiblingTabContent a {
  color: var(--importantColor);
}

code {
  color: var(--importantColor);
}

p a {
  color: var(--importantColor);
}
p a:hover {
  color: var(--buttonHoverBackgroundColor);
}

.vip-price {
  font-size: larger;
}

#infoSiblingTabContent table {
  width: 100%;
}
#infoSiblingTabContent table tr td {
  border: 1px solid var(--dividerColor);
  padding: 8px;
}
#infoSiblingTabContent ul {
  list-style: disc;
  padding-left: 2em;
}
#infoSiblingTabContent li {
  padding-left: 0.5em;
}

.vip-promo-pending {
  background: var(--statusStoppedMessageBackgroundColor);
  border: 2px solid var(--warningColor);
  padding: 1em 1.2em;
  text-align: center;
}
.vip-promo-pending .vip-promo-pending-title {
  font-size: 1.05em;
  font-weight: 700;
  color: var(--warningColor);
  margin-bottom: 0.4em;
}
.vip-promo-pending p {
  margin: 0;
  font-size: 0.9em;
}

.ntf-no-push-warning {
  background-color: var(--statusRestoringBackgroundColor);
  border: 1px solid var(--maybeColor);
  color: var(--maxDarkColor);
  padding: 0.5em 0.9em;
  font-size: 0.9em;
}
.ntf-no-push-warning a {
  color: var(--importantColor);
  font-weight: 500;
}

.ntf-push-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.maintenance-status-active {
  background-color: var(--warningColorLight);
  color: var(--maxLightColor);
  border: 1px solid var(--warningColor);
  padding: 0.6em 1em;
  margin-bottom: 0.75em;
}

.maintenance-status-inactive {
  background-color: var(--okColorBackground, var(--lightColor));
  color: var(--maxDarkColor);
  border: 1px solid var(--okColorDark);
  padding: 0.6em 1em;
  margin-bottom: 0.75em;
}

.maintenance-wrap {
  border: 1px solid var(--dividerColor);
  background: var(--lightColor);
}

.maintenance-btn-disable {
  background-color: var(--okColorDark) !important;
  color: var(--maxLightColor) !important;
}

.maintenance-info {
  border: 1px solid var(--dividerColor);
  padding: 0.9em 1.1em;
  font-size: 0.9em;
  color: var(--middleColor);
}
.maintenance-info code {
  color: var(--importantColor);
}
.maintenance-info .maintenance-info-list {
  list-style: disc;
  padding-left: 1.5em;
  margin-top: 0.5em;
}

.admin-user-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1em;
  margin-bottom: 0.5em;
}
.admin-user-header .admin-user-header-left {
  flex: 1 1 auto;
  min-width: 0;
}
.admin-user-header .admin-user-header-left h1 {
  margin-bottom: 0;
}
.admin-user-header .admin-user-header-left p {
  margin: 0;
}
.admin-user-header .admin-user-header-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.admin-user-header .admin-user-header-right form {
  margin: 0;
}
@media (max-width: 576px) {
  .admin-user-header {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-user-header .admin-user-header-right .btn-impersonate {
    width: 100%;
  }
}

.btn-impersonate {
  background-color: var(--maybeColor);
  color: var(--maxDarkColor);
  white-space: nowrap;
  font-size: 1rem;
  padding: 0.5em 1em;
  border: 1px solid var(--dividerColor);
}
.btn-impersonate:hover, .btn-impersonate:focus {
  background-color: var(--warningColorLight);
  color: var(--maxLightColor);
}

.impersonation-banner {
  background-color: var(--warningColor);
  color: var(--maxLightColor);
  padding: 0.5em 1em;
  font-size: 0.9em;
  text-align: center;
  margin-bottom: 0.75em;
}
.impersonation-banner .impersonation-banner-logout {
  margin-left: 1em;
  color: var(--maxLightColor);
  font-weight: 700;
  text-decoration: underline;
}
@media (max-width: 576px) {
  .impersonation-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4em;
    text-align: center;
  }
  .impersonation-banner .impersonation-banner-logout {
    margin-left: 0;
  }
}

.error-log-meta {
  font-size: 0.9em;
  color: var(--maxDarkColor);
}

.error-log-btn-clear {
  padding: 0.5em 1em;
  border: 1px solid var(--maxLightColor);
  background-color: var(--warningColor) !important;
  color: var(--colorWhite) !important;
}

.error-log-empty {
  padding: 1.2em;
  border: 1px solid var(--dividerColor);
  color: var(--maxDarkColor);
  font-size: 0.95em;
}

.error-log-block {
  border: 1px solid var(--dividerColor);
  margin-bottom: 0.6em;
  overflow: hidden;
}
.error-log-block .error-log-block-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  align-items: baseline;
  padding: 0.55em 0.9em;
  background: var(--lighterBackgroundColor);
  cursor: pointer;
  user-select: none;
}
.error-log-block .error-log-block-header:hover {
  background: var(--lightColor);
}
.error-log-block .error-log-block-left {
  display: flex;
  gap: 0.7em;
  align-items: baseline;
  flex-shrink: 0;
}
.error-log-block .error-log-block-right {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.error-log-block .error-log-date {
  font-size: 0.8em;
  color: var(--middleColor);
  white-space: nowrap;
}
.error-log-block .error-log-class {
  font-size: 0.85em;
  font-weight: 600;
  color: var(--warningColor);
  white-space: nowrap;
}
.error-log-block .error-log-msg {
  font-size: 0.85em;
  color: var(--color-text);
}
.error-log-block .error-log-detail {
  display: none;
  padding: 0.8em 1em;
  background: var(--maxDarkColor, #1a1a1a);
}
.error-log-block .error-log-detail.error-log-detail-open {
  display: block;
}
.error-log-block .error-log-pre {
  margin: 0;
  font-size: 0.78em;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-all;
  color: var(--maxLightColor, #eee);
  background: transparent;
  border: none;
}

.error-log-selected-title {
  font-size: 1em;
  font-weight: 600;
  color: var(--middleColor);
  margin-bottom: 0.6em;
}

.error-log-file-list {
  border: 1px solid var(--dividerColor);
  overflow: hidden;
}

.error-log-file-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--dividerColor);
}
.error-log-file-item:last-child {
  border-bottom: none;
}
.error-log-file-item.error-log-file-active {
  background: var(--lighterBackgroundColor);
}
.error-log-file-item.error-log-file-active .error-log-file-name {
  font-weight: 700;
}
.error-log-file-item .error-log-file-link {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 0.7em;
  padding: 0.45em 0.9em;
  text-decoration: none;
  color: var(--color-text);
  overflow: hidden;
}
.error-log-file-item .error-log-file-link:hover {
  background: var(--lightColor);
}
.error-log-file-item .error-log-file-name {
  font-size: 0.88em;
  white-space: nowrap;
}
.error-log-file-item .error-log-file-meta {
  font-size: 0.78em;
  color: var(--middleColor);
  white-space: nowrap;
}
.error-log-file-item .error-log-file-del-form {
  margin: 0;
  padding: 0;
}
.error-log-file-item .error-log-file-del-btn {
  background: none;
  border: none;
  border-left: 1px solid var(--dividerColor);
  color: var(--middleColor);
  cursor: pointer;
  padding: 0.55em 0.8em;
  font-size: 1.1em;
  line-height: 1;
  height: 100%;
}
.error-log-file-item .error-log-file-del-btn:hover {
  color: var(--warningColor);
  background: var(--lightColor);
}

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
  background: var(--lighterBackgroundColor);
  color: var(--color-text);
  border-color: var(--dividerColor) !important;
}

.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {
  border-color: var(--dividerColor) !important;
}

textarea::placeholder,
input::placeholder {
  color: var(--rootColor);
  opacity: 0.5;
}

div#profileTabContent,
.nav-tabs,
.notification-form-wrap .form-check .form-check-label,
.notification-section,
.tab-content {
  border-color: var(--dividerColor) !important;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-table {
  min-width: 600px;
}
.admin-table > .row {
  flex-wrap: nowrap;
}
.admin-table .admin-table__header {
  padding: 0.4em 0;
  border-bottom: 2px solid var(--middleColor);
  font-weight: 700;
  font-size: 0.85em;
}
.admin-table .admin-table__row {
  padding: 0.4em 0;
  border-bottom: 1px solid var(--dividerColor);
  font-size: 0.9em;
}
.admin-table .admin-table__sub {
  display: block;
  color: var(--middleColor);
  font-size: 0.85em;
}
.admin-table .admin-table__btn {
  display: inline-block;
  padding: 0.2em 0.6em;
  font-size: 0.85em;
  text-decoration: none;
}
.admin-table .admin-table__btn--danger {
  background: var(--warningColor);
  color: #fff;
}

.admin-pagination {
  text-align: center;
  margin-top: 1rem;
}
.admin-pagination__btn {
  display: inline-block;
  padding: 0.3em 0.8em;
  margin: 0.2em;
  text-decoration: none;
}
.admin-pagination__info {
  display: inline-block;
  padding: 0.3em 0.8em;
  color: var(--middleColor);
}

.admin-filter-tabs {
  flex-wrap: wrap;
  gap: 0.2em;
  border-bottom: 1px solid var(--dividerColor);
  margin-bottom: 1rem;
}
.admin-filter-tabs .nav-item {
  margin-bottom: -1px;
}
.admin-filter-tabs .nav-link {
  color: var(--color-text);
  border: 1px solid transparent;
  border-radius: 4px 4px 0 0;
  padding: 0.3em 0.9em;
  font-size: 0.9em;
  text-decoration: none;
}
.admin-filter-tabs .nav-link:hover, .admin-filter-tabs .nav-link:focus {
  border-color: var(--dividerColor);
  background: var(--lighterBackgroundColor);
}
.admin-filter-tabs .nav-link.active {
  background: var(--lighterBackgroundColor);
  border-color: var(--dividerColor) var(--dividerColor) var(--lighterBackgroundColor);
  font-weight: 600;
}

.modal .modal-content {
  background: var(--maxLightColor);
  color: var(--maxDarkColor);
}
.modal .modal-header {
  border-bottom: 1px solid var(--dividerColor);
}
.modal .modal-footer {
  border-top: 1px solid var(--dividerColor);
}
.modal .close {
  color: var(--maxDarkColor);
  text-shadow: none;
}

/* ========================================================================
   JDF Timetable Styles (jízdní řády)
   ======================================================================== */
/* Common wrapper */
.jdf-wrap {
  padding: 0 8px;
  min-width: 0;
  overflow-x: hidden;
}

/* Header for line page */
.jdf-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0 8px;
}

.jdf-line-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--maxDarkColor);
  background-color: var(--middleLightColor);
  font-size: 1.3rem;
  font-weight: bold;
  padding: 0 6px;
}

.jdf-header-info h2 {
  margin: 0;
  font-size: 1.1rem;
}
.jdf-header-info small {
  color: var(--middleColor);
  font-size: 0.8rem;
}

/* Header for stop page */
.jdf-stop-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.jdf-stop-icon {
  font-size: 1.6rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--middleLightColor);
  color: var(--maxDarkColor);
  white-space: nowrap;
}

.jdf-stop-info h2 {
  margin: 0 0 2px;
  font-size: 1.1rem;
}
.jdf-stop-info small {
  color: var(--middleColor);
  font-size: 0.8rem;
}

/* Date navigation */
.jdf-date-nav {
  padding: 6px 0 10px;
}
.jdf-date-nav form {
  margin: 0;
}
.jdf-date-nav .jdf-date-arrow {
  padding: 8px 16px;
  border: 2px solid var(--buttonBackgroundColor);
  border-radius: 4px;
  text-decoration: none;
  color: var(--colorBlack);
  font-size: 1rem;
  font-weight: 600;
  background-color: var(--inputBackgroundColor);
}
.jdf-date-nav .jdf-date-arrow:hover {
  background: var(--buttonHoverBackgroundColor);
  color: var(--buttonTextColor);
}
.jdf-date-nav .inputAndLabel {
  display: flex;
  align-items: center;
  gap: 8px;
}
.jdf-date-nav .inputAndLabel label {
  font-size: 1rem;
  color: var(--maxDarkColor);
  font-weight: 600;
  padding: 0 0.5em;
}
.jdf-date-nav .inputAndLabel input.textInput,
.jdf-date-nav .inputAndLabel input.dateFilter {
  padding: 12px 1.5em;
  margin: 0;
  border: 2px solid var(--buttonBackgroundColor);
  background-color: var(--inputBackgroundColor);
  color: var(--inputTextColor);
  font-size: 1rem;
  text-align: center;
  width: 10em;
}
.jdf-date-nav .submitFilter {
  padding: 12px 16px;
  font-size: 1.1rem;
  min-width: auto;
}
.jdf-date-nav .submitFilter i.icon-large {
  font-size: 1.1rem;
}
.jdf-date-nav .jdf-timetables-link {
  padding: 12px 16px;
  font-size: 1rem;
  text-decoration: none;
  margin-left: 8px;
  font-weight: 600;
}
.jdf-date-nav .jdf-timetables-link i {
  font-size: 1.1rem;
  margin-right: 4px;
}

.jdf-date-nav-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.jdf-daytype {
  font-size: 1rem;
  color: var(--textColor);
  font-weight: 600;
  padding: 0 0.5em;
}

/* Line selector */
.jdf-line-selector {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  align-items: center;
}
.jdf-line-selector strong {
  font-size: 0.8rem;
  margin-right: 4px;
}
.jdf-line-selector a {
  padding: 2px 10px;
  border-radius: 4px;
  background: var(--lighterBackgroundColor);
  color: var(--maxDarkColor);
  font-size: 0.9rem;
  font-weight: bold;
  text-decoration: none;
  border: 1px solid var(--middleLightColor);
}
.jdf-line-selector a:hover, .jdf-line-selector a.active {
  background: var(--buttonHoverBackgroundColor);
  color: var(--buttonTextColor);
  border-color: var(--buttonHoverBackgroundColor);
}

/* Day tabs (for line page) */
.jdf-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--lighterBackgroundColor);
  padding-bottom: 0;
}

.jdf-tab {
  padding: 6px 14px;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  font-size: 0.88rem;
  background: none;
  color: var(--middleColor);
  position: relative;
  bottom: -2px;
  transition: color 0.15s;
}
.jdf-tab:hover {
  color: var(--foregroundColor);
}
.jdf-tab.active {
  border-color: var(--lighterBackgroundColor);
  border-bottom-color: var(--backgroundColor);
  background: var(--backgroundColor);
  color: var(--foregroundColor);
  font-weight: bold;
}

/* Day tabs (for stop page) */
.jdf-stop-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}
.jdf-stop-tabs .jdf-tab {
  padding: 4px 12px;
  border: 1px solid var(--middleLightColor);
  border-radius: 4px;
  background: var(--buttonBackgroundColor);
  color: var(--buttonTextColor);
  cursor: pointer;
  font-size: 0.82rem;
}
.jdf-stop-tabs .jdf-tab:hover {
  opacity: 0.85;
}
.jdf-stop-tabs .jdf-tab.active {
  background: var(--activeTabBackgroundColor, var(--middleLightColor));
  color: var(--activeTabColor, var(--foregroundColor));
  font-weight: bold;
  border-color: var(--middleColor);
}

/* Tab sections */
.jdf-section {
  display: none;
}
.jdf-section.active {
  display: block;
}

/* Direction in line page */
.jdf-direction {
  margin-bottom: 24px;
}

.jdf-direction-title {
  font-weight: bold;
  margin-bottom: 6px;
  font-size: 1rem;
}

/* Direction selector (for stop page) */
.jdf-dir-selector {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  align-items: center;
}
.jdf-dir-selector strong {
  font-size: 0.8rem;
  margin-right: 4px;
  color: var(--textColor);
}

.jdf-dir-btn {
  padding: 4px 12px;
  border-radius: 4px;
  background: var(--lighterBackgroundColor);
  color: var(--maxDarkColor);
  font-size: 0.85rem;
  cursor: pointer;
  border: 1px solid var(--middleLightColor);
  user-select: none;
}
.jdf-dir-btn:hover, .jdf-dir-btn.active {
  background: var(--buttonHoverBackgroundColor);
  color: var(--buttonTextColor);
  border-color: var(--buttonHoverBackgroundColor);
}

.jdf-dir-panel {
  display: none;
}
.jdf-dir-panel.active {
  display: block;
}

/* Stop list sidebar (for stop page) */
.jdf-stop-page {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.jdf-stop-list {
  min-width: 140px;
  flex: 0 0 140px;
}
.jdf-stop-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
}
.jdf-stop-list ul li a {
  display: block;
  padding: 3px 6px;
  border-radius: 4px;
  color: var(--maxDarkColor);
  text-decoration: none;
}
.jdf-stop-list ul li a:hover {
  background: var(--buttonHoverBackgroundColor);
  color: var(--buttonTextColor);
}
.jdf-stop-list ul li a.current {
  background: var(--middleLightColor);
  font-weight: bold;
}
.jdf-stop-list ul li.highlight-stop > a {
  background-color: color-mix(in srgb, var(--extraColor) 60%, transparent);
  border-radius: 3px;
}
.jdf-stop-list ul li.highlight-stop > a.current {
  background-color: color-mix(in srgb, var(--extraColor) 100%, transparent);
}
.jdf-stop-list ul li.is-terminus > a, .jdf-stop-list ul li.is-origin > a {
  font-weight: 600;
}

.jdf-stop-list-title {
  font-size: 0.7rem;
  color: var(--textColor);
  margin-bottom: 4px;
  padding-left: 4px;
}

.jdf-stop-list-dir {
  /* Container for direction-specific stop list */
}

.stop-terminus-note {
  font-size: 0.7rem;
  font-weight: bold;
  margin-left: 2px;
}

.stop-route-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-left: 5px;
  vertical-align: middle;
  flex-shrink: 0;
}
.stop-route-dot--origin {
  background: transparent !important;
  border: 1.5px solid;
}

/* Departure tables */
.jdf-departures {
  flex: 1;
  min-width: 0;
}

/* Table wrapper with horizontal scroll */
.jdf-table-wrap,
.jdf-dep-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

/* Block mobilni.css override of vertical table display */
table.jdf,
table.jdf thead,
table.jdf tbody,
table.jdf tr,
table.jdf th,
table.jdf td,
table.jdf-dep,
table.jdf-dep thead,
table.jdf-dep tbody,
table.jdf-dep tr,
table.jdf-dep th,
table.jdf-dep td {
  display: revert !important;
}

table.jdf tr,
table.jdf-dep tr {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

table.jdf td:before,
table.jdf-dep td:before {
  content: none !important;
}

/* Line timetable table */
table.jdf {
  border-collapse: collapse;
  font-size: 0.82rem;
  white-space: nowrap;
}
table.jdf th,
table.jdf td {
  border: 1px solid var(--lighterBackgroundColor);
  padding: 3px 6px;
}
table.jdf th {
  background: var(--lighterBackgroundColor);
  text-align: center;
}
table.jdf th.stop-name {
  text-align: left;
  min-width: 140px;
  position: sticky;
  left: 0;
  border-right: 2px solid var(--lighterBackgroundColor);
  z-index: 1;
}
table.jdf th.trip-num {
  min-width: 42px;
  vertical-align: top;
}
table.jdf th.trip-num.col-hidden {
  display: none !important;
}
table.jdf th.trip-num.colorExtra {
  background-color: color-mix(in srgb, var(--extraColor) 30%, transparent) !important;
  box-shadow: 0 0 8px color-mix(in srgb, var(--extraColor) 20%, transparent);
}
table.jdf th .stat-delay,
table.jdf th [class^=stat-occ-] {
  display: inline-block;
}
table.jdf td.stop-name {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  position: sticky;
  left: 0;
  background: var(--maxLightColor);
  border-right: 2px solid var(--lighterBackgroundColor);
  z-index: 1;
}
table.jdf td.stop-name a {
  color: inherit;
  text-decoration: none;
}
table.jdf td.stop-name a:hover {
  text-decoration: underline;
}
table.jdf td.time {
  text-align: center;
  min-width: 36px;
  font-variant-numeric: tabular-nums;
}
table.jdf td.time.is-start, table.jdf td.time.is-end {
  font-weight: bold;
}
table.jdf td.time.is-nearest {
  background: var(--buttonHoverBackgroundColor);
  color: var(--buttonTextColor);
  border-radius: 3px;
}
table.jdf td.time.col-hidden {
  display: none !important;
}
table.jdf td.time.colorExtra {
  background-color: color-mix(in srgb, var(--extraColor) 30%, transparent) !important;
  box-shadow: 0 0 8px color-mix(in srgb, var(--extraColor) 20%, transparent);
}
table.jdf td.empty {
  color: var(--middleLightColor);
  text-align: center;
}
table.jdf td.empty.col-hidden {
  display: none !important;
}
table.jdf td.empty.colorExtra {
  background-color: color-mix(in srgb, var(--extraColor) 30%, transparent) !important;
  box-shadow: 0 0 8px color-mix(in srgb, var(--extraColor) 20%, transparent);
}

/* Departure table (stop page) */
table.jdf-dep {
  border-collapse: collapse;
  font-size: 0.8rem;
}
table.jdf-dep th,
table.jdf-dep td {
  padding: 2px 6px;
  border: 1px solid var(--middleLightColor);
  text-align: center;
  min-width: 28px;
  height: 30px;
}
table.jdf-dep th.hour {
  background: var(--timeBackgroundColor);
  color: var(--timeColor);
  font-weight: bold;
  min-width: 36px;
}
table.jdf-dep td.mins {
  text-align: left;
  min-width: 200px;
  background: var(--lighterBackgroundColor);
}
table.jdf-dep td.mins span {
  display: inline-block;
  margin: 1px 0px 1px 0;
  font-variant-numeric: tabular-nums;
}
table.jdf-dep td.mins span.dep-entry {
  margin-right: 5px;
}
table.jdf-dep td.mins a {
  text-decoration: none;
  padding: 1px 3px 0px;
  border-radius: 3px;
}
table.jdf-dep td.mins a.dep-min {
  font-weight: bold;
  margin-right: -4px;
  color: var(--maxDarkColor);
}
table.jdf-dep td.mins a:hover {
  background: var(--buttonHoverBackgroundColor);
  color: var(--buttonTextColor);
}

/* Trip codes and symbols */
.trip-code {
  display: inline-block;
  margin-left: 2px;
  font-size: 0.65rem;
  font-weight: bold;
  line-height: 1.2;
  vertical-align: super;
  color: var(--maxDarkColor);
  opacity: 0.85;
  cursor: default;
}

.dep-code {
  font-size: 0.7rem;
  vertical-align: super;
  color: var(--textColor);
  margin-left: 1px;
}

.dep-note {
  font-size: 0.7rem;
  vertical-align: super;
  font-weight: bold;
  margin-left: 0;
  cursor: default;
}

.trip-debug {
  display: inline-block;
  font-size: 0.6rem;
  color: #888;
  margin-left: 2px;
}
table.jdf .trip-debug {
  display: block;
  font-weight: normal;
  margin-top: 1px;
}

.trip-num-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 3px;
  font-weight: normal;
}

/* Service ID badge */
.dep-service {
  display: inline-block;
  font-size: 0.65rem;
  padding: 0px 4px;
  border-radius: 4px;
  border: 1px solid var(--serviceBorderColor);
  background-color: var(--serviceBackground);
  color: var(--serviceText);
  text-decoration: none;
  line-height: 1.5;
  vertical-align: middle;
  cursor: pointer;
  margin-left: 2px;
}
table.jdf .dep-service {
  font-size: 0.62rem;
  font-weight: normal;
}
.dep-service:hover {
  opacity: 0.8;
  text-decoration: none;
}
.dep-service.filtered-out {
  opacity: 0.2;
}

/* Vehicle badge */
.dep-vehicle {
  display: inline-block;
  font-size: 0.65rem;
  padding: 0px 5px;
  border-radius: 4px;
  background-color: var(--unknownColor);
  color: #fff;
  text-decoration: none;
  margin-left: 1px;
  line-height: 1.5;
  vertical-align: middle;
  font-weight: bold;
}
table.jdf .dep-vehicle {
  font-size: 0.62rem;
  padding: 0px 4px;
}
.dep-vehicle:hover {
  opacity: 0.8;
  text-decoration: none;
  color: #fff;
}
.dep-vehicle.tram {
  background-color: var(--tramColor);
  border: 1px solid var(--tramColor);
  color: var(--colorWhite);
}
.dep-vehicle.trolley {
  background-color: var(--trolleyColor);
  border: 1px solid var(--trolleyColor);
  color: var(--colorWhite);
}
.dep-vehicle.ebus {
  background-color: var(--ebusColor);
  border: 1px solid var(--ebusColor);
  color: var(--colorWhite);
}
.dep-vehicle.bus {
  background-color: var(--busColor);
  border: 1px solid var(--busColor);
  color: var(--colorWhite);
}
.dep-vehicle.unknown {
  background-color: var(--unknownColor);
  border: 1px solid var(--unknownColor);
  color: var(--colorWhite);
}
.dep-vehicle.future-vehicle {
  background-color: var(--colorWhite);
}
.dep-vehicle.future-vehicle.tram {
  border: 1px solid var(--tramColor);
  color: var(--tramColor);
}
.dep-vehicle.future-vehicle.trolley {
  border: 1px solid var(--trolleyColor);
  color: var(--trolleyColor);
}
.dep-vehicle.future-vehicle.ebus {
  border: 1px solid var(--ebusColor);
  color: var(--ebusColor);
}
.dep-vehicle.future-vehicle.bus {
  border: 1px solid var(--busColor);
  color: var(--busColor);
}
.dep-vehicle.future-vehicle.unknown {
  border: 1px solid var(--unknownColor);
  color: var(--unknownColor);
}
.dep-vehicle.filtered-out {
  opacity: 0.2;
}
.dep-vehicle + .dep-vehicle {
  margin-left: 1px;
}

a.dep-vehicle {
  color: #fff;
}

.dep-vehicle-sep {
  font-size: 0.6rem;
  color: var(--maxDarkColor);
  margin: 0 0px;
  padding-left: 1px;
  vertical-align: middle;
}
table.jdf .dep-vehicle-sep {
  font-size: 0.55rem;
}

/* Display toggle (services/vehicles) */
.jdf-display-toggle {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.8rem;
}
table.jdf ~ .jdf-display-toggle {
  margin-bottom: 8px;
}
.jdf-display-toggle strong {
  color: var(--textColor);
  margin-right: 4px;
}

.jdf-toggle-btn {
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid var(--middleLightColor);
  background: var(--lighterBackgroundColor);
  color: var(--textColor);
  cursor: pointer;
  font-size: 0.8rem;
  user-select: none;
}
.jdf-toggle-btn.active {
  background: var(--buttonHoverBackgroundColor);
  color: var(--buttonTextColor);
  border-color: var(--buttonHoverBackgroundColor);
  font-weight: bold;
}

/* Filter panel */
.jdf-filter-panel {
  margin-bottom: 12px;
  padding: 8px 10px;
  background: var(--lighterBackgroundColor);
  border-radius: 6px;
  border: 1px solid var(--middleLightColor);
}
.jdf-direction .jdf-filter-panel {
  margin-bottom: 10px;
  padding: 7px 10px;
}

.jdf-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  margin-bottom: 4px;
}
.jdf-filter-row:last-child {
  margin-bottom: 0;
}

.jdf-filter-label {
  font-size: 0.72rem;
  color: var(--textColor);
  min-width: 60px;
  flex-shrink: 0;
}

.jdf-filter-badge {
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.15s, box-shadow 0.15s;
}
.jdf-filter-badge.inactive {
  opacity: 0.3;
}
.jdf-filter-badge:hover {
  box-shadow: 0 0 0 2px var(--middleColor);
}

/* Departure entry filtering */
.dep-entry {
  display: inline-block;
  margin: 1px 4px 1px 0;
  padding: 1px 2px;
  border-radius: 3px;
  cursor: pointer;
}
.dep-entry.hidden-by-filter {
  display: none !important;
}
.dep-entry.highlight-service {
  background-color: color-mix(in srgb, var(--extraColor) 60%, transparent);
  border-radius: 3px;
  /* Preserve original colors of nested elements */
}
.dep-entry.highlight-service .dep-service {
  background-color: var(--serviceBackground) !important;
  color: var(--serviceText) !important;
  border-color: var(--serviceBorderColor) !important;
}
.dep-entry.highlight-service .dep-vehicle.tram {
  background-color: var(--tramColor) !important;
  color: #fff !important;
  border-color: var(--tramColor) !important;
}
.dep-entry.highlight-service .dep-vehicle.trolley {
  background-color: var(--trolleyColor) !important;
  color: #fff !important;
  border-color: var(--trolleyColor) !important;
}
.dep-entry.highlight-service .dep-vehicle.ebus {
  background-color: var(--ebusColor) !important;
  color: #fff !important;
  border-color: var(--ebusColor) !important;
}
.dep-entry.highlight-service .dep-vehicle.bus {
  background-color: var(--busColor) !important;
  color: #fff !important;
  border-color: var(--busColor) !important;
}
.dep-entry.highlight-service .dep-vehicle.unknown {
  background-color: var(--unknownColor) !important;
  color: #fff !important;
  border-color: var(--unknownColor) !important;
}
.dep-entry.highlight-service .dep-vehicle.future-vehicle {
  background-color: var(--colorWhite) !important;
}
.dep-entry.highlight-service .dep-vehicle.future-vehicle.tram {
  color: var(--tramColor) !important;
}
.dep-entry.highlight-service .dep-vehicle.future-vehicle.trolley {
  color: var(--trolleyColor) !important;
}
.dep-entry.highlight-service .dep-vehicle.future-vehicle.ebus {
  color: var(--ebusColor) !important;
}
.dep-entry.highlight-service .dep-vehicle.future-vehicle.bus {
  color: var(--busColor) !important;
}
.dep-entry.highlight-service .dep-vehicle.future-vehicle.unknown {
  color: var(--unknownColor) !important;
}

/* Legend */
.jdf-legend {
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--textColor);
}
.jdf-direction .jdf-legend {
  margin-top: 4px;
  padding: 4px 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.jdf-legend-item {
  margin-right: 10px;
}
.jdf-legend-item b {
  color: var(--maxDarkColor);
  vertical-align: super;
  font-weight: bold;
  margin-right: 2px;
}

/* No data / suspension messages */
.jdf-no-data,
.jdf-no-trips {
  padding: 16px;
  text-align: center;
  color: var(--middleColor);
  background: var(--lighterBackgroundColor);
  border-radius: 6px;
}

.jdf-no-trips {
  padding: 20px;
}

.jdf-suspension {
  padding: 14px 20px;
  border-radius: 6px;
  background: #fff3cd;
  border: 1px solid #ffc107;
  color: #7a5500;
  font-size: 0.97em;
  margin-top: 12px;
}
.jdf-no-data + .jdf-suspension {
  margin-top: 12px;
}

.jdf-suspension-icon {
  margin-right: 6px;
  font-size: 1.1em;
}

/* Statistics (delay and occupancy) */
.stat-delay,
.stat-occ-inside,
.stat-occ-adults,
.stat-occ-children,
.stat-occ-bike,
.stat-occ-wheels,
.stat-occ-percentage,
.stat-missing {
  display: block;
  font-size: 0.65rem;
  font-weight: normal;
  line-height: 1.3;
  margin-top: 1px;
  border-radius: 3px;
  padding: 0 2px;
  white-space: nowrap;
}

/* Delay color states */
.stat-delay.early {
  color: #1a8a3a;
  background: rgba(26, 138, 58, 0.1);
}
.stat-delay.ok {
  color: #1a7aaa;
  background: rgba(26, 122, 170, 0.1);
}
.stat-delay.warn {
  color: #b07000;
  background: rgba(255, 180, 0, 0.13);
}
.stat-delay.late {
  color: #cc2222;
  background: rgba(204, 34, 34, 0.1);
}

/* Occupancy inside color states by percentage */
.stat-occ-inside {
  color: var(--foregroundColor);
  background: rgba(128, 128, 128, 0.08);
}
.stat-occ-inside.occ-free {
  color: #1a8a3a;
  background: rgba(26, 138, 58, 0.08);
}
.stat-occ-inside.occ-busy {
  color: #b07000;
  background: rgba(255, 180, 0, 0.1);
}
.stat-occ-inside.occ-full {
  color: #cc2222;
  background: rgba(204, 34, 34, 0.08);
}

/* Other occupancy keys - neutral */
.stat-occ-adults,
.stat-occ-children {
  color: var(--foregroundColor);
  background: rgba(128, 128, 128, 0.07);
}

.stat-occ-bike {
  color: #1a7aaa;
  background: rgba(26, 122, 170, 0.08);
}

.stat-occ-wheels {
  color: #7a44aa;
  background: rgba(122, 68, 170, 0.08);
}

.stat-occ-percentage {
  color: var(--foregroundColor);
  background: rgba(128, 128, 128, 0.07);
}

/* Delta boarding/alighting */
.occ-delta-up {
  color: #cc2222;
  font-weight: bold;
}

.occ-delta-down {
  color: #1a8a3a;
  font-weight: bold;
}

/* Missing value */
.stat-missing {
  color: var(--middleLightColor);
  text-align: center;
}

.infoBar {
  background-color: var(--infoBackgroundColor);
  border: 1px solid var(--importantColor);
}

/*# sourceMappingURL=styly.css.map */

/* Přepínač měst (OV / PH) – pilulka na středu dolní části loga */
header .headerContent {
  position: relative;
}

/* .headerContent je .row se záporným okrajem a header nemá odsazení – přesahoval o 10 px do stran
   (vodorovný posuvník, po otočení mobilu zůstala stránka posunutá). Přesah je jen prázdné odsazení
   menu, proto ořez; zrušení okrajů by na 360px displeji zalomilo menu o řádek víc. */
header {
  overflow-x: clip;
}

header .citySwitch {
  position: absolute;
  z-index: 1001;
  transform: translate(-50%, -50%);
  visibility: hidden;
}

header .citySwitch.ready {
  visibility: visible;
}

/* nainstalovaná aplikace (PWA) – přepínač měst jen na webu, i když vyprší session s pwaApp */
@media (display-mode: standalone), (display-mode: fullscreen), (display-mode: minimal-ui) {
  header .citySwitch {
    display: none !important;
  }
}

header .citySwitch__toggle {
  padding: 1px 7px;
  border: 0;
  border-radius: 999px;
  background: var(--maxLightColor);
  color: var(--middleColor);
  font: 700 10px/1.4 "Open Sans", sans-serif;
  letter-spacing: .1em;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
  transition: color .15s, box-shadow .15s;
}

header .citySwitch__toggle:hover,
header .citySwitch__toggle:focus-visible,
header .citySwitch.open .citySwitch__toggle {
  color: var(--textColor);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .22);
  outline: none;
}

header .citySwitch__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  min-width: 150px;
  margin: 0;
  padding: 4px;
  list-style: none;
  border: 1px solid var(--middleLightColor);
  border-radius: 10px;
  background: var(--maxLightColor);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity .15s, transform .15s;
}

header .citySwitch.open .citySwitch__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

/* mobil – logo je u levého okraje, menu se otevírá vpravo od tlačítka a nahoru (spodní hrana = spodek
   tlačítka): zůstane celé uvnitř hlavičky – fixní hlavička (z-index 20) ho jinak nechala překrýt obsahem */
@media (max-width: 768px) {
  header .citySwitch__menu {
    top: auto;
    bottom: 0;
    left: calc(100% + 6px);
    transform: translate(-4px, 0);
  }

  header .citySwitch.open .citySwitch__menu {
    transform: translate(0, 0);
  }
}

header .citySwitch__menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--textColor);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

header .citySwitch__menu a:hover,
header .citySwitch__menu a:focus-visible {
  background: var(--lighterColor);
  outline: none;
}

header .citySwitch__menu a.current {
  font-weight: 600;
}

header .citySwitch__menu a i {
  margin-left: auto;
  font-size: 12px;
  color: var(--middleColor);
}

header .citySwitch__dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* Zpoždění linky po hodinách (stats-line-delay) – den v týdnu × hodina */
.lineDelayWrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 10px 0;
}

table.lineDelay {
  border-collapse: separate;
  border-spacing: 2px;
  font-size: 12px;
  text-align: center;
}

table.lineDelay th {
  padding: 2px 4px;
  color: var(--middleColor);
  font-weight: 600;
}

table.lineDelay tbody th {
  position: sticky;
  left: 0;
  background: var(--maxLightColor);
  text-align: left;
}

table.lineDelay td {
  min-width: 34px;
  padding: 6px 2px;
  border-radius: 4px;
  color: #1b1b1b;
  font-variant-numeric: tabular-nums;
  cursor: default;
}

table.lineDelay td.lineDelay__empty {
  background: var(--lighterColor);
}

table.lineDelay .lineDelay__total,
table.lineDelay tr.lineDelay__total td {
  background: var(--lighterColor);
  color: var(--textColor);
  font-weight: 600;
}

/* Objednávka VIP a odstoupení od smlouvy – souhlas a text prohlášení */
.vip-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 10px 0;
  font-size: .9em;
  text-align: left;
}

.vip-consent input {
  flex: none;
  margin-top: 3px;
}

.withdrawal-statement {
  white-space: pre-wrap;
  padding: 10px;
  border-radius: 6px;
  background: var(--lighterColor);
  font: inherit;
  text-align: left;
}

/* Admin › Odstoupení od smlouvy – poznámka a tlačítka ve sloupci Stav */
.admin-withdrawal-form {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.admin-withdrawal-form input[type="text"] {
  flex: 1 1 100%;
  padding: 0.2em 0.5em;
  font-size: 0.85em;
}

#sgps-panel {
  padding: 6px 10px;
  font-size: 0.85em;
  border-bottom: 1px solid var(--middleLightColor);
  max-height: 40%;
  overflow-y: auto;
  background: var(--lighterBackgroundColor);
}
#sgps-panel .sgps-chip {
  display: inline-block;
  padding: 1px 6px;
  margin: 1px 2px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid var(--middleLightColor);
}
#sgps-panel .sgps-chip.no-gps {
  border-style: dashed;
}
#sgps-panel .sgps-chip.active {
  background: #f4a261;
  color: #fff;
}
#sgps-panel .sgps-dir {
  margin: 2px 0;
}
#sgps-panel .sgps-create {
  font-size: 0.85em;
  padding: 0 6px;
  cursor: pointer;
}
