`/*------------------------------------------------------


------------------------------------------------------*/

/*Desktop Layout+

-----------------------------------------------*/

@media only screen and (min-width: 600px) and (max-width: 1409px) {
	.section-blog { 
		height: 0;
		padding-bottom: 61%;
	}
}

@media only screen and (min-width: 1200px) and (max-width: 1410px){
	/*#content-wrapper .portfolio-filter-wrapper,*/
	/*#content-wrapper #folio-navigation,
	#header-wrapper #header-inner,
	.mobile-widget-box-inner,
	/*#section-title,*/
	/*#content-wrapper section.homepage,
	/*.sub-section-title,*/
	/*.portfolio-button,
	#content-wrapper section.latest-posts-grid,
	#content-wrapper section.latest-posts-grid,
	#content-wrapper section.portfolio-fixed-width-grid,
	#content-wrapper section.portfolio,
	#folio-navigation,
	#content-wrapper section.pages,
	#footer-wrapper #footer-top, 
	#footer-wrapper #footer-middle,
	#footer-wrapper #footer-bottom	{max-width:100%; padding: 0 3%;}*/

	/*common
	----------------------------*/
	#content-wrapper .blog-filter,
	#content-wrapper .portfolio-filter-wrapper,
	#content-wrapper #folio-navigation,
	.mobile-widget-box-inner,
	/*#section-title,*/
	#content-wrapper section.homepage,
	/*.sub-section-title,*/
	.portfolio-button,
	#content-wrapper section.latest-posts-grid,
	#content-wrapper section.latest-posts-grid,
	#content-wrapper section.portfolio-fixed-width-grid,
	#content-wrapper section.portfolio,
	#folio-navigation,
	#content-wrapper section.pages,
	#footer-wrapper #footer-top, 
	#footer-wrapper #footer-middle,
	#footer-wrapper #footer-bottom {max-width:100%; padding: 0 3%; width: auto;}


	#footer-wrapper {
		margin-left: 0;
		padding: 0;
	}

	#content-wrapper,#footer-wrapper{margin:0px; }

	.single .blog-post-featured-media {
		padding: 0 3%;
		width: auto;	
	}

	.single .pages #section-title,
	.homepage #content-wrapper section.pages { padding: 0; }

	#header-wrapper #header-inner { width: auto; }
	/*.blog article.blog-post { min-width: 0; min-height: 0;}*/
	.page-template-page-services-php #content-wrapper section.pages, .blog #content-wrapper, .blog #content-wrapper section.pages{ max-width:100%;}

	#content-wrapper { padding-top: 148px; }
	#content-wrapper.full-width-grid-wrapper { width: auto; max-width: 100%; }

	/* footer */
	#footer-wrapper #footer-top {  padding-right: 0; padding-left: 0; }
	#footer-wrapper #footer-top footer .row-footer-widget img { width: 20%; }

}

@media only screen and (min-width: 1024px) and (max-width: 1199px){

	/*common
	----------------------------*/
	#content-wrapper .blog-filter,
	#content-wrapper .portfolio-filter-wrapper,
	#content-wrapper #folio-navigation,
	.mobile-widget-box-inner,
	/*#section-title,*/
	#content-wrapper section.homepage,
	/*.sub-section-title,*/
	.portfolio-button,
	#content-wrapper section.latest-posts-grid,
	#content-wrapper section.latest-posts-grid,
	#content-wrapper section.portfolio-fixed-width-grid,
	#content-wrapper section.portfolio,
	#folio-navigation,
	#content-wrapper section.pages,
	#footer-wrapper #footer-top, 
	#footer-wrapper #footer-middle,
	#footer-wrapper #footer-bottom {max-width:100%; padding: 0 3%; width: auto;}
	#content-wrapper,#footer-wrapper{margin:0px; }

	.page-template-page-services-php #content-wrapper section.pages, .blog #content-wrapper section.pages{ max-width:100%;}
	/*.blog article.blog-post { width: 25%; height: 460px;}*/
	.homepage #content-wrapper section.pages { padding: 0; }

	#content-wrapper { padding-top: 148px; }
	/*.blog #header-wrapper #header-inner { max-width: none; }*/
	.single .blog-post-featured-media {
		padding: 0 3%;
		width: auto;	
	}

	.single-post #content-wrapper section.pages {
		padding:0;
		margin: 0 3%;
	}

	h1, h1 span, h1 a, h1 strong em{font-size:55px;line-height:65px;}
	h2, h2 span, h2 a{font-size:42px;line-height:46px;}
	h4, h4 span, h4 a{font-size:16px;line-height:20px;}

	/*header
	----------------------------*/
	#header-wrapper { padding: 0 3%;}
	.blog #header-wrapper{width:100%;padding: 0 0 0 0;}
	
		/*sub menu*/
		header nav#primary-nav ul li ul.sub-menu,header nav#primary-nav ul li ul.children{left:0px;}

	/*tablet*/
	/*.is_tablet #header-inner{margin-bottom: 20px;}
	.is_tablet #header-inner{width: 170px;}
	.is_tablet header nav#primary-nav { width: 100%;}
	.is_tablet header nav#primary-nav ul.mobile-navigation{text-align: left;}
	.is_tablet header nav#primary-nav ul.mobile-navigation li { width: 100%;}
	.is_tablet header nav#primary-nav ul.mobile-navigation li a{padding: 5px 0; width: 100%;}
	.is_tablet header nav#primary-nav ul.mobile-navigation li ul.sub-menu li a, .is_tablet header nav#primary-nav ul.mobile-navigation li ul.children li a{padding-left:15px;}
	.is_tablet #header-inner .mobile-menu-toggle {border-top:1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6;margin-top:0;margin-bottom: 20px;}
	.is_tablet header nav#primary-nav ul.mobile-navigation{border-bottom: 1px solid #e6e6e6;margin-bottom: 20px;}
	.is_tablet header nav#primary-nav ul.mobile-navigation li:first-child.current-menu-item,.is_tablet header nav#primary-nav ul.mobile-navigation li:first-child.current_page_item {margin-top: 0px;}
	.is_tablet header nav#primary-nav .menu ul li ul.sub-menu,.is_tablet header nav#primary-nav .menu ul li ul.children{display: block !important;}*/

	/*homepage
	----------------------------*/
	#content-wrapper section.latest-posts-grid #content-inner-blog-grid article.blog-post{margin-bottom: 50px;}
	#content-wrapper section.latest-posts-grid #content-inner-blog-grid article.blog-post:last-child{margin-bottom:0;}
	.home .portfolio-full-width-grid #grid .thumb.primary { margin-bottom: 8px !important; }
	.blog article.blog-post, 
	.home section.masonry-grid .grid .thumb,
	.home .portfolio-full-width-grid #grid .thumb {  margin-bottom: 8px !important; }
	.home section.masonry-grid .grid .thumb.secondary,
	.home .portfolio-full-width-grid #grid .thumb.secondary {  margin-bottom: 8px !important;  }

	/*portfolio index grid
	----------------------------*/
	.portfolio-fixed-width-grid #grid{width:740px!important;}
	.portfolio-fixed-width-grid #grid .thumb{width:240px !important;height:auto !important;}
	.portfolio-full-width-grid #grid .thumb{width: 100%;height:500px;}

	/*portfolio
	----------------------------*/
	.featured-media-container{max-width:734px;height:auto !important; overflow:inherit!important;}
	.featured-media-container .full-width-featured-image{}

	/*blog
	----------------------------*/
	/*blog layout:grid*/
	.blog-post-grid-content{max-width:342px;}
	.blog-post-grid-content .blog-post-featured-media{width:342px; height:auto; float: none;}
	.blog-post-grid-content .blog-post-featured-media .thumb{width:342px;}
	section#comments ol.comment-list li ul.children li {width: 469px;}
	section#comments ol.comment-list li ul.children ul.children{margin-left:0;}
	section#comments ol.comment-list li.depth-1>div,ol.comment-list li ul.children li{padding:15px !important;}
	section#comments ol.comment-list li ul.children{margin-left:40px !important;}
	section#comments ol.comment-list li.comment .commentary {padding-left: 85px !important;}
	
	/*blog layout:regular*/
	.content-inner-left{width:50%; margin: 20px 0 0 0;}
	.content-inner-right{width:50%;}
	.single aside.sidebar, aside.sidebar{width:50% !important;}
	
	.blog-post-content .blog-post-featured-media{ height:280px; /*float:left;margin-bottom:0px; overflow:hidden;position:relative;*/}
	.blog .blog-post-content .blog-post-featured-media{max-width:none;  }
	.blog-post-content .blog-post-featured-media .thumb{/*max-width:509px;*/}
	.blog-post-content .video{ /*width:509px !important;height:286px !important; */}
	section#blog-post-comments ol.comment-list li ul.children li{width:100%;}
	.sticky .blog-post-content .blog-post-featured-media,.sticky .blog-post-content .blog-post-featured-media .thumb{width:459px;}
	.sticky .blog-post-content .blog-post-featured-media .video,.sticky .blog-post-content .blog-post-featured-media .flexslider{width: 459px !important;height:auto;}

	/*form elements
	----------------------------*/	
	textarea {width:509px;}

	/*media
	----------------------------*/
	.display-image{max-width:734px;height:auto !important;}
	
	.display-image .impact.bottom-left h2 { margin-top: 180px; }

	.banner .display-image{max-width:none;}

	/*video*/
	.video{ /*max-width:734px !important; height:auto;*/}
	.featured-media-container.full-width-video-wrapper .video{max-width:100% !important;}
	
	/*thumbs*/
	.thumb{/*max-width:734px !important;*/height:auto;}
	
	/*wp native gallery*/
	.gallery-columns-8 .gallery-item{ width: 25% !important;}
	.gallery-columns-3 .gallery-item,.gallery-columns-5 .gallery-item,.gallery-columns-6 .gallery-item,.gallery-columns-7 .gallery-item,.gallery-columns-9 .gallery-item{ width: 33.3% !important;}
	.gallery br{display:none;}
	
	/*flexslider*/
	.flexslider{max-width: 734px;height: auto !important;}

	/* footer */
	#footer-wrapper #footer-top footer .row-footer-widget img { width: 20%; }

	#content-wrapper .blog-filter,
	#content-wrapper .portfolio-filter-wrapper { margin-top: 10px !important;	} 

	/* services */

	.service-wrapper h2 {
		font-size: 48px;
	}


}

/*Mobile Layout: Tablet Landscape

-----------------------------------------------*/

@media only screen and (min-width: 960px) and (max-width: 1023px){

	/*common
	----------------------------*/
	#content-wrapper #folio-navigation,
	#header-wrapper #header-inner,
	/*#section-title,*/
	#content-wrapper section.homepage,
	/*.sub-section-title,*/
	.portfolio-button,
	#content-wrapper section.latest-posts-grid,
	#content-wrapper section.latest-posts-grid,
	#content-wrapper section.portfolio-fixed-width-grid,
	#content-wrapper section.portfolio,
	#folio-navigation,
	#content-wrapper section.pages,
	#footer-wrapper #footer-top, 
	#footer-wrapper #footer-middle,
	#footer-wrapper #footer-bottom{max-width:100%;  padding: 0 3%; margin: auto;}
	#content-wrapper,#footer-wrapper{margin-left:0px;}

	#content-wrapper section.portfolio-full-width-grid { padding: 0 3%; width: auto;}

	#header-wrapper #header-inner, 
	#footer-wrapper #footer-middle,
	#footer-wrapper #footer-top { width: auto; }
	#content-wrapper .blog-filter,
	#content-wrapper .portfolio-filter-wrapper,
	.pages #section-title, .homepage #content-wrapper section.pages { padding: 0;}
	#content-wrapper.has_post_thumbnail { /*padding-top: 35px;*/ }

	.page-template-page-services-php #content-wrapper section.pages, .blog #content-wrapper section.pages{ max-width:100%;}
	/*.blog #header-wrapper #header-inner{ max-width:none; height:145px; border:none !important; padding: 0 30px; width: auto; display: block;}*/
	/*header
	----------------------------*/
	.blog #header-wrapper{width:100%;padding: 0 0 0 0;}

	h1, h1 span, h1 a, h1 strong em {font-size:45px;line-height:55px;}
	h2, h2 span, h2 a{font-size:32px;line-height:36px;}
	h4, h4 span, h4 a{font-size:14px;line-height:18px;}

	.blog article.blog-post a div.blog-caption h2.blog-post-title,
	section#blog-home .grid a .caption h1 {
		line-height: 36px;
		margin-bottom: 22px;
	}

	.blog article.blog-post a div.blog-caption h2.blog-post-title,
	section#blog-home .grid a .caption h1 strong {
		font-size: 32px;
		line-height: 34px;
	}
	
	.blog article.blog-post a div.blog-caption .readmore,
	section#blog-home .grid a .caption .readmore {
		padding: 15px 0;
	}

	/*#header-wrapper { padding: 0 3%;}*/
		/*sub menu*/
		/*header nav#primary-nav ul li ul.sub-menu, header nav#primary-nav ul li ul.children{ width: 100% display:block;}*/

	/*tablet*/
	/*.is_tablet #header-inner{margin-bottom: 20px;}
	.is_tablet #header-inner{width: 170px;}
	.is_tablet header nav#primary-nav ul.mobile-navigation{text-align: left;}
	.is_tablet header nav#primary-nav ul.mobile-navigation li a{padding: 8px 0;}
	.is_tablet header nav#primary-nav ul.mobile-navigation li ul.sub-menu li a, .is_tablet header nav#primary-nav ul.mobile-navigation li ul.children li a{padding-left:15px;}
	.is_tablet #header-inner .mobile-menu-toggle {border-top:1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6;margin-top:0;margin-bottom: 20px;}
	.is_tablet header nav#primary-nav ul.mobile-navigation{border-bottom: 1px solid #e6e6e6;margin-bottom: 20px;}
	.is_tablet header nav#primary-nav ul.mobile-navigation li:first-child.current-menu-item,.is_tablet header nav#primary-nav ul.mobile-navigation li:first-child.current_page_item {margin-top: 0px;}
	.is_tablet header nav#primary-nav .menu ul li ul.sub-menu,.is_tablet header nav#primary-nav .menu ul li ul.children{display: block !important;}

	
	/*homepage
	----------------------------*/
	#content-wrapper section.latest-posts-grid #content-inner-blog-grid article.blog-post{margin-bottom: 50px;}
	#content-wrapper section.latest-posts-grid #content-inner-blog-grid article.blog-post:last-child{margin-bottom:0;}

	/*portfolio index grid
	----------------------------*/
	/*.portfolio-fixed-width-grid #grid{width:646px !important;}
	.portfolio-fixed-width-grid #grid .thumb{width:209px !important;height:143px !important; margin-bottom: 5px;}
	.portfolio-full-width-grid #grid .thumb{width: 33.333%;height:auto;}*/

	/*portfolio
	----------------------------*/
	.featured-media-container{max-width:640px;height:auto !important; overflow:inherit!important;}

	/*blog
	----------------------------*/
	/*blog layout:grid*/
	.blog-post-grid-content{max-width:295px;}
	.blog-post-grid-content .blog-post-featured-media{width:295px; height:auto; float: none;}
	.blog-post-grid-content .blog-post-featured-media .thumb{width:295px;}
	section#comments ol.comment-list li ul.children li {width: 375px;}
	section#comments ol.comment-list li ul.children ul.children{margin-left:0;}
	section#comments ol.comment-list li.depth-1>div,ol.comment-list li ul.children li{padding:15px !important;}
	section#comments ol.comment-list li ul.children{margin-left:40px !important;}
	section#comments ol.comment-list li.comment .commentary {padding-left: 85px !important;}
	
	/*blog layout:regular*/
	.content-inner-left{width:50%; margin: 20px 0 0 0; }
	.content-inner-right{width:50%;}
	.single aside.sidebar, aside.sidebar{width:50% !important;}
	.blog-post-content .blog-post-featured-media{max-width:100%; height:auto; float:left;margin-bottom:0px; overflow:hidden;position:relative;}
	/*.blog .blog-post-content .blog-post-featured-media{max-width:none; height:100%; float:left;margin: 0 !important;}*/
	.blog-post-content .blog-post-featured-media .thumb{max-width:100%;}
	.blog-post-content .video{/*width:415px !important;height:233px !important;*/}
	section#blog-post-comments ol.comment-list li ul.children li{width:100%;}
	.sticky .blog-post-content .blog-post-featured-media,.sticky .blog-post-content .blog-post-featured-media .thumb{width:365px;}
	.sticky .blog-post-content .blog-post-featured-media .video,.sticky .blog-post-content .blog-post-featured-media .flexslider{width: 365px !important;height:auto;}

	/*form elements
	----------------------------*/	
	textarea {width:415px;}

	/*media
	----------------------------*/
	.display-image{max-width:640px;height:auto !important;}
	.display-image .impact.bottom-left h2 { margin-top: 100px; }
	.banner .display-image{max-width:none;}
	.banner .display-image .impact p { padding-left: 55px; padding-right: 55px;	}

	.home .portfolio-full-width-grid #grid .thumb.primary { margin-bottom: 7px; }
	.blog article.blog-post,
	.home section.masonry-grid .grid .thumb,
	.home .portfolio-full-width-grid #grid .thumb { margin-bottom: 7px; }
	.home section.masonry-grid .grid .thumb.secondary,
	.home .portfolio-full-width-grid #grid .thumb.secondary { margin-bottom: 7px; }
	
	/*video*/
	.video{ /*max-width:640px !important; height:auto;*/ }
	.featured-media-container.full-width-video-wrapper .video{max-width:100% !important;}
	
	/*thumbs*/
	.thumb{/*max-width:640px !important;*/height:auto;}

	/*wp native gallery*/
	.gallery-columns-8 .gallery-item{ width: 25% !important;}
	.gallery-columns-3 .gallery-item,.gallery-columns-5 .gallery-item,.gallery-columns-6 .gallery-item,.gallery-columns-7 .gallery-item,.gallery-columns-9 .gallery-item{ width: 33.3% !important;}
	.gallery br{display:none;}
	
	/*flexslider*/
	.flexslider{max-width: 640px;height: auto !important;}

	header #logo { margin-top: 0px;}

	#grid .rhalf-row, #grid .half-row { padding: 0 3px 6px !important; }
	#grid .rhalf-row .thumb, #grid .half-row .thumb { height: 402px;  }

	.banner_sq, .banner_sq.last { margin-bottom: 6px !important; }
	.banner_sq .image-holder {padding: 0 3px 6px 0;}
	.banner_sq.last .image-holder {padding: 0 0 6px 3px;}

	.single .blog-post-featured-media {
		/*padding: 0 3%;*/
		width: auto;	
	}

	.blog-post-content .blog-post-featured-media{ height:220px; /*float:left;margin-bottom:0px; overflow:hidden;position:relative;*/}
	.blog .blog-post-content .blog-post-featured-media{max-width:none; }
	/*.blog article.blog-post { width: 25%; height: 400px;}*/

	/* footer */
	#footer-wrapper #footer-top footer .row-footer-widget img { width: 20%; }

	#content-wrapper .blog-filter,
	#content-wrapper .portfolio-filter-wrapper { margin-top: 10px !important;	} 

}

@media only screen and (min-width: 960px)  {

	/*header
	----------------------------*/
	header .mobile-menu-toggle{display:none !important;}
	header .mobile-menu-toggle{display:none !important;}
	header .mobile-nav{display:none !important;}
	header ul.navigation{display:table !important;}
	
	/*portfolio
	----------------------------*/
	#content-wrapper section.pages #grid-folio .thumb{width:286px !important;height:196px !important;}

	/*.home #header-wrapper {
	    position: relative !important;
	}*/

	

}

@media only screen and (max-width: 959px)  {
	.single .blog-post-featured-media { margin-top: 20px !important; }
}

@media only screen and (max-width: 961px)  {

	/*.home .portfolio-full-width-grid #grid .thumb .caption { display: block;}*/

	body.admin-bar #header-wrapper {
		top:0px;
	}

	header nav#primary-nav {
		position: fixed;
		height: 100%;
		width: 100% !important;
		top: 0;
		left: 0;
		z-index: 999;
		/*opacity: 0;*/
		/*-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";*/
		background: rgba(0,0,0,.85);
		margin: 0;
		/*display: table !important;*/
		display: none;
	}

	header nav#primary-nav > div {
		display: table-cell !important;
		vertical-align: middle !important;
		text-align: center;
	}

	header nav#primary-nav ul {
		width: 100%;
	}

	header nav#primary-nav ul > li {
		display: block;
		margin-right: 0;
	}

	header nav#primary-nav ul > li a {
		font-size:24px !important; 
		line-height: 24px;
		font-weight: 700;
		color: #fff;
		padding: 10px 0;
	}

	header nav#primary-nav ul > li.current-menu-item a,
	header nav#primary-nav ul > li a:hover {
		color: #00ffe0 !important;
	}

	a#menu-closer {
		display: block;
	}

	header .mobile-menu-toggle, header hr.on { display:block !important; }
	#related-post .rp4wp-related-post-content a { min-height: 35px}
}

@media only screen and (max-width: 1024px)  {

	#content-wrapper section.portfolio-full-width-grid { margin-bottom: 20px; width: auto;}
	#footer-wrapper #footer-top #footer-top-inner-wrapper { padding-top: 0; margin-bottom: 0; }
	#footer-wrapper #footer-middle #footer-middle-inner-wrapper { margin-top: 30px;}

}

/*Mobile Layout: Tablet Portrait

-----------------------------------------------*/
@media only screen and (max-width: 1023px) { 
	#related-post {
		margin-left:-3%;
		margin-right:-3%;
		padding-left: 3%;
		padding-right: 3%;
	}

	.service-wrapper {
		width: 48.42%;
	}

	.service-wrapper:first-child {
		margin-left: 0; 
	}

	.service-wrapper:nth-child(odd) {
		margin-left: 0
	}

	.service-wrapper:nth-child(even) {
		margin-right: 0;
	}

	.service-wrapper:nth-child(3n) {
		margin-right: 1.42%; 
	}

}

@media only screen and (min-width: 768px) and (max-width: 959px) {

	/*common
	----------------------------*/
	/*#content-wrapper .portfolio-filter-wrapper,*/
	#content-wrapper #folio-navigation,
	#header-wrapper #header-inner,
	#header-wrapper .header-widget-wrapper,
	/*#section-title,*/
	#content-wrapper section.homepage,
	/*.sub-section-title,*/
	.portfolio-full-width-grid .sub-section-title,
	.portfolio-button,
	.portfolio-full-width-grid .portfolio-button,
	#content-wrapper section.latest-posts-grid,
	#content-wrapper section.latest-posts-grid,
	#content-wrapper section.portfolio-fixed-width-grid,
	#content-wrapper section.portfolio,
	#folio-navigation,
	#content-wrapper section.pages,
	#footer-wrapper #footer-top #footer-top-inner-wrapper, 
	#footer-wrapper #footer-middle #footer-middle-inner-wrapper, 
	#footer-wrapper #footer-bottom{max-width:100%; padding: 0 3%; width: auto; }

	.page-template-page-services-php #content-wrapper section.pages, .blog #content-wrapper section.pages{ max-width:100%;}
	/*.blog #section-title { max-width: 100%; padding: 0 10px;}*/
	/*.blog article .blog-post-title { margin: 10px 0 25px 0 !important;  }*/
	

	.single .blog-post-featured-media {
		/*padding: 0 3%;*/
		width: auto;	
	}

	#content-wrapper section.homepage {
		padding-top: 30px;
	}

	#grid .rhalf-row, #grid .half-row { padding: 0 3px 6px !important; }
	#grid .rhalf-row .thumb, #grid .half-row .thumb { height: 350px; }

	.banner_sq, .banner_sq.last { margin-bottom: 6px !important; }
	.banner_sq .image-holder {padding: 0 3px 6px 0;}
	.banner_sq.last .image-holder {padding: 0 0 6px 3px;}
	/*#grid .element a .caption {  display: block !important;}*/

	.homepage #content-wrapper section.pages {  padding: 0; }
	/*.blog #header-wrapper #header-inner{ max-width:none; height:145px; border:none !important; padding: 0 10px; width: auto; display: block;}*/

	/*.blog article.blog-post div.blog-caption {  padding: 30px 20px; width: 160px; height:140px; }
	.blog article.blog-post div.blog-caption.top-left { top: 0px; left: 0px; } 
	.blog article.blog-post div.blog-caption.top-right { top: 0px; right: 0px; } 
	.blog article.blog-post div.blog-caption.bottom-right { bottom: 0px; right: 0px; } 
	.blog article.blog-post div.blog-caption.bottom-left { bottom: 0px; left: 0px; } */

	article.blog-post.column_one_fourth { width: 48% !important; }

	/*.blog article.blog-post div.blog-caption h2.blog-post-title { margin-bottom: 40px; line-height: 40px}
	.blog article.blog-post div.blog-caption h2.blog-post-title a { font-size: 30px;}
	.blog article.blog-post div.blog-caption h2.blog-post-title p { font-size: 12px; }*/
	
	.page-template-page-services-php article.service-post {width: 50%;}
	.page-template-page-services-php article.service-post div.service-caption {  position: absolute; background-color: #eeeeee; color: #fff; padding: 0; width: 160px; height:160px; overflow: hidden;}
	.page-template-page-services-php article.service-post div.service-caption h2.service-post-title { margin: 100px 0 0 20px; line-height: 20px}

	/*header
	----------------------------*/
	#header-wrapper {position:relative !important; height: 100px !important; }
	#header-wrapper #header-inner {height:auto;overflow:hidden;margin: 0 auto;padding-top: 0px;}
	#header-wrapper .header-widget-wrapper,#header-wrapper ul.connect{display: block;}
	#header-wrapper ul.connect li{float: none;}
	#header-wrapper .header-widget-box{max-width: 100%;}
	#header-wrapper .header-widget-wrapper{margin: 0 auto;}
	#header-wrapper .header-widget-wrapper.last-wrapper ul li:last-child{border: none;padding-bottom: 0;}

	.home #header-wrapper #header-inner { margin-bottom: 0px; width: auto; }

	/*Toggle Button*/
	#header-wrapper .mobile-widget-box-toggle-wrapper{display: block;}
	#header-wrapper .header-widget-box{position: absolute; top: 0px; left: 0px; width: 100%; overflow: hidden; height: 45px; -webkit-box-sizing: border-box;-moz-box-sizing: border-box; box-sizing: border-box;}
	#header-wrapper .header-widget-box .header-outer-widget-wrapper{float:left;padding: 25px 0 45px 0;}
	
	header #logo {margin:0;float:left;}

	/*menu*//*
	header nav#primary-nav { float:left; display: block; width: 100%; }
	header nav#primary-nav ul{text-align: left;margin-top:0px;display:none;}
	header nav#primary-nav ul li{position:static; width: 100%; display: inline-block; margin:  0 0 15px 0; text-align: left;}
	header nav#primary-nav ul li a { display: block; float: none; width: 100%; border-top: none; padding-left: 12px !important; border-left: 7px solid #fff;}

	header nav#primary-nav ul li a:hover { border-top: none; border-left: 7px solid #000; }
	
		/*sub menu*//*
		header nav#primary-nav .menu li ul.sub-menu, header nav#primary-nav .menu ul li ul.children{margin-top:0;display: block !important;position: inherit;top: auto;white-space: normal;width: 100%;z-index: auto; margin-left: 20px; border: none;}
		header nav#primary-nav .menu li:last-child ul.sub-menu,header nav#primary-nav .menu ul li:last-child ul.children{border-bottom:none;padding-bottom:0;}
		header nav#primary-nav .menu li ul.sub-menu li,header nav#primary-nav .menu ul li ul.children li{float:none;position:auto;z-index:auto;padding:0;width:100%;line-height:15px;}

		/*header nav#primary-nav ul.mobile-navigation li ul.sub-menu { background: #ff0000; }*/
	
	/*content
	----------------------------*/
	#content-wrapper, #content-wrapper.full-width-grid-wrapper {margin-left: 0; padding-top: 0; }
	#content-wrapper.has_post_thumbnail { /*padding-top: 35px !important;*/ }

	#content-wrapper section.pages{margin:auto;}

	/*homepage
	----------------------------*/
	.epic-slider{height: 520px !important;}
	#content-wrapper section.homepage{margin: auto;}
	#content-wrapper section.latest-posts-grid{margin:0 auto;}
	#content-wrapper section.latest-posts-below-content{margin:50px auto 0 auto;}
	#content-wrapper section.latest-posts-grid #content-inner-blog-grid article.blog-post{margin-bottom: 50px;}
	#content-wrapper section.latest-posts-grid #content-inner-blog-grid article.blog-post:last-child{margin-bottom: 0;}
	.portfolio-full-width-grid .sub-section-title{margin: 20px auto 50px auto;}
	.portfolio-full-width-grid .portfolio-button{margin: 50px auto 0 auto;}

	/*portfolio index grid
	----------------------------*/
	.portfolio-fixed-width-grid #grid{width:646px!important;}
	.portfolio-fixed-width-grid #grid .thumb{width:209px !important;height:143px !important; margin-bottom: 5px;}

	/*portfolio filter*/
	#content-wrapper .blog-filter,
	.portfolio-filter-wrapper{text-align: left;}
	
	/*portfolio
	----------------------------*/
	.featured-media-container{max-width:640px;height:auto !important;}
	.featured-media-container.full-width-video-wrapper{height: auto !important;}
	#content-wrapper section.slider-full-width #section-title{margin: 0 auto 50px auto;}
	#content-wrapper section.pages #grid-folio{width:646px !important;}
	#content-wrapper section.pages #grid-folio .thumb{width:209px !important;height:143px !important;}
	#content-wrapper section.portfolio-fixed-width-grid,#content-wrapper section.portfolio{margin: auto;}
	#folio-navigation{margin: auto;}
	
	/*blog
	----------------------------*/
	/*blog layout:grid*/
	.blog-post-grid-content{max-width:295px;}
	.blog-post-grid-content .blog-post-featured-media{width:295px; height:auto; float: none;}
	.blog-post-grid-content .blog-post-featured-media .thumb{width:295px;}
	section#comments ol.comment-list li ul.children li {width: 375px;}
	section#comments ol.comment-list li ul.children ul.children{margin-left:0;}
	section#comments ol.comment-list li.depth-1>div,ol.comment-list li ul.children li{padding:15px !important;}
	section#comments ol.comment-list li ul.children{margin-left:40px !important;}
	section#comments ol.comment-list li.comment .commentary {padding-left: 85px !important;}

	.home .portfolio-full-width-grid #grid .thumb.primary { margin-bottom: 5px;  }
	.blog article.blog-post,
	.home section.masonry-grid .grid .thumb,
	.home .portfolio-full-width-grid #grid .thumb { margin-bottom: 5px;  }
	.home section.masonry-grid .grid .thumb.secondary,
	.home .portfolio-full-width-grid #grid .thumb.secondary { margin-bottom: 5px;  }
	
	/*blog layout:regular*/
	.content-inner-left{width:50%; margin: 30px 0 0 0;}
	.content-inner-right{width:50%;}
	.single .content-inner-left{margin-top: 0;}
	.single aside.sidebar, aside.sidebar{width:50% !important;}
	.blog-post-content .blog-post-featured-media{}
	.blog .blog-post-content .blog-post-featured-media{ }
	.blog-post-content .blog-post-featured-media .thumb{}
	.blog-post-content .video{ /*width:415px !important;height:233px !important;*/}
	section#blog-post-comments ol.comment-list li ul.children li{width:100%;}
	.sticky .blog-post-content .blog-post-featured-media,.sticky .blog-post-content .blog-post-featured-media .thumb{width:365px;}
	.sticky .blog-post-content .blog-post-featured-media .video,.sticky .blog-post-content .blog-post-featured-media .flexslider{width: 365px !important;height:auto;}
	
	.blog-post-content .blog-post-featured-media{ height:340px; }
	.blog .blog-post-content .blog-post-featured-media{max-width:none; }
	
	/*.blog article.blog-post { width: 50%; height: 500px;}*/

	/*form elements
	----------------------------*/	
	textarea {width:415px;}

	/*footer
	----------------------------*/
	#footer-wrapper {margin-left: 0; padding: 0; }
	#footer-wrapper #footer-bottom ul.connect li {display: inline-block;}
	#footer-wrapper #footer-top,#footer-wrapper #footer-bottom {margin:auto;}
	
	/*media
	----------------------------*/
	.display-image{max-width:640px;height:auto !important;}
	.banner .display-image{max-width:none;}
	.banner .display-image .impact p { padding-left: 55px; padding-right: 55px;	}
	.banner .display-image .impact.bottom-left h2 {    margin-top: 70px; }
	
	/*video*/
	.video{ /*max-width:640px !important; height:auto;*/}
	.featured-media-container.full-width-video-wrapper .video{width:100% !important; max-width:100% !important;}
	
	/*thumbs*/
	.thumb{/*max-width:640px !important;*/height:auto;}
	
	/*wp native gallery*/
	.gallery-columns-8 .gallery-item{ width: 25% !important;}
	.gallery-columns-3 .gallery-item,.gallery-columns-5 .gallery-item,.gallery-columns-6 .gallery-item,.gallery-columns-7 .gallery-item,.gallery-columns-9 .gallery-item{ width: 33.3% !important;}
	.gallery br{display:none;}
	
	/*flexslider*/
	.flexslider{max-width: 640px;height: auto !important;}

	/*shortcodes
	----------------------------*/
	/*accordions and tabs*/
	.accordion div.video, .accordion div.video .featured_flowplayer,
	.tabs div.video, .tabs div.video .featured_flowplayer {clear:both; width:100% !important; height:340px !important; }
	div.video video, div.video iframe, div.video object, div.video embed, div.video div { width:100%; height:100% !important; max-width:100% !important; max-height:100% !important; }

	#grid .one-row { width: 50% !important; display: block;}
	#grid .two-rows { width: 50% !important; display: block;}
	#grid .three-rows { width: 100% !important; display: block;}
	#grid .four-rows { width: 100% !important; display: block;}

	.portfolio-full-width-grid #grid .thumb.primary{ height:350px; }
	.portfolio-full-width-grid #grid .thumb.secondary { height: 145px;}

	.single .blog-post-featured-media {
		padding: 0 3%;
		width: auto;	
	}

	.single-post .blog-post-featured-media {
		padding: 0;
	}

	/* footer */
	#footer-wrapper #footer-top footer .row-footer-widget img { width: 20%; }

	h1, h1 span, h1 a, h1 strong em{font-size:45px;line-height:55px;}
	h2, h2 span, h2 a{font-size:32px;line-height:36px;}
	h4, h4 span, h4 a{font-size:14px;line-height:18px;}

	#content-wrapper .blog-filter,
	#content-wrapper .portfolio-filter-wrapper { margin-top: 10px !important;	} 

	.blog article.blog-post a div.blog-caption h2.blog-post-title,
	section#blog-home .grid a .caption h1 {
		line-height: 32px;
		margin-bottom: 18px;
	}

	.blog article.blog-post a div.blog-caption h2.blog-post-title,
	section#blog-home .grid a .caption h1 strong {
		font-size: 28px;
		line-height: 30px;
	}

	.blog article.blog-post a div.blog-caption .readmore,
	section#blog-home .grid a .caption .readmore {
		padding: 12px 0;
	}
}

@media only screen and (max-width: 768px) {
	
	/* responsive tabs */
	.tabs .tabs_nav, .tabs .tabs_nav li { width:100%; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;}
	
	/* responsive pricing tables */
	.pricing_table .pricing_table_col,
	.pricing_table.pricing_table_two_cols .pricing_table_col,
	.pricing_table.pricing_table_three_cols .pricing_table_col,
	.pricing_table.pricing_table_four_cols .pricing_table_col,
	.pricing_table.pricing_table_five_cols .pricing_table_col {
		clear:both;
		width:100%;
		border-radius:3px;
		margin-bottom:16px;
	}

	.pricing_table .pricing_table_col:last-child {
		margin-bottom:0;
	}

	.portfolio-full-width-grid #grid .thumb.primary{ height:250px; }
	.portfolio-full-width-grid #grid .thumb.secondary { height: 100px;}

	#header-wrapper #header-inner .column_one_half { width: 80%; margin-right: 0%; }
	#header-wrapper #header-inner .column_one_half.last { margin-right: 0; }
	#content-wrapper section.portfolio-below-content, #content-wrapper section.latest-posts-below-content { margin-bottom: 0px; }
	/*#footer-wrapper #footer-middle #footer-middle-inner-wrapper { padding-top: 10px; }*/
	#footer-wrapper #footer-middle .latest-posts-grid h2 { min-height: 0; }

	.banner_full, .banner_one_half_middle, .banner_one_half { width: 100%; }
	.banner_full img, .banner_one_half_middle img, .banner_one_half img {  padding-right: 0; padding-left: 0; }

	/* related post */
	/*#related-post .rp4wp-related-posts ul>li{ float: left; display:block; width: 100%; margin-right: 0; }*/


	#footer-wrapper #footer-middle {
		display: none;
	}

	h2 { margin-bottom: 20px; }

	h1, h1 span, h1 a, h1 strong em {font-size:45px;line-height:55px;}
	h2, h2 span, h2 a{font-size:38px;line-height:42px;}
	h4, h4 span, h4 a{font-size:14px;line-height:18px;}
	
	blog article.blog-post div.blog-caption h2.blog-post-title { line-height: 19px; font-size: 15px; min-height:0;}
	.blog article.blog-post div.blog-caption h2.blog-post-title p { font-size: 14px; }

	.single .blog-post-featured-media { margin-bottom: 0px; }
	.single-post #section-title h1 { font-size: 50px; line-height: 56px;}
	.single .blog-post-content h2 { font-size: 45px; line-height: 49px}
	.single .blog-post-content h3 { font-size: 19px; line-height: 25px;}
	.single-post .blog-post-meta { margin-bottom: 25px;}

	.social-blog {
		position: relative;
		left: 0;		
		bottom: 0;
		width: 100%;
		text-align: left;
		display: block;
		height: auto;
		padding:0;
		margin-bottom: 20px;
	}

	.social-blog h3 {
		display: inline-block;
		margin-right: 10px;
	}

	.social-blog .addthis_toolbox {
		display: inline-block;
	}

	.social-blog a {
		width: auto;
		display: inline-block;
		margin: 0 10px; 
	}

}

/*Mobile Layout: Landscape

-----------------------------------------------*/
@media only screen and (min-width: 480px) and (max-width: 767px) {

	/*common
	----------------------------*/
	/*#content-wrapper .portfolio-filter-wrapper,*/
	#content-wrapper #folio-navigation,
	#header-wrapper #header-inner,
	#header-wrapper .header-widget-wrapper,
	/*#section-title,*/
	.portfolio-full-width-grid .sub-section-title,
	#content-wrapper section.homepage,
	/*.sub-section-title,*/
	.portfolio-button,
	.portfolio-full-width-grid .portfolio-button,
	#content-wrapper section.latest-posts-grid,
	#content-wrapper section.latest-posts-grid,
	#content-wrapper section.portfolio-fixed-width-grid,
	#content-wrapper section.portfolio,
	.featured-media-container.full-width-video-wrapper .video,
	#folio-navigation,
	#content-wrapper section.pages,
	#footer-wrapper #footer-top, 
	#footer-wrapper #footer-middle,
	#footer-wrapper #footer-bottom{max-width:100%; padding: 0 3%;  width: auto; }

	.center-block { width: 100%;}
	#header-wrapper { height: 100px;}

	#content-wrapper .blog-filter,
	#content-wrapper .portfolio-filter-wrapper,
	#footer-middle-inner-wrapper .sub-section-title,
	.homepage #content-wrapper section.pages { padding: 0;}

	#content-wrapper section.portfolio-full-width-grid { padding: 0 3%; }

	/*#content-wrapper section.portfolio-full-width-grid { padding: 0 3%; }*/

	#grid .rhalf-row, #grid .half-row { width: 100% !important; }
	#grid .rhalf-row, #grid .half-row { padding: 0 0 2px !important; }
	#grid .rhalf-row .thumb, #grid .half-row .thumb { height: 580px;  }
	#grid .element a .caption { /*display: block !important;*/ }


	#section-title,
	/*.page-template-page-services-php #content-wrapper section.pages,*/ .blog #content-wrapper section.pages{ max-width:100%; padding: 0px}
	/*.blog #header-wrapper #header-inner{max-width: none; height:145px; border:none !important; padding: 0 10px; width: auto; display: block;}*/

	/*.blog article.blog-post div.blog-caption {  padding: 20px; width: 150px; height:135px; }*/
	/*.blog article.blog-post div.blog-caption.top-left { top: 0px; left: 0px; } 
	.blog article.blog-post div.blog-caption.top-right { top: 0px; right: 0px; } 
	.blog article.blog-post div.blog-caption.bottom-right { bottom: 0px; right: 0px; } 
	.blog article.blog-post div.blog-caption.bottom-left { bottom: 0px; left: 0px; } */

	blog .grid-sizer,
	.blog article.blog-post {width: 48%; padding-bottom: 76%; }
	blog .gutter-sizer { width: 2%;}

	.blog article.blog-post div.blog-caption h2.blog-post-title { margin-bottom: 10px !important; line-height: 20px; font-size: 16px; min-height:0;}
	.blog article.blog-post div.blog-caption h2.blog-post-title a { font-size: 24px;}
	.blog article.blog-post div.blog-caption h2.blog-post-title p { font-size: 12px; }

	#related-post .rp4wp-related-posts ul > li { width: 48%; padding-bottom: 80%; margin: 0 2% 10px 0; }
	#related-post .rp4wp-related-posts ul > li:nth-child(2n+0) { margin-right: 0% }
	#related-post .rp4wp-related-posts h3 { line-height: 20px; font-size: 16px; }
	#related-post .rp4wp-related-posts ul > li > p { font-size: 12px; } 
	#related-post .rp4wp-related-post-image { margin-bottom: 15px;}

	.page-template-page-services-php article.service-post {width: 50%;}
	.page-template-page-services-php article.service-post div.service-caption {  position: absolute; background-color: #eeeeee; color: #fff; padding: 0; width: 150px; height:150px; overflow: hidden;}
	.page-template-page-services-php article.service-post div.service-caption h2.service-post-title { margin: 100px 0 0 20px; line-height: 20px}


	/*header
	----------------------------*/
	#header-wrapper{max-width:100%;position:inherit !important; height: 100px !important;}
	#header-wrapper #header-inner {height:auto;overflow:hidden;margin: 0 auto; }
	.home #header-wrapper {margin-bottom: 0px; }
	#header-wrapper .header-widget-wrapper,#header-wrapper ul.connect{display: block;}
	#header-wrapper ul.connect li{float: none;}
	#header-wrapper .header-widget-box{max-width: 100%;}
	#header-wrapper .header-widget-wrapper{margin: 0 auto;}
	#header-wrapper .header-widget-wrapper.last-wrapper ul li:last-child{border: none;padding-bottom: 0;}

	/*Toggle Button*/
	#header-wrapper .mobile-widget-box-toggle-wrapper{display: block;}
	#header-wrapper .header-widget-box{position: absolute; top: 0px; left: 0px; width: 100%; overflow: hidden; height: 45px; -webkit-box-sizing: border-box;-moz-box-sizing: border-box; box-sizing: border-box;}
	#header-wrapper .header-widget-box .header-outer-widget-wrapper{float:left;padding: 25px 0 45px 0;}

	header #logo {margin: 0; float:left;}
	header .mobile-menu-toggle, header hr.on {display:block;}

	/*menu*/
	/*header nav#primary-nav ul{text-align: center;margin-top:0px; display:none;}
	header nav#primary-nav ul li{position:static; width: 100%;}
	header nav#primary-nav ul li a { width: 100%; text-align: left; border-top: none; padding-left: 12px !important; border-left: 7px solid #fff}
	
	header nav#primary-nav ul li a:hover { border-top: none; border-left: 7px solid #000; }*/

	
		/*sub menu*//*
		header nav#primary-nav ul.menu li ul.sub-menu, header nav#primary-nav .menu ul li ul.children{border:none !important; color: #ccc;margin-top:0;display: block !important;position: inherit;top: auto;white-space: normal;width: 100%;z-index: auto;}
		header nav#primary-nav ul.menu li:last-child ul.sub-menu,header nav#primary-nav .menu ul li:last-child ul.children{border-bottom:none;padding-bottom:0;}
			header nav#primary-nav ul.menu li ul.sub-menu li,header nav#primary-nav .menu ul li ul.children li{float:none;position:auto;z-index:auto;padding:0;width:100%;line-height:15px;}*/
	
	/*content
	----------------------------*/
	#content-wrapper{margin-left: 0;padding-bottom: 0; padding-top: 0; }
	#content-wrapper.has_post_thumbnail { /*padding-top: 35px;*/ }
	#content-wrapper section.pages{margin:auto;}

	/*homepage
	----------------------------*/
	.epic-slider{height: 300px !important;}
	#content-wrapper section.homepage{margin: auto;}
	#content-wrapper section.latest-posts-grid{margin:0 auto;}
	#content-wrapper section.latest-posts-below-content{margin:50px auto 0 auto;http://project.makemebelieve.com/mmb2015/wordpress/?udt_portfolio=concept}
	#content-wrapper section.latest-posts-grid #content-inner-blog-grid article.blog-post{margin-bottom: 50px;}
	#content-wrapper section.latest-posts-grid #content-inner-blog-grid article.blog-post:last-child{margin-bottom:0;}
	.portfolio-full-width-grid .sub-section-title{margin: 20px auto 50px auto;}
	.portfolio-full-width-grid .portfolio-button{margin: 50px auto 0 auto;}

	/*portfolio index grid
	----------------------------*/
	.portfolio-fixed-width-grid #grid { width:423px!important; margin-left: -3px; margin-top: 1px;}
	.portfolio-fixed-width-grid #grid .thumb{ width:138px !important; height:94px !important; margin-bottom: 3px; margin-left: 3px;}

	/*portfolio filter*/
	#content-wrapper .blog-filter,
	.portfolio-filter-wrapper{text-align: left;padding-top:16px;}
	#content-wrapper .blog-filter,
	.portfolio-filter-wrapper a{margin-bottom: 6px;}
	
	/*portfolio
	----------------------------*/
	.featured-media-container{max-width:420px;height:auto !important; overflow:inherit!important;}
	.featured-media-container.full-width-video-wrapper{height: auto !important;}
	.featured-media-container.full-width-video-wrapper .video{margin: auto;}
	.featured-media-container .full-width-featured-image{height: 300px;}
	.featured-media-container .column-featured-half,.featured-media-container .column-featured-half.featured-info{width:100%;}
	#content-wrapper.portfolio-project .full-width-video-wrapper{margin-top: 0;}
	#content-wrapper section.slider-full-width #section-title{margin: 0 auto 50px auto;}
	#content-wrapper section.pages #grid-folio{width:426px !important;}
	#content-wrapper section.pages #grid-folio .thumb{width:207px !important;height:142px !important;}
	#content-wrapper section.portfolio-fixed-width-grid,#content-wrapper section.portfolio{margin: auto;}
	#folio-navigation{margin: auto;}
	.epic-slider.fullscreen{height: 100%;}
	
	/*blog
	----------------------------*/
	/*blog layout:grid*/
	/*.blog-post-grid-content{max-width:420px;}*/
	.blog-post-grid-content .blog-post-featured-media{width:420px; height:auto;}
	.blog-post-grid-content .blog-post-featured-media .thumb{width:420px;}
	.blog-pagination,.blog-post-navigation{border-bottom:1px solid #e2e2e2; padding-bottom:20px; overflow:hidden;}

	
	/*blog layout:regular*/
	.content-inner-left{width:100%; margin: 30px 0 0 0; }
	.content-inner-right{width:100%;}
	.single .blog-post-featured-media { margin-top: 20px; }
	.single aside.sidebar , aside.sidebar{width:100% !important;margin-top: 20px;padding-top: 20px;border-top:1px solid #e6e6e6;}
	.single aside.blog-sidebar { border: none;}
	.blog-post-content .blog-post-featured-media{width:100%	; height:auto; float:left;margin-bottom:20px; overflow:hidden;position:relative; margin-right: 0 !important; }
	.blog .blog-post-content .blog-post-featured-media{ /*height:320px;*/ }
	.blog-post-content .blog-post-featured-media .thumb{width:50%;}
	.blog-post-content .video{/*width:415px !important;height:236px !important;*/}
	.blog-post-content .blog-post-title { margin-bottom: 20px !important; padding-left: 0 !important; padding-right: 0 !important;}
	.blog .blog-post-content p { padding-left: 0 !important; padding-right: 0 !important;}
	section#comments ol.comment-list li ul.children {margin-left:0;width:100%;}
	section#comments ol.comment-list li ul.children li{width: 100%;}
	section#comments ol.comment-list li ul.children li:after {position:absolute;content:''; top:-10px; left:0; width: 0px; height: 0px; border-top:0;border-right:10px solid transparent;border-bottom:10px solid #fff;border-left:0;border-style: inset;}
	section#comments ol.comment-list li ul.children li,#commentform ul, #commentform ul li,#commentform ul, #commentform ul li textarea {width: 100% !important;}
	.sticky .blog-post-content .blog-post-featured-media,.sticky .blog-post-content .blog-post-featured-media .thumb,.sticky .blog-post-content .blog-post-featured-media .video,.sticky .blog-post-content .blog-post-featured-media .flexslider{width:370px !important;}

	/*.blog article { width: 50% !important;}*/

	/*pagination*/
	.blog-pagination,.blog-post-navigation{border-bottom:1px solid #e2e2e2; padding-bottom:50px; overflow:hidden;}
	.pagination{float:left;width:100%;}
	#content-inner-blog-grid .pagination{float:left;width:100%;margin-bottom: 0;}
	
	/*form elements
	----------------------------*/	
	input[type=text].text-field,input[type=email].text-field,textarea{width:100%;}
	
	/*footer
	---------------------------*/
	#footer-wrapper {margin: 50px 0 0 0;}
	#footer-wrapper #footer-top footer .row-footer-widget.last{margin-bottom:0 !important;}
	#footer-wrapper #footer-bottom ul.connect li {display: inline-block;}
	#footer-wrapper #footer-top, #footer-wrapper #footer-bottom {margin:auto;}
	
	/*media
	----------------------------*/
	.display-image{max-width:420px;height:auto !important;}
	.banner .display-image{max-width:none;}
	.banner .display-image .impact p { padding-left: 55px; padding-right: 55px;	}
	.banner .display-image .impact.bottom-left h2 { margin-top: 50px; color: #79796A !important;}

	/*captions*/
	.caption,.centered-caption-wrapper,.caption-table{position: relative; overflow: hidden;height: auto;}
	.caption,.caption-table{position: relative; overflow: hidden;}
	.caption{ /*width:100% !important; position:relative; height:auto; background:#333; border:1px solid #e6e6e6; padding:20px !important; height:auto !important; top:auto !important; left:auto !important; bottom:auto !important; right:auto !important; text-align:left !important; float:none !important; margin: 0 !important;*/}
	.display-image .caption .size-1,.display-image .caption .size-2,.display-image .caption .size-3,.display-image .caption .size-4,.display-image .caption .size-5,.display-image .caption .size-6{width:100%;color: #000;background:none; margin:0; float: none !important;font-size: 18px;line-height: 16px;border:none;padding: 0;}
	.display-image .caption p,.display-image .divider, .display-image .divider.thin, .display-image .divider.thick{background:none;color:#999;padding:0;border:none;font:12px/19px Arial, Helvetica, sans-serif !important; }
	.display-image .divider{display: none;}
	.display-image img { width: 100% !important; }

	/*video*/	
	.video{ /*width:420px !important; height:236px !important;*/ }

	/*thumbs*/
	.thumb{max-width:100% !important; height:auto;}
	
	/*wp native gallery*/
	.gallery .gallery-item{display: block;}
	.gallery-columns-4 .gallery-item,.gallery-columns-6 .gallery-item,.gallery-columns-8 .gallery-item{width: 50% !important;}
	.gallery-columns-5 .gallery-item,.gallery-columns-7 .gallery-item,.gallery-columns-9 .gallery-item{width: 33.333% !important;}
	.gallery .gallery-caption{display:none;position: relative; bottom: auto;background:#333;color:#999;font:12px/19px Arial, Helvetica, sans-serif !important; text-align: left;padding: 20px;}
	.gallery br{display:none;}

	/*epic slider - theme specific*/
	.epic-slider .errorMsg{color: #EF644E !important;display: block;margin-top: 90px;text-align: center;}

	/*flexslider*/
	.flexslider{max-width: 420px;height: auto !important;}
	.flex-caption{left:82px;bottom:20px;}

	/*shortcodes
	----------------------------*/
	/*cols*/
	article.blog-post.column_one_fourth, .column_one_half, .column_one_fifth, .column_one_third, .column_one_fourth, .column_two_thirds, .column_three_fourths{width:100%; margin-right:0px;margin-left:0px; margin-bottom: 20px;}
	.column_one_fifth_nogap {width:50%; margin-right:0px;margin-left:0px;}

	#footer-wrapper #footer-top footer .row-footer-widget{margin-bottom:50px;}
	
	/*accordions and tabs*/
	.accordion div.video, .accordion div.video .featured_flowplayer,
	.tabs div.video, .tabs div.video .featured_flowplayer {  clear:both; width:380px !important; height:215px !important; }
	div.video video, div.video iframe, div.video object, div.video embed, div.video div { width:100%; height:100% !important; max-width:100% !important; max-height:100% !important; }
	.accordion .column_one_half, .accordion .column_one_third, .accordion .column_one_fourth, .accordion .column_two_thirds, .accordion .column_three_fourths,
	.tabs .column_one_half, .tabs .column_one_third, .tabs .column_one_fourth, .tabs .column_two_thirds, .tabs .column_three_fourths { width:380px !important; margin-right:0 !important; }
	.pricing_table .pricing_table_col.featured{margin-top:0;}

	blockquote { width:100% !important; margin-right:0 !important; }
	blockquote.quote-overlay-big{padding:0 !important;}
	blockquote.quote-boxed-border {width:373px !important;}
	.accordion blockquote, .tabs blockquote { width:380px !important; margin-right:0 !important; }
	
	/*typo
	----------------------------*/
	#section-title h1, #section-title, #section-title h1 span, #section-title span{font-size:36px;line-height:42px;}
	.single-udt_portfolio #section-title h1 { width: 100%;}
	#teaser{font-size:20px;line-height: 24px;}
	
	h1, h1 span, h1 a{font-size:35px;line-height:37px;}
	h2, h2 span, h2 a{font-size:35px;line-height:36px;}
	h3, h3 span, h3 a{font-size:30px;line-height:29px;}
	h4, h4 span, h4 a{font-size:25px;line-height:25px;}
	h5, h5 span, h5 a{font-size:20px;line-height:20px;}
	h6, h6 span, h6 a{font-size:18px;line-height:19px;}

	.blog article.blog-post a div.blog-caption h2.blog-post-title,
	section#blog-home .grid a .caption h1 {
		line-height: 20px;
		margin-bottom: 18px;
	}

	.blog article.blog-post a div.blog-caption h2.blog-post-title,
	section#blog-home .grid a .caption h1 strong {
		font-size: 20px;
		line-height: 20px;
	}

	.blog article.blog-post a div.blog-caption .readmore,
	section#blog-home .grid a .caption .readmore {
		padding: 10px 0;
	}

	/*.footer-widget h2,
	#footer-wrapper #footer-middle .latest-posts-grid h2 { line-height: 37px; font-size: 37px; }*/

	footer h2 { margin-bottom: 20px; }

	#footer-wrapper #footer-bottom .menu-footer-social-container a,
	#footer-wrapper #footer-bottom h2 a { /*font-size:35px;line-height:36px;*/ word-break: break-all;}

	/*misc
	----------------------------*/
	.last{margin-bottom:25px !important;}	
	.banner_full,
	.banner_one_half_middle,
	.banner_one_half { margin-bottom: 0 !important; }
	.banner_full.last img, .banner_one_half.last img, .banner_one_half_middle.last img { padding-left: 0 !important; padding-right: 0 !important; }

	#grid .one-row { width: 100% !important; display: block;}
	#grid .two-rows { width: 100% !important; display: block;}
	#grid .three-rows { width: 100% !important; display: block;}
	#grid .four-rows { width: 100% !important; display: block;}

	.single .blog-post-featured-media {
		padding-top: 0;
		width: auto;	
	}

	/* footer */
	#footer-wrapper #footer-top footer .row-footer-widget img { width: 50%; }

	h1 strong{font-size:40px;line-height:50px;}
	h2 strong{ font-size: 35px; }
	h1, h1 span, h1 a, h1 strong em {font-size:45px;line-height:55px;}
	h2, h2 span, h2 a{font-size:38px;line-height:42px;}
	h4, h4 span, h4 a{font-size:14px;line-height:18px;}

	.single .blog-post-content h2 { font-size:38px;line-height:42px; }

}

@media only screen and (max-width: 767px) { 
	.divider40 { margin-top: 20px;}
	.title-portfolio {
		text-align: center;
		margin-bottom: 10px; 
	}

	#content-wrapper .blog-filter,
	#content-wrapper .portfolio-filter-wrapper {
		margin: 0;
		text-align: center;
		width: 100%;
	}

	#content-wrapper .blog-filter,
	#content-wrapper .portfolio-filter-wrapper .filter-menu { width: 100%; }
	#content-wrapper .blog-filter,
	#content-wrapper .portfolio-filter-wrapper .filter-menu a:first-child { margin-left: 0;}
	.single-udt_portfolio #section-title { padding-bottom: 0px !important; margin-bottom: 0px; }

	section.banner_text.arch-red h4 {
	    font-size: 25px !important;
    	line-height: 31px !important;
	}

	/* services */
	.service-wrapper {
		width: 100%;
		margin-left: 0 !important;
		margin-right: 0 !important;
		max-width: 100%;
	}
}

@media only screen and (min-width: 621px) and (max-width: 767px) {

	.banner_sq, .banner_sq.last { margin-bottom: 6px !important; }
	.banner_sq .image-holder {padding: 0 3px 6px 0;}
	.banner_sq.last .image-holder {padding: 0 0 6px 3px;}
}

@media only screen and (min-width: 600px) and (max-width: 767px) {
	.home .portfolio-full-width-grid #grid .thumb.primary { margin-bottom: 3px; }
	.blog article.blog-post,
	.home section.masonry-grid .grid .thumb,
	.home .portfolio-full-width-grid #grid .thumb { margin-bottom: 3px; }
	.home section.masonry-grid .grid .thumb.secondary,
	.home .portfolio-full-width-grid #grid .thumb.secondary { margin-bottom: 3px; }
}


@media only screen and (min-width: 480px) and (max-width: 620px) {

	/*.home .portfolio-full-width-grid #grid .thumb.primary { height: 171px; padding: 0 0 2px 0 !important; }
	.home .portfolio-full-width-grid #grid .thumb { height: 238px; padding: 0 1px 2px 0px !important; }
	.home .portfolio-full-width-grid #grid .thumb.secondary { height: 118px; padding: 0 0 2px 1px !important;  }*/

	.banner_sq { margin-bottom: 2px !important; }
	.banner_sq .image-holder {padding: 0 1px 2px 0;}
	.banner_sq.last .image-holder {padding: 0 0 2px 1px;}

	.single-post #section-title h1 { font-size: 40px; line-height: 46px;}
	.single .blog-post-content h2 { font-size: 35px; line-height: 39px}
	.single .blog-post-content h3 { font-size: 16px; line-height: 20px;}
}

/*Mobile Layout: Portrait

-----------------------------------------------*/

@media only screen and (max-width: 479px){

	/*common
	----------------------------*/
	/*#content-wrapper .portfolio-filter-wrapper,*/
	#content-wrapper #folio-navigation,
	#header-wrapper #header-inner,
	#header-wrapper .header-widget-wrapper,
	/*#section-title,*/
	#content-wrapper section.homepage,
	/*.sub-section-title,*/
	.portfolio-button,
	.portfolio-full-width-grid .portfolio-button,
	#content-wrapper section.latest-posts-grid,
	#content-wrapper section.latest-posts-grid,
	#content-wrapper section.portfolio-fixed-width-grid,
	#content-wrapper section.portfolio,
	.featured-media-container.full-width-video-wrapper .video,
	#folio-navigation,
	#content-wrapper section.pages,
	#footer-wrapper #footer-top, 
	#footer-wrapper #footer-middle,
	#footer-wrapper #footer-bottom{max-width:100%; padding: 0 5%; width: auto;}

	.center-block { width: 100%;}

	#header-wrapper {
		height: 100px !important;
	}

	#footer-wrapper #footer-middle,
	#footer-wrapper #footer-top { width: auto; }
	.pages #section-title, .portfolio-full-width-grid .sub-section-title,
	#content-wrapper .blog-filter,
	#content-wrapper .portfolio-filter-wrapper,
	.homepage #content-wrapper section.pages { padding: 0;}

	#content-wrapper section.portfolio-full-width-grid {padding: 0; }
	#content-wrapper.has_post_thumbnail { /*padding-top: 20px;*/ }

	#grid .rhalf-row, #grid .half-row { padding: 0 0 2px !important; }
	#grid .rhalf-row .thumb, #grid .half-row .thumb { height: 450px;  }
	#grid .rhalf-row, #grid .half-row { width: 100% !important; }
	#grid .element a .caption {  /*display: block !important;*/ }

	.page-template-page-services-php article.service-post {width: 100%;}
	.page-template-page-services-php article.service-post div.service-caption {  position: absolute; background-color: #eeeeee; color: #fff; padding: 0; width: 140px; height:140px; overflow: hidden;}
	.page-template-page-services-php article.service-post div.service-caption h2.service-post-title { margin: 80px 0 0 20px; line-height: 20px}

	/*.blog #header-wrapper #header-inner{ max-width: none;  height:145px; border:none !important; padding: 0 10px; width: auto; display: block;}*/
	.blog #content-wrapper section.pages{ max-width:100%; padding: 0px;}
	.blog #section-title { max-width:100%; padding: 10px;}
	/*.blog .blog-post-content .blog-post-title { margin-bottom: 20px !important; padding-left: 0 !important; padding-right: 0 !important;}*/
	.blog .blog-post-content p { padding-left: 0 !important; padding-right: 0 !important;}
	
	blog .grid-sizer,
	.blog article.blog-post {width: 100%; padding-bottom: 155%; margin-bottom: 15px;}
	blog .gutter-sizer { width: 0%;}

	.blog .blog-post-content .blog-post-featured-media { margin-bottom: 10px;}

	.blog article.blog-post div.blog-caption {  padding: 0; width: auto; height:auto; }
	/*.blog article.blog-post div.blog-caption.top-left { top: 0px; left: 0px; } 
	.blog article.blog-post div.blog-caption.top-right { top: 0px; right: 0px; } */
	.blog article.blog-post div.blog-caption.bottom-right { bottom: 0px; right: 0px; } 
	.blog article.blog-post div.blog-caption.bottom-left { bottom: 0px; left: 0px; } 
	.blog article.blog-post div.blog-caption h2.blog-post-title { margin-bottom: 10px; line-height: 26px; min-height: 0;}
	.blog article.blog-post div.blog-caption h2.blog-post-title a { font-size: 22px;}
	.blog article.blog-post div.blog-caption h2.blog-post-title p { font-size: 9px; }


	#related-post .rp4wp-related-posts ul > li { width: 100%; padding-bottom: 151%; margin-bottom: 15px; }
	#related-post .rp4wp-related-posts h3 { line-height: 18px; font-size: 14px; }
	#related-post .rp4wp-related-posts ul > li > p { font-size: 10px; } 
	#related-post .rp4wp-related-post-image { margin-bottom: 10px;}
	
	.single .blog-post-featured-media { margin-top: 20px; }

	#header-wrapper {  padding: 0; }
	.home #header-wrapper {margin-bottom: 0px; }
	/*header
	----------------------------*/
	#header-wrapper{width:100%;position:relative !important; padding-left: 0;}
	#header-wrapper #header-inner {height:auto;overflow:hidden;margin: 0 auto;padding-top: 0px; padding: 0 10px;}
	#header-wrapper .header-widget-wrapper,#header-wrapper ul.connect{display: block;}
	#header-wrapper ul.connect li{float: none;}
	#header-wrapper .header-widget-box{max-width: 100%;}
	#header-wrapper .header-widget-wrapper{margin: 0 auto;}
	#header-wrapper .header-widget-wrapper.last-wrapper ul li:last-child{border: none;padding-bottom: 0;}

	/*Toggle Button*/
	#header-wrapper .mobile-widget-box-toggle-wrapper{display: block;}
	#header-wrapper .header-widget-box{position: absolute; top: 0px; left: 0px; width: 100%; overflow: hidden; height: 45px; -webkit-box-sizing: border-box;-moz-box-sizing: border-box; box-sizing: border-box;}
	#header-wrapper .header-widget-box .header-outer-widget-wrapper{float:left;padding: 25px 0 45px 0;}

	header #logo {margin: 0; float:left;}
	header .mobile-menu-toggle, header hr.on{display:block;}
	
	/*menu*/
	/*header nav#primary-nav ul{text-align: center;margin-top:0px;display:none;}
	header nav#primary-nav ul li {position:static; width: 100%;}
	header nav#primary-nav ul li a{ width: 100%; text-align: left; border-top: none; padding-left: 12px !important; border-left: 7px solid #fff; }

	header nav#primary-nav ul li a:hover { border-top: none; border-left: 7px solid #000; }
	
		/*sub menu*//*
		header nav#primary-nav ul.menu li ul.sub-menu,header nav#primary-nav .menu ul li ul.children{border: none !important; color: #ccc;margin-top:0;display: block !important;position: inherit;top: auto;white-space: normal;width: 100%;z-index: auto;}
		header nav#primary-nav ul.menu li:last-child ul.sub-menu,header nav#primary-nav .menu ul li:last-child ul.children{border-bottom:none;padding-bottom:0;}
		header nav#primary-nav ul.menu li ul.sub-menu li,header nav#primary-nav .menu ul li ul.children li{float:none;position:auto;z-index:auto;padding:0;width:100%;line-height:15px;}

	/*content
	----------------------------*/
	#content-wrapper{margin-left: 0;padding-bottom: 0; padding-top: 0;}
	#content-wrapper section.pages{margin:auto;}

	/*homepage
	----------------------------*/
	.epic-slider{height: 300px !important;}
	#content-wrapper section.homepage{margin: auto;}
	#content-wrapper section.latest-posts-grid{margin:0 auto;}
	#content-wrapper section.latest-posts-below-content{margin:50px auto 0 auto;}
	#content-wrapper section.latest-posts-grid #content-inner-blog-grid article.blog-post{margin-bottom: 50px;}
	#content-wrapper section.latest-posts-grid #content-inner-blog-grid article.blog-post:last-child{margin-bottom:0;}
	.portfolio-full-width-grid .sub-section-title{margin: 20px auto 50px auto;}
	.portfolio-full-width-grid .portfolio-button{margin: 50px auto 0 auto;}

	
	
	/*portfolio index grid
	----------------------------*/
	.portfolio-fixed-width-grid #grid{width:290px!important; margin-left:0 !important;}
	.portfolio-fixed-width-grid #grid .thumb{width:290px !important;height:199px !important; margin-bottom: 4px;margin: 0 0 6px 0;}
	

	/*portfolio
	----------------------------*/
	.featured-media-container{max-width:290px;height:auto !important; overflow:inherit!important;}
	.featured-media-container.full-width-video-wrapper{height: auto !important;}
	.featured-media-container.full-width-video-wrapper .video{margin: auto;}
	.featured-media-container .full-width-featured-image{height: 300px;}
	.featured-media-container .column-featured-half,.featured-media-container .column-featured-half.featured-info{width:100%;}
	.featured-media-container .column-featured-half{width:100%;}
	#content-wrapper.portfolio-project .full-width-video-wrapper{margin-top: 0;}
	#content-wrapper section.slider-full-width #section-title{margin: 0 auto 50px auto;}
	#content-wrapper section.pages #grid-folio{width:290px !important; margin-left:0 !important;}
	#content-wrapper section.pages #grid-folio .thumb{width:290px !important;height:199px !important; margin:0 0 6px 0;}
	#content-wrapper section.portfolio-fixed-width-grid,#content-wrapper section.portfolio{margin: auto;}
	#folio-navigation{margin: auto;}
	.epic-slider.fullscreen{height: 100%;}

	/*portfolio filter*/
	#content-wrapper .blog-filter,
	.portfolio-filter-wrapper{text-align: left; padding-top:16px;}
	#content-wrapper .blog-filter,
	.portfolio-filter-wrapper a{margin-bottom: 6px;}
	
	/*blog
	----------------------------*/
	
	/*blog layout:grid*/
	.blog-post-grid-content{max-width:290px;}
	.blog-post-grid-content .blog-post-featured-media{width:290px; height:auto;}
	.blog-post-grid-content .blog-post-featured-media .thumb{width:290px;}
	
	/*blog layout:regular*/
	.content-inner-left{width:100%; margin: 30px 0 0 0;}
	.content-inner-right{width:100%;}
	.single .blog-post-featured-media { margin-top: 20px; }
	.single aside.sidebar, aside.sidebar{width:100% !important;margin-top: 50px;padding-top: 50px;border-top:1px solid #e6e6e6;}
	.blog-post-content .blog-post-featured-media{width:100%; height:auto; float:left;margin-bottom:20px; margin-right: 0 !important; overflow:hidden;position:relative;}
	.blog .blog-post-content .blog-post-featured-media{ /*height:400px;*/ }
	.blog-post-content .blog-post-featured-media .thumb{width:100%;}
	.blog .blog-post-content p { padding-left:0 !important; padding-right:0 !important;}
	.blog-post-content .video{ /*width:290px !important;height:163px !important;*/}
	section#comments ol.comment-list li ul.children{margin-left:0; width: 100%;}
	section#comments ol.comment-list li ul.children li{width: 100%;}
	section#comments ol.comment-list li ul.children li:after {position:absolute;content:''; top:-10px; left:0; width: 0px; height: 0px;border-top:0;border-right:10px solid transparent;border-bottom:10px solid #fff;border-left:0; border-style: inset;}
	section#comments ol.comment-list li ul.children li,#commentform ul, #commentform ul li,#commentform ul, #commentform ul li textarea {width: 100% !important;}
	.sticky .blog-post-content .blog-post-featured-media,.sticky .blog-post-content .blog-post-featured-media .thumb{width:240px;}
	.sticky .blog-post-content .blog-post-featured-media,.sticky .blog-post-content .blog-post-featured-media .thumb,.sticky .blog-post-content .blog-post-featured-media .video,.sticky .blog-post-content .blog-post-featured-media .flexslider{width:240px !important;}

	/*pagination*/
	.blog-pagination,.blog-post-navigation{border-bottom:1px solid #e2e2e2; padding-bottom:50px; overflow:hidden;}
	.pagination{float:left;width:100%;}
	#content-inner-blog-grid .pagination{float:left;width:100%;margin-bottom: 0;}

	/*form elements
	----------------------------*/
	input[type=text].text-field,input[type=email].text-field,textarea{width:100%;}
	
	/*footer
	---------------------------*/
	#footer-wrapper {margin: 50px 0 0 0;}
	#footer-wrapper #footer-top footer .row-footer-widget.last{margin-bottom:0 !important;}
	#footer-wrapper #footer-bottom ul.connect li {display: inline-block;}
	#footer-wrapper #footer-top,#footer-wrapper #footer-bottom {margin:auto;}
	
	/*media
	----------------------------*/
	.display-image{max-width:290px;height:auto !important;}
	.banner .display-image{max-width:none;}
	.banner .display-image .impact p { padding-left: 55px; padding-right: 55px;	}
	.banner .display-image .impact.bottom-left h2 { margin-top: 50px; color: #79796A !important;}

	/*captions*/
	.caption,.centered-caption-wrapper,.caption-table{position: relative; overflow: hidden;height: auto;}
	/*.caption{width:100% !important;position:relative;height:auto;background:#333; border:1px solid #e6e6e6; padding:20px  !important; height:auto !important;top:auto !important;left:auto !important;bottom:auto !important;right:auto !important; text-align:left !important; float:none !important;margin: 0 !important;}*/
	.display-image .caption .size-1,.display-image .caption .size-2,.display-image .caption .size-3,.display-image .caption .size-4,.display-image .caption .size-5,.display-image .caption .size-6{width:100%;color: #000;background:none; margin:0; float: none !important;font-size: 18px;line-height: 16px;border:none;padding: 0;}
	.display-image .caption p,.display-image .divider, .display-image .divider.thin, .display-image .divider.thick{background:none;color:#999;padding:0;border:none;font:12px/19px Arial, Helvetica, sans-serif !important; }
	.display-image .divider{display: none;}
	.display-image img { width: 100% !important; }
	
	/*video*/	
	.video{/*width:290px !important;height:163px !important;*/}
	
	/*thumbs*/
	.thumb{max-width:100% !important;height:auto;}
	
	/*wp native gallery*/
	.gallery .gallery-item{display: block;}
	.gallery-columns-4 .gallery-item,.gallery-columns-5 .gallery-item,.gallery-columns-6 .gallery-item,.gallery-columns-8 .gallery-item{width:50% !important;}
	.gallery-columns-3 .gallery-item,.gallery-columns-7 .gallery-item,.gallery-columns-9 .gallery-item{width: 33.333% !important;}
	.gallery .gallery-caption{display:none;position: relative; bottom: auto;background:#333;color:#999;font:12px/19px Arial, Helvetica, sans-serif !important; text-align: left;padding: 20px;}
	.gallery br{display:none;}

	/*epic slider - theme specific*/
	.epic-slider .errorMsg{color: #EF644E !important;display: block;margin-top: 90px;text-align: center;}

	/*flexslider*/
	.flexslider{max-width: 290px;height: auto !important;}
	.flex-caption{left:82px;bottom:20px; font-size: 12px;}
	
	/*shortcodes
	----------------------------*/
	/*cols*/
	article.blog-post.column_one_fourth, .column_one_half,.column_one_fifth_nogap,  .column_one_fifth, .column_one_third,.column_one_fourth,.column_two_thirds, .column_three_fourths{width:100%; margin-right:0px;margin-left:0px; margin-bottom: 25px}
	#footer-wrapper #footer-top footer .row-footer-widget{margin-bottom:50px;}
		
	/*accordions and tabs*/
	.accordion div.video, .accordion div.video .featured_flowplayer,
	.tabs div.video, .tabs div.video .featured_flowplayer  { clear:both; width:250px !important; height:140px !important; }
	div.video video, div.video iframe, div.video object, div.video embed, div.video div { width:100%; height:100% !important; max-width:100% !important; max-height:100% !important; }
	.accordion .column_one_half, .accordion .column_one_third, .accordion .column_one_fourth, .accordion .column_two_thirds, .accordion .column_three_fourths,
	.tabs .column_one_half, .tabs .column_one_third, .tabs .column_one_fourth, .tabs .column_two_thirds, .tabs .column_three_fourths { width:250px !important; margin-right:0 !important; }
	.pricing_table .pricing_table_col.featured{margin-top:0;}
	blockquote { width:100% !important; margin-right:0 !important; }
	blockquote.quote-overlay-big{padding:0 !important;}
	blockquote.quote-boxed-border {width:243px !important;}
	blockquote.quote-single-border {width:250px !important;}
	.accordion blockquote, .tabs blockquote { width:250px !important; margin-right:0 !important; }

	/*typo
	----------------------------*/
	#section-title h1, #section-title, #section-title h1 span, #section-title span {font-size:36px;line-height:47px;}
	#teaser{font-size:18px;line-height: 22px;}
	/*h1, h1 span, h1 a{font-size:35px;line-height:37px;}
	h2, h2 span, h2 a{font-size:35px;line-height:33px;}
	h3, h3 span, h3 a{font-size:30px;line-height:29px;}
	h4, h4 span, h4 a{font-size:25px;line-height:25px;}
	h5, h5 span, h5 a{font-size:20px;line-height:20px;}
	h6, h6 span, h6 a{font-size:18px;line-height:19px;}

	.footer-widget h2,*/
	#footer-wrapper #footer-middle .latest-posts-grid h2,
	#footer-wrapper #footer-bottom .menu-footer-social-container a,
	#footer-wrapper #footer-bottom h2 a { /*font-size:35px;line-height:37px;*/ word-break: break-all;}

	/*misc
	----------------------------*/
	.last{margin-bottom:25px !important;}

	.banner_full img, .banner_one_half img, .banner_one_half_middle img {  padding-left: 0 !important; padding-right: 0 !important; }
	.banner_full, .banner_one_half, .banner_one_half_middle { margin-bottom: 0 !important;}

	#grid .one-row { width: 100% !important; display: block;}
	#grid .two-rows { width: 100% !important; display: block;}
	#grid .three-rows { width: 100% !important; display: block;}
	#grid .four-rows { width: 100% !important; display: block;}

	.element .caption span { margin-top: 0px;  text-align: center; }

	.single .blog-post-featured-media {
		/*padding: 0 3%;*/
		padding-top: 0;
		width: auto;	
	}

	/* footer */
	#footer-wrapper #footer-top footer .row-footer-widget img { width: 50%; }
	.column_one_fifth_nogap	{width:50%; margin-right:0px;margin-left:0px;}

	.single-udt_portfolio #section-title h1 { width: 100%;}
	h1 strong{font-size:30px;line-height:40px;}
	h2 strong { font-size: 30px; }
	h1, h1 span, h1 a, h1 strong em{font-size:40px;line-height:50px;}
	h2, h2 span, h2 a{font-size:30px;line-height:34px;}
	h4, h4 span, h4 a{font-size:14px;line-height:18px;}

	.blog article.blog-post a div.blog-caption h2.blog-post-title,
	section#blog-home .grid a .caption h1 {
		line-height: 18px;
		margin-bottom: 16px;
	}

	.blog article.blog-post a div.blog-caption h2.blog-post-title,
	section#blog-home .grid a .caption h1 strong {
		font-size: 18px;
		line-height: 15px;
	}

	.blog article.blog-post a div.blog-caption .readmore,
	section#blog-home .grid a .caption .readmore {
		padding: 8px 0;
	}

	.single-post #section-title h1 { font-size: 30px; line-height: 34px;}
	.single .blog-post-content h2 { font-size: 25px; line-height: 29px}
	.single .blog-post-content h3 { font-size: 18px; line-height: 24px;}
	.blog-post-content p { font-size: 18px; line-height: 26px;}

	#related-post {
	    margin-left: -6%;
	    margin-right: -6%;
	    padding-left: 6%;
	    padding-right: 6%;
	}
}

@media only screen and (max-width: 450px) {
	/*.blog article.blog-post div.blog-caption {  
		position: absolute; background-color: #222222;
  		-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
	  	filter: alpha(opacity=70);
	  	-moz-opacity: 0.7;
	  	-khtml-opacity: 0.7;
	 	 opacity: 0.7; 
	 	 color: #fff; padding: 30px 20px; width: 175px; height:155px; overflow: hidden;}

	/*.blog article.blog-post div.blog-caption.top-left,
	.blog article.blog-post div.blog-caption.top-right,
	.blog article.blog-post div.blog-caption.bottom-right, 
	.blog article.blog-post div.blog-caption.bottom-left { top: 0px; left: 0px; }*/
	#footer-wrapper #footer-bottom h2 a { word-break: break-all;}
}

@media only screen and (max-width: 380px) {
	.blog article.blog-post {width: 100%; min-width: 0; min-height: 0;}
	/* footer */
	#footer-wrapper #footer-top footer .row-footer-widget img { width: 50%; }

	#grid .rhalf-row, #grid .half-row { padding: 0 1px 2px !important; }
	#grid .rhalf-row .thumb, #grid .half-row .thumb { height: 150px;  }
	#grid .element a .caption {  /*display: block !important;*/ }

	.banner_sq, .banner_sq.last { margin-bottom: 2px !important; }
	.banner_sq .image-holder {padding: 0 1px 2px 0;}
	.banner_sq.last .image-holder {padding: 0 0 2px 1px;}

	#header-wrapper {
		height: 80px !important;
	}

	header .mobile-menu-toggle {
		margin-top: 5px;
	}

	#related-post .rp4wp-related-posts ul > li { width: 100%; padding-bottom: 160%; margin-bottom: 10px; }
}

@media screen and (max-width: 600px) {
	html #wpadminbar {
	    top: -46px;
	}
}

@media screen and (max-width: 599px) {
	
	.home .portfolio-full-width-grid #grid .thumb.primary { width: 100% !important; margin: 0 0 12px 0 ;}
	.blog article.blog-post,
	.home section.masonry-grid .grid .thumb,
	.home .portfolio-full-width-grid #grid .thumb { width: 100% !important; margin: 0 0 12px 0;}
	.blog article.blog-post,
	.home section.masonry-grid .grid .thumb.secondary,
	.home .portfolio-full-width-grid #grid .thumb.secondary { width: 100% !important; margin: 0 0 12px 0; padding: 0 0 55.32% 0 !important;}

	.section-blog { 
		height: auto;
		max-height: 100%;
	}

		
}