@media only screen and (max-width: 768px) { /* Or whatever breakpoint you want for "mobile" */
    .hide-on-mobile { 
        display: none !important; 
    }
}
.topmargin {
  margin-top: 20px;
}
#t4-header .container {
    background: url(../images/template/header.gif) 0 bottom repeat-x;
}

.t4-col.main-menu-center .t4-navbar .navbar{float: none;}
.t4-col.main-menu-center ul.nav.navbar-nav{width: 100%;justify-content: space-around;}

h2.item-title {
  padding: 15px 0 5px 0;
  margin-bottom: 15px;
  background: url(../images/sep.gif) no-repeat bottom right;
  font-size: 200%;
  font-weight: bold;
}

.module-title {
    font-size: var(--heading-font-size);
    font-weight: var(--heading-font-weight);
    text-transform: capitalize;
}

.page-header h1 {
    font-size: 3rem;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: capitalize;
    font-weight: bold;
    color: #660066;
}

.ja-bot-name {
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-top: 10px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

.ja-bot-top {
    text-transform: capitalize;
    text-align: center;
    margin-top: 10px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
    color: #999999;
}
.contact-bold {
    font-weight: bold;
    font-size: 24px;
    line-height: normal;
    color: #660066;
}

.navbar-nav {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
}

.t4-navbar::after {
  display: block;
  content: "";
  background: url(../images/subnav-bg-wide.gif) repeat top left;
  padding: 4px 0;
  clear: both;
}

.t4-module .nav li {
  text-transform: capitalize;
  display: inline;
  margin-right: 10px;
}

.t4-module .nav li a {
  text-transform: capitalize;
  display: inline;
  margin-right: 10px;
}

.module-ct ul:last-child {
  display: inline;
  margin-right: 10px;
} 

@media (min-width: 992px) {
  .t4-megamenu .dropdown-menu {
    background: #2e2e2e;
  }
}

.t4-megamenu .navbar-nav > li > a:hover, .t4-megamenu .navbar-nav > li > a:focus, .t4-megamenu .navbar-nav > li > a:active,
.t4-megamenu .navbar-nav > li > .nav-link:hover,
.t4-megamenu .navbar-nav > li > .nav-link:focus,
.t4-megamenu .navbar-nav > li > .nav-link:active {
  background: url(../../images/arrow3.gif) no-repeat bottom center;
}

.t4-megamenu .navbar-nav > li.show > a,
.t4-megamenu .navbar-nav > li.show > .nav-link {
  background-color: #2e2e2e;;
}

.dropdown-item:hover, .dropdown-item:focus {
  color: #ffffff;
  font-weight: bold;
  background-color: #2e2e2e;
}
.t4-masthead .container {
  padding-top: 0;
  padding-bottom: 0;
}
.t4-main-body {
    padding-top: 0;
    padding-bottom: 0;
}

body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: regular;
  line-height: 17px;
  color: #4F4F4F;
}

.acym_module_form input {
  font-size: 12px;
}

.touch a {
  color: #9250d0;
  text-shadow: none;
  background-color: #2e2e2e;
  background-image: -moz-linear-gradient(top, #343434, #262626);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#343434), to(#262626));
  background-image: -webkit-linear-gradient(top, #343434, #262626);
  background-image: -o-linear-gradient(top, #343434, #262626);
  background-image: linear-gradient(to bottom, #343434, #262626);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff343434', endColorstr='#ff262626', GradientType=0);
  border-color: #262626 #262626 #000000;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  *background-color: #262626;
  /* Darken IE7 buttons by default so they stand out more given they won't have borders */

  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  float: right;
  margin-left: 20px;
  font: 14px/18px asapregular;
  padding: 5px 12px 4px 31px;
  line-height: 32px;
  border: 1px solid #2c2c2c;
}
.touch a:hover,
.touch a:active,
.touch a.active,
.touch a.disabled,
.touch a[disabled] {
  color: #9250d0;
  background-color: #262626;
  *background-color: #191919;
}
.touch a:active,
.touch a.active {
  background-color: #0c0c0c \9;
}
.touch a:after {
  float: right;
  content: url(../images/template/touch.png);
  width: 37px;
  height: 32px;
  margin-left: 23px;
}
.touch a:hover {
  color: #9250d0;
  text-shadow: none;
  background-color: #2c2c2c;
  background-image: -moz-linear-gradient(top, #262626, #343434);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#262626), to(#343434));
  background-image: -webkit-linear-gradient(top, #262626, #343434);
  background-image: -o-linear-gradient(top, #262626, #343434);
  background-image: linear-gradient(to bottom, #262626, #343434);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff262626', endColorstr='#ff343434', GradientType=0);
  border-color: #343434 #343434 #0e0e0e;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  *background-color: #343434;
  /* Darken IE7 buttons by default so they stand out more given they won't have borders */

  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
.touch a:hover:hover,
.touch a:hover:active,
.touch a:hover.active,
.touch a:hover.disabled,
.touch a:hover[disabled] {
  color: #9250d0;
  background-color: #343434;
  *background-color: #272727;
}
.touch a:hover:active,
.touch a:hover.active {
  background-color: #1a1a1a \9;
}

.copyright {
  font: 11px/18px arial;
  margin-top: 20px;
  margin-bottom: 20px;
}

.t4-megamenu .dropdown-menu li > a:hover, .t4-megamenu .dropdown-menu li > a:focus, .t4-megamenu .dropdown-menu li > a:active,
.t4-megamenu .dropdown-menu li > .nav-link:hover,
.t4-megamenu .dropdown-menu li > .nav-link:focus,
.t4-megamenu .dropdown-menu li > .nav-link:active,
.t4-megamenu .dropdown-menu li .dropdown-item:hover,
.t4-megamenu .dropdown-menu li .dropdown-item:focus,
.t4-megamenu .dropdown-menu li .dropdown-item:active {
  background-color: #2e2e2e;
  font-weight: bold;
  color: var(--mainnav-link-hover-color);
}
/* Imported the ja-botnav and ja-footer from the ja-rochea Joomla 1.5 template
--------------------------------------------------------- */
#ja-botnavwrap {
    /* CSS added to centre vert and horiz */
    padding: 1rem 1rem;
}

#bottom-site-name {
    /* CSS added to centre vert and horiz */
    padding: 1rem 1rem;
}

#ja-botnav {
	padding: 0 15px;
	background: url(../images/botnav-bg.gif) repeat-y top left #F1F1F1;
	overflow: hidden;
    display: inline-block;
}

#ja-botnav ul {
	margin: 0;
	padding: 0;
    display: inline-block;
}

#ja-botnav li {
	margin-right: 10px;
	padding: 0;
	list-style: none;
	background: none;
	display: inline-block;
}

#ja-botnav a {
	color: #999999;
	display: block;
	float: left;
	padding: 5px 10px;
	text-decoration: none;
}

#ja-botnav a:hover, #ja-botnav a:active, #ja-botnav a:focus {
	background: url(../images/botnav-a-hover.gif) repeat-x center top;
	color: #4F4F4F;
}

#ja-botnavwrap small {
	width: 170px;
	float: left;
	display: block;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 90%;
	text-align: center;
	margin-top: 7px;
	overflow:hidden;
}

* html #ja-botnavwrap small { /* IE 6 */
	width: 167px;
}

.wide #ja-botnavwrap small {
	width: 214px;
	letter-spacing: 3px;
}

* html .wide #ja-botnavwrap small { /* IE 6 */
	width: 211px;
}

#ja-botnav ul.accessibility {
	float: right;
	position: relative;
	top: auto;
}

/* FOOTER
--------------------------------------------------------- */
#ja-footer {
	padding: 10px 0;
	background: url(../images/container-bg.gif) repeat-y 170px 0;
}

.wide #ja-footer {
	background: url(../images/container-bg.gif) repeat-y 214px 0;
}

#ja-footer a {
	color: #999999;
}

#ja-footer a:hover,
#ja-footer a:active,
#ja-footer a:focus {
	color: #4F4F4F;
}

#ja-footer small {
	padding: 0 15px;
	margin-left: 180px;
	display: block;
}

.wide #ja-footer small {
	margin-left: 225px;
}