/*========================================*/
/* CSS by Andrus Roosaare: www.nnl.ee */
/*========================================*/
/*===============================*/
/* general */
/*===============================*/
body {
    background:url(../images/bg_top.jpg) repeat-x top #949599;
    margin:0;
    padding:0;
}
body,td,th,p,div {
    font-size:12px;
    color:#666;
    font-family:geneva, arial, helvetica, sans-serif;
    line-height:140%;
}
h1,h2,h3,h4,h5,input,textarea {
    font-family:geneva, arial, helvetica, sans-serif;
}
h2, h3 {
    font-weight:bold;
}
h1 {
    font-size:18px;
    color:#fe7e00;
    margin:0;
    padding:0 0 12px 0;
    font-weight:normal;
    width:380px;
    float:left;
}
h2 {
    font-size:14px;
    color:#568E07;
    margin:0 0 6px 0;
    padding:6px 0 1px 0;
}
h2 a, h2 a:visited {
	color:#025354 !important;
}
h3 {
    font-size:13px;
    margin:0;
    padding:12px 0 0 0;
	border-bottom:1px solid #eee;
	color:#666;
	clear:both;
}
a:link, a:visited {
    color:#fe7e00;
    text-decoration:underline;
}
a:hover, a:active {
    text-decoration:none;
}
a img {
    border:none;
}
p {
    text-align:justify;
    margin:0;
    padding:6px 0 6px 0;
	clear:both;
}
ul {
    padding:6px 0 6px 25px;
    margin:0;
    list-style-type:circle;
}
input,textarea {
    background-color:white;
    color:#666;
    border:1px solid #B2B2B2;
    font-size:12px;
    margin:0;
    padding:0;
}
input:hover,textarea:hover {
    border:1px solid #999;
}
option, select {
    color:#8b5c29;
    padding:0;
}
form {
    margin:0;
    padding:0;
}
b, strong {
    color:#666;
}
b a,b a:visited,strong a,strong a:visited,a b,a:visited b,a strong,a:visited strong {
	color:#fe7e00 !important;
}
/*===============================*/
/* layout */
/*===============================*/
#main_menu {
    width:780px;
    clear:both;
    margin:auto;
    padding:24px 0 17px 0;
    text-transform:uppercase;
    line-height:110%;
}
#main_menu a:link, #main_menu a:visited {
    color:white;
    text-decoration:none;
    padding:25px 20px 20px 20px;
    font-size:11px !important;
    font-weight:bold;
}
#main_menu a:hover, #main_menu a:active {
    background-image:url(../images/bg_a_hover.jpg);
    background-position:0 1px;
    background-repeat:repeat-x;
}
.active_menu {
    background-image:url(../images/bg_a_hover.jpg);
    background-position:top;
    background-repeat:repeat-x;
}
#main_menu ul {
    margin:0;
    padding:0;
}
#main_menu ul li {
    display:inline;
    padding:0;
    margin:0;
}
#main_bg {
    width:100%;
    float:left;
    background-color:white;
}
#main {
    width:780px;
    margin:auto;
}
#header_main {
    width:780px;
    height:371px;
    float:left;
}
#header {
    width:780px;
    height:122px;
    float:left;
}
#flashcontent {
    width:780px;
    height:122px;
    background-image:url(../images/header.png);
    background-repeat:no-repeat;
    padding:0 0 0 0;
}
#flashcontent_main {
    width:780px;
    height:371px;
    background-image:url(../images/header_main.png);
    background-repeat:no-repeat;
    padding:0 0 0 0;
}
#link_kodulehed, #link_aritarkvara, #link_erilahendused {
    float:right;
}
#slogan {
    width:145px;
    padding:30px 15px 0 31px;
    float:left;
    line-height:160%;
    font-size:11px;
    color:#b17301;
}
#search {
    float:right;
    padding:2px;
    width:160px;
    border:1px solid #B2B2B2;
}
#search:hover {
    border:1px solid #ccc;
}
#search input {
    background:none !important;
    border:none;
    font-size:11px;
    padding:0 0 0 10px;
    float:left;
}
#search_button input {
    padding:0 0 0 10px;
    float:right;
}
#middle_p {
    padding:0 0 20px 0;
    clear:both;
    width:780px;
    float:left;
}
#middle {
    clear:both;
    width:770px;
    padding:0 0 0 10px;
    float:left;
}
#middle_bg {
    clear:both;
    width:780px;
    float:left;
    margin:10px 0 0 0;
    background-image:url(../images/bg_middle.png);
    background-repeat:repeat-y;
}
#content {
    width:550px;
    float:left;
    padding:10px 0 0 10px;
    line-height:150%;
	background-image:none !important;
}
.content {
	background-color:white;
}
.content_block_right, .content_block_left {
    width:48%;
}
.content_block_left {
    float:left;
	clear:left;
}
.content_block_right {
    float:right;
	clear:right;
}
#side_menu {
    width:190px;
    float:left;
    line-height:190%;
}
#side_menu ul {
    list-style-type: none; 
    padding:11px 5px 10px 20px; 
    margin:0;
}
#side_menu a, #side_menu a:visited {
    background-image:url(../images/side_menu_link.jpg);
    background-repeat:no-repeat;
    background-position:left;
    color:#666;
    text-decoration: none;
    padding:0 0 0 18px;
}
#side_menu a:hover {
    text-decoration:underline;
}
.active_sub a, .active_sub a:visited {
    background-image:url(../images/illust_menu.gif);
    background-repeat:no-repeat;
    background-position:left;
    color:#fe7e00 !important;
}
#side_menu ul ul {
    list-style-type: none; 
    padding:0 5px 3px 10px; 
    margin:0;
	line-height:160%;
}
#side_menu ul ul .active_sub a,#side_menu ul ul .active_sub a:visited {
	background-image:none;
    color:#666 !important;
	text-decoration:underline !important;
}
#side_menu ul ul .active_sub a:hover {
	text-decoration:none !important;
}
#side_menu ul ul a, #side_menu ul ul a:visited {
	background-image:none;
    color:#555 !important;
    padding:0 0 0 18px;
}
#side_menu img {
    margin:20px 0 0 0;
}
a#side_banner,a#side_banner  {
    background-image:none !important;
}
#footer {
    width:100%;
    float:left;
    clear:both;
    padding:20px 0 20px 0;
    background-image:url(../images/bg_bottom.jpg);
    background-repeat:repeat-x;
    background-position:top;
    text-align:center;
    color:white;
    line-height:190%;
    font-size:11px;
}
#footer a,#footer a:visited {
    color:white;
}
/*===============================*/
/* modules */
/*===============================*/
/*===============================*/
/* news */
/*===============================*/
.news_body img {
    margin:5px;
}
.news_list {
	padding:2px 0 2px 0;
	float:left;
}
.news_list h2 {
	width:400px;
	float:left;
	font-weight:normal;
	font-size:12px;
	clear:none !important;
	margin:0;
	padding:0;
}
p.news_date {
    padding:0;
    margin:0;
    color:#999;
	clear:none !important;
	float:right;
	width:100px;
	text-align:right;
}
.news_space {
    border-bottom:1px dotted #e3e0c4;
    height:1px;
    width:100%;
}
/*===============================*/
/* gallery */
/*===============================*/
.gallery_main_list td {
    text-align:center;
    vertical-align:top;
    padding:3px 1px 3px 1px;
    text-transform:uppercase;
    font-size:10px;
}
.gallery_main_list img {
    padding:4px;
    border:1px solid #e3e0c4;
}
.gallery_pic_show {
    text-align:center;
    margin:12px 0 0 0;
}
.gallery_pic_title {
    text-align:center;
    text-transform:uppercase;
    font-size:10px;
    padding:5px;
}
.gallery_pic_show img {
    padding:8px;
    border:1px solid #e3e0c4;
}
.gallery_nav {
    text-align:center;
    font-size:10px;
    text-transform:uppercase;
    padding:10px 70px 20px 70px;
    margin:5px 0 0 0;
    border-top:1px dotted #e3e0c4;
}
.gallery_nav a, .gallery_nav a:visited {
    text-decoration:none;
    margin:0 50px 0 50px;
}
/*===============================*/
/* send to friend */
/*===============================*/
#sendfriend_window {
    background-image:url(../images/bg_content.png);
    background-repeat:repeat-x;
    background-color:#fefef4;
    padding:10px;
    margin:0;
}
#sendfriend {
    float:left;
    width:150px;
    padding:3px 0 0 0;
}
/*===============================*/
/* newsletter */
/*===============================*/
#newsletter_body h1 {
    font-size:12px;
    margin:0;
    padding:6px 0 6px 0;
    color:#8b5c29;
}
.nl_row {
    float:left;
    clear:both;
    border-bottom:1px dotted #e3e0c4;
    padding:3px 0 3px 0;
    width:100%;
}
.nl_date {
    width:100px;
    float:left;
}
.nl_heading {
    width:400px;
    float:left;
}
/*===============================*/
/* poll */
/*===============================*/
#poll_table {
    width:100%;
    margin:0 0 10px 0;
    padding:12px 0 10px 0;
    border-bottom:1px dotted #e3e0c4;
}
#poll_table td {
    padding:4px 0 4px 0;
}
input.radio_b {
    background:none !important;
    border:none !important;
}
#poll_vasta {
    float:left;
    margin:0 12px 0 0;
    cursor:pointer;
    width:70px;
    text-align:center;
}
input#poll_vasta {
    height:22px !important;
    padding:0 2px 0 2px;
}
a.poll_button {
    background-color:#fdfcf7;
    color:#b5ae67;
    border:1px solid #e3e0c4;
    margin:0;
    padding:1px 2px 0 2px;
    float:left;
    height:19px !important;
    width:120px;
    text-align:center;
}
a.poll_button, a.poll_button:visited {
    text-decoration:none;
}
/*===============================*/
/* feedback */
/*===============================*/
.spacer {
    border-bottom:1px dotted #e3e0c4;
    padding:4px 0 10px 4px;
}
/* First page */
#first_content #search {
    margin:0 0 10px 0;
}
#first_content {
    width:750px;
    float:left;
    padding:10px 10px 0 0;
    line-height:150%;
    background-color:white;
}
.first_content_block_left, .first_content_block_middle {
    border-right:1px solid #ccc;
    min-height:160px;
}
.first_content_block_left {
    width:220px;
    float:left;
}
.first_content_block_right {
    width:166px;
    float:right;
    text-align:left;
}
.first_content_block_right p {
    text-align:left;
}
.first_content_block_middle {
    width:314px;
    float:left;
    padding:0 0 0 30px;
}
.first_content_block_middle ul {
    list-style-type: none; 
    padding:11px 5px 0 0; 
    margin:0;
    line-height:180%;
}
/*.first_content_block_middle a, .first_content_block_middle a:visited {
    background-image:url(../images/side_menu_link.jpg);
    background-repeat:no-repeat;
    background-position:left;
    color:#666;
    text-decoration: none;
    padding:0 0 0 18px;
}
.first_content_block_middle a:hover {
    text-decoration:underline;
}*/
.first_content_block_middle h1 {
    width:250px;
    padding:0;
    margin:0;
    float:none;
    color:#568E07;
	font-size:14px;
	font-weight:bold;
}
.first_content_block_middle img {
	padding:3px;
	border:1px solid #ccc;
	margin:15px 0 0 0;
}
.first_content_block_middle img:hover {
	border-color:#8CC63F;
}
/* portfolio */
.port_row {
	width:100%;
	float:left;
	border-bottom:1px solid #ccc;
	margin:0 0 10px 0;
	padding:0 0 10px 0;
}
.port_img {
	float:left;
	padding:10px;
	width:200px;
	border:1px solid #ccc;
}
.port_img a,.port_img a:visited {
	padding:0;
	margin:0;
}
.port_img:hover {
	background-color:#efefef;
}
.port_img img {
	border:1px solid #aaa;
}
.port_desc {
	float:right;
	width:300px;
	padding:0 0 0 10px;
}
.port_desc h3 {
	color:#568E07;
	margin:0 0 20px 0;
}
/* */
.soft_img {
	float:left;
	padding:10px;
	width:200px;
	border:1px solid #ccc;
	text-align:center;
}
.soft_img a,.soft_img a:visited {
	padding:0;
	margin:0;
}
/* */
#paringu_vorm {
	width:100%;
}
#paringu_vorm td {
	padding:2px 0 2px 0;
}
#paringu_vorm input,#paringu_vorm textarea {
	width:100%;
}
#paring_tulp {
	width:140px;
}