.state-header { position: absolute; width: 100%; height: 120px; top: 2.8%; color: var(--text-color); font-size: 19px; display: flex; align-items: center; justify-content: left; width: 92%; left: 20px; } .state-header>p { margin: 0; font-weight: bold; } .state-header>span { position: absolute; top: 78px; font-size: 14px; height: 20px; color: gray } .state-app article { position: relative; top: 15%; width: 93%; margin: 0 auto; } .state-list { position: absolute; width: 93%; height: 80%; margin: 0 auto; left: 0; right: 0; top: 20%; padding-bottom: 30px; overflow-y: scroll; } .state-list::-webkit-scrollbar { display: none; } .state-list-header { position:relative; font-size: 15px; padding: 12px; color: #fff; margin-bottom: 0; width: 100%; display: block; border-top-left-radius: 10px; border-top-right-radius: 10px; background-color: rgb(0, 204, 102); } .lawyer-list { position: relative; width: 100%; min-height: 65px; background: var(--container-dark-background-color); border-bottom: 1px solid var(--second-border-color); border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; } .lawyer-list-firstletter { position: absolute; top: 50%; transform: translateY(-50%); width: 35px; height: 35px; background-color: rgb(42, 137, 214); text-align: center; left: 10px; line-height: 36px; border-radius: 50%; font-size: 18px; color: white; } .lawyer-list-fullname { position: absolute; top: 50%; transform: translateY(-50%); left: 55px; font-size: 17px; max-width: 140px; white-space: nowrap; overflow: hidden !important; text-overflow: ellipsis; color: var(--text-color); } .no-state { position: absolute; top: 50%; transform: translateY(-50%); font-size: 15px; margin: 0 auto; left: 0; right: 0; text-align: center; max-width: 100%; color: var(--text-color); } .lawyer-list-call { color: white; position: absolute; top: 32%; transform: translateY(-50%); right: 20px; font-size: 20px; color: gray; transform: rotate(90deg); transition: .12s ease-in-out; } .lawyer-list-call:hover { color: rgb(49, 214, 60); opacity: .8; cursor: pointer; }