/*
Theme Name: Ideas on Europe Bootstrap 5
Version: 1.0
*/

body {
	font-family: 'Nunito Sans';
}

.fa-rss-square {
    color: #DF6800;
}

.fa-twitter-square {
    color: #77DDFF;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        display: contents!important;
    }
}

/* .main-bg-image {
    background-image: url('images/Header-IoE.jpg') ;
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height: 0;
    padding-top: 66.64%;
}

@media (min-width: 1320px) {
    .main-bg-image {
		background-image: url('images/Header-IoE-large.jpg') ;
        background-size: 100% 45vh;
    }
} */

.mask {
	position: relative;
    margin-left: calc(70.5% - 50vw);
    margin-top: calc(37% - 50vw);
}

.follow-on {
	color: #102457;
	font-size: 0.5rem;
}

.login-header {
	color: #686A6F;
}

.btn-login, .btn-login:hover {
	background-color: #FEA44E;
	border-color: #FEA44E;
}

.social-image {
	width: auto;
	height: 8px;
	padding-left: 0.2rem;
}

@media (min-width: 476px) {
	.follow-on {
		font-size: 0.5rem;
	}
	.social-image {
		height: 10px;
		padding-left: 0.4rem;
	}
}

@media (min-width: 576px) {
	.follow-on {
		font-size: 0.7rem;
	}
	.social-image {
		height: 12px;
		padding-left: 0.4rem;
	}
}

@media (min-width: 720px) {
	.follow-on {
		font-size: 0.8rem;
	}
	.social-image {
		height: 18px;
		padding-left: 0.3rem;
	}
}

@media (min-width: 960px) {
	.follow-on {
		font-size: 0.9rem;
	}
	.social-image {
		height: 17px;
		padding-left: 0.5rem;
	}
}

@media (min-width: 992px) {
	.follow-on {
		font-size: 1.1rem;
	}
	.social-image {
		height: 20px;
		padding-left: 0.5rem;
	}
}

@media (min-width: 1200px) {
	.follow-on {
		font-size: 1.3rem;
	}
	.social-image {
		height: 23px;
		padding-left: 0.5rem;
	}
}

@media (min-width: 1400px) {
	.follow-on {
		font-size: 1.4rem;
	}
	.social-image {
		height: 25px;
		padding-left: 0.8rem;
	}
}

/* Main */

.blog h1, .page-template-blogs h1, .search-results h1, .archive h1, .share {
	color: #FA9529;
}

.single-post h1, .post h1 a, .about, .the-author {
	color: #FA9529;
	font-size: 1.5rem;
}

.single-post h2, .single-post h2 a, .post h2 a, .flex-grow-1 h2, .flex-grow-1 h2 a, .user-category a, .user-category a:hover, .user-category h3, .author-articles, .blogs-on, .blogs-on a {
	color: #FA9529;
}

.single-post h2 a, .flex-grow-1 h2 a {
	text-decoration: none;
}

.blogs-on a.subscribe-to {
	text-decoration: none;
}

/* Hide share buttons at top right hand side. */
.addthis-smartlayers {
	display: none;
}

.flex-grow-1 a.about-link {
	color: #FA9529;
	text-decoration: none;
}

article h2 {
	color: unset!important;
}

.coauthors {
	color: #FA9529;
	margin-bottom: 0.5rem;
}

.coauthors a {
	color: #FA9529;
}

.v-divider {
	border-left: none;
	border-right: none;
}

@media (min-width: 992px) {
	.v-divider{
		border-left:2px solid #FA9529;
		border-right:2px solid #FA9529;
	}
}

.pagination {
	margin-top: 2rem;
	margin-bottom: 2rem;
	justify-content: center;
	font-size: 1.2rem;
}

.pagination span.current {
	font-weight: bold;
	color: #FA9529;
}

.pagination a {
	color: #FA9529;
}

.archive-category {
	background-color: #FA9529;
}

.archive-category h3 {
	text-decoration: underline;
	font-style: italic;
}

.archive-category, .archive-category h3, .archive-category a, .archive-category .d-inline {
	color: #686A6F;
}

.btn-search {
	border: 1px solid #ced4da;
}

.comments-title {
	color: #5C5D62;
}

/* End Main */


/* page.php */

.page h2 {
	color: #FA9529;
}

/* End page.php */


/* Blogs page */

.blogs .img-thumbnail-logo {
	width: 100%;
	height: auto;
}

@media (min-width: 920px) {
	.blogs .img-thumbnail-logo {
		/* width: unset;
		height: unset; */
	}

}

.blogs a {
    color: #676771;
}

.flex-grow-1 a {
	color: #212529;
}

.blogs p {
	font-size: 0.9rem;
}

/* End blogs page */


/* Footer */

.content-policy {
	background-color: #333333;
	color: #FFF;
}

.content-policy p.responsibility {
    line-height: 1.4em;
    padding: 7px 0 7px 0;
    border-bottom: 1px dotted #D4D4D4;
    border-top: 1px dotted #D4D4D4;
}

/* End Footer */


/* UACES static header */

.site-header {
	background-color: rgb(119, 116, 116);
	padding: 20px 0;
	color: #132554;
}


.container {
	max-width: 1214px;
	width: 100%;
	margin: 0 auto;
	padding: 0 30px;
}

@media (min-width: 480px) {
	.container {
		padding: 0 30px;
	}
}

/* @media (min-width: 576px) {
	.container {
		max-width: 540px;
	}
} */

@media (min-width: 1214px) {
	.container {
		padding-left: calc(30px + calc(-50vw + calc(1214px / 2)));
		padding-right: calc(30px + calc(-50vw + calc(1214px / 2)));
	}
}


.site-header .grid {
	-ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.grid {
	display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.site-header .logo {
    flex-shrink: 0;
}

.site-header .logo.small {
    display: block;
}

@media (min-width: 1224px) {
	.site-header .logo.small {
		display: none;
	}
}

.site-header .logo.large {
    display: none;
}

@media (min-width: 1224px) {
	.site-header .logo.large {
		display: block;
	}
}

.primary-menu {
    display: none;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    /* margin-left: auto; */
    padding: 10px 0;
}

@media (min-width: 920px) {
	.primary-menu:not(:last-child) {
    	margin-right: 30px;
    	border-right: 2px solid #eff1f5;
    	padding-right: 30px;
	}
}

@media (min-width: 920px) {
	.primary-menu {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
	}
}

.primary-menu ul {
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.inline-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-menu li {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	margin: 0 17px;
}

.primary-menu a {
	display: block;
	font-size: 16px;
	font-weight: 800;
	line-height: 22px;
	color: inherit;
	letter-spacing: normal;
	text-transform: none;
}

.inline-menu__link {
	color: #000;
	text-decoration: underline;
	-webkit-transition: all ease .3s;
	transition: all ease .3s;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-decoration: none;
	text-transform: uppercase;
}

.primary-menu li.inline-menu__item:last-child {
	margin: 0;
}

.primary-menu li.inline-menu__item:last-child a {
	background-color: #FFA44F;
	color: #FEFEFE;
	cursor: pointer;
	line-height: 1.4;
	display: inline-block;
	text-decoration: none;
	text-align: center;
	border: 2px solid #FFA44F;
	border-radius: 8px;
	padding: 17px;
	width: 100%;
	max-width: 254px;
	font-size: 16px;
	-webkit-transition: all ease .3s;
	transition: all ease .3s;
	font-weight: 800;
	height: 60px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	height: auto;
	padding-top: 7px;
	padding-bottom: 7px;
}

@media (min-width: 768px) {
	.primary-menu li.inline-menu__item:last-child a {
		max-width: 209px;
	}
}

.site-header .social-menu:not(:last-child) {
	margin-right: 30px;
	border-right: 2px solid #eff1f5;
    padding-right: 30px;
    /* border-left: 2px solid #eff1f5; */
	padding-left: 30px;
}

.site-header .social-menu {
	display: none;
	padding: 10px 0;
}

.site-header .social-menu a:not(:last-child) {
	margin-right: 14px;
}

@media (min-width: 920px) {
	.site-header .social-menu {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
        margin-left: auto;
	}
}

.site-header .social-menu a {
	display: block;
	text-decoration: none;
	color: inherit;
	-webkit-transition: all ease .3s;
	transition: all ease .3s;
}

.toggle-nav {
	display: block;
	color: #132554;
}

.site-header .toggle-nav {
	margin-left: auto;
}

@media (min-width: 920px) {
	.toggle-nav {
		display: none;
	}
}

/* End UACES static header */


/* UACES static menu */

.main-nav {
	display: none;
	background-color: #132554;
	color: #fff;
}

header .collapse {
	display: block;
}


@media (min-width: 920px) {
	.main-nav {
		display: block;
	}
}

.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    z-index: 10;
}

.main-menu--sub {
    width: 100%;
    height: 0;
    overflow: hidden;
    background-color: #609cff;
    -webkit-transition: all ease .3s;
    transition: all ease .3s;
}

@media (min-width: 920px) {
	.main-menu--sub:hover {
		display: block;
		-webkit-transition: all .2s;
		transition: all .2s;
	}
}

ul.main-menu--sub-2, ul.main-menu--sub-3, ul.main-menu--sub-4 {
	position: relative;
	padding-left: 10px;
	padding-top: 0!important;
	padding-bottom: 0!important;
}

@media (min-width: 920px) {
	.main-menu--sub {
		display: none;
		height: auto;
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 250px;
		padding-top: 16px;
		padding-bottom: 16px;
		background-color: #132554;
		overflow: visible;
		z-index: 1;
		opacity: 0;
	}
}

.main-menu:not(.main-menu--sub) {
	margin-left: -30px;
	margin-right: -30px;
}

@media (min-width: 920px) {
	.main-menu:not(.main-menu--sub) {
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		-ms-flex-direction: row;
		flex-direction: row;
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
		margin-left: -10px;
		margin-right: -10px;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
	}
}

@media (min-width: 1224px) {
	.main-menu:not(.main-menu--sub) {
		-webkit-box-pack: start;
		-ms-flex-pack: start;
		justify-content: flex-start;
		margin-left: -21px;
		margin-right: -21px;
	}
}

.main-menu__item {
	position: relative;
	text-align: center;
}

.main-menu__item.main-menu__item--with-sub {
	position: relative;
}

@media (min-width: 920px) {
	.main-menu__item {
		text-align: left;
	}
}

.main-menu__link {
	display: block;
	padding: 10px 0;
	font-size: 16px;
	line-height: 1.9;
	text-decoration: none;
	font-weight: 800;
	color: inherit;
	-webkit-transition: all ease .3s;
	transition: all ease .3s;
}

.main-menu__link:hover {
	color: unset;
}

.main-menu__link--with-sub.active {
    background-color: #609cff;
}

.main-menu--sub-open {
    height: auto;
}

@media (min-width: 920px) {
	.main-menu__link {
		position: relative;
		font-size: 17px;
		padding-left: 7px;
		padding-right: 7px;
		text-transform: none;
		width: auto;
		line-height: 1.5;
	}
}

@media (min-width: 1224px) {
	.main-menu__link {
		font-size: 17px;
		padding-left: 14.5px;
		padding-right: 14.5px;
	}
}

@media (min-width: 920px) {
	.main-menu__link--sub {
		padding-top: 3px;
		padding-bottom: 3px;
	}
}

.main-menu__link--sub:hover {
	text-decoration: underline;
}

@media (min-width: 920px) {
	.main-menu__link--sub:hover {
		text-decoration: none;
		color: #609cff;
	}
}

.main-menu__item.main-menu__item--with-sub .expand {
	display: none;
	position: absolute;
	width: 33.5px;
	height: 33.5px;
	top: 16.75px;
	right: 15px;
	border: 3px solid #fff;
	cursor: pointer;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.main-menu__item.main-menu__item--with-sub .expand.active::before {
    transform: rotate(180deg);
}

.main-menu__item.main-menu__item--with-sub .expand {
    position: absolute;
    width: 33.5px;
    height: 33.5px;
    top: 16.75px;
    right: 30px;
    border: 3px solid #fff;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

@media (min-width: 920px) {
	.main-menu__item.main-menu__item--with-sub .expand {
		display: none;
	}
}

.primary-menu.mobile {
	display: none;
}

@media (min-width: 0) and (max-width: 919px) {
	.primary-menu.mobile {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	}

	.primary-menu.mobile .inline-menu {
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
		margin-left: auto;
		margin-right: auto;
	}

	.primary-menu.mobile li:first-child {
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
		margin-bottom: 20px;
		width: 100%;
	}
}

.main-menu__item:not(.main-menu__item--sub).active::after, .main-menu__item:not(.main-menu__item--sub):active::after, .main-menu__item:not(.main-menu__item--sub):hover::after {
	opacity: 1;
}

@media (min-width: 920px) {
	.main-menu__item:not(.main-menu__item--sub).active::after, .main-menu__item:not(.main-menu__item--sub):active::after, .main-menu__item:not(.main-menu__item--sub):hover::after {
		right: 10px;
	}
}

@media (min-width: 1224px) {
	.main-menu__item:not(.main-menu__item--sub).active::after, .main-menu__item:not(.main-menu__item--sub):active::after, .main-menu__item:not(.main-menu__item--sub):hover::after {
		right: 21px;
	}
}

@media (min-width: 920px) {
	.main-menu__item.active .main-menu--sub, .main-menu__item:hover .main-menu--sub {
		display: block;
		opacity: 1;
	}
}

.main-menu__item:not(.main-menu__item--sub)::after {
	display: none;
	position: absolute;
	bottom: 0;
	height: 4px;
	background-color: #f89843;
	content: '';
	opacity: 0;
	-webkit-transition: all ease .3s;
	transition: all ease .3s;
}

@media (min-width: 920px) {
	.main-menu__item:not(.main-menu__item--sub)::after {
		display: block;
		left: 10px;
	}
}

@media (min-width: 1224px) {
	.main-menu__item:not(.main-menu__item--sub)::after {
		left: 21px;
	}
}

/* End UACES static menu */



/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}
.wp-caption {
	line-height: 18px;
	margin-bottom: 20px;
	max-width: 620px !important; /* prevent too-wide images from breaking layout */
	text-align: center;
}
