*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
/* Clearfix */
.cf:after{
  content: "";
  display: table;
  clear: both;
}
/* Generales */
body {
  color: #004d47;
  background-color: #b51729;
  font-size: 12px;
  font-family: 'Lato', sans-serif;
}
.wrap {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 20px;
}
.center {
  text-align: center;
}
h1,
h2,
h3 {
  font-weight: 900;
  font-style: italic;
}
h1 {
  margin-top: 0;
  color: #b51729;
}
h3 {
  font-size: 1em;
  margin: 0;
}
h3 + p { margin: 0;}

/* Reset Select */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    outline: 0;
    box-shadow: none;
    border: 0 !important;
  background: transparent;
}

/* header */
header {
  background: #fff;
  border-bottom: 10px solid #b51729;
}
.header-logo {
  display: block;
  margin: 0 auto;
  width: 265px;
}
.header-logo img {
  display: block;
}
.social-icons {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.social-icons li {
  display: inline-block;
  margin: 7px 10px;
}
.social-icons a {
  display: block;
  width: 36px;
  height: 36px;
  background-color: #b51729;
  background-image: url(../images/social-icons.png);
  background-repeat: no-repeat;
  border-radius: 50%;
  /* Hide text */
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}
.fb { background-position: left center}
.tw { background-position: center;}
.yt { background-position: right center;}

/* Hero */
.hero {
  background: #018177;
}

/* Info */
.fix-bottom {
  margin-bottom: 20px;
}
.info {
  max-width: 600px;
  padding: 1.5em;
  background: #fff;
  border-top: 10px solid #b51729;
  border-radius: 5px;
}
.info ul {
  padding: 0;
}
.info li {
  margin: 1em;
}

/* Contacto */
.contacto {
  background: #eee;
  border-radius: 5px;
  overflow: hidden;
}
.contacto h2 {
  margin: 0;
  height: 50px;
  color: #fff;
  background: #b51729;
  line-height: 50px;
  font-size: 1.75em;
  text-align: center;
}
.contacto h2:before {
  content: url(../images/contacto.png);
  position: relative;
  left: -10px;
  bottom: -6px;
}
.contacto form {
  margin: 0;
  padding: .5em 1.5em;
}
.contacto input,
.contacto select {
  padding: 1em;
  width: 100%;
  background: #fff;
  border: none;
  border-radius: 5px;
}

/* Custom select */
.cs {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
}
.cs select {
  cursor: pointer;
}
.cs:after {
  content: " ";
  position: absolute;
  width: 20px;
  top: 0;
  right: 0;
  bottom: 0;
  /* el bg debe ser del mismo color de .custom-select */
  background: #fff url(../images/select.png) no-repeat center right;
  /* clic a través de la flecha */
  pointer-events:none;
}

/* Footer */
footer {
  color: #fff;
  color:rgba(255,255,255,.5);
}
.footer-info span{
  display: block;
  margin: 0 auto;
  width: 80px;
  height: 71px;
  background: url(../images/logo-footer.png) no-repeat center;
}

/* Botones */
button,
input.button {
  width: auto;
  padding: .5em 1em;
  background: #b51729;
  color: #fff;  
  font-size: 1.5em;
  font-weight: 900;
  font-style: italic;
  border: none;
  border-radius: 5px;
}
input.button {
  padding: .5em 2em;
}
button:hover,
input.button:hover,
.social-icons a:hover {
  background-color: #611921;
}

/* Responsive */
@media screen and (min-width: 480px) {
  body {
    font-size: 16px;
  }
  h1 { width: 66%;}
  .header-logo {
    float: left;
  }
  .social-icons {
    float: right;
    margin: 0;
  }
  .social-icons li {
    margin: 7px 0 7px 10px;
  }
  .info {
    padding: 2em;
  }
  .contacto h2::before {
    bottom: -2px;
  }
}

@media screen and (min-width: 960px){
  .wrap { max-width: 960px;padding: 10px;}
  .hero-img {
    margin: 0 auto;
    max-width: 1400px;
    background: url(../images/hero/pedagogia.jpg) no-repeat center top;
  }
  .fix-bottom {
    position: absolute;
    top: 50%;
    left: 0;
    padding-bottom: 40px;
  }
  .info {
    /* Shadow */
    -webkit-box-shadow: 0px 10px 10px rgba(0,0,0,.4);
    box-shadow: 0px 10px 10px rgba(0,0,0,.4);
  }
  .contacto {
    float: right;
    margin: 2em 0;
    width: 280px;
    background: rgba(238,238,238,.4);
    /* Shadow */
    -webkit-box-shadow: 0px 10px 10px rgba(0,0,0,.4);
    box-shadow: 0px 10px 10px rgba(0,0,0,.4);
  }
  .contacto input,
  .contacto select {
    font-size: 0.75em;
    padding: .5em 1em;
  }
  input.button {
    font-size: 1.25em;
    padding: .5em 2em;
  }
  footer{
    font-size: 12px;
    /* Shadow */
    -webkit-box-shadow: 0 -10px 10px rgba(0,0,0,.4);
    box-shadow: 0 -10px 10px rgba(0,0,0,.4);
  }
  footer .small {
    font-size: 10px;
  }
  .footer-info {
    float: right;
    width: 280px;
    margin: 2em 0;
  }
}