/** custom colours */
/** mencap colours, get rid of colours under custom colours (later) **/
/** end custom colours  **/
.py-3 {
  padding-top: 1.2rem !important;
  padding-bottom: 1.2rem !important;
}

.py-7 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.pb-4 {
  padding-bottom: 1.6rem !important;
}

.pb-6 {
  padding-bottom: 4.5rem !important;
}

.pb-7 {
  padding-bottom: 4.875rem !important;
}

.px-5 {
  padding-left: 3.125rem !important;
  padding-right: 3.125rem !important;
}

.p-5 {
  padding: 3.125rem !important;
}

.p-7 {
  padding: 5rem !important;
}

.mt-7 {
  margin-top: 6rem !important;
}

/**
Now make use of the bootstrap files
 */
* {
  font-family: fs_mencapregular, Arial, sans-serif;
}

a {
  text-decoration: none;
}
a:hover {
  color: unset;
}

.constrained-w {
  width: 100%;
  max-width: 1300px;
}

.w-fit {
  width: -moz-fit-content;
  width: fit-content;
}

.w-sm-50 {
  width: 100%;
  max-width: 50%;
}

.w-md-65 {
  width: 100%;
  max-width: 65%;
}

.shadow-custom {
  box-shadow: -40px 0 90px 0 rgba(0, 0, 0, 0.2);
}

.bg-inherit {
  background-color: inherit !important;
  color: inherit !important;
}

@media screen and (max-width: 1350px) {
  .px-rxl-4 {
    padding: 0 1.5rem !important;
  }
}

.nav-group__name {
  font-size: 1.1rem;
  font-weight: bold;
  color: #ffffff;
}

#block-mencap-account-menu {
  margin: 0;
}

@media (min-width: 768px) {
  .page-node-type-blog .hero .hero__text:before {
    background-color: #4F006F;
  }
}
@media (max-width: 767.98px) {
  .page-node-type-blog .hero .hero__text {
    background-color: #4F006F;
  }
}

body.mencap header.masthead {
  background-color: #970361 !important;
  color: #ffffff !important;
}
body.mencap header.masthead .nav-group__name {
  font-size: 1.1rem;
  font-weight: bold;
  color: #ffffff;
}

.onomasticon img {
  max-width: 100px;
}
.onomasticon:hover {
  text-decoration: underline;
}
.onomasticon button,
.onomasticon > span {
  display: none !important;
  align-items: center !important;
  text-align: start !important;
  gap: 20px !important;
  border: 2px solid #970361 !important;
  border-radius: unset !important;
  background-color: #ffffff !important;
  color: #000000 !important;
  width: 100vw !important;
  max-width: 500px !important;
  margin-left: -6px !important;
  left: unset !important;
  font-size: 1.5rem !important;
}

.onomasticon-extra-element {
  color: #000000;
  background: unset;
  box-shadow: unset;
  border-radius: unset;
  border-bottom-color: unset;
  border: 0;
}
.onomasticon-extra-element:hover {
  color: #000000;
  background: unset;
  box-shadow: unset;
  border-radius: unset;
  border-bottom-color: unset;
}
.onomasticon-extra-element:hover .onomasticon-term-description {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
}
.onomasticon-extra-element:focus,
.onomasticon-extra-element dfn:focus {
  background: unset;
  box-shadow: unset;
  border-radius: unset;
  border-bottom-color: unset;
}
.onomasticon-extra-element:focus .onomasticon-term-description,
.onomasticon-extra-element:focus + .onomasticon-term-description,
.onomasticon-extra-element dfn:focus .onomasticon-term-description,
.onomasticon-extra-element dfn:focus + .onomasticon-term-description {
  max-height: 1000em;
  opacity: 1;
  visibility: visible;
  display: flex !important;
}
@media screen and (max-width: 575px) {
  .onomasticon-extra-element:focus .onomasticon-term-description,
  .onomasticon-extra-element:focus + .onomasticon-term-description,
  .onomasticon-extra-element dfn:focus .onomasticon-term-description,
  .onomasticon-extra-element dfn:focus + .onomasticon-term-description {
    max-height: 50vh;
    opacity: 1;
    overflow-y: scroll;
    visibility: visible;
    flex-wrap: wrap;
    position: fixed;
    transform: translateY(-50%);
    top: 50%;
    padding-top: 10px;
    max-width: unset !important;
    left: 0 !important;
    margin: 0 !important;
    z-index: 9999;
  }
  .onomasticon-extra-element:focus .onomasticon-term-description span,
  .onomasticon-extra-element:focus + .onomasticon-term-description span,
  .onomasticon-extra-element dfn:focus .onomasticon-term-description span,
  .onomasticon-extra-element dfn:focus + .onomasticon-term-description span {
    flex: 1;
  }
  .onomasticon-extra-element:focus .onomasticon-term-description span img,
  .onomasticon-extra-element:focus + .onomasticon-term-description span img,
  .onomasticon-extra-element dfn:focus .onomasticon-term-description span img,
  .onomasticon-extra-element dfn:focus + .onomasticon-term-description span img {
    max-width: 100% !important;
  }
  .onomasticon-extra-element:focus .onomasticon-term-description span:last-child:before,
  .onomasticon-extra-element:focus + .onomasticon-term-description span:last-child:before,
  .onomasticon-extra-element dfn:focus .onomasticon-term-description span:last-child:before,
  .onomasticon-extra-element dfn:focus + .onomasticon-term-description span:last-child:before {
    content: "\f00d";
    font-size: 1.25em;
    position: relative;
    padding-left: 8px;
    font-family: "FontAwesome", "fs_mencapregular", "sans-serif";
    top: 0;
    float: right;
    right: 0;
  }
}

.onomasticon-orientation-below {
  border-radius: unset;
}
.onomasticon-orientation-below:hover {
  border-radius: unset;
}

.onomasticon-extra-element {
  color: inherit !important;
}

.hero__date {
  margin-bottom: 24px;
}

.hero__title {
  margin-bottom: 24px !important;
}

.hero__title {
  font-weight: bold;
}

@media screen and (max-width: 600px) {
  .mencap-hero {
    margin-top: -10px !important;
    padding: 0 !important;
  }
}

.hero__author img, .hero__author--avatar {
  border-radius: 50% !important;
  aspect-ratio: 1;
  width: 100% !important;
  max-width: 45px;
}

@media screen and (max-width: 999px) {
  .views-view-search_solr .listing-display-type-list .index-column__header {
    display: none !important;
  }
}
@media screen and (min-width: 768px) {
  .views-view-search_solr nav.pager {
    margin-top: 30px;
  }
}
.views-view-search_solr nav.pager li.pager__item {
  color: #970361;
}
.views-view-search_solr nav.pager li.pager__item:hover {
  border-color: #970361;
}
.views-view-search_solr nav.pager li.pager__item a {
  color: #970361;
}
.views-view-search_solr nav.pager li.pager__item.is-active {
  color: #4F006F;
  border-color: #4F006F;
}
.views-view-search_solr nav.pager li.pager__item.is-active a {
  color: #4F006F;
}
.views-view-search_solr nav.pager li.pager__item.is-active:hover {
  border-color: #4F006F;
}

#search-solr--upper-section .nav-bar__link, #search-solr--upper-section .nav-bar__link--current {
  height: auto;
  padding-bottom: 5px;
  padding-top: 30px;
}
@media screen and (min-width: 768px) {
  #search-solr--upper-section .nav-bar__link, #search-solr--upper-section .nav-bar__link--current {
    padding: 30px 15px 5px;
  }
}

.mobileHeroImage {
  display: none !important;
}

@media (max-width: 767.98px) {
  .hero img:not(.mobileHeroImage) {
    display: none !important;
  }
  .mobileHeroImage {
    display: block !important;
  }
}
@media screen and (max-width: 1024px) {
  .w-sm-50 {
    max-width: 100%;
  }
  .w-md-65 {
    max-width: 100%;
  }
}
