/* --------------------------------------------------
CSS for Lynn Public Library website
-------------------------------------------------- */

/* ------ BODY ELEMENTS ------ */
body {
margin: 0 auto;
padding: 0; 
font: small "Lucida Grande", Geneva, Arial, Helvetica, sans-serif;  
background: #e7e7f6 url(images/bg2.gif) repeat-y top center;
color: #333;
}

/* ------ MAIN CONTAINER ELEMENTS ------ */
#maincontain {
width: 750px;
margin: 0 auto;
padding: 0;
color: #333;
background: #fff;
}


/* ------ HEADER ELEMENTS ------ */
#header {
margin: 10px 0 5px 0;
width: 750px;
height: 150px;
background: #9999ff url(images/header2.jpg) top left no-repeat;
position: relative;
}

#header .title {
position: absolute;
margin: 3px 0 0 425px;
font: 28px Tahoma, Arial, Helvetica, sans-serif;
}

#header .info {
position: absolute;
margin: 20px 0 0 472px;
font: 12px Tahoma, Arial, Helvetica, sans-serif;
font-weight: bold;
}

/* ------ TOP NAVIGATION ELEMENTS ------ */
#topnav {
position: absolute;
margin: 118px 0 0 0;
text-align: center;
width: 750px;
color: #666;
background: #E7E7F6;
border-bottom: 2px solid #9999ff;
}

#topnav ul {
margin: 0;
padding: 0 0 0 20px;
}

#topnav li {
list-style: none;
display: block;
padding: 1px 20px;
float: left;
}

#topnav a {
text-decoration: none;
display: block;
font: small Tahoma, Arial, Helvetica, sans-serif;
font-weight: bold
}

#topnav a:hover {
background: #fff;
}



/* ------ LEFT NAVIGATION ELEMENTS ------ */
#navcontain {
float: left;
width: 155px;
margin: 0;
padding 0;
font: small Tahoma, Arial, Helvetica, sans-serif; 
}

#navcontain ul {
list-style: none;
width: 155px;
margin: 10px 0 0 0;
padding: 0;
}

#navcontain li {
margin-bottom: 1px;
}

#navcontain li a {
text-decoration: none;
display: block;
margin: 0;
padding: 1px 0 1px 10px;
border-top: 1px solid #ccc;
border-right: 5px solid #9999ff; 
border-bottom: 2px solid #9999ff; /* line at bottom */
background: #ccccff;
color: #666;
font-weight: bold;
width: 100%;
}

#navcontain li a:hover {
border-right: 5px solid #333366;
border-bottom: 2px solid #333366;
background: #9999cc;
color: #333366;
}

#navcontain .infobox {
clear: left;
float: left;
width: 145px;
margin: 10px 0 10px 0;
padding: 0 10px;
background: #9999cc;
color: #333366;
text-align: justify;
font: 85% Tahoma, Arial, Helvetica, sans-serif; 
border-right: 5px solid #333366;
border-bottom: 2px solid #333366;
}

.infobox h2 {
letter-spacing: 0px;
}

#navcontain a img {
border:0;
}


/* ------ CONTENT ELEMENTS ------ */
#content {
margin: 15px 10px 10px 185px;
padding: 0;
}

#contentwide {
margin: 15px 10px 10px 10px;
padding: 0;
}

#content .dropcap {
float: left;
font: 500% "Times New Roman", Times, serif;
line-height: 80%;
color: #333366; 
}


/* ------ BLOGGER ELEMENTS ------ */

#news {
padding: 5px 15px 25px 15px;
background: #E7E7F6;
margin-bottom: 25px;
border: #fff dotted;
}

.itemtitle {
font: 130% Tahoma, Arial, Helvetica, sans-serif;
color: #333;
padding: 8px 0;
letter-spacing: 2px;
}

.itembody {
font: small Arial, Helvetica, sans-serif;
padding: 0 10px 10px 10px;
color: #555;
border-bottom: 1px solid #ccccff;
}	

/* ------ KIDS ELEMENTS ------ */

#kidshours ul {
float: right;
padding: 0;
margin: 0;
font-size: small;
border: 2px solid #ccccff;
}

#kidshours li {
list-style: none;
padding: 1px 10px;
margin: 0;
background: #DBDDF6;
}

.red {
color: #8B1B27;
margin-top: 25px;
}

.green {
color: #1C711C;
margin-top: 25px;
}

.yellow {
color: #FBC000;
margin-top: 25px;
}

.blue {
color: #20427F;
margin-top: 25px;
}


/* ------ HOURS TABLE ELEMENTS ------ */
.hours {
float: left;
}

.hours h2{
text-align: right;
margin: 0;
padding: 5px;
}

/* ------ TABLE ELEMENTS ------ */
.tableinfo {
width: 520px; 
margin-bottom: 25px;
}

.tableinfo th, .tableinfo td {
padding: 0.05em 0.35em;
border-bottom: 1px solid #ddd;
}

.tableinfo td {
text-align: center; 
font: smaller Verdana, "Andale Mono", Courier, "Courier New", monospace;
}

.tableinfo thead th {
text-align: center; 
vertical-align: bottom; border: 1px solid #9999ff;
border-width: 0 1px 1px 0;
}

.tableinfo th {
text-align: right;
border-right: 1px solid #9999ff;
border-bottom-style: dotted;
}

/* ------ FORM ELEMENTS ------*/

#form {
text-align: right;
margin-right: 200px;
margin-bottom: 25px;
}

/* ------ COLUMN ELEMENTS ------ */

.columncontain {
float: left;
display: block;
width: 100%;
padding: 0;
margin: 0 auto;
border-bottom: 1px solid #ccccff;
}

.colleft, .colright {
padding: 5px 0;
margin: 0;
}

.colleft {
float: left;
width: 50%;
}

.colright {
clear: right;
float: right;
width: 50%;
font: small "Times New Roman", Times, serif;
}

/* ------ COMMON ELEMENTS ------ */

a {
text-decoration: underline;
font-weight: bold;
color: #333366;
}

a:hover { 
text-decoration: none;
font-weight: bold;
color: #666;
}

a.toc {
text-decoration:none;}

h1 {
font: 150% Georgia, Times, serif;
color: #333366;
}

h2 {
font: 130% Tahoma, Arial, Helvetica, sans-serif;
color: #333;
padding-top: 5px;
letter-spacing: 2px;
}

h3 {
font: 110% Tahoma, Arial, Helvetica, sans-serif;
color: #666;
}

dt {
font-weight: bold;
padding-top: 8px;
}

dl {
margin-left: 50px;
}

.hidden {
display: none;
}

.small {
font-size: smaller;
}

.bold {
font-weight: bold;
}

.center {
text-align: center;
}

.smallrightbold {
margin: 0;
padding: 0;
text-align: right;
font: 70% Tahoma, Arial, Helvetica, sans-serif;
font-weight: bold;
color: #666;
}

.floatright {
float: right;
padding: 0;
margin: -10px 0 0 10px;
}

.floatleft {
float: left;
padding: 0;
margin: 10px 10px 0 0;
}

.caption {
margin: 0;
padding: 0;
font-size: small;
text-align: center;
padding-bottom: 3px;
}

.floatright img, .floatleft img {
padding: 2px;
background: #ccc;
color: #303030;
border: 4px solid #f0f0f0;
}


/* ------ FOOTER ELEMENTS ------ */

#footer {
clear: both;
padding-top: 10px;
font: 85% Geneva, Arial, Helvetica, sans-serif;
font-weight: bold;
text-align: center;
color: #666;
border-top: 1px solid #ccccff;
}

/* ------ WordPress Image Styles (for Feed2js) ------- */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}
/* End WordPress Image Styles*/
