/********************************
RESPONSIVE CSS * MEDIA QUERIES
********************************/

/*iPad Landscape*/
@media screen and (max-width: 1024px), screen and (max-device-width: 1024px), screen and (max-width: 1200px)  {
	#container { width:960px; }
	.wrap { width:900px; }
	.left-container, .spage-gallery ul { width:540px; }
	.flexslider .slides img { width:540px; height:370px; }
	.popular-post ul li { width:145px; }
	.view .mask-popular, .view a.zoom-popular, .popular-post ul li img.wp-post-image, .popular-post ul li iframe, .popular-post ul li a.fplayer { width:145px; height:90px; }
	.view a.zoom-popular img { margin-left:55px; margin-top:-15px; }
	.categories { width:590px; }
	.category-list { width:212px !important; }
	.category-list ul li span.date { display:block; float:none; width:auto; text-align:left; }
	.category-list ul li a:link, .category-list ul li a:visited { float:none; }
	.view .mask-cblog, .view a.zoom-cblog, .feature img.wp-post-image { width:213px; height:119px; }
	.view a.zoom-cblog img { margin-left:90px; margin-top:-17px; }
	.footer-widgets .widget { width:255px; }
	.post-media img.wp-post-image, .post-media iframe, .post-media a.fplayer { width:540px; height:370px; }
	.post-descriptions, .post-descriptions-video { width:510px; }
	.comment-details { width:400px; }
	.children .parent .comment-details { width:280px; }
	.children .children .parent .comment-details { width:180px; }
	#respond textarea { width:475px !important; }
	#commentform li.msg { padding-top:20px; }
	.gallery-page ul li { height:113px; }
	.gallery-page ul li img.wp-post-image, .spage-gallery ul li img.attachment-gallery-medium, .view .mask-sgallery, .view a.zoom-sgallery { width:150px; height:113px; }
	.view a.zoom-sgallery img { margin-left:58px; margin-top:-15px; }
	#respond iframe { width:498px; height:281px; }
	.children li #respond textarea, .comments ul li #respond textarea { width:432px !important; }
	.ch_hover { width:150px !important; }
	.fullwidth iframe { width:856px; height:400px; }
	.gallery-page img.resize { width:498px; }
}

/*iPad Portrait*/
@media handheld and (max-width: 767px), screen and (max-device-width: 767px), screen and (max-width: 960px)  {
	#container { width:600px; }
	.wrap { width:540px; }
	.category-menu ul li a:link, .category-menu ul li a:visited { padding:15px; font-size:12px; }
	.sidebar { width:100%; float:left; }
	.tab-content h6 { width:400px !important; }
	.widget-video iframe { width:498px !important; height:281px; }
	.footer-widgets .widget { width:205px; }
	.sf-menu li:hover ul, .sf-menu li.sfHover ul { top:4.1em; }
	.sf-menu li.sfHover ul a:link, .sf-menu li.sfHover ul a:visited { font-size:11px; }
	.fullwidth iframe { width:498px; height:300px; }
	.blog-single-post .post-media { width:540px; }
}

/*iPhone Landscape*/
@media screen and (max-width: 480px), screen and (max-device-width: 480px), screen and (max-width: 750px)  {
	#couponbox  div {
		width: 100%;
		float: none;
	}

	.blog-single-post {
		padding: 0;
	}
	
	.blog-single-post .post-descriptions {
		margin: 0;
		width: 100%;
	}
	
	.blog-single-post .post-media {
		width: 100% !important;
		margin: 0;
	}
	
	.blog-single-post .post-media img {
		width: 100% !important;
		height: auto;
	}
	
	#container { width: 100%; }
	.wrap { width: 90%; }
	.left-container, .spage-gallery ul { width: 100%; }
	.logo img { width:60px; height:27px; }
	.logo h3 { font-size:12px; padding-top:6px; }
	.search-box, .flex-caption p, .flex-caption label, .date-menu nav { display:none; }
	.flexslider .slides img { width: 100%; height: auto; }
	.flex-caption { width:200px; padding:10px; }
	.flex-caption h4 { font-size:12px; margin-bottom:0; }
	.popular-post ul li { margin-right: 0px; display: block; width: 100%; }
	.popular-post ul li  img.wp-post-image { width: 100%; height: auto; }
	.categories { width:360px; }
	.category-list { width:273px !important; }
	.view .mask-cblog, .view a.zoom-cblog, .feature img.wp-post-image { width:273px; height:153px; }
	.category-list ul li a:link, .category-list ul li a:visited { float:right; }
	.category-list ul li span.date { width:60px; text-align:right; float:left; }
	.view a.zoom-cblog img { margin-left:123px; margin-top:0; }
	.tab-content h6 { width:230px !important; }
	.widget-video iframe { width:316px !important; height:181px !important; }
	.post-media img.wp-post-image, .post-media iframe, .post-media a.fplayer { width: 100%; height: auto; }
	.post-descriptions { margin-top:-45px; width:360px; }
	.post-descriptions-video { width:360px; }
	.comment-details { width:222px; }
	.children .parent { margin-left:30px; }
	.children .parent .comment-details { width:150px; }
	.children .children .parent { margin-left:60px !important; }	
	.children .children .parent .comment-details { width:120px; }
	#respond input[type="text"], #respond textarea { width:293px !important; }
	.children li #respond textarea, .comments ul li #respond textarea, .comments ul li #respond input[type="text"] { width:254px !important; }
	.footer-widgets .widget { margin-right:0; width:340px; }
	#respond iframe { width:318px; }
	.gallery-page ul { width: auto; }
	.gallery-page ul li { margin-right:18px; margin-bottom:18px; }
	.gallery-page ul li.last { margin-right:18px !important; margin-bottom:18px !important; }
	.ch_hover { width:150px !important; }
	.page-not-found { background-size:340px 340px; background-position:1em 3em; }
	.fullwidth iframe { width:318px; height:200px; }

	.logo-search { border-bottom:1px solid #E8E8E8; }
	#nav-wrap {	position:relative; }
	.category-menu { 
		display:none; padding-left:0; border-top:0; 
		border-radius:0; -moz-border-radius:0; -webkit-border-radius:0; box-shadow:none; -moz-box-shadow:none; -webkit-box-shadow:none; 
		border-right: 0;
		border-left: 0;
		padding-right: 0;
	}
	
	#dropdown  li {
		width: 100% !important;
	}
	
	#purchaseboxes .purchasebox {
		float: none;
		width: 100% !important;
	}
	
	#menu-icon { width:58px; height:58px; background-image: url('img/mobile-icon-dark.png'); background-repeat: no-repeat; background-position: 0 center; cursor:pointer; display:block; position:absolute; top:-75px; right:20px; }
	#menu-secondary-nav { width:358px !important; }
	#menu-secondary-nav li { display:block; float:none !important; }
	.sf-menu { float:none !important; }
	.sf-menu li:hover ul, .sf-menu li.sfHover ul { border:0 !important; background:none !important; }
	.sf-menu li li { border-bottom:0 !important; }
	.category-menu ul li a:link, .category-menu ul li a:visited,
	.category-menu ul li.current_page_item a, .category-menu ul li.current-menu-ancestor a, .category-menu ul li.current-menu-item a, #menu-secondary-nav ul li a { 
		color:#868686; border-top:1px solid #2D2D2D !important; background:#181818;		
	}
	.category-menu ul li a:hover, #menu-secondary-nav ul li a:hover { background:#242424; }
	#menu-secondary-nav ul { width:auto; position:static; background:inherit; }
	.gallery-page img.resize { width:317px; }
}

@media screen and (max-width: 320px), screen and (max-device-width: 320px), screen and (max-width: 450px) {
	.flex-caption { width:auto; padding:4px 10px; bottom:0; left:0; }
}

/*iPhone Portrait
@media screen and (max-width: 320px), screen and (max-device-width: 320px), screen and (max-width: 450px) {
	#container { width:280px; }
	.wrap, .left-container, .spage-gallery ul { width:240px; }
	.logo h3, .desc-top span.uname, .desc-top span.comm { display:none; }
	#menu-secondary-nav { width:239px !important; }	
	.flexslider .slides img.wp-post-image { width:240px; height:164px; }
	.flex-caption { width:auto; padding:4px 10px; bottom:0; left:0; }
	.popular-post ul li { width:186px; }
	.view .mask-popular, .view a.zoom-popular, .popular-post ul li img.wp-post-image, .popular-post ul li iframe, .popular-post ul li a.fplayer { width:186px; height:116px; }
	.view a.zoom-popular img { margin:0 0 0 75px; }
	.categories { width:240px; }
	.category-list { width:198px !important; }
	.view .mask-cblog, .view a.zoom-cblog, .feature img.wp-post-image { width:200px; height:112px; }
	.view a.zoom-cblog img { margin-left:85px; margin-top:-20px; }
	.category-list ul li span.date { width:auto; }
	.sidebar .widget-get-in-touch ul li { margin-right:2px; }
	.tab-content span.details, .tab-content h6 { float:none !important; }
	.tab-content h6, .gallery-page ul { width:195px !important; }
	.widget-ads img { width:220px; height:183px; }
	.widget-video iframe { width:198px !important; height:120px !important; }
	.fullwidth iframe, #respond iframe { width:198px !important; height:180px !important; }
	.footer-widgets .widget { width:200px; }
	.page-not-found { background-size:220px 220px; background-position:1em 2.5em; height:280px; }
	.nfound h2 { font-size:18px; margin-top:-40px; }
	.nfound label { width:150px; display:block; font-size:11px; margin-left:-20px; text-align:center; }
	blockquote.qleft { width:158px; }
	blockquote.qright { float:none; width:138px; }
	.gallery-page ul li img.wp-post-image, .spage-gallery ul li img.attachment-gallery-medium, .view .mask-sgallery, .view a.zoom-sgallery { width:192px; height:144px; }
	.ch_hover { width:192px !important; height:72px !important; }
	.gallery-page ul li { height:144px; }
	.view a.zoom-sgallery img { margin:0 0 0 80px; }
	#respond input[type="text"], #respond textarea { width:175px !important; }
	ul li.last { margin-bottom:20px !important; }
	.post-media img.wp-post-image, .post-media iframe, .post-media a.fplayer { width:240px; height:164px; }
	.post-descriptions { width:240px; margin-top:-58px; }
	.comment-details { width:200px; }
	.children .parent .comment-details { width:125px; }
	.children .children .parent .comment-details { width:100px; }
	.gallery-page img.resize { width:198px; }
}*/