/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

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

body {
    font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background: #fff;
}
.wrapper {
    width: 100%;
}
header {
    width: 960px;
    margin: 0 auto;
    height: 130px;
    padding-top: 20px;
}
.content {
    width: 100%;
    background: #F4F4F4;
    border-top: solid 1px #E0E0E0;
    padding-top: 30px;
}
.main, footer {
    width: 960px;
    margin: 0 auto;
}
/**** 
HEADER
****/
header h1 {
    float: left;
    width: 220px;
    height: 120px;
    background: url(../img/sprite.png) no-repeat;
    text-indent: -999em;
    overflow: hidden;
    margin: 0;
    margin-left: 10px;
}
header h1 a {
    width: 220px;
    height: 120px;
    display: block;
}
.header_right {
    float: right;
    width: 680px;
    margin-right: 10px;
}
header .searchfloat {
    width: 300px;
    float: right;
    height: 40px;
    margin-bottom: 20px;
    background: url(../img/sprite.png) 0 -153px no-repeat #FAFAFA;
    border: solid 1px #E8E8E8;
    border-radius: 4px;
}
header .search{
    padding-left: 40px;
}
header .search:before,
header .search:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

header .search:after {
    clear: both;
}
header .search .inputbox {
    background: none;
    color: #999;
    border: 0;
    /*height: 40px;*/
    padding-top: 10px;
    width: 200px;
    float: left;
}
header .search .button {
    height: 40px;
    width: 40px;
    background-color: #999;
    color: #fff;
    border-radius: 0 4px 4px 0;
    border: 0;
    float: right;
}
nav {
    width: 600px;
}

/*
HOME
*/
.homepage_categories {
    width: 960px;
    height: 500px;
    /*background: url(../img/bg_homecat.jpg) no-repeat;*/
}
.homepage_categories ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: table;
    border-collapse: collapse;
}
.homepage_categories ul li {
    width: 160px;
    height: 485px;
    padding-top: 15px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    vertical-align: top;
    display: table-cell;
}
.homepage_categories ul li a {
    width: 100%;
    height: 100%;
    padding-top: 15px;
    margin-top: -15px;
    text-decoration: none;
    color: #fff;
    display: block;
}
.homepage_categories ul li a:hover {
    background: url(../img/sprite.png) -60px -260px no-repeat;
}
.noticias {
    padding-top: 35px;
    padding-left: 10px;
}
.noticias ul.category-module {margin: 0; padding: 0; list-style-type: none;}
.noticias ul.category-module li {width: 27%; margin-right:3%; padding-right: 3%; float: left; border-right: solid 1px #E0E0E0;}
.noticias ul.category-module li:last-child {margin-right: 0; border-right: 0;padding-right: 0;}
.noticias h2 {font-size: 24px;margin: 0; margin-bottom: 10px;}
.noticias h2 a {text-decoration: none; color: #211917; }
.noticias p.mod-articles-category-readmore {
width: 80px;
padding: 4px 10px;
background: #999;
border: solid 1px #999;
-moz-border-radius: 4px;
border-radius: 4px;
font-size: 14px;
}
.noticias p.mod-articles-category-readmore a.mod-articles-category-title {
color: #fff;
text-decoration: none;
display: block;
padding: 4px 10px;
margin: -4px -10px;
}

/*
MAIN
*/
.main {
    padding-bottom: 40px;
}
.content_left {
    float: left;
    width: 600px;
}
aside {
    float: right;
    width: 300px;
}
.item-page h2, .browse-view h2 {
    font-size: 24px;
    color: #211917;
    margin: 0;
}
.item-page h2 a {
    color: #211917;
    text-decoration: none;
}
.item-page h3, .browse-view h3 {
    font-size: 24px;
    color: #E01E00;
    margin: 0;
    margin-bottom: 20px;
}
.item-page h4 {
    font-size: 20px;
    color: #999;
    margin: 0;
    margin-bottom: 20px;
}
aside h3 {
    font-size: 20px;
    color: #999;
    margin: 0;
    margin-bottom: 20px;  
}

.product_pdf {
    padding: 10px 0;
    border-bottom: solid 1px #E0E0E0;
    margin-bottom: 20px;
}

/*
FOX CONTACT OVERRIDES
*/
.fox-copyright, .fox-copyright a {
    line-height: 0;
    height: 0;
    display: none!important;
}
.foxfield {
    margin-bottom:20px;
}
.fox-item-board{
    display:none !important;
}
.foxtext {
    height: 40px;
    text-indent: 10px;
    color: #999;
    border: solid 1px #E8E8E8;
    border-radius: 4px;
    background-color: #fff;
}
.validfoxtext, .invalidfoxtext {
    height: 40px;
    text-indent: 10px;
    color: #999;
    border: solid 1px #E01E00;
    border-radius: 4px;
    background-color: #fff;
}
.foxbutton {
    background-color: #999;
    border: 0;
    border-radius: 4px;
    padding: 10px 20px!important;
    color: #fff;
}
.asterisk {
    display: none;
}
.newsletter_area .foxfield {
    margin-bottom: 10px;
}
.newsletter_area h2 {
    color: #999;
    font-size: 24px;
    text-transform: uppercase;
    margin: 0;
}

.fox-item .controls input[type="text"], .fox-item .controls textarea{
    width: 100% !important;
    height: 40px !important;
    text-indent: 10px !important;
    color: #999 !important;
    border: solid 1px #E8E8E8 !important;
    border-radius: 4px !important;
    background-color: #fff !important;
}
.fox-item .controls textarea{
    height: 180px !important;
}
.fox-item{
    width:100% !important;
    margin-right:0px !important;
}
.fox-item .controls{
    width:100% !important;
}
.fox-item .controls button{
    border: 0 !important;
    border-radius: 4px !important;
    padding: 10px 20px!important;
    color: #fff !important;
    background: initial !important;
    transition: initial !important;
    background-color: #999 !important;
}
.fox-item .controls button span{
    color: #fff !important;
}
/****
FOOTER
*****/
.copyarea {
    float: left;
    width: 630px;
    font-size: 13px;
    color: #999;
}
.copy {
    margin-bottom: 10px;
}
.copy a {
    color: #999;
}
.address {
    float: left;
    width: 500px;
}
.certificates {
    float: left;
    width: 120px;
}
.newsletter_area {
    float: right;
    width: 300px;
}
.footer_top {
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: solid 1px #E0E0E0;
}
.footer_top h3 {
    font-size: 14px;
    color: #999;
    text-align: center;
}

/****
VM - overrides
****/
.orderby-displaynumber {
    display: none;
}
.desc-product-list h2, .category-view h2 {
    font-size: 14px;
    font-weight: 400;
    text-align: left;
}
.desc-product-list h2 a, .category-view .row .category .spacer h2 a {
    color: #E31A00;
    text-align: left;
}
.desc-product-list p {
    margin: 0;
    margin-bottom: 15px;
}
a.product-details, a.details, div.details {
    padding: 10px;
    background: none;
    border: 0;
    background-color: #999;
    color: #fff;
}
a.product-details:hover {
    background: none;
    border: 0;
    background-color: #999;
    color: #fff;
}
.category-view .row .category .spacer img, .browse-view .row .product .spacer img, .related-products-view .row .product .spacer img {
    max-width: 100%;
    width: 100%;
    border: solid 1px #E0E0E0;
    max-height:100%!important;
}
.category-view .row .category .spacer, .featured-view .spacer, .latest-view .spacer, .topten-view .spacer, .recent-view .spacer, .related-products-view .spacer, .browse-view .row .product .spacer {
    padding: 10px;
}
.productdetails-view h1, h1 {
    font-size: 24px;
    margin: 0 0 6px;
    padding: 0;
    color: #211917;
}
.productdetails-view h2 {
    font-size: 24px;
    margin: 0 0 6px;
    padding: 0;
    color: #E01E00;
}
.product-description {
    /*width: 600px;
    float: left;*/
}
.infoform {
    /*width: 300px;
    float: right;*/
}
.virtuemart_search {
    margin-bottom:30px;
}
.virtuemart_search .inputbox {
    height: 40px;
    text-indent: 10px;
    color: #999;
    border: solid 1px #E8E8E8;
    border-radius: 4px;
}
.virtuemart_search .button {
    background-color: #999;
    border: 0;
    border-radius: 4px;
    padding: 10px 20px!important;
    color: #fff;
}
.product-description h3 {
    font-size: 20px;
    margin: 0;
    margin-bottom: 20px;
}
.product-images {
    background-color: #fff;
    border: solid 1px #E8E8E8;
}
.main-image {
    border-bottom: solid 1px #E8E8E8;
    padding: 20px;
}
.main-image img{
    height: auto;
    max-height: auto;
}
.additional-images {
    padding: 20px;
}
.additional-images img {
    margin-right: 8px;
    width: 120px;
    height: auto;
    border: solid 1px #E8E8E8;
}
.additional-images, .featured-view .product-price, .latest-view .product-price, .topten-view .product-price, .recent-view .product-price, .output-billto, .output-shipto {
    margin: 0;
}
.product .center {
    position:relative;
}
.product .product_s_desc {
    background: url(../img/bg_product_desc.png);
    line-height: 40px;
    color: #fff;
    text-align: center;
    font-size: 20px;
    position: absolute;
    left: 0;
    width: 100%;
    height: 40px;
    top: 50%;
    margin-top: -20px;

}
.product-description table {
    border-collapse: collapse;
    margin-top:50px;
}
.product-description table td {
    border: solid 1px #e8e8e8;
    padding: 5px;
}
.product-description table tr:nth-child(odd) {
    background-color: #fff;
}

.pagination-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
    float: none;
}
.pagination-list li {
    display: inline;
    margin-right: 5px;
    text-align: center;
    color: #333;
}
.pagination-list a {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    color: #333;
    padding: 5px;
    text-decoration: none;
}


.vm-pagination ul li i {
    display: none;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
