@charset "UTF-8";
/*!
Theme Name: irec
Theme URI: http://underscores.me/
Author: tresipunt
Author URI: http://www.tresipunt.com
Description: Theme for the website IREC
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: irec
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

irec is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
	 ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-family: sans-serif;
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  clear: both;
}

p {
  margin-bottom: 1.5em;
}

dfn, cite, em, i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 15px;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code, kbd, tt, var {
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  font-size: 15px;
  font-size: 0.9375rem;
}

abbr, acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark, ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
  box-sizing: inherit;
}

body {
  background: #fff;
  /* Fallback for when there is no custom background color defined. */
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul, ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: bold;
}

dd {
  margin: 0 1.5em 1.5em;
}

img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
}

figure {
  margin: 1em 0;
  /* Extra wide images within figure tags don't overflow the content area. */
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type=button],
input[type=reset],
input[type=submit] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}
button:hover,
input[type=button]:hover,
input[type=reset]:hover,
input[type=submit]:hover {
  border-color: #ccc #bbb #aaa;
}
button:active, button:focus,
input[type=button]:active,
input[type=button]:focus,
input[type=reset]:active,
input[type=reset]:focus,
input[type=submit]:active,
input[type=submit]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
input[type=number],
input[type=tel],
input[type=range],
input[type=date],
input[type=month],
input[type=week],
input[type=time],
input[type=datetime],
input[type=datetime-local],
input[type=color],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=tel]:focus,
input[type=range]:focus,
input[type=date]:focus,
input[type=month]:focus,
input[type=week]:focus,
input[type=time]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=color]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
  color: royalblue;
}
a:visited {
  color: purple;
}
a:hover, a:focus, a:active {
  color: midnightblue;
}
a:focus {
  outline: thin dotted;
}
a:hover, a:active {
  outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
  clear: both;
  display: block;
  float: left;
  width: 100%;
}
.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}
.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}
.main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul {
  left: 100%;
}
.main-navigation ul ul a {
  width: 200px;
}
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}
.main-navigation li {
  float: left;
  position: relative;
}
.main-navigation a {
  display: block;
  text-decoration: none;
}
/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }

  .main-navigation ul {
    display: block;
  }
}
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
  overflow: hidden;
}
.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  float: left;
  width: 50%;
}
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: "";
  display: table;
  table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
  margin: 0 0 1.5em;
  /* Make sure select elements fit in widgets. */
}
.widget select {
  max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
  display: block;
}

.post,
.page {
  margin: 0 0 1.5em;
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  /* Theme Footer (when set to scrolling) */
  display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
  width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}
.wp-caption img[class*=wp-image-] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
  margin-bottom: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
}
.gallery-columns-2 .gallery-item {
  max-width: 50%;
}
.gallery-columns-3 .gallery-item {
  max-width: 33.33%;
}
.gallery-columns-4 .gallery-item {
  max-width: 25%;
}
.gallery-columns-5 .gallery-item {
  max-width: 20%;
}
.gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}
.gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}
.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}
.gallery-columns-9 .gallery-item {
  max-width: 11.11%;
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# 5 cols grid
--------------------------------------------------------------*/
.col-2dot4,
.col-sm-2dot4,
.col-md-2dot4,
.col-lg-2dot4,
.col-xl-2dot4 {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

.col-2dot4 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 20%;
  flex: 0 0 20%;
  max-width: 20%;
}

@media (min-width: 540px) {
  .col-sm-2dot4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }
}
@media (min-width: 720px) {
  .col-md-2dot4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }
}
@media (min-width: 960px) {
  .col-lg-2dot4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }
}
@media (min-width: 1140px) {
  .col-xl-2dot4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }
}
/*--------------------------------------------------------------
# Custom IREC
--------------------------------------------------------------*/
:root {
  --size: 150px;
  --bord: 20px;
}

@media (max-width: 575px) {
  .d-none-small {
    display: none;
  }
}
@media (min-width: 576px) and (max-width: 666px) {
  .d-none-small-land {
    display: none;
  }
}
@media (min-width: 667px) and (max-width: 767px) {
  .d-none-medium-land {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .d-none-medium {
    display: none;
  }
}
@media (min-width: 1024px) {
  .d-none-large {
    display: none;
  }
}
.wp-pagenavi {
  color: #0077AE;
}

body {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 14px;
  color: #000000;
}
body.page {
  margin-bottom: 0;
}
body.home #stickyMenu ul.social-top-header li {
  background-color: transparent !important;
}
body.home #stickyMenu.sticky #top-menu-wrapper ul.social-top-header li {
  background-color: #4A4A4A !important;
}
body.group-template-default.single-group #primary #main #submenu #menu-menu-research li:first-child a {
  color: #0077AE;
}
body.group-template-default #site-navigation #primary-menu li:nth-child(2) {
  border-bottom: 4px solid #000000;
}
body.programme-template-default.single-programme #primary #main #submenu #menu-menu-research li:nth-child(2) a {
  color: #0077AE;
}
body.programme-template-default #site-navigation #primary-menu li:nth-child(2) {
  border-bottom: 4px solid #000000;
}
body.page-template-group #submenu .menu-menu-research-container ul#menu-menu-research li:nth-child(2) a {
  color: #0077AE;
}
body.post-type-archive-project #submenu #menu-menu-research li:nth-child(3) a {
  color: #0077AE;
}
body.post-type-archive-project #site-navigation #primary-menu li:nth-child(2) {
  border-bottom: 4px solid #000000;
}
body.post-type-archive-publication #submenu #menu-menu-research li:nth-child(5) a {
  color: #0077AE;
}
body.post-type-archive-publication #site-navigation #primary-menu li:nth-child(2) {
  border-bottom: 4px solid #000000;
}
body.page-id-812 #submenu #menu-menu-research li:nth-child(6) a {
  color: #0077AE;
}
body.page-id-812 #site-navigation #primary-menu li:nth-child(2) {
  border-bottom: 4px solid #000000;
}
body.parent-pageid-115 #submenu #menu-menu-about li:nth-child(6) a, body.parent-pageid-115 #submenu #menu-menu-quisom li:nth-child(6) a, body.parent-pageid-115 #submenu #menu-menu-quienessomos li:nth-child(6) a, body.parent-pageid-14885 #submenu #menu-menu-about li:nth-child(6) a, body.parent-pageid-14885 #submenu #menu-menu-quisom li:nth-child(6) a, body.parent-pageid-14885 #submenu #menu-menu-quienessomos li:nth-child(6) a, body.parent-pageid-15852 #submenu #menu-menu-about li:nth-child(6) a, body.parent-pageid-15852 #submenu #menu-menu-quisom li:nth-child(6) a, body.parent-pageid-15852 #submenu #menu-menu-quienessomos li:nth-child(6) a {
  color: #0077AE;
}
body.parent-pageid-117 #submenu #menu-menu-about li:nth-child(7) a, body.parent-pageid-117 #submenu #menu-menu-quisom li:nth-child(7) a, body.parent-pageid-117 #submenu #menu-menu-quienessomos li:nth-child(7) a, body.parent-pageid-15439 #submenu #menu-menu-about li:nth-child(7) a, body.parent-pageid-15439 #submenu #menu-menu-quisom li:nth-child(7) a, body.parent-pageid-15439 #submenu #menu-menu-quienessomos li:nth-child(7) a, body.parent-pageid-15998 #submenu #menu-menu-about li:nth-child(7) a, body.parent-pageid-15998 #submenu #menu-menu-quisom li:nth-child(7) a, body.parent-pageid-15998 #submenu #menu-menu-quienessomos li:nth-child(7) a {
  color: #0077AE;
}
body.parent-pageid-151 #submenu #menu-menu-press-and-society li:nth-child(5) a {
  color: #0077AE;
}
body.post-type-archive-event #site-navigation #primary-menu li:nth-child(5), body.post-type-archive-tribe_events #site-navigation #primary-menu li:nth-child(5) {
  border-bottom: 4px solid #000000;
}
body.post-type-archive-event #submenu ul li:nth-child(3) a, body.post-type-archive-tribe_events #submenu ul li:nth-child(3) a {
  color: #0077AE;
}
body.single-event #site-navigation #primary-menu li:nth-child(5), body.single-tribe_events #site-navigation #primary-menu li:nth-child(5) {
  border-bottom: 4px solid #000000;
}
body.single-event #submenu ul li:nth-child(3) a, body.single-tribe_events #submenu ul li:nth-child(3) a {
  color: #0077AE;
}
body .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-top-bar__datepicker-button:after {
  display: none !important;
}
body.post-type-archive-multimedia #site-navigation #primary-menu li:nth-child(5), body.post-type-archive-irecinmedia #site-navigation #primary-menu li:nth-child(5) {
  border-bottom: 4px solid #000000;
}
body.single-multimedia #site-navigation #primary-menu li:nth-child(5) {
  border-bottom: 4px solid #000000;
}
body.single-multimedia #submenu ul li:nth-child(4) a {
  color: #0077AE;
}
body.single-post #site-navigation #primary-menu li:nth-child(5) {
  border-bottom: 4px solid #000000;
}
body.single-post #submenu ul li:nth-child(1) a {
  color: #0077AE;
}
body.single-publication #primary-menu li:nth-child(2) {
  border-bottom: 4px solid #000000;
}
body.single-publication #submenu ul li:nth-child(5) a {
  color: #0077AE;
}
body.single-project #primary-menu li:nth-child(2) {
  border-bottom: 4px solid #000000;
}
body.single-project #submenu ul li:nth-child(3) a {
  color: #0077AE;
}

figure, .wp-block-image {
  margin: 20px 0 30px 0;
}

hr {
  margin-bottom: 1rem;
}

h1, h2, h3, h4 {
  font-weight: 700;
  color: #000;
}

h1 {
  font-size: 50px;
  line-height: 70px;
  color: #000000;
  margin-top: 0;
}

h2 {
  font-size: 40px;
  line-height: 55px;
}

h3 {
  font-size: 20px;
  line-height: 30px;
}

p {
  margin-bottom: 1em;
}

a {
  color: #0077AE;
}
a:visited {
  color: #0077AE;
}
a:hover {
  text-decoration: none;
  color: #004869;
}

.font-size-16 {
  font-size: 16px;
}

.font-size-18 {
  font-size: 18px;
}

.no-bold {
  font-weight: 400 !important;
}

.bg-blue {
  background-color: #004869;
  color: #ffffff;
}
.bg-blue h2 {
  color: #ffffff;
}
.bg-blue .section-title {
  color: #ffffff;
}
.bg-blue .section-desc {
  color: #ffffff;
}

.bg-darkblue {
  background-color: #002C41;
  color: #ffffff;
}

.bg-grey {
  background-color: #F7F7F7;
}

.bg-dark-grey {
  background-color: #E5E6E5;
}

.white-color {
  color: #ffffff;
}

.grey-color {
  color: #989898;
}

.project-container .active {
  background-color: #5DAA3D;
}

.finished {
  background-color: #C46346;
}

.font-size-14 {
  font-size: 1rem;
  line-height: 1.5;
}

.button-link {
  box-sizing: border-box;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  -ms-border-radius: 25px;
  -o-border-radius: 25px;
  border-radius: 25px;
  padding: 10px 20px;
}
.button-link.button-primary {
  background-color: #FFFFFF;
  border: 1px solid #E5E6E5;
  font-size: 1rem;
}
.button-link.button-primary.read-more {
  background-color: rgba(0, 0, 0, 0);
  color: #fff;
}
.button-link.button-primary:hover {
  background-color: #0077AE;
  color: #ffffff;
  border: none;
}
.button-link.button-secondary {
  background-color: #0077AE;
  color: #ffffff;
}
.button-link.button-secondary:hover {
  background-color: #FFFFFF;
  border: 1px solid #E5E6E5;
  color: inherit;
}
.button-link.button-secondary.color-dark-hover:hover {
  color: #000;
}
.button-link.button-dark {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}
.button-link.button-dark:hover {
  background-color: #FFFFFF;
  border: 1px solid #ffffff;
  color: #004869;
}
.button-link.button-dark.color-dark-hover:hover {
  color: #000;
}
.button-link.big-size {
  font-size: 20px;
  line-height: 30px;
}
@media (min-width: 320px) and (max-width: 480px) {
  .button-link.big-size {
    font-size: 16px;
  }
}
.button-link.button-deactivated {
  background-color: #F7F7F7;
  font-size: 1rem;
  padding: 5px 20px;
}

.section-title {
  margin-bottom: 30px;
}
.section-title h2 {
  margin-bottom: 0;
}
.section-title h1 {
  margin-bottom: 0;
}

.section-desc {
  color: #4A4A4A;
  font-size: 20px;
  line-height: 30px;
  margin-bottom: 30px;
}

.overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
  /*background: rgba(0,0,0,0.4);*/
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
  padding: 0;
}

/* Header*/
header.site-header {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
header.site-header #stickyMenu {
  height: 84px;
  position: fixed;
  width: 100%;
  z-index: 1;
  padding-top: 15px;
}
header.site-header #stickyMenu.sticky {
  top: 0;
  z-index: 1000;
  width: 100%;
  opacity: 1;
  padding-top: 15px;
}
header.site-header #stickyMenu .site-branding img {
  width: 100%;
}
header.site-header #stickyMenu #top-menu-wrapper {
  width: 100%;
  text-align: right;
}
header.site-header #stickyMenu #top-menu-wrapper > div {
  display: inline-block;
}
header.site-header #stickyMenu #top-menu-wrapper > div ul#top-menu {
  text-align: right;
  margin-bottom: 10px;
  padding-inline-start: 0;
  margin-left: 0;
}
header.site-header #stickyMenu #top-menu-wrapper > div ul#top-menu li {
  display: inline-block;
  text-transform: uppercase;
  margin: 0 30px;
}
header.site-header #stickyMenu #top-menu-wrapper > div ul#top-menu li:first-child {
  margin-left: 0;
}
header.site-header #stickyMenu #top-menu-wrapper > div ul#top-menu li a {
  font-size: 14px;
  line-height: 20px;
}
header.site-header #stickyMenu #top-menu-wrapper > div ul.social-top-header {
  padding-inline-start: 0;
  margin-left: 0;
  margin-bottom: 0;
}
header.site-header #stickyMenu #top-menu-wrapper > div ul.social-top-header li {
  list-style: none;
  display: inline-block;
  background-color: #4A4A4A;
  margin-left: 15px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
  border-radius: 50px;
}
header.site-header #stickyMenu #top-menu-wrapper > div ul.social-top-header li:first-child {
  margin-left: 0;
}
header.site-header #stickyMenu #site-navigation {
  width: 100%;
  text-align: right;
}
header.site-header #stickyMenu #site-navigation.background-light-grey {
  background-color: #324852;
}
header.site-header #stickyMenu #site-navigation ul li {
  text-transform: uppercase;
  padding-bottom: 9px;
  font-weight: 600;
}
@media (min-width: 1024px) {
  header.site-header #stickyMenu #site-navigation ul li {
    margin: 0 15px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  header.site-header #stickyMenu #site-navigation ul li {
    margin: 0 8px;
  }
}
header.site-header #stickyMenu #site-navigation ul li a {
  font-size: 20px;
  line-height: 25px;
}
@media (min-width: 768px) and (max-width: 1023px) {
  header.site-header #stickyMenu #site-navigation ul li a {
    font-size: 1rem;
  }
}
header.site-header #stickyMenu #site-navigation ul li.current-menu-item, header.site-header #stickyMenu #site-navigation ul li.current-page-ancestor {
  border-bottom: 4px solid #000000;
  color: #000;
}
header.site-header #stickyMenu #site-navigation ul li.current-menu-item a, header.site-header #stickyMenu #site-navigation ul li.current-page-ancestor a {
  color: #000;
}
header.site-header #stickyMenu #search-form-row-mob {
  padding: 40px 0;
}
header.site-header #stickyMenu #search-form-row-mob label {
  width: 85%;
}
header.site-header #stickyMenu #search-form-row-mob label input[type=search] {
  width: 100%;
}
header.site-header #stickyMenu #search-form-row-mob input[type=submit] {
  background-color: #0077AE;
  color: #fff;
  padding-top: 10px;
  padding-bottom: 8px;
}

.bg-header.header-not-home #stickyMenu {
  background-color: rgba(255, 255, 255, 0.65);
  border: 0;
}

.bg-header #stickyMenu.sticky, .no-bg-header #stickyMenu {
  background-color: white !important;
  border-bottom: 1px solid #E5E6E5;
}

#top-menu-wrapper ul li a, #site-navigation ul li a {
  color: #4a4a4a;
}

.header-home #top-menu-wrapper ul li a, .header-home #site-navigation ul li a,
.header-home #search-button-open {
  color: #ffffff;
}

.bg-header #stickyMenu.sticky #site-navigation ul li:hover {
  border-bottom-color: #4a4a4a;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .bg-header #stickyMenu.sticky #site-navigation ul li a, .bg-header .sticky #search-button-open,
.bg-header #stickyMenu.sticky #top-menu-wrapper ul li a {
    color: #4a4a4a !important;
  }
}
@media (min-width: 1024px) {
  .bg-header #stickyMenu.sticky #site-navigation ul li a, .bg-header .sticky #search-button-open,
.bg-header #stickyMenu.sticky #top-menu-wrapper ul li a {
    color: #4a4a4a !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  #site-navigation ul li:hover {
    border-bottom: 4px solid #000000;
  }
}
@media (min-width: 1024px) {
  #site-navigation ul li:hover {
    border-bottom: 4px solid #000000;
  }
}

.header-home #site-navigation ul li:hover {
  border-bottom: 4px solid #ffffff;
}

.admin-bar #stickyMenu {
  top: 32px !important;
}

.admin-bar .submenu.sticky {
  top: 116px !important;
}
@media (min-width: 576px) and (max-width: 666px) {
  .admin-bar .submenu.sticky {
    top: 173px !important;
  }
}
@media (max-width: 575px) {
  .admin-bar .submenu.sticky {
    top: 173px !important;
  }
}

.admin-bar .groups-link.sticky {
  top: 115px !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sticky-sub {
  position: fixed;
  top: 84px;
  z-index: 5;
  width: 100%;
}

main#main #ctf a {
  color: #fff;
}

.background-image {
  z-index: 0;
  position: relative;
  background-attachment: scroll;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 700px;
  display: flex;
}
.background-image .mbr-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
}
.background-image .claim-wrapper {
  margin-bottom: 95px;
  z-index: 1;
}
.background-image .claim-wrapper h2 {
  color: #ffffff !important;
  margin-bottom: 1rem;
}
.background-image .claim-wrapper h2.front-page-margin {
  margin-bottom: 3rem;
}
@media (max-width: 575px) {
  .background-image .claim-wrapper h2.front-page-margin {
    margin-bottom: 5rem;
  }
}
.background-image.bg-home {
  padding-bottom: 100px;
  height: 730px;
}

.mbr-overlay {
  /*background-color: rgba(0,0,0,0.3);*/
  /*background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);*/
  background: rgba(0, 0, 0, 0);
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 64%, rgba(0, 0, 0, 0.47) 81%, rgba(0, 0, 0, 0.8) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(64%, rgba(0, 0, 0, 0)), color-stop(81%, rgba(0, 0, 0, 0.47)), color-stop(100%, rgba(0, 0, 0, 0.8)));
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 64%, rgba(0, 0, 0, 0.47) 81%, black 100%);
  background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 64%, rgba(0, 0, 0, 0.47) 81%, rgba(0, 0, 0, 0.8) 100%);
  background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 64%, rgba(0, 0, 0, 0.47) 81%, rgba(0, 0, 0, 0.8) 100%);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 64%, rgba(0, 0, 0, 0.47) 81%, rgba(0, 0, 0, 0.8) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#000000", endColorstr="#000000", GradientType=0 );
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.big-text {
  font-size: 20px;
  line-height: 30px;
}

.home .site-content {
  padding-top: 0;
}

.bg-header-wrapper {
  position: absolute;
  top: 0;
  z-index: -1;
}

.no-bg-header {
  height: 84px;
}
@media (max-width: 575px) {
  .no-bg-header {
    height: 70px;
  }
}

#key-concepts {
  color: #ffffff;
  width: 100%;
  font-size: 20px;
  line-height: 30px;
  padding: 20px 0;
}
#key-concepts.absolute {
  position: absolute;
  bottom: 0;
  left: 0;
}
@media (min-width: 768px) and (max-width: 1023px) {
  #key-concepts.absolute {
    background-color: rgba(0, 119, 174, 0.2);
  }
}
@media (min-width: 1024px) {
  #key-concepts.absolute {
    background-color: rgba(0, 119, 174, 0.2);
  }
}

.submenu {
  padding-top: 25px;
  padding-bottom: 25px;
  width: 100%;
  z-index: 1000;
}
.submenu.sticky {
  position: sticky;
  top: 84px;
}
@media (min-width: 667px) and (max-width: 767px) {
  .submenu {
    padding: 0;
    position: relative;
  }
}
.submenu ul {
  margin: 0;
  padding-inline-start: 0;
}
.submenu ul li {
  display: inline-block;
  list-style: none;
  font-weight: 600;
  text-align: center;
}
.submenu ul li a {
  text-transform: uppercase;
  font-size: 18px;
  line-height: 22px;
  color: #000000;
}
.submenu ul li a:hover {
  color: #0077AE;
}
.submenu ul .current-menu-item a {
  color: #0077AE;
}

.groups-link.sticky {
  position: sticky;
  top: 84px;
  z-index: 1;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sub-submenu {
  padding: 50px 0 30px 0;
  position: absolute;
  width: 100%;
  margin-top: 25px;
  z-index: 1;
  /*display:none;*/
}
.sub-submenu ul {
  padding-inline-start: 0;
  margin-left: 0;
}
.sub-submenu ul li {
  list-style: none;
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 30px;
}
.sub-submenu ul li a {
  text-transform: uppercase;
  color: inherit;
}
.sub-submenu.child-menu li {
  font-weight: unset;
  text-align: unset;
}

.dropdown-link {
  cursor: pointer;
  color: #000;
}
.dropdown-link:after {
  font-family: "Font Awesome 5 Free";
  content: "";
  margin-left: 15px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
  border-radius: 50px;
  padding: 4px 7px;
  color: #ffffff;
  background-color: #4A4A4A;
}
.dropdown-link.open:after {
  content: "";
}

.caption-image {
  text-align: right;
  font-size: 12px;
  margin-right: 20px;
  margin-bottom: 20px;
  margin-top: -50px;
  color: white;
}

.single .caption-image {
  margin-right: 0px;
  margin-top: 0px;
  margin-bottom: 20px;
  color: black;
}

.single-tribe_events .caption-image {
  margin-right: 0px;
  margin-top: -2.25em;
  margin-bottom: 20px;
  color: black;
}

.caption-image a {
  text-decoration: underline;
}

/* page*/
header.bg-page-header {
  height: 600px;
}
header.bg-page-header .claim-wrapper {
  margin-bottom: 95px;
  position: relative;
  bottom: 0;
}
header.bg-page-header .claim-wrapper h1 {
  margin-bottom: 0;
}

/*Grid*/
.stories {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
}
@media (max-width: 575px) {
  .stories {
    height: 900px !important;
    grid-template-rows: repeat(4, 1fr);
    grid-template-columns: repeat(1, 1fr);
  }
}

.story-item {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.story-item.big-square {
  grid-row-start: 1;
  grid-row-end: 3;
  grid-column-start: 1;
  grid-column-end: 3;
}
@media (max-width: 575px) {
  .story-item.big-square {
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 2;
  }
}
.story-item h3 {
  position: absolute;
  bottom: 20px;
  left: 25px;
  right: 25px;
  color: #ffffff;
}
.story-item.square-1 {
  grid-row-start: 1;
  grid-row-end: 2;
  grid-column-start: 3;
  grid-column-end: 4;
}
@media (max-width: 575px) {
  .story-item.square-1 {
    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: 2;
  }
}
.story-item.square-2 {
  grid-row-start: 1;
  grid-row-end: 2;
  grid-column-start: 4;
  grid-column-end: 5;
}
@media (max-width: 575px) {
  .story-item.square-2 {
    grid-row-start: 3;
    grid-row-end: 4;
    grid-column-start: 1;
    grid-column-end: 2;
  }
}
.story-item.large {
  grid-row-start: 2;
  grid-row-end: 3;
  grid-column-start: 3;
  grid-column-end: 5;
}
@media (max-width: 575px) {
  .story-item.large {
    grid-row-start: 4;
    grid-row-end: 5;
    grid-column-start: 1;
    grid-column-end: 2;
  }
}

/* Accordeon*/
#accordion .card {
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}
#accordion .card .card-header {
  padding: 0;
  background-color: transparent;
  border-bottom: 0;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  -o-border-radius: 0px;
  border-radius: 0px;
}
#accordion .card .card-header > h3 {
  font-size: 35px;
  line-height: 70px;
}
#accordion .card .card-header > h3:focus {
  outline: none;
}
#accordion .card .card-header > h3 div {
  cursor: pointer;
}
#accordion .card .card-header > h3 div:after {
  font-family: "Font Awesome 5 Free";
  content: "";
  float: right;
  color: #4A4A4A;
}
#accordion .card .card-header > h3 div.collapsed:after {
  font-family: "Font Awesome 5 Free";
  content: "";
  float: right;
  color: #4A4A4A;
}
#accordion .card .card-body {
  padding: 1.25rem 0;
}
#accordion:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.125);
}
#accordion #collapseFive .read-more {
  margin-bottom: 2rem;
}

.wp-block-pb-accordion-item h4 {
  margin-bottom: 1rem;
}

.c-accordion__title:after {
  font-family: "Font Awesome 5 Free";
  content: "";
  font-weight: 700;
}

.is-open .c-accordion__title:after {
  font-family: "Font Awesome 5 Free";
  content: "";
  font-weight: 700;
}

.page-content, .entry-content, .entry-summary {
  margin: 50px auto 1.5em auto;
}

.post-type-description {
  font-size: 20px;
  line-height: 30px;
}

.wp-block-file .wp-block-file__button {
  background-color: #FFFFFF;
  border: 1px solid #E5E6E5;
  font-size: 1rem;
}
.wp-block-file .wp-block-file__button:hover {
  background-color: #0077AE;
  color: #ffffff;
  border: none;
}

/* Homepage*/
.sticky-news {
  display: grid;
  height: 500px;
  grid-template-rows: repeat(2, 1fr);
  grid-template-columns: repeat(12, 1fr);
  grid-gap: 20px;
}
.sticky-news > div {
  position: relative;
}
.sticky-news > div:first-child {
  grid-row-start: 1;
  grid-row-end: 3;
  grid-column-start: 1;
  grid-column-end: 8;
}
.sticky-news > div:nth-child(2) {
  grid-row-start: 1;
  grid-row-end: 2;
  grid-column-start: 8;
  grid-column-end: 13;
}
.sticky-news > div:last-child {
  grid-row-start: 2;
  grid-row-end: 3;
  grid-column-start: 8;
  grid-column-end: 13;
}
.sticky-news > div .new-info {
  position: absolute;
  bottom: 30px;
  left: 20px;
  right: 20px;
}
.sticky-news > div .new-info a h3 {
  color: #ffffff;
}
.sticky-news .post-img {
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.height-22 {
  height: 22vh;
}

.height-32 {
  height: 32vh;
}

#research-groups .group-item {
  height: 30vh;
}
#research-groups .group-item > div {
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}
#research-groups .group-item h4 {
  z-index: 0;
}
#research-groups .group-item h4 a {
  color: #ffffff;
}

.page-template-default #primary, .single-people #primary {
  margin-top: 2rem;
}

nav#submenu + #primary.fixed-submenu, .container.fixed-submenu {
  margin-top: 2rem;
}

body.single-group nav#submenu + #primary.fixed-submenu, body.single-programme nav#submenu + #primary.fixed-submenu {
  margin-top: 0;
}

.home.page-template-default #primary {
  margin-top: 3rem;
}

@media (max-width: 575px) {
  .single-programme #primary.fixed-submenu {
    margin-top: 3.5rem;
  }
}

.single-group .claim-wrapper, .page-template-group .claim-wrapper, .single-programme .claim-wrapper {
  margin-bottom: 20px !important;
}
.single-group #key-concepts, .page-template-group #key-concepts, .single-programme #key-concepts {
  background-color: #002C41;
}

.blocks-gallery-grid .blocks-gallery-image figcaption, .blocks-gallery-grid .blocks-gallery-item figcaption, .wp-block-gallery .blocks-gallery-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption {
  line-height: 15px;
}

/* Research*/
.banner {
  background-size: cover;
  position: relative;
}

/* Press & Society*/
#primary .bg-blue img.twitter-logo-size {
  height: 3.5rem;
}
#primary .social-box {
  padding: 20px 30px;
}
#primary .social-box.opacity #ctf {
  overflow-y: unset;
}
#primary .social-box.opacity #ctf .ctf-item {
  border-top: none;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.2);
}
#primary #irec_in_media {
  background-color: #004869;
}
#primary #irec_in_media .section-title {
  margin: 2rem 0;
}
#primary #irec_in_media .full-width a {
  width: 100%;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.2);
}
#primary #irec_in_media .full-width a:hover {
  background-color: rgba(255, 255, 255, 0.3);
}
#primary #irec_in_media .full-width a .media-card img {
  max-height: 40px;
}
#primary article.type-irecinmedia .media-card img {
  max-height: 40px;
}
#primary .archive-irec-media article div.text-white {
  background-color: #004869;
  width: 100%;
}

.post-type-archive-irecinmedia article a {
  background-color: #004869;
  width: 100%;
  color: #ffffff;
}
.post-type-archive-irecinmedia article a:hover {
  opacity: 0.6;
}

.expert-spotlight h3 {
  margin-bottom: 0;
}
.expert-spotlight .subtitle {
  font-size: 1rem;
}

/* Events*/
.event-container {
  margin-bottom: 15px;
}
.event-container .data-container .big-date {
  color: #0077AE;
  font-size: 24px;
  line-height: 1.42;
  font-weight: bold;
}

/* Multimedia*/
article.type-multimedia .post-media {
  position: relative;
  padding-bottom: 46.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}
article.type-multimedia .post-media iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
article.type-multimedia h3.entry-title {
  margin-bottom: 0;
}
article.type-multimedia figure.wp-block-embed {
  margin-top: 0;
}

article.type-multimedia .gallery-icon {
  position: absolute;
  right: 10px;
  top: 10px;
}

/* Publications*/
.publications.container article div.entry-content span.italic {
  font-style: italic;
}

/* Projects */
.post-type-archive-project .project-container {
  display: flex;
}

.project-container .entry-content {
  border: 1px solid grey;
  padding: 10px 15px;
  margin: 0;
  position: relative;
  width: 100%;
}
.project-container .entry-content .status-info {
  font-size: 18px;
  top: 15px;
  color: #ffffff;
  position: absolute;
  top: 15px;
  right: 0;
}
.project-container .entry-content .status-info.active {
  background-color: #5DAA3D;
}
.project-container .entry-content .status-info.finished {
  background-color: #8BA3AE;
}
.project-container .entry-content .status-info .period {
  background-color: rgba(255, 255, 255, 0.2);
}
.project-container .entry-content .status-info div {
  text-align: center;
  padding: 0 10px;
}
.project-container .entry-content .content-project {
  max-width: 80%;
}
.project-container .entry-content .content-project h3 {
  font-size: 28px;
}
.project-container .entry-content h3 {
  font-size: 24px !important;
}
.project-container .entry-content h3 span {
  font-weight: initial;
  padding: 5px;
  color: #ffffff;
  font-size: 14px;
  margin-left: 10px;
}
.project-container .project-link {
  position: absolute;
  right: 10px;
  bottom: 5px;
}
.project-container .project-desc {
  font-size: 20px;
}

.key-concepts-list {
  margin-left: 15px;
  padding-left: 0;
  margin-bottom: 0;
  float: left;
}
.key-concepts-list li {
  display: inline-block;
  width: 35px;
  height: 35px;
  background-repeat: no-repeat;
}

.energy-and-environment {
  background-image: url("img/kc-energy-environment.svg");
}

.smart-energy-management {
  background-image: url("img/kc-smart-energy.svg");
}

.energy-storage {
  background-image: url("img/kc-energy-storage.svg");
}

/*People*/
.person {
  margin-bottom: 3em;
}
.person h3 {
  margin-bottom: 0;
}
.person .text {
  font-size: 20px;
  line-height: 30px;
}

.twitter-link i, .linkdin-link i {
  color: #989898;
  margin-right: 10px;
}

.people .entry-content {
  margin-top: 0;
}

/* Pagination*/
div.pagination {
  justify-content: center;
  margin-bottom: 2%;
}

ul.page-numbers {
  list-style: none;
  margin: 0;
}

.page-numbers:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

ul.page-numbers li {
  display: block;
  float: left;
  margin: 0 4px 4px 0;
  text-align: center;
}

.page-numbers a,
.page-numbers span {
  line-height: 1.6em;
  display: block;
  padding: 0 6px;
  height: 18px;
  line-height: 18px;
  font-size: 12px;
  text-decoration: none;
  font-weight: 400;
  cursor: pointer;
  border: 1px solid #ddd;
  color: #888;
}

.page-numbers a span {
  padding: 0;
}

.page-numbers a:hover,
.page-numbers.current,
.page-numbers.current:hover {
  color: #000;
  background: #f7f7f7;
  text-decoration: none;
}

/*News*/
.page-numbers:hover {
  text-decoration: none;
}

.post-image {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

.key-concepts-icon-list {
  padding-inline-start: 0;
  margin: 0;
  padding: 0;
  margin-bottom: 10px;
}
.key-concepts-icon-list li {
  list-style: none;
  display: inline-block;
  margin-right: 10px;
}

.list-custom-taxonomy-widget ul li {
  display: inline-block;
}

article .author-title {
  color: #0077AE;
  font-weight: 700;
  font-size: 18px;
}
article .bg-page-header {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  height: 400px;
}
article .bg-page-header h1 {
  color: #ffffff;
}
article .entry-content {
  font-size: 20px;
  line-height: 30px;
}
article .entry-content a {
  color: #0077AE;
}
article .entry-content > div > div > figure:first-child {
  margin-top: 0;
}

blockquote {
  background-color: #F7F7F7;
  color: #4A4A4A;
  padding: 20px;
  font-size: 24px;
  line-height: 38px;
  float: right;
  width: 30%;
  margin-bottom: 15px;
}
@media (min-width: 768px) and (max-width: 1023px) {
  blockquote {
    width: 100%;
    float: none;
    margin-left: 0;
  }
}

.related-posts {
  background-color: #F7F7F7;
}

.circles .circle-label {
  text-align: center;
  font-size: 20px;
}
.circles .digit {
  font-size: 50px;
  line-height: 50px;
  font-weight: bold;
  text-align: center;
}

.chart {
  width: var(--size);
  height: var(--size);
  margin: 1em auto;
  border-radius: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  background: #5DAA3D;
  border: var(--bord) solid rgba(93, 170, 61, 0.5);
  background-clip: padding-box;
}

.x-12 {
  --value: 12%;
}

.x-35 {
  --value: 35%;
}

.x-56 {
  --value: 56%;
}

.x-100 {
  --value:100%;
}

.mt-50 {
  margin-top: 50px;
}

.fadeOut {
  transition: all ease 0.5s;
  transform: scale(0);
}

.fadeOut-1 {
  transition-delay: 0.16s;
}

.fadeOut-2 {
  transition-delay: 0.32s;
}

.fadeOut-3 {
  transition-delay: 0.48s;
}

.fadeOut-4 {
  transition-delay: 0.64s;
}

.fadeOut-5 {
  transition-delay: 0.8s;
}

.fadeOut-6 {
  transition-delay: 0.96s;
}

.present .fadeOut {
  transform: scale(1);
  transition-property: all;
  transition-timing-function: ease;
}

/* Contact Form*/
form.wpcf7-form label {
  text-transform: uppercase;
}
form.wpcf7-form input[type=text], form.wpcf7-form input[type=email], form.wpcf7-form select, form.wpcf7-form textarea {
  width: 100%;
  padding: 20px 30px;
  -webkit-border-radius: 35px;
  -moz-border-radius: 35px;
  -ms-border-radius: 35px;
  -o-border-radius: 35px;
  border-radius: 35px;
  color: #0077AE;
}
form.wpcf7-form input[type=submit] {
  padding: 15px 45px;
  -webkit-border-radius: 35px;
  -moz-border-radius: 35px;
  -ms-border-radius: 35px;
  -o-border-radius: 35px;
  border-radius: 35px;
  font-size: 1rem;
  border-color: #0077AE;
}
form.wpcf7-form .wpcf7-acceptance label {
  text-transform: inherit;
}

/* search and filter */
.search-wrapper {
  font-size: 20px;
}

.search-container {
  margin-bottom: 30px;
}

.searchandfilter ul {
  padding-left: 0;
  display: inline-block;
  margin-left: 5px;
}
.searchandfilter ul li {
  display: inline-block;
}
.searchandfilter ul li h4 {
  display: inline-block;
  text-transform: uppercase;
  color: #4A4A4A;
  font-weight: 300;
  margin-right: 10px;
  padding: 0;
}
.searchandfilter ul li select {
  max-width: 200px;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  -ms-border-radius: 25px;
  -o-border-radius: 25px;
  border-radius: 25px;
  padding: 10px 5px;
}

.searchandfilter > ul > li {
  margin-left: 20px;
  margin-right: 0;
}

.searchandfilter > ul > li:first-child {
  margin-left: 0;
}

.searchandfilter > ul > li > ul > li {
  margin-left: 10px;
}

.searchandfilter > ul > li > ul > li:first-child {
  margin-left: 0;
}

.sf-field-taxonomy-key-concepts h4 {
  display: inline-block;
}

.sf-input-checkbox {
  display: none;
}

.sf-label-checkbox {
  background-position: left center;
  background-size: auto 100%;
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  text-indent: -1000px;
  cursor: pointer;
}

.sf-field-taxonomy-projects-key-concepts > ul li:first-child .sf-label-checkbox, .sf-field-taxonomy-key-concepts > ul li:first-child .sf-label-checkbox {
  background-image: url("img/kc-energy-environment.svg");
  padding-left: 0;
  width: 30px;
}
.sf-field-taxonomy-projects-key-concepts > ul li:nth-child(2) .sf-label-checkbox, .sf-field-taxonomy-key-concepts > ul li:nth-child(2) .sf-label-checkbox {
  background-image: url("img/kc-energy-storage.svg");
  padding-left: 0;
  width: 30px;
}
.sf-field-taxonomy-projects-key-concepts > ul li:last-child .sf-label-checkbox, .sf-field-taxonomy-key-concepts > ul li:last-child .sf-label-checkbox {
  background-image: url("img/kc-smart-energy.svg");
  padding-left: 0;
  width: 30px;
}

.sf-input-checkbox:checked + .sf-label-checkbox {
  background-position: right center;
}

.search-cpt ul {
  width: 100%;
}
.search-cpt ul .sf-field-search {
  width: 100%;
}
.search-cpt ul .sf-field-search label {
  width: 100%;
}
.search-cpt ul .sf-field-search label input {
  width: 100%;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  -ms-border-radius: 25px;
  -o-border-radius: 25px;
  border-radius: 25px;
  padding: 10px 20px;
}

.sf-field-search input {
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  -ms-border-radius: 25px;
  -o-border-radius: 25px;
  border-radius: 25px;
  padding: 7px 5px;
}

/* Search form*/
#search-form-row {
  margin-top: 84px;
  position: absolute;
  width: 100%;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
}
#search-form-row form.search-form {
  width: 50%;
  float: right;
}
#search-form-row form.search-form label {
  width: 100%;
  margin-bottom: 0;
}
#search-form-row form.search-form label input.search-field {
  width: 100%;
  padding: 10px 20px;
}

input.search-field {
  -webkit-border-radius: 35px;
  -moz-border-radius: 35px;
  -ms-border-radius: 35px;
  -o-border-radius: 35px;
  border-radius: 35px;
}

button.search-submit {
  background-color: transparent;
  color: #4D8C0E;
  border: 0;
  font-size: 20px;
  position: absolute;
  top: 0;
  right: 15px;
}
button.search-submit i {
  color: #0077AE !important;
}

.search-button-close {
  font-size: 23px;
  color: #000000;
}

.home #search-button-close {
  color: #ffffff;
}

.stickyMenu.sticky #search-button-close {
  color: #000000;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #0077AE;
  opacity: 1;
  /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #0077AE;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #0077AE;
}

.job-vacancy {
  margin-bottom: 50px;
}
.job-vacancy label {
  font-weight: bold;
}
.job-vacancy .action-buttons div {
  display: inline-block;
}
.job-vacancy .action-buttons div .button-secondary {
  font-size: 1rem;
}

.upload-file-wrapper {
  margin-bottom: 40px;
}
.upload-file-wrapper div {
  font-size: 1rem;
  line-height: 1.5;
}

/* search results */
.search-results article {
  margin-bottom: 50px;
}
.search-results article h2 {
  font-size: 1.75rem;
  line-height: 40px;
}
.search-results article .post-type-title {
  text-transform: uppercase;
}
.search-results article .entry-summary {
  margin-top: 10px;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid #E5E6E5;
  /* Sponsors */
}
footer.site-footer h3 {
  font-size: 20px;
  font-weight: bold;
  line-height: 30px;
}
footer.site-footer section#custom_html-2 .textwidget {
  font-size: 1rem;
}
footer.site-footer section#custom_html-2 .find-us-mob i {
  color: #0077AE;
  font-size: 1.5rem;
}
footer.site-footer section {
  margin-bottom: 1.25rem;
}
footer.site-footer section h3 {
  line-height: 2rem;
}
footer.site-footer section ul.horizontal {
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 0;
  justify-content: flex-start;
}
footer.site-footer section ul.horizontal li.sponsors-item {
  width: 20%;
  padding-bottom: 0;
}
@media (max-width: 575px) {
  footer.site-footer section ul.horizontal li.sponsors-item {
    width: 33%;
  }
}
footer.site-footer .legal-menu {
  margin-bottom: 0;
  margin-left: 0;
  padding-left: 0;
}
footer.site-footer .legal-menu li {
  display: inline-block;
}
footer.site-footer .legal-menu li:after {
  content: " | ";
}
footer.site-footer .legal-menu li:last-child:after {
  content: "";
}
footer.site-footer .legal-menu li a {
  margin: 0 5px;
}

@media (min-width: 1024px) {
  #page #masthead #menu-wrapper-id #top-menu-wrapper ul li.current-menu-item {
    border-bottom: 4px solid #000000;
    color: #000;
  }
  #page #masthead #search-form-row {
    position: fixed;
    z-index: 1001;
  }
  #page #masthead #search-form-row form.search-form {
    margin-left: 50%;
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }
  #page #masthead #search-form-row form.search-form label {
    width: 100%;
    margin-bottom: 0;
  }
  #page #masthead #search-form-row form.search-form input.search-field {
    width: 100%;
    padding: 10px 20px;
  }
  #page #content #main form.search-form {
    position: relative;
    width: 50%;
  }
  #page #content #main form.search-form label {
    width: 100%;
    margin-bottom: 0;
  }
  #page #content #main form.search-form label input.search-field {
    width: 100%;
    padding: 10px 20px;
  }

  body.single-people ul#primary-menu .menu-item-80 {
    border-bottom: 4px solid #000000;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .h4, h4 {
    font-size: 1.2rem;
  }

  h2 {
    line-height: 46px;
  }

  .sticky-news {
    height: 350px;
  }
  .sticky-news .new-info {
    bottom: 5px !important;
  }

  #page #masthead #menu-wrapper-id #top-menu-wrapper ul li.current-menu-item {
    border-bottom: 4px solid #000000;
    color: #000;
  }
  #page #masthead #search-form-row {
    position: fixed;
    z-index: 3;
  }
  #page #masthead #search-form-row form.search-form {
    position: relative;
    width: 50%;
  }
  #page #masthead #search-form-row form.search-form label {
    width: 100%;
    margin-bottom: 0;
  }
  #page #masthead #search-form-row form.search-form input.search-field {
    width: 100%;
    padding: 10px 20px;
  }
  #page #content #submenu.submenu ul li a {
    font-size: 0.75rem;
  }
  #page #content #main form.search-form {
    margin-left: 50%;
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }
  #page #content #main form.search-form label {
    width: 100%;
    margin-bottom: 0;
  }
  #page #content #main form.search-form label input.search-field {
    width: 100%;
    padding: 10px 20px;
  }

  body.single-people ul#primary-menu .menu-item-80 {
    border-bottom: 4px solid #000000;
  }

  .expert-spotlight-links a {
    display: block;
    margin-bottom: 10px;
    text-align: center;
  }

  #key-concepts .title-kc {
    text-align: center !important;
  }

  .searchandfilter > ul {
    width: 100%;
  }
  .searchandfilter > ul > li {
    margin-left: 0;
    width: 100%;
  }
  .searchandfilter > ul > li label {
    width: 100%;
  }
  .searchandfilter > ul > li label select, .searchandfilter > ul > li label input[type=text] {
    width: 100%;
  }

  .searchandfilter > ul > li h4 {
    display: none;
  }
}
@media (min-width: 667px) and (max-width: 767px) {
  header.site-header #stickyMenu {
    height: 105px;
  }
  header.site-header #stickyMenu .site-branding {
    margin-top: 10px;
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  header.site-header #stickyMenu .site-branding div.custom-logo-link {
    display: block !important;
  }
  header.site-header #stickyMenu #menu-wrapper-id {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }
  header.site-header #stickyMenu #menu-wrapper-id #site-navigation div.custom-logo-link a.custom-logo-link img.custom-logo {
    display: none;
  }
  header.site-header #stickyMenu #menu-wrapper-id #site-navigation ul li a {
    font-size: 0.7rem;
    margin: 0 8px;
  }
  header.site-header #stickyMenu #menu-wrapper-id #top-menu-wrapper .menu-top-menu-container #top-menu li a {
    font-size: 0.7rem;
  }
  header.site-header #stickyMenu.sticky #site-navigation ul li a {
    color: #4a4a4a !important;
  }
  header.site-header #stickyMenu.sticky #site-navigation #search-button-open {
    color: #4a4a4a !important;
  }
  header.site-header #stickyMenu.sticky #top-menu-wrapper ul li a {
    color: #4a4a4a !important;
  }
  header.site-header #search-form-row {
    margin-top: 105px;
    position: fixed;
    z-index: 3;
  }

  section.bg-home #key-concepts.absolute {
    background-color: rgba(0, 119, 174, 0.2);
  }
  section.bg-home #key-concepts.absolute .row .col-6 {
    margin-bottom: 20px;
  }

  #content #submenu.submenu ul li:first-child {
    padding-top: 1.5rem;
  }
  #content #submenu .container div ul[id] li:first-of-type {
    margin: 25px 0 0 0;
  }
  #content #submenu .sub-submenu {
    margin-top: 0;
    position: absolute;
    top: 0;
    padding: 0;
  }
  #content #submenu .sub-submenu .return-button {
    margin-left: 15px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    padding: 5px 8px;
    color: #ffffff;
    background-color: #4A4A4A;
    position: absolute;
    left: -20px;
    top: 20px;
    font-weight: 700;
  }
  #content #research-menu-id + #submenu nav:last-of-type {
    padding: 85px 0 85px 0;
  }
  #content #research-menu-id, #content #tech-transfer-menu-id, #content #press-society-menu-id, #content #about-menu-id {
    display: block;
    list-style: none;
    font-weight: 600;
    font-weight: 600;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  #content #research-menu-id a, #content #tech-transfer-menu-id a, #content #press-society-menu-id a, #content #about-menu-id a {
    text-transform: uppercase;
    font-size: 20px;
    line-height: 25px;
    display: block;
  }
  #content #press-society-menu-id {
    margin-top: 1rem;
  }

  body.single-people ul#primary-menu .menu-item-80 {
    border-bottom: 4px solid #000000;
  }
}
@media (min-width: 576px) and (max-width: 666px) {
  h2 {
    line-height: 46px;
  }

  .sticky-news {
    height: 282px;
  }

  #page #masthead.site-header #stickyMenu .container {
    max-width: 100%;
  }
  #page #masthead.site-header #stickyMenu .site-branding #white-irec-logo-md {
    display: none;
  }
  #page #masthead.site-header #stickyMenu #menu-wrapper-id.menu-wrapper {
    position: absolute;
    top: 0;
  }
  #page #masthead.site-header #stickyMenu #menu-wrapper-id #top-menu-wrapper {
    display: none;
  }
  #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation {
    text-align: left;
    z-index: 2;
    display: flex;
    padding-top: 15px;
  }
  #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation.toggled #hamburguerButtonNav i {
    color: #fff;
  }
  #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation.toggled #search-button-open-mob {
    display: none;
  }
  #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation.toggled #search-button-open {
    display: none;
  }
  #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation.toggled #search-button-close {
    display: none;
  }
  #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation.toggled .menu-mainmenu-container ul li {
    margin-left: 30px;
    padding-bottom: 35px;
    border-bottom: none;
    width: 100%;
  }
  #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation.toggled .menu-mainmenu-container ul li:first-child[id] {
    padding-top: 20px;
  }
  #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation.toggled .menu-mainmenu-container ul li a {
    color: #fff !important;
    font-size: 1.5rem;
  }
  #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation.toggled .menu-mainmenu-container ul li.current-menu-item, #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation.toggled .menu-mainmenu-container ul li.current-page-ancestor {
    border-bottom: 0;
  }
  #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation.toggled .menu-mainmenu-container ul li.current-menu-item a, #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation.toggled .menu-mainmenu-container ul li.current-page-ancestor a {
    color: #fff;
  }
  #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation.toggled .menu-mainmenu-container ul li.current-menu-item a span, #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation.toggled .menu-mainmenu-container ul li.current-page-ancestor a span {
    padding-bottom: 0.5rem;
    border-bottom: 4px solid #ffffff;
  }
  #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation.toggled .menu-top-menu-container #top-menu-mobile li {
    width: 100%;
    margin-left: 30px;
    padding-bottom: 35px;
    border-bottom: none;
  }
  #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation.toggled .menu-top-menu-container #top-menu-mobile li:first-child {
    font-weight: 100;
  }
  #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation.toggled .menu-top-menu-container #top-menu-mobile li a {
    color: #fff !important;
  }
  #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation.toggled .social-top-header {
    margin-left: 30px;
    padding-bottom: 35px;
    border-bottom: none;
  }
  #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation.toggled .social-top-header li {
    margin: auto;
  }
  #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation.toggled .social-top-header li a:first-child {
    margin-right: 30px;
  }
  #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation.toggled .social-top-header li a img {
    height: 3rem;
  }
  #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation.toggled #top-menu-mobile li.current-menu-item span {
    padding-bottom: 0.5rem;
    border-bottom: 4px solid #ffffff;
  }
  #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation #hamburguerButtonNav {
    background-color: rgba(0, 0, 0, 0);
    border-color: rgba(0, 0, 0, 0);
    padding: 0;
  }
  #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation #hamburguerButtonNav i {
    font-size: 2rem;
  }
  #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation a.custom-logo-link {
    text-align: center;
    display: block !important;
  }
  #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation a.custom-logo-link img {
    width: 50%;
  }
  #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation #search-button-open-mob {
    font-size: 1.5rem;
    align-self: center;
  }
  #page #masthead.site-header #stickyMenu #menu-wrapper-id #site-navigation #search-button-close-mob {
    font-size: 1.5rem;
    align-self: center;
    color: #fff;
  }
  #page #masthead.site-header #stickyMenu.sticky #menu-wrapper-id #site-navigation #search-button-close {
    color: #000;
  }
  #page #masthead.site-header #search-form-row-mob {
    position: fixed;
    margin-top: 84px;
    width: 100%;
    z-index: 3;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
  }
  #page #masthead.site-header #search-form-row-mob .container .row form {
    width: 100%;
  }
  #page #masthead.site-header #search-form-row-mob .container .row form label {
    width: 100%;
  }
  #page #masthead.site-header #search-form-row-mob .container .row form label input[type=search] {
    width: 100%;
  }
  #page #masthead.site-header #search-form-row-mob .container .row form button[type=submit] {
    padding: 0.3em 1em 0.4em;
  }
  #page #key-concepts {
    background-color: #002C41;
    font-size: 18px;
    line-height: 24px;
  }
  #page #key-concepts .container .row div.col-6 {
    margin-bottom: 1.2rem;
  }
  #page #content #research-menu-id, #page #content #tech-transfer-menu-id, #page #content #press-society-menu-id, #page #content #about-menu-id {
    display: block;
    list-style: none;
    font-weight: 600;
    font-weight: 600;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  #page #content #research-menu-id a, #page #content #tech-transfer-menu-id a, #page #content #press-society-menu-id a, #page #content #about-menu-id a {
    text-transform: uppercase;
    font-size: 20px;
    line-height: 25px;
    display: block;
  }
  #page #content #submenu .sub-submenu {
    margin-top: 0;
  }
  #page #content #submenu .sub-submenu #menu-menu-research-programmes li, #page #content #submenu .sub-submenu #menu-menu-research-groups li, #page #content #submenu .sub-submenu #menu-menu-about-transparency li, #page #content #submenu .sub-submenu #menu-menu-about-work li,
#page #content #submenu .sub-submenu #menu-menu-quisom-transparencia li, #page #content #submenu .sub-submenu #menu-menu-quisom-treballa li,
#page #content #submenu .sub-submenu #menu-menu-quienessomos-transparencia li, #page #content #submenu .sub-submenu #menu-menu-quienessomos-trabaja li {
    margin-left: 8.333333%;
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }
  #page #content #submenu.submenu {
    padding: 0;
    position: absolute;
  }
  #page #content #submenu.submenu ul li:first-child {
    padding-top: 1.5rem;
  }
  #page #content #submenu.submenu .sub-submenu {
    position: absolute;
    top: 0;
  }
  #page #content #submenu.submenu .sub-submenu .return-button {
    margin-left: 15px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    padding: 5px 8px;
    color: #ffffff;
    background-color: #4A4A4A;
    left: -45px;
    top: 45px;
    font-weight: 700;
  }
  #page #content #submenu.submenu.sticky {
    position: fixed;
    top: 141px;
  }

  .bg-header #stickyMenu.sticky, .no-bg-header #stickyMenu {
    background-color: white !important;
    border-bottom: 1px solid #E5E6E5;
  }

  body.single-people ul#primary-menu li:nth-child(4) span {
    padding-bottom: 0.5rem;
    border-bottom: 4px solid #ffffff;
  }
  body.single-event #site-navigation #primary-menu li:nth-child(5), body.post-type-archive-event #site-navigation #primary-menu li:nth-child(5), body.single-multimedia #site-navigation #primary-menu li:nth-child(5), body.post-type-archive-multimedia #site-navigation #primary-menu li:nth-child(5), body.single-post #site-navigation #primary-menu li:nth-child(5) {
    border-bottom: 0;
  }
  body.single-event #site-navigation #primary-menu li:nth-child(5) span, body.post-type-archive-event #site-navigation #primary-menu li:nth-child(5) span, body.single-multimedia #site-navigation #primary-menu li:nth-child(5) span, body.post-type-archive-multimedia #site-navigation #primary-menu li:nth-child(5) span, body.single-post #site-navigation #primary-menu li:nth-child(5) span {
    padding-bottom: 0.5rem;
    border-bottom: 4px solid #ffffff;
  }
  body.single-group #site-navigation #primary-menu li:nth-child(2), body.post-type-archive-project #site-navigation #primary-menu li:nth-child(2), body.post-type-archive-publication #site-navigation #primary-menu li:nth-child(2), body.single-programme #site-navigation #primary-menu li:nth-child(2) {
    border-bottom: 0;
  }
  body.single-group #site-navigation #primary-menu li:nth-child(2) span, body.post-type-archive-project #site-navigation #primary-menu li:nth-child(2) span, body.post-type-archive-publication #site-navigation #primary-menu li:nth-child(2) span, body.single-programme #site-navigation #primary-menu li:nth-child(2) span {
    padding-bottom: 0.5rem;
    border-bottom: 4px solid #ffffff;
  }

  .wp-pagenavi span.pages {
    display: block;
    text-align: center;
  }
}
@media (max-width: 575px) {
  h1 {
    font-size: 30px;
    line-height: 40px;
  }

  h2 {
    font-size: 30px;
    line-height: 40px;
  }

  ul, ol {
    margin-left: 0.5em;
    padding-inline-start: 20px;
  }

  .searchandfilter > ul > li {
    margin-left: 0;
    width: 100%;
  }
  .searchandfilter > ul > li label {
    width: 100%;
  }
  .searchandfilter > ul > li label select, .searchandfilter > ul > li label input[type=text] {
    width: 100%;
    max-width: 100%;
  }

  .searchandfilter > ul > li h4 {
    display: none;
  }

  #accordion .card .card-header > h3 {
    font-size: 28px;
  }

  header.site-header #stickyMenu #site-navigation {
    text-align: left;
    z-index: 1;
    display: flex;
    padding-top: 30px;
  }
  header.site-header #stickyMenu #site-navigation .menu-toggle {
    background-color: rgba(0, 0, 0, 0);
    border-color: rgba(0, 0, 0, 0);
    padding: 0;
  }
  header.site-header #stickyMenu #site-navigation .menu-toggle i {
    font-size: 2rem;
  }
  header.site-header #stickyMenu #site-navigation .menu-toggle i.fas.fa-times {
    color: #fff;
  }
  header.site-header #stickyMenu #site-navigation a.custom-logo-link {
    text-align: center;
  }
  header.site-header #stickyMenu #site-navigation a.custom-logo-link img {
    width: 60%;
  }
  header.site-header #stickyMenu #site-navigation #search-button-open-mob, header.site-header #stickyMenu #site-navigation #search-button-close-mob {
    align-self: center;
    font-size: 1.5rem;
  }
  header.site-header #stickyMenu #site-navigation #search-button-close {
    display: none;
  }
  header.site-header #stickyMenu #site-navigation ul.social-top-header {
    display: flex;
    float: left;
  }
  header.site-header #stickyMenu #site-navigation ul#top-menu-mobile li a {
    font-size: 1rem;
  }
  header.site-header #stickyMenu #site-navigation ul li {
    margin-left: 30px;
    padding-bottom: 35px;
    border-bottom: none;
  }
  header.site-header #stickyMenu #site-navigation ul li.menu-item-191 {
    font-weight: 100;
  }
  header.site-header #stickyMenu #site-navigation ul li.menu-item-226 {
    font-weight: 100;
  }
  header.site-header #stickyMenu #site-navigation ul li.menu-item-227 {
    font-weight: 100;
  }
  header.site-header #stickyMenu #site-navigation ul li:first-child[id] {
    padding-top: 20px;
  }
  header.site-header #stickyMenu #site-navigation ul li a {
    color: #fff;
    font-size: 1.5rem;
  }
  header.site-header #stickyMenu #site-navigation ul li a img {
    height: 3rem;
  }
  header.site-header #stickyMenu #site-navigation ul li.current-menu-item, header.site-header #stickyMenu #site-navigation ul li.current-page-ancestor {
    border-bottom: 0;
  }
  header.site-header #stickyMenu #site-navigation ul li.current-menu-item a, header.site-header #stickyMenu #site-navigation ul li.current-page-ancestor a {
    color: #fff;
  }
  header.site-header #stickyMenu #site-navigation ul li.current-menu-item a span, header.site-header #stickyMenu #site-navigation ul li.current-page-ancestor a span {
    padding-bottom: 0.5rem;
    border-bottom: 4px solid #ffffff;
  }
  header.site-header #search-form-row-mob {
    position: fixed;
    margin-top: 84px;
    width: 100%;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
  }
  header.site-header #search-form-row-mob .container .row form {
    width: 100%;
  }
  header.site-header #search-form-row-mob .container .row form label {
    width: 100%;
  }
  header.site-header #search-form-row-mob .container .row form label input[type=search] {
    width: 100%;
  }
  header.site-header #search-form-row-mob .container .row form .search-submit {
    padding: 0.3em 1em 0.4em;
  }
  header .site-branding {
    text-align: center;
    margin-top: 0 !important;
  }
  header .site-branding a img {
    max-width: 40%;
  }
  header .site-branding a img.larger-size {
    max-width: 70%;
  }
  header .main-navigation {
    background-color: rgba(0, 0, 0, 0);
  }
  header .main-navigation ul li {
    float: none;
    width: 100%;
  }
  header .menu-wrapper {
    position: absolute;
    top: 0;
  }

  .not-home-page {
    height: 480px;
  }
  .not-home-page .claim-wrapper {
    margin-bottom: 30px;
  }

  #site-navigation ul li a span:hover {
    padding-bottom: 0.5rem;
    border-bottom: 4px solid #ffffff;
  }

  .sticky-news {
    height: 700px;
    grid-template-rows: repeat(3, 1fr);
  }
  .sticky-news > div:first-child {
    grid-column-end: 13;
    grid-row-end: 1;
  }
  .sticky-news > div:nth-child(2) {
    grid-column-start: 1;
    grid-row-end: 2;
    grid-row-start: 2;
  }
  .sticky-news > div:last-child {
    grid-column-start: 1;
    grid-row-start: 3;
  }

  #key-concepts {
    background-color: #002C41;
    font-size: 18px;
    line-height: 24px;
  }
  #key-concepts.absolute .row .col-12 {
    padding-bottom: 20px;
    text-align: center !important;
  }
  #key-concepts.absolute .row .col-6 {
    margin-bottom: 20px;
  }

  #key-concepts .title-kc {
    padding-bottom: 20px;
    text-align: center !important;
  }

  .expert-spotlight-links a {
    display: block;
    margin-bottom: 10px;
    text-align: center;
  }

  #research-menu-id, #tech-transfer-menu-id, #press-society-menu-id, #about-menu-id {
    display: block;
    list-style: none;
    font-weight: 600;
    font-weight: 600;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  #research-menu-id a, #tech-transfer-menu-id a, #press-society-menu-id a, #about-menu-id a {
    text-transform: uppercase;
    font-size: 20px;
    line-height: 25px;
    display: block;
  }

  #submenu .sub-submenu {
    margin-top: 0;
  }
  #submenu .sub-submenu #menu-menu-research-programmes li, #submenu .sub-submenu #menu-menu-research-groups li, #submenu .sub-submenu #menu-menu-about-transparency li, #submenu .sub-submenu #menu-menu-about-work li {
    margin-left: 8.333333%;
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }

  .submenu {
    padding: 0;
    position: absolute;
  }
  .submenu ul li:first-child {
    padding-top: 1.5rem;
  }
  .submenu ul li {
    text-align: left;
  }
  .submenu.sticky {
    position: fixed;
    top: 141px;
  }

  .sub-submenu {
    position: absolute;
    top: 0;
    padding: 0;
    margin-top: 0;
    min-height: 100%;
  }
  .sub-submenu .return-button {
    margin-left: 15px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    padding: 5px 8px;
    color: #ffffff;
    background-color: #4A4A4A;
    position: absolute;
    left: -45px;
    top: 45px;
    font-weight: 700;
  }

  #research-groups .group-item {
    height: 23vh;
    margin-bottom: 15px;
  }

  .circles .digit {
    font-size: 40px;
  }

  footer.site-footer section#custom_html-2 .widget-title {
    border-bottom: 1px solid #E5E6E5;
    padding-bottom: 1rem;
  }
  footer.site-footer section#custom_html-2 .find-us-mob .bottom-bar {
    border-bottom: 1px solid #E5E6E5;
    padding-bottom: 1rem;
  }
  footer.site-footer section#custom_html-2 .find-us-mob .hidden-contact-b {
    display: none;
  }
  footer.site-footer section#custom_html-2 .find-us-mob .hidden-contact-t {
    display: none;
  }
  footer.site-footer section#custom_html-2 .find-us-mob .social-top-header {
    list-style: none;
  }
  footer.site-footer section#custom_html-2 .find-us-mob .social-top-header img {
    background-color: #0077AE;
    border-radius: 50%;
  }

  body.single-event #site-navigation #primary-menu li:nth-child(5), body.post-type-archive-event #site-navigation #primary-menu li:nth-child(5), body.single-multimedia #site-navigation #primary-menu li:nth-child(5), body.post-type-archive-multimedia #site-navigation #primary-menu li:nth-child(5), body.single-post #site-navigation #primary-menu li:nth-child(5), body .post-type-archive-tribe_events #site-navigation #primary-menu li:nth-child(5) {
    border-bottom: 0;
  }
  body.single-event #site-navigation #primary-menu li:nth-child(5) span, body.post-type-archive-event #site-navigation #primary-menu li:nth-child(5) span, body.single-multimedia #site-navigation #primary-menu li:nth-child(5) span, body.post-type-archive-multimedia #site-navigation #primary-menu li:nth-child(5) span, body.single-post #site-navigation #primary-menu li:nth-child(5) span, body .post-type-archive-tribe_events #site-navigation #primary-menu li:nth-child(5) span {
    padding-bottom: 0.5rem;
    border-bottom: 4px solid #ffffff;
  }
  body.single-group #site-navigation #primary-menu li:nth-child(2), body.post-type-archive-project #site-navigation #primary-menu li:nth-child(2), body.post-type-archive-publication #site-navigation #primary-menu li:nth-child(2), body.single-programme #site-navigation #primary-menu li:nth-child(2) {
    border-bottom: 0;
  }
  body.single-group #site-navigation #primary-menu li:nth-child(2) span, body.post-type-archive-project #site-navigation #primary-menu li:nth-child(2) span, body.post-type-archive-publication #site-navigation #primary-menu li:nth-child(2) span, body.single-programme #site-navigation #primary-menu li:nth-child(2) span {
    padding-bottom: 0.5rem;
    border-bottom: 4px solid #ffffff;
  }

  .wp-pagenavi span.pages {
    display: block;
    text-align: center;
  }

  figure.alignright, figure.alignleft {
    float: none;
    margin-left: 0;
    margin-right: 0;
    display: block;
  }
}
