/* =========================== START RESPONSIVE ===================== */
@media (max-width: 1400px) {
    .slider .slide-text {
        margin: 200px auto 0;
    }
}

@media (max-width: 1300px) {
    .classes-section .slider-dots {
        height: 500px;
    }
}

@media (max-width: 1140px) {
    .slider .slide-text {
        margin-top: 150px;
    }
}

@media (max-width: 1040px) {
    .slider .slide-text {
        margin-top: 115px;
    }
}

@media (max-width: 940px) {
    .slider .slide-text {
        margin-top: 50px;
    }
}

@media (max-width: 880px) {
    .slider .slide-text {
        display: none;
    }
}
@media (max-width: 768px) {
	.coupon input[name="coupon_code"] {
		width: 48% !important;
	}
}
@media (max-width: 767px) {
    .shop-item {
        max-width: 300px;
        margin: 0 auto;
    }
    .path-section h3 {
        font-size: 40px;
    }
    .woocommerce #content table.cart td.actions .coupon .input-text, .woocommerce table.cart td.actions .coupon .input-text, .woocommerce-page #content table.cart td.actions .coupon .input-text, .woocommerce-page table.cart td.actions .coupon .input-text {
        width: 48%;
    }
}

@media (max-width: 600px)
{
	/* navigation menu */
    .menu > ul {
        text-align: left;
    }  
	.menu ul li ul li:first-of-type {
		margin-top: 0;
	}
	.menu .navbar-collapse > ul {
		margin: 15px 0 0;
	}
}

@media only screen and (min-width: 992px) and (max-width: 1199px)
{
	/* woocommerce */
    .woocommerce a.button {
        font-size: 12px;
        padding: 6px 8px;
    }
	
	/* woocommerce widget */
    .widget_product_search #searchform input[type="submit"] {
        font-size: 14px;
        padding: 8px;
    }
    .woocommerce-page table.cart td.actions .input-text {
        width: 140px;
    }
}

@media only screen and (min-width: 320px) and (max-width: 480px) {
    .all-socials li:first-child {
        width: 100%;
    }

	/* woocommerce cart table */
    .woocommerce form .cart thead {
        display: none;
    }
    .woocommerce form .cart,
	.woocommerce form .cart table tr,
	.woocommerce form .cart table tr td,
	.woocommerce form .cart table .cart_item td table,
	.woocommerce form .cart table .cart_item td table tr,
	.woocommerce form .cart table .cart_item td table tr td {
        width: 100%;
        display: table !important;
    }
    .woocommerce table.cart tr:last-child td {
        padding-left: 0 !important;
        padding-top: 20px;
    }
    .woocommerce form table td[class*="col-"],
	.woocommerce form table th[class*="col-"] {
        display: table;
    }
    .woocommerce table.cart td, .woocommerce-page table.cart td {
        padding-left: 52% !important;
        border: none;
        position: relative;
		display: inline-block;
    }
    .woocommerce form .cart .cart_item {
        border-bottom: 1px solid #000;
        display: block;
        margin-bottom: 10px;
		padding-bottom: 10px;
    }
    .woocommerce form .cart td:before {
		/* Now like a table header */
        position: absolute;
		/* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-top: 0px;
        white-space: nowrap;
        font-family: "Montserrat",sans-serif;
        color: #4c4c4c;
        font-size: 13px;
        font-weight: 400;
        letter-spacing: 1px;
        text-transform: uppercase;
    }
	
	/*
	Label the data
	*/
    .woocommerce form .cart td:nth-of-type(1):before {
        content: "Product Name";
    }
    .woocommerce form .cart td:nth-of-type(2):before {
        content: "Price";
    }
    .woocommerce form .cart td:nth-of-type(3):before {
        content: "Quantity";
    }
    .woocommerce form .cart td:nth-of-type(4):before {
        content: "Total";
    }
    .woocommerce form .cart td table td:before,
	.actions:before {
        display: none;
    }
}

/* 06 */
@media only screen and (min-width: 1651px) and (max-width: 1850px) {
	.classes-slider .flex-control-nav.flex-control-paging {		
		left: 18.5%;
	}
	:root .classes-section .slide-wrapper .slide .slide-text {
		margin-left: 18.5%;
	}
}
@media only screen and (min-width: 1551px) and (max-width: 1650px) {
	.classes-slider .flex-control-nav.flex-control-paging {		
		left: 16.5%;
	}
	:root .classes-section .slide-wrapper .slide .slide-text {
		margin-left: 16.5%;
	}
	body.boxed .classes-slider .flex-control-nav.flex-control-paging {
		left: 0;
	}
}
@media only screen and (min-width: 1441px) and (max-width: 1550px) {
	.classes-slider .flex-control-nav.flex-control-paging {		
		left: 12.5%;
	}
	:root .classes-section .slide-wrapper .slide .slide-text {
		margin-left: 12.5%;
	}
	body.boxed .classes-slider .flex-control-nav.flex-control-paging {
		left: 0;
	}
	.slider .slide-text {
		margin-top: 250px;
	}
}
@media only screen and (min-width: 1367px) and (max-width: 1440px) {
	.classes-slider .flex-control-nav.flex-control-paging {		
		left: 10.5%;
	}
	:root .classes-section .slide-wrapper .slide .slide-text {
		margin-left: 10.5%;
	}
	.slider .slide-text {
		margin-top: 250px;
	}
}
@media only screen and (min-width: 1201px) and (max-width: 1366px) {
	.classes-slider .flex-control-nav.flex-control-paging {
		min-height: 500px;
		left: 7%;
	}
	:root .classes-section .slide-wrapper .slide .slide-text {
		margin-left: 7%;
	}
	body.boxed .classes-slider .flex-control-nav.flex-control-paging {
		left: 0;
	}
	.classes-slider .flex-control-nav.flex-control-paging {
		padding: 25px 0;
	}
	.slider .slide-text h2 {
		font-size: 40px;
		line-height: 1;
		margin-bottom: 15px;
	}
}
@media only screen and (min-width: 992px) and (max-width: 1200px)
{
	/* user menu */
	.user-menu { 
		    float: right;
		list-style: outside none none;
		margin-bottom: 0;
		text-align: right;
		width: 178px;
	}
	.user-menu .user-acc:hover ul {
		right: 71px;
	}
	.user-menu > li {
		display: inline-block;
		padding-bottom: 5px;
	}
	.menu-toggle {
		display: none;
	}
	.user-icon {
		background-image: url("../images/trainer.png");
		width: 25px;
		height: 25px; 
		background-size: 25px 25px;
		float: left;
	}
	.cart-icon {
		background-image: url("../images/cart.png");
		width: 25px;
		height: 25px;
		background-size: 25px 25px;
		float: right;
		list-style: outside none none;
		margin-left: 10px;
	}
	.classes-slider .flex-control-nav.flex-control-paging {
		height: 500px;
		left: 20px;
	}
	:root .classes-section .slide-wrapper .slide .slide-text {
		margin-left: 20px;
	}
	.classes-slider .flex-control-nav.flex-control-paging {
		padding: 10px 0;
	}

	.classes-slider .flex-control-nav.flex-control-paging a.flex-active {
		font-size: 60px;
	}

	.slider .slide-text h4 {
		margin-bottom: 10px;
	}

	.slider .slide-text h2 {
		line-height: 1;
		margin-bottom: 10px;
		font-size: 40px;
	}

	.trainers-section .container {
		padding: 0;
	}
	.styled {
		text-transform: uppercase;
		margin-bottom: 30px;
		color: #999;
		font-size: 27px;
		border-bottom: 1px dotted #ccc;
		padding-bottom: 10px;
	}
	.shop-section .shop-items .shop-item .item-hover .item-hover-bg {
		position: absolute;
		top: 0;
		margin: auto;
		bottom: 0;
		left: 0;
		right: 0;
		opacity: 0;
		filter: alpha(opacity=0);
		z-index: 2;
	}
	.shop-items .shop-item .add_to_cart_button,
	.shop-items .shop-item .product_type_simple {
		background: none repeat scroll 0 0 transparent;
		border: 0 none;
		border-radius: 0;
		box-shadow: none;
		color: #fff;
		cursor: pointer;
		display: inline-block;
		font-family: "Montserrat",sans-serif;
		font-size: 15px;
		font-weight: 700;
		line-height: 1em;
		margin: 0;
		overflow: visible;
		padding: 0;
		right: 0;
		left: 0;
		top: 50%;
		text-align: center;
		position: absolute;
		text-decoration: none;
		text-transform: uppercase;
		text-shadow: inherit;
		white-space: normal;
		z-index: 3;
		display: none;
	}

	.shop-items .shop-item .item-hover:hover .add_to_cart_button,
	.shop-items .shop-item .item-hover:hover .product_type_simple,
	.shop-items .shop-item .item-hover:hover .add_to_cart_button:before,
	.shop-items .shop-item .item-hover:hover .product_type_simple:before {
		display: inline-block;
	}

	.shop-items .shop-item .add_to_cart_button:before,
	.shop-items .shop-item .product_type_simple:before {
		background-image: url("images/cart.html");
		content: "";
		height: 25px;
		margin: 0 auto;
		position: absolute;
		top: -31px;
		left: 0;
		right: 0;
		width: 24px;
		display: none;
	}

	.shop-items .shop-item .add_to_cart_button:hover,
	.shop-items .shop-item .product_type_simple:hover {
		background: none repeat scroll 0 0 transparent;
	}
	.our-clients-logo {
		margin-bottom: 25px;
		position: relative;
	}
	.woocommerce .widget_price_filter .ui-slider .ui-slider-range, .woocommerce-page .widget_price_filter .ui-slider .ui-slider-range {
		background-color: #ea2e49;
		background-image: none;
		border: 0 none;
		box-shadow: none;
	}
	.woocommerce .widget_price_filter .ui-slider .ui-slider-handle, .woocommerce-page .widget_price_filter .ui-slider .ui-slider-handle {
		background-color: #ea2e49;
		background-image: none;
		border: 0 none;
		box-shadow: none;
	}
}

@media only screen and (min-width: 768px) and (max-width: 991px)
{
	.menu .navbar-collapse > ul {
		margin: 20px 0 0;
	}
	.styled {
		text-transform: uppercase;
		margin-bottom: 30px;
		color: #999;
		font-size: 27px;
		border-bottom: 1px dotted #ccc;
		padding-bottom: 10px;
	}
	.classes-section .slide-wrapper .white-box {
		width: 62%;
	}
	:root .classes-section .slide-wrapper .slide .slide-text {
		margin-left: 0;
	}
	.classes-section .slide-wrapper .box-2 {
		width: 38%;
	}
	.shop-section .shop-items .shop-item .item-hover .item-hover-bg {
		position: absolute;
		top: 0;
		margin: auto;
		bottom: 0;
		left: 0;
		right: 0;
		opacity: 0;
		filter: alpha(opacity=0);
		z-index: 2;
	}
	.our-clients-logo {
		margin-bottom: 25px;
		position: relative;
	}
	.woocommerce .widget_price_filter .ui-slider .ui-slider-range, .woocommerce-page .widget_price_filter .ui-slider .ui-slider-range {
		background-color: #ea2e49;
		background-image: none;
		border: 0 none;
		box-shadow: none;
	}
	.woocommerce .widget_price_filter .ui-slider .ui-slider-handle, .woocommerce-page .widget_price_filter .ui-slider .ui-slider-handle {
		background-color: #ea2e49;
		background-image: none;
		border: 0 none;
		box-shadow: none;
	}
	
	.timetable .timetable-head li {
		font-size: 13px;
	}
}

@media only screen and (min-width: 319px) and (max-width: 767px)
{
	.info-section .info-details.info-details-center,
    .info-section .info-details {
        margin-top: 0;
    }
	:root .classes-section .slide-wrapper .slide .slide-text {
		margin-left: 0;
	}
	.trainers-slider .item {
		margin: 0;
	}
	.trainers-slider.blog-post .item img { 
		width: 100%;
	}
	.trainers-section .container {
		padding: 0;
	}
	
	.tesla-carousel-items .owl-buttons .owl-prev {
		margin-left: 12px;
	}
	.tesla-carousel-items .owl-buttons .owl-next {
		margin-right: 12px;
	}
	.classes-section {
		overflow: visible;
	}
	.classes-section .slide-wrapper .white-box {
		width: 55%;
	}
	.classes-section .slide-wrapper .box-2 {
		width: 45%;
	}
	.trainer.animated.wow.bounceInLeft.animated > img {
		width: 100%;
	}
	.contact-section > .container { padding: 0; }
	iframe, img, figure {
		height: auto;
	}
	.our-clients-logo {
		margin-bottom: 25px;
		position: relative;
	}
	.woocommerce .widget_price_filter .ui-slider .ui-slider-range, .woocommerce-page .widget_price_filter .ui-slider .ui-slider-range {
		background-color: #ea2e49;
		background-image: none;
		border: 0 none;
		box-shadow: none;
	}
	.woocommerce .widget_price_filter .ui-slider .ui-slider-handle, .woocommerce-page .widget_price_filter .ui-slider .ui-slider-handle {
		background-color: #ea2e49;
		background-image: none;
		border: 0 none;
		box-shadow: none;
	}
	
	.timetable-head {
		display: none;
	}
	
	.timetable ul li {
		position: relative;
		padding: 35px 0 15px 0;
		min-height: 91px;
	}
	
	.timetable ul li:first-child {
		width: 100%;
	}
	
	.timetable ul li {
		border: 1px solid #e1e1e1;
		width: 25%;
	}
	
	.timetable-item ul li:before{
		font-size: 15px;
		width: 100%;
		min-height: 20px;
		text-align: center;
		background-color: #fff;
		line-height: 25px;
		text-align: center;
		display: inline-block;
		border-bottom: 1px solid #C3C3C3;
		color: #000;
		position: absolute;
		top: 0;
		left: 0;
	}
	
	.timetable-item ul li:nth-child(2):before {
		content: "Monday";
	}
	
	.timetable-item ul li:nth-child(3):before {
		content: "Tuesday";
	}
	
	.timetable-item ul li:nth-child(4):before {
		content: "Wednesday";		
	}
	
	.timetable-item ul li:nth-child(5):before {
		content: "Thursday";		
	}
	
	.timetable-item ul li:nth-child(6):before {
		content: "Friday";	
	}
	
	.timetable-item ul li:nth-child(7):before {
		content: "Saturday";		
	}
	
	.timetable-item ul li:nth-child(8):before {
		content: "Sunday";		
	}
}
@media only screen and (min-width: 319px) and (max-width: 640px)
{
	.classes-section .slide-wrapper .white-box p {
		max-height: 156px;
		overflow: hidden;
	}
	.home-flexslider .flex-direction-nav {
		display: none;
	}
}
@media (min-width: 992px)
{
	/* Navigation Menu */
	.navbar-nav > li > .dropdown-menu .dropdown-menu {
		right: 100%;
		top: 0;
		position: absolute;
	}
	.navbar-nav > li > .dropdown-menu .caret {
		border-bottom: 4px solid transparent;
		border-right: 4px solid #fff;
		border-top: 4px solid transparent;
		margin-left: 6px;
	}
	.navbar-nav > li > .dropdown-menu li .dropdown-menu li .dropdown-menu li .dropdown-menu li .dropdown-menu li .dropdown-menu {
		left: 100%;
		margin-top: auto;
		right: auto;
	}
	.navbar-nav > li > .dropdown-menu li .dropdown-menu li .dropdown-menu li .dropdown-menu li .dropdown-menu li .dropdown-menu li .dropdown-menu li .dropdown-menu li .dropdown-menu {
		right: 100%;
		margin-top: auto;
		left: auto;
	}
	.is-sticky .user-menu .user-acc:hover ul,
	.is-sticky .user-menu .cart-ddl:hover ul {
		top: 30px;
	}
	.user-menu .menu-toggle {
		display: none;
		margin: 0;
	}
	.user-menu .user-acc:hover ul,
	.user-menu .cart-ddl:hover ul {
		display: inline-block;
		top: 23px;
	}
	.user-menu .user-acc:hover ul {
		right: 61px;
	}
	.user-menu .cart-ddl:hover ul {
		right: 21px;
	}
	.dropdown-menu .dropdown-menu {
		position: relative;
	}
	ul.nav.navbar-nav > li > ul > li,
	ul.nav.navbar-nav > li:hover > ul {
		display: block;
	}
	.dropdown:hover > .dropdown-menu {
		display: block;
	}
	.navbar-nav > li:last-of-type > .dropdown-menu {
		right: 12px;
	}
	.navbar-nav > .dropdown > .dropdown-menu {
		right: auto;
	}

}

@media (max-width: 991px)
{
	/* Navigation Menu */
	.navbar-nav .dropdown .dropdown-menu {
		padding: 0 0 0 15px;
	}

    .home-page .is-sticky .responsive-menu,
    .single-page .is-sticky .responsive-menu {
        margin-top: -42px;
    }
    .home-page .responsive-menu,
    .single-page .responsive-menu {
        margin-top: -75px;
        display: block;
    }
    .responsive-menu {
        margin-top: -42px;
        display: block;
    }
	.open > .dropdown-menu {
		position: absolute;
	}
	.nav.navbar-nav,
	.navbar-main-collapse,
	.navbar-nav .dropdown .dropdown-menu	{
		width: 100%;
	}

	/* navbar collapse */
	.navbar-collapse {
		margin-top: 10px;
		background-color: rgba(0, 0, 0, 0.6);
		padding: 0;
	}
	.menu {
		position: relative;
	}
    .menu > ul {
        min-width: 140px;
        position: absolute;
        right: 0;
        z-index: 100;
        padding: 15px 10px 0;
        background: rgba(0, 0, 0, 0.6);
        margin-top: -40px;
    }
    .menu ul li {
        margin-left: 0;
        display: inline-block;
        width: 100%;
    }
    .menu ul li a {
        text-transform: uppercase;
		display: block;
		text-align: left;
		font-size: 12px;
    }
    .menu ul li a:hover {
        color: #f1f1f1;
    }
    .menu ul li ul li a {
        text-transform: none;
    }
    .menu ul li ul li a:hover {
        color: #f1f1f1;
    }
	.menu .navbar-collapse > ul {
		margin: 0;
	}

	/* user menu */
	.user-menu {
		float: right;
		list-style: outside none none;
		/*margin-top: 20px;*/
		margin-bottom: 0;
		text-align: right;
		width: 178px;
	}
	.user-menu > li {
		display: inline-block;
		width: auto;
		margin-left: 8px;
		margin-right: 8px;
	}
	.user-menu > li.menu-toggle {
		margin-right: 0;
	}
	.user-icon {
		background-image: url("../images/trainer.png");
		width: 25px;
		height: 25px;
		background-size: 25px 25px;
		float: left;
	}
	.cart-icon {
		background-image: url("../images/cart.png");
		width: 25px;
		height: 25px;
		background-size: 25px 25px;
		float: right;
		list-style: outside none none;
	}
	.navbar-collapse.collapse {
		display: none !important;
		margin-right: 0;
	}
	.navbar-collapse.collapse.in {
		display: block !important;
	}
        span.badge.badge-pill.badge-primary.badge-up {
    position: absolute;
    margin-top: -7px;
    margin-left: 15px;
    
}

	/* navbar toggle */
    .navbar-toggle {
		color: #fff;
		display: block;
		font-size: 25px;
		padding: 0;
		margin: 0;
    }
    .navbar-toggle .icon-bar {
        background-color: #fff;
    }

	/* sticky menu */
	.is-sticky .navbar {
		min-height: 18px;
	}
    .is-sticky .menu>ul {
        margin-top: 12px;
    }
    .home-page .is-sticky .menu ul li ul li a {
		text-transform: capitalize;
    }
	.is-sticky .navbar-collapse {
		padding: 0;
	}

	/* blog home */
	.index-page .blog-entry.sticky .entry-hover, .single-page .blog-entry.sticky .entry-hover {
		text-align: left;
		width: 66%;
	}

	.index-page {
		margin-top: 20px;
	}

	/* classes section */
	.classes-slider .flex-control-nav.flex-control-paging {
		display: none;
	}
    .classes-section .slider-dots {
        display: none;
    }
    .classes-section .slide-wrapper .white-box {
        margin-left: 0;
    }

    .carousel-items .col-md-6,
    .carousel-items .col-md-3,
    .carousel-items .col-md-2,
    .carousel-items .col-md-4 {
        width: 100%;
    }

	/* statics section*/
	.statistics-section .statistic {
		margin-bottom: 80px;
	}

	/* info section */
	.info-section .under-button {
		margin-bottom: 0px;
	}
	.img-box {
		text-align: center;
		margin: 0 auto 30px;
	}
	.info-section .info-details.info-details-center,
	.info-section .info-details {
		margin-top: 0;
	}
	.info-section .col-md-4 {
		padding: 0;
	}

	/* footer */
	footer {
		padding-top: 120px;
	}
	footer .logo {
		position: relative;
	}
	footer .widget {
		margin-bottom: 50px;
	}
	footer p.copywrite {
		text-align: center;
	}

	/* subscription section */
    .subscription-section h4 {
        margin-bottom: 10px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1200px)
{
	.user-menu .user-acc:hover ul {
	
            right: 72px;
	}
}

@media only screen and (min-width: 319px) and (max-width: 480px)
{
	.logo {
		width: 60px;
	}
/*///update*/   
        .slider-section{
            margin-bottom: 0px;
        }
        .info-section .under-button {
       padding-top: 18px;
        }
        
       .info-section .under-button span {
    margin-top: 5px;
    margin-bottom: 5px;
       } .info-section .info-details{
           min-height: auto;
       }
        
        
/*///update*/	
	/* navigation menu */
	.menu {
		position: relative;
	}

	/* user menu */
	.user-menu {
		float: right;
		list-style: outside none none;
		text-align: right;
		width: 178px;
		margin-top: 20px;
		margin: 0;
	}
	.user-icon {
		background-image: url("../images/trainer.png");
		width: 25px;
		height: 25px;
		background-size: 25px 25px;
		float: left;
	}
	.cart-icon {
		background-image: url("../images/cart.png");
		width: 25px;
		height: 25px;
		background-size: 25px 25px;
		float: right;
		list-style: outside none none;
		margin-left: 10px;
	}
	
	/* classes section */
	.classes-section .slide-wrapper .white-box {
		padding: 25px;
	}
	.classes-section .slide-wrapper .white-box .button-box {
		font-size: 13px;
		width: 145px;
	}
	
	/* blog entry */
	.entry-hover.d-bg-c,
	.blog-entry .entry-hover h2, 
	.blog-entry .entry-hover h2 a,
	.blog-post-section .blog-entry .entry-hover p {
		text-align: right;
	}
	.sticky .entry-hover.d-bg-c,
	.sticky.blog-entry .entry-hover h2, 
	.sticky.blog-entry .entry-hover h2 a,
	.blog-post-section .sticky.blog-entry .entry-hover p {
		text-align: left;
	}
	
	/* woocommerce */
	.woocommerce .cart_item .product-quantity .quantity {
		margin-left: 0;
	}
	.coupon input[name="apply_coupon"] {
		padding: 6px 10px;
	}
	
	.timetable ul li:first-child {
		width: 100%;
	}
	
	.timetable ul li {
		border: 1px solid #e1e1e1;
		width: 50%;
	}

}