﻿* { box-sizing: border-box; outline: none; }

body, html   { padding: 0; margin: 0; height: 100%; color: #444; }
body         { overflow: hidden; font-family: verdana; font-size: 18px;}
table        { border-collapse: collapse; }
th, td       { padding: 5px 20px; white-space: nowrap; }
h1           { margin: 0 0 20px 0; }

.red { color: #be483f; }
.green { color: #5e8c40; }
.yellow { color: #e8d01f; }
.clickable { cursor: pointer; }
.hidden { display: none; }
.left {float: left; }

#pleasewait {
    background: white;
    position: absolute;
    z-index: 100;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center;
    font-size: 18px;
}

#logo {
    display: block;
    margin: 15% auto 50px auto;
}

.container { position: relative; height: 100%; -webkit-user-select: none; }
#options { list-style: none; margin: 0; padding: 0; position: absolute; top: 0; right: 10px; z-index: 1; }
#options li { float: left; }
#refresh { padding: 10px; display: block; cursor: pointer; margin: 2px 10px 0 0; }
#user { background: #4f8f3b; color: white; cursor: pointer; border-radius: 0 0 5px 5px; padding: 10px;  white-space:nowrap }
#user span { font-weight: bold; }
#transaction { width: 100%; background: #dee6cd; position: absolute; top: 0; height: 420px; padding-top: 10px; }
#transfers-header { width: 100%; background: #ddd; position: absolute; top: 430px; height: 35px; padding-right: 17px; }
#transfers-header table { width: 100%;}
#transfers-header th.active { background: #4f8f3b; color: white; }
#transfers { width: 100%; background: #eee; position: absolute; bottom: 0; top: 465px; }
#transfers table { width: 100%; }
#transfers table tbody:nth-child(odd) tr { background: #e5e5e5; }
#add { width: 100%; background: #eee; border-top: 10px solid #4f8f3b; position: absolute; bottom: 0; top: 430px; padding: 20px; }
#add table tr { cursor: pointer; }
#add table td { padding: 20px; }
#add table .selected { background: #4f8f3b; color: white; }
#add > .content { position: relative; height: 100%; }

#add-quantity { position: absolute; top: 0; right: 0;}
#add-quantity a, #add-quantity > span {  display: block; float: left; margin-left: 20px; }
#add-options { position: absolute; right: 0; bottom: 0; }
#add-options a { display: block; float: left; }
#quantity { padding: 20px; background: white; border-radius: 5px; font-weight: bold; text-align: center;  }

.col-product  { text-align: left; }
.col-quantity { text-align: center; width: 50px; }
.col-from     { text-align: center; width: 190px; }
.col-to       { text-align: center; width: 190px; }
.col-date     { text-align: center; width: 190px; }
.col-time     { text-align: center; width: 190px; }
.col-status   { text-align: center; width: 110px; }

.scroll { overflow-y: scroll; height: 100%; -webkit-overflow-scrolling: touch; }

.tabs-container { background: #dee6cd; position: relative; height: 40px; }
.tabs { list-style: none; padding: 0; margin: 0; position: absolute; bottom: 0; }
.tabs:after { content: ""; display: table; clear: both; }
.tabs li { float: left; display: block; padding: 10px 20px; margin-left: 10px; cursor: pointer; border-radius: 5px 5px 0 0; }
.tabs li.active { background: white; font-weight: bold; }

.tabcontent { background: white; height: 380px; }
.tabcontent:after { content: ""; display: table; clear: both; }

.dialog > .overlay { background: black; position: absolute; top: 0;  right: 0; bottom: 0; left: 0; opacity: 0.5; z-index: 2; }
.dialog > .content { background: white; position: absolute; top: 140px; right: 40px; bottom: 140px; left: 40px; z-index: 3; border-radius: 5px; padding: 20px; }

.typelist { list-style: none; padding: 20px; margin: 0; }
.typelist li { float: left; height: 170px; width: 220px; padding: 20px; text-align: center; cursor: pointer; }
.typelist li.selected { border: 10px solid #4f8f3b; border-radius: 20px; background: #dee6cd }
.typelist img { width: 100%; display: block; }

.userlist { list-style: none; padding: 0;  }
.userlist li { float: left; width: 25%; }
.userlist a { display: block; color: #444; text-decoration: none; padding: 20px; }
.userlist a:hover { background: #eee; border-radius: 5px; }

.dialog .panel { padding: 20px; position: relative; height: 100%; }

.bottomleft { position: absolute; bottom: 20px; left: 20px; }
.bottomright { position: absolute; bottom: 20px; right: 20px; }

.btn { border: 0; border-radius: 5px; font-size: 18px; font-weight: bold; cursor: pointer; text-decoration: none; display: inline-block; padding: 20px; }

.confirm, .plus { background: #4f8f3b; color: white;  }
.destroy { background: #be483f; color: White; }
.cancel, .minus { background: #ccc; color: #777;  }
.cancel { margin-left: 20px; }