.k1-relative-node {
  position: relative;
}

.k1-suggest-block {
  position: absolute;
  top: calc(100% - 20px);
  left: 0.9375rem;
  right: 0.9375rem;
  /*width: 100%;*/
  height: auto;
  /*max-height: 110px;*/
  border: 2px solid #81a0ea;
  transition: max-height .3s linear;
  cursor: pointer;
  display: none;
  z-index: 1000;
}

.k1-cargos-types {
  display: flex;
  gap: 2rem;
  align-items: flex-end;
}

.k1-cargos-types .k1-suggest-block,
.k1-contact-box .k1-suggest-block {
  left: 0;
  right: 0;
}

.k1-cargos-types input {

}

.k1-cargos-types .k1-suggest-block {
  max-height: 150px;
  overflow-y: auto;
}

.k1-cargos-types .k1-cargos-types__description {
  gap: 1rem;
  align-items: center;
  margin-bottom: 20px;
}

.k1-cargos-types .k1-cargos-types__description-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: .9rem;
  max-width: 410px;
  width: 100%;
}

.k1-cargos-types .k1-cargos-types__description-text .k1-cargos-types__description-text--warning {
  color: red;
}

.k1-cargos-types .k1-cargos-types__description-text .k1-cargos-types__description-text--recommend {
  color: green;
}

.k1-suggest-block.k1-show-suggest {
  display: block;
  background-color: #f4f9fc;
  transition: background-color .3s linear;
}

.k1-suggest-block .k1-variant-item {
  padding: 2px 8px;
}

.k1-suggest-block .k1-variant-item + .k1-variant-item {
  border-top: 1px solid rgba(129, 160, 234, .5);
}

.k1-suggest-block .k1-variant-item:hover {
  background-color: #ccebf1;
}

.k1-cargos-types .selecter-item {
  text-transform: lowercase;
}

.k1-cargos-types .tooltips {
  top: 0;
  margin-left: 0;
  flex-shrink: 0;
}

.k1-cargos-types .selecter-item:first-letter {
  text-transform: uppercase;
}

.k1-cargo-parameter-error-block {
  display: none;
  color: red;
  margin-bottom: 20px;
}

.k1-cargo-parameter-error-block ul {
  margin: 10px 0;
}

.k1-cargo-parameter-error-block li {
  color: red;
  /*font-weight: 700;*/
  cursor: pointer;
  /*list-style: decimal;*/
  margin-left: 20px;
}

.k1-cargo-parameter-error-block.k1-show, .k1-cargo-parameter-error-block-ip.k1-show {
  display: block;
}

.k1-cargo-parameter-error-block-ip {
  color: red;
  display: none;
}

.k1-cargo-parameter-error-block-ip ol {
  padding: 0;
  margin: 10px 0;
  list-style: decimal;
}

.k1-cargo-parameter-error-block-ip li {
  color: red;
  /*list-style: decimal;*/
  cursor: pointer;
  margin-left: 20px;
}

.k1-cargo-parameter-error-block-ip li div {
  display: inline-block;
}

.k1-cargo-parameter-error-block-ip li div + div::before {
  content: ", "
}

.f-size-alert[data-name] {
  z-index: 1000;
}


/*.k1-no-pointer {*/
/*    opacity: .5;*/
/*    pointer-events: none;*/
/*}*/

._arrow {
  position: relative;

}

.mt-full-direction ._arrow {
  background: none;
}

._arrow .k1-change-direction {
  position: absolute;
  top: -12px;
  /*top: calc(100% + 50px);*/
  width: 48px;
  height: 48px;
  z-index: 100;
  transition: transform .3s linear, border-color .3s linear, background-color .3s linear;
  border-radius: 5px;
  padding: 4px;
  left: -14px;
}

._arrow .k1-change-direction div {
  transition: transform .3s linear;
  text-align: center;
}

._arrow .k1-change-direction:hover {
  cursor: pointer;
  background-color: #0890cd;

}

._arrow .k1-change-direction:hover div img {
  filter: brightness(0) invert(1);
}


._arrow .k1-change-direction div:last-child {
  transform: rotate(180deg)
}

span.selecter-item.k1-regime-terminal::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
  background-image: url("/bitrix/templates/.default/images/ico/regime.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  top: 4px;
}

.k1-dimensions:not(.k1-calc-simple) .k1-spoiler-dimensions__action {
  display: none;
}

.k1-dimensions.k1-calc-simple .k1-spoiler-dimensions__action {
  cursor: pointer;
  color: #008dcc;
  margin-bottom: 20px;
  width: max-content;
  padding-left: 20px;
  background: url("/bitrix/templates/.default/images/ico/right-ico.png") no-repeat left center / 6px auto;
  transition: .2s;
}

.k1-dimensions.k1-calc-simple .k1-spoiler-dimensions__action.opened {
  background: url("/bitrix/templates/.default/images/ico/right-ico-drop.png") no-repeat left center / 12px auto;
}

.k1-calc-simple .k1-spoiler-dimensions__data {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s linear;
}

.k1-calc-simple .k1-spoiler-dimensions {
  order: 10;
  width: 100%;
}

.f-size-alert--static {
  position: relative;
  bottom: -1px;
  display: none;
}

.k1-spoiler-dimensions .direction__panel .input-symbols {
  margin-top: 15px;
}

@media (max-width: 1100px) {
  .k1-cargos-types {
    flex-direction: column;
    gap: 0;
  }
}

.k-calc-table-toggle-head {
  margin-bottom: 0;
  color: inherit;
  font: inherit;
}

.k-calc-table-toggle + .k-toggle-table {
  display: none;
}

.k-calc-table-toggle.active + .k-toggle-table {
  display: table;
}

.k-toggle-table tr td + td {
  white-space: nowrap;
}

.k1-hide-node-zero-price {
  display: none !important;
}

.k-prr-inputs {
  width: 100%;
  display: none;

  flex-direction: column;
}

.k-prr-inputs-block {
  display: flex;
  gap: 15px;
}

.k-prr-inputs .input-form {
  width: 100%;
  max-width: 100px;
  padding-right: 40px;
}

.k-prr-input-wrapper {
  position: relative;
}

.k-prr-input-wrapper span {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: 0 13px 0 0;
  font: 300 14px 'helvetica neue';
  color: #333;
  display: inline-block;
  z-index: 3;
  height: 48px;
  line-height: 48px;
}

.k-calculator-page [data-name=direction-from]:not(:has(#mt-radio-from-terminal:checked)) ~ [data-name=date-take-cargo] .first-check-panel:has([data-name=address-from-address]) {
  display: none;
}

.k-calculator-page [data-name=direction-to]:not(:has(#mt-radio-to-terminal:checked)) ~ [data-name=date-give-cargo] .second-check-panel:has([data-name=address-to-address]) {
  display: none !important;
}

.k-paletizing-block {
  /*display: flex;*/
  /*align-items: center;*/
  /*gap: 8px;*/
}

.k-paletizing-count-block {
  margin-left: 8px;
  position: relative;
  top: -10px;
}

.k-iframe-full-calculator.buisnes .mt-full-direction .direction__panel {
  margin-right: 0;
}

#res-calculation:has(.k-loader-wrapper) {
  min-height: 120px;
  position: relative;
}

#res-calculation .k-loader-wrapper {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#res-calculation .k-loader-blur {
  filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.8);
}

#res-calculation .k-loader {
  /*display: none;*/
  /*position: fixed;*/
  /*z-index: -100;*/
}

#res-calculation .k-loader {
  display: block;
  width: 36px;
  height: 36px;
  position: absolute;
  left: calc(50% - 18px);
  top: calc(50% - 18px);
  animation: infinityRotate 5s linear infinite;
  z-index: 100;
}

@keyframes infinityRotate {
  0% {
    rotate: 0deg
  }
  100% {
    rotate: 360deg
  }
}

.direction__panel:has(>.k-delivery-address-sticker) {
  position: relative;
  margin-bottom: 23px !important;
}

.direction__panel:has(>.k-delivery-address-sticker) label {
  margin-bottom: 0;
}

.k-delivery-address-sticker {
  position: absolute;
  left: 300px;
  top: calc(50% - 17px);
  color: #fff;
  background-color: #EC3577;
  font-size: 13px;
  padding: 4px 4px;
  width: 126px;
  height: 40px;
  line-height: 1.2;

  display: flex;
  justify-content: center;
}

.k-delivery-address-sticker--blue {
  background-color: #008dcc
}

.k-delivery-address-sticker>div:first-child {
  padding-right: 4px;
}

.k-delivery-address-sticker>div:last-child {
  border-left: 1px solid white;
  padding-left: 4px;
}

.k-delivery-address-sticker b {
  font-weight: 500;
}


.k-hide,
.k-delivery-address-sticker.hide {
  display: none !important;
}

.k-delivery-address-sticker:before {
  content: "";
  position: absolute;
  display: block;
  left: -10px;
  top: 0;

  width: 0;
  height: 0;

  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-right: 10px solid #EC3577;
}

.k-delivery-address-sticker--blue:before {
  border-right: 10px solid #008dcc;
}

.k-transport-type-nodes,
.k-delivery-type-nodes {
  display: flex;
  align-items: center;
  gap: 24px;

  margin-bottom: 16px;
}

.k-transport-type-nodes input,
.k-delivery-type-nodes input {
  display: none;
  opacity: 0;
  width: 0;
  height: 0;
}

.k-transport-type-nodes label,
.k-delivery-type-nodes label {
  padding: 10px 24px;
  border: 1px solid #042e65;
  color: #042e65;
  transition: all .2s ease-in-out;
  cursor: pointer;
  margin: 0;
}
.k-transport-type-nodes label:hover,
.k-delivery-type-nodes label:hover {
  box-shadow: 0 0 10px -2px #008dcc;
}
.k-transport-type-nodes label:has(input:checked),
.k-delivery-type-nodes label:has(input:checked) {
  color: white;
  background-color: #042e65;
}

.rc-rc-list-parent,
.rc-address-list-parent {
  position: relative;
  z-index: 1;
}
.rc-rc-list-parent {
  z-index: 2;
}

.k-rc-parent .selecter {
  width: auto;
}

.table-summ-first tr:has(+ .k-result-prr-row) {
  border-bottom: none;
}

.table-summ-first tr.k-result-prr-row {

  border-bottom: 1px solid #e5e5e5;
}
.table-summ-first tr.k-result-prr-row td:first-child {
  text-align: left;
  font: normal 12px 'helvetica neue';
  color: #09121d;
  padding-top: 0;
  max-width: 140px;
}

.table-summ-first tr.k-result-prr-row td:last-child {
  text-align: right;
  font: 500 14px 'helvetica neue';
  color: #008dcc;
  padding-top: 0;
}

@media (max-width: 480px) {
  .k-paletizing-count-block.input-symbols {
    max-width: 100px;
  }

  .direction__panel:has(>.k-delivery-address-sticker) {
    display: flex;
    gap: 20px;
    align-items: center;
  }
  .k-delivery-address-sticker {
    position: relative;
    left: initial;
    top: initial;
    white-space: nowrap;
  }
  .k1-cargos-types {
    align-items: flex-start;
  }
}



/*.k-paletizing-block label {*/
/*    margin-bottom: 0;*/
/*}*/

/*.table-summ-detail-first {*/
/*    border-bottom: 1px solid #e5e5e5;*/
/*}*/

/*.table-summ-detail-first.table-summ-second tr:last-child {*/
/*    border-bottom: none;*/
/*}*/