/**
 * @subpackage  Hafner Template v1.0
 * @author      Simeon Hafner
 * @date        2013-10-07
 * @package     Joomla
 * @copyright   No Copyright
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

tml, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/**  General **/
* {
	margin: 0;
}

html {
	overflow-y: scroll;
}

html, body {
	height: 100%;
}

body {
	text-align: left;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 0.8em;
	line-height: 1.5em;
	color: #999999;
	background-color: #3b3b3b;
}

a {
	color: #F5D16F;
	text-decoration: underline;
}

a:hover {
	color: #999999;
	text-decoration: underline;
}

img {
	border-style: none;
}

em, i {
	font-style: italic;
}

strong, b {
	font-weight: bold;
}


p {
	line-height:1.6em;
	margin:8px 0;
}

h1 {
	font-family: 'Oswald', sans-serif;
	font-weight: 400;
	line-height:1.3em;
	color: #F5D16F;
	font-size: 22px;
	margin-bottom: 10px;
}

h1 a {
	color: #ffffff;
	text-decoration: none;
}

h1 a:hover {
	color: #F5D16F;
	text-decoration: none;
}


h2 {
	font-family: 'Oswald', sans-serif;
	font-weight: 400;
	line-height:1.3em;
	color: #ffffff;
	font-size: 18px;
	margin-bottom: 10px;	
}

h2 a {
	color: #ffffff;
	text-decoration: none;
}

h2 a:hover {
	color: #F5D16F;
	text-decoration: none;
}

h3 {
	font-family: 'Oswald', sans-serif;
	font-weight: 400;
	line-height:1.3em;
	color: #ffffff;
	font-size: 18px;
	margin-bottom: 6px;
}

h3 a {
	color: #ffffff;
	text-decoration: none;
}

h3 a:hover {
	color: #F5D16F;
	text-decoration: none;
}

.moduletable h3 {
	font-family: 'Oswald', sans-serif;
	font-weight: 400;
	line-height:1.3em;
	color: #ffffff;
	font-size: 18px;
	margin-bottom: 6px;
}

h4 {
	font-family: Helvetica, Arial, sans-serif;
	font-weight: 600;
	color: #ffffff;
	font-size: 14px;
}

h5 {
	font-family: Helvetica, Arial, sans-serif;
	font-weight: 300;
	color: #ffffff;
	font-size: 14px;
}

h6 {
	font-family: Helvetica, Arial, sans-serif;
	font-weight: 600;
	font-size: 13px;
}


ul, ol {
	list-style-position: outside;
	list-style-type: square;
	padding-left: 30px;
	margin-top: 6px;
	margin-bottom: 6px;
}

hr {
	border: 0;
	color: #474747;
	background-color: #474747;
	height: 1px;
	margin-top: 5px;
	margin-bottom: 5px;
}

.tip {
	font-size:0.9em;
	text-align:left;
	line-height: 1.2em;
	padding:3px;
	max-width:400px
}

.tip-title {
	font-weight:bold;
}

#wrapper {
	display: block;
	width: 1000px; 
	background-color: #2d2d2d;
	padding: 0;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -4.4em;
	border-left: 1px solid #3f3f3f;
	border-right: 1px solid #3f3f3f;
}

#push {
	height: 4.4em;
}

/** Buttoms **/
#login-form input.button,
#member-profile button.validate,
#member-registration button.validate,
#user-registration button.validate,
.logout button,
.login button,
#searchForm button,
#contact-form button.validate,
#mailto-window button {
	font-family: 'Oswald', sans-serif; font-weight: 400;
	font-size: 1.1em;
	color: #000000;
	background-color: #F5D16F;
	border: 0px;
	padding-left: 12px;
	padding-right: 12px;
	padding-bottom: 2px;
	margin-left: 0px;	

}

#login-form input.button:hover,
#member-profile button.validate:hover,
#member-registration button.validate:hover,
#user-registration button.validate:hover,
.logout button:hover,
.login button:hover,
#searchForm button:hover,
#contact-form button.validate:hover,
#mailto-window button:hover {
	color: #ffffff;
	text-decoration: none;
	background-color: #000000;
}

/** Header **/
#header {
	width: auto;
	padding-top: 10px;
	padding-left: 22px;
	padding-right: 26px;
	background-color: #171717;
	min-height: 80px;
	margin-bottom: -1px;
	overflow: auto;
}

#logo {
	float: left;
	font-family: 'Oswald', sans-serif; font-weight: 400;
	font-size: 2.4em;
	line-height: 1em;
	letter-spacing: -0.03em;
	color: #F5D16F;
	padding-top: 14px;
	padding-bottom: 14px;
	margin: 0px;
}

#logo a {
	text-decoration: none;
	color: #F5D16F;
}

#logo a:hover {
	text-decoration: none;
	color: #F5D16F;
}

#logo div.sitedescription {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 0.40em;
	letter-spacing: 0;
	color: rgb(150,150,150);
	padding-left: 2px;
}

#topnav {
	float: right;
	margin-top: 0px;
	margin-right: 0px;
	font-size: 11px;
	margin-right: -9px;
}

#topnav a {
	text-decoration: none;
	color: #ffffff;
}

#topnav a:hover {
	color: #F5D16F;
}

#topnav h3 {
	display: none;
}

#topnav ul.menu li {
	display: inline;
	padding-left: 12px;
	padding-right: 12px;
	border-left: 1px solid #474747;
}

#topnav ul.menu li:first-child {
	border: 0;
}

#search {
	clear: right;
	float:right;
	margin-top: 10px;
	margin-right: 0px;
}

#mod-search-searchword {
	background-image:url(../images/search.png);
	background-repeat:no-repeat;
	background-position: right;
	padding: 4px;
	width: 144px;
}

#search #mod-search-searchword {  /* for position-0 */
	width: 160px;
	padding-right: 24px;
}

/** Topmenu (added multi-level support v1.1) **/
#topmenu {
	float: left;
	width: 1000px;
	padding-left: 0px;
	font-family: 'Oswald', sans-serif; font-weight: 400;
	font-size: 1.4em;
	color: #fff;
	background-color: #000;
}

#topmenu ul { 
	float: left;
	padding: 0;
	margin: 0;
	list-style: none;
	background-color: #2d2d2d;
}

#topmenu a {
	display: block;
	color: #ffffff;
	padding-top: 8px;
	padding-bottom: 10px;
	padding-left: 22px;
	padding-right: 22px;
	text-decoration:none;
	background-color: #000;
}

#topmenu a:hover,
#topmenu li.active a {
	color: #000000;
	text-decoration: none;
	background: #efdb94; /* Old browsers */
	background: -moz-linear-gradient(top,  #efdb94 0%, #d3903f 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#efdb94), color-stop(100%,#d3903f)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #efdb94 0%,#d3903f 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #efdb94 0%,#d3903f 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #efdb94 0%,#d3903f 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #efdb94 0%,#d3903f 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#efdb94', endColorstr='#d3903f',GradientType=0 ); /* IE6-9 */
}


#topmenu li { 
	float: left;
	padding-right: 1px;
}

/** Second-level lists **/
#topmenu li ul { 
	position: absolute;
	font-family: Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 12px;
	width: 152px;
	left: -999em; /* "display: none" not seen by screen readers */
}

#topmenu li ul a {
	width: 152px;
	padding-top: 9px;
	padding-bottom: 9px;
	color: #999999;	
}

#topmenu li.active ul a:hover {
	color: #000000;
	text-decoration: none;
	background-color: #F5D16F;
}

#topmenu li.active ul a {
	text-decoration: none;
	background-color: #000;
	color: #999999;
}

/** Level third and above **/
#topmenu li ul ul { 
	margin: -37px 0 0 196px;
}

#topmenu li:hover ul ul, #topmenu li:hover ul ul ul, #topmenu li.sfhover ul ul, #topmenu li.sfhover ul ul ul {
	left: -999em;
}

#topmenu li:hover ul, #topmenu li li:hover ul, #topmenu li li li:hover ul, #topmenu li.sfhover ul, #topmenu li li.sfhover ul, #topmenu li li li.sfhover ul { /* nested under hovered items */
	left: auto;
}

/** Breadcrumbs **/
#breadcrumbs {
	width: auto;
	font-size: 0.89em;
	text-decoration:none;
	margin-bottom: 0px;
	margin-top: 4px;
	padding-left: 22px;
}

#breadcrumbs a {
	color: #777777;
	text-decoration: none;
}

#breadcrumbs a:hover {
	color: #F5D16F;
	text-decoration: underline;
}

/** Menus (Left/Right) **/
#leftmenu {
	width: 196px;
	margin: 0px;
	padding: 0px;
	margin-top: 20px;
	margin-bottom: 30px;
	margin-right: 4px;
	padding-left: 22px;	
	float: left;
	line-height: 1.7em;
}

#rightmenu {
	width: 196px;
	margin: 0px;
	padding: 0px;
	margin-top: 20px;
	margin-bottom: 30px;
	margin-left: 26px;
	padding-right: 26px;
	float: right;
	line-height: 1.7em;	
}

#leftmenu a,
#rightmenu a {
	color: #bcbcbc; text-decoration: none;
}

#leftmenu a:hover,
#rightmenu a:hover {
	color: #F5D16F; text-decoration: none;
}

#leftmenu ul,
#rightmenu ul {
	padding-left: 0px;
	list-style-type: none;
	margin-left: 0px;
	margin-top: 12px;
	margin-bottom: 20px;
}

#leftmenu ul li,
#rightmenu ul li {
	border-bottom: 1px solid #474747;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 8px;	
	list-style-type: none;
}

#leftmenu ul li ul,
#rightmenu ul li ul {
	margin-top: 0px;
	margin-bottom: 0px;
}

#leftmenu ul li ul li,
#rightmenu ul li ul li {
	border: 0px;
	padding-bottom: 2px;
	list-style-type: none;
	font-size: 0.96em;
	line-height: 1.5em;	
}

#leftmenu ul.menu li.current a,
#rightmenu ul.menu li.current a {
	font-weight:bold;
	color: #ffffff;
}

#leftmenu ul.menu li.current ul li a,
#rightmenu ul.menu li.current ul li a {
	font-weight:normal;
	color: #bcbcbc;
}

.nav {
	padding: 0px;
	margin-top: 6px;
	margin-bottom: 6px;
	list-style: none;
}


.moduletable {
	overflow: hidden;
	margin-bottom: 16px;
}

.moduletable_menu {
	clear: both;
} 

.moduletable_menu h3 {
	font-family: 'Oswald', sans-serif;
	font-weight: 400;
	color: #ffffff;
	font-size: 18px;
	margin-bottom: 6px;
}

/** Content **/
#content-w1 {  /** left and right menu visible **/
	width: 508px;
	float: left;
	padding-top: 20px;
	overflow: hidden;
	padding-left: 22px;
	margin-bottom: 30px;
}

#content-w2 {  /** left or right menu visible **/
	width: 730px;
	float: left;
	padding-top: 20px;
	overflow: hidden;	
	padding-left: 22px;
	margin-bottom: 30px;
}

#content-w3 {  /** no menu visible **/
	width: 952px;
	float: left;
	padding-top: 20px;
	overflow: hidden;
	padding-left: 22px;	
	margin-bottom: 30px;
}

#content-w1 h3,
#content-w2 h3,
#content-w3 h3 {
	margin-top: 20px;
}

#content-top {
	margin-bottom: 18px;
}

ul.actions {
	margin: 0;
	padding: 0;
	margin-top: -6px;
	margin-bottom: -2px;
	list-style-type: none;
	text-align: right;
}

li.print-icon,
li.email-icon,
li.edit-icon {
	display: inline;
	margin-right: 2px;
}

li.print-icon a,
li.email-icon a,
li.edit-icon a {
	text-decoration: none;
}

dl.article-info {
	clear: both;
	margin-left: 0;
	padding: 0px;
	font-size: 0.86em;
	line-height: 1.3em;
	margin-bottom: 4px;
}

.article-info dd, .article-info dd {
	margin-left: 0;
}

.article-info-term {
	display:none
}

.categories-list ul {
	list-style-type: none;
	padding-left: 0;
	padding-left: 5px;
	margin-top: 8px;
}

.categories-list ul li {
	list-style-type: none;
	padding-left: 5px;
}

.categories-list dl dt, .categories-list dl dd {
	display: inline;
}

.image-left {
	float: left;
	margin-top: 0pt;
	margin-right: 10px;
	margin-bottom: 4px;
	margin-left: 0pt;
}

.category-desc p img {
	float: left;
	margin-top: 0pt;
	margin-right: 10px;
	margin-bottom: 2px;
	margin-left: 0pt;	
}

.first ul {
	padding-left: 15px;
	padding: 5px;
	
}

.first ul li {
	padding-bottom: 8px;
	padding: 5px;

}

.last ul {
	padding-left: 15px;
	
}

.last ul li {
	padding-top: 10px;
}

.cat-children ul {
	list-style-type: none;
	margin-top: 10px;
	padding-left: 0px;
}

ul#archive-items {
	list-style-type: none;
	margin-top: 10px;
	padding-left: 0px;	
}

.intro ul {
	margin-top: 10px;
	margin-bottom: 20px;
}

fieldset.filters {
	border:solid 0px #ddd;
	margin-top: 5px;
	margin-left: 0px;
	padding-left: 0px;
	margin-right: 0px;
	padding-right: 2px;
}

legend.hidelabeltxt {
	display: none;
}

.items-leading {
	margin-bottom: 20px;
}

.newsfeed ol li {
	margin-top: 10px;
}

.newsfeed ol li img {
	margin-top: -10px;
}

#article-index {
	width:25%;
	float:right;
	border:solid 1px #474747;
	padding:10px;
	margin-bottom: 10px;
	margin-left: 10px;
	background:#333333
}

#article-index h3 {
	font-size:1em;
}

#article-index ul {
	list-style-type:disc;
	padding-left: 1.4em;
	color:#666;
}

.pagenavcounter {
	font-weight:bold;
	padding-top: 10px;
	padding-bottom: 10px;
}

/** Tables **/
table {
	border-collapse:collapse
}

tr, td {
	border:solid 1px #474747
}

table.weblinks,
table.category {
	margin:10px 10px 20px 0px;
	width:100%;
}

table.weblinks td,
table.category td {
	border-collapse:collapse;
	padding:7px;
}

table.weblinks th,
table.category th {
	padding:7px;
	text-align:left
}

td.num {
	vertical-align:top;
	text-align:left;
}

td.hits {
	vertical-align:top;
	text-align:center
}

td p {
	margin:0;
	line-height:1.3em
}

.display-limit,
.filter {
	text-align:right;

}

tr.cat-list-row1,
.category tr.odd {
	background-color: #333333;
}

.category tr.even {
	background-color: #2d2d2d;
}

table.weblinks th,
table.newsfeeds th,
table.category th,
table.jlist-table th {
	background: #000000;
}

table.weblinks th a,
table.newsfeeds th a,
table.category th a,
table.jlist-table th a,
table.weblinks th,
table.newsfeeds th,
table.category th,
table.jlist-table th {
	color:#ffffff
}

table.category th a img {
	border:solid 0px ;
	display: none;
}

table.category th a:hover {
	color: #F5D16F;
}

table.moduletable td,
table.moduletable tr {
	border:0;
}

/** Pagination **/
.pagenav {
	padding:2px
}

ul.pagenav {
	list-style-type: none;
	margin: 0;
	margin-top: 20px;
	padding: 4px;
	overflow: hidden;
}

li.pagenav-prev a,
li.pagenav-next a {
	font-family: 'Oswald', sans-serif; font-weight: 400;
	font-size: 1.1em;
	line-height: 1.6em;
	color: #000000;
	text-decoration: none;
	background-color: #F5D16F;
	border: 0px;
	padding: 2px;
	padding-left: 12px;
	padding-right: 12px;
} 

li.pagenav-prev a:hover,
li.pagenav-next a:hover {
	color: #ffffff;
	text-decoration: none;
	background-color: #000000;
}

li.pagenav-prev {
	float: left;
}

 li.pagenav-next {
	float:right
}

.pagination {
	clear: both;
	padding-top:8px;
	padding-bottom:8px;
	border-top:solid 1px #474747;
}

.pagination ul {
	list-style-type:none;
	margin:0;
	padding:0;
	text-align:left;
}

.pagination li {
	display:inline;
	padding:2px 5px;
	text-align:left;
	margin:0 2px
}

.pagination li.pagination-start,
.pagination li.pagination-next,
.pagination li.pagination-end,
.pagination li.pagination-prev {
	border:0
}

p.counter {
	font-weight:bold;
}

/** Blog **/
.cols-1 {
	display: block;
	float: none !important;
	margin: 0 !important;
}

.cols-2 .column-1 {
	width:48%;
	float:left;
}

.cols-2 .column-2 {
	width:48%;
	float:right;
	margin:0
}

.cols-3 .column-1 {
	float:left;
	width:29%;
	padding:0px 5px;
	margin-right:4%

}

.cols-3 .column-2 {
	float:left;
	width:29%;
	margin-left:0;
	padding:0px 5px
}

.cols-3 .column-3 {
	float:right;
	width:29%;
	padding:0px 5px
}

.items-row {
	overflow:hidden;
	margin-bottom:10px !important;
}

.column-2 {
	width:55%;
	margin-left:40%;
}

.column-3 {
	 width:30%
}

.blog-more {
	padding:10px 5px
}

/** Login **/
#login-form fieldset.userdata {
	margin-bottom: 5px;
	margin-top: -15px;
	margin-left: 0px;
	border: 0px;
	font-size: 0.96em;
	float: left;
}

#login-form ul {
	margin-left: 0px;
}


#login-form ul li {
	border: 0px;
	line-height: 1.1em;
	float: left;
	width: 100%;
}


#login-form input.inputbox {
	width: 144px;
	padding: 2px;
	margin-left: 0px;	
}

#login-form label {
	display: block;
	margin-left: 0px;	
}

#form-login-remember label {
	float: none;
	width: auto;
	display: inline;
}

#form-login-remember input.inputbox {
	width: auto;
}

.login fieldset {
	border: 0;
}

.login-fields {
	margin:10px 0
}

.login-fields label {
	float:left;
	width:9em
}

.login-description,
.logout-description {
	overflow:hidden;
	padding-left:5px;
	margin:20px 0 10px 0
}

.logout-description {
	margin-bottom:20px
}

/** User profile **/
#users-profile-core,
#users-profile-custom {
	margin:10px 0 15px 0;
	padding:15px;
}

#users-profile-core dt,
#users-profile-custom dt {
	float:left;
	width:12em;
	padding:3px 0;
}

#users-profile-core dd,
#users-profile-custom dd {
	padding:3px 0;
}

#users-profile-core legend,
#users-profile-custom legend,
.profile-edit legend,
.registration legend {
	font-weight:bold
}

#member-profile fieldset,
.registration fieldset {
	margin:10px 0 15px 0;
	padding:15px;
}

.profile-edit form#member-profile fieldset dd,
.registration form#member-registration fieldset dd {
	float:none;
	padding:5px 0;
}

.profile-edit form#member-profile fieldset dd input,
.profile-edit form#member-profile fieldset dd select,
.registration form#member-registration fieldset dd input {
	width: 17em;
}

.profile-edit form#member-profile fieldset dt,
.registration form#member-registration fieldset dt {
	clear: left;
	float: left;
	padding: 5px 5px 5px 0;
	width: 16em;
}

#users-profile-core,
#users-profile-custom {
	border: solid 1px #474747;
}

#member-profile fieldset,
#member-registration fieldset {
	border: solid 1px #474747;
}

#user-registration.form-validate fieldset {
	border: solid 0px;
	padding-left: 0;
}

/** Contacts **/
h3.pane-toggler {
	font-size: 1.1em;
	border-top: 1px solid #474747;
	margin-bottom: 2px;
	padding-bottom: 8px;
	padding-top: 8px;
}

h3.pane-toggler-down {
	font-size: 1.1em;
	border-top: 1px solid #474747;
	margin-bottom: 2px;
	padding-bottom: 8px;
	padding-top: 8px;
}

address span {
	display: block;
	font-style: normal;
}

.contact-address img {
	margin-bottom: 10px;
}

.panel .contact-form,
.panel  .contact-miscinfo
{
	padding:10px
}

.contact .panel .contact-form form,
.contact .panel .contact-address
{
	margin:20px 0 0 0
}

#contact-form fieldset {
	border: 0px;
}

#contact-form fieldset dl dt {
	padding-top: 4px;
}

#jform_contact_email_copy-lbl {
	float: left;
	padding-right: 6px;
}

#jform_contact_email_copy {
	margin: 4px;
}

.star {
	color: #cc0000;
}

.tip
{
	border:solid 1px #333;
	background:#ffffcc;
	font-size: 0.86em;
	padding: 5px;
}

/** Search **/
.searchintro {
	font-weight:normal;
	margin:20px 0 20px;
}

.searchintro img {
	border:0px
}

.word {
	border:solid 0px #474747 ;
}

fieldset.word label {
	font-weight: bold;	
	color:#ffffff;

}

.form-limit {
	margin:20px 0 0;
	text-align:right;
	padding:0 10px 0 20px;
}

.highlight {
	font-weight: bold;
}

.ordering-box {
	width:40%;
	float:right;
}

.phrases-box {
	width:60%;
	float:left
}

.only,
.phrases {
	border:solid 1px #474747;
	margin:10px 0 0 0px;
	padding:15px ;
	line-height:1.3em;
}

label.ordering {
	display:block;
	margin:10px 0 10px 0
}

.word {
	padding:10px 10px 10px 0;
}

.word input {
	font-weight:bold;
	margin:0px 10px 0px 10px;
	padding:4px;
	font-size:1em
}

.word label {
	font-weight:bold
}

fieldset.only label,
fieldset.phrases label {
	margin:0 10px 0 0px
}

.ordering-box label.ordering {
	margin:0 10px 5px 0;
	float:left
}

form .search label {
	display:none
}

.search legend {
	font-weight:bold
}

/** Search results **/
dl.search-results dt.result-title {
	border-top: solid 1px #474747;
	padding-top: 10px;
	font-weight:bold;
}

dl.search-results dd.result-created {
	padding-top: 6px;
	padding-bottom: 10px;
	color: #555555;
}


dd.result-category {
	padding-top: 6px;
	padding-bottom: 6px;
}

/* Stats */
.stats-module dl {
	margin:10px 0 10px 0
}

.stats-module dt {
	float:left;
    margin:0 10px 0 0;
    font-weight: bold;
}

.stats-module dt,
.stats-module dd {
	padding:2px 0 2px 0
}

/* Syndicate */
a.feed-link {
	margin-top:15px;
	display:block;
	text-decoration:none
}

.feed-link img {
	border:0
}

/** Footer **/
#footer {
	vertical-align: baseline;
	border-top: 1px solid #474747;
	clear: both;
	width: 952px;
	margin: auto;
	margin-top: 20px;
	font-size: 0.86em;
	background-color: #2d2d2d; 
}

#footer div.custom hr {
	border: 0;
	color: #999999;
	background-color: #474747;
	height: 1px
}

#footer.menu li {
	float: left;
	background-color: #F5D16F;
	margin: 1px;
}

#footer.menu li a {
	color: #909090 !important;
	text-decoration: none;
}

#footer.menu li a:visited {
	color: #999999 !important;
}

#footer.menu li a:hover,
#footer.menu li a:active  {
	color: #aaaaaa !important;
	text-decoration: underline;
}

#copyright {
	width: 952px;
	margin: auto;
	margin-top: 8px;
	border-top: 1px solid #474747;
	font-size: 0.86em;
	text-align: center;
	color: #666666;
	background-color: #2d2d2d;
}

#copyright a {
	color: #666666;
	text-decoration: none;
}

#copyright a:hover {
	color: #666666;
	text-decoration: none;
}

#copyright img {
	border-style: none;	
}

#copyright div.cp2 {
	display: none;
}

/** Editor **/
#adminForm.form-validate fieldset {
	border: solid 1px #ddd;
	margin-top: 20px;
	margin-bottom: 20px;
	padding: 8px;
}

#adminForm legend {
	font-weight: bold;
}

.edit.item-page {
	max-width: auto;
}

#adminForm.form-validate fieldset div.formelm {
	padding-bottom: 10px;
	display: block;
}

#adminForm.form-validate fieldset div.formelm label,
#adminForm.form-validate fieldset div.formelm input {
	display: inline-block;
}

#adminForm.form-validate fieldset div.formelm label {
	width: 120px;
}

#adminForm.form-validate fieldset div.formelm-area label,
#adminForm.form-validate fieldset div.formelm-area input {
	display: inline-block;
}

#adminForm.form-validate fieldset div.formelm-area label {
	width: 120px;
	vertical-align: top;
}

#adminForm.form-validate fieldset div.formelm-buttons {
	margin-top: -32px;
	padding-bottom: 10px;
	height: 20px;
	float: right;
}

#jform_articletext_tbl.mceLayout {
	clear: both;
}

/** Mailto Window **/
#mailto-window {
	padding: 50px;
	width: 300px;
}

#mailto-window h2 {
	padding-bottom: 10px
}

#mailto-window p {
	clear: left;
	padding-top: 20px
}

#mailto-window label {
	padding: 0px;
}

#mailto-window input {
	margin: 4px;
}

#mailtoForm div.formelm label,
.formelm input {
	display:inline-block;
}

#mailtoForm div.formelm label {
	width: 80px;
}

#mailtoForm div.formelm input {
	width: 200px;
}

#mailto-window div.mailto-close a {
	display: none;
}

body.contentpane {
	background-color: #fff;
}

/** Print Window **/
#main div.item-page {
	margin: 10px;
}

#main div.item-page ul.actions li {
}

body.contentpane {
	color: #000;
}

/** Joomgallery styles **/
.gallery .sectiontableheader {
	font-size: 48x;
	color: #F5D16F;
	font-weight: bold;
}

.jg_category {
	width: auto;
	text-align: center;
	padding: 9px;
	line-height: initial;
}

.jg-header {
	font-size: 48px;
	color: #F5D16F;
	font-weight: bold;
}

.jg_element_txt a {
	text-decoration: none;
}

.jg_element_gal, .jg_element_cat {
	float: none;
	display: inline-block;
	width: auto;
	margin: 6px;
	white-space: normal;
    width: 23%;
  	vertical-align: top;
}

.jg_row {
	white-space: nowrap;
	overflow-x: auto;
}

#userpanelForm {
	margin-top: 8px;
}

.control-group {
  margin-top: 6px;
  margin-bottom: 0px;
}

.control-label {
  margin-bottom: 3px;
}

.element-invisible {
  line-height: 0;
}

.well {
  margin: 5px;
  background-color: #efdb94;
  color: #333333;
}

.jg-details-header h4 {
  color: black;
}

.inputbox, input[type="text"] {
  width: auto;
  height: auto;
  margin-bottom: 0;
}

.icons .tip {
  background: none;
  border: none;
  padding: 0px;
  color: black;
}

.dropdown-menu li {
  background-color: #f5d16f;
}

pre {
  background-color: #F5F5F5;
  padding: 12px;
}

.gallery .jg_element_txt {
  text-align: center;
  width: 100%;
}

.gallery .jg_photo_container {
  text-align: center;
  width: 100%;
}

#sbox-window form {
  background-color: F5F5F5;
}

form .control-label {
  padding-top: 6px;
}