/*
-- Eesti Kultuuri Teejuht
-- ekt.einst.ee

-- AutomatWeb (www.automatweb.com)
-- Verner Jänes (verner.janes@automatweb.com)
*/

/* common */

body { font-family: "Trebuchet MS", Arial, Helvetica, "Sans Serif"; font-size: 12px; letter-spacing: 0.2px; color: #262523; margin: 3px 0 0 0; padding: 0px; }

a { text-decoration: none; color: #262523; outline: none; }
a:hover { text-decoration: underline; outline: none; }

img { border: 0; }
.left { float: left; }
.right { float: right; }

h1 { font-family: "Trebuchet MS"; font-size: 24px; text-transform: uppercase; color: #d82237; margin: 10px 0 20px 0; font-weight: normal; }
h1.company { font-family: "Trebuchet MS"; font-size: 24px; text-transform: none; color: #d82237; margin: 10px 0 20px 0; font-weight: normal; }
h2 { font-family: "Trebuchet MS"; font-size: 14px; text-transform: uppercase; color: #d82237; }

#wrapper { width: 960px; float: left; }

/* header */

#header { height: 116px; margin: 0 0 15px 0; }
#header p { margin: 0px; padding: 0px; }

#header div.header-bg1 { height: 70px; background: url("../img/header-bg1.png") no-repeat; font-size: 10px; font-weight: bold; text-transform: uppercase; }

#logo { float: left; width: 200px; height: 70px; }

#lang { float: left; height: 18px; width: 125px; margin: 2px 0 0 0; }
#lang ul { margin-top: 0px; }
#lang li { display: inline; background: url("../img/bullet2.gif") no-repeat; padding: 0 5px 0 12px; background-position: 3px; list-style: none; margin: 0px; }
#lang li.sel a { text-decoration: underline; }

#search { float: right; }

#search table { width: 387px; height: 32px; border: 0; border-spacing: 0; }
#search table tr.text { height: 14px; }
#search table tr.form { height: 18px; }

#search table tr.text td.bullet-left { width: 108px; padding: 2px 0 0 0; text-align: right; vertical-align: top; }
#search table tr.text td.bullet-right { width: 108px; padding: 2px 0 0 0; text-align: center; vertical-align: top; }
#search table tr.text td.bullet-left span { background: url("../img/bullet2.gif") no-repeat; padding: 0 15px 0 12px; background-position: 3px; }
#search table tr.text td.bullet-right span { background: url("../img/bullet2.gif") no-repeat; padding: 0 0 0 12px; background-position: 3px; }
#search table tr.text td.search { width: 171px; text-align: left; vertical-align: top; }
#search table tr.text td.search span { padding: 0 0 0 15px; }

#search table tr.form td.search { width: 171px; text-align: left; }
#search table tr.form td.search #searchbox { width: 120px; height: 14px; border: 1px #000000 solid; padding: 0; margin: 0 0 0 15px; }
#search table tr.form td.search #search-submit { margin: 0 0 0 3px; padding: 0; }
#search table tr.form td.search #search form { margin: 0; }

#header div.header-bg2 { height: 46px; background: url("../img/header-bg2.png") no-repeat; padding: 0; }

#menu1 { text-transform: uppercase; font-weight: bold; height: 25px; padding: 0px; margin: 0px; }
#menu1 ul { margin: 0px; padding: 4px 25px 0 0; float: right; font-size: 11px; }
#menu1 li { display: inline; background: url("../img/bullet1.gif") no-repeat; padding: 0 0 0 30px; background-position: 20px 5px; }
#menu1 li a { color: #ffffff; }

#menu2 { height: 21px; }
#menu2 ul.left { margin: 0; padding: 2px 0 0 27px; float: left; font-size: 11px; text-align: left; text-transform: lowercase; }
#menu2 ul.right { margin: 0; padding: 2px 25px 0 0; float: right; font-size: 11px; text-align: right; }
#menu2 li { display: inline; }

/* frontpage */

#frontpage { margin: auto; margin: 0 15px 0 15px; height: 442px; width: 932px; background: url("../img/front-bg.gif") no-repeat; text-align: left; }

#frontpage table.column-first { width: 210px; float: left; margin: 10px 0 0 10px; }
#frontpage table.column-second { width: 230px; float: left; margin: 10px 0 0 0; }
#frontpage table.column-third { width: 220px; float: left; margin: 10px 0 0 15px; }
#frontpage table.column-fourth { width: 220px; float: left; margin: 10px 0 0 20px; }

#frontpage table.column-first tr.box { width: 210px; height: 86px; }
#frontpage table.column-second tr.box { width: 220px; height: 86px; }
#frontpage table.column-third tr.box { width: 220px; height: 86px; }
#frontpage table.column-fourth tr.box { width: 220px; height: 86px; }

#frontpage table.column-first tr.box td.icon { width: 74px; height: 77px; text-align: center; }
#frontpage table.column-second tr.box td.icon { width: 74px; height: 77px; text-align: center; }
#frontpage table.column-third tr.box td.icon { width: 74px; height: 77px; text-align: right; }
#frontpage table.column-fourth tr.box td.icon { width: 74px; height: 77px; text-align: right; }

#frontpage table.column-first tr.box td.text { width: 126px; height: 77px; vertical-align: middle; color: #3d3d3d; font-size: 11px; line-height: 13px; padding: 0 10px 5px 6px; }
#frontpage table.column-second tr.box td.text { width: 136px; height: 77px; vertical-align: middle; color: #3d3d3d; font-size: 11px; line-height: 13px; padding: 0 5px 5px 6px; }
#frontpage table.column-third tr.box td.text { width: 126px; height: 77px; vertical-align: middle; color: #3d3d3d; font-size: 11px; line-height: 13px; padding: 0 0 5px 6px; }
#frontpage table.column-fourth tr.box td.text { width: 126px; height: 77px; vertical-align: middle; color: #3d3d3d; font-size: 11px; line-height: 13px; padding: 0 0 5px 6px; }

#frontpage a.heading { text-transform: uppercase; color: #d20019; font-size: 12px; font-weight: bold; display: block; padding-bottom: 3px; }
#frontpage a.others { text-transform: uppercase; color: #d20019; font-size: 12px; font-weight: bold; display: block; margin: 10px 0 0 0; }

/* content */

#content { margin: auto; margin: 0px; width: 960px; float: left; }
#content table.content { width: 100%; height: 100%; border: 0; border-spacing: 0; }
#content table.content tr td.left-pane { vertical-align: top; width: 164px; background: url("../img/menu-left-bg.jpg") repeat-y; }
#content table.content tr td.center-pane { vertical-align: top; }
#content table.content tr td.right-pane { vertical-align: top; text-align: center; }

#content a { text-decoration: none; }
#content a:hover { text-decoration: underline; }

/* left pane */

#content div.left-menu { width: 162px; }
#content div.left-menu ul { list-style: none; padding: 0; margin-left: 0; margin-right: 0; }
#content div.left-menu li { padding: 0 0 0 20px; list-style: none; line-height: 14px; }
#content div.left-menu li a { color: #262523; display: block; padding: 2px 0 2px 0; text-decoration: none; }
#content div.left-menu li a:hover { text-decoration: none; }
#content div.left-menu li:hover,#content div.left-menu li.active { background: #fdfdfc; }

#content div.left-menu-top { background: #ffffff url("../img/menu-left-top-icon.jpg") no-repeat bottom; height: 158px; text-align: center; }

/* center pane */

#content div.document { font-size: 13px; font-family: Georgia; line-height: 23px; padding: 0 0 0 30px; }
#content div.document div.tegevusala { width: 555px; font-size: 13px; font-family: Georgia; line-height: 23px; padding-bottom: 10px; }
#content div.document div.tegevusala a { color: #D82237; }

.list li { list-style-image: url("../img/bullet3.gif"); font-family: "Trebuchet MS"; line-height: 16px; }

P.button { margin: 0px; float: right; background: #ffffff; padding-left: 5px; }
P.button * { float: left; }
P.button SPAN.btn { background: url("../img/buttons.gif") no-repeat; }
P.button SPAN.btn SPAN { background: url("../img/buttons.gif") 100% 0 no-repeat; }
P.button SPAN.btn INPUT { color: #4a4844; text-transform: uppercase; font-size: 10px; background: transparent; overflow: visible; border: none; margin: 0; padding: 2px 5px 2px 5px; text-align: center; cursor: pointer; }

P.button-arrow { margin: 10px 0 0 0; float: right; background: #ffffff; padding-left: 5px; }
P.button-arrow * { float: left; }
P.button-arrow SPAN.arrow { background: url("../img/buttons.gif") no-repeat; }
P.button-arrow SPAN.arrow SPAN { background: url("../img/buttons.gif") 100% -19px no-repeat; }
P.button-arrow SPAN.arrow INPUT { color: #4a4844; text-transform: uppercase; font-size: 10px; background: transparent; overflow: visible; border: none; margin: 0; padding: 2px 20px 2px 5px; text-align: center; cursor: pointer; }

img.readmore { float: right; margin: 10px 0 0 0; }

.companyshow-right { float: right; width: 171px; margin: 20px 10px 0 0; }
.companyshow-right ul.companyshow-list { margin: 15px 0 0 0; padding: 0; width: 171px; text-align: left; text-transform: uppercase; font-size: 11px; font-weight: bold; }
.companyshow-right ul.companyshow-list li { list-style: none; background: url("../img/bullet4.gif") no-repeat left; padding: 0 0 0 20px; margin: 0; }
.companyshow-right ul.companyshow-list li a { color: #262523; }

.companyshow-right div.txtbox { font-family: "Trebuchet MS"; font-size: 12px; width: 171px; background: url("../img/txtbox-bg.gif"); margin: 0px; text-align: left; color: #444444; line-height: 15px; }
.companyshow-right div.txtbox a { color: #d82237; }
.companyshow-right div.txtbox strong { color: #000000; text-transform: uppercase; }
.companyshow-right div.txtbox p { padding: 0 10px 0 10px; margin: 5px 0 5px 0; }
.companyshow-right div.txtbox div.txtbox-top { background: url("../img/txtbox-top.gif") no-repeat top; height: 5px; }
.companyshow-right div.txtbox div.txtbox-bottom { background: url("../img/txtbox-bottom.gif") no-repeat bottom; height: 5px; }

.links { text-align: left; padding: 0 0 0 40px; font-size: 13px; font-family: "Trebuchet MS"; }
.links p.title { font-weight: bold; }
.links ul { padding-left: 20px; margin-top: 5px; margin-left: 0px; }
.links li { list-style-image: url("../img/bullet3.gif"); }

/* right pane */

#content a.print { position: absolute; left: 915px; top: 135px; }

#content div.right-menu { text-align: left; margin-top: 30px; }
#content div.right-menu ul { list-style: none; padding: 0; margin: 0; }
#content div.right-menu li { background: url("../img/menu-right-bg.gif") no-repeat; width: 171px; margin-left: 30px; margin-right: 10px; }
#content div.right-menu li:hover { background: url("../img/menu-right-bg-hover.gif") no-repeat; }
#content div.right-menu li.top { background: url("../img/menu-right-top.gif") no-repeat; color: #ffffff; text-transform: uppercase; }
#content div.right-menu li.top:hover { background: url("../img/menu-right-top.gif") no-repeat; color: #ffffff; text-transform: uppercase; }
#content div.right-menu li.top-only { background: url("../img/menu-right-top-only.gif") no-repeat; color: #ffffff; text-transform: uppercase; }
#content div.right-menu li.top-only:hover { background: url("../img/menu-right-top-only.gif") no-repeat; color: #ffffff; text-transform: uppercase; }
#content div.right-menu li.active { background: url("../img/menu-right-bg-hover.gif") no-repeat; }
#content div.right-menu li.bottom { height: 33px; background: url("../img/menu-right-bottom.gif") no-repeat; }
#content div.right-menu li.bottom:hover { background: url("../img/menu-right-bottom-hover.gif") no-repeat; }
#content div.right-menu li.bottom-active { height: 33px; background: url("../img/menu-right-bottom-hover.gif") no-repeat; }

#content div.right-menu li a { color: #262523; display: block; height: 25px; padding-left: 15px; padding-top: 6px; text-decoration: none; }
#content div.right-menu li a:hover { text-decoration: none; }
#content div.right-menu li.top a { display: block; height: 22px; padding-left: 30px; padding-top: 9px; text-transform: uppercase; color: #ffffff; }
#content div.right-menu li.top-only a { display: block; height: 24px; padding-left: 30px; padding-top: 9px; text-transform: uppercase; color: #ffffff; }

/* footer */

#footer { width: 960px; float: left; font-size: 11px; margin: 0; }
#footer table { width: 960px; text-align: center; border-spacing: 0; border: 0; }
#footer table tr { vertical-align: top; }
#footer table tr td { width: 33%; }

#footer table tr.first td { vertical-align: top; }
#footer table tr.first td.left-pane-bottom { height: 30px; background: url("../img/menu-left-bottom.jpg") no-repeat top left; }
#footer table tr.first td.changed { text-align: center; color: #99948d; margin: 0; font-size: 12px; font-family: "Trebuchet MS"; }
#footer table tr.first td.changed p { margin: 0; }

#footer table tr.second td { vertical-align: top; }
#footer table tr.second td.line { background: url("../img/footer-bg.gif"); height: 6px; padding-top: 0px; }
#footer table tr.second td.line-solid { background: #ebe7e4 url("../img/footer-bg2.gif") no-repeat right; height: 11px; }

#footer table tr.third td { vertical-align: top; }
#footer table tr.third td { padding: 10px 0 10px 0; }
#footer table tr.third td.ref { text-align: left; padding-left: 30px; }
#footer table tr.third td.contact { text-align: center; }
#footer table tr.third td.hk { text-align: right; padding-right: 50px; }
#footer table tr.third td p { color: #403e3b; margin: 0; line-height: 16px; }
#footer table tr.third td a.ore { padding: 0 2px 0 8px; }

/* tables */

#companylist { width: 100%; border: 0px; margin: 10px 0 0 0; font-family: "Trebuchet MS"; border-spacing: 0; }
#companylist tr.header { background: url("../img/dots2.gif") repeat-x top; }
#companylist tr.info { font-size: 12px; letter-spacing: 0; line-height: 14px; }
#companylist td.name { padding: 0; vertical-align: top; }
#companylist td.name span.title { font-size: 13px; text-decoration: none; background: #ffffff; padding-right: 7px; margin-top: 0px; }
#companylist td.name span.companytitle { font-size: 13px; font-weight: bold; text-transform: uppercase; color: #d82237; text-decoration: none; background: #ffffff; padding-right: 7px; }
#companylist td.name a { font-size: 13px; line-height: 19px; font-weight: bold; text-transform: uppercase; color: #d82237; text-decoration: none; background: #ffffff; padding-right: 7px; }
#companylist td.name a:hover { text-decoration: underline; }
#companylist td.button { padding: 0; margin: 0; text-align: right; vertical-align: top; }
#companylist td.button a { background: #ffffff; padding: 0 0 0 10px; }
#companylist td.desc { width: 60%; text-align: left; padding: 0 10px 10px 0; vertical-align: top; }
#companylist td.desc p { margin: 0; }
#companylist td.adr { width: 40%; text-align: right; padding: 0 0 10px 10px; vertical-align: top; }
#companylist td.adr p { margin: 0; }
#companylist td.adr a { color: #262523; }

#searchtable { width: 100%; border: 0px; margin: 0px; font-family: "Trebuchet MS"; border-spacing: 0; }
#searchtable tr.header { background: url("../img/dots.gif") repeat-x center; }
#searchtable td { padding: 3px 0 3px 0; }
#searchtable td.title span { font-family: "Trebuchet MS"; font-size: 13px; font-weight: bold; text-decoration: none; background: #ffffff; padding-right: 5px; margin-top: 0px; }

#defaulttable { width: 100%; border: 0px; margin: 0px; border-spacing: 0; }
#defaulttable tr.header { background: url("../img/dots.gif") repeat-x center; }
#defaulttable td { padding: 3px 0 3px 0; }
#defaulttable td.default { padding: 3px 5px 3px 0; }
#defaulttable td.default span.title { font-family: "Trebuchet MS"; font-size: 13px; text-decoration: none; background: #ffffff; padding-right: 5px; margin-top: 0px; font-weight: bold; }
#defaulttable td.default span { font-family: "Trebuchet MS"; font-size: 13px; text-decoration: none; background: #ffffff; padding-right: 5px; margin-top: 0px; }
#defaulttable td.default span a { color: #D82237; }

#default-htmlclient { width: 100%; border-spacing: 0; }
#default-htmlclient tr.line td { padding: 8px; }
#default-htmlclient tr.line td.title { padding-right: 8px; text-align: right; width: 30%; }
#default-htmlclient tr.line td.title p.help { margin: 0; padding: 0; color: #99948D; font-style: italic; }
#default-htmlclient tr td.subtitle { background: url("../img/dots.gif") repeat-x center; padding: 16px 0 16px 0; }
#default-htmlclient tr td.subtitle span { font-family: "Trebuchet MS"; font-size: 13px; font-weight: bold; text-decoration: none; background: #ffffff; padding: 8px; margin-top: 0px; }
#default-htmlclient tr td.buttons { padding-top: 16px; }
#default-htmlclient tr td.DataSavedMessage { color: red; font-weight: bold; padding: 1em 0 1em 0; }

table.awmenuedittabletag tr td.awmenuedittablehead { text-align: left; font-weight: bold; }

/* default.tpl */

.company_show { width: 100%; border: 0; border-spacing: 0; }
.company_show td.related { vertical-align: bottom; }
.company_show td.related div.related { float: right; text-align: right; padding: 0; font-size: 12px; font-family: "Trebuchet MS"; line-height: 16px; }
.company_show td.related div.related p { font-weight: bold; text-transform: uppercase; padding: 0 0 5px 0; margin: 0;  }
.company_show td.related div.related ul { padding-left: 20px; margin: 0; text-align: left; }
.company_show td.related div.related li { list-style-image: url("../img/bullet3.gif");}
.company_show td.related div.related li a { color: #D82237; }

.company_show td.content { padding: 10px 0 10px 0; }
.company_show td.content a { color: #D82237; }
.company_show td.images { text-align: center; padding: 2em 0 2em 0; }
.company_show td.images a { padding: 10px; }
.company_show td.ref { padding: 1em 0 1em 35px; font-size: 12px; font-family: "Trebuchet MS"; line-height: 16px; }
.company_show td.ref div.related ul { padding-left: 20px; margin: 0; text-align: left; }
.company_show td.ref div.related li { list-style-image: url("../img/bullet3.gif");}
.company_show td.ref div.related li a { color: #D82237; }
.company_show td.ref div.related p { font-weight: bold; text-transform: uppercase; padding: 0 0 5px 0; margin: 0; }

/* misc */

.readmore { display: block; text-align: right; width: 100%; }
p.readmore a { text-decoration: none; }

.error_msg { color: red; }

#tooltip { position: absolute; border: 1px solid #99948D; background: #e3e2de; padding: 2px 4px; color: #494844; display: none; max-width: 200px; }

.verdana_pun { color: red; }

/* user */

div.user { font-family: "Trebuchet MS", Arial, Helvetica, "Sans Serif"; font-size: 12px; letter-spacing: 0.2px; color: #262523; }
div.user p { margin: 0; }
div.user a { color: #D82237 }

/* slimbox */

#lbOverlay {
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	cursor: pointer;
}
#lbCenter, #lbBottomContainer {
	position: absolute;
	z-index: 9999;
	overflow: hidden;
	background-color: #fff;
}
.lbLoading { background: #fff url("../img/loading.gif") no-repeat center; }
#lbImage {
	position: absolute;
	left: 0;
	top: 0;
	border: 10px solid #fff;
	background-repeat: no-repeat;
}
#lbPrevLink, #lbNextLink {
	display: block;
	position: absolute;
	top: 0;
	width: 50%;
	outline: none;
}
#lbPrevLink { left: 0; }
#lbPrevLink:hover { background: transparent url("../img/prevlabel.gif") no-repeat 0 15%; }
#lbNextLink { right: 0; }
#lbNextLink:hover { background: transparent url("../img/nextlabel.gif") no-repeat 100% 15%; }
#lbBottom {
	font-family: "Trebuchet MS";
	font-size: 11px;
	line-height: 22px;
	color: #666;
	text-align: left;
	border: 10px solid #fff;
	border-top-style: none;
}
#lbCloseLink {
	display: block;
	float: right;
	width: 66px;
	height: 22px;
	background: transparent url("../img/closelabel.gif") no-repeat center;
	margin: 0;
	outline: none;
}
#lbCaption, #lbNumber { margin-right: 71px; }
#lbCaption { font-weight: bold; }

