/*-----------------------------------------------------------------------------------
iPhone
-----------------------------------------------------------------------------------*/

@media only screen and (max-width: 750px) {

	#content {
		width: 100%;
		min-height: 100%;
	}
	
	#primary {
		width: 100%;
	}
	
	#header {
		max-width: 90%;
	}

	.logo {
		max-width: 100%;
		margin: 0 0 35px 0;
		text-align: center;
		float: none;
		clear: both;
	}
		
	.tj-mobile-menu {
		text-indent: -9999px;
	}
	
	a.tj-mobile-menu {
		background: #f5f5f5 url(../img/menu_ico.png) no-repeat right center;
		background-size: 34px 12px;
		display: inline-block;
		width: 100%;
		-webkit-border-radius: 4px;
			-moz-border-radius: 4px;
				border-radius: 4px;
	}
	
	a.tj-mobile-menu:hover {
		opacity: 0.9;
	}
	
	#header nav {
		width:  100%;
		margin: 0;
		background: rgba(255,255,255,0.2);
		float: none;
		display: none;
	}
	
	#header nav ul,
	#header nav ul li {
		float: none;
		clear: both;
	}
	
	#header nav ul li a {
		background: none;
		display: block;
		text-align: left;
	}
		
	#header nav ul ul {
		position: relative;
		display: block;
		width: 93%;
		top: 0;
		left: 24px;
		border: none;
		background: transparent;
	}
	
	ul.sub-menu {
		visibility: visible!important;
		display: block!important;
	}
	
	ul.sub-menu li.menu-item a {
		text-transform: none;
		color: #000;
	}
	
	#header nav ul ul li a {
		padding: 1px 0;
	}
	
	#header nav ul li:hover ul,
	#header nav ul li.sfHover ul {
		position: relative;
		display: block;
		top: 0;
		left: 24px;
		width: 93%;
	}
	
	#header nav ul li.sfHover ul {
		left: 24px;
	}

	#header nav ul li.sfHover ul a {
		padding: 1px 0;
	}
	
	#header nav ul ul li:last-child {
		padding-bottom: 24px;
	}
	
	.entry-content {
		width: 90%;
	}
	
	ul.tj_post_header_meta li.post-author-link,
	ul.tj_post_header_meta li.post-comment-count {
		display: none;
	}
	
	.commentlist {
		width: 90%;
	}
	
	.commentlist img.avatar {
		display: none;
	}
	
	.commentlist .depth-2, 
	.commentlist .depth-3,
	.commentlist .depth-4,
	.commentlist .depth-5 {
		width: 90%;
		margin-left: 0;
	}
	
	.pagination-default {
		width: 90%;
	}
	
	.widget {
		padding: 30px 0 0 0;
	}	
	
	.widget:last-child {
		padding-bottom: 0;
	}
	
	.footer-widgets,
	.footer-inner-wrap {
		max-width: 100%;
		padding-bottom: 30px;
	}
	
	.footer-widget-left, 
	.footer-widget-right {
		width: 90%;
		margin: 0 auto;
		float: none;
	}
	
	.footer-widget-right {
		padding: 0;
	}
		
	.footer-left,
	.footer-right {
		width: 100%;
		clear: both;
	}
	
	#footer nav ul {
		float: left;
	}
	
	.archive-title {
		max-width: 90%;
	}
	
	/*-----------------------------------------------------------------------------------
	Widget Areas
	-----------------------------------------------------------------------------------*/
	
	.tj_flickr_widget {
		overflow: hidden;
	}
	
	/*-----------------------------------------------------------------------------------
	Page Template Home
	-----------------------------------------------------------------------------------*/
	
	.tj_mini_bio {
		width: 90%;
		padding: 0;
	}
	
	.tj_mini_bio .tagline-title {
		font-size: 1.8em;
		line-height: 22px;
	}
	
	.tj_mini_bio h2 {
		font-size: 1em;
	}
	
	.tj_mini_bio p {
		font-size: 0.875em;
	}
		
}

/*-----------------------------------------------------------------------------------
iPad
-----------------------------------------------------------------------------------*/

@media screen and (min-width: 751px) and (max-width: 970px) {

	#content {
		width: 100%;
		min-height: 100%;
	}
	
	#header {
		max-width: 90%;
	}

	#header nav {
		max-width: 100%;
		text-align: center;
		float: none;
		clear: both;
	}
	
	#header nav ul li {
		display: inline-block;
		float: none;
	}

	.logo {
		max-width: 100%;
		margin: 0 0 35px 0;
		text-align: center;
		float: none;
		clear: both;
	}
	
	.widget {
		padding: 30px 0 0 0;
	}	
	
	.widget:last-child {
		padding-bottom: 0;
	}
	
	.footer-widgets,
	.footer-inner-wrap {
		max-width: 60%;
		padding-bottom: 30px;
	}
	
	.footer-widget-left, 
	.footer-widget-right {
		width: 100%;
		margin: 0 auto;
		float: none;
	}
	
	.footer-widget-right {
		padding: 0;
	}
		
	.footer-left,
	.footer-right {
		width: 100%;
		clear: both;
	}
	
	#footer nav ul {
		float: left;
	}
	
	/*-----------------------------------------------------------------------------------
	Page Template Home
	-----------------------------------------------------------------------------------*/
	
	.tj_mini_bio {
		width: 60%;
		padding: 0;
	}

}

/*-----------------------------------------------------------------------------------
Small Monitor
-----------------------------------------------------------------------------------*/

@media screen and (min-width: 970px) and (max-width: 1178px) {

	#header {
		max-width: 70%;	
	}
	
	.footer-widgets {
		max-width: 70%;
	}
	
	.entry-content {
		max-width: 70%;
		width: 70%;
	}
	
	.commentlist {
		width: 70%;
	}
	
	.pagination-default {
		width: 70%;
	}
	
	.archive-title {
		max-width: 70%;
	}

}