
/* Practice Areas Styles
----------------------------------------------------------------- */

.page-template-practice-areas-pages, .page-template-service-page {
    overflow-x: hidden;
}
.page-template-practice-areas-pages .site-inner {
    padding-top: 0;
}

.practice-areas-main-page .hero-section {
    margin: 0 calc( 50% - 50vw);
    max-width: 100vw;
    padding: 189.69px 0;
    padding-top: 170px;
    text-align: center;
    position: relative;
    isolation: isolate;
    background-size: cover;
    background-position: center;
}

.practice-areas-main-page .hero-section h1 {
    max-width: 1200px;
    text-align: center;
    margin: 0 auto;
    color: #fff;
    font-family: Archivo Narrow;
    font-size: 36px;
    font-weight: 400;
    line-height: 40.32px;
    text-align: center;
    text-transform: uppercase;
    position: relative;
}

.practice-areas-main-page .hero-section h1:after {
    position: absolute;
    content: '';
    width: 100px;
    height: 1px;
    background: rgba(255, 114, 0, 1);
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
}

.practice-areas-main-page .hero-section .overlay {
    background: linear-gradient(0deg, rgba(4, 57, 90, 0.5), rgba(4, 57, 90, 0.5)),
    linear-gradient(180deg, #04395A 0%, rgba(4, 57, 90, 0) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.practice-areas-main-page .content-section {
    margin: 64px 0;
}

.practice-areas-main-page .subpage-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
}

.practice-areas-main-page .subpage-card {
    width: calc(25% - 15px);
    height: 120px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    isolation: isolate;
}

.practice-areas-main-page .subpage-card .subpage-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.practice-areas-main-page .subpage-card .subpage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.practice-areas-main-page .subpage-card h2 {
    color: #fff;
    font-family: Archivo Narrow;
    font-size: 21px;
    font-weight: 600;
    line-height: 23.52px;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 0;
    position: relative;
}

.practice-areas-main-page .subpage-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: rgba(29, 52, 64, 0.88);
    transition: 0.3s;
}

.practice-areas-main-page .subpage-card:hover .overlay {
    background: rgba(4, 57, 90, 0.88);
}

.practice-areas-main-page .subpage-card:hover h2 {
    text-decoration: underline;
    text-decoration-color: rgba(255, 114, 0, 1);
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
}

.practice-areas-footer {
    display: flex;
    justify-content: flex-start;
    gap: 0;
}

.practice-footer-section {
    width: 50%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
    isolation: isolate;
}

.practice-footer-section h3 {
    font-family: Archivo Narrow;
    font-size: 30px;
    font-weight: 400;
    line-height: 33.6px;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 60px;
    position: relative;
}

.practice-footer-section h3::after {
    content: '';
    display: block;
    width: 100px;
    height: 1px;
    background: #fff;
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
}

.practice-footer-section .practice-area-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 444px;
    gap: 30px;
}

.practice-footer-section .practice-area-content p {
    color: #fff;
    font-family: Archivo Narrow;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    text-align: center;
    margin-bottom: 0;
}

.practice-footer-section .overlay {
    background: rgba(4, 57, 90, 0.88);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.page-template-service-page .site-inner {
    padding-top: 0;
}

.page-template-service-page .content-section {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.page-template-service-page .content-container {
    width: 70%;
}

.page-template-service-page .sidebar-container {
    width: 30%;
}

.single-service-page .content-container h2, .single-service-page .content-container h3, .single-service-page .content-container h4, .single-service-page .content-container p {
    margin-bottom: 24px;
    color: #043958;
}

.single-service-page .content-container p, .single-service-page .content-container ul li {
    font-size: 16px;
    font-family: Muli;
    font-weight: 300;
    line-height: 24px;
    text-align: left;
    color: #043958;
}

.single-service-page .content-container strong {
    font-weight: 700;
    color: #043958;
}

.single-service-page .content-container ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 2px;
}

.single-service-page .content-container ul li::before {
    content: url('data:image/svg+xml,<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.54998 18.1834L3.84998 12.4834L5.27498 11.0584L9.54998 15.3334L18.725 6.15845L20.15 7.58345L9.54998 18.1834Z" fill="%23FF7200"/></svg>');
    position: absolute;
    height: 24px;
    width: 24px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.single-service-page .content-container blockquote::before {
    content: "\201C";
    display: block;
    font-size: 30px;
    font-size: 3rem;
    height: 0;
    left: -40px;
    position: relative;
    top: -30px;
    font-size: 90px;
}

.single-service-page .content-container h2, .single-service-page .content-container h3 {
    margin-top: 40px;
}

.single-service-page .content-container h2:first-of-type {
    margin-top: 0;
}

.single-service-page .content-container .practice-areas-box {
    margin-top: 40px;
    background: #04395A0A;
    padding: 36px 40px;
    padding-bottom: 56px;
    width: 100%;
    max-width: 732px;
}

.single-service-page .content-container .practice-areas-box .subpages-list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 30px;
    row-gap: 0;
}

.single-service-page .content-container .practice-areas-box .subpages-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(50% - 15px);
    border-bottom: 1px solid #CDD7DE;
    padding: 14px 8px;
}

.single-service-page .content-container .practice-areas-box .subpages-list a:first-child,
.single-service-page .content-container .practice-areas-box .subpages-list a:nth-child(2) {
    border-top: 1px solid #CDD7DE;
}

.single-service-page .content-container .practice-areas-box .subpages-list a h3 {
    padding: 0;
    margin: 0;
}

.single-service-page .sidebar-buttons {
    margin-top: 40px;
    margin-bottom: 56px;
}

.single-service-page .sidebar-buttons a {
    display: flex;
    max-width: 300px;
    width: 90%;
    margin: 0 auto;
    padding: 14px 24px 14px 24px;
    gap: 24px;
    border: 2px solid #04395A;
    color: #04395A;
    font-family: Archivo Narrow;
    font-size: 22px;
    font-weight: 400;
    line-height: 24.64px;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    margin-bottom: 16px;
}

.single-service-page .sidebar-buttons a:last-child {
    margin-bottom: 0;
}

.single-service-page .sidebar-buttons a:hover {
    background: #04395A;
    color: #fff;
}

.single-service-page .sidebar-buttons a img {
    transition: 0.3s;
}

.single-service-page .sidebar-buttons a:hover img {
    filter: brightness(0) invert(1);
}

.single-service-page .sidebar-badge-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.single-service-page .sidebar-container .gform_widget {
    padding: 40px;
    background: #04395A;
    color: #fff;
}

.single-service-page .sidebar-container .gform_widget h4, .single-service-page .sidebar-container .gform_widget p, .single-service-page .sidebar-container .gform_widget label {
    color: #fff;
}

.single-service-page .sidebar-container .gform_widget h4 {
    margin-bottom: 40px;
    position: relative;
}

.single-service-page .sidebar-container .gform_widget h4::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: rgba(255, 114, 0, 1);
    position: absolute;
    bottom: -25px;
    left: 0;
}

.single-service-page .sidebar-container .gform_widget .gfield_label {
    font-family: Muli;
font-size: 16px;
font-weight: 400;
line-height: 24px;
text-align: left;

}

.single-service-page .sidebar-container .gform_widget .gfield--type-consent label {
    display: inline-block;
    width: 90%;
    vertical-align: top;
    float: right;
}

.single-service-page .sidebar-container .gform_widget .gfield--type-consent input {
    margin: 0!important;
}

.single-service-page .sidebar-container .gform_widget input, .single-service-page .sidebar-container .gform_widget textarea, .single-service-page .sidebar-container .gform_widget select {
    padding: 12px 12px!important;
}

.single-service-page .sidebar-container .gform_widget input, .single-service-page .sidebar-container .gform_widget textarea, .single-service-page .sidebar-container .gform_widget select {
    border-radius: 0;
}

.single-service-page .sidebar-container .gform_widget .gform_button {
    background: rgba(255, 114, 0, 1);
    color: #fff;
    border-radius: 0;
    width: 100%;
}

.single-service-page .sidebar-container .gform_widget .gform_button:hover {
    background: transparent;
    color: rgba(255, 114, 0, 1);
}

.custom-mega-menu {
    display: none;
    background: #043958;
    padding: 32px 40px;
    padding-top: 12px;
    position: absolute;
    top: 200px;
    left: 40%;
    z-index: 100;
    width: 700px;
}

.custom-mega-menu.active {
    display: block;
}

.custom-mega-menu .mega-menu-inner {
    display: flex;
    justify-content: space-between;
}

.custom-mega-menu .mega-menu-column .mega-menu-item a.mega-menu-main-item {
    font-family: Archivo Narrow;
    font-size: 16px;
    font-weight: 700;
    line-height: 17.92px;
    text-align: left;
    margin-bottom: 30px;
    color: #fff;
    position: relative;
    margin-top: 20px;
    display: block;
    transition: 0.3s;
}

.custom-mega-menu .mega-menu-column .mega-menu-item a.mega-menu-main-item:hover {
    color: rgba(255, 114, 0, 1);
}

.custom-mega-menu .mega-menu-column .mega-menu-item a.mega-menu-main-item::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: rgba(255, 114, 0, 1);
    position: absolute;
    bottom: -17px;
    left: 0;
}

.custom-mega-menu .mega-menu-column .mega-menu-item ul li a {
    font-family: Archivo Narrow;
    font-size: 16px;
font-weight: 400;
line-height: 17.92px;
    text-align: left;
    color: #fff;
    transition: 0.3s;
    opacity: 0.8;
}

.custom-mega-menu .mega-menu-column .mega-menu-item ul li a:hover {
    color: rgba(255, 114, 0, 1);
    opacity: 1;
}

.home-hero {
    background-image: none!important;
    position: relative;
    isolation: isolate;
}

.home-hero .bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.8;
}
.home-hero .button {
    background: rgba(255, 114, 0, 1);
    color: #fff;
    transition: 0.3s;
}

.home-hero .button:hover {
    background: transparent;
    color: rgba(255, 114, 0, 1);
}

.home-hero .bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1023px) {

    .home-hero {
        background-image: url(./images/passen-attorneys-chicago-bg.jpg)!important;
    }

    .home-hero .bg-video {
        display: none;
    }

    .practice-areas-main-page .subpage-cards-container {
        flex-direction: column;
    }

    .practice-areas-main-page .subpage-card {
        width: 100%;
    }

    .practice-areas-footer {
        flex-direction: column;
    }

    .practice-footer-section {
        width: 100%;
    }

    .page-template-service-page .content-section {
        flex-direction: column;
    }

    .page-template-service-page .sidebar-container {
        width: 100%;
    }

    .page-template-service-page .content-container {
        width: 100%;
    }
}