HTML, BODY { background: #fff url(bg01.png) repeat-x; }
BODY { padding: 0 0 30px 0; }
* HTML A { position: relative; }
UL { list-style: none; }

/* Layout */

#box01 { margin: auto; padding: 10px 0 0 0; width: 921px; }

#box02 { width: 912px; height: 35px; background: url(bg02.png) no-repeat; }
* HTML #box02 { background: none; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/bg02.png', sizingMethod='crop'); }

#box03 { width: 912px; background: url(bg03.png) repeat-y; }
* HTML #box03 { background: none; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/bg03.png', sizingMethod='scale'); }

#box04 { padding: 0 37px; background: url(bg06.jpg) no-repeat 50% 0; }

#box05 { width: 912px; height: 23px; background: url(bg04.png) no-repeat; }
* HTML #box05 { background: none; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/bg04.png', sizingMethod='crop'); }

#langselect { float: right; margin: 0; padding: 15px 30px 0 0; }
#langselect SPAN { visibility: hidden; }
#langselect * { float: left; }
#langselect LI { padding: 0 5px 0 0; }

#langselect A { border: 1px solid #fff; width: 20px; height: 15px; background: url(bg05.gif) no-repeat; }
#langselect A,
#langselect A:hover { text-decoration: none; }
#langselect A:hover,
#langselect A.active { border-color: #c5c5c5; }

#langselect LI.en A { background-position: -8px -3px; }
#langselect LI.en A:hover,
#langselect LI.en A.active { background-position: -8px -22px; }

#langselect LI.et A { background-position: -34px -3px; }
#langselect LI.et A:hover,
#langselect LI.et A.active { background-position: -34px -22px; }

#langselect LI.ru A { background-position: -60px -3px; }
#langselect LI.ru A:hover,
#langselect LI.ru A.active { background-position: -60px -22px; }

#header { position: relative; height: 128px; border-bottom: 1px solid #f0f0f0; }

#logo { position: absolute; top: 0; left: 0; margin: 0; }

#twitter { position: absolute; top: 16px; left: 162px; margin: 0; }
#twitter A { display: block; width: 499px; height: 48px; background: url(bg07.png) no-repeat; line-height: 16px; font-size: 12px; color: #8b8b8b; text-decoration: none; overflow: hidden;  }
#twitter A:hover { color: #8b8b8b; text-decoration: underline; }
#twitter A SPAN { display: block; padding: 8px 0 0 92px; }

#facebook { position: absolute; top: 29px; right: 0; margin: 0; }
#facebook A { display: block; padding: 2px 0 6px 30px; background: url(ico_facebook.gif) no-repeat; color: #000; text-decoration: underline; }
#facebook A:hover { color: #000; text-decoration: none; }

#menu01 { position: absolute; bottom: 0; left: 142px; margin: 0; padding: 0; }
#menu01 * { float: left; }
#menu01 LI { padding: 0 1px 0 0; background: url(bg08.gif) no-repeat 100% 50%; }
#menu01 A { padding: 10px 20px; font-size: 15px; font-weight: bold; color: #000; text-decoration: none; }
#menu01 A:hover { color: #c9161e; text-decoration: none; }
#menu01 A.active { color: #c9161e; text-decoration: none; background: url(ln01.gif) 50% 100% no-repeat; }

#menu02 { margin: 0; padding: 7px 0 0 0; font-size: 14px; line-height: 16px; }
#menu02 LI { float: left; width: 100%; clear: both; }
#menu02 LI A { display: block; padding: 8px 4px 8px 10px; background: url(bg11.png) 0 -5px no-repeat; color: #fff; text-decoration: none; border-bottom: 1px solid #d0474c; }
#menu02 LI A:hover,
#menu02 LI A.active { background-position: -330px -5px; color: #000; text-decoration: none; border-color: #f1f1f1; }
#menu02 LI.first A { background-position: 0 0; }
#menu02 LI.first A:hover,
#menu02 LI.first A.active { background-position: -330px 0; }
#menu02 LI.last A { background-position: 0 100%; border: none; }
#menu02 LI.last A:hover,
#menu02 LI.last A.active { background-position: -330px 100%; }

* HTML #menu02 LI A { background: url(bg10.gif) 0 -5px no-repeat; }

#main { padding: 30px 0 20px 0; min-height: 580px; line-height: 22px; font-size: 14px; } /* width: 840px */
* HTML #main { height: 580px; }
#sub { padding: 10px 0 20px 0; min-height: 600px; } /* width: 840px */
* HTML #sub { height: 600px; }

#footer { border-top: 1px solid #f0f0f0; font-size: 11px; color: #4d4d4d; }

#copyright { float: left; }
#copyright SPAN { padding: 0 10px; color: #d8d8d8; }
#copyright A { color: #4d4d4d; text-decoration: none; }
#copyright A:hover { color: #4d4d4d; text-decoration: underline; }

#webstyle { float: right; }
#webstyle A { color: #a8a8a8; text-decoration: none; }
#webstyle A:hover { color: #a8a8a8; text-decoration: underline; }

/* Cols */

.col { float: left; min-height: 1px; }
* HTML .col { height: 1px; }
.col01 { width: 304px; padding: 0 114px 0 0; }
.col02 { width: 420px; }
.col03 { width: 170px; padding: 0 50px 0 0; }
.col04 { width: 618px; }

/* Styles */

P.tagcloud { margin: 6px 0 0 0; line-height: 35px !important; text-align: center; }
P.tagcloud A { padding: 0; color: #73880a; text-decoration: underline; }
P.tagcloud A:hover { color: #c9161e; text-decoration: none; }

UL.listing01 { margin: 1em 0 0 0; padding: 0; line-height: 30px; }
UL.listing01 LI { padding: 0 0 0 12px; background: url(ln02.gif) no-repeat 0 12px; }
UL.listing01 A { color: #000; text-decoration: underline; }
UL.listing01 A:hover { color: #c9161e; text-decoration: none; }

P.link01 { }
P.link01 * { float: left; }
P.link01 A { background: url(bg09.gif) no-repeat; color: #fff; text-decoration: none; cursor: pointer; font-size: 14px; text-shadow: 1px 1px 1px #890208; }
P.link01 A SPAN { padding: 2px 10px; background: url(bg09.gif) 100% 0 no-repeat; }
P.link01 A:hover { color: #fff; text-decoration: none; }
P.link01 A:hover SPAN { text-decoration: underline; } 
P.link01 STRONG { float: none; }

#front-contact TABLE { width: auto; border: none; background: none; }
#front-contact TABLE TH { padding: 4px 10px 4px 0; border: none; background: none; line-height: 22px; text-align: right; font-size: 14px; color: #4d4d4d; font-weight: normal; vertical-align: middle; }
#front-contact TABLE TD { padding: 4px 10px 4px 0; border: none; background: none; line-height: 22px; text-align: left; font-size: 14px; color: #4d4d4d; font-weight: normal; vertical-align: middle; }

#front-contact INPUT.txt { float: left; padding: 4px 3px; width: 170px; border: 1px solid #b2b2b2; background: none; color: #4d4d4d; }
#front-contact TEXTAREA { float: left; padding: 4px 3px; width: 270px; height: 100px; border: 1px solid #b2b2b2; background: none; color: #4d4d4d;  }

#front-contact A { text-decoration: none; }

 /* Content */
 
.content { line-height: 22px; color: #4d4d4d; } 
.content TABLE { width: 100%; }
.content TABLE TH { line-height: normal; border: solid #fff; border-width: 1px; padding: 4px 10px; background: #a50328; font-weight: bold; color: #fff; }
.content TABLE TD { line-height: normal; border: solid #fff; border-width: 1px; padding: 4px 10px; background: #fff; }
.content TABLE TR.even TD { background: #f1f1f1; }
.content UL { margin: 1em 0 0 0; padding: 0; list-style: none; }
.content UL LI { background: url(dot01.gif) 0 8px no-repeat; padding: 0 0 0 16px; }
.content UL UL { margin: 1em 0 1em 1em; }
.content UL UL LI { background: url(dot02.gif) 0 8px no-repeat; }
.content HR { margin: 2em 0 0 0; width: 100%; height: 1px; background: #f0f0f0; border: none; }

.content P SPAN.socials A { margin: 0 5px 0 0; }
.content P A.email { text-decoration: none; }

.linkedin-profileinsider-popup { padding: 0 !important; background: none !important; }

#google_maps { }
#google_maps A { display: block; padding: 0 0 0 27px; background: url(ico_google_maps.png) no-repeat; text-decoration: none; }

/* Path */

P.path { margin: 0; font-size: 11px; color: #b2b2b2 }
P.path A { padding: 0 10px; color: #b2b2b2; text-decoration: none; }
P.path A.first { padding: 0 10px 0 0; }
P.path A:hover { color: #b2b2b2; text-decoration: underline; }
P.path A.active { font-weight: bold; }

/* Portfolio */

UL.portfolio { margin: 1em 0 0 0; padding: 0; }
UL.portfolio LI { float: left; width: 184px; padding: 0 20px 20px 0; background: none; }
UL.portfolio P.img A { display: block; padding: 1px; background: #fff; border: 1px solid #f0f0f0; }
UL.portfolio P.img A:hover { border-color: #a4a4a4; }
UL.portfolio P.img IMG { width: 180px; height: 132px; }
UL.portfolio P.lnk { margin: 10px 0 0 0; line-height: 18px; }
UL.portfolio P.lnk A { display: block; text-align: center; }


/* Fancybox */

/*
 * FancyBox - jQuery Plugin
 * Simple and fancy lightbox alternative
 *
 * Examples and documentation at: http://fancybox.net
 * 
 * Copyright (c) 2008 - 2010 Janis Skarnelis
 *
 * Version: 1.3.1 (05/03/2010)
 * Requires: jQuery v1.3+
 *
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	height: 40px;
	width: 40px;
	margin-top: -20px;
	margin-left: -20px;
	cursor: pointer;
	overflow: hidden;
	z-index: 1104;
	display: none;
}

* html #fancybox-loading {	/* IE6 */
	position: absolute;
	margin-top: 0;
}

#fancybox-loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background-image: url('fancybox/fancybox.png');
}

#fancybox-overlay {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: #000;
	z-index: 1100;
	display: none;
}

* html #fancybox-overlay {	/* IE6 */
	position: absolute;
	width: 100%;
}

#fancybox-tmp {
	padding: 0;
	margin: 0;
	border: 0;
	overflow: auto;
	display: none;
}

#fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 20px;
	z-index: 1101;
	display: none;
}

#fancybox-outer {
	position: relative;
	width: 100%;
	height: 100%;
	background: #FFF;
}

#fancybox-inner {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: 0;
	outline: none;
	overflow: hidden;
}

#fancybox-hide-sel-frame {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
}

#fancybox-close {
	position: absolute;
	top: -15px;
	right: -15px;
	width: 30px;
	height: 30px;
	background-image: url('fancybox/fancybox.png');
	background-position: -40px 0px;
	cursor: pointer;
	z-index: 1103;
	display: none;
}

#fancybox_error {
	color: #444;
	font: normal 12px/20px Arial;
	padding: 7px;
	margin: 0;
}

#fancybox-content {
	height: auto;
	width: auto;
	padding: 0;
	margin: 0;
}

#fancybox-img {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	line-height: 0;
	vertical-align: top;
	-ms-interpolation-mode: bicubic;
}

#fancybox-frame {
	position: relative;
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

#fancybox-title {
	position: absolute;
	bottom: 0;
	left: 0;
	font-family: Arial;
	font-size: 12px;
	z-index: 1102;
}

.fancybox-title-inside {
	padding: 10px 0;
	text-align: center;
	color: #333;
}

.fancybox-title-outside {
	padding-top: 5px;
	color: #FFF;
	text-align: center;
	font-weight: bold;
}

.fancybox-title-over {
	color: #FFF;
	text-align: left;
}

#fancybox-title-over {
	padding: 10px;
	background-image: url('fancybox/fancy_title_over.png');
	display: block;
}

#fancybox-title-wrap {
	display: inline-block;
}

#fancybox-title-wrap span {
	height: 32px;
	float: left;
}

#fancybox-title-left {
	padding-left: 15px;
	background-image: url('fancybox/fancybox.png');
	background-position: -40px -90px;
	background-repeat: no-repeat;
}

#fancybox-title-main {
	font-weight: bold;
	line-height: 29px;
	background-image: url('fancybox/fancybox-x.png');
	background-position: 0px -40px;
	color: #FFF;
}

#fancybox-title-right {
	padding-left: 15px;
	background-image: url('fancybox/fancybox.png');
	background-position: -55px -90px;
	background-repeat: no-repeat;
}

#fancybox-left, #fancybox-right {
	position: absolute;
	bottom: 0px;
	height: 100%;
	width: 35%;
	cursor: pointer;
	outline: none;
	background-image: url('fancybox/blank.gif');
	z-index: 1102;
	display: none;
}

#fancybox-left {
	left: 0px;
}

#fancybox-right {
	right: 0px;
}

#fancybox-left-ico, #fancybox-right-ico {
	position: absolute;
	top: 50%;
	left: -9999px;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	cursor: pointer;
	z-index: 1102;
	display: block;
}

#fancybox-left-ico {
	background-image: url('fancybox/fancybox.png');
	background-position: -40px -30px;
}

#fancybox-right-ico {
	background-image: url('fancybox/fancybox.png');
	background-position: -40px -60px;
}

#fancybox-left:hover, #fancybox-right:hover {
	visibility: visible;    /* IE6 */
}

#fancybox-left:hover span {
	left: 20px;
}

#fancybox-right:hover span {
	left: auto;
	right: 20px;
}

.fancy-bg {
	position: absolute;
	padding: 0;
	margin: 0;
	border: 0;
	width: 20px;
	height: 20px;
	z-index: 1001;
}

#fancy-bg-n {
	top: -20px;
	left: 0;
	width: 100%;
	background-image: url('fancybox/fancybox-x.png');
}

#fancy-bg-ne {
	top: -20px;
	right: -20px;
	background-image: url('fancybox/fancybox.png');
	background-position: -40px -162px;
}

#fancy-bg-e {
	top: 0;
	right: -20px;
	height: 100%;
	background-image: url('fancybox/fancybox-y.png');
	background-position: -20px 0px;
}

#fancy-bg-se {
	bottom: -20px;
	right: -20px;
	background-image: url('fancybox/fancybox.png');
	background-position: -40px -182px; 
}

#fancy-bg-s {
	bottom: -20px;
	left: 0;
	width: 100%;
	background-image: url('fancybox/fancybox-x.png');
	background-position: 0px -20px;
}

#fancy-bg-sw {
	bottom: -20px;
	left: -20px;
	background-image: url('fancybox/fancybox.png');
	background-position: -40px -142px;
}

#fancy-bg-w {
	top: 0;
	left: -20px;
	height: 100%;
	background-image: url('fancybox/fancybox-y.png');
}

#fancy-bg-nw {
	top: -20px;
	left: -20px;
	background-image: url('fancybox/fancybox.png');
	background-position: -40px -122px;
}

/* IE */

#fancybox-loading.fancybox-ie div	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/fancybox/fancy_loading.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-close		{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/fancybox/fancy_close.png', sizingMethod='scale'); }

.fancybox-ie #fancybox-title-over	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/fancybox/fancy_title_over.png', sizingMethod='scale'); zoom: 1; }
.fancybox-ie #fancybox-title-left	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/fancybox/fancy_title_left.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-title-main	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/fancybox/fancy_title_main.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-title-right	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/fancybox/fancy_title_right.png', sizingMethod='scale'); }

.fancybox-ie #fancybox-left-ico		{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/fancybox/fancy_nav_left.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-right-ico	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/fancybox/fancy_nav_right.png', sizingMethod='scale'); }

.fancybox-ie .fancy-bg { background: transparent !important; }

.fancybox-ie #fancy-bg-n	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/fancybox/fancy_shadow_n.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-ne	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/fancybox/fancy_shadow_ne.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-e	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/fancybox/fancy_shadow_e.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-se	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/fancybox/fancy_shadow_se.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-s	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/fancybox/fancy_shadow_s.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-sw	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/fancybox/fancy_shadow_sw.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-w	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/fancybox/fancy_shadow_w.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-nw	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/fancybox/fancy_shadow_nw.png', sizingMethod='scale'); }