.widget_related_lawyers_improved {
    border: 1px solid #eee;
    border-radius: 5px;
    background-color: #FAFAFA;
}

.widget_related_lawyers_improved h2 {
    color: #AE1B1B;
    font-size: 1.5rem;
    padding: 20px 20px 0;
}

.widget_related_lawyers_improved .lawyer-link {
    position: relative;
    display: block;
    min-height: 110px; /*Height of lawyer photo*/
    padding-left: 110px; /*Width of lawyer photo + margin*/
}
@media only screen and (min-width: 440px) {
    .widget_related_lawyers_improved .lawyer-link {
        padding-left: 160px;
        min-height: 160px;
    }
}
@media only screen and (min-width: 64.0625em) {
    .widget_related_lawyers_improved .lawyer-link {
        padding-left: 0;
        min-height: 0;
    }
}

.widget_related_lawyers_improved .lawyer-photo {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100px;
    margin-right: 1em;
}
@media only screen and (min-width: 440px) {
    .widget_related_lawyers_improved .lawyer-photo {
        max-width: 150px;
    }
}
@media only screen and (min-width: 64.0625em) {
    .widget_related_lawyers_improved .lawyer-photo {
        position: relative;
    }
}

.widget_related_lawyers_improved .lawyer-summary {
    float: left;
    color: #323D50;
}
@media only screen and (min-width: 64.0625em) {
    .widget_related_lawyers_improved .lawyer-summary {
        /*float: none;*/
    }
}

.row-padding {
    padding-left: 20px;
    padding-right: 20px;
}

.one-fifth {
    width: 100%;
}
@media only screen and (min-width: 64.0625em) {
    .one-fifth {
        width: 20%;
    }
}
.columns:last-child.one-fifth {
    float: left;
}

.widget_related_lawyers_improved .contact-related-lawyer-form {
    padding: 0 20px;
    clear: both;
}

.widget_related_lawyers_improved .content-box--footer {
    padding: 20px 0;
}

.widget_related_lawyers_improved .content-box--footer a {
    text-decoration: underline;
    font-size: small;
}

.widget_related_lawyers_improved .type-lawyer {
    margin-bottom: 1em;
}

.learning-center-page-bottom .lawyer-name {
    padding: 10px 0;
}

.widget_related_lawyers_improved .type-lawyer .lawyer-name {
    line-height: 1rem;
}

.widget_related_lawyers_improved .type-lawyer .lawyer-meta-ul .lawyer-meta-li {
    margin-bottom: 0;
}

.why-these-lawyers {
    font-size: 0.9em;
    display: block;
}
@media only screen and (min-width: 64.0625em) {
    .why-these-lawyers {
        float: right;
    }
}

.widget_related_lawyers_improved .view-all-lawyers {
    font-size: 1rem;
    display: block;
    margin-top: 1em;
    margin-left: 0;
    text-align: center;
}
@media only screen and (min-width: 64.0625em) {
    .widget_related_lawyers_improved .view-all-lawyers {
        display: inline;
        text-align: left;
        margin-top: 0;
        margin-left: 1em;
    }
}

.widget_related_lawyers_improved .lawyers-submit {
    display: block;
    width: 100%;
}
@media only screen and (min-width: 64.0625em) {
    .widget_related_lawyers_improved .lawyers-submit {
        display: inline-block;
        width: auto;
    }
}

.round-red {
    background-color: #AE1B1B;
    color: white;
    border-radius: 50%;
    margin-right: 0.5em;
    font-size: 0.9em;
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    line-height: 1.2rem;
    text-align: center;
    vertical-align: middle;
}


/* The Modal (background) */
.modal-why-lawyers {
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-why-lawyers .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 90%;
    padding: 20px;
    padding-right: 40px;
    border-radius: 5px;
    border: 1px solid #888;
    background-color: #fefefe;
}
@media only screen and (min-width: 40.0625em) {
    .modal-why-lawyers .modal-content {
        width: 600px; /*Arbitrary*/
    }
}
/* The Close Button */
.modal-why-lawyers .close-button {
    font-size: 28px;
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 1em;
    height: 1em;
    line-height: 1em;
    text-align: center;
    color: #AE1B1B;
}

.modal-why-lawyers .close:hover,
.modal-why-lawyers .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
