@CHARSET "UTF-8";

html, body{
    margin: 0;
    padding: 0;
    background: #141414;
    font-family: Tahoma;
    width: 100%;
    min-width: 1000px;
}

p {
	margin: 0;
    padding: 0;
}

/* Первая строка сайта */
.f1{color: #727272; font: 10pt Tahoma; display: inline;}
.f2{position: absolute; top: 0; left: 0; height: 20px; background:#00000; color: #727272; width: 30%; margin: 0 70%; text-align: right;}
.f2 a,a.active,a.visited,a.link,a.hover{color: #727272; font: 10pt Tahoma; text-decoration: underline;}

/* Стиль для вкрапления тэгов <h1..5> в текст */ 
.f3{color: #000000; font-size: 100%; font-family: Tahoma; display: inline;}
.f3 a,a.active,a.visited,a.link{color: #e6a501; text-decoration:none;}
.f3 a.hover{color: #e6a501; text-decoration:underline;}

#maincontainer{overflow: hidden;}
#topsection{position: relative;width: 100%;height: 349px; /*Height of top section*/background: url('images/header_bg.jpg') 0 0 repeat-x;}
#topsection1{position: relative;height: 349px;background: url('images/header_left.jpg') 0 0 no-repeat;}
#topsection2{float: right;height: 181px;width: 508px;background: url('images/header_right1.jpg') 0 0 no-repeat;}
#topsection3{clear: right;float: right;height: 168px;width: 469px;background: url('images/header_right2.jpg') 0 100% no-repeat;}
#mainwrapper{position: relative;overflow: hidden;width: 100%;}
#contentwrapper{float: left;width: 100%;background: url('images/content_bg_right.jpg') 100% 0 no-repeat;}
#contentcolumn{margin-right: 408px; /*Set right margin to RightColumnWidth*/background: url('images/content_bg_left.jpg') 0 0 no-repeat;}
#contentblock{margin-left: 42px;padding-bottom: 50px;background: #000;}
#photoalbums{background: #1f1f1f url('images/left_left.png') 0 0 no-repeat;padding-bottom: 1px;color: #afe5e3;}
#photoalbums1{background: url('images/left_right.png') 100% 0 repeat-y;}
#photoalbums2{padding: 15px;background:  url('images/left_right_top.jpg') 100% 0 no-repeat;}
#rightcolumn{float: left;width: 408px; /*Width of right column in pixels*/margin-left: -408px; /*Set left margin to -(RightColumnWidth) */background: url('images/right_bg.png') 0 0 repeat-y;color: #afe5e3;}
#rightcolumn1{height: 100%;margin-right: 42px;padding: 15px;background: url('images/right_top_bg.jpg') 0 0 no-repeat;}

#footer{position: relative;width: 100%;height: 200px;}
#footer1{float: left;height: 200px;width: 474px;background: url('images/footer_left.jpg') 0 100% no-repeat;}
#footer2{float: right;height: 200px;width: 350px;background: url('images/footer_right.png') 100% 100% no-repeat;}
#photoalbums3{width: 100%;padding-bottom: 1px;}
.album{width: 50%;vertical-align: top;padding: 15px;}
.album img{float: left;margin: 0 10px 10px 0;}
.album p{margin: 0;}
#all_albums{float: right;z-index: 100;height: 30px;padding: 15px 25px 0 0;font-size: 14px;color: #afe5e3;text-decoration: none;}

/* Second pages */
#bh, #bh2, #bb, #bf{position:relative;width:100%;}
#bh{height:267px;background: url('images/sc_blackpoint.png');}
#bh2{height:68px;background: url('images/sc_blackpoint.png');}
#bb{z-index:0;background: url('images/sc_blackpoint.png');}
#bf{height:117px;position:absolute;bottom:0;background: url('images/sc_blackpoint.png');}

.left{position:relative;height:100%;z-index:2;}
.wide{position:absolute;width:100%;height:100%;top:0;}
.wide .content{position:relative;height:100%;}
.wide .content a{color:#e6a501;text-decoration:none;}
.wide .content h1{text-align:center;color:#e6a501;text-decoration:none;}

#bh .left{width:714px;/*background: url('images/sc_header11.jpg') 0 0 no-repeat;*/}
#bh .center{position:absolute;width:437px;height:153px;top:0;left:500px;z-index:10;background: url('images/sc_logo.jpg') 0 0 no-repeat;}
#bh .wide .content{margin-left:714px;background: url('images/sc_header12.jpg') 0 0 no-repeat;}

#bh2 .left{width:729px;background: url('images/sc_header21.jpg') 0 0 no-repeat;}
#bh2 .wide .content{margin-left:729px;color:white;padding-top:15px;}
#bh2 .wide .content a{color:white;text-decoration:none;}

#bb >.wide{position:relative;width:100%;overflow:hidden;padding-bottom:117px;}
#bb >.wide >.content{margin-left:5%;height:auto;color:#e6a501;}

#bf .left{width:5%;}
#bf .wide .content{margin:0 200px 0 5%;background: url('images/sc_footer_bg.gif') repeat-x 0 0;padding-top:20px;}
#bf .right{position:absolute;right:0;top:0;width:346px;height:117px;background: url('images/sc_footer.jpg') 0 0 no-repeat;}
/* /Second pages */

#footeradv{position:relative;width:100%;text-align:center;color:#e6a501;}
#footeradv a{color:#e6a501;text-decoration:none;}

/*** paginator ***/
/*
.listing {border:PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: 5px; OVERFLOW: hidden; WIDTH: 100%; LINE-HEIGHT: 30px; PADDING-TOP: 5px; HEIGHT: 30px; TEXT-ALIGN: center}
.listing LI {PADDING-RIGHT: 0px; DISPLAY: inline; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px}
.listing .gray {COLOR: #f7f7f7}
.listing .center A {BORDER-RIGHT: #c7c7c7 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #c7c7c7 1px solid; PADDING-LEFT: 5px; FONT-WEIGHT: 100; BACKGROUND: #f7f7f7; PADDING-BOTTOM: 2px; MARGIN: 0px 1px; BORDER-LEFT: #c7c7c7 1px solid; COLOR: #000; PADDING-TOP: 2px; BORDER-BOTTOM: #c7c7c7 1px solid; TEXT-DECORATION: none}
.listing .center A:hover {BORDER-RIGHT: #666 1px solid; BORDER-TOP: #666 1px solid; BACKGROUND: #ccc; BORDER-LEFT: #666 1px solid; BORDER-BOTTOM: #666 1px solid}
.listing .center A.active {BORDER-RIGHT: #666 1px solid; BORDER-TOP: #666 1px solid; BACKGROUND: #666; BORDER-LEFT: #666 1px solid; COLOR: #fff; BORDER-BOTTOM: #666 1px solid}
*/
.listing {width:100%;text-align:center;}
.listing a{color:#e6a501;text-decoration:none;}
.listing h1{text-align:center;color:#e6a501;text-decoration:none;}
.listing a.active{color:#e6a501;text-decoration:none;font-size : 130%;font-weight : bold;}
/*** /paginator ***/

div.ss{
    color : Black;
    font-size : 1%;
    background: url('images/sc_blackpoint.png');
}

div.ss a{
    color : Black;
    font-size : 1%;
    text-decoration : none;
}

/* style for user gallery */

.gal_floats {margin: -1em 0 0 -2em;
			 position: relative;
			 //display: inline-block;
			 clear: both;}
			 
.gal_floats:after
{
content: '';
display: block;
clear: both;
}
.gal_floats .gal_left
{
position: relative;
float: left;


display: inline;


/*overflow: hidden;*/


margin: 1em 0 0 2em;


width: 14em;
min-width: 250px;
-width: 250px;
}
.gal_floats .gal_left .gal_r
{
position: absolute;
top: 0;
left: 0;
width: 100%;

}
.gal_floats .gal_left .gal_min
{
margin: 0 0 250px 0;

height: 15em;

width: 250px;

}

.gal_r {text-align:center;}
/*.gal_left { background-color:#F2F2F2;}*/

/* ********** NEW GALLERY ********** */

.cont-gal-item {width: 260px;
				*width:260px;
    			/*display: -moz-inline-stack;*/
    			display:inline-block;
    			margin: 0 14px 20px 0;
    			min-height:250px;
				_height:expression(document.body.clientWidth > 250 ? "100%" : "250px");
    			vertical-align:middle;
				text-align:center;
    			*border:1px  solid #fff;
   				*padding: 5px 5px 0;
				zoom:1;
    			*display:inline;}
				
/*.cont-gal-item p {margin: 0;padding: 0 3px;}*/
/* .cont-gal-item a {
	display:table-cell;
	vertical-align:middle;
	text-align:center;
}
.gal-name {
	display:table-cell;
	vertical-align:middle;
	text-align:center;
}
div.gal-pic .pic {padding: 0px;
	display:table-cell;
	vertical-align:middle;
	text-align:center;
}

div.gal-pic .pic a {
	*position: relative;
	*border:1px  solid #fff;
    min-height: 160px;
    height: 100%;
    display:table-cell;
	vertical-align:middle;
	text-align:center;
    *width: 260px;
    overflow: visible; */
	/*padding: 0px;*/ 
	
    }
.brd_gal {padding: 3px;
		  border: 1px solid #CCC8D0;
		  background: transparent url(images/shadow.gif) bottom right no-repeat;}
	
/*.shadow_pic
	{background: transparent url(images/shadow.gif) bottom right no-repeat;
	position: relative;
	left: 1px;
	top: 1px;
	margin-bottom:15px;
	padding: 0 0 15px 0;
	text-align: center;
	}*/

/* div.gal-pic { */
    /*display: table-row;*/
	/* display:table-cell;
	position: relative;
    *margin:0;
    *padding: 0;
    vertical-align:middle;
	text-align:center;
	min-height:250px;
	}

div.gal-name {
	display:table-cell;
	position: relative;
   * margin:0;
    *padding: 0;
    vertical-align:middle;
}

div.gal-pic img {
	display:table-cell;
	position: relative;
    max-height: 250px;
    margin: 0 auto;
	vertical-align: middle;
    max-width: 250px;
    *display: block;
    *height: 250px;
	
	
}

div.gal-name {width: 100%;} */
td { 
text-align: center;
vertical-align: middle; }
.cont-gal-item, .gal-pic, .pic { position: relative; }

/* ********** END GALLERY ********* */
.entry {
	position: relative;
	float: left;
	display: block;
	/*width: 600px;*/
	margin: 15px 0px;
	
}

.entry p {
	padding: 0px 65px 0 20px;
}

.entry img {
	margin: 5px 10px 10px 5px;
	border: none;
}

.cont {
	position: relative;
	float: left;
	display: block;
	margin: 15px 0px;

}

.cont img {
	margin: 5px 10px 10px 5px;
	border: none;
}

.cont p {
	padding: 0px 65px 0 20px;
}
