/*
 Theme Name:   MGY
 Theme URI:    http://mgy.com/
 Description:  MGY Theme
 Author:       CCSW
 Author URI:   http://ccsw.co.uk
 Template:     Divi
 Version:      1.0.0
*/

:root {
    --light-blue: #608EC7;
    --medium-blue: #007bff;
    --medium-dark-blue: #25418A;
    --mgy-dark-blue: #1A2D59;
    --mgy-blue: #002546;

    --charcoal: #231F20;

    /** Change font **/
    --cc-font-family: Roboto;

    --cc-primary-color: #002546;

    /** Change button primary color to black **/
    --cc-btn-primary-bg: #002546;
    --cc-btn-primary-border-color: #002546;
    --cc-btn-primary-hover-bg: #244E90;
    --cc-btn-primary-hover-border-color: #244E90;

    --cc-btn-secondary-bg: #002546;
    --cc-btn-secondary-color: #fff;
    --cc-btn-secondary-border-color: #002546;
    --cc-btn-secondary-hover-bg: #244E90;
    --cc-btn-secondary-hover-color: #fff;
    --cc-btn-secondary-hover-border-color: #244E90;

    --cc-footer-color: #fff;

    --cc-toggle-on-bg: #007bff;
    --cc-toggle-off-bg: #002546;

    /** Also make toggles the same color as the button **/
    --cc-toggle-on-bg: var(--cc-btn-primary-bg);

    /** Make the buttons a bit rounder **/
    --cc-btn-border-radius: 10px;
}

#cc-main .cc__link:hover, #cc-main a:hover {
    color: var(--medium-blue);
}

p {
    margin: 0;
    padding: 0;
    font-family: 'montserrat';
}

.container {
    width: 80% !important;
    max-width: 1080px;
}

input, textarea {
    font-family: 'montserrat';
}

button {
    font-family: 'montserrat' !important;
}

body {
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
}

/* iframe {
  width: 100% !important;
  height: 500px !important;
} */

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* CUSTOM MENU */

.site-navbar-wrap {
    position: fixed;
    z-index: 99;
    width: 100%;
    left: 0;
    top: 0;
    height: 100px;
}

.site-navbar-wrap a {
    color: #006f6b;
}

.site-navbar-wrap .site-navbar-top {
    font-size: 0.8rem;
}

.menuHeight {
    height: 100px;
    padding-left: 15px;
    padding-right: 15px;
}

.icon-menu {
    color: #fff;
    font-size: 3rem;
}

.icon-menu:hover {
    color: #f6aa21;
}

.site-navbar-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.site-navbar {
    margin-bottom: 0px;
    background-color: #25418a;
    width: 100%;
}

.site-navbar .site-logo {
    font-weight: 200;
    line-height: 0;
    position: relative;
}

.site-navbar .site-logo a {
    position: relative;
    height: 100%;
    display: block;
    width: 50px;
}

.site-logo img {
    max-height: 50px;
    max-width: 50px;
}

.site-navigation .container-fluid {
    display: flex;
    justify-content: flex-end;
}

.site-navbar .site-navigation .site-menu {
    margin-bottom: 0;
}

.site-navbar .site-navigation .site-menu a {
    text-decoration: none !important;
    display: inline-block;
    font-weight: 500;
}

.site-navbar .site-navigation .site-menu > li {
    display: inline-block;
    padding: 10px 5px;
}

.site-navbar .site-navigation .site-menu > li > a {
    padding: 20px 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    text-decoration: none !important;
}

.site-navbar .site-navigation .site-menu > li > a.active {
    color: #fff;
}

.site-navbar .site-navigation .site-menu > li > a:hover {
    color: #fff;
}

.site-navbar .site-navigation .site-menu > li:last-child {
    padding-right: 0;
}

.site-navbar .site-navigation .site-menu > li:last-child > a {
    padding-right: 0;
}

.site-navbar .site-navigation .site-menu .has-children {
    position: relative;
}

.site-navbar .site-navigation .site-menu .has-children > a {
    position: relative;
    padding-right: 20px;
}

.site-navbar .site-navigation .site-menu .has-children > a:before {
    position: absolute;
    content: "\e313";
    font-size: 16px;
    top: 50%;
    right: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    font-family: 'icomoon';
}

.site-navbar .site-navigation .site-menu .has-children .dropdown {
    visibility: hidden;
    opacity: 0;
    top: 100%;
    position: absolute;
    text-align: left;
    -webkit-box-shadow: 0 0px 4px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 0 0px 4px 0px rgba(0, 0, 0, 0.25);
    padding: 0px 0;
    margin-top: 20px;
    margin-left: 0px;
    background: #fff;
    -webkit-transition: 0.2s 0s;
    -o-transition: 0.2s 0s;
    transition: 0.2s 0s;
    border-radius: 4px;
}

.site-navbar .site-navigation .site-menu .has-children .dropdown.arrow-top {
    position: absolute;
}

.site-navbar .site-navigation .site-menu .has-children .dropdown.arrow-top:before {
    bottom: 100%;
    left: 20%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.site-navbar .site-navigation .site-menu .has-children .dropdown.arrow-top:before {
    border-color: rgba(136, 183, 213, 0);
    border-bottom-color: #fff;
    border-width: 10px;
    margin-left: -10px;
}

.site-navbar .site-navigation .site-menu .has-children .dropdown a {
    font-size: 14px;
    text-transform: none;
    letter-spacing: normal;
    -webkit-transition: 0s all;
    -o-transition: 0s all;
    transition: 0s all;
    color: #343a40;
}

.site-navbar .site-navigation .site-menu .has-children .dropdown a.active {
    color: #007bff;
}

.site-navbar .site-navigation .site-menu .has-children .dropdown .active > a {
    color: #fff !important;
}

.site-navbar .site-navigation .site-menu .has-children .dropdown > li {
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 200px;
}

.site-navbar .site-navigation .site-menu .has-children .dropdown > li:first-child > a {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.site-navbar .site-navigation .site-menu .has-children .dropdown > li:last-child > a {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.site-navbar .site-navigation .site-menu .has-children .dropdown > li > a {
    padding: 9px 20px;
    display: block;
}

.site-navbar .site-navigation .site-menu .has-children .dropdown > li > a:hover {
    background: #ebeef0;
    color: #212529;
}

.site-navbar .site-navigation .site-menu .has-children .dropdown > li.has-children > a:before {
    content: "\e315";
    right: 20px;
}

.site-navbar .site-navigation .site-menu .has-children .dropdown > li.has-children > .dropdown, .site-navbar .site-navigation .site-menu .has-children .dropdown > li.has-children > ul {
    left: 100%;
    top: 0;
}

.site-navbar .site-navigation .site-menu .has-children .dropdown > li.has-children:hover > a, .site-navbar .site-navigation .site-menu .has-children .dropdown > li.has-children:active > a, .site-navbar .site-navigation .site-menu .has-children .dropdown > li.has-children:focus > a {
    background: #ebeef0;
    color: #212529;
}

.site-navbar .site-navigation .site-menu .has-children:hover > a, .site-navbar .site-navigation .site-menu .has-children:focus > a, .site-navbar .site-navigation .site-menu .has-children:active > a {
    color: #fff;
}

.site-navbar .site-navigation .site-menu .has-children:hover, .site-navbar .site-navigation .site-menu .has-children:focus, .site-navbar .site-navigation .site-menu .has-children:active {
    cursor: pointer;
}

.site-navbar .site-navigation .site-menu .has-children:hover > .dropdown, .site-navbar .site-navigation .site-menu .has-children:focus > .dropdown, .site-navbar .site-navigation .site-menu .has-children:active > .dropdown {
    -webkit-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s;
    margin-top: 0px;
    visibility: visible;
    opacity: 1;
}


/* .menuMargin {
  margin-top:57px !important;
} */

.nav-title {
    pointer-events: none;
}

.headerMenuWidget {
    height: 100px;
}

.headerMenuWidget .et_pb_module {
    border-right: none;
}

.headerMenuWidget .et_pb_row, .headerMenuWidget .et_pb_row .et_pb_column, .headerMenuWidget .et_pb_row .et_pb_column .et_pb_module {
    height: 100px;
}


/* @media (max-width:782px) {

.menuMargin {
  margin-top: 43px !important;
}
} */
.site-mobile-menu {
    width: 100%;
    padding: 0px;
    top: 0;
    text-align: center;
    position: fixed;
    right: 0;
    z-index: 2000;
    background: #25418a;
    height: calc(100vh);
    -webkit-transform: translateX(110%);
    -ms-transform: translateX(110%);
    transform: translateX(110%);
    -webkit-box-shadow: -10px 0 20px -10px rgba(0, 0, 0, 0.1);
    box-shadow: -10px 0 20px -10px rgba(0, 0, 0, 0.1);
    -webkit-transition: .3s all ease-in-out;
    -o-transition: .3s all ease-in-out;
    transition: .3s all ease-in-out;
}

.offcanvas-menu .site-mobile-menu {
    -webkit-transform: translateX(0%);
    -ms-transform: translateX(0%);
    transform: translateX(0%);
}

.site-mobile-menu .site-mobile-menu-header {
    width: 100%;
    display: flex;
    align-items: center;
    height: 100px;
    margin: auto;
}

.site-mobile-menu-header .site-logo {
    text-align: left;
    padding: 0px 20px;
}

.site-mobile-menu-header .site-logo a {
    padding-left: 10px;
}

.site-mobile-menu-header .site-mobile-menu-close {
    text-align: end;
    padding: 0px 20px;
}

.site-mobile-menu .site-mobile-menu-header .site-mobile-menu-close {
    float: right;
}

.site-mobile-menu .site-mobile-menu-header .site-mobile-menu-close span {
    font-size: 3rem;
    color: #fff;
    display: inline-block;
    padding-left: 10px;
    padding-right: 0px;
    line-height: 1;
    cursor: pointer;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
}

.site-mobile-menu .site-mobile-menu-header .site-mobile-menu-close span:hover {
    color: #f6aa21;
}

.site-mobile-menu .site-mobile-menu-header .site-mobile-menu-logo {
    float: left;
    margin-top: 10px;
    margin-left: 0px;
}

.site-mobile-menu .site-mobile-menu-header .site-mobile-menu-logo a {
    display: inline-block;
    text-transform: uppercase;
}

.site-mobile-menu .site-mobile-menu-header .site-mobile-menu-logo a img {
    max-width: 70px;
}

.site-mobile-menu .site-mobile-menu-header .site-mobile-menu-logo a:hover {
    text-decoration: none;
}

.site-mobile-menu .site-mobile-menu-body {
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    position: relative;
    padding: 4vw;
    height: calc(100vh - 52px);
    padding-bottom: 150px;
}

.site-mobile-menu .site-nav-wrap {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
}

.site-mobile-menu .site-nav-wrap a {
    padding: 10px 20px;
    display: block;
    position: relative;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.et_fixed_nav.et_show_nav #page-container {
    padding-top: 0px !important;
}

.site-mobile-menu .site-nav-wrap a.active, .site-mobile-menu .site-nav-wrap a:hover {
    color: #f6aa21 !important;
}

.site-mobile-menu .site-nav-wrap li {
    position: relative;
    display: block;
    text-align: left;
}

/* .site-mobile-menu .site-nav-wrap li.active > a {
        color: #007bff; } */
.site-mobile-menu .site-nav-wrap .arrow-collapse {
    position: absolute;
    display: none;
    right: 0px;
    top: 10px;
    z-index: 20;
    width: 36px;
    height: 36px;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;
}

@media screen and (max-width: 767px) {
    .site-mobile-menu .site-nav-wrap .arrow-collapse {
        display: block;
    }
}

.site-mobile-menu .site-nav-wrap .arrow-collapse:hover {
    background-color: #f6aa21;
    color: #fff;
}

.site-mobile-menu .site-nav-wrap .arrow-collapse:before {
    font-size: 12px;
    z-index: 20;
    font-family: "icomoon";
    content: "\f078";
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%) rotate(-180deg);
    -ms-transform: translate(-50%, -50%) rotate(-180deg);
    transform: translate(-50%, -50%) rotate(-180deg);
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    color: #fff;
}

.site-mobile-menu .site-nav-wrap .arrow-collapse.active:before {
    color: #fff;
}

.site-mobile-menu .site-nav-wrap .arrow-collapse.collapsed:before {
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/* .site-mobile-menu .site-nav-wrap > li {
      display: block;
      position: relative;
      float: left;
      width: 100%; } */
.site-mobile-menu .site-nav-wrap > li > a {
    padding-left: 20px;
    font-size: 20px;
    letter-spacing: 2px;
    font-weight: 400;
}

.site-mobile-menu .site-nav-wrap > li > ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

@media screen and (min-width: 768px) {
    .site-mobile-menu .site-nav-wrap > li > ul {
        display: block;
    }
}

.site-mobile-menu .site-nav-wrap > li > ul > li {
    display: block;
    margin: 0;
}

.site-mobile-menu .site-nav-wrap > li > ul > li > a {
    /* padding-left: 40px; */
    font-size: 16px;
}

.site-mobile-menu .site-nav-wrap > li > ul > li > ul {
    padding: 0;
    margin: 0;
}

.site-mobile-menu .site-nav-wrap > li > ul > li > ul > li {
    display: block;
}

.site-mobile-menu .site-nav-wrap > li > ul > li > ul > li > a {
    font-size: 16px;
    padding-left: 60px;
}

.sticky-wrapper {
    position: absolute;
    z-index: 100;
    width: 100%;
}

.sticky-wrapper + .site-blocks-cover {
    margin-top: 96px;
}

.sticky-wrapper .site-navbar {
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
}

.sticky-wrapper .site-navbar ul li.active a {
    color: #fff;
}

.sticky-wrapper.is-sticky .site-navbar {
    background-color: #25418a;
}

.sticky-wrapper.is-sticky .site-navbar .site-navigation .site-menu > li {
    display: inline-block;
    padding: 10px 5px;
}

.sticky-wrapper.is-sticky .site-navbar .site-navigation .site-menu > li:last-child {
    padding-right: 0;
}

.sticky-wrapper.is-sticky .site-navbar .site-navigation .site-menu > li:last-child > a {
    padding-right: 0;
}

.sticky-wrapper.is-sticky .site-navbar .site-navigation .site-menu > li.has-children > a {
    padding-right: 20px;
}

.sticky-wrapper.is-sticky .site-navbar .site-navigation .site-menu > li > a {
    padding: 10px 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
}

.sticky-wrapper.is-sticky .site-navbar .site-navigation .site-menu > li > a:hover {
    color: #fff !important;
}

.sticky-wrapper.is-sticky .site-navbar .site-navigation .site-menu > li > a.active {
    color: #fff !important;
}

.sticky-wrapper.is-sticky .site-navbar .site-navigation .site-menu > li.active a {
    color: #fff;
}

.site-mobile-menu .site-nav-wrap > li > a {
    color: #f6aa21 !important;
}

.site-mobile-menu .site-nav-wrap .has-children {
    margin-bottom: 30px;
}

@media screen and (max-width: 767px) {
    .site-mobile-menu .site-nav-wrap .has-children {
        margin-bottom: 15px;
    }
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}


a {
    font-family: 'montserrat';
}

::placeholder {
    font-family: 'montserrat';
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    margin-bottom: 0 !important;
    font-family: 'montserrat';
}

span {
    font-family: 'montserrat';
}

#contact-2 {
    width: 100%;
}

.contactIconsContainer {
    display: flex;
    align-items: center;
    justify-items: center;
    width: 100%;
    flex-direction: column;
}

.contactIcons {
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contactIconsContainer .row {
    width: 100%;
    gap: 80px;
}

.contactIconsContainer h3 {
    color: #f6aa21;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: 5px;
    line-height: 40px;
    max-width: 450px;
}

.contactIcons img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.contactIcons img:hover {
    filter: brightness(0) saturate(100%) invert(70%) sepia(29%) saturate(1299%) hue-rotate(347deg) brightness(103%) contrast(93%);
}

.contactContainerFlex {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 4vw;
}

@media (max-width: 767px) {
    .contactIconsContainer .row {
        gap: 0px;
    }
}

/* .contactIcons span {
  border-bottom: 3px solid #f6aa21;
  color: #fff;
} */

.contactIcons span {
    font-size: 18px;
    letter-spacing: 3.6px;
    line-height: 30px;
    font-weight: 600;
    color: #F6AA21;
}

.et_pb_text_3 h3 {
    width: 275px;
    margin: auto;
    border-bottom: 3px solid #f6aa21;
    color: #fff;
}

.et_pb_sidebar_0 {
    background-color: #192e58;
}

.footerMenu .et_pb_menu__wrap {
    justify-content: flex-start;
    background: #231f20;
}

footer .et_pb_text_inner p {
    font-size: 14px;
}

.footerMenu .nav {
    flex-direction: column;
}

.footerMenu .et-menu-nav {
    border-bottom: 3px solid gray;
    padding-bottom: 25px;
}

footer .nav li a {
    color: #d5d4d4;
}


.fixedMenuContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    text-align: center;
    position: fixed;
    max-width: 300px;
    right: 0;
    z-index: 999999;
    top: 40%;
}

@media screen and (max-width: 576px) {
    .fixedMenuContainer {
        display: none;
    }
}

.fixedMenu .et_pb_module {
    background: transparent;
}

.fixedMenuContainer img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.fixedMenuContainer a {
    height: 60px;
    width: 60px;
    white-space: nowrap;
    overflow: hidden;
    padding: 10px;
    display: flex;
    flex-direction: initial;
    align-items: center;
    justify-content: center;
    gap: 20px;
    -webkit-box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.75);
}

.fixedMenuContainer a span {
    display: none;
    opacity: 0;
    font-size: 16px;
    color: #fff;
    font-family: 'montserrat';
    letter-spacing: 2px;
    font-weight: 500;
}

.fixedMenuContainer a:last-child span {
    font-size: 16px;
    color: #fff;
    font-family: 'montserrat';
    letter-spacing: 2px;
}

.fixedMenu div div {
    border-right: 0px;
}

#fixedmenu-2 {
    width: 100%;
    margin: 0px;
}

.icon1 {
    background: #0B2444;
}

.icon2 {
    background: #244E90;
}

.icon3 {
    background: #316AA8;
}

.icon4 {
    background: #608EC7;
}

.bullet-color ul li::marker {
    color: #f6aa21;
}

.bullet-color ul {
    list-style-type: square;
}

.sectionPadding {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}

.openingHoursDay {
    text-transform: uppercase;
}

@media (max-width: 500px) {
    .sectionPadding {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
}


/* carousel */

.dica-container .swiper-buttton-container {
    transform: translate(0, -90px);
}

.dica-container .swiper-button-next:hover::before, .dica-container .swiper-button-prev:hover::before {
    color: #25418a !important;
}

@media (max-width: 1400px) {
    .dica-container .swiper-buttton-container {
        transform: translate(0, -90px);
    }
}

@media (max-width: 991px) {
    .dica-container .swiper-buttton-container {
        transform: translate(0, -90px);
    }
}


/* CONTACT PAGE */

.contactPageTitleContainer {
    background-color: #1a2d59;
    padding: 80px 4vw;
}

@media screen and (max-width: 576px){
    .contactPageTitleContainer {
        padding: 50px calc(4vw + 0.75rem);
    }
}

.contactPageTitleContainer h2 {
    color: #F6AA21;
    letter-spacing: 3px;
    font-size: 30px;
    font-family: 'montserrat';
    font-weight: 600;
}

.contactMap img {
    width: 100%;
}


.contactFollowUs {
    background-color: #25418a;
    padding: 100px 4vw;
}

@media screen and (max-width: 576px) {
    .contactFollowUs {
        padding: 50px calc(4vw + 0.75rem);
    }
}

.contactFollowUs span {
    display: block;
    height: 100%;
}

.contactFollowUs span a {
    margin-right: 25px;
}

.contactFollowUs h4 {
    color: #F6AA21;
    font-size: 20px;
    letter-spacing: 3px;
    font-weight: 500;
}

.contactHoursContainer {
    padding: 130px 4vw;
    background-color: #1a2d59;
}

@media screen and (max-width: 767px) {
    .contactHoursContainer {
        padding: 100px 4vw;
    }
}

.contactHours h4, .outOfHoursEmergency h4 {
    color: #F6AA21;
    font-size: 20px;
    letter-spacing: 3px;
    font-weight: 500;
    line-height: 40px;
}

.contactHours p {
    font-size: 16px;
    color: #fff;
    letter-spacing: 2px;
    display: flex;
    justify-content: space-between;
}

.outOfHoursEmergency h5 {
    color: #fff;
    font-size: 16px;
    letter-spacing: 2px;
    font-weight: 500;
}

.outOfHoursEmergency p {
    font-size: 13px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

@media screen and (max-width: 576px){
    .outOfHoursEmergency p {
        flex-direction: column;
        align-items: start;
    }
}

.outOfHoursTel {
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    letter-spacing: 2px;
}


.contactFormContainer {
    padding: 100px 10vw;
    background: #fff;
}

@media screen and (max-width: 991px){
    .contactFormContainer {
        padding: 100px 4vw;
    }
}

@media screen and (max-width: 576px) {
    .contactFormContainer {
        padding: 50px calc(4vw + 0.75rem);
    }
}

.contactFormContainer h2 {
    font-size: 20px;
    color: #25418a;
    font-weight: 500;
    letter-spacing: 3px;
}

.contactForm label {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #25418a;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.contactForm input, .contactForm select {
    border: 1px solid #231F20;
    padding: 10px 20px;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
    color: #000;
}


.contactForm textarea {
    border: 1px solid #231F20;
    padding: 10px;
}

.postcodeLabel input, .postcodeLabel .styledSelect {
    width: 100%;
    min-height: 46px;
    appearance: none;
    background: url(/wp-content/themes/mgy/assets/images/searchyellow.png) no-repeat;
    background-position-x: calc(100% - 5px);
    background-position-y: center;
    background-size: 25px;
    letter-spacing: 0;
    color: #000;
    background-color: #fff;
}

.search_wrap {
    position: relative;
}

.postcodeLabel img {
    max-width: 15%;
    transform: translateX(-35px);
}

.postcodeLabel span {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contactForm .radioLabel {
    display: flex;
    flex-direction: initial;
    color: #231f20;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    padding: 0px;
    align-items: center;
}

.contactForm .radioLabelContainer {
    margin-left: 0px;
    margin-right: 0px;
}

.contactForm .tncAgreement {
    font-size: 12px;
    position: relative;
}

.contactTermsText {
    letter-spacing: 0;
}

.contactTermsText a {
    color: #F6AA21;
}

.contactTermsText a:hover {
    text-decoration: underline;
}

.requestAValuation .contactForm button {
    position: absolute;
    right: 0;
    background: none;
    border: 0;
    font-size: 16px;
    font-family: 'montserrat';
    color: #fff;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 10px;
    text-decoration-color: #f6aa21;
    text-decoration-thickness: 6px;
}

input[type=radio] {
    border: 1px solid #231F20;
    padding: 0.5em;
    -webkit-appearance: none;
}

input[type=checkbox] {
    border: 1px solid #231F20;
    padding: 0.5em;
    -webkit-appearance: none;
}

input[type=radio]:checked {
    background: url(/wp-content/themes/mgy/assets/images/Oval.png) no-repeat center center;
    background-size: 10px 10px;
}

input[type=checkbox]:checked {
    background: url(/wp-content/themes/mgy/assets/images/Oval.png) no-repeat center center;
    background-size: 10px;
}


input[type=radio]:not(:checked) {
    background: none;
    background-size: 12px 12px;
}

input[type=checkbox]:not(:checked) {
    background: none;
    background-size: 12px 12px;
}


input[type=radio]:focus {
    outline-color: transparent;
}

input[type=checkbox]:focus {
    outline-color: transparent;
}

.underContactFormImage img {
    width: 100%;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

@media (min-width: 767px) {
    .contactHoursContainer {
        height: 100%;
    }
}

/* CONTACT SWIPER */

.locationMap {
    height: 500px;
    width: 100%;
}

.contactSwiper {
    width: 100%;
    height: 100%;
    min-height: 40vh;
    overflow-x: hidden;
}

.contactSwiper .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: transparent;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: 40vh;
    flex-direction: column;
    padding: 20px;
}

@media screen and (max-width: 576px) {
    .contactSwiper .swiper-slide {
        padding: 0;
    }
}

.contactSwiper .swiper-slide p {
    text-align: left;
    color: #fff;
    margin-bottom: 0px;
}

.contactSwiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 300px;
}

.contactSwiper .swiper {
    margin-left: auto;
    margin-right: auto;
    min-height: 40vh;
}

.contactSwiperContainer {
    min-height: 40vh;
    position: relative;
    padding: 150px;
    background-color: #25418a;
}

@media scree and (max-width: 768px) {
    .contactSwiperContainer {
        min-height: auto;
    }
}

.contactSwiperContainer .container {
    width: 100% !important;
    max-width: 1500px;
}

.contactSwiper .swiper-slide p, .contactSwiper .swiper-slide h4 {
    font-size: 16px;
    letter-spacing: 2px;
    text-align: left;
    text-transform: uppercase;
}

.contactSwiperLocation {
    color: #F6AA21;
    font-weight: 600;
}

.contactSwiperDep {
    color: #fff;
    font-weight: 600;
    line-height: 20px;
}

.contactSwiperTel {
    color: #F6AA21;
    font-weight: 600;
}

.contactSwiperContainer h3 {
    color: #F6AA21;
    font-weight: 600;
    letter-spacing: 2px;
    text-align: center;
}

.contactSwiperContainer .swiper-pagination {
    width: 100%;
    left: 0;
    padding: 40px 0px;
}

.contactSwiperContainer .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 100%;
    background: transparent;
    opacity: 1;
    border: 1px solid #fff;
    margin: 0px 3px;
}

.swiper-button-next, .swiper-button-prev {
    z-index: 1 !important;
}

.contactSwiperContainer .swiper-pagination-bullet-active {
    background-color: #fff;
}

.contactSwiperContainer .swiper-button-next {
    right: 90px;
    z-index: 1000 !important;
    color: #fff;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23fff'%2F%3E%3C%2Fsvg%3E") !important;
}

.contactSwiperContainer .swiper-button-prev {
    left: 90px;
    color: #fff;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23fff'%2F%3E%3C%2Fsvg%3E") !important;

}

.contactSwiperContainer .swiper-button-next:hover, .contactSwiperContainer .swiper-button-prev:hover {
    filter: brightness(0) saturate(100%) invert(66%) sepia(87%) saturate(662%) hue-rotate(344deg) brightness(101%) contrast(93%);
}

@media (max-width: 600px) {
    .contactSwiperContainer {
        padding: 50px 4vh;
    }

    .contactSwiperContainer .container {
        width: 100%;
    }

    .contactHoursContainer {
        padding: 50px calc(4vw + 0.75rem);
    }

    .contactSwiperContainer .swiper-button-next {
        right: 10px;
    }

    .contactSwiperContainer .swiper-button-prev {
        left: 10px;
    }
}

/* Office Swiper */

.offices-slider, .locationMap {
    position: relative;
    height: 700px; /* Default height */
    aspect-ratio: 4 / 3;
}

/* For very wide screens */
@media screen and (min-width: 1600px) {
    .offices-slider, .locationMap {
        height: 70vh;
    }
}

@media screen and (min-width: 2000px) {
    .offices-slider, .locationMap {
        height: 70vh;
    }
}

/* For narrower screens */
@media screen and (max-width: 1200px) {
    .offices-slider, .locationMap {
        height: 60vh;
    }
}

@media screen and (max-width: 991px) {
    .offices-slider, .locationMap {
        aspect-ratio: auto;
    }
}

@media screen and (max-width: 576px) {
    .offices-slider {
        height: auto;
    }
}

@media screen and (max-width: 576px) {
    .locationMap {
        height: 400px;
    }
}


.offices-slider .offices-swiper {
    height: 100%;
}

.offices-slider .swiper-slide .office-address {
    font-size: 18px;
    letter-spacing: 4px;
    color: #fff;
    font-weight: normal;
    text-transform: uppercase;
}

.offices-slider .swiper-slide .office-department {
    font-weight: 600;
    font-size: 20px;
}

.offices-slider .swiper-slide .office-title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 4px;
    color: #F6AA21;
    text-transform: uppercase;
}

.offices-slider .office-image-container {
    height: 70%;
}

@media screen and (max-width: 576px) {
    .offices-slider .office-image-container {
        height: auto;
    }
}

.office-image {
    height: 100%;
    object-fit: cover;
    width: 100%;
    z-index: -1;
}

.offices-slider .swiper-slide .office-details {
    top: 50px;
    left: 50px;
    width: 100%;
    height: 30%;
    background-color: var(--mgy-blue);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: center;
}

.offices-slider .swiper-slide .office-details > a {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media screen and (max-width: 767px) {
    .offices-slider .swiper-slide .office-details {
        top: 50px;
        left: 4vw;
    }
}

@media screen and (max-width: 576px) {
    .offices-slider .swiper-slide .office-details {
        top: 25px;
        min-height: 250px;
        height: auto;
    }
}

.office-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 50%);
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
}

.offices-slider .swiper-pagination {
    top: 50px;
    right: 50px;
    width: auto;
    text-align: end;
    max-height: 22px;
}

@media screen and (max-width: 767px) {
    .offices-slider .swiper-pagination {
        top: 50px;
        right: 4vw;
    }
}

@media screen and (max-width: 576px) {
    .offices-slider .swiper-pagination {
        top: 25px;
    }
}

.offices-slider .swiper-pagination-bullet {
    background-color: transparent;
    border: 1px solid #fff;
    height: 10px;
    width: 10px;
    opacity: 1;
    margin-right: 5px;
}

.offices-slider .swiper-pagination-bullet-active {
    background-color: #fff;
    border: 1px solid #fff;
}

/* HOME PAGE */

.heroLeftSide img {
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.heroLeftSide {
    position: relative;
    overflow: hidden;
    height: 60vh;
}

.video-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.heroRightSide {
    display: flex;
    flex-direction: column;
}

.heroBlurbs {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    align-items: center;
    gap: 40px;
    text-decoration: none;
    padding: 20px;
    font-size: 20px;
    letter-spacing: 4px;
    color: #fff;
    text-transform: uppercase;
}

@media screen and (max-width: 576px){
    .heroBlurbs {
        font-size: 16px;
    }
}

/* .heroBlurbs span {
    font-size: 20px;
    letter-spacing: 4px;
    color: #fff;
    text-transform: uppercase;
} */

/* .heroFirstBlurb, .heroSecondBlurb, .heroThirdBlurb {
    height: 20vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    text-decoration: none;
    padding: 20px;
}

.heroFirstBlurb img, .heroSecondBlurb img, .heroThirdBlurb img {
    height: 40px;
}

.heroFirstBlurb span, .heroSecondBlurb span, .heroThirdBlurb span {
    font-size: 20px;
    letter-spacing: 4px;
    color: #fff;
} */

/* 
.heroFirstBlurb {
    background-color: #d1232a;
}

.heroSecondBlurb {
    background-color: #f6aa21;
}

.heroThirdBlurb {
    background-color: #25418a;
} */

.homepageSecondSection .homepageSearch {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media screen and (max-width: 767px){
    .homepageSecondSection .homepageSearch {
        padding: 40px calc(4vw + 0.75rem);
    }
}

.homepageRadio {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.radioLabelContainer label {
    font-size: 14px;
    letter-spacing: 2px;
}

.homepageSearchLabel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #25418a;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-family: "montserrat";
}

.homepageSearch input {
    border: 1px solid #231F20;
    padding: 10px;
}

.homepageSearchLabel span img {
    position: absolute;
    height: 43px;
    padding: 10px;
    right: 0;
    background: #25418a;
    width: 8.5%;
    object-fit: contain;
    top: 0;
}

#btn_search {
    width: 12.5%;
    position: absolute;
    right: 0;
    height: 100%;
    background: transparent;
    border: none;
}

#address_selection_container select {
    width: 100%;
    cursor: pointer;
    background-image: url(/wp-content/themes/mgy/assets/images/downarrow.png), linear-gradient(90deg, rgba(255, 255, 255, 0) 89.5%, rgba(37, 65, 138, 1) 80%, rgba(37, 65, 138, 1) 100%);
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 95.5%;
    font-size: 14px;
    font-family: "montserrat";
    height: 43px;
    display: flex;
    align-items: center;
    border: 1px solid #231f20;
    letter-spacing: 0px;
    padding: 0 20px;
    margin-bottom: 20px;
}

#no_result_message p {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #d1232a;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-family: "montserrat";
}

@media (max-width: 767px) {
    #address_selection_container select {
        background-image: url(/wp-content/themes/mgy/assets/images/downarrow.png), linear-gradient(90deg, rgba(255, 255, 255, 0) 90.5%, rgba(37, 65, 138, 1) 70%, rgba(37, 65, 138, 1) 100%);
        background-repeat: no-repeat;
        background-position-y: center;
        background-position-x: 96.5%;
    }
}

@media (max-width: 500px) {
    #address_selection_container select {
        background-image: url(/wp-content/themes/mgy/assets/images/downarrow.png), linear-gradient(90deg, rgba(255, 255, 255, 0) 86.5%, rgba(37, 65, 138, 1) 70%, rgba(37, 65, 138, 1) 100%);
        background-repeat: no-repeat;
        background-position-y: center;
        background-position-x: 95.5%;
    }
}


.manualInput {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #25418a;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-family: "montserrat";
}


.manualInput input[type=text] {
    width: 100%;
    padding: 10px 20px;
    border: 1px solid #231f20;
    font-size: 14px;
    font-family: "montserrat";
    height: 43px;
}

.homepageSearchLabel input {
    width: 100%;
    padding: 10px 20px;
    border: 1px solid #231f20;
    font-size: 14px;
    font-family: "montserrat";
    height: 43px;
}

@media (max-width: 500px) {
    .heroFirstBlurb span, .heroSecondBlurb span, .heroThirdBlurb span {
        font-size: 16px;
    }

    .heroFirstBlurb, .heroSecondBlurb, .heroThirdBlurb {
        height: 15vh;
    }

    .heroLeftSide img {
        aspect-ratio: 1 / 1;
    }

    .heroLeftSide {
        height: 50vh;
        max-height: 300px;
    }
}

/* SELECT */

.s-hidden {
    visibility: hidden;
    padding-right: 10px;
}

.select {
    cursor: pointer;
    display: inline-block;
    position: relative;
    color: #4e4e4e;
    width: 100%;
}

.styledSelect {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: white;
    padding: 0 20px;
    background-image: url(/wp-content/themes/mgy/assets/images/downarrow.png), linear-gradient(90deg, rgba(255, 255, 255, 0) 82.5%, rgba(37, 65, 138, 1) 80%, rgba(37, 65, 138, 1) 100%);
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 93%;
    font-size: 14px;
    font-family: "montserrat";
    height: 43px;
    display: flex;
    align-items: center;
    border: 1px solid #231f20;
    letter-spacing: 0px;
}

/* .styledSelect:after {
  content:"";
  width:0;
  height:0;
  border:5px solid transparent;
  border-color:black transparent transparent transparent;
  position:absolute;
  top:9px;
  right:6px;
} */
.styledSelect:active, .styledSelect.active {
    background-color: #eee;
}

.options {
    display: none;
    position: absolute;
    top: 97%;
    right: 0;
    left: 0;
    margin: 0 0;
    padding: 0 0;
    list-style: none;
    border: 1px solid #231f20;
    background-color: white;
    max-height: 200px;
    overflow: scroll;
    border-top: none;
    z-index: 9999;
}

.options li {
    margin: 0 0;
    padding: 10px 20px;
    letter-spacing: 0px;
}

.options li:hover {
    color: #f6aa21;
}

#propertyOptions .options li {
    text-transform: uppercase;
}

.homepageSearchLabel span {
    display: flex;
    position: relative;
}

.downArrow span img {
    padding: 17px;
}

.homepageSearchLabel input {
    width: 100%;
    padding: 10px 20px;
    border: 1px solid #231f20;
    font-size: 14px;
    font-family: "montserrat";
    height: 43px;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: url(/wp-content/themes/mgy/assets/images/downarrow.png), linear-gradient(90deg, rgba(255, 255, 255, 0) 89.5%, rgba(37, 65, 138, 1) 80%, rgba(37, 65, 138, 1) 100%);
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 96%;
}

.hideSoldRadio {
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.searchBtn {
    background: linear-gradient(to left, #f6aa21 50%, #25418A 50%) right;
    background-size: 200%;
    transition: .5s ease-out;
    border: none;
    color: #25418A;
    width: 150px !important;
    padding: 15px;
    font-family: "montserrat", serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 3px;
}

.searchBtnContainer {
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width: 576px) {
    .searchBtnContainer {
        flex-direction: column;
    }
}

.homepageSearch input[type=radio]:checked {
    background: url(/wp-content/themes/mgy/assets/images/Oval.png) no-repeat center center;
    background-size: 16px 16px;
}

.homepageFeaturedPropertyImg {
    height: 100%;
    object-fit: cover;
    width: 100%;
    z-index: -1;
    min-height: 550px;
}

.homepageFeatured {
    position: relative;
    max-height: 900px;
}

@media screen and (max-width: 991px){
    .homepageFeatured {
        min-height: 800px;
    }
}

@media screen and (max-width: 767px){
    .homepageFeatured {
        min-height: auto;
    }
}

.featuredPropOverlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 50%);
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
}

.featuredPropDesc {
    position: absolute;
    top: 50px;
    left: 50px;
}

@media screen and (max-width: 767px) {
    .featuredPropDesc {
        left: calc(4vw + 0.75rem);
        top: calc(4vw + 0.75rem);
        max-width: 250px;
    }
}

.featuredPropTitle {
    font-size: 20px;
    color: #fff;
    font-weight: 600;
    letter-spacing: 4px;
    text-align: left;
}

.featuredPropAddress {
    font-size: 18px;
    letter-spacing: 2px;
    color: #fff;
    font-weight: normal;
    width: 210px;
    text-align: left;
}

.featuredPropPriceBlock {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 30px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 120px;
    background-color: #25418A;
}

@media screen and (max-width: 767px) {
    .featuredPropPriceBlock {
        padding: calc(4vw + 0.75rem);
        height: 200px;
        flex-direction: column;
        align-items: flex-start ;
        position: relative;
    }
}

@media screen and (max-width: 576px) {
    .featuredPropPriceBlock {
        height: 170px;
    }
}

.featuredPropertyImageContainer {
    height: calc(100% - 120px);
}

@media screen and (max-width: 767px){
    .featuredPropertyImageContainer {
        height: calc(100% - 200px);
    }
}

@media screen and (max-width: 576px){
    .featuredPropertyImageContainer {
        height: calc(100% - 170px);
        max-height: 300px;
    }
}

.featuredPropertyImageContainer img {
    height: 100%;
    object-fit: cover;
    width: 100%;
    z-index: -1;
}

.featuredPropPriceBlock p {
    margin: 0;
    font-size: 26px;
    font-weight: 600;
    color: #f6aa21;
}

.featuredPropPriceBlock h5 {
    color: #fff;
    font-size: 14px;
}

.featuredPropPrice {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    gap: 10px;
    min-height: 55px;
}

.featuredPropDetails div {
    padding: 10px;
    display: flex;
    width: 45px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #fff;
}

.featuredPropDetails div img {
    height: 17px;
}

.featuredPropDetails {
    display: flex;
    gap: 7px;
    text-align: center;
}

.featuredPropDetails p {
    font-size: 14px;
    color: #f6aa21;
    font-weight: 600;
    height: 17px;
}


@media (max-width: 1920px) {
    .homepageSearchLabel input, .styledSelect {
        background-image: url(/wp-content/themes/mgy/assets/images/downarrow.png), linear-gradient(90deg, rgba(255, 255, 255, 0) 82.5%, rgba(37, 65, 138, 1) 80%, rgba(37, 65, 138, 1) 100%);
        background-repeat: no-repeat;
        background-position-y: center;
        background-position-x: 94%;
    }
}

@media (min-width: 1600px) {
    .homepageSearchLabel span img {
        width: 10.5%;
    }
}

@media (max-width: 991px) {
    .homepageSearchLabel input, .styledSelect {
        background-image: url(/wp-content/themes/mgy/assets/images/downarrow.png), linear-gradient(90deg, rgba(255, 255, 255, 0) 78.5%, rgba(37, 65, 138, 1) 70%, rgba(37, 65, 138, 1) 100%);
        background-repeat: no-repeat;
        background-position-y: center;
        background-position-x: 91%;
    }

    .homepageSearchLabel span img {
        width: 10.5%;
    }
}

@media (max-width: 880px) {
    .homepageSearchLabel input, .styledSelect {
        background-image: url(/wp-content/themes/mgy/assets/images/downarrow.png), linear-gradient(90deg, rgba(255, 255, 255, 0) 80.5%, rgba(37, 65, 138, 1) 70%, rgba(37, 65, 138, 1) 100%);
        background-repeat: no-repeat;
        background-position-y: center;
        background-position-x: 92.5%;
    }

    .homepageSearchLabel span img {
        width: 9.5%;
        padding: 10px 5px;
    }
}

@media (max-width: 767px) {
    .homepageSearchLabel input, .styledSelect {
        background-image: url(/wp-content/themes/mgy/assets/images/downarrow.png), linear-gradient(90deg, rgba(255, 255, 255, 0) 90.5%, rgba(37, 65, 138, 1) 70%, rgba(37, 65, 138, 1) 100%);
        background-repeat: no-repeat;
        background-position-y: center;
        background-position-x: 96.5%;
    }

    .homepageSearchLabel span img {
        width: 9.5%;
        padding: 10px;
    }
}


@media (max-width: 500px) {
    .homepageSearchLabel input, .styledSelect {
        background-image: url(/wp-content/themes/mgy/assets/images/downarrow.png), linear-gradient(90deg, rgba(255, 255, 255, 0) 86.5%, rgba(37, 65, 138, 1) 70%, rgba(37, 65, 138, 1) 100%);
        background-repeat: no-repeat;
        background-position-y: center;
        background-position-x: 95.5%;
    }

    .homepageSearchLabel span img {
        width: 13.5%;
        padding: 10px;
    }
}

@media (max-width: 991px) {
    .searchBtnContainer {
        gap: 20px;
    }
}


/* FEATURED PROPERTY CAROUSEL */

.featuredPropertySwiper {
    height: 100%;
    overflow: hidden;
}

.featuredPropertySwiper .swiper-pagination {
    top: 50px;
    right: 50px;
    width: auto;
    text-align: end;
    max-height: 22px;
}

@media screen and (max-width: 767px) {
    .featuredPropertySwiper .swiper-pagination {
        right: calc(4vw + 0.75rem);
        top: calc(4vw + 0.75rem);
    }
}

.featuredPropertySwiper .swiper-pagination-bullet {
    background-color: transparent;
    border: 1px solid #fff;
    height: 10px;
    width: 10px;
    opacity: 1;
    margin-right: 5px;
}

.featuredPropertySwiper .swiper-pagination-bullet-active {
    background-color: #fff;
    border: 1px solid #fff;
}


@media (max-width: 767px) {

    .featuredPropPrice {
        margin-bottom: 7px;
    }

}


/* THIRD SECTION SWIPER */

.thirdSectionSwiperContainer {
    position: relative;
    /*min-height: 40vh;*/
    height: 450px;
}

@media (max-width: 576px) {
    .thirdSectionSwiperContainer {
        height: 100%;
    }
}

.thirdSectionSwiper .swiper-slide {
    /* height: auto; */
    height: 100%;
}

.thirdSectionSwiperContainer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    z-index: -1;
}


.thirdSwiperContainerOverlay {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
}

@media (max-width:767px) {

    .thirdSectionSwiperContainer img {
        height: 80vh;
    }
    .thirdSwiperContainerOverlay {
        height: 80vh;
    }
}

.thirdSectionSwiper {
    overflow: hidden;
    height: 100%;
}

.thirdSectionSwiperText {
    margin-left: 50%;
    padding: 100px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 2;
    position: inherit;
}

@media screen and (max-width: 991px) {
    .thirdSectionSwiperText {
        padding-left: 15px;
        padding-right: 80px;
    }
}

@media screen and (max-width: 767px) {
    .thirdSectionSwiperText {
        margin-left: 0;
        padding: 100px calc(4vw + 0.75rem);
    }
}

.thirdSectionSwiperText h5 {
    color: #f6aa21;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    line-height: 24px;
}

.thirdSectionSwiperText p {
    color: #fff;
    font-size: 18px;
    margin: 0;
    font-weight: 300;
    text-align: left;
}

.thirdSectionSwiper .swiper-pagination {
    bottom: 60px;
    left: calc(50% + 100px);
    width: auto;
}

@media screen and (max-width: 991px) {
    .thirdSectionSwiper .swiper-pagination {
        left: calc(50% + 100px)
    }
}

.thirdSectionSwiper .swiper-pagination-bullet {
    background-color: transparent;
    border: 1px solid #fff;
    height: 10px;
    width: 10px;
    opacity: 1;
    margin-right: 5px;
}

.thirdSectionSwiper .swiper-pagination-bullet-active {
    background-color: #fff;
    border: 1px solid #fff;
}

@media (max-width: 767px) {
    /* .thirdSectionSwiperText {
        margin-left: 0;
        padding: 100px 10vw;
    } */

    .thirdSectionSwiper .swiper-pagination {
        left: calc(4vw + 0.75rem);
    }

    .thirdSwiperContainerOverlay {
        background: rgba(0, 0, 0, 0.7);
        z-index: 2;
    }
}

/* NEWS SWIPER */

.newsSwiperContainer {
    min-height: 40vh;
    position: relative;
    text-align: center;
    background-color: #25418a;
}


.newsSwiper {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    margin-bottom: 65px;
}

.newsSwiper .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: transparent;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
}

.newsSwiper .swiper-slide p {
    text-align: left;
    color: #fff;
    margin-bottom: 0px;
}

.newsSwiper .swiper-slide img {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    height: 100%;
    object-fit: cover;
}

/*@media screen and (max-width: 1300px) {*/
/*    .newsSwiper .swiper-slide img {*/
/*        min-height: 400px;*/
/*    }*/
/*}*/

.newsSwiper .swiper {
    margin-left: auto;
    margin-right: auto;
    min-height: 40vh;
}

.newsSwiperContainer .swiper-pagination {
    width: 100%;
    left: 0;
    padding: 40px 0px;
}

.newsSwiperContainer .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 100%;
    background: transparent;
    opacity: 1;
    border: 1px solid #fff;
    margin: 0px 3px;
}

.newsSwiperContainer h3 {
    font-size: 20px;
    letter-spacing: 4px;
    font-weight: 500;
    color: #f6aa21;
    text-align: center;
}

.newsSwiperContainer h4 {
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: 500;
    color: #fff;
    text-align: left;
    line-height: 25px;
}

.newsSwiperContainer p {
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: 300;
    color: #fff;
    text-align: left;
}


.newsSwiperContainer .swiper-pagination-bullet-active {
    background-color: #fff;
}

.newsSwiperContainer .swiper-button-next {
    right: 25px;
    height: 30px;
    color: #fff;
    background-image: url(/wp-content/themes/mgy/assets/images/next.png) !important;
    background-size: cover;
    filter: invert(64%) sepia(91%) saturate(429%) hue-rotate(349deg) brightness(97%) contrast(100%);
    background-repeat: no-repeat;
    /*top: var(--swiper-navigation-top-offset, calc(50% - 40px));*/
    top: calc(50% - 40px + 3rem);
}

.newsSwiperContainer .swiper-button-prev {
    left: 25px;
    height: 30px;
    color: #fff;
    background-image: url("/wp-content/themes/mgy/assets/images/back.png") !important;
    background-size: cover;
    background-repeat: no-repeat;
    filter: invert(96%) sepia(96%) saturate(17%) hue-rotate(259deg) brightness(104%) contrast(106%);
    /*top: var(--swiper-navigation-top-offset, calc(50% - 40px));*/
    top: calc(50% - 40px + 3rem);
}


.newsViewAllBtn {
    color: #25418a;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 3px;
    background: linear-gradient(to left, #f6aa21 50%, #fff 50%) right;
    background-size: 200%;
    transition: .5s ease-out;
    text-decoration: none;
    padding: 10px 20px;
}

@media (max-width: 991px) {
    .newsSwiperContainer .swiper-button-next {
        right: 10px;
    }

    .newsSwiperContainer .swiper-button-prev {
        left: 10px;
    }
}

@media screen and (max-width: 767px) {
    .newsSwiperContainer .swiper-button-next {
        right: 0.75rem;
    }
}

@media screen and (max-width: 767px) {
    .newsSwiperContainer .swiper-button-prev {
        left: 0.75rem;
    }
}

@media screen and (max-width: 576px) {
    .newsSwiperContainer .swiper-button-next {
        right: 0.25rem;
    }
}

@media screen and (max-width: 576px) {
    .newsSwiperContainer .swiper-button-prev {
        left: 0.25rem;
    }
}

@media (min-width: 1500px) {
    .newsSwiperContainer .swiper-button-next {
        right: 7vw;
    }

    .newsSwiperContainer .swiper-button-prev {
        left: 7vw;
    }
}

@media (min-width: 2000px) {
    .newsSwiperContainer .swiper-button-next {
        right: 17vw;
    }

    .newsSwiperContainer .swiper-button-prev {
        left: 17vw;
    }
}


/* LATEST INSTRUCTIONS SWIPER */

.latestInstructionsSwiperContainer {
    min-height: 40vh;
    position: relative;
    padding: 100px 0px;
    text-align: center;
    background-color: #fff;
}


.latestInstructionsSwiper {
    width: 100%;
    height: 100%;
}

.latestInstructionsSwiper .foundPropertiesSoldBlurb {
    right: 0;
}

.latestInstructionsSwiper .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: transparent;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
}

.latestInstructionsSwiper .swiper-slide:hover {
    cursor: pointer;
}

.latestInstructionsSwiper .swiper-slide .latestInstructionsBgImage {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateY(37px);
    margin-bottom: 37px;
    min-height: 240px;
    max-height: 240px;
}

@media screen and (max-width: 1199px){
    .latestInstructionsSwiper .swiper-slide .latestInstructionsBgImage {
        min-height: 350px;
        max-height: 350px;
    }
}

@media screen and (max-width: 991px) {
    .latestInstructionsSwiper .swiper-slide .latestInstructionsBgImage {
        min-height: 300px;
        max-height: 300px;
    }
}

@media screen and (max-width: 767px) {
    .latestInstructionsSwiper .swiper-slide .latestInstructionsBgImage {
        min-height: auto;
        max-height: 400px;
    }
}

@media screen and (max-width: 575px) {
    .latestInstructionsSwiper .swiper-slide .latestInstructionsBgImage {
        min-height: 250px;
        max-height: 250px;
    }
}

.latestInstructionsSwiper .swiper {
    margin-left: auto;
    margin-right: auto;
    min-height: 40vh;
}

.latestInstructionsSwiperContainer .swiper-pagination {
    width: 100%;
    left: 0;
    padding: 40px 0px;
}

.latestInstructionsSwiperContainer .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 100%;
    background: transparent;
    opacity: 1;
    border: 1px solid #fff;
    margin: 0px 3px;
}

.latestInstructionsDetails {
    /*display: grid;*/
    /*grid-template-columns: 50% 50%;*/
    display: flex;
    justify-content: space-between;
    gap: 4px;
    text-align: center;
    width: 100%;
    background-color: #25418a;
    padding: 10px;
    height: 70px;
}


.latestInstructionsDetails div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 2px;
}

.latestInstructionsDetails div img {
    max-height: 21px;
    max-width: 21px;
}

.latestInstructionsDetails div p {
    font-size: 14px;
    margin: 0;
    font-weight: 600;
    color: #fff;
}

.latestInstructionsDetails div .detailsSize {
    font-size: 14px;
    color: #f6aa21;
    margin: 0px;
    font-weight: 600;
    height: 17px;
}

.latestInstructionsSwiper .swiper-slide .latestInstructionsAddress {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: none;
    justify-content: center;
}
.foundProperty .latestInstructionsAddress {
    text-align: left;
    padding: 0;
    align-items: flex-start;
    background: none;
    justify-content: center;
    flex-direction: column;
}


.latestInstructionsDetails div .latestInstructionsAddress1 {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    text-align: left;
    line-height: 17px;
    display: flex;
    flex-direction: column;
}

.latestInstructionsDetails div .latestInstructionsAddress2 {
    font-size: 14px;
    font-weight: 300;
    color: #fff;
}


.latestInstructionsPriceBlurb {
    position: absolute;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    background: linear-gradient(to left, #25418A 50%, #f6aa21 50%) right;
    background-size: 200%;
    transition: .5s ease-out;
    left: 0;
    gap: 5px;
}

.latestInstructionsPriceBlurb h5 {
    font-size: 12px;
    color: #fff;
    font-weight: 300;
}

.latestInstructionsPriceBlurb p {
    font-size: 20px;
    color: #f6aa21;
    font-weight: 500;
    margin: 0;
}

.latestInstructionsSwiperContainer h3 {
    font-size: 20px;
    letter-spacing: 4px;
    font-weight: 500;
    color: #25418a;
    text-align: center;
}

.latestInstructionsSwiperContainer .swiper-pagination-bullet-active {
    background-color: #fff;
}

.latestInstructionsSwiperContainer .swiper-button-next {
    right: 25px;
    height: 30px;
    color: #fff;
    background-image: url(/wp-content/themes/mgy/assets/images/next.png) !important;
    background-size: cover;
    filter: invert(18%) sepia(38%) saturate(3844%) hue-rotate(213deg) brightness(91%) contrast(86%);
    background-repeat: no-repeat;
    /*top: var(--swiper-navigation-top-offset, calc(50% - 15px));*/
    top: calc(50% + 3rem);
}

.latestInstructionsSwiperContainer .swiper-button-prev {
    left: 25px;
    height: 30px;
    color: #fff;
    background-image: url("/wp-content/themes/mgy/assets/images/back.png") !important;
    background-size: cover;
    background-repeat: no-repeat;
    filter: invert(18%) sepia(38%) saturate(3844%) hue-rotate(213deg) brightness(91%) contrast(86%);
    /*top: var(--swiper-navigation-top-offset, calc(50% - 15px));*/
    top: calc(50% + 3rem);
}

.blurbsDetails {
    display: flex;
    gap: 10px;
    justify-content: end;
}

.blurbsDetails div {
    height: 50px;
    width: 40px;
    border: 1px solid #fff;
    display: flex;
    flex-direction: column;
}

.blurbsDetails .floorAreaContainer {
    width: 60px;
}

.blurbsDetails div p {
    color: #f6aa21;
    height: 17px;
}

.blurbsDetails div p.floorArea {
    color: #fff;
    display: flex;
    align-items: center;
}

@media (max-width: 500px) {
    .latestInstructionsSwiperContainer .swiper-button-next, .latestInstructionsSwiperContainer .swiper-button-prev {
        height: 25px;
        width: 25px;
    }

    .latestInstructionsDetails {
        grid-template-columns: 100%;
    }

    .blurbsDetails {
        display: flex;
        gap: 10px;
        justify-content: flex-start;
    }

    .blurbsDetails div {
        height: 50px;
        width: 50px;
    }
}

.latestInstructionsViewAllBtn {
    background: linear-gradient(to left, #25418A 50%, #f6aa21 50%) right;
    background-size: 200%;
    transition: .5s ease-out;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 3px;
    color: #f6aa21;
    text-decoration: none;
    padding: 10px 20px;
}

@media (max-width: 991px) {
    .latestInstructionsSwiperContainer .swiper-button-next {
        right: 0.75rem;
    }

    .latestInstructionsSwiperContainer .swiper-button-prev {
        left: 0.75rem;
    }
}

@media screen and (max-width: 576px) {
    .latestInstructionsSwiperContainer .swiper-button-next {
        right: 0.25rem;
    }

    .latestInstructionsSwiperContainer .swiper-button-prev {
        left: 0.25rem;
    }
}

@media (min-width: 1500px) {
    .latestInstructionsSwiperContainer .swiper-button-next {
        right: 7vw;
    }

    .latestInstructionsSwiperContainer .swiper-button-prev {
        left: 7vw;
    }
}

@media (min-width: 2000px) {
    .latestInstructionsSwiperContainer .swiper-button-next {
        right: 17vw;
    }

    .latestInstructionsSwiperContainer .swiper-button-prev {
        left: 17vw;
    }
}


/* LOGO SECTION */

.logoContainer {
    padding: 40px 0px !important;
}

.logoContainer div {
    padding: 0px 20px;
}

.logoContainer div img {
    max-width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    margin: 0px 40px;
}

/* HOMEPAGE LOGO CAROUSEl */

/* @keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 60px 0;
  background: white;
  white-space: nowrap;
  position: relative;
} */

/* .logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 20%;
  height: 100%;
  content: "";
  z-index: 2;
} */

/* .logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
} */

/* .logos:hover .logos-slide {
  animation-play-state: paused;
} */

/* .logos-slide {
  display: inline-block;
  animation: 6s slide infinite linear;
}

.logos-slide img {
  height: auto;
  margin: 0 40px;
} */

body {
    background: #F8F8FF;
}

/* .logo-slider {
    overflow: hidden;
    padding: 30px 0 0 0;
    white-space: nowrap;
    position: relative;
}

.logo-slider:hover .logos-slide {
    animation-play-state: paused;
}

.logos-slide {
    display: inline-block;
    animation: 7s slide linear infinite;
}

.logos-slide img {
    width: 183px;
    height: 83px;
    margin: 0 40px;
}


@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
} */

@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.logos {
    overflow: hidden;
    padding: 45px 0;
    white-space: nowrap;
    position: relative;
    background-color: #fff;
}

.logos:hover .logos-slide {
    animation-play-state: paused;
}

.logos-slide {
    display: inline-block;
    animation: 30s slide infinite linear;
}

.logos-slide img {
    height: 65px;
    text-align: center;
}

.logos-slide a {
    display: inline-block;
    width: 140px;
    margin: 0 20px;
    text-align: center;
}

/* VIDEO TEXT + TEXT VIDEO SECTION ABOVE FOOTER */

.lastSectionLeftSide {
    background-color: #25418a;
    display: flex;
    flex-direction: column;
}

.lastSectionLeftSideImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lastSectionLeftSideImage {
    height: 100%;
    position: relative;
    max-height: 800px;
}

.videoIframe {
    max-height: 500px;
}

.videoIframe > iframe {
    width: 100%;
}

.lastSectionLeftSideContent p:last-child {
    margin: 0px;
}

.lastSectionLeftSideContent, .lastSectionRightSideContent {
    padding: 120px 10vw;
    min-height: 600px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 1199px) {
    .lastSectionLeftSideContent, .lastSectionRightSideContent {
        min-height: auto;
    }
}

@media (max-width: 991px) {
    .lastSectionLeftSideContent, .lastSectionRightSideContent {
        padding: 120px 10vw;
    }
}

@media screen and (max-width: 767px) {
    .lastSectionLeftSideContent, .lastSectionRightSideContent {
        padding: 100px calc(4vw + 0.75rem);
    }
}

.homepageUnderlinedBtn {
    font-weight: 600;
    font-size: 18px;
    line-height: 40px;
    letter-spacing: 3.6px;
    color: #25418A;
}

.lastSectionLeftSideContent h4 {
    color: #608EC7;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 3px;
    line-height: 30px;
}

.lastSectionLeftSideContent p {
    color: #fff;
    line-height: 30px;
    font-weight: 400;
    font-size: 16px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.lastSectionRightSide {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #F0F1F1;
}

.lastSectionRightSideImageContainer {
    max-height: 600px;
}

.lastSectionRightSide img {
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.lastSectionRightSideContent h4 {
    color: #25418A;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 3px;
    line-height: 30px;
}

.lastSectionRightSideContent p {
    font-size: 16px;
    line-height: 30px;
    font-weight: 400;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
    .lastSectionRightSideContent {
        min-height: initial;
    }
}

.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after {
    display: none !important;
}

.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after {
    display: none !important;
}

/* SEARCH PAGE */

.gm-style .gm-style-iw-c {
    padding-left: 18px;
    padding-top: 18px;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
}

.gm-ui-hover-effect {
    top: -4px !important;
    right: -4px !important;
}

.marker-content {
    width: 200px;
}

.marker-image {
    width: 200px;
    height: 150px;
}

.marker-header {
    padding-top: 1em;
}

.marker-content > p {
    margin-bottom: 5px;
}

.searchPageMap img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

@media screen and (max-width: 991px) {
    .searchPageMap #googleMap {
        min-height: 500px;
    }
}

.searchPageFirstSection .searchPageForm {
    padding: 50px 4vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #F9F9F9;
}

@media screen and (min-width: 1200px) {
    .searchPageFirstSection .searchPageForm {
        padding: 100px 4vw;
    }
}

.searchPageLabel span img {
    position: absolute;
    height: 43px;
    padding: 10px;
    right: 0;
    background: #25418a;
    width: 10%;
    object-fit: contain;
}

.searchPageLabel input {
    width: 100%;
    padding: 10px 20px;
    border: 1px solid #231f20;
    font-size: 14px;
    font-family: "montserrat";
    height: 43px;
}

.searchPageLabel span {
    display: flex;
    position: relative;
}

.downArrow span img {
    padding: 17px;
}

.searchPageLabel input {
    width: 100%;
    padding: 10px 20px;
    border: 1px solid #231f20;
    font-size: 14px;
    font-family: "montserrat";
    height: 43px;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: url(/wp-content/themes/mgy/assets/images/downarrow.png), linear-gradient(90deg, rgba(255, 255, 255, 0) 80%, rgba(37, 65, 138, 1) 80%, rgba(37, 65, 138, 1) 100%);
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 92%;
}


.searchPageForm input[type=radio]:checked {
    background: url(/wp-content/themes/mgy/assets/images/Oval.png) no-repeat center center;
    background-size: 12px 12px;
}

.searchPageLabel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #25418a;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-family: "montserrat";
}


/* */

.searchPagePropertiesContainer {
    min-height: 40vh;
    position: relative;
    padding: 100px 0px;
    text-align: center;
    background-color: #fff;
}

.foundPropertiesContainer .foundProperty {
    text-align: center;
    font-size: 18px;
    background: transparent;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    position: relative;
    margin-bottom: 30px;
}

.foundPropertiesContainer .foundProperty .foundPropertiesImg {
    display: block;
    width: 100%;
    object-fit: cover;
    transform: translateY(32px);
    margin-bottom: 32px;
    height: 100%;
    max-height: 300px;
}

@media screen and (max-width: 576px) {
    .foundPropertiesContainer .foundProperty .foundPropertiesImg {
        max-height: none;
    }
}

@media screen and (min-width: 1000px) {
    .foundPropertiesContainer .foundProperty .foundPropertiesImg {
        max-height: 200px;
    }
}

@media screen and (min-width: 1400px) {
    .foundPropertiesContainer .foundProperty .foundPropertiesImg {
        max-height: 250px;
    }
}

@media screen and (min-width: 1600px) {
    .foundPropertiesContainer .foundProperty .foundPropertiesImg {
        max-height: 400px;
    }
}


.foundPropertiesDetails {
    display: grid;
    grid-template-columns: 40% 20% 20% 20%;
    text-align: center;
    width: 100%;
}

.foundPropertiesDetails span {
    background: #F6AA21;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px;
}

.foundPropertiesDetails .foundPropertiesAddress {
    background: transparent;
}

.foundPropertiesDetails span img {
    max-height: 21px;
    max-width: 21px;
}

.foundPropertiesDetails span p {
    font-size: 14px;
    margin: 0px;
    font-weight: 600;
    height: 17px;
    color: #25418a;
}

.foundPropertiesDetails span .detailsSize {
    font-size: 14px;
    color: #fff;
    margin: 0px;
    font-weight: 600;
}

.foundPropertiesContainer .foundProperty .foundPropertiesAddress {
    padding: 0px;
    align-items: flex-start;
    background: none;
    justify-content: center;
}

/*.foundPropertiesContainer {*/
/*    margin-bottom: 70px;*/
/*}*/

.foundPropertiesDetails span .foundPropertiesAddress1 {
    font-size: 14px;
    font-weight: 500;
    color: #231F20;
    text-align: left;
}

.foundPropertiesDetails span .foundPropertiesAddress2 {
    font-size: 14px;
    font-weight: 300;
    color: #231F20;
}

.foundPropertiesPriceBlurb {
    position: absolute;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 190px;
    background: linear-gradient(to left, #25418A 50%, #f6aa21 50%) right;
    background-size: 200%;
    transition: .5s ease-out;
    left: 12px;
    gap: 5px;
}

.foundPropertiesRentalsBlurb {
    background: linear-gradient(to left, #f6aa21 50%, #25418A 50%) right;
    background-size: 200%;
}

.foundPropertiesSoldBlurb {
    position: absolute;
    right: 12px;
    margin: auto;
    height: 60.8px;
}

.foundPropertiesSoldBlurb img {
    height: 100%;
}

.foundPropertiesPriceBlurb h5 {
    font-size: 12px;
    color: #fff;
    font-weight: 300;
}

.foundPropertiesPriceBlurb p {
    font-size: 20px;
    color: #f6aa21;
    font-weight: 500;
    margin: 0;
}

.foundPropertiesRentalsBlurb p {
    color: #25418a;
}

.searchPagePropertiesContainer h3 {
    font-size: 18px;
    letter-spacing: 3px;
    font-weight: 500;
    color: #25418a;
    text-align: left;
}


.foundPropertiesViewAllBtn {
    background: linear-gradient(to left, #25418A 50%, #f6aa21 50%) right;
    background-size: 200%;
    transition: .5s ease-out;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 3px;
    color: #f6aa21;
    text-decoration: none;
    padding: 10px 20px;
}

.searchPagePropertiesContainer .container-fluid {
    padding: 60px 2vw;
}

@media (min-width: 1300px) {
    .searchPagePropertiesContainer .container-fluid {
        padding: 60px 10vw;
    }

    /*.homepageSecondSection .homepageSearch {*/
    /*  padding: 60px 10vw;*/
    /*}*/
    .homepageSearchLabel input, .styledSelect {
        background-image: url(/wp-content/themes/mgy/assets/images/downarrow.png), linear-gradient(90deg, rgba(255, 255, 255, 0) 78.5%, rgba(37, 65, 138, 1) 78%, rgba(37, 65, 138, 1) 100%);
        background-repeat: no-repeat;
        background-position-y: center;
        background-position-x: 91%;
    }

    #address_selection_container select {
        background-repeat: no-repeat;
        background-position-y: center;
        background-position-x: 96%;
    }
}

@media (min-width: 1500px) {
    .foundPropertiesDetails {
        grid-template-columns: 61% 13% 13% 13%;
    }
}

@media (max-width: 767px) {
    .searchPageLabel span img {
        width: 20%;
        object-fit: contain;
    }

    .searchPageLabel select {
        background-position-x: 91.5%;
    }
}


/* SINGLE PROPERTY PAGE */

.show-more-button {
    cursor: pointer;
    color: #25418a;
    appearance: none;
    -webkit-appearance: none;
    border: none;
    background: transparent;
    font-weight: 800;
    padding: 0;
    margin-top: 10px;
}

.show-more-button:hover {
    color: #f6aa21;
}

.single-property-availability-overlay {
    position: absolute;
    right: 0;
    top: 0;
    height: 75px;
    width: 75px;
}

.singlePropertyHeroRight {
    height: 70vh;
}

@media screen and (max-width: 991px) {
    .singlePropertyHeroRight {
        height: initial;
    }
}

.singlePropertyHeroRight img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.singlePropertyHeroBlurb1 {
    height: 20vh;
    background-color: #1A2D59;
    display: flex;
    flex-direction: column;
    padding: 80px 4vw;
    justify-content: space-around;
}

.singlePropertyHeroBlurb1 h5 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.singlePropertyHeroBlurb1 p {
    font-size: 18px;
    font-weight: 300;
    color: #fff;
}

.singlePropertyHeroBlurb2 {
    height: 25vh;
    background-color: #25418A;
    display: flex;
    flex-direction: column;
    padding: 80px 4vw;
    justify-content: center;
    position: relative;
}

.singlePropertyHeroBlurb2 .blurb2Title {
    font-size: 20px;
    color: #fff;
    font-weight: 300;
}

.singlePropertyHeroBlurb2 h4 {
    font-size: 30px;
    color: #f6aa21;
}

.singlePropertyHeroBlurb3 {
    height: 25vh;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    padding: 80px 4vw;
    justify-content: center;
    gap: 45px;
}

.singlePropertyHeroBlurb3 .blurb3FirstTitle {
    font-size: 18px;
    letter-spacing: 4px;
    color: #231F20;
    text-decoration: underline;
    text-underline-offset: 10px;
    text-decoration-color: rgba(37, 65, 138, .5);
    text-decoration-thickness: 6px;
    position: relative;
}

.singlePropertyHeroBlurb3 .blurb3SecondTitle {
    font-size: 18px;
    letter-spacing: 4px;
    color: #231F20;
    text-decoration: underline;
    text-underline-offset: 10px;
    text-decoration-color: rgba(246, 170, 33, .5);
    text-decoration-thickness: 6px;
    position: relative;
}

.singlePropertyPageSwiper .swiper {
    width: 100%;
    height: 100%;
}

.singlePropertyPageSwiper.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.singlePropertyPageSwiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 576px) {
    .singlePropertyPageSwiper .swiper-slide img {
        max-height: 300px;
    }
}

.singlePropertyPageSwiper .swiper {
    margin-left: auto;
    margin-right: auto;
}

.singlePropertyPageSwiper {
    height: 70vh;
}

@media screen and (max-width: 991px) {
    .singlePropertyPageSwiper {
        height: initial;
    }
}

.singlePropertyPageSwiper .swiper-button-prev {
    left: 10px;
    height: 30px;
    color: #fff;
    background-image: url(/wp-content/themes/mgy/assets/images/back.png) !important;
    filter: invert(100%) sepia(100%) saturate(2%) hue-rotate(166deg) brightness(106%) contrast(101%);
    background-size: cover;
    background-repeat: no-repeat;
}

.singlePropertyPageSwiper .swiper-button-next {
    right: 10px;
    height: 30px;
    color: #fff;
    background-image: url(/wp-content/themes/mgy/assets/images/next.png) !important;
    filter: invert(100%) sepia(100%) saturate(2%) hue-rotate(166deg) brightness(106%) contrast(101%);
    background-size: cover;
    background-repeat: no-repeat;
}

.singlePropertyPageSecondSectionText {
    padding: 0px 4vw;
}

.singlePropertyPageSecondSectionText p {
    line-height: 30px;
    color: #000;
}

.singlePropertyPageSecondSectionBlurbs {
    padding: 0px 4vw;
    display: grid;
    align-items: center;
    justify-content: center;
    text-align: center;
    grid-template-columns: 200px 200px 200px;
}

.singlePropertyPageSecondSectionBlurbs a {
    min-height: 170px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

@media screen and (max-width: 576px) {
    .singlePropertyPageSecondSectionBlurbs a {
        min-height: 100px;
    }
}

.singlePropertyPageSecondSectionBlurbs a:hover {
    filter: brightness(0) saturate(100%) invert(84%) sepia(22%) saturate(7192%) hue-rotate(345deg) brightness(103%) contrast(93%);
}

.singlePropertyPageSecondSectionBlurbs p {
    font-size: 20px;
    letter-spacing: 4px;
    line-height: 30px;
    color: #231F20;
    font-weight: 500;
}

.singlePropertyPageSecondSectionBlurbs img {
    margin-bottom: 10px;
    max-width: 100px;
}

.singlePropertySecondSection {
    background-color: #F9F9F9;
}


.thirdSectionLeftSide {
    padding: 80px 4vw;
    display: flex;
    flex-direction: column;
    gap: 55px;
    justify-content: center;
}

.thirdSectionLeftSide a:hover {
    cursor: pointer;
}

.thirdSectionLeftSide a span {
    font-size: 18px;
    letter-spacing: 4px;
    color: #231F20;
    text-decoration: underline;
    text-underline-offset: 10px;
    text-decoration-color: #25418A;
    text-decoration-thickness: 6px;
    position: relative;
}

.thirdSectionLeftSide a span.active {
    text-decoration-color: #f6aa21;
}

.thirdSectionRightSide .propertyMap {
    height: 600px;
}

.thirdSectionRightSide, .thirdSectionLeftSide {
    background-color: #fff;
}

.thirdSectionRightSide img {
    object-fit: cover;
    width: 100%;
    max-height: 60vh;
    height: 100%;
}

.landTransactionCalc {
    display: flex;
    flex-direction: column;
    padding: 50px 10vw;
    text-align: center;
    background: #1A2D59;
}

@media screen and (max-width: 1199px) {
    .landTransactionCalc {
        padding: 50px 4vw;
    }
}

.landTransactionCalc label {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 16px;
    color: #fff;
    letter-spacing: 2px;
    font-weight: 400;
    gap: 10px;
}

.landTransactionCalc input {
    width: 100%;
}

.landTransactionCalc h4 {
    color: #F6AA21;
    font-size: 18px;
    letter-spacing: 3.6px;
    line-height: 26px;
    font-weight: 600;
    margin-bottom: 50px !important;
}

#landTransactionInput {
    font-size: 18px;
    letter-spacing: 3.6px;
    font-weight: 600;
    color: #F6AA21;
    text-align: center;
    padding: 15px;
    background: transparent;
    outline: none;
}

#landTransactionInput::placeholder {
    color: #f6aa21;
}

#landTransactionInput:focus {
    border: 1px solid #fff;
}

.calculateBtn {
    width: 240px;
    text-align: center;
    padding: 10px;
    background: linear-gradient(to left, #f6aa21 50%, #fff 50%) right;
    background-size: 200%;
    transition: .5s ease-out;
    font-size: 15px;
    letter-spacing: 3.5px;
    font-weight: 500;
    border: none;
}

#mortgageCalcValue {
    font-size: 18px;
    letter-spacing: 3.6px;
    font-weight: 600;
    color: #F6AA21;
    text-align: center;
    padding: 15px;
    background: transparent;
    outline: none;
}

.mortgageCalculator {
    background: #25418A;
}

.mortgageCalculator input::placeholder {
    color: #f6aa21;
}

.mortgageCalculator input:focus {
    border: 1px solid #fff;
    color: #F6AA21;
}

.mortgageCalculator span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
}

.mortgageCalculator span label {
    width: 48%;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mortgageCalculator span label input {
    font-size: 18px;
    letter-spacing: 3.6px;
    font-weight: 600;
    color: #F6AA21;
    text-align: center;
    padding: 15px;
    background: transparent;
    outline: none;
    border: 1px solid #bbb;
}

.tax-results, .mortgage-results {
    padding-top: 25px;
    padding-bottom: 25px;
    color: #F6AA21;
    font-size: 20px;
}

.tax-results span, .mortgage-results span {
    margin-top: 0;
    display: block;
}

.mortgage-advice-buttons-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
}

@media screen and (max-width: 576px){
    .mortgage-advice-buttons-container {
        flex-direction: column;
        align-items: center;
    }
}

.singlePageMoreProperties .container-fluid {
    padding: 0px 10vw !important;
}

@media screen and (max-width: 1199px){
    .singlePageMoreProperties .container-fluid {
        padding: 0 4vw !important;
    }
}

.singlePageMoreProperties h3 {
    text-align: center;
}

.singlePageMoreProperties .foundPropertiesContainer {
    margin-bottom: 0px;
}

.singlePageMoreProperties {
    padding: 100px 0 100px 0;
}

.singlePageMoreProperties .foundPropertiesDetails span {
    background: #F6AA21;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 5px;
}

.singlePageMoreProperties .foundPropertiesDetails span p {
    height: 16px;
}

.singlePageMoreProperties .detailsSizeNumber {
    display: flex;
    align-items: center;
}

.singlePageMoreProperties .foundPropertiesDetails span .detailsSize {
    display: flex;
    align-items: baseline;
}


@media (max-width: 991px) {
    .singlePropertyHeroBlurb3 .blurb3FirstTitle, .singlePropertyHeroBlurb3 .blurb3SecondTitle {
        font-size: 16px;
    }

    .singlePropertyPageSecondSectionBlurbs {
        padding: 0px;
        grid-template-columns: 100%;
    }

    .singlePropertyPageSecondSectionBlurbs p {
        font-size: 14px;
    }

    .thirdSectionLeftSide a {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .singlePropertyPageSecondSectionBlurbs {
        margin-top: 50px;
        grid-template-columns: 30% 30% 30%;
    }

    .thirdSectionLeftSide a {
        font-size: 20px;
    }

    .singlePropertyHeroBlurb3 .blurb3FirstTitle, .singlePropertyHeroBlurb3 .blurb3SecondTitle {
        font-size: 18px;
    }

    .singlePageMoreProperties {
        padding: 50px 0px 0px 0px;
    }
}

@media (max-width: 500px) {
    .singlePropertyPageSecondSectionBlurbs img {
        height: 50px;
        width: auto;
    }

    .singlePropertyPageSecondSectionBlurbs p {
        font-size: 12px;
        line-height: 20px;
    }

    .singlePropertyHeroBlurb1, .singlePropertyHeroBlurb2, .singlePropertyHeroBlurb3 {
        height: auto;
    }

    .landTransactionCalc label {
        font-size: 14px;
    }

    .landTransactionCalc label input::placeholder {
        font-size: 14px !important;
    }
}

@media (max-width: 1500px) {
    .foundPropertiesDetails {
        grid-template-columns: 46% 18% 18% 18%;
    }
}

@media (min-width: 767px) and (max-width: 991px) {
    .singlePageMoreProperties .foundPropertiesContainer .foundProperty:last-child {
        display: none;
    }
}

@media (min-width: 991px) and (max-width: 1250px) {
    .singlePageMoreProperties .foundPropertiesDetails span {
        padding: 5px;
    }

    .singlePageMoreProperties .foundPropertiesDetails span .detailsSize {
        font-size: 12px;
    }
}


/* SINGLE PROPERTY RENTALS */

.singlePropertyRentalHeroLeft .singlePropertyHeroBlurb2 {
    background: #f6aa21;
}

.singlePropertyRentalHeroLeft .singlePropertyHeroBlurb2 h4 {
    color: #25418A;
}

.singlePropertyRentalHeroLeft .featuredPropDetails div {
    background: #25418A;
}

.singlePropertyRentalHeroLeft .featuredPropDetails p {
    color: #f6aa21;
}

#affordabilityCalculator {
    font-size: 18px;
    letter-spacing: 3.6px;
    font-weight: 600;
    color: #F6AA21;
    text-align: center;
    padding: 15px;
    background: transparent;
    outline: none;
}


/* GALLERY */

.inline-gallery-container {
    width: 700px;
    height: 500px;
    position: relative;
}

.lightGallery-captions h4 {
    transform: translate3d(60px, 0, 0px);
}

.lightGallery-captions p {
    transform: translate3d(-60px, 0, 0px);
}

.lightGallery-captions h4, .lightGallery-captions p {
    opacity: 0;
}

.lg-current .lightGallery-captions h4, .lg-current .lightGallery-captions p {
    transform: translate3d(0, 0, 0px);
}

.lg-current .lightGallery-captions h4, .lg-current .lightGallery-captions p {
    opacity: 1;
}

.lg-slide-progress .lightGallery-captions h4 {
    transform: translate3d(-60px, 0, 0px);
}

.lg-slide-progress .lightGallery-captions p {
    transform: translate3d(60px, 0, 0px);
}

.lg-slide-progress .lightGallery-captions h4, .lg-slide-progress .lightGallery-captions p {
    opacity: 0;
}

.lightGallery-captions h4, .lightGallery-captions p {
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in;
}

.lg-current .lightGallery-captions h4, .lg-current .lightGallery-captions p {
    transition-delay: 500ms;
}

.lg-current.lg-slide-progress .lightGallery-captions h4, .lg-current.lg-slide-progress .lightGallery-captions p {
    transition-delay: 0ms;
}

.lg-backdrop {
    background-color: rgba(0, 0, 0, 0.8);
}

.lg-outer .lg-thumb-item {
    border: none;
    border-radius: 0;
    float: unset !important;
    display: inline-block;
}

.lg-outer .lg-thumb-item.active, .lg-outer .lg-thumb-item:hover {
    border: 2px solid #F6AA21;
}

/*
.lg-backdrop.in {
  opacity: .9;
}

.lg-content {
  top: 0;
    bottom: 30vh;
    width: 1260px;
    margin: auto;
}

.lg-outer .lg-item.lg-complete.lg-zoomable .lg-dummy-img, .lg-outer .lg-item.lg-complete.lg-zoomable .lg-image {
  width: 100% !important;
    height: 45vh !important;
    object-fit: cover;
    padding: 10px;
}

.lg-outer.lg-components-open:not(.lg-zoomed) .lg-components {
  min-height: 20vh;
  bottom: 50px;
}

.lg-outer .lg-thumb-outer.lg-grab .lg-thumb-item {
  padding: 10px;
  width: 25% !important;
  height: auto !important;
  margin-right: 0 !important;
  object-fit: cover !important;
  border: none;
}

.lg-next {
  right: -5%;
}

.lg-prev {
  left: -5%;
}

.lg-outer .lg-thumb-outer {
  background: transparent;
}

.lg-outer .lg-thumb-outer {
  max-height: 450px;
} */

/*.lg-outer .lg-item.lg-complete.lg-zoomable .lg-dummy-img, .lg-outer .lg-item.lg-complete.lg-zoomable .lg-image {*/
/*  max-width: 50%;*/
/*  max-height: 50vh;*/
/*}*/

.lg-outer .lg-thumb-outer {
    background-color: transparent;
}

.lg-outer.lg-components-open:not(.lg-zoomed) .lg-components {
    max-width: 50%;
    margin: auto;
}

.lg-backdrop {
    z-index: 200000;
}

.lg-outer {
    z-index: 200001;
}

.lg-next {
    /*right: 20%;*/
    background-image: url(/wp-content/themes/mgy/assets/images/next.png) !important;
    background-size: cover;
    background-repeat: no-repeat;
    filter: invert(96%) sepia(96%) saturate(17%) hue-rotate(259deg) brightness(104%) contrast(106%);
    background-color: transparent;
    height: 30px;
    width: 30px;
}

.lg-prev {
    /*left: 20%;*/
    background-image: url(/wp-content/themes/mgy/assets/images/back.png) !important;
    background-size: cover;
    background-repeat: no-repeat;
    filter: invert(96%) sepia(96%) saturate(17%) hue-rotate(259deg) brightness(104%) contrast(106%);
    background-color: transparent;
    height: 30px;
    width: 30px;
}

.lg-prev:after {
    content: none;
}

.lg-next:before {
    content: none;
}

.lightGallery {
    display: none;
}

.gallery-container {
    display: none;
}

.blurb3FirstTitle {
    cursor: pointer;
}

.lg-outer.lg-components-open:not(.lg-zoomed) .lg-components {
    bottom: 25px;
}

/*.lg-outer .lg-item.lg-complete.lg-zoomable .lg-dummy-img, .lg-outer .lg-item.lg-complete.lg-zoomable .lg-image {*/
/*  max-width: 70%;*/
/*  max-height: 50vh;*/
/*}*/

.lg-outer .lg-thumb-outer {
  overflow-x: scroll;
  overflow-y: hidden;
  height: 110px;
  white-space: nowrap;
}

/*@media (max-width:991px) {*/
/*  .lg-outer .lg-item.lg-complete.lg-zoomable .lg-dummy-img, .lg-outer .lg-item.lg-complete.lg-zoomable .lg-image {*/
/*    transform: translateY(-200px);*/
/*}*/
/*.lg-next {*/
/*  right: 4%;*/
/*  transform: translateY(-200px);*/
/*}*/
/*.lg-prev {*/
/*  left: 4%;*/
/*  transform: translateY(-200px);*/
/*}*/
.lg-outer .lg-thumb-outer {
    max-height: 480px;
    overflow: scroll;
}

.lg-outer.lg-components-open:not(.lg-zoomed) .lg-components {
    max-width: 100% !important;
    margin: auto;
    transform: translateY(-20px) !important;
    padding: 0px 15px;
}

.lg-thumb-item {
    width: 120px !important;

}

.lg-media-overlap .lg-sub-html {
  background-image: none;
}

@media (max-width: 500px) {
    .lg-outer .lg-item.lg-complete.lg-zoomable .lg-dummy-img,
    .lg-outer .lg-item.lg-complete.lg-zoomable .lg-image {
        transform: translateY(-200px);
    }

    .lg-next {
        right: 1%;
        transform: translateY(-200px);
    }

    .lg-prev {
        left: 1%;
        transform: translateY(-200px);
    }

    .lg-outer .lg-thumb-outer {
        max-height: 345px;
        overflow: scroll;
    }

    .lg-outer .lg-item.lg-complete.lg-zoomable .lg-dummy-img, .lg-outer .lg-item.lg-complete.lg-zoomable .lg-image {
        max-width: 80%;
        max-height: 50vh;
    }

    .lg-thumb-item {
        width: 100px !important;

    }
}

@media (min-width: 991px) {
    .image-gallery .lg-outer .lg-item.lg-complete .lg-dummy-img,
    .image-gallery .lg-outer .lg-item.lg-complete .lg-image {
        /*transform: translateY(-100px);*/
        margin-bottom: 150px;
    }

    .lg-next {
        transform: translateY(-100px);
    }

    .lg-prev {
        transform: translateY(-100px);
    }
}

@media screen and (max-width: 991px) {
    .lg-next,
    .lg-prev {
        transform: translateY(-85px);
    }
}

@media screen and (max-width: 576px) {
    .lg-next {
        right: 5%;
    }
    .lg-prev {
        left: 5%;
    }
}

.image-gallery .lg-outer .lg-object {
    margin-bottom: 150px;
    padding-left: 15px;
    padding-right: 15px;
}

@media screen and (max-width: 576px) {
    .image-gallery .lg-outer .lg-object {
        margin-bottom: 0;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/*@media screen and (max-width: 400px){*/
/*    .lg-outer .lg-object {*/
/*        margin-bottom: 250px;*/
/*    }*/
/*}*/

.lg-toolbar .lg-icon {
  color: #F6AA21;
}


/* LATEST NEWS */

.latestNewsTitle,
.form-page-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 40px;
    letter-spacing: 3.6px;
    color: #25418A;
}

.singleNewsHeroText .entry-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 40px;
    letter-spacing: 3.6px;
    color: #25418A;
}

.singleNewsHeroText .et_pb_title_meta_container span {
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 3.2px;
    color: #555555;
}

.latestNewsDate {
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 3.2px;
    color: #555555;
}

.latestNewsContent {
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    color: #231F20;
    margin: 30px 0px;
}

.latestNewsViewBtn {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 3.6px;
    color: #231F20;
    text-decoration: underline;
    text-decoration-color: #D1232A;
    text-underline-offset: 10px;
    text-decoration-thickness: 6px;
    position: relative;
    display: inline-block;
    height: 33.5px;
    text-transform: uppercase;
}

.latestNewsViewBtn:hover {
    color: #231F20 !important;
}

.latestNewsHeroRight img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

@media screen and (max-width: 576px){
    .latestNewsHeroRight img {
        min-height: 40vh;
    }
}

.latestNewsHeroLeft,
.form-page-description-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 4vw;
    min-height: 60vh;
    background-color: #F9F9F9;
}

@media (min-width: 980px) {
    .latestNewsHeroLeft,
    .form-page-description-container{
        padding: 50px 10vw;
    }
}

@media screen and (max-width: 576px){
    .latestNewsHeroLeft,
    .form-page-description-container {
        min-height: auto;
        padding: 25px 4vw;
    }
}

.newsPost {
    text-align: center;
    background: transparent;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 80px;
}

.newsPost h4 {
    font-size: 14px;
    letter-spacing: 3.2px;
    line-height: 25px;
    color: #25418A;
    font-weight: 600;
    text-align: left;
    word-break: break-word;
    white-space: normal;
}

.newsPost p {
    text-align: left;
    color: #555555;
    margin-bottom: 0px;
    font-size: 12px;
    letter-spacing: 3.2px;
    font-weight: 400;
    line-height: 25px;
}

.newsPost img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    max-height: 300px;
    object-fit: cover;
}

@media screen and (max-width: 576px) {
    .newsPost img {
        min-height: 175px;
        max-height: 200px;
    }
}

.newsPost.resourcePost img {
    min-height: 200px;
}

@media screen and (max-width: 576px){
    .newsPost.resourcePost img {
        min-height: 175px;
        max-height: 200px;
    }
}

.newsFilterRight {
    padding: 60px 40px;
    text-align: center;
}

@media screen and (max-width: 576px) {
    .newsFilterRight {
        padding: 15px;
    }
}

.newsFilterLoadMoreBtn {
    font-size: 18px;
    letter-spacing: 3.6px;
    color: #231F20;
    text-decoration: underline;
    text-decoration-color: #F6AA21;
    text-decoration-thickness: 6px;
    text-underline-offset: 10px;
    position: relative;
    height: 34px;
    display: inline-block;
}

.resourcesFilterLoadMoreBtn {
    height: 33px;
}

.newsFilterLoadMoreBtn:hover {
    color: #231F20 !important;
}

.newsFilterRight .row {
    margin-bottom: 40px;
}

.newsFilterLeft {
    background: #1A2D59;
    padding: 60px 4vw;
}

.newsCategoryRadio label {
    color: #fff;
}

.newsCategoryRadio input[type=radio] {
    border: 1px solid #fff;
}

.newsFilterLeft h4 {
    font-size: 18px;
    letter-spacing: 3.6px;
    font-weight: 600;
    color: #F6AA21;
}

.imageCss img {
    object-fit: cover;
}

.textOrange {
    color: #F6AA21;
}

.textWhite {
    color: #fff;
}

.textGray {
    color: #343a40;
}

.textGray:hover {
    color: #343a40 !important;
}

.videoCss .fluid-width-video-wrapper {
    padding-top: 0px !important;
    height: 100%;
}

.videoCss .et_pb_video_box {
    height: 45vh;
}

.blueUnderline {
    text-decoration: underline;
    text-decoration-color: #25418A;
    text-decoration-thickness: 6px;
    text-underline-offset: 10px;
}

.orangeUnderline {
    text-decoration: underline;
    text-decoration-color: #F6AA21;
    text-decoration-thickness: 6px;
    text-underline-offset: 10px;
}

.redUnderline {
    text-decoration: underline;
    text-decoration-color: #D1232A;
    text-decoration-thickness: 6px;
    text-underline-offset: 10px;
}

.relatedArticles .more-link {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 3.6px;
    color: #231F20;
    text-decoration: underline;
    text-decoration-color: #D1232A;
    text-underline-offset: 10px;
    text-decoration-thickness: 6px;
    height: 33px;
    position: relative;
    display: inline-block !important;
}

.relatedArticles .entry-title {
    font-size: 14px;
    letter-spacing: 3.2px;
    line-height: 25px;
    color: #25418A;
    font-weight: 600;
    text-align: left;
    margin-bottom: 10px !important;
    pointer-events: none;
}

.relatedArticles .et_pb_blog_grid .et_pb_post {
    border: none !important;
}

.relatedArticles .post-meta {
    text-align: left;
    color: #555555;
    font-size: 12px;
    letter-spacing: 3.2px;
    font-weight: 400;
    line-height: 25px;
    margin-bottom: 30px !important;
}

.relatedArticles .entry-featured-image-url {
    pointer-events: none;
}

.landlordBottomImg img {
    object-fit: cover;
    height: 100%;
}

.informationTitle h2 {
    font-size: 30px;
    letter-spacing: 6px;
    line-height: 50px;
}

.fullwidthBottomImgText {
    font-size: 25px;
    letter-spacing: 5px;
    line-height: 40px;
    color: #fff;
    font-weight: 600;
    z-index: 2;
}

.blackOverlay {
    background: linear-gradient(-90deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.8) 70%);
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    z-index: 1;
}

.whyusLastSection .et_pb_row {
    display: flex;
}

.whyusLastSection .et_pb_text_inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.whyusLastSection .et_pb_image {
    height: 100%;
}

.whyusLastSection .et_pb_image_wrap {
    height: 100%;
    width: 100%;
}

.whyusLastSection .et_pb_image_wrap img {
    height: 100%;
    object-fit: cover;
    width: 100% !important;
}

.whyusLastSection .et_pb_text {
    display: flex;
    align-items: center;
}

.whyusTextModules .et_pb_text_inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.whyusBlurbs .et_pb_blurb_container .et_pb_module_header {
    min-height: 56px;
}

/* TEAM SWIPER WIDGET */

#teamswiper-2 {
    width: 100%;
    margin-bottom: 0px;
}

.teamSwiperContainer {
    min-height: 40vh;
    position: relative;
    text-align: center;
    background-color: #25418a;
}


.teamSwiper {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    margin-bottom: 50px;
    margin-top: 50px;
}

.teamSwiper h4 {
    color: #f6aa21;
}

.teamSwiper .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.teamSwiper .swiper-slide p {
    text-align: center;
    color: #fff;
    margin-bottom: 0px;
}

.teamSwiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 175px;
}

.teamSwiper .swiper {
    margin-left: auto;
    margin-right: auto;
    min-height: 40vh;
}

.teamSwiperContainer .swiper-pagination {
    width: 100%;
    left: 0;
    padding: 40px 0px;
}

.teamSwiperContainer h3 {
    font-size: 20px;
    letter-spacing: 4px;
    font-weight: 600;
    color: #f6aa21;
    text-align: center;
}

.teamSwiperContainer h6 {
    font-size: 16px;
    font-weight: 500;
    color: #f6aa21;
    letter-spacing: 3.2px;
    line-height: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.teamSwiperContainer h5 {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 3.2px;
    line-height: 30px;
}


.teamSwiperContainer .swiper-button-next {
    right: 25px;
    height: 30px;
    color: #fff;
    background-image: url(/wp-content/themes/mgy/assets/images/next.png) !important;
    background-size: cover;
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(94deg) brightness(108%) contrast(101%);
    background-repeat: no-repeat;
    top: var(--swiper-navigation-top-offset, 50%);
}

.teamSwiperContainer .swiper-button-prev {
    left: 25px;
    height: 30px;
    color: #fff;
    background-image: url(/wp-content/themes/mgy/assets/images/back.png) !important;
    background-size: cover;
    background-repeat: no-repeat;
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(94deg) brightness(108%) contrast(101%);
    top: var(--swiper-navigation-top-offset, 50%);
}


.teamViewAllBtn {
    color: #fff !important;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 3.6px;
    text-decoration: underline !important;
    text-underline-offset: 10px;
    text-decoration-thickness: 6px !important;
    text-decoration-color: #f6aa21 !important;
    position: relative;
    height: 34px;
    display: inline-block;
}

.meetTheTeamSelect select {
    background-image: url(/wp-content/themes/mgy/assets/images/downarrow.png);
    background-position-x: 95%;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 3.2px;
    padding: 14px 20px;
    height: 43px;
}

.meetTheTeamSelect .options li {
    margin-bottom: 0px;
    text-align: initial;
}

.meetTheTeamSelect .options {
    z-index: 22;
}

/* TEAM PAGE */

.teamTitleContainer {
    padding: 50px 4vw;
    background-color: var(--light-blue);
}

@media (min-width: 980px) {
    .teamTitleContainer {
        padding: 50px 10vw;
    }
}

.teamTitleContainer h2 {
    font-size: 30px;
    letter-spacing: 6px;
    font-weight: 500;
    color: #25418A;
}

.teamBlurb img {
    max-width: 175px;
    min-height: auto;
    border-radius: 50%;
}

.teamBlurb .newsPost {
    justify-content: center;
    align-items: center;
}

.teamBlurb .newsPost h4 {
    text-align: center;
    text-transform: uppercase;
}

.teamBlurb .newsPost p {
    text-align: center;
    font-size: 14px;
    letter-spacing: 3.2px;
    line-height: 25px;
    color: var(--charcoal);
    font-weight: 600;
}

.teamFilterRight {
    padding: 150px 4vw;
}

.teamFilterLeft {
    padding: 150px 4vw;
    background: #fff;
}

.teamFilterLeft h4 {
    color: #25418A;
}

.teamCategoryRadio label {
    color: #231F20;
    font-weight: 400;
    text-transform: uppercase;
}

.newsCategoryRadio label {
    text-transform: uppercase;
}

.newsCategoryRadio input[type=checkbox] {
    border: 1px solid #fff;
}

.newsClearAllBtn {
    color: #fff !important;
}

.teamCategoryRadio input[type=radio] {
    border: 1px solid #231F20;
}

.teamBottomLinks a {
    font-size: 18px;
    color: #fff;
    font-weight: 500;
    letter-spacing: 3.6px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 150px;
}

.teamBottomLinks a span {
    position: relative;
    height: 34px;
}

.teamBottomLinks .row {
    text-align: center;
}

.teamBottomLeftLink {
    background: #25418A;
}

.teamBottomRightLink {
    background: #1A2D59;
}

@media (max-width: 767px) {
    .teamTitleContainer h2 {
        font-size: 22px;
    }
}

/* RESOURCES PAGE */

.resourcesTitleContainer {
    padding: 50px 10vw;
    background-color: #1a2d59;
}

.resourcesTitleContainer h2 {
    font-size: 30px;
    letter-spacing: 6px;
    font-weight: 500;
    color: #f6aa21;
}

.resourcesFilterRight {
    padding: 100px 10vw 100px 4vw;
}

.resourcesFilterLeft {
    padding: 100px 10vw;
    background: #F9F9F9;
}

.resourcesFilterLeft h4 {
    color: #25418A;
}

.resourcesFilterRight .latestNewsContent {
    text-align: left;
    margin: 0;
}

.clearBtn {
    font-size: 14px;
    letter-spacing: 2.8px;
    font-weight: 500;
    color: #25418a;
    margin-top: 35px;
    margin-bottom: 100px;
    position: relative;
    height: 32px;
    display: inline-block;
}

.clearBtn:hover {
    color: #25418a !important;
}

/* LAND AND NEW HOMES */

.caseStudies .et_pb_blog_grid .et_pb_post {
    padding: 0px !important;
    border: none;
}

.caseStudies .et_pb_blog_grid .et_pb_post img {
    padding: 19px !important;
    height: 250px !important;
    object-fit: cover;
}

.caseStudies .post-content .post-content-inner p:last-of-type {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    margin-top: 20px;
}

@media (max-width: 980px) {
    .newsExpandedFourthSection .et_pb_column_1_2 {
        display: flex;
        flex-direction: column-reverse;
    }

    .ourStoryFirstSection .et_pb_column_1_2 {
        display: flex;
        flex-direction: column-reverse;
    }
}

.entry-content .caseStudies {
    padding-left: 4vw !important;
    padding-right: 4vw !important;
}

.caseStudies .entry-title {
    margin-bottom: 20px !important;
    font-weight: 600;
    font-size: 18px;
    line-height: 40px;
    letter-spacing: 3.6px;
    color: #25418A;
}

/* REGISTER WITH US PAGE */

.rental-price {
    display: none;
}

label.address-select-container {
    display: none;

}

.register-with-us .text-input input {
    max-height: 43px;
    min-height: 43px;
    line-height: 20px;
}

.registerContainer {
    background: #1A2D59;
}

.registerContainer h2 {
    color: #f6aa21;
}

.registerFirstSection .row {
    background: #25418A;
}

.registerFirstSection span p {
    margin: 0px !important;
    margin-bottom: 15px !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
}

.form-page-section .form-page-description-container > div {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

@media screen and (max-width: 767px) {
    .form-page-section .form-page-description-container > div {
        flex-direction: column;
        gap: 10px;
    }
}

.form-page-section h4 {
    color: #fff;
    margin-bottom: 20px;
}

.form-page-section p {
    color: #fff;
    font-size: 16px;
}

@media (max-width:767px) {
    .registerFirstSection span {
        column-count: 1;
    }
    .registerFirstSection span p {
        margin-bottom: 15px !important;
    }
}

.selectWithSearchImg input {
    width: 100%;
    appearance: none;
    background: url(/wp-content/themes/mgy/assets/images/searchyellow.png);
    background-repeat: no-repeat;
    background-position-x: calc(100% - 5px);
    background-position-y: center;
    background-size: 30px;
}

.selectWithDownArrow input {
    width: 100%;
    appearance: none;
    background-image: url(/wp-content/themes/mgy/assets/images/downarrow.png);
    background-repeat: no-repeat;
    background-position-x: calc(100% - 15px);
    background-position-y: center;
    background-size: 15px;
}

.enterManually {
    font-size: 14px;
    letter-spacing: 2px;
    color: #F6AA21;
    font-weight: 400;
    margin-bottom: 15px;
}

.show-address-fields {
    display: none;
    flex-direction: column;
}

.selectWithDownArrow .styledSelect, .registerWithUsBedroomsAndPriceSelect .styledSelect {
    width: 100%;
    height: 100%;
    appearance: none;
    background-image: url(/wp-content/themes/mgy/assets/images/downarrow.png) !important;
    background-repeat: no-repeat;
    background-position-x: calc(100% - 15px);
    background-position-y: center;
    background-size: 15px !important;
    max-width: 100% !important;
    cursor: pointer;
    letter-spacing: 0px;
    color: #000;
    font-weight: 400;
}

@media (max-width: 991px) {
    .teamSwiperContainer .swiper-button-next {
        right: 10px;
    }

    .teamSwiperContainer .swiper-button-prev {
        left: 10px;
    }
}

@media (min-width: 1500px) {
    .teamSwiperContainer .swiper-button-next {
        right: 10vw;
    }

    .teamSwiperContainer .swiper-button-prev {
        left: 10vw;
    }
}

@media (min-width: 2000px) {
    .teamSwiperContainer .swiper-button-next {
        right: 20vw;
    }

    .teamSwiperContainer .swiper-button-prev {
        left: 20vw;
    }
}

@media (max-width: 991px) {
    .newsExpandedHero .et_pb_row {
        flex-direction: column;
    }

    .newsExpandedHero .et_pb_column_0 {
        padding: 50px 0px;
        margin-bottom: 0px;
    }

    .newsExpandedFirstSection {
        padding: 50px 0px !important;
    }

    .newsExpandedFirstSection .et_pb_row {
        flex-direction: column;
        height: auto !important;
    }

    .newsExpandedFirstSection .et_pb_row .et_pb_text_1, .newsExpandedFirstSection .et_pb_row .et_pb_text_2 {
        padding: 0px 10vw !important;
    }

    .newsExpandedSecondSection .et_pb_row {
        flex-direction: column;
        height: auto !important;
    }

    .newsExpandedThirdSection {
        padding: 50px 0px !important;
    }

    .newsExpandedThirdSection .et_pb_row {
        flex-direction: column;
        height: auto !important;
    }

    .newsExpandedThirdSection .et_pb_row .et_pb_text_4, .newsExpandedThirdSection .et_pb_row .et_pb_text_5 {
        padding: 0px 10vw !important;
    }

    .et_pb_gutters1 .et_pb_row_1-2_1-4_1-4 > .et_pb_column.et_pb_column_1_4, .et_pb_gutters1 .et_pb_row_1-4_1-4 > .et_pb_column.et_pb_column_1_4, .et_pb_gutters1 .et_pb_row_1-4_1-4_1-2 > .et_pb_column.et_pb_column_1_4, .et_pb_gutters1 .et_pb_row_1-5_1-5_3-5 > .et_pb_column.et_pb_column_1_5, .et_pb_gutters1 .et_pb_row_3-5_1-5_1-5 > .et_pb_column.et_pb_column_1_5, .et_pb_gutters1 .et_pb_row_4col > .et_pb_column.et_pb_column_1_4, .et_pb_gutters1 .et_pb_row_5col > .et_pb_column.et_pb_column_1_5, .et_pb_gutters1.et_pb_row_1-2_1-4_1-4 > .et_pb_column.et_pb_column_1_4, .et_pb_gutters1.et_pb_row_1-4_1-4 > .et_pb_column.et_pb_column_1_4, .et_pb_gutters1.et_pb_row_1-4_1-4_1-2 > .et_pb_column.et_pb_column_1_4, .et_pb_gutters1.et_pb_row_1-5_1-5_3-5 > .et_pb_column.et_pb_column_1_5, .et_pb_gutters1.et_pb_row_3-5_1-5_1-5 > .et_pb_column.et_pb_column_1_5, .et_pb_gutters1.et_pb_row_4col > .et_pb_column.et_pb_column_1_4, .et_pb_gutters1.et_pb_row_5col > .et_pb_column.et_pb_column_1_5 {
        width: 20% !important;
    }

    .et_pb_text {
        height: auto !important;
    }

    .searchPagePropertiesContainer .container-fluid {
        padding: 0px;
    }

    .searchPagePropertiesContainer {
        padding: 50px 4vw;
    }

    .singlePageMoreProperties {
        padding: 50px 0px;
    }

    .fullwidthBottomImgText {
        font-size: 20px;
    }

    .whyusLastSection .et_pb_row {
        display: flex;
        flex-direction: column;
    }

    .teamFilterRight {
        padding: 50px 4vw;
    }

    .teamFilterLeft {
        padding: 50px 4vw;
    }

    .resourcesFilterLeft {
        padding: 50px 4vw;
    }

    .resourcesFilterRight {
        padding: 50px 4vw;
    }

    .mobileBtnSpacing {
        margin-bottom: 0px;
    }

    .resourcesFilterRight .row {
        margin-bottom: 0px;
    }
}


/* SELECT DROPDOWN */

.dropdown {
    position: relative;
    width: 49%;
}

.full-width-dropdown {
    width: 100%;
}

.dropdown .option {
    position: absolute;
    top: 44px;
    width: 100%;
    overflow: hidden;
    display: none;
    background: #fff;
    border-right: 1px solid black;
    border-left: 1px solid black;
    border-bottom: 1px solid black;
}

.dropdown .option div {
    padding: 12px 20px;
    cursor: pointer;
    color: #231F20;
}

.dropdown.active .option {
    display: block;
    z-index: 2;
}

.dropdown .option div:hover {
    color: #f6aa21;
}

.dropdownFullWidth {
    width: 100%;
}

.dropdownFullWidth .select {
    min-height: 46px;
}

.textBox {
    cursor: pointer;
    max-width: 100% !important;
    width: 100%;
    height: 43px;
}

.searchInput input {
    background-image: none !important;
}

.contactPostcode {
    width: 50%;
}

.contactPostcode input {
    width: 100%;
}

.homepageSearchLabel .dropdown .option {
    top: 42px;
}

.searchImgLabel input {
    background-image: none;
    border-radius: 0;
    color: #000;
}


/* HOVERS */

.blueBgHover:hover {
    color: #f6aa21 !important;
    background-position: left !important;
}

.orangeBgHover:hover {
    color: #25418A !important;
    background-position: left !important;
}

.orangeOnBlueBgHover:hover {
    background-position: left !important;
    color: #25418a !important;
}

.whiteOnBlueBgHover:hover {
    background-position: left !important;
    color: #25418a !important;
}

/* RED ON BLUE UNDERLINE HOVER */

.underlineHoverRed:hover {
    text-decoration: underline;
    text-decoration-color: #25418a !important;
    text-decoration-thickness: 6px !important;
    color: #fff;
}

.underlineHoverRed::after {
    content: '';
    position: absolute;
    width: 0;
    height: 6px;
    bottom: 0;
    left: 0;
    background: #25418a;
    transition: 1s;
    z-index: 2;
}

.homepageUnderlinedBtnLeft::after {
    background-color: #f6aa21;
}

.homepageUnderlinedBtnLeft:hover {
    text-decoration-color: #f6aa21 !important;
}

.underlineHoverRed:hover::after {
    width: 100%;
    background: #d1232a;
}

/* BLUE ON ORANGE UNDERLINE HOVER */

.underlineHoverBlueOnOrange:hover {
    text-decoration: underline;
    text-decoration-color: #f6aa21 !important;
    text-decoration-thickness: 6px !important;
    color: #fff;
}

.underlineHoverBlueOnOrange::after {
    content: '';
    position: absolute;
    width: 0;
    height: 6px;
    bottom: 0;
    left: 0;
    background: #f6aa21;
    transition: 1s;
    z-index: 2;
}

.underlineHoverBlueOnOrange:hover::after {
    width: 100%;
    background: #25418a;
}

/* RED ON ORANGE UNDERLINE HOVER */

.underlineHoverRedOnOrange:hover {
    text-decoration: underline;
    text-decoration-color: #f6aa21 !important;
    text-decoration-thickness: 6px !important;
    color: #fff;
}

.underlineHoverRedOnOrange::after {
    content: '';
    position: absolute;
    width: 0;
    height: 6px;
    bottom: 0;
    left: 0;
    background: #f6aa21;
    transition: 1s;
    z-index: 2;
}

.underlineHoverRedOnOrange:hover::after {
    width: 100%;
    background: #d1232a;
}

/* ORANGE ON BLUE UNDERLINE HOVER */

.underlineHoverOrange:hover {
    text-decoration: underline;
    text-decoration-color: #25418a !important;
    text-decoration-thickness: 6px !important;
    color: #231F20;
}

.underlineHoverOrange::after {
    content: '';
    position: absolute;
    width: 0;
    height: 6px;
    bottom: -11.5px;
    left: 0;
    background: #25418a;
    transition: 1s;
    z-index: 2;
}

.underlineHoverOrange:hover::after {
    width: 100%;
    background: #f6aa21;
}

/* DARK BLUE ON LIGHT BLUE UNDERLINE HOVER */

.underlineHoverDarkOnLightBlue:hover {
    text-decoration: underline;
    text-decoration-color: rgba(37, 65, 138, .5) !important;
    text-decoration-thickness: 6px !important;
    color: #231F20;
}

.underlineHoverDarkOnLightBlue::after {
    content: '';
    position: absolute;
    width: 0;
    height: 6px;
    bottom: -11px;
    left: 0;
    background: rgba(37, 65, 138, .5);
    transition: 1s;
    z-index: 2;
}

.underlineHoverDarkOnLightBlue:hover::after {
    width: 100%;
    background: #25418a;
}

/* DARK BLUE ON LIGHT ORANGE UNDERLINE HOVER */

.underlineHoverDarkOnLightOrange:hover {
    text-decoration: underline;
    text-decoration-color: rgba(246, 170, 33, .5) !important;
    text-decoration-thickness: 6px !important;
    color: #231F20;
}

.underlineHoverDarkOnLightOrange::after {
    content: '';
    position: absolute;
    width: 0;
    height: 6px;
    bottom: -11px;
    left: 0;
    text-decoration-color: rgba(246, 170, 33, .5);
    transition: 1s;
    z-index: 2;
}

.underlineHoverDarkOnLightOrange:hover::after {
    width: 100%;
    background: #25418a;
}

/* ORANGE ON RED UNDERLINE HOVER */

.underlineHoverOrangeOnRed:hover {
    text-decoration: underline;
    text-decoration-color: #d1232a !important;
    text-decoration-thickness: 6px !important;
    color: #231F20;
}

.underlineHoverOrangeOnRed::after {
    content: '';
    position: absolute;
    width: 0;
    height: 6px;
    bottom: -1px;
    left: 0;
    background: #d1232a;
    transition: 1s;
    z-index: 2;
}

.underlineHoverOrangeOnRed:hover::after {
    width: 100%;
    background: #f6aa21;
}

/* REQUEST A VALUATION PAGE */

.requestAValuation {
    background-image: url(/wp-content/themes/mgy/assets/images/qwe.png);
    background-size: cover;
    position: relative;
    background-repeat: no-repeat;
    background-position: bottom;
}

.requestAValuation .contactFormContainer {
    background-color: transparent;
    padding: 200px 4vw;
}

.requestAValuation .contactForm {
    position: relative;
    z-index: 1;
}

.requestAValuation .contactFormContainer h2 {
    color: #f6aa21;
    position: relative;
    z-index: 1;
}

.requestAValuation .contactFormContainer p {
    color: #fff;
    position: relative;
    z-index: 1;
}

.requestAValuation .contactForm label {
    color: #f6aa21;
}

.requestAValuation .contactForm .radioLabelContainer label {
    color: #fff;
}

.requestAValuation .contactPostcode {
    background-color: #fff;
}

.requestAValuation .contactTermsText {
    font-size: 12px;
    color: #fff;
    width: 100%;
}

.requestAValuation .contactForm .tncAgreement button {
    color: #fff;
}

.requestAValuation input[type=radio],
.requestAValuation input[type=checkbox] {
    border: 1px solid #fff;
}

.requestAValuationOverlay {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, .7);
}

@media (max-width: 767px) {
    .requestAValuation .contactFormContainer {
        padding: 50px 0 100px 0;
    }
}

@media (max-width: 500px) {
    .requestAValuation .contactTermsText {
        font-size: 10px;
    }
}


/* SHARE ICONS */

.shareIcons div img {
    filter: invert(17%) sepia(89%) saturate(2007%) hue-rotate(215deg) brightness(84%) contrast(84%);
}

.shareIcons div img:hover {
    filter: invert(64%) sepia(94%) saturate(1025%) hue-rotate(346deg) brightness(107%) contrast(93%);
}


/* FOOTER */

.footerMenu .has-children {
    margin-bottom: 30px;
    height: fit-content;
}

@media (min-width:576px) {
.footerMenu .has-children:last-child {
    transform: translateY(-170px);
}
}

footer {
    background-color: #231f20;
}

.widget_footerwidget {
    width: 100% !important;
    margin: 0 !important;
}

.widget_footerwidget .row {
    margin: auto;
    width: 100%;
}

.footerWidget .et_pb_module {
    padding: 0px;
}

footer .widget_footerwidget .footerWidgetPadding {
    padding: 50px 4vw;
    background-color: #231f20;
}

footer .site-logo {
    margin-bottom: 50px;
}

footer .site-logo a {
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 50px;
}

footer .site-logo img {
    max-height: 100px;
}

footer .nav-link {
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 400;
    color: #fff !important;
    padding: 10px 0px;
    text-transform: uppercase;
}

footer .nav-link:hover {
    color: #f6aa21 !important;
}

footer .footerLinkParent {
    font-size: 18px;
    letter-spacing: 2px;
    line-height: 24px;
    font-weight: 600;
    color: #f6aa21 !important;
    padding: 10px 0px;
    text-transform: uppercase;
}

.locationsFooter .footerLinkParent:not(:first-child) {
    margin-top: 30px;
}

footer .et_pb_widget ol li ol li, footer .et_pb_widget ul li ul li {
    margin-left: 0;
}

footer .footerOffice p {
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 400;
    color: #fff;
    padding: 10px 0px;
    text-transform: uppercase;
}

.footerOffice {
    margin-bottom: 20px;
}

.footerSocials {
    padding: 0px 12px;
}

@media screen and (max-width: 576px) {
    .footerSocials {
        display: grid;
        grid-template-columns: repeat(4, 50px);
        gap: 25px;
        width: 100%;
        margin-top: 20px;
        margin-bottom: 30px;
    }
}

.footerSocials a {
    width: 60px;
    display: inline-flex;
    padding-right: 20px;
    margin: 50px 0;
    justify-content: center;
}

@media screen and (max-width: 576px) {
    .footerSocials a {
        height: 40px;
        margin: 0;
    }
}

.footerCompanyDetails {
    padding: 0 12px;
}

.footerSocials a img {
    max-width: 100%;
    height: 30px;
}

@media screen and (max-width: 576px) {
    .footerSocials a img {
        max-height: 50px;
    }
}

.footerSocials a img:hover {
    filter: brightness(0) saturate(100%) invert(70%) sepia(29%) saturate(1299%) hue-rotate(347deg) brightness(103%) contrast(93%);
}

.contact-social-icons {
    max-height: 40px;
    width: 100%;
}

@media screen and (max-width: 767px){
    .contact-social-icons {
        max-height: 30px;
    }
}

.contactPageSocials {
    display: flex;
    flex-direction: row;
    gap: 25px;
    flex-wrap: wrap;
}

@media screen and (max-width: 576px){
    .contactPageSocials {
        display: grid;
        grid-template-columns: repeat(4, 50px);
        gap: 25px;
        width: 100%;
    }
}

.contactPageSocials a img:hover {
    filter: brightness(0) saturate(100%) invert(70%) sepia(29%) saturate(1299%) hue-rotate(347deg) brightness(103%) contrast(93%);
}

footer .footerCompanyDetails p {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
}

.footerBlackStrip h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footerBlackStrip {
    padding: 50px 4vw !important;
    background-color: #000;
}

.form-button {
    height: 43px;
    padding: 0;
    position: relative;
    background: none;
    border: 0;
    font-size: 16px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 10px;
    text-decoration-color: #f6aa21;
    text-decoration-thickness: 6px;
    color: #231F20;
}

.form-button:hover {
    color: #231F20 !important;
}

.form-button-container {
    display: flex;
    justify-content: end;
}

.sendBtn {
    height: 43px;
    padding: 0;
    position: absolute;
    right: 0;
    background: none;
    border: 0;
    font-size: 16px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 10px;
    text-decoration-color: #f6aa21;
    text-decoration-thickness: 6px;
    color: #231F20;
}

/* .sendBtn:hover {
    color: #231F20 !important;
} */

@media (max-width: 1300px) {
    .leftRightPaddingMobile {
        padding-left: 10vw !important;
        padding-right: 10vw !important;
    }
}

@media (min-width: 1300px) {
    footer .widget_footerwidget .footerWidgetPadding {
        padding: 50px 10vw;
    }

    .footerBlackStrip {
        padding: 80px 10vw !important;
    }

    .leftRightPadding {
        padding-left: 10vw !important;
        padding-right: 10vw !important;
    }

    .entry-content .caseStudies.leftRightPadding {
        padding-left: 10vw !important;
        padding-right: 10vw !important;
    }

    .entry-content .leftRightPadding {
        padding-left: 10vw !important;
        padding-right: 10vw !important;
    }

    .footerBlackStrip {
        padding: 80px 10vw;
    }
}

@media (max-width: 500px) {

    /*.footerCompanyDetails {*/
    /*    margin-bottom: 50px;*/
    /*}*/

    .offices {
        margin-top: 50px;
    }

    .footerBlackStrip {
        padding: 40px 4vw;
    }

    .footerBlackStrip h4 {
        font-size: 14px;
        line-height: 20px;
    }
}

.clearAllBtn {
    font-size: 14px;
    letter-spacing: 2px;
    text-decoration: underline;
    text-decoration-color: #F6AA21;
    text-decoration-thickness: 6px;
    text-underline-offset: 10px;
    position: relative;
    height: 32.5px;
    display: inline-block;
    color: #231F20;
    cursor: pointer;
}

.clearAllBtn:hover {
    color: #231F20;
}


.agreeCheckboxLinks {
    color: #000;
}

.agreeCheckboxLinks:hover {
    color: #25418a;
}

#ouroffices-2 {
    width: 100% !important;
}

.imageContainer {
    position: relative;
}

.blurbBlackOverlay {
    position: absolute;
    background: black;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    opacity: .3;
    display: none;
}

.selected {
    background: #f6aa21;
    color: #fff;
}

.selected:hover {
    color: #25418a !important;
}

.landlordVideoBg {
    height: 100% !important;
}

.landlordVideoBg .et_pb_column, .landlordVideoBg .et_pb_column .et_pb_module, .landlordVideoBg .et_pb_video_box, .landlordVideoBg .et_pb_video_box video {
    height: 100% !important;
}

.landlordVideoBg .et_pb_video_box video {
    object-fit: cover;
}

.contactSwiperContainer .arrowZIndex {
    z-index: 1 !important;
}


#sharesocials-2 {
    margin: 0;
    width: 100%;
}

.shareIcons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shareContainer h3 {
    font-weight: 600;
    font-size: 22px;
    line-height: 40px;
    letter-spacing: 3.6px;
    color: #25418A;
}

.shareIcons img {
    filter: brightness(0) saturate(100%) invert(18%) sepia(76%) saturate(1657%) hue-rotate(209deg) brightness(94%) contrast(90%);
}

.shareIcons img:hover {
    filter: brightness(0) saturate(100%) invert(89%) sepia(23%) saturate(5953%) hue-rotate(339deg) brightness(96%) contrast(100%);
}

/* Property Search */

.property-search-form {
    max-width: 600px;
    min-height: 620px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media screen and (max-width: 767px){
    .property-search-form {
        max-width: 100%;
        min-height: auto;
    }
}

.styledSelect.disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    opacity: 0.7;
}

.styledSelect.disabled:hover {
    cursor: not-allowed;
}


.homepageUnderlinedBtnLeft {
    color: #fff;
}

.homepageUnderlinedBtnLeft:hover {
    color: #fff !important;
}

.show-advanced-filters {
    display: none;
    width: 100%;
    background: transparent;
    border: 0;
    text-align: left;
    padding: 0;
    color: #25418a;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.show-advanced-filters:hover {
    color: #f6aa21;
}

@media (max-width: 576px) {
    .show-advanced-filters {
        display: block;
    }

    .mobile-filter-content,
    .advanced-filters-content {
        display: none;
    }

    .mobile-filter-content.is-visible {
        display: flex;
    }

    .advanced-filters-content.is-visible {
        display: block;
        margin-bottom: 25px;
    }
}

/* Book a viewing popup */

input:disabled {
    background-color: #f0f0f0; /* Light gray background */
    color: #a0a0a0; /* Optional: Adjust text color for better readability */
    border-color: #d0d0d0; /* Optional: Adjust border color */
    cursor: not-allowed; /* Optional: Show a not-allowed cursor */
    opacity: 1; /* Prevent default grayed-out opacity on some browsers */
}

/* Cookie preferences */

.show--consent #cc-main .cc--anim .cm--middle {
    font-family: 'montserrat', sans-serif !important;
}

.cookie-preferences-button {
    position: fixed;
    border: none;
    right: 15px;
    bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background-color: var(--mgy-blue);
}

.cookie-preferences-button:hover {
    background-color: var(--light-blue);
}

.cookie-preferences-button img {
    width: 24px;
    height: 24px;
}

/* Helpers */

.background-transparent {
    background: transparent;
}

.background-dark-blue {
    background: var(--mgy-blue);
}

.background-medium-dark-blue {
    background: var(--medium-dark-blue);
}

.display-flex {
    display: flex;
}

.flex-direction-column {
    flex-direction: column;
}

.position-relative {
    position: relative;
}

.postcode-loading {
    color: #f6aa21;
    font-size: 14px;
    margin-top: 5px;
    font-style: italic;
}

.properties-template-default > .widget.widget_fixedmenu > .fixedMenuContainer{
    display: none;
}