:root {
    --ff-color-main: #e0532a;
    --ff-color-black: #1d1d1b;
    --ff-color-white: #FFFFFF;
    --ff-color-gray1: #F6F6F6;
    --ff-color-gray2: #EDEEEF;
    --ff-color-gray3: #b1b1b0;
    --ff-background-color: var(--ff-color-white);
    --ff-color: var(--ff-color-black);
    --ff-font-family: "degular-variable", sans-serif;
    --ff-font-family-serif: "ibm-plex-serif", serif;
    --ff-font-family-monospace: monospaced;
    --ff-font-weight: 400;
    --ff-line-height: 1.5;
    --ff-font-size: 100%;
    --ff-text-underline-offset: 0.1rem;
    --ff-spacing: 2rem;
    --ff-gap-xs2: 8px;
    --ff-gap-xs: 12px;
    --ff-gap-s: 16px;
    --ff-gap-m: 32px;
    --ff-gap-l: 30px;
    --ff-gap-xl: 128px;
    --ff-grid-column-gap: var(--ff-spacing);
    --ff-grid-row-gap: var(--ff-spacing);
    --ff-transition: 0.2s ease-in-out;
    --ff-icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    --ff-icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
    --ff-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    --ff-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    --ff-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
    --ff-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    --ff-icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
    --ff-icon-loading: url("data:image/svg+xml,%3Csvg fill='none' height='24' width='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E g %7B animation: rotate 2s linear infinite; transform-origin: center center; %7D circle %7B stroke-dasharray: 75,100; stroke-dashoffset: -5; animation: dash 1.5s ease-in-out infinite; stroke-linecap: round; %7D @keyframes rotate %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D @keyframes dash %7B 0%25 %7B stroke-dasharray: 1,100; stroke-dashoffset: 0; %7D 50%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -17.5; %7D 100%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -62; %7D %7D %3C/style%3E%3Cg%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='rgb(136, 145, 164)' stroke-width='4' /%3E%3C/g%3E%3C/svg%3E");
}




/* :where(:root) {
    -webkit-tap-highlight-color:transparent;
    -webkit-text-size-adjust:100%;
    -moz-text-size-adjust:100%;
    text-size-adjust:100%;
    background-color:var(--ff-background-color);
    color:var(--ff-color);
    font-weight:var(--ff-font-weight);
    font-size:var(--ff-font-size);
    line-height:var(--ff-line-height);
    font-family:var(--ff-font-family);
    text-underline-offset:var(--ff-text-underline-offset);
    text-rendering:optimizeLegibility;
    overflow-wrap:break-word;
    -moz-tab-size:4;
    -o-tab-size:4;
    tab-size:4;

  } */


/* reset */

* {
    min-width: 0;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: var(--ff-font-family);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

@media (min-width: 576px) {
    html {
        font-size: 106.25%;
    }
    }
    @media (min-width: 768px) {
    html {
        font-size: 112.5%;
    }
}

img, video, svg {
    display: block;
    height: auto;
    width: 100%;
    max-width: 100%;
}

body {
    margin: 0;
    min-height: 100dvh;
    overflow-x: hidden;
    width: 100%;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6, .display {
    text-wrap: balance;
    font-weight: inherit;
    font-family: var(--ff-font-family);
}

p {
    text-wrap: pretty;
    max-width: 80ch;
}

a {
    color: inherit;
text-decoration: none;
}

p a, li a {
    text-decoration: underline;
    text-underline-offset: var(--ff-text-underline-offset);
    text-decoration-style: dotted;
}

/* p a:hover, li a:hover {
    color: var(--ff-color-main);
} */

strong {
    font-weight: 400;
    font-variation-settings: "wght" 700;
    font-family: var(--ff-font-family);
}


ul, ol {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

button {
    font-family: var(--ff-font-family)!important;
}


.container, .container-fluid {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--ff-gap-m);
    padding-left: var(--ff-gap-m);
}



/* pisando bootstrap */

.row {
    margin: 0;
}

#pageArea {
    padding-top: var(--ff-gap-l);
}

h1 {
    text-transform: none;
}

/* nav */

nav {
    /* padding: var(--ff-gap-m); */
    padding: var(--ff-gap-m) var(--ff-gap-m) 0 var(--ff-gap-m);
     position: relative;
    width: 100%;
    z-index: 999999;
    font-size: 1rem;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ff-gap-xs);
}

nav ul li {
    background-color: var(--ff-color-black);
    color: var(--ff-color-gray1);
    padding: var(--ff-gap-xs) 0;
    position: relative;
    display: inline-block;
}

nav ul li:first-of-type {
    text-transform: uppercase;
}


nav ul li:hover {
    background-color: var(--ff-color-main);
    color: var(--ff-color-black);
}

nav ul li a {
    padding: var(--ff-gap-xs) var(--ff-gap-m);
    text-decoration: none;
}

nav a:hover {
text-decoration: none;
color: inherit;
}

.submenu {
    text-transform: none;
    display: none;
    position: absolute;
    top: 100%;
    background-color: var(--ff-color-white);
    width: 100%;
    color: var(--ff-color-black);
} 

.submenu a {
    display: block;
}

.submenu a:hover {
    color: var(--ff-color-main);
    font-variation-settings: "wght" 600;
}

.submenu a:hover::before {
    content: "—"
}

nav ul li:hover .submenu {
    display: block;
}


/* footer */

footer {
    /* font-size: 80%; */
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: var(--ff-gap-l) 0 var(--ff-gap-m) 0;
    margin: 0 var(--ff-gap-m);
    color: var(--ff-color-black);
    gap: var(--ff-gap-m);
    border-top: 1px solid var(--ff-color-gray3);
    font-size: 110%;
    padding-top: 64px;
    margin-top: 120px;
}

footer ul {
    padding-left: 0;
}

footer ul li {
    list-style-type: none;
    text-transform: uppercase;
    float: left;
    margin-right: 10px;
}

footer ul li span {
    color: var(--ff-color-main);
    text-transform: none;
    display: block;
}

footer ul li:not(:last-of-type) span {
    /*margin-left: var(--ff-gap-xs);*/
    margin-left: 0;
}
.copyright {
    font-size: 13px;
    max-width: 100%;
    padding-right: 30px;
}


/* filtros */

.bCriteria {
    display: none;
}

.bCriteria .btn {
    font-family: var(--ff-font-family);
    border: 1px solid var(--ff-color-black);
    font-size: 80%;
    background-color: var(--ff-color-black);
    color: var(--ff-color-white);
    padding: var(--ff-gap-xs2) var(--ff-gap-xs2) var(--ff-gap-xs2) var(--ff-gap-xs2);
    border-radius: 4px;
}

.bCriteria .btn:hover, .bCriteria .btn:hover span {
    background-color: var(--ff-color-white)!important;
    color: var(--ff-color-black)!important;
}

#bRefine {
    display: none;
    padding: var(--ff-gap-xs);
    border: 1px solid var(--ff-color-gray3);
    margin-bottom: var(--ff-gap-m);
    background-color: var(--ff-color-white);
}

#bRefine h2, #bRefine h3, #bRefine div {
    display: inline-block;
}

#bRefine h3, #bRefine div, #bRefine h2 {
    margin: 0;
}

#bRefine h3:not(:first-of-type) {
    margin-left: var(--ff-gap-m);
}

#bRefine h2 {
    margin-right: var(--ff-gap-m);
}

#bRefine a {
    font-size: 1rem;
}

#bRefine div {
    margin-left: var(--ff-gap-xs);
}

/* expos */

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--ff-gap-m);
    /* text-transform: uppercase; */
}

nav ul li:nth-of-type(1) {
    font-variation-settings: "wght" 600;
    background-color: var(--ff-color-white);
    color: var(--ff-color-black);
    text-transform: uppercase;
    padding: 4px 0 0 0;
}

.artist-title {
    font-size: 150%;
}

nav ul li:nth-of-type(2) {
    /* background-color: var(--ff-color-main); */
    color: var(--ff-color-white);
    /* font-variation-settings: "wght" 700; */
}

nav ul li .ff {
    background-color: var(--ff-color-black);
    color: var(--ff-color-white);
    font-size: 125%;
    padding: var(--ff-gap-s) var(--ff-gap-s) var(--ff-gap-xs) var(--ff-gap-s);
}

nav ul li.current {
    background-color: var(--ff-color-gray3);
}

nav ul li.current span {
    color: var(--ff-color-black);
}

main#exposiciones {
    padding: var(--ff-gap-l) var(--ff-gap-m);
    min-height: 100dvh;
    /* background-color: var(--ff-color-gray2); */
}

ul.lista-exposiciones li {
margin-bottom: var(--ff-gap-s);
}

ul.lista-exposiciones li img {
width: 350px;
max-width: 100%;
margin-bottom: var(--ff-gap-xs2);
}

.exhibicion_container {
    padding-top: var(--ff-gap-m);
    padding-bottom: var(--ff-gap-xl);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--ff-gap-s);
}

.exh_pics {
    display: grid;
    gap: var(--ff-gap-s);
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-bottom: var(--ff-gap-l);
}

.exh_pics_obras {
    display: grid;
    gap: var(--ff-gap-s);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.exh_pics_obras figcaption {
    margin-top: var(--ff-gap-xs2);
    font-size: 80%;
}

h2 {
    text-transform: uppercase;
    font-size: 80%;
    font-variation-settings: "wght" 600;
    /* color: var(--ff-color-gray3); */
}

/* obras grid masonry */

.grid-sizer,
.grid-item { 
    width: 100%; 
    /*margin-bottom: var(--ff-gap-l);*/
}
.gutter-sizer { 
    width: 0; 
}

@media (min-width: 768px) {
    .grid-sizer,
    .grid-item { 
        width: 48%; 
    }
    .gutter-sizer { 
        width: 4%; 
    }
}

@media (min-width: 992px) {
    .grid-sizer,
    .grid-item { 
        width: 22%; 
    }
    .gutter-sizer { 
        width: 4%; 
    }
}

.bResultItem {
    border: none;
    box-shadow: none;
        padding: 0;
        transition: all 0.2s ease-in-out;
}

.bResultItem:hover {
    opacity: 0.8;
}

.bResultItemContent {
    padding: 0;
}

.bResultItemImg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.bResultItemImg img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.bResultItemText {
    padding: 10px 0;
    margin-bottom: 20px;
}

.bResultItemText > a {
    font-style: normal;
}

.bResultItem .bResultItemText {
    font-size: 1rem;
  }

/* expos list */

.bResultListItem {
    box-shadow: none !important;
    padding: 0;
}

.bResultListItem .bResultListItemImg {
    margin-right: var(--ff-gap-s);
}

.bResultListItem .bResultListItemText { 
    font-size: 1rem;
  }

.bResultListItem:hover {
    transform: none !important;
}

/* object detail */

.ca_objects .navTop {
    display: none;
}

#caMediaPanel {
    z-index: 9999999999;
}

.ca_objects {
    font-size: 1rem;
}

.ca_objects h1, .ca_occurrences h1 {
    font-size: 2rem;
    line-height: 1.2;
    position: relative;
}
.count{
	position: absolute;
    right: 12px;
    font-size: 20px;
    top: -68px;
}


.ca_objects.detail h1 {
}
div.caMediaOverlayControls .objectInfo, div.caMediaOverlayControls .repNav{
	font-size: 16px;
}
.detail .repViewerCont img{
	max-height: 700px;
	height: 700px;
}

.ca_objects h2 {
        text-transform: uppercase;
        font-size: 80%;
        font-variation-settings: "wght" 600;
}

.obra_text_table {
    border-bottom: none;
    border-collapse: separate;
    border-spacing: 0 1px;
    width: 100%;
    margin-bottom: var(--ff-gap-l);
    font-size: 1rem;
}

.obra_text_table td {
    border-top: 1px solid var(--ff-color-gray3);
    padding: var(--ff-gap-xs2) var(--ff-gap-xs);
    vertical-align: top;
}

.obra_text_table tr:first-child td {
    border-top: none;
}

.obra_text_fila {
    border-bottom: 1px solid var(--ff-color-gray3);
    padding: var(--ff-gap-xs) 0;
}

.obra_text_fila_title {
    color: var(--ff-color-gray3);
    margin-right: 1rem;
    min-width: 145px;
}

.obra_text_table .expos a{
	border-bottom: 1px solid #e6e6e6;
    display: block;
    width: 100%;
    padding: 4px 0;
    color: #454545;
}

/* expos detail */

.ca_occurrences.detail {
    font-size: 1rem;
}

.exhibicion_container {
    /* padding-top: var(--ff-gap-m); */
    padding-bottom: var(--ff-gap-xl);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--ff-gap-s);
}

.exh_pics {
    padding-bottom: var(--ff-gap-s);
}

/* .exh_pics_obras {
    display: grid;
    gap: var(--ff-gap-s);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding: var(--ff-gap-s) 0;
} */

.exh_pics_obras figcaption {
    margin-top: var(--ff-gap-xs2);
    font-size: 80%;
}

.ca_occurrences.detail h2 {
    text-transform: uppercase;
    font-size: 80%;
    font-variation-settings: "wght" 600;
    /* color: var(--ff-color-gray3); */
}

.carousel-cell {
    width: 22%; /* full width */
    height: 300px; /* height of carousel */
    margin-right: 4%;
  }

.flickity-prev-next-button {
    display: none;
}
@media (max-width: 768px) {
	.container, .container-fluid {
	    padding-right: 15px;
	    padding-left: 15px;
	}
	.count{
		display: none;
	}
    .filter-counter{
	    width: 100%;
        top: inherit !important;
        bottom: -47px;
        right: -10px !important;
    }
    .filter-group {
	    display: flex;
	    align-items: baseline;
	    flex-direction: column;
	    width: 100%;
	    align-items: normal !important;
	}
	.filter-dropdown{
		width: 100%;
	}
	.foto-ficha, .datos-ficha{
		padding-left: 0px;
		padding-right: 0px;
		margin-left: 0px;
		margin-right: 0px;
	}
	.jcarousel-wrapper, .jcarousel, .detail .repViewerCont img {
	    height: 500px!important;
	    max-height: 500px!important;
	}
	.obra_text_table{
		margin-top: 30px;
	}
	.obra_text_fila_title, .obra_text_fila_value{
		display: block;
		padding-bottom: 0px !important;
	    margin-bottom: 0px !important;
	    font-size: 14px;
	}
	.obra_text_fila_value {
        border: none !important;
        margin-top: 0px !important;
        padding-top: 0px !important;
    }
    .zoomButton{
	    pointer-events: none;
    }
    footer{
	    grid-template-columns: 1fr;
    }
    footer ul, footer p{
	    margin-bottom: 0px;
    }
    footer ul li:first-child{
	    display: none;
    }
    footer li a {
        font-size: 90% !important;
    }
    .copyright {
	    font-size: 12px;
	    max-width: 100%;
	    padding-right: 0px;
	    text-align: justify;
	}
}