/* Instalar fuente */

@import url('/isae/css/responsive.css'); /* Reseteo de estilos base */
@import url('/isae/css/opac-search.css');
@import url('/isae/css/opac-detail.css');

@font-face {
    font-family: "HelveticaNeue";
    src: url("/isae/images/HelveticaNeueMed.ttf");
}

body {
    font-family: "HelveticaNeue" !important;
}

a.brand:after {
    content: 'Catálogo Bibliográfico';
    display: block;
    color: #ffffff;
    position: absolute;
    margin-top: -111px;
    margin-left: 30px;
    font-size: 16px;
}

div#moresearches ul li a {
    text-decoration: none;
}

.toolbar button i.fa {
    color: #ffffff;
}

.view a.disabled,
.view a[disabled],
.view button.disabled,
.view button[disabled],
.actions a.disabled,
.actions a[disabled],
.actions button.disabled,
.actions button[disabled],
.toolbar a.disabled,
.toolbar a[disabled],
.toolbar button.disabled,
.toolbar button[disabled] {
    color: white;
    opacity: .65;
}

#logo {
    background: transparent url("../images/inicio-replace-koha.png") no-repeat scroll 0;
    border: 0;
    float: left !important;
    margin: 0;
    padding: 0;
    /*width:100px*/
}

#logo a {
    border: 0;
    cursor: pointer;
    display: block;
    height: 0 !important;
    margin: 0;
    overflow: hidden;
    padding: 40px 0 0;
    text-decoration: none;
    width: 100px
}

/*--------JFGC  BOOTSTRAP OVERWRITTING DEFINITIONS -------------*/

/*-----------arrangment position historial------------*/
.navbar-text {
    margin-bottom: 0;
    line-height: 20px;
    color: #777777;
}

/*----------- end arrangment position historial------------*/
.navbar-extend {
    background: transparent;
    border-bottom: none;
    position: absolute;
    width: 97%;
}

span.divider-vertical {
    display: none;
}

.navbar-inner {
    padding-top: 20px;
}

button#scrolltocontent {
    display: none;
}

select#masthead_search {
    border-radius: 30px;
}


input#translControl1 {
    border-radius: 30px;
}

select#select_library {
    border-radius: 30px 0px 0px 30px;
}

button#searchsubmit {
    border-radius: 0px 30px 30px 0px;
    background-color: #203E9A;
    color: white !important;
}

/*--------- Opacnav --------*/

/*---------------LINKS BAR -----------*/
.linksBar {
    background: #fff;
}

.linksBar h3 {
    background: #203E9A;
    color: #fff !important;
    text-align: right;
    font-weight: normal;
    text-transform: uppercase;
    padding: 0.5em 0;
    margin: 0;
}

.linksBar h3 span {
    background: #000;
    padding: 0.65em 0.3em;
    margin: 0 0 0 0.5em;
}

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

.linksBar li {
    display: block;
}

.linksBar li:nth-child(2n + 1) {
    background: #efefef;
}

.linksBar a {
    text-decoration: none;
    display: block;
    padding: 0.65em;
    color: #000;
}

.marked {
    background: #ffed00;
}


/*-------decrease high navbar top---*/

.navbar .nav>li>a {
    padding: 0 15px
}

.navbar .divider-vertical {
    height: 25px
}

#logo a {
    padding: 20px 0 0
}

.navbar-inner {
    min-height: 1.5em;
}

/*-------end decrease high navbar top---*/

/*-------arrangment fixed width container---*/
.container-fluid {
    margin: auto;
    /*max-width: 1000px;*/
    /*-webkit-box-shadow: 0 0 18px rgba(8, 0, 0, 0.47);
  -moz-box-shadow: 0 0 18px rgba(8, 0, 0, 0.47);
  box-shadow: 0 0 18px rgba(8, 0, 0, 0.47);*/
}

/*-------end arrangment fixed width container---*/

#moresearches a {
    color: #fff;
    font-weight: normal
}

.navbar .divider-vertical {
    border-left: 1px solid #fff;
    border-right: 1px solid #ffffff;
}

.breadcrumb>li {
    text-shadow: none
}

.breadcrumb a {
    color: #666;
    font-weight: normal
}

fieldset.brief {
    text-align: center;
}

fieldset.brief legend {
    color: #fff;
    background: #203E9A;
    border-radius: .8em .8em 0 0;
}

#search-facets h2 {
    text-align: center;
}

#search-facets h3 {
    text-align: center;
}

#login {
    margin: 0 0 1em 0;
    border: 2px solid #203E9A;
    border-radius: 20px;
}

div#login legend {
    text-transform: uppercase;
}



.btn {
    background-image: none;
    background-repeat: no-repeat;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
    margin-bottom: 0;
    padding: 4px 12px;
    text-align: center;
    text-shadow: none;
    vertical-align: middle;
}

.btn.disabled {
    background: #0088CB;
}

#opac-main-search {
    margin-top: -55px;
    width: 100%
}

.mastheadsearch.librarypulldown {
    margin-left: 90px;
    margin-right: 90px;
}


div#moresearches {
    margin-top: 17px;
}

div#moresearches ul li a {
    background-color: #203E9A;
    padding: 10px;
    border-radius: 30px;
    font-family: "HelveticaNeue" !important;
    text-transform: uppercase;
}

div#moresearches ul li a:hover {
    background-color: #124A9F;
}

div#opac-main-search {
    position: absolute;
    width: 100%;
}

.mastheadsearch label {
    color: #1341A5;
}

div#bookCarousel .container {
    width: 680px;
}

.tittle-port {
    background-color: RGB(32, 62, 154);
    color: #fff;
    padding: 6px;
}

.ti_b {
    margin-top: 180px;
}

table.table_link {
    border: 6px #203E9A;
}

.btn:hover {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    /*background-color: #0088CB;*/
    background-image: none;
    background-repeat: no-repeat;
    /*border-color: #cccccc #cccccc #b3b3b3;*/
    border-image: none;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(101, 167, 57, 0.05);
    /*color: #fff;*/
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
    margin-bottom: 0;
    padding: 4px 12px;
    text-align: center;
    text-shadow: none;
    vertical-align: middle;
}

#myHeader {
    text-align: center;
}

#myHeader img {
    width: 100%
}

#opacnav,
#opacnavbottom,
#opacnavright {
    background: #fdfdfe;
    /* Old browsers */
    border: 1px solid #203E9A;
}

#opacnav h3,
#opacnavbottom h3,
#opacnavright h3 {
    text-align: center;
}

#opacnav ul,
#opacnavbottom ul,
#opacnavright ul {
    list-style: none;
    margin: 0;
    text-align: center;
}

#opacnav li,
#opacnavbottom li,
#opacnavright li {}

#opacnav a,
#opacnavbottom a,
#opacnavright a {
    color: #0268BB
}

#top-pages {
    margin: 0 0 0.5em;
    text-align: center;
}

#bottom-pages {
    text-align: center;
}

#search-facets h4 a,
#menu h4 a {}

@media only screen and (min-width:0) and (max-width:304px) {
    #oh:after {
        content: "(min-width: 0px) and (max-width: 304px)"
    }

    input,
    select,
    textarea {
        width: auto;
        max-width: 11em
    }
}

@media only screen and (min-width:0) and (max-width:390px) {
    #oh:after {
        content: "(min-width: 0px) and (max-width: 390px)"
    }

    .ui-tabs .ui-tabs-nav li a,
    .statictabs li a {
        padding: .1em .5em
    }

    #views {
        border: 0;
        padding: 0;
        margin: 0
    }

    .view {
        padding: 0
    }

    .view a,
    .view span {
        border: 1px solid #c9c9c9;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
        font-size: 80%;
        padding: .3em .4em 4px 26px
    }

    .input-fluid {
        width: 90%
    }
}

@media only screen and (min-width:305px) and (max-width:341px) {
    #oh:after {
        content: "(min-width: 305px) and (max-width: 341px)"
    }
}

@media only screen and (min-width:342px) and (max-width:479px) {
    #oh:after {
        content: "(min-width: 342px) and (max-width: 479px)"
    }

    .input-fluid {
        width: 75%
    }
}

@media (max-width:979px) {

    .navbar-fixed-top,
    .navbar-fixed-bottom {
        position: fixed;
        margin-left: 0;
        margin-right: 0
    }
}

@media only screen and (max-width:608px) {
    fieldset.rows label {
        display: block;
        float: none;
        text-align: left
    }

    fieldset.rows li {
        padding-bottom: .5em
    }

    fieldset.rows ol {
        margin-left: 0
    }

    fieldset.rows .hint {
        margin-left: 0
    }

    body {
        padding: 0
    }

    .tdlabel {
        display: inline
    }

    .navbar-fixed-top,
    .navbar-static-top {
        margin: 0
    }

    .navbar-inner {
        padding: 0
    }

    .checkall,
    .clearall,
    .highlight_controls,
    #selections-toolbar,
    .selectcol,
    .list-actions,
    #remove-selected {
        display: none
    }

    .table td.bibliocol {
        padding-left: 1.3em
    }

    .actions {
        display: block
    }

    .actions a,
    .actions #login4tags {
        background-color: #f2f2ef;
        border: 1px solid #ddd;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
        font-weight: bold;
        display: block;
        font-size: 120%;
        margin: 2px 0
    }

    .actions .label {
        display: block;
        font-weight: bold
    }

    .actions #login4tags {
        margin-right: 1em
    }

    #opac-main-search button,
    #opac-main-search input,
    #opac-main-search select,
    #opac-main-search .librarypulldown .transl1,
    #opac-main-search .input-append {
        display: block;
        width: 97%;
        max-width: 100%;
        margin: .3em 0;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px
    }

    #opac-main-search .input-append {
        margin: 0;
        width: 100%
    }

    #opac-main-search .librarypulldown .transl1 {
        width: 94.5%
    }

    #toolbar .resort {
        font-size: 14px;
        max-width: 100%;
        margin: .5em 0;
        padding: 4px 6px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px
    }

    .mastheadsearch {
        margin: 0;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0
    }

    .main {
        margin: .5em 0;
        padding: 15px;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0
    }

    .breadcrumb {
        margin: 10px 0
    }

    #moresearches {
        text-align: center
    }

    #searchsubmit {
        font-weight: bold
    }

    .ui-tabs-panel .item-thumbnail,
    .tabs-container .item-thumbnail,
    #topissues .item-thumbnail,
    #usertags .item-thumbnail,
    #usersuggestions .item-thumbnail {
        margin: .5em 0 0 .5em
    }

    .ui-tabs-panel .table-bordered,
    .tabs-container .table-bordered,
    #topissues .table-bordered,
    #usertags .table-bordered,
    #usersuggestions .table-bordered {
        border: none
    }

    .ui-tabs-panel .table th,
    .tabs-container .table th,
    #topissues .table th,
    #usertags .table th,
    #usersuggestions .table th,
    .ui-tabs-panel .table thead,
    .tabs-container .table thead,
    #topissues .table thead,
    #usertags .table thead,
    #usersuggestions .table thead {
        display: none
    }

    .ui-tabs-panel .table td,
    .tabs-container .table td,
    #topissues .table td,
    #usertags .table td,
    #usersuggestions .table td {
        border-right: 1px solid #ddd;
        border-left: 1px solid #ddd;
        border-top: 0;
        display: block;
        padding: .2em
    }

    .ui-tabs-panel .table p,
    .tabs-container .table p,
    #topissues .table p,
    #usertags .table p,
    #usersuggestions .table p {
        margin-bottom: 2px
    }

    .ui-tabs-panel tr,
    .tabs-container tr,
    #topissues tr,
    #usertags tr,
    #usersuggestions tr {
        display: block;
        margin-bottom: .6em
    }

    .ui-tabs-panel tr td:first-child,
    .tabs-container tr td:first-child,
    #topissues tr td:first-child,
    #usertags tr td:first-child,
    #usersuggestions tr td:first-child {
        border-top: 1px solid #ddd;
        border-radius: 5px 5px 0 0
    }

    .ui-tabs-panel tr td:last-child,
    .tabs-container tr td:last-child,
    #topissues tr td:last-child,
    #usertags tr td:last-child,
    #usersuggestions tr td:last-child {
        border-radius: 0 0 5px 5px;
        border-bottom: 2px solid #cacaca
    }

    .no-image {
        display: none
    }
}

@media only screen and (max-width:700px) {
    #opac-main-search label {
        display: none
    }

    #logo {
        background: transparent url("../images/glyphicons-halflings-white.png") no-repeat;
        background-position: 0 -24px;
        margin: 7px 14px 0 14px;
        width: 14px
    }

    #logo a {
        padding: 14px 0 0;
        width: 14px
    }

    #user-menu-trigger {
        display: inline;
        margin-right: 12px
    }

    #members {
        display: none;
        clear: both
    }

    #members li {
        padding-right: 20px;
        text-align: right;
        border-bottom: 1px solid #555
    }

    #members li:first-child {
        border-top: 1px solid #555
    }

    #members li:last-child {
        border-bottom: none
    }

    #members .nav {
        float: none
    }

    #members .nav.pull-right {
        float: none
    }

    #members .nav>li {
        float: none
    }

    #members .divider-vertical {
        border: 0;
        height: 0;
        margin: 0
    }
}

@media only screen and (min-width:480px) and (max-width:608px) {
    #oh:after {
        content: " Between 480 pixels and 608 pixels. "
    }

    .input-fluid {
        width: 75%
    }
}

@media only screen and (min-width:608px) and (max-width:767px) {
    #oh:after {
        content: " Between 608 pixels and 767 pixels. "
    }

    .main {
        padding: .8em 20px
    }

    .breadcrumb {
        margin: 10px 0
    }

    .navbar-static-bottom {
        margin-left: -20px;
        margin-right: -20px
    }

    .row-fluid input.span6 {
        width: 48.9362%
    }
}

@media only screen and (max-width:767px) {
    a.title {
        font-size: 120%
    }

    #userresults {
        margin: 0 -20px
    }

    .breadcrumb,
    #top-pages,
    .menu-collapse {
        display: none
    }

    #search-facets,
    #menu {
        margin-bottom: .5em
    }

    #search-facets h4,
    #menu h4 {
        display: block;
        margin: 0;
        padding: 0
    }

    #search-facets h4 a,
    #menu h4 a {
        -webkit-border-radius: 7px;
        -moz-border-radius: 7px;
        border-radius: 7px;
        border-bottom: 0;
        font-weight: normal;
        padding: .7em .2em
    }

    #search-facets ul,
    #menu ul {
        padding: 0
    }

    #menu li a {
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        border: 0;
        display: block;
        font-size: 120%;
        text-decoration: none;
        border-bottom: 1px solid #d8d8d8;
        margin: 0
    }

    #menu li.active a {
        border-top: 1px solid #d8d8d8;
        border-right-width: 1px
    }

    #menu li:last-child a {
        -webkit-border-radius: 0 0 7px 7px;
        -moz-border-radius: 0 0 7px 7px;
        border-radius: 0 0 7px 7px
    }

    #search-facets li {
        padding: .4em
    }

    #search-facets h5 {
        margin: .2em
    }

    #menu h4 a.menu-open,
    #search-facets h4 a.menu-open {
        -webkit-border-radius: 7px 7px 0 0;
        -moz-border-radius: 7px 7px 0 0;
        border-radius: 7px 7px 0 0;
        border-bottom: 1px solid #d8d8d8
    }
}

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

    .cartlabel,
    .listslabel {
        display: none
    }

    .navbar .divider-vertical {
        margin: 0 2px
    }

    .navbar #members .divider-vertical {
        margin: 0 9px
    }
}

@media only screen and (min-width:768px) {
    .main {
        /*margin-left:20px;margin-right:20px*/
    }

    #menu {
        border: 0;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        border-right: 1px solid #d8d8d8
    }

    #menu h4 {
        display: none
    }

    #menu ul {
        padding: 1em 0 1em 0
    }
}

@media only screen and (min-width:768px) and (max-width:984px) {
    #oh:after {
        content: " Between 768 and 984 pixels. "
    }

    .librarypulldown .transl1 {
        width: 38%
    }
}

@media only screen and (min-width:984px) {
    #oh:after {
        content: " Above 984 pixels. "
    }

    .librarypulldown .transl1 {
        width: 53%
    }
}

@media only screen and (max-width:1040px) {
    .pg_menu li a {
        float: none;
        text-align: left
    }

    .pg_menu li.back_results a {
        border: 1px solid #d0d0d0;
        border-width: 1px 0 1px 0
    }

    #ulactioncontainer {
        min-width: 0
    }
}

/*---------------JFGC MY MEDIA QUERIES ADDITTIONS -----*/

@media only screen and (min-width: 0px) and (max-width: 767px) {

    /* Screens bewteen 0 and 767 pixels wide */
    #myFooterBox {
        display: block
    }

    #myFooterBox div {
        display: inline-block;
        width: 100%;
        text-align: center;
        padding: .75em 0 0;
        float: none
    }

    #opac-main-search {
        margin-top: 0 !important;

    }

    /*FIXING PROBLEMS WITH THE FOOTER---*/
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {

    /* Screens bewteen 767 and 1023 pixels wide */
    .main {
        margin: 0 20px
    }

    input#userid,
    input#password {
        padding: 0;
    }

    /*FIXING PROBLEMS WITH THE .MAIN (CONTAINER)---*/
}

@media only screen and (min-width: 1025px) {

    /* Screens 1024 pixels wide and furthermore */
    .main {
        margin: 1em auto
    }

    /*FIXING PROBLEMS WITH THE .MAIN (CONTAINER)---*/
}

/*---------------------------- Footer--------*/


/* STYLES SPECIFIC TO FOOTER  */
.footer {
    width: 100%;
    position: relative;
    height: auto;
    background-color: #203E9A;
}

div#myCredits {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.footer .col {
    width: 333px;
    height: auto;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding: 0px 20px 20px 20px;
}

.footer .col h1 {
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-size: 19px;
    line-height: 17px;
    padding: 20px 0px 5px 0px;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.250em;
}

.footer .col ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.footer .col ul li {
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    font-weight: 200;
    padding: 5px 0px 5px 0px;
    cursor: pointer;
    transition: .2s;
    -webkit-transition: .2s;
    -moz-transition: .2s;
}

.social ul li {
    display: inline-block;
    padding-right: 5px !important;
}

.footer .col ul li:hover {
    color: #ffffff;
    transition: .1s;
    -webkit-transition: .1s;
    -moz-transition: .1s;
}

.clearfix {
    clear: both;
}

@media only screen and (min-width: 1280px) {
    .contain {
        width: 1200px;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 1139px) {
    .contain .social {
        width: 1000px;
        display: block;
    }

    .social h1 {
        margin: 0px;
    }
}

@media only screen and (max-width: 950px) {
    .footer .col {
        width: 33%;
    }

    .footer .col h1 {
        font-size: 14px;
    }

    .footer .col ul li {
        font-size: 13px;
    }
}

@media only screen and (max-width: 500px) {
    .footer .col {
        width: 50%;
    }

    .footer .col h1 {
        font-size: 14px;
    }

    .footer .col ul li {
        font-size: 13px;
    }
}

@media only screen and (max-width: 340px) {
    .footer .col {
        width: 100%;
    }
}

/* Mobile */


@media only screen and (min-resolution: 117dpi) and (max-resolution: 119dpi),
only screen and (min-resolution: 131dpi) and (max-resolution: 133dpi),
only screen and (min-resolution: 145dpi) and (max-resolution: 154dpi),
only screen and (min-resolution: 162dpi) and (max-resolution: 164dpi),
only screen and (min-resolution: 169dpi) {
    div#opac-main-search {
        margin-top: 65px;
        margin-left: -46px;
        width: 100%;
    }


    #moresearches ul li a {
        display: flow-root;
        width: 80%;
        margin-left: 77px;
    }

    .main {
        /* margin-top: 373px !important; */
    }

    div#bookCarousel .container {
        width: 350px;
    }

    .ti_b {
        margin-top: 26px;
    }

    table.table_link {
        margin-bottom: 26px;
    }

    .mastheadsearch.librarypulldown {
        width: 319px;
    }

    .carousel-inner {
        overflow: hidden;
        width: 87%;
        position: relative;
    }
}


#opac-main-search.mastheadsearch {
    position: relative;
    margin: 20px auto;
    max-width: 1400px;
    /* o el ancho que prefieras */
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    /* fondo semitransparente */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.mastheadsearch .form-select,
.mastheadsearch .form-control {
    height: 40px;
    /* altura uniforme para todos los inputs */
}

#btn_search_voice {
    width: 97% !important;
    min-width: 97% !important;
    padding: 0 !important;
    border: 1px solid #0088CB !important;
    background: #0088CB !important;
    color: #ffffff !important;
    border-radius: 5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;

}


#moresearches.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 20px 0;
    list-style: none;
    justify-content: center;
}

#moresearches .nav-item {
    margin: 0;
}

#moresearches .nav-item a {
    background-color: #203E9A;
    color: white !important;
    padding: 10px 20px;
    border-radius: 30px;
    font-family: "HelveticaNeue", sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 0.9em;
    text-align: center;
}

#moresearches .nav-item a:hover {
    background-color: #124A9F;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#moresearches .nav-item a:active {
    transform: translateY(0);
}

/* Estilos para el panel de recursos electrónicos */
#navigation {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

#OpacNav .default_item {
    margin: 0;
}

#OpacNav h3 {
    color: #203E9A;
    font-size: 1.2rem;
    padding: 10px 0;
    margin-bottom: 15px;
    border-bottom: 2px solid #203E9A;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#OpacNav h3 span i {
    color: #203E9A;
    font-size: 1.2em;
}

#OpacNav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#OpacNav ul li {
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

#OpacNav ul li:hover {
    transform: translateX(5px);
}

#OpacNav ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

#OpacNav ul li a:hover {
    background-color: #e9f5ff;
    color: #124A9F;
}

#OpacNav ul li a img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}





/* Estilos para el formulario de login */
#login {
    max-width: 450px;
    margin: 30px auto;
    padding: 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

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

#login legend {
    font-size: 1.5rem;
    color: #203E9A;
    font-weight: bold;
    padding: 0 10px;
    margin-bottom: 20px;
    text-align: center;
    width: auto;
    border: none;
    background: none;
}

#login .local-login {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#login label {
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
    display: block;
}

#login .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

#login .form-control:focus {
    border-color: #203E9A;
    outline: none;
    box-shadow: 0 0 0 3px rgba(32, 62, 154, 0.1);
}

#login .show-password-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

#login .show-password-toggle-checkbox {
    width: 16px;
    height: 16px;
}

#login .show-password-toggle-label {
    font-weight: normal;
    font-size: 0.9rem;
    cursor: pointer;
}

#login .action {
    border: none;
    padding: 0;
    margin: 20px 0 0;
    text-align: center;
}

#login .btn-primary {
    background-color: #203E9A;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    width: 100%;
    transition: background-color 0.3s;
}

#login .btn-primary:hover {
    background-color: #124A9F;
}

/* Efecto para mostrar/ocultar contraseña */
#password[type="text"] {
    letter-spacing: 1px;
}

/* Estilos para la sección principal */
.maincontent {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

/* Títulos de sección */
.tittle-port {
    background-color: #203E9A;
    color: #fff;
    padding: 12px;
    font-size: 1.3rem;
    margin: 25px 0 15px;
    border-radius: 5px;
    text-align: center;
}

.ti_b {
    margin-top: 30px;
}

/* Contenedor del iframe - Versión corregida */
#iframe-container {
    position: relative;
    width: 100%;
    min-height: 300px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    margin: 15px 0;
}

#iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: none;
}

/* Tabla de recursos */
.table_link {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.table_link td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: center;
    transition: background-color 0.3s;
}

.table_link a {
    color: #203E9A;
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 8px;
    transition: all 0.3s;
}

.table_link td:hover {
    background-color: #f5f9ff;
}

.table_link a:hover {
    color: #124A9F;
    text-decoration: underline;
}

#moresearches li::after {
    content: "  ";
}


#backtotop{
  background-color: #203E9A !important;
  border: 1px solid white !important;
}

#btn_search_voice{
  background-color: #203E9A !important;
}

#moresearches.nav {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 10px 5px !important;
    margin: 15px 0 !important;
    list-style: none !important;
    justify-content: center !important;
    width: 100% !important;
}

/* Estilos para cada item */
#moresearches .nav-item {
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 1 auto !important; /* No crecer, pero puede encogerse */
    max-width: 100% !important;
}

/* Estilos para los enlaces */
#moresearches .nav-item a {
    background-color: #203E9A !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 30px !important;
    font-family: "HelveticaNeue", sans-serif !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
    font-size: 0.9em !important;
    text-align: center !important;
    white-space: nowrap !important; /* Evita que el texto se rompa */
}

/* Media query para tablets */
@media (max-width: 768px) {
    #moresearches.nav {
        gap: 5px !important;
        padding: 5px !important;
    }
    
    #moresearches .nav-item a {
        padding: 8px 15px !important;
        font-size: 0.8em !important;
        white-space: nowrap !important;
    }
}

/* Media query para móviles pequeños */
@media (max-width: 576px) {
    #moresearches.nav {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 5px !important;
        padding: 5px 3px !important;
    }
    
    #moresearches .nav-item {
        flex: 0 1 auto !important;
        width: auto !important;
    }
    
    #moresearches .nav-item a {
        padding: 6px 10px !important;
        font-size: 0.7em !important;
        border-radius: 20px !important;
        white-space: nowrap !important;
    }
}

/* Media query para móviles muy pequeños */
@media (max-width: 380px) {
    #moresearches.nav {
        gap: 3px !important;
    }
    
    #moresearches .nav-item a {
        padding: 5px 8px !important;
        font-size: 0.65em !important;
        border-radius: 15px !important;
    }
}

/* Eliminar cualquier estilo conflictivo */
#moresearches li::after {
    content: "" !important;
}

#moresearches > .nav-item a {
    font-size: inherit !important; /* Quita el !important anterior */
}