@charset "utf-8";
/*--- live stream widget ---*/

.odometer { display:inline-block; font-size:5rem; }
.okm:after { content:'mi'; position: relative; top: 4px; font-size: 3rem;}
.opc:after { content:'%'; position: relative; top: 4px; font-size: 3rem;}

.resultli { -webkit-box-pack: justify;-ms-flex-pack: justify;justify-content: space-between; }
.jcsb { justify-content: space-between; }
.sideBarMap { box-shadow: 0 1px 2px #ddd;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%; }
.ac_virtualeventcontainer { height:100%; margin-bottom:20px; box-shadow: 0 1px 10px #ccc; }
.twdc_eventstreamdiv { display:none !important; }
.bgwoffset { display:none !important; }
.TWDCmapContainer { height:100%; }
.snow {position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none; z-index:9999;
}
.ifouter { height:100%;}
.donepu { position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 999; font-size: 32px; }
.donepu p { background: #fff; padding: 10px; border-radius: 5px; text-transform: uppercase; color: #fc0; opacity: 0.9; }
.dlnodeod { font-size: inherit !important; color: inherit !important; }

.livestreamheader > div { -webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0;  }

.ac_virtualeventcontainer .map16x9 { cursor:auto !important; padding-bottom:56.25%;}
.kiliScores { -webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0; min-width:320px; overflow: hidden; }
.kiliScores .showhidebtn { display:none; }
.addcalouter { margin-bottom:30px; }
.info { background:#f84; color:#fff; padding:5px; margin-bottom:10px;}
.info:before { content:'\f129'; left:5px; font-size:2rem; color:#f84; background:#fff; border-radius:100%; width:26px; height:26px; text-align:center; margin-right:10px; min-width:26px; max-width:26px;  }

.canDelete { width:100%; height:100%; }
.canDelete:before { content:'\f1f8'; text-align:center; cursor:pointer; color:#888; transition:all 0.3s;}
.canDelete:hover:before { color:#c40; }

.daypicked { background:#4cf; color:#fff; }
.addactCalDay[data-day] { cursor:pointer; }
.invalidday { opacity:0.5; background:#eee; cursor:auto !important;}
.unitsSelected { color:#fff !important; }
.addActIB { margin:0 0 30px 0; }
.addactCalDay { font-family:Montserrat, arial, sans-serif; -webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0; min-height:40px; text-align:center; border-left:1px dotted #ccc; border-bottom:1px dotted #ccc; transition:all 0.3s; }
.addactCalDay:last-child { border-right:1px dotted #ccc; }
.actDistance { width:100%; font-size:2rem; padding:0 5px;}
.actDate, .actSource, .actDel { width:100px; min-width:100px; max-width:100px; padding:0 5px;}
.actheader { background:#ccc; color:#fff; }
.actLI { border-bottom:1px dotted #dda; }
.actLI:last-child { border-bottom:none; }
.uploadBox { color:#888; font-size:1.4rem; line-height:2.8rem; padding:10px 0 0 0; align-items:center;}
.onmapcopy { padding:20px; }
.viewperformance { margin:0 5px; z-index:4000; min-height:46px; text-transform: uppercase; background: #4cf; color: #fff; font-size: 2rem; }
.viewperformance.stuck-fixed { right:0%; z-index:6999;}
.twdc_ugdc:before { min-width:160px !important; font-weight:normal; }
.leaflet-tooltip-right::before, .leaflet-tooltip-top:before { display:none !important;}
.leaflet-tooltip-left::before { display:none !important;}

.vab.stuck-fixed { right:0%; z-index:6999; width:100% !important; left:0; padding:5px; background:#fff; box-shadow:0 1px 2px #ccc; }
.vab.stuck-fixed button { float:right;  }
.recordedActivities:empty:before { content:'no activities logged to date'; line-height:60px; margin-bottom:10px; }
.recordedActivities.loading:before { content:'retrieving your activities..'; }
.fourfourfour { color:#444; }

.namesearch { background:#f4f4f4; width:100%; padding:5px 5px 5px 50px; }
.namesearch:before { content:'\f002'; font-size: 20px; color: #888; display: block; position: absolute; left: 18px; line-height: 38px;}
.namesearch input { margin:0; }
.clearsearch { width:40px; }
.clearsearch:before { content:'\f1f8'; display: block; font-size: 20px; color: #888; line-height: 38px; text-align: center;}
.milesWrapper { width:100%; overflow:auto; }

.mileagetable { flex:1; overflow: auto; scrollbar-width: none;width:100%; flex-wrap:wrap; background:url(https://storage.googleapis.com/ub_event_images/snow.jpg);}
.snowprints { background: url('data:image/svg+xml,<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg fill="%23000000" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="30px" height="30px" viewBox="-31.81 -31.81 185.97 185.97" xml:space="preserve" transform="rotate(90)"><g id="SVGRepo_bgCarrier" stroke-width="0"/><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"/><g id="SVGRepo_iconCarrier"><g><path d="M36.913,86.333c6.3-0.399,11.4-6.8,14.2-16.1c0.6-2-1-3.9-3.1-3.8l-24.7,1.6c-2.1,0.1-3.4,2.3-2.6,4.2 C24.613,81.133,30.613,86.733,36.913,86.333z"/><path d="M49.513,55.333c3.1-0.2,5.6-2.8,5.6-6c0-4.9,0.5-10.4,1.3-16.4c1.9-13.7-1.5-32-18.6-32.9c-20.9-1.1-24.5,25.3-23.5,40.7 c0.3,4.2,0.9,8.2,1.8,11.9c0.7,2.8,3.3,4.7,6.2,4.5L49.513,55.333z"/><path d="M99.114,104.033l-24.7-1.6c-2.101-0.101-3.7,1.8-3.101,3.8c2.7,9.3,7.9,15.7,14.2,16.1c6.3,0.4,12.2-5.2,16.2-14.1 C102.513,106.333,101.213,104.233,94.114,104.033z"/><path d="M84.614,36.033c-17.101,0.9-20.5,19.2-18.601,32.9c0.8,6.1,1.2,11.5,1.3,16.399c0,3.2,2.5,5.8,5.601,6l27.1,1.8 c2.9,0.2,5.5-1.699,6.2-4.5c0.9-3.699,1.6-7.699,1.8-11.899C109.114,61.333,105.513,34.933,84.614,36.033z"/></g></g></svg>');
    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: repeat;
  background-repeat: repeat-x;
  opacity: 0.1; z-index:10;
  background-position: center right; height:40px; position:absolute; left:0; bottom:0;  width:0;}

.bigNumber[data-co]{ font-size:16px; }
.completedroute:after { content:attr(data-l); position:absolute; bottom:2px; right:0; width:60px; text-align:center; }
#unitchoice_km + label { color:#fff; margin:0; padding:0 5px; text-align:center; height:20px; left:0; width:100%; background:#dda; }
#unitchoice_km + label:before { box-shadow:none !important; content:'SWITCH TO MILES'; display:inherit; }
#unitchoice_km:checked + label:before { box-shadow:none !important; content:'SWITCH TO KILOMETRES'; display:inherit; }
#unitchoice_km:checked + label + .mileagetable .bigNumber:before { content:attr(data-m); font-size:34px; line-height:50px; text-align:right;}
#unitchoice_km:checked + label + .mileagetable .bigNumber:after { content:"miles"; font-size:18px; line-height:50px; text-align:right;}

.resultOuter { transition:all 0.3s; font-size:2rem; padding:5px 0; }
.resultOuter[data-fam='Y'] .resultName:after { content:'\f0c0'; margin-left:20px; display:inline;  font-size:12px; color:#bb8; }
.resultOuter[data-fam='Y'] { background:#eee !important; }

.fundprogress { position: absolute; top: 0; left: 0;right: 0; bottom: 0; pointer-events: none; z-index: 300; display: flex; flex-direction: column; align-items:center; justify-content:center; }
.fundprogress[data-pc]:before { content:attr(data-pc)'% funded'; font-size:3rem; color:#fff; text-shadow: 0 4px 4px rgba(0,0,0,0.8);font-weight: bold;
font-family: Montserrat; background: rgba(0,0,0,0.2); padding: 2px 5px; border-radius: 3px;}
.km50 .nameAndScore{ background-image: url(https://www.ultrabritain.com/StravaAPI/Strava-XNRG/SantaVirtual2022/IMG/50KM.png); background-size:contain; background-position:0 0; background-repeat:no-repeat;}
.km100 .nameAndScore{ background-image: url(https://www.ultrabritain.com/StravaAPI/Strava-XNRG/SantaVirtual2022/IMG/100KM.png); background-size:contain; background-position:0 0; background-repeat:no-repeat;}
.km150 .nameAndScore{ background-image: url(https://www.ultrabritain.com/StravaAPI/Strava-XNRG/SantaVirtual2022/IMG/150KM.png); background-size:contain; background-position:0 0; background-repeat:no-repeat;}
.km200 .nameAndScore{ background-image: url(https://www.ultrabritain.com/StravaAPI/Strava-XNRG/SantaVirtual2022/IMG/200KM.png); background-size:contain; background-position:0 0; background-repeat:no-repeat;}
.km250 .nameAndScore{ background-image: url(https://www.ultrabritain.com/StravaAPI/Strava-XNRG/SantaVirtual2022/IMG/250KM.png); background-size:contain; background-position:0 0; background-repeat:no-repeat;}
.completedroute:after { content:''; width:40px; height:40px; position:absolute; right:5px; top:10px; background-image: url(https://www.ultrabritain.com/StravaAPI/Strava-XNRG/SantaVirtual2022/IMG/chFlag40px.gif); background-position:center; background-repeat:no-repeat;}

.km50:before, .km100:before, .km150:before, .km200:before, .km250:before { border-radius: 0 0 100% 100%; width: 55px; text-align: center; left: 0px; bottom: 6px; position: absolute; z-index: 99; font-size: 1.4rem; padding: 1px 2px;}
.km50:before { content:"50km+"; background: rgba(255,255,255,0.65); color: #333; }
.km100:before { content:"100km+"; background: rgba(255,200,200,0.65); color: #333; }
.km150:before { content:"150km+"; background: rgba(255,155,155,0.65); color: #333; }
.km200:before { content:"200km+"; background: rgba(255,100,100,0.65); color: #333; }
.km250:before { content:"250km+"; background: rgba(255,55,55,0.65); color: #fff; }

.showhide { opacity:0; position:absolute; right:0; top:0; width:0; height:0; }
#twdc_ac_showtable + label { margin:0; z-index:11; background:#4cf; color:#fff; position:absolute; top:0; left:0; width:30%; height:30px; line-height:30px; text-align:center; text-transform:uppercase; font-size:2rem;}
.kiliScores #twdc_ac_showtable + label { width:100%; display:none; }
.hidename { display:none !important; }
#twdc_ac_showtable + label:before { box-shadow:none !important; display:block; content:'show table'; }
#twdc_ac_showtable:checked + label:before { content:'hide table'; }
#twdc_ac_showtable ~ ul { /*height:calc(100% - 48px);*/ opacity:1;}

.santaHat { background-image: url('data:image/svg+xml,<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg height="800px" width="800px" version="1.1" id="_x32_" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 512 512" xml:space="preserve" fill="%23ff0000"><g id="SVGRepo_bgCarrier" stroke-width="0"/><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"/><g id="SVGRepo_iconCarrier"><style type="text/css"> .st0{fill:%23d90000;} </style><g><path class="st0" d="M494.022,347.362c-6.63-6.637-14.785-11.772-23.93-14.793v-0.03c0,0-0.008,0-0.015,0 c-5.618-14.986-15.06-37.741-27.16-63.941c-19.586-42.303-46.083-93.43-74.805-134.483c-14.421-20.553-29.348-38.604-44.669-51.924 c-7.679-6.66-15.462-12.137-23.506-16.058c-8.044-3.892-16.423-6.266-24.972-6.266h-78.846c-7.954,0-15.544,1.324-22.598,3.75 c-12.419,4.264-23.112,11.854-32.48,21.222c-14.056,14.108-25.396,32.368-35.613,51.671 c-10.217,19.332-19.302,39.788-28.247,58.294c-10.216,21.11-15.775,36.915-18.788,49.439c-1.109,4.576-1.838,8.721-2.374,12.501 c-0.737,0.685-1.444,1.384-2.12,2.12c-4.145-1.614-8.52-2.374-12.836-2.374c-5.7,0-11.34,1.324-16.504,3.922 c-5.142,2.567-9.77,6.407-13.35,11.377c-4.628,6.459-6.92,13.997-6.92,21.416c0,6.295,1.638,12.531,4.778,18.089 c-1.667,1.86-3.103,3.862-4.323,6.005C1.727,322.635,0,328.819,0,335.337c0,10.127,4.153,19.354,10.783,25.984 c4.992,5.03,11.511,8.609,18.788,10.046c1.897,6.102,5.365,11.489,9.882,15.745c6.518,6.154,15.433,9.934,25.114,9.934 c6.012,0,11.734-1.436,16.728-4.033c1.674-0.841,3.274-1.838,4.777-2.962c1.496,1.124,3.104,2.12,4.77,2.962 c5.015,2.597,10.722,4.033,16.727,4.033c5.983,0,11.712-1.436,16.735-4.033c1.667-0.841,3.274-1.838,4.77-2.962 c1.496,1.124,3.103,2.12,4.77,2.962c4.992,2.597,10.722,4.033,16.704,4.033c6.005,0,11.735-1.436,16.735-4.033 c1.66-0.841,3.274-1.838,4.762-2.962c1.496,1.124,3.11,2.12,4.77,2.962c5.03,2.597,10.722,4.033,16.735,4.033 c5.983,0,11.712-1.436,16.735-4.033c1.666-0.841,3.274-1.838,4.77-2.962c1.496,1.124,3.103,2.12,4.769,2.962 c4.993,2.597,10.723,4.033,16.735,4.033c5.983,0,11.705-1.436,16.705-4.033c1.689-0.871,3.296-1.86,4.792-2.962 c1.496,1.124,3.081,2.12,4.74,2.962c5.023,2.597,10.752,4.033,16.735,4.033c6.012,0,11.712-1.436,16.735-4.033 c1.666-0.841,3.274-1.838,4.769-2.962c1.496,1.124,3.104,2.12,4.77,2.962c4.993,2.597,10.722,4.033,16.728,4.033 c5.983,0,11.712-1.436,16.705-4.033c1.697-0.871,3.304-1.86,4.8-2.962c1.496,1.124,3.073,2.12,4.74,2.962 c5.022,2.597,10.752,4.033,16.735,4.033c9.055,0,17.441-3.296,23.788-8.773c-0.03,0.819-0.059,1.667-0.059,2.485 c0,16.929,6.89,32.339,17.978,43.396c11.088,11.088,26.498,18.008,43.404,17.978c16.929,0.03,32.331-6.89,43.396-17.978 c11.088-11.058,18-26.468,17.978-43.396C512.022,373.853,505.11,358.449,494.022,347.362z M382.302,362.706 c-0.558,4.122-2.62,7.76-5.61,10.387c-3.021,2.649-6.861,4.204-11.176,4.204c-2.791,0-5.388-0.648-7.702-1.838 c-2.284-1.183-4.324-2.902-5.871-4.993c-1.868-2.478-4.829-3.951-7.902-3.951c-3.103,0-6.064,1.473-7.924,3.951 c-1.555,2.091-3.586,3.81-5.902,4.993c-2.284,1.19-4.881,1.838-7.679,1.838c-2.82,0-5.387-0.648-7.701-1.838 c-2.314-1.183-4.346-2.902-5.901-4.993c-1.861-2.478-4.792-3.951-7.896-3.951c-3.103,0-6.042,1.473-7.902,3.951 c-1.577,2.091-3.586,3.81-5.9,4.993c-2.314,1.19-4.881,1.838-7.702,1.838c-2.79,0-5.388-0.648-7.702-1.838 c-2.314-1.183-4.316-2.902-5.871-4.993c-1.86-2.478-4.822-3.951-7.924-3.951c-3.11,0-6.042,1.473-7.91,3.951 c-1.548,2.091-3.579,3.81-5.893,4.993c-2.314,1.19-4.882,1.838-7.672,1.838c-2.828,0-5.395-0.648-7.709-1.838 c-2.314-1.183-4.346-2.902-5.893-4.993c-1.868-2.478-4.8-3.951-7.902-3.951c-3.104,0-6.042,1.473-7.902,3.951 c-1.586,2.091-3.586,3.81-5.894,4.993c-2.322,1.19-4.911,1.838-7.709,1.838c-2.82,0-5.387-0.648-7.701-1.838 c-2.315-1.183-4.316-2.902-5.902-4.993c-1.86-2.478-4.792-3.951-7.902-3.951c-3.103,0-6.035,1.473-7.895,3.951 c-1.555,2.091-3.586,3.81-5.901,4.993c-2.314,1.19-4.881,1.838-7.702,1.838c-2.797,0-5.365-0.648-7.679-1.838 c-2.314-1.183-4.346-2.902-5.893-4.993c-1.868-2.478-4.8-3.951-7.902-3.951c-3.103,0-6.064,1.473-7.902,3.951 c-1.578,2.091-3.609,3.81-5.901,4.993c-2.307,1.19-4.904,1.838-7.702,1.838c-2.82,0-5.387-0.648-7.701-1.838 c-2.314-1.183-4.345-2.902-5.9-4.993c-1.861-2.478-4.792-3.951-7.896-3.951c-3.103,0-6.042,1.473-7.902,3.951 c-1.555,2.091-3.586,3.81-5.901,4.993c-2.314,1.19-4.881,1.838-7.701,1.838c-4.517,0-8.52-1.719-11.601-4.576 c-3.043-2.872-5.023-6.794-5.306-11.228c-0.364-5.306-4.881-9.368-10.187-9.197c-0.305,0-0.558,0.03-0.7,0.03h-0.201 c-4.658-0.06-8.78-1.95-11.823-4.964c-3.103-3.11-4.993-7.285-4.993-12.024c0-3.051,0.788-5.841,2.173-8.297 c1.406-2.456,3.407-4.576,5.812-6.064c2.537-1.637,4.233-4.346,4.546-7.367c0.306-3.021-0.818-6.042-2.991-8.126 c-3.416-3.274-5.254-7.732-5.254-12.278c0.03-3.386,0.99-6.742,3.081-9.733l0.142-0.141c1.659-2.344,3.78-4.063,6.146-5.276 c2.374-1.191,5-1.808,7.65-1.808c3.385,0.03,6.742,0.99,9.71,3.073l0.112,0.089l0.082,0.052c2.284,1.748,5.224,2.433,8.074,1.808 c1.912-0.394,3.638-1.354,4.993-2.738c0.677-0.707,1.265-1.525,1.748-2.456c1.384-2.768,3.557-5.104,6.154-6.741 c0.93-0.596,1.912-1.102,2.931-1.466c1.89-0.737,3.892-1.132,6.065-1.132c2.798,0,5.394,0.677,7.709,1.861 c2.284,1.182,4.316,2.909,5.872,4.962c1.86,2.486,4.822,3.982,7.924,3.982s6.042-1.496,7.902-3.982 c1.555-2.053,3.586-3.78,5.901-4.962c2.284-1.184,4.874-1.861,7.672-1.861c2.82,0,5.387,0.677,7.701,1.861 c2.314,1.182,4.346,2.909,5.901,4.962c1.86,2.486,4.792,3.982,7.902,3.982c3.103,0,6.064-1.496,7.925-3.982 c1.555-2.053,3.557-3.78,5.871-4.962c2.314-1.184,4.881-1.861,7.701-1.861c2.798,0,5.387,0.677,7.709,1.861 c2.314,1.182,4.316,2.909,5.894,4.962c1.86,2.486,4.799,3.982,7.902,3.982c3.103,0,6.042-1.496,7.902-3.982 c1.548-2.053,3.579-3.78,5.893-4.962c2.314-1.184,4.881-1.861,7.679-1.861c2.82,0,5.388,0.677,7.702,1.861 c2.314,1.182,4.346,2.909,5.901,4.962c1.86,2.486,4.8,3.982,7.902,3.982c3.103,0,6.064-1.496,7.895-3.982 c1.585-2.053,3.586-3.78,5.901-4.962c2.315-1.184,4.912-1.861,7.702-1.861c2.82,0,5.394,0.677,7.701,1.861 c2.314,1.182,4.323,2.909,5.9,4.962c1.831,2.486,4.8,3.982,7.903,3.982c3.103,0,6.034-1.496,7.902-3.982 c1.548-2.053,3.579-3.78,5.893-4.962c2.314-1.184,4.881-1.861,7.709-1.861c2.79,0,5.357,0.677,7.672,1.861 c2.314,1.182,4.346,2.909,5.901,4.962c1.86,2.486,4.822,3.982,7.924,3.982c0.312,0,0.625-0.022,0.93-0.052l69.842,77.566 C385.122,356.359,382.815,359.208,382.302,362.706z M480.055,420.188c-7.568,7.56-17.896,12.188-29.43,12.188 c-11.518,0-21.869-4.628-29.437-12.188c-7.538-7.56-12.158-17.888-12.188-29.43c0.03-8.356,2.456-16.117,6.712-22.636 c1.556-2.456,3.416-4.74,5.477-6.801c1.719-1.719,3.609-3.267,5.618-4.68c6.742-4.711,14.927-7.479,23.819-7.508 c11.534,0.03,21.862,4.658,29.43,12.188c7.56,7.568,12.188,17.918,12.188,29.437C492.244,402.3,487.616,412.628,480.055,420.188z"/></g></g></svg>');
background-size:cover; height:40px; width:40px; position:absolute; top:50%; margin:-20px 0 0 -40px; }
.santaLIWrap { width:100%; }
.nameAndScore { font-size:1.6rem; flex-basis:30%; padding:10px; background:#f8f8f8; padding-left:70px; min-width:30%; width:30%;  }
.santaVis { flex-basis:70%; min-width:70%; background: rgba(255,255,255,0.5);}
.santaLIWrap { display:flex; }

.TWDCleafletMapContainer  { position:absolute; top:0; left:0; right:0; bottom:0; }
.TWDCleafletMapContainer:before { content:''; overflow:hidden; opacity:0.8; position:absolute; top:0; left:0; right:0; bottom:0; background-size:cover; background-position:center bottom;}

.mcInPage { width:0 !important; }
.csquare:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}
.odometer-inside { display:inline; }
.twdc_odometer {background: rgb(226,131,14);
background: linear-gradient(90deg, rgba(226,131,14,1) 0%, rgba(226,177,14,1) 100%);
padding: 10px; color: #fff; font-size: 3rem; margin-bottom: 1px;
font-family: Montserrat, arial, sans-serif;}

.odopanel { position:absolute; top:0; right:0; bottom:0; width:auto; }
.odopanel:before { content:''; position:absolute; top:0; left:0; right:0; bottom:0; background:#eee; opacity:0.2; }

.map16x9 { -webkit-box-flex:3;-ms-flex:3 1 0px;flex:3 1 0; }
#twdc_ac_showtable:checked ~ ul { /*height:calc(100% - 78px);*/ opacity:1; }
#twdc_ac_showtable:checked ~ .namesearch { opacity:1; }
.mileagetable:empty:before { content:'results refreshing..'; padding:20px 10px; font-size:1.4rem;}

.warning { margin-top:0 !important; font-size:12px; padding: 2px 5px; display: inline; text-transform: uppercase; color:#f40; ; border-radius: 3px; }
.bigNumber:before { content:attr(data-km); font-size:2rem; line-height:2rem; text-align:right;}
.bigNumber:after { content:"km"; font-size:1.8rem; line-height:2rem; text-align:right;}
#unitchoice_km:checked + label + .mileagetable .bigNumber:before { content:attr(data-m); font-size:2rem; line-height:2rem; text-align:right;}
#unitchoice_km:checked + label + .mileagetable .bigNumber:after { content:"mi"; font-size:18px; line-height:2rem; text-align:right;}

.warning:before { color:#f40; content:'\f071'; margin-right:10px; z-index:10;}
.mileagetable li { border-bottom:1px dotted #ddd; -webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between; color:#888; padding:0; width:100%; }
.resultName { text-align:left;}
.mileagetable li:last-child { border-bottom:none; }
.distanceMarker { position:absolute; top:0; height:100%; border-left:1px dashed #888; display:inline-block; }
.distanceMarker:before { content:attr(data-dist); position:absolute; top: -1px; left: 2px; font-size: 1.6rem;  color: #800; font-family: bebas neue; }
.goalMarker { position:absolute; top:0; height:100%; border-left:1px dotted #f40; display:inline-block; background:url(https://storage.googleapis.com/ub_event_images/chequeredlinefade.png) repeat-y; width:60px; opacity:0.6; }

.twdc_eventLiveStream { column-count:7; margin: 10px 0; padding: 0; moz-column-gap: 10px; -webkit-column-gap: 10px; column-gap: 10px; }
.twdc_sustnImage { background:#f8f8f8; padding:10px; box-shadow:0 1px 2px #ddd; margin-bottom:5px; }
.feed_imgclicktrap { position:absolute; top:0; left:0; right:0; bottom:0; cursor:pointer; z-index:100;}
.feed_imgclicktrap:before { content:'\f004'; transition:all 0.3s; color:#F30; font-size:6rem; line-height:6rem; text-shadow: 0 1px 2px #333; transform:translateY(-50px); opacity:0; }
.curated:before { transform:translateY(0); opacity:1; }

.matchedEntrants:empty:before { content:'no-one matched'; }
.matchedEntrants { padding:10px 0;  }
.matchedEntrants li { background:#eeb; cursor:pointer; font-weight:bold; border:1px dotted #ccc; width:200px; padding:5px; margin:0 5px 5px 0;}

.matchedEntrants li:after { font-weight:normal; margin-top:10px; display:block; content:"UltraBritain ID:"attr(data-id)"\A Event Entry ID:"attr(data-reid); }
.matchedEntrants li:hover { background:#dda; color:#fff; }

@keyframes pulsebg {
  from { fill: #fff;}
  to { fill:#91c453;}
}

.event_progress { z-index:111; font-family: Montserrat; color:#888; font-weight:bold; }
.event_progress .fx1 { text-align:center; }
.livestreamheader { overflow:hidden;z-index:3000; padding:10px; }

@media only screen and (max-width: 1000px) {
  .twdc_odometer { font-size: 2.4rem;}
  .odometer { font-size:3rem; }
}

@media only screen and (max-width: 800px) {
	.event_progress { font-size: 1.2rem; line-height: 1.4rem; }
	.showtabs { bottom : 0 !important;}
	.bigNumber:before { font-size:2rem !important; }
  .event_progress { width:100% !important; padding:10px 0 !important; }
    .twdc_odometer { font-size: 2rem;}
    .odometer { font-size:3rem; }
}

@media only screen and (max-width: 479px) {
	.event_progress { font-size: 1.4rem; line-height: 1.6rem; }
	.viewperformance.stuck-fixed { width:100% !important; }
	.onmapcopy { padding:0 !important; }
  .livestreamheader > div { width:100%; float:none; }
  .map16x9 { padding-bottom:100% !important; }
  .twdc_odometer { font-size: 2rem;}
  .odometer { font-size:3rem; }
  .nameAndScore { font-size:1.2rem; padding-left:55px; background-size: 40px 40px !important; background-position: left center !important;}
  .bigNumber:before { font-size:1.4rem !important; line-height:1.5rem !important; }
  .bigNumber:after { font-size:1.4rem; line-height:1.5rem !important;}
}
