.search-bar form { position: relative; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; background: white; box-sizing: border-box; border-radius: 25px; border: 4px solid white; padding: 5px; width: 75%; cursor: pointer; } .search-bar input { position: absolute; top: 0; left: 0; width: 100%; height: 42.5px; line-height: 30px; outline: 0; border: 0; display: block; font-size: 1em; border-radius: 20px; padding: 0 20px; } .search-bar svg:not(:host).svg-inline--fa, .search-bar svg:not(:root).svg-inline--fa { box-sizing: border-box !important; } .search-bar .fa-magnifying-glass { padding: 10px; width: 42.5px; height: 42.5px; position: absolute; top: 0; right: 0; border-radius: 50%; color: #07051a; text-align: center; font-size: 1.2em; } .search-bar form .fa-magnifying-glass { background: #07051a; color: white; } #date-clear { display: none; } .widget { padding: 18px; background-color: #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.24); } .rotate { animation: rotation 2s linear infinite; } @keyframes rotation { from { transform: rotate(0deg); } to { transform: rotate(359deg); } } .container .nav { overflow-x: auto; overflow-y: hidden; } [data-theme="dark"] .widget { background: #1d1d1d; color: #fff; } [data-theme="dark"] .nav .nav-link.active { background-color: #535353 !important; color: #fff; } [data-theme="dark"] .list-group .list-group-item { background-color: #1d1d1d; color: #fff; border-color: #7e7e7e; } @media screen and (max-width: 767px) { .search-bar form { width: 100%; } }