body {
    margin: 0;
    font: 70%/1.5em Verdana, Tahoma, arial, sans-serif;
    color: #777777;
}
img {
    border: 0;
}
a:link, a:active, a:visited {
    text-decoration: none;
    color: #777777;
}
a:hover {
    text-decoration: underline;
    color: #777777;
}
a.surflink:link, a.surflink:active, a.surflink:visited, a.surflink:hover {
    /*color: brown;*/ /* brown doesn't exist as a value */
    color: #572700;
    text-decoration: none;
}
.header, .content, .footer {
    min-width: 1040px; 
}
.wrapper {
    width: 1100px;
    margin: 0 auto;
    text-align: left;
}
.prebanner {
    float: left;
    height: 20px;
    padding-left: 14px;
    color: #FFFFFF;
    text-align: left;
}
.prebanner a:link, .prebanner a:active, .prebanner a:visited, .prebanner a:hover {
    color: #FFFFFF;
}
.stats {
    height: 20px;
    text-align: right;
    padding-right: 58px;	
}
.stats div {
    float: right;
    margin: 0 4px;
    color: #FFFFFF;
}
.banner {
    height: 121px;
    background: #9D0F0E url('images/v3/banner_bg.jpg') repeat-x;
    text-align: center;
}
.bannerad {
    float: right;    
    padding: 20px 4px 0 0;
    padding-right: 58px;	
}

.navigation {
    height: 49px;
    background: #2E2E2E url('images/v3/nav_bg.jpg') repeat-x; /**/
    text-align: center;
}
.navigation ul {
    margin: 0 0 0 -45px;
    list-style-type: none;
}
.navigation ul.long li.sub {
    margin: 0;
    padding: 0;
}
.navigation ul li.sub:hover > ul {display: block; position: absolute; top:4em; left: 30px; background: #2E2E2E;}
.navigation li.sub:hover ul, li.over ul{display:block;}
.navigation ul ul {	display: none;}
.navigation li.sub > a {
    display: block;
    font-size: 11px;
    color: #FFFFFF;
    background: #2E2E2E url('images/v3/nav_bg.jpg') repeat-x;
}
.navigation ul li.sub {
    list-style-type: none;
    position: relative;
    margin: 0;
    padding: 0;
    background: #2E2E2E;
}
.navigation li.sub {
    float: left;
}
.navigation li {
    float: left;
    /*background: transparent url("images/v3/nav_separator.jpg") no-repeat scroll right 14px;*/
    background: transparent url("images/v3/nav_separator.jpg") no-repeat scroll 100% 14px;
}
.navigation li.end {
    margin-left: -4px;
    height: 48px;
    width: 2px;
    background: #2E2E2E url('images/v3/nav_bg.jpg') repeat-x;
}
.navigation a:link, .navigation a:active, .navigation a:visited, .navigation a:hover {
    display: block;
    padding: 16px 24px 15px;
    font-size: 11px;
    color: #FFFFFF;
}
.navigation ul.long a:link, .navigation ul.long a:active, .navigation ul.long a:visited, .navigation ul.long a:hover {	
    padding: 16px 27px 15px;
}
.content {
    background: #D8D8D8 url('images/v3/mid_bg.jpg') repeat-x;
    clear: both; /* needed for fixing the float */
    text-align: center;
}
.footer {
    background: #FFFFFF url('images/v3/footer_bg.jpg') repeat-x;
    padding: 48px 0 24px;
    text-align: center;
}
.footer .wrapper {
    margin: 0 auto;
    border: 1px solid #E7E7E7;
    border-width: 1px 0;
    padding: 16px 0;
    font-size: 12px;
    text-align: center;
}
.footer .left {
    float: left;
    margin-top: 6px;
    width: 217px;
    height: 59px;
}
.footer .right {
    float: right;
    margin-top: 6px;
    width: 193px;
    height: 59px;
    padding-right: 58px;
}

.maintitle {
    margin: 10px 0 30px;
    font-size: 24px;
    color: #4D4B4C;
    text-align: center;
}
.maintitle a {
    text-decoration: none;
}

/* this piece of code is really a complete crap */
/*#uppertable {
    display: block;
    width: 447px; /* if corrected, the table is pushed to the right
    margin-left: 250px;
    left: 0;
    text-align: left;
}*/

/* this one is much better! */
#uppertable {
    display: block;
    margin: 0;
    padding-top: 1em;
}

#uppertable a img{
    border: 0;
}

#uppertable .left {
    /*background: url(left.jpg) no-repeat top;*/
    background: url("images/v3/luke-left.gif") no-repeat top;
    width: 149px;
    height: 70px;
    float: left;
}

#uppertable .middle {
    /*background: url(middle.jpg) no-repeat top;*/
    background: url("images/v3/luke-middle.gif") no-repeat top;
    width: 149px;
    height: 70px;
    float: left;
}

#uppertable .right {
    /*background: url(right.jpg) no-repeat top;*/
    background: url("images/v3/luke-right.gif") no-repeat top;
    width: 149px;
    height: 70px;
    float: left;
}

#uppertable .twit {
    /*background: url(right.jpg) no-repeat top;*/
    background: url("buxtwit.png") no-repeat top;
    width: 224px;
    height: 70px;
    float: right;
    margin-right: 80px;
    margin-top: -10px;
 
}



#uppertable .left:hover {
    /*background: url(lefthover.jpg) no-repeat top;*/
    background-position: 0 -70px;
    width: 149px;
    height: 70px;
    float: left;
}

#uppertable .middle:hover {
    /*background: url(middlehover.jpg) no-repeat top;*/
    background-position: 0 -70px;
    width: 149px;
    height: 70px;
    float: left;
}

#uppertable .right:hover {
    /*background: url(righthover.jpg) no-repeat top;*/
    background-position: 0 -70px;
    width: 149px;
    height: 70px;
    float: left;
}



.mainbox {
    color: #4D4B4C;
    font-family: Arial,Verdana,Tahoma,arial,sans-serif;
    font-size: 12px;
}
.mainbox .left {
    float: left;
    width: 356px;	
    height: 243px;
    background: #CCCACB url('images/v3/left.jpg') no-repeat;
    padding: 20px 12px 0 20px;
}
.mainbox .middle {
    float: left;
    width: 233px;
    height: 243px;
    background: #CCCACB url('images/v3/mid.jpg') no-repeat;
    padding: 20px 12px 0 0;
}
.mainbox .right {
    float: left;
    width: 353px;
    height: 243px;
    background: #CCCACB url('images/v3/right.jpg') no-repeat;
    padding: 20px 20px 0 12px;
    line-height: 20px;
}
.mainbox h3 {
    margin-bottom: 18px;
    font-size: 18px;
    color: #4D4B4C;
}
.mainbox .middle h3 {
    text-align: center;
}
.mainbox .right h3 {
    text-align: right;
}
.mainbox .right .placeholder {
    float: left;
    margin-top: -40px;
    width: 80px;
    height: 50px;
}
.mainbox ul {
    margin: 0 0 0 12px !important;
    padding: 0;
    list-style-type: none;
}
.mainbox li {
    background: transparent url('images/v3/bullet_red.png') no-repeat scroll 0 7px;
    padding: 6px 0 6px 20px;
}


/* headers */
h1, h2, h3 { font-family: 'Trebuchet MS', Tahoma, Sans-serif;  }
h1 {
    font-size: 180%;
    font-weight: normal;
    color: #555;
}
h2 {
    font-size: 160%;
    color: #88ac0b;
    font-weight: normal;
}
h3 {
    font-size: 135%;
    color: #666666;
}

/* images */

img.float-right { margin: 5px 0px 10px 10px;  }
img.float-left { margin: 5px 10px 10px 0px; }

h1, h2, h3, p {
    margin: 10px 15px;
    padding: 0;
}
ul, ol {
    margin: 5px 15px;
    padding: 0 25px;
}

code {
    margin: 5px 0;
    padding: 15px;
    text-align: left;
    display: block;
    overflow: auto;
    font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace ;
    /* white-space: pre; */
    border: 1px solid #E5F0FB;
    background: #F4F8FD;
}
acronym {
    cursor: help;
    border-bottom: 1px dotted #777;
}
blockquote {
    margin: 10px 15px;
    padding: 0 0 0 25px;
    font: bold 1.3em/1.5em "Trebuchet MS", Tahoma, arial, Sans-serif;
    color: #2361BA;
    border: 1px solid #E5F0FB;
    background: #F4F8FD url(images/quote.jpg) no-repeat 8px 6px;
}

/* start - table */
/* I have added a new class for it - Luca */
table.ad {
    border-collapse: collapse;
    margin: 10px 15px;
}
table.ad th strong {
    color: #fff;
}
table.ad th {
    background: #306bc1 url(images/button-bg.jpg) repeat-x 0 0;
    height: 10px;
    padding-left: 10px;
    padding-right: 10px;
    color: #fff;
    text-align: left;

}
table.ad tr {
    height: 15px;
    background: #fff;
}
table.ad td {
    padding-left: 10px;
    padding-right: 10px;

}
/* end - table */

/* form elements */
form {
    margin:10px 15px;
    padding: 10px 0;
    border: 1px solid #E5F0FB;
    background: #F4F8FD;
}


/* search form */
.searchform {
    background-color: transparent;
    border: none;
    margin: 0;
    padding: 5px 0 5px 0;
    width: 180px;
}
.searchform p { margin: 0; padding: 0; }
.searchform input.textbox { 
    width: 110px;
    color: #777;
    height: 20px;
    padding: 2px;
    border: 1px solid #D2E8F7;
    vertical-align: top;
}
.searchform input.button { 
    width: 55px;
    height: 26px;
    padding: 2px 5px;
    vertical-align: top;
}

/********************************************
LAYOUT
********************************************/ 
#wrap {
    width: 790px;
    /*border-left: 1px solid #E5E5E5; */
    margin: 0 auto;
    text-align: left;
}
#content-wrap {
    clear: both;
    width: 760px;
    margin: 5px auto;
    padding: 0;
}
#header {
    position: relative;
    height: 1px;

    padding: 0;
    color: #fff;
}
#header h1#logo-text a {
    position: absolute;
    margin: 0; padding: 0;
    font: bolder 55px 'Trebuchet MS', Arial, Sans-serif;
    letter-spacing: -3px;
    color: #fff;
    text-transform: none;
    text-decoration: none;
    background: transparent;

    /* change the values of top and left to adjust the position of the logo*/
    top: 18px; left: 155px;
}
#header p#slogan {
    position: absolute;
    margin: 0; padding: 0;
    font: bold 13px 'Trebuchet MS', Arial, Sans-serif;
    text-transform: none;
    color: #FFF;

    /* change the values of top and left to adjust the position of the slogan*/
    top: 80px; left: 50px;
}

/* header links */
#header #header-links {
    position: absolute;
    color: #657480;
    /*font: bold 14px"Trebuchet MS", Arial, Tahoma, Sans-serif;*/
    font: bold 14px "Trebuchet MS", Arial, Tahoma, Sans-serif;
    top: 20px; right: 20px;
}
#header #header-links a {	
    color: #fff;
    text-decoration: none;
}
#header #header-links a:hover {
    color: #D4FF55;
}

/* navigation */
#menu {
    clear: both;
    /*margin: 0 auto;padding: 0 0 0 85;*/
    margin: 0 auto;
    padding: 0 0 0 85px;
    background: #81C524 url(images/menu.jpg) repeat-x;
    font: bold 12px/30px "trebuchet MS", Arial, Tahoma, Sans-serif;
    height: 30px;
    width: 100%;
}
#menu ul {
    float: left;
    list-style: none;
    margin:0; padding: 0 0 0 75px;
}
#menu ul li {
    display: inline;
}
#menu ul li a {
    display: block;
    float: left;
    padding: 0 12px;
    color: #fff;
    text-decoration: none;
    background: url(images/sep.jpg) no-repeat 100% 100%;
}
#menu ul li a:hover {
    color: #3b5e0b;
}
#menu ul li#current a {	
    color: #3b5e0b;
}

/* Main Column */
#main {
    padding: 0px 0;
}
#main h2 {
    font: normal 180% 'Trebuchet MS', Tahoma, Arial, Sans-serif;
    padding: 0;
    margin-bottom: 0;
    color: #2666c3;
}
#main h2 a {
    color: #2666c3;
    text-decoration: none;
}

#main p, #main h1, #main h2, #main h3, #main ol, #main ul,
#main blockquote, #main table, #main form {
    margin-left: 20px;
    margin-right: 25px;
}
#main ul li {
    list-style-image: url(images/bullet.gif);
}

/* Main Column For Index Page */
#main2 {
    padding: 20px 0;
}
#main2 h2 {
    font: normal 180% 'Trebuchet MS', Tahoma, Arial, Sans-serif;
    padding: 0;
    margin-bottom: 0;
    color: #2666c3;
}
#main2 h2 a {
    color: #2666c3;
    text-decoration: none;
}

#main2 p, #main2 h1, #main2 h2, #main2 h3, #main2 ol, #main2 ul,
#main2 blockquote, #main2 table, #main2 form {
    margin-left: 20px;
    margin-right: 25px;
}
#main2 ul li {
    list-style-image: url(images/bullet.gif);
}

#sidebart {
    float: right;
    width: 250px;
    height: 250px;
    /*border-left: 0px solid #E5E5E5;*/
    padding-left: 4px;
    margin: 5px 0 0 0;
    color: #777;
    margin-right: 0%;
}	
#visualization {
    position:absolute;
	left: 490px;
    width: 400px;
    height: 180px;
}

/* Sidebar */	
#sidebar {
    float: right;
    width: 195px;
    /*border-left: 0px solid #E5E5E5;*/
    padding-left: 4px;
    margin: 10px 0 0 0;
    color: #777;
}	
#sidebar h2 {
    margin: 15px 5px 10px 5px;
    font: bold 1.4em 'Trebuchet MS', Tahoma, Sans-serif;
    color: #555;
}
#sidebar p {
    margin-left: 5px;
}

#sidebar ul.sidemenu {
    list-style: none;
    text-align: left;
    margin: 7px 10px 8px 0; padding: 0;
    text-decoration: none;
    border-top: 1px solid #A9D4EF;
}
#sidebar ul.sidemenu li {
    list-style: none;
    padding: 4px 0 4px 5px;
    margin: 0 2px;
    color: #777;
    border-bottom: 1px solid #D2E8F7;
}
* html body #sidebar ul.sidemenu li {
    height: 1%;
}
#sidebar ul.sidemenu li a {
    text-decoration: none;
    color: #1773BC;
}
#sidebar ul.sidemenu li a:hover {	
    color: #333;
}
#sidebar ul.sidemenu ul { margin: 0 0 0 5px; padding: 0; }
#sidebar ul.sidemenu ul li { border: none; }

/* Footer */	
#footer {
    color: #C6DDEE;
    /*background: #caced1 url(footer.jpg) no-repeat center top;*/
    background: #caced1 url("images/footer.jpg") no-repeat top center;
    clear: both;
    width: 790px;
    height: 57px;
    text-align: center;
    font-size: 90%;
}
#footer p { 
    padding: 10px 0;
    margin: 0;
}
#footer a { 
    color: #fff;
    text-decoration: none;
}

/* post footer */
.post-footer {
    background: #F4F8FD;
    padding: 5px; margin: 20px 25px 0 25px;
    border: 1px solid #E5F0FB;
    font-size: 95%;
}
.post-footer .date {	padding-left: 0px; margin: 0 5px; }
.post-footer .comments { padding-left: 0px; margin: 0 5px; }
.post-footer .readmore { padding-left: 0px; margin: 0 5px; }

.post-by { font-size: .95em;	margin-top: 0;	}

/* alignment classes */
.float-left  { float: left; }
.float-right { float: right; }
.align-left  { text-align: left; }
.align-right { text-align: right; }

/* display and additional classes */
.clear { clear: both; }



div.heading {
    color: #787878;
    font-weight: bold;
    FONT-SIZE: 15px;
}

/*
 * Navigation Bar
 * by Luca Passini
 */

/* navbar wrapper
 * this wrapper is needed in order to center the main navbar */
div.navbar-wrapper {
    background: #2e2e2e url("images/v3/luke-gradients.png") repeat-x top;
}

/* resets margins, paddings and list styles for all the elements */
div.navbar-wrapper, div.navbar-wrapper * {
    margin: 0;
    list-style: none;
    padding: 0;
}

/* main list */
ul.navbar {
    margin: 0 auto; /* centers the navbar on the upper div */
    position: relative; 
    width: 1100px; /* needs to be set in order to center it */
}

/* main list elements */
ul.navbar > li {
    background: url("images/v3/luke-nav-sep.gif") no-repeat 100% 50%; /* separator */
    float: left;
    padding-right: 3px; /* small space for the separator */
    position: relative;
}

ul.navbar > li {
  display:inline;          /* for IE only */
  }


/* main list links */
ul.navbar > li > a {
    color: #fff;
    display: block;
    height: 50px;
    line-height: 50px;
    padding: 0 1.5em;
    text-decoration: none;
}

/* main list links hover */
ul.navbar > li > a:hover {
    background: #9d0f0e url("images/v3/luke-gradients.png") repeat-x 0% -50px;
}

/* arrow image */
img.arrow {
    padding-left: 1em;
    vertical-align: middle;
}

/* sub-list (hidden) */
ul.navbar > li > ul {
    display: none;
}

/* sub-list (visible) */
ul.navbar > li:hover > ul {
    border-right: 1px solid #000;
    border-top: 1px solid #000;
    display: block;
    position: absolute;
    width: 200px;
    z-index: 1; /* it can be useful with small resolutions */
}

/* sub-list links */
ul.navbar > li > ul a {
    background: #666;
    border-bottom: 1px solid #000;
    border-left: 5px solid black;
    color: #fff;
    display: block;
    padding: 1.5em;
    text-decoration: none;
}

/* sub-list links hover */
ul.navbar > li > ul a:hover {
    background: #aaa;
    border-left-color: #333;
    color: #000;
}

/* fixes the floating list items */
.clearer {
    clear: both;
}

/* fixes a strange bug due to a non-semantic html */
p.uptbl {
    margin: 0;
    padding: 0;
}

/* less important links */
ul.navbar > li > a.less-important {
	color: #ccc; /* change this value if you want another text color */
}

form.pj input
{
	background-color:#FFF;
	color: #666;
	border: 1px solid #333;
	font-weight: bold;


}
