html{
    height: 100%;
    margin:0;
    padding:0;
}
#container {
    min-height: 100%;
    height:100%;
}
* html #container {
    height:100%
}

body {
	color:#000000;
	font-family:"Times New Roman", Times, serif;
	font-size:16px;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	background-color:#FFFFFF;
	height: 100%;
	background-image: url("img/bg.jpg");
	background-attachment: fixed;
	background-repeat: repeat-x;
	background-position: center;
}

table{
border:0px;
border-collapse:collapse;
}

table td{
padding:0px;
}

p{padding:0 15px;
text-indent:15px;
margin:15px 0px;
text-align:justify;}

a:link {
	color:#FF0000;
	font-size:16px;
}

a:visited {
	color:#FF0000;
	font-size:16px;
}

a:active {
	color:#FF0000;
	font-size:16px;
}

h1{padding:0px 50px;
margin:10px 0px 10px 0;
text-align:center;
color:#003300;}

h2{padding:0px 50px;
margin:10px 0px 10px 0;
text-align:center;
color:#003300;}

h3{padding:0px 50px;
margin:10px 0px 10px 0;
text-align:center;
color:#003300;}

img{border:0;}

.top{
margin:0 auto;
width:990px;
height:25px;
background:#ffe5e5;
padding:5px;
text-align:center;
}

.main_text{
margin:0 auto;
width:990px;
height:50px;
padding:5px;
text-indent:10px;
}

.ramka{
background-image:url(img/ramka.png);
width:1000px;
height:750px;
margin:0 auto;
z-index:1;
position:relative;
}

#heart1{
position:absolute;
top:10px;
right:10px;
background-image:url(img/heart1.png);
z-index:3;
width:309px;
height:283px;
}

#heart2{
position:absolute;
top:10px;
right:10px;
background-image:url(img/heart2.png);
z-index:2;
width:309px;
height:283px;
}

#heart_main{
position:absolute;
top:10px;
right:10px;
z-index:3;
width:247px;
height:226px;
}

#mess{
	background: url(img/mess.png) repeat-x;
	background-position:bottom;
	background-color:#fdffc6;
	width: 200px;
	position: absolute;
	top: 185px;
	right: 70px;
	text-align: center;
	padding: 5px 5px 100px 5px;
	font-style: normal;
	z-index: 4;
	display: none;
}

.foto_v_ramke{
width:1000px;
height:750px;
margin:0 auto;
z-index:1;
position:relative;
}

#name{
position:absolute;
top:10px;
left:15px;
z-index:3;
width:100px;
height:20px;
color:#FFFFFF;
font-style:italic;
font-size:24px;
font-weight:bold;
}

#write a{
position:absolute;
top:10px;
right:10px;
z-index:3;
width:250px;
height:20px;
color:#FFFFFF;
font-style:italic;
font-size:24px;
font-weight:bold;
}

#get_val{
position:absolute;
top:10px;
left:350px;
z-index:3;
width:300px;
height:20px;
color:#FFFFFF;
font-style:italic;
font-size:24px;
font-weight:bold;
}

#write_blok{
position:relative;
width:990px;
margin:0 auto;
text-align:left;
}

#write_heart{
background-image:url(img/heart1.png);
width:309px;
height:283px;
float:left;
}

#write_forma{
text-align:justify;
}

#write_mess{
width:300px;
height:200px;
background-color:#fdffc6;
}

.posle_write{
margin:0 auto;
width:990px;
height:20px;
padding:5px;
text-indent:10px;
}

.google{
margin:0 auto;
background:#ffe5e5;
padding:5px;
text-align:center;
}

#fotocash{
position:absolute;
top: 660px;
left:50px;
width:468px;
height:60px;
z-index:50;
}

#fotocash_top{
position:absolute;
top: 40px;
left:50px;
width:468px;
height:60px;
z-index:50;
}