/* #Media Queries
================================================== */
	@media only screen and (max-width: 1280px) {
      #primary-menu > ul > li{font-size:12px;}
      .fullscreen_stage iframe{min-height:700px;}
	}
	
	@media only screen and (max-width: 1140px) {
	  .vc_span12 > .wpb_wrapper{width:98%;}
	  body .vc_text_separator {margin-bottom:40px;}
	  
	  #top{height:74px;}
      #primary-menu{display:none;}
	  .tools{border:none;width:210px;}
	  .tools ul li.menu{display:block;}
	}
	.fullscreen_stage iframe{min-height:640px;}
	
	@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%;}

	   .vc_span12 > .wpb_wrapper, .vc_col-sm-12 > .wpb_wrapper{
		  width:100%;
	   }
	   .fullscreen_stage iframe{min-height:480px;}
	}

	/* All Mobile Sizes (devices and browser) */
	@media only screen and (max-width: 767px) {


	   body .wpb_content_element,body .wpb_column,
	   body .vc_span12 > .wpb_wrapper,
	   body .vc_col-sm-12 > .wpb_wrapper{ width:95%;margin:0 auto;}
	   body .vc_row{margin-right:0;margin-left:0;}

	   #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 {margin-bottom:-60px;}
	   .fullscreen_stage .post_title h2{font-size:1.8em;line-height:1em;}
	   .fullscreen_stage .post_title p{max-width:100%;}
	   .fullscreen_stage iframe {min-height:380px;}
	   .page_title{font-size:24px;}

	   /*General*/
	   #jprePercentage {top:-150%;}

	   #container{padding-top:100px;}
	   #main.columns.twelve{width:100%;margin:30px auto;}

	   .alignleft,.alignright{float:none;}


	   .tools{
		  width:100%;
		  height:30px;
		  float:none;
		  margin:18px 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;
		}
		.tools ul li{
		  margin-right:0;
		}


	   /*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*/
	   #logo a{
	     width:150px;
		 margin-top:0px;
		 background-size:95% 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{margin-bottom:-60px;}
		.fullscreen_stage .post_title h2{font-size:1.8em;line-height:1em;}
		.fullscreen_stage iframe {min-height:180px;}

		.tools{margin-right:30%;}

		.tools ul li,
		.tools ul li.menu{
		  float:right;
		}
		#logo a {
		    width: 100px;
		    margin-top: 0px;
		    margin-left:10px;
		    background-size: 100% auto;
		    background-position: 0 center;
		}

	    /*Post*/
	    .post, .portfolio{
	    	margin-bottom:30px;
	    }
		.post h2.post_title,
		.post h2.post_title a,
		h2.comment-title{
			font-size:1.5em;
			line-height: 1.2em;
			margin-bottom:10px;
		}
		.post_navi strong,
		.post_navi .next{
			width:100%;
			text-align:left;
			margin-bottom:10px;
		}

		/*Comments*/
	    h2.comment-title{margin-bottom:30px;}
	   .commentlist li .commentDetail{width:72%;}
	   .contactform textarea,
       #respond textarea{width:94%;}

	   .van_headline h2{
		   font-size:32px;
		   line-height:28px;
		}
	}

