@media (max-width:2685px) {
    nav.navbar li.nav-item a.nav-link {
        font-size: 15px;
        padding  : 1px;
    }

    div#demo .carousel-inner .carousel-item img.d-block {
        height         : 650px;
        object-fit     : cover;
        object-position: center;
    }

    .back-pack {
        padding: 90px 0px 20px 90px;
    }

    section.form-section p {
        width: 90%;
    }

    section.contact-section .col-md-6 {
        margin-left: 6% !important;
    }

    section.latest-section .row h2 {
        font-size : 18px;
        text-align: left;
        width     : 340px;
    }

    section.latest-section .row h2 img {
        width: 60%;
    }
}

@media (max-width:1440px) {
    a.navbar-brand img {
        /*         width: 35%;
        height: 89px; */
    }

    a.navbar-brand button {
        height     : 70px;
        width      : 20%;
        font-size  : 10px;
        margin     : 0;
        font-weight: bold;
    }

    .icons {
        /*         width: 150%; */
    }

    li.nav-item {
        padding: 0px 10px;
    }

    nav.navbar li.nav-item a.nav-link {
        font-size: 13px;
        padding  : 1px;
    }

    .key {
        width    : 150px;
        font-size: 12px;
    }

    .filt.d-flex.row .d-flex.gap-3.col-md.w-100.px-5 {
        align-items    : center;
        justify-content: end;
        padding        : 0 0 !important;
    }

    .filt.d-flex.row .d-flex.gap-3.col-md.w-100.px-5 button {
        width : 30%;
        height: 40px;
    }

    div#navbarSupportedContent ul.navbar-nav.me-auto.mb-2.mb-lg-0 {
        margin-right   : auto !important;
        margin         : 0;
        display        : flex;
        justify-content: space-between;
        width          : 100%;
    }

    .card {
        min-width    : 0;
        max-width    : 85%;
        padding      : 0px !important;
        border-top   : 1px solid #ababab;
        border-bottom: 1px solid #ababab;
        margin-left  : 90px;
    }



    section.latest-section .row .col-lg-3 .card img.card-img-top {
        width : 100px;
        height: 100px;
    }



    .forms {}

    section.form-section.d-flex .col-md-7.forms .row .form-control-lg,
    section.form-section.d-flex .col-md-7.forms .row .form-select-lg {
        font-size: 16px;
        margin   : 25px 0;
    }

    section.form-section p {
        font-size  : 15px;
        line-height: 25px;
    }

    .footer .icons {
        width: 100%;
    }

    li.red-box {
        line-height: 1.3;
    }

    ul li.red-box::before {
        top: 1px;
    }

}

@media (max-width:1030px) {

    nav.navbar.navbar-expand-lg.navbar-light .container-fluid {
        justify-content: end;
    }

    #demo .carousel-caption img {
        width: 25%;
    }

    #demo .carousel-caption .btn-banner {
        font-size: 22px;
        padding  : 10px 32px;
    }

    #demo .carousel-caption p {
        font-size  : 27px;
        line-height: 1.2;
    }

    #demo .carousel-caption>* {
        margin: 11px 0;
    }

    div#carouselExampleDark .carousel-indicators {
        top: 95%;
    }


}

@media (max-width:999px) {
    section.form-section p {
        font-size  : 18px;
        line-height: 30px;
    }

    .back-pack {
        margin : 50px 0px 0px 0px;
        padding: 80px 0px 80px 60px;
    }

    .forms {
        padding: 4% 0%;
        width  : 92%;
        margin : 50px;
    }

    section.form-section.d-flex {
        width: 95%;
    }

    nav.navbar.navbar-expand-lg.navbar-light.fixed {margin-left: 50px;}
   .home #search-filter-form-6023 li.sf-field-search {margin-bottom: 20px;}
   .home #search-filter-form-6023 li input {width: 75%;}
   /* .home #search-filter-form-6023 li.sf-field-category, .home #search-filter-form-6023 li.sf-field-taxonomy-powerlist, .home #search-filter-form-6023 li.sf-field-reset {display:none !important;} */
   .navbar-expand-lg .navbar-nav .dropdown-menu {left: 0px;}
}

@media (max-width:768px) {
    .header .sub-header ul li:nth-child(2) h4 {
        margin-left: 0;
    }

    #non-front-search {display:none;}

    .header .sub-header ul {
        flex-direction: column;
        align-items   : flex-start;
    }

    li.sf-field-search {
        flex-direction: row !important;
        margin-bottom: 10px;
    }

    .partner-section {
        overflow: hidden;
    }

    .partner-section .owl-dots {
        display: none;
    }

    .header .sub-header form>ul {
        overflow: hidden;
    }

    .card {
        margin: auto;
    }

    .card-grid-md {display:block;}

    #demo .carousel-caption p {
        font-size  : 20px;
        line-height: 1.1;
    }

    #demo .carousel-caption .btn-banner {
        font-size: 20px;
        padding  : 0px 14px;
    }

    section.latest-section .card *,
    section.latest-section .card,
    section.latest-section .row h2 {
        text-align : center;
        align-items: center;
        margin-top : 16px;
        width      : auto;
    }

    .copy-rt {
        font-size: 15px;
    }

    .footer {
        padding: 80px 0 0 0;
    }

    a.navbar-brand button {
        height     : 70px;
        width      : 20%;
        font-size  : 11px;
        margin     : 0;
        font-weight: bold;
    }

    .col-md-2 {
        width     : 100%;
        text-align: center;
    }

    .top-ad {
        float : left;
        width : 100%;
        margin: 20px 0px 20px 0px;
        display:none;
    }

    .navbar-toggler {
        margin: 0px 0px 20px 0px !important;
        width : 100%;
    }

    nav.navbar li.nav-item a.nav-link {
        font-size: 20px;
        padding  : 5px;
    }

    .col-md-3 {
        width: 100%;
    }

    .logo-banner img {
        display: none;
    }

    .person-thumb img {
        max-width    : 150px;
        margin-bottom: 20px;
    }
}


@media (max-width:425px) {

    nav.navbar li.nav-item a.nav-link {
        font-size: 18px;
        padding  : 1px;
    }

    section.contact-section {
        background-image   : url(https://www.legal500.com/gc-powerlist/wp-content/themes/twentytwenty-child/images/contactban.png);
        background-repeat  : no-repeat;
        background-position: center;
        padding            : 80px 0;
        margin-top         : -30px;
    }

    .sub-header {
        padding   : 20px 0px;
        background: #f9f9f9;
        display   : none;
    }


    .search {
        position : relative;
        width    : 140%;
        max-width: 430px;
        display  : none;

    }

    .filt.d-flex.row .d-flex.gap-3.col-md.w-100.px-5 button {
        width  : 30%;
        display: none;
    }

    .navbar-expand-lg .navbar-nav .dropdown-menu {
        /* position: sticky; */
        /* left    : 130px; */
        width: 100%;
    }

    .navbar-collapse {
        flex-basis : 100%;
        flex-grow  : 1;
        align-items: left;
        margin-left: 30px;
    }

    .px-3 {
        padding-right: 1rem !important;
        padding-left : 1rem !important;
        display      : none;
    }


    .key {
        height     : 46px;
        text-indent: 8px !important;
        border     : 2px solid #d6d4d4;
        width      : 209px;
        display    : none;
    }

    .navbar-toggler {
        font-size       : 1.25rem;
        line-height     : 1;
        background-color: #ae4098;
        border          : 1px solid transparent;
        border-radius   : 0.25rem;
        transition      : box-shadow .15s ease-in-out;
        margin-top      : 0;
        position        : absolute;
        top             : 20px;
        right           : -7px;
        width           : 40px;
        padding         : 5px;
    }

    a.navbar-brand button {
        height       : 70px;
        width        : 21%;
        font-size    : 8px;
        margin       : 0;
        font-weight  : bold;
        margin-bottom: 15px;
    }

    .copy-rt {
        font-size: 13px;
        padding  : 15px;
    }

    #demo .carousel-caption p {
        font-size: 25px;
    }

    #demo .carousel-caption {
        bottom    : 19%;
        left      : 3%;
        text-align: center !important;
    }

    section.contact-section .col-md-6 {
        margin     : 0 !important;
        text-align : center;
        line-height: 1.3;
    }

    .forms {
        width     : 100%;
        margin    : 20px;
        text-align: center;
    }

    .back-pack {
        margin     : 20px 0px 0px 0px;
        padding    : 30px 0px 20px 40px;
        text-align : left;
        line-height: 1.3;
    }

    section.form-section.d-flex {
        width : 95%;
        margin: auto;
    }

    .back-pack {height: 600px; padding: 20px 40px !important;}

    .py-2, ul.abt-ul {margin-top: 20px !important;}

    .section.contact-section {background-position: top;}

    .owl-dots {display: none;}

    .hme-post-rt {margin-top: 20px;}

    .latest-section .carousel-indicators {margin-top: 60px;}

    section.post-list-large {padding: 10px 0px;}
    section.box-filters {}
    a.back-to-pow button {display:block !important;}
    section.latest-section .row h2 {margin-top: 40px;}
    section.latest-section .row .col-lg-3 .card img.card-img-top {margin-left: 25px;}
    .about-section-img img {height: 160px;}
    .forms {height: 100%;}
    .header-section .navbar .col-md-2 {display: inline;}
    .header-section .logo1 {margin-left: 0px;}
    .mb-3 .card {margin-left: auto !important;}
    section h1.ab-us-1::after {width: 100%;}
    section.contact-section {background-image:none;}

    .w-tabs {padding-top: 10px}
}


@media (min-width: 992px) {
    .col-lg-4 {
        flex : 0 0 auto;
        width: 25%;
    }
}

@media (min-width: 992px) {
    .col-lg-5 {
        flex : 0 0 auto;
        width: 50.666667%;

    }
}

@media (min-width: 992px) {
    .col-lg-3 {
        flex       : 0 0 auto;
        width      : 24%;
        
    }
}

@media (min-width: 992px) {
    .col-lg-66 {
        flex : 0 0 auto;
        width: 40.666667%;
    }
}