@media only screen and (max-width: 1600px) {
	.scroll-top {
		right: 3%;
	}
}

@media only screen and (max-width: 1366px) {
	.banner .item .banner-content {
		padding: 200px 0px;
	}
}

@media only screen and (max-width: 1199px) and (min-width: 992px) {
	header .header-top .left li {
		margin-right: 20px;
	}

	header .header-top .right li {
		margin-left: 5px;
	}

	header .header-top .right li:first-child {
		margin-left: 0px;
	}

	.teachers .teacher-item .teacher-image {
		float: initial;
	}

	.banner-content h2 {
		font-size: 50px;
	}

	.teacher-details .teacher-skills .skill-item {
		margin-right: 12px;
	}

	.teacher-details .teacher-award li {
		margin-right: 30px;
	}

	.facility-two .facility-item .front-part {
		padding: 40px 10px;
	}

	.facility-two .facility-item .back-part {
		padding: 0px 10px;
	}

	.event-single .event-counter .clock-item {
		margin-right: 5px;
	}
}

@media only screen and (max-width: 1199px) {
	header .main-menu ul li a {
		padding: 40px 5px;
	}

	.header-two .top-contents li {
		margin-left: 40px;
	}

	.header-two .main-menu ul li a {
		padding: 25px 9px;
	}

	.header-two .main-menu .menu-search {
		margin: 15px 5px 5px 5px;
	}

	.header-two .main-menu .menu_cart>span {
		margin: 15px 5px 5px 5px;
	}

	.header-two .main-menu .menu-button {
		margin-left: 15px;
	}

	.banner .item .banner-content {
		padding: 180px 0px;
	}

	.gallery .gallery-item {
		width: 31.2%;
	}

	.gallery-two .gallery-item {
		width: 24.99%;
	}

	.event .event-item.wide {
		width: 33.33%;
	}

	.event .event-item.wide .event-image,
	.event .event-item.wide .event-content {
		width: 100%;
	}

	.subscribe form input:first-child {
		width: 61%;
	}

	.product .product-item-grid {
		width: 29%;
	}

	.product .product-item-grid .icon:nth-child(3) {
		left: 13%;
	}

	.product .product-item-grid .icon:nth-child(5) {
		right: 13%;
	}

	.product .product-item-grid .pro-content h4 a,
	.product .product-item-grid .pro-content span {
		font-size: 16px;
	}

	.product .product-item-list .pro-image {
		width: 35%;
	}

	.product .product-item-list .pro-rating {
		top: 15px;
	}

	.product .product-item-list .pro-content {
		padding: 20px;
	}

	.shop-cart table tr th,
	.shop-cart table tr td {
		padding: 15px;
	}

	.shop-cart table tr .remove-cart {
		width: 80px;
	}

	.teachers-three .teacher-item .teacher-image {
		margin: 0 auto 10px;
	}
}

@media only screen and (max-width: 991px) and (min-width: 768px) {
	header .main-menu .navbar-header {
		width: 100%;
		height: 50px;
	}

	header .main-menu .navbar-brand {
		width: 100%;
		padding: 15px;
	}

	header .main-menu .navbar-brand img {
		margin: 0 auto;
	}

	.menu-area {
		width: 100%;
	}

	.navbar-nav {
		float: left !important;
	}

	header .main-menu ul li a {
		padding: 25px 2px;
	}

	header .main-menu .menu_cart>span {
		margin: 20px 5px 10px;
	}

	.header-two .main-menu .navbar-header {
		display: none;
	}

	.header-four .main-menu ul li a {
		padding: 20px;
	}

	.dropdown-toggle::after {
		margin-left: 0.155em;
		vertical-align: .155em;
	}

	header .main-menu .menu-search {
		margin-top: 20px;
	}
}

@media only screen and (max-width: 991px) {
	.logo-area {
		width: 100%;
		text-align: center;
	}

	header .header-top {
		display: none;
	}

	.header-two .main-menu ul li a {
		padding: 25px 2px;
	}

	.header-two .main-menu .menu-button {
		display: none;
	}

	.banner .item .banner-content {
		padding: 150px 0px;
	}

	.banner .item .banner-content h3 {
		font-size: 32px;
	}

	.banner .item .banner-content h2 {
		font-size: 56px;
	}


	.facility .facility-item {
		margin-bottom: 30px;
	}

	.facility-two .facility-item {
		width: 50%;
		margin: 0px;
	}

	.about .about-image {
		margin-bottom: 50px;
	}

	.about .about-content {
		text-align: center;
	}

	.about .about-content ul li {
		float: initial;
		margin-right: 15px;
	}

	.features .feature-item {
		text-align: center !important;
	}

	.features .feature-item .icon {
		float: initial !important;
		margin: 0px 0px 10px;
	}

	.teacher-details .teacher-image {
		margin-bottom: 30px;
	}

	.teacher-details .teacher-skills {
		margin-bottom: 50px;
	}

	.gallery .gallery-item {
		width: 46.95%;
	}

	.gallery-two .gallery-item {
		width: 50%;
	}

	.event .event-item,
	.event .event-item.wide {
		width: 50%;
	}

	.event-two .event-item {
		margin-bottom: 30px;
	}

	.blog .blog-item {
		margin-bottom: 30px;
	}

	.single-post .reply-form {
		margin-bottom: 50px;
	}

	.contact-details ul {
		margin-bottom: 50px;
	}

	.contact-form .contact-input:nth-child(1) {
		width: 100%;
		float: initial;
	}

	.contact-form .contact-input:nth-child(2) {
		width: 100%;
		float: initial;
	}
    .contact-form .contact-input:nth-child(3) {
    width: 100%;
		float: initial;
}
.contact-form .contact-input:nth-child(4) {
   width: 100%;
		float: initial;
}
	.product .product-item-grid .icon:nth-child(6) {
		right: 13%;
	}

	.pro-details .product-slider {
		margin-bottom: 50px;
	}

	.product .pagination {
		margin-bottom: 50px;
	}

	.subscribe h3 {
		margin-bottom: 10px;
	}

	.subscribe form {
		text-align: left;
	}

	.subscribe form input:first-child {
		width: 70%;
	}

	.error-page .error-content:before,
	.error-page .error-content:after {
		display: none;
	}

	footer .footer-item {
		margin-bottom: 30px;
	}

	.product .product-item-grid {
		width: 45.2%;
	}
}

@media only screen and (max-width: 990px) {
	header .main-menu .navbar-collapse {
		display: none;
	}
}

@media only screen and (min-width: 768px) {

	header .main-menu ul li ul,
	.navbar-right .dropdown-menu {
		display: none;
		width: 220px;
		left: 0px;
		padding: 0px;
		border: none;
		opacity: 0;
		-webkit-transition: .25s;
		transition: .25s;
		border-radius: 0px;
	}

	header .main-menu ul li:hover>ul {
		display: block;
		opacity: 1;
		margin: 0;
	}

	header .main-menu ul li ul li a {
		padding: 10px 15px;
		display: block;
	}

	.header-two .main-menu .nav>li:first-child>a {
		padding-left: 0px;
	}

	/*header .main-menu ul li ul li ul{*/
	/*	left: 100%!important;*/
	/*	right: auto!important;*/
	/*	top: 38px;*/
	/*	display: none!important;*/
	/*}*/
	header .main-menu ul li {
		position: relative;
	}

	header .main-menu ul li ul li ul {
		left: 100% !important;
		top: 0;
		display: none;
	}

	header .main-menu ul li ul li:hover>ul {
		display: block;

	}

	.open-mobile-menu .mobile-menu-area {
		display: none;
	}
}

@media only screen and (max-width: 767px) {
	header .header-top {
		display: none;
	}
    header .main-menu .navbar-toggle {
    margin-top: 0px;
    margin-bottom: 0px;
}
    nav.main-menu-area { 
    padding: 10px 15px;
}
	header .main-menu ul li a {
		padding: 10px 15px;
		border-bottom: 1px solid #f0f0f0;
	}

	header .main-menu ul li:last-child a {
		border: none;
	}

	header .main-menu .menu_cart>span,
	header .main-menu .menu-search {
		display: none;
	}

	.navbar-nav .open .dropdown-menu .dropdown-header,
	.navbar-nav .open .dropdown-menu>li>a {
		padding: 10px 15px 10px 25px;
	}

	.header-two .navbar-brand {
		display: block;
	}

	.header-two .main-menu .navbar-collapse.collapse {
		padding-left: 15px;
	}

	.header-two .main-menu ul li a {
		padding: 10px 15px;
	}

	.header-two .main-menu ul li ul li a {
		color: #fff !important
	}

	.header-four .main-menu ul li a {
		padding: 15px;
	}

	.header-four .main-menu ul li a .icon {
		text-align: left;
		float: left;
		margin-right: 10px;
	}

	.logo-area {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: center;
	}
    .logo-area a img{
        width:65px;
    }
	.menu-area {
		display: none;
	}

	.banner .item .banner-content {
		padding: 100px 0px;
	}

	.banner .item .banner-content h3 {
		font-size: 26px;
	}

	.banner .item .banner-content h2 {
		font-size: 40px;
	}

	.teacher-details .teacher-skills,
	.teacher-details .teacher-award {
		text-align: center;
	}

	.teacher-details .teacher-skills .skill-item,
	.teacher-details .teacher-award li {
		margin-right: 10px;
		margin-bottom: 10px;
	}

	.facility-two .facility-item {
		width: 100%;
	}

	.classes .class-item {
		text-align: center;
	}

	.classes .class-item .schedule li {
		width: 29%;
	}

	.teachers .teacher-item .teacher-image {
		float: initial !important;
	}

	.gallery .gallery-menu li {
		font-size: 16px;
		padding: 0px 10px 10px;
	}

	.gallery .gallery-menu li.active:before {
		bottom: -9px;
	}

	.gallery .gallery-item {
		width: 100%;
	}

	.gallery-two .gallery-item {
		width: 100%;
	}

	.achievements .achievement-item {
		margin-bottom: 50px;
	}

	.event .event-item,
	.event .event-item.wide {
		width: 100%;
	}

	.event-single .event-counter h4 {
		line-height: 1.5;
	}

	.blog-post .post-item .post-content {
		padding: 15px;
	}

	.blog-post .post-item h3 {
		font-size: 30px;
	}

	.single-post .post-content h3 {
		font-size: 30px;
	}

	.single-post .post-content blockquote {
		padding: 0px;
	}

	.single-post .post-content blockquote:before,
	.single-post .post-content blockquote:after {
		display: none;
	}

	.single-post .content-bottom ul {
		float: initial !important;
		margin-bottom: 10px;
	}

	.single-post .post-comments li ul {
		margin-left: 60px;
	}

	.single-post .post-comments .comment-image {
		margin-right: 10px;
	}

	.single-post .post-comments .comment-content .comm-reply {
		float: initial;
		display: block;
	}

	.product .product-item-grid {
		width: 96%;
	}

	.product .product-item-grid .icon:nth-child(3) {
		left: 38%;
	}

	.product .product-item-grid .icon:nth-child(6) {
		right: 38%;
	}

	.product .product-item-grid .pro-content h4 a,
	.product .product-item-grid .pro-content span {
		font-size: 20px;
	}

	.pro-description .review-item .content h5,
	.pro-description .review-item .content span,
	.pro-description .review-item .content .pro-rating {
		float: initial;
	}

	.shop-cart .shipping {
		margin-bottom: 50px;
	}

	.shop-cart .shipping select:nth-child(3),
	.shop-cart .shipping select:nth-child(4) {
		width: 100%;
		float: initial;
	}

	.subscribe form input:first-child {
		width: 65%;
		padding: 13px 20px;
	}

	.subscribe form input:last-child {
		padding: 17px;
	}

	.error-page .error-content h2 {
		font-size: 100px;
		line-height: 100px;
	}

	.error-page .error-content h3 {
		font-size: 26px;
	}

	.error-page .error-content p {
		font-size: 16px;
	}

	footer .footer-bottom {
		text-align: center !important;
	}

	footer .footer-bottom p {
		margin-bottom: 10px;
	}

	footer .footer-bottom .social-default,
	footer .footer-bottom .social-default li {
		float: initial;
	}

	.product .product-item-list .pro-image,
	.product .product-item-list .pro-content {
		width: 100%;
	}
    .classes .class-item .schedule li { 
        padding: 8px;
        font-size: 14px;
        font-weight: 500;
    }
    .m-menu>li:nth-child(8) a {
    color: #a40202;
}
    footer .footer-top {
    padding: 70px 15px 30px;
}

@media only screen and (max-width: 680px) {
	.product .product-item-grid {
		width: 95%;
	}

	.product .product-item-grid .icon:nth-child(3) {
		left: 34%;
	}

	.product .product-item-grid .icon:nth-child(6) {
		right: 34%;
	}
}

@media only screen and (max-width: 480px) {


	.section-header h3 {
		font-size: 26px;
	}

	.page-header h3 {
		font-size: 30px;
	}

	.page-header ul li {
		font-size: 18px;
	}

	.banner .banner-item .banner-content {
		padding: 100px 0px;
		padding-right: 15px;
	}

	.home-3 .banner .banner-item .banner-content {
		padding-top: 200px;
	}

	.banner .banner-item .banner-content h3 {
		font-size: 24px;
	}

	.banner .banner-item .banner-content h2 {
		font-size: 36px;
	}

	.about .about-content h3 {
		font-size: 26px;
	}

	.event-single .event-counter {
		position: static;
	}

	.event-single .event-counter h4 {
		font-size: 20px;
	}

	.event-single .event-counter .clock-item {
		margin-right: 10px;
	}

	.single-post .post-comments li ul {
		margin-left: 20px;
	}

	.product .product-item-grid .icon:nth-child(3) {
		left: 25%;
	}

	.product .product-item-grid .icon:nth-child(6) {
		right: 25%;
	}

	.pro-details .details h3,
	.pro-details .details span {
		font-size: 26px;
	}

	.pro-details .details select {
		padding: 8px 20px;
		margin-right: 0px;
	}

	.pro-description .nav-tabs>li>a {
		margin-right: 20px;
	}

	.pro-description .review-item .image {
		height: 60px;
		width: 60px;
		margin-right: 10px;
	}

	.pagination li {
		margin-right: -2px;
	}

	.subscribe h3 {
		font-size: 30px;
	}

	.subscribe form input:first-child {
		width: 100%;
		margin-bottom: 10px;
	}

	.subscribe form input:last-child {
		margin: 0px;
	}
}


@media only screen and (min-width:1200px) {
	.container {
		max-width: 1170px;
	}
}