.overlay-icon-picker{ width: 100%; height: 100%; background-color: rgba(0,0,0,.3); position: fixed; z-index: 999999999; left: 0; top: 0; display: none; } .icons-container i.fa{ font-size: 30px; margin-right: 30px; padding: 10px; width:30px; display: inline-block; color: #666; cursor: pointer; } .icons-container{ width: 60%; height: 500px; margin: auto; box-shadow: 0 0 20px rgba(0,0,0,.8); overflow-y:scroll; margin-top:6%; position: fixed; top:5%; left:20%; background: #fff; display: none; z-index: 9999999999; } .icons-container-inner{ padding: 30px; margin-top: 45px; } .icons-container header h3{ margin: 0 0 45px 0; box-shadow: 0 0 15px rgba(0,0,0,.2); padding: 15px 2%; position: fixed; width: 56%; max-width: 60%; background: #f6f6f6; } .icons-container header h3 input{ float: right; } header.close-icons-box{ display: inline-block; position: fixed; right: -30px; top: 0; cursor: pointer; z-index:999999; } header.close-icons-box .fa{ color: #fff; } .selected-icon{ font-size: 30px; margin-left: 20px; }