@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;600;700;800&display=swap');
.backdrop {
  position: fixed;
  height: 100%;
  width: 100%;
  background: #00000031;
  z-index: 10;
}

/* ANIMACION ESPERA */

@keyframes spin {
  0%,
  25% {
    transform: rotate(180deg);
  }
  75%,
  100% {
    transform: rotate(360deg);
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* body {
  display: flex;
  justify-content: center;
  background: #ffffff;
  height: 100vh;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  color: #3A3F4A;
} */

header {
  display: none;
}

header .lnk-cancelar {
  color: #3e50b4;
  text-decoration: none;
  background: url('../img/ico-cancelar.svg') no-repeat right 3px;
  padding-right: 20px;
}

header .lnk-cancelar:hover {
  text-decoration: underline;
}

/* GENERICOS */

.subtitulo {
  font-family: 'Nunito-semibold';
  margin-bottom: 0;
  margin-top: 0;
  color: #313131;
}

.subtitulo--icono {
  padding-left: 30px;
  background-position: left 2px;
  background-repeat: no-repeat;
}

.subtitulo--icono-2 {
  padding-left: 30px;
  background-position: left 2px;
  background-repeat: no-repeat;
}

.subtitulo--icono__tarjeta {
  background-image: url('../img/ico-tarjeta.svg');
  vertical-align: middle;
  position: relative;
  content: inherit;
  background-repeat: no-repeat;
  background-position: 0px center;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.subtitulo--icono__pago-mobile {
  background-image: url('../img/ico-pagorut.svg');
  /* background-position: 3px 2px; */
  vertical-align: super;
}

.subtitulo--icono__pagorut {
  background-image: url('../img/ico-pagorut.svg');
  vertical-align: middle;
  position: relative;
  display: flow-root;
  content: inherit;
  background-repeat: no-repeat;
  background-position: 0px center;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.subtitulo--icono-2 span {
  vertical-align: text-top;
  float: right;
  padding-top: 6px;
}

.subtitulo--icono span {
  vertical-align: text-top;
  float: right;
  /*padding-top: 6px;*/
}

subtitulo-apoyo {
  font-family: 'Nunito-semibold';
  margin-left: initial;
  font-size: 12px;
  color: #313131;
  width: 68px;
}

@media only screen and (max-width: 480px) {
  subtitulo-apoyo {
    white-space: pre;
  }
  .subtitulo--icono-2 span {
    width: 80px;
  }
}

@media only screen and (max-width: 425px) {
  .subtitulo--icono-2 span {
    width: 84px;
  }
  .subtitulo--icono__pagorut {
    height: 51px;
  }
}

@media only screen and (max-width: 768px) {
  .subtitulo--icono-2 span {
    width: 68px;
  }
}

@media only screen and (max-width: 375px) {
  .subtitulo--icono-2 span {
    width: 114px;
  }
}

.medio-pago {
  background: #fff;
  border-radius: 4px;
  padding: 16px;
  margin: 0 0 16px 0;
  border: 1px solid #ccc;
  font-family: 'Nunito-semibold';
  min-height: 63px;
  box-shadow: -4px 4px 8px rgb(170 160 169 / 29%);
}

.container {
  display: flex;
  flex-direction: column;
  width: 700px;
  box-sizing: border-box;
  border: none;
  margin-top: 0;
}

.container .cols {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  padding: 16px;
}

.container .cols-titulo {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  /* padding: 16px; */
  font-family: 'Nunito-semibold';
  margin-bottom: 0;
  margin-top: 0;
  color: #000000;
  border-radius: 4px;
  font-size: 16px;
  margin: 0 0 0px 16px;
  min-height: 10px;
}

.container .cols .col-iz {
  flex: 0.56;
  border-radius: 0;
}

.container .cols .col-iz .datos-pago {
  height: 17%;
  border-radius: 16px 16px 0 0;
  border-bottom: 0;
  padding: 16px 24px;
  background: #eaf4ff;
  display: flex;
  justify-content: space-between;
}

.container .cols .col-iz .datos-pago .info-pago {
  display: flex;
  flex-direction: row;
  flex: 1;
  flex-wrap: wrap;
}

.container .cols .col-iz .datos-pago .info-pago h2 {
  flex: 100% 1;
  margin-bottom: 0px;
  font-size: 16px;
  font-family: 'Nunito-bold';
}

.container .cols .col-iz .datos-pago .info-pago div {
  flex: 0.5;
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.container .cols .col-iz .datos-pago .info-pago div strong {
  font-size: 16px;
}

.container .cols .col-iz .tarjetas .tarjeta .datos-tarjeta {
  display: flex;
  width: 100%;
  flex-direction: row;
  margin-top: 24px;
}

.container .cols .col-iz .tarjetas .tarjeta .datos-tarjeta .img-tarjeta {
  width: 60%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-right: 16px;
}

.container .cols .col-iz .tarjetas .tarjeta .datos-tarjeta .inputs-primarios {
  width: 40%;
}

.container
  .cols
  .col-iz
  .tarjetas
  .tarjeta
  .datos-tarjeta
  .inputs-primarios
  .input.tarjeta-numero {
  width: 100%;
  margin-top: 0;
}

.container
  .cols
  .col-iz
  .tarjetas
  .tarjeta
  .datos-tarjeta
  .inputs-primarios
  .input.tarjeta-validez {
  width: 40%;
  float: left;
  margin-right: 24px;
  display: inline-block;
  margin-top: 8px;
}

.container
  .cols
  .col-iz
  .tarjetas
  .tarjeta
  .datos-tarjeta
  .inputs-primarios
  .input.tarjeta-seguridad {
  width: 50%;
  float: left;
  display: inline-block;
  margin-right: 0;
  margin-top: 8px;
}

.container
  .cols
  .col-iz
  .tarjetas
  .tarjeta
  .datos-tarjeta
  .inputs-primarios
  .input.cuotas-tarjeta {
  width: 100%;
  display: none;
  float: left;
}

.container .cols .col-iz .tarjetas button.acento__pagar {
  width: auto;
  max-width: 300px;
  margin: auto;
}

.container .cols .col-der {
  flex: 0.4;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.container .cols .col-der .wrapper-qr {
  display: none;
}

.container .cols .col-der .pagaqui {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
}

.container .cols .col-der .pagaqui .subtitulo {
  align-self: flex-start !important;
  margin-bottom: 0;
  width: 100%;
}

.container .cols .col-der .pagaqui .datos-qr {
  display: flex;
  flex-direction: row;
  padding: 16px 0;
  align-items: stretch;
  justify-content: space-between;
}

.container .cols .col-der .pagaqui .datos-qr .qr {
  flex: 0.5;
  text-align: center;
  padding: 16px 0 0 0;
  font-family: 'Nunito-semibold';
  font-size: 12px;
  /* display: none; */
}

.container .cols .col-der .pagaqui .datos-qr .qrLoad {
  flex: 0.5;
  text-align: center;
  align-items: center;
  justify-content: center;
  padding: 0 0 0 0;
  font-family: 'Nunito-semibold';
  font-size: 12px;
  display: none;
}

.container .cols .col-der .pagaqui .datos-qr .qr strong {
  display: block;
  padding-top: 16px;
  font-family: 'Nunito-semibold';
}

.container .cols .col-der .pagaqui .datos-qr .qr img {
  margin: auto;
}

.container .cols .col-der .pagaqui .datos-qr .instrucciones {
  flex: 0.9;
  font-family: 'Nunito-regular';
  display: flex;
  align-items: center;
  padding-right: 16px;
}

.container .cols .col-der .pagaqui .datos-qr .instrucciones ul {
  margin-left: 48px;
  padding-left: 0;
}

/* Revisar diseño rq */

@media only screen and (max-width: 480px) {
  .container .cols .col-der .pagaqui .datos-qr .instrucciones ul {
    margin-left: 16px;
    padding-left: 0;
    font-size: 12px;
  }
}

/* Revisar diseño rq */

.container .cols .col-der .pagaqui .datos-qr .instrucciones ul li {
  margin-bottom: 8px;
}

.container .cols .col-der .pagaqui .datos-qr .instrucciones ul li strong {
  font-family: 'Nunito-bold';
}

.container .cols .col-der .pagaqui .descargar-app {
  display: none;
}

.container .cols .col-der .qr-resumido {
  display: none;
}

.container .cols .col-der .otrasbech {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
}

.container .cols .col-der .otrasbech a {
  text-decoration: none;
  color: #313131;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container .cols .col-der .otrasbech a:hover {
  text-decoration: underline;
}

.container .cols .col-der .otrasbech a span {
  display: none;
}

.container .cols .col-der .otrasbech a span {
  padding-left: 28px;
  background-position: left 0;
  background-repeat: no-repeat;
  background-image: url('../img/ico-tarjeta.svg');
  display: block;
  height: 16px;
  width: 16px;
}

.container .cols .col-der .otrasbech img {
  margin-right: 8px;
  float: right;
  right: 0;
  position: absolute;
}

/* FORMULARIOS */

.inputs-2col {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

.inputs-2col .input {
  flex: 0.47;
}

.inputs-2col.inputs-primarios .input:first-child {
  flex: 0.7;
}

.inputs-2col.inputs-primarios .input:last-child {
  flex: 0.25;
}

/* .select {
  height: 40px;
  outline: none;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0px 8px;
  font-family: "nunito-regular";
  font-size: 14px;
  margin-top: 4px;
  background-image: url("../img/ico_chevron.svg");
  background-repeat: no-repeat;
  background-position: calc(100% - 16px);
  background-size: 14px;
} */

.select.error {
  border: 1px solid #da0128;
}

.input {
  padding: 0;
  margin-top: 16px;
}

.input:focus-within label {
  color: #ff8800;
}

.input .texto-apoyo {
  font-size: 12px;
  padding: 4px 0;
  color: #666;
  margin: 0px;
}

.input .texto-apoyo.error {
  color: #da0128;
  display: none;
}

.input.boton {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-top: 32px;
  margin-bottom: 8px;
  justify-content: center;
}

.input.boton__horizontal {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.input input.radio {
  border: 2px solid #ff8100;
}

.input input.texto {
  font-family: 'Nunito-semibold';
  font-size: 16px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px;
  -webkit-appearance: none;
  outline: none;
  margin-top: 4px;
  box-sizing: border-box;
}

.input input.texto::-webkit-input-placeholder {
  font-family: 'Nunito-regular';
  font-size: 14px;
  color: #999;
}

.input input.texto::-moz-placeholder {
  font-family: 'Nunito-regular';
  font-size: 14px;
  color: #999;
}

.input input.texto:focus {
  border: 1px solid #ff8100;
}

.input input.texto.error {
  border: 1px solid #da0128;
}

.input input.texto.ico__tipo-tarjeta {
  background: url(../img/ico-tipo-tarjeta.svg);
  background-position: calc(100% - 8px) 11px;
  background-repeat: no-repeat;
}

.input input.texto.ico__caducidad {
  background: url(../img/ico-fecha.svg);
  background-position: calc(100% - 8px) 9px;
  background-repeat: no-repeat;
}

.input input.texto.ico__cvv {
  background: url(../img/ico-cvv.svg);
  background-position: calc(100% - 8px) 10px;
  background-repeat: no-repeat;
}

.input label {
  font-family: 'Nunito-bold';
  font-size: 14px;
  line-height: 16px;
  width: 100%;
}

.input.no-label > label {
  text-indent: -99999999px;
  visibility: hidden;
  color: #fff;
}

/* BOTONES */

/* button {
  cursor: pointer;
  min-width: 250px;
  border-radius: 24px;
  border: none;
  text-align: center;
  line-height: 24px;
  padding: 12px 4% 12px 4%;
  font-family: "Nunito-bold";
  font-size: 16px;
  outline: none;
  -webkit-appearance: none;
} */

button.primario {
  background-color: #ff8800;
  border: 1px solid #ee5f00;
  color: white;
  transition: background 0.8s;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

button.primario:hover {
  background: #ff8800 radial-gradient(circle, transparent 1%, #ff8800 1%)
    center/15000%;
}

button.primario:active {
  background-color: #ee5f00 !important;
  background-size: 100%;
  transition: background 0s;
}

button.acento {
  background-color: #3e50b4;
  text-align: center;
  color: #fff;
  padding: 16px;
  border: 1px solid #3e50b4;
  line-height: 100%;
  transition: background 0.8s;
}

button.acento:hover {
  background: #3e50b4 radial-gradient(circle, transparent 1%, #3e50b4 1%)
    center/15000%;
}

button.acento:active {
  background-color: #1d2a4e !important;
  background-size: 100%;
  transition: background 0s;
}

button.acento__pagar {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 100%;
  font-size: 16px;
}

button.acento__pagar span {
  margin-right: 8px;
  vertical-align: middle;
  background: url('../img/ico-candado.svg') no-repeat;
  width: 16px;
  height: 20px;
  display: block;
  margin-top: -3px;
}

button.acento__min {
  padding: 8px 32px;
  min-width: auto;
}

button.segundo-nivel {
  display: none;
  background-color: #fafbfc;
  text-align: center;
  color: #3e50b4;
  border: 2px solid #3e50b4;
  padding: 8px 4%;
  transition: background 0.8s;
}

button.segundo-nivel:hover {
  background: #fafbfc radial-gradient(circle, transparent 1%, #fafbfc 1%)
    center/15000%;
}

button.segundo-nivel:active {
  background-color: #3e50b4 !important;
  background-size: 100%;
  transition: background 0s;
}

button.link {
  background: transparent;
  color: #3e50b4;
  border: none;
  box-shadow: none;
  padding: 12px;
  outline: none;
  margin-top: 8px;
  margin-bottom: 24px;
  transition: 0.25s ease-in-out;
}

button.link:hover {
  text-decoration: none;
  color: #7784ca;
}

button.link:active {
  color: #7784ca !important;
}

button.link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

button.link__icon i {
  font-size: 24px;
  height: 16px;
  width: 16px;
  margin-right: 8px;
}

button.link__icon i img {
  width: 16px !important;
  margin-top: 0 !important;
}

/* MODALES */

.overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  display: none;
  font-family: sans-serif;
  font-size: 16px;
}

#msgError {
  font-family: sans-serif;
  font-size: 16px;
}

.overlay.visible {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  font-size: 16px;
}

.overlay .modal {
  padding: 16px 24px 24px 24px;
  padding: 0 0 24px 0;
  min-width: 480px;
  min-height: 300px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  background: #fff;
  border-radius: 4px;
  font-family: 'Nunito-semibold';
  font-size: 16px;
  color: #313131;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 0%;
}

.overlay .modal header {
  width: 100%;
  display: block;
  border-radius: 8px 8px 0 0;
  margin-bottom: 24px;
  background: #fafbfc;
  padding: 16px 16px 8px 16px;
  border-bottom: 1px solid #efefef;
}

.overlay .modal header img {
  width: 70px;
  margin: 0;
}

.overlay .modal img {
  margin-bottom: 16px;
  margin-top: 8px;
  width: 64px;
}

.overlay .modal img.animacion {
  width: 54px;
}

.overlay .modal .espera_anim {
  margin-bottom: 16px;
  margin-top: 8px;
  width: 64px;
}

.overlay .modal__min {
  min-height: auto;
  padding: 0 0 32px 0;
  width: 320px;
}

.overlay .modal__min h3 {
  text-align: center;
  padding: 0 32px;
  font-family: sans-serif;
  font-size: 16px;
}

.overlay .modal__min p {
  padding: 16px 32px 0 32px;
  text-align: center;
}

.overlay .modal__comprobante h3 {
  margin-bottom: 24px;
}

.comprobante {
  position: relative;
  top: 0;
  bottom: 0;
  text-align: center;
}

.comprobante__lista {
  text-align: left;
  padding: 0;
  width: 90%;
  margin-bottom: 8px;
  margin-top: 8px;
}

.comprobante__lista--legal {
  padding-top: 24px;
  margin-top: 0;
  margin-bottom: 24px;
  position: relative;
  border-top: 1px dashed #ccc;
}

.comprobante__lista--legal:after {
  background: url('../img/sello.png') center no-repeat;
  content: '';
  display: inline-block;
  position: absolute;
  top: 19px;
  right: 0;
  width: 60px;
  height: 60px;
  opacity: 0.7;
  background-size: 56px;
  transform: rotate(-15deg);
}

.comprobante__item {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 12px 0;
}

.comprobante__dato,
.comprobante__valor {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  width: 55%;
  margin: 0;
}

.comprobante__dato--error,
.comprobante__valor--error {
  color: #d64040;
  font-weight: 700 !important;
}

.comprobante__dato {
  width: 45%;
  text-align: left;
  font-family: 'Nunito-bold';
}

.comprobante__valor {
  font-weight: 400;
}

.comprobante__valor--destacado {
  font-size: 16px;
  font-weight: 700;
}

@media only screen and (max-width: 1024px) and (min-width: 1000px) {
  .container .cols .col-iz .tarjetas .tarjeta .datos-tarjeta .img-tarjeta {
    max-width: 45%;
  }
  .container .cols .col-iz .tarjetas .tarjeta .datos-tarjeta .inputs-primarios {
    width: 52%;
    min-width: 52px;
  }
  .container
    .cols
    .col-iz
    .tarjetas
    .tarjeta
    .datos-tarjeta
    .inputs-primarios
    .input.tarjeta-validez {
    width: 44%;
    margin-right: 16px;
  }
}

@media only screen and (min-width: 641px) and (max-width: 768px) {
  .container
    .cols
    .col-iz
    .tarjetas
    .tarjeta
    .datos-tarjeta
    .inputs-primarios
    .tarjeta-validez {
    width: 47%;
    display: none;
  }
  .container
    .cols
    .col-iz
    .tarjetas
    .tarjeta
    .datos-tarjeta
    .inputs-primarios
    .tarjeta-numero {
    width: 50%;
  }
}

@media only screen and (max-width: 480px) {
  body {
    align-items: flex-start;
    padding-bottom: 16px;
  }
  header {
    display: none;
  }
  header img {
    height: 24px;
  }
  header .lnk-cancelar {
    text-indent: -9999999px;
  }
  .medio-pago {
    padding: 16px 10px;
    min-height: 19vh;
  }
  .input.boton {
    margin-top: 24px;
    margin-bottom: 8px;
  }
  .overlay .modal {
    min-width: 90%;
  }
  .overlay .modal__comprobante .input.boton {
    margin-top: 8px;
    margin-bottom: 0;
  }
  .container {
    width: 100%;
    margin-top: 0;
  }
  .container .cols {
    flex-direction: column;
  }
  .container .cols .col-iz {
    box-shadow: none;
  }
  .container .cols .col-iz .datos-pago {
    padding: 10px 16px 8px 16px;
    margin-top: 8px;
    margin-bottom: 8px;
    border-radius: 4px;
  }
  .container .cols .col-iz .datos-pago .info-pago h2 {
    font-size: 14px;
    line-height: 100%;
    height: 16px;
    margin-top: 5px;
  }
  .container .cols .col-iz .datos-pago .info-pago div {
    margin-top: -5px;
  }
  .container .cols .col-iz .datos-pago .info-pago span {
    display: none;
  }
  .container .cols .col-iz .datos-pago .info-pago .servicio {
    display: none;
  }
  .container .cols .col-iz .datos-pago .comercio {
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }
  .container .cols .col-iz .datos-pago .comercio img {
    width: 65%;
    margin: auto;
    align-self: flex-end;
  }
  .container .cols .col-iz .tarjetas .inputs-primarios {
    flex-wrap: wrap;
  }
  .container .cols .col-iz .tarjetas .inputs-primarios .input.tarjeta-numero {
    width: 100%;
    margin-right: 0;
    padding-top: 16px;
  }
  .container .cols .col-iz .tarjetas .tarjeta .datos-tarjeta {
    flex-direction: column;
    margin-top: 0;
  }
  .container .cols .col-iz .tarjetas .tarjeta .datos-tarjeta .img-tarjeta {
    width: 100%;
    padding-top: 24px;
    min-width: 100%;
  }
  .container .cols .col-iz .tarjetas .tarjeta .datos-tarjeta .img-tarjeta img {
    width: 100%;
  }
  .container .cols .col-iz .tarjetas .tarjeta .datos-tarjeta .inputs-primarios {
    width: 100%;
  }
  .container
    .cols
    .col-iz
    .tarjetas
    .tarjeta
    .datos-tarjeta
    .inputs-primarios
    .input.tarjeta-validez {
    width: 44%;
  }
  .container
    .cols
    .col-iz
    .tarjetas
    .tarjeta
    .datos-tarjeta
    .inputs-primarios
    .input.tarjeta-seguridad {
    width: 46%;
  }
  .container .cols .col-der .pagaqui .descargar-app {
    display: none;
  }
  .container .cols .col-der .pagaqui .qr-resumido {
    background: #fff;
    padding: 16px 24px 0 24px;
    text-align: center;
    border-radius: 4px;
  }
  .container .cols .col-der .pagaqui .qr-resumido h3 {
    margin-bottom: 8px;
    font-family: 'Nunito-bold';
    font-weight: 800;
  }
  .container .cols .col-der .pagaqui .qr-resumido p {
    font-size: 14px;
  }
  .container .cols .col-der .pagaqui .qr-resumido strong {
    font-family: 'Nunito-bold';
    margin-top: 8px;
    display: block;
    color: #3e50b4;
  }
  .container .cols .col-der .pagaqui .qr-resumido__activo {
    display: flex;
    flex-direction: column;
  }
  .container .cols .col-der .otrasbech {
    margin-top: 0;
  }
  .container .cols .col-der .otrasbech img {
    display: none;
  }
  .container .cols .col-der .otrasbech a span {
    display: block;
    width: 24px;
    height: 16px;
    background: url('../img/ico-tarjeta.svg') no-repeat left center;
    margin-right: 0;
  }
  .subtitulo--icono__pago-mobile {
    background-image: url('../img/ico-mobile.svg');
    background-position: 6px 0px;
  }
  .comprobante__lista--legal {
    padding-top: 16px;
    margin-bottom: 0px;
  }
}

/* TARJETA */

.preload * {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -ms-transition: none !important;
  -o-transition: none !important;
}

.container-card {
  width: 100%;
  max-width: 370px;
  max-height: 251px;
  height: 54vw;
  perspective: 1000px;
}

.creditcard {
  width: 100%;
  max-width: 400px;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  transition: -webkit-transform 0.6s;
  -webkit-transition: -webkit-transform 0.6s;
  transition: transform 0.6s;
  transition: transform 0.6s, -webkit-transform 0.6s;
  cursor: pointer;
}

.creditcard svg#cardfront,
.creditcard svg#cardback {
  width: 100%;
  -webkit-box-shadow: 1px 5px 6px 0px black;
  box-shadow: 1px 5px 6px 0px black;
  border-radius: 22px;
}

#generatecard {
  cursor: pointer;
  float: right;
  font-size: 12px;
  color: #fff;
  padding: 2px 4px;
  background-color: #909090;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}

/* CHANGEABLE CARD ELEMENTS */

.creditcard .lightcolor,
.creditcard .darkcolor {
  -webkit-transition: fill 0.5s;
  transition: fill 0.5s;
  fill: none;
}

.creditcard .lightblue {
  fill: #03a9f4;
}

.creditcard .lightbluedark {
  fill: #0288d1;
}

.creditcard .red {
  fill: #ef5350;
}

.creditcard .reddark {
  fill: #d32f2f;
}

.creditcard .purple {
  fill: #ab47bc;
}

.creditcard .purpledark {
  fill: #7b1fa2;
}

.creditcard .cyan {
  fill: #26c6da;
}

.creditcard .cyandark {
  fill: #0097a7;
}

.creditcard .green {
  fill: #66bb6a;
}

.creditcard .greendark {
  fill: #388e3c;
}

.creditcard .lime {
  fill: #d4e157;
}

.creditcard .limedark {
  fill: #afb42b;
}

.creditcard .yellow {
  fill: #ffeb3b;
}

.creditcard .yellowdark {
  fill: #f9a825;
}

.creditcard .orange {
  fill: #ff9800;
}

.creditcard .orangedark {
  fill: #ef6c00;
}

.creditcard .grey {
  fill: #bdbdbd;
}

.creditcard .greydark {
  fill: #616161;
}

/* FRONT OF CARD */

#svgname {
  text-transform: uppercase;
}

#cardfront .st2 {
  fill: #ffffff;
}

#cardfront .st3 {
  font-family: 'Source Code Pro', monospace;
  font-weight: 600;
}

#cardfront .st4 {
  font-size: 54.7817px;
}

#cardfront .st5 {
  font-family: 'Source Code Pro', monospace;
  font-weight: 400;
}

#cardfront .st6 {
  font-size: 33.1112px;
}

#cardfront .st7 {
  opacity: 0.6;
  fill: #ffffff;
}

#cardfront .st8 {
  font-size: 24px;
}

#cardfront .st9 {
  font-size: 36.5498px;
}

#cardfront .st10 {
  font-family: 'Source Code Pro', monospace;
  font-weight: 300;
}

#cardfront .st11 {
  font-size: 16.1716px;
}

#cardfront .st12 {
  fill: #4c4c4c;
}

/* BACK OF CARD */

#cardback .st0 {
  fill: none;
  stroke: #0f0f0f;
  stroke-miterlimit: 10;
}

#cardback .st2 {
  fill: #111111;
}

#cardback .st3 {
  fill: #f2f2f2;
}

#cardback .st4 {
  fill: #d8d2db;
}

#cardback .st5 {
  fill: #c4c4c4;
}

#cardback .st6 {
  font-family: 'Source Code Pro', monospace;
  font-weight: 400;
}

#cardback .st7 {
  font-size: 27px;
}

#cardback .st8 {
  opacity: 0.6;
}

#cardback .st9 {
  fill: #ffffff;
}

#cardback .st10 {
  font-size: 24px;
}

#cardback .st11 {
  fill: #eaeaea;
}

#cardback .st12 {
  font-family: 'Rock Salt', cursive;
}

#cardback .st13 {
  font-size: 37.769px;
}

/* FLIP ANIMATION */

.container {
  perspective: 1000px;
}

.creditcard {
  width: 100%;
  max-width: 370px;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  transition: -webkit-transform 0.6s;
  -webkit-transition: -webkit-transform 0.6s;
  transition: transform 0.6s;
  transition: transform 0.6s, -webkit-transform 0.6s;
  cursor: pointer;
}

.creditcard .front,
.creditcard .back {
  position: absolute;
  width: 100%;
  max-width: 370px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  color: #47525d;
}

.creditcard .back {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  background: #fff3e3;
  border-radius: 16px;
  border: 1px solid #fdead0;
}

.creditcard.flipped {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

/* nuevos */

.creditcard svg#cardfront,
.creditcard svg#cardback {
  box-shadow: none;
}

.creditcard .bech {
  fill: #fff3e3;
  border: #fdead0;
}

.creditcard .greydark {
  fill: none;
}

#cardfront .st2 {
  fill: #f6c586;
}

#cardfront .st4 {
  font-size: 50px;
  fill: #3a3f4a;
}

#cardfront .st8 {
  fill: #000000 !important;
}

#cardfront .st7 {
  fill: #3a3f4a;
}

#cardfront .st6 {
  fill: #3a3f4a;
}

#cardfront .st5 {
  font-family: 'Source Code Pro', monospace;
  font-weight: 400;
  fill: #3a3f4a;
}

#cardback .st13 {
  font-size: 28px;
}

#cardback .st12 {
  font-family: 'Nunito-regular';
}

#cardfront .st11 {
  font-size: 16.1716px;
  fill: #3a3f4a;
}

#cardfront .st14 {
  fill: #3a3f4a;
}
