/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
    overflow-y: scroll;
}

/* signin form */

.form-signin {
    max-width: 300px;
    padding: 19px 29px 29px;
    margin: 0 auto 20px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

.form-signin .form-signin-heading,
.form-signin .checkbox {
    margin-bottom: 10px;
}

.form-signin input[type="text"],
.form-signin input[type="password"] {
    font-size: 16px;
    height: auto;
    margin-bottom: 15px;
    padding: 7px 9px;
}

.navbar-form input[type="checkbox"].remember-me {
    float: none;
    margin-top: -2px;
}

/* end signin form */

/* handsontable */

.handsontable .currentRow {
    background-color: #E7E8EF;
}

.handsontable .currentCol {
    background-color: #F9F9FB;
}

/* end handsontable */

ul.list-inline {
    list-style-type: none;
    margin: 0;
}

ul.list-inline li {
    display: inline-block;
    margin: 0.3em;
    vertical-align: middle;
}

ul.product-grid {
    text-align: center;
}

ul.product-grid li.grid-item {
    text-align: center;
    width: 120px;
    height: 108px;
    cursor: pointer;
    position: relative;
    margin-bottom: 50px;
}

ul.product-grid li.grid-item ul.boxes {
    transition: height 0.3s;
    -moz-transition: height 0.3s;
    -webkit-transition: height 0.3s;
    -o-transition: height 0.3s;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    min-height: 0;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: left;
}

ul.product-grid li.grid-item ul.boxes > li {
    padding-left: 0;
    padding-right: 0;
}

ul.product-grid li.grid-item:hover ul.boxes {
    height: 100%;
}

ul.product-grid li.grid-item span.sku {
    display: block;
    font-size: 14px;
    line-height: 18px;
    margin: 0;
}

.image-medium {
    width: 300px;
    height: 300px;
    line-height: 300px;
    text-align: center;
}

.popover {
    width: 335px;
}

a.grid-item {
    text-decoration: inherit;
    color: inherit;
}

a.grid-item img {
    min-height: 90px;
}

ul.product-grid li.lazy-separator {
    display: block;
    cursor: pointer;
    text-align: center;
}

.image-holder {
    /*display: inline-block;*/
    text-align: center;
    font-size: 0;
}

.image-holder-thumbnail {
    width: 120px;
    height: 90px;
    line-height: 90px;
}

.image-holder-medium {
    width: 300px;
    height: 300px;
    line-height: 300px;
}

.image-holder img {
    border-radius: 3px;
}

.product-details {
    overflow: hidden;
}

.product-details h2 {
    text-align: center;
}

.product-details .product-props {
    float: left;
}

.product-grid-search fieldset {
    text-align: center;
}

.product-grid-search input, .product-grid-search button {
    margin: 0.3em;
}

.bold {
    font-weight: bold;
}

.out_of_stock{
    background-color: #ffa5a5 !important;
}

.ends_in_stock{
    background-color: orange;
}

.form-product-amount-update {
    margin-bottom: 0;
}
.form-inline.form-product-amount-add .combobox-container {
    vertical-align: middle;
}

.product-grid div.grid-item{
    width: 160px;
    display: inline-block;
    margin: 0.3em;
}

.product-grid.grid-with-input li.grid-item{
    margin-bottom: 5px;
}


.table-striped tbody>tr.blacklisted>td{
    background: #9f02029e;
}

.same_orders.active{
    background: #3e8d2a;
    display: inline-block;
    color: #fff;
    padding: 2px 4px;
    border-radius: 4px
}
.same_orders.active a{
    color: #fff;
}