/*
 *
 * AMV - NTCanarias
 * ntcanarias.com
 *
 * DEHESA
 * Repositorio institucional UEx
 *
 */


/*

  Colores institucionales:

  Verde: #00B18B
  Amarillo: #E9AE0D

*/

body { color: #666; }

a:link, a:visited { color: #666; text-decoration: none; }
a:hover { color: #00B18B; text-decoration: none;}

a.btn-primary:link, a.btn-primary:visited { color: #f0f0f0; text-decoration: none; margin: 5px; }
a.btn-primary:hover { color: #fff; text-decoration: none; }

a.btn-success:link, a.btn-success:visited { color: #f0f0f0; text-decoration: none; margin: 5px; }
a.btn-success:hover { color: #fff; text-decoration: none; }


.mt-5  { margin-top: 5px; }
.mt-15 { margin-top: 15px; }
.mt-25 { margin-top: 25px; }
.mt-50 { margin-top: 50px; }
.mb-5  { margin-bottom: 5px; }
.mb-15 { margin-bottom: 15px; }
.mb-25 { margin-bottom: 25px; }
.mb-50 { margin-bottom: 50px; }
.ml-5  { margin-left: 5px; }
.ml-15 { margin-left: 15px; }
.ml-25 { margin-left: 25px; }
.ml-50 { margin-left: 50px; }
.mr-5  { margin-right: 5px; }
.mr-15 { margin-right: 15px; }
.mr-25 { margin-right: 25px; }
.mr-50 { margin-right: 50px; }
.pt-5  { padding-top: 5px; }
.pt-15 { padding-top: 15px; }
.pt-25 { padding-top: 25px; }
.pt-50 { padding-top: 50px; }
.pb-5  { padding-bottom: 5px; }
.pb-15 { padding-bottom: 15px; }
.pb-25 { padding-bottom: 25px; }
.pb-50 { padding-bottom: 50px; }

.btn-primary {
  background-image: -webkit-gradient(linear,left 0,left 100%,from(#00B18B),to(#04866a));
  background-image: -webkit-linear-gradient(top,#00B18B,0%,#04866a,100%);
  background-image: -moz-linear-gradient(top,#00B18B 0,#04866a 100%);
  background-image: linear-gradient(to bottom,#00B18B 0,#04866a 100%);
  background-repeat: repeat-x;
  border-color: #00B18B;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff00B18B',endColorstr='#ff04866a',GradientType=0);
}
.btn-primary:hover { border-color: #04866a; }

.texto-centrado { text-align: center; }
.texto-verde { color: #00B18B !important; }

.flota-izquierda { float: left; }
.flota-derecha { float: right; }

.aviso_ok {
  width: 100%;
  background-color: #00B18B;
  color: white;
  text-align: center;
  padding: 5px 0;
  border-radius: 4px;
  margin: 50px 0;
  font-size: 1.25em;
}

.panel-primary { border-color: #00B18B; }
.panel-primary>.panel-heading {
    background-image: -webkit-gradient(linear,left 0,left 100%,from(#00B18B),to(#04866a));
    background-image: -webkit-linear-gradient(top,#00B18B,0%,#04866a,100%);
    background-image: -moz-linear-gradient(top,#00B18B 0,#04866a 100%);
    background-image: linear-gradient(to bottom,#00B18B 0,#04866a 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff00B18B',endColorstr='#ff04866a',GradientType=0);
}

.panel-info { border-color: #c0e2b2; }
.panel-info>.panel-heading {
    background-image: -webkit-gradient(linear,left 0,left 100%,from(#c0e2b2),to(#dff0d8));
    background-image: -webkit-linear-gradient(top,#c0e2b2,0%,#dff0d8,100%);
    background-image: -moz-linear-gradient(top,#c0e2b2 0,#dff0d8 100%);
    background-image: linear-gradient(to bottom,#c0e2b2 0,#dff0d8 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc0e2b2',endColorstr='#ffdff0d8',GradientType=0);
    color: #555;
}

.alert-info {
    background-image: -webkit-gradient(linear,left 0,left 100%,from(#eacf87),to(#eacf87));
    background-image: -webkit-linear-gradient(top,#eacf87,0%,#eacf87,100%);
    background-image: -moz-linear-gradient(top,#eacf87 0,#eacf87 100%);
    background-image: linear-gradient(to bottom,#eacf87 0,#eacf87 100%);
    background-repeat: repeat-x;
    border-color: #eacf87;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffeacf87',endColorstr='#ffeacf87',GradientType=0);
    color: #555;
}

code { background-color: unset; }


/* CABECERA */

.navbar{
  -webkit-box-shadow: unset;
  box-shadow: unset;
}
.navbar-inverse {
  background-image: none;
  background-color: white;
  margin-bottom: 0;
  border-bottom: 0;
}
.navbar-inverse .navbar-brand, .navbar-inverse .navbar-nav>li>a {
    text-shadow: unset;
}
.navbar-nav {
    float: left;
    margin: 10px 10px 0 0;
}
.navbar-collapse .navbar-nav.navbar-right:last-child {
  margin-top: 10px;
}
.navbar-inverse .navbar-nav>li>a { color: #00B18B; }
.navbar-inverse .navbar-nav>.open>a, .navbar-inverse .navbar-nav>.open>a:hover, .navbar-inverse .navbar-nav>.open>a:focus {
    color: #fff;
    background-color: #00B18B;
}
.navbar-inverse .navbar-nav>li>a:hover { color: #00B18B; }
.dropdown-menu>li>a:hover { background: #00B18B; }


/* BREADCRUMB */

.location-bar {
  position: fixed;
  width: 100%;
  z-index: 999;
}

.breadcrumb {
  background: #E9AE0D;
  border-radius: 0;
  font-weight: 600;
  text-align: center;
}

ol.breadcrumb li {
    font-style: normal;
}


/* IDIOMAS */

.banderas {
  margin: 30px 0 0 0;
  float: right;
}

.idioma img {
  width: 32px;
}


/* BARRA BUSQUEDA */

.barra-busqueda {
    width: 80%;
    margin: 0 10%;
}

.barra-busqueda {
    width: 80%;
    margin: 1% 10%;
}

.quebuscar {
    width: 98%!important;
    border: 1px solid white !important;
    border-radius: 4px!important;
    height: 40px;
    border: 0;
    font-size: 20px;
}

.dondebuscar {
    width: 34%;
    border: 1px solid #00B18B !important;
    border-radius: 4px!important;
    margin: 0 1%;
    border: 0;
}

.dondebuscar .opciones {
    width: 100%;
    border-radius: 0;
    -webkit-appearance: none;
    border: 0;
    height: 40px;
    font-size: 17px;
    text-align: left;
    background: #00B18B url(../../image/caret_down.png) no-repeat 90% 70%;
    color: white;
    padding: 0 20px;
}

.lupa button {
    height: 40px;
    background: #E9AE0D;
    border-color: #E9AE0D;
    border-radius: 4px !important;
    width: 80px;
    font-size: 20px;
    margin: 0 12%;
}

.lupa button:hover {
    background: #00B18B;
}

/* PORTADA */

a.comunidad {
  text-align: center;
  padding: 15px;
  margin: 1%;
  border-radius: 6px;
  height: 155px;
  width: 31%;
  float: left;
}

a.comunidad:link, a.comunidad:visited {
  background-color: #00B18B;
  color: white;
  text-decoration: none;
}

a.comunidad:hover {
  background-color: #E9AE0D;
  color: white;
  text-decoration: none;
}

h3.facets { display: none; }

.facetName {
  font-size: 18px;
  font-weight: bold;
  color: #00B18B;
}

ul.browse li { margin: 12px 0; }
ul.browse li a { font-size: 18px; }
ul.browse li a:hover { color: #00B18B; }

/*       Fade Bs-carousel       */
.fade-carousel {
    position: relative;
    height: 45vh;
    margin-top: -20px;
    margin-bottom: 25px;
}
.fade-carousel .carousel-inner .item {
    height: 45vh;
}
.fade-carousel .carousel-indicators > li {
    margin: 0 2px;
    background-color: #f39c12;
    border-color: #f39c12;
    opacity: .7;
}
.fade-carousel .carousel-indicators > li.active {
  width: 10px;
  height: 10px;
  opacity: 1;
}

/*          Hero Headers        */
.hero {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 1px 1px 0 rgba(0,0,0,.75);
      -webkit-transform: translate3d(-50%,-50%,0);
         -moz-transform: translate3d(-50%,-50%,0);
          -ms-transform: translate3d(-50%,-50%,0);
           -o-transform: translate3d(-50%,-50%,0);
              transform: translate3d(-50%,-50%,0);
}
.hero h1 {
    font-size: 3em;
    font-weight: bold;
    margin: 0;
    padding: 0;
}

.fade-carousel .carousel-inner .item .hero {
    opacity: 0;
    -webkit-transition: 2s all ease-in-out .1s;
       -moz-transition: 2s all ease-in-out .1s;
        -ms-transition: 2s all ease-in-out .1s;
         -o-transition: 2s all ease-in-out .1s;
            transition: 2s all ease-in-out .1s;
}
.fade-carousel .carousel-inner .item.active .hero {
    opacity: 1;
    -webkit-transition: 2s all ease-in-out .1s;
       -moz-transition: 2s all ease-in-out .1s;
        -ms-transition: 2s all ease-in-out .1s;
         -o-transition: 2s all ease-in-out .1s;
            transition: 2s all ease-in-out .1s;
}

/*            Overlay           */

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: #080d15;
    opacity: .3;
}

/*          Custom Buttons      */

.btn.btn-lg {padding: 10px 40px;}
.btn.btn-hero,
.btn.btn-hero:hover,
.btn.btn-hero:focus {
    color: #f5f5f5;
    background-color: #20a283;
    border-color: #20a283;
    outline: none;
    margin: 20px auto;
}

/*       Slides backgrounds     */

.fade-carousel .slides .slide-1,
.fade-carousel .slides .slide-2,
.fade-carousel .slides .slide-3,
.fade-carousel .slides .slide-4 {
  height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.fade-carousel .slides .slide-1 {
  background-image: url(../../image/fondo_antiguo.jpg);
}
.fade-carousel .slides .slide-2 {
  background-image: url(../../image/doctores.jpg);
}
.fade-carousel .slides .slide-3 {
  background-image: url(../../image/revistas.jpg);
}
.fade-carousel .slides .slide-4 {
  background-image: url(../../image/anuncio.jpg);
}
#slider a {
  color: #00B18B !important;
}

/* Portada Cuadros */

#cuadro1 h3, #cuadro2 h3, #cuadro3 h3, #cuadro5 h3 { color: #00B18B; }
#cuadro1 p, #cuadro2 p, #cuadro3 p, #cuadro5 p { padding: 10px 0; text-align: justify; font-size: 1.2em; }
#cuadro1 li, #cuadro2 li, #cuadro3 li, #cuadro5 li { font-size: 1.2em; }
#cuadro1 img, #cuadro2 img, #cuadro3 img, #cuadro5 img { width: 100%; height: auto; border-radius: 6px; }


/* Items recientes, vistos, descargados */

.caja-items {
  border: 1px solid #E9AE0D;
  border-radius: 6px;
  height: 450px;
  overflow-y: auto;
}

.caja-items h3 {
  background-color: #E9AE0D;
  color: white;
  padding: 10px;
  margin-top: 0;
}

.caja-items ul {
  list-style: none;
  padding: 0 10px;
}

.caja-items ul li {
  margin: 10px 0;
}

.caja-items span {
  background-color: #E9AE0D;
  color: white;
  padding: 2px 5px;
  border-radius: 6px;
}



/* CONTENIDO */

#content {
  padding-top: 25px;
}

#content div.portada {
  padding: 0;
  max-width: unset;
  margin-top: 109px;
}

#content div.no_es_portada {
  margin-top: 120px;
}


/* COMUNIDADES Y COLECCIONES */

h4.media-heading i {
  color: #00B18B;
  cursor: pointer;
}


/* BARRA LATERAL IZQUIERDA */

.navbar-form { padding: 0; }

.barra_lateral_izquierda h4 {
  background-color: #00B18B;
  color: white;
  padding: 5px 15px;
  border-radius: 4px;
  margin-top: 0;
}

.barra_lateral_izquierda .form-group {
  width: 77%;
}

#buscador-principal { margin-top: 0!important; }

.margenes-mobile {
	margin: 0 15px 0 0;
}

ul.browse.no_portada { padding: 0 0 0 30px; }
ul.browse.no_portada li { margin: 0 0 3px 0; }
ul.browse.no_portada li a { font-size: 14px; }


/* FICHA DEL ITEM */

#s1, #s2, #s3 { display: none; }

.btn-peq { padding: 1px !important; }

.metadataFieldLabel { font-weight: bold; }

.table thead>tr>th, .table tbody>tr>th, .table tfoot>tr>th, .table thead>tr>td, .table tbody>tr>td, .table tfoot>tr>td {
  vertical-align: middle;
}

.statistics_sidebar {
  display: none;
}


/* LISTADO AUTORIDADES */

img.autoridad { width: 20px; margin: 0 2px; }


/* PERFIL DEL USUARIO */

.profile-checkbox {
  width: 20px;
  height: 20px;
  margin: 6px 0 0 0 !important;
  color: #555;
  vertical-align: middle;
}


/* AUTOARCHIVO */

#edit_metadata { margin-top: 80px; }

#edit_metadata .container { position: fixed; margin-top: -120px; z-index: 9999!important; }


/* PIE */

footer {
  padding: 25px 0;
  border: none !important;
  background: #f0f0f0 !important;
}

#logospie { padding: 25px 0; }

#logospie img { height: 40px; margin: 0 5px; }



/* ADMINISTRACION */

.btn-guardar {
  width: 30%;
  margin: 25px 31%;
  background-color: #00B18B;
  color: white;
  text-align: center;
  padding: 5px 2%;
  border: none;
  border-radius: 4px;
  font-size: 1.25em;
}

.paginacion {
  padding: 3px 5px;
  text-decoration: none !important;
  border-radius: 4px;
}

.pag_activa {
  background-color: #00B18B;
  color: white;
}

table.investigadores {
  width: 100%;
}

table.investigadores th {
  padding: 5px;
  text-align: left;
  font-size: 1.25em;
  background: #555;
  color: white;
}

table.investigadores td {
  padding: 5px;
  text-align: left;
  font-size: 1.25em;
}

table.investigadores tr:nth-of-type(odd) {
    background-color: rgba(0,0,0,.05);
}

table.investigadores input {
  border: 1px solid #ccc;
  padding: 5px;
  text-align: center;
  font-size: 1.25em;
}

table.investigadores input[type=checkbox] {
  width: 24px;
  height: 24px;
}

#exinvestigador { width: 97% !important; }

#form-investigador .etiqueta {
  float:left;
  width: 23%;
  padding: 1%;
  font-size: 1.25em;
  font-weight: bold;
}
#form-investigador .valor {
  font-size: 1.25em;
  float:left;
  width: 73%;
  padding: 1%;
}
#form-investigador .valor input {
  border: 1px solid #ccc;
  padding: 5px;
  width: 100%;
  margin-top: -5px;
  color: #00B18B;
}
#form-investigador .valor input[type=checkbox] {
  width: 2%;
}
#form-investigador .valor textarea {
  border: 1px solid #ccc;
  padding: 5px;
  width: 100%;
  margin-top: -5px;
  color: #00B18B;
}

.ficha-rp-cabecera {
  width: 100%;
  border-top: 4px solid #00B18B;
  border-bottom: 4px solid #00B18B;
  height: 24em;
  background-color: #fcfcfc;
  padding: 4% 0;
}

.ficha-rp-foto {
  text-align: center;
}
.ficha-rp-nombre {
  margin: 4% 0 0 0;
  padding: 0;
}
.ficha-rp-puesto {
  margin: 0;
  padding: 0;
}

.ficha-rp-foto img {
  width: 80%;
  overflow: hidden;
  border-radius: 6px;
}

.ficha-rp-cabecera h1 {
  margin: 0;
}
.ficha-rp-cabecera h3 {
  margin: 1% 0 0 0;
  color: #999;
}

.ficha-rp-rraa {
    margin: 3% 0 0 -2%;
}

.ficha-rp-icono {
  width: 40px;
  margin: 0 10px 0 0;
}

.ficha-rp-datos {
  margin-top: 4%;
}

.ficha-rp-datos .etiqueta {
  font-weight: bold;
  text-align: right;
  padding: 1% 4% 0 0;
  font-size: 1.2em;
}
.ficha-rp-datos .valor {
  text-align: left;
  padding: 1%;
  font-size: 1.2em;
  text-align: justify;
}

.autocomplete { background-color: #00B18B; color: white; padding: 0; border: 1px solid #00B18B; z-index: 9999; }
.autocomplete ul { padding-left: 25px; }
.autocomplete li { background-color: #00B18B; margin: 5px 0; cursor: pointer; }
.autocomplete li:hover { background-color: #E9AE0D; }




/*          Media Queries       */

@media screen and (max-width: 1200px){
  .logo_bunex { width: 200px; }
  .logo_dehesa { width: 330px; }
  .fade-carousel {
      height: 40vh;
  }
  .fade-carousel .carousel-inner .item {
      height: 40vh;
  }
}

@media (max-width: 980px) {
  .container {
    max-width: unset;
  }
  .fade-carousel {
      height: 35vh;
  }
  .fade-carousel .carousel-inner .item {
      height: 35vh;
  }
  .barra_lateral_izquierda .navbar-form { width: 100%; }
}

@media (max-width: 860px) {
  .logo_bunex { width: 150px; }
  .logo_dehesa { width: 250px; }
  .navbar-nav {
    float: left;
    margin: 5px 0px 0 30px;
  }
  .banderas {
    margin: 20px 0 0 0;
    float: right;
  }
  .fade-carousel {
      height: 30vh;
  }
  .fade-carousel .carousel-inner .item {
      height: 30vh;
  }
}

@media (max-width: 768px) {
  .carousel { display: none; }
  .navbar-header {
    float: left;
  }
  .navbar-nav {
    float: left;
    margin: 10px 10px 0 5px;
  }
  .banderas {
    margin: 20px 0 0 0;
    float: right;
  }
  .margenes-mobile { margin: 0 0 0 15px; }
  .barra_lateral_izquierda .form-group { display: inline-block; }
}

@media screen and (min-width: 980px){
    .hero { width: 980px; }
}

@media screen and (max-width: 640px){
    .hero h1 { font-size: 4em; }
    #buscador-principal input { width: 89%; float: left; }
    #buscador-principal button { width: 10%; float: left; margin: -5px 0 0 1%; }
	.barra_lateral_izquierda .form-group { display: block; }
}

@media screen and (max-width: 480px){

  header { height: 120px; }
  h3 { font-size: 20px; }
  #content div.portada { margin-top: 0px; }
  #content div.no_es_portada { margin-top: 36px; }
  .logo_bunex { width: 150px; position: fixed; top: 60px; left: 10px; }
  .logo_dehesa { width: 230px; position: fixed; top: 60px; right: 5px; }
  .navbar-brand { padding: 10px; }
  .navbar-nav { margin: 0px 0px 0 -12px; }
  .banderas { margin: 5px -5px 0 0; }
  .location-bar { position: inherit; margin-top: 30px; }
  a.comunidad { width: 48%; }
  #comunidades-portada { margin-top: 25px; }
  .barra_lateral_izquierda { margin-top: -25px; }
  li.open { background: #00B18B; }
  .navbar-inverse .navbar-nav .open .dropdown-menu>li>a { color: #f0f0f0; }
  .barra-busqueda { width: 100%; margin: 1% 0 2% 0;}
  .dondebuscar { border: none!important; width: 50%; border-radius: none!important; }
  .dondebuscar .opciones { font-size: 14px; padding: 0 10px; border-radius: 4px; height: 30px; }
  .quebuscar { margin-top: -1px; height: 30px; font-size: 15px; }
  .lupa button { width: 30px; height: 30px; padding: 0; font-size: 15px; }
}
