#lichess h1 {
  font-size: 2em;
  margin-bottom: 5px;
}
#pgnText {
  display: none;
}

div.board_wrap {
  float: left;
  width: 514px;
  min-height: 558px;
}
div.moves_wrap {
  margin-left: 532px;
  position: relative;
}
span.board_mark {
  position: absolute;
  text-transform: uppercase;
  font-size: 10px;
  color: #bbb;
  font-weight: bold;
}
span.board_mark.vert {
  right: -10px;
}
span.board_mark.horz {
  bottom: -14px;
}

@font-face {
  font-family: 'pgn4web ChessSansMerida';
  src: url('ChessSansMerida.eot');
  src: url('/assets/vendor/pgn4web/fonts/ChessSansMerida.eot?#iefix') format('embedded-opentype'), url('/assets/vendor/pgn4web/fonts/ChessSansMerida.woff') format('woff'), url('/assets/vendor/pgn4web/fonts/ChessSansMerida.ttf') format('truetype'), url('/assets/vendor/pgn4web/fonts/ChessSansMerida.svg#ChessSansMerida') format('svg');
}

#GameBoard {
  position: relative;
}

#GameBoard table.boardTable {
  box-shadow: 0 0 7px #bbb;
  border: 1px solid #ccc;
  border-radius: 5px;
}
#GameBoard.flip table, #GameBoard.flip img.pieceImage {
  -o-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  transform: rotate(180deg);
}
#GameBoard td.highlightWhiteSquare img,
#GameBoard td.highlightBlackSquare img {
  background: url(../images/over5.png) no-repeat;
}
#GameBoard td img.bestmove {
  background: url(../images/sover.png) no-repeat;
  background-position: 0 -64px;
}
#GameBoard td img {
  width: 64px;
  height: 64px;
  display: block;
}

#GameButtons {
  margin-top: 20px;
}
#GameButtons input {
  width: 100px;
  height: 2em;
}

#GameText {
  font-size: 1.4em;
  width: 220px;
  /*height: 512px;*/
  height:312px;
  margin-bottom: 1em;
  background: #f7f7f7;
  border: 1px solid #C0C0C0;
  overflow: auto;
  border-radius: 4px;
  box-shadow: 0 0 7px #d0d0d0;
}
#GameText table {
  width: 100%;
}
#GameText tr:nth-child(even) {
  background: #f0f0f0;
}
#GameText th {
  padding-left: 8px;
}
#GameText a.move {
  font-family: 'pgn4web ChessSansMerida', 'pgn4web Liberation Sans', sans-serif;
  text-decoration: none;
  padding: 5px 10px;
  display: block;
  color: #444;
}
#GameText a:hover {
  background: #e0e0e0;
}
#GameText a.moveOn {
  background: #FFE73B;
}
#GameLastComment {
  position: absolute;
  top: 512px;
  margin-top: 1em;
  width: 220px;
}
#GameLastComment .comment {
  margin-top: 0.2em;
  font-size: 1.3em;
  display: block;
}
div.advice_summary {
  position: absolute;
 /* top: 740px;*/
     top: 330px;
  width: 280px;
}
div.advice_summary div {
  margin-bottom: 1em;
}

div.adv_chart {
  margin-top: 10px;
  height: 150px;
  width: 512px;
}
div.adv_chart iframe {
  height: 150px;
}

@media (min-width: 426px) and (max-width: 1024px) {
	div.moves_wrap {
     margin-top: 130px;
    } 
}
	
/*Mobile settings */
@media only screen and (max-width : 425px) {
 body.class_analyse_site div.board_wrap
 {
	 width: 99%;
     min-height: inherit;
	}
 body.class_analyse_site #GameBoard table.boardTable {
	height:inherit!important;
		    margin-left: -100px;
    margin-top: -100px;
	}
 body.class_analyse_site #GameBoard {
	    width: 99%;
		    height: 420px;
			transform: scale(0.6);
	}
  body.class_analyse_site div.moves_wrap {
	margin-left:2px;
	}
  body.class_analyse_site #GameButtons table {
	width: 310px!important;
	}
 body.class_analyse_site #GameButtons {
	    padding-bottom: 20px;
		    margin-top: 70px;
	}
  body.class_analyse_site #GameButtons input {
	width:50px!important;
	}
  body.class_analyse_site #GameButtons td {
	width:50px!important;
	}
	body.class_analyse_site .game_board .clearfix {
	width:99%;
	}
	 body.class_analyse_site div.moves_wrap {
	    z-index: -1000;
	}
	
	 body.class_analyse_site .header {
	 display:block;
	 float: left;
	 }
	 body.class_analyse_site .analyse {
	 width:99%;
	     margin-top: 10px;
	 }		 
		
}

