/* To stop menu dropdowns in mobile menu getting cut off by content (may be able to remove in future versions) */
.collapse.in {
overflow: visible;
}

body.site {
border-top: transparent;
background: #bdde9c;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
background-size: 100% 100%;
}

.container {
max-width: 980px;
}

.body .container {
-webkit-box-shadow: rgba(0, 0, 0, 0.8) 0 0 10px;
box-shadow: rgba(0, 0, 0, 0.8) 0 0 10px;
border-radius: 10px;
position: relative;
}

table.custom {
font-size: 13px;
border: 2px solid #ccc;
border-collapse: collapse;
margin-bottom: 20px;
}

table.custom th, table.custom td {
border: 1px solid #ccc;
padding: 5px;
}

table.custom th {
background-color: #f5f5f5;
}

table.custom th.main {
background: rgba(32,147,40,0.1);
}

table.custom h5 {
text-align: center;
}

table.custom h6 {
text-align: left;
}

/* self-defined p classes - with left-only border and no background */

/*

p.note {
font-size: 14px;
color: #8B4513;
font-family: Tahoma, Geneva, sans-serif;
padding-left: 10px;
border-left: solid #8B4513 2px;
padding-right: 10px;
border-right: solid #8B4513 2px;
}

p.def {
font-size: 18px;
color: #00008B;
font-family: Tahoma, Geneva, sans-serif;
padding-left: 10px;
border-left: solid #00008B 2px;
padding-right: 10px;
border-right: solid #00008B 2px;
}

p.def > a, p.def > strong > a {
color: #209328;
}

p.warn {
font-size: 14px;
color: #8B0000;
font-family: Tahoma, Geneva, sans-serif;
padding-left: 10px;
border-left: solid #8B0000 2px;
padding-right: 10px;
border-right: solid #8B0000 2px;
}

*/

/* self-defined p classes - with full borders and background */

/*

p.note {
font-size: 14px;
color: #B22222;
font-family: Tahoma, Geneva, sans-serif;
padding: 10px;
margin-left: 20px;
margin-right: 20px;
border-radius: 4px;
background: rgba(255, 255, 186, 0.3);
border: solid #DEDE00 2px;
}

p.def {
font-size: 20px;
color: #00008B;
font-family: Tahoma, Geneva, sans-serif;
padding: 10px;
border-radius: 4px;
background: rgba(148, 219, 255, 0.3);
border: solid #94DBFF 2px;
}

p.def > a, p.def > strong > a {
color: #209328;
}

p.warn {
font-size: 14px;
color: #8B0000;
font-family: Tahoma, Geneva, sans-serif;
padding: 10px;
margin-left: 20px;
margin-right: 20px;
border-radius: 4px;
background: rgba(255, 51, 0, 0.3);
border: solid #FF3300 2px;
}

*/

p.sitelinks {
font-size: 13px;
text-align: center;
}

img.sias {
display: block;
width: 100px;
height: 96px;
/* margin-left: auto;
margin-right: auto; */
}

a {
color: #1565B2;
}

em, a:hover, a:focus {
color: #209328;
}

ul li {
list-style: url(/images/ball-bullet.png);
}

ul li li { 
list-style: disc;
}

ul.nav li {
list-style: none;
}

.brand {
font-size: 16px;
font-weight: bold;
color: #209328;
background: rgba(250,250,255,0.4);
-webkit-box-shadow: rgba(0, 0, 0, 0.5) 0 0 6px;
box-shadow: rgba(0, 0, 0, 0.5) 0 0 6px;
border-radius: 4px;
padding: 7px 8px 7px 8px;
margin-bottom: 8px;
}

.site-description {
font-size: 26px;
font-family: Tahoma, Geneva, sans-serif;
line-height: 1em;
}

/* .header-search {
color: #209328;
background: rgba(250,250,255,0.4);
-webkit-box-shadow: rgba(0, 0, 0, 0.5) 0 0 6px;
box-shadow: rgba(0, 0, 0, 0.5) 0 0 6px;
border-radius: 4px;
padding: 7px 8px 7px 8px;
width: auto;
} */

/* .cse input.gsc-search-button, input.gsc-search-button {
display: none;
} */

.breadcrumb {
border: solid #d9d9d9 1px;
}

p,ul {
color: #454545;
line-height: 1.5em;
font-size: 16px;
margin-bottom: 16px;
}

ul li {
line-height: 1.5em;
}

h1,h2,h3,h4,h5,h6 {
line-height: 1.2em;
font-family: Tahoma, Geneva, sans-serif;
font-weight: bold;
}

.page-header  {
border-bottom: 0;
padding-top: 0;
padding-bottom: 0;
margin: 0;
}

h4.page-header {
border-bottom: solid 1px #209328;
}

.pagenavcounter {
font-size: 16px;
color: #23A32D;
font-style: italic;
margin-bottom: 8px;
}

h6 {
font-size: 16px;
margin: 10px 0 10px;
}

h5 {
font-size: 18px;
margin: 10px 0 10px;
}

h4 {
font-size: 20px;
margin: 15px 0 10px;
}

h3 {
font-size: 26px;
margin: 20px 0 10px;
}

h2 {
font-size: 32px;
margin: 30px 0 10px;
}

h1 {
font-size: 42px;
margin: 0;
}

h1, h2, h3, h4 {
padding: 3px 8px 3px 0;
}

h1 {
border-bottom: solid #209328 4px;
}

h2 {
border-bottom: solid #209328 3px;
}

h3 {
border-bottom: solid #209328 2px;
}

h4 {
border-bottom: solid #209328 1px;
}

.nav {
margin-bottom: 0;
}

.nav>li {
margin-bottom: 0px;
}

.navigation .nav-tabs>li {
font-weight: bold;
color: #454545;
background-color: #E9F4EA;
border: 1px solid #209328;
border-bottom-color: #209328;
margin-right: 5px;
margin-bottom: 0;
-webkit-border-radius: 4px 4px 0 0;
-moz-border-radius: 4px 4px 0 0;
border-radius: 4px 4px 0 0;
}

.navigation .nav-tabs>li>a {
margin: 0;
color: #454545;
}

.navigation .nav-tabs>li {
border-top: 1px solid #209328;
border-left: 1px solid #209328;
border-right: 1px solid #209328;
border-bottom: 0px;
}

.nav-tabs {
border-bottom: 1px solid #209328;
}

.navigation .nav-pills {
padding-bottom: 2px;
border-bottom: 1px solid #ddd;
}

.nav-pills>li {
font-size: 14px;
line-height: 1em;
}

.nav-pills>li>a {
margin-bottom: 0;
}

.article-index {
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: rgba(0, 0, 0, 0.5) 0 0 3px;
box-shadow: rgba(0, 0, 0, 0.5) 0 0 3px;
}

.nav-stacked>li {
margin: 0;
}

.nav-tabs.nav-stacked>li>a {
border-color: #ddd;
background-color: #fff;
cursor: pointer;
}

.nav-tabs.nav-stacked>.active>a {
color: #1565B2;
}

.navigation .nav-tabs>.active>a:hover, .nav-tabs>.active>a:focus {
color: #fff;
}

.navigation {
padding: 0;
border: 0;
margin-bottom: 5px;
}

.nav-child>.current.active>a, #aside > nav.well > ul > li.current.deeper.parent > a, #aside > nav.well > ul > li.current > a, #aside > nav.well > ul > li > ul > li.current > a {
font-weight: bold;
font-style: italic;
}

.nav.menu>li>a {
padding-left: 10px;
padding-right: 10px;
}

#aside .nav .nav-child {
margin-left: 10px;
border-left: solid 1px #209328;
}

.well {
background-color: #E9F4EA;
border: solid #209328 1px;
margin-top: 10px;
overflow: hidden;
}

.well .page-header {
margin: 0px 0px 10px;
}

.sidebar-nav {
-webkit-box-shadow: rgba(0, 0, 0, 0.5) 0 0 3px;
box-shadow: rgba(0, 0, 0, 0.5) 0 0 3px;
background-color: #E9F4EA;
margin-top: 30px;
padding: 10px;
}

.well li {
line-height: 1.8em;
}

.pager {
margin: 0;
}

.pager.pagenav {
margin-top: 10px;
margin-bottom: 10px;
}

.pagenav li {
list-style: none;
}

.custombox3 {
background: rgba(250,250,255,0.4);
-webkit-box-shadow: rgba(0, 0, 0, 0.5) 0 0 3px;
box-shadow: rgba(0, 0, 0, 0.5) 0 0 3px;
border-radius: 4px;
padding: 3px 8px 3px 8px;
margin-bottom: 10px;
}

.navigation .nav-tabs>.active>a {
color: #fff;
background-color: #26AB2F;
background-color: #209328;
background-image: -moz-linear-gradient(top,#26AB2F,#209328);
background-image: -webkit-gradient(linear,0 0,0 100%,from(#26AB2F),to(#209328));
background-image: -webkit-linear-gradient(top,#26AB2F,#209328);
background-image: -o-linear-gradient(top,#26AB2F,#209328);
background-image: linear-gradient(to bottom,#26AB2F,#209328);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff26AB2F', endColorstr='#ff209328', GradientType=0);
border-color: #209328;
cursor: pointer;
}

.nav-pills>.active>a {
background-color: #26AB2F;
background-color: #209328;
background-image: -moz-linear-gradient(top,#26AB2F,#209328);
background-image: -webkit-gradient(linear,0 0,0 100%,from(#26AB2F),to(#209328));
background-image: -webkit-linear-gradient(top,#26AB2F,#209328);
background-image: -o-linear-gradient(top,#26AB2F,#209328);
background-image: linear-gradient(to bottom,#26AB2F,#209328);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff26AB2F', endColorstr='#ff209328', GradientType=0);
}

.nav.menu>.active>a {
color: #fff;
background-color: #26AB2F;
background-color: #209328;
background-image: -moz-linear-gradient(top,#26AB2F,#209328);
background-image: -webkit-gradient(linear,0 0,0 100%,from(#26AB2F),to(#209328));
background-image: -webkit-linear-gradient(top,#26AB2F,#209328);
background-image: -o-linear-gradient(top,#26AB2F,#209328);
background-image: linear-gradient(to bottom,#26AB2F,#209328);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff26AB2F', endColorstr='#ff209328', GradientType=0);
}

/* Blue gradient for hover/focus menu items - css code taken from original template css - may want to check whether code has changed in future */

.nav > li > a:hover, .nav>li>a:focus, .nav > .active> a:hover, .nav > .active> a:focus {
text-decoration: none;
color: #fff;
background-color: #08c;
background-color: #0081c2;
background-image: -moz-linear-gradient(top,#08c,#0077b3);
background-image: -webkit-gradient(linear,0 0,0 100%,from(#08c),to(#0077b3));
background-image: -webkit-linear-gradient(top,#08c,#0077b3);
background-image: -o-linear-gradient(top,#08c,#0077b3);
background-image: linear-gradient(to bottom,#08c,#0077b3);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0076b2', GradientType=0);
border-color: #209328;
}

.nav-pills > li > a:hover, .nav-pills > li > a:focus, .nav-pills>.active>a:hover, .nav-pills>.active>a:focus {
text-decoration: none;
color: #fff;
background-color: #08c;
background-color: #0081c2;
background-image: -moz-linear-gradient(top,#08c,#0077b3);
background-image: -webkit-gradient(linear,0 0,0 100%,from(#08c),to(#0077b3));
background-image: -webkit-linear-gradient(top,#08c,#0077b3);
background-image: -o-linear-gradient(top,#08c,#0077b3);
background-image: linear-gradient(to bottom,#08c,#0077b3);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0076b2', GradientType=0);
}

.nav-tabs > li > a:hover, .nav-tabs > li > a:focus, .nav-tabs>.active>a:hover, .nav-tabs>.active>a:focus {
text-decoration: none;
color: #fff;
background-color: #08c;
background-color: #0081c2;
background-image: -moz-linear-gradient(top,#08c,#0077b3);
background-image: -webkit-gradient(linear,0 0,0 100%,from(#08c),to(#0077b3));
background-image: -webkit-linear-gradient(top,#08c,#0077b3);
background-image: -o-linear-gradient(top,#08c,#0077b3);
background-image: linear-gradient(to bottom,#08c,#0077b3);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0076b2', GradientType=0);
border-color: #209328;
}

.pager > ul > li > a:hover, .pager > ul > li > a:focus {
text-decoration: none;
color: #fff;
background-color: #08c;
background-color: #0081c2;
background-image: -moz-linear-gradient(top,#08c,#0077b3);
background-image: -webkit-gradient(linear,0 0,0 100%,from(#08c),to(#0077b3));
background-image: -webkit-linear-gradient(top,#08c,#0077b3);
background-image: -o-linear-gradient(top,#08c,#0077b3);
background-image: linear-gradient(to bottom,#08c,#0077b3);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0076b2', GradientType=0);
border-color: #209328;
}

.pagenav > li > a:hover, .pagenav > li > a:focus {
text-decoration: none;
color: #fff;
background-color: #08c;
background-color: #0081c2;
background-image: -moz-linear-gradient(top,#08c,#0077b3);
background-image: -webkit-gradient(linear,0 0,0 100%,from(#08c),to(#0077b3));
background-image: -webkit-linear-gradient(top,#08c,#0077b3);
background-image: -o-linear-gradient(top,#08c,#0077b3);
background-image: linear-gradient(to bottom,#08c,#0077b3);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0076b2', GradientType=0);
border-color: #209328;
}

.nav-tabs.nav-stacked>li>a:hover, .nav-tabs.nav-stacked>li>.active>a:hover, .nav-tabs.nav-stacked>li>a:focus, .nav-tabs.nav-stacked>li>.active>a:focus {
text-decoration: none;
color: #fff;
background-color: #08c;
background-color: #0081c2;
background-image: -moz-linear-gradient(top,#08c,#0077b3);
background-image: -webkit-gradient(linear,0 0,0 100%,from(#08c),to(#0077b3));
background-image: -webkit-linear-gradient(top,#08c,#0077b3);
background-image: -o-linear-gradient(top,#08c,#0077b3);
background-image: linear-gradient(to bottom,#08c,#0077b3);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0076b2', GradientType=0);
border-color: #209328;
cursor: pointer;
}

/* Customise Accordeon CK menu on sidebar ("sidebar" module class suffix entered in Joomla module settings */
a.isactive {
font-weight: bold;
}

.accordeonck.sidebar > ul#accordeonck340 li a {
padding-bottom: 0px;
padding-left: 5px;
padding-right: 5px;
padding-top: 0px;
}

.accordeonck.sidebar > ul#accordeonck340 li ul li {
list-style-type: disc;
margin: 0 0 0 0px;
}

/* Customise table of contents module */

.autotoc {
border-color: #209328;
background-color: #E9F4EA;
margin: 0px 0 10px 0;
float: none;
}

/* JB Cookie module customisation */

.jb.cookie.custom {
padding: 4px 0;
z-index: 999999;
}

.jb.cookie.custom p {
font-size: 10px;
margin: 0px;
}

.jb.cookie.custom h2 {
font-size: 12px;
line-height: 16px;
padding: 0px;
border-bottom: 0px;
}

.jb.cookie.custom > .jb.accept {
margin: 2px 0 0 0;
min-width: 40px;
padding: 4px 10px;
}

/* End JB Cookie module customisation */

/* Swifttype search customisation - to bring search button on top of cookies message */

#st-launcher-tab {
z-index: 19999;
}

/* End Swifttype search customisation */