/*
I wanted to go with a mobile first approach, but it actually lead to more verbose CSS in this case, so I've gone web first. Can't always force things...

Side note: I know that this style of nesting in SASS doesn't result in the most performance efficient CSS code... but on the OCD/organizational side, I like it. So for CodePen purposes, CSS selector performance be damned.
*/
/* Global settings */
/* Global "table" column settings */
.product-image {
  float: left;
  width: 15%;
}

.product-details {
  float: left;
  width: 57%;
}
/*.product-details {
  float: left;
  width: 42%;
}*/

.product-price {
  float: left;
  width: 12%;
}

.product-quantity {
  float: left;
  width: 10%;
}
.product-quantity .produto_qtd{background:url(../images/combobox_shop.png) no-repeat right;  padding-top: 1px; width:68px;  font-size:22px; line-height:22px;height: 28px;text-transform:uppercase}
.product-quantity .produto_qtd input{border:none;outline:none;background:transparent;color:#6E6E6E; height: 28px;border: none;font-size:12px;margin:0;text-indent:10px; width: 40px; border-radius:6px; color:#000;}
.product-quantity .produto_qtd .spinnerwrapper{float:right}
.product-quantity .produto_qtd .spinnerup{width:25px;height:13px;cursor:pointer}
.product-quantity .produto_qtd .spinnerdown{width:25px;height:13px;cursor:pointer}

.product-removal {
  float: left;
  width: 9%;
  text-align:center
}

.product-line-price {
  float: left;
  width: 12%;
  text-align: right;
}

/* This is used as the traditional .clearfix class */
.group:before, .shopping-cart:before, .column-labels:before, .product:before, .product2:before, .totals-item:before,
.group:after,
.shopping-cart:after,
.column-labels:after,
.product:after,
.product2:after,
.totals-item:after {
  content: '';
  display: table;
}

.group:after, .shopping-cart:after, .column-labels:after, .product:after, .product2:after, .totals-item:after {
  clear: both;
}

.group, .shopping-cart, .column-labels, .product, .totals-item , .product2, .totals-item {
  zoom: 1;
}

/* Apply clearfix in a few places */
/* Apply dollar signs */
/* .product .product-price:before, .product .product-line-price:before, .totals-value:before {
  content: '$';
} */

/* Body/Header stuff */


.shopping-cart {
  margin-top: 0;
}

/* Column headers */
.column-labels label {
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
}
.column-labels .product-image{text-align:center}
.column-labels .product-image, .column-labels .product-details, .column-labels .product-removal {
/*   text-indent: -9999px; */
}

/* Product entries */
.product {
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid #c0c0c0;
}
.product .product-image {
  text-align: center;
}

.product .product-image img{
  max-width:100px
}
/*.product .product-image img {
  width: 100px;
}*/
.product .product-details .product-title {
  margin-right: 20px;
  font-family: "Open sans", "sans";
}
.product .product-details .product-description {
  margin: 5px 20px 5px 0;
  line-height: 1.4em;
}

.product  .termos {
  font-size:10px;
  color:#000
}
.product.termos a{
  font-size:10px;
  color:#209805
}
.product .termos a:hover{
  font-size:10px;
  color:#c0c0c0
}
.product .product-quantity input {
  width: 40px;
}
.product .remove-product {
  border: 0;
  padding: 4px 8px;
  background-color: #000;
  color: #fff;
  font-family: "Open sans", "sans";
  font-size: 12px;
  border-radius: 0;
}
.product .remove-product:hover {
  background-color: #a44;
}

.tab-hidden{border-bottom:#c0c0c0 1px solid;margin-bottom:10px;background:#EEE}
.product2 
{  
  cursor:pointer;
  font-weight:bold;
  margin-bottom:0;
  padding: 5px 10px;
  border:none;
  padding-bottom:10px;
}
.product2 .product-image {
  text-align: center;
}

.product2 .product-image img{
  max-width:100px
}
/*.product .product-image img {
  width: 100px;
}*/
.product2 .product-details .product-title {
  margin-right: 20px;
  font-family: "Open sans", "sans";
  padding-left:10px
}
.product2 .product-details .product-title2 {
  margin-right: 20px;
  font-family: "Open sans", "sans";
  padding-left:0;
  font-size:12px
}
.product2 .product-details .product-title2 .alterar{
	color:#209805
}
.product2 .product-details .product-title2 .alterar:hover{
	color:#c0c0c0
}
.product2 .product-details .product-description {
  margin: 5px 20px 5px 0;
  line-height: 1.4em;
}

.product2  .termos {
  font-size:10px;
  color:#000
}
.product2 .termos a{
  font-size:10px;
  color:#209805
}
.product2 .termos a:hover{
  font-size:10px;
  color:#c0c0c0
}
.product2 .product-quantity input {
  width: 40px;
}
.product2 .remove-product {
  border: 0;
  padding: 4px 8px;
  background-color: #000;
  color: #fff;
  font-family: "Open sans", "sans";
  font-size: 12px;
  border-radius: 0;
}
.product2 .remove-product:hover {
  background-color: #a44;
}

/* Totals section */
.totals .totals-item {
  float: right;
  clear: both;
  width: 100%;
  margin-bottom: 10px;
}
.totals .totals-item label {
  float: left;
  clear: both;
  width: 79%;
  text-align: right;
}
.totals .totals-item .totals-value {
  float: right;
  width: 21%;
  text-align: right;
}
.totals .totals-item-total {
  font-family: "Open sans", "sans";
}

.checkout {
  float: right;
  border: 0;
  margin-top: 20px;
  padding: 6px 25px;
  background-color: #6b6;
  color: #fff;
  font-size: 25px;
  border-radius: 3px;
}

.checkout:hover {
  background-color: #494;
}

/* Make adjustments for tablet */
@media screen and (max-width: 650px) {
  .shopping-cart {
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
  }

  .column-labels {
    display: none;
  }

  .product-image {
    float: right;
    width: auto;
  }
  .product-image img {
    margin: 0 0 10px 10px;
  }

  .product-details {
    float: none;
    margin-bottom: 10px;
    width: auto;
  }

  .product-price {
    clear: both;
    width: 70px;
  }

  .product-quantity {
    width: 100px;
  }
  


  
 /*  .product-quantity input {
    margin-left: 20px;
  } */

 /*  .product-quantity:before {
    content: 'x';
  } */

  .product-removal {
    width: auto;
	
  }

  .product-line-price {
    float: right;
    width: 70px;
  }
}
/* Make more adjustments for phone */
@media screen and (max-width: 350px) {
  .product-removal {
    float: right;
  }

  .product-line-price {
    float: right;
    clear: left;
    width: auto;
    margin-top: 10px;
  }
/* 
  .product .product-line-price:before {
    content: 'Item Total:';
  }
 */
  .totals .totals-item label {
    width: 60%;
  }
  .totals .totals-item .totals-value {
    width: 40%;
  }
}
