/*Shop*/

div#cms_container.shop, div#cms_container.checkout  {
    padding-left: 10px;
    padding-right: 10px;
}

table.product_listing td {
    padding: 5px 10px 5px 0;
}

.magnifier {
    bottom: 16px;
    left: 17px;
    position: absolute;
    z-index: 10;
    border: none;
}

#invoice_container {
    max-width: 600px;
    padding: 10px;
    margin: 10px auto;
}

.table_invoices input[type=button] {
    color: #FFF;
    cursor: pointer;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    border: none;
    margin-right: 0;
    padding: 1px 2px;
    background: #2195CB;
    border-radius: 2px;
}

#basket_preview {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0;
    display: none;
    width: 100%;
    background-color: #FFF;
    z-index: 100;
}

#basket_preview div.inner1 {
    text-align: left;
    border-radius: 5px;
    border: 2px solid #CCC;
    padding: 10px;
}


#basket_preview table {
    border-collapse: collapse;
}

#basket_preview table td {
    padding: 10px 2px 2px 2px;
}

table.totals_table {
    margin-top: 15px;
}

tr.bsk_std td {
    padding-top: 20px;
    vertical-align: top;
}

table.checkout tr.toprow td {
    padding: 15px 0;
    border-bottom: 1px solid #CCC;
}

table.checkout tr.toprow td h3 {
    margin: 0 0 5px 0;
}

table tr.bsk_ul td {
    border-bottom: 1px dotted #CCC;
    padding: 2px 2px 4px 2px;
}


/* Width dependent */

div.prod_thm {
    float: left;
    margin: 15px 0 0 15px;
    text-align: left;
    max-width: 108px;
}

#invoice_header {
    background: url(../s_im/logo_invoice.gif) center top no-repeat;
    background-size: 300px;
    border-bottom: 1px solid #CCCCCC;
    height: 110px;
    position: relative;
}

div#inv_admin_menu {
    position: relative;
    font-size: 12px;
}

.catlist img.thm_img {
    max-width: 205px;
}

div.catlist {
    padding: 10px;
}

div.stk_grp_cont div {
    width: 45%;
    display: inline-block;
    float: left;
    margin: 0 0 20px 30px;
    border: 1px solid #616252;
    background-color: rgba(255,255,255,0.5);
    padding: 8px;
    border-radius: 4px;
}

div.stk_grp_cont div:nth-of-type(2n+1) {
    clear: both;
    margin-left: 0;
}

/* width dependent layouts */
@media screen and (max-width: 359px) {
    div.prod_thm {
        margin: 10px 0 0 5px;
        max-width: 70px;
    }

    #invoice_header {
        height: 75px;
    }

    .catlist img.thm_img {
        max-width: 200px;
    }

    div.stk_grp_cont div {
        width: 94%;
        display: block;
        clear: both;
        margin: 0 0 20px 0;
    }
}

@media screen and (min-width: 360px) and (max-width: 479px) {
    div.prod_thm {
        margin: 10px 0 0 7px;
        max-width: 70px;
    }

    #invoice_header {
        height: 85px
    }

    .catlist img.thm_img {
        max-width: 147px;
    }

    div.stk_grp_cont div {
        width: 94%;
        display: block;
        clear: both;
        margin: 0 0 20px 0;
    }
}

@media screen and (min-width: 480px) and (max-width: 597px) {
    div.prod_thm {
        margin: 10px 0 0 7px;
        max-width: 70px;
    }

    #invoice_header {
        height: 90px
    }

    .catlist img.thm_img {
        max-width: 205px;
    }

    div.stk_grp_cont div {
            width: 42%;
        }
}

@media screen and (min-width: 598px) and (max-width: 749px) {
    div.prod_thm {
        margin: 10px 0 0 12px;
        max-width: 85px;
    }

    #invoice_header {
        height: 100px
    }

    .catlist img.thm_img {
        max-width: 161px;
    }
    div.stk_grp_cont div {
            width: 44%;
        }
}

@media screen and (min-width: 750px) {
}
