/*!
Theme Name: AnaEE
Author: Days Agency & La&La
Author URI: https://lala.fi
Description: Suomen AnaEE:n oma WordPress-teema
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: anaee

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:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | 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;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

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

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * 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;
	height: 0;
	overflow: visible;
}

/**
 * 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;
	font-size: 1em;
}

/* 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;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * 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;
	font-size: 1em;
}

/**
 * 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;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

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

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	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;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * 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;
	padding: 0;
}

/**
 * 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;
	outline-offset: -2px;
}

/**
 * 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;
	font: inherit;
}

/* 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;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/


/* Colors
--------------------------------------------- */

:root {	
	--green: #CFFFB1;
	--cream: #FAF7F4;
	--blue: #C4E5FF;
	--grey: #505153;
}


/* Typography
--------------------------------------------- */

html {
	font-size: 62.5%; /* 1rem = 10px */
	scroll-behavior: smooth;
}


@font-face {
   font-family: 'Suisse';
   src: url('webfonts/SuisseIntl-Regular-WebS.woff2') format('woff2'),
        url('webfonts/SuisseIntl-Regular-WebS.woff') format('woff');
   font-weight: normal;
   font-style: normal;
}

@font-face {
   font-family: 'Suisse';
   src: url('webfonts/SuisseIntl-RegularItalic-WebS.woff2') format('woff2'),
        url('webfonts/SuisseIntl-RegularItalic-WebS.woff') format('woff');
   font-weight: normal;
   font-style: italic;
}

@font-face {
   font-family: 'Suisse';
   src: url('webfonts/SuisseIntl-SemiBold-WebS.woff2') format('woff2'),
        url('webfonts/SuisseIntl-SemiBold-WebS.woff') format('woff');
   font-weight: 500;
   font-style: normal;
}

@font-face {
   font-family: 'Suisse';
   src: url('webfonts/SuisseIntl-Light-WebS.woff2') format('woff2'),
        url('webfonts/SuisseIntl-Light-WebS.woff') format('woff');
   font-weight: 200;
   font-style: normal;
}

@font-face {
   font-family: 'Suisse Neue';
   src: url('webfonts/SuisseNeue-Light-WebS.woff2') format('woff2'),
        url('webfonts/SuisseNeue-Light-WebS.woff') format('woff');
   font-weight: normal;
   font-style: normal;
}


body,
button,
input,
select,
optgroup,
textarea {
	color: #000;
	font-family: 'Suisse', "Helvetica Neue", sans-serif;
	font-size: 1.8rem;
	line-height: 1.44;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-weight: normal;
}

h1, blockquote {
    font-weight: 200;
    font-size: 6.4rem;
    line-height: 1.083;
}

h2, .post-type-archive-platform .news-item h2,
.search-results .news-item h2 {
    font-size: 3rem;
    line-height: 1.266;
    letter-spacing: 1px;
    text-transform: uppercase;
	margin-top: 50px;
}

h3, .section-title h2, .person h2 {
    font-size: 3rem;
    line-height: 1.266;
    letter-spacing: 1px;
	margin-top: 40px;
	text-transform: none;
}

.news-item h2, .news-item h3 {
	font-size: 5.5rem;
	font-weight: 200;
	text-transform: uppercase;
	line-height: 1.1;
}

h4 {
    font-size: 2rem;
    line-height: 1.3;
    letter-spacing: 1px;
    text-transform: uppercase;
	margin-top: 40px;
}

p {
	margin-bottom: 20px;
}

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

strong, b {
	font-weight: 500;
}

blockquote {
	margin: 50px 0;
}

blockquote strong {
	font-family: 'Suisse Neue', serif;
	font-weight: normal;
}

blockquote .lala-button,
blockquote .wp-block-button__link  {
	font-weight: normal;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	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;
}

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

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

big {
	font-size: 125%;
}


/* Elements
--------------------------------------------- */
body {
	background: var(--cream);
	overflow-wrap: break-word;
	word-wrap: break-word;
	-ms-word-break: break-all;
	word-break: break-word;
}

.border-sides {
	border-left: 1px solid;
	border-right: 1px solid;
	margin: 0 15px;
	overflow: hidden;
}

.border-bottom {
	border-bottom: 1px solid;
}

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

.site-header {
	border-bottom: 1px solid;
	height: 50px;
}

.site-logo {
	margin: 15px;
}

.site-logo * {
	margin: 0; 
	display: block;
}

.site-actions {
	display: flex;
	justify-content: flex-end;
	align-content: flex-end;
}

.site-footer {
	background: var(--grey);
	color: #fff;
	text-align: center;
}

.site-footer a:hover {
	color: var(--blue);
}

.footer-title h2 {
	margin: 0;
	text-transform:none;
	width: 100%;
}

.footer-address, .footer-menu ul {
	font-size: 1.4rem;
	text-transform: uppercase;
}

.footer-address {
	border-left: 1px solid;
	border-right: 1px solid;
	display: flex;
	align-items:center;
	justify-content: center;
}

.site-info {
	display: flex;
}

.site-info > * {
	flex-basis: 33.33%;
	padding: 80px;
}

.footer-logo, .footer-title {
	display: flex;
	align-items: center;
	text-align: center;
}

.footer-logo a {
	text-align: center;
	display: block;
	width: 100%;
}

.collaborators {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	align-items: center;
}

.collaborators > * {
	max-width: 140px;
	margin: 80px 20px
}

.collaborators img {
		max-height:100px;
}

.footer-menu ul {
	list-style: none;
	margin: 5px 15px;
	text-align: right;
}

.footer-menu li {
	display: inline-block;
	margin: 10px;
}

.footer-menu a {
	font-family: 'Suisse', sans-serif;
}

.cky-consent-bar {
	border-right: 0 !important;
	border-left: 0 !important;
}

.cky-consent-bar .cky-btn-customize {
	padding-right: 30px !important;
}

.cky-consent-bar .cky-btn-customize::after {
    top: 15px !important; 
    right: 15px !important;
}

.cky-footer-wrapper div:last-of-type {
	display: none !important;
}

button.cky-show-desc-btn:not(:hover):not(:active),
button.cky-show-desc-btn:hover {
	color: #000 !important;
	padding: 0;
	letter-spacing: 0;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cky-preference-content-wrapper p {
	margin-bottom: 10px !important;
}

.cky-btn:hover {
	background: var(--blue) !important;
	color: #000;
}

.cky-preference-header .cky-btn-close img,
.cky-btn-revisit-wrapper .cky-btn-revisit img {
    display: none;
}

.cky-btn-revisit-wrapper {
	width: auto !important;
	border-radius:0 !important;
	background: transparent !important;
}

.cky-btn-revisit-wrapper .cky-btn-revisit {
	border-radius: 9999px !important;
	padding: calc(0.667em + 2px) calc(1.333em + 2px) !important;
	border: 1px solid !important;
	background: var(--green) !important;
}

.cky-btn-revisit-wrapper .cky-btn-revisit:before {
	content: "Cookies";
}

.cky-revisit-bottom-left {
	left: 7px !important;
	bottom: 7px !important;
}

.cky-switch input[type="checkbox"]:checked {
	background: var(--blue) !important;
}

.cky-switch input[type="checkbox"], .cky-switch input[type="checkbox"]:before {
	border: 1px solid #000 !important;
}

.cky-switch input[type="checkbox"]:before {
	bottom: 1px !important;
}

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

ul,
ol {
	margin: 0 0 20px 0;
	padding-left: 22px;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 0 0 20px 0;
}

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

/* Links
--------------------------------------------- */
a, button.cky-show-desc-btn:not(:hover):not(:active)  {
	color: inherit;
	font-family: 'Suisse Neue', "Helvetica Neue", sans-serif;
	text-decoration: underline;
	text-underline-offset: 3px;
}

a:hover,
a:focus,
a:active {
	
}

a:focus {
	outline: 2px dotted;
	outline-offset: 2px;
}

a:hover,
a:active {
	outline: 0;
}

.external-link {
	transform: rotate(-40deg);
	display: inline-block;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.lala-button,
.lala-button:visited,
.wp-block-button__link,
.wp-block-button__link:visited,
.nav-links a,
.cky-consent-bar .cky-btn,
.cky-prefrence-btn-wrapper .cky-btn,
.cky-btn-revisit-wrapper .cky-btn-revisit {
	border-radius: 9999px;
	box-shadow: none;
	cursor: pointer;
	display: inline-block;
	padding: calc(0.667em + 2px) calc(1.333em + 2px);
	text-align: center;
	text-decoration: none;
	word-break: break-word;
	border: 1px solid;
	background: var(--green);
	color: #000;
	font-family: 'Suisse', "Helvetica Neue", sans-serif;
	font-size: 1.4rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: normal;
	line-height: 1;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.lala-button:hover,
.wp-block-button__link:hover,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active,
.lala-button:active,
.wp-block-button__link:active,
.nav-links a:hover,
.cky-btn:hover {
	background: var(--blue);
	color: #000;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
.lala-button:focus,
.wp-block-button__link:focus{
	outline: 2px dotted #000;
	outline-offset: 3px;
	color: #000;
}

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 {
	border-radius: 0;
	border: 1px solid;
	background: transparent;
	padding: 15px;
	-webkit-appearance: none;
}

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;
	background: var(--green);
	outline: 0;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */

.search-submit, .menu-toggle {
	border: none;
	background: transparent;
	padding: 15px 15px;
	border-left: 1px solid;
	border-radius: 0;
	display: inline-block;
	line-height: 1;
	z-index: 2;
	position: relative;
	width: 50px;
}

.menu-toggle {
	width: 50px;
	height: 49px;
	/* text-align: center; */
}

.search-submit:hover, .menu-toggle:hover {
	background: transparent;
}

.search-submit:focus, .menu-toggle:focus {
	background: var(--green);
	outline: none;
}


.menu-toggle .close-menu {
	display: none;	
}

input.search-field {
	border: none;
	border-left: 1px solid;
	display: inline-block;
	font-size: 1.9rem;
	width: 150px;
	height: 49px;
	padding: 12px 15px;
	line-height: 1;
	border-radius: 0;
}

input.search-field::placeholder {
	color: #000
}

.site-search.mobile {
	display: none;
}

.site-search {
	z-index: 2;
}

.site-search form {
	display: flex;
}

.main-navigation {
	display: block;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
	font-size: 6.4rem;
	font-weight: 200;
	text-align: right;
	text-transform: uppercase;
}

.main-navigation ul ul {
	display: none;
}


.main-navigation ul li.focus > ul {
	display: block;
}

.main-navigation li {
	position: relative;
	line-height: 1.08;
}

.main-navigation a {
	display: inline-block;
	text-decoration: none;
	font-family: 'Suisse', sans-serif;
}

.main-navigation.toggled .close-menu {
	display: inline-block;
}

.main-navigation.toggled .open-menu {
	display: none;
}

.main-navigation.toggled #primary-menu {
	display: block;
	margin: 0 15px;
	padding: 15px;
	border-right: 1px solid;
	min-height: calc(100vh - 50px);
}

.main-navigation.toggled .menu-container:after {
	content: "";
	height: 50px;
	border-right: 1px solid;
	position: absolute;
	top: 0;
	right:15px;
}

.main-navigation.toggled .menu-container {
	position: absolute;
	right: 0;
	top: 0px;
	background: var(--green);
	width: 50vw;
	padding: 49px 0 0 0;
	border-left: 1px solid;
	border-bottom: 1px solid;
	z-index: 1;
}

.admin-bar .main-navigation.toggled .menu-container {
	padding-top: 81px;
}

.admin-bar .main-navigation.toggled .menu-container:after {
	top: 32px;
}

.menu-border {
	border-top: 1px solid;
}

.menu-item-has-children > a {
	margin-left: 60px
}

.toggle-submenu, .toggle-submenu:hover {
	border: none;
	display: inline-block;
	vertical-align: top;
	font-size: 1.7rem;
	background: url(img/arrow.svg) no-repeat;
	background-position: center;
	background-size: contain;
	transform: rotate(90deg);
	height: 55px;
	border-radius: 0;
	margin: 5px -13px 0 15px;
}

.focus .toggle-submenu {	
	transform: rotate(-90deg);
} 

.focus > a, .main-navigation a:hover, .current-menu-item > a  {
	font-family: 'Suisse Neue', "Helvetica Neue", sans-serif;
}

.sub-menu li a:after {
	content: "";
	display: inline-block;
	border-right: 2px solid;
	border-bottom: 2px solid;
	height: 20px;
	width: 20px;
	margin-bottom: 20px;
	margin-left: 10px;
	margin: 0 10px 20px 20px
}


.nav-links {
	
}

/* Posts and pages
--------------------------------------------- */

.entry-title {
	margin-bottom: 0;
	text-align: center;
	padding: 15px;
}

.post-thumbnail img {
	width: 100%;
	display: block;
}

.entry-content {
	display: flex;
}

.entry-content > * {
	flex-basis: 50%;
	padding: 20px;
}

.entry-main-content {
	border-left: 1px solid;
}

.entry-main-content > *:last-child,
.entry-main-content > *:last-child > *:last-child,
.entry-main-content > *:last-child > *:last-child > *:last-child {
  margin-bottom: 0;
}

.entry-meta > *:first-child,
.entry-meta > *:first-child > *:first-child,
.entry-meta > *:first-child > *:first-child > *:first-child,
.entry-main-content > *:first-child,
.entry-main-content > *:first-child > *:first-child,
.entry-main-content > *:first-child > *:first-child > *:first-child{
  margin-top: 0 !important;
}

.post-date {
	margin-bottom: 35px;
	text-transform: capitalize;
}

.ingressi {
	font-size: 2.5rem;
	line-height: 1.32;
	letter-spacing: 0.5px;
}

.ingressi p {
    margin: 0;
}

.alignwide, .alignfull {
	margin-left: calc(-100% - 80px) !important;
	margin-right: -20px;
}

.alignwide img, .alignfull img {
	width: 100%;
}

.alignwide figcaption, .alignfull figcaption {
	position: relative;
	left: calc(50vw);
	width: calc(50vw - 60px);
}

.alignleft, .wp-block-image .alignleft {
	float: none;
	position: absolute;
	left: 16px;
}

 .wp-block-image .alignleft {
	 width: calc(50vw - 24px);
 }

 .wp-block-image .alignleft img {
	 width: 100%;
 }

.wp-block-image, .wp-block-gallery {
	 margin-top: 50px;
	 margin-bottom: 50px;
 }

.wp-block-gallery figcaption {
	left: 0
}

.archive-link {
	text-align: center;
}

.archive-link a {
	margin: 40px 5px;
}

/* Home */

.hero-slogan blockquote p, .hero-slogan blockquote  {
	margin: 0;
}

.hero-slogan blockquote * {
	display: inline;
}

.hero-slogan blockquote .lala-button,
.hero-slogan blockquote .wp-block-button__link {
	vertical-align: middle;
	margin-left: 10px;
}

.hero-slogan  {
	padding: 20px;
}

.news-item h3, .featured h2 {
	margin-top: 0;
	margin-bottom: 35px;
}

.section-title h2 {
	display: inline-block;
	margin: 20px;
	line-height: 1;
}

.section-title a {
	vertical-align: 5px;
	display: inline-block;
}

.hero-video {
	background: url(img/video-bg.jpg) no-repeat;
	background-size: cover;
}

.anaee-animation {
	padding: 0;
	padding-top: 56.25%;
	width: 100%;
	position: relative;	
}
.anaee-animation iframe {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
button.anaee-animation-pause {
	position: absolute;
	right: 20px;
	top: 20px;
	border: none;
	background: none;
	padding: 0;
}
button.anaee-animation-pause svg,
button.anaee-animation-pause.anaee-pause-toggled svg.anaee-play-svg {
	display: block;
}
button.anaee-animation-pause svg.anaee-play-svg,
button.anaee-animation-pause.anaee-pause-toggled svg.anaee-pause-svg {
	display: none
}

.featured {
	background: var(--green);
}

.featured .lala-button,
.featured .wp-block-button__link {
	background: var(--cream);
}

.featured .lala-button:hover,
.featured .wp-block-button__link:hover {
	background: var(--blue);
}

/* news */

.news-item .entry-content {
	min-height: calc(50vw - 30px); 
}

.news-item .entry-content a {
	font-family: 'Suisse', sans-serif;
	text-decoration: none;
}

.news-item h2 a:hover, .news-item h3 a:hover {
}

.news-item .entry-content h2 a:after,
.news-item .entry-content h3 a:after{
	content: "";
	width: 60px;
	background: url(img/arrow.svg) no-repeat;
	background-position: center;
	height: 40px;
	display: inline-block;
}

.news-item .entry-main-content {
	padding: 0;
	background: var(--green);
}

.news-item .entry-main-content img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.news-item .entry-main-content .post-thumbnail {
	height: 100%;
}

/* projects and search results */

.grid {
	display: flex;
	flex-wrap: wrap;
	position: relative;
}


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

.grid:after {
	content: "";
	display: block;
	height: 600px;
	width: 1px;
	background: #000;
	position: absolute;
	right: 15px;
	bottom: 0;
}	

.grid article {
	flex-basis: 50%;
}

.grid article:nth-of-type(odd) .border-sides {
	margin-right: 0;
}

.grid article:nth-of-type(even) .border-sides {
	border-left: 0;
	margin-left: 0;
}

.grid article:nth-of-type(even):after {
	content: "";
	display: block;
	height: 1px;
	background: #000;
	margin-left: -100%;
	position: relative;
}
	

}

.news-item.simple .entry-content {
    min-height: auto;
	height: 100%;
	
}

.simple .entry-meta {
	flex-basis: 100%;
}


/* platforms */

.overview p, .scientific-info h3 {
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 2rem;
	margin-top: 40px
}

.platform-logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.platform-logos > * {
	display: flex;
	flex-basis: 30%;
	text-align: center;
	padding: 20px;

}
.platform-logos > *:only-child {
	margin-right: auto;
}

.platform-logos img {
	object-fit: contain;
	max-height: 90px;
/*	-webkit-filter: grayscale(100%);
  filter: grayscale(100%);*/
}

.scientific-info .entry-meta {
	padding: 20px;
}

.scientific-info .info-columns {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
    grid-gap: 40px;
}

.scientific-info h3 {
	margin-top: 20px
}

.post-type-archive-platform .news-item .entry-content {
    min-height: calc(25vw - 30px);
	height: 100%;
}

.post-type-archive-platform .news-item .entry-content h2 a:after,
.search-results .news-item h2 a:after {
	width: 40px;
	background-size: contain;
	height: 20px;
	margin-left: 5px;
}

/* contact */

.page-template-page-contact .entry-main-content {
	padding: 0;
}

.person {
	display: flex;
	min-height: calc(25vw - 30px);
}

.person + .person {
	border-top: 1px solid;
}

.person > * {
	flex-basis: 50%;
}

.person-details {
	padding: 20px;
}

.person h2 {
	margin: 0 0 -10px 0;
}

.person-image {
	background: var(--green);
	border-right: 1px solid;
}

.person img {
	display: block;
	width: 100%;
}

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

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

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

.embed-container { 
        position: relative; 
        padding-bottom: 56.25%;
        overflow: hidden;
        max-width: 100%;
        height: auto;
} 

.embed-container iframe,
.embed-container object,
.embed-container embed { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Captions
--------------------------------------------- */
figcaption {
	font-size: 1.6rem;
	letter-spacing: 0.5px;
	line-height: 1.56;
	margin-top: 15px;
}


.wp-caption, .wp-block-image figcaption {
	margin-bottom: 50px;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text,
 .wp-block-image figcaption {
	margin: 15px 15px 50px 20px;
}


/* Galleries
--------------------------------------------- */
.gallery {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
	padding: 20px;
}

.gallery img {
	display: block;
}

.gallery figure {
	margin-bottom: 0;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* 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;
}

.screen-reader-text:focus {
	clip: auto !important;
	clip-path: none;
	display: block;
	height: auto;
	left: 15px;
	line-height: normal;
	text-decoration: none;
	top: 15px;
	width: auto;
	z-index: 100000;
	background: var(--green);
	border: 1px solid;
}

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

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

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

/*--------------------------------------------------------------
# Mobile
--------------------------------------------------------------*/

@media screen and (max-width: 1039px) {
	.grid article {
		border-bottom: 1px solid;
		width: 100%;
	}

	.grid article:last-of-type, .blog article:last-of-type {
		border-bottom: 0;
	} 


}


@media screen and (max-width: 950px) {

    .main-navigation.toggled .menu-container {
        width: 100vw;
		border-left: 0;
    }    

	.main-navigation.toggled #primary-menu {
		border-left: 1px solid;
	}
	.main-navigation.toggled .menu-container:before {
		content: "";
		height: 50px;
		border-right: 1px solid;
		position: absolute;
		top: 0;
		left:15px;
	}

	.site-info {
		flex-wrap: wrap;
	}

	.site-info > * {
		flex-basis: 100%;
		border-bottom: 1px solid;
	}

	.footer-logo {
		border-bottom: 0;
	}

	.footer-address {
		border-left: 0;
		border-right: 0;
	}

	.footer-menu ul {
		text-align: center;
	}

	.collaborators > * {
		max-width: 60px;
		margin: 30px 20px 10px 20px
	}

	.entry-content {
		flex-wrap: wrap;
	}

	body:not(.post-type-archive-platform) .entry-content > * {
		flex-basis: 100%;
		padding: 20px;
	}

	.single .entry-content .entry-meta {
		padding-bottom: 0;
	}

	body:not(.post-type-archive-platform) .news-item .entry-main-content {
		padding: 0;
	}

	.page-template-page-contact .entry-content .entry-main-content {
		padding: 0;
		border-top: 1px solid;
	}

	.person > * {
		flex-basis: 50%;
		min-height: calc(50vw - 30px);
	}

	body:not(.post-type-archive-platform) .entry-main-content {
		border-left: 0;

	}

	body:not(.post-type-archive-platform) .news-item .entry-main-content .post-thumbnail {
		height: calc(100vw - 30px);
	}

	.alignwide, .alignfull {
		margin-left: -20px !important;
		margin-right: -20px;
	}

	.alignwide figcaption, .alignfull figcaption {
		position: static;
	}

	.alignleft, .wp-block-image .alignleft {
		position: static;
	}

	 .wp-block-image .alignleft {
		 width: auto;
	 }
	
	 .wp-block-image .alignleft img {
		 width: 100%;
	 }

}

@media screen and (max-width: 800px) {
	
	.scientific-info .info-columns, .gallery {
		display: block;
	}

	.gallery figure {
		margin-bottom: 10px;
	}
	
}	

@media screen and (max-width: 600px) {

	body,
    button,
    input,
    select,
    optgroup,
    textarea {
    	font-size: 1.5rem;
    }
    
    h1, blockquote {
        font-size: 3.3rem;
    }
    
    h2, .post-type-archive-platform .news-item h2,
    .search-results .news-item h2 {
        font-size: 2rem;
    	margin-top: 35px;
    }
    
    h3, .section-title h2, .person h2 {
        font-size: 1.8rem;
        line-height: 1.266;
    	margin-top: 35px;
    }
    
    .news-item h2, .news-item h3 {
    	font-size: 3rem;
		margin-bottom: 13px
    }

	.news-item .entry-content h2 a:after, .news-item .entry-content h3 a:after,
	.post-type-archive-platform .news-item .entry-content h2 a:after, 
	.search-results .news-item h2 a:after{
	    width: 30px;
		background-size: contain;
	    height: 20px;
	    margin-left: 5px;
	}

	.post-type-archive-platform .news-item .entry-content h2 a:after, 
	.search-results .news-item h2 a:after {
		height: 14px;
	}
    
    h4 {
        font-size: 2rem;
    	margin-top: 35px;
    }
    
    p {
    	margin-bottom: 20px;
    }
    
    button, input[type="button"], input[type="reset"], input[type="submit"], 
	.lala-button, .lala-button:visited, 
	.wp-block-button__link, .wp-block-button__link:visited,
	.nav-links a, 
	.cky-consent-bar .cky-btn, .cky-prefrence-btn-wrapper .cky-btn,
	.cky-btn-revisit-wrapper .cky-btn-revisit {
    	font-size: 1rem;
    }

	.wp-caption .wp-caption-text, .wp-block-image figcaption {
	    margin: 10px;
		font-size: 1.3rem;
	}

	.wp-block-image, .wp-block-gallery {
	    margin-top: 35px;
	    margin-bottom: 35px;
	}

	.ingressi, .overview p, .scientific-info h3 {
		font-size: 1.7rem;
	}

	.overview p, .scientific-info h3 {
		margin-top: 2rem;
	}

	.site-header {
		height: 44px;
	}

	.site-logo {
		margin: 13px 10px;
		height: 44px;
	}

	.site-search.desktop {
		display: none;
	}

	.menu-toggled .site-search.mobile {
		display: block;
	}

	input.search-field {
		height: 43px;
		font-size: 1.5rem;
		width: 150px;
		padding: 12px 15px;
	}

	.search-submit, .menu-toggle {
		height: 43px;
		width: 44px;
		padding: 0px;
	}

	.site-search, .menu-toggle {
		position: absolute;
		top: 0;
	}

	.site-search {
		right: 50px;
	}

	.menu-toggle {
		right: 8px;
	}

	.main-navigation.toggled .menu-container {
		padding-top: 43px;
	}	

	.main-navigation.toggled #primary-menu {
	    margin: 0 7px;
	    padding: 15px;
	}

	.main-navigation.toggled .menu-container:before {
		left:7px;
	}

	.main-navigation.toggled .menu-container:after {
		right:7px;
	}

	.main-navigation ul {
		font-size: 4.4rem;
	}

	.toggle-submenu, .toggle-submenu:hover {
		font-size: 1rem;
		background-size: contain;
		height: 40px;
		width: 40px;
		margin: 0 -10px 0 5px;
	}

	.sub-menu li a:after {
	    border-right: 1.5px solid;
	    border-bottom: 1.5px solid;
	    height: 20px;
	    width: 20px;
	    margin: 0 10px 10px 10px;
	}

	.border-sides {
        margin: 0 7px;
    }

	.entry-content > *, .hero-slogan,
	body:not(.post-type-archive-platform) .entry-content > *,
	.scientific-info .entry-meta,
	.gallery, .person-details {
		padding: 10px;
	}

	.hero-slogan blockquote * {
		display: block;
	}

	.hero-slogan blockquote .lala-button,
	.hero-slogan blockquote .wp-block-button__link {
		margin-left: 0px;
	}

	.person-details h2 {
		margin-top: 0;
	}

	.alignwide, .alignfull {
		margin-left: -10px !important;
		margin-right: -10px;
	}

	.section-title h2 {
		margin: 16px 10px 15px;
	}
	.section-title a {
		vertical-align: 3px
	}
	.post-date {
		margin-bottom: 10px;
	}

	.archive-link a {
		margin: 10px 5px;
	}
   

}
