/* &copy; 2016 - Johnline */
/*
// ----------------------------------------------
// Usage example:
// For IE set $mq-support to false.
// Set the fixed value.
// Then use mixins to test whether styles should be applied.
// ----------------------------------------------

$mq-support: false;
$mq-fixed-value: 1024;

// Renders at fixed value
@include bp (min-width, 300px) { 
    div { color:#000; }
}

// Doesn't render without MQ support
@include bp (min-width, 1200px) { 
    div { color:#FFF; }
}

// Doesn't render without MQ support
@include bp (max-width, 300px) { 
    div { color:#444; }
}

// Renders at fixed value
@include bp (max-width, 1200px) { 
    div { color:#888; }
}

// ----------------------------------------------
*/
/* Editor styles */
.mms-editor-summary {
  background: #ebebeb;
  padding: 15px;
  border-radius: 5px;
}

.mms-editor-preview {
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  position: relative;
  padding: 15px 15px 25px 50px;
  background: #ddd;
  border-radius: 4px;
  text-align: center;
  font-size: 1em;
  line-height: 1;
  display: block;
  width: 100%;
  min-height: 100px;
}
.mms-editor-preview .preview-line-wrapper {
  display: block;
  border-right: 1px dashed #999;
  border-left: 1px dashed #999;
}
.mms-editor-preview .preview-line-wrapper.first {
  border-top: 1px dashed #999;
  padding-top: 15px;
}
.mms-editor-preview .preview-line-wrapper.last {
  border-bottom: 1px dashed #999;
  padding-bottom: 15px;
}
.mms-editor-preview .preview-line {
  display: block;
  white-space: nowrap;
  margin: 10px 0;
}
.mms-editor-preview .preview-line.inline-block {
  display: inline-block;
}
.mms-editor-preview.darken {
  border-color: #000;
  background: #333;
}
.mms-editor-preview.lighten {
  border-color: #ddd;
  background: #ddd;
}
.mms-editor-preview.white {
  border-color: #ccc;
  background: #fff;
}
.mms-editor-preview.loading {
  -webkit-filter: blur(5px);
  filter: blur(5px);
  opacity: 0.6;
}
.mms-editor-preview.align-left {
  text-align: left;
}
.mms-editor-preview.align-center {
  text-align: center;
}
.mms-editor-preview.align-right {
  text-align: right;
}

/* Preview width */
.mms-editor-preview-width-wrapper {
  min-height: 30px;
  margin-top: 15px;
}

.mms-editor-preview-width,
.mms-editor-preview-height {
  position: relative;
  border-top: 1px solid #000000;
  color: #000000 !important;
  font-family: Arial, sans-serif !important;
  text-align: center !important;
  font-size: 14px !important;
  padding-top: 5px;
  display: block;
  white-space: nowrap;
}
.darken .mms-editor-preview-width, .darken
.mms-editor-preview-height {
  color: #fff !important;
  border-color: #fff !important;
}
.darken .mms-editor-preview-width:after, .darken .mms-editor-preview-width:before, .darken
.mms-editor-preview-height:after, .darken
.mms-editor-preview-height:before {
  border-color: #fff !important;
}

.mms-editor-preview-width:after, .mms-editor-preview-width:before {
  content: '';
  position: absolute;
  left: 0;
  height: 16px;
  top: -9px;
  border-left: 1px solid #000000;
}
.mms-editor-preview-width:after {
  left: auto;
  right: 0;
}
.align-left .mms-editor-preview-width {
  margin-left: 0;
}
.align-center .mms-editor-preview-width {
  margin: auto;
}
.align-right .mms-editor-preview-width {
  float: right;
}

.mms-editor-preview-height {
  position: absolute;
  top: 0;
  left: 7px;
  width: 25px;
  border-top: none;
  border-right: 1px solid #000000;
}
.mms-editor-preview-height:after, .mms-editor-preview-height:before {
  content: '';
  position: absolute;
  top: 0;
  width: 16px;
  right: -9px;
  border-top: 1px solid #000000;
}
.mms-editor-preview-height:after {
  top: auto;
  bottom: 0;
}
.mms-editor-preview-height .preview-height-text {
  position: absolute;
  top: 50%;
  left: -22px;
  white-space: nowrap;
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

.mms-editor-backgroundswitch {
  float: right;
  padding: 5px 0 0 0;
  font-size: 12px;
  color: #444;
}
.mms-editor-backgroundswitch a {
  color: #444;
}
.mms-editor-backgroundswitch a.active {
  text-decoration: underline;
}

.mms-editor-content .text-field {
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  position: relative;
}
.mms-editor-content .text-field:focus {
  outline: none;
  border-color: #1a98cc;
  z-index: 1;
}
.mms-editor-content .product-options dd .input-text {
  width: 88%;
}
.mms-editor-content .count-total {
  opacity: 0.3;
  font-size: 12px;
  white-space: nowrap;
}
.mms-editor-content .count-total.warning {
  opacity: 0.8;
  color: #F3793B;
}
.mms-editor-content .count-total.error {
  opacity: 1;
  color: #ff625b;
}
.mms-editor-content .text-field-2,
.mms-editor-content .text-field-3 {
  margin-top: -1px;
}
.mms-editor-content .text-field-1 {
  border-radius: 4px 4px 0 0;
}
.mms-editor-content .text-field-3 {
  border-radius: 0 0 4px 4px;
}

.mms-editor-customer-text span {
  display: block;
}

/* Used from old version */
.select-product-option li {
  display: inline-block;
  height: 36px;
  cursor: pointer;
}

.select-product-option li img {
  border: 2px solid #CCCCCC;
  border-radius: 6px;
}

select {
  height: 38px;
}

.select-product-option li.active img {
  border: 2px solid #1a98cc;
}

.orderSummary {
  border: 1px solid #ebebeb;
  border-radius: 5px;
  display: inline-block;
  padding: 12px;
  width: 25%;
  background-color: #F0F0F0;
}

.orderSummary h2 {
  color: #009BCB;
}

.orderSummary strong {
  color: #EB340A;
  font-size: 120%;
}

.orderSummary .list-usps strong {
  font-size: 100%;
}

.product-options p.required {
  position: relative;
  top: 0;
}

.mms-editor .price-box .price {
  font-size: 30px;
}

.mms-editor #toggle-background {
  float: right;
  cursor: pointer;
  clear: both;
}

.mms-editor h1, .mms-editor h3 {
  color: #009BCB;
  font-size: 17px;
}

.mms-editor .add-to-cart .quote {
  padding: 0 !important;
}

.mms-editor .add-to-cart {
  border-radius: 0 !important;
  border: 0 !important;
  background: none !important;
  padding: 0 !important;
}

.mms-editor .left {
  float: left;
  width: 75%;
}

.mms-editor .short-description {
  clear: both;
}

.toggle-background {
  padding-right: 30px;
}

.canvas-container {
  background: url("/skin/frontend/base/default/mms_editor/images/background-light.png") no-repeat center center fixed;
  border-radius: 5px;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.mms-editor .placeholder {
  font-style: italic;
  display: inline-block;
  margin-bottom: 5px;
}

.mms-editor .mms-editor-customer-text {
  position: relative;
  height: 100%;
}

.mms-editor .add-to-cart-buttons .button {
  padding: 0 15px !important;
  font-size: 17px !important;
}

.mms-editor .availability {
  font-size: 100% !important;
  margin: 30px 0 0 0 !important;
}

.product-options dd {
  padding: 0;
}

.product-options dt label {
  padding: 0;
}

.add-to-cart {
  margin-top: 20px;
}

.price-box {
  font-size: 200%;
}

.add-to-cart .qty {
  margin: 0 0 6px 0;
}

.reviews {
  margin-top: 20px;
}

.reviews h3 {
  font-size: 17px;
}

/*
 * Layout tablet
/*
--------------------------------------------------------- */
@media (min-width: 720px) and (max-width: 985px) {
  .reviews {
    margin: 0;
    float: right;
  }

  .orderSummary {
    width: 100%;
    clear: both;
  }

  .mms-editor .short-description {
    margin-top: 20px;
  }
}
/*
 * Layout mobile landscape
/*
--------------------------------------------------------- */
@media (max-width: 719px) {
  .mms-editor .left {
    width: 100%;
  }

  .orderSummary {
    width: 100%;
  }
}
/*
 * Layout mobile portrait
/*
--------------------------------------------------------- */
@media (max-width: 480px) {
  .product-options dd select,
  .product-options dd input.input-text {
    width: 90%;
  }

  .orderSummary {
    width: 100%;
  }
}

/*
 * Mobiel (<= 770px, zelfde breakpoint als het thema)
/*
--------------------------------------------------------- */
.mms-editor-tooltip {
  display: none;
}
.mms-editor-tooltip-toggle {
  display: inline-block;
  margin-left: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: #1a98cc;
  font-size: 16px;
  line-height: 1;
  vertical-align: middle;
  cursor: pointer;
}
.mms-editor-tooltip.is-open {
  display: block;
  margin: 4px 0 8px;
  padding: 8px 10px;
  border-radius: 5px;
  background: #f0f2f2;
  font-size: 13px;
  font-weight: normal;
  line-height: 1.4;
}

@media only screen and (max-width: 770px) {
  .mms-editor .content-wrapper {
    padding-top: 0;
  }

  .mms-editor-backgroundswitch {
    float: none;
    margin-bottom: 10px;
    text-align: right;
  }
  .mms-editor-content .product-options dd .input-box {
    position: relative;
  }
  .mms-editor-content .product-options dd .input-text {
    width: 100%;
    padding-right: 60px;
  }
  .mms-editor-content .count-total {
    position: absolute;
    top: 50%;
    right: 10px;
    z-index: 2;
    transform: translateY(-50%);
    pointer-events: none;
  }
  .mms-editor .product-option-lettertype {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .mms-editor .product-option-lettertype li {
    height: auto;
  }
  .mms-editor .product-option-lettertype li img {
    display: block;
    width: 100%;
    height: auto;
  }
}
