/*
	Author: Garovsky Edgar
	Author URI: http://garovsky.com/
*/


/* Global definitions
----------------------------------- */
* { margin: 0; padding: 0; }

html, body { height: 100%; }

body { font: 12px/18px Tahoma, Arial, Helvetica, sans-serif; color: #383838; text-align: left; background: #fff; }

button, img, input, label, select { vertical-align: middle; }
	img { -ms-interpolation-mode: bicubic; }

div, textarea, td, th { vertical-align: top; }

fieldset, hr, img { border: 0; }

blockquote { font-style: italic; color: #777; margin: 0 0 15px 25px; }
	blockquote * { font-style: italic; }

address { font-style: normal; }

p { margin-bottom: 10px; }

ol { list-style: decimal outside; margin: 0 0 15px 30px; }
ul { list-style: none; }

ins { position: absolute; overflow: hidden; }

table { border-collapse: collapse; }
	th, caption { font-weight: 400; text-align: left; }

a, button, label { cursor: pointer; }

:active, :focus { outline: none; -moz-outline-style: none; }

::selection { color: #fff; background: #059bcd; }
::-moz-selection { color: #fff; background: #059bcd; }

a { color: #12558b; text-decoration: underline; }
	a:hover { color: #000; }
	a:visited { color: #551A8B; }

/* Titles */
h1, h2 { font: 20px/24px Arial, Helvetica, "Trebuchet MS", sans-serif; color: #d31047; margin-bottom: 15px; }

h3 { font: 18px/24px Arial, Helvetica, "Trebuchet MS", sans-serif; margin-bottom: 10px; }

h3 sup {color:#d31047;}

h3 img {margin-left:5px;}

h4 { font: 700 14px/20px Arial, Helvetica, "Trebuchet MS", sans-serif; margin-bottom: 10px; }

h5, h6 { display: inline; font: 700 12px/18px Tahoma, Arial, Helvetica, sans-serif; }
	h6 { font-size: 11px; }

.single { margin-bottom: 25px; }


/* Form elements */
button, input.textual, select, textarea { font: 12px Tahoma, Arial, Helvetica, sans-serif; color: #444; }

button {
	height: 28px;
	font-weight: 700;
	line-height: 26px;
	color: #fff;
	background: #12558b;
	padding: 0 20px;
	border: 1px solid #12558b;
	border-right-color: #0d4068;
	border-bottom-color: #0d4068;
}
	button:focus, button:hover { color: #ccc; }
input.textual, select, textarea {
	background: #f4f4f4;
	padding: 6px 7px;
	border: 0;
	border-top: 1px solid #b7b7b7;
	border-left: 1px solid #b7b7b7;
}
	input.textual:focus, input.textual:hover, select:focus, select:hover, textarea:focus, textarea:hover { background: #fff6d9; }
	textarea { overflow: auto; resize: none; }



/* Main blocks
----------------------------------- */
#measurer {
	position: absolute;
	left: 0;
	top: -1px;
	width: 100%;
	height: 1px;
	overflow: hidden;
	visibility: hidden;
}

.layout { position: relative; min-height: 100%; margin-bottom: -101px; padding: 0 30px; }
	.layout-inner, .footer {
		position: relative;
		min-width: 930px;
		max-width: 1350px;
		background: url(glow.jpg) 75px 0 no-repeat;
		margin: 0 auto;
		overflow: hidden;
	}

.wrapper, .footer-inner { position: relative; padding-bottom: 155px; }
	.ads .wrapper, .ads .footer-inner { min-width: 930px; margin-right: 265px; }

.sidebar {
	position: relative;
	float: left;
	width: 290px;
	margin: 32px -290px 0 0;
	overflow: hidden;
}

.content { position: relative; float: right; width: 100%; }
	.content-inner { margin: 50px 0 0 350px; }

.overflow { width: 100%; overflow: hidden; }

.wrapper:after, .clients ul:after {
	clear: both;
	content: '';
	display: block;
	height: 0;
	font-size: 0;
	line-height: 0;
	overflow: hidden;
	visibility: hidden;
}

.clear {
	clear: both;
	height: 0;
	font-size: 0;
	line-height: 0;
	margin-bottom: 15px;
	overflow: hidden;
}



/* Header
----------------------------------- */
.header { position: relative; height: 118px; overflow: hidden; }
	.header ul {
		position: absolute;
		left: 350px;
		bottom: 2px;
		font: 18px/24px Arial, Helvetica, "Trebuchet MS", sans-serif;
		color: #484848;
	}
		.header li { height: 26px; background: url(icons-contacts.png) 0 -26px no-repeat; overflow: hidden; }
			.header .phone { height: 24px; background-position: 0 0; margin-bottom: 4px; padding: 2px 0 0 35px; }
				.header .phone span { color: #929292; }
			.header .mail a { padding-left: 35px; }
	.header form {
		position: absolute;
		right: 0;
		bottom: 2px;
		width: 295px;
		overflow: hidden;
	}
		.header form p { font-size: 11px; font-weight: 700; margin: 0 0 7px 13px; }
		.header fieldset { background: url(login.png); height: 26px; overflow: hidden; }
			.header input, .header button { float: left; background: none !important; border: 0; }
			.header input { width: 95px; color: #727272; margin-right: 2px; padding: 5px 3px 7px 14px; }
				.header .password { width: 96px; padding-left: 10px; margin: 0; }
			.header button {
				float: right;
				width: 70px;
				height: 26px;
				font-size: 11px;
				font-weight: 400;
				line-height: 24px;
				color: #b0d0ea !important;
				text-shadow: 0 -1px 0 #072b47;
			}

/* ver2 */
#logo { position: absolute; left: 40px; bottom: 0; }
	#logo a {
		display: block;
		width: 234px;
		height: 79px;
		text-indent: -9999px;
		background: url(logo.png);
		overflow: hidden;
	}
#logo-link {
	position: absolute;
	left: 40px;
	bottom: 0;
	z-index:1;
	
	display: block;
	width: 234px;
	height: 79px;
	background: url(../fancybox/blank.gif);
	overflow: hidden;
	}
/* /ver2 */


/* Content
----------------------------------- */
.banner-right { display: none; }
	.ads .banner-right {
		display: block;
		position: absolute;
		right: -265px;
		top: 170px;
		width: 200px;
		overflow: hidden;
	}

.banner { margin-bottom: 20px;}

.nav { font: 18px/24px Arial, Helvetica, "Trebuchet MS", sans-serif; margin-bottom: 20px; overflow: hidden; }
	.nav ul { margin-bottom: -1px; padding: 12px 0 17px; border-bottom: 1px solid #d8d8d8; }
		.nav li { position: relative; padding: 6px 0 6px 42px; }
			.nav ins {
				left: 0;
				top: 6px;
				width: 30px;
				height: 28px;
				background: url(icons.png);
			}
			
			.nav .navbar {padding:18px 0 6px 0px; font: 12px/16px Arial, Helvetica, "Trebuchet MS", sans-serif; overflow: hidden;margin-bottom:16px;}
			
			.nav .i-about ins { top: 5px; height: 25px; background-position: 0 -28px; }
			.nav .i-clients ins { top: 3px; background-position: 0 -53px; }
			.nav .i-reviews ins { top: 8px; height: 27px; background-position: 0 -81px; }
			.nav .i-contacts ins { top: 9px; height: 21px; background-position: 0 -108px; }
			.nav .i-vacancies ins { height: 26px; background-position: 0 -129px; }
			.nav .i-discounts ins { top: 8px; height: 20px; background-position: 0 -155px; }
			.nav .i-affiliate ins { top: 2px; height: 33px; background-position: 0 -175px; }
			.nav .i-articles ins { top: 7px; height: 26px; background-position: 0 -208px; }
			.nav .i-blog ins { top: 9px; height: 21px; background-position: 0 -234px; }
			.nav .i-counter ins { height: 25px; background-position: 0 -255px; }
			.nav .i-terms ins {  height: 25px; background-position: 0 -280px; }
			/* ver2 */
			.nav .i-creation ins {height: 24px; background-position: 0 -334px; }
			.nav .i-marketing ins {height: 22px; background-position: 0 -359px; }
			/* /ver2 */
			.nav .knopka {padding: 6px 0px 0px 0px; margin-bottom: 0px;}
	.nav .active a { color: #282828; text-decoration: none; }

.cn { left: 0; width: 7px; height: 7px; background: url(icons.png) 0 -305px; }
	.tl, .tr { top: 0; }
	.bl, .br { bottom: 0; background-position: -14px -305px; }
	.tr, .br { left: -7px; background-position: -7px -305px; margin-left: 100%; }
	.br { background-position: -21px -305px; }

.rounded { position: relative; background: #ecf5fb; margin-bottom: 48px; padding: 23px 25px 20px 30px; }

.bordered { position: relative; padding: 23px 25px 15px 30px; border: 1px solid #d8d8d8; }
	.bordered .cn { left: -1px; width: 8px; height: 8px; background-position: 0 -312px; }
		.bordered .tl, .bordered .tr { top: -1px; }
		.bordered .bl, .bordered .br { bottom: -1px; background-position: -15px -312px; }
		.bordered .tr, .bordered .br { left: -6px; background-position: -8px -312px; }
		.bordered .br { background-position: -23px -312px; }

.search-list ul {
	font-size: 11px;
	line-height: normal;
	margin-bottom: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid #d8d8d8;
}
	.search-list li { padding-bottom: 6px; }
		.search-list img { margin-right: 5px; }
.search-list p { font-size: 11px; line-height: 16px; margin: 0; }

.news-list h2 { color: #484848; }
.news-list dt { font-size: 11px; line-height: 16px; margin-bottom: 1px; color: #484848; }
.news-list dd { font-size: 11px; margin-bottom: 11px; color: #9a9a9a; padding-bottom: 11px; }

/* ver2 */
.sponsor { padding-top: 23px; }
.sponsor img {float: left; }
/* /ver2 */

.section, .post { overflow: hidden; }
.title { margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid #d8d8d8; overflow: hidden; }
.text { margin-bottom: 30px; }

.post .text { margin-bottom: 40px; }

.services .title span { float: right; font: 20px/24px Arial, Helvetica, "Trebuchet MS", sans-serif; color: #d31047; padding-left: 15px; }
.services .title h2 { color: #484848; margin: 0; }

.service .section { margin-bottom: 30px; border-bottom: 1px solid #d8d8d8; }
	.service .title { padding-bottom: 3px; }
	.service .text { margin-bottom: 20px; }

.align-left { float: left; margin: 0 20px 20px 0; }
.align-right { float: right; margin: 0 0 20px 20px; }

.clients ul { margin-right: -20px; }
	.clients li {
		float: left;
		width: 128px;
		height: 120px;
		margin: 0 20px 20px 0;
		border: 1px solid #c2c2c2;
	}
		.clients .over {
			display: none;
			position: absolute;
			width: 250px;
			font-size: 11px;
			line-height: 16px;
			background: #ecf5fb;
			margin: 3px 0 0 3px;
			padding: 18px 18px 5px;
			z-index: 35;
		}
			.clients .right { margin: 3px 0 0 -161px; }
			.clients .over p { margin-bottom: 15px; }
			.clients .hover .over { display: block; }
		.clients .inner { width: 128px; height: 120px; overflow: hidden; }

/* ver2 */
.works ul { margin-right: -20px; }
	.works li {
		float: left;
		width: 128px;
		height: 120px;
		margin: 0 20px 20px 0;
		border: 1px solid #c2c2c2;
		}
		.works .inner { width: 128px; height: 120px; overflow: hidden; }
		
.mainpics {float: left; padding:0 10px 0 0;}
/* /ver2 */

.contacts { font-size: 14px; line-height: 18px; margin-bottom: 20px; overflow: hidden; }

.feedback { margin-top: 15px; }
	.feedback li { padding-bottom: 15px; overflow: hidden; }
		.feedback label { display: block; width: 100%; font-size: 11px; padding: 2px 0 4px; }
			.feedback label:hover { color: #777; }
		.feedback input { float: left; width: 230px; }
			.feedback .captcha input { width: 85px; margin-right: 5px; }
			.feedback .captcha img { vertical-align: top; }
		.feedback textarea, .counter-code textarea { float: left; width: 230px; height: 70px; }

.resizable-textarea { width: 230px; }
	.resizable-textarea span { display: block; }

.resize {
	clear: both;
	height: 13px;
	background: #ececec url(icons.png) 47% -320px no-repeat;
	border-left: 1px solid #b7b7b7;
	cursor: s-resize;
	overflow: hidden;
}

.counter-code { overflow: hidden; }

.redlabel { color:#f00; }

.greenlabel { color:#0f0; }

.bluelabel { color:#00f; }

.vacancies .section, .terms .section { margin-bottom: 20px; overflow: visible; }

.articles li { font: 100 14px/20px Arial, Helvetica, "Trebuchet MS", sans-serif; margin-bottom: 20px; margin-left: 20px; vertical-align: middle; }

.meta { font-size: 11px; line-height: 16px; margin-bottom: 10px; }
	.meta span { padding: 0 5px; }

.counters { margin: 0 -32px 13px 0; }
	.counters li { display: -moz-inline-stack; display: inline-block; padding: 0 32px 17px 0; vertical-align: middle; }
		.counters input { margin-right: 8px; }
		.counters .options div { float: left; margin-right: 10px; }
			.counters .options label { font-size: 11px; }
			.counters .options select { display: block; margin-top: 2px; }

.terms-alphabet { font: 700 14px/20px Arial, Helvetica, "Trebuchet MS", sans-serif; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid #d8d8d8; }
	.terms-alphabet li { display: -moz-inline-stack; display: inline-block; text-transform: uppercase; margin-bottom: 5px; }
		.terms-alphabet li a { display: -moz-inline-stack; display: inline-block; padding: 3px 6px; }
			.terms-alphabet .active a { color: #fff; text-decoration: none; background: #d31047; }

.noborder { border-bottom: none; }

.newarticle { margin-left: 5px; color: red; }

.hotpepper { width: 8px; height: 12px; }


/* Footer
----------------------------------- */
.footer { background: none; padding: 0 30px; }
	.footer-inner { height: 80px; padding: 20px 0 0; border-top: 1px solid #646464; overflow: hidden; }

.counter { float: right; padding: 7px 0 0 7px; }
	.counter img { vertical-align: top; }



/* Hacks
----------------------------------- */
@-moz-document url-prefix() {
button { padding-bottom: 2px; }
.header button { padding-bottom: 4px; }
}

@media all and (-webkit-min-device-pixel-ratio:0) {
body:first-of-type button { line-height: 24px; }
body:first-of-type .header button { text-indent: -3px; }
}
