.refinancing-work {padding: 50px 0 80px;}
.refinancing-work .title-block {text-align: center;}
.refinancing-work .title-gif {display: inline-flex;position: relative;}
.refinancing-work .step-block h3 {font-size: 24px; color: #434343;}
.refinancing-work .step-box.align-baseline { align-items: baseline;max-width: 826px; width: 100%;}
.refinancing-work .step-box.align-inherit { align-items: inherit;}
.refinancing-work .title-gif {display: inline-flex;position: relative;}
.refinancing-work .title-gif i.animated-img {position: absolute;}
.refinancing-work .title-gif i.animated-img img {max-width: 100%; display: block;}
.refinancing-work .title-gif i.animated-img.line-img {width: 140px;}
.refinancing-work .title-gif i.animated-img.curve-line-img {width: 127px;}
.refinancing-work .title-gif i.animated-img.curve-triple-img {width: 127px;}
.refinancing-work .title-gif i.animated-img.circle-curve-img {width: 100px;}

.refinancing-work h2 {font-size: 54px;}
.refinancing-work h2 span {color: #f90081;}
.refinancing-work .title-gif img {position: absolute;left: -61px;top: -64px;transform: scaleX(1);width: 118px;}
.refinancing-work .center-block {max-width: 826px; margin: 10px auto 0;}

.refinancing-work .title-gif.right i.animated-img.line-img {transform: rotate(55deg);}
.refinancing-work .title-gif.left i.animated-img.curve-line-img {transform: rotate(-6deg) scaleX(-1);}
.refinancing-work .title-gif.left i.animated-img.curve-triple-img {transform: rotate(-39deg);}
.refinancing-work .title-gif.right i.animated-img.curve-triple-img {transform: rotate(20deg);}
.refinancing-work .title-gif.left i.animated-img.circle-curve-img {transform: rotate(-52deg);}
.video-hide{
  display:none;
}

/* .video-block {border-radius: 27px; position: relative;} */
.video-block { border-radius: 27px; position: relative; max-height: 407px; max-width: 720px; width: 100%; margin: 0 auto;}
.video-block img {width: 100%;}
.video-block iframe {border-radius: 27px; max-height: 407px !important;   height: 100%;}
.step-block {display: flex; flex-wrap: wrap; justify-content: center; margin-top: 20px;}
.step-block .step-box {border-radius: 19px; padding: 16px 24px; box-shadow: 0 4px 4px rgba(0,0,0,.25); margin-top: 30px; display: flex; gap:0 20px;}
.step-block .step-box .no {width: 59px; height: 59px; min-width: 59px; border-radius: 100%; font-style: normal; display: flex; align-items: center; justify-content: center; font-family:Cosmica-SemiBold,sans-serif; font-size: 25px; font-weight: 600;} 
.step-block .step-box .no.pink {background-color:#FFEAF5; color:#F90081;}
.step-block .step-box .no.green {background-color:#E1F5D8; color:#5FC03B;}
.step-block .step-box .no.blue {background-color:#D5ECFE; color:#2A9CFC;}
.step-block .step-box .no.orange {background-color:#FFEBD4; color:#FD962E;}
.step-block .step-box p {margin-bottom: 15px;}
.step-block .step-box p:last-child {margin: 0;}
.step-block .button-global {font-size: 25px;height: 76px;line-height: 76px;margin-top: 47px;min-width: 355px;padding: 0;text-align: center;}
@media only screen and (max-width: 1440px) {
  .refinancing-work {padding: 50px 0 60px;}
}
@media only screen and (max-width: 1199px) {
  .refinancing-work h2 {font-size: 44px;}
  .refinancing-work .title-gif img {left: -46px;top: -55px;width: 100px;}
  .step-block .button-global {font-size: 18px;height: 57px;line-height: 57px;margin-top: 47px;min-width: 260px;}
  .step-block {margin-top: 0;}
  .step-block .step-box {padding: 10px 10px; gap:0 10px;}
  .step-block .step-box .no {width: 46px; height: 46px; min-width: 46px; font-size: 19px;}
}

@media only screen and (max-width: 991px) {
  .refinancing-work .title-gif {max-width: 320px;}
  .refinancing-work .title-gif i.animated-img.line-img {width: 100px;}
  .refinancing-work .title-gif i.animated-img.curve-line-img {width: 100px;}
  .refinancing-work .title-gif i.animated-img.curve-triple-img {width: 100px;}
  .refinancing-work .title-gif i.animated-img.circle-curve-img {width: 75px;}
  .refinancing-work .title-gif.left i.animated-img.circle-curve-img {transform: rotate(-52deg);}
}

@media only screen and (max-width: 767px) {
  .step-block .button-global {
    margin-top: 24px;
  }
  .refinancing-work .step-block .step-box {
    /*     margin-bottom: 30px; */
    /*     margin-top: 0px; */
  }
  /*   .refinancing-work .step-block .step-box:has(+ .button-global) {
  margin-bottom: 0;
} */
  .refinancing-work .step-block .step-box:first-child {
    margin-top: 0 !important;
  }
  .refinancing-work .center-block {margin: 0 auto;}
  .refinancing-work .container {padding-left: 0; padding-right: 0;}
  .refinancing-work h2 {font-size: 36px;}
  .refinancing-work h2 span {display: block;}
  .refinancing-work .title-gif img {left: -9px;top: -48px;width: 94px;}
  .refinancing-work .step-block h3 {
    font-size: 18px;
  }
}

.iframe_wrapper iframe {
  height: 400px !important;
  /* height: 100% !important; */
}

{#
.refinancing-work .oembed_container {
  display: block;
  height: 100%;
  position: relative;
  width: 100%;
  margin:auto;
}

.iframe_wrapper {
  height: 0;
  padding-bottom: 56.25%;
  padding-top: 25px;
  position: relative;
}

.oembed_container_iframe {
  height: 100%;
  left: 0;
  margin: 0 auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}

.oembed_custom-thumbnail,
.oembed_custom-thumbnail:hover,
.oembed_custom-thumbnail:focus,
.oembed_custom-thumbnail:active {
  align-items: center;
  appearance: none;
  background-color: transparent;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 0;
  border: none;
  display: flex;
  height: 100%;
  justify-content: center;
  left: 0;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

.oembed_custom-thumbnail_icon {
  align-items: center;
  cursor: pointer;
  display: flex;
  justify-content: center;
  width: 100%;
}

.oembed_custom-thumbnail_icon svg {
  display: block;
  height: auto;
  width: 12%;
}

/* SVGs in IE11 require the max-width to be set to non in order to display scaling properly */
_:-ms-fullscreen, :root .oembed_custom-thumbnail_icon svg {
  max-width: none;
}

.oembed_custom-thumbnail--hide {
  display: none;
}

.embed_container {
  display: inline-block;
  height: 100%;
  position: relative;
  width: 100%;
}

.embed_container iframe {
  left: 0;
  max-height: 100%;
  max-width: 100%;
  position: absolute;
  right: 0;
  top: 0;
}

.oembed-info {
  height:1px;
  left:-10000px;
  overflow:hidden;
  position:absolute;
  top:auto;
  width:1px;
}

/* Placeholder styles */
:not(.hs-inline-edit) .hs-video-placeholder {
  display: none;
}

.hs-inline-edit .hs-video-placeholder {
  background-color: #f5f8fa !important;
  border: 1px dashed #516f90 !important;
  display: block !important;
  font-size: 14px !important;
  margin: 2px 1px !important;
  outline: 1px dashed #fff !important;
  text-align: center !important;
}

.hs-video-placeholder > * {
  box-sizing: border-box !important;
  display: block !important;
  margin: 1px !important;
  padding: 12px !important;
  width: calc(100% - 2px) !important;  
}

p.hs-video-placeholder__title {
  color: #7c98b6 !important;
/*   font-family: 'Helvetica Neue', 'Helvetica', Arial, sans-serif !important; */
  font-size: 14px !important;
  font-style: italic !important;
  font-weight: 700 !important;
  line-height: initial !important;
  margin-bottom: 10px !important;
  margin-top: 0 !important;
  padding: 0 !important;  
  text-shadow: 0 -1px 0 hsla(0,0%,100%,.5) !important;
}

p.hs-video-placeholder__description {
  color: #7c98b6 !important;
/*   font-family: 'Helvetica Neue', 'Helvetica', Arial, sans-serif !important; */
  font-style: italic !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  margin: 0 !important;  
  text-shadow: 0 -1px 0 hsla(0,0%,100%,.5) !important;
}
#}
/* new css */


@media only screen and (max-width: 1199px) {
}

@media(max-width:575px){
  .iframe_wrapper iframe {
    /* height: 200px !important; */
    height: auto !important;
  }
}

/* end new css */