/* #Media Queries
================================================== */
	@media only screen and (max-width: 1280px) {
      #primary-menu > ul > li{font-size:12px;}
	}
	
	@media only screen and (max-width: 1140px) {
	  .vc_span12 > .wpb_wrapper{width:98%;}
	  body .wpb_content_element,body .wpb_column{ width:95%;margin:0 auto;}
	  body .vc_text_separator {margin-bottom:40px;}
	  
      #primary-menu{display:none;}
	  .tools{border:none;width:210px;}
	  .tools ul li.menu{display:block;}
	}
	
	@media only screen and (max-width: 1024px) {
	  #bottom .columns.alpha{margin-right:20px;margin-bottom: 12px;}
	  .parallax {background:scroll;}
	
	
	/* Smaller than standard 960 (devices and browsers) */
	@media only screen and (max-width: 959px) {
		.fullscreen_stage .post_title{width:90%;}
		.grid-blog{width:100%;}
		.post.grid{width:46%;}
		
	    /*Comments*/
	   .commentlist li .commentDetail{width:480px;}
	   .van_headline h2{font-size:55px;}
	}

	/* Tablet Portrait size to standard 960 (devices and browsers) */
	@media only screen and (min-width: 768px) and (max-width: 959px) {
	   /*General*/
	   .features .columns,
	   .portfolio-item.four{margin:0 21px 21px 0;}
	   
	   /*Quote*/
	   .quote,.subscribe{width:85%;}
	   .quote .avatar{margin-right:100px;}
	   
	   /*Grid Posts*/
	   .blog-post.columns{margin-right:45px;}
	   .grid-posts .inner{height:345px;}
	   .grid-posts,.grid-posts .inner{overflow:hidden;}
	   .grid-posts header{width:96.3%;}
	   
	   /*Bottom Widget*/
	   #bottom .column.alpha, 
	   #bottom .columns.alpha{margin-right:9px;margin-bottom: 12px;}
	   #bottom .columns.alpha:last-child{margin-right:0;}
	   
	   .gallerywidget > a{
		   width:50px;
		   height:50px;
	   }
	   .gallerywidget > a img{
		   width:50px;
		   height:auto;
	   }
	   
	   #main{width:65%;}
	   #main.full-blog,#main.sixteen{width:100%;}
	   #sidebar{width:30%;}
	   
	   /*Comments*/
	   .commentlist li .commentDetail{width:75%;}
	   .columns.eight.contact_description{width:45%;}
	}

	/* All Mobile Sizes (devices and browser) */
	@media only screen and (max-width: 767px) {
	   
	   #slidedown-menu,#slidedown-cart,#slidedown-search{ width:90%;overflow:hidden;}
	   #slidedown-load h2.title{font-size:50px;}
	   #slidedown-search{min-height:500px;left:10px;margin:-25% 0 0;}
	   
	   #slidedown-search select,
	   #slidedown-load input[type="submit"],
	   #slidedown-search input[type="text"]{width:100%;margin-bottom:10px;}
	   
	   .fullscreen_stage .post_title h2{font-size:1.8em;line-height:1em;}
	   .fullscreen_stage .post_title p{max-width:100%;}
	   .page_title{font-size:24px;}
	   
	   /*General*/
	   #jprePercentage {top:-150%;}
	   
	   #container{padding-top:80px;}
	   #main.columns.twelve{width:100%;margin:30px auto;}
	   
	   .alignleft,.alignright{float:none;}
	   
	   	#top{height:60px;}
	   .tools{
		  width:auto;
		  height:30px;
		  float:none;
		  margin:10px auto 0;
		  padding-left:0px;
		  border:none;
		}
		.tools ul{
		   text-align:center;
		}
		.tools ul li,
		.tools ul li.menu{
		  float:right;
		  width:40px;
		  display:inline-block;
		}

	   
	   /*Portfolio,Grid Posts*/
	   .section header .menu li{margin-left:0;margin-right:15px;}
	   .portfolio_carousels{display:none;}
	    body .portfolio-slider.flexslider{min-height:0;}
	   
	   /*Gallery*/
	   .gallerywidget > div{
		   width:95px;
		   height:95px;
		}
		.gallerywidget > div img{
		   width:95px;
		   height:auto;
		}
		.grid-posts .inner{height:350px;}
		
		/*Masonry*/
		.container .sixteen.columns.full-blog,
		.post.grid{width:100%;}
        .post.grid .cover{max-height:400px;}
		.post.grid .cover img{width:430px;}
		
		/*Comments*/
	   .commentlist li .commentDetail{width:80%;}
	   
	   /*Contact*/
		.contactform{padding-top:30px;}
		.contactform textarea{width:96.5%;}
		
		#sidebar{display:none;}
		
		/*VC*/
	    body .vc_row-fluid .vc_span3, 
	    body .wpb_teaser_grid.wpb_carousel .vc_span3{width:95%;margin:auto;}
		body .vc_responsive .wpb_row .vc_span12{margin:auto;}
		
	   .van_headline h2{font-size:40px;margin-bottom:10px;}
	   
	   .error_404 #searchform #s{width:65%;}


	}

	/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
	@media only screen and (min-width: 480px) and (max-width: 767px) {
	   	/*Gallery*/
	   .gallerywidget > div{
		   width:78px;
		   height:78px;
		}
	   .gallerywidget > div img{
		   width:78px;
		   height:auto;
	    }
		/*Post*/
		.post h2.post_title a,
		.post h2.post_title{
			line-height:1em;
			font-size:1.2em;
			margin-bottom:10px;
		}
		
	   /*LOGO*/
	   h1#logo a{
	     width:110px;
		 margin-top:-10px;
		 background-size:100% auto;
		 background-position:0 center;
	   }

	}

	/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
	@media only screen and (max-width: 479px) {
	    #page-title ul.heading li.title{font-size:28px;}
		.fullscreen_stage .post_title h2{font-size:1.8em;line-height:1em;}
		
		/*LOGO*/
	    h1#logo{
	     display:none;
	    }
		
		.tools{margin-right:25%;}
		
		.tools ul li,
		.tools ul li.menu{
		  float:right;
		}
		
		/*Comments*/
	   .commentlist li .commentDetail{width:72%;}
	   .contactform textarea,
       #respond textarea{width:94%;}
	   
	   /*Post*/
		.post h2.post_title,
		.post h2.post_title a{
			font-size:1.1em;
			margin-bottom:10px;
		}

		.post h2.post_title{
			line-height:1.2em;
		}
		
	   .van_headline h2{
		   font-size:32px;
		   line-height:28px;
		}
	}

