/* Stylesheet for www.yanoff.org */

/************************************************
 * Generic styles for elements on all pages
 ************************************************/
p, li, dt, dd, h1, h2, h3, h4, h5, h6, blockquote, em, cite, strong, ins, del, sup, a, iframe {
  line-height: 1.3em;
}

/* Quotes: */
q {
  font-style: italic;
}

/* Blockquoting: */
blockquote {
  text-indent: 1px;
}

/* Insert quotes before and after Q element content */
q:before { content: no-open-quote; }
q:after  { content: no-close-quote; }

body {
  margin: 0;
  padding: 0;
  background-color: #fff;
  background-image: none;
  font-family: Georgia, "Trebuchet MS", Univers, "Univers 55", Gill, "Gill Sans", "Zurich BT", Zurich, sans-serif;
}

a {
  text-decoration: underline;
  color: #603;
}

a:visited {
  text-decoration: underline;
  color: #963;
}

a:focus, a:hover {
  text-decoration: underline;
  color: #c00;
  background-color: #ffc;
}

ul {
  margin-top: 0px;
  margin-right: 5px;
  margin-left: 10px;
  margin-bottom: 0px;
  padding: 0 0 0 0;
}

a.noUnderlineLink {
  text-decoration: none;
}

a.noUnderlineLink:visited {
  text-decoration: none;
}

a.noUnderlineLink:focus {
  text-decoration: none;
}

a.noUnderlineLink:hover {
  text-decoration: none;
}

form {
  margin: 0px;
}


/************************************************
 * Header
 ************************************************/

/* This is to create a colored rectangle at the top to place masthead items into: */
#header {
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  background-color: #603;
  background-image: none;
  height: 50px;
  padding: 0;
}

/* This is for the left-hand image in the masthead */
#mastheadLeft {
  position: absolute;
  top: 0px;
  margin-left: 5px;
  padding: 0;
  background-image: none;
}

/* This is for the center part in the masthead */
#mastheadCenter {
  position: absolute;
  top: 15px;
  right: 275px;
  padding: 0;
  background-image: none;
}

/* This is for the right-hand image in the masthead, 10px from the right */
#mastheadRight {
  position: absolute;
  top: 0px;
  right: 10px;
  padding: 0;
  background-image: none;
}

/* This is for the tagline to the website that appears in the header: */
#taglineLeft {
  position: relative;
  padding: 0;
  background-color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 85%;
  color: #000;
  margin-top: 20px;
  margin-left: 5px;
  text-align: left;
}

#searchinput {
 background: #fff;
 color: #000;
 font-weight: 600; 
 font-size: 7pt;
 padding: 2px 2px 2px 2px;
 border: 2px solid #036;
 margin-right: 3px;
}

#searchinput:hover {
 background: #ffffcc;
}

#searchButton {
 font-size: 12px;
 font-family: Arial, Helvetica, sans-serif;
 font-weight: 600;
 position: relative;
 background-color: #036;
 color: #fff;
}

/* This is for the search to the website that appears in the header: */
#taglineRight {
  position: absolute;
  right: 10px;
  margin-top: -18px;
  padding: 0;
}

/* This is for the heading at the top of the page: */
.headingText {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 200%;
  font-weight: bold;
	color: #603;
	margin-left: 10px;
	margin-top: 0px;
	margin-bottom: 0px;
}


/************************************************
 * Left-hand columns:
 ************************************************/

/* This div is for the left-hand column where the random quote or links are: */
#leftcol {
  margin-top: 100px;
  margin-left: 10px;
  width: 20%;
  float: left;
  background-color: #fff;
  background-image: none;
  color: #000;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
  padding: 0px;
}

/* This defines the sidebar on the side of the home page: */
#sidebar {
  margin-top: 28px;
  margin-left: 10px;
  margin-bottom: 10px;
  width: 225px;
  float: left;
  background-color: #fff;
  background-image: none;
  color: #000;
  padding: 1px 0px 10px 0px;
	border-left: 1px solid #000;
	border-bottom: 1px solid #000;
	border-top: 1px solid #000;
	border-right: 7px solid #000;
	text-align: left;
}

/* This is for the left hand side of the page: */
#sidebar ul {
  list-style-type: none;
  list-style-position: outside;
  list-style-image: url('/images/yanoff_bullet_003366.gif');
  padding-left: 10px;
}

#sidebar li {
  font: 12px Arial, Helvetica, sans-serif;
	margin-bottom: 3px;
	margin-left: 9px;
	padding: 0px;
  color: #000;
}

/* This is for the text within the sidebar: */
#sidebar p {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 0.8em;
  margin-left: 5px;
  margin-right: 5px;
  margin-top: 10px;
  margin-bottom: 10px;
 	color: #000;
 	padding: 0px;
}

/* This is for the quote within the sidebar: */
#sidebar blockquote {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 0.8em;
  margin-left: 15px;
  margin-right: 5px;
  margin-top: 10px;
  margin-bottom: 10px;
 	color: #000;
 	padding: 0px;
}

/* This is for links in the left-most column: */
#sidebar small {
  font-size: 10px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #000;
	margin-right: 10px;
	text-align: right;
}

/* This is for the random quote on the left-hand side: */
.quoteText {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 0.8em;
  margin-left: 5px;
  margin-right: 5px;
  margin-top: 10px;
  margin-bottom: 10px;
 	color: #000;
 	padding: 0px;
}

/* This is for links in the left-most column: */
.leftColLinkText {
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 10px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #000;
	margin-right: 10px;
	text-align: right;
}

a.quoteLink {
   text-decoration: none;
   color: #000;
}

a.quoteLink:visited {
   text-decoration: none;
   color: #000;
}

a.quoteLink:focus {
   text-decoration: none;
   color: #f00;
}

a.quoteLink:hover {
   text-decoration: none;
   color: #f00;
}

/* This div is for when an empty left-hand column is needed: */
#leftcolEmpty {
  margin-top: 200px;
  margin-left: 10px;
  padding-bottom: 10px;
  width: 20%;
  float: left;
  background-color: #fff;
  background-image: none;
  color: #000;
}

/* This div is for the Firefox logo at the bottom of the home page: */
#getFirefox {
  float: left;
  position: relative;
}

/* This div is for the mention of the hosting site on the home page: */
#hostingText {
  float: right;
  position: relative;
  background-color: #fff;
  color: #000;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 0.6em;
}

/************************************************
 * Right-hand column:
 ************************************************/

#rightcol {
  margin-top: 10px;
  margin-left: 20px;        /* the space between columns */
  margin-bottom: 20px;
  width: 56%;
  float: left;
  font-family: Trebuchet, "Trebuchet MS", Verdana, Tahoma, Geneva, sans-serif;
  background-color: #fff;
  background-image: none;
  color: #000;
  padding-left: 5px;
}

/* This is for the date / heading at the top of the sectionText: */
.sectionHeading {
  margin: 10px 0px 0px 0px;
  padding: 2px;
  border-bottom: 1px #999 dotted;
  font-weight: bold;
  font-family: Georgia, times, 'Times New Roman', serif;
	font-size: 105%;
  clear: both;
	color: black;
	background: white;
	text-align: left;
}

/* This is for the ongoing text on the home page, or columns on other pages: */
.sectionText {
  padding-left: 5px;
  margin-bottom: 30px;
  margin-top: 0px;
  padding-top: 0px;
  font-family: Georgia, "Trebuchet MS", Univers, "Univers 55", Gill, "Gill Sans", "Zurich BT", Zurich, sans-serif;
	color: black;
}

/* This is the for link at the bottom of the home page's text section: */
.newPhotosText {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  text-align: right;
  margin-right: 10px;
}


/* When two 32%-wide columns are needed (giftideas.shtml, quotes.shtml) */
.col32 {
  margin-top: 10px;
  margin-left: 3px;        /* the space between columns */
  margin-right: 3px;
  margin-bottom: 20px;
  width: 32%;
  float: left;
  background-color: #fff;
  color: #000;
  padding-left: 5px;
}

/* This is for the link paragraphs on links.shtml: */
.favLink {
  padding: 0px;
  margin: 10px 0px 0px 0px;
  font-family: Georgia, "Trebuchet MS", Univers, "Univers 55", Gill, "Gill Sans", "Zurich BT", Zurich, sans-serif;
}

/* This is for the call-outs with a different bg color: */
.callout {
  text-align: left;
  float: right;
  width: 25%;
  font-size: 105%;
  font-weight: bold;
  padding: 1em;
  text-indent: -0.5em;
  color: black;
  margin: 0.2em -1px 0.2em 0.5em;
}

/* This is used by the lists in the humor section: */
.listWithoutDecoration {
  list-style-type: none;
}

/* This is for the jokes page text on the left-hand side: */
.jokesText {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 0.8em;
  margin-left: 10px;
  margin-right: 5px;
  margin-top: 10px;
  margin-bottom: 10px;
 	color: #000;
 	padding: 0px;
}

/* Style the left-hand navigation elements: */
.sidenavList {
  padding-left: 5px;
  margin-left: 0px;
}

.sidenavList li {
  margin-left: 0px;
  padding: 0px 0px 0px 0px;
  list-style-type: none;
  display: block; /* for IE5 and IE6 */
}

/* Style the left-hand navigation links: */
.sidenavList a {
	text-decoration: none;
	padding: 2px 3px 2px 5px;
  border-left: 5px solid #fff;
}

.sidenavList a:link {
	text-decoration: none;
}

.sidenavList a:visited {
	text-decoration: none;
}

.sidenavList a:focus {
  background-color: #fff;
  border-left: 5px solid #036;
}

.sidenavList a:hover {
  background-color: #fff;
  border-left: 5px solid #036;
}

/* This is for the lower-level headings: */
.storyHeading {
  margin: 10px 0px 0px 0px;
  padding: 2px;
  font-weight: bold;
  font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 95%;
  clear: both;
	color: black;
	background: white;
	text-align: left;
}

/* This is for the same as story heading but without the full padding: */
.articleHeading {
  margin: 10px 0px 0px 0px;
  font-weight: bold;
  font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 95%;
  clear: both;
	color: black;
	background: white;
	text-align: left;
}

/* This defines the sidebar on the side of the photos page: */
#sidebarArtwork {
  margin-top: 28px;
  margin-left: 10px;
  margin-bottom: 10px;
  width: 120px;
  float: left;
  background-color: #fff;
  background-image: none;
  color: #000;
  padding: 1px 0px 10px 0px;
	border-left: 1px solid #000;
	border-bottom: 1px solid #000;
	border-top: 1px solid #000;
	border-right: 7px solid #000;
	text-align: left;
}

#emailinput {
 background: #ddd; 
 padding: 2px 2px 2px 2px;
 border: 2px solid #036;
 margin-right: 3px;
}

#subscribeButton {
 font: 10px Arial, Helvetica, sans-serif;
 height: 25px;
 position: relative;
}

.inlineQuote {
 background-color: #eee; 
 border: 1px dashed #000; 
 padding: 4px;
}

.greenTip {
 background-color: #9f6; 
 border: 1px dashed #000; 
 padding: 4px;
}

.yanoffTable {
  padding: 0px;	 
  border: 1px solid gray;  
  font-size: 9pt;
}

.yanoffTableMedium {
  padding: 0px;	 
  border: 1px solid gray;  
  font-size: 11pt;
}

.yanoffTable tr:hover {
  color: #fff;
  background-color: #69f;
}

.yanoffTableMedium tr:hover {
  color: #fff;
  background-color: #69f;
}

.yanoffTable td, th { 
 padding-right: 1.3em;
}

.yanoffTableMedium td, th { 
 padding: .1em;
}

.yanoffTable th { 
 text-align: left;
 border-bottom: 1px solid #000;
}

.yanoffTableMedium th { 
 text-align: left;
 border-bottom: 1px solid #000;
}

.tableRowHeader {
  padding: 0px;	   
  background: #0cf;
  font-size: 12pt;
}

.tableRowOdd {
  padding: 0px;	   
  background: #e3f0f7;
}

.comments_wrap {
 background-color: #d4d4d4; 
 border: 1px solid #000; 
 font: 8pt Arial, Helvetica, sans-serif;
 padding: 4px;
 width: 475px;
 margin-left: 10px;
}

.inputText {
 font: 8pt Arial, Helvetica, sans-serif;
}

.commentName {
 font: 10pt Arial, Helvetica, sans-serif;
}

.commentDate {
 font: 8pt Arial, Helvetica, sans-serif;
 text-align: right;
}

.commentComment {
 font: 9pt Arial, Helvetica, sans-serif;
 width: 500px;
}

.comments {
  margin-left: 10px;
}

.commentTable {
  padding: 0px;
  border: 1px solid #ccc;
  border-spacing: 0px;
  border-collapse: collapse;
}

.commentRowEven {
  padding: 0px;
  background: #e3f0f7;
}

.commentRowOdd {
  padding: 0px;	   
  background: #f7f7f7;
}

.commentsButton {
 font-size: 12px;
 font-family: Arial, Helvetica, sans-serif;
 font-weight: 600;
 position: relative;
 background-color: #ff9;
 color: #000;
}

/* Lightbox stylesheets: */
#lightbox{
	background-color:#eee;
	padding: 10px;
	border-bottom: 2px solid #666;
	border-right: 2px solid #666;
	}
#lightboxDetails{
	font-size: 0.8em;
	padding-top: 0.4em;
	}	
#lightboxCaption{ float: left; }
#keyboardMsg{ float: right; }
#closeButton{ top: 5px; right: 5px; }

#lightbox img{ border: none; clear: both;}
#overlay{ background-image: url(/images/lightbox_overlay.png); }

* html #overlay{
	background-color: #000;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/images/lightbox_overlay.png", sizingMethod="scale");
}

/************************************************
 * Navigation
 ************************************************/

#mobileNavigation {
  position: relative;
  background-color: #036;
  display: none;
}

#navigation {
  position: relative;
  width: 100%;
  float: left;
  background-color: #036;
/*
  padding-top: 0px;
  padding-left: 4px;
  margin-left: 0px;
*/
}

ul.pureCssMenu ul{display:none;}
ul.pureCssMenu li:hover>ul{display:block}
ul.pureCssMenu ul{position: absolute;left:-1px;top:98%;}
ul.pureCssMenu ul ul{position: absolute;left:98%;top:-2px;}

ul.pureCssMenu,ul.pureCssMenu ul {
	margin:0px;
	list-style:none;
	padding:0px 2px 0px 0px;
	background-color:#003366;
	background-repeat:repeat;
}

ul.pureCssMenu table {border-collapse:collapse}

ul.pureCssMenu {
	display:block;
	zoom:1;
	float: left;
}

ul.pureCssMenu ul{
	width:260px;
}

ul.pureCssMenu li{
	display:block;
	font-size:0px;
  border-right: 1px solid #ccc;
}

ul.pureCssMenu a:active, ul.pureCssMenu a:focus {
 outline-style:none;
}

ul.pureCssMenu a, ul.pureCssMenu li.dis a:hover, ul.pureCssMenu li.sep a:hover {
	display:block;
	vertical-align:middle;
	background-color:#003366;
	border-width:0px;
	border-color:#6655ff;
	border-style:solid;
	text-align:left;
	text-decoration:none;
	padding:4px;
	_padding-left:0;
	color: #ffffff;
	text-decoration:none;
	cursor:default;
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 0.2em 0.8em;
}

ul.pureCssMenu li {
	float:left;
}

ul.pureCssMenu ul li {
	float:none;
  border-right: 0px;
}

ul.pureCssMenu ul a {
	text-align:left;
	white-space:nowrap;
}

ul.pureCssMenu li.sep{
	text-align:center;
	padding:0px;
	line-height:0;
	height:100%;
}

ul.pureCssMenu li:hover{
	position:relative;
  z-index: 599;
}

ul.pureCssMenu li:hover>a{
	background-color:#660033;
	border-color:#665500;
	border-style:solid;
	color: #ffffff;
	text-decoration:none;
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 0.2em 0.8em;
}

ul.pureCssMenu li a:hover{
	position:relative;
	background-color:#660033;
	border-color:#665500;
	border-style:solid;
	color: #ffffff;
	text-decoration:none;
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 0.2em 0.8em;
}

ul.pureCssMenu li.dis a {
	color: #AAAAAA !important;
}

ul.pureCssMenu a:hover ul{display:block}

/*------------------------------------*\
	IPHONE
\*------------------------------------*/
@media screen and (max-device-width: 480px){
 body{
  -webkit-text-size-adjust:none;
  font-family:Helvetica, Arial, Verdana, sans-serif;
  padding:5px;
 }

 #navigation,#navigation li{
  float:none!important;
  clear:both!important;
  margin:0 0 20px 0!important;
  display:block;
  padding:0;
  text-align:left!important;
  width:100%;
 }
 #navigation{
  border:1px solid #ccc;
  padding:5px;
  -webkit-border-radius:5px;
 }
 #navigation li{
  margin:0!important;
 }
 #navigation li a{
  display:block;
 }
}

