*, *: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: 15px;
  font-family: 'Lato', sans-serif;
}
.wrap {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 20px;
}
.center {text-align: center;}
.pt {padding-top: 1em;}
a, button, input {outline: 0;}
h1,
h2,
h3 {
  font-weight: 700;
  font-style: italic;
  margin:0;
}

h1 {
  color: #b51729;
  margin-top: 0px;
  line-height: 30px;
}

h2 {
  margin: 5px 0;
}
h3 {
  font-size: 1em;
  margin: 2px 0;
}
h3 + p { margin: 0;}


.tema-verde h4 {
  font-size: 13px;
  color: #004d47;
  font-style: italic;
  margin: 2px 0 10px 0;
}

h4 {
  font-size: 13px;
  color: #b51729;
  font-style: italic;
  margin: 2px 0 10px 0;
}

h5 {
  color: #b1c900;
  font-size: 11px;
  font-weight: normal;
  text-align: center;
  margin:2px 0;
}

h6 {
  font-size: 12px;
  color: #004d47;
  margin: 10px auto;
  font-weight: normal;
  text-align: center;
}

h6 a{
  font-size: 12px;
  color: #004d47;
  font-weight: normal;
  text-align: center;
  text-decoration: none;
}


/* 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 {
  position: relative;
  background: #fff;
  border-bottom: 10px solid #b51729;
  z-index: 10;
}
.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 url("../images/hero-shadow.png") repeat-y scroll center center;
  overflow: visible;
  position: sticky;
  z-index: 99999999 !important;
}

/* 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;
  margin:0;
}
.tema-verde .info li {
  margin: 0.6em 1em;
}

.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: 0.7em 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: 40px;
  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,.6);
}
.footer-info span{
  display: block;
  margin: 0 auto;
  width: 210px;
  height: 114px;
  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: 700;
  font-style: italic;
  border: none;
  border-radius: 5px;
  margin: 3px 0 0 0;
}
input.button {
  padding: .5em 2em;
}
button:hover,
input.button:hover,
.social-icons a:hover {
  background-color: #611921;
}

.send{
  margin:3em 0;
}
.info li{
  font-size: 14px;
  
}

/* Tema verde - #aecb37 / #004d47 */
.tema-verde,
.tema-verde .contacto h2 {
  background-color: #aecb37;
}
.tema-verde header {border-bottom: 10px solid #aecb37;}
.tema-verde .info {border-top: 10px solid #aecb37;}
.tema-verde h3 {color: #aecb37;}
.tema-verde .contacto h2:before {
  content: url(../images/contacto-verde.png);
}
.tema-verde h1,
.tema-verde .contacto h2,
.tema-verde footer {
  color: #004d47;
}
.tema-verde .social-icons a,
.tema-verde button,
.tema-verde input.button {
  background-color: #004d47;
}
.tema-verde button:hover,
.tema-verde input.button:hover,
.tema-verde .social-icons a:hover {
  background-color: #00998E;
}
.tema-verde .footer-info span{background: url(../images/logo-completo-footer-verde.png) no-repeat center;}

  h2.medium {
  color: #b1c900;
  font-size: 18px;

}

h1.small {
  font-size: 20px;
  margin: 0.67em 0;
  line-height: 20px;
}
  ul li.listado {
  border-bottom: 1px dashed #b8b8b8;
  color: #004d47;
  font-size: 16px;
  list-style:none;
  margin-left: 40px;
  padding: 5px 0 15px 0;
  position: relative;
  text-decoration: none;
}

ul li.listado {
margin: 0 !important;
}

ul li.listado h2 {
  color: #004d47;
  font-size: 25px;
  font-style: italic;
  font-weight: 700;
}

ul li.listado h3 {
  font-size: 0.9em;
  margin: 2px 0;
}

ul li.listado span {
  font-size: 12px !important;
  font-weight: normal;
}

/* Responsive */
@media screen and (min-width: 480px) {
  body {
    font-size: 15px;
  }
  h1 { width: 66%;}
  h1.long-title { width: 100%;}
  .header-logo {
    float: left;
  }
  .social-icons {
    float: right;
    margin: 0;
  }
  .social-icons li {
    margin: 7px 0 7px 10px;
  }
  .info {
    padding: 1.8em 2.5em 0.8em 2.5em;
    margin-bottom:20px;
  }
  .contacto h2::before {
    bottom: -2px;
  }
  

}

@media screen and (min-width: 960px){
  header {
    /* Shadow */
    -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.4);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.4);
  }
  .wrap { max-width: 960px;padding: 10px;}
  .hero-img {
    margin: 0 auto;
    max-width: 1400px;
    border-left: 1px solid rgba(255,255,255,.6);
    border-right: 1px solid rgba(255,255,255,.6);
  }
  /* Banners */

  .hero-comunicacion {background: url(../images/hero/comunicacion.jpg) no-repeat center top;}
  .hero-educacion {background: url(../images/hero/educacion.jpg) no-repeat center top;}
  .hero-derecho {background: url(../images/hero/derecho.jpg) no-repeat center top;}
  .hero-economia {background: url(../images/hero/economia.jpg) no-repeat center top;}
  .hero-administrativas {background: url(../images/hero/administrativas.jpg) no-repeat center top;}
  .hero-ingenieria {background: url(../images/hero/ingenieria.jpg) no-repeat center top;}
  .hero-psicologia {background: url(../images/hero/psicologia.jpg) no-repeat center top;}
  
  .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: 0.7em 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: 11px;
  }
  .footer-info {
    float: right;
    width: 280px;
    margin: 2em 0;
  }
  /* Fix padding bottom */
  .fix-bottom {
  position: absolute;
  top: 25%;
  left: 0;
  padding-bottom: 40px;
  z-index: 999;
}
  
    .fix-bottom-large {
    position: absolute;
    top: 40%;
    left: 0;
    padding-bottom: 40px;
  }
h5 {
  color: #b1c900;
  font-size: 11px;
  font-weight: normal;
  text-align: center;
}
  
  .dark {
  background: #004d47 url("../images/hero-dark-shadow.png") repeat-y scroll center center;
}
}