@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait){

	.t4p-columns-5 .t4p-column:first-child,
	.t4p-columns-4 .t4p-column:first-child,
	.t4p-columns-3 .t4p-column:first-child,
	.t4p-columns-2 .t4p-column:first-child,
	.t4p-columns-1 .t4p-column:first-child {
		margin-left: 0;
	}

	.t4p-column:nth-child(5n),
	.t4p-column:nth-child(4n),
	.t4p-column:nth-child(3n),
	.t4p-column:nth-child(2n),
	.t4p-column {
		margin-right: 0;
	}

	#wrapper{
		width:auto !important;
		overflow-x: hidden;    
	}
	#main{
		padding-bottom:50px;
	}
	.create-block-format-context{
		display: none;
	}  
	.columns .col{
		float:none;
		width:100% !important;
		margin:0 0 20px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	.alora-container .columns {
		float:none;
		width:100%;
		margin-bottom:20px;
	}
	.alora-container .columns .col {float:left;}
	.alora-container .col img{		
		display:block;
		margin:0 auto;
	}
	.review {
		float:none;
		width:100%;
	}
	.copyright,
	.t4p-social-links-footer {
		display: block;
		text-align:center;
	}
	.t4p-social-links-footer {
		width: auto;
	}

	.t4p-social-links-footer .t4p-social-networks {
		display: inline-block;
		float: none;
	}
	.t4p-social-links-footer .t4p-social-networks .t4p-social-network-icon:first-child {
		margin-left: 0;
		margin-right: 0;
	}
	.copyright {
		padding:0 0 15px;
	}
	.author .author_social .custom_msg {
		float:none;
		text-align:center;
		max-width: 100%;
	}	
	.author .author_social .t4p-social-networks {
		text-align: center;
	}
	.author .author_social .t4p-social-networks .t4p-social-network-icon:first-child {
		margin-left: 0;
	}
	.copyright:after,
	.social-networks:after{
		content:"";
		display:block;
		clear:both;
	}
	.social-networks li,
	.copyright li{
		float:none;
		display:inline-block;
	}
	.t4p-reading-box-container .reading-box.reading-box-center,
	.t4p-reading-box-container .reading-box.reading-box-right {
		text-align: left;
	}
	
	.continue { display: none; }
	.t4p-reading-box-container  .mobile-button{
		display: block;
		float: none;
	}
	
	#wrapper .page-title-container{height:auto !important;padding:14px 0 12px 0;}	
	
	.page-title{
		padding:0 20px;
	}
	.page-title h1{
		float:none;
	}
	.page-title ul{
		float:none;
		text-align:left;
		padding-top:0 !important;
		line-height:11px !important;
	}
	.rtl .page-title ul{
		text-align:right;
	}

	.header-wrapper{
		position:static !important;
	}  
	#header{
		padding:20px;
	}
	#header-sticky .logo,#header .logo{
		float:none;
		text-align:center;
		margin:0 !important;
	}
	body #header-sticky.sticky-header .logo{float: left !important;}  
	#header-sticky .nav-holder,#header .nav-holder{
		float:none;
	}
	.mobile-nav-holder {
		margin-top:20px !important;
	}

	.sticky-header .mobile-nav-holder {
		margin-top:0px !important;
	}
	
	.mobile-nav-item a {
		height: initial !important;
		line-height: initial !important;
	}
	
	.mobile-nav-item a:after {
		display:none;
	}
	
	.nav-holder ul,.top-menu .menu{display:none;}
	.mobile-nav-holder, .mobile-topnav-holder { display:block; }
	.rtl #wrapper .mobile-nav-holder .mobile-nav-item {float:none; padding-left:0;}
	.mobile-nav-holder.set-invisible { display:none !important; }
	.nav-holder .dd-container,.top-menu .dd-container{display:block !important;width:100%;}
	.top-menu .dd-container{width:50% !important;margin:0 auto !important;}
	.one_half, .one_third, .two_third, .three_fourth, .one_fourth{
		width:100%;
		margin-bottom:20px;
	}
	.one_half > div, .one_third > div, .two_third > div, .three_fourth > div, .one_fourth > div{
		margin-bottom:0;
	}

	.title{
		margin-top:0px !important;
		margin-bottom:20px !important;
	}
  
	#main .cart-empty {float: none;text-align:center;border-top: 1px solid;border-bottom: none;width:100%;line-height:normal!important;height:auto!important;margin-bottom:10px;padding-top:10px;}
	#main .return-to-shop {float: none;border-top: none;border-bottom: 1px solid;width:100%;text-align:center;line-height:normal!important;height:auto!important;padding-bottom:10px;}
	
	.woocommerce .checkout_coupon .promo-code-heading{display:block;margin-bottom:10px!important;float:none;text-align:center;}
	.woocommerce .checkout_coupon .coupon-contents{display:block;float:none;margin:0;}
	.woocommerce .checkout_coupon .coupon-input{display:block;width:auto!important;float:none;text-align:center;margin-right:0;margin-bottom:10px!important;}
	.woocommerce .checkout_coupon .coupon-button{display:block;margin-right:0;float:none;text-align:center;}	  

	#content{
		width:100% !important;
		float:none !important;
		margin-bottom:50px;
	}

	#sidebar{
		width:100% !important;
		float:none !important;
	}

	#sidebar .social_links .social li{
		width:auto;
		margin-right:5px;
	}

	#comment-input{
		margin-bottom:0;
	}
	#comment-input input{
		width:90%;
		float:none !important;
		margin-bottom:10px;
	}
	#comment-textarea textarea{
		width:90%;
	}

	.pagination{
		margin-top:40px;
	}

	.portfolio-one .portfolio-item .image{
		float:none;
		width:auto;
		height:auto;
		margin-bottom:20px;
	}

	h5.toggle span.toggle-title{
		width:80%;
	}

	#wrapper .sep-boxed-pricing .panel-wrapper	{
		padding: 0;
	}
	
	#wrapper .full-boxed-pricing .column,
	#wrapper .sep-boxed-pricing .column {
		float:none;
		margin-bottom:10px;
		margin-left: 0;
		width:100%;
	}

	.page-title h1{
		margin-top:0;
		margin-bottom:5px;
	}
	.page-title-captions,.page-title h1,.page-title ul{
		display:block;
		float:none;
		line-height:normal;
		width:100%;
	}
	
	.page-title ul {
		margin-top:10px;
	}

	.share-box{
		height:auto;
	}
	#wrapper .share-box h4{
		float:none;
		line-height:20px !important;
		padding-top:25px;
		padding-bottom:25px;
	}
	.share-box ul{
		float:none;
		overflow:hidden;
		padding:0 25px;
		padding-bottom:15px;
		margin-top:0px;
	}

	.project-content .project-description{
		margin-bottom:50px;
		float: none !important;    
	}
	.project-content .project-description,.project-content .project-info{
		width:100% !important;
	}

	.portfolio-half .flexslider{
		width:100%;
	}
	.portfolio-half .project-content{
		width:100%  !important;
	}

	#style_selector{
		display:none;
	}

	.portfolio-tabs,.faq-tabs{
		height:auto;
		border-bottom:0;
	}

	.portfolio-tabs li, .faq-tabs li{
		float:none;
		margin-right:0;
		border-bottom:1px solid #E7E6E6;
	}
	.post-content .rev_slider_wrapper{margin-left:-5px !important;}
	body .rev_slider_wrapper .tparrows,body .rev_slider_wrapper:hover .tparrows{display:none !important;}
	.ls-alora .ls-nav-prev,.ls-alora .ls-nav-next{display:none !important;}

	nav#nav,nav#sticky-nav{margin-right:0;}

	#footer .social-networks{width:100%;margin:0 auto;position:relative;left:-11px;}

	.rev_slider .button,.ls-container .button{
		min-height: 0 !important;
		padding-left:20px; padding-right:20px !important;
		height:30px !important;
		line-height:30px !important;
	}

	.rev_slider .button * {
		font-size: 10px !important;
		line-height: 20px !important;
	}

	.tab-holder .tabs{
		height:auto !important;
		width:100% !important;
	}
	.shortcode-tabs .tab-hold .tabs li{
		width:100% !important;
	}

	body .shortcode-tabs .tab-hold .tabs li, body.dark #sidebar .tab-hold .tabs li{border-right:none!important;}

	.error-message{line-height:170px;margin-top:20px;}
	.error_page .useful_links{width:100%;padding-left:0;}

	.t4p-google-map{width:100% !important;margin-bottom:20px !important;}

	.social_links_shortcode .social li{width:10% !important;}

	.header-social{padding-top:10px; padding-bottom: 10px;}
	.header-social .t4p-social-links-header{ max-width: none; }
	
	.header-social .header-info { line-height: normal; }

	.header-v2 .header-social .alignleft{width:100%; margin:0; text-align:center;margin-bottom:10px;}
	.header-v2 .header-social .alignright{width:100%; margin:0; text-align:center;}

	.header-v3 .header-social .alignleft{width:100%; margin:0; text-align:center;margin-bottom:10px;}
	.header-v3 .header-social .alignright{width:100%; margin:0; text-align:center;}

	.header-v4 .header-social .alignleft{width:100%; margin:0; text-align:center;margin-bottom:10px;}
	.header-v4 .header-social .alignright{width:100%; margin:0; text-align:center; clear:both;}
	.header-v4 #header{padding-left:20px!important; padding-right:20px!important;}
	.header-v4 #header .logo{width:100%; margin-bottom:10px !important;}
	.header-v4 #header .search{width:100%; float:none; margin-bottom:5px; margin-left: 0 !important;}
	.header-v4 #header #s { width: 100% !important; }
	.header-v4 #header .tagline{width:100%; float:none; text-align:center;}
	.header-v4 #small-nav{padding:6px 20px;}
	.header-v4 #small-nav #nav{width:100%;}
	.header-v4 .header-social .alignright .menu{margin-top:-10px; line-height:25px;}

	.header-v5 .header-social .alignleft{width:100%; margin:0; text-align:center; margin-bottom:10px;}
	.header-v5 .header-social .alignright{width:100%; margin:0; text-align:center;}
	.header-v5 #small-nav{padding:6px 20px;}
	.header-v5 #small-nav #nav{width:100%;}
	
	#small-nav .mobile-nav-holder {margin-top:0 !important;}	

	#wrapper .ei-slider{width:100% !important;}

	.t4ps-slider .slides{width:auto !important;}
	#wrapper .ei-slider{height:200px !important;}

	.progress-bar{margin-bottom:10px !important;}

	.t4p-blog-large-alternate .post-content-container {
		margin-left: 100px;
	}

	.medium-alternate .post-content{float:none;width:100% !important;margin-top:20px;}

	.header-social{padding-left:10px;padding-right:10px;}

	#wrapper .content-boxes-icon-boxed .content-wrapper-boxed{min-height:inherit !important;padding-bottom:20px;padding-left:3%;padding-right:3%;}
	#wrapper .content-boxes-icon-on-top .content-box-column,#wrapper .content-boxes-icon-boxed .content-box-column{margin-bottom:55px;}

	.t4p-counters-box .t4p-counter-box{ margin-bottom: 20px; padding: 0 15px;}
	.t4p-counters-box .t4p-counter-box:last-child{ margin-bottom: 0; }

	.popup{display:none !important;}

	.share-box .social-networks{text-align:left;}
  
	#header-banner{float:none;text-align:center;margin:0 auto;width:100%;margin-top:20px;}

	.products li{width:225px;}
	.products li,.catalog-ordering > ul,.catalog-ordering .order,#main .products li:nth-child(3n),#main .products li:nth-child(4n),#main .has-sidebar .products li,
	.alora-myaccount-data .addresses .col-1, .alora-myaccount-data .addresses .col-2, .alora-customer-details .addresses .col-1, .alora-customer-details .addresses .col-2
	{float:none!important;margin-left:auto !important;margin-right:auto !important;}
	.alora-myaccount-data .addresses .col-1, .alora-myaccount-data .addresses .col-2, .alora-customer-details .addresses .col-1, .alora-customer-details .addresses .col-2{margin:0!important;width:100%;}
	.catalog-ordering{margin-bottom:50px;}
	.catalog-ordering .order{width:33px;}
	.catalog-ordering > ul,.catalog-ordering .order{margin-bottom:10px;}
	.order-dropdown > li:hover > ul{display:block;position:relative;top:0;}
	.orderby-order-container{overflow:hidden;margin:0 auto;width:215px;margin-bottom:10px;float:none;}
	.orderby.order-dropdown{float:left; margin-right: 7px;}
	.sort-count.order-dropdown{width:215px;}
	.sort-count.order-dropdown ul a{width:200px;}
	.catalog-ordering .order{float:left;margin-bottom:0;}

	.woocommerce #customer_login .login .form-row, .woocommerce #customer_login .login .lost_password{float:none;}
	.woocommerce #customer_login .login .inline, .woocommerce #customer_login .login .lost_password{display:block;margin-left:0;}

	.alora-myaccount-data .my_account_orders .order-number{padding-right:8px;}
	.alora-myaccount-data .my_account_orders .order-actions{padding-left:8px;}
	
	.shop_table .product-name{width:35%;}

	#wrapper .product .images,#wrapper .product .summary.entry-summary,#wrapper .woocommerce-tabs .tabs,#wrapper .woocommerce-tabs .panel,#wrapper .woocommerce-side-nav,#wrapper .woocommerce-content-box,#wrapper .shipping-coupon,#wrapper .cart_totals, 
	#wrapper #customer_login .col-1, #wrapper #customer_login .col-2,
	#wrapper .woocommerce form.checkout #customer_details .col-1, #wrapper .woocommerce form.checkout #customer_details .col-2 
	{float:none;margin-left:auto;margin-right:auto;width:100% !important;}
	#customer_login .col-1, .coupon{margin-bottom:20px;}
	.shop_table .product-thumbnail{float:none;}
	.product-info{margin-left:0;margin-top:10px;}
	.product .entry-summary div .price{float:none;}
	.product .entry-summary .woocommerce-product-rating{float:none;margin-left:0;}
	.woocommerce-tabs .tabs,.woocommerce-side-nav{margin-bottom:25px;}
	.woocommerce-tabs .panel{width:91% !important;padding:4% !important;}
	#reviews li .avatar{display:none;}
	#reviews li .comment-text{width:90% !important;margin-left:0 !important;padding:5% !important;}
	.woocommerce-container .social-share{overflow:hidden;}
	.woocommerce-container .social-share li{display:block;float:left;margin:0 auto;border-right:0!important;border-left:0!important;padding-left:0 !important;padding-right:0 !important;width:50%;}
	.has-sidebar .woocommerce-container .social-share li { width: 50%; }

	.myaccount_user_container span{width:100%;float:none;display:block;padding:10px 0px;border-right:0;}
	.rtl .myaccount_user_container span{border-left:0;}

	.shop_table .product-thumbnail img,.shop_table .product-thumbnail .product-info,.shop_table .product-thumbnail .product-info p{float:none; width:100%;margin:0 !important;padding:0;}
	.shop_table .product-thumbnail{padding:10px 0px;}

	.product .images{margin-bottom:30px;}

	#customer_login_box .button{float:left;margin-bottom:15px;}
	#customer_login_box .remember-box{clear:both;display:block;padding:0;width:125px;float:left;}
	#customer_login_box .lost_password{float:left;}

	body #small-nav{visibility:visible !important;}

	.gform_wrapper .ginput_complex .ginput_left,.gform_wrapper .ginput_complex .ginput_right,.wpcf7-form .wpcf7-text,.wpcf7-form .wpcf7-quiz,.wpcf7-form .wpcf7-number,.gform_wrapper .gfield input[type=text],.wpcf7-form textarea,.gform_wrapper .gfield textarea{float:none !important;width:100% !important;box-sizing:border-box;}

	.product .images #slider .flex-direction-nav, .product .images #carousel .flex-direction-nav{display:none !important;}

	.myaccount_user_container span.msg,.myaccount_user_container span:last-child{padding-left:0 !important;padding-right:0 !important;}

	#nav-uber #megaMenu { width: 100%; }

	.fullwidth-box { background-attachment: scroll; }

	#toTop {bottom: 30px; border-radius: 4px; height: 40px; z-index: 10000;}
	#toTop:before { line-height:38px; }
	#toTop:hover {background-color: #333333;}

	.no-mobile-totop .to-top-container {display: none;}

    .no-mobile-slidingbar #slidingbar-area{display:none;}

	.header-v5 #header .logo { float: none; }

	.t4p-slider .slide-content-container h2 {
		font-size: 21px !important;
		line-height: 21px !important;
	}
	.t4p-slider .slide-content-container h3 {
		font-size: 11px !important;
		line-height: 11px !important;
	}

	.t4p-slider .slide-content-container .btn {
		min-height: 0 !important;
		padding-left:20px; padding-right:20px !important;
		height:26px !important;
		line-height:26px !important;
	}
	
	.header-wrapper .sticky-header-v1-scrolled #header {
		padding: 0px !important;
		padding-left: 15px !important;
		padding-right: 15px !important;
	}

	.header-wrapper .sticky-header-v1-scrolled #header .logo {
		//margin: 0 !important;
		float: left;
	}
	
	.header-wrapper .sticky-header-v1-scrolled .mobile-nav-holder {
		margin-top: 0 !important;
		padding-top: 17px;
	}

	.t4p-columns-5 .col-lg-2, .t4p-columns-5 .col-md-2, .t4p-columns-5 .col-sm-2 {
		width: 100%
	}

	.t4p-soundcloud iframe {
		width: 100%;
	}
}