/*
Theme Name: MMD Version 2
Theme URI: https://www.mmediadesign.co.uk/
Author: MMD
Description: Formed in 2005, MMD are an award-winning Website Design and Marketing Agency working with clients across the UK and Ireland. We have a proven track record in building powerful brands across a range of industries.
Version: 2025.04.29
*/
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
a {
	text-decoration: none;
}
body {
	padding: 40px;
	background-color: #ffffff;
	font-family: "Nunito", sans-serif;
}
.z-index-1 {
	z-index: 1;
}
.text-color1 {
	color: #2b4ca1;
}
.text-color2 {
	color: #98be57;
}
.bg-color1 {
	background-color: #2b4ca1;
}
.bg-color2 {
	background-color: #98be57;
}
.bg-cover {
	background-position: center;
	background-size: cover;
}
.section-title {
	font-size: 16px;
	position: relative;
	text-align: center;
	margin: 0 auto 50px;
	width: fit-content;
	letter-spacing: 3px;
}
.section-title::before {
	content: "";
    width: 170px;
    height: 2px;
    position: absolute;
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
    background-color: #E2E3E5;
}
.section-title::after {
	content: "";
    width: 170px;
    height: 2px;
    position: absolute;
    top: 50%;
    left: -200px;
    transform: translateY(-50%);
    background-color: #E2E3E5;
}
.size-large {
	width: 100%;
}
#burger-menu {
	position: relative;
	float: right;
	top: 0;
    z-index: 999;
	cursor: pointer;
}
#burger {
	display: block;
}
#burger span {
    background: #ffffff;
    display: block;
    width: 40px;
    height: 4px;
    margin-bottom: 8px;
    position: relative;
    top: 0;
    border-radius: 20px;
    transition: all ease-in-out 0.2s;
}
#burger-menu.open span {
	background: #98be57;
}
#burger-menu:hover span:last-child {
    width: 40px;
}
#burger span:last-child {
    width: 25px;
    float: right;
    margin: 0;
}
#burger-menu.open span:nth-child(3) {
    transform: rotate(45deg);
    top: -12px;
    width: 40px;
}
#burger-menu.open span:nth-child(2) {
	width: 0;
	opacity: 0;
}
#burger-menu.open span:nth-child(1) {
	transform: rotate(-45deg);
	top: 12px;
}
.navigation {
    position: fixed;
    width: 360px;
    height: 100vh;
    top: 0;
    right: -360px;
	z-index: 99;
	overflow-y: auto;
	transition: 0.4s;
}
#header .navigation img.custom-logo {
	width: 150px;
}
.navigation.show {
	right: 0;
}
.navigation ul.menu li {
	list-style: none;
	margin: 20px 0;
}
.navigation ul.menu > li > a {
	color: #ffffff;
    transition: 0.4s;
	font-weight: bold;
	text-transform: uppercase;
}
.navigation ul.menu li a.active {
	color: #98be57;
}
.navigation ul.menu ul.sub-menu {
	display: none;
	padding: 10px 0 5px 0;
}
#header #menu-main-menu > li.menu-item-has-children ul.sub-menu > li {
    list-style: none;
    margin: 4px 0;
    overflow: hidden;
}
#header #menu-main-menu > li.menu-item-has-children ul.sub-menu > li a {
	color: #ffffff;
    transition: 0.4s;
	font-size: 14px;
}
#header {
	padding: 75px;
	transition: 0.2s;
}
#header img.custom-logo {
	width: 120px;
	height: auto;
	transition: 0.4s;
}
#header.fixed img.custom-logo {
	width: 100px;
	position: relative;
    top: -93px;
}
#header.fixed .custom-logo-link {
	height: 52px;
	display: block;
	overflow: hidden;
}
#header.fixed {
	padding: 30px;
	background: linear-gradient(to bottom, #2b4ca1 , transparent);
}
#homepage-hero {
	height: calc(100vh - 80px);
}
#homepage-hero::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 300px;
	background-image: linear-gradient(to bottom, black , transparent);
}
#welcome-row .left::after {
	content: "";
	background-image: url('/wp-content/uploads/2021/04/banner1.jpg');
	background-color: #2b4ca1;
	width: 50%;
	position: absolute;
	height: 100%;
	top: 0;
	left: 0;
	background-size: cover;
}
#welcome-row .left::before {
	content: "";
	background-color: #2b4ca1;
	width: 50%;
	position: absolute;
	height: 100%;
	top: 0;
	left: 0;
	opacity: 0.6;
	z-index: 1;
}
#our-school .thumbnail {
	height: 300px;
}
#our-school .item .title {
	background-color: #2b4ca1;
	transition: 0.4s;
}
#our-school .item:hover .title {
	background-color: #98be57;
}
#our-school .item .content {
	background-color: rgba(43, 76, 161, 0.7);
	opacity: 0;
	transition: 0.4s;
	top: 15px;
}
#our-school .item:hover .content {
	opacity: 1;
	top: 0;
}
#newsletter .item i.bi-file-earmark-arrow-down {
	position: relative;
	bottom: 0;
	transition: 0.4s;
}
#newsletter .item:hover i.bi-file-earmark-arrow-down {
	bottom: -10px;
}
.page-banner {
	height: 380px;
}
.page-banner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background-image: linear-gradient(to bottom, rgb(0 0 0 / 40%), transparent);
}
ul#sidebar-menu li.menu-item-has-children ul.sub-menu {
	padding: 0;
	margin: 0;
}
ul#sidebar-menu li.menu-item-has-children ul.sub-menu li a {
	color: #666666;
	display: block;
	border-bottom: 1px solid #fdfdfd;
	padding: 18px 0;
	transition: 0.4s;
}
ul#sidebar-menu li.menu-item-has-children ul.sub-menu li:last-child a {
    border-bottom: 0;
}
ul#sidebar-menu li.menu-item-has-children ul.sub-menu li a:hover {
	color: #98be57;
}
ul#sidebar-menu li.menu-item-has-children ul.sub-menu li.current-menu-item a {
	color: #98be57;
	font-weight: bold;
}
ul#sidebar-menu li.menu-item-has-children ul.sub-menu li.current-menu-item {
	position: relative;
}
ul#sidebar-menu li.menu-item-has-children ul.sub-menu li.current-menu-item a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -38px;
	background-color: #ffffff;
	width: 22px;
    height: 22px;
    transform: translateY(-50%) rotate(45deg);
}
ul#sidebar-menu li.menu-item-has-children > a {
	font-size: 26px;
    color: #2b4ca1;
}
ul#sidebar-menu li,
ul#sidebar-menu li.menu-item-has-children > a i {
	list-style: none;
	display: none;
}
ul#sidebar-menu li.current-menu-parent,
ul#sidebar-menu li.menu-item-has-children li {
	display: block;
}
.page-content .page-title {
	color: #666666;
}
.page-content .page-title::after {
	content: "";
	position: absolute;
	width: 100%;
	height: 6px;
	background-color: #2b4ca1;
	left: 0;
	bottom: 0;
}
.page-content .wp-block-image:first-of-type {
	position: relative;
	margin: 50px 0 60px 0;
}
.page-content ul {
	padding-left: 20px;
}
.page-content .wp-block-image {
	margin-bottom: 1rem;
}
.page-content .wp-block-column .wp-block-image:first-of-type {
	margin: 0;
}
.page-content .wp-block-gallery .wp-block-image:first-of-type img,
.page-content .wp-block-column .wp-block-image:first-of-type img {
	border-radius: 0;
}
.page-content .wp-block-gallery .wp-block-image:first-of-type::after,
.page-content .wp-block-column .wp-block-image:first-of-type::after {
	display: none;
}
.page-content .left {
	top: 95px;
	background-color: #E2E3E5;
}
#breadcrumbs a {
	color: #ffffff;
}
#social-media {
	z-index: 1;
}
#social-media > a,
#social-media .gtranslate_wrapper {
    display: block;
    text-align: center;
    padding: 15px 20px;
	color: #ffffff;
	font-size: 18px;
	border-bottom: 1px solid #2b4ca1;
	background-color: #2b4ca1;
	transition: 0.3s ease-in-out;
}
#social-media > a:hover,
#social-media .gtranslate_wrapper:hover {
	background-color: #98be57;
}
#social-media .gglobe {
	opacity: 1 !important;
}
#social-media a:last-child {
	border-bottom: 0;
}
form#search-form {
    width: 400px;
    height: 100%;
	right: -400px;
	transition: 0.4s;
	z-index: -1;
}
form#search-form.show {
	right: 59px;
}
form#search-form input[type='text'] {
    border: 0;
    width: 100%;
    height: 100%;
    padding-left: 15px;
    outline: 0;
    font-size: 14px;
    background-color: #98be57;
    color: #ffffff;
}
form#search-form input[type='text']::placeholder {
	color: #ffffff;
}
form#search-form button[type="submit"] {
	position: absolute;
    height: 100%;
    background-color: #98be57;
    border: 0;
    color: #ffffff;
    right: 0px;
    padding: 0 20px;
	border-left: 1px solid;
}
.gm-ui-hover-effect {
    display: none !important;
}
.wpcf7-response-output {
    padding: 20px !important;
}
span.wpcf7-spinner {
	top: 50%;
	transform: translateY(-50%);
}
.wpcf7-quiz {
    width: 60px;
}