/*
Theme Name: Silentsales
Theme URI: http://silentsalesmachine.com
Author: ImpressUI
Author URI: http://impressui.com/
Description: Custom theme design for SilentSalesMachine.com
Version: 1.0

*/


/* =Structure
-------------------------------------------------------------- */

@media screen and (max-width:1054px) { 
	body {
		overflow-x:hidden;	
	}
	#page {
		width:100% !important;
	}
	#primary {
		position:relative;
		top:40px;
		float:none !important;
		margin:0px auto !important;
		width:80% !important;
		padding:20%;
	}
	#main .widget-area {
		width:84% !important;
		clear:both;
		float:none !important;
		margin-left:auto;
		margin-right:auto;
		margin-top:55px;
		padding:0px !important;
	}
	#optinbox {
		display:none;
	}
	.jim_image {
		display:none;
	}
	.title_book {
		float:none !important;
		height: 332px;
		width: 578px;
		top:20px;
		position:relative;
		margin:0px auto;
		}
	#access {
		width:40% !important;
		float:left !important;
		
		margin:0px auto !important;
	}
	#access li {
		float:left !important;
	}
	.widget blockquote {
		width:80% !important;	
		margin:0px auto !important;
	}
	#site-generator-left {
		width:30% !important;
		float:none !important;	
		margin:-26px 0px 0px 10px !important;
		
	}
	#site-generator-right {
		width:50% !important;
		float:left !important;
		clear:both;
		margin-top:0px !important;
		text-align:left !important;
		margin:30px 0px 0px 10px !important;
	}
	#colophon {
		background:#273F39 !important;
		height:100% !important;	
	}
	#footerwrap {
		width:100% !important;	
	}
	.clearfix:after {
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0;
        }
	* html .clearfix             { zoom: 1; } /* IE6 */
	*:first-child+html .clearfix { zoom: 1; } /* IE7 */
	}


/* =Structure
-------------------------------------------------------------- */

body {
	overflow-x:hidden;
	margin:0px;
	padding:0px;
	width:100%;
	height:100%;
	background: #435956 url('images/bg_grd.jpg') repeat-x top left;
	font-family: Arial, Helvetica,sans-serif; 
}

#page {
	display: block;
	width:1040px;
	margin:0px auto;
}
#primary {
	clear:both;
	float: right;
	width: 675px;
	padding:15px;
	background:#fff;
	
}
.page-template-full-width-page-php #primary {
	clear:both;
	float: left;
	width: 1005px;
	padding:15px;
	background:#fff;
}
.page-template-full-width-page-php #content .entry-title {
    width: 1005px;
}
.page blockquote {
	background: none repeat scroll 0 0 #F3F3F3;
    border: 1px solid #999999;
    margin-left:auto;
    margin-right:auto;
    margin-bottom:15px;
    padding: 10px;
    width: 600px;
}
.page blockquote:after {
    content: close-quote;
}
.page blockquote q:before {
    content: open-quote;
}
.page blockquote q {
    font-size: 14px;
    font-weight: bold;
    quotes: "“" "”" "‘" "’";
}
.page blockquote footer {
	color: #253D38;
    font-size: 17px;
    font-style: italic;
    margin-top: 15px;
    text-align: right;
}
.page blockquote footer small {
    color: #333333;
    font-size: 13px;
    font-style: italic;
    margin-top: 5px;
}
#content {
	margin: 0;
}
#main .widget-area {
	float: left;
	overflow: hidden;
	width: 300px;
	padding:15px;
	background:#f1f2d8;
}
#colophon {
	clear: both;
	display: block;
	width: 100%;
}

/* Increase the size of the content area for templates without sidebars */
.full-width #content,
.image-attachment #content,
.error404 #content {
	margin: 0;
}

/* Text meant only for screen readers */
.screen-reader-text,
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}


/* =Header
-------------------------------------------------------------- */

#site-title {
	font-size: 13px;
	margin: 0px;
	padding:0px;
	position:absolute;
	text-indent:-9999px;
}
#site-description {
	font-size: 13px;
	margin: 0;
	padding:0px;
	position:absolute;
	text-indent:-9999px;
}

.jim_image {
	width:330px;
	height:563px; /* 559 */
	margin-top:9px;
	margin-left:-10px;
	float:left;
}

.title_book {
	width:578px;
	height:332px;
	float:right;
	position:relative;
	top:20px;
	z-index:-1;
	/* position:absolute;
	right:0px;
	top:20px; */
}

.undernav_box {
	width:700px;
	height:193px;
	float:right;
}

.newsletter {
	width:200px;
	height:200px;
	float:left;
}

.orderbutton {
	width:560px;
	height:200px;
	float:right;
}

.orderbuttonimg {
	float:right;
	margin-top:-5px;
	position:relative;
	z-index:1;
}

.orderareatitle1 {
	font-size:17px;
	color:#F2F2D8;
	float:right;
	padding:20px 7px 5px 0px;
	margin:0px;
}

.orderareatitle2 {
	font-size:17px;
	color:#F2F2D8;
	font-style:italic;
	float:right;
	padding:5px 7px 5px 0px;
	margin:0px;
}
#branding {
	position:relative;
}
/* #optinbox {
	width:250px;
	height:400px;
	position:absolute;
	top:46px;
	left:195px;
} */
#optinbox {
    height: 150px;
    margin-left: 190px;
    margin-top: 45px;
    position: absolute;
    width: 250px;
}
#optinbox #name {
	height:40px;
	width:197px;
	font-size:18px;
	color:#39554f;
	background:transparent;
	border:0px;
	padding-left:10px;
}
#optinbox #emailx {
	height:40px;
	width:197px;
	font-size:18px;
	color:#39554f;
	background:transparent;
	border:0px;
	margin-top:5px;
	padding-left:10px;
}
#optinbox #button {
	margin-top:10px;
}

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

#access {
	display: block;
	float: right;
	margin: 0 auto;
	width: 680px;
	/* margin-top:332px; */
	padding-bottom:7px;
}
#access ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
#access li {
	float: right;
	position: relative;
}
#access a {
	display: block;
	line-height: 2em;
	padding: 0 1em;
	text-decoration:underline;
	color:#2c463a;
}
#access ul ul {
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	position: absolute;
	top: 2em;
	left: 0;
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #dedede;
	line-height: 1em;
	padding: .5em .5em .5em 1em;
	width: 10em;
	height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {
	text-decoration:none;
}
#access ul ul a:hover {
	text-decoration:none;
}
#access ul li:hover > ul {
	display: block;
}


/* =Content
-------------------------------------------------------------- */

.sticky {
}
.entry-meta {
	clear: both;
	display: block;
}
.single-author .entry-meta .byline {
	display: none;
}
#content nav {
	display: block;
	overflow: hidden;
}
#content nav .nav-previous {
	float: left;
	width: 50%;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content #nav-above {
	display: none;
}
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}
#nav-below {
	margin: 1em 0 0;
}
.page-link {
	clear: both;
	margin: 0 0 1em;
}
.page .edit-link {
	clear: both;
	display: block;
}

#content .entry-title {
	font-weight:bold;
	color:#263C39;
	font-size:23px;
	width:670px;
	padding-bottom:3px;
	border-bottom:1px solid #000;
}

/* 404 page */
.error404 .widget {
	float: left;
	width: 33%;
}
.error404 .widget .widgettitle,
.error404 .widget ul {
	margin-right: 1em;
}
.error404 .widget_tag_cloud {
	clear: both;
	float: none;
	width: 100%;
}

/* Notices */
.post .notice,
.error404 #searchform {
	background: #eee;
	display: block;
	padding: 1em;
}

/* Image Attachments */
.image-attachment div.entry-meta {
	float: left;
}
.image-attachment nav {
	float: right;
	margin: 0 0 1em 0;
}
.image-attachment .entry-content {
	clear: both;
}
.image-attachment .entry-content .entry-attachment {
	background: #eee;
	margin: 0 0 1em;
	padding: 1em;
	text-align: center;
}
.image-attachment .entry-content .attachment {
	display: block;
	margin: 0 auto;
	text-align: center;
}

/* Aside Posts */
.format-aside .entry-header {
	display: none;
}
.single .format-aside .entry-header {
	display: block;
}
.format-aside .entry-content,
.format-aside .entry-summary {
	padding-top: 1em;
}
.single .format-aside .entry-content,
.single .format-aside .entry-summary {
	padding-top: 0;
}

/* Gallery Posts */
.format-gallery .gallery-thumb {
	float: left;
	margin: 0 1em 0 0;
}

/* Image Posts */
.format-image .entry-header {
	display: none;
}
.single .format-image .entry-header {
	display: block;
}
.format-image .entry-content,
.format-image .entry-summary {
	padding-top: 1em;
}
.single .format-image .entry-content,
.single .format-image .entry-summary {
	padding-top: 0;
}


/* =Images
-------------------------------------------------------------- */

a img {
	border: none;
}
p img {
	margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
img.alignleft {
	margin-right: 1em;
}
img.alignright {
	margin-left: 1em;
}
.wp-caption {
	padding: .5em;
	text-align: center;
}
.wp-caption img {
	margin: .25em;
}
.wp-caption .wp-caption-text {
	margin: .5em;
}
.gallery-caption {
}
.wp-smiley {
	margin: 0;
}


/* =Forms
-------------------------------------------------------------- */

#searchform label {
	display: none;
}
#searchform input#s {
	width: 60%;
}
input[type=text],
input#s {
	margin: 0 1em 0 0;
	width: 60%;
}
textarea {
	width: 80%;
}

/* Class for labelling required form items */
.required {
	color: #cc0033;
}


/* =Comments
-------------------------------------------------------------- */

article.comment {
	display: block;
}
#respond input[type=text] {
	display: block;
	width: 60%;
}
#respond textarea {
	display: block;
	margin: 0 0 1em;
	width: 80%;
}
#respond .form-allowed-tags {
	clear: both;
	width: 80%;
}
#respond .form-allowed-tags code {
	display: block;
}


/* =Widgets
-------------------------------------------------------------- */

.widget {
	display: block;
}
.widget-area .widget_search {
	overflow: hidden;
}
.widget-area .widget_search input {
	float: left;
}
.widget-title {
	font-weight:bold;
	color:#263C39;
	font-size:23px;
	width:290px;
	padding-bottom:3px;
	border-bottom:1px solid #000;
}

.widget {
	padding:10px;
	margin:0px;
}
.widget blockquote {
	background:#f3f3f3;
	border:1px solid #999;
	padding:10px;
	width:258px;
	margin:0px;
}
.widget q {
	quotes: '“' '”' '‘' '’';
	font-size:14px;
	font-weight:bold;
}
.widget q:before {
	content: open-quote;
}
.widget q:after {
	content: close-quote;
}
.widget footer {
	margin-top:15px;
	text-align:right;
	font-style:italic;
	color:#253d38;
	font-size:17px;
}
.widget small {
	margin-top:5px;
	font-style:italic;
	color:#333;
	font-size:13px;
}

.widget h2 {
	width:250px;
	margin:0px auto;
	text-align:center;
	padding-top:10px;
	padding-bottom:10px;
	border-top:2px solid #425955;
	border-bottom:2px solid #425955;
}

.widget h2 a {
	font-size:16px;
	text-decoration:none;
	color:#29413d;
}

.widget h2 a:hover {
	text-decoration:underline;
}


/* =Footer
-------------------------------------------------------------- */

#colophon {
	clear:both;
	width:100%;
	padding: 30px 0px 30px 0px;
	margin:0px;
	position:relative;
	top:20px;
	background:#273f39;
	color:#fff;
	border-top:3px solid #F1F2D8;
}

#colophon p, #colophon a {
	color:#fff;
}

#footerwrap {
	width:1040px;
	margin:0px auto;
}
#site-generator-right {
	width:630px;
	float:right;
	margin-top:-30px;
}

#site-generator-right a, #site-generator-right p, #site-generator-right  {
	text-align:right;
}

#site-generator-left {
	width:480px;
	float:left;
	margin-top:-8px;
}
/* Custom Tweaks */
#post-18 {
	margin-top:40px;
}