@charset "utf-8";
/* CSS Document */

:root {
    --color-secondary: rgba(255, 135, 43, 1);
    --color-secondary-rgb: 255, 135, 43;
    --color-primary: rgba(115, 182, 103, 1);
    --color-primary-rgb: 115, 182, 103;
    --n-columns-3: 3;
    --n-columns-4: 4;
    --n-columns-6: 6;
    --height-header-top: 40px;
    --nav-width: 250px;
    --midwidth: calc(100vw - var(--nav-width) - 30px);
    --mainwidth: calc(100vw - var(--nav-width));
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Open sans', sans-serif;
    font-size: 14px;
    color: #333;
    background-repeat: repeat-x;
    background-position: top;
    background-color: #fafafa;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
}

h1 {
    font-weight: 900;
    font-size: 1.8em;
    margin: 20px 0 20px 0;
    color: #000;
    line-height: 1.6em;
    text-transform: uppercase;
}

h2 {
    font-weight: 700;
    font-size: 1.6em;
    margin: 10px 0;
    color: #000;
    opacity: 0.9;
    line-height: 1.6em;
    text-transform: uppercase;
}

h3 {
    font-weight: 700;
    font-size: 1.3em;
    margin: 5px 0;
    color: #333;
    opacity: 0.9;
    line-height: 1.6em;
}

h4 {
    margin: 10px 0;
    font-weight: 600;
}

ul {
    list-style: none;
}

.pdtopbottom {
    padding-top: 20px;
    padding-bottom: 20px
}

.txtcenter {
    text-align: center;
}

.txtleft {
    text-align: left;
}

.txtright {
    text-align: right;
}

.txtsmall {
    font-size: 0.8em;
}

.capital {
    text-transform: uppercase;
}

.colorred {
    color: red;
}

.colorblue {
    color: blue;
}

.rumboorangebg {
    background: rgba(255, 135, 43, 0.3);
}

.bold {
    font-weight: bold;
}

.displaynone {
    display: none !important;
}

.pr {
    position: relative;
}

.empty {
    padding: 20px 0;
}

.clickable {
    cursor: pointer;
}

.nonclickable {
    pointer-events: none;
    opacity: 0.8;
    border-color: #aaa;
}

.note {
    line-height: 1.5em;
    font-size: 0.9em;
}

.currency {
    font-size: 0.8em;
}

input.readonly {
    border: none;
    background: transparent;
    width: 100%
}

.borderred {
    border: 3px solid red;
}

.borderyellow {
    border: 3px solid yellow;
}

.back {
    font-weight: 600;
}

.wauto {
    width: auto !important;
}

.wauto {
    width: auto !important;
}

.opacity07 {
    opacity: 0.7;
}

.icon-inline {
    width: 20px;
}

.togvis, .togvis.flexcol, .togvis.datalist {
    display: none;
}

.fr {
    float: right;
}

select option.optiondefault {
    background: rgba(var(--color-secondary-rgb), 0.2);
    color: #000;
    font-weight: bold;
}

label.error {
    color: #CC0000;
    height: 22px;
    font-size: 10px;
    line-height: 22px;
    margin-left: 0px;
    padding: 0 4px;
    float: right;
    font-weight: bold;
}

.fancybox-button.fancybox-button--close {
    background: white;
    color: red;
    padding: 0;
}

#mainform input[type='checkbox'].checkboxmedium {
    width: 25px;
    height: 25px;
}

.checkboxlarge {
    width: 28px;
    height: 28px;
}

#mainform input[type='checkbox'].checkboxlarge, #filter_form input.checkboxlarge {
    width: 28px;
    height: 28px;
    margin: 5px;
}

.col12 {
    width: 100%;
}

.col11 {
    width: 91.7%;
}

.col10 {
    width: 83.3%;
}

.col9 {
    width: 75%;
}

.col8 {
    width: 66.7%;
}

.col7 {
    width: 58.3%;
}

.col7b {
    width: 56%;
}

.col7b:nth-child(2n+1) {
    margin-right: 1%;
}

.col7b:nth-child(2n) {
    margin-left: 1%;
}

.col6 {
    width: 50%;
}

.col6b {
    width: 49%;
}

.col6b:nth-child(2n+1) {
    margin-right: 1%;
}

.col6b:nth-child(2n) {
    margin-left: 1%;
}

.col5 {
    width: 41.6%;
}

.col5b {
    width: 40%;
}

.col5b:nth-child(2n+1) {
    margin-right: 1%;
}

.col5b:nth-child(2n) {
    margin-left: 1%;
}

.col4 {
    width: 33.3%;
}

.col4b {
    width: 30%;
}

.col4b:nth-child(2n+1) {
    margin-right: 1%;
}

.col4b:nth-child(2n) {
    margin-left: 1%;
}

.col3 {
    width: 25%;
}

.col2 {
    width: 16.6%;
}

.col1 {
    width: 8.3%;
}

.sticky {
    position: sticky;
    width: 100%;
    top: var(--height-header-top);
}


.clickth {
    font-weight: 700;
    position: sticky;
    background: #fafafa;
    top: var(--height-header-top);
}

.clicktr, .clickth {
    width: 100%;
    color: #333;
    display: flex;
    align-items: center;
    min-height: 40px;
    height: auto;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid transparent;
}

.clicktr > div, .clickth > div {
    flex: 1 1 50px;
    text-align: center;
}

.hoverstate {
    border: 1px solid transparent;
}

.clicktr:hover, .hoverstate:hover {
    border-color: var(--color-primary);
}

.datalist {
    width: 100%;
    padding: 10px 0;
    max-width: 900px;
}

.datalist .clicktr:nth-child(even), .datalist div:nth-child(even) .clicktr {
    background: #f3f3f3;
}

.datalist .clicktr:nth-child(odd), .datalist div:nth-child(odd) .clicktr {
    background: #fdfdfd;
}

.datalist div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.datalist#notifications-list .remove {
    width: 24px;
}

.datalist div .clicktr {
    width: 95%;
}

.datalist .clicktr div, .datalist .clickth div {
    justify-content: center;
}

.datalist .clicktr > .listas-left  {
    justify-content: start;
}

.datalist .tooltip {
    justify-content: center;
}

.datalist .sticky div:first-child {
    width: 40px;
}

.itemdetail {
    display: flex;
    flex-direction: column;
}

.itemdetail > div {
    min-height: 30px;
    display: flex;
}

.itemdetail > div > div {
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 20px;
}

.itemdetail > div > div:nth-child(1) {
    width: 200px;
    flex: 0 0 auto;
}

.itemdetail > div > div:nth-child(2) {
    flex: 1 1;
    line-height: 1.5em;
}

img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.close {
    z-index: 4;
}

#linktop {
    font-size: 0.8em;
    color: var(--color-primary);
    width: 50px;
    margin-right: 15px;
    text-align: center;
}

/* AREA CLIENTES TOP */

#area-clientes-top {
    text-align: right;
    width: 98%;
    color: #333;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    position: absolute;
}

#area-clientes-top #general-info {
    margin-top: 5px;
    line-height: 1.3em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#area-clientes-top .back {
    height: 30px;
    width: 22px;
    padding-top: 5px;
}

#area-clientes-top > * > * > * {
    text-align: right;
}

#area-clientes-top > * span {
    font-weight: 700;
}

#msg_dis_top {
    color: white;
    font-size: 0.7rem;
    top: -32px;
    position: relative;
    width: 45%;
    padding: 15px;
    margin: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    line-height: 1.1rem;
}

/* END AREA CLIENTES TOP */

/* SHADOWS */

.shadow--2dp, #header-top form, .material-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.shadow--4dp {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.shadow--6dp {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

.shadow--8dp, .card-item:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.shadow--10dp {
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22);
}

.flexcontainer {
    display: flex;
}

.flexcolumn, .flexcol {
    flex-direction: column;
    display: flex;
}

.flexwrap {
    display: flex;
    flex-wrap: wrap;
}

.flexcenter {
    align-items: center;
    align-content: center;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}

.flexsa {
    display: flex;
    justify-content: space-around;
}

.flexsb {
    display: flex;
    justify-content: space-between;
}

.flexend {
    display: flex;
    justify-content: flex-end;
}

.flexstart {
    display: flex;
    justify-content: flex-end;
}

.flexaligncenter {
    align-items: center;
    display: flex;
}

.flexgrow {
    flex-grow: 1 !important;
}

.notflexgrow {
    flex-grow: 0 !important;
}

/* SHADOWS END */

#wrapper {
    width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: row;
}

#maincontainer {
    position: relative;
    padding-left: var(--nav-width);
    width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#maincontainer.nonav {
    padding-left: 0
}

#maincontainer.nonav #slideshowwrap, #maincontainer.nonav header {
    width: 100%;
}

#maincontainer.nonav #maincontent {
    margin-top: 20px;
}

#maincontainer #maincontent {

}

#maincontent h2 {
    padding-left: 0px;
}

.mid {
    width: var(--midwidth);
    margin: 0 auto;
}


main {
    position: relative;
    height: 100%;
    margin-top: calc(var(--height-header-top));
    flex: 1;
    padding-bottom: 40px;
    /*background-color: #fafafa;*/
    z-index: 1;
}

#inner-main, #header-top > div {
    display: flex;
    flex-direction: row;
}

header {
    width: 100%;
    top: 0;
    background: #fafafa;
    z-index: 3;
    position: fixed;
    border-bottom: 1px solid #EEEEEE;
    box-shadow: 0 1px 14px 0 rgba(0, 0, 0, 0.14);
}

a.menutoggle {
    display: none;
}

#header-top {
    height: var(--height-header-top);
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 100%;
    z-index: 3;
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

#header-top > * {
    width: 205px;
    text-align: center;
}

#header-top .logout {
    height: 50%;
    flex: 0 0 50px;
}

#header-top #namecolor {
    text-align: right;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 0.8em;
    color: #666;
}

#header-top #namecolor img {
    height: 50%;
    width: auto;
}

#header-top h3 {
    margin: 0 20px;
}

#header-top > div {
    height: 100%;
    justify-content: space-between;
    align-items: center;
}

#header-top > div > * {
    flex: 1 1 50px;
}

#header-top > div #logo {
    height: 80%;
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

#logo {
    width: auto;
    height: 80%;
    text-align: right;
    margin-left: 0;
}

#logo img {
    object-fit: contain;
    height: 100%;
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

#header-top > div form {
    display: flex;
    flex: 1 1 auto;
    margin: 0 7%;
    height: 70%;
}

#header-top > div #srch {
    width: 100%;
    border: none;
    padding: 0 0 0 20px;
    font-size: 1.1em;
}

#header-top > div input[type=image] {
    width: 50px;
    padding: 1%;
    border: none;
    background: #eee;
    opacity: 0.3;
}

#header-top #header-icons {
    display: flex;
    flex: 0 1;
}

#header-top #header-icons a {
    height: 37px;
    padding: 5px;
    opacity: 0.7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #111;
    position: relative;
}

#header-top #header-icons a.cart-icon-top span {
    position: absolute;
    right: 9px;
    top: 0px;
    width: 16px;
    height: 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background: red;
    border-radius: 10px;
    color: #fff;
    font-size: 12px;
}

#header-top #header-icons a.login-top span {
    white-space: nowrap;
    margin: 0 5px;
    font-size: 11px;
}

#header-top #header-icons a#searchtoggle {
    display: none;
}

#header-top #header-icons a img {
    margin-right: 5px;
    width: auto;
    height: auto;
}

/* NAV */

#nav {
    margin-top: var(--height-header-top);
    padding-left: 10px;
    padding-top: 20px;
    flex: 0 0 var(--nav-width);
    z-index: 3;
    background: #fafafa;
    min-height: 80vh;
    left: 0;
    width: var(--nav-width);
    border-right: 1px solid #eee;
    display: flex;
    top: 0;
    bottom: 0;
    position: fixed;
    overflow: auto;
    -webkit-transition: left 0.2s ease-out;
    -moz-transition: left 0.2s ease-out;
    -o-transition: left 0.2s ease-out;
    transition: left 0.2s ease-out;
    /* box-shadow: 0 1px 14px 0 rgba(0, 0, 0, 0.14);*/
}

#nav .close {
    display: none;
}

#nav > ul {
    display: block;
    height: auto;
    text-align: left;
    flex-direction: column;
    align-items: flex-start;
}

#nav ul > li {
    border-left: 4px transparent solid;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 4px;
}

#nav ul > li.selnav {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: #e1e1e1;
}

#nav ul > li:hover {
    background: #e1e1e1;
    transition: all 0.6s cubic-bezier(.25, .8, .25, 1);
}

#nav ul > li:hover a {
    color: #000;
    transition: all 0.6s cubic-bezier(.25, .8, .25, 1);
}

#nav ul > li a {
    display: inline-flex;
    align-items: center;
    margin: 0px;
    font-size: 0.9em;
    font-weight: 400;
    text-decoration: none;
    padding: 5px 10px;
    height: 40px;
    color: #666;
    transition: all 0.6s cubic-bezier(.25, .8, .25, 1);
    width: 100%;
}

#nav ul > li a img {
    width: 30px;
    margin-right: 20px;
    filter: grayscale(100%);
}

#nav ul > li.selnav a img {
    filter: brightness(0) invert(69%) sepia(30%) saturate(593%) hue-rotate(65deg) brightness(90%) contrast(87%);
}

#nav ul > li.selnav a {
    color: var(--color-primary);
    font-weight: 600;
    transition: all 0.6s cubic-bezier(.25, .8, .25, 1);
}

#nav ul > li a span.menu-number {
    margin: 0;
    margin-left: 4px;
    font-size: 10px;
    color: white;
    font-weight: 600;
    background: var(--color-primary);
    padding: 4px 6px;
    border-radius: 4px;
}

/* NAV END */

/* AVISOS DE PAGO */

span.iptsign {
    position: absolute;
    left: 7px;
    top: 5px;
    color: #999;
}

span.iptsign + input {
    padding-left: 15px !important;
}

/* END AVISOS DE PAGO */

/* LOGIN */


#loginwrap .bar .tablink.bgactive {
    background: transparent;
    color: #333;
}

#loginwrap {
    position: relative;
}

#loginwrap .bar {
    display: flex;
    z-index: 1;
    width: 100%;
    height: 50px;
    align-items: center;
    justify-content: center;
}

#loginwrap .bar .tablink {
    border: none;
    font-weight: 600;
    height: 100%;
    flex: 1 1 auto;
    outline: none;
    display: block;
    cursor: pointer;
    color: #777;
    background: #ccc;
    text-transform: uppercase;
    font-size: 1em;
}

.logintable form {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 90%;
}

#loginwrap .bar .tablink:last-child {
    border-radius: 0 10px 0 0;
}

#loginwrap .bar .tablink:first-child {
    border-radius: 10px 0 0 0;
}

#loginwrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-width: 310px;
    max-width: 510px;
    width: 60vw;
    box-shadow: 0 1px 14px 0 rgba(0, 0, 0, 0.14);
    margin: 30px auto;
    background: #fafafa;
    border-radius: 10px;
}

.logintable {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 320px;
    width: 90%;
    padding: 10px 0;
}

#profileform .logintable {
    height: 400px;
    width: auto;
    justify-content: space-between;
}

.logintable .loginline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.logintable .loginline > * {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    height: 56px;
}

#profileform .logintable .loginline .logintitem {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#loginwrap .logintable .loginitem > * {
    text-align: center;
}

.logininput {
    color: #454545;
    background: #FCFCFC;
    font-size: 14px;
    border: none;
    border-bottom: 1px solid #aaa;
    padding: 10px;
    width: 260px;
    border-radius: 4px;
}

.logininput:focus {
    border-bottom: 1px solid var(--color-primary);
}

.boxpos {
    min-height: 20px;
}

.boxpos .msgbox {
    color: red;
    text-align: center;
    width: 90%;
    line-height: 1.5em;
    margin: auto;
}

.msgbox {
    line-height: 2.5em;
    font-weight: 600;
}

.logininput::placeholder {
    color: #aaa;
}

.logintable .ischeckbox, .formcheckbox input[type="radio"] + label {
    margin: 0 5px;
    background: #fff;
    padding: 6px;
    font-size: 90%;
}

.logintable input[type="radio"] + label, .formcheckbox input[type="radio"] + label {
    border: 1px solid #bbb;
}

.logintable input[type="radio"]:checked + label, .formcheckbox input[type="radio"]:checked + label {
    background-color: var(--color-primary);
    color: #fff;
}

.logintable input[type="radio"], .formcheckbox input[type="radio"] {
    display: none;
}

#clientselectlogin {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 200px;
    min-width: 310px;
    width: 30vw;
    box-shadow: 0 1px 14px 0 rgba(0, 0, 0, 0.14);
    margin: 30px auto;
    background: #fafafa;
    border-radius: 14px;
}

#loginwrap .boxpos {
    margin: 15px 0;

}

#msgtoomanylogins {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: red;
    font-weight: bold;
    font-size: 1.1em;
    height: 100%;
    width: 80%;
    line-height: 1.7em;
    text-align: justify;
}

/* END LOGIN */

/* PEDIDOS Y FORMULARIOS */

#orderheader {
    flex: 100%;
    font-size: 0.7rem;
}

.tableh, .tabler, .tablef {
    color: #333;
    display: inline-flex;
    padding: 0;
    min-height: 25px;
    justify-content: space-between;
    align-items: center;
}

.tableh > *, .tabler > *, .tablef > * {
    flex: 1 1 100px;
}

.orders-detail .tableh > *,
.orders-detail .tabler > *,
.orders-detail .tablef > * {
    flex: 1 1 75px;
}

.tableh .flexcenter, .tabler .flexcenter, .tablef .flexcenter {
    gap: 4%;
}

.tableh {
    border-bottom: 1px solid #999;
    position: sticky;
    width: 100%;
    background: #fafafa;
    top: var(--height-header-top);
}

.tabler:nth-child(even) {
    background: #f3f3f3;
}

.tabler:nth-child(odd) {
    background: #fdfdfd;
}

.tabler.aligntop {
    align-items: flex-start;
}

.firstcolshort .tabler > :first-child {
    width: 30%;
    max-width: 250px;
}

.notflexgrow {
    flex-grow: 0 !important;
}

.joincols {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.flete_text {
    min-width: auto !important;
    white-space: nowrap;
    padding: 5px;
    color: white;
    text-align: center;
    font-weight: bold;
    margin-left: auto;
    float: right;
}

#flete_free_text {
    background-color: green;
}

#flete_pay_text {
    background-color: red;
}

.joincols > *.aligncenter {
    display: flex;
    align-items: center;
    gap: 2%;
}

.joincols > * {
    line-height: 1.4em;
    margin: 0 5px;
    flex: 0 1 auto;
    width: 70%;
}

#accountlistitems > * > * {
    flex: 1 1 60px;
}
/* MODAL */
.quiwin {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 700px;
    width: 50%;
    min-width: 320px;
    background: #fff;
    position: relative;
    font-size: 20px;
    padding: 30px;
    overflow: auto;
    max-height: 80vh;
}

.modal-wrap {
    position: fixed;
    left:0px;
    bottom: 0px;
    top:0;
    right: 0;
    background: rgba(0,0,0,0.3);
    font-size: 13px;
    text-align: center;
    padding: 2px 8px 8px 8px;
    z-index: 10;
    color: #FFF;
    line-height: 1.22;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-wrap * {color: #000;}
.modal-wrap a {color: var(--color-secondary); font-weight: bold;}
.modal-wrap a.btn {color: #fff;padding: 20px;}
.modal-wrap .btn.btnsmall {
    font-size: 14px;
    padding: 10px;
    height: auto;
}
.cpc {text-align: center;position: absolute;right: 0;top:0;z-index: 11;cursor: pointer;padding: 6px;background: rgba(0,0,0,0.9); color: #fff; font-size: 30px;font-weight: bold;}
/* MODAL END */

/* MODAL PENDIENTES EN PEDIDOS */

.btn.pendingbtn {
    height: unset;
    padding: 4px 10px;
}

#modal-pendientes .quiwin {
    width: 80%;
    margin: 0 auto;
    border-radius: 10px;
    font-size: 14px;
}

#modal-pendientes .m-body {
    width: 100%;
}

#modal-pendientes .m-body .datalist .pending-items {
    display: unset;
}

.modal-wrap#modal-pendientes .btn {
    padding: 0 10px;
    color: #fff;
    font-weight: bold;
}
/* MODAL PENDIENTES EN PEDIDOS END */

#pendientes_precart {
    width: 100%;
    overflow: auto;
    max-height: calc(100vh - 260px);
}

#pendientes_precart .tabler {
    padding: 5px;
    width: 100%;
}

#pendientes_precart .tabler > *:first-child {
    flex: 0 0 20px;
}

#pendientes_precart .tabler > *:nth-child(2) {
    flex: 1 1 300px;
}

#pendientes_precart .tabler > *:nth-child(2) > *:first-child {
    width: 80px;
}

#pendientes {
    width: fit-content;
}

#pendientes .tableh > *, #pendientes .tabler > *, #pendientes .tablef > * {
    flex: 1 1 160px;
}

#pendientes .tableh .verysmallcol, #pendientes .tabler .verysmallcol, #pendientes .tablef .verysmallcol {
    flex: 0 1 20px;
    width: 20px;
}

#pendientes .tableh .smallcol, #pendientes .tabler .smallcol, #pendientes .tablef .smallcol {
    flex: 0 1 50px;
    width: 50px;
}

#pendientes .tableh .mediumcol, #pendientes .tabler .mediumcol, #pendientes .tablef .mediumcol {
    flex: 0 1 80px;
    width: 80px;
}

#pendientes .tableh .largecol, #pendientes .tabler .largecol, #pendientes .tablef .largecol {
    flex: 1 1 120px;
    overflow-wrap: anywhere;
}

#pedidolistitems {
    font-size: 0.9em;
}

#pedidolistitems .joincols > *, #cart .joincols > *, #articleslist_prices .joincols > * {
    width: auto;
}

#suggestionspedido #suggestionspedidoList #pedidolistitems .joincols:nth-child(1) > *:nth-child(3) {
    width: auto;
    margin: 0px;
}

#suggestionspedido #suggestionspedidoList #pedidolistitems .joincols:nth-child(1) > *:nth-child(1) {
    width: 40px;
    margin: 0px;
    min-width: unset;
}

#suggestionspedido #suggestionspedidoList #pedidolistitems .joincols:nth-child(1) > *:nth-child(2) {
    width: 70px;
    margin: 0px;
    min-width: unset;
}

#pedidolistitems .joincols:nth-child(1) > *:nth-child(2) {
    width: auto;
    margin: 0px;
}

#pedidolistitems .joincols:nth-child(1) > *:nth-child(1) {
    min-width: 80px;
    width: auto;
    margin: 0px;
}

#pedidolistitems.ecom .joincols:first-child > * {
    width: auto;
}

#pedidolistitems.ecom .joincols:nth-child(2) > * {
    width: 70%;
}

#pedidolistitems.ecom li div:nth-child(2) {
    justify-content: center;
    display: flex;
}

#pedidolistitems.ecom .joincols *.qtyipt {
    width: 70px;
}

#articleslist_prices li a > div:nth-child(1) {
    flex: 1 1 260px;
    min-width: 50px;
}

#articleslist_prices li a > div:nth-child(2) {
    flex: 1 0 30px;
    text-align: right;
    margin-right: 10px;
}

#pedidodetail {

}

#pedidodetail li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dotted #ddd;
}

#pedidodetail li div {
    background: #fefefe;
}

.dispatch-data .trackeoicon {
    vertical-align: middle;
    margin-top: -5px;
    margin-left: 10px;
    width: 24px;
}

.dispatch-data .colorblue {
     color: #1f72aa;
}

.dispatch-data .dispatch-code {
    display: inline;
}

.totalpedido {
    flex: 0 1 100px;
}

.ftlc {
    font-size: 12px;
    color: #FFF;
    height: 30px;
    line-height: 30px;
    width: 220px;
    font-weight: 600;
    background: #F09B4E;
    padding-right: 4px;
}

#stockstates {
    font-size: 11px;
    height: 13px;
    margin-top: 5px;
    display: flex;
    align-items: center;
}

#stockstates * {
    margin-right: 6px;
    height: 100%;
}

#pedidos-container {
    display: flex;
    font-size: 12px;
    flex-wrap: wrap;
    height: calc(100vh - 190px);
}

#pedidos-container > #prod_sidelist {
    height: auto;
    max-height: 100%;
}

#filters_wrap {
    margin: 5px;
}

#filters_wrap #filter_form {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}

body #mainform.pedidosfinalizar #nuevo_lugarentrega {
    flex-wrap: wrap;
}

body #mainform.pedidosfinalizar select, body #mainform.pedidosfinalizar #nuevo_lugarentrega input {
    width: auto;
}

body #mainform.pedidosfinalizar select {
    margin-top: 0px;
}

#envio_dds {
    display: none;
}

.paddingtopbottom {
    padding-top: 10px;
    padding-bottom: 10px;
}

#pedidos-container > div {
    border-radius: 10px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#pedidos-container #suggestionspedido {
    display: flex;
    overflow: auto;
    height: 93%;
}

#envio-detail-container {
    margin: 10px 0;
}

#envio-detail-container > * {
    margin: 10px 0;
}

#suggestionspedido #suggestionspedidoList {
    width: 100%;
}

#suggestionspedido #suggestionspedidoList ul {
    overflow: hidden;
    list-style: none;
}

#suggestionspedido #suggestionspedidoList li {
    padding: 0;
    font-size: 12px;
}

#suggestionspedido #suggestionspedidoList li a {
    padding: 5px 0 5px 0px;
    display: flex;
    border-bottom: 1px dotted #ddd;
}

#cart {
    overflow: hidden;
    height: 95%;
}

#cart #carthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 24px;
    margin-botton: 2px;
}

#cart .cartmsgbox {
    font-weight: bold;
}

.highliteditemincart {
    background: rgba(165, 171, 76, 0.5);
}

.highliteditem {
    background: rgba(0, 255, 0, 0.5);
}

.yellow {
    color: #a5ab4c;
}

.colorblack {
    color: #000 !important;
}

.green {
    color: green;
}

.red {
    color: red;
}

.redbg {
    background: rgba(255, 0, 0, 0.3) !important;
}

#salesman_client_form_top {
    width: 100%;
}

#clientselect, #clientselectlogin .select2-client {
    max-width: 96%;
}

.select2-results__option {
    text-align: left;
}

#cartlist, #cartlist form {
    overflow: auto;
    height: 97%;
}

#cartlist ul {
    overflow: auto;
    height: calc(100% - 70px);
    margin: 0 0 10px 0;
}

.pap-container #cartlist ul {
    height: auto;
}

.pap-container #cartlist .forminform {
    margin: 8px 0;
    border: 1px solid #eee;
    border-radius: 10px;
}

.pap-container #cartlist h4 {
    margin-bottom: 0;
}

#cartlist ul li {
    display: flex;
    align-items: center;
    padding: 2px 0;
    border-bottom: 1px dotted #ddd;
}

#cartlist ul li div {
    overflow: hidden;
}

#cartlist ul li > div:nth-child(1) a {
    background: url(../images/icons/delicon.png) left center no-repeat;
    background-size: 18px;
    padding: 12px;
}

#cartlist ul li > div:nth-child(1) {
    flex: 0 1 70px;
}

#cartlist ul li > div:nth-child(2) {
    flex: 1 1 260px;
    min-width: 50px;
}

#cartlist ul li > div:nth-child(3) {
    flex: 1 0 30px;
    text-align: right;
    margin-right: 10px;
}

#cartlist ul li > div:nth-child(4) {
    flex: 0 0 35px;
}

#cartactions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

#cart_total {
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.qtyipt {
    font-size: 12px;
    height: 30px;
    border: 1px solid #F09B4E;
    padding: 5px 3px;
    width: 95%;
    border-radius: 4px;
    color: #454545;
    text-align: center;
}

.qtyipt.saveok {
    background: rgba(var(--color-primary-rgb), 1);
    color: #fff;
}

#cartlist.cart_prices ul > li > div:nth-child(3) {
    justify-content: flex-end;
}

#cartlist.cart_prices ul > li > div:nth-child(3) > div {
    flex: 0 1 50px;
    width: 50px;
    text-align: right;
}

#cartlist.cart_prices ul > li > div:nth-child(3) > div:nth-child(1) {
    flex: 0 0 70px;
    min-width: 50px;
    text-align: right;
}

#cartlist.cart_prices ul > li > div:nth-child(3) > div:nth-child(2) {
    flex: 0 0 70px;
    min-width: 50px;
    text-align: center;
}

#cartlist.cart_prices ul > li > div:nth-child(3) > div:nth-child(3) {
    flex: 0 0 30px;
    text-align: right;
}

.pricesmall {
    font-size: 0.8em;
    color: #666;
}

.prodstatus {
    background-position: left;
    background-repeat: no-repeat;
    background-size: contain;
    padding-left: 16px;
}

.prodstatuscart {
    background-position: 21px center;
    background-repeat: no-repeat;
    background-size: 12px;
    display: flex;
    align-items: center;
}

.prodstatusarticles {
    background-position: left;
    background-repeat: no-repeat;
    background-size: 12px;
    padding-left: 20px;
    color: #333;
}

.greenavail {
    background-image: url('../images/icons/addicon.png');
}

.yellowavail {
    background-image: url('../images/icons/addicon-yellow.png');
}

.notavail {
    background-image: url('../images/icons/notavail.png');
}

#confirmar {
    max-width: 1200px;
}

#confirmar h4 {
    margin-bottom: 5px;
}

#orderecom_detail_wrap > * {
    line-height: normal;
}

/* END PEDIDOS Y FORMULARIOS */

#invoiceform input {
    height: 25px;
    max-width: 38%;
    width: auto;
    font-size: 12px;
}

#mainform input:not(.btn), #mainform textarea, #mainform select, .mainform input:not(.btn), .mainform textarea, .mainform select {
    resize: none;
    color: #454545;
    background: #FCFCFC;
    font-size: 14px;
    border: 1px solid #F09B4E;
    padding: 6px 6px;
    width: 100%;
    border-radius: 4px;
    color: #454545;
}

#mainform input[type=checkbox] {
    margin: 0 10px;
    background: #fff;
    padding: 10px;
    width: auto;
}

#mainform .labrow {
    margin: 5px 0;
}


/* TOOLTIP */

.tooltip {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.tooltip img {
    width: 20px;
}

.tooltip img + span {
    font-size: 9px;
    border: 1px solid #000;
}

.tooltip .tooltiptext {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    font-size: 11px;
    visibility: hidden;
    width: auto;
    white-space: nowrap;
    background-color: #fff;
    color: #000;
    text-align: left;
    border-radius: 6px;
    padding: 5px 10px;
    line-height: 1.5rem;
    top: -30px;
    /* right: -106px; */
    left: 37px;
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
}

.tooltip .tooltiptext.right0 {
    right: 0;
    left: unset;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

/* END TOOLTIP */

/* FOOTER */

footer {
    background: #777;
    padding: 30px;
    box-shadow: 0 1px 14px 0 rgba(0, 0, 0, 0.14);
}

#footer {
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
    align-items: stretch;
    color: #fff;
    flex-wrap: wrap;
}

#footer > * {
    padding: 5% 20%;
}

#footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#footer .capital {
    color: #ccc;
    font-weight: 600;
}

#footer ul li {
    padding: 10px 0;
}

#footer ul li a {
    color: #fff;
}

.iconleft {
    padding-left: 30px;
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: left center;
}

.mailicon {
    background-image: url("../images/icons/contact-white.png");
}

.facebookicon {
    background-image: url("../images/icons/fb.png");
}

.instagramicon {
    background-image: url("../images/icons/instagram.png");
}

.youtubeicon {
    background-image: url("../images/icons/youtube.png");
}

/* FOOTER END */

.brand-item {
    height: 200px;
    width: 100%;
    margin: auto;
    padding: 5%;
}

.brand-item:hover {
    filter: none;
}


#bread {
    padding: 20px 0;
    font-size: 1em;
    line-height: 2em;
}

#bread * {
    color: var(--color-primary);
}

/* cardS */

.card-list {
    justify-content: center;
    width: 100%;
    min-height: 400px;
    display: grid;
    grid-template-columns: repeat(var(--n-columns-4), 1fr);
    grid-auto-rows: 200px;
    align-items: center;
    justify-items: center;
}


.card-item {
    height: 90%;
    width: 90%;
    color: #333;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    padding: 10px;
}


.card-item .photo-item {
    margin-top: 10px;
    width: 50px;
    height: 50px;
}

.card-item .photo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(69%) sepia(30%) saturate(593%) hue-rotate(65deg) brightness(90%) contrast(87%);
}

.card-item > * {
    width: 100%;
}

.card-item .name-item {
    color: #444;
    font-size: 1.2em;
    width: 100%;
    font-weight: 600;
    line-height: 1.2em;
    text-align: center;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-item .data-item {
    color: #888;
    height: 21px;
    font-size: 1.1em;
    width: 100%;
    font-weight: 400;
    line-height: 1.2em;
    text-align: center;
    margin: 0px auto;
}

.ccard-item .text-item {
    width: 50%;
}

.ccard-item {
    flex-direction: row;
    padding: 0 35px;
}

.ccard-item .photo-item {
    flex: 1 1 20%;
    padding-right: 15%;
}

.ccard-item .text-item {
    flex: 1 1 60%;
}

.ccard-item .text-item * {
    text-align: left;
}

.category-list .card-item .name-item {
    text-align: left;
}

.price-item {
    color: var(--color-primary);
    font-size: 2.5em;
    font-weight: 500;
    margin-bottom: 10px;
}

#cards-filters {
    width: 300px;
    min-height: 400px;
    position: relative;
    padding: 0px 20px 0 0;
}

/* Filtros Ocultables en desktop - seguirlo trabajando */

/*
#cards-filters {
	width: 300px;
	min-height: 400px;
	position: relative;
	padding: 0px 20px 0 0;

	z-index: -1;
    height: auto;
    display: block;
    top: 0;
    position: relative;
    overflow: scroll;
    -webkit-transition: left 0.2s ease-out;
    -moz-transition: left 0.2s ease-out;
    -o-transition: left 0.2s ease-out;
    transition: left 2s ease-out;
    background: #eee;
    z-index: 2;
    padding-left: 20px;
}

#cards-filters.active {
	left: 0;
	width: 0;
	z-index: -1;
	padding: 0;
}
#cards-filters .close {
	display: block;
    position: absolute;
    right: 20px;
    top: 20px;
}
.filtertoggle {
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    text-align: center;
    margin: auto;
}
*/

.btn, form.mainform input[type=submit].btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    text-align: center;
    padding: 2px 10px;
    height: 30px;
    margin: 10px 5px;
    background-color: var(--color-secondary);
    border-radius: 5px;
    color: #fff;
    font-size: 1.1em;
    border: none;
    outline: none;
    cursor: pointer;
    vertical-align: middle;
}

.btn.disabledbtn, .btn.disabledbtn:hover, .btn.nonclickable {
    background-color: grey;
}

.btn * {
    margin: 0 4px;
}

.btn i {
    font-size: 20px;
}

.btn:hover {
    background-color: var(--color-primary);
}

/* card DETAIL END */

/* SLIDER */

#slideshowwrap {
    position: absolute;
    height: 280px;
    overflow: hidden;
    background-color: #444;
    width: var(--mainwidth);
}

.slide {
    height: 180px;
    overflow: hidden;
    position: relative;
    background-color: #444;
}

#slidewrap {
    height: 100%;
}

.slick-slide {
    position: relative;
}

.slidecaptionwrap {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    max-width: 70%;
    color: #fff;
    margin: auto;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.slidecaptionwrap * {
    text-align: center;
}

#slideshowwrap img {
    filter: brightness(0.5);
    object-fit: cover;
    transform: scaleX(-1);
}

.slidecaption {
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    font-size: calc(1rem + 2vw);
    line-height: calc(2rem + 0.5vw);
    background: rgba(0, 0, 0, 0.5);
    padding: 1vw;
    margin-bottom: 40px;
}

.slidecaptionsub {
    font-weight: 700;
    color: #fff;
    font-size: calc(0.8rem + 1vw);
    line-height: 1rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 1vw;
}

.slide img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* SLIDER END */

/* OTHER */

#filter_form {
    display: inline;
}

#filter_form #client_code_select {
    width: 320px;
}

#filter_form input {
    height: 28px;
    width: 80px;
    padding: 2px;
}

#fabwrapper {
    position: fixed;
    bottom: 5vh;
    right: 5vw;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

#fabwrapper > * {
    margin: 10px 0;
}

#fab {
    border-radius: 50px;
    background-image: url('../images/icons/cart-white.png');
    background-color: var(--color-secondary);
    background-position: center center;
    background-size: 30px;
    background-repeat: no-repeat;
    padding: 30px;
    width: 50px;
    display: flex;
    align-items: center;
    color: #fff;
}

#return-to-top {
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 1);
    padding: 30px;
    display: none;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

#return-to-top i {
    color: var(--color-secondary);
    margin: 0;
    position: relative;
    font-size: 45px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#progress-bar-wrap {
    margin: 20px 0;
    /*	width: 80%; */
    min-width: 320px;
    display: flex;
    flex-direction: column-reverse;
}

#progress-bar {
    width: 100%;
    height: 20px;
    background: #ccc;
    border-radius: 10px;
}

#progress-bar-fill {
    border-radius: 10px;
    height: 100%;
    background: green;
}

#progress-bar-states {
    heisght: 40px;
    margin-top: 10px;
    font-size: 0.8em;
    display: flex;
    justify-content: space-between;
    position: relative;
}

#progress-bar-states span {
    line-height: 1.5em;
    display: inline-block;
    width: 10%;
    text-align: center;
    positiond: absolute;
}

#progress-bar-states > *:first-child {
    text-align: left;
}

#progress-bar-states > *:last-child {
    text-align: right;
}

/* END OTHER*/

/* SORT */

.sort_a {
    background: url(images/sort-up.svg) no-repeat 95% center;
    filter: saturate(0) invert(.3);
}

.sort_d {
    background: url(images/sort-down.svg) no-repeat 95% center;
    filter: saturate(0) invert(.3);
}

.sort {
    background: url(images/sort.svg) no-repeat 95% center;
    filter: saturate(0) invert(.7);
}

.sort a, .sort a {
    color: #ccc;
    margin-right:12px;
    width: 100%;
    display: block;
}

/* END SORT */

/* PAGINATION */
ul.pagination {
    display: inline-block;
    padding: 0;
    margin: 0;
}

ul.pagination li {
    display: inline;
}

ul.pagination li a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #ddd;
    margin: 3px 5px;
}

ul.pagination.less-pages li a {
    margin: 5px 0;
}

ul.pagination li a.active {
    background-color: var(--color-primary);
    color: white;
    border: 1px solid var(--color-primary);
}

ul.pagination li a:hover:not(.active) {
    background-color: #ddd;
}

.tab-content {
    padding-top: 20px;
}

.tab-content form {
    max-width: 100%;
    width: 100%;
    margin: auto;
}


#tabs-nav li {
    margin-right: 10px;
    margin-top: 5px;
}

#tabs-nav li a {
    color: var(--color-secondary);
    border: 1px solid transparent;
    padding: 8px 12px;
    border-bottom: none;
}

#tabs-nav li.active a {
    color: gray;
    border-color: lightgrey;
}

/* END PAGINATION */

/* MOBILE */

@media screen and (max-width: 1200px) {
    .mid {
	width: 98%;
	min-width: unset;
    }

    .card-item .name-item {
	font-size: 1.2em;
	margin: 0px 0;
	padding: 10px 0;
    }

    .card-item .data-item {
	font-size: 1.1em;
	margin: 0px 0;
	height: 20px;
    }
}

@media screen and (max-width: 991px) {
    .card-list {
	justify-content: center;
	/*grid-template-columns: repeat(auto-fit, minmax(200px, 250px));*/
    }

    .card-item .photo-item {
	width: 50px;
	height: 50px;
	margin-top: 0;
    }

    .card-item .name-item {
	font-size: 1.1em;
	margin: 0px 0;
    }

    .card-item .data-item {
	font-size: 1em;
	margin: 0px 0;
	height: 20px;
    }

    #cards-filters {
	height: 100%;
	left: -100%;
	width: 100%;
	display: block;
	top: 0;
	bottom: 0;
	position: fixed;
	overflow: scroll;
	-webkit-transition: left 0.2s ease-out;
	-moz-transition: left 0.2s ease-out;
	-o-transition: left 0.2s ease-out;
	transition: left 0.2s ease-out;
	background: #eee;
	z-index: 2;
	padding-left: 20px;
    }

    #cards-filters.active {
	left: 0;
	width: 100%;
	z-index: 2;
    }

    #cards-filters .close {
	display: block;
	position: absolute;
	right: 20px;
	top: 20px;
    }

    .filtertoggle {
	padding: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: fit-content;
	text-align: center;
	margin: auto;
    }

    :root {
	--n-columns-3: 2;
	--n-columns-4: 2;
	--n-columns-6: 4;
	--height-nav: 0px;
	--height-header-top: 50px;
    }

    .mid {
	width: 98%;
	margin: 0 auto;
    }

    h1 {
	font-size: 1.2em;
    }

    h2 {
	font-size: 1.1em;
    }


    #header-top h3 {
	display: none;
    }

    #header-top #logo {
	width: 90px;
	margin: 0 7px;
    }

    #slideshowwrap {
	width: 100%;
    }

    #nav.active {
	left: 0;
    }

    #nav {
	position: fixed;
	height: 100%;
	left: calc(-1 * var(--nav-width));
    }

    #nav .close {
	position: absolute;
	right: 15px;
	top: 15px;
	color: #000;
	font-size: 1em;
	display: block;
	z-index: 10;
    }

    a.menutoggle {
	display: block;
	background-image: url('../images/icons/burguer.png');
	background-position: center;
	background-size: 28px;
	background-repeat: no-repeat;
	width: var(--height-header-top);
	max-width: var(--height-header-top);
	height: var(--height-header-top);
    }

    [class*="col"]{
	margin: 5px 0;
	width: 100%;
    }

    #area-clientes-top .back {
	width: 25px;
    }

    #maincontainer {
	padding: 0;
    }

    #card-detail-wrap .card-cols {
	flex-direction: column;
    }

    #card-detail-wrap .card-cols #card-picture {
	flex: 0;
	height: 300px;
    }

    .card-list {
	grid-auto-rows: 180px;
    }

    #pedidos-container {
	height: calc(100vh - 200px);
    }

    #pedidos-container > div {
	margin: 5px 0;
	padding: 5px;
    }

    #pedidos-container > div:first-child {
	max-height: 70%;
    }

    .itemdetail > div > div:nth-child(1) {
	width: 200px;
	margin-bottom: 0px;
    }

    .itemdetail > div > div:nth-child(2) {
	flex: 1 1;
	margin-bottom: 0px;
    }

    .joincols {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin: 0;
    }

    .joincols > *:nth-child(1) {
	font-size: 0.8em;
	padding: 5px 0;
    }

    .joincols.tabler > *, .joincols.tablef > *, .joincols.tableh > * {
	flex: 0;
    }

    .joincols * {
	text-align: left;
    }

    #cartlist.cart_prices ul > li > div:nth-child(3) {
	flex: 0 0 60px;
	width: 60px;
    }

    #cartlist.cart_prices ul > li > div:nth-child(3) > div {
	flex: 0 !important;
    }

    .hidecols {
	display: none;
    }

    #pendientes .tableh .verysmallcol, #pendientes .tabler .verysmallcol, #pendientes .tablef .verysmallcol {
	flex: 0 0 auto;
    }

    #pendientes .tableh .smallcol, #pendientes .tabler .smallcol, #pendientes .tablef .smallcol {
	flex: 0 0 auto;
    }

    #pendientes .tableh .mediumcol, #pendientes .tabler .mediumcol, #pendientes .tablef .mediumcol {
	flex: 0 0 auto;
    }

    #pendientes .tableh .largecol, #pendientes .tabler .largecol, #pendientes .tablef .largecol {
	flex: 0 0 auto;
    }

    #pendientes .joincols > * {
	line-height: 1.4em;
	margin: 0 5px;
	flex: 0 1 auto;
	width: auto;
    }

    .firstcolshort .tabler > :first-child {
	width: auto;
	max-width: unset;
    }

    #progress-bar-wrap {
	width: 100%;
	min-width: 320px;
    }

    .notmobile {
	display: none;
    }

    .datalist .tooltip {
	display: none;
    }
}

@media screen and (max-width: 768px) {
    #header-top #namecolor {
	font-size: 0.8em;
    }

    #header-top .logout {
	flex: 0 0 30px;
    }

    .tableh > *, .tabler > * {
	flex: 1 1 50px;
    }

    #maincontent h2 {
	text-align: left;
    }

    .totalpedido {
	flex: 0 1 76px;
    }

    #profileform .logintable {
	height: 450px;
    }

    #msg_dis_top {
	top: 10px;
	padding: 10px;
	width: auto;
	text-align: center;
    }

    #modal-pendientes .quiwin {
	width: 90%;
	margin: 0 auto;
	border-radius: 10px;
	font-size: 12px;
    }

    div.sm-hidden {
	display: none;
    }
}

@media screen and (max-width: 480px) {
    :root {
	--n-columns-3: 1;
	--n-columns-4: 2;
	--n-columns-6: 3;
    }

    .clicktr, .clickth {
	font-size: 11px;
	padding: 0;
    }

    #header-top #header-icons a.login-top span {
	white-space: pre-wrap;
	margin: 0 5px;
	font-size: 11px;
    }

    #header-top #header-icons a {
	padding: 0;
    }

    #header-top #header-icons a.cart-icon-top span {
	right: 4px;
    }

    #area-clientes-top #general-info {
	font-size: 0.8em;
    }

    .joincols.tabler > *, .joincols.tablef > *, .joincols.tableh > * {
	width: 95%;
    }

    h1 {
	font-size: 1.1em;
    }

    h2 {
	font-size: 1.0em;
    }

    .datalist > * {
	font-size: 0.7em;
    }

    .card-item .photo-item {
	width: 40px;
	height: 40px;
    }

    .card-item .name-item {
	font-size: 1em;
    }

    .card-item .data-item {
	font-size: 0.9em;
    }

    #cartlist ul li > div:nth-child(1) {
	flex: 0 1 52px;
    }

    #cartlist ul li > div:nth-child(3) {
	flex: 1 0 50px;
	margin-right: 3px;
	overflow: visible;
    }
}

a.big-link {
    font-size: 18px;
}

a.big-link.orange {
    color: var(--color-secondary);
}

a.big-link.green {
    color: var(--color-primary);
}

a.logout img {
    height: 100%
}


.bordered-datalist-item {
    border: 1px solid;
    border-radius: 10px;
    border: 1px solid var(--color-primary);
}
.datalist div.notification-html {
    padding: 15px;
    display: block;
}

.datalist div.datalist-item {
    display:block;
}

.no-view {
    color: black;
}

.menubox-alert {
    background: var(--color-primary);
    color: white;
    padding: 4px 6px;
    border-radius: 4px;
}

/* SPINNER */

.lds-ring-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 9;
}

.lds-ring,
.lds-ring div {
    box-sizing: border-box;

}

.lds-ring {
  display: none;
  width: 32px;
  height: 32px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
}

.lds-ring.fade-in {
    display: block;
}

.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 32px;
  height: 32px;
  margin: 8px;
  border: 6px solid var(--color-primary);
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: var(--color-primary) transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* END SPINNER */
