* {
    margin: 0;
    padding: 0;
}

html {
    height: 100%
}

body {
    font: 12px/18px Verdana, Tahoma, sans-serif;
    width: 100%;
    height: 100%;
    background: #ac6c1c url(/templates/default/img/site_bg.png) repeat-x;
    color: #000;
}

a {
    color: #ac6c1c;
    outline: none;
    text-decoration: underline;
}

a:hover {
    text-decoration: none
}

a:visited {
    color: #322009
}

a[href$='.zip'] {
    padding: 0 0 0 20px;
    background: transparent url(/templates/default/img/zip.png) no-repeat center left;
}

p {
    margin: 0 0 18px
}

img {
    border: none
}

input {
    vertical-align: middle
}

input,
textarea {
    outline: none
}

input[type=submit],
label,
select {
    cursor: pointer
}

#wrapper {
    width: 1000px;
    margin: 0 auto;
    min-height: 100%;
    height: auto !important;
    height: 100%;
}

#header {
    height: 105px;
    background: url(/templates/default/img/header.png) no-repeat;
    color: #ffffff;
    font-size: 18px;
    overflow: hidden;
}

#header_left {
    width: 700px;
    float: left;
}
#header_left #logo_img {
    padding: 25px 25px 0 20px;
    float: left;
}
#header_left #logo_div {
    float: left;
    padding: 30px 20px 0;

}
#header_left #logo_div h1 {
    font-size: 18px;
    font-style: normal;
}
#header_left #logo_div h2 {
    font-size: 12px;
    font-style: normal;
}
#header_left #top_menu {
    list-style: none;
    float: right;
    padding-top: 35px;
}
#header_left #top_menu li {
    float: left;
    padding-bottom: 12px;
    margin: 0 2px;
}
#header_left #top_menu li.current {
    background: url(/templates/default/img/button-arrow.png) no-repeat center bottom;
}
#header_left #top_menu li.current a {
    background-color: #322009;
    display: block;
    padding: 3px 5px;
    margin-top: -3px;
}
#header_left #top_menu a {
    color: #ffffff;
    text-decoration: none;
}
#header_left #top_menu a:hover {
    color: #ac6c1c;
}
#header_right {
    float: right;
    padding-top: 32px;
    width: 300px;
    text-align: right;
}
#search_input {
    border:none;
    color:#888888;
    background:url(/templates/default/img/search_field.png) no-repeat left top;
    font-family:Verdana, Tahoma, sans-serif;
    font-size:14px;
    height:36px;
    line-height:36px;
    /*margin-right:6px;*/
    padding:0 0 0 30px;
    width:200px;
    /*vertical-align: middle;*/
}

#submitButton{
    background:url(/templates/default/img/search_button.png) no-repeat;
    width:32px;
    height:32px;
    text-indent:-9999px;
    overflow:hidden;
    border:none;
    /*vertical-align: middle;*/
}
#submitButton:hover{
    background-position:left bottom;
}

#more{
    width: 121px;
    height: 32px;
    background: url(/templates/default/img/button_more.png) no-repeat;
    cursor: pointer;
    margin: 0 auto;
}

/*
#header_right input {
    width: 221px;
    height: 26px;
    border: none;
    background: url('/templates/default/img/form_sprite.png') no-repeat 0 0;
    font-size: 18px;
    padding: 3px 6px;
    color:#BBBBBB;
}
*/
/*
#header_right img {
    vertical-align: middle;
    cursor: pointer;
}
*/
/*
#header_right a {
    background: url('/templates/default/img/icon_sprite.png') no-repeat 0 -420px;
    width: 32px;
    height: 32px;
    display: block;
    float: right;
}
#header_right p {
    margin: 0;
    font-size: 8px;
    text-align: left;
    padding-left: 42px;
}
*/

#middle {
    width: 100%;
    padding: 0 0 85px;
    height: 1%;
}
#middle:after {
    content: '.';
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
}
#container {
    width: 100%;
    float: left;
    overflow: hidden;
}
#content {
    padding: 0 300px 0 0;
}
#content_top,
#content_bottom {
    height: 20px;
    display: block;
}
#content_top {
    background: url('/templates/default/img/form_sprite.png') no-repeat 0 -194px;
}
#content_bottom {
    background: url('/templates/default/img/form_sprite.png') no-repeat 0 -224px;
}

.sr {
    float: left;
    margin-right: -3px;
    width: 280px;
    margin-left: -280px;
    position: relative;
}
.sidebar h2 {
    color: #ffffff;
    font-weight: normal;
    font-size:18px;
    padding-left: 40px;
    height: 32px;
    line-height: 32px;
}
#sidebar_popular_articles_h {
    background: url('/templates/default/img/icon_sprite.png') no-repeat 0 -252px;
}
#sidebar_last_articles_h {
    background: url('/templates/default/img/icon_sprite.png') no-repeat 0 -210px;
}
#sidebar_sections_h {
    background: url('/templates/default/img/icon_sprite.png') no-repeat 0 -168px;
}
#tweets_h {
    background: url('/templates/default/img/icon_sprite.png') no-repeat 0 -294px;
}
#tweets_h a {
    color: #ffffff;
}
/*
.sidebar img {
    vertical-align: middle;
    margin: 0 4px;
}
*/
.sidebar ul {
    list-style: none;
    margin: 10px 0 30px;
}
.sidebar li {
    background: url('/templates/default/img/mark.png') no-repeat 0 3px;
    padding-left: 15px;
    line-height: 22px;
    height: 22px;
}
.sidebar a {
    color: #ffffff;
    text-decoration: none;
}
.sidebar  a:visited {
    color: #EDC087;
}
.sidebar .ems span {
    color: #bbbbbb;
}
.sidebar #tweets {
    font-size: 10px;
    min-height: 200px;
}
.sidebar #tweets li{
    height: auto;
    background-position: 0 6px;
}
.sidebar #tweets.loading {
    background: url(/templates/default/img/twitter_loader.gif) center center no-repeat;
}

#footer {
    /* xwidth: 1000px; */
    margin: -85px 0 0;
    height: 85px;
    background: url('/templates/default/img/footer_bg.png') repeat-x bottom;
}

#footer a, 
#footer a:visited{
     color: #322009;
}


#footer_wrap {
    width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
    color: #322009;
}
/*
#footer_wrap img {
    vertical-align: middle;
    margin: 0 6px;
}
*/

#footer_wrap ul{
    list-style: none;
    float: right;
}
#footer_wrap li{
    float: left;
    margin: 0 6px;
}
#footer_wrap li a{
    display: block;
}
#footer_xhtml {
    background: url('/templates/default/img/icon_sprite.png') no-repeat 0 -487px;
    width: 56px;
    height: 15px;
}
#footer_css {
    background: url('/templates/default/img/icon_sprite.png') no-repeat 0 -512px;
    width: 43px;
    height: 15px;
}
#footer_twitter {
    background: url('/templates/default/img/icon_sprite.png') no-repeat 0 -537px;
    width: 16px;
    height: 16px;
}
#footer_rss {
    background: url('/templates/default/img/icon_sprite.png') no-repeat 0 -563px;
    width: 16px;
    height: 16px;
}
#copy {
    padding-left: 20px;
}
div#resources {
    font-size: 8px;
    padding-left: 20px;
}

#work_field {
    background-color: #ffffff;
    padding: 0 20px;
}
#work_field.loading {
    background: #ffffff url(/templates/default/img/form_loader.gif) center center no-repeat;
}
#articles {
    list-style: none;
    padding: 0 0 20px;
}
#articles li {
    border-top: 1px solid #ac6c1c;
    padding: 20px 0 3px ;
}
#articles li.first {
    border-top: none;
}
#articles h1 {
    font-weight: normal;
    font-size: 18px;
    padding-bottom: 5px;
}
#articles h1 a {
    /* color: #ac6c1c; */
    text-decoration: none;
}
#articles span {
    font-size: 12px;
    float:right;
    color: #bbbbbb;
}
#articles img {
    vertical-align: middle;
    margin-right: 3px;
}
#articles p {
    color: #bbbbbb;
    margin: 2px 0;
}
#articles.site_search p {
    color: #000;
}
#articles p a {
    color: #bbbbbb;
}

#article {
    padding: 0 0 3px;
}
#article h1 {
    font-weight: normal;
    font-size: 18px;
    color: #ac6c1c;
    padding-bottom: 5px;
}
#article h1 a {
    color: #ac6c1c;
    text-decoration: none;
}
#article h1 a:visited {
    color: #322009;
}
#article ul.rss {
    float: right;
}
#article ul.rss li {
    float: left;
    background: none;
    padding-left: 6px;
}
#article .rss a {
    width: 32px;
    height: 32px;
    display: block;
}
#twitter_link{
    background: url(/templates/default/img/icon_sprite.png) no-repeat 0 -336px;

}
#rss_link{
    background: url(/templates/default/img/icon_sprite.png) no-repeat 0 -378px;
}
/*
#article i.article_pict {
    float: left;
    height: 74px;
    display: block;
}
*/
#article_pict {
    background: url(/templates/default/img/icon_sprite.png) no-repeat 0 0;
    width: 96px;
}
#contact_pict {
    background: url(/templates/default/img/icon_sprite.png) no-repeat 0 -84px;
    width: 74px;
}

#article .article_info {
    color: #bbbbbb;
    margin: 2px 0;
    /* margin: 2px 0 18px; */
}
#article .article_info a {
    color: #bbbbbb;
}
/*
#article .article_info img {
    vertical-align: middle;
    margin-right: 3px;
}
*/
#article b.label,
#articles b.label {
    width : 17px;
    height: 16px;
    background: url(/templates/default/img/arrow_sprite.png) no-repeat 0 0;
    display: block;
    float: left;
    margin: 1px 2px 0 0;
}


#article .tag {
    margin-bottom: 18px;
}
#article p a, #article h4 a {
    /* color: #ac6c1c; */
}
#article ul {
    margin:0 0 18px;
    list-style: none;
}
#article h3 {
    border-bottom: 1px solid #ac6c1c;
    font-size: 16px;
    margin:5px 0 10px;
}
#article h3 a {
    color:#AC6C1C;
    font-size:14px;
    padding:0 4px;
    text-decoration:none;
    visibility:hidden;
}
#article h3:hover a {
    visibility:visible;
}

#article h4 {
    font-size: 14px;
    margin:5px 0 10px;
}
#article ul li {
    background: url(/templates/default/img/arrow_sprite.png) no-repeat 0 -85px;
    padding-left:15px;
}
#article ol {
    margin:0 0 18px;
}
#article ol li {
    list-style-position: inside;
}
#article p.next_prev {
    overflow: auto;
}
#article .next_prev a {
    color: #BBBBBB;
    height: 20px;
    display: block;
    width: 40%;
}
/*
#article .next_prev img {
    vertical-align: middle;
}
*/
#article .next_prev a.left {
    background: url(/templates/default/img/arrow_sprite.png) no-repeat 0 -26px;
    padding-left: 30px;
    text-align: left;
    float: left;

}
#article .next_prev a.right {
    background: url(/templates/default/img/arrow_sprite.png) no-repeat 100% -56px;
    padding-right: 30px;
    text-align: right;
    float: right;
}

#article p.tags {
    font-size: 10px;
    color: #333;
}
#article p.tags span {
    font-weight: bold;
}
#article #article_contents {
    float: right;
    padding: 5px;
    margin: 0 0 10px 10px;
    background-color: #ffffff;
    border: 1px solid #ac6c1c;
    width: 200px;
}
#article #article_contents li {
    background: none;
    padding-left: 0;
    line-height: 14px;
}
#article #article_contents .content_h1 {
    font-size: 12px;
    margin-bottom: 5px;
    color: #BBBBBB;
}
#article #article_contents .content_h3 {
    font-size: 11px;
}
#article #article_contents .content_h4 {
    font-size: 10px;
    padding-left: 10px;
}

#article #article_content table {
    width: 100%;
}
#article #article_content table.border {
    border: 1px solid #AC6C1C;
    border-collapse: collapse;
}
#article #article_content table.border td {
    border: 1px solid #AC6C1C;
    padding: 3px;
    vertical-align: middle;
}



/*
#article #article_content img {
    margin: 5px;
}
*/
#article img.lazyload {
    margin: 5px;
}
#article img.parked {
    background: url(/templates/default/img/form_loader.gif) center center no-repeat;
}
pre {
    margin: 0 0 18px;
}


#comments {
    margin-top: 40px;
    padding-bottom: 20px;
}
#comments h2 {
    font-weight: normal;
    font-size: 16px;
    color: #ac6c1c;
    padding-bottom: 5px;
}
#comments ul {
    list-style: none;
}
#comments li {
    margin: 5px 0px;
}

#comments table {
    width: 100%;
    border-collapse: collapse;
}
#comments td {
    vertical-align: top;
}
#comments .t {
    background: url(/templates/default/img/cloud_bt_sprite.png) repeat-x 0 0;
    /* xvertical-align: top;
    xtext-align: right; */
}
#comments .t i {
    width: 25px;
    height: 13px;
    margin-right: 40px;
    /* xvertical-align: top;*/
    float: right;
    display: block;
    background: url(/templates/default/img/cloud_corner_sprite.png) no-repeat -132px 0;
}
#comments .tl {
    background: url(/templates/default/img/cloud_corner_sprite.png) no-repeat -33px 11px;
}
#comments .tr {
    background: url(/templates/default/img/cloud_corner_sprite.png) no-repeat -99px 11px;
}
#comments .l {
    background: url(/templates/default/img/cloud_lr_sprite.png) repeat-y 0 0;
}
#comments .r {
    background: url(/templates/default/img/cloud_lr_sprite.png) repeat-y -33px 0;
}
#comments .bl {
    background: url(/templates/default/img/cloud_corner_sprite.png) no-repeat 0 0;
}
#comments .b {
    background: url(/templates/default/img/cloud_bt_sprite.png) repeat-x 0 -43px;
}
#comments .br {
    background: url(/templates/default/img/cloud_corner_sprite.png) no-repeat -66px 0;
}
#comments .tl,
#comments .tr {
    width: 23px;
    height: 34px;
}
#comments .bl,
#comments .br {
    width: 23px;
    height: 23px;
}


#comments #comment0_div {
    margin: 10px 0 0;
}
#comments .comment_info {
    color: #bbbbbb;
    margin: 2px 0 18px;
}
#comments .comment_info a, #comments .comment_info span {
    color: #000000;
}

#comments a.answer {
    color: #bbbbbb;
}

#comment_div,
#contact_div {
    padding: 15px 0 25px 0;
    position:relative;
}

#comment_form div,
#contact_form div {
    margin: 0 0 10px 0;
}

#comment_form div.slider,
#contact_form div.slider {
    clear:both;
    position:relative;
}
#comment_form label,
#contact_form label  {
    /* cursor:pointer; */
    display:block;
    color:#BBBBBB;
}

#comment_form input.input,
#contact_form input.input {
    width: 216px;
    height: 22px;
    border: none;
    background: url('/templates/default/img/form_sprite.png') no-repeat 0 -42px;
    font-size: 14px;
    padding: 5px 3px;

}

#comment_form input.button,
#contact_form input.button {
    width: 104px;
    height: 32px;
    border: none;
    padding: 0;
    margin-right: 13px;
}

#comment_form input.submit,
#contact_form input.submit {
    background: url('/templates/default/img/form_sprite.png') no-repeat 0 -296px;
}
#comment_form input.preview {
    background: url('/templates/default/img/form_sprite.png') no-repeat 0 -254px;
}

#comment_form textarea,
#contact_form textarea {
    font-family: Verdana,Tahoma,sans-serif;
    border: none;
    font-size: 14px;
    padding: 5px;
    width: 430px;
    height: 90px;
    /* overflow: hidden; */
    overflow: auto;
    background: url('/templates/default/img/form_sprite.png') no-repeat 0 -84px;
}
#comment_form img.spinner,
#contact_form img.spinner {
    vertical-align: middle;
    width: 24px;
    height: 24px;
}



#toolbar {
    list-style: none;
    overflow: hidden;
}
#toolbar li {
    list-style:none;
    float:left;
    margin: 0 7px 2px 0;
    width: 38px;
    height: 18px;
    text-align: center;
}
#toolbar li a {
    display:block;
    text-decoration: none;
    background: url('/templates/default/img/toolbar.png') no-repeat;
}
#toolbar li a:hover {
    background-position: 0 -18px;
}




div.pagination {
    color: #ac6c1c;
}
div.pagination a {
    color: #BBBBBB;
}
span.left {
    float: left;
}
span.right {
    float: right;
}
.clear:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clear { display: inline-block; }
.clear { display: block; }


.bold {
    font-weight: bold;
}
.hidden {
    display: none;
}

#gototop {
    display: none;
    width: 49px;
    height: 15px;
    background: url('/templates/default/img/icon_sprite.png') no-repeat 0 -462px;
    position: fixed;
    margin-left: 46px;
    bottom: 50px;
}

.raw, .copy {
    display:block;
    border:1px solid #ccc;
    text-decoration:none;
    width:26px;
    height:26px;
    text-indent:-9999px;
    float: right;
}

.raw {
    background: #eee url(/templates/default/img/clipboard.png) 0 -26px no-repeat;
}

.copy {
    background: #eee url(/templates/default/img/clipboard.png) 0 0 no-repeat;
}
.rawta {
    width: 100%;
    height: 100px;
    border: 1px solid #AC6C1C;
}
