@charset "UTF-8";
@import url(/css/tags.css?0);
/*  tags */
#settags
#settags .modal {
    display: none;
    overflow:visible;
}

#settags {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-flow:column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#settags:before{
    font-size:2em;
    position:absolute;
    right:0;
    top:.3em;
}

#settags * {
    text-decoration:none;
}

#settags .modal {
    cursor: default;
	width:95%;
	max-width:1000px;
    padding:.7em 1em;
	background-color: #ddd;
    border-radius:4px;
    box-shadow: 0 0 5px 0 #000;
}

#settags span{
    display:inline-block;
    font-size:.7em;
    color:#777;
    margin:0 1em .5em 0;
}

#settags .etags{
    display:inline-block;
    display:flex;
    flex-flow:row;
    border-radius: .35em;
    padding:0 0 0 .3em;
    margin:0 0 .5em 0;
    background-color:#fff;
    box-shadow: 1px 1px 3px #aaa;
}

#settags .in{
	border:none;
	padding:0 .2em;
    flex-grow:1;
}

#settags .save{
    background:#ccc;
    padding: 2px 25px 0;
}

#settags .close{
    float:right;
    right:0;
    top:0;
    font-size:1.4em;
}

#settags .ctags{
    height:400px;
    overflow:auto;
    margin-top:.7em;
    padding:0 1em 0 0;
}



#topics.answers > li,
#topics.answers > li > ul.childs {padding-left:0}


/* * * * * * * msg-box  * * * * * * * */

.msg-box * {
    outline:0!important;
    overflow: visible;
}

.msg-box dd, .message dd {
    display:inline;
}

#topics .msg-box p,
.message p,
.msg-box.oldscool,
.message.oldscool {
    white-space:pre-line;
}

.msg-box {
    overflow:auto;
    box-sizing:border-box;
	clear:none;
	padding:.7em .7em 0.3em;;
	background:#fff;
	color:#000;
	overflow:hidden;
}


/*.msg-box*/ abbr {
    background-color:rgb(77,255,166);
}

.msg-box .subject,
.msg-box .button {
    background: #e0f3fa;
}

.msg-box  .button {
	display:inline-block;
	margin: 0 .4em;
	padding: 0 .4em;
	border-radius: 1em;
	text-decoration:none;
	color:#000;
	font-size:0.9em;
	border: outset 1px #ddd;
}

.msg-box  .button:before {
    content:'ссылка -->';
    margin-right:.2em;
}

.msg-box a{
    margin:0 .1em;
    display: inline-block;
}


.msg-box a[data-hash] {
    padding: 0 3px;
}

.gogol img,
.msg-box img {
    margin: 0.35em .3em .15em 0;
    vertical-align: top;
    display: inline-block;
    max-width: 98%;
}

.msg-box a[data-hash] img{
	display: block;
	box-shadow: 1px 1px 3px #777;
}

.msg-box .thumb.file{
    background-size:40%;
    width:70px;
}

.msg-box cite {
	clear:both;
	display:block;
	margin:0 auto;
	padding:0.7em 1em 0 0;
	overflow:hidden;
	font-size: .95em;
	color: #666;
	white-space: pre-line;
}

.msg-box cite::before{
    content:'\270D';
    margin-right:.5em;
    font-style:normal;
    font-weight:bold;
}


.msg-box img.avatar {
	float:left;
	margin:0 .5em 0 0;
	max-width:80px;
	border-bottom:solid .35em transparent;
}


.msg-box ol li{list-style-type:decimal;}


.msg-box pre,
.msg-box blockquote,
.msg-box dl {
    clear:both;
    padding:.35em 0.1em 0.35em 0.7em;;
    overflow-x: auto;
    overflow-y: hidden;
    display:block;
    white-space:pre-wrap
}


.msg-box pre {
    background: #f7f7f0;
    border-left: solid 5px #d7d7d0;
    color: #000;
    font-family: monospace;
    font-size: .7em;
    line-height: 150%;
}


/* syntax hilite */
.msg-box pre span.kwrd {font-weight:bold;color:green;}
.msg-box pre span.comm {font-style:italic;color:darkblue;background:#E0F0FF;}
.msg-box pre span.str {color:red;}
.msg-box pre span.func {color:#c0c;font-weight:bold;}
.msg-box pre span.clsr {color:#06f;font-weight:bold;}
/* syntax hilite */


.msg-box blockquote,
.msg-box dl {
    font-style:italic;
    margin: .3em 0 .15em 1em;
    border-left: solid 2px #555;
    overflow: visible;
}

.msg-box blockquote:before,
.msg-box dl:before {
    content: '„';
    font-size:40px;
    margin: -15px 0 0 -37px;
    position: absolute;
    display: block;
    color: #555;
}

.msg-box h1{
    font:normal italic 1.25em georgia,times;
    margin:0.5em;
    clear:both;
    text-align:center;
    border-bottom:solid 1px #aaa;
    max-width:80%;
}

.msg-box blockquote h1, .msg-box dl h1 {
	color:#800;
}

.msg-box blockquote:empty,
.msg-box pre:empty,
.msg-box dl:empty,
.msg-box h1:empty,
.msg-box p:empty {
    min-height:1.5em
}

.msg-box b:empty,
.msg-box strong:empty,
.msg-box em:empty,
.msg-box i:empty,
.msg-box em:empty,
.msg-box s:empty,
.msg-box strike:empty,
.msg-box span:empty,
.msg-box sub:empty,
.msg-box sup:empty,
.msg-box u:empty {
    display:inline-block;
    min-width:1px;
    min-height:1em;
}


.msg-box div.files {
    overflow:hidden;
    white-space:normal;
}

.msg-box table,
.msg-box td {
    border-collapse:collapse;
    border:solid 1px #666;
}

.msg-box td {
	padding:3px 5px;
}

@media screen and (max-width:700px){
    .avatar{ display:none; }
    div.buttons .button,
    div.buttons .tags {
        font-size: 1.15em;
        padding: .25em .5em;
    }
}
