/********* Cart stuff **********/
#ngg_add_to_cart_container {
    padding: 5px;
    padding-left: 20px;
    margin-bottom: 15px;
}

#ngg_add_to_cart_container th,
#ngg_add_to_cart_container tr,
#ngg_add_to_cart_container td,
#ngg_add_to_cart_container thead,
#ngg_add_to_cart_container tfoot,
#ngg_add_to_cart_container table {
    border: none;
    color: white;
    background-color: inherit;
    line-height: 1em;
    padding: 0;
    margin: 0;
    border-collapse: separate;
    border-spacing: 4px;
}

#ngg_add_to_cart_container input,
#ngg_add_to_cart_container textarea {
    background-image: none;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    text-transform: none;
}

#ngg_add_to_cart_container,
#ngg_add_to_cart_container table {
    font-size: 12px;
    font-family: Lato, sans-serif;
    color: white;
}

#ngg_add_to_cart_container h2 {
    text-transform: uppercase;
    margin: 15px 0 2px 0;
    font-weight: normal;
    font-size: 1.5em;
    padding: 0;
}
#ngg_add_to_cart_container h3 {
    padding: 0;
    margin: 18px 0 0 0;
    outline: none;
}

#ngg_add_to_cart_container h1,
#ngg_add_to_cart_container h2,
#ngg_add_to_cart_container h3,
#ngg_add_to_cart_container h4,
#ngg_add_to_cart_container h5,
#ngg_add_to_cart_container h6 {
    color: white;
    font-family: 'Lato', sans-serif;
    margin-bottom: 20px;
}

#ngg_add_to_cart_container h2:first-of-type {
    margin-bottom: 5px;
}

#ngg_qty_add_desc {
    text-align: center;
    display: inline-block;
    width: 100%;
    padding: 10px 0 0 0;
    margin: 0;
}

.nggpl-pricelist_source_accordion h3 {
    font-weight: normal;
    font-size: 18px;
}

#nggpl-items_for_sale h3:hover {
    cursor: pointer;
}

#ngg_add_to_cart_container .nggpl-cart_summary {
    margin-right: 2%;
}

#ngg_add_to_cart_container .nggpl-cart_total {
    text-align: right;
    float: right;
}

#ngg_add_to_cart_container hr {
    width: 65%;
    border: 0px;
    margin-top: 14px;
    margin-bottom: 14px;
    border-top: solid 1px #3D3D3D;
    margin: 14px auto;
}

#ngg_add_to_cart_container a {
    font-size: 12px;
    text-decoration: none;
    color: white;
    background-color: inherit;
}

#ngg_add_to_cart_container a:hover {
    text-decoration: underline;
}

#ngg_add_to_cart_container table th {
    color: #777777;
    font-weight: normal;
    padding: 0;
    margin: 0;
}

#ngg_add_to_cart_container .nggpl-quantity_field {
    width: 9%;
    padding-right: 1%;
}

#ngg_add_to_cart_container .nggpl-quantity_field input {
    -moz-appearance: textfield;
}

#ngg_add_to_cart_container .nggpl-quantity_field input:hover {
    -moz-appearance: number-input;
}

#ngg_add_to_cart_container .nggpl-quantity_field input {
    min-width: 35px;
    max-width: 40px;
    margin: 0;
    padding: 0 2px 0 2px;
}

#ngg_add_to_cart_container .nggpl-description_field {
    width: 42%;
    padding-left: 4%;
    padding-right: 2%;
    text-align: left;
}

#ngg_add_to_cart_container .nggpl-price_field,
#ngg_add_to_cart_container .nggpl-total_field
{
    width: 10%;
    max-width: 19%;
    padding-right: 1%;
    padding-left: 1%;
    text-align: right;
    word-break: break-all;
}

#ngg_add_to_cart_container table input{
    background-color: black;
    color: white;
    width: 100%;
    border: solid 1px #636363;
}

#ngg_add_to_cart_container .ui-accordion-header-icon {
    margin-right: 5px;
}

#ngg_checkout_btn,
#ngg_update_cart_btn {
    float: right;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    padding: 0.75em 1.5em;
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
    border: none;
    -webkit-font-smoothing: antialiased;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    vertical-align: middle;
    display: inline-block;
    text-decoration: none;
    margin: .5em .5em .5em 0;
    line-height: 1.75;
    letter-spacing: .04em;
    -webkit-appearance: none;
    text-shadow: none;
    background-color: rgba(255, 255, 255, 0.2);
}

#nggpl-not_for_sale {
    text-align: center;
    display: none;
}

#nggpl-items_for_sale {
    display: none;
}

.nggpl-source_contents input {
    padding: 1px;
}

.nggpl-cart_summary {
}

.nggpl-source_contents:last-child {
    margin-bottom: 20px;
}

/******* Lightbox 'white' variation ******/

.nggpl-variant-white #ngg_add_to_cart_container h1,
.nggpl-variant-white #ngg_add_to_cart_container h2,
.nggpl-variant-white #ngg_add_to_cart_container h3,
.nggpl-variant-white #ngg_add_to_cart_container h4,
.nggpl-variant-white #ngg_add_to_cart_container h5,
.nggpl-variant-white #ngg_add_to_cart_container h6 {
    color: #7A7A7A;
}

.nggpl-variant-white #ngg_add_to_cart_container *,
.nggpl-variant-white #ngg_add_to_cart_container a {
    color: #777777;
}

.nggpl-variant-white #ngg_add_to_cart_container table input {
    background-color: #777777;
    color: #ffffff;
}

.nggpl-variant-white #ngg_checkout_btn,
.nggpl-variant-white #ngg_update_cart_btn {
    color: #FFFFFF;
    background-color: #777777;
}

/********** Media queries **********/

@media only screen and (max-width: 640px) {
    #ngg_add_to_cart_container .nggpl-quantity_field input {
        width: 30px;
    }
}
