/*  
Theme Name: Swampscott
Description: Custom theme for the Swampscott Public Library
Author: Kevin Grocki for NOBLE, Inc.
*/


/*************************************************** 

	CSS for WordPress Theme for
	Swampscott (MA) Public Library
	North of Boston Library Exchange (NOBLE)
	Summer 2007
	
***************************************************/





/* ------ BEGIN IMAGE ELEMENTS ------ */


/* --- LINKS / HOVERS --- */



/* =====================
   First, zero out all
   linked image borders
   across all browsers.
   ====================== */

a img, a:link img { border-width: 0; border: 0; }

/* =====================
   Then, define defaults.
   ====================== */

    a:link img, a:visited img {
    background: #fff;
    border: 2px solid #999; /*** darker gray ***/
    padding: 5px;
    margin: 10px 5%;
        }

   a:hover img {
    border: 2px solid #666;
    padding: 5px;
    margin: 10px 5%;
	} 

/* =====================
   Plain ol' image 
   with no class. 
   Poor classless image. 
   ====================== */

img {
    float: left;
    margin: 0 20px 10px 0;
    padding:0;
    border: none;
    vertical-align: bottom;
	}

/* =====================
   Now let's set classes.
   Ah, classy images! 
   ====================== */

/* --- FLOATS / BORDERS --- */

img.leftborder {
    float: left;
    border: 1px solid #bebebe; /*** darker gray ***/
    padding: 0;
    margin: 10px 5%;
        }

img.right {
    float: right;
    margin: 0 0 10px 20px;
        }

img.rightborder {
    float: right;
    border: 1px solid #bebebe; /*** darker gray ***/
    padding: 0;
    margin: 0 0 10px 20px;
        }

/* --- CAPTIONS / CREDITS --- */

div.box {
    float: left;
    vertical-align: middle;
    min-width; 100px;
    margin: 5px 10px;
    padding: 5px;
    border-top: 1px solid #bebebe; /*** light gray ***/
    border-bottom: 1px solid #bebebe; /*** light gray ***/
    background: #e6e6e6; /*** lighter gray ***/
        }

div.box p.caption {
    text-align: left;
    font: small Helvetica, Arial sans-serif bold;
}

div.box p.credit {
    text-align: right;
    font: x-small Verdana, Helvetica, Arial sans-serif;
    font-style: italic;
}

/* --- FLICKR IMAGES --- */

div.flickrbox {
        float: left;
        width: 125px;
        height: 150px;
        padding-right: 5px;
        background: transparent;
        }

a img.flickrimg {
        padding: 7px 10px 15px 7px;
	margin: 5px;
	background: transparent url(http://l.yimg.com/www.flickr.com/images/set_case.gif) no-repeat;
	width: 77px;
	height: 76px;
        border: none;
}	

/* --- CUSTOM IMAGES --- */

img.bookcover {
    background: #fff;
    border: 1px solid #bebebe; /*** darker gray ***/
    padding: 1px;
    margin: 10px 5%;
        }

.facebook a:link img, .facebook a:link img, .facebook a:visited img, .facebook a:hover img, .facebook a:active img {
    background: #eaeaea;
    border: 0;
    padding: 0;
    margin: 2% 0 20px 4px;
        }

.meebobox {
    background: #eaeaea;
    border: 0;
    padding: 9px;http://www.noblenet.org/swampscott/wp-admin/theme-editor.php?file=/var/www/html/swampscott/wp-content/themes/swampscott/style.css&theme=Swampscott&a=te&scrollto=2478
    margin: 10px 0;
        }

.imagecodr { float: left; font: normal 54% "Lucida Sans Unicode",sans-serif;}
.imagecodr a:link img { border: none; margin-bottom: 0; margin-top: 5px; padding: 0;}

/* ------ END IMAGE ELEMENTS ------ */



body {
	background: #fff; color: #000;
	font: small Verdana, Helvetica, Arial, sans-serif;
	}

http://www.noblenet.org/swampscott/wp-admin/theme-editor.php?file=/var/www/html/swampscott/wp-content/themes/swampscott/style.css&theme=Swampscott&a=te&scrollto=2478
/* ------ BEGIN MUSEUM PASS ELEMENTS ------ */

ul.museumimg {
     width: 85%;
     list-style: none;
     margin: 0;
     padding: 0;
     }

ul.museumimg li {
     display: block;
width: 100%;
     float: left;	
     margin: 10px 0 0 0;
     }

ul.museumimg li a {
     font-size: 1.2em;
     line-height: 1.75em;
     }

ul.museumimg li a img {
     float: right;
     margin: 0 0 25px 10px;	
     }

.clear {clear: both;}


/* ------ COMMON ELEMENTS ------ */

blockquote {
	border-left: 5px solid #800028;
	padding-left: 10px;
	}

a:link, a:visited {
	background: transparent; color: #006880; /*** turquoise ***/
	text-decoration: underline;
	}
	
a:active, a:hover {
	background: transparent; color: #800028; /*** cranberry ***/
	text-decoration: underline;
	}
	
.floatright {float: right;}

.floatleft {float: left;}

.turquoise { color: #006880;  }

.cranberry {color: #800028; }

.purple {color: #5a429c; }

.hot {border: 2px dotted #800028; padding: 25px; margin: 50px;  }


h1 {font-size: 1.9em; margin: .8em 0; font-weight: normal; color: #800028; letter-spacing: -1px; }

h2 {font-size: 1.6em; margin: .6em 0; font-weight: normal; color: #006880;}

h3 {font-size: 1.4em; margin: .4em 0; font-weight: normal; color: #555;}

h4 {font-size: 1.2em; margin: .2em 0; font-weight: normal;}
	
/* ------ HEADER ELEMENTS ------ */

#header {
	background: #fff; color: #F7F7F7;
	height: 150px;
	width: 100%;
  	border-top: 6px solid #404040; /*** dark gray ***/
	padding: 1px 0;
	background: #fff;;
	}
	
#header .logo {
	float: left;
	border: none;
	}

#header .small {
	font-size: 0.6em;
	}
	
		
	
#headerkids {
	height: 125px;
	width: 100%;
  	border-top: 6px solid #404040; /*** dark gray ***/
	padding: 1px 0;
        margin-top: 10px;
	background: #fff;;
background: url(images/headerkids.jpg) top left repeat-x;
}

#headerkids p {
font: 0.9em Arial, Helvetica, sans-serif;
font-variant: small-caps;
color: #fff;
padding-right: 5px;
text-align: right;
}

#.kidstitle { margin-bottom: -10px;
        padding:0; 
        font-variant: small-caps;
	}

#.kidstitle a, #.kidstitle a:visited {
	background: inherit; color: #006880; /*** turquoise ***/
	font: 1.2em Arial, Helvetica, sans-serif;
	text-decoration: none;
        font-weight: normal;
	}
	
	
#.kidstitle a:hover{
	background: inherit; color: #000;
	text-decoration: none;
	}
	
	
	

#header.teens .title a:hover{
	background: inherit; color: #ddd;
	text-decoration: none;
	}
	
#header.teens .title {
	background: transparent; color: #000; /*** white ***/
	padding-top: 25px;
	text-align: center;
	}
	
#header.teens .title a, .title a:visited {
	background: inherit; color: #5A429C; /*** purple ***/
	font: 3em Impact, Arial, Helvetica, sans-serif;
	text-decoration: none;
    font-weight: normal;
    
	}



	
	
	
.address {
	background: transparent; color: #800028; /*** cranberry ***/
	font: 1.25em Verdana, Arial, Helvetica, sans-serif;	
	text-align: center;
	}
	
.title {
	background: transparent; color: #000; /*** white, black ***/
	padding-top: 25px;
	text-align: center;
	}
	
.title a, .title a:visited {
	background: inherit; color: #800028; /*** cranberry ***/
	font: 3em "Trebuchet MS", Arial, Helvetica, sans-serif;
	text-decoration: none;
    font-weight: bold;
	}

.title a:hover{
	background: inherit; color: #666;
	text-decoration: none;
	}
	
/* ------ TOPNAV ELEMENTS ------ */

#topnav {
	background: #800028; color: #fff; /*** cranberry; white ***/
	width: 100%;
	padding: 5px 0;
	text-align: right;
	}
	
#topnav li {
	display: inline;
	list-style-type: none;
	}
		
#topnav ul, #topnav ul li {
	margin:0; padding:0;
	}
	
#topnav ul li a {
	background: #800028; color: #ddd; /*** cranberry; gray ***/
	font-size: 12px;
	padding: 5px 20px 5px 20px;
	text-decoration: none;
	text-transform: uppercase;
	}

#topnav ul li a:hover {
	background: #666; color: #F7F7F7;
	}
	
/* ------ SIDEBAR ELEMENTS ------ */

#sidebar {
	background: #006880; color: #F7F7F7; /*** turquoise ***/
	float: left;
	width: 188px;
	padding: 10px 0 10px 10px;
	text-align: left;
	border: 1px solid #888;
	}

#sidebar ul {
	list-style: none;
	margin: 0 0 10px 0; padding:0;
	}
	
	
#sidebar ul li a {
	display: block;
	background: inherit; color: #fff;
	text-decoration: none;
	padding: 5px 2px 5px 10px; margin: 0;
	border-bottom: 1px solid #2F727f;
	}

#sidebar ul li a:hover {
	background: #999; color: #F7F7F7;
	text-decoration: none;
        border-right: 5px solid #800028;
	}
	
#sidebar p {
	padding-left: 10px;
	}

/* ------ RIGHT BOX ELEMENTS ------ */

#rightbox {
	float: right;
	background: #EAEAEA;
        width: 188px;
	}

#rightbox .hours {
	background: transparent; color: #800028; /*** cranberry ***/
	margin: 0 10px 0 0;
	text-align: right;
	}

#rightbox img {
	padding: 10%;
	}
	
#rightbox h2, h3 {
	text-align: left;
	padding: 5px;
	}

#submenu {
	float: right;
	padding: 10px 5px;
	}	
	
#submenu ul {
	list-style: none;
	}

 #submenu .page_item { 	background: #eaeaea; color: #006880;
	text-decoration: none;
	padding: 5px 2px 5px 10px;
	border-bottom: 1px solid #ddd; }

 #submenu .current_page_item { color: #800028; /*** cranberry ***/ }
	
/* ------ CONTENT ELEMENTS ------ */
	
#content {
	line-height: 1.8em;
	background: #fff; 
	margin: 0 20em 10px 225px;
	padding: 2px 2em 30px 0;
	}

#contentwide {
	line-height: 1.8em;
	background: #fff; color: #555;
	margin: 0 10px 10px 225px;
	padding: 2px 25px 30px 0;
	}

#content ul, #contentwide ul {
        margin-left: 25px;
        }
	
#content li, #contentwide li {
	list-style: square;
        line-height: 2em;
        margin-left: 25px;
	}

#content ul li a, #contentwide ul li a {
	text-decoration: underline;
	}

#content ul li a:hover, #contentwide ul li a:hover {
	text-decoration: none;
	}

#content .post, #contentwide .post {
	margin: 0 0 25px 0;
	float: left;
	width: 100%;
        }


	
/* ------ FOOTER ELEMENTS ------ */

#footer {
	background: #800028; color: #F7F7F7; /*** cranberry  ***/
	width: 100%;
	margin: 0 auto 0;
	padding: 10px 0;
	text-align: center;
	border-top: 6px solid #006880; /*** turquoise ***/
	}
	
#footer a, #footer a:visited {
	background: inherit; color: #EAEAEA;
	text-decoration: none;
	}
	
#footer a:hover {
	background: inherit; color: #EAEAEA;
	text-decoration: none;
	}

/* ------ SEARCH ELEMENTS ------ */
	
#searchform {
	margin: 0 0 0 5px; 
	overflow: hidden;
	}
	
#inputbox {
	width: 100px;
	background: #F7F7F7; color: #666;
	font: 12px Verdana, Helvetica, sans-serif;
	padding: 3px;
	margin: 8px 0 0 0;
	border: 1px solid #999;
	}

#submit {
	border: 1px solid #333;
	background:#666; color:#E7E7E7;
	text-transform: uppercase;
	}

.alert h2 {
       color: red;
       text-transform: uppercase;
       }
.alert p {
       color: red;
       font-weight: bold;
       text-transform: uppercase;
       }

.welcome1 h2{
        color: #800028;
        }

.welcome2 h2{
        color: #006880;
        }

.welcome3 h2{
        color: #5a429c;
        }

/* Recommended by http://codex.wordpress.org/CSS */
/* Begin */
.aligncenter, div.aligncenter, .article .aligncenter img, .aligncenter img.article, .aligncenter img, img.aligncenter
{
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft
{
	float: left;
}

.alignright
{
	float: right;
}

.alignright img, img.alignright
{
	margin: 1em;
	margin-right: 0;
}

.alignleft img, img.alignleft
{
	margin: 1em;
	margin-left: 0;
}
