/* Existing OWEN configurator styles, scoped to each widget. */
.js-typer .typer-template-item__mod,
.js-typer .typer-template-item__text {
  color: #54686f;
  display: inline-block;
  font-size: 21px;
  font-weight: 500;
  line-height: 26px;
  min-height: 29px;
  padding: 0 3px 0 2px;
  vertical-align: bottom;
}

.js-typer .typer-template-item_type_mod .typer-template-item__text {
  border-bottom: 2px dotted #9f0412;
  color: #9f0412;
}

.js-typer .typer-template-item_type_mod {
  cursor: pointer;
}

.js-typer .typer-template-item {
  display: inline-block;
  margin-right: 4px;
  padding: 5px 0 10px;
  vertical-align: bottom;
}

.js-typer .typer-template-item__mod {
  border-bottom: 2px dotted #343536;
  display: none;
  min-width: 20px;
}

.js-typer .typer__template {
  border-bottom: 3px solid #d6d5d5;
  position: relative;
}

.js-typer .typer-mod.css-selected {
  display: block;
}

.js-typer .typer-mod__header {
  color: #9f0412;
  font-size: 17px;
  font-weight: 500;
  padding: 10px 0;
}

.js-typer .typer-mod__items {
  border-collapse: collapse;
  display: table;
  width: 100%;
}

.js-typer .typer-mod-item {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: #ddefff;
  border-radius: 3px;
  cursor: pointer;
  display: table-row;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0 0 10px;
  padding: 10px 15px;
  position: relative;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.js-typer .typer-mod-item.active,
.js-typer .typer-mod-item:hover {
  background: #c5e4ff;
}

.js-typer .typer-mod-item__name {
  background: #54686f;
  border: 1px solid #54686f;
  border-radius: 3px;
  color: #fff;
  display: block;
  line-height: 20px;
  margin: 0 15px 0 0;
  min-height: 22px;
  min-width: 24px;
  padding: 0 6px;
  text-align: center;
}

.js-typer .typer-mod {
  max-height: 0;
  overflow: hidden;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.js-typer .typer-mod.active {
  display: block;
  max-height: 10000px;
}

.js-typer .active-value.active span.typer-template-item__text {
  background: #008f86;
  border-bottom: 2px dotted transparent;
  border-radius: 3px;
  color: #fff;
  padding: 0 7px;
}

.js-typer .active-value span.typer-template-item__text {
  background: #5c6f6f;
  border-bottom: 2px dotted transparent;
  border-radius: 3px;
  color: #fff;
  padding: 0 7px;
}

.js-typer .typer__header {
  position: relative;
}

.js-typer .typer__result.js-result {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: absolute;
  right: 0;
  top: -5px;
}

.js-typer .typer__custom.js-typer-custom {
  background: #ddefff;
  border: 0 solid #c2e1f5;
  border-radius: 4px;
  color: #000;
  font-size: 14px;
  margin: 0;
  opacity: 0;
  padding: 0;
  position: relative;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.js-typer .typer__custom.js-typer-custom.open {
  background: #ddefff;
  border: 1px solid #c2e1f5;
  margin: 0 0 20px;
  max-height: 200px;
  opacity: 1;
  padding: 15px;
  position: relative;
}

.js-typer .typer__custom.js-typer-custom.open:after,
.js-typer .typer__custom.js-typer-custom.open:before {
  border: solid transparent;
  content: " ";
  height: 0;
  pointer-events: none;
  position: absolute;
  right: 50px;
  top: 100%;
  width: 0;
}

.js-typer .typer__custom.js-typer-custom.open:after {
  border-color: #ddefff rgba(136, 183, 213, 0) rgba(136, 183, 213, 0);
  border-width: 6px;
  margin-right: 0;
}

.js-typer .typer__custom.js-typer-custom.open:before {
  border-color: #c2e1f5 rgba(194, 225, 245, 0) rgba(194, 225, 245, 0);
  border-width: 8px;
  margin-right: -2px;
}

.js-typer .js-result-custom {
  background: #008f86;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  padding: 10px 25px;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

.js-typer .js-result-custom:hover {
  background: #5c6f6f;
  color: #fff;
}

.js-typer .js-result-custom.open {
  opacity: 1;
}

.js-typer .js-result-text {
  color: #008f86;
  font-weight: 700;
  margin-right: 15px;
  opacity: 0;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

.js-typer .js-result-text.open-zakaz {
  opacity: 1;
  text-align: right;
}

.js-typer .js-typer-loader {
  background: url(loader.gif);
  background-size: 22px;
  height: 0;
  opacity: 0;
  position: absolute;
  right: -32px;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  width: 0;
}

.js-typer .js-typer-loader.active {
  height: 22px;
  opacity: 1;
  right: -32px;
  width: 22px;
}

@media screen and (max-width: 767px) {
.js-typer .typer__result.js-result {
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    margin: 16px 0 0;
    position: relative;
    right: auto;
    top: 0;
  }
}

@media screen and (max-width: 767px) {
.js-typer .typer__custom.js-typer-custom {
    height: 0 !important;
    overflow: hidden !important;
  }
}

@media screen and (max-width: 767px) {
.js-typer .typer__custom.js-typer-custom.open {
    height: auto !important;
    max-height: 600px;
    overflow: visible !important;
  }
}

@media screen and (max-width: 767px) {
.js-typer .typer__result.js-result {
    height: 0;
  }
}

@media screen and (max-width: 767px) {
.js-typer .typer__result.js-result.open {
    height: auto;
  }
}

@media screen and (max-width: 767px) {
.js-typer .js-result-custom {
    padding: 10px 15px;
  }
}

.js-typer .typer-mod[hidden] { display: none; }
.js-typer .js-result-custom[hidden] { display: none; }
.js-typer .js-result-custom:not(.open) { pointer-events: none; }
.js-typer .owen-config-time { font-size: 12px; font-weight: 400; }
.js-typer .owen-config-status { margin: 12px 0; color: #9f0412; }
.js-typer [role="button"]:focus-visible { outline: 2px solid #008f86; outline-offset: 3px; }
.js-typer[aria-busy="true"] .js-result-custom { cursor: wait; }
