 /* ------- general ----------- */
html { height: 100%; }
body { height: 100%; width:100%; padding: 0; margin: 0; background-color: #FFF}

/* ----------- main-blocks ---------- */
#first { height: 100%; width:100%; display: table; }
* html #first {width:auto;}
#content { min-height: 100%; display: table-row; }
#first, #content { min-width: 780px; padding:0;}
* html #first, * html #content { height: 100%; }

#h { background-image: url('/images/top-bck.gif'); height: 100px; background-color: #333; }
#h-l { height:100px; background-image: url('/images/top-left.jpg'); float: left; width: 250px; }
#h-r { height: 100px; float:right;}
#h-r-c { width:400px; }
#m { position: absolute; width:398px; height:100px; background-image: url('/images/top-right.gif'); } 

#top-shadow, #bot-shadow { height: 10px; font-size: 0; }
#top-shadow { background-image: url('/images/shd-top.gif');  }
#bot-shadow { background-image: url('/images/shd-bot.gif'); }

* html #before_footer { height: 90px; clear: both; font-size:0;}
#footer { height: 90px; margin-top: -90px; position: relative; display: table-row; }
#footer-layers { height: 80px; background-color: #333; background-image: url('/images/bot-bck.gif'); }

#footer-bck-right { height:80px; background-image: url('/images/bot-right.jpg'); background-repeat: no-repeat; background-position: 100% 0; }
#footer-content-left { float: left; height:80px;  background-image: url('/images/bot-left.jpg'); background-repeat: no-repeat; }
#footer-content-right { float:right; text-align:right; }

#banners { width: 240px; display: block; margin: 8px 5px 0 -15px; }
#banners div {width:88px;height:31px; float:right; margin: 0 0 5px 5px; }
#banners img { border-style: none; }

#main { display: table; width:100%; }
#main-c, .main-c { padding: 0 5% 0 20px; }
.holder {width:779px; border: 0px none; font-size:0; height: 1px; margin:0;}

#h-l #t {top:0; left:10px; padding-top:10px;}
#h-l #st {top: 46px; left: 30px; font-size: 17px;}

#m ul li { position: absolute; color: #CCC; margin: 0; padding: 0; font-family:Verdana;}
#h #m li {background-image:url('/images/dot.gif'); background-repeat:no-repeat; background-position: 100% 5px; list-style:none; margin:0; padding:0;padding-right:15px;} 
#h #m li { background-position: 100% 5px; padding-right:15px;} 

#wallpapers {top:2px; left: -15px; font-size: 13px; }
#notes {top:75px; left:-38px; font-size:12px;}
#music {top:24px; left:-40px; font-size:14px;}
#photography {top:48px; left:-92px; font-size:16px;}
#h #m #dreams {top:2px; left: 269px; font-size:11px;background-position: 0 5px; padding-left:15px;}
#h #m #about {top:75px; left:271px; font-size:12px;background-position: 0 5px; padding-left:15px;}
#h #m #links {top:24px; left: 274px; font-size: 12px;background-position: 0 5px; padding-left:15px;}
#h #m #soul {top:48px; left:275px; font-size:13px;background-position: 0 5px; padding-left:15px;}



/* -------- secondary-blocks ------------- */
div.block-epigraph div { float:right; display:table; }
div.block-epigraph { display:table; width:100%;}
span.quote { font-size: 150%; vertical-align:bottom;}
div.holder { display: table; width:100%;}
.holder div {float:left; width:45%; margin: 5px 10px 5px 0; display: table-cell}

/* ----------- images ------------- */
#menu p img { margin: 0; padding: 0; border-width: 0; vertical-align: middle; }
img#main-img { margin: 0 0 0 30px; padding:0; border-style: none; }
#banners img { margin: 0px 2px 0px 2px; }
#main a img.music-ico { vertical-align:sup; border-style: none; border-width:0;}
.holder img { float: left; margin: 0 10px 10px 0;}
#main p img.extl {border: 0 none; border-width:0;}
#footer a .bottom-icon { border-width: 0; border-style:none; vertical-align: middle; margin: 0 0 0 0; }
#main .lj-user { border-style: none; vertical-align: bottom;}

/* -------- primary - fonts ----------- */
#content #main .date, #footer-content-left p, #h-l p, #menu p, #main #map{ font-family: Verdana, "MS Sans Serif"}
h1, h2, h3, h4, #main p { font-family: Georgia }
p { margin: 0; padding:0; }
h1, h2, h3, h4 { color:#CC0000; padding: 0; margin: 0 0 4px 0; } 
h1 {font-size:130%;}
h2 {font-size: 120%;}
h3 { font-size: 110%; }
h4 {font-size:100%;}
#main p { font-size: 90%; padding:0 7% 0 0; margin: 2px 0 5px 0;}
#main #map { text-align: right; margin: -3px  10px 5px 0;padding:0;}
#footer-content-left p { color: #777; margin: 3px 0 2px 5px; font-size:10px; }
#footer-content-left .more {margin: 6px 0 10px 5px; font-size:70%;}

/* -------- secondary - fonts ----------- */
#content p.epigraph, #content p.epigraph-right { font-style: italic; color:#777; font-size:90%; text-indent:0; margin-bottom: 10px;}
.epigraph b { color: #555; }
#content p.epigraph-right { text-align: right; }
#content #main .date {text-align:right; font-weight:bold; color:#777; font-size:10px;}
#main .ps { color: #999; font-size:11px; }
#main .law { color: #777; font-size: 11px;}
#h-l p { position: absolute; color: #AAA; margin: 0; padding:0; font-size: 32px; }
p { padding-left: 0.5em; padding-right: 0.5em }
span.slaquo {margin-right: 0.44em}
span.hlaquo {margin-left: -0.44em}
span.sowc {margin-right: 0.04em}
span.howc {margin-left: -0.04em}
span.squot {margin-right: 0.32em}
span.hquot {margin-left: -0.32em}
span.sbrace {margin-right: 0.3em}
span.hbrace {margin-left: -0.3em}
p.hellip { color:#777; font-style: italic; }

/* -------- LINKS ----------- */
a, a p { text-decoration: underline; }
#m a:visited, #footer a:visited, #m a:link, #footer a:link { color: #AAA; }
#m a:hover, #footer a:hover, #m a:active, #footer a:active { color: #EEE; }
a:link, a:link p { color: #C00;}
a:visited, a:visited p { color: #C00;}
a:hover, a:hover p, a:active, a:active p { color: #F00;}
a:link img, a:visited img { border: solid 2px #C00; }
a:hover img, a:active img { border: solid 2px #F30; color: #F30;}

#photo-nav { margin: 10px auto 0 auto;  text-align:center;  }
#photo-nav { text-align:center;  }
#main #notes-main-img { border-style:none; border-width: 0; margin: 10px 0;}
#photo-nav img { margin: 2px 12px 0 10px; vertical-align: middle; border-style: none;}
#photo-nav p {padding:0;}
#image {width:800px;}



.pseudo-link { border: 1px dotted #333; border-width: 0 0 1px 0; cursor:hand; cursor:pointer; }
.pseudo-link:hover { color:#C00; border-color:#C00;}

#main #c-link {font-size:70%; color:#333; float:right;margin:0 10px 0 0;padding:0;}
#c-link a { text-decoration: none; border: 1px dotted #333; border-width: 0 0 1px 0;}
#c-link a:link, #c-link a:visited { color: #333; border-color:#333; }
#c-link a:hover, #c-link a:active { color:#955; border-color:#955; }

#widgets-block { text-align:center;}
#main #widgets-block p { font-family: Verdana; color:#333; font-size:80%; margin-bottom:7px; }
#w-line {margin: 35px auto 0 auto; text-align:left; width:550px; border: 1px solid #999; border-width: 1px 0 0 0; }
#widgets-content { margin: 0 auto 0 auto; text-align:left; width:450px; }

#widgets { margin-right:10px;  width:450px; height: 55px; display:table; }
#w-vk { float:left; width:185px; display:table;}
#w-facebook { float:left;  width:130px; margin-left:10px; }
#w-twitter {  float:right; }
#w-twitter, #w-facebook { margin-top:2px; }

#w-comments {display:table; height:150px; }

#more-widgets { display:none;}
#main #widgets a img, #main #more-widgets a img { border: 0 none; }
#more-widgets div { margin-right:25px; float:left;}
