﻿* {
    margin: 0;
    padding: 0;
}

body {
    font-size: 100%;
    text-align: center;
    background: #fff;
    font-family: Arial;
    font-size: 20px;
}

/*
    all divs will be measured from border to border
*/
div {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

#bodyWrap {
    margin: 0 auto;
    max-width: 1024px;
    max-height: 768px;
}

#bodyWrap:after {
    background: url(../images/sprite.png);
    visibility: hidden;
}

#wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    text-align: left;
}

#wrapperWide {
    position: relative;
    top: 0px;
}

.textboxInner {
    display: table-cell;
}

.textbox {
    display: table;
}

.centerVertical {
    vertical-align: middle;
}

.bottomVertical {
    vertical-align: bottom;
}

.topVertical {
    vertical-align: top;
}

.centerHorizontal {
    text-align: center;
}

.leftHorizontal {
    text-align: left;
}

.rightHorizontal {
    text-align: right;
}

.hidden {
    display: none !important;
}

.dragable {
    cursor: pointer;
}

.touch {
    cursor: pointer;
}

.relative {
    position: relative;
}

.bold {
    font-weight: bold;
}

.absolute {
    position: absolute;
}

.entire {
    position: relative;
    height: 100%;
    width: 100%;
    top: 0px;
    left: 0px;
}


.bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.content {
    position: absolute;
    z-index: 1;
}

.roundedCorners {
    -webkit-border-radius: 15px;
}

.shadow {
    -webkit-box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
}

.hidden {
    display: none;
}

.display {
    overflow: hidden;
}

.loadingPopup {
    position: absolute;
    top: -60px;
    left: 50%;
    margin-left: -162px;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(40, 40, 40, 0.8)), to(rgba(0, 0, 0, 0.8)));
    color: white;
    padding: 0;
    width: 324px;
    height: 50px;
    -webkit-border-radius: 7px;
    font: 14px Helvetica, sans-serif;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .5);
    -webkit-text-stroke: 1px transparent;
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, .6);
    -webkit-transition-property: top, opacity;
    -webkit-transition-duration: 0.2s;
    -webkit-transform-origin: center bottom;
}

.loadingPopup h3 {
    margin: 0 10px 10px 10px;
    font-size: 30px;
    font-weight: bold;
    color: white;
    text-shadow: none;
    -webkit-background-clip: none;
    background: transparent;
    -webkit-text-fill-color: white;
    text-align: center;
    margin-top: 5px;
}

.loadingPopup.show {
    top: 0px;
    opacity: 1;
}

.slideOutButtonLeft {
    position: absolute;
    top: 284px;
    right: -118px;
    width: 200px;
    height: 3px;
    z-index: 100;
    text-shadow: rgba(0, 0, 0, 0.7) 0px -1px 0 !important;
    -webkit-border-radius: 0px 0px 5px 5px;
    -webkit-box-shadow: -3px 3px 5px rgba(33, 33, 33, .7) !important;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4C4C4C), color-stop(0%, #474747), color-stop(0%, #666), color-stop(12%, #595959), color-stop(1%, #AFAFAF), color-stop(61%, #2C2C2C), color-stop(63%, black), color-stop(70%, #111), color-stop(85%, #2B2B2B), color-stop(94%, #1C1C1C), color-stop(100%, #131313));
    color: white;
    display: table;
    -webkit-transform: rotate(270deg);
    font-size: 30px;
}

.active:after {
    bottom: -15px;
    right: -10px;
    width: 64px;
    height: 64px;
    background: url(../images/sprite.png) no-repeat 0px -666px;
    display: block;
    position: absolute;
    content: ' ';
}

@-webkit-keyframes appearFromLeft

/* Safari and Chrome */
    {
    0% {
        left: -100px;
        top: 300px;
        opacity: 0.3;
        -webkit-transform: scale(2);
    }

    25% {
        left: 800px;
        top: 300px;
        opacity: 0.8;
        -webkit-transform: scale(2);
    }

}


/* Clearfix */
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}