/*
 *  Media Queries Styles
 *  Version 2.1.20
 */

@media screen and (min-width: 1024px) {
	body.home #page-buttons {
		margin:15px 0 20px 190px;
		max-width: 350px;
		width: auto;
		overflow: hidden;
		text-align:center;
	}
	
	body.author #rcol {
		position: absolute;
		right:0;
	}
	
}

@media screen and (max-width: 1024px) {
	body.single article div.social-buttons ul li{
		margin:10px 10px 0 10px;
	}

	body.author #rcol {
		position: absolute;
		right:0;
	}

	body aside.RealEstateWidget  #widget-blankslate-realestate div.real-estate-listing-widget-holder div.featured-rentals-listing:nth-child(n+5) {
		display: none;
	}
	aside.RealEstateWidget #widget-blankslate-realestate , aside.RealEstateWidget #widget-blankslate-realestate .real-estate-listing-widget-holder {
		height: auto !important;
		overflow: visible;
	}
	
	.container, header#masthead, header#masthead .inner, footer#mainFoot .f2 , nav#header-nav, #sub-header{
		width: 100%;
	}
	
	/***Responsive top level menu***/
	body header#masthead{height:auto;text-align:center;}
	body header#masthead nav li{padding-top:0px;padding-bottom:0px;background:none;}
	body header#masthead .inner{text-align:center;}
	header#masthead #site-logo.image, header#masthead nav ul{display:inline-block;float: none;}
	header#masthead nav{width:100%;}
	
	div.page {
		width: 100%;
		margin: 0 -1px 0 0;
	}
	div.article {
		width: 73%;
	}
	div.w-ad-box {
		text-align:center;
	}
	#sub-header div.newsletter, header#masthead nav li#utils a.learnmore, header#masthead nav li#utils #lm {
		display: none;
	}
	#rcol aside.widget.NewsletterWidget,  #rcol aside.widget.NewsletterWidget div.newsletter { 
		display: block !important;
		margin:0 0 0 0;
		width:auto;
		
	}
	#rcol aside.widget.NewsletterWidget { 
		margin:0 0 15px 0;
	}

	#rcol .widget div.newsletter h6{ 
		font-size: 1.4em;
	}

	/* @group Fixed Sidebar, Fluid Content Layout */
	body section.blogmain, body.home section.blogmain {
		width:100%;
		float:left;
		margin-right:-300px;
		overflow: auto;
	}

	body section.blogmain > *{
		width:auto;
		margin-left:0;
		margin-right:315px !important;
	}
	
	#rcol, .home #rcol {
		width: 300px;
		float: left;
		margin-left:0;
		margin-right:0;
		clear: right;
	}
	/* @end Fixed Sidebar, Fluid Content Layout */
	
	aside, .home aside {
		width: 100%;
		min-width: 190px;
	}
	
	/* @group Events Widget */

	aside.EventsWidget li.featured .th {
		float:left;
		width: 32%;
		margin-right:0;
	}
	aside.EventsWidget li.featured .th img {
		height:auto;
		width: 100%
	}
	aside.EventsWidget li.featured h4 {
		float:right;
		width: 64%
	}
	aside.EventsWidget li.featured .hold {
		float:right;
		width: 64%
	}
	/* @end */

	/* @group Real Estate Widget */
	body aside.RealEstateWidget #widget-blankslate-realestate .featured-rentals-listing h3.neighborhood-header {
		margin-left: 0px;
	}
	body aside.RealEstateWidget #widget-blankslate-realestate .featured-rentals-listing .featured-rentals-content a.rental-image {
		margin-top: 0px;
		width: 50%;
		height: auto;
		overflow:hidden;
		margin-right:0;
	}
	body aside.RealEstateWidget #widget-blankslate-realestate .featured-rentals-listing .featured-rentals-content .info-text {
		padding-bottom:8px;
	}
	body aside.RealEstateWidget #widget-blankslate-realestate .featured-rentals-listing .featured-rentals-content .info-text, body aside.RealEstateWidget #widget-blankslate-realestate .featured-rentals-listing .featured-rentals-footer{
		margin-left:0;
		float: right;
		width: 47%;
	}
	body aside.RealEstateWidget #widget-blankslate-realestate .featured-rentals-listing .featured-rentals-footer{
		clear: right;
	}
	body aside.RealEstateWidget #widget-blankslate-realestate .featured-rentals-listing .featured-rentals-content a.featured-more-btn 
	{
			clear: none;
			margin-top: 0;
		margin-left:0;
		float: right;
		width: 47%;
		background-position: left top;
	}
	/* @end */

/* @group secondary nav */

nav#secondary ul#menu-main-nav li a[href*="/search"] { 
	display: block;
}
	
nav#secondary form#searchform{
	display:none;
}

.w-ad-box {
	text-align:center !important;
}

nav#secondary {
	margin: 0 0 10px 0;
}
nav#secondary div.menu-main-nav-container{
	position:relative;
	float:left;
	left: 50%;
	overflow:visible;
}
body nav#secondary ul {
	position:relative;
	float: left;
	overflow:visible;
}
nav#secondary li a {
	padding: 0 10px;
}
	

/* @end */

/* @group footer */

footer#mainFoot ul {
		width: 18%;
		padding:20px 0 0 3%;
	}
	footer#mainFoot .img-hold {
		padding-right:3%;
	}

/* @end */
}


@media screen and (max-width: 768px) {
	header#masthead nav li#utils,  nav#secondary, h5.section-title div#post-nav, header#masthead nav li#newsstand {
		display:none;
	}
	
	body.single article div.social-buttons{
		display:inherit;
	}
	
	/* Switch to Mobile Nav Dropdown */
	nav#header-nav #header-nav-menu{
		display:none;
	}
	
	nav#header-nav #mobile-nav ul li a {
		display:block;
	}
	
	nav#header-nav #mobile-nav{
		float:right;
		display:block !important;
	}

	/* disable webkit text size adjust (for iPhone) */
	html {
		-webkit-text-size-adjust: none;
	}
	
	header#masthead .inner{min-height:80px !important;}
	
	header#masthead #site-logo.image{
		height:100%;
		margin:0;
		max-height:109px;
	}
	
	article {
		padding:5px 0;
	}
		
	body.author #rcol {
		position: relative;
		top: inherit;
		clear:both;
		right: 0 ;
		width: 100%;
	}

	div.meta {
		padding-right:0px
	}
	div.town, div.town a {
		color: #839a9b;
		font: 15px/1 'Oswald', sans-serif;
	}
	.title h2, .title h2 a:link, .title h2 a:visited {
		font: 300 1.5em/1.3 'Oswald', sans-serif;
		padding-top: 10px;
		padding-bottom: 5px;
		color: #151918;
	}
	article .entry-content p {
		font-size:1.1em;
	}
	header#masthead nav li#home img, footer#mainFoot .img-hold {
		display: none !important;
	}

	div.page {
		width:100%;
		margin:0;
		padding-top: 0px;
		/*background-color: yellow;*/
	}
	 body section.blogmain, body.home section.blogmain {
		width: 100%;
		border:none;
		min-width: 320px;
		float: none;	
		margin-top: 0;
		margin-right:0;
		overflow:hidden;
	}
	
	body section.blogmain > *{
		margin-right:0 !important;
	}
	body section.blogmain #page-buttons{
		max-width:100%;
	}
	
	body.home  div.topWidgetArea {
		margin-top: 15px;
	}
	body.home  div.topWidgetArea, body #rcol,  body.home #rcol {
		position: relative;
		float:none;
		margin: 0 0 15px 0;
		width:inherit;
	}
	
	body.home div.topWidgetArea{
		margin: 20px 0 0 0;
	}
	
	h5.section-title {
		margin:0;
	}

	/* @group Footer */
	
	/* Footer */
	footer#mainFoot {
		margin-top:0;
	}

	footer#mainFo	ot div#fn4 {
		text-align:center !important;
	}
	footer#mainFoot .img-hold {
		width: 26%;
		padding-right:3%;
		padding-left:2%;
	}
	footer#mainFoot ul {
		width: 28%;
		padding:10px 0 0 4%;
	}
	footer#mainFoot ul:last-child {
		width: 15%;
	}

	
	footer#mainFoot ul#fn1 {
		width: 30%;
	}
	footer#mainFoot div.fn2 ul {
		width: 28%;
		
	}
	footer#mainFoot div#fn4 p {
		display:block;
		margin-bottom:3px;
	}
	footer#mainFoot div#fn4 p img, footer#mainFoot div#fn4 p#bsf-copyright {
		padding:0;
	}

/* @end */
	
/* @group Comments */
ul.commentlist li.depth-2{margin-left:5%;}
ul.commentlist li.depth-3{margin-left:5%;}
ul.commentlist li.depth-4{margin-left:5%;}
ul.commentlist li.depth-5{margin-left:5%;}
div.comment-r{margin-left:0;}
div.comment-content, div.reply {
    padding-left: 0px;
}
/* @end */
	
/* @group Newsletter widget */
	#rcol aside.widget.NewsletterWidget div.newsletter { 
		padding: 2% 5% ;	
		overflow: auto;
		height:auto;
		width: 90%;
		border:none;
		min-width: 320px;
		float: none;	
	}

	#rcol aside.widget.NewsletterWidget div.newsletter fieldset {
		padding: 0 0 0 32px;
		background: url(http://shelterislandreporter.timesreview.com/wp-content/themes/incontext/images/icons/mail.gif) no-repeat left 2px;
		float: left;
		display: inline;
		margin: 10px auto;
	}

	#rcol aside.widget.NewsletterWidget div.newsletter fieldset {
		float: none;
	}	
	#rcol aside.widget.NewsletterWidget input[type="submit"], #rcol aside.widget.NewsletterWidget input[type="text"] { 
		margin: 0;
		display: inline;
	}	

	#rcol .widget div.newsletter h6{ 
		font-size: 1.6em;
		line-height: 1.6}
	#rcol div.newsletter input[type="submit"] {
		margin : 0 0 0 5px;
		}
	#rcol div.newsletter div.social a img {
		padding: 0 2px;
	}
	#rcol aside.widget.newsletter-widget div.social{
		float: left;
		margin-top: 8px;
		margin-left: 12px;
	}

	/* @end */

	.authorinfo article {
		border-bottom: 3px solid #B0C6C4;
	}
	
}

@media screen and (max-width: 728px) {
	#sub-header, .w-ad-box { display: none; }	
}

/* iphone portrait */
@media screen and (max-width: 568px) {
	article .social-buttons .stumbleupon, article .social-buttons .tumblr{
		display:none;
	}
	
	.authorinfo p.by {
		clear: right;
	}
	#page-buttons a {
		padding: 6px 14px;
	}
	header#masthead .inner{min-height:50px !important;}
	body.search article .entry-content{ display:none; }
	article .entry-content iframe{width:100% !important;}
	
	.nav-filter .nav-filter-list-wrapper ul.nav-filter-list li{ width: 50%;	}
}

/* Desktops and Laptops ----------- */
@media only screen and (min-width : 1025px) {
	.desktop-hide,.desktop-noload{ display:none !important; }
}

/* Tablets (portrait and landscape) ----------- */
@media only screen and (min-width : 569px) and (max-width : 1024px) {
	.tablet-hide,.tablet-noload{ display:none !important;	}
}

/* Smartphones (portrait and landscape) -- including iPhone5 ----------- */
@media only screen and (max-width : 568px) {
	.mobile-hide,.mobile-noload{ display:none !important;	}
}
