1.search_hit { /* общесайтовый, поэтому тут */
2	background-color: __highlight__;
3	color: @ini_text;
4}
5div.nothing {
6	margin-bottom: 1.4em;
7}
8.search-results-form {
9	fieldset.search-form {
10		border-radius: 20px;
11		margin: 1em auto;
12		min-width: 500px;
13		max-width: 1000px;
14		position: relative;
15		width: 50%;
16		button.toggleAssistant,
17		input[name="q"],
18		button[type="submit"] {
19			border-radius: 15px;
20			padding: 0 5px;
21		}
22		button.toggleAssistant { /* "настройка поиска" */
23			top: 5px;
24			height: 30px;
25			position: absolute;
26			right: 6px;
27		}
28		input[name="q"] {
29			float: left;
30			height: 26px;
31			min-width: 300px;
32			width: ~"calc(100% - 200px)";
33		}
34		button[type="submit"] { /* "поиск" */
35			background-image: linear-gradient(to bottom,#CFB,#AD9);
36			float: left;
37			height: 30px;
38			margin-left: 4px;
39		}
40		.advancedOptions {
41			float: left;
42			padding: 11px 0 5px 5px;
43			div.toggle {
44				display: inline-block;
45				position: relative;
46				margin: 0 0.5em;
47				div.current {
48					cursor: pointer;
49					overflow: hidden;
50					text-overflow: ellipsis;
51					white-space: nowrap;
52					&::after {
53						color: @ini_text_alt;
54						content: '▼';
55						font-size: smaller;
56					}
57				}
58				div.changed {
59					font-weight: bold;
60				}
61				ul { /* выпадающий список */
62					background-color: @ini_background;
63					border: 1px solid @ini_border;
64					border-radius: 15px;
65					display: none;
66					margin: 3px 0;
67					max-width: 560px;
68					min-width: 260px;
69					overflow: auto;
70					padding: 5px;
71					position: absolute;
72					text-align: left;
73					[dir=rtl] & {
74						text-align: right;
75					}
76					li {
77						margin: 3px;
78						list-style: none;
79						a {
80							display: block;
81						}
82					}
83				}
84				&.open {
85					div.current::after {
86						content: '▲';
87					}
88					ul {
89						display: block;
90					}
91				}
92			}
93		}
94	}
95}
96div.search_quickresult {
97	margin-bottom: 1.4em;
98	ul {
99		padding: 0;
100		li {
101			float: left;
102			margin: 0 1.5em;
103			width: 12em;
104			[dir=rtl] & {
105				float: right;
106			}
107		}
108	}
109}
110div.search_fulltextresult {
111	dl.search_results {
112		dt {
113			font-weight: normal;
114			margin-bottom: .2em;
115		}
116		dd.meta {
117			margin: 0 0 .2em 0;
118		}
119		dd.snippet {
120			background-color: inherit;
121			color: @ini_text_alt;
122			margin: 0 0 1.2em 0;
123			.search_sep {
124				background-color: inherit;
125				color: @ini_text;
126			}
127		}
128	}
129}
130