html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, input, textarea {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    color: inherit;
}

.clear {
    clear: both;
}

.hidden {
    display: none;
}

body {
    min-width: 982px;
    color: #000;
    font-size: 16px;
    font-family: 'arial', 'tahoma', sans-serif;
    line-height: 150%;
    background: #fff;
    line-height: 1;
    background: url("bg.jpg") 50% 0 #cecece;
}

html, body {
    min-height: 100%;
    height: 100%;
}

#wrapper {
    width: 982px;
    margin: 0 auto;
}

/* Header
-----------------------------------------------------------------------------*/
#header {
    height: 82px;
    background: url("header.jpg") no-repeat;
    position: relative;
    color: #333;
}

#header h3 {
    display: block;
    font-size: 22px;
    position: absolute;
    top: 14px;
    left: 55px;
    font-weight: normal;
}

#header h3 a {
    color: #333;
    text-decoration: none;
}

#header .author {
    font-size: 13px;
    position: absolute;
    top: 54px;
    left: 75px;
    line-height: 15px;
}

#searchbox {
    display: block;
    position: absolute;
    top: 0;
    left: 645px;
    width: 335px;
    height: 32px;
}

#searchbox input.search {
    display: block;
    width: 192px;
    height: 22px;
    padding-left: 8px;
    padding-right: 8px;
    position: absolute;
    top: 4px;
    left: 42px;
    font-size: 12px;
    color: #cecece;
}

#searchbox input.submit {
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 1px;
    left: 8px;
    cursor: pointer;
    background: transparent;
}

#searchbox a.home {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    top: 6px;
    left: 257px;
}

#searchbox a.map {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    top: 6px;
    left: 280px;
}

#searchbox a.mail {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    top: 6px;
    left: 302px;
}

/* Middle
-----------------------------------------------------------------------------*/
#middle {
    border-right: 338px solid #eeeeee;
    height: 1%;
    background: white;
}

#middle:after {
    content: '.';
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
}

#container {
    width: 100%;
    float: left;
    overflow: hidden;
    margin-right: -100%;
}

#content {
    padding: 83px 38px 25px 34px;
    background: url("content.gif") no-repeat 0px 0px;
    font-size: 13px;
    border-right: 1px solid #CCC;
}

#content a {
    color: #296DC2;
}

#content blockquote {
    margin: 15px 0 0 41px;
}

#content .article {
    margin-bottom: 50px;
}

#content h1, #content h2 {
    display: block;
    font-size: 17px;
    padding: 3px 0 3px 41px;
    border-bottom: 1px solid #d1d1d1;
}

#content span.date {
    display: block;
    width: 100px;
    text-align: right;
    font-size: 12px;
    font-weight: normal;
    margin-top: 5px;
    position: relative;
    left: 472px;
    top: -23px;
}

#content h1 a, #content h2 a {
    color: #000;
    text-decoration: none;
}

#content p {
    margin: 15px 0 0 41px;
    line-height: 17px;
}

#content ul, #content ol {
    padding: 5px;
    margin: 15px 0 0 41px;
    background: #EEE;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border: 1px solid #CCC;
}

#content ul li, #content ol li {
    line-height: 17px;
    margin-bottom: 3px;
}

#content a {
    color: #296dc2;
}

#content a.readmore {
    margin: 6px 0 30px 41px;
    display: block;
    line-height: 17px;
    float: left;
    width: 100%;
}

#content hr {
    display: block;
    height: 1px;
    border: none;
    background: #d1d1d1;
}


/* Portfolio
-----------------------------------*/

#content .portfolio {
    margin-top: 30px;
}

#content .portfolio .item {
    background: #f5f5f5;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;

    border: 2px solid #fff;
    margin: 0 0 30px 0;
    padding: 15px 20px 20px 20px;
    -moz-box-shadow: #CCC 1px 1px 7px;
    -webkit-box-shadow: #CCC 1px 1px 7px;
    box-shadow: #CCC 1px 1px 7px;
    behavior: url(img/PIE.htc);
    position: relative;
}

#content .portfolio .item h2 {
    text-align: center;
    border: none;
    padding: 0 5px 20px 5px;
}

#content .portfolio .item a.highslide img {
    float: left;
    border: 1px solid #d1d1d1;
    margin: 0 10px 7px 0;
}

#content .portfolio .item p {
    margin: 5px 10px 0 10px;
}


/* Paginator
-----------------------------------*/

#content .paginator {
    text-align: center;
    margin-top: 20px;
}

#content .paginator a, #content .paginator span {
    margin: 0 2px 0 2px;
    text-decoration: none;
}

#content .paginator a:HOVER {
    color: #ea7900;
}

#content .paginator span {
    color: #ea7900;
}

#content .comments {
    margin: 25px 0 0 41px;
}

#content .comments h3 {
    margin-bottom: 15px;
    font-size: 14px;
}

#content .comments .comment {
    padding: 10px;
    margin: 0 0 15px 0;
    background: #EEE;
    border: 1px solid #CCC;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

#content .comments .comment:HOVER {
    background: #FAFAFA;
}

#content .comments .comment .author {
    font-weight: bold;
    margin-bottom: 3px;
}

#content .comments .comment .date {
    font-size: 11px;
    color: #777;
    margin-bottom: 5px;
}

#content .comments .comment p {
    margin: 3px 0 0 0;
    line-height: 15px;
    font-size: 12px;
}

#content .commentform {
    margin: 25px 0 0 41px;
    font-size: 16px;
}

#content .commentform h3 {
    margin-bottom: 15px;
    font-size: 14px;
}

#content .commentform form {
    padding: 10px;
    background: #EEE;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border: 1px solid #CCC;
}

#content .commentform form input, #content .commentform form textarea {
    display: block;
    padding: 2px 4px;
    width: 505px;
    max-width: 505px;
    border: 1px solid #CCC;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

#content .commentform form input:FOCUS, #content .commentform form textarea:FOCUS, #content .commentform form input:HOVER, #content .commentform form textarea:HOVER {
    border-color: #888;
}

#content .commentform form textarea {
    height: 150px;
}

#content .commentform form input.cap {
    margin: 5px 0;
    width: 140px;
}

#content .commentform form input.send {
    padding: 3px 4px;
    width: auto;
    font-size: 17px;
    background: #CCC;
    cursor: pointer;
}

#content .commentform form #send-element {
    margin: 0;
}

#content .commentform form #send-label {
    display: none;
}

#content .commentform form dd {
    margin: 7px 0 20px 0;
}

#content .commentform form dd ul {
    margin: 0 0 10px 0;
    list-style: none;
    font-size: 12px;
    color: #FF4500;
    border: none;

}

#content p.searchresult_count {
    font-size: 16px;
}

#content ol.searchresult {
    font-size: 16px;
    list-style-type: decimal;
}

#content ol.searchresult li {
    line-height: 25px;
}

/* Sidebar Right
-----------------------------------------------------------------------------*/
#sideRight {
    float: right;
    margin-right: -338px;
    width: 338px;
    position: relative;
    background: #eeeeee;
    color: #333;
}

#sideRight a {
    color: #333;
}

#sideRight .menu {
    display: block;
    list-style: none;
    width: 153px;
    height: 285px;
    background: url("sidebar.jpg") no-repeat;
    padding: 57px 95px 0 90px;
}

#sideRight .menu li {
    display: block;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 21px;
    color: #333;
}

#sideRight .menu a {
    text-decoration: none;
    color: #333;
}

#sideRight .menu a:HOVER {
    text-decoration: underline;
}

#sideRight .menu li a.active:AFTER {
    content: " }";
}

#sideRight .menu li a.active:BEFORE {
    content: "{ ";
}

#sideRight .menu li a.active {
    color: #ea7900;
}

#sideRight .didyknow {
    font-size: 13px;
    line-height: 17px;
    color: #333;
}

#sideRight .rightblock {
    padding: 0 45px 20px 45px;
}

#sideRight .tags {
    padding-top: 25px;
}

#sideRight .tags h4 {
    font-size: 18;
    font-weight: normal;
}

/* Footer
-----------------------------------------------------------------------------*/
#footer {
    height: 74px;
    border-top: 9px solid black;
    background: url("footer.gif") repeat-x #4d4d4d;
    position: relative;
}

#footer h3 {
    display: block;
    font-size: 26px;
    position: absolute;
    top: 7px;
    left: 50px;
    font-weight: normal;
    color: #928d8d;
}

#footer ul.menu {
    list-style: none;
    display: block;
    position: absolute;
    left: 300px;
    top: 16px;
    color: white;
    font-size: 14px;
}

#footer ul.menu li {
    display: block;
    float: left;
    margin-right: 26px;
}

#footer ul.menu li a {
    color: white;
    text-decoration: none;
}

#footer ul.menu li a.active {
    color: #ea7900;
}

#footer ul.menu li a:HOVER {
    color: #ea7900;
    text-decoration: underline;
}

#footer ul.menu li a.active:AFTER {
    content: " }";
}

#footer ul.menu li a.active:BEFORE {
    content: "{ ";
}

#footer .copy {
    position: absolute;
    left: 50px;
    top: 55px;
    font-size: 12px;
    color: #757575;
}

#footer .counter {
    position: absolute;
    right: 5px;
    top: 55px;
}