/*
 *  pgn4web javascript chessboard
 *  copyright (C) 2009-2013 Paolo Casaschi
 *  see README file and http://pgn4web.casaschi.net
 *  for credits, license and more details
 */


@import url("fonts/pgn4web-font-LiberationSans.css");

@import url("fonts/pgn4web-font-ChessSansUsual.css");
div, span, table, tr, td {
  font-family: 'pgn4web Liberation Sans', sans-serif; /* fixes IE9 body css issue */
}


.boardTable {
  border-style: double;
  border-color: black;
  border-width: 3px;
  width: 342px;
  height:342px;
}


.pieceImage {
  width: 36px;
  height: 36px;
}


.whiteSquare,
.blackSquare,
.highlightWhiteSquare,
.highlightBlackSquare {
  width: 40px;
  height: 40px;
  border-style: solid;
  	border-width: 1px;
}

.whiteSquare,
.highlightWhiteSquare {
  border-color: #EEE0BB;   background: #EEE0BB;
}


.blackSquare,
.highlightBlackSquare {
  border-color: #DAB680;
   background: url("images/black5.gif") no-repeat;
}
.highlightWhiteSquare,
.highlightBlackSquare {
 border-width: 1px;
 border-style: solid;
  border-color: #806060 white white #806060;
}


.selectControl {
/* a "width" attribute here must use the !important flag to override default settings */
}


.optionSelectControl {
}


.buttonControlPlay,
.buttonControlStop,
.buttonControl {
/* a "width" attribute here must use the !important flag to override default 		settings */
}


.buttonControlSpace {
/* a "width" attribute here must use the !important flag to override default settings */
}


.searchPgnButton {
/* a "width" attribute here must use the !important flag to override default settings*/
}


.searchPgnExpression {
/* a "width" attribute here must use the !important flag to override default settings */
}


.move,
.variation,
.comment {
  line-height: 1.5em;
  font-weight: normal;
}


.move,
.variation,
.commentMove {
  font-family: 'pgn4web ChessSansMerida', 'pgn4web Liberation Sans', sans-serif; color: #b00000;
}


a.move,
a.variation,
.commentMove {
  white-space: nowrap;
}


.move,
.variation {
  text-decoration: none;
}


a.move:hover, a.variation:hover {
  text-decoration: underline;
}


.move,
.label {
 color: black;
}


.comment,
.variation {color: #4040b0;
}


a.variation {
  color: grey;
}


.moveOn,
.variationOn {
  background: #FFC080;
}

div.flextable {
  display: table;
 width: 100%
  border:none;
}

div.flextable_tr {
  display: table-row;
}

div.container {
  display: table-cell;
  border:none;
}

div.notation {
  font-size:1.1em
}

@media only screen and (max-width: 900px) {
.boardTable {
  width: 294px;
  height:294px;
}
.pieceImage {
  width: 30px;
  height: 30px;
}
.whiteSquare,
.blackSquare,
.highlightWhiteSquare,
.highlightBlackSquare {
  width: 34px;
  height: 34px;
}
div.notation {
  font-size:1em
}}

@media only screen and (max-width: 550px) {
div.flextable, div.container {
  display: block;
 width: 100%;
}}