
body {
    font-family: Castellar;
    background-image: url(../images/Light-green-website-plain-background.webp);
    font-size: 0.5em;
    min-height: 100%;
    overflow: hidden;
    background-size: cover;
}

ol {
    padding: 10px 40px;
}

a {
    font-size: 22px;
    border-radius: 10px;
    width: 200px;
    padding-bottom: 10px;
    padding-top: 10px;
    padding-left: 5px;
    padding-right: 5px;
    border-color: transparent;
    color: #1E1E1E;
    cursor: pointer;
}


    a:link, a:visited {
        color: white;
        font-weight: 700;
        text-decoration: none;
    }

    a:hover {
        color: #99C3FF !important;
        cursor: pointer;
    }

#play {
    font-family: Castellar;
    width: 181px;
    height: 46px;
    border: none;
    cursor: pointer;
}


#time {
    font-size: 20px;
    color: white;
}

#moves {
    margin-left: 20px;
    text-align: center;
    font-size: 20px;
    color: white;
}

#movesLabel {
    font-family: Castellar;
    margin-left: -5px;
    font-size: 20px;
    color: white;
}

.bottom-promo {
    margin-top: 15px;
}

#promo-links .featured-link {
    color: orange;
    font-weight: 700;
    text-shadow: #000 0 0 5px;
}

img {
    border-style: none;
}

h1, h2, h3, h4, h5, h6 {
    text-align: center;
}

h1 {
    font-family: Castellar;
    font-size: 25px;
}

h2 {
}

.inner-page {
    display: none;
    height: 540px;
}

div#play-page {
    position: relative;
    height: 540px;
}

#promo-links {
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 5px;
}

.bigbutton {
    margin: auto;
    padding: 5px;
    color: rgb(85, 85, 85);
    font-size: 20px;
    font-weight: 700;
}

.dialog {
    border-radius: 15px;
    border: 1px solid rgb(0, 0, 0);
    color: black;
    background-color: rgba(255,255,255,0.6);
}

.dialog-button {
    border-width: 1px !important;
    border-style: solid !important;
    border-color: rgb(68, 68, 68) grey grey rgb(68, 68, 68) !important;
    height: 20px;
    display: inline-block;
    cursor: pointer;
    background-color: rgba(255,255,255,0.6);
}

.dialog-button {
    border-radius: 6px;
}

.rounded {
    border-radius: 6px;
}

span {
    padding-left: 20px;
}

.dialog-button span {
    padding: 1px 5px 0px;
    color: rgb(51, 51, 51);
    font-size: 11px;
    font-weight: 700;
    display: inline-block;
}

.error {
    color: red;
    font-weight: 700;
}

#page {
    margin: 5px 0px 0px 25px;
    border-radius: 5px;
    border: 0px;
    width: 590px;
    padding-bottom: 20px;
    position: relative;
}

#menu {
    position: absolute;
    left: 780px;
    top: -20px;
    text-align: center;
    color: white;
}

ul#menu li {
    list-style: none;
    width: 140px;
    padding-top: 20px;
    font-size: 15px;
    color: white;
}



#pagecontent {
    margin: 5px;
    font-size: 14px;
}

    #pagecontent a {
        color: #0094ff;
    }

    #pagecontent ol, #pagecontent ul {
        padding: 10px 60px;
    }

        #pagecontent ol li, #pagecontent ul li {
            margin-bottom: 10px;
        }

    #pagecontent p {
        padding: 10px 35px;
    }

    #pagecontent h2 {
        margin: 10px;
    }

.avatar {
    position: absolute;
}

    .avatar small {
        display: block;
        text-align: center;
    }

    .avatar div {
        border: 0px solid rgb(255, 255, 255);
        width: 50px;
        height: 50px;
        cursor: pointer;
    }

#pageRules {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 590px;
    font-size: 19px;
    overflow-y: scroll;
    height: 420px;
    color: white;
    text-align: center;
    display: none;
    background-size: cover;
}

#rules-page {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 590px;
    font-size: 19px;
    overflow-y: scroll;
    height: 420px;
    color: white;
    text-align: center;
    display: none;
}

#PeshoGoshoTosho {
    position: absolute;
    top: 20px;
    width: 590px;
    font-size: 21px;
    overflow-y: scroll;
    height: 460px;
    color: white;
    text-align: center;
}

#rules-page h2 {
    font-size: 30px;
    /*margin-top: -20px;*/
    font-weight: bold;
}


#rules-page h3 {
    font-size: 18px;
    margin-top: 10px;
}


#player-count {
    position: absolute;
    width: 166px;
    left: 362px;
    top: 310px;
}

#release-notes {
    width: 80%;
    margin: auto;
}

    #release-notes ul li ul {
        padding-left: 30px;
        font-size: 12px;
    }

#result-box {
    text-align: center;
}

#results-div {
    width: 100%;
    position: absolute;
    bottom: 200px;
}

.results {
    width: 400px;
    margin: auto;
    display: none;
}

    .results h3 {
        padding: 10px;
    }

    .results p img {
        float: right;
        margin-left: 5px;
    }

.button-panel {
    clear: both;
    text-align: center;
    padding: 10px;
}

#change-player {
    width: 300px;
    position: absolute;
    left: 200px;
    top: 150px;
    z-index: 50000;
    display: none;
}

    #change-player h3 {
        margin: 8px 0;
    }




#play-page #messageBox {
    text-align: center;
    width: 100%;
}

#message {
    color: white;
    font-size: 25px;
}




#options-page small {
    display: block;
    text-align: center;
}

#menu li a.selected {
    text-decoration: underline;
}


.glow {
    box-shadow: #fff 0 0 35px;
}

#newGameWin {
    font-size: 35px;
    font-family: Castellar;
    cursor: pointer;
    border: 0;
	background-color:transparent;
	color:white;
    
}

#win-screen {
  display:none;
    top: 10px;
    padding-bottom: 5px;
    font-size: 45px;
    height: 100%;
    left: 20px;
    width: 80%;
    position: absolute;
    text-align: center;
    z-index: 5000;
    border-radius: 20px;
	background-color:black;
	color:white;
	opacity:0.9;
}


#newGameUP {
    font-size: 25px;
    font-family: Castellar;
    cursor: pointer;
    border: 0;
    border-radius: 50px;
}


button:hover {
    color: #99C3FF !important;
    cursor: pointer;
    background-color: transparent;
}

#rulesButton {
    font-size: 25px;
    font-family: Castellar;
    cursor: pointer;
    border: 0;
}


.cell {
    width: 75px;
    height: 108px;
    position: absolute;
    background-image: url(../images/basesmall.png);
}

    .cell p {
        padding: 0!important;
    }

.foundation {
    text-align: center;
    text-shadow: #000 0 0 2px;
}

    .foundation p {
        margin-top: 0px;
    }

.card {
    border-radius: 9px;
    -ms-border-radius: 9px;
    -webkit-border-radius: 9px;
    -o-border-radius: 9px;
    -khtml-border-radius: 9px;
    -moz-border-radius: 9px;
    width: 75px;
    height: 108px;
    background-image: url(../images/small-cards.png);
    position: absolute;
    cursor: pointer;
}

#win-screen h1 {
    font-size: 40px;
    font-weight: bold;
    color: white;
    height: 150px;
    background-position-x: center;
    text-align: center;
    line-height: 150px;
    padding-top: 5px;
    padding-bottom: 10px;
}


#score {
    font-size: 28px;
    font-weight: bold;
    margin-left: -40px;
    color: black;
}

#scoreLabel {
    font-size: 28px;
    font-weight: bold;
    margin-left: -40px;
    color: black;
}



#play-page #messageBox {
    text-align: center;
    width: 100%;
	position:absolute;
	left:10px;
	top:100px;
	
}

    #play-page #messageBox p {
        border: 0;
        color: #fff;
        background: 0 0;
        width: 100%;
        height: 30px;
        vertical-align: middle;
        font-size: 14px;
        font-weight: 400;
        line-height: 30px;
    }

#play-page {
    width: 590px;
}

#page {
    width: 590px;
}

.free-cell {
    text-align: center;
    font-size: 14px;
}

    .free-cell p {
        margin-top: 24px;
    }


#info-bar {
    display: inherit;
    -ms-flex-wrap: nowrap;
    width: 70px;
    position: absolute;
    left: 655px;
    top: 5px;
}

#undo {
    font-size: 22px;
    font-family: Castellar;
    margin-left: 10px;
    font-weight: bold;
    color: white;
    cursor: pointer;
	background-color:transparent;
    border-color: transparent;
    border: 0;
}

    #undo:active {
        top: 55px;
		 border: 0;
		  border-color: transparent;
    }

#messageBox {
    position: absolute;
    width: 100%;
    top: 140px;
    left: 65px;
    padding: 0;
}

#pagecontent #messageBox p {
    width: 50%;
    height: 35px;
    font-size: 12px;
    font-weight: 700;
    margin: 0 auto;
    border: solid 1px #000;
    padding: 3px 6px;
    color: white;
    background-color: #EDF35A;
}

#play-page #messageBox {
    text-align: center;
    width: 100%;
}

    #play-page #messageBox p {
        border: 0;
        color: white;
        background: 0 0;
        width: 100%;
        height: 30px;
        vertical-align: top;
        font-size: 20px;
        font-weight: 400;
        line-height: 30px;
    }

#rules-page ul {
    /*margin-top: 10px;*/
}

#rules-page li {
    margin-top: -20px;
}
