/*   
Theme Name: HBLL
Theme URI: http://lib.byu.edu/sites
Description: Main WordPress theme for the HBLL
Author: LIT Designers
Author URI: 
Template: 
Version: 1.0
*/

body								{ background: #001e4c; color: #345678; background: #001e4c; margin: 0; padding: 0 0 18px; }

a									{ color: #3673c2; text-decoration: none; }
a:hover								{ color: #4797ff; }

dl.link								{ clear: both; }
a.link, .link li, .link dd			{ padding-left: 7px; background: transparent url(images/link.gif) no-repeat scroll left .5em; }

.link li img						{ margin: 0; vertical-align: top; }

h1, h2, h3, h4, h5, h6				{ clear: both; }
h2									{ font-size: 1.5em; }
h2, h3								{ color: #345678; }
h4									{ color: #767675; font-weight: bold; margin-bottom: 0; }

h3									{ border: none; padding: 0; font-size: 1.1em; font-weight: normal; }

h2 img, h3 img						{ margin: 0; }

dd									{ margin-left: 0; }

ul									{ list-style: none; margin: 0 0 1.5em; }
li									{ background-image: none; }
ul li ul							{ margin: 0; }

blockquote							{ font-style: normal; }

em									{ background-color: transparent; font-style: italic; }

table								{ border-collapse: collapse; }
table td							{ vertical-align: top; }
table td img						{ margin-bottom: .5em; }

caption								{ background-color: transparent; }


/* Layout */
/* -------------------------------------------------- */

.container							{ clear: both; }

.primary							{ background: #f5f5e9; padding: 2em 0 1em; border-bottom: solid 1px #9c9b8c; }

.box								{ background: transparent; border: solid 1px #b0b099; padding: 1px; }
.box h3								{ background: #bfbeab url(images/box-head-bg.gif) repeat-x scroll left top; min-height: 33px; }

.nudge p							{ padding: 0 0 0 5px; }

#lower								{ margin-top: 2.5em; font-size: .9em; }
#lower ul							{ padding-left: 0; font-family: "Lucida Grande", Helvetica, Arial, sans-serif; }


/* Subnav (breadcrumbs) */
/* -------------------------------------------------- */

#subnav								{ font-size: 11px; color: #999; padding-top: .5em; }
#subnav .text						{ border-bottom: 1px solid #cdccb9; padding-bottom: 8px; }
#subnav h2							{ padding: 8px 35px 0 0; margin: 0; color: #345678; border-bottom: 1px solid #cdccb9; margin-bottom: .25em; }
#subnav h2 a						{ color: #345678; font-weight: bold; text-decoration: none; padding-bottom: .5em; } 
#subnav img { margin: 0; }

#subnav ul							{ display: inline; margin: 0; padding: 0; font-size: 1em; color: #999; padding-top: .5em; padding-left: .5em; }
#subnav li							{ display: inline; padding-left: .45em; background: 0; list-style: none; }
#subnav a							{ color: #768289; text-decoration: underline; }
#subnav a:hover						{ color: #96a2a9; }

#submenu li							{ float: left; } 
#submenu a							{ text-decoration: none; padding: 14px 15px 0; display: block; }


/* Main content */
/* -------------------------------------------------- */

#main-content						{ position: relative; overflow: hidden; font-family: Georgia, serif; font-size: 14px; }
#main-content h2					{ font-size: 1.5em; font-family: Georgia, serif; color: #4f4d46; margin-bottom: 0.7em; letter-spacing: -.5px; font-weight: normal; line-height: 1.3em; }
#main-content h2 a					{ color: #3673c2; }
#main-content h2 + p				{ margin-top: 0; }
#main-content h3					{ font-size: 1.2em; color: #4f4d46; font-weight: normal; margin-bottom: .25em; }
#main-content h3 + p				{ margin-top: 0; }
#main-content h4					{ font-size: 1.1em; color: #4f4d46; font-weight: normal; margin-bottom: .25em; }
#main-content h4 + p				{ margin-top: 0; }
#main-content h5					{ font-size: 1.1em; color: #4f4d46; font-weight: normal; margin-bottom: .25em; }
#main-content h5 + p				{ margin-top: 0; }

#main-content p + h3,
#main-content ul + h3,
#main-content ol + h3				{ margin-top: 1.5em; }

#main-content .post h2				{ margin-bottom: 0; font-size: 1.25em; }
#main-content h3 + h4				{ margin-top: 0.75em; }
#main-content p						{ color: #001e4c; clear: left; }
#main-content p img					{ padding: 4px; border: solid 3px #767675; background: #fff; max-width: 432px; height: auto; margin-top: 0; clear: left; float: none; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }

#main-content hr					{ background: none; margin: 1.5em 0 1em; border-bottom: 2px dotted #ccc; }

#main-content .date					{ color: #9c9b8c; margin-top: 0px; font-size: 11px; }
a.post-edit-link					{ background: #e1e1cd; color: #999; padding: 1px 4px 2px; font-size: 10px; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
a.post-edit-link:hover				{ background: #e8e8d3; }

#main-content ul					{ list-style-type: none; margin-left: .75em; padding: 0; }
#main-content ul li					{ margin-bottom: 0; padding-left: 9px; background: url(images/bullet.gif) no-repeat left 2px; color: #001e4c; }

#main-content ul.link				{ background: #e6e5d0; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; list-style-type: none; margin-left: 0; padding: 5px 10px; font-family: "Lucida Grande", Helvetica, Arial, sans-serif; font-size: 12px; }
#main-content ul.link li			{ margin-bottom: .25em; background: none; padding: 2px 0; }
#main-content ul.link li.first		{ border-bottom: solid 1px #d6d5c0; }
#main-content ul.link li a			{ font-weight: bold; }

#main-content ul#results			{ border-top: 1px solid #cdccb9; list-style-type: none; margin-left: 0; }
#main-content ul#results ul li		{ padding: 0; border: none; margin: 0; }

#main-content span.hsmall			{ font-size: .7em; font-weight: normal; }
#main-content .alignright			{ float: right; margin: 0em 0 1.5em 1.5em; }
#main-content .alignleft			{ margin: 0em 1.5em 1.5em 0; float: left; }

#main-content p img.noborder		{ padding: 0; border: 0; margin: 0 .5em .5em .5em; background: transparent; clear: none; vertical-align: middle; }

#main-content p img.nofloat			{ float: none; margin-left: 1.5em; }

#main-content p a img.link			{ float: left; margin: 0 1em 1.5em 0; padding: 3px; border:solid 4px #3673c2; }
#main-content p a img.link:hover	{ border:solid 4px #4797ff; }

#main-content .autosize				{ width: auto; height: auto; }

#main-content ul.nobullets			{ list-style-type: none; }
#main-content ul li ul.nobullets	{ margin-bottom: 1.5em; }
#main-content ul.noindent			{ margin-left: 0; }
#main-content dl.links dt			{ margin-top: .2em; }
#main-content dl.links dd			{ color: #666666; margin-bottom: .8em; }



/* Sidebar */
/* -------------------------------------------------- */

.sidebar							{ font-family: "Lucida Grande", Helvetica, Arial, sans-serif; }
.sidebar p							{ margin-bottom: .5em; }
.sidebar > ul > li					{ padding-left: 0; }
.sidebar h2							{ font-size: 12px; color: #84847F; font-weight: bold; }
.sidebar ul							{ padding: 0; margin-bottom: 1.5em; }
.sidebar #searchbox					{ margin-bottom: 1.5em; }

#sidebar-primary					{ font-size: .92em; }

#sidebar-primary h2, #sidebar-primary h3, #sidebar-secondary h2, #sidebar-secondary h3 { margin-bottom: .5em; line-height: 1.1em; }
#sidebar-primary h2, #sidebar-secondary h2 { letter-spacing: -.4px; }

.sidebar dl							{ margin-bottom: 0.5em; }
#sidebar-primary dt					{ color: #767675; padding: 4px 0 0 0; }
#sidebar-primary dd					{ padding: 2px 0 4px; border-bottom: 1px solid #dddddd; } 
#sidebar-primary dd img				{ border: 3px solid #bebdaa; padding: 4px; background: #fff; }
#sidebar-primary .img				{ width: auto; float: left; }

#sidebar-secondary					{ font-size: .92em; }

#sidebar-primary, #sidebar-secondary { line-height: 1.3em; }

#sidebar-primary li ul li, 
#sidebar-secondary li ul li			{ border-bottom: dotted 1px #ccc; padding: 3px 0; line-height: 1.3em; }

#sidebar-primary li ul li:last-child, 
#sidebar-secondary li ul li:last-child			{ border-bottom: none; }

li.widget							{ margin-bottom: 2em; }

ul#navigation						{ margin-bottom: 2em; }
ul#navigation a						{ outline: none; }
#sidebar-primary ul#navigation li	{ background-color: #e3e4d6; border-bottom: 1px dotted #ccc; background-image: none; padding: 5px 7px 5px 16px; font-weight: bold; }

#sidebar-primary ul#navigation li ul li				{ display: block; }
#sidebar-primary ul#navigation li ul li a			{ padding: 3px 0; display: block; }
#sidebar-primary ul#navigation li ul li.page_item	{ font-weight: normal; border-bottom: none; padding: 0 0 0 17px; }

#sidebar-primary ul#navigation li.page_item			{ background: transparent url(images/nav-state-collapsed.gif) 0px 7px no-repeat; }
#sidebar-primary ul#navigation li.page_item.na		{ background: transparent url(images/nav-state-na.gif) 0px 7px no-repeat; 
}
#sidebar-primary ul#navigation li.page_item.expanded { background: transparent url(images/nav-state-expanded.gif) 0px 7px no-repeat; }
#sidebar-primary ul#navigation ul.children			{ margin-bottom: 0; }
ul#navigation a:visited				{ color: #3673c2; }

.sidebar input[type="text"]			{ width: 97%; }

#s									{ margin-bottom: 0.5em; width: 180px; font-weight: bold; font-size: 1em; }


/* Misc */
/* -------------------------------------------------- */

div.column ul li					{ margin-bottom: 1.5em; }
div.column ul li li					{ margin-bottom: 0; }


/* Events */
/* -------------------------------------------------- */

#events h3							{ font-family: Georgia, Times, serif; font-size: 1em; color: #767675; font-weight: normal; padding-left: 20px; background: transparent url(images/calendar.gif) no-repeat scroll left top; min-height: 16px; line-height: 16px; }

#events table						{ border-top: solid 1px #c3c6ba; border-left: solid 1px #c3c6ba; }
#events td							{ border-right: solid 1px #c3c6ba; border-bottom: solid 1px #c3c6ba; font-size: .8em; padding-left: 2px; background: #f5f5e9; }
#events td.weekend					{ width: 10px; background: #e6e5d0; }
#events th							{ background: #d1dfea; font-weight: normal; text-align: center; border-right: solid 1px #c3c6ba; border-bottom: solid 1px #c3c6ba; font-size: .9em; }

.secondary dl						{ font-size: .92em; }
.secondary dt						{ color: #767675; font-weight: normal; font-family: Georgia, Times, serif; }

#pages								{ border: 1px solid #cdccb9; border-left: 0; border-right: 0; padding: 1em 0; background: transparent url(images/pages-bg.jpg) repeat-x scroll top left; }


.secondary ul						{ margin: 0; }

.secondary li ul li					{ border-bottom: 1px solid #d0d0d0; }
.secondary li.widget				{ display: -moz-inline-box; -moz-box-orient: vertical; display:  inline-block; vertical-align: top; width: 960px; margin-right: 0; }

.secondary ul.cols-3 li.widget		{ width: 298px; margin-right: 20px; }
.secondary ul.cols-2 li.widget		{ width: 460px; margin-right: 20px; }

#terciary-nav						{ padding: 1em; background-color: #e6e5d0; border: 1px solid #c5c4b1; }
#terciary-nav ul					{ margin-bottom: 0; }


/* Comments */
/* -------------------------------------------------- */

#comments-wrapper					{ border: 1px solid #c5c4b1; border-left: 0; border-right: 0; padding-top: 10px; margin-bottom: 10px; }
textarea#comment					{ width: 458px; height: 100px; }


.current_page_item a				{ font-weight: bold; } 
.current_page_item ul li a			{ font-weight: normal; }

#results li							{ padding: 1.5em .5em 0; border-bottom: 1px solid #cdccb9; margin: 0; }
li.evenrow							{ background-color: #e3e4d6; }

.clearit							{ clear: both; }
.clearfix:after						{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }

.clearfix							{ display: block; display: inline-block; }

/* Hides from IE-mac */
* html .clearfix					{ height: 1%; }
/* End hide from IE-mac */


/* Tooltips in links lists when Tooltips enabled under "Theme Options" */
#tooltip							{ background:	#ffffff; width: 300px; border: 1px solid #9c9b8c; position: absolute; opacity: 0.9; padding: 5px; }


/* Tables */
/* -------------------------------------------------- */

table.midalign td					{ vertical-align: middle; }
table.noborder td					{ border: 0; }
#main-content img.nomargin, #main-content p img.nomargin { margin: 0; }
#main-content table.sc_nav img		{ float: left; margin: 0 1em 1em 0; padding: 3px; border: solid 4px #3673C2; }
#main-content table a img:hover		{ border: solid 4px #4797ff; }


.popbox								{ background: #ffffff url(http://media.lib.byu.edu/images/hbll/search_bg.gif) repeat-x scroll left bottom; border-color: #cfcdb5 #afad8e #afad8e #cfcdb5; border-style: solid; border-width: 1px; margin: .5em 0 1.5em; padding: 1em 1.5em 0; position: relative; -border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; }
.popbox h4							{ margin-bottom: .5em; }
.popbox p span						{ bottom: 3px; left: 3px; position: relative; }

.aligncenter, div.aligncenter		{ display: block; margin-left: auto; margin-right: auto; }

.wp-caption img						{ background: #fff; margin: 0; border: 3px solid #767675; padding: 4px; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }

.wp-caption p.wp-caption-text		{ padding: 7px 0px; margin-left: 20px; margin-bottom: 10px; text-align: center; font-size: .9em; line-height: 1.3em; }

#table#wp-calendar					{ width: 100%; }

/* Google CSE Frame */
#cse-search-results iframe			{ width: 100%; }

/* Delicious */

h2.delicious-banner a				{ font-size: .75em; font-weight: bold; line-height: 1; font-family: "Helvetica Neue", Arial, Helvetica; margin-bottom: 1em; }
h2.delicious-banner					{ padding-bottom: .5em; }
.delicious-network-username img, .delicious-network-add img { margin: 0; }
.delicious-post p.delicious-extended { font-size: 1em; }

.hanging							{ text-indent: -3em; margin-left: 3em; }

h2 a								{ color: #3673c2; }

p.editlink							{ margin-top: 1.5em; }
h2 + p.editlink						{ margin-top: 0; }

/* Fix borders on captions */
.wp-caption.alignright, .wp-caption.alignleft { width: auto !important; }


li.helper							{ color: #bbb; line-height: 1.4em; font-size: 11px; border: dotted 2px #ddd; padding: 8px !important; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }
li.helper a							{ color: #999; }

article.post						{ padding-bottom: 1em; border-bottom: dotted 1px #999; margin-bottom: 2em; }


/* Admin Bar */
/* -------------------------------------------------- */

/*Make room for admin bar usually added by wp_head*/
body.loggedin 							{ margin-top: 28px; }

