.calc {
  font-size: 10px;
  margin: 2rem auto;
  width: 38rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0.2rem;
  color: #333;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.calc__block {
  padding: 2rem 2rem 0 2rem;
}

.calc__input-group {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
      justify-content: space-between;
}

.calc__input-group .calc__input:nth-child(1) {
  -ms-flex-positive: 2;
      flex-grow: 2;
  margin-right: 1rem;
}

.calc__input-group .calc__input:nth-child(2) {
  font-weight: 600;
  max-width: 8rem;
  min-width: 8rem;
}

.calc__input {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  height: 4rem;
  padding: 0.6rem 1.2rem;
  font-size: 1.4rem;
  border-radius: 0.1rem;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.6s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.calc__input.active:hover {
  background: #e6e6e6;
}

.calc__input-transparent {
  background-color: transparent;
  box-shadow: none;
}
.calc__input-transparent .currency__dropdown-wrapper{
  display:none;
}

.calc__input-label {
  color: #333;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.calc__input-error {
  color: #d73747;
  font-weight: 400;
  padding: 0.5rem 1rem;
  position: absolute;
  z-index: 99;
  font-size: 1rem;
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.calc__icon {
  margin-left: 1.3rem;
  font-size: 1rem;
  width: auto;
  height: 1rem;
}

.calc__icon-dropdown {
  margin-left: 1.3rem;
  transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.calc__icon-info {
  color: #777;
  border-radius: 100rem;
  padding-top: 0.1rem;
  font-size: 1.2rem;
  width: 1.7rem;
  height: 1.7rem;
  text-align: center;
  border: 1px solid #777;
  cursor: help;
}

.calc__icon-search {
  padding-left: 1rem;
}

.calc__send-amount {
  padding: 1rem 2rem;
}
#calc__send-amount {
  position: relative;
}

#calc__send-amount input {
  border: none;
}
#calc__send-amount input:focus {
  border: 1px #ccc solid;
  outline: 0;
  background: #ebebeb;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

#currency-receiver-dropdown {
  position: relative;
}

#currency-receiver-dropdown.calc__input.active {
  cursor: pointer;
}

.currency__dropdown-wrapper {
  position: absolute;
  margin-top: 4rem;
  top: 0;
  right: 0;
  width: 100%;
  max-height: 20vh;
  border-top: 1px solid #ebebeb;
  z-index: 99;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}
.currency__dropdown-wrapper ul {
  margin: 0;
}
.dropdown__currency-text {
  height: 4rem;
  font-weight: 600;
  color: #525252;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  padding-left: 1.5rem;
  background: #fff;
}
.dropdown__currency-text:hover {
  cursor: pointer;
  background: #f0f0f0;
}

#country-dropdown {
  position: relative;
  width: 100%;
  cursor: pointer;
}

.country__dropdown-button {
  -ms-flex-positive: 1;
  flex-grow: 1;
  text-align: left;
  color: #666;
  padding-top: 0.5rem;
}

.country__dropdown-wrapper {
  position: absolute;
  top: 4rem;
  left: 0;
  width: 34rem;
  background: #fff;
  z-index: 999;
  font-size:1.4rem;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.country__dropdown-list {
  width: 100%;
  max-height: 40vh;
  overflow: auto;
  background: #fff;
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 1) 60%,
    rgba(248, 248, 248, 1) 95%
  );
  margin: 0;
}
.country__dropdown-search {
  background: #fff;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  height: 4rem;
  border-top: 1px solid #ebebeb;
  border-bottom: 1px solid #ebebeb;
}

.country__dropdown-search input {
  border: none;
  padding: 1rem;
  width: 100%;
  background: 0 0;
}
.country__dropdown-search input:focus {
  outline: 0;
}

.country__dropdown-text {
  width: 100%;
  height: 5rem;
  border: none;
  color: #525252;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.country__dropdown-text span:nth-child(2) {
  text-align: left;
}

.country__dropdown-text:hover {
  cursor: pointer;
  background: #f0f0f0;
}
.country__dropdown-text-error {
  cursor: default;
  padding: 2em;
}
.country__dropdown-line {
  position: absolute;
  top: 0;
  width: 100%;
  height: 2px;
  background: #ebebeb;
}

.calc .top-fee {
    color:#000;
    transition: all 0.1s cubic-bezier(1, 0.5, 0.8, 1);
}

.calc .flag {
  display: inline-block;
  opacity: 0.9;
  width: 4rem;
  height: 3rem;
  -ms-transform: scale(0.5);
      transform: scale(0.5);
  -ms-transform-origin: center center;
      transform-origin: center center;
}
.calc__input .flag {
  margin-right: -0.6rem;
}
.calc .flag-dropdown {
  margin-left: 1.6rem;
  margin-right: 2.6rem;
  -ms-flex-positive: 1;
  flex-grow: 1;
  text-align: left;
  -ms-transform: scale(0.7);
      transform: scale(0.7);
}

#calc__rate-info {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
      justify-content: space-between;
  font-weight: 600;
  padding: 0 5rem;
  margin: 2rem 0;
  color: #777;
  font-size: 1.2rem;
}

.calc__cta span {
  margin: 0;
  border-radius: 0 0 0.2rem 0.2rem;
  padding: 2rem;
}
.calc__cta a {
  text-decoration: none;
}

.calc__details {
  font-size: 1.4rem;
  border-radius: 0.2rem;
  margin: 1rem 2rem;
  background: #e6e6e6;
  overflow: hidden;
}

.calc__details-header {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
      justify-content: space-between;
  -ms-flex-align: center;
      align-items: center;
  height: 5rem;
  padding: 0 1.5rem;
}

.calc__details-header-amount {
  font-size: 2.2rem;
  font-weight: 600;
}

.calc__details-payments {
  display: -ms-flexbox;
  display: flex;
  height: 7rem;
}
.calc__details-separator {
  width: 0.5rem;
  background-color: transparent;
}
.calc__details-payments-block {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex: 1 1;
      flex: 1 1;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: space-evenly;
      justify-content: space-evenly;
  background: rgb(214, 214, 214, 0.9);
}

.calc__info {
  font-size: 1.2rem;
  padding: 0 2rem;
  margin: 1.5rem 0;
  line-height: 1.5;
  color: #777;
}

.calc__info a {
  font-weight: 600;
  color: #777;
  text-decoration: underline;
}

.calc__info a:hover {
  color: #333;
}

.calc__popup {
  position: absolute;
  bottom: 45%;
  right: -25%;
  width: 26rem;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 2rem;
  border-radius: 0.4rem;
  color: #777;
  background: #fdfdfd;
  line-height: 1.5;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.calc__popup::before {
  content: "";
  bottom: -1rem;
  left: 45%;
  position: absolute;
  height: 0;
  width: 0;
  border-right: 1rem solid transparent;
  border-left: 1rem solid transparent;
  border-top: 1rem solid #fdfdfd;
  
}

.calc .skeleton {
  height: 1.2em;
  border-radius: 0.2em;
  z-index: 9;
  background-color: rgb(155, 155, 155, 0);
  background-image: linear-gradient(
    90deg,
    #e0e0e0 40%,
    #f0f0f0 50%,
    #e0e0e0 60%
  );
  background-size: 200%;
  animation: loading 1.6s infinite linear;
  width: auto;
}
.calc .skeleton__line {
  display: inline-block;
  color: transparent;
  background-size: 350%;
}

@keyframes loading {
  0% {
    background-position: -6em;
  }
  100% {
    background-position: 6em;
  }
}
.value-change-enter-active {
  transition: all .3s ease;
}
.value-change-leave-active {
  transition: all 0.1s cubic-bezier(1, 0.5, 0.8, 1);
}
.value-change-enter,
.value-change-leave-to {
  opacity: 0.3;
}
[v-cloak] {
  display: none;
}
@media (min-width: 992px) {
  .rmt-hp-row-img {
    height: 700px;
  }
  .home__hidden {
    display: none;
  }
}
@media (max-width: 991px) {
  .country__dropdown {
    max-height: 40vh;
  }
  .country__dropdown {
    max-height: 30vh;
  }
  .calc {
    display: none;
  }
}
