/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
* {
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
}

html {}
  position: relative;
  min-height: 100%;
  margin-bottom: 60px;
}

body {
    -webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
    -webkit-user-select: none;                  /* prevent copy paste, to allow, change 'none' to 'text' */
    background-color: #2C3B72;
    color: #FFFFFF;
}

/* Page elements */
/*#splashPage {

}
#nav-panel {
  opacity: 0;
}
#loginForm {
  opacity: 0;
}
#homePage { 
  opacity: 0;
}
#bottomMenu {
  opacity: 0;
}
#pageHeader {
  opacity: 0;
}*/

/* Overrides */
.ui-bar-a, .ui-page-theme-a .ui-bar-inherit, html .ui-bar-a .ui-bar-inherit, html .ui-body-a .ui-bar-inherit, html body .ui-group-theme-a .ui-bar-inherit {
  background-color: #2C3B72;
}
.ui-page-theme-a a, html .ui-bar-a a, html .ui-body-a a, html body .ui-group-theme-a a {
  color: #FFFFFF;
  text-decoration: none;
}
.ui-overlay-a, .ui-page-theme-a, .ui-page-theme-a .ui-panel-wrapper {
  background-color: #2C3B72;
  text-shadow : none;
  color:#FFFFFF;
}
.ui-page-theme-a a:visited, html .ui-bar-a a:visited, html .ui-body-a a:visited, html body .ui-group-theme-a a:visited {
  color:#FFFFFF;
  text-decoration: none;
}
a:-webkit-any-link {
  text-decoration: none;
}

p {
  font-size: 0.9em;
  margin:3px;
}

.ui-content {
  padding:0px;
  padding-top:20px;
  background-color: #2C3B72;
}
.top {
  background-color: #2C3B72;
}
.top a {
  float:left;
}
.top h1 {
  clear:both;
  margin-top:0px;
  margin-bottom:0px;
  padding-bottom: 0px;
  padding-top:0px;
}

#headerspacer {
  position: fixed;
  top: 0px;
  left: 0px;
  height: 20px;
  width: 100%;
  background-color: #2C3B72;
}

.header {
    background-color: #2C3B72;
    color: #FFFFFF;
    font-size: 30px; 
    /*margin-top: 20px;*/
}

.section-header {
  text-align: center;
}

.status-bar {
    height:20px;
    background-color: #2C3B72;
}

.header-logo-center {
  position: absolute;
  left:0px;
  right:0px;
  margin-left: auto; 
  margin-right:auto; 
  width:104px;
}

.homeBlur {
  background-image: url('../images/home-blur.jpg');
  height: 180px;
  text-align: center;
}
.homeBlur .circle {
  position: absolute;
  left:0px; 
  right:0px;
  margin-left: auto;
  margin-right: auto;
  margin-top:20px;
   width: 140px;
   height: 140px;
   background: red; 
   -moz-border-radius: 70px; 
   -webkit-border-radius: 70px; 
   border-radius: 70px;
}

.homeBlur .largeText {
  font-size: 4em;
}

.menu-button {
    text-decoration: none !important;
    margin-left: 20px;
    margin-top: 10px;
}

.menu-bottom {
  /*margin-top:20px;
  /*margin-left: 10px;*/
  text-decoration: none;
  background-color: #2C3B72;
  color: #FFFFFF;
  width:100%;

  position:fixed;
  left:0px;
  bottom:0px;
  height:60px;
}

.menu-bottom ul {
  padding-left:0px !important;
}

.navbar-item {
  float:left;
  display: inline;
  width: 25%;
  text-align: center;
}
.navbar-item a {
  color: #FFFFFF;
  text-decoration: none;
}

.footer {
  position: absolute;
  bottom: 0;
  height: 60px;
  background-color: #2C3B72;
}

.page-content {
  width:100%;
  text-align: center;
  font-size: 50px;
}

.home-box {
  background-color: #2C3B72;
  padding:10px;
  /*height: 50px;*/
  text-align: center;
}
.home-box i {
  font-size: 2.8em;
  color:#FFFFFF;
}

.home-box a {
  font-weight: lighter;
  text-decoration: none;
}

.boxShade1 {
  background-color: #21366d;
}
.boxShade2 {
  background-color: #253974;
}
.boxShade3 {
  background-color: #2c407b;
}
.boxShade4 {
  background-color: #304682;
}

.w50 {
  width:50%;
}

.w100 {
  width:100%;
}

.left {
  float:left;
}

.right {
  float:right;
}

.container-fluid {
  width:100%;
}

/* Portrait layout (default) */

/* Landscape layout (with min-width) */
@media screen and (min-aspect-ratio: 1/1) and (min-width:400px) {
    
}

@keyframes fade {
    from { opacity: 1.0; }
    50% { opacity: 0.4; }
    to { opacity: 1.0; }
}
 
@-webkit-keyframes fade {
    from { opacity: 1.0; }
    50% { opacity: 0.4; }
    to { opacity: 1.0; }
}

/* TRACKING SCREEN */
#scoreForm {
  display:none;
}
#recordForm {
  display:block;
}
#hiit-score {
  display: none;
}
h1#finalScore {
  color:#FFFFFF;
  font-size: 10em;
  text-align: center;
  margin: 0px;
  padding:0px;
}
.recordButton, .recordButton i {
  text-align: center;
  font-size: 2.7em;
  width:100%;
  margin-left:auto;
  margin-right: auto;
  color:#FFFFFF;
}
.resetButton, .resetButton i {
  display: none;
  font-size: 1em;
  width: 100%;
  text-align: center;
  margin-left:auto;
  margin-right: auto;
  color:#FFFFFF;
}
div#timer, div#jumpCount{
  color: #FFFFFF;
}

#loader{
  /*position: absolute;
  top: 130px;
  left: 70px;
  margin-right: auto;
  margin-left: auto;*/
  z-index: 9999;
  /*width: 190px;*/
  font-size: 1.2em;
  color: #fff;
  text-align: center;
}
#retry_load{
  display: none;
}
.loader_content{
  display: block;
  padding: 70px 0px;
}

#loader_overlay{
  position: absolute;
  top: 0px;
  height: 620px;
  width: 320px;
  background-color: #000;
  opacity: 0;
  z-index: 500;
}

.outer {
    display: table;
    position: absolute;
    height: 100%;
    width: 100%;
}

.middle {
    /*display: table-cell;*/
    vertical-align: middle;
}

.inner {
    margin-left: auto;
    margin-right: auto; 
    width: 190px;
    background-color: #000;
    opacity: 0.8;
   border-radius: 10px;  
}

#leaderboard {
  margin-bottom: 65px;
}

form {
  text-align: center;
}
label {
  text-align: left !important;
  width: 90%;
  margin-left: 5% !important;
}
input, select {
  width: 90%;
  line-height: 2em;
}
.appButton {
  border: 0;
  /*width: 90%;
  line-height: 2em;*/
  -webkit-appearance: none;
  background-color: #e81617;
  color: #FFFFFF;
  margin-left: auto;
  margin-right: auto;
}

#feedback {
  width:80%;
  font-size: 1em;
  color: #feff03;
  margin-left: auto;
  margin-right: auto;
}

.icon-box {
  background-color: #2C3B72;
  padding:10px;
  color: #FFFFFF;
  font-size: 5em;
  text-align: center;
  line-height: 15px;
  margin-bottom: 20px;
}
.icon-box a {
  color: #FFFF00;
}
.small-font {
  font-size: 0.2em;
}

.table {
  width: 98%;
  margin-left: auto;
  margin-right: auto;
}
.table tr td {
  padding: 10px;
  text-align: center;
}
.table th {
  color: #FCFF0B;
}
.table tr:nth-child(odd)   { background-color: #111B45; }
.table tr:nth-child(even)    { background-color:#162351; }

#mainPage {
  padding-bottom: 60px;
  background-color: #2C3B72;
}

#warped {position: relative; display: block; width:184px; height:30px;}

#warped>span[class^=w]:nth-of-type(n+0){display:block; position:absolute;
-moz-transform-origin:50% 100%; -webkit-transform-origin:50% 100%; -o-transform-origin:50%
100%; -ms-transform-origin:50% 100%; transform-origin:50% 100%; }

#warped span{font-family:'ABeeZee';font-size:13px;font-weight:regular;font-style:normal;
line-height:0.65; white-space:pre; overflow:visible; padding:0px;}

#warped .w0 {-moz-transform: rotate(-0.93rad);-webkit-transform: rotate(-0.93rad);-o-transform:
rotate(-0.93rad);-ms-transform: rotate(-0.93rad); transform: rotate(-0.93rad);
width: 8px; height: 8px; left: 23.2px; top: 30.38px;}

#warped .w1 {-moz-transform: rotate(-0.74rad);-webkit-transform: rotate(-0.74rad);-o-transform:
rotate(-0.74rad);-ms-transform: rotate(-0.74rad); transform: rotate(-0.74rad);
width: 10px; height: 8px; left: 29.62px; top: 22.29px;}

#warped .w2 {-moz-transform: rotate(-0.53rad);-webkit-transform: rotate(-0.53rad);-o-transform:
rotate(-0.53rad);-ms-transform: rotate(-0.53rad); transform: rotate(-0.53rad);
width: 9px; height: 8px; left: 39.41px; top: 15.54px;}

#warped .w3 {-moz-transform: rotate(-0.34rad);-webkit-transform: rotate(-0.34rad);-o-transform:
rotate(-0.34rad);-ms-transform: rotate(-0.34rad); transform: rotate(-0.34rad);
width: 8px; height: 8px; left: 49.44px; top: 11.16px;}

#warped .w4 {-moz-transform: rotate(-0.2rad);-webkit-transform: rotate(-0.2rad);-o-transform:
rotate(-0.2rad);-ms-transform: rotate(-0.2rad); transform: rotate(-0.2rad);
width: 4px; height: 8px; left: 59.15px; top: 9.06px;}

#warped .w5 {-moz-transform: rotate(-0.06rad);-webkit-transform: rotate(-0.06rad);-o-transform:
rotate(-0.06rad);-ms-transform: rotate(-0.06rad); transform: rotate(-0.06rad);
width: 8px; height: 8px; left: 65.08px; top: 8.07px;}

#warped .w6 {-moz-transform: rotate(0.11rad);-webkit-transform: rotate(0.11rad);-o-transform:
rotate(0.11rad);-ms-transform: rotate(0.11rad); transform: rotate(0.11rad);
width: 7px; height: 8px; left: 75.06px; top: 8.38px;}

#warped .w7 {-moz-transform: rotate(0.28rad);-webkit-transform: rotate(0.28rad);-o-transform:
rotate(0.28rad);-ms-transform: rotate(0.28rad); transform: rotate(0.28rad);
width: 8px; height: 8px; left: 83.86px; top: 10.29px;}

#warped .w8 {-moz-transform: rotate(0.48rad);-webkit-transform: rotate(0.48rad);-o-transform:
rotate(0.48rad);-ms-transform: rotate(0.48rad); transform: rotate(0.48rad);
width: 10px; height: 8px; left: 93.04px; top: 14.42px;}

#warped .w9 {-moz-transform: rotate(0.68rad);-webkit-transform: rotate(0.68rad);-o-transform:
rotate(0.68rad);-ms-transform: rotate(0.68rad); transform: rotate(0.68rad);
width: 8px; height: 8px; left: 103.21px; top: 20.45px;}

#warped .w10 {-moz-transform: rotate(0.86rad);-webkit-transform: rotate(0.86rad);-o-transform:
rotate(0.86rad);-ms-transform: rotate(0.86rad); transform: rotate(0.86rad);
width: 9px; height: 8px; left: 110.21px; top: 27.78px;}

.helpToggle {
  padding-left: 5px;
  text-align: center;
  font-size: 1em;
  /*float: right;
  position: relative;
  top: 50px;*/
}

#advert {
  padding:5px;
  margin-top:10px;
}

.submenu-button {
    padding: 10px;
}

.clearfix {
    clear: both;
}