html {
}

body {
    background-color: white;
    color: #fff;
    overflow:hidden;
}

input {
    outline: 0 none;
}

button {
    outline: 0 none;
}

h1 {
    margin: 5px auto;
    color:brown
}

h2 {
    margin: 5px auto;
    color:brown
}

.iscAboutH1 {
    font-family:  serif;
}

#iscProgressBar {
    display: none;
    position: absolute;
    width: 50%;
    height: 50%;
    margin-left: 25%;
    margin-top: 25%;
    text-align: center;
    background-color: whitesmoke;
    color: black;    
    border: 0;
   -moz-border-radius: 50%;
   -webkit-border-radius: 50%;
   border-radius: 100%;
   z-index: 1000;
}

#iscProgressBar span {
   display: inline-block;
   height: 75%;
   // zoom: 1;
   opacity: 1 !important;
   background-color: transparent !important;
   *display: inline;
   vertical-align: middle;
   z-index: 1000;
}

#iscProgressBar p {
   display: inline-block;
   // zoom: 1;
   *display: inline;
   vertical-align: middle;
   font-size: 2.5em;
   z-index: 1000;
}

#iscParentBox {
    width: 520px;
    height: 520px;
    max-height: 520px;
    color: black;
}

#iscButtonGroup {
  position: absolute;
  bottom: 0px;
}

.iscUtilityButton {
    width: 85px;
   height: 25px;
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   border-radius: 5px;
   border: 0;
   background-color:  #EAEAEA;
   background-position: center;
   background-repeat: no-repeat;
}

.iscUtilityButton:hover {
    opacity:0.8;
   filter:alpha(opacity=80);
}
.iscUtilityButton:active {
   position:relative;
   top:1px;
   left:1px;
}

#iscFlipBoard {
    margin-left: 2%;
    background-image:url('../images/buttons/rotate25.png');
    background-size: 20px 20px;
}

#iscDownloadPGN {
   margin-left: 1%;
   background-image:url('../images/buttons/save50.png');
   background-size: 22px 22px;
}

#iscInfo {
   margin-left: 1%;
   background-image:url('../images/buttons/about50.png');
   background-size: 20px 20px;
}

#preload {
    display: none;
}
#preload img {
    height: 0; width: 0; border: none;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -30;
}

#iscBoardView {
    float:left;
    margin-right: 10px;
    top: 10px;
    width: 280px;
    height: auto;
    position: relative;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

#iscPgnNotation {
    position: relative;
    color: black;
    -webkit-overflow-scrolling: scroll;
    overflow: auto;
    top: 10px;
    width: 210px;
    height: 416px;
}

#iscBoard {
}

#iscControlPanel {
    position: relative;
    clear:both;
    text-align: justify;
    font-weight: bold;
    width: 278px;
    height: 135px;
    color: black;
}

#iscTools {
    position: absolute;
    text-align: justify;
    width: 280px;
    height: 30px;
    color: black;
    bottom: 0px;
}

#iscAboutDialog {
    visibility: hidden;
    position: absolute;
    left: 25%;
    top: 25%;
    width:50%;
    height:50%;
    color:black;
    border: 1px solid ;
    background-color: blanchedalmond;
    text-align:center;
    z-index: 1000;
}

#iscAboutClose {
   width: 98%;
   height: 30px;
   margin-bottom: 5px;
   border: 0;
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   border-radius: 5px;
   background-color:  #EAEAEA;
   left: 5%;
}

#iscAboutClose:active {
  position: relative;
  top:1px;
  left:1px;
}

#iscGameSelector {
    /* display: none; */
    margin-left: 15%;
    width: 70%;
    margin-top: 10px;
    position: relative;
}

.iscPlayerTag {
    width: auto;
    margin-top: 10px;
    margin-left: 5px;
    color: black;
    font-size: 16px;
    text-align: center;
}

.iscResultTag {
    float: end;
    margin-top: 10px;
    margin-left: 5px;
    width: auto;
    color: black;
    font-size: 16px;
    text-align: center;
}

.iscEventTag {
    width: auto;
    margin-top: 2px;
    margin-left: 5px;
    color: black;
    font-size: 14px;
    text-align: center;
}

.iscRoundTag {
    float:left;
    margin-right: 5px;
    margin-top: 2px;
    width: auto;
    font-size: 12px;
    color: black;
}

.iscDateTag {
    float: end;
    margin-top: 2px;
    width: auto;
    font-size: 12px;
    color: black;
}

.iscControlButton {
    width: 50px;
    height:30px;
    margin-top: 2%;
    border: 0;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background-color:  #EAEAEA;
    background-position: center;
    background-size: 15px 15px;
    background-repeat: no-repeat;
}

.iscControlButton:active {
  position:relative;
  top:1px;
  left:1px;
}

.iscControlButton:hover {
   opacity:0.8;
   filter:alpha(opacity=80);
}

.iscControlButton.disabled {
   opacity: 0.4;
   filter:alpha(opacity=40);
}

.iscControlButton.disabled:active {
  position:relative;
  top:0px;
  left:0px;
}

.iscControlButton.disabled:hover {
   opacity: 0.4;
   filter:alpha(opacity=40);
}

.iscControlButtonFirstMove:hover {
   opacity:0.8;
   filter:alpha(opacity=80);
}

.iscControlButtonFirstMove {
    margin-left: 2%;
    margin-top: 2%;
    background-image:url('../images/buttons/previous16.png');
}


.iscControlButtonPreviousMove {
    background-image:url('../images/buttons/back48.png');
}


.iscControlButtonAutoPlayOn {
    background-size: 22px 22px;
    background-image:url('../images/buttons/autoplayon26.png');

}

.iscControlButtonAutoPlayOff {
    background-size: 22px 22px;
    background-image:url('../images/buttons/autoplayoff24.png');
}

.iscControlButtonNextMove {
    background-image:url('../images/buttons/play48.png');
}

.iscControlButtonLastMove {
    background-image:url('../images/buttons/next25.png');
}

.iscTableNotation {
   color: black;
   font-size: 1.1em;
   border-collapse:collapse;
   width: 192px;

}

.iscTableNotation td {
   height: 1.4em;
   border: 1px solid lightgray;
   text-align: center;
}

.iscTableNotation tr:nth-child(even) {

}
.iscTableNotation tr:nth-child(odd) {
  color: black;
  background-color: whitesmoke;
}

.iscTableNotation td:hover {
   /*background-color: lightgray; */
}

.iscMainMoveNumber {
    white-space: nowrap;
}

.iscTableMainMoveNumber {
    white-space: nowrap;
}

.iscVarMoveNumber {
    white-space: nowrap;
    font-size: 14px;
}

.iscMainMove {
    white-space: nowrap;
    font-size: 18px;
    cursor: pointer;
}

.iscMainMove:hover {
    background-color: lightgray;
    border-radius: 0.2em 0.2em 0.2em 0.2em;
}

.iscTableMainMove {
    white-space: nowrap;
    cursor: pointer;

}

.iscTableMainMove:hover {
    background-color: lightgray;
    border-radius: 0.2em 0.2em 0.2em 0.2em;
}


.iscVarMove {
    color: brown;
    white-space: nowrap;
    font-size: 14px;
    cursor: pointer;
}

.iscVarMove:hover {
    background-color: lightgray;
    border-radius: 0.2em 0.2em 0.2em 0.2em;
}

.iscVarBegin {
    color: black;
    white-space: nowrap;
    vertical-align: -8px;
    font-size: 14px;
}

.iscVarEnd {
    color: black;
    white-space: nowrap;
    vertical-align: -8px;
    font-size: 14px;
}

.iscCommentMain {
    color: darkslategray;
    font-style:italic;
    white-space: nowrap;
    font-size: 16px;
}

.iscCommentVar {
    color: darkslategray;
    font-style:italic;
    white-space: nowrap;
    font-size: 15px;
}

.iscMainResult {
    color: black;
    white-space: nowrap;
}

.iscNAGMain {
    color: black;
    white-space: nowrap;
    font-size: 18px;
    text-align: left;
    margin-left: -2px;
}

.iscNAGVar {
    color: brown;
    white-space: nowrap;
    font-size: 14px;
    text-align: left;
    margin-left: -2px;
}

.iscFigurineMain {
    white-space: nowrap;
    width: 18px;
    height: 18px;
    vertical-align: -2px;
}

.iscFigurineVar {
    white-space: nowrap;
    width: 15px;
    height: 15px;
    vertical-align: -1px;
}

