* {
  box-sizing: border-box;
}
*, ::after, ::before {
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  margin: 20px;
}
.currencySection {
  margin-bottom: 40px;
}
.dropdown {
  display: inline-block;
  margin-right: 10px;
  width: 140px;
}
.dropdown button, .dropdown a {
  padding: 10px;
  font-size: 16px;
  width: 100%;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  background: none;
  border: none;
  justify-content: flex-end;
  padding-right: 17px;
}
.dropdown button img, .dropdown img{
  width: 30px;
  height: auto;
  max-height: 40px;
  margin-right: 10px;
  border: solid 1px #eee;
}
.dropdown button:after, .dropdown a:after{
  position: absolute;
  right: 13px;
  top: 50%;
  margin-top: -8px;
  width: 10px;
  height: 10px;
  border-top: solid 2px #000;
  border-right: solid 2px #000;
  transform: rotate(135deg);
  content: "";
}
.dropdown input {
  padding: 10px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  border: none;
  padding-left: 38px;
  background: #eee;
}
.dropdown ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  position: absolute;
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
  max-height: 250px;
  overflow-y: auto;
  display: none;
  z-index: 100;
  width: 100%;
  left: 0;
  top: 100%;
  margin-top: 55px;
  border-radius: 0 0 6px 6px;
  z-index: 100;
}
.dropdown ul li {
  padding: 10px; font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-weight: bold;
}
.dropdown ul li img {
  width: 36px;
  height: auto;
  margin-right: 10px;
}
.dropdown ul li span {
  margin-left: 5px;
  font-weight: normal;
}
.dropdown ul li:hover {
  background: #eee;
}
.visible {
  display: block;
}
.swap-btn {
  margin: 0 10px;
  padding: 0;
  font-size: 16px;
  cursor: pointer;
  background: none;
  color: white;
  border: none;
  padding-top: 20px;
}
.swap-btn img{
  max-width: 40px;
}
#fromCurrencyList.visible, #toCurrencyList.visible{
    display: block;
}
#fromCurrencyBtn .curr_name, #toCurrencyBtn .curr_name{display: none;}

.container{
  max-width: 1230px;
  width: 100%;
  margin: 0 auto;
}
.currencyContainer {
  display: flex;
  align-items: center;
  background-color: #e7f3fe;
  border-radius: 5px; 
  border: 1px solid #3997ea;
  padding: 20px;
  position: relative;

}
.currencyFlexWrap{
  flex-wrap: wrap; flex-direction: column;
}
.currencyContainerHeading{
  display: flex; justify-content: center;
}

.currencyContaineContent{
  display: flex; align-items: center;
}
.currencyContainer h2, .currencyContainerHeading p{
  max-width: 140px;
  color: #004A8F;
  font-weight: bold;
  font-size: 24px;
  margin: 0;
  padding-top: 20px;
}
.currencyContainer .currencyContainerHeading  p{max-width: 100%; font-weight: normal; padding-top: 0;}
.input-wrap {
  position: relative;
  display: flex;
  padding: 20px;
  padding-top: 40px;
  align-items: center;
}
.currBox {
  background-color: #fff;
  border-radius: 6px;
  border: solid 1px #3997ea;
  display: flex;
  padding: 6px;
  max-width: 320px;
  position: relative;
  align-items: center;
}
.currBox label{
  position: absolute;
  top: -25px;
  font-size: 12px;
  font-weight: 300;
}
.currBox .inputValue{
  border: none;
  width: 180px;
  display: flex;
  font-size: 20px;
  height: 40px;
  align-items: center;
  padding-left: 35px;
}
.currIcon {
  position: absolute;
  left: 10px;
  opacity: .5;
  font-size: 20px;
}
.detailedBox {
  margin-left: 20px;
  display: flex;
  flex-direction: column;
}
input[type="number"]::-webkit-inner-spin-button,
  input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  input[type="number"] {
    -moz-appearance: textfield;
  }
  input:focus, input:focus-visible{
      border: none;
      box-shadow: none;
      outline: none;
  }
  .dropdown .input-group{
      position: absolute;
      left: 0;
      top: 100%;
      margin-top: 4px;
      border-radius: 6px 6px 0 0;
      display: none;
      width: 100%;
      background: #fff;
      padding: 6px;
      border: solid 1px #ccc;
      border-bottom: none;
      z-index: 100;
  }
  .dropdown .input-group.visible{
      display: block;
  }
  .dropdown .input-group span.searchIcon {
      position: absolute;
      top: 14px;
      left: 12px;
  }
  div#originalAmount {
    font-size: 1.7rem; color: #939393; font-weight: bold;
  }
  div#convertedAmount2 {
    font-size: 2rem; color: #4D4949; font-weight: bold;
  }
  .rightContainer .inputValue{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .fileUpdateTime {
      position: absolute;
      right: 20px;
      bottom: 10px;
      font-size: 1.2rem;
  }
  .fileUpdateTime span{
    white-space: nowrap;
  }
  /* Responsive css */
  /*@media (max-width: 768px){*/
  @media (max-width: 992px){
    .currencySection {
      margin-bottom: 30px;
    }
    /* .currencyContainer{
      display: block;
    } */
    .currencyContaineContent{
      display: block;
    }
    .currencyContainer h2,.currencyContainerHeading p {
      max-width: 100%;
      padding-top: 0;
    }
    .currencyContainerHeading p {font-size: 18px; padding-bottom: 20px;}
    .input-wrap {
      padding-left: 0;
      padding-right: 0;
      width: 100%;
      display: block;
    }
    .currBox {
      max-width: 100%;
    }
    .dropdown img{
      margin-right: 2px;
    }
    .currBox .inputValue{
      width: 160px;
    }
    .swap-btn {
      margin: 0 auto;
      width: 40px;
      display: block;
    }
    .dropdown {
      width: 100%;
    }
    .detailedBox {
      margin-left: 0;
      margin-top: 20px;
    }
    .fileUpdateTime {
      position: relative;
      right: 0;
    }
  }