@import url('https://fonts.googleapis.com/css?family=Anton|Open+Sans');

* {
    margin: 0;
    padding: 0;
    outline: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    /*font-family: 'Anton', sans-serif;*/
    letter-spacing: .2em;
}

button {
    border-width: 0;
    border-radius: 0;
    padding: 10px 15px;
    font-size: 1em;
    background-color: #5d6881;
    color: #ffffff;
    cursor: pointer;
}

button:active { background-color: #414d66; }

button.deletion { background-color: #f86b79; }
button.deletion:active { background-color: #eb4152; }

button:disabled, button.deletion:disabled {
    background-color: #dddcdc;
    color: #4e4e4e;
    cursor: default;
}

.centered-text {
    text-align: center;
}

.lefted-text {
    text-align: left;
}

.righted-text {
    text-align: right;
}

.va-middle {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.clear {
    clear: both;
}

a, a:visited { color: #4e4e4e; text-decoration: none; }
a:hover  { color: #0a0a0a; text-decoration: underline; }

img {
    max-width: 100%;
}

select {
    border-width: 1px;
    border-radius: 0;
    border-color: #dddcdc;
    background-color: transparent;
    padding: 5px 8px;
    font-size: 1em;
}

.lSAction > a {
    width: 40px;
    height: 40px;
}

table th {
    text-align: center;
}

form fieldset {
    border: 0;
}

form .form-elements-wrapper {
    margin: 2px auto;
    width: 90%;
}

.formErrorMessageDiv {
    padding: 10px;
    color: #eb4152;
    border: 1px solid #eb4152;
    font-size: .9em;
    margin-bottom: 12px;
}

.formErrorMessageDiv ul {
    list-style-type: none;
}

/* Sweet alerts */
.swal-modal {
    border-radius: 0;
}

.swal-title, .swal-text {
    text-align: center;
    color: #0a0a0a;
}

.swal-button {
    border-radius: 0;
}

.swal-button--confirm {
    background-color: #5d6881;
}

.swal-button--confirm:active {
    background-color: #414d66;
}

.swal-button--cancel {
    background-color: #dddcdc;
    border: 1px dotted #4e4e4e;
}

.swal-button--sc {
    background-color: #5d6881;
}

.swal-button--sc:active {
    background-color: #414d66;
}

.swal-button--danger {
    background-color: #f86b79;
}

.swal-button--danger:active {
    background-color: #eb4152;
}
/* end Sweet alerts */

/* Mimo forms */
[id|=wrapper].mimo_modal {
    padding: 40px 8px 8px 8px;
    z-index: 1000;
}

[id|=wrapper].mimo_modal form {
    margin-top: 10px;
    margin-bottom: 10px;
}

[id|=wrapper].mimo_modal form label {
    display: none;
}

[id|=wrapper].mimo_modal input[type=text],
[id|=wrapper].mimo_modal input[type=email],
[id|=wrapper].mimo_modal input[type=password],
[id|=wrapper].mimo_modal textarea,
[id|=wrapper].mimo_modal select {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 8px 6px;
    border: 1px solid #acacac;
    font-size: 1.2em;
    background-color: #ffffff;
}

[id|=wrapper].mimo_modal textarea {
    max-width: 100%;
}

[id|=wrapper].mimo_modal div.file-upload input[type=text] {
    width: auto;
}

[id|=wrapper].mimo_modal div.file-upload input[type=file] {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

[id|=wrapper].mimo_modal button {
    margin-top: 12px;
    font-size: 1.2em;
}
/* end Mimo forms */

/* ------------- */
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #0a0a0a;
    background-color: #dddcdc;
}

#page {
}

#page-header {
    position: relative;
    padding: 5px 10px;
    background: linear-gradient(to right, #dddcdc, #0026ff);
    border-bottom: 2px solid #414d66;
}

#page-subheader {
    position: relative;
    padding: 5px 10px;
    background-color: #dddcdc;
    border-bottom: 1px solid #acacac;
}

#button-login, #button-logout {
    position: absolute;
    top: 0;
    right: 0;
    background-color: transparent;
}

#button-member {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: transparent;
}

/* Search form */
#search-form-div {
    text-align: center;
}

#search-form input {
    width: auto;
    padding: 12px 15px;
    border-width: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

#search-form button {
    position: relative;
    left: -8px;
}
/* end Search form */

#page-center {
    background-color: #ffffff;
    padding-top: 5px;
    padding-bottom: 15px;
}

#page-footer {
    border-top: 1px solid #acacac;
    background-color: rgba(221, 220, 220, 0.6);
}

#wrapper-footer {
    padding: 20px 10px;
    font-size: .8em;
    /*    background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: right center;
        background-image: url("../img/logo_footer_bg.png");*/
}

#wrapper-footer div {
    padding: 3px;
    /*border: 1px dotted #4e4e4e;*/
}

#wrapper-footer p {
    margin-bottom: 5px;
}

a#logotipo {
    display: block;
    background-position: 0px 0px;
    background-repeat: no-repeat;
    width: 169px;
    height: 100px;
    background-image: url("../img/logo.png");
}

/* navbar */
nav[id|=accordion] {
    font-family:'Times New Roman', Times, serif ;
    letter-spacing: .2em;
    margin-bottom: 15px;
}

nav[id|=accordion] span.menu-header {
    display: block;
    padding: 10px 5px;
    background-color:bisque  ;
    border: 1px dotted #acacac;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 1.2em;
    margin-top: 1px;
    margin-bottom: 1px;
}

nav[id|=accordion] ul {
    list-style: none;
    display: none;
    padding: 3px;
}

nav[id|=accordion] ul li {
    border: 1px solid #dddcdc;
    margin: 2px;
}

nav[id|=accordion] ul li:hover {
    border-color: #acacac;
}

nav[id|=accordion] ul li a {
    display: block;
    padding: 10px 5px;
    text-decoration: none;
}

nav[id|=accordion] ul li a:hover {
    color: #0a0a0a;
}
/* end navbar */

ul#new-products {
}

ul#new-products li {
    padding: 7px;
}

ul#new-products li div {
    position: relative;
    /*box-shadow: -2px 2px 6px #5d6881;*/
}

ul#new-products li div span.name {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(93, 104, 129, 0.4);
    color: #ffffff;
    padding: 10px 14px;
    text-transform: uppercase;
    text-shadow: 1px 1px #000000;
}

section#marcas div {
    height: 100px;
    background-image: url("../img/logo_sprite_small_100.png");
    background-repeat: no-repeat;
}

section#marcas div:nth-child(1) {
    background-position: center 0;
}
section#marcas div:nth-child(1):hover {
    background-position: center -100px;
}

section#marcas div:nth-child(2) {
    background-position: center -200px;
}
section#marcas div:nth-child(2):hover {
    background-position: center -300px;
}

section#marcas div:nth-child(3) {
    background-position: center -400px;
}
section#marcas div:nth-child(3):hover {
    background-position: center -500px;
}

section#marcas div:nth-child(4) {
    background-position: center -600px;
}
section#marcas div:nth-child(4):hover {
    background-position: center -700px;
}

section#marcas div:nth-child(5) {
    background-position: center -800px;
}
section#marcas div:nth-child(5):hover {
    background-position: center -900px;
}

section#marcas div:nth-child(6) {
    background-position: center -1000px;
}
section#marcas div:nth-child(6):hover {
    background-position: center -1100px;
}

/* Members page */
.row-login-register form {
    margin-top: 10px;
    margin-bottom: 10px;
}

.row-login-register form input,
.row-login-register form textarea {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 8px 6px;
    border: 1px solid #acacac;
    font-size: 1.2em;
}

.row-login-register form button {
    width: 50%;
    margin-top: 12px;
    font-size: 1.2em;
}

.row-login-register form label {
    display: none;
}
/* end Members page */

.main-content {
    padding-right: 5px;
}

.main-content-header {
    /*border: 1px dotted #acacac;*/
    margin-top: 15px;
    margin-bottom: 15px;
}

.main-content-data div {
    /*border: 1px dotted #acacac;*/
}

.main-content-data p.effective-price {
    font-size: 1.3em;
    color: #4caf50;
    font-style: oblique;
    font-weight: bold;
}

.main-content-data p.previous-price {
    font-size: 0.9em;
    text-decoration: line-through;
    color: #acacac;
    font-style: oblique;
    font-weight: bold;
}

.page-name {
    text-transform: uppercase;
}

/* Subcategories page */
.main-content-data .item {
    margin-top: 5px;
    margin-bottom: 20px;
}

.main-content-data .item-description p {
    font-size: .8em;
}

.main-content-data.mosaic .item {
    width: 50%;
    display: inline-block;
    vertical-align: top;
}

.main-content-data.list .item-image {
    display: inline-block;
    width: 40%;
    vertical-align: middle;
}

.main-content-data.list .item-description {
    display: inline-block;
    width: 60%;
    vertical-align: middle;
}

.main-content-data.list .item-price {
    display: inline-block;
    width: 100%;
    vertical-align: middle;
}

nav#pagination { /* pagination */
    padding: 5px 10px;
}

nav#pagination ul {
    list-style-type: none;
}

nav#pagination ul li a {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
}

nav#pagination ul li.active a {
    color: #eb4152;
    padding-left: 15px;
    padding-right: 15px;
    border: 1px dotted #eb4152;
}
/* end Subcategories page */

/* Item page */
.main-content-data #product-images {
    max-width: 100%;
}

.main-content-data #product-description {
    padding: 8px 3px;
    line-height: 2em;
}

.main-content-data #price-box {
    margin-top: 3px;
    padding-top: 3px;
    padding-bottom: 3px;
    font-size: 1.2em;
}

.main-content-data #product-actions {
    width: 95%;
    padding-top: 4px;
    padding-bottom: 20px;
    border: 1px solid #dddcdc;
}

.main-content-data #product-actions button {
    background-color: #4caf50;
    border: 1px solid #2d9534;
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1.5em;
    padding-left: 20px;
    padding-right: 20px;
}

form.form-buy label {
    font-size: .8em;
}
/* end Item page */

/* Shopping Cart page */
#table-sc td {
    vertical-align: middle;
}

#table-sc .product-info {
    width: 30%;
    font-size: 0.82em;
}

#table-sc .product-info > div {
    width: 100%;
}

#table-sc .product-info > div:first-child {
    display: none;
}

#table-sc .product-total {
    font-size: 0.82em;
}

#table-sc tr#tg {
    font-weight: bold;
    color: #4caf50;
}

#table-sc tr.nostock {
    color: #f86b79;
}

#table-sc tr.nostock td.product-info span {
    text-decoration: line-through;
}

#button-checkout {
    background-color: #4caf50;
    border: 1px solid #2d9534;
    font-size: 1em;
    font-weight: bold;
    line-height: 1.5em;
    padding-left: 10px;
    padding-right: 10px;
}

#no-gateway-message {
    color: #eb4152;
    padding: 5px 10px;
}
/* end Shopping Cart page */

/* Wishlist page */
#table-wl td {
    vertical-align: middle;
}

#table-wl .product-info {
    width: 30%;
    font-size: 0.82em;
}

#table-wl .product-info > div {
    width: 100%;
}

#table-wl .product-info > div:first-child {
    display: none;
}

#table-wl tr.nostock {
    color: #f86b79;
}

#table-wl tr.nostock td.product-info span {
    text-decoration: line-through;
}
/* end Wishlist page */

/* Admin page */
#table-products td,
#table-subcategories td,
#table-categories td {
    vertical-align: middle;
}

#table-products .product-info {
    width: 30%;
    font-size: 0.82em;
}

#table-products .product-info > div {
    width: 100%;
}

#table-products .product-info > div:first-child {
    display: none;
}
/* end Admin page */

.social-media-link {
    padding: 5px;
}

@media (min-width: 768px) {

    #page-header {
        background-size: 100% auto;
    }

    #button-cart {
        top: 0;
        right: 130px;
    }

    section#marcas div {
        height: 130px;
        background-image: url("../img/logo_sprite_medium_130.png");
    }

    section#marcas div:nth-child(1) {
        background-position: center 0;
    }
    section#marcas div:nth-child(1):hover {
        background-position: center -130px;
    }

    section#marcas div:nth-child(2) {
        background-position: center -260px;
    }
    section#marcas div:nth-child(2):hover {
        background-position: center -390px;
    }

    section#marcas div:nth-child(3) {
        background-position: center -520px;
    }
    section#marcas div:nth-child(3):hover {
        background-position: center -650px;
    }

    section#marcas div:nth-child(4) {
        background-position: center -780px;
    }
    section#marcas div:nth-child(4):hover {
        background-position: center -910px;
    }

    section#marcas div:nth-child(5) {
        background-position: center -1040px;
    }
    section#marcas div:nth-child(5):hover {
        background-position: center -1170px;
    }

    section#marcas div:nth-child(6) {
        background-position: center -1300px;
    }
    section#marcas div:nth-child(6):hover {
        background-position: center -1430px;
    }

    /* Subcategories page */
    .main-content-data .item {
        margin-bottom: 3px;
    }

    .main-content-data.mosaic .item {
        width: 33%;
    }

    .main-content-data.list .item-image {
        width: 30%;
    }

    .main-content-data.list .item-description {
        width: 45%;
        padding-left: 10px;
    }

    .main-content-data.list .item-price {
        width: 25%;
    }

    /* Items page */
    .main-content-data #product-images {
        width: 50%;
    }

    .main-content-data #product-description {
        width: 40%;
    }

    .main-content-data #product-actions {
        width: 50%;
    }

    /* Shopping Cart page */
    #table-sc .product-info {
        font-size: 0.9em;
    }

    #table-sc .product-total {
        font-size: 0.9em;
    }

    #no-gateway-message {
        /*width: 85%;*/
    }
}

@media (min-width: 992px) {

    section#marcas {
        margin-top: 80px;
        margin-bottom: 80px;
    }

    section#marcas div {
        margin: 20px auto;
    }

    #search-form-div {
        text-align: right;
    }

    .main-content-data.list .item-description {
        text-align: left;
    }

    /* Item page */
    .main-content-data #product-images {
        width: 40%;
    }

    .main-content-data #product-description {
        width: 30%;
    }

    .main-content-data #product-actions {
        width: 25%;
    }
    /* end Item page */

    #form-create-password .form-elements-wrapper {
        width: 50%;
    }

    ul#new-products li {
        padding: 12px;
    }
}

@media (min-width: 1200px) {

    section#marcas div {
        height: 150px;
        background-image: url("../img/logo_sprite_large_150.png");
    }

    section#marcas div:nth-child(1) {
        background-position: center 0;
    }
    section#marcas div:nth-child(1):hover {
        background-position: center -150px;
    }

    section#marcas div:nth-child(2) {
        background-position: center -300px;
    }
    section#marcas div:nth-child(2):hover {
        background-position: center -450px;
    }

    section#marcas div:nth-child(3) {
        background-position: center -600px;
    }
    section#marcas div:nth-child(3):hover {
        background-position: center -750px;
    }

    section#marcas div:nth-child(4) {
        background-position: center -900px;
    }
    section#marcas div:nth-child(4):hover {
        background-position: center -1050px;
    }

    section#marcas div:nth-child(5) {
        background-position: center -1200px;
    }
    section#marcas div:nth-child(5):hover {
        background-position: center -1350px;
    }

    section#marcas div:nth-child(6) {
        background-position: center -1500px;
    }
    section#marcas div:nth-child(6):hover {
        background-position: center -1650px;
    }

    .main-content-data.mosaic .item {
        width: 25%;
    }

    .main-content-data.list .item-image {
        width: 15%;
    }

    .main-content-data.list .item-description {
        width: 40%;
    }

    .main-content-data.list .item-price {
        width: 25%;
    }

    /* Shopping Cart page */
    #table-sc .product-info {
        width: 50%;
    }

    #table-sc .product-info > div:nth-child(1) {
        display: inline-block;
        width: 15%;
    }

    #table-sc .product-info > div:nth-child(2) {
        width: 55%;
    }

    #table-sc .product-info > div:nth-child(3) {
        width: 25%;
    }

    #table-sc .product-info {
        font-size: 1em;
    }

    #table-sc .product-total {
        font-size: 1em;
    }
    /* end Shopping Cart page */

    /* Wishlist page */
    #table-wl .product-info {
        width: 50%;
    }

    #table-wl .product-info > div:nth-child(1) {
        display: inline-block;
        width: 15%;
    }

    #table-wl .product-info > div:nth-child(2) {
        width: 55%;
    }

    #table-wl .product-info > div:nth-child(3) {
        width: 25%;
    }

    #table-wl .product-info {
        font-size: 1em;
    }
    /* end Wishlist page */

    /* Admin page */
    #table-products .product-info {
        width: 50%;
    }

    #table-products .product-info > div:nth-child(1) {
        display: inline-block;
        width: 15%;
    }

    #table-products .product-info > div:nth-child(2) {
        width: 65%;
    }

    #table-products .product-info {
        font-size: 1em;
    }
    /* end Admin page */
}