/* *****************************************************************************************
*                                                                                           *
*   COPYRIGHT & WARNING NOTICE                                                              *
*                                                                                           *
*   This file and its contents are the intellectual property of Elton Zulu.                *
*   All rights reserved. This code is protected and monitored.                             *
*                                                                                           *
*   Owner / Contact: Engr. Elton Zulu                                                       *
*       WhatsApp: +260950401406                                                             *
*       Email   : zuluelton@gmail.com                                                       *
*       Location: Lusaka, Zambia                                                            *
*                                                                                           *
*   WARNING: Do NOT modify, copy, redistribute, or tamper with this code without           *
*   explicit authorization.                                                                *
*                                                                                           *
*   Unauthorized use, changes, or distribution may result in malfunction and/or            *
*   legal consequences.                                                                    *
*                                                                                           *
*   (C) Elton Zulu 2026. All rights reserved.                                              *
*                                                                                           *
***************************************************************************************** */


/* Hero Banner */
#EltZulu {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 24px;
    border-radius: 12px 12px 12px 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    height: auto;
}

#EltZulu img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


/*Track Sponsor Logo*/

/*#sponsorR img{
max-width: 100%; 
height: auto; 
display: block; 
transform: translateX(45px);"
}*/

/*Horizontal Events Sponsor Logo*/
#sponsorHE img{
max-width: 100%; 
height: auto; 
display: block; 
padding-left: 60px;
}

/* Adjust wrapper to account for banner */
#wrapper {
    margin-top: 0; /* Remove top margin since banner handles spacing */
    border-radius: 0 0 12px 12px; /* Rounded bottom only */
}

/* World Athletics Regular */
@font-face {
    font-family: 'World Athletics';
    src: url('../Font/WorldAthletics.eot');
    src: local('World Athletics'), local('WorldAthletics'),
        url('../Font/WorldAthletics.eot?#iefix') format('embedded-opentype'),
        url('../Font/WorldAthletics.woff2') format('woff2'),
        url('../Font/WorldAthletics.woff') format('woff'),
        url('../Font/WorldAthletics.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* World Athletics Headline */
@font-face {
    font-family: 'World Athletics Headline';
    src: url('../font/WorldAthleticsHeadline.eot');
    src: local('World Athletics Headline'), local('WorldAthleticsHeadline'),
        url('../Font/WorldAthleticsHeadline.eot?#iefix') format('embedded-opentype'),
        url('../Font/WorldAthleticsHeadline.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

html {
    text-rendering: optimizeLegibility !important;
    color: #1D1D1D;
    font-size: 14px;
    font-family: "WorldAthletics";
    line-height: 1.5;
}

body {
    font-family: 'World Athletics';
    font-size: 14px;
    margin: 0;
    color: #333333;
    background: #F8FAFC; /* Updated: Light background */
}

/* Headings */

h1 {
    font-size: 24px;
    color: #00A9AC;
    margin: 0 0 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 900;
    font-family: "World Athletics Headline";
    margin-top: -40px;
    transform: translateY(15px);
}

h2 {
    font-size: 18px;
    color: #4B0089;
    margin: 24px 0 12px;
}

h3 {
    font-size: 14px;
    color: #4B4B4B;
    margin: 16px 0 8px;
}

h4 {
    font-family: "WorldAthletics";
    font-size: 12px;
    color: #FFFFFF;
}

/* Links */
a {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    text-decoration: none;
}

/* =========================
   LAYOUT
   ========================= */
#wrapper {
    width: 100%;
    max-width: 1200px;
    height: 90px;
    margin: -40px auto 40px;
    padding: 24px;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    box-sizing: border-box;
       border-radius: 0px 0px 10px 10px;
}

#container {
    width: 100%;
    height: auto;
    margin: 0;
}

/* Optional logo (hidden in original) */
#container #logo {
    float: left;
    height: 120px;
    width: 178px;
    display: none;
}

/* Header / top menu */
#container #menu {
    float: none;
    width: 100%;
    height: 45px;
    padding-right:50px;
    
    margin-top:10px;
    background: linear-gradient(135deg, 
    #00a9ac 100%,      
    #da121a 100%
  );
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-position: left top;
    border-radius: 4px 0px 10px 10px;
}

#container #menu #topmenu {
    text-align: right;
    padding: 0;
}



#container #menu #zulue {
    text-align: right;
    padding: 0;
}


#container #menu #topmenu a {
    font-family: "World Athletics Headline";
    font-size: 15px;
    color: #F5F7FA;
    font-weight: 700;
    text-decoration: none;
    margin-left: 24px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: bold;
}


#container #menu #zulue a {
    font-family: "World Athletics Headline";
    font-size: 15px;
    color: #F5F7FA;
    font-weight: 700;
    text-decoration: none;
    margin-left: 24px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: bold;
}



#container #menu #topmenu a:hover {
    color: BLACK; 
    /*transform: translateY(-2px);*/
    text-decoration: none;
    background-color: #FFFFFF;
    padding: 4px 4px !important; 
    border-radius: 8px; 
    display: inline-block; 
    transition: all 0.3s ease; 
}


#container #menu #zulue a:hover {
    color: BLACK; 
    /*transform: translateY(-2px)*/   
    text-decoration: none; 
    background-color: #FFFFFF;
    padding: 4px 4px !important; 
    border-radius: 8px; 
    display: inline-block; 
    transition: all 0.3s ease; 
}



/* Body sections */
#container #body {
    float: left;
    width: 100%;
    height: auto;
    margin-top: 24px;
    position: relative;
}

#container #body #logobody {
    float: left;
    height: 350px;
    width: 250px;
    background-image: url(../Graphics/logobody.png);
    background-repeat: no-repeat;
    position: absolute;
    z-index: 1;
    padding-left: 15px;
    margin-top: 0;
    padding-top: 10px;
}

#container #body #loop {
    float: left;
    height: 350px;
    width: 100%;
    position: absolute;
    z-index: 0;
}

#container #body #txtarea {
    float: left;
    height: auto;
    width: calc(100% - 250px);
    position: relative;
    z-index: 1;
    left: 178px;
    box-sizing: border-box;
}

/* Alternate body background section */
#container #bodya {
    height: auto;
    width: 100%;
    position: relative;
    z-index: 0;
    background-repeat: no-repeat;
    background-position: center top;
    box-sizing: border-box;
    padding-left: 80px;
    padding-top: 16px;
}

#container #bodya #logobodya {
    float: left;
    height: 600px;
    width: 350px;
    position: relative;
    z-index: 1;
    margin-top: 0;
    background-image: url(../Graphics/logobody.png);
    background-repeat: no-repeat;
}

/* Navigation strip */
#container #nav {
    float: left;
    height: 135px;
    width: 100%;
    position: relative;
    left: 3px;
    top: -30px;
    z-index: 2;
}


/*SCHEDULE*/
   LAYOUT
   ========================= */
#swrapper {
    width: 100%;
    max-width: 1200px;
    height: 40px;
    margin: -21px auto 40px;
    padding: 24px;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    box-sizing: border-box;
       border-radius: 0px 0px 10px 10px;
}

#scontainer {
    width: 100%;
    height: 40px;
    margin: 0;
}

/* Optional logo (hidden in original) */
#scontainer #logo {
    float: left;
    height: 110px;
    width: 178px;
    display: none;
}

/* Header / top menu */
#scontainer #menu {
    float: none;
    width: 100%;
    height: 50px;
    padding-right:50px;
    
 margin-top:15px;
    background: linear-gradient(135deg, 
    #00a9ac 100%,      
    #da121a 100%
  );
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-position: left top;
    border-radius: 4px 0px 10px 10px;
}

#scontainer #menu #topmenu {
    text-align: right;
    padding: 0;
}
#scontainer #menu #topmenu a {
    font-family: "World Athletics";
    font-size: 15px;
    color: #F5F7FA;
    font-weight: 700;
    text-decoration: none;
    margin-left: 24px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: bold;
}


#scontainer #menu #topmenu a:hover {
    color: BLACK; 
    transform: translateY(-2px);   
    text-decoration: none; 
    background-color: #FFFFFF;
    padding: 4px 4px !important; 
    border-radius: 8px; /
    display: inline-block; 
    transition: all 0.3s ease; 
}

/* Body sections */
#scontainer #body {
    float: left;
    width: 100%;
    height: auto;-
    margin-top: 100px;
    position: relative;
}

#scontainer #body #logobody {
    float: left;
    height: 350px;
    width: 250px;
    background-image: url(../Graphics/logobody.png);
    background-repeat: no-repeat;
    position: absolute;
    z-index: 1;
    padding-left: 15px;
    margin-top: 0;
    padding-top: 10px;
}

#scontainer #body #loop {
    float: left;
    height: 350px;
    width: 100%;
    position: absolute;
    z-index: 0;
}

#scontainer #body #txtarea {
    float: left;
    height: auto;
    width: calc(100% - 250px);
    position: relative;
    z-index: 1;
    left: 178px;
    box-sizing: border-box;
}

/* Alternate body background section */
#scontainer #bodya {
    height: auto;
    width: 100%;
    position: relative;
    z-index: 0;
    background-repeat: no-repeat;
    background-position: center top;
    box-sizing: border-box;
    padding-left: 80px;
    padding-top: 16px;
}

#scontainer #bodya #logobodya {
    float: left;
    height: 600px;
    width: 350px;
    position: relative;
    z-index: 1;
    margin-top: 0;
    background-image: url(../Graphics/logobody.png);
    background-repeat: no-repeat;
}

/* Navigation strip */
#scontainer #nav {
    float: left;
    height: 135px;
    width: 100%;
    position: relative;
    left: 3px;
    top: -30px;
    z-index: 2;
}



/* Header title (hidden by default) */
#headertitle {
    margin-top: 50px;
    display: none;
}

#headertitle h1 {
    font-size: 18px;
    color: #00AEEF;
    text-decoration: none;
}

/* TOGGLE BUTTON (top-left -Box) */
#menuToggle {
    position: fixed;
    top: 15px;
    left: 15px;
    width: 45px;
    height: 45px;
    background-color: #00a9ac;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    transition: all 0.2s ease;
}

/* hover effect */
#menuToggle:hover {
    background-color: black;
    color: white;
}

/* =========================
   LEFT MENU
   ========================= */
/* =========================
   TOGGLE BUTTON 
   ========================= */
#menuToggle {
    position: fixed;
    top: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    background-color: #F99E1F;
    border-radius: 6px;
    cursor: pointer;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    transition: 0.3s;
}

/* 3 lines */
#menuToggle span {
    width: 22px;
    height: 3px;
    background: #000; /* FIXED */
    display: block;
    transition: 0.3s;
}

/* hover */
#menuToggle:hover {
    background-color: black;
}

#menuToggle:hover span {
    background: #fff;
}

#menucontents {
    position: relative;
    padding-bottom: 40px; /* gives space for the text */
}

/* Powered by text */
#menucontents::after {
    content: "SporTRONICS Networks"; /* "Powered by EltZulu";*/
    display: block;
    text-align: center;
    font-size: 11px;
    color: #666;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ccc;
}

/* =========================
   LEFT MENU
   ========================= */
#mainmenu {
    position: fixed;
    top: 0;
    left: -220px;
    width: 200px;
    height: 100vh;
    background-color: #EDEDED;
    transition: left 0.3s ease;
    z-index: 998;

    /* KEEP IMAGE FIXED */
    background-image: url("../Graphics/logoheader.png");
    background-position: top 50px center;
    background-repeat: no-repeat;
    background-size: 150px;
}

/* show menu */
#mainmenu.active {
    left: 0;
}

/* content */
#mainmenu #menucontents {
    position: absolute;
    top: 160px;        /* pushes content below image */
    left: 0;
    right: 0;
    bottom: 0;
    scroll-behavior: smooth;
    overflow-y: auto;
    padding: 10px;
}

/* lists */
#mainmenu ul {
    padding: 0;
    list-style: none;
    margin-bottom: 10px;

}

/* links */
#mainmenu a {
    display: block;
    text-decoration: none;
    background-color: #00a9ac;
    color: #000000 /*#F99E1F*/;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    margin-bottom: 6px;
    transition: 0.2s;

}

/* hover */
#mainmenu a:hover {
    background-color: black;
    color: white;
    transform: translateY(-2px);
}

/* smaller text groups */
#mainmenu .days li a {
    font-size: 14px;
    color: #ffffff;
}

#mainmenu .groups li a {
    font-size: 13px;
    color: #ffffff;
}

#mainmenu .events li a {
    font-size: 12.5px;
    background-color: #F99E1F;
    color: #000;
}

#mainmenu .events li a:hover {
    background-color: #000;
    color: #F99E1F;
}


/*PDF Button*/


.button {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

.button {
    transform:translatex(90px) translatey(-20px);
    position: relative;
}

.button img {
    width: 48px !important;
    height: 48px !important;
    transition: transform 0.2s ease;
    display: block;}

.button:hover img {
    transform: scale(1.2);
}

/*Track Events*/
.buttonR {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

.buttonR {
    transform:translatex(850px) translatey(-45px);
    position: relative;
}

.buttonR img {
    width: 48px !important;
    height: 48px !important;
    transition: transform 0.2s ease;
    display: block;}

.buttonR:hover img {
    transform: scale(1.2);
}



/* =========================
   MAIN CONTENT AREA
   ========================= */
#maincontent {
    float: left;
    width: 800px;
    position: relative;
    left: 28px;
    top: 36px;
    z-index: 2;
    box-sizing: border-box;
}

#daystart a {
    margin-right: 20px;
    font-size: 16px;
}

/* Top navigation links over tables */
#toplinks {
    position: relative;
    margin: 0;
    padding: 0;
    display: block;
    margin-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
    height: 16px;
    width: 750px;
    box-sizing: border-box;
}

#toplinks a.previous {
    position: absolute;
    left: 72px;
    width: 33%;
    text-align: right;
}

#toplinks a.next {
    position: absolute;
    right: 0;
    width: 33%;
    text-align: right;
}

/* Photo Finish button - compact base */
#toplinks a.photofinish {
    position: absolute;
    left: 0%;
    width: auto;
    max-width: 37%;
    display: flex; /* Flexbox for perfect inline alignment */
    align-items: center; /* Vertical center image+text */
    justify-content: center; /* Horizontal center */
    background: linear-gradient(145deg, #00A9AC 0%, #F99E1F 100%);
    color: #FFFFFF !important;
    font-family: 'World Athletics';
    font-size: 12px;
    font-weight: 700;
    padding: 8px 25px;

    /*border: 2px solid #FFFFFF;*/
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 20, 137, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    top: -40px;
    gap: 6px; /* Perfect space between image+text */
    line-height: 1.2;
}

#toplinks a.photofinish::before {
    content: url('../graphics/photofinish.png');
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    display: block;
    transform: translateY(-12px) translateX(-20px);
}

#toplinks a.photofinish:hover {
    background: linear-gradient(145deg, #00A9AC 0%, #000 100%);
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 12px 28px rgba(0, 154, 68, 0.4);
    border-color: #001489;
    color: #FFFFFF !important;
}

/* =========================
   SUBMENU (DROPDOWN STYLE)
   ========================= */
.submenustyle {
    width: auto;
    display: none;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
    text-align: center;
    padding-top: 2px;
    padding-right: 1px;
    padding-bottom: 2px;
    padding-left: 1px;
    margin-top: 0;
    position: relative;
    top: 5px;
}

* html .submenustyle { /* IE only width definition */
    width: 100%;
}

.submenustyle a {
    text-decoration: none;
    color: #333333;
    border-top-style: none;
    border-bottom-style: none;
    border-left-style: none;
    border-right-style: none;
    font-family: "WorldAthletics";
    font-size: 1px;
    padding: 1px;
}

.submenustyle a:hover {
    color: #333333;
    text-decoration: underline;
}

/* =========================
   TABLES – GENERAL LOOK
   ========================= */
table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    text-align: left;
    line-height: 1.6;
    font-size: 13px;
}

thead {
    line-height: 2.0em;
    background: linear-gradient(135deg, #00A9AC 50%, #fcdd09 0%, #f99e1f 50%);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 15px;
    height: 20px;
}

thead th {
    padding: 10px 12px;
    border-bottom: 2px solid #00A9AC;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

tbody tr {
    transition: background 0.15s ease;
}

tbody tr:nth-child(odd) {
    background-color: #FAFAFC;
}

tbody tr:nth-child(even) {
    background-color: #F0F2F7;
    border-top: 1px solid #00A9AC;
    border-bottom: 1px solid #00A9AC;
}

tbody tr:hover {
    background-color: rgba(0, 169, 172,0.4 );  /* Light */
    color: black;
}

tbody td {
    padding: 8px 12px;
    border-bottom: 1px solid #00A9AC;
    text-overflow: ellipsis;
    white-space: nowrap;
}

tbody th {
    height: 2000px;
}

/* clickable row look */
table.daytable tbody tr {
    cursor: pointer;
    transition: 0.2s;
}

/* hover effect */
table.daytable tbody tr:hover {
    background-color: rgba(0,169,172,0.4);
}

/* optional: make links fill row */
.rowlink {
    display: block;
    width: 100%;
    color: inherit;
}

/* Legacy odd/even classes (if used in markup) */
tr.odd {
    background-color: #FFFFFF;
}

tr.even {
    background-color: #EFEFEF;
    border-top: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
}

/* =========================
   TABLE WIDTH HELPERS
   ========================= */
/* Day table widths */
table.daytable td.plannedtime {
    width: 70px;
    text-align: center;
}



table.daytable td.eventname {
    width: 300px;
    text-align: left;
}

table.daytable td.phase {
    width: 100px;
    text-align: left;
}

table.daytable td.cat {
    width: 60px;
    text-align: center;
    display: none;
}

table.daytable td.gender {
    width: 60px;
    text-align: center;
    color: #000;
}

table.daytable td.participants {
    width: 70px;
    text-align: center;
    color: #000;
}

table.daytable td.heats {
    width: 70px;
    text-align: center;
    color: #000;
}

table.daytable td.status {
    width: 100px;
    text-align: center;
    color: #000;
}

table.daytable td.time {
    width: 70px;
    height: 33px;
    text-align: center;
    margin-top: 0px;
    color: #000;
}

/* Race table widths */
table.racetable td.rank,
table.racetable td.lane,
table.racetable td.id,
table.racetable td.cat,
table.racetable td.team,
table.racetable td.result,
table.racetable td.info {
    text-align: center;
}

/* Race table Font */
table.racetable td.rank,
table.racetable td.lane,
table.racetable td.name,
table.racetable td.id,
table.racetable td.pb,
table.racetable td.cat,
table.racetable td.team,
table.racetable td.result,
table.racetable td.info {
    font-size: 14px;
}

table.racetable td.rank {
    width: 50px;

}

table.racetable td.lane {
    width: 50px;
}

table.racetable td.id {
    width: 70px;
}

table.racetable td.name {
    width: 300px;
}

table.racetable td.pb {
    width: 170px;
    text-align: center;
    color: #000;
}

table.racetable td.team {
    width: 1000px;
}

table.racetable td.cat {
    width: 50px;
    display: none;
}

table.racetable td.result {
    width: 150px;
    font-weight: bold;
    font-family: "World Athletics Headline";
    color: #000;
}

table.racetable td.info {
    width: 197px;
    color: #000;
}

table.racetable td.TFCameraicon {
    display: none;
}

table.racetable {
    margin-left: -19px;
    /*margin-top: 56px;*/
}

/* Horizontal field events table */
table.horfetable td.pos {
    width: 40PX;
    text-align: center;
}

table.horfetable td.id {
    width: 56px;
    text-align: center;
}

table.horfetable td.name {
    width: 450px;
}

table.horfetable td.pb {
    width: 370px;
    text-align: center;
    color: #000;
}

table.horfetable td.team {
    width: 80px;
    text-align: center;
}

table.horfetable td.cat {
    width: 50px;
    text-align: center;
    display: none;
}

table.horfetable td.result {
    width: 80px;
    text-align: center;
    font-weight: bold;
    font-family: "World Athletics Headline";
}

table.horfetable td.rank {
    width: 55px;
    text-align: center;
    font-weight: bold;
     color: #000;
    font-family: "World Athletics Headline";
}



table.horfetable td.attempt1,
table.horfetable td.attempt2,
table.horfetable td.attempt3,
table.horfetable td.attempt4,
table.horfetable td.attempt5,
table.horfetable td.attempt6 {
    font-size: 14px;
    width: 70px;
    text-align: center;
}

table.horfetable td.attempt1,
table.horfetable td.attempt2,
table.horfetable td.attempt3,
table.horfetable td.attempt4,
table.horfetable td.attempt5,
table.horfetable td.attempt6,
table.horfetable td.info {
    font-size: 14px;
    width: 70px;
    text-align: center;
    color: #000;
}





/* Hori table Font */
table.horfetable td.rank,
table.horfetable td.lane,
table.horfetable td.pos,
table.horfetable td.name,
table.horfetable td.pb,
table.horfetable td.id,
table.horfetable td.cat,
table.horfetable td.team,
table.horfetable td.result,
table.horfetable td.info {
    font-size: 14px;
}

table.horfetable td.info {
    width: 60px;
    text-align: center;
}

table.horfetable td.TFCameraicon {
    display: none;
}

table.horfetable td.points {
    width: 50px;
}

table.horfetable td.event {
    width: 50px;
}

table.horfetable {
    margin-left: -20px;
    margin-top: -20px;
}

/* Team table */
table.teamtable td.rank {
    width: 70px;
}

table.teamtable td.team {
    width: 100px;
}

table.teamtable td.name {
    width: 100px;
}

table.teamtable td.points {
    width: 70px;
}

/* Vertical field events wrapper */
#vertfetable {
    width: 950px;
    overflow-x: auto;
}

#vertfetable table {
    table-layout: fixed;
    width: 500px;
}

/* Vertical field events table */
table.vertfetable td.pos {
    width: 60PX;
    text-align: center;
    font-size: 12px;
}

table.vertfetable td.id {
    width: 56px;
    text-align: center;
    font-size: 12px;
}

table.vertfetable td.name {
    width: 200px;
}

/*table.vertfetable td.pb {
    width: 40px;
}*/
table.vertfetable td.team {
    width: 73px;
    text-align: center;
    font-size: 12px;
}

table.vertfetable td.cat {
    width: 50px;
    text-align: center;
    display: none;
}

table.vertfetable td.result {
    width: 55px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
}

table.vertfetable td.rank {
    width: 45px;
    text-align: center;
    font-size: 12px;
}

table.vertfetable td.vertheight {
    font-size: 10px;
    width: 50px;
    text-align: center;
    font-size: 12px;
}

table.vertfetable td.info {
    width: 70px;
    text-align: center;
    font-size: 12px;
}

table.vertfetable td.TFCameraicon {
    display: none;
}



/*FLAGS*/

.ALG, .BEL, .BOT, .BRA, .BRN, .BUR, .CAN, .CGO, .CMR, .CRC,
.CRO, .EGY, .ETH, .FRA, .GBR, .IRL, .ITA, .JAM, .KEN, .LES,
.MAR, .MDV, .NAM, .NED, .NOR, .NZL, .PAN, .POR, .RSA, .SLO,
.SRB, .TTO, .TUR, .UKR, .USA, .UGA, .ZAM, .ZIM
{   background-repeat: no-repeat;
    background-position: left center;
}


td.team span 
{  padding-left: 35px;}

.ALG /* Algeria */
{
    background-image: url(../Flags/EltonSmallFlags/ALG.png);
}

.BEL /* Belgium */
{
    background-image: url(../Flags/EltonSmallFlags/BEL.png);
}

.BOT /* Botswana */
{
    background-image: url(../Flags/EltonSmallFlags/BOT.png);
}

.BRA /* Brazil */
{
    background-image: url(../Flags/EltonSmallFlags/BRA.png);
}

.BRN /* Bahrain */
{
    background-image: url(../Flags/EltonSmallFlags/BRN.png);
}

.BUR /* Burkina Faso) */
{
    background-image: url(../Flags/EltonSmallFlags/BUR.png);
}

.CAN /* Canada */
{
    background-image: url(../Flags/EltonSmallFlags/CAN.png);
}

.CGO /* Congo */
{
    background-image: url(../Flags/EltonSmallFlags/CGO.png);
}

.CMR /* Cameroon */
{
    background-image: url(../Flags/EltonSmallFlags/CMR.png);
}

.CRC /* Costa Rica */
{
    background-image: url(../Flags/EltonSmallFlags/CRC.png);
}

.CRO /* Croatia */
{
    background-image: url(../Flags/EltonSmallFlags/CRO.png);
}

.EGY /* Egypt */
{
    background-image: url(../Flags/EltonSmallFlags/EGY.png);
}

.ETH /* Ethiopia */
{
    background-image: url(../Flags/EltonSmallFlags/ETH.png);
}

.FRA /* France */
{
    background-image: url(../Flags/EltonSmallFlags/FRA.png);
}

.GBR /* United Kingdom */
{
    background-image: url(../Flags/EltonSmallFlags/GBR.png);
}

.IRL /* Ireland */
{
    background-image: url(../Flags/EltonSmallFlags/IRL.png);
}

.ITA /* Italy */
{
    background-image: url(../Flags/EltonSmallFlags/ITA.png);
}

.JAM /* Jamaica */
{
    background-image: url(../Flags/EltonSmallFlags/JAM.png);
}

.KEN /* Kenya */
{
    background-image: url(../Flags/EltonSmallFlags/KEN.png);
}

.LES /* Lesotho */
{
    background-image: url(../Flags/EltonSmallFlags/LES.png);
}

.MAR /* Morocco */
{
    background-image: url(../Flags/EltonSmallFlags/MAR.png);
}

.MDV /* Maldives */
{
    background-image: url(../Flags/EltonSmallFlags/MDV.png);
}

.NAM /* Namibia */
{
    background-image: url(../Flags/EltonSmallFlags/NAM.png);
}

.NED /* Netherlands */
{
    background-image: url(../Flags/EltonSmallFlags/NED.png);
}

.NOR /* Norway */
{
    background-image: url(../Flags/EltonSmallFlags/NOR.png);
}

.NZL /* New Zealand */
{
    background-image: url(../Flags/EltonSmallFlags/NZL.png);
}

.PAN /* Panama */
{
    background-image: url(../Flags/EltonSmallFlags/PAN.png);
}

.POR /* Portugal */
{
    background-image: url(../Flags/EltonSmallFlags/POR.png);
}

.RSA /* South Africa */
{
    background-image: url(../Flags/EltonSmallFlags/RSA.png);
}

.SLO /* Slovenia */
{
    background-image: url(../Flags/EltonSmallFlags/SLO.png);
}

.SRB /* Serbia */
{
    background-image: url(../Flags/EltonSmallFlags/SRB.png);
}

.TTO /* Trinidad and Tobago */
{
    background-image: url(../Flags/EltonSmallFlags/TTO.png);
}

.TUR /* Turkey */
{
    background-image: url(../Flags/EltonSmallFlags/TUR.png);
}

.UKR /* Ukraine */
{
    background-image: url(../Flags/EltonSmallFlags/UKR.png);
}

.UGA /* Uganda */
{
    background-image: url(../Flags/EltonSmallFlags/UGA.png);
}

.USA /* United States */
{
    background-image: url(../Flags/EltonSmallFlags/USA.png);
}

.ZAM /* Zambia */
{
    background-image: url(../Flags/EltonSmallFlags/ZAM.png);
}

.ZIM /* Zimbabwe */
{
    background-image: url(../Flags/EltonSmallFlags/ZIM.png);
}



/*Phones Smaller Screens CSS*/
html, body {
    min-width: 1200px;
}

#wrapper {
    min-width: 1200px;
}

/* =========================
   MOBILE VIEW
========================= */
@media screen and (max-width: 768px) {

    html, body {
        width: auto;
       overflow-x: clip;
        font-size: 13px;
    

table.daytable {
 transform: scale(1) translateX(100px);
  transform-origin: top left;
  width: 100%;
  display: block;
}

table.daytable td.plannedtime{
     max-width: 50px;
}

table.daytable td.eventname{
    width: 130px;
}

table.daytable td.status{
    width: 60px;
}

table.daytable td.time{
    width: 60px;
}

table.daytable td.participants{
    width: 50px;
}

table.daytable td.heats{
    width: 60px;
}

table.daytable td.phase{
    width: 60px;
}

table.daytable thead .gender{
    color: #FFFFFF;
}

#daystart a {
    font-size: 20px;
}


table.racetable {
  transform: scale(1.6) translateX(60px);
  transform-origin: top left;
  margin-bottom: 300px;  
}


table.racetable td.info {
    width: 110px;
}

table.racetable td.result {
    width: 140px;
}

table.racetable td.name {
    width: 200px;
}

table.racetable td.team {
    max-width: 120px;
}


table.horfetable {
  transform: scale(1.6) translateX(-50px);
  transform-origin: top left;
  margin-bottom: 300px; 

}


table.horfetable td.pb {
    max-width: 230px;
   }

table.horfetable td.name {
    max-width: 200px;
}

table.horfetable td.info {
    max-width: 100px;
}

table.horfetable td.team {
    max-width: 60px;
}


table.horfetable td.pos{
    max-width: 23px;
}


table.horfetable td.attempt1,
table.horfetable td.attempt2,
table.horfetable td.attempt3,
table.horfetable td.attempt4,
table.horfetable td.attempt5,
table.horfetable td.attempt6 {
max-width: 35px;

}


#container #menu {
    float: none;
    width: 100%;
    height: 50px;
    padding-right:50px;
    
 margin-top:2px;
    background: linear-gradient(135deg, 
    #00a9ac 100%,      
    #da121a 100%
  );
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-position: left top;
    border-radius: 4px 0px 10px 10px;
}


#wrapper {
    width: 100%;
    max-width: 1200px;
    height: 90px;
    margin: -10px auto 410px;
    padding: 24px;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    box-sizing: border-box;
       border-radius: 0px 0px 10px 10px;



table.horfetable td.rank{
max-width: 23px;
}

/*table.horfetable thead .pb, .info{
    color: #000;
}*/



#container #menu #topmenu a{
  display: inline-block;
  margin: 5px 10px;
  font-size: 30px;
 font-family: "World Athletics Headline";
}


#container #menu #zulue  a{
  display: inline-block;
  margin: 5px 10px;
  font-size: 26px;
 font-family: "World Athletics Headline";
}


#headertitle {
    font-size: 24px;
    color: #00AEEF;
    text-decoration: none;
}





    #wrapper {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 10px;
        box-sizing: border-box;
        border-radius: 0;
    }

    /* =========================
       MENU 
    ========================= */
    #container #menu {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        padding: 10px;
        text-align: center;
        gap: 14px;
    }

#container #menu #topmenu a {
  display: inline-block;
  margin: 5px 10px;
  font-size: 25px;
}

    /* Banner*/
    #EltZulu {
        width: 100%;
        border-radius: 0;
    }

    /* REMOVE BIG SIDE ELEMENTS */
    #container #body #logobody,
    #container #bodya #logobodya {
        display: none;
    }

    #container #body #txtarea {
        width: 100%;
        left: 0;
    }

    /* TABLE FIX */
    table {
        width: 100%;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        font-size: 11px;
    }

    tbody td {
        padding: 6px 5px;
    }


    /* HEADINGS */
    h1 { font-size: 26px; 
        transform: translateY(20px);}
    h2 { font-size: 18px; }
    h3 { font-size: 20px; }
     h4 { font-size: 28px; }

    /* MENU TOGGLE */




    #menuToggle {
        width: 70px;
        height: 70px;
        transform: scale(1.2)
    }



/* 3 lines */
#menuToggle span {
    width: 22px;
    height: 3px;
    background: #000; 
    display: block;
    transition: 0.3s;
    transform: scale(1.2)
}

/* hover */
#menuToggle:hover {
    background-color: black;
    transform: scale(1.8)
}

#menuToggle:hover span {
    background: #fff;
    transform: scale(1.8)
}



/* Powered by text */
#menucontents::after {
    content: "Powered by EltZulu";
    display: block;
    text-align: center;
    font-size: 11px;
    color: #666;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ccc;
    transform: scale(1.2)
}

/* SPONSORS */

#sponsorR img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    transform: translateX(94px);
    
}
#sponsorHE img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    transform: translateX(-10px);
    
}