* {
    padding: 0;
    margin: 0;
    font-family: Arial, serif;
    font-size: 17px;
}
a {
    text-decoration: none;
    color: inherit;
    outline: none;
    background: none;
}
button{
    border: none;
    outline: none;
    box-shadow: none;
    background: #1A45A1;
    padding: 6px 10px;
    border-radius: 4px;
    margin: 15px 0;
    color: #f1f1f1;
}
button:active {
    cursor: pointer;
    background: whitesmoke;
    color: #1A45A1;
}
input {
    outline: none;
    border-radius: 4px;
    border: 1px solid #222;
    padding: 6px 2px;
}
select {
    outline: none;
}

.mininav span {
    cursor: pointer;
    font-size: 25px;
    color: whitesmoke;
    margin-right: 10px;
}
.overlay {
    font-family: Arial, serif;
    letter-spacing: 1px;
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    background-color: rgba(26, 69, 161, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
}
.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
}
.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 20px;
    color: #eee;
    display: inline-block;
    transition: 0.3s;
}
.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}
.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}
.header {
    position: fixed;
    top: 0;
    width: 100%;
}
.head-container {
    background: #1A45A1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: whitesmoke;
}
.head-container .title {
    font-size: 18px;
}
.head-container .logo img {
    width: 80px;
    height: auto;
}

.flex-center{
    display: flex;
    justify-content: center;
    align-items: center;
}
.menu {
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.menu a {
    text-align: center;
    display: block;
    padding: 6px 10px;
    background: #1A45A1;
    color: #f1f1f1;
    border: #aaa;
    border-radius: 4px;
    margin: 20px 0;
}
.clock {
    text-align: center;
    font-size: 25px;
    font-weight: bold;
    margin: 15px;
    background: #222;
    color: #eee;
    padding: 10px 0;
}
.clock span {
    font-size: 30px;
}
.addAlarm {
    margin: 10px 0;
    border-bottom: 1px solid #444;
}
.label {
    margin: 10px;
}
.input {
    text-align: center;
}
.input input, .input select, .input button {
    width: 90%;
}
.timefield input {
    border: none;
    border-bottom: 2px solid #222;
    border-radius: 0;
    background: none;
    width: 80px;
    text-align: center;
    padding: 2px;
    color: #222;
}
table {
    text-align: center;
    border-collapse: collapse;
    margin: 20px auto;
    width: 90%;
}
td, th{
    border: 1px solid #222;
    padding: 2px;
}
td a {
    display: block;
    border-radius: 4px;
    text-align: center;
    margin: 5px 2px;
    padding: 3px;
}
td a:first-child { color: #38db38; }
td a:last-child { color: #e62222; }
#vidbox, .vid {
    display: none;
}
#vidbox {
    position: absolute;
    z-index: 1;
    height: 90%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    overflow: auto;
    box-shadow: 1px -1px 50px 10px #222;
}
#vidbox video {
    margin: 0;
    height: 95%;
}
#vidbox button {
    border: none;
    outline: none;
    box-shadow: none;
    background: #ccc;
    padding: 6px 10px;
    border-radius: 4px;
    width: 100%;
    margin: 0;
    height: 5%;
}

/*GPS*/

.location-container {
    padding: 0 15px;
}
#positions{
    display: none;
}
.boardManage {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#pickPoint, #stopTraining {
    display: none;
}