:root {
    --zwift-ride-color: #FC6719; 
    --zwift-run-color: #E52991; 
}
/* SAFARI fixes */
button,
textarea,
.searches input
 {
/* -webkit-appearance: none; */
border-radius: 0;
}
/*  */
body {
	margin: 10px 10px;
	font-size: 100%;
	font-family: 'Cabin', sans-serif;
}

body>h2 {
	margin-bottom: 30px;
}
#provider {
	display: inline-block;
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: small;
	margin-bottom: 100px;
}

#page-timestamp {
	display: inline-block;
	position: absolute;
	top: 50px;
	right: 10px;
	font-size: small;
}
#page-now {
	display: inline-block;
	position: absolute;
	top: 30px;
	right: 10px;
	font-size: small;
}
.secret {
	display: none !important;
}
.collapsed {
	display: none;
}
.event-label {
	display: inline-block; 
	/* color: #fff; */
	color: black;
    font-family: ProximaNova-Semi,arial,sans-serif;
    font-size: 14px;
    text-align: center;
    line-height: 21px;
    height: 20px;
    /* width: 20px; */
    margin-right: 4px;
    /* border-radius: 9999px;
    border-top-left-radius: 9999px;
    border-top-right-radius: 9999px;
    border-bottom-right-radius: 9999px;
    border-bottom-left-radius: 9999px; */
    box-sizing: border-box;
}
button.sport-label-CYCLING  {
	background-color: var(--zwift-ride-color);
	/* border-color: var(--zwift-ride-color); */
	border: 1pt solid lightgrey;
	color: white;
}
button.sport-label-RUNNING  {
	background-color: var(--zwift-run-color);
	/* border-color: var(--zwift-run-color); */
	border: 1pt solid lightgrey;
	color: white;
}
button#miles, button#reload, button#iso {
	margin-left: 15px;
}
button#miles, button#km {
	/* background-color: #ffbd4a; */
	/* border: 1pt solid #816027;  */
	/* color: white; */
}
.group-label {
	display: inline-block; 
	color: #fff;
    font-family: ProximaNova-Semi,arial,sans-serif;
    font-family: Cabin,arial,sans-serif;
    font-size: 14px;
    text-align: center;
    line-height: 21px;
    height: 20px;
    width: 20px;
    margin-right: 4px;
    border-radius: 9999px;
    border-top-left-radius: 9999px;
    border-top-right-radius: 9999px;
    border-bottom-right-radius: 9999px;
    border-bottom-left-radius: 9999px;
    box-sizing: border-box;
}
.group-label-1, .group-label-A  {
	background-color: #fc4119;
	content: 'X';
}
.group-label-2, .group-label-B  {
	background-color: #58c34e;
}
.group-label-3, .group-label-C  {
	background-color: #3ec0e9;
}
.group-label-4, .group-label-D  {
	background-color: #fccf0b;
}
.group-label-5, .group-label-E {
	background-color: #943e5e;
}
.ze-col-id, th.ze-col-id, td.ze-col-id {
	display: none;
}
.ze-sport {
	font-weight: normal;
}
.ze-name {
	font-weight: bold;
}
.ze-name span.ze-status-indicator {
	display: none;
}
span.ze-status-indicator i {
	margin-right: 5px;
}
.item-started .ze-name span.ze-status-indicator {
	display: inline-block;
	margin-right: 10px;
}
.ze-description {
	margin-top: 15px;
}
div.ze-description a {
	/* color: red; */
}
.read-more {
	margin-top: 20px;
	font-size: smaller;
}
.ze-col-sport {
	width: 100px;
}
.ze-col-type {
	width: 100px;
}
.ze-col-duration, td.ze-col-duration {
	text-align: right;
}
.ze-col-distance, td.ze-col-distance {
	text-align: right;
}
.ze-col-name {
	width: 45%;
}
.ze-col-time {
	width: 250px;
}
.ze-col-route {
	width: 230px;
}
.ze-col-groups {
	width: 160px;
}
button.button-toggle > .button-toggle-first {
	display: inline;
}
button.button-toggle.toggled > .button-toggle-first {
	display: none;
}
button.button-toggle  > .button-toggle-second {
	display: none;
}
button.button-toggle.toggled > .button-toggle-second {
	display: inline;
}
button.button-normal {
	border: none;
	border: 1pt solid lightgrey;
	background: transparent;
	cursor: pointer;
}
.buttons {
	display: inline-block;
	margin-bottom: 25px;
}
.filters {
	/* margin-left: 20px; */
	/* display: inline-block; */
	display: block;
	/* float: right; */
	/* position: absolute; */
	right: 10px;
	/* width: 400px; */
	padding: 10px 10px;
	padding-bottom: 0px;
	margin-bottom: 15px;
	border: 1px solid #cccccc;
	border-radius: 5px;
}
.filters>div {
    /* padding-left: 30px; */
}
#filter-sports, #filter-types, #filter-groups, #filter-tod, #filter-day {
	/* float: right; */
	display: inline-block;
	margin-right: 20px;
    padding-bottom: 10px;
}
#filter-groups div, #filter-groups .group-label, #filter-groups .label, #filter-groups input {
	display: inline-block;
}
#filter-groups button.button-group {
	border: none;
	background: transparent;
	cursor: pointer;
	padding: 0 0;
	margin: 0 0;
}
/* SEARCHES */
.searches {
	display: block;
	/* position: absolute; */
	float: right;
	right: 0;
	margin-bottom: 10px;
}
.searches input {
    margin-left: 10px;
	float: left;
	width: 200px;
	border: 1px solid lightgrey;
	background: transparent;
	padding-left: 2px;
	-webkit-appearance: none;
	height: 30px;
}
.searches input+button {
	margin-left: -1px;
	text-align: center;
	padding: 0 0;
	vertical-align: middle;
	float: right;
	border: 1px solid lightgrey;
	background: #f0f0f096;
	-webkit-appearance: none;
	height: 30px;
	width: 30px;
}
.search {
	float: right;
}
#filter-text {
}
#filter-name {
}
/* THEMES */
div.themes {
	/* display:block; */
	/* padding-bottom: 20px; */
	padding: 10px 10px;
	margin-bottom: 10px;
	border: 1px solid #cccccc;
	border-radius: 5px;
	vertical-align: middle;
	width: 100%;
	/* text-align: right; */
	/* float: right; */
	clear: both;
}
div.themes div.theme {
	display: inline-block;
}
div.themes div.theme.community {
	float: right;
	margin-left: 3px;
}
div.themes button.theme {
	border: none;
	padding: 0 0;
	/* margin-bottom: 5px; */
	vertical-align: middle;
}
div.themes button.theme~div.theme-more-info {
	display: inline-block;
	vertical-align: top;
	margin-left: -20px;
	width: 20px;
	text-align:	center;
	background-color: transparent;
}
div.themes:empty {
	display: none;
}
/* ITEMS */
.item-started {
	display: none;
}
.item-started.visible {
	display: table-row;
}
/* WORKOUT GRAPHS */
.zw-image-zwo {
	display: none;
	padding: 15px 15px;
	margin-bottom: 20px; 
	width: 100%;
	border: 1px solid #cccccc;
	border-radius: 5px;
	background: #fefefe;
}
.ze-event-type-group-workout .zw-image-zwo {
	display: block;
}
/* EVENT FACTS */
.ze-facts {
	min-width: 480px;
	padding: 5px 10px;
	margin-bottom: 20px; 
	width: 100%;
	border: 1px solid #cccccc;
	border-radius: 5px;
	background: #fefefe;
}
.ze-facts-duration {
	margin-left: 5px;
	width: 80px;
	display: inline-block;
}
.ze-facts-pace {
	display: inline-block;
	width: 100px;
	text-align: right;
}
.ze-facts-route {
	display: inline-block;
	width: 250px;
	margin-left: 10px;
}
.ze-facts-route-distance {
	display: inline-block;
	width: 70px;
}
.ze-facts .ze-facts-group:first-of-type {
	margin-top: 4px;
}
.ze-facts .ze-facts-group .group-label {
	display: inline-block;
}
.ze-facts .ze-facts-group .ze-facts-group-parameters {
	/* display: inline-block; */
	display: inline;
}
.ze-facts-all-entrants {
	margin-top: 14px;
	border-top: 1px solid #cccccc;
	padding-top: 10px;
}
.ze-facts-entrants {
	display: inline-block;
	margin-right: 15px;
}
div .ze-facts-entrants:last-of-type {
	margin-right: 5px;
}
/* GROUPS COLUMN DETAILS */
.entrants {
	margin-top: 15px;
}
.entrants:empty {
	display: none;
}
