<style>
    hgroup { 
        text-align:center;
        margin-top: 0;
    }
    .modal-title {
        margin-bottom: 0;
        line-height: 1.5;
        font-size: 30px;
        color: #2b4365;
        text-align: center;
        width: 100%;
    }
    .modal-body h1 {
        font-size: 17.5px;
    }
    #contactform {
        width: 100%;
        margin: 10px auto;
        padding: 3em 2em 2em 2em;
        background: #fafafa;
        /* min-width: 1500px; */
        border-radius: 10px;
        font-size: 12px;
        font-family: "Montserrat";
    }
    #contactform .group { 
        position: relative; 
        margin-bottom: 35px; 
    }

    #contactform input, #contactform textarea  {
        font-size: 18px;
        padding: 10px 10px 10px 5px;
        -webkit-appearance: none;
        display: block;
        background: #fafafa;
        color: #636363;
        width: 100%;
        border: none;
        border-radius: 0;
        border-bottom: 1px solid #757575;
    }

    #contactform input:focus { outline: none; }


    /* Label */

    #contactform label {
        color: #999; 
        font-size: 18px;
        font-weight: normal;
        position: absolute;
        pointer-events: none;
        left: 5px;
        top: 10px;
        transition: all 0.2s ease;
    }


    /* active */

    #contactform input:focus ~ label, #contactform input.used ~ label {
        top: -20px;
    transform: scale(.75); left: -2px;
        /* font-size: 14px; */
        color: #2b4365;
    }


    /* Underline */

    #contactform .bar {
        position: relative;
        display: block;
        width: 100%;
    }

    #contactform .bar:before, #contactform .bar:after {
        content: '';
        height: 2px; 
        width: 0;
        bottom: 1px; 
        position: absolute;
        background: #2b4365; 
        transition: all 0.2s ease;
    }

    #contactform .bar:before { left: 50%; }

    #contactform .bar:after { right: 50%; }


    /* active */

    #contactform input:focus ~ .bar:before, #contactform input:focus ~ .bar:after { width: 50%; }


    /* Highlight */

    #contactform .highlight {
        position: absolute;
        height: 60%; 
        width: 100px; 
        top: 25%; 
        left: 0;
        pointer-events: none;
        opacity: 0.5;
    }


    /* active */

    #contactform input:focus ~ .highlight {
        animation: inputHighlighter 0.3s ease;
    }


    /* Animations */

    @keyframes inputHighlighter {
        from { background: #2b4365; }
        to 	{ width: 0; background: transparent; }
    }


    /* Button */

    #contactform .button {
    position: relative;
    display: inline-block;
    padding: 12px 24px;
    margin: .3em 0 1em 0;
    width: 100%;
    vertical-align: middle;
    color: #fff;
    font-size: 16px;
    line-height: 20px;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    letter-spacing: 1px;
    background: transparent;
    border: 0;
    border-bottom: 2px solid #48aa42;
    cursor: pointer;
    transition: all 0.15s ease;
    }
    #contactform .button:focus { outline: 0; }


    /* Button modifiers */

    #contactform .buttonBlue {
    background: #2b4365;
    text-shadow: 1px 1px 0 #48aa42;
    }

    #contactform .buttonBlue:hover { background: #48aa42; }


    /* Ripples container */

    #contactform .ripples {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: transparent;
    }


    /* Ripples circle */

    #contactform .ripplesCircle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    }

    #contactform .ripples.is-active .ripplesCircle {
    animation: ripples .4s ease-in;
    }

    .btn-primary {
        font-family: "Montserrat", sans-serif;
    }
    /* Ripples animation */

    @keyframes ripples {
    0% { opacity: 0; }

    25% { opacity: 1; }

    100% {
        width: 200%;
        padding-bottom: 200%;
        opacity: 0;
    }
    }
</style>
	         <hgroup>
  <h1><?php echo $textoForm;?></h1>
</hgroup>
<form id="contactform">
  <div class="group">
    <input class="forminput" id="nombre" type="text"><span class="highlight"></span><span class="bar"></span>
    <label><?php echo $etiquetaNombre;?></label>
  </div>
  <div class="group">
    <input class="forminput" id="email" type="email"><span class="highlight"></span><span class="bar"></span>
    <label><?php echo $etiquetaEmail;?></label>
  </div>
  
  <div class="group">
    <input class="forminput" id="empresa" type="text"><span class="highlight"></span><span class="bar"></span>
    <label><?php echo $etiquetaEmpresa;?></label>
  </div>

  <div class="group">
    <textarea class="forminput" id="mensaje"></textarea><span class="highlight"></span><span class="bar"></span>
    <label><?php echo $etiquetaMensaje;?></label>
  </div>
  <button type="button" class="button buttonBlue"><?php echo  $textoBotoncontacto;?>
    <div class="ripples buttonRipples"><span class="ripplesCircle"></span></div>
  </button>
</form>
