html,body{
	margin:0;
	padding:0;
	font: 10pt Verdana;
}
div#header{
	position:relative; 
	/*height: 105px;*/
	width:1000px; /*100%;*/
	background: #404040;
	color: #FFFFFF
}
.polaroid{ /* блоки для размещения нескольких фотографий пользователей на титульной странице */
	position: absolute;
	background: #ddc;
	z-index: 2;
	border: 1px solid #ddd;
	width: 90px;
}
.polaroid:hover{
	z-index: 5;
	box-shadow: 			1px 1px 22px #999;
		-webkit-box-shadow: 	1px 1px 22px #999;
		-moz-box-shadow: 	1px 1px 22px #999;
}
.polaroid img{
	width: 80px;
	border: 5px solid #fff;
	border-bottom: 20px solid #fff;
}
.polaroid_1{
	left: 5px;
	box-shadow: 			2px 2px 8px #aaa;
		-webkit-box-shadow: 	2px 2px 8px #aaa;
		-moz-box-shadow: 	2px 2px 8px #aaa;
}
.polaroid_1:hover{
	left: 10px;
}
.polaroid_0{
	right: 5px;
	box-shadow: 			-2px 2px 8px #aaa;
		-webkit-box-shadow: 	-2px 2px 8px #aaa;
		-moz-box-shadow: 	-2px 2px 8px #aaa;
}
.polaroid_0:hover{
	right: 10px;
}
.rotate_0{
	transform: 			rotate(-5deg);
		-moz-transform: 	rotate(-5deg);
		-webkit-transform: 	rotate(-5deg);
		-o-transform: 		rotate(-5deg);
		-ms-transform: 		rotate(-5deg);
}
.rotate_1{
	transform: 			rotate(5deg);
		-moz-transform: 	rotate(5deg);
		-webkit-transform: 	rotate(5deg);
		-o-transform: 		rotate(5deg);
		-ms-transform: 		rotate(5deg);
}
.hider, .shower{
	font-size: 10pt;
	width: 90px;
	text-align: center;
	font-weight: bold;
	color: #bbc;
	position: absolute;
	z-index: 2;
	border: 1px solid #ddd;
	border-radius: 8px;
		-webkit-border-radius: 8px;
		-moz-border-radius: 8px;
	box-shadow: 			#888 0px 2px 12px; 
		-webkit-box-shadow: 	#888 0px 2px 12px;
		-moz-box-shadow: 	#888 0px 2px 12px; 
	padding-top: 10px;
	padding-bottom: 0px;
}
.hider:hover, .shower:hover{
	color: #99a;
	cursor: pointer;
}
.hider_left{
	left: 5px;
}
.hider_right{
	right: 5px;
}
.shower{
	padding-top: 0px;
	padding-bottom: 0px;
	bottom: 0;
	display: none;
}
.clover{
	position: absolute;
	margin: 3px 0 0 15px;
	width: 90px;
	height: 95%;
	float: left;
	background-image: url(img/clover_dark.gif);
	background-repeat: no-repeat;
	background-size: contain; /*масштабируем рисунок*/
		-webkit-background-size: contain;
		-o-background-size: contain;
		-moz-background-size: contain;
}
.clover:hover{
	background-image: url(img/clover_lite.gif);
	cursor: pointer;
}
.container{
  	position:relative; 
	/* top: -15px; */
}
.wrapper{
	clear:left;
	width:1000px;
	/*  height: 600px; */
	background: #DDD;
	color: #000;
}
div#footer{
	clear:center;
	width:1000px; 
	background: #999;
	color: #FFFFFF;
	font: 80% serif;
	border-bottom-left-radius: 30px;
	border-bottom-right-radius: 30px;
}
div#counter{
        margin: 10 48%;
	width:80px; 
	background: #999;
	border-radius: 10px;
	color: #FFFFFF;
	font: 80% serif;
}
div.advert{
	position: absolute;
	top: 300px; 
	z-index: 1;
	width: 25px; 
	height: 130px;
	background: #A6A6A6;
	color: #FFFFFF;
	font: 80% serif;
	text-align: center;
}
div.advert_left{
	border-top-right-radius: 20px;
	border-bottom-right-radius: 20px;
	line-height: 1.3;
	left: 0; 
}
div.advert_right{
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
	line-height: 1.2;
	right: 0px; 
}
table.main {
	font: 10pt Tahoma;
	align: center;
	width: 90%;
}
table.all_stats {
	font: 10pt Tahoma;
	align: center;
	width: 90%;    
    background-color: #C0C0C0;     
}
table.all_stats TH {
    background-color: #C0C0C0;     
}
table.all_stats TR {
    background-color: #E6E6E6;     
}
TD.line {	
	width: 1px;
	background-color: #C0C0C0;
	rowSpan: 2;
}
table.reg_table {
	font: 10pt Tahoma;
	background-color: #DDDDDD;
	align: center;	
}
table.reg_table TR {
    text-align: left;   
}
a.t-link:link,  a.t-link:visited
{
 color: #008B8B; /* Цвет текста */  
 padding: 2px; /* Поля вокруг текста */
 text-decoration: none; /* Отменяем подчеркивание у ссылки */
 font-weight:bold;
}
a.t-link:hover 
{
 color: #006B6B; 
 text-decoration: none; /* Отменяем подчеркивание у ссылки */
 padding: 2px;  
 font-weight:bold;
}
a.advert:link,  a.advert:visited
{
 color: #D9D9D9; /* Цвет текста */  
 padding: 5px; /* Поля вокруг текста */
 text-decoration: none; /* Отменяем подчеркивание у ссылки */
 font-weight:bold;
}
a.advert:hover 
{
 color: #404040; 
 text-decoration: none; /* Отменяем подчеркивание у ссылки */
 padding: 5px;  
 font-weight:bold;
}
a.more:link, a.more:visited 
{
 color: #808080; /* Цвет текста */
 text-decoration: none; /* Отменяем подчеркивание у ссылки */
 padding: 2px; /* Поля вокруг текста */
 font-weight:bold;
} 
a.more:hover 
{
 color: #606060;
 text-decoration: none; /* Отменяем подчеркивание у ссылки */
 padding: 2px;
 font-weight:bold;
}
a.arrow:link, a.arrow:visited 
{
 color: #606060; /* Цвет текста */
 text-decoration: none; /* Отменяем подчеркивание у ссылки */
 padding: 1px; /* Поля вокруг текста */
 font-weight:bold; 
} 
a.arrow:hover 
{
 color: #FFFFFF;
 text-decoration: none; /* Отменяем подчеркивание у ссылки */
 padding: 1px;
 font-weight:bold;
}
a.footer-link:link,  a.footer-link:visited
{
 color: #FFFFFF; /* Цвет текста */   
 text-decoration: none; /* Отменяем подчеркивание у ссылки */
}
a.t-link:hover 
{
 color: #000000; 
 text-decoration: none; /* Отменяем подчеркивание у ссылки */
}
H2.grey, H3.grey
{
 color: #606060; 
 text-shadow: 5px 5px 5px #A6A6A6;
}
BLOCKQUOTE
{
 padding: 5px;
 background-color:#D0D0D0;
}
.red_underline 
{
  border-bottom: 1px solid red; 
  border-left: 2px solid red;
}
#radius { width: 650px; }
#radius b { background-color: #ccc; display: block; height: 1px; overflow: hidden; font-size:1px; }
#text { padding:5px; background-color: #ccc; }
.r1 { margin: 0 10px; }
.r2 { margin: 0 7px; }
.r3 { margin: 0 5px; }
.r4 { margin: 0 4px; }
.r5 { margin: 0 3px; }
.r6 { margin: 0 2px; }
.r7 { margin: 0 1px; }

.rounded, .rounded_left, .rounded_right, .rounded_quote { 
 /* border: 1px solid #999 !important; */
 padding: 5px 5px;
 text-align: justify; 
 width: 900px;
 -webkit-border-radius: 8px;
 -moz-border-radius: 8px;
 border-radius: 8px;
 -webkit-box-shadow: #666 0px 2px 12px;
 -moz-box-shadow: #666 0px 2px 12px;
 box-shadow: #666 0px 2px 12px;
 background: #EEEEEE;
 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#EEEEEE), to(#CCCCCC));
 background: -webkit-linear-gradient(#EEEEEE, #CCCCCC);
 background: -moz-linear-gradient(#EEEEEE, #CCCCCC);
 background: -ms-linear-gradient(#EEEEEE, #CCCCCC);
 background: -o-linear-gradient(#EEEEEE, #CCCCCC);
 background: linear-gradient(#EEEEEE, #CCCCCC);
 -pie-background: linear-gradient(#EEEEEE, #CCCCCC); 
 behavior: url(pie.htc);
}
.rounded_left { 
  position: relative;
  top: -10px;
  margin-bottom: 10px;
  float: left; /* сдвигаем влево */  
}
.rounded_right { 
  position: relative;
  top: -10px;
  left: 0px;
  margin-bottom: 10px;
  float: left; /* сдвигаем влево */
}
.rounded_quote { 
  position: relative;
  top: 15px;
  width: 850px;
  left: 20px;
  margin-bottom: 30px;
  float: left; /* сдвигаем влево */  
}
.jQtooltip {
  position: relative;
  cursor: help;
  border-bottom: 1px dotted;
}
.jQtooltip div {
  display: none;
  position: absolute;
  bottom: -1px;
  left: -1px;
  z-index: 1000;
  width: 160px; /* 190 */
  padding: 8px 12px;
  text-align: left;
  font-size: 12px;
  line-height: 16px;
  color: #606060; /* #000 */
  box-shadow: 0 3px 5px #404040; /* #C4C4C4 */
  border: 1px solid #606060; /* #DBB779 */
  background: #D9D9D9; /* #FFF6BD */
  border-radius: 2px;
}
.jQtooltip.mini {
  display: inline-block;
  vertical-align: bottom;
  font-size: 11px;
  width: 14px;
  line-height: 13px;
  text-align: center;
  margin-left: 2px;
  top: -4px;
  color: #606060; /* #9A4D18 */
  border: 1px solid #606060; 
  background: #D9D9D9;
  border-radius: 2px;
}
table.stats {
	font: 10pt Tahoma;
	align: center;
	background-color: #C0C0C0;  
}
table.stats TH {
	background-color: #C0C0C0;     
}
table.stats TR {
	background-color: #E6E6E6;     
}
.styling:focus{ /* это для красивых текстовых полей ввода */
  outline:none;
  border-color:rgba(100,100,100, .75);
  border-radius:3px;
  -moz-border-radius:3px;
  -webkit-border-radius:3px;
  box-shadow:0 0 8px rgba(100,100,100, .5);
  -moz-box-shadow:0 0 8px rgba(100,100,100, .5);
  -webkit-box-shadow:0 0 8px rgba(100,100,100,.5);
}
.styling{
  border:1px solid #aaa;
  border-radius:3px;
  -moz-border-radius:3px;
  -webkit-border-radius:3px;
  transition:border linear .2s,box-shadow linear .2s;
  -moz-transition:border linear .2s,-moz-box-shadow linear .2s;
  -webkit-transition:border linear .2s,-webkit-box-shadow linear .2s;
}
.beautiful_select{ /* это для стилизации поля SELECT формы при регистрации */
 border: 2px solid #ccc;
 opacity:.7;
}

/*	--------------------------------------------------
	Reveal Modals
	-------------------------------------------------- */
		
	.reveal-modal-bg { 
		position: fixed; 
		height: 100%;
		width: 100%;
		background: #000;
		background: rgba(0,0,0,.8);
		z-index: 100;
		display: none;
		top: 0;
		left: 0; 
		}
	
	.reveal-modal {
		visibility: hidden;
		top: 300px; 
		left: 50%;
		margin-left: -300px;
		width: 520px;
		background: #eee url(modal-gloss.png) no-repeat -200px -80px;
		position: absolute;
		z-index: 101;
		padding: 30px 40px 34px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		border-radius: 5px;
		-moz-box-shadow: 0 0 10px rgba(0,0,0,.4);
		-webkit-box-shadow: 0 0 10px rgba(0,0,0,.4);
		-box-shadow: 0 0 10px rgba(0,0,0,.4);
		}
		
	.reveal-modal.small 		{ width: 200px; margin-left: -140px;}
	.reveal-modal.medium 		{ width: 400px; margin-left: -240px;}
	.reveal-modal.large 		{ width: 600px; margin-left: -340px;}
	.reveal-modal.xlarge 		{ width: 800px; margin-left: -440px;}
	
	.reveal-modal .close-reveal-modal {
		font-size: 22px;
		line-height: .5;
		position: absolute;
		top: 8px;
		right: 11px;
		color: #aaa;
		text-shadow: 0 -1px 1px rbga(0,0,0,.6);
		font-weight: bold;
		cursor: pointer;
		} 
	/*
		
	NOTES
	
	Close button entity is &#215;
	
	Example markup
	
	<div id="myModal" class="reveal-modal">
		<h2>Awesome. I have it.</h2>
		<p class="lead">Your couch.  I it's mine.</p>
		<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ultrices aliquet placerat. Duis pulvinar orci et nisi euismod vitae tempus lorem consectetur. Duis at magna quis turpis mattis venenatis eget id diam. </p>
		<a class="close-reveal-modal">&#215;</a>
	</div>
	
	*/

#errordiv { 
 position: absolute; 
 width: 100%;
 left: 0px; 
 top: 200px; 
 z-index: 100; 
 //background:#E116E6; 
 //border: solid 2px #999999; 
 display: none;
}

#errordiv2 { 
 position: relative; 
 margin: 0 auto;
 width: 995px; 
 background:#E6E6E6; 
 border: solid 2px #999999; 
}

.parent_ {
    z-index: 9999;
    /*background-color: #333; */
/*	background: radial-gradient(#000, #333);*/
/*	background: linear-gradient(to top, #000, #333);*/
/*	background: linear-gradient(to top, white, grey, black);*/
/*	background: radial-gradient(black, white);*/
	background: linear-gradient(to top, white, black);
    opacity: 0.3; 
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center; 
    overflow: auto;   
}
.child_{
    /*background: #60a839;*/
    display: block;
    border: none;
}
