@charset "UTF-8";

/*! --------------------------------------------------------- */
/*! Site: Správa železnic (2024)                              */
/*  Client: LeGranc Group s.r.o.                              */
/*! Front-end framework: none                                 */
/*  Author: Miroslav Ruzbacky | miroslav@ruzbacky.sk          */
/*! --------------------------------------------------------- */
/* Variables ~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* Colors ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* General styles ~~~~~~~~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
html {
  font-family: Verdana, sans-serif;
  line-height: 1.15;
  background-color: #FFFFFF;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  margin: 0;
  padding: 0;
  font-family: Verdana, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
  color: rgb(0, 43, 89);
}

*,
::after,
::before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.app-frame {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100vh;
  height: 100svh;
}

main {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.flex-grow-0 {
    flex-grow: 0 !important;
}

.button {
  display: inline-block;
  padding: 1.5vw 2vw;
  border: none;
  border-radius: 2vw;
  background-color: transparent;
  color: rgb(0, 43, 89);
  font-family: Verdana, sans-serif;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
}

.new-button {
    display: inline-block;
    padding: 1.5vw 2vw;
    border: none;
    border-radius: 0.6vw;
    background-color: rgb(0, 43, 89);
    color: #ffffff;
    font-family: Verdana, sans-serif;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    /*    background-image: url(/img/illustrations/vyvesny-jizdni-rad_ilustrace.svg);
    background-repeat: no-repeat;
  background-position: center;*/
}

.orange-background {
    background-color: #fe5200 !important;
}

.button:active {
  background-color: rgb(227, 242, 253);
}

[type=button] {
  -webkit-appearance: button;
}

.button--toolbar {
  border-radius: 0;
}

.button--toolbar img {
  display: block;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 3vw;
  height: auto;
}

.button--toolbar:active {
  background-color: rgb(0, 161, 224);
}

.button--text {
  font-size: 2vw;
  font-weight: 700;
  background-color: #FFFFFF;
  border: 3px solid rgb(0, 43, 89);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.button--image {
  background-color: #FFFFFF;
  border: 3px solid rgb(0, 43, 89);
  padding-left: 3vw;
  padding-right: 3vw;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.button--image img {
  width: 100%;
  height: auto;
}

/* Header ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 2vw 2vw;
}

.header_logo img {
  width: 25vw;
}

.header_info {
  color: rgb(0, 43, 89);
}

.header_info .calendar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}

.header_info .calendar_time {
  font-size: 5vw;
  font-weight: 700;
  line-height: 1.1;
}

.header_info .calendar_date {
  font-size: 1.75vw;
  line-height: 1.25;
}

.header_info .calendar_nameday {
  font-size: 1.75vw;
  line-height: 1.25;
}

/* Footer Toolbar ~~~~~~~~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
footer {
  background-color: rgb(0, 43, 89);
}

.footer-toolbar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding-left: 2vw;
  padding-right: 2vw;
}

/* Info Carousel ~~~~~~~~~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.info-carousel_item img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 2/1;
  -o-object-fit: cover;
  object-fit: cover;
}

/* Main ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
main {
  /*border-bottom: 3px solid rgb(0, 43, 89);*/
}

.homepage-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  height: 100%;
  padding: 2vw;
}

.homepage-nav_item {
  padding: 3vw;
  width: 50%;
  height: 50%;
  position: relative;
}

.homepage-nav_item:before,
.homepage-nav_item:after {
  content: "";
  display: block;
  background-color: rgb(255, 82, 0);
  position: absolute;
}

.new-homepage-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    height: 100%;
    padding: 2vw;
}

.new-homepage-nav_item {
    padding: 2.5vw;
    width: 33%;
    position: relative;
}

.homepage-nav_button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.new-homepage-nav_button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    height: 212.25px;
}

.homepage-nav_button-image img {
    width: 25.7vw;
    height: auto;
    margin-top: -100px;
}

.homepage-nav_button-label {
    font-size: 2.5vw;
    font-weight: 700;
    min-height: 4vh;
    padding: 0 40px
}

.divider-left:after {
  width: 3px;
  height: 100%;
  left: 0;
  top: 0;
}

.divider-right:after {
  width: 3px;
  height: 100%;
  right: 0;
  top: 0;
}

.divider-top:before {
  height: 3px;
  width: 100%;
  left: 0;
  top: 0;
}

.divider-bottom:before {
  height: 3px;
  width: 100%;
  left: 0;
  bottom: 0;
}

main.subpage {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  /*background-image: url(/img/linear-z.png);*/
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
    margin-bottom: auto;
}

.page-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 1.5vw;
  background-color: rgb(0, 43, 89);
  color: #FFFFFF;
  padding: 1vw 2vw;
}

.page-title_icon svg {
  display: block;
  width: 4vw;
  height: auto;
}

.page-title_icon path {
  fill: #FFFFFF;
}

.page-title h1 {
  font-size: 3vw;
  font-weight: 400;
  line-height: 1;
  margin: 0;
}

.subpage-info {
  background-color: rgb(0, 43, 89);
  color: rgb(195, 228, 249);
  font-size: 1.3vw;
  line-height: 1.4;
  text-align: center;
  padding: 1vw 2vw;
}

.subpage-nav {
  padding: 3vw 4vw;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.subpage-nav_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 4vw 6vw;
}

.subpage-nav [type=button] {
  width: 100%;
  max-width: calc(33.33% - 4vw);
  min-height: 9vh;
}

/* Test bar ~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.test-bar {
    width: 100%;
    height: 40px;
    background-color: rgb(0, 43, 89);
    color: #ffffff;
    text-align: center;
    line-height: 20px;
    font-size: 18px;
    padding-top:8px;

}

/* QR Codes ~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.qr-codes {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: space-around;
    -ms-flex-pack: space-around;
    justify-content: space-around;
    padding: 1.5vw 2vw;
    background-color: #ececec;
    align-items: last baseline;
}

.qr-codes_item {
    width: 16vw;
    width: 16vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.separator {
    background-color: #ccc;
    border-left: 2px solid rgb(0, 43, 89);
    height: 90%;
}

.qr-codes_item img {
  display: block;
  width: 50%;
  height: auto;
}

.qr-codes_item-label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-top: 10px;
}

.datel {
    width: 88% !important;
    padding: 10px;
}

.bottom-text {
    font-size: 9px
}

.pointer {
  cursor: pointer;
}

.error {
  color: #dc3545;
  margin-left: 5px;
  padding: 4px;
}

#embed-container {
  width: 100%;
  height: 100%;
  overflow: auto;
}

#timetable-embed {
  width: 100%;
  height: 100%;
}

#iframe-container {
  width: 100%;
  height: 100%;
  overflow: auto;
  position: relative;
}

.margin-top-1vw {
  margin-top: 1vw;
}

.margin-bottom-1vw {
    margin-bottom: 1vw;
}

#carrier-iframe {
  width: 100%;
  height: 4000px;
  border: none;
}

#viewer-container {
    min-height: 788px;
}

.pdf-viewer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

[v-cloak] {
  display: none;
}

.display-none {
  display: none;
}

.show-timetable-form-element {
  margin-left: 5px;
  padding: 4px;
}

.header-image {
  display: block;
}

.display-block {
  display: block;
}

.map-image {
  width: 100%;
  height: auto;
}

.timetable-link {
  color: rgb(0, 43, 89);
}

.margin-left-1vw {
  margin-left: 1vw;
}

.in-page-pdf-container {
    flex-grow: 1;
}

.pointer-events-none {
  pointer-events: none;
}

.map-pdf {
  height: 788px;
}

.font-italic {
    font-style: italic;
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}