/*------------------------------------------------------

	Theme Name: Everest
	Type: Responsive framework
	Author: UDTHEMES
	Author URI: http://udthemes.com

------------------------------------------------------*/

/*Desktop Layout+

-----------------------------------------------*/

@media only screen and (min-width: 1199px)  {

	/*header
	----------------------------*/
	#header-wrapper #header-inner header .mobileMenuToggle{display:none;}
	#header-wrapper #header-inner header .mobile-nav{display:none;}
	#header-wrapper #header-inner header ul.navigation{display:table;}
	
	/*portfolio
	----------------------------*/
	#content-wrapper section.pages #grid-folio .thumb{width:286px !important;height:196px !important;}

}

@media only screen and (min-width: 960px) and (max-width: 1199px) {

	/*header
	----------------------------*/
	#header-wrapper #header-inner header .mobileMenuToggle{display:none;}
	#header-wrapper #header-inner header .mobile-nav{display:none;}
	#header-wrapper #header-inner header ul.navigation{display:table;}
	
	/*portfolio
	----------------------------*/
	#content-wrapper section.pages #grid-folio .thumb{width:286px !important;height:196px !important;}

}

@media only screen and (max-width: 768px) {
	
	/* responsive tabs */
	.tabs .tabs_nav, .tabs .tabs_nav li { width:100%; }
	
	/* 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;
	}
}

/*Mobile Layout: Landscape Container width:768px

-----------------------------------------------*/

@media only screen and (min-width: 768px) and (max-width: 959px) {

	/*structural
	----------------------------*/
	#header-wrapper{position:relative;}
	#content-wrapper{padding:50px 0 50px 0;}
	#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,.portfolio-filter-wrapper,#content-wrapper section.pages,#footer-wrapper #footer-top, #footer-wrapper #footer-bottom footer{max-width:640px;}

	/*header
	----------------------------*/
	#header-wrapper #header-inner {height:auto;overflow:hidden;}
	header #logo {margin:auto;float:none;}
	.mobileMenuToggle{display:block;border-top:1px solid #eee; margin: 0 auto 0;padding: 15px 0;}
	#primary-nav{height: auto;}
	#primary-nav ul li{position:static;}
	#primary-nav{display: none;}
	#primary-nav.mobile-nav{display: block;}
	
	/*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
	----------------------------*/
	.featured-media-container{max-width:640px;height:360px !important;}
	#content-wrapper section.pages #grid-folio{width:646px !important;}
	#content-wrapper section.pages #grid-folio .thumb{width:209px !important;height:143px !important;}
	#folio-navigation{max-width:640px;}
	
	/*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 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:415px;}
	.content-inner-right{width:415px;}
	aside.sidebar{width:180px !important;}
	.blog-post-content .blog-post-featured-media{width:420px; height:auto; float:left;margin-bottom:30px; overflow:hidden;position:relative;}
	.blog-post-content .blog-post-featured-media .thumb{width:415px;}
	.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;}

	/*footer
	----------------------------*/
	#footer-wrapper #footer-bottom #footer-bottom-inner-wrapper{width:640px;}
	#footer-wrapper #footer-bottom ul.connect li {display: inline-block;}
	
	/*media
	----------------------------*/
	.display-image{max-width:640px;height:auto !important;}
	
	/*video*/
	.video,.video.fullwidth{ max-width:640px !important; height:auto; }
	
	/*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; }

}

/*Mobile Layout: Landscape Container width:480px

-----------------------------------------------*/
@media only screen and (min-width: 480px) and (max-width: 767px) {

	/*structural
	----------------------------*/
	#header-wrapper{position:relative;}
	#content-wrapper{padding:50px 0 0 0;}
	#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,.portfolio-filter-wrapper,#content-wrapper section.pages,#footer-wrapper #footer-top, #footer-wrapper #footer-bottom footer{max-width:420px;}
	
	/*header
	----------------------------*/
	#header-wrapper #header-inner {height:auto;overflow:hidden;}
	header #logo {margin:auto;float:none;}
	.mobileMenuToggle{display:block;border-top:1px solid #eee; margin: 0 auto 0;padding: 15px 0;}
	#primary-nav{height: auto;}
	#primary-nav ul li{position:static;}
	#primary-nav{display: none;}
	#primary-nav.mobile-nav{display: block;}

	/*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:423px!important; margin-left: -3px; }
	.portfolio-fixed-width-grid #grid .thumb{ width:138px !important; height:94px !important; margin-bottom: 3px; margin-left: 3px;}
	.portfolio-full-width-grid #grid .thumb{width: 50%;height:auto;}

	/*portfolio filter*/
	.portfolio-filter-wrapper a{margin-bottom: 10px;}
	
	/*portfolio
	----------------------------*/
	.featured-media-container{max-width:420px;height:auto !important; overflow:inherit!important;}
	.featured-media-container .column-featured-half,.featured-media-container .column-featured-half.featured-info{width:100%;}
	#content-wrapper section.pages #grid-folio{width:426px !important;}
	#content-wrapper section.pages #grid-folio .thumb{width:207px !important;height:142px !important;}
	#folio-navigation{max-width:420px;}
	.epic-slider{height:300px;}
	.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%;}
	.content-inner-right{width:100%;}
	aside.sidebar{width:100% !important;margin-top: 50px;padding-top: 50px;border-top:1px solid #e6e6e6;}
	.blog-post-content .blog-post-featured-media{width:420px; height:auto; float:left;margin-bottom:30px; overflow:hidden;position:relative;}
	.blog-post-content .blog-post-featured-media .thumb{width:100%;}
	.blog-post-content .video{width:415px !important;height:236px !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,#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;}

	/*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-top: 50px;}
	#footer-wrapper #footer-top footer .column-footer-widget.last{margin-bottom:0 !important;}
	#footer-wrapper #footer-bottom #footer-bottom-inner-wrapper{width:420px;}
	#footer-wrapper #footer-bottom ul.connect li {display: inline-block;}
	
	/*media
	----------------------------*/
	.display-image{max-width:420px;height:auto !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;}

	/*video*/	
	.video,.video.fullwidth{ width:420px !important; height:236px !important; }
	
	/*thumbs*/
	.thumb{max-width:420px !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*/
	.column_one_half, .column_one_third,.column_one_fourth,.column_two_thirds, .column_three_fourths{width:100%; margin-right:0px;margin-left:0px;}
	#footer-wrapper #footer-top footer .column-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:60px;line-height:55px;}
	#teaser{font-size:20px;line-height: 24px;}
	h1, h1 span{font-size:40px;line-height:37px;}
	h2, h2 span{font-size:35px;line-height:33px;}
	h3, h3 span{font-size:30px;line-height:29px;}
	h4, h4 span{font-size:25px;line-height:25px;}
	h5, h5 span{font-size:20px;line-height:20px;}
	h6, h6 span{font-size:18px;line-height:19px;}

	/*misc
	----------------------------*/
	.last{margin-bottom:50px !important;}	

}

/*Mobile Layout: Portrait Container width:320px

-----------------------------------------------*/

@media only screen and (max-width: 479px){

	/*structural
	----------------------------*/
	#header-wrapper{position:relative;}
	#content-wrapper{padding:50px 0 0 0;}
	#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,.portfolio-filter-wrapper,#content-wrapper section.pages,#footer-wrapper #footer-top, #footer-wrapper #footer-bottom footer{max-width:290px;}
	
	/*header
	----------------------------*/
	#header-wrapper #header-inner {height:auto;overflow:hidden;}
	header #logo {margin:auto;float:none;}
	.mobileMenuToggle{display:block;border-top:1px solid #eee; margin: 0 auto 0;padding: 15px 0;}
	#primary-nav{height: auto;}
	#primary-nav ul li{position:static;}
	#primary-nav{display: none;}
	#primary-nav.mobile-nav{display: block;}

	/*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: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-full-width-grid #grid .thumb{width: 50%;height:auto;}

	/*portfolio
	----------------------------*/
	.featured-media-container{max-width:290px;height:auto !important; overflow:inherit!important;}
	.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 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;}
	#folio-navigation{max-width:290px;}
	.epic-slider{height:300px;}
	.epic-slider.fullscreen{height: 100%;}

	/*portfolio filter*/
	.portfolio-filter-wrapper a{margin-bottom: 10px;}
	
	/*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%;}
	.content-inner-right{width:100%;}
	aside.sidebar{width:100% !important;margin-top: 50px;padding-top: 50px;border-top:1px solid #e6e6e6;}
	.blog-post-content .blog-post-featured-media{width:290px; height:auto; float:left;margin-bottom:30px; overflow:hidden;position:relative;}
	.blog-post-content .blog-post-featured-media .thumb{width:100%;}
	.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,#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-top: 50px;}
	#footer-wrapper #footer-top footer .column-footer-widget.last{margin-bottom:0 !important;}
	#footer-wrapper #footer-bottom #footer-bottom-inner-wrapper{width:290px;}
	#footer-wrapper #footer-bottom ul.connect li {display: inline-block;}
	
	/*media
	----------------------------*/
	.display-image{max-width:290px;height:auto !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;}
	
	/*video*/	
	.video,.video.fullwidth{width:290px !important;height:163px !important;}
	
	/*thumbs*/
	.thumb{max-width:290px !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*/
	.column_one_half, .column_one_third,.column_one_fourth,.column_two_thirds, .column_three_fourths{width:100%; margin-right:0px;margin-left:0px;}
	#footer-wrapper #footer-top footer .column-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:50px;line-height:47px;}
	#teaser{font-size:18px;line-height: 22px;}
	h1, h1 span{font-size:40px;line-height:37px;}
	h2, h2 span{font-size:35px;line-height:33px;}
	h3, h3 span{font-size:30px;line-height:29px;}
	h4, h4 span{font-size:25px;line-height:25px;}
	h5, h5 span{font-size:20px;line-height:20px;}
	h6, h6 span{font-size:18px;line-height:19px;}

	/*misc
	----------------------------*/
	.last{margin-bottom:50px !important;}	

}