/*html {
    height: 100%;
    width: auto;
    margin: 0;
    font-size: 62.5%;
}
*/

td {
    line-height: 0
}

body {
    height: 90vh;
    /*width: 133.33vh;*/
    margin: 0;
    font-size: 1.2em;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    position: absolute;
    overscroll-behavior: contain;
    overflow: hidden;
}


/*body,*/

html {
    height: 90vh;
    margin: 0;
    font-size: 62.5%;
    overscroll-behavior: none;
}

#game {
    height: 90vh;
    /* as wide as bgimage * /
    display: inline-block;*/
    display: inline-block;
    /* this div is the reference pos for rightnav */
    position: relative;
    overscroll-behavior: none;
}

#background {
    height: 81vh;
    width: 108vh;
    margin: 2px;
    display: inline-block;
}

#backImg {
    height: 100%;
    width: auto;
    min-height: 100%;
}

.imgBGDetail {
    z-index: 5;
}

.disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.navStyle {
    /*background-color: red;
    border-color: blueviolet;
    border-width: 2px;
    border-style: solid;*/
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    background-repeat: no-repeat;
    background-size: contain;
    /* Resize the background image to cover the entire container */
    background-position: center;
}

.detailStyle {
    border-color: black;
    border-width: 2px;
    border-style: solid;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 4px;
    background-repeat: no-repeat;
    background-size: contain;
    /* Resize the background image to cover the entire container */
    background-position: center;
    position: absolute;
    top: 20%;
    left: 20%;
    height: 60%;
    width: 60%;
    display: none;
    margin: 0 auto;
    margin-left: auto;
    margin-right: auto;
    z-index: 100;
}

.detailCloseStyle {
    top: 5%;
    height: 10%;
    display: block;
    margin-left: auto;
    margin-right: 0;
    cursor: pointer;
    background-color: white;
}

.detailContStyle {
    top: 5%;
    height: 80%;
    max-height: 85%;
    max-width: 90%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    z-index: 5;
    margin-bottom: 2%;
}

#detailtext {
    text-align: center;
}

.footer {
    font-size: small;
    top: 95%;
    left: 5%;
    position: absolute;
}

.endContStyle {
    /*font-size: large;*/
    top: 5%;
    left: 5%;
    max-height: 90%;
    max-width: 90%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    z-index: 5;
    position: absolute;
}

.coffee {
    display: inline-block;
}

.mapInnerStyle {
    top: 10%;
    max-height: 90%;
    max-width: 90%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    z-index: 5;
    position: absolute;
    object-fit: contain;
    height: 90%;
    width: 90%;
}

.detailStyle {
    border-color: black;
    border-width: 2px;
    border-style: solid;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 4px;
    background-repeat: no-repeat;
    background-size: contain;
    /* Resize the background image to cover the entire container */
    background-position: center;
    position: absolute;
    top: 20%;
    left: 20%;
    height: 60%;
    width: 60%;
    display: none;
    margin: 0 auto;
    margin-left: auto;
    margin-right: auto;
    z-index: 5;
}

.mapStyle {
    border-color: black;
    border-width: 2px;
    border-style: solid;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 4px;
    background-repeat: no-repeat;
    background-size: contain;
    /* Resize the background image to cover the entire container */
    background-position: center;
    position: absolute;
    top: 5%;
    left: 5%;
    height: 90%;
    width: 90%;
    display: none;
    margin: 0 auto;
    margin-left: auto;
    margin-right: auto;
    z-index: 5;
}

.endStyle {
    border-color: black;
    border-width: 2px;
    border-style: solid;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 4px;
    background-repeat: no-repeat;
    background-size: contain;
    /* Resize the background image to cover the entire container */
    background-position: center;
    position: absolute;
    top: 5%;
    left: 5%;
    height: 90%;
    width: 90%;
    display: none;
    margin: 0 auto;
    margin-left: auto;
    margin-right: auto;
    z-index: 5;
}

.aboutStyle {
    border-color: black;
    border-width: 2px;
    border-style: solid;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 4px;
    background-repeat: no-repeat;
    background-size: contain;
    /* Resize the background image to cover the entire container */
    background-position: center;
    position: absolute;
    top: 5%;
    left: 5%;
    height: 90%;
    width: 90%;
    display: none;
    margin: 0 auto;
    margin-left: auto;
    margin-right: auto;
    z-index: 5;
}

.startStyle {
    /* color: white;
    -webkit-text-stroke-width: 1px;
     -webkit-text-stroke-color: white;*/
    border-color: black;
    border-width: 2px;
    border-style: solid;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 4px;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url("../images/h86.jpg");
    /* Resize the background image to cover the entire container */
    background-position: center;
    position: absolute;
    top: 5vh;
    left: 5vh;
    height: 81vh;
    width: 100vh;
    display: block;
    margin: 0 auto;
    margin-left: auto;
    margin-right: auto;
    z-index: 5;
}

.mapTableStyle {
    max-width: 70%;
    max-height: 100%;
    table-layout: table;
    width: auto;
    height: 100%;
    border-collapse: collapse;
    padding: 0px;
}

.mapTableStyle td {
    overflow: hidden;
    width: 9%;
    padding: 0px;
}

.mapTableStyle td:nth-of-type(2n) {
    width: 1%;
}

.mapTableStyle tr {
    height: 7%;
}

.mapTableStyle tr:nth-of-type(2n) {
    height: 1%;
}

.maphighlightStyle {
    border-color: red;
    border-width: 2px;
    border-style: dashed;
    border-radius: 8px;
}

.mapContStyle {
    z-index: 10;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 8px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    width: auto;
    max-height: 100%;
    max-width: 100%;
}

.mapContLineStyle {
    height: auto;
    width: 100%;
    max-height: 100%;
    max-width: 100%;
}

.mapContLineScaleStyle {
    height: 100%;
    width: 100%;
    max-height: 100%;
    max-width: 100%;
}

#leftnav {
    position: absolute;
    top: 6%;
    height: 78%;
    width: 5%;
    background-image: url("../images/pfeill.png");
}

#rightnav {
    position: absolute;
    top: 6%;
    left: 95%;
    height: 78%;
    width: 5%;
    background-image: url("../images/pfeilr.png");
}

#topnav {
    position: absolute;
    top: 0%;
    left: 5%;
    width: 90%;
    height: 5%;
    background-image: url("../images/pfeilo.png");
}

#bottomnav {
    position: absolute;
    left: 5%;
    top: 85%;
    height: 5%;
    width: 90%;
    background-image: url("../images/pfeilu.png");
}

#infoText {
    height: 30%;
    width: 100%;
    min-width: 100%;
    /*background-color: rgba(223, 139, 139, 0.5);*/
    background-repeat: no-repeat;
    background-size: contain;
    /* Resize the background image to cover the entire container */
    background-position: center;
    text-align: center;
}

#loot {
    position: relative;
    height: 70%;
    width: 100%;
    display: flex;
    flex-direction: row;
}

#bottomInfo {
    top: 90%;
    height: 10%;
    width: 100%;
    min-width: 90%;
    position: absolute;
}

#inventory {
    /* width: 100%;
    min-width: 90%;
    background-color: rgba(255, 0, 255, 1);
    display: flex;
    flex-direction: row;
    position: absolute;*/
    height: 100%;
    width: 70%;
    min-width: 70%;
    max-width: 70%;
    display: flex;
    flex-direction: row;
}

#aboutStarter {
    height: 100%;
    width: 5%;
    min-width: 5%;
    display: flex;
    flex-direction: row;
    cursor: pointer;
}

#aboutImg {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

#mapStarter {
    left: 10%;
    height: 100%;
    width: 10%;
    min-width: 5%;
    display: flex;
    flex-direction: row;
    cursor: pointer;
}

#mapStarterImg {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

#infodropper {
    pointer-events: none;
    height: 70%;
    max-width: 100%;
    max-height: 70%;
    width: 100%;
    min-width: 100%;
    position: absolute;
    z-index: 5;
    ;
}

#infoImg {
    max-width: 100%;
    max-height: 100%;
    display: none;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

#newGame {
    height: 100%;
    width: 5%;
    min-width: 5%;
    display: flex;
    flex-direction: row;
    cursor: pointer;
}

#newGameImg {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

.imgInInv {
    max-width: 80%;
    max-height: 90%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
}

.imgInInvCenter {
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    position: relative;
}

.divInInv {
    height: 100%;
    width: 10%;
    border-color: black;
    border-width: 2px;
    border-style: solid;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 8px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    text-align: right;
    padding-right: 1px;
}

.mousemover {
    position: relative;
    left: 35px;
    top: 40px;
    height: 10%;
    width: auto;
    max-width: 10%;
    max-height: 10%;
    display: inline-block;
}

.mousemoverImg {
    height: 100%;
    width: auto;
    max-width: 100%;
}

.dropTargetWhite {
    background-color: rgba(250, 248, 248, 0.5);
    border-radius: 8px;
}

.dropTargetBlack {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    cursor: pointer;
}

.riddlestyle {
    position: absolute;
    border-color: black;
    border-width: 2px;
    border-style: solid;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 4px;
    background-repeat: no-repeat;
    /* Resize the background image to cover the entire container */
    background-position: center;
    top: 5%;
    left: 5%;
    height: 90%;
    width: 90%;
    display: none;
    margin: 0 auto;
    margin-left: auto;
    margin-right: auto;
    z-index: 5;
}


/*
.imgInRid {
    height: 90%;
    width: 90%;
    left: 5%;
    top: 5%;
    border-color: black;
    border-width: 2px;
    border-style: solid;
    background-size: contain;
    margin-left: auto;
    margin-right: auto;
    margin: 0 auto;
    display: block;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    position: relative;
    background-color: white;
}
*/

.imgInRid {
    border-color: #6e9dbc;
    border-width: 2px;
    border-style: solid;
    background-size: contain;
    margin: 1px;
    display: block;
    background-color: #b1c6ec;
}

.imgInRidExit {
    height: 90%;
    width: 90%;
    left: 5%;
    background-size: contain;
    margin-left: auto;
    margin-right: auto;
    margin: 0 auto;
    display: block;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    position: relative;
}

.ridstyle {
    position: absolute;
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
}

#riddleInner {
    position: absolute;
    height: 100%;
    width: 100%;
    display: block;
    margin: 0 auto;
    margin-left: auto;
    margin-right: auto;
    z-index: 5;
    top: 35%;
}

.inputStyle {
    font-size: 100%;
}

.buttaboutstyle {
    white-space: normal;
    display: none;
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 5%;
}

.buttcookstyle {
    white-space: normal;
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 5%;
}

.celldiv {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

#showAll {
    position: absolute;
    top: 0%;
}

#showVis {
    position: absolute;
    top: 0%;
    left: 30%
}

#startText {
    /*font-size: large;*/
    margin-top: 10%;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 10px;
    
    text-align: center;
}


}
#progressContainer {
    font-size: large;
    margin-top: 10%;
}