@CHARSET "UTF-8";

.shop_productgroup_categoryattributetable h1 {
    text-align: center;
    line-height: 1.2em;
    border-bottom: 2px solid #e6e6e6;
    padding-bottom: 0.8em;
}

.shop_productgroup_categoryattributetable h2 {
    color: #333;
    text-transform: none;
    font-size: 22px;
    line-height: 1.2em;
    margin-bottom: 0.2em;
}

.shop_productgroup_categoryattributetable h3 {
    font-size: 15px;
    color: #333;
    line-height: 1.2em;
}

.shop_productgroup_categoryattributetable .price div,
.shop_productgroup_categoryattributetable .model div {
    display: inline-block;
}

.shop_productgroup_categoryattributetable .model-label {
    text-transform: uppercase;
}

.shop_productgroup_categoryattributetable .details .price {
    color: #f1002a!important;
    margin-top: 10px;
    font-weight: bold;
    font-size: 1.2em;
}

.shop_productgroup_categoryattributetable .details .description {
    margin-top: 20px;
}

.shop_productgroup_categoryattributetable .modal-body {
    padding: 20px;
}

.shop_productgroup_categoryattributetable .attribute-table {
    margin-bottom: 10px;
}

/*
 * === CATEGORY PAGE === 
 */
.product-groups.attribute-table table:nth-child(odd) {
    background-color: #eee;
}

.product-groups.attribute-table {
    margin-bottom: 10px;
}

.shop_category_viewattributetable .submit {
    float: right;
}

/*
 * === ATTRIBUTE TABLE LAYOUT ===
 */
.attribute-table input[type=number]::-webkit-inner-spin-button, 
.attribute-table input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0; 
}

.attribute-table .quantity {
    max-width: 45px;
    position: relative;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

.attribute-table .out-of-stock {
    position: absolute;
    top: 0;
    font-size: 0.6em;
    line-height: 1;
    text-align: center;
    margin-top: 5px;
}

.attribute-table .stock-availability,
.attribute-table .due-date {
    font-size: 0.6em;
    line-height: 1.2em;
    margin-top: 3px;
}

.attribute-table .price-wrapper,
.attribute-table td.price {
    text-align: right;
}

.attribute-table .price-wrapper .price {
    display: inline-block;
}

.attribute-table {
    width: 100%;
}

.attribute-table .top-row .name {
    float: left;
}

.attribute-table .top-row .photo {
    float: right;
}

.attribute-table .photo a {
    background: url('../img/camera-icon.png') center center no-repeat;
    display: block;
    text-indent: -10000px;
    width: 50px;
    height: 30px;
}

.attribute-table .photo a.row-thumbnail {
    background: none;
    display: inline;
    max-width: 80px;
}

.attribute-table .photo a.row-thumbnail img {
    border: 1px solid #a6a8ab;
}

.attribute-table td,
.attribute-table th {
    padding-top: 10px!important;
    padding-bottom: 10px!important;
}

.attribute-table .attribute {
    text-align: center;
}

.attribute-table .description {
    text-align: left;
    text-transform: uppercase;
}

.attribute-table .name {
    font-weight: bold;
}

.attribute-table th {
    text-transform: uppercase;
}

/* Attribute table styling */
.attribute-table {
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
}

.attribute-table .bottom-row {
    border-bottom: 1px solid #e6e6e6;
}

.attribute-table .top-row {
    border-top: 1px solid #e6e6e6;
}

/*
 * === RESPONSIVE TABLE ===
 */
.attribute-table .name.description,
.attribute-table .header .photo,
.attribute-table .header .price,
.attribute-table .product .name,
.attribute-table .product .photo,
.attribute-table .product .login,
.attribute-table .product > .price {
    display: none;
}

table.responsive-vertical tr.header {
    display: none;
}

.attribute-table td,
.attribute-table th {
    padding-left: 5px;
    padding-right: 5px;
}

table.responsive-vertical .product td {
    display: block;
    float: left;
}

table.responsive-vertical .product td:before {
    content: attr(data-label);
    display: inline-block;
    font-weight: bold;
    margin: 10px auto;
}

.attribute-table table.responsive-vertical .product td {
    display: none;
}

.attribute-table table.responsive-vertical .product td.attribute {
    display: table-cell;
}

/* Overrides to fix styling on featured/new/specials etc. */
body.shop_product_featured #body .attribute-table table.products tr th,
body.shop_product_featured #body .attribute-table table.products tr td,
body.shop_product_special #body .attribute-table table.products tr th,
body.shop_product_special #body .attribute-table table.products tr td,
body.shop_product_new #body .attribute-table table.products tr th,
body.shop_product_new #body .attribute-table table.products tr td,
body.shop_tag_value #body .attribute-table table.products tr th,
body.shop_tag_value #body .attribute-table table.products tr td {
    vertical-align: middle;
    border: none;
}

body.shop_product_featured #body .attribute-table table.products,
body.shop_product_special #body .attribute-table table.products,
body.shop_product_new #body .attribute-table table.products,
body.shop_tag_value #body .attribute-table table.products {
    border-left: none;
    border-right: none;
    margin-bottom: 0;
}

body.tag_tag_value #body .attribute-table table.products {
    font-size: 1em;
}

@media only screen and (min-width : 768px) {
    .shop_productgroup_categoryattributetable h1 {
        text-align: center!important;
        width: 100%!important;
        margin-top: 0.5em!important;
    }
}

@media only screen and (min-width : 992px) {    
    .attribute-table .photos {
        width: 30%;
        float: left;
    }
    .attribute-table tr.product {
        border-top: 1px solid #e6e6e6;
    }
    .shop_productgroup_categoryattributetable .submit {
        float: right;
    }
    
    table.responsive-vertical .product td {
        display: table-cell;
        float: initial;
    }
    table.responsive-vertical .product td:before {
        content: none;
        float: none;
    }
    .shop_productgroup_categoryattributetable h1 {
        text-align: center!important;
        width: 100%!important;
        margin-top: 0.5em!important;
    }
    .attribute-table .title-row,
    .attribute-table .top-row,
    .attribute-table tr.header,
    .attribute-table .bottom-row {
        display: none;
    }
    .attribute-table .name.description {
        display: block;
    }
    .attribute-table tr.header.first {
        display: table-row;
    }
    .attribute-table table.responsive-vertical .product td,
    .attribute-table .header .photo,
    .attribute-table .header .price,
    .attribute-table .product .name,
    .attribute-table .product .photo,
    .attribute-table .product .login,
    .attribute-table .product > .price {
        display: table-cell;
    }
}