/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

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

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

html,
body {
    width: 100%;
    height: 100%;
}

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

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

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

img {
    vertical-align: middle;
}

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

textarea {
    resize: none;
}

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


/* ==========================================================================
   Author's custom styles
   ========================================================================== */
*, *:before, *:after {
  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}

body {
    background: #cdcdcd url(../img/bg.jpg);
    font-family: Myriad Pro, Arial,Sans-serif;
}
a {
    text-decoration: none;
}
a,p {
    color: #454545;
}
p {
    margin: 0 0 20px 0;
}

h1,h2,h3,h4,h5,h6 {
    color: #ed1b24;
    margin: 0 0 20px 0;
}

.wrapper {
    width: 940px;
    height: auto;
    min-height: 600px;
    margin: 10px auto 0;
    overflow: auto;
}
.main {
    width: 720px;
    float: left;
}
.content {
    width: 100%;
    height: auto;
    min-height: 600px;
    /*margin-top: 50px;*/
    background: #fff;
    position: relative;
    overflow: auto;
    float: left;
}
.content.inside {
    padding: 40px;
}

/*Side*/
.side {
    width: 220px;
    height: 100%;
    float: left;
}
.decor-1 {
    width: 100%;
    height: 50px;
    background: url(../img/decor-1.png);
}
.side-color-filler {
    background: #ed1b24 url(../img/side-color-filler.png);
}
.logo {
    display: block;
    width: 100%;
    height: 100px;
    margin-bottom: 20px;
    text-indent: -99999em;
    background: url(../img/logo.png);
}
.search {
    width: 100%;
    height: 25px;
    padding: 0 10px;
    margin-bottom: 20px;
}

.category-search {
    width: 350px;
    height: 50px;
    padding: 10px;
    position: absolute;
    top: 50px;
    right: 0;
    border-radius: 25px 0 0 25px;
    background: orange;
}
.category-search .search {
    height: 30px;
    padding: 0;
    margin: 0;
}
.category-search-title {
    position: absolute;
    top: -25px;
    left: 10px;
}
.category-search .search .search-field {
    width: 250px;
    color: red;
}

.search-field {
    width: 165px;
    height: 100%;
    float: left;
    padding: 0 10px;
    font-size: 0.8em;
    color: #787878;
    border: none;
    border-radius: 20px 0 0 20px;
}
.search-button {
    width: 35px;
    height: 100%;
    float: left;
    padding: 0;
    border: none;
    text-indent: -9999em;
    border-radius: 0 20px 20px 0;
    background: #fff url(../img/search-button.png);
    background-size: cover;
}
.category-list {
    padding-left: 20px;
    list-style: none;
    position: relative;
    z-index: 10;
}
.category-list-item {
    display: block;
    height: 30px;
    padding-left: 20px;
    color: #fff;
    position: relative;
}
.category-list-item:hover {
    background: #c91118;
    border-radius: 15px 0 0 15px;
}
.category-list-link {
    display: block;
    width: 100%;
    height: 100%;
    padding: 5px 0;
    color: #fff;
}
/*End of Side*/

/*Slider*/
.slider-wrap {
    width: 100%;
    height: auto;
    float: left;
    overflow: auto;
}
.slider {
    width: 100%;
    height: 300px;
    float: left;
    margin-bottom: 10px;
    overflow: hidden;
}
.front-ad {
    width: 330px;
    height: 100px;
    float: left;
    margin: 10px 20px 10px;
    background: #cdcdcd;
}
.social-block {
    width: 330px;
    height: 215px;
    float: left;
    margin: 10px 20px 20px;
    overflow: hidden;
}
.front-ad:nth-child(odd),
.social-block:nth-child(odd) {
    margin-left: 0;
}
/*End of Slider*/

/*Top Menu*/
.top-menu {
    width: 100%;
    height: 50px;
    float: left;
}
.top-menu-btn {
    color: #fff;
    padding: 0 15px;
    margin: 10px 0;
    float: right;
    background: #ed1b24;
    border-radius: 10px;
}
.top-menu-btn:hover {
    background: #c91118;
}
/*End of top menu*/

/*Content*/
.primary-content,
.secundary-content {
    width: 310px;
    height: auto;
    float: left;
    text-align: justify;
}
.primary-content {
    margin-right: 20px;
}
.primary-content.wide {
    width: 485px;
}
/*End of content*/

/*Promo*/
.promo-block {
    width: 310px;
    height: auto;
    /*height: 440px;*/
    float: left;
    padding: 15px;
    position: relative;
    margin-bottom: 20px;
    border-radius: 5px;
    background: #ed1b24;
    box-shadow: 0 0 5px #000;
}
.promo-block:nth-child(even) {
    margin-right: 20px;
}
.promo-title {
    color: #fff;
    margin-bottom: 5px;
}
.promo-text > p {
    color: #fff;
    text-align: justify;
    line-height: 18px;
    margin-bottom: 10px;
}
.promo-image {
    width: 100%;
    height: auto;
}
.social-panel {
    width: 190px;
    height: 25px;
    background: #cdcdcd;
    position: absolute;
    bottom: 5px;
    right: -5px;
    box-shadow: 0 0 2px #000;
}
/*End of Promo*/

/*Local*/
.local {
    width: 100%;
    /*height: 260px;*/
    height: auto;
    padding-bottom: 20px;
    float: left;
    margin-bottom: 20px;
    border-bottom: 1px solid #ed1b24;
}
.local-primary,
.local-secondary {
    width: 50%;
    height: 100%;
    float: left;
}
.local-primary {
    padding-right: 20px;
}
.local-name {
    margin-bottom: 10px;
}
.local-text {
    margin-bottom: 5px;
}
.local-img {
    width: 100%;
    height: auto;
}
/*End of Local*/

/*Form*/
.form-label {
    display: block;
    width: 100%;
}
.form-input {
    width: 100%;
    height: 30px;
    padding: 0 10px;
    margin-bottom: 15px;
    background: #cbcbcb;
    border: none;
    border-radius: 5px;
}
.form-input.textarea {
    height: 130px;
    padding: 10px;
    resize: none;
}
.textarea-expand {
    height: 300px !important;
}
/*---Alt---*/
.form.alt {
    padding: 15px;
    background: #ed1b24;
    border-radius: 10px;
    overflow: auto;
    box-shadow: 0 0 5px #000;
}
.form.alt p,
.form.alt a,
.form.alt .form-label {
    color: #fff;
}
.lost-password {
    font-size: 0.8em;
}
.form.alt .form-input {
    background: #fff;
}
/*End of form*/

/*Radio Group*/
.radio-group {
    width: 100%;
    height: auto;
    float: left;
    margin-bottom: 15px;
}
/*End of Radio Group*/

/*Button*/
.button {
    display: inline-block;
    width: auto;
    height: 30px;
    padding: 4px 15px;
    color: #fff;
    border: none;
    border-radius: 5px;
    border-bottom: 3px solid #c91118;
    background: #ed1b24;
}
.button:active {
    background: #bf070f;
    border-bottom: 3px solid #89050a;
}
/*---Alt---*/
.form.alt .button {
    color: #ed1b24;
    border-bottom: 3px solid #b7b7b7;
    background: #e0e0e0;
    float: right;
}
/*End of Button*/

/*Table*/
.products-table {
    width: 100%;
    border: none;
}
.products-table td {
    padding: 2px 10px;
    text-align: center;
    color: #454545;
    font-size: 0.8em;
    border-right: 1px solid #ed1b24;
}
.products-table tr td:last-child {
    border: none;
}
.products-table tr.no-border td {
    border: none;
}
.products-table tr:nth-child(even) {
    background: #eee;
}
.blank-cell {
    background: #fff;
}
.add-cart-btn {
    padding: 2px 10px;
    border-radius: 3px;
    border: none;
    color: #fff;
    background: #ed1b24;
}
.add-cart-btn:hover {
    background: #c91118;
}
.add-cart-btn.added {
    background: #97ca03;
}
.add-cart-btn.added:hover {
    background: #568027;
}
.cart-item-count {
    color: #fff;
}
/*End of Table*/

/*Pagination*/
.pag {
    width: 100%;
    height: 30px;
    float: left;
    margin-top: 20px;
    text-align: center;
}
.pag-item{
    display: inline-block;
    width: 30px;
    height: 30px;
    padding: 5px;
    background: #cdcdcd;
}
.pag-item.current {
    color: #fff;
    background: #ed1b24;
}
.pag-item.prev,
.pag-item.next {
    width: 90px;
}
.pag-item.prev {
    border-radius: 15px 0 0 15px;
}
.pag-item.next {
    border-radius: 0 15px 15px 0;
}
/*End of Pagination*/

.footer-wrapper {
    width: 100%;
    height: 100px;
    background: #393a3a url(../img/bg-footer-wrapper.jpg);
}
.footer {
    width: 940px;
    height: 80px;
    margin: 0 auto;
    position: relative;
    border-radius: 0 0 10px 10px;
    background: #222 url(../img/bg-footer.png);
}
.bottom-menu {
    width: 100%;
    text-align: center;
    float: left;
    margin-top: 10px;
}
.bottom-menu-item {
    margin: 0 15px;
    color: #c6c6c6;
}
.bottom-menu-item:hover {
    text-decoration: underline;
}
.copyright {
    width: 100%;
    margin: 10px 0 0 0;
    float: left;
    text-align: center;
    color: #c6c6c6;
}

/* POP UP */
.popup {
    width: 400px;
    height: 200px;
    padding: 20px;
    margin: -100px -200px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 0 1000px 1000px rgba(0,0,0,0.8);
    z-index: 100;
}
.popup p {
    margin-bottom: 10px;
}
.popup .button {
    margin-bottom: 10px;
}
.button.popupbtn {
    margin: 0;
    position: absolute;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
}
/* End of POP UP */

/* Shopping Cart */
.quantity {
    width: 30px;
}
.cart-buttons {
    float: left;
    margin-top: 20px;
    padding-left: 310px;
}
.cart-buttons.finish {
    padding-left: 500px;
}
.invoice-data {
    display: none;
    width: 70%;
    padding: 20px;
    margin-bottom: 10px;
    border: 1px solid #ed1b24;
    border-radius: 15px;
}
.delete-item {
    width: 20px;
    height: 20px;
    padding: 6px;
    line-height: 0;
    color: #fff;
    border: none;
    border-radius: 3px;
    background: #ed1b24;
}
/* End of Shopping Cart */

/*Providers*/
.button.huge {
    width: 100%;
    height: 80px;
    padding: 25px 0;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 20px;
}
/*End of Providers*/


/* ==========================================================================
   Media Queries
   ========================================================================== */


@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

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

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

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

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@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;
    }
}