body, div, h1, h2, h3, h4, p, ul, li, dl, dt, dd, img, form, fieldset, blockquote {
    margin: 0px;
    padding: 0px;
    border: 0px;
}
body {
    background: #CDCC9E url(/design/bg.jpg) top center repeat-x;
    text-align: center;
}
p, div, li,  h1, h2, h3, h4, td {
    font-family: "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
    font-size: 13px;
    color: #000;
    line-height: 18px;
}
h1, h2, h3, h4, p.tagline, legend, dt {
	font-family: Georgia, "Times New Roman", Times, serif;
}
p, h1, h2, h3, h4, #content ul {
	margin-bottom: 15px;
}
			
a img, :link img, :visited img {
    border: none
}
a:link, a:visited {
    color: #DB4105;
    text-decoration: underline;
}
a:hover, a:active {
    color: #F7916A;
    text-decoration: underline;
}
li {
    list-style: none;
}
div.clear {
    clear: both;
    overflow: hidden;
    height: 1px;
}

/* ----------------------------------- */
/* Глобальные
/* ----------------------------------- */

#top, #menu-wrapper, #main, #bottom, #footer {
	width: 780px;
	margin: 0 auto;
	text-align: left;
}

/* ----------------------------------- */
/* ВЕРХ
/* ----------------------------------- */
#top {
	height: 106px;
	background: url(/design/top.jpg) 0 0 no-repeat;
}
	#top #logo {
		margin-top: 12px;
		margin-left: 40px;
	}

/* ----------------------------------- */
/* МЕНЮ
/* ----------------------------------- */
#menu {
	background: url(/design/menu.jpg) 0 0 no-repeat;
	width: 780px;		/* Общая ширина картинок */ 
	height: 52px;		/* Высота кнопок */
}
#menu span {
	display: none;
}
#menu li, #menu a {
	height: 52px;		/* Все кнопки одинаковой высоты */ 
	display: block;
}
#menu li {
	float: left;
	list-style: none;		
}
* html #menu li { display: inline; } /* Баг IE/Win двойного поля */

/* margin-left - расстояние до первой кнопки от края */ 
/* width - ширина для каждой кнопки  */ 
#menu-home 		{ width: 129px; margin-left: 68px; }
#menu-portfolio { width: 157px; }
#menu-services 	{ width: 129px; }
#menu-contact 	{ width: 141px; }

/* Переменные значения для "width" (накапливающаяся сумма для вышеперечисленных) */ 
#menu-home a:hover, #home #menu-home a:visited 					{ background: transparent url(/design/menu.jpg) -68px -52px no-repeat; }
#menu-portfolio a:hover, #portfolio #menu-portfolio a:visited 	{ background: transparent url(/design/menu.jpg) -197px -52px no-repeat; }
#menu-services a:hover, #services #menu-services a:visited 		{ background: transparent url(/design/menu.jpg) -354px -52px no-repeat; }
#menu-contact a:hover, #contact #menu-contact a:visited 		{ background: transparent url(/design/menu.jpg) -483px -52px no-repeat; }

/* ----------------------------------- */
/* ГЛАВНЫЙ БЛОК
/* ----------------------------------- */

#main-wrapper {
	background: transparent url(/design/main-bottom.jpg) left bottom repeat-x;
	padding-bottom: 32px;
}
#side {
	width: 267px;
	float: right;
}
#header, #content {
	width: 513px;
	float: left;
}
	#header {
		height: 87px;
	}	
		#header h1, #header p {
			font-family: Georgia, "Times New Roman", Times, serif;
		}
		#header h1 {
			font-size: 20px;
			color: #DB4105;
			margin: 25px 40px 10px 40px;
		}
			.sub #header h1 {
				margin-top: 0px;
			}
		#header p, #header ul {
			margin: 0 40px;
		}
		#header p {
			font-size: 12px;
			color: #33332D;
			font-weight: bold;
		}
		#header ul {
			margin-bottom: 8px;
		}
			#header li {
				display: inline;
				margin-right: 5px;
				font-size: 11px;
				border-left: 1px solid #B79450;
				padding-left: 10px;
			}
				#header li.first {
					border: none;
					padding: 0;
				}
			#header li a {
				text-decoration: none;
			}

/* ----------------------------------- */
/* БОКОВАЯ ПАНЕЛЬ
/* ----------------------------------- */
#side {
	background: transparent url(/design/home.jpg) 0 0 no-repeat;
	padding-top: 480px;
}


#side ul, #side dl, #quick-contact {
	margin-left: 40px;
	margin-right: 40px;
}
	#quick-contact label input, #quick-contact label select, #quick-contact label textarea {
		width: 190px;
		background: #FFF7E3;
		padding: 2px;
		border: 1px solid #D4AB65;
		margin-bottom: 2px;
	}
	#quick-contact p {
		font-size: 11px;
		line-height: 14px;
		color: #987231;
	}
	
	#side dt {
		font-weight: bold;
		color: #DB4105;
		font-size: 16px;
		margin-bottom: 15px;
	}
	#side dd {
		border-bottom: 1px solid #A8A66F;
		padding-bottom: 3px;
		margin-bottom: 3px;
	}
	#side dd a {
		text-decoration: none;
		display: block;
	}
	#side dd.selected {
		font-weight: bold;
	}

/* ----------------------------------- */
/* КОНТЕНТ
/* ----------------------------------- */
#content {
	background: url(/design/content.jpg) 0 0 repeat-y;
}
#content-top {
	background: url(/design/content-top.jpg) 0 0 no-repeat;
}
#content-bottom {
	background: url(/design/content-bottom.jpg) left bottom no-repeat;
	padding: 35px 0 23px 0;
}
	
	#content p, #content h2, #content h3, #content ul, #content table {
		margin-left: 40px;
		margin-right: 40px;
	}
	#content h2 {
		background: transparent url(/design/h2.gif) 0 0 no-repeat;
		padding-left: 30px;
		border-bottom: 1px solid #CCCC9F;
		padding-bottom: 3px;
	}
	#content li {
		margin-left: 15px;
		padding-left: 8px;
		background: transparent url(/design/arrow-red.gif) 0 5px no-repeat;
	}

/* ----------------------------------- */
/* НИЗ
/* ----------------------------------- */
#bottom-wrapper {
	background: #8D9EB1 url(/design/bottom.jpg) center top repeat-x;
}
#bottom {
	width: 760px;
	padding-bottom: 25px;
}
	.intro {
		float: left;
		width: 190px;
	}
	.intro h1 {
		height: 110px;
		text-indent: -3000px;
		margin: 0;
	}
	#intro-design h1 		{ background: url(/design/intro-design.jpg) 0 0 no-repeat; }
	#intro-development h1 	{ background: url(/design/intro-development.jpg) 0 0 no-repeat; }
	#intro-marketing h1 	{ background: url(/design/intro-marketing.jpg) 0 0 no-repeat; }
	#intro-other h1 		{ background: url(/design/intro-other.jpg) 0 0 no-repeat; }
	
	.intro p, .intro ul {
		margin: 10px 20px 0 0;
	}
	.intro p, .intro li {
		font-size: 11px;
		line-height: 14px;
		color: #33332d;
	}
	.intro li {
		padding-left: 6px;
		background: transparent url(/design/arrow-red.gif) 0 5px no-repeat;
	}
	#intro-other p {
		margin: 10px 10px 0 10px;
	}
	#intro-other li {
		margin-left: 10px;
	}

/* ----------------------------------- */
/* ПОДВАЛ
/* ----------------------------------- */
#footer-wrapper {
	background: #33332D url(/design/footer.jpg) 0 0 repeat-x;
	padding: 25px 0 50px 0; 
}
	#footer {
		width: 740px;
	}
		#footer p, #footer label {
			color: #FFF;
			font-size: 12px;
		}
	
	#footer-menu, .footer-block {
		float: left;
		display: inline;
	}
	#footer-menu {
		width: 535px;
	}
		#footer-menu p {
			margin: 0;
		}
		#footer-menu a:link, #footer-menu a:visited {
			text-decoration: none;
			color: #8E9FB2;
		}
		#footer-menu a:hover, #footer-menu a:active {
			text-decoration: none;
			color: #C2CFDE;
		}
		p#copyright {
			font-size: 11px;
		}
		p#description, p#links {
			margin-top: 20px;
			font-size: 10px;
			color: #666;
			line-height: 12px;
		}
		#footer p#links a {
			color: #666;
			text-decoration: underline;
		}
		
	.footer-block {
		/* border-left: 1px solid #5F5F5A; */
		height: 150px;
		width: 185px;
	}
	.footer-block h2, .footer-block p, .footer-block form {
		margin-left: 15px;
		margin-right: 10px;
	}
	.footer-block h2 {
		color: #8E9FB2;
		margin-bottom: 5px;
	}
	.footer-block p, .footer-block label, .footer-block input {
		font-size: 11px;
	}
	
	.footer-block label input {
		width: 100%;
		margin-bottom: 5px;
	}

/* ----------------------------------- */
/* ДОП, СТРАНИЦЫ
/* ----------------------------------- */
.sub #bottom {
	padding-top: 25px;
}

/* ----------------------------------- */
/* ПОРТФОЛИО
/* ----------------------------------- */
.project-intro {
	width: 180px;
	margin-right: 10px;
	float: left;
	display: inline;
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 3px solid #8295AB;
}
	.project-intro a img {
		border: 2px solid #8295AB;
		padding: 3px;
	}
	.project-intro a:hover img {
		border: 2px solid #FFF;
	}
	.project-intro p {
		text-align: center;
		margin: 0;
	}
	.project-intro p span {
		font-size: 11px;
		display: block;
	}
	.project-intro a {
		color: #33332D;
		font-weight: bold;
		text-decoration: none;
	}
	.project-intro a span {
		color: #FFF;
	}



/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> установки для thickbox <<<---------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
*{padding: 0; margin: 0;}
html, body {
min-height: 100%;
height: auto !important;
height: 100%
}
/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> стили для ссылок и текстов thickbox <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_window {
  font: 12px Arial, Helvetica, sans-serif;
  color: #333333;
}
#TB_secondLine {
  font: 10px Arial, Helvetica, sans-serif;
  color:#666666;
}
#TB_window a:link {color: #666666;}
#TB_window a:visited {color: #666666;}
#TB_window a:hover {color: #000;}
#TB_window a:active {color: #666666;}
#TB_window a:focus{color: #666666;}
/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox установки <<<--------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_overlay {
  position: absolute;
  z-index:100;
  top: 0px;
  left: 0px;
  background-color:#000;
  filter:alpha(opacity=60);
  -moz-opacity: 0.6;
  opacity: 0.6;
}
#TB_window {
  position: absolute;
  background: #ffffff;
  z-index: 102;
  color:#000000;
  display:none;
  border: 4px solid #525252;
  text-align:left;
}
#TB_window img {
  display:block;
  margin: 15px 0 0 15px;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #666;
  border-left: 1px solid #666;
}
#TB_caption{
  height:25px;
  padding:7px 30px 10px 25px;
  float:left;
}
#TB_closeWindow{
  height:25px;
  padding:11px 25px 10px 0;
  float:right;
}
#TB_closeAjaxWindow{
  padding:5px 10px 7px 0;
  margin-bottom:1px;
  text-align:right;
  float:right;
}
#TB_ajaxWindowTitle{
  float:left;
  padding:7px 0 5px 10px;
  margin-bottom:1px;
}
#TB_title{
  background-color:#e8e8e8;
  height:27px;
}
#TB_ajaxContent{
  clear:both;
  padding:2px 15px 15px 15px;
  overflow:auto;
  text-align:left;
  line-height:1.4em;
}
#TB_ajaxContent p{
  padding:5px 0px 5px 0px;
}
#TB_load{
  position: absolute;
  display:none;
  height:100px;
  width:100px;
  z-index:101;
}
#TB_HideSelect{
  z-index:99;
  position:absolute;
  top: 0;
  left: 0;
  background-color:#fff;
  border:none;
  filter:alpha(opacity=0);
  -moz-opacity: 0;
  opacity: 0;
}
#TB_iframeContent{
  clear:both;
  border:none;
  margin-bottom:-1px;
  margin-top:1px;
  _margin-bottom:1px;
}