.vib-calculation-form {
  margin-top: 40px;
  overflow: hidden;
}

.vib-calculation-form .title {
  font-style: normal;
  font-weight: 600;
  font-size: 26px;
  line-height: 34px;
  margin-bottom: 30px;
}
.vib-v2-deposit-tool-calculation
  .vib-v2-exit-result-calculation
  .icon-popup-exit {
  width: 16px;
  height: 16px;
}
.vib-calculation-form .box-content {
  /* box-shadow: 0px 1px 5px rgba(188, 188, 188, 0.25);
  background: #ffffff; */
  padding: 20px;

  border-radius: 15px;
  border: 1px solid var(--Mono-Mono-4, #e4e4e4);
  background: #fff;
}

/* .vib-calculation-form .col {
  height: 125px;
  padding-left: 15px;
  padding-right: 15px;
} */
/* .vib-calculation-form .row {
  margin-left: -15px;
  margin-right: -15px;
} */
.vib-calculation-form .vib-v2-input-group-box {
  margin: 0;
  position: relative;
}

.vib-calculation-form .input-form {
  background: #fff;
  border: 1px solid #e4e4e4;
  border: 1px solid var(--bg-color-mono-4);
  box-shadow: none !important;
  height: 72px;
  width: 100%;
  padding-left: 20px;
  border-radius: 2px;
}
.vib-calculation-form .ph_input {
  position: absolute;
  top: 15px;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #000000;
}
.vib-calculation-form .field_input {
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: #000000;
  position: absolute;
  top: 35px;
}
.vib-calculation-form .focus .field_input {
  top: 35px;
}

.vib-calculation-form .toolbar-range-sllider {
  width: 100%;
  position: absolute;
  bottom: 0;
  margin-top: 0;
  top: 50px;
  height: auto;
  padding-left: 0;
  padding-right: 0;
}
.vib-calculation-form .calculator-wraper {
  margin-top: 17px;
}
.range-container,
.range-container .min-max-value {
  width: 100%;
  position: relative;
}
.rangeslider__fill,
.vib-v2-toolbar-range-sllider .rangeslider {
  height: 5px;
}
.vib-calculation-form .vib-v2-toolbar-range-sllider .rangeslider__fill__new {
  height: 5px;
  width: 100% !important;
  border-radius: 0;
  margin-left: 0;
  background: #ccc;
  max-width: 100%;
  border-radius: 5px;
}
.vib-v2-toolbar-range-sllider .splitter {
  display: none;
}
.vib-calculation-form .vib-v2-toolbar-range-sllider .rangeslider__fill {
  background: var(--bg-gradient-orange-1);
  margin-left: 0;
  height: 5px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.vib-calculation-form .vib-v2-toolbar-range-sllider .rangeslider__handle {
  margin-left: 0;
  padding: 7px;
  left: 210px;
  border: 4px solid var(--bg-gradient-orange-1);
  border-radius: 50%;
  top: -14px;
  background: #fff; /*linear-gradient(#fff, #fff) padding-box, linear-gradient(to right, #FE9B25, #FF5922) border-box;*/
  width: 0px;
  height: 0px;
}

.rangeslider__handle {
  background: #f47920;
  cursor: pointer;
  display: inline-block;
  top: -20px;
  border-radius: 1.4285714286em;
  position: relative;
}
.vib-v2-toolbar-range-sllider .rangeslider__handle:before {
  content: " ";
  display: block;
  position: absolute;
  width: 40px;
  height: 37px;
  left: -32px;
  top: -30px;
}
.vib-v2-toolbar-range-sllider .arrow-left-1 {
  left: 0;
  top: 1px;
  right: auto;
}
.vib-v2-toolbar-range-sllider .arrow-left-1,
.vib-v2-toolbar-range-sllider .arrow-left-2,
.vib-v2-toolbar-range-sllider .arrow-right-1,
.vib-v2-toolbar-range-sllider .arrow-right-2 {
  border: none;
  width: 1px;
  height: 1px;
  background: #000;
}
.vib-v2-toolbar-range-sllider .arrow-left-1,
.vib-v2-toolbar-range-sllider .arrow-left-2,
.vib-v2-toolbar-range-sllider .arrow-right-1,
.vib-v2-toolbar-range-sllider .arrow-right-2 {
  opacity: 0;
}
.vib-v2-toolbar-range-sllider .rangeslider__handle:after {
  content: " ";
  display: block;
  position: absolute;
  width: 100px;
  height: 57px;
  right: -84px;
  top: -9px;
}
.vib-v2-toolbar-range-sllider .arrow-left-1 {
  left: 0;
  top: 1px;
  right: auto;
}
.vib-v2-toolbar-range-sllider .arrow-left-2 {
  left: 0;
  top: 3px;
  right: auto;
}
.vib-v2-toolbar-range-sllider .arrow-right-1 {
  left: 0;
  top: 5px;
  right: auto;
}
.vib-v2-toolbar-range-sllider .arrow-right-2 {
  display: none;
}
.range-container,
.range-container .min-max-value {
  width: 100%;
  position: relative;
}
.vib-v2-toolbar-range-sllider .range-container .min-max-value .min-value {
  left: 0;
  top: 10px;
}
.vib-v2-toolbar-range-sllider .range-container .min-max-value .max-value,
.vib-v2-toolbar-range-sllider .range-container .min-max-value .min-value {
  font-size: 14px;
  color: #5e5c62;
}
.vib-v2-toolbar-range-sllider .range-container .min-max-value .max-value {
  right: 0;
  top: 10px;
}
.vib-v2-toolbar-range-sllider .range-container .min-max-value .max-value,
.vib-v2-toolbar-range-sllider .range-container .min-max-value .min-value {
  font-size: 14px;
  color: #5e5c62;
}
.vib-v2-deposit-tool-calculation
  .vib-v2-toolbar-range-sllider
  .range-container
  .min-max-value
  .min-value {
  left: 0;
}
.vib-v2-deposit-tool-calculation
  .vib-v2-toolbar-range-sllider
  .range-container
  .min-max-value
  .max-value {
  right: 0;
}
/* .vib-v2-deposit-tool-calculation .vib-v2-btn-dk-congcu {
  margin-top: 20px;
} */
.vib-v2-deposit-tool-calculation #personal-loan-borrow .vib-v2-btn-dk-congcu {
  width: auto !important;
}
.vib-v2-deposit-tool-calculation
  #personal-loan-borrow
  .vib-v2-btn-dk-congcu
  .vib-v2-btn-dk02 {
  float: right;
}
/* BEGIN Dropdown */
.vib-v2-deposit-tool-calculation
  .select_ocb
  .ocb.bootstrap-select
  > .dropdown-toggle {
  border: 1px solid #e4e4e4;
  border: 1px solid var(--bg-color-mono-4);
  background: #fff;
  height: 72px;
}

.vib-v2-deposit-tool-calculation .select_ocb .form-control.ocb {
  height: auto;
}

.vib-v2-deposit-tool-calculation .select_ocb .form-control.open {
  border: none;
}

.vib-v2-deposit-tool-calculation
  .select_ocb
  .bootstrap-select.btn-group
  .dropdown-menu {
  min-width: calc(100% - 2px);
  border: 1px solid #e4e4e4;
  border: 1px solid var(--bg-color-mono-4);
  left: 0;
  width: calc(100% - 2px);

  box-shadow: 0px 1px 5px rgba(188, 188, 188, 0.25);
  box-shadow: var(--drop-shadown);
}

.vib-v2-deposit-tool-calculation
  .select_ocb
  .bootstrap-select.btn-group
  .dropdown-toggle
  .filter-option {
  line-height: 22px;
  font-weight: var(--font-small-body-medium-weight);
  top: 35px;
}

.vib-v2-deposit-tool-calculation .select_ocb .select_tit {
  top: 25px;
}
.vib-v2-deposit-tool-calculation .select_ocb.focus .select_tit {
  font-size: var(--font-small-body-regular-size);
  font-weight: var(--font-small-body-regular-weight);
  line-height: var(--font-small-body-regular-height);
  top: 15px;
}

.select_ocb .ocb.bootstrap-select > .dropdown-toggle .caret {
  top: 25px;
}
.vib-v2-deposit-tool-calculation .select_ocb .dropdown-menu > li > a {
  font-size: var(--font-body-medium-size);
  font-weight: var(--font-body-medium-weight);
  line-height: var(--font-body-medium-height);
}

.vib-v2-deposit-tool-calculation .select_ocb .dropdown-menu > li > a:hover {
  color: var(--color-orange);
  background: none;
}

.vib-v2-deposit-tool-calculation
  .select_ocb
  .bootstrap-select
  .dropdown-menu
  li.active:before {
  content: "";
  position: absolute;
  right: 10px;
  top: 7px;
  background: url(https://www.vib.com.vn/static/theme/vs2018/images/arrow_check_selectbox.svg)
    no-repeat;
  background-size: 100%;
  height: 27px;
  width: 27px;
  z-index: 55;
}
::-webkit-scrollbar-track {
  background: white;
}

/* BEGIN Radio Checkbox */
.vib-v2-deposit-tool-calculation .magic-checkbox + label:before,
.vib-v2-deposit-tool-calculation .magic-radio + label:before {
  width: 20px;
  height: 20px;
}
.vib-v2-deposit-tool-calculation .magic-radio + label:after {
  top: 7px;
  left: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}
.magic-checkbox + label:before,
.magic-radio + label:before {
  background-color: #fff;
  border: 2px solid #e4e4e4;
  border: 2px solid var(--bg-color-mono-2);
}

.magic-checkbox:checked + label:before,
.magic-radio:checked + label:before {
  border: none;
}

body#content .magic-radio + label:before {
  border-radius: 50%;
}

.magic-radio + label:after {
  top: 7px;
  left: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.magic-checkbox + label,
.magic-radio + label {
  line-height: normal;
  padding-left: 30px;
}

/* BEGIN calculator result */
.vib-v2-result-calculation.compare-calculation {
  margin-top: 20px;
  box-shadow: 0px 1px 5px rgb(188 188 188 / 25%);
  display: block;
}
.vib-v2-deposit-tool-calculation .copntainer .vib-v2-result-calculation-slider {
  width: 100%;
  display: flex;
}
.vib-v2-deposit-tool-calculation
  .vib-v2-result-calculation
  .vib-v2-result-calculation-slider {
  border: none;
  width: 100%;
}
.vib-v2-deposit-tool-calculation
  .vib-v2-result-calculation
  .vib-v2-result-calculation-slider
  .containter-result-calculation {
  padding: 60px 20px 30px 20px;
  padding-top: 60px;
  background: #ffffff;
  border-top: none;
  border-right: none;
}

.vib-calculation-form
  .vib-v2-result-calculation
  .vib-v2-result-calculation-slider
  .vib-v2-line-result-calculation:not(:first-child) {
  border-left: 1px solid #e4e4e4;
  border-right: none;
  border-top: none;
}
.containter-result-calculation .title {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e4e4e4;
  text-align: left;

  color: var(--Mono-Mono-1, #000);
  font-feature-settings: "liga" off, "clig" off;

  /* Title/Title 3 */
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px; /* 120% */
}
.containter-result-calculation .title p {
  margin-bottom: 0;
}
.containter-result-calculation .sub-title {
  margin-top: 17px;
  color: var(--Mono-Mono-1, #000);
  font-feature-settings: "liga" off, "clig" off;

  /* Body 16/Regular */
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px; /* 162.5% */
}
.containter-result-calculation .sub-title span {
  font-weight: 400;
  display: inline-block;
  float: right;
  margin: 0;
}
.vib-v2-line-result-calculation.not-choose span::before {
  content: "";
  background: var(--icon-plus-black) center center no-repeat;
  top: -45px;
  left: 0;
  position: absolute;
  background-size: 35px;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.vib-v2-deposit-tool-calculation
  .vib-v2-result-calculation
  .vib-v2-result-calculation-slider
  .vib-v2-line-result-calculation.not-choose
  .vib-v2-title-result-calc {
  margin: 0;
  height: 100%;
  justify-content: center;
  display: flex;
  align-items: center;
  color: #000;
  font-weight: 400;
  font-size: 16px !important;
}
.vib-v2-deposit-tool-calculation
  .vib-v2-result-calculation
  .vib-v2-result-calculation-slider
  .vib-v2-line-result-calculation.not-choose
  .vib-v2-title-result-calc
  span {
  margin-left: 5px;
}
.containter-result-calculation .row-bottom .btn-result-register {
  margin-top: 32px;
  text-align: left;
  overflow: hidden;
}
.containter-result-calculation .row-bottom .vib-v2-btn-dk01 {
  float: left;
  max-width: max-content;
  padding: 0 30px;
  max-width: max-content !important;
}
@media (min-width: 1024px) {
  .vib-calculation-form
    .vib-v2-toolbar-range-sllider
    .rangeslider__handle:hover {
    background: var(
      --bg-gradient-orange-1
    ); /*linear-gradient(to right, #FE9B25, #FF5922) padding-box, linear-gradient(to right, #FE9B25, #FF5922) border-box;;*/
  }
}

@media (min-width: 767px) and (max-width: 991px) {
  .vib-calculation-form .col {
    width: 50%;
    flex: 50%;
    max-width: 50%;
    margin-bottom: 20px;
  }
  .vib-v2-toolbar-range-sllider .rangeslider__handle:after {
    right: 0;
  }
  .vib-calculation-form .containter-result-calculation .title {
    padding: 0 0 30px 0;
  }
  .vib-v2-deposit-tool-calculation
    .container
    .vib-v2-result-calculation.compare-calculation {
    overflow: visible;
  }
  .vib-calculation-form {
    overflow: visible;
  }
  .vib-calculation-form .bx-wrapper .bx-pager {
    position: absolute;
    bottom: -45px;
  }
}
@media (max-width: 991px) {
  .vib-v2-deposit-tool-calculation .container {
    padding: 0;
  }
  .vib-calculation-form .title {
    padding: 0 20px;
  }
  .vib-calculation-form .box-content {
    padding: 30px 20px;
    margin: 0 20px;
  }
  .vib-v2-deposit-tool-calculation
    .container
    .vib-v2-result-calculation.compare-calculation {
    margin-top: 20px;
    margin-bottom: 0;
    margin-left: 0;
  }
}
@media (max-width: 767px) {
  .vib-calculation-form .title {
    padding: 0 20px;
  }

  .vib-calculation-form .compare-calculation .title {
    padding: 0 0 30px 0;
  }
  .vib-v2-deposit-tool-calculation .container {
    padding: 0;
  }
  /* .vib-calculation-form .box-content {
    padding: 30px 20px;
  } */
  .vib-calculation-form .toolbar-range-sllider {
    display: block;
  }
  .vib-calculation-form .col:not(:first-child) {
    margin-top: 20px;
  }
  .vib-v2-deposit-tool-calculation .vib-v2-result-calculation .bx-wrapper {
    background: none;
    border: none;
    width: 100%;
    margin-right: 0;
  }
  .vib-v2-deposit-tool-calculation
    .vib-v2-result-calculation
    .vib-v2-result-calculation-slider {
    display: block;
  }
  .vib-v2-deposit-tool-calculation .bx-wrapper .bx-viewport {
    height: auto !important;
    box-shadow: none;
  }
  .vib-v2-deposit-tool-calculation
    .bx-wrapper
    .bx-viewport
    .vib-v2-result-calculation-slider
    .vib-v2-line-result-calculation {
    width: 100% !important;
  }

  .vib-v2-deposit-tool-calculation
    .bx-wrapper
    .bx-viewport
    .vib-v2-result-calculation-slider
    .vib-v2-line-result-calculation {
    border: none !important;
    box-shadow: 0px 1px 5px rgb(188 188 188 / 25%);
    border-radius: 2px;
    margin-bottom: 5px;
    padding: 60px 20px 30px 20px;
  }
  .vib-v2-deposit-tool-calculation
    .container
    .vib-v2-result-calculation.compare-calculation {
    margin-top: 20px;
    margin-bottom: 0;
    margin-left: 0;
  }
  .vib-v2-deposit-tool-calculation
    .container
    .vib-v2-result-calculation
    .vib-v2-line-result-calculation.not-choose {
    max-height: 170px;
    min-height: 170px;
    padding-top: 90px;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 0;
  }
  .vib-v2-deposit-tool-calculation
    .container
    .vib-v2-result-calculation
    .vib-v2-line-result-calculation {
    margin-bottom: 5px;
  }
  .vib-v2-deposit-tool-calculation
    .container
    .vib-v2-result-calculation
    .vib-v2-line-result-calculation.not-choose:not(:last-child):not(
      first-child
    ) {
    display: none;
  }
  .vib-v2-deposit-tool-calculation
    .container
    .vib-v2-result-calculation
    .vib-v2-line-result-calculation.not-choose
    .vib-v2-title-result-calc {
    writing-mode: initial;
    padding-left: 0;
  }
  .vib-v2-line-result-calculation.not-choose span::before {
    top: -25px;
  }
  .vib-v2-deposit-tool-calculation .compare-calculation .bx-controls {
    display: none !important;
  }
}

/* ------- editing -------- */

#personal-loan-borrow .vib-v2-input01.ocb {
  border-radius: 10px;
  height: 78px;
  padding: 15px 20px;
}

#personal-loan-borrow .vib-v2-input01.ocb.focus .ph_input {
  line-height: 18px;
  color: var(--Mono-Mono-2, #5e5c62);
}

#personal-loan-borrow .vib-v2-input01.ocb.focus .field_input {
  top: 39px;
  line-height: 26px;
}

#personal-loan-borrow .rangeslider__fill,
#personal-loan-borrow .vib-v2-toolbar-range-sllider .rangeslider {
  height: 4px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

#personal-loan-borrow
  .vib-v2-toolbar-range-sllider
  .range-container
  .min-max-value
  .max-value,
#personal-loan-borrow
  .vib-v2-toolbar-range-sllider
  .range-container
  .min-max-value
  .min-value {
  top: 12px;
  line-height: 18px;
}

#personal-loan-borrow .vib-v2-toolbar-range-sllider .rangeslider__fill__new {
  height: 4px;
  border-radius: 40px;
  background: var(--Mono-Mono-4, #e4e4e4);
}

#personal-loan-borrow .vib-v2-toolbar-range-sllider .rangeslider__fill {
  border-radius: 40px 0 0 40px;
  background: var(
    --Banner-Fire-Right,
    linear-gradient(90deg, #f39423 0.14%, #ee511d 99.86%)
  );
}

#personal-loan-borrow .vib-v2-toolbar-range-sllider .rangeslider__handle {
  padding: 10px;
  top: -13px;
  border: 0;
  background: #fff;
  box-shadow: 0px 4px 8px 1px rgba(188, 188, 188, 0.5);
}

#personal-loan-borrow .vib-v2-toolbar-range-sllider .rangeslider__handle:after {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  right: 0;
  border-radius: 50%;
  background: #fff;
}

#personal-loan-borrow
  .vib-v2-toolbar-range-sllider
  .rangeslider__handle:before {
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  left: 1px;
  top: 1px;
  right: 0;
  border-radius: 50%;
  background: #fff;
  z-index: 1;
}



#personal-loan-borrow .vib-v2-line-box-deposit {
  width: 50%;
  position: relative;
  height: 130px;
  float: left;
  margin-bottom: 0;
  z-index: 1;
}

@media only screen and (max-width: 767px) {
  body #layoutContainers #personal-loan-borrow .vib-v2-line-box-deposit {
    height: 146px !important;
  }
  .vib-calculation-form .title {
    margin-bottom: 20px;
  }

  #personal-loan-borrow .vib-v2-line-box-deposit {
    width: 100%;
  }

  .vib-calculation-form .box-content {
    padding: 20px;
    margin: 0px;
    border-radius: unset;
    border: unset;
    background: var(--Mono-Mono-7, #FFF);
    box-shadow: 0px 1px 5px 0px rgba(188, 188, 188, 0.25);
  }
  section > div > div.vib-v2-result-calculation.compare-calculation {
    border-radius: unset !important;
    border: unset !important;
  }

  #layoutContainers .vib-v2-deposit-tool-calculation .vib-v2-result-calculation .vib-v2-line-result-calculation {
    margin-bottom: 10px;
  }

  #parent-box > div.vib-v2-line-result-calculation.containter-result-calculation > div.title {
    color: var(--Mono-Mono-1, #000);
    font-feature-settings: 'liga' off, 'clig' off;
    
    /* Title/Title 3 */
    font-family: Inter;
    font-size: 20px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 24px !important; /* 120% */
    margin-bottom: 30px;
  }

 
 
}

@media (min-width: 768px) and (max-width: 1024px) {
  #layoutContainers #personal-loan-borrow .vib-v2-line-box-deposit {
    height: 146px !important;
  }

    #layoutContainers .vib-v2-deposit-tool-calculation.vib-calculation-form {
        margin-top: 60px;
    }

    #parent-box > div.vib-v2-line-result-calculation.containter-result-calculation > div.title{
        color: var(--Mono-Mono-1, #000);
        font-feature-settings: 'liga' off, 'clig' off;
        
        /* Title/Title 3 */
        font-family: Inter;
        font-size: 20px;
        font-style: normal;
        font-weight: 600;
        line-height: 24px; /* 120% */
        margin-bottom: 20px; 
    }
    .vib-calculation-form .box-content {
        padding: 20px !important;
    }
    .vib-support-bottom {
        margin-top: 40px !important;
        margin-bottom: 40px !important;
    }

    .vib-v2-deposit-tool-calculation
    .container
    .vib-v2-result-calculation.compare-calculation {
     margin: 20px 20px 0 20px !important;
  }
}

@media only screen and (min-width: 1025px) {
  #layoutContainers #personal-loan-borrow .vib-v2-line-box-deposit {
    height: 156px !important;
  }
  #personal-loan-borrow
    .vib-v2-toolbar-range-sllider
    .rangeslider__handle:hover:after {
    background: var(
      --Banner-Fire-Right,
      linear-gradient(90deg, #f39423 0.14%, #ee511d 99.86%)
    );
  }
  #personal-loan-borrow div.vib-v2-btn-dk-congcu > a {
    padding: 10px 32px;
  }
  .vib-v2-title-result-calc {
    color: var(--Mono-Mono-1, #000);
    text-align: center;
    font-feature-settings: "liga" off, "clig" off;

    /* Body 16/Regular */
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px !important; /* 162.5% */
  }
}

section > div > div.vib-v2-result-calculation.compare-calculation {
    border-radius: 15px;
    border: 1px solid var(--Mono-Mono-4, #e4e4e4);
}

#parent-box {
    border-radius: 15px;
    border:unset;
}

#parent-box > div:nth-child(1) {
  border-radius: 15px 0 0 15px; /* top-left and bottom-left */
  border: unset;
}

#parent-box > div:nth-child(2) {
  border-radius: 0;
  border: unset;
}

#parent-box > div:nth-child(3) {
  border-radius: 0 15px 15px 0; /* top-right and bottom-right */
  border: unset;
}
