/* <!--keep css ONLY relative (because of relative image urls inside css)--> */
* :focus { outline: 0 !important; }


img { border:0 }

form { margin:0 }
input, select { margin:0; }


.tree {
	font-style:italic;
	margin-bottom:10px;
	color:#777777;
}
.tree a {
	text-decoration:underline;
}

#calendar .head {
	width:14%;
}

#calendar .cell {
height:66px;
width:100px;
vertical-align:top;
border:1px solid #f7f7f7;
}

#calendar .cell img {
border:0px;
width:100px;
height:66px;
}

#calendar .graydate {
font-family:"Trebuchet MS",Tahoma;
font-size:18px;
position:absolute;
padding-left:4px;
z-index:3;
color:#777777;
}

#calendar .whitedate {
font-family:"Trebuchet MS",Tahoma;
font-size:18px;
position:absolute;
padding-left:4px;
z-index:3;
color:#ffffff;
}

#calendar .photocnt {
font-size:10px;
text-align:center;
color:#777777;
}

#calendar .blackdate {
font-family:"Trebuchet MS",Tahoma;
font-size:18px;
position:absolute;
padding-left:5px;
padding-top:1px;
z-index:2;
}


/* tabs */


.pagenumcur {
border-bottom:3px solid #777777;
padding:2px 4px;
font-weight:bold;
}

.pagenum {
padding:2px 4px;
}

/* users search start */
.searchval {
	float:left;
	border:1px solid #c7c7c7;
	padding:4px;margin-right:3px;
	margin-bottom:3px;
}

.searchval b {
	font-weight:bold; color:#777777;
}
/* users search end */


.toptitle h1 {
	margin:0;
	background-color:#ECEEF4;padding:5px 10px;font-weight:bold;
	border-bottom:1px solid #e1e1e1;
	font-size:13px;
}


#tabs {	
	border-bottom: 1px solid #bbb;
	height:18px;
	padding-left:5px;
	margin-bottom:7px;
}
#tabs .ul {
	margin: 0px;
	list-style: none;
	padding:0px;
}
#tabs li {
	background-image: url('//gallery.ru/i/tabs/n-l.gif');
	background-repeat: no-repeat;
	background-position: 0 0;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 80%;
	padding-left: 7px;
	float: left;
}
#tabs.rtl li {
	width: 135px;
}
#tabs li a {
	background-image: url('//gallery.ru/i/tabs/n-r.gif');
	background-repeat: no-repeat;
	background-position: 100% 0;
	padding: 5px 8px 1px 0;
	display: block;
	float: left;
	text-decoration: none;
	color: #7d7d7d;	
}
#tabs #total_ph {
	color: #7d7d7d;	
}
#tabs.rtl li a {
	width: 120px;
	text-align: center;
}
#tabs li a  span {
	font-size: 80%;
}
#tabs li.active {
	bottom: -1px;		
	left: 0;
	margin-top: -1px;
	z-index: 1000;
	position: relative;
	background-image: url('//gallery.ru/i/tabs/a-l.gif');
	padding-left: 9px;
}
#tabs li.active a {
	padding-bottom: 2px;		
	background-image: url('//gallery.ru/i/tabs/a-r.gif');
}
#tabs li.active a  span {
	font-weight: normal;
}

.loading {
	border:0px;
	display: none;
	float:left;
	margin-right:5px;
}

.bold {
	font-weight:bold;
}


/* map page links start */

.pages { 
	padding: 1px 0 0 0px; 
	clear: both; 
	font-size: 11px;
}
.pages * {
	background: white; 
	margin: 0 1px; 
	padding: 2px 5px; 
	text-decoration: none; 
	line-height: 200%; 
	/*float: left;*/
}
.pages a { 
	border: 1px solid #005296; 
	color: #005296;
}

.pages .inactive { 
	border: 1px solid gray; 
	color: gray; 
}

/* map page links end */


/* tool tips */

.tool-tip {
	color: #fff;
	width: 139px;
	z-index: 13000;
	background:#000000;
}
 
.tool-title {
	font-weight: bold;
	font-size: 11px;
	margin: 0;
	color: #9FD4FF;
	padding: 8px 8px 4px;
}
 
.tool-text {
	font-size: 11px;
	padding: 4px 8px 8px;
}

h1 {
	font-weight:bold;
	font-size:18px;
	line-height:24px;
	font-family:Arial;
	margin:0;
	padding:0;	
}

h1.special {
    background: #868686 url('//gallery.ru/include/buttonbg.php?bodyfile=horizbuttonbg-gray.gif&bg=ffffff&h=19') no-repeat scroll top right;
	display:block;
    height: 19px;
    text-decoration: none;
	padding-right: 10px; /* size of right img */
	color: #ffffff;
	font-weight:bold;
	font-size:12px;
	margin:0 auto;
}

h1.special div {
	display:block;
    background: #868686 url('//gallery.ru/include/buttonbg.php?bodyfile=horizbuttonbg-gray.gif&bg=ffffff&h=19&side=l') no-repeat;
    padding: 2px 0 2px 10px;
	height:15px; /* 15+4px padding */
	cursor:pointer;
}





.grayhead {
    background: #868686 url('//gallery.ru/include/buttonbg.php?bodyfile=horizbuttonbg-gray.gif&bg=ffffff&h=19') no-repeat scroll top right;
	display:block;
    height: 19px;
    text-decoration: none;
	padding-right: 10px; /* size of right img */
	color: #ffffff;
	font-weight:bold;
	font-size:12px;
}

.grayhead div {
	display:block;
    background: #868686 url('//gallery.ru/include/buttonbg.php?bodyfile=horizbuttonbg-gray.gif&bg=ffffff&h=19&side=l') no-repeat;
    padding: 2px 0 2px 10px;
	height:15px; /* 15+4px padding */
	cursor:pointer;
}


.grayhead2 {
	background-color: #F2F2F2;
	border-bottom: none;
	border-top: 1px solid #E2E2E2;
	padding: 4px 5px 5px;
	font-weight:bold;
}



.grayhead a {
	color: #ffffff;
	padding-left:5px;
}

.grayhead img {
	padding-right: 5px;
}

.grayheadsub {
background:#f7f7f7;
margin-bottom:10px;
padding:2px 10px;

}




/* MENU */


a.menubtn {
    background: transparent url('//gallery.ru/i/menu/btn-r.gif') no-repeat scroll top right;
    color: #000000;
    display: block;
    float: left;
    font: normal 15px Arial;
	font-weight: 700;
    height: 25px;
    margin-right: 6px;
    padding-right: 10px; /* sliding doors padding */
    text-decoration: none;
}

a.menubtn span {
    background: transparent url('//gallery.ru/i/menu/btn-l.gif') no-repeat;
    display: block;
    line-height: 15px;
    padding: 5px 0 5px 10px;
	cursor:pointer;
}


a.sidebtn {
    background: #5a6d8c url('//gallery.ru/include/buttonbg.php?body=5a6d8c&bg=ffffff&h=23&bottomtoo=1') no-repeat scroll top right;
    display: block;
    height: 23px;
	color:#ffffff;
    padding-right: 10px; /* size of right img */
    text-decoration: none;
	text-align:left;
	margin-bottom:4px;
}

a.sidebtn span {
    background: transparent url('//gallery.ru/include/buttonbg.php?body=5a6d8c&bg=ffffff&side=l&h=23&bottomtoo=1') no-repeat;
    display: block;
    padding: 5px 0 5px 10px;
	cursor:pointer;
}


a.sidebtn-orange {
    background: #ff9500 url('//gallery.ru/include/buttonbg.php?body=ff9500&bg=ffffff&h=23&bottomtoo=1') no-repeat scroll top right;
    display: block;
    height: 23px;
	color:#ffffff;
    padding-right: 10px; /* size of right img */
    text-decoration: none;
	text-align:center;
	margin-bottom:4px;
}

a.sidebtn-orange span {
    background: transparent url('//gallery.ru/include/buttonbg.php?body=ff9500&bg=ffffff&side=l&h=23&bottomtoo=1') no-repeat;
    display: block;
    padding: 5px 0 5px 10px;
	cursor:pointer;
}


a.sidebtn-green {
    background: #39c342 url('//gallery.ru/include/buttonbg.php?body=39c342&bg=ffffff&h=23&bottomtoo=1') no-repeat scroll top right;
    display: block;
    height: 23px;
	color:#ffffff;
    padding-right: 10px; /* size of right img */
    text-decoration: none;
	text-align:center;
	margin-bottom:4px;
}

a.sidebtn-green span {
    background: transparent url('//gallery.ru/include/buttonbg.php?body=39c342&bg=ffffff&side=l&h=23&bottomtoo=1') no-repeat;
    display: block;
    padding: 5px 0 5px 10px;
	cursor:pointer;
}

a.smallbtn {
    background: #5a6d8c url('//gallery.ru/include/buttonbg.php?body=5a6d8c&bg=ffffff&h=23&bottomtoo=1') no-repeat scroll top right;
	display:-moz-inline-box;
	display:inline-block;
	height:23px;
	color:#ffffff;
	padding-right: 10px; /* size of right img */
    text-decoration: none;
	text-align:center;
}

a.smallbtn span {
	display:-moz-inline-box;
	display:inline-block;
    background: transparent url('//gallery.ru/include/buttonbg.php?body=5a6d8c&bg=ffffff&side=l&h=23&bottomtoo=1') no-repeat;
    padding: 5px 0 5px 10px;
	height:13px; /* 13+10px padding */
	cursor:pointer;
}

a.tinybtn {
    background: #5a6d8c url('//gallery.ru/include/buttonbg.php?body=5a6d8c&bg=ffffff&h=17&bottomtoo=1') no-repeat scroll top right;
	display:-moz-inline-box;
	display:inline-block;
	height:17px;
	color:#ffffff;			  
	padding-right: 5px; /* size of right img */
    text-decoration: none;
	text-align:center;
	
}

a.tinybtn span {
	display:-moz-inline-box;
	display:inline-block;
    background: transparent url('//gallery.ru/include/buttonbg.php?body=5a6d8c&bg=ffffff&side=l&h=17&bottomtoo=1') no-repeat;
    padding: 2px 0 2px 5px;
	height:13px; /* 11+4px padding */
	cursor:pointer;
}

a.tinybtn-green {
    background: #5a6d8c url('//gallery.ru/include/buttonbg.php?body=39c342&bg=ffffff&h=17&bottomtoo=1') no-repeat scroll top right;
	display:-moz-inline-box;
	display:inline-block;
	height:17px;
	color:#ffffff;
	padding-right: 5px; /* size of right img */
    text-decoration: none;
	text-align:center;
	
}

a.tinybtn-green span {
	display:-moz-inline-box;
	display:inline-block;
    background: transparent url('//gallery.ru/include/buttonbg.php?body=39c342&bg=ffffff&side=l&h=17&bottomtoo=1') no-repeat;
    padding: 2px 0 2px 5px;
	height:13px; /* 11+4px padding */
	cursor:pointer;
}


.underdash { 
	text-decoration:none;
	border-bottom:1px dotted #ffffff;
}


.topmenubg {
	-moz-border-radius-bottomleft:4px;-moz-border-radius-topleft:4px;-moz-border-radius-topright:4px;-moz-border-radius-bottomright:4px;
	background: #f7f7f7 url('//gallery.ru/include/buttonbg.php?body=f7f7f7&bg=trans&h=19&bottomtoo=1') no-repeat scroll top right;
	display:-moz-inline-box;
	display:inline-block;
	height:19px;
	color:#ffffff;
	padding-right: 10px; /* size of right img */
	text-align:center;
}

.topmenubg span {
	-moz-border-radius-bottomleft:4px;-moz-border-radius-topleft:4px;
	display:-moz-inline-box;
	display:inline-block;
    background: transparent url('//gallery.ru/include/buttonbg.php?body=f7f7f7&bg=trans&side=l&h=19&bottomtoo=1') no-repeat;
    padding: 2px 0 2px 10px;
	height:15px; /* 15+4px padding */
	cursor:pointer;
}																 

.authbox,.authboxgold {
	display:-moz-inline-box;
	display:inline-block;
	height:20px;
	color:#ffffff;
	padding-right: 10px; /* size of right img */
	text-align:center;
}

.authboxround,.authboxgoldround {
	display:-moz-inline-box;
	display:inline-block;
	color:#ffffff;
	height:19px !important;
	padding-right:10px;
	text-align:center;
}
												 
.authbox {
    background: #2e8927 url('//gallery.ru/include/buttonbg.php?bodyfile=greengradient.gif&bg=ffffff&h=20&bottomonly=1') no-repeat scroll bottom right;
}															  

.authboxgold {
    background: #7f4900 url('//gallery.ru/include/buttonbg.php?bodyfile=goldgradient.gif&bg=ffffff&h=20&bottomonly=1') no-repeat scroll bottom right;
}

.authboxround {
    background: #2e8927 url('//gallery.ru/include/buttonbg.php?bodyfile=greengradient.gif&bg=ffffff&h=19&bottomtoo=1') no-repeat scroll bottom right;
}															  

.authboxgoldround {
    background: #7f4900 url('//gallery.ru/include/buttonbg.php?bodyfile=goldgradient.gif&bg=ffffff&h=19&bottomtoo=1') no-repeat scroll bottom right;
}

.authbox span,.authboxgold span {
	display:-moz-inline-box;
	display:inline-block;
    padding: 4px 0 0px 10px;			    
	height:16px; /* 16+4px padding */
}

.authboxround span,.authboxgoldround span {
	display:-moz-inline-box;
	display:inline-block;
	height:15px !important;
	padding:2px 0 2px 10px;
}


.authbox span {
    background: transparent url('//gallery.ru/include/buttonbg.php?bodyfile=greengradient.gif&bg=ffffff&side=l&h=20&bottomonly=1') no-repeat scroll bottom left;
}

.authboxgold span {
    background: transparent url('//gallery.ru/include/buttonbg.php?bodyfile=goldgradient.gif&bg=ffffff&side=l&h=20&bottomonly=1') no-repeat scroll bottom left;
}

.authboxround span {
    background: transparent url('//gallery.ru/include/buttonbg.php?bodyfile=greengradient.gif&bg=ffffff&side=l&h=19&bottomtoo=1') no-repeat scroll bottom left;
}

.authboxgoldround span {
    background: transparent url('//gallery.ru/include/buttonbg.php?bodyfile=goldgradient.gif&bg=ffffff&side=l&h=19&bottomtoo=1') no-repeat scroll bottom left;
}

.authbox span a,.authboxgold span a,.authboxround span a,.authboxgoldround span a {
	color:#ffffff;
}

.loggedin {
	height:24px;	
} 

.loggedin span {
	height:20px;	
} 

a.btn-gold {
    background: #7f4900 url('//gallery.ru/include/buttonbg.php?bodyfile=goldgradient-40.gif&bg=ffffff&h=40&bottomtoo=1') no-repeat scroll top right;
	display:block;
	height:40px;
	color:#ffffff;
	padding-right: 10px; /* size of right img */
    text-decoration: none;
	text-align:center;
	vertical-align:center;
}

a.btn-gold span {
	display:block;
    background: transparent url('//gallery.ru/include/buttonbg.php?bodyfile=goldgradient-40.gif&bg=ffffff&side=l&h=40&bottomtoo=1') no-repeat;
    padding: 12px 0 0px 10px;
	height:28px; /* 50+12px padding */
	cursor:pointer;
}


a.btn-green {
    background: #7f4900 url('//gallery.ru/include/buttonbg.php?bodyfile=greengradient-40.gif&bg=ffffff&h=40&bottomtoo=1') no-repeat scroll top right;
	display:block;
	height:40px;
	color:#ffffff;
	padding-right: 10px; /* size of right img */
    text-decoration: none;
	text-align:center;
	vertical-align:center;
}

a.btn-green span {
	display:block;
    background: transparent url('//gallery.ru/include/buttonbg.php?bodyfile=greengradient-40.gif&bg=ffffff&side=l&h=40&bottomtoo=1') no-repeat;
    padding: 12px 0 0px 10px;
	height:28px; /* 50+12px padding */
	cursor:pointer;
}



a.smallbtn-orange {
    background: #ff9600 url('//gallery.ru/include/buttonbg.php?body=ff9600&bg=ffffff&h=23&bottomtoo=1') no-repeat scroll top right;
	display:-moz-inline-box;
	display:inline-block;
	height:23px;
	color:#ffffff;
	padding-right: 10px; /* size of right img */
    text-decoration: none;
	text-align:center;
}

a.smallbtn-orange span {
	display:-moz-inline-box;
	display:inline-block;
    background: transparent url('//gallery.ru/include/buttonbg.php?body=ff9600&bg=ffffff&side=l&h=23&bottomtoo=1') no-repeat;
    padding: 5px 0 5px 10px;
	height:13px; /* 13+10px padding */
	cursor:pointer;
}

a.smallbtn-green {
    background: #39c342 url('//gallery.ru/include/buttonbg.php?body=39c342&bg=ffffff&h=23&bottomtoo=1') no-repeat scroll top right;
	display:-moz-inline-box;
	display:inline-block;
	height:23px;
	color:#ffffff;
	padding-right: 10px; /* size of right img */
    text-decoration: none;
	text-align:center;
}

a.smallbtn-green span {
	display:-moz-inline-box;
	display:inline-block;
    background: transparent url('//gallery.ru/include/buttonbg.php?body=39c342&bg=ffffff&side=l&h=23&bottomtoo=1') no-repeat;
    padding: 5px 0 5px 10px;
	height:13px; /* 13+10px padding */
	cursor:pointer;
}


a.smallmenu {
    background: #6C82B5 url('//gallery.ru/include/buttonbg.php?body=6C82B5&bg=ffffff&h=20') no-repeat scroll top right;
	display:-moz-inline-box;
	display:inline-block;
	height:20px;
	color:#ffffff;
    padding-right: 10px; /* size of right img */
    text-decoration: none;
	text-align:center;
	margin-right:1px;
	line-height:6px;
	font-weight:bold;
}

a.smallmenu span {
	display:-moz-inline-box;
	display:inline-block;
    background: transparent url('//gallery.ru/include/buttonbg.php?body=6C82B5&bg=ffffff&side=l&h=20') no-repeat;
    padding: 7px 0 3px 10px;
	height:10px; /* 10 + padding sum */
	color:#ffffff;
	cursor:pointer;
}


a.smallmenu-orange {
    background: #ff9500 url('//gallery.ru/include/buttonbg.php?body=ff9500&bg=ffffff&h=16') no-repeat scroll top right;
	display:-moz-inline-box;
	display:inline-block;
	height:16px;
	color:#ffffff;
    padding-right: 10px; /* size of right img */
    text-decoration: none;
	text-align:center;
	margin-right:1px;
	line-height:6px;
}

a.smallmenu-orange span {
	display:-moz-inline-box;
	display:inline-block;
    background: transparent url('//gallery.ru/include/buttonbg.php?body=ff9500&bg=ffffff&side=l&h=16') no-repeat;
    padding: 5px 0 5px 10px;
	height:6px; /* 10+10px padding */
	color:#ffffff;
	cursor:pointer;
}

.top_menu_bg { /* used for lighting up current photo in scrolls */
    background-color: #6C82B5;
	color:#ffffff;
}



.headumenu ul {line-height:11px;font-weight:normal;list-style:none;padding:0px;margin:0px;z-index:10001;}
.headumenu ul li {float:left;cursor:pointer;font-weight:normal;padding:0px 4px;margin:0px;}

.headmenu {
	    float: left;
}				    
.headmenu .button a {
    background: #5a6d8c url('//gallery.ru/i/header/tab.gif') no-repeat;
    display: block;
	width:85px;
    height:20px; /* 25-5px padding */
    text-decoration: none;
	text-align:center;
	font: bold 11px arial;
	padding-top:5px;
	color:#ffffff;
	margin-right:5px;
}

.headmenu .button2 a {
    display: block;
	text-align:center;
	margin-right:15px;
}

.headmenu .button2 img {
	padding-left:3px;
}


.headmenu ul, .selectmenu ul {line-height:11px;font-weight:normal;list-style:none;padding:5px 0px;margin:0px;z-index:10001;}
.headmenu li, .selectmenu li {float:none;cursor:pointer;font-weight:normal;padding:0px;margin:0px;}
.headmenu li.menu_divider, .selectmenu li.menu_divider {display:block;margin:4px 10px;font-size:1px;line-height:1px;cursor:default;border-bottom:solid 1px #eee;}
.headmenu li a, .selectmenu li a {display:block;color:#3b5998;padding:4px 10px 4px 10px;}
.headmenu li a:hover, .selectmenu li a:hover {text-decoration:none;background:#3b5998;color:white;}

.navigator_menu {
z-index: 10000; /* toppest */
border:1px solid #777777;
background:#f7f7f7;
color:#000000;
position:absolute;
}

/* Buttons */

.raquo {
font-weight:bold;
font-family:Tahoma;
font-size:12px;
}

.horizbtn {
    background: transparent url('//gallery.ru/i/horizbuttonbg.gif');
    font: normal 12px Tahoma;
    height: 21px; /* 18-2=15px top padding */
    text-decoration: none;
	margin-bottom:5px;
	padding-left:10px;

	padding-top:2px;
	color: #ffffff;
}

.horizbtn a {
	color: #ffffff;
	padding-left:5px;
}

.horizbtn img {
	padding-right: 5px;
}

.horizbtngray {
    background: transparent url('//gallery.ru/i/horizbuttonbg-gray.gif');
    font: normal 12px Tahoma;
    height: 21px; /* 18-2=15px top padding */
    text-decoration: none;
	margin-bottom:5px;
	padding-left:10px;

	padding-top:2px;
	color: #ffffff;
}

.horizbtngray a {
	color: #ffffff;
	padding-left:5px;
}

.horizbtngray img {
	padding-right: 5px;
}


.horizbtnlight {
    background: transparent url('//gallery.ru/i/horizbuttonbg.gif');
    font: normal 11px Tahoma;
    height: 16px; /* 18-2=15px top padding */
    text-decoration: none;
	margin-bottom:5px;
	padding-left:10px;
	color: #ffffff;
	padding-top:2px;
	filter:alpha(opacity=80);
	-moz-opacity:.80;
	opacity:.80;
}

.horizbtnorangelight {
    background: transparent url('//gallery.ru/i/horizbuttonbg-orange.gif');
    font: normal 11px Tahoma;
    height: 16px; /* 18-2=15px top padding */
    text-decoration: none;
	margin-bottom:5px;
	padding-left:10px;
	color: #ffffff;
	padding-top:2px;
	filter:alpha(opacity=80);
	-moz-opacity:.80;
	opacity:.80;
}

.horizbtnlight a, .horizbtnorangelight a {
	color: #ffffff;
	padding-left: 5px;
	padding-top: 4px;
}


div.text {
	font-size:13px;
	line-height:20px;
}



/* BODY ELEMENTS */
body, td {font-family: Tahoma, Verdana, Arial, Geneva CY, Sans-Serif;font-size:13px;color:#000000;}
.text { font-family: Tahoma, Verdana, Arial, Geneva CY, Sans-Serif;color:#000000;} 
textarea {font-family: Tahoma, Verdana,Arial, Geneva CY, Sans-Serif;}
body {background: #ffffff;margin:0px;}
.body_bg_data {}
/*.toplogo_s {width:100px;height:30px;background-image:url('//gallery.ru/include/logo.php?button=1&bg=ffffff&111');border:0px;}*/
.toplogo_s, .toplogo_s_main {width:100px;height:30px;border:0px;behavior: url('/include/pngfix.htc');}

.dots_bg {background-image:url('//gallery.ru/include/dots.php?bg=ffffff&dot=777777');}
/*.toplogo_s_main {width:100px;height:30px;background-image:url('//gallery.ru/include/logo.php?button=1&bg=ffffff&111');border:0px;}*/
.toplogo {width:165px;height:50px;background-image:url('//gallery.ru/include/logo.php?bg=ffffff');border:0px;}
.toplogo_main {width:165px;height:50px;background-image:url('//gallery.ru/include/logo.php?bg=ffffff');border:0px;}



html {

	overflow-x:hidden;
	overflow-y:scroll;


}

.table_bg { background: #ffffff; }

div#zoombox { background:#777777;width:240;height:100}

.clear:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clear {display: inline-block;}

/* Hides from IE-mac \*/
* html .clear {height: 1%;}
.clear {display: block;}
/* End hide from IE-mac */







.body_text_col { color: #000000; }


/* Photo, Video comments */

.commentslist { width: 100% }
.commentslist .left0 { width:100%; margin-bottom:5px;clear:both; }
.commentslist .left1 { margin-left:40px; margin-bottom:5px;clear:both; }
.commentslist .left2 { margin-left:80px; margin-bottom:5px;clear:both; }
.commentslist .left3 { margin-left:120px; margin-bottom:5px;clear:both; }
.commentslist .left4 { margin-left:160px; margin-bottom:5px;clear:both; }
.commentslist .left5 { margin-left:200px; margin-bottom:5px;clear:both; }
.commentslist .commdata { border-top:1px solid #c7c7c7;padding-top:1px;padding-bottom:5px;margin-bottom:5px;min-height:75px; white-space:normal;} 
.commentslist .commheader {  background:#f7f7f7; }
.commentslist .commheader .contactlinks { float:right;  }
.commentslist .commheader .uname {font-weight:bold;font-family:Tahoma; padding-left:8px}
.commentslist .commbodypadding { padding-left:8px}

.commentslist .commtext { text-align: left; padding-left:0px; }
.commentslist .date { margin-bottom:5px;font-size:9px; color:#777777 }
.commentslist .commusrimg img { border:0; }
.commentslist .commusrimg { float:left; width:100px; height:75px;}
.commentslist .commusrimg .borderframe { width:98px; height:73px;border:1px solid #000000;  white-space:normal; }
.commentslist .commbody { padding-left: 75px; }
.commentslist .commbodyminiava { padding-left: 50px; }





/* IMAGE FUNCTIONS */

.b-image{float:left;border:1px solid #888;background:#eee;}
.b-image-many{top:6px;left:4px}
.b-image img{display:block;border:4px solid #fff}
.b-image i,.b-image i a{position:relative;top:-3px;left:-3px;display:block;margin:0 -1px -1px 0;background:#eee;border:1px solid #888}


img.icq {
width:18px;
height:18px;
}

.upic {
width:100;
height:75;
border:0;
}

.pagedatapage {
padding:5px;
background:#F2F4F4;
margin-right:5px;
}

.pagedatapagesel {
padding:5px;
background:#C6C6C6;
margin-right:5px;
}

.imagelem {
float:left;
/*background:#F2F4F4;*/
margin-right:4px;margin-bottom:4px;
}

.imageelemheader {
position:relative;background:#ffffff;
font-size:10px;color:#777777;padding:2 5 2 5;margin:3px;
filter:alpha(opacity=80);
-moz-opacity:.80;
opacity:.80;
}

.imageelemqueuetbl {
border:3px solid #f7f7f7;
width:106;
height:72;
}

.imageelemimg {
border:0px;
border:1px solid #c7c7c7;padding:3px;
background:#f7f7f7 url('//gallery.ru/i/pleasewait.gif?v2');
background-position:center;background-repeat:no-repeat;
}

.matriximg {
border:1px solid #c7c7c7;padding:1px;
background:#ffffff url('//gallery.ru/i/pleasewait.gif?v2');
background-position:center;background-repeat:no-repeat;
}


.scrollimg {
width:40;height:40;border:0;
background:#f7f7f7 url('//gallery.ru/i/pleasewait.gif?v2');
background-position:center;background-repeat:no-repeat;
}
.loadingimg {
background: #f7f7f7 url('//gallery.ru/i/pleasewait.gif?v2');
background-position:center;background-repeat:no-repeat;
}

.userimg {
border:0;
background: #f7f7f7 url('//gallery.ru/i/pleasewait.gif?v2');
background-position:center;background-repeat:no-repeat;
}
.blackborder { border: 1px solid #000000; }

/* LINKS */

.udatamenu {
font-size:10px;color:#777777;
}

.udataform {
font-size:10px;color:#ffffff;
}

.imglightfade:hover img{
-moz-opacity: 0.90;opacity: 0.90;
}

.imgfade:hover img{
-moz-opacity: 0.80;opacity: 0.80;border:1px solid #777777;
}

.rubric { font-size:10px;color:#006600; }
.submenu {
font-family:Arial;
font-size:16px;color:#999999;font-weight:bold;
text-decoration:underline;
}

.submenulight {
font-family:Arial;
font-size:16px;color:#ffffff;font-weight:bold;
text-decoration:underline;
}


.submenu2 {
font-size:12px;color:#ffffff;
}

/* TEXT FUNCTIONS */
input.stretch { width: 100%; }

.bold {
font-weight:bold;
}

.11pxdgray {
color:#777777;
}

td.menutd {
color:#000000;
}

/* TABLE CELLS */

.pagebar2 {
border:1px solid #c7c7c7;padding:0px 10px 0px 10px;font-size:10px;text-decoration:none;
}

.pagebar {
border:1px solid #c7c7c7;padding:0px 10px 0px 10px;font-size:15px;font-weight:bold;text-decoration:none;
}

.pagebarcentral2 {
border:1px solid #777777;padding:0px 10px 0px 10px;font-size:10px;text-decoration:none;
}

.pagebarcentral {
border:1px solid #777777;padding:0px 10px 0px 10px;font-size:15px;font-weight:bold;text-decoration:none;
}

.pagebarprev {
	border:1px solid #c7c7c7;padding:0px 10px 0px 10px;font-size:10px;text-decoration:none;
	margin-right:20px;
}
.pagebarprevdisabled {
	color:#777777;padding:1px 11px 1px 11px;font-size:10px;text-decoration:none;
	margin-right:20px;
}



.pagebarnext {
	border:2px solid #c7c7c7;padding:0px 10px 0px 10px;font-size:10px;text-decoration:none;
	margin-left:20px;
}
.pagebarnextdisabled {
	color:#777777;padding:1px 11px 1px 11px;font-size:10px;text-decoration:none;
	margin-left:20px;
}

.pagebarpage {
	border:1px solid #c7c7c7;padding:0px 10px 0px 10px;font-size:10px;text-decoration:none;
}

.pagebarcurpage {
	padding:1px 11px 1px 11px;font-size:10px;text-decoration:none;font-weight:bold;
}

.pagebardots {
	padding:1px 11px 1px 11px;font-size:10px;text-decoration:none;
}



td.mainmenu				{padding-right:10px;padding-left:10px;padding-top:4px;padding-bottom:4px;}

.px10 {
font-size:10px;
color:#E03E3E;
}
a.mainmenu {
font-family:Tahoma;font-size:15px;color:#ffffff;
}

.secondary_bg { background-color:#f7f7f7}
.secondary_bg_s { background:yellow; }

.fivepxsecondaryborder { border: 5px solid #f7f7f7;	filter:alpha(opacity=50);-moz-opacity:.50;opacity:.50; }

.photo_bg  { background-color:#f0f0f0}
.photobullet { background-image: url('//gallery.ru/include/photobullet.php?bg=f0f0f0&bullet=c4c6c4'); }

.matrix_box { background-color:#f0f0f0; border-top:1px solid #f7f7f7; border-bottom:1px solid #f7f7f7; }


.subtext { color:#777777;font-size: 12px; }

input.submit {
	font-size:9px;
}
.subm {
margin-top:5px;
font-size:10px;
}

.biglines {
line-height:25px;
}

a { color:#1637B3; text-decoration:underline; }
a:hover { text-decoration:underline; }

a.body_link_col { color: #1637B3; text-decoration: underline; }

a.sublink {
color:#777777;text-decoration:underline;
}

.blue {
font-size:24px;
font-style:Italic;
}
.bigtext {
font-size:18px;
font-weight:bold;
}

a.menu {
color:#000000;
font-size:10px;
text-decoration:none;
margin:10px;
}

.px10 {
font-size:10px;
font-family: Tahoma;
}

.calendarelement {
font-size:12px;
font-family: Tahoma;
}

.nav {
margin-bottom:7px;
}
.navCell {
    color: #000000;
    border-top: none;
    border-right: none;
    border-left: none;
    border-bottom: 1px solid #666;

}
.navSpacer {
    width:            3px;
    height:           10px;
}
.navNormal, .navDrop, .navActive {
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 9px;
	color:#777777;
    border-top: 1px solid #999;
    border-right: 1px solid #666;
    border-left: 1px solid #999;
    border-bottom: none;
    padding: 3px 7px;
}
.navNormal {
    color:            #000000;
    background-color: #E5E5E5;
}
.navActive{
    font-weight:      bold;
    color:            #000000;
    background-color: #ffffff;
}
.navDrop{
    color: #000000;
    background-color: #E5E5E5;
}
.navNormal a, .navNormal a:active, .navNormal a:visited, .navActive a, .navActive a:active, .navActive a:visited{
	color: #7d7d7d;	
}

.navDrop a, .navDrop a:active, .navDrop a:visited{
    color: #FF0000;
}
.navDrop a:hover{
    color: #FFFFFF;
    background-color: #FF0000;
}
.navNormal a:hover, .navActive a:hover{
    color: #FF0000;
}

.color-field-label {
  text-align: right;
  padding-right: 1em;
}

.color-field { /* used in /user/css.php */
  font-family: "Courier New", Courier, monospace;
  margin-top: 2px;
  margin-bottom: 2px;
}

.colorhover { /* used in /user/css.php */
  border: 1px solid blue;
  cursor: pointer;
  height: 16px;
  width: 20px;
  display: block;
  margin-left:4px;
  margin-top:4px;

}

/* Styles for the color picker */
table.palette {
  font-size: 5px;
  border:1px solid #999999;
  border-collapse:collapse;
  background: #000000;
}

table.palette td a {
  display:block;
  text-decoration:none;
}

table.palette td a div {
  width: 20px;
  height: 20px;
}

table.palette a {
  border: 1px solid #cccccc;
  padding:1px;
}

table.palette a:hover {
  border:1px solid red;
  cursor:pointer;
}

/* image overlays */

#pn_overlay{position:absolute; top:0; left:0; width:100%; height:100%; z-index:998;}
#pn_overlay #prev,#pn_overlay #next{
	width: 35%;
	height: 100%;
	background: transparent url('//gallery.ru/i/trans.gif') no-repeat; /* Trick IE into showing hover */
	outline:none;
	}
#pn_overlay #zoom{
	width: 30%;
	height: 100%;
	background: transparent url('//gallery.ru/i/trans.gif') no-repeat; /* Trick IE into showing hover */
	outline:none;
	}
#pn_overlay #unzoom{
	width: 30%;
	height: 100%;
	background: transparent url('//gallery.ru/i/trans.gif') no-repeat; /* Trick IE into showing hover */
	outline:none;
	}

#pn_overlay #prev { left: 0; float: left; outline: none; -moz-outline: none;}
#pn_overlay #next { right: 0; float: right; outline: none; -moz-outline: none;}
#pn_overlay #zoom { position:absolute;left:35%;outline: none; -moz-outline: none;}
#pn_overlay #unzoom { position:absolute;left:35%;outline: none; -moz-outline: none;}

#pn_overlay #prev:hover, #pn_overlay #prev:visited:hover { background: url('//gallery.ru/i/arr-left-big.gif') left 50% no-repeat; }
#pn_overlay #next:hover, #pn_overlay #next:visited:hover { background: url('//gallery.ru/i/arr-right-big.gif') right 50% no-repeat; }
#pn_overlay #zoom:hover, #pn_overlay #zoom:visited:hover { background: url('//gallery.ru/i/arr-zoom-big.gif') center 50% no-repeat; }
#pn_overlay #unzoom:hover, #pn_overlay #unzoom:visited:hover { background: url('//gallery.ru/i/arr-unzoom-big.gif') center 50% no-repeat; }


/* BNAV*/

.bnav {
	color:#777777;
}

.bnav a {
	color:#777777;
	text-decoration:underline;
	margin-right:10px;
}




.column {
	float:left;
}
		   

/* onphoto cropper */

.cropperWrapper{
	margin:0;
	padding:0;
}

.cropperResize{
	border: 2px dashed #f00;
	cursor: nw-resize;
	background-image:url('//gallery.ru/i/cropper-corner.gif');
	background-position:bottom right;
	background-repeat:no-repeat;
}

.cropperMove{
	cursor:move;
	background-image:url('//gallery.ru/i/trans.gif');
	background-position:center center ;
	background-repeat:repeat;
}

.cropperMask{
	background-color:#000;
	cursor:pointer;
}

.mbf-item { /* cooliris */
	display:none;
}



div#colourbox {
  /* used by Opera 5+, Netscape6+/Mozilla, Konqueror, Safari, OmniWeb 4.5+, iCab, ICEbrowser */
  position: fixed;right: 30px; bottom: 10px;
  padding:2px;
  background:#f7f7f7;
  color:#000000;
  width:107px;
}

.fallback {
	border:1px solid #c7c7c7;background:#f7f7f7;padding:25px;margin:10px 0px;color:#777777;text-align:center;
}

 


#buttontabs {	
/*
	border-bottom: 1px solid #bbb;
	height:18px;
	padding-left:5px;
	margin-bottom:7px;
*/
	margin-bottom:5px;
}
#buttontabs ul {
	margin: 0px;
	list-style: none;
	padding:0px;
}
#buttontabs li {
	float: left;
	cursor:pointer;
	padding:4px 10px 5px;
	background-color:#FFFFFF;
	border:1px solid #DAE2E8;
	margin-right:10px;
}


#buttontabs li:hover {
	background-color:#EDF0F3;
	border:1px solid #C0CAD5;
	color:#36638E;
	text-decoration:none;
}


#buttontabs li.active {
	background-color:#DAE2E8;
	border:1px solid #C0CAD5;
}




#message a, .message-green a, .message-red a {
	color:red;
	text-decoration:underline;
}

.message {
	border:1px solid #c7c7c7;background:#F1F1F1;
	padding:5px;
	margin-bottom:10px;
	color:#777777;
}


.message-green {
	border:1px solid #87C988;background:#D3F2D3;
	padding:5px;
	margin-bottom:10px;
}
.message-red {
	border:1px solid #DE8585;background:#FFBFBF;
	padding:5px;
	margin-bottom:10px;
}

.divider {
  margin: 5px 0px;
  height:0;
  overflow:hidden;
  border-top: solid 1px #E0E0E0;
  border-bottom: solid 1px #fff;
 }																													    


 .highlight {
	background:#ffe985;
	border-bottom:1px solid #fb870a;
 }


blockquote {
	margin: 0px;
	padding-left: 10px;
	border-left:5px solid #c7c7c7;
}


.sup {
	vertical-align: baseline;
	font-size: 0.8em;
	position: relative;
	top: -0.4em;
}

.warning {
	padding:10px;margin-bottom:10px;background:#ffd5d5;border-bottom:5px solid #ff6666;
	color:#000000 !important;
}

.warning a {
	text-decoration:underline;
	color:#777777;
}

.error {
	margin-top:5px;
	color:#a8434d;
}


			



.formbuttons a {
    background: #62ac2c url('//gallery.ru/include/buttonbg.php?gradient=abdc72-62ac2c&border=efcb4a&bg=ffffff&h=20&bottomtoo=1') no-repeat scroll top right;
	display:-moz-inline-box;
	display:inline-block;
	height:20px;
	color:#ffffff;
	
	line-height:9px;
	padding-right: 10px; /* size of right img */
    text-decoration: none;
	text-align:center;
	margin-right:3px;
}

.formbuttons a span {
	display:-moz-inline-box;
	display:inline-block;
    background: transparent url('//gallery.ru/include/buttonbg.php?gradient=abdc72-62ac2c&border=efcb4a&bg=ffffff&side=l&h=20&bottomtoo=1') no-repeat;
    padding: 5px 0 5px 10px;
	height:10px; /* 13+10px padding */
	cursor:pointer;
}



.formbuttons a.active {
    background: #c9372f url('//gallery.ru/include/buttonbg.php?gradient=abdc72-62ac2c&border=efcb4a&bg=ffffff&h=20&bottomtoo=1') no-repeat scroll top right;
	display:-moz-inline-box;
	display:inline-block;
	height:20px;
	color:#ffffff;
	
	line-height:9px;
	padding-right: 10px; /* size of right img */
	font-weight:bold;
    text-decoration: none;
	text-align:center;
	margin-right:3px;
}

.formbuttons a.active span {
	display:-moz-inline-box;
	display:inline-block;
    background: transparent url('//gallery.ru/include/buttonbg.php?gradient=abdc72-62ac2c&border=efcb4a&bg=ffffff&side=l&h=20&bottomtoo=1') no-repeat;
    padding: 5px 0 5px 10px;
	height:10px; /* 13+10px padding */
	cursor:pointer;
}

	  
.formbuttons a.gray {
    background: #c7c7c7 url('//gallery.ru/include/buttonbg.php?gradient=868686-a7a7a7&border=efcb4a&bg=ffffff&h=20&bottomtoo=1') no-repeat scroll top right;
	display:-moz-inline-box;
	display:inline-block;
	height:20px;
	color:#ffffff;
	
	line-height:9px;
	padding-right: 10px; /* size of right img */
    text-decoration: none;
	text-align:center;
	margin-right:3px;
}

.formbuttons a.gray span {
	display:-moz-inline-box;
	display:inline-block;
    background: transparent url('//gallery.ru/include/buttonbg.php?gradient=868686-a7a7a7&border=efcb4a&bg=ffffff&side=l&h=20&bottomtoo=1') no-repeat;
    padding: 5px 0 5px 10px;
	height:10px; /* 13+10px padding */
	cursor:pointer;
}


.snowflake {
	POSITION: absolute; TOP: -50px;
}																		    



table.msgexchange td {
	border-bottom:1px solid #f7f7f7;
	vertical-align:top;
	text-align:left;
}


/* top menu */

.topmenu {
	background:#f1f1f1;
	padding-top:5px;
	border-bottom:1px solid #e1e1e1;
	padding-left:5px;
}


.topmenu ul.tabs {
	margin: 0px;
	list-style: none;
	padding:0px;
}
.topmenu ul.tabs li {

	border-left:1px solid #e1e1e1;
	border-top:1px solid #e1e1e1;
	border-right:1px solid #e1e1e1;
	border-bottom:0;

	background-color: #ffffff;

	margin-left:5px;
	float: left;
	text-align:center;


}

.topmenu ul.tabs li a {
	display: block;
	text-decoration: none;
	padding-left:12px;
	padding-right:12px;
	padding-top:3px;
	padding-bottom:3px;
}

.topmenu ul.tabs li.active {
	margin-bottom: -1px;
	z-index: 1000;
	position: relative;
	padding-bottom:1px; /* to restore overlayed spacing */
}




.underlay {

	background-color:#f7f7f7;
	border-top:1px solid #e1e1e1;
	border-bottom:1px solid #e1e1e1;

	padding:10px;
	margin-bottom:10px;
	position:relative; /* fix ie6 border and bgcolor bug */

}

.underlay.close {
	border-left:1px solid #e1e1e1;
	border-right:1px solid #e1e1e1;
}

.underlay_top {
	padding:0 10px 0 10px;
	margin-bottom:5px;
	font-weight:bold;
	color:#777777;
}

.underlay .row {

	background-color:#ffffff;
	border:1px solid #e1e1e1;
	padding:10px;

}



.miniheader {
}


.miniheader span {
	background-color:#ffffff;
	display:block;
	float:left;
	
	line-height:18px;
	padding-right:6px;
	position:relative;
	z-index:2;
	font-weight:bold;
	color:#333333;
}

.miniheader .divider {
	border-bottom:1px solid #D8DFEA;
	margin:-4px 0 0;
	z-index:0;
	font-size:9px;

}




.formtable {
/*
	border-spacing:1px;
	background:#ffffff;
*/
/*	border:1px solid #C5C5C5;*/
}

.formtable input.text {
	width:300px;
}

.formtable textarea {
	width:300px;
	height:200px;
}


.formtable td {

	padding:2px 5px;
	white-space:normal; /* disabled nowrap because it can contain text fields */

}

.formtable tr.head td {
	background-color:#F1F1EB;
	padding:4px 1px;
	text-align:center;
	color:#000000;
}

.formtable tr.second td {
	background:#efefef;
}

.formtable td.cellname {
	width:120px;
	text-align:right;
	vertical-align:top;
	font-weight:bold;
	color:#666666;
	padding-right:10px;
}

.s {																 
	text-decoration:line-through;
	color:#c7c7c7;
}

.formtable tr.pagebar td {
	text-align:left;
	background:#F0F0F0;
	padding:2px 5px;
}


.formtable tr.line td {
	padding:7px 5px;
}

.formtable tr.line td div {
	background-color:#e1e1e1;
	font-size:1px;
	height:1px;
	line-height:1px;
}



/* side menu */



.sidemenu {
	border-right:1px solid #e1e1e1; /* d7d7d7 */
	background-color:#f7f7f7;
	color:#000000;
}

.sidemenu div {
	border-color:#d7d7d7;
	border-style: solid;
	border-width:0;
	padding:4px 8px;
	cursor:pointer;
}

.sidemenu div.active {
	position:relative; /* ie6 fix bug that is not showing bgcolor */
}


.sidemenu div.notactive:hover {
	background-color:#e8e8e8;
}


.top_block {
	background-color: #ffffff;
}

.body_bg {
	background-color: #ffffff;
}

.bottom_block {
	background-color: #ffffff;
	padding:5px;
}


.inline-block {
	display:-moz-inline-stack; /* for FF2*/
	display:inline-block; /* normal browsers */
	zoom:1; /* for IE (hasLayout true) */
	*display:inline; /* for IE */
}

.hoverpointer:hover { /*используется в моей ленте и в списке городов каталога*/
	background-color:#f7f7f7;
	cursor:pointer;
}

.center {
	margin-left:auto;
	margin-right:auto;
}



.round3 {
	-moz-border-radius: 3px;-webkit-border-radius: 3px;border-radius: 3px;
}

.round5 {
	-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;
}
