/* 
	Nõustamiskeskused
	(c) 2009 Nex Data Systems
*/
html {overflow-y: scroll;}
body {background:#f9f9f9 url(img/bgg.png) repeat-x left top; color:#404040; font:76% Verdana,Tahoma,Arial,sans-serif; margin:0 auto; padding:0; text-align: center;}
#wrap1 {color:#404040; margin:20px auto 20px auto; width:960px; background: #ececec; padding: 5px}
#wrap2 {color:#404040; margin:0 auto; background: #fff; padding: 5px; text-align: left;}

#header {
	background:#e6f5c5 url(img/hbgg.png) repeat-x left top;
	padding-top: 35px;
}

#logo h1 {
	font-size: 2em;
	color:#899d5d;
	padding: 0px 0 0 15px;
	margin: 0;
}

#logo h1 a:hover{
	text-decoration: none;
}

form#headersearch {
	margin:0 0 10px 0;
	padding: 5px;
	width: 170px;

}
#headersearch label {
    display:inline;
    font-weight: normal;
}

#headersearch input {
	margin: 3px 3px 0 0;
	font-size:1em;
	font-weight: normal;
	vertical-align: text-top;
	outline-style: none;
	outline-width: 1px;
    padding: 0px;
    border:1px solid #899d5d;
    font: normal 1em Verdana, sans-serif;
    color:#333;

}
#headersearch input.txt {
    padding: 1px;
	height: 1.2em;
	width: 100px;
	border:solid 1px #999999;
}


#tmenu1 {
	background:#CDEB8B;
	margin: 0 0 5px 0;
	border-top: 2px solid #899d5d;
}

#tmenu1 ul {
	margin:0;
	padding: 0 0 0 30px;
	list-style: none;
}

#tmenu1 li{
	display: inline;
	margin: 0;
	padding: 0;
}

#tmenu1 ul li a{
	padding: 3px;
	font-weight: bold;
	text-decoration: none;
	color:#899d5d;
	background:#CDEB8B;

	float: left;
	display: block;
	width: 120px;
	margin: 0 2px 0 0; /*Margin between each menu item*/
	text-align: center;
}

#tmenu1 ul li a:hover, #tmenu1 ul li a.current{
	color: #fff;
	background: #899d5d;
}

#tmenu1 ul li a:hover {
	text-decoration: underline;
}

#tmenu1right {
	float: right;
	padding: 3px;
	margin: 0 3px 0 0;
}

#tmenu1right img {
	border: 0;
	vertical-align: -2px;
}

#tmenu1right a {
	text-decoration: none;
	color:#899d5d;
	font-weight: bold;
}

#tmenu1right a:hover {
	text-decoration: underline;
}

#wrap3 {
	background:#fff;
}

#tleft {
	width: 180px;
	padding: 10px;
	float: left;
}

#tmenu2-wrap {
	width:180px;
	margin-bottom: 15px;
	border-top: 2px solid #899d5d;
	border-bottom: 2px solid #899d5d;
}

#tmenu2 {
	width:180px;
	margin: 0;
	border-top: 5px solid #CDEB8B;
	border-bottom: 5px solid #CDEB8B;
}

#tmenu2 a {
	text-decoration: none;
	color:#404040;
}

#tmenu2 a.current {
	font-weight: bold;
	background:#e6f5c5;
}

#tmenu2 ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	width: 180px;
}

#tmenu2 ul li {
	display:inline;
	padding:0;
	width: 180px;
}

#tmenu2 ul li a {
	width: 174px;
	padding:5px 1px 5px 5px;
	margin-bottom:2px;
	float:left;
	background:#fff;
	border-top: 1px dashed #899d5d;
	font-weight: normal;
}

#tmenu2 ul li a:hover {
	background:#e6f5c5;
	text-decoration: underline;
}

#tmenu2 ul li:first-child a {
	border-top: 0;
}

#tmenu2 ul ul {
	margin: 0 0 0 15px;
	width: 165px;
}

#tmenu2 ul ul li {
	width: 165px;
}

#tmenu2 ul ul li a {
	width: 159px;
	border-top: 0;
	padding:2px 1px 2px 5px;
	margin-bottom:0px;
}

#left-content h1, #right-content h1 {
	font-size: 1.2em;
}
#left-content h1, #right-content h1, #left-content p, #right-content p{
	margin: 0.3em 0;
}

#left-content .csc-frame, #right-content .csc-frame {
	padding: 0 3px 0 5px;
}

#content-wrap {
	text-align:left;
	background:#fff;
	padding: 10px 10px;    /* CC padding */
	width: 529px;
	margin: 0 0 0 200px;
}

#content-wrap.avaleht {
	width: 725px;
	margin: 0 0 0 100px;
}

#content {
	float:left;
	background:#fff;
	margin:	10px 0px;
}

#path {
	margin:	0px;
	border-bottom: 1px solid #aaa;
	color: #aaa;
}

#path a {
	color: #aaa;
	text-decoration: none;
	font-weight: normal;
}

#path a:hover {
	color: #333;
	text-decoration: underline;
}

#lastchanged {
	margin:	10px 0px 0px 0px;
	font-style: italic;
	color: #aaa;
	clear: both;
}

#tright {
	width: 180px;
	padding: 10px;
	background-color: #fff;
	float: right;
}

#right-logos{
	margin-bottom: 15px;
}

#footer-wrap {
	font-size: 0.8em;
	text-align: left;
	color: #8C8C8C;
	width: auto;
	border-top: solid 1px #8C8C8C;
	padding: 6px;
	clear: both;
}

#footer-right {float: right;}
#footer-wrap a {color:#8c8c8c; text-decoration:none;}
#footer-wrap a:hover {color:#8c8c8c; text-decoration:underline;}

.clearer {clear: both;}

h1, h2, h3, h4, h1 a, h2 a, h3 a, h4 a {
	color:#899d5d;
	font-weight:bold;
	text-decoration: none;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover {
	text-decoration: underline;
}
h1 {
	font-size: 1.7em;
}

h2 {
    font-size:1.5em;
}

h3, h5 {
    font-size:1.17em;
}

h5 {
	font-weight:bold;
}

a {
	color:#899d5d;
	text-decoration: none;
	font-weight: bold;
}

a:hover {
	color:#899d5d;
	text-decoration: underline;
}

img {
    border: 0;
}

#content table {
    border-collapse: collapse;
    margin: 7px;
	font: 1em Verdana,Tahoma,Arial,sans-serif;
}
#content table.contenttable-1 td, table.contenttable-1 th {
    border: 1px solid #899d5d;
}

#content th {
    min-height: 29px;
    padding-left: 12px;
    padding-right: 12px;
    text-align: left;
    font-weight: bold;
}
#content td {
    padding: 3px 5px 3px 5px;
}

#content td p {
    margin: 0px;
}


/* form elements */
form {
    margin:10px;
    padding: 10px;
    border: 1px solid #899d5d;
    background-color: #c5e6f5;
}

form table {
	margin: 0 !important;
}

form table td {
	padding: 3px 1px !important;
}


fieldset {
    border:0;
    padding: 0;
}

label {
    display:block;
    font-weight:bold;
    margin:5px 0;
    vertical-align:middle;
}

input, select {
    padding: 2px;
    border: 1px solid #899d5d;
    font: normal 1em Verdana, sans-serif;
    color:#333;
}
textarea {
    width:400px;
    padding:2px;
    font: normal 1em Verdana, sans-serif;
    border: 1px solid #899d5d;
    height:200px;
    display:block;
    color:#333;
}
input.button, .csc-mailform-submit { 
    margin: 7px 0px; 
    font: bold 1em Arial, Sans-serif; 
    border: 1px solid #899d5d;
    padding: 2px 3px; 
    color: #333;	
}
input.radio, #headersearch input.radio, input.csc-mailform-radio {
    border: 0;
    vertical-align:middle;
}

.csc-mailform-radio legend {
    display: none;
}
.csc-mailform-radio label {
    display: inline;
}

.tx-indexedsearch form {
	margin: 0;
	padding: 5px;
}

/* frames */
.csc-frame-frame1 {
    background-color: #e6f5c5;
    padding: 0px 5px 0px 10px;
    border: 1px solid #899d5d;
}

.csc-frame-frame2 {
    padding: 0px 5px 0px 10px;
    border: 1px solid #899d5d;
}


/* Left, center and right alignment of text in paragraphs and cells.*/
p.align-left, h.news-single-timedata1.align-left, h2.align-left, h3.align-left, h4.align-left, h5.align-left, h6.align-left, td.align-left { text-align: left; }
p.align-center, h1.align-center, h2.align-center, h3.align-center, h4.align-center, h5.align-center, h6.align-center, td.align-center { text-align: center; }
p.align-right, h1.align-right, h2.align-right, h3.align-right, h4.align-right, h5.align-right, h6.align-right, td.align-right { text-align: right; }

.news-list-date, .news-single-timedata {
    float: right;
    font-size: 0.9em;
    font-weight:normal;
}

.news-list-item {
    margin-bottom: 20px;
}

.news-list-item .clearer, .news-single-item .clearer, .news-list-category, .news-single-category {
    display: none;
}

.news-single-timedata, .news-single-author, .news-single-imgcaption {
    font-size: 90%;
}

.news-single-item h2 {
    font-size: 1.7em;
}

.news-catmenu form {
    margin: 0;
    padding: 5px;
}

.filelinks div{padding-left:25px; background:url('/typo3/gfx/fileicons/default.gif') left top no-repeat; margin-bottom:10px;}
.filelinks span{display:block;}
.filelinks .filecount{display:none;} 
.filelinks a{ color:#899d5d; text-decoration: none; font-weight: bold; }
.filelinks a:hover{ text-decoration: underline;}
.filelinks .doc{background-image:url('fileicons/doc.png')!important;}
.filelinks .rtf{background-image:url('fileicons/rtf.png')!important;}
.filelinks .pdf{background-image:url('fileicons/pdf.png')!important;}
.filelinks .odt{background-image:url('fileicons/odt.png')!important;}
.filelinks .ods{background-image:url('fileicons/ods.png')!important;}
.filelinks .odp{background-image:url('fileicons/odp.png')!important;}
.filelinks .xls{background-image:url('fileicons/xls.png')!important;}
.filelinks .ppt{background-image:url('fileicons/ppt.png')!important;}
.filelinks .xlsx{background-image:url('fileicons/doc.png')!important;}
.filelinks .docx{background-image:url('fileicons/xls.png')!important;}

.tx-jkpoll-pi1 form {
    padding: 10px;
}
.tx-jkpoll-pi1 form h1 {
    margin: 0;
}
.tx-jkpoll-pi1 form label {
    display: inline;
}

