page-sidebar {
    height: 100%;
}

body.site-lang-heb page-sidebar {
    direction: rtl;
}

page-sidebar .page-sidebar-container {
    width: 100%;
    display: flex; 
    flex-direction: column;
}

page-sidebar .page-sidebar-container .top-image {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

page-sidebar .page-sidebar-container .sidebar-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 1.25vw;
}

page-sidebar .page-sidebar-container .sidebar-section.action-button {
    height: 9rem;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 4rem;
    font-weight: bold;
    letter-spacing: 1px;
    background-color: #2E6EAE;
    color: #FFF;
}

page-sidebar .page-sidebar-container .sidebar-section.action-button.bottom-button {
    background-color: #1c3a5e;
}

page-sidebar .page-sidebar-container .sidebar-section .section-title {
    height: 5rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 2.5rem;
    font-size: 2.5rem;
    background-color: #fff;
    color: #1c3a5e;
    font-weight: bold;
    font-size: 2rem;
}

page-sidebar .page-sidebar-container .sidebar-section .section-buttons {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    background-color: #fff;
    padding: 0.5rem 0 1rem 0;
    margin-top: 2px;
}

 page-sidebar .page-sidebar-container .sidebar-section .section-buttons .section-button {
    height: 4rem;
    width: 50%;
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 0 2.5rem;
    font-size: 1rem;
    color: #1c3a5e;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-size: 1.25rem;
    font-weight: bold;
}

page-sidebar .page-sidebar-container .sidebar-section .section-buttons .section-button a.section-button-link {
    color: #1c3a5e;
}


page-sidebar .page-sidebar-container .sidebar-section.practice-areas {
    /* padding: 0 1rem; */
}



page-sidebar .page-sidebar-container .sidebar-section.practice-areas .section-buttons {
    background-color: transparent;
    padding: 0;
    margin-top: 0;
}

page-sidebar .page-sidebar-container .sidebar-section.practice-areas .section-buttons .section-button {
    width: 100%;
    /* padding: 0 1rem; */
    margin-top: 2px;
    background-color: #fff;
}

@media screen and (max-width: 767px) {
    page-sidebar .page-sidebar-container .sidebar-section {
        margin-top: 3.25vw;
    }

    page-sidebar .page-sidebar-container .sidebar-section:last-child {
        margin-bottom: 3.25vw;
    }

    page-sidebar .page-sidebar-container .sidebar-section:not(.practice-areas) .section-title {
        height: 4rem;
        padding: 1rem 2.5rem 0 2.5rem;
    }
}


