/*!
Theme Name: E4S
Theme URI: https://wis17.agency/
Author: Wis17 Agency
Author URI: https://wis17.agency/
Description:
Version: 1.0.0
Text Domain: wis17
*/

body {
  color: #707070;
}

a,
a:hover,
a:active,
a:focus {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site {
  overflow: hidden;
  padding-top: 115px;
  background: #f8f8f8;
}

body.home .site {
  background: none;
}

header {
  background: #fff;
  padding: 20px;
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  box-shadow: 0px 3px 6px #00000029;
}

body.admin-bar header {
  top: 32px;
}

header .site-branding {
  max-width: 160px;
}

header .site-branding .logo {
  max-width: 100px;
}

header .partners {
  max-width: 440px;
}

header .partners img {
  width: 100%;
}

header .nav-wrap {
  padding-top: 15px;
}

.menu {
  font-size: 17px;
  text-transform: uppercase;
}

.menu > li {
  display: inline-block;
  margin-right: 5%;
  position: relative;
}

.menu > li:last-child {
  margin-right: 0;
}

.menu > li > a {
  display: block;
  width: 100%;
}

.menu > li.current-menu-item,
.menu > li.current-menu-parent {
  color: #00a3e6;
}

.menu > li.menu-item-has-children > a::after {
  content: "";
  background: url(images/chevron-down.svg) no-repeat center;
  background-size: contain;
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 3px;
}

.menu li .sub-menu {
  display: none;
  font-size: 0.9rem;
  position: absolute;
  background: #fff;
  margin-left: -15px;
  margin-right: -15px;
  padding: 5px 15px 5px;
  z-index: 1;
}

.menu li .sub-menu li {
  display: block;
  margin: 4px 0;
  white-space: nowrap;
}

.menu li:hover .sub-menu {
  display: flex;
  flex-direction: column;
}

header .languages {
  margin-top: 10px;
  text-transform: uppercase;
}

header .languages li {
  display: inline-block;
  margin-right: 5px;
}

header .languages li.active a {
  font-weight: 700;
}

header .languages li a {
  display: inline-block;
  margin-right: 5px;
  vertical-align: middle;
}

header .languages li span {
  vertical-align: middle;
}

header .languages li:last-child span {
  display: none;
}

#slideshow {
  color: #fff;
}

#slideshow .slide {
  padding: 5% 15% 18%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

#slideshow .slide::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #000033;
  opacity: 0.47;
}

#slideshow .slide .slide-content {
  position: relative;
}

#slideshow .slide img {
  max-width: 300px;
  display: block;
  margin: 0 auto 40px;
}

#slideshow .slide h2 {
  font-weight: 300;
  margin-bottom: 1rem;
}

#slideshow .slide p {
  font-size: 1.25em;
}

.section {
  margin: 80px 0;
  position: relative;
}

#slideshow + div {
  margin-top: -12%;
  padding-top: 0;
}

#boxes {
  padding-top: 5%;
  padding-left: 10%;
  padding-right: 10%;
  padding-bottom: 5%;
  position: relative;
}

#boxes::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #f2f2f2;
  z-index: -1;
}

#boxes .box {
  background: #fff;
  transform: skewX(-30deg);
  box-shadow: 0px 3px 6px #00000029;
  width: 95%;
  margin: 0 auto;
  height: 100%;
  padding-bottom: 50px;
  position: relative;
  transition: all 0.35s linear;
}

#boxes .box:hover {
  transform: scale(1.1) skewX(-30deg);
}

#boxes .box .box-content {
  padding: 30px 5% 0 17%;
  transform: skewX(30deg);
  font-size: 1.1em;
}

#boxes .box img {
  width: 33%;
  display: block;
  margin: 0 0 15px 10%;
}

#boxes .box.sky-blue h4 {
  color: #00a3e6;
}

#boxes .box.blue h4 {
  color: #1b3dac;
}

#boxes .box.red h4 {
  color: #ff050f;
}

#boxes .box .box-bottom {
  color: #fff;
  text-align: center;
  font-size: 1.3em;
  font-weight: 300;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 50px;
  line-height: 50px;
}

#boxes .box .box-bottom .box-bottom-content {
  transform: skewX(30deg);
}

#boxes .box.sky-blue .box-bottom {
  background-color: #00a3e6;
}

#boxes .box.blue .box-bottom {
  background-color: #1b3dac;
}

#boxes .box.red .box-bottom {
  background-color: #ff050f;
}

#documents-slider .swiper-slide {
  height: auto;
}

#documents-slider .caption {
  width: 45%;
  background: #8a8278;
  color: #fff;
  padding-left: 240px;
  padding-right: 4%;
  padding-top: 4%;
  padding-bottom: 4%;
  height: 100%;
}

#documents-slider .caption::before {
  content: "";
  background: linear-gradient(to bottom right, #ffffff 50%, #8a8278 50%);
  position: absolute;
  z-index: 0;
  bottom: 0;
  width: 220px;
  left: 0;
  top: 0;
}

#documents-slider .caption h3 {
  margin-bottom: 1em;
  font-weight: 300;
}

#documents-slider .caption .read-more {
  text-align: right;
}

.read-more,
.view-all {
  font-size: 1.2em;
}

.read-more a,
.view-all {
  display: inline-block;
}

.read-more a::after,
.view-all::after {
  content: "";
  display: inline-block;
  margin-left: 10px;
  width: 20px;
  height: 20px;
  background: url(images/arrow.svg) no-repeat center;
  background-size: contain;
  vertical-align: middle;
}

.swiper-button-prev,
.swiper-button-next {
  outline: none !important;
}

#documents-slider .img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 45%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#documents-slider .swiper-button-prev,
#documents-slider .swiper-button-next {
  color: #fff;
}

#documents-slider .swiper-button-prev {
  display: none;
}

#documents-slider .swiper-button-next {
  right: 30px;
}

#documents-slider .view-all {
  position: absolute;
  margin-top: 20px;
  right: 35px;
  color: #76044d;
  font-weight: 500;
  display: inline-block;
}

#documents-slider .view-all::after {
  background-image: url(images/arrow-purple.svg);
}

.swiper-carousel,
#events-slider {
  background: #f2f2f2;
  padding: 60px 60px 80px;
}

.swiper-carousel .swiper-slide,
#events-slider .swiper-slide {
  height: auto;
  padding-bottom: 20px;
}

.swiper-carousel .press-item {
  height: 100%;
  background: #fff;
  box-shadow: 0px 3px 20px #00000029;
  border-radius: 6px;
  padding: 20px 20px 44px;
  width: 90%;
  margin: 0 auto;
  position: relative;
}

.swiper-carousel .swiper-pagination,
#events-slider .swiper-pagination {
  left: 0;
  right: 0;
  margin-top: 10px;
}

.swiper-carousel .swiper-pagination-bullet,
#events-slider .swiper-pagination-bullet {
  vertical-align: middle;
  outline: none !important;
  margin: 0 3px;
}

.swiper-carousel .swiper-pagination-bullet-active,
#events-slider .swiper-pagination-bullet-active {
  width: 10px;
  height: 10px;
  background: #fff;
}

#events-slider .swiper-pagination-bullet-active {
  background: rgba(0, 0, 0, 0.5);
}

.swiper-carousel .swiper-button-prev,
.swiper-carousel .swiper-button-next,
#events-slider .swiper-button-prev,
#events-slider .swiper-button-next {
  color: #c9c9c9;
}

.swiper-carousel .view-all,
.platform-posts .view-all {
  position: absolute;
  margin-top: 30px;
  right: 35px;
  color: #76044d;
  font-weight: 500;
  display: inline-block;
}

.platform-posts .view-all {
  margin-top: 0;
  bottom: -10px;
  right: 5px;
}

.swiper-carousel .view-all::after,
.platform-posts .view-all::after {
  background-image: url(images/arrow-purple.svg);
}

.swiper-carousel .press-item .item-bottom {
  background: #76044d;
  color: #fff;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 5px 20px;
  border-radius: 0 0 6px 6px;
}

.swiper-carousel .press-item h4 {
  color: #000000;
  margin-top: 1em;
  margin-bottom: 2em;
}

.swiper-carousel .press-item .meta{
    text-transform: capitalize;
}

.press-item .item-bottom .press-logo img {
  height: 28px;
}

.s-title {
  text-align: center;
  margin-bottom: 2em;
  color: #000000;
  margin-top: 0;
}

#events-slider .s-title {
  margin-bottom: 1em;
}

.event-item,
.event-item-square {
  width: 70%;
  margin: 0 auto;
  -webkit-box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  padding: 5rem 5% 5% 10rem;
  color: #000000;
  font-size: 1.5em;
  line-height: 1.25;
  font-weight: 300;
  position: relative;
  background: #fff;
}

.event-item-square {
  padding: 1.5em 1.5em 120px;
  font-size: 1em;
  width: 90%;
  height: 100%;
}

.event-item-square h5 {
  padding-left: 1.5rem;
  font-weight: 400;
  font-size: inherit;
  position: relative;
  color: #707070;
  margin-bottom: 1em;
}

.event-item-square h5::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1rem;
  height: 1rem;
  background: url(images/calendar.png) no-repeat center;
  background-size: contain;
}

.event-item-square .event-desc {
  margin-top: 1em;
  margin-bottom: 0.5em;
}

.event-item h3 {
  margin-top: 0;
  margin-bottom: 0.8em;
  font-weight: 300;
}

.event-item::before {
  content: "";
  position: absolute;
  top: 4rem;
  left: 4rem;
  width: 4rem;
  height: 4rem;
  background: url(images/calendar.png) no-repeat center;
  background-size: contain;
}

.event-item .share {
  font-size: 1rem;
}

.event-item-square .share {
  position: absolute;
  right: 20px;
  bottom: 55px;
}

#events-slider .swiper-button-prev,
#events-slider .swiper-button-next {
  color: #c9c9c9;
}

.event-item .illustration {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 36%;
  background-size: contain;
  background-position: top center;
  background-repeat: no-repeat;
  z-index: -1;
}

footer {
  padding: 40px;
}

footer .linkedin a {
  display: inline-block;
  color: #0077b5;
}

footer .linkedin a::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  background: url(images/linkedin.svg) no-repeat center;
  background-size: contain;
  vertical-align: middle;
}

#page-cover {
  padding: 8% 8% 12%;
  color: #fff;
  font-size: 1.25em;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

#page-cover .page-cover-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.15);
}

#page-cover h1 {
  font-weight: 300;
  margin-bottom: 0.7em;
  color: #fff;
  font-size: 58px;
  line-height: 1.1;
}

#page-cover .inner {
  width: 60%;
  margin: 0 auto;
  position: relative;
}

.page-detail,
.post-detail,
.page-section-inner {
  margin: 0 5% 90px;
}

.page-content,
.post-content,
.page-section {
  position: relative;
  margin-top: -5em;
  padding-bottom: 5em;
  padding: 0 5%;
}

.box-item {
  margin-bottom: 40px;
  padding: 5px;
  position: relative;
}

.equal-columns > div {
  margin-bottom: 40px;
}

.equal-columns .box-item {
  height: 100%;
  padding-top: 0;
  padding-bottom: 0;
}

.box-item .box-inner {
  background: #fff;
  padding: 40px;
  box-shadow: 0px 3px 40px #00000029;
  border-radius: 10px;
}

.equal-columns .box-item .box-inner {
  height: 100%;
  padding: 30px;
}

.box-item h4 {
  color: #000000;
  margin-bottom: 1em;
}

.box-item .box-bottom {
  position: absolute;
  right: 5px;
  bottom: 0;
  left: 5px;
  height: 40px;
  line-height: 40px;
  background: #0c166c;
  color: #fff;
  padding: 0 40px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.equal-columns .box-item .box-bottom {
  padding-left: 30px;
  padding-right: 30px;
}

.press-item .box-bottom,
.post-item .box-bottom {
  background: #76044d;
}

.document-item .box-bottom {
  background: #cbcbcb;
}

.box-item .box-bottom .box-item-logo img {
  display: inline-block;
  height: 60%;
}

.box-item .box-bottom .box-item-logo,
.box-item .box-bottom .read-more {
  height: 100%;
}

.box-item .box-bottom .box-item-logo .logo-text {
  font-weight: 500;
  font-size: 1.2em;
  white-space: nowrap;
}

.box-item .meta,
.post-detail .meta {
  color: #000000;
  opacity: 0.21;
  margin-bottom: 1em;
  text-transform: capitalize;
}

.post-detail .meta {
  margin-bottom: 1.5em;
}

.page-detail,
.post-detail,
.page-section-inner {
  background: #fff;
  padding: 60px 40px 60px 40px;
  box-shadow: 0px 3px 40px #00000029;
  border-radius: 10px;
}

.post-detail {
  padding-top: 40px;
}

.post-detail ul {
  list-style: disc;
}

.post-detail ul,
.post-detail ol {
  padding-left: 17px;
  margin-bottom: 1em;
}

.post-detail p a,
.page-detail p a {
  text-decoration: underline;
  color: #3a8bbe;
}

.post-detail h2,
.post-detail h3,
.post-detail h4,
.post-detail h5{
	margin-top: 1em;
}

.no-bg {
  background: none !important;
  box-shadow: none !important;
}

.no-padding {
  padding: 0 !important;
}

.platform-detail .institutions .institution {
  margin-bottom: 1em;
}

.platform-detail .institutions label {
  text-transform: uppercase;
  margin-bottom: 0;
  font-weight: 500;
}

.platform-detail .institutions label.unil {
  color: #3a8bbe;
}

.platform-detail .institutions label.imd {
  color: #2925af;
}

.platform-detail .institutions label.epfl {
  color: #ff0000;
}

.platform-detail .institutions span {
  display: block;
  opacity: 0.68;
}

.equal-columns {
  margin-bottom: 50px;
}

.platform-posts .equal-columns {
  margin-bottom: 0;
}

.document-files {
  margin-top: 40px;
}

.document-files a {
  display: inline-block;
  background: #f5f7f8 0% 0% no-repeat padding-box;
  box-shadow: 0px 3px 6px #00000029;
  border-radius: 5px;
  position: relative;
  margin-right: 8%;
  font-size: 14px;
  white-space: nowrap;
  margin-bottom: 15px;
}

.document-files a:last-child {
  margin-right: 0;
}

.document-files a span {
  display: inline-block;
  padding: 8px;
}

.document-files a .file-ext {
  text-align: center;
  background: #00a3e6;
  color: #fff;
  text-transform: uppercase;
}

.document-files a span.file-name {
  padding-left: 15px;
  padding-right: 15px;
}

.document-tags {
  background: #e8eded;
  padding: 40px 15%;
}

.document-tags h4 {
  color: #000000;
  margin-bottom: 1em;
}

.document-tags a {
  display: inline-block;
  margin-right: 5px;
  background-color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  margin-bottom: 5px;
  font-size: 14px;
}

.document-authors {
  padding-top: 3.05em;
}

.document-authors p {
  margin-bottom: 10px;
  opacity: 0.68;
}

body.archive .page-content {
  margin-top: 100px;
}

body.archive h1 {
  font-weight: 300;
}

body.archive h1 strong {
  font-weight: 500;
}

.filter {
  background: #ffffff 0% 0% no-repeat padding-box;
  box-shadow: 0px 3px 40px #00000029;
  border: 4px solid #76044d;
  border-radius: 10px;
  padding: 15px 30px;
  color: #76044d;
  margin-left: 20%;
  margin-bottom: 20px;
}

.filter a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgb(112 112 112 / 0.25);
  font-size: 1.1em;
  font-weight: 300;
  line-height: 1.4;
}

.filter a:last-child {
  border-bottom: none;
}

.filter a.current {
  font-weight: 500;
}

.filter h4 {
  cursor: pointer;
  margin-bottom: 0;
  outline-style: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding-left: 35px;
  position: relative;
}

.filter h4::before {
  content: "";
  background: url(images/chevron-down-purple.svg) no-repeat center;
  background-size: contain;
  width: 30px;
  height: 30px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0;
  transform: rotate(-90deg);
  position: absolute;
  left: 0;
}

.filter .list-items {
  display: none;
  margin-top: 10px;
}

.filter.expanded h4::before {
  transform: rotate(0);
}

.filter.expanded .list-items {
  display: block;
}

.post-list {
  margin-bottom: 40px;
}

.event-item {
  position: relative;
  padding-bottom: 60px;
  z-index: 1;
}

.event-item .popup-opener,
.event-item-square .popup-opener {
  display: inline-block;
  margin-top: 0;
  position: relative;
  text-indent: -9999em;
  color: transparent;
}

.event-item .popup-opener::before,
.event-item-square .popup-opener::before {
  content: "";
  display: block;
  width: 26px;
  height: 26px;
  background: url(images/add.svg) no-repeat center;
  background-size: contain;
}

.post-list .event-item {
  margin-bottom: 60px;
}

.event-item .event-link,
.event-item-square .event-link {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  background: #cbcbcb;
  color: #fff;
  line-height: 40px;
  padding: 0 20px;
  text-align: right;
  font-size: 1.2rem;
  text-transform: lowercase;
  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
}

.page-detail-text,
.page-section-content {
  padding: 0 5%;
}

.page-detail-text h1,
.page-detail-text h2,
.page-detail-text h3,
.page-detail-text h4,
.page-detail-text h5,
.page-section-content h1,
.page-section-content h2,
.page-section-content h3,
.page-section-content h4,
.page-section-content h5 {
  color: #000000;
  margin-bottom: 1em;
}

.page-detail-text ul,
.page-section-content ul,
.column-content ul {
  list-style: disc;
  margin-left: 18px;
  margin-bottom: 0.5rem;
}

.page-detail-text ul li,
.page-section-content ul li,
.column-content ul li {
  padding: 0 0 0.5em;
}

.page-section {
  margin-top: -3em;
  margin-bottom: 5em;
}

body.home .page-section {
  margin-top: 0;
}

.columns-layout .column-content {
  background: #fff;
  padding: 40px;
  box-shadow: 0px 3px 40px #00000029;
  border-radius: 10px;
}

.columns-layout .column-content img {
  max-width: 100px;
  height: auto;
}

.btn-link {
  color: inherit !important;
}

.share {
  margin-top: 2em;
  text-align: right;
}

.share ul {
  margin-top: 10px;
}

.share ul li {
  display: inline-block;
  width: 28px;
  height: 28px;
  margin: 0 7px;
  background-size: contain;
  background-position: center;
}

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

.share ul li:last-child {
  margin-right: 0;
}

.share ul li.linkedin {
  background-image: url(images/linkedin-icon.svg);
}

.share ul li.facebook {
  background-image: url(images/facebook-icon.svg);
}

.share ul li.twitter {
  background-image: url(images/twitter.svg);
}

.share ul li a {
  display: block;
  width: 100%;
  height: 100%;
}

.light-w {
  font-weight: 300 !important;
}

.team .group {
  margin-bottom: 0;
}

.team .group:last-child {
  margin-bottom: 0;
}

.team .group-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 1.5em;
}

.team .member {
  margin-bottom: 40px;
}

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

.team h5 {
  font-weight: 500;
  margin-bottom: 2px;
  color: #333;
}

.team .member-bio {
  margin-top: 10px;
}

.sub-section {
  margin: 30px 0 60px;
}

.platform-posts {
  position: relative;
  margin-bottom: 50px;
}

.wpcf7 .row {
  margin-bottom: 30px;
}

.wpcf7 input,
.wpcf7 textarea {
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  -webkit-appearance: none;
  background-color: #eee;
  width: 100%;
  border-width: 0;
  border-radius: 0;
  font-size: 14px;
  padding: 16px;
  outline: none !important;
}

.wpcf7 input.wpcf7-submit {
  width: auto;
  padding: 15px 30px;
  text-transform: uppercase;
  color: inherit;
}

div.wpcf7 .ajax-loader {
  display: none;
}

.wpcf7 form .wpcf7-response-output {
  margin-left: 0;
  margin-right: 0;
}

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

.popup {
  position: fixed;
  top: -150%;
  right: 0;
  left: 0;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.5s linear;
}

.popup .popup-inner {
  height: 100%;
  padding: 0 15%;
}

.popup .popup-inner .popup-content {
  background: #fff;
  padding: 60px 40px 60px 40px;
  box-shadow: 0px 3px 40px #00000029;
  border-radius: 10px;
  width: 100%;
  position: relative;
  height: 60%;
}

.popup .popup-inner .content-placeholder {
  height: 100%;
  overflow: auto;
}

.popup .popup-inner .content-placeholder a {
  color: #00a3e6;
}

.popup .popup-close {
  display: block;
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: -15px;
  right: -15px;
  cursor: pointer;
}

.popup .popup-close::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background: url(images/cancel.svg) no-repeat center;
  background-size: 50%;
}

body.popup-active .popup {
  top: 0;
  opacity: 1;
}

body.popup-active {
  height: 100%;
  overflow: hidden;
}

.grecaptcha-badge {
  display: none !important;
}

.wp-block-image img {
  height: auto;
}

/************************** ********** ****************************/
/************************** RESPONSIVE ****************************/
/************************** ********** ****************************/

@media screen and (max-width: 1600px) {
  .menu > li {
    margin-right: 3%;
  }
}

@media screen and (max-width: 1460px) {
  .menu > li {
    margin-right: 2.5%;
  }
  header .partners {
    max-width: 400px;
  }
}

@media screen and (max-width: 1300px) {
  .menu > li {
    margin-right: 1.5%;
  }
  header .partners {
    max-width: 320px;
  }
}

@media screen and (max-width: 1189px) {
  header .site-branding {
    max-width: 140px;
  }
  header .partners {
    max-width: 260px;
  }
  #boxes .box .box-content {
    padding: 30px 5% 0 20%;
    font-size: 1em;
  }
  #boxes .box img {
    margin-left: 0;
  }
  .h3,
  h3 {
    font-size: 1.5rem;
  }
  .h4,
  h4 {
    font-size: 1.25em;
  }
  #documents-slider .caption {
    width: 50%;
  }
  #documents-slider .img {
    left: 50%;
  }
  .read-more,
  .view-all {
    font-size: 1em;
  }
  #page-cover h1 {
    font-size: 50px;
  }
  .filter {
    margin-left: 10%;
  }
  .event-item {
    font-size: 1.25em;
  }
}

@media screen and (max-width: 1110px) {
  header .site-branding {
    max-width: 110px;
  }
  header .site-branding .logo {
    max-width: 100%;
  }
  .menu {
    font-size: 16px;
  }
  #boxes {
    padding-left: 7%;
    padding-right: 7%;
  }
}

@media screen and (max-width: 1050px) {
  .menu > li {
    margin-right: 1%;
  }
  header .partners {
    max-width: 240px;
  }
  header .languages {
    margin-top: 5px;
  }
  #slideshow .slide {
    padding-left: 8%;
    padding-right: 8%;
  }
}

@media screen and (max-width: 1010px) {
  header .partners {
    max-width: 218px;
  }
}

@media screen and (max-width: 991px) {
  .h1,
  h1,
  #page-cover h1 {
    font-size: 38px;
  }
  header {
    background: linear-gradient(to bottom, #000000, rgba(0, 0, 0, 0));
    box-shadow: none;
  }
  .site {
    padding-top: 0;
  }
  header .site-branding {
    max-width: none;
    z-index: 10;
  }
  header .site-branding .logo-wrapper {
    width: 120px;
  }
  .menu-toggle span {
    display: block;
    width: 30px;
    height: 30px;
    background: url(images/menu-icon-white.svg) no-repeat center;
    background-size: contain;
    position: relative;
    z-index: 111;
  }
  body.menu-open {
    height: 100%;
    overflow: hidden;
  }
  body.menu-open .menu-toggle span {
    background-image: url(images/menu.svg);
  }
  #slideshow .slide {
    padding-top: 10em;
  }
  header .nav-wrap {
    background: #fff;
    text-align: center;
    position: fixed;
    top: -100%;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    z-index: 1;
    opacity: 0;
    /* transition: opacity 0.5s linear; */
    padding: 20%;
    overflow: auto;
  }
  body.menu-open header .nav-wrap {
    top: 0;
    opacity: 1;
  }
  .menu {
    font-size: 28px;
  }
  header .menu li {
    display: block;
  }
  .menu > li {
    margin-right: 0;
    padding: 10px 0;
  }
  .menu li .sub-menu,
  header .languages {
    position: relative;
    font-size: 20px;
  }
  header .languages {
    margin-top: 40px;
  }
  .menu > li.menu-item-has-children > a::after {
    height: 1.5em;
    position: absolute;
  }
  header .partners img {
    max-width: 400px;
    width: 70%;
    display: inline-block;
  }
  #slideshow .slide .slide-content {
    text-align: center;
  }
  #slideshow .slide img.logo-partners {
    max-width: none;
    width: 70%;
  }
  #slideshow .slide p {
    display: none;
  }
  #slideshow .slide img {
    max-width: 240px;
  }
  #boxes {
    padding-left: 0;
    padding-right: 0;
  }
  #boxes .box {
    width: 100%;
  }
  #boxes .box,
  #boxes .box:hover,
  #boxes .box .box-content,
  #boxes .box .box-bottom .box-bottom-content {
    transform: none;
  }
  #boxes .box .box-content {
    padding-left: 5%;
    padding-right: 5%;
  }
  #boxes .box img {
    margin-left: auto;
    margin-right: auto;
  }
  #boxes .box h4 {
    text-align: center;
  }
  #documents-slider {
    padding: 0 15px;
  }
  #documents-slider .caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    z-index: 1;
    padding: 2% 5%;
    background: linear-gradient(to top, #000000, rgba(0, 0, 0, 0));
  }
  #documents-slider .caption::before {
    content: none;
  }
  #documents-slider .img {
    position: relative;
    left: 0;
    width: 100%;
    height: 480px;
  }
  .event-item {
    width: 80%;
  }
  .filter {
    margin-left: 0;
    padding: 15px;
  }
  .filter h4 {
    font-size: 1.1em;
    padding-left: 24px;
  }
  .filter a {
    font-size: 1em;
  }
  .filter h4::before {
    width: 22px;
    height: 22px;
  }
  #page-cover {
    padding-top: 25%;
    padding-bottom: 20%;
  }
  #page-cover .inner {
    width: 80%;
  }
  body.archive .page-content {
    margin-top: 180px;
  }
}

@media screen and (max-width: 767px) {
  #boxes .box {
    border-radius: 13px;
  }
  #boxes .box .box-content a {
    display: block;
    position: relative;
    padding-left: 100px;
  }
  #boxes .box .box-content img {
    position: absolute;
    left: 0;
    top: 0;
    height: auto;
    width: 80px;
  }
  #boxes .box h4 {
    text-align: left;
  }
  #boxes .box p {
    margin-bottom: 0;
  }
  #boxes .box.sky-blue .box-bottom {
    background-color: transparent !important;
    color: inherit;
    font-size: 1em;
    text-align: right;
    padding-right: 15px;
  }
  #documents-slider .caption p {
    display: none;
  }
  #documents-slider .img {
    height: 400px;
  }
  .event-item {
    width: 100%;
  }
  .event-item .illustration {
    display: none;
  }
  #documents-slider .caption .read-more {
    display: none;
  }
  header .nav-wrap {
    padding: 30% 20%;
  }
  header .menu {
    font-size: 24px;
  }
  .institutions {
    padding-top: 60px;
  }
  .sub-section .col {
    margin-bottom: 1em;
  }
  .wp-block-column {
    flex-basis: 100% !important;
  }
  .wp-block-column:not(:first-child) {
    margin-left: 0 !important;
  }
}

@media screen and (max-width: 575px) {
  header {
    padding-left: 0;
    padding-right: 0;
  }
  header .nav-wrap {
    padding: 40% 10% 10%;
  }
  header .menu {
    font-size: 22px;
  }
  #slideshow .slide img.logo-partners {
    width: 90%;
    max-width: 320px;
  }
  #slideshow .slide img {
    max-width: 200px;
  }
  #documents-slider .img {
    height: 300px;
  }
  .event-item::before {
    top: 2rem;
    left: 2rem;
    width: 3rem;
    height: 3rem;
  }
  .event-item {
    padding-top: 2.75rem;
    padding-left: 5em;
    padding-bottom: 70px;
  }
  footer {
    padding-left: 0;
    padding-right: 0;
  }
  #page-cover h1,
  body.archive h1 {
    font-size: 30px;
  }
  #page-cover {
    padding-top: 40%;
    padding-bottom: 30%;
  }
  #page-cover .inner {
    width: 90%;
  }
  .page-detail,
  .post-detail,
  .page-section-inner {
    margin-left: 0;
    margin-right: 0;
  }
  .page-content,
  .post-content,
  .page-section {
    padding-left: 0;
    padding-right: 0;
  }
  body.archive .page-content {
    margin-top: 150px;
  }
  .document-files a {
    margin-right: auto !important;
    min-width: 140px;
  }
  .share {
    text-align: left;
  }
  .popup .popup-inner {
    padding-left: 5%;
    padding-right: 5%;
  }
  .popup .popup-inner .popup-content {
    height: 90%;
  }
}