.statistic {
      text-align: center;
      padding: 20px;
    }

#stat-left {
      border-right: 1px solid #ccc;
    }


    .statistic p {
      font-size: 12px;
    }

    .statistic h1 {
      font-size: 54px; 
    }

html body, a, p, span, input[type="text"] {
    font-family: 'Arial', serif;
}

header {
    border-bottom: 0px solid #fff;
}

.collection-title a:link {
    color: #fff;
}

#content {
    max-width: 1600px;
    margin-top: 4em;
}


h1, h2,  h3, h4, h5, h6, {
    font-family: 'Vollkorn';serif;
    color: #323232;
    
}

body a {
    color: #A51008;
}

.blocks h2 {
    width: 100%;
    text-align: center;
    color: #323232;
} 
/* Navegación*/ 

header nav>ul>li>ul li:before {
color: #fff;
}

nav#menu  a {
    color: #fff;
}

/* Cajon de búsqueda principal*/ 
.advanced {
    position: relative;
    height: 400px;
    background-size: cover;
    background-color: #8F8F8F;
    border-radius: 12px;
    box-shadow:
        8px 8px 16px rgb(165 177 198 / 80%),
        -8px -8px 16px rgb(255 255 255 / 80%);
}

.advanced .info-busqueda {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 2px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
}
.advanced .info-busqueda p {
    padding: 10px;
    margin: 0;
    text-align: center;
    font-size: 16px;
}
.advanced .busqadv {
    position: relative;
    margin: 0 auto;
    top: 40%;
    width: 20%;
    text-align: center;
}

.advanced .block-search {
    position: relative;
    margin: 0 auto;
    top: 40%;
    width: 55%;
    text-align: center;
}

#texto_adv a {
    color: white;
    border-bottom: 2px solid white;
}

.advanced .block-search input[type="text"] {
    width: 100%;
    font-size: 25px;
    height: 70px
}

/*#search-form button[type="submit"]::before {
    top: 6px;
    content: "\f002";
    font-family: "Font Awesome 5 Free";
}*/

#search-form button[type="submit"] {
    background-color: #fff;
    color: #002856;
    margin-left: -5px;
    border: none;
    text-indent: -9999px;
    position: relative;
}

#search-form input[type="text"]:focus {
    outline: 0px #ffffff;
    border: none;
}

form#search-form {
    border: 1px solid #fff;
    border-radius: 12px;
    margin: 0 12px 0 0;
    height: auto;
    overflow: hidden;
    display: flex;
}

#search-form button, #menu-button {
    border: 0px solid #fff;
    border-radius: 2px;
   /* width: 36px;*/
    height: auto;
    text-align: center;
    font-size: 18px;
}

/* Colecciones Populares*/ 
/*.colecciones-populares  {
    width: 909px;
    height: 330px;
    display: flex;
    flex-direction: row;
}*/
.colecciones-populares  .collection-item {
    width: 290px;
    height: 290px;
    cursor: pointer;
    background-position: center;
    background-size:100% 100%;
    transition:background-size 1s ease;
    margin: 10px;
    border-radius: 12px;    
    box-shadow:
        8px 8px 16px rgb(165 177 198 / 80%);
 }

.colecciones-populares  .collection-item:hover {
    background-size: 120% 120%;
}
.collection-title p {
    text-align: -webkit-center;
    text-align: center;
    font-size: 25px;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 4px;
    border-radius: 12px;
}

.collection-title a:visited {
    color: #fff;
}

.collection-title.p a {
    color: #fff;
}

.collection-title a {
    color: #fff;
    width: 100%;
    height: 100%;
    display: block;
}

.collection-title a:hover {
    color: #fff;
    font-weight: bold;
}

.colecciones-populares  .collection-item .collection-title {
     margin: 0 auto;
     position: relative;
     top: 45%;
}

.enc-colecciones-populares {
     padding-top: 5em;
}

/* Digitalizacion */

.digitalizacion h3 {
     color: #fff;
     text-align: center;
     text-transform: uppercase;
     margin: 2rem 0;
}

.digitalizacion p {
     padding: 0 6rem;
}
.digitalizacion {
    background-color: #002856;
    overflow: hidden;
    line-height: 30px;
    margin-top: 6em;
    border-radius: 12px;    
    box-shadow:
        8px 8px 16px rgb(165 177 198 / 80%),
        -8px -8px 16px rgb(255 255 255 / 80%);
}

.digitalizacion a {
     color: #A51008;
    font-size: 18px;
   border-bottom: 2px solid #002856;
}
.digitalizacion p {
     color: #ffffff;
}


/* Visualizador de Pdf   */
.resource.show .media-list .resource-name {
background-color: #6F6F6F;
}

a.resource-link  {
color: white;
}
.resource.show .media-list .resource-link {
margin: 0 0 0;
}
.resource.show .media-list {
margin: 0 0 0;
position: relative;
}
/* Navegacion*/
/* Header */
header:before {
    background-color: #002856;
}
header {
    padding: 0px 24px;
    margin-bottom: 5px;
}
/* Botones de busqueda ynavegación*/
input[type="submit"], button, .button  {
        background-color: #002856;
}
#search-form input[type="text"] {
    background-color: white;
}
nav#menu {
    background-color: #fff;
}
nav#menu a{
    color: #002856;
    font-weight: bold;
}

header nav>ul>li {
    border-bottom: 3px solid #A51008;
}

a.previous-item.btn.btn-primary {
    background-color: #002856;
    border-color: #002856;
    border-radius: 12px;
    min-width: 150px;
    color: #fff;
}

a.next-item.btn.btn-danger {
    background-color: #A51008;
    border-color: #A51008;
    border-radius: 12px;
    min-width: 150px;
    color: #fff;
}

/* Botones */
.site-page-pagination a {
    /*background-color: #002856;*/
    border-radius: 12px;
    min-width: 145px;
    margin-left:10px;
    padding: 10px;
    box-shadow: 8px 8px 16px rgb(165 177 198 / 80%), -8px -8px 16px rgb(255 255 255 / 80%);
}

.site-page-pagination a:active  {
  background-color: ##19507B;
  box-shadow: 0 5px #666;
  transform: translateY(2px);
}

a.advanced-search {
    /*background-color: #002856;*/
}
.sub-menu a {
    /*background-color: #002856;*/
    border-radius: 12px;
    margin-right: 8px;
    /*box-shadow: 6px 6px 12px rgb(165 177 198 / 80%), -6px -6px 12px rgb(255 255 255 / 80%);*/
    margin-bottom: 20px;
}
.filter-value {
    background-color: #002856;
}

.resource.show #content>h2+h3 {
    /*background-color: #002856;*/
}
/* Footer */

footer {
    background-color: #002856;
    max-width: 100%;
    padding: 12px;
}

.footer_div a {
    color: #ffffff;
}
.footer_div p {
    color: #ffffff;
    margin-bottom: 2px;
}

footer  h5 {
    color:#fff;
    border-bottom: 2px solid #A51008;
}

.fa-facebook-official {
     color:#fff;
     margin: 1px 8px 1px 8px;
}
.fa-twitter-square {
     color:#fff;
     margin: 1px 8px 1px 8px;
}
.fa-envelope {
     color:#fff;
     margin: 1px 8px 1px 8px;
}
.fa-youtube {
     color:#fff;
     margin: 1px 8px 1px 8px;
}
.fa-whatsapp {
     color:#fff;
     margin: 1px 8px 1px 8px;
}
.fa-envelope{
     color:#fff;
     margin: 1px 8px 1px 8px;
}
/* Barra de usuario */
#user-bar {
    background-color: #002856;
    color: #A51008;
    padding: 5px 24px;
}

#user-bar li a {
    color: #fff;
}

#user-bar .logout, #user-bar .login {
    background-color: #A51008;
}
/* Caja de búsqueda*/
#search-form input[type="text"] {
    color: black;
}

/*Color del medio*/
span.resource-name {
color: white;
font-style: italic;
}
a.resource-link {
text-decoration: none;
}

/*Item*/

.resource.show .property h4, #linked-resources>h4 {
      font-weight: bold;
}

/*  Carrusel */

div.jcarousel-wrapper {
    border-radius: 12px;    
    box-shadow:
        8px 8px 16px rgb(165 177 198 / 80%),
        -8px -8px 16px rgb(255 255 255 / 80%);
}

.jcarousel img {
    width: 290px !important;
    border-radius: 12px;    
    box-shadow:
        4px 4px 8px rgb(165 177 198 / 30%);
    margin: 8px;
}

.jcarousel-pagination a {
    height: 20px;
    width: 20px;
    background: linear-gradient(225deg, #f0f0f0, #cacaca);
    box-shadow: 
        -12px 12px 24px #3b3b3b,
        12px -12px 24px #ffffff;
}

/*Lista de items colecciones*/

ul.resource-list .resource img {
    border-radius: 10px;    
    box-shadow:
        8px 8px 16px rgb(165 177 198 / 30%);
    margin-right: 25px
} 

.resource.show .media-list img {
    border-radius: 5px;    
    box-shadow:
        8px 8px 16px rgb(165 177 198 / 30%);
}

.resource.show .media-list .resource-name {
    border-radius: 5px;
    font-weight: bold;    
    box-shadow:
        8px 8px 16px rgb(165 177 198 / 30%);
}  

/* Formulario de ingreso */


.site-login {
    box-shadow: 8px 8px 16px rgb(165 177 198 / 80%), -8px -8px 16px rgb(255 255 255 / 80%);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    display: inline-block;
}
.site-login h1 {
    color: #002856;
}

.site-login .field {
    display: inline;
}

.site-login .field .field-meta {
    width: 100%;
    text-align: center;
    padding: 8px;
    color: #868e96;
}

.site-login .field .inputs {
    width: auto;
    text-align: center;
}

.site-login input[type="password"], input[type="email"] {
    border: 1px solid #dee2e6;
    border-radius: 12px;
}

.site-login input[type="submit"] {
    background-color: #002856;
    margin: auto;
    margin-top: 5px;
    border-radius: 12px;
    width: 100%;
    color: #fff
}

.login-background {
   background-image: url(https://biblioteca.ucuenca.edu.ec/digital/files/images/libro_patrimonial.png);
   background-repeat: no-repeat;
   background-position: 340px;
   background-size: 65%;
}

/* Breadcrumbs */
nav.breadcrumbs {
    border-radius: 12px;
}

.breadcrumbs {
margin: 30px 0 15px
}
span.user-id {
    font-weight: bold;
    color: #efefef;
}

/* Selection */

span.resource-name {
    margin-left: 10px;
    background-color: #6F6F6F;
    border-radius: 12px;
    padding: 5px;
}

.selection-update.selected {
    color: gray;
}

div.selection {
   margin-top: 2em;
}
.selection-update.unselected {
    color: #ffffff;
}

a.selection-list-toggle:link {
   margin-top: 2em;
   font-weight:bold;
   color:#262626;
}

/*Dashboard*/
.guest-widget {
    border-radius: 12px;
    box-shadow:
        8px 8px 16px rgb(165 177 198 / 80%),
        -8px -8px 16px rgb(255 255 255 / 80%);
    padding: 12px;
    max-width: 320px;
    margin: 1em;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    border-top: 8px solid;
    border-image: -webkit-linear-gradient(left, #002856, #075cbf) 1 10;   
}

.user-dashboard {
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;    
}

.dashboard-widgets {
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
}
/* Formulario de solicitud*/ 

div.contact-us-block  {
    background-color: #002856;
    overflow: hidden;
    line-height: 30px;
    margin-top: 6em;
    margin-bottom: 2em;
    border-radius: 12px;    
    box-shadow:
        8px 8px 16px rgb(165 177 198 / 80%),
        -8px -8px 16px rgb(255 255 255 / 80%);
}

div.contact-us-block h2  {
     color: #fff;
     text-align: center;
     text-transform: uppercase;
     margin: 1rem 0;
}

input#subject {
    border-radius: 12px;    
    width: 105%;
}

textarea#message{
    border-radius: 12px;    
    width: 105%;
}

form#contact-us.contact-form label {
     color: #fff;
     text-align: center;
}
div#form-solicitud {
     color: #fff;
     font-size: 16px;
     padding: 0 2rem;
}

div#form-solicitud p{
     margin-bottom: 0 ;
}
form#contact-us.contact-form {
    display: inline-block;
    padding: 0 2rem;
    width: 100%;
    text-align: end;
    margin-top: 10px;
}

form#contact-us.contact-form .field .field-meta {
    width: 10%;
}
form#contact-us.contact-form .field {
    margin: 5px 0;
}

form#contact-us.contact-form #submit {
    margin: 5px auto;
    background-color: #A31008;
    border-radius: 12px;
    color: #fff;
}

.sub-menu li {
border-right: 2px solid #A51008;
}

.sub-menu li:first-of-type {
border-right: 2px solid #A51008;
}

body.resource #content>h2:first-of-type+h3 {
font-size: 20px;
margin: 0px 0 30px;
}
span.title {
border-bottom: 2px solid #A51008;
}

a.jcarousel-control-prev, .jcarousel-control-next {
background: #fff;
}

#search form input[type="text"] {
border: none;
}

#search {
    border: 1px solid #ccc;
    border-radius: 12px;
    margin-top: 5px;
    margin-right: 5px;
    top: 5%;
}


ul.navigation {
    justify-content: flex-end;
    letter-spacing: 2px;
    font-size: 14px;
}

header nav ul.navigation>li:not(:last-child) {
    margin-right: 30px;
}

.filter-value {
    background-color: #fff;
}

header>h1 {
    margin: 5px auto -10px auto;
}

div.block.item-set-showcase {
    max-width: 620px;
}

div.item-set.resource {
    display: inline-grid;
    border-radius: 12px;    
    box-shadow:
        8px 8px 16px rgb(165 177 198 / 80%),
        -8px -8px 16px rgb(255 255 255 / 80%);
  padding: 20px;
  margin-top: 10px;
}

div.item-set.resource a {
    font-size: x-large;
    text-align: center;
}


   


    .container-cta {
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative; /* Importante para que el div CTA se posicione correctamente */
      top: -30px;
    }

    .background-div {
      height: 100%; /* Altura completa */
    }

    .cta-container {
      width: 600px; /* Longitud del CTA */
      padding: 20px; /* Espaciado interno */
      text-align: center; /* Texto centrado */
      background-color: #fff; /* Color de fondo del CTA */
      z-index: 2; /* Asegura que el CTA esté por encima del otro div */
      position: relative; /* Importante para que el z-index funcione */
    }

   .cta-container a {
      background-color: white; /* Color de fondo blanco */
      border-left: 2px solid black; /* Borde izquierdo negro */
      border-right: 2px solid black; /* Borde derecho negro */
      border-top: 0px ; 
      border-bottom: 0px ; 
      font-weight: bold;
      padding-left: 30px;
      padding-right: 30px;
      color: black;
    }

.item-showcase {
     border-top: 0px solid #dfdfdf;
    border-bottom: 0px solid #dfdfdf;
}

.block h2 {
     font-weight: 600;
}

#patrimonial  {
     height: 320px;
}

#patrimonial :hover {
  background-size: 110%; /* Aumenta el tamaño de la imagen de fondo al 110% */
}

#texto-patrimonial {
    position: relative;
    top: 150px;
    width: fit-content;
}

#texto-patrimonial p {
    color: grey;
}

#texto-patrimonial h2 {
    text-align: left;
}

h5 {
    font-family: 'Playfair', serif;
}

.media-embeds  {
     float: right;
    margin: 0 20px 20px 20px;
    padding-left: 30px;
    border-left: 5px solid #ccc;
    height: 350px;
      }

.media-embeds  img{
     height: 300px;
      }

.property{
     max-width: 850px;
     padding: 0px 15px 0px 25px;
      }


.clearfix::after {
     content: "";
     display: table;
     clear: both;
      }

.media-embeds::after{
    content: "Descarga el documento  ⬆️";
    color: #002850; /* Estilo opcional */
    font-weight: bold; /* Estilo opcional */
}


@media screen and (max-width: 778px) {
      #search {
        position: relative; /* Cambia a posición relativa en dispositivos móviles */
        top: auto; /* Reinicia la posición vertical */
        left: auto; /* Reinicia la posición horizontal */
        transform: none; /* Reinicia la transformación */
        margin-top: 20px; /* Añade un poco de margen superior */
        margin-right: 50px
      }
}


