body {background: #4F6998; padding:0; margin:0; color: #222222; font-family: Tahoma, Trebuchet MS, sans-serif; font-size:13px;}
td {color: #222222}
div#background {background: #ECECEC url(../images/body-back-top.jpg) repeat-x top left;}
div#allcontainer {background: url(../images/body-back-topleft.jpg) no-repeat top left; min-height:400px; padding:0; margin:0}

div.center {margin:0 auto; width: 900px;}

div#header {padding: 10px 0 10px 0; height:70px;}

img#site_logo {float:left; margin:0}

/* LINKS */

a {color: #F9961F; text-decoration:none}
a:hover {color: #D76000; text-decoration:none}

/* HEADINGS */

h1 {font-family:Helvetica, Arial; font-size:16px; padding-bottom:10px; font-weight:bold; text-transform:uppercase; color: #5377B7; background: url(../images/heading-bottom-border.gif) repeat-x bottom left;}
h2 {font-family:Tahoma, sans-serif; font-size:14px; font-weight:bold; color: #F38E05}
h3 {font-family:Tahoma, sans-serif; font-size:13px; font-weight:bold; color: #717171}

/* SITE CONTROLS */

div#sitecontrols {float:right; margin: 0;}

/* LANGUAGE BAR */

div#languagebox {float:left; display:inline; margin:4px 10px; padding:0 10px; border-right:1px dashed #B3C0D4; border-left:1px dashed #B3C0D4}
img.language_flag {margin: 0 3px}

/* SITE SEARCH */

div#searchbox {float:left;}
input#hidden_site_search_submit {display:none}
input#site_search_input {border:0; background: url(../images/textinput-back-left.gif) no-repeat top left; padding: 3px 0 4px 3px; margin:0;}
div.input_back {background: url(../images/textinput-back-right.gif) no-repeat top right; float:left; padding:0 2px 0 0;}
a#site_search_submit {margin: 0 5px 0 10px}

/* MAIN MENU */

ul#mainmenu {list-style:none; padding:0; float:right; margin:0;}
ul#mainmenu li {float:left; display:inline; padding:2px 15px; margin:0; border-right:1px dashed #B3C0D4;}
ul#mainmenu li.last {border:none}
ul#mainmenu li a {text-decoration:none; font-family: Arial; font-size:15px; text-transform:lowercase; color:#4972BA; cursor:pointer}
ul#mainmenu li a:hover {cursor:pointer}
ul#mainmenu li a:hover span.menuitem_title {background: url(../images/mainmenu-left-back.gif); color: white; cursor:pointer }
ul#mainmenu li a:hover span.menuitem_back_right {background: url(../images/mainmenu-right-back.gif); cursor:pointer}

span.menuitem_title {float:left; display:block; height:19px; padding:0 3px 0 6px;}
span.menuitem_back_right {width:4px; height:19px; display:block; float:left;}

a.selected_mainmenu_item span.menuitem_title {background: url(../images/mainmenu-left-back.gif); color: white; }
a.selected_mainmenu_item span.menuitem_back_right {background: url(../images/mainmenu-right-back.gif);}

/* BANNER */

/* BREADCRUMBS */

div#breadcrumbs {color:#A7A7A7; font-size:12px; font-family:Arial; padding: 5px 20px; text-transform:lowercase}
div#breadcrumbs a {color:#A7A7A7}
div#breadcrumbs a:hover {color: #D76000;}
div#breadcrumbs a.last {color:#F9961F}
div#breadcrumbs a.last:hover {color: #D76000;}


/* SIDEBAR */

div#sidebar {float:right; margin: 0; width:193px; color: #717171}
div#sidebar p {padding-left:10px;}
div.sidebarbox {margin:0 0 10px 0;}
div.sidebarbox_top {background: url(../images/sidebar-box-back-top.gif) no-repeat top left; height:9px; line-height:0px; font-size:0px}
div.sidebarbox_content {background: #E6E6E6; padding: 5px 15px; margin:0;}
div.sidebarbox_bottom {background: url(../images/sidebar-box-back-bottom.gif) no-repeat top left; height:9px; line-height:0px; font-size:0px}

div#sidebar h5 {font-family:Arial; font-size:16px; font-weight:normal; color: #597EC0; margin:0; padding: 0px 10px 3px 10px; border-bottom:1px solid #D6D4D2;}
div#sidebar h6 {font-family:Arial; font-size:13px; font-weight:bold; color: #717171; margin:0; padding: 10px 10px 3px 10px;}

/* SUBMENU */

ul#submenu {padding:0; margin:0; list-style:none; text-transform:lowercase;}
ul#submenu li {padding:0; margin:0; font-size:0px}
ul#submenu li a.submenu_item {font-size:13px; border-bottom:1px solid #D6D4D2; color: #717171; display:block; padding: 5px 2px 5px 18px;}
ul#submenu li a.submenu_item.selected {background: url(../images/menu-arrow.gif) 7px 10px no-repeat; color: #4972BA}
ul#submenu li a.submenu_item:hover {background: #EDEDED url(../images/menu-arrow.gif) 7px 10px no-repeat; color: #4972BA}
ul#submenu li.last a.submenu_item, ul#submenu li.last_haschildren a.submenu_item {border:none}

ul#lower_submenu {padding:0; margin:0; list-style:none; text-transform:lowercase;}
ul#lower_submenu li {padding:0; margin:0; font-size:0px}
ul#lower_submenu li a.lower_submenu_item {font-size: 11px; color: #717171; border-bottom:1px solid #D6D4D2; display:block; padding: 5px 2px 5px 36px;}
ul#lower_submenu li a.lower_submenu_item.selected {color: #4972BA}
ul#lower_submenu li a.lower_submenu_item:hover {background: #EDEDED; color: #4972BA}
ul#lower_submenu li.lower_submenu_newbutton {padding: 5px 2px 5px 36px;}
ul#submenu li.last_selected_haschildren ul#lower_submenu li.last a.lower_submenu_item {border:none}


/* POLLS */

ol.poll_list {font-size:13px; text-transform:lowercase; color:#717171}
input.poll_submit_button {margin-left:20px}

/* CONTENT */

div#content {width:700px; margin-bottom:10px; float:left;}
div#content_top {background: url(../images/content-back-top.gif) no-repeat top left; height:9px; line-height:0px; font-size:0px}
div#content_content {background: #E6E6E6; padding: 5px 20px; margin:0}
div#content_bottom {background: url(../images/content-back-bottom.gif) no-repeat top left; height:9px; line-height:0px; font-size:0px}

div#content_controls {float:right; margin: 15px 5px 0 0;}


/* LOGO SCROLLER */

div#logoscroller {clear:both; margin:0 0 10px 0; padding-top:50px;}
div#logoscroller_top {background: url(../images/logobar-back-top.gif) no-repeat top left; height:9px; line-height:0px; font-size:0px}
div#logoscroller_content {background: #E6E6E6; padding: 5px 20px; margin:0; height:45px; overflow:hidden;}
div#logoscroller_bottom {background: url(../images/logobar-back-bottom.gif) no-repeat top left; height:9px; line-height:0px; font-size:0px}

div#logos ul {padding:0; margin:0; height:70px;}
div#logos ul li {padding:0; margin: 0 10px; text-align:center;}
div#logos ul li img {vertical-align:center; margin: auto;}


/* FOOTER */

div#footer {border-top: 4px solid #475E89; background: #4F6998; color: #7CA1D7}
div#footer_content {margin:0 auto; padding:10px 20px; width:860px; font-size:12px;}

a.footer_link {text-decoration:underline; padding: 0 10px; border-right: 1px solid #7CA1D7}
a.footer_link:hover {color:white; text-decoration:underline}

span.footer_notes {padding-left:10px}

a#divid_link {float:right; display:block; width:41px; height:12px; background: url(../images/divid-veebilahendused-logo.gif) no-repeat 0 0;}
a#divid_link:hover {background-position: -41px 0;}

/* MISC */
input, textarea {font-family: Tahoma; font-size:12px; color:#333; padding: 2px;}
img {border:none}
.clear {clear:both}
.hidden {display:none}
a.JumpLink {margin-right:40px}

a.anchor {color: #222222;}

table.GeneralTable {border-collapse:collapse;}
table.GeneralTable td {border:1px solid white;}

table.GeneralTableColored {border-collapse:collapse;}
table.GeneralTableColored td {border:1px solid white; background: #FFE374; padding:2px;}
table.GeneralTableColored tr.headingrow td {background:#C0DEE9;}

/* DOCUMENTS */

h2.DocumentTitle {font-size: 13px; font-weight: bold;}
h2.DocumentTitle a {text-decoration: none;color: #495B76;}
h2.DocumentTitle, p.DocumentDesc, p.DocumentData {margin: 0px; padding: 0px; margin-left: 60px;}

/* BLOG */

div#BlogAddOns {margin-top:60px; background: #E6E6E6; border-left: 1px solid #ccc; padding-left:20px; margin-right:-38px}
div.BlogDetails {margin-top:5px; font-size:11px; color: #666}


/* PAGING */

div.Paging {margin-top: 23px; margin-bottom: 23px; border-top: 1px solid #DAE3FA; border-bottom: 1px solid #DAE3FA; text-transform: uppercase; text-align: center;	font-size: 11px; line-height: 23px;}
span.paging_current_page {padding: 2px 6px; font-weight:bold; margin: 2px; border: 1px solid white;}
a.paging_link {padding: 2px 6px; font-weight:bold; margin: 2px; border: 1px solid #EFEFEF;}
a.paging_link:hover {background-color: #FBFBFB; border: 1px solid #F4680B; text-decoration:none}


/* EDITOR CONFIGURATION */

h3.configuration_title {padding: 20px 0 5px 0; margin: 0 0 10px 0; background: url(../images/heading-bottom-border.gif) repeat-x bottom left;}
h3.configuration_title a {padding-left:20px; background: url(../images/1rightarrow.png) no-repeat;}
h3.configuration_title a.open {background-image: url(../images/1downarrow.png)}
h4.configuration_title {padding: 10px 0 5px 0; margin: 0 0 10px 0; background: url(../images/heading-bottom-border.gif) repeat-x bottom left;}

div.configuration {background: url(../images/conf_riba.jpg) repeat-y left; padding: 5px; border: 1px solid #EFEFEF; color:#666;}
div.configuration td {color:#666;}
div.configuration form {padding:0; margin:0}
div.configuration form fieldset legend {font-size: 13px; font-weight:bold; color:#666;}
div.configuration form label {font-size: 11px; font-weight:bold}
div.configuration form input#metadata_title {font-size: 11px; font-family:Lucida Sans Unicode}
div.configuration form textarea {font-size: 11px; font-family:Lucida Sans Unicode}
div.configuration fieldset {border-color:white}
div.front_conf {background:#E6E6E6}

/* CONTROLS */

.button_save, .button_copy, .button_find, .button_login {
	text-decoration: none;
	display: block;
	border: 1px solid;
	border-color: #ccc;
	min-height: 14px;
	_width: 22px;
	min-width: 18px;
	background-color:#F4F4F4;
	background-position: 2px 2px;
	background-repeat: no-repeat;
	margin: 3px 0 0 0;
	padding: 4px 3px 4px 24px;
	white-space: nowrap;
	font-size: 11px;
	font-weight: normal;
	float:left;
	color:#333;
}
.button_save { background-image: url(/styles/default/gfx/icons/16x16/actions/filesave.png);}
.button_copy { background-image: url(/styles/default/gfx/icons/16x16/editor/copy.png); }
.button_find { background-image: url(/styles/default/gfx/icons/16x16/actions/filefind.png); }
.button_login { background-image: url(/styles/default/gfx/icons/16x16/users/user.png); }
.button_save:hover, .button_copy:hover, .button_find:hover, .button_login:hover { border-color: #637FB1;	color: #000; background-color: #D2DFFA; text-decoration: none; }

/* FRONT PAGE */

div#front_artikkel_container {background: #4F6998; border-top: 7px solid #475E89; border-bottom: 7px solid #475E89; margin-bottom:10px;}
div#front_artikkel {margin:0 auto; width:900px; padding:10px; color: #e6e6e6}
h2.front_artikkel_title {font-family:Tahoma, sans-serif; font-size:14px; font-weight:bold; color: #F99D2D; text-transform:uppercase;}
a.front_artikkel_readmore_link {background: url(../images/readmore-links-back-articles.gif) no-repeat -78px 0; font-family: Tahoma; font-weight:bold; font-size:10px; color:white; text-transform:lowercase; display:block; float:right; width:58px; height:15px; text-align:right; padding: 3px 20px 0 0;}
a.front_artikkel_readmore_link:hover {background-position:0 0; color:white;}

a.front_newsitem_readmore_link {background: url(../images/readmore-links-back.gif) no-repeat 0px 0; font-family: Tahoma; font-weight:bold; font-size:10px; color:white; text-transform:lowercase; display:block; float:right; width:58px; height:15px; text-align:right; padding: 3px 20px 0 0;}
a.front_newsitem_readmore_link:hover {background-position:-78px 0; color:white;}

div#front_news_container {margin:10px 0}
div.front_news_top {background: url(../images/frontbox-back-top.gif) no-repeat top left; height:9px; line-height:0px; font-size:0px; margin-bottom:-3px;}
div.front_news_contents {background: url(../images/frontbox-back.gif) repeat-y; display:inline-block;}
div.front_news_links {background: url(../images/frontbox-back.gif) repeat-y; display:inline-block;}
div.front_news_bottom {background: url(../images/frontbox-back-bottom.gif) no-repeat top left; height:9px; line-height:0px; font-size:0px}
div.front_news_item {float:left; width:254px; padding:0 15px 0 15px; margin: 0 24px 0 0}
div.last_front_news_item {margin:0}

h2.front_news_title {font-family:Helvetica, Arial; font-size:14px; padding-bottom:10px; font-weight:bold; text-transform:uppercase; color: #5377B7; background: url(../images/heading-bottom-border.gif) repeat-x bottom left;}

div#front_footer {color: #898989}

a#divid_front_link {float:right; display:block; width:41px; height:12px; background: url(../images/divid-veebilahendused-logo-esilehel.gif) no-repeat 0 0;}
a#divid_front_link:hover {background-position: -41px 0;}


/* LOGIN */

.login_submit {display:none}

table.loginTable td {padding:3px}

div.error h2 {color:red}

/* SEARCH */

div#SearchTypeSelector, div#SearchPaging {border-color:#FFF; background-color:#EFEFEF;}
span#FoundResults {background-color:#FFF}
span#SearchCount {color: #F38E05}
div.ResultTitle a {color: #F38E05}