nav.navbar {
    box-shadow: none !important;
    border-bottom: 1px solid #000 !important;
    margin-bottom: 0 !important;
}

nav.navbar .cart-icon {
    font-size: 18px;
    color: #000 !important;
    text-decoration: none !important;
    margin-left: 15px;
    margin-top: 16px;
    display: block;
}

.navbar .navbar-nav > .active > a {
    background-color: #000 !important;
    color: #fff !important;
}

.navbar-logo {
    display: block;
    height: 43px;
    padding-top: 15px;
    color: #000 !important;
    text-decoration: none !important;
    font-size: 20px;
}

.navbar-logo svg {
    display: block;
    height: 100%;
    width: auto;
}

.navbar-form .formOutline,
.browse-form .formOutline {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    background: #F5F5F5;
    border: none !important;
    box-shadow: none !important;
}

.navbar-form input,
.browse-form input {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    padding-left: 2px !important;
}

.navbar-form .btn-search,
.browse-form .btn-search {
    background: none !important;
    padding: 0;
    margin-left: 9px;
}

.navbar-form .btn-search span,
.browse-form .btn-search span {
    margin-top: 3px;
}

.detail-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #000 !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.detail-links a:hover {
    gap: 8px;
}

.detail-links a span {
    font-size: 24px;
    display: block;
}

.row.detail h1 {
    margin-top: 32px;
    font-size: 32px;
}

.row.detail .col-sm-8 {
    border-right: 1px solid #000;
    padding-inline: 0 !important;
}

.row.detail .col-sm-8 > *:not(hr) {
    padding-inline: 18px;
}

.row.detail .col {
    padding-top: 22px;
}

.row.detail .col-sm-12 {
    padding: 0 !important;
}

.row.detail .exemplaires {
    width: 100%;
    border-collapse: collapse;
    margin-left: 0;
    margin-top: -10px;
}

.row.detail .exemplaires th,
.row.detail .exemplaires td {
    padding: 18px 18px;
    text-align: left;
    font-size: 12px;
    font-weight: 400;
    color: #454545;
    border-left: 1px solid #000;;
}
table.exemplaires tr {
  border-top: 1px solid #000;;
}
table.exemplaires td:first-child,
table.exemplaires th:first-child {
  border-left: none !important;
}
table.exemplaires tr:first-child {
  border-top: none !important;
}

.row.detail label,
.row.detail summary,
.row.detail .exemplaires th {
    font-weight: 600;
    font-size: 14px;
    line-height: 120%;
    font-family: 'LatoLight', sans-serif;
    text-transform: none !important;
    color: #000;
}

.row.detail .unit label {
    margin: 10px 0px 10px 0px;
}

.row.detail .unit {
    display: flex;
    align-items: center;
    margin-bottom: -3px;
    font-size: 14px;
}

.row.detail .representation-caption {
    padding: 8px 6px;
}

.detail-details summary {
    cursor: pointer;
    padding: 10px 0px 5px 0px;
}

.detail-details .detail-chevron {
    float: right;
    transform: rotate(180deg);
    transition: all 0.2s ease;
}

.detail-details p {
    margin-top: 12px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #454545;
    font-size: 12px;
}

.detail-details[open] .detail-chevron {
    transform: none;
}

.footer-detail-links {
    display: flex;
    width: 100%;
}

.detailMediaToolbar {
    display: none !important;
}

.footer-detail-links .detail-links:empty {
    display: none !important;
}

.footer-detail-links .detail-links {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 18px 12px 12px 12px;
    border-top: 1px solid #000;
}

hr {
    border-color: #000 !important;
}

#footer {
    border-color: #000 !important;
    padding-top: 12px;
}

/* DETAIL ENTITY */

.row.detail-entity {
    text-align: start;
}

.row.detail-entity .col {
    padding-inline: 18px !important;
}

.row.detail-entity .container .row:first-child {
    border-bottom: 1px solid #000;
    min-height: 260px;
}

.row.detail-entity .container .row:first-child .text-end {
    display: flex;
    justify-content: end;
    width: 100%;
}

.row.detail-entity .container .row:first-child .text-end div {
    max-width: 40%;
}

.row.detail-entity .container .row:first-child h1 {
    margin-top: 0;
}

.row.detail-entity .container .row:first-child p {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 120%;
    width: 100%;
}

.row.detail-entity .container .row:last-child {
    overflow-x: auto;
}

.row.detail-entity .related-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0px 20px;
    padding: 0 20px !important;
    align-items: center;
    width: 100%;
    min-height: 54px;
    min-width: max-content;
}

.row.detail-entity .related-container .unit {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0 !important;
}

.row.detail-entity .related-container .unit img {
    max-width: 400px;
    max-height: 400px;
    object-fit: cover;
    object-position: top;
    border: 1px solid #000;
    border-top: none;
}

.row.detail-entity .related-container .unit .caption {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    color: #000 !important;
    border: 1px solid #000;
    border-top: none;
    border-bottom: none;
    padding: 18px;
    width: 100%;
    flex-grow: 1;
}

/* BROWSE */
.bResultItem {
	border-top:1px solid #000 !important;
	padding: 18px 0 !important;
	gap: 10px !important;
}

.bResultItemExpandedInfo {
    display: none !important;
}

.bResultItemCol,
.bResultItemContent,
.bResultItemText {
    height: 100% !important;
    max-height: 365px !important;
}

.bResultItemText {
    padding-top: 14px;
}
.bResultItemContent * {
    margin-bottom: 0 !important;
}

.bResultItem img {
    float:left;
	width:80px !important;
	height:auto !important;
	object-fit: contain !important;
	min-height:90px !important;
}

.bResultItem {
    box-shadow: none !important;
}

.bResultItemType {
    border: #000 1px solid;
	display: inline-block;
	border-radius: 4px;
}

.bResultItemType,
.bResultItemIdno,
.bResultItemLabel {
    font-size: 12px;
    font-weight: 600;
    color: #000;
    padding: 2px 6px;
}
.bResultItemLabel {
	font-family: Lato;
	font-weight: bold !important;
	font-size:1.05em;
}

.bResultItemIdno:has(a:empty) {
    display: none !important;
}

.bResultItemIdno:has(a:empty) + div {
    border-top: #000 1px solid !important;
}

.bResultItemText div + div {
    border-top: none !important;
}

.bResultItemCol {
    padding: 0px 10px !important;
}

#browseResultsContainer {
    padding: 0 5px !important;
}

.bResultItemImg {
    float:left;
	margin-right: 10px;
}

.bResultItemImg a {
    text-decoration: none !important;
}

.bResultItemImg.placeholder {
    border: #000 1px solid !important;
	width:80px !important;
	height: 90px !important;
}

.bResultItemImgPlaceholder {
    background: none;
    color: #000 !important;
    border: none !important;
    font-size: 2rem;
    text-decoration: none !important;
	padding:0;
}

.bResultItemImgPlaceholder i.fa {
    color: #000 !important;
}

.browseRemoveFacet button {
    background-color: #000 !important;
}

.bResultItem .bResultItemText {
    font-size: 1.4rem !important;
}

.jscroll-loading {
    padding: 20px;
}

.browse-form {
    margin-bottom: 20px;
    display: inline-block;
}

.bRefineSearch {
    display: flex;
    align-items: center; 
    gap: 10px;
}

#bRefine {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 !important;
    background: none !important;
    position: relative !important;
    gap: 10px;
    overflow: visible !important;
}

#bRefine h3 {
    margin: 0 !important;
    text-transform: capitalize !important;
    color: #000 !important;
    display: inline-block;
    font-weight: 600;
    font-family: 'LatoLight', sans-serif;
}

#bRefine .refine-detail {
    border: 1px solid #000 !important;
    padding: 8px 12px;
    font-size: 14px;
    position: relative;
    transition: top 0.4s ease;
}

#bRefine .refine-detail summary {
    list-style: none;
    user-select: none;
    cursor: pointer;
}

#bRefine .refine-detail summary::after {
    content: "";
    border: solid #000;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 4px;
    transform: rotate(45deg);
    margin-left: 10px;
    margin-bottom: 3px;
    transition: all 0.2s ease;
}

hr + hr {
    display: none !important;
}

#bRefine .refine-detail[open] {
    border-bottom: none !important;
    background: #fff;
    top: 10px;
}

#bRefine .refine-detail[open]::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0px;
    width: 100%;
    height: 4px;
    background-color: #fff;
}

#bRefine .refine-detail .refine-detail-container {
    position: absolute;
    width: max-content;
    border: 1px solid #000 !important;
    left: -1px;
    bottom: -4.5px;
    transform: translate(0, 100%);
    background: #fff;
    padding: 8px 12px;
    z-index: -1;
    min-width: 110%;
}

#bRefine .refine-detail[open] summary::after {
    transform: rotate(-135deg);
    margin-bottom: -2px;
}

.browse-form input {
    padding: 0px 7px;
    padding-left: 7px;
    border: 0px;
    border-radius: 10px;
    box-shadow: none;
    transition: none;
    background-color: transparent;
    font-family: Lato;
    height: 34px;
    outline: none !important;
}

.hierarchy_browse_button {
    display: block;
    width: fit-content;
    padding: 8px 12px;
    margin: -10px 0 20px 0;
    border: 1px solid #000;
    background: none;
    color: #000 !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.hierarchy_browse_button:hover {
    background: #000;
    color: #fff !important;
    text-decoration: none !important;
}

.browse-form .formOutline {
    width: fit-content;
    border: 1px solid #000 !important;
    background: none !important;
}

.bResultsHeading {
    padding: 0px;
    text-transform: none;
    margin: 42px 0 32px !important;
}

.browse-form .btn-search {
    position: static !important;
}

.bSetsSelectMultiple{
	display:none;	
}
/* FOOTER */

.footer-logos {
	width: 100%;
	padding: 12px 0;
	text-align: center;
	border-bottom: 1px solid #000;
}

.footer-logos .logos {
	max-width: 100vw;
	height: auto;
	object-fit: contain;
}

#footer {
    background: white;
    padding: 0px 0 60px 0;
    height: 0px !important;
    border-top: none;
    margin-top: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo a {
    display: block;
    text-decoration: none;
}

.footer-logo svg {
    width: 177px;
    height: 44px;
}

.footer-links {
    display: flex;
    gap: 80px;
    flex-grow: 1;
    justify-content: center;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin-bottom: 50px;
}

.footer-column li {
}

.footer-column li:last-child {
    margin-bottom: 0;
}

.footer-column a {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.5;
    transition: opacity 0.2s ease;
}

.footer-column a:hover {
    opacity: 0.7;
    text-decoration: none;
}

.footer-language {
    flex-shrink: 0;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 12px 16px;
    border: 1px solid #000;
    border-radius: 4px;
    background: white;
    transition: all 0.2s ease;
    position: relative;
}

.language-selector:hover {
    background: #f5f5f5;
}

.current-lang {
    font-size: 16px;
    font-weight: 500;
    color: #000;
}

.language-selector svg {
    width: 12px;
    height: 8px;
    transition: transform 0.2s ease;
}

.language-selector.show svg {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #000;
    border-top: none;
    border-radius: 0 0 4px 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 3px 16px;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #eee;
}

.lang-option:last-child {
    border-bottom: none;
}
a.lang-option  {
	text-decoration: none !important;
	color: inherit;
}
.lang-option:hover {
    background-color: #f5f5f5;
    text-decoration: none;
}

.lang-option.active {
    background-color: #000;
    color: white;
}

/* Responsive design */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-language {
        align-self: flex-start;
    }
}

@media (max-width: 1200px) {
    .footer-links {
        gap: 40px;
    }
}