/* === FORMULARIO ESTILO MATERIALIZE LIGERO === */
.form-mat {
  font-family: "Roboto", sans-serif;
  max-width: 500px;
  margin: 20px auto;
    width: 90%;
}

/* Input fields */
.form-mat .input-field {
  position: relative;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-mat .input-field input {
  border: none;
  border-bottom: 1px solid #9e9e9e;
  outline: none;
  width: 100%;
  font-size: 16px;
  padding: 8px 0;
  background: transparent;
  box-shadow: none;
  transition: border-color 0.3s;
}

.form-mat .input-field input:focus {
  border-bottom: 2px solid #26a69a;
}

.form-mat .input-field input.invalid {
  border-bottom: 2px solid #e53935;
}

.form-mat .input-field input.valid {
  border-bottom: 2px solid #43a047;
}

/* Labels */
.form-mat .input-field label {
  color: #9e9e9e;
  position: absolute;
  left: 0;
  top: 10px;
  font-size: 16px;
  cursor: text;
  transition: 0.2s ease all;
}

.form-mat .input-field input:focus + label,
.form-mat .input-field input:not(:placeholder-shown) + label {
  top: -14px;
  font-size: 12px;
  color: #26a69a;
}

/* Helper text */
.form-mat .helper-text {
  font-size: 12px;
  margin-top: 3px;
  display: block;
}

/* Botón */
.form-mat .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #26a69a;
  color: #fff;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 14px;
  transition: background-color 0.3s;
}

.form-mat .btn:hover {
  background-color: #2bbbad;
}

.form-mat .btn:disabled {
  background-color: #9e9e9e;
  cursor: not-allowed;
}

@media (min-width: 992px) {
    .modal-lg, .modal-xl {
        max-width: 500px;
    }
}

#cnt-msg {
display:none;
}

.text-msg {
 margin: 0 auto;
 width: 80%;
 text-align: center;
 color: red;
}