/*
 * 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.
 */
@font-face {
    font-family: 'roboto_condensedbold';
    src: url('robotocondensed-bold.eot');
    src: url('robotocondensed-bold.eot?#iefix') format('embedded-opentype'),
         url('robotocondensed-bold.woff') format('woff'),
         url('robotocondensed-bold.ttf') format('truetype'),
         url('robotocondensed-bold.svg#roboto_condensedbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'roboto_condensedregular';
    src: url('robotocondensed-regular.eot');
    src: url('robotocondensed-regular.eot?#iefix') format('embedded-opentype'),
         url('robotocondensed-regular.woff') format('woff'),
         url('robotocondensed-regular.ttf') format('truetype'),
         url('robotocondensed-regular.svg#roboto_condensedregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'lobster_1.4regular';
    src: url('lobster.eot');
    src: url('lobster.eot?#iefix') format('embedded-opentype'),
         url('lobster.woff') format('woff'),
         url('lobster.ttf') format('truetype'),
         url('lobster.svg#lobster_1.4regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

* {
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
    -webkit-transform: translate3d(0, 0, 0);
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

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' */
    font-family:'roboto_condensedregular', sans-serif;
    font-size:12px;
}

button {
    font-family:'roboto_condensedregular', sans-serif;
}

/* Portrait layout (default) */
.app {
    margin: 1em auto;
    padding: 1em;
    display: none;
}

/* Landscape layout (with min-width) */
@media screen and (min-aspect-ratio: 1/1) and (min-width:400px) {
    .app {
        /* offset horizontal: half of image width and text area width */
    }
}

.banner-placeholder {
    width: 100%;
    height: 20%;
    position: relative;
}

.banner-placeholder a,
.banner-placeholder img {
    width: 100%;
    height: 100%;
}

.difficulty-choice {
    text-align: center;
    padding: 0 1em;
}

.difficulty-choice h1 {
    font-family:'lobster_1.4regular';
    font-size: 4em;
    margin-bottom: 1em;
}

.difficulty-choice h2 {
    font-size: 2em;
    margin-bottom: 0.125em;
}

.difficulty-choice ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: table;
}

.difficulty-choice li {
    display: table-row;
}

.difficulty-choice li div {
    display: table-cell;
    vertical-align: middle;
}

.difficulty-choice li div button {
    width: 100%;
    margin: 0.5em 0;
    font-size: 1.5em;
}

.dummy {
    opacity: 0;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
}

#buttonsContainer {
    text-align: right;
    margin-top: 10px;
}

#winningMessage {
    text-align: center;
    font-weight: bold;
    padding: 20px 0;
    display: none;
}

audio {
    display: none;
}

button {
    font-size: 14px;
    color: #000000;
    padding: 10px;
    background: -moz-linear-gradient(
        top,
        #fafafa 0%,
        #d9d9d9);
    background: -webkit-gradient(
        linear, left top, left bottom, 
        from(#fafafa),
        to(#d9d9d9));
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    border: 1px solid #d6cfd6;
    -moz-box-shadow:
        0px 1px 3px rgba(000,000,000,0),
        inset 0px 0px 2px rgba(255,255,255,1);
    -webkit-box-shadow:
        0px 1px 3px rgba(000,000,000,0),
        inset 0px 0px 2px rgba(255,255,255,1);
    box-shadow:
        0px 1px 3px rgba(000,000,000,0),
        inset 0px 0px 2px rgba(255,255,255,1);
    text-shadow:
        0px -1px 0px rgba(148,149,153,0.2),
        0px 1px 0px rgba(148,149,153,1);
}


.progress {
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.08);
}

.progress-bar {
    width: 0;
    position: relative;
    -webkit-transition: 0.4s linear;
    -moz-transition: 0.4s linear;
    -o-transition: 0.4s linear;
    transition: 0.4s linear;
    -webkit-transition-property: width, background-color;
    -moz-transition-property: width, background-color;
    -o-transition-property: width, background-color;
    transition-property: width, background-color;
    -webkit-box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.1);
}
.progress-bar:before, .progress-bar:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.progress-bar:before {
    bottom: 0;
}
.progress-bar:after {
    z-index: 2;
    bottom: 45%;
    background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
    background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
    background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
}

.progress-percenatge {
    position: absolute;
    text-align: center;
    font-weight: bold;
    height: 100%;
}