body {
  place-items: center;
  margin: 0;
  background: #F2F4F4;
}
#contenedor{
  text-align: center;
  place-items: center;
  margin: auto;
  width: 90%;
  overflow: auto;
}
#spiner p{
  color: #666;
  margin-top: 30px;
  margin-bottom: 0px;
  font-weight: bold;
  font-size: 12px;
}
.boton{
text-decoration: none;
text-transform: uppercase;
margin-top: 10px;
font-weight: bold;
padding: 10px;
font-size: 12px;
color: #8c16d1;
background-color: #fff;
border-radius: 4px;
border: 2px solid #8c2fc2;
margin-bottom: 10px;
}
.boton:hover{
color: #fff;
background-color: #8c16d1;
cursor: pointer;
}
.targeta{
  width: 60%;
  margin: auto;
  margin-top: 50px;
  margin-bottom: 50px;
  border-radius: 4px;
  background: #fff;
  padding: 10%;
  box-shadow: 2px 2px 20px #666; 
  box-sizing:border-box;
}
h5{
  color: #1a82d2;
  font-weight: bold;
}
.politicas{
    color: #1a82d2;
    cursor: pointer;
}

/* material desing codigo css */
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500');
body{ font-family: 'Roboto', sans-serif; margin: 0; }
* { box-sizing:border-box; }
/*div.contenido {  margin:5% auto; width:96%; max-width:500px;  } */

/* ESTILO INPUT MATERIAL DESING */
.input_md {
  position:relative;
  margin-bottom:45px;
}
input{
  font-size:16px;
  color:#666;
  font-size: 15px;
  padding:10px 10px 10px 5px;
  display:block;
  width:100%;
  border:none;
  border-bottom: 2px solid #ccc;
  background-color: transparent;
}

input:focus { outline:none; }
/* ETIQUETA */
label{
  color:#999; 
  font-size:14px;
  font-weight:400;
  position:absolute;
  pointer-events:none;
  left:5px;
  top:10px;
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
}
/* active state */
input:focus ~ label, input:valid ~ label {
  top:-10px;
  font-size:10px;
  color:rgb(16, 108, 200);
}
/* ANIMACION BARRA */
.barra  {
   position:relative; 
   display:block; width:100%;
}
.barra:before, .barra:after   {
  content:'';
  height:2px; 
  width:0;
  bottom:1px; 
  position:absolute;
  background:rgb(16, 108, 200); 
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
}
.barra:before { left:50%; }
.barra:after  { right:50%; }

/* ESTADO ACTIVO */
input:focus ~ .barra:before, input:focus ~ .barra:after { width:50%; }

/* HIGHLIGHTER ================================== */
.highlight {
  position:absolute;
  height:60%; 
  width:100px; 
  top:25%; 
  left:0;
  pointer-events:none;
  opacity:0.5;
}
/* ESTADO ACTIVO */
input:focus ~ .highlight {
  -webkit-animation:inputHighlighter 0.3s ease;
  -moz-animation:inputHighlighter 0.3s ease;
  animation:inputHighlighter 0.3s ease;
}
/* ANIMACION */
@-webkit-keyframes inputHighlighter {
  from { background:#5264AE; }
  to  { width:0; background:transparent; }
}
@-moz-keyframes inputHighlighter {
  from { background:#5264AE; }
  to  { width:0; background:transparent; }
}
@keyframes inputHighlighter {
  from { background:#5264AE; }
  to  { width:0; background:transparent; }
}      

/*estilo toast*/
#snackbar {
	visibility: hidden; /* Hidden by default. Visible on click */
	min-width: 250px; /* Set a default minimum width */
	margin-left: -125px; /* Divide value of min-width by 2 */
	background-color: #333; /* Black background color */
	color: #fff; /* White text color */
	border-radius: 40px; /* Rounded borders */
	padding: 16px; /* Padding */
	position: fixed; /* Sit on top of the screen */
	z-index: 99999; /* Add a z-index if needed */
	left: 50%; /* Center the snackbar */
	text-align: center; /* Centered text */
	bottom: 30px; /* 30px from the bottom */
	font-weight: bold;
}
 /* Show the snackbar when clicking on a button (class added with JavaScript) */
 #snackbar.show {
	visibility: visible; /* Show the snackbar */
	/* Add animation: Take 0.5 seconds to fade in and out the snackbar. 
	However, delay the fade out process for 2.5 seconds */
	-webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
	animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
	from {bottom: 0; opacity: 0;} 
	to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
	from {bottom: 0; opacity: 0;}
	to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
	from {bottom: 30px; opacity: 1;} 
	to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
	from {bottom: 30px; opacity: 1;}
	to {bottom: 0; opacity: 0;}
}


@media screen and (max-width:640px) {
  .targeta{
    width: 90%;
  }
}


