/*
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: 100%; /* 16px - 1em */
	box-sizing: border-box;
}

html,
body {
	height: 100%;
}

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

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

table {
	width: 100%;
}

td {
	padding: 10px;
}


/*
========================================================================================================================================================
	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.802em;
}

h1 a.title,
h1 a,
h2 a,
h3 a,
h4 a,
h5 a {
	color: #131516;
	text-decoration: none;
}

h2 {
	font-size: 1.602em;
}

h3 {
	font-size: 1.424em;
}

h4 {
	font-size: 1.266em;
}

.lead {
	font-size: 1.125em;
}

small,
.small {
	font-size: 0.762em; /* 0.762em = 12px @ font-base 16px,  13px @ font-base 18px, 16px @ font-base 21px */
	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,
a:visited {
	color: #0e4a7a;
	text-decoration: none;
}

article a {
	text-decoration: underline;
	font-weight: bold;
}

a:hover {
	
}

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%;
	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;
}


hr {
    height: 1px;
    background-color: #BDC3C7;
    border: none;
}


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



/*
========================================================================================================================================================
	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 {
}

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

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

#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;
}

.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 {
	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 #BDC3C7;
}

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

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

.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;
	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 #BDC3C7;
}

.post-categories {
	margin: 0;
	padding: 0;
	display:inline;
}

.post-categories li {
	display: inline;
	list-style: none;
}

.single .meta a {
	font-weight: 400;
}




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

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

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)	PEOPLE LISTING
========================================================================================================================================================


.people {
	margin-bottom: 30px;
	padding-bottom: 30px;
	border-bottom: 1px solid #ddd;
}

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

.people h3 {
	clear: none;
	margin-top: 0;
}
*/

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

#sidebar .widget .widgetTitle {
	border-bottom: 1px solid #BDC3C7;
	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 #BDC3C7;
}


/*
#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 {

}

.widget .post-meta-inline {
	margin-top: .25em;
	font-family: 'Roboto', sans-serif;
	color: #6C797A;
	font-size: .7em;
}

.widget .post-meta-inline .post-author,
.widget .post-meta-inline br {
	display: none;
}

.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;
}


.eui-social-icons a {
	display: inline-block;
	width: 40px;
	height: 40px;
	padding: 0 3px;
	margin: 0 5px;
	text-align: center;
	line-height: 40px;
}

.eui-social-icons .fb {
	background: #3b5998;
}

.eui-social-icons .tw {
	background: #00acee;
}	

.eui-social-icons .lk {
	background: #0e76a8; 
}

.eui-social-icons .yt {
	background: #c4302b; 
}

.eui-social-icons .ig {
	background: #3f729b 
}

.eui-social-icons .fa {
	color: #FFF;
}


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



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

.site-footer {
	margin-top: 1em;
}

#centralised-footer {
    background: #f2f2f2;
    padding: 1em 0;
}

.ec-wrapper{
	margin-bottom: 50px;
}

.ec-txt {
	font-size: .8em; 
	line-height: 1em; 
	display: inline-block;
}  
  
#centralised-footer .cf-links {
    font-size: .8em;
    margin:0;
}

#centralised-footer a.cws-badge {
    display: block;
}

#centralised-footer  a {
    color: #108CC8;
    text-decoration: none;
}
  
.main-eui #centralised-footer{
	padding: 10px 0 30px;
	background: #fff;
}



/*
========================================================================================================================================================
	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,
a.btn {
	font-family: 'Roboto', sans-serif;
	font-size: 1em;
    border: 1px solid transparent;
	color: #FFF;
}

a.btn:hover {
	text-decoration: none;
	color: #FFF;
}

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

.btn-eui,
a.btn-eui {
	border: 1px solid #0e4a7a;
	background: #0e4a7a;
}


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



.attribution {
	padding: 2px 10px;
	background: #eee;
	position: absolute;
	bottom: 0;
	left: 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) {

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

	body {

	}


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

	#branding {
		border-right: 1px solid #111;
		padding-right: 30px;	
	}

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

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

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


	/*
	========================================================================================================================================================
		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)	MAIN CONTENT
	========================================================================================================================================================
	*/

	.the-content {

	}



}

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

	#logo img,
	#project-logo img{
		height: 65px;
	}

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

	.container {
		max-width: 960px;
	}

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

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

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

	.social-share .hide-lg {
		display: none;
	}
	
	
	/*
	========================================================================================================================================================
		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;
	}	

	#sidebar {
		border-left: 1px solid #BDC3C7;
	}
	
	
	
	#centralised-footer a.cws-badge {
    display: inline-block;
	float: left;
	margin-right: 15px;
	}
		

}

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


}
