@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap");
:root {
  --color_body: 255, 255, 255;
}

:root {
  --grid-width: 75em;
  --grid-padding: 1em;
}

html {
  font-size: 16px;
}

* {
  font-family: Poppins, sans-serif;
}

img {
  max-width: 100%;
}

body {
  grid-template-areas: "navbar_top" "navbar_hero" "content";
  grid-template-rows: 2em min-content auto;
  grid-template-columns: 1fr;
}

.navbar_top {
  font-size: clamp(0.7em, 0.389rem + 0.49vw, 0.875em);
}

.navbar_hero {
  grid-area: navbar_hero;
}
.navbar_hero a {
  color: rgb(var(--color_text));
}
.navbar_hero a.home-link, .navbar_hero a.site-link {
  max-width: 40%;
  width: 10em;
}
.navbar_hero a.home-link img, .navbar_hero a.site-link img {
  max-width: 100%;
  height: auto;
}
.navbar_hero a:hover, .navbar_hero a.active {
  text-decoration: none;
}

.navbar_hero__wrapper {
  max-width: calc(var(--grid-width) - var(--grid-padding));
  padding: 0 var(--grid-padding);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}
.navbar_hero__wrapper nav {
  width: 100%;
}

.navbar_hero {
  background-color: rgb(var(--color_secondary));
}
.navbar_hero nav ul {
  gap: clamp(2em, -3.333rem + 8.33vw, 5em);
}
.navbar_hero nav li {
  position: relative;
}
.navbar_hero nav a {
  display: inline-block;
  text-transform: uppercase;
  font-weight: 700;
  padding: var(--grid-padding) 0;
}
.navbar_hero nav a.active::after {
  content: "";
  border-bottom: 2px solid black;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.navbar_hero nav ul.submenu {
  position: absolute;
  top: calc(100% + 0.5em);
  left: 0;
  background-color: rgb(var(--color_secondary));
  padding: 0.5em;
  width: 12.5em;
}
.navbar_hero nav ul.submenu > li {
  display: block;
  padding-left: 0;
  line-height: 1.5;
}
@media screen and (max-width:37.5em) {
  .navbar_hero nav {
    display: none;
  }
}
.navbar_hero .menu-mobile {
  display: none;
  width: 100%;
  text-align: right;
}
@media screen and (max-width:37.5em) {
  .navbar_hero .menu-mobile {
    display: block;
  }
}

@media screen and (max-width:37.5em) {
  .navbar_top nav {
    display: none;
  }
}
#view {
  padding: 0.5em var(--grid-padding);
  margin: 0 auto;
  max-width: var(--grid-width);
  width: 100%;
  box-sizing: border-box;
}

.view-head {
  margin-bottom: 2em !important;
}
.view-head h1 {
  font-size: 1.25em;
  text-transform: uppercase;
}
.view-head .content p {
  color: #707070;
}

#view section.table.scrollable:not(.grab-pointer):hover {
  cursor: initial;
}

body.esposizioni .scrollable table td:nth-child(4),
body.esposizioni .scrollable table td:nth-child(5) {
  min-width: 16em;
}

body.bibliografie .scrollable table td:nth-child(4) {
  min-width: 24em;
}
body.bibliografie .scrollable table td:nth-child(3) {
  min-width: 16em;
}
body.bibliografie .scrollable table td:nth-child(5) {
  min-width: 8em;
}
body.bibliografie td .nome {
  font-style: italic;
}

body.aste .scrollable table td:nth-child(1) {
  min-width: 24em;
}
body.aste .scrollable table td:nth-child(5),
body.aste .scrollable table td:nth-child(6) {
  min-width: 16em;
}

body.contatti #view a,
body.privacy-cookie #view a,
body.termini-condizioni-uso #view a {
  text-decoration: underline;
}

body.privacy-cookie #view h1:not(:first-child) {
  margin-top: 1em;
}
body.privacy-cookie #view table {
  table-layout: fixed;
  border-collapse: collapse;
  margin-bottom: 1em;
}
body.privacy-cookie #view table th,
body.privacy-cookie #view table td {
  border: 1px solid black !important;
}

body.avvertenze .content {
  scroll-behavior: smooth;
}
body.avvertenze #view .navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  margin-bottom: 2em;
}
body.avvertenze #view .navigation a {
  border: 1px solid black;
  padding: 0.5em 1.5em;
  text-transform: uppercase;
  font-weight: bold;
}

table tr th > div {
  display: flex;
  justify-content: space-between;
}

table thead {
  background-color: rgb(var(--color_body));
}
table tr th,
table tr td {
  padding: 0.5em calc(var(--grid-padding) / 2);
}
table tr th,
table tr td,
table tr th:first-child,
table tr td:first-child,
table tr:nth-child(odd) td {
  background: transparent;
  border: none;
}

table td a {
  text-decoration: underline;
}

input.editable {
  border: 1px solid darkgrey !important;
}

.table-blocks .blocks {
  gap: 5em 0.75em;
}
.table-blocks .blocks .element {
  gap: 0.75em;
}
.table-blocks .blocks .foto {
  position: relative;
  padding-bottom: 100%;
  margin-bottom: 0.75em;
}
.table-blocks .blocks .foto img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.table-blocks .blocks div:not(.tipologia) {
  text-transform: uppercase;
}
.table-blocks .blocks .inventario {
  color: #9d9c9c;
  font-size: 0.75em;
}
.table-blocks .blocks .tipologia a {
  color: #f59494;
  font-size: 0.75em;
}

.range_container {
  width: 100%;
}

.filepond--root {
  margin-bottom: 0 !important;
}

.filepond--credits {
  display: none !important;
}

form.filter {
  font-size: 0.75em;
  margin-bottom: var(--grid-padding);
}
form.filter input {
  width: 100%;
}
form.filter button {
  padding: 0;
  width: 100%;
  max-width: 100%;
}

form .input-wrapper:has(span) {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: rgb(var(--color_secondary)) !important;
}

a.button {
  display: inline-block;
  box-sizing: border-box;
  max-height: 2.25em;
  text-decoration: none;
  background-color: buttonface;
  padding: 0.25em 0.5em;
  border: 1px solid rgb(var(--color_border));
  color: rgb(var(--color_text));
}

div#login .logo-wrapper,
div#signin .logo-wrapper {
  max-width: 16em;
}

div#login button {
  max-height: initial;
}

div#signin input[type=checkbox] {
  width: auto;
}
div#signin button {
  max-height: initial;
}

footer {
  width: 100%;
  max-width: var(--grid-width);
  padding-right: var(--grid-padding);
  padding-left: var(--grid-padding);
  padding-bottom: 5em;
  margin-top: var(--grid-padding);
  box-sizing: border-box;
}
footer p {
  font-size: 0.7em;
}

#modal .modal-body {
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  display: flex;
  /*align-items: center;*/
  justify-content: center;
}
#modal .modal-body .trigger-modal {
  top: 2em;
}
#modal .modal-body .modal-content {
  padding: 2em 0;
}
#modal .modal-body .modal-content nav {
  gap: 1em;
}
#modal .modal-body .modal-content nav ul {
  flex-direction: column;
}
#modal .modal-body .modal-content nav ul li {
  position: relative;
}
#modal .modal-body .modal-content nav ul a {
  display: inline-block;
  text-transform: uppercase;
  font-weight: 700;
  padding: calc(var(--grid-padding) / 2) 0;
  color: var(--color_text);
}
#modal .modal-body .modal-content nav ul a.active {
  text-decoration: none;
}
#modal .modal-body .modal-content nav ul a.active::after {
  content: "";
  border-bottom: 2px solid black;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.filter {
  margin-bottom: 8em !important;
}
.filter .grid {
  gap: 1rem;
}
.filter label {
  display: flex;
  flex-wrap: wrap;
}
.filter button[type=reset],
.filter button[type=submit] {
  align-self: flex-end;
  line-height: 2.5em;
  max-height: initial;
}

.select2-selection--multiple {
  padding: 0;
  border: 0 !important;
  display: flex !important;
  align-items: center;
}

body.opera .content {
  margin-top: 1em;
}

body.opera .crud {
  padding: 0 !important;
}
body.opera .crud form dl dt {
  gap: 1em;
}
body.opera .crud .crud_label + * {
  width: 80%;
  flex-shrink: 0;
}
body.opera .crud .control-button {
  margin-right: 1em;
}

.opera-view {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: clamp(3em, -1.8rem + 12.8vw, 11em) 2em;
}
.opera-view a {
  color: #796b54;
}
.opera-view h1 {
  font-size: 1.5em;
  margin-bottom: 1.5em;
  text-transform: uppercase;
}
.opera-view .single-data {
  display: grid;
  grid-template-columns: max-content auto;
  gap: 1em;
  font-size: 0.85em;
}
.opera-view .single-data h4,
.opera-view .single-data p {
  margin: 0;
}
.opera-view .single-data h4 {
  font-weight: 300;
  text-transform: uppercase;
}
.opera-view .single-data:not(:first-of-type) {
  margin-top: 1em;
}
.opera-view .single-data.notes {
  margin-top: 2.5em;
}
.opera-view .images #featured {
  margin: 0 auto;
  width: 100%;
  height: 71.45%;
  object-fit: cover;
}
.opera-view .images .secondaries {
  position: relative;
  margin-top: 1em;
}
.opera-view .images .secondaries .tns-outer {
  width: calc(100% - 4em);
  margin: 0 auto;
}
.opera-view .images .secondaries .tns-outer .tiny-slider {
  display: flex;
}
.opera-view .images .secondaries .tns-outer .tiny-slider img {
  height: 100%;
  object-fit: cover;
}
.opera-view .images .secondaries button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.opera-view .images .secondaries #ts-prev {
  left: 0;
}
.opera-view .images .secondaries #ts-next {
  right: 0;
}
.opera-view .images .caption {
  margin-top: 1rem;
  font-size: 0.7em;
}
.opera-view .exhibits,
.opera-view .bibliography,
.opera-view .auctions {
  grid-column: span 2;
}
.opera-view .exhibits a,
.opera-view .bibliography a,
.opera-view .auctions a {
  color: rgb(var(--color_text));
  text-decoration: underline;
}
.opera-view .exhibits h3,
.opera-view .bibliography h3,
.opera-view .auctions h3 {
  text-transform: uppercase;
}
.opera-view .exhibits .data-grid,
.opera-view .bibliography .data-grid,
.opera-view .auctions .data-grid {
  display: grid;
  gap: 1em;
  width: 100%;
  overflow: auto;
  padding-bottom: 1em;
}
@media screen and (max-width:37.5em) {
  .opera-view .exhibits div,
  .opera-view .bibliography div,
  .opera-view .auctions div {
    white-space: nowrap;
  }
}
.opera-view .exhibits h3 {
  grid-column: span 5;
}
.opera-view .exhibits .data-grid {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}
.opera-view .bibliography h3 {
  grid-column: span 3;
}
.opera-view .bibliography .data-grid {
  grid-template-columns: 1fr 1fr 1fr 2fr 1fr;
}
.opera-view .auctions h3 {
  grid-column: span 5;
}
.opera-view .auctions .data-grid {
  grid-template-columns: 2fr 1fr 1fr 2fr 2fr;
}
@media screen and (max-width:75em) {
  .opera-view .images,
  .opera-view .opera-content {
    grid-column: span 2;
  }
}

.esposizione-view h2 {
  font-size: 1.25em;
  text-transform: uppercase;
  margin-bottom: 2.3em;
}
.esposizione-view h1 {
  font-size: 1em;
}
.esposizione-view small {
  color: #9d9c9c;
}
.esposizione-view .content {
  margin-bottom: clamp(3em, -1.2rem + 11.2vw, 10em);
}/*# sourceMappingURL=somaini.css.map */