.offline-image img {
    object-fit: contain;
}
.displaynone #t4-main-body {
	display: none;
}
.cont-flex {
	display: flex;
}
.btn.btn-primary:hover {
	background-color: #5488c7;
	border-color: #5488c7;
}
h4, .h4,
h5, .h5,
h6, .h6 {
	margin-top: 2rem;
}

/* HEADER */
.t4-header .header-block {
	background-color: #084298;
}
.navbar-brand.logo-control img.logo-img {
	max-height: 50px;
}
.navbar-brand img {
	height: 50px;
	width: auto;
}
.t4-offcanvas-toggle,
.t4-offcanvas-toggle:hover {
	color: #fff;
}
.t4-offcanvas .t4-off-canvas-body .navbar .nav-item.active > .nav-link,
.t4-offcanvas .t4-off-canvas-body .navbar .nav-item.active > .separator {
	color: #084298;
}
.t4-offcanvas .t4-off-canvas-header .close span,
.t4-offcanvas .t4-off-canvas-header .close:hover span {
	color: #fff !important;
}
.t4-offcanvas .t4-off-canvas-header {
	background: #084298;
}

/* SECTION-1 SMALL EU FLAG */
#t4-section-1 {
	background-color: #084298;
}
#t4-section-1 img {
	border: 1px solid #fff;
}

/* SLIDESHOW OVERLAY */
.acm-hero.style-1 .acm-hero-item::after {
	width: 100%;
}
#t4-sideshow .acm-hero.style-1 .acm-hero-item.mask-ltr:after {
	background: linear-gradient(to right, rgba(34,62,39,1), rgba(34,62,39,0.25));
}

/* MASTHEAD / PAGE HEADINGS */
.t4-masthead-title {
	color: #fff;
}
.t4-masthead-inner.has-bg {
	background-position: center top;
}

/* ABOUT PROJECTS */
.project .t4-main-body {
	padding-top: 1rem;
}

/* SECTION-5 FOR THE INVESTOR */
.certrow {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.certrow div {
	margin-bottom: 40px;
}
.certrow img {
	max-width: 250px;
	height: auto;
	border: 1px solid #084298;
}

/* ARTICLES */
.order-2 {
	display: none;
}
.order-1 {
	width: auto;
}
.item-page.layout-default.no-sidebar .bottom-article-info,
.item-page.layout-default.no-sidebar .full-image {
	max-width: 100%;
}
.img-in-article {
	margin-top: 1rem;
	margin-bottom: 2rem;
}
.article-end {
	text-align: center;
	font-style: italic;
	margin-top: 50px;
}

/* EU FLAG SMALL */
.cont-flex {
	justify-content: center;
}

/* PROGRAMS AND FUNDING AND NEWS */
.funding .funding-logos,
.news .funding-logos {
	margin-bottom: 3rem;
}
#article-logo-age,
#article-logo-eufunded,
#article-logo-gerb {
	height: 100px;
	width: auto;
	margin-left: 30px;
	margin-right: 30px;
}
#article-logo-age {
	padding: 10px;
}

/* FOOTER */
#t4-footer {
	text-align: center;
}

@media (min-width: 768px) {
	.t4-masthead-inner {
		padding: 8rem 0;
		background-position: center;
	}
}
@media (min-width: 1400px) {
	.t4-sideshow .col-xxl-5 {
		width: 50%;
	}
}

@media (max-width: 535px) {
	.certrow {
		justify-content: center;
	}
}
@media (max-width: 991px) {
	.navbar-expand-lg {
		display: none;
	}
	#t4-sideshow .acm-hero.style-1 .acm-hero-item.mask-ltr:after {
		background: linear-gradient(to right, rgba(34,62,39,1), rgba(34,62,39,0.5));
	}
	.cont-flex.funding-logos {
		flex-direction: column;
	}
	#article-logo-eufunded	{
		width: 100%;
		height: auto;
		margin-left: auto;
		margin-right: auto;
	}
	#article-logo-gerb {
		width: 55%;
		height: auto;
		margin-left: auto;
		margin-right: auto;
		margin-top: 30px;
	}
	#article-logo-age {
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 30px;
	}
}