 /*  MEDIA QUERIES
 * ================================================ */
@media screen and (min-width: 1051px){
	#sidebar-left {
		margin-left: -15px;
	}
}

@media screen and (min-width : 630px) and (max-width : 1050px) {
	
	#container {
		width: 100%;
	}

	#content-container{
		padding:5px;
	}	
	
				#primary-nav-mobile-a{display: block;}
				#primary-nav-mobile{display: block;}
				#primary-nav-id{display: none;}
				#top-nav-mobile-a{display: block;}
				#top-nav-mobile{display: block;}
				#top-nav-id{display: none;}
	/*-- header --*/
	
	#header{
		padding: 1px;		
	}
	
	#header .logo{
		float: none; 
		margin-bottom: 0px;
	}
	
		.headerads {
		display: none;
	}
	
	#header .ad468{
		display: none; 
	}
	
	#nav{
		clear: both; 
		float: left;
	}	
	
	/*-- content --*/	
	#content{
		width:600px;
	}
	
	#slider .lof-slidecontent{
		width:600px; 
		height:285px;
	}

	#slider .lof-slidecontent .slider-image{
		width:600px; 
		height:285px;
	}

	#slider .main-slider-content{
		width:600px; 
		height:285px;
	}
	#carousel {
		height:150px;
	}
	#carousel .carousel-posts li {
		margin-right:16px;		
	}
	#main-widget-area {
		width: 600px;
	}
	#main-widget-area .scipio_magazine_feat {
		width: 280px;
	}

	#featured-categories .category{
		width:290px;
		float:left;
		position:relative;
		margin-bottom:10px;		
	}
 	#content-right {
 		width: 100%;
 	}
	
	#featured-categories .right-side{
		margin-left:20px;
	}
	
	#featured-categories .more-posts .right{
		width:130px !important;
	}	
	#featured-categories .more-posts .post-meta  { display:none;}
	/*-- sidebar --*/
	#sidebar {
		width: 100%;
		float: left;
		margin-left:0;
		margin-top:10px;
	}
	
	#sidebar .widget{
		width:300px;
		float:left;
		margin-right:20px;
	}
	
	/*-- footer --*/
	#footer .widget{
		width:300px;
		margin-right:10px;
	}
	.video-shortcode, .video-shortcode iframe, .video-shortcode object {
		width: 600px;
		height: 300px;
	}

}

@media screen and (min-width : 460px) and (max-width : 629px) {
	
	#container {
		width: 100%;
	}
	
	/*-- header --*/
	#header .ad468{
		display:none;
	}
	
	#header .headerads{
		display: none; 
	}
	
	.ticker {display: 100%!important;}
	.search-block {float:right; position: relative; margin-top:-34px;}
	.search-block #s{height:32px;width:124px;background: #444444;color:#fff;font-size: 11px;border:none;padding:1px 5px;border-radius: 0px !important;}
	.search-block #s:focus{width:124px;-webkit-transition: all .4s linear;
		-moz-transition: all .4s linear;
		-o-transition: all .4s linear;
		transition: all .4s linear;}
	.search-submit{width:17px;height:16px;border:none;background: url('../images/icon-search.png') no-repeat;position: absolute;right:3px;top:10px;cursor: pointer;text-indent: -9999px;border-radius: 0px !important;}
	#primary-nav-mobile-a{display: block;}
	#primary-nav-mobile{display: block;}
	#primary-nav-id{display: none;}
	#top-nav-mobile-a{display: block;}
	#top-nav-mobile{display: block;}
	#top-nav-id{display: none;}

	/*-- content --*/
	#content-container{
		padding:5px;		
	}
	
	#content {
		width: 440px;
	}
	
	#slider .lof-slidecontent{
		width:440px; 
		height:210px;
	}

	#slider .lof-slidecontent .slider-image{
		width:440px; 
		height:210px;
	}
	
	#slider .main-slider-content{
		width:440px; 
		height:210px;
	}
	
	#carousel{
		display:none;
	}
	
	#featured-categories .category{
		width:210px;
		float:left;
		margin-bottom:10px;
	}
	
	#featured-categories .right-side{
		margin-left:20px;
	}
	
	#featured-categories .category .attachment-feat-thumb{
		width:210px;	
		max-height:120px;
	}	

	#featured-categories .more-posts img{
		display:none;
	}
	
	#featured-categories .more-posts .right{
		width:210px !important;
	}	
	
	#posts-list .post-image{
		margin-right:10px;
	}
	
	#posts-list .post-image img{
		width:120px;
	}
	
	#posts-list .post .right .date-by{
		margin-bottom:5px;
	}
	#posts-list-double .post {
		float: none;
		width: 100%;
	}
	#content-right {
 		width: 100%;
 	}
 	#main-widget-area {
		width: 100%;
	}
	#main-widget-area .widget{
		width: 100%
	}
	#main-widget-area .scipio_magazine_feat .feat-post-img img {
		width: 480px;
	}
	/*-- Sidebar --*/
	#sidebar {
		width: 100%;
		margin-left:10;
		margin-top:10px;
	}
	
	#sidebar  .widget{
		width: 100%;
		float: none;
		margin-right:10px;
	}
	
	.widget_search input{
		width: 170px;		
	}
	
	#sidebar .widget_ad125 li:last-child{
		margin-left:0;
	}
	.box-small .desc-title    {  font-size: 14px; }
                                
	/*-- footer --*/	
	#footer .footer-widgets{
		padding:10px;
	
	}
	
	#footer  .widget{		
		
		margin-right:10px;	
		width:210px;
		}
	
	#footer .footer-info{
		padding:10px;
	}	
	.video-shortcode, .video-shortcode iframe, .video-shortcode object {
		width: 430px;
		height: 215px;
	}
	#sidebar-left {
		margin-left: 10px;
		width: 98%;
	}
	#sidebar-left #sidebar {
		margin-left: 20px;
	}
}

@media screen and (max-width: 459px) {
	
	#container {
		width: 100%;		
	}

	#content-container{
		padding:5px;
	}	
	
	/*-- header --*/
	#header{
		padding: 1px;		
	}
	
	#header .logo {
		width:100%;
		text-align:center;	
	}
	
	#header .headerads{
		display: none; 
	}
	
	#header .logo img {
		display:inline-block;
	}
				.ticker {display: none;}
				#primary-nav-mobile-a{display: block;}
				#primary-nav-mobile{display: block;}
				#primary-nav-id{display: none;}
				#top-nav-mobile-a{display: block;}
				#top-nav-mobile{display: block;}
				#top-nav-id{display: none;}
	
	/*-- content --*/
	#slider{
		display:none;
	}
	
	#content {
		width: 300px;
	}
	
	#carousel{
		display:none;
	}
	

	#featured-categories .right-side{
		margin-left:0;
	}
	
	#posts-list .post-image{
		
	}
	
	#content .single-post .author .avatar{
		display:none;
	}

	#content .single-post .author .author-meta{
		margin-left:0px;
	}
	
	#comments ol.commentlist li ul.children li.depth-2 { 
		margin: 0 0 30px 30px;  
	}

	#comments ol.commentlist li ul.children li.depth-3 { 
		margin: 0 0 30px 0px; 
	}

	#comments ol.commentlist li ul.children li.depth-4 { 
		margin: 0 0 30px 0px; 
	}

	#comments ol.commentlist li ul.children li.depth-5 { 
		margin: 0 0 30px 0px; 
	}
	
	#respond input[type="text"], #respond input[type="password"] {
		width: 200px; 
	}
	#posts-list-double .post {
		float: none;
		width: 100%;
	}
	/*-- sidebar --*/
	#sidebar {
		width: 100%;
		float: left;
		margin-left:-5px;
		margin-top:20px;
	}
	#sidebar .widget 
	{
		width: 100%;
		padding:5px;
	}
	#sidebar-left {
		margin-left: 0px;
	}
	.scipio_magazine_feat
	{
		margin-left: 0px;
	}
	/* content */
	#content-right {
		width: 100%;
	}
	.adds300x250 { margin-left:5px;text-align:left;}

.flickr-widget .flickr_badge_image {
	margin:2px 6px;
	display:inline;
	float:left !important;
}
.flickr-widget .flickr_badge_image img{
	opacity:1;
	padding:2px;
	width:85px;
	height:85px;
}
	/*-- footer --*/

	#footer .footer-widgets{
		padding:5px;
	}
	
	#footer .widget{
		width: 100%;
	}
	#footer .footer-info{
		padding:5px;
	}
	
	#footer  .footer-info .credit{
		float:left;
	}
	.video-shortcode, .video-shortcode iframe, .video-shortcode object {
		width: 300px;
		height: 150px;
	}
}