.search-dashboard { margin: 0px; padding: 0px; display: flex; flex-direction: column; } .refinements-panel h2, .refinements-panel p { padding: 0px; margin: 12px 0px; } #clear-refinements { margin-bottom: 20px; } .ais-ClearRefinements-button { font-size: 16px; height: 40px; width: 100%; margin: 0px; font-family: 'main', sans-serif; color: black; background-color: white; cursor: pointer; border: none; text-align: left; } .ais-ClearRefinements-button:hover { text-decoration: underline; } .ais-ClearRefinements-button--disabled { color: slategrey; } .ais-ClearRefinements-button--disabled:hover { color: slategrey; text-decoration: none; cursor: initial; } .search-refinement-list { /* margin: 20px 0px; */ /* border-bottom: 2px solid black; */ } #searchbox { width: 100%; margin-top: 20px; margin-bottom: 20px; margin-left: auto; margin-right: auto; } .ais-SearchBox, .ais-ClearRefinements-button { max-width: 600px; } .search-results-container { display: flex; flex-direction: column; } .ais-SearchBox-form { display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; } .ais-SearchBox-input { box-sizing: border-box; width: 100%; margin-bottom: 15px; padding: 10px; border-radius: 8px; border: 1px solid black; } .ais-SearchBox-input::placeholder { /* font-family: 'main', sans-serif; */ /* font-size: 16px; */ } .ais-SearchBox-form input:focus-visible { /* outline: none; */ } .ais-SearchBox-submitIcon, .ais-SearchBox-submit, .ais-SearchBox-reset { display: none; } .ais-RefinementList-list { list-style: none; padding: 0px; margin: 0px 0px 40px 0px; display: flex; flex-direction: row; width: 100%; overflow: scroll; } .ais-RefinementList-label { display: flex; align-items: center ; width: max-content; margin-right: 6px; } .ais-RefinementList-label > span { padding: 0px 2px; } .ais-RefinementList-checkbox { width: 30px; height: 30px; margin: 0px; } .search-hits-panel { width: -webkit-fill-available; } #hits { width: 100%; min-width: 350px; display: flex; flex-direction: row; } .ais-Hits-list { padding: 0px; margin: 0px; display: flex; flex-direction: column; list-style: none; } .ais-Hits-item { margin: 8px; max-height: 400px; border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; } .ais-Hits-item:hover { /* border-color: lightblue; */ /* box-shadow: none; */ } .fe-search-hit { max-width: 375px; } .fe-search-hit-title { font-weight: bold; } .fe-search-hit-secondary { display: block; } .fe-search-hit-keywords { display: block; color: slategrey; font-size: 11px; } .fe-search-hit img { width: 375px; height: 200px; object-fit: cover; overflow: hidden; } #pagination { display: block; margin: 40px 0px 40px 0px; overflow: auto; width: 100%; } .ais-Pagination-list { list-style: none; padding: 0px; margin: 0px 12px; display: flex; justify-content: center; align-items: center; } .ais-Pagination-item { font-size: 22px; margin: 6px; } .ais-Pagination-item--disabled { color: slategrey; } /* @media (min-width:600px) { .ais-ClearRefinements-button { max-width: 200px; } } */ /* @media (min-width:961px) { */ @media (min-width: 600px) { .search-results-container { flex-direction: row; } .refinements-panel { max-width: 200px; width: 100%; margin-right: 20px; } .ais-RefinementList-list { font-size: 12px; flex-direction: column; overflow: auto; } .ais-RefinementList-item { margin: 2px 0px; } .ais-RefinementList-checkbox { width: 20px; margin-right: 4px; } #hits { flex-direction: row; flex-wrap: wrap; } .ais-Hits-list { padding: 0px; margin: 0px; display: flex; flex-direction: row; flex-wrap: wrap; list-style: none; } .ais-Hits-item { /* width: 200px; */ /* height: 280px; */ /* margin: 12px; */ /* height: 100%; */ /* display: flex; */ /* flex-direction: column; */ } .fe-search-hit { max-width: 200px; } .fe-search-hit-title { font-weight: bold; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .fe-search-hit-secondary { display: block; } .fe-search-hit-keywords { display: block; color: slategrey; font-size: 11px; } .fe-search-hit img { width: 200px; height: 100px; object-fit: cover; overflow: hidden; } }