/*
Theme Name: Minerva Elite Performance
Theme URI: https://www.copperbaydigital.co.uk
Description: Custom WordPress theme created for Minerva Elite Performance.
Version: 9.9
Author: Copper Bay Digital
Author URI: https://www.copperbaydigital.co.uk
Text Domain: minerva_elite
*/


/* ==== Layout for desktop version ====   */

	/* Setting up the various divs and background properties */

		:root {
			--mep-grey: #4b4f54;
			--mep-light-grey: #E6E6E6;
			--mep-white: #ffffff;
			--mep-red: #EB143A;
			--link-colour: #EB143A;
			--dark-grey-gradient: linear-gradient(90deg,rgba(22, 23, 25, 1) 0%, rgba(75, 79, 84, 1) 50%);
			--light-grey-gradient-horizontal: linear-gradient(90deg,rgba(242, 243, 247, 1) 0%, rgba(255, 255, 255, 1) 50%);
			--light-grey-gradient-vertical: linear-gradient(0deg,rgba(232, 235, 248, 1) 0%, rgba(242, 243, 247, 1) 50%);
		}

		html {
			-webkit-font-smoothing: antialiased;
		}
		
		@media screen and (prefers-reduced-motion: reduce) {
			html {
				scroll-behavior: auto;
			}
		}
	
		body {
			font-family: "Fira Sans", sans-serif;
			font-style: normal;
			font-weight: 400;
			font-size: 16px;
			line-height: 22px;
			word-wrap: break-word;
			text-align: left;
			color: var(--mep-grey);
			background: var(--mep-white);
		}
		
		.moveup-lg {
			margin-top: -7em;
		}
		
		.moveup-md {
			margin-top: -5em;
		}
		
		.moveup-sm {
			margin-top: -3em;
		}
		
		.mark, mark {
			padding: 0;
		}
		
		.whitebg {
			background: var(--mep-white);
		}

		.clearfix {
			clear: both;
		}
		
		.hide {
			display: none;
		}
		
		 iframe {
			max-width: 100%;
			border: 0 none;
		}
		
		body .wp-block-cover {
			padding: 0;
		}
		
		body .wp-block-image.w-100 img {
			width: 100%;
		}
		
		.transition {
			opacity: 0;
			transition: all ease-out 0.5s;
			transition-delay: 0.5s;
		}
		
			.transition.active {
				opacity: 1;
			}
			
		.transition.left {
			margin-left: -100px
		}
		
		.transition.left.active {
			margin-left: 0;
		}
		
		.transition.right {
			margin-left: 100px
		}
		
		.transition.right.active {
			margin-left: 0;
		}

	.noticebg {
		background: var(--mep-grey);
		color: #fff;
		margin-bottom: 1em;
	}
	
		.noticebg a, .noticebg a:hover, .noticebg a:active, .noticebg a:focus {
			color: #fff;
		}
		
		.noticebg i {
			color: var(--mep-light-grey);
		}

		
	/* Top Header styling */

	.tagline {
		font-size: 0.9em;
	}
	
	header.top {
		background: var(--mep-white);
	}

	/* Footer */
	
	footer {
		background: var(--light-grey-gradient-vertical);
		box-shadow: inset 0 20px 20px -7px rgb(219 222 232 / 50%);
	}
	
	footer a, footer a:hover {
		color: var(--mep-grey);
	}
	
	footer ul.menu, footer ul.sub-menu {
		list-style: none;
		clear: both;
		margin: 0;
		padding-left: 0;
	}
	
	footer img {
		margin: 0;
	}
	
	footer .wp-block-cover {
		padding: 1.5em;
	}
	
	footer ul.wp-block-social-links {
		margin: 0;
	}
	
	footer figure {
		margin-bottom: 0;
	}	

	footer hr {
		border-top: 2px solid var(--mep-white);
		height: 2px;
		margin: 0 0 2em;
	}
	
	.share .btn i {
		margin-right: 0;
	}
	
	.editlink, .post-edit-link {
		margin: 0;
	}
	
	.editlink i, .post-edit-link i {
		position: relative;
		margin-right: 4px;
	}
	

	@media (min-width: 992px) {
		
		.menu-item-has-children > ul.dropdown-menu {
			opacity: 0;
			display: unset;
			pointer-events: none;
			transition: all ease 0.3s;
			background: var(--dark-grey-gradient);
			border-radius: 0;
			font-size: 0.88em;
			padding: 0;
			min-width: 250px;
		}

		ul.dropdown-menu li a:after {
			content: "";
			position: relative;
			display: block;
			height: 1px;
			top: 0.5em;
			width: 100%;
			border-bottom: 1px solid #686B6F;
		}
		
			ul.dropdown-menu li:last-of-type a:after {
				display: none;
			}

		.menu-item-has-children > ul.dropdown-menu li a {
			color: #fff;
			padding: 0.6em 0.8em;
		}
		
		.menu-item-has-children:hover > ul.dropdown-menu {
			opacity: 1;
			pointer-events: all;
		}
		
		.dropdown-item.active, .dropdown-item:active, .dropdown-item:focus, .dropdown-item:hover {
			background: none;
		}

	}
	
	.dropdown-toggle::after {
		border: 0 none;
		content: url('images/menu-down.svg');
		width: 12px;
		height: 12px;
		vertical-align: 0;
		margin-left: .6em;
		position: relative;
		top: -1px;
	}
	
	ul.navbar-nav:not(.secondary) > li:hover > a {
		color: #fff;
		background: var(--dark-grey-gradient);
	}
	
		ul.navbar-nav li:hover .dropdown-toggle::after {
			filter: brightness(0) invert(1);
		}
	
	
	/* Secondary nav */
	
	ul#menu-header-secondary-menu {
		font-size: 0.9em;
	}
	
	ul#menu-header-secondary-menu li {
		position: relative;
		line-height: 0.5em;
		border-right: 1px solid #F2F3F7;
	}

	ul#menu-header-secondary-menu li:last-of-type {
		border-right: none;
	}


	/* Form Styling */		
		
		input, select, textarea {
			font-family: "Poppins", sans-serif;
			border-radius: 0;
		}
		
		input[type="text"], select, input[type="email"], input[type="search"], input[type="password"], input[type="date"], input[type="tel"], input[type="url"], textarea, select.form-control {
			font-size: 1em;
			border: 1px solid #f5f5f5;
			border-radius: 0;
			background: #fff;
			padding: 0.6em 0.8em;
			line-height: 1;
		}
		
		input[type="text"]:focus, select:focus, input[type="email"]:focus, input[type="search"]:focus, input[type="password"]:focus, input[type="date"]:focus, input[type="tel"]:focus, input[type="url"]:focus, textarea:focus, select.form-control:focus {
			border: 1px solid #f5f5f5;
			border-radius: 0;
			background: #fff;
		}
		
		.readonly input {
			border: 1px solid #a3a3a3;
		}
		
		.widget input[type="text"], .widget select, .widget input[type="email"], .widget input[type="search"], .widget input[type="password"], .widget textarea {
			width: 100%;
		}
		
		.wcpf-input {
			width: auto;
			padding: 0.6em 0.8em;
			border-radius: 0;
			border: 1px solid #394290;
		}
		
		label {
			font-weight: 400;
		}
		
		.label {
			color: inherit;
			font-size: 1.2em;
			line-height: 1em;
		}
		
		textarea {
			min-height: 80px;
		}
		
		input[type="checkbox"] {
			margin: 0 3px 0 0;
		}
		
		input[type="submit"], a.btn, .btn, span.btn, button:not(.navbar-toggler), .wp-block-button__link, .gform_next_button, .gform_previous_button.button, input[type="submit"].gform_button {
			font-size: 1.18em;
			line-height: 1em;
			padding: 0.8rem 1.2rem;
			border-radius: 0;
			display: inline-block;
			background: var(--dark-grey-gradient);
			color: var(--mep-white);
			border: 2px solid var(--mep-grey);
			transition: all 0.2s ease;
		}
		
			input[type="submit"]:hover, a.btn:hover, a.btn:focus, a.btn:active, .btn:hover, .btn:focus, .btn:active, span.btn:hover, button:hover:not(.accordion-button), .gform_previous_button.button:hover, input[type="submit"].gform_button:hover, input[type="submit"].gform_button:active, .wp-block-button__link:hover, .wp-block-button__link:active, .wp-block-button__link:focus {
				cursor: pointer;
				text-decoration: none;
				color: var(--mep-grey);
				background: var(--mep-white);
				border: 2px solid #000;
			}
		
		a.btn:after, 
		.btn:after, 
		span.btn:after, 
		button:after, 
		.wp-block-button__link:after, 
		.gform_next_button:after, 
		.gform_previous_button.button:after {
			border: 0 none;
			content: url('images/btn-arrow.svg');
			width: 25px;
			height: 25px;
			vertical-align: -6px;
			margin-left: .6em;
			position: relative;
			display: inline-block;
		}
		
		a.btn.light-grey-gradient-horizontal {
			border: 2px solid #e8ebf8;
			background: var(--wp--preset--gradient--light-grey-gradient-horizontal);
			color: var(--wp--preset--color--mep-grey);
			padding: 0.8rem 1.2rem;
			border-radius: 0;
			font-weight: 400;
			box-shadow: none;
		}
		
			a.btn.light-grey-gradient-horizontal:hover, a.btn.light-grey-gradient-horizontal:focus, a.btn.light-grey-gradient-horizontal:active  {
				background: var(--dark-grey-gradient);
				color: var(--mep-white);
				border-color: #000;
				text-decoration: none;
			}
		
		.wp-block-button.is-style-outline a.wp-block-button__link:hover, .wp-block-button.is-style-outline a.wp-block-button__link:active, .wp-block-button.is-style-outline a.wp-block-button__link:focus {
			background: var(--dark-grey-gradient);
			color: var(--mep-white);
			border-color: #000;
			text-decoration: none;
		}
		
		button.navbar-toggler:after {
			content: "";
		}

		.wp-block-button img {
			position: relative;
			top: -2px;
			margin-right: 4px;
		}
		
		
		/* Nav styling */
		
		#menu-header-primary-menu {
			font-size: 1.18em;
		}	
		
			#menu-header-primary-menu.navbar-nav .nav-link {
				padding: 0.6em 0.8em;
			}
		
		ul.navbar-nav li {
			margin-bottom: 0;
		}
		
		button.navbar-toggler, button.navbar-toggler.collapsed {
			background-color: var(--mep-grey);
			width: 2.5em;
			height: 2.5em;
			border-radius: 0;
		}
		
		button.navbar-toggler:hover {
			background-color: var(--mep-red);
		}
		
		.navbar-toggler-icon {
			filter: brightness(0) invert(1);
			width: 100%;
			height: 100%;
		}
			
		
		/* Gravity Forms */
				
		body ul.gform_fields {
			list-style: none;
		}
		
		body .gform_wrapper ul.gform_fields li.gfield {
			margin-bottom: 0;
			margin-top: 6px;
			list-style: none;
		}
				
		body .gform_wrapper .top_label .gfield_label {
			margin-bottom: 4px;
			font-weight: 400;
		}
		
		body .gform_footer {
			margin-top: 0.5em;
			padding-top: 0;
			padding-bottom: 0;
		}
		
		body .gform_wrapper div.validation_error {
			font-size: 1em;
			padding: 0.5em 0;
			border: 0 none;
			margin-bottom: 0;
		}
		
		body .gform_wrapper .gform_body .top_label div.ginput_container {
			margin-top: 0;
		}
		
		body .gform_wrapper .gform_body .top_label div.ginput_container.ginput_recaptcha > div {
			margin-bottom: 0.3em;
		}
		
		body .gform_wrapper .description_above .gfield_description {
			padding-bottom: 4px;
		}
		
		body .gform_wrapper .gform_footer p, body .gform_wrapper .gform_footer br {
			margin: 0;
			padding: 0;
			height: 0;
		}
		
		body .gform_wrapper .field_sublabel_above .ginput_complex.ginput_container {
			margin-top: 0;
		}
		
		.gform_wrapper input[type="text"], .gform_wrapper select, .gform_wrapper input[type="email"], .gform_wrapper input[type="tel"], .gform_wrapper textarea {
			width: 100%;
			margin-bottom: 0.4em;
			margin-top: 0.4em;
		}
		
		.gform_wrapper input[type="submit"], .gform_wrapper button, .gform_wrapper input[type="submit"]:hover, .gform_wrapper button:hover {
			color: #fff;
		}
		
		.gform_wrapper .enquiry-form input[type="submit"] {
			background: #fff;
		}
		
			/* Multiple Step Form */
			
			body .gform_wrapper.gravity-theme .gf_step_completed .gf_step_number:before {
				background: #000;
				border: 2px solid #000;
			}
			
			body .gform_wrapper.gravity-theme .gf_step_label {
				font-weight: 400;
			}
			
			body .gform_wrapper.gravity-theme .gf_step_number {
				border: 2px solid #000;
				color: #000;
			}
			
				body .gform_wrapper.gravity-theme .gf_step_active .gf_step_number {
					background: #000;
					color: #fff;
				}
				
				
	/* Page header section */
		
	.page-header {
		background: var(--light-grey-gradient-vertical);
		position: relative;
		overflow-y: hidden;
		min-height: 240px;
	}
	
		.page-header:before {
			content: url('images/page-header-poly.svg');
			position: absolute;
			right: 0;
			top: 0;
			z-index: 1;
		}
		
		.page-heading, .intro-text {
			z-index: 9;
		}
		
		.page-header .page-start {
			background: var(--mep-white);
			height: 75px;
			z-index: 5;
			position: relative;
			margin: 0 auto;
			max-width: 1440px;
		}
	
	
	/* Fonts and line spacing*/

		h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
			font-style: normal;
			margin-top: 0;
			margin-bottom: 1.2em;
		}
		
		h1, .h1 {
			font-size: 2.5em;
			line-height: 1.1em;
			font-weight: 600;
		}

		h2, .h2 {
			font-size: 2em;
			line-height: 1.1em;
			font-weight: 500;
		}
		
		h3, .h3 {
			font-size: 1.33em;
			line-height: 1.1em;
			font-weight: 500;
		}

		h4, .h4 {
			font-size: 1.13em;
			line-height: 1.1em;
			font-weight: 500;
		}
		
		h5, .h5 {
			font-size: 1.08em;
			line-height: 1.1em;
			font-weight: 500;
		}
		
		h6, .h6 {
			font-size: 1.02em;
			line-height: 1.1em;
			font-weight: 500;
		}
		
		p {
			margin: 0 0 1.2em;
			font-size: 1em;
		}

		strong {
			font-weight: 600;
		}
		
		a {
			text-decoration: none;
			color: var(--link-colour);
		}
		
			a:hover, a:focus, a:active {
				text-decoration: underline;
				color: var(--link-colour);
			}
			
			.text-decoration-none a:hover, .text-decoration-none a:focus, .text-decoration-none a:active {
				text-decoration: none;
			}
			
		/*.has-link-color a, .has-text-color a {
			color: inherit;
		}*/

		ul.listing {
			list-style: none;
			margin: 0;
			padding-left: 0;
		}
		
		blockquote {
			margin: 1em 0;
			padding: 1em;
			border: 0 none;
		}
		
			blockquote *:last-child {
				margin-bottom: 0;
			}
		
		p.wp-caption-text {
			text-align: left;
			padding: 1em;
			font-style: italic;
			border-bottom: 2px solid #e7e7e7;
		}
		
		p.author-info, p.tags {
			margin-top: 1em;
		}
		
		.alignleft {
			float: left;
			text-align: left;
		}
		
		.alignright {
			float: right;
			text-align: right;
		}
		
		.aligncenter {
			text-align: center;
			margin: 0 auto;
			display: block;
			clear: both;
		}
		
		ul {
			margin: 1em 0;
			padding-left: 1em;
			list-style: disc outside;
		}
		
		ul.wp-block-list {
			padding-left: 2em;
			list-style: none;
		}
		
		ul.nobullets {
			list-style: none;
			padding-left: 0;
		}

			ul li, ol li {
				margin-bottom: 0.5em;
				position: relative;
			}
			
			ul.children {
				margin-left: 2em;
				margin-bottom: 1em;
			}
			
			aside ul {
				padding-left: 0;
			}
			
		ul.wp-block-post-template {
			padding-left: 0;
			list-style: none;
		}

		ol {
			list-style: outside decimal;
			margin: 1em 0;
			padding-left: 1em;
		}

			ol li {
				font-weight: 400;
			}
		
		.navigation {
			font-size: 1.1em;
			clear: both;
			display: block;
			margin: 0;
			padding: 0.6em 0;
			width: 100%;
		}
		
			.navigation a, .navigation span {
				border: none;
				padding: 0.5em 0.8em;
				margin: 0.1em;
				color: var(--mep-grey);
			}
			
			.navigation a:hover {
				text-decoration: underline;
			}
			
			.navigation span.current {
				font-weight: 500;
				background: var(--mep-red);
				color: var(--mep-white);
				border-radius: 0;
			}
				
		.bs-tooltip-top .tooltip-arrow::before{
			border-top-color: rgba(255,255,255,1);
		}
		
		.bs-tooltip-bottom .tooltip-arrow::before{
			border-bottom-color: rgba(255,255,255,1);
		}
		
		.bs-tooltip-start .tooltip-arrow::before{
			border-left-color: rgba(255,255,255,1);
		}
		
		.bs-tooltip-end .tooltip-arrow::before{
			border-right-color: rgba(255,255,255,1);
		}
	
		.tooltip-inner {
			text-align: left;
			max-width: 300px;
			width: 300px;
			border-radius: 30px;
			background: rgba(255,255,255,1);
			color: #000;
			padding: 1.5em;
		}
		
		.tooltip.show{
			opacity: 1!important;
		}
		
		.tooltip-inner *:last-child {
			margin-bottom: 0;
		}
	
		.tooltip h1, .tooltip h2, .tooltip h3, .tooltip h4, .tooltip h5, .tooltip h6, .tooltip .h1, .tooltip .h2, .tooltip .h3, .tooltip .h4, .tooltip .h5, .tooltip .h6  {
			font-size: 1.1em;
			font-weight: 400;
			color: #0d2c89;
		}
		
		.tooltip .tooltip-inner ul {
			list-style: disc outside;
			text-align: left;
		}
		
		.tooltip .tooltip-inner ul li {
			margin-bottom: 0.4em;
		}
		
		.tooltip .tooltip-inner ul li:last-child {
			margin-bottom: 0;
		}
		
		
	/* Course Categories */
	
		ul.course-cats, ul.courses {
			list-style: none;
			padding-left: 0;
			margin: 2rem 0;
		}
		
			ul.course-cats li, ul.courses li {
				border-bottom: 8px solid var(--wp--preset--color--mep-light-grey);
				margin-bottom: 2rem;
				padding-bottom: 2rem;
			}
			
			ul.course-cats li:last-of-type, ul.courses li:last-of-type {
				border-bottom: none;
				padding-bottom: 0;
			}
			
		
	/* Tables */
		
		table {
			width: 100%;
			margin-bottom: 1em;
			border: 1px solid #fff;
		}
				
			table th {
				font-weight: 600;
				padding: 1.4em 0.8em;
				border-right: 1px solid var(--mep-white);
				color: var(--mep-grey);
				background: var(--mep-white);
			}

			table tr {
				background: #fff;
				border-bottom: 1px solid var(--mep-white);
			}

			table tr th {
				border-right: 1px solid var(--mep-white);
			}

			table tr th:last-of-type {
				border-right: none;
			}

			table tr:nth-of-type(2n) {
				background: var(--mep-light-grey);
			}
			
			table tbody tr:last-of-type {
				border-bottom: none;
			}
			
			table tr td {
				padding: 1.2em;
				border-right: 1px solid var(--mep-white);
			}
			
			table tr td:last-of-type {
				border-right: none;
			}
			
			table ul {
				margin: 0.5em 0;
			}
		
			table ul li {
				margin-bottom: 0.4em;
			}
			
			table i {
				font-size: 1.6em;
				color: #ffffff;
			}

			
		body .accordion-item {
			border-bottom: none;
			border-radius: 0;
			border-top: none;
			border-left: none;
			border-right: none;
		}
		
			.minerva_elite-accordion .accordion-item:last-of-type {
				border-bottom: none;
			}

		body .accordion-button {
			padding: 1em;
			position: relative;
			background: var(--mep-white);
			border: 1px solid #f2f3f7;
			border-radius: 0;
			font-size: 1em;
			font-weight: 500;
			color: var(--mep-grey);
		}
		
			body .accordion-button:not(.collapsed) {
				padding: 1em;
				background: var(--mep-white);
				border: 1px solid #f2f3f7;
				color: var(--mep-red);
				font-weight: 500;
				box-shadow: none;
			}

		
		body .accordion-button:after, body .accordion-button:not(.collapsed)::after {
			position: absolute;
			right: 1em;
			background-image: url('images/tab-arrow.svg');
			width: 20px;
			height: 13px;
			top: 50%;
			margin-top: -7px;
		}
		
		body .accordion-button:not(.collapsed)::after {
			filter: invert(31%) sepia(100%) saturate(4866%) hue-rotate(336deg) brightness(88%) contrast(111%);
		}

		
		
	/* Owl Carousel Slider */
		
		.owl-carousel {
			padding: 0;
			display: none;
		}
		
		.owl-nav {
			width: 100%;
		}
		
			.owl-nav .disabled {
				visibility: hidden;
			}
		
			.owl-nav .owl-prev, .owl-nav .owl-prev:hover {
				background: none;
				color: #000;
				padding: 0;
				visibility: visible;
			}
			
			.owl-nav .owl-next, .owl-nav .owl-next:hover {
				background: none;
				color: #000;
				padding: 0;
				visibility: visible;
				margin-left: 1em;
			}
			
			.owl-nav .owl-prev.disabled, .owl-nav .owl-next.disabled {
				opacity: 0.7;
			}
			
				.owl-nav i {
					font-size: 28px;
					line-height: 0;
					padding: 0;
				}
			
			.owl-dots {
				position: relative;
				text-align: left;
				width: 100%;
				z-index: 10;
			}
			
			.dots-container {
				position: absolute;
				top: -5em;
				z-index: 9;
			}
			
				.owl-dots .owl-dot {
					display: inline-block;
					padding: 0;
					background: none;
				}
				
				.owl-dots .owl-dot:hover {
					background: none;
				}
				
				.owl-dots .owl-dot span {
					background: transparent;
					border: 2px solid var(--mep-grey);
					-webkit-border-radius: 50%;
					border-radius: 50%;
					display: block;
					height: 22px;
					margin: 4px 10px;
					opacity: 1;
					width: 22px;
					transition: all ease 0.2s;
				}
				
				.owl-dots .owl-dot.active span {
					border-radius: 22px;
					background: var(--mep-grey);
					opacity: 1;
				}
				
				.owl-dots .owl-dot:first-of-type span {
					margin-left: 0;
				}			
			
			.owl-carousel .slide-caption {
				font-weight: 300;
			}
			
			.owl-carousel .slide-caption a.link {
				padding: 1.4em 0;
				margin-top: 1em;
				margin-left: 0.6em;
				margin-right: 0.6em;
			}
			
			.owl-carousel .slide-caption a.btn {
				margin-left: 0.4em;
				margin-right: 0.4em;
				margin-top: 1em;
			}
			
			.owl-carousel .slide-caption a:first-of-type {
				margin-left: 0;
			}
			
			.owl-carousel .slide-caption a:last-of-type {
				margin-right: 0;
			}
			
			.owl-carousel .slide-caption *:last-child {
				margin-bottom: 0;
			}

			.owl-carousel .slide-caption h1, .owl-carousel .slide-caption .h1 {
				font-size: 3.7em;
				font-weight: 300;
				letter-spacing: -1px;
			}
			

		.owl-carousel .owl-item img {
			margin: 0;
			position: relative;
			width: auto;
		}
		
		.owl-threecol .owl-stage {
			margin: 3em 0;
		}
		
		.owl-threecol .owl-item {
			opacity: 0.8;
		}
		
		.owl-threecol .owl-item .caption {
			position: absolute;
			top: 0;
			width: 100%;
			left: 0;
			height: 100%;
			text-align: center;
			display: table;
			color: #fff;
		}
		
			.owl-threecol .owl-item .caption a {
				color: #fff;
			}
		
			.owl-threecol .owl-item .caption .inner {
				display: table-cell;
				vertical-align: middle;
				padding: 2em;
			}
			
			.owl-threecol .owl-item.active.center {
				transition: all ease 0.4s;
				-webkit-transform: scale(1.1);
				-moz-transform: scale(1.1);
				transform: scale(1.1);
				opacity: 1;
			}

		.owl-carousel .slide-caption :first-child {
			/*margin-top: 0;*/
			margin-top: -1em;
		}
		
		.owl-carousel .slide-caption :last-child {
			margin-bottom: 0;
		}
		
		img.hero {
			width: 100%;
			height: auto;
		}
	
	.owl-carousel .owl-nav button.owl-next span, .owl-carousel .owl-nav button.owl-prev span {
		font-size: 48px;
	}
		
	.owl-carousel .owl-item img.logo {
		width: 50px;
		border-radius: 50%;
	}
	

	/* Post archive / category */
	
	.header .description *:last-child {
		margin-bottom: 0;
	}
	
	.post .image img, .event .image img {
		width: 100%;
		object-fit: cover;
	}
	.post .image img {
	    height: 260px;
	}
	
	.event .image img {
		height: 400px;
	}

	.post .shadow, .event .shadow  {
		box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1)!important;
		border: 1px solid #E6E6E6;
	}
	
	.cat-dropdown label {
		text-transform: uppercase;
		font-weight: 600;
		font-size: 0.9em;
	}
	
	.event .post-title a {
		font-size: 1.3em;
		color: var(--mep-grey);
	}
	
	.event .event-date {
		font-size: 1.1em;
		font-weight: 500;
		color: var(--mep-red);
	}
	
	a.back-nav {
		color: var(--mep-grey);
	}

	/* Single post*/

	.share .h5 {
		margin-bottom: 1em;
	}
	
	.share a.btn {
		padding: 0;
		margin-right: 0.2em;
		font-size: 2em;
		border: 0 none;
		background: none;
		color: var(--mep-grey);
		transition: all ease 0.2s;
		border-radius: 0;
	}
	
	.share a.btn:after {
		content: "";
		display: none;
	}
	
		.share a.btn:hover {
			opacity: 0.9;
		}

	
	/* Comments styling */
			
	ol.commentlist {
		list-style: none;
		padding: 0;
		margin: 0;
	}
	
	ol.commentlist li {
		background: #e7e7e7;
		padding: 20px;
		margin-bottom: 20px;
	}
	
		ol.commentlist li ul.children {
			margin: 0 0 0 20px;
			list-style: none;
		}
		
		ol.commentlist li ul.children li {
			background: #fff;
			padding: 20px;
		}
		
		ol.commentlist li ul.children li:last-of-type {
			margin-bottom: 0;
		}
	
	h3#comments {
		margin: 0 0 32px;
	}
	
	#respond form#commentform {
		margin: 12px 0 0 0;
	}
	
	.comment .comment-meta, .comment .reply, .comment .comment-author {
		padding: 0 24px 8px 0;
		font-size: 14px;
	}
	
	.comment cite {
		font-style: normal;
	}
	
	.comments .navigation {
		float: none;
		border: 0 none;
		margin: 0;
		padding: 0;
	}
			
		
	/* Widget styling */
		
	.widget {
		height: auto;
		border: none;
		-webkit-box-shadow: none;
		box-shadow: none;
		position: relative;
	}
		.widget:empty {
			margin: 0;
		}
	
		.footer-widgets .widget {
			margin-bottom: 1em;
		}
		
		.footer-widgets .widget-title {
			font-size: 1.2em;
			line-height: 1.1em;
			color: #fff;
		}
		
		.widget_recent_entries ul {
			list-style: none;
			padding: 0;
		}
	
			.widget_recent_entries ul li {
				border-bottom: 1px solid;
				padding-bottom: 0.4em;
				margin-bottom: 0.8em;
			}
			
			.widget_recent_entries ul li:last-of-type {
				border-bottom: none;
				margin-bottom: 0;
			}
	

	/* Image styling */

		img {
			max-width: 100%;
			height: auto;
		}
		
		img.circular, img.circle {
			border-radius: 50%;
		}
		
		img.rounded-corners {
			border-radius: 30px;
		}
		
		figure.wp-block-image {
			margin-bottom: 0;
		}

		.wp-caption {
			max-width: 100%;
		}
		
		.wp-caption.alignnone {
			margin: 0.2em 0.8em 0.8em 0;
		}
		
		.wp-caption.alignleft {
			clear: left;
			float: left;
			display: block;
			margin: 0.2em 0.8em 0.8em 0;
		}
		
		.wp-caption.aligncenter {
			clear: both;
			float: none;
			display: block;
			margin: 0.8em auto;
		}
		
		.wp-caption.alignright {
			clear: right;
			float: right;
			display: block;
			margin: 0.2em 0 0.8em 0.8em;
		}
		
		.wp-block-image figcaption {
			text-align: center;
		}
		
		img.alignnone {
			margin: 0.2em 0.8em 0.8em 0;
		}
		
		img.alignleft {
			clear: left;
			float: left;
			display: block;
			margin: 0.2em 0.8em 0.8em 0;
		}
		
		img.aligncenter {
			margin: 0.8em auto;
			display: block;
			clear: both;
		}
		
		img.alignright {
			clear: right;
			float: right;
			display: block;
			margin: 0.2em 0 0.8em 0.8em;
		}
		
		img.wp-post-image.post-large {
			margin: 0.5em auto 1em;
			clear: both;
		}
		
		.gallery {
			display: block;
		}
		
		.gallery .wp-caption-text {
			padding: 0.5em;
		}
		
		body .gallery .gallery-item img {
			border: 0 none;
		}
		
		p.wp-caption-text {
			text-align: left;
			padding: 0.5em;
			font-style: italic;
		}

	
/*=== 1200px and below ===*/

@media handheld, only screen and (max-width: 1200px) {

	.search-form button {
		padding: 1.3em 1.6em;
	}

	body, .top {
		font-size: 14px;
		line-height: 20px;
	}
			
	footer .footer-nav ul.menu li {
		font-size: 14px;
	}

}

/*=== 992px and below ===*/

@media handheld, only screen and (max-width: 992px) {
	
	header {
		height: 115px;
	}
	
	header .navbar-collapse {
		position: fixed;
		left: 0;
		right: 0;
		top: 115px;
		width: 100%;
		background: var(--light-grey-gradient-vertical);
	}
	
	.moveup-lg {
		margin-top: -3em;
	}
	
	.moveup-md {
		margin-top: -2em;
	}
	
	.moveup-sm {
		margin-top: -1em;
	}
	
	.page-header {
        min-height: 100px;
    }
	
	.page-header .page-start {
		display: none;
	}
	
	#menu-header-primary-menu.navbar-nav .nav-link {
		border-bottom: 1px solid var(--mep-white);
		padding: 1em;
		font-weight: 500;
		position: relative;
	}
	
	button.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
		background-image: url('images/menu-close.svg');
	}
	
	header .dropdown-toggle::after {
		position: absolute;
		right: 1em;
		top: 50%;
		margin-top: -12px;
	}
	
	.navbar-nav .dropdown-menu {
		border-radius: 0;
		border-left: none;
		border-right: none;
	}
	
	.navbar-nav .dropdown-menu .dropdown-item.active {
		background: none;
		color: var(--mep-red);
	}
	
	.navbar-nav ul.dropdown-menu li a {
		padding-bottom: 0.4em;
        margin-bottom: 0.4em;
		background: none;
	}
	
    .navbar-nav ul.dropdown-menu li a:after {
        content: "";
        position: relative;
        display: block;
        height: 1px;
        top: 0.5em;
        width: 100%;
        border-bottom: 1px solid #686B6F;
    }
	
	ul.navbar-nav li.whitebg {
		border-bottom: 1px solid #E8EBF8;
	}
	
	ul.navbar-nav li.whitebg .nav-link {
		width: 100%;
	}

	/* Menu buttons */
	
	ul.navbar-nav li.menu-btn > a.nav-link {
		font-size: 1em;
		line-height: 1em;
		padding: 0.8rem 1.2rem;
		border-radius: 0;
		display: inline-block;
		background: var(--dark-grey-gradient);
		color: var(--mep-white);
		border: 2px solid var(--mep-grey);
		transition: all 0.2s ease;
		margin: 1em;
	}
	
		ul.navbar-nav li.menu-btn > a.nav-link:after {
			border: 0 none;
			content: url('images/btn-arrow.svg');
			width: 25px;
			height: 25px;
			vertical-align: -6px;
			margin-left: .6em;
			position: relative;
			display: inline-block;
		}

	footer .footer-legal {
		border: 0 none;
	}
	
		footer .footer-legal ul.menu {
			padding-left: 0;
		}
		
	.tab-content>.tab-pane {
		display: block;
		opacity: 1;
	}
	
	.search-form .input-group-prepend,
	.search-form .input-group-append {
		width: 50%;
	}
	.search-form .button-wrapper {
		width: 100%;
		margin-top: 1em;
	}
	
	.search-form .button-wrapper-news {
		width: auto;
		margin-top: 0;
	}
	
	.event .image img {
		height: 230px;
	}

}
	
/* ==== Layout for mobile version ====   */

@media handheld, only screen and (max-width: 767px) {

	body .gform_wrapper {
		margin: 0;
	}
		
	h1, .h1, .owl-carousel .slide-caption h1, .owl-carousel .slide-caption .h1 {
		font-size: 2.4em;
		line-height: 1.1em;
	}
	
	.home h1 br {
		display: none;
	}

	h2, .h2 {
		font-size: 1.5em;
		line-height: 1.2em;
	}
	
	h3, .h3 {
		font-size: 1.3em;
		line-height: 1.1em;
	}
	
	h4, .h4 {
		font-size: 1.2em;
		line-height: 1.1em;
	}
	
	header {
		height: 90px;
	}
	
	header .navbar-collapse {
		top: 89px;
	}
	
	.minerva_elite-slider .slide-caption {
		position: relative;
		min-width: 100%;
	}
	
	.owl-fullwidth:before {
		border-bottom: 50px solid transparent;
		border-left: 100vw solid #EAEAEA;
		border-right: 100px solid transparent;
		border-top: none;
	}

	.owl-fullwidth .item {
		max-height: 50vh;
		min-height: 50vh;
	}
	
		.owl-fullwidth.owl-loaded .owl-item:before {
			content: none;
		}
	
	.menu-open .menu-dim {
		opacity: 1;
	}
	
	.modal-dialog {
		margin: 2em auto;
	}
	
	.content.page {
		min-height: 0;
	}
	
	footer {
		margin-top: 0;
		font-size: 1em;
	}
		
		footer .h6 {
			text-align: left;
		}
		
		footer .footer-legal ul.menu {
			padding-left: 0;
			margin-left: 0;
		}
		
		footer .footer-legal ul.menu li {
			margin-left: 0;
		}
		
		footer ul.menu li:last-of-type {
			border: 0 none;
			margin-left: 0;
		}
		
		footer .wp-block-image img {
			max-width: 50%;
		}
		
		.footer-areas {
			margin: 0;
		}
		
		.social-icons {
			float: none;
			clear: both;
			text-align: left;
		}
		
		.social-icons a {
			padding: 6px 5px 4px;
			margin-left: 0;
			margin-right: 7px;
			font-size: 22px;
			line-height: 22px;
		}
	
	.minerva_elite-news .newsbg {
		color: #fff;
		min-height: 0;
		margin: 0;
	}
	
	.owl-carousel.owl-news .owl-stage {
		padding: 0;
	}
	
	.dots-container {
		top: -4em;
		left: 0;
		text-align: center;
	}
	
	#headerSearch {
		height: auto;
	}
	
	.page-header:before {
		top: 50%;
	}

		
	/* Widgets */
		
	.wp-block-social-links {
		margin-top: 0.5em;
		margin-bottom: 0.5em;
	}
		
		
	/* Owl carousel */
	
	.owl-fullwidth:after {
		height: 10px;
	}
	
	.owl-dots {
		width: 100%;
	}	
	
	.owl-nav {
		width: 100%;
		text-align: center;
		z-index: 99;
	}
	
	.owl-carousel {
		position: relative;
	}

	.home .owl-nav .icon {
		color: #212529;
		font-size: 40px;
	}
	
	.owl-carousel .slide-caption h2 {
		font-size: 1.6em;
	}


	/* Image styling */
	
		.alignleft, .alignright, .aligncenter, .alignnone, img.alignleft, img.alignright, img.aligncenter, img.alignnone, .wp-caption.alignleft, .wp-caption.alignright, .wp-caption.aligncenter, .wp-caption.alignnone {
			margin: 1em auto;
			float: none;
			clear: both;
		}
		
		body .gallery .gallery-item {
			width: 100%!important;
			float: none!important;
			clear: both;
			margin: 1em auto
		}

		
	/* PageNavi styling */
		
		.navigation .wp-pagenavi span.pages {
			display: block;
		}
		
		.navigation .wp-pagenavi a {
    		white-space: nowrap;
		}

		
	/* Search */
	
	.search-form {
		width: 100%;
		padding: 0.3em;
	}
	
	.search-form button,
	.search-form input[type="text"],
	.search-form select {
		width: 100%;
	}
	
	.search-form input[type="search"] {
		width: 90%;
	}
	
	.search-form select {
		font-size: 0.9em;
	}
		
	.search-form .input-group-prepend {
		width: 100%;
		margin-bottom: 1em;
	}
	
	.search-form .input-group-append {
		width: 100%;
		margin-top: 1em;
	}
	
	#searchbox::placeholder {
		font-size: 0.8em;
	}
	
	.search-form button.search-submit {
		padding: 1em;
	}


}
