/*!* Bootstrap v3.1.0(http://getbootstrap.com) * Copyright 2011-2014 Twitter,Inc. * Licensed under MIT(https://github.com/twbs/bootstrap/blob/master/LICENSE) */
@font-face {
    font-family: OpenSansRegular;
    src: url('/themes/Scientia/fonts/opensans-regular.woff') format('woff');
}

@font-face {
    font-family: OpenSansLight;
    src: url('/themes/Scientia/fonts/opensans-light.woff') format('woff');
}

@font-face {
    font-family: OpenSansSemibold;
    src: url('/themes/Scientia/fonts/opensans-semibold.woff') format('woff');
}

@font-face {
    font-family: OpenSansBold;
    src: url('/themes/Scientia/fonts/opensans-bold.woff') format('woff');
}

/*!normalize.css v3.0.0 | MIT License | git.io/normalize */
html {
    font-family: 'OpenSansRegular';
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    font-size: 16px;
}

.icon-sidemenu {
    background-image: url(/themes/Scientia/images/side.svg);
    position: relative;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
}

@media (min-width: 1280px){
    .icon-sidemenu{
        display: none;
    }
}

.icon-sidemenu.show {
    background-image: url(/themes/Scientia/images/icon-close.svg);
    background-size: 1.3rem;
    top: 0.6rem;
}

.enllacIdioma {
    text-transform: capitalize;
}

.text_negre, .text_negre h3, .text_negre p, .text_negre a, .text_negre a:hover {
    color: #000000 !important;
}

.llistat_destacat_color_cont .list-group-item .destacat_color_cont a {
    height: inherit;
    display: table-cell;
    vertical-align: middle;
}
.destacat_color_cont a {
    font-size: 1em;
    vertical-align: middle;
    display: table-cell;
    display: inline-block\9;
    color: #fff;
}
@media (min-width: 47.939em) {
    .destacat_color_cont a {
        font-size: 1.125em;
    }
}
@media (min-width: 62em) {
    .destacat_color_cont a {
        font-size: 1.500em;
    }
}

.fpca_peu_new .NG--flex75 a[href*="/"]:not([href*=".gencat.cat"]):not([href^="#"]):not([href^="/"]):not([href^=mailto]):not([href^=tel]):after, .fpca_peu_new .NG--flex75 a[href*="/"][target=_blank]:not([href^="#"]):after {
    width: 13px;
    height: 13px;
    top: 0.5px;
}

.cercador_vermell .btn, header .container .in form .form-group .buttonG.btn {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    border-radius: 0;
    background: url(/themes/Scientia/images/NG_ico_lupa.png) no-repeat center center #BD0000;
    border-color: #BD0000;
    height: 100%;
    width: 3em;
}


.cercador_vermell .form-group .form-control {
    font-size: 1em;
    position: relative;
    padding: 0.4em 0 0.4em 2em;
    font-size: 15px;
    display: block;
    width: 100%;
    background: url(/themes/Scientia/images/NG_ico_cercador_mbl.png) no-repeat 0.467em center #FFFFFF;
    border-radius: 0;
    border: 1px solid #ddd;
    height: 2.667em;
    box-shadow: none;
    font-family: 'OpenSansRegular', Helvetica, Arial, sans-serif;
    color: #666;
    -webkit-appearance: none;
}

.cercador_vermell button.btn {
    border: none;
    height: 2.375em;
    position: absolute;
    top: 0.263em;
    width: 2.125em;
    right: 1px;
    border-radius: 0;
    background: url(/themes/Scientia/images/NG_ico_cercador_tancar.png) no-repeat center center #FFFFFF;
}
@media (min-width: 47.939em) {
    .cercador_vermell .form-group .form-control {
        background: #fff;
        padding: 6px 0 6px 10px;
        -webkit-appearance: none;
    }
}

.cercador_vermell .form-group {
    display: block;
    position: relative;
    margin-bottom: 0;
}

.sr-only {
    clip-path: inset(100%);
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
.cerca-av{
    margin-right: 18px;
    margin-top: 8px;
}
.fpca_cercadorGencat .cerca-av button {
    font-size: 15px;
}

.btn-primary {
    color: #fff;
    background-color: #BD0000;
    border-color: #BD0000;
    border-radius: 0;
}

#main-container #sidebar {
    background-color: #fff
}

.bgGrey {
    background: #f5f5f5;
}




.recent-submission > ul > li, #aspect_discovery_SimpleSearch_div_search-results > div {
    border-bottom: 1px solid #ddd;
    width: 100%;
    padding: 0 20px;
    line-height: 1.700em;
    padding: 0 20px 10px 20px !important;
}
.recent-submission > ul > li:nth-child(1){
    margin-top: 0.7em;
}


#main-container .row-offcanvas {
    background-color: #fff;
}

.fpca_llista_quadriculaColors .llistat_destacat_color_cont .list-group-item .destacat_color_cont a{
    padding: 43px;
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

#ds-options > div:not(:first-of-type):not(:empty) {
    margin: 0 0 1.25em 0;
    width: 100%;
    background: white;
    -webkit-box-shadow: 0 1px 5px 0 rgb(0 0 0 / 12%), 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 20%);
    box-shadow: 0 1px 5px 0 rgb(0 0 0 / 12%), 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 20%);
    border-top: 6px solid #DDDDDD;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}


#ds-options > div:not(:first-of-type):not(:empty) list:nth-of-type(2) a:first-of-type {
    border-top: 7px solid #DDDDDD !important; /* Forzar aplicación */
}

.list-group.aspect-administrative{
    margin: 0 0 1.25em 0;
    width: 100%;
    background: white;
    -webkit-box-shadow: 0 1px 5px 0 rgb(0 0 0 / 12%), 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 20%);
    box-shadow: 0 1px 5px 0 rgb(0 0 0 / 12%), 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 20%);
    border-top: 6px solid #b1d2eb;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}


#ds-options .list-group:hover {
    -webkit-box-shadow: 0 3px 14px 2px rgb(0 0 0 / 12%), 0 8px 10px 1px rgb(0 0 0 / 14%), 0 5px 5px -3px rgb(0 0 0 / 20%);
    box-shadow: 0 3px 14px 2px rgb(0 0 0 / 12%), 0 8px 10px 1px rgb(0 0 0 / 14%), 0 5px 5px -3px rgb(0 0 0 / 20%);
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
}

#aspect_discovery_Navigation_list_discovery:hover{
    -webkit-transform: translate(-5px);
    transform: translate(-5px);
}

#ds-options .list-group a.list-group-item.active  span{
    margin-bottom: 5px;
    font-family: "OpenSansSemibold";
    color: #333;
    font-size: 20px;
}

.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {
    z-index: 2;
    color: #fff;
    background-color: #fff;
    border-color: #fff;
}

#ds-options .list-group .list-group-item {
    border: 0;
    border-radius: 0;
    display: flex;
    align-items: flex-start;
    border-top: 1px solid #ddd;
    margin-bottom: 0px !important;
}

.documents {
    column-count: 1;
    column-gap: 20px;
}

.document {
    break-inside: avoid;
}

.document .single-document {
    flex: 0 1 30%;
    display: flex;
    justify-content: space-between;
    margin-right: 12px;
}
.document .single-document .doc-name {
    text-align: left;
    margin-top: 10px;
}

.document .single-document .doc-name .name {
    font-size: inherit;
    font-weight: 700;
    color: #C00000;
    overflow-wrap: break-word;
}

.document .single-document .doc-name .size {
    color: #C00000;
}

.document .single-document .download {
    flex: 1 1 30%;
    text-align: center;
    margin-top: 1rem;
    color: #C00000;
}

.document .single-document .download .circle {
    display: inline;
    border: 1px solid #C00000;
    border-radius: 5rem;
    padding: 0.4rem 0.8rem;
}

.openseadragon1 {
    width: 100%;
    height: 480px;
}
.toolbar {
    width: 100%;
    height: 33px;
    border: none;
    color: #333;
    padding: 4px;
    background-color: transparent;
}

.toolbar div{
    top: 0px !important;
}
.title-area .doc-nav {
    float: right;
    width: 11%;
    margin-top: 20px;
}

.title-area .doc-nav .inav {
    display: inline-block;
    border: 1px solid #C00000;
    border-radius: 5rem;
    padding: 0.36em 0.75em;
    color: #C00000;
}

#title-document{
    width: 88%;
    display: inline-block;
    word-wrap: break-word;
}


@media (max-width: 576px) {
    .fpca_llista_quadriculaColors .llistat_destacat_color_cont .list-group-item > div {
        height: 100% !important;
    }
}

.openseadragon1{
    background-color: #333333;
}

#toolbarDiv img {
    border: 1px solid black !important;
    border-radius: 50%;
    background-color: transparent !important;
}