.lei-steps {
    counter-reset: step-counter;
    margin: 2rem 1rem;
    display: flex;
    flex-direction: row;
}
.lei-steps h5 {
    min-height: 3rem;
}
.lei-steps .list-group-item {
    background-color: transparent;
}
.lei-steps dt {
    margin: 1rem 0 0 2.5rem;
    position: relative;
    padding: .6rem 0 1.5rem .5rem;
    font-weight: 500;
    flex: 1;
}
.lei-steps dt:last-of-type {
    border: none;
}
.lei-steps dt:before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    text-align: center;
    left: -2.5rem;
    width: 2.5rem;
    top: 0;
    font: 40px/1 'Roboto';
    color: #bbb;
}
.lei-steps dd {
    margin: 0 0 0 2.5rem;
    padding: .5rem 0 .5rem 1rem;
}

@media only screen and (max-width: 991px) {
    .lei-steps {
        flex-direction: column  ;
    }
}

.lei-search-table, .lei-relationship-table {
    background: #eee;
}
.lei-search-table th, .lei-search-table td {
    line-height: 1.5;
    padding: 15px 20px;
    border-bottom: 2px solid white;
}
.lei-search-table th {
    font-weight: bold;
    text-align: right;
    width: 30%;
    border-right: 10px solid white;
    color: #666;
}
hr.hr-5 {
    border-width: 5px;
}
.lei-relationship-table th{
    background: #ddd;
    color: #666;
    font-weight: bold;
    padding: 15px 20px;
}
.lei-relationship-table td {
    padding: 25px 20px;
}
.lei-search-spinner {
    font-size: 48px;
    text-align: center;
    padding: 50px;
}
.lei-search-spinner img {
    display: inline-block;
    width: 64px;
    height: 64px;
    margin-right: 30px;
    animation: rotation 2s infinite linear;
}
@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}
img.flag {
    width: 25px;
    margin-right: 5px;
}
table.lei tr th,
table.lei tr td {
    padding: 25px;
}
table.lei tr td {
    background-color: #eee;
    border-bottom: 5px solid #fff;
    transition: background-color 0.5s;
    cursor: pointer;
    vertical-align: top;
}
table.lei tr:hover td {
    background-color: #ddd;
}
table.lei tr td img.flag {
    width: 25px;
}