body {
	margin: 0px;
	padding: 0px;
	font-family: /*Tahoma*/Verdana, Helvetica, serifSansSerifMonospace;
	font-size: 12px;
	line-height: 12px;
	background-color: #F4F4F4;
}

.floatFix {
	clear: both;
}

a, a:visited {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

#masterContainer {
	position: relative;
	background-image: url("../images/top_bg.png");
	background-repeat: repeat-x;
	width: 100%;
	min-width: 972px;
	height: 100%;
}

.mainContainer {
	margin-left: auto;
	margin-right: auto;
	width: 972px;
}

#topBar {
	font-size: 11px;
	height: 28px;
	line-height: 27px;
	margin-left: 6px;
}

#topBar,
#topBar a,
#topBar a:visited {
	color: #2E6482;
}

#topBar #logging {
	width: 350px; /* for safari */
	float: right;
	text-align: right;
}

#topBar #logging a {
	margin-right: 3px;
	float: right;
}
#topBar #links a {
	float: left;
}

#topBar #logging .separator {
	background-image: url("../images/topbar_separator.png");
	width: 2px;
	margin-top: 9px;
	margin-left: 8px;
	margin-right: 8px;
	height: 11px;
	float: right;
}

#topBar #links .separator {
	background-image: url("../images/topbar_separator.png");
	width: 2px;
	margin-top: 9px;
	margin-left: 8px;
	margin-right: 8px;
	height: 11px;
	float: left;
}

#topBar #links {
	width: 500px; /* for safari */
	margin-right: 5px;
}

#topBar #links,
#topBar #flags {
	float: left;
	margin-right: 20px;
}

#topBar #flags a {

	margin-top: 9px;
	margin-left: 3px;
	margin-right: 3px;
	height: 11px;
}

#topBar #flags a.et {
	background-image: url("../images/flag_et.png");
}

#topBar #flags a.en {
	background-image: url("../images/flag_en.png");
}

#logoBar {
	margin-left: 6px;
	height: 66px;
	margin-top: 16px;
	margin-bottom: 14px;
}

#logoBar #logo {
	width: 326px;
	height: 66px;
	background-image: url("../images/logo.png");
	float: left;
}

#logoBar #logo:hover {
	cursor: pointer;
}

#logoBar #images {
	float: right;
	width: 364px;
	height: 66px;
}

#logoBar #images .scrollable {
   /* required settings */
	position:relative;
	overflow:hidden;
	width: 312px;
	height:66px;
	float: left;
}

#logoBar #images .scrollable div.items {     
	/* this cannot be too large */
	width:20000em;
	position:absolute;
}

#logoBar #images .scrollable div.items div {
	float: left;
}

#logoBar #images a.browse {
	background:url('../images/top_gallery_left_right.png') no-repeat;
	display:block;
	width:20px;
	height:66px;
	float: left;
	cursor:pointer;
	font-size:1px;
}

#logoBar #images a.right {
	float: left; 
	background-position: 0px -66px; 
	clear:right; 
	margin-left: 4px;
}

#logoBar #images a.right:hover {
	background-position:-20px -66px;
}

#logoBar #images a.right:active  {
	background-position:-40px -66px;
}

#logoBar #images a.left {
	margin-right: 4px;
}

#logoBar #images a.left:hover {
	background-position:-20px 0;
}

#logoBar #images a.left:active {
	background-position:-40px 0;
}

#logoBar #images a.disabled {
	/* visibility:hidden !important;*/
} 	

#logoBar #images img {
	border: 0px;
	margin-right: 3px;
}

#logoBar #images img:hover {
	opacity:1;
	filter:alpha(opacity=100);
}

#menuBar {
	height: 32px;
}

#menuBar #mainMenu {
	list-style: none;
	margin: 0px;
	padding: 0px;
	float: left;
	width: 572px;
}

#menuBar #mainMenu li {
	z-index: 2;
	float: left;
	position: relative;
	color: white;
	font-weight: bold;
	text-transform: uppercase;
	/*height: 29px;*/
	display: block; /* for safari */
	line-height: 26px;
	padding-left: 15px;
	padding-right: 14px;
	margin-right: 5px;
	margin-top: 3px;
}
#menuBar #mainMenu>li {
	height: 29px;
}
#menuBar #mainMenu li.selected {
	background-image: url("../images/mainmenu_tab_bg.png");
	color: #084A71;
	padding-right: 0px;
	padding-left: 0px;
	margin-right: 0px;
}

#menuBar #mainMenu li.selected>a,
#menuBar #mainMenu li.selected>a:visited {
	color: #084A71;
	float: left;
}

#menuBar #mainMenu li.selected .rightCorner {
	width: 19px;
	height: 29px;
	background-image: url("../images/mainmenu_tab_right_corner.png");
	float: left;
}

#menuBar #mainMenu li.selected .leftCorner {
	width: 15px;
	height: 29px;
	background-image: url("../images/mainmenu_tab_left_corner.png");
	float: left;
}

#menuBar #mainMenu a,
#menuBar #mainMenu a:visited {
	color: white;
}


/* Second level */
#menuBar #mainMenu li ul {
	visibility: hidden;
	z-index: 100;
	background-color: white;
	width: 210px;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 3px;
	padding: 0px;
	padding-top: 4px;
	left: 5px;
	position: absolute;
	border-left: 1px solid #035C97;
	border-right: 1px solid #035C97;
	border-bottom: 1px solid #035C97;
}

#menuBar #mainMenu li.selected ul {
	top: 26px;
	left: -1px;
	background-color: white;
}

#menuBar #mainMenu li ul li {
	text-transform: none;
	float: none;
	margin: 0px;
	margin-left: 10px;
	margin-right: 10px;
	padding: 3px 0px;
	width: 190px;
	font-weight: normal;
	/*height: 29px;*/
	line-height: 26px;
	border-bottom: 1px solid #E9E9E9;
	position: relative;
}


#menuBar #mainMenu li ul li a,
#menuBar #mainMenu li ul li a:visited {
	color: #084A71
}

/* Third level */
#menuBar #mainMenu li ul ul.level3 {
	left: 100%;
	top: 0px;
	border-top: 1px solid #035C97;
	z-index: 100;
}

#menuBar #mainMenu li.last {
	border: 0px;
}

#menuBar #search {
	width: 400px;
	height: 23px;
	margin-top: 4px;
	margin-right: 0px;
	float: right;
}

#menuBar #search .searchField, #menuBar #search .searchDropdown {
	background: url("../images/search_field_bg.png");
	border: 0px;
	width: 144px;
	/* color: #03659F;*/
	color: rgb(100,100,100);
	height: 17px;
	float: left;
	padding-top: 3px;
	padding-bottom: 3px;
	padding-left: 6px;
	padding-right: 6px;
}
#menuBar #search .searchDropdown {
	height: 23px;
	width: 168px;
	margin-left: 5px;
	padding-right: 2px;
	background: url("../images/search_drop_bg.png");
}

#menuBar #search .selectField {
	background: url("../images/search_select_bg.png");
	border: 0px;
	position: relative;
	width: 168px;
	margin-left: 5px;
	height: 17px;
	/* color: #03659F;*/
	color: rgb(100,100,100);
	float: left;
	padding-top: 3px;
	padding-bottom: 3px;
	padding-left: 6px;
	padding-right: 6px;
}

#menuBar #search .selectField:hover {
 	cursor: pointer;
}

#menuBar #search img {
	margin-left: 5px;
	border: 0px;
	float: left;
}
/* e-valjaanded jms tabel */
#tab1 td {
	color: #ebebeb;
	padding: 3px;
	text-align: center;
}

#content {
	clear: both;
	background-color: white;
}

#content #left {
	width: 741px;
	float: left;
	padding-left: 15px;
	padding-right: 9px;
	line-height: 18px;
}

#content #left p {
	margin-top: 10px;
	padding: 0px;
}

#content #left #path {
	float: left;
	width: 702px;
	line-height: 17px;
	font-size: 11px;
	margin-top: 10px;
	margin-left: 3px;
	margin-bottom: 10px;
	color: #616161;
}

#content #left a,
#content #left a:visited {
	color: #036AA4;
}

#content #left #path a,
#content #left #path a:visited {
	color: #616161;
}

#content #left .frontLinks {
	width: 450px;
	margin-left: 3px;
	float: left;
}

#content #left .frontLinks p {
	margin-top: 2px;
	margin-bottom: 2px;
}

#content #left .frontLinks .separator  {
	width: 432px;
	height: 1px;
	background-color: #E9E9E9;
	margin-top: 8px;
	margin-bottom: 8px;
}

#content #left #frontPartners {
	margin-top: 10px;
	margin-bottom: 10px;
}

#content #left #frontPartners img {
	border: 0px;
	float: left;
	margin-right: 25px;
}

#content #left #frontBoxContainer {
	width: 262px;
	float: right;
	margin-right: 5px;
}

#content #left #frontBoxContainer .newsletter {
	background: url("../images/newsletter.png") 0px 1px no-repeat;
	padding-left: 20px;
	margin-top: 10px;
	color: #036FA9;
	display: block;
	float: left;
}

#content #left #frontBoxContainer .rss {
	background: url("../images/feed.png") 0px 1px no-repeat;
	margin-left: 14px;
	margin-top: 10px;
	padding-left: 20px;
	color: #F37A11;
	display: block;
	float: left;
}

#content #left #frontBoxContainer .twitter {
	background: url("../images/twitter.png") 0px 1px no-repeat;
	margin-left: 14px;
	margin-top: 10px;
	color: #2D96C0;
	padding-left: 20px;
	display: block;
	float: left;
}


#content #left #frontBoxContainer .boxContent p {
	margin-top: 0px;
	margin-bottom: 0px;
	padding: 0px;
}

#kuup {
	color: #C0C0C0;
	font-size: 11px;
}

#content #left #frontBoxContainer .boxContent a {
	font-family: Tahoma, Verdana, Helvetica;
	font-weight: bold;
}

#content #left #frontBoxContainer .boxContent .separator {
	width: 228px;
	height: 1px;
	background-color: #E9E9E9;
	margin-top: 8px;
	margin-bottom: 8px;
}

#content #left #frontBoxContainer .boxContent {
	padding-left: 16px;
	padding-right: 16px;
	padding-top: 12px;
	padding-bottom: 12px;
	border-left: 1px solid #E9E9E9;
	border-right: 1px solid #E9E9E9;
	background-color: #FAFAFA;
}

#content #left #frontBoxContainer .boxTop {
	width: 262px;
	height: 4px;
	background-image: url("../images/front_box_top.png");
}

#content #left #frontBoxContainer .boxBottom {
	width: 262px;
	height: 4px;
	background-image: url("../images/front_box_bottom.png");
}

#content #left #calendarHeading {
	margin-left: 15px;
	width: 520px;
	text-align: center;
	margin-bottom: 10px;
	display: block;
	float: left;
}

#content #left #calendarEvents {
	float: left;
	display: block;
	width: 390px;
}

#content #left #calendarEvents .eventTop,
#content #left #calendarEvents .eventBottom {
	margin-left: 15px;
	width: 380px;
	height: 4px;
	background-repeat: no-repeat;
	display: none;
}

#content #left #calendarEvents .eventBottom {
	margin-bottom: 10px;
}

#content #left #calendarEvents .event {
	margin-left: 15px;
	padding-left: 10px;
	padding-right: 10px;
	width: 358px;
	font-size: 11px;
	display: none;
}

#content #left #calendarEvents .event .description {
	display: none;
}

#content #left #calendarEvents .event h1 {
	font-weight: bold;
	margin: 0px;
	font-size: 11px;
}

#content #left #calendarEvents .event a {
	color: black;
}

#content #left #calendarEvents .event p {
	margin: 0px;
	padding-bottom: 3px;

}

#content #left #calendarEvents .event.color1 {
	border-left: 1px solid #E6E6E6;
	border-right: 1px solid #E6E6E6;
	background-color: #FAFAFA;
}

#content #left #calendarEvents .event.color2 {
	border-left: 1px solid #EDD5D5;
	border-right: 1px solid #EDD5D5;
	background-color: #F9F1F1;
}

#content #left #calendarEvents .event.color3 {
	border-left: 1px solid #D2E8D8;
	border-right: 1px solid #D2E8D8;
	background-color: #ECF5EE;
}

#content #left #calendarEvents .event.color4 {
	border-left: 1px solid #D0DCE2;
	border-right: 1px solid #D0DCE2;
	background-color: #E7EDF0;
}

#content #left #calendarEvents .event.color5 {
	border-left: 1px solid #E7E8D3;
	border-right: 1px solid #E7E8D3;
	background-color: #F3F3E8;
}

#content #left #calendarEvents .eventTop.color1 {
	background: url("../images/calendar_event_top_color_1.png");
}

#content #left #calendarEvents .eventBottom.color1 {
	background: url("../images/calendar_event_bottom_color_1.png");
}

#content #left #calendarEvents .eventTop.color2 {
	background: url("../images/calendar_event_top_color_2.png");
}

#content #left #calendarEvents .eventBottom.color2 {
	background: url("../images/calendar_event_bottom_color_2.png");
}

#content #left #calendarEvents .eventTop.color3 {
	background: url("../images/calendar_event_top_color_3.png");
}

#content #left #calendarEvents .eventBottom.color3 {
	background: url("../images/calendar_event_bottom_color_3.png");
}

#content #left #calendarEvents .eventTop.color4 {
	background: url("../images/calendar_event_top_color_4.png");
}

#content #left #calendarEvents .eventBottom.color4 {
	background: url("../images/calendar_event_bottom_color_4.png");
}

#content #left #calendarEvents .eventTop.color5 {
	background: url("../images/calendar_event_top_color_5.png");
}

#content #left #calendarEvents .eventBottom.color5 {
	background: url("../images/calendar_event_bottom_color_5.png");
}


#content #left #calendarFilters {
	float: right;
	display: block;
	width: 132px;
font-size: 10px
}

#content #left #calendarFilters .checkbox {
	position: relative;
	top: 2px;
}

#content #left #calendarFilters .filterTop,
#content #left #calendarFilters .filterBottom {
	width: 130px;
	height: 4px;
	background-repeat: no-repeat;
}

#content #left #calendarFilters .filterBottom {
	margin-bottom: 2px;
}

#content #left #calendarFilters .filter {
	padding-left: 10px;
	padding-right: 10px;
	width: 108px;
}

#content #left #calendarFilters .filter.color1 {
	border-left: 1px solid #E6E6E6;
	border-right: 1px solid #E6E6E6;
	background-color: #FAFAFA;
}

#content #left #calendarFilters .filter.color2 {
	border-left: 1px solid #EDD5D5;
	border-right: 1px solid #EDD5D5;
	background-color: #F9F1F1;
}

#content #left #calendarFilters .filter.color3 {
	border-left: 1px solid #D2E8D8;
	border-right: 1px solid #D2E8D8;
	background-color: #ECF5EE;
}

#content #left #calendarFilters .filter.color4 {
	border-left: 1px solid #D0DCE2;
	border-right: 1px solid #D0DCE2;
	background-color: #E7EDF0;
}

#content #left #calendarFilters .filter.color5 {
	border-left: 1px solid #E7E8D3;
	border-right: 1px solid #E7E8D3;
	background-color: #F3F3E8;
}

#content #left #calendarFilters .filterTop.color1 {
	background: url("../images/calendar_event_filter_top_color_1.png");
}

#content #left #calendarFilters .filterBottom.color1 {
	background: url("../images/calendar_event_filter_bottom_color_1.png");
}

#content #left #calendarFilters .filterTop.color2 {
	background: url("../images/calendar_event_filter_top_color_2.png");
}

#content #left #calendarFilters .filterBottom.color2 {
	background: url("../images/calendar_event_filter_bottom_color_2.png");
}

#content #left #calendarFilters .filterTop.color3 {
	background: url("../images/calendar_event_filter_top_color_3.png");
}

#content #left #calendarFilters .filterBottom.color3 {
	background: url("../images/calendar_event_filter_bottom_color_3.png");
}

#content #left #calendarFilters .filterTop.color4 {
	background: url("../images/calendar_event_filter_top_color_4.png");
}

#content #left #calendarFilters .filterBottom.color4 {
	background: url("../images/calendar_event_filter_bottom_color_4.png");
}

#content #left #calendarFilters .filterTop.color5 {
	background: url("../images/calendar_event_filter_top_color_5.png");
}

#content #left #calendarFilters .filterBottom.color5 {
	background: url("../images/calendar_event_filter_bottom_color_5.png");
}


#content #right {
	color: black;
	line-height: 18px;
	width: 195px;
	float: right;
	padding-left: 6px;
	padding-right: 6px;
	padding-top: 6px;
	padding-bottom: 6px;
}

#content #right a,
#content #right a:visited {
	color: black;
}

#content #right img {
	border: 0px;
	margin-bottom: 6px;
}

#content #right p {
	margin-top: 0px;
	margin-bottom: 12px;
	margin-left: 12px;
	margin-right: 12px;
	font-size:11px;
}

#content #right .events {
	list-style:none; 
	margin-left: 12px;
	margin-right: 12px;
	margin-top: 0px;
	margin-bottom: 12px;
	padding: 0px;
}

#content #right .events li {
	background: url("../images/brown_arrow.png") 0px 6px no-repeat; 
	padding-left:13px; 
	line-height:18px;
	padding-bottom:5px;
}

#footer {
	background-repeat: repeat-x;
	padding-top: 25px;
	background-image: url("../images/bottom_bg.png");
	min-width: 972px;
}

#footer ul {
	width: 126px;
	list-style: none;
	margin-left: 3px;
	margin-right: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	padding: 0px;
	float: left;
}

#footer ul li,
#footer ul li a,
#footer ul li a:visited {
	width: 126px;
	overflow: hidden;
	color: #717171;
	line-height: 14px;
	margin-top: 3px;
	margin-bottom: 3px;
}

#footer ul li {
	text-decoration: none;
}

#footer .title {
	color: #333333;
	font-weight: bold;
	text-decoration: none;
	margin-bottom: 6px;
}

#footer .separator {
	background-color: #ECE8E5;
	height: 100px;
	width: 1px;
	float: left;
	margin-left: 17px;
	margin-right: 17px;
}

#searchSelect {
	width: 100px;
	height: 177px;
	z-index: 3;
	position: absolute;
	background-color: white;
	border-bottom: 1px solid #ECE8E5;
	border-left: 1px solid #ECE8E5;
	border-right: 1px solid #ECE8E5;
	visibility: hidden;
}

#searchSelect p {
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 10px;
	margin-right: 10px;
	padding: 4px;
}

#searchSelect p:hover {
	cursor: pointer;
	background-color: #ECE8E5;
}

#content #leftMenu {
	float: left;
}

#content #leftMenu ul {
	list-style: none;
	width: 194px;
	margin: 0px;
	padding-left: 5px;
	padding-right: 4px;
	padding-top: 8px;
	padding-bottom: 10px;
	background-color: #FAFAFA;
	border-left: 1px solid #EAEAEA;
	border-right: 1px solid #EAEAEA;
}

#content #leftMenu ul li {
	margin: 0px;
	padding: 3px 0px 0px;
}

#content #leftMenu ul li a,
#content #leftMenu ul li a:visited {
	color: #003A63;
}

#content #leftMenu ul li.level2 a,
#content #leftMenu ul li.level2 a:visited {
	padding-left: 10px;
	color: #4D90B5;
}

#content #leftMenu ul li.separator {
	background-image: url("../images/leftmenu_separator.png");
	height: 3px;
	line-height: 3px;
	display: block;
	overflow: hidden;
	background-repeat: no-repeat;
	background-position: 0px 3px;
}

#content #leftMenu .top {
	background-image: url("../images/leftmenu_top.png");
	width: 205px;
	height: 3px;
}

#content #leftMenu .bottom {
	background-image: url("../images/leftmenu_bottom.png");
	width: 205px;
	height: 3px;
}

#content #textContent {
	float: left;
	position: relative;

	width: 515px;
	margin-left: 15px;
}

/* andruse ul */
#content #textContent ul {
	padding-left: 15px;
	margin-top: 7px;
	margin-bottom: 7px;
}

#content #textContent h1 {
	margin-top: 0px;
	margin-bottom: 15px;
	padding: 0px;
	color: #14579c; /*#0069A3;*/
	font-size: 16px;
	float: left;
}

#content #textContent h2 {
	margin-top: 0px;
	margin-bottom: 15px;
	font-size:14px;
}

#content #textContent h3 {
	margin-top: 0px;
	margin-bottom: 11px;
	font-size:13px;
}

/*a*/#printbutton {
	display: block;
	float: right;
	background: url("../images/printer.png");
	width: 16px;
	height: 16px;
	margin: 0 0 10px 20px;
}

#content #textContent p.date {
	color: #A9A9A9;
	font-size: 11px;
	margin: 0px;
	padding: 0px;
	margin-bottom: 5px;
}

#content #textContent p {
	padding: 0px;
	margin-top: 0px;
	margin-bottom: 10px;
}

#content #textContent a,
#content #textContent a:visited {
	color: #0069A3;
}

/* DATEPICKER OVERRIDES */

.ui-widget {
	font-family: /*Tahoma*/Verdana, Helvetica, serifSansSerifMonospace;
}

.ui-datepicker .ui-datepicker-prev {
	left: 32px;
	top: 12px;
	width: 8px;
	height: 12px;
}

.ui-datepicker .ui-datepicker-prev span {
	background-image:url("../images/calendar_prev.png");
	background-position: 0px 0px;

}

.ui-datepicker .ui-datepicker-prev a {
border: 1px solid black;
}

.ui-datepicker .ui-datepicker-prev:hover,
.ui-datepicker .ui-datepicker-next:hover {
	cursor: pointer;
}

.ui-datepicker .ui-datepicker-next {
	left: 158px;
	top: 12px;
	width: 8px;
	height: 12px;
}

.ui-datepicker .ui-datepicker-next span {
	background-image:url("../images/calendar_next.png");
	background-position: 0px 0px;
}

.ui-datepicker .ui-datepicker-week-end a {
	background-color: #D8D8D8;
}

.ui-datepicker .ui-datepicker-prev.ui-corner-all,
.ui-datepicker .ui-datepicker-next.ui-corner-all {
	background: none;
	border: 0px;
	background-color: none;
	-moz-border-radius: 0px/*{cornerRadius}*/; 
	-webkit-border-radius: 0px/*{cornerRadius}*/; 
	border-radius: 0px/*{cornerRadius}*/;
}

.ui-datepicker .ui-datepicker-header a,
.ui-datepicker .ui-datepicker-header a:visited,
.ui-datepicker .ui-datepicker-header a:hover{
	background-color: white !important:
	background: none;
}

.ui-datepicker {
	width: 191px;
	padding: 2px;
	border: 0px;
}

.ui-datepicker .ui-corner-all {
	border: 0px;
	background: none;
}

.ui-datepicker .ui-datepicker-header {
	background: none;
	margin-bottom: 2px;
}

.ui-datepicker .ui-datepicker-title {
	color: #3D3E3E;
	font-size: 12px;
}

.ui-datepicker .ui-datepicker-calendar th {
	display: none;
}

.ui-datepicker .ui-datepicker-calendar td {
	background-color: white;
}

.ui-datepicker td span, .ui-datepicker td a {
	text-align: center;
}

.ui-datepicker .ui-state-default, 
.ui-datepicker .ui-widget-content {
	background:none;
	background-color: #F4F3F3;
	border:0px;
	color:#8E8D8D;
}

#content #right .ui-datepicker-calendar a,
#content #right .ui-datepicker-calendar a:visited {
	color:#8E8D8D;
}

#content #right .ui-datepicker-calendar a:hover {
	color: black;
	background-color: #D9D8D8;
}

.ui-datepicker .ui-datepicker-calendar td.ui-datepicker-current-day a,
.ui-datepicker .ui-datepicker-calendar td.ui-datepicker-today a {
	background-color: #818181;
	color: white !important;
}


/* POPUP LAYERS */

#askBox,
#loginBox {
	width: 99%;
	height: 99%;
	border: 1px solid #E9E9E9;
	background-color: white;
	position: absolute;
	z-index: 2;
}

#askBox #close,
#loginBox #close {
	float: right;
	position: absolute;
	left: 465px;
	top: 10px;
}

#askBox #close img,
#loginBox #close img {
	border: 0px;
}

#askBox #content,
#loginBox #content {
	margin: 10px;
}

#askBox #content h1,
#loginBox #content h1 {
	color: #084A71;
	margin-top: 5px;
	margin-bottom: 5px;
	padding: 0px;
}

#askBox #content .text,
#loginBox #content .text {
	width: 300px;
	font-family: inherit;
}

#askBox #content .submit,
#loginBox #content .submit {
	margin-top: 10px;
	border: 1px solid black;
	padding-top: 3px;
	padding-bottom: 3px;
	padding-left: 10px;
	padding-right: 10px;
	margin-right: 10px;
}

#askBox #content a,
#askBox #content a:visited,
#loginBox #content a,
#loginBox #content a:visited {
	color: #2E6482;
}

#askBox #content p,
#loginBox #content p {
	margin-top: 15px;
	margin-bottom: 15px;
	padding: 0px;
}

#askBox #content .fieldTitle,
#loginBox #content .fieldTitle {
	margin-top: 10px;
	margin-bottom: 3px;
}

#askBox #content .textarea {
	display: block;
	width: 400px;
	font-family: inherit;
	height: 70px;
	margin-bottom: 10px;
}

#darken {
	width: 100%;
	top: 0px;
	left: 0px;
	padding: 20px !important;
	background-color: black;
	position: absolute;
	z-index: 1;
	opacity:0.8;
	filter:alpha(opacity=80);
}

#content .contactsTable {
	width: 100%;
	border-collapse: collapse;
	border-left: 1px solid rgb(200,200,200);
	border-bottom: 1px solid rgb(200,200,200);
}

#content .contactsTable th {
	background-color: rgb(240,240,240);
}

#content .contactsTable th,
#content .contactsTable td {
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 2px;
	padding-bottom: 2px;
	border-right: 1px solid rgb(200,200,200);
	border-top: 1px solid rgb(200,200,200);
}

#content .contactsTable th {
	text-align: left;
}

#content #customPeriod .text {
	width: 60px;
	font-size: 11px;
}

#content #customPeriod td.title1 {

}

#content #customPeriod td.col1 {
	width: 70px;
}

#content #customPeriod td.title2 {
	width: 30px;
}

#content #customPeriod td.col2 {
	width: 70px;
}

#content #customPeriod td.col3 {
	width: 50px;
}

#content #customPeriod .button {
	width: 40px;
	border: 1px solid rgb(150,150,150);
	font-size: 11px;
}


#content #customPeriod td {
	font-size: 11px;
}

#content #customPeriod {
	border-collapse: collapse;
	width: 520px;
	height: 60px;
	overflow: hidden;
	background-image: url("../images/custom_period.png");
	background-repeat: no-repeat;
}

#level4 {
	width: 520px;
	color: rgb(150,150,150);
	float: left;
	margin-left: 15px;
	margin-bottom: 10px;
}

#level4 .top {
	width: 520px;
	height: 4px;
	background-image: url("../images/menu_level4_top.png");
}

#level4 .content {
	width: 498px;
	padding-left: 10px;
	padding-right: 10px;
	background-color: #F9F9F9;
	border-left: 1px solid #E7E7E7;
	border-right: 1px solid #E7E7E7;
}

#level4 .bottom {
	width: 520px;
	height: 4px;
	background-image: url("../images/menu_level4_bottom.png");
}

.active {
    font-weight: bold;
}


/*
VORMI/EPOE jaoks uus CSS
*/

/*pole vaja lehele panna*/#content {
    overflow: hidden;
}


/* general styles*/
.clear {
    clear: both;
}

/* shop */
.shop-list-item, .shop-product {
    border: 1px solid #C8C8C8;
    -webkit-border-radius: 3px;
     -khtml-border-radius: 3px;
       -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 8px 6px 10px;
    margin: 0 0 10px;
    overflow: hidden;
    position: relative;
}
.shop-list-item a img, .shop-product a img {
    border: none;
}
.shop-img {
    width: 140px;
    padding: 0 0 0 5px;
    float: left;
}

.shop-img-big {
    width: 310px;
    padding: 0 0 0 5px;
    float: left;
}
.shop-img img {
    margin: 0 auto;
    display: block;
    max-width: 130px;
}
.shop-img-big img {
    margin: 10px auto;
    display: block;
    max-width: 300px;
}
.shop-shortdesc {
    width: 330px;
    padding: 0 10px;
    float: left;
    color: #616161;
}

.shop-shortdesc-detail {
    width: 178px;
    padding: 0 10px;
    float: right;
    color: #616161;
}
.shop-shortdesc h2 {
    margin: 0 0 6px;
    padding: 0 0 3px;
    font-size: 14px;
    color: #000000;
    border-bottom: 1px solid #C8C8C8;
}
#content #textContent .shop-shortdesc h2 a {
    color: #000000;
    text-decoration: none;
}
.shopitem-h2 {
    width: 178px;
    float: left;
    margin: 0 0 6px;
    padding: 2px 0 7px;
    font-size: 14px;
    color: #000000;
    border-bottom: 1px solid #C8C8C8;
}
#content #textContent .shopitem-h2 a {
    color: #000000;
    text-decoration: none;
}
.shop-desc {
    width: 348px;
    padding: 0 10px 0 10px;
    float: left; 
}
.shop-desc p {
    clear: both;
    overflow: hidden;
}
.shop-list-buttons {
    width: 93px;
    padding: 0 5px 0 0;
    position: absolute;
    top: 50%;
    right: 0;
    margin: -43px 0 0 0;
}
/*a*/.shop-button {
    
    /*background: #fafafa;*/
    border: 1px solid #0069A3;
    -webkit-border-radius: 3px;
     -khtml-border-radius: 3px;
       -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 3px 6px;
    margin: 0 0 8px;
    text-align: center;
}
a.shop-orderbutton1 {
    width: 122px;
    margin: 12px auto 0;
}
a.shop-orderbutton2 {
    float: right;
    width: 85px;
    margin: 0 -5px 0 0;
}
a.shop-orderbutton3 {
    width: 122px;
    margin: 12px 0;
}
/*span*/.shop-price {
    font-weight: bold;
}
table#cart, table#confirm-products, table#confirm-client {
    border: 1px solid #c8c8c8;
    border-collapse: collapse;
    width: 515px;
}
table#cart td, table#confirm-products td, table#confirm-client td {
    border: 1px solid #c8c8c8;
    padding: 5px;
}
table#confirm-client {
    border-bottom: 0px none;
    margin-bottom: -1px;
}


colgroup#cart-productname {
    width: 302px;
}
colgroup#cart-amount {
    width: 62px;
}
colgroup#cart-sum {
    width: 135px;
}
td#cart-sum-name {
    font-weight: bold;
    text-align: right;
}
td#cart-sum-num {
    font-weight: bold;
}
table#cart img table#confirm-products img {
    float: left;
    margin: 0 10px 10px 0;
    max-width: 50px;
}
#content #left #textContent /*a*/.cart-name {
    margin: 0 0 10px;
    color: #000000;
}
#content #left #textContent /*a*/.cart-remove {
    color: #c8c8c8;
    float: left;
}
#content #left #textContent /*a*/.cart-remove:hover {
    color: #666666;
}
.cart-amount-input {
    width: 29px;
    padding: 1px;
    border: 1px solid #c8c8c8;
    margin: 0;
}
/*a*/.cart-back {
    float: left;
    margin: 10px 0;
    padding: 3px 6px;
}
/*a*/.cart-next {
    float: right;
    margin: 10px 0;
    padding: 3px 6px;
}
/*a*/.order-confirm {
    display: block;
    margin: 10px auto;
    width: 122px;
}

/*a*/.cart-change-amount {
    line-height: 12px;
    font-size: 12px;
    text-align: center;
    width: 12px;
    height: 12px;
    padding: 0 1px 2px;
    float: left;
    margin: 1px 1px 0 0;
    border: 1px solid #c8c8c8;
}
#content #left #textContent /*a*/.cart-change-amount {
    color: #c8c8c8;
}
#content #left #textContent /*a*/.cart-change-amount:hover {
    text-decoration: none;
    border-color: #666666;
    color: #666666;
}


/*forms*/
form table {
    width: 100%;
}
input.f, textarea.f {
    width: 250px;
	/*
    border-bottom: 1px solid #c8c8c8;
    border-left: 1px solid #c8c8c8;
    border-right: 1px solid #aaaaaa;
    border-top: 1px solid #aaaaaa;
	*/
    margin: 0 0 8px;
}
select.f {
	width: 250px;
    min-width: 154px;
}
input[type="submit"] {
    float: right;
}




#menuBar #mainMenu li ul {
  top:26px;
}
#footer ul li, #footer ul li a, #footer ul li a:visited {
  overflow: visible;
}

#departments {
	margin-left: auto;
	margin-right: auto;
	width:900px
}

