/* Image block size on mobile. | 34412083-hc (LS) */
@media only screen and (max-width: 800px) {
.wp-block-image.mobile {
  width: 40%;
  margin: 0 auto;
}
}
/* Set custom width for full-width columns on home page and add more spacing inbetween / 34053285-HC (JJ) */
.home .wp-block-columns.alignfull {
	max-width: 1600px;
}

@media (min-width: 601px) {
	.home .wp-block-columns.alignfull > .wp-block-column {
		margin-left: .75em;
		margin-right: .75em;
	}
}

/* Change logo size |  4754441-zd MH  */
.site-logo {
	max-width: 200px;
}
/* Make header background color white | */
#masthead {
	background: white;
}
/* Make menu links different color | 34187920-hc bb */
#menu-main > li > a {
	color: #696868;
}

#menu-item-5 > ul > li > a {
	color: #696868;
	background: white;
}

/*remove space above cover blocks on non-home pages -desktop 4784056-hc*/
	@media screen and (min-width: 560px) {
	body:not(.home) main#main {
			padding-top: 0px;
	}
}

/* Add shadow to text with custom class - 38108400-HC (CRK) */
.block-text-shadow {
    text-shadow: 1px 1px #000;
}

/* Hides titles on pages | 34265834HC CP */
.page .entry-title {
	display: none;
}

/*widen footer and shrink height on desktop | 34311296-hc (KAK)*/
@media screen
  and (min-width: 960px) {
    .widget-area {
        min-width: 1124px;
    }
    .widget-area #block-23 {
        font-size: 70%;
    }
    .widget-area #block-23 input {
        height: 10%;
        margin-bottom: 0px;
    }
    .widget-area #block-23 textarea {
        height: 100px;
        margin-bottom: 10px;
    }
    .widget-area #block-34 p {
        font-size: 70% !important;
    }
}

/*change footer background color | 34311296-hc (KAK)*/
footer#colophon {
    background-color: #f1f1f1fa;
}

/*hide line above footer widget area | 34311296-hc(MC)*/
.widget-area::before {
    display: none;
}

/* Adjust the font size for the first heading on the homepage for mobile only -34381052hc - SM*/
@media only screen and (max-width: 600px) {
.headingHome {
	font-size: 80px !important;
	}
}
/* Hide featured image from post page | 36377890-HC NJ */

.single-post .post-thumbnail{
  display:none;
}

@media screen and (max-width: 480px) {
	.page.page-id-1261 .wp-block-columns {
		padding-left: 10px !important;
		padding-right: 10px !important;
	}
}
/*Fix padding on the "First Time Buyers borrow up to 5.5 x salary with a 5% deposit" page | 5462090-zen(zy)*/
@media screen and (max-width: 480px) {
    .page.page-id-200 .wp-block-columns {
        padding-left: 10px !important;
    padding-right: 10px !important;
    }
    .page.page-id-200 .entry-content .wp-block-group {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}
/* changing the menu background on 'Be Sociable' menu | 36663436-HC (CsR) */

#menu-item-1776 > ul > li > a {
	color: #696868;
	background: white;
} 
/* Fix Cover Block height 36767741-hc TM */

.height-639 .wp-block-cover__inner-container {
    padding-top: 10%;
}

.height-639 {
    max-height: 639px;
}
/* increase header height ZD-5708142*/
header#masthead.site-header {padding: 15px 15px}

/* removing padding on element on the home page | 38194287-HC (CsR) */

div.is-layout-flex:nth-child(8) > div:nth-child(1) > div:nth-child(2) > div:nth-child(1) > div:nth-child(1) {
padding-top: 0px;
padding-bottom: 0px;
} 

/* Centering header elements HC-38397255*/
@media screen and (min-width: 600px) {
header#masthead.site-header {
    padding: 15px 120px;
}
.site-branding {
    margin-right: 20px;
    margin-left: 30px;
}
}


/* Hide image in mobile view HC-41276066 */
@media only screen and (max-width: 600px) {
div.is-layout-flex:nth-child(18) > div:nth-child(2) > figure:nth-child(1) > img:nth-child(1) {
	display: none;
}
}
/* End hide image in mobile view */


@media only screen and (max-width: 600px) {
img.wp-image-3537 {
display: none;
	}
}

@media only screen and (max-width: 640px){}
/* Adjust the alignment menu to left and background color | ( 6016877-zen ) MT */

@media only screen and (max-width: 640px){
    .main-navigation #toggle:checked ~ div:not(.woocommerce-menu-container) {
        right: 0;
        left: auto;
        max-width: 175px;
    }
	}
/* Change font size of media & text heading on mobile | 6553465-zen | kA */
@media screen and (max-width: 767px) {
.wp-block-media-text p {
  font-size: 30px !important;
    word-break: normal;

}
}
/*Hide image beside slider on homepage 6634131-zen sgy*/  
@media only screen and (max-width: 600px) {
    .wp-image-5197 {
        display: none;
    }
}
/*Reduce the space after the 'Type of Mortgages on home page| KG | 6698754-zen*/
.home .wp-block-cover .wp-block-cover__inner-container{
    margin-top: 0px;
}
.home .wp-block-columns.alignfull:not(:last-child){
    margin-bottom: 0px;
}

/*Fix overlapping of "Beth Rodwell" text on Homepage | 6771843-zen(zy)*/
@media only screen and (max-width: 600px) {
	mark.has-inline-color:first-child {
		font-size: 18px;
	}
}

/*Fix overlapping of "First Time Buyer" text on First Time Buyer page | 6771843-zen(zy)*/
@media only screen and (max-width: 600px) {
	.page.page-id-200 mark.has-inline-color:first-child {
		font-size: 16px;
	}
}