/*
 Theme Name:   Summer Hill Gym Child Theme
 Description:  Summer Hill Gym Child theme 
 Template: summer-hill-gym
*/

/**** Fonts Styling ****/
@font-face {
  font-family: 'Gotham-Bold';
  src: url('style/fonts/Gotham-Bold.svg#Gotham-Bold') format('svg'),
       url('style/fonts/Gotham-Bold.ttf') format('truetype'),
       url('style/fonts/Gotham-Bold.woff') format('woff'),
	   url('style/fonts/GothamBold.eot'),
	   url('style/fonts/GothamBold.eot?#iefix') format('embedded-opentype'),
       url('style/fonts/GothamBold.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Ridgeline201-Regular';
  src: url('style/fonts/Ridgeline201-Regular.eot'),
       url('style/fonts/Ridgeline201-Regular.eot?#iefix') format('embedded-opentype'),
       url('style/fonts/Ridgeline201-Regular.svg#Ridgeline201-Regular') format('svg'),
       url('style/fonts/Ridgeline201-Regular.ttf') format('truetype'),
       url('style/fonts/Ridgeline201-Regular.woff') format('woff'),
       url('style/fonts/Ridgeline201-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham-Book';
  src: url('style/fonts/Gotham-Book.svg#Gotham-Book') format('svg'),
       url('style/fonts/Gotham-Book.ttf') format('truetype'),
       url('style/fonts/Gotham-Book.woff') format('woff'),
	   url('style/fonts/GothamBook.eot'),
	   url('style/fonts/GothamBook.eot?#iefix') format('embedded-opentype'),
       url('style/fonts/GothamBook.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}




/**** Global Styling ****/

*{scroll-behavior: smooth;padding:0;margin:0;-webkit-font-smoothing: antialiased;outline:none!important;outline:none;line-height:100%;font-size: inherit;font-family: 'Gotham-Book';}
* a{ text-decoration:none; cursor:pointer;}

.middle{ margin:0 auto;}
.clear{ clear:both!important;}
.height100{ height:100%;}

.width100{ width:100%;}
.width75{ width:75%;}
.width66{ width:66.66%;}
.width50{ width:50%;}
.width33{ width:33.33%;}
.width25{ width:25%;}

.wrapper{ max-width:1140px; margin:0 auto; width:100%;}

ul, ol{ margin:0 auto;}
mark, ins { background: transparent; text-decoration: none;}

.nomargin{ margin:0!important;}
.nopadding{ padding:0!important;}
.nohover:hover, .nohover *:hover, .nohover > *:hover{ background-color:transparent!important;}

.left{ float:left; }
.left50{ float:left; width:50%;}
.right{ float:right; }
.right50{ float:right; width:50%;}
.textleft, .textleft > * { text-align:left;}
.textright, .textright > *{ text-align:right;}
.textcenter, .textcenter > *{ text-align: center;}
.hidden{ display:none;}
.inline{ display:inline;}
.inlineblock{ display:inline-block;}
.relative, .relative *{ position:relative;}

.white{ color:#fff;}
.blue{ color:#2C3546;}
.yellow{ color:#E3A842;}
.bluebackground{background-color:#2C3546;}
.whitebackground{ background-color:#fff;}
.yellowbackground{background-color:#E3A842;}

.brick{background-image: url(style/images/brickbackground.jpg)!important;background-position:center;background-size:cover;background-repeat:no-repeat;width: 100%; position:relative;}
.brick *{ position:relative;}
.bluebrick{ background-image: url(style/images/brickbackground.jpg);background-color: #2C3546; background-blend-mode: multiply;background-position:center;background-size:cover;background-repeat:no-repeat;width: 100%; position:relative;}
.yellowbrick{ background-image: url(style/images/brickbackground.jpg);background-color: #E3A842; background-blend-mode: multiply;background-position:center;background-size:cover;background-repeat:no-repeat;width: 100%; position:relative;}
.membershipbluebrick{ background-image: url(style/images/brickbackground.jpg);background-color: #2C3546; background-blend-mode: multiply;background-position:center;background-size:auto;background-repeat: repeat-y;width: 100%; position:relative;}


.blueoverlay{background-color:#2C3546;mix-blend-mode: multiply; width:100%; height:100%; position:absolute;}
.yellowoverlay{background-color:#E3A842;mix-blend-mode: multiply; width:100%; height:100%; position:absolute;}

.relative{ position:relative; }
.centeritem{position: absolute!important;top: 50%!important;left: 50%!important;-ms-transform: translate(-50%, -50%)!important;-webkit-transform: translate(-50%, -50%)!important;transform: translate(-50%, -50%)!important;}
.bottomitem{ position: absolute; bottom:0; left: 50%;-ms-transform:  translate(-50%, -0%);-webkit-transform:  translate(-50%, -0%);transform: translate(-50%, -0%);}
.leftcenteritem{ text-align: left; position: absolute; top: 50%; left: 0; -ms-transform:  translate(0%, -50%); -webkit-transform:  translate(0%, -50%); transform: translate(0%, -50%);}
.rightcenteritem{ text-align: right; position: absolute; top: 50%; right:0; -ms-transform:  translate(0%, -50%); -webkit-transform:  translate(0%, -50%); transform: translate(0%, -50%);}

.inlineblock{ display:inline-block;}
.verticalalign ,.verticalalign > *{ vertical-align:middle;}
.backgroundimage{ background-position:center; background-size:cover; background-repeat:no-repeat;}

.heading{font-family: 'Ridgeline201-Regular';}
.bold{font-family: 'Gotham-Bold';}

p:last-child{ margin-bottom:0;}

/**** Menu Styling ****/
header#masthead {-webkit-box-shadow: 0px 0px 10px 0px #2c3547;z-index: 1000;position: relative;}
header#masthead .wrapper { text-align: right;}

.menulogo { float: left;padding-right: 25px;}
.menulogo img { max-height: 55px;}

.main-navigation ul { display: flex; }

.main-navigation li { display: flex; align-items: stretch; align-content: center; flex-wrap: nowrap;}
.main-navigation li a {font-family: 'Gotham-Bold';padding: 20px;font-size: 14px;color: #2C3546;text-transform: uppercase;display: flex;align-items: center;}
.main-navigation li a:hover, .current_page_item a { background-color: #2C3546; color: #fff!important;}
.menu-menu-1-container {display: flex;flex-wrap: nowrap;align-content: center;align-items: stretch;justify-content: flex-end;}
nav#site-navigation {display: flex;width: 100%;justify-content: space-between;align-items: stretch;}
.menu-toggle { display: none; }
.menulogo a{padding: 50px;background-size: contain;display: block;float: left;}
.menu-toggle { display: none; float: right; background: transparent; border: 0; padding: 50px; background-position: center; background-image:url(style/images/menu.svg); background-repeat: no-repeat; background-size: 40px; cursor: pointer;}
.toggled .menu-toggle{ background-image: url(style/images/close.svg);}

footer#colophon .yellowoverlaywrap,footer#colophon .blueoverlaywrap { text-align: center;}
footer#colophon .yellowoverlaywrap a { display: inline-block; padding: 13px; font-size: 30px; border: 2px solid #fff; margin: 30px auto;}
footer#colophon .yellowoverlaywrap a:hover{ background-color:#fff; color:#2C3546;}

footer#colophon .blueoverlaywrap .wrapper { padding: 30px 0;}
footer#colophon .blueoverlaywrap #footerlogo img{ height: 45px;}
footer#colophon .blueoverlaywrap .footercontact{border-bottom:2px solid #fff;border-top: 2px solid #fff;padding: 25px 0;margin: 20px auto;display: flex;justify-content: space-between;align-content: center;align-items: center;}
#footersocials { display: flex; justify-content: space-between;align-items: center;align-content: center;}
#sociallinks {text-align: left;}
#sociallinks img {height: 30px;}
#sociallinks a {margin-right: 10px;}

#footercontactus a {border: 2px solid #fff; border-radius: 0; color: #fff; font-family: 'Gotham-Bold'; text-transform: uppercase; padding: 14px; cursor: pointer; text-align: center; display: inline-block;}
#footercontactus {text-align: right;}
#footercontactus a:hover {background-color: #fff;color: #2c3546;}

.footercontactblockicon img {max-height: 30px;max-width: 30px;}
.footercontactblocktitle {font-size: 14pt; margin: 0.67em 0; display: inline-block; font-family: 'Gotham-Bold'; text-transform: uppercase;color: #fff;}
.footercontactblocktext {font-size: 13pt; color: #fff;}
.home main#primary {padding-top: 0px;}
main#primary {padding-top: 30px;}
/**** Home Styling ****/

.grecaptcha-badge{ display:none!important;}
.slide { padding: 300px;}
.slidercontentwrap {width: 50%;position: absolute;left: 0;top: 0;height: 100%;padding: 100px;display: flex;align-items: flex-end;}
.slideroverlay {width: 100%;position: absolute;left: 0;top: 0;height: 100%;background-color: #2C3546;mix-blend-mode: multiply; z-index:0;}

.slidertitle {font-family: 'Ridgeline201-Regular'; font-size: 50px; color: #fff; display: inline-block; border-bottom: 6px solid #E3A842; margin-bottom: 60px; padding-bottom: 10px;}
.slidercontent {position: relative;z-index: 1;}
.slidertext {color: #fff; font-size: 15pt; line-height: 25px;display: block;}

a.sliderlink {border: 2px solid #fff;border-radius: 0;color: #fff;font-family: 'Gotham-Bold';text-transform: uppercase;padding: 14px;cursor: pointer;text-align: center;display: block;margin-top: 30px;width: 50%;}
a.sliderlink:hover {background-color: #fff;color: #2c3546;}

.bx-wrapper { border-bottom: 6px solid #e3a842;}

.homepageblocks {padding: 100px;position: relative;width: 100%;background-color: #2C3546;}
.homepageblocks * {vertical-align: middle;font-family: 'Gotham-Book';}

.homepageblock{position:relative; margin-bottom: 75px;}
.homepageblock:last-child{ margin-bottom:0;}

.homeopeningtimesheading, .homepageblocksexcerpttitle, #singlepostcontent .postheader,.contactformpagetitle {font-family: 'Ridgeline201-Regular';font-size: 60px;color: #fff;display: inline-block;border-bottom: 6px solid #E3A842;margin-bottom: 60px;padding-bottom: 10px;}
.homepageblocksexcerpt {text-align: center;margin-bottom: 60px;}
.homepageblocksexcerpttext {color: #fff;font-size: 15pt; line-height: 25px;}


.homeconetentimage {background-size: cover; background-position: center; background-repeat: no-repeat;padding: 33%;}
.homepageblocktitle {font-size: 24pt; margin: 0.67em 0; display: inline-block;font-family: 'Gotham-Bold';text-transform: uppercase;}
.homecontenttext { display: inline-block; margin: 0; position: absolute; top: 50%; background-color: #fff; padding: 5%; font-size: 15pt; line-height: 25px; z-index: 10000;}
.homepageblocksexcerpttext { font-size: 13pt; line-height: 25px;}
.homecontenttext li {line-height: 21px;font-size: 15px;margin-left: 40px;}
.homecontenttext ul {margin-bottom: 5px;}

.evenhomeblock .homecontenttext{ transform: translate(-20%, -50%);text-align: left;}
.oddhomeblock .homecontenttext{transform: translate(20%, -50%);text-align: right;}

#homeopeningtimes {padding: 80px 0;}
#homeopeningtimes .heading {font-size: 60px; margin-bottom: 60px;}
.homeopeningtimestext p { font-size: 15pt; line-height: 25px;}
.homeopeningtimestext p:last-child {margin-bottom: 0;}


#homeblogposts{ padding: 100px;}
#homeblogposts .wrapper {display: flex;align-items: center;justify-content: space-between;}
.postexcerptwrap {display: inline-block;background-size: cover;background-position: center;width: 100%;}
.postexcerpt {margin: 40px 40px 0 40px;border: 6px solid transparent;border-bottom: 0;padding: 20px;display: flex;color: #fff!important;min-height: 190px;align-items: flex-end;justify-content: flex-start;}

.posttitle {margin: 0 40px;border: 6px solid transparent;border-top: 0;text-align: center;padding: 20px;font-size: 15px;color: #2C3546;font-family: 'Gotham-Bold';text-transform: uppercase;}
.postexcerptext { visibility: hidden;}
.postreadmore { font-weight: bold; margin-top: 10px;}

.homeblogpoststitle {text-align: center;margin: 0 auto 60px auto;font-size: 54pt; display: inline-block; text-transform: uppercase;font-family: 'Ridgeline201-Regular';color: #2c3546;border-bottom: 6px solid #E3A842;}

#homeblogpostswrapper{margin: 0 auto;width: 100%;text-align: center;display: grid;grid-template-columns: repeat(4, 1fr);gap: 20px;}
.postexcerptext { width: 100%; font-size: 20px;}
#homeblogposts .homeblogblock:hover .postexcerptwrap{background-color: rgba(51,51,51,0.9); background-blend-mode: multiply;}
#homeblogposts .homeblogblock:hover .posttitle, #homeblogposts .homeblogblock:hover .postexcerpt {border-color: #e3a842;}
#homeblogposts .homeblogblock:hover .postexcerptext { visibility:visible;}
#homeblogposts .homeblogblock {vertical-align: top;width: 100%;}
/*#homeblogposts .homeblogblock:last-child {display: none;}
*/
/**** Trainer Stlying ****/
.trainerpagerheader {font-family: 'Ridgeline201-Regular'; font-size: 60px; border-bottom: 5px solid #E3A842; display: inline-block;padding-bottom: 10px;margin: 50px auto;}

.trainerwrap * {vertical-align: top;}
.trainerwrap .width100 {margin-bottom: 50px; display:inline-block;}
.trainerimage {padding: 60% 50%;background-size: cover;background-repeat: no-repeat;background-position: center;}
.trainertitle {font-family: 'Ridgeline201-Regular';font-size: 50px;border-bottom: 5px solid #E3A842;display: inline-block; margin-bottom:25px;}
.eventrainer .trainerinfo {padding-left: 30px;}
.oddtrainer .trainerinfo {padding-right: 25px;}
.eventrainer.trainerblock {display: flex; align-items: flex-start;}
.oddtrainer.trainerblock { display: flex;	flex-direction: row-reverse; align-items: flex-start;}


.trainerinfowrap {margin-bottom: 20px;}
.trainerinfowrap:last-child {margin-bottom: 0px;}
.trainerinfowrap .bold {margin-bottom: 10px;}

.trainerinfowrap .width50:nth-child(1) {padding-right: 20px;}
.trainerinfowrap .width50:nth-child(2) {border-left: 2px solid #E3A842;padding-left: 20px;}

.trainerinfolist {padding-left: 10px;margin-bottom: 10px;}
.trainerinfolist::before {content: "- ";font-family: 'Gotham-Bold';}
.trainerinfolist:last-child {margin-bottom: 0!important;}
.ptmobilenumber::before, .ptemailaddress::before { content: none;}
.ptmobilenumber a, .ptemailaddress a { font-weight: bold; text-decoration: underline; color: #2c3546;}

.oddtrainer .width33 { float: right;}


/**** Single Post Stlying ****/
#postfeatureimage { padding: 300px;margin-bottom: -160px;}
#singlepostcontentwrapper {padding: 30px;}
#singlepostcontent{ padding: 60px; background-color: #2C3546;}
#singlepostcontent .entry-content, #singlepostcontent .entry-content a { color: #fff!important;}
#singlepostcontent a.wp-block-button__link { background-color: transparent;border-color: #fff;}
#singlepostcontent a.wp-block-button__link:hover { background-color: #fff; color: #2c3546!important;}


/**** Contact Page Stlying ****/
.contactform input {width: 100%;display: inline-block;}
input[type="submit"] {width: 100%;}

#contactpagedetails {padding: 60px 0;display: flex;align-items: flex-start;justify-content: space-between;}
#contactpagedetails * {vertical-align: top;}
.contactpagedetailswrap {width: 30%;}
.contactpagedetailswrap .bold { font-size: 16px; margin-bottom: 10px;}
.contactpagedetailstext p {margin-bottom: 10px;}


#contactformwrap { margin-top: 60px;}
.contactformblock {background-color: #2C3546;padding: 80px; margin:100px auto;}
.yellowbrick .contactformblock {margin:0 auto -120px auto; top: -60px; z-index: 1;}
.contactformheader {text-align: center;color: #fff;font-size: 30px;margin-bottom: 50px;}
.contactform .contactinput input, .contactform textarea { border: 0; border-radius: 0; background-color: transparent; border-bottom: 2px solid #fff; margin-bottom: 20px; color: #fff!important;padding: 10px;}

.contactform input::-webkit-input-placeholder, .contactform textarea::-webkit-input-placeholder { color: #fff; font-family: 'Gotham-Bold';}
.contactform input:-ms-input-placeholder,  .contactform textarea:-ms-input-placeholder { color: #fff; font-family: 'Gotham-Bold';}
.contactform input::placeholder ,  .contactform textarea::placeholder { color: #fff; font-family: 'Gotham-Bold';}
.contactform input[type="submit"] {border: 2px solid #fff;border-radius: 0;background-color: #fff;font-family: 'Gotham-Bold';color: #2C3546;text-transform: uppercase;padding: 14px;cursor: pointer;}
.contactform input[type="submit"]:hover {background-color: #2c3546;color: #fff;}

.wpcf7-response-output {color: #fff;margin: 0px auto 30px auto!important;padding: 10px!important;}
span.wpcf7-not-valid-tip {margin-bottom: 10px;text-align: center;background-color: #dc3232;padding: 10px;color: #fff;font-family: 'Gotham-Bold';}

.contactinputwrap {display: flex;align-items: flex-start;justify-content: space-between;align-content: center;}
.contactinputwrap .contactinput{width: 32%;}
#contactformpage .contactinputwrap .contactinput{width: 49%;}



/**** Membership Page Stlying ****/
.membershiptypewrap { margin-bottom: 20px;}
.membershipblock {width: 49%; overflow:hidden; margin-bottom:20px;}
.membershipblock.membershipfullwidth { width: 100%!important;}
#membershipwrap {display: flex;align-items: flex-start;align-content: stretch;justify-content: space-between;flex-wrap: wrap;}
.membershiptitlepricewrap { padding: 0 40px 40px 40px; background-color: #fff;}
.membershiptitleprice {border: 6px solid transparent;border-top: 0;text-align: center;padding: 25px;}
.membershiptitle {font-size: 36px;color: #2C3546;font-family: 'Gotham-Bold';text-transform: uppercase;}


.membershipprice{font-size: 20px;color: #2C3546;font-family: 'Gotham-Bold';text-transform: uppercase;margin-top: 20px;}
.membershipdealfeatureswrap { background-blend-mode: multiply; width: 100%; display: inline-block;}
.membershipdealfeatures {margin: 40px 40px 0 40px;border: 6px solid transparent;border-bottom: 0;padding: 20px;color: #2C3546!important;text-align: center;font-size: 18px; background-color:#fff;}
.membershipdealfeatures, .membershiptitleprice { border-color: #e3a842;}
.membershiptypename {font-family: 'Ridgeline201-Regular';font-size: 60px;display: inline-block;margin-bottom: 20px;width: 100%;background-color: #E3A842;padding: 20px;text-align: center;color: #fff;}
.membershipdealfeaturestext p {margin-bottom: 10px;}
.membershipblock:hover .membershiptitlepricewrap { background-color: transparent;}
.membershipblock:hover .membershiptitle, .membershipblock:hover .membershipprice{ color: #fff!important;}


#membershipoptions {display: flex;align-items: center;justify-content: space-between;}
#membershipoptions a {width: 49%;border: 2px solid #fff; border-radius: 0; color: #fff; font-family: 'Gotham-Bold'; text-transform: uppercase; padding: 14px; cursor: pointer;text-align: center;}
#membershipoptions a:hover {background-color: #fff;color: #2c3546;}

.contactmap{ width:100%!important; height:680px!important; z-index: 0;position: relative;}


.salename {content: attr(data-ribbon);font-size: 16px;position: absolute;top: 0;transform-origin: bottom left;padding: 10px 50px;background: #2C3546;color: #fff;border-top: 6px solid #E3A842;border-bottom: 6px solid #E3A842;clip-path: polygon(0 0,100% 0,100% 100%,calc(100% - var(--d)) calc(100% - var(--d)),var(--d) calc(100% - var(--d)) , 0 100%);-webkit-mask: linear-gradient( 135deg, transparent calc(50% - var(--d)*0.707),#fff 0) bottom left, linear-gradient(-135deg, transparent calc(50% - var(--d)*0.707),#fff 0) bottom right;-webkit-mask-size: 300vmax 300vmax;-webkit-mask-composite: destination-in;mask-composite: intersect;left: 0;right: auto;transform: translate(-29.29%, -100%) rotate(-45deg);transform-origin: bottom right;box-shadow: 0px 1px 12px #E3A842;}


a.wp-block-button__link{ border: 2px solid #2c3546; border-radius: 0; font-family: 'Gotham-Bold'!important; text-transform: uppercase; cursor: pointer; text-align: center; display: inline-block; background-color: #fff; color: #2c3546; padding: 15px; font-size: 30px; font-weight: bold!important; margin-bottom:20px;}
a.wp-block-button__link:hover{color: #fff; background-color: #2c3546; }

@media (max-width:1800px) {
	.homepageblocks {padding: 60px;}
	#homeblogposts {padding: 60px;}
}
@media (max-width:1600px) {
	.homecontenttext {position: relative;transform: none!important;width: 100%;top: 0; text-align:center!important;}
	.homepageblock {display: flex;}
	.homepageblock .homecontenttextwrap, .homepageblock .backgroundimage {text-align: center;display: flex;align-items: stretch;}
	.homeconetentimage {width: 100%;}
}

@media (max-width:1280px) {
	.homepageblock .homecontenttextwrap, .homepageblock .backgroundimage { display: block!important; width: 100%!important;}
	.homepageblock {display: block;}
	.homeconetentimage {padding: 25%;}
	.homecontenttext li { display: block;}
	.wrapper{padding-left:20px!important;padding-right:20px!important;}
	.slidercontentwrap {width: 70%;padding: 40px;}
	.slidertitle {font-size: 50px;}
	#homeblogpostswrapper{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:1170px) {
	.mobileheaderfix { height: 100px;clear: both;position: absolute;top: 0;}
	header#masthead { position: fixed; left: 0; top: 0; width: 100%; background-color: #fff;z-index: 9999999;}
	nav#site-navigation { display: inline-block;}
	.menu-toggle { display: block; }
	.main-navigation ul { display: none; }
	nav#site-navigation li{ width:100%;}
	nav#site-navigation li a { padding: 30px 20px!important; width: 100%; display: block;text-align: center;}
	nav#site-navigation li a:hover { border: 0; padding: initial; background-color: #2c3546; color: #fff;font-family: 'Gotham-Bold';}
	.main-navigation a.logo.inlineblock { padding: 29px 0;}
	.menu-menu-1-container { width: 100%;display: inline-block;}\
	.trainerblock .width33, .trainerblock .width66 {width: 100%;}
	.trainerblock .width33 {text-align: center;margin-bottom: 30px;}
	.trainertitlewrap {width: 100%;padding-bottom: 15px;}
	.trainertitle br {display: none;}
	.trainertitle {font-size: 35px;margin-bottom: 10px;}


	.eventrainer .trainerinfo {padding-left: 15px;}
	.oddtrainer .trainerinfo {padding-right: 15px;}
	.trainerinfolist {padding-left: 5px; margin-bottom: 5px;}
	.trainerpagerheader { font-size: 50px;}
		main#primary{margin-top:100px;}
#homeblogposts .homeblogblock:last-child {display: initial;}
	.membershipblock{width:100%;}
}
@media (max-width:960px) {
		.slide{ padding:200px}
	.slidertitle { font-size: 30px; margin-bottom: 20px; border-bottom: 3px solid #E3A842;}
	.slidertext { font-size: 14px;}
	a.sliderlink {padding: 10px;width: 50%;}
	div#homeopeningtimes, .homepageblocks { padding: 50px 20px;}
	.homeopeningtimesheading, .homepageblocksexcerpttitle, #singlepostcontent .postheader, .contactformpagetitle, .homeblogpoststitle {font-size: 40px; border-bottom: 3px solid #E3A842; margin-bottom: 20px; padding-bottom: 10px;}
	div#homeblogposts { padding: 20px;}
	.homeopeningtimestext p, .homepageblocksexcerpttext, .homecontenttext.width50 p{ font-size: 12pt; line-height: 20px;}
	.postexcerpt { min-height: 200px;}
	#homeblogposts .width33, .homepageblock { margin-bottom: 20px;}
	footer#colophon .yellowoverlaywrap a { font-size: 16px;}
	.trainerpagerheader { font-size: 34px; margin: 30px auto;}
	.contactpagedetailswrap { width: 100%;}
	#contactpagedetails { display: flex; flex-wrap: wrap;}
	.contactpagedetailswrap { margin-bottom: 10px;}
	#contactpagedetails { padding: 40px 20px 10px 20px;}
	.trainerpagerheader { font-size: 34px; margin: 30px auto;}	
	.yellowbrick .contactformblock { padding: 40px;}
	nav#site-navigation.toggled { padding-bottom: 20px;}
	.contactinputwrap .contactinput { width: 100%;}
	.contactinputwrap { display: flex; flex-wrap: wrap;}
	}
@media (max-width:840px) {}
@media (max-width:760px) {
	a.sliderlink { font-size: 12px; width: 70%; margin: 0;}
    .slidertitle {font-size: 30px; }
	.membershiptypename { font-size: 40px;}
	.trainerblock .width33, .trainerblock .width66 {width: 100%;padding: 0;margin: 0 auto;}
	.trainerblock .width33 {text-align: center;margin-bottom: 25px;}
	.trainerimage {margin: 0 auto;}
	.trainertitlewrap {font-size: 14px;}
	.footercontact {display: block!important;}
	.footercontactblock {display: block;width: 100%;margin-bottom: 20px; text-align:center;}
	#footersocials .width33  {width: 50%;margin-bottom: 0px; }
	#footerlogo{ display:none;}
	footer#colophon .yellowoverlaywrap a{ margin:20px;}
	#sociallinks a{ margin-right: 30px;}
	footer#colophon .blueoverlaywrap .wrapper {padding: 20px 0;}
	.posttitle {margin: 0px 10px;border: 3px solid transparent;border-top: 0; padding: 15px; font-size: 14px;}

	.postexcerpt {margin: 10px 10px 0 10px;border: 3px solid transparent;padding: 20px;min-height: 160px;border-bottom: 0;}
	div#postfeatureimage { padding: 200px; margin-bottom: 0px;}
	div#singlepostcontent { padding: 20px;}
	.homeopeningtimesheading, .homepageblocksexcerpttitle, #singlepostcontent .postheader, .contactformpagetitle, .homeblogpoststitle { font-size: 26px;}
	#singlepostcontent a { color: #fff; font-weight: bold; text-decoration: underline;}
	.eventrainer.trainerblock, .oddtrainer.trainerblock {flex-direction: column;}

    
}
@media (max-width:640px) {
	.membershiptypename {font-size: 30px;}
	.membershiptitle { font-size: 26px;}
	.membershipprice { font-size: 18px;}
}
@media (max-width:560px) {
.trainerinfowrap .width50 {display: block;width: 100%;padding: 0!important;border: 0!important;}
.trainerinfowrap, .trainerinfowrap .width50:nth-child(1) {margin-bottom: 10px;}
	}
@media (max-width:480px) {
	a.wp-block-button__link{ font-size:25px;}
}


/* SUMMER HILL GYM - MEMBERS PORTAL */

#menu-item-696 {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

#menu-item-696 > a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;

    height: auto !important;
    min-height: 42px;
    padding: 11px 20px !important;

    background: #2d3548 !important;
    border: 1px solid #2d3548;
    border-radius: 4px;

    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3 !important;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-decoration: none;

    transition: background 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease;
}

/* Avada menu text */
#menu-item-696 > a .menu-text {
    color: inherit !important;
}

/* External link arrow */
#menu-item-696 > a::after {
    content: "\2197";
    position: static !important;
    font-size: 17px;
    line-height: 1;
}

/* Hover */
#menu-item-696 > a:hover,
#menu-item-696 > a:focus-visible {
    background: #414c65 !important;
    border-color: #414c65;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(45, 53, 72, 0.2);
}

/* Mobile */
@media (max-width: 1024px) {
    #menu-item-696 {
        display: block;
        margin: 8px 0;
    }

    #menu-item-696 > a {
        width: fit-content;
        min-height: 44px;
        padding: 12px 18px !important;
    }
}


