/*
Theme Name: MMD
Theme URI: https://www.mmediadesign.co.uk/
Author: MMD
Author URI: https://www.mmediadesign.co.uk/
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.22.09
*/
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap');
body {
    font-size: 13px;
    font-family: "Sora", sans-serif;
}
a {
    text-decoration: none;
}
.bg-cover {
    background-position: center;
    background-size: cover;
}
.bg-contain {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.bg-blur {
    filter: blur(5px);
    background-position: center;
    background-size: cover;
}
.text-color1 {
    color: #3AB019;
}
.text-color2 {
    color: #eedb07;
}
.bg-color1 {
    background-color: #3AB019;
}
.bg-color2 {
    background-color: #eedb07;
}
.bg-color3 {
    background-color: #f3f7ee;
}
.hover-text-2:hover {
    color: #eedb07 !important
}
.z-index-1 {
    z-index: 1;
}
.fs-normal {
    font-size: 16px;
}
img.aligncenter {
    margin: 0 auto;
    display: block;
}
.wp-element-button {
    letter-spacing: 2px;
    color: #ffffff;
    padding: 18px 30px;
    text-transform: uppercase;
    font-size: 12px;
    background-color: #3AB019;
    transition: 0.4s ease-in-out;
    border-radius: var(--bs-border-radius) !important;
    border: 0;
    display: inline-block;
}
.wp-element-button-1 {
    letter-spacing: 2px;
    color: #ffffff;
    padding: 18px 30px;
    text-transform: uppercase;
    font-size: 12px;
    background-color: #eedb07;
    transition: 0.4s ease-in-out;
    border-radius: var(--bs-border-radius) !important;
    border: 0;
    display: inline-block;
}
.wp-element-button::after,
.wp-element-button-1::after {
    content: "\f061";
    font-family: "Font Awesome 7 Free";
    font-weight: 800;
    margin-left: 8px;
    position: relative;
    transition: 0.4s ease-in-out;
    right: 0;
}
.wp-element-button:hover,
.wp-element-button-1:hover {
    opacity: 0.8;
}
.wp-element-button:hover::after,
.wp-element-button-1:hover::after {
    right: -8px;
}
.container {
    max-width: 1400px;
}
#header {
    position: absolute;
    padding: 40px 0;
    width: 100%;
    z-index: 999;
}
#header.fixed {
    padding: 10px 0;
    margin-top: -45px;
    position: fixed;
}
#header.fixed .main-navigation {
	padding-left: 230px;
}
#header .custom-logo {
    width: 190px;
    height: auto;
    transition: 0.4s ease-in-out;
    position: relative;
    top: 10px;
}
#header.fixed .logo-wrapper {
    padding: 0 !important;
}
#header.fixed #logo,
#header #text-logo {
    display: none;
}
#header.fixed #text-logo {
    display: block;
    position: absolute;
    top: 54px;
    left: 34px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
}
#header.fixed .menu-wrapper {
    padding: 0 !important;
}
#home-banner {
    border-bottom: 44px solid #b9d29c;
}
.page-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}
#home-banner::after,
.page-banner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-image: url('/wp-content/uploads/2025/09/art-1.png');
    background-size: contain;
    width: 100%;
    height: 1180px;
    background-repeat: no-repeat;
    z-index: 0;
}
#home-banner::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
}
.main-navigation > ul.menu > li {
    display: inline;
    margin-left: 22px;
    position: relative;
}
.main-navigation > ul.menu > li:first-child {
    margin-left: 0;
}
.main-navigation > ul.menu > li > a {
    text-transform: uppercase;
    color: #ffffff;
    padding: 21px 0;
    display: inline-block;
    font-weight: bold;
    transition: 0.4s ease-in-out;
    font-size: 12px;
}
.main-navigation > ul.menu > li > a:hover {
    color: #eedb07;
}
.main-navigation > ul.menu > li:nth-last-child(3) {
    margin-left: auto;
    margin-top: auto;
    margin-bottom: auto;
}
.main-navigation > ul.menu > li:nth-last-child(2) {
    margin: auto 8px;
}
.main-navigation > ul.menu > li:nth-last-child(1) {
    margin: auto 0;
}
.main-navigation > ul.menu > li:nth-last-child(-n + 3) > a {
    background-color: #79b649;
    width: 34px;
    height: 34px;
    padding: 9px 0;
    border-radius: 100%;
    text-align: center;
    color: #ffffff !important;
}
.main-navigation ul.menu > li:nth-last-child(-n + 3):hover > a {
    background-color: #eedb07;
}
.main-navigation ul.sub-menu {
    position: absolute;
    background-color: #3AB019;
    border-radius: var(--bs-border-radius-xl) !important;
    box-shadow: var(--bs-box-shadow) !important;
    top: 75px;
    left: 0;
    width: 300px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease-in-out;
}
.main-navigation > ul.menu > li.menu-item-has-children:hover ul.sub-menu {
    opacity: 1;
    visibility: visible;
    top: 70px;
}
.main-navigation ul.sub-menu::before {
    content: "";
    position: absolute;
    top: -36px;
    left: 0;
    width: 100%;
    height: 36px;
    background-color: transparent;
}
.main-navigation ul.sub-menu li {
    display: block;
    margin: 0;
    text-align: left;
}
.main-navigation ul.sub-menu li a {
    padding: 12px 20px;
    display: block;
    color: #ffffff;
    text-transform: uppercase;
}
ul.sub-menu li a:hover {
    color: #eedb07;
}   
#home-banner h1,
.page-banner h1 {
    font-size: 50px;
    font-weight: 200;
    padding-bottom: 25px;
    margin-bottom: 25px;
    position: relative;
}
#home-banner h1::after,
.page-banner h1::after {
    content: "";
    background-image: url("/wp-content/uploads/2025/09/separator.png");
    width: 50px;
    height: 5px;
    position: absolute;
    bottom: 0;
    left: 0;
}
.page-banner h1::after {
    left: 50%;
    transform: translateX(-50%);
}
#home-banner h1 strong {
    font-weight: 800;
}
#services {
    margin-top: 190px;
    margin-bottom: 100px;
}
#services img {
    margin-bottom: 30px;
}
#services h3 {
    font-size: 22px;
    margin-bottom: 40px;
}
#services h2 {
    font-size: 82px;
    color: #3AB019;
    margin-bottom: 30px;
    font-weight: 300;
}
#welcome .thumbnail,
#page-content .thumbnail {
    min-height: 680px;
}
#welcome .right h2,
#page-content h2 {
    font-size: 45px;
    position: relative;
    padding-bottom: 50px;
    margin-bottom: 50px;
}
#welcome .right h2::after,
#page-content h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: calc(100% + 60px);
    height: 10px;
    background-color: #ffffff;
}
#welcome .right p:first-child,
#page-content p:first-child {
    color: #3AB019;
}
#welcome .numbers {
    width: 240px;
    background-color: rgba(0, 0, 0, 0.5);
}
.our-values .title::after {
    content: "";
    background-color: #b9d9a0;
    width: 100%;
    height: 2px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
#news .title::after {
    content: "";
    background-color: #3AB019;
    width: 100%;
    height: 2px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.page-banner {
    height: 500px;
    background-size: cover;
    background-position: center;
    border-bottom: 44px solid #b9d29c;
}
#testimonials {
    margin-top: 200px;
}
.layout .item .content,
.layout .item .thumbnail {
    border-bottom: 1.5rem solid #ffffff;
}
.layout .item .content:last-child {
    border-bottom: 0 !important;
}
.layout .item .content h2 {
    font-size: 18px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 30px;
    font-weight: bold;
}
.layout .item .content h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 5px;
    background-color: #3AB019;
}
.slick-list, .slick-track {
    height: 100%;
}
#team .bg-cover {
    height: 280px;
}
#team .bg-cover .details {
    background-color: rgba(0, 0, 0, 0.8);
    top: 20px;
    left: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.4s ease-in-out;
}
#team .bg-cover:hover .details {
    top: 0;
    overflow: visible;
    opacity: 1;
}
.footer-navigation .menu li {
    list-style: none;
    margin-bottom: 10px;
}
.footer-navigation .menu li a {
    color: #ffffff;
}
.footer-navigation .menu li a i {
    display: none;
}
.footer-navigation .menu li:nth-last-child(-n + 2) {
    display: none;
}
.main-navigation-mobile ul.menu li {
    list-style: none;
}
.main-navigation-mobile ul.menu li a {
    font-size: 16px;
    color: #3AB019;
    display: inline-block;
    width: 100%;
    padding: 5px 0;
    text-transform: uppercase;
    font-weight: bold;
}
.main-navigation-mobile ul.menu .sub-menu li a {
    font-weight: normal;
}
.offcanvas-title .custom-logo {
    width: 100px;
    height: auto;
}
.main-navigation-mobile > ul.menu > li:nth-last-child(-n + 3) > a {
    background-color: #79b649;
    width: 34px;
    height: 34px;
    padding: 7px 0;
    border-radius: 100%;
    text-align: center;
    color: #ffffff !important;
}
.main-navigation-mobile ul.menu li:nth-last-child(3),
.main-navigation-mobile ul.menu li:nth-last-child(2) {
    float: left;
    margin-right: 10px;
}
.main-navigation-mobile ul.menu li.menu-item-has-children > .sub-menu {
    display: none;
    padding: 0px;
    margin-bottom: 20px;
}
.wpcf7-spinner {
    top: 10px;
}
.wpcf7 form .wpcf7-response-output {
    padding: 20px;
}
.btn-contact-us {
    transform: rotate(-90deg);
    right: 80px;
    width: 200px;
    transform-origin: top right;
}
@media (max-width:990px) {
    #header {
        padding: 10px 0;
        background-color: #3AB019;
        border-radius: 50px;
        width: 97%;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 10px !important;
        position: fixed !important;
    }
    #header .custom-logo {
        width: 80px;
        top: 0;
    }
    #header #logo {
        display: block !important;
    }
    #header #text-logo {
        display: none !important;
    }
    #header.fixed .logo-wrapper,
    #header.fixed .menu-wrapper {
        padding: 0 .75rem !important;
    }
    #home-banner,
    .page-banner {
        border-bottom: 22px solid #b9d29c;
    }
    #home-banner img,
    .page-banner img {
        width: 80px;
        bottom: -60px !important;
        right: 20px !important;
    }
    .page-banner h4 {
        font-size: 18px;
    }
    .testimonials-slider h4 {
        font-size: 16px !important;
        line-height: 26px !important;
    }
    #services {
        margin-top: 80px;
        margin-bottom: 80px;
    }
    #services h3 {
        margin-bottom: 20px;
    }
    #welcome .right h2,
    #page-content h2 {
        font-size: 32px;
    }
    #testimonials {
        margin-top: 40px;
    }
    .layout .item .content,
    .layout .item .thumbnail {
        border-bottom: 0 !important;
    }
    #welcome .thumbnail, #page-content .thumbnail {
        min-height: 350px;
    }
	.btn-contact-us {
		right: 32px;
	}
	#home-banner h1, .page-banner h1 {
		font-size: 26px;
	}
}