/* Nokia 3210 (2024) - Opera Mini Compatible Baseline CSS */
/* Display size 240x320 pixels */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1.4;
    background-color: #141414;
    color: #908c8c;
}

html, body {
    width: 230px;
    height: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

/* Basic Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin: 8px 0;
}

h1 { font-size: 18px; }
h2 { font-size: 16px; }
h3 { font-size: 14px; }

/* List */
ul, ol {
    margin-left: 16px;
    margin: 4px 0;
}

li {
    margin: 2px 0;
}

/* Containers */
.container {
    padding: 0px;
}

table {
    border-collapse: collapse;
    width: 100%;
    font-size: 11px;
}

td, th {
    border: 0px solid #999;
    padding: 4px;
}

.stationboard {
    background-color: #12119b;
    border: 0px;
    width: 230px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stationboard tr {
    border-bottom: 1px solid #3739a2;
}

.stationboard td, th {
    padding: 2px;
}

.stationboard-platform {
    text-align: right;
}

.stationboard-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #c6cac2;
}

.stationboard-delay {
    color: #e3b903;
    text-align: right;
}

.stationboard-destination {
    max-width: 85px;
    text-overflow: ellipsis;
}

.category-sbahn {
    background-color: #c7c8c7;
    color: #161718;
}

.category-express {
    background-color: #c7c8c7;
    color: #cb0000;
}

.category-interregional {
    background-color: #cb0000;
    color: #c7c8c7;
}

.category-other {
    color: #c7c8c7;
}

.align-right {
    text-align: right;
}

.weather-title {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}

.weather-accent {
    font-size:14px;
}

.uv-low {
    color: rgba(40,149,0,1);
}

.uv-moderate {
    color: rgba(247,228,0,1);
}

.uv-high {
    color: rgba(248,89,0,1);
}

.uv-very-high {
    color: rgba(216,0,29,1);
}

.uv-extreme {
    color: rgba(144,99,205,1);
}

.row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 4px;
    max-width:100%;
    align-items: center;
}

.justify-start {
    justify-content: flex-start;
}

.col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width:100%;
}

input {
    background-color: transparent;
    border: none;
    color:#999;
    width: 100%;
    padding: 0px 4px;
}

.sbb-from-to {
    background-color: transparent;
    border: none;
    color:#999;
    width: 100%;
}

.sbb-from {
    border: none;
    border-bottom: 1px solid #908c8c;
    width: 100%;
    margin-bottom: 2px;
}

.sbb-from-title {
    color: #908c8c;
    margin-bottom: 3px;
}

.sbb {
    margin-top:8px;
    padding: 2px;
}

button {
    background-color: #908c8c;
    color: #141414;
    border: 1px solid #908c8c;
    padding: 0px 2px;
    border-radius: 6px;
    width: 100%;
}

.sbb-button {
    background-color: #eb0000;
    color: #fff;
    border-color: #eb0000;
}

.station-row {
    padding: 0px;
    background-color: #908c8c2d;
    justify-content: flex-start;
    font-weight: bold;
    color: #fff;
    border-bottom: 1px solid #908c8c;
    gap: 0px;
}

.station-row a {
    color: #fff;
    text-decoration: none;
    margin-left: 4px;
}

.stationboard-link {
    display: inline-block;
    margin-top: 4px;
    color: #908c8c;
    text-decoration: none;
}

.sbb-from-to-table td {
    padding: 0px;
    border: none;
    padding-right: 4px;
}

.sbb-connection {
    background-color: #908c8c2d;
    border: 1px solid #908c8c;
    margin-bottom:4px;
}

.sbb-connection-header {
    justify-content: start;
    gap: 2px;
    color: #fff;
    text-wrap: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 100%;
}

.connection-category {
    width:40px;
    height: 20px;
    padding: 0 2px;
    padding-top:4px;
    font-weight: bold;
}

.connection-category-notrain {
    width:60px;
    padding: 0 2px;
}

.sbb-connection-line {
    height: 1px;
    background-color: #908c8c;
    width: 100%;
}

.sbb-connection-dot {
    width: 5px;
    height: 5px;
    border: 1px solid #908c8c;
    min-width: 5px;
    min-height: 5px;
}

.dot-start, .dot-end {
    background-color: #908c8c;
}

.sbb-connection-body {
    padding: 2px;
}

.sbb-connection-body span {
    color: #c7c8c7;
}

.sbb-connection-footer {
    padding: 0 2px;
    justify-content: space-between;
    color: #c7c8c7;
}

.center {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.platform-changed {
    color: #eb0000;
    font-weight:bold;
}

.journey-section {
    margin:2px 0;
    background-color: #908c8c2d;
    border: 1px solid #908c8c;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap:6px;
    padding:2px;
}

.journey-section-walk {
    justify-content:flex-start;
    gap:4px;
    color:#c6cac2;
}

.walk-icon-group {
    display:flex;
    flex-direction: row;
    gap:0;
    align-items:center;
}

.journey-section-time, .journey-section-line, .journey-section-body, .journey-section-platform {
    display:flex;
    flex-direction:column;
    justify-content: space-between;
    align-items: flex-start;
}

.journey-section-time {
    width: 30px;
}



.journey-section-line {
    align-items: center;
    justify-content: center;
    margin-top:2px;
    margin-bottom:4px;
    width:6px;
}

.sbb-connection-line-vertical {
    height: 100%;
    background-color: #908c8c;
    width: 1px;
    min-height: 68px;
}

.departure, .arrival {
    color:#fff;
}

.body-departure {
    max-width:120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.journey-section-body {
    gap:5px;
    width:118px;
    max-width: 118px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-wrap: nowrap;
}

.journey-section-body .connection-category {
    height: 18px;
}

.journey-section-platform {
    align-items: flex-end;
    width: 52px;
}

.direction {
    color:#c6cac2;
}