#chessboard {
  position: relative ;
  font-size: 0 ;   /* to prevent spacing between in-line block divs */
}

.chess-row {
    padding: 0;
    margin: 0;
    border: 0 ;
}

.square {
    padding: 0;
    margin: 0 ;
    border: 1px black solid;
    display : inline-block ;
    width: 80px ;
    height: 80px ;
    vertical-align: bottom;    /* required !!! */
}

.square.white {
    background-color: #EEEED2; /* white */
}

.square.black {
    background-color: #769656; /* black */
}

.square img {
    max-width : 100% ;
    max-height: 100% ;
    margin: 0 auto ;
}

/* messsage */

#message {
    border: 2px  #769656 solid;
    padding:10px;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 20pt;
    width: 640px ;
}

#indicator {
    width: 40px;
    height: 40px;
    background: lightgrey;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    display: inline-block;
}

#chat-message {
    color:  #769656;
    display: inline-block;
    padding:10px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 20pt;
    width: 640px ;
}

#chat {
    padding:10px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 15pt;
    width: 640px ;
}

#castle {
    position: relative;
    width: 655px ;
    /*
        border: 1px solid black;
    */
}

#castle-right {
    font-size: 15pt;
    font-weight: bold;
    position: absolute;
    right: 0 ;
    display: none;
}

#castle-left {
    font-size: 15pt;
    font-weight: bold;
    position: absolute;
    left: 0 ;
    display: none;
}

#create-game {
    margin: 50px;
    padding: 10px;
    color:  #769656;
    font-size: 30pt;
    font-weight: bold;
    cursor: pointer
}

#display-links {
    margin: 50px;
    font-size: 15pt;
    color: grey ;
    font-family: arial, sans-derif;
}

#display-links input {
    color:  #769656;
    font-size: 15pt;
    font-family: arial, sans-derif;
    width:700px;
}

.flash {
    color: red ;
}

.email-invite {
    margin: 10px;
    padding: 5px;
    width: 400px;
}

#en-passant {
    font-weight: bold;
    cursor: pointer
}