/*
Theme Name: Bright Matter Master
Author: Bright Matter
Version: 1.1
Text Domain: brightmattermaster
Description: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: 
*/

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */


/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */



html {
  line-height: 2.00; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}
.joinbox {
}
/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2.4em !important;
  line-height:110%;
  font-weight:400 !important;
  margin: 0.53em 0;
  text-align:center;
}
	.bm-header-top h1 {
	font-size:1.5rem !important;
	    margin: 1.8em 0;
	}
.post-2 {
  width:70%;
  margin:0 auto;
  }
  .rfmtabdivrow {
  margin-top: -130px !important;
  }
.refhmetab {
background: rgb(255,255,255);
background: -moz-linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.891281512605042) 62%, rgba(255,255,255,0.499124649859944) 100%);
background: -webkit-linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.891281512605042) 62%, rgba(255,255,255,0.499124649859944) 100%);
background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.891281512605042) 62%, rgba(255,255,255,0.499124649859944) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1);
border-radius: 20px 20px 0px 0px;
}
.rfmtabinner {
  margin: 15px;
  background-color: red;
}

.rfmtabrow {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.rfmtabcol {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
}

.rfmtablft {
  background-color: #13bfd6 !important;
  height: 100px;
}

.rfmtabrgt {
  background-color: #00589c !important;
  height: 100px;
}
.headname{
 margin-left:2vh;
}



@media screen and (min-width: 800px) {
  .column {
    flex: 1
  }
}

@media screen and (min-width: 800px) {
  .column {
    flex: 1
  }

  .double-column {
    flex: 2
  }
}


.refbtn {
    display: block !important;
    font-family: "Montserrat", sans-serif !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-align: bottom !important;
    vertical-align: middle !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    background-color: transparent !important;
    border: .125rem solid transparent !important;
    padding: .6rem 1.25rem !important;
    font-size: 1.24875rem !important;
    line-height: 1.5 !important;
    border-radius: 2.5rem !important;
    -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
	text-decoration:none !important;
	background-color: #00B1DA !important;
	float:right !important;
	margin-left:3% !important;
}
.refbtn:hover {
    color: #fff !important;
    background-color: #0092b4 !important;
    border-color: transparent !important;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

.subtxt {
margin:0 15% !important;
}


#et-boc .et-l li, #et-boc .et-l ol, #et-boc .et-l ul {
padding-left:1vh !important;
 }
#et-boc .et-l ul {
  list-style-type: circle !important;
}

#et-boc .et-l ol {
  list-style-type: numeric !important;
}
/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}
.page-id-14864 fieldset {
  padding: 0px;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

 input[type="checkbox"]:checked:before {
    background: #000;
    border-color: #000;
}
 input[type="checkbox"]:disabled {
    color: #b8b8b8;
    cursor: auto;
}
 input[type="checkbox"]:disabled:before {
    box-shadow: none;
    background: #ddd;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

/*--- start brightmatter styles ---*/


body {
	font-family: 'Montserrat', sans-serif;
	background-color:#fff; 
	color:#595959;
	/*background-image:url(East-Hampshire-NHS-PCN-wave-grey.svg);
	background-size:auto 40vw;
	background-position: bottom;
	background-repeat: no-repeat;*/
}

h1, h2, h3, h4, h5, p, a {
font-family: 'Montserrat', sans-serif !important;
color:#595959;
font-weight:normal;
  text-align:center;
}
h1, h3 {
color:#01345e !important;
font-weight:600 !important;
}
h2 {
color:#1e98ab !important;
font-weight:600 !important;
}

h1, #et-boc .et-l h1 {
font-size:3.0rem !important;
color:#01345e;
font-weight:600 !important;
margin-bottom:10px !important;
}
h2, #et-boc .et-l h2 {
font-size:30px;
color:#1e98ab;
font-weight:600 !important;
margin-bottom:10px !important;
}
p {
margin-bottom: 5px;
line-height:1.4em;
}
#et-boc .et-l #bm-home-about p {
	color:#595959 !important;
}



#backbutton {
float:right;
display:inline-block;
font-size:22px;
margin-top:1em;
margin-bottom: 1em;
z-index:100;
text-align:right;
position:relative;
    color: #15253b;
	background-image: url(East-Hampshire-NHS-PCN-back.svg);
    background-size: auto 25px;
    background-position: left center;
    background-repeat: no-repeat;
	padding-left: 40px;
    padding-bottom: 0px;
    padding-top: 5px;
}
#backbutton:hover {
background-image:url(East-Hampshire-NHS-PCN-back-o.svg);
color:#2a3735;
}

#content {
	    width: 90%;
    margin: 0 auto;
	max-width: 1500px;
	margin-bottom:6%;
}
.home #content {
	    width: 100%;
    margin: 0 auto;
	max-width: none;
	margin-bottom:6%;
}
.page-id-497 #content {
	    width: 100%;
    margin: 0 auto;
	max-width: none;
	margin-bottom:6%;
}

.home .bm-header-top {
	margin-bottom:0%;
}

.entry-header h1 {
	color:#15253b;
}





#stickynav {
	border-bottom: 2px solid #D2DBE3;
	background:#fff;
}
#stickynav #top-menu {
	margin-top:10px;
	}
#top-menu {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-align-content: flex-end;
    -ms-flex-line-pack: end;
    align-content: flex-end;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
	padding:0px;
	margin:0px;
	margin-top: 3%;
}

#top-menu li {
    position: relative;
    display: inline-block;
}
#top-menu .sub-menu li{
	margin-left: 0em;
}

#top-menu a {
	display: block;
	position: relative;
	text-decoration: none;
	font-weight: 600;
	font-size: 1.1rem;
	color: #15253b;
	margin:0px;
	bottom:-2px;
	    padding: 0px 20px;
	    -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	margin-top: 12px;
}
#top-menu a:hover {
background-color: #00B1DA;
color:#FFFFFF !important;
}
#top-menu li ul { 
	transition: max-height 0.5s ease-in;
  	max-height: 0px;
	overflow-y: hidden;
	z-index: 200;
	position: absolute;
	padding: 0px;
	margin-top: 2px;
	left:50%;
	transform: translateX(-50%);
	text-align: center;
	box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.1);
	background-color: #fff;
}
#top-menu li:first-child ul { 
	left:-185px;
	transform: translateX(0px);
}
#top-menu li > a:focus {
	background: #fceb43;
	color:#000 !important;
	outline:none;
}

#top-menu li:hover > a {
	color:#2a3735;
}

#top-menu li li {
    display: block;
}

#top-menu li li a {
    white-space: nowrap;
    padding: 11px 50px 11px 50px;
}

@keyframes stuckMoveDown{
	0%{transform:translateY(-100%)}
	100%{transform:translateY(0)}
}




#top-menu ul li:hover > ul, #top-menu li:hover > ul, #top-menu ul li > ul:focus-within, #top-menu li > ul:focus-within {
	max-height: 500px;
}


.menu-toggle {
    display: none;
}
.et-db #et-boc #et_builder_outer_content .et_pb_with_background .et_pb_row, .et-db #et-boc #et_builder_outer_content .et_pb_row, .wrap, .wrap2 header.entry-header {
	width:100%;
	max-width:1500px;
	margin-left:auto;
	margin-right:auto;
}

.site-content-contain {
	z-index: 1;
}

.bm-header-logo {
	display: inline-block;
	float:left
}
.bm-header-logo img {
	max-height: 117px;
	display: block;
}
#bm-header-logo-sticky img {
	max-height: 60px;
	margin-bottom: 10px;
}

#stickynav {
	position:fixed;
	left:0px;
	right:0px;
	top:0px;
	display: none;
	z-index: 100;
	
}



#stickynav.stickynavvisible {
	display: block;
	animation: stuckMoveDown .6s;
}
#stickynav a {
	
}

#top-menu .bm-megamenu > ul.sub-menu {
display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}
#top-menu .bm-megamenu > ul.sub-menu > li {
	    -webkit-flex: 1 1 200px;
    -ms-flex: 1 1 200px;
    flex: 1 1 200px;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
    border-bottom: none;
}
#top-menu .bm-megamenu > ul.sub-menu > li:nth-child(1) {
	/*border-right: 2px solid #D2DBE3;*/
}
#top-menu .bm-megamenu > ul.sub-menu > li > a:not(:hover) {
	
}
#top-menu .bm-megamenu > ul.sub-menu ul.sub-menu {
	max-height: 500px;
	position: relative;
	box-shadow: none;
	border-top: 2px solid #D2DBE3;;
	border-radius: 0px;
	margin-top: 0px;
}


#bm-header-wrapper {
	position: relative;
}

#bm-header-social {
	position:absolute;
	right:0px;
	margin-top:90px;
	display: inline-block;
	width:330px;
}

/* Add a hover effect if you want */

.social-media-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.social-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #00B1DA !important;
    font-size: 18px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-btn:hover {
    transform: scale(1.1);
}

.social-btn.facebook {
    background-color: #fff;
}


.social-btn.youtube {
    background-color: #fff;
}
.social-btn.x {
    background-color: #fff;
}

.social-btn.tiktok {
    background-color: #fff;
}
/* Responsive adjustments */
@media (max-width: 767px) {
    .social-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}
#bm-header-cart {
	margin:5px 0px 5px 23px;
}
.bm-header-my-account {
	margin-right: 9px;
	background-image:url(login.svg);
	background-size:contain;
	background-repeat: no-repeat;
	width: 30px;
	height: 30px;
	display: inline-block;
	vertical-align: middle;
}
#bm-header-cart .cart-contents {
	background-image:url(shop.svg);
	background-size:contain;
	background-repeat: no-repeat;
	width: 30px;
	height: 30px;
	display: inline-block;
	vertical-align: middle;
	padding-top: 13px;
	text-align: center;
	box-sizing: border-box;
	text-decoration: none;
	font-size:13px;
}
#bm-header-cart .cart-contents-count {
	text-decoration: none;
	color: #15253b;
}
.bm-header-top {
	width:100%;
	height:140px;
	padding-top:15px;
	margin-bottom:3%;
	background:url(https://reformpartydorkinghorley.uk/wp-content/uploads/sites/4/2025/03/reform-website-headmarg.png);
	  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 5px;
  padding-bottom: 5px;
}
.homepad {
padding:0 2% !important;
}
.bm-header-top .wrap {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;    
    height: 100%;
}
.bm-header-top .wrap > div {
	    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}
#headercqc img {
	width:152px;
}
#headernhs {
	width: 184px;
}
#header1, #header2 {
	display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
	display:inline-block;
}
#header1 {
	    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    margin-right:20px;
}
#header2 {
	min-width:70%;
	}
#calltop {
    height: 23px;
    display: inline-block;
    float: right;
    line-height: 20px;
    margin: 0px 0px 0px 10px;
	
	font-size:20pt;
}

.searchform > div {
	background: #edf7f9;
	border-radius: 10px;
	display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    margin-top:7px;

}
.searchform .searchinput {
	border:0px;
	background:transparent;
	width:200px;
	padding:5px 5px;
	box-sizing: border-box;
	color: #15253b;
}
.searchform .searchinput::placeholder {
color: #15253b;	
}
.searchform .searchsubmit {
	background-color: transparent;
	background-image: url(search.svg);
	background-size: 80%;
	background-position: center center;
	background-repeat: no-repeat;
	width:26px;
	height: 28px;
	border:0px;
	display: inline-block;
	cursor: pointer;
	margin:5px 10px 5px 2px;
}


.fa-facebook-f::before {
	content: "\f39e" !important;
}

.bm-header-mobilenav, #bm-header-sticky-mobilenav {
	display: none;
}
#nav-close {
	display: none;
}
#mobilenavunderlay  {
	display: none;
}
#mobilenavunderlay.toggled-on {
	display: block;
	position: fixed;
	width:100%;
	height:100%;
	z-index: 100;
	left:0px;
	top: 0px;
}

.toggled-on .main-navigation{
margin-top:18%;
}

#stickynav .wrap {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
    margin-bottom:10px;
	  align-items: right;
  justify-content: right;
  padding-right:2.5%;
}
@media screen and (max-width:900px)
{
.et_pb_slide {
background-size: cover!important;
height: 450px !important;
}

}

@media screen and (max-width:479px)
{
.et_pb_slide {
background-size: cover!important;
height: 350px !important;
}

}
@media (max-width: 1200px){
#header2 {
	min-width:30%;
	}
	.subtxt {
margin:0 10% !important;
}
	}
@media (max-width: 1200px){
.toggled-on .joinbox {
display:block;
width:100%;
height:50px;
}
.toggled-on .refbtn { clear:both; margin: 0 auto; margin-bottom:2%; text-align:center; float:none !important;} 
	.bm-header-mobilenav, #bm-header-sticky-mobilenav {
		display:inline-block;
		color:#fff !important;
		cursor: pointer;
		padding:13px 20px 8px 20px;
		text-align:right;
	}
#bm-header-mobilenav .fas {
        font-size: calc(1.3625rem + 5.35vw);
		color: #00B1DA !important;
    }
	#bm-header-sticky-mobilenav .fas {
	font-size: calc(1.3625rem + 5.35vw);
		color: #00B1DA !important;
    }
	#bm-header-mobilenav{
	float:right;
	}
	.bm-header-mobilenav:hover, #bm-header-sticky-mobilenav:hover {
	}
	#bm-header-sticky-mobilenav {
		padding:7px 20px 2px 20px;
		margin-bottom: 22px;
		font-size: 16pt;
		margin-bottom: 0px;
		width:auto;
	}
	#headercqc img {
		width:106px;
	}
	#searchform #s {
		width:90px;
	}
	.bm-header-logo {
	}
	#bm-header-cart {
		margin:0px 0px 10px 23px;
	}
	.bm-header-top {
	}
	.navigation-top {
		display: block;
		position: absolute;
		top: 0px;
		z-index: 150;
		transition: 0.5s;
		left: 100%;
		width: 0px;
		overflow: hidden;
		background-color: #fff;
		box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.2);
		border:0px;
	}
	.navigation-top.toggled-on {
		left: 50%;
		width: 50%;
			margin-top:0% !important;
	}
.navigation-top {
		min-height: var(--vh, 100vh);
}
	.navigation-top #top-menu {
		display:block;

		box-sizing: border-box;

		        margin-top: 30%;
	}
	.navigation-top #top-menu li {
		display:block;
		margin-left: 0px;
	}
	.navigation-top #top-menu li a, .navigation-top #top-menu li li a {
		padding: 12px 5%;
		width:auto;
		margin:0px;
		margin-bottom: 2px;
		text-align: center;
		white-space: nowrap;
	}
	.toggled-on #top-menu li > a {
		text-decoration:none;
	background-color: #fff;
		border-bottom: 0px;
		 display: block;
    font-weight: 600;
	font-size: 1.1rem;
	color: #15253b;
		transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
	}
	.toggled-on #top-menu li:hover > a {
		color: #fff;
    background-color: #00B1DA;
}
	.toggled-on #top-menu li:active > a {
		color: #fff;
    background-color: #00B1DA;
}
	


	.navigation-top #top-menu li li a {
	}
	.navigation-top #top-menu li ul {
		visibility: visible; 
		opacity:1;
		box-shadow:none;
		position:static;
		padding:0px 0px 0px 5%;
		display: block;
		border-top:0px;
		width:auto;
		max-height: none;
		background:transparent;
	}
	.navigation-top #top-menu ul::after, .navigation-top #top-menu ul::before {
		display: none;
	}
	#nav-close {
		display: block;
		cursor:pointer;
		width:35px;
		height:35px;
		position:absolute;
		right:16px;
		top:10px;
		background-image:url(close_x.svg);
		background-size: 100% 100%;
		transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
	}
	#nav-close:hover {
		background-image:url(close_x-o.svg);
	}
	
	.navigation-top #top-menu ul li:hover > ul, .navigation-top #top-menu li:hover > ul {
		-webkit-animation: none;
		-moz-animation: none;
		-o-animation: none;
		animation: none;
	}
	#stickynav #top-menu {
		display: none;
	}
	#stickynav {
	}
	.navigation-top .wrap {
		width: 100%;
	}

	.bm-header-mobile-sticky-search {
		display: inline-block;
	}
	.bm-header-mobile-sticky-search > form > div {
		margin-bottom: 7px;
	}
	#top-menu li:first-child {
		margin-left: 0px;
	}
	#site-navigation #top-menu li ul {
		visibility: visible;
		opacity: 8;
		box-shadow: none;
		position: static;
		padding: 0px;
		margin: 0px;
		display: block;
		border-top: 0px;
		width: auto;
		max-height: none;
		background: transparent;
		overflow-x: hidden;
		overflow-y: hidden;
		height: auto;
		max-height: 0px;
		transition: 0s;
		left:0px;
		transform:none;
	}
	#site-navigation #top-menu li.toggled-on ul {
		background-color: #edf7f9;
	}
	#site-navigation #top-menu li.toggled-on ul {
		max-height: 1000px;
		transition: max-height 0.5s ease-in;
	}
	#top-menu li.toggled-on {
	}
	#top-menu li.toggled-on > a {
		color:#fff;
	}
	#top-menu li li {
		padding:0px;
		border-bottom: 0px;
	}
	#top-menu li > a:focus {
		background: #15253b;
		color:#fff;
	}	
}
@media (max-width: 1350px){
	.bm-header-top h1 {
	font-size:1.3rem !important;
	    margin: 2.2em 0;
	}
}
@media (max-width: 600px){
	.bm-header-top .wrap > div {f
	    -webkit-flex: 1 1 50%;
    -ms-flex: 1 1 50%;
    flex: 1 1 50%;
	}
	.bm-header-mobilenav {
		width:150px;
		max-width: 100%;
	padding:6px 10px 3px 10px;
	margin-bottom: 22px;
	font-size: 16pt;
	}
	.bm-header-mobile-bottom > * {
		    -webkit-flex: 1 1 50%;
    -ms-flex: 1 1 50%;
    flex: 1 1 50%;
    box-sizing: border-box;
	}
	.bm-header-mobile-sticky-search {
		flex:1 1 auto;
	}	
	#bm-header-sticky-mobilenav {

	}
	.searchform .searchinput {
		width: 100%;
	}
	.bm-header-mobile-bottom .searchform > div {
		margin-top: 0px;
	}
	#header2 {
	max-width:30%;
	}
	.bm-header-logo img {
		max-height: 95px;
		max-width: 100%;
	}
	.bm-header-top h1 {
	font-size:0.9rem !important;
	    margin: 1.0em 0;
	}
	.bm-header-top {
		height: 94px;
	}

	#headernhs {
		max-width: 100%;
		width: 150px;
	}

	.bm-header-my-account, #bm-header-cart .cart-contents {
		width: 23px;
		height: 23px;
	}
	 #bm-header-cart .cart-contents {
		padding-top: 9px;
		font-size:11px;
	}
	.navigation-top.toggled-on {
		left:0px;
		width:100%;
	}	
}
@media (max-width: 600px){
.headname{
 margin-left:1vh;
}
.subtxt {
margin:0 1% !important;
}
	.bm-header-logo img {
		max-height: 75px;
		max-width: 100%;
	}
	.bm-header-top h1 {
	font-size:1.0rem !important;
	    margin: 1.8em 0;
	}
	}

.wrap.hassidebar #primary {
	width:66%;
	float:left;
}
.postsidebar {

	width:29%;
	float:right;
	clear:right;

}
	.et-db #et-boc #et_builder_outer_content .et_pb_row.bm-home-g2 {
   padding:0 10% !important;
    padding-top: 0 !important;
}

.clear {
	clear:both;
}
.single-featured-image-header img {
	max-width: 100%;
	height:auto;
}


.et-db #et-boc .et-l .widget .widget-title {
			margin-top:0px !important;
			padding-top:8px !important;
}

.widgettitle, .et-db #et-boc #et_builder_outer_content .et_pb_widget_area .widget-title {
	font-size: 23px;
	font-weight: 400;
}
.postsidebar .widget_categories li, .postsidebar #menu-posts li {
	margin-top: .25em;
	margin-bottom: .25em;
}
.postsidebar .widget_categories ul, .postsidebar ul#menu-posts, .postsidebar ul {
	list-style: none;
	padding: 0;
}
.postsidebar a {
	text-decoration: none;
}
.postsidebar .widget_categories a, .postsidebar #menu-posts a {
	text-decoration: none;
}



.et-db #et-boc #et_builder_outer_content .et_pb_section {
	padding: 0 0;
	clear:both;
	}
.et-db #et-boc #et_builder_outer_content .et_pb_row {
	padding: 0 0;
}
.et_pb_team_member {
margin-bottom:0px !important;
}
.et-db #et-boc .et-l .et_pb_toggle_title:before {
    content: "\e050";
    position: absolute;
    right: 0;
    font-size: 24px;
	font-weight:400;
    color: #9fb934;
    top: 50%;
    margin-top: -.5em;
}

#colophon {
	/*background-image:url(East-Hampshire-NHS-PCN-footer-desk.svg);*/
	background-size:cover;
	background-position: left top;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    min-height: 220px;
	background-color:#0092b4;
}

.widget-area {
	/*padding:36px 0px;*/
	color:#fff;
	display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
    min-height: 18vw;
    padding-bottom:1em;
}
.widget-area ul {
	padding:0px;
	list-style: none;
	margin: 0px;
}
.widget-area li {
	margin-left: 0px;
	list-style-type: none;
    display: inline;
}
.widget-area a {
	text-decoration: none;
	white-space: nowrap;
}
.widget-area li:not(:first-child):before {
    content: " | ";
}
.widget-area p {
	margin: 0px;
}

.site-footer .wrap {
margin:0px auto !important;
width:95% !important;
max-width:1500px !important;
}
.site-footer .footer-widget-1 {
width:100%;
text-align:center;
margin:0 25%; 
}
.site-footer .footer-widget-1 a, .footer-widget-2 a {
	color: #fff;
}
.site-footer .footer-widget-2 a {
	color: #fff;
	line-height: 1.6em;
	margin-left:50px;
}

@media (max-width: 370px) {
    .bm-header-top h1 {
        font-size: 0.7rem !important;
        margin: 2.8em 0;
    }
}

@media (max-width: 768px){
	#colophon {

	}
	.widget-area a {
		font-size: 14px;
		line-height: 1.6em;
	}
}

.postsidebar li {
	margin:0.5em 0px;
}

@media (max-width: 980px){
.et-db #et-boc .et-l .et_pb_gutters1.et_pb_row .et_pb_column .et_pb_grid_item {
width: 100% !important; /*two columns*/
clear: none !important;
}
.subtxt {
margin:0 5% !important;
}
}




#headeralert {
	display: block;
	color:#fff !important;
	padding:3px 0px;
	font-size: 0.8em;
	box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.2);
	margin-bottom: 3px;
	text-decoration: none;
	padding-right: 20px;
}
#headeralertclose {
	display: block;
	cursor:pointer;
	width:22px;
	position:absolute;
	right:16px;
	top:10px;
}






/*---- bm default page styles, full-width rows ----*/
.et-db #et-boc #et_builder_outer_content .et_pb_column_1_2:nth-child(1) > div {
	max-width: calc(750px - 50px);
	margin-right:5%;
	padding-left:3%;
	float: right;
}
.et-db #et-boc #et_builder_outer_content .et_pb_column_1_2:nth-child(2) > div {
	max-width: calc(750px + 5%);
	padding-right:5%;
	padding-left:3%;
	width:100%;
}

/*---- bm homepage styles ----*/
/*
.et-db #et-boc #et_builder_outer_content #bm-home-self-referral-a, .et-db #et-boc #et_builder_outer_content #bm-home-self-referral-b, .et-db #et-boc #et_builder_outer_content #bm-home-self-referral-c {
	max-width: calc(750px - 50px);
	box-sizing: border-box;
	margin-bottom:20px;
}
.et-db #et-boc #et_builder_outer_content #bm-home-self-referral-c {
	width:60%;
}
.et-db #et-boc .et-l a#bm-home-selfreferral-link {
	background-image:url(East-Hampshire-NHS-PCN-social-prescriber.svg);
	background-size: auto 100%;
	background-repeat: repeat;
	background-position: right;
	transition: none;
	font-size:30px;
	color:#fff;
	padding: 40px 100px 30px 30px;
	display: block;
	width: 100%;
	box-shadow: 0px 1px 10px 3px rgb(0 0 0 / 10%);
	transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.et-db #et-boc .et-l a#bm-home-selfreferral-link:hover {
	background-image:url(East-Hampshire-NHS-PCN-social-prescriber-o.svg);
}
*/
.et-db #et-boc .et-l .et_pb_module a {
	color:#1e98ab;
}
.et-db #et-boc .et-l .et_pb_module a:hover {
	color:#01345e;
}
.et-db #et-boc #et_builder_outer_content #bm_home_chooseaservice, .et-db #et-boc #et_builder_outer_content #bm_home_chooseaservicetitle {
	max-width: 750px;
	width:100%;
	float:right;
	padding-right: 0px;
	margin-right: 0px;
}
.et-db #et-boc #et_builder_outer_content #bm-home-about {
	max-width: calc(750px - 50px);
	width:100%;
	float:right;
	padding-right: 0px;
	margin-right: 0px;
}
.et-db #et-boc #et_builder_outer_content .et_pb_row, .et-db #et-boc #et_builder_outer_content #bm-home-row-a, .et-db #et-boc #et_builder_outer_content #bm-home-row-b {
	width:100%;
	max-width: 100%;
}
 
.et-db #et-boc #et_builder_outer_content .et_pb_column_1_2.et_pb_column, .et-db #et-boc #et_builder_outer_content #bm-home-row-a .et_pb_column_0, .et-db #et-boc #et_builder_outer_content #bm-home-row-a .et_pb_column_1, .et-db #et-boc #et_builder_outer_content #bm-home-row-b .et_pb_column_2, .et-db #et-boc #et_builder_outer_content #bm-home-row-b .et_pb_column_3 {
	width:50% !important;
	margin:0px !important;
	max-width: none !important;
}

.et-db #et-boc #et_builder_outer_content #bm-home-row-a .et_pb_column_0  {
	padding-left:2.5%;
	padding-top:35px;
	padding-bottom: 35px;

}
.et-db #et-boc #et_builder_outer_content #bm-home-row-a .et_pb_column_1  {
	/*padding-right:2.5%;
	padding-left:50px;
	padding-top:35px;
	padding-bottom: 60px;*/

}


.et-db #et-boc #et_builder_outer_content #bm-home-row-a .et_pb_column_1 .et_pb_text {
	height: 100%;
	width:100%;
	position: absolute;
	opacity: 0;
	transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
	padding-left: 0px;
	max-width: 100%;
	z-index: 1;
}
.et-db #et-boc #et_builder_outer_content #bm-home-row-a .et_pb_column_1 > div.et_pb_text:not(:nth-child(1)):hover {
	cursor: pointer;
}
.et-db #et-boc #et_builder_outer_content #bm-home-row-a .et_pb_column_1 .et_pb_text:nth-child(1) {
	opacity:1;
	z-index: 10;
}
.et-db #et-boc #et_builder_outer_content #bm-home-row-a .et_pb_column_1 .et_pb_text.active {
	opacity: 1;
	z-index: 50;
}
.et-db #et-boc #et_builder_outer_content #bm-home-row-a .et_pb_column_1 .et_pb_text_inner {
	max-width: calc(750px - 50px);
	padding-right:2.5%;
	padding-left:50px;
	padding-top:35px;
	padding-bottom: 60px;
}
.et-db #et-boc #et_builder_outer_content #bm-home-row-b .et_pb_column_2  {
	padding-left:2.5%;
	padding-right:50px;
	padding-top:35px;
	padding-bottom: 60px;
	background-size: auto 40%;
}
.et-db #et-boc #et_builder_outer_content #bm-home-row-b .et_pb_column_3  {
}
.et-db #et-boc #et_builder_outer_content #bm-home-slider {
	height: 100%;
	padding-left: 0px;
	max-width: 100%;
	padding-right:  0px;
}
.et-db #et-boc #et_builder_outer_content #bm-home-slider > div {
	height: 100%;
}
.et-db #et-boc #et_builder_outer_content #bm-home-slider > div > div {
	padding:0px;
	min-height: 30vw;
	height: 100%;
}
.et-db #et-boc #et_builder_outer_content #bm-home-slider > div > div > div {
	background-image:url(East-Hampshire-NHS-PCN-wave-col.svg);
	background-size: contain;
	background-position: bottom;
	background-repeat: no-repeat;
	height: 100%;
}
.et-db #et-boc #et_builder_outer_content .et_pb_column_1_2:nth-child(n) .bm-featured-image {
	padding-left: 0px;
	padding-right: 0px;
	max-width: 100%;
}
.et-db #et-boc #et_builder_outer_content .bm-featured-image > span {
	position: relative;
}
.et-db #et-boc #et_builder_outer_content .bm-featured-image img {
}
.et-db #et-boc #et_builder_outer_content .bm-featured-image >span:after {
	content:"";
	position: absolute;
    display: inline-block;
	background-image:url(East-Hampshire-NHS-PCN-wave-col.svg);
	background-size: contain;
	background-position: bottom;
	background-repeat: no-repeat;
	height: 100%;
	width:100%;
	top:0px;
	left:0px;
}
.et-db #et-boc #et_builder_outer_content #bm_home_chooseaservice .et-menu-nav {
	padding:0px;
}
.et-db #et-boc #et_builder_outer_content #bm_home_chooseaservice ul {
	display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    margin:0px;
}

.et-db #et-boc #et_builder_outer_content #bm_home_chooseaservice * {
	width: 100%;
}
.et-db #et-boc #et_builder_outer_content #bm_home_chooseaservice li {
	background-image:url(East-Hampshire-NHS-PCN-service-bg.svg);
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: left;
	box-shadow: 0px 1px 10px 3px rgb(0 0 0 / 10%);
	padding:0px;
	margin-top:3px;
}
.et-db #et-boc #et_builder_outer_content #bm_home_chooseaservice a {
	background-image:url(East-Hampshire-NHS-PCN-service.svg);
	background-size: auto 100%;
	background-repeat: no-repeat;
	background-position: right -1px center;
	transition: none;
	font-size:16pt;
	color:#15253b !important;
	padding: 25px 100px 20px 30px;
	transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.et-db #et-boc #et_builder_outer_content #bm_home_chooseaservice a:hover {
	background-image:url(East-Hampshire-NHS-PCN-service-o.svg);
	opacity: 1;
}
.et-db #et-boc #et_builder_outer_content #bm_home_chooseaservicetitle {
	margin-bottom:10px;
}
.et-db #et-boc #et_builder_outer_content #bm-home-row-c, .et-db #et-boc #et_builder_outer_content .bm-surgeries-menu-row, .et-db #et-boc #et_builder_outer_content .bm-surgeries-image-menu-row {
	width:95%;
	max-width:1500px;
}
.et-db #et-boc #et_builder_outer_content #bm-home-row-e {
	width:95% !important;
	max-width:1500px;
	box-shadow: 0px 1px 10px 3px rgb(0 0 0 / 10%);
	background-color: #fff;
	position: relative;
	margin-top:2vw;
	box-sizing: border-box;
}
.et-db #et-boc #et_builder_outer_content #bm-home-row-e .et_pb_column_1_2:nth-child(2) > div {
	padding-right:0;
	padding-left:0;
}
.et-db #et-boc #et_builder_outer_content #bm-home-row-e .et_pb_column_1_2:nth-child(1) > div {
	max-width: calc(750px - 50px);
	margin-right:50px !important;
	padding-left:30px !important;
	float: left;
	width:100%;
}
.et-db #et-boc #et_builder_outer_content #bm-home-row-c .et_pb_column, .et-db #et-boc #et_builder_outer_content .bm-surgeries-menu-row .et_pb_column {
	box-shadow: 0px 1px 10px 3px rgb(0 0 0 / 10%);
	background-color: #fff;
	position: relative;
	top:-15px;
	box-sizing: border-box;
	width: 100% !important;
}
.et-db #et-boc #et_builder_outer_content div:not(#surgeries_dropdown_container) > .menu-surgeries-container {
	display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: flex-start;
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}
.et-db #et-boc #et_builder_outer_content .menu-surgeries-container a {
	width:30%;
	width:calc(33.33% - 8px);
}
.et-db #et-boc #et_builder_outer_content .menu-surgeries-container a > * {
	display: block;
	box-shadow: 0px 1px 10px 3px rgb(0 0 0 / 10%);
	width: 100%;
}
.et-db #et-boc #et_builder_outer_content .menu-surgeries-container a:nth-child(3n+1), .et-db #et-boc #et_builder_outer_content .menu-surgeries-container a:nth-child(3n+2) {
	margin-right: 12px;
}
.servicesblock{
	width:30%;
	width:calc(33.33% - 8px);
		display: block;
	box-shadow: 0px 1px 10px 3px rgb(0 0 0 / 10%);
	width: 100%;
		margin-right: 12px;
}

.et-db #et-boc #et_builder_outer_content #bm-home-row-c .bm-home-findoutmorelink {
	float:right;
	display: inline-block;
}

.et-db #et-boc #et_builder_outer_content #bm-home-surgeries-title {
	padding: 30px 30px 20px 30px;
	margin-bottom: 0px;
}

.et-db #et-boc #et_builder_outer_content #bm-home-surgeries {
	padding: 20px 30px 40px 30px;
	background-color: #F7FAF9;
}
.et-db #et-boc #et_builder_outer_content #bm-home-surgeries .et-menu-nav {
	padding:0px;
}
.et-db #et-boc #et_builder_outer_content #bm-home-surgeries ul {
	display: grid; 
  grid-template-columns: 1fr 1fr 1fr; 
    margin:0px;
}

.et-db #et-boc #et_builder_outer_content #bm-home-surgeries * {
	width: 100%;
}
.et-db #et-boc #et_builder_outer_content #bm-home-surgeries li {
	padding:0px;
	margin-top:14px;
}
.et-db #et-boc #et_builder_outer_content #bm-home-surgeries a {
	background-image:url(East-Hampshire-NHS-PCN-surgeries.svg);
	background-size: auto 30px;
	background-repeat: no-repeat;
	background-position: left top;
	transition: none;
	font-size:18pt;
	padding: 6px 0px 0px 40px;
	transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.et-db #et-boc #et_builder_outer_content #bm-home-surgeries a:hover {
	background-image:url(East-Hampshire-NHS-PCN-surgeries-o.svg);
	opacity: 1;
}


.et-db #et-boc .et-l .et_pb_menu .et_mobile_nav_menu {
	display: none;
}
.et-db #et-boc .et-l .et_pb_menu .et_pb_menu__menu {
	display: flex;
}

.et-db #et-boc .et-l .et_pb_menu a {
	color:#15253b !important;
}

.et-db #et-boc #et_builder_outer_content .et_pb_column_1_2:nth-child(n) .grey-box {
	padding:30px 30px;
	background-color: #e8e8e847;
}

@media (min-width: 2000px){
	.et-db #et-boc #et_builder_outer_content #bm-home-slider > div > div, .et-db #et-boc #et_builder_outer_content .bm-featured-image > div > div {
		padding:0px;
		min-height: 20vw;
	}
}
@media (max-width: 980px){ 

	.et-db #et-boc #et_builder_outer_content .et_pb_column_1_2 {
		width: 100% !important;
		margin-bottom: 2em !important;
	}
	.et-db #et-boc #et_builder_outer_content .et_pb_column_1_2:nth-child(n) > div, .et-db #et-boc #et_builder_outer_content #bm_home_chooseaservice, .et-db #et-boc #et_builder_outer_content #bm_home_chooseaservicetitle, .et-db #et-boc #et_builder_outer_content #bm-home-about, .et-db #et-boc #et_builder_outer_content .et_pb_column_1_2:nth-child(n) .grey-box {
		width:100%;
		max-width: 100%;
		padding-left: 5%;
		padding-right: 5%;
		margin-right: 0px;
	}
	.et-db #et-boc #et_builder_outer_content .et_pb_column_1_2:nth-child(n) > div.bm-featured-image, .et-db #et-boc #et_builder_outer_content #bm-home-slider {
		padding-left: 0px;
		padding-right: 0px;	
	}
	.et-db #et-boc #et_builder_outer_content #bm-home-surgeries ul {
	  grid-template-columns: 1fr 1fr; 
	}
	.et-db #et-boc #et_builder_outer_content .et_pb_column_1_2.et_pb_column, .et-db #et-boc #et_builder_outer_content #bm-home-row-a .et_pb_column_0, .et-db #et-boc #et_builder_outer_content #bm-home-row-b .et_pb_column_2 {
		width:100% !important;
		padding-left: 0px;
		padding-right: 0px;
	}
	.et-db #et-boc #et_builder_outer_content #bm-home-row-a .et_pb_column_1 {
		display: none;
	}
	.et-db #et-boc #et_builder_outer_content #bm-home-row-b .et_pb_column_3 {
		width:100% !important;
		padding-left: 0%;
		padding-right: 0%;		
	}
	.et-db #et-boc #et_builder_outer_content #bm-home-slider > div > div, .et-db #et-boc #et_builder_outer_content .bm-featured-image > div > div {
		padding:0px;
		min-height: 60vw;
	}
	.et-db #et-boc #et_builder_outer_content #bm_home_chooseaservice, .et-db #et-boc #et_builder_outer_content #bm_home_chooseaservicetitle, .et-db #et-boc #et_builder_outer_content #bm-home-about {
		max-width: 100%;
	}
	.et-db #et-boc #et_builder_outer_content .menu-surgeries-container a {
		width:45%;
		width:calc(50% - 6px);
	}
	.et-db #et-boc #et_builder_outer_content .menu-surgeries-container a:nth-child(2n) {
		margin-right: 0px;
	}
	.et-db #et-boc #et_builder_outer_content .menu-surgeries-container a:nth-child(2n+1) {
		margin-right: 12px;
	}
}
@media (max-width: 768px){
	.et-db #et-boc #et_builder_outer_content #bm-home-surgeries ul {
	  grid-template-columns: 1fr; 
	}
	.et-db #et-boc #et_builder_outer_content .menu-surgeries-container a {
		width:100%;
	}
	.et-db #et-boc #et_builder_outer_content .menu-surgeries-container a:nth-child(n) {
		margin-right: 0px;
	}
}

/*---- subpage ----*/
h1.entry-title {
	margin-bottom: 0.5em;
}
.bm-subpage-header-backbutton {
	float:right;
	background-image:url(East-Hampshire-NHS-PCN-back.svg);
	background-size: auto 25px;
	background-position: left center;
	background-repeat: no-repeat;
	color:#15253b;
	font-size: 17pt;
	padding-left:50px;
	padding-bottom: 0px;
	padding-top:6px;
	margin-top: 14px;
	transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
	text-decoration: none;
}
.bm-subpage-header-backbutton:hover {
	background-image:url(East-Hampshire-NHS-PCN-back-o.svg);	
}
/*
.et-db #et-boc #et_builder_outer_content #bm-subpage-row-a {
	width:100%;
	max-width: 100%;
}
 
.et-db #et-boc #et_builder_outer_content #bm-subpage-row-a .et_pb_column_0, .et-db #et-boc #et_builder_outer_content #bm-subpage-row-a .et_pb_column_1 {
	width:50% !important;
	margin:0px !important;
	max-width: none !important;
}

.et-db #et-boc #et_builder_outer_content #bm-subpage-row-a .et_pb_column_0  {
	padding-left:2.5%;
	padding-top:0px;
	padding-bottom: 35px;
	padding-right:50px;

}

.et-db #et-boc #et_builder_outer_content #bm-subpage-row-a .et_pb_column_0 > .et_pb_module {
	max-width: calc(750px - 50px);
	float:right;
}
*/
.et-db #et-boc #et_builder_outer_content .bm-slider {
	min-height: 30vw;
}
.et-db #et-boc #et_builder_outer_content .bm-slider > div {
	height: 100%;
}
.et-db #et-boc #et_builder_outer_content .bm-slider > div > div {
	padding:0px;
	min-height: 30vw;
	height: 100%;
}
.et-db #et-boc #et_builder_outer_content .bm-slider > div > div > div {
	background-image:url(East-Hampshire-NHS-PCN-wave-col.svg);
	background-size: contain;
	background-position: bottom;
	background-repeat: no-repeat;
	height: 100%;
}



.et-db #et-boc #et_builder_outer_content #bm-access-this-service {
	margin-bottom: 0px;
}
.et-db #et-boc #et_builder_outer_content #bm-access-this-service-title {
	max-width: calc(750px - 50px);
	box-sizing: border-box;
	margin-bottom:20px;
	margin-right:5%;
	margin-left:50px;
	margin-top:30px;
}


.et-db #et-boc #et_builder_outer_content #bm-access-this-service form.wpcf7-form > *:not(.bm-submit) {
	max-width: calc(750px - 50px);
	box-sizing: border-box;
	margin-right:5%;
	margin-left:50px;
}
.et-db #et-boc #et_builder_outer_content #bm-access-this-service form.wpcf7-form > .bm-submit {
	margin-left:0px;
	max-width: 100%;
	background-image:url(East-Hampshire-NHS-PCN-submit.svg);
	background-size: auto 100%;
	background-position: right -90px center;
	background-repeat: no-repeat;
	overflow: hidden;
	height:70px;
	margin-top:20px;
}
.et-db #et-boc #et_builder_outer_content #bm-access-this-service .bm-submit input {
	max-width: calc(750px);
	margin-right:5%;
	width: 95%;
	height:70px;
	background-image:url(East-Hampshire-NHS-PCN-submit.svg);
	background-size: cover;
	background-position: right center;
	background-repeat: no-repeat;
	box-sizing: border-box;
	padding:5px 50px 0px 50px;
	cursor: pointer;
	color:#fff;
	font-size: 24px;
}
.et-db #et-boc #et_builder_outer_content #bm-access-this-service .bm-submit input:hover {
	background-image:url(East-Hampshire-NHS-PCN-submit-o.svg);
}

::placeholder {
  color: #15253b;
  opacity: 1; /* Firefox */
}
.postsidebar H2 {
text-align:left;
}

body.blog #main, body.category #main {
	display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
	width:100%;
	    margin: 0 auto;
}

body.blog #main article, body.category #main article {
	width:47%;
	flex-basis:47%;
	box-sizing:border-box;
	background-color:#fff;
	padding:0px;
	margin-bottom: 50px;
	box-shadow: 2px 2px 4px 1px rgba(0,0,0,0.1);
	border-radius: 10px;
	overflow: hidden;
}
body.blog #main article .entry-content, body.category #main article .entry-content {
	/*padding:10px 30px 60px;*/
	width:95%;
}
body.blog #main article a, body.category #main article a {
	text-decoration:none;
}
body.blog #main article p, body.category #main article p {
	color:#27537d !important;
}
body.blog #main article h3, body.category #main article h3 {
	font-size: 1.6em;
}
body.blog #main article .date-meta, body.category #main article .date-meta {
	margin-top:1em;
	font-size: 1.2em;
}
body.blog .post-thumbnail > a img, body.category .post-thumbnail > a img {
right: 0;
width: 100%;
height: 100%;
bottom: 0;
left: 0;
top: 0;
position: absolute;
-o-object-position: 50% 50%;
object-position: 50% 50%;
-o-object-fit: cover;
object-fit: cover;
}
body.blog .post-thumbnail > a, body.category .post-thumbnail > a {
	padding-top: 70% !important;
	width:100%;
	position:relative;
	display:block;
	
}
@media (max-width:980px) {
	body.blog #main article, body.category #main article {
		width:100%;
		flex-basis:100%;
	}
}
@media (max-width: 980px){
	/*
	.et-db #et-boc #et_builder_outer_content #bm-subpage-row-a .et_pb_column_0 {
		width:100% !important;
		padding-left: 5%;
		padding-right: 5%;
	}
	.et-db #et-boc #et_builder_outer_content #bm-subpage-row-a .et_pb_column_1 {
		width:100% !important;
		padding-left: 0px;
		padding-right: 0px;
	}
	.et-db #et-boc #et_builder_outer_content #bm-subpage-row-a .et_pb_column_0 > .et_pb_module {
		max-width: 100%;
		float: none;
	}	*/
	.et-db #et-boc #et_builder_outer_content .bm-slider > div > div {
		padding:0px;
		min-height: 60vw;
	}
	.postsidebar {
		width:100%;
		float:none;
		clear:right;
	}
	.et-db #et-boc #et_builder_outer_content #bm-access-this-service form.wpcf7-form > *:not(.bm-submit) {
		margin-left:5%;
		max-width: 100%;
	}
	.et-db #et-boc #et_builder_outer_content #bm-access-this-service-title {
		max-width: 100%;
		margin-left:5%;
	}
	.et-db #et-boc #et_builder_outer_content #bm-access-this-service .bm-submit input {
		max-width: 100%;
		padding-left:5%;
	}
}
/*choose_your_surgery*/
.et-db #et-boc #et_builder_outer_content .bm-surgery-info {
	padding-top: 1em;
	display: none;
	/*overflow-y: hidden;
	max-height: 0px;
	transition: max-height 0.5s ease-in !important;	*/
}
.servicesbtn a,.et-db #et-boc #et_builder_outer_content .bm-surgery-info a, .et_post_format-et-post-format-standard a.featured-link, .et-db #et-boc #et_builder_outer_content a.featured-link, .et-db #et-boc #et_builder_outer_content .menu-surgeries-container a > div {
	background:url(East-Hampshire-NHS-PCN-service.svg), #fff;
	background-size: auto 100%;
	background-repeat: no-repeat;
	background-position: right -1px center;
	transition: none;
	font-size:16pt;
	color:#15253b !important;
	padding: 25px 100px 20px 30px;
	transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
	display: block;
	box-shadow: 0px 1px 10px 3px rgb(0 0 0 / 10%);
}
.servicesbtn a:hover, .et-db #et-boc #et_builder_outer_content .bm-surgery-info a:hover, .et_post_format-et-post-format-standard a.featured-link:hover, .et-db #et-boc #et_builder_outer_content a.featured-link:hover, .et-db #et-boc #et_builder_outer_content .menu-surgeries-container a:hover > div {
	background:url(East-Hampshire-NHS-PCN-service-o.svg), #fff;
	background-size: auto 100%;
	background-repeat: no-repeat;
	background-position: right -1px center;
}
.et-db #et-boc #et_builder_outer_content a.featured-link {
	margin-bottom: 1em;
}
/*
#choose_your_surgery > div.active {
	max-height: 600px;
}
*/
.et-db #et-boc #et_builder_outer_content #choose_your_surgery {
	background: rgb(60,113,105);
	background: linear-gradient(180deg, rgba(60,113,105,1) 0%, rgba(49,102,93,1) 100%);  
}
select.choose_your_surgery_select {
  appearance: none !important;
  background-color: transparent;
  border: none;
  padding: 12px 30px 7px 30px;
  margin: 0;
  width: 100%;
  max-width: calc(800px - 50px);
  box-sizing: border-box;
  font-family: inherit;
  font-size: 30px;
  cursor: inherit;
  line-height: inherit;
  outline: none;
  background: transparent;
  background: url(East-Hampshire-NHS-PCN-choose-surgery.svg), transparent;
	background-size: auto 200%;
	background-repeat: no-repeat;
	background-position: right -1px top;
	color:#fff;
}
select.choose_your_surgery_select:hover {
	background-position: right -1px bottom;
	/*background-color:#fceb43;
	color:#000000;*/
}
option {
	/*color:#fff !important;*/
}
.optioncol:hover  {
background-color:#fceb43 !important;
	color:#000000 !important;
}
select.choose_your_surgery_select > * {
	background: #fff;
}

@media (max-width: 980px){
	select.choose_your_surgery_select {
  		max-width: 100%;
  	}
}

/*cf7 form-------------------------------------*/
.wpcf7-form {
	overflow: visible;
}
/*.et-db #et-boc .et-l .wpcf7 input:not(input[type=submit]), .et-db #et-boc .et-l .wpcf7-textarea, */
.et-db #et-boc .et-l .et_pb_module input[type=email], .et-db #et-boc .et-l .et_pb_module input[type=tel], .et-db #et-boc .et-l .et_pb_module input[type=text], #et-boc .et-l textarea, .et-db #et-boc .et-l .wpcf7-select {
    background-color: #fff !important;
    color: #447169 !important;
	border:0px !important;
	box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.1) !important;
	font-size:22px !important;
	padding:10px 10px 5px 15px !important;
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 10px;
}
.et-db #et-boc .et-l .wpcf7-select {
	padding:5px 10px 0px 11px !important;
	width:98%;
}

.cf7mls_progress_bar, .cf7_mls_steps_item {
list-style: none !important;
}
.cf7mls_progress_bar li.active .cf7_mls_count_step {
    color: #fff !important;
}
.cf7mls_bar_style_horizontal_round.cf7mls_bar_style_text_vertical li .cf7_mls_steps_item_icon {
    left: 49% !important;
}
.cf7mls_progress_bar li .cf7mls_progress_bar_title {
    font-size: 18px !important;
    text-align: center !important;
    padding: 10px 0px !important;
}
.cf7mls_progress_bar li .cf7_mls_check {
       color: #fff !important;
    font-size: 15px !important; 
	/*display: none !important;
    margin-top: 2px !important;
    padding: 0px !important;
    text-align: center !important;*/
}
.cf7mls_next.action-button img {
    display: none !important; 
}
.bm-two-columns {
		display: grid; 
  grid-template-columns: 1fr 1fr; 
  grid-column-gap: 25px;
}
.wpcf7-not-valid-tip {
	margin-bottom:10px !important;
	margin-left:15px !important;
}
.cf7mls_next.action-button {
background-color: #416e65;
}

.cf7mls_back.action-button {
background-color: rgba(0, 0, 0, 0);
border: 1px solid #416e65;
color: #416e65;
}
.cf7mls_back.action-button:hover {
    background-color: #FFFF00 !important;
    color: #000 !important;
}
.cf7mls_next.action-button:hover {
    background-color: #FFFF00 !important;
    color: #000 !important;
}

input[type=radio] {
    margin-right: 15px!important;
    width: 1.15em;
  height: 1.15em;
	box-shadow: none!important;
	box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 0%) !important;
	font-size:22px !important;
}
[type="checkbox"] {
    width: 1.75em;
    height: 1.75em;
}
#et-boc .et-l span {
	vertical-align: middle;
}
form.cf7mls input.wpcf7-form-control.wpcf7-submit,.wpcf7-submit {
    border-radius: 3px !important;
    padding: 13px 29px !important;
    font-weight: bold !important;
    margin: 16px 0px 26px !important;
    background-color: #d85938 !important;
    color: #ffffff !important;
}
form.cf7mls input.wpcf7-form-control.wpcf7-submit:hover,.wpcf7-submit:hover {
    background-color: #FFFF00 !important;
    color: #000 !important;
}
form.cf7mls input.wpcf7-form-control.wpcf7-submit:focus,.wpcf7-submit:focus {
    background-color: #FFFF00 !important;
    color: #000 !important;
}
.page-id-15024 #menu-footer, .page-id-15024 #top-menu, .page-id-15024 #backbutton {
    display: none!important;
}
.page-id-15024 #bm-header-wrapper {
margin-bottom:25px;
}
.page-id-15024 #bm-header-mobilenav, .page-id-15024 #bm-header-sticky-mobilenav {
    display: none!important;
}

#thirdwidth {
width:32% !important;
}
#leftthirdwidth {
width:32% !important;
margin-right:1.5% !important;
}
@media (max-width: 600px){
#thirdwidth {
width:100% !important;
}
#leftthirdwidth {
width:100% !important;
margin-right:0 !important;
}
}

/*a:focus, input:focus, button:focus, #backbutton:focus, .et-db #et-boc .et-l .et_pb_menu a:focus, .et-db #et-boc #et_builder_outer_content .menu-surgeries-container a:focus > div,.et-db #et-boc #et_builder_outer_content a.featured-link:focus {
	outline:4px solid #fceb43!important;
	background-color:#fceb43!important;
	background:none !important;
	color:#000 !important;
	outline-offset:0px;
}?*/

/*--- bm accessibility tabbing styles ---*/

a:focus, input[type=submit]:focus, select.choose_your_surgery_select:focus, a.featured-link:focus, 
.et-db #et-boc .et-l .et_pb_menu a:focus,
.et-db #et-boc #et_builder_outer_content .menu-surgeries-container a:focus > div,
option:hover {
	background: #fceb43 !important;
	color:#000 !important;
	text-decoration: none;
}
.wpa-hide-ltr#skiplinks a:active, .wpa-hide-ltr#skiplinks a:focus {
    background-color: #fceb43 !important;
    box-shadow: none !important;
    color: #000 !important;
}
 #bm_home_chooseaservice a:focus, #bm-home-selfreferral-link:focus, #bm-home-surgeries a:focus, .bm-home-findoutmorelink:focus {
	background: #fceb43 !important;
	color:#000 !important;
	outline:none !important;
	background-image:none !important;
}
/*--- bm accessibility tabbing styles ---*/



.et-db #et-boc .et-l .et_pb_text ul {
	margin-top: 5px;
    margin-bottom: 5px;
}
.et-db #et-boc .et-l .et_pb_module li {
  line-height: 140%;
}
#et-boc .et-l h2, #et-boc .et-l h3, #et-boc .et-l h1 {
	line-height: 120%;
}

.hmemidrwbg {
	background-image:url(https://reformpartydorkinghorley.uk/wp-content/uploads/sites/4/2025/01/reform-hme-bg1.png)!important;
	background-size: 100% 550px !important;
	background-repeat: no-repeat !important;
  background-position: top !important;

}



.et-db #et-boc .et-l .et_pb_blog_grid .et_pb_salvattore_content[data-columns] .et_pb_post {
    filter: drop-shadow(0px 0px 8px rgba(0, 0, 0, 0.1)) !important;
	border:none !important;
}
.et-db #et-boc .et-l .et_pb_blog_grid_wrapper .et_pb_blog_grid article {
border:none !important;
}

.et-db #et-boc .et-l .et_pb_gutters3 .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3, .et-db #et-boc .et-l .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3 {
        width: 32.3%;
        margin-right: 1.5%;
		}
		
	.refbtnhme {
    display: block !important;
    font-family: "Montserrat", sans-serif !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-align: bottom !important;
    vertical-align: middle !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    background-color: transparent !important;
    padding: .875rem 1.25rem !important;
    font-size: 1.24875rem !important;
    line-height: 1.5 !important;
	background: rgb(57,152,200) !important;
background: -moz-linear-gradient(0deg, rgba(57,152,200,1) 0%, rgba(6,102,171,1) 100%) !important;
background: -webkit-linear-gradient(0deg, rgba(57,152,200,1) 0%, rgba(6,102,171,1) 100%) !important;
background: linear-gradient(0deg, rgba(57,152,200,1) 0%, rgba(6,102,171,1) 100%) !important;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3998c8",endColorstr="#0666ab",GradientType=1) !important;
filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.5)) !important;
-webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
	text-decoration:none !important;
	text-align:center !important;
	width:100% !important;
	min-height:100px;
}
.refbtnhme:hover {
    color: #fff !important;
    background: #0092b4 !important;
}	
		  .polcontainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

    .polbox {
    flex: 1 0 calc(33.333% - 10px); /* 33.333% width, with some margin adjustment */
    margin: 5px;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center; /* Vertically center content */
    justify-content: center; /* Horizontally center content */
	 font-family: "Montserrat", sans-serif !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-align: bottom !important;
    vertical-align: middle !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    background-color: transparent !important;
    padding: .875rem 1.25rem !important;
    font-size: 1.24875rem !important;
    line-height: 1.5 !important;
	background: rgb(57,152,200) !important;
background: -moz-linear-gradient(0deg, rgba(57,152,200,1) 0%, rgba(6,102,171,1) 100%) !important;
background: -webkit-linear-gradient(0deg, rgba(57,152,200,1) 0%, rgba(6,102,171,1) 100%) !important;
background: linear-gradient(0deg, rgba(57,152,200,1) 0%, rgba(6,102,171,1) 100%) !important;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3998c8",endColorstr="#0666ab",GradientType=1) !important;
filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.4)) !important;
-webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
	text-decoration:none !important;
	text-align:center !important;
  }

  .polbox:hover {
    color: #fff !important;
    background: #0092b4 !important;
    cursor: pointer;
  }

  a.polbox {
    text-decoration: none;
    color: inherit;
  }

  /* For screens smaller than 900px */
  @media (max-width: 899px) {
    .polbox {
      flex: 1 0 100%;
    }
  }
    @media (max-width: 1300px) {
  .hmemidrwbg {
  max-width:90% !important;
  }
  }
  


    .polibox {
    flex: 1 0 calc(33.333% - 10px); /* 33.333% width, with some margin adjustment */
    margin: 5px;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center; /* Vertically center content */
    justify-content: center; /* Horizontally center content */
	 font-family: "Montserrat", sans-serif !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-align: bottom !important;
    vertical-align: middle !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    padding: .875rem 1.25rem !important;
    font-size: 1.24875rem !important;
    line-height: 1.5 !important;
	background: rgb(23,167,201);
background: -moz-linear-gradient(0deg, rgba(23,167,201,1) 0%, rgba(24,183,209,1) 100%);
background: -webkit-linear-gradient(0deg, rgba(23,167,201,1) 0%, rgba(24,183,209,1) 100%);
background: linear-gradient(0deg, rgba(23,167,201,1) 0%, rgba(24,183,209,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#17a7c9",endColorstr="#18b7d1",GradientType=1);
filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.5)) !important;
-webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
	text-decoration:none !important;
	text-align:center !important;
  }

  .polibox:hover {
    color: #fff !important;
    background: #0162a9 !important;
    cursor: pointer;
  }

  a.polibox {
    text-decoration: none;
    color: inherit;
  }
  
  
  
        .container {
            max-width: 1200px;
            margin: 5px auto;
            padding: 0 20px;
        }

        .polibox-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 0px;
            justify-content: center;
        }

        .polibox-row {
            display: flex;
            flex: 1 0 calc(100% - 10px); /* Two buttons per row by default */
            gap: 0px;
            min-width: 0; /* Prevents flex items from overflowing */
        }

        .polibox {
            flex: 1;
            padding: 15px;
            background-color: rgb(23,167,201);
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            text-align: center;
            font-size: 16px;
            transition: all 0.3s ease;
        }

        .polibox:hover {
            background-color: #45a049;
        }
		
		.polibox-row:nth-child(2) button {
    height: inherit;
}

        /* Default layout: 2 rows of 3 buttons */
        @media screen and (max-width: 1100px) {
            .polibox-row {
                flex: 1 0 100%; /* Full width for 3 rows of 2 buttons */
            }
			.homepad {
padding:0 3% !important;
}
        }

        /* Single column layout */
        @media screen and (max-width: 700px) {
            .polibox-row {
                flex-direction: column;
            }
            .polibox {
                width: 100%;
            }
			.homepad {
padding:0 4% !important;
}

        }
		  @media screen and (max-width: 1000px) {
		.refbtn {
		margin-right:3% !important;
		}
 }
        /* Ensure equal height */
        .polibox-row {
            align-items: stretch; /* Makes buttons stretch to match tallest in row */
        }