/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

label.error { font-size: 14px; line-height: 16px; margin: 0; padding: 3px; font-weight: normal; color: red; display: block; }
.sparathlon.athlete-view { margin-bottom: 40px; }

.tm-margin-top { margin-top: 40px; }
.tm-container { max-width: 1800px; margin: 0 auto; background-color: #fff; }
.tm-container-small { max-width: 1200px; }
.tm-athlete-list { position: relative; margin-top: 20px; }
.tm-athlete-list div.tm-athlete-item { min-width: 250px; position: relative; margin-bottom: 20px; }
.tm-athlete-list div.tm-athlete-item > div { display: flex; width: 100%; border: 1px solid #eee; padding: 10px; min-height: 245px; padding: 10px; position: relative; }
.tm-athlete-list div.tm-athlete-item > div:hover { border-color: #ddd; background-color: #eee; }
.tm-athlete-list div.tm-athlete-item .tm-athlete-image { width: 160px; height: 213px; border: 1px solid #f2f2f2; overflow: hidden; }
.tm-athlete-list div.tm-athlete-item .tm-athlete-image img { width: 100%; }
.tm-athlete-list div.tm-athlete-item .tm-athlete-info { line-height: 20px; position: relative; width: calc(100% - 170px); margin-left: 10px; }
.tm-athlete-list div.tm-athlete-item .tm-more { position: absolute; bottom: 0; left: 0; right: 0; }
.tm-athlete-list div.tm-athlete-item .tm-more a { display: block; border: 1px solid #ddd; background-color: #fefefe; width: 100%; padding: 5px 0; text-align: center; }
.tm-athlete-list div.tm-athlete-item .tm-more a:hover { border-color: #ccc; background-color: #eee; color: #000; }
.tm-athlete-list div.tm-athlete-item .tm-info { color: #999; font-size: 13px; }
@media screen and (min-width: 1200px) {.tm-athlete-list div.tm-athlete-item > div { height: 285px; } }
@media screen and (max-width: 600px) {
	.tm-athlete-list div.tm-athlete-item > div { flex-direction: column; height: 530px; }
	.tm-athlete-list div.tm-athlete-item .tm-athlete-image { width: 100%; text-align: center; height: 280px; }
	.tm-athlete-list div.tm-athlete-item .tm-athlete-image img { width: 100%; max-width: 200px; }
	.tm-athlete-list div.tm-athlete-item .tm-athlete-info { width: 100%; flex: 1 }
}

.tm-pagination { display: flex; width: 100%; justify-content: space-between; margin-top: 20px; }
.tm-pagination .tm-results, .tm-pagination .tm-pages { font-size: 12px; color: #aaa; }
.tm-pagination .tm-paginator { list-style: none; display: flex; gap: 10px; font-size: 14px; font-family: 'Courier New', Courier, monospace; }
.tm-pagination .tm-paginator a { padding: 3px 6px; }
.tm-pagination .tm-paginator .uk-active a { color: orange; }

.tm-search-form { margin-bottom: 30px; }
.tm-search-form .tm-fields { display: flex; width: 100%; flex-flow: row wrap; justify-content: center; gap: 10px; position: relative; }
.tm-search-form .tm-fields > div { flex-basis: 20%; }
.tm-search-form .tm-fields label { margin: 0; }
.tm-search-form .tm-fields input { height: 30px; line-height: 30px; border: 1px solid #ddd; padding: 0 10px; width: 100%; }
.tm-search-form .tm-fields select { height: 30px; line-height: 30px; border: 1px solid #ddd; padding: 0 10px; width: 100%; }
.tm-search-form .tm-fields button { padding: 0 20px; border: 1px solid #bbb; line-height: 30px; margin: 0 5px; display: block; }
.tm-search-form .tm-fields .button { padding: 0 20px; border: 1px solid #bbb; line-height: 30px; margin: 0 5px; display: block; }
.tm-search-form .tm-fields .button.danger { border-color: #bbb; color: red; }
.tm-search-form .tm-actions { display: flex; flex-direction: column; justify-content: flex-end;  }
.tm-search-form .tm-actions > div { display: flex; }
@media screen and (max-width: 600px) {
	.tm-search-form .tm-fields > div { flex-basis: 100%; }
}
#listtable { padding-top: 20px; }

.tm-athlete-view .tm-main { position: relative; display: flex; justify-content: space-between; }
.tm-athlete-view .tm-athlete-image { width: 33%; border: 1px solid #f2f2f2; overflow: hidden; text-align: center; display: flex; justify-content: center; justify-items: center; flex-direction: column; }
.tm-athlete-view .tm-athlete-image img { width: 100%; max-width: 260px; }
.tm-athlete-view .tm-athlete-info { line-height: 26px; font-size: 16px; position: relative; width: calc(66% - 40px); margin: 0 20px; }

@media screen and (max-width: 600px) {
	.tm-athlete-view .tm-main { flex-direction: column; }
	.tm-athlete-view .tm-athlete-image { width: 100%; }
	.tm-athlete-view .tm-athlete-info { width: 100%; }
}

.site-content { min-height: 300px; margin-bottom: 60px; }

.tm-athlete-item.tm-finishers .tm-athlete-image { position: relative; }
.tm-athlete-item.tm-finishers .tm-finish-no { font-size: 50px; position: absolute; top: 5px; right: 5px; color: rgba(0,0,0,0.65); font-weight: bold; line-height: 50px; background-color: rgba(255,255,255,0.5); padding: 5px; }

/*.responsive-wrap { overflow-x: auto; }*/
#page_wrapper:not(.zn_res_menu_visible) { overflow: initial !important; }
@media (min-width: 768px) {
	.header--is-sticked.site-header.header--sticky { position: fixed; top: 0; }
}

/* Table Responsive */
.table { border: 1px solid #ccc; border-collapse: collapse; margin: 0; padding: 0; width: 100%; table-layout: fixed; }
.table thead th { vertical-align: middle !important; font-size: 13px; text-transform: none; letter-spacing: 0px; }
.table .tcenter { text-align: center; }
.table caption { font-size: 1.5em; margin: .5em 0 .75em; }
.table tr { background-color: #f8f8f8; border: 1px solid #ddd; padding: .35em; }
.table th, .table td { padding: .625em; text-align: center; vertical-align: middle !important; }
.table th { letter-spacing: .1em; text-transform: uppercase; }
.table .tmin-width { width: 0px; }
@media screen and (max-width: 600px) {
	.table { border: 0; }
	.table caption { font-size: 1.3em; padding-left: 20px; }
	.table thead { border: none; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
	.table tr { border-bottom: 3px solid #ddd; display: block; margin-bottom: .625em; }
	.table td { border-bottom: 1px solid #ddd; display: block; text-align: right; }
	.table td::before {
	  /*
	  * aria-label has no advantage, it won't be read inside a table
	  content: attr(aria-label);
	  */
	  content: attr(data-label); float: left; font-weight: bold; text-transform: uppercase; font-size: 13px; }
	.table td:last-child { border-bottom: 0; }
	.table>tbody>tr>td:first-child { border-top: none; }
	.table>tbody>tr>td:last-child { border-bottom: none; }
}
.sticky-wrap { display: flex; flex-wrap: wrap; }
.sticky { position: sticky; top: 0; }
.panel { border: 2px solid #eee; padding: 20px; }
.panel .title { margin: 0; margin-left: -20px; margin-right: -20px; margin-top: -20px; padding: 20px; background: #f2f2f2; margin-bottom: 20px; }
.panel > div span { font-weight: bold; }
