/*
Theme Name: EUI Blogs Theme
Theme URI: http://lessmade.com/themes/less
Author: EUI Webunit
Author URI: https://www.eui.eu/webunit
Description:
Version: 1.0
License: GNU General Public License
*/


/*
========================================================================================================================================================
	1)	TAGS
========================================================================================================================================================
*/

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 112.5%;
	/* 18px - 1.125em */
	box-sizing: border-box;
}

html,
body {
	height: 100%;
}

body,
button,
input,
select {
	margin: 0;
	padding: 0;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}


/*
========================================================================================================================================================
	2)	TYPOGRAPHY (MOBILE)
		Scale: 1.125 Major Second - https://type-scale.com/?size=18&scale=1.250&text=A%20Visual%20Type%20Scale
		Base size: 18px = 1.125em
		Body text: 'Lora', Georgia, serif - https://fonts.google.com/specimen/Lora
		Heading text: 'Roboto', sans-serif - https://fonts.google.com/specimen/Roboto
		Small text: .75em 'Roboto', sans-serif
		Regular text color: #131516 - Contrast 18.32:1 (AAA - 7.00:1) - https://webaim.org/resources/contrastchecker/?fcolor=131516&bcolor=FFFFFF&api
		Light text color: #595959 - Contrast 7.00:1 (AAA - 7.00:1) - https://webaim.org/resources/contrastchecker/?fcolor=595959&bcolor=FFFFFF&api
========================================================================================================================================================
*/

body {
	font-family: 'Lora', Georgia, serif;
	line-height: 1.618;
	color: #131516;
	font-size: 1em;
	word-break: break-word;
	position: relative;
}

#site-description {
	font-family: 'Roboto', sans-serif;
	font-size: .9em;
	margin-bottom: 30px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	line-height: 1.2;
	margin: 1.414em 0 0.2em;
	font-family: 'Roboto', sans-serif;
}

h1 {
	margin-top: 0;
	font-size: 1.602em;
}

h1 a.title {
	color: #131516;
}

h2 {
	font-size: 1.424em;
}

h3 {
	font-size: 1.266em;
}

h4 {
	font-size: 1.125em;
}

.lead {
	font-size: 1.125em;
}

small,
.small {
	font-size: 0.889em;
	/* 0.889em = 14px @ font-base 16px,  16px @ font-base 18px */
	font-family: 'Roboto', sans-serif;
}

.smaller {
	font-size: 0.75em;
	/* 0.75em = 12px @ font-base 16px, 13px @ font-base 18px */
	font-family: 'Roboto', sans-serif;
}

p {
	margin-bottom: 1.3em;
}

a:link,
a:visited {
	color: #2583c0;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
	color: #004a7c;
}

a:focus {
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
}

blockquote {
	margin: 1.6em 1em;
	padding: 0 .8em;
	border-left: 1px dotted #bfbfbf;
	font-weight: bold;
	font-size: 1.25em;
	font-family: 'Lora', Georgia, serif;
}

figure {
	padding: 0;
	margin: 0;
}

figcaption {
	background: #eee;
	padding: .2em .5em;
	font-style: italic;
	text-align: center;
}

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

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #DADFE1;
	border: 1px solid #DADFE1;
	border-radius: 0;
	font-size: 1em;
}

mark {
	background: #00406b;
	color: #fff;
}




/*
========================================================================================================================================================
	3)	HEADER
========================================================================================================================================================
*/

#masthead {
	padding: 15px;
	background: #fff;
	border-bottom: 1px solid #eee;
	position: relative;
}

#logo img {
	height: 50px;
	max-width: none !important;
}

.eui-logo,
.project-logo {
	float: left;
	max-width: none !important;
}

.project-logo {
	margin-left: 5px;
}

#site-title {
	color: #131516;
	display: inline-block;
	font-family: 'Roboto', sans-serif;
	font-weight: bold;
	font-size: 1.2em;

}

#site-title a {
	color: #131516;
}

#site-description {
	font-weight: 200;
	color: #131516;
	display: block;
	line-height: 1;
	margin-bottom: 15px;
}

.header-actions {
	text-align: right;
	padding: 10px 15px 0;
	position: absolute;
	top: 0;
	right: 0;
}

.header-action {
	height: 40px;
	width: 40px;
	display: inline-block;
	background-image: none;
}

.header-action .btn-group {
	vertical-align: unset;
}

.header-action button {
	border: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: block;
	margin: 0;
	padding: 0;
	background: #FFF;
}

.header-action .navbar-toggle .icon-bar {
	margin: 0 auto;
	display: block;
	height: 2px;
	width: 22px;
}

.header-action .icon-bar+.icon-bar {
	margin-top: 5px;
}

.header-action .icon-dot {
	height: 4px;
	width: 4px;
	background: #131516;
	display: block;
	margin: 0 auto;
}

.header-action .icon-dot+.icon-dot {
	margin-top: 2px;
}

#toggle-search .fa-search {
	font-size: 1.2em;
}

#toggle-search button,
#toggle-menu button,
#toggle-custom-links .open .btn {
	background: #0e4a7a;
	color: #FFF;
}

#toggle-menu button .icon-bar,
#toggle-custom-links .open .icon-dot {
	background: #FFF;
}

#toggle-menu button.collapsed .icon-bar {
	background: #131516;
}

#toggle-search button.collapsed,
#toggle-menu button.collapsed {
	background: transparent;
	color: #131516;
}

#toggle-custom-links {
	margin-right: 15px;
}

#toggle-custom-links .dropdown-menu {
	margin-top: 10px;
	left: auto;
	right: 0;
	border-radius: 0;
}

#custom-links>li>a {
	color: #131516;
}


/*
========================================================================================================================================================
	3)	SEARCH
========================================================================================================================================================
*/

#searchWrapper,
#searchWrapperContent {
	margin-bottom: 1em;
	font-family: 'Roboto', sans-serif;
}

#searchWrapper span,
#searchWrapperContent span {
	width: 100%;
}

#searchWrapper input,
#searchWrapperContent input {
	width: 90%;
	margin: 0 auto;
	display: block;
	padding: 5px 15px;
	box-sizing: border-box;
	color: #131516;
}

#searchWrapperContent input {
	margin: 0;
}

.aa-dropdown-menu {
	margin: 0;
	text-align: left;
	height: auto;
	background: transparent;
	width: 100%;
	left: 0 !important;
	box-shadow: 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12);
	background: white;
	overflow-y: scroll;
	max-height: 500px;
	border: solid 1px #D9D9D9;
	border-top: 0;
	border-radius: 0;
	padding: 15px;
}

.aa-suggestions-category {
	font-weight: bold;
	font-size: 1.25em;
	margin-bottom: 15px;
}

.aa-dropdown-menu .aa-suggestions {
	position: relative;
	z-index: 1000;
	margin-bottom: 30px;
}

.aa-dropdown-menu .aa-suggestion {
	margin-bottom: 15px;
}

.aa-dropdown-menu .aa-suggestion:last-child {
	margin-bottom: 0;
}

.aa-dropdown-menu .aa-suggestion a {
	color: #131516;
}


/*
========================================================================================================================================================
	3)	NAVIGATION
========================================================================================================================================================
*/

#navWrapper {
	margin-bottom: 30px;
	background: #0e4a7a;
}

#navWrapper .container {
	padding: 0;
}

.navbar-nav {
	margin: 0 -15px;
}

.navbar-nav>li+li {
	border-top: 1px solid;
	border-color: rgba(255, 255, 255, .5);
}

.navbar-nav>li>a,
.dropdown-menu>li>a {
	font-family: 'Roboto', sans-serif;
	text-decoration: none;
	font-size: 16px;
}

#navbar .nav>li>a,
#navbar .nav .dropdown-menu>li>a {
	color: #FFF;
}

.navbar-nav>li>a {
	padding: 10px 30px;
}

.dropdown-menu>li>a {
	margin-bottom: 5px;
	/*color: #131516;*/
}

.navbar-nav .open .dropdown-menu>li>a,
.navbar-nav .open .dropdown-menu .dropdown-header {
	padding: 5px 15px 5px 45px;
}

.navbar-nav>li>a:hover,
.dropdown-menu>li>a:hover {
	background-color: transparent;
}


/*
========================================================================================================================================================
	4)	HERO IMAGE
========================================================================================================================================================
*/

#blog-hero-image {
	display: none;
	position: relative;
}


/*
========================================================================================================================================================
	4)	GOLDEN RATIO LAYOUT
========================================================================================================================================================
*/

.container {
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
	position: relative;
}

.container-fluid {
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
}


/*
========================================================================================================================================================
	4)	MAIN CONTENT
========================================================================================================================================================
*/

.featured-img {
	overflow: hidden;
	height: 0;
	padding-top: 56.25%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	margin-bottom: 2em;
	display: block;
	position: relative;
}

#posts-listing .featured-img {
	margin-bottom: 0;
}

.caption {
	margin: .5em 0 1em 0;
	color: #595959;
}

.single .caption {
	margin: 5px 0 3em 0;
}

article.post+article.post {
	margin-top: 1.7em;
	padding-top: 3em;
	border-top: 1px solid #DDD;
}

.post-meta {
	margin-bottom: 1em;
	color: #595959;
}

.post-meta .post-date,
.post-meta .post-author {
	display: block;
}

.post-author-img img {
	padding: 0;
	display: inline-block;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	margin-left: 15px;
}

.reading-time {
	float: left;
}

.text-resize {
	text-align: right;
	margin-bottom: 15px;
}

.text-resize span:hover {
	cursor: pointer;
}

.text-resize span {
	font-family: 'Lora', Georgia, serif;
	font-weight: bold;
}

.text-default {
	margin: 0 10px;
	font-size: 1em;
}

.text-plus {
	font-size: 1.1em;
}

.social-share {
	float: right;
}

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

.social-share ul li {
	display: inline-block;
	text-align: center;
}

.social-share ul li a {
	color: #FFF;
	display: block;
	width: 30px;
	height: 30px;
	line-height: 30px;
	border-radius: 50%;
	font-size: 18px;
}

.social-share ul li a.fb {
	background-color: #3B5998;
}

.social-share ul li a.tw {
	background-color: #55acee;
}

.social-share ul li a.li {
	background-color: #4875B4;
}

.social-share ul li a.wa {
	background-color: #25D366;
}

.social-share ul li a.mail {
	background-color: #444444;
}

.single .the-content {
	margin-top: 2.6em;
	padding-top: 1.3em;
	border-top: 1px solid #DDD;
}

.the-content a:link {
	font-weight: bold;
}


/*
========================================================================================================================================================
	4)	POSTS PAGINATION
========================================================================================================================================================
*/

.pagination {
	display: block;
	text-align: center;
	margin: 0;
	padding-left: 0;
}

ul.page-numbers {
	margin: 0;
	padding: 20px 0 50px;
	text-align: center;
	display: block;
}

ul.page-numbers li {
	list-style: none;
	margin: 0 5px 0 0;
	display: inline-block;
}

a.page-numbers,
span.current {
	border: none;
	cursor: pointer;
	width: 30px;
	height: 30px;
	line-height: 30px;
	display: block;
	text-decoration: none;
	color: #131516;
}

span.current {
	box-shadow: 2px 2px 4px rgba(0, 0, 0, .4);
	background: #0e4a7a;
	color: #FFF;
}

a.prev,
a.next {
	width: 30px;
}


/*
========================================================================================================================================================
	4)	SIDEBAR
========================================================================================================================================================
*/

#sidebar {
	display: none;
}


/*
========================================================================================================================================================
	5)	404
========================================================================================================================================================
*/



/*
========================================================================================================================================================
	5)	FOOTER
========================================================================================================================================================
*/

.site-info {
	border-top: 1px solid #ddd;
}


/*
========================================================================================================================================================
	6)	UTILITY CLASSES
========================================================================================================================================================
*/

.clearfix::after,
hr::after {
	display: block;
	clear: both;
	content: "";
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.disabled {
	color: #CCC;
}

.disabled:hover {
	cursor: normal;
}

.btn {
	display: inline-block;
	padding: 6px 12px;
	margin-bottom: 0;
	font-weight: 400;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	touch-action: manipulation;
	cursor: pointer;
	user-select: none;
	background-image: none;
	border: 1px solid transparent;
	text-decoration: none;
}

.btn-primary,
a.btn-primary {
	border: 1px solid #131516;
	background: #131516;
	color: #FFF;
}

/*
.btn:active,
.btn.active,
.btn-group.open .dropdown-toggle {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: #eee;
}
*/

.alert-block {
	background-color: #a50500;
	padding: 1em;
	color: #fff
}

.alert-block h3 {
	margin-top: 0;
}

.alert-block a,
.alert-block a:hover {
	color: #fff;
	text-decoration: underline;
	font-weight: bold;
}

.attribution {
	padding: 2px 10px;
	background: #eee;
	position: absolute;
	bottom: 0;
}

.light-text {
	color: #595959;
}

.white-text {
	color: #FFF;
}

.prometheus-logo {
	display: inline-block;
	width: 200px;
	margin-left: 5px;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 35px;
	height: 0;
	overflow: hidden;
}

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

.google-maps {
	position: relative;
	padding-bottom: 90%;
	/* (450 ÷ 500 = 0.9 = 90%) */
	height: 0;
	overflow: hidden;
}

.google-maps iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.alignleft {
	float: left;
	margin-right: 15px;
}


/*
========================================================================================================================================================
	MEDIA QUERIES
	Based on Bootstrap 4 mobile-first breakpoints
========================================================================================================================================================
*/

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

	#branding {
		margin-right: 30px;
	}

	.container {
		max-width: 540px;
	}


}

/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 768px) {

	body {}


	/*
	========================================================================================================================================================
		3)	HEADER
	========================================================================================================================================================
	*/

	#branding {
		float: left;
	}

	#site-title {
		font-weight: 700;
		line-height: 1;
		font-size: 1.266em;
		display: inline-block;
	}

	#site-description {
		font-size: .9em;
		margin: 10px 120px 0px 0;
		color: #595959;
	}

	#toggle-search {
		display: inline-block;
		z-index: 9999;
		position: relative;
	}


	/*
	========================================================================================================================================================
		3)	NAVIGATION
	========================================================================================================================================================
	*/

	#navWrapper {
		position: relative;
		width: 100%;
		padding: 0;
		margin: 0;
		z-index: 999;
	}

	#toggle-menu {
		display: none;
	}

	#navbar {
		display: block;
	}

	#navbar .nav {
		padding: 3px 0;
	}

	.navbar-nav>li+li {
		border: 0;
	}

	.navbar-nav>li>a {
		padding: 10px 10px 10px 0;
		margin-left: 30px;
	}

	.navbar-nav>li>.dropdown-menu {
		margin-top: 2px;
	}

	#navbar .nav .dropdown-menu>li>a {
		color: #131516;
	}

	.navbar-nav .open .dropdown-menu>li>a,
	.navbar-nav .open .dropdown-menu .dropdown-header {
		padding: 5px 15px;
	}

	/*
	========================================================================================================================================================
		4)	SEARCH
	========================================================================================================================================================
	*/

	#searchWrapper {
		position: fixed;
		width: 100%;
		top: 0;
		bottom: 0;
		z-index: 999;
	}

	#searchWrapper .formWrapper {
		position: absolute;
		left: 50%;
		top: 30%;
		transform: translateX(-50%);
		z-index: 9999;
		width: 80%;
	}

	#searchWrapper input,
	#searchWrapperContent input {
		width: 100%;
		padding: 0 15px;
		font-size: 1.563em;
		/* ????? */
		border: 1px solid #DADFE1;
		box-shadow: 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12);
	}

	#searchWrapper input::placeholder {
		font-weight: 300;
	}

	.overlay {
		background-color: rgba(37, 131, 192, 0.9);
		position: fixed;
		top: 0;
		bottom: 0;
		width: 100%;
		z-index: 999;
	}


	/*
	========================================================================================================================================================
		4)	GOLDEN RATIO LAYOUT
	========================================================================================================================================================
	*/

	#mainContent {
		margin-top: 3em;
	}

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

	#primary {
		width: 80%;
		margin: 0 auto;
	}

	/* If sidebar */
	#primary.has-sidebar {
		float: left;
		margin: auto;
		max-width: 62%;
	}

	aside#sidebar {
		width: 100%;
		max-width: 34%;
		margin-left: 4%;
		padding-left: 4%;
		float: left;
	}


	/*
	========================================================================================================================================================
		4)	MAIN CONTENT
	========================================================================================================================================================
	*/

	.the-content {}


	/*
	========================================================================================================================================================
		4)	SIDEBAR
	========================================================================================================================================================
	*/

	#sidebar {
		display: block;
		border-left: 1px solid #DDD;
	}

	#sidebar .widget .widgetTitle {
		border-bottom: 1px solid #131516;
		padding-bottom: .25em;
		margin-bottom: .75em;
	}

	#sidebar .widget:first-child .widgetTitle {
		margin-top: 0;
	}

	#sidebar .widget ul {
		padding: 0;
		margin-top: 0;
	}

	#sidebar .widget ul li {
		list-style: none;
		margin-bottom: .5em;
		padding-bottom: .5em;
		border-bottom: 1px solid #DDD;
	}

	#sidebar a:link,
	#sidebar a:visited {
		text-decoration: none;
		color: #131516;
	}

	#sidebar a:hover {
		text-decoration: underline;
	}

	/* The team widget */

	.blogs-editors-list .author-avatar {
		display: none;
	}

	.blogs-editors-list .author-name {}

	.post-meta-inline {
		margin-top: .25em;
		font-family: 'Roboto', sans-serif;
		color: #595959;
	}

	.post-meta-inline .post-author {
		color: #131516;
	}

	.post-meta-inline .post-date {}

	.widget-element-title {
		font-size: .9em;
		margin: 0;
	}

	.widget_media_image .wp-caption-text {
		display: none;
	}

	.sidebar-list-thumb {
		display: none;
	}

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

	#logo img,
	#project-logo img {
		height: 60px;

	}

	#site-title {
		margin-top: 0;
	}

	.container {
		max-width: 960px;
	}


	/*
	========================================================================================================================================================
		3)	HERO IMAGE
	========================================================================================================================================================
	*/

	#blog-hero-image {
		display: block;
	}

	#blog-hero-image img {
		margin: 0 auto;
		display: block;
	}

	.social-share .hide-lg {
		display: none;
	}

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

	#searchWrapper .formWrapper {
		width: 60%;
	}


}

@media (min-width: 1600px) {

	html {
		font-size: 131.25%;
		/* 21px - 1.3125em */
	}

	h1 {
		font-size: 1.802em;
	}

	h2 {
		font-size: 1.602em;
	}

	h3 {
		font-size: 1.424em;
	}

	h4 {
		font-size: 1.266em;
	}

	#searchWrapper .formWrapper {
		width: 50%;
	}

	.container {
		max-width: 1200px;
	}

	#primary {
		width: 100%;
		max-width: 62%;
		margin: 0 auto;
	}

	.blogs-editors-list .author-avatar {
		width: 75px;
		height: 75px;
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
		padding: 0;
		display: block;
		margin-left: 10px;
		margin-top: 8px;
		border-radius: 50%;
	}

	a.page-numbers,
	span.current {
		width: 35px;
		height: 35px;
		line-height: 35px;
	}

	a.prev,
	a.next {
		width: 35px;
	}

	/* Recent posts widget */

	.has-post-thumbnail .post-entry {
		width: calc(100% - 85px);
	}

	.sidebar-list-thumb {
		display: inline-block;
	}


}