/*
Theme Name: ICS Basic
Version: 1.0
Description: Tema básico de ICS para Woocommerce.
Author: ICS
Author URI: https://www.icssolution.com/
Template: storefront
 */

/*
.woocommerce-products-header__title {
    font-size: 100px;
}
 */

/* Ponemos en el layout únicamente la columna principal (eliminamos el secondary)*/
#primary {
    width: 100%;
}
#secondary {
    display:none;
}

body {
    background-color: #f4f5f5;
    font-weight: 300;
    font-family: "plex-sans","Helvetica Neue",Helvetica,Arial,"Microsoft YaHei","微软雅黑体","Hiragino Sans GB","冬青黑体",sans-serif;
    color: #2e3333;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    line-height: normal;
}

h1, h2, h3, h4, h5, h6, .wc-block-grid__product-title {
    font-family: plex-sans,sans-serif;
    font-size: 16px;
    line-height: 22px;
    color: #2e3333;
    /*color: #828585; */
}
.attachment-woocommerce_thumbnail{

}
li:before {
    content:'';
    display:inline-block;
    height:100%;
    vertical-align:middle;
}

.woocommerce-loop-category__title, .woocommerce-loop-product__title{
    position: relative;
    margin-bottom: auto;
    flex-grow: 1;
    text-align: left;
    width: calc(100% - 100px);
    float: left;
}

/** Posicionamiento de la imagen */
.woocommerce-LoopProduct-link>img {
    float: right;
    display:inline-block;
    vertical-align:middle;
    margin-right: 3px;
}
.ics-image-left>.woocommerce-LoopProduct-link>img {
    float: none;
}
.ics-image-left>.woocommerce-LoopProduct-link>.woocommerce-loop-product__title {
    float: right;
}
.ics-image-top>.woocommerce-LoopProduct-link>img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: auto;
    height: auto;
    padding-right: 15px;
    background-color: transparent;
    margin-bottom: 5px;
}
.ics-image-top>.woocommerce-LoopProduct-link>.woocommerce-loop-product__title {
    float: none;
    width: 100%;
}

li {
    height: 100%;
    margin-bottom: 0px !important;
    justify-content: center;
    text-align: center;
    background-color: white;
    border-bottom: none;
    border-top: solid 1px lightgray;
}
li.loop_category_name {
    width: 100%;
    height: 100%;
    justify-content: center;
    text-align: left;
    background-color: transparent;
    border-top: none;
    border-bottom: none;
    border-top: solid 1px lightgray;
    clear: both !important;
    padding-top: 10px;
    padding-bottom: 10px !important;
    font-weight: bold;
}
.woocommerce-LoopProduct-link .woocommerce-loop-product__link{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-self: stretch;
    padding-left: 15px;
}

ul.products {
    list-style: none;
}
.attachment-woocommerce_thumbnail {
    position: relative;
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    margin-top: 0;
    border-radius: 3px;
    background-position: center;
    background-color: #e8ebeb;
    background-size: cover;
}
a.button{
    font-weight: normal;
    border-radius: 6px;
}
a.wc-forward {
    border-radius: 6px;
}

/* Quitamos el borde de los a y buttons */
a:focus, button:focus {
    outline: none;
}

.product {

}
.woocommerce-LoopProduct-link{
    text-align: left;
    width:100%;
    padding-left: 15px;
}

button.menu-toggle {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fff;
    border-radius: 4px;
    /* display: -webkit-box; */
    /* display: -webkit-flex; */
    display: -ms-flexbox;
    /* display: flex; */
    cursor: pointer;
    /* padding: 8px 16px; */
    line-height: 24px;
    margin: 8px 14px;
    text-decoration: none;
    color: #2e3333;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    border: 1px solid #e8ebeb;
    -webkit-transition-property: border,-webkit-box-shadow;
    transition-property: border,-webkit-box-shadow;
    transition-property: border,box-shadow;
    transition-property: border,box-shadow,-webkit-box-shadow;
    -webkit-transition-duration: .15s;
    transition-duration: .15s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.woocommerce-LoopProduct-link>.price {
    width: 80%;
    float: left;
    height: auto;
    display: inline-block;
    font-size: 16px;
}

.loop-short-description {
    color: #626262;
    font-size: 14px;
    font-family: plex-sans,sans-serif;
}

.woocommerce-error>li {
    background: none;
    border-top: none;
}

.display_none {
    display: none;
}

@media only screen and (min-width: 768px) {
    .ics_nav_div {
        display: flex;
        padding: 8px 24px 8px 0;
    }
    .ics_extra_category{
        display: none;
    }
}
@media only screen and (max-width: 768px) {
    .ics_nav_div {
        /*overflow-x: auto !important;*/
    }
    .ics_category_ul {
        overflow-x: auto !important;
        -ms-overflow-style: none;
    }
    .ics_category_ul::-webkit-scrollbar {
        display: none;
    }
    .ics_category_nav {
        padding-right: 20px;
        margin-left: 0px;
    }
    .ics_btn_extra_categories {
        display: none;
    }
}
.ics_nav_div {
    width: 100%;
    background-color: #FFFFFF;
    border-top: 1px solid #e8ebeb;
    border-bottom: 3px solid #e8ebeb;
    padding-top: 10px;
    padding-bottom: 10px;
}
.ics_nav_div_fixed {

}
.ics_category_nav, .ics_category_ul {
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    -webkit-box-flex: 1;
}

.ics_category_nav {
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    justify-content: space-between;
    flex: 1 1 auto;
    width: 100%;
    padding-left: 0px;
}

.ics_category_ul {
    flex-wrap: nowrap;
    overflow: hidden;
    flex: 1 1 auto;
    padding: 4px;
    list-style-type: none;
    margin: 0 !important;
}

.ics_category_ul > li {
    border-top: 0;
}

.ics_category_button {
    opacity: 1;
    white-space: nowrap;
    -webkit-transition-property: opacity;
    transition-property: opacity;
    -webkit-transition-duration: .1s;
    transition-duration: .1s;
    -webkit-transition-timing-function: ease-in-out;
    transition-timing-function: ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    border: none;
    border-radius: 16px;
    margin: 0;
    padding: 2px 16px;
    line-height: 24px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    -webkit-transition-property: -webkit-box-shadow;
    transition-property: -webkit-box-shadow;
    transition-property: box-shadow;
    transition-property: box-shadow,-webkit-box-shadow;
    -webkit-transition-duration: .15s;
    transition-duration: .15s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    touch-action: manipulation;
}

.ics_category_button_base:hover {
    opacity: 0.7;
    background-color: transparent !important;
}

.ics_category_button_selected {
    background-color: #00ccbc;
}
.ics_category_button_selected:hover {
    opacity: 0.7;
    background-color: #00ccbc;
}

.ics_category_button_span {
    font-family: plex-sans, sans-serif;
    margin: 0;
    font-weight: 400;
    -webkit-font-smoothing: subpixel-antialiased;
    font-size: 14px;
    line-height: 19px;
}

.ics_category_button_span_color {
    color: #00b8a9;
}

.ics_category_button_span_selected {
    color: #fff;
    font-weight: 600;
}
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
}
.ics_category_button_span > i {
    margin-left: 5px;
}
.ics_dropdown_content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    margin-top: 5px;
}
.ics_dropdown_content_show{
    display: block;
}

.ics_extra_category_ul {
    flex-wrap: nowrap;
    overflow: hidden;
    flex: 1 1 auto;
    padding: 4px;
    list-style-type: none;
    margin: 0 !important;
}
.ics_extra_category_ul > li {
    border-top: 1px solid rgba(0,0,0,.08);
}

.ics_extra_category_ul > li:hover {
    background-color: #f9fafa;
}
.ics_highlight_button {
    box-shadow: 0 0 0 3px rgba(0,204,188,.3);
}
.ics_btn_extra_categories {
    margin-left: 20px;
}
.ics_category_button_span_dropdown_selected{
    font-weight: bold;
}

.display-name {
    display: inline !important;
}

.ics-basic-checkout-table>h1 {
    font-size: 1.5em;
}
.ics-basic-checkout-table>h2 {
    font-size: 1.4em;
}

/* Página de la carta, tenemos un posicionamiento especial */
.ics-carta>ul.products>li.product {
    width: 100% !important;
    border-top: none !important;
}
.ics-carta>ul.products>li.product:last-child, .ics-carta>ul.products>li.loop_category_name {
    border-bottom: solid 1px lightgray;
}
.ics-carta>ul.products>li.product>a {
    cursor: default !important;
}
.ics-carta>ul.products>li.product>a>h2 {
    float: left;
    width: calc(100% - 150px);
    margin-bottom: 0px;
}
.ics-carta>ul.products>li.product>a>h2>span.loop-short-description>p {
    margin-bottom: 0px;
}
.ics-carta>ul.products>li.product>a>span.price {
    width: 150px;
    text-align: right;
    padding-right: 15px;
    float: right;
    margin-bottom: 0px;
}
.componente-menu {
    padding-left: 25px;
}

.img-circle{
    border-radius:50%;
    width: 100%;
    height: 100%;
}
.bg-red{background-color:#ff4136}
.bg-blue{background-color:#357edd}
.bg-green{background-color:#19a974}
.status-container {
    height: 90px;
}
.status-container .wrapper {
    margin-left: auto;
    margin-right: auto;
    width: 700px;
}
.status-container .wrapper>div {
    width: 105px;
    height: 105px;
    float:left;
    display: inline-block;
    margin-right: 15px;
}
.status-container .legend {
    display: inline-block;
    width: 100%;
    margin-top: 40px;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    color: white;
}

#loaderImage {
    position: absolute;
    display: none;
}

div.m-select {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    cursor: pointer;
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.1);
    border: solid 1px #5d5d5d;
    background-color: #ffffff;
    margin-bottom: 10px;
}
div.m-select select.category-selector {
    position: relative;
    font: 800 18px/1.67 'Open Sans', sans-serif;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #5d5d5d;
    width: 100%;
    transform: translateY(2px);
    -webkit-appearance: none;
    padding: 12px 18px;
    box-sizing: border-box;
    align-items: center;
    white-space: pre;
    -webkit-rtl-ordering: logical;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: start;
    -webkit-writing-mode: horizontal-tb !important;
    text-rendering: auto;
}
.m-select i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 23px;
    color: #5d5d5d;
}
.ics-product-label-combinations label {
    width: 100%;
    display: flex;
}
.modal {
    width: 100% !important;
}
.jquery-modal {
    z-index: 1000 !important;
}
.jquery-modal .ics-carta>ul.products>li.product:last-child, .ics-carta>ul.products>li.loop_category_name {
    border-bottom: none !important;
}
