@media only screen and (max-device-width: 767px)
{ 

.popup-container.popup-wide .popup { width: 100%; }
.popover-wide { width: 300px; }
	
/* Product Detail */  
.product-detail .product-img { position: relative; background: white; width: 100%; height: auto; margin: auto; text-align: center; }
.product-detail-price { position: relative; bottom: auto; right: auto; padding: 10px 0 0; text-align: right; }
.stock-label-inner .row { padding: 0; }
.stock-label-inner .col { padding: 0; }

/* Riga commentata per verifica layout */
/*.product-detail .product-img img { width: 100%; height: auto; }*/

.size-list { margin-top: 5px; }
.pq2-size-cell.size-list { margin-top: 0px; }
.size-list .size-item-outer { width: 49px; height: auto; vertical-align: top; text-align: center; padding-bottom: 5px;}
.size-list .size-item { width: 40px; height: auto; display: inline-block;}
.size-list .size-item .size-link,
.size-list .size-item a  { 
  background: transparent url(../img/bg_size.svg) no-repeat 0px 0px;
  background-size: 34px 34px;
  color: #333; 
  line-height: 34px; font-weight: 300; 
  display: inline-block; text-align: center; width: 34px; height: 34px; }

.size-list .stock-label { padding-right: 10px; font-size: 15px; /*line-height: 48px;*/ }
.size-list .stock-item-outer { width: 49px; /*height: 49px;*/ vertical-align: top; }
.size-list .stock-item { background: rgba(255,255,255,.9); color: #333; font-size: 14px; /*line-height: 48px;*/ font-weight: 300; text-align: center; /*height: 48px;*/ width: 48px; margin-right: 1px;}
.size-list .stock-label .stock-label-inner { font-size: 12px; }

/* Flex */
.flex-grid-small .flex-item { width: 50%; flex-grow: 0; -webkit-flex-grow: 0; }
.flex-grid-medium .flex-item.flex-item-last,
.flex-grid-medium .flex-item { width: 100%; flex-grow: 0; -webkit-flex-grow: 0; }
.flex-grid-large .flex-item { width: 100%; flex-grow: 0; -webkit-flex-grow: 0; }

/* Search */
.result-block .result-item h3,
.result-block .result-item h2 { font-size: 13px; line-height: 14px; position: relative; top: auto; left: auto; padding-top: 5px; margin-bottom: 5px;}
.result-block .result-item h1 { font-size: 13px; line-height: 14px; position: relative; top: auto; left: auto; margin: 5px 0; white-space: normal; font-weight: 400;}
.result-block .descr-column { position: absolute; right: 75px; margin-right: auto; }
.result-block .pic-column { position: absolute; top: 0; right: auto; background: white; width: 64px; height: 64px; }
.result-block .pic-column img { width: 100%; height: auto; }
.result-block .price-column { position: absolute; width: 70px; top: 0; right: 0; font-size: 14px; padding: 0 5px; font-weight: 400;}
.result-block .au-item .item-content { height: 64px; }
.result-block .price-qty-column { font-size: 13px; line-height: normal; text-align: right; font-weight: 400; position: absolute; top: 5px; right: 5px; }
.result-block .price-qty-column-label { margin-bottom: 10px; font-size: 12px; font-weight: 600; text-align: right; text-transform: uppercase; }
.result-block .check-column {position: absolute; top: -15px; left: -8px;}

/* Modal */
.modal-zombie { background: rgba(0,0,0,.5); }
.modal-zombie .title { display: inline-block; padding: 10px; background: black; font-size: 25px; font-weight: 300; line-height: 27px; color: white; }

/* Showroom */
.showroom .product { width: 100%; top:auto; left: auto; position: relative; background: rgba(255,255,255,.9); }
.showroom .related { padding: 0px; height: auto; width: 100%; overflow-y: auto; margin-left: 0; overflow-x: visible; }
.sr-compact-header h1 {font-size: 14px;}
.sr-multi-item {width: fit-content;}
.sr-multi-depp {white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}

/* Cart header */
.trp-header .flex-item,
.cart-header .flex-item { height: 50px; overflow: hidden; }
.trp-header .flex-item h2,
.cart-header .flex-item h2 { font-size: 10px; margin-bottom: 3px; font-weight: 800;}
.trp-header .flex-item .col,
.trp-header .flex-item p,
.cart-header .flex-item .col,
.cart-header .flex-item p { font-weight: 200; font-size: 16px; line-height: 16px; } 
.trp-header .flex-item.flex-item-dyn { height: auto; min-height: 50px;  }
.header-item-remove button { font-size: 8px; line-height: 8px; }
header-item .flex-item-inner { padding: 5px; }

/* Cart */
.footer-customer { padding: 5px 8px; font-size: 12px; max-width: 50%;}
.footer-customer p { font-size: 11px; margin-bottom: 0px;}
.footer-customer h3 { font-size: 13px; margin-top: 0px;}
.cart-row .row-item { height: 64px; }
.row-item h2 { font-size: 13px; line-height: 13px; font-weight: 300; margin-bottom: 2px; color: white; margin-top: 5px;}
.row-item h1 { font-size: 13px; font-weight: 300; color: white; line-height: 13px; white-space: normal; margin-top: 10px;}
.row-item .descr-column { float: left; padding: 0; }
.cart-row .row-item .descr-column.no-pic { margin-left: 5px; /* margin-right: 70px; */}
.cart-row .row-item .descr-column { margin-left: 69px; /* margin-right: 70px; */}
.row-item .column.pic-column { float: none; position: absolute; top: 0; left: 0; background: white; display: block;}
.row-item .pic-column img { width: 64px; height: 64px; }
.row-item .price-size-column { float: none; width: 70px; font-size: 13px; font-weight: 400; text-align: center; padding: 0 5px; position: absolute; top: 0; right: 0;}
.row-item .price-size-column .size-link
{
	background: transparent url(../img/bg_size.svg) no-repeat 0px 0px;
  background-size: 34px 34px;
  color: #333; 
  line-height: 34px; font-weight: 300; 
  display: inline-block; text-align: center; width: 34px; height: 34px;
}
.row-item .price-size-column .size-link.size-link-warning {
  background: transparent url(../img/bg_size_warning.svg) no-repeat 0px 0px;
  background-size: 34px 34px;
}
.row-item .price-size-column .size-link.size-link-negative {
  background: transparent url(../img/bg_size_negative.svg) no-repeat 0px 0px;
  background-size: 34px 34px;
  color: #FFF; 
}
.row-item .price-size-column .price { display: block; text-align: center; line-height: 14px; font-size: 14px; padding: 5px 0 0 0;}
.row-item .price-column { font-size: 13px; line-height: 64px; padding: 0 8px; font-weight: 300; }
.cart-total-block { font-size: 18px; line-height: 64px; font-weight: 300; }
.cart-total { padding: 0 12px; font-size: 18px; font-weight: 300; }


.row-item { display: table; }
.row-item .size-column { display: table-cell; vertical-align: middle; text-align: center; }
.row-item .column { position: relative; display: table-cell; vertical-align: middle; height: 64px; /* top: 0; */ /* right: 0; */ /* width: 70px; */}
.detail-cart-rows .row-item { padding: 5px; }
.detail-cart-rows .list { margin: 0px; }

.sub-cart-row { padding: 5px; }


.mq-header-extra {
	position: relative;
	right: auto;
	top: auto;
	display: flex;
  align-items: center;
  font-size: 22px;
  color: black;
  border-bottom: 1px dotted #ccc;
  padding-bottom: 10px;
  border-top: 1px dotted #ccc;
  padding-top: 10px;
}

.mq-header-extra input { border: 1px solid #666; }

/* Docs */
.doc-list .item { font-size: 13px; line-height: 13px; padding: 8px; }
.doc-list .item-icon-right { padding-right: 46px; }
.result-item-label { top: auto; left: auto; position: relative; font-size: 11px; text-transform: uppercase; font-weight: 200; display: block; padding-bottom: 2px; }

/* Customers */
.result-customers { font-size: 13px; line-height: 13px; }

/* Stats */

.button.button-sm-large { line-height: 48px; 
    padding: 0 8px;
    font-size: 18px; }

/* Wizard */
.wizard-block { margin-top: 1px; display: block; position: relative; align-content: stretch; width: 100%; justify-content: center; }
.wizard-title { flex-grow: 1; padding-top: 0px; margin-right: 0px; margin-bottom: 0px; display: none; }
.wizard-searchfield { flex-basis: 100%; flex-grow: 1; }
.wizard-block.wizard-block-nomargin { margin-top: 1px; }

/* Product quantities */
.pq-prog { font-size: 12px; padding: 5px; }
.pq-size-cell.size-list { margin-top: 0px; }

/* Product variant quantities */
.pv-prd-item { padding: 5px; }
.pv-prd-item h2 { font-size: 10px; }
.pv-prd-item h1 { font-size: 12px; line-height: 12px; }
.pv-depp-row { font-size: 10px; white-space: nowrap; padding: 0 5px; }

/*** ACTIVITIES ***/

.activity-subitem {
	font-size: 12px;
	line-height: 32px;
}

/** CARRELLO MULTIQUANTITÀ **/
.mq-mobile-item .item-content { padding: 0px; }
.mq-mobile-inner { height: 79px; background: rgba(0,0,0,.8); color: white; font-size: 13px; font-weight: 200; position: relative; }
.mq-mobile-index { background: #666; line-height: 20px; padding: 0 4px; text-align: center; position: absolute; left: 0; top: 0px;  width: 58px; height: 20px; }
.mq-mobile-index-multi { color: #000; }
.mq-mobile-cod { line-height: 20px; padding-left: 62px;  padding-right: 50px; }
.mq-mobile-img, .mq-mobile-img img { width: 58px; height: 58px; }
.mq-mobile-img { position: absolute; left: 0; top: 20px; }
.mq-mobile-descr { line-height: 18px; white-space: normal; padding-left: 62px; padding-right: 50px; max-height: 40px; overflow: hidden;}
.mq-mobile-descr.mq-mobile-descr-noimage { padding-left: 4px;  }
.mq-mobile-prices { line-height: 20px; text-align: right; padding-right: 4px; position: absolute; bottom: 0; right: 0; }
.mq-mobile-prices-item { display: inline-block; padding-left: 5px; }
.mq-mobile-qty { text-align: center; font-size: 18px; position: absolute; top: 4px; right: 4px; }
.mq-mobile-qty-label { text-align: center; font-size: 12px; font-weight: 600; text-transform: uppercase; }
.mq-mobile-infoicon { position: absolute; top: 40px; right: 4px; font-size: 16px; }
.mq-mobile-infoicon-warning { color: #FDC836; }
.mq-mobile-infoicon-negative { color: #FF0000; }
.mq-mobile-icon { font-size: 12px; display: inline-block; }
.mq-mobile-inlinebox { line-height: 20px; padding-left: 4px; position: absolute; bottom: 0; left: 0; }
.mq-mobile-popupblock { border-bottom: 1px dotted #bbb; padding: 8px 0; font-size: 14px; font-weight: 200; color: #333; }
.mq-mobile-popupblock .mq-mobile-popuplabel { font-weight: 400; }

/* Totals */
.totals-extra { display: block; }
.totals-extra-item { border-right: 1px solid #ccc; display: flex; flex-flow: column; justify-content: flex-end; border-right: 0; flex-flow: row; justify-content: normal; border-bottom: 1px solid #ccc;  }
.totals-extra-item:last-child { border-bottom: 0; }
.totals-extra-label { width: 34%; }
.totals-extra-value { width: 33%; }
.totals-extra-options { border: 0; text-align: right; background-color: rgb(255,255,255,.9); margin-top: 1px; }

/* Pagamenti */
.calc-display {	height: 48px;	font-weight: 200;	font-size: 22px; line-height: 48px; text-align: center; }
.calc-item a { height: 48px; line-height: 48px; font-size: 20px; }
.payment-methods { width: 100%; flex-grow: 1; }
.payment-methods .item { height: 48px; line-height: 48px; font-size: 20px; }
.pay-sm-add-section,
.pay-sm-main-section { height: 100%; }
.pay-sm-add-section .trp-body { display: flex; flex-flow: column;}
.item-payment { height: 48px; line-height: 48px; font-size: 18px; padding: 0 8px; font-weight: 200; }
.button-wide { background-color: rgba(255, 255, 255, .9); border: 0; padding: 0; margin: 0; border-radius: 0; color: #333; text-align: center; line-height: 48px; height: 48px; font-size: 18px; font-weight: 300; width: 100%; }
.pay-ms-subsection { padding-top: 10px; }
.pay-ms-subsection.pay-ms-subsection-first { padding-top: 30px; }
.pay-ms-subsection h3 { font-weight: 400; background-color: #707070; color: #fff; font-size: 12px; margin: 0 0 1px 0; padding: 0 8px; line-height: 26px; }
button.button-large.btn-sm { font-size: 18px; }
.item-input-wrapper-first { width: 33%; }

/* Row vertical */
.row.au-row2.row-v-sm { flex-direction: column; margin-bottom: 10px; }
.row-v-sm .col.au-col2 { margin: 0 0 1px 0; }

/* Ordinamento articoli */
.search-sorting-bar {width: 80%;}
.search-sorting-buttons {width: 20%;}
.search-sorting-label {white-space: nowrap; overflow: scroll;}

/* Componente au-date-picker */
.dp-input-dark,
input.dp-input-dark {font-size: 16px; min-width: 100px;}
.dp-wrapper {margin-top: -5px;}

input.input-label-field {margin-top: -10px;}
}

.au-row-modal h2 { margin-top: 8px; }
.au-row-modal h1 { font-size: 12px; font-weight: 300; line-height: 15px; max-height: 30px; overflow: hidden; }
.au-row-modal p { color: white; font-size: 12px; font-weight: 300; line-height: 15px; padding: 0; margin: 0; }

/* Multibolla */
.hi-multidoc-wrapper { margin-top: -2px; }
.hi-multidoc-item { font-size: 24px; }

/** Specifiche per sistema operativo **/
body.platform-ios,
body.platform-cordova.platform-macintel {
  background-color: black;
}

body.platform-cordova.platform-macintel
.cart-spacer {
  display: block; height: calc(100% + 5px); top: 0; width: 1px; position: absolute;
}

/* Tablet landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) {
    body.platform-cordova.platform-macintel 
    .dyncol-descr {
      max-width: 500px;
    }
}
 
@media only print {


  .flat-table.flat-table-small th {
    font-size: 10px!important;
  }

  .flat-table.flat-table-small td {
    font-size: 10px!important;
    font-weight: 300!important;
  }

}
