/* -TEMPLATE- */

.service-template a:not(.button-free-consultation) {
color: #323232;
}

.service-template .sections-wrapper {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
}

.service-template .section-label h6 {
    color: #F15A29;
    font-size: 24px;
    font-weight: 400;
    text-transform: capitalize;
    margin: 0;
    line-height: 34px;
}

.service-template .main-description h6,
.service-template .main-description h2,
.service-template .main-content h2 ,
.service-template .main-content h6 {
    color: #F15A29;
    font-size: 24px;
    font-weight: 400;
    text-transform: capitalize;
    margin: 0;
    margin-bottom: 12px;
    line-height: 34px;
}

.service-template .section-title h3 ,
.service-template .section-title h2 ,
.service-template .section-title h1 {
    color: #323232;
    font-size: 48px;
    font-weight: 400;
    margin: 0;
    line-height: 56px;
}

/* PRACTICE AREAS */

.service-template.practise-areas {
    padding-top: 80px;
}

.service-template.practise-areas .section-title {
    margin-top: 12px;
}

.service-template.practise-areas .section-content {
    margin-top: 35px;
}

.service-template.practise-areas .section-services {
    margin-bottom: 130px;
}

.items-taxonomies-and-posts {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.service-template.practise-areas .service-item ,
.items-taxonomies-and-posts .service-item {
    width: 48.9%;
    height: 440px;
    display: flex;
    background-size: 120%;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    flex-direction: column;
    justify-content: flex-end;
    transition: background-size 0.3s ease;
    margin-bottom: 30px;
}

.items-taxonomies-and-posts .service-item:last-child:nth-child(odd) {
    margin: 0 auto;
}


.items-taxonomies-and-posts .service-item .service-item-container ,
.service-template.practise-areas .service-item .service-item-container {
    display: flex;
    position: absolute;
    width: 100%;
    justify-content: space-between;
    padding: 30px;
}

.items-taxonomies-and-posts .service-item .service-item-container .service-item-content ,
.service-template.practise-areas .service-item .service-item-container .service-item-content {
    color: #FFF;
    font-family: Lato;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}

.items-taxonomies-and-posts .service-item:hover ,
.service-template.practise-areas .service-item:hover {
    background-size: 150%;
}

.items-taxonomies-and-posts .service-item:hover .service-item-container .service-item-content ,
.service-template.practise-areas .service-item:hover .service-item-container .service-item-content {
    color: #F15A29;
}

.items-taxonomies-and-posts .service-item .icon-hover ,
.service-template.practise-areas .service-item .icon-hover {
    display: none;
}

.items-taxonomies-and-posts  .service-item:hover .icon-hover ,
.service-template.practise-areas .service-item:hover .icon-hover {
    display: block;
}

.items-taxonomies-and-posts .service-item:hover .icon ,
.service-template.practise-areas .service-item:hover .icon {
    display: none;
}

.items-taxonomies-and-posts  .service-item:before ,
.service-template.practise-areas .service-item:before {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.81) 100%);
}

.service-template.practise-areas .section-evaluation  .button-free-consultation {
    margin-top: 30px;
    width: 156px;
}

.service-template.practise-areas .section-evaluation {
    margin-bottom: 130px;
}

/* -GLOBAL- */
.service-header {
    flex-wrap: wrap;
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
}

.service-header .service-header-wrapper {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.81) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}


.service-header .service-header-wrapper .service-header-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.service-header .service-header-wrapper .service-header-content h1 ,
.service-header .service-header-wrapper .service-header-content h2 {
    color: #FFF;
    text-align: center;
    font-family: Lato;
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: 56px;
    text-transform: uppercase;
}

.service-header .service-header-wrapper .service-header-content .h-border {
    width: 150px;
    height: 2px;
    margin: 0 auto;
    margin-top: 32px;
    text-align: center;
    background: #F15A29;
}

.service-template.service-category-post-page .sections-wrapper {
    flex-wrap: wrap;
    margin-top: 130px;
    display: flex;
    justify-content: space-between;
}

.service-template.service-category-post-page .sections-wrapper .sections-wrapper-content {
    width: 64%;
}

.service-template.service-category-post-page .sections-wrapper .sections-wrapper-content .section-services .section-title {
    margin-top: 12px;
    margin-bottom: 35px;
}

.service-template.service-category-post-page .sections-wrapper .sections-wrapper-sidebar {
    width: 34%;
}

.service-template.service-category-post-page .sections-wrapper .sections-wrapper-content p {
    color: #323232;
    font-family: Lato;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.service-template.service-category-post-page .section.section-services .main-content .section-item {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
}

.service-template.service-category-post-page .section.section-services .main-content .section-item .section-label {
    margin-bottom: 15px;
    width: 100%;
}

.service-template.service-category-post-page .section.section-services .main-content .section-item .section-block {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.service-template.service-category-post-page .section.section-services .main-content .section-item .section-block p {
    width: 100%;
}

.service-template.service-category-post-page .section.section-services ul {
    padding: 0;
    margin-top: 15px;
}

.service-template.service-category-post-page .section.section-services ul.part-ul {
    width: 50%;
}


.service-template.service-category-post-page .section.section-services ul li {
    margin-bottom: 8px; /* Add spacing between list items */
}

.service-template.service-category-post-page .section.section-services ul li:not(.small-li) {
    list-style-type: none; /* Remove default bullet points */
    padding-left: 22px; /* Add space for icon */
    position: relative;
    line-height: 24px;
}

.service-template.service-category-post-page .section.section-services ul li:not(.small-li)::before {
    content: '';
    background-image: url("../images/icons/ul-icon-orange.svg");
    position: absolute;
    left: 0;
    top: 5px;
    width: 13px;
    height: 13px;
}

.service-template.service-category-post-page .section.section-services ul li.small-li {
    margin-left: 50px; /* Add space for icon */
}

.service-template.service-category-post-page  section.section-evaluation {
   margin-top: 130px;
}

.service-template.service-category-post-page .section.section-evaluation .contact-body {
    width: 89.5%;
}

.service-template.service-category-post-page .section.section-evaluation .contact-body .form-row.email .wpcf7-form-control-wrap ,
.service-template.service-category-post-page .section.section-evaluation .contact-body .form-row.injury .wpcf7-form-control-wrap {
    width: 100%;
}

.service-template.service-category-post-page .section.section-evaluation .contact-body .form-row.lists p {
    display: flex;
    flex-wrap: wrap;
}

.service-template.service-category-post-page .section.section-evaluation .contact-body .form-row.lists {
    background: #F5F5F5;
    padding: 22px 30px;
    margin-bottom: 13px;
    padding-bottom: 12px;
}

.service-template.service-category-post-page .section.section-evaluation .contact-body .form-row.lists label {
    width: 100%;
    color: #77787B;
    font-family: Lato;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 13px;
    display: flex;
    align-items: center;
}

.service-template.service-category-post-page .section.section-evaluation .contact-body .form-row.lists .wpcf7-form-control-wrap,
.service-template.service-category-post-page .section.section-evaluation .contact-body .form-row.lists .wpcf7-form-control-wrap .injuries {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.service-template.service-category-post-page .section.section-evaluation .contact-body .form-row.lists .wpcf7-form-control-wrap .injuries .wpcf7-list-item {
    display: inline-block;
    width: 20%;
    margin: 0;
}

.service-template.service-category-post-page .section.section-evaluation .contact-body .form-row.lists .wpcf7-form-control-wrap .injuries .wpcf7-list-item input {
    margin-right: 8px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 12px;
    height: 12px;
    border: 1px solid #77787B;
    background-color: transparent;
    cursor: pointer;
}

.service-template.service-category-post-page .section.section-evaluation .contact-body .form-row.lists .wpcf7-form-control-wrap .injuries .wpcf7-list-item input:checked {
    background: rgba(119, 120, 123, 0.67);
}

.service-template.service-category-post-page .section.section-evaluation .contact-body  .wpcf7-not-valid-tip {
    font-size: 0.6em;
    /* font-weight: normal; */
    display: block;
    margin: 0;
    padding: 0;
    max-height: 6em;
    line-height: 1;
    margin-left: 4px;
    margin-top: 1px;
}

/* -SIDEBAR */

.service-template.service-category-post-page .sections-wrapper .sections-wrapper-sidebar .contact-body {
    background: #CCC;
    padding: 41px;
    padding-bottom: 12px;
    width: 100%;
}

.service-template.service-category-post-page .sections-wrapper .sections-wrapper-sidebar .contact-body .form-row p {
    flex-direction: column;
    margin: 0;
}

.service-template.service-category-post-page .sections-wrapper .sections-wrapper-sidebar .contact-body .form-row p .wpcf7-form-control-wrap {
    width: 100%;
    margin-bottom: 13px;
    margin-top: 0;
}

.service-template.service-category-post-page .sections-wrapper .sections-wrapper-sidebar .contact-body .wpcf7-submit {
    width: 304px;
    border: none;
    margin: 0 auto;
    margin-top: 32px;
}

.service-template.service-category-post-page .sections-wrapper .sections-wrapper-sidebar .section-label {
    margin-top: 50px;
    margin-bottom: 20px;
}

.faq-taxonomies-and-posts .faq-tax-item {
    height: 67px;
    border: 1px solid #CCC;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 26px;
    padding-right: 16px;
    border-bottom: none;
}

.faq-taxonomies-and-posts .faq-tax-item:last-child {
    border-bottom: 1px solid #CCC;
}

.faq-taxonomies-and-posts .faq-tax-item .faq-tax-text span {
    color: #323232;
    font-family: Lato;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 24px;
}

.faq-taxonomies-and-posts .faq-tax-item.active {
    background: #FAFAFA;
}

.faq-taxonomies-and-posts .faq-tax-item .faq-tax-text a {
 color: #323232;
}

.faq-taxonomies-and-posts .faq-tax-item.active .faq-tax-text span ,
.faq-taxonomies-and-posts .faq-tax-item.active .faq-tax-text a {
    color: #F15A29;
}

.faq-taxonomies-and-posts .faq-tax-item.active .faq-tax-text span {
    margin-left: 27px;
}


/* -CATEGORY PAGE-  */

.section-post-services.full-section {
    width: 100%;
    margin-top: 124px;
}


.term-personal-injury-law .sections-wrapper .sections-wrapper-sidebar .section-label {
    display: none;
}

.term-personal-injury-law .section-consult {
    display: none;
}




@media (max-width: 1260px) {
    .service-template .section-label h2 ,
    .service-template .section-label h6 {
        font-size: 20px;
    }

    .service-template .section-title h3,.service-template .section-title h2, 	.service-template .section-title h1 {
        font-size: 38px;
    }

    .service-template.service-category-post-page .sections-wrapper .sections-wrapper-sidebar .contact-body {
        padding: 12px;
    }
}

@media (max-width: 1024px) {
    .service-template.service-category-post-page .sections-wrapper {
        margin-top: 80px;
    }

    .service-template.service-category-post-page .section.section-evaluation .contact-body {
        width: 100%;
    }

    .service-template .section-label h2,
    .service-template .section-label h6 {
        font-size: 18px;
    }

    .service-template .section-title h3,.service-template .section-title h2, .service-template .section-title h1 {
        font-size: 32px;
    }

    .service-template.service-category-post-page .sections-wrapper .sections-wrapper-content {
        width: 100%;
    }

    .service-template.service-category-post-page .sections-wrapper .sections-wrapper-sidebar {
        width: 100%;
        flex-direction: column-reverse;
        display: flex;
    }

    .service-header .service-header-wrapper .service-header-content .h-border {
        display: none;
    }

    .service-template.service-category-post-page .section.section-services ul.part-ul {
        width: 100%;
    }

    .faq-taxonomies-and-posts .faq-tax-item .faq-tax-text a {
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
    }

    .service-template.service-category-post-page .sections-wrapper .sections-wrapper-sidebar .contact-body {
        margin-top: 80px;
        padding: 15px;
    }

    .service-template.service-category-post-page .sections-wrapper .sections-wrapper-sidebar .contact-body .wpcf7 {
        width: 100%;
    }

    .service-template.service-category-post-page .section.section-evaluation .contact-body .form-row.lists .wpcf7-form-control-wrap, .service-template.service-category-post-page .section.section-evaluation .contact-body .form-row.lists .wpcf7-form-control-wrap .injuries {
        height: auto;
    }

    .service-template.service-category-post-page .section.section-evaluation .contact-body .form-row.lists .wpcf7-form-control-wrap .injuries .wpcf7-list-item {
        width: max-content;
        margin-right: 22px;
    }
}

@media (max-width: 568px) {
    .service-header {
        height: 220px;
    }

    .service-header .service-header-wrapper .service-header-content h2,
    .service-header .service-header-wrapper .service-header-content h1 {
        font-size: 28px;
    }



    .term-business-law .section.section-consult a.button-free-consultation {
        width: 100%;
        margin: 0 auto;
    }


    .service-template.service-category-post-page .section.section-evaluation .contact-body {
        width: 100%;
    }

    .service-template .section-label h2,
    .service-template .section-label h6 {
        font-size: 18px;
    }

    .service-template .section-title h3,.service-template .section-title h2, .service-template .section-title h1 {
        font-size: 28px;
    }

    .service-template.service-category-post-page .section.section-evaluation .contact-body .form-row.lists .wpcf7-form-control-wrap, .service-template.service-category-post-page .section.section-evaluation .contact-body .form-row.lists .wpcf7-form-control-wrap .injuries {
        height: auto;
    }

    .service-template.service-category-post-page .section.section-evaluation .contact-body .form-row.lists .wpcf7-form-control-wrap .injuries .wpcf7-list-item {
        width: max-content;
        margin-right: 22px;
    }
}

@media (max-width: 360px) {
    .service-header {
        height: 180px;
    }

    .service-header .service-header-wrapper .service-header-content h2,
    .service-header .service-header-wrapper .service-header-content h1 {
        font-size: 28px;
    }

    .service-template.service-category-post-page .sections-wrapper {
        margin-top: 80px;
    }

    .service-template.service-category-post-page section.section-evaluation {
        margin-top: 80px;
    }

    .service-template.service-category-post-page .section.section-evaluation .contact-body {
        margin-top: 22px;
    }

    .service-template.service-category-post-page .section.section-evaluation .contact-body {
        width: 100%;
    }

    .service-template.service-category-post-page .section.section-evaluation .contact-body .form-row.lists {
        height: auto;
    }

    .service-template.service-category-post-page .section.section-evaluation .contact-body .form-row.lists .wpcf7-form-control-wrap .injuries .wpcf7-list-item {
        width: 33.333333%;
    }

    .service-template.service-category-post-page .section.section-evaluation .contact-body .form-row.lists .wpcf7-form-control-wrap, .service-template.service-category-post-page .section.section-evaluation .contact-body .form-row.lists .wpcf7-form-control-wrap .injuries {
        height: auto;
    }

    .service-template.service-category-post-page .section.section-evaluation .contact-body .form-row.lists .wpcf7-form-control-wrap .injuries .wpcf7-list-item {
        width: max-content;
        margin-right: 22px;
    }

   body .items-taxonomies-and-posts .service-item .service-item-container .service-item-content,body .service-template.practise-areas .service-item .service-item-container .service-item-content {
        font-size: 16px;
    }

    body .items-taxonomies-and-posts .service-item .service-item-container .icon {
        width: 17.5px;
        height: 17.5px;
    }

    body .items-taxonomies-and-posts .service-item .service-item-container .icon img {
        width: 100%;
        object-fit: contain;
    }

    .items-taxonomies-and-posts .service-item .service-item-container, .service-template.practise-areas .service-item .service-item-container {
        padding: 15px;
    }
}