/*  
Theme Name:  IP Consulting
Theme URI: http://ipconsulting.eu/
Description: Custom WP-theme for ipconsulting.eu
Version: 1.5
Author: Iv Draganov
Author URI: http://druuf.com/

*/

/* =RESET DEFAULT BROWSER STYLES= */

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td,hr,img { 
	margin:0;
	padding:0;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,img { 
	border:0;
}
address,caption,cite,code,dfn,th,var {
	font-style:normal;
	font-weight:normal;
}
caption,th {
	text-align:left;
}
h1,h2,h3,h4,h5,h6 {
	font-size:100%;
	font-weight:normal;
}
q:before,q:after {
	content:'';
}
abbr,acronym { 
	border:0; /* clear browser style */
	cursor: help; /* and set custom style */
	border-bottom: 1px dashed #999;
}

html { min-height: 100%; margin-bottom: 1px; }


/* =TYPOGRAPHY, COLORS & COMMON FORMATTING
================================================== */
/* ==Body copy== */
body {
	font: 12px/1.5em Verdana, Tahoma, Geneva, Arial, Sans-Serif;
	background-color: #fff;
	color: #111;
	text-align: left;
	}
#content .gallery, 
#content p { 
	margin-bottom: 1.5em; 
	}
	#content p:last-child { 
		margin-bottom: 5em; 
		}
		
#comments p {
	font-size: 1em;
	}

/* ==Headings== */

h1, h2, h3, h4, h5, h6 {
	font-family: 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', Times, Serif;
	font-weight: bold;
	overflow: visible;
	}
h1 {
	font-size:200%;
	}
	
h1.entry-title {
	font-size: 2em; /* 24px */ 
	line-height: 1.3em; /* 36px */ 
	margin: 0 0 1em -10px; 
	padding: 0 10px 0;
	background: transparent url('images/entry-title-bgnd.gif') repeat-x bottom left;
	}
#aside h3 {
	font: 1.3333em/1.125em 'Trebuchet MS', Verdana, Tahoma, Geneva, Arial, Sans-Serif;
	color: #333;
	padding: 0 25px; 
	margin: 0 -25px 0.75em;
	background: transparent url('images/sidebar-h2-bgnd.gif') no-repeat left 50%;
	border: none;
	line-height: 2em;
	}
h2 {
	font-size: 1.5em; /* 18px */ 
	line-height: 1.2em; /* 18px */ 
	margin-bottom: 1em;
	border-bottom: 1px solid #ddd;
	}
h3 {
	font-size: 1.3333em; /* 16px */ 
	line-height: 1.125em; /* 18px */ 
	margin-top: 0.7em; 
	margin-bottom: 0.325em;
	border-bottom: 1px solid #efefef;
	padding-right: 25%;
	}
	#content h3 { margin-right: 10%; }
	#comments h3 { border-bottom: none; }
	
/* ==Lists== */
ul, ol {
	margin-bottom: 1.8em;
	list-style-position: outside;
	}
ul ul, ul ol, ol ol, ol ul {
	margin: 0.6em 0;
	}
#content li {
	margin: 0 0 0.6em;
	}
	
#comments li, 
#comments ol { 
	margin: 0; 
	list-style-position: outside; 
	}
	
#aside ul ul,
#aside ol ul { 
	margin: 0 0 2.5em; 
	}
	
ul ul, ol ol, ul ol, ol ul { margin-left: 1.2em; }
	
form li, 
.menu li,
.widget_rss li,
#aside ul li {
	list-style: none outside; 
	}

/* ===Sitemap lists=== */	
body.page-85 .hentry ul li, body.page-87 .hentry ul li, body.page-86 .hentry ul li, body.page-199 .hentry ul li, body.page-534 .hentry ul li, body.page-566 .hentry ul li { font-weight: bold; }
body.page-85 .hentry ul li li, body.page-87 .hentry ul li li, body.page-86 .hentry ul li li, body.page-199 .hentry ul li li, body.page-534 .hentry ul li li, body.page-566 .hentry ul li li { font-weight: normal; }

/* ==Links== */
#mainnav a:link {
	color:#000;
	text-decoration:none;
	}
#mainnav a:visited {
	color:#000;
	text-decoration:none;
	}
#mainnav a:hover, 
#mainnav li .current-menu-item a:hover, 
#mainnav li .current-page-ancestor a:hover,
#mainnav a:active, 
#mainnav li .current-menu-item a:active, 
#mainnav li .current-page-ancestor a:active {
	color:#500 !important;
	text-decoration:none;
	}
#main a, 
#breadcrumb a, 
#breadcrumb a:visited, 
#breadcrumb a:active {
	color:#950000;
	text-decoration:none;
	}
#main a:visited {
	color:#500;
	text-decoration:none;
	}
#main a:hover, 
#breadcrumb a:hover {
	text-decoration:underline;
	}
#main a:active {
	color:#500;
	text-decoration:underline;
	}
#footer a:link, 
#topnav a:link {
	color:#666;
	text-decoration:underline;
	}
#footer a:visited, 
#topnav a:visited {
	color:#666;
	text-decoration:underline;
	}
#footer a:hover, 
#topnav a:hover,
#footer a:active, 
#topnav a:active {
	color:#666;
	text-decoration:none;
	}
/* #aside li > a, 
.widget_rss li > a.rsswidget,
#content a.readmore { 
	padding-right: 14px; 
	background: transparent url('images/icons/icon-sidebar-arrow-right.png') no-repeat right 65%;
	}
#content a.readmore { 
	margin-top: 5px;
	display: block; 
	text-align: right; 
	width: 200px; margin-left: 416px; 
	background: transparent url('images/icons/icon-arrow-right.png') no-repeat right 65%;
	}
 */	
	
/* ==Various== */
#topnav, 
#language-switch, 
#footer, 
#breadcrumb { 
	font: 0.8em/1.5em Verdana, Tahoma, Geneva, Arial, Sans-Serif; 
	color: #666;
	}
	
#pagetitle { color: #333; }

.edit a {
	font-size: 1.2em;
	font-weight: bold;
	text-decoration: none !important;
	padding: 0.25em 0.5em;
	background-color: yellow;
	border: 2px solid #FFA500;
	-moz-border-radius: 5px;
	}
.edit a:focus, .edit a:hover, .edit a:active {
	border: 2px solid #aa0000 !important;
	text-decoration: none !important;
	}

/* =STRUCTURE
================================================== */
#mainnav .children { 
	min-width: 380px;
	list-style: none; 
	-moz-column-count:2; 
	-moz-column-gap: 0;
	-webkit-column-count:2; 
	-webkit-column-gap: 0;
	column-count:2; 
	column-gap: 0;
	}
	
/* faux columns on front page */
#home #content .children {
	max-height: 410px;
	overflow: hidden;
}
#home.ff2 #content .children,
#home.ie7 #content .children,
#home.ie8 #content .children {
	max-height: none;
}
#home #content .children li {
	position: relative;
	max-width: 290px;
	list-style: none;
	left: 0;
	}
#home #content .children li:nth-child(n+11) {
    left: 295px;
    top: -330px;
	}
#home.site-id-3 #content .children li:nth-child(n+12), 
#home.site-id-2 #content .children li:nth-child(n+12) {
    top: -363px;
	}
#home.site-id-3 #content .children li:nth-child(11), 
#home.site-id-2 #content .children li:nth-child(11) {
    left: auto;
    top: auto;
	}

#branding, 
#intro-text, 
#content, 
#aside, 
#footer { 
	padding: 0 30px; 
	}
	
/* ==Wrapper== */
#wrapper { 
	background: #fff url('images/body-bgnd.png') repeat-y center top;
	width: 1000px;
	margin: 0 auto;
	}
/* ==Header== */
#header {
	padding:20px 0 0;
	margin:0 auto;
	width:950px;
	background: #fff url('images/top-bgnd.png') repeat-x top left;
	position: relative;
	}
	/* ===Branding=== */
	#site-title {
		padding:0;
		}
	#site-title a {
		display:block;
		height:100px;
		width:316px;
		overflow: hidden;
		}
		

/* ==Access== */
/* ==Mainnav== */
/* ===First level=== */
#mainnav {
	font-family: 'Trebuchet MS', Verdana, Tahoma, Arial, Sans-serif;
	position: relative;
	float: right;
	font-size: 14px;
	font-weight: bold;
	height:2em;
	line-height:2em;
	margin:0 20px 0;
	padding:0;
	z-index: 999;
	}
#mainnav > li {
	float:left;
	padding:0;
	margin:0 12px;
	}
#mainnav a {
	display:block;
	float:left;
	}

#mainnav > .current-page-ancestor, 
#mainnav > .current-menu-item {
	background: transparent url('images/mainnav-hover-item-bgnd.gif') repeat-x top center;
	}
#mainnav > li:hover {
	background: transparent url('images/mainnav-hover-item-bgnd.gif') repeat-x top center;
	}
#mainnav > .menu-item:hover > a {
	background: transparent url('images/mainnav-hover-parent-item-bgnd.gif') no-repeat bottom center;
	}
#mainnav > .current-page-ancestor > a, 
#mainnav > .current-menu-item > a {
	color:#000;
	background: transparent url('images/mainnav-current-item-bgnd.gif') no-repeat bottom center;
	}
	
/* ===second level=== */
#mainnav > li ul {
	position: absolute;
	top: 28px;
	left: -999em;
	line-height: 1.5em;
	border-bottom: 1px solid #999;
	margin: 0;
}

#mainnav > li li { 
	margin: 0; 
	padding: 0; 
	background-color: #F1E9CB; 
	overflow: hidden;
	border-right: 1px solid #aeaeae;
	width: 195px;
	}	
	#mainnav > li li:first-child {
		padding-top: 5px;
		}
	
#mainnav > li li > a {
	background: transparent none !important;
	border-top: 1px solid #FCFAF4;
	width: 175px;
	padding: 4px 10px;
	}
	
#mainnav > li li, 
#mainnav > li ul, 
#mainnav > li li > a { 
	clear: both; 
	margin:0; 
	font-size: 12px !important; 
	background-image: none !important; 
	}
	
#mainnav > li:hover ul {
	left: auto;
}

#mainnav > li li a:hover {
	background-color: #FCFAF4 !important;
	}
	
#mainnav > li:first-child ul { display: none; }

#mainnav > li .current-menu-item, 
#mainnav > li .current-page-ancestor {
	background: #fff none !important; 
	}
#mainnav > li .current-menu-item a, 
#mainnav > li .current-page-ancestor a {
	font-size: 12px;
	background: transparent none;
	}

/* ===Language-Switch=== */
	#language-switch {
		position: absolute;
		top: 10px;
		right:30px;
		}
		#language-switch { float: right; }
		#language-switch li {
			float: left;
			margin: 0 0 0 8px;
			}
		#language-switch a { 
			display: block; 
			width: 16px;
			text-indent: -10000px;
			outline: none !important;
			}
/* ===Topnav=== */
	#topnav {
		position: absolute;
		top: 10px;
		right:195px;
		}
		#topnav { float: right; }
		#topnav li {
			float: left;
			padding: 0 0 0 16px;
			}
		#topnav .sitemap { background: transparent url('images/icons/icon-sitemap.png') no-repeat 2px 50%; }
/* ===searchform=== */
#searchform {
	position: absolute;
	top: 30px;
	right: 30px;
	}
	#s { width: 150px; }

/* ===Intro-text=== */
#intro-text {
	position: relative;
	height: 217px;
	background: #112b00 url('images/bgnd/home-header-bgnd.png') no-repeat right top;
	font: 12px/1.5em Verdana, Tahoma, Geneva, Arial, Sans-Serif;
	color: #f8f3e3;
	z-index: 900;
	overflow: hidden;
	}
	#intro-text .entry-title {
		font: 1.6667em/1.6364em 'Trebuchet MS', Verdana, Tahoma, Geneva, Arial, Sans-Serif;
		color: #f1e9cb;
		padding-top: 0.8182em; 
		margin: 0 0 1em;
		display: block;
		}
	#intro-text .countries { 
		position: absolute;
		bottom: 0;
		height: 18px;
		line-height: 18px;
		margin-bottom: 2px;
		cursor: default;
		}
		#intro-text .countries li {
			float: left;
			list-style: none outside;
			font-size: 10px;
			margin-right: 1em;
			letter-spacing: -0.02em;
			}
	/* ===bgnd-header=== */
	#intro-text p, 
	#intro-text .entry-title { 
		width: 485px; 
		}
	
	#home #intro-text { background-image: url('images/bgnd/home-header-bgnd.png'); }
	body.search #intro-text, 
	#page.page-id-85 #intro-text, 
	#page.page-id-534 #intro-text, 
	#page.page-id-566 #intro-text, 
	#page.page-id-199 #intro-text, 
	#page.page-id-87 #intro-text, 
	#page.page-id-86 #intro-text 
		{ background-image: url('images/bgnd/sitemap-header-bgnd.png'); }
	
	#about-us #intro-text { background-image: url('images/bgnd/about-us-header-bgnd.png'); }
	
	#services #intro-text { background-image: url('images/bgnd/services-header-bgnd.png'); }
	
	#services.page-id-13 #intro-text, 
	#services.page-id-499 #intro-text, 
	#services.page-id-571 #intro-text, 
	#services.page-id-93 #intro-text, 
	#services.page-id-70 #intro-text, 
	#services.page-id-177 #intro-text 
		{ background-image: url('images/bgnd/design-header-bgnd.png'); }
	#services.page-id-14 #intro-text, 
	#services.page-id-500 #intro-text, 
	#services.page-id-572 #intro-text, 
	#services.page-id-94 #intro-text, 
	#services.page-id-71 #intro-text, 
	#services.page-id-178 #intro-text 
		{ background-image: url('images/bgnd/trademark-header-bgnd.png'); }
	#services.page-id-501 #intro-text, 
	#services.page-id-573 #intro-text, 
	#services.page-id-15 #intro-text, 
	#services.page-id-95 #intro-text, 
	#services.page-id-72 #intro-text, 
	#services.page-id-179 #intro-text 
		{ background-image: url('images/bgnd/geographical-header-bgnd.png'); }
	#services.page-id-16 #intro-text, 
	#services.page-id-502 #intro-text, 
	#services.page-id-574 #intro-text, 
	#services.page-id-96 #intro-text, 
	#services.page-id-73 #intro-text, 
	#services.page-id-180 #intro-text 
		{ background-image: url('images/bgnd/industrial-header-bgnd.png'); }
	#services.page-id-17 #intro-text, 
	#services.page-id-503 #intro-text, 
	#services.page-id-575 #intro-text, 
	#services.page-id-74 #intro-text, 
	#services.page-id-181 #intro-text, 
	#services.page-id-98 #intro-text 
		{ background-image: url('images/bgnd/copyright-header-bgnd.png'); }
	#services.page-id-18 #intro-text, 
	#services.page-id-504 #intro-text, 
	#services.page-id-576 #intro-text, 
	#services.page-id-75 #intro-text, 
	#services.page-id-182 #intro-text, 
	#services.page-id-44 #intro-text 
		{ background-image: url('images/bgnd/plants-header-bgnd.png'); }
	#services.page-id-20 #intro-text, 
	#services.page-id-517 #intro-text, 
	#services.page-id-589 #intro-text, 
	#services.page-id-78 #intro-text 
	#services.page-id-184 #intro-text 
	#services.page-id-47 #intro-text 
		{ background-image: url('images/bgnd/prevodi-header-bgnd.png'); }
	#services.page-id-125 #intro-text, 
	#services.page-id-497 #intro-text, 
	#services.page-id-570 #intro-text, 
	#services.page-id-204 #intro-text, 
	#services.page-id-176 #intro-text, 
	#services.page-id-153 #intro-text 
		{ background-image: url('images/bgnd/research-header-bgnd.png'); }
	#services.page-id-140 #intro-text, 
	#services.page-id-486 #intro-text, 
	#services.page-id-536 #intro-text 
		{ background-image: url('images/bgnd/forms-header-bgnd.png'); }
	#services.page-id-141 #intro-text, 
	#services.page-id-187#intro-text, 
	#services.page-id-537 #intro-text 
		{ background-image: url('images/bgnd/forms-header-bgnd.png'); }
	#services.page-id-532 #intro-text, 
	#services.page-id-142 #intro-text, 
	#services.page-id-142 #intro-text 
		{ background-image: url('images/bgnd/online-header-bgnd.png'); }
	#services.page-id-143 #intro-text, 
	#services.page-id-533 #intro-text, 
	#services.page-id-538 #intro-text 
		{ background-image: url('images/bgnd/forms-header-bgnd.png'); }
	#services.page-id-221 #intro-text, 
	#services.page-id-505 #intro-text, 
	#services.page-id-577 #intro-text, 
	#services.page-id-539 #intro-text, 
	#services.page-id-364 #intro-text, 
	#services.page-id-473 #intro-text 
		{ background-image: url('images/bgnd/model-header-bgnd.png'); }
	#services.page-id-223 #intro-text, 
	#services.page-id-506 #intro-text, 
	#services.page-id-578 #intro-text, 
	#services.page-id-540 #intro-text, 
	#services.page-id-344 #intro-text, 
	#services.page-id-474 #intro-text 
		{ background-image: url('images/bgnd/servicemark-header-bgnd.png'); }
	#services.page-id-224 #intro-text, 
	#services.page-id-507 #intro-text, 
	#services.page-id-579 #intro-text, 
	#services.page-id-541 #intro-text, 
	#services.page-id-346 #intro-text, 
	#services.page-id-475 #intro-text 
		{ background-image: url('images/bgnd/kolektivnimarki-header-bgnd.png'); }
	#services.page-id-225 #intro-text,
	#services.page-id-508 #intro-text,
	#services.page-id-580 #intro-text,
	#services.page-id-542 #intro-text,
	#services.page-id-348 #intro-text,
	#services.page-id-476 #intro-text
		{ background-image: url('images/bgnd/ctm-header-bgnd.png'); }
	#services.page-id-226 #intro-text, 
	#services.page-id-509 #intro-text, 
	#services.page-id-581 #intro-text, 
	#services.page-id-543 #intro-text, 
	#services.page-id-350 #intro-text, 
	#services.page-id-477 #intro-text 
		{ background-image: url('images/bgnd/ipmanage-header-bgnd.png'); }
	#services.page-id-228 #intro-text, 
	#services.page-id-511 #intro-text, 
	#services.page-id-582 #intro-text, 
	#services.page-id-544 #intro-text, 
	#services.page-id-354 #intro-text, 
	#services.page-id-468 #intro-text 
		{ background-image: url('images/bgnd/aktivi-header-bgnd.png'); }
	#services.page-id-229 #intro-text, 
	#services.page-id-512 #intro-text, 
	#services.page-id-583 #intro-text, 
	#services.page-id-545 #intro-text, 
	#services.page-id-356 #intro-text, 
	#services.page-id-469 #intro-text 
		{ background-image: url('images/bgnd/users-header-bgnd.png'); }
	#services.page-id-227 #intro-text, 
	#services.page-id-510 #intro-text, 
	#services.page-id-584 #intro-text, 
	#services.page-id-546 #intro-text, 
	#services.page-id-352 #intro-text, 
	#services.page-id-467 #intro-text 
		{ background-image: url('images/bgnd/outsource-header-bgnd.png'); }
	#services.page-id-230 #intro-text, 
	#services.page-id-513 #intro-text, 
	#services.page-id-585 #intro-text, 
	#services.page-id-547 #intro-text, 
	#services.page-id-358 #intro-text, 
	#services.page-id-478 #intro-text 
		{ background-image: url('images/bgnd/neloyalna-header-bgnd.png'); }
	#services.page-id-231 #intro-text, 
	#services.page-id-514 #intro-text, 
	#services.page-id-586 #intro-text, 
	#services.page-id-548 #intro-text, 
	#services.page-id-360 #intro-text, 
	#services.page-id-466 #intro-text 
		{ background-image: url('images/bgnd/border-header-bgnd.png'); }
	#services.page-id-232 #intro-text, 
	#services.page-id-515 #intro-text, 
	#services.page-id-602 #intro-text, 
	#services.page-id-549 #intro-text, 
	#services.page-id-362 #intro-text, 
	#services.page-id-479 #intro-text 
		{ background-image: url('images/bgnd/management-header-bgnd.png'); }
	#services.page-id-463 #intro-text, 
	#services.page-id-535 #intro-text, 
	#services.page-id-587 #intro-text, 
	#services.page-id-550 #intro-text, 
	#services.page-id-484 #intro-text, 
	#services.page-id-480 #intro-text 
		{ background-image: url('images/bgnd/hr-header-bgnd.png'); }
	#services.page-id-464 #intro-text, 
	#services.page-id-516 #intro-text, 
	#services.page-id-588 #intro-text, 
	#services.page-id-551 #intro-text, 
	#services.page-id-483 #intro-text, 
	#services.page-id-481 #intro-text 
		{ background-image: url('images/bgnd/safety-header-bgnd.png'); }
	
	#category #intro-text { background-image: url('images/bgnd/news-header-bgnd.png'); }
	
	#category.category-our-cases #intro-text, 
	#category.category-praktiki #intro-text { 
		background-image: url('images/bgnd/agency-header-bgnd.png');
		}
	
	body.single #intro-text { background-image: url('images/bgnd/news-header-bgnd.png'); }
	
	#contacts #intro-text { background-image: url('images/bgnd/contacts-header-bgnd.png'); }


/* ==Main== */
#main {
	margin:0 auto 1.5em;
	width:950px;
	min-height: 400px;
	}
	
	
/* ===Breadcrumb=== */
#breadcrumb {
	padding: 0 30px 0;
	margin: 2em 0;
	width:630px; /* -60px заради padding */
	}
	
	
/* ==Content== */
#content {
	float:left;
	margin:0;
	width:630px; /* -60px заради padding */
}
.navigation { 
	border-top: 1px solid #ddd;
	padding-top: 0.9em;
	margin-bottom: 3em;
	}
.entry-meta {
	font-size: 10px !important;
	padding-top: 1.5em;
	margin-bottom: 1.5em;
	}
	.entry-title + .entry-meta {
		padding-top: 0;
		}
.yafootnote_head { 
	display: none; 
	}
.yafootnote_body { 
	font-size:10px !important; 
	color:#666; 
	display:block;
	border-top: 1px solid #ddd;
	}


/* ===Blockquotes=== */
blockquote {
	padding-left: 45px;
	background: transparent url('images/blockquote-bgnd.png') no-repeat left top;
	}
	blockquote cite { font-style: italic; }
	
	
/* ==Aside== */
#aside {
	margin:0;
	padding: 0 25px;
	overflow:hidden;
	width:209px; /* -60px заради padding */
}
	.rss-date, 
	#aside .published {
		font-size: 10px;
		display: block;
		color: #666;
		}
	.widget_rss li,
	#aside li li {
		border-bottom: 1px solid #DDDDDD;
		border-top: 1px solid #FFFFFF;
		margin-top: 0;
		padding: 0.75em 0;
	}
		.widget_rss li:last-child,
		#aside li li:last-child {
			border-bottom: none; 
		}
		.widget_rss li:first-child,
		#aside li li:first-child {
			border-top: none; 
		}
	#aside .current-menu-item  > a { 
		color: #666 !important; 
		font-weight: bold !important;
		text-decoration: none !important; 
		background: transparent none !important; 
		cursor: default; 
		}
	
#aside .ip4all {
	background:transparent url(images/ipbulgaria-link.png) no-repeat scroll 0pt 5px;
	height:50px;
	padding:12px 10px 7px !important;
	margin-bottom: 1.5em;
	color: #00529B !important;
	display: block;
	white-space: pre;
	}
/*
#aside .ipconsulting {
	background:transparent url(images/ipconsulting-link.png) no-repeat scroll 0pt 5px;
	height:70px;
	padding:12px 10px 7px !important;
	color: #112B00 !important;
	display: block;
	}
*/
/* ==Figures== */
.aligncenter,
div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}
#content img, 
#content .wp-cation, 
.googlemap {
	border: 1px solid #e6e6e6;
	padding: 5px;
	background-color: #fff;
	max-width: 100%;
	height: auto;
	}
	.googlemap img {
		border: none !important;
		background-color: transparent !important;
		padding: 0 !important;
		}
	#content .wp-caption img {
		border: none;
		padding: 0;
		}
	.wp-caption .wp-caption-text { margin: 0; 
		margin: 0 !important; 
		padding: 2px 0; 
		color: #666; 
		font-size: 0.9em !important; 
		text-align: right; 
		}
		
.gallery {
	margin: auto;
}
.gallery .gallery-item {
	float: left;
	margin-top: 10px;
	text-align: center;
	width: 25%;
}
.gallery .gallery-caption {
	margin-left: 0;
} 

/* =TABLES
================================================== */

table {  
	margin: 0 auto 1.5em;
	}

caption, .caption { 
	font-weight: bold;
	font-size: 1.1667em; /* 14px */ 
	line-height: 1.2857em; /* 18px */ 
	margin-bottom: 1.2857em; 
	margin-top: 0em; 
	text-align: center;
	}
	
thead {
	background-color: #F7F2DF;
	}

th {
	font-weight: bold;
	}

td, th {
	border: 1px solid #ddd;
	padding: 0.5em;
	}


/* ==Forms== */
/* ===Generic form elements=== */
select, 
input[type="text"] {
	margin:0;
	width:50%;
	}
textarea {
	margin:0;
	width:70%;
	}
fieldset {
	padding: 15px;
	margin: 0 0 1em;
	border: 1px solid #eee;
	}
label {
	display:block;
	width: 55%;
	margin:0 0 2px;
	cursor: pointer;
	}
select, 
input[type="text"], 
textarea {
	padding: 2px;
	background-color:#f3f3f3;
	border:1px solid #ccc;
	color: #333;
	}
select:focus, 
input[type="text"]:focus {
	background-color:#fbfbfb;
	}
#aside label { 
	float: left;
	width: 40%;
	white-space: nowrap;
	}
#aside select, 
#aside input[type="text"] { 
	float: right;
	width: 50%; 
	}
#aside input[type="submit"] {
	float: right;
	text-align: center; 
	padding-left: 5px; 
	padding-right: 5px; 
	}
#aside .newsletter p { overflow: auto; margin: 0 0 1em; }
#aside .newsletter .mute { font-size: 0.8em; }

/* ===searchform=== */
#searchform {
	float:right;
	height:35px;
	line-height:35px;
	margin:0;
	padding:0;
	}
#s.single { 
	font-size: 12px; 
	padding: 2px; 
	color: #666;
}	

/* ==Footer== */
#footer {
	position: relative;
	clear:both;
	overflow: auto;
	background: #fff url('images/footer-bgnd.png') no-repeat top center;
	border-top:2px dotted #e6e6e6;
	margin:0 auto;
	padding-top: 20px;
	width:890px; /* -60px заради padding */
	min-height: 120px; /* -20px заради padding */
}

#footer p { 
	padding:0; 
	margin:0; 
	width: 33.3%; 
}

#footer .about, #footer .alt { float: left; }
#footer .alt { text-align: center; }
#footer .about2 { float: right; text-align: right; }

#copy { 
	float: left; 
	overflow: visible;
	}

#partners {
	clear: both;
	position: relative;
    top: -14px;
    width: auto !important;
}

/* ===Bottomnav=== */
/* 
#bottomnav { 
	float: right; 
	margin-top: 2em; 
}
#bottomnav li {
	float: left;
	padding:0 4px 0 0;
	}
#bottomnav li:before {
	content: ":: ";
	}
*/

/* ===Comments=== */
.nocomments { padding: 0 15px; color: #666; display: none; }
#comments .commentmetadata { margin: 0; padding: 0 0 0.3em; }
#comments {
	border-bottom:5px solid #DDDDDD;
	border-top:5px solid #DDDDDD;
	margin-bottom:20px;
	width:580px;
	}
#commentform {
	border-top:1px solid #EEEEEE;
	padding:15px 0px 1px;
	}
#commentform .form-submit {
	margin:0 0 20px;
	}
ol.commentlist li {
	border-top:1px solid #EEEEEE;
	display:block;
	list-style:none;
	padding:15px 15px 0;
	margin: 0;
	}
ol.commentlist .alt {
	background-color: #fafafa;
	}
ol.commentlist .commenthead {
	display:block;
	list-style:none;
	padding:5px 15px;
	}
ol.commentlist .commenthead h3 {
	margin:0;
	}
ol.tblist {
	border-top:1px solid #FFFFFF;
	list-style:none;
	padding:15px;
	}
ol.tblist li {
	background:#E7F9FF none repeat scroll 0%;
	display:block;
	list-style:none;
	margin:0 0 5px;
	padding-left:15px;
	}
	
	
/* =ICONS
================================================== */
.entry-meta span { padding-left: 14px; }
.cmt { background: transparent url('images/icons/icon-cmt.png') no-repeat left 50%; }
.cmtoff { background: transparent url('images/icons/icon-cmtoff.png') no-repeat left 50%; }
.print { background: transparent url('images/icons/icon-print.png') no-repeat left 50%; }
.email { background: transparent url('images/icons/icon-email.png') no-repeat left 50%; }
.shortlink { background: transparent url('images/icons/icon-arrow-right.png') no-repeat left 50%; }
.backtotop { background: transparent url('images/icons/icon-arrow-up.png') no-repeat left 50%; }
a.liexternal{ padding-right: 12px; background: transparent url('images/icons/icon-liexternal.png') no-repeat right 50%; }

#content a.form { 
	background: transparent url('images/icons/form-small.png') no-repeat left 50%; 
	font-weight: bold;
	display: block;
	}

#home #content .children li, 
#content a.form { 
    height: 19px;
    margin: 0 0 1em;
    padding: 2px 0 0 24px;
    white-space: nowrap;
	}

#home #content .children li { 
	background: transparent url('images/icons/other-services-small.png') no-repeat left 50%; 
}

#home #content .page-item-125, 
#home #content .page-item-153, 
#home #content .page-item-204, 
#home #content .page-item-497, 
#home #content .page-item-570, 
#home #content .page-item-667, 
#home #content .page-item-176 { background: transparent url('images/icons/research-small.png') no-repeat left 50% !important; }

#home #content .page-item-13, 
#home #content .page-item-93, 
#home #content .page-item-70, 
#home #content .page-item-499, 
#home #content .page-item-571, 
#home #content .page-item-669, 
#home #content .page-item-177 { background: transparent url('images/icons/patent-small.png') no-repeat left 50% !important; }

#home #content .page-item-14, 
#home #content .page-item-94, 
#home #content .page-item-71, 
#home #content .page-item-500, 
#home #content .page-item-572, 
#home #content .page-item-671, 
#home #content .page-item-178 { background: transparent url('images/icons/trademark-small.png') no-repeat left 50% !important; }

#home #content .page-item-15, 
#home #content .page-item-95, 
#home #content .page-item-72, 
#home #content .page-item-501, 
#home #content .page-item-573, 
#home #content .page-item-674, 
#home #content .page-item-179 { background: transparent url('images/icons/geographical-small.png') no-repeat left 50% !important; }

#home #content .page-item-16, 
#home #content .page-item-96, 
#home #content .page-item-73, 
#home #content .page-item-502, 
#home #content .page-item-574, 
#home #content .page-item-675, 
#home #content .page-item-180 { background: transparent url('images/icons/design-small.png') no-repeat left 50% !important; }

#home #content .page-item-17, 
#home #content .page-item-98, 
#home #content .page-item-74, 
#home #content .page-item-503, 
#home #content .page-item-575, 
#home #content .page-item-676, 
#home #content .page-item-181 { background: transparent url('images/icons/copyright-small.png') no-repeat left 50% !important; }

#home #content .page-item-18, 
#home #content .page-item-44, 
#home #content .page-item-75, 
#home #content .page-item-504, 
#home #content .page-item-576, 
#home #content .page-item-677, 
#home #content .page-item-182 { background: transparent url('images/icons/plants-small.png') no-repeat left 50% !important; }

#home #content .page-item-130, 
#home #content .page-item-183 { background: transparent url('images/icons/online-services-small.png') no-repeat left 50% !important; }

#home #content .page-item-19, 
#home #content .page-item-47, 
#home #content .page-item-79, 
#home #content .page-item-517, 
#home #content .page-item-589, 
#home #content .page-item-697, 
#home #content .page-item-184 { background: transparent url('images/icons/translations-small.png') no-repeat left 50% !important; }

#home #content .page-item-221, 
#home #content .page-item-473, 
#home #content .page-item-505, 
#home #content .page-item-539, 
#home #content .page-item-577, 
#home #content .page-item-678, 
#home #content .page-item-364 { background: transparent url('images/icons/model-small.png') no-repeat left 50% !important; }

#home #content .page-item-223, 
#home #content .page-item-474, 
#home #content .page-item-506, 
#home #content .page-item-540, 
#home #content .page-item-578, 
#home #content .page-item-679, 
#home #content .page-item-344  { background: transparent url('images/icons/servicemark-small.png') no-repeat left 50% !important; }

#home #content .page-item-225, 
#home #content .page-item-476, 
#home #content .page-item-508, 
#home #content .page-item-541, 
#home #content .page-item-580, 
#home #content .page-item-716, 
#home #content .page-item-348  { background: transparent url('images/icons/ctm-small.png') no-repeat left 50% !important; }

#home #content .page-item-226, 
#home #content .page-item-477, 
#home #content .page-item-509, 
#home #content .page-item-543, 
#home #content .page-item-581, 
#home #content .page-item-683, 
#home #content .page-item-350  { background: transparent url('images/icons/property-small.png') no-repeat left 50% !important; }

#home #content .page-item-227, 
#home #content .page-item-467, 
#home #content .page-item-510, 
#home #content .page-item-544, 
#home #content .page-item-582, 
#home #content .page-item-685, 
#home #content .page-item-352  { background: transparent url('images/icons/outsource-small.png') no-repeat left 50% !important; }

#home #content .page-item-228, 
#home #content .page-item-468, 
#home #content .page-item-511, 
#home #content .page-item-545, 
#home #content .page-item-583, 
#home #content .page-item-687, 
#home #content .page-item-354  { background: transparent url('images/icons/aktivi-small.png') no-repeat left 50% !important; }

#home #content .page-item-229, 
#home #content .page-item-469, 
#home #content .page-item-512, 
#home #content .page-item-546, 
#home #content .page-item-584, 
#home #content .page-item-689, 
#home #content .page-item-356  { background: transparent url('images/icons/users-small.png') no-repeat left 50% !important; }

#home #content .page-item-231, 
#home #content .page-item-466, 
#home #content .page-item-513, 
#home #content .page-item-548, 
#home #content .page-item-586, 
#home #content .page-item-718, 
#home #content .page-item-360 { background: transparent url('images/icons/border-small.png') no-repeat left 50% !important; }

#aside .latest-posts h2 {  position: relative; }
#aside .feedlink { 
	position: absolute;
	top: 13px;
	left: auto;
	width: 12px;
	height: 12px;
	overflow: hidden;
	background: transparent none; 
	padding-right: 0;
	}
#aside .feedlink img { 
	width: auto;
	height: auto;
	border: none;
	background: transparent none; 
	padding-right: 0; 
	}
#aside .feedlink:hover img, .feedlink:focus img, .feedlink img.hover {
	margin-left: -12px;
	}

	
/* =HACKS
================================================== */
/* new clearfix */
.clearfix:after {
    content:"";
    display:table;
	}
* html .clearfix { zoom: 1; } /* IE6-7 */

	
.page-id-1291 .gallery img {
	border: none !important;
}


