/* Mask for background, by default is not display */
#mask {
    display: none;
    background: #000;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    z-index: 999;
}

#maskProcessing {
    display: none;
    background: #000;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10000000;
    width: 100%;
    height: 100%;
    opacity: 0.45;
}

#processingTest {
    font-weight: bold;
    font-size: 1.2em;
}

.login-popup {
    box-sizing: border-box;
    z-index: 1000;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    max-height: 15rem;
    width: 25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-size: 1.9em;
    background: #333;
    padding: 16px;
    border: 2px solid #ddd;
    box-shadow: 0px 0px 20px #999; /* CSS3 */
    -moz-box-shadow: 0px 0px 20px #999; /* Firefox */
    -webkit-box-shadow: 0px 0px 20px #999; /* Safari, Chrome */
    border-radius: 3px 3px 3px 3px;
    -moz-border-radius: 3px; /* Firefox */
    -webkit-border-radius: 3px; /* Safari, Chrome */
}

.signin {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

img.btn_close {
    /*Position the close button*/
    float: right;
    margin: -28px -28px 0 0;
}

fieldset {
    border: none;
    width: 85%;
}

form.signin .textbox {
    padding-bottom: 0;
}

form.signin .textbox label {
    display: block;
    padding-bottom: 7px;
}

form.signin .textbox span {
    display: block;
}

form.signin p, form.signin span {
    color: #999;
    font-size: 11px;
    line-height: 18px;
}

form.signin .textbox input {
    background: #666666;
    border-bottom: 1px solid #333;
    border-left: 1px solid #000;
    border-right: 1px solid #333;
    border-top: 1px solid #000;
    color: #fff;
    border-radius: 3px 3px 3px 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    font: 13px Arial, Helvetica, sans-serif;
    padding: 6px 6px 4px;
    width: 100%;
    box-sizing: border-box;
}

form.signin .textbox button {
    width: 100%;
}

form.signin input:-moz-placeholder {
    color: #bbb;
    text-shadow: 0 0 2px #000;
}

form.signin input::-webkit-input-placeholder {
    color: #bbb;
    text-shadow: 0 0 2px #000;
}

.button {
    background: -moz-linear-gradient(center top, #f3f3f3, #dddddd);
    background: -webkit-gradient(linear, left top, left bottom, from(#f3f3f3), to(#dddddd));
    background: -o-linear-gradient(top, #f3f3f3, #dddddd);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f3f3f3', EndColorStr='#dddddd');
    border-color: #000;
    border-width: 1px;
    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    color: #333;
    cursor: pointer;
    display: inline-block;
    padding: 6px 6px 4px;
    margin-top: 10px;
    font: 12px;
    width: 214px;
}

.button:hover {
    background: #ddd;
}

#upload-wrapper {
    margin-right: auto;
    margin-left: auto;
    background: #b85700;
    padding: 10px;
    border-radius: 10px;
}

#upload-wrapper h3 {
    padding: 0px 0px 10px 0px;
    margin: 0px 0px 20px 0px;
    margin-top: -30px;
    border-bottom: 1px dotted #DDD;
}

#upload-wrapper input[type=file] {
    padding: 6px;
    background: #FFF;
    border-radius: 5px;
}

#upload-wrapper #submit-btn {
    border: none;
    padding: 10px;
    background: #FCFAE6;
    border-radius: 5px;
    color: #000;
}

#output {
    padding: 5px;
    font-size: 12px;
}

/* prograss bar */
#progressbox {
    border: 1px solid #CAF2FF;
    padding: 1px;
    position: relative;
    width: 400px;
    border-radius: 3px;
    margin: 10px;
    display: none;
    text-align: left;
}

#progressbar {
    height: 20px;
    border-radius: 3px;
    background-color: #CAF2FF;
    width: 1%;
}

#statustxt {
    top: 3px;
    left: 50%;
    position: absolute;
    display: inline-block;
    color: #FFFFFF;
}

.centered {
    width: 100px;
    height: 100px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -50px 0 0 -50px;
}

.invoiced {
    background: #66A3E0;
    color: #FFF;
}

.approved {
    background: #3e8b18;
    color: #FFF;
}

.rejected {
    background: #FFC266;
    color: #000;
}

.generatecsv, .darwin-button {
    background-color: rgb(7, 55, 99);
    color: white;
    border: none;
    cursor: pointer;
    padding: 2px 12px 3px 12px;
    text-decoration: none;
}

#adminReportsTab {
    align-items: center;
    text-align: center;
    justify-content: center;
    display: flex;
    position: relative;
}

#gbox_reportsGrid.ui-jqgrid {
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

#userListGroupButtonDiv {
    width: 60%;
    float: left;
}

#userGroupList {
    width: 90%;
}

#loading-img {
    position: absolute;
    /* position in top left of #tobecovered */
    top: 0; /* top of #tobecovered */
    left: 50%; /* left of #tobecovered */
    z-index: 1000;
}