body, html { font-family: Arial, Helvetica, sans-serif; height: 100%; margin: 0px 0px 0px 0px; }
#header { height: 100px; width: 100%; background: #ffffc0; float: top; }
#content { width:800px; height: 500px; margin:20px auto; position: relative; border: 2px solid black; }
.bordered { border: 2px solid black; }
#footer { height: 100px; width: 100%; background: #ffc0c0; float: bottom; }


#playarea { position: absolute; width: 100%; height: 100%; }
#mapview { position: absolute; width: 100%; height: 100%; background: black; }
#mvOverlay { position: absolute; width: 100%; height: 40px; left:0; top: 100px; font-size: 24px; line-height: 40px; text-align: center; color: white; background: #30303080; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
#mvHistory { position: absolute; left: 20px; bottom: 20px; moz-transform: scale(2); -ms-transform: scale(2); -o-transform: scale(2); -webkit-transform: scale(2); transform: scale(2); image-rendering: pixelated; }
#mvInventory { position: absolute; right: 20px; bottom: 20px; moz-transform: scale(2); -ms-transform: scale(2); -o-transform: scale(2); -webkit-transform: scale(2); transform: scale(2); image-rendering: pixelated; }
#curtain { display: none; position: absolute; width: 100%; height: 100%; left: 0px; top: 0px; background: black; z-index: 4; }
#flash { display: block; position: absolute; width: 100%; height: 100%; left: 0px; top: 0px; background: white; }
#dialogwindow { display: none; position: absolute; width: 580px; height: 180px; left: 100px; bottom: 20px; background: #5a5140f0; border: #b8b2a7 8px ridge; border-radius: 8px;
                z-index: 5; padding: 10px; box-sizing: border-box; color: white; font-size: 24px; user-drag: none; user-select: none; -moz-user-select: none; -webkit-user-drag: none; 
                -webkit-user-select: none; -ms-user-select: none; }
#dialogface { position: absolute; left: 10px; bottom: 172px; z-index: 6; width: 128px; height: 140px; 
              display:block; overflow:hidden; margin:0 0 0 0; padding:0 0 0 0; }
#dialogface img { transform-origin: left bottom; moz-transform: scale(2); -ms-transform: scale(2); -o-transform: scale(2); -webkit-transform: scale(2); transform: scale(2); 
                image-rendering: pixelated;position: absolute; left: 0px; bottom: 0px; }
#dialogcaption { position: absolute; text-align: center; bottom: 175px; left: 120px; right:120px; height: 30px; font: 24px Arial; background: #5a514080; color: white; }
#dialogcaptionF { position: absolute; text-align: center; bottom: 175px; left: 180px; right:60px; height: 30px; font: 24px Arial; background: #5a514080; color: white; }
.dialogbutton { display: inline-block; min-width: 50px; min-height: 20px; background: #b2b2b2; border: 2px solid; color: black; border-radius: 4px;
               border-color: #cdcdcd #828282 #828282 #cdcdcd; text-align: center; margin:4px 8px 4px 8px; padding: 2px 8px 2px 8px; cursor: pointer;}
.dialogbutton:active { border-color: #828282 #cdcdcd #cdcdcd #828282; background: #989898; }
#dialogprop { position: absolute; right: 10px; bottom: 172px; z-index: 6; background: #5a5140f0; 
                display:block; clear: both; margin:0 0 0 0; padding:5px 5px 5px 5px; transform-origin: right bottom; moz-transform: scale(2); -ms-transform: scale(2); -o-transform: scale(2); -webkit-transform: scale(2); transform: scale(2); 
                image-rendering: pixelated; }
#backgroundShade { position: absolute; left:0px; top:0px; width: 100%; height: 100%; display: none; z-index: 4; }
#dvBackgroundShade { position: absolute; left:0px; top:0px; width: 100%; height: 100%; display: none; z-index: 1; }

#storewindow { display: none; position: absolute; width: 400px; height: 400px; right: 50px; top: 50px; background: #5a5140f0; border: #b8b2a7 8px ridge; z-index: 4; 
               padding: 4px 4px 4px 4px; box-sizing: border-box; color: white; font-size: 24px; user-drag: none; user-select: none; -moz-user-select: none; -webkit-user-drag: none; 
                -webkit-user-select: none; -ms-user-select: none; }
#swTitle { display: block; margin: 5px 5px 5px 5px; font-size: 20px; }
#swItems { display: block; margin: 5px 5px 5px 5px; font-size: 12px; position: absolute; left: 5px; right: 5px; top: 40px; bottom: 90px;
           padding: 4px 4px 4px 4px; box-sizing: border-box; overflow-x: hidden; overflow-y:auto; font-size: 12px; background: #c8c8c8; border: #b8b2a7 4px inset; }
#swItems::-webkit-scrollbar { width: 20px; height: 20px; background: #b8a0d0; border: 2px solid black; }
#swItems::-webkit-scrollbar-thumb { background: #404a58; border: 2px solid black; }
#swItems::-webkit-scrollbar-corner { background: #e0d0f0; border: 2px solid black; }
#swItems > span { display: inline-block; width: 96px; height: 80px; font-size: 12px; text-align: center; margin: 4px 4px 4px 4px; 
       background: #b2b2b2; color: black; vertical-align: bottom; position: relative; }
#swItems > span > span { display: block; width: 100%; bottom: 2px; position: absolute; }
#swItems img { transform: scale(2) translate(-50%,-50%); image-rendering: pixelated; left:50%; top:40%; transform-origin: left top; position: absolute; }
#swInfo { display: block; font-size: 12px; position: absolute; color: black; left: 10px; right: 160px; bottom: 10px; 
          height: 70px; background: #c8c8c8; border: #b8b2a7 2px inset; }
#swBuyButton { display: block; position: absolute; color: black; width: 60px; font-size: 16px; height: 30px; right: 80px; bottom: 10px; line-height: 30px; vertical-align: middle; }
#swExitButton { display: block; position: absolute; color: black; width: 60px; font-size: 16px; height: 30px; right: 10px; bottom: 10px; line-height: 30px; vertical-align: middle; }
.disabled { color: gray !important; }
.disabled img { opacity: 0.5; }
.swSelected { background: #909090 !important; font-weight: bold; }
img { image-rendering: crisp-edges; }

#setupview { background: #edb4cb; width: 100%; height: 100%; position: absolute; display: block; z-index: 2; animation-duration: .2s; animation-name: fadein;
    -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; 
    font-size: 20px; }
#svNewButton { display: block; position: absolute; width: 150px; height: 40px; left: 300px; top: 280px; line-height:40px; }
#svLoadButton { display: block; position: absolute; width: 150px; height: 40px; left: 300px; top: 340px; line-height:40px;  }
#svSoundButton { display: block; position: absolute; width: 50px; height: 40px; left: 300px; top: 400px; text-align: left; padding: 0px 5px 0px 5px; }
#svMusicButton { display: block; position: absolute; width: 50px; height: 40px; left: 385px; top: 400px; text-align: left; padding: 0px 5px 0px 5px; }
#svLogo { display: block; position: absolute; left: 178px; top: 50px; }
#svTitle { display: block; position: absolute; left: 0px; top: 0px; }
#svVersion { display: block; position: absolute; left: 480px; top: 290px; width: 50px; height: 20px; font-size: 18px; }
#setupview img { moz-transform: scale(2); -ms-transform: scale(2); -o-transform: scale(2); -webkit-transform: scale(2); 
          transform: scale(2); image-rendering: pixelated; transform-origin: left top; }
#svCreateBox1 { display: block; position: absolute; left: 30px; top: 30px; width: 340px; height: 396px; border: 2px solid; background: #c8d8ff; padding: 20px; }
#svCreateBox2 { display: block; position: absolute; right: 30px; top: 30px; width: 280px; height: 140px; border: 2px solid; background: #c8d8ff; padding: 20px; }
#svResultBox { display: block; position: absolute; right: 30px; bottom: 30px; width: 280px; height: 180px; border: 2px solid; background: #c8d8ff; padding: 20px; }
#setupview label { margin: 0px 10px 0px 0px; text-align: left; }
#setupview input { width: 100%; margin: 0px 0px 10px 0px; }
#setupview input:focus { outline: none; }
#setupview input[type=text] { height: 30px; border: 2px solid; font-size: 20px; box-sizing:border-box; background: #e6edff; }
#setupview input[type=range] { height: 12px; -webkit-appearance: none; }
#setupview input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; border: 2px solid; 
                       box-sizing:border-box; width: 12px; height: 25px; background: #5050B0; cursor: pointer; }
#svSpriteImg { position: absolute; left: 20px; top: 20px; clip: rect(0px,46px,65px,0px); }
#svFaceImg { position: absolute; left: 140px; top: 20px; clip: rect(0px,64px,65px,0px); }
#swStartButton { position: absolute; left: 20px; width: 260px; height: 30px; line-height: 30px; bottom: 20px; }
#svAcctStatus { display: block; text-align: center; width: 100%; margin-top: 10px; font-size: 18px; }
#svLoginBtn, #svRegisterBtn { display: inline-block; width: 95px; height: 30px; line-height: 30px; }
#svHelpBtn { display: inline-block; width: 20px; height: 30px; line-height: 30px; }

#statusview { background: #E6EBF2; width: 100%; height: 100%; position: absolute; display: none; z-index: 1; }
#svTabBar { display: block; position: absolute; left: 20px; top:10px; height: 44px; width:760px; }
#svTabBar div:first-child { border-left: 2px solid; }
#svTabBar div { border-right: 2px solid; border-top: 2px solid; border-bottom: 2px solid; display: inline-block; width: 106px; text-align: center; height: 40px; line-height: 40px; font-size: 24px; user-drag: none; user-select: none; -moz-user-select: none; -webkit-user-drag: none; -webkit-user-select: none; -ms-user-select: none; cursor: pointer; }
.svtabSelected { background: #657da1; }
.svtab { display: none; background: #A5B7D1; position: absolute; left: 10px; top: 66px; width: 780px; height: 420px; }
.svtab > div { background: #8FA5C4; }
.svDisabled { color: #808080; }

#idbadge { display: block; position: absolute; background: #f0f0f0; width: 400px; height:220px; left: 250px; top: 30px; border: 2px solid black; border-radius: 20px; }
#idbadgeface { position: absolute; display: block; left: 20px; top: 20px; width: 132px; height: 132px; box-sizing: border-box; background: white; border: 2px solid black; }
#idbadgeface img { position: absolute; clip: rect(0px,64px,65px,0px); moz-transform: scale(2); -ms-transform: scale(2); -o-transform: scale(2); -webkit-transform: scale(2); 
  transform: scale(2); image-rendering: pixelated; transform-origin: left top; }
#idbadgedesc { position: absolute; display: block; left: 170px; top: 40px; font-size: 24px; }
#idbadgename { position: absolute; display: block; left: 0px; top: 165px; width: 100%; height: 40px; background: #f0f080; font-size: 24px; line-height: 40px; text-align: center; }

#svCareerPlayer { position: absolute; left: 10px; top: 10px; width: 180px; height: 180px; text-align: center; font-size: 20px; padding: 10px 10px 10px 10px; box-sizing: border-box; }
#svCareerDesc { position: absolute; left: 0px; top: 200px; width: 200px; height: 210px; font-size: 18px; padding: 10px 10px 10px 10px; box-sizing: border-box; }
#svCareerBadgeDetail { position: absolute; left: 0px; top: 10px; width: 200px; height: 400px; padding: 10px 10px 10px 10px; box-sizing: border-box; z-index: 1 }
#svCareerBadges { position: absolute; left: 210px; top: 10px; width: 560px; height: 400px; box-sizing: content-box; }
#svCareerBadges > img { position: absolute; display: block; }
.svPromoLabel { font-size: 18px; padding: 10px 10px 10px 10px; }
.svPromo { padding: 2px 2px 2px 2px; box-sizing: content-box; width: 64px; height: 64px; border: 2px solid; border-color: #cdcdcd #828282 #828282 #cdcdcd; position: absolute; text-align: center; }
.svPromo img { width: 64px; height: 64px; image-rendering: pixelated; mix-blend-mode: soft-light; }
.badgeLocked { background: #818c9c; color: white; }
.badgeEnabled { background: #7a9ccc; color: black; }
.badgeEnabledActive { background: #3F5A7F; color: white; border-color: #828282 #cdcdcd #cdcdcd #828282; }
.badgeEarned { background: #7acc9c; color: black; }
.badgeEarnedActive { background: #3F7F5A; color: white; border-color: #828282 #cdcdcd #cdcdcd #828282; }
.badgeMastered { background: #cccc7a; color: black; }
.badgeMasteredActive { background: #7f7f3f; color: white; border-color: #828282 #cdcdcd #cdcdcd #828282; }
#svRef { background: #E6EBF2; }
#svRef > div { background: #A5B7D1; }
#svRef > div > div { background: #8FA5C4; }
#svRefBar { position: absolute; left: 0px; top: 0px; height: 420px; padding: 0px 0px 0px 0px; list-style: none; margin: 0px 0px 0px 0px;
    overflow-x: hidden; overflow-y:auto; }
.svrbWide { width: 250px; }
.svrbNarrow { width: 150px; }
#svRefBar::-webkit-scrollbar { width: 20px; height: 20px; background: #a0b8d0; border: 2px solid black; }
#svRefBar::-webkit-scrollbar-thumb { background: #404a58; border: 2px solid black; }
#svRefBar::-webkit-scrollbar-corner { background: #d0e0f0; border: 2px solid black; }
#svRefContent { position: absolute; right: 0px; top: 0px; height: 420px; overflow-x: hidden; overflow-y:auto; }
.svrcWide { width: 620px; }
.svrcNarrow { width: 520px; }
#svRefContent::-webkit-scrollbar { width: 20px; height: 20px; background: #a0b8d0; border: 2px solid black; }
#svRefContent::-webkit-scrollbar-thumb { background: #404a58; border: 2px solid black; }
#svRefContent::-webkit-scrollbar-corner { background: #d0e0f0; border: 2px solid black; }
#svRefBar li { width: 100%; height: 20px; font-size: 16px; cursor: pointer; white-space: nowrap; }
#svRefBar li:nth-child(even) { background: #BAC9DE; }
#svRefBar li:nth-child(odd) { background: #A5B7D1; }
.svRefBarSelected { background: #657DA1 !important; color: #f0f0f0 !important; }
#svRefPortraitP { position: absolute; left: 10px; top: 10px; width: 120px; height: 120px; }
#svRefDescP { position: absolute; left: 140px; top: 10px; width: 370px; height: 120px; padding: 10px 10px 10px 10px; box-sizing: border-box; }
#svRefExplainP { position: absolute; left: 10px; top: 140px; width: 500px; height: 120px; padding: 10px 10px 10px 10px; box-sizing: border-box; }
#svRefExplainP table td { text-align: left; vertical-align: top; }
#svRefIconsP { position: absolute; left: 10px; top: 270px; width: 500px; height: 144px; padding: 6px 6px 6px 6px; box-sizing: border-box; }
#svRefIconsP img { width: 64px; height:64px; display: inline-block; margin: 0px 2px 0px 2px; image-rendering: pixelated; transform-origin: left top; }
#svRefDescD { position: absolute; left: 10px; top: 10px; width: 500px; height: 100px; padding: 10px 10px 10px 10px; box-sizing: border-box; }
#svRefExplainD { position: absolute; left: 10px; top: 120px; width: 500px; height: 130px; padding: 10px 10px 10px 10px; box-sizing: border-box; }
#svRefExplainD table td { text-align: left; vertical-align: top; }
#svRefIconsD { position: absolute; left: 10px; top: 260px; padding: 6px 6px 6px 6px; box-sizing: border-box; }
#svRefIconsD img { width: 96px; height:96px; display: inline-block; margin: 0px 2px 0px 2px; image-rendering: pixelated; transform-origin: left top; }
#svRefLast { position: absolute; left: 20px; bottom: 20px; }
#svRefPortraitItem { display: block; position: absolute; left: 0px; top: 0px; right: 0; bottom: 0; margin: auto auto; moz-transform:scale(2); -ms-transform: scale(2); -o-transform: scale(2); -webkit-transform: scale(2);
          transform: scale(2); image-rendering: pixelated; transform-origin: center; }
.svRefHeader { font-size: 20px; font-weight: bold; }
.svRefStatus { width: 100%; display: block; text-align: center; font-weight: bold; }
.svRefSubheader { font-weight: bold; font-style: italic; }
.svRefMet { font-weight: bold; color: #070; }
.svRefUnmet { color: #888; }
.svRefLabel { font-weight: bold; }
.svSetting { font-weight: bold; padding: 3px 6px 3px 6px; border-radius:6px; }
.svIcon { image-rendering: pixelated; }
.svLink { text-decoration: underline; cursor: pointer; }
.key { border: 2px solid black; border-radius: 5px; width: 18px; height: 18px; text-align: center; display: inline-block; font-size: 14px; margin: 2px 2px; }
#svPatientTable { position: absolute; left: 10px; top: 10px; border: 2px solid black; border-collapse: collapse; 
  table-layout: fixed; background: #f0f0f0; text-align: left; }
#svBoard { overflow-x: hidden; overflow-y:auto; }
#svPatientTable th, #svPatientTable td { border: 2px solid black; }
#svPatientTable th:nth-child(1) { width: 100px; }
#svPatientTable th:nth-child(2) { width: 200px; }
#svPatientTable th:nth-child(3) { width: 250px; }
#svPatientTable th:nth-child(4) { width: 50px; }
#svBoard::-webkit-scrollbar { width: 20px; height: 20px; background: #a0b8d0; border: 2px solid black; }
#svBoard::-webkit-scrollbar-thumb { background: #404a58; border: 2px solid black; }
#svBoard::-webkit-scrollbar-corner { background: #d0e0f0; border: 2px solid black; }
#svSavePlayer { position: absolute; left: 20px; top: 20px; width: 120px; height: 160px; }
#svSaveDesc { position: absolute; left: 160px; top: 20px; width: 600px; height: 160px; font-size: 24px; padding: 10px 10px 10px 10px; box-sizing: border-box; }
#svSaveLocal { position: absolute; left: 20px; top: 200px; width: 360px; height: 200px; padding: 10px 10px 10px 10px; box-sizing: border-box; }
#svSaveCloud { position: absolute; left: 400px; top: 200px; width: 360px; height: 200px; padding: 10px 10px 10px 10px; box-sizing: border-box; }
#svSaveLocal span:first-child, #svSaveCloud span:first-child { font-weight: bold; font-size: 18px; }
#svSaveLocalSaveBtn, #svSaveLocalDeleteBtn, #svSaveCloudLoginBtn, #svSaveCloudRegisterBtn, #svSaveCloudSaveBtn,#svSaveCloudLogoutBtn { display: inline-block; width: 140px; height: 30px; line-height: 30px; vertical-align: middle; margin: 10px 12px; }

#svBack { position: absolute; right: 20px; bottom: 20px; moz-transform: scale(2); -ms-transform: scale(2); -o-transform: scale(2); -webkit-transform: scale(2); transform: scale(2); image-rendering: pixelated; }

#diagnoseview { background: #edb4cb; width: 100%; height: 100%; position: absolute; display: none; z-index: 1; animation-duration: .2s; animation-name: fadein;
    -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; 
    font-size: 20px; }
#diagnoseview h3 { font-size: 24px; margin: 8px 8px 8px 8px; }
#diagnoseview h4 { font-size: 24px; font-weight: normal; margin: 8px 8px 8px 8px; }
#diagnoseview h5 { font-size: 20px; margin: 8px 8px 8px 8px; }
#dvPatient { position: absolute; left: 10px; top: 10px; width: 120px; height: 180px; background: #db88a9; padding: 4px 4px 4px 4px; box-sizing: border-box;}
#dvPatient canvas { margin:0 auto; display:block; }
#dvDescription { position: absolute; left: 140px; top: 10px; width: 290px; height: 180px; background: #db88a9; padding: 4px 4px 4px 4px; box-sizing: border-box; }
#dvHistory { position: absolute; left: 440px; top: 10px; width: 350px; height: 180px; background: #db88a9; padding: 4px 4px 4px 4px; box-sizing: border-box; }
#dvHistory div, #dvSymptoms div { display: inline-block; clear: both; overflow: hidden; width: 110px; min-height: 116px; vertical-align: top; text-align: center; }
#dvHistory div span, #dvSymptoms div span { display: block; font-size: 12px; font-weight: bold; width: 100%; text-align: center; }
#dvHistory div img, #dvSymptoms div img { display: block; width: 96px; height: 96px; image-rendering: pixelated; margin: auto; }
#dvSymptoms { position: absolute; left: 10px; top: 200px; width: 350px; height: 280px; background: #db88a9; padding: 4px 4px 4px 4px; box-sizing: border-box; }
#dvTests { position: absolute; left: 370px; top: 200px; width: 240px; height: 280px; background: #db88a9; padding: 4px 4px 4px 4px; box-sizing: border-box; }
#dvTestResultList { position: absolute; display: block; width: 240px; left: 0px; top: 40px; bottom: 0px; padding: 4px 4px 4px 4px; box-sizing: border-box; 
                    overflow-x: hidden; overflow-y:auto; font-size: 12px; }
#dvTestResultList div { display: block; clear: both; overflow:hidden; }
#dvTestResultList div span { display: block; }
#dvTestResultList div span:first-of-type { display: block; font-weight: bold; }
#dvTestResultList div img { float: left; width: 64px; height: 64px; image-rendering: pixelated; margin: 2px 2px 2px 2px; }

#dvTestResultList::-webkit-scrollbar { width: 20px; height: 20px; background: #b8a0d0; border: 2px solid black; }
#dvTestResultList::-webkit-scrollbar-thumb { background: #404a58; border: 2px solid black; }
#dvTestResultList::-webkit-scrollbar-corner { background: #e0d0f0; border: 2px solid black; }
#dvOrderButton { position: absolute; display: block; width: 100px; top: 0px; right: 0px; }
#dvDiagnosis { position: absolute; left: 620px; top: 200px; width: 170px; height: 280px; background: #db88a9; padding: 4px 4px 4px 4px; box-sizing: border-box; 
               text-align: center; }
#dvDiagnoseStatus { position: absolute; left: 10px; top: 10px; font-size: 12px; width: 150px; text-align: center; }
#dvScore { position: absolute; left: 330px; top: 16px; width: 450px; height: 280px; display:none; background: #404040e0; color: #b0b0b0; font-size: 18px;
           padding: 10px 10px 10px 10px; box-sizing: border-box; }

#dvTestWindow { position: absolute; left: 118px; top: 40px; width: 564px; height: 420px; border: 2px solid black; z-index: 2; background: #cee7f5; 
                 padding: 4px 4px 4px 4px; box-sizing: border-box; animation-duration: .2s; animation-name: fadein;
                -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
#dvtwTop { display: block; padding: 4px 4px 4px 4px; box-sizing: border-box; position: absolute; top: 0px; left: 0px; width: 100%; height: 60px; 
           font-size: 20px; border-bottom: 2px solid; vertical-align: middle; }
#dvtwSampleIcon, #dvtwSpecimen { display: inline-block; margin: 0px 4px 0px 4px; vertical-align: middle; }
#dvtwLeft { display: block; padding: 4px 4px 4px 4px; box-sizing: border-box; font-size: 14px; position: absolute; top: 60px; left:0px; width: 110px; 
            height: 296px; border-right: 2px solid; }
#dvtwLeft span:nth-child(even) { background: #90c4e0; }
#dvtwLeft span:nth-child(odd) { background: #b1daf0; }
#dvtwLeft span:active, #dvtwRight span:active, .selected { background: #02466b !important; }
#dvtwLeft span { display: block; width: 100px; height: 20px; }
#dvtwRight { display: block; padding: 4px 4px 4px 4px; box-sizing: border-box; position: absolute; top:60px; right:0px; width: 446px; height: 296px; 
             overflow-x: hidden; overflow-y:auto; }
#dvtwRight > span { display: inline-block; width: 96px; height: 120px; position: relative; font-size: 12px; text-align: center; margin: 4px 4px 4px 4px; background: #b1daf0; vertical-align: top; }
#dvtwRight img { transform: scale(2) translate(-50%,-50%); image-rendering: pixelated; left:50%; top:40%; transform-origin: left top; position: absolute; }
#dvtwRight > span > span { display: block; width: 96px; position: absolute; bottom: 2px; text-align: center; }
#dvtwRight h3 { display: block; width: 100%; 
  border-top:2px dotted; font-size: 12px; margin: 4px 0px 4px 0px; padding: 4px 0px 0px 0px; text-align: center; font-size: 14px; font-weight: bold; }
#dvtwRight::-webkit-scrollbar { width: 20px; height: 20px; background: #b8a0d0; border: 2px solid black; }
#dvtwRight::-webkit-scrollbar-thumb { background: #404a58; border: 2px solid black; }
#dvtwRight::-webkit-scrollbar-corner { background: #e0d0f0; border: 2px solid black; }
#dvtwBottom { display: block; border-top: 2px solid; box-sizing: border-box; position: absolute; bottom: 0px; left: 0px; width: 100%; height: 60px; font-size: 14px; }
#dvtwBottom span { display: inline-block; vertical-align: middle; }
#dvtwDesc { width: 240px; height: 60px; padding: 4px 4px 4px 4px;  box-sizing: border-box; vertical-align: middle; }
#dvtwCancelButton, #dvtwSelectButton { display: inline-block; width: 90px; font-size: 16px; height: 30px; line-height: 30px; vertical-align: middle; }
#dvCollectSample { position:absolute; left:72px; top:40px; display: block; width: 96px; height: 120px; padding: 4px 4px 4px 4px; box-sizing: border-box; }
#dvCollectSample > span { display: block; font-size: 12px; text-align: center; width: 88px; position: absolute; bottom: 4px; }
#dvCollectSample > img { transform: scale(2) translate(-50%,-50%); image-rendering: pixelated; left:50%; top:40%; transform-origin: left top; position: absolute; }

#dvDiagnoseWindow { position: absolute; left: 137px; top: 40px; width: 522px; height: 420px; border: 2px solid black; z-index: 2; background: #cee7f5; 
                 padding: 4px 4px 4px 4px; box-sizing: border-box; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none;
                 -moz-user-select: none; -ms-user-select: none; user-select: none; }
#dvdwTop { display: block; padding: 4px 4px 4px 4px; box-sizing: border-box; position: absolute; top: 0px; left: 0px; width: 100%; height: 40px; 
           font-size: 20px; border-bottom: 2px solid; vertical-align: middle; }
#dvdwTop canvas, #dvdwTop span { display: inline-block; margin: 0px 2px 0px 2px; vertical-align: middle; }
#dvdwTop canvas { border: 2px solid black; background: #90c4e0; }
#dvdwTop canvas:active { background: #02466b !important;}
#dvdwOptions { display: block; padding: 4px 4px 4px 4px; box-sizing: border-box; position: absolute; top:40px; left:0px; width: 518px; height: 316px;
               overflow-x: hidden; overflow-y:auto; }
#dvdwOptions span { display: inline-block; width: 90px; font-size: 12px; text-align: center; margin: 4px 4px 4px 4px; background: #b1daf0;}
#dvdwOptions h3 { display: block; width: 100%; 
  border-top:2px dotted; margin: 4px 0px 4px 0px; padding: 4px 0px 0px 0px; text-align: center; font-size: 14px; font-weight: bold; }
#dvdwOptions::-webkit-scrollbar { width: 20px; height: 20px; background: #b8a0d0; border: 2px solid black; }
#dvdwOptions::-webkit-scrollbar-thumb { background: #404a58; border: 2px solid black; }
#dvdwOptions::-webkit-scrollbar-corner { background: #e0d0f0; border: 2px solid black; }
#dvdwBottom { display: block; border-top: 2px solid; box-sizing: border-box; position: absolute; bottom: 0px; left: 0px; width: 100%; height: 60px;
              font-size: 14px; }
#dvdwBottom span { display: inline-block; vertical-align: middle; }
#dvdwDesc { width: 240px; height: 60px; padding: 4px 4px 4px 4px;  box-sizing: border-box; vertical-align: middle; }
#dvdwCancelButton, #dvdwSelectButton { display: inline-block; width: 90px; font-size: 16px; height: 30px; line-height: 30px; vertical-align: middle; }

#battleview { background: #bfd7c3; width: 100%; height: 100%; position: absolute; display: none; z-index: 1;
    -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; 
    overflow: hidden; }
#bvPatient { position: absolute; left: 36px; top: 16px; width: 250px; height: 60px; background: #adc4b1; display: block; border: 2px solid black; 
             font-size: 20px; padding: 4px 4px 4px 4px; box-sizing: border-box; }
#bvPatientCanvas { position: absolute; left: -5px; top: 55px; }
#bvPlayerCanvas { position: absolute; left: 145px; top: 55px; }
#bvEnemy { position: absolute; right: 36px; top: 236px; width: 250px; height: 60px; background: #adc4b1; display: block; border: 2px solid black; 
           font-size: 20px; padding: 4px 4px 4px 4px; box-sizing: border-box; }
#bvEnemyCanvas { position: absolute; right: 36px; top: 20px; }
#bvDesc { position: absolute; left: 530px; top: 310px; width: 220px; height: 170px; background: #5a5140; display: block; border: #b8b2a7 8px ridge; 
          font-size: 20px; padding: 4px 4px 4px 4px; box-sizing: border-box; color: white; }
#bvScore { position: absolute; left: 330px; top: 16px; width: 450px; height: 280px; display:none; background: #404040e0; color: #b0b0b0; font-size: 18px;
           padding: 10px 10px 10px 10px; box-sizing: border-box; }
#bvAttack1Button { position: absolute; left: 44px; top: 340px; width: 64px; height: 64px; text-align: center; vertical-align: middle; }
#bvAttack2Button { position: absolute; left: 120px; top: 340px; width: 64px; height: 64px; text-align: center; vertical-align: middle; }
#bvAttack3Button { position: absolute; left: 196px; top: 340px; width: 64px; height: 64px; text-align: center; vertical-align: middle; }
#bvAttack4Button { position: absolute; left: 272px; top: 340px; width: 64px; height: 64px; text-align: center; vertical-align: middle; }
#bvAttack5Button { position: absolute; left: 348px; top: 340px; width: 64px; height: 64px; text-align: center; vertical-align: middle; }
#bvAttack6Button { position: absolute; left: 424px; top: 340px; width: 64px; height: 64px; text-align: center; vertical-align: middle; }
#bvInterface span img { moz-transform: scale(2); -ms-transform: scale(2); -o-transform: scale(2); -webkit-transform: scale(2); transform: scale(2); 
                        image-rendering: pixelated; position: absolute; right: 0; left: 0; top: 0; bottom: 0; margin: auto auto; }
#bvInterface span span { position: absolute; right: 2px; bottom: 2px; font-size: 12px; font-style: bold; font-weight: bold; }
#bvEffect img { moz-transform: scale(2); -ms-transform: scale(2); -o-transform: scale(2); -webkit-transform: scale(2); transform: scale(2); 
                image-rendering: pixelated; position: absolute; }
#bvItemButton { position: absolute; left: 36px; top: 422px; width: 100px; height: 44px; text-align: center; vertical-align: middle; }
#bvReferenceButton { position: absolute; left: 156px; top: 422px; width: 100px; height: 44px; text-align: center; vertical-align: middle; }
#bvWaitButton { position: absolute; left: 276px; top: 422px; width: 100px; height: 44px; text-align: center; vertical-align: middle; }
#bvEscapeButton { position: absolute; left: 396px; top: 422px; width: 100px; height: 44px; text-align: center; vertical-align: middle; }
#bvPatientHealth, #bvEnemyHealth { -webkit-appearance: none; -moz-appearance: none; appearance: none; height: 8px; width:100%; }
#bvPatientHealth::-webkit-progress-bar, #bvEnemyHealth::-webkit-progress-bar { background-color: #e0a0a0; }
#bvPatientHealth::-webkit-progress-value, #bvEnemyHealth::-webkit-progress-value { background-color: #d00000; }
#bvPatientHealth::-moz-progress-bar, #bvEnemyHealth::-moz-progress-bar { background: #d00000; }
#bvPlayerWeapon { position: absolute; left: 300px; top: 200px; }
#bvEnemySplat { position: absolute; left: 620px; top: 100px; }
#bvPatientSplat { position: absolute; left: 70px; top: 200px; }
#bvScreenFlash { position: absolute; left: 0px; top: 0px; width: 100%; height: 100%; z-index: 10; 
                 background-color: #ffffff; animation-name: flash; animation-duration: 0.2s; }
.bvPatientDiarrhea1 { animation-name: bvPatientRunAway; animation-duration: 1s; animation-timing-function: linear; }
.bvPatientDiarrhea2 { animation-name: bvPatientRunBack; animation-duration: 1s; animation-timing-function: linear; }

#itemview { background: #f2dff0; width: 100%; height: 100%; position: absolute; display: none; z-index: 1;
    -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; 
    overflow: hidden; }
#ivCoat { position: absolute; left: 12px; top: 12px; width: 436px; height: 94px; background: #e5c5e2; padding: 14px 14px 14px 14px; box-sizing: border-box; font-size: 0; }
#ivBag { position: absolute; left: 12px; top: 120px; width: 436px; height: 368px; background: #e5c5e2; padding: 14px 14px 14px 14px; box-sizing: border-box; font-size: 0; }
#ivPM, #ivTrash { position: absolute; left: 462px; top: 394px; width: 164px; height: 94px; background: #e5c5e2; padding: 14px 14px 14px 14px; box-sizing: border-box; font-size: 0; }
#ivDesc { position: absolute; left: 462px; top: 12px; width: 326px; height: 368px; background: #e5c5e2; box-sizing: border-box; border: 4px solid;
          border-color: #E7C8E4 #9D899E #9D899E #E7C8E4; }
#ivDescContent { display: block; width: 100%; height: 100%; padding: 14px 14px 14px 14px; box-sizing: border-box; border: 4px solid; border-color: #B69DB4; background: #D2B5CF; }
.ivslot { position: relative; width: 64px; height: 64px; display: inline-block; background: #b2b2b2; border: 2px solid; 
                 border-color: #828282 #cdcdcd #cdcdcd #828282; text-align: center; line-height: 1px; }
.ivslot img, #ivTrash img {transform: scale(2); image-rendering: pixelated; position: absolute; right: 0; left: 0; top: 0; bottom: 0; margin: auto auto; }
#ivTrash img { padding: 2px 4px; }
.ivshadow { opacity: 0.5; moz-transform: scale(2); -ms-transform: scale(2); -o-transform: scale(2); -webkit-transform: scale(2); transform: scale(2); image-rendering: pixelated; position: absolute; pointer-events: none; }
.ivlabel { position: absolute; font-size: 12px; font-weight: bold; }
#ivBack { position: absolute; right: 20px; bottom: 20px; moz-transform: scale(2); -ms-transform: scale(2); -o-transform: scale(2); -webkit-transform: scale(2); transform: scale(2); image-rendering: pixelated; }
#ivSelect { width: 64px; z-index: 10; height: 64px; background: #90aaac80; }
#ivUseButton, #ivDropButton { width: 160px; }
.ivselected { background: #90aaac; }
#ivSoundButton img, #ivMusicButton img { moz-transform: scale(2); -ms-transform: scale(2); -o-transform: scale(2); -webkit-transform: scale(2); 
          transform: scale(2); image-rendering: pixelated; transform-origin: left top; }
#ivSoundButton { display: block; position: absolute; width: 50px; height: 40px; left: 636px; top: 390px; text-align: left; padding: 0px 5px 0px 5px; }
#ivMusicButton { display: block; position: absolute; width: 50px; height: 40px; left: 636px; top: 440px; text-align: left; padding: 0px 5px 0px 5px; }
.itemTitle { font: 24px Arial; font-weight: bold; padding: 0px 0px 10px 0px; }
.itemSubdesc { font: 18px Arial; padding: 0px 0px 10px 0px; }
.scorePlus { color: #80ff80; }
.scoreMinus { color: #ff8080; }
.scoreTotal { color: #ffffff; }
.scoreTotal td { border-top: 2px solid white; box-sizing: border-box; }
#bvScore tr td:first-child,#dvScore tr td:first-child { width: 350px; text-align: left; }
#bvScore tr td:last-child,#dvScore tr td:last-child  { width: 100px; text-align: right; }

@keyframes flash { 0% { opacity: 0; } 50% { opacity:100; } 100% {opacity:0; } }

.dvwindow { }
.button, .inactivebutton { display: block; min-width: 50px; min-height: 20px; background: #b2b2b2; border: 2px solid; border-radius: 4px; 
                 border-color: #cdcdcd #828282 #828282 #cdcdcd; text-align: center; margin:4px 4px 4px 4px; cursor: pointer;}
.button:active, .pressed { border-color: #828282 #cdcdcd #cdcdcd #828282; background: #989898; }

@keyframes expandup { from { height: 1px; bottom:0px; } to { height: 180px; bottom:20px; } }
@keyframes fadein { from { opacity: 0; } to {opacity: 100} }
img { user-drag: none; user-select: none; -moz-user-select: none; -webkit-user-drag: none; -webkit-user-select: none; -ms-user-select: none; }

#regbox { display: block; width: 350px; height: 220px; background: #f0e0d0; font-size: 20px; }
#regtitle { display: block; width: 100%; height: 24px; background: #d0a080; padding: 5px 0px; font-size: 20px; font-weight: bold; text-align: center; margin-bottom: 10px; }
#regform label, #loginform label { width: 100px; display: inline-block; margin-left: 20px; margin-bottom: 5px; }
#regform input[type=text],#regform input[type=password],#loginform input[type=text],#loginform input[type=password] { width: 200px; display: inline-block; font-size: 20px; border: 2px solid; }
#regform input[type=submit],#loginform input[type=submit],#loginregbtn { width: 100px; height: 30px; font-size: 20px; display: inline-block; }
#regform span, #loginform span { text-align: center; margin: auto; display: block; }
#regform input:focus, #loginform input:focus { outline: none; }
#regboxstatus, #loginboxstatus { width: 100%; font-size: 20px; display: block; text-align: center; margin: 5px auto; }
#loginbox { display: block; width: 350px; height: 190px; background: #d0f0e0; font-size: 20px; }
#logintitle { display: block; width: 100%; height: 24px; background: #80d0a0; padding: 5px 0px; font-size: 20px; font-weight: bold; text-align: center; margin-bottom: 10px; }
#closebox { display: block; position: absolute; top: 4px; right: 4px; border: 2px solid black; background: white; font-size: 16px; width: 20px; height: 20px; cursor: pointer; }
#closebox:active { background: #888; }

#globalDialogBox { display: block; position: absolute; left: 225px; top: 140px; border: 2px solid black; z-index: 10; }
#msgbox { display: block; width: 350px; height: 220px; background: #f0f0f0; font-size: 20px; }
#msgtitle { display: block; width: 100%; height: 24px; background: #a0a0a0; padding: 5px 0px; font-size: 20px; font-weight: bold; text-align: center; margin-bottom: 10px; }

#navbar { width: 100%; background: #ffffc0; float: top; cursor: pointer; }
.nav { list-style-type:none; margin:0; padding:0; background-color: #abb;}
.nav li { display: inline-block; padding: 8px 16px; } 
.nav li a { color: black; text-decoration:none; text-align: center;} 
.nav li:hover:not(.navactive) { background-color: #699; }
.navactive { background-color: #8aa; }
#navlogin { display: block; position: absolute; right: 0px; top: 0px; padding: 8px 16px; }
#page { margin: 20px; }

#nb { background: #A5B7D1; }
.nDesc { padding: 10px 10px; margin: 0px 10px; border: 2px solid black; background: #f0f0f0; }
.nvl { border-left: 2px solid black; position: absolute; }
.nhl { border-top: 2px solid black; position: absolute; }
.nLabel { position: absolute; display: block; font-size: 18px; text-align: center; box-sizing: content-box; padding: 5px 5px; }
.nBox { border: 2px solid black; position: absolute; display: block; font-size: 18px; font-weight: bold; text-align: center; box-sizing: content-box; padding: 5px 5px; background: #f0f0f0 !important; }
.nScaled { transform: scale(2); image-rendering: pixelated; display: block; position: absolute; transform-origin: left top; }
.nSeqBox { border: 2px solid black; position: relative; display: block; font-size: 18px; font-weight: bold; text-align: left; box-sizing: content-box; padding: 5px 5px; background: #f0f0f0 !important; margin: 10px 10px 0px 10px; }
.nTest { position: absolute; display: block; text-align: center; box-sizing: content-box; padding: 5px 5px; font-size: 14px; }
.nResult { position: absolute; display: block; text-align: center; box-sizing: content-box; padding: 5px 5px; font-size: 14px; }
.nScaledInline { width: 80px; height: 80px; display: inline-block; position: relative; }
.nScaledInline span { text-align: center; font-size: 14px; font-weight: normal; display: block; width:80px; position: absolute; left:0px; bottom:0px; }
.nScaledInline img { transform: scale(2) translate(-50%,-50%); image-rendering: pixelated; left:50%; top:40%; transform-origin: left top; position: absolute; }
.nSeqBoxes { position: relative; display: block; margin: 10px 10px 0px 10px; box-sizing: content-box; }
.nSeqBoxes div { border: 2px solid black; position: absolute; display: block; font-size: 18px; font-weight: bold; text-align: left; box-sizing: content-box; padding: 5px 5px; background: #f0f0f0 !important; width: 270px; }

#loader { width: 10px; height: 10px; visibility: hidden; display: block; overflow: hidden; }

@keyframes spinner { to {transform: rotate(360deg);} }
#loadingtext { position: absolute; display: block; top: 100px; left:300px; width: 200px; height: 50px; font-size: 24px; z-index: 30; text-align: center; }
#spinner { position: absolute; box-sizing: content-box; display: block; top: 150px; left: 300px; width: 200px; height: 200px; border-radius: 50%; border: 20px solid #E8DDE7; border-top-color: #9c5557; animation: spinner 1s ease-in-out infinite; z-index: 30; }