Swedbanki Tallinna Maraton
11.– 13.09.2026
LIIKLUSINFO JA ÜHISTRANSPORT
2026
RIMI Eesti Linnajooksud
/* ===== LINNAJOOKSUDE LOENDUR ===== */
.cityrun-countdown {
max-width: 720px;
margin: 0 auto;
padding: 10px 0;
text-align: center;
font-family: inherit;
}
/* Sündmuse nimi */
.cityrun-countdown-title {
margin: 0 0 16px;
color: #222;
font-size: 20px;
font-weight: 700;
line-height: 1.3;
}
/* Loenduri kastid */
.cityrun-countdown-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 6px;
width: 100%;
}
/* Üks kast */
.cityrun-countdown-box {
display: flex;
min-height: 88px;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 12px 6px;
background: #2384c8;
color: #fff;
border-radius: 10px;
box-shadow:
0 2px 5px rgba(0, 0, 0, 0.08);
}
/* Number */
.cityrun-countdown-value {
display: block;
font-size: 32px;
font-weight: 700;
line-height: 1;
letter-spacing: 0.5px;
}
/* Päeva / tunni / min / sek */
.cityrun-countdown-label {
display: block;
margin-top: 8px;
font-size: 11px;
font-weight: 700;
line-height: 1;
letter-spacing: 0.6px;
}
/* Tulemuste osa */
.cityrun-countdown-finished {
display: none;
margin: 0;
}
/* Tulemuste nupp */
.cityrun-countdown-results {
display: inline-block;
min-width: 180px;
padding: 13px 28px;
background: #2384c8;
color: #fff !important;
border-radius: 10px;
font-size: 17px;
font-weight: 700;
line-height: 1.2;
text-decoration: none !important;
transition:
opacity 0.2s ease,
transform 0.2s ease;
}
.cityrun-countdown-results:hover {
color: #fff !important;
text-decoration: none !important;
opacity: 0.9;
transform: translateY(-1px);
}
/* ===== TABLET / MOBIIL ===== */
@media (max-width: 600px) {
.cityrun-countdown {
padding: 5px 0;
}
.cityrun-countdown-title {
margin-bottom: 13px;
font-size: 18px;
}
.cityrun-countdown-grid {
gap: 5px;
}
.cityrun-countdown-box {
min-height: 78px;
padding: 10px 3px;
border-radius: 8px;
}
.cityrun-countdown-value {
font-size: 27px;
}
.cityrun-countdown-label {
margin-top: 7px;
font-size: 10px;
letter-spacing: 0.3px;
}
.cityrun-countdown-results {
width: 100%;
max-width: 300px;
padding: 13px 20px;
font-size: 16px;
}
}
/* Väga kitsad telefonid */
@media (max-width: 360px) {
.cityrun-countdown-grid {
grid-template-columns: repeat(2, 1fr);
gap: 6px;
}
.cityrun-countdown-box {
min-height: 72px;
}
.cityrun-countdown-value {
font-size: 26px;
}
}
00
PÄEVA
00
TUNDI
00
MIN
00
SEK
TULEMUSED
(function () {
/*
* SÜNDMUSED
*
* Loendur valib automaatselt esimese
* tulevase sündmuse.
*/
const events = [
{
name: "Jüri Jaansoni Kahe Silla jooks",
date: "2026-09-05T21:00:00+03:00"
},
{
name: "Swedbank Tallinna Maraton",
date: "2026-09-11T18:30:00+03:00"
},
{
name: "44. Viking Window Paide-Türi rahvajooks",
date: "2026-09-27T14:00:00+03:00"
},
{
name: "15. Tartu Linnamaraton",
date: "2026-10-02T21:00:00+03:00"
}
];
const titleEl =
document.getElementById("cityrun-countdown-title");
const countdownEl =
document.getElementById("cityrun-countdown-grid");
const finishedEl =
document.getElementById("cityrun-countdown-finished");
const daysEl =
document.getElementById("cityrun-days");
const hoursEl =
document.getElementById("cityrun-hours");
const minutesEl =
document.getElementById("cityrun-minutes");
const secondsEl =
document.getElementById("cityrun-seconds");
let timer = null;
/*
* Leiab järgmise sündmuse,
* mis ei ole veel alanud.
*/
function getNextEvent() {
const now = Date.now();
return events.find(function (event) {
return new Date(event.date).getTime() > now;
});
}
/*
* Kahekohaline number:
* 7 → 07
*/
function formatNumber(number) {
return String(number).padStart(2, "0");
}
/*
* Loenduri uuendamine
*/
function updateCountdown() {
const event = getNextEvent();
/*
* Kõik sündmused on lõppenud
*/
if (!event) {
titleEl.style.display = "none";
countdownEl.style.display = "none";
finishedEl.style.display = "block";
if (timer) {
clearInterval(timer);
timer = null;
}
return;
}
/*
* Kuvame loenduri
*/
titleEl.style.display = "block";
countdownEl.style.display = "grid";
finishedEl.style.display = "none";
titleEl.textContent = event.name;
const eventTime =
new Date(event.date).getTime();
const now =
Date.now();
const distance =
eventTime - now;
/*
* Kui sündmus lõppes just praegu,
* valime kohe järgmise.
*/
if (distance
5.-6.06.2026
Narva Linna Jooks
TULEMUSED
// Set the date we're counting down to
var countDownDate = new Date("Jun 3, 2026 23:59:59").getTime();
// Update the count down every 1 second
var x = setInterval(function() {
// Get today's date and time
var now = new Date().getTime();
// Find the distance between now and the count down date
var distance = countDownDate - now;
// Time calculations for days, hours, minutes and seconds
var days = Math.floor(distance / (1000 * 60 * 60 * 24));if (days " +
days + " PÄEVA " +
hours + " TUNDI " + minutes + " MIN " + seconds + " SEK " +
" ";
// If the count down is over, write some text
if (distance
16.-17.05.2026
LHV Maijooks
TULEMUSED
E-pood
E-pood