/*
Theme Name: MMD
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: 2020.12.8
*/
/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap'); */
@font-face {
	font-family: 'BrownStd-Regular';
	src: url('fonts/BrownStd-Regular.otf') format('opentype');
}
@font-face {
	font-family: 'BrownStd-Light';
	src: url('fonts/BrownStd-Light.otf') format('opentype');
}
html {
	height: 100%;
}
p {
    margin-bottom: 1rem;
}
body {
	height: 100%;
	color: #4f4f4f;
	font-family: 'BrownStd-Light';
}
.aligncenter {
    clear: both;
    display: block;
    margin: auto;
}
a {
	text-decoration: none;
}
table th,
table td {
    border: 1px solid #ccc;
    padding: 4px 10px;
	font-size: 14px;
}
.bg-cover {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}
.text-color1 {
	color: #c7143b;
}
.text-color2 {
	color: #212529
}
.bg-color1 {
	background-color: #c7143b;
}
.bg-color2 {
	background-color: #009EE3;
}
.slick-slide {
	outline: 0 !important;
}
.btn-custom1 {
    border-radius: 4px;
    background-color: #F16245;
    color: #ffffff !important;
    letter-spacing: 2px;
    display: inline-block;
    transition: 0.4s;
    text-transform: uppercase;
    overflow: hidden;
    border: 1px solid #C71D45;
    padding-left: 20px;
}
.btn-custom1::after {
    content: "\f105";
    font-family: FontAwesome;
    background-color: #C7143B;
    padding: 10px 20px;
    display: inline-block;
	margin-left: 20px;
}
.btn-custom1:hover,
.wp-block-file .wp-element-button:hover,
.btn-custom2:hover {
	background-color: #C7143B;
}
.btn-custom2 {
    box-shadow: 7px 6px #F0F0F0;
    border-radius: 50px;
    padding: 16px 20px;
    background-color: #009EE3;
    color: #ffffff !important;
    font-weight: bold;
    letter-spacing: 2px;
    display: inline-block;
    transition: 0.4s;
    border: 0;
	text-transform: uppercase;
	font-size: 12px;
}
.wp-block-file .wp-element-button {
    box-shadow: 7px 6px #F0F0F0;
    border-radius: 50px !important;
    padding: 16px 20px !important;
    background-color: #009EE3 !important;
    font-weight: bold !important;
    letter-spacing: 2px;
    transition: 0.4s !important;
    border: 0 !important;
    text-transform: uppercase;
    font-size: 12px !important;
}
.wp-block-file {
    font-size: 16px !important;
}
.nf-field-element input[type='submit'] {
    border-radius: 4px;
    background-color: #F16245;
    color: #ffffff !important;
    letter-spacing: 2px;
    display: inline-block;
    transition: 0.4s;
    text-transform: uppercase;
    overflow: hidden;
    border: 1px solid #C71D45;
    padding: 10px 20px;
}
.nf-field-element input[type='submit']:hover {
	background-color: #C71D45;
}
.z-index-1 {
	z-index: 1;
}
.container {
	max-width: 1250px;
}
#header {
	position: fixed;
	top: 0px;
	left: 0;
	z-index: 9;
	transition: 0.3s;
	padding: 30px 0;
}
#header #logo img {
	width: 220px;
	transition: 0.4s;
}
#header.fixed {
	background-color: rgb(0 0 0 / 0.5);
	padding: 20px 0 0;
}
#header.fixed #logo img {
	width: 140px;
}
.menu-main-menu-container #menu-item-30 > ul.sub-menu {
	background-image: url('images/bg-orange.jpg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.menu-main-menu-container #menu-item-31 > ul.sub-menu {
	background-image: url('images/bg-red.jpg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.menu-main-menu-container #menu-item-32 > ul.sub-menu {
	background-color: #009EE3;
}
.menu-main-menu-container #menu-item-33 > ul.sub-menu {
	background-image: url('images/bg-yellow.jpg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.menu-main-menu-container #menu-item-819 > ul.sub-menu {
	background-color: #00A787;
}
.menu-main-menu-container #menu-item-35 > ul.sub-menu {
	background-image: url('images/bg-purple.jpg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
#menu-main-menu {
	padding: 0;
	margin: 0;
	--bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y)* -1);
    margin-right: calc(var(--bs-gutter-x)* -.5);
    margin-left: calc(var(--bs-gutter-x)* -.5);
}
#menu-main-menu > li {
	list-style: none;
	position: relative;
	flex: 1 0 0%;
	padding: 18px 10px;
	text-align: center;
}
#menu-main-menu > li > a {
	color: #ffffff;
	font-size: 13px;
	transition: 0.3s;
	overflow: hidden;
	font-family: 'BrownStd-Regular';
}
#menu-main-menu > li:nth-child(1) {
	background-color: #f16245;
}
#menu-main-menu > li:nth-child(2) {
	background-color: #C71D45;
}
#menu-main-menu > li:nth-child(3) {
	background-color: #009EE3;
}
#menu-main-menu > li:nth-child(4) {
	background-color: #FEC028;
}
#menu-main-menu > li:nth-child(5) {
	background-color: #00A787;
}
#menu-main-menu > li:nth-child(6) {
	background-color: #521047;
}
#menu-main-menu > li:last-child {
	background-color: #212529;
}
#menu-main-menu > li > .sub-menu {
	position: absolute;
    width: 400px;
    top: 60px;
	text-align: left;
    left: 0;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
    transform: translate3d(0, 30px, 0);
    transition: 0.35s all cubic-bezier(0.65, 0.05, 0.36, 1);
}
#menu-main-menu > li.menu-item-has-children:hover > .sub-menu {
	visibility: visible;
    opacity: 1;
    transform: translate3d(0,0,0);
}
#menu-main-menu > li > .sub-menu > li {
	list-style: none;
}
#menu-main-menu > li > .sub-menu > li > a {
	display: block;
	padding: 8px 20px;
	color: #ffffff;
	transition: 0.3s;
	font-size: 13px;
}
#menu-main-menu > li > .sub-menu > li > .sub-menu > li > a {
	display: block;
	color: #ffffff;
	transition: 0.3s;
	font-weight: 300;
	font-size: 13px;
}
#menu-main-menu > li > .sub-menu > li > a:hover,
#menu-main-menu > li > .sub-menu > li.menu-item-has-children > .sub-menu > li > a:hover {
	color: #222222;
	background-color: rgba(255, 255, 255, 0.5);
}
#menu-main-menu > li.menu-item-has-children > .sub-menu:before {
	content: "";
	width: 100%;
	height: 27px;
	position: absolute;
	top: -27px;
	left: 0;
}
#menu-main-menu > li > .sub-menu > li.menu-item-has-children > a::after {
	content: "\f107";
	font-family: FontAwesome;
	margin-left: 20px;
}
#menu-main-menu > li > .sub-menu > li.menu-item-has-children > .sub-menu {
	padding: 0;
	display: none;
	background-color: rgba(255, 255, 255, 0.5);
}
#menu-main-menu > li > .sub-menu > li.menu-item-has-children > .sub-menu > li {
	list-style: none;
}
#menu-main-menu > li > .sub-menu > li.menu-item-has-children {
	position: relative;
}
#menu-main-menu > li > .sub-menu > li.menu-item-has-children > .sub-menu > li > a {
	display: block;
	padding: 8px 20px;
	color: #222222;
	transition: 0.3s;
	font-weight: 300;
	font-size: 13px;
}
#home-banner {
	height: 100%;
}
#home-banner::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.20);
}
#home-banner h2 {
	font-size: 80px;
	padding: 250px 0;
}
#home-slider,
.slick-list,
.slick-track {
	height: 100%;
}
#slider-boxes .slick-slide {
	height: 300px;
	border-bottom: 9px solid #212529;
}
#slider-boxes .slick-slide a {
	position: absolute;
    left: 50%;
    bottom: 30px;
    width: 192px;
    transform: translateX(-50%);
}
#slider-boxes .slick-slide a:hover {
	color: #ffffff;
}
#slider-boxes .slick-slide a small {
	display: inline-block;
	padding: 10px 0;
}
#slider-boxes .slick-slide a i {
	float: right;
}
#slider-boxes .slick-slide .overlay {
	background-color: rgb(255 255 255 / 0.5);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 104%;
	z-index: -1;
}
/* #slider-boxes .slick-track .slick-active .overlay {
	z-index: 1;
} */
#slider-boxes .slick-track .slick-active + .slick-active .overlay {
	z-index: -1;
}
#slider-boxes .slick-track .slick-active + .slick-active + .slick-active .overlay {
	z-index: -1;
}
#slider-boxes .slick-track .slick-active + .slick-active + .slick-active + .slick-active .overlay {
	z-index: -1;
}
#slider-boxes .slick-arrow {
	position: absolute;
	top: 50%;
	z-index: 1;
	cursor: pointer;
	transform: translateY(-50%);
}
#slider-boxes .fa-chevron-left {
	left: 15%;
}
#slider-boxes .fa-chevron-right {
	right: 15%;
}
.box-side {
    border-bottom: 9px solid #212529;
}
.box-side .overlay {
	background-color: rgb(36 54 108 / 60%);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#get-in-touch {
	margin-top: -300px;
}
#page-banner {
	height: 600px;
}
#home-banner::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url('/wp-content/uploads/2024/01/fade_purple.png') no-repeat;
    background-size: cover;
    background-position: center, top;
    z-index: 0;
}
#breadcrumbs {
	padding: 18px 0;
}
#breadcrumbs a {
	color: #ffffff;
}
#map {
	height: 450px;
}
#mobile-menu {
    position: fixed;
    top: 0;
    background-color: #212529;
    z-index: 2;
    right: -300px;
    transition: 0.5s;
    width: 300px;
    height: 100%;
    padding: 140px 0;
    overflow-y: auto;
}
#mobile-menu ul.menu {
	padding: 0;
	margin: 0;
}
#mobile-menu ul.menu > li {
	list-style: none;
    padding: 5px 20px;
}
#mobile-menu ul.menu > li > a {
    color: #ffffff;
    font-size: 20px;
	position: relative;
}
#mobile-menu ul.menu .sub-menu {
	display: none;
	padding: 10px;
	margin: 0;
	background-color: #24366B;
}
#mobile-menu ul.menu .sub-menu > li {
	list-style: none;
	margin: 5px 0;
}
#mobile-menu ul.menu .sub-menu > li > a {
	color: #ffffff;
}
#pupil-photo .photo {
	height: 250px;
	background-size: 70%;
	background-repeat: no-repeat;
	background-position: center;
}
#downloads .download:nth-child(even) {
	background-color: #f8f9fa;
}
.tablepress thead th {
	background-color: #212529 !important;
	color: #ffffff !important;
}
#accordion-folder h3,
#accordion h3 {
	cursor: pointer;
}
#contact-section::after {
	content: '';
	background-color: rgb(21 28 56 / 75%);
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
#wpcf7-f82-p79-o1 textarea {
	height: 130px;
}
#left-sidebar h2:after {
	content: "";
	width: 25%;
	height: 1px;
	background-color: #C71D45;
	position: absolute;
	left: 26px;
	bottom: 0;
}
#left-sidebar .menu-main-menu-container {
	width: 100%;
}
#sidebar-menu {
	padding: 0;
	margin: 0;
}
#sidebar-menu li {
	list-style: none;
}
#sidebar-menu > li {
	display: none;
}
#sidebar-menu > li.current-menu-parent > a,
#sidebar-menu > li:first-child > a {
	display: none !important;
}
#sidebar-menu > li.current-menu-parent,
#sidebar-menu > li.current-menu-item {
	display: block !important;
}
#sidebar-menu > li.current-menu-parent ul.sub-menu,
#sidebar-menu > li.current-menu-item ul.sub-menu {
	padding: 0;
	margin: 0;
}
#sidebar-menu li > a {
	color: #5a5a5a;
	display: block;
	width: 100%;
	padding: 20px 26px;
	transition: 0.3s;
}
#sidebar-menu li > a:hover,
#sidebar-menu li.current-menu-item > a {
	background-color: #f16245;
	color: #ffffff;
}
#sidebar-menu > li > .sub-menu > li.current-menu-item {
	display: block;
}
.wp-block-file {
	display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
	border-top: 1px solid #dee2e6;
	border-bottom: 1px solid #dee2e6;
	padding: .5rem 0;
	margin-bottom: -1px;
}
.wp-block-file a {
    padding: 9px 0;
}
.wp-block-file a:first-child {
	-ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
	margin: auto;
	color: #222222;
    max-width: 100%;
}
.wp-block-file a:last-child {
	-ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
	display: inline-block;
    font-weight: 400;
    color: #ffffff;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
	background-color: #212529;
}
#tribe-events-pg-template,
.tribe-events-view {
	margin-top: 200px;
}
#after-slider-boxes::after {
	content: '';
	background-color: rgba(0, 0, 0, 0.3);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#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;
}
#social-media > a i {
	transition: all 0.3s;
}
#social-media .gglobe {
	opacity: 1 !important;
}
#social-media a:last-child {
	margin-bottom: 0;
}
#social-media > a:nth-child(1) {
	background-color: #00A787;
}
#social-media > a:nth-child(2) {
	background-color: #009EE3;
}
#social-media > a:nth-child(3) {
	background-color: #FEC028;
}
#social-media > a:nth-child(4) {
	background-color: #3300FF;
}
#social-media > .gtranslate_wrapper {
	background-color: #EA02B8;
}
#social-media > a:nth-child(6) {
	background-color: #C71D45;
}
#social-media > a:hover i {
	transform: scale(1.2);
}
#news .item {
	border-radius: 20px;
}
form#search-form {
    width: 400px;
    height: 100%;
	right: -400px;
	transition: 0.4s;
	z-index: -1;
}
form#search-form.show {
	right: 62px;
}
form#search-form input[type='text'] {
    border: 0;
    width: 100%;
    height: 100%;
    padding-left: 15px;
    outline: 0;
    font-size: 14px;
    background-color: #009EE3;
    color: #ffffff;
}
form#search-form input[type='text']::placeholder {
	color: #ffffff;
}
form#search-form button[type="submit"] {
	position: absolute;
    height: 100%;
    background-color: #3300FF;
    border: 0;
    color: #ffffff;
    right: 0px;
    padding: 0 20px;
}
input[type='text'].ninja-forms-field,
input[type='email'].ninja-forms-field,
input[type='tel'].ninja-forms-field,
input[type='number'].ninja-forms-field,
input[type='date'].ninja-forms-field,
textarea.ninja-forms-field,
select.ninja-forms-field {
	display: block;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.ninja-forms-field:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}
.label-right .checkbox-wrap .nf-field-label {
	padding-left: 0;
}
#scroll-down {
	letter-spacing: 3px;
	bottom: 150px;
}
#scroll-down i {
	transform: translateX(-50%);
	animation: jumpInfinite 1.5s infinite;
}
#scroll-down .icon-wrapper {
	bottom: 65px;
}
@keyframes jumpInfinite {
	0% {
	margin-top: 0;
	}
	50% {
	margin-top: 20px;
	}
	100% {
	margin-top: 0;
	}
}
.schema-faq-section {
    border-top: 1px solid #d3d3d3;
}
.schema-faq .schema-faq-question {
    color: #212529;
    display: block;
    cursor: pointer;
    padding: 24px 0;
    position: relative;
}
.schema-faq .schema-faq-answer {
    display: none;
    padding: 16px 0 48px;
}
.schema-faq-section.opened .schema-faq-answer {
    display: block;
}
.schema-faq-section .schema-faq-question::after {
    content: '\f067';
    font-family: FontAwesome;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}
.schema-faq-section.opened .schema-faq-question::after {
    content: '\f068';
}
#footer ul.menu {
	padding: 0;
	margin: 0;
}
#footer ul.menu > li {
	list-style: none;
}
#footer ul.menu > li a {
	color: #ffffff;
}
@media(max-width: 1430px) {
	#home-banner h2 {
		padding: 80px 0;
	}
	#home-banner .people-banner {
		width: 380px;
		top: -120px;
	}
}
@media(max-width: 1100px) {
	#header-menu:after {
		height: 64px;
	}
	#menu-main-menu > li > a {
		font-size: 10px;
	}
}
@media(max-width: 1024px) {
	#home-banner h2 {
		font-size: 60px;
	}
	#slider-boxes .slick-slide .overlay {
		display: none;
	}
	#page-banner h1 {
		font-size: 40px;
	}
}
@media(max-width: 990px) {
	#left-sidebar {
		display: none;
	}
	#header {
		background-color: rgb(0 0 0 / 0.5);
		padding: 10px !important;
		top: 0 !important;
	}
	#header #logo img {
	    width: 70px;
	}
	#welcome .bg-cover {
		height: 600px !important;
	}
	#welcome .welcome-photo {
		height: auto !important;
	}
	.welcome-photo {
		display: none;
	}
	#tribe-events-pg-template, .tribe-events-view {
		margin-top: 100px;
	}
	#page-banner {
		height: 280px;
	}
}