﻿/* general */
div.modal h1,
div.modal h2,
div.modal h3,
div.modal h4,
div.modal h5,
div.modal h6 { text-align: center; margin-bottom: 5px; }

/* overlay */
div#overlay {
    position: absolute;
    background: #000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: alpha(opacity=50);
    opacity: .5;
    z-index: 500;
    cursor: pointer;
}

div#overlay.hide { display: none; }

/* modal window */
div.modal {
    position: absolute;
    top: -10px;
    left: 50%;
    z-index: 1000;
    background: #fefefe;
    padding: 10px;
    box-shadow: 0 0 10px #333;
    -webkit-transition: top .4s linear;
    -moz-transition: top .4s linear;
    -o-transition: top .4s linear;
    -ms-transition: top .4s linear;
    transition: top .4s linear;
    min-width: 300px;
    border: 2px solid #333;
    color: #333;
}

div.modal.hide { top: -1000px; }

/* close button */
.modal-button {
    float: right;
    margin: 3px 0;
    cursor: pointer;
    text-decoration: none;
    font-size: 13px;
    padding: 4px 10px 4px;
    color: #333333;
    background-color: #ffffff;
    background-image: 1px solid #e6e6e6;
    border-bottom-color: #e6e6e6;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
}
* { margin: 0; padding: 0; }

body { font-family: Arial; }

.clear { clear: both; }
small { font-size: 12px; }

.mahjong {
    font-family: Arial;
    background: url("../../../mahjong-one/images/bg.jpg");
    overflow: hidden;
    position: relative;
}

/* Layout */
#mahjong-wrap {
    position: relative;
    width: 100%;
    height: 100%; 
}

#game-wrap {
    position: absolute;
    top: 60px;
    left: 0;
}

#game-name {
    color: #ED1C24;
    font-size: 20px;
    text-align: center;
    position: absolute;
    text-align: center;
    line-height: 20px;
    display: inline-block;
    padding-left: 10px;
    text-shadow: 0 1px 0 black;
}

#pairs {
    font-size: 14px;
    color: #84595B;
}

#game-time {
    color: #333;
    margin: 10px 0;
    box-shadow: 0 0 1px #000;
    background: #594;
    height: 30px;
    width: 80px;
    line-height: 30px;
    padding: 0 10px;
    border-radius: 2px 0 0 2px;
    font-size: 20px;
    float: right;
    position: absolute;
    right: 0;
    top: 0;
}

#pairs { 
    margin: 10px 0;
    text-align: center;
}

.button {
    display: block;
    float: left;
    color: #333;
    width: 50px;
    height: 30px;
    padding: 8px 0;
    text-align: center; 
    background: -webkit-gradient(linear,0% 40%,0% 70%,from(#F5F5F5),to(#F1F1F1));
    font-weight: normal;
    border: none;
    border-top: 1px solid #aaa;
    border-right: 1px solid #aaa;
    cursor: pointer;
    text-shadow: 0 1px 0 #fff;
}

.button:hover {
    background: #ddd;
}
#toolbar {
    -moz-box-shadow: 0 0 3px black;
    -webkit-box-shadow: 0 0 3px black;
    -o-box-shadow: 0 0 3px black;
    box-shadow: 0 0 3px black;
    position: relative;
    top: 0;
    right: 0;
    left: 0;
    background-image: url("../../../mahjong-one/images/transpgreen.png");
    height: 40px;
    padding: 5px 0;
    width: 100%;
    list-style: none;
    color: #aaa;
    text-shadow: 0 1px 0 #fff;
}

#toolbar li {
    float: left;
    top: 0;
    position: absolute;
    padding: 0 10px;
}
/* Options */
#maps {
    margin: 0 auto 10px auto;
    width: 280px;
}

#maps li {
    display: inline;
    list-style: none;
    margin: 0 1px;
    cursor: pointer;
}

/* Gameover */
.shuffle { margin-left: 30px;}

#tile-style {
    width: 100px;
    padding: 3px;
}



