/*
	comments
*/

.commentForm {
	/*background: #F0F0F0;
	border: 1px solid #ccc;
        -webkit-border-radius: 9px 9px 9px 9px;
        -moz-border-radius: 9px 9px 9px 9px;
        border-radius: 9px 9px 9px 9px;*/
}

.buttonPanel {
	position: relative;
	height: 27px;
}

.buttonPanel div {
	width: 22px;
	height: 22px;
	float: left;
	background-color: #CCC;
	position: relative;
	margin-right: 2px;
	border: 1px solid #E1E1E2;
	text-align: center;
	cursor: pointer;
}

.buttonPanel div:hover {
	background-color: #c1d2ee;
	border-color: #316ac5;
}

.buttonPanel div.sep,
.buttonPanel div.sep:hover{
	width: 6px;
	background: none;
	border: 1px solid #E1E1E2;
	cursor: default;
	color: #C5C2B8;
}
.buttonPanel div.sep span
{
	background-position: -154px 0px;
	width:6px;
}

#TextEditor_bold { font-weight: bold; }
#TextEditor_italic { font-style: italic; }
#TextEditor_underline { text-decoration: underline; }
#TextEditor_strike { text-decoration: line-through; }

#TextEditor_isvisual,
#TextEditor_link,
#TextEditor_image,
#TextEditor_quote,
#TextEditor_cut,
#TextEditor_video
{
	font-size: 8px;
	line-height: 11px;
}
#TextEditor_resize0, #TextEditor_resize1,
#TextEditor_resize0 span, #TextEditor_resize1 span {
	height: 9px;
	line-height: 9px;
	float: right;
}

.buttonPanel div span {
	background-image: url('http://chany.info/i/v7/icons/comment.gif');
	background-repeat: no-repeat;
	background-position: 0px 0px;
	width: 22px;
	height: 22px;
	position: absolute;
	display: block;
}



#body .m .bothSide .buttonPanel .right {
	position: absolute;
	top: 0px;
	right: 0px !important;
	right: 23px;
	width: auto !important;
}

.buttonPanel .right img { display: block; }

#TextEditor_visual
{
	display: none;
	background-color: #fff;
	border: 1px solid #7F9DB9;
	cursor: text;
	outline-style: none;
	outline-width: medium;
}
.commentBody {
	width: 99%;
	height: 100px;
	padding: 0px;
	margin: 0px;
}

html:first-child .commentBody { width: 100%; }
html:first-child #body .m .bothSide .buttonPanel .right { right: 3px; }

#error_comment {
	width: 99%;
	margin-top: 5px;
	padding: 1px !important;
	padding: 1px 0px;
	background-color: #FFEEEE;
	border: 1px #c0c0c0 solid;
	color: #660000;
	font-size: 10pt;
	text-align: left;
}

.commentUnit {
	position: relative;
	padding: 10px 15px 15px 80px;
	background: white;
	min-height: 50px;
	height: auto !important;
	height: 46px;
	margin: 0px;
	min-width:400px;
        border-top:5px solid #FFF;
}

.commentUnit .commentAvatar {
	position: absolute;
	top: 9px;
	left: 15px;
}

.commentUnit .commentData {
	color: darkred;
	margin-bottom: 20px;
}

.commentUnit .commentData .commentDate {
	float: right;
	/*margin-top: -20px;*/
}

#comment_list { font-size: 10pt; }
#comment_list a, #comment_list a:link, #comment_list a:visited { font-size: 10pt; }

html:first-child .commentUnit .commentData .commentDate { margin-top: 0px; }

.pager a.page_select {
	background-color: #EEEEEE;
	border: 1px solid #666666;
	display: block;
	float: left;
	margin-right: 5px;
	padding:3px;
	text-decoration: none;
}

.pager a.page_select:hover, a.page_selecthover {
	background-color: #C0C0C0;
}

.comment_line {
    background-image: url('/i/v7/line.gif');
}

.comment_line_tred {
    background-image: url('/i/v7/line_tred.gif');
    width:20px;
    height:50px;
    float: left;
}

/* убрать */
.post{
	font:14pt "georgia","times new roman";
	line-height:1.5em;
	color: #333333;
        padding-bottom: 15px;
        margin-bottom: 15px;
}

td.post {padding-bottom:15px!important;}

.post p {
	padding: 0;
	margin: 0 0 1.5em 0;
}

.post blockquote, .commentUnit blockquote{
	background:#F0FAFF none repeat scroll 0 0;
	border-left:3px solid #AAAAAA;
	margin-left:1.5em;
	margin-right:70px;
	margin-top:0.5em;
	padding:0.3em 0.6em;
}

.post blockquote p, .commentUnit blockquote p {margin:0.5em 0.6em;}
#ajax_screens_background {
	display: none;
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 1098;
	text-align: center;
	background: url("/i/v7/transparent.png");
}


/* google maps tweak */
#map a:active, #map a:focus {
	outline: none;
	-moz-outline-style: none;
}

.w100p {
	width: 100%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.w50p {
	width: 50%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.w33p {
	width: 33%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.collapse {
	border-collapse: collapse;
}
.ohide{overflow: hidden}
table.collapse{ border-spacing: 0; }
table.collapse td { vertical-align: top; padding:0; }

.loginza {
    background-image: url("/i/v8/loginza/providers.png");
 
    background-repeat: no-repeat;
    display: inline-block;
    height: 25px;
    width: 90px;
}
a.google {
    background-position: 0 0;
}
a.ok {
    background-position: 0 -450px;
}

a.vk {
    background-position: 0 -75px;
}

.adult_back {background:#E4D7E2 !important}
.cycle_one {background:#f0faff}
.cycle_two {background:#E8ECEB}
.vote_plus {background:#ffcccc;}
.vote_minus {background:#ccccff;}

a.status,
a.status:link,
a.status:visited
{
	padding: 0px 0px 0px 18px;
	background-repeat: no-repeat;
	background-image: url('/i/v7/icons/status.gif');
	line-height: normal;
}

#ajax_screens_background {
	display: none;
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 1098;
	text-align: center;
	background: url("/i/v7/transparent.png");
}

.pages {
	display: none;
	position: absolute;
	top: 0px;
	width: 640px;
	z-index: 1099;
	margin: 0px auto;
	/* text-align: left;*/
	font-size: 12px;
}

#additionalWindows { text-align: left; }


#ajax_pages img {
	border: 0px;
	font-size: 8px;
	font-weight: normal;
	line-height: 10px;
}

#ajax_pages .main,
#ajax_uploading .main {
	position: relative;
	border: 1px solid #ccc;
	padding: 5px;
	background: white;
	width: 380px;
	margin: 0px auto 0px auto;
	padding: 10px;
}


#ajax_pages .pLines p {
	clear: both;
	display: block;
	margin: 0px 0px 0px 0px !important;
	margin: 3px 0px 3px 0px;
	padding: 3px 0px 3px 0px !important;
	padding: 0px 0px 0px 0px;
	line-height: 25px;
}

#ajax_pages p {
	line-height: 15px;
	text-align: justify;
	margin: 2px 0px;
}

#ajax_pages .left, #ajax_pages .right { display: block; }
#ajax_pages .left { float: left; }
#ajax_pages .right { float: right; }

#ajax_pages span {
	display: block;
	font-size: 10px;
	color: #999999;
	text-align: justify;
	clear: both;
}

#ajax_pages .line { clear: both; }

#ajax_pages .line .left {
	line-height: 23px;
	font-weight: bold;
}


/* стили форм */
.ffield {
	width: 99%;
	border: 1px solid #cccccc;
	margin: 1px auto;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        behavior: url(/css/v8/PIE.htc);
        border:1 px solid #000000;

}

.type-text {
	overflow: hidden;
	height: 18px;
}

.ffield label {
	font: 12px Verdana;
	float: left;
	padding: 0 4px;
	color: #666;
}

.ffield-in {
	border-left: 1px solid #999;
	overflow: hidden;
	height: 99%;
}

.ffield input,
.ffield select, .commentForm select,
.ffield textarea {
	border: 0px solid #fff;
	width: 99%;
	font: 12px Verdana;
	margin: 0;
	padding: 0;
	color: #333;
}

.checkbox,
.checkbox span {
    display: block;
	width: 11px;
	height: 11px;
	border: 1px solid #67795b;
	background: #fff;
	overflow: hidden;
}

.checkbox {
	float: left;
	position: relative;
	top: 1px;
	margin: 0 5px 0 0;
}

.checkbox span {
	width: 7px;
	height: 7px;
	border: 2px solid #fff;
}

.checkbox-checked span { background-color: #67795b; }

/* календарь афиши */

.htmlcal {width:100%;border-collapse:collapse;cursor:default}
.htmlcal caption{color:black}
.htmlcal caption a{text-decoration:none!important;font-weight:bold}

.htmlcal td, table.htmlcal th{width:14%;text-align:center;padding:0;margin:0;}
.htmlcal td{color: black}
.htmlcal td a{display:block;width:100%;color:black!important;text-decoration:none!important;font-weight:bold}
.htmlcal td a:hover{background:#FD6837;color:white!important;}
.htmlcal_weekend{color:#FD6837!important}
.htmlcal_outer{color:#e0e0e0!important}
.htmlcal_link{}
.htmlcal_highlight, .htmlcal_current{background:#7CC73E;color:white!important;}
.htmlcal_today{font-style:italic}
.htmlcal_today a{}
.htmlcal_today a:hover{}

table.postavatar td {
	color: #6A807A;
	text-align: center;
	vertical-align: middle;
	font-size: 9px;
}
table.postavatar td span {
	font-family: Arial, sans;
	display: block;
}

a.boy {color: #003366; font-family: 'MyriadProSemiCondensed';}
a.girl {color: #ff6666; font-family: 'MyriadProSemiCondensed';}
a.guest {color:#9966ff; font-family: 'MyriadProSemiCondensed';}
.post a.girl, .post a.boy{font-weight: bold;font-family: 'MyriadProSemiCondensed';font-size: 12px;}

/* nano */


.twit_box {}
	.twit {
		clear:both;
		padding:10px 0;
		position:relative;
		border-bottom:dashed 1px #cccccc;

}
		.twit ul {
			position:absolute;
			right:5px;
                        top:11px;
			display:none;
		}
		.twit:hover ul {display:block;}
		.twit ul li {float:left;padding:0 10px 0 0;}
		.twit_img {
                     float:left;
			width:50px;
			padding:0 10px 0 0;
		}
			.twit_img a {
                              width:50px;
				-webkit-border-radius: 50px;
				-moz-border-radius: 50px;
				border-radius: 50px;
				behavior: url(/css/v8/PIE.htc);
			}
		.twit_text h3 {
			margin-left: 55px;
                        
		}
		.twit .twit_date {
			position:absolute;
			right:5px;
                        top:11px;
                        font-size:11px;
		}
		.twit:hover .twit_date {
			display:none;
		}

                textarea.post_nano {
				-webkit-border-radius: 5px;
				-moz-border-radius: 5px;
				border-radius: 5px;
				behavior: url(/css/v8/PIE.htc);
                                border:1 px solid #000000;
			}

                        #countdown
                        {
                                height: 23px;
                                width: 30px;
                                padding: 0 10px;
                                text-align: center;
                                vertical-align: top;
                                -webkit-border-radius: 5px;
				-moz-border-radius: 5px;
				border-radius: 5px;
				behavior: url(/css/v8/PIE.htc);
                                border:1 px solid #000000;
                        }
                          div.newcomment {
				-webkit-border-radius: 50%;
				-moz-border-radius: 50%;
				border-radius: 50%;
				behavior: url(/css/v8/PIE.htc);
                                width:18px;
                                height: 18px;
                                text-align: center;
                                font-weight: bold;
                                
                                
                               float:right;
			}
                        div.newcomment a{
                        top: 2px; 
                        position:relative;
                        color:#ffffff;
                    }
                    .newpost{
                  -webkit-border-radius: 6px;
				-moz-border-radius: 6px;
				border-radius: 6px;
				behavior: url(/css/v8/PIE.htc);
                                padding: 0 4px;
                                height: 18px;
                                text-align: center;
                               


                               float:right;
			}
                        .newpost span, .newpost a, .newpost a:hover, .newpost a:visited, .newpost a:link{
                        top: 2px;
                        position:relative;
                        color:#ffffff;
                    }
                /* end nano */

                /* foto view */
                .top_bl{
                   margin-bottom: 5px;
                }
                .top_bl a.close
                {
                   background-image: url("/js/v7/lib/fancybox/fancy_close.png");
                    float:right;
                    cursor: pointer;
                    height: 30px;

                    width: 30px;

                }
                .left_bl{
                    left:10px;
                    height:98%;
                    width:20%;
                  /*  background: url("/i/v7/transparent.png");*/
                    position:absolute;
                    /* outline:medium none;*/
                    display:inline;
                    cursor:pointer;
                }
                .right_bl{
                    height:98%;
                     width:20%;
                    right:10px;
                   /* background: url("/i/v7/transparent.png");*/
                    position:absolute;
                    /*outline:medium none;*/
                    display:inline;
                    cursor:pointer;
                }
                .right_bl:hover{background: url("/i/v7/transparent.png");}
                .left_bl:hover{background: url("/i/v7/transparent.png");}
                .right_bl:hover div{
                    background: url("/i/v8/right.gif");
                    background-position:center,center;
                    background-repeat: no-repeat;
                    height:100%;
                    width:100%;}
                .left_bl:hover div{
                     background: url("/i/v8/left.gif");
                    background-position:center,center;
                    background-repeat: no-repeat;
                    height:100%;
                    width:100%;}

                .pogoda div.block {
                position: absolute;
                display: none;
                z-index: 100;
                font-size:10px;
                width: 180px;
                top:17px;
                left:10px;
               /* opacity:0.9;
                -moz-opacity:0.9;
                filter:alpha(opacity=90); 
                color:#000000;*/
                }
               /* .pogoda a {
                border-bottom:1px dashed #FFFFFF;
                }*/
                .pogoda div.block a {
                color:black;
                }
                
                .pogoda:hover div.block
                {
                  display: block;
                }

                /* blog */
                .avatar100 {
                 float:left;
                 width:100px;
                 padding:0 10px 0 0;
                }

                .avatar100 a {
                              width:50px;
				-webkit-border-radius: 5px;
				-moz-border-radius: 5px;
				border-radius: 5px;
				behavior: url(/css/v8/PIE.htc);
                }
                .blog div.post
                {
                    margin-left:110px;
                    min-height: 105px;
                }

               .doska_img {
                     float:left;
			width:40px;
			padding:0 10px 0 0;
                        margin-top: -5px;
                        margin-left: -4px;
		}
			.doska_img a {
                              width:50px;
				-webkit-border-radius: 5px;
				-moz-border-radius: 5px;
				border-radius: 5px;
				behavior: url(/css/v8/PIE.htc);
			}

                        .FormError
                        {
                            color:red;
                            font-weight: bold;
}

.minih
{
    margin-top:15px;
    text-align:center;
    color:white;
    height: auto;
    padding:5px;
    font-weight:bold;
}
.minihbt
{
    margin-top:5px;

    height: 3px;

}