html, body, div{
    margin: 0;
    padding: 0;
    font-family: Helvetica, Arial, sans-serif;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
body{
    height: 100%;
    overflow:hidden;
    width:100%;
}

a{
    text-decoration: none;
    color: black;
}

.hide{
    display:none !important;
}
.show{
    display:block;
}

.fl{
    float: left;
}
.fr{
    float: right;
}

/*basic UI*/

#header{
    z-index: 10;
    text-align: center;
    color: #888;
    position: absolute;
    top: 6px;
    width: 100%;
}

#menuToggle{
    z-index: 19;
    color: black;
    position: absolute;
    left: 10px;
    top: 20px; 
    width: 40px;
    height: 40px;
    text-align: center;
    vertical-align: middle;
    font-size: 17px;
}

#systemMenu{
    z-index: 20;
    position: absolute;
    height: 100%;
    width: 180px;
    background: rgba(0, 0, 0, 0.7);
    top: 0;
    color: white;
}
#cover{
    z-index: 19;
    height: 100%;
    width: 100%;
    position: absolute;
    background: rgba(0, 0, 0, .6);
    top: 0;
}
#systemMenu ul{
    padding: 0;
    margin: 0;
}
#systemMenu li{
    list-style: none;
    padding: 15px 0;
    width: 90%;
    margin: auto;
}


#pressureVis {
    position: absolute;
}

#inputID{
    width: 150px;
    margin: auto;
    font-size: 1em;
    height: 30px;
}

#systemMenu form{
    width: 100%;
    height: 30px;
    background: #444;
    border: none;
}
#systemMenu a{
    color: white;
}

#btnSaveID{
    height: 40px;
    width: 154px;
    color: rgb(255, 255, 255);
    font-size: 1em;
    background: rgb(20, 20, 20);
}


#userId {
        font-size: 1.2em;
        border: none;
        font-weight: 500;
}


.touch-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 420px;
    display: flex;
    justify-content: center;
}

#touchArea {
    height: 140px;
    width: 140px;
    border-radius: 85px;
    background-color: #c3c1ca;
    margin: auto;
    position: absolute;
    bottom: 120px;
    z-index: 2;
}


#userCode{
    display: block;
    z-index: 10;
    position: relative;
    width: 100%;
    text-align: center;
    margin-top: 24px;
}

#codeResult{
    z-index: 10;
    position: absolute;
    top: 240px;
    width: 100%;
    text-align: center;
    font-size: 2em;
}


#indicatorContainer {
    position: relative;
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


#indicatorContainer li {
    list-style: none;
    float: left;
    padding: 10px;
    border: 1px solid #eee;
    margin: 5px;
    display: block;
}

#indicatorContainer ul {
    margin: auto;
    width: 208px;
    height: inherit;
    padding: 0;
    display: flex;
    justify-content: center;
}


.indicator{
    height: 10px;
    width: 10px;
    background-color: rgb(204, 204, 204);
    border-radius: 50%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    border-bottom: 1px solid #d2d2d2;
}

.navbar .btn {
    color: rgb(0, 47, 255);
}

button {
    padding: 8px 20px;
    font-size: 16px;
    background: white;
    border: none;
}

#btnDelete{
    position: absolute;
    padding: 12px;
    top: 0px;
    right: 24px;
    color: rgb(0, 47, 255);
    z-index: 1000;
}



#btnOK{
    right: 10px;
}

#btnSave{
    height: 100%;
    width: 100%;
    color: white;
}

#trainingUI {
    margin-top: 80px;
    z-index: 100;
    width: 100px;
    height: 200px;
    margin-left: auto;
    margin-right: auto;
}

#targetLevel {
    font-size: 1.5em;
    text-align: center;
    margin-bottom: 8px;
}

#pressureVis {
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    width: 100px;
    height: 168px;
    position: relative;
    padding: 0;
}
.pressureBar {
    position: absolute;
    width: 20%;
    height: 2px;
    background: chartreuse;
    bottom: 0;
    margin-left: 40%;
    margin-right: 40%;
}
#pressureVis .top {
    position: absolute;
    right: 0;
    margin: 2px;
}
#pressureVis .bottom {
    position: absolute;
    right: 0;
    margin: 2px;
    bottom: 0px;
}

#menu{
    position: absolute;
    bottom: 5px;
    left: 5px;
    right: 5px;
    padding: 0;
}


#menu li{
    float: left;
    list-style: none;
    width: 49%;
    padding: 10px 0;
    margin: 1px;
    text-align: center;
}


#btnTest{
    position: absolute;
    padding: 8px 15px;
    font-size: 16px;
    top: 10px;
    left: 0;
}


#otherTest{
    position: absolute;
    bottom: 10px;
    left: 10px;
}

#testUI {
    height: 200px;
}

#infoDisplay {
    width: 100%;
    position: relative;
    text-align: center;
    margin-top: 40px;
}

#infoDisplay p {
    font-size: 0.6em;
    color: #828282;
}

#attackerId {
    position: fixed;
    left: 12px;
    bottom: 32px;
    font-size: 0.8em;
    color: #a6a6a6;
}

.no-select {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Safari */
    -khtml-user-select: none;    /* Konqueror HTML */
    -moz-user-select: none;      /* Firefox */
    -ms-user-select: none;       /* Internet Explorer/Edge */
    user-select: none;           /* Non-prefixed version */
}

#forceBarContainer {
    position: absolute;
    height: 160px;
    width: 8px;
    bottom: 280px;
    left: 49%;
    background: #cacaca;
    border-radius: 4px;
}

#forceBar {
    width: 8px;
    height: 0%;
    bottom: 0;
    background: #f22e2e;
    border-radius: 4px;
    position: absolute;
}

#btnTraining {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 8px 15px;
    font-size: 16px;
    z-index: 1001;
    color: red;
}

#btnChangeId {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 8px 15px;
    font-size: 16px;
    z-index: 1001;
    color: rgb(21, 0, 255);
}

