/* General  */
.text-med {
  font-size: 1.2em;
}

.top-wrapper {
  padding: 0 6em;
}

.landing-section {
  text-align: center;
}

/* Banner */
.banner {
  position: relative;
  background: url(/static-assets/images/about/member-survey/2024/24-member-survey-banner.png)
    no-repeat;
  width: 100%;
  height: 300px;
  margin-bottom: 4em;
  background-size: cover;
}

header > h1 {
  display: none;
}

.banner-title {
  position: absolute;
  top: 26%;
  left: 60%;
}

.banner-title h1 {
  text-align: right;
  padding: 0;
  margin: 0;
  border: none;
}

/* CEO message */
.ceo-msg-container {
  display: flex;
}

.ceo-msg-image {
  position: absolute;
  z-index: 100;
}

.ceo-msg-image img {
  width: 180px;
  border-radius: 100px;
}

.ceo-msg-text {
  display: flex;
  background-color: #e6ebed;
  z-index: 1;
  text-align: left;
  padding: 0 20px 0 100px;
  height: 160px;
  margin-left: 100px;
  justify-content: center;
  align-items: center;
  position: relative;
  top: 10px;
}

.ceo-msg-text p {
  margin: 0;
}

/* Top words */
#top-words-section {
  margin-top: 6em;
}

.top-words-content img {
  max-width: 60%;
}

.top-words-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.top-words-legend {
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-words-legend li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.top-words-legend span {
  display: inline-block;
  float: left;
  width: 25px;
  height: 25px;
  margin-right: 10px;
}

.top-words-legend li {
  color: black;
}

.top-words-legend li:nth-child(1) span {
  background-color: #004b62;
}

.top-words-legend li:nth-child(2) span {
  background-color: #00807d;
}

.top-words-legend li:nth-child(3) span {
  background-color: #323fa0;
}

.top-words-legend li:nth-child(4) span {
  background-color: #1a2259;
}

.top-words-legend li:nth-child(5) span {
  background-color: #644493;
}

.top-words-legend li:nth-child(6) span {
  background-color: #376052;
}

/* CMPA Mission */

#mission h3 {
  margin-bottom: 3rem;
}

.icon-block p {
  margin-bottom: 0;
}

.icon-block {
  display: flex;
  justify-content: space-evenly;
}

.icon-block div {
  display: flex;
  text-align: left;
  align-items: center;
}

.icon-block img {
  width: 42px;
  height: 42px;
  max-width: 42px;
}

.icon-circle {
  border: 2px solid #004b62;
  padding: 15px;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  margin-right: 20px;
}

/* CMPA Value */
.chart-and-block {
  display: flex;
  align-items: center;
}

.chart-and-block div:nth-child(1) {
  flex: 2;
}

.chart-and-block div:nth-child(2) {
  flex: 1;
}

.light-green-block {
  background-color: #e4ede8;
  text-align: left;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.light-green-block h4 {
  margin-top: 0;
}

/*Charts and legends*/
.pie-chart-section {
  margin-bottom: 2em;
}

.multi-bar-chart-text {
  display: none;
}

.legend {
  list-style: none;
  margin-top: 10px;
  font-size: 14px;
}

.legend li {
  margin-right: 10px;
  color: #686868;
}

.legend span {
  float: left;
  width: 12px;
  height: 12px;
  margin: 2px;
  margin-top: 4px;
}

.legend .legend-one {
  background-color: #323f9f;
}

.legend .legend-two {
  background-color: #3a5e52;
}

.legend .legend-three {
  background-color: #664491;
}

.legend .legend-four {
  background-color: #1b2259;
}

.legend .legend-five {
  background-color: #00756c;
}

.mobile-legend {
  display: none;
  list-style: none;
  margin-top: 10px;
  font-size: 14px;
  margin: 0;
}

.mobile-legend li {
  padding: 5px 0;
  line-height: 1em;
}

.mobile-legend span {
  display: inline-block;
  float: left;
  width: 16px;
  height: 16px;
  margin-right: 10px;
}

.mobile-legend li:nth-child(1) span {
  background-color: #323f9f;
}

.mobile-legend li:nth-child(2) span {
  background-color: #3a5e52;
}

.mobile-legend li:nth-child(3) span {
  background-color: #664491;
}

/*WHO RESPONDED SECTION*/
.multi-col-box div {
  border: none !important;
}

#who-responded-section .chart-block {
  flex: 1;
  background-color: #fff;
}

#who-responded-section .chart-side {
  flex: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
}

#who-responded-section .legend-side {
  flex: 1;
  display: flex;
  align-items: center;
}

#who-responded-section .legend-side-lang {
  display: none;
}

#who-responded-section ul {
  margin-left: 0;
}

#who-responded-section li {
  text-align: left;
}

#who-responded-section figure {
  max-width: 200px;
}

#who-responded-section .lang-chart figure {
  max-width: 350px;
}

/* WHY IMPORTANT SECTION */
#why-important-section .multi-col-box {
  background-image: linear-gradient(
    bottom,
    #e4ede8,
    #e4ede8 90%,
    transparent 90%,
    transparent 100%
  );
  background-image: -webkit-linear-gradient(
    bottom,
    #e4ede8,
    #e4ede8 90%,
    transparent 90%,
    transparent 100%
  );
}

#why-important-section img {
  height: 220px;
  margin-right: 20px;
}

#why-important-section h2 {
  margin-top: 2.5rem;
  text-align: left;
}

#why-important-section li {
  text-align: left;
}

#why-important-section .multi-col-box div:nth-of-type(1),
#why-important-section .multi-col-box div:nth-of-type(2) {
  display: flex;
  border: none;
}

#why-important-section .multi-col-box div:nth-of-type(1) {
  flex: 1;
  align-items: flex-end;
}

#why-important-section .multi-col-box div:nth-of-type(2) {
  flex-direction: column;
  flex: 4;
  padding: 0 5em 0 2em;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  #why-important-section .multi-col-box {
    background: #e4ede8;
  }
}

/* Mobile - 960px */
@media only screen and (max-width: 960px) {
  .banner-title {
    display: none;
  }
  header > h1 {
    display: block;
    border: none;
  }

  .top-wrapper {
    padding: 0 2em;
  }

  .banner {
    margin-bottom: 0;
    background-position: 12%;
  }

  .banner-title {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  header h1 {
    text-align: center;
  }

  .ceo-msg-container {
    display: block;
  }

  .ceo-msg-image {
    position: static;
  }

  .ceo-msg-text {
    padding: 20px 20px;
    margin: 0;
    height: unset;
    min-height: 160px;
  }
  .top-words-content img {
    max-width: 90%;
  }
  .top-words-content {
    flex-direction: column;
  }

  .top-words-legend {
    display: inline-block;
    margin: 0 auto;
  }

  #mission br,
  #room-to-grow h3 br {
    display: none;
  }

  .icon-block {
    flex-direction: column;
    align-items: center;
    gap: 2em;
  }

  .chart-and-block {
    flex-direction: column;
    align-items: unset;
    gap: 2em;
  }

  .multi-bar-chart {
    display: none;
  }

  .multi-bar-chart-text {
    display: block;
    text-align: left;
    margin: 1em 3em;
    background-color: #f7f8f7;
    padding: 1em;
  }

  .light-green-block {
    margin: 0 3em;
  }

  .mobile-legend {
    display: inline-block;
    margin: 0 auto;
    text-align: left;
  }

  #who-responded-section .lang-chart figure {
    max-width: 200px;
  }

  #who-responded-section .lang-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #who-responded-section .legend-side-lang {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
  }

  #who-responded-section .mobile-legend {
    margin: 0;
  }

  #who-responded-section .mobile-legend span {
    width: 12px;
    height: 12px;
  }

  #who-responded-section .multi-col-box {
    flex-direction: column;
    flex-wrap: nowrap !important;
  }

  #who-responded-section .legend-side {
    justify-content: center;
  }

  #why-important-section .multi-col-box div:nth-of-type(1) {
    display: none;
  }

  #why-important-section .multi-col-box div:nth-of-type(2) {
    padding: 0 2em;
  }
}

/* Mobile - 600px */
@media only screen and (max-width: 600px) {
  header > h1 br {
    display: none;
  }

  header > h1 {
    font-size: 2rem;
  }
}

/* Mobile - 420px */
@media only screen and (max-width: 420px) {
  .light-green-block,
  .multi-bar-chart-text {
    margin: 0 1.2em;
  }
}