/******************************************************************************
 *                                                                            *
 *    This file is part of RPB Chessboard, a Wordpress plugin.                *
 *    Copyright (C) 2013-2014  Yoann Le Montagner <yo35 -at- melix.net>       *
 *                                                                            *
 *    This program is free software: you can redistribute it and/or modify    *
 *    it under the terms of the GNU General Public License as published by    *
 *    the Free Software Foundation, either version 3 of the License, or       *
 *    (at your option) any later version.                                     *
 *                                                                            *
 *    This program is distributed in the hope that it will be useful,         *
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of          *
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the           *
 *    GNU General Public License for more details.                            *
 *                                                                            *
 *    You should have received a copy of the GNU General Public License       *
 *    along with this program.  If not, see <http://www.gnu.org/licenses/>.   *
 *                                                                            *
 ******************************************************************************/


/******************************************************************************/
/*** Miscellaneous ***/

.PgnWidget-invisible {
	display: none;
}



/******************************************************************************/
/*** Parsing error box ***/

.PgnWidget-error {
	text-align: left;
	font-family: sans-serif;
	font-size: 12px;
	line-height: 1.3em;
	color: #800000;
	background-color: #ffd8d8;
	border: solid 1px #d00000;
	padding: 8px 10px 8px;
	margin-top   : 5px;
	margin-bottom: 5px;
}

.PgnWidget-error-title {
	font-weight: bold;
	font-style: italic;
	margin-bottom: 4px;
}

.PgnWidget-error-at-code {
	white-space: pre-wrap;
	font-family: monospace;
	color: #404000;
	border: solid 1px #b0b000;
	background-color: #ffffe0;
	padding: 10px 8px 0px;
	margin-top: 4px;
}



/******************************************************************************/
/*** Navigation frame ***/

#PgnWidget-navigation-frame #PgnWidget-navigation-content {
	text-align: center;
	padding: 10px 10px 5px;
}

#PgnWidget-navigation-frame #PgnWidget-navigation-buttons {
	text-align: center;
	margin-bottom: 10px;
}



/******************************************************************************/
/*** Player name fields ***/

.PgnWidget-subfield-groupTitleElo:before {
	content: " (";
}

.PgnWidget-subfield-groupTitleElo:after {
	content: ")";
}



/******************************************************************************/
/*** Move fields ***/

.PgnWidget-move {
	font-weight: bold;
	display: inline-block;
	padding-left : 1px;
	padding-right: 1px;
}

.PgnWidget-move:hover {
	text-decoration: underline;
	cursor: pointer;
}

.PgnWidget-move.PgnWidget-invisible {
	display: none;
}

.PgnWidget-variation-sub .PgnWidget-move {
	font-weight: inherit;
}

.PgnWidget-move,
.PgnWidget-comment,
.PgnWidget-shortVariation {
	margin-right: 5px;
}

.PgnWidget-move:last-child,
.PgnWidget-comment:last-child,
.PgnWidget-shortVariation:last-child {
	margin-right: 0px;
}

.PgnWidget-shortVariation:before {
	content: "(";
}

.PgnWidget-shortVariation:after {
	content: ")";
}

.PgnWidget-longComment,
.PgnWidget-longVariation.PgnWidget-variation-sub {
	margin-top   : 5px;
	margin-bottom: 5px;
}

.PgnWidget-longVariation.PgnWidget-variation-sub {
	margin-left: 20px;
}
