/* Render-blocking, high priority stylesheet for attorney bios */
/* This file should be SMALL; delete CSS of bio templates you are not using */

.single-attorneys .banner {
    padding: 40px 0 0;
    height: auto;
}

.single-attorneys .banner h1 {
    overflow: hidden;
    padding-bottom: 4px;
}

.single-attorneys .banner h1 span {
    display: block;
}

.single-attorneys .banner:after {
    background: linear-gradient(to bottom, rgb(255, 255, 255), rgba(255, 255, 255, 0));
}

.single-attorneys .banner:before {
    display: none;
}

.attorney-banner-name {
    margin-bottom: 10px;
}

.attorney-banner-name h1 {
    margin-bottom: 0;
    font-size: 2.25rem;
}

.attorney-banner-left {
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}

.attorney-banner-left img {
    max-width: 300px;
}

.attorney-banner-right {
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.attorney-banner-phone-fax,
.attorney-banner-info p {
    margin-bottom: 15px;
}

.attorney-banner-info p,
.attorney-banner-info a {
    font-size: 1.1rem;
    line-height: 1;
}

.attorney-banner-info > p:last-child {
    margin: 0;
}

.attorney-banner-info .divider-span {
    display: none;
}

.attorney-banner-position {
    font-weight: 500;
    font-size: 1.125rem;
    text-transform: uppercase;
}

@media screen and (max-width: 767px) {
    .single-attorneys main {
        padding-top: 0;
    }
}

@media screen and (min-width: 1025px) {
    .attorney-banner-flex-row {
        display: flex;
        align-items: center;
    }

    .attorney-banner-flex-row p {
        margin: 0 24px 0 0;
    }

    .attorney-banner-name {
        margin-bottom: 30px;
    }

    .attorney-banner-name h1 {
        font-size: 3.75rem;
    }

    .attorney-banner-left img {
        width: auto;
        max-width: none;
    }

    .attorney-banner-right {
        margin-left: 40px;
        min-width: 50%;
        text-align: left;
    }

    .single-attorneys .banner {
        padding: 80px 0 0;
        height: auto;
    }

    .single-attorneys .banner-inner {
        flex-wrap: nowrap;
    }
}

/* Attorney Banner Template D */
.attorney-banner-large-left {
    order: 2;
}

.attorney-banner-large-right {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    order: 1;
    width: 300px;
    text-align: center;
}

.attorney-banner-large-info {
    line-height: 1.4;
    font-size: 1.063rem;
    color: var(--color-body-text);
}

.attorney-banner-large-info i {
    width: 15px;
    font-size: 0.875rem;
    display: inline-flex;
    justify-content: center;
    color: var(--color-secondary);
}

.attorney-banner-large-info a {
    color: inherit;
}

.attorney-banner-large-info p {
    margin-bottom: 10px;
}

.attorney-banner-large-info p:last-child {
    margin-bottom: 0;
}

.attorney-banner-large-right img {
    width: auto;
    max-width: 100%;
    height: 300px;
}

.attorney-bio-main-d {
    position: relative;
}

.single-attorneys-template-d .banner:before {
    display: none;
}

@media screen and (max-width: 767px) {
    .attorney-banner-large-left {
        padding: var(--gutter-size);
        background-color: var(--color-white);
        width: calc(100% + var(--gutter-size) * 2);
        margin-left: calc(var(--gutter-size) * -1);
        margin-right: calc(var(--gutter-size) * -1);
        border-top: 1px solid var(--color-light-gray-100);
    }
}

@media screen and (min-width: 768px) {
    .attorney-banner-large-left {
        margin-right: 8%;
        flex: 1;
        align-self: center;
        order: 0;
    }

    .attorney-banner-large-right {
        margin: 0;
        flex: 1;
        align-self: flex-end;
        width: auto;
        background: none;
    }

    .attorney-banner-large-right img {
        height: auto;
    }
}
