﻿html, body {
    position: absolute;
    top: 0;
    left: 0;
    font: normal 1em Tahoma, Arial, Verdana;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.MainBG {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    opacity: 0.0;
    z-index: 5;
}

.Main {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.Menu {
    position: relative;
    color: #fff;
    background: #3c6d9c;
    width: 100%;
    padding: 1em -0.5em 1em 1em;
    z-index: 45;
}

    .Menu span {
        padding: 0px 5px 0px 5px;
    }

[id$='ddlSkillLevel'] {
    font: normal 1em Tahoma, Arial, Verdana;
    color: #fff;
    background: #3c6d9c;
    border: none;
}

.Summary {
    position: fixed;
    display: none;
    top: 50%;
    left: 50%;
    color: #3c6d9c;
    background: #FFF;
    padding: 10px 30px 10px 30px;
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border: 5px solid #808080;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    z-index: 50;
}

    .Summary .value {
        display: block;
        float: right;
        text-align: right;
        width: 200px;
    }

#btnStartLevel {
    font: bold 1.2em Tahoma, Arial, Verdana;
    color: #4a8ac7;
    background: #fff;
    padding: 0;
    border: none;
    cursor: pointer;
}

.Paused {
    position: absolute;
    display: none;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 0;
}

    .Paused .Blank {
        position: relative;
        top: 0px;
        left: 0px;
        background: #808080;
        width: 100%;
        height: 100%;
        opacity: 0.7;
        z-index: 30;
    }

    .Paused img {
        position: fixed;
        top: 50%;
        left: 50%;
        background: #c3c3c3;
        margin-top: 10px;
        padding: 30px;
        border: 5px solid #FFF;
        -webkit-border-radius: 10px;
        border-radius: 10px;
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        cursor: pointer;
        z-index: 35;
    }

.GridContainer {
    position: absolute;
    top: 5px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 15;
}

/* Grid and Grid Items */
.item {
    position: relative;
    display: block;
    color: #fff;
    text-align: center;
    height: 120px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -moz-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
    -webkit-transition: all 0.6s ease;
    transition: all 0.6s ease;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

    .item .front, .item .back {
        position: absolute;
        display: flexbox;
        top: 0;
        left: 0;
        align-items: center;
        justify-content: center;
        height: 120px;
        padding: 10px;
        -moz-backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

        .item .front img {
            width: 100px !important;
            height: 100px !important;
        }

.selected {
    background: #0D0 !important;
}

.wrong {
    background: #D00 !important;
}

.hint {
    background: #b400c2 !important;
}

/* Flip Item */
.correct, .item .back {
    -moz-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}


.fl {
    float: left;
}

.fr {
    float: right;
}
