* {
    padding: 0;
    margin: 0;
    font-size: 12px;
    list-style-type: none;
    font-family: arial, verdana, sans-serif;
    text-decoration: none;
    outline: none;
    border: 0;
    letter-spacing: 0.3px;
    color: #666;
    line-height: 18px;
}
a.selected {
    font-weight: bold;
}
h1 {
    display: none;
}
.invisible {
    display: none;
}

/* layout */
#logo {
    margin-left: 0;
}
div#container {
	width: 860px;
	margin: auto;
}
div#header {
   padding-top: 10px;
   height: 63px;
   position: relative;
   border-bottom: solid 1px #b7b7b7;
}
img#home_title{
	padding: 0 0 12px 20px;
}
#footer {
	margin-top: 15px;
	border-top: solid 1px #b7b7b7;
	text-align: right;
	font-size: 11px;
	padding-top: 10px;
	padding-bottom: 20px;
}
div#content {
    position: relative;
}

/* menu */
ul#menu {
    position: absolute;
    right: 0;
    top: 30px;
}
ul#menu li {
    float: left;
    padding-left: 10px;   
}
ul#menu li a {
    font-size: 11px;
}
ul#menu li.selected {
    height: 21px;
    background: #fff;
}  
ul#menu li.selected a {
    color: #cc0000;
    font-weight: bold;
}

/* home */
#home {
	width: 860px;
}
#home h2 {
	/*display: none;*/
}
#home li {
	float: left;
}
#introductory {
	height: 310px;
	background: #f1f1f1;
}
#introductory h2 {
	padding: 15px  0 0 15px;
	font-size: 18px;
	font-weight: bold;
	width: 205px;
}
#introductory p {
	width: 205px;
	padding: 20px 0 15px 15px;
}
#introductory a {
	margin-left: 15px;
	background: transparent url(../img/introductory_button.gif) no-repeat scroll left center;
	padding-left: 9px;	
}
#introductory img {
	float: right;
}
#apps h2 {
	padding-top:30px;
	font-size: 16px;
	text-transform: uppercase;
}
#apps a {
	background: transparent url(../img/introductory_button.gif) no-repeat scroll left center;
	padding-left: 9px;
}
#apps li {
	width: 270px;
	height: 370px;
	margin: 15px 25px 0 0;
	background-color: #f1f1f1;
	border-top: solid 1px #b7b7b7;
}
#apps li.last {
	margin-right: 0;
}
#apps li img {
	margin: 15px 0 0 15px;
}
#apps li p {
	width: 240px;
	margin: 15px 0 15px 15px;	
}
#sites {
	height: 210px;
	/*background: url(../img/sites_title.gif) 0px 20px no-repeat;*/
	margin-bottom: 20px;
}
#sites h2 {
	padding-top:30px;
	font-size: 16px;
	text-transform: uppercase;
}
#sites li {
	width: 195px;
	height: 146px;
	float: left;
	margin: 15px 24px 0 0;
	border-top: solid 1px #b7b7b7;
	padding-top: 15px;
}
#sites li.last {
	margin-right: 0;
}


/* links */
#links_description {
    padding: 0 15px 15px 0;
}
#links {
    padding-left: 20px;
}
#links li {
    width: 215px;
    height: 187px;
    padding: 30px;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 1px solid #eee;
}
#links li img {
    
}
#links li h3 {
    margin: 0;
    padding: 0;
    line-height: 40px;
    font-size: 12px;
    font-weight: normal;
}

/* blog */
div#blog {
    width: 876px;
}
ul#posts li {
    margin-bottom: 20px;
    position: relative;
}
div#blog p.file {
    margin-bottom: 10px;
    float: right;
}
div#blog p.text {
    width: 356px;
}


/* form */
input,
textarea {
    border: 1px solid #ccc;
}
button {
    background: #ccc;
}
form {
    padding-left: 15px;
    margin-bottom: 10px;
}
input {
    height: 15px;
    width: 250px;
    padding: 2px;
}
select {
    width: 258px;
    height: 19px;
    border: 1px solid #ccc;
}
textarea {
    border: 1px solid #ccc;
    height: 150px;
    width: 250px;
    padding: 2px;
    overflow: hidden;
}
input.submit {
    background: #fff;
    width: 15px;
    height: 11px;
}
form#search input.text {
    width: 150px;
}
form#search input.submit {
    border: 0;
}
button {
    margin-top: 10px;
    padding: 5px;
    width: 90px;
    height: 36px;
    font-weight: bold;
    background: url(../img/form_button.png);
    cursor: pointer;
}
button:hover {
    color: #cc0000;
}
label {
    display: block;
    padding: 10px 0 3px 0;
}
label.error {
    font-weight: bold;
    padding-top: 3px;
    color: #cc0000;
}
.message {
    margin: 20px 0 10px 0;
}
.message span {
    background-color: #cc0000;
    color: #fff;
    font-weight: bold;
    padding: 10px;
}



/* clearfix */
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
.clearfix {
	display: inline-table;
}
* html .clearfix {
	height: 1%;
}
.clearfix {
	display: block;

}

/* meta bar */
div#meta_bar {
   height: 20px;
   padding: 5px 5px 0 5px;
   text-align: right;
   border-bottom: 1px solid #eee;
   /*background: #777;*/
}
div#meta_bar a {
   padding-right: 5px;
}
div#notice {
   position: absolute;
   top: 40px;
   left: 20px;
   font-weight: bold;
   display: none;
}
div#meta_user {
   float: left;
}
div#meta_admin {
   float: left;
}
div#meta_menu {
   position: relative;
   cursor: pointer;
   height: 20px;
}
div#meta_menu ul {
   top: 20px;
   right: 15px;
   position: absolute;
   width: 200px;
   background: #000;
}
div#meta_menu ul li a {
   display: block;
   text-align: left;
   padding: 5px;
}


/* tooltip */
#tooltip {
	position: absolute;
	z-index: 3000;
	width: auto;
    padding: 15px;
    text-align: left;
    left: -500px;
    background-color:#a41900; 
    color:#fff;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
}
#tooltip * {
    color:#fff;
	font-weight: normal;
	line-height: 17px;
}
