/* 
	Pärnu Keskraamatukogu 
	(c) 2008 Nex Data Systems
*/
/* html {overflow-y: scroll;} */
html{min-height:100%; margin-bottom:1px;}
body {background:#dcebf7; color:#404040; font:76% Verdana,Tahoma,Arial,sans-serif; margin:5px auto; padding:0; text-align: center;}
/* url(img/pat2.png) top left */
#wrap {color:#404040; margin:0 auto; width:960px; background: #fff; padding: 0px 0 5px 0; border:1px solid #b8d3f2; text-align: left;}
#header {
	position: relative;
	height: 125px;
	width:  950px;
	background: url(img/header.png) no-repeat center top;
	margin: 5px auto 0px;
	padding: 0;
}
#header-contact {
	color: #666;
	text-align: right;
	padding: 5px 7px;
	font-size:0.9em;
	font-weight: normal;
}
#header-contact a {color:#666; text-decoration:none;}
#header-contact a:hover {color:#666; text-decoration:underline;}



#menubar {
	position: relative;
	background: #8ebcff;
	margin: 0px 0px 5px 5px;
	width: 950px;
	border-bottom:3px solid #aba498;
	clear:left; float:left;
}

#lang-flags {
	position: relative;
	margin: 0px 0px 0px 5px;
	clear:left; float:left;
}


#t-menu1{
	background: #00F;
	margin: 0px 0px 0px 180px;
}

#t-menu1 ul{
	margin:0;
	padding: 0;
	list-style: none;
}

#t-menu1 li{
	display: inline;
	margin: 0;
	padding: 0;
}

#t-menu1 a{
	float: left;
	display: block;
	width: 120px;
	margin: 0 2px 0 0; /*Margin between each menu item*/
	padding: 5px;
	font-weight: bold;
	text-align: center;
	color: #333;
	text-decoration: none;
}

#t-menu1 a:hover, #t-menu1 a.current{
	color: #000;
	background: #b8d3f2;
}

#headersearch {
	clear:right; float:right;
	margin:0px;
	padding: 0;
	border: 0;
	background: #8ebcff;
}

#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 #b8d3f2;
    font: normal 1em Verdana, sans-serif;
    color:#333;

}
#headersearch input.txt {
    padding: 2px;
	height: 1.2em;
	width: 110px;
	border:solid 1px #999999;
}

.lang-flag {
	border: 0;
	margin: 7px 2px;
	vertical-align: text-top;	
}

.clear {clear: both;}

#t-left {clear:left; float:left; margin:0 0 0 0px; padding:0 0px 20px 5px; width:170px;}
#t-menu2 {clear:left; float:left; margin:0 0 0 0px; padding:0 0 0 0px; width:170px;}
#t-left ul.menu {list-style:none; margin:0 0 18px; padding:0; width:170px;}
#t-left ul.menu li {display:inline; padding:0; width:170px;}
#t-left ul.menu li a {background:url(img/menubg1.png) repeat-x bottom left #dcebf7;  border-bottom:1px solid #b8d3f2; border-left:4px solid #b8d3f2; border-right:1px solid #b8d3f2; border-top:1px solid #b8d3f2; color:#333; float:left; font-size:1em; font-weight:700; margin-bottom:2px; padding:5px 1px 5px 5px; text-decoration:none; width:166px;}
#t-left ul.menu li a:hover,#t-left ul.menu li a.current {background:url(img/menubg2.png) repeat-x bottom left #dcebf7; border-bottom:1px solid #8ebcff; border-left:4px solid #333; border-right:1px solid #8ebcff; border-top:1px solid #8ebcff; color:#333;}
#t-left ul.menu ul {font-size:0.9em; margin:0 0 0 15px; padding:0 0 5px 0; width:153px;}
#t-left ul.menu ul a {padding:3px 1px 3px 5px; width:151px;}
#t-left ul.menu ul ul {font-size:1em; width:140px;}
#t-left ul.menu ul ul a {width:118px;}


#t-right {clear:right; float:right; margin:0 0 0 0px; padding:0 0 0 10px; width:177px; height:100%}
.rightbox, #t-right .news-list-container .news-list-item {background: #fff; border:1px solid #b8d3f2; float:left; clear:left; color:#333; line-height:1.3em; margin:0 0 10px 0; padding:0px; width:170px;}
#t-right .news-list-container .news-list-item .news-list-date, #t-right .news-list-container .news-list-item .clearer {display:none}
.rightbox p, #t-right .news-list-container .news-list-item p, #t-right .news-list-container .news-list-item .news-list-morelink {font-size:0.9em;margin:5px; padding:0; }
.rightbox h1, #t-right .news-list-container .news-list-item h3 {font-size:0.9em; margin:0; padding:5px; color:#333; background:url(img/menubg2.png) repeat-x bottom left #dcebf7; zbackground:#b8d3f2;}
#t-right .news-list-container .news-list-item h3 a {color:#333; text-decoration:none;}
#t-right .news-list-container .news-list-item h3 a:hover {color:#333; text-decoration:underline;}

#t-content-wrap {background:#fff; line-height:1.5em; margin:	0px 5px 10px 193px; width: 574px; padding:1px 0; text-align:left;}
#t-content {float:left;}

#t-content h1 {font-size:1.8em; font-weight:bold; letter-spacing:-1px; margin:8px 0 10px 0px; padding:0; color:#56729b;}
#t-content h1 a, #t-content h2 a, #t-content h3 a, #t-content h4 a, #t-content h5 a {color:#56729b; text-decoration:none;}
#t-content h1 a:hover, #t-content h2 a:hover, #t-content h3 a:hover, #t-content h4 a:hover, #t-content h5 a:hover {color:#56729b; text-decoration:underline;}
#t-content h2 {font-size:1.5em; font-weight:400; margin:6px 0; padding:0; color:#56729b;}
#t-content p {font-size:1em; font-weight:normal; margin:5px 0 5px; padding:0; color:#333;}

#t-content a {color:#56729b; text-decoration:underline;}
#t-content a:hover {color:#56729b; text-decoration:underline;}

#t-content img {background:#ccc; border:4px solid #f0f0f0; color:#303030; display:inline; padding:1px; margin:0 10px 5px 0;}

#footer {background: #dcebf7; border-top:1px solid #aba498; border-bottom:1px solid #aba498; clear:both; color:#333; font-size:0.9em; margin:0px auto; padding:5px 0 5px 0; text-align:center; width:950px;}
#footer a {color:#333; text-decoration:none;}
#footer a:hover {color:#333; text-decoration:underline;}

/* tt_news */
.news-list-date {
display: block;
font-size:0.8em;
font-weight:normal;
}

hr.clearer, .news-single-author {
display: none;
}

.news-list-item h3 {
border-bottom: solid 1px #ddd;

}

.csc-searchform td, .csc-loginform td {
    border: 0;
}


.left {float:left; margin:10px 10px 5px 0;}
.right {float:right; margin:10px 0 5px 10px;}


table {
border-collapse: collapse;
margin: 7px;
}

th {
background:url(img/menubg1.png) repeat-x bottom left #dcebf7;
height: 29px;
padding-left: 12px;
padding-right: 12px;
text-align: left;
border: 1px solid #8ebcff;
}
td {
padding-left: 4px;
padding-right: 4px;
border: 1px solid #8ebcff;
}

td p {
    margin-bottom: 0px;
}

/* form elements */
form {
    margin:10px; padding: 0;
    border: 1px solid #8ebcff;
    background-color: #dcebf7;
}
fieldset {
    border:0;
}

label {
    display:block;
    font-weight:bold;
    margin:5px 0;
}
input {
    padding: 2px;
    border:1px solid #8ebcff;
    font: normal 1em Verdana, sans-serif;
    color:#777;
}
textarea {
    width:300px;
    padding:2px;
    font: normal 1em Verdana, sans-serif;
    border:1px solid #8ebcff;
    height:100px;
    display:block;
    color:#777;
}
input.button, .csc-mailform-submit { 
    margin: 7px 0px; 
    font: bold 1em Arial, Sans-serif; 
    border: 1px solid #8ebcff;
    background:url(img/menubg1.png) repeat-x bottom left #fff;
    padding: 2px 3px; 
    color: #333;	
}

/* Left, center and right alignment of text in paragraphs and cells.*/
p.align-left, h1.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; }
