/*
* tablet devices
*/
@media (max-width: 979px) and (min-width: 768px){

	#items {
		margin-left: -22px;
	}

	.row-fluid .span6{
		width: 100% !important;
		margin: 0 1% !important;
	}

	.row-fluid .span6:first-child{
		width: 100% !important;
		margin: 0 1% !important;
	}

	.row-fluid .span3{
		width: 48% !important;
		margin: 0 1% !important;
	}

	#portfolio-items .portfolio-item{
		width: 48% !important;
		margin: 0.9% 0.9% !important;
	}

	.row-fluid ul.latestWorks li{
		margin: 0 !important;
		margin-left: 2% !important;
		width: 49% !important;
	}
	.row-fluid ul.latestWorks li:first-child{
		margin: 0 !important;
		width: 49% !important;
	}

	.footer-text p{
    	display: inline;
   }

   .footer-text{
    	text-align: center;
   }

   #blog-container{
   	width: 100%;
   }

   #blog-container .blog-item{
   	width: 46%;
   }

   .lg-contact-i{
   	display: none !important;
   }

   .tablet-contact-info{
   	display: block;
   }

   #css-table .col{
   	width: 50%;	
   	padding: 40px;
   }

   #css-table{
   		height: 150px;
   }
   #css-table:last-child{
   		margin-top: 0 !important;
   		border-top: 0 !important;
   }
   
   .stacked-carousel > .item > img{
   		width: auto !important;
	  	height: auto;
	}

	#blog-slider-container{
		width: auto;
	}

	.post-image img{
		width: 100%;
	}

	#home2-img img{
		width: 100%;
		height: auto;
	}

	.blogPosts{
		height: 160px !important;
	}

	.blogPostsContainer{
		margin: 0;
	}

	.instagram-placeholder a {
	  height: 60px;
	}

	#video-container iframe{
		width: 100%;
		height: 50;
	}

	#video-container video{
		width: 100%;
		height: auto;
	}

	.stacked-carousel iframe{
		width: 100%;
		height: 50;
	}

	.stacked-carousel video{
		width: 100%;
		height: 318px !important;
	}

	#main-content{
		width: 100%;
	}

	#blog-sidebar1{
		width: 100% !important;
	}

	.testmonial-arrow-first{
		display: none;
   	}

	.testmonial-arrow-second{
		display: none;
	}

	.testmonial-border{
		border: 0 !important;
	}

	.testmonial-author{
		width: 100%;
	}

	.testmonial-quote{
		width: 100%;
	}

	.similar-proj{
		margin-bottom: 20px;
	}

	.single-workpost-desc{
		height: 320px !important;
	}

	.bucket.home_albums {
		min-height: 280px;
	}
}

/*
* mobile devices
*/
@media(max-width: 767px){

	body{
		font-size: 18px;
	}

	.bucket.home_albums {
		min-height: 0;
		height: auto;
		margin-bottom: 20px;
	}

	.search-res img {
		max-width: 100%;
		width: auto !important;
		height: auto;
	}

	#items {
		margin-left: 0;
	}

	#home2-img img{
		width: 100%;
		height: auto;
	}

   	#blog-container .blog-item{
   		width: auto;
   	} 
   	.blog-desc {
		padding: 20px;
		float: left;
		width: 100%;
		-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
		-moz-box-sizing: border-box;    /* Firefox, other Gecko */
		box-sizing: border-box;         /* Opera/IE 8+ */
	}

	.blogPosts{
		height: 320px !important;
	}
	.blogPosts li{
		//width: auto !important;
	}
	.post-desc {
		border-left:0 !important;
	}

	#no-img-blogposts{
		height: 165px !important;
	}

	.post-image{
		width: 100%;
	}

	.post-desc{
		width: 100%;
	}

	#slides img{
		width: 1024px !important;
	//max-width: none !important;
		height: 682px !important;
	}
	
	img{
		width: 100% !important;
		//max-width: 100% !important;
	}

	#css-table .col{
	   	width: 100%;
	   	display: block;
	   	border: 0 !important;
		border-bottom: 1px solid #D6D6D6 !important;
   }

   #css-table{
   	text-align: center;
   }

   .contact-info-container{
   	display: block;
   }

   .contact-info-container .elem{
   	display: block;
   }

   .contact-info-container .elem:last-child{
   	padding: 0;
   }

   .testmonial-quote{
   		width: 100%;
   }

   .testmonial-arrow-first{
		display: none;
   	}

	.testmonial-arrow-second{
		display: none;
	}

	.testmonial-author{
		width: 100%;
	}

	.testmonial-border{
		border: 0 !important;
	}

	.testmonial-border-left{
		border: 0 !important;
	}

	#blog-slider-container{
		width: auto;
	}

	#home2-img img{
		//width: auto !important;
		//height: auto !important;
	}

	.carousel-nav{
		top: -80px;
		margin: 0 !important;
	}

	h3{
		font-size: 20.5px;
	}

	p.post-title{
		font-size: .8em;
	}

	.carousel-caption{
		padding: 10px;
	}

	p.post-categoty{
		font-size: .6em;
	}

	h4{
		font-size: 15.5px;
	}	

	#footer{
		padding-bottom: 20px;
	}

	.pg_paging_bp{
		margin-top: 30px !important;
	}

	.instagram-placeholder a {
		width: 67px;
		height: 62px;
	}

	.slide-left .slider-text{
		//margin-left: 2%;
	}

	#video-container iframe{
		width: 100%;
		height: 50;
	}

	#video-container video{
		width: 100%;
		height: auto;
	}

	.stacked-carousel iframe{
		width: 100%;
		height: 50;
	}

	.stacked-carousel video{
		width: 100%;
		height: auto;
	}

	#project-summary{
		border-left: 0 !important;
	}

	#project-summary.bordered-summary {
		border-left: 1px solid #D6D6D6 !important;
	}

	.rsswidget img{
		width: auto !important;
	}

	.for-carousel{
		margin-top: 10px !important;
	}

	.similar-proj{
		margin-bottom: 20px;
	}

	#filters {
		border: 1px solid #c6c6c6;
		display: table;
		//width: 250px;
		width: 100%;
		
	}

	#filters li {
		border: 1px solid #c6c6c6 !important;
		display: table-cell;
		width: 33.33333%;
		-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
		-moz-box-sizing: border-box;    /* Firefox, other Gecko */
		box-sizing: border-box; 
		height: 40px;
		text-align: center;
	}

	.nav-tabs{
		float: none;
	}

	.nav-tabs > li {
		float: left;
		min-width: 0;
	}

	.nav-tabs > li > a{
		border: 0;
	}

	.tab-content{
		padding: 0;
	}

	.tab-content p.post-categoty{
		font-size: .7em;
	}

	.slider-text h2{
		font-size: 30px;
		line-height: 32px;
	}

	.slider-text h4 {
		font-size: 18px;
	}

	.slider-text p{
		font-size: 12px;
	}

	.slide-left .slider-text, .slide-right .slider-text{
		margin-top: 0;
	}

	.blog-desc .post-categoty, .blog-desc .desc{
		font-size: .7em;
	}

	.blog-desc .post-title {
		font-size: 1em;
	}
}

@media (min-width: 1536px) {
	#introduction{
		height: 420px;
	}
	#video-container iframe {
		width: 100%;
		height: 420px;
	}
	#video-container video{
		width: 100%;
		height: 420px;
	}

	.stacked-carousel iframe{
		width: 740px;
		height: 416px;
	}

	.span12 .stacked-carousel iframe {
		width: 993px;
		height: 557px;
	}

	.span9 #project-summary{
		height: auto;
	}

	.stacked-carousel video{
		width: 100%;
		height: 100%;
		display: block;
	}

	#project-summary{
		height: 420px !important;
	}

	.main-menu a{
		line-height: 90px;
	}

	#search-bar{
		height: 70px;
	}

	#search-field{
		height: 62px;
	}

	.main-headline{
		padding: 30px;
	}

	[id*="ns_widget_mailchimp_form-"] input[type="text"]{
		height: 50px !important;
	}

	[id*="ns_widget_mailchimp_form-"] input[type="submit"]{
		line-height: 30px;
	}

	[id*="ns_widget_mailchimp_form-"]{
		padding: 30px;
	}

	.post-image, .post-desc{
		height: 208px;
	}

	.post-desc{
		padding: 30px;
	}

	.widget{
		height: 210px;
		padding: 30px;
	}

	.instagram-placeholder a{
		height: 70px;
	}

	.post-desc2{
		height: 208px;
		padding: 30px;
	}

	.testmonials {
		height: 208px;
		padding: 10px 30px;
	}

	body {
		font-size: 20px;
	}

	.single-workpost-desc p{
		line-height: 20px;
		text-align: left;
		margin: 0 0 10px;
	}

	.accordion-heading .accordion-toggle {
		padding: 20px;
	}

	.about-intro p{
		line-height: 1.5em;
	}

	.services-elem p {
		line-height: 1.5em;
	}

	.load-more{
		width: 60px;
		height: 60px;
	}

	p.post-title{
		line-height: 1.1em;
	}

	.single-post-content p{
		line-height: 1.5em;
	}

	.comment{
		line-height: 1.1em;
	}

	.contact-txtbox{
		margin: 5px 0;
		height: 50px !important;
		margin-bottom: 30px !important
	}

	.contact-txtarea{
		margin-bottom: 30px;
	}

	#map-container {
		height: 380px;
	}

	#css-table .col{
		padding: 30px;
	}

	.testmonial-quote{
	  padding: 30px 40px;
	}

	.testmonial-author{
	  padding: 30px;
	}

	#item-testmonials > .up-container:first-of-type > .testmonial-container > .testmonial-arrow-first {
		margin-left: -7px;
	}

	.desc-container{
		height: 90px;
	}

	#contact-container{
		padding: 30px;
	}

	.btn {
		padding: 15px 20px;
	}

	.acc-inner-text{
		line-height: 20px !important;
	}

	p.post-title-bigger{
		line-height: 25px;
	}

	.logo-container, .search-logo-container{
		height: 89px;
	}

	.search-icon{
		margin-top: 25px !important;
	}

	.desc{
		line-height: 20px;
	}

	.blog-desc{
		padding: 30px;
	}

	.footer-text{
		margin: 40px 0;
	}

	.footer-social{
		margin-top: 30px;
	}

	.bordered-summary.work-summary{
		display: block !important;
	}

	.bordered-summary.work-summary .summary-details, .bordered-summary.work-summary .summary-details2{
		-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
		-moz-box-sizing: border-box;    /* Firefox, other Gecko */
		box-sizing: border-box;         /* Opera/IE 8+ */
		padding: 30px;
	}

	#introduction{
		padding: 30px;
	}

	#col-container{
		padding: 30px;
	}

	.contact-info-container .elem:last-child p {
		padding: 2px 0;
	}

	.single-workpost-desc ul, .single-workpost-desc ol{
	 	padding: 7px 25px;
		font-size: 16px;
	}

	.single-post-content ul, .single-post-content ol{
		padding: 7px 20px;
		font-size: 16px;
	}

	.bucket.home_albums {
		min-height: 380px;
	}
}

@media (max-width: 1200px) and (min-width: 979px){
	#introduction{
		height: 260px;
	}
	.instagram-placeholder a {
	  height: 43px;
	}

	.instagram-image {
	}

	#video-container iframe{
		width: 100%;
		height: 50;
	}

	#video-container video{
		width: 100%;
		height: auto;
	}

	.stacked-carousel iframe{
		width: 100%;
		height: 50;
	}

	.stacked-carousel video{
		width: 100%;
		height: 318px !important;
	}

	.stacked-carousel img{
		//width: auto !important;
		height: auto;
	}

	#calendar_wrap{
		padding: 6px !important;
	}

	.stacked-carousel{
		width: 65.74585635359117% !important;
		display: block !important;
	}

	#project-summary{
		display: block;
		height: 320px;
	}

	.summary-details, .summary-details2{
		-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
		-moz-box-sizing: border-box;    /* Firefox, other Gecko */
		box-sizing: border-box;         /* Opera/IE 8+ */
	}

	.carousel-inner > .item > img, .carousel-inner > .item > a > img{
		width: auto !important;
	}

	.span12 .stacked-carousel img {
		width: 100% !important;
	}

	#introduction.about-intro {
		height: 324px;
	}

	.bucket.home_albums {
		min-height: 280px;
	}
}

@media(min-width: 979px){
	.main-menu{
		display: inline !important;
	}
}

@media(max-width: 979px){
	.single-carousel{
		width: auto;
		height: auto;
		display: block;
	}

	.stacked-carousel{
		width: 65.74585635359117% !important;
		display: block !important;
	}

	#project-summary{
		display: block;
		height: 320px;
	}

	.summary-details, .summary-details2{
		-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
		-moz-box-sizing: border-box;    /* Firefox, other Gecko */
		box-sizing: border-box;         /* Opera/IE 8+ */
	}
}

@media(max-width: 767px){
	.stacked-carousel{
		width: 100% !important;
	}

	.main-headline h3{
		line-height: 30px;
	}
}