@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400');

* {
  margin: 0;
  padding: 0;
  -webkit-touch-callout:none;
  -webkit-user-select:none;
  -khtml-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
  user-select:none;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
}

body {
  background-color: #F7F7F7;
  box-sizing: border-box;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                      supported by Chrome and Opera */


  overflow-x: hidden; /* Hide horizontal scrollbar */
}

.container {
  display: flex;
  justify-content: center;
}

.phone {
  /*background-color: #F7F7F7;*/
  margin: 0;
  height: 100vh;
  width: 100vw;
  max-width: 700px;
  position: relative;
  /*transform: scale(0.9);*/
  transform-origin: top center;
}

.header {
  height: 24%;
  background-color: rgb(247, 122, 26);
  border-bottom-right-radius: 40px;
  border-bottom-left-radius: 40px;
  display: flex;
  justify-content: space-around;
  position: relative;
  z-index: 1;
  overflow: hidden;
  align-items: center;
}

.header::before{
  content:"";
  background-image: url("../img/logocircle200.png");
  height: 200px;
  width: 200px;
  background-color: rgb(247, 147, 26);
  border-radius: 50%;
  position:absolute;
  top: -60px;
  left: -110px;
  z-index: 2;
  opacity: 1;
}

.header::after {
  content:"";
  background-image: url("../img/logocircle100.png");
  height: 100px;
  width: 100px;
  background-color: rgb(247, 147, 26);
  border-radius: 50%;
  position:absolute;
  right: -20px;
  bottom: -30px;
  z-index: -1;
  opacity: 1;
}

.header-balance {
  width: 45%;
  margin-left: 26px;
  display: flex;
  flex-direction: column;
  font-family: 'Montserrat', sans-serif;
  color: white;
  /*text-shadow: 1px 1px 10px black;*/
  z-index: 3;
  margin-bottom: 2rem;
  /*text-align: right;*/
}

.balance-text {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.balance-balance {
  font-size: 1rem;
  /*letter-spacing: 1.2px;*/
  font-weight: 500;
  margin-bottom: 3px;
}

.balance-denomination {
  font-size: 0.6rem;
}

.balance-text-2 {
  font-size: 0.6rem;
  letter-spacing: 1px;
}

.user-profile {
  height: 80px;
  width: 80px;
  /*align-self: flex-start;*/
  align-items: center;
  margin-bottom: 2rem;
}

.user-photo {
  object-fit: cover;
  height: 100%;
  width: 100%;
  border-radius: 50%;
  border: 1px solid white;
  box-shadow: 5px 5px 25px 0px rgba(0,0,0,0.2);
  z-index: 5;
}


.content {
  z-index: 4;
  position: absolute;
  top: 20%;
  margin-left: 5%;
  display: flex;
  flex-direction: column;
  width: 90%;
}

.card {
  position: sticky;
  top: 10px;
  font-family: 'Montserrat', sans-serif;
  align-self: stretch;
  background-color: white;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 28px rgba(0,0,0,0.2), 0 10px 10px rgba(0,0,0,0.0);
  z-index: 5;
}

.upper-row {
  display: flex;
  justify-content: space-evenly;
  /*padding-bottom: 25px;*/
  /*padding-top: 10px;*/
}

.card-item {
  margin:  auto;
  margin-top: 20px;
  /*margin-bottom: 10px;*/
  display: flex;
  flex-direction: column;
}

.card-item span:first-child {
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom:10px;
}

.card-item span:last-child {
  font-size: 1rem;
  font-weight: 300;
}

.dollar {
color: #FFC168;
}

.lower-row {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 20px;

}

/*
.lower-row::before {
  content: '';
  display: block;
  position: absolute;
  top: 80px;
  width: 80%;
  left: 10%;
  border-top: 1px solid #E1E1E1;
}
*/

.icon-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.icon-item:hover {
  transform: scale(1.2);
}

.icon {
  color: #FFC168;
  padding: 10px;
  background-color: #FBFBFB;
  border-radius: 5px;
  margin-bottom: 5px;
}

.icon-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6em;
  color: #939393;
}


.largeicon-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.largeicon-item:hover {
  transform: scale(1.2);
}

.largeicon {
  color: #FFC168;
  margin-top: 5px;
  padding: 2px;
  /*background-color: #FBFBFB;*/
  /*border-radius: 5px;*/
  /*margin-bottom: 5px;*/
}

.largeicon-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  color: #939393;
}

.tx-section {
  font-size: 0.8rem;
  font-weight: bold;
  padding-bottom: 10px;
}

.transactions {
  font-family: 'Montserrat', sans-serif;
  display: flex;
  position: relative;
  margin-top: 1.5rem;
  flex-direction: column;
  height: 100%;
  margin-bottom: 100px;
}

.transaction {
  cursor: pointer;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* background-color: white; */
  box-shadow: 0 14px 28px rgba(0,0,0,0.02), 0 10px 10px rgba(0,0,0,0.0);
  border-radius: 12px;
  margin-bottom: 0;
}

.tx-container {
  cursor: pointer;
  /*padding: 10px;*/
  /*justify-content: space-between;*/
  align-items: center;
  box-shadow: 0 14px 28px rgba(0,0,0,0.02), 0 10px 10px rgba(0,0,0,0.0);
  border-radius: 12px;
  margin-bottom: 20px;

}

.pending {
  filter: grayscale(100%);
  background-color: lightgray;
  opacity: 1;
}

.confirmed {
  background-color: white;
  opacity: 1;
}

.tx-details {
  padding: 10px;
  font-size: 0.6rem;
}

.tx-icon-container {
  width: 48px;
  height: 48px;
  align-self: flex-start;
}

.tx-icon {
  object-fit: cover;
  height: 100%;
  width: 100%;
  border-radius: 50%;
  box-shadow: 5px 5px 25px 0px rgba(0,0,0,0.2);
}


.tx-desc-container {
width: 30%;
}

.tx-title {
  text-align: left;
  flex-grow: 1;
  font-size: 0.8rem;
  font-weight: bold;
}

.tx-comment {
  font-size: 0.6rem;
  opacity: 1;
  font-weight: 600;
  letter-spacing: 1px;
}

.tx-time {
  font-size: 0.6rem;
  opacity: 0.6;
  font-weight: 600;
  letter-spacing: 1px;
}

.tx-amount {
  font-size: 1rem;
  letter-spacing: 1px;
  font-weight: 400;
  color: #06D778; /* #06D778 */
  text-align: right;
  width: 50%;
  font-weight: 500;
}

.red {
  color: #F4532D;
}

.black {
  color: black;
}


.drawer {
    margin: 0;
  height: 100vh;
  width: 100vw;
  max-width: 700px;

  display: flex;
  background-color: white;
  height: 80px;
  position: fixed;
  bottom: 0;

  width: 100%;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  z-index: 5;
  justify-content: space-evenly;
  align-items: center;
  box-shadow: 5px 5px 25px 0px rgba(0,0,0,0.2);

}

.drawer span {
  display: inline-block;
  font-size: 1.5rem;
  color: #FFC168;
  transition: all 0.4s;
  cursor: pointer;
}

.drawericon:hover {
  transform: scale(1.2);
  border-bottom: 2px solid orange;
}

.drawericon {
  transition: all 0.3s ease;
  padding-bottom: 8px;
}


.scan-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #FFC168;
  color: white;
  top: -25px;
  position: absolute;
  transform: rotate(-45deg);
  border-radius: 10px;
  box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: all 0.1s;
  opacity: 0.9;
}

.scan-btn i{
  font-size: 1.5em;
  transform: rotate(45deg);
}

.footer {
  margin-top: 20px;
  text-align: center;
}

.downstate {
  box-shadow: 0 1px 5px -1px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.upstate {

}

/*
.transaction:hover {
  box-shadow: 0 1px 5px -1px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}
*/

/* start of language selector */

.circled {
  -webkit-border-radius: 50%;
  border-radius: 50%;
  box-shadow: 0 1px 5px -1px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.img-responsive {
  display: block;
  max-width: 100%;
  object-fit: cover;
}

ol,
ul {
  list-style: none;
  margin: 0
}

#top-bar__subnavigation {
  display: inline-block;
  min-width: 200px;
  text-align: left
}

#top-bar__choose-lang {
  position: relative;
  display: inline-block;
  vertical-align: top
}

#top-bar__choose-lang i {
  display: block;
  position: relative;
  overflow: hidden;
  /*background-color: #2f4a7e;*/
  cursor: pointer;
  -webkit-border-radius: 50%;
  border-radius: 50%
}

#top-bar__choose-lang img {
  cursor: pointer;
  margin: 4px
}

#top-bar__choose-lang .list-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 100%;
  /*background-color: #2f4a7e;*/
  -webkit-border-radius: 30px;
  border-radius: 30px
}

#top-bar__choose-lang .list {
  display: none
}

#top-bar__choose-lang .list li {
  margin-top: 0;
}

#top-bar__choose-lang img {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none
}

/* end of language selector */

/* Animations */

@keyframes flipAnimation{
  0%{
    opacity: 0.5;
    transform: rotateX(90deg);
  }
  50%{
    opacity: 1;
    transform: rotateX(0deg);
  }
}

.card, .transactions, .header-balance, .drawer {
    animation-name: flipAnimation;
    animation-duration: 2000ms;
    animation-fill-mode: forwards;
}

/* QR-Code Scanner */

.center-screen {
  display: inline-block;
  position: fixed;
  /*position: absolute;*/
  border: none;
  /*background: rgb(247, 147, 26);*/
  /*clip-path: circle(100px at center);*/
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  z-index:  50;
}

#reader {
  /*display: inline-block;
  position: fixed;*/
  border: none;
  background: rgb(247, 147, 26);
  height: 200px;
  width: auto;
  clip-path: circle(96px at center);
  z-index: 60;
}


/*
PROGRESS METER
*/

.meter { 
  display: inline-block;
  height: 6px;  /* Can be anything */
  width:  100px;
  position: relative;
  background: #555;
  -moz-border-radius: none;
  -webkit-border-radius: none;
  border-radius: none;
  padding:none;
}

.meter > span {
  display: block;
  height: 100%;
  -webkit-border-radius: none;
  -webkit-border-radius: none;
  -moz-border-radius: none;
  -moz-border-radius: none;
  border-radius: none;
  border-radius: none;

  background-color: orange;
  /*background-image: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0, rgb(23,120,255)),
    color-stop(1, rgb(23, 154, 255))
   );
  background-image: -moz-linear-gradient(
    center bottom,
    rgb(23,120,255) 37%,
    rgb(23, 154, 255) 69%
   );
   */

  position: relative;
  overflow: hidden;
}

.meter > span:after, .animate > span > span {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background-image: 
     -webkit-gradient(linear, 0 0, 100% 100%, 
        color-stop(.25, rgba(255, 255, 255, .2)), 
        color-stop(.25, transparent), color-stop(.5, transparent), 
        color-stop(.5, rgba(255, 255, 255, .2)), 
        color-stop(.75, rgba(255, 255, 255, .2)), 
        color-stop(.75, transparent), to(transparent)
     );
  background-image: 
    -moz-linear-gradient(
      -45deg, 
        rgba(255, 255, 255, .2) 25%, 
        transparent 25%, 
        transparent 50%, 
        rgba(255, 255, 255, .2) 50%, 
        rgba(255, 255, 255, .2) 75%, 
        transparent 75%, 
        transparent
     );
  z-index: 1;
  -webkit-background-size: 50px 50px;
  -moz-background-size: 50px 50px;
  -webkit-animation: move 2s linear infinite;
  -webkit-border-radius: none;
  -webkit-border-radius: none;
  -moz-border-radius: none;
  -moz-border-radius: none;
  border-radius: none;
  border-radius: none;
  overflow: hidden;
}

.animate > span:after {
  display: none;
}

@-webkit-keyframes move {
    0% {
       background-position: 0 0;
    }
    100% {
       background-position: 50px 50px;
    }
}

.nostripes > span > span, .nostripes > span:after {
  -webkit-animation: none;
  background-image: none;
}

