.panel-data {
    padding: 8px;
}

.content {
    position: relative;
}

.content .panel-items.page.show {
    -position: absolute;
    -top: 0;
    -left: 0;
    -right: 0;
    -bottom: 0;
    opacity: 1;
}

.content .panel-items .item {
    padding: 8px;
    margin-bottom: 2px;
    border: 1px solid transparent;
    border-bottom: 1px solid #eee;
	min-width: 460px;
}

.content .panel-items.page.hide {
    transition: all 0.5s;
    -webkit-transform: translate(100%, 0);
    transform: translate(100%, 0);
    visibility: hidden;
    opacity: 0;
}

.content .panel-items .label-empty {
    text-align: center;
    margin-top: 16px;
    font-size: medium;
}

.panel-header .input-search {
	font-size: medium;
    width: 100%;
    margin-bottom: 4px;
}

.panel-header .panel-content-caption {
    display: -webkit-box;	/* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;		/* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;	/* TWEENER - IE 10 */
	display: -webkit-flex;	/* NEW - Chrome */
	display: flex;
    border-bottom: 2px solid orange;
    margin-bottom: 2px;
}

.panel-header .panel-content-caption .panel-caption {
    margin: auto 16px;
	width: 100%;
}

.panel-header .panel-content-caption .panel-caption .label-caption {
    font-size: large;
    font-weight: bold;
    height: 18px;
}

.panel-header .panel-content-caption .panel-caption .label-subcaption {
    font-size: small;
    height: 12px;
    padding-top: 2px;
}

.panel-header .panel-content-caption .img-view {
    cursor: pointer;
    width: 32px;
    height: 32px;
    padding: 4px;
}

.panel-header .panel-content-caption .img-view:hover {
	background: orange;
}

.panel-header .panel-content-caption .list-order {
	
}

.panel-header .panel-content-caption .panel-icon {
    padding: 8px;
    background: orange;
    cursor: pointer;
}

.panel-footer {
    display: -webkit-box;	/* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;		/* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;	/* TWEENER - IE 10 */
	display: -webkit-flex;	/* NEW - Chrome */
	display: flex;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

/* command-filter */
.command-filter.panel-items {
    min-width: 400px;
    width: 80%;
    background: #4e4e4e;
}

.command-filter .label-empty {
    background: white;
}

.command-filter .item {
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 2px;
    cursor: pointer;
    color: white;
    cursor: pointer;
}

.command-filter .item .label-date {
    padding: 8px;
}

.command-filter .item .label-des {
    padding-left: 8px;
    font-size: x-small;
}

.command-filter .item .label-obs {
    padding-left: 8px;
    padding-top: 8px;
    font-size: x-small;
}

.command-filter .item:hover {
	text-decoration: underline;
}

/* command */
.flex .command .items {
	display: -webkit-box;	/* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;		/* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;	/* TWEENER - IE 10 */
	display: -webkit-flex;	/* NEW - Chrome */
	display: flex;
	-ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.flex .command .item {
    margin: 2px;
    border: 1px solid #eee;
    border-radius: 4px;
}

.flex .command .item.odd {
    background: inherit;
}

.command .item {
    font-size: medium;
}

.command .item.odd {
    background: #fffbfa;
}

.command .footer {
    display: -webkit-box;	/* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;		/* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;	/* TWEENER - IE 10 */
	display: -webkit-flex;	/* NEW - Chrome */
	display: flex;
    margin: auto;
    padding: 16px;
}

/* filter */
.filter.panel-items {
    min-width: 400px;
    width: 80%;
    background: #4e4e4e;
    height: 100%;
}

.filter .label-empty {
    background: white;
}

.filter .item {
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 2px;
    cursor: pointer;
    color: white;
    cursor: pointer;
    display: -webkit-box;	/* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;		/* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;	/* TWEENER - IE 10 */
	display: -webkit-flex;	/* NEW - Chrome */
	display: flex;
}

.filter .item .label {
	-ms-flex: 1;
    flex: 1;
    padding: 8px;
    margin: auto;
}

.filter .item:hover {
	text-decoration: underline;
}

/* articles */
.flex .articles .item {
    margin: 2px;
    border: 1px solid #eee;
	border-radius: 4px;
}

.flex .articles .items {
    display: -webkit-box;	/* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;		/* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;	/* TWEENER - IE 10 */
	display: -webkit-flex;	/* NEW - Chrome */
	display: flex;
	-ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.articles .item.hide {
    transition: all 0.5s;
    -webkit-transform: translate(100%, 0);
    transform: translate(100%, 0);
    visibility: hidden;
}

.articles .item.select {
    border: 1px solid green;
}

.articles .item .content {
	display: -webkit-box;	/* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;		/* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;	/* TWEENER - IE 10 */
	display: -webkit-flex;	/* NEW - Chrome */
	display: flex;
	margin-left: 60px;
	margin-right: 60px;
}

.articles .item img {
    vertical-align: middle;
    padding: 4px;
}

.articles .item .img-less, .articles .item .img-more {
	cursor: pointer;
}

.articles .item .img-less:hover, .articles .item .img-more:hover {
    background: orange;
}

.articles .item .label-article {
    margin-bottom: 8px;
    font-size: medium;
}

.articles .item .label-art {
    font-size: xx-small;
}

.articles .item .label-units {
	position: absolute;
	text-align: center;
	width: 60px;
	color: black;
}

.articles .item .label-units.hide {
	font-size: x-large;
	visibility: hidden;
	transition: all 0.5s;
	-webkit-transform: translate(100%, -100%);
	transform: translate(100%, -100%);
}

.articles .item .input-unit {
    width: 80px;
    font-size: medium;
    text-align: center;
    margin: auto 16px auto 16px;
}

.articles .item .img-shopping {
	position: absolute;
	visibility: hidden;
	-webkit-transform: translate(250%, -100%);
	transform: translate(200%, -100%);
}

.articles .item .img-shopping.show {
	transition: all 0.5s;
	visibility: visible;
	opacity: 1;
}

.articles .item .img-shopping.hide {
	transition: all 0.5s;
	opacity: 0;
	visibility: hidden;
}

.articles .item .label-remove {
    text-decoration: underline;
    color: blue;
    cursor: pointer;
    margin: auto 16px auto 16px;
}

.articles .item .panel-price {
    -ms-flex: 1;
    flex: 1;
    text-align: right;
    position: relative;
}

.articles .item .label-price {
    font-size: large;
    color: white;
    background: green;
    padding: 8px;
    border-radius: 8px;
    text-align: center;
}

.articles .item .panel-price .panel-price-uni {
    float: right;
    width: 100px;
}

.articles .item .label-descompte {
    background: red;
    color: white;
    position: absolute;
    top: -16px;
    padding: 4px;
    border-radius: 8px;
    right: -16px;
}

.articles .item .label-price-uni {
    font-size: x-small;
}

.articles .item.total {
    text-align: right;
    margin-right: 60px;
    font-weight: bold;
}

.articles .group {
    display: -webkit-box;	/* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;		/* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;	/* TWEENER - IE 10 */
	display: -webkit-flex;	/* NEW - Chrome */
	display: flex;
    background: black;
    color: white;
    padding: 8px;
}

.articles .group .label-caption {
    -ms-flex: 1;
    flex: 1;
}

.articles .group .label-total {
    margin-right: 60px;
}

.articles .footer {
    display: -webkit-box;	/* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;		/* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;	/* TWEENER - IE 10 */
	display: -webkit-flex;	/* NEW - Chrome */
	display: flex;
    margin: auto;
    padding: 16px;
}

/* options */
.option {
	-ms-felx: 1;
    flex: 1;
    display: -webkit-box;	/* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;		/* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;	/* TWEENER - IE 10 */
	display: -webkit-flex;	/* NEW - Chrome */
	display: flex;
    margin: 16px;
    border: none;
    box-shadow: 4px 4px 4px #CFD8DC;
    padding: 8px 16px 8px 16px;
    background: #ECEFF1;
    transition: all 0.3s;
    cursor: pointer;
}

.option .label-caption {
    margin: auto 0;
    padding-left: 8px;
}

.option .img-icon {
    vertical-align: middle;
    width: 24px;
    height: 24px;
}

.option:hover {
    -box-shadow: 0 0 8px 8px orange, 0 0 8px 8px rgba(0, 0, 0, 0.12), 0 0 8px 8px rgba(0, 0, 0, 0.4);
    box-shadow: 4px 4px 4px orange;
    color: orange;
}

.option.option-add {
    position: absolute;
    right: 16px;
    border-radius: 50%;
    cursor: pointer;
    bottom: 16px;
    padding: 4px;
    box-shadow: 2px 2px 4px #CFD8DC;
    background: orange;
}

.option.option-add:hover {
    box-shadow: 2px 2px 4px orange;
}

.option.option-add .label-caption {
    display: none;
}

.option.option-add .img-icon {
    width: 32px;
    height: 32px;
}

.option.option-query {
    position: absolute;
    right: 16px;
    border-radius: 50%;
    cursor: pointer;
    bottom: 74px;
    padding: 4px;
    box-shadow: 2px 2px 4px #CFD8DC;
    background: orange;
}

.option.option-query:hover {
    box-shadow: 2px 2px 4px orange;
}

.option.option-query .img-icon {
    width: 32px;
    height: 32px;
}

.option.option-query .label-caption {
	display: none;
}

.option.option-cart {
    position: absolute;
    right: 16px;
    border-radius: 50%;
    cursor: pointer;
    bottom: 16px;
    padding: 4px;
    box-shadow: 2px 2px 4px #CFD8DC;
    background: orange;
}

.option.option-cart:hover {
    box-shadow: 2px 2px 4px orange;
}

.option.option-cart .label-caption {
    display: none;
}

.option.option-cart .img-icon {
    width: 32px;
    height: 32px;
}

.option.option-send {
	background: #81C784;
	box-shadow: 4px 4px 4px #C8E6C9;
	color: black;
	max-width: 140px;
	margin: auto auto auto 80px;
	-ms-flex: 1;
	flex: 1;
}

.option.option-send:hover {
	background: green;
    box-shadow: 4px 4px 4px #81C784;
    color: white;
}

.option.option-clear {
    background: #E57373;
    box-shadow: 4px 4px 4px #FFCDD2;
    color: black;
    max-width: 140px;
    margin: auto 80px auto auto;
    -ms-flex: 1;
    flex: 1;
}

.option.option-clear:hover {
    background: red;
    box-shadow: 4px 4px 4px #E57373;
    color: white;
}

.option.option-order {
    max-width: 140px;
    margin: auto 80px auto auto;
    -ms-flex: 1;
    flex: 1;
}

.option.option-command {
	background: #81C784;
    box-shadow: 4px 4px 4px #C8E6C9;
    color: black;
    max-width: 140px;
	margin: auto auto auto 80px;
	-ms-flex: 1;
	flex: 1;
}

.option.option-command:hover {
	background: green;
    box-shadow: 4px 4px 4px #81C784;
    color: white;
}

/* panel-annotation */
.panel-annotation {
    display: -webkit-box;	/* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;		/* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;	/* TWEENER - IE 10 */
	display: -webkit-flex;	/* NEW - Chrome */
	display: flex;
    float: right;
}

.panel-annotation .panel-annotation-icon {
	position: relative;
	text-align: center;
	vertical-align: middle;
	padding: 4px;
	cursor: pointer;
	margin: 4px;
	width: 20px;
	height: auto;
}

.panel-annotation .panel-annotation-icon .label {
	position: absolute;
	bottom: 0;
	right: -8px;
	background: white;
	width: 16px;
	height: 16px;
	border-radius: 16px;
	color: black;
}

.panel-annotation .label-text {
    margin: auto auto 4px auto;
    padding: 2px;
    border-radius: 2px;
}

/* panel-totals */
.panel-totals {
    margin-left: 60px;
    margin-right: 60px;
}

.panel-totals .caption {
    font-weight: bold;
    display: -webkit-box;	/* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;		/* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;	/* TWEENER - IE 10 */
	display: -webkit-flex;	/* NEW - Chrome */
	display: flex;
    border-bottom: 1px solid;
}

.panel-totals .total {
    font-weight: bold;
    display: -webkit-box;	/* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;		/* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;	/* TWEENER - IE 10 */
	display: -webkit-flex;	/* NEW - Chrome */
	display: flex;
    border-top: 1px solid;
}

.panel-totals .subtotal {
    display: -webkit-box;	/* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;		/* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;	/* TWEENER - IE 10 */
	display: -webkit-flex;	/* NEW - Chrome */
	display: flex;
}

.panel-totals .caption > div, .panel-totals .subtotal > div, .panel-totals .total > div {
	-ms-flex: 1;
    flex: 1;
    text-align: right;
    padding-top: 8px;
    padding-bottom: 8px;
}

/* per mozilla */
@-moz-document url-prefix() {
	.content .panel-items {
		-height: 0px; /* provoca que sortir el srcoll en ie i mz */
		position: absolute;
		width: 80%;
	}

	.content .panel-items.filter .item {
		background: #4e4e4e
	}
}

/* per edge */
@supports (-ms-ime-align:auto) {
    .content .panel-items {
		-height: 0px; /* provoca que sortir el srcoll en ie i mz */
		position: absolute;
		width: 80%;
	}

	.content .panel-items.filter .item {
		background: #4e4e4e
	}
}

/* per ie */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	.content .panel-items {
		-height: 0px; /* provoca que sortir el srcoll en ie i mz */
		position: absolute;
		width: 80%;
	}

	.content .panel-items.filter .item {
		background: #4e4e4e
	}

	.flex .articles .items {
		display: block !important;
	}

	.panel-header .panel-content-caption .img-view {
		display: none !important;
	}
}
