/**
 * Admin styles for Soon_Merchandizer.
 *
 * @license http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
 * @author Hervé Guétin <herve.guetin@gmail.com> <@herveguetin>
 * @category Soon
 * @package Soon_Merchandizer
 * @copyright Copyright (c) 2014 Agence Soon (http://www.agence-soon.fr)
 */

.gridster {
    clear: both;
    margin: 0;
}

.gridster ul {
    margin: 0 0 0 -10px;
    background: none;
    list-style: none;
}

.gridster .gs-w {
    background: #ffffff;
    border: 1px solid #cccccc;
}

.gridster .product-name {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2px 0;
    border: none;
    font-size: 9px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
}

.gridster .product-name p {
    text-align: left;
    padding-left: 5px;
    padding-right: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gridster .promote-product {
    position: absolute;
    top: 3px;
    right: 15px;
    padding: 0 2px;
    font-size: 8px;
}

.gridster .promote-product:hover, .gridster .promote-product.active {
    color: white;
    background-color: green;
}

.gridster .remove-product {
    position: absolute;
    top: 3px;
    right: 6px;
    color: red;
}

.gridster .remove-product:hover {
    font-size: 12px;
}

.gridster .product-image {
    width: inherit;
    height: inherit;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.gridster .field-tooltip, .gridster .inventory-qty {
    position: absolute;
    bottom: 0;
}

.gridster .field-tooltip {
    width: 100%;
    left: 0;
    font-size: 9px;
}

.gridster .field-tooltip .icon {
    font-family: 'Admin Icons';
}

.gridster .field-tooltip .icon.is-visible:after {
    content: '\e60f';
}

.gridster .field-tooltip .icon.is-in-stock:after {
    content: '\e62d';
    font-size: 1.1rem;
}

.gridster .field-tooltip .icon.is-visible.on:after,
.gridster .field-tooltip .icon.is-in-stock.on:after {
    color: #185b00;
}

.gridster .field-tooltip .icon.is-visible.off:after,
.gridster .field-tooltip .icon.is-in-stock.off:after {
    color: #e22626;
}

.gridster .field-tooltip .icon.is-in-stock.off:after {
    content: '\e638';
}

.gridster .field-tooltip > div {
    left: 0;
    width: 100%;
    padding: 3px 0 0 0;
    background-color: rgba(255, 250, 250, 0.8);
    opacity: 0.95;
}

.gridster .field-tooltip .grid-severity-notice {
    display: inline;
}

.gridster .field-tooltip table {
    width: 100%;
}

.gridster .field-tooltip table tr td {
    text-align: left;
    font-weight: normal;
    padding-left: 5px;
}

.gridster .field-tooltip table tr td:first-child {
    text-align: center;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-width: 0 1px 0 0;
}

.gridster .inventory-qty {
    right: 0;
    font-size: 10px;
}

.gridster .inventory-qty.out-of-stock {
    color: red;
    font-weight: bold;
}

.gridster .field-tooltip > div:before, .gridster .field-tooltip > div:after {
    display: none;
}

.gridster .field-tooltip table {
    table-layout: fixed;
}

.gridster .field-tooltip table, .gridster .field-tooltip table tbody, .gridster .field-tooltip td, .gridster .field-tooltip th {
    background: none;
    border: none;
}

.gridster .field-tooltip td {
    word-wrap: break-word;
}

.gridster .field-tooltip td:first-child {
    width: 20%;
}

.gridster .preview-holder {
    border: none !important;
    background: #cccccc !important;
}
