html{
  min-height: 100%;
  position: relative;
}
h1{ font-size: 1.2em;color:white;float:left,bottom;}


p {
  font-size:1.1em;
  font-weight: normal;
  color:#454545;
  line-height: 150%;
  text-align: justify;
}

p a {color:#454545; text-decoration:none;}
p a:hover{color:#8A0808;text-decoration:none;}
p a:focus{color:#8A0808;text-decoration:none;}

.cabecera{
  height: 3em;
  color: white;
  background-color: rgba(138,8,8,0.8);
  font-size: 24px;
}


.banner{
  margin-top:5em;
  height:auto;
  width: 100%;
}

.banner p{
  padding: 0.8em 2em;
  font-size: 1.2em;
  line-height: 150%;
}

.idiomas{
	text-align: right;
  color: white;
  font-size:0.6em;
}

.idiomas a{
	color:white;
	text-decoration: none;
}


/* Footer */
footer {
  margin-top: 3em;
  padding: 30px 0;
  background: #FAFAFA !important;
  color: #454545;
}

footer a{
  color: #454545;
}

footer p{
  font-size: 0.9em;
}

footer a:hover{
  color: #8A0808;
  text-decoration: none;
}

footer ul{
  margin-left: 3em;
  list-style: none;
  float: right;
  border-left: 1px solid #454545;
  padding: 5px 10px 5px 10px;
}

footer p{
  margin-bottom: 2px;
}

.logo{
  margin-top: 1em;
  margin-left: 1em;
  height: 30px;
  float: right;
}

.cierra-cita{
  float: right;
  width: 25px;
  height: 25px;
  padding-top: 3px;
  text-align: center;
  font-size: 12px;
  position: absolute;
  top: 0px;
  right: 0px;
  cursor: pointer;
  color: #454545;
  padding-top: 10px;
}

@media only screen and (max-width: 1024px), only screen and (max-device-width: 1024px) {
  h1{
    font-size: 1.1em;
    color:white;
    float:bottom;
  }

  p {
    font-size:1em;
    font-weight: normal;
    color:#454545;
    line-height: 150%;
    text-align: justify;
  }

  p a {color:#454545; text-decoration:none;}
  p a:hover{color:#8A0808;text-decoration:none;}
  p a:focus{color:#8A0808;text-decoration:none;}

  .cabecera{
    height: 3em;
    color: white;
    background-color: rgba(138,8,8,0.8);
  }


  .banner{
    margin-top:5em;
    height:auto;
    width: 100%;
  }

  .banner p{
    padding: 0.8em 2em;
    font-size: 1em;
    line-height: 150%;
  }

  .idiomas{
  	text-align: right;
    color: white;
    font-size:0.6em;
  }

  .idiomas a{
  	color:white;
  	text-decoration: none;
  }


  /* Footer */
  footer {
    margin-top: 3em;
    padding: 25px 0;
    background: #FAFAFA !important;
    color: #454545;
  }

  footer p{
    font-size: 0.8em;
  }

}
