.lawyer-view-header.panel {
    border: none;
}

.lawyer-view-header-description .lead {
    margin-bottom: 0;
}

.lawyer-view-header-description .badge {
    background: transparent;
    color: #666666;
    border: 0;
    font-size: 12px;
    margin: 0 8px 8px 0;
    padding: 0;
}

.lawyer-view-header-description .not-set {
    color: #777777;
}

.rating-container {
    text-align: center;
}

.rating-container .caption {
    text-align: center;
}

.lawyer-view-header-right-box {
    text-align: center;
    width: 100%;
}

@media screen and (min-width: 990px) {
    .lawyer-view-header .panel-body {
        position: relative;
        height: 150px;
        padding: 0;
    }

    .lawyer-view-img {
        height: 150px;
        width: 150px;
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;
    }

    .lawyer-view-header-description {
        margin: 0;
        width: calc(100% - 350px);
        padding: 15px;
        height: 150px;
    }

    .lawyer-view-header-right-box {
        width: 200px;
        text-align: center;
        padding-top: 30px;
        border-left: 1px solid #e5e5e5;
        height: 150px;
    }

    .lawyer-view-key-info {
        float: left;
        width: 320px;
    }

    .lawyer-view-additional-info {
        float: right;
        padding-left: 30px;
        padding-top: 10px;
        border-left: 1px solid #dbdbdb;
        width: 350px;
    }
}

.lawyer-view-header-description h1 {
    margin: 0 0 15px 0;
    font-size: 32px;
    word-wrap: break-word;
}


#lawyer-view h2 {
    font-size: 22px;
}

#lawyer-view h1 {
    font-size: 24px;
    margin: 0;
}

ul.specialization-list {
    list-style: none;
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
}

#lawyer-list {
    list-style: none;
    padding: 0;
}

#lawyer-list .item:hover .panel {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Параметры тени */
}

#lawyer-list a {
    color: #2a599a;
}

#lawyer-list a:hover {
    color: #333;
    text-decoration: none;
}


.education-approved-ribbon {
    width: 90px;
    height: 90px;
    overflow: hidden;
    position: absolute;
}

.education-approved-ribbon span {
    position: absolute;
    display: block;
    width: 170px;
    padding: 5px 0;
    background-color: #6aab5e;
    color: #fff;
    font: 700 10px/1 'Lato', sans-serif;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    text-transform: uppercase;
    text-align: center;
}

/* top right*/
.education-approved-ribbon-top-right {
    right: 15px;
}

.education-approved-ribbon-top-right::before,
.education-approved-ribbon-top-right::after {
    border-top-color: transparent;
    border-right-color: transparent;
}

.education-approved-ribbon-top-right::before {
    top: 0;
    left: 0;
}

.education-approved-ribbon-top-right::after {
    bottom: 0;
    right: 0;
}

.education-approved-ribbon-top-right span {
    left: -25px;
    top: 25px;
    transform: rotate(45deg);
}

@media screen and (max-width: 420px) {
    .lawyer-view-header-description .lead {
        font-size: 20px;
        margin-top: 10px;
    }

    ul.specialization-list {
        list-style: none;
        columns: 1;
        -webkit-columns: 1;
        -moz-columns: 1;
    }

    .lawyer-view-header-right-box {
        text-align: center;
        width: 100%;
        border-top: 1px solid #e5e5e5;
        padding: 20px;
    }

    .lawyer-view-header-right-box .btn {
        font-size: 18px;
    }
}
