@font-face {
  font-family: "IBM Plex Sans";
  src: url(/themes/rcaap/css/fonts/IBMPlexSansVar.woff2) format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url(/themes/rcaap/css/fonts/IBMPlexSansVar-Italic.woff2) format("woff2");
  font-weight: 100 700;
  font-style: italic;
  font-display: swap;
}

:root {
  /* FONTS */
  --font-family: "IBM Plex Sans", -apple-system, system-ui, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* COLORS */
  --brand-purple: #4f2dff;
}

body {
  font-family: var(--font-family);
}

.main {
  background-color: #f6f6f6;
}

.main .container {
  background-color: #f6f6f6;
}

h2,
.h2 {
  font-weight: bold;
}

/* HEADER */
header .navbar-brand {
  background-image: url(/themes/rcaap/images/RCAAP-RGB_Versão-Principal-Preto.svg);
}

header {
  background-color: #fff;
}

header .navbar,
header a,
header .nav a,
header .btn-link,
header button.dropdown-toggle {
  color: #000;
}

.navbar-brand {
  margin-left: 50px;
}
.header-resume {
  padding: 20px 180px 20px 20px;
  margin: 20px;
  height: 100%;
  width: 50%;
  font-size: 1.2em;
  text-align: center;
  align-content: center;
  justify-content: center;
  text-align: justify;
}

.navbar {
  display: flex;
  flex-direction: column;
}

.navbar-custom {
  border-top: 1px solid rgb(206, 206, 206);
  border-bottom: 1px solid rgb(206, 206, 206);
  width: 100%;
}

.navbar-custom .navbar-line {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.navbar-custom .nav-left,
.navbar-custom .nav-right {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
}

.navbar-custom .nav-left {
  margin-left: 50px;
}

.navbar-custom .nav-right {
  margin-right: 50px;
}

.navbar-custom .nav-right .nav-search {
  display: inline-flex;
  align-items: center;
}
.navbar-custom .nav-right .dropdown-toggle::after {
  content: none;
}

header .nav.navbar-nav > li > a,
header .nav.navbar-nav button.dropdown-toggle {
  border-bottom: 2px solid transparent;
}

header .nav.navbar-nav > li > a:hover,
header .nav.navbar-nav > li > a:focus,
header .nav.navbar-nav button.dropdown-toggle:hover,
header .nav.navbar-nav button.dropdown-toggle:focus {
  color: #000;
  background-color: #fff;
  border-bottom: 2px solid #000;
  outline: none;
}

.navbar-nav .nav-link.active {
  color: #000;
  border-bottom: 2px solid #000;
}

header .banner.container {
  margin: 0;
  padding: 0;
  max-width: 100%;
}

header .banner.container .container {
  margin: 0;
  padding: 0;
  max-width: 100%;
}

header .banner .dropdown-menu {
  border-radius: 0;
}

header .dropdown-menu .active a {
  background-color: var(--brand-purple);
  color: #fff;
}

.searchForm .searchForm-query {
  position: relative;
  display: inline-block;
}

.searchForm .searchForm_lookfor {
  padding-right: 2.5rem;
  display: block;
  margin: 0 auto;
}

.searchForm .searchForm-submit {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: black;
  padding: 0;
  display: inline-flex;
  align-items: center;
}

.searchForm .active-filters {
  display: none;
}

.banner .navbar-header {
  margin: 0;
  padding: 20px 200px;
  width: 100%;
  max-width: 100%;
  background-color: #000;
  color: #fff;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  justify-content: end;
}

.banner .navbar-header .logo {
  width: 60px;
  height: 20px;
  margin-right: 5px;
}

.record-logo img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.record-list img.record-resource-icon {
  width: 75px;
  height: 75px;
  max-width: 75px;
  max-height: 75px;
  border-radius: 50%;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-top: 10px;
  object-fit: contain;
  border: 1px solid #e3e3e3;
}

.resource-logo-thumb {
  max-width: 90px;
  max-height: 90px;
  object-fit: contain;
}

.record-toolbar-placeholder {
  height: 46px;
}

.resource-extra-row td {
  vertical-align: top;
  width: 50%;
}

.resource-extra-row .field-label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.resource-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.resource-tags .tag-chip {
  display: inline-block;
  padding: 4px 8px;
  background: #f0f0f0;
  border-radius: 0;
  font-size: 0.95em;
}

.result-summary-text.clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.result-summary-text.expanded {
  -webkit-line-clamp: unset;
  display: block;
}

.result-summary-toggle {
  padding-left: 0;
  color: #000;
  font-weight: 600;
}

.result-summary-toggle:hover {
  color: var(--brand-purple);
  text-decoration: none;
}

.result-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.tag-chip {
  display: inline-block;
  padding: 4px 8px;
  background: #d7d7d7;
  border-radius: 0;
  font-size: 0.95em;
  text-align: center;
  align-items: center;
}

.tag-chip.chip-access {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.chip-access.open {
  background: #e1d4ff;
  color: var(--brand-purple);
}

.chip-access.restricted {
  background: #ffecec;
  color: #b30000;
}

.publication-description {
  margin: 10px 0 16px;
  font-size: 1.05em;
  line-height: 1.5;
}

.result .result-arrow-link a.publication-link {
  color: #777;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.subject-chip {
  margin-right: 4px;
  margin-bottom: 8px;
  display: inline-block;
}

.result .result-arrow-link a.publication-link:hover {
  color: #000;
  text-decoration: none;
}

.banner .navbar-header a {
  text-decoration: none;
  color: #fff;
}

.banner .navbar-header i {
  margin-left: 5px;
}

.nav.searchbox {
  padding: 0;
  margin: 0;
}

.searchForm .searchForm-query #searchForm_lookfor {
  min-width: 400px;
}

nav.breadcrumbs {
  display: none;
}

.banner .collapse:not(.show) {
  display: none !important;
}

/* END HEADER */

/* HOME */

.searchHomeContent {
  background-image: url(/themes/rcaap/images/Gradientes/svg/2024-gradientes-RCAAP_2.svg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: calc(6rem + 8vw) 4vw calc(6rem + 4vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.searchHomeContent > .container {
  background: transparent;
}

.searchHomeContent .searchForm .searchForm-submit {
  font-size: 2rem;
  color: purple;
}

.searchForm-inputs {
  text-align: center;
}

.searchHomeContent::after {
  content: "";
}

.searchHomeContent .searchForm-query {
  width: 70%;
}

.searchHomeContent .searchForm_type {
  width: 29%;
}

.searchHomeContent .advanced-search-link {
  display: none;
}

.searchHomeContent .searchForm_lookfor {
  width: 100%;
  max-width: 900px;
  height: 80px !important;
}
.searchHomeContent .searchForm_type {
  max-width: 900px;
  height: 80px !important;
}

.searchHomeContent-search {
  margin-top: 40px;
}

.searchHomeContent-meta {
  margin: 10px;
}

.searchHomeContent h1 {
  line-height: 1.2;
}

@media (min-width: 768px) {
  .searchHomeContent {
    height: 500px;
  }
}

/* ADVANCED SEARCH */

.template-name-advanced .main .container {
  background: transparent;
}

.template-name-advanced .main > .container {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100% !important;
}

.adv-search-main-container {
  background: url("/themes/rcaap/images/Gradientes/svg/2024-gradientes-RCAAP_2.svg")
    center / cover no-repeat !important;
  margin: 0 auto;
  padding-left: 20%;
  padding-right: 20%;
  padding-bottom: 50px;
  width: 100%;
  max-width: 100% !important;
}

@media (max-width: 1600px) {
  .adv-search-main-container {
    padding-left: 10%;
    padding-right: 10%;
  }
}

@media (max-width: 768px) {
  .adv-search-main-container {
    padding-left: 5%;
    padding-right: 5%;
  }
}

.template-name-advanced .search-header {
  color: #fff;
  background: transparent;
}

.template-name-advanced .search-body {
  margin-bottom: 10px;
}

#advSearchForm .icon-link {
  color: #000;
}
.adv-search {
  margin-top: 10px;
}

.template-name-advanced .adv-submit .btn-primary {
  width: 100%;
  margin: 20px 0;
}

.template-name-advanced .sidebar {
  background-color: transparent;
}

.template-name-advanced .sidebar a {
  color: #000;
}

/* END ADVANCED SEARCH */
/* CARDS */

.card-option {
  border-radius: 0.75rem;
  border: 1px solid #e3e3e3;
  transition: all 0.2s ease;
  background-color: #fff;
  color: #000;
}

.card-option h3 {
  margin-top: 0;
  margin-left: 25px;
}

.card-option-icon {
  width: 100px;
  height: 100px;
  background-color: var(--brand-purple);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

.card-option-icon.icon-pub {
  mask: url("/themes/rcaap/images/icons/pub-home-icon.svg") center/contain
    no-repeat;
  -webkit-mask: url("/themes/rcaap/images/icons/pub-home-icon.svg")
    center/contain no-repeat;
}

.card-option-icon.icon-people {
  mask: url("/themes/rcaap/images/icons/ppers-home-icon.svg") center/contain
    no-repeat;
  -webkit-mask: url("/themes/rcaap/images/icons/ppers-home-icon.svg")
    center/contain no-repeat;
}

.card-option-icon.icon-projects {
  mask: url("/themes/rcaap/images/icons/proj-home-icon.svg") center/contain
    no-repeat;
  -webkit-mask: url("/themes/rcaap/images/icons/proj-home-icon.svg")
    center/contain no-repeat;
}

.card-option-icon.icon-orgs {
  mask: url("/themes/rcaap/images/icons/orgs-home-icon.svg") center/contain
    no-repeat;
  -webkit-mask: url("/themes/rcaap/images/icons/orgs-home-icon.svg")
    center/contain no-repeat;
}

.card-option-arrow {
  font-size: 1.25rem;
  color: var(--brand-purple);
}

.card-option:hover {
  background-color: var(--brand-purple);
  border-color: var(--brand-purple);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 0 0.15rem rgba(79, 45, 255, 0.15);
  text-decoration: none;
}

.card-option:hover h3,
.card-option:hover .card-option-arrow {
  color: #fff;
}

.card-option:hover .card-option-icon {
  background-color: #fff;
}

/* END CARDS */
/* END HOME */

/* FOOTER */
footer {
  margin: 0;
  padding: 0;
  border-top: 1px solid black;
  width: 100% !important;
  max-width: 100% !important;
  box-shadow: 7px 10px 12px -12px rgb(0 0 0 / 75%);
}
.footer-container {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  align-content: space-around;
  justify-content: space-around;
  align-items: center;
}

footer hr {
  opacity: 1;
}

footer .border-secondary {
  --bs-border-opacity: 0.5;
}
.site-footer {
  font-size: 0.875rem;
}

.footer-top {
  background-color: #000000;
}

.footer-bottom {
  background-color: #222222;
}

.footer-about-text {
  max-width: 640px;
  line-height: 1.6;
  text-align: justify;
}

.site-footer address {
  font-style: normal;
}

.footer-logo {
  max-height: 40px;
}

.footer-social-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

footer .contact-btn {
  padding: 8px 32px;
}

footer .nav-link:hover,
.nav-link:focus {
  color: #fff;
  text-decoration: underline;
}

/* END FOOTER */

/* RESULTS */

.result .media {
  padding: 10px 0;
}

.result .record-number {
  display: none;
}

.result .result-type {
  color: var(--brand-purple);
  margin: 10px 0;
}

.result .title {
  font-size: 1.25rem;
  margin-bottom: 5px;
}

/* FACETS / SIDEBAR */

.sidebar {
  background-color: #f6f6f6;
}

.sidebar .facet-group .title,
.facet-group .facet,
.facet-load-indicator,
.facet-load-failed,
.facet-group .collapse,
.facet-group .collapsing,
.facet-group.full-facet-list .facet {
  border: none;
}

.sidebar .facet-group .text i {
  display: none;
}

.sidebar .facet-group {
  border: 1px solid #e3e3e3;
}

.slider-container {
  padding: 6px 0;
}
.slider-container .slider.slider-horizontal {
  width: 100%;
  height: 1.25rem;
}
.slider-container .slider-track {
  height: 4px;
  margin-top: -2px;
  top: 50%;
  left: 0;
  background: #d7d7d7;
  box-shadow: none;
  border-radius: 0;
}
.slider-container .slider-selection {
  height: 100%;
  background: #777;
  box-shadow: none;
  border-radius: 0;
}

.slider.slider-horizontal .slider-track {
  width: 274px;
}

.slider-container .slider-handle:active,
.slider-container .slider-handle:focus,
.slider-container .slider-handle:active,
.slider-container .slider-handle:focus,
.slider-container .slider-handle:hover {
  opacity: 1;
  box-shadow: none;
  background-color: #777;
  border-color: #777;
}
.slider-container .slider-handle {
  width: 14px;
  height: 10px;
  background: #777;
  background-image: none;
  border: 0;
  border-radius: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}
.slider.slider-horizontal .slider-tick.min-slider-handle,
.slider.slider-horizontal .slider-handle.min-slider-handle {
  margin-left: 0;
  z-index: -1;
}
.slider.slider-horizontal .slider-tick.max-slider-handle,
.slider.slider-horizontal .slider-handle.max-slider-handle {
  margin-left: -14px;
  z-index: -1;
}

.facet a {
  color: #000;
  text-decoration: none;
}

.facet .badge {
  background-color: #ccc;
  color: #000;
}

.sidebar .facet.active,
.sidebar .facet.active:hover,
.sidebar .active-filters .facet,
.sidebar .active-filters .facet:hover {
  background-color: #fff;
}

.active-filters .facet a,
.facet-group .active a {
  color: var(--brand-purple);
}

.facet-group .facet {
  background: none;
}

.facet-group .facet > .text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  padding-left: 1.6rem;
}

.facet-group .facet > .text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.8rem;
  height: 0.8rem;
  transform: translateY(-50%);
  border: 1px solid #777;
  border-radius: 2px;
  background: #fff;
}

.facet-group .facet.active > .text::before {
  border-color: var(--brand-purple);
  background: var(--brand-purple);
}

.sidebar .reset-filters-btn {
  background-color: #ccc;
  border-color: #fff;
  color: #000;
  font-weight: bold;
  padding: 8px 16px;
  text-align: center;
  display: block;
  width: 100%;
}

.main .active-filters .reset-filters-btn {
  background-color: var(--brand-purple);
  border-color: var(--brand-purple);
  color: #fff;
}

.main .active-filters .reset-filters-btn:hover {
  background-color: #fff;
  border-color: var(--brand-purple);
  color: var(--brand-purple);
}

.main .active-filters {
  padding: 8px;
}

/* END FACETS / SIDEBAR */

/* PAGINATION */

.pager {
  justify-content: start;
}

.pager .page-item:first-child .page-link,
.pager .page-item:last-child .page-link {
  border-radius: 0;
  display: none;
}

.pagination > li.page-prev a,
.pagination > li.page-next a {
  font-size: 0;
}

.pagination > li.page-prev a .icon,
.pagination > li.page-next a .icon {
  font-size: 1rem;
}

.pagination {
  gap: 6px;
}

.pagination .page-item .page-link {
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 0;
  background: transparent;
  color: #000;
}

.pagination .page-item.active .page-link {
  border-color: #000;
  background-color: #fff;
  font-weight: 600;
}

/* END PAGINATION */

/* LIST */

.record-icon {
  margin-top: 10px;
  background-color: var(--brand-purple);
}

.result-body a {
  text-decoration: underline;
  color: #000;
}

.result-body a.title {
  text-decoration: none;
  color: #000;
}

.result-body a.title:hover {
  text-decoration: underline;
  color: var(--brand-purple);
}

.result-body .result-formats span {
  border-radius: 0;
  background-color: #e3e3e3;
  color: #000;
}

.result .result-arrow-link {
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 10px;
}
.result .result-arrow-link a {
  color: #000;
}

.record-list .result {
  background-color: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 0;
  margin-bottom: 20px;
  box-shadow: none;
  min-height: 180px;
  padding: 10px;
}

.record-list .record-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bulkActionButtons {
  display: flex;
  margin-bottom: 5px;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.bulkActionButtons .bulk-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bulkActionButtons .bulk-checkbox input {
  margin-right: 5px;
}

.bulkActionButtons .toolbar-btn {
  border-radius: 0;
  background-color: var(--brand-purple);
  color: #fff;
}

.bulkActionButtons .icon.fa {
  display: none;
}

/* END LIST */

.searchtools {
  display: none;
}

/* END RESULTS */

/* FORMS */

.form-control {
  border-radius: 0;
}

.adv-group {
  border: none;
}

.btn,
#groupPlaceHolder,
.search-filter-toggle {
  border-radius: 0;
}

.btn-primary {
  background-color: var(--brand-purple);
  border-color: var(--brand-purple);
}

.btn-primary:hover,
:not(.btn-check) + .btn:active {
  background-color: #fff;
  color: var(--brand-purple);
  border-color: var(--brand-purple);
}

.form-control:hover,
.form-control:focus {
  border-color: var(--brand-purple);
}

form .form-control:focus {
  border-color: var(--brand-purple);
  --outline-color: none;
}

form .form-control {
  border: 2px solid #e3e3e3;
}

#groupPlaceHolder:hover {
  color: #fff;
}

/* END FORMS */

/* DETAIL */

.record .record-type-label {
  font-weight: 600;
  color: var(--brand-purple);
  font-size: 1.4em;
  margin-bottom: 10px;
}

.record .record-type-label.resource {
  color: #000;
}

.template-dir-record .record-nav {
  width: 100%;
}

.template-dir-record .record-nav .action-toolbar .toolbar-btn {
  border-radius: 0;
  background-color: transparent;
  color: #000;
  border: 1px solid #000;
  margin-right: 10px;
}

.template-dir-record .record-nav .action-toolbar .cite-record,
.template-dir-record .record-nav .action-toolbar .print-record,
.template-dir-record .record-nav .action-toolbar .export-record {
  display: flex;
  flex-direction: row-reverse;
}

.template-dir-record .record-nav .action-toolbar .sms-record,
.template-dir-record .record-nav .action-toolbar .permalink-record,
.template-dir-record .record-nav .action-toolbar .mail-record {
  display: none;
}

.template-dir-record .record .sidebar {
  width: 40%;
  background-color: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 0;
  margin-top: 0;
  margin-bottom: 20px;
  box-shadow: none;
  min-height: 180px;
  padding: 20px;
  align-self: flex-start;
}

.template-dir-record .record {
  display: flex;
  gap: 20px;
}

.template-dir-record .record .mainbody {
  background-color: #fff;
  width: 100%;
  border: 1px solid #e3e3e3;
  border-radius: 0;
  margin-bottom: 60px;
  box-shadow: none;
  min-height: 180px;
  padding: 20px;
  align-self: flex-start;
}

.template-dir-record .sourceSolr .mainbody .table tr {
  display: block;
  padding-top: 5px;
  padding-bottom: 5px;
}

.template-dir-record .sourcePublication .mainbody .table th {
  width: 30%;
}

.template-dir-record .sourcePublication .mainbody .table tr:first-child {
  border-top: 1px solid #e3e3e3;
}

.template-dir-record .sourcePublication .mainbody .table tr td,
.template-dir-record .sourcePublication .mainbody .table tr th {
  padding: 20px 0;
}

.template-dir-record .record .mainbody a {
  text-decoration: underline;
  color: #000;
}

.template-dir-record .record .mainbody .media-body h1 {
  font-size: 2em;
  font-weight: 600;
  padding-bottom: 20px;
}

.template-dir-record .record .mainbody .record-tabs {
  display: none;
}

.template-dir-record .record .sidebar h2 {
  padding: 10px;
}

.template-dir-record .record .list-group .list-group-item {
  border-top: none;
  border-bottom: 1px solid #e3e3e3;
  border-left: none;
  border-right: none;
  border-radius: 0;
  margin-bottom: 10px;
  border-radius: 0;
  padding-bottom: 20px;
}

.template-dir-record .record .list-group .list-group-item .related__title {
  color: #000;
}

.template-dir-record .record .resource-details .table th,
.template-dir-record .record .resource-details .table td {
  display: block;
  text-align: left;
  padding: 4px 0;
}

.template-dir-record .record .resource-details .table .resource-extra-row {
  display: flex;
}

.template-dir-record .record .resource-details .table > :not(caption) > * > * {
  border-bottom-width: 0;
  border-top-width: 0;
}

/* END DETAIL */
