/*
Theme Name: Look and Learn
Description: Theme for <a href="http://www.lookandlearn.com/">Look and Learn</a> customized from default WordPress theme based on the famous <a href="http://binarybonsai.com/kubrick/">Kubrick</a>.
Version: 1.0
Author: Edward Leigh and Michael Heilemann

	Kubrick v1.5
	 http://binarybonsai.com/kubrick/

	The original theme was designed and built by Michael Heilemann,
	whose blog you will find at http://binarybonsai.com/

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/

/*
p {
	font-family: Verdana, Arial, Sans-Serif;
	margin-right: 0;
}

h1, h2, h3 {
	font-family: Verdana, Arial, Sans-Serif;
	color: #004060;
}

h1 {
	margin: 20px 0 4px 0;
	padding: 0;
	font-size: 1.3em;
	line-height: 1.2em;
	font-weight: normal;
}

h1.pagetitle {
	font-size: 1.3em;
	text-transform: uppercase;
	border-bottom: 2px dotted #BCAD91;
	margin: 8px 0 4px 0;
	padding-bottom: 8px;
}

h2 {
	font-size: 1.3em;
	margin: 16px 0 4px 0;
	padding: 0;
	text-align: left;
	font-weight: normal;
}

h3 {
	font-size: 1.0em;
	font-weight: bold;
	margin: 16px 0 0 0;
	padding: 0;
	text-align: left;
}

a:hover {
	color: #E00000;
	}

h1, h1 a, h1 a:link, h1 a:active, h1 a:hover, h1 a:visited,
h2, h2 a, h2 a:link, h2 a:active, h2 a:hover, h2 a:visited,
h3, h3 a, h3 a:link, h3 a:active, h3 a:hover, h3 a:visited,
#sidebar h2, #wp-calendar caption, cite {
	color: #004060;
	text-decoration: none;
}

#sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
}


#page {
	background-color: white;
	border: 1px solid #959596;
	text-align: left;
	}
	

.narrowcolumn .entry, .widecolumn .entry {
	line-height: 1.4em;
	}

.widecolumn {
	line-height: 1.6em;
	}

*/

.widecolumn .entry {
	width: 90%;
	margin: auto;
}

.widecolumn .entry p {
	font-size: 14px;
	line-height: 20px;
}

h1 {
	clear: both;
	padding-top: 12px;
}

h1 a, h1 a:link, h1 a:active, h1 a:hover, h1 a:visited,
h2 a, h2 a:link, h2 a:active, h2 a:hover, h2 a:visited,
h3 a, h3 a:link, h3 a:active, h3 a:hover, h3 a:visited
{
	color: #004060;
	text-decoration: none;
}


/* header styles */

#header {
	background: url('images/header.png') no-repeat top center;
	margin: 0px; 
	height: 85px;
	width: 716px;
}


#header .description {
	font-size: 1.2em;
	text-align: center;
	text-decoration: none;
	color: #FBEE2B;
}

#content {
	font-size: 1.2em
	}

.alt {
	background-color: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	margin: 0;
	padding: 10px;
}

/*
#footer {
	background: #eee url('images/kubrickfooter.jpg') no-repeat top; 
	border: none;
	}
*/

small {
	font-size: 0.8em;
	line-height: 1.4em;
	}


#sidebar h2 {
	font-family: 'Lucida Grande', Verdana, Sans-Serif;
	font-size: 1.2em;
	}

.entry p a:visited {
	color: #b85b5a;
	}

.commentlist li, #commentform input, #commentform textarea, #commentPreview {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

/*
.commentlist li {
	font-weight: bold;
	}
*/

.commentlist cite, .commentlist cite a, #commentPreview cite{
	font-weight: bold;
	font-style: normal;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	color: #777;
	}

#sidebar {
	font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

#wp-calendar #prev a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
	
p.notice {
	clear: both;
	margin: 12px 0 12px 0;
	font-style: italic;
}
/* End Typography & Colors */



/* Begin Structure */

body {
	margin: 0 0 20px 0;
	padding: 0; 
	}

.narrowcolumn {
	float: left;
	width: 480px;
	margin: 0;
	padding: 0;
	}

.widecolumn {
	width: 100%;
	margin: 0;
	padding: 0;
	}

.post {
	clear: both;
	margin: 4px 0 40px 0;
	}

.postmetadata {
	clear: both;
}

.posttime {
	font-size: 0.8em;
	line-height: 1.4em;
	color: #777;
}
	

.narrowcolumn .postmetadata {
	padding-top: 5px;
	text-align: center;
	}

.widecolumn .postmetadata {
	margin: 10px 0 20px 0;
	padding: 5px 0 5px 0;
	border-top: 1px dotted #E7DDC9;
	border-bottom: 1px dotted #BCAD91;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.emaillink {
	padding: 0 0 0 18px;
	background: url(images/email.gif) no-repeat center left;
}

#footer {
	clear: both;
}

#footer p {
	padding: 0;
	text-align: left;
	margin: 0 0 0 540px;
}
/* End Structure */



/*	Begin Headers */


#sidebar h2 {
	margin: 5px 0 0;
	padding: 0;
	}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
/* End Headers */



/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */


.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */



/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin: 0 0 10px 0;
	padding: 0 0 0 10px;
	list-style: none;
	text-indent: -10px;
} 

html>body .entry li {
	margin: 0 0 0 10px;
	}

.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020 ";
	}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 10px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}
/* End Entry Lists */



/* Begin Form Elements */
#searchform {
	float: right;
	padding: 1px 6px 0 0; 
	text-align: right;
}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

/*
#commentform #submit {
	margin: 0;
	float: right;
	}
*/
/* End Form Elements */



/* Begin Comments*/

.commentlist {
	margin: 0;
	padding: 0;
	}

.commentlist li, #commentPreview {
	margin: 15px 0 3px 0;
	padding: 5px 10px 3px 10px;
	list-style: none;
	border: 1px solid #E7DDC9;
	}

.commentlist p {
	margin: 10px 5px 10px 0;
	}

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	margin: 10px 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
	
div.commentPreview {
	padding: 4px;
	border: 1px solid #E7DDC9;
	line-height: normal;
}

.commentslink {
	padding: 0 0 0 17px;
	background: url(images/comments.gif) no-repeat center left;
}
/* End Comments */



/* Begin Sidebar */
#sidebar
{
	padding: 20px 8px 10px 8px;
	margin-left: 520px;
	width: 180px;

	}

#sidebar form {
	margin: 0;
	}
/* End Sidebar */



/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 10px 30px 0 10px;
	padding-left: 10px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	clear: both;
	font-size: x-small;
	font-weight: bold;
	display: block;
	float: none;
	text-align: center;
	padding: 4px 0 16px 0;
	}
/* End Various Tags & Classes*/



/* "Daisy, Daisy, give me your answer do. I'm half crazy all for the love of you.
	It won't be a stylish marriage, I can't afford a carriage.
	But you'll look sweet upon the seat of a bicycle built for two." */


/*menu */
.nav {
	margin-left: 295px;
	list-style: none;
	background: #900;
	padding: 0;
	border: 1px solid #fff;
	border-width: 0px 0px 0px 1px;
}

.nav ul {
	margin: 0;
	padding: 0;
	height: 1em;
	}
           
#toolbar form {
	margin: 0;
	padding: 0.1em 2em 0.1em 0em;
	height: 1em;
	}
           
#toolbar input {
	margin: 1px;
	}
 
.nav a {
	display: block;
	color: #fff;
	text-decoration: none;
	padding: 0.1em 2em;
}
 
.nav li {
	float: left;
	padding: 0;
	background: #900;
	border: 1px solid #fff;
	border-width: 1px 0;
}
 
.nav li ul {
	position: absolute;
	left: -999em;
	height: auto;
	width: 14.4em;
	font-weight: normal;
	border: 1px solid #fff;
	margin: 0;
	list-style: none;
}
 
.nav li li {
	padding-right: 1em;
	width: 13.4em;
	border: 0px;
}
 
.nav li ul a {
	width: 12em;
}
 
.nav li ul ul {
	margin: -1.75em 0 0 14em;
}
 
.nav li:hover ul ul, .nav li:hover ul ul ul, .nav li.sfhover ul ul, .nav li.sfhover ul ul ul {
	left: -999em;
}
 
.nav li:hover ul, .nav li li:hover ul, .nav li li li:hover ul, .nav li.sfhover ul, .nav li li.sfhover ul, .nav li li li.sfhover ul {
	left: auto;
}
 
.nav li:hover, .nav li.sfhover {
	background: #F20000;
}
/* end menu */

@media(max-width:1024px){
	.single-post .navigation div a {font-size: 14px;}
}

@media(max-width:900px){
	#content.widecolumn .alignRight {float: none;display: table;margin: 0 0 20px 0px;}
}

@media(max-width:835px){
	.single-post .page-secondary-nav > .navBar > div:first-child {width: 100%;display: block;text-align: center;}
	.single-post .page-secondary-nav > .navBar #searchsubmit{font-size: 12px;margin-top: -3px;}
	.single-post .page-secondary-nav > .navBar > .subnav#main-menu {display: table;width: 100%;text-align: center;padding-top: 10px;}
	.single-post .page-secondary-nav > .navBar input[type="text"]{width:220px;}
}

@media(max-width:767px){
	.widecolumn img.alignLeft,.widecolumn div.imageLeft {float: none;margin: 0 0 20px;clear: both;box-sizing: border-box;display: table;}
}

@media(max-width:639px){
	.single-post .navigation div a {font-size: 13px;text-align: center;}
	.single-post .navigation div {width: 100%;}
	.single-post .page-secondary-nav > .navBar li.subnav img {position: absolute;top: 8px;right: 0;}
	.single-post .page-secondary-nav > .navBar li.subnav {position: relative;padding-right: 12px;margin-right: 10px;display: inline-block;}
	
	#content > .post > h1 {margin-bottom: 20px;font-size: 20px;line-height: 1.4;}
}

@media(max-width:479px){
	.single-post .entry p {margin-right: 0;}
}

@media(max-width:340px){
	.single-post .page-secondary-nav > .navBar > div:first-child {margin: 0 !important;}
	.single-post .page-secondary-nav > .navBar input[type="text"] {width: 190px;}
}

