/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, sectionn {
  display: block;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.2;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  color: #19525F;
  font-size: 16px;
}

.body-text,
.body-text *:not(sub):not(sup) {
  font-family: 'Poppins', Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
}

ol, ul {
  list-style: none;
  margin-left: 36px;
}

sub {
  vertical-align: sub;
  font-size: smaller;
  max-height: 7px;
  display: inline-block;
}

sup {
  vertical-align: top;
  font-size: smaller;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

select {
  border: 2px solid #A5C752;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 16px;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  appearance: none;
  width: 100%;
  cursor: pointer;
  -webkit-appearance: none;
  height: 37px;
}

.pilot-select {
  position: relative;
  width: 200px;
  display: inline-block;
}

.pilot-select::after {
  content: '\f107';
  font-family: 'Font Awesome 5 Pro';
  position: absolute;
  top: 0;
  right: 15px;
  color: #19525F;
  line-height: 40px;
  font-size: 22px;
  pointer-events: none;
}

.js-form-type-select label {
  margin-right: 10px;
}

.dialog-off-canvas-main-canvas .node-individual-body [id]::before {
  content: '';
  display: inline-block;
  position: relative;
  height: 60px;
  margin-top: -60px;
}

/************************/
/*** General styling ***/
/**********************/

.container {
  margin: 0 auto;
  max-width: 1700px;
  position: relative;
}

.container-sm {
  margin: 0 auto;
  max-width: 1400px;
}

.container-article {
  margin-left: 75px;
  margin-right: 75px;
  max-width: 1400px;
}

input::placeholder {
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
}

h1,
.primary-title {
  font-size: 40px;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  color: #31978E;
  font-weight: 600;
}

h2,
.title {
  font-size: 30px;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  color: #19525F;
  font-weight: 600;
}

h3,
.subtitle {
  font-size: 24px;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: #31978E;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid;
}

a:hover {
  color: #A5C752;
}

ul li::before {
  content: '\f602';
  font-family: 'Font Awesome 5 Pro';
  font-weight: 700;
  color: #19525F;
  margin-right: 20px;
  margin-left: -36px;
}

.emphasized {
  font-weight: 700;
  font-size: 18px;
}

strong,
b {
  font-weight: 700;
}

em {
  font-style: italic;
}

header ul li::before,
footer ul li::before,
nav ul li::before,
.follow-for-more ul li::before {
  display: none;
}

header[role="banner"] {
  height: 100px;
  display: flex;
  justify-content: space-between;
  position: relative;
  overflow-x: clip;
}

.hamburger {
  display: none;
}

.main-nav-header a {
  border-bottom: none;
}

header #block-sitebranding img {
  height: 60px;
  transition: height .2s linear;
}

body:not(.home) header > img {
  position: absolute;
  max-width: 100%;
  right: 0;
  z-index: 1;
  height: 245px;
}

.top-bar {
  display: flex;
  width: 100%;
  height: 100px;
}

header.sticky-header .top-bar {
  height: 60px;
}

header.sticky-header {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  height: 60px;
  z-index: 100;
  background-color: white;
  box-shadow: 1px 1px 10px rgba(0,0,0,0.5);
}

header.sticky-header #block-pilos-search {
  background-image: url('/themes/Pilos/images/main-header-background-with-solid-colour.svg');
  background-size: cover;
  padding-left: 90px;
  flex-basis: 31%;
}

header.sticky-header #block-sitebranding img {
  height: 40px;
  transition: height .2s linear;
}

header.sticky-header .main-nav-header {
  padding: 0 20px;
  min-height: 0;
}

header.sticky-header > img {
  display: none;
}

.home .layout-container {
  position: relative;
}

.main-nav-header {
  display: flex;
  padding: 20px;
  align-items: center;
  width: 75%;
  z-index: 2;
  min-height: 104px;
}

.main-menu {
  width: 60%;
}

.main-menu ul {
  display: flex;
  justify-content: space-between;
  margin: 0;
}

.main-menu > ul li > ul {
  flex-direction: column;
  position: absolute;
  padding-top: 15px;
  display: none;
  z-index: 999;
}

.main-menu > ul li:hover > ul {
  display: flex;
}

.main-menu > ul li > ul li {
  padding: 15px;
  border-bottom: 2px solid white;
  background-color: #19525F;
}

.main-menu > ul li > ul li a {
  color: white;
}

.main-menu > ul li > ul li a.is-active,
.main-menu > ul li > ul li.menu-item--active-trail a {
  border-bottom: none;
  padding-bottom: 0;
  color: #A5C752;
}

/* .main-menu > ul li > ul li > ul {
  position: relative;
  padding-top: 20px;
  margin-left: -15px;
  margin-right: -15px;
} */

/* .main-menu > ul li > ul li > ul li {
  border-top: 2px solid white;
  background-color: #31978E;
  border-bottom: none;
} */

.main-menu ul li a {
  text-decoration: none;
  color: #19525F;
  font-weight: 600;
  white-space: nowrap;
}

.main-menu ul li a:hover {
  color: #A5C752;
}

.main-menu a.is-active,
.main-menu li.menu-item--active-trail > a {
  color: #31978E;
  border-bottom: 4px dashed #A5C752;
  padding-bottom: 5px;
}

#block-sitebranding {
  margin-right: 40px;
}

#block-pilos-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-basis: 25%;
  width: 100%;
  padding-right: 20px;
  z-index: 99;
  min-height: 50px;
}

#search-block-form {
  display: flex;
  position: relative;
}

#search-block-form > div.js-form-type-search > input {
  width: 230px;
}

#search-block-form > div#edit-actions,
#search-block-form > div#edit-actions--2 {
  position: absolute;
  right: 0;
}

#search-block-form > div#edit-actions::after,
#search-block-form > div#edit-actions--2::after {
  content: '\f002';
  font-family: 'Font Awesome 5 Pro';
  font-weight: 700;
  color: #19525F;
  display: block;
  top: 7px;
  position: absolute;
  right: 8px;
}

#search-block-form > div#edit-actions > input,
#search-block-form > div#edit-actions--2 > input {
  cursor: pointer;
  opacity: 0;
  z-index: 1;
  position: absolute;
  right: 0;
  width: 30px;
  height: 35px;
}

body:not(.home) .views-element-container header {
  background-color: #f8f6eb;
  padding: 40px 75px 50px;
  position: relative;
}

body:not(.home) .views-element-container header h1 {
  margin-top: 40px;
}

body:not(.home) .views-element-container header p {
  margin-top: 35px;
}

body:not(.home) .views-element-container header p:not(:first-of-type) {
  margin-top: 15px;
}

footer {
  margin: 30px 20px
}

footer .hamburger {
  display: none;
}

.footer-top,
.footer-middle,
.footer-bottom {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.footer-middle {
  align-items: center;
  margin-bottom: 50px;
}

.footer-middle > div {
  display: flex;
  width: 625px;
  align-items: center;
  flex-direction: row-reverse;
}

.footer-middle img {
  height: 50px;
  margin-left: 15px;
}

.footer-top {
  align-items: center;
  margin-bottom: 45px;
}

.footer-menu {
  display: flex;
  width: 50%;
}

.footer-menu > ul:first-child {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.footer-menu > ul:first-child li a {
  color: #19525F;
  white-space: nowrap;
}

.footer-top > ul:first-child li a:hover,
.footer-menu > ul:first-child li a:hover {
  color: #A5C752;
}

#block-sitebranding-2 a {
  border: none;
}

.sm-icons {
  display: flex;
  margin: 0;
}

.sm-icons li {
  margin: 0 10px;
  color: #19525F;
}

.sm-icons li a:hover {
  color: #A5C752;
  cursor: pointer;
}

.sm-icons li i {
  font-size: 25px;
}

.sm-icons li a {
  border-bottom: none;
  color: #19525F;
}

.primary-btn {
  height: 35px;
  text-decoration: none;
  background-color: #19525F;
  line-height: 35px;
  padding: 0 20px;
  border-radius: 20px;
  color: white;
  font-weight: 600;
  font-size: 16px;
  text-transform: capitalize;
  border: none;
  display: block;
  width: max-content;
}

.form-submit:hover,
.primary-btn:hover,
.secondary-btn:hover {
  background-color: #A5C752;
  color: white;
}

.form-submit:focus,
.primary-btn:focus,
.secondary-btn:focus,
a:focus,
input:focus,
textarea:focus {
  outline: 3px solid #28a0c7;
  outline-offset: 2px;
}

.form-submit,
.secondary-btn {
  height: 35px;
  text-decoration: none;
  background-color: #31978E;
  line-height: 35px;
  padding: 0 20px;
  border-radius: 20px;
  color: white;
  font-weight: 600;
  font-size: 16px;
  border: none;
  position: relative;
  z-index: 99;
}

.form-submit {
  cursor: pointer;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }

input {
  border-radius: 20px;
  padding: 0 13px;
  height: 35px;
  border: 2px solid #A5C752;
  outline: none;
  -webkit-appearance: none;
}

textarea {
  border-radius: 15px;
  border: 2px solid #A5C752;
  resize: none;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  padding-left: 20px;
  padding-top: 10px;
  height: 180px;
  width: 100%;
}

.checkbox input {
  opacity: 0;
  position: absolute;
  left: 0;
  z-index: 1;
  margin-top: 0;
  top: 0;
  cursor: pointer;
}

.checkbox {
  cursor: pointer;
  position: relative;
}

.checkbox::before {
  content: "";
  display: block;
  height: 17px;
  width: 17px;
  border: 2px solid #A5C752;
  background-color: white;
  margin-right: 10px;
  border-radius: 3px;
}

.checkmark::after {
  content: "\f00c";
  font-weight: 900;
  font-family: "Font Awesome 5 Pro";
  display: none;
  color: #19525F;
  position: absolute;
  top: 3px;
  margin-left: 4px;
  font-size: 13px;
}

.checkbox input:checked ~ .checkmark:after {
  display: block;
}

.checkbox a {
  margin-left: 10px;
}

.mc-signup {
  background-image: url('/themes/Pilos/images/newsletter-background.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  padding: 60px 20px 55px;
}

.mc-signup h2 {
  margin-bottom: 20px;
}

.mc-text {
  margin: 25px auto 0;
  max-width: 750px;
}

.mc-text > * {
  margin-bottom: 20px;
}

.mc-text a {
  display: inline-block;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}

.form-item-gdpr-consent {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-item-gdpr-consent a {
  font-size: 18px;
}

.form-item-gdpr-consent label {
  cursor: pointer;
  line-height: 1.5;
}

.mailchimp-newsletter-mergefields {
  display: flex;
  justify-content: center;
  margin: 25px 0;
}

.mailchimp-newsletter-mergefields .js-form-item:first-child label,
.mailchimp-newsletter-mergefields .js-form-item:last-child label {
  font-weight: 700;
  margin-right: 10px;
}

.mailchimp-newsletter-mergefields .js-form-item:first-child label::after,
.mailchimp-newsletter-mergefields .js-form-item:last-child label::after {
  content: '*';
}

.form-item-mergevars-email {
  margin-right: 30px;
}

.provisory-green-divider {
  margin: 70px 0 30px;
}

.pager {
  margin: 70px 0 20px;
}

.pager::before,
.provisory-green-divider::before {
  content: '';
  background-image: url('/themes/Pilos/images/straight-green-divider.jpg');
  max-width: 100%;
  height: 25px;
  background-repeat: no-repeat;
  display: block;
  margin: 30px 0;
  background-size: contain;
}

.pager__item--last,
.pager__item--first {
  display: none;
}

.pager__items {
  display: flex;
  justify-content: center;
  margin-left: 0;
  flex-wrap: wrap;
}

.pager__item {
  margin: 0 10px;
}

.pager__item--next a::after {
  content: '\f33b';
  font-weight: 900;
  font-family: "Font Awesome 5 Pro";
}

.pager__item--previous a::before {
  content: '\f33a';
  font-weight: 900;
  font-family: "Font Awesome 5 Pro";
}

.pager__item:not(.pager__item--next):not(.pager__item--previous) a {
  border: none;
  color: white;
}

.pager__item:not(.pager__item--next):not(.pager__item--previous) {
  background-color: #31978E;
  width: 30px;
  height: 30px;
  text-align: center;
  border-radius: 50%;
  line-height: 30px;
  margin-bottom: 30px;
}

.pager__items .pager__item.is-active {
  background-color: transparent;
  position: relative;
}

.pager__items .pager__item.is-active a {
  color: #31978E;
}

.pager__items .pager__item.is-active::after {
  content: '';
  background-image: url('/themes/Pilos/images/pagination-map-marker-icon.png');
  display: block;
  height: 100px;
  width: 45px;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: -2px;
  left: -7px;
}

/**** Node pages ****/

.node-header {
  background-color: #f8f6eb;
  padding: 40px 75px 50px;
  margin-bottom: 30px;
}

.node-header h1 {
  margin-top: 40px;
}

/**** messages ****/

.confirmation-message {
  margin-top: 30px;
}

div[role="contentinfo"] {
  padding: 10px;
  border: 2px solid #31978E;
  margin-bottom: 10px;
  color: #31978E;
  background-color: white;
}

div[aria-label="Status message"]::before {
  content: '\f058';
  color: #31978E;
  font-family: "Font Awesome 5 Pro";
  font-size: 20px;
  margin-right: 10px;
}

.confirmation-message * {
  font-size: 18px;
}

/***********************/
/****** Homepage ******/
/*********************/

.home .hero-bg {
  position: absolute;
  max-width: 100%;
  z-index: -1;
  top: 0;
  height: 1042px;
  object-fit: cover;
  object-position: right;
}

.hero-content-container {
  width: 55%;
}

.hero-content-container img {
  position: absolute;
  right: 205px;
  bottom: 245px;
}

.work-packs-and-regions {
  display: flex;
  margin-top: -204px;
}

.work-packs {
  position: relative;
  width: 46%;
  margin-left: 75px;
  height: max-content;
}

.work-packs > h2 {
  margin-bottom: 20px;
}

.work-packs > div > div {
  counter-reset: div;
  display: flex;
  flex-wrap: wrap;
}

.work-package-row {
  display: flex;
  align-items: center;
  position: relative;
  flex-basis: 48%;
  margin-bottom: 20px;
}

.work-package-row::before {
  counter-increment: div;
  content: "WP" counter(div);
  position: relative;
  display: block;
  background-image: url('/themes/Pilos/images/colour-cog.svg');
  background-repeat: no-repeat;
  height: 110px;
  background-size: contain;
  text-align: center;
  width: 110px;
  line-height: 110px;
  font-weight: 700;
  font-size: 20px;
  z-index: 2;
}

.work-package-row > div {
  width: 74%;
}

.work-package-row > div > div {
  height: 88px;
  display: flex;
  align-items: center;
  background-color: #edf2f4;
  margin-left: -30px;
  width: 100%;
}

.work-package-row > div p {
  padding: 0 20px 0 40px;
  width: 100%;
  font-weight: 700;
  font-size: 18px;
}

.work-package-row > div p a {
  text-decoration: none;
  color: #19525F;
  font-size: 18px;
  border: none;
}

.work-package-row > div p a:hover {
  color: #A5C752;
}

.work-packages-link {
  background-color: #f8f6eb;
  padding: 34px 20px;
  position: absolute;
  right: 61px;
  bottom: 33px;
  width: 43%;
}

.map-regions {
  width: 50%;
  position: relative;
}

.map-regions > img {
  width: 100%;
  position: relative;
  z-index: -2;
  margin-top: -40px;
  display: block;
}

.map-regions > div {
  position: absolute;
  background-color: white;
  width: 45%;
  top: 10px;
  left: 410px;
  padding: 20px;
}

.map-regions > div > h2 {
  margin-bottom: 20px;
}

.map-regions > div > a {
  margin-top: 30px;
  display: block;
  width: max-content;
}

.hero-content {
  width: 100%;
  padding: 300px 180px 260px;
  background-image: url('/themes/Pilos/images/hero-and-header-full-background.svg');
  height: 1042px;
  margin-top: -100px;
  background-position: right;
  position: relative;
}

.hero-content > div > h1 {
  width: 80%;
}

.hero-content-container > div {
  width: 80%;
}

.hero-content > div > * {
  margin-bottom: 20px;
}

.latest-news-section {
  display: flex;
  width: 100%;
  background-color: #f8f6eb;
  justify-content: center;
}

.latest-news-section > div:first-child {
  width: 50%;
  padding: 60px 70px;
}

.twitter-block > div:first-child,
.latest-news-block > div:first-child {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.twitter-block .iframe-container {
  background-color: white;
}

.news-card-front {
  display: flex;
  position: relative;
  overflow: hidden;
}

.news-card-front img:first-of-type {
  height: 240px;
  width: 240px;
  object-fit: cover;
}

.news-card-front img:last-of-type {
  position: absolute;
  width: 150px;
  height: auto;
  right: -54px;
  bottom: -20px;
}

.news-content {
  margin-left: 10px;
  background-color: white;
  width: 100%;
  padding: 30px 40px;
  max-height: 240px;
}

.news-content > * {
  margin-bottom: 20px;
}

.news-content > p:first-child,
.news-content > p:nth-child(2) {
  font-weight: 600;
}

.news-content-body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: auto;
}

.project-partners-carousel {
  margin: 65px 0;
}

.project-partners-carousel > div.container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  margin-left: 75px;
  margin-right: 75px;
}

.arrows-container {
  display: flex;
}

.arrows-container > a {
  margin: 0 20px;
}

.project-partners-container .slick-track {
  display: flex;
  align-items: center;
}

.slick-slide img {
  width: auto;
  height: auto;
  max-height: 100px;
}

.slick-arrow {
  border: none;
  cursor: pointer;
  font-size: 35px;
}

.slick-slider {
  margin-bottom: 60px;
}

.project-partner-item > div > div > img {
  margin: 0 auto;
}

/***********************/
/******** About *******/
/*********************/

.about-the-project #block-pilos-content footer {
  margin: 0;
  padding: 40px 75px 25px;
  border-bottom: 5px solid #f5e8de;
}

.about-the-project #block-pilos-content footer article {
  margin: 0;
  max-width: 100%;
  width: 100%;
}

.about-the-project #block-pilos-content footer article h2,
.about-the-project #block-pilos-content footer article footer {
  display: none;
}

.about-the-project #block-pilos-content footer article p {
  line-height: 1.5;
  margin-bottom: 1em;
}

.about-the-project #block-pilos-content footer article p:first-child {
  float: right;
  margin-left: 20px;
}

.map-regions > .mobile-map,
.map-regions > .tablet-map,
.explore-map-mobile {
  display: none;
}

.about-static-content p {
  font-size: 16px;
}

.about-static-content img {
  width: auto;
  height: 150px;
  margin-right: 25px;
  min-width: 210px;
  object-fit: contain;
}

.about-static-content > div {
  display: flex;
}

.about-static-content h2 {
  margin-bottom: 15px;
}

.about-static-content a {
  margin-top: 20px;
  display: block;
  width: max-content;
}

.twitter-block .about-static-content a {
  color: gray;
  cursor: not-allowed;
  pointer-events: none;
}

.twitter-block .about-static-content a::after {
  display: none;
}

.about-static-content a::after {
  content: '\f124';
  font-weight: 900;
  font-family: "Font Awesome 5 Pro";
  margin-left: 5px;
}

.more-content-row {
  display: flex;
  justify-content: space-between;
  margin: 70px 180px 85px;
}

.more-content-row > div {
  display: none;
}

.views-col .about-static-content img {
  min-width: auto;
}

#block-views-block-about-the-project-block-3 {
  background-color: transparent;
}

#block-pilos-content .views-element-container header p {
  width: 70%;
  white-space: nowrap;
}

.page-header-breadcrumb {
  line-height: 1.5;
}

.page-header-breadcrumb > * {
  font-size: 16px;
}

.page-header-breadcrumb a {
  color: #19525F;
  font-weight: 400;
  margin-right: 5px;
}

.about-the-project .work-packs-and-regions {
  margin-top: 50px;
}

body.about-the-project .map-regions {
  margin-top: -11px;
}

/**************************/
/**** News and Events ****/
/************************/

#views-exposed-form-news-block-1,
#views-exposed-form-events-block-1 {
  margin: -30px 0 30px;
}

#views-exposed-form-news-block-1::after,
#views-exposed-form-events-block-1::after,
#views-exposed-form-search-results-page-1::after {
  content: '';
  background-image: url('/themes/Pilos/images/straight-green-divider.jpg');
  max-width: 100%;
  height: 25px;
  background-repeat: no-repeat;
  display: block;
  margin: 30px 0 0;
  background-size: contain;
}

#views-exposed-form-news-block-1 .form-actions,
#views-exposed-form-events-block-1 .form-actions,
#views-exposed-form-search-results-page-1 .form-actions {
  margin-left: 30px;
  display: inline-block;
}

#views-exposed-form-news-block-1 .js-form-type-select,
#views-exposed-form-events-block-1 .js-form-type-select,
#views-exposed-form-search-results-page-1 .js-form-type-select {
  display: inline-block;
}

#views-exposed-form-events-block-1 .form-item:first-child label {
  margin-right: 10px;
}

#views-exposed-form-events-block-1 .form-actions {
  align-self: flex-start;
  margin-left: 30px;
}

.events-container,
.news-container {
  margin: 0 75px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card {
  display: flex;
  margin: 20px 0;
  width: 80%;
  position: relative;
}

.events-card:nth-child(even),
.search-result-card:nth-child(even) {
  align-self: flex-end;
}

.news-card:nth-child(even) {
  align-self: flex-end;
}

.card img {
  max-width: 320px;
  min-width: 320px;
  max-height: 250px;
  width: 100%;
  object-fit: cover;
  border: 1px solid #A5C752;
}

.card-text {
  margin-left: 10px;
  padding: 50px;
  overflow: hidden;
  position: relative;
}

.card-text h2 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: auto;
}

.card-text.events {
  background-color: #edf2f4;
  flex: 1;
}

.card-text.news {
  flex: 1;
}

.card-text.news,
.card-text.article {
  background-color: #f8f6eb;
}

body .views-element-container .news-container header,
body .views-element-container .events-container header {
  background: none;
  padding: 0;
  text-align: end;
  display: inline;
  margin-top: 50px;
}

/** Card connector lines **/

.card:first-of-type::after {
  content: '';
  background-image: url('/themes/Pilos/images/news-events-connector-line-1.svg');
  display: block;
  width: 400px;
  height: 100%;
  background-repeat: no-repeat;
  position: absolute;
  right: -28%;
  top: 95px;
}

.card:nth-child(4)::before,
.search-result-card:nth-child(2)::before {
  content: '';
  background-image: url('/themes/Pilos/images/news-events-connector-line-2.svg');
  display: block;
  width: 400px;
  height: 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: -17%;
  top: 95px;
}

.card:nth-child(5)::after,
.search-result-card:nth-child(3)::after {
  content: '';
  background-image: url('/themes/Pilos/images/news-events-connector-line-3.svg');
  display: block;
  width: 400px;
  height: 100%;
  background-repeat: no-repeat;
  position: absolute;
  right: -29%;
  top: 90px;
}

.card:nth-child(6)::before,
.search-result-card:nth-child(4)::before {
  content: '';
  background-image: url('/themes/Pilos/images/news-events-connector-line-4.svg');
  display: block;
  width: 400px;
  height: 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: -18%;
  top: 90px;
}

.card:nth-child(7)::after,
.search-result-card:nth-child(5)::after {
  content: '';
  background-image: url('/themes/Pilos/images/news-events-connector-line-5.svg');
  display: block;
  width: 400px;
  height: 100%;
  background-repeat: no-repeat;
  position: absolute;
  right: -28%;
  top: 85px;
}

.card:nth-child(8)::before,
.search-result-card:nth-child(6)::before {
  content: '';
  background-image: url('/themes/Pilos/images/news-events-connector-line-6.svg');
  display: block;
  width: 400px;
  height: 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: -13%;
  top: 125px;
}

/** Card background images **/

.card:first-of-type .card-text::after {
  content: '';
  background-image: url('/themes/Pilos/images/news-events-background-1.png');
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  position: absolute;
  right: -68%;
  top: 95px;
}

.card:nth-child(3) .card-text::after,
.card.search-result-card:nth-child(2) .card-text::after {
  content: '';
  background-image: url('/themes/Pilos/images/news-events-background-2.png');
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  position: absolute;
  right: -68%;
  top: 95px;
}

.card:nth-child(4) .card-text::after,
.card.search-result-card:nth-child(3) .card-text::after {
  content: '';
  background-image: url('/themes/Pilos/images/news-events-background-3.png');
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  position: absolute;
  right: -68%;
  top: 95px;
}

.card:nth-child(5) .card-text::after,
.card.search-result-card:nth-child(4) .card-text::after {
  content: '';
  background-image: url('/themes/Pilos/images/news-events-background-4.png');
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  position: absolute;
  right: -68%;
  top: 95px;
}

.card:nth-child(6) .card-text::after,
.card.search-result-card:nth-child(5) .card-text::after {
  content: '';
  background-image: url('/themes/Pilos/images/news-events-background-5.png');
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  position: absolute;
  right: -68%;
  top: 95px;
}

.card:nth-child(7) .card-text::after,
.card.search-result-card:nth-child(6) .card-text::after {
  content: '';
  background-image: url('/themes/Pilos/images/news-events-background-6.png');
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  position: absolute;
  right: -68%;
  top: 95px;
}

.card-text p {
  font-size: 16px;
  z-index: 1;
  position: relative;
}

.content-details {
  font-size: 16px;
  font-weight: 700;
  margin: 10px 0;
}

.content-details span {
  font-weight: 400;
  padding: 0 3px;
}

.card-text a {
  margin-top: 15px;
  display: block;
  width: max-content;
}


/**************************/
/*** Newsletter Archive ***/
/************************/

.newsletter-archive .views-field-title {
  display: none;
}

.newsletter-archive .views-field-view-node a {
  font-size: 24px;
  line-height: 2.5em;
}

.newsletter-archive .views-field-view-node a i {
  margin-right: 8px;
}

.news header h1 {
  margin-bottom: 35px;
}

.news header > div > a i {
  margin-left: 8px;
}

#newsletter-iframe {
  width: 100%;
  height: 700px;
  border: 2px solid #edf2f4;
  margin-bottom: 40px;
}

.node-individual-body.newsletter {
  text-align: center;
}


/****************************/
/**** Partners overview ****/
/**************************/

.project-partners-container-block img {
  width: 300px;
  height: auto;
}

.project-partners-container-block {
  display: flex;
  flex-wrap: wrap;
  margin: 0 75px;
  justify-content: space-between;
}

.project-partner-card {
  flex-basis: 25%;
}

.partner-types-container {
  margin: 50px 0;
  display: flex;
}

.partner-types-container .views-col {
  padding: 40px;
  flex-basis: 50%;
}

.partner-types-container .views-col:nth-child(odd) {
  background-color: #f8f6eb;
}

.partner-types-container .views-col:nth-child(even) {
  background-color: #edf2f4;
}

.partner-types-container .views-col h2,
.partner-types-container .views-col p {
  margin-bottom: 35px;
}

.partner-types-container .views-col:first-child {
  padding-left: 75px;
}

.partner-types-container .views-col:last-child {
  padding-right: 75px;
}

.partner-types-container .views-col a::after {
  content: '\f124';
  font-family: 'Font Awesome 5 Pro';
  margin-left: 5px;
}

/******************/
/**** Contact ****/
/****************/

body.contact #block-pilos-content .views-element-container header p {
  width: auto;
}

#block-contactform {
  width: 47%;
}

.webform-submission-contact-form label {
  font-weight: 700;
  display: block;
  margin-bottom: 15px;
}

.contact-message-contact-us-form input {
  width: 100%;
}

.webform-submission-contact-form label::after {
  content: '*';
}

.webform-submission-contact-form .webform-button--submit {
  background-color: #19525F;
  width: max-content;
}

.webform-submission-contact-form .form-submit:hover {
  background-color: #A5C752;
}

.webform-submission-contact-form .js-form-type-textarea {
  margin: 30px 0;
}

.follow-for-more ul {
  margin-left: 0;
}

.follow-for-more ul li {
  background-color: #edf2f4;
  padding: 10px 15px;
  font-weight: 900;
}

.follow-for-more ul li:nth-child(2) {
  margin: 35px 0;
}

.follow-for-more ul li a {
  text-decoration: none;
  border-bottom: none;
  vertical-align: middle;
}

.follow-for-more ul li span a {
  color: #19525F;
  font-weight: 500;
}

.follow-for-more ul li span a:hover {
  color: #A5C752;
}

.follow-for-more ul li i {
  font-size: 25px;
  color: #31978E;
  margin-right: 15px;
}

.follow-for-more ul li i:hover {
  color: #A5C752;
}

.contact-content {
  display: flex;
  margin: 0 75px;
  align-items: baseline;
}

.contact-details {
  background-color: #edf2f4;
  padding: 60px;
  margin: 0 60px;
}

.contact-details img {
  height: 205px;
  width: 345px;
  object-fit: cover;
  object-position: 0 65%;
}

.contact-details p strong {
  font-weight: 700;
}

.contact-details div > * {
  margin-bottom: 20px;
  max-width: 345px;
}

body.contact .contact-content #block-contactform > div > div:first-child {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 35px;
}

#block-views-block-contact-block-2 {
  width: 20%;
}

.follow-for-more h2 {
  margin-bottom: 20px;
  white-space: nowrap;
}

div.captcha {
  margin-bottom: 32px;
}

/*************************/
/**** Privacy Policy ****/
/***********************/

body.privacy-policy ul {
  margin-top: 20px;
}

body.privacy-policy ul li {
  margin-bottom: 15px;
}

body.privacy-policy article,
body.funding article {
  margin-bottom: 50px;
}

/*************************/
/**** Cookies Policy ****/
/***********************/

body.cookies-policy table {
  margin-top: 20px;
  margin-bottom: 20px;
}

body.cookies-policy article {
  margin-bottom: 50px;
}

body.cookies-policy table th {
  background: #ebe9e7;
  border-bottom: 2px solid #19525F;
  padding: 10px;
  text-align: left;
}

body.cookies-policy table td {
  padding: 10px;
  border-bottom: 1px solid #ebe9e7;
}

/*************************/
/**** Cookies Popup ****/
/***********************/

#sliding-popup {
  width: 100%;
  box-shadow: 0px 0px 10px #d6d6d6;
}

#sliding-popup .popup-content {
  margin: 0;
  padding: 22px;
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#sliding-popup #popup-text {
  float: none;
  max-width: 70%;
}

#sliding-popup .popup-content h2 {
  font-size: 20px;
  margin-bottom: 5px;
}

#sliding-popup #popup-buttons {
  float: none;
  max-width: none;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  padding: 5px;
  overflow-y: visible;
}

#sliding-popup #popup-buttons .agree-button {
  height: 35px;
  text-decoration: none;
  background-color: #19525F;
  line-height: 35px;
  padding: 0 20px;
  border-radius: 20px;
  color: white;
  font-weight: 600;
  font-size: 16px;
  text-transform: capitalize;
  border: none;
  display: block;
  width: max-content;
  margin-bottom: 0;
  margin-left: 20px;
}

#sliding-popup #popup-buttons .agree-button:hover {
  background-color: #A5C752;
  color: white;
}

#sliding-popup #popup-buttons .agree-button:focus,
#sliding-popup #popup-buttons .decline-button:focus {
  outline: 3px solid #28a0c7;
  outline-offset: 2px;
}

#sliding-popup #popup-buttons .decline-button {
  margin-bottom: 0;
  text-decoration: none;
  color: #31978E;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-bottom: 1px solid;
  background-color: transparent;
  padding: 0;
  height: 1.5em;
  line-height: 1.5em;
}

#sliding-popup #popup-buttons .decline-button:hover {
  color: #c81d55;
}

/************************/
/**** Work Packages ****/
/**********************/

body.work-packages .views-view-grid {
  margin: 45px 75px;
  display: flex;
  flex-direction: column;
  background-image: url('/themes/Pilos/images/wp-line-background.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.wp-row {
  width: 48%;
}

.wp-row:not(:first-of-type) {
  margin-top: -50px;
}

.wp-row .views-col {
  width: 100%;
  position: relative;
}

.wp-row:nth-child(even) {
  align-self: flex-end;
}

.wp-cog {
  background-image: url('/themes/Pilos/images/colour-cog.svg');
  background-repeat: no-repeat;
  height: 95px;
  background-size: contain;
  text-align: center;
  width: 95px;
  line-height: 98px;
  display: block;
  font-weight: 700;
  margin-bottom: -95px;
  z-index: 2;
  position: relative;
  margin-left: -16px;
  font-size: 18px;
  position: absolute;
  top: -18px;
}

.wp-card {
  background-color: #edf2f4;
  padding: 15px 20px 20px 70px;
  margin: 20px 0 0 30px;
  width: 100%;
}

.wp-card h3 {
  margin-bottom: 20px;
}

.wp-card ul {
  margin-top: 20px;
}

.wp-card ul li {
  margin-bottom: 15px;
}

body.work-packages #block-pilos-content footer {
  margin: 30px 75px 85px;
}

.wp-outputs-text .paragraph > div > div:first-child {
  display: none;
}

.wp-outputs-text .paragraph > div:first-child > div:last-child {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.wp-outputs-text .paragraph > div:last-child {
  margin-top: 15px;
  margin-bottom: 5px;
}

.wp-outputs-text .paragraph > div:last-child > div:last-child > span:last-child {
  display: none;
}

.wp-outputs-text .paragraph > div:last-child > div:last-child a::after {
  content: "\f124";
  font-family: 'Font Awesome 5 Pro';
  margin-left: 5px;
}

/*************************************/
/**** Individual news and events ****/
/***********************************/

.node-individual {
  display: flex;
  justify-content: space-between;
  max-width: 1215px;
  margin: 0 auto;
}

.node-individual > img {
  height: 300px;
  z-index: 2;
  width: 400px;
  object-fit: cover;
  margin-left: 20px;
}

.node-individual-body {
  max-width: 1215px;
  margin: 35px auto 80px;
}

.node-individual > div > img {
  margin: 25px 0;
  object-position: left;
  width: -moz-available;
}

.node-individual-body p {
  line-height: 1.5;
  margin-bottom: 1em;
}

.node-individual-body p a[href^="#"] {
  border-bottom: none;
}

.node-individual-body > div ul {
  margin-bottom: 1em;
  line-height: 1.5;
}

.node-individual > div > p {
  font-weight: 700;
  font-size: 18px;
}

.node-individual-body a[href="/news"],
.node-individual-body a[href="/events"] {
  margin-top: 55px;
  display: block;
  width: max-content;
}

/***************************/
/**** Project Partners ****/
/*************************/

.bef-exposed-form,
body.project-partners #block-pilos-content {
  margin: 0 75px;
}

.bef-exposed-form h2 {
  margin-bottom: 35px;
}

.green-divider {
  max-width: 100%;
  margin: 65px 0;
}

.bef-exposed-form .form--inline > .form-item {
  margin-right: 15px;
}

.bef-exposed-form .form-actions {
  align-self: flex-end;
  margin-bottom: -7px;
  display: flex;
}

#edit-reset--2 {
  background: none;
  border: none;
  color: #31978E;
  border-radius: 0;
  padding: 0;
  margin: 0 10px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

#edit-submit-project-partners--2 {
  background-color: #19525F;
}

#edit-submit-project-partners--2:hover {
  background-color: #A5C752;
}

#views-exposed-form-project-partners-page-1 {
  display: flex;
  justify-content: space-between;
}

#views-exposed-form-project-partners-page-1 .js-form-item .checkbox {
  visibility: collapse;
}

#views-exposed-form-project-partners-page-1 .js-form-item label {
  border: 2px solid #E1DE30;
  border-radius: 20px;
  padding: 5px 20px;
  font-weight: 700;
  cursor: pointer;
}

#views-exposed-form-project-partners-page-1 legend {
  float: left;
}

#views-exposed-form-project-partners-page-1 legend::after {
  content: '-';
  margin: 0 5px;
  font-weight: 700;
}

#views-exposed-form-project-partners-page-1 legend span {
  font-weight: 700;
}

#edit-field-work-packages-value--2--wrapper {
  margin-right: 20px;
}

.active-filter {
  background-color: #E1DE30;
}

.views-field-field-partner-logo {
  height: 260px;
  width: 100%;
  border: 2px solid #E1DE30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  cursor: pointer;
}

.views-field-field-partner-logo > img {
  max-height: 250px;
  width: auto;
}

body.project-partners .cols-4 .views-col {
  margin-bottom: 20px;
}

body.project-partners .views-element-container > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 1em;
  row-gap: 1em;
}

body.project-partners #block-pilos-content footer::before {
  content: '';
  background-image: url('/themes/Pilos/images/straight-green-divider.jpg');
  max-width: 100%;
  height: 25px;
  background-repeat: no-repeat;
  display: block;
  margin: 30px 0;
  background-size: contain;
}

.project-partners .views-element-container footer {
  grid-column: 1;
  grid-column-end: 5;
  margin: 0 0 70px;
}

.popup-partner {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  margin: auto;
  background-color: rgba(0,0,0,0.5);
  width: 100%;
  height: 100%;
  z-index: 999;
  cursor: default;
}

.popup-partner i.close-popup {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 25px;
  color: #31978E;
  cursor: pointer;
}

.popup-content {
  display: flex;
  width: 60%;
  background-color: #f8f6eb;
  margin: 7% auto 0;
  padding: 50px;
  position: relative;
  max-height: 75vh;
  padding-right: 23px;
}

.popup-img {
  height: 260px;
  width: 260px;
  min-width: 260px;
  background-color: white;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  border: 2px solid #E1DE30;
}

.popup-content img {
  height: max-content;
  max-width: -moz-available;
  max-width: -webkit-fill-available;
}

.popup-content > div:last-child {
  overflow-y: scroll;
  padding-right: 25px;
}

.popup-content > div:last-child > * {
  margin-bottom: 20px;
}

/* .popup-content > div:last-child p:first-of-type {
  font-size: 18px;
} */

.popup-content > div:last-child a::after {
  content: '\f124';
  font-weight: 900;
  font-family: "Font Awesome 5 Pro";
  margin-left: 5px;
}

.popup-content a[href^="https://"] {
  border: none;
}

.no-results {
  padding: 90px;
  text-align: center;
  font-size: 24px;
  grid-column: 1/-1;
  background-color: #f8f6eb;
  color: #31978E;
}

/************************/
/**** Timeline page ****/
/**********************/

.timeline-legend {
  position: absolute;
  bottom: -65px;
  right: 281px;
  width: 27%;
  display: flex;
  text-align: end;
  column-gap: 10px;
}

.timeline-legend p {
  margin: 0 !important;
}

.timeline-legend p::before {
  content: '\f45c';
  font-family: 'Font Awesome 5 Pro';
  font-weight: 700;
  font-size: 20px;
  margin-right: 10px;
}

.timeline-legend p:first-child::before {
  color: #E1DE30;
}

.timeline-legend p:last-child::before {
  color: #A5C752;
}

.timeline-year-checkpoints {
  padding: 50px 0;
}

.timeline-year-checkpoints h2 {
  margin-bottom: 25px;
}

.timeline-year-checkpoints div.checkpoints-container {
  display: flex;
  flex-direction: column;
}

div.checkpoints-container > div:nth-child(even) {
  align-self: flex-end;
}

div.checkpoints-container > div:nth-child(even)::before {
  content: '';
  display: block;
  height: 5px;
  width: 50px;
  background-color: #86bab3;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -60px;
}

div.checkpoints-container > div:nth-child(odd)::after {
  content: '';
  display: block;
  height: 5px;
  width: 50px;
  background-color: #86bab3;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -60px;
}

.timeline-year-checkpoints > div {
  margin: 0 auto;
  max-width: 1300px;
}

.timeline-year-checkpoints:nth-of-type(even) {
  background-color: #f8f6eb;
}

.timeline-year-checkpoints:nth-of-type(even) .checkpoint-text {
  background-color: white;
}

.timeline-year-checkpoints:nth-of-type(odd) .checkpoint-text {
  background-color: #f8f6eb;
}

.stage-element {
  font-size: 18px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  font-weight: 600;
}

.stage-Action {
  background-color: #E1DE30;
}

.stage-Decision {
  background-color: #A5C752;
}

.checkpoint-text {
  display: inline-block;
  width: 500px;
  font-size: 18px;
  padding: 15px;
  font-weight: 600;
}

.checkpoint-element {
  display: flex;
  position: relative;
  width: max-content;
}

.timeline-of-key-dates .views-element-container {
  overflow: hidden;
}

.timeline-year-checkpoints:first-of-type .checkpoint-element:first-child::before {
  content: '';
  background-image: url('/themes/Pilos/images/timeline-of-key-dates-line.png');
  width: 50px;
  position: absolute;
  top: -70px;
  right: -95px;
  z-index: 2;
  height: 300vh;
}

.timeline-of-key-dates .views-element-container > div footer {
  margin: 15px auto 0;
  padding-bottom: 90px;
  position: relative;
  max-width: 1300px;
  background-color: white;
  z-index: 2;
}

.timeline-of-key-dates .views-element-container > div footer a {
  z-index: 99;
  position: relative;
}

.timeline-of-key-dates .views-element-container > div footer::after {
  content: '';
  background-image: url('/themes/Pilos/images/timeline-of-key-dates-bottom-dot.svg');
  width: 100%;
  height: 22px;
  display: inline-block;
  background-size: contain;
  position: absolute;
  background-repeat: no-repeat;
  background-position: center;
  left: 0;
}

/******************************/
/**** Explore the regions ****/
/****************************/

body.explore-the-regions .views-element-container header {
  padding: 40px 75px 50px;
}

.subpage-footer {
  margin: 55px 75px 80px;
  max-width: 1300px;
}

.explore-the-region-block > p:first-child {
  margin: 55px 75px;
}

.explore-map {
  position: relative;
}

.map-top-bar > div {
  display: flex;
  width: 31%;
}

.map-top-bar {
  display: flex;
  justify-content: space-between;
  padding: 20px 285px;
  background-color: #f5e8de;
}

.map-top-bar i {
  margin-right: 10px;
  font-size: 25px;
}

.explore-map > img {
  max-width: 100%;
}

.map-marker {
  display: flex;
  width: max-content;
  flex-direction: row-reverse;
  position: absolute;
}

.marker-icon {
  position: relative;
}

.marker-icon > i {
  font-size: 62px;
}

.marker-icon i:not(.under-color) {
  z-index: 2;
  position: relative;
}

.marker-icon .under-color {
  position: absolute;
  top: 0;
  left: 0;
  color: #f8f6eb;
}

.content-marker {
  background-color: #f8f6eb;
  width: max-content;
  padding: 10px 50px 10px 10px;
  border-bottom: 3px solid #E1DE30;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 160px;
  margin-right: -23px;
  cursor: pointer;
}

.country-partner-On .content-marker {
  cursor: pointer;
}

.map-marker:hover .content-marker {
  background-color: #19525F;
  color: white;
}

 .map-marker.country-partner-On:hover .content-marker p {
  color: white;
}

.map-marker:hover .marker-icon i:first-child {
  color: #E1DE30;
}

.map-marker:hover .marker-icon i:last-child {
  color: #19525F;
}

.country-info {
  display: flex;
}

.country-info p:first-child {
  margin-right: 10px;
}

.country-partner-On .content-marker p,
.country-partner-On > i,
.country-partner-On .marker-icon i:first-child {
  color: #70706F;
}

.map-markers-container {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}

/**** exceptii de la regula ****/

#map-marker-poland,
#map-marker-spain,
#map-marker-greece {
  flex-direction: row;
}

#map-marker-poland .content-marker,
#map-marker-spain .content-marker,
#map-marker-greece .content-marker {
  margin-right: 0;
  margin-left: -23px;
  padding: 10px 10px 10px 35px;
  align-items: flex-end;
}

/**** map marker positions ****/

#map-marker-united-kingdom {
  left: 28%;
  top: 10%;
}

#map-marker-germany {
  left: 40%;
  top: 25%;
}

#map-marker-poland {
  top: 20%;
  left: 58%;
}

#map-marker-france {
  top: 41%;
  left: 33%;
}

#map-marker-portugal {
  top: 75%;
  left: 20%;
}

#map-marker-spain {
  top: 76%;
  left: 35%;
}

#map-marker-greece {
  top: 73%;
  left: 61%;
}

/* map marker positions for zoomed out displays */

@media screen and (min-width: 1921px) {

  .explore-map {
    max-width: 1928px;
    margin: 0 auto;
  }

  .explore-map-blue-background {
    background-color: #edf2f4;
  }

  #map-marker-united-kingdom {
    left: 27%;
  }

  #map-marker-germany {
    left: 40%;
  }

  #map-marker-poland {
    top: 21%;
    left: 58%;
  }

  #map-marker-france {
    top: 43%;
    left: 32%;
  }

  #map-marker-portugal {
    left: 20%;
  }

  #map-marker-spain {
    left: 32%;
  }

  #map-marker-greece {
    top: 78%;
    left: 61%;
  }
}


/*** popup content ***/

.popup-country .popup-content {
  width: 70%;
}

.popup-country img {
  width: 260px;
  height: intrinsic; /*for safari*/
  margin-right: 30px;
  border: 1px solid #A5C752;
}

.popup-country li {
  margin-bottom: 15px;
}

.country-deets {
  padding: 20px 10px;
  background-color: #f5e8de;
  display: none;
}

.country-deets i {
  font-size: 22px;
}

.country-deets > div:first-child {
  margin-bottom: 20px;
}

.country-deets div span {
  font-size: 18px;
}

.popup-content div:last-child .country-deets div p {
  font-size: 16px;
}

/**********************************/
/**** Objectives and outcomes ****/
/********************************/

.climate-action {
  margin: 50px 75px;
}

.climate-action .subtitle {
  margin-bottom: 30px;
}

.climate-action .container-sm {
  max-width: none;
}

.climate-action .container-sm > div > div p {
  margin-bottom: 20px;
}

.climate-action .container-sm > div > div p:last-child {
  margin: 0;
}

.focus-regions {
  background-color: #edf2f4;
  padding: 0 75px;
}

.focus-regions > div {
  width: 100%;
  padding: 60px 0;
}

.focus-regions:first-of-type > div {
  display: flex;
}

.focus-regions:last-of-type > div {
  display: flex;
  flex-direction: row-reverse;
  justify-content: left;
  border-top: 4px dashed #A5C752;
  padding-bottom: 30px;
}

.focus-regions:last-of-type > div > div {
  margin-left: 45px;
}

.focus-regions:first-of-type > div > div {
  margin-right: 45px;
}

.focus-regions .subtitle {
  margin-bottom: 30px;
}

.focus-regions img {
  height: max-content;
}

.focus-regions ul {
  margin-top: 20px;
}

.focus-regions ul li {
  margin-bottom: 20px;
}

.timeline-bottom {
  margin-top: 60px;
  margin-bottom: 30px;
}

.timeline-bottom img {
  margin-top: 20px;
  width: 100%;
}

.objectives-and-outcomes-section-countries footer {
  background-color: #edf2f4;
  margin: 0;
  padding-bottom: 10px;
}

#block-views-block-objectives-outcomes-block-4 .objectives-and-outcomes-section footer {
  margin-bottom: 60px;
}

.objectives-and-outcomes-section:last-of-type footer,
.objectives-and-outcomes-section-countries footer div {
  margin: 0 auto;
  max-width: 1400px;
}

.objectives-and-outcomes-section:last-of-type footer i {
  margin-right: 10px;
}

.objectives-and-outcomes-section:last-of-type footer .secondary-btn,
.objectives-and-outcomes-section-countries footer .secondary-btn {
  display: block;
  width: max-content;
  margin-bottom: 40px;
}

#block-views-block-objectives-outcomes-block-4 {
  margin: 0 75px;
}

/**** Search results ****/

.search-results-container .views-view-grid {
  display: flex;
  flex-direction: column;
  margin: 70px 75px;
}

.search-card {
  display: flex;
  position: relative;
}

.search-results-container header h1 {
  display: inline;
}

.search-results-container header h1:last-of-type {
  margin-left: 10px;
  margin-top: 0 !important;
}

.search-results-container header h1:last-child {
  margin-left: 10px;
}

.search-results-container .pager::before {
  margin: 30px 75px;
}

.search-results-container .page-header-breadcrumb {
  margin-bottom: 40px;
}

#views-exposed-form-search-results-page-1 .pilot-select {
  width: 300px;
}

#views-exposed-form-search-results-page-1 {
  margin-top: 40px;
}

#search-page-info {
  position: absolute;
  bottom: -70px;
  right: 75px;
}

/**** Login page ****/

body.log-in #block-pilos-content,
body.reset-your-password #block-pilos-content,
.logged-in-user #block-pilos-content {
  margin: 0 auto;
  max-width: 1790px;
  position: relative;
  padding: 0 20px;
}

body.home div[data-drupal-messages] {
  position: absolute;
  top: 120px;
}

div[data-drupal-messages] {
  margin: 0 auto 65px;
  width: 100%;
  padding: 0 20px;
  text-align: center;
  margin-top: 65px;
  z-index: 7;
}

div[data-drupal-messages] div[aria-label="Error message"] {
  color: #c81d55;
  border: 2px solid #c81d55;
}

div[data-drupal-messages] div[aria-label="Error message"] div[role="alert"] * {
  color: #c81d55;
}

div[data-drupal-messages] div[aria-label="Error message"] div[role="alert"]::before {
 content: '\f057';
 font-family: 'Font Awesome 5 Pro';
 color: #c81d55;
 margin-right: 10px;
 font-weight: 900;
}

.user-login-form,
form#user-pass,
.logged-in-user #block-pilos-content {
  margin-bottom: 60px;
  margin-top: 60px;
}

.user-login-form .form-item,
form#user-pass .form-item {
  margin-bottom: 20px;
}

.user-login-form div.description,
form#user-pass > p {
  display: none;
}

.user-login-form label,
form#user-pass label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

.user-login-form {
  display: flex;
  flex-direction: column;
}

.forgot-pass-link {
  margin-top: 20px;
  order: 1;
}

.forgot-pass-link span::after {
  content: '|';
  margin: 0 10px;
}

/**** pages 404/403 ****/

.container-4xx #block-pilos-content {
  margin-left: 75px;
  max-width: 1400px;
  margin-bottom: 30px;
}

/**** Work packages individual pages ****/

.node-type--wp .page-header-breadcrumb,
.node-type--wp .node-header h1,
.node-type--wp .wp-summary-text,
.wp-full-body-text > div,
.wp-full-body-text > h2,
.wp-outputs-text > div > div > div,
.wp-outputs-text > h2,
.wp-individual-bottom {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.wp-full-body-text > div,
.wp-outputs-text > div > div > div {
  background-color: white;
  padding: 20px;
  margin-bottom: 10px;
}

.wp-full-body-text,
.wp-outputs-text {
  background-color: #edf2f4;
  padding: 40px 20px;
  margin-top: 40px;
  margin-bottom: 40px;
}

/* .wp-summary-text > div > p:first-child {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 20px;
} */

.node-type--wp ul li {
  margin-bottom: 1em;
}

.node-type--wp h2 {
  margin-bottom: 20px;
  padding: 0;
}

.node-type--wp .node-header h1 {
  display: flex;
  align-items: center;
}

.node-type--wp .node-header h1 span {
  background-image: url('/themes/Pilos/images/colour-cog.svg');
  background-repeat: no-repeat;
  height: 115px;
  background-size: contain;
  text-align: center;
  width: 115px;
  line-height: 115px;
  display: inline-block;
  font-weight: 700;
  font-size: 24px;
  margin-right: 20px;
  color: #19525F;
}

.node-type--wp .wp-card {
  padding: 10px 20px 20px 90px;
  width: auto;
}

.node-type--wp .wp-row {
  width: 31%;
  margin-right: 20px;
  margin-bottom: 30px;
}

.node-type--wp .views-view-grid {
  display: flex;
  flex-wrap: wrap;
}

.node-type--wp .wp-row:not(:first-of-type) {
  margin-top: 0;
}

.node-type--wp .views-view-grid .views-col {
  float: none;
}

.node-type--wp .wp-card >  div {
  display: none;
}

.node-type--wp .wp-cog {
  top: -12px;
  margin-left: 0;
  height: 110px;
  width: 110px;
  line-height: 110px;
  font-size: 20px;
}

.node-type--wp .wp-card h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

.wp-individual-bottom {
  margin-top: 50px;
  margin-bottom: 50px;
}

body.management .views-view-grid .wp-row:first-child {
  display: none;
}

body.geo-characterisation .views-view-grid .wp-row:nth-child(2) {
  display: none;
}

body.simulation .views-view-grid .wp-row:nth-child(3) {
  display: none;
}

body.pilot-development .views-view-grid .wp-row:nth-child(4) {
  display: none;
}

body.safety .views-view-grid .wp-row:nth-child(5) {
  display: none;
}

body.social-acceptance .views-view-grid .wp-row:nth-child(6) {
  display: none;
}

body.communications--impact .views-view-grid .wp-row:last-child {
  display: none;
}

body.advisory-board .item-list {
  margin-bottom: 50px;
}

body.advisory-board .item-list::before {
  content: '';
  background-image: url('/themes/Pilos/images/straight-green-divider.jpg');
  background-repeat: no-repeat;
  display: block;
  width: 100%;
  height: 30px;
  margin: 40px 75px 0;
}

body.advisory-board .item-list::after {
  content: '';
  background-image: url('/themes/Pilos/images/straight-green-divider.jpg');
  background-repeat: no-repeat;
  display: block;
  width: 100%;
  height: 30px;
  margin: 40px 75px 0;
}

body.advisory-board .item-list ul {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 30px;
  margin: 40px 75px;
}

body.advisory-board .item-list + footer {
  margin: 40px 75px;
}

body.advisory-board .item-list ul li::before {
  display: none;
}

body.advisory-board .item-list ul article img {
  width: 100%;
  border: 2px solid #E1DE30;
  min-height: 285px;
  max-height: 285px;
  object-fit: cover;
  margin-bottom: 10px;
  cursor: pointer;
}

body.advisory-board .item-list ul article p {
  pointer-events: none;
  margin-bottom: 10px;
}

body.advisory-board .item-list ul article h2 {
  margin-bottom: 10px;
  cursor: pointer;
}

body.advisory-board .item-list ul .popup-partner .popup-img {
  padding: 0;
}

body.advisory-board .item-list ul .popup-partner .popup-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.wp-results {
  background-color: #edf2f4;
  padding: 20px;
  margin: 30px auto;
  max-width: 1400px;
}

.wp-results ul {
  list-style: none;
  margin-left: 0;
}

.wp-results ul.paragraph {
  padding: 30px 10px;
  display: none;
}

.wp-results ul.paragraph h4 {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 10px;
}

.wp-results ul.paragraph span.file {
  margin-top: 10px;
  display: inline-block;
}

.wp-results ul.paragraph span.file + span {
  line-height: 2;
}

.wp-results ul li {
  border-bottom: 1px solid #19525F;
  padding: 30px 0;
}

.wp-results ul li::before {
  display: none;
}

.wp-results-title {
  position: relative;
  padding-left: 60px;
}

.wp-results-title .wp-cog {
  top: -30px;
  left: -33px;
}

.wp-results-title > i {
  position: absolute;
  right: 0;
  cursor: pointer;
  transition: transform 0.1s linear;
}

.wp-results.expanded .wp-results-title > i {
  transform: rotate(180deg);
  transition: transform 0.1s linear;
}


.country-resources-flags {
  position: absolute;
  top: 110px;
  right: 20px;
  z-index: 3;
  color: #19525F;
  display: flex;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 0;
}
.country-resources-flags a {
    /* no underline */
    border-bottom: 0;
    display: flex;
    align-items: center;
    gap: 5px;
  }
@media screen and (max-width: 1300px) {
  .country-resources-flags {
    top: 160px;
  }
}
@media screen and (max-width: 950px) {
  .country-resources-flags {
    top: 120px;
    /* needs to be centred */
    right: 0;
    width: 100%;
    padding: 0 10px;
    justify-content: center;
  }
}
@media screen and (max-width: 750px) {
  .country-resources-flags {
    top: 145px;
    /* needs to be centred */
    right: 0;
    width: 100%;
    padding: 0 10px;
    text-align: center;
  }
}
