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

Visualisation style 2


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

.section-instructions {
  font-size: 16px;
  color: #4d4d4d;
  font-weight: 300;
  line-height: 22px;
  font-style: italic;
  width: 75%;
  margin-bottom: 12px;
}

.visualisation-style-2 .visualisation-item {
  padding-top: 62px;
}

.page-node-type-country .visualisation-style-2 .visualisation-item {
  padding-top: 20px;
}

.visualisation-style-2 .visualisation-item-inner {
  padding: 25px;
}

.visualisation-style-2 .filter-field-label {
  color: #1fa29c;
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 10px;
  display: block;
}

.views-row-without-image .visualisation-area {
  margin-top: 0px;
  /*border-top: 1px solid #C4C4C4;*/
}

.views-row-without-image .visualisation-area .visualisation-item {
  padding-top: 41px;
}

/* filter */

.visualisation-style-2 .top-filter .filter-col {
  display: flex;
  width: 100%;
}

.visualisation-style-2 .top-filter .filter-row {
  flex: 1;
}

.visualisation-style-2 .top-filter .filter-row:first-child {
  max-width: 366px;
  padding-right: 15px;
}

.visualisation-style-2 .top-filter.single-filter-opt .filter-row {
  width: 100%;
  padding-right: 0;
  max-width: none;
}

/* chart main area */

.visualisation-style-2 .visualisation-main-area {
  margin-top: 30px;
}

.visualisation-style-2 .visualisation-main-area-inner {
  width: 100%;
  display: flex;
}

/* left filter */

.left-filter-block {
  width: 270px;
  border: 1px solid #dbdbdb;
  border-radius: 10px;
  padding: 75px 0;
  min-height: 500px;
  position: relative;
}

.left-filter-list {
  padding: 0;
  list-style-type: none;
}

.left-filter-item {
  font-size: 14px;
  line-height: 20px;
  color: #4d4d4d;
  font-weight: 700;
  padding: 15px 20px;
  cursor: pointer;
  position: relative;
  border-radius: 4px;
}

.left-filter-item:not(:first-child):after {
  content: "";
  width: calc(100% - 40px);
  height: 1px;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: 0 auto;
  background: #c4c4c4;
}

.left-filter-item:before {
  content: "";
  width: 11px;
  height: 24px;
  background: url(/themes/custom/gff/components/inner-pages/visualization/css/../img/indicating_arrow.png) no-repeat center center transparent;
  position: absolute;
  right: -11px;
  top: 50%;
  margin-top: -12px;
  opacity: 0;
}

.left-filter-item.is-active:before {
  opacity: 1;
}

.left-filter-item.is-active {
  background: #1fa29c;
  color: #ffffff;
}

.left-sub-items-block.is-open+.left-filter-item:after,
.left-filter-item.is-active:after,
.left-filter-item.is-active+.left-filter-item:after {
  opacity: 0;
}

/* right section */

.visualisation-style-2 .visualization-plot-area {
  padding: 0 20px;
}

.visualisation-style-2 .visualisation-plot-component {
  width: calc(100% - 270px);
  border: 1px solid #dbdbdb;
  border-left: none;
  border-radius: 10px;
  padding: 20px 15px;
}

.visualisation-without-left-filter .visualisation-plot-component-full {
  border-left: 1px solid #dbdbdb;
  width: 100%;
}

.visualisation-style-2 .visualisation-head-section {
  display: flex;
  width: calc(100% - 20px);
  /*justify-content: center;*/
  margin-bottom: 35px;
  position: relative;
  padding: 0 108px 0 20px;
}

.visualisation-style-2 .visualisation-title {
  font-size: 14px;
  font-weight: 700;
  color: #1fa29c;
  text-transform: uppercase;
  text-align: left;
}

.visualisation-style-2 .visualization-actions-block ul {
  display: flex;
  align-items: center;
}

.visualisation-style-2 .visualization-actions-block ul li:not(:first-child) {
  border-left: 1px solid #dbdbdb;
  padding-left: 10px;
  margin-left: 10px;
}

/* tooltip*/

.map-type .highcharts-legend,
.map-type g.highcharts-tooltip {
  display: none;
}

.visualisation-style-2 .highcharts-tooltip .tooltip-label:not(.tooltip-label-with-border) {
  border: none !important;
}

.map-type .custom-tooltip {
  min-width: 150px;
}

/* infobox*/

.visualisation-style-2 .info.content-hover-wrap {
  position: absolute;
  position: absolute;
  padding-top: 29px;
  top: 0;
  right: 0;
  opacity: 0;
  display: none;
}

.visualisation-style-2 .info-popup-field.is-active .info.content-hover-wrap {
  opacity: 1;
  display: block;
}

.visualisation-style-2 .hover-content .hover-content-inner {
  opacity: 1;
  right: -40px;
  position: absolute;
  top: 100%;
  z-index: 1;
  padding: 40px;
  width: 540px;
  max-width: none;
  font-size: 14px;
  line-height: 22px;
  border: none;
  box-shadow: 0 0 28px 0px rgba(0, 0, 0, 0.2);
  border-radius: 0;
  max-height: none;
}

.visualisation-style-2 .hover-content .hover-content-inner p {
  font-size: 14px;
  line-height: 22px;
}

.visualisation-style-2 .info-pos-bottom .hover-content-inner:after {
  width: 12px;
  height: 6px;
  background: url(/themes/custom/gff/components/inner-pages/visualization/css/../img/info-box/popup_indicate_arrow.png) no-repeat center center transparent;
  top: -6px;
  margin: 0;
  right: 43.5px;
}

.visualisation-style-2 .info-description {
  max-height: 300px;
  overflow: auto;
}

.visualisation-style-2 .info-box-close {
  width: 12px;
  height: 12px;
  position: absolute;
  background: url(/themes/custom/gff/components/inner-pages/visualization/css/../img/info-box/close.png) no-repeat center center transparent;
  right: 12px;
  top: 12px;
  cursor: pointer;
}

.visualisation-style-2 .share-download-options.align-top {
  bottom: auto;
}

/* legends */

.custom-legend-block.legend-without-click {
  pointer-events: none;
}

.visualisation-style-2 .legend-item-with-border .symbol {
  border: 2px solid #000000;
  width: 14px;
  height: 14px;
  overflow: hidden;
}

.visualisation-style-2 .legend-item .symbol-inner {
  background: #23894e;
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

.visualisation-style-2 .legend-item-without-border .symbol {
  overflow: hidden;
}

.legend-fill-opacity-1 .symbol-inner {
  opacity: 1 !important;
}

.visualisation-style-2 .legend-item .serieName,
.visualisation-style-2 .visualisation-legends .legend-item {
  width: auto;
}

.visualisation-style-2 .visualisation-legends .legend-item {
  margin-right: 25px;
}

.chart-legends-align-left .custom-legend-block .visualisation-legends {
  width: 100%;
  justify-content: flex-start;
}

.chart-legends-align-left .visualisation-legends .legend-item {
  width: calc(20% - 20px);
}

.chart-legends-align-left .visualisation-legends .legend-item:nth-child(5n) {
  margin-right: 0;
}

.chart-legends-align-left .popup-content .legend-item .serieName,
.chart-legends-align-left .legend-item .serieName {
  width: calc(100% - 18px);
}

.chart-legends-align-left .popup-content .custom-legend-item .serieName,
.chart-legends-align-left .custom-legend-item .serieName {
  width: calc(100% - 28px);
}

.symbol.custom-dashed-legend {
  width: 20px;
  height: 0;
  border: none;
  border-bottom: 2px solid #000000;
  border-bottom-style: dashed;
  border-radius: 0;
}

.legend-with-description .visualisation-legends .legend-item:nth-child(3n) {
  margin-right: 0;
}

.legend-with-description .visualisation-legends .legend-item {
  width: calc(33.33% - 16.66px);
}

/* legend with descriptions */

.legend-descriptions {
  max-width: 300px;
}

.custom-legends-with-descriptions .visualisation-legends {
  justify-content: flex-start;
}

.custom-legends-with-descriptions .visualisation-legends .legend-item {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.legend-symbol-name-wrap {
  display: flex;
  align-items: center;
}

/* table */

.highlighted-td {
  color: #1fa29c !important;
  font-weight: 500 !important;
}

.sub-tr td:first-child {
  padding-left: 30px !important;
}

.visualisation-style-2 .main-table-wraps {
  max-height: 400px;
}

/* goto */

.goto-other-page-block {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  padding-top: 15px;
}

.left-filter-block .goto-other-page-block {
  position: absolute;
  bottom: 18px;
  left: 0;
  padding: 0 20px;
}

.goto-other-page-link {
  font-size: 13px;
  text-transform: uppercase;
  color: #1FA29C;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.goto-other-page-link:hover {
  color: #4d4d4d;
}

.goto-other-page-link:after {
  content: "";
  width: 20px;
  height: 21px;
  display: block;
  margin-left: 10px;
  background: url(/themes/custom/gff/components/inner-pages/visualization/css/../img/goto-other-page-arrow.png) no-repeat center center transparent;
}

.goto-other-page-link:hover:after {
  background-image: url(/themes/custom/gff/components/inner-pages/visualization/css/../img/goto-other-page-arrow-hover.png);
}

.table-th-label-field {
  display: block;
  min-width: 120px;
}

.table-th-label-field-xs {
  min-width: 60px;
  display: block;
}

/* left sub list */

.left-sub-items-block {
  display: none;
}

.left-sub-items-inner {
  padding: 15px 20px;
  width: 100%;
  background: #f4f4f4;
}

.left-sub-items-list {
  padding: 0;
  list-style-type: none;
}

.left-filter-sub-item {
  font-size: 13px;
  font-weight: 400;
  color: #4d4d4d;
  cursor: pointer;
}

.left-filter-sub-item:hover,
.left-filter-sub-item.is-active {
  color: #1fa29c;
}

.left-filter-sub-item:not(:last-child) {
  margin-bottom: 10px;
}

.left-filter-item.accordion-head-field {
  padding-right: 45px;
}

.accordion-head-field .accordion-nav {
  width: 11px;
  height: 11px;
  background: url(/themes/custom/gff/components/inner-pages/visualization/css/../img/accordion/plus_grey.png) no-repeat center center transparent;
  display: block;
  position: absolute;
  right: 20px;
  top: 50%;
  margin-top: -5.5px;
}

.accordion-head-field.is-active .accordion-nav {
  background-image: url(/themes/custom/gff/components/inner-pages/visualization/css/../img/accordion/plus_white.png);
}

.accordion-head-field.accordion-link-active .accordion-nav {
  background-image: url(/themes/custom/gff/components/inner-pages/visualization/css/../img/accordion/minus_white.png);
}

/* visualisation top summary seen in hf */

.visualisation-top-summary {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.visualisation-summary-list {
  padding: 0;
  margin: 0;
  list-style-type: none;
  display: flex;
}

.visualisation-summary-item {
  font-size: 12px;
  color: #4d4d4d;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 170px;
}

.visualisation-summary-item:not(:last-child) {
  margin-right: 20px;
  padding-right: 20px;
  border-right: 1px solid #dbdbdb;
}

.visualisation-summary-value {
  font-size: 14px;
  font-weight: 600;
}

.with-visualisation-summary .visualisation-head-section {
  margin-bottom: 25px;
}

.visualisation-style-2 .top-filter .filter-row.max-width-270 {
  max-width: 270px;
  width: 100%;
}

.visualisation-style-2 .top-filter .filter-row.padding-right-0 {
  padding-right: 0;
}

/* download */

.image-downloading .visualisation-style-2 .popup-component {
  width: 1920px;
  height: 200vh;
}

.image-downloading .visualisation-style-2 .popup-component .popup-inner-section {
  height: 100%;
  max-width: none;
}

.image-downloading .visualisation-style-2 .popup-component .popup-tab-content.chart-wrap,
.image-downloading .visualisation-style-2 .popup-component .custom-legend-block-wrapper {
  max-width: 1140px;
}

.image-downloading .visualisation-style-2 .popup-component .popup-tab-content.chart-wrap {
  padding-right: 50px;
}

.image-downloading .visualisation-style-2 .popup-content * {
  overflow: visible !important;
}

/* sub charts */

.sub-chart-wrap {
  width: 100%;
}

.sub-chart-wrap:not(:last-child) {
  margin-bottom: 40px;
}

.visualisation-style-2 .visualization-actions-block .disable-field {
  display: none;
}

/* visualisation-without-any-top-filters */

.visualisation-without-any-top-filters .visualisation-main-area {
  margin-top: 0;
}

/* responsive */

@media only screen and (max-width: 1200px) {}

@media screen and (min-width: 992px) and (max-width:1199px) {}

/* Medium Devices, Desktops */

@media only screen and (max-width: 991px) {
  .visualisation-style-2 .visualisation-main-area-inner {
    position: relative;
    overflow: hidden;
  }

  /* left filter */
  .left-filter-block {
    position: absolute;
    left: -100%;
    background: #fff;
    z-index: 1;
    height: 100%;
    min-height: auto;
    transition: left 0.5s linear 0s;
    padding-top: 20px;
    padding-bottom: 50px;
    width: 100%;
    max-width: 350px;
  }

  .left-filter-open .left-filter-block {
    left: 0;
  }

  .left-filter-block-inner {
    height: 100%;
    overflow: hidden;
  }

  .left-filter-list.max-height-list {
    max-height: 100%;
  }

  .left-filter-item {
    padding: 12px 20px;
  }

  .visualisation-filter-btn-block {
    position: absolute;
    top: -40px;
    left: 0;
  }

  .visualisation-filter-btn {
    width: 30px;
    height: 30px;
    background: url(/themes/custom/gff/components/inner-pages/visualization/css/../img/filter.png) no-repeat center center transparent;
    cursor: pointer;
    display: block;
  }

  .visualisation-filter-btn.is-active {
    background-image: url(/themes/custom/gff/components/inner-pages/visualization/css/../img/close_filter.png);
  }

  .visualisation-style-2 .visualisation-with-left-filter .visualisation-plot-component {
    border-left: 1px solid #dbdbdb;
    width: 100%;
  }

  .visualisation-with-left-filter .visualisation-main-area {
    margin-top: 60px;
    position: relative;
  }

  .visualisation-without-any-top-filters .visualisation-main-area {
    margin-top: 40px;
  }

  .visualisation-style-2 .visualization-plot-area {
    min-height: 400px;
  }

  .section-instructions {
    width: 100%;
    margin-bottom: 55px;
  }

  .views-row-without-image .visualisation-area .visualisation-item {
    padding-top: 46px;
  }

  .visualisation-style-2 .dropdown-label-hidden .awselect .front_face .current_value {
    display: block !important;
  }

  .visualisation-style-2 .dropdown-label-hidden .awselect .front_face .placeholder {
    display: none !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .visualisation-style-2 .visualisation-legends .legend-item {
    margin-right: 15px !important;
  }
}

/* Small Devices, Tablets */

@media only screen and (max-width: 767px) {
  .visualisation-style-2 .visualisation-item-inner {
    padding: 10px 15px !important;
  }

  .section-summary .visualisation-style-2 .visualisation-item-inner {
    padding: 0 !important;
  }

  .visualisation-style-2 .visualisation-head-section {
    width: 100%;
    padding-left: 0;
    padding-right: 65px;
  }

  .visualisation-style-2 .visualization-plot-area {
    padding: 0;
  }

  .visualisation-style-2 .top-filter .filter-row:first-child {
    max-width: none;
    padding-right: 0;
    width: 100%;
    flex: unset;
  }

  .visualisation-style-2 .top-filter .filter-row:not(:last-child) {
    margin-bottom: 15px;
  }

  .visualisation-style-2 .top-filter .filter-col {
    flex-wrap: wrap;
  }

  .views-row-without-image .visualisation-area {
    margin-top: 0;
  }

  /* legends */
  .visualisation-style-2 .visualisation-legends .legend-item {
    width: auto !important;
  }

  .visualisation-style-2 .visualisation-legends .legend-item {
    margin-right: 15px !important;
  }

  /* legend button options */
  .with-button-options.custom-legend-block-wrapper {
    display: none !important;
  }

  .with-button-options.custom-legend-block-wrapper.is-shown {
    display: block !important;
  }

  .legends-button-wrapper.legends-button-wrapper-1 {
    margin-bottom: 15px;
    position: static;
  }

  .visualisation-style-2 .map-type .legends-button-wrapper {
    margin-top: 20px;
  }

  /* top summary */
  .visualisation-summary-list {
    width: 100%;
    flex-wrap: wrap;
  }

  .visualisation-summary-item:not(.visualisation-summary-item-title) {
    width: calc(50% - 7.5px);
    box-shadow: 0 0 8px 0px rgba(0, 0, 0, 0.2);
    margin-right: 0;
    margin-bottom: 15px;
    padding: 10px 15px;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 80px;
    max-width: none;
  }

  .visualisation-summary-item.odd-item {
    margin-right: 15px;
  }

  .visualisation-summary-list .visualisation-summary-item.even-item {
    margin-right: 0;
  }

  .visualisation-summary-item.visualisation-summary-item-title {
    width: 100%;
    max-width: none;
    border: none;
    margin-bottom: 15px;
  }

  .visualisation-summary-item:not(.visualisation-summary-item-title) .visualisation-summary-value {
    color: #1fa29c;
    font-weight: 400;
    font-weight: 600;
    font-size: 12px;
  }

  .visualisation-summary-label+.visualisation-summary-value {
    padding-top: 5px;
  }

  /**** info popup *****/
  .visualisation-style-2 .info.content-hover-wrap {
    position: fixed;
    top: 0;
    left: 0;
    margin: 0 auto;
    right: 0;
    width: 100%;
    z-index: 5;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .visualisation-style-2 .info-popup-field.is-active .info.content-hover-wrap {
    display: flex;
  }

  .visualisation-style-2 .hover-content {
    width: calc(100% - 30px);
  }

  .visualisation-style-2 .hover-content .hover-content-inner {
    position: relative;
    width: 100%;
    right: auto;
    padding: 30px 15px;
    font-size: 13px;
    line-height: 18px;
  }

  .visualisation-style-2 .hover-content .hover-content-inner p {
    font-size: 13px;
    line-height: 18px;
  }

  .visualisation-style-2 .info-pos-bottom .hover-content-inner:after {
    display: none;
  }

  .sub-chart-wrap:not(:last-child) {
    margin-bottom: 20px;
  }

  /* tilte with tab */

  .visualisation-style-2 .visualisation-head-section.visualisation-head-with-tab {
    display: block;
    padding-right: 0;
  }

  .visualization-actions-block.with-tab-navigations-options {
    position: static;
    width: 100%;
    justify-content: flex-end;
    padding-top: 10px;
  }

  /* for specific section */
  .phc-widget-1-visualisation .visualization-plot-area {
    min-height: auto;
  }
}

/* Extra Small Devices, Phones */

@media only screen and (max-width: 480px) {

  /* top summary */
  .visualisation-summary-list .visualisation-summary-item {
    margin-right: 0 !important;
    width: 100% !important;
  }
}

/* Custom, iPhone Retina */

@media only screen and (max-width: 320px) {}
