body, p {
	font-family: verdana, arial, helvetica, sans-serif;}
h1, h2, h3, h4 { font-family: arial, verdana, helvetica, sans-serif; }
input, textarea, select { font-family: verdana, arial, helvetica, sans-serif; font-size:11px;}

input
{
 height:20px;
}

select
{
 height:18px;
}

body { margin: 0; padding: 0; text-align: center; font-size: 0.7em; background-color: #f3da86; }
body#messaging {background-color: #fcf9f0; }

body.reg { }
body.user {  }
table, td, tr { font-size: 1em; }
form { margin: 0; padding: 0; }

#ctop{
	width: 1000px;
	height: 178px;
}
#rtop{
	background-image: url(../img/top_bg_r.jpg);
	background-repeat: no-repeat;
	background-position: 0 0 ;
}
img#logo_t{
	position: absolute;
	top: 28px;
	left: 0px;
}
img#logo_b{
	position: absolute;
	top: 166px;
	left: 0px;
}

#shapka, #shapka1{
	height: 178px;
	background-image: url(../img/top_bg.jpg);
	background-repeat: no-repeat;
	background-position: 271px top;
	position: relative;
}
#shapka1{
	background-image: url(../img/top_bg1.jpg);
}
#shapkax{
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	width: 1000px; /*position: relative;*/
}


code { font-size: 1.2em; }

a { color: #bf2e00; }
a { color: #976e00; }
a:hover { color: #bf2e00; }
.norm { color: #bf2e00; }
.norm2 { color: #bf2e00; }
.norm3 { color: #9c3; }
.feat { color: #bf2e00; font-weight:bold; }
.feat2 { color: #bf2e00; font-weight:bold; }
.feat3 { color: #976e00; font-weight:bold; }
.feat4 { color: #777E5D; font-weight:bold; }
.warn { color: #F00; font-weight:bold; }
.bfeat { color: #bf2e00; font-size: 1.2em; font-weight:bold; }
.bfeat2 { color: #bf2e00; font-size: 1.2em; font-weight:bold; }
.bfeat3 { color: #9c3; font-size: 1.2em; font-weight:bold; }

a.nfeat2 { color: #bf2e00; font-size: 1.2em; font-weight: bold; text-decoration: none;}

.clear {height:1px;	font-size: 1px;	clear:both; }
.center {margin-left:auto; margin-right:auto; text-align:center;}

hr {color:#E3E7CE; background-color:#E3E7CE; height:1px; border:0; margin:1px auto; text-align:center;}
td.sep { height: 1px; background-color: #ddd; }

th { text-align: center; }

#wrapper {
	margin: 0px auto;
	padding: 0;
	width: 1000px;
	background-color: #FCF9F0;
	background-image: url(../img/pereplet.jpg);
	background-repeat: repeat-y;
	background-position: left top;
}
/*#wrapper { margin: 3px auto; padding: 0; width: 976px; }*/

#header { margin: 0 0 0 0; padding: 0; clear: both; height: 178px; }
#logo { float:left; width: 240px; }
#tophead { float: left; text-align:center; width: 736px; background-color: #fff; background-image: url( ../img/pgrbg.gif ); background-repeat: no-repeat; background-position: 100% 0; }
#topadv { margin: 4px 0; padding: 0; text-align:center; width: 728px; height: 90px; }
#topadv .imgad { font-size: 0px; }

#topnav { width:729px; margin: 0; padding:0; height: 28px; position: absolute; top: 145px; left: 272px; }
#topnav ul { margin:0; padding:6px 20px 0; list-style-type:upper-alpha; list-style:none; }
#topnav li { float:left; margin:0; padding:0; }
/*#topnav li.b { border-left: solid 1px #fff; }*/
#topnav a {
	text-decoration: none;
	float: left;
	display: block;
	width: .1em;
	padding: 0 17px 3px 5px;
	font-size: 12px;
	font-weight: normal;
	white-space: nowrap;
	color: #bf2e00;
}
#topnav > ul a {width:auto;}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#topnav a {float:none;}
/* End IE5-Mac hack */
#topnav a:hover { text-decoration: underline;}

#pagebody	{
	padding: 0;
	margin: 0;
	clear: both;
	background-image: url(../img/bt_z0.jpg);
	background-position: 881px bottom;
	background-repeat: no-repeat;
}
#sidebar { float: left; text-align:left; margin-right: 50px; padding: 0; width: 244px; min-height: 515px; }
#mainarea {float: left; text-align: left; padding: 0; width: 700px; overflow: hidden;}
#pagecontent { padding: 0; }
#iebotch { clear: both; overflow: hidden; height: 0px;}
#footer { clear: both; width: 966px; padding: 5px; margin: 0 auto; }
#footer div.wrapper { padding: 0 10px; }
#footer div.wrapper div.copyright { float:left; width: 270px; text-align:left; }
#footer div.wrapper div.ruskey { float: left; width: 220px; text-align: center; }
#footer div.wrapper div.counters { float: left; width: 270px; text-align: right; }
#footerpaper{
	background-color: #FCF9F0;
	background-image: url(../img/bt_z.jpg);
	background-position: 597px bottom;
	background-repeat: no-repeat;
}
#footer_bgl{
	background-image: url(../img/bt_l.jpg);
	background-repeat: no-repeat;
	background-position: right top;
	height: 94px;
}
#footer_bg{
	background-image: url(../img/bt.jpg);
	background-repeat: no-repeat;
	background-position: right top;
	height: 94px;
}
#footer_bgr{
	background-image: url(../img/bt_r.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
}

#regwrapper { margin: 0 auto; padding: 0; width: 1000px;}
#regbody	{ padding: 0; margin-top: 0; clear: both;  }
#regsidebar { float: left; margin: 0; padding: 0; text-align:center; width: 215px; }
#reglogo { margin: 0px 0 0px 0; padding: 0; }
#regmainarea { float: left; text-align: left; padding: 0 0 0 23px; width: 675px; }
#regtopline { margin-top: 15px; padding: 4px; font-weight: bold; color: #777E5D; font-size: 11px; text-align: right; font-style:italic; }
#regheader { margin: 15px 0 5px 5px; }
#regcontent { padding: 5px 0 5px 0; }
/*#pagebody div {	border: 1px solid Black;}*/
#regfooter { clear: both; text-align:center; width: 100%; padding: 0px; margin: 0 auto; }
#regfooter div.wrapper { margin: 0 0 0 28px }
#regfooter div.wrapper div.copyright { float:left; width: 270px; text-align:left; }
#regfooter div.wrapper div.ruskey { float: left; width: 220px; text-align: center; }
#regfooter div.counters { margin: 0 0 0 20px }

.homeadv { text-align:left; padding: 5px; }
.homeadv a { color: #00f; font-size: 11px; }
.sideadv a { color: #00f; font-size: 11px; }
.bottomadv { height: 100px; width: 620px; margin-top:15px; text-align:right; }
.adpanel {float:right; margin: 0 10px 0 5px;}

h1 { color: #B75E38; font-size: 2.2em; margin: 0 0 5px 0; padding:0; font-weight: normal; font-style: italic;}
h2 { color: #B75E38; font-size: 1.8em; margin: 0; padding:0; font-weight: normal;}
h3 { color: #bf2e00; font-size: 1.2em; margin: 0; padding: 3px 0;}
h4 { margin: 0; padding-top: 2px; color:#bf2e00; font-size: 1.2em; }

h3.subh {
	color: #B75E38;
	font-size: 14px;
	margin: 6px 0;
	padding: 6px;
	background-repeat: no-repeat;
	background-image: url(../img/h3.gif);
	background-position: left bottom;
	font-weight: normal;
	font-style: italic;
	line-height: 37px;
}
h3.subh1 {
	color: #B75E38;
	font-size: 14px;
	text-align: center;
	margin: 6px 0;
	padding: 6px;
	background-repeat: no-repeat;
	background-image: url(../img/h3.gif);
	background-position: left bottom;
	font-weight: normal;
	font-style: italic;
	line-height: 37px;
}
a.subh {
	color: #B75E38;
}
#header h1 { color: #B75E38; font-size: 2.0em; margin: 0; padding:0; font-weight: normal;}
#header h2 { color: #B75E38; font-size: 1.8em; margin: 0; padding:0; font-weight: normal;}
#header h3 {position: relative; font-size:1em; font-weight:normal; margin:0; padding:0; top: -1.5em; left: 270px; display: block; width:300px; text-align:right; font-family: verdana, arial, helvetica, sans-serif; }

div.contentbox { margin: 0 0 10px 0; padding: 0; }
div.boxnav { font-size: 11px; line-height:normal; padding: 0; margin: 10px 0; height: 25px; background:url( ../img/rbborder.gif ) no-repeat right top; background-position: 0 24px; }
div.boxnav ul { margin:0; padding:0 0 0 1px; list-style:none; width: auto; background:url( ../img/bnl.gif ) no-repeat left top; background-position:0 -60px; height: 25px; }
div.boxnav li { height:25px; line-height:25px; float:left; margin:0; padding:0 0 0 0px; border-bottom:1px none #E3E7CE; background-position: 0px 0; }
div.boxnav li.s { background:url( ../img/bnl.gif ) no-repeat left top; background-position: 0px 0; }
div.boxnav a { float:left; display:block; width:.1em; padding:0px 21px 6px 16px; white-space:nowrap; text-decoration: none; }
div.boxnav > ul a {width:auto;}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
div.boxnav a {float:none;}
/* End IE5-Mac hack */
div.boxnav a:hover{text-decoration: underline;}
div.boxnav .s a { background:url( ../img/bnr.gif ) no-repeat right top; background-position: 100% 0px; padding-top:0px; color: Black; }
div.boxnav li#id_boxGroup a { color: #f00; }
div.contentbox h2 {color: #777E5D; font-size: 1.2em; margin: 0; padding: 5px 0;}
div.contentbox #ctl00_cphMain_ucInfoCard_pnlThumbnail { padding: 12px 0;}
div.contentbox2 {margin: 0 0 10px 0; padding: 10px; }
.bgtable{
	background-image: url(/img/bg_table.gif);
}
.trborder{
	border-bottom: 1px solid rgb(227, 231, 206);
}

div.sbrb { width: 230px; margin: 0 auto 10px auto; text-align: left; }
div.sbrbc { width: 230px; margin: 0 auto 10px auto; text-align: center; }
div.sbrbr { width: 200px; margin: 0 auto 10px auto; text-align: left; }
.rbtl, .rbtr, .rbbl, .rbbr { background-image: url( ../img/rbborder11.gif ); height: 5px; font-size: 2px; }
.rbtl, .rbbl { margin-right: 5px; }
.rbtr, .rbbr { margin-left: 5px; margin-top: -5px; }
.rbtr { background-position: 100% 0; }
.rbbl  { background-position: 0 -5px; }
.rbbr { background-position: 100% -5px; }
.rbin { padding-left: 8px; padding-right:8px; text-align:left; }
.rbntg { margin-top: 0; }
.rbnbg { margin-bottom: -1px; padding-bottom: 1px; }
.sbin { padding-left: 8px; padding-right:8px; text-align:left; }
.cntin { padding: 0 10px 0 10px; margin: 0; text-align:left; clear: both; }

div.sbin h4 { margin: 0; padding-top: 2px; color:#777E5D; font-size: 1.2em; }
div.sbin ul { list-style-type: disc; list-style-position: inside; margin: 0; padding: 0; color: #976e00; }
div.sbin ul li { margin: 0; padding: 2px 0; }
div.sbin ul li span { color: black; }
div.sbin a { color: #820000; }
div.sbin a { color: #976e00; }
div.sbin a:hover { color: #bf2e00; }
div.sbin a.norm { color: #bf2e00; }
div.sbin a.menuFind {
	text-align: right;
	font-size: 10px;
}
/*
div.sbin h4 {
    color: #bf2e01;
}
*/
table.sbct { width: 215px; }
table.sbct thead tr td { font-size:9px; margin:0; padding:0; text-align:center; }
table.sbct tbody tr td { padding: 1px 0; }
table.sbct tbody tr td.n {width:30px; color: #000; text-align:center;}
table.sbct tbody tr td.n2 {width:30px; text-align: right;}

div.tpromo_left {width:630px; height:263px; margin-bottom: 5px; background:url( ../img/tpromo_left.gif ) no-repeat left top; }
div.tpromo_right {width:630px; height:263px; background:url( ../img/tpromo_right.gif ) no-repeat right top; }
div.tpromo { width: 345px; height: 260px; position:relative; top: 10px; left: 10px; }
div.bpromo_left {width:630px; height:275px; background:url( ../img/bpromo_left.gif ) no-repeat left top; }
div.bpromo_right {width:630px; height:275px; background:url( ../img/bpromo_right.gif ) no-repeat right top; }
div.bpromo1 { width: 305px; height: 125px; position:relative; top: 20px; left: 220px; }
div.bpromo2 { width: 225px; height: 110px; position:relative; top: 30px; left: 140px; }
a.bpromo1 { font-size: 22px; color:#bf2e01; font-weight:bold; font-family: arial, verdana, helvetica, sans-serif; text-decoration:none; }
a.bpromo1:hover { text-decoration:underline; }
a.bpromo2 { font-size: 22px; color:#9c3; font-weight:bold; font-family: arial, verdana, helvetica, sans-serif; text-decoration:none; }
a.bpromo2:hover { color:#9c3; text-decoration:underline; }

.reglist { clear:both; margin: 0; padding:0; }
ul.reglci { list-style-type: none; margin: 0; padding:0; }
ul.reglci li { padding: 1px 0; margin: 1px 0; white-space:normal; }

.filt select { font-size: 1em; }
.filt input { font-size: 1em; }
.filt a { font-size: 1em; margin-right:5px; }

.pager { margin: 18px 0 1px 0; line-height: 2em;}
.pager .link { background-color:#eee; text-align:center; vertical-align:middle; width: 22px; height: 22px; margin: 2px 4px 2px 0; padding: 4px; }
.pager .link a {color:#000;}
.pager a.link:hover { color:#000; }
.pager .alink { color:#fff;  background-color:#bf2e01; text-align:center; vertical-align:middle; width: 22px; height: 22px; margin:  2px 4px 2px 0; padding: 4px; }
.pager a.alink:hover { color:#fff; }

.thumbnail-left { margin-left:5px; }
.thumbnail { margin-right:5px; }
.icon { vertical-align:middle; }

table.school_info th { text-align: right; padding-right: 10px; }







#shortcutMenuFriend * {
    margin: 0;
    padding: 0;
}

#shortcutMenuFriend {
    font-size: 1em;
    border: 1px solid #765;
    position: absolute;
    visibility: hidden;
    z-index: 1;
    background-color: #fff;
    padding: 5px 1px;
}

#shortcutMenuFriend li {
    list-style: none;
    list-style-position: outside;
    padding: 1px;
	text-align: left;
}

#shortcutMenuFriend li a:link, #shortcutMenuFriend li a:visited {
	font-weight: bold;
    color: #89C434;
    display: block;
    padding: 2px 20px 2px 25px;
}

#shortcutMenuFriend li a:hover { color: #bf2e01; }

#shortcutMenuFriend li.shortcutMenuItem-view a {
    background: url( ../img/icon_photo.gif ) no-repeat 3px;
}

#shortcutMenuFriend li.shortcutMenuItem-message a {
    background: url( ../img/icon_msg.gif ) no-repeat 3px;
}

#shortcutMenuFriend li.shortcutMenuItem-friends a {
    background: url( ../img/icon_friends2.gif ) no-repeat 3px;
}

#shortcutMenuFriend li.shortcutMenuItem-groups a {
    background: url( ../img/icon_soobshhestva.gif ) no-repeat 3px;
}

#shortcutMenuFriend li.shortcutMenuItem-altGroupInvite a {
    background: url( ../img/icon_altgroupInvite.gif ) no-repeat 3px;
}

#shortcutMenuFriend li.shortcutMenuItem-altGroups a {
    background: url( ../img/icon_gruppa.gif ) no-repeat 3px;
}

#shortcutMenuFriend li.shortcutMenuItem-photo a {
    background: url( ../img/icon_photos.gif ) no-repeat 3px;
}

#shortcutMenuFriend li.shortcutMenuItem-self a {
    background: url( ../img/icon_about2.gif ) no-repeat 3px;
}

#shortcutMenuFriend li.shortcutMenuItem-messaging a {
    background: url( ../img/icon_messaging.gif ) no-repeat 3px;
}

#shortcutMenuFriend li.shortcutMenuItem-forum a {
    background: url( ../img/icon_forum.gif ) no-repeat 3px;
}

#shortcutMenuGroup * {
    margin: 0;
    padding: 0;
}

#shortcutMenuGroup {
    font-size: 1em;
    border: 1px solid #765;
    position: absolute;
    visibility: hidden;
    z-index: 1;
    background-color: #fff;
    padding: 5px 1px;
}

#shortcutMenuGroup li {
    list-style: none;
    list-style-position: outside;
    padding: 1px;
        text-align: left;
}

#shortcutMenuGroup span {
    color: #bf2e01;
    font-size: 1.2em;
    font-weight:bold;
}

#shortcutMenuGroup li a:link, #shortcutMenuGroup li a:visited {
        font-weight: bold;
    color: #89C434;
    display: block;
    padding: 2px 20px 2px 25px;
}

#shortcutMenuGroup li a:hover { color: #bf2e01; }

#shortcutMenuGroup li.shortcutMenuItem-group-main a {
    background: url( ../img/icon_about2.gif ) no-repeat 3px;
}

#shortcutMenuGroup li.shortcutMenuItem-group-members a {
    background: url( ../img/icon_gruppa.gif ) no-repeat 3px;
}

#shortcutMenuGroup li.shortcutMenuItem-group-albums a {
    background: url( ../img/icon_photos.gif ) no-repeat 3px;
}

#shortcutMenuGroup li.shortcutMenuItem-group-forum a {
    background: url( ../img/icon_forum.gif ) no-repeat 3px;
}

div.msg-area p { margin: 0 0 0.5em; }
img.online { margin-top: 3px; }

div.mark5, div.mark4, div.mark3, div.mark2, div.mark1 {
    width: 45px;
    height: 45px;
}

div.mark5 {
    background: url( ../img/5.png ) no-repeat;
    //background: none;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/5.png,sizingMethod=crop);
}

div.mark4 {
    background: url( ../img/4.png ) no-repeat;
    //background: none;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/4.png,sizingMethod=crop);
}

div.mark3 {
    background: url( ../img/3.png ) no-repeat;
    //background: none;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/3.png,sizingMethod=crop);
}

div.mark2 {
    background: url( ../img/2.png ) no-repeat;
    //background: none;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/2.png,sizingMethod=crop);
}

div.mark1 {
    background: url( ../img/1.png ) no-repeat;
    //background: none;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/1.png,sizingMethod=crop);
}

div.mark30small, div.mark20small, div.mark10small, div.mark5small, div.mark4small, div.mark3small, div.mark2small, div.mark1small {
    width: 28px;
    height: 28px;
}

div.mark30small {
    background: url( ../img/30_28.png ) no-repeat;
    //background: none;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/30_28.png,sizingMethod=crop);
}

div.mark20small {
    background: url( ../img/20_28.png ) no-repeat;
    //background: none;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/20_28.png,sizingMethod=crop);
}

div.mark10small {
    background: url( ../img/10_28.png ) no-repeat;
    //background: none;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/10_28.png,sizingMethod=crop);
}

div.mark5small {
    background: url( ../img/5_28.png ) no-repeat;
    //background: none;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/5_28.png,sizingMethod=crop);
}

div.mark4small {
    background: url( ../img/4_28.png ) no-repeat;
    //background: none;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/4_28.png,sizingMethod=crop);
}

div.mark3small {
    background: url( ../img/3_28.png ) no-repeat;
    //background: none;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/3_28.png,sizingMethod=crop);
}

div.mark2small {
    background: url( ../img/2_28.png ) no-repeat;
    //background: none;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/2_28.png,sizingMethod=crop);
}

div.mark1small {
    background: url( ../img/1_28.png ) no-repeat;
    //background: none;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/1_28.png,sizingMethod=crop);
}

.newicon {
    margin-left: 0.3em;
    vertical-align: middle;
}

div.rejectPhoto {
    margin: 0 auto;
    color: #F00;
    font-weight:bold;
    width: 128px;
    overflow: auto;
}

div.userCard {
    margin: 0 auto;
    width: 130px;
    overflow: hidden;
}

#messaging td {
	text-align: left;
}

#Topbanner1{
	position: absolute;
	top: 35px;
	left: 271px;
}
#Topbanner2{
	position: absolute;
	top: 45px;
	left: 373px;
}
.buttons {
	background-image: url(/img/bg_button.gif);
	border: none;
	background-repeat: repeat-x;
}
/*.textinput, textarea, select{
	border: 1px solid #d19b6c;
}
.checkbox{
	color: #d19b6c;
}*/
.fmark td{
width: 43px;
}
td.xmark{
	width: 15px;
}
.SLdiv
{
	margin-left:30px;
	width:200px;
	color:Silver;
}
