/*
 *  pgn4web javascript chessboard
 *  copyright (C) 2009-2013 Paolo Casaschi
 *  see README file and http://pgn4web.casaschi.net
 *  for credits, license and more details
 */

/*
 *  display optimized for a 664px high frame
 */

@import url("fonts/pgn4web-font-LiberationSans.css");
@import url("fonts/pgn4web-font-ChessSansUsual.css");

html,
body {
  margin: 0px;
  padding: 0px;
  overflow: hidden;
}

body {
  font-family: 'pgn4web Liberation Sans', sans-serif;
  font-size: 19px;
  color: black;
  background: white;
}

a {
  color: black;
  text-decoration: none;
}

div, span {
  font-family: 'pgn4web Liberation Sans', sans-serif; /* fixes IE9 body css issue */
}

.boardheaderDiv {
  position: absolute;
  top: 0px;
  left: 0px;
  padding: 30px;
  overflow: hidden;
}

.topSpacer {
  height: 30px;
}

.gametextresultDiv {
  padding-left: 30px;
  padding-right: 30px;
  margin-left: 421px;
  margin-bottom: 30px;
  overflow-y: scroll;
  overflow-x: hidden;
  text-align: justify;
  scrollbar-base-color: #FFFFFF;
}

.shortRowSpace {
  height: 15px;
  line-height: 15px;
}

.gameLastMove {
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
}

.gameAnnotator {
  float: right;
  font-style: italic;
}

.headerLine {
  overflow: hidden;
  white-space: nowrap;
  width: 376px;
  font-weight: bold;
  font-size: 22px;
  line-height: 30px;
  text-align: center;
}

.gameNum {
  width:188px;
  text-align: left;
}

.gameECO {
  width:188px;
  text-align: right;
}

.gameSiteEventDate {
  font-style: italic;
  font-weight: normal;
}

.boardTable {
  width: 376px;
  height: 376px;
  border-style: solid;
  border-color: #808080;
  border-width: 3px;
  box-shadow: 0px 0px 20px #DDDDDD;
}

.pieceImage {
  width: 39px;
  height: 39px;
}

.whiteSquare,
.blackSquare,
.highlightWhiteSquare,
.highlightBlackSquare {
  width: 45px;
  height: 45px;
  border-style: solid;
  border-width: 1px;
}

.whiteSquare,
.highlightWhiteSquare {
  border-color: #FFFFFF;
  background: #FFFFFF;
}

.blackSquare,
.highlightBlackSquare {
  border-color: #DDDDDD;
  background: #DDDDDD;
}

.highlightWhiteSquare,
.highlightBlackSquare {
  border-color: #AAAAAA;
  border-style: solid;
}

.move,
.variation,
.comment {
  color: black;
  line-height: 1.4em;
  font-weight: normal;
  text-decoration: none;
}

.move,
.variation,
.commentMove {
  font-family: 'pgn4web ChessSansUsual', 'pgn4web Liberation Sans', sans-serif;
}

a.move,
a.variation,
.commentMove {
  white-space: nowrap;
}

.comment,
.variation {
  color: gray !important;
}

a.variation {
  color: gray !important;
}

.moveOn,
.variationOn,
a.move:hover,
a.variation:hover {
  background: #DDDDDD;
  border-radius: 2px;
}