@font-face {
    font-family: "inkfree";
    src: url("./Inkfree.ttf")  format('truetype');
}

.toolbar {
    display: flex;
    width: calc(100% - 10px);
    height: 40px;
    position: absolute;
    align-items: center;
}

.zoomContainer {
    width: 200px;
    flex-basis: 200px;
    flex-grow: 0;
    flex-shrink: 0;
    display: inline-flex;
}

.instructionLine {
    display: inline-flex;
    height: 26px;
    padding-left: 10px;
    flex-grow: 1;
    flex-shrink: 0;
    font-style: italic;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 20px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}
  
.slider:hover {
    opacity: 1;
}
  
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: #4CAF50;
    cursor: pointer;
}
  
.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: #4CAF50;
    cursor: pointer;
}

.zoomVal {
    display: inline-flex;
    font-size: 16pt;
    height: 26px;
    width: 100px;
    flex-grow: 0;
    flex-shrink: 0;
}

.pageScroller {
    top: 45px;
    height: calc(100% - 50px);
    width: calc(100% - 10px);
    overflow: auto;
    /* resize: both; */
    border: 1px solid rgb(0,0,0);
    position: absolute;
}

.pageContainer {
    width: calc(4 * 800px);
    height: calc(4 * 650px);
    position: relative;
}

.outerMapPage {
    width: calc(512px + 10px + 256px);
    height: calc(512px + 10px + 80px);
    border: 1px solid rgb(0,0,0);
    position: absolute;
    padding: 5px;
}

.memobox {
    background-color: white;
    position: absolute;
    top: 5px;
    left: 5px;
    border: 1px solid rgb(0,0,0);
    width: 512px;
    height: 80px;
    cursor: move;
}

.memoprompt {
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 16pt;
}

.memotext {
    position: absolute;
    left: 80px;
    top: 15px;
    font-size: 32pt;
}

.floortoggle {
    background-color: white;
    position: absolute;
    top: 5px;
    left: calc(512px + 10px + 5px);
    width: 256px;
    height: 80px;
}
.floor1toggle {
    position: absolute;
    top: 0px;
    height: 40px;
    width: 100%;
    border: 1px solid rgb(0, 0, 0);
    font-size: 18pt;
    font-style: italic;
    vertical-align: middle;
    cursor: pointer;
}
.floor1toggle:hover {
    background-color: lightgray;
}

.floor1toggle.active {
    font-style: normal;
    font-weight: bold;
}

.floor1toggle::after {
    font-size: 12pt;
    padding-left: 10px;
    height: 50%;
    content: "hidden";
}
.floor1toggle.active::after {
    content: "visible";
}

.floor2toggle {
    position: absolute;
    top: 40px;
    height: 40px;
    width: 100%;
    border: 1px solid rgb(0, 0, 0);
    font-size: 18pt;
    font-style: italic;
    vertical-align: middle;
    cursor: pointer;
}
.floor2toggle:hover {
    background-color: lightgray;
}

.floor2toggle.active {
    font-style: normal;
    font-weight: bold;
}


.floor2toggle::after {
    font-size: 12pt;
    padding-left: 10px;
    height: 50%;
    content: "hidden";
}
.floor2toggle.active::after {
    content: "visible";
}

.floordisplay {
    position: absolute;
    top: calc(80px + 10px + 5px);
    left: 5px;
    border: 1px solid rgb(0, 0, 0);
    width: 512px;
    height: 512px;
}

.floor1 {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    box-sizing: border-box;
    width: 512px;
    height: 512px;
}
.floor1.active {
    display: inline;
}
.floor1image {
    position: absolute;
    top: 0px;
    left: 0px;
    box-sizing: border-box;
    width: 512px;
    height: 512px;

}
.floor1grid {
    position: absolute;
    top: 0px;
    left: 0px;
    box-sizing: border-box;
    width: 512px;
    height: 512px;
}

.floor2 {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    box-sizing: border-box;
    width: 512px;
    height: 512px;
}
.floor2.active {
    display: inline;
}
.floor2image {
    position: absolute;
    opacity: 0.75;
    top: 0px;
    left: 0px;
    box-sizing: border-box;
    width: 512px;
    height: 512px;
}
.floor2grid {
    position: absolute;
    top: 0px;
    left: 0px;
    box-sizing: border-box;
    width: 512px;
    height: 512px;
}
.mapGrid {
    position: absolute;
    top: 0px;
    left: 0px;
    box-sizing: border-box;
    width: 512px;
    height: 512px;
}
.mapGrid .mapCell {
    position: absolute;
    width: 32px;
    height: 32px;
    box-sizing: border-box;
    margin: 0;
    border: 0;
    padding: 0;
}
.mapGrid .mapCell:hover {
    background-color: rgba(255, 255, 45, 0.5);
}
.mapGrid .mapCell.active {
    background-color: rgba(255, 255, 45, 0.75);
}
.mapGrid .mapCell.active:hover {
    background-color: rgba(255, 255, 45, 0.5);
}

.mapGrid .mapCell:hover {
    background-color: rgba(109, 180, 255, 0.5);
}
.floor2 .mapCell.active {
    background-color: rgba(0, 80, 255, 0.75);
}
.mapGrid .mapCell.active:hover {
    background-color: rgba(109, 180, 255, 0.5);
}

.pagenotes {
    position: absolute;
    top: calc(80px + 10px + 5px);;
    left: calc(512px + 10px + 5px);
    border: 1px solid rgb(0, 0, 0);
    background-color: white;
    width: 256px;
    height: 512px;
}

.itemnote {
    padding-bottom: 5px;
}

.itemnote img {
    width: 32px;
    padding-left: 6px;
    padding-right: 6px;
        
}

.itemnote span {
    font-family: monospace;
    font-size: 22pt;
}

.prognote {
    font-family: "inkfree";
    font-size: 14pt;
    padding: 3px;
}

.snapButton {
    border: 1px solid black;
    border-radius: 5px;
    font-size: 15pt;
    width: 100px;
    height: 23px;
    text-align: center;
    cursor: pointer;
}