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

@font-face {
  font-family: 'pgn4web ChessSansUsual';
  src: url('ChessSansUsual.eot');
  src: local('ChessSansUsual Regular'), local('ChessSansUsual'), url('ChessSansUsual.woff') format('woff'), url('ChessSansUsual.ttf') format('truetype'), url('ChessSansUsual.svg#ChessSansUsual') format('svg');
}

@font-face {
  font-family: 'pgn4web Liberation Sans';
  src: url('LiberationSans-Bold.eot');
  src: local('Liberation Sans Bold'), local('LiberationSans-Bold'), url('LiberationSans-Bold.woff') format('woff'), url('LiberationSans-Bold.ttf') format('truetype'), url('LiberationSans-Bold.svg#LiberationSans-Bold') format('svg');
  font-weight: bold;
}

@font-face {
  font-family: 'pgn4web Liberation Sans';
  src: url('LiberationSans-Regular.eot');
  src: local('Liberation Sans Regular'), local('Liberation Sans'), local('LiberationSans'), url('LiberationSans-Regular.woff') format('woff'), url('LiberationSans-Regular.ttf') format('truetype'), url('LiberationSans-Regular.svg#LiberationSans') format('svg');
  font-weight: normal;
}

a.{onfocus: this.blur()}

/*for FireFox*/
    input[type="submit"]::-moz-focus-inner, input[type="button"]::-moz-focus-inner
    {   
        border : 0px;
    } 
/*for IE8 */
    input[type="submit"]:focus, input[type="button"]:focus
    {     
        outline : none; 
    }

/* Standard Figurine CSS Stylesheet for Palview4 -- December 25, 2003 */

 BODY {background-color:white; margin:20px 20px 20px 20px;}

/* Palview Game Move DIVision & Palview Game Info DIVision */

DIV.pgm P  {margin: 0px; padding:2pt;} /* padding:0.10em; */
DIV.pgi P {margin: 0px; padding:2pt; }

/* The actual linked Game moves (always in 'pm' class) */
DIV.pgm A {color:black; text-decoration:none; font-family: 'pgn4web ChessSansUsual', ZurichFigurine, Zurich New, HastingsFigurine, Verdana;}
DIV.pgm A:hover {color:red;}

/* The actual linked Variation moves (always in 'pc?' class) */
DIV.pgm .pc A, DIV.pgm SPAN.pc A {font-weight: bold; color:black; font-family: 'pgn4web ChessSansUsual', ZurichFigurine, Zurich New, HastingsFigurine, Verdana;}
DIV.pgm .pc A:hover, DIV.pgm SPAN.pc A:hover {color:red;}
DIV.pgm SPAN.pc2 A {font-style:italic; font-family: 'pgn4web ChessSansUsual', ZurichFigurine, Zurich New, HastingsFigurine, Verdana;}

/* Palview uses EM Html Tag to surround variation moves when movelinks are NOT used. */

DIV.pgm .pc EM {color:#990000; font-style:normal;}
DIV.pgm .pc2 EM {font-style:italic;}

/* Palview Game Intro (Special case where a comment {...} appears before an actual game move. The comment is treated as a game intro.) */

.pintro {text-indent:1em; text-align: justify; font-family: 'pgn4web Liberation Sans', Verdana, Arial, sans-serif; font-size: 11pt; font-weight: normal; line-height:150%;}


/* Palview Commentary (including Variation Sequences) */

.pc, .pc2 {text-indent:1em; text-align: justify; font-family: 'pgn4web Liberation Sans', Verdana, Arial, sans-serif; font-size: 11pt; font-weight: bold; color:black;}

/* Palview Player Names (PGN Tags White & Black) */

.pplay {font-family: 'pgn4web Liberation Sans', Verdana, Arial, sans-serif; font-size: 12pt; font-weight: bold; color: black;}

/* Palview Player Title (PGN Tag) */

.ptitle {font-family: 'pgn4web Liberation Sans', Verdana, Arial, sans-serif; font-size: 12pt; font-weight: normal; color: black;}

/* Palview Player Elo Rating (PGN Tag) */

.pelo {font-family: 'pgn4web Liberation Sans', Verdana, Arial, sans-serif; font-size: 10pt; color: black;}

/* Palview ECO Code (PGN Tag) */

.peco {font-family: 'pgn4web Liberation Sans', Verdana, Arial, sans-serif; font-size: 10pt; font-style: italic; text-align:right; font-weight: bold;}

/* Palview Event (PGN Tags Event & Site & Date & Round) */

.pevent {text-align: center; font-family: 'pgn4web Liberation Sans', Verdana, Arial, sans-serif; font-size: 10pt; font-style : italic;}

/* Palview Opening -- PGN Tags: Opening, Variation, & Subvariation */

.popen {font-family: 'pgn4web Liberation Sans', Verdana, sans-serif; font-size: 10pt; font-style: italic; text-align: left; font-weight:bold;}

/* Palview Annotator */

.panno {font-family: 'pgn4web Liberation Sans', Verdana, Arial, sans-serif; font-size: 10pt; font-style: italic; font-weight: normal; color: black;}

/* Palview Moves -- for the actual game moves */

.pm {text-indent: 0em; text-align: justify; font-family: 'pgn4web ChessSansUsual', ZurichFigurine, Zurich New, HastingsFigurine, Verdana; font-size: 11pt; font-weight: bold; color:black; line-height:150%;}

/* Palview Variations -- not actually used but we are keeping it */

.pclock {font-family: Verdana, Arial, sans-serif; font-size: 10pt; color: black;}

/* Figurine -- Used to Transform Commentary 'moves' to Figs */

.pf {font-family: 'pgn4web ChessSansUsual', ZurichFigurine, Zurich New, HastingsFigurine, Verdana; font-style: normal; line-height:150%;}

/* Board Caption */

.pt {text-align: center; font-family: 'pgn4web ChessSansUsual', ZurichFigurine, Zurich New, HastingsFigurine, Verdana; font-size: 14pt; font-weight: bold; color: black; white-space:pre;}

/* Borders -- pgob is 'Palview Game Outer Border';
              pgbb is 'Palview Game Board Border';
              pgib is 'Palview Game Infobox Border'; */

/* border-style types are: solid, double, ridge, etc. */
 
.pgbb {border-style:solid; border-color:#8F3926; border-width:4px;}
.pgib {border-style:ridge; border-color:black; border-width:2px; background-color:white;}
.pgob {border-style:double; border-color:black; border-width:3px; background-color:white;}
