@import url('https://cdn.tonecdn.com/fonts/Roboto/stylesheet.css');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto";
    touch-action: manipulation;
    font-weight: 300;
}

html{
    font-family: "Roboto";
    font-size:16px;

    min-width:350px;
    width: 100%;
    height: 100%;
    text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body{
    background: black;
    position: relative;
    display: flex;
    min-height: 100%;
    max-width: 100% !important;
    color: white;
    justify-content: center;
    align-items: stretch;
    padding: 0;
}

.main{
    max-width: 600px;
    background: black;
    display: flex;
    flex-direction: column;
    padding-bottom: env(safe-area-inset-bottom);
}

.heading{
    flex: none;
    display: flex;
    align-items: center;
    padding: 10px;
}

.logo{
    flex: 0 1 200px;
    margin: 10px;
}

.title{
    flex: 1 0 150px;
    margin: 10px;
    font-weight: 300;
    font-size: 24px;
    text-align: right;
}

.username{
    font-size: 18px;
    font-weight: 400;
}

.thetime{
    font-weight: 300;
    font-size: 24px;
    padding: 0 20px 20px 20px;
    text-align: center;
}

.content{
    flex: 1 0 auto;
}

.loginbanner{
    text-align: center;
    font-size: 16px;
    padding-bottom: 20px;
}


.actiongrp{
    border: 1px solid #444;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    margin-bottom: 20px;
}

.actiongrp:last-child{
    margin-bottom: 0;
}

.actiongrp > * {
    margin-bottom: 10px;
}

.actiongrp > *:last-child {
    margin-bottom: 0;
}


.actiongrp.stats{
    align-items: center;
}

.stats table{
    border-collapse:collapse;
}

.stats td{
    padding-bottom:8px;
    vertical-align: top;
}

.stats tr:last-child td{
    padding-bottom: 0px;
}

.stats td:first-child{
    text-align: right;
    font-weight: bold;
    padding-right: 8px;
    white-space: nowrap;
}


.stats td:last-child{
width: 100%;
}

.selectgroup{
    display: flex;

}

.selectgroup label{
    display: block;
    margin-right: 10px;
    
}

.selectgroup label:last-child{
    margin-right: 0;
}


.selectgroup select{
    display: block;
    font-size: 16px;
    padding: 0.3rem 0.4rem;
    margin-top: 5px;
    border: 1px solid #444;
    outline: none;
}


.bigbtn{
    font-size: 24px;
    font-weight: 300;
    color: white;
    padding: 1rem 1.2rem;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    border-radius: 15px;
}

.green {
    background:green !important;
}

.red {
    background:red !important;
}

.yellow {
    background:yellow !important;
    color: black !important;
}



.timebtngrp{
    display: flex;
    margin: -5px !important;
    align-self: stretch;
}

.timebtn{
    flex: 1 1 25%;
    margin: 5px;
    font-weight: 300;
    background: #444;
    padding: 0.6rem 0.8rem;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    text-align: center;
}

.timebtn.highlight{
    background: yellow !important;
    color: black;
}

.stamptime{
    font-weight: 300;
}


.overlay{
    display: flex;
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1;
    background: black;
    color: white;
    padding: 20px;
    flex-direction: column;
}

.overlayheading{
    font-size: 32px;
    margin-bottom: 20px;
}

.overlaycontent{
    flex: 1 0 auto;
    font-weight: 300;
}

.overlaybtngrp{
    display: flex;
    flex: 0 0 auto;
    margin-top: 20px;
    justify-content: space-between;
    align-items: flex-end;
}

.overlaybtn{
    padding: 0.6rem 0.8rem;
    font-weight: 300;
    font-size:24px;
    cursor: pointer;
    user-select: none;
    text-align: center;
    background: #444;
    user-select: none;
    -webkit-user-select: none;
}

.overlaybtn.back{
    font-size:16px !important;
}

.overlay label{
    display:block;
    font-size: 20px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.overlay input{
    display:block;
    font-size:20px;
    padding: 0.6rem 0.8rem;
    width: 100%;
}