/*
 * Header parity override for H-011.
 * Keep this file focused on snapshot-equivalent header rules only.
 */
header#header,
footer#footer {
  font-family: 'Quicksand', sans-serif;
  background-color: #03b8d6;
}

header#header #menus {
  background-color: #e8e8e8;
  width: 100%;
  top: 0;
  z-index: 1;
  position: static;
}

header#header #menus nav li a {
  font-weight: 700;
  color: #777;
  font-size: 15px;
  padding-top: 11px;
  padding-bottom: 11px;
}

header#header #menus.stuck {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 900;
  box-shadow: 0 4px 3px rgba(0, 0, 0, .5);
  background-color: #03b8d6;
}

header#header #menus.stuck nav li a {
  padding-top: 20px;
  padding-bottom: 20px;
  color: #fff;
}

header#header #menus.stuck nav li a:hover,
header#header #menus.stuck nav li a:focus,
header#header #menus.stuck nav li a:active {
  background-color: #0294a3;
}

header#header #menus.stuck nav li a.sublist {
  padding-top: 11px;
  padding-bottom: 11px;
  color: #777;
}

header#header #menus.stuck nav li a.sublist:hover,
header#header #menus.stuck nav li a.sublist:focus,
header#header #menus.stuck nav li a.sublist:active {
  background-color: #cfefff;
}

header#header #menus .dropdown:hover > .dropdown-menu,
header#header #menus .dropdown.open > .dropdown-menu {
  display: block;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  text-decoration: none;
  background-color: #cfefff;
}

.sticky-wrapper {
  width: 100%;
}

header#header #sitename a.name {
  color: #fff;
  display: inline-block;
  width: 300px;
  font-size: 30px;
  line-height: 30px;
  height: 90px;
  text-align: right;
  padding: 0;
  position: relative;
  top: 20px;
  right: 20px;
}

#unam a.unam {
  color: #fff;
  display: block;
  font-size: 22px;
  left: 20px;
  line-height: 25px;
  position: relative;
  top: 20px;
  width: 300px;
  margin-top: 0;
  text-decoration: none;
}

header#header #iconos {
  color: #777;
  background: #fff;
}

header#header #iconos ul {
  margin-right: 20px;
}

header#header #iconos ul li a {
  font-size: 18px;
  color: #777;
  padding: 3px 10px;
}

header#header #logos .container {
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 15px;
  padding-right: 15px;
  min-height: 0;
}

header#header #logos img {
  display: inline;
  max-height: none;
}

header#header #unam img,
header#header #sitename a.logo img {
  width: 85px;
  height: 110px;
}

.menu.nav.navbar-nav {
  float: left;
  margin: 0;
}

.menu.nav.navbar-nav > li {
  float: left;
}

.cch-nav-icons {
  display: block;
}

.cch-nav-icons > li {
  float: left;
}

.slider-wrapper.cch-hero-placeholder {
  height: auto !important;
  overflow: hidden !important;
  position: relative;
}

.slider-wrapper.cch-hero-placeholder #slider {
  height: auto !important;
  overflow: hidden !important;
}

.cch-front #portada {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.slider-wrapper.cch-hero-placeholder #slider img {
  height: auto !important;
  object-fit: contain;
}

.slider-wrapper.cch-hero-placeholder .nivo-controlNav {
  background: #e8e8e8;
  bottom: auto;
  left: auto;
  padding: 20px 0;
  position: static;
  right: auto;
  text-align: center;
  z-index: 25;
}

.slider-wrapper.cch-hero-placeholder .nivo-controlNav a {
  background-color: transparent;
  border: 2px solid #cecece;
  border-radius: 100%;
  display: inline-block;
  height: 22px;
  margin: 0 2px;
  width: 22px;
  cursor: pointer;
  text-indent: -9999px;
  overflow: hidden;
}

.slider-wrapper.cch-hero-placeholder .nivo-controlNav a.active {
  background-color: #cecece;
}

.slider-wrapper.cch-hero-placeholder .nivo-directionNav a {
  background: url('../images/nivo/arrows.png') no-repeat;
  border: 0;
  display: block;
  height: 30px;
  opacity: 1 !important;
  overflow: hidden;
  text-indent: -9999px;
  top: 45%;
  transition: all 200ms ease-in-out;
  width: 30px;
  z-index: 26;
}

.slider-wrapper.cch-hero-placeholder .nivo-directionNav .nivo-nextNav {
  background-position: -30px 0;
  right: 15px;
}

.slider-wrapper.cch-hero-placeholder .nivo-directionNav .nivo-prevNav {
  left: 15px;
}

@media only screen and (max-width: 767px) {
  header#header #sitename a.name {
    font-size: 26px;
  }

  .nav > li {
    text-align: center;
  }
}
