/*
Archivo personalizado de estilos
+VENTAS DevTeam 2018
*/


/* Reseteamos valores globales */

@media (min-width: 768px) {
    .container {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}

@media (min-width: 1401px) {
    .container {
        width: 100%;
        max-width: 1400px;
    }

    ul#thumbs_list_frame {
        height: auto !important;
        max-height: 564px;
    }
}

/* Helpers */

/* Bold */
.text-bold {
    font-weight: bold !important;
}

.text-bold a {
    font-weight: bold !important;
}

/* Margenes */

.vertical-margin-10 {
    margin-top: 10px;
    margin-bottom: 10px;
}

.vertical-margin-20 {
    margin-top: 20px;
    margin-bottom: 20px;
}

.vertical-margin-30 {
    margin-top: 30px;
    margin-bottom: 30px;
}

.vertical-margin-40 {
    margin-top: 40px;
    margin-bottom: 40px;
}

.vertical-margin-50 {
    margin-top: 50px;
    margin-bottom: 50px;
}

.top-margin-10 {
    margin-top: 10px;
}

.top-margin-20 {
    margin-top: 20px;
}

.top-margin-30 {
    margin-top: 30px;
}

.top-margin-40 {
    margin-top: 40px;
}

.top-margin-50 {
    margin-top: 50px;
}

.bottom-margin-10 {
    margin-bottom: 10px;
}

.bottom-margin-20 {
    margin-bottom: 20px;
}

.bottom-margin-30 {
    margin-bottom: 30px;
}

.bottom-margin-40 {
    margin-bottom: 40px;
}

.bottom-margin-50 {
    margin-bottom: 50px;
}

#top_column {
    padding: 0 !important;
}

#page .columns-container {
    background: transparent;
}

@media (min-width: 768px) {
    #page .columns-container {
        margin-left: 10px;
        margin-right: 10px;
    }
}

#index header {
    padding-bottom: 0;
}

#header_logo img {
    margin-bottom: 0;
}


/* Ajuste del logotipo */

@media (min-width:768px) {

    .col-sm-4,
    header .row #header_logo {
        width: 16%;
    }

    header .row #header_logo {
        padding-top: 5px;
        min-height: 45px;
        float: left;
        padding-left: 1px;
        padding-right: 1px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    #header-login .header_user_info span {
        display: none;
    }

    #header-login .header_user_info a:before {
        -moz-transition: 0.3s;
        -o-transition: 0.3s;
        -webkit-transition: 0.3s;
        transition: 0.3s;
        content: '\e8a6';
        font: 400 28px/1 "Material Icons";
        position: relative;
        z-index: 1;
    }
}


/* Ajustes de color */

a.login-header {
    color: #666;
}


/*
Ajustes de Slider y fichas laterales
*/

#homepage-slider img,
#htmlcontent_top img,
#htmlcontent_home img,
#tmhtmlcontent_topColumn img,
.top_menu .content .megamenu_banner img {
    -webkit-filter: none;
    filter: none;
}


/* colores */

header .top_menu li li a:hover,
header .top_menu .stickUpHolder li li a:hover,
header .top_menu h4,
header .top_menu .stickUpHolder h4,
header .top_menu .is-megamenu ul.content>li.category>a,
header .top_menu .stickUpHolder .is-megamenu ul.content>li.category>a {
    color: #000 !important;
}

.text-black {
    color: #000 !important;
}

.header-container {
    background: rgb(37, 177, 225);
    background: linear-gradient(90deg, rgba(37, 177, 225, 1) 28%, rgba(154, 120, 203, 1) 53%, rgba(238, 127, 70, 1) 100%);
}

@media(min-size: 768px) {
    .header-container {
        border-bottom: 18px solid #A67700;
    }
}

.footer-container {
    background: rgb(37, 177, 225);
    background: linear-gradient(90deg, rgba(37, 177, 225, 1) 28%, rgba(154, 120, 203, 1) 53%, rgba(238, 127, 70, 1) 100%);
}

/* Se quitan fondos adicionales */

#header,
.nav,
.top {
    background: none !important;
}

.footer-container #footer {
    color: #fff;
    padding: 0;
}

.footer-container .footer-1,
.footer-container .footer-2 {
    background: inherit;
    background-color: inherit;
    margin-bottom: 0;
}

.footer-container #footer h4 {
    color: #fff;
}

.footer-container #footer h4 a,
.footer-container #footer #block_contact_infos ul li a,
.footer-container #footer a {
    color: #fff;
    text-decoration: underline;
}

.footer-container #footer h4 a:hover,
.footer-container #footer #block_contact_infos ul li a:hover,
.footer-container #footer a:hover {
    color: #ffffb0;
}

#tmhtmlcontent_footer ul li p {
    color: #ccc;
}

.top_menu li li a,
.top_menu .stickUpHolder li li a {
    color: #0f1b35 !important;
}

.header-container div {
    border-color: transparent !important;
}

@media (max-width:767px) {
    .header-container div {
        border: none !important;
    }
}

@media (max-width: 767px) {
    #header-login {
        width: 50%;
        border: 1px solid #000;
        border-left: none;
    }

    #header-login .header_user_info {
        border-left: none;
    }

    #header .cart {
        float: right !important;
        min-height: 52px;
    }
}

#header>.nav {
    border: none;
}

#tmsearch {
    border: none;
    float: none;
    width: 94%;
    margin: auto;
    padding-bottom: 5px;
    padding-left: 0%;
    padding-right: 0%;
}

@media (min-width: 768px) {
    #tmsearch {
        width: 100%;
        margin: inherit;
        max-width: 500px;
        float: right;
        margin-top: 5px;
        margin-right: 15px;
    }
}

#tmsearch #tmsearchbox .form-control {
    background-color: #f5f5f5;
    color: #444;
}

#tmsearch #tmsearchbox .form-control::placeholder,
#tmsearch #tmsearchbox .btn.button-search::before {
    color: #000;
    opacity: 1;
}

#tm_search_query::placeholder {
    color: #777777 !important;
}

@media (max-width: 767px) {
    #tmsearch #tmsearchbox {
        min-height: 40px;
    }

    #tmsearch #tmsearchbox .form-control {
        height: 36px;
    }

    #tmsearch #tmsearchbox .btn.button-search {
        height: 36px;
    }
}


/* Reseteo de tmhtmlcontent_home */

#tmhtmlcontent_home ul li {
    width: 100%;
}

body .newsletter-overlay #newsletter_popup {
    background-color: #f5f5f5 !important;
    color: #444 !important;
}


/* Header */

header::before {
    display: none;
}


/* Payments Home */

.payments-container {
    position: relative;
    width: 100%;
    height: 417px;
    background-image: url(/img/cms/pagos/tpv-mini.png);
    filter: brightness(72%) contrast(148%);
    -webkit-filter: brightness(72%) contrast(148%);
}

.payments-container:hover {
    filter: brightness(100%) contrast(100%);
    -webkit-filter: brightness(100%) contrast(100%);
}

.payments-container .payment-online {
    height: 46%;
    box-sizing: border-box;
    border-radius: 10px;
    margin: 10px;
    background-color: rgba(255, 255, 255, .45);
    overflow: auto;
    padding: 10px;
}

.payments-container .payment-online .payment-online-card {
    height: 50%;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, .35);
    margin-bottom: 5px;
    padding: 5px;
}

.payments-container .payment-online .payment-online-transfer {
    height: 50%;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, .35);
    margin-top: 5px;
    padding: 5px;
}

.payments-container .payment-onsite {
    height: 46%;
    box-sizing: border-box;
    border-radius: 10px;
    margin: 10px;
    background-color: rgba(255, 255, 255, .65);
    overflow: visible;
    padding: 10px;
}

.payments-container .payment-onsite .payment-onsite-cash {
    height: 50%;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, .35);
    margin-bottom: 5px;
    padding: 5px;
}

.payments-container .payment-onsite .payment-onsite-card {
    height: 50%;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, .35);
    margin-bottom: 5px;
    padding: 5px;
}

.payments-container .payment-online .payment-online-card img,
.payments-container .payment-online .payment-online-transfer img,
.payments-container .payment-onsite .payment-onsite-cash img,
.payments-container .payment-onsite .payment-onsite-card img {
    width: auto !important;
    height: 30px !important;
    margin: 20px 5px 10px 5px;
}

#tmhtmlcontent_home ul li .item-html {
    padding-top: 0;
    text-align: left;
}

#tmhtmlcontent_home ul li:hover img {
    transform: unset;
}

.payment-title {
    clear: left;
    float: left;
    width: 40%;
    box-sizing: border-box;
    font-size: 24px;
    color: #5d5d5d;
}

.payment-figure {
    float: left;
    width: 60%;
    box-sizing: border-box;
    font-size: 24px;
    color: #424242;
}

@media (max-width:767px) {
    .block-store {
        padding-top: 4rem;
    }

    .block-store-1 {
        font-size: 2rem;
    }

    .block-store-2 {
        font-size: 1.5rem;
    }

    .block-store-3 {
        font-size: 1.5rem;
    }
}


/* Image Rollover */

#htmlcontent_home ul li .item-html {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    min-height: unset;
    padding: 0;
}

.parallax-box-1 {
    background-color: transparent;
}

.rollover-container {
    position: relative;
    width: 100%;
}

.rollover-container .image {
    display: block;
    width: 100%;
    height: auto;
}

.rollover-container .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
}

.rollover-container:hover .overlay {
    opacity: 1;
}

.rollover-container .rollimage {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
}

ul.product_list.list>li .product-image-container .product_img_link {
    background: transparent;
}

.price {
    font-size: 3rem;
}


/* Ajuste de la caja de resultados de búsqueda, en desktop */

@media (min-width:1200px) {
    body .ac_results {
        width: 500px !important;
    }
}


/* Ajuste de htmlcontent_top en home */

@media (max-width:767px) {
    #htmlcontent_top {
        display: none;
    }
}

#htmlcontent_top ul li {
    padding: 0 !important;
}


/* TM Mega Menú */

@media (max-width:767px) {
    .top_menu {
        padding-top: 5px;
    }
}

.top_menu .menu-title,
.top_menu .stickUpHolder .menu-title {
    margin-bottom: 5px;
}


/* Ajuste del contenedor de formas de pago en móvil */

@media (max-width:767px) {
    .second_home {
        padding-top: 0;
    }
}


/* Slider */

#homepage-slider {
    margin: 0;
    padding: 0;
}


/* Video de Home */

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 25px;
    height: 0;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Ajuste de etiquetas de imagen en producto */

.new-box span,
.sale-box span {
    font-size: .7em;
}

#header-login-content li.selected,
#header-login-content li.selected a,
#header-login-content li a:hover,
#header-login-content li a:focus {
    background: #666;
}


/*
/* Ajuste de las fichas de categorías
/* Se quitan las imágenes y se manejan como fichas.
*/

#subcategories ul li {
    float: left;
    width: 16.665%;
    margin: 0 19px 15px 19px;
    text-align: center;
    height: auto;
    padding: 0;
    padding: 10px 5px;
}

@media (max-width: 768px) {
    #subcategories ul li {
        width: 48%;
        margin: 10px 1%;
    }
}

@media (max-width: 568px) {
    #subcategories ul li {
        width: 48%;
        margin: 10px 1%;
        height: 50px;
        vertical-align: middle;
    }

    #subcategories ul li .subcategory-name {
        text-transform: uppercase;
        -moz-transition: 0.3s;
        -o-transition: 0.3s;
        -webkit-transition: 0.3s;
        transition: 0.3s;
    }
}


/* Clases label */

.label-default {
    background: #d5d5d5;
}

.label-default .subcategory-name {
    color: #444;
}

.label-default:hover {
    background: #89a0bb;
}

.label-default:hover .subcategory-name {
    color: #fff !important;
}


/* Menú para versión móvil */

@media (max-width: 767px) {

    #header .cart,
    #header-login {
        width: 20%
    }

    #header-login-content {
        left: auto;
        right: 0;
        padding: 20px 5px;
        max-width: 240px;
    }

    #block_top_menu {
        z-index: 100;
        clear: none;
        width: 60%;
        float: left;
        min-height: 50px;
        text-align: center;
        overflow: hidden;
        padding: 10px 0 4px;
        overflow-y: auto;
    }

    .cat-title {
        width: 15%;
        max-width: 27px;
        float: left;
        background-color: transparent;
    }

    #header_mobile_logo {
        width: 85%;
        max-width: 151px;
        float: left;
    }

    #header_mobile_logo>a>img.logo {
        width: 130px;
        height: auto;
        margin-left: 10px;
    }

    .cat-title::after {
        content: "\f0c9";
        left: 0;
        right: unset;
        top: 0;
        color: white !important;
    }

    .header-container a {
        color: #000;
    }

    /* Modificación de superfish */
    .cat-title {
        padding: 17px 12px;
    }

    .cat-title:hover {
        background: none;
    }

    .sf-menu,
    .sf-menu ul {
        clear: both;
        background: none;
    }

    .sf-menu>li>ul>li {
        text-align: left;
        line-height: 21px !important;
    }
}


/* Ícono de carrito */

.shopping_cart>a:first-child::before {
    font-family: "FontAwesome";
    content: "\f07a";
    color: #fff;
}

@media (min-width: 768px) {
    .shopping_cart>a:first-child::before {
        color: #000;
    }

}

.shopping_cart>a:first-child:hover::before {
    color: #000;
}

@media (max-width: 767px) {
    .shopping_cart>a:first-child:hover::before {
        color: #fff;
    }
}

/* Ajax add to art */

.layer_cart_row {
    font-weight: normal;
}

.layer_cart_product .title,
.ajax_block_products_total,
.ajax_cart_shipping_cost,
#layer_cart_product_quantity,
#layer_cart_product_price,
#layer_cart_product_attributes {
    color: #666;
}

.layer_cart_product .fa {
    color: #A4101D;
}


/* Shopping cart product line */

.cart_unit span.price {
    color: #666;
    font-size: 1.8rem;
}

.cart_total span.price {
    font-size: 1.8rem;
}


/* Cart Total Price */

.cart_total_price td#total_product,
.cart_total_delivery td#total_shipping,
.cart_total_voucher td#total_discount {
    font-size: 1.8rem;
    color: #666;
}

#cart_summary tfoot td.total_price_container span,
#cart_summary tfoot td#total_price_container #total_price {
    font-size: 2.4rem;
}


/* cart steps */

ul.step li.step_done a:after,
ul.step li.step_done.step_done_last a:after,
ul.step li.step_done {
    background: #fcfcfc;
    border-color: #d6d6d6;
}

ul.step li.step_done a {
    color: #777;
}


/* BX Slider Ajuste de tamaño */

@media(min-width: 768px) {
    .bx-wrapper {
        margin: 0 auto !important;
    }
}

.tmhtmlcontent-item-1 img {
    width: 100% !important;
    height: auto !important;
}

.tmhtmlcontent-item-2 img {
    width: auto !important;
    height: auto !important;
}

.home-about {
    background-image: url(/themes/theme1362/img/custom/bg-home-grad.png);
}

/* Mostrar slider de productos solo en el home */
.hidden-wrapper-slider {
    display: none;
}

/* Se oculta la sección de reseñas */
div#product_comments_block_extra,
section.page-product-box {
    display: none;
}

/* Nueva Bienvenida Home */
.container-benefits {
    margin-top: 20px;
}

@media (min-width: 768px) {
    .container-benefits {
        margin-top: 50px;
    }
}

@media (min-width:768px) {
    .row-benefits {
        padding: 30px;
    }
}

.home-benefits {
    border-radius: 50%;
    background-color: orange;
    padding: 15%;
    background-image: url(/img/bg-beneficios.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

.home-benefits {
    clear: right;
}

h3.text-benefits {
    /*padding-top: 10px;*/
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
}

@media (max-width: 767px) {
    h3.text-benefits {
        font-size: 14px;
    }
}

.cofepris-container {
    background-color: #e6e6e6;
    margin: 20px auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

h3.cofepris {
    text-transform: uppercase;
    font-weight: bold;
}

h3.cofepris-detail {
    font-weight: bolder;
}

.compra-minima {
    margin-bottom: 50px;
}

.compra-minima-h3 {
    text-transform: uppercase;
    font-weight: bold;
}

.compra-individual {
    margin-bottom: 20px;
}

.compra-individual-h3 {
    font-size: 2rem;
    font-weight: bold;
}

a.buy-button {
    background-image: url(/img/bg-buy-button.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 300px;
    display: inline-block;
    height: 70px;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    padding-top: 2.4rem;
    color: white;
}

/* Formateo de tabla nutrimental */
table.facts {
    width: auto;
    height: auto;
    background-color: #e3e3e3;
    margin-left: auto;
    margin-right: auto;
    border-spacing: 3px;
    border-collapse: separate;
    border: 2px solid #333;
}

table.facts h3.title-facts {
    font-weight: bolder;
    text-transform: uppercase;
    color: #000;
}

table.facts th,
table.facts td {
    border-top: none;
    border-right: none;
    border-bottom: none;
    border-left: none;
}

table.facts thead tr th {
    background-color: #e3e3e3;
    color: #000;
}

table.facts .text-right {
    text-align: right;
}

table.facts .text-left {
    text-align: left;
}

table.facts .text-center {
    text-align: center;
}

table.facts .text-justify {
    text-align: justify;
}

table.facts thead {
    border-bottom: 2px solid #333;
}

table.facts thead .table-header-end {
    border-bottom: 10px solid #333;
}

table.facts tbody tr.item-fact td {
    border-bottom: 1px solid #333;
    vertical-align: top;
}

.horario{
    background-color: #000; 
    color:#FFF; 
    font-size: 16px;
    height: 30px;
    padding-top: 3px;
}

@media (max-width: 767px) {
    .horario{
         height: 50px;
         font-size: 16px;
         text-align: center;
         padding: 0;
         padding-top: 3px;
    }
}