/* --- css/generic.css -- start ---------------------------------- *
 * $Id: generic.css 562 2011-09-26 23:16:02Z vugluskr $
 *
 */

body {
    background: #fff;
    margin: 0;
    font-size: 14px;
    font-family: Verdana;
    color: #444;
}
a {
    color: #069;
    text-decoration: underline;
}
a:hover {
    text-decoration: none;
}
p, h1, h2, h3, h4, h5, h6 {
    margin: 0;
    word-wrap: break-word;  /* FIXME перенести "ниже" */
}

img {
    border: 0;
}
/* faq, mail? */
blockquote {
    margin: 0;
    margin-top: 6px;
    margin-left: 6px;
    padding-left: 0.5em;
    border-left: solid 6px #558800;
}

.boxContent {
  background:#FFFFFF url(/images/a1.gif) repeat-x scroll left top;
  margin-top:0.5em;
  padding:0.6em 0.6em 0.25em;
  margin-bottom: 1.5em;
}

.title {
  font-weight:bold;
  padding:0.5em;
  text-align:left;
  color:#444444;
  font-size:0.8em !important;
}

/* mail */
.commentAuthor {
  font-size:12px;
  font-weight:bold;
  color:#444;
}
.commentAuthor a {
  font-size:12px;
  font-weight:bold;
}

/* Выставляется в huzzler.js */
body > .error {
  position:absolute;
  display:block;
  padding-left:5px;
  padding-right:5px;
  border:1px solid #ff5d5d;
  background:red;
  color:white;
  top:10px;
  right:10px;
  font-size:10px;
}

.message {
  position:absolute;
  display:block;
  padding-left:5px;
  padding-right:5px;
  border:1px solid #a4b3c7;
  background:#6690C9;
  color:white;
  top:10px;
  right:10px;
  font-size:10px;
}
/* --- Page blocks ----------------------------------------------- */
.page {
    min-width: 960px;
}
/* --- upper ------------------------ */
.upper {
    overflow: hidden;
    height: 45px;
    border-bottom: 1px solid #360;
    background: #580;
    padding: 0 10px;
}
.upper div.left {
    float: left;
}
.upper div.right {
    float: right;
}
.upper > div {
    margin: auto 0;
    height: 100%;
}
.upper a {
    color: white;
    text-decoration: none;
}

.upper .logo {
    position: relative;
    color: white;
    font-size: 35px;
}
.upper .logo img {
    position: relative;
    top: 5px;
    margin: 0 10px;
}
.upper .logo .comment {
    font-size: 10px;
}

.upper ul {
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 12px;
    line-height: 44px;
}
.upper li {
    display: inline;
    vertical-align: baseline;
}
.upper li + li {
    margin-left: 2em;
}
.upper ul a {
    text-decoration: underline;
}
/* --- middle------------------------ */
.middle {
    margin: 10px;
}
.middle .vspace + .vspace {
    margin-top: 5px;
}
/* --- left ------------------------- */
.side_left {
    margin-right: 250px;
    padding-right: 10px;
}
/* --- right ------------------------ */
.side_right {
    width: 250px;
    margin-bottom: 10px;
    vertical-align: top;
    float: right;
    word-wrap: break-word;
}
.side_right h3 {
    font-size: 12px;
}

.side_right .blog_news {
    position: relative;
}
.side_right .blog_news > a {
    display: block;
    position: relative;
}
.side_right .blog_news > div {
    position: absolute;
}
.side_right .blog_news > div.bg_aw {
    top: 49px;
    width: 100%;
    height: 53px;
    overflow: hidden;
}
.side_right .blog_news .bg_a {
    position: relative;
    width: 750px;
    height: 53px;
    left: -750px;
    background-image: url(/res/side_right/blog_news_bg.png);
}

.pannel {
    background: inherit;
}
.pannel > h3 {
    display: inline;

    min-width: 100px;
    
    border: 1px solid #ccc;
    border-bottom-width: 0;
    background: #eee;
    padding: 0 2px;

    font-weight: bold;
}
.pannel > .body {
    display: block;
    border: 1px solid #ccc;
    padding: 5px;
    font-size: 12px;
}

.side_right .unread a {
    font-weight: bold;
}
.side_right .user_block {
    background: #eee;
    border: 1px solid #ccc;
    padding: 10px;
}
.side_right .user_block > .ava {
    float: left;
    width: 66px;
}
.side_right .user_block > .details {
    margin-left: 70px;
    font-size: 10px;
}
.side_right .user_block input + input {
    margin-top: 10px;
}
.side_right .user_block input + div.hbox_l {
    margin-top: 5px;
}

.side_right .commtape .vspace + .vspace {
    margin-top: 5px;
}
.side_right .commtape .ent {
    position: relative;
}
.side_right .commtape .ent > .dummy {
    position: absolute;
    top: 2px;
    left: 0;
}
.side_right .commtape .ent > .content {
    text-indent: 18px;
}

.side_right .tagscloud > .body {
    text-align: center;
}
/* --- lower ------------------------ */
.lower {
  padding: 2ex 0;
  border-top: 1px solid #E5E5E5;
  
  /*color: #444;*/
  font-size: 0.8em;
  text-align: center;
}

/* ---* multiblock *----------------- */
.side_right .rating, .user_info .rating, .puzzle_users .rating {
    color: #A4C479;
    font-weight: bold;
}
/* --- elements -------------------------------------------------- */
.brick, div.brick_info, div.brick_error {
    padding: 9px;
}
.brick {
    border: 1px solid #eee; 
}
div.brick_info {
    border: 1px solid green;
    color: #444;
}
div.brick_error {
    border: 1px solid red;
    color: red;
}

.brick h2 {
    margin-top: 6px;
    margin-bottom: 3px;
    font-size: 1.2em;
    font-family: tahoma,sans-serif;
}

a.block0 {
    display: block;
    width: 20em;
    
    margin-bottom: 5px;
    padding: 5px;
    
    color: white;
    background: #580;

    text-align: center;
    text-decoration: none;
}
div.blockMsg {
    width:  450px;
    top:    30%;
    left:   50%;

    margin-left: -225px;
    padding: 15px;

    background-color: #eee;
    border: 1px solid black;
    opacity: .85;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=85);

    text-align: center;

    -moz-border-radius: 5px;
    -moz-opacity: .85;
    -webkit-border-radius: 5px;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; 
}
div.blockMsg .input {
    text-align: left;
}
div.blockMsg h3 {
/*    text-align: center;*/
}
div.blockMsg h3 + hr {
    margin-bottom: 1ex;
}
div.blockMsg input[type="text"], div.blockMsg textarea {
    width: 448px;
    height: auto;
}

div.info_block {
    text-align: left;
}

.button {
    display: block;

    padding-left: 1px;
    padding-right: 1px;

    cursor: pointer;
    text-align: center;
}
.button2 {
    display: inline-block;
    cursor: pointer;
}
.button2.dummy {
    cursor: default;
}
.button2.deco0 {
    /*border: 1px solid #eee;*/
    height: 24px;
    padding: 0 1em;

    background: #ccc;
    background-image: url(/res/button-deco0-bg.png);
    background-repeat: repeat-x;
    background-position: 0 50%;
    color: white;

    text-decoration: none;
    font-weight: bold;
    line-height: 24px;
}

.hbox_l { overflow: hidden; }
.hbox_r { overflow: hidden; }
.hbox_l > div {
    float: left;
}
.hbox_r > div {
    float: right;
}
.hbox_l > .hbox_r {
    float: right;
}
.hbox_r > .hbox_l {
    float: left;
}

.sape {
    margin-left: 10px;
    margin-right: 10px;

    text-align: center;
    font-size: 10px;
}
p.mark {
    color: red;
    font-weight: bold;
}

.tooltip {
    position: absolute;
    width: 200px;
    z-index: 100;

    background-color: #eee;
    border: 1px solid black;
    padding: 5px;

    text-align: center;
    font-size: 10px;

    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}
.tooltip > h3 + hr {
    margin-bottom: 1ex;
}
.tooltip > div {
    text-align: left;
}
.tooltip_imglink {
    width: auto;
}

.even {
    background: #eee;
}
.odd {
    background: #ddd;
}

a.anchor {
    visibility: hidden;
    color: #d7d7d7;
    text-decoration: none;
    font-size: 0.8em;
}
div:hover > .anchor {
    visibility: visible;
}

.footnote_wrap {
    font-size: 8pt;
}
.footnote_src {
    color: red;
    text-decoration: none;
    font-size: 8pt;
    vertical-align: super;
}
.footnote_dst {
    color: red;
    text-decoration: none;
    margin: 0 0.5em;
}

.system_note {
    font-size: 8pt;
}
.system_warn, .warn {
    color: red;
}

img.avatar {
    border: 1px solid gray;
}
span.username > img {
    position: relative;
    top: 3px;
}

#recaptcha_area {
    margin-left: auto;
    margin-right: auto;
}

span.cloaked > .data, span.cloaked > .pub {
    display: none;
}
/* ---* spoiler *-------------------- */
div.spoiler {
    overflow: hidden;
    border: 1px solid #eee;
    text-align: left;
    background: #d3d3d3;
}
div.spoiler > .folded {
    background: url("/images/icons/round_add_16.png") no-repeat 2px center;
}
div.spoiler > .unfolded {
    background: url("/images/icons/round_sub_16.png") no-repeat 2px center;
}
div.spoiler > .head {
    padding: 0 2px;
    padding-left: 18px;
    padding-top: 2px;
    font-size: 16px;
}
div.spoiler > .body {
    /*border-top: 2px solid white;*/
    background: white;
    display: none;
    padding: 0 2px;
    padding-bottom: 2px;
    text-align: justify;
    word-wrap: break-word
}

body .ac_loading {
    background : Window url('/res/wait.gif') right center no-repeat;
}
.ac_results .qnt {
    position: absolute;
    right: 0;
    margin-right: 5px;
    /*color: #26A908;*/
    /*font-size: 0.8em;*/
    font-weight: bold;
}
/* --- helpers --------------------------------------------------- */
.float_wrap {
    overflow: hidden;
}
.counter_wrap {
    text-align: center;
}
.counter_wrap > * {
    margin-left: auto;
    margin-right: auto;
}
div.float_cancel {
    visibility: hidden;
    display: block;
    clear: both;
    float: none;
    height: 0;
    content: ".";
}
div.vruler_1 {
    margin-top: 1ex;
}
.clicable {
    cursor: pointer;
}
.justify_center {
    margin-left: auto;
    margin-right: auto;
}
.align_center {
    text-align: center;
}
.text_center {
    text-align: center;
}
.wlimit_ctrl {
    width: 600px;
}

.hidden {
    display: none;
}
.missing {
    visibility: hidden;
}
.opacity_85 {
    opacity: .85;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=85);
    -moz-opacity: .85;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; 
}
.opacity_0 {
    opacity: 0;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    -moz-opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; 
}
.vspace + .vspace {
    margin-top: 10px;
}
.hspace + .hspace {
    margin-left: 2px;
}

.indent > .indent {
    padding-left: 2em;
}

.fs_gen { 
    font-size: 14px;
}
.fs_small {
    font-size: 12px;
}
.fs_tiny {
    font-size: 10px;
}
/* --- Pages ----------------------------------------------------- */
/* ---* faq *------------------------ */
.puzzle_faq ul {
    line-height: 2.5ex;
}
.puzzle_faq hr {
    margin: 1ex 0;
}
.puzzle_faq h4 {
    margin-top: 1ex;
}
.puzzle_faq p + p {
    margin-top: 6px;
}
/* ---* blog *----------------------- */
.puzzle_blog .blog_entry + .blog_entry {
    margin-top: 1ex;
}
.puzzle_blog .blog_entry .footer {
    border-top: 1px solid gray;
}
.puzzle_blog .blog_entry + .comments {
    margin-top: 20px;
}
.puzzle_blog .poll_wrap {
    padding: 5px 0;
}
.puzzle_blog .poll_wrap .poll_variant {
    margin: 5px 0;
}
.puzzle_blog .poll_wrap .poll_variant input[type="radio"] {
    margin-left: 20px;
    margin-right: 10px;
}
.puzzle_blog .poll_wrap div.worm {
    height:10px; 
    background: #ccc;
}
.puzzle_blog .poll_wrap .polled > div.worm {
    background: navy;
}
/* ---* register *------------------- */
/* 2del */
.user_register {
    max-width: 500px;
    margin: 0 auto;
}
/* ---* profile *-------------------- */
.user_profile {
    max-width: 500px;
    margin: 0 auto;
}
/* ---* user_info *------------------ */
.user_info .avatar {
    float: left;
    margin-right: 10px;
}
/* ---* mail *----------------------- */
.mail_write {
    width: 550px;
    margin: 0 auto;
}

.mail_read .input {
    width: 550px;
}
/* --- css/generic.css -- end ------------------------------------ */

