/*--------------------------------- Responsive Media Quaries -----------------------------*/

@media only screen and (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
}


/* Medium Device = 1200px */

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .header__nav__menu {
        margin-right: 25px;
    }
    .header__nav__menu ul li {
        margin-right: 25px;
    }
    .header__nav__social {
        padding-left: 25px;
    }
    .counter__item::before {
        display: none;
    }
    .counter__content {
        padding: 0px 145px 0 50px;
    }
    .counter__item.second__item {
        margin-top: -210px;
    }
    .counter__item.four__item {
        margin-top: -210px;
    }
    .hero__slider.owl-carousel .owl-dots {
        max-width: 930px !important;
    }
}

@media only screen and (max-width: 1180px) {
    .hero__slider.owl-carousel .owl-item .hero__text {
        top: 5%;
        left: 5%;
    }
}


/* Tablet Device = 768px */

@media only screen and (max-width: 1024px) {
    .hero__slider.owl-carousel .owl-item .hero__text {
        top: 15%;
        left: 5%;
        max-width: 45%;
    }
    .hero__slider.owl-carousel .owl-dots {
        left: 5%;
    }
}

@media only screen and (max-width: 990px) {
    body {
        padding-top: 15px;
    }
    .header__nav__option .header__nav__menu {
        display: none;
    }
    .header__nav__option {
        display: flex;
        justify-content: end;
        padding: 10px 0;
    }
    .header__nav__social a:last-child {
        display: inline-block;
        padding: 0.2rem 0.5rem;
        border: 1px solid #e8e8e8;
        font-size: 24px;
    }
    .header__nav__social {
        margin-top: 0;
    }
    .header .user-menu {
        top: 13px;
        right: 15rem;
    }
    .header.header_fixed .user-menu {
        top: 13px;
    }
    .header__nav__social::before {
        display: none;
    }
    .js-menu-mobile {
        display: block;
        top: 0;
        right: 0;
    }
    .header_fixed .js-menu-mobile {
        top: 10px;
    }
    .header__logo {
        width: 70%;
        padding: 10px 0;
    }
    .header .col-lg-2 {
        display: flex;
        flex-direction: row;
    }
    .services__item__icon {
        float: left;
        margin-right: 20px;
    }
    .services__item h4 {
        margin-bottom: 10px;
    }
    .services__item p {
        padding-left: 90px;
    }
    .hero__slider.owl-carousel .owl-dots {
        bottom: 20px;
    }
    .section-title {
        text-align: center;
    }
    .section-title.team__title {
        text-align: center;
    }
    .section-title h2:after {
        left: calc(50% - 35px) !important;
    }
    .section-title.center-title h2:after {
        right: calc(50% - 35px) !important;
    }
    .services__block__left {
        text-align: center;
        border-bottom: 1px solid #222222;
    }
    .services__block__left .services__title p {
        text-align: justify;
    }
    .services__block__right .services__item {
        padding: 30px 0;
        margin-bottom: 0;
        border-bottom: 1px solid #222222;
    }
    .services__block__right .services__item h4 {
        margin-top: 0;
    }
    .services__block__right .row .col-sm-6:nth-child(4) .services__item {
        margin-bottom: 0;
        border: 0
    }
}

@media only screen and (max-width: 820px) {
    .hero__slider.owl-carousel .owl-item.active .hero__text span {
        margin-bottom: 10px;
    }
    .hero__slider.owl-carousel .owl-item.active .hero__text h2 {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 10px;
    }
    .hero__slider.owl-carousel .owl-item.active .hero__text .primary-btn {
        padding: 10px;
    }
}

@media only screen and (max-width: 768px) {
    .hero__text h2 {
        font-size: 32px;
        line-height: 1.5;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .hero__slider.owl-carousel .owl-dots {
        max-width: 690px !important;
    }
    .services__title {
        margin-bottom: 50px;
    }
    .counter__item {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        transform: rotate(0);
        margin-bottom: 30px;
        width: auto;
    }
    .counter__item::before {
        display: none;
    }
    .counter__content {
        padding: 0;
    }
    .counter__item.second__item {
        margin-top: 0;
    }
    .counter__item.four__item {
        margin-top: 0;
    }
    .counter__item__text {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        transform: rotate(0);
    }
    .counter {
        height: auto;
        padding-top: 100px;
        padding-bottom: 70px;
    }
    .team__item.team__item--second {
        margin-top: 0;
    }
    .team__item.team__item--third {
        margin-top: 0;
    }
    .team__item.team__item--four {
        margin-top: 0;
    }
    .team__btn {
        position: relative;
        padding-top: 50px;
    }
    .about__pic {
        margin-bottom: 50px;
    }
    .about__text {
        padding-left: 0;
    }
    .portfolio__filter li {
        padding: 6px 15px;
    }
    .header .container {
        position: relative;
    }
}


/* Wide Mobile = 480px */

@media only screen and (max-width: 767px) {
    body {
        padding-top: 10px;
    }
    .header {
        border-bottom: 0;
    }
    .header__logo a {
        width: 154px;
    }
    .set-bg {
        padding: 20px 0;
    }
    .services__title {
        margin-bottom: 50px;
    }
    .counter__item {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        transform: rotate(0);
        margin-bottom: 30px;
        width: auto;
    }
    .counter__item::before {
        display: none;
    }
    .counter__content {
        padding: 0;
    }
    .counter__item.second__item {
        margin-top: 0;
    }
    .counter__item.four__item {
        margin-top: 0;
    }
    .counter__item__text {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        transform: rotate(0);
    }
    .counter {
        height: auto;
        padding-top: 100px;
        padding-bottom: 70px;
    }
    .team__item.team__item--second {
        margin-top: 0;
    }
    .team__item.team__item--third {
        margin-top: 0;
    }
    .team__item.team__item--four {
        margin-top: 0;
    }
    .team__btn {
        position: relative;
        padding-top: 50px;
        text-align: center;
    }
    .about__pic {
        margin-bottom: 50px;
    }
    .about__text {
        padding-left: 0;
    }
    .hero__slider.owl-carousel .owl-dots {
        max-width: 100%;
        padding: 0 15px;
        bottom: 0;
        text-align: right;
    }
    .hero__slider.owl-carousel .owl-dots button {
        font-size: 12px;
    }
    .hero__slider.owl-carousel .owl-dots button:after {
        bottom: 0;
    }

    .hero__slider.owl-carousel .owl-item .hero__text {
        position: absolute;
        top: 30px;
        width: 50%;
        max-width: 50%;
        margin-left: 15px;
    }
    .hero__text h2 {
        font-size: 25px;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    .hero__text span {
        margin-bottom: 10px;
    }
    .hero__text .primary-btn {
        padding: 10px;
        font-size: 12px
    }
    .grid-sizer {
        width: calc(50% - 10px);
    }
    .footer__top__social {
        text-align: right;
    }
    .portfolio__filter li {
        margin-bottom: 10px;
    }
    .input__list {
        margin-right: 0;
    }
    .input__list input {
        width: 100%;
        margin-right: 0;
    }
    .contact__map {
        margin-bottom: 40px;
    }
    .team__item {
        margin-bottom: 20px;
    }
    .team .p-0 {
        padding: 0 15px !important;
    }
    .about__pic__item {
        margin-right: 0;
    }
    .blog__details__quote {
        padding: 30px 45px 35px 35px;
    }
    .cart-product-item {
        padding: 15px 0;
        border-bottom: 1px solid #e8e8e8;
    }
    .cart-product-info {
        margin-bottom: 10px;
        line-height: 2rem;
    }
    .cart-product-name {
        font-size: 16px;
        font-weight: bold;
        margin: 10px 0;
    }
}


/* Small Device = 320px */

@media only screen and (max-width: 479px) {
    .header .user-menu {
        top: 13px;
        right: 9rem;
    }
    .js-menu-mobile {
        top: 10px;
        right: 10px;
    }
    .home-slider .slider-image {
        padding: 1rem;
    }
    .home-slider .slider-text {
        padding-left: 10px;
    }
    .home-slider .slider-text .slider-heading .slider-type {
        font-size: 1.2rem;
    }
    .home-slider .slider-text .slider-heading {
        font-size: 1.4rem;
    }
    .home-slider .slider-text .slider-description{
        display: none;
    }
    .home-slider .slider-text {
        margin-top: 20px;
    }.home-slider .slider-text > a {
        display: none;
    }
    .hero__slider.owl-carousel .owl-item .hero__text {
        left: 0;
        top: 20px;
    }
    .hero__slider.owl-carousel .owl-item.active .hero__text span {
        font-size: 14px;
        margin-bottom: 5px;
    }
    .hero__text .primary-btn {
        display: none;
    }
    .hero__slider.owl-carousel .owl-item.active .hero__text h2 {
        font-size: 18px;
        line-height: 1.2;
        margin-bottom: 5px;
    }
    .hero__slider.owl-carousel .owl-dots {
        width: 100%;
        left: 0;
        right: 0;
    }
    .slick-dots {
        bottom: 10px;
        width: 100%;
        text-align: center;
}
    .pagination__option .arrow__pagination.left__arrow {
        margin-right: 15px;
    }
    .pagination__option .arrow__pagination.right__arrow {
        margin-left: 10px;
    }
    .blog__details__quote {
        padding: 30px 40px 35px 35px;
    }
    .footer__option__item {
        border-bottom: 1px solid #222222;
        padding-bottom: 30px;
    }
    .callto.set-bg {
        background-position: top right;
    }
    .callto.set-bg .callto__text {
        text-shadow: 2px 2px #3b3b3b;
    }
    .section-title h2 {
        font-size: 28px;
    }
}
