@media (max-width: 1199px) {
    .agency .container {
        width: auto;
    }
    .promo-section.style-3 .row > div:first-child {
        padding-left: 7%;
    }
    .works-grid.grid-4-col .work-item {
        width: 50%;
    }
    .works-grid.grid-5-col .work-item {
        width: 25%;
    }
}

@media (max-width: 991px) {
    .section-wrap,
    .section-wrap-lg {
        padding: 80px 0;
        background-attachment: scroll !important;
        background-position: 50% 50% !important;
    }
    .footer-widgets .col-xs-12 {
        margin-bottom: 40px;
    }
    .footer-widgets .col-xs-12:last-of-type {
        margin-bottom: 0;
    }
	.hero-message h1 {
		font-size: 44px;
	}
	.hero-message.text-rotator h1 {
        font-size: 44px;
    }
    .pricing-table.best {
        margin-top: 0;
    }
    .main-news article,
    .catalogue-col,
    .shop-catalogue {
        float: none;
    }
    .sidebar:not(.left-sidebar) {
        padding-left: 15px;
    }
    .magazine .post-single h1.entry-title {
        font-size: 22px;
    }
    .top-space,
    .bottom-space {
        height: 20px;
    }
    .padding-box {
        padding: 20px;
    }
    .hidden-text {
        opacity: 1;
        visibility: visible;
    }
    .icon-boxes.style-5 .service-item-box {
        position: relative;
        display: block;
        -webkit-transform: none;
        -ms-transform: none;
        -o-transform: none;
        transform: none;
        top: auto;
        padding: 0;
    }
    .icon-boxes.style-5 {
        padding-bottom: 50px;
    }
    .icon-boxes.style-5 .container-fluid,
    .service-item-wrap {
        border: none;
    }
    .promo-section.style-3 .row > div:first-child {
        float: left;
        padding: 0 50px;
        margin-bottom: 60px;
    }
    .works-grid.grid-5-col .work-item,
    .works-grid.grid-4-col .work-item {
        width: 33.3333%;
    }
    .page-title {
        margin-top: 60px;
    }
    .page-title.style-3 .container {
        height: 350px;
    }
    .page-title.style-3 .title-text h1 {
        font-size: 42px;
    }
    .footer-type-4 .bottom-footer .row > div {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .call-to-action .cta-button {
        text-align: center;
        margin: 30px 0 10px 0;
    }
    .hero-message {
        padding-left: 40px;
        padding-right: 40px;
    }
	.hero-message h1 {
		font-size: 36px;
	}
    .hero-message.text-rotator h1 {
        font-size: 36px;
    }
    .call-to-action h2,
    .bottom-footer .copyright,
    .bottom-footer .social-icons,
    .footer-payment-systems {
        text-align: center;
    }
    #owl-photography .owl-pagination {
        bottom: 20px;
    }
    #nav-icon {
        right: 20px;
    }
    .nav-tabs.nav-justified>li>a {
        border-bottom: 1px solid transparent;
        border-radius: 0;
    }
    .ecommerce-ordering select {
        margin: 0 auto;
    }
    .ecommerce-ordering {
        width: 100%;
    }
    .single-product .product-description-wrap {
        padding-left: 15px;
    }
    .ecommerce form #customer_details .form-row input,
    .ecommerce form #customer_details .form-row select,
    .ecommerce form #customer_details .form-row textarea,
    .ecommerce form #customer_details label {
        float: left;
        width: 100%;
    }
    .works-grid.grid-5-col .work-item,
    .works-grid.grid-4-col .work-item,
    .works-grid.grid-3-col .work-item {
        width: 50%;
    }
    #ticker {
        width: 100%;
        margin-left: 0;
    }
	.progress-bars h6 {
    font-size: 12px;
	}
}

@media (max-width: 640px) {
    .portfolio-filter a {
        display: block;
        margin: 10px 0;
    }
    .cat-filter {
        display: none;
    }
    .top-space,
    .bottom-space {
        height: 0;
    }
    .padding-box {
        padding: 0;
    }
    .page-title.style-3 .title-text h1 {
        font-size: 32px;
    }
    .page-title.style-3 .container {
        height: 200px;
    }
}

@media (max-width: 540px) {
    .table-wrap {
        overflow-x: scroll;
    }
    .works-grid .work-item {
        width: 100% !important;
    }
    .posts-list .entry-img {
        float: none;
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .product-list .product-img,
    .product-list .product-details,
    .product-list .product-list-details,
    .widget.popular-latest .nav.nav-tabs > li,
    .nav-tabs > li,
    .shop-catalogue .product,
    .promo-banners .promo-banner {
        width: 100%;
    }
    .product-list .product-details {
        margin-top: 30px;
    }
    .nav-tabs > li {
        padding-bottom: 10px;
    }
    .vertical .nav-tabs {
        float: none;
        width: 100%;
    }
    .vertical .nav-tabs li {
        padding-bottom: 0;
    }
    .vertical .nav.nav-tabs > li.active > a {
        right: 0;
        padding-left: 20px;
    }
    .vertical .tab-content {
        border-top: 0;
    }
    .cart_totals .actions {
        float: none;
    }
    .actions > input,
    .actions > div {
        display: block;
        margin: 5px 0;
        width: 100%;
    }
    .shipping-calculator-form button {
        width: 100%;
    }
    .copyright span {
        line-height: 24px;
        margin-bottom: 10px;
    }
    .page-404 h1 {
        font-size: 100px;
    }
}