html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    outline: none;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
*, ::before, ::after {
    box-sizing: content-box;
}
  html { overflow-y: scroll; }
  body {
    font-family: Arial, Tahoma, sans-serif;
    background: #ffffff;
    font-size: 62.5%;
    line-height: 1;
    padding-top: 40px;
  }

  br { display: block; line-height: 1.6em; } 

  td {
    padding: 3px 0;
  }

  input, textarea { 
    font-family: Arial, Tahoma, sans-serif;
    -webkit-font-smoothing: antialiased;
    outline: none; 
  }
  
  strong, b { font-weight: bold; }
  em, i { font-style: italic; }
  
  h1 {
    display: block;
    font-size: 3.1em;
    line-height: 1.4em;
    text-align: center;
    font-weight: bold;
    color: #008000;
    text-shadow: 1px 1px 0 #fff;
  }
  
  h1.entry-title {
    color: #555;
  }
  
  h2 {
    font-size: 1.9em;
    line-height: 1.95em;
    text-align: center;
    font-weight: bold;
    color: #555;
  }
  
  .form {
    display: block;
    margin: 30px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 5px;
    font-size: 0;
  }

  #consolaexito, #consolaerror {
    padding: 15px;
    margin: 30px;
    background: #eee;
    border-radius: 5px;
  }

  #consolaerror {
    display: none;
  }

  #consolaerror p, #consolaexito p {
    margin: 0;
    padding: 3px 0;
    font-weight: bold;
    font-size: 14px;
    opacity: 0.6;
  }

  #consolaerror p.titulo, #consolaexito p.titulo {
    margin: 0;
    padding: 3px 0 6px;
    opacity: 1;
    color: #008000;
  }

  .tipo-ingresos {
    padding: 0 30px 0 0;
  }
  
  .linea-top {
    border-top: 1px solid #e4e4e4;
  }

  .primera-fila, .agregar-fila {
    margin: 0px;
    width: 100%;
    border-radius: 0px;
    border: 0;
    border-top: 2px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
  }

  .agregar-fila {
    border-top: 4px solid #e4e4e4;
  }
  
  #eliminarFila{
    color: #008000;
    text-transform: none;
  }
  
  .familiar {
    background-color: #eeeeee;
  }

  .site-info {
    margin: 0 auto 20px;
    width: 100px;
  }
  
  .form > div > label {
    display: block;
    padding: 20px 20px 10px;
    vertical-align: top;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    color: #939393;
    cursor: pointer;
  }
  
  .form > div.switch > label {
    padding: 20px 20px 13px;
  }
  
  .form > div.check > label {
    padding: 25px 20px 16px;
  }
  
  .form > div > label > h1 {
    font-size: 2.3em;
    line-height: 1.45em;
    text-transform: none;
    display: block;
  }
  
  .col-2, .col-3, .col-4 { 
    border-bottom: 1px solid #e4e4e4;
    vertical-align: top;
  }
  
  .col-1b { 
    border-top: 1px solid #e4e4e4;
  }
  
  .form > div > .col-4 {
    height: 86px;
  }
  
  label > input {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 27px;
    line-height: 27px;
    margin: 5px -5px 0;
    padding: 7px 5px 3px;
    border: none;
    outline: none;
    color: #555;
    font-weight: bold;
    font-size: 14px;
    opacity: .6;
    transition: all linear .3s;
  }
  
  label > table {
    display: inline-block;
    position: relative;
    width: 100%;
    margin: 5px -5px 0;
    padding: 7px 5px 3px;
    border: none;
    outline: none;
    font-weight: bold;
    font-size: 14px;
    text-transform: none;
  }
  
  .col-submit {
    text-align: center;
    padding: 20px;
  }
  
  label > select {
    display: block;
    width: 100%;
    padding: 0;
    color: #555;
    margin: 16px 0 6px;
    font-family: Arial, Tahoma, sans-serif;
    font-weight: 700;
    background: transparent;
    border: none;
    outline: none;
    font-size: 14px;
    opacity: .4;
    transition: all linear .3s;
  }
  
  label > input:focus, label > select:focus {
    opacity: 1;
  }
  
  button {
    width: 100%;
    height: 35px;
    border: none;
    border-radius: 5px;
    margin: 0 0 15px 0;
    font-family: Arial, Tahoma, sans-serif;
    font-size: 14px;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
    overflow: hidden;
    outline: none;
  }
  
  button.persona {
    width: 15%;
  }
  
  button.submitbtn {
    background-color: #008000;
    border-bottom: 1px solid #648c3a;
    cursor: pointer;
    color: #fff;
    width: 98%;
  }
  button.submitbtn:hover {
    background-color: #2c5aa0;
  }
  button.submitbtn:active {
    height: 35px;
    border-bottom: 0;
    margin: 1px 0 0 0;
    background-color: #2c5aa0;
    -moz-box-shadow: inset 0 1px 3px 1px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: inset 0 1px 3px 1px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 1px 3px 1px rgba(0, 0, 0, 0.3);
  }
  
  
  /** responsive **/
  @media(min-width: 800px){
    .form > div { display: inline-block; }
    .form > div.col-submit.boton { display: inherit; text-align: right; }  
    .col-submit { display: block; }
    
    .col-2, .col-3, .col-4 { box-shadow: 1px 1px #e4e4e4; border: none; }
    .col-1, .col-1b { width: 100% } 
    .col-23 { width: 66.6666666666%; box-shadow: 1px 1px #e4e4e4; border: none; }
    .col-2 { width: 50%; }
    .col-3 { width: 33.3333333333%; box-shadow: 1px 1px #e4e4e4; border: none; }
    .col-4 { width: 25% }
    
    .col-submit button.submitbtn { margin: 0 auto; }
  }
  .alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
  }
  .alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
  }
  .alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
  }
  /** https://codepen.io/joe-watkins/pen/GzeKI **/
  /** http://codepen.io/guvootes/pen/eyDAb **/