h2{
	text-align: center;
	font-weight: 700 !important;
}

h3{
	text-align: center;
}

.jr-wrapper {
  max-width: 500px;
  margin: 40px auto;
  border-radius: 13px;
  overflow: hidden;
}

.jr-header {
  background: #ffeca1;
  color: #fff;
  padding: 14px 22px;
  display: flex;
  font-size: 17px;
  flex-direction: row !important;
  align-items: baseline;
  justify-content: space-between;
}

.button-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px; 
}

.button-container button {
  width: 150px;
  height: 36px !important;
  border-radius: 20px !important;
  padding: 2px !important;
  font-weight: 700 !important;
  border: none !important;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#back-button:before {
  content: '';
  display: inline-block;
  margin-right: 20px;
  width: 20px;
  height: 20px;
  background-image: url('/wp-content/plugins/Spoje-vyhledavac/assets/styles/left.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
#ticket-button:after {
  content: '';
  display: inline-block;
  margin-left: 20px;
  width: 20px;
  height: 20px;
  background-image: url('/wp-content/plugins/Spoje-vyhledavac/assets/styles/right.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}


.jr-line-number {
  font-size: 1.5em;
  font-weight: 700;
  background: #000000;
  padding: 7px 10px 2px 10px;
  text-align: center;
  color: #f7c601;
  align-self: flex-start;
}

.jr-direction {
  font-size: 1.1em;
  color: #000000;
  font-weight: 700;
}

.jr-date {
  text-align: center;
  font-weight: 700;
  color: #000000;
}

.jr-table {
  padding: 20px;
  background: #ffeca1;
  display: flex;
  justify-content: center;
}
.jr-table table {
  width: 70%;
  display: table;
  margin: 0 auto;
}

.jr-table th {
  background: black;
  color: #ffffff;
  vertical-align: middle;
  text-transform: uppercase;
  font-weight: 600;
  text-align: left;
  padding: 3px 8px;
  border: none;
}

.jr-table td {
  border-bottom: 1px solid #eee;
  font-family: 'Font Hradec' !important;
  vertical-align: middle;
}

.jr-table tr:hover {
  background: #fff8f8;
}
.jr-table tr:nth-child(odd) {
  background: #ffffff;
}
.jr-table tr:nth-child(even) {
  background: #ffeca1;
}
.jr-table tbody tr {
    height: 20px !important;
    font-size: 16px !important;
    
    line-height: 20px !important;
}

.jr-time {
  font-family: monospace;
  font-weight: 600;
  color: #000000;
  text-align: center;
}

.jr-tag {
  display: inline-block;
  font-size: 0.75em;
  font-weight: 600;
  padding: 2px 6px;
  margin-left: 3px;
  background: #f7c601;
  color: #000;
  white-space: nowrap;
  vertical-align: middle;
}

.jr-note {
  color: #333;
  padding: 14px 22px 20px;
  background: #ffeca1;
  margin-bottom: 15px;
}

.jr-note b {
  color: #000000;
  display: block;
  margin-bottom: 6px;
}

.jr-legend {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.jr-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.jr-legend-symbol {
  font-weight: 700;
  background: #f7c601;
  padding: 2px 6px;
  border-radius: 3px;
}

.jr-legend-text {
  font-weight: 700;
  display: inline-block;
}

thead {
  width: 100% !important;
}
tr,
td {
  border: none !important;
}
table td {
  padding: 1px 2px !important;
}




.jr-line-number {
  background: #000;
  color: #f7c601;
  font-weight: 700;
  font-size: 1.5em;
  padding: 5px 12px;
  margin-right: 15px;

  align-self: center; 
}

.jr-header-info {
  flex-grow: 1; 
  display: flex;
  justify-content: space-between; /
  align-items: baseline;
  flex-wrap: wrap; 
  color: #000;
  font-weight: 700;
}

.jr-direction-label {
  margin-left: 10px;
  margin-right: 5px;
}
sup{
	top: 0 !important;
}
.jr-direction-text {
  font-size: 1.1em;
  text-transform: uppercase;
}

.jr-min-btn
{
	width: 60px;
    background: transparent !important;
    text-decoration: underline;
    color: #EE0000 !important;
    border: none !important;
}
.jr-min-btn:hover
{
	color: #810000 !important;
	text-decoration: underline;
}
.jr-matrix-hour{
	font-weight: 600;
}

.jr-header-date {

  margin-left: auto; 
}


.jr-table th:nth-child(3) {
    display: none; 
}

@media (max-width: 600px) {
  .jr-header {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}
@media (max-width: 500px) {
  .jr-table table {
    max-width: 100%;
    width: 100%;
    margin: 0; 
  }
}
