.first > .imgContainer, .first > .nameContainer { display: inline-block; height: 50px; vertical-align: middle; } .first img { display: block; width: 50px; height: 50px; margin-right: 8px; } .first .split0 { display: block; margin-top: 4px; font-size: 20px; } .container { overflow: hidden; text-overflow: ellipsis; cursor: pointer; } .container .split1 { font-size: 15px; color: #777; } .match { font-weight: 600; color: #000; } .sublocations { display: block; padding-top: 10px; padding-left: 48px; } .sublocationList { display: inline-block; margin-right: 40px; font-size: 15px; } .subLocationTitle { text-transform: uppercase; font-size: 0.8em; color: #777; margin-bottom: 3px; margin-left: 10px; } .sublocation { display:inline-block; padding: 2px 10px 3px; color: rgb(118, 58, 214); } .sublocation:hover { color: #fff; background: rgb(118, 58, 214); border-radius: 15px; }