/*
ESTILO PARA LA APP DE PAGOS
*/

@import url('https://fonts.googleapis.com/css?family=Maven+Pro');
@import url('https://fonts.googleapis.com/css?family=Dosis:400,500,700');

body {
	font-family: 'Maven Pro', sans-serif;
	font-weight: 400;
	line-height: 1.3;	
	background: url(bg-pagos.jpg) no-repeat center center fixed;
	background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	-webkit-background-size: cover;
	height: 100%;
	margin: 0;
	padding: 50px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Dosis', sans-serif;
	font-weight: 500;
	line-height: 1.3;
	padding: 0;
	margin: 0 0 15px 0;
}

p,
ol li,
ul li,
input,
textarea {
	font-family: 'Maven Pro', sans-serif;
}

p {	font-weight: 400;
	line-height: 1.3;	
}

.text-center {
	text-align: center !important;
}


.container {
	background: #fff;
	padding: 40px;
	width: 620px;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(170,170,170,1);
	-moz-box-shadow: 0px 0px 10px 0px rgba(170,170,170,1);
	box-shadow: 0px 0px 10px 0px rgba(170,170,170,1);
}

.logo {
	text-align: center;
	padding: 0 0 40px 0;
}

.titulo {
	text-align: center;
	text-transform: uppercase;
}


.datos {
	width: 100%;
	padding: 20px 0;
}

.dato {
	margin: 0 0 35px 0;
    float: left;
    width: 100%;
}

.accion {
	float: left;
    width: 100%;
	margin: 0 0 15px 0;
}


.datos input
.datos label,
.datos textarea {
  display: block;
  margin: 10px;
  padding: 5px;
  border: none;
}

.datos input:focus {
  outline: 0;
}


.datos input.pago {
  font-size: 30px;
  font-weight: 300;
  border-radius: 2px;
  margin: 0;
  border: none;
  width: 100%;
  background: rgba(0, 0, 0, 0);
  transition: padding-top 0.2s ease, margin-top 0.2s ease;
  overflow-x: hidden;
}

.datos input.pago + label {
  display: block;
  position: relative;
  white-space: nowrap;
  padding: 0;
  margin: 0;
  width: 10%;
  border-top: 1px solid red;
  -webkit-transition: width 0.4s ease;
  transition: width 0.4s ease;
  height: 0px;
}

.datos input.pago:focus + label {
  width: 100%;
}

.datos input.pago:focus,
.datos input.pago:valid {
  padding-top: 35px;
}

.datos input.pago:focus + label > span,
.datos input.pago:valid + label > span {
  top: -80px;
  font-size: 22px;
  color: #333;
}

.datos input.pago:valid + label {
  border-color: green;
}

.datos input.pago:invalid {
  box-shadow: none;
}

.datos input.pago + label > span {
  font-weight: 300;
  margin: 0;
  position: absolute;
  color: #333;
  font-size: 20px;
  top: -50px;
  left: 0px;
  z-index: 10000;
  -webkit-transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease;
  transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease;
}

.datos input.pago + label > span small {
	font-size: 55%;
}

.datos input.pago:valid ~ input[type="submit"] {
  -webkit-animation: appear 1s forwards;
  animation: appear 1s forwards;
}

.datos input.pago:invalid ~ input[type="submit"] {
  display: none;
}


.btn-envio,
.btn-borrar {
	border-radius: 5px;
    display: inline-block;
    cursor: pointer;
    color: #fff;
    padding: 7px 20px;
    text-decoration: none;
    font-size: 18px;
}

.btn-envio {
	background-color: #77b55a;
    border: 1px solid #4b8f29;
    
}

.btn-borrar {
	background-color: #fa0f0f;
    border: 1px solid #4b8f29;
}

.btn-envio:hover {
	background-color:#4b8f29;
}

.btn-borrar:hover {
	background-color:#b31212;
}

.btn-envio:active,
.btn-borrar:active {
	position:relative;
	top:1px;
}

.info {
	width: 100%;
	padding: 20px 0;
	margin: 40px 0 0 0;
	background: rgba(239,169,074,0.5);
	text-align: center;
	text-transform: uppercase;
}

.conectando {
	color: #fff;
}