* {margin: 0; padding: 0;}
html, body {height: 100%;}

#wrapper{
	background-image: url(/media/i/bg_footer_vred.png);
	background-repeat: repeat;
	background-position: left top;
	width: 100%;
	height: 10%;
	position: fixed;
	bottom: 0px;
	left: 0px;
	overflow: hidden;
	z-index: 10000;

	font-family: "Times New Roman", Times, serif; 
	font-size: 30px;
	color: Gray;
	word-spacing : 0.3em;
	letter-spacing: 8px;
	line-height: 40px;			
}
#wrapper .inner{
	position: absolute;
	overflow: hidden;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	text-align: center;
}

#wrapper p{
    position: relative;
	width: 100%;
    opacity: 0.5;
	margin: 0px;
	padding: 0px;
}

* html #wrapper{
    position: absolute;
    opacity: 0.5;
    filter: alpha(opacity=50);
    top: expression( ( 0 - wrapper.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}


/***********************/
#adult{
	background-image: url(/media/i/ages_fon_bg.png);
	background-repeat: repeat;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0px;
	left: 0px;
	z-index: 100;
	overflow: hidden;
}

 .inner2{
	font-family: "Times New Roman", Times, serif; 
	border: 1px solid Maroon;
	background-image: url(/media/i/bg_footer_vred_.png);
	background-repeat: repeat;
	background-position: left top;
	position: absolute;
    top: 150px;
    left: 25%;
    right: 25%;
	/*bottom: 0;*/
	width: 49%;
	min-width: 400px;
	height: 250px;
	padding: 10px;
	z-index: 200;
}

* html #adult{
    position: absolute;
    filter: alpha(opacity=50);	
	height: expression(document.getElementById('main').offsetHeight + 'px');
	/*margin-bottom: -30000px;*/
}


/** html  .inner2{
	top: expression( ( 150 +  adult.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}*/

#attention {
	display: block;
	color: #383838;
	margin-top: 10px;
	text-align:center;
	font-size:16px;
}

 .inner2 a {color: #990000; text-decoration: underline; margin-top: 15px;font-size:12px; display: block;}