* {
	margin: 0;
	padding: 0;
}

html {height: 100%}

body {
	font: 14px/18px Arial, Tahoma, Verdana, sans-serif;
	width: 100%;
	height: 100%;
	background: #111113;
	color: #C9C9C9;
}

/*----------------------------Заголовки уровня 1-4------------------------------*/
h1 {
	font-size: 18px;
	font-family: Arial, Helvetica, sans-serif;
	color: #D2D2D2;
	margin-bottom: 10px;
}

h2, h3, h4 {
	font-size: 16px;
	color: #DBA738;
	font-family: Arial, Helvetica, sans-serif;
	margin-bottom: 10px;
	margin-top: 10px;
}

a {
	color: #A7A6A8;
	outline: none;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

p {margin: 0 0 16px}

img {
	border: none;
}

input {vertical-align: middle}

#container {
	width: 900px;
	margin: 0 auto;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	/*border: 1px solid green;*/
	background: url(img/bg_texture.jpg) no-repeat;
}


/*-----------------Шапка сайта----------------------*/
#header {
	height: 156px;
	/*border: 1px solid magenta;*/
	padding-top: 10px;
}

#header h1 {
	font-size: 38px;
	margin-left: 210px;
	margin-top: -90px;
}

#header h2 {
	font-size: 15px;
	letter-spacing: 1px;
    text-transform: uppercase;
	margin-left: 260px;
	margin-top: 7px;
}

/*-----------------Верхнее меню навигации------------------*/
#top_nav li {
    display: inline;
    text-transform: uppercase;
    margin-left: 10px;
    letter-spacing: 1px;
	background: url(img/square.gif) no-repeat bottom left;
	padding-left: 15px;
}

#top_nav ul {
    float: right;
    margin-top: -166px;
}
    
#top_nav li a {
    color: #AAA;
	font-size: 9px;
}

#top_nav li a:hover {
    color: #fff;
    text-decoration: none;
}

#top_nav .select {
	color: #FFF;
	border-bottom: 2px solid #EAC14E;
	text-decoration: none;
}

/*-----------------Меню навигации------------------*/
#nav {
    width: 900px;
    height: 22px;
    /*border: 1px solid yellow;*/ 
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
	letter-spacing: 1px;
    word-spacing: 25px;
}

#nav li {
    display: inline;
	font-size: 12px; 
}

#nav a {
    color: #AAA;
    text-decoration: none;
}

#nav a:hover {
    color: #FFF;
	border-bottom: 4px solid #EAC14E;
}

#nav .selected {
    color: #FFF;
	border-bottom: 4px solid #EAC14E;
}


/*------------------Контент---------------------*/
#content {
	padding: 10px 10px 45px;
	/*border: 1px solid red;*/
}

#content p {
	text-align: justify;
}

.services li {
	list-style-image: url(img/item.gif);
	margin-left: 30px;
	padding-left: 7px;
}

/*--------------------Фотогалерея------------------*/
#foto {
	padding-top: 10px;
	width: 875px;
	/*border: 1px solid #CCFF33;*/
}

#foto ul {
	margin-left: 17px;
}

#foto li {
	display: inline;
	list-style: none;
	margin: 2px;
	float: left;
}

#foto li img {
    padding: 2px;
	border: 1px solid #666;	
}

#foto li img:hover {
    padding: 2px;
	border: 1px solid #000;	
}
/*--------------------Футер----------------------*/
#footer {
	width: 900px;
	margin: -45px auto 0;
	height: 45px;
	text-align: center;
	color: #AAA;
	font-size: 12px;
    /*border: 1px solid #00CCCC;*/
}
#footer a:hover {
  color: #fff;
  text-decoration: none;
}
.about_me_img {
	margin: 0px 10px 10px 0px;
	float: left;
	border: 1px solid #7E7E7E;
}

.contact {
	font-size: 16px;
	font-weight: bold;
	color: #F5F2DD;
}

.contact a {
	font-size: 16px;
	font-weight: bold;
	color: #F5F2DD;
}

.contact a:hover {
	color: #999;
}