@media (min-width: 768px) {
    .news-details {
        display: flex;
        justify-content: space-between;
        gap: 30px;
    }
}
.news-details .article {
    flex: 1;
    margin-inline: auto;
}

.v-calc {
    max-width: 100%;
    width: 340px;
}
.v-calc-payyoff-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 0;
    margin-top: 15px;
}
.v-calc-payyoff,
.v-calc-disclaimer {
    display: none;
}
.v-calc-slider--field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.v-calc-payyoff-info.total-value {
    margin-block: 12px 0;
}
.v-calc-payyoff-info--label {
    font-size: 14px;
}
.v-calc-content {
    width: 100%;
    border-radius: 8px;
}
.v-calc-content-short--item {
    height: 60px;
    font-size: 14px;
}
@media (min-width: 768px) {
    .v-calc-content-short--item {
        height: 60px;
        font-size: 14px;
    }
}

@media all and (max-width: 767px) {
    .new-calulator-with-promoaction {
        display: none;
    }
    .v-calc .v-calc-wrapper {
        margin: 0;
    }
    .v-calc .v-calc-content {
        box-shadow: none;
    }
    .v-calc .v-calc-content-wrapper {
        padding: 10px;
    }
}
.v-calc .v-calc-content-wrapper {
    padding-bottom: 10px;
}
.v-calc .v-calc-content .buttons-wrapper .row {
    display: flex;
    flex-direction: column;
}
.v-calc .v-calc-content .buttons-wrapper .row > div {
    width: 100%;
}

.btn-promoaction-details {
    display: flex;
    gap: 10px;
    padding: 13px;
    position: fixed;
    right: 0;
    top: 160px;
    z-index: 10;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    background: linear-gradient(90deg, #BC9DFF 0%, #9465FF 100%);
    font-weight: 400;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
}
@media all and (min-width: 768px) {
  .btn-promoaction-details {
    display: none;
  }
}

.btn-promoaction-details:before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  background-image: url(/assets/img/icons/icon-details-calculate.svg);
}

.l-tell-a-friend .news-details .v-calc .flex-wrap {
    justify-content: start;
}
.l-tell-a-friend .news-details .v-calc a:not(.article-link):not(.btn.green):not(.ui-slider-handle):not(.calc-btn_mobile__txt):not(.btn-new) {
    color: #6E36EA !important;
    border: 1px solid #6E36EA !important;
    text-decoration-line: none !important;
}
.l-tell-a-friend .news-details .v-calc a:not(.article-link):not(.btn.green):not(.ui-slider-handle):not(.calc-btn_mobile__txt):not(.btn-new):hover {
    border: 1px solid #6E36EA !important;
}

.fancybox-details-calc .fancybox-skin {
    border-radius: 8px;
    padding: 0 !important;
}
.fancybox-details-calc .fancybox-skin .v-calc-wrapper {
    margin: 0;
}
.fancybox-details-calc .fancybox-skin .v-calc-content {
    box-shadow: none;
}
.fancybox-details-calc .fancybox-skin .v-calc-content-wrapper {
    padding: 32px 24px;
}
.fancybox-details-calc .fancybox-close {
    z-index: 10;
    background: none;
}
.fancybox-details-calc .fancybox-close:after {
    content: "×";
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    font-size: 50px;
    color: #EC2127;
    cursor: pointer;
    background: #fff;
    border-radius: 50%;
}

.popup-container .popup {
    z-index: 100002;
}
@media all and (max-width: 767px) {
  .popup-container .popup .btn-close {
      right: 4px;
      width: 40px;
      height: 40px;
      text-align: center;
      top: 0;
      line-height: 40px;
      -ms-user-select: none;
      -moz-user-select: none;
      -webkit-user-select: none;
      user-select: none;
      display:block;
  }
}
