/* MyTraL: my trailing log, Copyright (C) 2022-2025 Martin Dvorak <martin.dvorak@mindforger.com> */

#distance {
    width: 12ch;
}

#when_year, #weight, #from_year, #to_year {
    width: 10ch;
}
#when_month, #from_month, #to_month {
    width: 8ch;
}
#when_day, #from_day, #to_day {
    width: 8ch;
}

#when_hour {
    width: 8ch;
}
#when_minute {
    width: 8ch;
}
#when_second {
    width: 8ch;
}

#hours, #minutes, #seconds, #temperature {
    width: 8ch;
}

#elevation_gain, #elevation_min, #elevation_max {
    width: 7ch;
}

#sort_code, #workout_sort_code {
    width: 7ch;
}

#max_speed, #kcal, #suffer_score, #fitness_score, #avg_watts, #max_watts {
    width: 7ch;
}

#elevation_gain, #elevation_min, #elevation_max, #avg_watts, #max_watts {
    width: 9ch;
}

#name {
    width: 90%;
}

#description {
    height: 7.5em;
    width: 90%;
}

#formula {
    width: 100%;
}

#where {
    width: 90%;
}

/* table w/ list of fields */

table.mytral-noborder,
.monthview-datetable td,
.monthview-datetable th {
  border: none !important;
}

td.mytral-field-label {
    color: darkslategrey;
}

th.mytral-mid-mid {
    text-align: center;
    vertical-align: middle;
}

/* heat map */

div.heat_na {
    width: 15px;
    height: 15px;
    background-color: #ffffff;
}

div.heat_y_low {
    width: 15px;
    height: 15px;
    background-color: #00ff00;
}
div.heat_y_medium {
    width: 15px;
    height: 15px;
    background-color: #00cc00;
}
div.heat_y_high {
    width: 15px;
    height: 15px;
    background-color: #00aa00;
}
div.heat_active_sick_low {
    width: 15px;
    height: 15px;
    background-color: #ff7500;
}
div.heat_active_sick_medium {
    width: 15px;
    height: 15px;
    background-color: #ffa500;
}
div.heat_active_sick_high {
    width: 15px;
    height: 15px;
    background-color: #ffd500;
}
div.heat_sick_low {
    width: 15px;
    height: 15px;
    background-color: #ffcccc;
}
div.heat_sick_medium {
    width: 15px;
    height: 15px;
    background-color: #cc5555;
}
div.heat_sick {
    width: 15px;
    height: 15px;
    background-color: #aa0000;
}
div.heat_n {
    width: 15px;
    height: 15px;
    background-color: #cccccc;
}

td.heat_n {
    background-color: #eee;
}

div.heat_comment_only {
    width: 15px;
    height: 15px;
    background-color: #4682B4;
}

/* left menu: collapsible and styles */

.collapsible {
    cursor: pointer;
}

.collapsible-content {
    display: none;
}

/* left menu: style */

a.mytral-menu-button {
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}

/* tables */

table.mytral-table-center {
    margin-left: auto;
    margin-right: auto;
}

/* end of file */
