body.body {
	background: #fff url(../images/bg_body.gif) top repeat-x;
	font-family: Arial, Tahoma, Verdana, sans-serif;
	font-size: 62.5%;
	margin: 0;
}

a {
	color: #1863a3;
}
a:hover {
	color: #c00;
}

dl, ol, ul {
	margin: 0;
	padding: 0;
}

img,
table {
	border: 0;
}


/* layout */
#header,
#nav-main,
#footer,
#content-wrapper {
	margin: 0 auto;
	width: 960px;
}


/* header */
#header {
	height: 100px;
}
#header .btn-quote {
	float: right;
	margin: 30px 20px 0 0;
}

/* navigation */
#nav-main {
	background: #000;
	font-family: "Trebuchet MS", Arial, Tahoma, sans-serif;
	font-size: 1.4em;
	height: 50px;
}
#nav-main table {
	width: 100%;
}
#nav-main td {
	height: 50px;
	text-align: center;
}
#nav-main td a {
	color: #fff;
	display: block;
	height: 36px;
	padding: 14px 10px 0;
	text-decoration: none;
}
#nav-main td a:hover,
#nav-main td.active a {
	background: #c00;
	color: #fff;
}

#nav-sub {
	background: #dfdfdf;
	font-size: 0.9em;
	height: 40px;
	margin: -25px -20px 20px -20px;
}
#nav-sub ul {
	padding: 12px 20px;
}
#nav-sub li {
	display: inline;
	padding-right: 2em;
}
#nav-sub li a {
	color: #666;
	font-weight: bold;
	text-decoration: none;
}
#nav-sub li a:hover,
#nav-sub li.active a,
#nav-sub li.active a:hover {
	color: #999;
}


/* content */
#content-wrapper {
	font-size: 1.2em;
}
#content-wrapper.sub {
	background: url(../images/bg_content.gif) left repeat-y;
}
#content-wrapper:after {
	clear: both;
}
#content-wrapper p {
	line-height: 140%;
	margin: 0 0 1em;
}

#pics {
	height: 290px;
	position: relative;
	width: 215px;
}
.pic01 {
	background: url(../images/pic01.jpg) left top no-repeat;
}
.pic02 {
	background: url(../images/pic02.jpg) left top no-repeat;
}
.pic03 {
	background: url(../images/pic03.jpg) left top no-repeat;
}
#pics .aboutestonia {
	position: absolute;
	top: 150px; left: 0;
}
#pics .tab {
	position: absolute;
	top: 0; right: 0;
}

#about {
	background: #00447f url(../images/bg_about.gif) bottom repeat-x;
	border-left: 5px solid #fff;
	color: #fff;
	float: left;
	min-height: 265px;
	padding: 25px 70px 10px 20px;
	position: relative;
	width: 375px;
}
#about .tab {
	position: absolute;
	top: 0; right: 0;
}

#testimonials {
	background: #fff;
	float: left;
	min-height: 265px;
	padding: 25px 20px 10px 15px;
	width: 237px;
}
#testimonials dt {
	line-height: 140%;
	padding-bottom: 0.4em;
}
#testimonials dt img {
	float: right;
	margin: 0 0 0.2em 0.6em;
}
#testimonials dd {
	border-bottom: 1px solid #ccc;
	font-size: 0.9em;
	font-style: italic;
	margin: 0 0 1em 0;
	padding: 0 0 1em 0;
}
#testimonials dd.last {
	border-bottom: none;
	font-size: 0.9em;
	font-style: italic;
	margin: 0;
	padding: 0;
}

#content-main {
	background: #fff;
	border-left: 5px solid #666;
	float: left;
	min-height: 265px;
	padding: 25px 20px 10px 20px;
	width: 700px;
}
#content-main .textbox-narrow {
	width: 75%;
}


/* sidebar */
#sidebar {
	float: left;
	width: 215px;
}

#sidebar .textbox {
	padding: 0 20px;
	width: 175px;
}

#sidebar .icon-links {
	padding: 10px 20px 10px 10px;
}
#sidebar .icon-links dt {
	border-top: 1px solid #ccc;
	padding: 1.5em 0 0.25em 3em;
}
#sidebar .icon-links dt.first {
	border-top: none;
}
#sidebar .icon-links dt.estonicaorg {
	background: url(../images/ico_estonicaorg.gif) 0.5em 1.4em no-repeat;
}
#sidebar .icon-links dt.estoniaquiz {
	background: url(../images/ico_estoniaquiz.gif) 0.3em 1.6em no-repeat;
}
#sidebar .icon-links dt.visitestoniacom {
	background: url(../images/ico_visitestoniacom.gif) 0 1em no-repeat;
}
#sidebar .icon-links dt a {
	color: #000;
	font-family: "Trebuchet MS", Arial, Tahoma, sans-serif;
	font-size: 1.3em;
	font-weight: bold;
	letter-spacing: -0.03em;
	text-decoration: none;
}
#sidebar .icon-links dd {
	color: #999;
	font-size: 0.9em;
	margin: 0 0 0 3.4em;
	padding: 0 0 1.5em 0;
}


/* footer */
#footer {
	border-top: 5px solid #ccc;
	border-bottom: 1px solid #7d7d7d;
	font-size: 1.2em;
	margin-top: 20px;
}

#contacts {
	background: #ccc;
	float: left;
	font-size: 0.9em;
	padding: 5px 10px 10px;
	width: 310px;
}
#contacts dl {
	margin: 0;
	padding: 0;
}
#contacts dt {
	float: left;
	padding: 15px 15px 15px 5px;
}
#contacts dd {
	color: #787878;
	padding: 0.1em;
}

#clients {
	float: left;
	padding: 10px 0 10px 20px;
	width: 590px;
}
#clients dt {
	color: #666;
	font-weight: bold;
	margin-bottom: 10px;
}
#clients dd {
	display: inline;
	margin: 0 20px 0 0;
}


/* companies table */
.companies-table .row {
	font-size: 0.9em;
	height: 160px;
	margin-bottom: 10px;
}
.companies-table .row .item {
	border: 1px solid #ddd;
	color: #000;
	cursor: pointer;
	display: block;
	float: left;
	height: 138px;
	margin-left: 20px;
	padding: 10px;
	text-decoration: none;
	width: 138px;
}
.companies-table .row .item:hover {
	border: 1px solid #bbb;
	color: #c00;
}
.companies-table .row .first {
	margin-left: 0;
}
.companies-table .row .item .logo {
	height: 60px;
	position: relative;
	text-align: center;
}
.companies-table .row .item .logo img {
	position: absolute;
	bottom: 0; left: 0;
}
.companies-table .row .item ul {
	margin-top: 1.5em;
text-decoration: none;
}
.companies-table .row .item li {
	background: url(../images/dbl_arrow_right.gif) left 0.25em no-repeat;
	list-style-type: none;
	margin-bottom: 0.25em;
	padding-left: 1em;
text-decoration: none;
}

.companies-table img { 
  max-width: 120px;
  width: expression(this.width > 120 ? 120 : true);
}


/* team table */
.team-table .row {
	margin-bottom: 10px;
}
.team-table .row .item {
	display: block;
	float: left;
	margin: 0;
	padding-right: 20px;
	width: 330px;
}
.team-table .row .item dt {
	float: left;
	margin-right: 10px;
	width: 104px;
}
.team-table .row .item dd {
	margin-left: 114px;
	padding-top: 1em;
}
.team-table .row .item dd h4 {
	margin: 0;
}
.team-table .separator {
	margin-top: 1em;
}


/* company info */
.company-table {
	width: 100%;
}
.company-table .header td {
	color: #666;
	font-weight: bold;
}
.company-table td {
	background: url(../images/separator.gif) bottom repeat-x;
	padding: 0.5em 0 0.5em 0.5em;
	vertical-align: top;
}
.company-table .label {
	color: #999;
	font-weight: bold;
	width: 150px;
}
#content-main .company-table .label h1 {
	color: #c00;
	margin: 0;
	padding: 0;
	text-align: center;
}
.company-table ul {
	margin-left: 2em;
}
.company-table ul li {
	margin-bottom: 0.25em;
}
.company-table h4 {
	color: #1863a3;
}
.company-table h5 span {
	font-weight: normal;
}
.threecol .label {
	width: 40px;
}


/* misc */
.clear {
	clear: both;
}
.note {
	color: #c00;
}
.separator {
	background: url(../images/separator.gif) top repeat-x;
	height: 1px;
	margin-top: 2em;
	padding-bottom: 2em;
}

img.float-right {
	float: right;
	margin: 0.4em 0 0.5em 1em;
}
img.float-left {
	float: left;
	margin: 0.4em 1em 0.5em 0;
}

#adm {
	margin: 0 auto;
	padding: 10px 20px 10px 0;
	text-align: right;
	width: 940px;
}

#content-main .collapse-link {
	background: url(../images/separator.gif) bottom repeat-x;
	margin: 0;
	padding: 0 0 0.5em 0.4em;
}
.collapse-link a {
	color: #1863a3;
	text-decoration: none;
}
.collapse-link a:hover {
	color: #1863a3;
	text-decoration: underline;
}
.collapsible {
	background: url(../images/bg_collapsible.gif) bottom repeat-x;
	margin-bottom: 2em;
}


/* headings */
h1, h2, h3, h4, h5, h6 {
	font-family: "Trebuchet MS", Arial, Tahoma, sans-serif;
	margin: 0.75em 0;
}
h1 {
	font-size: 2.1em;
	font-weight: normal;
	letter-spacing: -0.04em;
}
.h1 {
	font-size: 2.1em;
	font-weight: normal;
	letter-spacing: -0.04em;
}
h2 {
	font-size: 1.7em;
	font-weight: normal;
}
h3 {
	font-size: 1.4em;
	font-weight: normal;
}
h4 {
	font-size: 1.2em;
}
h5 {
	font-size: 1em;
}

#content-main h1,
#content-main h2 {
	color: #1863a3;
	margin: 0 0 0.5em;
}
#content-main h3 {
	margin: 0 0 0.5em;
}


/* forms */
form {
	margin: 0;
}

fieldset {
	border: none;
	border-top: 1px solid #ddd;
	margin-top: 1.5em;
	padding-left: 1.5em;
}
fieldset.submit {
	border-top: none;
}
legend {
	color: #1863a3;
	font-size: 1.4em;
	margin-left: -0.5em;
	padding: 0 0.5em;
}
label {
	display: block;
	float: left;
	width: 80px;
}

fieldset ul {
	margin: 1em 0 0 0;
}
fieldset li {
	list-style-type: none;
	margin-bottom: 0.5em;
}
fieldset li.filebox {
	padding: 0.5em 0;
}
fieldset ul.sidebyside {
	float: left;
	width: 300px;
}
fieldset ul.checkboxes label,
fieldset ul.radios label {
	display: inline;
	float: none;
	width: auto;
}
fieldset ul.textboxes label {
	width: 80px;
}
#content-wrapper fieldset p.note {
	display: block;
	margin: 0.5em 0 0;
}

.form-text {
	border: 1px solid #ccc;
	font-family: Arial, Tahoma, Verdana, sans-serif;
	padding: 0.3em;
}
#content-main li .form-text {
	width: 332px;
}
#content-main ul.textboxes .form-text {
	width: 192px;
}
#content-main li .short {
	width: 30px;
}
textarea {
	border: 1px solid #ccc;
	font-family: Arial, Tahoma, Verdana, sans-serif;
	font-size: 1em;
	padding: 0.3em;
}
#content-main li textarea {
	height: 180px;
	width: 600px;
}

#error ul { list-style-type: none; margin-bottom: 10px; }
#error li { color: #F00; }