@media(max-width: 767px) {
    .header-style2 .header-bottom .header-logo{
    	margin-top:0;
    	flex: 0 0 50% !important;
    	max-width: 50% !important;
    }
    .header-style2 .header-bottom .header-right{
    	flex: 0 0 50% !important;
    	max-width: 50% !important;
    }
	.header-style2 .header-bottom .header-logo:before {content:'';}
	.header-style2:before {width:0;}
	.header-style2 .header-top2 .container-fluid{padding:0;}
	.header-style2 .header-bottom .header-logo .logo{padding:28px 0 !important;}
	.header-style2 .header-bottom .header-logo .logo .logo-image{height:auto;}
	body.site .header-style2 .header-top2 .top-header2 #sidebar-top2{padding-left:15px !important;}
	.right-header2{display:none;}
	.sidebar-header-right{display:none;}
	.sp-position2{
		background-image:none;
		.sj-k2-filter.vertical-layout {
			.col-md-12{
				&:nth-child(1){
					background-color:#a22531;
				}
				&:nth-child(2){
					background-color:#f6c640;
				}
			}
		}
	}
	#sp-feature{
		.col-md-6{
			flex: 0 0 50%;
    		max-width: 50%;
		}
	}
	#upcoming-event .sj-meganew .meganew-wrap .meganew-box .meganew-box-inner .item-image img{height:auto;}
	#courses-free .custom.video-tour .content{
		.col-md-6{
			flex: 0 0 50%;
    		max-width: 50%;
		}
	}
	#sp-left{padding-bottom:20px;}
	#sp-right{padding-top:20px;}
	#k2Container .itemBody .itemImageBlock .content-intro{padding:0;}
	#k2Container .k2Pagination ul.pagination{margin: 0 15px;}
	#k2Container .itemBody .itemImageBlock .content-intro .itemTitle{display:inline-block;margin:15px 0 20px;}
	.yt-testimonial .extraslider-inner .item-wrap .item-wrap-inner .item-info p{padding:0 !important;}
	.trending-course-area .sj-extra-slider .item .catItemHeader .item-extra > div.course-students{border:0;}
	#blog-area .sj-extraslider .item .item-image img,.trending-course-area .sj-extra-slider .item .catItemImage img{height:auto;}
	.custom.teacher-area .single-teacher img{height:auto;margin:0 auto;}
	.custom.teacher-area .single-teacher .content{padding:15px 0;}
	.yt-testimonial.button-type2 .owl-prev{left: 18%;}
	.yt-testimonial.button-type2 .owl-next{right:18%;}
	#k2Container .itemBody .itemImageBlock{display:block;}
	.custom.course-category-area .yt-carousel .yt-carousel-slide{width:auto;}
	.header-logo{
		flex: 0 0 50%;
		max-width: 50%;
	}
	.header-right{
		flex: 0 0 50%;
		max-width: 50%;
		#main-menu{
			float: right !important;
		}
	}
	#sp-slide .yt-content-slider .content{display:none;}
	.yt-content-slider .owl-nav [class*="owl-"]{
		width:50px;height:50px;line-height:50px;font-size:28px;
	}
	#video-tour-area .custom.video-tour a.btn-join{padding:0 27px;}
	.sp-position1 .custom.best-courses .row .box-courses.icon2,
	.sp-position1 .custom.best-courses .row .box-courses.icon1{
		margin-bottom:68px;
	}
	.trending-course-area .sj-extra-slider .item .catItemHeader h3.catItemTitle{font-size:18px;}
	#column-id-1562223643565,
	#column-id-1562208262469{padding: 50px 22px !important;}
	#courses-free .custom.video-tour h2.title,
	#video-tour-area .custom.video-tour h2.title{font-size: 28px;margin-bottom: 50px;}
	#courses-free .custom.video-tour p,
	#video-tour-area .custom.video-tour p{font-size:13px;}
	.single-event:hover .thumnail img{height:152px;}
	#courses-free .custom.video-tour .content{padding-top: 28px;}
	#courses-free .custom.video-tour .content .box-courses h3{font-size: 18px;}
	#courses-free .custom.video-tour .content .box-courses p{font-size: 14px;}
	#courses-free .custom.video-tour .content .box-courses.icon2,
	#courses-free .custom.video-tour .content .box-courses.icon1{
		margin-bottom: 25px;
	}
	.custom.course-category-area .wow{margin-bottom:25px;}
	.custom.course-category-area .wow h2{margin-top:0px;}
	.custom.teacher-area{
		display:block;
	}
	.offcanvas-menu .offcanvas-inner .sp-module ul > li span.nav-header{display:none;}
	.offcanvas-menu .offcanvas-inner .sp-module ul > li.item-122 ul.menu-child{display:none;}
	.offcanvas-menu .offcanvas-inner .sp-module ul > li.item-122 li.item-154 ul,
	.offcanvas-menu .offcanvas-inner .sp-module ul > li.item-122 li.item-155 ul{display:block;}
	.acymailing_module_form td.acyfield_email input[type="text"]{width: 197px !important;}
	.sp-scroll-up{width:50px;height:50px;line-height:60px;}
	#testimonial-area .sppb-section-title{padding-left:0;}
	#blog-area .sj-extraslider h2.heading-title,
	.trending-course-area .sj-extra-slider h2.heading-title{font-size:34px;margin-bottom:48px;}
	#testimonial-area h3.sppb-title-heading::before,
	.trending-course-area .sj-extra-slider h2.heading-title::before,
	#blog-area .sj-extraslider h2.heading-title:before{left:38%;}
	#sp-footer2,
	#sp-feature{padding:40px 0 0 18px;}
	#sp-feature h3.sp-module-title,#sp-footer2 h3.sp-module-title{margin-bottom:20px;}
	#blog-area .sj-extraslider .item .item-info .item-title a{font-size:17px;}
	.parallax1,
	.parallax{height:396px;}
	.parallax{background-image: url("../images/img_parallax.jpg");}
	.parallax1{background-image: url("../images/img_parallax1.jpg");}
	#upcoming-event .sj-meganew .meganew-wrap .meganew-box .meganew-box-inner .item-info a.more{
		right: 20px;width:40px;height:40px;line-height:40px;
	}
	#upcoming-event .sj-meganew .meganew-wrap .meganew-box .meganew-box-inner .item-info .item-title h3{
		font-size:16px;
	}
	ul.c-step li {
    	display: table-cell;
	}
	#g-joinnow .c-step li {
    	padding-left: 5px;
    	padding-right: 5px;
  	}
  	#g-about .text {
    	margin-bottom: 10px;
  	}
  	#g-about .customersay .cus-title {
    	font-size: 12px;
  	}
  	ul.c-step:before {background: transparent;box-shadow:none;}
  	ul.yt-accordion{margin: 0 0 15px;}
  	#k2Container.itemListView .itemList{margin:0;}
	body.rtl{
		&.site{
    		.header-style2 .header-top2 .top-header2 #sidebar-top2{
    			padding-right:15px !important;
    			padding-left:0px !important;
    		}
    	}
		.header-right #main-menu{
			float: left !important;
		}
		#sp-feature{padding:40px 15px 0;}
		#sp-footer2{
			padding: 0 15px;
			text-align: right !important;
		}
		#sp-footer2 h3.sp-module-title{text-align: right;}
		.acymailing_module_form td.acysubbuttons input[type="submit"]{
			margin-left:0;margin-right:-60px;
		}
		.custom.course-category-area .wow .owl-controls .owl-nav > div{top: -20px!important;}
	}
}

@media only screen 
and (min-device-width : 414px) 
and (max-device-width : 736px) 
and (orientation : landscape) { 
	#upcoming-event{
		.sppb-addon-content{
			.custom{
				margin:0 -15px;
			}
		}
	}
	.single-event .content h3{font-size:16px;}
	.single-event:hover .thumnail img{height:116px;}
	.single-event{
		max-width:44%;
		float:left;
		margin:0 15px 30px;		
	}
	
}