/* Subpage styling goes here. Excluded on homepage */

/*
SUBPAGE STRUCTURE
BLOG
TEMPLATES
*/

/*******************************************************************************************
SUBPAGE STRUCTURE - Non-critical page features
*******************************************************************************************/

.search-form {
    display: flex;
    position: relative;
}

.search-form button {
    height: 45px;
    width: 45px;
    font-size: 1.1rem;
    padding: 0 12px;
    border-radius: 0;
}

/*******************************************************************************************
BLOG - Posts, search results, and pagination
*******************************************************************************************/

.post {
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 2px solid var(--color-secondary);
}

.post:last-child {
    border: none;
    padding-bottom: 0;
}

.post-head h1,
.post-head h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    padding: 0;
    border: 0;
}

.post-head,
.post-body {
    margin-bottom: 30px;
}

.post-body {
    display: block;
}

.post-head-info {
    display: flex;
    flex-wrap: wrap;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.6;
    text-transform: uppercase;
    margin-bottom: 0;
}

.post-head-info i {
    margin-right: 5px;
}

.post-head-info a:hover,
.post-head-info a:focus {
    color: var(--color-black);
}

.post-head-info > div:not(:last-of-type)::after {
    width: 1px;
    height: 12px;
    background: var(--color-secondary);
    content: "";
    display: inline-block;
    margin: 0 14px;
    position: relative;
    top: 2px;
}

.post-head-info-authors span:not(:last-child)::after,
.post-head-info-authors a:not(:last-child)::after {
    content: ", ";
}

.post-body-image {
    margin-bottom: 15px;
}

img.alignright {
    float: right;
    margin: 0 0 30px 30px;
}

img.alignleft {
    float: left;
    margin: 0 30px 30px 0;
}

.post-body-excerpt p:last-of-type {
    margin-bottom: 0;
}

.post-bottom {
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
    -ms-align-items: center;
    align-items: center;
}

.post-bottom-share {
    color: var(--color-alternate);
    font-weight: 600;
}

.post-form {
    margin-top: 30px;
}

.post-body-content {
    width: 100%;
    overflow: hidden;
}

.post-body-content hr {
    opacity: 0;
}

.post-body-content iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
}

.post-body-content .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.post-body-content .alignright {
    float: right;
    margin: 0 0 var(--gutter-size) var(--gutter-size);
}

.post-body-content .wp-caption-text {
    font-size: 80%;
    line-height: 1.4;
    text-align: center;
}

.post-body-content h2 {
    font-size: 2rem;
}

@media screen and (max-width: 768px) {
    .post-body-content .alignright,
    .post-body-content .alignleft{
        max-width: 50%;
    }
}

@media screen and (min-width: 1025px) {
    .post-body {
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
    }

    .post-body-image {
        margin: 0 30px 0 0;
        width: 33%;
        flex-basis: 33%;
    }

    .post-body-content {
        flex: 1;
    }

    .single .post-body {
        display: block;
    }

    .single .post-body-image {
        margin: 0 0 30px;
        width: 100%;
    }

    .post-body-image ~ .post-body-excerpt {
        margin-left: 40px;
        width: 75%;
    }
}

/* BLOG > Blog Grid Style */
.blog-grid .post {
    width: 100%;
    padding-bottom: 0;
    border-bottom: 0;
}

.blog-grid .post-inner {
    margin-top: -25px;
    padding: 0 5px;
}

.blog-grid .post-head h2 a {
    font-size: 24px;
    font-weight: 400;
    color: var(--color-gray-200);
}

.post-thumbnail-link {
    display: block;
}

.post-thumbnail-image {
    width: 100%;
    aspect-ratio: 250/180;
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: 50%;
    background-position-y: 100%;
    border: 1px solid var(--color-gray-500);
    border-radius: 7px;
}

.blog-filters {
    margin-bottom: 40px;
}

.blog-filters-block:not(:last-of-type) {
    margin-bottom: 20px;
}

#blog-grid-pagination {
    margin-top: 50px;
}

.blog-grid .post-head-info {
    margin-bottom: 20px;
    margin-left: 20px;
    margin-right: 20px;
    position: relative;
    z-index: 1;
    display: block;
    padding: 12px 5px;
    background: var(--color-white);
    border-radius: 7px;
    font-size: 16px;
    font-weight: 400;
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.05);
}

.blog-grid .post-head-info i {
    color: var(--color-secondary);
}

.blog-grid .post-inner {
    text-align: center;
}

.blog-grid .post-bottom {
    justify-content: center;
}

.blog-grid .post-bottom .button {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    font-size: 12px;
    color: var(--color-white);
    border-radius: 50%;
    background-color: var(--color-gray-400);
}

.blog-grid .post-bottom .button:focus,
.blog-grid .post-bottom .button:hover {
    color: var(--color-white);
    background-color: var(--color-secondary);;
}

@media screen and (min-width: 480px) {
    .blog-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 30px;
    }
}

@media screen and (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .blog-filters {
        display: flex;
        justify-content: space-between;
        margin-bottom: 60px;
    }

    .blog-filters-block {
        margin-bottom: 0 !important;
        width: 48%;
    }

    .blog-grid .post-inner {
        padding: 0;
    }

    .blog-grid .post-head h2 a {
        font-size: 20px;
    }

    .blog-grid .post-head-info-authors {
        display: none;
    }

    .blog-grid .post {
        margin-bottom: 30px;
    }
}

@media screen and (min-width: 1025px) {
    .blog-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .blog-filters {
        justify-content: flex-start;
    }

    .blog-grid .post-head h2 a {
        font-size: 24px;
    }

    .blog-filters-block:not(:last-of-type) {
        margin-right: 30px;
    }
}

/* BLOG > Page Navigation */
.wp-pagenavi {
    margin-top: 30px;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.wp-pagenavi a,
.wp-pagenavi span {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin: 0;
    background: #f4f5f8;
    color: var(--color-black);
    margin-right: 10px;
}

.wp-pagenavi span.current {
    color: var(--color-white);
    background-color: #222429;
}

.wp-pagenavi a:hover,
.wp-pagenavi a:focus {
    background: #ffaa17;
    color: #222429;
}

.wp-pagenavi span.pages,
.wp-pagenavi span.extend {
    display: none;
}

.wp-pagenavi .nextpostslink,
.wp-pagenavi .previouspostslink,
.wp-pagenavi .first,
.wp-pagenavi .last {
}

.wp-pagenavi .nextpostslink:hover,
.wp-pagenavi .nextpostslink:focus,
.wp-pagenavi .previouspostslink:hover,
.wp-pagenavi .previouspostslink:focus,
.wp-pagenavi .first:hover,
.wp-pagenavi .first:focus,
.wp-pagenavi .last:hover,
.wp-pagenavi .last:focus {
    background: #ffaa17;
    color: #222429;
}

@media screen and (min-width: 768px) {
    .wp-pagenavi a,
    .wp-pagenavi span {
        margin-right: 15px;
        font-size: 20px;
        width: 50px;
        height: 50px;
        line-height: 50px;
    }
}

/*******************************************************************************************
TEMPLATES - Pre-built subpages
*******************************************************************************************/

/* TEMPLATES > Attorney Bios */
.content-tabs-anchor-links .content-tabs-row {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    margin: 0;
    z-index: 1;
    background: rgba(15, 133, 119, 0.8);
}

.content-tabs-anchor-links .content-tabs-row button {
    background: none;
    color: white;
    min-height: 60px;
    margin: 0;
    position: relative;
    flex: 1;
}

.content-tabs-anchor-links .content-tabs-row button:hover,
.content-tabs-anchor-links .content-tabs-row button:focus {
    background: var(--color-primary);
}

.content-tabs-anchor-links .content-tabs-row button::after {
    position: absolute;
    content: "";
    height: 14px;
    background: var(--color-white);
    right: 0;
    top: calc(50% - 7px);
    width: 1px;
}

.content-tabs-anchor-links .content-tabs-row button i {
    display: none;
}

.content-tabs-anchor-links .content-tabs-row button.active {
    background: var(--color-white);
    color: var(--color-secondary);
}

.content-tabs-anchor-links .content-tabs-row button:hover::after,
.content-tabs-anchor-links .content-tabs-row button:focus::after,
.content-tabs-anchor-links .content-tabs-row button.active::after {
    display: none;
}

/* TEMPLATES > Attorneys Landing */

/* Attorney Boxes */
.attorney-holder .h3 {
    margin-bottom: 30px;
    font-size: var(--font-size-h2);
}

.attorney-holder + .attorney-holder {
    margin-top: 60px;
}

.attorney-search-inner {
    display: block;
    outline: none;
    transition: filter 300ms ease-out, opacity 100ms ease-out;
}

.attorney-search-inner.search-running {
    filter: blur(12px);
    opacity: 0;
}

.attorney-single-block {
    display: flex;
    margin-bottom: 15px;
    flex-direction: column;
}

.attorney-single-box {
    padding: 0;
    width: 100%;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.attorney-single-box img {
    width: 100%;
    display: block;
    transition: all 200ms ease-out;
}

.attorney-single-box-thumb {
    position: relative;
}

.attorney-single-box-thumb:before {
    display: flex;
    content: "\f105";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    opacity: 0;
    color: var(--color-white);
    font-family: var(--font-family-icon);
    background-color: rgba(255, 255, 255, 0.2);
    transition: opacity 200ms ease-out;
}

.attorney-single-box-info {
    padding: 12px 0;
    position: relative;
    text-align: center;
}

.attorney-single-box-info h4,
.attorney-single-box-info p {
    color: var(--color-gray);
    margin: 0;
}

.attorney-single-box:hover .attorney-single-box-thumb:before,
.attorney-single-box:focus .attorney-single-box-thumb:before {
    opacity: 1;
}

.attorney-single-box h4 {
    font-size: 1.375rem;
    font-weight: 500;
}

.attorney-single-box-info p {
    font-size: 1.25rem;
}

.attorney-single-box.is-staff .attorney-single-box-thumb:before {
    content: '\f067';
    background-color: rgba(0, 0, 0, 0.2);
}

.attorney-single-box-additional {
    flex: 1;
    display: flex;
    padding: 10px 0;
    font-size: 0.875rem;
    flex-direction: column;
    align-items: flex-start;
}

.attorney-single-box-additional a {
    display: inline-flex;
    align-items: center;
}

.attorney-single-box-additional .button {
    margin-top: 15px;
}

.attorney-single-box-additional a:not(.button) {
    color: var(--color-black);
}

.content-team .attorney-results {
    margin-bottom: 50px;
}

.content-team .attorney-single-box-info {
    padding: 18px 0;
    text-align: left;
    border-bottom: 5px solid var(--color-dark);
}

.content-team .attorney-single-box h4 {
    font-weight: 300;
    font-size: 1.25rem;
    color: var(--color-dark);
}

.content-team .attorney-single-box p {
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-dark);
}

.content-team .attorney-single-box-thumb:before {
    display: none;
}

@media screen and (min-width: 650px) {
    .attorney-results {
        display: flex;
        row-gap: 20px;
        flex-wrap: wrap;
        margin-left: -10px;
        margin-right: -10px;
        justify-content: center;
    }

    .attorney-single-block {
        margin-bottom: 0;
        width: 50%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .content-team .attorney-results {
        justify-content: flex-start;
    }
}

@media screen and (min-width: 900px) {
    .attorney-single-block {
        width: 33.33%;
    }

    .content-team .attorney-single-block {
        width: 33.33%;
    }
}

@media screen and (min-width: 1025px) {
    .attorney-single-block {
        width: 25%;
    }
}

/* Attorney Rows */
.attorney-single-row {
    display: flex;
    text-align: center;
    flex-direction: column;
    margin-bottom: 40px;
}

.attorney-row-link {
    justify-content: center;
    margin: 0 auto;
    max-width: 280px;
    transition: opacity 200ms ease-out;
}

.attorney-row-link:focus,
.attorney-row-link:hover {
    opacity: 0.9;
}

.attorney-row-info-main {
    padding-top: 20px;
    border-top: 2px solid var(--color-gray);
}

.attorney-row-additional span,
.attorney-row-info-main-contact span {
    display: block;
}

.attorney-single-row i {
    color: var(--color-primary);
}

.attorney-row-additional {
    margin-top: 6px;
}

.attorney-row-info-main-position {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

@media screen and (min-width: 790px) {
    .attorney-results-type-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-row-gap: 20px;
        grid-column-gap: 20px;
    }

    .attorney-single-row {
        margin-bottom: 0;
    }
}

@media screen and (min-width: 900px) {
    .attorney-results.attorney-results-type-row {
        display: block;
    }

    .attorney-single-row {
        flex-direction: row;
        border-bottom: 2px solid var(--color-gray);
        text-align: left;
        margin-bottom: 30px;
    }

    .attorney-row-info-main-position,
    .attorney-single-row:last-of-type,
    .attorney-row-additional,
    .attorney-row-link {
        margin: 0;
    }

    .attorney-row-info {
        display: flex;
        flex: 1;
        padding: 0 0 40px 5vw;
    }

    .attorney-row-info-main {
        justify-content: flex-end;
        display: flex;
        flex-direction: column;
        padding: 0;
        border: none;
        flex: 1;
    }

    .attorney-row-info-main-contact {
        margin-top: 40px;
    }

    .attorney-row-additional {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        width: 50%;
    }
}

/* Attorney Pops */
.attorney-results.attorney-results-type-pop {
    display: block;
}

.attorney-result-pop {
    display: none;
}

.attorney-result-pop-row {
    font-size: 1.1rem;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-gray);
}

.attorney-result-pop-cell {
    flex: 1;
    margin-bottom: 5px;
}

.attorney-result-pop-name {
    flex-basis: 30%;
    width: 30%;
    position: relative;
}

.attorney-result-pop-info {
    margin-left: 40px;
}

.attorney-result-pop-info p {
    margin-bottom: 0;
}

.attorney-result-pop-row i {
    color: var(--color-secondary);
    -webkit-transition: color 200ms ease-out;
    -moz-transition: color 200ms ease-out;
    -ms-transition: color 200ms ease-out;
    -o-transition: color 200ms ease-out;
    transition: color 200ms ease-out;
}

.attorney-result-pop-cell a {
    text-decoration: none;
}

.attorney-result-pop-cell > a {
    color: var(--color-primary);
}

.attorney-result-pop-name:hover > a,
.attorney-result-pop-cell a:hover,
.attorney-result-pop-cell a:focus {
    text-decoration: underline;
    color: var(--color-alternate);
}

.attorney-result-pop-info > a {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.attorney-result-pop-info a {
    color: white;
}

.attorney-result-pop-inner {
    display: flex;
    align-items: center;
}

.attorney-result-pop .attorney-result-pop-image img {
    max-width: 130px;
}

.attorney-result-pop {
    position: absolute;
    top: calc(100% - 115px);
    right: 0;
    padding: 30px;
    z-index: 1;
    background: var(--color-primary);
    height: 200px;
}

.attorney-result-pop-image {
    background: var(--color-gray);
    display: flex;
    flex-direction: column;
}

.attorney-result-pop::before {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 14px 15px 0;
    border-color: transparent var(--color-primary) transparent transparent;
    content: "";
    right: calc(100% - 1px);
    top: calc(50% - 15px);
    position: absolute;
}

.attorney-result-pop-vcard {
    margin-left: auto;
    flex-grow: 0;
}

.attorney-result-pop-vcard a:hover i,
.attorney-result-pop-vcard a:focus i {
    color: var(--color-alternate);
}

.attorney-result-pop-name-link {
    font-size: 1.3rem;
    display: block;
    margin-bottom: 8px;
}

@media screen and (min-width: 900px) {
    .attorney-result-pop-cell {
        margin-bottom: 0;
    }

    .attorney-result-pop-name-link {
        margin-bottom: 0;
        font-size: inherit;
    }

    .attorney-result-pop-row {
        display: flex;
        width: 100%;
    }

    .attorney-result-pop-name:focus-within .attorney-result-pop,
    .attorney-result-pop-name:hover .attorney-result-pop {
        display: block;
        -webkit-animation: fadeInLeftSlight 200ms ease-out;
        animation: fadeInLeftSlight 200ms ease-out;
    }
}

/* TEMPLATES > Attorney Search */
.attorney-search-bar {
    text-align: center;
    margin-bottom: 40px;
    border-top: 1px solid var(--color-light-gray);
    border-bottom: 1px solid var(--color-light-gray);
}

.attorney-search-container-inner {
    padding-top: 40px;
    padding-bottom: 40px;
}

.attorney-search-bar-string span {
    font-weight: 600;
}

.attorney-search-bar-string span:not(:last-of-type)::after {
    margin-right: 5px;
    content: ",";
}

.attorney-search-letters {
    margin-bottom: 40px;
}

.attorney-search-letters-single {
    display: inline-block;
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 0;
    background: none;
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 600;
}

#attorney-search-clear {
    display: none;
}

.search-results-displayed #attorney-search-clear {
    display: inline-block;
}

span.attorney-search-letters-single {
    color: var(--color-gray);
}

@media screen and (min-width: 700px) {
    .attorney-search-form .form-input-row {
        display: flex;
    }

    .form-input-group:first-of-type {
        margin-right: 15px;
    }
}

@media screen and (min-width: 1025px) {
    .attorney-search-letters {
        display: flex;
        justify-content: space-between;
    }
}

/* TEMPLATES > Practices Landing */
.practice-box {
    display: block;
    padding: 25px;
    background: var(--color-primary);
    color: white;
    text-align: center;
    margin-bottom: 20px;
    text-decoration: none;
    transition: background 200ms ease-out;
}

.practice-box:last-of-type {
    margin-bottom: 0;
}

.practice-box:hover,
.practice-box:focus {
    background: var(--color-alternate);
}

.practice-box span {
    margin: 0;
    font-size: 1.3rem;
    -ms-align-self: center;
    align-self: center;
    width: 100%;
}

.practice-box:focus span,
.practice-box:hover span {
    color: white;
}

@media screen and (min-width: 768px) {
    .practice-box-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-row-gap: 20px;
        grid-column-gap: 20px;
    }

    .practice-box {
        margin-bottom: 0;
    }
}

/* TEMPLATES > Practices Detail */
.single-practices .banner {
    border-bottom: 8px solid var(--color-black);
}

.single-practices .banner:after,
.single-attorneys .banner:after {
    left: 0;
    bottom: 0;
    top: 121px;
    width: 100%;
    content: "";
    display: block;
    position: absolute;
    background-image: url(../images/_banner-practices.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.single-practices .banner-inner {
    padding-top: 141px;
}

.single-practices .banner-title {
    width: 100%;
    text-align: left;
    font-size: 1.875rem;
    color: var(--color-dark);
}

.single-practices .content h4 {
    font-weight: 300;
    font-size: 1.25rem;
}

@media screen and (min-width: 768px) {
    .single-practices .banner-title {
        font-size: 2.5rem;
    }
}


/* TEMPLATES > Staff Detail */
.single-staff .header,
.single-staff .footer,
.single-staff #ada-menu-toggle {
    display: none !important;
}


.single-staff main {
    padding: 0;
}

.staff-bio-holder {
    padding: 32px;
}

.staff-bio-image {
    margin-bottom: 30px;
}

.staff-bio-image img {
    width: 100%;
    display: block;
}

.staff-bio-content {
    padding-right: 0;
}

.staff-bio-content h1 {
    font-size: 1.375rem;
    font-weight: 500;
    margin-bottom: 0;
}

.staff-bio-content-position {
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.staff-bio-contact {
    margin-top: 20px;
}

.staff-bio-contact a {
    color: inherit;
    text-decoration: none;
}

.staff-bio-contact a:hover,
.staff-bio-contact a:focus {
    text-decoration: underline;
}

.staff-bio-contact p {
    margin-bottom: 0;
}

@media screen and (min-width: 768px) {
    .staff-bio-holder {
        display: flex;
        max-height: 600px !important;
    }

    .staff-bio-image {
        flex: 1;
        margin-bottom: 0;
        padding-right: var(--gutter-size);
    }

    .staff-bio-content {
        flex: 1;
        padding: 15px 0 var(--gutter-size) 15px;
    }
}

/* TEMPLATES > Video Gallery */
.videos-filter {
    margin-bottom: 50px;
}

@media screen and (min-width: 1025px) {
    .videos-filter {
        max-width: 450px;
    }
}

/* TEMPLATES > Contact */
.office-block {
    margin-bottom: 30px;
}

.office-block-image {
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: 50%;
}

.office-block-info {
    position: relative;
}

.office-block-info p {
    margin: 0;
}

.office-contact {
    margin-top: 20px;
}

.office-contact p {
    font-weight: 700;
}

.office-block-info-inner {
    width: 100%;
}

.office-contact-map {
    margin-top: 20px;
}

.office-block-embed {
    width: 100%;
    border: 0;
    height: 240px;
    margin-top: 20px;
}

@media screen and (min-width: 1025px) {
    .office-block {
        display: flex;
        flex-wrap: wrap;
    }

    .office-block-info {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    .office-block-image {
        display: flex;
        width: 250px;
        flex-basis: 250px;
        height: auto;
        margin-right: 20px;
        margin-bottom: 0;
    }

    .office-block-image + .office-block-info {
        width: calc(100% - 270px);
    }
}

/* TEMPLATES > Contact  */

.page-template-template-contact .gform_wrapper {
    padding: 20px;
    background-color: var(--color-light-gray);
}

@media screen and (min-width: 1025px) {
    .page-template-template-contact .sidebar,
    .page-template-template-contact .content {
        width: 50%;
    }
}

@media screen and (max-height: 750px) and (min-width: 1025px) {
    .page-template-template-contact-full main,
    .contact-full-container {
        height: 100%;
    }

    .contact-full-container {
        padding: 0;
    }

    .page-template-template-contact-full main {
        padding: 160px 0 100px;
    }
}

/* TEMPLATES > Attorney Bios */
.content-tabs-row {
    display: none;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.content-tabs-row-inner {
    display: flex;
}

.content-tabs-row .content-tab-activate {
    margin-right: 10px;
}

.content-tab-activate {
    border-radius: 0;
    flex: 1;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-black);
    background: var(--color-light-gray);
}

.content-tab-activate.active {
    background: var(--color-primary);
    pointer-events: none;
    color: var(--color-white);
}

.content-tab {
    display: none;
    margin-bottom: 50px;
}

.content-tab.active {
    -webkit-animation: fadeIn 200ms ease-out;
    animation: fadeIn 200ms ease-out;
}

.content-tab.active,
.content-tabs-anchor-links .content-tab {
    display: block;
}

.content-tabs-anchor-links .mobile-tab {
    display: none;
}

.content-tabs-select {
    margin: 0 auto 30px;
    display: none;
}

.content-tabs-anchor-links .content-tabs-select {
    display: block;
}

.content-tab-title {
    font-weight: 600;
    font-size: 1.875rem;
    margin-bottom: 30px;
    text-decoration: underline;
}

.mobile-tab {
    width: 100%;
    padding: 20px 30px;
    margin-bottom: 12px;
    position: relative;
}

.single-attorneys .content-tabs-row {
    margin-bottom: 0;
}

.single-attorneys .content-tabs-row-inner {
    flex-direction: column;
}

.single-attorneys .content-tabs-row .content-tab-activate {
    margin-right: 0
}

.single-attorneys .content-tabs-row .content-tab-activate + .content-tab-activate {
    margin-top: 12px;
}

@media screen and (min-width: 1025px) {
    .content-tabs {
        display: flex;
        flex-wrap: wrap;
    }

    .content-tabs-row {
        display: block;
    }

    .mobile-tab,
    .content-tabs-anchor-links .content-tabs-select {
        display: none;
    }
}

/* TEMPLATES > Long-Form */
.banner-xl {
    background: rgb(20, 23, 47);
    background: linear-gradient(180deg, rgba(20, 23, 47, 1) 46%, rgba(36, 42, 88, 1) 100%);
    padding: 40px 0;
}

.banner-xl-content p:last-child {
    margin: 0;
}

.banner-xl-image {
    text-align: center;
}

.banner-xl-title {
    font-size: 3.5rem;
    line-height: 1.4;
}

.banner-xl-image img {
    max-width: 70%;
    margin: 0 auto;
}

@media screen and (min-width: 1100px) {
    .banner-xl-inner {
        display: flex;
        align-items: center;
    }

    .banner-xl-content {
        padding-left: 60px;
        flex: 1;
    }
}

.top-table-contents {
    padding: 50px 0;
    background: #e5e8f6;
}

.top-table-contents-button {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    text-decoration: none !important;
    margin: 0 auto;
}

.top-table-contents-button {
    font-size: 1.2rem;
}

.top-table-contents-icon-container {
    margin-bottom: 15px;
}

.top-table-contents-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-row-gap: 20px;
    grid-column-gap: 20px;
}

.top-table-contents-button-icon {
    background: var(--color-secondary);
    border-radius: 50%;
    width: 90px;
    height: 90px;
    transition: all 200ms ease-out;
}

.top-table-contents-button i {
    font-size: 3rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-table-contents-button-icon:hover,
.top-table-contents-button-icon:focus {
    transform: scale(1.03);
    background: var(--color-alternate);
}

.is-sticky .top-table-contents {
    padding: 20px 0;
}

.is-sticky .top-table-contents-button-icon {
    width: 30px;
    height: 30px;
}

.is-sticky .top-table-contents-button i {
    font-size: 1rem;
}

.is-sticky .top-table-contents-icon-container {
    margin: 0 12px 0 0;
}

.is-sticky .top-table-contents-title {
    display: none;
}

.is-sticky .top-table-contents-button {
    flex-direction: row;
    margin: 0 auto 0 0;
}

.single-chapter-banner-title h2 {
    font-size: 2.4rem;
    margin: 0;
}

.single-chapter-banner-image {
    margin-bottom: 20px;
}

.single-chapter:nth-child(2n) {
    background: var(--color-light-gray);
}

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

.single-chapter-banner {
    background: var(--color-primary);
}

.single-chapter-content,
.single-chapter-banner {
    padding: 30px 0;
}

@media screen and (min-width: 900px) {
    .single-chapter-banner-inner {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row-reverse;
    }

    .single-chapter-banner-image {
        margin-bottom: 0;
        padding-left: 5vw;
    }

    .single-chapter-banner-title h2 {
        margin: 0;
        font-size: 3.2rem;
    }
}

@media screen and (min-width: 1025px) {
    .top-table-contents-inner {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* TEMPLATES > Confirmation */
.confirm-contact {
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.confirm-contact a:not(:last-child) {
    margin-right: 20px;
}

.confirm-social {
    margin-bottom: 60px;
}

/* TEMPLATES > Reviews */
.review-social {
    margin: 40px 0;
}

.review-social .social-links {
    max-width: none;
    justify-content: flex-start;
}

.review-social .social-links a {
    font-size: 1.7rem;
    border: 1px solid var(--color-primary);
    background: var(--color-white);
    width: 50px;
    height: 50px;
    margin: 0 15px 0 0;
    transition: all 200ms ease-out;
}

.review-social .social-links a:focus,
.review-social .social-links a:hover {
    opacity: 0.85;
    background: var(--color-light-gray);
}

.review-stars i {
    font-size: 2rem;
    color: var(--color-secondary);
}

/* TEMPLATES > Testimonials */
.content-testimonial-single:not(:last-child) {
    border-bottom: 1px solid var(--color-gray);
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.content-testimonial-stars {
    font-size: 1.5rem;
}

.content-testimonial-source {
    display: block;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.content-testimonial-source::before {
    content: "-";
    margin-right: 6px;
    display: inline-block;
}
