/* Media Queries
-------------------------------------------------------------- */
@media screen and (max-width: 1000px) {
	#wrap {
		width: 100%;
		border: none;
	}
	#main {
		background: #fff;
	}
	#main,
	#content {
		float: left;
		width: 100%;
	}	
	#search-box {
		width: 96%;
		padding: 2% 2% 1%;
	}
	#sidebar { 
		border-top: 1px solid red;
		width: 100%;
	}
	#feature {
		width: 75%;
	}
	.feature-entry {
		float: left;
		width: 90%;
	}
	#feature .attachment-headline-thumb {
		display: none;
	}
	#searchform .wrapper{ /* this needs to go once we have the final search box. */
		display: none;
	}
	#logo a {
		background: url(http://test.bluelimemedia.com/abc/wp-content/themes/bcbooklook/images/logo-180.gif) top left no-repeat;
		height: 185px;
		width: 185px;
	}

}
/* Media queries for iPad Landscape */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
	#top-nav a {
		font-size: 16px;
		font-size:1.6rem;
		padding: 0 1em; 
	}
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
	#sidebar,
	#content-entry,
	#content-entry-narrow,
	#searchform {
		float: left;
		width: 90%;
		padding: 2% 5%;
	}
	#sidebar .widget {
		max-width: 50%;
	}
	#top-nav a {
		font-size: 16px;
		font-size:1.6rem;
		padding: 0 1em; 
	}
	#sidebar-right {
		display: none;
	}
}

/* phones */
@media screen and (max-width: 767px) {
	
	#branding {
		background: #936b00;
		height: auto;
	}
	#logo a {
		float: none;
		background: url(http://test.bluelimemedia.com/abc/wp-content/themes/bcbooklook/images/logo-115.gif) 0 0 no-repeat;
		height: 80px;
		margin: 2px auto;
		width: 115px;
	}
	#feature {
		display: none;
	}
	.home #feature {
		background: #e7dabe;
		display: block;
		height: auto;
		float: left;
		width: 100%;
	}
	#sidebar,
	#content-entry,
	#content-entry-narrow {
	float: left;
	width: 90%;
	padding: 2% 5%;
	}
	#sidebar .widget {
		max-width: 50%;
	}
	footer {
		width: 90%;
		margin: 2% 5%;
	}
	footer p.legal {
		border-top: none;
	}	
	.tinynav { 
		margin: 0.5em 0 0.5em 1em;
		display: block; 
	}
    #nav,
	#sidebar-right,
	footer .widget-area  {
		display: none;
	}
	#search-form label {
		float: left;
		width: 90%;
		padding: 2px 0;
	}
	#search-form .wrapper {
		width: 90%;
	}
	
	/* =Publications/Newsletters
	----------------------------------------------- */
	#content-entry ul.grid li {
		width: 33.3333%;
	}

}
