/*
Theme Name:     Mort Gerberg
Theme URI:      http: //ericcorpus.com/dev/mg/
Description:    Child theme for the Twenty Eleven theme
Author:         Eric Corpus
Author URI:     http: //ericcorpus.com
Template:       twentyeleven
Version:        0.1.0
*/

@import url("../twentyeleven/style.css");

/* ========== LAYOUT ========== */

body {
	background-color: #e9a888;
	padding: 0;

}

#page {
	max-width:1054px;
	margin: 1em auto;
}


#container {
	width: 1054px;
	margin: 0 auto;
	background: url('img/container-bg.png') repeat-y;
}

#header {
	height: 177px;
	background: url('img/header.png') no-repeat;
}

#page_content, .left-sidebar #content, .left-sidebar.singular #content {
	float: right;
	background: white;
	margin: 0 26px 10px 0;
	border: solid 1px black;
	border-image: initial;
}


.left-sidebar.singular #content {
	padding-top:1em;
}

#main {
	padding:0;
}

/* ========== TYPOGRAPHY ========== */

a {
	font-weight:bold;
}
.firstletter {
	font-size: 2em;
	font-weight:bold;
}

.firstword {
	font-size: 1.6em;
	font-weight:bold;
}

p {
	font-size:15px;
	margin-bottom:1.1em;
	font-family: 'PT Sans',sans-serif;
}

ul, table, h2 {
	font-family:'PT Sans',sans-serif;
	font-size:15px;

}

#frame_body {
	font-family:'PT Sans', sans-serif;
}

.nobold {
	font-weight:normal;
}

/* ========== HEADER ========== */

#top-left {
	position: relative;
	top: 27px;
	left: 37px;
	width: 149px;
	height: 98px;
}

/* ========== NAVIGATION ========== */

#menu {
	width: 140px;
	border: 2px solid black;
	background-color: #E55924;
	margin-left:15px;
	min-height:585px;

}

#access {
	background: none; /* reset background to display buttons */
	box-shadow: none;
	clear: none;
	display: block;
	float: none;
	margin: 0 auto;
	width: 100%;
	position: relative;
	top: 10px;
}



#access li {
	width: 135px;
	height: 60px;
	display: block;
	text-indent: -9999px;
	margin: auto auto 3px 3px;
   	cursor: pointer;
}


#access .menu-item a {
	height:60px;
	width:135px;
	padding:0;
}

#access .menu-item.menu-item-26 a {
	background: url('img/nav-bio.png') no-repeat left top;
}
#access .menu-item.menu-item-24 a {
	background: url('img/nav-contact.png') no-repeat left top;
}
#access .menu-item.menu-item-22 a {
	background: url('img/nav-books.png') no-repeat left top;
}
#access .menu-item.menu-item-137 a {
	background: url('img/nav-forsale.png') no-repeat left top;
}
#access .menu-item.menu-item-23 a {
	background: url('img/nav-gallery.png') no-repeat left top;
}
#access .menu-item.menu-item-25 a {
	background: url('img/nav-speaking.png') no-repeat left top;
}
#access .menu-item.menu-item-20 a {
	background: url('img/nav-forhire.png') no-repeat left top;
}
#access .menu-item.menu-item-27 a {
	background: url('img/nav-home.png') no-repeat left top;
}
#access .menu-item.menu-item-29 a {
	background: url('img/nav-whatsnew.png') no-repeat left top;
}

#access .menu-item.current-menu-item a{
	background-position: left -60px;
}

#access .menu-item.current-page-ancestor a{
	background-position: left -60px;
}

/* ========== CONTENT ========== */

body, input, textarea {
	font: 15px 'PT Sans',sans-serif;
}

.entry-content {
	padding:1.0em 0 0;
}

#page_content .entry-content {
	width:95%;
}

.archive .page-title { /* make category header disappear on whats-new */
	display: none;
}

#content .post { /* add space between posts on whats-new */
	padding: 1em 0;
}

#content nav { /* zeroes padding under nav links on single.php */
	padding: 0;
}

.singular .entry-header, .singular .entry-content, .singular footer.entry-meta, .singular #comments-title {
	margin: 0 auto;
	width: 100%; /* expand content on single.php */
}

.singular .entry-title {
	font-size: 24px;
	padding:0; /* cut down vertical space around post title */
}

#nav-single {
	width:150px;
}

.entry-meta .cat-links, .entry-meta .sep {
	display: none;
}


.hentry, .no-results {
	border-bottom: 0;
	margin: 0 
	padding: 0;
	position: relative;
}


img[class*="align"],
img[class*="wp-image-"],
#content .gallery .gallery-icon img {/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
	border: none;
	padding: 6px;
}

.for_sale_head {
	font-weight: bold;
	margin-top: 2.2em;
	display: block;
}

.lessspace {
	margin-bottom: 0.5em;
}

.morespace {
	margin-bottom: 2em;
}


/* ========== FOOTER ========== */

#colophon {
	background: url('img/footer-bg.png') no-repeat;
	height: 49px;
}

#copy_notice {
	font-size: 0.7em;
	font-style: italic;
	font-weight: bold;
	width: 850px;
	margin-left: 180px;
	padding-top: 25px;
	text-align:center;
}

/* ========== CONTACT FORM ========== */

#forsale_menu {
	margin:0;
}

.form_tabs {
	padding: 0;
	clear: both;
}

.form_tabs li {
	display: inline;
}

.form_tabs li a {
	background: #DCEEFF;
	padding: 10px;
	float:left;
border-right: 1px solid #CCC;
border-bottom: 1px solid #CCC;
border-top: 1px solid #CCC;
text-decoration: none;
color: black;
font-weight: bold;
cursor: pointer;
width: 134px;
height: 30px;
}

.form_tabs li.active a {
	border-bottom:1px solid #DCEEFF;
	color: #1982D1;
}

.fs_tab {
	float: left; 
	clear: both; 
	background: #DCEEFF; 
	padding: 25px;
	width: 724px;
	border: 1px solid #CCC;
	border-top: none; 
	margin-bottom:25px;
}

#sale-lic {
	border-left:1px solid #ccc;
}

#contact_hand {
	position: relative;
	top: 250px;
	right: 2px;
}


/* ========== ATTACHMENTS ========== */



#page_content article.page .entry-title {
	display: none;
}

.singular.page .hentry {
	padding: 0.5em 0 0;
}

.singular .entry-meta .edit-link a {
	bottom: auto;
	left: -10px;
	position: absolute;
	right: auto;
	top: -20px;
}

/* ========== BOOKS TABLE ========== */

.book-tbl .book-thumb {
    white-space: nowrap;
    overflow: hidden;
    width: 180px;
	text-align:center;
}

.book-tbl {
    table-layout:fixed; 
	font-size:14px;
}

.book-tbl img {
    border:1px solid #000;
	padding:0; 
}

.book-tbl td{
    vertical-align:top;
	padding:15px 10px 15px 10px;
}

.book-h2 {
	padding-top:20px;
	font-size:1.4em;
}

.book-list {
	font-size:14px;
}

/* ========== HIRE TABLE ========== */

.entry-content .hire-td {
	width:300px;
	border:0;
}

.entry-content .hire-tbl {
	border:0;
}

.img-left {
border: 1px solid #DDD;
padding: 6px;
display: inline;
float: left;
margin-right: 1.625em;
}

.img-right {
display: inline;
float: right;
}

#hire-contact, #speaking-contact, #contact-contact {
	background: #DCEEFF;
	padding: 25px;
	border: 1px solid #CCC;
	margin-bottom: 25px;
}

/* ========== IFRAME EDITS ==========*/


.myFrame {
	width: 845px;
	height: 570px;
}

#frame_body {
	background:#fff;
}

#frame_page_content {
	padding: 0 25px 25px 25px;
}

#frame_page_content .entry-title {
	display: none;
}

#frame_container #content {
	width: 80%;
}

#frame_container #content .page-title {
	display:none;
}

/* ========== GALLERY ========== */

#gal_container {
	width:600px;
}

.entry-content .gal_sect_head {
	margin: 2em 0 10px;
	font-weight:bold;
	font-size:1.2em;
}

.gal_text_head {
	font-weight:bold;
	font-size:1.2em;
}

#post-273 .gal_sect_head {
	font-size: 1em;
}

#gal_navigation {
	position: fixed;
	margin-top: 10px;
	width: 150px;
	overflow: hidden;
	font-size:0.8em;
	margin-left:630px;
}

#gal_nav_wrap {
	position:fixed;
	width:100%;
}

.gal_leader {
	font-size: 1.4em;
	font-weight: bold;
	line-height: 1.4em;
}



.entry-content #gal_container .gallery {
	margin: -10px 0 40px;
	height:114px;
}
#titleText, #numberDisplay {
	display: none;
}

.wp-caption-text.gallery-caption { /* remove captions under thumbnails */
	display: none;
}

#gal_select {
	position: fixed;
	right: 20px;
	top: 240px;
}

.ad_pdf {
	margin: -1.5em 0 2em;
}

.vidbox {
	margin-top:2em;
}
/* ========== WHAT'S NEW ========== */


.by-author {
	display: none;
}

.entry-title {
	font-style: italic;
	font-size: 1.4em;
}

.blog_link {
	float:left;
}

#nav-single {
	width:100%;
}

.whats_new_head {
	padding: 1em 0 0;
}

.entry-header .comments-link {
	display: none;
}

.singular .hentry {
	border-bottom: none;
	padding: 1.875em 0 0;
	position: relative;
}


/* TEST PAGE */

#page-content {
	overflow: auto;
	-webkit-overflow-scrolling:touch;
	padding:0 20px 20px;
}

#content-wrap {
	width: 854px;
	height: 570px;
	border:1px solid #000;
	float:right;
	margin-right:22px;
	background: white;
	overflow: auto;
	-webkit-overflow-scrolling:touch;
}


#page-content .page-title {
	display:none;
}

#page-content .entry-title {
	display:none;
}

.category #page-content .entry-title, .single #page-content .entry-title {
	display:block;
}

.single #page-content {
	padding-top:10px;
}