html, body {
	height: 100%;	
}

body { 
	font: .75em Verdana, sans-serif;
	line-height: 1.4em;
	color: #333; 
	background:#ececec url("/i/bg.png"); 
	width:100%; 
	height:100%; 
	margin:0; padding:0;
}

h1,h2,h3,h4,h5,h6 {	
	font-family: Georgia, Serif;
	font-style: italic;
	font-weight: lighter;
	color: #fff;
	margin: 10px 0;
	line-height: 1.2em;
}

h1 {
	font-size: 2em;
}

h1 span{
	font-family: tahoma;	
	font-style: normal;
	font-size: .7em;
}

h2 {
	font-size: 1.8em;
}

h3 {
	font-size: 1.6em;
	
}

h4 {
	font-size: 1.4em;
}

p{
	margin: 10px 0;
	text-indent: 0em;
}

acronym {cursor:help; border-bottom:1px dotted #333; font-style: normal;}
sup, sub {  vertical-align: middle;  position: relative;  font-size: 75%; }
sup { bottom: 0.5em; }
sub { top: 0.5em; }
small {font-size:.9em;}
big {font-size:1.2em;}


a{
	color: #006594;
	text-decoration: none;	
}

a:hover{
	color: #fff;
	text-decoration: underline;	
}

em{	
	font-family: Georgia, Serif;	
} 

.clear:after {content: "."; display: block; height: 0;  clear: both; visibility: hidden;}

.glagne_pic{
	width:   900px;  
	height:  470px;
	clear: both;
	cursor: pointer;        
}

.glagne_pic img{
	height:  470px;  
    width:   900px;  
 
}


/*макет*/
#pageLayout{
	min-height: 100%;
	min-width: 1000px;
	position: relative;	
}

* html #pageLayout {
	height: 100%;
	width: 100%;
}

/* заголовок */
#header {
	display: block;
	clear: both;		
}

#header h1{
	float: right;
	font-size: 3em;
	color:#363636;
	margin: 0;
	padding: 0;
}


#header h1 a{		
	color:#363636;
	text-decoration: none;	
}

#header h1 a:hover{		
	color:#363636;
	text-decoration: none;	
}

#header span{
	float: right;
	clear: both;
	margin: 0 0 10px 0;		
}

/* меню */
#header #menu{
	margin: 15px 0 0 0;
	float: left;
	font-family: Georgia;
	font-style: italic;
	font-size: 1.3em;
}

#header #menu li {
	float: left;
	margin: 0 25px 0 0;	
}

#header #menu li a{
	color: #363636;
	text-decoration: underline;	
	display: block;	
}

#header #menu li a:hover{
	color: #fff;
	text-decoration: underline;	
}

#header #menu .index{
	background: url('/i/menu_index.png') no-repeat;
	width: 105px;
	height: 56px;
	color: #fff;	
	position: relative;
	display: block;
	top: -20px;	
	margin: -2px -5px -50px -3px;
	padding: 22px 0 0 48px;	
	text-decoration: none;			
}

#header #menu .gallery{
	background: url('/i/menu_gallery.png') no-repeat;
	width: 105px;
	height: 57px;
	color: #fff;	
	position: relative;
	display: block;
	top: -20px;	
	margin: -2px -5px -50px -3px;
	padding: 22px 0 0 48px;
	text-decoration: none;				
}

#header #menu .info{
	background: url('/i/menu_info.png') no-repeat;
	width: 129px;
	height: 56px;
	color: #fff;	
	position: relative;
	display: block;
	top: -20px;	
	margin: -2px -5px -50px -3px;	
	padding: 22px 0 0 48px;				
	text-decoration: none;
}


#header #menu .contacts{
	background: url('/i/menu_contacts.png') no-repeat;
	width: 117px;
	height: 35px;
	color: #fff;	
	position: relative;
	display: block;
	top: -20px;	
	margin: -2px -5px -50px -3px;
	padding: 22px 0 0 48px;
	text-decoration: none;				
}

#header #menu .index:hover,
#header #menu .gallery:hover,
#header #menu .info:hover,
#header #menu .contacts:hover{
	text-decoration: none;
}

/* контент */
#wrapper {	
	width: 900px;
	height: 647px;		
	position: absolute;	
	top: 50%;
	left: 50%;
	margin: -300px 0 0 -450px;	
}

.textcontent{
	height:  450px;  
    width:   850px;
    display: block;
    background: url("/i/bg_inner.png");
    color: #989898;
    clear: both;
    padding: 10px 25px;
    font-size: .9em;
	        
}

.textcontent h1{
	padding: 15px 0 0 0;
}

.textcontent ul{
	list-style: disc;	
	margin: 25px 0;
}

.textcontent ul li {
	margin:  10px 0 10px 20px;	
}

/* галерея */
.gallerycontent{
	height:  420px;  
    width:   850px;
    display: block;
    background: url("/i/bg_inner.png");
    color: #fff;
    clear: both;
    padding: 25px;
	        
}

.gallerycontent .album{
	float: left;
	margin: -5px 0 5px 90px;
}

.gallerycontent .album a img{
	border: 1px solid #6d6d6d;
	padding: 2px;
	width: 150px;
	height: 150px;
}

.gallerycontent .album a img:hover{
	border: 1px solid #fff;
	padding: 2px;
}

.gallerycontent .photoitem{
	float: left;
	margin: 10px 25px 0px 10px;
	width: 100px;
}


.gallerycontent .photoitem a img{
	border: 1px solid #6d6d6d;
	padding: 2px;
	width: 100px;
	position: relative;
	display: block;
	z-index: 100;
}

.gallerycontent .photoitem a img:hover{
	border: 1px solid #fff;
	padding: 2px;
	width: 150px;
	position: relative;	
	margin: -25px 0 -25px -25px;	
	display: block;
	z-index: 1000;
	background: #363636;
}

.gallerycontent .note{
	font-size: .9em;
	color: #ddd;
	padding: 10px;	
}

h1.ellipsis{
	font-size: 1.4em;
	text-align: center;		
 	width: 150px;
   	overflow: hidden;
   	white-space: nowrap;
   	text-overflow: ellipsis;
   	-o-text-overflow: ellipsis;   	
  	color: #fff; 	 
}	

/*
h1.ellipsis:hover{   
	width: 150px;
	white-space: normal;	
	font-size: 1.4em;	
	background: #777;
	position: relative;	   			   		           
}
*/
 
.gallerycontent .album h1 a{
	color: #fff;
	text-decoration: none;		
}

.gallerycontent .album h1 a:hover{	
	text-decoration: underline;
}

.gallerycontent .page {
	clear: both;		
	position: absolute;
	font-size: 1.4em;
	bottom: 120px;	
	text-align: center;
	width: 100%;
}


.gallerycontent .page span{	
	font-size: .6em;
}

.gallerycontent .page a{
	text-decoration: none;
	margin: 0 3px;	
}

#footer{
	clear: both;		
	position: relative;
	z-index: 10000000;
	font-size: .9em;
	color: #777;
	margin: 0 auto;
}


#footer .left{
	padding-top: 15px;
	float: left;
	width: 50%;
}

#footer .right{
	padding-top: 0px;
	float: right;
	width: 40%;
	text-align: right;
}

#footer .right a span{
	color: #006594;
}

#footer .right img {
	vertical-align: middle;
}

#footer .right a{	
	color: #777;
	text-decoration: none;
}

/* скролл */

#dhtmlgoodies_scrolldiv
{
	/* The total width of the scrolling div including scrollbar */
	height: 410px;
	width: 485px; /* The height of the scrolling div */
}
#scrolldiv_parentContainer
{
	width: 480px; /* Width of the scrolling text */
	height: 410px;
	margin-right: 18px;
	float: left;
	overflow: hidden;
	position: relative;
}
/* CSS for the scrolling content */
#scrolldiv_content
{
	position: relative;
	padding-bottom:10px;
	line-height: 130%;
}
/* The scrollbar slider */
#scrolldiv_slider
{
	width: 10px;
	height: 410px;
	background-color:#434343;
	float: left;
}
/* The scrollbar (The bar between the up and down arrow ) */
#scrolldiv_scrollbar
{
	width: 9px;
	height: 370px; /* Total height - 40 pixels */
	position: relative;
}
/* The scrollbar handle */
#scrolldiv_theScroll
{
	width: 9px;
	height: 55px;
	background: url(/i/scroll.jpg) no-repeat top left;
	position: absolute;
	top: 0px;
	left: 0px;
	cursor: pointer;
}
/* Scroll buttons(The up and down arrows) */
#scrolldiv_scrollUp, #scrolldiv_scrollDown
{
	width: 9px;
	height: 9px;
	background-color: #363636;
	text-align: center;
	line-height: 9px;
	cursor: pointer;
	margin-bottom:4px;
}

#scrolldiv_content h1{	
	padding: 0;
}

/* форма обратной связи */
#onlineform{
	
	display: block;
	border: 1px dotted #444;
	color: #e0e0e0;
	background: #777;
	padding: 10px;
	position: absolute;
	width: 830px;
	bottom: 130px;
}
#onlineform form{
	width: 380px;
	display: block;
	margin: 0 auto;
}

.message{
	background: #FFFFD4;
	border: 1px dotted #FF5500;
	padding: 3px 20px;
	color: #333;	
	position: absolute;
	top: 65px;
	left: 5px;
	width:848px;		
}
	
