/* Указываем box sizing */
* {
  box-sizing: border-box;
}

/* Убираем внутренние отступы */
ul[class],
ol[class] {
  padding: 0;
}

/* Убираем внешние отступы */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Выставляем основные настройки по-умолчанию для body */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  background: #e8e8f0;
}

/* Удаляем стандартную стилизацию для всех ul и il, у которых есть атрибут class*/
ul[class],
ol[class] {
  list-style: none;
}

/* Наследуем шрифты для инпутов и кнопок */
input,
button,
textarea,
select {
  font: inherit;
}

.box {
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  max-width: 1140px;
  background: #ffffff;
  font-family: "Courier New", Courier, monospace;
  font-weight: 600;
}

.constructor {
  margin-top: 100px;
  padding: 30px;
}

.form-control {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
  margin-bottom: 10px;
  justify-content: space-between;
}

.form-control input,
.form-control select,
.form-control button {
  display: block;
  width: 70%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  height: 40px;
  outline: none;
}

.form-control button {
  width: 100%;
  cursor: pointer;
}

.message {
  margin-bottom: 20px;
  background-color: #00ffaa;
  border: 2px solid #006845;
  border-radius: 5px;
  padding: 15px;
}

.wrap {
  max-width: 1340px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.const {
  width: 100%;
  font-family: "Courier New", Courier, monospace;
}

.const-top {
  height: 634px;
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url(/img/config_bg.jpg);
  top: -69px;
  width: 100%;
  right: 0;
  z-index: 0;
  padding-top: 66px;
}

.const-top-title {
  color: white;
  font-size: 30px;
  text-transform: uppercase;
  margin-top: 20px;
}

.const-top-text {
  color: white;
  font-size: 18px;
  line-height: 28px;
  margin-top: 40px;
  font-weight: bold;
}

.const-wire {
  height: 250px;
  margin-top: 70px;
  position: relative;
  font-size: 0;
}

.const-blueprint {
  position: absolute;
  left: calc(-50vw + 50%);
  height: 210px !important;
  width: calc(50vw - 50%);
  background: url(/img/blueprint.jpg);
  background-position: center center;
  background-repeat: repeat-x;
  z-index: 6;
}

.const-start {
  height: 250px;
  width: 2px;
  background-color: white;
  top: -20px;
  position: absolute;
  z-index: 6;
}

.const-parts {
  display: flex;
  align-items: center;
  height: 210px;
}

.const-part {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center right;
  display: inline-block;
  transition: all 0.4s ease;
}

.const-part-1 {
  z-index: 5;
}

.const-part-2 {
  z-index: 4;
}

.const-part-3 {
  z-index: 3;
}

.const-part-4 {
  z-index: 2;
}

.const-part-5 {
  z-index: 1;
}

.const-part-hidden {
  width: 0 !important;
}

.table {
  width: 100%;
  margin: 20px 0;
  border: 1px solid #dddddd;
  border-collapse: collapse;
}
.table th {
  font-weight: bold;
  padding: 5px;
  background: #efefef;
  border: 1px solid #dddddd;
}
.table td {
  border: 1px solid #dddddd;
  padding: 5px;
}

.const-steps {
  width: 100%;
  max-width: 1180px;
  margin: -131px auto 50px;
  border-radius: 4px;
  box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.const-step {
  width: 100%;
  min-height: 320px;
  background-color: white;
  display: none;
  position: relative;
}

.const-step-last {
  background-color: rgba(13, 66, 110, 0.03);
}

.const-tabs {
  height: 62px;
  display: flex;
}

.const-tab {
  height: 100%;
  width: 148px;
  background-color: #0d426e;
  padding-left: 20px;
  position: relative;
  cursor: default;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: all 0.8s ease;
}

.const-tab::after,
.const-tab::before {
  content: " ";
  left: calc(100% - 13px);
  top: 50%;
  border: solid transparent;
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  z-index: 1;
  transition: all 0.8s ease;
  transform: scale(0.6, 1);
}

.const-tab::before {
  border-left-color: #416789;
  border-width: 31px;
  margin-top: -31px;
}

.const-tab::after {
  border-left-color: #0d426e;
  border-width: 30px;
  margin-top: -30px;
}

.const-tab:last-of-type::after,
.const-tab:last-of-type::before {
  display: none;
}

.const-tab:last-of-type {
  padding-left: 20px;
}

.const-tab-title,
.const-tab-subtitle {
  font-size: 13px;
  line-height: 20px;
  color: #416789;
  font-weight: bold;
}

.const-tab-subtitle {
  text-transform: uppercase;
}

.const-tab-active .const-tab-subtitle,
.const-tab-active .const-tab-title,
.const-tab-passed .const-tab-subtitle,
.const-tab-passed .const-tab-title {
  color: #fff;
}

.const-tab-passed {
  background-color: #ad0707;
}

.const-tab-passed:after {
  border-left-color: #ad0707;
}

.const-variants {
  display: inline-flex;
  padding: 31px 36px 0;
  width: calc(100% - 329px);
  flex-wrap: wrap;
}

.const-info {
  width: 329px;
  display: inline-block;
  background-color: #f9f9fb;
  height: 100%;
  position: absolute;
  padding: 31px 30px 30px;
  font-size: 13px;
  line-height: 24px;
  color: black;
}

.const-variants-title {
  font-size: 16px;
  line-height: 20px;
  color: black;
  font-weight: bold;
  width: 100%;
  margin-bottom: 25px;
}

.const-variants-content {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.check-block {
  padding-left: 35px;
  width: 50%;
  height: 60px;
}

.check-block input {
  position: absolute;
  opacity: 0;
  display: none;
}

.check-block label {
  line-height: 20px;
}

.check-block label {
  color: black;
  font-size: 14px;
  font-weight: bold;
  position: relative;
  cursor: pointer;
  display: inline-block;
  padding: 0 0 0 26px;
}

.check-block input:checked + label::before {
  border: 1px solid #0070c5;
  background: #0070c5;
  box-shadow: 0 0 5px 1px rgba(0, 112, 197, 0.6);
}

.check-block input:hover + label:before {
  cursor: pointer;
}

.check-block input:disabled + label {
  color: #b8b8b8;
  cursor: auto;
}

.check-block label::before {
  content: "";
  margin-right: 10px;
  display: inline-block;
  vertical-align: text-top;
  width: 16px;
  height: 16px;
  background: white;
  border: 1px solid #b9b9b9;
  transition: all 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.05);
}

.check-block input:checked + label:after {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  background: #fff;
  width: 2px;
  height: 2px;
  box-shadow: 2px 0 0 #fff, 4px 0 0 #fff, 4px -2px 0 #fff, 4px -4px 0 #fff,
    4px -6px 0 #fff, 4px -8px 0 #fff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.const-info {
  width: 329px;
  display: inline-block;
  background-color: #f9f9fb;
  height: 100%;
  position: absolute;
  padding: 31px 30px 30px;
  font-size: 13px;
  line-height: 24px;
  font-family: "Open Sans";
  color: #000;
}

.const-info p {
  font-size: 15px;
}

.const-nav {
  height: 50px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}

.const-nav-btn {
  width: calc(50% - 20px);
}

.btn {
  font-size: 14px;
  border-radius: 2px;
  position: relative;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  height: 50px;
  min-width: 93px;
  outline: 0;
  border: 0;
}

.btn-dark {
  background-color: #0d426e;
  color: white;
}

.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.const-result {
  display: inline-flex;
  padding: 31px 36px 30px;
  width: calc(100% - 329px);
  flex-wrap: wrap;
}

.catalog-section {
  width: 100%;
}

.catalog-item {
  width: 100%;
  border-radius: 4px;
  background-color: #fff;
  box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.05);
  height: 200px;
  margin-top: 23px;
  display: flex;
  overflow: hidden;
  padding: 25px;
  gap: 25px;
}

.catalog-img {
  height: 150px;
  width: 150px;
  flex-shrink: 0;
  align-self: center;
}

.catalog-img img {
  width: 100%;
  height: auto;
}

.catalog-info {
  align-self: flex-start;
}

.catalog-info-title {
  font-size: 18px;
  font-weight: bold;
}

.catalog-info-text {
  font-size: 14px;
  text-align: justify;
}
