:root {
  --main-bg-color: #ffffff;
  --font-color: #000000;
  --dxc-color: #5d269e;
  --dxc-color-hover: #7030bf;
  --blue: #1271B9;
  --modal-background-color: #6E2F90;
  --header-height: 130px;
  --padding: 80px;
}

@media screen and (max-width: 1100px) {
  :root {
    --header-height: 92px;
    --padding: 30px;
  }
}
/*fonts*/
@font-face {
  font-family: "Encode Sans";
  src: url("../fonts/EncodeSans-Regular.ttf");
  font-weight: 400;
}
@font-face {
  font-family: "Encode Sans";
  src: url("../fonts/EncodeSans-SemiBold.ttf");
  font-weight: 600;
}
@font-face {
  font-family: "Encode Sans";
  src: url("../fonts/EncodeSans-Bold.ttf");
  font-weight: 700;
}
/*END fonts*/
body {
  font-family: "Encode Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: var(--font-color);
  position: relative;
}

html {
  scroll-behavior: smooth;
}

/*general*/
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #c4c4c4;
}

::-webkit-scrollbar-thumb {
  background: var(--dxc-color);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dxc-color-hover);
}

a {
  /*transition: color 250ms ease-in-out, background-color 250ms ease-in-out;*/
  text-decoration: none;
  color: var(--dxc-color);
}

.container {
  max-width: 1400px;
  width: 100%;
  padding: 0 var(--padding);
  margin: auto;
}

.no-break {
  white-space: nowrap;
}

h2 {
  font-style: normal;
  font-weight: 600;
  font-size: 32px;
  line-height: 1;
  margin-bottom: 40px;
}

/*END general*/
/*nav*/
.secondary-nav {
  background-color: #B8ADAD;
  text-align: right;
}

@media screen and (max-width: 768px) {
  .secondary-nav {
    font-size: 12px;
  }
}
.main-nav {
  position: sticky;
  top: 0;
  background-color: var(--main-bg-color);
  border-bottom: 1px #cccccc solid;
  z-index: 10;
}

.main-nav .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  gap: 40px;
}

@media screen and (max-width: 1100px) {
  .main-nav .container nav {
    display: none;
  }
}
nav {
  display: flex;
  gap: 40px;
}

@media screen and (max-width: 1100px) {
  nav:not(.secondary-nav nav, footer nav) {
    display: block;
    width: 100%;
    top: var(--header-height);
    position: absolute;
    z-index: 500;
    background: white;
    margin-left: calc(var(--padding) * -1);
    padding: var(--padding) 0;
    text-align: center;
    border-bottom: 1px #cccccc solid;
  }
  nav:not(.secondary-nav nav) a {
    display: block;
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 1200px) {
  nav {
    gap: 20px;
  }
}
.secondary-nav nav {
  justify-content: flex-end;
  padding: 0;
  gap: 20px;
}

.secondary-nav nav a {
  padding: 20px;
  margin-right: -20px;
}
@media screen and (max-width: 768px) {
	.secondary-nav nav a{
		padding: 10px;
	}
}
nav a {
  color: inherit;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  display: flex;
  align-items: center;
}

.secondary-nav nav a:hover, .secondary-nav nav a:focus {
  background-color: var(--font-color);
  color: var(--main-bg-color);
}

nav a:hover, nav a:focus, nav a.current {
  color: var(--dxc-color);
}

/*END nav*/
/*hamburger icon*/
.hamburger-icon {
  display: none;
}

@media screen and (max-width: 1100px) {
  .hamburger-icon {
    display: block;
  }
}
.hamburger-icon {
  position: absolute;
  right: 30px;
  top: 38px;
  width: 25px;
  height: 20px;
  margin: 0 auto;
  transform: rotate(0deg);
  transition: 0.5s ease-in-out;
  cursor: pointer;
}

.hamburger-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--font-color);
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

.hamburger-icon span:nth-child(1) {
  top: 0;
}

.hamburger-icon span:nth-child(2), .hamburger-icon span:nth-child(3) {
  top: 7px;
}

.hamburger-icon span:nth-child(4) {
  top: 14px;
}

.hamburger-icon.open span:nth-child(1) {
  top: 14px;
  width: 0;
  left: 50%;
}

.hamburger-icon.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.hamburger-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.hamburger-icon.open span:nth-child(4) {
  top: 14px;
  width: 0;
  left: 50%;
}

/*END hamburger icon*/
/*banner*/
section#banner {
  background: url("../img/hero.jpg") bottom center;
  background-size: cover;
  display: flex;
  align-items: center;
  padding: 110px 0;
  opacity: 0;
  min-height: 500px;
}

section#banner.stay-safe-online-and-avoid-pension-scams,
section#banner.faq,
section#banner.pension-projects {
  background: url("../img/hero-stay-safe-online-and-avoid-pension-scams.jpg") bottom center;
  background-size: cover;
  background-position: 0 50%;
}
section#banner.article-welcome-to-the-website {
  background: url("../img/welcome-to-the-new-website-hero.jpg") bottom center;
  background-size: cover;
  background-position: 0 50%;
}
section#banner.article-take-control-of-your-retirement {
  background:  linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 90%, rgba(0,0,0,0) 100%), url("../img/banner-article-1.jpg") bottom center;
  background-size: cover;
  background-position: 50% 50%;
}
section#banner.article-how-rising-inflation-may-affect-your-pension {
  background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 90%, rgba(0,0,0,0) 90%), url("../img/banner-article-2.jpg") bottom center;
  background-size: cover;
  background-position: 50% 50%;
}
section#banner.article-csc-money-purchase-section-transferring-to-standard-life {
  background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 70%, rgba(0,0,0,0) 90%), url("../img/banner-transfer-standard-life-article.jpg") bottom center;
  background-size: cover;
  background-position: 50% 50%;
}
section#banner.article-csc-money-purchase-section-transferring-to-standard-life-concluded {
  background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 70%, rgba(0,0,0,0) 90%), url("../img/banner-transfer-standard-life-concluded-articlev2.jpg") bottom center;
  background-size: cover;
  background-position: 50% 0%;
}
section#banner.article-important-update-csc-section-members {
  background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 70%, rgba(0,0,0,0) 90%), url("../img/banner-important-update-csc-section-members-article.jpg") bottom center;
  background-size: cover;
  background-position: 50% 0%;
}
@media screen and (max-width: 768px) {
  section#banner {
    padding: 50px 0;
  }
}
section#banner h1 {
  font-weight: 700;
  font-size: 64px;
  line-height: 100%;
  color: var(--main-bg-color);
  width: 100%;
  max-width: 775px;
}

@media screen and (max-width: 1100px) {
  section#banner h1 {
    width: 80%;
  }
}
@media screen and (max-width: 768px) {
  section#banner h1 {
    font-size: 40px;
  }
}
.articles-and-news section#banner h1,
section#banner.faq h1,
section#banner.pension-projects h1 {
  font-size: 36px;
}

section#banner p {
  margin-top: 35px;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.44;
  letter-spacing: 1px;
  color: var(--main-bg-color);
  width: 100%;
  max-width: 700px;
}

section#banner.pension-projects p {
  width: 48%;
}

@media screen and (max-width: 1100px) {
  section#banner p,
section#banner.pension-projects p {
    width: 80%;
  }
}
@media screen and (max-width: 768px) {
  section#banner p,
section#banner.pension-projects p {
    font-size: 14px;
  }
}
.articles-and-news section#banner p,
section#banner.faq p,
section#banner.pension-projects p {
  margin-top: 20px;
}

section#banner a {
  display: inline-block;
  margin-top: 35px;
  padding: 20px 40px;
  background: var(--blue);
  color: var(--main-bg-color);
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 1px;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  section#banner a {
    padding: 10px 20px;
    font-size: 16px;
  }
}
section#banner a:hover {
  background-color: var(--dxc-color);
}

/*END banner*/
/*Cards*/
a.card {
  border-top: solid var(--dxc-color) 1px;
  border-bottom: solid var(--dxc-color) 1px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /*justify-content: space-between;*/
  padding: 20px;
  gap: 20px;
  width: calc(25% - 22.5px);
}

@media screen and (max-width: 1200px) {
  a.card {
    width: calc(33.3333333333% - 20px);
  }
}
@media screen and (max-width: 782px) {
  a.card {
    width: calc(100% - 0px);
  }
}
a.card h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.22;
  text-transform: uppercase;
}

a.card p.description {
  color: var(--font-color);
}

a.card:hover, a.current.card {
  background-color: var(--dxc-color);
}

a.card:hover p, a.current.card p, a.card:hover h3, a.current.card h3 {
  color: var(--main-bg-color);
}

/*END Cards*/
/*Section common*/
section {
  padding: 40px 0;
}

/* Brian added for about page report added below cards */
section.links.reports {
	margin: -10px 0 0;
	padding: 0;
}

/*END Section common*/
/*Choose your section*/
section#choose-your-section {
  padding-bottom: 40px;
}

.page-pension-projects section#choose-your-section {
  display: block;
}

section#choose-your-section .container {
  display: flex;
  gap: 30px;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
}

section#choose-your-section a.card p:last-of-type{
	margin-top: auto;
}
/*END Choose your section*/
/*News and articles*/
.article {
  display: flex;
  margin-top: 30px;
}

@media screen and (max-width: 900px) {
  .article {
    display: block;
  }
}
.article:hover {
  background-color: var(--dxc-color);
  color: var(--main-bg-color);
}

.other-articles .article {
  border-bottom: solid 1px var(--dxc-color);
}

.article div {
  width: 50%;
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 900px) {
  .article div {
    width: 100%;
  }
}
.other-articles .article div {
  width: 100%;
}

.article-text {
  border-top: solid 1px var(--dxc-color);
  border-bottom: solid 1px var(--dxc-color);
  padding: 30px;
  display: flex;
  justify-content: space-between;
}

.other-articles .article-text {
  border: none;
  height: 100%;
}

.main-article .details {
  width: 100%;
  color: var(--font-color);
}

.article h3 {
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 60px;
}

@media screen and (max-width: 1200px) {
  .article h3 {
    margin-bottom: 30px;
  }
}
.article:hover h3 {
  color: var(--main-bg-color);
}

.other-articles .article h3 {
  margin-bottom: 30px;
  color: var(--font-color);
}

.other-articles .article:hover h3 {
  color: var(--main-bg-color);
}

.other-articles {
  margin-top: 30px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.other-articles .article {
  display: flex;
  flex-direction: column;
  margin-top: 0;
  width: calc(33.3333333333% - 20px);
}

@media screen and (max-width: 900px) {
  .other-articles .article {
    width: calc(50% - 15px);
  }
}
@media screen and (max-width: 768px) {
  .other-articles .article {
    width: calc(100% - 0px);
  }
}
.article p {
  margin-bottom: 30px;
  color: var(--font-color);
}

.article:hover p {
  color: var(--main-bg-color);
}

.article p.link {
  color: var(--dxc-color);
  margin-bottom: 0;
}

.article:hover p.link {
  color: var(--main-bg-color);
}

.main-article.article p.link {
  padding-bottom: 30px;
}

@media screen and (max-width: 1200px) {
  .main-article.article p.link {
    padding-bottom: 0;
  }
}
.article img {
  opacity: 0;
}

/*END News and articles*/
/*Useful links + guides and forms*/
.links .container {
  gap: 30px;
  display: flex;
}

@media screen and (max-width: 900px) {
  .links .container {
    display: block;
  }
}
.links .container .title {
  width: calc(25% - 22.5px);
}

@media screen and (max-width: 900px) {
  .links .container .title {
    width: 100%;
    margin-bottom: 30px;
  }
}
.links .container .title a {
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 1px;
  color: var(--blue);
  margin-top: 20px;
  display: block;
}

.links .container .title a:hover {
  color: var(--dxc-color);
}

.links .container .link-wrap {
  gap: 30px;
  display: flex;
  flex-wrap: wrap;
  width: calc(75% - 7.5px);
}

@media screen and (max-width: 900px) {
  .links .container .link-wrap {
    width: 100%;
  }
}
.links .container .link-wrap a {
  width: calc(33.3333333333% - 20px);
}

@media screen and (max-width: 782px) {
  .links .container .link-wrap a {
    width: 100%;
  }
}
/*END Useful links + guides and forms*/
/*Support*/
section#support .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

section#support .container a {
  width: calc(50% - 15px);
  display: flex;
  flex-direction: row;
  border-top: solid var(--blue) 1px;
  border-bottom: solid var(--blue) 1px;
}

@media screen and (max-width: 768px) {
  section#support .container a {
    width: 100%;
  }
}
section#support .container a:hover {
  border-top: solid var(--dxc-color) 1px;
  border-bottom: solid var(--dxc-color) 1px;
}

section#support .container a .image {
  width: 33.3333%;
  text-align: center;
}

section#support .container a h3 {
  color: #000000;
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  text-transform: none;
}

section#support .container a:hover h3 {
  color: var(--main-bg-color);
}

section#support .container a:hover svg .hover-change {
  fill: var(--main-bg-color);
  stroke: var(--blue);
}

section#support .container a:hover svg .hover-change-stroke {
  stroke: var(--main-bg-color);
}

section#support .container .details {
  display: flex;
  gap: 30px;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

section#support .container button {
  background-color: var(--blue);
  color: var(--main-bg-color);
  border: none;
  padding: 20px 40px;
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  width: fit-content;
}

@media screen and (max-width: 768px) {
  section#support .container button {
    padding: 10px;
  }
}
section#support .container a:hover button {
  background-color: var(--main-bg-color);
  color: var(--font-color);
  cursor: pointer;
}

section#support a.card:hover {
  background-color: var(--blue);
}

/*END Support*/
/*Modals*/
.modal {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(255, 255, 255);
  background-color: rgba(255, 255, 255, 0.4);
}

.modal .container {
  width: 100%;
  max-width: 1440px;
}

.modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.modal .modal-content a.close svg {
  display: block;
  pointer-events: auto;
}

.modal .modal-content {
  background-color: var(--modal-background-color);
  color: var(--main-bg-color);
  width: 50%;
  height: fit-content;
  padding: 50px;
  margin: auto;
}

@media screen and (max-width: 1100px) {
  .modal .modal-content {
    width: 100%;
  }
}
@media screen and (max-width: 782px) {
  .modal .modal-content {
    padding: 30px;
  }
}
.modal .modal-content h3 {
  font-style: normal;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.2;
}

@media screen and (max-width: 782px) {
  .modal .modal-content h3 {
    font-size: 28px;
  }
}
.modal .modal-content p, .modal .modal-content ul {
  margin-top: 20px;
  margin-bottom: 20px;
}

.modal .modal-content p:last-of-type, .modal .modal-content ul:last-of-type {
  margin-bottom: 0;
}

.modal .modal-content ul {
  margin-left: -10px;
}

.modal .modal-content a {
  color: var(--main-bg-color);
}

.modal .modal-content a:hover {
  text-decoration: underline;
}

/*END Modals*/
/*articles*/
section#article-content {
  background-color: #F2F2F2;
}

section#article-content h2 {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  margin: 20px 0;
}

section#article-content P {
  margin: 20px 0;
}

section#article-content P:last-of-type {
  margin-bottom: 0;
}

section#article-content P:first-of-type {
  margin-top: 0;
}

section#article-content li {
  margin-bottom: 10px;
}

section#article-content a {
  color: var(--blue);
  text-decoration: none;
}

section#article-content a:hover {
  color: var(--dxc-color);
  text-decoration: underline;
}

/*END articles*/
/*faqs*/
section#topics .container {
  display: flex;
  gap: 30px;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
}

section#topics .topic-container {
  padding: 0 20px;
}

section#topics .container a {
  cursor: pointer;
}

section#topics .container a p.expand {
  color: var(--blue);
}

section#topics .container a:hover p.expand, section#topics .container a.current p.expand {
  color: var(--main-bg-color);
}

.page-faqs section#topics .topic {
  display: none;
  padding: 24px 0 30px 0;
  background-color: #F2F2F2;
  width: 100%;
  box-sizing: content-box;
}

.page-faqs section#topics .topic h2 {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 20px 0;
}

.page-faqs section#topics .topic P {
  margin: 20px 0;
}

.page-faqs section#topics .topic P:last-of-type {
  margin-bottom: 0;
}

.page-faqs section#topics .topic ul {
  margin-bottom: 20px;
}

.page-faqs section#topics .topic li {
  margin-bottom: 10px;
}

.page-faqs section#topics .topic a {
  color: var(--blue);
  text-decoration: none;
}

.page-faqs section#topics .topic a:hover {
  color: var(--dxc-color);
  text-decoration: underline;
}

/*faq order*/
.page-faqs .card-1 {
  order: 1;
}

.page-faqs .card-2 {
  order: 2;
}

.page-faqs .card-3 {
  order: 3;
}

.page-faqs .card-4 {
  order: 4;
}

.page-faqs .card-5 {
  order: 9;
}

.page-faqs .card-6 {
  order: 10;
}

.page-faqs .card-7 {
  order: 11;
}

.page-faqs .card-8 {
  order: 12;
}

.page-faqs .topic-1 {
  order: 5;
}

.page-faqs .topic-2 {
  order: 6;
}

.page-faqs .topic-3 {
  order: 7;
}

.page-faqs .topic-4 {
  order: 8;
}

.page-faqs .topic-5 {
  order: 13;
}

.page-faqs .topic-6 {
  order: 14;
}

.page-faqs .topic-7 {
  order: 15;
}

.page-faqs .topic-8 {
  order: 16;
}

@media screen and (max-width: 1200px) {
  .page-faqs .card-1 {
    order: 1;
  }
  .page-faqs .card-2 {
    order: 2;
  }
  .page-faqs .card-3 {
    order: 3;
  }
  .page-faqs .card-4 {
    order: 7;
  }
  .page-faqs .card-5 {
    order: 8;
  }
  .page-faqs .card-6 {
    order: 9;
  }
  .page-faqs .card-7 {
    order: 13;
  }
  .page-faqs .card-8 {
    order: 14;
  }
  .page-faqs .topic-1 {
    order: 4;
  }
  .page-faqs .topic-2 {
    order: 5;
  }
  .page-faqs .topic-3 {
    order: 6;
  }
  .page-faqs .topic-4 {
    order: 10;
  }
  .page-faqs .topic-5 {
    order: 11;
  }
  .page-faqs .topic-6 {
    order: 12;
  }
  .page-faqs .topic-7 {
    order: 15;
  }
  .page-faqs .topic-8 {
    order: 16;
  }
}
@media screen and (max-width: 782px) {
  .page-faqs .card-1 {
    order: 1;
  }
  .page-faqs .card-2 {
    order: 3;
  }
  .page-faqs .card-3 {
    order: 5;
  }
  .page-faqs .card-4 {
    order: 7;
  }
  .page-faqs .card-5 {
    order: 9;
  }
  .page-faqs .card-6 {
    order: 11;
  }
  .page-faqs .card-7 {
    order: 13;
  }
  .page-faqs .card-8 {
    order: 15;
  }
  .page-faqs .topic-1 {
    order: 2;
  }
  .page-faqs .topic-2 {
    order: 4;
  }
  .page-faqs .topic-3 {
    order: 6;
  }
  .page-faqs .topic-4 {
    order: 8;
  }
  .page-faqs .topic-5 {
    order: 10;
  }
  .page-faqs .topic-6 {
    order: 12;
  }
  .page-faqs .topic-7 {
    order: 14;
  }
  .page-faqs .topic-8 {
    order: 16;
  }
}
section#topics a.card p:last-of-type{
	margin-top: auto;
}
/*END faq order*/
/*END faqs*/
/*Footer*/
footer {
  background-color: #F2F2F2;
  padding: 40px 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.14;
}

footer .container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 0 var(--padding);
}

@media screen and (max-width: 768px) {
  footer .container {
    flex-direction: column-reverse;
  }
}
.footer-logo {
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 33px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

footer .links {
  margin-bottom: 20px;
}

footer .links a {
  color: var(--font-color);
}

footer .links a:hover {
  color: var(--dxc-color);
}

footer nav {
  text-transform: uppercase;
  text-align: right;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
  align-content: flex-start;
}

footer nav a {
  margin-bottom: 0 !important;
}

/*END Footer*/

.trustarc-banner-background {

    z-index: 10;
}
