/**
 * The stylesheet for displaying on mobile device.
 *
 * @package tower
 * @author  ThemeLead
 * @link	http://www.lunartheme.com
 */
@media only screen and (max-width: 1280px), (min-width: 992px) {
	/* isotope shortcode */
	.k2t-shortcode-isotope.column-md-2 article {
		width: 50%;
	}
	.k2t-shortcode-isotope.column-md-3 article {
		width: 33.3333%;
	}
	.k2t-shortcode-isotope.column-md-4 article {
		width: 25%;
	}
	.k2t-shortcode-isotope.column-md-5 article {
		width: 20%;
	}
}


@media only screen and (max-width: 1024px), (max-device-width: 1024px) {
	/* page navigation */
	.page-nav-shortcode {
		right: 30px;
	}
	.page-nav-shortcode  a {
		text-align: center;
	}
	.nav-item-shortcode span {
		width: 10px;
	}
	/*blog post */
	.style-blog-2 article.post-item:nth-of-type(2) {
		margin-bottom: 54px;
	}
	.style-blog-2 article:not(:nth-of-type(2)) .entry-title a {
		bottom: -22px;
		font-size: 52px;
	}
	.style-blog-2 article:not(:nth-of-type(2)) .entry-title a {
		left: 60px;
	}
	.style-blog-2 article .excerpt:before {
		left: 63px;
	}
	.style-blog-2 article .excerpt {
		padding-left: 163px;
		margin-bottom: 40px;
	}
	.style-blog-2.b-masonry .post-item {
		margin-bottom: 20px;
	}


	.k2t-blog-post .post-content p{
		overflow: hidden;
		max-height: 46px;
	}
	.k2t-iconbox.layout-2 > .iconbox-icon, 
	.k2t-iconbox.layout-2 > .iconbox-image {
		margin-top: 32px;
	}
	.style-blog-2 article:nth-of-type(2) .more-link {
		padding-left: 0;
	}
	/* pricing table */
	section.table-4col .pricing-column {
		width: 50%;
	}
}
@media only screen and (max-width: 1024px) and (min-width: 768px) {
	
	/* layout  grid */

	.page-entry .vc_row {
		margin-left: 0;
		margin-right: 0;
	}
	.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
		float: left;
	}
	.col-sm-12 {
		width: 100% !important;
	}
	.col-sm-11 {
		width: 91.66666667% !important;
	}
	.col-sm-10 {
		width: 83.33333333% !important;
	}
	.col-sm-9 {
		width: 75% !important;
	}
	.col-sm-8 {
		width: 66.66666667% !important;
	}
	.col-sm-7 {
		width: 58.33333333% !important;
	}
	.col-sm-6 {
		width: 50% !important;
	}
	.col-sm-5 {
		width: 41.66666667% !important;
	}
	.col-sm-4 {
		width: 33.33333333% !important;
	}
	.col-sm-3 {
		width: 25% !important;
	}
	.col-sm-2 {
		width: 16.66666667% !important;
	}

	.col-sm-12-padding-15 {
		width: 100% !important;
		padding: 0 15px !important;
	}
	.col-sm-11-padding-15 {
		width: 91.66666667% !important;
		padding: 0 15px !important;
	}
	.col-sm-10-padding-15 {
		width: 83.33333333% !important;
		padding: 0 15px !important;
	}
	.col-sm-9-padding-15 {
		width: 75% !important;
		padding: 0 15px !important;
	}
	.col-sm-8-padding-15 {
		width: 66.66666667% !important;
		padding: 0 15px !important;
	}
	.col-sm-7-padding-15 {
		width: 58.33333333% !important;
		padding: 0 15px !important;
	}
	.col-sm-6-padding-15 {
		width: 50% !important;
		padding: 0 15px !important;
	}
	.col-sm-5-padding-15 {
		width: 41.66666667% !important;
		padding: 0 15px !important;
	}
	.col-sm-4-padding-15 {
		width: 33.33333333% !important;
		padding: 0 15px !important;
	}
	.col-sm-3-padding-15 {
		width: 25% !important;
		padding: 0 15px !important;
	}
	.col-sm-2-padding-15 {
		width: 16.66666667% !important;
		padding: 0 15px !important;
	}

	/* top */

	.page-entry .sm-padding-top-40 {
		padding-top: 40px !important;
	}
	.page-entry .sm-padding-top-20 {
		padding-top: 20px !important;
	}
	.page-entry .sm-padding-top-0 {
		padding-top: 0 !important;
	}
	.page-entry .sm-margin-top-40 {
		margin-top: 40px !important;
	}
	.page-entry .sm-margin-top-20 {
		margin-top: 20px !important;
	}
	.page-entry .sm-margin-top-15 {
		margin-top: 15px !important;
	}
	.page-entry .sm-margin-top-0 {
		margin-top: 0 !important;
	}
	/* bot */
	.page-entry .sm-padding-bot-40 {
		padding-bottom: 40px !important;
	}
	.page-entry .sm-padding-bot-20 {
		padding-bottom: 40px !important;
	}
	.page-entry .sm-padding-bot-0 {
		padding-bottom: 0 !important;
	}
	.page-entry .sm-margin-bot-40 {
		margin-bottom: 40px !important;
	}
	.page-entry .sm-margin-bot-20 {
		margin-bottom: 20px !important;
	}
	.page-entry .sm-margin-bot-0 {
		margin-bottom: 0 !important;
	}
	/* left */
	.page-entry .sm-padding-left-80 {
		padding-left: 80px !important;
	}
	.page-entry .sm-padding-left-40 {
		padding-left: 40px !important;
	}
	.page-entry .sm-padding-left-20 {
		padding-left: 20px !important;
	}
	.page-entry .sm-padding-left-15 {
		padding-left: 15px !important;
	}
	.page-entry .sm-padding-left-0 {
		padding-left: 0 !important;
	}
	/* right */
	.page-entry .sm-padding-right-40 {
		padding-right: 40px !important;
	}
	.page-entry .sm-padding-right-20 {
		padding-right: 20px !important;
	}
	.page-entry .sm-padding-right-15 {
		padding-right: 15px !important;
	}
	.page-entry .sm-padding-right-0 {
		padding-right: 0 !important;
	}
}


@media only screen and (max-width: 991px) and (min-width: 768px) {
	/* shortcode isotope */

	.k2t-shortcode-isotope.column-sm-2 article {
		width: 50%;
	}
	.k2t-shortcode-isotope.column-sm-3 article {
		width: 33.3333%;
	}
	.k2t-shortcode-isotope.column-sm-4 article {
		width: 25%;
	}
	.k2t-shortcode-isotope.column-sm-5 article {
		width: 20%;
	}
}
@media only screen and (max-width: 900px), (max-device-width: 900px) {
	.wpb_single_image.banner .entry-image figure .wpb_heading {
		top: 50%;
		margin-top: -60px;
	}
	.wpb_single_image.banner .entry-image figure .image-content {
		margin-top: 40px;
	}
	.k2t-countdown {
		text-align: center;
	}
	.k2t-countdown .ele {
		display: inline-block;
		float: none;
	}

	/* ElasticSlideshow */
	.ei-slider {
		height: 410px;
	}
	.ei-slider-loading {
		line-height: 410px;
	}
	.ei-title {
		left: 20px;
	}
	.ei-title h2 {
		padding: 10px 15px;
	}

	/* iView Slider */
	#iview {
		margin: 30px auto;
		height: 300px;
	}
	#iview .iviewSlider {
		height: 300px;
	}
	.iview .iviewSlider > div .iview-caption {
		width: 250px !important;
		top: 20px !important;
		left: 20px !important;
	}
}
@media only screen and (max-width: 800px), (max-device-width: 800px) {
	.k2t-iconbox.layout-2 > .iconbox-icon, 
	.k2t-iconbox.layout-2 > .iconbox-image {
		margin: 8.5px 0;
	}
	/* blog */
	.style-blog-slider .post-item .flx-entry-thumb {
		float: none;
		margin-bottom: 38px;
		width: 100%;
	}
	.style-blog-slider .post-item .entry-content {
		float: none;
		padding-left: 0;
		width: 100%;
	}

	/* style blog 2 */ 
	.style-blog-2 article:last-of-type .excerpt {
		margin-bottom: 0;
	}
	.style-blog-2 article .excerpt:before {
		width: 50px;
	}
	.style-blog-2 article:nth-of-type(2) .excerpt:before {
		left: 31px;
	}
	.style-blog-2 article:nth-of-type(2) .excerpt {
		padding-right: 10px;
	}
	.style-blog-2 article:nth-of-type(2) .excerpt,
	.style-blog-2 article:nth-of-type(2) .footer-content {
		padding-left: 100px;
	}
	.style-blog-2 article.post-item:nth-of-type(2) {
		margin-bottom: 54px;
	}
	.style-blog-2 article:not(:nth-of-type(2)) .entry-title a {
		font-size: 38px;
		bottom: -17px;
	}
	.style-blog-2 article:not(:nth-of-type(2)) .entry-title a {
		left: 30px;
	}
	.style-blog-2 article .excerpt:before {
		left: 32px;
	}
	.style-blog-2 article .excerpt {
		padding-left: 106px;
		margin-bottom: 40px;
	}
	.style-blog-2.b-masonry .post-item {
		margin-bottom: 20px;
	}
	.style-blog-2 .masonry-layout article:nth-last-child(2),
	.style-blog-2 .masonry-layout article:nth-last-child(2) .excerpt,
	.style-blog-2 .masonry-layout article:last-child,
	.style-blog-2 .masonry-layout article:last-child .excerpt {
		margin-bottom: 0;
	}
}
@media only screen and (max-width: 768px) and (max-device-width: 768px) {

	/* shortcode isotope */

	.k2t-shortcode-isotope.column-xs-2 article {
		width: 50%;
	}
	.k2t-shortcode-isotope.column-xs-3 article {
		width: 33.3333%;
	}
	.k2t-shortcode-isotope.column-xs-4 article {
		width: 25%;
	}
	.k2t-shortcode-isotope.column-xs-5 article {
		width: 20%;
	}
	/* member isotope */
	.column-xs-2 .k2t-member:nth-child(2n+1) article {
		text-align: center;
	}
	.column-xs-2 .k2t-member:nth-child(2n+2) article {
		text-align: center;
	}
	.page-entry .vc_row {
		margin-left: 0;
		margin-right: 0;
	}
	.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
	  float: left;
	}
	.col-xs-12 {
	  width: 100% !important;
	}
	.col-xs-11 {
	  width: 91.66666667% !important;
	}
	.col-xs-10 {
	  width: 83.33333333% !important;
	}
	.col-xs-9 {
	  width: 75% !important;
	}
	.col-xs-8 {
	  width: 66.66666667% !important;
	}
	.col-xs-7 {
	  width: 58.33333333% !important;
	}
	.col-xs-6 {
	  width: 50% !important;
	}
	.col-xs-5 {
	  width: 41.66666667% !important;
	}
	.col-xs-4 {
	  width: 33.33333333% !important;
	}
	.col-xs-3 {
	  width: 25% !important;
	}
	.col-xs-2 {
	  width: 16.66666667% !important;
	}
	.col-xs-1 {
	  width: 8.33333333% !important;
	}
	/* top */
	.page-entry .xs-padding-top-40 {
		padding-top: 40px !important;
	}
	.page-entry .xs-padding-top-20 {
		padding-top: 20px !important;
	}
	.page-entry .xs-padding-top-0 {
		padding-top: 0 !important;
	}
	.page-entry .xs-margin-top-40 {
		margin-top: 40px !important;
	}
	.page-entry .xs-margin-top-20 {
		margin-top: 20px !important;
	}
	.page-entry .xs-margin-top-0 {
		margin-top: 0 !important;
	}
	/* bot */
	.page-entry .xs-padding-bot-40 {
		padding-bottom: 40px !important;
	}
	.page-entry .xs-padding-bot-20 {
		padding-bottom: 40px !important;
	}
	.page-entry .xs-padding-bot-0 {
		padding-bottom: 0 !important;
	}
	.page-entry .xs-margin-bot-40 {
		margin-bottom: 40px !important;
	}
	.page-entry .xs-margin-bot-20 {
		margin-bottom: 20px !important;
	}
	.page-entry .xs-margin-bot-0 {
		margin-bottom: 0 !important;
	}
	/* left */
	.page-entry .xs-padding-left-40 {
		padding-left: 40px !important;
	}
	.page-entry .xs-padding-left-20 {
		padding-left: 40px !important;
	}
	.page-entry .xs-padding-left-15 {
		padding-left: 40px !important;
	}
	.page-entry .xs-padding-left-0 {
		padding-left: 0 !important;
	}
	/* right */
	.page-entry .xs-padding-right-40 {
		padding-right: 40px !important;
	}
	.page-entry .xs-padding-right-20 {
		padding-right: 40px !important;
	}
	.page-entry .xs-padding-right-15 {
		padding-right: 40px !important;
	}
	.page-entry .xs-padding-right-0 {
		padding-right: 0 !important;
	}


	.wpb_single_image.banner .entry-image figure .wpb_heading{
		top: 50%;
		margin-top: -25px;
	}
	.wpb_single_image.banner .entry-image figure .image-content{
		display: none;
	}
	.k2t-member.style-2 .image img,
	.k2t-member.style-4 .image img{
		width: 100%;
	}
	.k2t-member.style-4 .desc{
		padding-top: 17px;
	}
	
	/* ElasticSlideshow */
	.ei-slider {
		height: 283px;
	}
	.ei-slider-loading {
		line-height: 283px;
	}
	.ei-title {
		left: 20px;
	}
	.ei-title h2 {
		padding: 5px 10px;
		font-size: 20px;
	}
	.ei-title h3 {
		font-size: 14px;
		padding: 5px;
	}
	/* blog */
	.style-blog-2 article.post-item:nth-of-type(2) {
		margin-bottom: 40px !important;
	}
}
@media only screen and (max-width: 767px) {
	.page-nav-shortcode {
		display: none;
	}
	div.style-blog-slider .post-inner {
		display: block;
	}
	div.style-blog-slider .post-item .entry-content {
		height: auto;
		padding-left: 0;
	}
	div.style-blog-slider .post-item {
		display: block;
	}
	div.style-blog-slider .post-item .entry-content .wrap-entry-content {
		position: relative !important;
		top: 0 !important;
		-webkit-transform: translateY(0);
		-ms-transform: translateY(0);
		transform: translateY(0) ;
	}
}
@media only screen and (max-width: 667px) {
	/* blog post */
	.style-blog-time .post-item:nth-child(2n) .date-meta {
		position: absolute;
		top: 0;
		left: -80px;
		transform: rotate(90deg) translateX(37%);
		-moz-transform: rotate(90deg) translateX(37%);
		-webkit-transform: rotate(90deg) translateX(37%);
	}
	.style-blog-time .post-item:nth-child(2n+1) .date-meta {
		position: absolute;
		top: 0;
		right: -80px;
		transform: rotate(90deg) translateX(37%);
		-moz-transform: rotate(90deg) translateX(37%);
		-webkit-transform: rotate(90deg) translateX(37%);
	}
	.style-blog-time .post-item:nth-child(2n+1).item-left .date-meta,
	.style-blog-time .post-item:nth-child(2n).item-right .date-meta {
		left: initial;
	}
	.style-blog-time .masonry-layout article:nth-of-type(2) {
		padding-top: 0;
	}
	.style-blog-time .masonry-layout article:nth-of-type(2) .date-meta {
		top: 0;
	}
	/* blog style  2 */
	.style-blog-2 article.post-item:nth-of-type(1) .excerpt {
		margin-bottom: 0;
	}
	.style-blog-2 article.post-item:nth-of-type(2) {
		margin-top: 0;
		margin-bottom: 0;
	}
	.style-blog-2 .masonry-layout article:nth-last-child(2) .excerpt {
		margin-bottom: 40px;
	}
	.style-blog-2 .masonry-layout article:last-child,
	.style-blog-2 .masonry-layout article:last-child .excerpt {
		margin-bottom: 0;
	}
	.style-blog-2 article:nth-of-type(2) .flx-entry-thumb {
		display: block;
	}
	.style-blog-2 article:nth-of-type(2) .entry-title {
		font-size: 38px !important;
		min-height: 1px !important;
		margin-bottom: 0 !important;
		max-width: 430px !important;
		position: relative !important;
	}
	.style-blog-2 article:nth-of-type(2) .entry-title a {
		color: #000 !important;
		display: inline-block !important;
		line-height: 95% !important;
		position: absolute !important;
		bottom: -17px !important;
		left: 30px !important;
		max-width: 90% !important;
		overflow: hidden !important;
		width: 100% !important;
		z-index: 11 !important;
	}
	.style-blog-2 article:nth-of-type(2) .entry-content .wrap-entry-content {
		max-width: 100%;
	}
	.style-blog-2 article:nth-of-type(2) .entry-content .footer-content {
		display: none;
	}
	.style-blog-2 article:nth-of-type(2) .entry-content .excerpt {
		margin-bottom: 0;
	}
	.style-blog-2 article .excerpt {
		margin-top: 36px !important;
	}
}


@media only screen and (max-width: 568px) and (max-device-width: 568px) {

	/* blog post */
	.style-blog-time {
		padding: 0;
	}
	.style-blog-time .post-item:nth-child(2n) .date-meta {
		left: -62px;
	}
	.style-blog-time .post-item:nth-child(2n+1) .date-meta {
		right: -62px;
	}

	/* other */

	.k2t-counter .title,
	.k2t-testimonial.style-2 *,
	.k2t-main span.k2t-dropcap,
	div.k2t-heading.bottom_icon .text,
	div.k2t-iconbox.layout-1.align-left .iconbox-icon,
	div.k2t-iconbox.layout-1.align-right .iconbox-icon,
	div.k2t-countdown .ele *,
	div.k2t-blog-post .post-content .post-content,
	.k2t-button.align-right {
		text-align: center;
	}
	.k2t-iconbox.layout-2.align-right .iconbox-text *,
	.k2t-iconbox.layout-3.align-right .iconbox-text *{
		text-align: right;
	}
	div.k2t-iconbox.layout-1.align-left .iconbox-icon,
	div.k2t-iconbox.layout-1.align-right .iconbox-icon{
		float: none;
	}


	.wpb_single_image.banner .entry-image figure .wpb_heading{
		font-size: 140%;
	}
	.k2t-tab-sticky > * {
		width: 100% !important;
		text-align: center;
		padding: 30px 20px !important;
	}
	.tabsticky-nav ul li a {
		text-align: center;
	}
	
	/* ElasticSlideshow */
	.ei-slider {
		height: 266px;
	}
	.ei-slider-loading {
		line-height: 266px;
	}
	.ei-title {
		left: 20px;
	}
	.ei-title h2 {
		padding: 5px;
		font-size: 20px;
		line-height: 22px;
	}
	.ei-title h3 {
		font-size: 14px;
		padding: 5px;
	}

	/* iView Slider */
	#iview {
		margin: 20px auto;
		height: 200px;
	}
	#iview .iviewSlider {
		height: 200px;
	}
	.iview .iviewSlider > div .iview-caption {
		width: 200px !important;
		top: 10px !important;
		left: 10px !important;
		padding: 5px 10px;
	}
}
@media only screen and (max-width: 480px) and (max-device-width: 480px) {
	.style-blog-slider .post-item .top-meta .label {
		display: none;
	}
	.style-blog-slider .post-item .top-meta > :not(:first-child) {
		padding-left: 0;
	}
	.wpb_single_image.banner .entry-image figure .wpb_heading{
		font-size: 100%;
	}
	/* footer */

	.k2t-info [class|="col"] > * {
		line-height: 100% !important;
		float: none !important;
	}
	.k2t-info [class|="col"] > *:first-child {
		margin-top: 30px !important;
	}
	.k2t-info [class|="col"] > * {
		margin-bottom: 30px !important; 
	}
	/* ElasticSlideshow */
	.ei-slider{
		height: 165px;
	}
	.ei-slider-loading{
		line-height: 165px;
	}
	.ei-title{
		display: none;
	}
	/* style 2 blog post */
	.style-blog-2 article.post-item:nth-of-type(1) .excerpt {
		margin-bottom: 16px;
	} 
	.style-blog-2 article:nth-of-type(2) .excerpt {
	    margin-top: 36px;
	}
	.style-blog-2 article:nth-of-type(2) .entry-title a {
		bottom: -17px !important;
	}
	/* pricing */
	section.table-2col .pricing-column,
	section.table-3col .pricing-column,
	section.table-4col .pricing-column {
		width: 100%;
	}
}
@media only screen and (max-width: 320px) and (max-device-width: 320px) {
	.style-blog-2 article .entry-title a {
		bottom: -13px !important;
		font-size: 30px !important;
	}
	.style-blog-2 article:nth-of-type(2) .entry-content .wrap-entry-content {
		padding: 0;
	}
	.style-blog-2 article:not(:nth-of-type(2)) .entry-title a {
		max-width: 255px;
	}
	.style-blog-2 article:nth-of-type(2) .entry-title a {
		bottom: -13px;
	}
	.style-blog-2 article .excerpt {
		margin-top: 36px;
	}
}
