/*--- standard variables ---*/
/*--- product item ratio (thumb + content) ---*/
/* set ProductImageRatio in productOverview! */
/*--- media queries. When using responsive ---*/
/* Range breakpoints */
/*--- media queries. When using responsive: only mobile & desktop ---
@responsive:	false;
@largePhone:	~"only screen and (min-width: 480px)";
@tablet:		~"only screen and (min-width: 999999999px)";
@tabletLand:	~"only screen and (min-width: 768px)";
@desktop:		~"only screen and (min-width: 768px)";

@upToTablet:	~"only screen and (max-width: 767px)";
@upToDesktop:	~"only screen and (max-width: 767px)";*/
/*--- media queries. When not using responsive ---
@responsive:	false;
@largePhone:	~"only screen and (min-width: 1px)";
@tablet:		~"only screen and (min-width: 1px)";
@tabletLand:	~"only screen and (min-width: 1px)";
@desktop:		~"only screen and (min-width: 1px)";

@upToTablet:	~"only screen and (max-width: 1px)";
@upToDesktop:	~"only screen and (max-width: 1px)";*/
/*----- Default functions -----*/
/*----- Default Crossbrowser functions -----*/
/*----- CSS3 functions -----*/
/*----- CSS3 Animation functions -----*/
/*----- Buttons -----*/
/*----- Responsive functions -----*/
/*---- styling extra options product detail ----*/

.extraOptions .row {
  border-bottom: 1px solid #afafaf;
  margin: 0;
  min-height: 0;
}
.extraOptions .row:first-child {
  border-top: 1px solid #afafaf;
}
.extraOptions .row.active .row-header {
  border-bottom: 1px solid #afafaf;
}
.extraOptions .row .title {
  display: inline-block;
  padding: 8px;
  vertical-align: middle;
}
.extraOptions .row .row-header {
  font-size: 14px;
  overflow: hidden;
  background-color: #f7f7f7;
  cursor: pointer;
}
.extraOptions .row .row-header:before {
  content: "+";
  font-size: 20px;
  vertical-align: middle;
  padding: 8px 0 8px 8px;
  color: #969696;
}
.extraOptions .row .row-header .price {
  float: right;
  padding: 8px;
}
.extraOptions .row .row-header .price:before {
  content: "+";
}
.extraOptions .row .row-header .selectedValue {
  display: none;
}
.extraOptions .row .row-header:before {
  float: none;
}
.extraOptions .row .row-body {
  display: none;
  padding: 15px 0;
}
.row:first-child .extraOptions .row .row-body {
  display: block;
}
.extraOptions .row .row-body label {
  margin: 0;
  display: inline-block;
  cursor: pointer;
}
.extraOptions .row .row-body label img {
  width: 100%;
  height: auto;
  border: 2px solid #afafaf;
  pointer-events: none;
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.extraOptions .row .row-body label.active {
  color: #5cb85c;
}
.extraOptions .row .row-body label.active img {
  border-color: black;
}
.extraOptions .row .row-body .price {
  float: right;
  color: #666666;
  font-weight: normal;
  font-size: 12px;
}
.extraOptions .row .row-body .price:before {
  content: "+";
}
.extraOptions .row.type-list.hasImage .row-body input {
  display: none;
}
.extraOptions .row.type-list.hasImage .row-body ul {
  overflow: hidden;
}
.extraOptions .row.type-list.hasImage .row-body ul > li {
  float: left;
  margin-right: 1.666666667%;
  margin-bottom: 1.666666667%;
  width: 49.166666667%;
}
.lt-ie9 .extraOptions .row.type-list.hasImage .row-body ul > li {
  /*IE 8*/
  width: 48.333333333%;
}
.extraOptions .row.type-list.hasImage .row-body ul > li:nth-of-type(n) {
  /*reset if function is called more then once*/
  margin-right: 1.666666667%;
}
.extraOptions .row.type-list.hasImage .row-body ul > li:nth-of-type(2n) {
  margin-right: 0;
}
.extraOptions .row.type-list.hasImage .row-body ul li {
  margin-bottom: 15px;
}
.extraOptions .row.type-list.hasImage .row-body .price {
  display: block;
  float: none;
}
.extraOptions .type-textblock {
  padding: 8px;
}
.extraOptions .total .title {
  display: inline-block;
  padding: 8px 0;
}
.extraOptions .total .total {
  float: right;
  padding: 8px;
}
@media only screen and (min-width: 768px) {
  .extraOptions .row .row-header .selectedValue {
    display: block;
    float: right;
    padding: 8px;
    color: #7c7c7c;
    max-width: 30%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .extraOptions .row.type-list.hasImage .row-body ul {
    overflow: hidden;
  }
  .extraOptions .row.type-list.hasImage .row-body ul > li {
    float: left;
    margin-right: 1.666666667%;
    margin-bottom: 1.666666667%;
    width: 32.222222222%;
  }
  .lt-ie9 .extraOptions .row.type-list.hasImage .row-body ul > li {
    /*IE 8*/
    width: 31.666666667%;
  }
  .extraOptions .row.type-list.hasImage .row-body ul > li:nth-of-type(n) {
    /*reset if function is called more then once*/
    margin-right: 1.666666667%;
  }
  .extraOptions .row.type-list.hasImage .row-body ul > li:nth-of-type(3n) {
    margin-right: 0;
  }
  .extraOptions .row.type-list.hasImage .row-body ul li {
    margin-bottom: 15px;
  }
}
/*---- styling extra options checkout ----*/

.cart tr.extraOptions td,
.invoice tr.extraOptions td {
  background: #bcbcbc;
}
.cart ul.extraOptions li,
.invoice ul.extraOptions li {
  max-width: 350px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.cart .surplusPrice,
.invoice .surplusPrice {
  display: block;
}
.cart div.extraOptions,
.invoice div.extraOptions {
  margin: 15px 0;
  background: #f7f7f7;
  padding: 15px;
}
.cart div.extraOptions .price,
.invoice div.extraOptions .price {
  float: right;
}
.cart div.extraOptions label,
.invoice div.extraOptions label {
  font-weight: normal;
}
@media only screen and (min-width: 768px) {
  .cart .surplusPrice,
  .invoice .surplusPrice {
    display: inline;
  }
}
@media only screen and (min-width: 1280px) {
  .cart .extraOptions .row .row-body ul,
  .invoice .extraOptions .row .row-body ul {
    overflow: hidden;
  }
  .cart .extraOptions .row .row-body ul > li,
  .invoice .extraOptions .row .row-body ul > li {
    float: left;
    margin-right: 1.666666667%;
    margin-bottom: 1.666666667%;
    width: 23.75%;
  }
  .lt-ie9 .cart .extraOptions .row .row-body ul > li,
  .lt-ie9 .invoice .extraOptions .row .row-body ul > li {
    /*IE 8*/
    width: 23.333333333%;
  }
  .cart .extraOptions .row .row-body ul > li:nth-of-type(n),
  .invoice .extraOptions .row .row-body ul > li:nth-of-type(n) {
    /*reset if function is called more then once*/
    margin-right: 1.666666667%;
  }
  .cart .extraOptions .row .row-body ul > li:nth-of-type(4n),
  .invoice .extraOptions .row .row-body ul > li:nth-of-type(4n) {
    margin-right: 0;
  }
}
