html, body {
  height: 100%;
}

body {
  padding: 0;
  background-color: #eee;  
}

label {
  font-weight: bold;
}

h2 {
  text-align: center;
  padding: 20px;
}

h4 {
  border-style: solid;
  border-width: 0 0 0 8px;
  border-color: #34a;
  padding: 10px;  
  margin-top: 20px;
  margin-bottom: 20px;
}

a[id] {
  position: absolute;
  left: 0;
  top: -100px;
}

#base {
  min-height: calc(100% - 90px);
}

#cabecera {
  background-color: #fff;
}

#cabecera {
  min-height: 90px;
}

#logo {
  height: 70px;
  margin-right: 20px;
}

#menu {
  padding: 10px 0;
  color: #1d539B;
}

#menu a.nav-link {
  color: #1d539B;
  font-weight: bold;
}

#contenido img.foto {
  width: 100%;
}

#contenido .seccion:nth-child(even) {
  background-color: #f8f8f8;
}

#banner-rotativo {
  text-align: center;
}

#banner-rotativo .carousel-item img {
  height: 450px;
  object-fit: cover;
}

#banner-rotativo .carousel-control-prev-icon,
#banner-rotativo .carousel-control-next-icon {
  height: 3em;
  width: 3em;
  outline: black;
  background-size: 100%, 100%;
}

#banner-rotativo .carousel-caption {
  background-color: rgba(0, 0, 0, 0.4);
  width: 100%;
  margin: 0;
  left: 0;
  bottom: 0;
  text-align: center;
  padding-bottom: 40px;
}

#noticias {
  margin-top: 10px;
  margin-bottom: 10px;
}

#noticias .card {
  margin-top: 10px;
  margin-bottom: 10px;  
}

#noticias .card-header {
  background-color: #92278f;
  color: #fff;
}

#pie {
  clear: both;
  color: #aaa;
  font-size: .9em;
  padding: 30px 0 0 0;
  text-align: left;
}

#pie h6 {
  color: #ddd;
}

#pie a {
  color: #aaa;
}

#pie .separador {
  border-width:  0 0 1px 0;
  border-style: solid;
  border-color: #666;
  margin-bottom: 10px;
}

#pie input, #pie textarea {
  background-color: #ddd;
}

#copyright {
  text-align: center;
  background-color: #222;
  color: #aaa;
  margin: -30px 0 0 0;
  padding: 0;
}

#copyright p {
  line-height: 40px;
  vertical-align: middle;
  margin: 0;
}

.minimo {
  width: 1px;
}

.redes-sociales {
  margin-bottom: 20px;
  white-space: nowrap;
}

.redes-sociales i {
  font-size: 2em;
  margin: 0 8px 0 0;
  color: #ddd;
}

.scroll-arriba {
  width: 100px; 
  height: 130px;
  padding: 10px; 
  text-align: center; 
  font-weight: bold;
  font-size: 1.7em;
  color: #444;
  text-decoration: none;
  position: fixed;
  bottom: 0px;
  right: 5px;
}

.scroll-arriba i:hover {
  color: #fff;
}

.seccion{
  padding-top: 30px;
  padding-bottom: 30px;
}

.lista li {
  margin-bottom: 15px;
}

.lista li i {
  color: #359;
}

.ancla {
  position: absolute;
  left: 0;
  top: 20px;
}

.container, .container-fluid {
  position: relative;
}

.card-deck {
  text-align: center;
}

.card-header {
  text-align: center;
}

.card-body img {
  width: 80px;
  margin-bottom: 10px;
}

.card ul {
  padding: 0;
  text-align: left;
}

.data-fiscal {
  max-height: 105px;
  border: none;
  float: right;
}

.contacto {
  margin-top: 10px;
}

@media (min-width: 576px) {
  
}

@media (min-width: 768px) {
  #pie {
    text-align: left;
  }

  #pie .separador {
    border-width: 0 1px 0 0;
    border-style: solid;
    border-color: #555;
    padding-right: 10px;
    height: 100%;
  }

  #contenido img.foto {
    width: 400px;
  }

  .data-fiscal {
    position: absolute;
    left: 15px;
    bottom: 0;
  }

  .contacto {
    margin-top: 0;
  }
}

@media (min-width: 992px) {
  #base {
    padding-top: 96px;
  }

  #menu {
    margin: 0;
    padding: 0;
    border: none;
  }

  #menu a.nav-link {
    color: #1d539B;
  }

  #contenido img.foto {
    width: 400px;
  }

  #menu .navbar-nav > li {
    padding-left: 30px;
    padding-right: 30px;
  }

  .ancla {
    position: absolute;
    left: 0;
    top: -80px;
  }  
}

@media (min-width: 1200px) {
  #menu {
    font-size: 1em;
  }

  #contenido img.foto {
    width: 400px;
  }
}

@media (max-width: 992px) {
  #cabecera {
    position: static !important;
  }
}