﻿body {
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #333;
    color: white;
}
* {
    box-sizing: border-box;
}

body > .midling {
    flex: 1 1 auto;
    margin: 5px;
    overflow: auto;
}

.addbtn {
    text-align: center;
    font-weight: bold;
    background: #888;
    color: white;
}

    .addbtn:hover {
        background: #333;
    }
.option {
    margin: 15px 0;
    padding: 5px;
    background-color: #333;
    color: white;
    text-decoration:none;
    display: block;
    text-align: center;
}
.fileitem, .backtolist {
    background-color: #DDD;
    display: block;
    margin: 5px;
    padding: 5px;
    text-decoration: none;
    color: black;
    border: solid 1px #999;
    border-radius: 3px;
}
    .fileitem img {
        width: 48px;
        float: left;
        margin: 0 10px 0 0;
    }
    .fileitem:hover  {
        background-color: #BBB;
    }
.PopupDialog {
    position: absolute;
    background-color: #999;
    color: white;
    padding: 5px;
    font-size: 12px;
    width: 300px;
    bottom: 20px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}
    .PopupDialog input[type=text], .PopupDialog textarea {
        padding: 5px;
        margin-bottom: 5px;
        color: black;
        background-color: #ddd;
        border: solid 1px #333;
    }

.changestatusbtn {
    margin-bottom: 3px;
    text-decoration: none;
    display: block;
    background-color: #DDD;
    color: black;
    padding: 3px;
    border-top: 1px solid #CCC;
    border-left: 1px solid #CCC;
    box-shadow: rgba(0,0,0,0.2) 5px 5px 5px;
    font-size: 12px;
}
    .changestatusbtn:hover {
        background-color: #AAA;
    }
.timesheettable {
    width: 100%;
    border-collapse: collapse;
}
    .timesheettable td:first-child {
        width: 66%;
    }
.timesheettable tr{ background: #555; border-bottom: solid 1px #000;
}
    .timesheettable input[type=number] {
        width: 100%;
        padding: 4px 0;
        text-align: center;
    }
.r {
    text-align: right;
}
.CameraDiv {
    background-color: #555;
    padding: 10px;
    margin-top: 10px;
}

@media screen and (min-width: 450px) {
    .PopupDialog {
        font-size: 14pt;
    }

}
