:root {
    font-family: 'Times New Roman', Times, serif;
}

.btn,
.btn-large,
.btn-flat {
    height: auto !important;
    line-height: 24px !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    background-color: #02784d;
}

#hero {
    min-height: 70vh;
}

.bg-img {
    opacity: 0. !important;
    object-fit: cover;
}

.parallax-container {
    position: relative;
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
    height: unset;
    margin-top: -2px;
}

.parallax-content {
    position: relative;
    z-index: 999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.footer-divider {
    position: absolute;
    z-index: 1;
    stroke: none;
    fill: #1c1d3c;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    transform: rotate(180deg);
}

.card-title {
    line-break: normal;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: stretch;
    align-content: stretch;
}

.flex .col {
    display: flex;
}

.flex .col * {
    flex-grow: 1;
}

.flex .fill {
    display: flex;
    flex-flow: column wrap;
    justify-content: space-evenly;
}

.valign-wrapper {
    flex-wrap: wrap;
}

.parallax {
    z-index: 1 !important;
}

.row .col {
    float: none !important;
    margin-left: auto;
    margin-right: auto;
}

.expertise-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.icon-container {
    display: inline-flex;
    vertical-align: middle;
}

.expertise-container .icon-container {
    border-radius: 2rem;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    color: white;
}

.expertise-container .icon-container i.material-icons {
    margin-right: 8px;
}

#services .card-panel i {
    font-size: 3rem;
}

#footer .fab {
    font-size: 24px;
    border-radius: 8px;
    margin: 8px;
    padding: 0.75rem;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    font-family: 'Times New Roman', Times, serif;
    color: white;
    background-color: #02784d;
}

#footer .fab :not(:first-child) {
    margin-left: 8px;
}

#footer .fab:hover {
    border: 1px solid white;
    background-color: white;
    color: #02784d;
}

.fab .waves-ripple {
    background-color: rgba(68, 42, 77, 0.7);
}

.carousel.carousel-slider img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.law-firm-container {
    display: flex;
    flex-flow: column;
    align-items: stretch;
    gap: 12px;
}

.law-firm-col {
    display: flex;
    flex-flow: column;
    align-items: stretch;
    justify-content: stretch;
    flex: 50%;
}

.law-firm-col .elevated {
    border-radius: 2rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    overflow: clip;
}

.law-firm-col * {
    margin: 0 !important;
    width: 100%;
    height: 100%;
}

@media (min-width: 768px) {
    .law-firm-container {
        flex-flow: row;
        align-items: stretch;
        justify-content: space-around;
    }
}

.testimonial-card .avatar {
    height: 80px !important;
    width: 80px !important;
}

.testimonial-card .source {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.testimonial-card .source-logo {
    max-width: 14px;
}

.testimonial-card .rating {
    margin-bottom: 12px;
}

.testimonial-card .testimonial-text {
    margin-bottom: 24px;
}

.testimonial-card .timestamp {
    text-transform: lowercase;
    font-size: 12px;
}

#testimonial-carousel .carousel-item {
    padding: 24px;
    max-width: 500px;
}

.carousel-item {
    display: flex;
    flex-flow: column;
    justify-content: center;
}

@media (max-width: 768px) {
    #team .col-team-pics {
        order: 1;
    }

    #team .col-team-description {
        order: 0;
    }

    #team .row {
        gap: 12px;
    }

    h1 {
        font-size: 2rem;
    }
}
