* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    /*font-family: Arial, Helvetica, sans-serif;*/
    /*user-select: none;
    -webkit-touch-callout: none;*/
}

.hidden {
    visibility: hidden;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 60px;
    background-color: #6495ed;
    color: white;
    text-align: center;
    overflow: hidden;
}

/* Apply back to background for dealer screen */
.center.document nav{
    background-color:black;
}

#navLeft {
    float: left;
    height: 100%;
}

#navCenter {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#navRight {
    float: right;
    height: 100%;
}

#leftButton, #rightButton, #undoButton, #logoutButton, #zoomInButton, #zoomOutButton, #submitButton, #declineButton, #testButton, #scribbleButton, #eraseButton, #nextDoc, #prevDoc {
    display: inline-block;
    height: 60px;
    cursor: pointer;
}

#leftButton, #undoButton, #logoutButton, #declineButton, #scribbleButton, #eraseButton, #prevDoc {
    padding-left: 8px;
    padding-right: 8px;
}

#rightButton, #zoomInButton, #zoomOutButton, #submitButton, #testButton, #nextDoc {
    padding-left: 8px;
    padding-right: 8px;
}

    /*#nextDoc {
    padding-right: 10px;
}*/


        /*#leftButton img, #rightButton img{
    height: 90%;
    transform: translate(0, 2%);
    -webkit-transform: translate(0, 2%);
    -moz-transform: translate(0, 2%);
}*/

        #leftButton img, #rightButton img, #undoButton img, #logoutButton img, #zoomInButton img, #zoomOutButton img, #submitButton img, #declineButton img, #testButton img, #scribbleButton img, #eraseButton img, #prevDoc img, #nextDoc img {
            height: 60%;
            transform: translate(0, 5%);
            -webkit-transform: translate(0, 5%);
            -moz-transform: translate(0, 5%);
        }

#navLeft p, #navRight p {
    font-size: 14px;
}

@media (max-width: 400px) {
    #navLeft p, #navRight p {
        font-size: 10px;
    }
}

@media (max-width: 300px) {
    #navLeft p, #navRight p {
        display:none;
    }
}

#navCenter #title {
    height: 60%;
    font-size: 25px;
    /*    width: calc(100% - 140px);
    transform:translate(60px, 0);*/
}

#navCenter #subtitle {
    height: 25%;
    font-size: 14px;
}


#leftButton, #undoButton, #rightButton, #declineButton {
    display: inline-block;
    height: 100%;
}

nav img {
    height: 90%;
}


#navMessage {
    position: absolute;
    top: 60px;
    z-index: 500;
}

    #navMessage div {
        margin:auto;
        text-align:center;
        width:50%;
    }

        #navMessage div p {
            color: black;
            background-color: yellow;
            opacity: 0.9;
            border-radius:15px;
        }