@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;1,300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,600;1,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital@1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Martel:wght@200;300;400;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wdth,wght@0,75..100,100..900;1,75..100,100..900&display=swap');

:root {
  --body-font: "Roboto";
  --title-font: "Martel";
  --link-blue: #143b88;
  --body-grey: #3B3B3B;
}

h2.frontpage {
  font-size: 40px;
}

h1, h2, h3 {
  font-family: var(--title-font);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  margin: 10px 0;
}

h2, h3 {
  margin: 30px 0 20px 0;
}

.three_columns h3 {
  margin: 15px 0 !important;
}

h3 {
  font-size: 22px;
}

h2 strong, h3 strong {
  font-weight: 700;
}

p {
  font-size: 16px;
  font-family: var(--body-font);
  line-height: 1.6em;
  color: var(--body-grey);
}

ul li {
  line-height: 1.6;
}

body {
  margin: 0;
}

.centered {
  text-align: center;
}

li::marker {
  font-family: var(--body-font);
  font-size: 16px;
  color: var(--body-grey);
}

#header_top {
  height: 100px;
  margin: 0;
  border-bottom: 2px solid #edf0f2;
  padding-top: 19px;
}

#header_logo {
  width: 160px;
}

#header_bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 162px;
}

#header_nav {
  margin: 0 auto;
  padding: 0;
}

#header_nav ul {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  display: flex;
  flex-direction: row;
  gap: 0 2.5rem;
  border-bottom: 3px solid #000000;
  margin: 0;
  padding: 0 162px;
}

#header_nav ul li {
  float: none;
  list-style: none;
  width: auto;
  background: none;
  border: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  margin: 0;
  padding: 15px 0;
}

#search {
  margin: 5px;
  width: 600px;
  height: 42px;
  border-radius: 5px;
  border: 1px solid black;
  padding-left: 10px;
  font-family: var(--body-font);
  font-size: 16px;
}

#header_nav a {
  font-family: 'Open Sans';
  font-size: 17px;
  line-height: 1.25;
  padding: 9px 0;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  color: #000000;
}

#header_nav a:hover {
  color: #004890;
}

.date {
  font-size: 15px;
  font-family: var(--body-font);
  color: var(--body-grey);
  font-weight: 400;
  padding: 0 0 10px 0;
}

section {
  padding: 60px 176px;
}

.hero {
  background-color: #f5f5f5;
  padding: 100px 162px;
}

.hero_fig {
  width: 482px;
}

.hero_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  gap: 100px;
}

#current article {
  border-bottom: 2px solid #edf0f2;
  padding: 20px 0;
}

#pfk {
  background-color: #1e1e44;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.pfk_div {
  padding: 25px;
  border: 1px solid #575fa1;
  border-radius: 5px;
  color: white !important;
  transition: transform 0.3s ease-in-out;
}

.pfk_div:hover {
  transform: scale(1.03);
}

.pfk_div p {
  color: white !important;
}

.transparent-button {
  background-color: transparent;
  font-family: var(--body-font);
  font-weight: 700;
  border: 1px solid white;
  color: white;
  border-radius: 5px;
  margin: 15px 0;
  line-height: 1.143;
  font-size: 14px;
  padding: 15px;
  display: inline-flex;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .3s cubic-bezier(.2,.57,.73,.95) 0s,border-color .3s cubic-bezier(.2,.57,.73,.95) 0s,color .3s cubic-bezier(.2,.57,.73,.95) 0s;
}

.transparent-button:hover {
  background-color: white;
  color: #1f2046;
  text-decoration: none;
}

.three_columns {
  display: flex;
  flex-direction: row;
  gap: 30px;
  justify-content: flex-start;
  align-items: flex-start;
  align-content: stretch;
  flex-wrap: wrap;
  margin-top: 40px;
}

.three_columns article {
  border: 2px solid #edf0f2;
  border-radius: 5px;
  padding: 20px;
  width: 320px;
  transition: transform 0.3s ease-in-out;
  color: black;
}

.three_columns a {
  text-decoration: none;
}

.three_columns article:hover {
  transform: scale(1.03);
}

#docs {
  background-color: #f5f5f5;
}

.section_headline {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
}

.four_columns {
  display: flex;
  flex-direction: row;
  gap: 30px;
  justify-content: space-around;
  align-items: flex-start;
  align-content: stretch;
  flex-wrap: wrap;
  margin-top: 40px;
}

.four_columns article {
  border: 2px solid #edf0f2;
  border-radius: 5px;
  padding: 20px;
  height: 137px;
  width: 220px;
  color: black;
  background-color: white;
  display: flex;
  flex-direction: column;
}

.four_columns a {
  text-decoration: none;
}

.four_columns article p {
  font-size: 15px;
  margin: 10px 0 16px 0;
}

.four_columns article .doc_title {
  font-size: 18px;
  color: var(--link-blue);
  margin: 0;
}

.four_columns article:hover .doc_title {
  text-decoration: underline;
}

.right_chevron {
  color: var(--link-blue);
  font-size: 15px;
  font-family: var(--body-font);
  text-align: right;
  text-decoration: none;
}

.right_chevron:hover span {
  text-decoration: underline;
}

.right_chevron:after {
  font-family: 'Material Icons';
  content: 'chevron_right';
  font-size: 20px;
  margin-right: 1px;
  vertical-align: middle;
}

.four_columns .right_chevron {
  margin-top: auto;
  font-size: 14px;
}

.four_columns .right_chevron:hover span {
  text-decoration: none;
}

footer {
  padding: 30px 162px;
  border-top: 2px solid #edf0f2;
}

#footer_cols {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  align-content: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 85px;
  margin-bottom: 10px;
}

.footer_col h3 a {
  font-size: 20px;
  text-decoration: underline;
  color: var(--link-blue);
}

.footer_col h3 a:hover {
  text-decoration: none;
}

.footer_links {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer_links li a {
  font-size: 14px;
  font-family: var(--body-font);
  color: var(--body-grey);
  text-decoration: none;
}

.footer_links li a:hover {
  color: var(--link-blue);
  text-decoration: none;
}

footer p {
  font-size: 14px;
  font-family: var(--body-font);
  color: var(--body-grey);
}

#footer_bottom_section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 2px solid #edf0f2;
}

#footer_bottom_links {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-direction: row;
  gap: 30px;
}

#footer_bottom_links li a {
  font-size: 14px;
  font-family: var(--body-font);
  color: var(--link-blue);
  text-decoration: underline;
}

#footer_bottom_links li a:hover {
  text-decoration: none;
}

#bread_menu {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-direction: row;
  margin: 20px 162px;
}

#bread_menu li {
  font-size: 14px;
  font-family: var(--body-font);
  color: var(--body-grey);
}

#bread_menu li a {
  font-size: 14px;
  font-family: var(--body-font);
  color: var(--link-blue);
  text-decoration: underline;
}

#bread_menu li a:hover {
  text-decoration: none;
}

#bread_menu li:after {
  content: "•";
  vertical-align: top;
  margin: 0 10px;
}

#bread_menu li:last-child:after {
  content: "";
}

.cols, .three-cols {
  display: flex;
  padding: 20px 162px;
  gap: 40px;
  flex-direction: row;
  align-content: flex-start;
  justify-content: flex-start;
}
.col_aside {
  width: 20%;
}

.col_content {
  width: 80%;
}

.three-cols .col_aside {
  width: 20%;
}

.three-cols .col_content {
  width: 60%;
}

.three-cols .col_info {
  width: 20%;
}

#col_info_resp {
  border-left: 2px solid #edf0f2;
  padding: 3px 0 3px 15px;
}

#col_info_resp div {
  margin: 10px 0;
  font-size: 16px;
  padding: 10px;
}

#col_info_resp div a {
  color: var(--body-grey);
  font-family: var(--body-font);
  text-decoration: none;
}

#col_info_resp div a:hover {
  text-decoration: underline;
}

.nav_items {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav_items li a {
  font-size: 14px;
  font-family: var(--body-font);
  color: var(--link-blue);
  text-decoration: none;
  font-weight: 600;
}

.nav_items li a:hover {
  text-decoration: none;
  color: black;
}

.nav_items li {
  font-size: 14px;
  font-family: var(--body-font);
  color: var(--body-grey);
  font-weight: 600;
  padding: 9px 8px;
}

.current {
  background-color: #ecf0f3;
}

#nav_top {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 16px;
  padding-left: 8px;
}

#nav_top a {
  text-decoration: none;
  color: var(--link-blue);
}

#nav_top a:hover {
  color: black;
}

.banner {
  display: flex;
  justify-content: flex-start;
  margin: 10px 0;
}

.banner img {
  width: 100%;
}

hr {
  border: 3px solid #000000;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.cards.frontpage {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  display: block;
  background-color: white;
  color: #145ea5;
  text-decoration: none;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
  width: 280px;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
}

.card:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.card img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-title {
  padding: 14px 16px;
  font-size: 17px;
  font-family: 'Open Sans SemiBold';
}

hr {
  margin: 30px 0;
}

.language_heading {
  overflow: hidden;
  transition: height 0.5s ease;
}

#article_meta p {
  margin: 0 0 25px 0;
}

#multi_heading {
  display: inline-block;
}

/* Text leaving downward */
#multi_heading.exit {
  animation: textExit 0.5s ease forwards;
}

/* New text entering from above */
#multi_heading.enter {
  animation: textEnter 0.5s ease forwards;
}

@keyframes textExit {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

@keyframes textEnter {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.info-blocks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-block {
  padding: 10px 20px;
  border: 1px solid #edf0f2;
  border-radius: 6px;
  box-shadow: 1px 2px 12px 3px rgba(193,193,193,0.63);
  -webkit-box-shadow: 1px 2px 12px 3px rgba(193,193,193,0.63);
  -moz-box-shadow: 1px 2px 12px 3px rgba(193,193,193,0.63);
}

.info-block h3 {
  font-size: 20px;
  margin: 20px 0;
}

.info-block p {
  margin: 10px 0;
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
