/*
Theme Name: Europa Insider Theme
Theme URI: https://europa.com/
Description: Child theme of GeneratePress
Author: Europa, LLC
Author URI: https://europa.com/
License: All Rights Reserved
Template: generatepress
Version: 0.1.0
*/

html,
body {
	height: 100%;
	margin: 0;
}

body, button, input, select, textarea {
	font-family: IBM Plex Serif, serif, Noto Color Emoji;
}

h1, h2, h3, h4, h5, h6 {
	font-family: IBM Plex Sans, sans-serif, Noto Color Emoji;
}

h1 {
	font-size: xx-large;
}

h2 {
	font-size: x-large;
}

h3 {
	font-size: large;
}

h4 {
	font-size: medium;
	font-weight: bold;
}

h5 {
	font-size: medium;
}

h6 {
	font-size: medium;
}

header.site-header {
	position: fixed;
	width: 100%;
	z-index: 1000;
}

header p.site-description {
	font-size: small;
	font-style: italic;
}

#page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

div.site {
	position: relative;
	top: 95px;
}

.site-branding-container {
	padding-left: 12px;
}

.main-navigation a {
	font-size: 18px;
}

#primary-menu li a span {
	margin-left: 1em;
}

.site-content {
	flex: 1;
}

.inside-header {
	display: grid;
	grid-template-columns: 1fr 1fr;
	padding: 0;
}

#eip-home img.wp-post-image {
	width: 100%;
}

#eip-home-header {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	height: 45px;
}

#eip-home-header > h4 {
	text-align: center;
	margin-bottom: 10px;
}

#eip-home-header > h4 {
	padding: 0;
	margin: 0;
	border-left: 2px solid #fff;
	border-right: 1px solid #ddd;
}

#eip-home-header > h4:first-child {
	border-left: none;
}

#eip-home-header > h4:last-child {
	border-right: none;
}

#eip-home-header > h4::before {
	font-family: "Noto Color Emoji", sans-serif;
	font-size: 1.5em;
	vertical-align: middle;

	margin-right: 0.5em;
}

#eip-home-header > h4.europe::before {
	content: "\01f1ea\01f1fa";
}

#eip-home-header > h4.america::before {
	content: "\01f1fa\01f1f8";
}

#eip-home-header > h4.world::before {
	content: "\01f30e";
}

#eip-home-header > h4.insights::before {
	content: "\1FAB6";
}

#page > #content {
	padding: 0;
}

#eip-home {
	width: 100%;
	font-family: Verdana, sans-serif, Noto Color Emoji;
	font-size: 12px;
	line-height: 1.5em;
	font-weight: 500;
}

#eip-home a {
	text-decoration: underline;
}

#eip-home-desktop {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

#eip-home-mobile {
	padding-top: 1em;
}

@media (min-width: 768px) {
	#eip-home-mobile {
		display: none;
	}
}

@media (max-width: 766px) {
	#eip-home-desktop {
		display: none;
	}

	#eip-home-header {
		display: none;
	}

	div.inside-header {
		display: flex;
	}

	div.site {
		top: 60px;
	}

	nav.main-navigation.toggled li.fontawesome-x-twitter span {
		display: none;
	}
}

#eip-home-desktop > div {
	padding: 1em 0 100px 0;
	border-left: 2px solid #fff;
	border-right: 1px solid #ddd;
}

#eip-home-desktop > div:first-child {
	border-left: none;
}

#eip-home-desktop > div:last-child {
	border-right: none;
}

#eip-home-desktop > div > h4::before {
	margin-right: 0.5em;
}

#eip-home ul {
	list-style: none;
	padding-left: 0;
	margin: 12px;
}

#eip-home li {
	margin-bottom: 1em;
	line-height: 1.75em;
}

#eip-home li.thumbnail {
	font-weight: bold;
	font-size: 1.3rem;
	line-height: 1.5rem;
	text-align: left;
}

div.site-footer {
	position: relative;
	bottom: -35px;
	width: 100%;
}
