html, body {
  height: 100%;
}

body {
  padding: 0;
  background-color: #eee;  
}

footer {

}

thead {

}

label {
  font-weight: bold;
}

#base {
  min-height: calc(100% - 312px);
  padding: 0;
  overflow: auto;  
}


#cabecera {
  background-image: url("../img/fondo-cabecera.png");
  background-repeat: repeat-x;
  background-color: #f8f8f8;
  border-bottom: solid 1px #72076f;
  margin-bottom: 20px;
}

#logo {
  height: 50px;
  margin-right: 20px;
}

#menu {
  margin: 8px 0 0 5px;
  width: 100%;
  padding: 10px;
  background-color: #f8f8f8 !important;
  color: #777;
  font-size: .95em;
}

#menu a.nav-link {
  color: #777;
}

#menu a.nav-link:hover,
#menu a.nav-link:focus {
  color: #000;
}

#menu .dropdown-toggle::after { 
  display: inline-block;
  position: absolute;
  border: none; 
}

#menu .dropdown-menu.show {
  display: inline-block;
}

#busqueda {
  width: 100%;
}

#busqueda button {
  background-color: #92278f;
  border-color: #72076f;
}

#busqueda input {
  background-color: #f5f5f5;
}

#contenido {
  margin-top: 25px;
}

#contenido ul li {
  margin-bottom: 10px;
}

#contenido a {
  color: #72076f; 
}

#contenido .comandos {
  margin-top: 35px;
  clear: both;
  display: block;
  overflow: hidden;
}

#contenido .comandos a {
  color: #aaa;
}

#contenido .comandos a:hover {
  color: #777;
}

#banner-rotativo {
  text-align: center;
}

#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-item {
  overflow: hidden;
}

#banner-rotativo .carousel-item img {
  width: 100%;
  height: 100%;
}

#intro {

}

#noticias {
  margin-top: 10px;
  margin-bottom: 10px;
}

#noticias .card {
  margin-top: 10px;
  margin-bottom: 10px;  
}

#noticias .card-header {
  background-color: #92278f;
  color: #fff;
}

#noticias .card h5 a {
  color: #000;
}

#noticias small {
  font-size: .7rem;
}

#noticias small a {
  font-size: .7rem;
}

#pie {
  clear: both;
  color: #aaa;
  font-size: .9em;
  padding: 30px 0 0 0;
  text-align: center;
  margin-top: 10px;
}

#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;
}

#copyright {
  text-align: center;
  background-color: #222;
  color: #aaa;
  margin: -30px 0 0 0;
  padding: 0;
  border-style: solid;
  border-width: 1px 0 0 0;
  border-color: #444;
}

#copyright p {
  line-height: 40px;
  vertical-align: middle;
  margin: 0;
}

.fastselect {
  
}

.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: 100px;
  padding: 10px; 
  text-align: center; 
  font-weight: bold;
  color: #444;
  text-decoration: none;
  position: fixed;
  bottom: 10px;
  right: 5px;
  display: none;
  z-index: 9999;
}

.scroll-arriba a:hover {
  color: #ccc;
}

.color-umaza {
  background-color: #92278f;
  color: #fff;
}

.borde-umaza {
  border-color: #72076f;
}

.detalle-noticia {
  margin: 20px 0;
  background-color: #fff;
  border: solid 1px #aaaa;
  border-radius: 5px;
  padding: 30px;
  overflow: hidden;
}

.ancla {
  display: block;
  position: relative;
  top: -150px;
  visibility: hidden;
}

/*
.detalle-noticia img {
  float: right;
  margin: 10px 0 25px 25px;
  max-width: 100%;

  border: solid 1px #555;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
/*

/*
.detalle-noticia img {
  float: left;
  margin: 0 25px 25px 0;
  border: solid 1px #555;
  max-width: 100%;
}
*/

.detalle-noticia h2 {
  margin-bottom: 5px;
}

.detalle-noticia .fecha-noticia {
  display: inline-block;
  font-size: .8rem;
}

.navbar-brand {
  font-size: 1rem;
}

.foto-listado {
  display: block;
  clear: both;
  width: 100%;
  margin: 15px 0;
}

.logo-iso {
  width: 100px;
  margin-bottom: 20px;
  margin-left: -5px;
}

@media (min-width: 576px) {
  .card-columns {
    column-count: 1;
  } 

  .card-deck .card {
    min-width: 100%;
  }  
}

@media (min-width: 768px) {
  #pie {
    text-align: left;
  }

  #pie .separador {
    border-width: 0 1px 0 0;
    border-style: solid;
    border-color: #555;
    height: 100%;
    padding-right: 10px;
  }

  .card-deck .card {
    min-width: 40%;
  }

  .foto-listado {
    display: block;
    float: right;
    width: 200px;
    margin: 0 0 10px 10px;
  }
}

@media (min-width: 993px) {
  #pie .logo-iso {
    position: absolute;
    width: 100px;
    bottom: 0px;
    right: 75px;
  }

  #base {
    padding-top: 75px;
  }
}

@media (min-width: 992px) {
  #menu {
    margin: 0;
    padding: 0;
    background-color: #92278f !important;
    border: none;
  }

  #menu a.nav-link {
    color: #ddd;
  }

  #menu a.nav-link:hover,
  #menu a.nav-link:focus {
    color: #fff;
  }

  #busqueda {
    width: 360px;
  }

  .card-deck .card {
    min-width: 29%;
  }  

  .navbar-brand {
    font-size: 1.5rem;
  }  
}

@media (min-width: 1200px) {
  #menu {
    font-size: 1em;
  }
}

@media (max-width: 992px) {
  #cabecera {
    position: static !important;
  }
}