/* RESET */

body,div,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {margin:0;padding:0;}
table {border-collapse:collapse;border-spacing:0;}
td,th {vertical-align: top;}
fieldset,img {border:0;}
address,caption,cite,code,dfn,em,strong,th,var {font-style:normal;font-weight:normal;}
ul {list-style-type:none;margin:0;padding:0;}
ul li {margin:0;padding:0;}
caption,th {text-align:left;}
h1,h2,h3,h4,h5,h6 {font-size:100%;font-weight:normal;}
q:before,q:after {content:'';}
abbr,acronym {border:0;}

html {background: #c0c0c0; height: 100%;}
body {background: #fbf7f6 url('/art/bg.png') 0 0 repeat-y;
	width: 998px; margin: 0 auto;
	color: #2a1d1a; min-height: 100%; position: relative; font: 17px times new roman;}
input, textarea {font: 17px times new roman;}
.marg {margin: 0 50px;}
.delim {border-top: 1px solid #2a1d1a; margin-top: 35px; padding-bottom: 5px;}

h1, h2 {font-size: 30px; margin: 0 0 25px 0;}
h3 {font-size: 24px; margin: 50px 0 25px 0;}
h4 {font-size: 20px; margin: 30px 0 15px 0;}
a {color: #2a1d1a; text-decoration: underline;}
p {text-ident: 2em; line-height: 1.6em; margin-bottom: 1em;}

#logo {text-align: center; padding: 20px 0 17px 0;}
#logo div {margin: 0 auto; width: 402px; height: 90px; background: url('/art/logo.png') 0 0 no-repeat;}
#top {border-bottom: 1px solid #2a1d1a; padding-bottom: 2px;}
#top .sec {border-bottom: 2px solid #2a1d1a; height: 75px;}
#top .sec .logo {float: left; margin: 20px 0 0 0;}
#top .sec .logo a {display: block; width: 207px; height: 46px; background: url('/art/logo_small.png') 0 0 no-repeat;}
#top .sec .menu {position: absolute; top: 40px; right: 50px;}
#top .sec .menu div {float: right;}
#top .sec .menu ul {float: right; margin: 0;}
#top .sec .menu ul li {float: left; margin-left: 20px;}
#top .sec .menu ul li a {font-weight: bold;}
#date {border-top: 1px solid #2a1d1a; border-bottom: 2px solid #2a1d1a; padding: 2px; text-align: center; font-style: italic;}
#date .num {float: left;}
#date .price {float: right;}
#middle {margin-top: 34px; padding-bottom: 90px;}
#middle table.main {border-collapse: collapse;}
#middle table.main th {padding: 0;}
#middle table.main td {padding: 0 0 0 25px; border-left: 1px solid #2a1d1a;}
#middle table.main .script_td {width: 250px;}
#middle table.main .script_td ul {margin: 0 30px 0 0;}
#middle table.main .script_td ul li {margin: 0 0 20px 0;}
#middle table.main .script_td ul.more_ul a {font-size: 20px;}
#middle table.main .script_td ul.more_ul li {margin: 0 0 5px 0;}
#middle table.main .project_td {width: 350px;}
#middle table.main .project_td ul {margin-right: 30px;}
#middle table.main .project_td ul li {border-top: 1px solid #fbf7f6;}
#middle table.main .project_td ul li.dlm {clear: left; padding: 3px 0;}
#middle table.main .project_td ul li .img {float: left; overflow: hidden;}
#middle table.main .project_td ul li .img img {cursor: pointer;}
#middle table.main .project_td ul li .link {margin: -3px 0 10px 123px; font-size: 20px;}
#middle table.main .project_td ul li .text {margin-left: 123px;}
#middle table.main .gallery_td {}
#middle table.main .gallery_td img {display: block; margin-bottom: 20px;}

#middle pre {font: 12px courier new;}
#middle pre.script {border: 1px solid #2a1d1a; background: #fefae9; padding: 15px; overflow: auto;}
#middle ul.list {list-style-type: square; margin: 15px 0;}
#middle ul.list li {margin: 0 0 6px 20px;}
#middle ol.list {margin: 15px 0; padding: 0;}
#middle ol.list li {margin: 0 0 6px 30px; padding: 0;}
#middle ul.portfolio {list-style-type: square; margin: 15px 0;}
#middle ul.portfolio li {margin: 0 0 20px 20px;}
#middle ul.portfolio li b {display: block;}
#middle ul.portfolio li small {display: block; color: #766; margin-bottom: 5px;}
#middle ul.portfolio li small a {color: #766;}

#middle .back_link {position: relative; margin-top: -30px;}
#middle .back_link a {font-size: 14px; color: #766;}
#middle .back_link a:hover {color: #2a1d1a;}

#middle #resume td {font-size: 14px; line-height: 18px; padding: 3px;}
#middle #resume .a {width: 160px; border-right: 1px solid #866; border-bottom: 6px solid #fbf7f6;}
#middle #resume .b {padding-left: 10px;}
#middle #resume .h {padding: 25px 0 15px 0; font-size: 20px;}
#middle #photo_icons {overflow: hidden;}
#middle #photo_icons table {margin-bottom: 15px; width: 100%; height: 630px;}
#middle #photo_icons td {text-align: center; vertical-align: middle; padding: 0;}
#middle #photo_icons td.space {width: 50%;}
#middle #photo_icons td.load {background: url('/art/gallery_load.png') center center no-repeat;}
#middle #photo_icons td .comment_block {font-size: 13px; overflow: hidden; zoom: 1;}
#middle #photo_icons td .comment_block .count {margin-top: 4px; float: left;}
#middle #photo_icons td .comment_block .add {margin-top: 4px; float: right;}
#middle #photo_icons td img {border: 1px solid #6a5d5a; cursor: pointer;}
#middle #photo_icons .icons img {float: left; border: 2px solid #fbf7f6; cursor: pointer; margin: 0 1px 1px 0; opacity: 0.5;}
#middle #photo_icons .icons img:hover {border-color: #9a8d8a; opacity: 0.7;}
#middle #photo_icons .icons img.sel {border-color: #6a5d5a; opacity: 1;}

#middle #photo_list {overflow: hidden; zoom: 1;}
#middle #photo_list ul {float: left; width: 48%; }
#middle #photo_list li {margin: 0 0 10px 0; overflow: hidden; zoom: 1; font-size: 13px;}
#middle #photo_list li img {float: left; border: 1px solid #6a5d5a;}
#middle #photo_list li .text {margin-left: 50px;}

#middle #photo_comment_nav {overflow: hidden; zoom: 1; margin-bottom: 20px;}
#middle #photo_comment_nav .prev {float: left;}
#middle #photo_comment_nav .next {float: right;}
#middle #photo_comment_nav a {text-decoration: none; font-size: 40px;}
#middle #photo_comment_nav img {border: 1px solid #6a5d5a; vertical-align: -10px;}
#middle #photo_comment_image {border-collapse: collapse; width: 100%;}
#middle #photo_comment_image td.space {width: 50%;}
#middle #photo_comment_image td {text-align: center; vertical-alogn: middle; padding: 0;}
#middle #photo_comment_image td img {border: 1px solid #6a5d5a;}

#scripts_list .comment_count a {text-decoration: none;}
#scripts_list .comment_count a:hover {text-decoration: underline;}

#comments_list {}
#comments_list li {margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #edd;}
#comments_list li .name {font-weight: bold;}
#comments_list li .num {color: #988;}
#comments_list li .date {color: #988;}
#comments_list li .comment {margin: 4px 0 0 0;}
#comment_form {}
#comment_form label {display: block; margin: 8px 0 2px;}
#comment_form .text {width: 400px; border: 1px solid #988; background: #fff;}
#comment_form .email {display: none;}
#comment_form textarea {width: 100%; height: 100px; border: 1px solid #988; background: #fff;}
#comment_form .submit {display: block; margin-top: 20px; padding: 2px 10px; font: 17px arial;}

bot {position: absolute; bottom: 0; border-top: 2px solid #2a1d1a; padding-top: 2px; width: 898px;}
#bot .sec {border-top: 1px solid #2a1d1a; padding: 6px 0 20px 0;}
#bot .sec .right {float: right;}

/**
body {border: 2px solid black;}
ul {border: 1px solid red}
li {border: 1px solid blue}
div {border: 1px solid white;}
td {border: 1px solid yellow;}
/**/
