/* 	Styles for YNHH Health Library
	Web Services, ITS, Yale University
	CSS authored by Victor Velt <victor.velt@yale.edu>
	1-29-07, version 3 (vv)
	1-31-07, edit (LMc.)
--------------------------------------------------------------- */

/* comments */

/*	QuickFind:
	=Body
	=Layout
	=Top Banner Nav
	=Small Nav for Top Banner & Footer
	=Photo Banner & Topics Dropdowns
	=Scancol Menu
	=Phone Number
	=Sidebar Content & Search Box
	=Footer Content
	=Typography in Content Column
	=Categories - Home Page
*/


/* =Body
-------------------------------------------------------- */
body {
padding: 0;
margin: 0;
background-color: #fff;
background-image: url(../images/ynhh_bg.gif);
background-repeat: repeat-y;
}

a:link { color: #633c02; }
a:visited { color: #011f5c; }
a:hover { color: #cc6600; }
a:active { color: #011f5c; }


/* =Layout
-------------------------------------------------------- */
#scancol {
width: 180px;
height: 300px;
position: absolute;
top: 200px;
left: 0;
}

#content {
padding: 18px 15px 0 0;
border-right: 1px solid #a1a1a1;
margin: 0px 195px 0px 200px;
}

/* Minimum height for content, works in IE 6 & 7 and better browsers */
#content {
min-height: 570px;
height: auto !important;
height: 570px;
}

#sidebar {
width: 170px;
position: absolute;
top: 200px;
right: 15px;
padding-bottom: 10px;
}

#footer { /* Footer Content styles below */
padding-bottom: 15px;
margin: 15px 190px 0px 200px;
}

/* for Wide 2 column pages, add wide class to body tag */
body.wide #content, body.wide #footer {
margin-right: 15px;
border: none;
}



/* =Top Banner Nav
-------------------------------------------------------- */
#top-banner {
height: 53px;
position: relative;
background-color: #fff;
border-bottom: 5px solid #006bb7;
}

top-banner img {
display: block;
}

#top-banner h4 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
line-height: 1.2em;
margin: 0;
position: absolute;
top: 32px;
right: 12px;
}

#top-banner ul.smallnav {
position: absolute;
bottom: 5px;
right: 12px;
}


/* =Small Nav for Top Banner & Footer
-------------------------------------------------------- */
ul.smallnav {
font-family: Arial, Helvetica, sans-serif;
font-size: 9px;
text-transform: uppercase;
padding: 0;
margin: 0;
line-height: 1.2em;
}

ul.smallnav li { 
list-style-type: none;
display: inline;
float: left;
}

ul.smallnav li a {
color: #666;
text-decoration: none;
padding: 0px 10px;
border-right: 1px solid #666;
}

ul.smallnav li a:hover {
text-decoration: underline;
color: #39f;
}

ul.smallnav li a:active { 
color: #2a85ee; 
}

ul.smallnav li.last a { 
border-right: none;
padding-right: 0;
}

ul.smallnav li.first a { 
padding-left: 0px;
}


/* =Photo Banner & Topics Dropdowns
-------------------------------------------------------- */
#topics-banner {
position: relative;
height: 130px;
background: #D0D0CD url(../images/photo_banner.jpg) no-repeat;
border-top: 1px solid #fff;
border-bottom: 1px solid #fff;
}

#banner-rule {
margin: 0;
border-bottom: 5px solid #894409; 
}

form#topicform {
margin: 0;
width: 300px;
position: absolute;
bottom: 5px;
left: 470px;
}

form#topicform select {
width: 240px;
width: 220px;
}

form#topicform input.jbutton {
margin: 0 0 3px 3px;
vertical-align: middle;
border: none;
}

form#catform1 input.jbutton {
margin: 0 0 3px 3px;
vertical-align: middle;
border: none;
}

form#catform2 input.jbutton {
margin: 0 0 3px 3px;
vertical-align: middle;
border: none;
}


/* =Scancol Menu
--------------------------------------------------------------- */
.menu {
margin: 10px;
}

.menu p { 
font-family: Geneva, Arial, Helvetica, sans-serif; 
font-size: 12px;
font-weight: bold; 
color: #8A4305; 
line-height: 1.2em; 
margin-bottom: .8em;
}

.menu ul { 
list-style-type: square;
list-style-image: url(../images/brown_bullet.gif);
font-family: Geneva, Arial, Helvetica, sans-serif; 
font-size: 12px; 
line-height: 1.2em; 
margin-left: 0.8em; 
padding-left: 0.8em;
margin-top: -.3em; 	/* maximum reduction for NN4 */
margin-bottom: 1em;
}

	
.menu li { 
list-style-type: square; color: #996600;	/* for NN4 */
padding-bottom: .5em;	/* this puts more space between items */
} 

.menu a:link { text-decoration: underline;}
.menu a:visited { text-decoration: underline;}
.menu a:hover { text-decoration: underline;}


/* =Phone Number listed under the menu in the left scan col
--------------------------------------------------------------- */
.scan-list-brown {
margin-top: 30px;
margin-bottom: 40px;
padding-left: 12px;
}

.scan-list-brown p { 
font-family: Geneva, Arial, Helvetica, sans-serif; 
font-size: 12px; 
color: #8A4305; 
margin-top: -.3em; 
margin-bottom: 0.8em;
line-height: 1.2em;
}

.info-sm-lt-brown {
font-family: Verdana, Arial, Helvetica, sans-serif; 
color: #8A4305;
font-size: 11px; 
line-height: 15px;
display: block;
margin-top:25px;
}


/* =Sidebar Content & Search Box
-------------------------------------------------------- */
#sidebar h3 {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 20px;
font-weight: bold;
color: #bfcbd7;
text-align: right;
margin: 0.3em 0;
}

#sidebar ul {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
text-align: right;
line-height: 1.2em;
padding: 0;
margin: 0;
}

#sidebar ul li {
list-style-type: none;
padding-bottom: 0.5em;
}

#sidebar ul li a {
color: #333;
text-decoration: none;
}

#sidebar ul li a:hover {
color: #c60;
text-decoration: underline;
}

#sidebar hr {
border: 0;
height: 5px;
color: #894409; 
background-color: #894409;
margin-top: 35px;
}

#sidebar .indexnav_text {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
text-align: right;
line-height: 1.2em;
padding: 0;
margin: 0;
padding-bottom: 0.5em;
}

#sidebar .index_glossary {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
text-align: right;
line-height: 1.2em;
padding: 0;
margin: 0;
padding-bottom: 0.5em;
}

#sidebar .index_online_resources {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
text-align: right;
line-height: 1.2em;
padding: 0;
margin: 0;
padding-bottom: 0.5em;
}

#sidebar .indexnav_site_index {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
text-align: right;
line-height: 1.2em;
padding: 0;
margin: 0;
padding-bottom: 0.5em;
}

#sidebar h3 a {
color: #bfcbd7;
text-decoration: none;
}

#sidebar h3 a:hover {
color: #bfcbd7;
text-decoration: underline;
}

#sidebar a.internal_link {
color: #333;
text-decoration: none;
}

#sidebar .indexnav_text a.internal_link:hover {
color: #c60;
text-decoration: underline;
}

#sidebar .index_glossary a.internal_link:hover {
color: #c60;
text-decoration: underline;
}

#sidebar .index_online_resources a.internal_link:hover {
color: #c60;
text-decoration: underline;
}

/* Search Box
----------------------------- */
form#searchform {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
line-height: 1.2em;
margin: 0;
}

input#searchfield {
width: 135px;
margin-top: 10px;
}

#searchform label {
display: block;
}

#searchform input.jbutton {
margin: -3px 0 3px 0px;
vertical-align: middle;
border: none;
}

#searchform input[type="radio"] { /* Hey, my first attribute selector! */
margin-left: 5px;
vertical-align: middle;
}

#searchform input[type="text"] {
border: 1px solid #7f9db9;
}

#searchform p.tight {
margin: 0.5em 0;
}

#searchform p.advanced {
margin-top: 0;
font-size: 9px;
text-indent: 25px;
}


/* =Footer Content
--------------------------------------------------------------- */
#footer {
padding-bottom: 15px;
margin: 15px 210px 0px 200px;
}

#footer img {
display: block;
}

#footer ul.smallnav {
padding-top: 10px;
border-top: 1px solid #666;
margin-top: 10px;
padding-bottom: 20px;
}

.last-modified {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #633C02;
line-height: 1.2em;
margin: 40px 0;
}

.small {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #666666;
line-height: 13px;
}

.smallest {
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
color: #666;
line-height: 1.3em;
margin-left: 10px;
}

.smallest span {
margin-left: -10px;
}

/* =TextSearch Content
--------------------------------------------------------------- */
#content #textsearch h2 {
margin-top: 18px;
margin-bottom: 12px;
}

#textsearch h4 {
margin-top: 8px;
margin-bottom: 0px;
}

/* =Typography in Content Column
---------------------------------------------------------------
--------------------------------------------------------------- */
#content h1, #content h2, #content h3 {
font-family: Georgia, "Times New Roman", Times, serif;
}

#content h1 {
font-weight: normal;
font-size: 22px;
color: #894409;
margin: 0;
}

#content h2 {
font-weight: normal;
font-size: 18px;
color: #894409;
margin: 0;
}

#content h3 {
font-weight: normal;
font-size: 14px;
color: #894409;
margin: 0;
}

#content p, #content ul, #content ol {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
line-height: 1.6em;
color: #333;
margin-top: 1em;
margin-bottom: 1em;
}


/* New: This trick makes less space between headings and the text
   that follows, while keeping normal space between headings and
   images, tables and other non-text elements. This doesn't work
   with IE 6 but its does with IE 7 and better browsers. 
----------------------------------------------------------------- */
#content h1+p, #content h2+p, #content h3+p,
#content h1+ul, #content h2+ul, #content h3+ul,
#content h1+ol, #content h2+ol, #content h3+ol {
margin-top: 0.5em;
}

#content ul { 
list-style-type: square; 
}

#content li { 
line-height: 1.4em;
padding-bottom: 0.5em; 
}

#content ul.plain { 
list-style-type: none;
margin-left: 1em;
padding-left: 1em;
}

#content ol.l-alpha {
list-style-type: lower-alpha;
}

#content ol.l-roman {
list-style-type: lower-roman;
}

/* fixes spacing between nested lists */
#content ul ul, #content ol ol {
margin-top: 0.5em; 
margin-bottom: 0;
}

#content #condition p.condition-list {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
line-height: 12px;
color: #333;
margin-top: 0.5em;
margin-bottom: 0.5em;
}

/* Greystone style for content */

#content .align_right {
margin-top: 10px;
float: right;
margin-bottom: 10px;
margin-left: 10px;
text-align:center;
}

#content p.sitemap {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
line-height: 1.2em;
color: #333;
margin-top: 0.5em;
margin-bottom: 0.5em;
}

#content table.center_navtable {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
line-height: 1.6em;
color: #333;
margin-top: 0.6em;
margin-bottom: 0.6em;
}

#content .indexnav p.indexnav_text {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
line-height: 1.4em;
color: #333;
margin-top: 0.5em;
margin-bottom: 0.5em;
}

#content blockquote {
margin-top: 0px;
margin-bottom: 0px;
margin-left: 20px;
}

/* Greystone style overrides */

#content h2.page_title {
display: none;
}

#content .hublinks {
display: none;
}

.indexnav p.indexnav_site_index {
display: none;
}


/* =Categories - Home Page
--------------------------------------------------------------- */
#categories table {
border: none;
/* width: 385px; */
}

#categories tr td {
padding-bottom: 20px;
}

#categories td {
vertical-align: top;
}

#categories td.photo {
padding-right: 8px;
}

#categories td.photo a {
border: 1px solid #333;
display: block;
margin-top: 3px;
}

#categories td.photo a:hover {
border: 1px solid #c60;
}

#categories a { color: #333; text-decoration: none; }
#categories a:hover { color: #cc6600; text-decoration: underline; }
#categories a:active { color: #011f5c; }

#categories form {
margin-top: 0px;
margin-bottom: 0.2em;
}

#content #categories p {
margin-top: 0;
margin-bottom: 0.5em;
}



/* ------------------------------------------------------------ */
/* ------------------------------------------------------------ */
/* ------------------------------------------------------------ */



