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

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

	/* Global Containers */
	
	#content {
		width: 100%;
	}
	
	#primary {
		width: 300px;
		margin: 0 auto;
		padding: 0;
		float: none;
	}
	
	/* Header */
	
	header {
		width: 300px;
	}

	header .logo {
		width: 300px;
		margin: 0 auto 30px auto!important;
		text-align: center;
	}
	
	/* Navigation */
	
	.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;
	}
	
	#header nav {
		width:  100%;
		margin: 0;
		background: #F7F7F7;
		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;
		border-bottom: 1px solid #fff;
	}
	
	/* Submenu - Level 1 */
	
	#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;
	}
		
	/* Sidebar */
	
	#sidebar {
		width: 300px;
		margin: 0 auto;
		padding: 2.1427em 0 0 0;
		float: none;
		border-top: 4px solid #f1f1f1;
	}
	
	/* Widgets - Flickr Sidebar */
	
	.tj_flickr_widget .flickrwidget .flickrwidget-inner {
		margin-right: 0;
	}
	
	/* Widgets - Gallery Sidebar - TJ CPT Widget */
	
	#sidebar .tj_cpt_widget .galleries .entry-title {
		font-size: 1.7143em;
	}
	
	/* Widgets - Gallery Footer - TJ CPT Widget */
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries {
		margin: 1.214em 0;
	}
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries article:first-child {
		margin-top: 0;
	}
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries article {
		width: 98%;
		height: auto;
		margin-right: 24px;
		padding: 0;
		border: 4px solid #f1f1f1;
		clear: none;
	}
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries article.last {
		margin-right: 0;
	}
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries .gallery-content {
		top: 10%;
	}
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries .entry-title {
		font-size: 1.7143em;
	}
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries .entry-title a {
		text-decoration: none;
	}
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries p.tags a {
		font-weight: normal;
		text-decoration: none;
	}
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries p.btn {
		color: #fff;
		text-decoration: none;
		font-size: 1em;
	}
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries p.btn a {
		color: #fff;
		text-decoration: none;
	}
	
	/* Footer */
	
	#footer {
		width: 300px;
	}
	
	.footer-left,
	.footer-right {
		width: 100%;
		display: block;
		text-align: center;
		float: none;
		clear: both;
	}

	/* Footer - Menu */
	
	#footer nav ul {
		float: none;
	}
	
	#footer nav ul li {
		float: none;
		display: inline-block;
	}
	
	#footer nav ul li a {
		padding: 0;
	}
		
	/* Blog - Posts */
	
	article.post {
		width: 100%;
	}
	
	/* Blog - Single Posts */
	
	.bypostauthor { 
		display: none;
	}
	
	/* Blog - Single Post Footer Widget */
	
	#single-post-footer-widget .tj-posts-widget article {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
		padding-bottom: 2.1427em;
	}
	
	/* Comments - Comment List */
	
	.commentlist {
		border-top: 4px solid #f1f1f1;
		padding: 2.1427em 0 0 0;
	}
		
	.commentlist .depth-1,
	.commentlist .depth-2,
	.commentlist .depth-3,
	.commentlist .depth-4,
	.commentlist .depth-5,
	.commentlist .depth-6,
	.commentlist .depth-7 {
		margin-left: 0;
		margin-right: 0;
		width: 300x;
	}
	
	img.avatar {
		display: none;
	}
	
	/* Comments - Comment Form */
	
	#respond {
		margin-top: 0;
	}
	
	#respond form {
		width: 300px;
	}
	
	#respond input[type="text"],
	#respond input[type="email"],
	#respond input[type="url"],
	#respond textarea {
		width: 90%;
	}
	
	/* Page Template - Home */
		
	.page-template-template-home-php #primary {
		width: 300px;
		margin: 0 auto;
	}
	
	.home-message,
	.home-search {
		width: 100%;
		float: none;
		clear: none;
	}
	
	.home-message {
		margin: 0 0 35px 0;
		text-align: center;
	}
	
	.page-template-template-home-php #searchform input[type="text"] {
		width: 270px;
		text-align: left;
	}
	
	/* Page Template - Gallery */

	.galleries article,
	.galleries article.Video {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
		height: auto;
		clear: both;
		display: block;
	}

	.galleries .gallery-content {
		font-size: 84%;
		top: 10%;
	}
	
	.galleries .tags {
		margin-bottom: 0.607em;
	}
	
	.galleries .meta {
		display: none;
	}
		
	/* Page Template - Contact */
	
	#contact {
		max-width: 90%;
	}
	
	/* Page Template - Full Width */
	
	.page-template-template-full-width-php #primary {
		width: 300px;
	}
	
	/* Page Template - Gallery */	
		
	.recent-galleries {
		width: 300px;
	}
	
	/* Gallery - Single */
	
	.single-gallery .gallery-tj-cpt article.gallery {
		width: 300px;
	}
	 
	ul.tj_post_header_meta li.gallery-launch {
		position: relative;
		margin: 0 0 0 5px;
	}
	
	ul.tj_post_header_meta li.gallery-launch:before {
		content: '/';
		display: inline-block;
		margin: 0 8px 0 5px;
	}
	
	.single-gallery .pagination-gallery {
		display: none;
	}
	
	/* Gallery - Single Post Footer Widget */
	
	#single-gallery-footer-widget .tj-cpt-widget article {
		width: 100%;
	}
	
	/* Gallery - Taxonomy Archive */
	
	.tax-gallery-type #content {
		width: 300px;
	}
	
	/* Search Results */
	
	.gallery-tj-search #primary {
		width: 300px;
	}
	
	.search #searchform input[type="text"] {
		margin-bottom: 2.1427em;
		width: 90%;
	}
	
}

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

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

	/* Global Containers */
	
	#content {
		width: 100%;
	}
	
	#primary {
		width: 680px;
		margin: 0 auto;
		padding: 0;
		float: none;
	}
	
	/* Header */
	
	#header {
		width: 680px;
	}

	#header .logo {
		width: 680px;
		margin: 0 auto 30px auto!important;
		text-align: center;
	}
	
	/* Navigation */
	
	.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;
	}
	
	#header nav {
		width:  100%;
		margin: 0;
		background: #F7F7F7;
		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;
		border-bottom: 1px solid #fff;
	}
	
	/* Submenu - Level 1 */
	
	#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;
	}
		
	/* Sidebar */
	
	#sidebar {
		width: 680px;
		margin: 0 auto;
		padding: 2.1427em 0 0 0;
		float: none;
		border-top: 4px solid #f1f1f1;
	}
	
	.tj_flickr_widget .flickrwidget .flickrwidget-inner {
		margin-right: 0;
	}
	
	/* Widgets - Sidebar - TJ CPT Widget */
	
	#sidebar .tj_cpt_widget .galleries {
		margin: 1.214em 0;
	}
	
	#sidebar .tj_cpt_widget .galleries article:first-child {
		margin-top: 0;
	}
	
	#sidebar .tj_cpt_widget .galleries article {
		width: 47%;
		height: auto;
		margin-right: 24px;
		padding: 0;
		border: 4px solid #f1f1f1;
		clear: none;
	}
	
	#sidebar .tj_cpt_widget .galleries article.last {
		margin-right: 0;
	}
	
	#sidebar .tj_cpt_widget .galleries .gallery-content {
		top: 10%;
	}
	
	#sidebar .tj_cpt_widget .galleries .entry-title {
		font-size: 1.7143em;
	}
	
	#sidebar .tj_cpt_widget .galleries p.tags a {
		font-weight: normal;
		text-decoration: none;
	}
	
	#sidebar .tj_cpt_widget .galleries p.btn {
		color: #fff;
		text-decoration: none;
		font-size: 1em;
	}
	
	#sidebar .tj_cpt_widget .galleries p.btn a {
		color: #fff;
		text-decoration: none;
	}
	
	/* Widgets - Gallery Footer - TJ CPT Widget */
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries {
		margin: 1.214em 0;
	}
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries article:first-child {
		margin-top: 0;
	}
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries article {
		width: 47%;
		height: auto;
		margin-right: 24px;
		padding: 0;
		border: 4px solid #f1f1f1;
		clear: none;
	}
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries article.last {
		margin-right: 0;
	}
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries .gallery-content {
		top: 10%;
	}
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries .entry-title {
		font-size: 1.7143em;
	}
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries .entry-title a {
		text-decoration: none;
	}
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries p.btn a {
		font-size: 1em;
	}
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries .meta {
		display: block;
		font-size: 1em;
	}
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries .tags {
		font-size: 1em;
	}
	
	/* Footer */
	
	#footer {
		width: 680px;
	}
	
	.footer-left,
	.footer-right {
		width: 100%;
		display: block;
		text-align: center;
		float: none;
		clear: both;
	}

	/* Footer - Menu */
	
	#footer nav ul {
		float: none;
	}
	
	#footer nav ul li {
		float: none;
		display: inline-block;
	}
	
	#footer nav ul li a {
		padding: 0;
	}
		
	/* Blog - Posts */
	
	article.post {
		width: 100%;
	}
	
	/* Blog - Single Posts */
	
	.bypostauthor { 
		display: none;
	}
	
	/* Blog - Single Post Footer Widget */
	
	#single-post-footer-widget .tj-posts-widget article {
		margin-left: 0;
		margin-right: 0;
		padding-bottom: 2.1427em;
	}
	
	/* Comments - Comment List */
	
	.commentlist {
		border-top: 4px solid #f1f1f1;
		padding: 2.1427em 0 0 0;
	}
		
	.commentlist .depth-1,
	.commentlist .depth-2,
	.commentlist .depth-3,
	.commentlist .depth-4,
	.commentlist .depth-5,
	.commentlist .depth-6,
	.commentlist .depth-7 {
		margin-left: 0;
		margin-right: 0;
		width: 300x;
	}
	
	img.avatar {
		display: none;
	}
	
	/* Comments - Comment Form */
	
	#respond {
		margin-top: 0;
	}
	
	#respond form {
		width: 680px;
	}
	
	#respond input[type="text"],
	#respond input[type="email"],
	#respond input[type="url"],
	#respond textarea {
		width: 90%;
	}
	
	/* Page Template - Home */
		
	.page-template-template-home-php #primary {
		width: 680px;
		margin: 0 auto;
	}
	
	.home-message,
	.home-search {
		width: 100%;
		float: none;
		clear: none;
	}
	
	.home-message {
		margin: 0 0 35px 0;
		text-align: center;
	}
	
	.page-template-template-home-php #searchform input[type="text"] {
		width: 645px;
		text-align: left;
	}
	
	/* Page Template - Gallery */

	.galleries article,
	.galleries article.Video {
		width: 47%;
		height: auto;
		display: block;
	}

	.galleries .gallery-content {
		font-size: 84%;
		top: 10%;
	}
	
	.galleries .tags {
		margin-bottom: 0.607em;
	}
	
	.galleries .meta {
		display: none;
	}
		
	/* Page Template - Contact */
	
	#contact {
		max-width: 90%;
	}
	
	/* Page Template - Full Width */
	
	.page-template-template-full-width-php #primary {
		width: 680px;
	}
	
	/* Page Template - Gallery */	
		
	.recent-galleries {
		width: 680px;
	}
	
	/* Gallery - Single */
	
	.single-gallery .gallery-tj-cpt article.gallery {
		width: 680px;
	}
	
	.single-gallery .pagination-gallery {
		position: absolute;
		right: -4px;
	}
		
	/* Gallery - Taxonomy Archive */
	
	.tax-gallery-type #content {
		width: 680px;
	}
	
	/* Search Results */
	
	.gallery-tj-search #primary {
		width: 680px;
	}
	
	.search #searchform input[type="text"] {
		margin-bottom: 2.1427em;
		width: 90%;
	}
		
}

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

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

	/* Global Containers */
	
	#content {
		width: 95%;
	}
	
	#primary {
		width: 65%;
	}
	
	#header {
		width: 95%;
	}
	
	#sidebar {
		width: 28%;
	}
	
	#footer {
		width: 95%;
	}
	
	/* Widgets - Sidebar - TJ CPT Widget */
	
	#sidebar .tj_cpt_widget .galleries article {
		width: 98%;
		height: auto;
	}
	
	#sidebar .tj_cpt_widget .galleries article:first-child {
		margin-top: 1.214em;
	}
	
	#sidebar .tj_cpt_widget .galleries .gallery-content {
		top: 6%;
	}
	
	#sidebar .tj_cpt_widget .galleries .meta {
		display: none;
	}
	
	#sidebar .tj_cpt_widget .galleries .entry-title {
		font-size: 1.1429em;
	}
	
	#sidebar .tj_cpt_widget .galleries p.tags a {
		font-weight: normal;
		text-decoration: none;
	}
	
	#sidebar .tj_cpt_widget .galleries p.btn {
		color: #fff;
		text-decoration: none;
		font-size: 0.8571em;
	}
	
	#sidebar .tj_cpt_widget .galleries p.btn a {
		color: #fff;
		text-decoration: none;
	}
	
	/* Widgets - Gallery Footer - TJ CPT Widget */
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries {
		margin: 1.214em 0;
	}
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries article:first-child {
		margin-top: 0;
	}
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries article {
		width: 46.6%;
		height: auto;
		margin-right: 24px;
		padding: 0;
		border: 4px solid #f1f1f1;
		clear: none;
	}
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries article.last {
		margin-right: 0;
	}
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries .gallery-content {
		top: 10%;
	}
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries .meta {
		display: none;
	}
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries .entry-title {
		font-size: 1.1429em;
		text-decoration: none;
	}
	
	#single-gallery-footer-widget .tj_cpt_widget .galleries .entry-title a {
		text-decoration: none;
	}
	
	/* Blog - Posts */
	
	.blog #content {
		width: 95%;
	}
	
	.blog #primary {
		width: 65%;
	}
	
	article.post {
		width: 100%;
	}
	
	.author-description {
		width: 83%;
	}
	
	/* Page Template - Home */
	
	.intro-wrap {
		width: 95%;
	}

	/* Page Template - Home */
	
	.page-template-template-home-php #content {
		width: 100%;
	}
	
	.recent-galleries {
		width: 95%;
	}
	
	.galleries article,
	.galleries article.Video {
		width: 47.8%;
		height: auto;
		display: block;
	}
	
	/* Page Template - Gallery Paginated */
	
	.page-template-template-gallery-paginated-php #content {
		width: 100%;
	}
	
	/* Gallery - Single */
	
	.single-gallery #content {
		width: 95%;
	}
	
	.single-gallery #primary {
		width: 65%;
	}
	
	.single-gallery .gallery-tj-cpt article.gallery {
		width: 100%;
	}
	
	.single-gallery .pagination-gallery {
		position: absolute;
		right: -5px;
	}

}