/*!
  _____              _                _____ _                   
 |  __ \            (_)              / ____| |                  
 | |__) |__ _ __ ___ _  __ _ _ __   | |    | |__   ___  ___ ___ 
 |  ___/ _ \ '__/ __| |/ _` | '_ \  | |    | '_ \ / _ \/ __/ __|
 | |  |  __/ |  \__ \ | (_| | | | | | |____| | | |  __/\__ \__ \
 |_|   \___|_|  |___/_|\__,_|_| |_|  \_____|_| |_|\___||___/___/
                                                                
----------------------------------------------------------------
 Persian Chess (www.PersianChess.com)
 Copyright 2014 Anooshiravan Ahmadi - MCE @ Schuberg Philis
 Released under the GPL license
 Based on the open source projects mentioned at:
 http://www.PersianChess.com/About
 Redistribution of this game design, rules and the engine 
 requires written permission from the author.
----------------------------------------------------------------

 * chessboard.js v0.3.0
 *
 * Copyright 2013 Chris Oakman
 * Released under the MIT license
 * https://github.com/oakmac/chessboardjs/blob/master/LICENSE
 *
 * Date: 10 Aug 2013
 */

/* clearfix */

html {
    margin: 0px;
    padding: 0px;
}

body {
    margin: 0px;
    padding: 0px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover; 
}

/* board */

.board-b72b1 {
    border: 0px;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}
/* square */

.square-55d63 {
    float: left;
    position: relative;
    /* disable any native browser highlighting */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/* white square */

.white-1e1d7 {
    background-color: #f0d9b5;
    color: #b58863;
}
/* black square */

.black-3c85d {
    background-color: #b58863;
    color: #f0d9b5;
}
.off-53d36 {
    background-color: #3E2C1E;
    color: #b58863;
}
.wait-53d37 {
    background-image:url('../img/wait.gif');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center; 
}
.showsidewhite-53d37 {
    background-image:url('../img/sidewhite.png');
    background-size: 100%;
}
.showsideblack-53d37 {
    background-image:url('../img/sideblack.png');
    background-size: 100%;
}
.persian-53d37 {
    background-color: #b58863;
    color: #b58863;
    background-image:url('../img/persian.png');
    background-size: 100%;
}
.ase-53d37 {
    background-color: #b58863;
    color: #b58863;
    background-image:url('../img/ase.png');
    background-size: 100%;
}
.rightdia-53d38 {
    background-color: #b58863;
    color: #b58863;
    background-image:url('../img/right.png');
    background-size: 100%;
}
.leftdia-53d39 {
    background-color: #b58863;
    color: #b58863;
    background-image:url('../img/left.png');
    background-size: 100%;
}
.white-blue-1e1d7 {
    /*
    background-image: url('squares/light_blue.png');
    background-size: 100%;
    */
    background-color: #CCCFD1;
    color: #7085B6;
}
.black-blue-3c85d {
    /*
    background-image: url('squares/dark_blue.png');
    background-size: 100%;
    */
    background-color: #688DBC;
    color: #DFDFDF;
}
.off-blue-53d36 {
    background-color: #232F3F;
    color: #CCCFD1;
}
.persian-blue-53d37 {
    background-color: #688DBC;
    color: #CCCFD1;
    background-image:url('../img/persian.png');
    background-size: 100%;
}
.ase-blue-53d37 {
    background-color: #688DBC;
    color: #CCCFD1;
    background-image:url('../img/ase.png');
    background-size: 100%;
}
.rightdia-blue-53d38 {
    background-color: #688DBC;
    color: #CCCFD1;
    background-image:url('../img/right.png');
    background-size: 100%;
}
.leftdia-blue-53d39 {
    background-color: #688DBC;
    color: #CCCFD1;
    background-image:url('../img/left.png');
    background-size: 100%;
}

.white-green-1e1d7 {
    /*
    background-image: url('squares/light_blue.png');
    background-size: 100%;
    */
    background-color: #FFFFFA;
    color: #7085B6;
}
.black-green-3c85d {
    /*
    background-image: url('squares/dark_blue.png');
    background-size: 100%;
    */
    background-color: #869E86;
    color: #DFDFDF;
}
.off-green-53d36 {
    background-color: #333F33;
    color: #CCCFD1;
}
.persian-green-53d37 {
    background-color: #869E86;
    color: #CCCFD1;
    background-image:url('../img/persian.png');
    background-size: 100%;
}
.ase-green-53d37 {
    background-color: #869E86;
    color: #CCCFD1;
    background-image:url('../img/ase.png');
    background-size: 100%;
}
.rightdia-green-53d38 {
    background-color: #869E86;
    color: #CCCFD1;
    background-image:url('../img/right.png');
    background-size: 100%;
}
.leftdia-green-53d39 {
    background-color: #869E86;
    color: #CCCFD1;
    background-image:url('../img/left.png');
    background-size: 100%;
}

/* Debug */

.white-debug-1e1d7 {
    background-color: #FFFFFF;
}
.black-debug-3c85d {
    background-color: #FFFFFF;
}
.off-debug-53d36 {
    background-color: #FFFFFF;
}
.persian-debug-53d37 {
    background-color: #FFFFFF;
    background-image:url('../img/persian.png');
    background-size: 100%;
}
.ase-debug-53d37 {
    background-color: #FFFFFF;
    background-image:url('../img/ase.png');
    background-size: 100%;
}
.rightdia-debug-53d38 {
    background-color: #FFFFFF;
    background-image:url('../img/right.png');
    background-size: 100%;
}
.leftdia-debug-53d39 {
    background-color: #FFFFFF;
    background-image:url('../img/left.png');
    background-size: 100%;
}

/* oriental */

.white-oriental-1e1d7 {
    background-color: #EFEFEF;
    color: #7085B6;
}
.black-oriental-3c85d {
    /*
    background-image: url('squares/dark_blue.png');
    background-size: 100%;
    */
    background-color: #888888;
    color: #DFDFDF;
}
.off-oriental-53d36 {
    background-color: #1F281F;
    color: #CCCFD1;
}
.persian-oriental-53d37 {
    background-color: #888888;
    color: #CCCFD1;
    background-image:url('../img/persian.png');
    background-size: 100%;
}
.ase-oriental-53d37 {
    background-color: #888888;
    color: #CCCFD1;
    background-image:url('../img/ase.png');
    background-size: 100%;
}
.rightdia-oriental-53d38 {
    background-color: #888888;
    color: #CCCFD1;
    background-image:url('../img/right.png');
    background-size: 100%;
}
.leftdia-oriental-53d39 {
    background-color: #888888;
    color: #CCCFD1;
    background-image:url('../img/left.png');
    background-size: 100%;
}


/* highlighted square */

.highlight0-32855 {
}
.highlight1-32417 {
     -webkit-box-shadow: inset 0 0 3px 3px DarkSlateGray;
    -moz-box-shadow: inset 0 0 3px 3px DarkSlateGray;
    box-shadow: inset 0 0 3px 3px DarkSlateGray;
}
.highlight2-9c5d2 {
    -webkit-box-shadow: inset 0 0 3px 3px DarkSlateGray;
    -moz-box-shadow: inset 0 0 3px 3px DarkSlateGray;
    box-shadow: inset 0 0 3px 3px DarkSlateGray;
}
.highlight3-9c5d2 {
    -webkit-box-shadow: inset 0 0 3px 3px darkred;
    -moz-box-shadow: inset 0 0 3px 3px darkred;
    box-shadow: inset 0 0 3px 3px darkred;
}
.highlight4-9c5d2 {
    -webkit-box-shadow: inset 0 0 3px 3px orange;
    -moz-box-shadow: inset 0 0 3px 3px orange;
    box-shadow: inset 0 0 3px 3px orange;
}
/* notation */

.notation-322f9 {
    cursor: default;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    position: absolute;
}
.alpha-d2270 {
    bottom: 1px;
    right: 3px;
}
.numeric-fc462 {
    top: 2px;
    left: 2px;
}
.gui_container textarea {
    background: transparent;
    color: #ffffff !important;
    padding: 1px;
    padding-left: 5px;
    font-size: 13px;
    font-family: "Courier New";
    border: 1px solid #777;
    margin-bottom: 10px;
    overflow-y: visible;
    font-weight: bold;
    -webkit-overflow-scrolling: touch;
}

.gui_container textarea:disabled {
  color: #ffffff !important;
}

.gui_container select {
    background: #121212;
    color: #ffffff;
    padding: 1px;
    font-size: 12px;
    font-family: "Courier New";
    border: 1px solid #777;
    margin-bottom: 10px;
}


#movelist, #console {
    background: transparent;
    color: #ffffff !important;
    padding: 1px;
    padding-left: 5px;
    padding-top: 5px;
    font-size: 0.8em !important;
    font-family: "Courier New";
    border: 2px solid #777;
    margin-bottom: 10px;
    overflow-y: visible;
    font-weight: bold;
    -webkit-overflow-scrolling: touch;
}

.ui-disabled, .ui-state-disabled
{
    opacity: 1 !important;
    height: 100% !important;
}

.ui-page {
    background: transparent;
}
.ui-content{
    background: transparent;
}


.ui-btn-icon-notext:after {
    -webkit-border-radius: 0em;
    border-radius: 0em;
}

.ui-icon-back:after {
    background-image: url("../img/buttons/back.png");
}


[data-role=page], .ui-panel-wrapper {
    margin: 0px;
    padding: 0px;
    background-image: url("../img/darkbg.jpg") !important;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover; 
}

.flipContain .ui-block-a {
    width: 30%;
    line-height: 48px;
}
.flipContain .ui-block-b {
    width: 70%;
    text-align: right;
}

.courier_new_small {
    font-family: "Courier New" !important;
    font-size: 0.7em !important;
}

.courier_new_big {
    font-family: "Courier New" !important;
    font-size: 1em !important;
}

.ui-btn-up-a,.ui-btn-hover-a,.ui-btn-down-a,.ui-bar-a,.ui-body-a,.ui-btn-up-a,.ui-btn-hover-a,.ui-btn-down-a,.ui-body-a input,.ui-body-a select,.ui-body-a textarea,.ui-body-a
{
    font-family: "Courier New" !important;
    font-size: 0.7em !important;
}

body  * {
    font-family: "Courier New" !important;
  }