/*
Theme Name: Anderson & Sheppard Theme
Version:  2.0
Theme URI: www.adam-jones.net
Description: A bespoke theme for the A&S Notebook. Please note: This theme doesn't use the standard WordPress widgets system, in order to enforce a consistent layout and to ensure the integrity of the original design.
Author: Adam Jones - <a href="http://www.adam-makes-websites.com" target="_blank">www.adam-makes-websites.com</a>

Created: 23/7/10
Last Updated: 9/7/15

*/
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	
	font-family:"Times New Roman", Times, serif;
	font-size:0.9em;
	font-weight:300;
}

/* CENTRAL CSS 2009! - START */
/* note 1: check your doctype! This CSS was written for 4.01 quirks but does work in 4.01 STRICT */
/* note 2: requires specific ie 7 or less mods */

img {
	outline:none;
	border:none;
}
a {
	color:#990000;
	text-decoration:underline;
}

#container1 { 
	width: 100%; 
	height: 100%; 
	display: table; 
}
/*
#container2 { 
	width:100%;
	display: table-cell; 
	vertical-align: middle;
}
*/
#container3 { 
	width:872px;
	vertical-align: top; 
	
	margin-left:auto;
	margin-right:auto;
	
	margin-top:20px;
	
}
/* CENTRAL CSS - END */
#leftsideOuter {
	position:relative;
	top:-50px;
	width:655px;
	float:left;
	
	min-height:950px;
	border:1px solid #180000 !important;	
}
#leftside {
	width:100%;
}
#header {
	position:relative;
	left:-108px;
	
	margin-left:auto;
	margin-right:auto;
	z-index:9;
	width:448px;
}
#header_inner {
	position:relative;
	
	top:4px;
	padding:1px;
	width:448px;
	height:127px;
	
	background-color:#180000;
}
#header_inner2 {
	position:relative;
	text-align:center;
	
	width:446px;
	height:125px;
	
	border:1px solid #fff;
	background-color:#180000;
}
#header_logos {
	margin:15px 0px 8px 0px;
}
#header_buttons {
	position:relative;
	width:100%;
	overflow:hidden;
	
	text-align:center;
}
#header_buttons a {
	font-size:11px;
	-webkit-font-smoothing: antialiased;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.4);
	color:#e5e1e0;
	text-decoration:none;
	letter-spacing:0.05em;
}
#navBR1 {
	display:none;	
}
#header_buttons a:hover {
	color:#d1d0c6;
}
#blog_link {
	position:relative;
	margin-top:10px;
	
	text-align:center;
	width:100%;
	font-size:10.5px;
	
	color:#d7d7d7;
	-webkit-font-smoothing: antialiased;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.4);	
}
#blog_link a {
	text-decoration:none;
	color:#d7d7d7;
	-webkit-font-smoothing: antialiased;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.4);	
}
#blog_link a:hover {
	color:#c8c8c8;
}


.headerbullet {
	margin-left:6px;
	margin-right:6px;
}
.pagestartimage {
	margin-bottom:30px;	
}
#rightside {
	width:195px;
	float:right;
	margin-left:18px;
	
	position:relative;
	top:-50px;
}
.rightsidewrapper {
	margin-top:8px;
	margin-bottom:10px;
	margin-left:7px;
	
	font-family:"Times New Roman", Times, serif;
	font-size:0.8em;
	line-height:1.5em;
}
.rightsidewrapper li {
	list-style:none;
	margin-bottom:8px;
}
.rightsidewrapper a {
	color:#000;
}


#leftfooter {
	/* not using now */
}
#footer {
	width:fit-content;
	text-align:center;
}
.footerHPDiv ul {
	width:fit-content;
	display:block;
	text-align:center;
	margin:0 auto 0 auto;
	margin:0px;
	padding:0px;	
}
.footerHPDiv ul li {
	/* centre align list elements */
	white-space:nowrap;
	margin-bottom:4px;
	font-size:12px;
	display:inline;
	list-style-type:none;
	margin:2;
}
#footer_links {
	margin-bottom:18px;
}
#footer_links a {
	color:#000;
	font-weight:normal;
	
	font-size:0.9em;
	text-decoration:none;
	
	margin-left:15px;
	margin-width:15px;
}

#footer_copyright {
	font-style:italic;
}

#innercontent {
	width:445px;
	position:relative;
	margin:90px auto 0 auto;
	
	line-height:1.4em;
	
	padding-bottom:35px;
}
#innercontent-wide {
	width:576px;
	position:relative;
	margin:90px auto 0 auto;
	
	line-height:1.4em;
	
	padding-bottom:35px;
}


#searchform {
	position:relative;
	left:-2px;x
}
.searchform {
	padding-bottom:10px;	
}


#s {
	width:153px;
	height:21px;
	border:none;
	
	margin:0px !important;
	padding:0px!!important;
	border:1px solid #180000 !important;
	
	font-family:"Times New Roman", Times, serif;
	font-size:1em;
	letter-spacing:0.10em;
	
	padding-left:2px;
	padding-top:2px;
	
	float:left;
}
#searchsubmit {
	position:relative;
	float:left;
	text-align:center;
	top:0px;
	left:3px;
	
	height:21px;
	width:29px;
	outline:none;
	cursor:pointer;
	
	border:1px solid #180000 !important;
	background-color:#fff;
	margin:0px;
	padding:0px;
}
#searchend {
	clear:both;
	margin-bottom:4px;
}


.contributor_wrapper {
	position:relative;
	top:5px;
	background-color:#66F;
}
#contribscolumn1 {
	float:left;
	width:50px;
	
	margin-bottom:10px;
}
#contribscolumn1 img {
	border:1px solid #000;
    box-shadow: 0 0 0 1px #fff, 0 0 0 2px #888; 
}
#contribscolumn2 {
	line-height:1.2em;
	
	float:left;
	width:136px;
	
	margin-left:2px;
	margin-bottom:10px;
}


#contribscolumn1-wide {
	float:left;
	width:135px;
	
	margin-bottom:30px;
}
#contribscolumn2-wide {
	line-height:1.2em;
	
	float:left;
	width:430px;
	
	margin-left:2px;
	margin-bottom:30px;
}
.contribscolumn2-wide-title{
	font-size:1.1em;
	
	font-weight:bold;
}
.contribscolumn2-wide-desc{
	margin-top:4px;
	margin-bottom:4px;
}



/* rightside stuff */
.rightsideBox {
	padding:1px;
	width:193px;
	height:20px;
	overflow:hidden;
	background-color:#180000;	
}
.rightsideBoxInner {
	text-decoration:none;
	color:#fff;
	letter-spacing:0.05em;
	
	padding:1px;
	font-size:10px;
	display:block;
	border:1px solid #fff;
	width:189px;
	height:16px;
	
	-webkit-font-smoothing: antialiased;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.4);
}
.rightsideBoxInner span {
	display:inline-block;
	padding:3px 3px 3px 5px;	
}
.rightsideBox a {
	text-decoration:none;
	color:#fff;
}


.rightsidewrapper {
	display:block;
	padding-top:4px;
	padding-bottom:4px;
}

#rightsidebottom {
	/* can effect footer height */
	height:10px;	
}
.largeimg {
	padding-bottom:20px;	
	
}

.blogitemlinks_wrapper {
	font-size:0.8em;
	color:#666666;
	
}
.blogitemlinks_wrapper a{
	color:#660000;
	
}
.emailbtn {
	position:relative;
	top:2px;
	
}

.blogitemlabels_wrapper {
	margin-top:0px;
	
	font-size:0.8em;
	color:#990000;
}
.blogitemtitle {
	display:inline-block;
	margin-top:10px;
	margin-bottom:8px;
	font-weight:bold;
}
.blogitemtitle a{
	color:#000;
	font-weight:bold;
	text-transform:uppercase;
	margin-top:10px;
	margin-bottom:8px;
	
	text-decoration:none;
}


.blogitemtitleAuthor {
	display:inline-block;
	margin-bottom:1px;
	font-weight:bold;
}
.blogitemtitleAuthor a{
	color:#000;
	font-weight:bold;
	text-transform:uppercase;
	margin-bottom:1px;
	
	text-decoration:none;
}


.blognav {
	margin-top:40px;
}
.blognav a{
	text-decoration:none;
	color:#000;
}
.archivelist {
	list-style:none;
}
#archiveswrapper li{
	list-style:none;
	margin-bottom:8px;
	color:#000;
	
}
#theArchives {
	color:#000;
}
#theArchives a {
	color:#000;
	text-decoration:none;
	display:block;
	margin-bottom:2px;
}

#archiveswrapper a{
	color:#000;
}
#blogrollwrapper li{
	list-style:none;
	margin-bottom:8px;
}
#blogrollwrapper a{
	color:#000;
}

#linkswrapper li {
	list-style:none;
	margin-bottom:8px;
}
#linkswrapper a {
	color:#000;
}

.linkslinks {
	display:block;
	padding-top:4px;
	padding-bottom:4px;
}
.bloglinks {
	display:block;
	padding-top:4px;
	padding-bottom:4px;
}

/* following 2 should be similar as mixed together on search results page */
.post {
	margin-bottom:30px;
}
.page {
	margin-bottom:30px;
}


.entry-content {
	margin-bottom:20px;
}
.entry-content img {
	margin-bottom:20px;
	outline:none;
}
.entry-content div{
	margin-bottom:20px;
}
.entry-content p{
	/* margin:0px; */
}
/* main auto bordering of media */
.entry-content img, .entry-content iframe, #cboxLoadedContent {
	padding:1px;
	border:1px solid #585757;
}




#_mcePaste {
	margin:0px;
	border:0px;
}



.page-title {
	font-size:1.4em;
	margin-bottom:15px;
}
.entry-title {
	text-align:center;
	text-transform:uppercase;
	font-size:1.2em;
	margin-bottom:15px;
}


/* generic posts output */
.posttitle {
	font-size:1.1em;
	text-decoration:underline;
}
.postcopy {
	margin-top:4px;
	margion-bottom:4px;
}
.commentLink{
	color:#990000;
	font-size:0.9em;
}
a.commentLink {
	color:#990000;
	font-size:0.9em;	
}

/* features */
.featuresDiv1 {
	float:left;
	width:75px;
	margin-bottom:14px;
}
.featuresDiv1 img {
    box-shadow: 0 0 0 1px #fff, 0 0 0 2px #888;   /* double borders */
}  
#contribscolumn1-wide img {
	box-shadow: 0 0 0 1px #fff, 0 0 0 2px #888;   /* double borders */
}

.featuresDiv2 {
	float:left;
	width:110px;
	margin-bottom:14px;
}
.featuresMore {
	margin-left:3px;
	display:inline-block;	
}
.featuresTitle {
	font-weight:bold;	
}
.entry-date {
	color:#660000;
	text-decoration:underline;
}


/* new landing page */
#headerHP {
	width:869px;

	margin:30px 0px 5px 0px;
}
#mainHP {
	position:relative;
	width:872px;
	height:605px;
	padding:2px;
	border:1px solid #000;
}
#mainHP2 {
	height:603px;
	border:1px solid #000;
}
#mainHPBGImage {
	width:863px;
	height:596px;
	position:relative;
	top:4px;
	left:4px;
	/*image chosen in page */
	background-repeat:no-repeat;
	background-position:center center;
}
#headerHPMenu {
	display:inline;
	float:right;	
}
#headerHPMenu a {
	font-size:11px;
	text-decoration:none;
	letter-spacing:0.05em;
	
	-webkit-font-smoothing: antialiased;
    text-shadow: 1px 0px 0px rgba(153,0,0,0.5);
}
#headerHPMenu a:hover {
	color:#530000;
}
#footerHP {
	width:869px;
	text-align:center;
	letter-spacing:1px;
	margin-top:10px;
	margin-bottom:25px;
}
#mainHPOverlay {
	position:absolute;
	cursor:pointer;
	height:424px;
	width:874px;
	z-index:999;	
}

#mainHPInner {
	width:100%;
	height:100%;
	position:relative;
}
#homepageBrownBoxReal {
	width:863px;
	height:178px;
	
	position: absolute; bottom: 0; 
	
	z-index:999;
	
	/* opacities */
	background-color:#1f0d11;
	filter:alpha(opacity=90);
	-moz-opacity:0.9;
	-khtml-opacity: 0.9;
	opacity: 0.9;
}
#homepageBrownBoxRealInner {
	z-index:9999;
	padding:13px;
	color:#fff;
}
#homepageContent1 {
	float:left;
	width:160px;	
}
#homepageContent2 {
	float:left;
	width:370px;	
}
#homepageContent2Inner {
	width:335px;	
}
#homepageContent3 {
	float:left;
	width:300px;	
}
#homepageContent3Inner {
	width:298px;
}
#homepagePostImgWrapper {
	position:relative;
	border:1px solid #170402;
	width:139px;
	height:149px;
	z-index:999;
}
#homepagePostImg {
	position:relative;
	overflow:hidden; 
	
	width:137px;
	height:147px;
	cursor:pointer;
	background-position:0px -4px;
	border:1px solid #7d6f6e;
	
	z-index:999;
}
#homepagePostImg img{ 
	position:absolute;
	top:-5px;
	left:-5px;
}
#homepagePostImgFile {
	width:146px;
	height:156px;
	
	background-position:top;
	background-repeat:no-repeat;
	
}
.homepageTitle  {
	font-size:14px;
	letter-spacing:3px; 
	text-transform:uppercase;
	line-height:18px;
	font-style:	italic;
	
	display:inline-block;
	width:auto;
	bottom: 2px;
    border-width: 0 0 1px;
    border-style: solid;
}
.homepageTitle2 {
	padding-top:2px;
	font-weight:bold;
	font-size:11px;
	height:20px;
	letter-spacing:2px; 
	text-transform:uppercase;
	border-bottom:solid #7d6f6e 1px;
}
.homepageSubTitle {
	margin-top:8px;
	margin-bottom:5px;
	
	text-transform:uppercase;
	font-size:11px;
	font-weight:bold;
}
.homepageDate {
	text-transform:uppercase;
	font-size:11px;
	letter-spacing:2px; 
	font-weight:bold;
	color:#c2b7b7;
	margin-bottom:6px;
}
.homepageCopy {
	font-size:12px;
	line-height:20px;
	height:80px;
	overflow:hidden;
}
.homepageCopyRight {
	font-size:11px;
	line-height:18px;
	height:130px;
	overflow:hidden;
	margin-top:5px;
}
.homepageCopy a{
	font-weight:bold;
	color:#fff;
	text-decoration:none;
}
.homepageCopyRight a{
	font-weight:bold;
	color:#fff;
	text-decoration:none;
}
.homepageTitle span{
	display:inline-block;
	margin-bottom:4px;
}
.homepageRightLine {
	margin-top:2px;
	margin-bottom:10px;
	height:34px;
	overflow:hidden;
	color:#cabebd;	
}
.homepageRightTitle {
	text-transform:uppercase;
	color:#fff;	
}
.homepageRightTitle a{
	font-weight:normal;
}



/* default image handling - remember styles for tinymce in editor-style.css */
img.centered, img.alignnone, .pagestartimage img, img.aligncenter, .entry-content iframe, .entry-content img {
	width:440px;
	height:auto;
	
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.entry-content iframe {
	width:440px;
	height:250px;
}





/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}

.cboxElement {
	outline:none !important;
}
#cboxOverlay{background:#fff;}
#colorbox{outline:0;}
#cboxContent{margin-top:32px; overflow:visible; background:none;}
.cboxIframe{background:#fff;}
#cboxError{padding:50px; border:1px solid #ccc;}
#cboxLoadedContent{background:none; padding:1px;  }
#cboxLoadedContent img { /* padding:1px; border:1px solid #000; */ }
#cboxLoadingGraphic{background:url(images/colorbox/loading.gif) no-repeat center center;}
#cboxLoadingOverlay{background:#000;}
#cboxTitle{display:none;}
#cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;}

/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background:url(images/colorbox/controls.png) no-repeat 0 0; outline:none;}

/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}

#cboxPrevious{background-position:0px 0px; right:44px;}
#cboxPrevious:hover{background-position:0px -25px;}
#cboxNext{background-position:-25px 0px; right:22px;}
#cboxNext:hover{background-position:-25px -25px;}
#cboxClose{background-position:-50px 0px; right:-3px !important;}
#cboxClose:hover{background-position:-50px -25px;}
.cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;}
.cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;}
.cboxSlideshow_on #cboxSlideshow:hover{background-position:-100px -25px;}
.cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px; right:44px;}
.cboxSlideshow_off #cboxSlideshow:hover{background-position:-75px -25px;}




/* ALL MOBILE MEDIA QUERIES FOLLOW... */
@media (max-width: 915px) {
	#container3 { 
		width:800px;
	}
	#leftsideOuter, #footer {
		width:580px;
	}
	#innercontent-wide {
		width:480px;
	}
	#contribscolumn2-wide {
		width:330px;
	}
	
	#leftfooter {
		display:none;	
	}
	
	
	/* landing page changes */
	#hpWrapper {
		margin:0px 15px 0px 15px;	
	}
	#headerHP {
		width:100%;
	}
	#mainHP {
		width:100%;
		height:505px;
	}
	#mainHP2 {
		width:99.6%;
		height:503px;
	}
	#mainHPBGImage, #mainHPOverlay {
		width:99.1%;
		height:496px;
	}
	#footerHP {
		width:100%;
	}
	#homepageContent3Inner {
		display:none;	
	}
	
	#homepageBrownBoxReal {
		width:100%;
		height:175px;
	}
	#homepageContent1 {
		width:160px;	
	}
	#homepageContent2 {
		width:370px;	
	}
	#homepageContent2Inner {
		width:335px;	
	}
	
	
}




@media (max-width: 840px) {
	/* set all contains to 100% */
	#leftsideOuter {
		min-height:1px !important;	
	}
	#container3 { 
		width:100%;	
	}
	#innercontent {
		width:95%;	
		margin-left:auto;
		margin-right:auto;
	}
	#leftsideOuter, #footer {
		width:95%;	
		margin-left:auto !important;
		margin-right:auto !important;
	}
	#header {
		left:auto;
		margin-left:0px;
		width:100%;	
		height:160px;
	}
	#header_inner {
		margin-left:auto;
		margin-right:auto;
		height:160px;
	}
	#header_inner2 {
		height:158px;
	}
	
	#header_buttons {
		width:90%;
		margin-left:auto;
		margin-right:auto;
	}
	#navBul2 {
		display:none;	
	}
	#navBR1 {
		display:block;	
	}
	#header_buttons a {
		font-size:14px;	
		line-height:20px;
	}
	
	
	#innercontent-wide {
		width:85%;	
	}
	.entry-content {
		width:90%;	
		margin-left:auto;
		margin-right:auto;
	}
	
	#leftsideOuter, #rightside {
		float:none;	
	}
	#rightside {
		margin-top:30px;
		width:91%;	
	}
	
	
	.rightsideBox {
		width:100%;	
	}
	.rightsideBoxInner {
		width:99.4%;	
	}
	.featuresDiv1 {
		display:none;	
	}
	.featuresDiv2 {
		width:100%;	
	}
	
	/* image control */
	img.centered, img.alignnone, .pagestartimage img, img.aligncenter, .entry-content img {
		width:100% !important;
		height:auto !important;
	}
	.entry-content iframe {
		width:100% !important;
		height:370px !important;
	}

	
	/* hide certain rightside content */
	#rightside .contributor_wrapper, #rightside #archiveswrapper {
		display:none !important;	
	}
	#featuresRS {
		margin-bottom:20px;
	}
	#rightside #featuresRS span a:after, #rightside #contribsRWrapper span a:after, #rightside #archivesRWrapper span a:after{
		content:" - click to view";	
	}
	
	/* add footer line */
	#footer {
		position:relative;
		top:-10px;
		width:90%;
		padding-top:20px;
		border-top:1px solid #000;
	}
	.footerHPDiv ul li:last-child {
		display:block;
		margin-top:4px;
	}
	#contribscolumn2-wide {
		width:70%;
	}
	
	#theArchives a {
		margin-bottom:7px;
	}
	
	#s {
		width:94%;
	}
}

@media (max-width: 725px) {
	.rightsideBoxInner {
		width:99.2%;	
	}
	
	#mainHPBGImage, #mainHPOverlay {
		width:98.7%;
	}
	
	
	.entry-content iframe {
		width:100% !important;
		height:320px !important;
	}
}
	

	
@media (max-width: 640px) {	
	#headerHP {
		margin-top:10px;
	}
	#headerHPMenu {
		float:none;
		display:block;	
	}
	.homepageTitle {
		border:none;
		text-decoration:underline;	
	}
	
	.entry-content iframe {
		width:100% !important;
		height:280px !important;
	}
}


@media (max-width: 595px) {
	#homepageContent2 {
		width:65%;
	}
	#homepageContent2Inner {
		width:100%;	
	}
	#homepageTitle {
		width:100%;
		white-space:normal !important;	
	}
	
	#contribscolumn2-wide {
		width:230px;
	}
	#s {
		width:90%;
	}
	
	#mainHPBGImage, #mainHPOverlay {
		width:98.4%;
	}
}


@media (max-width: 575px) {
	#footer_links a:last-child {
		display:block;
	}
	
	.entry-content iframe {
		width:100% !important;
		height:250px !important;
	}
}


@media (max-width: 550px) {
	/* change header width */
	#header {
		width:90%;
		margin-left:auto;
		margin-right:auto;
	}
	#header_inner {
		width:100%;
	}
	#header_inner2 {
		width:99.5%;
		
	}
	
	#header_buttons {
		margin-left:auto;
		margin-right:auto;
		text-align:center;
		width:80%;
	}
	#blog_link {
		margin-left:auto;
		margin-right:auto;
		text-align:center;
		width:90%;
	}
	
	.rightsideBoxInner {
		width:99%;	
	}
	
	#footerHP {
		width:90%;
		margin-left:auto;
		margin-right:auto;
	}
	#homepageContent1 {
		display:none;	
	}
	#homepageContent2 {
		width:100%;
	}
	
	#mainHPBGImage, #mainHPOverlay {
		width:98%;
	}
	
	.homepageCopy {
		line-height:17px;
	}
}

@media (max-width: 480px) {
	#contribscolumn1-wide {
		width:100px;
	}
	#contribscolumn1-wide img {
		width:80px;
		height:auto;	
	}
}


@media (max-width: 440px) {
	.rightsideBoxInner {
		width:98.6%;	
	}
	
	#mainHPBGImage, #mainHPOverlay {
		width:97.6%;
	}

	#contribscolumn1-wide {
		display:none;
	}
	#contribscolumn2-wide {
		width:100%;
	}
	
	.entry-content iframe {
		width:100% !important;
		height:200px !important;
	}
	
}
@media (max-width: 360px) {
	#header_logos {
		width:90%;
		height:auto;	
	}
	#header_buttons a {
		font-size:13px;	
		line-height:20px;
	}
	#footer_links a {
		display:block;
		margin-bottom:5px;
	}
	
	.rightsideBoxInner {
		width:98.3%;	
	}
}

@media (max-width: 390px) {
	#s {
		width:85%;
	}
}

@media (max-width: 330px) {
	/* change header width */
	#header_buttons {
		width:95%;	
	}
	#header_inner {
		width:100%;
		height:167px;
	}
	#header_inner2 {
		width:99%;
		height:165px;
	}
	
	#mainHPBGImage, #mainHPOverlay {
		width:97.1%;
	}
	
	.entry-content iframe {
		width:100% !important;
		height:150px !important;
	}
}

@media (max-width: 300px) {
	#s {
		width:80%;
	}
}