/* flow chart */
.flowchart-block .source-block,
.flowchart-head {
  display: none;
}

.flowchart-wrap .filter-field-label {
  font-weight: 700;
  text-transform: uppercase;
}

/* flow chart button */

.flow-chart-navigation-start {
  margin-top: 26px;
}

.flow-chart-navigation-start .flow-chart-more {
  width: 100%;
  max-width: 210px;
  border: 1px solid #939598;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  padding: 10.5px;
  line-height: normal;
}

.flow-chart-navigation-inner {
  display: flex;
  width: 100%;
}

.flow-chart-navigation-start .nav-image {
  margin-bottom: 8px;
  width: 100%;
}

.flow-chart-navigation-start .nav-image img {
  max-width: 100%;
}

.flow-chart-more-btn {
  width: 100%;
}

.flow-chart-navigation-end {
  margin-top: 20px;
}

.flow-chart-navigation .btn {
  height: 34px;
  line-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-chart-navigation .button-style-3.btn:hover,
.flow-chart-navigation .button-style-3.btn:active,
.flow-chart-navigation .button-style-3.btn:focus {
  background-color: transparent;
}

.flow-chart-navigation-start .flow-chart-more-btn:after {
  content: "";
  width: 13px;
  height: 10px;
  margin-left: 10px;
  background: url(/themes/custom/gff/components/inner-pages/flow-chart/css/../img/downarrow-01.svg) no-repeat center center transparent;
}

.flow-chart-navigation-start .button-style-3.btn:active:after,
.flow-chart-navigation-start .button-style-3.btn:focus:after,
.flow-chart-navigation-start .flow-chart-more-btn:hover:after {
  background-image: url(/themes/custom/gff/components/inner-pages/flow-chart/css/../img/downarrow-hover-01.svg);
}

.flowchart-main-component.show-flow-chart .flow-chart-navigation-start,
.flow-chart-navigation-end {
  display: none;
}

.flowchart-main-component.show-flow-chart .flow-chart-navigation-end {
  display: block;
}

/* flow-charts-tab-navigation */

.flow-charts-tab-navigation {
  margin-top: 20px;
  margin-bottom: 22px;
  border: none;
}

.flow-charts-tab-navigation ul li:not(:last-child) {
  margin-right: 20px;
}

.flow-charts-tab-navigation a {
  font-size: 16px;
  color: #a8a8a8;
}

.flow-charts-tab-navigation li.is-active a,
.flow-charts-tab-navigation a:hover {
  color: #21568c;
}

.flow-charts-tab-navigation li.is-active a:after,
.flow-charts-tab-navigation a:hover:after {
  background: #21568c;
}

/* flow-chart-content */

.flow-chart-content {
  clear: both;
  overflow: hidden;
}

.flowchart-block,
.flowchart-main-component,
.flowchart-wrap {
  width: 100%;
}

.flowchart-block {
  display: none;
}

.flowchart-main-component.show-flow-chart .flowchart-block {
  display: block;
}

.flow-chart-main-inner {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.flow-chart-tab-item {
  width: 30px;
  transition: width 0.5s linear 0s;
  overflow: hidden;
}

.flow-chart-tab-item:not(.is-active) {
  width: 30px !important;
}

.flow-chart-tab-item:not(:last-child) {
  margin-right: 6px;
}

.flow-chart-tab-item-inner {
  display: flex;
  background: #f2f2f2;
  height: 440px;
}

.flow-chart-tabitem-head {
  width: 30px;
  background-color: #21568c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  position: relative;
}

.flow-chart-tabitem-head:after {
  content: "";
  width: 17px;
  height: 17px;
  background-color: #21568c;
  position: absolute;
  left: 100%;
  top: 50%;
  margin-top: -8.5px;
  transform: rotate(45deg);
  margin-left: -8.5px;
}

.flow-chart-tabitem-head-inner {
  transform: rotate(270deg);
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.flow-chart-tabitem-content-block {
  width: calc(100% - 30px);
  display: flex;
  align-items: center;
  padding: 20px 10px;
}

.flow-chart-tabitem-content {
  max-height: 400px;
  overflow: auto;
  width: 100%;
}

.flow-chart-tabitem-content.overflow-visible {
  overflow: unset;
}

.flow-chart-tabitem-content .mCSB_inside>.mCSB_container {
  margin-right: 20px;
}

.flowchart-block .custom-legend-block {
  display: none;
}

/* card */

.flow-chart-card-wrap {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 10px;
}

.flow-chart-card {
  width: calc(33.33% - 16px);
  margin-right: 24px;
  margin-top: 24px;
  padding: 20px;
  background-color: #21568c;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.flow-chart-card.card-with-link {
  cursor: pointer;
}

.flow-chart-card:nth-child(3n) {
  margin-right: 0;
}

.flow-chart-card:first-child,
.flow-chart-card:nth-child(2),
.flow-chart-card:nth-child(3) {
  margin-top: 0;
}

.flow-chart-card-inner {
  width: 100%;
}

.flow-chart-card-label {
  font-size: 14px;
  font-weight: 300;
  width: 100%;
  position: relative;
}

.flow-chart-card.card-with-link .flow-chart-card-label {
  padding-right: 36px;
  position: relative;
}

.flow-chart-card.card-with-link .flow-chart-card-label:after {
  content: "";
  width: 21px;
  height: 21px;
  background: url(/themes/custom/gff/components/inner-pages/flow-chart/css/../img/right_arrow_white.png) no-repeat center center transparent;
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -10.5px;
}

.flow-chart-card.card-with-link:hover {
  background-color: #ffffff !important;
  color: #21568c;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}

.flow-chart-card.card-with-link:hover .flow-chart-card-label:after {
  background-image: url(/themes/custom/gff/components/inner-pages/flow-chart/css/../img/right_arrow_blue.png)
}


/* color changes outcome */

.flow-charts-tab-navigation .outcome-field:hover a:after,
.flow-charts-tab-navigation .outcome-field.is-active a:after,
.outcome-field .flow-chart-tabitem-head,
.outcome-field .flow-chart-card,
.outcome-field .flow-chart-tabitem-head:after {
  background-color: #1fa29c;
}

.flow-charts-tab-navigation .outcome-field a:hover,
.flow-charts-tab-navigation .outcome-field.is-active a,
.outcome-field .flow-chart-card.card-with-link:hover {
  color: #1fa29c;
}

.outcome-field .flow-chart-card.card-with-link:hover .flow-chart-card-label:after {
  background-image: url(/themes/custom/gff/components/inner-pages/flow-chart/css/../img/right_arrow_light-green.png)
}

/* color changes outcome */

.flow-charts-tab-navigation .impact-field:hover a:after,
.flow-charts-tab-navigation .impact-field.is-active a:after,
.impact-field .flow-chart-tabitem-head,
.impact-field .flow-chart-card,
.impact-field .flow-chart-tabitem-head:after {
  background-color: #09544f;
}

.flow-charts-tab-navigation .impact-field:hover a,
.flow-charts-tab-navigation .impact-field.is-active a,
.impact-field .flow-chart-card.card-with-link:hover {
  color: #09544f;
}

.impact-field .flow-chart-card.card-with-link:hover .flow-chart-card-label:after {
  background-image: url(/themes/custom/gff/components/inner-pages/flow-chart/css/../img/right_arrow_dark-green.png)
}

/* responsive */

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

  .flow-chart-filter-top .dropdown-label-hidden .awselect .front_face .placeholder {
    display: none !important;
  }

  .flow-chart-filter-top .dropdown-label-hidden .awselect .front_face .current_value {
    display: block !important;
  }

  .flow-chart-content .flow-charts-tab-navigation {
    margin-bottom: 20px;
  }

  .flow-charts-tab-navigation ul li:not(:last-child) {
    margin-right: 15px;
  }

  .flow-charts-tab-navigation a {
    font-size: 14px;
  }

  .flow-chart-content .flow-charts-tab-navigation ul li:first-child {
    padding-left: 0;
  }

  .flow-chart-card {
    margin-top: 20px;
    margin-right: 20px;
    width: calc(50% - 10px);
  }

  .flow-chart-card:nth-child(3) {
    margin-top: 20px;
  }

  .flow-chart-card:nth-child(3n) {
    margin-right: 20px;
  }

  .flow-chart-card:nth-child(2n) {
    margin-right: 0;
  }
}

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

  .flow-chart-card.card-with-link .flow-chart-card-label {
    word-break: break-word;
  }

  .flowchart-block .visualisation-item-inner {
    padding-bottom: 15px !important;
  }

  .flow-chart-card {
    padding: 15px;
  }

  /* content style change */

  .flowchart-wrap {
    width: 100% !important;
  }

  .flow-chart-main-inner {
    flex-direction: column;
  }

  .flow-chart-tab-item:not(.is-active),
  .flow-chart-tab-item {
    width: 100% !important;
    margin-right: 0;
  }

  .flow-chart-tab-item:not(:last-child) {
    margin-bottom: 10px;
  }

  .flow-chart-tab-item-inner {
    width: 100% !important;
    height: auto;
    flex-direction: column;
  }

  .flow-chart-tabitem-head {
    width: 100%;
    font-size: 14px;
  }

  .flow-chart-tabitem-head:after {
    width: 10px;
    height: 10px;
    left: 50%;
    top: 100%;
    margin-top: -5px;
    margin-left: -5px;
  }

  .flow-chart-tabitem-head-inner {
    transform: none;
    padding: 5px 0;
  }

  .flow-chart-tabitem-content-block {
    width: 100%;
    display: none;
  }

  .flow-chart-tab-item.is-active .flow-chart-tabitem-content-block {
    display: flex;
  }
}

@media only screen and (max-width: 480px) {
  .flow-chart-card {
    width: 100%;
    margin-right: 0 !important;
  }

  .flow-chart-card {
    margin-top: 15px !important;
  }

  .flow-chart-card:first-child {
    margin-top: 0 !important;
  }
}
