html body .content {min-height: -webkit-calc(100% - 43px); min-height: -moz-calc(100% - 43px); min-height: calc(100% - 43px);}

body {font-size: 0.9rem;}
select.form-control:not([size]):not([multiple]).input-sm, input.form-control.input-sm {font-size: 0.9rem;}

form .form-group{
	margin-bottom: 0px;
}

/*form .form-group label{
	line-height: 0px;
}*/
.navbar-wrapper h3{
	line-height: 2.3;
}

.navbar{
	min-height: 0px;
	margin-bottom: 0px;
}

.header-navbar .navbar-wrapper{
	height: 50px;
}
.header-navbar .navbar-container{
	height: 50px;
}
.content-wrapper{
	margin-top: -30px;
}

.main-menu{
	margin-top: -20px;
	height: 100%;
}
.navbar-container .nav-item i{
	/*line-height: -5px;*/
	/*height: 20px;*/
}

.main-menu.menu-fixed {
	height: -webkit-calc(100% - 3rem);
    height: -moz-calc(100% - 3rem);
    height: calc(100% - 3rem);
}

.dropdown i {margin-right: unset;}

.product-code-input-container {margin-bottom: 10px;}

.icheck-padding-left-zero {padding-left: 0 !important;}
.icheck-bold-label {font-weight: bold;}

.col-number {text-align: right;}

.btn-sm, .btn-group-sm > .btn {padding: 0.3rem 0.5rem;}

.nav .btn-sm, .nav .btn-group-sm > .btn {padding: 0.5rem 0.75rem;}

ul.suggestion {
    background-color: #FAFAFA;
    border: solid #BABFC7 1px;
    border-radius: 0.25rem;
    box-shadow: 0 0 8px rgba(0, 0, 0, .2);
    display: none;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
    padding: 5px;
    position: absolute;
    top: 70px;
    z-index: 100;
    width: 100%;
}

ul.suggestion > li {
    display: block;
    list-style: none;
    margin-bottom: 5px;
}

ul.suggestion > li:last-child {
    margin: 0;
}

ul.suggestion > li:hover {
    font-weight: bold;
}

ul.suggestion > li > a {
    background-color: #FFFFFF;
    border: solid #BABFC7 1px;
    border-radius: 0.25rem;
    cursor: pointer;
    display: block;
    padding: 5px 10px;
}

ul.suggestion > li.no-item {
    color: #AAAAAA;
}

.split-column {
    display: grid;
    grid-template: auto / repeat(2, 1fr);
    grid-column-gap: 1rem;
}

.split-column input:read-only {
    margin-bottom: .5rem;
}

.opname-column {
    display: grid;
    grid-template: auto / 1fr 275px;
    grid-column-gap: 1rem;
}

.opname-column.form {
    grid-template: auto / 1fr auto;
}

.filter-content {
    display: none;
}

.filter-content.active {
    display: block;
}

.opname-code-entry ul {
    align-items: center;
    display: grid;
    grid-template: auto / repeat(3, 24px) repeat(2, 40px)repeat(4, 24px);
    margin: 0 0 10px;
    padding: 0;
}

.opname-code-entry ul li {
    display: block;
    list-style: none;
    margin: -4px 0 0;
    padding: 0;
}

.opname-code-entry ul li label {
    color: #888888;
    display: block;
    font-size: 1.8em;
    height: 48px;
    margin: 0;
    padding-top: 4px;
    text-align: center;
}

.opname-code-entry ul li input[type="text"] {
    font-size: 1.6em;
    padding: 0;
    margin: 0 auto;
    text-align: center;
    width: 30px;
}

button.large-btn, a.large-btn {
    font-size: 1em;
    padding: 1rem .5rem !important;
}

.prompt-stock-history {
    background-color: rgba(0, 0, 0, .4);
    display: none;
    grid-template: 1fr auto 1fr / 1fr auto 1fr;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.prompt-stock-history.active {
    display: grid;
}

.prompt-stock-history > div {
    background-color: #FFFFFF;
    grid-area: 2/2/3/3;
    padding: 40px;
}

.prompt-stock-history .nav {
    display: block;
    margin-top: 10px;
    text-align: center;
}

.prompt-stock-history .nav a {
    font-size: 1em;
    margin-right: 5px;
}

a.grid-delete-btn {
    background-image: url('../img/cross_red.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    height: 16px;
    width: 16px;
}

.popup-grid {
    background-color: rgba(0, 0, 0, .4);
    display: grid;
    grid-template: 1fr auto 1fr / 1fr auto 1fr;
    height: 100%;
    left: 0;
    opacity: 0;
    position: fixed;
    top: 0;
    visibility: hidden;
    width: 100%;
    z-index: 9999;
}

.popup-grid.active {
    opacity: 1;
    visibility: visible;
}

.popup-grid > div {
    background-color: #FFFFFF;
    grid-area: 2/2/3/3;
    overflow-y: auto;
    max-height: 90vh;
    padding: 20px;
}

.access-item legend {
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.access-item label {
    float: left;
    width: 20%;
    padding-right: 1%;
    height: 25px;
    font-weight: bold;
    max-width: 100%;
}

.grid-popup-mask {
    background-color: rgba(0, 0, 0, .4);
    height: 100%;
    left: 0;
    opacity: 0;
    position: fixed;
    top: 0;
    transition: opacity .4s, visibility .4s;
    visibility: hidden;
    width: 100%;
    z-index: 9998;
}

.grid-popup-mask.active {
    opacity: 1;
    visibility: visible;
}

.grid-popup {
    background-color: #FFFFFF;
    left: 50%;
    max-height: 90vh;
    opacity: 0;
    overflow-y: auto;
    padding: 20px;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: opacity .4s, visibility .4s;
    visibility: hidden;
    width: 90vw;
    z-index: 9999;
}

.grid-popup.active {
    opacity: 1;
    visibility: visible;
}