* {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial;
}

header {
    background-color: #4284f3;
    height: 9vh;
    position: relative;
}

header h3 {
    color: #fff;
    height: 7vh;
    margin: 0 auto;
    font-size: 5vh;
    font-weight: bold;
    padding: 1vh 3vw;
    text-align: center;
}

header h3 img {
    height: 5vh;
    vertical-align: middle;
    margin-right: 1vw;
}

header .version {
    position: absolute;
    right: 1vw;
    bottom: 0.5vh;
    font-size: 1.5vh;
    color: #fff;
}

footer {
    background-color: #4284f3;
    /*border-bottom: 1px solid #666;*/
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 1vh 0;
    position: fixed;
    bottom: 0;
    width: 100vw;
    height: 3vh;
    font-size: 2vh;
    line-height: 3vh;
}

#settings {
    width: 100vw;
    vertical-align: middle;
    line-height: 5vh;
}

#settings > .counter {
    font-size: 3vh;
    font-weight: bold;
    color: #fff;
    margin: 2vh 1vw;
    height: 10vh;
}

#settings > .counter > .title {
    background-color: #4284f3;
    text-align: center;
    height: 5vh;
    border-top-left-radius: 1vw;
    border-top-right-radius: 1vw;
}

#settings > .counter > .buttons {
    height: 5vh;
    position: relative;
}

#settings > .counter > .buttons > * {
    height: 5vh;
    display: inline-block;
}

#settings > .counter > .buttons > *:focus {
    outline: none;
}

#settings > .counter > .buttons > .lessBtn {
    background-color: #4284f3;
    width: 10vh;
    text-align: center;
    border-bottom-left-radius: 1vw;
}

#settings > .counter > .buttons > .value {
    font-weight: normal;
    width: 92vw;
    text-align: center;
    color: #4284f3;
    border-bottom: 1px solid #4284f3;
    position: absolute;
    left: 3vw;
    top: -1px;
    z-index: -1;
}

#settings > .counter > .buttons > .moreBtn {
    background-color: #4284f3;
    width: 10vh;
    position: absolute;
    right: 0;
    top: 0;
    text-align: center;
    border-bottom-right-radius: 1vw;

}

#settings > .button, #counter > .button {
    font-size: 3vh;
    font-weight: bold;
    color: #fff;
    margin: 2vh 1vw;

    background-color: #4284f3;
    text-align: center;
    height: 5vh;
    border-radius: 1vw;
}

#settings > .button:hover, #counter > .button:hover {
    cursor: pointer;
}

#settings > .button:focus, #counter > .button:focus {
    border: 2px solid #4a9e43;
}

#counter {
    width: 100vw;
    vertical-align: middle;
    line-height: 5vh;
    display: none;
}

#counter > .display {
    font-size: 3vh;
    font-weight: bold;
    color: #fff;
    margin: 2vh 1vw;
    height: 10vh;
}

#counter > .display > .title {
    background-color: #99bfff;
    text-align: center;
    height: 5vh;
    border-top-left-radius: 1vw;
    border-top-right-radius: 1vw;
}

#counter > .display > .value {
    background-color: #fff;
    border: 1px solid #99bfff;
    color: #99bfff;
    text-align: center;
    height: 5vh;
    border-bottom-left-radius: 1vw;
    border-bottom-right-radius: 1vw;
}

#counter > .display > .value > .negative {
    color: #ff4e4e;
}

#counter > .display > .value .seconds {
    font-size: 0.8em;
}

#counter > #personTimeToEnd {
    height: 13vh;
}

#counter > #personTimeToEnd > .title {
    background-color: #4a9e43;
}

#counter > #personTimeToEnd > .value {
    background-color: #fff;
    border: 1px solid #4a9e43;
    color: #4a9e43;
    font-size: 6vh;
    height: 8vh;
    line-height: 8vh;
}

#reset {
    position: fixed;
    bottom: 6vh;
    width: 98vw;
}