body {
    margin: -10px 0;/*new value one*/
    padding: 10px;
    color: #333;
    background: #ffffff url(../images/bg.gif) repeat-x;
    font-family: Arial,sans-serif;
    text-align: center;
}
a:link {
    color: #A70912;
    text-decoration: none;
}


a:visited {
    color: #A70912;
    text-decoration: none;
}

a:hover {
    color: #A70912;
    text-decoration: none;
    font-weight: bold;
}

a:active {
    color: #808080;
    text-decoration: none;
    border: 0px;
}

h1 {
    color: #A70912;
    font-size: 100%
}
h2 {
    color: #A70912;
    font-size: 90%;
}
h3 {
    color: #808080;
    font-size: 80%;
}
h4 {
    color: #000;
    font-size: 80%;
}
h5 {
    color: #A70912;
    font-size: 90%;
}
h6 {
    color: #333;
    font-size: 80%;
}
p {
    font: 71% "Arial";
}
img {
    border: none;
}
li {
    font: 71% "Arial";
}
ol {
    list-style-type: decimal;
}
ul {
    list-style: url(../images/bullet.gif);
}

strong {
    color: #4B4B4B;
    font-weight: bold;
}

/* ---- MAIN WRAPPER ---- */
#wrap {
    width: 760px;
    height:100%;
    border: 0px solid #666;
    margin: 10px auto;
    text-align: left;
    background-color: #FFF;
} 
/* ---- END Main Wrapper ---- */

/* ---- SECTION MASTER HEADER ---- */
#header {
    margin: 0px;
    padding: 0px;

    
}
#logo {
    float:left;
    padding-left: 0px;
    
}
#tagline {
    position:absolute;
    margin: 270px 5px 10px 609px;;
    text-align: right;
    padding-right: 2px;

    
}
#main, #flashcontent {
    margin: -10px 0 -10px 0;
    clear: both;
    font-size: 10px;
}
#flashcontent {
    height: 161px;
}

#pa-header {
    width: 356px;
    height: 189px;
    margin: 0;
    padding: 0;
    background: url(../images/headberr.jpg) no-repeat;
    float: left;
    overflow: hidden;
}

#pa-topmod {
    width: 404px;
    height: 189px;
    margin: 0;
    padding: 0;
    background: url(../images/header_bg.jpg) no-repeat;
    float: left;
    overflow: hidden;
    color: #330000;
    
}

#menu1 {
    background: url(../images/menu.gif) repeat-x;
    color: #808080;
    font-weight: bold;
    height: 33px;
    padding: 8px 5px 0 0;
    margin: 0;
    text-align: right;
}

#menu1 ul {
  margin: 0;
  padding: 0;
  list-style:none;
}

#menu1 li {
    float: right;
    margin: 0;
    padding: 0;
    padding-left: 5px;
    padding-right: 5px;
    border-right: 1px solid #111111;
}


#menu1 a, #menu1 a:visited {
    color: #FFFFFF;
    font: bold 8.5pt Helvetica;
    text-decoration: none;
    margin: 10px;
    padding: 5px 5px 5px 0;
    letter-spacing: 1px;
}
#menu1 a:hover {
    color: #FFFFFF;
    font-size:78%;
    text-decoration: none;
    /*border-bottom: 2px solid #666;*/
}

#menu1 a#active_menu-nav {
    color: #DFAFE9;
}

/* ----END SECTION MASTER HEADER ---- */


*#body1 {
    width: 490px;
    float:left;
    margin-left: -5px;
    margin-right: 5px;
    margin-top: 20px;
} /*layout content */
*#body2 {
    width: 210px;
    float:right; /*new*/
    margin-right: 15px;/*new*/
    margin-top: 30px;

}

#body5 {
    width: 450px;
    float:left;
    margin-left: 60px;
    margin-top: 15px;
} /*layout full */
html>body #body5 {
    width: 710px;
} /*layout full - fix for ie */

.subnav {
    background-color: #FFF;
    margin: 10px 0;
    padding: 0;
}
html>body .subnav {
    padding: 5px 6px 0 10px;
}
.subnav ul {
    font-size: 75%;
}
/* --- END SECTION CONTENT --- */

/* ---- SECTION GLOBAL MENU SIDEBAR INSTRUCTIONS --- */

.menu {
    margin: 40px;
    padding: 0;
    line-height: 200%;
    font-size: 9pt;
}
.menu div {
    font-size: 9pt;
}
.menu a:link, .menu a:visited {
    color: #808080;
    padding-left:0px;
    display: block;
    width: 100%;
}
.menu a:hover {
    color: #A70912;
        text-decoration: bold;
}
html>body .menu a:hover {
    width: 83%;
}
#menu3 {
    color: #666;
    font-size: 65%;
    clear: both;
    border-top: 0px solid #ccc;
    background-color: #ECECEC;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    font-weight: bold;
    text-align: center;
}
.menu3b {
    color: #666;
    font-weight: bold;
}
.menu3b a:link, .menu3b a:visited, .menu3b a:hover, .menu3b a:active {
    color: #666;
    text-decoration: none;
}
/* --- END GLOBAL MENU SIDBEAR INSTRUCTIONS --- */

/* --- SECTION GENERAL INSTRUCTIONS --- */
.clear {
    clear:both;
} /* clear margins */

.center {
    text-align: center;
} /* align center */
.border {
    border: 1px solid #ccc;
    background-color: #ebebeb;
} /* border frame */

#divtop div {
    display: block;
    float: left;
    font-size: 70%;
    padding: 0 8px 0 0;
    margin-bottom: 2px;
    margin-left: 10px;
    margin-top:5px;
    
    line-height: 23px;
}

#divtop div span {
    display: block;
    float: left;
    padding: 0 0 0 8px;
    margin: 0;
    
}


html>body #divtop {
    margin: -13px 0 0 0;
}
#divbtm {
    background: url(../images/d-btm.gif);
    margin: -4px 0 0 0;
    height: 40px;
    clear:both;
}









/*****************************************/
/*** Joomla! specific content elements ***/
/*****************************************/

div.offline {
    background: #fffebb;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 1.2em;
    padding: 5px;
}


/* headers */
div.componentheading {
  padding-left: 0px;
}

table.contentpaneopen h3 {
    margin-top: 25px;
}

h3, .componentheading, table.moduletable th, legend {
    margin: 0;
    font-size: 1.2em;
    padding-left: 0px;
    margin-bottom: 10px;
    text-align: left;
}

/* small text */
.small {
    font-size: .90em;
    color: #999;
    font-weight: normal;
    text-align: left;
}

.modifydate {
    height: 20px;
    vertical-align: bottom;
    font-size: .50em;
    color: #999;
    font-weight: normal;
    text-align: left;
}

.createdate {
    height: 20px;
    vertical-align: top;
    font-size: .40em;
    color: #999;
    font-weight: normal;
    vertical-align: top;
    padding-bottom: 5px;
    padding-top: 0px;

}

a.readon {
    margin-top: 10px;
    display: block;
    float: left;
    padding-right: 20px;
    line-height: 14px;
    height: 16px;
}

/* form validation */
.invalid { border-color: #ff0000; }
label.invalid { color: #ff0000; }


/** overlib **/

.ol-foreground {
    background-color: #f6f6f6;
}

.ol-background {
    background-color: #666;
}

.ol-textfont {
    font-size: 9px;
}

.ol-captionfont {
    font-size: 9px;
    color: #f6f6f6;
    font-weight: bold;
}
.ol-captionfont a {
    color: #0B55C4;
    text-decoration: none;
    font-size: 9px;
}

.ol-closefont {}

/* menu links */
a.mainlevel:link, a.mainlevel:visited {
    font-size: 75%;
    font-weight: bold;
    letter-spacing: 0.01cm;
    text-decoration: none;
    padding-left: 15px;
}

a.mainlevel:hover {
    font-size: 83%;

}

/* spacers */
span.article_separator {
    display: block;
    height: 20px;
}

.article_column {
    padding-right: 5px;
}

.column_separator {
    border-left: 1px dashed #e0e0e0;
    padding-left: 10px;
}

td.buttonheading {

}

td.buttonheading img {
    border:none;
}

.clr {
    clear: both;
}

td.greyline {
  width: 20px;
  background: url(../images/line_grey.png) 50% 0 repeat-y;
}

div#maindivider {
  border-top: 1px solid #ddd;
  margin-bottom: 10px;
  overflow: hidden;
  height: 1px;
}

table.blog span.article_separator {
    display: block;
    height: 20px;
}

/* edit button */
.contentpaneopen_edit{
    float: left;
}

/* table of contents */
table.contenttoc {
  margin: 5px;
  border: 1px solid #ccc;
  padding: 5px;
}

table.contenttoc td {
  padding: 0 5px;
}


/* content tables */
td.sectiontableheader {
  background: #efefef;
  color: #333;
  font-weight: bold;
  padding: 4px;
  border-right: 1px solid #fff;
}

tr.sectiontableentry0 td,
tr.sectiontableentry1 td,
tr.sectiontableentry2 td {
  padding: 4px;
}

td.sectiontableentry0,
td.sectiontableentry1,
td.sectiontableentry2 {
  padding: 3px;
}


/* content styles */
table.contentpaneopen, table.contentpane {
    margin: 0;
    padding: 0;
    width: auto;
}

table.contentpaneopen li {
    margin-bottom: 5px;
}

table.contentpaneopen fieldset {
    border: 0;
    border-top: 1px solid #ddd;
}

table.contentpaneopen h3 {
    margin-top: 25px;
}

table.contentpaneopen h4 {
    color: #333;
}

.highlight {
    background-color: #fffebb;
}

/* module control elements */
table.user1user2 div.moduletable {
    margin-bottom: 0px;
}

div.moduletable, div.module {
  margin-bottom: 25px;
}

div.module h3, div.module_menu h3 {
    font-size: 80%;
    font-family : "Arial";
    font-weight: bold;
    color: #FFFFFF;
    letter-spacing: 1px;
    text-align: center;
    background: url(../images/buttona.png) no-repeat;
    margin: -3px -4px 5px -5px;
    padding-left: 5px;
    padding-bottom: 4px;
    padding-top: 5px;
}

div.module_menu {
    margin: 0;
    padding: 0;
    margin-bottom: 35px;
    padding-bottom: 15px;
    background-color:#FFFFFF;
}

div.module {
    margin: 0;
    padding: 0;
    margin-bottom: 0;
    padding-bottom: 15px;
    padding-left: 3px;
    padding-right: 3px;
    
}

div.module_menu ul {
    margin: 10px 0;
    padding-left: 20px;
}

div.module_menu ul li a:link, div.module_menu ul li a:visited {
        font-size: 130%;
}


/* forms */
table.adminform textarea {
  width: 510px;
  height: 400px;
  font-size: 1em;
  color: #000099;
}

div.search input {
    width: 145px;
    border: 1px solid #ccc;
    margin: 100px 0 0 230px;
}

form#form-login fieldset { border: 0 none; margin: 0em; padding: 0.2em;}
form#form-login ul { padding-left: 20px; }

/* thumbnails */
div.mosimage         {  margin: 5px; }
div.mosimage_caption {  font-size: .90em; color: #666; }

div.caption       { padding: 0 10px 0 10px; }
div.caption img   { border: 1px solid #CCC; }
div.caption p     { font-size: .90em; color: #666; text-align: center; }

/* Parameter Table */
table.paramlist {
    margin-top: 5px;
}

table.paramlist td.paramlist_key {
    width: 128px;
    text-align: left;
    height: 30px;
}

table.paramlist td.paramlist_value {
}

div.message {
    font-family : "Arial";
    font-weight: bold;
    font-size : 9px;
    color : #c30;
    text-align: center;
    width: auto;
    background-color: #f9f9f9;
    border: solid 1px #d5d5d5;
    margin: 3px 0px 10px;
    padding: 3px 20px;
}

/* Banners module */

/* Default skyscraper style */
.bannergroup {
}

.banneritem img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Text advert style */

.banneritem_text {
    padding: 4px;
    font-size: 11px;
}

.bannerfooter_text {
    padding: 4px;
    font-size: 11px;
    background-color: #ECECEC;
    text-align: right;
}

/* System Messages */
/* see system general.css */

.pagination span { padding: 2px; }
.pagination a    { padding: 2px; }

/* Polls */
.pollstableborder td {
    text-align: left;
}

/* WebLinks */
span.description {
    display:block;
    padding-left: 30px;
}

/* Frontend Editing*/
fieldset {
    border: 1px solid #ccc;
    margin-top: 15px;
    padding: 15px;
}

legend {
    margin: 0;
    padding: 0 10px;
}

td.key {
    border-bottom:1px solid #eee;
    color: #666;
}

/* Tooltips */

.tool-tip {
    float: left;
    background: #ffc;
    border: 1px solid #D4D5AA;
    padding: 5px;
    max-width: 200px;
}

.tool-title {
    padding: 0;
    margin: 0;
    font-size: 100%;
    font-weight: bold;
    margin-top: -15px;
    padding-top: 15px;
    padding-bottom: 5px;
}

.tool-text {
    font-size: 100%;
    margin: 0;
}

.contentheading {
    padding: 0;
    font-family: Arial,sans-serif;
    font-size: 1.1em;
    font-weight: normal;
    vertical-align: bottom;
    color: #333;
    text-align: left;
    width: 100%;
}

