  /* $Id: online.css 733 2023-11-17 20:59:42Z kontti-dev $ */

@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:300,700');
@import url("https://use.typekit.net/fvt4fif.css");

*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
}

h1,
h2 {
  font-family: 'myriad-pro', sans-serif;
  font-weight: 700;
}


.show-small {
  display: none !important;
}

.CompetitorRow td {
  background-color: #eee;
  font-size: 130%;
  font-weight: bold;
  vertical-align: middle;
}

.ChangeOverRow td {
  font-weight: bold;
}

.CompetitorRow th {
  background-color: #eee;
  font-size: 85%;
  font-weight: bold;
  text-align: right;
  vertical-align: middle;
}

.hidden {
  display:none !important;
}

.hidden-small {
  display: inherit !important;
}

.loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #188C44;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
}

th.hidden-small,
tr.hidden-small {
  display: table-cell !important;
}

#DownloadStatusText {
  color: #ccc;
}

.btn {
  border: none;
  font-size: inherit;
  color: inherit;
  background: none;
  cursor: pointer;
  padding: 0.75em 1em;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: 'myriad-pro', sans-serif !important;
  font-weight: 700;
  outline: none;
  position: relative;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
.btn:disabled {
  background:#ddd;
  cursor:not-allowed;
}

#online_content {
  position: relative;
  padding: 1em;
  margin: 0 auto;
  /*background-color: pink;*/
}

#OnlineHeaderMenu,
#OnlineHeaderUpper,
#OnlineHeaderLower,
#OnlineTable_wrapper,
#OnlineFooterUpper,
#SelectionDiv,
#ErrorDiv,
#OnlineStatus,
#ListView,
#OnlineFooterLower {
  max-width:1200px;
  margin:0 auto;
}

#OnlineHeaderMenu {
  text-align:right;
}

/*  Menu */
#OnlineHeaderMenu>button {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  display: inline-block;
  margin-left: 1.5em;
  vertical-align: top;
}

#OnlineHeaderMenu>#SearchButton {
  margin-top: 7px;
  overflow: visible;
}

#OnlineHeaderMenu .search-icon {
  border: 4px solid #188C44;
  height: 20px;
  width: 20px;
  border-radius: 100%;
  display: block;
  position: relative;
}

#OnlineHeaderMenu .search-icon:before {
  content: "";
  height: 4px;
  width: 13px;
  background: #188C44;
  display: block;
  position: absolute;
  bottom: -6px;
  left: -9px;
  transform: rotate(-45deg);
}

#OnlineHeaderMenu .menu-label {
  display: inline-block;
  vertical-align: middle;
  color: #188C44;
  font-size: 1em;
  margin-right: 5px;
}

.MenuToggleBtn {
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  width: 40px;
  height: 40px;
  padding: 9px 0px;
}

.MenuToggleBtn .toggle-bar {
  background: #188C44;
  display: block;
  width: 100%;
  height: 4px;
  margin-bottom: 5px;
  border-radius: 2px;
}

.MenuToggleBtn .toggle-bar:last-of-type {
  margin-bottom: 0;
}

#MainMenuPanel {
  position: fixed;
  right: 0px;
  top: 0px;
  z-index: 1000;
  height: 100%;
  max-height: 100vh;
  overflow-y: auto;
  max-width: 400px;
  width: 100%;
  background: #fff;
  transition: all .2s ease;
  transform: translate(200%, 0);
}

#MainMenuPanel.active {
  transform: translate(0, 0);
}

#MainMenuPanelContent>a {
  border-bottom: 1px solid #f1f1f1;
  width: 100%;
  display: block;
  padding: 1em 0;
  text-align: center;
  font-weight: 700;
  font-family: 'myriad-pro', sans-serif;
}

#MainMenuPanelContent>a:first-of-type {
  border-top: 1px solid #ccc;

}

#MainMenuPanel.active+.panel-bg-cover {
  content: "";
  background: #000;
  opacity: 0.5;
  height: 100%;
  width: 100%;
  display: block;
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

#MainMenuPanel .MenuToggleBtn {
  display: block;
  border: none;
  background: none;
  position: relative;
  z-index: 1;
  padding: 0;
  margin: 1em;
}

#MainMenuPanel .MenuToggleBtn .toggle-bar {
  opacity: 1;
  -webkit-transform: rotate(45deg) translate(-6px, -6px);
  transform: rotate(45deg) translate(-6px, -6px);
  background: #232323;
}

#MainMenuPanel .MenuToggleBtn .toggle-bar:nth-last-child(2) {
  -webkit-transform: rotate(-45deg) translate(0, -1px);
  transform: rotate(-45deg) translate(0, 0px);
}


#MainMenuPanelContent #settings {
  padding: 1.33em 1em;
  border-top: 1px solid #188C44;
}

#settings h2 {
  color: #188C44;
  letter-spacing: 1px;
  font-size: 1.33rem;
  margin-top: 0;
  margin-bottom: 0.75em;
}

.SettingsWrap h3 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 0.66em;
}

#settings .form-row input + span {
  margin-left: 5px;
}

/* #settings .form-row input:checked + span {
  font-weight: bold;
} */

#settings .SettingsWrap {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

#settings .SettingsWrap > div{
  width: 48%;
  margin-bottom: 1rem;
}

#settings .SettingsWrap input {
  position: absolute;
  opacity: 0;
}

#settings .SettingsWrap input + label {
  position: relative;
  cursor: pointer;
  padding: 0;
}


#settings .SettingsWrap input + label:before {
  content: '';
  margin-right: 10px;
  display: inline-block;
  vertical-align: text-top;
  width: 20px;
  height: 20px;
  background: white;
  border: 1px solid #f1f1f1;
  transition: all 0.1s ease;
}

#settings .SettingsWrap input + label.radio:before {
  border-radius: 100%;
}


/* #settings .SettingsWrap input:focus + label:before {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
} */


#settings .SettingsWrap input:checked + label:before {
  background: #188C44;
}


#settings .SettingsWrap input:checked + label:after {
  content: '';
  position: absolute;
  left: 5px;
  top: 9px;
  background: white;
  width: 2px;
  height: 2px;
  box-shadow: 
    2px 0 0 white,
    4px 0 0 white,
    4px -2px 0 white,
    4px -4px 0 white,
    4px -6px 0 white,
    4px -8px 0 white;
  transform: rotate(45deg);
}

#settings .SettingsWrap input:checked + label.radio:after {
  box-shadow: none;
  left: 7px;
  margin: auto;
  top: 0;
  bottom: 0;
  height: 6px;
  width: 6px;
  border-radius: 100%;
}


#OnlineLanguageSelection {
  position: absolute;
  right: 1em;
  text-align: center;
  top: 1em;
}

#OnlineLanguageSelection>a {
  margin: 0 1em;
  height: 25px;
  width: 25px;
  display: inline-block;
}

#OnlineLanguageSelection>a:hover {
  background: none;
}

#OnlineLanguageSelection>a>img {
  width: 100%;
  height: auto;
}

#OnlineStatus {
  text-align:right;
  white-space: nowrap;
  margin-top:1em;
}

#OnlineStatusClock {
  vertical-align: middle;
  font-size: 1.2em;
  color: #000000;
  letter-spacing: 1.89px;
  text-align: center;
}

#OnlineStatusIcon {
  display: inline-block;
  height: 1em;
  width: 1em;
  border-radius: 100%;
  background: #188C44;
  margin: 0 10px;
  text-indent: 99999px;
  vertical-align: middle;
  box-shadow: 0 0 0 rgba(24, 140, 68, 0.4);
  animation: pulse 2s infinite;
  overflow: hidden;
}

#OnlineStatusIcon.Offline {
  background:transparent;
  border: 3px solid #f3f3f3;
  border-top: 3px solid red;
  border-radius: 50%;
  width: 1em;
  height: 1em;
  animation: spin 1s linear infinite;
}

#OnlineHeaderUpper {
  margin-top:-1.3em;
  font-size: 1em;
  font-weight: 300;
  font-family: 'Roboto Condensed', sans-serif;
  letter-spacing: 1.5px;
}

.titleIndexPage {
  font-size: 1.35em;
  letter-spacing: 1px;
  font-weight: 700;
}

.ClassNameTitle {
  font-size: 2.5em;
  color: #444444;
  letter-spacing: 5.11px;
}

#HeaderNavigation a {
  margin: 0 0.35em;
}

#HeaderNavigation a:first-of-type {
  margin-left: 0;
}

#OnlineTable {
  margin: 0;
  width: 100%;
  min-width: 100%;
}

/* #OnlineTable_fade {
  z-index: 2;
  height: 100%;
  width: 60px;
  position: absolute;
  right: 15px;
}
#OnlineTable_fade .inner{
	width: 100%;
  height: 100%;
  background: transparent;
  background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 1%, rgba(255,255,255,1) 100%);
  background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0) 1%,rgba(255,255,255,1) 100%);
  background: linear-gradient(to right, rgba(255,255, 255, 0) 0%,rgba(255,255,255,0) 1%,rgba(255,255,255,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=1 )
} */

.relayresults table {
  max-width: 600px;
  min-width: auto;
  margin-left: 0;
}

.relaystartlist table {
  max-width: 400px;
  min-width: auto;
  margin-left: 0;
}

#EventSelection_wrapper.narrow-table table {
  max-width: 800px;
  width: 100% !important;
  min-width:auto;
  margin-left: 0;
}
#OnlineTable_wrapper.narrow-table table {
  max-width: 750px;
  min-width: auto;
}

.narrow-table .dataTables_processing {
  max-width: 800px;
}
#OnlineTable_wrapper.full-width-table {
  max-width: 100%
}
#OnlineTable_wrapper.full-width-table table {
  /* cursor: ew-resize; Jouni kommentoi pois 14.4.2019 */
  /* padding-right: 30px; Jouni kommentoi pois 14.4.2019 */
  max-width: 2000px;
}
#OnlineTable_wrapper.full-width-table::-webkit-scrollbar {
	-webkit-appearance: none;
	width: 14px;
	height: 14px;
}

#OnlineTable_wrapper.full-width-table::-webkit-scrollbar-thumb {
	border-radius: 8px;
	border: 3px solid #fff;
	background-color: rgba(0, 0, 0, .3);
}

#OnlineFooterUpper {
  position: relative;
}

#OnlineTable_wrapper {
  width: 100%;
  /*overflow-x: auto; Jouni kommentoi pois 14.4.2019 */
  /*overflow-y: auto; Jouni kommentoi pois 14.4.2019 */
  /* float: left; */
}

#SelectionDiv {}

#ErrorDiv {}

#OnlineFooterLower {
  width: 100%;
  border-bottom: 4px solid #188C44;
  text-align: center;
  font-size: 90%;
  margin-top: 1em;
  margin-bottom: 1em;
  padding-bottom: 1em;
}

#OnlineFooterLower>a {
  margin: 0 1em;
  white-space: nowrap;
}

.dataTables_filter {
  display: none;
}
#OnlineTable th.favourite,
#OnlineTable td.favourite,
#PopupTable_1 th.favourite,
#PopupTable_1 td.favourite {
  width: 48px !important;
}

td.favourite .addFavouriteButton::before,
td.favourite .removeFavouriteButton::before {
  width: 100%;
}

td.favourite .btn {
  width: 100%;
  padding: 0;
}


/*
table.dataTable.stripe tbody tr.odd, table.dataTable.display tbody tr.odd {
  background-color: #D7FFE2;
}
*/

th {
  text-align: left;
}

td {
  vertical-align: top;
}

table.dataTable tbody td.timecell {
  text-align: right;
  /*background-color: blue;*/
  margin-left: 0.3em;
  margin-right: 0.3em;
}

table.dataTable tbody td span.rank {
  font-weight: 600;
  font-size: 90%;
  color: #888;
  padding-left: 0.2em;
}

table.dataTable thead th.timecell {
  text-align: right;
}


table.dataTable tbody td span.timeWrap {
  width: 100%;
  min-width: 100%;
  height: 100%;
  display: block;
}

table.dataTable tbody td span.minus,
table.dataTable tbody td.minus {
  background-color: lightgreen;
}

table.dataTable tbody td span.latest_highlight1,
table.dataTable tbody td.latest_highlight1 {
  background-color: lightgreen;
}

table.dataTable tbody td span.latest_highlight2,
table.dataTable tbody td.latest_highlight2 {
  background-color: lemonchiffon;
}

table.dataTable tbody td span.plus,
table.dataTable tbody td.plus {
  background-color: pink;
}

table.dataTable tbody td span.realtime {
  font-style: italic;
  font-size: 80%;
}

.numbercell {
  text-align: right;
  margin-right: 20em;
}

table.dataTable.compact thead th.numbercell,
table.dataTable.compact tbody td.numbercell {
  padding-right: 10px;
}

.qualification {
  text-align: center;
}

.shootingpenalties span {
  color: white;
  /*font-size: 0.8em;*/
  width: 20px;
  height: 20px;
  border-radius: 100%;
  text-align: center;
  background: black;
  font-weight: bold;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.5em;
  line-height: 1.35;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
  background: none;
}

table.dataTable.compact thead th,
table.dataTable.compact thead td {
  padding: 5px;
}

.no-close .ui-dialog-titlebar-close {
  display: none;
}

.RoundsTile {
  background-color: black;
  color: white;
  width: 308px;
  height: 45px;
  border-width: 1px;
  border-style: solid;
  border-color: white;
  float: left;
  font-size: 200%;
  padding-left: 10px;
  vertical-align: middle;
}

.HighlightPlus {
  background-color: darkgreen;
}

.HighlightMinus {
  background-color: pink;
}

table.latestboard th.LatestBib {
  width: 2em;
}

table.latestboard th.LatestName {
  width: 10em;
}

table.latestboard th.LatestClub {
  width: 12em;
}

table.latestboard th.LatestClass {
  width: 2.5em;
}

table.latestboard th.LatestRaceNo {
  width: 2.5em;
}

table.latestboard th.LatestPoint {
  width: 2.5em;
}

table.latestboard th.LatestRank {
  width: 1.5em;
}

table.latestboard th.LatestResult {
  width: 4em;
}

table.latestboard th.LatestDiff {
  width: 4em;
}

table.latestboard {
  table-layout: fixed;
}

table.ListGeneric th.Bib {
  width: 2em;
}

table.ListGeneric th.Name {
  width: 13em;
}

table.ListGeneric th.Club {
  width: 12em;
}

table.ListGeneric th.Class {
  width: 2.5em;
}

table.ListGeneric th.RaceNo {
  width: 2.5em;
}

table.ListGeneric th.Point {
  width: 2.5em;
}

table.ListGeneric th.Rank {
  width: 1.5em;
}

table.ListGeneric th.Result {
  width: 4em;
}

table.ListGeneric th.ClassNameShort {
  width: 3em;
}

table.ListGeneric th.Badge {
  width: 4em;
}

table.ListGeneric th.Nationality {
  width: 2em;
}

table.ListGeneric th.StartTime {
  width: 3em;
}

table.ListGeneric th.Diff {
  width: 4em;
}

table.ListGeneric {
  table-layout: fixed;
}

a {
  color: #188C44 !important;
}

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  background-color: #91E686;
  text-decoration: underline;
}

a:active {
  background-color: #188C44;
  color: #FFFFFF;
  text-decoration: underline;
}

/*
table.dataTable {
  width: auto;
}
*/

div.dataTables_wrapper {
  width: 100%;
}

/* jQuery UI (Dialog/Popup) */
.ui-widget-content a {
  color: #188C44;
}
.ui-widget.ui-dialog {
  font-family: inherit;
}

.ui-widget-content {
  max-width: 100%;
}

.ui-widget-content.ui-corner-all {
  border-radius: 0;
}

.ui-dialog {
  -webkit-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12);
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12);
  border: none;
}

.ui-dialog .ui-dialog-titlebar {
  background: #188C44;
  color: #fff;
  border: none;
  border-radius: 0;
}

.ui-dialog .ui-dialog-titlebar .ui-button-icon-only.ui-dialog-titlebar-close,
.ui-dialog .ui-dialog-titlebar .ui-button-icon-only.ui-dialog-titlebar-close:focus {
  background: transparent;
  border: none;
  outline: none;
}

.ui-dialog .ui-dialog-titlebar .ui-button-icon-only.ui-dialog-titlebar-close>.ui-icon {
  background: transparent;
  position: relative;
  margin: 0;
  text-indent: 0px;
  left: 0;
  top:0;
}

.ui-dialog .ui-dialog-titlebar .ui-button-icon-only.ui-dialog-titlebar-close>.ui-icon::after {
  content: "X";
  color: #fff;
  font-weight: bold;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  height: 14px;
  font-size: 12px;
}

.ui-button-icon-only .ui-button-text {
  display: none !important;
}

.ui-progressbar .ui-progressbar-value {
  border-radius: 0;
  background: #188C44;
  opacity: 0.5;
  margin: 0 !important;
}

#CompetitorActionsList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

#CompetitorActionsList li {
  display: inline-block;
  margin: 0 0.5em;
  align-self: center;
}

#CompetitorActionsList li.favourite {
  margin-right: auto;
}

#CompetitorActionsList li.certificate a {
  background: #f5f5f5;
  border: none;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0.75em 1em;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: 'myriad-pro', sans-serif !important;
  font-weight: 700;
  outline: none;
  position: relative;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

#CompetitorActionsList li.certificate a:hover {
  text-decoration: none;
}

#CompetitorPopup table {
  width: 100%;
}

#RelayCompetitorTable td {
  white-space: nowrap;
}

#CompetitorPopupCloseButton {
  background: #aaa;
  border: none;
  color: #fff;
  padding: 0.5em 1em;
  margin: 1em 0;
  float: right;
}

#CompetitorPopup #CompetitorPopupCloseButton {
  margin-top: -58px;
}

/* AddFavouriteButton, RemoveFavouriteButton */
.addFavouriteButton,
.removeFavouriteButton {
  background: #f5f5f5;
  color: #ccc;
  padding-left: 3.2em;
}

.addFavouriteButton::hover,
.removeFavouriteButton::hover {
  color: #666;
}

.addFavouriteButton::before,
.removeFavouriteButton::before {
  content: "";
  background-repeat: no-repeat;
  background-position: center;
  background-size: 25px 25px;
  position: absolute;
  height: 100%;
  left: 0;
  top: 0;
  width: 3em;
}


.addFavouriteButton::before {
  background-image: url('https://online4.tulospalvelu.fi/tulokset-dev/kuvat/icon-star.svg');
}

.addFavouriteButton:hover::before {
  background-image: url('https://online4.tulospalvelu.fi/tulokset-dev/kuvat/icon-star-2.svg');
}

.removeFavouriteButton::before {
  background-image: url('https://online4.tulospalvelu.fi/tulokset-dev/kuvat/icon-star-2.svg');
}

.addFavouriteButton:hover,
.removeFavouriteButton:hover {
  color: #888;
}

.addFavouriteButton.added::before {
  -webkit-animation: scaleDown 0.5s;
  -moz-animation: scaleDown 0.5s;
  animation: scaleDown 0.5s;
  background-image: url('https://online4.tulospalvelu.fi/tulokset-dev/kuvat/icon-star-2.svg');
}

.removeFavouriteButton.removed::before {
  -webkit-animation: scaleDown 0.5s;
  -moz-animation: scaleDown 0.5s;
  animation: scaleDown 0.5s;
  background-image: url('https://online4.tulospalvelu.fi/tulokset-dev/kuvat/icon-star.svg');
}

#OnlineTable .btn,
#PopupTable_1 .btn {
  font-size: 1em;
  background: transparent;
  text-indent: -9999px;
  padding: 0 .5em;
}

#OnlineTable .addFavouriteButton::before,
#OnlineTable .removeFavouriteButton::before,
#PopupTable_1 .addFavouriteButton::before,
#PopupTable_1 .removeFavouriteButton::before {
  background-size: 1em;
}

#FeedbackForm {}

#feedback-loader {
  display: inline-block;
  margin: 0 0 0 1em;
  vertical-align: middle;
}

#search-results a {
  color:#188C44;
}
#search-results a::after {
  content: " »";
}

#search-loader {
  position: absolute;
  top: 1em;
  right: -40px;
} 

form .row {
  width: 100%;
  margin-left: -15px;
  margin-right: -15px;
}

.form-row {
  width: 100%;
  max-width: 400px;
  display: block;
  margin-bottom: 1em;
  position: relative;
}

.form-row.inline {
  display:inline-block;
}

.form-row.inline .inner {
  padding: 8px 15px;
  
}

.form-row.radio,
.form-row.checkbox {
  margin-bottom: 10px;
  max-width:none;
}

.form-row label {
  display: block;
  font-weight: bold;
}

.form-row label.radio,
.form-row label.checkbox
 {
  display: block;
  font-weight: normal;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  max-width: 100%;
}

.form-row select {
  height: 30px;
}

.StartInformationLeaderBoard {
  border: 1px solid #000;
  max-width: 500px;
  padding: 0.4em;
  font-size: 110%;
  border-radius: 0.4em;
  margin-top: 1em;
}

.StartInformation {
  border: 1px solid #000;
  max-width: 250px;
  padding: 0.4em;
  font-size: 110%;
  border-radius: 0.4em;
}

.form-row input[type="radio"],
.form-row input[type="checkbox"]
 {
  width: auto;
  height: auto;
  display: inline-block;
}
.checkbox-input-row {
  padding-bottom: 5px;
  margin-left: 20px;
}
.checkbox-input-row input {
  max-width: none;
  width: auto;
  vertical-align: middle;
}
.checkbox-input-row label {
  max-width: auto;
  display:inline-block;
  font-weight: normal;
  vertical-align: middle;
  transition: all 0.2s ease;
}
.checkbox-input-row input:checked + label {
  font-weight: bold;
  background:lightgreen;
  padding:0 10px;
}

.submit-btn {
  background: #188C44;
  color: #fff;
}


.notifyjs-OLResultNotification-base .title {
  font-weight: bold;
}

.notifyjs-OLResultNotification-base .content {
  color: #188C44;
}

.notifyjs-OLResultNotification-base .url {
  display: none;
}

#form-status {
  display: none;
}

#form-status.active {
  display: block;
  border: 3px solid #fff;
  padding: 1em 0.5em;
  text-align: center;
}

#form-status.error {
  border-color: red;
  background: #ffe9e7;
}

#form-status.success {
  border-color: green;
  background: #e7f2e7;
}

#FiltersPanel {
    background:#f8f8f8;
    border-bottom: 1px solid #ccc;
    padding: 20px 10px;
    margin-bottom: 20px;
    display: flex;
}
.FiltersPanelInner {
  display: flex;
  flex: 75%;
  max-width: 75%;
}
.FiltersToggleBtnWrap {
  flex: 7%;
  text-align: right;
}

.FiltersPanelInner .FilterCol{
  flex: 33%;
  max-width: 33%;
}
.FilterCol .FilterLabel{
  font-weight: bold;
}

.FilterCol.toggle {
  margin-left: auto;
  text-align: right;
  flex: 10%;
}
#SelectedClubsRow {
  vertical-align: middle;
}
#SelectedClubsRow .SelectedClubsHolder{
  white-space: nowrap;
  overflow-x: hidden;
  text-overflow: ellipsis;
}

#SelectedResultsForm .form-row {
  max-width: 33%;
}

#SelectedResultsForm .form-row.bottom {
  display: flex;
  margin: 0;
  max-width: 100%;
}

#SelectedResultsForm .form-row-col {
  flex: 25%;
}
#SelectedResultsForm .form-row-col.submit {
  flex: 10%;
}

#SelectedResultsForm .form-row-col.submit .btn{
  width: 100%;

}

#ClubsCheckboxInputRow.form-row {
  display: flex;
  flex-flow: row wrap;
  width: 100%;
  max-width: 100%;
}

.checkboxCol {
  flex: 25%;
  max-width: 25%;
  margin-top: 20px;
  margin-bottom: 20px;
}

.checkboxCol h3 {
  margin-top: 0;
  margin-bottom: 10px;
}
.checkboxCol h3 input{
  display:inline-block;
  width: auto;
  max-width: none;
  margin-right: 5px;
  vertical-align: middle;
}
.checkboxCol h3 label{
  display:inline-block;
  cursor: pointer;
}

.ClassNameWrap {
  display: flex;
}

.ClassNameWrap .ClassName {
  margin-right: 10px;
}
.ClassNameWrap .medal {
  margin-left: auto;
}

.medal {
  font-size: 0.8em;
  width: 22px;
  height: 22px;
  border-radius: 100%;
  color: white;
  text-align: center;
  line-height: 1.2rem;
  vertical-align: middle;
  border-width: 2px;
  border-style: solid;
  z-index: 1;
  border-color: #edeff1;
  text-shadow: 2px 2px 0 #98a6ad;
  background: linear-gradient(to bottom right, #d1d7da 50%, #c3cbcf 50%);
}

.medal::after {
  clear: both;
  float: none;
}

.medal_gold {
  border-color: #fadd40;
  text-shadow: 0 0 4px #9d6c04;
  background: linear-gradient(to bottom right, #f9ad0e 50%, #e89f06 50%);
}
      
.medal_silver {
  border-color: #edeff1;
  text-shadow: 0px 0px 4px #98a6ad;
  background: linear-gradient(to bottom right, #d1d7da 50%, #c3cbcf 50%);
}
      
.medal_bronze {
  border-color: #f7bb23;
  text-shadow: 0 0 4px #7d4604;
  background: linear-gradient(to bottom right, #df7e08 50%, #c67007 50%);
}
      
/* EMBEDDED */

/*body.embedded #OnlineHeaderMenu,*/
body.embedded .StartInformation,
body.embedded .HideIfEmbedded,
body.embedded .EventHyperLinks,
body.embedded #OnlineFooterLower,
body.embedded #OnlineHeaderUpper,
body.embedded #OnlineStatus {
  display: none !important;
}
body.embedded #online_content {
  padding: 0;
}
body.embedded #OnlineHeaderUpper {
  margin-top: 0 !important;
  color: #222;
}

body.embedded .StartInformation,
body.embedded .EventHyperLinks {
  display: none;
}

.NarrowFollow {
  white-space: normal;
}

.km {
  white-space: nowrap;
}

tr.teamTitle, tr.classTitle {
  background-color: #f9f9f9 !important;
}

tr.legTitle {
  background-color: transparent !important;
}

.teamTitle td {
  font-weight: bold;
}

.classTitle td {
  font-weight: bold;
  
  border-bottom: 1px solid black !important;
  border-top: 1px solid black !important;
}

.classTitle td.legnumbercell {
  text-align: left;
}

.legTitle td.legnumbercell {
  text-align: right;
  padding-right: 10px;
}

/* RESPONSIVE */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  #OnlineTable_wrapper.full-width-table table {
    max-width: 2000px !important;
    width: 100% !important;
  }
}

/* Large devices (desktops, 992px and down) */
@media (max-width: 992px) {

  .ui-widget-content {
    max-width: 95%;
  }
}

/* Medium devices (tablets, 768px and down) */
@media (max-width: 768px) {
  body.noscroll {
    overflow: hidden;
    height: 100%;
    -webkit-overflow-scrolling: touch;
  }
  body.noscroll .ui-dialog {
    max-height: 95vh;
    position: fixed;
    top: 0 !important;
    overflow-y: scroll;
  }
  .show-small {
    display: inherit !important;
  }

  .hidden-small {
    display: none !important;
  }
  #EventSelection_wrapper.narrow-table table {
    max-width: 100%;
  }

  #EventSelection tbody td {
    white-space: unset;
  }

  .narrow-table table {
    max-width: 100%;
  }

  .narrow-table table.dataTable.compact tbody th,
  .narrow-table table.dataTable.compact tbody td {
    /* white-space: unset; Jouni kommentoi 14.4.2019 */
  }

  .checkboxCol {
    max-width: 50%;
    flex: 50%;
  }
}

/* Small devices (landscape phones, 576px and down) */
@media (max-width: 576px) {
  #online_content {
    padding: 1em 0;
  }
  #OnlineHeaderMenu,
  #OnlineHeaderUpper,
  #OnlineHeaderLower,
  #OnlineFooterUpper,
  #ErrorDiv,
  #SelectionDiv,
  #OnlineStatus,
  #FormWrap,
  #OnlineFooterLower {
    padding: 0 1em;
    /*font-size: 85%;*/
  }
  #OnlineTable_wrapper.full-width-table {
    /*overflow-x: auto; Jouni kommentoi pois 20.4.2019 */
  }
  #OnlineTable_wrapper.full-width-table table {
    padding:0 5px;
  }
  body {
    font-size: 92%;
  }

  .ClassNameTitle {
    font-size: 2em;
    letter-spacing: 2px;
  }

  #CompetitorPopup.ui-dialog-content {
    padding: 0 !important;
  }

  .ui-widget-content {
    max-width: 100%;
  }
  
  #OnlineStatusClock {
    display: none;
  }

}

/* PRINT */
@media print {
  #OnlineHeaderMenu>button, #HeaderNavigation, #OnlineFooterLower {
    display: none;
  }

  body.popup-open #online_content,
  body.popup-open .ui-widget-overlay,
  body.popup-open #CompetitorPopupCloseButton,
  body.popup-open #CompetitorActionsList,
  body.popup-open .ui-dialog .ui-dialog-titlebar-close{
      display: none;
  }

  body.popup-open .ui-dialog {
    position: static;
    width: 100% !important;
    overflow: visible !important;
    border: 0;
    box-shadow: none;
  }
}



/* ANIMATIONS */

@-moz-keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes scaleDown {
  80% {
    opacity: 0;
    -webkit-transform: scale(0);
  }

  100% {
    opacity: 0;
    -webkit-transform: scale(0);
  }
}

@-moz-keyframes scaleDown {
  80% {
    opacity: 0;
    -moz-transform: scale(0);
  }

  100% {
    opacity: 0;
    -moz-transform: scale(0);
  }
}

@keyframes scaleDown {
  80% {
    opacity: 0;
    transform: scale(0);
  }

  100% {
    opacity: 0;
    transform: scale(0);
  }
}

@-webkit-keyframes pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(24, 140, 68, 0.4);
  }

  70% {
    -webkit-box-shadow: 0 0 0 10px rgba(24, 140, 68, 0);
  }

  100% {
    -webkit-box-shadow: 0 0 0 0 rgba(24, 140, 68, 0);
  }
}

@keyframes pulse {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba(24, 140, 68, 0.4);
    box-shadow: 0 0 0 0 rgba(24, 140, 68, 0.4);
  }

  70% {
    -moz-box-shadow: 0 0 0 10px rgba(24, 140, 68, 0);
    box-shadow: 0 0 0 10px rgba(24, 140, 68, 0);
  }

  100% {
    -moz-box-shadow: 0 0 0 0 rgba(24, 140, 68, 0);
    box-shadow: 0 0 0 0 rgba(24, 140, 68, 0);
  }
}

#OnlineYearSelection{
  list-style:none;
  margin:0px;
  padding:0px;
  max-width: 800px;
}

#OnlineYearSelection li {
  display:inline-block;
  width: 40px;
  height: 20px;
  text-align: center;
}

#OnlineYearSelection li.selected {
  background-color: #188C44;
}

#OnlineYearSelection li.selected a {
  color: white !important;
}
