/*Layout*/

@media only screen and (max-width:1599px) {
    .about-img {
        height: 525px;
    }

    .feature-section-text {
        padding-right: 0;
        padding-left: 0;
    }

    .blog-page .blog-image {
        height: 275px;
    }
}

@media only screen and (max-width:1399px) {
    .feature-section-text {
        padding-right: 0;
        padding-left: 0;
    }

    .about-img {
        height: 450px;
    }

    .footer-address {
        padding: 35px 10px;
    }

    .footer-address-first {
        padding-left: 30px;
    }

    .brand-item img {
        height: 120px;
    }

    .contact_margin {
        padding-left: 22px;
    }

    .team_slider_area .container {
        max-height: initial;
    }

    .brand-area {
        padding-top: 60px;
        padding-bottom: 40px;
    }

    .blog-page .blog-image {
        height: 235px;
    }
    .blog-item.effect-item .blog-image {
        height: 170px;
    }

    .first-blog .blog-image {
        height: 365px;
    }
}

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

    .header-area:before,
    .header-area:after {
        display: none;
    }

    ul.nav-menu .mega-menu ul {
        margin-left: 25px;
    }

    .service-item {
        padding: 40px 15px 35px;
        width: 280px;
    }

    .service-item img {
        margin-bottom: 15px;
    }

    .service-item p {
        margin-bottom: 15px;
    }

    .testimonial-texarea h1 {
        font-size: 40px;
    }

    .testimonial-innerbox ul li {
        max-width: 210px;
        padding: 35px 40px 28px 40px;
    }

    .testimonial-innerbox ul li i {
        margin-bottom: 18px;
    }

    .blog-author span {
        padding-right: 15px;
    }

    .about-img {
        height: 380px;
    }

    .feature-section-text {
        padding-right: 0;
        padding-left: 0;
    }

    .header-info li {
        font-size: 14px;
    }

    .header-area .current {
        font-size: 14px;
    }

    .footer-address {
        padding: 35px 0px 20px 0px !important;
        border: 0;
    }

    .brand-item img {
        height: 120px;
    }

    .contact_margin {
        padding-left: 12px;
    }

    .team_slider_area .container {
        max-height: initial;
    }

    .team-photo {
        height: 190px;
    }

    .team-text {
        padding: 20px 20px;
    }

    .dash-item {
        padding: 30px 20px;
    }

    .dash-item h4 {
        font-size: 14px;
    }

    .brand-area {
        padding-top: 60px;
        padding-bottom: 30px;
    }

    .home_blog_slider {
        max-height: 555px;
    }

    .blog-page .blog-image {
        height: 195px;
    }
     .first-blog .blog-image {
        height: 305px;
    }
}


/*Tablet Layout*/

@media only screen and (max-width:991px) {
    .header-social {
        text-align: center;
    }

    .header-social li {
        margin-right: 15px;
    }

    .header-social li:last-child {
        margin-right: 0;
    }

    .header-social li:before {
        display: none;
    }

    .header-info {
        text-align: center;
    }

    .header-info li {
        padding-top: 6px;
    }

    .header-info li:before {
        height: 50%;
        background-color: #e9e9e9;
        top: 9px;
        left: -17px;
    }

    .logo img {
        height: 42px;
    }

    .main-menu {
        display: none;
    }

    .mobile-menu,
    .mobile-menuicon {
        display: block;
        position: relative;
        top: 40px;
    }

    .header-info ul {
        justify-content: center;
        gap: 0 15px;
    }

    .searchbar .search-button {
        right: 98px;
    }

    .searchbar .cart-button {
        right: 62px;
    }

    .slider-text.left p {
        margin-right: 0px;
    }

    .slider-text.center p {
        margin-left: 0px;
        margin-right: 0px;
    }

    .why-us-area {
        padding-top: 30px;
        padding-bottom: 60px;
    }

    .why-us-item {
        min-height: auto;
        padding: 30px 15px;
    }

    .why-icon {
        width: 95px;
        height: 95px;
    }

    .why-us-item h3 {
        font-size: 26px;
        margin: 0 0 15px;
    }

    .why-us-item p {
        margin: 0;
    }

    .main-headline .title {
        font-size: 44px;
    }

    .main-headline p {
        margin: 0;
    }

    .about-area {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .feature-section-text h2 {
        line-height: 1.3;
    }

    .coustom-container {
        max-width: 720px;
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto;
    }

    .about-skey {
        margin: 0;
    }

    .about-skey:before,
    .about-skey:after {
        display: none;
    }

    .service-area {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .service-coloum-area {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .service-coloum:nth-child(2),
    .service-coloum:nth-child(5) {
        margin-top: 0px;
    }

    .service-item {
        width: 315px;
    }

    .service-coloum:nth-child(1) .service-item,
    .service-coloum:nth-child(2) .service-item,
    .service-coloum:nth-child(3) .service-item {
        background-image: linear-gradient(180deg, hsla(0, 0%, 100%, 0), #fff);
        background-color: #fff;
    }

    .counter-row {
        overflow: hidden;
        width: 100%;
        padding: 20px 50px 50px 50px;
    }

    .portfolio-area {
        padding-top: 260px;
        padding-bottom: 60px;
    }

    .home-button.ser-btn {
        padding-bottom: 220px;
    }

    .testimonial-area {
        padding-top: 30px;
        padding-bottom: 60px;
    }

    .testimonial-innerbox ul li {
        max-width: 47.8%;
    }

    .team-area {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .subscribe-area {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .main-headline .title {
        font-size: 42px;
    }

    .blog-area {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .brand-area {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .main-footer {
        padding-top: 10px;
    }

    .footer-logo {
        padding: 15px 0 0 0;
        text-align: center;
    }

    .footer-area {
        padding-top: 30px;
        padding-bottom: 60px;
    }

    .topfooter-bg {
        display: none;
    }

    .footer-logo img {
        max-height: 70px;
    }

    .footer-address {
        margin: 0;
        padding: 25px;
        border: none;
    }

    .footer-address ul li {
        width: 100%;
    }

    .brand-item img {
        height: 110px;
    }

    .textwidget {
        padding-right: 0px;
    }

    .footer-copyrignt {
        padding-top: 25px;
        padding-bottom: 30px;
    }

    .about1-inner {
        position: relative;
        transform: translate(0, 0);
    }

    .sm_pr_0 {
        padding-right: 0 !important;
    }

    .about-img {
        height: 575px;
    }

    .feature-section-text {
        padding-right: 0;
        padding-left: 0;
    }

    .contact_margin {
        margin-top: 0;
        padding-left: 12px;
    }

    .testimonial-texarea {
        max-height: 100%;
    }
}

@media (min-width: 768px) and (max-width: 991.99px) {

    .doc-search-section .box,
    .doc-search-section .doc-search-button {
        display: inline-block;
    }

    .v-mid-content .select2-container,
    .doc-search-section .doc-search-button button {
        width: 340px !important;
    }

    .banner_slider_area {
        height: 500px;
    }

    .testimonial-item {
        padding: 45px;
    }

    .testimonial-texarea {
        max-height: 100%;
    }

    .faq_img {
        margin-top: 50px;
    }

    .testimonial_slider .slick-dots {
        bottom: 80px;
    }

    .team_slider_area .container {
        max-height: initial;
    }

    .banner-area {
        padding: 50px 0px;
    }

    .team-photo {
        height: 190px;
    }

    .lawyer-search .s-box,
    .lawyer-search .s-button {
        width: 50%;
    }

    .lawyer-search .s-container {
        padding: 20px 15px 10px 15px;
    }

    .team-detail-photo {
        height: 300px;
    }

    .header-area {
        padding: 10px 0px;
    }

    .dashboard-area .dashboard-widget {
        margin-bottom: 25px;
    }

    .service_details_team .team-photo {
        height: 300px;
    }

    .footer-address {
        padding: 0px 0px 25px 0px !important;
    }

    .top-footer {
        padding: 40px 0px 20px 0px;
    }

    .brand-area {
        padding-top: 60px;
        padding-bottom: 30px;
    }

    .blog-recent-item:last-child {
        margin-bottom: 0;
    }

    .home_blog_slider {
        max-height: 500px;
    }

    .blog-page .blog-image {
        height: 220px;
    }
    .first-blog .blog-image {
        height: 225px;
    }
}


@media only screen and (max-width:767px) {
    .service-item {
        width: 225px;
        padding: 30px 10px 25px;
    }

    .testimonial-innerbox ul li {
        max-width: 46.9%;
    }

    .team-carousel {
        margin-top: 20px;
    }

    .blog-carousel {
        margin-top: 110px;
    }

    .owl-carousel.blog-carousel .owl-dots {
        text-align: center;
    }

    .main-headline .title {
        font-size: 36px;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .footer-area {
        padding-top: 20px;
        padding-bottom: 30px;
    }

    .footer-address {
        margin: 0;
        padding: 20px 0px;
        border: none;
    }

    .footer-address ul li {
        width: 100%;
        padding: 0px 5px 0px 32px;
    }

    .footer-address ul li:before {
        display: none;
    }

    .footer-address ul li:last-child {
        padding: 0px 0px 0px 40px;
    }

    .footer-address ul li i {
        font-size: 26px;
    }

    .footer-copyrignt {
        text-align: center;
        padding-top: 15px;
        padding-bottom: 20px;
    }

    .footer-social {
        float: none;
        margin-top: 7px;
    }

    #main-slider select,
    #search-button {
        margin-top: 1px;
    }

    .about-img {
        height: 425px;
    }

    .feature-section-text {
        padding-right: 0;
        padding-left: 0;
    }

    .owl-testimonial .owl-dots {
        bottom: 60px;
    }

    .brand-item img {
        height: 120px;
    }

    .testimonial-item {
        padding: 30px;
    }

    .testimonial-texarea {
        max-height: 100%;
    }

    .faq_page_item {
        border: 0;
        padding: 0;
    }

    .banner_slider_area {
        height: 600px;
    }

    .testimonial_slider {
        height: auto;
    }

    .testimonial_slider .slick-dots li button {
        display: none;
    }

    .team_slider_area .container {
        max-height: initial;
    }

    .team_slider_area .container {
        max-height: initial;
    }

    .banner-text h1 {
        font-size: 30px;
        line-height: initial;
    }

    .team-detail-photo {
        height: 380px;
    }

    .banner-area {
        padding: 50px 0px;
    }

    .team-photo {
        height: 220px;
    }

    .lawyer-search .s-box,
    .lawyer-search .s-button {
        width: 50%;
    }

    .lawyer-search .s-container {
        padding: 20px 15px 10px 15px;
    }

    .header-area {
        padding: 10px 0px;
    }

    .dashboard-area .dashboard-widget {
        margin-bottom: 25px;
    }

    .service_details_team .team-photo {
        height: 460px;
    }

    .payment-select a .payment-logo {
        width: 160px !important;
    }

    .faq-header button.faq-button:before {
        height: 100%;
    }

    .faq-header button.faq-button {
        padding-right: 80px;
        font-size: 18px !important;
    }

}

@media (min-width: 576px) and (max-width: 767px) {
    .footer-address {
        padding: 0px 0px 25px 0px !important;
    }

    .top-footer {
        padding: 40px 0px 20px 0px;
    }

    .brand-area {
        padding-top: 60px;
        padding-bottom: 35px;
    }

    .blog-recent-item:last-child {
        margin-bottom: 0;
    }

    .home_blog_slider {
        max-height: 545px;
    }

    .blog-page .blog-image {
        height: 160px;
    }
    .first-blog .blog-image {
        height: 345px;
    }

    .blog-item.effect-item .blog-image {
        height: 160px;
    }
}

@media only screen and (max-width:575px) {
    .header-info {
        margin-top: 10px;
    }

    .header-info li {
        display: block;
        margin: 0;
    }

    .header-info li:before {
        display: none;
    }

    .service-coloum {
        margin: 0 auto;
    }

    .service-item {
        width: auto;
        margin: 15px;
    }

    .portfolio-menu li {
        font-size: 16px;
        margin-bottom: 2px;
    }

    .testimonial-innerbox ul li {
        float: none;
        max-width: 100%;
        margin-left: 15px;
        margin-right: 15px;
    }

    .testimonial-innerbox ul li:first-child {
        margin-left: 15px;
    }

    .testimonial-innerbox ul li:last-child {
        margin-right: 15px;
    }

    .footer-address ul li {
        width: 50%;
        padding: 0px 5px 0px 35px;
    }

    .footer-address ul li:last-child {
        margin-top: 20px;
        width: 100%;
    }

    .comment-list .thumb {
        display: block;
    }

    .comment-list .com-text {
        display: block;
        padding: 0;
        margin-top: 15px;
    }

    .comment-list .com-text h5 {
        margin-bottom: 2px;
    }

    .comment-list ul ul.children {
        margin-left: 30px;
    }

    .about-img {
        height: auto;
    }

    .feature-section-text {
        padding-right: 0;
        padding-left: 0;
    }

    .v-mid-content .heading h2 {
        font-size: 34px;
    }

    .brand-item img {
        height: 70px;
    }

    .banner_slider_area {
        height: 600px;
    }

    .testimonial-texarea {
        max-height: 100%;
    }

    .testimonial-item {
        padding: 20px;
    }

    .testi-info h4 {
        font-size: 18px;
    }

    .faq_page_item h2 {
        font-size: 22px;
    }

    .testimonial_slider {
        height: auto;
    }

    .testimonial_slider .slick-dots li button {
        display: none;
    }

    .team_slider_area .container {
        max-height: initial;
    }

    .banner-text h1 {
        font-size: 30px;
        line-height: initial;
    }

    .team-detail-photo {
        height: auto;
    }

    .banner-area {
        padding: 50px 0px;
    }

    .team-photo {
        height: auto;
    }

    .lawyer-search .s-box,
    .lawyer-search .s-button {
        width: 100%;
    }

    .lawyer-search .s-button {
        margin: 0 !important;
    }

    .dashboard-area .dashboard-widget {
        margin-bottom: 25px;
    }

    .payment-select a .payment-logo {
        width: 160px !important;
    }

    .footer-address {
        padding: 0px 0px 25px 0px !important;
    }

    .top-footer {
        padding: 20px 0px;
    }

    .brand-area {
        padding-top: 70px;
        padding-bottom: 0;
    }

    .blog-recent-item:last-child {
        margin-bottom: 0;
    }

    .home_blog_slider {
        max-height: 615px;
    }

    .blog-page .blog-image {
        height: auto;
    }
    .first-blog .blog-image {
        height: auto;
    }

    .blog-item.effect-item .blog-image {
        height: auto;
    }
}

@media only screen and (max-width:359px) {
    .comment-list .com-text span {
        display: block;
        margin-right: 0;
        margin-bottom: 10px;
    }
}