/*----- BLOCK  - Open -----*/
#sidebar-right .block {
  background-color: #f9faf9;
  border-radius: var(--border-radius);
  padding: 1.5rem;
}
#sidebar-right h2.block-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 130%;
  margin-bottom: 1rem;
}
#page .region-sidebar-first,
#page .region-sidebar-second {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
/*----- BLOCK  - Close -----*/

/*----- MENU - Open -----*/
#sidebar-right .menu {
  list-style: none;
  margin: -0.75rem 0;
  padding: 0;
}

#sidebar-right .menu-item {
  border: none;
  display: block;
  position: relative;
  padding: 0.125rem 0;
}

#sidebar-right .menu-item-level-1 {
  border-bottom: 1px solid #dee0e0;
  padding: 0.75rem 0;
}
#sidebar-right .menu-item-level-1:last-child {
  border: none;
}

#sidebar-right .menu-item > a {
  color: #000;
  display: flex;
  font-weight: 400;
  line-height: 130%;
  padding: 0.375rem 0;
  position: relative;
  text-decoration: none;
}
#sidebar-right .menu-item > a:hover {
  color: #277145;
}

#sidebar-right .menu-item-has-children > a {
  justify-content: space-between;
}
#sidebar-right .menu-item-has-children > a::after {
  color: #41a068;
  content: "\f054";
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Font Awesome 6 Pro";
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  transform-origin: center;
  text-decoration: none !important;
  width: 0.875rem;
  height: 0.875rem;

  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -ms-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
}

#sidebar-right .menu-item-has-children > a:hover::after {
  color: #277145;
}

#sidebar-right .menu-item.js-accordion-open > a {
  color: #277145;
  font-weight: 500;
}

#sidebar-right .menu-item.js-accordion-open > a::after {
  color: #277145;
  transform: rotate(90deg);
}
#sidebar-right .menu-item.active > a::after {
  color: #ee7017;
}
#sidebar-right .menu-item.active.js-accordion-open > a::after {
  color: #ee7017;
}

#sidebar-right .submenu {
  display: none;
  list-style: none;
  margin: 0;
  overflow: hidden;
}
#sidebar-right .submenu {
  padding-left: 1.25rem;
}

/* #sidebar-right .submenu a {
	text-decoration: underline 0.125rem #27714500;
	text-underline-offset: 0.25rem;
}
#sidebar-right .submenu a:hover {
	text-decoration-color: #41a068;
} */

#sidebar-right .menu-item.active > a {
  color: #ee7017;
  font-weight: 500;
}

#sidebar-right .submenu a::before {
  background: #41a068;
  bottom: 0;
  border-radius: var(--border-radius);
  content: "";
  display: block;
  height: 1px;
  left: 0;
  opacity: 0;
  position: absolute;
  width: 33%;

  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -ms-transition: all 300ms ease-in-out;
  -o-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}
#sidebar-right .submenu .active > a::before {
  background: #ee7017;
}
#sidebar-right .submenu a:hover::before {
  opacity: 0.75;
  width: 100%;
}
/*----- MENU - Close -----*/

/*----- LABEL GUIDE - Open -----*/
#page .sidebar .label-guide {
  display: flex;
  flex-direction: column;
  font-weight: 400;
  gap: 1rem;
  line-height: 130%;
  margin-top: 1rem;
}

#page .sidebar .label-ota-member,
#page .sidebar .label-export-ready,
#page .sidebar .label-black-farmers,
#page .sidebar .label-in-transition,
#page .sidebar .label-climate-smart {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
#page .sidebar .label-ota-member::before,
#page .sidebar .label-export-ready::before,
#page .sidebar .label-black-farmers::before,
#page .sidebar .label-in-transition::before,
#page .sidebar .label-climate-smart::before {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  display: block;
  height: 1.75rem;
  width: 1.75rem;
  flex-shrink: 0;
}
#page .sidebar .label-ota-member::before {
  background-image: url("/themes/custom/aero10/images/icons/icon-member.svg");
}
#page .sidebar .label-export-ready::before {
  background-image: url("/themes/custom/aero10/images/icons/icon-export-ready.svg");
}
#page .sidebar .label-black-farmers::before {
  background-image: url("/themes/custom/aero10/images/icons/icon-black-farmers.svg");
}
#page .sidebar .label-in-transition::before {
  background-image: url("/themes/custom/aero10/images/icons/icon-in-transition.svg");
}
#page .sidebar .label-climate-smart::before {
  background-image: url("/themes/custom/aero10/images/icons/icon-climate-smart.svg");
}
/*----- LABEL GUIDE - Close -----*/

/*-----  FACETS BLOCK - Open -----*/
#block-aero10-facetsblock {
  background-color: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: -0.5rem;
}
.sm #block-aero10-facetsblock,
.xs #block-aero10-facetsblock {
  backdrop-filter: blur(8px);
  background-color: #ffffffe8 !important;
  height: 100%;
  left: 0;
  margin: 0 !important;
  overflow-y: auto;
  padding: 1rem !important;
  position: fixed;
  top: 0;
  transform: translateX(100%);
  transition: all 400ms ease-in-out;
  width: 100%;
  z-index: 99;
}
.sm #block-aero10-facetsblock.open,
.xs #block-aero10-facetsblock.open {
  transform: translateX(0);
}
#block-aero10-facetsblock .block-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#block-aero10-facetsblock .block-content {
  background-color: #fff;
  border: 1px solid #92caf8;
  border-radius: var(--border-radius);
  height: auto !important;
  overflow: hidden;
  opacity: 1 !important;
  transition: margin-bottom 200ms ease-out;
}
#block-aero10-facetsblock .block-content.open {
  margin-bottom: 1rem !important;
}
@media screen and (max-width: 767px) {
  #block-aero10-facetsblock .block-content.open {
    height: auto !important;
    opacity: 1 !important;
  }
}
#block-aero10-facetsblock h2.block-title {
  align-items: flex-start;
  background-color: #ffffff;
  border-radius: var(--border-radius);
  border: 1px solid #c3ddf3;
  display: flex;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  gap: 0.375rem;
  line-height: 120%;
  margin-bottom: 0;
  min-height: 52px;
  padding: 1rem 0.875rem;
  text-transform: uppercase;
  transition: all 200ms ease-in-out;
  width: 100%;
}

#block-aero10-facetsblock h2.block-title::before {
  color: #4188c4;
  content: "\f0b0";
  display: block;
  font-family: "Font Awesome 6 Pro";
  font-size: 1.25rem;
  font-weight: 600;
  transition: all 200ms ease-in-out;
}

#block-aero10-facetsblock h2.block-title:hover {
  background-color: #f7fcff;
  border-color: #92caf8;
}
#block-aero10-facetsblock h2.block-title:hover::before {
  color: #33a3ff;
}

#block-aero10-facetsblock h2.block-title.open {
  background-color: #c9e4fa;
  border-color: #92caf8;
}
#block-aero10-facetsblock h2.block-title.open::before {
  color: #4188c4;
}
#block-aero10-facetsblock .block-title-wrapper {
  align-items: center;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: auto 48px 48px;
}
@media screen and (min-width: 768px) {
  #block-aero10-facetsblock .block-title-wrapper {
    grid-template-columns: auto 48px;
  }
}
#block-aero10-facetsblock .org-search-help-btn {
  align-items: center;
  background-color: #f4a268;
  border-radius: var(--border-radius);
  color: #000;
  cursor: pointer;
  display: flex;
  font-weight: 700;
  min-height: 52px;
  height: 100%;
  justify-content: center;
  padding: 0 1rem;
}
#block-aero10-facetsblock .org-search-help-btn::before {
  content: "\3f";
  display: block;
  font-family: "Font Awesome 6 Pro";
  font-size: 1.25rem;
}
#block-aero10-facetsblock .org-search-help-btn:hover {
  background-color: var(--color-quaternary-900);
  color: #fff;
}

#block-aero10-facetsblock .refine-search-close-btn {
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #d9bfbf;
  border-radius: var(--border-radius);
  color: #b62c2c;
  cursor: pointer;
  display: flex;
  font-weight: 700;
  min-height: 52px;
  height: 100%;
  justify-content: center;
  padding: 0 1rem;
}
@media screen and (min-width: 768px) {
  #block-aero10-facetsblock .refine-search-close-btn {
    display: none;
  }
}

#block-aero10-facetsblock .refine-search-close-btn::before {
  content: "\e59b";
  display: block;
  font-family: "Font Awesome 6 Pro";
  font-size: 1.25rem;
}

#block-aero10-facetsblock .facets-description {
  font-weight: 500;
  color: #c75300;
  padding: 1rem 1rem 0rem 1rem;
}
/*
#page .block-facets-ajax .facet-block.facet-inactive {}
#page .block-facets-ajax .facet-block.facet-active {}
*/

#page .block-facets-ajax .facet-block {
  background-color: #e9f1f8;
  border-radius: var(--border-radius);
  margin: 1rem;
  padding: 0.5rem;
  transition: background-color 200ms ease-in-out;
}
#page .block-facets-ajax .facet-block.open {
  background-color: #c9e4fa;
}
#page .block-facets-ajax .facet-block .facet-block__title {
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  line-height: 130%;
  margin: 0;
  padding: 0.5rem;
  transition: all 200ms ease-in-out;
}
#page .block-facets-ajax .facet-block .facet-block__title:hover {
  background-color: #c9e4fa;
}
#page .block-facets-ajax .facet-block .facet-block__content {
  background-color: #ffffff;
  border-radius: var(--border-radius);
  height: 0px;
  overflow: hidden;
}

#page .block-facets-ajax .facet-block .facet-block__content .facets-widget-checkbox {
  padding: 0.75rem;
}

#page .block-facets-ajax .facet-block .facets-widget-checkbox ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
}
#page .block-facets-ajax .facet-block .facets-widget-checkbox ul li {
  align-items: flex-start;
  border: none;
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}
#page .block-facets-ajax .facet-block .facets-widget-checkbox ul li label {
  font-weight: 400;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 130%;
  padding-top: 0.25rem;
}
#page .block-facets-ajax .facet-block .facets-widget-checkbox ul li label .facet-item__count {
  color: #306b9c;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.0625rem;
}

/*-----  FACETS BLOCK - Close -----*/

#org-search-help-block .block-content {
  line-height: 130%;
}
#org-search-help-block .block-content strong {
  display: contents;
}
.popup-help .mfp-content {
  border-radius: 8px;
  margin: 0 auto;
  max-width: 800px;
  width: 100%;
}

/*----- ORGANIZATION PAGE DETAILS - Open -----*/
#sidebar-right #block-aero10-views-block-organization-display-block-org-details {
  background: none;
  border-radius: 0;
  padding: 0;
}
#sidebar-right #block-aero10-views-block-organization-display-block-org-details > .block-container > .block-title {
  display: none;
}
#sidebar-right .view-organization-page-details .views-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#sidebar-right .org-details-block__brand {
  background-color: #ffffff;
  border-radius: var(--border-radius);
  border: 1px solid #dadedc;
  padding: 1.5rem;
}
#sidebar-right .org-details-block__brand--website-wrapper,
#sidebar-right .org-details-block__brand--logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

#sidebar-right .org-details-block__icons,
#sidebar-right .org-details-block__social-network,
#sidebar-right .org-details-block__info {
  background-color: #f9faf9;
  border-radius: var(--border-radius);
  padding: 1.5rem;
}

#sidebar-right .org-details-block__icons {
  display: flex;
  flex-direction: column;
  font-weight: 400;
  gap: 1rem;
}
#sidebar-right .org-details-block__info {
  display: flex;
  flex-direction: column;
  font-weight: 500;
  gap: 1rem;
}
#sidebar-right .org-details-block__info .views-field {
  display: flex;
  flex-direction: column;
}
#sidebar-right .org-details-block__info .views-field .views-label {
  font-size: 0.8125rem;
  font-weight: 300;
  line-height: 130%;
}

/* #sidebar-right .org-details-block__brand--website {
	background-color: #fff;
	border-radius: 0.25rem;
	border: 1px solid #dadedc;
	color: #000;
	display: flex;
	font-weight: 400;
	padding: 0.25rem 1rem;
}
#sidebar-right .org-details-block__brand--website:hover {
	background-color: #c85200;
	border-color: #c85200;
	color: #fff;
} */

/* Social Network */
#sidebar-right .org-details-block__social-network {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
#sidebar-right .org-details-block__social-network > h2 {
  flex: 1 1 100%;
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 0.5rem 0;
}
#sidebar-right .org-details-block__social-network > .views-field {
  flex: 0 0 auto;
}

#sidebar-right .org-social-media-instagram,
#sidebar-right .org-social-media-linkedin,
#sidebar-right .org-social-media-twitter,
#sidebar-right .org-social-media-facebook {
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.5rem;
  font-size: 0 !important;
  width: 2rem;
  height: 2rem;
  display: block;
  border: 1px solid #00000000;
  border-radius: 0.5rem;
}
#sidebar-right .org-social-media-instagram:hover,
#sidebar-right .org-social-media-linkedin:hover,
#sidebar-right .org-social-media-twitter:hover,
#sidebar-right .org-social-media-facebook:hover {
  border-color: #000;
}

#sidebar-right .org-social-media-facebook {
  background-image: url("/sites/default/files/media-icons/icon-facebook-black.svg");
}
#sidebar-right .org-social-media-twitter {
  background-image: url("/sites/default/files/media-icons/icon-x-black.svg");
}
#sidebar-right .org-social-media-linkedin {
  background-image: url("/sites/default/files/media-icons/icon-linkedin-black.svg");
}
#sidebar-right .org-social-media-instagram {
  background-image: url("/sites/default/files/media-icons/icon-instagram-black.svg");
}
/*----- ORGANIZATION PAGE DETAILS - Close -----*/

#sidebar-right .group-inline-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#sidebar-right .group-inline-items .methods,
#sidebar-right .group-inline-items .additional-certification .view-content {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

#sidebar-right .group-inline-items .methods .views-row a,
#sidebar-right .group-inline-items .additional-certification .views-row a {
  align-items: center;
  background: #f9faf9;
  border-radius: var(--border-radius-buttons);
  border: 1px solid #dadedc;
  color: #000;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 500;
  gap: 0.5rem;
  line-height: 130%;
  padding: 0.4375rem 0.5rem 0.5rem 0.5rem;
  text-decoration: none;
}

#sidebar-right .group-inline-items .methods .views-row a:hover,
#sidebar-right .group-inline-items .additional-certification .views-row a:hover {
  background-color: #aeeaa4;
  color: #000;
  border-color: #aeeaa4;
  text-decoration: none;
}
