/*
 layout.css
*/

/* Remove Default Styling
------------------------------------------------------------------------------------------------- */

* {
  margin: 0;
  padding: 0;
  font-style: normal;
  box-sizing: border-box;
}

img {
  border: 0;
}

.fa-google-plus::before {
  content: '' !important;
}

/* font-family: myriad-pro-condensed, sans-serif;  */
/* Font weight 400 and 600 */

/* font-family: myriad-pro-semi-condensed, sans-serif; */
/* Fontweight 400 */

/* font-family: myriad-pro, sans-serif;  */
/* Font weight 400 and 600 */

/* font-family: interstate, sans-serif; */
/* font-weight: 400; */

/* Typography
------------------------------------------------------------------------------------------------- */

body {
  background: #ffffff;
  color: #666666;
  font-family: myriad-pro, sans-serif;
  font-size: 17px;
  line-height: 22px;
  margin: 10px auto 0 auto;
  padding: 0;
  font-weight: 400;
}

.blocker{
	z-index: 999999;
}

body,
button,
input,
select,
textarea,
p {
  font-family: myriad-pro, sans-serif;
}

a {
  text-decoration: none;
  /* color: #1bb8c0; */
  color: #ee2a58;
}

a:hover {
  text-decoration: underline;
}

.fullsize-100 {
  width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: myriad-pro-condensed, sans-serif;
  font-weight: 600;
}

h1 {
  font-size: 2.6em;
  line-height: 1.1em;
}

h2 {
  font-size: 2.2em;
  line-height: 1.2em;
}

h3 {
  font-size: 1.6em;
  line-height: 1.2em;
}

h4 {
  font-size: 1.4em;
  line-height: 1.2em;
}

@font-face {
  font-family: 'Orkney Light';
  font-style: normal;
  font-weight: normal;
  src: local('Orkney Light'), url('../font/orkney-light.woff') format('woff');
}

@font-face {
  font-family: 'Orkney Bold';
  font-style: normal;
  font-weight: normal;
  src: local('Orkney Bold'), url('../font/orkney-bold.woff') format('woff');
}

#main a:not(.colour-block){
	text-decoration: underline!important;
}

/* Overall
------------------------------------------------------------------------------------------------- */

#container {
  background: #fff;
  clear: both;
}

#content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 10px 0;
}

.inner {
  /* max-width: 1200px; */
  /* width: 95%; */
  margin: 0 auto;
}

.page-title {
  display: none;
}

.img-block {
  width: auto;
  object-fit: cover;
  border-radius: 10px;
  overflow: hidden;
  margin: 15px 0;
  margin-left: 0;
}

.img-block img {
  height: 220px !important;
  object-fit: cover;
  width: 100%;
}

@media all and (min-width: 768px) {
  .img-block {
    margin: 15px;
  }
}

.designmonkey-inner {
  margin: 0 auto;
}

/* Main Header--------------------------------------------------------------*/

header.main {
  overflow: hidden;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 10px;
}

header.main #logo {
  width: 269px;
  height: 120px;
  float: left;
}

header.main #logo a {
  width: 269px;
  height: 120px;
  display: block;
  background: transparent url(../img/logo.png) no-repeat top left;
  /* background: transparent url(https://www.myfamilyourneeds.co.uk/wp-content/uploads/2021/06/pride-mfon.png) no-repeat top left; */
  /*background: transparent url(https://www.myfamilyourneeds.co.uk/wp-content/uploads/2024/12/MFON_Christmas_Logo.png) no-repeat top left; */
  text-indent: -30000px;
  outline: none;
  background-size: contain;
}

header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.caroufredsel_wrapper,
.aas_zone,
.aas_wrapper.simple_image {
  width: 100% !important;
}


.headerbanner .aas_whole_wrapper {
  margin: 0;
  float: right;
  max-height: 120px;
  overflow: hidden;
}

.headerbanner .aas_wrapper img{
	height: auto;
}

.aas_whole_wrapper {
  display: block;
  margin: 0 auto 20px;
}

.sidebar aside {
  display: block;
  clear: both;
}

.sidebar aside .aas_zone,
.sidebar aside .caroufredsel_wrapper {
  /* min-height: 265px; */
}

.sidebar aside .aas_zone img {
  width: 100%;
  height: auto;
}

/* Navigation */

#mobilemenu,
#membersareamobile {
  display: none;
}

nav#access {
  border-top: 1px #26bdc2 solid;
  border-bottom: 1px #26bdc2 solid;
  text-align: left;
  padding: 5px;
  clear: both;
  position: relative;
  z-index: 10;
}

nav#access ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

nav#access ul li {
  display: inline-block;
  padding: 4px 10px;
  border-left: 1px #26bdc2 solid;
  position: relative;
}

nav#access ul li:first-child {
  border-left: none!important;
}

nav#access ul li a {
  font-weight: 400;
  font-size: 16px;
  color: #666;
  text-transform: uppercase;
  font-family: interstate, sans-serif;
}


nav#access ul li ul {
  display: none;
  background: #EEE;
  position: absolute;
  top: 30px;
  left: 0;
  border-radius: 0 10px 10px 10px;
  
}

body.baps nav#access ul li ul{
	background: #5E6161;
}

nav#access ul li:last-child ul{
  left: auto;
  right: 0;
}

nav#access ul li:hover ul {
  display: block;
  width: 220px;
  padding-top: 10px;
  padding-bottom: 10px;
}
nav#access ul li:hover,
nav#access ul li.current-menu-ancestor,
nav#access ul li.current-menu-item {
  
}

nav#access ul li.menu-item-has-children:hover {
  border-radius: 10px 10px 0 0;
  background: #EEE;
  border: none;
}

body.baps nav#access ul li.menu-item-has-children:hover{
	background: #5E6161;
}

nav#access ul li:hover > a,
nav#access ul li.current-menu-ancestor > a,
nav#access ul li.current-menu-item > a {
  color: #ee2a58;

}

nav#access ul li ul li {
  display: block;
  text-align: left;
  padding: 5px 10px;
  font-size: 14px;
  border-left: none !important;
}

nav#access ul li ul li:hover {
  border-left: none !important;
  background: none !important;
}

nav#access ul li ul li a {
  font-size: 14px;
  color: #000;
}

#content {
  position: relative;
  z-index: 5;
  margin-top: 15px;
}

p.excerpt {
  color: #666666;
}

@media all and (min-width: 600px) {
  header .inner {
    flex-wrap: nowrap;
  }
}

/* Home--------------------------------------------------------------*/

.headerbanner {
  width: 60%;
  /* float: right; */
  /* padding-top: 14px; */
}

.headerbanner .aas_whole_wrapper:first-child {
  /* float: right; */
  width: 100%;
}

.before-content-widget {
  margin: 10px auto;
  padding: 0 10px;
  max-width: 1400px;
}

.before-content-widget .textwidget.custom-html-widget {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 4px;
}

.social-icons {
  margin-top: 10px;
  flex: 0 0 60%;
  order: 0;
}

.newsletter {
  background: url('/wp-content/themes/myfamilyourneeds/img/newsletter.png')
    #ee2a58;
  padding: 10px;
  border-radius: 5px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 97%;
  text-transform: uppercase;
  color: #fff;
  font-size: 18px;
  display: flex;
  order: 2;
  margin: 15px auto 0;
  max-width: 370px;

}

.newsletter span {
  font-family: 'myriad-pro-condensed','sans-serif';
  font-size: 20px;
  font-weight: 700;
  padding-left: 6px;
  padding-right: 40px;
}

.accessible-area {
  margin-top: 10px;
  flex: 0 0 40%;
  text-align: right;
  margin-left: auto;
  order: 1;
}

.social-icons a,
.accessible-area a {
  background: #1bb8c0;
  border-radius: 50%;
  padding: 10px 8px 6px;
  margin: 0 3px;
}

.accessible-area a:first-child {
  padding: 10px 10px 6px;
}

.social-icons a:last-child {
  padding: 10px 13px 6px;
}

.social-icons a i,
.accessible-area a i {
  font-size: 25px;
  color: #fff;
}

.accessible-area a {
  border-radius: 10px;
}

.accessible-area a:first-child {
  background: #81b446;
}

.accessible-area a:first-child i {
  color: #000;
}

.before-content-widget .su-lightbox {
  order: 2;
}

#searchform {
  opacity: 0;
  order: 3;
  overflow: hidden;
  max-height: 0;
  max-width: 0;
  transition: all 400ms ease-in-out;
}

#searchform div {
  display: flex;
}

#container.search-open #searchform, #container.search-full #searchform {
  max-height: 100%;
  max-width: 100%;
  opacity: 1;
  margin-top: 18px;
}

@media all and (min-width: 1280px) {
	#container.search-open #searchform{
		margin-top: 0;
	}
}

#searchform input[type='text'] {
  padding: 3px;
  height: 43px;
  margin-left: 10px;
}

#searchform input[type='submit'] {
  height: 43px;
  padding: 0 10px;
  background: #1bb8c0;
  color: #fff;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  margin-left: 3px;
}

@media all and (min-width: 600px) {
  .social-icons {
    flex: 1 0 26%;
  }

  .newsletter {
    flex: 0 0 55%;
    order: 1;
    margin: 5px auto 0;
  }

  .accessible-area {
    flex: 0 0 18%;
    order: 2;
    display: flex;
    align-items: center;
    justify-content: right;
  }

  #logo,
  .headerbanner {
    flex: 0 0 50%;
  }
}

@media all and (min-width: 768px) {
  .social-icons {
    flex: 1 0 35%;
    margin-top: 0;
  }

  .newsletter {
    flex: 0 0 48%;
    order: 2;
    font-size: 18px;
    margin-top: 0;
  }

  .accessible-area {
    flex: 0 0 14%;
    order: 3;
    margin-top: 0;
  }
}

@media all and (min-width: 992px) {
  .social-icons {
    flex: 1 0 45%;
  }

  .newsletter {
    flex: 0 0 50%;
  }

  .accessible-area {
    flex: 0 0 10%;
  }
}

@media all and (min-width: 1200px) {
  .accessible-area {
    flex: 0 0 8%;
  }

  #container.search-open .accessible-area {
    flex: 0 1 8%;
  }
}

/* Home--------------------------------------------------------------*/

.n2-section-smartslider{
	border-radius: 15px;
	overflow: hidden;
}

#home-masonary {
  position: relative;
}

.grid-sizer {
  width: 24%;
}

.item {
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
  width: 24%;
  position: relative;
  border-radius: 10px;
  margin-bottom: 10px;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  overflow: hidden;
}
.item * {
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.item h1 {
  color: #fff;
  margin: 0.2em 0 0 0;
}
.item.half {
  width: 49%;
}
.item.half.thin {
  width: 24%;
}

.item img.filler {
  width: 100%;
  height: auto;
  opacity: 0.5;
}
.item:hover img.filler {
  opacity: 1;
}

.item.reverse img.filler {
  width: 100%;
  height: auto;
  opacity: 0;
}
.item.reverse:hover img.filler {
  opacity: 0.5;
}
.item.reverse:hover:after {
  opacity: 0.2;
}

.item.text:after {
  content: '';
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  z-index: 11;
}

.item.featured .entry-content img {
  width: 45%;
  height: auto;
  float: right;
  border-radius: 10px;
  margin-left: 10px;
  opacity: 0.5;
}
.item.featured .entry-content:hover img {
  opacity: 1;
}

.item a {
  color: #fff;
}
.item.subscribe a {
  color: #000;
}

.item.center {
  text-align: center;
}

.item div.entry-content {
  width: 100%;
  height: 100%;
  position: absolute;
}

.item.quote div.entry-content {
  text-align: center;
  display: table;
}
.item.quote div.entry-content a {
  color: #fff;
}
.item.text div.entry-content {
  padding: 20px 25px;
  width: auto;
  height: auto;
  z-index: 10;
  box-sizing: border-box;
}
.item.quote div.entry-content p {
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  font-family: myriad-pro, sans-serif;
  font-weight: 400;
  font-size: 20px;
  padding: 0 20px;
  line-height: 28px;
}
.item.image div.entry-content img {
  width: 100%;
  height: auto;
  max-width: auto;
  opacity: 1;
  border-radius: 10px;
}
.item.image div.entry-content img:hover {
  opacity: 1;
}
.item.text.twitter div.entry-content {
  padding: 20px 10px;
  color: #fff;
}

.item.image .su-button {
  position: absolute;
  bottom: 20px;
  margin: auto;
  left: 0;
  right: 0;
  max-width: 220px;
}
.item.advert div.entry-content img {
  opacity: 1;
}

.su-lightbox {
  cursor: pointer;
}
.su-lightbox i.fa:hover {
  color: #c02418;
  text-shadow: 0 0 20px #fff;
}

.photoofthemonth .entry-content img {
  display: none;
}
.latestnews ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.latestnews ul li {
  margin: 0 0 5px 0;
  padding: 0;
  color: #ff8686;
}
.latestnews ul li a {
  color: #fff;
}
.hometwitter h3 {
  display: none;
}
.hometwitter ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hometwitter ul li {
  display: none;
  margin: 0;
  padding: 5px;
  text-align: center;
}
.hometwitter ul li:first-child {
  display: block;
}
.hometwitter ul li a {
  color: #ff8686;
}
.hometwitter .follow-button {
  text-align: center;
  margin-top: 20px;
}
.homepoll {
  text-align: center;
}
.homepoll h3 {
  display: none;
}
.homepoll p {
  margin: 0;
  padding: 0;
}
.homepoll #field span {
  font-family: myriad-pro, sans-serif;
  font-size: 20px;
}
.homepoll #fbuilder .pbreak .pbPrevious,
.homepoll .pbreak .pbNext,
.homepoll .pbSubmit {
  background: #c02418;
  color: #fff;
  padding: 15px;
  margin: 10px auto 0 !important;
  font-family: myriad-pro, sans-serif;
  font-size: 20px;
  float: none;
  width: 100px;
}

.item.text.twitter div.entry-content .ctf-item {
  border-radius: 5px;
  padding: 15px 10px !important;
  width: 97%;
  box-sizing: border-box;
  overflow: hidden;
  background: #ccecfc;
  color: #333;
  margin-bottom: 10px;
  text-shadow: none;
}
.item.text.twitter div.entry-content .ctf-item a {
  color: #333;
}
#ctf {
  width: 100% !important;
  border: 1px #DDD solid;
  padding: 10px;
  border-radius: 10px;
}

.featured h2 {
  color: #fff;
  display: block;
  font-size: 16px;
  height: 60px;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 12px;
  top: 12px;
  transform: rotate(45deg);
  width: 60px;
  z-index: 100;
}
.featured h2:before {
  border-color: transparent transparent #ef3a64;
  border-style: solid;
  border-width: 60px;
  content: '';
  display: block;
  float: right;
  position: absolute;
  right: -28px;
  top: -94px;
  z-index: 95;
}
.featured h2 span {
  position: absolute;
  right: 3px;
  top: 1px;
  z-index: 105;
}

.boxes-section .wp-block-columns {
  justify-content: center;
  flex-wrap: wrap !important;
}

.boxes-section .wp-block-column {
  margin: 0 !important;
  flex: 0 0 100%;
}

.boxes-section .wp-block-column p {
  margin: 0;
}

.boxes-section .wp-block-image {
  width: auto;
  object-fit: cover;
  border-radius: 10px;
  overflow: hidden;
  margin: 15px 0;
  margin-left: 0;
}

.boxes-section .wp-block-image img {
  height: 220px !important;
  object-fit: cover;
  width: 100%;
}

.n2-ss-slide-background {
  border-radius: 15px;
  border-top-left-radius: 0;
}

.slider-heading > div {
  margin-bottom: 10px;
  border-bottom: 1px solid;
}

.banner-overlay > div {
  border-bottom-right-radius: 15px;
}

@media all and (min-width: 600px) {
  .boxes-section .wp-block-image {
    margin: 15px 10px;
    margin-left: 0;
  }

  .boxes-section.col-3.big-left .wp-block-column:first-child {
    flex: 0 0 100%;
  }

  .boxes-section.col-3 .wp-block-column {
    flex: 0 0 50%;
  }

  .boxes-section.col-3 .wp-block-column:nth-child(2) a {
    margin-left: 10px;
    margin-right: 10px;
  }

  .boxes-section.col-3 .wp-block-column:last-child a {
    margin-right: 0;
    margin-left: 10px;
  }

  .col-2 .wp-block-column,
  .col-4 .wp-block-column {
    flex: 0 0 50%;
  }
}

@media all and (min-width: 768px) {
  .col-4 .wp-block-column {
    flex: 0 0 25%;
  }

  .boxes-section.col-3.big-left .wp-block-column:first-child {
    flex: 0 0 50%;
  }

  .boxes-section.col-3.big-left .wp-block-column:first-child a {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-right: 10px;
  }

  .boxes-section.col-3 .wp-block-column {
    flex: 0 0 25%;
  }
}

/* Content--------------------------------------------------------------*/

#breadcrumb {
  background: #f6f6f6;
  border-bottom: 1px #eee solid;
  padding: 5px 10px;
  margin: 0;
  font-size: 13px;
  color: #666;
  width: 100%;
}
#breadcrumb p {
  color: #666;
}


#content.nobg .maincolumn {
  background: transparent;
}

.padding{
	display: block;
	width: 100%;
}

/* .padding {
  padding: 20px 25px;
} */

article header {
  position: relative;
}
article header h1 {
  padding: 20px 25px 0 25px;
}
article h1 {
  line-height: 1.2em;
  color: #1bb8c0;
}

article header h2 {
  padding: 0 25px 0 25px;
  color: #1bb8c0;
}

article.hentry div.entry-content {
  /* padding: 20px 25px; */
}

.su-button-style-flat span {
  font-family: myriad-pro, sans-serif;
  font-weight: 400;
  font-size: 20px !important;
  padding: 20px 30px !important;
}
.su-button-style-flat.feedback span {
  font-size: 18px !important;
  padding: 15px 25px !important;
}
.su-button-style-flat.smaller_button span {
  font-size: 16px !important;
  padding: 5px 15px !important;
}

blockquote {
  border-left: 2px #c02418 solid;
  padding: 0 0 0 20px;
  margin: 25px 20px;
  font-style: italic;
}
blockquote p {
  font-style: italic;
}

.su-list ul li i.fa-circle {
  font-size: 0.5em;
  margin-top: 5px;
}

.competitionform form.wpcf7-form {
  padding: 10px 20px;
  background: #d4ced8;
  color: #191c3f;
  font-size: 0.9em;
}
.competitionform form.wpcf7-form input {
  padding: 4px;
  box-sizing: border-box;
  width: 100%;
}
.competitionform form.wpcf7-form input.wpcf7-submit {
  border-radius: 0;
  background: #c02418;
  color: #ffffff;
  line-height: 26px;
  text-shadow: none;
  font-family: myriad-pro, sans-serif;
  font-size: 20px !important;
  font-weight: 400;
  padding: 20px 30px !important;
  width: auto;
  border: none;
}

.greyfullheight .su-column {
  background: #dfdee1;
  border-radius: 10px;
}

.greyfullheight .su-column .su-column-inner {
  padding: 10px;
}

#searchform #s {
  padding: 3px;
}

.featured-image {
  float: right;
  max-width: 175px;
  height: auto;
  margin-left: 20px;
  margin-bottom: 10px;
  margin-right: 10px;
}

.su-lightbox-content {
  border-radius: 5px;
}

.page-banner {
}

h3.news-title {
  text-transform: uppercase;
}

article .moretag {
  margin-top: 10px;
  display: block;
}

/* Main Menu ==================== */
.menu-new-menu-container,
.menu-baps-menu-container {
  
}

@media all and (min-width: 601px) {
  .menu-new-menu-container,
  .menu-baps-menu-container {
    display: block;
  }
}

/* Colour blocks ==================== */
.colour-block {
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  font-size: 22px;
  font-weight: 700;
  justify-content: flex-end;
  margin: 15px 0;
  overflow: hidden;
  transition: all 300ms ease;
  background-size: auto 45% !important;
  background-position: 93% 24% !important;
}

.colour-block.hero-block{
	margin: 20px 0 0;
	padding: 0;
}

.colour-block.hero-block img{
	width: 100%;
}

.colour-block.hero-block h2{
	margin: 0;
	font-size: 1.5em;
	text-align: center;
}

.colour-block.heading-block a{
	color: #FFF;
}

body.baps #main .colour-block h2 {
  color: #fff;
  font-family: myriad-pro-condensed, sans-serif;
  font-size: 40px;
  margin-bottom: 0;
}

.home .colour-block {
  min-height: 280px;
  background-position: 93% 42% !important;
}

.colour-block {
  min-height: 220px;
  position: relative;
}

.colour-block:not(.heading-block):hover .colour-block-overlay {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: all 500ms ease-out;
  opacity: 1;
  display: flex;
  align-items: center;
}

.colour-block-overlay {
  display: flex;
  align-items: center;
  position: absolute;
  top: 250px;
  transition: all 400ms ease-in;
  opacity: 0;
  padding: 20px;
  /* background: rgba(39, 195, 201, 0.9); */
  color: #fff;
  left: 0;
  right: 0;
  bottom: 0;
  font-weight: 300;
}

.colour-block-overlay p {
  font-size: 16px;
}

.col-2 .colour-block {
  background-size: auto 45% !important;
  background-position: 3% 42% !important;
}

.colour-block:not(.heading-block):hover {
  transition: all 300ms ease;
  filter: brightness(110%);
  text-decoration: none !important;
}

.colour-block a:hover {
  text-decoration: none !important;
}

.colour-block .colour-block__content {
  padding: 30px 20px 10px 30px;
  background-repeat: no-repeat;
  flex-direction: row;
  position: relative;
  background-size: 1400px;
  background-position: 90% 90%;

}

.colour-block__text {
  padding: 20px 30px 10px;
}

.colour-block__text h2 {
  padding: 0 0 10px !important;
}
.colour-block__text p {
  padding: 0;
  font-weight: normal;
  font-size: 16px;
}

.home .colour-block.has-image,
.page-id-46321 .colour-block.has-image {
  height: 450px;
}

.single-listing .colour-block .colour-block__content {
  display: flex;
  flex-direction: column;
  padding: 30px 20px 30px 30px;
  background-position: 1000% 1000%;
}

@media all and (min-width: 768px) {
	.single-listing .colour-block .colour-block__content {
		  background-position: right 40px;
	}
}

.single-listing .colour-block .colour-block__content p {
  margin-top: 0.5em;
}

.single-listing .colour-block .colour-block__details {
  margin-top: auto;
}

.colour-block h2 {
  margin: 0;
  font-size: 40px;
  /* padding: 25px 10px 0; */
  padding-bottom: 8px;
  text-transform: uppercase;
  line-height: 33px;
}

/* .colour-block.full-block h2 {
  padding: 25px 10px 0 30px;
} */

.colour-block.has-image h2:first-of-type {
  padding: 14px 30px 0;
}

.colour-block.has-image h2:last-of-type {
  padding: 0 30px;
}

.home .colour-block.has-image img {
  object-fit: cover;
  min-height: 300px !important;
}

.colour-block.full-block {
  flex-direction: row;
  border-radius: 20px;
  border-top-left-radius: 0;
  margin: 15px 0;

  display: block;
  padding-bottom: 0 !important;
}

.colour-block.full-block > div {
  flex: 0 0 50%;
}

.colour-block.full-block img {
  height: 100% !important;
  object-fit: cover;
  width: 100%;
}

.colour-block.full-block p {
  /* margin: 20px 30px 0; */
  padding-top: 20px;
  border-top: 1px solid #fff;
  font-size: 16px;
  font-weight: 400;
}

.colour-block.heading-block {
  flex: 0 0 100%;
  margin: 0;
  justify-content: unset;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 30px;
  min-height: 200px;
  height: auto;
  cursor: auto;
  flex-direction: row;
  /* background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    background-position: right 20%; */
}

/* background-repeat: no-repeat;
    background-position: right 35%;
    background-size: auto 30%; */

.colour-block.heading-block .colour-block__content:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 20px;
  background-color: inherit;
}

.colour-block__content__right-box {
  background-color: inherit;
  min-height: 250px;
}

.colour-block.heading-block.right-box {
  flex-wrap: wrap;
}

.colour-block.heading-block.right-box .colour-block__content {
  background-size: 0;
}

.colour-block.heading-block.right-box div:first-child {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
}

.colour-block.heading-block.right-box .colour-block__content__right-box {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
}

.colour-block.heading-block.right-box .colour-block__content__right-box > * {
  margin: 0 !important;
  text-align: center;
  padding: 10px;
}

.colour-block.heading-block.right-box .colour-block__content__right-box img {
  max-width: 100%;
  object-fit: contain;
  height: auto;
  max-height: 190px;
}

.colour-block.heading-block h2 {
  padding: 0;
}

.colour-block.heading-block p {
  margin-top: 10px;
  margin-right: 40%;
  margin-bottom: 50px;
  background-color: inherit;
  padding-bottom: 10px;
}

.tax-resource-category .colour-block.heading-block {
  height: auto;
  min-height: 0;
  margin: 0;
}

.tax-resource-category .colour-block .colour-block__content {
  background-position: left;
}

.tax-resource-category .colour-block.heading-block h2 {
	padding-left: 60px;
	margin-top: -10px;
	margin-bottom: 13px;
}

.tax-resource-category #content .subcategory_menu a {
  color: #0db14b;
}

.tax-resource-category #content .subcategory_menu li:after {
  border: 3px solid rgba(102, 102, 101, 0.3);
}

.colour-block__details-link {
  color: #fff;
  margin-right: 1.5em;
}

.colour-block__details-link img {
  max-width: 25px;
  margin-right: 6px;
  max-height: 25px;
}

.page-id-46321 .colour-block.has-image img {
  object-fit: cover;
  min-height: 250px;
}

 .colour-block.has-image .colour-block__image {
    overflow: hidden;
    position: relative;
    height: 100%;
  }

  .colour-block.has-image .colour-block__image img {
    position: absolute;
    top: -50px;
    width: 100%;
  }

  .home .colour-block.has-image .colour-block__image img {
    position: absolute;
    top: -80px;
  }

@media all and (min-width: 480px) {
  .colour-block .colour-block__content {

  }

  .colour-block.heading-block.right-box .colour-block__content {

  }
}

@media all and (min-width: 600px) {
  .colour-block {
    margin: 15px 10px;
  }

  .support-section .wp-block-column:first-child {
    margin-left: 0 !important;
  }

  .support-section .wp-block-column:last-child {
    margin-right: 0 !important;
  }

  .boxes-section .wp-block-column:nth-child(odd) .colour-block {
    margin-left: 0;
  }

  .boxes-section .wp-block-column:nth-child(even) .colour-block {
    margin-right: 0;
  }

  .colour-block .colour-block__content {
    	
  }
}

@media all and (min-width: 768px) {
  .colour-block {
    background-size: auto 30% !important;
    background-position: 93% 43% !important;
    height: 220px;
  }

  .colour-block.full-block {
    display: flex;
    /* height: 270px; */
    max-height: 300px;
  }

  .colour-block .colour-block__content {
    background-size: 1400px !important;
    background-position: right 15px;
  }

  .colour-block.heading-block h2 {
    font-size: 40px;
    line-height: 40px;
  }

  .colour-block.heading-block p {
    margin-top: 60px;
    margin-right: 5%;
    margin-bottom: 10px;
  }

  .wp-block-columns .wp-block-column:first-child .colour-block {
    margin-left: 0;
  }

  .wp-block-columns .wp-block-column:last-child .colour-block {
    margin-right: 0;
  }

  .boxes-section .wp-block-column:first-child {
    margin-left: 0 !important;
  }

  .boxes-section .wp-block-column:last-child {
    margin-right: 0 !important;
  }

  .boxes-section .wp-block-column:nth-child(2) .colour-block {
    margin-right: 10px;
  }

  .boxes-section .wp-block-column:nth-child(3) .colour-block {
    margin-left: 10px;
  }

  .col-2 .wp-block-column:nth-child(2) .colour-block {
    margin-right: 0;
  }

  .colour-block h2 {
    font-size: 28px;
    line-height: 28px;
  }

  .category-archive-meta {
    margin-right: 60px;
  }

  .colour-block .colour-block__content {
    padding: 20px 20px 10px 30px;
  }

  .colour-block.full-block p {
    padding-top: 0;
  }

  .colour-block.heading-block.right-box .colour-block__content {
    background-size: 120%;
  }
}

@media all and (min-width: 992px) {
  .colour-block.heading-block {
    /* background-position: calc(100% - 250px) 10%; */
    background-position: right 10%;
  }

  .colour-block.heading-block p {
    margin-top: 60px;
    margin-right: 20%;
    margin-bottom: 10px;
  }

  .colour-block .colour-block__content {
    padding: 30px 20px 10px 30px;
  }

  .colour-block.full-block p {
    padding-top: 20px;
  }

  .colour-block.heading-block.right-box div:first-child {
    flex: 0 0 80%;
  }

  .colour-block.heading-block.right-box .colour-block__content__right-box {
    flex: 0 0 20%;
  }
  
 
}

@media all and (min-width: 1400px) {
  .colour-block {
    background-size: auto 45% !important;
    background-position: 93% 25% !important;
  }

  .home .colour-block {
    background-position: 93% 42% !important;
  }

  .colour-block h2 {
    font-size: 40px;
    line-height: 33px;
  }

  .colour-block.has-image .colour-block__image {
    overflow: hidden;
    position: relative;
    height: 100%;
  }

  .colour-block.has-image .colour-block__image img {
    position: absolute;
    top: -50px;
    width: 100%;
  }

  .home .colour-block.has-image .colour-block__image img {
    position: absolute;
    top: -80px;
  }
}

.colour-box-min-300{
	min-height: 300px;
}

.colour-box-min-350{
	min-height: 350px;
}

.colour-box-min-400{
	min-height: 400px;
}




/* Posts Lists ==================== */

.posts-list.columns{
	margin-top: 20px;
}

.posts-list.columns ul{
	margin: 0!important;
}


@media handheld, only screen and (min-width: 768px) {

	.posts-list.columns{
		display: flex;
	}

	.posts-list.columns ul{
		flex: 1 1 0;
	}

}

/* A/Z conditions ==================== */
.conditions_list {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.conditions_list li {
  list-style: none;
  margin: 5px 0px;
}

.conditions_list a {
  color: #666;
  margin-left: 5px;
  font-size: 19px;
}

.conditions_list li i {
  color: #1bb8c0;
  padding-right: 5px;
  font-size: 19px;
}




.condition-heading,
.single-condition .entry-content h2 {
  color: #1bb8c0;
  font-size: 1.6em;
  line-height: 1.2em;
  margin-top: 0;
  text-transform: uppercase;
}

/* Post types / Taxonomies colours ==================== */
.tax-tax-support-parent .colour-block.heading-block,
.single-support-parent .colour-block.heading-block {
  background-color: #b63895;
}

.tax-tax-support-child .colour-block.heading-block,
.single-support-child .colour-block.heading-block {
  background-color: #26bdc2;
}

.post-type-archive-condition .colour-block.heading-block,
.single-condition .colour-block.heading-block {
  background-color: #1bb8c0;
}

.post-type-archive-condition .colour-block.heading-block .colour-block__content,
.single-condition .colour-block.heading-block .colour-block__content {
  background-image: url(/wp-content/uploads/2019/10/Aa.png) !important;
}

.post-type-archive-ask-our-expert
  .colour-block.heading-block
  .colour-block__content,
.single-ask-our-expert .colour-block.heading-block .colour-block__content {
  /*background-image: url(/wp-content/uploads/2019/10/Question.png) !important;*/
}

.post-type-archive-listing .colour-block.heading-block .colour-block__content,
.single-listing .colour-block.heading-block .colour-block__content {
  background-image: url(/wp-content/uploads/2019/06/Document.png) !important;
}

.post-type-archive-product .colour-block.heading-block .colour-block__content,
.single-product .colour-block.heading-block .colour-block__content,
.tax-product_cat .colour-block.heading-block .colour-block__content {
  background-image: url(/wp-content/uploads/2019/10/Product.png) !important;
}

.term-real-life-blogs .colour-block.heading-block {
  background-color: #1f4ac9;
}

.term-real-life-blogs .colour-block.heading-block .colour-block__content {
  background-image: url(/wp-content/uploads/2019/10/Blog.png) !important;
}

.term-family-wellbeing .colour-block.heading-block .colour-block__content {
  background-image: url(/wp-content/uploads/2019/10/People.png) !important;
}

.term-relationships .colour-block.heading-block .colour-block__content {
  background-image: url(/wp-content/uploads/2019/10/Heart.png) !important;
}

.term-support-groups-events .colour-block.heading-block .colour-block__content {
  background-image: url(/wp-content/uploads/2019/10/Hands.png) !important;
}

.term-work .colour-block.heading-block .colour-block__content {
  background-image: url(/wp-content/uploads/2019/10/Ruler.png) !important;
}

.term-benefit-financial .colour-block.heading-block .colour-block__content {
  background-image: url(/wp-content/uploads/2019/10/Graph.png) !important;
}

.term-diagnosis .colour-block.heading-block .colour-block__content {
  background-image: url(/wp-content/uploads/2019/06/Document.png) !important;
}

.term-education-learning .colour-block.heading-block .colour-block__content {
  background-image: url(/wp-content/uploads/2019/10/Education.png) !important;
}

.term-employment .colour-block.heading-block .colour-block__content {
  background-image: url(/wp-content/uploads/2019/10/Tools.png) !important;
}

.term-housing .colour-block.heading-block .colour-block__content {
  background-image: url(/wp-content/uploads/2019/10/House.png) !important;
}

.term-mobility .colour-block.heading-block .colour-block__content {
  background-image: url(/wp-content/uploads/2019/10/Wheelchair.png) !important;
}

.term-sport-leisure:not(.tax-resource-category) .colour-block.heading-block .colour-block__content {
  background-image: url(/wp-content/uploads/2019/06/Sports-1.png) !important;
}

.term-holidays-short-breaks .colour-block.heading-block .colour-block__content {
  background-image: url(/wp-content/uploads/2019/10/Suitcase.png) !important;
}

.term-transition .colour-block.heading-block .colour-block__content {
  background-image: url(/wp-content/uploads/2019/10/Plane.png) !important;
}

.post-type-archive-columnist .colour-block.heading-block .colour-block__content,
.single-columnist .colour-block.heading-block .colour-block__content {
  background-image: url(/wp-content/uploads/2019/10/Pen.png) !important;
}



.term-real-life-blogs .news-title a,
.term-real-life-blogs a.moretag{
	color: #1f4ac9;
}







/* .tax-resource-category .colour-block.heading-block, */
.post-type-archive-listing .colour-block.heading-block,
.single-listing .colour-block.heading-block {
  background-color: #0db14b;
}

.post-type-archive-ask-our-expert .colour-block.heading-block,
.single-ask-our-expert .colour-block.heading-block {
  background: #f9b717;
}

.post-type-archive-ask-our-expert .news-title a,
.post-type-archive-ask-our-expert .moretag {
  color: #f9b717;
}

.post-type-archive-tribe_events .colour-block.heading-block {
  background: #5b5d5e;
}

.post-type-archive-columnist .colour-block.heading-block,
.single-columnist .colour-block.heading-block {
  background: #1ca2cb;
}

.tax-resource-category.woocommerce .colour-block.heading-block {
  background-color: #0db14b;
}

.woocommerce .colour-block.heading-block {
  background-color: #2d529d;
}

.woocommerce .colour-block__content {
  display: flex;
  flex-direction: column;
}

.post-type-archive-monthly-columnist .news-title a,
.post-type-archive-monthly-columnist .moretag {
  color: #1ca2cb;
}

.post-type-archive-listing #directorylistingindex h3 a,
.post-type-archive-listing #directorylistingindex ul,
.post-type-archive-listing #main a,
.listing-template-default #main a {
  color: #0db14b !important;
}

.post-type-archive-listing #directorysearch button {
  background: #0db14b;
}

.post-type-archive-listing #directorylistingindex h3 img {
}

/* Products ==================== */

.post-type-archive-listing #content,
.post-type-archive-product #content {
  
}

.post-type-archive-product #main {
  flex: 0 0 100%;
}

.post-type-archive-listing .colour-block,
.post-type-archive-product .colour-block {
  flex: 0 0 100%;
}

.woocommerce #main.maincolumn,
.single-product.woocommerce #main.mainfull {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.woocommerce #main.maincolumn #main.site-main,
.woocommerce #main.mainfull #main.site-main {
  display: flex;
  flex-wrap: wrap;
}

.tax-product_cat #main {
  flex: 0 0 100%;
}

.woocommerce ul.products {
  flex: 0 0 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}

.woocommerce .sidebar-categories {
  margin-bottom: 15px;
  width: 100%;
}

.woocommerce .sidebar-categories h2 {
  background: #2d529d;
  padding: 8px 15px 8px 15px;
  border-radius: 5px;
  color: #fff;
  margin: 0;
  font-size: 30px;
  width: 100%;
}

.woocommerce .sidebar-categories .categories {
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}

.woocommerce .sidebar-categories .categories.active-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 999px;
}

.woocommerce .sidebar-categories .categories > li {
  margin: 10px 0;
}

.woocommerce .sidebar-categories .sub-categories {
  display: none;
}

.woocommerce .sidebar-categories li a {
  color: #7c7b7b;
  display: grid;
  grid-template-columns: 60px auto;
}

.woocommerce .sidebar-categories li .sub-categories a{
	display: block;
}

.woocommerce .sidebar-categories li a span{
  align-self: center;
}

.woocommerce .sidebar {
  flex: 0 0 100%;
}

.woocommerce .sidebar-categories .category-img {
  width: 50px;
  margin-right: 10px;
}

.woocommerce .sidebar-categories a {
  font-weight: 600;
  font-size: 18px;
  color: #666;
  text-transform: uppercase;
}

.woocommerce .sidebar-categories .active a {
  font-weight: 700;
  font-size: 19px;
  color: #2d519d;
  text-transform: uppercase;
}

.woocommerce .sidebar-categories .active .sub-categories {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
  margin-left: 60px;
  margin-top: 0;
  text-transform: none;
}

.woocommerce .sidebar-categories .active .sub-categories a {
  color: #000;
  text-transform: none;
  font-weight: 300;
  font-size: 15px;
}

.woocommerce .sidebar-categories .active .sub-categories a:hover {
	text-decoration: underline!important;
}

.woocommerce ul.products.columns-2 li.product,
.woocommerce-page ul.products.columns-2 li.product {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.woocommerce ul.products.columns-2 li.product:nth-child(odd),
.woocommerce-page ul.products.columns-2 li.product:nth-child(odd) {
  margin-right: 2%;
}

.woocommerce .woocommerce-breadcrumb,
.woocommerce div.product {
  padding-left: 25px;
  padding-right: 25px;
  /* display: none; */
}

.woocommerce ul.products li.product a {
  color: #666;
}

.woocommerce ul.products li.product a[rel='noopener'] {
  color: #1bb8c0;
}

.woocommerce-page.columns-2 ul.products li.product,
.woocommerce.columns-2 ul.products li.product {
  margin-right: 2%;
}

.woocommerce .product_summary strong {
  color: #666;
}

.woocommerce .product_summary strong a {
  word-break: break-word;
}

.woocommerce-loop-product__link {
  order: 0;
}

#productsearch {
  background: rgba(255, 255, 255, 0.4);
  border: 2px #275ba9 solid;
  margin-bottom: 20px;
  padding: 10px;
  overflow: hidden;
  width: 94%;
  border-radius: 10px;
  box-sizing: border-box;
  margin-left: 25px;
  margin-right: 25px;
}

#productsearch legend,
#productsearch select,
#productsearch button {
  display: inline-block;
  margin-right: 10px;
}

#productsearch input {
  width: 40%;
  border: none;
  border: none;
  border-bottom: 2px #ccc solid;
}

#productsearch select {
  border: none;
  border-bottom: 2px #ccc solid;
}

#productsearch button {
  border: none;
  color: #ffffff;
  font-size: 14px;
  line-height: 15px;
  padding: 5px 14px;
  background: #275ba9;
  border-radius: 5px;
  float: right;
}

.shop_left_column h3 {
  background: #eee;
  padding: 10px;
  border-radius: 5px;
  margin-top: 20px;
}

.shop_left_column ul {
  padding-left: 10px;
  list-style: none;
}

.single-product.woocommerce div.product {
  flex: 0 0 100%;
  background: #e7e7e7;
  padding: 0;
}

.single-product.woocommerce div.product {
  color: #000;
}

.single-product.woocommerce .woocommerce-loop-product__title {
  position: relative;
  background: #2d519d;
  border-radius: 5px;
  color: #fff;
  padding: 8px 15px !important;
  text-align: left;
  font-size: 1.8em !important;
  margin: 0;
}

.single-product.woocommerce .product-info {
  display: flex;
  padding: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.single-product.woocommerce .product_summary > :first-child {
  font-size: 24px;
  color: #2d529d;
}

.single-product.woocommerce .related-products-section {
  padding: 20px;
  margin-top: 20px;
}

.single-product.woocommerce .related-products-section .related h2 {
  display: none;
}

.single-product.woocommerce .related-products-section .products {
  display: flex;
  flex-wrap: wrap;
}

.single-product.woocommerce .related-products-section .products .product {
  flex: 0 0 calc(100% - 20px);
  margin: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.single-product.woocommerce
  .related-products-section
  ul.products
  li.product
  .product_summary {
  width: 100%;
  float: none;
}

.single-product.woocommerce .product {
  margin-bottom: 30px;
}

.single-product.woocommerce .related-products-section span {
  font-size: 22px;
}

.single-product.woocommerce .related-products-section i {
  font-size: 16px;
}

.single-product.woocommerce .related-products-section h4 {
  font-size: 1em;
}

.single-product.woocommerce .related-products-section img {
  margin: auto 0 0 0 !important;
}

.single-product.woocommerce .product-info img {
  padding: 10px;
  object-fit: contain;
}

@media all and (min-width: 600px) {
  .woocommerce ul.products.columns-2 li.product,
  .woocommerce-page ul.products.columns-2 li.product {
    width: 48%;
  }
}

@media all and (min-width: 768px) {

.woocommerce .sidebar-categories {
  padding-right: 16px;
}

  .woocommerce ul.products {
    flex: 1 0 70%;
  }

  .woocommerce .sidebar-categories {
    flex: 0 0 25%;
  }

  .woocommerce .sidebar {
    flex: 0 0 calc(25% - 20px);
    margin-left: 20px;
    margin-top: 0;
  }

  .woocommerce .sidebar-categories h2 {
    display: inline-block;
    margin-right: 10%;
  }

  .woocommerce #primary {
    flex: 1 0 75%;
  }

  .woocommerce .sidebar-categories .categories {
    max-height: 2000px;
  }

  .single-product.woocommerce
    .related-products-section
    .products
    .product:first-child {
    margin-left: 0;
  }

  .single-product.woocommerce
    .related-products-section
    .products
    .product:last-child {
    margin-right: 0;
  }

  .single-product.woocommerce div.product {
    flex: 0 0 75%;
  }

  .single-product.woocommerce .related-products-section {
    margin-top: 0;
  }

  .post-type-archive-product #main {
    flex: 0 0 100%;
  }
  
  .woocommerce .sidebar-categories h2 {
  	width: 100%;
  }
  
}

.width-300-centered{
	width: 300px!important;
	margin: 0 auto;
}

@media all and (min-width: 992px) {
  .single-product.woocommerce .related-products-section .products .product {
    flex: 0 0 calc(33% - 20px);
  }
}

@media all and (min-width: 1400px) {
  .single-product.woocommerce .product-info {
    flex-wrap: nowrap;
  }
}

@media handheld, only screen and (min-width: 768px) {
  .shop_left_column {
    width: 25%;
    float: left;
    padding-left: 25px;
  }

  .has_shop_left_column {
    width: 64%;
    float: right;
  }
}

/* Videos ==================== */

#videoarchive {
  overflow: hidden;
}

#videoarchive .video,
.videoarchive .video {
  width: 48%;
  float: left;
  margin: 10px 1%;
}

#videoarchive .video:nth-child(2n + 1) {
  clear: left;
}

#videoarchive .video.item,
.owl-item .video.item {
  width: 100%;
}

#videoarchive .video h4 {
  font-size: 1.4em;
  padding-top: 10px;
}

article.video h1 {
}

h4.section-title {
  text-align: center;
  font-size: 1.6em;
}

body .video img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.comments-area {
  padding: 0 20px;
}

/* Taxonomies --------------------------------------------------------------*/

.tax-tax-support-parent #article_columns article,
.tax-tax-support-child #article_columns article {
  flex: 0 0 100%;
  display: flex;
  padding: 0;
  margin: 10px 0;
  align-items: center;
  flex-wrap: wrap;
}

.tax-tax-support-parent #article_columns article .entry-image,
.tax-tax-support-child #article_columns article .entry-image {
  flex: 0 0 100%;
}

.tax-tax-support-parent #article_columns article .entry-header,
.tax-tax-support-child #article_columns article .entry-header {
  flex: 0 0 100%;
  padding: 0 10px;
}

.tax-tax-support-parent #article_columns article:nth-child(odd),
.tax-tax-support-child #article_columns article:nth-child(odd) {
  border: none;
}

@media all and (min-width: 600px) {
  .tax-tax-support-parent #article_columns article .entry-image,
  .tax-tax-support-child #article_columns article .entry-image {
    flex: 0 0 20%;
  }

  .tax-tax-support-parent #article_columns article .entry-header,
  .tax-tax-support-child #article_columns article .entry-header {
    flex: 0 0 70%;
    padding-left: 1em;
    padding-right: 0;
  }
}

/* Subscribe box --------------------------------------------------------------*/

#subscribe_box,
.subscribe {
  text-align: center;
}

#subscribe_box h4 {
  font-size: 1.39em;
}

.subscribe .su-button {
  text-transform: uppercase;
}

.subscribe .su-button-style-flat span {
  line-height: 15px !important;
  font-size: 13px !important;
  text-transform: none;
}

#subscribe_box > span > div > a {
  margin: 0px; /* Fixed the height of the subscribe box as we've now changed the text */
}

.subscribe h3 {
  margin: 0;
}

#subscribe_box p {
  margin: 0;
  font-size: 0.9em;
}

ul#social_links {
  list-style: none;
  margin: 0;
  padding: 0;
}

#social_links li {
  margin: 5px;
  padding: 0;
  display: inline-block;
}

#social_links li a {
  width: 50px;
  height: 40px;
  background: #fff;
  border-radius: 50px;
  display: block;
  text-align: center;
  color: #000;
  font-size: 30px;
  padding-top: 10px;
}

.fa-twitter {
  color: #84a8bb;
}
.fa-youtube {
  color: #ef3a64;
}
.fa-facebook {
  color: #36454d;
}

#mtphr-dnt-1300-widget {
  background: #efefef;
  font-size: 0.9em;
  padding: 0 10px;
}

.featured .sue-content-slider .owl-controls {
  top: auto;
}

/* Article Columns --------------------------------------------------------------*/

#article_columns {
  /* -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  -webkit-column-gap: 40px;
  -moz-column-gap: 40px;
  column-gap: 40px;
  -webkit-column-rule: 1px solid #fff;
  -moz-column-rule: 1px solid #fff;
  column-rule: 1px solid #fff; */
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 30px;
  border-bottom: 2px solid;
  margin-bottom: 30px;
  border-image: linear-gradient(
      to right,
      rgba(226, 227, 228, 1) 90%,
      rgba(255, 255, 255, 0) 100%
    )
    1;
}

#article_columns article {
  /* break-inside: avoid-column;
  -webkit-column-break-inside: avoid;
  margin-bottom: 15px;
  display: inline-block;
  width: 100%; */
  flex: 0 0 100%;
  border-radius: 0;
  padding: 0px 3%;
}

#article_columns.resource-category article {
  border-top: 3px solid #0ca338;
  border-radius: 0;
  margin: 20px 10px;
  padding: 10px;
  background: #F6F6F6;
}



@media all and (min-width: 600px) {

  #article_columns article {
    flex: 0 0 calc(50% - 10px * 2);
    border-radius: 0;
    padding: 0px 3%;
  }
}

@media all and (min-width: 768px) {

  #article_columns.resource-category article {
 	 flex: 0 0 calc(49% - 10px);
  }
  
  #article_columns article:nth-child(even) {
	  padding-right: 0;
	  margin-right: 15px;
  }

  #article_columns article:nth-child(odd) {
	  padding-left: 0;
	  margin-left: 0;
  }

  #article_columns article:nth-child(odd) {
    border-right: 2px solid #e2e3e4;
  }
}

/* Listings --------------------------------------------------------------*/

article.listing h3 {
  font-size: 1.25em;
  font-weight: bold;
  text-transform: none;
  color: #666 !important;
  font-family: myriad-pro, sans-serif;
}

#main article.listing h3 a,
#main .entry-meta a {
  font-weight: 400;
  color: #666 !important;
  font-size: 0.9em;
}

#article_columns article.listing{
	border-radius: 5px;
}

#article_columns article.listing p {
  margin: 0;
  padding: 0;
  font-size: 0.8em;
  color: #999;
}

article.listing a {
  /* font-weight: bold; */
}

.entry-meta {
  float: none;
  clear: both;
}

article.listing a.readmore {
  font-weight: normal;
  text-transform: uppercase;
  float: right;
}

#article_columns.sidebar_directory article{
	flex: none!important;
	margin: 10px auto!important;
	width: 98%;
}

#article_columns.sidebar_directory article h3 a{
	font-weight: 400;
	color: #666 !important;
	font-size: 0.8em;
	text-decoration: underline !important;
	text-transform: none;
}

#article_columns.sidebar_directory article header.entry-header{
	display: block!important;
}

#article_columns article.listing.enhanced .entry-thumbnail img {
  height: 300px;
  object-fit: cover;
  width: 100%;
  border-bottom-left-radius: 5px;
}

#article_columns article.listing.enhanced .readmore {
  margin-top: auto;
}

#article_columns article.listing.enhanced .entry-thumbnail {
  flex: 0 0 100%;
  position: relative;
}

#article_columns article.listing.enhanced .entry-logo {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  border-bottom-right-radius: 5px;
}

#article_columns article.listing.enhanced .entry-header {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1 0 100%;
}

#article_columns article.listing.enhanced .entry-thumbnail:after {
  content: 'Enhanced listing';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #0ca338;
  text-align: right;
  color: #fff;
  padding: 3px 6px;
  box-sizing: border-box;
  text-transform: uppercase;
  font-size: 15px;
  border-bottom-left-radius: 5px;
}

#article_columns article.listing.enhanced .entry-logo img {
  max-width: 120px;
  object-fit: contain;
  margin: 10px 20px;
}

#article_columns article.listing.enhanced {
  color: #fff; */
  border-top: 6px solid #0ca338;
  flex: 0 0 calc(100%);
  margin-left: 0;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  background: transparent;
  border-right: none;
}

#article_columns article.listing.enhanced .entry-excerpt {
  margin: 15px 0;
}

#article_columns article.listing.enhanced h3 {
  display: block;
  font-size: 1.6em;
  margin: 0;
}

#article_columns article.listing.enhanced p {
  margin: 6px 0;
}

#article_columns article.listing.enhanced .entry-meta p {
  margin: 15px 0 0;
}

#article_columns article.listing.enhanced h3,
#article_columns article.listing.enhanced a {
  color: #1d1d1b !important;
}

#article_columns article.listing:not(.enhanced) h3{
	margin-top: 0;
}

.subcategory_menu {
  list-style: none;
  margin: 20px 0 20px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 100%;
}

.subcategory_menu li {
  font-size: 20px;
  /* display: inline-block; */
  /*font-weight: 600;*/
  flex: 0 0 100%;
  padding: 0 10px 0 0;
  position: relative;
  font-size: 20px;
  text-transform: capitalize;
  margin: 10px 0;
}

.subcategory_menu li a:before {
  content: '';
  left: 0px;
  top: 0;
  width: 15px;
  height: 15px;
  border: 3px solid rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  display: block;
  float: left;
  color: #666;
  margin-bottom: 5px;
  margin-right: 5px;
}

.subcategory_menu li a {
  color: #0ca338;

}

.woocommerce .subcategory_menu li:after {
  border: 3px solid rgba(45, 82, 157, 0.6);
}

.woocommerce .subcategory_menu li a {
  color: #2d529d;
}

#directoryfilter {
  background: rgba(255, 255, 255, 0.4);
  border: 1px #ccc solid;
  margin-bottom: 20px;
  padding: 10px;
  overflow: hidden;
  float: right;
  border-radius: 10px;
  margin-right: 10px;
}

#directoryfilter legend,
#directoryfilter select,
#directoryfilter button {
  display: inline-block;
  margin-right: 10px;
}

#directoryfilter select {
  width: 120px;
  font-weight: bold;
  text-transform: uppercase;
  border: none;
}

#directoryfilter legend {
  float: left;
  font-size: 14px;
}

#directoryfilter button {
  border: none;
  color: #ffffff;
  font-size: 14px;
  line-height: 15px;
  padding: 5px 14px;
  background: #0db14b;
  border-radius: 5px;
}

body.tax-resource-category #main.maincolumn,
body.tax-region #main.maincolumn {
  background: #fff;

}

.enhancedhr {
  clear: both;
}

article.listing .moretag {
  display: none;
}

#directorysearch {
  background: #F6F6F6;
  border: 1px #EEE solid;
  padding: 10px;
  overflow: hidden;
  border-radius: 10px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

#directorysearch legend,
#directorysearch select,
#directorysearch input {
  display: inline-block;
  margin: 10px;
}

#directorysearch input {
  /* width: 40%; */
  width: 100%;
  border: none;
  border: none;
  border-bottom: 2px #fff solid;
  background: transparent;
  padding: 7px 10px;
  text-transform: uppercase;
}

#directorysearch select {
  border: none;
  border-bottom: 2px #fff solid;
  background: transparent;
  height: 37px;
  border-radius: 0;
  -webkit-appearance: none;
  text-transform: uppercase;
  width: 100%;
}

#directorysearch button {
  border: none;
  color: #ffffff;
  font-size: 19px;
  line-height: 15px;
  padding: 11px 21px;
  background: #0db14b;
  border-radius: 5px;
  float: right;
  text-transform: uppercase;
  font-weight: 700;
  margin: 10px;
}

#directorylistingindex {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
}

#directorylistingindex > li {
  display: inline-block;
  flex: 0 0 100%;
}

@media all and (min-width: 480px) {
  .subcategory_menu li {
    flex: 0 0 50%;
  }
}

@media all and (min-width: 600px) {
  #directorylistingindex > li {
    flex: 0 0 50%;
  }
}

@media all and (min-width: 768px) {
  #directorysearch {
    flex-wrap: nowrap;
  }

  #directorysearch legend,
  #directorysearch select,
  #directorysearch input {
    margin: 0;
    margin-right: 10px;
    padding: 7px 10px;
  }

  #directorysearch button {
    margin: 0;
    margin-left: 10px;
  }

  .subcategory_menu li {
    flex: 0 0 30%;
  }

  #article_columns article.listing {
    border-right: none;
    padding-left: 10px;
  }
}

@media all and (min-width: 992px) {
  #directorylistingindex > li {
    /* flex: 0 0 33%; */
  }

  #article_columns article.listing.enhanced .entry-thumbnail {
    flex: 0 0 35%;
  }

  #article_columns article.listing.enhanced .entry-logo {
    flex: 0 0 10%;
    margin-top: 0;
    border-bottom: 1px #CCC solid;
    border-right: 1px #CCC solid;
  }

  #article_columns article.listing.enhanced .entry-header {
    flex: 1 0 45%;
    border-bottom: 1px #CCC solid;
  }

  .subcategory_menu li {
    flex: 0 0 20%;
  }
}

#directorylistingindex img {
  

}

#directorylistingindex h3 {
  text-transform: uppercase;
  font-size: 1.6em;
    display: grid;
  grid-template-columns: 80px auto;
  align-content: baseline;
  margin: 5px 0;
}

#directorylistingindex h3 a {
  align-self: center;

}

#directorylistingindex ul {
  color: #ff8f1c;
  margin-left: 75px;
  margin-top: -22px;
  font-size: 1em;
  display: inline-block;
}

#directorylistingindex ul li a {
  color: #666 !important;
}

/* Woocommerce ============================================================ */


.woocommerce-result-count,
.woocommerce-ordering,
.post-type-archive-product .woocommerce-products-header {
  display: none;
}

body.woocommerce h1 {
  color: #275ba9;
}

#product_search {
  border-radius: 5px;
  border: 2px #275ba9 solid;
  position: relative;
  box-sizing: border-box;
}

#product_search input {
  width: 100%;
  border: none;
  padding: 10px;
  border-radius: 5px;
  box-sizing: border-box;
}

#product_search button {
  border-radius: 5px;
  color: #fff;
  background: #275ba9;
  position: absolute;
  top: 5px;
  right: 5px;
  border: none;
  padding: 5px 10px;
  font-size: 14px;
}

#myfamily_shop_wrapper {
  overflow: hidden;
  padding: 20px 0;
}

#myfamily_shop_wrapper #myfamily_shop_content {
}

#myfamily_shop_wrapper #myfamily_shop_sidebar {
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: 100%;
  margin: 0 0 20px;
}

.woocommerce ul.products.columns-3 li.product,
.woocommerce-page ul.products.columns-3 li.product {
  width: 100%;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
}

.widget_product_categories .widget-title {
  font-size: 1.6em;
  background: #e7e7e7;
  border-radius: 5px;
  display: block;
  color: #275ba9;
  padding: 5px;
}

.product-categories {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-categories a {
  color: #999;
  padding: 5px 0;
  display: block;
  font-size: 1.1em;
}

.product-categories .current-cat a {
  color: #275ba9;
  font-weight: bold;
}

.woocommerce-products-header__title {
  margin-top: 14px;
  font-size: 2.2em;
}

ul.products li.product {
  background: #e7e7e7;
  border-radius: 5px;
}

ul.products li.product img {
  margin: 15px auto;
  width: 85%;
  order: 1;
}

ul.products li.product .woocommerce-loop-product__title {
  position: relative;
  background: #2d519d;
  border-radius: 5px;
  color: #fff;
  padding: 8px 15px !important;
  text-align: right;
  font-size: 1.3em !important;
  min-height: 70px;
}

ul.products li.product a strong,
ul.products li.product strong a  {
  color: #2d519d !important;
  text-decoration: underline!important;
  word-break: break-word;
}

ul.products li.product .product_summary {
  padding: 0 20px 10px;
  color: #333;
  order: 2;
}

ul.products li.product .product_summary h4 {
  color: #2d519d;
  display: none;
}

ul.products li.product .product_summary p {
  font-size: 15px;
}

ul.products li.product .product_summary p,
ul.products li.product .product_summary a {
  color: #000;
  word-break: break-word;
}

.woocommerce ul.products li.product .price {
  display: none;
}

.woocommerce .quantity .qty {
  font-size: 1.45em;
  width: 2.631em;
}

.woocommerce .cart .quantity .qty
	font-size: 1em;
}

#tab-description > h2 {
  display: none;
}

.product .woocommerce-tabs > .wc-tabs {
  display: none;
}

.product_meta {
  display: none;
}

.cat-item-240 {
  display: none;
}

.woocommerce .product-cat h3 {
  color: #2d529d;
  text-transform: uppercase;
  font-size: 1.6em;
  display: grid;
  grid-template-columns: 70px auto;
  align-content: baseline;
  margin: 5px 0;
}

.woocommerce .product-cat h3 a {
  color: #2d529d;
  align-self: center;
  padding-left: 10px;
}

.woocommerce .products.columns-2 {
  display: flex;
  flex-wrap: wrap;
}

.woocommerce .products .product-cat {
  flex: 0 0 100%;
}

@media all and (min-width: 600px) {
  .woocommerce ul.products.columns-3 li.product,
  .woocommerce-page ul.products.columns-3 li.product {
    width: calc(50% - 20px);
    margin: 0 10px 20px;
  }
}

@media all and (min-width: 768px) {
}

@media handheld, only screen and (min-width: 568px) {
  #myfamily_shop_wrapper #myfamily_shop_content {
    float: right;
    width: 65%;
  }

  #myfamily_shop_wrapper #myfamily_shop_sidebar {
    float: left;
    width: 30%;
  }
}

@media all and (min-width: 600px) {
  .woocommerce .products .product-cat {
    flex: 0 0 50%;
  }
}

@media handheld, only screen and (min-width: 900px) {
  /* ul.products li.product {
    background: #e7e7e7;
    border-radius: 5px 5px 90px 0;
  } */

  /* ul.products li.product .product_summary {
    width: 50%;
    float: left;
  } */

  ul.products li.product .wp-post-image {
    width: 30% !important;
    float: right;
    margin: 30px 30px 20px 10px !important;
  }
}

@media all and (min-width: 992px) {
  /* .woocommerce .products .product-cat {
    flex: 0 0 50%;
  } */

  .woocommerce ul.products.columns-3 li.product,
  .woocommerce-page ul.products.columns-3 li.product {
    width: calc(33.3% - 20px);
  }
}

.related-products ul.products {
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-products ul.products li {
  overflow: hidden;
  background: transparent;
}

article.listing .related-products ul.products li a {
  font-weight: normal;
}




/* ======= Back to section ======== */

#main a.backtosection{
	padding: 15px 30px;
	border-radius: 4px;
	margin: 0;
	font-family: myriad-pro-condensed, sans-serif;
	text-transform :uppercase;
	font-weight: 600;
	background: #666;
	color: #FFF!important;
	text-decoration: none!important;
	font-size: 24px!important;
	display: inline-block;
}






/* Right column --------------------------------------------------------------*/

.rightcolumn .widget_text {
  padding: 15px;
}

.rightcolumn aside {
  border-radius: 10px;
}

.widget .colour-block {
  margin: 30px 0 15px;
}

.widget .colour-block:first-of-type {
  margin-top: 0;
}

.widget .widget-title {
  display: none;
}

.widget .menu-directory-menu-container ul.menu {
  margin: 0;
  padding: 0;
}

#menu-directory-menu .menu-item {
  padding: 10px;
  border-radius: 4px;
  margin: 10px 0;
}

#menu-directory-menu .menu-item a {
  color: #fff;
  font-weight: 600;
  font-family: myriad-pro-condensed, sans-serif;
  font-size: 28px;
}

#menu-directory-menu .menu-item:first-child {
  background: #f7b700;
  margin-top: 0;
}

#menu-directory-menu .menu-item:nth-child(2) {
  background: #209fcc;
}

#menu-directory-menu .menu-item:nth-child(3) {
  background: #b82e86;
}

.rightcolumn aside:last-child {
  margin-bottom: 0;
}

.rightcolumn .none {
  background: transparent;
  color: #333;
}

.rightcolumn aside.noborder {
  padding: 0;
}

.rightcolumn .blue h3 {
  color: #c02418;
  font-size: 1.7em;
  margin: 0;
  padding: 15px;
  text-align: center;
}

.rightcolumn .blue p {
  margin: 5px 0 10px;
}

.rightcolumn .half {
  width: 50%;
  display: inline-block;
}

.rightcolumn .quote p {
  text-align: center;
  font-family: myriad-pro, sans-serif;
  font-weight: 400;
  font-size: 20px;
  padding: 10px;
  line-height: 28px;
  margin: 0;
}

.rightcolumn .quote a {
  color: #fff;
}

.rightcolumn .black img,
.rightcolumn .widget_sp_image img {
  width: 100%;
  height: auto;
}

.joinbutton {
  text-transform: uppercase;
  text-align: center;
  font-size: 1.3em;
  display: block;
}

.rightcolumn blockquote {
  font-size: 1em;
  margin: 5px 0;
  padding-left: 10px;
}

.rightcolumn blockquote p {
  font-style: normal;
  font-size: 1em;
}

.rightcolumn ul.menu {
  list-style: none;
  margin: 0;
  padding: 0 5px 0 5px;
}

.rightcolumn ul.menu li {
  border-bottom: 1px rgba(255, 255, 255, 0.5) solid;
  padding: 5px 0;
}

.rightcolumn ul.menu li:last-child {
  border-bottom: none;
}

.rightcolumn ul.menu li a {
  text-transform: uppercase;
  font-size: 1.4em;
  font-family: myriad-pro, sans-serif;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

.rightcolumn ul.menu li a:after {
  content: '';
  font-family: "Font Awesome 5 Pro";
  margin-left: 10px;
  transition: margin 300ms ease;
}

.rightcolumn ul.menu li a:hover {
  text-decoration: none;
  opacity: 0.9;
}

.rightcolumn ul.menu li a:hover:after {
  margin-left: 15px;
}

.sgr-custom-taxonomies-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sgr-custom-taxonomies-menu ul li {
  margin-bottom: 6px;
}

@media only screen and (min-width: 375px) and (max-width: 667px) {
  #widget_sp_image-4 {
    margin-top: 7% !important;
    background-color: white;
  }

  #logo {
    height: 90px;
    width: 65px;
   
  }
}

/* Page nav
============================================================== */

.page-nav {
  background: #cccccc;
  padding: 10px;
  overflow: hidden;
}

#main .page-numbers {
  display: inline-block;
  padding: 5px;
  font-size: 21px;
  color: #d1d1d1 !important;
}

#main .page-numbers.current {
  color: #1b1b1b !important;
}

.page-order {
  width: 25%;
  float: left;
}

.page-order select {
  width: 90%;
  padding: 4%;
  color: #909090;
  font-weight: bold;
  background: #f0f0ed;
  text-transform: uppercase;
  font-size: 14px;
  border: none;
}

.page-search {
  width: 25%;
  float: left;
}

.page-search input {
  width: 90%;
  padding: 4%;
  color: #909090;
  font-weight: bold;
  background: #f0f0ed;
  text-transform: uppercase;
  font-size: 14px;
  border: none;
}

.page-pages {
  width: 50%;
  float: left;
  text-align: right;
  padding-top: 6px;
}

.page-pages .page-numbers {
  padding: 2% 1.5%;
  color: #909090;
  font-weight: bold;
  background: transparent;
  text-transform: uppercase;
  font-size: 17px;
}

.page-pages .current {
  color: #909090;
  text-decoration: underline;
}

.page-details {
  background: #ffffff;
  border-radius: 5px;
  color: #909090;
  font-weight: bold;
  font-size: 13px;
  text-transform: uppercase;
  overflow: hidden;
}

.page-displaying {
  width: 40%;
  float: left;
  padding: 1.5%;
  display: none;
}

.page-options {
  width: 100%;
  text-align: center;
  padding: 1.5%;
}

.page-options ul {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  float: right;
}

.page-options ul li {
  float: left;
  margin: 0 5px !important;
  padding: 0 !important;
}

.page-options ul li.iconskey img {
  width: 15px;
  margin-bottom: 3px;
}

.page-options ul li a {
  text-decoration: none;
  color: #666;
  outline: none;
}

.page-options ul li a:hover {
  text-decoration: none;
  color: #000;
}

.results-table {
  width: 100%;
}

.results-table tr.odd {
  background: #ffffff;
}

.results-table tr.even {
  background: #f6f6f6;
}

.results-table td {
  padding: 10px;
  color: #575252;
  font-size: 14px;
}

.results-table td p {
  padding: 0 !important;
  margin: 0 !important;
  color: #575252;
  font-size: 13px;
}

.results-table td p.contacts {
  color: #a0a0a0;
  font-size: 13px;
  margin-bottom: 5px;
}

.results-table td p.contacts a {
  text-decoration: underline;
  color: #a0a0a0;
}

.results-table td h3 {
}

.results-table td h3 a {
  text-decoration: underline;
}

.wpcf7-form input:not([type="checkbox"],[type="radio"]),
.wpcf7-form select,
.wpcf7-form textarea {
  padding: 5px;
  width: 100%;
  box-sizing: border-box;
  border: 1px #ccc solid;
  margin-bottom: 5px;
}

.wpcf7-form input[type='submit'] {
  width: auto;
  margin: 0 auto;
  font-family: myriad-pro, sans-serif;
  font-size: 20px !important;
  font-weight: 400;
  padding: 15px 25px !important;
  color: #fff;
  background: #c02418;
  border: none;
  border-radius: 5px;
  text-transform: uppercase;
}

.subpages {
  margin: 0 0 20px 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

.subpages li {
  background: #c02418;
  float: left;
  margin: 10px 2%;
  width: 45%;
  color: #fff;
}

.subpages li h3 {
  color: #fff;
  min-height: 50px;
  padding: 10px;
  margin: 0;
}

.related-listings article.listing.enhanced {
  width: 100%;
  box-sizing: border-box;
}

/* Events ================================================ */

h1.tribe-events-page-title {
  text-align: left;
}

.tribe-events-loop figure,
.tribe-events-ical {
  display: none !important;
}

.tribe-events-read-more,
.add-to-cart .button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  display: inline-block;
  background: #275ba9;
  color: #fff !important;
  font-family: myriad-pro, sans-serif;
  font-size: 18px !important;
  font-weight: 400;
  padding: 8px 10px !important;
  border: none;
  border-radius: 5px;
}

.woocommerce a.button.alt.checkout-button{
	display: block;
	padding: 15px!important;
}

input.tribe-common-form-control-email__input ticket-meta{
	padding: 8px 16px;
}

.tribe-events-single-event-title {
  margin-bottom: -20px !important;
}

.tribe-events-back {
  position: absolute;
  top: -22px;
  right: 5px;
  display: inline-block;
  background: #666565!important;
  font-family: myriad-pro, sans-serif;
  font-size: 18px !important;
  font-weight: 600;
  padding: 8px 18px !important;
  border-radius: 5px;
}

.tribe-events-back a {
  color: #fff !important;
  font-weight: 300;
}

.tribe-events-cal-links {
  display: none;
}

.tribe-events-cost {
  background: #eee;
  padding: 5px;
  display: inline-block;
  margin-left: -2px;
}

.tribe-events-meta-group-venue {
  width: 33%;
  float: left;
}

#buy-tickets {
  clear: both;
}

.tribe-events-event-meta.primary.tribe-clearfix::after {
  clear: none;
}

.tribe_events dt {
  font-weight: bold;
}

.tribe_events dd {
  margin: 0;
}

article.hentry div.entry-content.tribe-events-single-event-description {
  padding: 10px 0;
}

.tribe-events-event-meta .column,
.tribe-events-event-meta .tribe-events-meta-group {
  padding: 0 4% 0 0;
}

.tribe-events-address {
  line-height: 1.8em !important;
}

.tribe-tickets-remaining {
  display: none;
}

.tickets_description {
  display: block;
  font-size: 1em;
}

.tickets_description small {
  display: block;
  color: #999;
}

.tickets_name {
  font-size: 1.2em;
  white-space: nowrap;
}
.tickets_price .amount:after {
  content: '(inc VAT)';
  color: #999;
  display: block;
  font-weight: normal;
  font-size: 0.8em;
  white-space: nowrap;
}
table.tribe-events-tickets td {
  vertical-align: top;
}
#tribe-events-footer {
  border-top: 4px #ddd solid;
  margin-top: 30px;
  padding-top: 10px;
}

.single-tribe_events .tribe-events-event-meta {
  background: none;
  border: none;
}
.single-tribe_events #tribe-events-content .tribe-events-event-meta dd {
  margin-bottom: 0;
  font-weight: bold;
}
.single-tribe_events .tribe-events-venue-map {
  width: 90%;
}

.tribe-block__tickets__item__quantity button{
	background: #EEE;
	border-radius: 4px;
	border: none;
	font-weight: bold;
}

body.baps #main h1.tribe-events-single-event-title {
  font-family: 'myriad-pro-condensed', 'sans-serif'
  color: #26bdc2;
  margin-top: 10px;
  font-size: 56px;
  position: relative;
  font-weight: 600;
  color: #5E6161;
}

body.baps #main h1.tribe-events-single-event-title:after {
  content: '';
  background: #26bdc2;
  height: 8px;
  width: 60px;
  position: absolute;
  bottom: -25px;
  left: 0;
}

.single-tribe_events #tribe-events-content div.cart, .single-tribe_events #tribe-events-content form.cart{
	padding-right: 4%;
}

.tribe-events-tickets .woocommerce.add-to-cart{
	padding: 20px 0!important;
}

.tribe-events-tickets .woocommerce.add-to-cart button{
	margin: 5px 0!important;
}


body.baps.transition-event #main h1.tribe-events-single-event-title {
  font-family: 'Orkney Bold';
  color: #bc206a;


  
  margin-top: 0;
  font-size: 50px;
  position: relative;
}

body.baps.transition-event #main h1.tribe-events-single-event-title:after {
  content: '';
  background: #26bdc2;
  height: 8px;
  width: 60px;
  position: absolute;
  bottom: -25px;
  left: 0;
}

.tribe_events-template-default #buy-tickets {
  width: 100%;
}

.tribe_events-template-default #buy-tickets .tribe-events-tickets {
  background: transparent;
}

.tribe_events-template-default #buy-tickets .woocommerce.add-to-cart,
.tribe_events-template-default
  #buy-tickets
  .tribe-events-tickets
  tr:not(:first-child),
.tribe_events-template-default #buy-tickets .woocommerce {
  border-bottom: none;
  border-top: none;
}

.tribe_events-template-default #buy-tickets .quantity input {
  border: 1px solid;
}

.tribe-events-single-section {
  display: flex;
  flex-wrap: wrap;
}

.tribe-events-single-section .tribe-events-meta-group {
  flex: 0 0 100%;
  margin: 0;
}

.single-tribe_events .tribe-events-event-meta h3{
	background: #ee2a58;
	color: #FFF;
	font-size: 20px;
	padding: 15px;
	border-radius: 5px 5px 0 0;
	margin-bottom: 0;
}

.single-tribe_events .tribe-events-event-meta dl {
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  font-size: 16px;
}

.single-tribe_events .tribe-events-event-meta dl dt,
.single-tribe_events .tribe-events-event-meta dl dd {
  flex: 0 0 50%;
  padding-right: 5px;
}

.single-tribe_events #tribe-events-content .tribe-events-event-meta dd {
  padding-right: 5px;
}

.tribe_events-template-default .tribe-events-schedule {
  display: flex;
  margin: 60px 0 0;
}

.tribe_events-template-default .tribe-events-cost {
  margin-left: auto;
  background: transparent;
}

body.tribe_events-template-default #main h2.tribe-events-single-section-title,
body.tribe_events-template-default #main h2.tribe-events-tickets-title {
  font-family: 'Source Sans Pro', sans-serif;
  color: #fff;
  display: block;
  text-transform: none;
  font-weight: 600;
  font-size: 25px;
  padding: 10px 15px 10px;
  background: #ee2a58;
  margin-bottom: 15px;
  position: relative;
  height: 50px;
  margin-bottom: 0;
  border-radius: 5px 5px 0 0 ;
}

.tribe-events-meta-group-details dl,
.tribe-events-meta-group-venue dl{
	background: #EEE;
	border-radius: 0 0 5px 5px;	
}

.single-tribe_events .tribe-events-single-event-title,
.single-tribe_events .tribe-events-schedule{
	display: none;
}

body.tribe_events-template-default
  #main
  h2.tribe-events-single-section-title:after,
body.tribe_events-template-default #main h2.tribe-events-tickets-title:after {
  background: transparent;
}

@media all and (min-widht: 768px) {
  .tribe-events-single-section .tribe-events-meta-group {
    flex: 0 0 50%;
    margin-bottom: 0;
  }
}

/* WC
------------------------------------------------------------------------------------------------- */

td.product-thumbnail,
th.product-thumbnail {
  display: none;
}

table.shop_table {
  background: #fff;
}

.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-2 {
  width: 100%;
  float: none;
  margin-bottom: 10px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  border-radius: 3px;
  padding: 7px;
  border: 1px solid #ccc;
}

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
  background: #ebeff0;
}

/* Listings
==============================================================*/

.staff_member figure {
  position: relative;
}

.staff_member figure img {
  position: absolute;
  width: 33%;
  height: auto;
  right: 0;
  top: -80px;
  border-radius: 10px;
  -webkit-transition: opacity 0.4s; /* Safari */
  transition: opacity 0.4s;
}
.staff_member:hover img.baby_img {
  opacity: 0;
}

.wysija-input,
.mc4wp-form-fields input[type='text'],
.mc4wp-form-fields input[type='email'] {
  width: 95%;
  padding: 7px;
  border: 1px #ccc solid;
}

.wysija-submit,
.mc4wp-form-fields input[type='submit'] {
  background: #e41b51;
  width: 100%;
  padding: 10px;
  font-size: 22px;
  color: #fff;
  text-transform: uppercase;
  font-family: myriad-pro, sans-serif;
  border: none;
  border-radius: 10px;
}

p.wysija-paragraph {
  margin: 0.5em 0 0.5em;
}

.listing_logo {
  float: right;
  margin-left: 20px;
  /* margin-top: -50px; */
}

.listing_logo img {
  max-width: 225px !important;
  height: auto;
}

.single.listing .entry-meta {
  clear: none;
}

#listing_images {
  clear: both;
  margin-top: 20px;
  /* max-width: 775px; */
}
.owl-prev {
  width: 45%;
  display: inline-block;
  text-align: right;
  padding-right: 5%;
}
.owl-next {
  width: 45%;
  display: inline-block;
  text-align: left;
  padding-left: 5%;
}
/*
.attachment-thumbnail {
  width: 200px;
  transition: padding 300ms ease;
  padding: 10%;
  border-radius: 10px;
}
*/

.sidebar .attachment-thumbnail {
  margin-bottom: 20px;
  object-fit: cover;
  padding: 0;
  width: 100%;
}

.attachment-thumbnail.is-selected {
  transition: padding 300ms ease;
  top: 0;
  padding: 0;
}

.flickity-viewport {
  height: 300px !important;
}

/*
@media all and (min-width: 1400px) {
  .flickity-prev-next-button.next {
    right: 29% !important;
  }

  .flickity-prev-next-button.previous {
    left: 29% !important;
  }
}
*/

/* Featured Article---- */

.featured_article{

}


.featured_article{
	margin-bottom: 50px;
}


.featured_article article{
	display: grid;
	grid-template-columns: 200px auto;
}

.featured_article article header{
	padding-left: 20px;
}


/* SCROLL-TO ============================================================== */

.scrollto {
  margin-bottom: 30px;
}

.scrollto-title {
  text-transform: uppercase;
  color: #26bdc2;
  font-size: 27px;
}

.scrollto-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

.scrollto-list li {
  margin-right: 15px;
  margin-bottom: 15px;
  flex: 0 0 calc(100% - 15px);
  cursor: pointer;
}

@media all and (min-width: 768px) {
	.scrollto-list li {
	  flex: 0 0 calc(50% - 15px);
	}
}

.scrollto-list li i {
  font-size: 22px;
  color: #26bdc2;
  margin-right: 5px;
  vertical-align: bottom;
}

h2[class^='scrollto_'] {
  text-transform: uppercase;
  color: #26bdc2;
  padding-top: 20px;
  font-size: 24px;
}

strong {
  /* color: #ee2a58; */
  color: #666;
}

.category-archive-meta {
  border-bottom: 1px solid #e2e3e4;
  margin-bottom: 30px;
}

/* Content--------------------------------------------------------------*/

.sidebar-post {
  /* border: 2px solid #e2e3e4; */
  /* padding: 8px 10px; */
  margin-bottom: 20px;
}

.sidebar .widget h3 {
  text-transform: uppercase;
  color: #ee2a58;
  font-size: 24px;
  margin-top: 0;
}

.sidebar-post h2 {
  text-transform: uppercase;
  color: #fff;
  font-size: 27px;
  margin: 0;
}

.sidebar-post p {
  margin: 3px 0;
  color: #fff;
}

.sidebar-post img {
  max-width: 100%;
  width: 100%;
  max-height: 170px;
  object-fit: cover;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.sidebar-post div {
  background: #ee2a58;
  padding: 5px 10px;
  /* margin-top: 10px; */
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

/* BAPS ============================================================== */

body.baps header.main {
  background: #26bdc2;
}

body.baps:not(.transition-event) .maincolumn {
  flex: 0 0 100%;
  width: 100%;
}

body.page-id-47259 .maincolumn {
	display: block;
	width: 100%;
	flex: 0 0 100%;
}

body.baps.page-child .maincolumn,
body.baps.single-tribe_events .maincolumn {
  width: 100%;
}

body.baps .inner {
  margin: 10px auto;
  padding: 0 10px;
  max-width: 1400px;
}

body.baps .backtomfon {
  font-size: 0.8em;
  padding: 0;
}

.backtomfon a{
	color: #666;
}


body.baps nav#access{
	z-index: 0;
}

body.baps nav#access ul li {
  position: relative;
  padding: 4px 5px;
  margin: 0 15px;
}

body.baps .tribe-events-back{ display: none; }

.tribe-common .tribe-common-c-btn:focus, .tribe-common .tribe-common-c-btn:hover, .tribe-common a.tribe-common-c-btn:focus, .tribe-common a.tribe-common-c-btn:hover,
.tribe-common .tribe-common-c-btn, .tribe-common a.tribe-common-c-btn{
	color: #FFF!important;
	background: #26bdc2!important;
}

.tribe-common button{
	border: none;
}

.tribe-dialog__close-button:before{
	content: "X";
	font-weight: bold;
}

.tribe-tickets__item__extra__available{
	display: none;
}

body.baps nav#access ul li a {
  font-family: myriad-pro, sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #fff;
  text-transform: uppercase;
}

body.baps nav#access ul li:hover,
body.baps nav#access ul li.current-menu-ancestor,
body.baps nav#access ul li.current-menu-item {
  border-left: 1px transparent solid;
}

body.baps nav#access ul li:hover,
body.baps nav#access ul li.current-menu-item a {
  font-weight: 700;
}

body.baps nav#access ul.menu > li:after {
  position: absolute;
  content: '';
  background: #fff;
  width: 100%;
  height: 3px;
  bottom: 0;
  left: 0;
  opacity: 0;
  transition: opacity 300ms ease;
}

body.baps nav#access ul.menu > li:after {
  position: absolute;
  content: '';
  background: #fff;
  width: 100%;
  height: 3px;
  bottom: 0;
  left: 0;
  opacity: 0;
  transition: opacity 300ms ease;
}

body.baps .blocks-gallery-grid img{
	border-radius: 10px;
}

body.baps nav#access ul.menu > li:hover:after,
body.baps nav#access ul.menu > li.current-menu-item:after,
body.baps nav#access ul.menu > li.current-menu-parent a:after {
  position: absolute;
  content: '';
  background: #fff;
  width: 100%;
  height: 3px;
  bottom: 0;
  left: 0;
  opacity: 1;
}

body.baps nav#access ul.menu > li .sub-menu .current-menu-item:after,
body.baps nav#access ul.menu > li.current-menu-parent .sub-menu a:after {
  background: transparent;
}

body.baps nav#access ul {
  text-align: right;
}


body.baps #main *:not(.colour-block) a{
	color: #26bdc2;
}


body.baps header.main #logo_baps a {
  width: 120px;
  height: 120px;
  display: block;
  background: transparent url(../img/baps_logo.png) no-repeat top left;
  /* background: transparent url(https://www.myfamilyourneeds.co.uk/wp-content/uploads/2021/06/BAPS-logo-PRIDE_Lrge.png) no-repeat top left; */
  text-indent: -30000px;
  outline: none;
  background-size: 100%;
}

body.baps header .header-logos {
  margin-left: auto;
  text-align: right;
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 65px;
  right: 30px;
}

body.baps header .header-logos img {
  max-width: 100px !important;
  max-height: 60px;
  object-fit: contain;
  vertical-align: baseline;
  margin-bottom: 10px;
}

body.baps header .header-logos p {
  margin: 0;
  color: #fff;
  font-size: 14px;
  text-align: right;
  margin-right: 20%;
}

body.baps header .inner {
  padding: 0 10px 0px;
}

body.baps .nav-wrapper {
  display: flex;
  flex-direction: column;
  /* align-items: flex-end; */
  width: 100%;
}

body.baps .social-icons a,
body.baps .accessible-area a {
  background: #1bb8c0;
}

body.baps .social-icons a i,
body.baps .accessible-area a i {
  color: #fff;
}

body.baps .accessible-area a:first-child {
  background: #81b446;
}

body.baps .accessible-area a:first-child i {
  color: #000;
}

body.baps .footer-widgets .social-icons a {
  background: #fff;
}

body.baps .footer-widgets .social-icons a i {
  color: #444;
}

#custom-twitter-feeds-widget-2 {
  margin-top: 20px;
}

nav#access ul#menu-baps-navigation li {
  border: none;
  padding: 4px 2em;
}

nav#access ul#menu-baps-navigation li:hover {
  border: none;
}

nav#access ul#menu-baps-navigation li a {
  text-transform: none;
  position: relative;
  color: #fff;
}

nav#access ul#menu-baps-navigation li a:hover {
  font-weight: 700;
}

nav#access ul#menu-baps-navigation a:hover:after {
  position: absolute;
  width: 100%;
  bottom: -5px;
  left: 0;
  background: #fff;
  content: '';
  height: 1px;
  opacity: 1;
  transition: all 300ms ease;
}

nav#access ul#menu-baps-navigation a:after {
  position: absolute;
  bottom: 0;
  content: '';
  opacity: 0;
  transition: all 300ms ease;
}

.baps-book-tickets {
  display: none;
}

body.baps .baps-book-tickets {
  display: block;
  background: #1bb8c0;
  padding: 9px 10px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 20px;
  border-radius: 4px;
  order: 3;
  margin-top: 15px;
}

body.baps h4 {
  font-weight: 300;
}

body.baps h4 strong {
  color: #666565;
}

body.baps .baps-book-tickets a {
  color: #fff;
}

body.baps #container {
}

body.baps .colour-block {
  margin: 0;
}

body.baps .wp-block-designmonkey-carousel-block {
  /* padding-top: 30px; */
}

body.baps #main .colour-block h2 {
  /* font-size: 30px; */
}

body.baps #main .colour-block.full-block h2 {
  text-transform: none;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  margin-top: 0;
  font-family: 'Source Sans Pro', sans-serif;
}

body.baps #main .colour-block.full-block p {
  color: #fff;
  font-size: 23px;
  font-weight: 700;
}

body.baps #main .colour-block.full-block p span {
  font-weight: 300;
}

body.baps #main .colour-block.full-block {
  min-height: 300px;
}

body.baps #main {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

body.page-id-2850 #main {
	display: block;
}

body.baps .baps-columns .wp-block-designmonkey-carousel-slide-block .wp-block-image{
	background: #30B7C0;
}

body.baps .sidebar .wp-block-image img{
	width: 100%;
}

body.baps #main .wp-block-designmonkey-section-block h3:after,
body.baps #main .wp-block-designmonkey-section-block h3:before {
  border: none;
}

body.baps .newsletter {
  display: none;
}

body.baps #main,
body.baps #main p,
body.baps #main input,
body.baps #main button,
body.baps #main textarea,
body.baps #main select,
body.postid-2747 #main,
body.postid-2747 #main p,
body.postid-2747 #main input,
body.postid-2747 #main button,
body.postid-2747 #main textarea,
body.postid-2747 #main select {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.0em;
  color: #666565;
  line-height: 1.4em;
  
}

body.baps #main h1,
body.postid-2747 #main h1 {
  font-family: 'myriad-pro-condensed', 'sans-serif'
  color: #20bec2;
}
body.postid-2747 #main h1 {
  font-size: 3em;
}
body.baps article.hentry div.entry-content {
  padding-top: 0;
}

body.baps #main h2,
body.postid-2747 #main h2,
body.postid-2747 #main h3 {
  font-family: 'myriad-pro-condensed', 'sans-serif';
  color: #5E6161;
  margin-top: 10px;
  font-size: 56px;
  position: relative;
  margin-bottom: 60px;
  text-transform: uppercase;
}

body.baps #main h2:after {
  content: '';
  background: #26bdc2;
  height: 8px;
  width: 60px;
  position: absolute;
  bottom: -20px;
  left: 0;
}

body.baps #main h3 {
  font-family: 'myriad-pro-condensed', 'sans-serif';
  color: #666565;
  margin-top: 10px;
  font-size: 40px;
  position: relative;
  margin-bottom: 40px;
  text-transform: uppercase;
  margin-top: 20px;
}

body.baps.single-tribe_events #main h3{
	font-size: 34px;
}

body.baps #main h3:after {
  content: '';
  background: #5E6161;
  height: 6px;
  width: 60px;
  position: absolute;
  bottom: -20px;
  left: 0;
  display: none;
}

body.baps #tribe-events-footer{
	display: none;
}

body.postid-2747 #main h3,
.tribe-events-tickets-title {
  /* font-size: 2em !important; */
}

body.baps #main h3 a {
  color: #fff;
}

body.baps #main h3:before {
  /* width: 0;
  height: 0;
  border-style: solid;
  border-width: 60px 10px 0px 0;
  border-color: transparent #20bec2 transparent transparent;
  content: '';
  position: absolute;
  top: 0;
  left: -10px; */
}

body.baps #main h3:after {
  /* width: 0;
  height: 0;
  border-style: solid;
  border-width: 0px 0 60px 5px;
  border-color: transparent transparent transparent #20bec2;
  content: '';
  position: absolute;
  top: 0;
  right: -5px; */
}

/* .bluebox:before {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 60px 10px 0px 0;
	border-color: transparent #20bec2 transparent transparent;
	content: '';
	position: absolute;
	top: 0;
	left: -10px;
}

.bluebox:after {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0px 0 60px 5px;
	border-color: transparent transparent transparent #20bec2;
	content: '';
	position: absolute;
	top: 0;
	right: -5px;
} */

body.baps #main .su-row.skew1 .su-column:nth-of-type(1) h3 {
}

body.baps #main .su-row.skew1 .su-column:nth-of-type(2) h3 {
}

body.baps #main .su-row.skew1 .su-column:nth-of-type(2) h3:before {
  border-width: 0 10px 60px 0;
  border-color: transparent #20bec2 transparent transparent;
}

body.baps #main .su-row.skew1 .su-column:nth-of-type(3) h3 {
}

body.baps #main .su-row.skew1 .su-column:nth-of-type(3) h3:after {
  border-width: 60px 0 0 10px;
  border-color: transparent transparent transparent #20bec2;
  right: -10px;
}

body.baps #main .su-row.skew2 .su-column:nth-of-type(1) h3 {
}

body.baps #main .su-row.skew2 .su-column:nth-of-type(1) h3:before {
  border-width: 0 10px 60px 0;
  border-color: transparent #20bec2 transparent transparent;
}

body.baps #main .su-row.skew2 .su-column:nth-of-type(2) h3 {
}

body.baps #main .su-row.skew2 .su-column:nth-of-type(2) h3:after {
  border-width: 60px 0 0 6px;
  border-color: transparent transparent transparent #20bec2;
  right: -6px;
}

body.baps #main .su-row.skew2 .su-column:nth-of-type(3) h3 {
}

body.baps #main .su-row.skew2 .su-column:nth-of-type(3) h3:before {
  border-width: 0 10px 60px 0;
  border-color: transparent #20bec2 transparent transparent;
}

#page-id-2850 .dm-Carousel_Body .wp-block-image{
	background: #30B7C0;
	border-radius: 10px;
}















body.baps #main h4 {
  font-family: 'Source Sans Pro', sans-serif;
  text-transform: none;
  color: #555654;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.4em;
}

body.baps #main h5 {
  font-family: 'myriad-pro-condensed', 'sans-serif';
  text-transform: uppercase;
  color: #555654;
  font-weight: 500;
  font-size: 34px;
  margin-top: 34px;
  margin-bottom: 24px;
  line-height: 1em;
}

body.baps .page form {
  width: 100%;
  max-width: 100%;
  margin-top: 30px;
}

body.baps #main .vertical-center h4 {
  font-weight: 300;
}

body.baps .page form input {
  padding: 6px 10px;
  color: #555654;
  font-size: 18px;
}

body.baps strong {
  color: #26bdc2;
  font-weight: 600;
  font-size: 1.1em;
}

body.baps .rightcolumn ul.menu li a,
body.events-category-baps .rightcolumn ul.menu li a,
body.postid-2747 .rightcolumn ul.menu li a {
  font-family: myriad-pro, sans-serif;
  font-size: 1.6em;
}

body.baps .wpcf7-form input[type='submit'],
.tribe_events-template-default button.tribe-button {
  width: auto;
  margin: 0;
  font-family: myriad-pro, serif !important;
  font-size: 28px !important;
  font-weight: 800;
  padding: 8px 30px !important;
  color: #fff !important;
  background: #20bec2;
  border-radius: 0;
  border: none;
  text-transform: uppercase;
}

.baps .rightcolumn aside,
.postid-2747 .rightcolumn aside {
  border-radius: 0;
}

.baps .rightcolumn aside.widget_custom-twitter-feeds-widget,
.postid-2747 .rightcolumn aside.widget_custom-twitter-feeds-widget {
  border: 1px #ccc solid;
  background: #fff;
}

.baps #ctf #ctf-more,
.postid-2747 #ctf #ctf-more {
  border-radius: 0;
}

body.events-category-baps #tribe-events {
  width: 96%;
}

body.postid-2747 #main a {
  color: #20bec2;
}

body.postid-2747 .tribe-events-read-more,
body.postid-2747 .add-to-cart .button,
body.postid-2747 .woocommerce #respond input#submit.alt,
body.postid-2747 .woocommerce a.button.alt,
body.postid-2747 .woocommerce button.button.alt,
body.postid-2747 .woocommerce input.button.alt,
body.postid-2747 .tribe-events-back {
  background: #20bec2 !important;
  border-radius: 0 !important;
}

body.postid-2747 .tribe-events-schedule {
  padding: 0;
}

body.postid-2747 .tribe-events-schedule.tribe-clearfix:after {
  clear: none;
}

body.postid-2747 a.tribe-events-gcal {
  color: #fff !important;
}

body.postid-2747 .maincolumn {
  background: #fff;
}
body.postid-2747 dt {
  font-weight: normal !important;
}

.events-archive .entry-content,
.events-archive .entry-header {
  width: 94%;
}

body.baps #main .sue-panel p {
  color: inherit;
}

body.baps .baps-columns {
  margin-top: 20px;
}

body.baps .baps-columns .wp-block-image {
  margin-bottom: 0;
  border-radius: 15px;
}

body.baps .baps-columns .wp-block-image img {
  border-radius: 15px;
}

body.baps .baps-columns .wp-block-column {
  margin: 10px 0;
}

body.baps .baps-columns img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  max-height: 220px;
}

body.baps .dm-Carousel_Slides {
  margin: 0;
  align-items: center;
  text-align: center;
}

body.baps .dm-Carousel_Slides img {
  object-fit: contain;
}

body.baps .glide__bullets,
body.baps .glide__arrows {
  display: none;
}

body.baps #access .menu-baps-navigation-container {
  display: none;
}

body.baps #mobilemenu {
  color: #fff;
  margin-right: 120px;
}

body.baps.transition-event #mobilemenu {
  color: #632f88;
  margin-right: 0;
}

body.baps .accessible-area {
  order: 1;
}

body.baps .before-content-widget .textwidget.custom-html-widget {
  justify-content: center;
}

.tribe-block__tickets__buy{
	background: #1bb8c0!important;
	padding: 9px 24px;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 20px;
	border-radius: 4px;
	color: #FFF!important;
	
}

body.baps .tribe-events-schedule h2.tribe-events-schedule__datetime{
	padding: 0;
	margin: -20px 0 0!important;
}

body.baps .tribe-events-schedule h2.tribe-events-schedule__datetime:after{
	display: none;
}



@media all and (min-width: 480px) {
  body.baps .baps-columns .wp-block-column {
    flex: 0 0 calc(50% - 20px);
    margin: 20px 10px;
  }

  body.baps .social-icons {
    flex: 1 0 35%;
  }

  body.baps .accessible-area {
    flex: 0 0 25%;
    order: 3;
  }
}

@media all and (min-width: 600px) {
  body.baps header .header-logos {
    position: static;
    display: block;
  }

  body.baps header .header-logos img {
    margin-bottom: 0;
  }
}

@media all and (min-width: 768px) {


  body.baps #access .menu-baps-navigation-container {
    display: block;
  }

  body.baps header.main #logo_baps a {
    width: 220px;
    height: 200px;
  }

  body.baps header .header-logos img {
    max-width: 150px !important;
    max-height: 90px;
  }

  body.baps header .header-logos {
    margin: 30px 20px 0 0;
  }

  body.baps .baps-book-tickets {
    padding: 9px 30px;

    order: 1;
    margin-top: 0;
  }

  body.baps .accessible-area {
    flex: 0 0 8%;
    order: 2;
  }
}

@media all and (min-width: 782px) {
  body.baps .baps-columns {
    flex-wrap: wrap;
  }
}

@media all and (min-width: 992px) {
  body.baps .baps-columns .wp-block-column {
    margin: 0 10px;
    flex: 0 0 calc(25% - 15px);
  }

  body.baps .baps-columns .wp-block-column:first-child {
    margin-left: 0;
  }

  body.baps .baps-columns .wp-block-column:last-child {
    margin-right: 0;
  }

  body.baps .baps-columns img {
    width: auto;
    height: 100% !important;
  }

  
}

/* Footer
------------------------------------------------------------------------------------------------- */

#footer {
  border-top: 2px #dcdcdc solid;
  /* border-bottom: 2px #dcdcdc solid; */
  padding: 0;
  clear: both;
  position: relative;
  /* margin-bottom: 10px; */
  z-index: 10;
  overflow: hidden;
}

#copyright {
  text-align: center;
  padding: 10px;
  color: #666;
  font-size: 14px;
  margin: 0;
}

#copyright,
#copyright a {
  color: #fff !important;
}

#fbuilder .fform h1 {
  display: none;
}

/* Helper Styles  */

.clearfix:after {
  content: '.';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.highlight {
  font-weight: bold;
  color: #c90033;
}

.hide {
  display: none;
}

.clear {
  clear: both;
}

.clearleft {
  clear: left;
}

.bold {
  font-weight: bold;
}

em {
  font-style: italic;
}

.webdesign {
  width: 160px;
  height: 30px;
  display: block;
  margin: 0 20px 10px;
}

.webdesign a {
  background: url('../img/cambridge_web_design.png') no-repeat scroll 0 0
    transparent;
  /* width: 200px; */
  width: 160px;
  height: 45px;
  display: block;
  /* float: left; */
  text-indent: -30000px;
  background-size: cover;
}

.sue-content-slider {
  max-width: 500px;
}

@media all and (min-width: 768px) {
  #copyright {
    text-align: right;
    padding: 10px;
    color: #666;
    font-size: 14px;
    float: left;
    margin: 0;
    margin-left: 38%;
    margin-top: -50px;
  }

  .webdesign {
    float: right;
    margin-top: -50px;
  }
}
/* Responsive
------------------------------------------------------------------------------------------------ */

@media handheld, only screen and (max-width: 1120px) {
  nav#access ul li {
    padding: 4px 10px;
  }
  nav#access ul li a {
    font-size: 15px;
  }
  header.main p {
    font-size: 16px;
    margin-top: 25px;
  }
  #membersarea {
    margin-top: 15px;
  }
  p {
    margin: 0.5em 0 1em;
  }
}

@media handheld, only screen and (max-width: 960px) {
  .grid-sizer {
    width: 23.7%;
  }
  .item {
    width: 49.3%;
    position: relative;
  }
  .item.image img {
    width: 100%;
    max-width: 1000px;
  }
  .item.half {
    width: 100%;
  }
  .item.half.thin {
    width: 50%;
  }
  .item.half div.entry-content {
    height: auto;
    position: relative;
  }
  .item.half img.filler {
    display: none;
  }
  .footercol {
    width: 44.9%;
  }
  .footercol3 {
    clear: both;
    margin-top: 75px;
  }
  .footercol4 {
    margin-top: 75px;
  }
  header.main p {
    display: none;
  }
}

@media handheld, only screen and (max-width: 870px) {
  #article_columns {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }
  #access .right {
    width: 150px;
  }
  #access .right input {
    width: 90%;
    float: right;
  }
  .headerbanner {
    float: none;
    text-align: center;
    padding-bottom: 20px;
    clear: both;
    width: 100%;
  }
  .headerbanner .aas_whole_wrapper {
    float: none;
    margin: 0 auto;
    width: 100%;
  }
  .headerbanner .aas_whole_wrapper:first-child {
    display: none;
  }
  .headerbanner .aas_whole_wrapper:last-child {
    display: block;
  }
  header.main #logo {
    width: 50%;
    text-align: left;
    height: 70px;
    margin-top: 0;
  }
  header.main #logo a {
    display: inline-block;
    height: 70px;
  }
}

@media handheld, only screen and (max-width: 800px) {
  
  #access .right {
    display: none;
  }
  .subscribe .su-button-style-flat span {
    line-height: 30px !important;
  }
}

@media handheld, only screen and (max-width: 700px) {
  
  .rightcolumn {
    border-left: 0;
    padding-left: 0;
  }
  .rightcolumn .blue h3 {
    text-align: left;
  }
  .rightcolumn .widget_sp_image {
    width: 33.333%;
    display: inline-block;
  }
  #breadcrumb {
    width: 96%;
    padding: 5px 2%;
  }
  #membersarea {
    display: none;
  }
  #membersareamobile {
    display: block;
    float: right;
    color: #fff;
    padding: 10px;
  }
  #membersareamobile a {
    color: #fff;
  }
  #article_columns {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
  }
  .item.image:not(.advert) {
    display: none;
  }
}

@media handheld, only screen and (max-width: 600px) {
  .item {
    width: 100%;
    height: auto !important;
    min-height: 200px;
  }
  .item.half {
    width: 100%;
  }
  .item.half.thin {
    width: 100%;
  }
  .item div.entry-content {
    width: 100%;
    height: auto;
    position: relative;
  }
  .item img.filler {
    display: none;
  }
  #footer-contacts p {
    line-height: 40px;
  }
  #searchform input {
    width: 100px;
  }
  #mobilemenu {
    display: block;
    color: #ef3a64;
    float: right;
    padding: 10px;
    font-size: 30px;
  }
  nav#access{
  	display: none;
  }
  #access .menu-main-menu-container {
    display: none;
  }
  article.hentry div.entry-content {
    padding: 0 10px 20px;
  }
  .headerbanner{
  	padding-bottom: 0;
  }
  .newsletter{ display: none; }
}

@media handheld, only screen and (max-width: 480px) {
  .footercol {
    width: 94.9%;
    clear: both;
    margin-top: 75px;
    float: none;
  }
  .footercol1 {
    margin-top: 15px;
  }
  .subpages li {
    width: 96%;
  }
  .subpages li img {
    width: 100%;
    height: auto;
  }
  #article_columns {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }
  .inner {
    width: 100%;
  }
  header.main #logo {
    
  }
  /* .maincolumn {
    width: 98%;
    display: block;
    float: none;
    margin-left: 1%;
  } */
}

#article_columns .entry-image {
  text-align: center;
}



.subcategory_menu:empty{
	display: none;
}


@media all and (min-width: 600px) {
  .sidebar form {
    width: 50%;
    margin: 0 auto;
  }
}

@media all and (min-width: 768px) {

  #content{
	display: grid;
	grid-template-columns: repeat(12,1fr);
	grid-gap: 20px;
  }
  
  #main:not(.maincolumn),
  .subcategory_menu{
  	grid-column: 1/span 12;
  }
  
  .woocommerce #main:not(.maincolumn){
  	grid-column: 1/span 9;
  }

  .colour-block.heading-block, #content > .clear{
	grid-column: 1/span 12;
  }

  .sidebar form {
    width: 100%;
  }

  .hassidebar #main {
    grid-column: 1/span 9;
  }

  .rightcolumn {
    grid-column: 10/span 3;
	  max-width:100% !important;
  }
  
	.rightcolumn .widget .wp-block-eedee-block-gutenslider.content-change {
		height: auto !important;
	}
}

#footer {
  background: #444;
}

#footer .footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-widgets {
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 1400px;
  padding-top: 20px;
}

.footer-widgets .widget-title {
  text-transform: uppercase;
  font-weight: 700;
  display: block;
}

.footer-widgets aside {
  color: #fff;
  margin: 10px 0;
  padding: 0 20px;
  flex: 0 0 100%;
}

.footer-widgets aside:last-child {
  border: none;
  flex: 0 0 100%;
}

.footer-widgets aside:last-child ul {
  flex: 0 0 44%;
  display: flex;
  flex-wrap: wrap;
}

.footer-widgets aside:last-child .social-icons {
  flex: 0 0 100%;
  text-align: center;
  margin-bottom: 15px;
}

.footer-widgets aside:nth-child(3) ul a {
  font-size: 19px;
}

.footer-widgets p {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

.footer-widgets a {
  color: #fff;
}

.footer-widgets ul {
  list-style: none;
  padding: 0;
}

.footer-widgets ul li {
  padding: 0;
}

.footer-widgets .social-icons a {
  background: #fff;
}

.footer-widgets .social-icons i {
  color: #444;
}

/* .webdesign {
  float: right;
  margin-top: -50px;
} */

@media all and (min-width: 768px) {
  .footer-widgets aside {
    flex: 0 0 50%;
    border-right: 1px solid #fff;
  }

  .footer-widgets aside:nth-child(2) {
    border-right: none;
  }

  .footer-widgets aside:nth-child(3) {
    flex: 0 0 75%;
    border: none;
  }

  .footer-widgets aside:nth-child(3) ul {
    flex: 0 0 75%;
    display: flex;
    margin: 0;
  }

  .footer-widgets aside:nth-child(3) ul li a {
    border-right: 1px solid;
    padding: 0 10px;
  }

  .footer-widgets aside:nth-child(3) ul li:last-child a {
    border-right: none;
  }

  .footer-widgets aside:last-child {
    flex: 0 0 25%;
    display: block;
    padding: 0 10px;
    margin-bottom: 60px;
  }

  .footer-widgets aside:last-child .social-icons {
    text-align: right;
    margin-bottom: 0px;
  }

  .footer-widgets {
    padding: 10px;
  }
}

@media all and (min-width: 1024px) {
  .footer-widgets aside {
    flex: 0 0 18%;
  }

  .footer-widgets aside:nth-child(2) {
    border-right: 1px solid #fff;
  }

  .footer-widgets aside:nth-child(3) {
    flex: 0 0 46%;
    border: none;
  }

  .footer-widgets aside:nth-child(3) ul {
    display: flex;
    flex-direction: column;
    margin: 0;
  }

  .footer-widgets aside:nth-child(3) ul li a {
    border-right: none;
    padding: 0 10px;
  }

  .footer-widgets aside:nth-child(3) ul li:last-child a {
    border-right: none;
  }

  .footer-widgets aside:last-child {
    flex: 0 0 18%;
    margin-bottom: 0;
  }
}

@media all and (min-width: 1200px) {
  .footer-widgets aside:nth-child(3) ul {
    flex-direction: row;
  }

  .footer-widgets aside:nth-child(3) ul li a {
    border-right: solid 1px;
  }
}

/* .support-section {
  text-transform: uppercase;
  font-size: 22px;
}

.support-section p {
  margin: 0;
} */
/* .support-section .wp-block-column {
  padding: 50px;
  text-transform: uppercase;
  font-size: 22px;
  background: #29bdc2;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
} */

/*  */
/* Temp */
.test-ad {
  display: none;
}

@media all and (min-width: 768px) {
  .test-ad {
    display: block;
    width: 32vh;
    background: #ccc;
    height: 70px;
    padding: 25px;
    text-align: center;
  }
}

.menu-new-menu-container.mm-panel.mm-opened.mm-current {
  display: block;
}

.vertical-center {
  align-items: center;
  display: flex;
}

/* Search */

.search-results #main h3.news-title {
  text-transform: uppercase;
  font-family: myriad-pro-condensed, sans-serif;
  font-size: 1.6em;
  line-height: 1.2em;
}

.search-results #main h3.news-title a {
  color: #ee2a58 !important;
  font-weight: 600;
}

/* Transition event ============================================================== */

/* Home */
body.baps.transition-event #main strong,
body.baps.transition-event #main a,
body.baps.transition-event #main p,
body.baps.transition-event #main h2,
body.baps.transition-event #main h3,
body.baps.transition-event #main h4 {
  font-family: 'Orkney Light';
}

body.baps.transition-event #content{
	padding: 0;
	margin: 0;
}

body.baps.transition-event .colour-block__text{
	padding: 0 30px 0!important;
}

body.baps.transition-event .colour-block__text h2{
	font-size: 0.8em !important;
	padding-bottom: 4px !important;
}

body.baps.transition-event .colour-block-overlay p{
	color: #FFF!important;
	text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
	font-size: 0.9em!important;
}

body.baps.transition-event #main strong {
  font-family: 'Orkney bold';
  font-size: 17px;
}

body.baps.transition-event #main a {
  color: #632f88;
}

body.baps.transition-event #main a.wp-block-button__link {
  text-transform: uppercase;
}

body.baps.transition-event header.main {
  background: #fff;
}

body.baps.transition-event header.main #logo_baps{
	margin: 0;
}

body.baps.transition-event header.main #logo_baps a {
  background: transparent url(../img/tte-hub.png) no-repeat top left;
  /* background: transparent url(https://www.myfamilyourneeds.co.uk/wp-content/uploads/2021/06/pride-tte-e1622550635465.png) no-repeat top left; */
  background-size: contain;
  height: 130px;
  width: 260px;
}

.transition-background-section {
  position: relative;
  padding: 0 10px;
}

.transition-background-section{
	background: url(../img/tte-homepage-bg-2020.png)
	no-repeat top right;
	background-size: 100%;
	background-position: bottom right;
}


body.baps.transition-event header .inner {
  align-items: flex-end;
}

body.transition-event nav#access {
  border-top: none;
  border-bottom: none;
}

body.baps.transition-event nav#access ul li a {
  color: #1f3e82;
  font-size: 1em;
  font-family: 'Orkney Light';
  font-weight: 400;
  text-transform: unset;
}

body.baps.transition-event nav#access ul li {
  border-color: #CCC;
  border-width: 2px;
  padding: 0 10px;
  margin: 0;
  line-height: 1em;
}

body.baps.transition-event nav#access ul li:last-child {
	padding-right: 0;
}

body.baps.transition-event nav#access ul li:first-child {
  border: none;
}

body.baps.transition-event nav#access ul li a {
  color: #666;
}

body.baps.transition-event nav#access ul li:hover a,
body.baps.transition-event nav#access ul li.current-menu-item a {
  color: #BC206A;
}

body.baps.transition-event .before-content-widget {
  background: #76C8D8;
  margin-bottom: 0;
}

@media all and (max-width: 768px) {
	body.baps.transition-event .before-content-widget {
	  padding-bottom: 10px;
	}
}

body.baps.transition-event .colour-block.full-block {
  border-top-right-radius: 0;
}

body.baps.transition-event .header-logos {
  display: none;
}

body.baps.transition-event
  .before-content-widget
  .textwidget.custom-html-widget {
  justify-content: center;
  padding: 7px 0;
}

body.baps.transition-event strong {
  color: #632f88;
}

.transition-background-section .section-bg:before {
  background: linear-gradient(
    166deg,
    rgba(99, 47, 136, 0.95) 12%,
    rgba(99, 47, 136, 0.1) 100%
  );
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
}

body.baps.transition-event #main h2 {
	background: transparent;
	height: auto;
	padding: 0;
	margin-top: 20px;
	margin-bottom: 30px;
	font-family: 'Orkney Bold';
	font-size: 30px;
}


body.baps.transition-event #main .colour-block h2 {
  color: #fff;
  font-family: "Orkney Light";
  font-size: 22px;
  padding-bottom: 0;
  margin-bottom: -4px;
}

body.baps.transition-event #main h2:after {
  background: transparent;
}

body.baps.transition-event #main h3 {
  color: #666;
  background: transparent;
  height: auto;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 30px;
  font-family: 'Orkney Bold';
  font-size: 20px;
}

.transtion-event-columns .wp-block-column {
  border-radius: 15px;
  padding: 10px;
}

.transtion-event-columns .wp-block-column:first-child {
  background: #f39322;
  border: 10px solid #fff;
}

/* .transtion-event-columns .wp-block-column:last-child {
  background: #76c8d8;
} */

/* .transtion-event-columns .wp-block-column .wp-block-image {
  background: url(/wp-content/uploads/2019/10/triangles_background_op.png)
    no-repeat top left;
  border-radius: 50%;
} */

.transtion-event-columns .wp-block-column img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
}

.transition-event-home-description {
  align-self: flex-end;
}

body.baps.transition-event #main .transition-event-home-description h3 {
  color: #fff;
  font-size: 26px;
  font-weight: 300;
}

body.baps.transition-event #main .transition-event-home-description p {
  color: #fff;
}

body.baps.transition-event #main .transtion-event-columns .wp-block-column h2 {
  margin-bottom: 0;
}

body.baps.transition-event #main .transtion-event-columns .wp-block-column p,
body.baps.transition-event
  #main
  .transtion-event-columns
  .wp-block-column
  strong {
  color: #fff;
}

body.baps.transition-event
  #main
  .transition-background-section
  > .designmonkey-inner
  h2 {
  font-size: 20px;
  font-weight: 300;
  margin-top: 20px;
  max-width: 100%;
}

body.baps.transition-event
  #main
  .transition-background-section
  .designmonkey-inner
  .wp-block-designmonkey-section-block
  h2 {
  text-transform: uppercase;
  margin-bottom: 22px;
  font-family: 'Orkney Bold';
}

body.baps.transition-event
  #main
  .transition-background-section
  .designmonkey-inner
  .wp-block-designmonkey-section-block
  .transtion-event-columns
  h2 {
  font-family: 'Orkney Light';
  max-width: 100%;
}

body.baps.transition-event
  #main
  .transition-background-section
  .designmonkey-inner
  .wp-block-designmonkey-section-block
  .transtion-event-columns
  strong {
  font-family: 'Orkney Bold';
}

.transition-organised .designmonkey-inner {
  display: flex;
  align-items: flex-end;
}

body.baps.transition-event #main .transition-organised .designmonkey-inner p {
  margin-right: 20px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 15px;
  color: #fff;
  margin-bottom: 0;
}

.transition-organised .designmonkey-inner .wp-block-image {
  margin-bottom: 0;
}

.transition-organised .designmonkey-inner img {
  width: 130px;
}

body.baps.transition-event article.hentry div.entry-content {
  padding: 0;
  overflow: hidden;
}

/* Child pages */
body.baps.transition-event.page-child .social-icons a,
body.baps.transition-event.page-child .accessible-area a {
  background: #472b72;
}

body.baps.transition-event.page-child .footer-widgets .social-icons a,
body.baps.transition-event.page-child .footer-widgets .accessible-area a {
  background: #fff;
}

body.baps.transition-event.page-child .accessible-area a:first-child {
  background: #81b446;
}

body.baps.transition-event.page-child h2,
body.baps.transition-event.page-child strong {
  font-family: 'Orkney Bold';
  color: #bc206a;
}

body.baps.transition-event.page-child #main h2 {
  font-family: 'Orkney Bold';
  color: #bc206a;
  font-size: 26px;
  margin-bottom: 15px;
}

@media all and (min-width: 1200px) {

  

  body.baps.transition-event #main .transition-event-home-description h3 {
    color: #632f88;
  }

  body.baps.transition-event #main .transition-event-home-description p {
    color: #666;
  }

  body.baps.transition-event
    #main
    .transition-background-section
    > .designmonkey-inner
    h2 {
    max-width: 75%;
  }
}

/* Agenda */
body.baps.transition-event.page-child #main h2.heading-background {
  background: #bc206a;
  color: #fff;
  text-transform: uppercase;
  padding: 11px 10px 5px;
  display: flex;
  align-items: center;
}

body.baps.transition-event.page-child #main h2.heading-background a {
  margin-left: auto;
  color: #fff;
  background: #00afa0;
  font-size: 14px;
  padding: 4px 10px 0;
  margin-top: -5px;
  line-height: 18px;
  clip-path: polygon(5% 0, 95% 0, 100% 100%, 0% 100%);
}

body.baps.transition-event #main .agenda p {
  color: #666;
  margin: 8px 0;
}

body.baps.transition-event #main .agenda strong {
  color: #666;
}

body.baps.transition-event #main .agenda h4 strong,
.agenda .subheading-background {
  background: #00afa0;
  color: #fff;
  clip-path: polygon(5% 0, 95% 0, 100% 100%, 0% 100%);
  padding: 3px 10px;
}

.agenda .subheading-background {
  clip-path: polygon(1.5% 0, 98.5% 0, 100% 100%, 0% 100%);
}

body.baps.transition-event #main .agenda h4.subheading-background {
  color: #fff;
}

body.baps.transition-event #main .agenda h4 {
  color: #bc206a;
  font-family: 'Orkney Bold';
  line-height: 32px;
  margin-top: 20px;
  font-size: 19px;
  margin-bottom: 0;
}

/* Custom lists */
body.baps.transition-event li {
  position: relative;
  list-style: none;
}

body.baps.transition-event .maincolumn li:before {
  background: url(/wp-content/uploads/2019/10/green.png)
    no-repeat;
  background-size: contain;
  bottom: 2px;
  content: '';
  height: 15px;
  left: -25px;
  position: absolute;
  top: 0;
  width: 15px;
  margin-top: 5px;
}

body.baps.transition-event .maincolumn li:nth-child(2):before,
body.baps.transition-event .maincolumn li:nth-child(7):before,
body.baps.transition-event .maincolumn li:nth-child(11):before {
  background: url(/wp-content/uploads/2019/10/blue.png)
    no-repeat;
  background-size: contain;
}

body.baps.transition-event .maincolumn li:nth-child(3):before,
body.baps.transition-event .maincolumn li:nth-child(8):before,
body.baps.transition-event .maincolumn li:nth-child(12):before {
  background: url(/wp-content/uploads/2019/10/purple.png)
    no-repeat;
  background-size: contain;
}

body.baps.transition-event .maincolumn li:nth-child(4):before,
body.baps.transition-event .maincolumn li:nth-child(9):before {
  background: url(/wp-content/uploads/2019/10/orange.png)
    no-repeat;
  background-size: contain;
}

body.baps.transition-event .maincolumn li:nth-child(5):before,
body.baps.transition-event .maincolumn li:nth-child(9):before {
  background: url(/wp-content/uploads/2019/10/green_2.png)
    no-repeat;
  background-size: contain;
}


body.baps.transition-event .maincolumn .dm-Carousel_Slides li:before{
	display: none;
}

body.baps.transition-event .maincolumn .dm-Carousel_Slides .wp-block-image{
	background: #008EA3;
}


/* Transition block */
.transition-block {
  margin-top: 20px;
}

.transition-block .wp-block-column {
  margin-left: 0;
}

.transition-block .wp-block-column:first-child {
  flex: 0 0 35%;
  text-align: center;
  order: 2;
}

.transition-block .wp-block-column:nth-child(2) {
  flex: 0 0 100%;
  order: 1;
}

.transition-block .wp-block-column:last-child {
  flex: 0 0 25%;
  order: 3;
}

.transition-block .wp-block-button {
  padding: 15px 5px;
  text-align: center;
  background: url(/wp-content/uploads/2019/10/triangles_background.png)
    no-repeat center;
  background-size: cover;
  max-width: 200px;
  margin: 0 auto;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);
}

.transition-block .wp-block-button a {
  text-transform: uppercase;
  font-size: 23px;
  font-family: 'Orkney Light';
  font-weight: 700;
  padding: 10px 7px 3px;
}

.transition-block img {
  max-width: 100px;
}

.transition-block .wp-block-column:last-child img {
  max-width: 200px;
}

.transition-block p {
  margin: 0;
  font-size: 18px;
}

.transition-event-sponsors {
  padding-top: 20px;
  border-top: 1px solid #bc206a;
  margin-top: 30px;
}

body.baps.transition-event
  #main
  .transition-event-sponsors
  .wp-block-column:first-child
  p {
  font-size: 16px;
  font-family: 'Orkney Bold';
  margin: 0;
}

body.baps.transition-event
  #main
  .transition-event-sponsors
  .wp-block-column:last-child
  p {
  font-size: 16px;
  margin-bottom: 10px;
}

.transition-event-sponsors .wp-block-column:first-child {
  flex: 0 0 calc(70% - 16px);
}

.transition-event-sponsors .wp-block-column:last-child {
  flex: 0 0 calc(30% - 16px);
}

.transition-event-sponsors .wp-block-column:first-child .wp-block-image {
  display: inline-block;
}

.transition-event-sponsors img {
  max-height: 160px;
}

body.baps.transition-event.page-child .transition-block strong {
  color: #666;
  font-size: 20px;
}

.transition-block h2 {
  font-size: 36px;
  text-transform: capitalize;
}

@media all and (min-width: 600px) {
  .transition-block {
    justify-content: center;
  }

  .transition-block .wp-block-column:first-child {
    flex: 0 0 20%;
    order: 1;
  }

  .transition-block .wp-block-column:nth-child(2) {
    flex: 1 0 60%;
    order: 2;
  }

  .transition-block .wp-block-column:last-child {
    flex: 0 0 25%;
    order: 3;
  }
}

@media all and (min-width: 768px) {
  .transition-block .wp-block-column:first-child {
    flex: 0 0 15%;
  }

  .transition-block .wp-block-column:nth-child(2) {
    flex: 1 0 50%;
  }

  .transition-block .wp-block-column:last-child {
    flex: 0 0 25%;
  }
}

/* Sidebar gallery block */
.event-gallery {
  display: flex;
  flex-direction: column;
}

.event-gallery > * {
  flex: 0 0 100%;
  width: 100%;
}

a.event-gallery {
  position: relative;
}

a.event-gallery:before {
  content: 'Event Gallery ';
  background: #bc206a;
  position: absolute;
  top: 15px;
  left: 15px;
  color: #fff;
  padding: 1px 10px;
  text-transform: uppercase;
  font-size: 14px;
}

.event-gallery .event-images {
  display: flex;
}

.event-gallery .event-images img:nth-child(2) {
  margin: 10px;
}

.event-gallery .event-images img {
  margin: 10px 0;
  width: calc(33% - 5px);
}


#main .sue-panel .sue-panel-content a{
	color: inherit;
	text-decoration: underline;
}

.colour-block.has-image.noadjustments .colour-block__image img{
	top: 0!important;
}

.align-gallery-logos.wp-block-gallery .blocks-gallery-item figure{
	align-items: center!important;
	justify-content: center!important;
	padding: 5px 20px!important;
}

#tte_register .wpcf7-submit{
	background: #285294;
	border-radius: 10px;
	margin: 0 auto -10px;
	font-size: 24px !important;
	display: block;
}

body.transition-event .rightcolumn .colour-block{
	margin: 10px 0;
}

body.transition-event .rightcolumn .colour-block h2{
	color: #FFF!important;
	margin: 10px 0 -10px!important;
}

#before-footer .colour-block h2{
	color: #FFF!important;
	margin: 10px 0 -10px!important;
	font-size: 22px;
	font-family: 'Orkney Light';
}

body.transition-event .colour-block{
	height: 220px!important;
}




#transition_starts h3{
	color: #632f88; 
	font-size: 30px;
	padding: 10px;
	text-align: center;
}

@media all and (min-width: 768px) {

	#transition_starts{
		position: absolute; top: 0; right: 0;
	}

	#transition_starts h3{
		font-size: 40px;
		padding: 20px;
		text-align: right;
	}

}

@media all and (max-width: 768px) {
	.tte-home-content .wp-block-column{
		flex-basis: 100% !important;
	}
	body.transition-event .colour-block{
		margin: 10px 0!important;
	}
}



.wp-block-image img{
	height: auto;
}

.rounded-corners-10{
	border-radius: 10px;
	overflow: hidden;
}

.padding-30{
	padding: 30px;
}

.has-white-color, .has-white-color *{
	color: #FFF!important;
}

.exhibitor-showcase.showcase-sponsor{
	position: relative;
}

.exhibitor-showcase.showcase-sponsor figure:before{
	background: #b10841;
	position: absolute;
	content: "Sponsor";
	color: #FFF;
	padding: 5px 10px;
	z-index: 1000;
	font-size: 0.8em;
}



.wp-block-cover.queen-banner {
    border-radius: 20px;
	min-height: unset;
}

.wp-block-cover.queen-banner:before {
    display: none;
}

.wp-block-cover.queen-banner > div {
    max-width: 1080px;
}

.wp-block-cover.queen-banner .wp-block-columns{
    margin-bottom: 0;
}

.wp-block-cover.queen-banner img {
    max-width: 210px !important;
    margin-left: auto;
	width: 100%;
}

.wp-block-cover.queen-banner .wp-block-column:first-of-type {
    display: flex;
}

.wp-block-cover.queen-banner .wp-block-column:first-of-type figure {
    margin-left: auto;
    margin-bottom: 0;
}

a#search-button {
  display: none;
}
#container.search-open .accessible-area {
  flex: 0 1 4%;
}
#container.search-open #searchform, #container.search-full #searchform {
  margin-top: 0px!important;
}
.social-icons {
  flex: 1 0 26%!important;
}

@media (max-width: 927px) {
  a#search-button {
    display: block;
  }
  #container.search-full #searchform {
    max-height: 0;
    max-width: 0;
    opacity: 0;
  }
  #container.search-open #searchform {
    max-height: 100%!important;
    max-width: 100%!important;
    opacity: 1!important;
  }
  #container.search-open #searchform, #container.search-full #searchform {
    margin-top: 10px!important;
  }
}

#searchform #s {
  border-radius: 7px;
  border: 1px solid gray;
}

/* TOP CONTAINER
------------------------------------------------------------------------------------------------- */

.top-container {
	background: #ee2a58;
	background-size: cover;
	float: left;
	width: 100%;
  grid-column: -1/1;
}

.top-container-blank {
	float: left;
	width: 100%;
	height: 64px;
}

.top-content {
	padding: 1.8em 1em 1.2em;
	position: relative;
	z-index: 20;
	margin: 0 auto;
	border-radius: 5px;
	text-align: center;
}

.single-care-location .top-content {
	padding: 2em 1em 0.3em;
}

.top-content .inner {
	max-width: 100%;
	width: 98%;
	padding: 1em 0 3em;
	margin: 0 auto;
	display: block;
	overflow: visible;
	position: relative;
	z-index: 5;
}

.top-content .inner .su-row {
	margin-bottom: 0;
}

.map-content p {
	color: #fff;
	font-weight: 600;
	margin: 0;
}

.top-container {
	text-align: center;
	overflow: hidden;
}

.top-content h1 {
	font-size: 2em;
	color: #fff;
	margin-top: 0px;
	font-family: 'Open Sans', sans-serif;
}

.top-content h1 strong {
	color: #fff;
}

.top-content h2 {
	font-size: 1.4em;
	color: #fff;
	font-family: 'Open Sans', sans-serif;
}

.top-content h3 {
	font-size: 1.25em;
	color: #fff;
	line-height: 1.5 !important;
	font-family: 'Open Sans', sans-serif;
}

.top-content p {
	color: #fff;
}

.top-content img {
	margin: 0 auto;
	height: auto;
}

/* Does colours for the header links in care information pages */
.top-content>.inner.hasimage>p>a {
	color: #fff;
}

/* Does colours for the header links in useful contacts */
.category-archive-meta>p>a {
	color: #fff;
}

.top-content .topimage {
	z-index: 0;
	position: absolute;
	right: 0;
	top: 0;
	height: 100%;
	width: 50%;
}

.topimage.gradleft>img {
	float: right;
	height: 100%;
	margin-right: -20%;
}

.topimage.gradleftsearch>img {
	float: right;
}

@media all and (min-width: 768px) {
	#header_sidebar_search {
		display: block;
	}

	.top-content {
		text-align: left;
	}

	.top-container {
		text-align: left;
	}

	.top-content h1 {
		font-size: 2.5em;
	}

	.top-content p {
		font-size: 1.05em;
	}

	.top-content .inner.hasimage {
		width: 48%;
		margin-left: 2%;
	}
}

@media all and (max-width: 1284px) {
	.topimage {
		display: none;
	}
}

.single-publication .colour-block {
  display: none;
}
.post-type-archive-publication .colour-block {
  display: none;
}

/* LISTINGS  Publication
------------------------------------------------------------------------------------------------- */

.publication-loop {
	border-top: 5px solid #1b365d;
	background: #fff;
	position: relative;
	width: 100%;
	float: left;
	min-height: 280px;
}

.publication-loop .thumbnail {
	width: 100%;
	position: relative;
	background: #ccc;
	max-height: 200px;
	overflow: hidden;
}

.publication-loop .thumbnail img {
	width: 100%;
}

.publication-loop .entry-header {
	padding: 0 1em 1em 1em;
	position: relative;
  text-align: center;
}

.publication-loop .entry-header h2 {
	font-size: 1em;
	line-height: 1.2em;
}

.publication-loop .entry-header h2 a {
	font-weight: 400;
	color: #1b365d;
}

.publication-loop .entry-header .moretag {
	display: none;
}

.council {
	display: block;
	padding-top: 5px;
	border-top: #eee solid 1px;
	margin-top: 20px;
}

.council_logo {
	/* float: right; */
	width: 100%;
	margin-top: 20px;
	margin-left: 5px;
}

@media screen and (min-width: 768px) and (max-width: 1440px) {

	.council .su-column.su-column-size-1-3,
	.council .su-row .su-column-size-2-3 {
		width: 100%;
		margin: 0;
	}
}


/* Adds a nice box shadow to the publications */
#archive img.publications {
	box-shadow: 5px 4px 6px #d3d3d3 !important;
}

#main-sidebar img.publications,
#undersidebar img.publications {
	box-shadow: 5px 4px 6px #d3d3d3 !important;
}

#main-sidebar .aas_whole_wrapper {
	width: 100% !important;
	height: 100% !important;
}

#main-sidebar .aas_zone {
	width: 100%;
}

#main-sidebar .aas_row {
	display: flex;
	/* 	flex-wrap: wrap; */
	justify-content: flex-start;
	width: 100%;
}

#main-sidebar .aas_row>div {
	margin: 2% 0;
	max-width: unset;
	margin-right: 0%!important;
}
#main-sidebar .aas_row>div:nth-child(2) {
	margin-left: 5%!important;
}

#main-sidebar .aas_row>div a {
	width: 100%;
	width: 100%;
	max-width: 1000px !important;
	max-height: 1000px !important;
}

.single-care-location #main-sidebar .aas_row>div a,
.single-landing-page #main-sidebar .aas_row>div a {
	width: auto;
	max-width: 1000px !important;
	max-height: 1000px !important;
}

#main-sidebar .aas_row>div a img {
	width: 100%;
	height: auto;
	max-width: 1000px;
	max-height: 1000px;
}

@media all and (min-width: 300px) {
	.publication-loop {
		width: 48%;
		margin: 1%;
	}
}

@media all and (min-width: 768px) {
	.publication-loop {
		min-height: 350px;
	}
}

@media all and (min-width: 980px) {
	#browse_landing_pages {
		column-count: 3;
		/* was 2 */
		column-gap: 25px;
		/* was 30px */
	}

	#browse_landing_pages .nowrap {
		display: inline-block;
	}

	.publication-loop {
		width: 23%;
	}

	.publication-loop:nth-child(4n + 1) {
		clear: left;
	}
}

.maincolumn a {
  color: #ee2a58!important;
}