/* body.enhanced-detail-page .main-container > .container > .row.g-0 > .col-12 { */
/* width: 100%; */
/* } */
/* edit button */
.hero-action-button {
  display: inline;
  position: absolute;
  right: 0;
  top: 11px;
}
section.block-page-title-block,
section.block-page-title-block ~ nav {
  display: none !important;
}
body.enhanced-detail-page .main-container > .container > .row.g-0 > .col-12 > .region--content > section:not(.custom-repost-form.repost_custom) {
  width: 100%;
  display: flex;
  flex-direction: column;
}
body.enhanced-detail-page article.card {
  max-width: 792px;
  margin: 0 auto;
  width: 100%;
}
.content-top-section {
  position: relative;
}
.content-top-section .metainfo_author {
  display: flex;
}
.content-top-section .metainfo__avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.content-top-section .metainfo__content {
  color: var(--primary-color-bold);
  font-size: 16px;
  line-height: 19px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 80%;
}
.content-top-section .author-name,
.content-top-section .author-name a {
  font-weight: 600;
  color: var(--primary-color-bold);
  font-size: 16px;
  line-height: 19px;
}
.content-top-section .author-name a {
  text-decoration: none;
}
.content-top-section .metainfo__content .list a {
  text-decoration: none;
  font-weight: 600;
  color: var(--primary-color-bold);
}
.content-top-section .metainfo__content .list a:hover {
  color: var(--black);
}
.content-top-section .node-created-date {
  width: fit-content;
  position: absolute;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  right: 0;
  top: 0;
  color: var(--primary-color-bold);
}
.content-top-section .page-title {
  margin-top: 24px;
  color: #000;
  font-family: var(--secondary-font);
  /* font-size: 28px; */
  font-size: 26px;
  /* font-weight: 700; */
  font-weight: 600;
  line-height: 32px;
  text-align: left;
  margin-bottom: 12px;
}
.content-top-section .article__special-fields {
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  text-align: left;
  color: var(--primary-color-bold);
  padding: 0;
  border: 0;
  display: flex;
  margin-bottom: 24px;
  align-items: center;
}
.content-top-section .article__special-fields > * {
  margin-bottom: 0px;
}
.content-top-section .article__special-fields > div:not(:last-child) span.inline-center {
  border-right: 1px solid var(--primary-color-bold);
  padding-right: 5px;
}
.content-middle-section {
  margin: 0 -25px;
  padding: 24px 25px;
  border-top: 2px solid var(--primary-color-bold);
  border-bottom: 2px solid var(--primary-color-bold);
}
/* NEW */
/* .content-middle-section .custom-image img {
  width: 100%;
  height: 456px;
  max-height: 456px;
  object-fit: cover;
  border: 1px solid #e6e6e6;
} */
.content-middle-section .custom-image {
  width: 100%;
  height: 456px;
  max-height: 456px;
  object-fit: cover;
  border: 1px solid #e6e6e6;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f2f2f2;
}
.content-middle-section .custom-image img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  max-width: 100%;
  max-height: 456px;
}
.content-middle-section .custom-image {
  margin-bottom: 24px;
}
.content-middle-section .event-register-section {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  /* margin-bottom: 19px; */
  gap: 12px;
}
.content-middle-section .event-organization-detail a {
  font-weight: 400;
}
.content-middle-section .event-organization-detail {
  font-family: Inter;
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
  text-align: left;
  color: var(--primary-color);
  /* margin-bottom: 24px; */
  margin-bottom: 14px;
}
.content-middle-section .event-organization-detail > div {
  display: flex;
}
.content-middle-section .detail-page-body {
  font-family: Inter;
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
  text-align: left;
  color: #000;
  margin-bottom: 47px;
}
.content-middle-section .detail-page-body * {
  border: 0;
  /* font-weight: 400; */
}
.content-middle-section .bottom-additional-fields {
  display: flex;
  margin-bottom: 24px;
  gap: 9px;
}
.content-top-section .attendee_list {
  font-style: italic;
  font-size: 14px;
}
.detail-page-body .post-file span.file-link {
  position: relative;
  padding-left: 25px;
}
.detail-page-body .post-file span.file-link a,
.detail-page-body .post-file span.file-link a:hover {
  font-size: 16px;
  color: var(--primary-color);
}
.detail-page-body .post-file span.file-link::before {
  content: "";
  background: url(../../icons/download-arrow.svg) no-repeat center var(--primary-color);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-size: 10px !important;
  position: absolute;
  left: 0px;
  top: -1px;
}
.detail-page-body .post-file span.file-link:hover::before {
  border: 2px solid var(--primary-color);
  background: url(../../icons/green/download-arrow.svg) no-repeat center var(--primary-color);
  background-color: var(--color-fff);
}
.detail-page-body .post-file .card-files__title {
  display: none;
}
.detail-page-body .post-file span.file-icon,
.detail-page-body .post-file span.file-size {
  display: none;
}
.detail-page-body .card-files__title {
  margin: 0px;
}
.stream-comment-item .commentinfo__content .ccomment-text {
  display: none;
}
.detail-page-body .lbl {
  color: var(--primary-color);
}
.content-additional-info {
  display: flex;
  gap: 2px;
  font-style: italic;
  font-size: 14px;
}
.attendee_list,
.node--unpublished__label {
  font-style: italic;
  font-size: 14px;
  position: unset;
}
.detail-field {
  display: flex;
}
.detail-page-body .files-field {
  position: relative;
  margin-top: 24px !important;
  margin-bottom: 24px !important;
}
.detail-page-body .files-field .download-wrapper {
  float: right;
  width: 200px;
  padding: 30px 10px 10px 10px;
  border: 1px solid #ccc;
  overflow: hidden;
  position: absolute;
  left: 0;
  top: 30px;
  z-index: 99;
  background: #fff;
  display: none;
  border-radius: 24px;
}
.detail-page-body .files-field .download-wrapper .files_dowload:not(:last-child) {
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: 1px solid #ccc;
}
.detail-page-body .files-field .download_label,
.detail-page-body .download-wrapper .files_dowload {
  display: inline;
  padding-left: 25px;
  font-weight: 400;
  font-size: 16px;
  color: var(--primary-color);
  position: relative;
  cursor: pointer;
}
.detail-page-body .files-field .download_label::before,
.detail-page-body .download-wrapper .files_dowload::before {
  content: "";
  background: url(../../icons/download-arrow.svg) no-repeat center var(--primary-color);
  width: 20px;
  height: 20px;
  background-size: 10px !important;
  position: absolute;
  left: 0;
  top: -1px;
  border-radius: 50%;
}
.detail-page-body .download-wrapper .files_dowload:hover a {
  color: var(--primary-color) !important;
}
.detail-page-body .download-wrapper {
  margin-top: 20px;
}
.detail-page-body .download-wrapper .files_dowload {
  display: block;
  margin-bottom: 20px;
}
.detail-page-body .files-field .download_label.active ~ .download-wrapper {
  display: block;
}
.detail-page-body .files-field .download-wrapper a {
  color: var(--primary-color);
}
.detail-page-body .files-field .download-wrapper .close-icon {
  width: 15px;
  height: 15px;
  background: url(../../icons/close-icon.png) no-repeat center;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}
.detail-field .lbl {
  margin-right: 5px;
  /* min-width: 50px; */
  min-width: fit-content;
}
.detail-field .desc > .field--items > .field--item {
  display: inline-block;
}
.detail-field .desc > .field--items > .field--item:not(:last-child) a::after {
  content: ",";
}

/* *******Task #383283 issue 2 26-22-2024******** */
.content-middle-section .event-register-section .btn-primary-lg a {
  font-size: 16px;
  line-height: 19px;
}
/********Task #383283 issue 2 26-22-2024******** */
.path-highlight-event .country-field .field--name-field-organization .field--item a {
  font-size: 16px;
  font-weight: 400;
}
.content-middle-section .detail-page-body .desc span {
  /* color: #000 !important;
  font-size: 16px !important;
  font-family: "Inter" !important;
  line-height: 19px; */
  color: #000;
  font-size: 16px;
  font-family: "Inter";
  line-height: 19px;
}
.enhanced-detail-page .stream-comment-item {
  margin-bottom: 0;
}
/* *********Task #383302 issue 3 27-11-24*********** */
.content-top-section .article__special-fields > div:not(:last-child) span.inline-center {
  text-transform: uppercase;
}
.enhanced-detail-page .comment-form__wrapper {
  padding: 24px 25px 0px;
}
.enhanced-detail-page .comment-form__wrapper:has(+ .comment-form__wrapper) {
  padding: 24px 25px 25px;
}
.path-all-members .pill-card .teaser__content-text p:hover {
  color: aquamarine;
}
/* #383599 */
/* .detail-field .desc a:hover {
  color: var(--primary-color);
} */

/* Comment section */
.comment-form__wrapper {
  margin-left: -24px;
  margin-right: -24px;
  width: calc(100% + 48px) !important;
  padding-left: 24px;
  padding-right: 24px;
}
.stream-comment-item article.comment {
  margin-left: -24px;
  margin-right: -24px;
  width: calc(100% + 48px);
}
.comments article.comment {
  margin-right: -24px;
  width: calc(100% + 24px);
  margin-left: 0px;
}

.path-highlight-event .node--unpublished .content-top-section .attendee_list {
  position: relative;
  top: 4px;
}
.stream-comment-item .card__comment_section > article.comment:nth-of-type(1) {
  border: 0 !important;
}
.content-additional-info a:hover {
  color: var(--primary-color);
}
/*************************comment replay page*************************************/
.comment-reply-page .content-middle-section {
  border-bottom: 0;
}
.comment-reply-page .body-text img {
  margin-bottom: 24px;
}

/* images inside the body-tag */
.detail-page-body img {
  margin-bottom: 24px;
}

/* Hover colors */
.tag-field a:hover,
.country-field:not(.org-field) a:hover,
.regions-field a:hover,
.themes-field a:hover,
.group-field a:hover,
.knowledge-type-field a:hover {
  color: var(--primary-color);
}

.content-top-section .author-name a:hover {
  color: var(--black);
}
.author-field a:hover,
.organization-field a:hover,
.org-field a:hover {
  color: var(--black);
}
.detail-page .navbar-secondary {
  display: none;
}
/* .content-middle-section .detail-page-body p:last-child { */
.content-middle-section .detail-page-body:not(:has(+div)) p:last-child {
  margin-bottom: 0;
}
.enhanced-detail-page:not(.comment-reply-page) .comment-form__wrapper {
  border: 0 !important;
}
.enhanced-detail-page .card__comment_section:has(article) .comment-form__wrapper {
  border-top: 2px solid var(--primary-color) !important;
}
/* .content-middle-section .detail-page-body a{ */
.content-middle-section .detail-page-body *:not(.btn-primary-lg) a,
/* .content-middle-section *:not(.btn-primary-lg) a { */
.content-middle-section .content-detail-links a:not(.btn-primary-lg a) {
  color: var(--primary-color);
}
.content-middle-section .detail-page-body a:hover ,
.content-middle-section .content-detail-links a:not(.btn-primary-lg a):hover {
  color: var(--black);
}
.content-middle-section .detail-page-body .detail-field .field--item a {
  color: #000;
}
.content-middle-section .detail-page-body .detail-field .field--item a:hover {
  color: var(--primary-color);
  text-decoration: none;
}
.content-middle-section .event-register-section:has(.download-btn) {
  position: relative;
}
.download-btn + .files-field.more-link {
  position: absolute;
  top: 100%;
  left: 50%;
  background: #fff;
  z-index: 99;
  padding: 20px;
  box-shadow: 0px 0px 8px 2px #cccccc;
  width: 170px;
  display: none;
}
.download-btn + .files-field.more-link .download_label {
  display: inline-block;
  width: 100%;
  padding: 0;
  display: flex;
}
.download-btn:hover + .files-field.more-link,
.download-btn + .files-field.more-link:hover {
  display: inline-block; /* Show dropdown on hover */
}
.download-btn + .files-field.more-link .download_label a {
  display: inline-block;
  border-bottom: 1px solid #d9d9d9;
  /* border-bottom: 2px solid var(--primary-color); */
  width: 105%;
  font-size: 12px;
  line-height: 14px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  text-align: left;
  font-weight: 400;
  color: var(--black);
  background: none !important;
  text-decoration: none;
  cursor: pointer;
  text-transform: capitalize;
}
.download-btn + .files-field.more-link .download_label a:hover {
  color: var(--primary-color);
}
.download-btn + .files-field.more-link .download_label:nth-last-of-type(2) a {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.content-middle-section .detail-page-body .btn-primary-lg a:hover {
  color: var(--color-fff);
}
.enhanced-detail-page .comment-form__wrapper:has(.ajax-comments-form-reply) {
  padding: 24px;
}
.enhanced-detail-page .comment-form__wrapper:has(+ .comments) {
  border-bottom: 2px solid #d9d9d9 !important;
}
.enhanced-detail-page .comment-form__wrapper:has(.ajax-comments-form-reply) + .comments article:first-of-type {
  border-top: none !important;
}
.text-huge ,
.text-huge * {
  font-size: 1.8em !important;
}
.text-big ,
.text-big * {
  font-size: 1.4em !important;
}
.text-small,
.text-small * {
  font-size: .85em !important;
}
.text-tiny ,
.text-tiny * {
  font-size: .7em !important;
}
.content-middle-section .detail-page-body .media {
  justify-content: center;
  text-align: center;
}
.content-middle-section .detail-page-body .media.align-right {
  justify-content: end;
  text-align: right;
}
.content-middle-section .detail-page-body .media.align-left {
  justify-content: start;
  text-align: left;
}
.content-middle-section .detail-page-body .media.media--type-remote-video,
.content-middle-section .detail-page-body .detail-page-body-lbl + .content-detail-links,
.content-middle-section .detail-page-body .desc.content-detail-links:has(.media) {
  display: block;
}
.enhanced-detail-page .node-type-header.section-title {
  padding-bottom: 74px;
}
.enhanced-detail-page .btn-primary-lg a {
  border-width: 1px !important;
}
.search-more-detail-page .block-title {
  padding-top: 80px;
}
body.enhanced_listing_page.enhanced-detail-page div.view-filters {
  margin-bottom: 86px;
}
.search-more-detail-page .form-group {
  margin-bottom: 0;
}
