/*****************************

Country detailed styles

****************************/

.country-indicators-section ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  text-align: right;
  max-width: 450px;
}

html[lang="es"] .country-indicators-section ul,
html[lang="es"] .banner-component .banner-content-right {
  max-width: 550px;
}

.country-indicators-section li {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.country-indicators-section li:not(:last-child) {
  margin-bottom: 30px;
}

.country-indicators-section .country-indicator-name {
  color: #d0cb17;
  font-size: 12px;
  margin-bottom: 3px;
  font-weight: 700;
}

.country-indicators-left {
  width: calc(100% - 78px);
  margin-right: 20px;
}

.country-indicators-section .country-indicators-description {
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  color: #ffffff;
}

.country-indicators-description strong {
  font-size: 24px;
  font-weight: 500;
}

.country-indicators-section .country-indicator-value {
  padding-right: 5px;
  font-weight: 700;
}

.country-indicators-section .indicator-icon {
  padding-bottom: 4px;
  width: 58px;
}

.country-listings-block {
  opacity: 0;
}

.country-listings-block.is-enable {
  opacity: 1;
}

/********login********/

.user-logged-in.page-with-fixed-summary .region-content>.tabs {
  display: none;
}

.page-node-type-country .content-moderation-entity-moderation-form .entity-moderation-form {
  display: none;
}

/***** tooltip ******/

.tooltip-sup-wrapper {
  cursor: pointer;
}

sup.tooltip-sup-wrapper>a {
  color: #1fa29c !important;
  font-size: 16px;
  font-weight: 500;
}

.footnotes sup.tooltip-sup-wrapper>a {
  font-size: 14px;
}

.content-tooltip-info {
  border: 1px solid #d6d6d6;
  border-radius: 5px;
  width: 600px;
  background: #ffffff;
  position: relative;
  color: #4d4d4d;
  font-size: 12px;
  -ms-box-shadow: 0 0 3px 0 #d6d6d6;
  -moz-box-shadow: 0 0 3px 0 #d6d6d6;
  -webkit-box-shadow: 0 0 3px 0 #d6d6d6;
  box-shadow: 0 0 3px 0 #d6d6d6;
  max-height: 300px;
  cursor: default;
  max-width: 280px;
  position: fixed;
  word-break: break-word;
  word-wrap: break-word;
  display: none;
  line-height: normal;
  z-index: 101;
  text-align: left;
  padding: 10px;
}

.content-tooltip-info a {
  font-size: 12px;
  word-break: break-all;
}

.content-tooltip-info.show-on-hover {
  display: block;
}

.content-tooltip-info:after {
  content: "";
  display: block;
  width: 24px;
  height: 54px;
  background: url(/themes/custom/gff/components/inner-pages/country/css/../img/tooltip-arrow.png) no-repeat center center transparent;
  position: absolute;
  right: -24px;
  top: 50%;
  margin-top: -27px;
}

.content-tooltip-info.left-align-arrow:after {
  transform: rotate(180deg);
  right: 100%;
}

/* with close */

.with-close-option.tooltip-sup-wrapper .content-tooltip-info {
  padding-top: 25px;
}

.with-close-option.tooltip-sup-wrapper .tooltip-popup-close {
  background-size: 12px;
  width: 12px;
  height: 12px;
  top: 8px;
  right: 8px;
}

/* remove more/less in table section */

.visualisation-block .footnote-new-block .foot-note-content,
.visualisation-block .table-block[widgetid="core-rmncah-n-impact-indicators-table"] .footnote-new-block .foot-note-content,
.visualisation-block .table-block[widgetid="core-rmncah-n-impact-indicators-table"] .source-content,
.visualisation-block .table-block[widgetid="core-health-financing-indicators-table"] .footnote-new-block .foot-note-content,
.visualisation-block .table-block[widgetid="core-health-financing-indicators-table"] .source-content {
  height: auto !important;
}

.visualisation-block .footnote-new-block .source-readmore,
.visualisation-block .table-block[widgetid="core-rmncah-n-impact-indicators-table"] .source-readmore,
.visualisation-block .table-block[widgetid="core-health-financing-indicators-table"] .source-readmore {
  display: none !important;
}

.page-node-type-country .section-left-right .section-left-content .section-content-area-inner {
  max-height: none !important;
}

.page-node-type-country .section-left-right .section-left-content .section-content-area .source-readmore {
  display: none !important;
}

/* other styles */

.sup-tooltip-section .content-tooltip-info a {
  font-size: 12px;
  font-weight: 400;
  color: #1fa29c;
  text-decoration: underline;
}

.content-tooltip-info a {
  text-decoration: underline;
}

.sup-tooltip-section .content-tooltip-info a:hover {
  color: #666666;
}

td sup.tooltip-sup-wrapper>a {
  font-size: 14px;
}

.content-tooltip-info-note {
  font-size: 12px;
  line-height: 16px;
  color: #000;
  font-weight: 400;
}

.table-block[widgetid="core-rmncah-n-impact-indicators-table"] .foot-notes-block ul {
  list-style-type: decimal;
  padding-left: 13px;
}

.sup-info-icon {
  font-size: 0 !important;
  width: 11px;
  height: 11px;
  background: url(/themes/custom/gff/components/inner-pages/country/css/../img/info.png) no-repeat center center transparent;
  display: inline-block;
  background-size: 11px;
  position: relative;
  top: 0;
  margin-left: 3px;
}

.tooltip-sup-wrapper:has(.sup-info-icon) {
  vertical-align: top;
}

/* readmore line-limit increase*/

.section-content-block.full-width-wrap .section-content-area-inner {
  max-height: 202px;
}

/* country name max-width */
.selected-country .country-name {
  max-width: 229px;
  line-height: 1.2;
}

/*********************

responsive

********************/
@media only screen and (min-width: 1000px) and (max-height:650px) {
  .selected-country .country-name {
    max-width: 149px;
  }

  .selected-country.selected-field {
    --arrow-text-gap: var(--sp8);
  }
}

/* Small Devices, Tablets */
@media only screen and (min-width: 768px) {
  .p-absolute.tooltip-sup-wrapper {
    position: relative;
  }

  .p-absolute.tooltip-sup-wrapper .content-tooltip-info {
    margin-left: 11px;
    top: 50%;
    left: 100%;
    position: absolute;
    transform: translateY(-50%);
  }
}

@media only screen and (max-width: 767px) {
  .inner-page.page-node-type-country .page-content-area {
    padding: 0;
  }

  .country-indicators-description strong,
  .country-indicators-section .country-indicators-description {
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
  }

  .country-indicators-section li:not(:last-child) {
    margin-bottom: 10px;
  }

  .country-indicators-section {
    max-width: 400px;
    margin: 0 auto;
  }

  /* tooltip */

  .content-tooltip-info {
    position: fixed;
    top: 50% !important;
    transform: translateY(-50%);
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    max-width: 300px;
  }

  .content-tooltip-info:after {
    display: none;
  }
}


@media only screen and (max-width: 420px) {
  .selected-country .country-name {
    line-height: 1;
  }
}
