/*Ngenius hosted session styles*/
#ngenius-main-container{background: #fff;position: relative;margin-bottom: 20px;}
.ngenius-container{}
.ngenius-main-content{background: whitesmoke; padding: 10px 0; min-height: 550px;}
.ngenius-wrapper {overflow: auto;position: relative;min-height: 400px;border-radius: 5px;border: 1px solid #ddd;max-width:600px;margin:0 auto;}
.closed{display: none;}
.open-button {border: 0;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);background: lightgreen;color: white;padding: 10px 20px;border-radius: 10px;font-size: 21px;}			
.ngenius-main-header{background:#3c8031;color:#FFFFFF;position: relative;padding: 5px 10px;overflow: hidden;}
.ngenius-main-header .close{position: absolute;right: 7px;top: 7px;}
.ngenius-main-header #logo{text-align: center;position: relative;padding: 8px;width: 64px;height: 64px;background:#fff;-webkit-border-radius: 3px;border-radius: 3px;line-height: 62px;float: left;margin-right: 24px;-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.1);box-shadow: 0 1px 3px rgba(0,0,0,0.1);}
.ngenius-main-header #logo img{vertical-align: middle;max-height: 100%;max-width: 100%;}
.ngenius-main-header #merchant { white-space: nowrap;position: relative;text-shadow: 0 1px 3px rgba(0,0,0,0.12);}
.ngenius-main-header #merchant #merchant-name{ font-size: 18px; }
.ngenius-main-header #merchant #merchant-desc{ padding:5px 0; opacity: .8; }
.ngenius-main-header #merchant #amount{font-size: 18px;margin-top: 0px;}
.ngenius-main-footer {position: absolute; bottom: 0; height: 56px; background:#3c8031;color:#FFFFFF; width: 100%;  -webkit-box-shadow: 0 4px 14px 0 rgba(0,0,0,0.24);box-shadow: 0 4px 14px 0 rgba(0,0,0,0.24);}
.ngenius-main-footer .proceed { position: absolute; width: 100%; background:#3c8031;color:#FFFFFF; border:0; height: 100%; text-align: center; font-weight: normal; text-transform: uppercase; font-size: 16px;}
.ngenius-main-footer .disabled { border: 1px solid #999999; background-color: #cccccc; color: #666666; }

/*#mount-id{ min-height: 500px;}*/
@media (max-width: 416px) {
  .ngenius-main-content iframe {
    min-height: 260px;
    min-width: 100%;
  }
}

@media (min-width:416px) {
  .ngenius-main-content iframe {
    min-height: 203px;
    min-width: 100%;
  }
}

#ngenius-3ds{width: 100%;overflow: hidden; height: 680px;}
.ngenius-loader-wrapper{display: flex;flex: 1;flex-direction: column;align-items: center;justify-content: center;min-height: 100%;transition: all 0.3s ease-out 0s;position: absolute;width: 100%;z-index: 150;top: 0;left: 0;}
.ngenius-main-loader{
  height: 50px;
  width: 50px;
  background-size: 50px 50px;
  background-color:transparent;
  background-image: url("/skin/frontend/default/theme659/ngenius/loader.png");
  -webkit-animation: spin 1s linear infinite;
  -moz-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  100% {
    -moz-transform: rotate(-360deg);
    -webkit-transform: rotate(-360deg);
    -webkit-transform: rotate(360deg);
    transform: rotate(-360deg);
  }
}
#ngenius-error{background: rgba(214, 44, 44, 0.66);color: white;margin: 0 2%;border-radius: 5px;}
.accepted-cards{
  padding: 4px 5px;
  background:white;
  position: absolute;
  right: 15px;
  top: 25%;
}
.accepted-cards img{
  width: 190px;
}
.trust{
  position: absolute;
  width: 100%;
  height: 50px;
  text-align: center;
  bottom: 65px;
}
.trust p{color: #6f6b6b;}
.trust img{ width: 100px;}

@media (max-width: 768px) {
  .container{
    width:100%;
  }
}

.ngenius-inner-wrapper{
  margin: 5px 20px;
}

.saved-cards-wrapper {
  padding: 10px 0;
}

.new-card-wrapper {
  margin-bottom: -9px;
}

.saved-cards-wrapper p,
.new-card-wrapper p{
  text-transform: uppercase;
  margin-bottom: 5px;
  font-weight: bold;
}

.h-140 {
  height: 140px;
}

.save-checkbox-wrapper {
  position: static;
  margin-top: -15px;
}

.card-toggler {
  cursor: pointer;
  text-decoration: underline;
  margin-bottom: 15px;
}

.card-holder {
  padding: 10px 16px;
  border: 1px solid #d4d1d1;
  border-radius: 4px;
  background: white;
  margin: 15px 0;
  cursor: pointer;
}

.card-holder .label-holder {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-holder .label-holder .info {
  display: flex;
  align-items: center;
}

.card-holder .label-holder .info .card-scheme {
  margin-right: 16px;
  object-fit: contain;
}

.card-holder .label-holder .info .card-scheme .card-number {
  text-transform: uppercase;
  font-weight: bold;
  color: #51565a;
}

ion-icon {
  font-size: 24px !important;
  color: #8d9193;
}


.cvv-holder {
  display: flex;
  margin-top: 12px;
  margin-bottom: 4px;
  transition: height 150ms linear, margin-top 150ms linear,
  margin-bottom 150ms linear;
  opacity: 1;
  visibility: visible;
  height: 36px;
}

.cvv-holder .cvv-input {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0 8px;
  margin: 0 16px 0 30px;
  width: 80px;
  height: 100%;
}

.cvv-holder .cvv-input .item-input {
  margin: 0;
  padding: 0;
}
.cvv-holder .cvv-input .item-input input {
  margin: 0;
  padding: 0;
  text-align: center;
}

.cvv-holder .make-payment {
  width:180px;
  background: #5b9d4f;
  color: white;
  border: none;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
  height: 100%;
}

.cvv-holder .disabled { 
  border: 1px solid #999999; 
  background-color: #cccccc; 
  color: #666666; 
}

.ngenius-retry-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1200; /* Sit on top */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px; /* Full width */
  height: 280px; /* Full height */
  max-width: 100%;
  max-height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: white; /* Black w/ opacity */
  border-radius: 5px;
  box-shadow: 0 0 8px #7b7b7b;
}

.ngenius-retry-modal-header {
  background-color: #5b9d4f;
  width: 100%; 
  padding: 10px 30px;
}

.ngenius-retry-modal-content {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  background-color: transparent;
  padding-left: 20px; 
  padding-right: 20px;
  overflow: auto;
  
}

.ngenius-retry-modal-body .button-container {
  margin: 0 auto;
  text-align: center;
}

.ngenius-retry-modal-content .button-primary {
  background-color: #5b9d4f !important;
  color: white;
  border: none;
  height: 100%;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 12px !important;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 12px !important;
  margin: 4px 2px !important;
  width: 100%;
  cursor: pointer;
}

.ngenius-retry-modal-content .button-secondary {
  background-color: #e2e6ea !important;
  color: #212529;
  border-color: #dae0e5;
  border: none;
  height: 100%;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 12px !important;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 12px !important;
  margin: 4px 2px !important;
  width: 100%;
  cursor: pointer;
}
.ngenius-retry-modal-body {
  margin-top: 10px;
  border: none;
}

.ngenius-retry-modal-header .heading {
  float: left;
  color:white;
  text-transform: uppercase;
  line-height: 30px;
}

.ngenius-retry-modal-body .message {
  margin-bottom: 20px;
}