.searchbar { height: 44px; box-sizing: border-box; padding: 0 8px; overflow: hidden; position: relative; display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; background-color: #FFF; } html.pixel-ratio-2 .searchbar:after { -webkit-transform: scaleY(.5); transform: scaleY(.5) } html.pixel-ratio-3 .searchbar:after { -webkit-transform: scaleY(.33); transform: scaleY(.33) } .searchbar .searchbar-input { width: 100%; height: 28px; position: relative; -webkit-flex-shrink: 1; -ms-flex: 0 1 auto; flex-shrink: 1; } .searchbar input[type=search] { box-sizing: border-box; width: 100%; height: 100%; display: block; border: none; -webkit-appearance: none; -moz-appearance: none; -ms-appearance: none; appearance: none; border-radius: 5px; font-family: inherit; color: #000; font-size: 14px; font-weight: 400; padding: 0 28px; background-color: #fff; background-repeat: no-repeat; background-position: 8px center; background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAjCAYAAAAe2bNZAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94Y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htAuhmJWY882th18x1Yiu44lHMZ1DOPM1KzBjmV9X5vmAAS3qOT4PZnBSpVmLim+iKOLZVDoqd03iq/mizYqKYf1fnzXMfDf/iG9sYKzF1zKPV+Xq2sT6K6cS2zkpMLfMkdf4123gHNsNpJLCtthJzi/kEdb6GY0gK4UafxKSzvWMlxpxF48JNGNv1rDleu2gI8zNWYso5RrqoFVviEs2UaTm9xEK2Yso+WImpV7Uk3BDP5lKQ51FMvtPlwBTRSJ+7Jmzs7PYopIhj7y044kTMD7WibgNTfBq02bSiEjPdmKtSmmmJC2CqRyFZdI4GvfD9sOpuazsXqTXkHB8ScCkimoa+iMd76PSkXh1knRnt1JCnqyVffM4LdmF3GxG9aMRqlKHPVXkEp7eIuqumuu1WJZO2YSer8HFlHeVBjzkLY7i6y0Zukvp9JevU5TCjLj74OhjLHehQ7kj/RcBme9uBu8kF3AvZRQV9byGPxUXu4lvLUPfdo3GTP5SMLW6VEzE6BrMSS3/3pNCf4BXf1kVlEwy13lUyL+aYNKOMu1BZOAdCUK0bMS0JGSdz1Q6hhMe6+g8Cn6SNMFo3pJAeA9N5LBPhhLqWwiWiq9je1hZjqMVxmip+5mIpW5hkGrvEthIjcV59PkkzTT7GSgNXAKMtxZimP1V913kfCoWq+Wnld1uLMc3VKPCSIvqBdzKu/gowAICpvmijfvwCAAAAAElFTkSuQmCC"); -webkit-background-size: 13px 13px; background-size: 13px 13px; background-color: #F2F3F5; } .searchbar input[type=search]::-webkit-input-placeholder { color: #939398; opacity: 1 } .searchbar input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none } .searchbar .searchbar-clear { position: absolute; width: 28px; height: 28px; right: 0; top: 0; opacity: 0; pointer-events: none; background-position: center; background-repeat: no-repeat; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2028%2028'%3E%3Ccircle%20cx%3D'14'%20cy%3D'14'%20r%3D'14'%20fill%3D'%238e8e93'%2F%3E%3Cline%20stroke%3D'%23ffffff'%20stroke-width%3D'2'%20stroke-miterlimit%3D'10'%20x1%3D'8'%20y1%3D'8'%20x2%3D'20'%20y2%3D'20'%2F%3E%3Cline%20fill%3D'none'%20stroke%3D'%23ffffff'%20stroke-width%3D'2'%20stroke-miterlimit%3D'10'%20x1%3D'20'%20y1%3D'8'%20x2%3D'8'%20y2%3D'20'%2F%3E%3C%2Fsvg%3E"); -webkit-background-size: 14px 14px; background-size: 14px 14px; -webkit-transition-duration: .3s; transition-duration: .3s; cursor: pointer } .searchbar .searchbar-cancel { -webkit-transition-duration: .3s; transition-duration: .3s; -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0); font-size: 17px; cursor: pointer; opacity: 0; -webkit-flex-shrink: 0; -ms-flex: 0 0 auto; flex-shrink: 0; margin-left: 0; pointer-events: none; display: none; color: #75BF00; } .searchbar.searchbar-active .searchbar-cancel { margin-left: 8px; opacity: 1; pointer-events: auto } .searchbar.searchbar-active .searchbar-cancel.active-state,html:not(.watch-active-state) .searchbar.searchbar-active .searchbar-cancel:active { opacity: .3; -webkit-transition-duration: 0s; transition-duration: 0s }