.iframeoverlay,.thumbsupdown,.fullscreen{z-index:101;}
.mothergameholder, .mothergameholder *,.piece-417db{transition:none;-webkit-transition:none;-moz-transition:none;-o-transition:none}
/*#footer + .piece-417db{margin-top:-110px;margin-left:-20px;}
.fullscreen_on #footer + .piece-417db{margin-top:0px;margin-left:0px;}*/
#container {
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: relative;
    text-align: center;
}
#board {
    position: relative;
    margin: 0 auto;
    display: inline-block;
}
#side {
    font-family: helvetica, sans-serif;
    padding: 0px;
    width: 300px;
    position: relative;
    margin: 0 auto;
    display: inline-block;
    vertical-align: top;
}
.sideHide{display:none;width:0;}
.buttonpanel {
    position: relative;
    text-align: center;
    margin:5px 0;
}
#status {
    margin:5px;
    padding:5px 35px 5px 5px;
    font-weight: bolder;
    text-align: center;
    color: black;
    font-size: 15px;
    position: relative;
}
#fenBox {
    margin: 5px;
    clear: left;
    color:white;
    background: black;
    position: relative;
    text-align: left;
    border: 1px solid red;
}

#fen {
    font-weight: lighter;
    font-size: 10px;
    overflow-x: visible;
}
#optionsBox {
    text-align: center;
}
#pgnBox {
    background: black;
    color: white;
    height: 330px;
    width: 130px;
    padding: 3px;
    margin: 3px;
    float:right;
    position: relative;
    text-align: left;
    border: 1px solid red;
}
#pgn {
    text-align: left;
    overflow: auto;
    font-weight: lighter;
    font-size: 14px;
    height: 260px;
}
.littleButton {
    -moz-box-shadow: 0px 1px 0px 0px #fff6af;
    -webkit-box-shadow: 0px 1px 0px 0px #fff6af;
    box-shadow: 0px 1px 0px 0px #fff6af;
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffec64), color-stop(1, #ffab23));
    background:-moz-linear-gradient(top, #ffec64 5%, #ffab23 100%);
    background:-webkit-linear-gradient(top, #ffec64 5%, #ffab23 100%);
    background:-o-linear-gradient(top, #ffec64 5%, #ffab23 100%);
    background:-ms-linear-gradient(top, #ffec64 5%, #ffab23 100%);
    background:linear-gradient(to bottom, #ffec64 5%, #ffab23 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffec64', endColorstr='#ffab23',GradientType=0);
    background-color:#ffec64;
    font-size: 70%;
    margin: 10px;
}

.littleButton:hover {
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffab23), color-stop(1, #ffec64));
    background:-moz-linear-gradient(top, #ffab23 5%, #ffec64 100%);
    background:-webkit-linear-gradient(top, #ffab23 5%, #ffec64 100%);
    background:-o-linear-gradient(top, #ffab23 5%, #ffec64 100%);
    background:-ms-linear-gradient(top, #ffab23 5%, #ffec64 100%);
    background:linear-gradient(to bottom, #ffab23 5%, #ffec64 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffab23', endColorstr='#ffec64',GradientType=0);
    background-color:#ffab23;
}
.gameOptions{position:absolute;top:5px;right:5px;z-index:100;cursor:pointer;}
.closeOptions{text-align:right;padding: 10px 20px 0 0;}
.closeOpt_btn{display: inline-block;
    background: #ec1f58;
    border-radius: 7px;
    padding: 8px 17px;
    color: white;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;}
#pgnBox span {
    color: gray;
}
#gaugebox {
    position: relative;
    background: #ffab23;
    width: 100%;
    padding: 20px 10px;
    box-sizing: border-box;
    border-radius: 10px;
    margin-top:10px;
}
#optionsBox {
    text-align: left;
}
#optionsBox label{
    display: inline-block;
    width: 155px;
    text-align: right;
    font-size: 12px;
}
#optionsBox select {
    padding: 6px 10px;
    width: 100px;
    margin: 3px 0;
    font-size: 12px;
}

.yellowButton {
    -moz-box-shadow: 0px 1px 0px 0px #fff6af;
    -webkit-box-shadow: 0px 1px 0px 0px #fff6af;
    box-shadow: 0px 1px 0px 0px #fff6af;
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffec64), color-stop(1, #ffab23));
    background:-moz-linear-gradient(top, #ffec64 5%, #ffab23 100%);
    background:-webkit-linear-gradient(top, #ffec64 5%, #ffab23 100%);
    background:-o-linear-gradient(top, #ffec64 5%, #ffab23 100%);
    background:-ms-linear-gradient(top, #ffec64 5%, #ffab23 100%);
    background:linear-gradient(to bottom, #ffec64 5%, #ffab23 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffec64', endColorstr='#ffab23',GradientType=0);
    background-color:#ffec64;
    -moz-border-radius:6px;
    -webkit-border-radius:6px;
    border-radius:6px;
    border:1px solid #ffaa22;
    display:inline-block;
    cursor:pointer;
    color:#333333;
    font-family: Arial, sans-serif;
    font-size:15px;
    font-weight:bold;
    padding:6px 0px;
    text-decoration:none;
    text-shadow:0px 1px 0px #ffee66;
    width:70px;
}

.yellowButton:hover {
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffab23), color-stop(1, #ffec64));
    background:-moz-linear-gradient(top, #ffab23 5%, #ffec64 100%);
    background:-webkit-linear-gradient(top, #ffab23 5%, #ffec64 100%);
    background:-o-linear-gradient(top, #ffab23 5%, #ffec64 100%);
    background:-ms-linear-gradient(top, #ffab23 5%, #ffec64 100%);
    background:linear-gradient(to bottom, #ffab23 5%, #ffec64 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffab23', endColorstr='#ffec64',GradientType=0);
    background-color:#ffab23;
}

.yellowButton:active {
    position:relative;
    top:1px;
}


@media (max-width:570px){
    #side{
        width:0;
        position: absolute;
        bottom:40px;
        left: 50%;
        transform: translateX(calc(-50% - 150px));
    }
    .sideIN{width: 300px;border-radius: 10px;}
    #footer{height:70px;}
    #status{height:30px;}

}