/* 
Theme Name: Berto
Theme URI: http://bertosweb.com
Description: A grid-based, black and white WordPress theme, loosely based on 'oulipo' by andreamignolo.com
Version: 1
Author: R. Bertolette 
Author URI: http://bertosweb.com
Tags: white, three-columns, fixed-width, threaded-comments, sticky-post

License: GNU General Public License (GPL) version 3
License URI: http://www.gnu.org/licenses/gpl.html

*/


/* =Global
------------------------------------------------------------------
*/

html, body, form, fieldset, h1, h2, h3, h4, h5, h6, pre, blockquote, ul, ol, dl, address, .more-link  {
	margin:0;
	padding:0;
}

a, a:link, a:visited, input {
	outline: none;
	text-decoration: none;
	}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
}

blockquote:before, blockquote:after {
	content: "";
}

blockquote, q {
	quotes: "" "";
}

input::-moz-focus-inner /*Remove button padding in FF*/
{ 
    border: 0;
    padding: 0;
}


/* =Better image scaling in IE
------------------------------------------------------------------
*/

img { -ms-interpolation-mode:bicubic; 
	border-style: none;
	outline: none;
}


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

#wrapper {
	width: 60em;
	margin: 0 auto;
	padding: 0 .618em;
}

#header {
display: block;
}

#content {
	width: 50em;
	margin: 1.7em 0 0 0;
	float: right;
	display: inline;
	min-height: 30em;
}

#entry_content {
	width: 31em;
	margin: 0 2.5em 0 4.5em;
	float: left;
	display: inline;
}

.post {
  margin-bottom: 1.5em;
  clear: both;
}

#supplementary {
	width: 9.85em;
	margin: 0 0 0 0;
	float: right;
	display: inline;
}

.meta ul {
	margin: 1em 0 0 0;
}

.meta li {
	margin: 0;
	line-height: 1.618em;
	padding: 0;
}

ul#categories li, ul#archives li {
	border-bottom: 0;
}


#content .date, .description {
	margin: .1em 0 1.5em 0;
	padding: 0;
}

.header {
	margin: 0 0 1.5em 0;
}

.entry {
	margin: 0 0 40px 0;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.entry img.alignright {
	margin: .4em 0 .25em .618em;
}

.entry img.alignleft {
	margin: .4em 1.25em .25em 0;
}

.offsite img {
	margin-top: 1em;
	border: 0;
}

dd.gallery-caption {
	font-size: 11px;
	color: #999;
	line-height: 12px;
	margin-top: 0;
}

.entry dt.gallery-icon img {
  margin-bottom: .3em;
  margin-top: .7em;
  border: 0 !important;
}

.entry .gallery {
	margin-top: 0;
	padding-top: 0;
}

/* =Sticky
------------------------------------------------------------------
*/

#entry_content .sticky {
  margin-bottom: 30px;	
}

#entry_content .sticky .entry {
  padding-bottom: 1em;
	border-bottom: 1px dotted #999;
}

#entry_content .sticky h2 {
  border-bottom: 1px solid #EEE;
}

#entry_content p:last-child {
  margin-bottom: 0;
}


/* =Typography
------------------------------------------------------------------
*/

body, .delicious-desc, #commentform textarea, .archive #content, #footer {
font-family: Arial, sans-serif;	
background: #FFF;
}

h1, h2, h3, h4, h5, h6, #main_nav ul, .date, .description, .ctitle, .fin,
 	.entry > p, .entry > ul, .error, .more-link, .comment-author, .comment-meta, .comment-awaiting-moderation,
 	.pagination p span, #entry_content p.tags span {
		font-family: Georgia, "Times New Roman", Times, serif;
}


.description, #content .date {
  font-style: italic;
}

h1 {
  font-size: 1.5em;
}

h2.title {
  font-size: 1.7em;
  margin-bottom: 1em;
  padding-bottom: .13em;
  border-bottom: 1px solid #EEE;
}

.entry {
  font-size: 1em;
  line-height: 1.618em;
	color: #666;
}

#entry_content p {
  margin: 10px 0 10px 0;
}

#entry_content p.tags {
  margin: .3em 0 0 0;
}

.entry h1, .entry h2, .entry h3,
.entry h4, .entry h5, .entry h6 {
	color: #2a2a2a;
  margin: 1em 0 0 0;
 	padding: 0 0 0 0;
}

.entry h1 {
  font-size: 1.4em;
line-height: 1.6em;
  font-weight: bold;
}

.entry h2 {
  font-size: 1.3em;
line-height: 1.5em;
}

.entry h3 {
  font-size: 1.2em;
line-height: 1.4em;
}

.entry h4 {
  font-size: 1.1em;
  line-height: 1.3em;
}

.entry h5 {
  font-size: 1em;
line-height: 1.2em;
}

.entry h6 {
  font-size: .9em;
line-height: 1.1em;
}

.entry ul {
	list-style-type: none;
	margin: 0 1.618em;
}

.entry li {
	padding-bottom: .618em;
}

.entry ul strong {
	font-weight: bold;
	font-size: .7em;
	color: #2a2a2a;
	text-transform: uppercase;
}

#supplementary h3, h2.widgettitle {
  margin: 1.8em 0 -10px 0;
  font-size: 14px;
	color: #000;
  font-variant: small-caps;
  border-bottom: none;
}

.widget li {
  border-bottom: 0;
}

#commentform p {
font-size: 0.8em;
  margin: .7em 0;
}

#commentform textarea {
  background: #EEE;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border: 0;
  padding: 4px;
  width: 43.5em;
  font-size: .8em;
  color: #000;
  overflow: auto;
}

 .description, #content .date  {
  font-size: .8em;
  color: #666;
}

.commentcount {
  color: #666;
}


#entry_content .date {
  margin: -1.8em 0 1.3em 0;
}

.entry > p:first-child:first-letter {
  font-size: 1.5em;
color: #000;
}

#search {
  height: 145px;
background: transparent url(images/berto.jpg) no-repeat center top;
border-top: 1px dotted #999;
border-bottom: 1px dotted #999;
margin-top: 15px;
}

#wrapper .search {
	text-transform: uppercase;
	font-size: .7em;
	padding-right: .5em;
}

#searchform {
	margin-top: 5px;
	text-align: right;
	padding: 0 0 .6em 0;
	}
	
#searchform input.search {
  width: 11.1em;
height: 16px;
  text-transform: none;
	vertical-align: bottom;
}

#searchform input#searchsubmit {
  padding: 2px;
  background: url(images/search.png) no-repeat center #EEE;
  text-indent: -9999px;
  line-height: 0;
  width: 25px;
  height: 20px;
}

.search-no-results .entry img {
  margin: 0;
}

.entry.search-results {
  margin-bottom: 3em;
}

input {
	background: #eeeeee;
	border: 0;
	padding: 2px;
	border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  color: #666;
	}
	
input#submit {
  padding: 4px 5px;
  color: #000;
}

input#submit:hover {
  cursor: pointer;
  color: #FFF !important;
  background: #CC0000 !important;
}
	
blockquote {
	width: 90%;
	margin: 2em auto;
	padding: 0 0 0 1em;
	border-left: 2px solid #000;
	font-style: italic;
}

small, .smaller {
	font-size: .85em;
}

.entry img {
	margin: 1.5em auto;
	display: block;
	border: 0;
	max-width: 470px;
}

.entry .wp-caption img {
  margin-bottom: 0;
}

.entry img.wp-smiley {
	display: inline;
	border: 0;
	padding: 0;
	margin: 0;
}

#entry_content .caption {
	margin: -2.4em 2em 1.5em 0;
	font-size: .85em;
	color: #666;
	text-align: center;
}

#entry_content .caption a, ol.footnotes a {
	font-size: 1.0em;
}

#entry_content h3 a {
	font-weight: normal;
	color: #000;
	font-size: .75em;
}

#supplementary ul {
	list-style-type: none;
}

#supplementary ul ul ul {
  margin-left: 10px;
}

#supplementary .meta ul.children {
  margin-top: 0;
}

#supplementary .meta ul li ul {
  margin-top: 10px;
}

#supplementary p {
	line-height: 1.618em;
}

.meta {
	margin: 0;
	color: #666;
	font-size: .7em;
	line-height: 1.9em;
}

.footnotes {
	margin: 3em 0 0 0;
	padding-left: 2.2em;
	border-top: 1px dotted #999;
	font-size: .85em;
	line-height: 1.2em;
}

li.footnote {
	margin-top: .5em;
}

.wp-tag-cloud {
	padding-left: 0;
}

.highlight {
	color: #ff9900;
}

.error {
	font-size: 5em;
	text-align: center;
}

#footer {
	clear: both;
	border-top: 1px dotted #999;
	font-size: .7em;
	color: #2a2a2a;
	line-height: 1.618em;
	padding-left: 20.7em;
}

#footer_contact {
	width: 14.1em;
	float: right;
	display: inline;
	padding: 1.5em 0;
}

#footer_info {
	color: #888888;
    width: 30em;
	height: 3.2em;
	float: left;
	display: inline;
	padding: 1.5em 1.9em 1em 0;
}

#footer p {
	margin: 0;
	padding: 0;
}

#entry_content .fin {
	text-align: center;
	font-size: 1.3em;
	margin: 3em 0 4em 0;
}

.more-link .bracket {
	line-height: 5em;
	font-size: 1.5em;
}

.post_nav {
	width: 15.5em;
}

code {
	font-size: 1em;
}

.navigation {
	font-size: .7em;
}

.spacer {
	height: 2em;
	background: url(./images/spacer.png) top center no-repeat;
	margin-right: 2em;
}

#entry_content .pagination p {
  margin: 0 0 15px 0;
}

#entry_content .pagination p span,
#entry_content p.tags span {
  color: #666;
  font-style: italic;
  font-size: 1.1em;
}

#entry_content p.tags span {
  padding-right: 3px;
}

#entry_content .pagination a {
  font-weight: normal;
  padding: 2px 3px;
  margin: 0 1px;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}

.entry table {
  width: 100%;
}

.entry table tr th {
  text-align: left;
  background: #EEE;
  padding-left: 5px;
}

.entry table tr td {
  padding-left: 5px;
  border-bottom: 1px solid #EEE;
}

.entry pre {
  padding: 10px;
  background: #EEE;
  font-size: 12px;
}

.entry ul, .entry ol {
  margin-top: 10px;
}

.entry ul ul, .entry ol ol{
  padding-left: 20px;
}


/* =Link Styles
------------------------------------------------------------------
*/


input#searchsubmit {
  background: url(images/search.png) no-repeat center;
}

input#searchsubmit:hover {
  background: url(images/search.png) no-repeat center #CC0000 !important;
  cursor: pointer;
}

.navigation a:hover {
  background: #CC0000;
  color: #FFF !important;
}

a {
	color: #666;
}

a:hover, a:hover span {
  color: #CC0000 !important;
}

.entry sup a,
#main_nav .current_page_item a,
#main_nav .current_page_ancestor a
{
  color: #CC0000 !important;
}

h2 a, #main_nav a {
	color: #000;
}

img a, img a:hover {
	text-decoration: none;
}

.entry a {
	color: #2a2a2a;
	text-decoration: underline;
}

.navigation a {
  color: #888888;
  font-weight: normal;
  padding: 3px 5px;
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
}

.entry sup {
	font-size: 11px;
	color: #aaa;
}

.entry sup a {
	border: 0;
	margin: 0;
	font-weight: normal;
	font-size: 10px;
}

#supplementary .post_nav ul.about_nav li a, #supplementary .post_nav ul.single_post_meta a, #supplementary ul.contact_key li a, #footer a {
	color: #888888;
	border-bottom: 0;
}

#supplementary ul.single_post_meta a {
  display: inline;
}

#supplementary a {
	color: #888888;
}

#supplementary .offsite a, .offsite a img {
	border: 0;
}

.entry h3 a {
	color: #000;
	text-decoration: none;
	border: 0;
}

.entry h3 a:hover {
  text-decoration: none;
}

.entry a.more-link {
	color: #666;
	font-style: italic;
	font-size: 14px;
	border: 0;
	text-align: center;
	display: block;
	margin: 0 auto 0 auto;
	text-transform: none;
	font-weight: normal;
	clear: both;
	
}


/* =Plug-in Styles
------------------------------------------------------------------
*/

ul.delicious {
	list-style-type: none;
}

ul.delicious li {
	margin: 1em 0;
	line-height: 1.5em;
	padding-bottom: .8em;
}

.twitter {
	margin: 0 0 4em 0;
	font-size: .7em;
	color: #999;
}

.smartarchives {
	margin: 2em 0 3em 0;
	font-size: .8em;
}

.smartarchives ul {
	margin: 0 0 1.5em 0;
	list-style-type: none;
}
	
.smartarchives h2 {
	margin: 0 0 0 0;
}

.smartarchives h2 a {
	text-decoration: none;
	color: #000;
	border: 0;
}

.smartarchives h2 a:hover {
	text-decoration: none;
	border: 0;
}

.monthly {
	clear: both;
	padding-top: 3em;
}

ul.archive_block {
	padding-left: 0;
	width: 100%;
	overflow: hidden;
	padding-bottom: 2em;
}

#content .archive_block li {
	float: left;
	display: inline;
	padding: 5px 7px;
	background: #000;
	color: #FFF;
	font-size: 11px;
	margin-left: .2em;
	margin-bottom: .2em;
}

#content .archive_block li.empty {
	font-size: 11px;
	color: #000;
}

#content .smartarchives .archive_block li a {
	color: #888888;
	border-bottom: 0;
	font-weight: normal;
	font-size: 11px;
	border-bottom: 1px dotted #336699;
	
}

.contactform {
	margin: 2em 0;
}

.contactform label {
	font-weight: bold;
}

.contactleft {
	margin: 1em 0 0 0;
}

#contactsubmit {
	margin: 1em 0 0 0;
}

/* =Threaded Styles
------------------------------------------------------------------
*/

ul.commentlist cite {
	font-style: normal;
	font-size: 1.1em;
}

ul.commentlist span.says {
	display: none;
}

ul.commentlist .comment-author, ul.commentlist .comment-meta, ul.commentlist .comment-awaiting-moderation {
	font-style: italic;
	color: #888888;
}

.comment-author a, .comment-meta a {
  color: #888888;
  font-weight: normal;
  font-size: 1em;
}

ul.commentlist .comment-meta {
	margin-top: -.5em;
}

ul.commentlist p {
	font-size: 0.8em;
	line-height: 1.618em;
}

.entry ul.commentlist .comment.bypostauthor .vcard img {
	border: 1px solid #CC0000;
}

.commentlist ul.children {
	list-style-type: none;
	overflow: hidden;
	margin-top: 1.5em;
}

h3#comments {
	clear: both;
	font-size: 1em;
  margin-top: 1em;
	margin-bottom: .7em;
  padding-top: 1em;
  border-top: 1px solid #EEE;
}

ul.commentlist .navigation {
	border: 0;
}

ul.commentlist .comment .comment-author.vcard img{
	border: 1px solid #CCC;
	padding: 2px;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkig-border-radius: 2px;
}

.nocomments {
	font-size: .85em;
	font-style: italic;
}

.page p.nocomments {
  display: none;
}

a.comment-reply-link {
	font-family: Arial, sans-serif;
	font-size: 0.7em;
	font-weight: bold;
}

#reply-title a#cancel-comment-reply-link {
	font-family: Arial, sans-serif;
	font-weight: bold;
	padding-left: 1em;
}

/* =Comment Styles
------------------------------------------------------------------
*/
ul.commentlist,
ul.commentmeta {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
ul.commentmeta {
	margin-top: 2em;
}
img.avatar {
	margin: .3em 1em 0 0;
	float: left;
	display: inline;
}
.commenttext {
	margin-left: 4.4em;
	border-bottom: 1px dotted #000;
	padding-bottom: .25em;
}
#comments,
#respond {
	margin: 1.618em 0 0 0;
	border: 0;
	clear: both;
}
.moderation {
	margin-left: 4.4em;
}
.ctitle {
	font-variant: small-caps;
}
li.comment {
	margin: 1.5em 0;
}
li.comment p {
	font-family: Arial, sans-serif;
}
#entry-content .comment-body p {
	margin-bottom: 1em;
}
div.reply {
	margin: 0;
}
#respond .comment-notes {
	margin-bottom: 1em;
}
#respond p {
	font-size: 0.8em;
	margin: 0.5em 0 0 0;
}
.form-allowed-tags {
	line-height: 1em;
}
.children #respond {
	margin: 0 48px 0 0;
}
h3#reply-title {
	font-size: 1em;
	margin: 0.5em 0 0 0;
}

#respond {
  padding-top: 0;
  border-top: 1px solid #EEE;
}

#respond .required {
	color: #ff4b33;
	font-weight: bold;
}
#respond input {
	margin: 0 0 9px;
	width: 98%;
	padding: 4px;
}
#respond textarea {
	width: 98%;
}
#respond .form-allowed-tags {
	color: #888;
	font-size: 11px;
	line-height: 14px;
}
#respond .form-allowed-tags code {
	font-size: 10px;
}
#respond .form-submit {
	margin: 12px 0;
}
#respond .form-submit input {
	font-size: 11px;
	width: auto;
}
#comments-list #respond {
	margin: 0 0 18px 0;
}
#comments-list ul #respond {
	margin: 0;
}

.commentlist .comment-body p {
  margin: .7em 0 !important;
}

.commentlist #respond {
 margin-top: 0;
}

.commentlist #respond h3 {
  margin-bottom: 0;
  margin-top: 0;
}





/* =Required 
------------------------------------------------------------------
*/

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

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

#entry_content .entry p.wp-caption-text {
	color: #999;
	text-align: center;
	font-size: 11px;
	margin-top: 0;
}



/* =Widget
------------------------------------------------------------------
*/
.textwidget {
	margin-top: 15px;
	padding-bottom: 15px;
	border-bottom: 1px dotted #CCC;
}

.entry img.attachment-post-thumbnail {
  border: 0;
  float: left;
  margin: 7px 10px 0 0;
  padding: 0;
}

/* =Main Menu
------------------------------------------------------------------
*/


#main_nav {
	width: 11em;
	margin: 2.618em 0 0 0;
	float: left;
	display: inline;
	position: fixed;
	background-color: #fff;
}

#main_nav h1.masthead a {
	line-height: 1em;
	color: #000;
}

#main_nav h1.masthead a:hover {
	border-right: none;
}

#main_nav ul {
  text-transform: uppercase;
  font-size: .618em;
  list-style-type: none;
	margin: 1em 0 0 0;
}

#main_nav ul.menu li {
  position: relative;
	margin: 0;
}

#main_nav ul.menu li:hover ul.sub-menu,
#main_nav ul.menu li:hover ul.children {
  display: block;
}

#main_nav ul.sub-menu, #main_nav ul.children {
  margin: 0;
  position: absolute;
  top: -1px;
  left: 160px;
  width: 165px;
  font-size: .9em;
	line-height: 1.618em;
  display: none;
}

#main_nav ul.sub-menu li, #main_nav ul.children li {
  width: 100%;
	padding: 0;
}

#main_nav li {
	line-height: 1.618em;
	border-bottom: 1px solid #EEE;
}

#main_nav li:last-child {
	border-bottom: none;
}

#main_nav a {
	display: block;
	width: 100%;
}

#main_nav .menu a {
	padding: 5px 0;
}

#main_nav a:hover, .current_page_item, .current {
	width: 100%;
	border-right: 3px solid #EEE;
}

#main_nav ul.sub-menu li a, #main_nav ul.children li a {
	padding: 0;
}

#main_nav ul.sub-menu a:hover, ul.sub-menu .current_page_item, ul.sub-menu .current {
  border-right: 0;
}

/*  IFRAME PLUGIN 
*/

.iframe-class {
float: left;
background-color: #eeeeee;
border-top: 1px solid #666;
border-left: 1px solid #666;
border-right: 2px solid #666;
border-bottom: 2px solid #666;
margin: 7px 15px 6px 0;
padding: 0;
}

/*  SPECIAL TO page ID 56
*/

ul#pixelperfect li {
	margin-top: 6.18em;
	border-bottom: 0;
	font-size: 9px;
	line-height: 11px;
	text-align: center;
	width: 120px;
}
.mover {
position: relative;
width: 85px;
height: 84px;
z-index: 20;
}
.hi_btn, .hi_btn_active {
position: relative;
width: 48px;
z-index: 30;
padding: 0;
margin: 2px;
}
.hi_btn_active {
  cursor: pointer;
  color: #FFF !important;
  background: #CC0000 !important;
}

/*  SPECIAL TO page ID 31
*/
ul#webcoding li {
	margin-top: 6.18em;
	border-bottom: 0;
	font-size: 9px;
	line-height: 11px;
	text-align: left;
	width: 180px;
}
ul#webcoding li form {
margin: 0;
padding: 0;
}
.preload {
position: absolute;
z-index: -1;
visibility: hidden;
}
.button_div {
margin: 0;
padding: 0;
cursor: pointer;
}
.btn_l, .btn_r, .btn_c, .btn_l_on, .btn_r_on, .btn_c_on, .btn_l_down, .btn_r_down, .btn_c_down {
float: left;
height: 45px;
margin: 0;
padding: 0;
cursor: pointer;
}
.btn_l {
width: 31px;
background: transparent url(images/nav/b_l_off.jpg) top left no-repeat;
}
.btn_r {
width: 31px;
background: transparent url(images/nav/b_r_off.jpg) top left no-repeat;
}
.btn_c {
background: transparent url(images/nav/b_c_off.jpg) top left repeat-x;
}
.btn_l_on {
width: 31px;
background: transparent url(images/nav/b_l_over.jpg) top left no-repeat;
}
.btn_r_on {
width: 31px;
background: transparent url(images/nav/b_r_over.jpg) top left no-repeat;
}
.btn_c_on {
background: transparent url(images/nav/b_c_over.jpg) top left repeat-x;
}
.btn_l_down {
width: 31px;
background: transparent url(images/nav/b_l_down.jpg) top left no-repeat;
}
.btn_r_down {
width: 31px;
background: transparent url(images/nav/b_r_down.jpg) top left no-repeat;
}
.btn_c_down {
background: transparent url(images/nav/b_c_down.jpg) top left repeat-x;
}
a:link.btn, a:visited.btn {
position: relative;
font: normal 9px/40px arial, sans-serif;
color: #d4d4d4;
text-decoration: none;
letter-spacing: 2px;
background-color: transparent;
margin: 0;
padding: 0;
outline: 0;
}
a:hover.btn, a:active.btn, a:link.btn_on, a:visited.btn_on, a:hover.btn_on, a:active.btn_on {
position: relative;
font: normal 9px/40px arial, sans-serif;
color: #EEE !important;
text-decoration: none;
letter-spacing: 2px;
background-color: transparent;
margin: 0;
padding: 0;
outline: 0;
}
#bt_frm_div, #chg_button_form {
float: left;
width: 236px;
text-align: center;
text-indent: 0;
}
#chg_button_form {
display: none;
margin-right: 10px;
}
.btn_txt {
width: 11.25em;
height: 14px;
font: normal 9px/14px arial, sans-serif;
text-align: center;
color: #d4d4d4;
letter-spacing: 2px;
background-color: #666;
border: 1px inset #999;
margin: 11px 0 0 0;
margin-top: expression("10px");
padding: 1px 0;
}
/*  SPECIAL TO page ID 236
*/
#supplementary li.portflogo {
	margin: -1.5em 0 0 -1.5em;
}

