body{
    background-color: #f0f6f6;
    overflow: hidden;
    height: 100%;
    font-family: sans-serif;
}

a:hover {
    color: #888800;
}

a {
    text-decoration: none;
    color: #000088;
}

.noLinkShow {
    text-decoration: none;
    color: black;
}

.noLinkShow:hover {
    color: #888800;
}

text {
    text-decoration: none;
}

#titlebar {
    background-color: #b0e9f3;
    height: 30px;
    position: sticky;
    top:  0;
}

#engine {
    padding-left: 20px;
    padding-top: 2px;
    font-size: 18px;
    height: 20px;
    vertical-align: center;
    text-align: left;
    float: left;
}

#version {
    text-align: right;
    padding-right: 20px;
    padding-top: 3px;
    font-size: 18px;
    height: 20px;
    vertical-align: center;
    float: right;
}

#gamescreen {
    display: block;
    height: 90%;
    width: 75vw;
    margin: 0 auto;
}

.normal-text {
    text-align: left;
}

#choices {
    vertical-align: center;
}

.choices-start {
    position: relative;
    float: left;
    left:30vw;
    padding: 0;
}

.choices-items-start {
    padding-bottom: 10px;
    position: relative;
}

.left-choice {
    padding-right: 1%;
}

.right-choice {
    padding-left: 1%;
}

#errorMessage {
    width:50vw;
    height:10vh;
    line-height:1em;
    font-size: 1em;
    overflow:auto;
    background-color: #ffffff;
    padding-top: 5px;
    border-color: black;
    border-width: thin;
    border-style: solid;
    font-family: monospace;
}

#picture {
    display: table-cell;
    float:right;
    height: 27vh;
}

#emptypicture {
    display: table-cell;
    float:left;
    height: 100vh;
    padding-left: 25%
}

#textsp {
    overflow-y: auto;
    max-height: calc(100% - 115px);
    float: left;
    width: 60vw;
}


#stats-bar {
    width:100%;
    padding-right: 10px;
    padding-bottom: 15px;
    border-spacing:0;
}

.stats-cells {
    text-align: center;
    background-color: #b0e9f3;
}

.stats-cells-blue {
    text-align: center;
    background-color: #b0e9f3;
}

.stats-cells-white {
    text-align: center;
    background-color: #f0f6f6;
}

.stats-cells-green{
    text-align: center;
    background-color: #b5ff9d;
}

.stats-cells-red{
    text-align: center;
    background-color: #ef7878;
}

.cell-width {
    width:12.5%;
}

.cell-width-noPlay {
    width: 16.67%;
}

#statsp {
    position: sticky;
    vertical-align: bottom;
    bottom: 20px;
    background-color: #f0f6f6;
}

#objsp {
    padding-left: 15px;
}

.title {
    font-size: 20px;
    text-align: center;
    font-weight: bold;
}

#test {
    height: 30%;
    width: 40%;
    background: #b0c6c6;
    opacity: 15%;
}

#backpack {
    position: absolute;
    height: 5%;
    bottom: 15%;
    left: 5%;
}

#backpack:hover {
    transform: scale(1.5);
}

#pop-up{
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

#pop-up-text{
    overflow-y: auto;
    height: 90%;
    margin-top: 1em;
}

#pop-up-content{
    border-radius: 1em;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    height: 80%;
}

#close-pop-up {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

#close-pop-up:hover,
#close-pop-up:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.btn-group .itembtn {
    background-color: #bcf6f6;
    border: none;
    color: #a21717;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    margin: 10px;
}

.btn-group .itembtn:hover{
    background-color: #b0e9f3;
}

.btn-clicked{
    background-color: #b0e9f3;
}

#item-text {
    background-color: #f0f9f9;
    float:right;
    width: 30%;
    height: 70%;
    line-height: 2;
    text-align: center;
}

.cListener {
    cursor: pointer;
    color: #000088;
}

.cListener:hover {
   color: #888800;
}

#perDecErr {
    display: none;
    color: #fa0202;
}

.buy {
    width: 50px;
}