:root {
  --theme-dark: #043d32; /* Dark green */
  --theme-medium: #6b7d31; /* Medium green */
  --theme-light: #e6edce; /* Light green */
  --theme-lightest: #e6edce; /*tint of green */
  --theme-contrast: #fcc84e; /* gold */
  --theme-contrast-tint: #f9e3af; /* light gold */
  --dark-grey: #51555B; /* Gunmetal grey */
  --med-dark-grey: #737573;
  --medium-grey: #9c9c9f;
  --light-grey: #d8d8db;
  --lightest-grey: #f9f9f9; /* N/R? */
  --link-blue: #2B66B7;
  --theme-danger: #971105; /*dark red */
}
/* lato-regular - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Lato Regular'),
       url('../fonts/lato-v20-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lato-v20-latin-regular.woff') format('woff'), /* Modern Browsers */
}
/* lato-italic - latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: local('Lato Italic'),
       url('../fonts/lato-v20-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lato-v20-latin-italic.woff') format('woff'), /* Modern Browsers */
}
/* custom font for a few general icons */
@font-face {
  font-family: "general";
  src: url("../fonts/general.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;  
}
html {
  display: block;
}
body {
  font-family: Arial;
  line-height: 1.5;
  font-weight: 300;
  letter-spacing: 0;
}
body{
  font-family: Lato,sans-serif;
  background-color: #fff;
  color: var(--dark-grey);
  line-height: 1.5;
  margin: 0;
  overflow-x:hidden;
  letter-spacing: 0;
  font-weight: 400;
}
body.user-is-tabbing button > a:focus {
  border: none;
}
body.user-is-tabbing .logo a:focus,
body.user-is-tabbing .sidenav-logo a:focus
{
  outline-width: medium;
}
body.user-is-tabbing .menu-a .top-level a:focus,
body.user-is-tabbing .footer-bg a:focus {
  outline-color: #fff;
}
body.user-is-tabbing label.finder {
  color: #fff;
}
body:not(.user-is-tabbing) a:focus,
body:not(.user-is-tabbing) button:focus,
body:not(.user-is-tabbing) input:focus,
body:not(.user-is-tabbing) select:focus,
body:not(.user-is-tabbing) textarea:focus {
  outline: none;
}
/* BASICS up to line 483 */
div,button,li,[class^="col-"] {
  box-sizing: border-box;
  max-width: 100%;
}
p {
  margin-top: 0;
  margin-bottom: 1rem;
}
p.smaller {
  font-size: 0.9em;
}
p:last-child,
p:only-child {
  margin-bottom: 0;
}
.blog,
.max,
.column-1{
  width: 100%;
}
.container-fluid,
.container {
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  padding-right: 0;
  padding-left: 0;
}
.row-fluid,
.row{
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  width: 100%;
  margin: 0;
  flex-wrap: wrap;
}
.container-fluid:empty,
.container:empty,
.row-fluid:empty,
.row:empty{
  display: none;
}
.row > * {
  width: 100%;
  max-width: 100%;
}
.masonry-1,
.cols-1 {
  column-count: 1;
}
.masonry-2,
.cols-2 {
  column-count: 2;
}
.masonry-3,
.cols-3 {
  column-count: 3;
}
.masonry-4,
.cols-4 {
  column-count: 4;
}
.col-12 .com-content-article.item-page > .page-header,
.col-12 .com-content-article.item-page > .com-content-article__body {
  padding: 0;
}
.table {
  width: 100%;
  margin-bottom: 1rem;
  border-spacing: 0;
  border-collapse: collapse;
}
tr {
  padding: 0.25rem 0.25rem 0.5rem;
}
.col,
[class^="col-"] {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 1px;
}
.col-auto {
  flex: 1 0 auto;
  width: auto;
}
.d-none {
display: none;
}
.d-block {
  display: block;
}
.d-inline {
  display: inline;
}
.d-inline-block {
  display: inline-block;
}
.p-0 {
  padding: 0;
}
.p-1 {
  padding: 0.25rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-3 {
  padding: 1rem;
}
.pt-0 {
  padding-top: 0;
}
.pr-0 {
  padding-right: 0;
}
.pb-0 {
  padding-bottom: 0;
}
.pl-0 {
  padding-left: 0;
}
.pt-1 {
  padding-top: 0.25rem;
}
.pr-1 {
  padding-right: 0.25rem;
}
.pb-1 {
  padding-bottom: 0.25rem;
}
.pl-1 {
  padding-left: 0.25rem;
}
.pt-2 {
  padding-top: 0.5rem;
}
.pr-2 {
  padding-right: 0.5rem;
}
.pb-2 {
  padding-bottom: 0.5rem;
}
.pl-2 {
  padding-left: 0.5rem;
}
.pt-3 {
  padding-top: 1rem;
}
.pr-3 {
  padding-right: 1rem;
}
.pb-3 {
  padding-bottom: 1rem;
}
.pl-3 {
  padding-left: 1rem;
}
.m-0 {
  margin: 0;
}
.m-1 {
  margin: 0.25rem;
}
.m-2 {
  margin: 0.5rem;
}
.m-3 {
  margin: 1rem;
}
.mt-0 {
  margin-top: 0;
}
.mr-0 {
  margin-right: 0;
}
.mb-0 {
  margin-bottom: 0;
}
.ml-0 {
  margin-left: 0;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mr-1 {
  margin-right: 0.25rem;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.ml-1 {
  margin-left: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mr-2 {
  margin-right: 0.5rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.ml-2 {
  margin-left: 0.5rem;
}
.mt-3 {
  margin-top: 1rem;
}
.mr-3 {
  margin-right: 1rem;
}
.mb-3 {
  margin-bottom: 1rem;
}
.ml-3 {
  margin-left: 1rem;
}
.float-left,
.float-xs-left,
.float-sm-left,
.float-md-left,
.float-lg-left,
.float-xl-left {
  float: left;
}
.float-right,
.float-xs-right,
.float-sm-right,
.float-md-right,
.float-lg-right,
.float-xl-right {
  float: right;
}
.float-none,
.float-xs-none,
.float-sm-none,
.float-md-none,
.float-lg-none,
.float-xl-none{
  float: none;
}
.text-left,
.text-xs-left,
.text-sm-left,
.text-md-left,
.text-lg-left,
.text-xl-left {
  text-align: left;
}
.text-right,
.text-xs-right,
.text-sm-right,
.text-md-right,
.text-lg-right,
.text-xl-right {
  text-align: right;
}
.text-centre,
.text-xs-centre,
.text-sm-centre,
.text-md-centre,
.text-lg-centre,
.text-xl-centre {
  text-align: center;
}
.text-justify,
.text-xs-justify,
.text-sm-justify,
.text-md-justify,
.text-lg-justify,
.text-xl-justify {
  text-align: justify;
}
.text-nowrap {
  white-space: nowrap;
}
.container{
  max-width: 575.999999px;
  }
.d-xs-none{
  display: none;
  }
.d-xs-block {
  display: block;
  }
.d-xs-inline-block {
  display: inline-block;
  }
.col,
.col-xs {
  flex: 1;
  max-width: 100%;
  }
.col-2,
.col-xs-2 {
  flex: 1 0 16.666667%;
  max-width: 16.666667%;
  }
.col-3,
.col-xs-3 {
  flex: 0 0 25%;
  max-width: 25%;
  }
.col-4,
.col-xs-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  }
.col-5,
.col-xs-5 {
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
  }
.col-6,
.col-xs-6 {
  flex: 0 0 50%;
  max-width: 50%;
  }
.col-7,
.col-xs-7 {
  flex: 0 0 58.333333%;
  max-width: 58.333333%;
  }
.col-8,
.col-xs-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
  }
.col-9,
.col-xs-9 {
  flex: 0 0 75%;
  max-width: 75%;
  }
.col-10,
.col-xs-10 {
  flex: 0 0 83.333333%;
  max-width: 83.333333%;
  }
.col-11,
.col-xs-11 {
  flex: 0 0 91.666667%;
  max-width: 91.666667%;
  }
[class^="col-"]:first-child {
  padding-left: 0;
}
[class^="col-"]:last-child {
  padding-right: 0;
}
[class^="col-"]:only-child {
  padding-right: 0;
  padding-left: 0;
}
.com-content-article.item-page > .com-content-article__body > .row > [class^="col-"]:first-child {
  padding-left: 0;
}
.com-content-article.item-page > .com-content-article__body > .row > [class^="col-"]:last-child {
  padding-right: 0;
}
.col-12,
.col-xs-12 {
  flex: 0 0 100%;
  max-width: 100%;
  margin-right: 0;
  margin-left: 0;
}
.w-100 {
  width: 100%;
}
.w-50 {
  width: 100%;
}
.w-25 {
  width: 100%;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-style: none;
}
img:-moz-loading {
  visibility: hidden;
}
img.imageleft {
  float: left;
  margin: 0 16px 16px 0;
}
img.imageright {
  float: right;
  margin: 0 0 16px 16px;
}
.flex {
  white-space: nowrap;
}
/* END BASICS */
h1 {
  font-size: 2.2rem;
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.65rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1.2rem;
}
h6 {
  font-size: 1rem;
}
h1, h2, h3, h4, h5, h6{
  color: var(--theme-medium);
  font-weight: 500;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}
h1, h3 {
  font-weight: 700;
}
address {
  font-style: normal;
}
a {
  color: var(--link-blue);
  text-decoration: none;
  background-color: transparent;
}
button {
  font-family: inherit;
}
.mod-custom {
  width: 100%;
  max-width: 100%;
}
.shadowwrapper {
  background-color: white;
  margin: 0 auto 1rem;
  padding: 0 16px 16px;
  min-height: 500px;
}
.header {
  background-color: #fff;
  width: 100%;
}
.fixed-header-inner, 
.pageh1textwrapper {
  margin: 0 auto;
}
.header-row {
  padding: 16px 0;
  margin-bottom: 1rem;
  border-bottom: 5px solid var(--theme-dark);
}
.header-sitetitle,
.header-sitesubtitle {
  text-align: right;
  color: var(--theme-dark);
  font-size: 1.5rem;
  line-height: 1.5rem;
/*  padding-top: 1.5rem;*/
}
.header-sitesubtitle {
  font-style: italic;
  font-size: 2rem;
  color: var(--theme-dark);
  padding-top: 0;
}
.header-sitetitle a {
  color: var(--theme-contrast);
}
/*.logo {
  height: 92px;
}*/
.top-spacer {
  padding-top: 5rem;
  background-color: #fff;
}
.col-xs.top {
  margin: 0;
  padding-top: 0.5rem; 
  padding-right: 0;
}
[class^="col-"].logo.menu-a {
  padding-left: 0;
}
.upperwrapper,
.middlewrapper,
.lowerwrapper {
  background-color: #fff;
  margin: 0 auto;
}
.lowerwrapper {
  margin: 0 auto 1rem;
}
.with-border {
  padding: 0 16px;
}
.no-border {
  padding: 0;
}
.menu-outer {
  padding: 0 0 16px 0;
}
.sidenav {
  display: none;
}
.sidenav ~ .shadowwrapper .mainmenu-wrapper {
  position: fixed;
  top: 5.5rem;
  left: 0;
  z-index: 999;
  height: 2.75rem;
}
.sidenav-opened {
  transition: width 0.5s;
  display: block;
  height: 100%;
  width: 100%;
  position: fixed;
  z-index: 995;
  top: 0;
  left: 0;
  background-color: #fff;
  overflow-x: hidden;
  padding: 1rem 0 0;
  box-shadow: 2px 0 5px -2px #acaaaa;
}
.sidemenu {
  position: relative;
  z-index: 997;
  padding: 0 1rem 1rem 0;
  background: #fff;
}
.closenavbtn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--theme-dark);
  font-size: 3rem;
  margin: 0;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 998;
  width: 44px;
}
#edmenu .closenavbtn {
  display: none;
}
.sidenav-opened ~ .shadowwrapper .mainmenu-wrapper {
  top: 0;
}
.sidenav ~ .shadowwrapper .mainmenu-wrapper .mainmenu-row .sidemenu {
  display: none;
}
.sidenav-opened ~ .shadowwrapper .mainmenu-wrapper .mainmenu-row .menucontent:first-child,
.sidenav-opened ~ .shadowwrapper .mainmenu-wrapper .mainmenu-row .sidemenu {
  display: block;
}
.sidenav ~ .shadowwrapper .mainmenu-wrapper .mainmenu-row {
  height: 2rem;
  position: relative;
}
.sidenav-opened ~ .shadowwrapper #rm,
.sidenav-opened ~ .shadowwrapper .mainmenu-wrapper .mainmenu-row .search {
  display: none;
}
.sidenav ~ .shadowwrapper .mainmenu-wrapper .mainmenu-row .sidenav-logo,
.sidenav ~ .shadowwrapper .mainmenu-wrapper .mainmenu-row .sidenav-search {
  display: none;
}
.sidenav-opened ~ .shadowwrapper .mainmenu-wrapper .mainmenu-row .sidenav-logo,
.sidenav-opened ~ .shadowwrapper .mainmenu-wrapper .mainmenu-row .sidenav-search {
  display: block;
  position: relative;
  z-index: 999;
  margin-top: 1rem;
  left: 0;
}
.sidenav-opened ~ .shadowwrapper .mainmenu-wrapper .mainmenu-row .sidenav-search {
  margin-top: 2rem;
  height: 2rem;
  padding-left: 1rem;
}
.sidenav-opened ~ .shadowwrapper .mainmenu-wrapper .mainmenu-row .sidenav-search .mod-finder {
  float: left;
}
.sidenav ~ .shadowwrapper .mainmenu-wrapper .mainmenu-row .mod-finder {
  float: right;
}
.fixed-header {
  position: fixed;
}
.sidenav ~ .md-menu-outer{
  display: none;
}
.sidenav ~ .search {
  display: inline-block;
  position: fixed;
  top: 3rem;
  z-index: 999;
}
.sidenav-opened ~ .shadowwrapper .md-menu-outer {
  z-index: 999;
  padding: 0;
}
.sidenav-opened ~ .shadowwrapper .header {
  display: none;
}
.sidenav-opened ~ .search {
  display: none;
}
.search .form-inline .inputbox {
  width: 100%;
}
.search .mod-finder__search.input-group {
 display: inline-block;
}
.js-finder-search-query::placeholder {
 color: #222222;
 opacity: 1;
 font-style: italic;
}
.sidenav-opened ~ .shadowwrapper .mainmenu-row .search {
  display: none;
}
@media only screen and (max-width: 991.999999px){
  .search .js-finder-search-query.form-control {
    max-width: 118px;
  }
}
.trigram {
  position: relative;
  top: 0;
  left: 0;
  padding: 0;
  background: transparent;
  z-index: 995;
  width: 2rem;
}
.burger {
  position: absolute;
  border-top: 0.15rem solid var(--theme-dark);
  border-right: none;
  border-bottom: 0.15rem solid var(--theme-dark);
  border-left: none;
  background: transparent;
  cursor: pointer;
  height: 2rem;
  width: 3rem;
  top: 3.25rem;
  left: 1rem;
}
.burger::after {
  position: absolute;
  content: "";
  border-top: 0.15rem solid var(--theme-dark);
  top: 48%;
  left: 0;
  width: 3rem;
}
.burger-heading {
  position: relative;
  top: 0;
  left: 0;
  font-size: 1.2rem;
  color: var(--theme-dark);
}
.mainContent {
  position: relative;
  z-index: 0;
}
.banner {
  margin: 0 0 1rem;
}
.banner .crop img {
  height: 248px;
  object-fit: cover;
}
.breadcrumb-item + .breadcrumb-item::before {
  color: #6d757e;
  content: var(--breadcrumb-divider,"/");
  float: left;
  padding: 0 .5rem;
}
.middlewrapper.dark-mode {
  background-color: var(--dark-grey);
  color: #fff;
}
.no-border.introduction {
  padding: 0 1rem;
  margin-bottom: 1rem;
}
.introduction {
  padding: 0;
  margin-bottom: 1rem;
}
.image-gallery .introduction {
  margin-top: 1rem;
}
.feature p:last-child,
.introduction p:last-child {
  margin-bottom: 0;
}
.pageh1textouter {
  background-color: #fff;
  padding: 1rem;
  border-bottom: 2px solid var(--theme-medium);
}
.pageh1text {
  position: relative;
}
.pageh1text h1 {
  margin: 0 0 1.5rem;
  color: var(--theme-medium);
}
.introduction .theme-light {
  background-color: var(--theme-light);
  margin-bottom: 2rem;
  padding: 0.5rem 1rem;
}
[class^="col-"]:only-child.no-sidebar {
  padding-right: 0;
  padding-left: 0;
  margin-bottom: 1rem;
}
/* === Main Menu === */
.mm .has-submenu> div.ul {
  display: none;
}
.mm .has-submenu> div.ul.open {
  display: block;
}
.mm .menu-toggle {
  height: 44px;
  width: 44px;
  display: inline-block;
  line-height: 44px;
  font-size: 25px;
  text-align: center;
  text-decoration: none;
  margin: 0;
}
.mm {
  min-height: 44px;
}
.mm.editor {
  height: unset;
  width: 350px;
}
#editor[class^="col-"]:first-child {
  padding-left: 0.5rem;
}
.mm .menucontent.menu-a,
.mm .menucontent.menu-a {
  list-style: none;
}
.mm .menucontent.menu-a {
  display: none;
}
.mm .menucontent.menu-b {
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  justify-content: normal;
  padding: 0;
  position: relative;
  top: 0;
  z-index: 997;
  overflow-y: auto;
  }
.mm .li > [type="button"] {
  margin-left: 0;
  padding: 0;
}
.mm .li:not(.top-level) > [type="button"] {
  padding-left: 0.5rem;
  padding-bottom: 0.5rem;
}
.mm [type="button"] ~ div.ul {
  display: none;
}
.mm [type="button"].opened ~ div.ul {
  display: table;
  z-index: 990;
}
.mm [type="button"].opened,
.mm .li.current > a {
  color: var(--theme-medium);
}
.mm div[class^="ul level"] {
  list-style: none;
  background-color: transparent;
  position: relative;
  top: 100%;
  left: 0;
  padding: 0;
}
.mm div.ul.level-1 {
  padding-left: 1rem;
}
.mm .li {
  display: block;
  position: relative;
  line-height: 1.25rem;
  border-top: 1px dotted var(--medium-grey);
  margin: 0;
  min-height: 44px;
}
.sidenav ~ .shadowwrapper .mainmenu-wrapper .mainmenu-row .md-menu-outer,
.sidenav ~ .shadowwrapper .mainmenu-wrapper .mainmenu-row .menucontent .li.top-level:first-child {
  display: none;
}
.sidenav-opened ~ .shadowwrapper .mainmenu-wrapper .mainmenu-row .menucontent .li:first-child {
  display: block;
  margin-top: 1rem;
}
.mm .menu-b > .li:first-child,
.mm .menu-b > .li:nth-child(2){
  border-top: none;
}
.mm .li:not(.top-level) a {
  padding: 0.75rem 0.5rem 0;
}
.mm .li:not(.top-level) a:hover {
  font-weight: bold;
}
.mm .li.single.parent {
  padding-top: 0;
}
.mm .menucontent > li:last-child {
  border-bottom: 1px dotted var(--medium-grey);
}
.mm .li.separator-line {
  display: none;
}
.mm .li a,
.mm .li span {
  color: var(--theme-dark);
  display: inline-block;
  font-size: 1.25rem;
  line-height: 1.25rem;
  position: relative;
  white-space: nowrap;
  vertical-align: middle;
}
.mm .li.top-level:first-child {
  padding: 0;
}
.mm .li.top-level {
  padding: 0.75rem 0.75rem 0;
}
.mm .li.top-level.heading {
  padding: 0 0.75rem 0;
}
.mm .li.top-level > span {
  padding: 0;
}
.mm .li.top-level.parent {
  padding: 0 0.75rem 0;
}
.mm .li.top-level.single.parent > a {
  padding: 0 0 0.5rem 0.25rem;
}
.mm span.v-open-icon {
  padding: 0 0 0 1rem;
}
.mm button.linkmenu span.v-open-icon {
  padding: 0 0 0.25rem 1rem;
}
.mm button::before {
  color: var(--theme-dark);
}
.mm .li.active > a {
  font-weight: bold;
}
.mm .li.active.parent > a,
.mm .li.active span,
.mm .li.active.parent [type="button"]::after {
  color: var(--theme-medium);
  font-weight: normal;
}
.mm [type="button"] {
  -webkit-appearance: none;
  min-width: 44px;
  position: relative;
  background: transparent;
  border: none;
  top: 0;
}
.mm [type="button"]:not(:disabled) {
  cursor: pointer;
}
.user-is-tabbing .mm [type="button"]:focus {
  outline: #bbb dotted 0.5px;
}
.mm .li.separator:hover > span,
.mm .li.heading:hover > span,
.mm .li > a:hover,
.mm button:hover > span,
.mm button:hover {
  color: var(--theme-medium);
}
.user-is-tabbing .mm .li > .separator:focus > span,
.user-is-tabbing .mm .li > .heading:focus > span,
.user-is-tabbing .mm .li a:focus,
.user-is-tabbing .mm .li > button.linkmenu:focus > span,
.user-is-tabbing .mm .li > button:focus {
  color: var(--theme-medium);
}
.mm .li.top-level > span.v-open-icon {
  padding-left: 1rem;
  font-size: 1.5rem;
}
.mm .li.single.parent.top-level > span.v-open-icon {
  padding-bottom: 0.75rem;
}
.mm .li .h-open-icon {
  display: none;
}
.mm span.div-line {
  border-right: 1px solid var(--theme-dark);
  height: 1.5rem;
  width: 1.5rem;
}
.mm .li.divider,
.mm .li.separator-line,
.mm .li.separator-line button {
  display: none;
}
ul.editor {
  list-style: none;
  padding-left: 0;
  width: 350px;
}
.editor li.divider {
  position: relative;
  margin: 0.5rem 0;
  height: 1rem;
}
.editor li.divider span.separator,
.mm .li.separator-line a,
.mm .li.separator-line span,
.mm .li.divider span {
  display: none;
}
.editor li.divider::after,
.mm .li.divider::after,
.mm .li.separator-line::after {
  position: absolute;
  height: 0;
  top: 60%;
  width: calc(100% - 1rem);
  border-top: 1px solid var(--medium-grey);
  border-bottom: 1px solid var(--light-grey);
  margin: 0 0;
  content: "";
}
.mod-finder label.finder,
.visually-hidden { 
  border: 0;
  padding: 0;
  margin: 0;
  position: absolute;
  height: 1px; 
  width: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.visually-hidden .toggleText {
  width: 44px;
  top: -1.5rem;
  left: -1rem;
  height: 44px;
}
.search .mod-finder label.finder {
  color: #fff;
  background-color: var(--theme-dark);
}
/* === Sidebars and component area === */
.leftsidebar,
.rightsidebar,
.contentboth,
.contentleft,
.contentright {
  margin-bottom: 0.75rem;
}
.contentright,
.contentleft,
.contentboth,
.col-md.contentright,
.col-md.contentleft {
  padding-left: 0;
  padding-right: 0;
}
.col-md.contentright .item-content,
.col-md.contentleft .item-content {
  margin-left: 0;
  margin-right: 0;
}
.leftsidebar,
.rightsidebar,
.centenary-blog-mod {
  padding: 0.5rem 1rem 1rem !important;
  background-color: var(--theme-lightest);
}
.sidebarleft,
.sidebarright {
  border-bottom: 2px solid var(--theme-medium);
  margin-top: 1rem;
}
.sidebarleft:last-child,
.sidebarright:last-child {
  border-bottom: none;
}
.sidebarleft:first-child,
.sidebarright:first-child {
  margin-top: 0;
}
.sidebarleft a,
.sidebarright a {
  color: var(--theme-dark);
}
.sidebarleft a:hover,
.sidebarright a:hover {
  font-weight: bold;
}
.sidebarright .mod-header,
.sidebarleft .mod-header,
.sidebarright .mod-content,
.sidebarleft .mod-content {
 padding-bottom: 1rem;
}
.sidebarright .mod-header,
.sidebarleft .mod-header,
.centenary-blog-mod h3 {
  border-bottom: 3px double var(--theme-medium);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}
.sidebarright .mod-header h3,
.sidebarleft .mod-header h3,
.centenary-blog-mod h3 {
  font-weight: bold;
}
.no-border .pageh1text {
  padding: 1rem;
  border-bottom: 2px solid var(--theme-medium);
}
.with-border .pageh1text {
  padding: 1rem 0;
  border-bottom: 2px solid var(--theme-medium);  
}
.with-border .sidebarcontent {
  padding: 0;
}
.no-border .sidebarcontent {
  margin-bottom: 1rem;
  padding: 1rem;
}
.contentleft {
  padding-left: 1rem;
  padding-right: 1rem;
}
.contentright {
  padding-right: 1rem;
  padding-left: 0;
}
.reverse-double-line {
  border-bottom: solid 0.125rem #cccccc;
  box-shadow: 0px 0.15rem 0px #ffffff;
  margin-bottom: 0.75rem;
}
/* ==== Featuretop and bottom ==== */
.no-border .featurecontainer {
  padding: 1rem 1rem 0;
  margin-bottom: 1rem;
}
.with-border .featurecontainer {
  padding: 0;
  margin-bottom: 1rem;
}
.feature .pictextwrap {
  display: none;
}
.featurebottom {
  overflow: hidden;
}
.featurebottom .wrapper {
  height: 100%;
  position: relative;
}
.with-border .feature-top,
.with-border .feature-bottom {
  padding: 0 0 1rem;
}
.no-border .feature-top,
.no-border .feature-bottom {
  padding: 0 1rem 1rem;
}
.feature {
  padding: 0 0 1rem;
}
.lowermiddle-wrapper,
.lowermiddle {
  padding-bottom: 1rem; 
}
.lowermiddle:last-child {
  padding-bottom: 0;
}
/* === category modules === */
.article-info-term {
  display: none;
}
.published {
  font-style: italic;
  color: #393939;
  font-size: 0.85rem;
}
ul.categories-module,
ul.category-module,
ul.latestnews {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
}
.categories-module li,
.category-module li,
.latestnews li {
  border-bottom: solid 1px #cccccc;
  box-shadow: 0 0.125rem 0 #ffffff;
  color: var(--theme-dark);
  list-style: none;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  -webkit-column-break-inside: avoid;
            page-break-inside: avoid;
                 break-inside: avoid;
}
.category-module li p {
  font-weight: normal;
}
.categories-module li span,
.category-module li span,
.latestnews li span {
  display: block;
  font-size: 0.9rem;
  color: var(--theme-medium);
  padding: 0.25rem 0 0.25rem 0.25rem;
}
.categories-module li h4,
.latestnews li h4 {
  margin-bottom: 0;
}
.categories-module li > a,
.category-module li > a,
.latestnews li > a {
  display: block;
}
.categories-module li a:hover,
.category-module li a:hover,
.latestnews li a:hover {
  font-weight: bold;
}
.mod-articles-category-introtext {
  margin-top: 0;
}
.featuretop .wrapper,
.featurebottom .wrapper {
  border: 1px solid var(--theme-dark);
}
.featuretop .mod-fb-header,
.featuretop .mod-fb-content,
.featurebottom .mod-fb-header,
.featurebottom .mod-fb-content {
  padding: 0.5rem 1rem;
  background-color: #fff;
  color: var(--dark-grey);  
}
.featuretop .mod-fb-header,
.featurebottom .mod-fb-header {
  background-color: var(--theme-lightest);
  border-bottom: 1px solid var(--theme-dark);
}
.featuretop .mod-fb-header h3,
.featurebottom .mod-fb-header h3 {
  color: var(--dark-grey);
}
.mod-fb-content h4,
.mod-fb-content h5 {
  font-size: 1rem;
}
.newsflash .larger {
    clear: both;
}
.members .mod-articles-category-date {
  margin-left: 4rem;
  position: relative;
}
.members .mod-articles-category-date::before {
  position: absolute;
  left: -3.5rem;
  content: "Updated";
}
.bottommenu.mm .li.top-level:first-child {
  padding: 0.75rem 0.75rem 0;
  border-top: 1px dotted var(--medium-grey);
  border-bottom: 1px dotted var(--medium-grey);
}
.bottommenu a:active {
  font-weight: bold;
  color: var(--theme-medium);
  background-color: yellow;
}
.footer-inner {
   margin-bottom: 1rem;
}
.footer {
  margin-bottom: 1rem;
  color: #fff;
}
.footer:last-child {
   margin-bottom: 0;
}
.footer-bg {
  background-color: var(--theme-dark);
  padding-bottom: 1rem;
}
.footer-wrapper {
  margin: 0 auto;
  padding: 1rem 5rem 0 1rem;
  background-color: var(--theme-dark);
}
/* Footer menu */
.footer-menu .col-12 {
  padding-left: 0;
  padding-right: 0;
}
.footer-menu .col-12:first-child {
  padding-left: 0;
}
.footer-menu ul {
 margin: 0;
 padding-left: 0;
}
.footer-menu li {
  list-style: none;
}
.footer-menu li a {
  font-size: 0.9rem;
  line-height: 1.75rem;
}
.footer li a {
 color: #fff;
}
.footer-menu li a:hover {
  color: var(--theme-contrast);
  font-weight: bold;
}
.copytext {
  text-align: center;
  font-style: italic;
  font-size: 0.85rem;
  margin: auto;
}
.copydate {
  width: 1.25rem;
  display: inline;
}
.copy {
  width: calc(100% - 1.5rem);
  display: inline;
}
.bottom {
  color: var(--theme-dark);
  padding-bottom: 1rem;
  max-width: 1300px;
  margin: auto;
  text-align: center;
}
.hide {
  display: none;
}
#offlinepage {
  margin: 2.5rem auto;
  padding: 1.25rem;
  background-color: #a6a6a6;
  color: #ff0000;
  font-weight: bold;
  font-size: 1.25rem;
  text-align: center;
}
.content-category fieldset {
  border: none;
  padding: 0;
}
.mod-preview-info {
  z-index: 999;
}
.newsflash-two-cols,
.two-cols {
  columns: 2 300px;
  column-gap: 1rem;
}
.three-cols {
  columns: 3 300px;
  column-gap: 1rem;
}
.four-cols {
  columns: 4 350px;
  column-gap: 1rem;
}
.iframe-rwd  {
  position: relative;
  padding-bottom: 65.25%;
  height: 0;
}
.bluebox,
.bluebox-lightbg,
.greybox-lightbg,
.bluebox-contrastbg,
.greybox-contrastbg,
.bluebox-tintbg,
.greybox-tintbg,
.greybox {
  border: 2px solid var(--theme-dark);
  padding: 0.5rem 1rem;
  margin: 0 0 1rem;
}
.greybox {
  border-color: var(--dark-grey);
}
.greybox-lightbg,
.bluebox-lightbg {
  background: var(--theme-light);
}
.greybox-contrastbg,
.bluebox-contrastbg {
  background: var(--theme-contrast);
}
.greybox-tintbg,
.bluebox-tintbg {
  background: var(--theme-contrast-tint);
}
.previous {
  background: var(--theme-contrast);
  padding: 0.75rem 1rem;
}
.previous h2 {
  color: var(--theme-dark);
  margin: 0;
}
.iframe-rwd iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* YouTube */
.iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}
.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
hr {
  border-top: 1px solid #cccccc;
  box-shadow: 0px 1px 5px 1px #cccccc;
}
a.btn.jmodedit {
  background:#eee;  
  border:1px solid #ff0000; 
  padding:5px;
} 
a.btn.jmodedit span.icon-edit::before {
  content:"\1F589"; 
  color: black;
}
td, th {
  vertical-align: middle;
}
.close-button {
  display: inline-block;
  border: 1px solid var(--theme-dark);
  border-radius: 5px;
  padding: 0 0.5rem;
  font-style: italic;
  margin: 1rem 0 0;
}
.toggle-btn {
  cursor: pointer;
}
.editor-tips.toggle-btn {
  font-size: 1.5rem;
  color: var(--theme-medium);
}
.toggle-content {
  display: none;
}
.toggle-content.content-revealed {
  display: block;
}
.toggle-content.content-revealed {
  margin-bottom: 1rem;
}
a {
  word-wrap:break-word;
}
/* GALLERY FIRST */
.gallery {
  min-height: 248px;
  position: relative;
}
.gallery .item-content {
  display: none;
}
.image-gallery .gallery {
  background-color: var(--theme-lightest);
}
.gallery-title {
  background-color: rgba(252, 200, 78, 0.5);
  padding: 1rem 3rem;
}
.gallery-title h2 {
  color: var(--dark-grey);
  margin-bottom: 0;
}
.mySlides {
  display: none;
  height: auto;
  width: auto;
  padding: 1rem 3.5rem;
  margin: 0 auto;
  text-align: center;
}
.mySlides img {
  height: 200px;
  padding-bottom: 1rem;
  width: auto;
}
.mySlides figure {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
}
.slideshow-container {
  position: relative;
  margin: 0 auto;
}
.gallery .prev,
.gallery .next {
  background-color: rgba(0,0,0,0.4);
  cursor: pointer;
  position: absolute;
  top: 35%;
  width: auto;
  padding: 8px 14px 8px 14px;
  color: #fff;
  font-weight: bold;
  font-size: 2rem;
  transition: 0.6s ease;
  border: none;
  user-select: none;
  left: 0;
}
.gallery .next {
  left: unset;
  right: 0;
  border-radius: 3px 0 0 3px;
  padding: 8px 14px;
}
.gallery .prev:hover,  
.gallery .prev:focus,
.gallery .next:hover,
.gallery .next:focus {
  background-color: rgba(0,0,0,0.2);
  color: var(--theme-dark);
}
.gallery .caption {
  color: var(--theme-dark);
  font-size: 1rem;
  padding: 8px 12px;
  width: 100%;
  text-align: center;
}
.gallery .fade {
  animation-name: fade;
  -webkit-animation-name: fade;
  animation-duration: 1.5s;
  -webkit-animation-duration: 1.5s;
}
.visually-hidden.vsprev,
.visually-hidden.vsnext {
  color: #fff;
}
.visually-hidden.vsprev:hover,
.visually-hidden.vsnext:hover {
  color: var(--theme-dark);
}
@-webkit-keyframes fade,
@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}
.item-page {
  width: 100%;
}
.textCopy {
  margin: 0;
  font-size: 1.1rem;
  color: var(--theme-dark-grey);
}
.mySlidesCopy {
  padding-bottom: 1rem;
}
/* END GALLERY */
.element-invisible {
  display: none;
}
.search .form-inline {
  display: flex;
}
.com-users-registration.registration {
  width: 100%;
}
.contact-page h2,
.blog .item-content h2:first-child,
.blog .item-content .page-header h2,
.policies h2,
.about-us h2,
.member-info h2,
.image-gallery h2,
.com-content-article.item-page .page-header h2,
.diary-leading .event-title,
.diaryasblog h2 {
  color: #fff;
  background-color: var(--theme-medium);
  padding: 0.25rem 1rem;
}
.image-gallery h2 {
  margin: 0 1rem;
}
/* blogs */
.blog .blog-item {
  border-bottom: 1px solid var(--theme-medium);
  margin-bottom: 1rem;
  padding: 0 0 1rem;
}
.blog .leading .blog-item {
  border-bottom: none;
}
.blog-featured .blog-items-row {
  margin-bottom: 0.75rem;
}
.diary-leading {
  border: 1px solid var(--theme-medium);
  padding: 0 1rem 1rem;
}
.items-leading .diary-item {
  padding-bottom: 1rem;
}
.blog .page-header h2 {
  font-size: 1.35rem;
}
.contact-page h2,
.blog .items-leading .page-header h2,
.com-content-article.item-page .page-header h2 {
  font-size: 1.75rem;
}
.blog .item-content h2:first-child a {
  color: #fff;
}
.blog .item-content h2:first-child a:hover {
  font-weight: bold;
}
.blog .blog-item .item-content {
  margin: 0 0.5rem;
}
.blog .blog-item:first-child .item-content {
  margin-left: 0;
}
.blog .blog-item:last-child .item-content {
  margin-right: 0;
}
.clipped-border {
  padding: 0 0.2em 1rem;
  background: linear-gradient(to bottom, transparent calc(100% - 2px), var(--theme-dark) calc(100% - 2px));
  background-size: calc(100% - 16px) 100%;
  background-repeat: no-repeat;
  background-position: center;
}
.blog .blog-items.items-leading {
  padding: 0 0 1rem;
}
.blog .blog-items:last-child {
  padding-bottom: 0;
}
iframe .joomla-tab[view="accordion"] button {
  background: var(--theme-contrast);
}
.com-content-category-blog__navigation.w-100.count-wrapper {
  position: relative;
}
.blog .custom-count {
  position: absolute;
  top: 0;
  right: 0;
}
.blog .custom-pag {
  position: absolute;
  top: -1.5rem;
}
.blog nav.pagination__wrapper {
  position: relative;
}
.breadcrumb,
.blog .pagination {
  display: flex;
  flex-direction: row;
  list-style: none;
  padding-left: 0;
}
.pagination li a,
.pagination li span {
  height: 1.5rem;
}
.page-link {
  border: 1px solid var(--light-grey);
  display: block;
  position: relative;
  text-decoration: none;
  padding: .375rem .75rem;
}
.page-item.active .page-link {
  background-color: var(--theme-dark);
  border: 1px solid var(--theme-dark);  
  color: #fff;
}
.page-item:not(:first-child) .page-link {
    margin-left: -1px;
}
.sidenav ~ .mainmenu-wrapper .mainmenu-row .search {
  display: none;
}
.top-link {
  animation-duration: 0.2s;
  visibility: visible;
  position: fixed;
  cursor: pointer;
  text-align: center;
  bottom: 0;
  right: 1rem;
  color: white;
  background: var(--theme-medium);
  font-size: 2rem;
  margin: 0;
  padding: 0.25rem 0;
  width: 50px;
  height: 50px;
  border: none;
  z-index: 9999;
}
.top-link.hide {
  background: var(--theme-dark);
}
.top-link:hover {
  padding-top: 0;
}
/* Toggles */
.contact {
  position: relative;
}
.group-toggle [type="button"].toggle-form.form-opened ~ .form,
.editing-articles [type="button"].tips-button.form-opened ~ .tips {
  display: block;
  z-index: 99;
  position: relative;
  top: 16px;
  left: 0;
  margin-bottom: 32px; 
}
.group-toggle,
.year-items {
  list-style: none;
  padding-left: 0;
}
.mod-content button.toggle-form {
  border: none;
  font-size: 1.25rem;
  color: #fff;
  padding: 0.25rem 0.5rem;
  width: 100%;
  text-align: left;
  background-color: var(--theme-medium);
  margin-bottom: 0.5rem;
}
button.toggle-form.form-opened {
  margin-bottom: 0.25rem;
}
.group-toggle li.nav-item {
  margin-bottom: 1rem;
}
span.mod-articles-category-date {
  font-size: 0.85rem;
}
.col-md.pl-3 {
  padding-left: 1rem;
}
.group-toggle [type="button"].toggle-form ~ .form,
.contact [type="button"].toggle-form ~ .form,
.editing-articles [type="button"].tips-button ~ .tips {
  display: none;
}
[data-icon]:before {
  font-family: "general" !important;
  content: attr(data-icon);
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  speak: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[class^="icon-"]:before,
[class*=" icon-"]:before {
  font-family: "general" !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  speak: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon-env:before {
  content: "\6d";
}
.icon-map-marker:before {
  content: "\73";
}
.icon-phone:before {
  content: "\74";
}
.icon-print:before {
  content: "\70";
}
.icon-edit:before {
  content: "\65";
}
.icon-eye:before {
  content: "\62";
}
.icon-eye-slash:before {
  content: "\64";
}
.icon-angle-double-left:before {
  content: "\61";
}
.icon-angle-double-right:before {
  content: "\66";
}
.icon-angle-left:before {
  content: "\67";
}
.icon-angle-right:before {
  content: "\68";
}
.icon-calendar:before {
  content: "\69";
}
.icon-user:before {
  content: "\6a";
}
.icon-folder-open:before {
  content: "\63";
}
.icon-angle-down:before {
  content: "\6b";
}
.icon-angle-up:before {
  content: "\6c";
}
.icon-search:before {
  content: "\6e";
}
.icon-check:after {
  content: "\6f";
}
.icon-times:before {
  content: "\71";
}
.icon-code-branch:before {
  content: "\72";
}
.icon-sort:before {
  content: "\75";
}
.icon-sort-alpha-asc:before {
  content: "\76";
}
.icon-sort-alpha-desc:before {
  content: "\77";
}
.icon-upload:before {
  content: "\78";
}
.icon-folder:before {
  content: "\79";
}
.cc-custom-revoke {
  cursor: pointer;
}
.dates {
  margin-bottom: 1rem;
}
.dates p {
  margin: 0;
}
/* === Diary === */
.diary-page .subform-wrapper .control-group:nth-child(3) {
  display: none;
}
.diary-page .subform-wrapper .field-media-input,
.diary-page #jform_com_fields_event_speakers_website,
.controls .form-control {
  width: 350px;
}
.diary-page #jform_com_fields_event_title,
.diary-page #jform_com_fields_event_subtitle,
.diary-page .subform-wrapper #jform_com_fields__event_image__alt_text,
.diary-page #jform_com_fields_event_description,
.diary-page #jform_com_fields_event_comments {
  width: 500px;
}
.diary-2021 .diary,
.diary span.introtext {
  display: none;
}
.diary-item {
  padding: 0 0 1rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--theme-medium);
}
/*mod_articles_news displayed as blog */
.diaryasblog {
  margin-bottom: 1rem;
  border: 1px solid var(--theme-medium);
}
.diaryasblog h2 {
  margin-bottom: 0;
}
.diaryasblog .dac-content{
  padding: 0.5rem 1rem;
}
.diary .event-img-and-desc {
  min-height: 300px;
}
.diary .next {
  color: #f00;
  font-size: 2rem;
  font-weight: bold;
  padding: 0.5rem 0;
}
.diary-next .event-image img,
.diary .event-image img {
  margin: 0.5rem 1rem 0.5rem 0;
  float: left;
}
.diary-next {
    padding: 3rem 1rem 1rem;
    border: 2px solid var(--theme-medium);
    margin: 0 0 1rem;
    position: relative;
}
.diary-next::before {
    position: absolute;
    content: "Our Next Event:";
    color: #f00;
    font-size: 2rem;
    font-weight: bold;
    left: 1rem;
    top: 0;
}
.diary .event-description {
  clear: both;
}
.diary .event-comments {
  font-style: italic;
  padding: 1rem 0;
  margin-bottom: 1rem;
}
.diary .event-comments:empty {
  display: none;
  }
.diary .intro-text {
  display: none;
}
.diary .event-title h2 {
  font-size: 1.5rem;
}
.diary .event-subtitle h3 {
  font-size: 1.25rem;
  font-weight: 400;
}
.com-users-registration.registration {
  width: 100%;
}
.contact-page h2,
.com-content-article.item-page .page-header h2 {
  color: #fff;
  background-color: var(--theme-medium);
  padding: 0.25rem 1rem;
}
.image-gallery h2 {
  margin: 0 1rem;
}
.introduction .light-green {
  background-color: var(--theme-light);
  margin-bottom: 2rem;
  padding: 0.5rem 1rem;
}
.three-cols address {
  text-indent: 15px;
}
.home-col-container {
  display: block;
}
.home-col-container figure {
  margin: 0 0 16px 0;
  text-align: center;
}
.home-col-container h2 {
  margin: 0;
}
.home-col-container .item-content {
  border: 3px solid var(--theme-medium);
  margin-bottom: 16px;
}
.homeboxes-content {
  padding: 0 16px 16px;
}
#users-profile-custom,
#users-profile-custom-webauthn,
#member-profile fieldset:not(:first-child) {
  display: none;
}
/* FRONT EDITOR */
.mm .li.top-level > a.ed-logout {
  position: relative;
  margin-left: 3rem;
}
.mm .li.top-level > a.ed-logout::before {
  position: absolute;
  content: "|";
  left: -2rem;
}
/* Editor tips */
.editorintro {
  border-bottom: 2px solid var(--theme-medium);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.tips-button {
 color: var(--theme-dark);
 border: none;
 padding: 0;
 background: none;
 font-size: 1.5rem;
 margin-bottom: 1rem;
}
/* Front editor styles */
#adminForm .table-striped thead th {
  text-align: left;
}
.float-end {
  float: right;
}
.float-start {
  float: left;
}
.new-article {
  padding: 0.5rem 0.5rem 0.75rem;
  background-color: var(--theme-medium);
  border-radius: 5px;
  margin: 6px 0;
  width: 8rem;
  text-align: center;
}
.new-article a {
  color: #fff;
}
.new-article:hover a {
  font-weight: bold;
}
.category-list {
  width: 100%;
  background: #fff;
  position: relative;
}
.editor-list {
  position: relative;
  height: 54px;
}
.editor-new,
.editor-list-qty {
  position: absolute;
  top: 0;
}
.editor-new {
  left: 120px;
  top: 0.5rem;
}
#com-content-formTabs.nav.nav-tabs {
  flex-direction: row;
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
}
#com-content-formTabs,
.wf-editor-tabs {
  list-style: none;
}
#com-content-formTabs li,
.wf-editor-tabs li {
  padding: 0 5px;
  border-left: 1px solid #dee2e6;
  border-right: 1px solid #dee2e6;
  border-top: 1px solid #dee2e6;
  padding-bottom: 2px;
  margin: 0 5px 0 0;
  z-index: 999;
  background: #f1f1f1;
}
.wf-editor-tabs li {
  padding-bottom: 0;
}
#com-content-formTabs li a {
  display: inline !important; 
}
#com-content-formTabs .active,
.wf-editor-tabs .active {
  background: #ffffff;
}
#com-content-formTabs .active {
  box-shadow: 0 4px #ffffff;
}
.wf-editor-tabs {
  border-bottom: 2px solid #dee2e6;
}
.wf-editor-tabs .active {
  border-bottom: 2px solid #f1f1f1;
}
.wf-editor-header .wf-editor-tabs {
  margin: 0;
  top: 3px;
  position: relative;
}
.list-title {
  pointer-events: none;
  color: red;
}
.list-title a {
  color: #212529;
}
.chzn-container,
.controls input {
  margin-bottom: 12px;
}
#jform_images_image_intro_alt,
#jform_images_image_intro_caption{
  width: 600px;
}
.control-label {
  margin-bottom: 6px;
}
.control-label #jform_captcha-lbl::after {
  position: relative;
  content: " Please ensure you tick the reCaptcha box before saving your work. Once saved, the editor will close.";
    color: #ff0000;
}
joomla-tab-element#images .control-group:nth-child(3),
joomla-tab-element#images .control-group:nth-child(6),
joomla-tab-element#images .control-group:nth-child(7),
joomla-tab-element#images .control-group:nth-child(8),
joomla-tab-element#images .control-group:nth-child(9),
joomla-tab-element#images .control-group:nth-child(10),
joomla-tab-element#images .control-group:nth-child(n+13){
 display: none;
}
.media-browser-select::after {
  content: "\6f";
  font-family: General;
}
.chzn-container-active.chzn-with-drop {
  background-color: red;
  width: 165px !important;
  border-radius: 5px;
}
.chzn-with-drop
.chzn-container-active .chzn-single,
.chzn-container-single .chzn-single,
.chzn-container-multi .chzn-choices,
div.chzn-drop {
  width: 165px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
.chzn-container .chzn-results {
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  width: 163px;
}
.chzn-container-single .chzn-search,
.chzn-container-single .chzn-search input[type="text"] {
  width: 155px;
}
.chzn-single a {
  background-color: blue;
}
.hasPopover {
  margin-top: 0.75rem;
}
.wf-editor-tabs li {
  padding-left: 1rem;
}
.wf-editor-tabs li a {
  font-size: 1.5rem;
}
.tab-content > .tab-pane {
    display: none;
}
.tab-content > .active {
  display: block;
}
#jform_title.inputbox {
  min-width: 300px;
  max-width: 400px;
}
#jform_profile_region-lbl,
#jform_profile_region {
  display: none;
}
.btn-toolbar .input-group {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    width: 100%;
}
.js-stools-container-bar .btn-toolbar {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.js-stools-container-bar .btn-toolbar > * {
  -webkit-margin-end: 8px;
  margin: 4px 0;
  margin-inline-end: 8px;
}
.js-stools-container-bar .btn-group {
  display: inline-flex;
  position: relative;
}
#adminForm .js-stools[role=search] #filter_search {
  border: 1px solid var(--medium-grey);
  border-radius: 2.5px 0 0 2.5px;
  padding: 0 0 0 0.5rem;
  width: 200px;
}
#adminForm button.btn.btn-primary.js-stools-btn-filter {
  background-color: var(--theme-dark);
  border-color: var(--theme-dark);
  color: #fff;
  align-self: center;
  border: 1px solid transparent;
  border-radius: 2.5px 0 0 2.5px;
  display: inline-block;
  line-height: 1.5rem;
  padding: .75rem 1rem;
  text-decoration: none;
  user-select: none;
  margin: 0; 
}
#adminForm .input-group {
  position: relative;
}
.input-group > #filter_search ~ div[id^="filter"][role=tooltip]  {
  display: none;
}
.input-group > #filter_search:focus ~ div[id^="filter"][role=tooltip] ,
.input-group > #filter_search:hover ~ div[id^="filter"][role=tooltip] {
  display: block;
  background-color: #fff;
  position: absolute;
  top: 2.75rem;
  width: 400px;
  padding: 0.5rem;
  border-radius: 5px;
  box-shadow: 5px 5px 10px var(--medium-grey);
}
#adminForm .btn.btn-primary.js-stools-btn-clear {
  border: 1px solid var(--theme-medium);
  border-radius: 0 2.5px 2.5px 0;
  padding: 0 0.75rem;
  background-color: var(--theme-medium);
  color: #fff;
}
#adminForm .form-select {
  background: url(../images/select-bg.svg) no-repeat 100%/116rem;
  background-color: rgba(0, 0, 0, 0);
  background-color: #eaedf0;
  border: 1px solid #ced4da;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.075);
  cursor: pointer;
  max-width: 100%;
  -moz-padding-start: calc(1rem - 3px);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: .25rem;
  color: #22262a;
  display: block;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  padding: .7rem 3rem .7rem 1rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;  
}
#adminForm .table > :not(caption) > * > * {
  padding: .25rem;
  border-collapse: collapse;
}
#adminForm .table > :not(caption) th.has-context {
  padding: 0.5rem;
}

#adminForm .table > :not(caption) th.has-context .js-module-insert.btn {
  padding: 0.3rem 0.5rem;
}
#adminForm .table tr {
  border-bottom: 1px solid var(--medium-grey);  
  white-space: nowrap;
}
#adminForm thead {
  border-top: 2px solid var(--dark-grey);
  border-bottom: 2px solid var(--dark-grey);
}
#adminForm .table th {
  vertical-align: middle;
  font-weight: normal;
}
#categorylist_header_title,
th#categorylist_header_date,
th#categorylist_header_author,
th#categorylist_header_edit {
  text-align: left:
}
#adminForm .table th.title {
  text-align: left;
}
#adminForm td.text-center {
    text-align: center !important;
}
#adminForm select#list_fullordering.form-select,
#adminForm select#list_limit.form-select {
  padding: 0.8rem 3.75rem 0.8rem 1rem;
}
#adminForm .form-select option {
  padding: 0.2rem 0;
}
.tbody-icon .icon-check {
  border: 2px solid #448344;
  border-radius: 50%;
  color: #448344;
  font-size: 1.1rem;
  height: 1.5rem;
  line-height: 1.25rem;
  width: 1.5rem;
}
#adminForm th[scope=row] {
  text-align: left;
}
.tooltip .tooltip-arrow {
  position: absolute;
  display: block;
  width: 0.8rem;
  height: 0.4rem;
}
.tooltip .tooltip-arrow::before {
  position: absolute;
  content: "";
  border-color: transparent;
  border-style: solid;
}
/* this might sort chzn-drop not showing*/
#adminForm .tab-content {
overflow: visible !important;
}
.editor-cat-list tbody tr {
  background-color: var(--lightest-grey);
}
.editor-cat-list .table-bordered thead th,
.editor-cat-list tbody td {
  border: 1px solid var(--light-grey);
  padding: 0.5rem 0.25rem;
}
.editor-cat-list .table-bordered thead th {
  border-bottom-width: 2px;
  text-align: left;
}
.editor-cat-list tbody tr:nth-child(2n) {
  background-color: #fff;
}
.popover {
  background-color: white;
  border: 2px solid var(--theme-dark);
  border-radius: 5px;
  padding: 5px;
  position: absolute;
  max-width: 300px;
  top: 0;
  left: 0;
}
.popover-title {
  font-size: 1.2rem;
}
.btn.btn-secondary {
  border: none;
  background: transparent;
  padding: 0 0.5rem;
}
.icons button.dropdown-toggle {
  display: none;
}
.icons ul.dropdown-menu {
  padding: 0;
}
.icons .dropdown-menu li {
  list-style: none;
}
.icons .dropdown-menu li > a,
#editor-xtd-buttons > a {
  border: 1px solid var(--medium-grey);
  background-color: var(--lightest-grey);
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  padding: 4px 12px;
}
.editor-tips.toggle-btn.image-prep[aria-expanded="false"]:after {
  position: relative;
  content: "Read article...";
}
.editor-tips.toggle-btn.image-prep[aria-expanded="true"]:after {
  position: relative;
  content: "Close article";
}
.tips-button ~ .tips {
  display: none;
}
.tips-button.form-opened ~ .tips {
  display: block;
  margin-bottom: 1rem;
}
.editor th {
 text-align: left;
}
.editor tr:nth-child(even),
.editor thead {
  background-color: var(--theme-light);
}
.editor thead > tr > th {
  padding: 0.5rem 0;
}
.editor tr > th:first-child,
.editor tr > td:first-child {
  padding-left: 1rem;
}
[class*=" icon-"], [class^="icon-"] {
  font-family: "General";
  font-weight: 900;
}
/* EDITOR BUTTONS */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}
#adminForm .js-stools[role=search] button[type=submit] {
  border: 1px solid transparent;
  border-radius: 0 5px 5px 0;
  background-color: var(--theme-dark);  
}
#adminForm span.icon-search {
  padding: 0 0.5rem;
}
#adminForm span.icon-search::before {
  font-size: 1.25rem;
  font-weight: bold;
  color: #fff;
}
#imageModal_jform_images_image_intro {
  background-color: rgba(255,255,255,0.8);
}
#adminForm  {
  border-bottom: 2px solid var(--theme-dark);
  padding: 0 0 3.75rem;
  background-color: #fff;
}
#adminForm .btn-toolbar {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}
#adminForm .btn {
  display: inline-block;
  cursor: pointer;
}
#adminForm .editor-xtd-buttons {
  margin-top: 1rem;
}
#adminForm .editor-xtd-buttons .btn {
  margin-bottom: 5px;
}
#adminForm .btn.btn-success,
#adminForm .btn.btn-secondary {
  color: #353b41;
  background-color: #fff;
  border-color: #ced4da;
  line-height: 1.5;
  color: #22262a;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  padding: .6rem 1rem;
  font-size: 1rem;
  border: 1px solid transparent;
  border-color: #ced4da;
  border-radius: .25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  margin-right: 0.5em;
}
#adminForm .btn.btn-success,
#adminForm .btn-check:focus + .btn-success, 
#adminForm .btn-success:focus, 
#adminForm .btn-success:hover {
  background-color: #3a6f3a;
  color: #fff;
  margin-right: 1em;
  border: 1px solid transparent;
}
#adminForm .btn-secondary:focus, 
.btn-secondary:hover {
  color: #353b41;
  background-color: #f9fafb;
}
#adminForm .icon-vcard::before {
  content: "\f2bb";
}
#adminForm button.choices__button_joomla {
  margin-left: 1rem;
}
#adminForm caption.sr-only {
 display: none;
}
#adminForm .btn-close.novalidate {
  box-sizing: content-box;
  width: 1em;
  height: 1em;
  padding: .25em;
  color: #000;
  background: transparent url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3E%3C/svg%3E") 50%/1em auto no-repeat;
  border: 0;
  border-radius: .25rem;
  opacity: .5;
}
.edit.item-page .mb-2 {
  margin-top: 1rem;
}
.edit.item-page .btn {
  color: #fff;
  border: 1px solid transparent;
  border-radius: .25rem;
  font-size: 1rem;
  line-height: 1.5;
  padding: .6rem 1rem;
  text-align: center;
  text-decoration: none;
  user-select: none;
  vertical-align: middle;
}
.edit.item-page .btn.btn-primary {
  background-color: var(--theme-dark);
}
.edit.item-page .btn.btn-danger {
  background-color: var(--theme-danger);
}
/* for Articles Anywhere dialog */
.modal-dialog {
  position: relative;
  width: auto;
  margin: .5rem;
  pointer-events: none;
}
.modal-dialog {
  max-width: 500px;
  margin: 1.75rem auto;
}
.modal-dialog.jviewport-width80 {
  width: 80vw;
  max-width: none;
}
.modal.fade .modal-dialog {
  transition: transform .3s ease-out,-webkit-transform .3s ease-out;
}
.modal.show .modal-dialog {
  transform: none;
  top: 7rem;
}
.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: .3rem;
  outline: 0;
}
.modal-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #dfe3e7;
  border-top-left-radius: calc(.3rem - 1px);
  border-top-right-radius: calc(.3rem - 1px);
}
.modal-header {
  padding: 0 15px;
}
.modal-title {
  font-weight: normal;
  line-height: 3rem;
  margin-bottom: 0;
}
.modal-header .btn-close {
  padding: .5rem;
  margin: -.5rem -.5rem -.5rem auto;
}
.jviewport-height70 {
  height: 70vh;
}
.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 1rem;
}
.modal iframe {
  width: 100%;
}
[class*="jviewport-height"] iframe {
  height: 100%;
}
iframe {
    border: 0;
}
.modal-footer {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-end;
  padding: .75rem;
  border-top: 1px solid #dfe3e7;
  border-bottom-right-radius: calc(.3rem - 1px);
  border-bottom-left-radius: calc(.3rem - 1px);
}
.modal .fade {
    transition: opacity .15s linear;
}
#adminForm fieldset {
  padding: 0;
  border: none;
}
#adminForm .choices[data-type*="select-one"] .choices__button_joomla {
  position: absolute;
  top: 50%;
  right: 0;
  width: 20px;
  height: 20px;
  padding: 0;
  margin-top: -10px;
  margin-right: 50px;
  border-radius: 10em;
  opacity: 1;
}
#adminForm .choices__item--selectable {
  cursor: pointer;
}
#adminForm .choices__list--single .choices__item {
  width: 100%;
}
#adminForm .choices[data-type*="select-one"] .choices__item {
  display: flex;
  justify-content: space-between;
}
#adminForm .choices__button_joomla::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  text-align: center;
  text-indent: 0;
  content: "×";
}
#adminForm .choices__button_joomla {
  text-indent: -9999px;
  background: none;
  border: 0;
  appearance: 0;
}
.modal .btn-primary:not([href]), 
.modal .btn-primary:not([href]):hover, 
.modal .btn-success:not([href]), 
.modal .btn-success:not([href]):hover {
  color: #fff;
}
/* image editor */
.modal-header {
  align-items: center;
  border-bottom: 1px solid #dfe3e7;
  border-top-left-radius: calc(.3rem - 1px);
  border-top-right-radius: calc(.3rem - 1px);
  display: flex;
  flex-shrink: 0;
  justify-content: space-between;
  padding: 0 15px;
}
.modal-content {
  background-clip: padding-box;
  background-color: #fff;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: .3rem;
  display: flex;
  flex-direction: column;
  outline: 0;
  pointer-events: auto;
  position: relative;
  width: 100%;
}
.modal-title {
  line-height: 3rem;
  margin-bottom: 0;
}
.modal-header .btn-close {
  margin: -.5rem -.5rem -.5rem auto;
  padding: .5rem;
}
.field-media-wrapper .modal div.modal-body {
  max-height: 100% !important;
  width: 100%;
  overflow: hidden;
  padding: 0;
}
.jviewport-height60 {
    height: 60vh;
}
@media only screen and (max-width: 300px) {
  .prev, .next, .text {font-size: 0.85rem;
    color: #fff;
  }
}
@media only screen and (min-width: 475px){
  .sidenav ~ .mainmenu-wrapper .mainmenu-row .search {
    display: block;
    position: absolute;
    top: -2rem;
    right: 1rem;
    padding-right: 0;
  }
}
@media only screen and (min-width: 576px){
  .container{
    max-width: 767.999999px;
  }
    .col-sm-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-sm-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-sm-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-sm-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-sm-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-sm-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-sm-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-sm-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-sm-11 {
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .d-sm-none{
  display: none;
  }
  .d-sm-block {
    display: block;
  }
  .d-sm-inline {
    display: inline;
  }
  .d-sm-inline-block {
    display: inline-block;
  }
  .top-spacer {
    padding-top: 5rem;
  }
  .header-sitetitle {
    font-size: 2rem;
    padding-top: 1rem;
  }
  .header-row {
    min-height: 100px;
}
  .mySlides img {
    height: 280px;
  }
  .gallery {
    min-height: 328px;
  }
}
@media only screen and (min-width: 768px){
  .container {
    max-width: 991.999999px;
  }
  .d-md-flex {
    display: flex;
  }
  .d-md-none{
  display: none;
  }
  .d-md-block {
    display: block;
  }
  .d-md-inline {
    display: inline;
  }
  .d-md-inline-block {
    display: inline-block;
  }
  .col-md {
    flex: 1;
    max-width: 100%;
  }
  .col-md-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-md-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-md-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-md-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-md-11 {
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  [class^="col-"]:first-child {
    padding-left: 0;
    padding-right: 1rem;
  }
  .w-50 {
    width: 50%;
  }
  .w-25 {
    width: 25%;
  }
  .header-row {
    padding: 16px 0 0;
    margin-bottom: 0;
    border-bottom: none;
    min-height: 100px;
  }
  .header {
    display: flex;
  }
  .top-spacer {
    margin-top: 8.5rem;
    padding-top: 0;
  }
  .logo {
    display: block; 
  }
  .header-sitetitle {
    font-size: 2.75rem;
    line-height: 2.75rem;
    margin-bottom: 0.5rem;
    padding-top: 1.5rem;
  }
  .header-sitesubtitle {
    font-size: 1.2rem;
  }
  .search {
    float: right;
  }
  .col-auto.topheader {
   padding-top: 1rem; padding-right: 1rem;
  }
  .mainmenu-wrapper {
    margin: 0 auto 2rem;
  }
  .mm .menu-a > .li:first-child,  
  .closenavbtn,
  .trigram,
  .trigramborder,
  .sidenav,
  .sidenav-opened {
    display: none;
    width: 0;
  }
  .closebtn {
    display: none;
    visibility: hidden;
  }
  .col-md-2.md-menu-outer,
  .col.md-menu-outer {
    justify-content: center;
    padding: 0;
    border-bottom: 5px solid var(--theme-dark);
  }
  .mod-finder {
    float: right;
  }
  .main-menu {
    background-color: transparent;
    padding: 0;
  }
  .search {
    margin-top: 1rem;
  }
  .sidenav ~ .shadowwrapper .mainmenu-wrapper {
    position: unset;
  }
  .sidenav ~ .shadowwrapper .mainmenu-wrapper .mainmenu-row .md-menu-outer{
    display: flex;
  }
  .mm img {
    position: relative;
    top: 10%;
  }
  .mm span.div-line {
    display: none;
  }
  .mm .menucontent.menu-a {
    position: relative;
    padding: 0;
    margin: 0 auto;
    display: flex;
  }
  .mm .menucontent.menu-a,
  .mm .menucontent.menu-b {
    flex-direction: row;
    justify-content: space-between;
  }
  .mm .menucontent.menu-b.e-menu {
    flex-direction: column;
  }
  .mm div [class^="ul level"] {
    background-color: #fff;
    margin-bottom: 0;
    padding: 0;
  }
  .mm div.ul.level-1 {
    position: absolute;
    top: 100%;
    left: 1.5rem;
    margin-top: 0;
    box-shadow: 0 2px 5px #acaaaa;
    padding: 0 0.5rem;
    white-space: nowrap;
  }
  .mm div.ul.level-2 {
    padding-left: 1.5rem;
  }
  .mm .li {
    border-top: none;
  }
  .mm div.ul li:not(.top-level):last-child {
    padding-bottom: 0.5rem;
  }
  .mm .li.top-level {
    display: flex;
    align-items: center;
    white-space: normal;
    padding: 0 1rem 0;
  }
  .mm .li.top-level:nth-child(2) {
    padding: 0 1rem 0 0;
  }
  .mm .li.top-level:last-child {
    padding: 0 0 0 1rem;
  }
  .mm .li.top-level:last-child > div.ul {
    float: right;
  }
  .mm .li.top-level > a {
    margin: 0;
    padding: 0.25rem 0 0 0;
    height: 1.5rem;
  }
  .mm .li.top-level.active > a {
    font-weight: normal;
    text-decoration: underline;
  }
  .mm .li.top-level > span {
    padding: 0.55rem 0 0.45rem;
  }
  .mm .li.top-level.single.parent > a {
    padding: 0.5rem 0 0 0;
  }
  .mm li:not(.top-level) {
    padding: 0.5rem 1rem;
  }
  .mm .li.divider,
  .mm .li.separator-line {
    position: relative;
    min-height: 0;
    height: 1rem;
    display: inline-block;
    width: 100%;
    padding: 0 0 0 0.5rem;
  }
  .mm .li.separator-line a,
  .mm .li.separator-line span {
    display: none;
  }
  .mm .li.separator-line::after {
    position: absolute;
    height: 0;
    top: 60%;
    width: calc(100% - 1rem);
    border-top: 1px solid var(--medium-grey);
    border-bottom: 1px solid var(--light-grey);
    margin: 0 0;
    content: "";
  }
  .mm .li.top-level > a + [type="button"]::after,
  .mm .li.top-level > [type="button"]::after,
  .mm .li.top-level > [type="button"] span,  
  .mm .li.top-level > a {
    transition: none;
  }
  .mm .li.top-level.active > [type="button"] span.h-open-icon,
  .mm [type="button"].opened, 
  .mm .li.top-level > a:hover + [type="button"]::after,
  .mm .li.top-level > [type="button"]:hover::after,
  .mm .li.top-level > [type="button"]:hover span,   
  .mm .li.top-level > a:hover,
  .mm .li.current > a,
  .mm .li.top-level.active > a {
    color: var(--theme-medium);
    transition: none;
    text-decoration: none;
    font-weight: normal;
  }
  .mm .li.current > a,
  .mm .li.top-level.active > a {
    font-weight: bold;
  }
  .mm .li a:hover + [type="button"]::after,
  .mm .li [type="button"]:hover::after,
  .mm .li:not(.top-level) a:hover {
    font-weight: normal;
    color: var(--theme-dark);
  }
  .mm .menucontent > li:last-child {
    border-bottom: none;
  }
  .mm .li .h-open-icon {
    display: inline;
    font-size: 1rem;
    padding: 0 0 0 1rem;
    top: 2px;
  }
  .mm .li .linked .h-open-icon {
    top: 0;
  }
  .mm .li.top-level > span.h-open-icon,
  .mm .li[class^="btn-level"] span.h-open-icon {
    display: inline;
    font-size: 1rem;
    padding-left: 1rem;
  }
  .mm .li div.ul .li button[class^="btn-level"] > .h-open-icon {
    padding-bottom: 0.75rem;
  }
  .mm .li.top-level > button > span.h-open-icon {
    padding-bottom: 0.25rem;
  }
  .mm .li .linked .h-open-icon,
  .mm .li.top-level .linked > button > span.h-open-icon{
    top: 0;
    padding-bottom: 0;
  }
  .mm .li .v-open-icon {
    display: none;
  }
  .mm .li:not(.top-level) a {
    color: var(--theme-medium);
  }
  .col-md.contentleft {
     padding-right: 0;
  }
  .col-md.contentright {
    padding-left: 0;
    padding-right: 0;
  }
  .contentboth {
    padding-left: 1rem;
    padding-right: 0;
  }
  .leftsidebar {
    margin-right: 0; 
    margin-left: 0; 
    padding: 0.5rem 1rem 0; 
  }
  .rightsidebar,
  .centenary-blog-mod {
    margin-left: 0;
    margin-right: 0;
    padding: 0.5rem 1rem 1rem;
    background-color: var(--theme-lightest);
  }
  .featurebottom,
  .featuretop {
    padding: 0 0.5rem 0;
  }
  .featurebottom:first-child,
  .featuretop:first-child {
    padding-left: 0;
  }
  .featurebottom:last-child,
  .featuretop:last-child {
    padding-right: 0;
  }
  .footer [class^="col-"]:first-child {
    padding-left: 0;
  }
  .footer [class^="col-"]:last-child {
    padding-right: 0;
  }
  .footer-menu li a {
    font-size: 0.9rem;
    line-height: 1.5rem;
  }
  .footer .footer_moduletable,
  .footer .footer_moduletable:last-child {
    padding: 0.25rem 0 0.75rem;
  }
  .blog .blog-item.col-md-4,
  .blog .blog-item.col-md-6 {
    padding: 0 0.5rem 1rem;
  }
  .blog .blog-item.col-md-4:first-child,
  .blog .blog-item.col-md-6:first-child,
  .blog .blog-item.col-md-6:nth-child(odd),
  .blog .blog-item.col-md-4:nth-child(3n + 1){
    padding-left: 0;
  }
  .blog .blog-item.col-md-4:nth-child(3n),
  .blog .blog-item.col-md-6:nth-child(2n){
    padding-right: 0;
  }
  .error {
    min-height: 400px;
  }
  .mySlides img {
    height: 450px;
  }
  .gallery {
    min-height: 423px;
  }
  .diary-next .event-image.col-md-5 {
    padding: 0 16px 0 0;
  }
  .diaryblogrow,
  .diaryasblog-container {
    background-color: white;
    display: grid;
    column-gap: 1.5rem;
    row-gap: 0.5rem;
    grid-template-columns: repeat( auto-fit, minmax(250px, 1fr) );
    margin-bottom: 0;
  }
  .home-col-container {
    background-color: white;
    display: grid;
    column-gap: 1rem;
    row-gap: 1rem;
    grid-template-columns: repeat( auto-fit, minmax(325px, 1fr) );
    margin-bottom: 0;
  }
  .home-col-container .item-content {
    margin-bottom: 0;
  }
}
@media only screen and (min-width: 992px){
  .container {
    max-width: 1199.999999px;
  }
    .col-lg-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-lg-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-lg-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-lg-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-lg-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-lg-11 {
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .d-lg-none{
  display: none;
  }
  .d-lg-block {
    display: block;
  }
  .d-lg-inline-block {
    display: inline-block;
  }
  .d-lg-inline {
    display: inline;
  }
  .shadowwrapper {
    border-bottom: none;
    min-height: 1000px;
  }
  .header-sitetitle {
    font-size: 2.75rem;
  }
  .sidenav ~ .shadowwrapper .mainmenu-wrapper .mainmenu-row .search {
    position: unset;
    padding-right: 1rem;
    margin-top: 0.5rem;
  }
  .mm .menucontent.menu-a,
  .mm .menucontent.menu-b {
    justify-content: center;
  }
  .mm .menu-a > .li.top-level:last-child > button.opened + div.ul {
    position: absolute;
    right: 0;
    display: table;
    z-index: 990;
    margin-right: 0;
    margin-left: auto;
  }
  .mm.edmenu .menu-a > .li.top-level:last-child > button.opened + div.ul {
    left: 0;
    margin-right: auto;
    margin-left: 0;
  }
  .search-wrapper {
    top: 5rem;
  }
  .mainContent {
   min-height: 1000px;
  }
  .contentright{
    padding-right: 1rem;
  }
  .col-md.contentboth {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .col-md.contentright{
    padding-right: 1rem;
    padding-left: 0;
  }
  .gallery {
    min-height: 520px;
  }
  .mySlides img {
    height: 450px;
  }
  .gallery {
    min-height: 520px;
  }
}
@media only screen and (max-width: 1199.999999px) {
  .sidebar-grid {
    display: grid;
    column-gap: 1.5rem;
    row-gap: 0.5rem;
    grid-template-columns: repeat( auto-fit, minmax(200px, 1fr) );
    margin-bottom: 0;
  }
}
@media only screen and (min-width: 1200px){
  .container {
    max-width: 100%;
  }
  .col-xl-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-xl-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-xl-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-xl-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-xl-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-xl-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-xl-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-xl-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-xl-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-xl-11 {
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-xl-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .d-xl-none {
  display: none;
  }
  .d-xl-block {
    display: block;
  }
  .d-xl-inline {
    display: inline;
  }
  .d-xl-inline-block {
    display: inline-block;
  }
  .shadowwrapper { 
    width: 80%;
    max-width: 1332px;
    box-shadow: 0 5px 7px 7px rgba(184, 185, 190, 0.80);
  }
  .col-xs.topheader {
    padding-right: 0;
  }
  .col-md.contentleft {
    padding-right: 0;
    padding-left: 1rem; /*if sidebar-left is col-xl-3 */
  }
  .logo {
    padding-left: 0;
  }
  .sidenav ~ .shadowwrapper .mainmenu-wrapper .mainmenu-row .search {
    padding-right: 0;
  }
  .search {
    padding-right: 0;
  }
  .mm .li.top-level,
  .mm .li.top-level.parent,
  .mm .li.top-level.heading {
    padding: 0 30px;
  }
  .mm .li.top-level:first-child,
  .mm .li.top-level.parent:first-child {
    padding: 0 0;
  }
  .mm .li.top-level:last-child {
    padding: 0 0 0 36px;
  }
  .mm .menu-a > .li.top-level:last-child > button.opened + div.ul {
    position: absolute;
    right: 0;
    display: table;
    z-index: 990;
    margin-right: 0;
    margin-left: auto;
  }
  #editor  .mm .menu-a > .li.top-level:last-child > button.opened + div.ul {
    right: unset;
    left: 0;
  }
  .with-border .sidebarcontent{
    padding: 1rem 0;
  }
  .no-border .sidebarcontent {
    padding: 1rem;
  }
  .com-content-category-blog {
    padding: 0;
  }
  .footer-wrapper { 
   width: 80%;
   max-width: 1300px; /*1332px; with border */
   }
  .with-border .footer-wrapper { 
   width: 80%;
   max-width: 1332px;
   }
  .footer-wrapper {
    padding: 1rem 0 0;
  }
}
/* FRONT-END MEDIA UPLOAD */
.joomla-dialog-header {
    border-bottom: 1px solid var(--border-color);
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    display: flex;
    position: relative;
}
.joomla-dialog-header .header-icon {
    margin-inline-end: .375rem;
    font-size: 1.75rem;
}
.icon-picture:before, .icon-pictures:before {
    content: "";
}
.joomla-dialog-container .buttons-holder {
    justify-content: flex-end;
    align-items: center;
    margin-inline-start: auto;
    display: flex;
}
.joomla-dialog-container .buttons-holder button {
    margin-inline: .375rem;
}
button:not(:disabled), [type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled) {
    cursor: pointer;
}
.joomla-dialog-header .btn-success,
.joomla-dialog-header .btn-close {
  margin: 0 6px;
  width: auto;
  padding: 9.6px 16px;
  display: inline-block;
  font-size: 1rem;
  line-height: 1.5rem;
  border-radius: .25rem;
}
.joomla-dialog-header .btn-success {
  color: #fff;
  background-color: var(--theme-medium);
  border: 1px solid var(--theme-medium);
}
.joomla-dialog-header .btn-close {
  border: 1px solid var(--theme-danger);
  background-color: var(--theme-danger);
}
.btn-close::after {
  content: "X";
  color: #fff;
}
/* EDITOR LOGIN */
#com-users-login__form .form-control,
#com-users-login__form .input-group {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  position: relative;
}
#com-users-login__form .form-control.validate-username {
  width: 100%;
  box-sizing: border-box;
}
#com-users-login__form .input-group > .form-control,
#com-users-login__form .form-control.validate-username {
  flex: auto;
}
#com-users-login__form #username,
#com-users-login__form #password {
  border: 1px solid var(--light-grey);
  border-radius: 0.4rem;
  padding: 0.6rem 1rem;
  line-height: 1.5;
  margin-bottom: 0;
}
#com-users-login__form #password {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
#com-users-login__form .input-password-toggle {
  border: 1px solid var(--light-grey);
  border-radius: 0.4rem;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: 0;
  line-height: 1.5;
  margin-left: -1;
  padding: 0rem 1rem;
}
#com-users-login__form .com-users-login__submit .btn.btn-primary {
  margin: 1rem 0;
  font-size: 1.25rem;
  padding-bottom: 3px;
}
.btn.btn-secondary.plg_system_webauthn_login_button {
  border: 1px solid var(--light-grey);
  border-radius: .25rem;
  line-height: 1.5;
  margin: 1rem 0;
  text-align: center;
  vertical-align: middle;
}
.plg_system_webauthn_login_button svg {
  width: 30px;
  margin: 4px;
  vertical-align: middle;
}
.btn.btn-secondary.plg_system_webauthn_login_button {
    display: none;
}
