:root {
  --wall-primary: #0071b9;
  --wall-primary-soft: #005fab;
  --wall-accent: #fbaa00;
  --wall-surface: #f4f8fb;
  --wall-text: #172033;
  --wall-white: #fff;
}

html,
body,
button,
input,
select,
textarea,
.pv-wrapper,
.pv-wrapper *,
.modal,
.modal *,
.ui-widget,
.ui-widget * {
  font-family: "Roboto", Arial, sans-serif !important;
}

html,
body {
  color: var(--wall-text);
  font-size: 14px;
  font-weight: 400;
}

#top,
.pv-wrapper,
.pv-toolbarpanel {
  background: var(--wall-primary);
  filter: none;
}

.pv-toolbarpanel {
  border-bottom-color: var(--wall-accent);
}

.pv-toolbarpanel-view {
  border-color: rgba(255, 255, 255, 0.35);
}

#page {
  background: var(--wall-surface);
}

#buttoninfo,
#buttoncharte,
#buttonplateformes {
  border: 1px solid var(--wall-primary);
  background: var(--wall-white);
  color: var(--wall-primary);
  font-size: 11px;
  font-weight: 500;
}

#buttoninfo:hover,
#buttoncharte:hover,
#buttonplateformes:hover,
#buttoninfo:focus,
#buttoncharte:focus,
#buttonplateformes:focus {
  background: var(--wall-accent);
  color: var(--wall-text);
}

.pv-toolbarpanel-facetbreadcrumb,
.pv-toolbarpanel-info,
.pv-toolbarpanel-name,
.pv-filterpanel-version,
.pv-filterpanel-clearall,
.pv-filterpanel-accordion .ui-accordion-header a,
.pv-facet-customrange-label,
.pv-countbox,
.pv-bucket-countbox {
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
}

.pv-filterpanel-version {
  color: var(--wall-white);
  text-shadow: none;
}

.pv-filterpanel-clearall {
  color: var(--wall-accent);
}

.pv-filterpanel-accordion .ui-accordion-header,
.pv-filterpanel-accordion .ui-accordion-header.ui-state-default,
.pv-filterpanel-accordion .ui-accordion-header.ui-state-hover,
.pv-filterpanel-accordion .ui-accordion-header.ui-state-focus,
.pv-filterpanel-accordion .ui-accordion-header.ui-state-active {
  background: var(--wall-primary);
  border-color: var(--wall-primary);
  color: var(--wall-white);
}

.pv-filterpanel-accordion .ui-accordion-header.ui-state-hover,
.pv-filterpanel-accordion .ui-accordion-header.ui-state-focus {
  background: var(--wall-primary-soft);
  border-color: var(--wall-primary-soft);
}

.pv-filterpanel-accordion .ui-accordion-header a,
.pv-facet-facetitem-label,
.pv-facet-customrange-label {
  color: var(--wall-white);
}

.pv-filterpanel-accordion-facet-list-item {
  position: relative;
  min-height: 17px;
  line-height: 17px;
}

.pv-facet-facetitem {
  margin: 2px 0 0 0;
}

.pv-facet-facetitem-label {
  left: 18px;
  right: 38px;
  width: auto;
  margin-top: 1px;
  overflow: hidden;
  font-size: 10px;
  font-weight: 400;
  line-height: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pv-facet-facetitem-label:hover {
  background: var(--wall-primary-soft);
}

.pv-facet-facetitem-count {
  min-width: 22px;
  margin-top: 1px;
  padding: 0 5px;
  border-radius: 8px;
  background: var(--wall-accent);
  background-image: none !important;
  color: var(--wall-text);
  font-size: 10px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
}

.pv-countbox,
.pv-bucket-countbox,
.pv-tableview-heading {
  background: var(--wall-primary);
  color: var(--wall-white);
}

.pv-filterpanel-accordion-facet-chart rect {
  stroke: var(--wall-primary);
  fill: var(--wall-accent);
}

.pv-infopanel {
  border-color: #004f8e;
  background: #12324a;
  color: var(--wall-white);
  box-shadow: 0 12px 30px rgba(18, 32, 51, 0.28);
}

.pv-infopanel-heading,
.pv-infopanel-details,
.pv-infopanel-copyright,
.pv-infopanel-related {
  color: var(--wall-white);
}

.pv-infopanel-heading {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.pv-infopanel-details,
.detail-item-title,
.detail-item-value {
  font-size: 13px;
  line-height: 1.35;
}

.detail-item-title {
  color: var(--wall-accent);
  font-weight: 700;
}

.detail-item-value,
.detail-item-value-filter {
  color: var(--wall-white);
}

.detail-item-value-filter:hover {
  background: #005fab;
}

.detail-item-link,
.pv-infopanel a {
  color: #ffd166;
}

#myModal .modal-dialog {
  max-width: 50vw;
  width: 50vw;
}

#myModal .modal-content {
  color: var(--wall-text);
  font-size: 14px;
  line-height: 1.45;
}

#myModal .modal-title,
#myModal h2,
#myModal h3,
#myModal h4,
#myModal h5 {
  font-weight: 700;
}

@media (max-width: 900px) {
  #myModal .modal-dialog {
    max-width: calc(100vw - 24px);
    width: calc(100vw - 24px);
  }
}
