html, body {
    margin: 0;
    padding: 0;
}

body {
    position: relative;
    background-color: #222;
    font-family: "Verdana";
    background-image: url('../images/bg.png');
    background-position: top center;
    background-repeat: no-repeat;
    line-height: 20px;
}

p {
    margin: 0;
    padding: 0;
    text-align: left;
    color: #303030;
    font-size: 12.8px;
}

label {
    color: #303030;
}

legend, fieldset {
    color: #303030;
}

img {
    border: 0;
}

a {
    color: #fff;
    text-decoration: none;
}

a:hover {
    color: #b1a891;
}

.right {
    text-align: right;
}

.small {
    font-size: 10px;
}

li {
    color: #303030;
    line-height: 20px;
}

/* --- corners with browser native methods --- */
.corners {
	-webkit-border-radius: 3px; /* Safari, Chrome */
	-khtml-border-radius: 3px;    /* Konqueror */
	-moz-border-radius: 3px; /* Firefox */
	border-radius: 3px;	/* CSS3 */	
}

.corners-bottom {
	-webkit-border-bottom-right-radius: 3px;
	-webkit-border-bottom-left-radius: 3px;
	-khtml-border-radius-bottomright: 3px;
	-khtml-border-radius-bottomleft: 3px;
	-moz-border-radius-bottomright: 3px;
	-moz-border-radius-bottomleft: 3px;
	border-bottom-right-radius: 3px;
	border-bottom-left-radius: 3px;
}

.corners-top {
	-webkit-border-top-right-radius: 3px;
	-webkit-border-top-left-radius: 3px;
	-khtml-border-radius-topright: 3px;
	-khtml-border-radius-topleft: 3px;
	-moz-border-radius-topright: 3px;
	-moz-border-radius-topleft: 3px;
	border-top-right-radius: 3px;
	border-top-left-radius: 3px;
}

/* --- borders scaling using CSS3 --- */
.borders-top {
	background-image: url('../images/border_horiz.png'), url('../images/border_vert.png'), url('../images/border_vert.png');
	background-position: top left, top left, top right;
	background-repeat: no-repeat, repeat-y, repeat-y;
	-webkit-background-size: 100% 1px, 1px 500%, 1px 500%;
	-khtml-background-size: 100% 1px, 1px 500%, 1px 500%;
	-moz-background-size: 100% 1px, 1px 500%, 1px 500%;
	background-size: 100% 1px, 1px 500%, 1px 500%;
}

.borders-bottom {
	background-image: url('../images/border_horiz.png'), url('../images/border_vert.png'), url('../images/border_vert.png');
	background-position: bottom left, top left, top right;
	background-repeat: no-repeat, repeat-y, repeat-y;
	-webkit-background-size: 100% 1px, 1px 500%, 1px 500%;
	-khtml-background-size: 100% 1px, 1px 500%, 1px 500%;
	-moz-background-size: 100% 1px, 1px 500%, 1px 500%;
	background-size: 100% 1px, 1px 500%, 1px 500%;
}

.borders {
	background-image: url('../images/border_horiz.png'), url('../images/border_horiz.png'), url('../images/border_vert.png'), url('../images/border_vert.png');
	background-position: top left, bottom left, top left, top right;
	background-repeat: no-repeat, no-repeat, repeat-y, repeat-y;
	-webkit-background-size: 100% 1px, 100% 1px, 1px auto, 1px auto;
	-khtml-background-size: 100% 1px, 100% 1px, 1px auto, 1px auto;
	-moz-background-size: 100% 1px, 100% 1px, 1px auto, 1px auto;	
	background-size: 100% 1px, 100% 1px, 1px auto, 1px auto;
}

.menu-borders {
	background-image: url('../images/border_horiz.png'), url('../images/border_horiz.png'), url('../images/border_vert.png'), url('../images/border_vert.png');
	background-position: top left, bottom left, top left, top right;
	background-repeat: no-repeat, no-repeat, repeat-y, repeat-y;
	-webkit-background-size: 400% 1px, 400% 1px, 1px 400%, 1px 400%;
	-khtml-background-size: 400% 1px, 400% 1px, 1px 400%, 1px 400%;
	-moz-background-size: 400% 1px, 400% 1px, 1px 400%, 1px 400%;	
	background-size: 400% 1px, 400% 1px, 1px 400%, 1px 400%;
}

/* --- articles formatting --- */
#content-top-flash > div > div > div {
    font-size: 12px;
    color: #303030;
}

#content-top-flash > div > div > div a {
    color: #005693;
}

#content-top-flash > div > div > div a:hover {
    text-decoration: underline;
}

#content-top-flash > div > div > div p {
    margin: 5px 0 10px 0;
}

/* border around image in articles */
#content-top-flash > div > div > div > img, 
#content-top-flash > div > div > div > p > img, 
#content-top-flash > div > div > div > div > img, 
#content-top-flash > div > div > div > p > a > img,
.imgBorder {
    padding: 5px;
    border: solid 3px #fff;
    outline: solid 1px #999;
}

/* tables */
.mstable, .contenttoc /* article index */ {
    color: #303030;
    border-collapse: collapse;
    border-spacing: 0;
    text-align: center;
}

.mstable, .contenttoc, .mstable th, .contenttoc th, .mstable td, .contenttoc td {
    border: 1px solid #785928;
}

.mstable th, .contenttoc th, .mstable td, .contenttoc td {
    padding: 4px;
}

.mstable th, .contenttoc th {
    background-color: #997d52;
    color: #141414;
	text-align: center;
}

/* --- main formatting --- */
#site {
    width: 940px;
    margin: 5px;
    margin: 0 auto;
    position: relative;
}

#header {
    position: relative;
    clear: both;
    width: 940px;
    height: 150px;
    top: 0px;
    margin: 0 auto 5px;
    margin-top: 0px;
}

#header > form {
    position: absolute;
}

/* --- login --- */
#form-login div {
    margin-right: 10px;
}

#login-frame {
    position: relative;
    float: left;
    clear: left;
    font-size: 11px;
    color: #fff;
    text-shadow: 1px 1px 0 #000;
    text-align: center;
    margin: 0;
	padding: 0;
    line-height: 0px;
    min-height: 28px;
	background: url('../images/block_texture.png');
}

#login-frame form {
    padding: 5px;
    margin: 0;
	background-image: url('../images/content_reflection.png');
	-webkit-background-size: 100% 100%;
	-khtml-background-size: 100% 100%;
	-moz-background-size: 100% 100%;
	background-size: 100% 100%;
}

#login-frame input[type = text], #login-frame input[type = password], #login-frame input[type = submit] {
    position: relative;
    font-family: "Verdana";
    background-image: url('../images/input-text-bg.png');
    border: 1px solid #735b35;
    outline: 1px solid #423115;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
}

#login-frame input[type = text], #login-frame input[type = password] {
    width: 130px;
}

/* --- language selection --- */
#jflanguageselection {
    position: relative;
    float: right;
    clear: right;
    text-align: center;
    padding-top: 4px;
}

#jflanguageselection a img {
    opacity: 0.5; 
	filter: alpha( opacity = 50); /* IE */
    margin-right: 2px;
}

#jflanguageselection a:hover img {
    opacity: 1;
	filter: alpha( opacity = 100); /* IE */
}

#jflanguageselection #active_lang {
	opacity: 1;
	filter: alpha( opacity = 100); /* IE */
}

/* --- search --- */
.search {
    position: absolute;
    left: 750px;
    top: 110px;
    /*background-image: url('../images/block_texture.png');*/
	/* corners */
	-webkit-border-radius: 3px; /* Safari, Chrome */
	-khtml-border-radius: 3px;    /* Konqueror */
	-moz-border-radius: 3px; /* Firefox */
	border-radius: 3px;	/* CSS3 */
	background-image: url('../images/block_texture.png');
}

.search input[type = text] {
    width: 187px;
    font-family: "Verdana";
    background-image: url('../images/input-text-bg.png');
    border: 1px solid #735b35;
    outline: 1px solid #423115;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    margin: 5px;
}

/* --- RSS feed --- */
#site > a {
    margin-top: 3px;
    margin-right: 10px;
    float: right;
    font-size: 10px;
    line-height: 1;
}

#site > a > img {
	float: left;
}

#site > a > span {
    padding-top: 3px;
    padding-left: 3px;
    float: right;
	clear: right;
}

/* --- tab menu --- */
#tabs {
	background: url('../images/tabholder.png') left bottom no-repeat;
    position: relative;
    width: 930px;
    height: 47px;
    padding: 0 10px 0 10px;
    margin: 0 auto;
	margin-bottom: -7px;
}

#tabs ul {
	position: relative;
	list-style-type: none;
	width: 930px;
    height: 47px;
	margin: 0;
	padding: 0;
}

#tabs ul li a:hover {
	color: #fff;
}

.tab {
    float: left;
    background-image: url('../images/tab.png');
    position: relative;
    width: 100px;
    height: 22px;
    padding-top: 13px;
    text-align: center;
    letter-spacing: -1px;
    font-size: 12px;
    line-height: 1;
    text-shadow: 1px 1px 0 #000;
}

.tab .reflection {
    background-image: url('../images/tab_reflection.png');
	display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 35px;
    opacity: 0.01;
	filter:alpha(opacity = 0); /* IE */
}

.tab a {
	display: block;
	z-index: 3;
    position: absolute;
    top: 0;
    left: 0;
	margin-top: 8px;
	padding-top: 5px;
    width: 100px;
    height: 22px;
}

#activetab a {
	width: 133px;
	padding: 0;
	margin: 0;
	height: 35px;
}

#activetab {
    padding: 0;
    color: #fff;
    float: left;
    background-image: url('../images/atab.png');
    position: relative;
    width: 133px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    font-weight: bold;
    letter-spacing: -1px;
    font-size: 16px;
    text-shadow: 1px 1px 0 #000;
    cursor: pointer;
}

#activetab .reflection {
    background-image: url('../images/atab_reflection.png');
    position: absolute;
    top: 0;
    left: 0;
    width: 133px;
    height: 35px;
    opacity: 0.5;
	filter:alpha(opacity = 0); /* IE */
}

/* --- menu --- */
#menu-container {
    float: left;
}

.menu {
    position: relative;
    float: left;
    clear: left;
    background-image: url('../images/block_texture.png');
    width: 200px;
    margin-bottom: 5px;
}

.menu > div {
    background: url('../images/menu_reflection.png') top left no-repeat;
}

.menu > div > div > p {
    position: relative;
    line-height: 35px;
    margin-left: 15px;
    color: #fff;
    text-shadow: 1px 1px 0 #000;
    font-size: 17px;
    letter-spacing: -1px;
}

.menu ul {
    list-style-type: none;
    width: 190px;
    padding: 15px 0 10px 10px;
    margin: 0;
}

.menu ul li a {
    font-size: 11px;
    line-height: 13px;
    font-weight: bold;
    text-shadow: 1px 1px 0 #000;
    position: relative;
    width: 170px;
    display: block;
    margin-bottom: 3px;
    padding: 0 3px 0 3px;
}

/* --- path --- */
#path {
    max-width: 600px;
    margin-left: 15px;   
    margin-bottom: 5px;
    line-height: 20px;
    float: left;
}

#path img {
    vertical-align: middle;
}

#path span {
    color: #b1a891;
    font-weight: bold;
    font-size: 11px;
}

#path a {
    color: #fff;
    font-weight: bold;
    font-size: 11px;
}

#path a:hover {
    color: #b1a891;
}

/* --- content --- */
#content {
    position: relative;
    float: right;
    right: 0px;
    top: 0px;
    background-image: url('../images/block_texture.png');
    width: 735px;
    margin-bottom: 5px;
}

#content-top-flash {
    background: url('../images/content_reflection.png') top left no-repeat;
    position: relative;
    padding-top: 58px;
    padding-bottom: 3px;
}

#content-top-flash > div {
    background: url('../images/content_holder_bg_top.png') 3px 0 no-repeat;
    padding-top: 5px;
}

#content-top-flash > div > div {
    background: url('../images/content_holder_bg_bottom.png') 3px 100% no-repeat;
    padding-bottom: 5px;
}

#content-top-flash > div > div > div {
    font-size: 12px;
    line-height: 20px;
    position: relative;
    background-image: url('../images/content_holder_bg_mid.png');
    width: 699px;
    padding: 5px 15px 5px 15px;;
    margin: 0 auto;
}

#content-caption, .componentheading {
    margin: 0;
    padding: 0;
    position: absolute;
    left: 10px;
    top: -50px;
    color: #fff;
    text-shadow: 1px 1px 0 #000;
    font-size: 19px;
    letter-spacing: -1px;
    font-weight: normal;
}

#content-sub {
    position: absolute;
    margin: 0 !important;
    left: 10px;
    top: -27px;
    color: #fff;
    text-shadow: 1px 1px 0 #000;
    font-size: 10px;
    line-height: 15px;
    letter-spacing: normal;
}

.iconsContent {
    position: absolute;
    top: -40px;
    right: 20px;
}

/* --- footer --*/
#footer {
    position: relative;
    bottom: 0px;
    clear: both;
    background-image: url('../images/block_texture.png');
    width: 940px;
    height: 30px;
}

#footer p {
    color: #fff;
    padding: 0;
    line-height: 30px;
    font-weight: bold;
    font-size: 12px;
    text-shadow: 1px 1px 0 #000;
    letter-spacing: -1px;
    text-align: center;
}

/* --- article --- */
.pagenavcounter {
    font-weight: bold;
}

.contenttoc {
    float: right;
    text-align: left;
}

.pagenavbar {
    text-align: center;
}

/* --- news --- */
.contentpaneopen_edit {
    float: right;
}

.contentheading {
    margin-bottom: 0;
}

.iteminfo {
    font-size: 10px;
    font-style: italic;
}

/* --- archieved news --- */
.metadata {
    margin-top: 0;
    margin-bottom: 5px;
}

/* --- joomla message --- */
#system-message {
    margin-left: 210px;
    margin-bottom: 5px!important;
    margin-top: 0!important;
    padding-top: 5px;
}

.message {
    font-size: 13px;
    border: none !important;
    background: none !important;
    text-indent: 0!important;
}

.message ul li {
	line-height: 1;
	margin-left: 50px;
}

.message ul {
    border-width: thin thick thin thick !important;
    border-style: solid;
    background: #fff url(../../system/images/notice-info.png) 10px center no-repeat!important;
    margin-bottom: 0!important;
    margin-top: 0!important;
    padding-left: 0!important;
}

.error ul {
	background: #fff url(../../system/images/notice-alert.png) 10px center no-repeat!important;
}

.notice ul {
	background: #fff url(../../system/images/notice-note.png) 10px center no-repeat!important;
}

/* --- joomla default message (e.g. no translations) --- */
.jfdefaulttext {
    font-weight: bold;
}

/* --- joomla category view --- */
.categoryContent {
    margin-top: 30px;
}

.categoryContent table {
    border-spacing: 1px;
    border-collapse: separate;
    text-align: left;
}

.categoryContent > a {
    padding: 10px;
}

.categoryContent table, .categoryContent td {
    border: none;
    padding: 3px;
}

.sectiontableentry2 {
    background-color: #ececec;
}

.sectiontableheader {
    background-color: #997d52;
    color: #141414;
    padding: 2px 2px;
}

.sectiontableheader a {
    color: #141414 !important;
}

.sectiontableheader a:hover {
    color: #fff !important;
    text-decoration: none !important;
}

.sectiontableheader img {
    margin-left: 5px;
}

/* --- joomla's tooltip --- */
.tool-tip {
    float: left;
    background: #ffc;
    border: 1px solid #d4d5aa;
    padding: 5px;
    max-width: 500px;
    font-family: "Verdana";
	z-index: 100;
}

.tool-title {
    padding: 0;
    margin: 0;
    font-weight: bold;
    font-size: 13px;
    margin-top: -15px;
    padding-top: 17px;
    padding-bottom: 5px;
	color: #303030;
    background: url(../../system/images/selector-arrow.png) no-repeat;
}

.tool-text {
    margin: 0;
    font-size: 12px;
	color: #303030;
}

/* --- joomla article editor --- */
.save {
    float: right;
}

.title {
    margin-right: 5px;
    float: left;
}

.title label {
    width: 3em !important;
}

/* --- joomla weblinks --- */
.display {
    padding-bottom: 5px;
}

.weblinks td[headers = title] {
    text-align: left;
    padding: 5px 10px;
}

.weblinks td img {
    margin-right: 5px;
}

/* --- joomla search result --- */
.search-form, .search-result-details {
    margin-bottom: 10px;
}

.search-form > div {
	margin: 5px;
}

.search-result-display {
    padding: 20px 0 10px 0;
}

.pagination {
    padding-top: 20px;
}

.search-result fieldset {
	border: none;
	border-top: #d9d9d9 1px solid;
}

.search-result .numb {
	font-weight: bold;
}

.highlight {
	background-color: #fffebb;
	font-weight: bold;
}

/* --- joomla contacts --- */
.contact_email_checkbox {
    height: 50px;
}

.contact_address > address > span {
    display: block;
    margin-bottom: 3px;
}

.contact_address img {
    margin-right: 3px;
}

.category {
    width: 100%;
    text-align: left !important;
}

.sectiontableentry {
    text-align: center;
}

/* --- various joomla forms --- */
#adminForm table, #adminForm td {
    text-align: left;
    border: none;
}

.form-validate table, .form-validate td, .admintable, .admintable td {
    text-align: left;
    border: none;
}

/* --- various joomla component description --- */
.contentdescription {
    margin: 0;
    padding: 10px 0;
}

/* --- various joomla forms --- */
.editor {
    margin: 10px;
}

.editor fieldset {
    margin-bottom: 10px;
}

.editor fieldset div {
    margin-bottom: 3px;
}

.editor label {
    display: block;
    float: left;
    clear: left;
    width: 10em;
    text-align: right;
    margin-right: 15px;
}

.radioForm label {
    display: inline;
    float: none;
    text-align: left;
    margin-right: 0px;
}

/* --- tinyMCE --- */
#text_path_row a {
    color: #fff !important;
    text-decoration: none !important;
}

#text_path_row a:hover {
    color: #b1a891 !important;
    text-decoration: none !important;
}

.mceEditor {
	display: block;
	clear: both;
}
/* hide buttons replaced by tinyMCE extension */
#editor-xtd-buttons {
	display: none;
}

/* --- phoca gallery --- */
#pane dd {
	float: left;
	min-width: 500px;
}
#phocagallery form table {
	float: left;
	width: 270px;
	padding-left: 20px;
}
#phocagallery form {
	padding-left: 100px;
}
#phocagallery form div {
	clear: left;
	width: 600px;
}
.phocagallery-box-file {
	margin-left: 30px;
	border: #e8e8e8 1px solid!important;
}
.phocaname {
	color: #303030!important;
}
/* code below is used to fix elements floating */
#pane:after {
	content: ".";
	display: block;
	height: 0;
	font-size: 0;
	clear: both;
	visibility: hidden;
}

#pane {
	min-height: 1px;
}

* html #pane {
	height: 1px;
}
