body {
font-family:Verdana , "Times New Roman", Bodony, serif;
font-size: 12px;
border: none;
margin: 0px;
padding: 0px;
background: url(/img/bg.jpg) no-repeat bottom right #fffcd7;
/* background: url(img/bg.jpg);
        max-width: 1000px;
     width:expression(document.body.clientWidth > 1000? "1000px":"auto" );
        */
}



div.star-rating {
cursor:pointer;
text-indent:999em!important;
}
.article p{line-height:1.54em; text-indent: 20px; }
.article img{left:0;}
img{border: 0;}
h2{color:#59761b; font-weight:bolder; text-transform:uppercase; font-size:29px;
   margin-top:4px;margin-bottom:4px;font-family:Garamond, "Times New Roman", Bodony, serif;}
h1{color:#59761b; font-weight:bolder; text-transform:uppercase; font-size:29px;
   margin-top:4px;margin-bottom:4px;font-family:Garamond, "Times New Roman", Bodony, serif;}
.title{color:#59761b; font-weight:bolder; font-size:29px;font-family:Garamond, "Times New Roman", Bodony, serif;
}
.title_middle{color:#59761b; font-weight:bolder; font-size:19px;font-family:Garamond, "Times New Roman", Bodony, serif;
}
h3{color:#3C470B;font-weight:bolder; text-align:center}
.yellow{color: #d8a903;font-weight:200;}
.red{color: #ff4f00;font-weight:900;}
.other{color: #cdc30d; font-weight:bolder; margin-right: 100px;}
.more{color: #bdae00; font-size:11px; font-family:Trebuchet MS,"Times New Roman",Bodony,serif;}
h6{color:#59761b; font-weight:bolder; font-size:8px; margin: 0;}
.h6 {color:#59761b; font-weight:bolder; font-size:12px; margin: 0;}

input submit {background: #3c470b; border: 1px solid #CCCCCC; color:#fffcd7;font-weight:100; height:18px; font-size: 14px;}

.pagination{
background:#3c470b;
margin:1px;     padding: 3px 5px;
}
.pagination_current{
background:#3c470b;
margin:1px;
    color: #fffcd7; padding: 3px 5px;
    border: solid 2px black;
}






.block_title{
    font-family:Garamond, "Times New Roman", Bodony, serif;

background: #3c470b;
font-weight:900;
font-size: 20px;
color: #fffcd7;
padding: 7px 15px 7px 15px;
}
#art_title{
    font-weight:900;font-size: 27px;color: #fffcd7;
        font-family:Garamond, "Times New Roman", Bodony, serif;
}
#title_in_article{
background: #3c470b; margin: 0 225px 0 0; padding: 2px 17px 2px 0;height: 32px; text-align: right;
}

.smile
{
    vertical-align: bottom;
    margin-bottom: -2px;
}



#openid_submit{


color: orange;
font-size: 12px;
background: black;
border: 0;

}
#head{
    background: url(/img/hbg.png) right 30px no-repeat;
    min-height:350px;

height:expression(this.scrollHeight < 350? "350px" : "auto");
}

.alert{
        position:fixed;
        right: 10px;
        top: 0px;
        background: url(/img/alert.png);
        width: 230px;
        height: 40px;
        border: 1px solid white;
        padding:25px 20px;
        color: white;
}
#logo-main{
position: absolute;
width: 343px;
height: 142px;

left:30px;
top:10px;

}


.text_mini{
    background: #fffcd7; position:absolute; top: -10px; left:6px; color:#59761b; font-size:12px; padding:3px;
}
.text_mini_right{
    position:absolute; background: #fffcd7; right:6px; top:-10px;color: #bdae00; font-size:12px;padding:3px;
}



#tips{
    padding-top: 40px;

  height: 50px;
  margin: -17px 200px 0 400px;
  /* border: 1px black dashed;*/
  width:expression((document.documentElement.clientWidth || document.body.clientWidth) < 350? "350px": "auto");
  min-width: 350px;
}
#tips .h6{
color:#bdae00 !important;
font-weight:bolder; font-size:12px; margin: 0;
}
#tips .yellow{
    font-size:12px;
}


#menu_up{
    height:100px;


}
#menu_up a{
   text-decoration: none;
    color:#59761b;
}
#menu_up a:hover{
   text-decoration: none;
    color:#cdc30d;
}

#menu_bottom{

    padding: 6px 15% 1px 15%;

    height:33px;

}

#frame_head{

    border: 1px solid #3c470b;position:relative; margin: 20px 0 0 138px; padding:7px 0 7px 6px;
}
#frame_head_2{

    border: 1px solid #3c470b;position:relative; margin: 10px 0 0 138px; padding:7px 0 7px 8px;
}

#menu_under_frame{
    position:absolute; right:6px; top:23px;

}


.message_news{
    position:relative;
    border: 1px solid gray;
    padding: 5px 20px 5px 10px;
    margin-bottom: 5px;
background:  #fffcd7;
}

.message_news_red{
    position:relative;
    border: 1px solid red;
    padding: 5px 20px 5px 10px;
    margin-bottom: 5px;
background:  #fffcd7;
}
.message_news_green{
    position:relative;
    border: 1px solid green;
    padding: 5px 20px 5px 10px;
    margin-bottom: 5px;
background:  #fffcd7;
}


#insert{
    text-align:center;
        border: 1px dashed gray;
    padding: 5px 20px 5px 10px;
    margin-bottom: 5px;
background:  #fffcd7;
}

#messages{
  margin-left: 40px;
}

#main{
/* margin-right: 243px; */
position: relative; display: table}
#right{
    margin: 0px 10px 100px 10px;
float:right;
width: 211px;
}

#main_bottom{margin-right: 600px; }
#right_bottom{
height:100px;
float:right;
width: 580px;
}

#top_art{
    position: relative;
margin: 40px 350px 10px 70px;
}

#top_art p {
    margin-right: 250px;

}

#top_right{
float:right;
width: 290px;
margin: 200px 0 10px 0;
}


#foto{margin-top: 40px;}


.top3foto_main{float:left; margin-left:47px;position: relative; }
.top3foto{ border: 1px solid gray; position: relative;}
.top3foto img {border: 3px #fff solid}
.top3foto .tick {background:transparent url(/img/tape2.png) no-repeat scroll 0 0;
display:block;
height:32px;
left:50px;
position:absolute;
top:-13px;
width:115px;}
.top3foto_main .title_img{text-align:center; width:210px; margin-bottom: 15px;}

.preview{
    position: relative;
    margin: 45px;
    text-align:left;
    }


.title_razdel_right{
    font-family:Garamond, "Times New Roman", Bodony, serif;
    position: absolute;
    right: 5px;
background: #3c470b;
font-weight:900;
font-size: 20px;
color: #fffcd7;
padding: 0 15px 0 15px;
}





#m_insert{
    font-size: 11px;

}


.article{
    position: relative;
margin-left: 25px;
margin-right: 25px;
text-align: justify;
}
.article p{
background: #fffcd7;
}

.img_photo {
    margin: 0 0 5px 0;
}

.img_art {
    float:right;
    margin: 0 0 25px 25px;

}

.img_top{
     position: absolute;

    right: 0;
}

.img_pre{
       width: 150px;

}
/* Коментарии*/
#comments{
    text-align: left;
    margin: 10px 55px 0 50px;
}
.nick_id
{
font-size: 17px; font-weight:900;
}
#formmain{
    color: black;
    /* visibility:hidden; */
     margin: 10px 55px 0 100px;

}

#add_comm_div{
    text-align:right;

}
#comment_add{

    text-align: left !important;
 }
#captcha
{
    vertical-align:bottom;

}
.main_comm{  display: table-row; }
.comm_rel{position: relative;}
.date_comm{position: absolute; width: 150px; right: 5px; top:20px}
.avatar_comm{vertical-align:top; text-align: left; margin: 10px 15px 0 0; float:left; border: 1px solid #3c470b}


 /* Коментарии*/


 .loading {
    background: #FFC129;
    color: black;
    font-weight: bold;
    padding: 3px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;

}
.loading-img, .loading-element {
    background: transparent;
    padding: 0px;
}

.loading-error {
    color: #FFF;
    background: red;
}
.loading.top {
    -moz-border-radius-topleft: 0px;
    -moz-border-radius-topright: 0px;
    -webkit-border-top-left-radius: 0px;
    -webkit-border-top-right-radius: 0px;
}
.loading.left {
    -moz-border-radius-topleft: 0px;
    -moz-border-radius-bottomleft: 0px;
    -webkit-border-top-left-radius: 0px;
    -webkit-border-bottom-left-radius: 0px;
}
.loading.bottom {
    -moz-border-radius-bottomleft: 0px;
    -moz-border-radius-bottomright: 0px;
    -webkit-border-bottom-left-radius: 0px;
    -webkit-border-bottom-right-radius: 0px;
}
.loading.right {
    -moz-border-radius-topright: 0px;
    -moz-border-radius-bottomright: 0px;
    -webkit-border-top-right-radius: 0px;
    -webkit-border-bottom-right-radius: 0px;
}




.carousel
    {
        border: 1px gray solid;
        text-align: center;
        width: 104px;
        height: 74px;
        float: left;
        margin-right:2px;
    }
    .carousel img {
        width: 100px;
        height: 70px;
        border:2px white solid;

    }
/* галерея снизу статьи */
#photo_bottom
{
clear:both; padding: 10px;
}
#photo_bottom img{
    margin: 2px; border:2px solid white;
}
#photo_bottom A:link.thickbox{border-bottom: 0!important; }
 #photo_bottom A:visited.thickbox {border-bottom: 0!important; }
 #photo_bottom A:active.thickbox {border-bottom: 0!important;}
#photo_bottom  A:hover.thickbox {border-bottom: 0!important; }



A:link {text-decoration: none; color: #a69d10;}
A:visited {text-decoration:  none; color: #a69d10;}
A:active {text-decoration: none; color: #cff6f5;}
A:hover {text-decoration: none; color: #2d3939;}

 A:link#ajax{text-decoration: none; color: #a69d10; border-bottom: 1px dotted;  }
 A:visited#ajax {text-decoration:  none; color: #a69d10; border-bottom: 1px dotted;  }
 A:active#ajax {text-decoration: none; color: #cff6f5; border-bottom: 1px dotted;  }
 A:hover#ajax {text-decoration: none; color: #2d3939; border-bottom: 1px dotted;  }

 A:link.thickbox{text-decoration: none; color: #a69d10; border-bottom: 1px dotted }
 A:visited.thickbox {text-decoration:  none; color: #a69d10; border-bottom: 1px dotted}
 A:active.thickbox {text-decoration: none; color: #cff6f5; border-bottom: 1px dotted}
 A:hover.thickbox {text-decoration: none; color: #2d3939; border-bottom: 1px dotted}

 #top_right A.thickbox{font-size: 12px;}

.title_razdel_right  A:link{text-decoration: none; color: #fffcd7;}
.title_razdel_right  A:visited{text-decoration:  none; color: #fffcd7;}
.title_razdel_right  A:hover{text-decoration: none; color: #fffcd7;}
.title_razdel_right  A:active{text-decoration: none; color: #fffcd7;}

h2 A:link{text-decoration: none; color: #59761b;}
h2 A:visited{text-decoration:  none; color: #59761b;}
h2 A:hover{text-decoration: none; color: #59761b;}
h2 A:active{text-decoration: none; color: #59761b;}
h1 A:link{text-decoration: none; color: #59761b;}
h1 A:visited{text-decoration:  none; color: #59761b;}
h1 A:hover{text-decoration: none; color: #59761b;}
h1 A:active{text-decoration: none; color: #59761b;}


a:link.tags{color:#3c470b; }
a:hover.tags {background:#fffcd7;
filter:alpha(opacity=80);
                   -moz-opacity:0.8;
                    opacity: 0.8;}


 pre {
        text-align: left;
	font-size: 12px;
	line-height:1.0em;
	padding: 10px;
	background: #ffffee;
	border: solid 1px #ddd;
	margin: 0 0 10px 0;
	/* Wordwrap Hack */
	white-space: pre-wrap;		/* css-3 */
	white-space: -moz-pre-wrap !important;		/* Mozilla, since 1999 */
	white-space: -pre-wrap;		/* Opera 4-6 */
	white-space: -o-pre-wrap;	/* Opera 7 */
	word-wrap: break-word;		/* Internet Explorer 5.5+ */
}

#forismatic{
    position: absolute; padding-left: 10px; padding-right:10px; bottom: 0; right: 0; color: #fffcd7; font-family:Georgia,"Times New Roman",serif;font-style: italic; font-size: 11px!important; z-index:1; background:#3c470b
}


/*  ТОГЛЕР */
.toggler {
	   margin:15px 0 15px 0;
		cursor:pointer;
		text-decoration: none;
		font-size: 1.0em;
		font-weight:bold;
		line-height:20px;
		display: block;
	}
	.toggler-closed {
		color:#fffcd7!important;
		padding-left:20px;

		background: #3C470B;
		border: solid 1px white;
	}
	.toggler-closed:hover {
		color: #fffcd7;
		padding-left:20px;

		background: #3C470B;
		border: solid 1px #e3e3e3;
	}
	.toggler-opened {
		color:#fffcd7!important;
		padding-left:20px;

		background: #3C470B;
		border: solid 1px white;
	}
	.toggler-opened:hover {
		color: #fffcd7;
		padding-left:20px;

		background: #3C470B;
		border: solid 1px #e3e3e3;
	}
	.toggler-c {
	}
	.toggler-c-closed {
	   background:transparent;
	   border:solid 1px #fffcd7;
		margin:-15px 0px 15px 0px;
	   padding:20px;
	}
	.toggler-c-opened {
		margin:-15px 0px 15px 0px;
	   padding:20px;
	   background:#fffcd7;
	   border:dotted 1px #fffcd7;
	}

        .toggler-a{
            margin:-15px 0px 0px 0px;
           background:#fffcd7;
             border:dotted 1px red;
        }
             /*  ТОГЛЕР */


             div.flash-error, div.flash-notice, div.flash-success
{
	padding:.8em;
	margin-bottom:1em;
	border:2px solid #ddd;
}

div.flash-error
{
	background:#FBE3E4;
	color:#8a1f11;
	border-color:#FBC2C4;
}

div.flash-notice
{
	background:#FFF6BF;
	color:#514721;
	border-color:#FFD324;
}

div.flash-success
{
	background:#E6EFC2;
	color:#264409;
	border-color:#C6D880;
}

div.flash-error a
{
	color:#8a1f11;
}

div.flash-notice a
{
	color:#514721;
}

div.flash-success a
{
	color:#264409;
}

/*Пагинатор*/

ul.yiiPager a:link, ul.yiiPager a:visited
{
    border:1px solid #A69D10!important;
    color:#A69D10!important;
}

ul.yiiPager .selected a {
background:none repeat scroll 0 0 #3C470B!important;

}



/* message display page */
.message_list {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 210px;
}
.message_list li {
	padding: 0;
	margin: 0;
	background: url(/img/message-bar.gif) no-repeat;
}
.message_head {
        margin: 1px;
	padding: 5px 5px;
	cursor: pointer;
	position: relative;
}
.message_head .timestamp {
	color: #666666;
	font-size: 90%;
	position: absolute;
	right: 10px;
	top: 5px;
}
.message_head cite {
        color:#fffcd7;
	font-size: 90%;
	font-weight: bold;
	font-style: normal;
}
.message_body {
	padding: 5px 10px 1px;
        font-size: 90%;
}
.collapse_buttons {
	text-align: right;
	border-top: solid 1px #e4e4e4;
	padding: 5px 0;
	width: 210px;
}
.collapse_buttons a {
	margin-left: 15px;
	float: right;
}


div.menu{
    position: absolute;
     z-index: 22;
    right:1px;

}

.menu ul#menu{
	margin:0;
	padding:0;
}

.menu  li.menuli{
	width:100px;
	height:30px;
	float:left;
	color:#fffcd7;
	text-align:center;
	overflow:hidden;
          margin-left:1px;
}

.menu  li.menuauth{
    margin-left:1px;
	width:200px;
	height:30px;
	float:left;
	color:#fffcd7;
	text-align:center;
	overflow:hidden;
}

.menu a{
	color:#fffcd7!important;
	text-decoration:none;
}

.menu p{
	padding:1px 5px;
}

	.menu .subtext{
		padding:15px 2px 2px 2px;
                font-size: 80%;
	}

/*Menu Color Classes*/
.menu .green{background:#6AA63B url('images/green-item-bg.jpg') top left no-repeat;}
.menu .yellow{background:#FBC700 url('images/yellow-item-bg.jpg') top left no-repeat;}
.menu .red{background:#3c470b;}
.menu .purple{background:#3c470b url('/img/purple-item-bg.jpg') top left no-repeat;}
.menu .blue{background:#0292C0 url('images/blue-item-bg.jpg') top left no-repeat;}
