@import url('https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css');
/* @import url('/apn/css/Bootstrap/bootstrap.min.css'); */
@import url('/ipc/css/responsive.css');
/* Reseteo de estilos base */
@import url('/ipc/css/opac-search.css');
@import url('/ipc/css/opac-detail.css');

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;700&display=swap');
/* Founders Grotesk Light */
/* @font-face {
  font-family: 'Founders Grotesk';
  src: url('fonts/founders-grotesk-light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
} */



/* @font-face {
  font-family: "Gotham-Light";
  src: url("/udes/font/Gotham-Light.otf");
} */
:root {
    --color1: #312682;
    --color2: #58595B;
    --color3: #068284;
    --color4: #F04E23;
    --color5: #9D9D9C;
    --color6: #9D9D9C;
    --text: #000000;
    --trans: #1f4e5833;
    --opaco: #ffffff;
    --resaltador: #068284d3;

    --text_nav: #ffffff;
    --nav_bar: #312682;

    --blanco: #ffffff;
    --negro: #000000;
    --gris: #686868;
    --footer: #2b2b2b;
}


.btn {
    border: 0;
}

.main {
    /* padding: 0em 2em 1em 2em; */
    background-color: #ffffff !important;
}

.iframe_novedades {
    width: 100%;
    height: 20em;
}

.iframe_noticias {
    width: 100%;
    height: 36em;
}

.main a:hover {
    color: var(--color1);

}

.actions a,
.btn {
    color: var(--blanco) !important;
}

.main a {
    color: var(--color4);

}

#notloggedin,
#advsearch_form,
#userauthhome,
#library_info,
#results .main .container-fluid,

#opac-marcdetail .main .container-fluid,
#opac-isbddetail .main .container-fluid {
    padding: 0em 2em 1em 4em;
}

#opac-detail .main .container-fluid {
    padding: 0em 2em 1em 4em;
}


.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 2.5rem;
}

.hover-shadow_datos {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.datos {
    border: 1px solid var(--color1);
    color: var(--color1) !important;
}

.hover-shadow_datos:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--color1);
    /* border: .1em solid var(--color1)!important; */
}

.datos svg {
    fill: var(--color1);
}

.hover-shadow_revi {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.revi {
    border: 1px solid var(--color2);
    color: var(--color2) !important;
}

.hover-shadow_revi:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--color2);
    /* border: .1em solid var(--color1)!important; */
}


.hover-shadow_unired {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.unired {
    border: 1px solid var(--color1);
    color: var(--color1) !important;
}

.hover-shadow_unired:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--color1);
    /* border: .1em solid var(--color1)!important; */
}

.unired svg {
    fill: var(--color1);
}

/* ----- */

.hover-shadow_repo {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.repo {
    border: 1px solid var(--color3);
    color: var(--color3) !important;
}

.hover-shadow_repo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--color3);
    /* border: .1em solid var(--color1)!important; */
}

.card svg {
    object-fit: cover;
    width: 54%;
    padding-bottom: .5em;
}

#OpacMainUserBlock h1 {
    color: var(--nav_bar);
    font-weight: 600;
}

.main #notloggedin .row .col-lg-9,
.main #loggedin .row .col-lg-9 {
    -ms-flex: 0 0 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

.main a:hover {
    /* color: var(--negro); */

    text-decoration: none;
    /* font-weight: bold; */
}

/* img {
  object-fit: cover;
  width: 100%;
} */
/* .main a {
  color: var(--negro);
  text-decoration: none;
  background-color: transparent;
} */
a:hover {
    /* transform: scale(1.1);  */
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);  */
    /* color: var(--color2)!important; */
    /* font-weight:bolder ; */
    text-decoration: none;
}

.c-i {
    height: 30vh;
    min-height: 30vh;
}

#changelanguage {
    display: none;
}

body {
    font-family: 'Archivo';
    /* tu fuente */
    background-color: #ffffff !important;
}

.default_body {
    height: auto;
}

.btn,
.btn-primary,
#masthead_search {
    color: var(--blanco);
    background-color: var(--color4);
    /* font-weight: bold; */

}

#select_library {}


.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: var(--color1);
    border-color: solid 2px var(--blanco) !important;
    /* font-weight: bold; */
}

.btn-primary.focus,
.btn-primary:focus {
    color: #fff;
    background-color: var(--color1);
    border-color: var(--color1);
    box-shadow: 0 0 0 .2rem var(--color1);
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.col,
.col-1,
.col-10,
.col-11,
.col-12,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-auto,
.col-lg,
.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-auto,
.col-md,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-auto,
.col-sm,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-auto,
.col-xl,
.col-xl-1,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-auto {
    padding-right: 0;
    padding-left: 0;
}

.row {
    margin-right: 0;
    margin-left: 0;
}

.navbar {
    padding: 0;
    background: var(--color1);
    /* situa el contenido del nav a la derecha */
    justify-content: space-between !important;
}

.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show>.nav-link {
    font-weight: bold;
}

.navbar-light .navbar-nav .nav-link {
    color: #312682;
    font-weight: bold;
}

.navbar-brand {
    font-size: 1rem;
    color: var(--color1) !important;
    font-weight: bold;
}

.nav-link {
    padding: 0rem 1rem;
}

.navbar-expand .navbar-nav .nav-link {
    min-height: 45px;
    padding: .5em;
}

#members .search_history a {
    padding: .5em !important;
}

.dropdown-item:focus,
.dropdown-item:hover {
    color: var(--blanco) !important;
    text-decoration: none;
    background-color: var(--color1);
}

.myHeader {
    background: var(--opaco) !important;
    color: var(--blanco) !important;
}

.nav-item a,
.myHeader a {
    color: var(--text_nav);
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
    color: var(--negro);
}

.dropdown-item {
    color: var(--negro) !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--blanco);
}

.bg-dark {
    background-color: rgba(31, 78, 88, 0) !important;
}

.navbar-text {
    font-weight: bold;
    font-size: 1.2em;
}

.navbar-dark {
    color: var(--blanco) !important;
}

.carrusel-header {
    position: relative;
    top: -7rem;
    left: 0;
    width: 100%;
    z-index: -1;
}

#opacheader {
    /* max-height: 51vh; */
}

.header_titulo {
    border-left: 5px solid var(--color1);
    padding-left: 10px;
    color: var(--color1);
}

.header_titulo h2 {
    margin-bottom: 0 !important;
}

.navbar .navbar-expand {
    background: transparent !important;
    position: absolute !important;
    z-index: 9999;
    padding: 9px;
}

.navegar svg {
    fill: var(--color1);
    width: 60%;
    margin-bottom: 1em;

}

.navegar div p {
    color: var(--color1);
    font-size: .8em;
    margin-bottom: 0rem;
}

.navegar div {
    height: 10em;
}

.navegar .card-body {
    padding: 20px;
    /* margin: 10px; */
    /* border: 1px solid #ccc; */
    position: relative;
    /* Necesario para posicionar el borde */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Aplicar un borde derecho solo a las tres primeras .card-body */
.navegar .col-12:nth-child(-n+3) .card-body::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 50%;
    background-color: var(--color1);
}

/* .navegar .col-12 .card-body{
  height: 9em;
}
.navegar .col-12:nth-child(-n+3) .card-body {
  border-right: 3px solid var(--color1);
} */
/* search  */
#OpacCustomSearch div div form {
    padding: 1em 2em;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    margin: 0 auto;
    height: 100%;
    /* background-color: #58595b38 !important; */
}

.sticky {
    position: sticky;
    top: -1px;
    z-index: 999;
}

.form-select {
    --bs-form-select-bg-img: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23252525' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e);
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    -webkit-transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
}

.fixed-content {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 90%;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.fixed-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 1px;
    animation: fadeIn 1s ease-out;
}

.fixed-content2 {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 90%;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.fixed-content3 {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 90%;
}

h1,
.h1 {
    font-size: calc(1.275rem + 0.3vw);
}

.js .dateformat,
.js #sortsubmit,
.js #sorting-form,
.js .js-hide {
    display: none;
}

.fixed-content3 {
    display: none;
}

.icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rounded-box {
    width: 11rem;
    height: 11rem;
    border-radius: 15px;
    border: 4px solid var(--blanco);
    /*background-color: var(--blanco);*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    text-align: center;
}

h2 {
    text-align: center;
    color: #F04E23;
}

.rounded-box svg {
    width: 28%;
    height: 28%;
    fill: var(--blanco);
}

.text_icon {
    font-weight: bold;
    font-size: 1.1em;
    padding: 0 1em;
}

.grid-item:hover {
    transform: translateY(-5px);
}

p {

    margin-bottom: 0 !important;
}

#btn_search_voice {
    margin: 2px !important;
    padding: 3px !important;
    width: 2.3em !important;
    height: 37px !important;
    border: 0 !important;
    color: #ffffff !important;
    background: #F04E23 !important;
    border-radius: 5px !important;
}

#opac-main-search {
    /* background: #f0f3f300;
  padding: 0 6em; */
}

/* #wrapper .container-fluid:nth-of-type(2) .row:nth-of-type(2)  { */
#moresearches {
    display: none !important;
}

/* #carouselExampleIndicators{
 width: 80%;
 margin: auto;
} */
.row2 {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: 0;
    margin-left: 0;
    width: 100%;
}

/* #wrapper .container-fluid .row:nth-of-type(2) .nav,
#wrapper .container-fluid:nth-of-type(1) .row .nav{
  display: none;
} */
/* #moresearches_mod */

#moresearches_mod {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0 auto;
    width: 100%;
}

#moresearches_mod .nav-item {
    /* margin:  10px;  
  height: 2em;           */
}

#moresearches_mod li::after {
    content: " | ";
    color: var(--gris);
}

#moresearches_mod li:last-child::after {
    content: "";
}

/* #moresearches_mod >.nav-item:hover,
#moresearches_mod >.nav-item a:hover{
 background-color: var(--blanco);
 color: var(--negro);
} */

#moresearches_mod>.nav-item a {
    /* border: 1px solid var(--color1)  ; */
    /* background-color: var(--color1); */
    text-decoration: none;
    font-size: 16px;
    color: var(--blanco);
    font-weight: 700;
    height: 100%;
    padding: 0 .5em;
    display: flex;
    /* Hace que el <a> sea un contenedor flexible */
    align-items: center;
    /* Centra verticalmente */
    justify-content: center;
    /* Centra horizontalmente (opcional) */
}

#moresearches_mod>.nav-item a:hover {
    color: #F04E23;
    /* background-color: var(--blanco); */
}

/* #moresearches_mod */

.dropdown-menu {
    /* color de las litas nav */
    /* background-color: var(--color1); */
}


#scrolltocontent,
#logo,
.clearsh {
    display: none;
}

/* CSS para Posicionar Buscador */
.form-control {
    border: 1px solid #07c8cc68 !important;
}


.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 .2rem #07c8cc68;
}

.searchform2 {
    padding: 0 0 1em 0;
    bottom: 35px;
    position: relative;
    /* z-index: 1; */
    width: 100%;
    height: 100%;
    background-color: #00000059 !important;
    margin-top: 1.5em;

}

.carousel-item img {
    width: 100%;
    height: 25em;
    object-fit: cover;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 30em !important;
    overflow: hidden;
}

.searchform2_mod {
    padding: 1em;
    bottom: 0 !important;
    position: relative;
    width: 100%;
    height: 100%;
    background-color: var(--color1) !important;
    margin-bottom: 1em;
}

#searchform {
    /* bottom: 3em;*/
    /* position: relative;  */
    z-index: 1 !important;
    /* width: 100%;
  background-color: var(--color1); */

}

#opac-main-search .form-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* breadcrumbs */
/* ------------------------------------ */

.breadcrumb-item+.breadcrumb-item::before {

    color: var(--blanco);
}

#breadcrumbs {
    /* background-color: var(--color1); */
    color: var(--blanco);
}

.breadcrumb {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: .1rem 1.2rem;
    margin-bottom: 1rem;
    list-style: none;
    background-color: var(--gris);
    border-radius: 0;
    color: var(--blanco) !important;

}

.breadcrumb a {
    color: var(--blanco);
    font-size: .8em;
}

.breadcrumb a:hover {
    color: var(--blanco);
    /* font-weight:700; */
}

/* ----------------------------- */

#opac-main-search label {
    color: #666;
    font-size: 115%;
    font-weight: bold;
    margin: 0
}

#cartDetails {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    color: #000;
    display: none;
    font-size: 90%;
    left: 50px;
    margin: 0;
    padding: 8px 20px;
    position: fixed;
    text-align: center;
    top: 50px;
    width: 180px;
    z-index: 10;
}

/* header  */
.nav_header a {
    color: var(--color1) !important;
    font-weight: bold;
    cursor: pointer;
}

.nav_header2 a {
    color: var(--negro) !important;
    font-weight: bold;

}

.nav_header a:hover {
    color: var(--color2) !important;
}

#myHeader {
    background: #1f4e58;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    display: flex;
}

#myHeaderLogo,
#myHeaderBanner {
    height: 8.5em;
}

#myHeaderLogo {
    width: 32.75%;
    background: url(../images/logo-eia.png) no-repeat center right;
    overflow: hidden;
}

#myHeaderBanner {
    width: 33.5%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#myHeaderBanner h4 {
    text-align: left;
    color: #fff;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 1.05em;
}

#myHeaderTagline {
    width: 32.75%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

#myHeaderTagline h4 {
    text-align: right;
    color: #fff;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 1.05em;
}

/* main */
#OpacMainUserBlock h1 {
    color: var(--color1);
}

/* ----------------- */
/* grid */


.grid-item {
    transition: all 0.3s ease;
}



.equal-columns {
    flex: 1 0 18%;
    max-width: 30%;
    margin: 1%;
    /* background-color: var(--color1);
  border-radius: 10px; */
}

@media (max-width: 992px) {
    .equal-columns {
        flex: 1 0 48%;
        max-width: 48%;
        margin: 1%;
    }
}

@media (max-width: 576px) {
    .equal-columns {
        flex: 1 0 98%;

    }
}

.valle-title {
    font-size: 2rem;
    margin: 40px 0;
    text-align: center;
    color: #2c3e50;
    font-weight: bold;
}

.custom-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* footer inicio----------------- */
.footer {
    background: var(--color1);
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.footer_contenedor {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.h4_footer {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--blanco);
}

.acordeon_item_triger.no-collapse {
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.acordeon_item_triger_2 {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
}

.acordeon_item_triger_2 h5 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    color: var(--blanco);
}

.arrow_footer {
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--blanco);
    border-bottom: 2px solid var(--blanco);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.acordeon_item_triger_2.active .arrow_footer {
    transform: rotate(-135deg);
}

.acordeon_item_contenido {
    display: none;
    margin-left: 15px;
}

.acordeon_item_contenido ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.acordeon_item_contenido ul li {
    margin: 6px 0;
}

.acordeon_item_contenido ul li a {
    text-decoration: none;
    color: var(--blanco);
    font-size: 14px;
    -webkit-transition: color 200ms ease, padding 200ms ease;
    transition: color 200ms ease, padding 200ms ease;
}

.acordeon_item_contenido ul li a:hover {
    padding-left: 10px;
    color: #fff;
}

.list li a {
    text-decoration: none;
    color: var(--blanco);
    font-size: 14px;
    -webkit-transition: color 200ms ease, padding 200ms ease;
    transition: color 200ms ease, padding 200ms ease;
}

.list li a:hover {
    padding-left: 10px;
    color: #fff;
}

.list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* footer --fin */

.one_section {
    background-color: var(--gris);
}

.one_section a,
.one_section h5 {
    color: var(--color1);
}

.one_section p {
    color: var(--negro);
    margin-bottom: 0em !important;
}

.two_section p {
    font-size: 1em;
}

.derechos p {
    font-size: 1em;
}



.full-height {
    height: 100%;
    /* Altura completa de la ventana */
}




.svg_app img,
.logo_header img {
    object-fit: cover;
    width: 100%;
}




.iframe_visitas {
    width: 100%;
    height: 8em;
    border: none;
}

.title_header h3 {
    color: var(--nav_bar);
    font-weight: 600;
    margin-bottom: 0;
}


/* boton flotante */

#backtotop {
    bottom: 40px;
    left: 40px;
    display: inline-block;
    font-size: 120%;
    position: fixed;
    text-align: center;
    z-index: 1000;
    background-color: var(--blanco);
    color: var(--color1) !important;

}

.tittle-port h3 {
    font-size: 1.5em;
}

#OpacNav {
    margin: 1em 1em 0 0;
}

/* carrusel  */
.tittle-port h3 {
    color: var(--negro);
    /* Verde oscuro para el título */
    /* font-family: Montserrat, sans-serif; */
    text-transform: uppercase;
    margin-bottom: 15px;
}

.nav.flex-column .nav-item {
    margin: 5px 0;
    /* Espaciado vertical entre elementos */
}

.nav.flex-column .nav-link {
    color: var(--negro);
    /* Verde más oscuro */
    font-size: 16px;
    padding: 10px;
    background-color: var(--trans);
    /* Fondo verde pastel más claro */
    border-radius: 5px;
    transition: all 0.3s ease;
    /* Efecto de transición suave */
}

.nav.flex-column .nav-link:hover {
    background-color: var(--color1);
    /* Verde pastel más vibrante al pasar el mouse */
    color: var(--blanco);
    /* Verde oscuro para el texto */
    text-decoration: none;
}

.nav.flex-column .nav-link i {
    margin-right: 8px;
    /* Espacio entre el ícono y el texto */
    color: #40916c;
    /* Verde para los íconos */
}

/* contacto */
.section {
    margin-top: 20px;
}

.section p {
    font-size: .8em;
    margin-bottom: 5px;
}

.contacto h6 {
    color: var(--color1);
    font-weight: bold;
}

.contacto svg {
    object-fit: cover;
    width: 20%;
    fill: var(--color1);

}

.section {
    display: flex;
    align-items: center;
}

.section svg {
    margin-right: 10px;
    /* Ajusta el margen entre el SVG y el texto */
}

.text-content {
    display: flex;
    flex-direction: column;
    /* Coloca el texto en una columna */
}

.text-content h6,
.text-content p {
    margin: 0;
    /* Elimina el margen predeterminado para un mejor control */
}

.title_acerca {
    padding-top: 2em;
    color: var(--color1);
    font-weight: bold;
}


#login {
    display: none;
}

/* busqueda avanzada */

#booleansearch {
    width: 80%;
}

.advanced-search-terms .search-term-row {
    display: grid;
    gap: 5px 5px;
    grid-template-columns: 10% 30% 60%;
    margin: 5px 0;
}

.advsearch_limit {
    border: 1px solid #d8d8d8;
    font-size: 90%;
    height: 100%;
    margin-bottom: 15px;
    padding: 15px;
}

#advsearch input,
#advsearch select {
    max-width: 100%;
}

fieldset.action {
    border: 0;
    clear: both;
    float: none;
    margin: 0;
    padding: 1em 0 .3em;
    width: auto;
}

fieldset.rows label,
fieldset.rows .label {
    float: left;
    font-weight: bold;
    margin-right: 1rem;
    text-align: right;
    width: 9rem;
}

label {
    display: inline-block;
    margin-bottom: .5rem;
}

fieldset.rows ol {
    list-style-type: none;
    padding: 1em 1em 0 1em;
}

fieldset.rows li {
    clear: left;
    float: left;
    list-style-type: none;
    padding-bottom: 1em;
    width: 100%;
}

/* modal login */
#loginModal .modal-header,
#loginModal .modal-body,
#loginModal .modal-footer {
    font-size: 120%;
    padding: 1em 2em;
}

fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

fieldset.brief label {
    display: block;
    font-weight: bold;
    padding: .3em 0;
    text-align: left;
}

#loginModal input {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    font-size: 150%;
    height: auto;
    padding: .4em;
    /* width: 100%; */
}

#loginModal .closebtn {
    color: var(--blanco);
    opacity: 1;
}

#loginModal .closebtn {
    color: var(--color1);
    opacity: 1;
}

#loggedinuser-menu p a {
    color: var(--color1) !important;
}

#loggedinuser-menu {
    padding: .5em 1em;
}

#loggedinuser-menu a {
    color: var(--color1) !important;
}

/* menu intra  */

#menu li a {
    background-color: #f0f3f3;
    border: 1px solid #d8d8d8;
    border-bottom-width: 0;
    color: var(--color4);
    display: block;
    margin: 0;
    padding: .4em .6em;

}

#menu li {
    list-style-type: none;
}

#navigation {
    margin-right: 1em;
}


#menu ul {
    padding-left: 0 !important;
}



.flatpickr-calendar {
    -webkit-animation: none;
    animation: none;
    background: rgba(0, 0, 0, 0);
    border: 0;
    border-radius: 5px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    direction: ltr;
    display: none;
    font-size: 14px;
    gap: 2px;
    line-height: 24px;
    opacity: 0;
    padding: 0;
    position: absolute;
    text-align: center;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    visibility: hidden;
    width: 307.875px;
    background: #fff;
    -webkit-box-shadow: 1px 1px 3px 0 #666;
    box-shadow: 1px 1px 3px 0 #666;
}

#bibliodescriptions .nav-item a {
    color: var(--color1);
    font-weight: bold;
    text-decoration: none;

}

/* login */
#login {
    max-width: 80%;
    padding: .5em 2rem;
    /* padding: 2rem; */
    background: linear-gradient(145deg, var(--blanco), var(--blanco));
    /* border-radius: 15px; */
    box-shadow: 0 5px 20px rgba(255, 108, 108, 0.2);
    /* font-family: 'Segoe UI', sans-serif; */
    margin: auto;
}

#login fieldset.brief {
    border: none;
    padding: 0;
}

#login legend {
    /* background-color: var(--color1); */
    color: var(--color1);
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    /* margin-bottom: 1.5rem; */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    padding-top: .3em;
}

#login .local-login {
    display: flex;
    flex-direction: column;
    /* gap: 1.2rem; */
    margin: 0 auto;
    padding: 0 .8rem;
    padding-bottom: .5em;
}

#OpacLoginInstructions {
    margin: 0 auto;
    padding: 0 2rem;
    font-size: .9em;
    font-weight: 600;
    text-align: justify;
}

#login label {
    color: var(--negro);
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

#login .form-control {
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgb(255 236 236 / 90%);
    font-size: 1rem;
    transition: all 0.3s ease;
}

#login .form-control:focus {
    outline: none;
    border-color: #ff6666;
    box-shadow: 0 0 0 3px rgba(255, 102, 102, 0.2);
}

#login .btn-primary {
    background: var(--color1);
    color: white;

    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

#login .btn-primary:hover {
    background: #cc0000;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#login .forgotpassword,
#login .patronregistration {
    margin-top: .5rem;
    text-align: center;
}

#login p {
    /* display: none; */
    font-size: .8em;
}

#login hr {
    display: none;
}

#login a {
    color: var(--blanco);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

#login a:hover {
    color: var(--color1);
    text-decoration: underline;
}

@media (max-width: 480px) {
    #login {
        padding: 1.5rem;
        max-width: 100% !important;
    }

    #login legend {
        font-size: 1.5rem;
    }
}

/* ESTILOS PARA POSICIONAR EL IFRAME AL FINAL */
.main-container {
    display: flex;
    flex-direction: column;
}

.carousel-box {
    order: 1;
}

.looker-studio-container {
    order: 2;
    margin-top: 40px;
    width: 100%;
    clear: both;
    position: relative;
    z-index: 1;
}

.looker-studio-container iframe {
    width: 100%;
    height: 500px;
    border: none;
}

@media (max-width: 768px) {
    .looker-studio-container iframe {
        height: 300px;
    }
}


/* modal login */

/* Estilos generales del modal */
.modal-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(255, 50, 50, 0.2);
    overflow: hidden;
}

/* Cabecera del modal */
.modal-header {
    background: linear-gradient(135deg, var(--color1), var(--color1));
    padding: 1.5rem;
    border-bottom: none;
    position: relative;
}

.modal-title {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.closebtn {
    color: #fff;
    border: 0;
    background: #ffffff00;
    opacity: 0.8;
    font-size: 2.5rem;
    transition: all 0.3s ease;
    position: absolute;
    right: 15px;
    top: 15px;
}


.closebtn:hover {
    color: #fff !important;
    opacity: 1;
    transform: rotate(90deg);
}

/* Cuerpo del modal */
.modal-body {
    padding: 2rem;
    background: #f9f9f9;
}

/* Campos de formulario */
#modalAuth input[type="text"],
#modalAuth input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin: 8px 0;
    border: 2px solid #eee;
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s ease;
    font-size: 1rem;
}

#modalAuth input:focus {
    border-color: #07c8ccb7;
    box-shadow: 0 0 0 3px rgba(102, 255, 247, 0.2);
    outline: none;
}

/* Botón de ingreso */
#modalAuth .btn-primary {
    background: var(--color1);
    color: #fff;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;

}

#modalAuth .btn-primary:hover {
    background: var(--color1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(49, 248, 255, 0.3);
}

/* Enlaces y texto adicional */
#forgotpassword-modal,
#patronregistration-modal {
    text-align: center;
    margin: 1.5rem 0;
}

#modalAuth a {
    color: var(--blanco);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

#modalAuth a:hover {
    color: var(--color1);
    text-decoration: underline;
}


/* Responsive */
@media (max-width: 576px) {
    .modal-body {
        padding: 1.5rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    #modalAuth .btn-primary {
        padding: 12px;
        font-size: 1rem;
    }
}

.btn-close {
    --bs-btn-close-color: #000;
    --bs-btn-close-bg: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e);
    --bs-btn-close-opacity: 0.5;
    --bs-btn-close-hover-opacity: 0.75;
    --bs-btn-close-focus-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    --bs-btn-close-focus-opacity: 1;
    --bs-btn-close-disabled-opacity: 0.25;
    --bs-btn-close-white-filter: invert(1) grayscale(100%) brightness(200%);
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: .25em .25em;
    color: var(--bs-btn-close-color);
    background: transparent var(--bs-btn-close-bg) center / 1em auto no-repeat;
    border: 0;
    border-radius: .375rem;
    opacity: var(--bs-btn-close-opacity);
}

.modal-header .btn-close {
    padding: calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);
    margin: calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto;
}

.dt-buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.dt-button {
    background-color: rgba(0, 0, 0, 0);
    border: 0;
    color: var(--color1);
    line-height: 20px;
    padding: 4px 12px;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255, 255, 255, .75);
    vertical-align: middle;
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

/* Estilo para el botón de login */
.login-link {
    background-color: #F04E23;
    color: #fff !important;
    border-radius: 0;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.footer p {
    color: white;
}

.footer_contacto.mt-3 a {
    color: white;
}

.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Izquierda y derecha */
    align-items: center;
}

.right {
    text-align: right;
}

.right p {
    margin: 0;
    padding-bottom: 8px;
}

/* Íconos centrados debajo del texto */
.social_icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 5px;
}

.social_icons a {
    font-size: 20px;
    color: #fff;
    /* cámbialo según tu diseño */
}

/* hero  */
.hero-container {
    position: relative;
    overflow: hidden;
    height: 10rem !important;
}


.fixed-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: fadeIn 1.2s ease-out;
}

.carousel-item .img-2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 30;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-indicators {
    bottom: 30px;
    z-index: 30;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
}

.carousel-indicators .active {
    background-color: #068284;
    transform: scale(1.3);
}

.features {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    z-index: 30;
}

.feature-item {
    text-align: center;
    color: white;
    padding: 15px;
}

.feature-item i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #068284a4;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .fixed-content h1 {
        font-size: 2.5rem;
    }

    .fixed-content p {
        font-size: 1.2rem;
    }

    .feature-item h3 {
        font-size: 1rem;
    }

    .feature-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .fixed-content h1 {
        font-size: 2rem;
    }

    .fixed-content p {
        font-size: 1rem;
    }

    .btn-primary {
        padding: 10px 25px;
        font-size: 1rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
}