* {
    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;
}
a.selected {
    font-weight: bold;
}
h1 {
    display: none;
}
.invisible {
    display: none;
}

/* layout */
#logo {
    margin-left: 15px;
}
div#container {
}
div#header {
   padding-top: 10px;
   margin-bottom: 15px;
   height: 63px;
   position: relative;
   border-bottom: 1px solid #eee;
}
div#footer {
}
div#content {
    position: relative;
}

/* menu */
ul#menu {
    position: absolute;
    right: 5px;
    top: 55px;
}
ul#menu li {
    float: left;
    padding-left: 5px;
    padding-right: 5px;
    
}
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;
}  

/* 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 {
	position: absolute;
	z-index: 3000;
	min-width: 100px;
    padding:5px;
    text-align: left;
    left: -500px;
    background-color: #333;
}
#tooltip h3 {
    font-weight: bold;
    color: #fff;
}
#tooltip div {
    color: #999;
}
#tooltip h3, #tooltip div {
    margin: 0;
    font-family: Verdana, Helvetica, Arial, sans-serif; 
    font-size: 11px;
}