Commit 3d041f3f0959079f4bd1160b06c34d08910a4683

Authored by Сергей П
1 parent 7c475b9ed2
Exists in master

Изменения для сообщений и "работодателей на главной". + небольшие правки

Showing 13 changed files with 375 additions and 236 deletions Inline Diff

app/Http/Controllers/Admin/CompanyController.php
1 <?php 1 <?php
2 2
3 namespace App\Http\Controllers\Admin; 3 namespace App\Http\Controllers\Admin;
4 4
5 use App\Classes\Meta; 5 use App\Classes\Meta;
6 use App\Http\Controllers\Controller; 6 use App\Http\Controllers\Controller;
7 use App\Http\Requests\PagesRequest; 7 use App\Http\Requests\PagesRequest;
8 use App\Http\Requests\ReclameRequest; 8 use App\Http\Requests\ReclameRequest;
9 use App\Http\Requests\SEORequest; 9 use App\Http\Requests\SEORequest;
10 use App\Models\Employer; 10 use App\Models\Employer;
11 use App\Models\employers_main; 11 use App\Models\employers_main;
12 use App\Models\header_footer; 12 use App\Models\header_footer;
13 use App\Models\Job_title; 13 use App\Models\Job_title;
14 use App\Models\job_titles_main; 14 use App\Models\job_titles_main;
15 use App\Models\pages; 15 use App\Models\pages;
16 use App\Models\reclame; 16 use App\Models\reclame;
17 use App\Models\SEO; 17 use App\Models\SEO;
18 use App\Models\PageContent; 18 use App\Models\PageContent;
19 use Illuminate\Http\Request; 19 use Illuminate\Http\Request;
20 use Illuminate\Support\Facades\Storage; 20 use Illuminate\Support\Facades\Storage;
21 use App\Enums\MainPageCounters; 21 use App\Enums\MainPageCounters;
22 22
23 class CompanyController extends Controller 23 class CompanyController extends Controller
24 { 24 {
25 // кабинет - редактор сайта 25 // кабинет - редактор сайта
26 public function editor() { 26 public function editor() {
27 return; 27 return;
28 } 28 }
29 29
30 // кабинет - редактор должности на главной 30 // кабинет - редактор должности на главной
31 public function job_titles_main(Request $request) { 31 public function job_titles_main(Request $request) {
32 if ($request->ajax()) { 32 if ($request->ajax()) {
33 $user = job_titles_main::find($request->id); 33 $user = job_titles_main::find($request->id);
34 $request->offsetUnset('id'); 34 $request->offsetUnset('id');
35 $user->update($request->all()); 35 $user->update($request->all());
36 } 36 }
37 37
38 $jobs = job_titles_main::query()->OrderBy('sort')->paginate(10); 38 $jobs = job_titles_main::query()->OrderBy('sort')->paginate(10);
39 $list_job_titles = Job_title::query()->active()->orderBy('name')->get(); 39 $list_job_titles = Job_title::query()->active()->orderBy('name')->get();
40 40
41 if ($request->ajax()) { 41 if ($request->ajax()) {
42 return view('admin.job_main.index_ajax', compact('jobs', 'list_job_titles')); 42 return view('admin.job_main.index_ajax', compact('jobs', 'list_job_titles'));
43 } else { 43 } else {
44 return view('admin.job_main.index', compact('jobs', 'list_job_titles')); 44 return view('admin.job_main.index', compact('jobs', 'list_job_titles'));
45 } 45 }
46 } 46 }
47 47
48 // кабинет - блок со счетчиками на главной 48 // кабинет - блок со счетчиками на главной
49 public function counters_main(Request $request) { 49 public function counters_main(Request $request) {
50 $block_names = MainPageCounters::values(); 50 $block_names = MainPageCounters::values();
51 $blocks = PageContent::select('name', 'title', 'description', 'extra') 51 $blocks = PageContent::select('name', 'title', 'description', 'extra')
52 ->whereIn('name', $block_names) 52 ->whereIn('name', $block_names)
53 ->get() 53 ->get()
54 ->keyBy('name') 54 ->keyBy('name')
55 ->toArray(); 55 ->toArray();
56 return view('admin.counters_main.index', compact('block_names', 'blocks')); 56 return view('admin.counters_main.index', compact('block_names', 'blocks'));
57 } 57 }
58 58
59 public function counters_main_update(Request $request, string $name) { 59 public function counters_main_update(Request $request, string $name) {
60 PageContent::updateOrCreate( 60 PageContent::updateOrCreate(
61 ['name' => $name], 61 ['name' => $name],
62 array_merge(['name' => $name], $request->all()) 62 array_merge(['name' => $name], $request->all())
63 ); 63 );
64 $block_names = MainPageCounters::values();; 64 $block_names = MainPageCounters::values();;
65 $blocks = PageContent::select('name', 'title', 'description', 'extra') 65 $blocks = PageContent::select('name', 'title', 'description', 'extra')
66 ->whereIn('name', $block_names) 66 ->whereIn('name', $block_names)
67 ->get() 67 ->get()
68 ->keyBy('name') 68 ->keyBy('name')
69 ->toArray(); 69 ->toArray();
70 return view('admin.counters_main.index', compact('block_names', 'blocks')); 70 return view('admin.counters_main.index', compact('block_names', 'blocks'));
71 } 71 }
72 72
73 //////////////////////////////////////////////////////////////////////////////// 73 ////////////////////////////////////////////////////////////////////////////////
74 // кабинет - редактор шапки-футера сайта 74 // кабинет - редактор шапки-футера сайта
75 public function editblocks(Request $request) { 75 public function editblocks(Request $request) {
76 if ($request->ajax()) { 76 if ($request->ajax()) {
77 $header_footer = header_footer::where('header', $request->header)->OrderBy('sort')->OrderBy('name')->paginate(15); 77 $header_footer = header_footer::where('header', $request->header)->OrderBy('sort')->OrderBy('name')->paginate(15);
78 $list_menu = header_footer::where('header', $request->header)->OrderBy('name')->get(); 78 $list_menu = header_footer::where('header', $request->header)->OrderBy('name')->get();
79 return view('admin.editbloks.index_ajax', compact('header_footer', 'list_menu')); 79 return view('admin.editbloks.index_ajax', compact('header_footer', 'list_menu'));
80 } else { 80 } else {
81 $header_footer = header_footer::where('header', '1')->OrderBy('sort')->OrderBy('name')->paginate(15); 81 $header_footer = header_footer::where('header', '1')->OrderBy('sort')->OrderBy('name')->paginate(15);
82 $list_menu = header_footer::where('header', '1')->OrderBy('name')->get(); 82 $list_menu = header_footer::where('header', '1')->OrderBy('name')->get();
83 return view('admin.editbloks.index', compact('header_footer', 'list_menu')); 83 return view('admin.editbloks.index', compact('header_footer', 'list_menu'));
84 } 84 }
85 } 85 }
86 86
87 public function editblock_add() { 87 public function editblock_add() {
88 $items = header_footer::query()->OrderBy('name')->get(); 88 $items = header_footer::query()->OrderBy('name')->get();
89 return view('admin.editbloks.add', compact('items')); 89 return view('admin.editbloks.add', compact('items'));
90 } 90 }
91 91
92 public function editblock_store(Request $request) { 92 public function editblock_store(Request $request) {
93 header_footer::create($request->all()); 93 header_footer::create($request->all());
94 return redirect()->route('admin.edit-blocks'); 94 return redirect()->route('admin.edit-blocks');
95 } 95 }
96 96
97 public function editblock_ajax(Request $request) { 97 public function editblock_ajax(Request $request) {
98 if ($request->ajax()) { 98 if ($request->ajax()) {
99 $hf = header_footer::find($request->id); 99 $hf = header_footer::find($request->id);
100 $filter = $request->header; 100 $filter = $request->header;
101 unset($request->id); 101 unset($request->id);
102 unset($request->header); 102 unset($request->header);
103 $hf->update($request->all()); 103 $hf->update($request->all());
104 104
105 $header_footer = header_footer::where('header', $filter)->OrderBy('sort')->OrderBy('name')->paginate(15); 105 $header_footer = header_footer::where('header', $filter)->OrderBy('sort')->OrderBy('name')->paginate(15);
106 $list_menu = header_footer::where('header', $filter)->OrderBy('name')->get(); 106 $list_menu = header_footer::where('header', $filter)->OrderBy('name')->get();
107 return view('admin.editbloks.index_ajax', compact('header_footer', 'list_menu')); 107 return view('admin.editbloks.index_ajax', compact('header_footer', 'list_menu'));
108 } else { 108 } else {
109 return "Ошибка!"; 109 return "Ошибка!";
110 } 110 }
111 } 111 }
112 112
113 public function editblock_edit(header_footer $block) { 113 public function editblock_edit(header_footer $block) {
114 $items = header_footer::query()->OrderBy('name')->get(); 114 $items = header_footer::query()->OrderBy('name')->get();
115 return view('admin.editbloks.edit', compact('block', 'items')); 115 return view('admin.editbloks.edit', compact('block', 'items'));
116 } 116 }
117 117
118 public function editblock_update(Request $request, header_footer $block) { 118 public function editblock_update(Request $request, header_footer $block) {
119 $block->update($request->all()); 119 $block->update($request->all());
120 return redirect()->route('admin.edit-blocks'); 120 return redirect()->route('admin.edit-blocks');
121 } 121 }
122 122
123 public function editblock_destroy(header_footer $block) { 123 public function editblock_destroy(header_footer $block) {
124 $block->delete(); 124 $block->delete();
125 return redirect()->route('admin.edit-blocks'); 125 return redirect()->route('admin.edit-blocks');
126 } 126 }
127 ///////////////////////////////////////////////////////// 127 /////////////////////////////////////////////////////////
128 128
129 // кабинет - редактор работодатели на главной 129 // кабинет - редактор работодатели на главной
130 public function employers_main(Request $request) { 130 public function employers_main(Request $request) {
131 if ($request->ajax()) { 131 if ($request->ajax()) {
132 $user = employers_main::find($request->id); 132 $user = employers_main::find($request->id);
133 $request->offsetUnset('id'); 133 $request->offsetUnset('id');
134 $user->update($request->all()); 134 $user->update($request->all());
135 } 135 }
136 136
137 $employers = employers_main::query()->OrderBy('sort')->paginate(10); 137 $employers = employers_main::query()->OrderBy('sort')->paginate(10);
138 $list_employers = Employer::query()->active()->orderBy('name_company')->get(); 138 $list_employers = Employer::query()->active()->orderBy('name_company')->get();
139 139
140 if ($request->ajax()) { 140 if ($request->ajax()) {
141 return view('admin.employer_main.index_ajax', compact('employers', 'list_employers')); 141 return view('admin.employer_main.table', compact('employers', 'list_employers'));
142 } else { 142 } else {
143 return view('admin.employer_main.index', compact('employers', 'list_employers')); 143 return view('admin.employer_main.index', compact('employers', 'list_employers'));
144 } 144 }
145 } 145 }
146 146
147 public function employers_main_add(Request $request)
148 {
149 $page = $request->get('page', 1);
150 $page = intval($page);
151
152 employers_main::insert([
153 'employer_id' => 0,
154 'sort' => 100
155 ]);
156
157 $pageSize = 10;
158 $offset = ($page - 1) * $pageSize;
159 $employers = employers_main::query()->OrderBy('sort')->offset($offset)->limit($pageSize)->get();
160 $list_employers = Employer::query()->active()->orderBy('name_company')->get();
161 return view('admin.employer_main.table', compact('employers', 'list_employers'));
162 }
163
164 public function employers_main_remove(Request $request)
165 {
166 $id = $request->get('id', 0);
167 $page = $request->get('page', 1);
168 $page = intval($page);
169
170 if ($id !== 0) {
171 employers_main::where('id', $id)->delete();
172 }
173
174 $pageSize = 10;
175 $offset = ($page - 1) * $pageSize;
176 $employers = employers_main::query()->OrderBy('sort')->offset($offset)->limit($pageSize)->get();
177 $list_employers = Employer::query()->active()->orderBy('name_company')->get();
178 return view('admin.employer_main.table', compact('employers', 'list_employers'));
179 }
180
147 //////////// кабинет - редактор seo-сайта ///////////////////////////// 181 //////////// кабинет - редактор seo-сайта /////////////////////////////
148 public function editor_seo() { 182 public function editor_seo() {
149 $pages = SEO::query()->OrderBy('url')->paginate(15); 183 $pages = SEO::query()->OrderBy('url')->paginate(15);
150 return view('admin.seo.index', compact('pages')); 184 return view('admin.seo.index', compact('pages'));
151 } 185 }
152 186
153 public function editor_seo_add() { 187 public function editor_seo_add() {
154 return view('admin.seo.add'); 188 return view('admin.seo.add');
155 } 189 }
156 190
157 public function editor_seo_store(SEORequest $request) { 191 public function editor_seo_store(SEORequest $request) {
158 SEO::create($request->all()); 192 SEO::create($request->all());
159 return redirect()->route('admin.editor-seo'); 193 return redirect()->route('admin.editor-seo');
160 } 194 }
161 195
162 public function editor_seo_ajax(Request $request) { 196 public function editor_seo_ajax(Request $request) {
163 $url = $request->get('url'); // post('url'); 197 $url = $request->get('url'); // post('url');
164 $metaData = Array(); 198 $metaData = Array();
165 //$url = json_decode($url, true); 199 //$url = json_decode($url, true);
166 200
167 if (!empty($url)) { 201 if (!empty($url)) {
168 202
169 $meta = new Meta($url); 203 $meta = new Meta($url);
170 $meta->parse(); 204 $meta->parse();
171 $metaData = $meta->finalize(); 205 $metaData = $meta->finalize();
172 206
173 return json_encode($metaData); 207 return json_encode($metaData);
174 } else { 208 } else {
175 return json_encode(Array('Error URL')); 209 return json_encode(Array('Error URL'));
176 } 210 }
177 } 211 }
178 212
179 public function editor_seo_edit(SEO $page) { 213 public function editor_seo_edit(SEO $page) {
180 return view('admin.seo.edit', compact('page')); 214 return view('admin.seo.edit', compact('page'));
181 } 215 }
182 216
183 public function editor_seo_update(SEORequest $request, SEO $page) { 217 public function editor_seo_update(SEORequest $request, SEO $page) {
184 $page->update($request->all()); 218 $page->update($request->all());
185 return redirect()->route('admin.editor-seo'); 219 return redirect()->route('admin.editor-seo');
186 } 220 }
187 221
188 public function editor_seo_destroy(SEO $page) { 222 public function editor_seo_destroy(SEO $page) {
189 $page->delete(); 223 $page->delete();
190 return redirect()->route('admin.editor-seo'); 224 return redirect()->route('admin.editor-seo');
191 } 225 }
192 /////////////////////////////////////////////////////////////////////// 226 ///////////////////////////////////////////////////////////////////////
193 227
194 /////////// кабинет - редактор страниц //////////////////////////////// 228 /////////// кабинет - редактор страниц ////////////////////////////////
195 public function editor_pages() { 229 public function editor_pages() {
196 $pages = pages::query()->OrderBy('name')->paginate(15); 230 $pages = pages::query()->OrderBy('name')->paginate(15);
197 return view('admin.pages.index', compact('pages')); 231 return view('admin.pages.index', compact('pages'));
198 } 232 }
199 233
200 public function editor_pages_add() { 234 public function editor_pages_add() {
201 return view('admin.pages.add'); 235 return view('admin.pages.add');
202 } 236 }
203 237
204 public function editor_pages_store(PagesRequest $request) { 238 public function editor_pages_store(PagesRequest $request) {
205 $params = $request->all(); 239 $params = $request->all();
206 if ($request->has('image')) { 240 if ($request->has('image')) {
207 $params['image'] = $request->file('image')->store('pages', 'public'); 241 $params['image'] = $request->file('image')->store('pages', 'public');
208 } 242 }
209 243
210 pages::create($params); 244 pages::create($params);
211 return redirect()->route('admin.editor-pages'); 245 return redirect()->route('admin.editor-pages');
212 } 246 }
213 247
214 public function editor_pages_edit(pages $page) { 248 public function editor_pages_edit(pages $page) {
215 return view('admin.pages.edit', compact('page')); 249 return view('admin.pages.edit', compact('page'));
216 } 250 }
217 251
218 public function editor_pages_update(PagesRequest $request, pages $page) { 252 public function editor_pages_update(PagesRequest $request, pages $page) {
219 $params = $request->all(); 253 $params = $request->all();
220 254
221 if ($request->has('image')) { 255 if ($request->has('image')) {
222 if (!empty($page->image)) Storage::delete($page->image); 256 if (!empty($page->image)) Storage::delete($page->image);
223 $params['image'] = $request->file('image')->store('pages', 'public'); 257 $params['image'] = $request->file('image')->store('pages', 'public');
224 } else { 258 } else {
225 if (!empty($page->image)) $params['image'] = $page->image; 259 if (!empty($page->image)) $params['image'] = $page->image;
226 } 260 }
227 261
228 $page->update($params); 262 $page->update($params);
229 return redirect()->route('admin.editor-pages'); 263 return redirect()->route('admin.editor-pages');
230 } 264 }
231 265
232 public function editor_pages_destroy(pages $page) { 266 public function editor_pages_destroy(pages $page) {
233 $page->delete(); 267 $page->delete();
234 return redirect()->route('admin.editor-pages'); 268 return redirect()->route('admin.editor-pages');
235 } 269 }
236 /////////////////////////////////////////////////////////////////// 270 ///////////////////////////////////////////////////////////////////
237 271
238 ////// кабинет - реклама сайта //////////////////////////////////// 272 ////// кабинет - реклама сайта ////////////////////////////////////
239 public function reclames(Request $request) { 273 public function reclames(Request $request) {
240 if ($request->ajax()) { 274 if ($request->ajax()) {
241 $rec = reclame::find($request->id); 275 $rec = reclame::find($request->id);
242 if ($request->status == 'close') { 276 if ($request->status == 'close') {
243 $rec->is_hidden = 0; 277 $rec->is_hidden = 0;
244 } else { 278 } else {
245 $rec->is_hidden = 1; 279 $rec->is_hidden = 1;
246 } 280 }
247 $rec->save(); 281 $rec->save();
248 } 282 }
249 283
250 $reclames = reclame::query()->OrderBy('title')->paginate(15); 284 $reclames = reclame::query()->OrderBy('title')->paginate(15);
251 285
252 if ($request->ajax()) { 286 if ($request->ajax()) {
253 return view('admin.reclames.index_ajax', compact('reclames')); 287 return view('admin.reclames.index_ajax', compact('reclames'));
254 } else { 288 } else {
255 return view('admin.reclames.index', compact('reclames')); 289 return view('admin.reclames.index', compact('reclames'));
256 } 290 }
257 } 291 }
258 292
259 public function reclames_add() { 293 public function reclames_add() {
260 return view('admin.reclames.add'); 294 return view('admin.reclames.add');
261 } 295 }
262 296
263 public function reclames_store(ReclameRequest $request) { 297 public function reclames_store(ReclameRequest $request) {
264 $params = $request->all(); 298 $params = $request->all();
265 /*if('on' == $request->get('is_hidden')) { 299 /*if('on' == $request->get('is_hidden')) {
266 $params['is_hidden'] = 1; 300 $params['is_hidden'] = 1;
267 } else { 301 } else {
268 $params['is_hidden'] = 0; 302 $params['is_hidden'] = 0;
269 }*/ 303 }*/
270 if ($request->has('image')) { 304 if ($request->has('image')) {
271 $params['image'] = $request->file('image')->store('reclames', 'public'); 305 $params['image'] = $request->file('image')->store('reclames', 'public');
272 } 306 }
273 307
274 reclame::create($params); 308 reclame::create($params);
275 return redirect()->route('admin.reclames'); 309 return redirect()->route('admin.reclames');
276 } 310 }
277 311
278 public function reclames_edit(reclame $reclame) { 312 public function reclames_edit(reclame $reclame) {
279 return view('admin.reclames.edit', compact('reclame')); 313 return view('admin.reclames.edit', compact('reclame'));
280 } 314 }
281 315
282 public function reclames_update(ReclameRequest $request, reclame $reclame) { 316 public function reclames_update(ReclameRequest $request, reclame $reclame) {
283 $params = $request->all(); 317 $params = $request->all();
284 /*if('on' == $request->get('is_hidden')) { 318 /*if('on' == $request->get('is_hidden')) {
285 $params['is_hidden'] = 1; 319 $params['is_hidden'] = 1;
286 } else { 320 } else {
287 $params['is_hidden'] = 0; 321 $params['is_hidden'] = 0;
288 }*/ 322 }*/
289 323
290 if ($request->has('image')) { 324 if ($request->has('image')) {
291 if (!empty($reclame->image)) Storage::delete($reclame->image); 325 if (!empty($reclame->image)) Storage::delete($reclame->image);
292 $params['image'] = $request->file('image')->store('reclames', 'public'); 326 $params['image'] = $request->file('image')->store('reclames', 'public');
293 } else { 327 } else {
294 if (!empty($reclame->image)) $params['image'] = $reclame->image; 328 if (!empty($reclame->image)) $params['image'] = $reclame->image;
295 } 329 }
296 330
297 $reclame->update($params); 331 $reclame->update($params);
298 return redirect()->route('admin.reclames'); 332 return redirect()->route('admin.reclames');
299 } 333 }
300 334
301 public function reclames_destroy(reclame $reclame) { 335 public function reclames_destroy(reclame $reclame) {
302 $reclame->delete(); 336 $reclame->delete();
303 return redirect()->route('admin.reclames'); 337 return redirect()->route('admin.reclames');
304 } 338 }
305 339
306 ///////////////////////////////////////////////////////////////// 340 /////////////////////////////////////////////////////////////////
307 } 341 }
308 342
app/Http/Controllers/EmployerController.php
1 <?php 1 <?php
2 2
3 namespace App\Http\Controllers; 3 namespace App\Http\Controllers;
4 4
5 use App\Classes\RusDate; 5 use App\Classes\RusDate;
6 use App\Classes\Tools; 6 use App\Classes\Tools;
7 use App\Http\Requests\BaseUser_min_Request; 7 use App\Http\Requests\BaseUser_min_Request;
8 use App\Http\Requests\FlotRequest; 8 use App\Http\Requests\FlotRequest;
9 use App\Http\Requests\MessagesRequiest; 9 use App\Http\Requests\MessagesRequiest;
10 use App\Http\Requests\VacancyRequestEdit; 10 use App\Http\Requests\VacancyRequestEdit;
11 use App\Mail\MailCreateEmployer; 11 use App\Mail\MailCreateEmployer;
12 use App\Mail\MailSotrudnichestvo; 12 use App\Mail\MailSotrudnichestvo;
13 use App\Mail\MassSendingMessages; 13 use App\Mail\MassSendingMessages;
14 use App\Mail\SendAllMessages; 14 use App\Mail\SendAllMessages;
15 use App\Models\Ad_employer; 15 use App\Models\Ad_employer;
16 use App\Models\ad_response; 16 use App\Models\ad_response;
17 use App\Models\Category; 17 use App\Models\Category;
18 use App\Models\Chat; 18 use App\Models\Chat;
19 use App\Models\Employer; 19 use App\Models\Employer;
20 use App\Models\Flot; 20 use App\Models\Flot;
21 use App\Models\Job_title; 21 use App\Models\Job_title;
22 use App\Models\Like_worker; 22 use App\Models\Like_worker;
23 use App\Models\Message; 23 use App\Models\Message;
24 use App\Models\Worker; 24 use App\Models\Worker;
25 use App\Models\MessagesRequests; 25 use App\Models\MessagesRequests;
26 use Carbon\Carbon; 26 use Carbon\Carbon;
27 use Illuminate\Auth\Events\Registered; 27 use Illuminate\Auth\Events\Registered;
28 use Illuminate\Database\Eloquent\Builder; 28 use Illuminate\Database\Eloquent\Builder;
29 use Illuminate\Http\Request; 29 use Illuminate\Http\Request;
30 use Illuminate\Support\Facades\Auth; 30 use Illuminate\Support\Facades\Auth;
31 use Illuminate\Support\Facades\Hash; 31 use Illuminate\Support\Facades\Hash;
32 use Illuminate\Support\Facades\Mail; 32 use Illuminate\Support\Facades\Mail;
33 use Illuminate\Support\Facades\Storage; 33 use Illuminate\Support\Facades\Storage;
34 use App\Models\User as User_Model; 34 use App\Models\User as User_Model;
35 use Illuminate\Support\Facades\Validator; 35 use Illuminate\Support\Facades\Validator;
36 use App\Enums\DbExportColumns; 36 use App\Enums\DbExportColumns;
37 37
38 class EmployerController extends Controller 38 class EmployerController extends Controller
39 { 39 {
40 public function vacancie($vacancy, Request $request) { 40 public function vacancie($vacancy, Request $request) {
41 $title = 'Заголовок вакансии'; 41 $title = 'Заголовок вакансии';
42 $Query = Ad_employer::with('jobs')-> 42 $Query = Ad_employer::with('jobs')->
43 with('cat')-> 43 with('cat')->
44 with('employer')-> 44 with('employer')->
45 with('jobs_code')-> 45 with('jobs_code')->
46 select('ad_employers.*')-> 46 select('ad_employers.*')->
47 where('id', '=', $vacancy)->get(); 47 where('id', '=', $vacancy)->get();
48 48
49 if (isset(Auth()->user()->id)) 49 if (isset(Auth()->user()->id))
50 $uid = Auth()->user()->id; 50 $uid = Auth()->user()->id;
51 else 51 else
52 $uid = 0; 52 $uid = 0;
53 $title = $Query[0]->name; 53 $title = $Query[0]->name;
54 if ($request->ajax()) { 54 if ($request->ajax()) {
55 return view('ajax.vacance-item', compact('Query','uid')); 55 return view('ajax.vacance-item', compact('Query','uid'));
56 } else { 56 } else {
57 return view('vacance-item', compact('title', 'Query', 'uid')); 57 return view('vacance-item', compact('title', 'Query', 'uid'));
58 } 58 }
59 } 59 }
60 60
61 public function logout() { 61 public function logout() {
62 Auth::logout(); 62 Auth::logout();
63 return redirect()->route('index') 63 return redirect()->route('index')
64 ->with('success', 'Вы вышли из личного кабинета'); 64 ->with('success', 'Вы вышли из личного кабинета');
65 } 65 }
66 66
67 public function employer_info() { 67 public function employer_info() {
68 // код юзера 68 // код юзера
69 $user_info = Auth()->user(); 69 $user_info = Auth()->user();
70 // вьюшка для вывода данных 70 // вьюшка для вывода данных
71 return view('employers.info', compact('user_info')); 71 return view('employers.info', compact('user_info'));
72 } 72 }
73 73
74 public function employer_info_save(User_Model $user, BaseUser_min_Request $request) { 74 public function employer_info_save(User_Model $user, BaseUser_min_Request $request) {
75 // Все данные через реквест 75 // Все данные через реквест
76 $all = $request->all(); 76 $all = $request->all();
77 unset($all['_token']); 77 unset($all['_token']);
78 // обновление 78 // обновление
79 $user->update($all); 79 $user->update($all);
80 return redirect()->route('employer.employer_info'); 80 return redirect()->route('employer.employer_info');
81 } 81 }
82 82
83 public function cabinet() { 83 public function cabinet() {
84 $id = Auth()->user()->id; 84 $id = Auth()->user()->id;
85 $Employer = Employer::query()->with('users')->with('ads')->with('flots')-> 85 $Employer = Employer::query()->with('users')->with('ads')->with('flots')->
86 WhereHas('users', 86 WhereHas('users',
87 function (Builder $query) use ($id) {$query->Where('id', $id); 87 function (Builder $query) use ($id) {$query->Where('id', $id);
88 })->get(); 88 })->get();
89 return view('employers.cabinet45', compact('Employer')); 89 return view('employers.cabinet45', compact('Employer'));
90 } 90 }
91 91
92 public function slider_flot() { 92 public function slider_flot() {
93 $id = Auth()->user()->id; 93 $id = Auth()->user()->id;
94 $Employer = Employer::query()->with('users')->with('ads')->with('flots')-> 94 $Employer = Employer::query()->with('users')->with('ads')->with('flots')->
95 WhereHas('users', 95 WhereHas('users',
96 function (Builder $query) use ($id) {$query->Where('id', $id); 96 function (Builder $query) use ($id) {$query->Where('id', $id);
97 })->get(); 97 })->get();
98 return view('employers.fly-flot', compact('Employer')); 98 return view('employers.fly-flot', compact('Employer'));
99 } 99 }
100 100
101 public function cabinet_save(Employer $Employer, Request $request) { 101 public function cabinet_save(Employer $Employer, Request $request) {
102 $params = $request->all(); 102 $params = $request->all();
103 $params['user_id'] = Auth()->user()->id; 103 $params['user_id'] = Auth()->user()->id;
104 $id = $Employer->id; 104 $id = $Employer->id;
105 105
106 if ($request->has('logo')) { 106 if ($request->has('logo')) {
107 if (!empty($Employer->logo)) { 107 if (!empty($Employer->logo)) {
108 Storage::delete($Employer->logo); 108 Storage::delete($Employer->logo);
109 } 109 }
110 $params['logo'] = $request->file('logo')->store("employer/$id", 'public'); 110 $params['logo'] = $request->file('logo')->store("employer/$id", 'public');
111 } 111 }
112 112
113 $Employer->update($params); 113 $Employer->update($params);
114 114
115 return redirect()->route('employer.cabinet')->with('success', 'Данные были успешно сохранены'); 115 return redirect()->route('employer.cabinet')->with('success', 'Данные были успешно сохранены');
116 } 116 }
117 117
118 public function save_add_flot(FlotRequest $request) { 118 public function save_add_flot(FlotRequest $request) {
119 // отмена 119 // отмена
120 $params = $request->all(); 120 $params = $request->all();
121 121
122 if ($request->has('image')) { 122 if ($request->has('image')) {
123 $params['image'] = $request->file('image')->store("flot", 'public'); 123 $params['image'] = $request->file('image')->store("flot", 'public');
124 } 124 }
125 Flot::create($params); 125 Flot::create($params);
126 $data_flots = Flot::query()->where('employer_id', $request->get('employer_if'))->get(); 126 $data_flots = Flot::query()->where('employer_id', $request->get('employer_if'))->get();
127 return redirect()->route('employer.slider_flot')->with('success', 'Новый корабль был добавлен'); 127 return redirect()->route('employer.slider_flot')->with('success', 'Новый корабль был добавлен');
128 } 128 }
129 129
130 public function edit_flot(Flot $Flot, Employer $Employer) { 130 public function edit_flot(Flot $Flot, Employer $Employer) {
131 return view('employers.edit-flot', compact('Flot', 'Employer')); 131 return view('employers.edit-flot', compact('Flot', 'Employer'));
132 } 132 }
133 133
134 public function update_flot(FlotRequest $request, Flot $Flot) { 134 public function update_flot(FlotRequest $request, Flot $Flot) {
135 $params = $request->all(); 135 $params = $request->all();
136 136
137 if ($request->has('image')) { 137 if ($request->has('image')) {
138 if (!empty($flot->image)) { 138 if (!empty($flot->image)) {
139 Storage::delete($flot->image); 139 Storage::delete($flot->image);
140 } 140 }
141 $params['image'] = $request->file('image')->store("flot", 'public'); 141 $params['image'] = $request->file('image')->store("flot", 'public');
142 } else { 142 } else {
143 if (!empty($flot->image)) $params['image'] = $flot->image; 143 if (!empty($flot->image)) $params['image'] = $flot->image;
144 } 144 }
145 145
146 $Flot->update($params); 146 $Flot->update($params);
147 return redirect()->route('employer.slider_flot')->with('success', 'Новый корабль был добавлен'); 147 return redirect()->route('employer.slider_flot')->with('success', 'Новый корабль был добавлен');
148 } 148 }
149 149
150 public function delete_flot(Flot $Flot) { 150 public function delete_flot(Flot $Flot) {
151 $data_flots = Flot::query()->where('employer_id', $Flot->employer_id)->get(); 151 $data_flots = Flot::query()->where('employer_id', $Flot->employer_id)->get();
152 152
153 if (isset($Flot->id)) $Flot->delete(); 153 if (isset($Flot->id)) $Flot->delete();
154 return redirect()->route('employer.slider_flot')->with('success', 'Корабль был удален'); 154 return redirect()->route('employer.slider_flot')->with('success', 'Корабль был удален');
155 } 155 }
156 156
157 // Форма добавления вакансий 157 // Форма добавления вакансий
158 public function cabinet_vacancie() { 158 public function cabinet_vacancie() {
159 $id = Auth()->user()->id; 159 $id = Auth()->user()->id;
160 160
161 if (Auth()->user()->is_public) { 161 if (Auth()->user()->is_public) {
162 $categories = Category::query()->active()->get(); 162 $categories = Category::query()->active()->get();
163 $jobs = Job_title::query()->orderByDesc('sort')->OrderBy('name')-> 163 $jobs = Job_title::query()->orderByDesc('sort')->OrderBy('name')->
164 where('is_remove', '=', '0')-> 164 where('is_remove', '=', '0')->
165 where('is_bd', '=', '0')-> 165 where('is_bd', '=', '0')->
166 get(); 166 get();
167 $Employer = Employer::query()->with('users')->with('ads')->with('flots')-> 167 $Employer = Employer::query()->with('users')->with('ads')->with('flots')->
168 WhereHas('users', 168 WhereHas('users',
169 function (Builder $query) use ($id) { 169 function (Builder $query) use ($id) {
170 $query->Where('id', $id); 170 $query->Where('id', $id);
171 })->get(); 171 })->get();
172 return view('employers.add_vacancy', compact('Employer', 'jobs', 'categories')); 172 return view('employers.add_vacancy', compact('Employer', 'jobs', 'categories'));
173 } else { 173 } else {
174 return redirect()->route('employer.cabinet_vacancie_danger'); 174 return redirect()->route('employer.cabinet_vacancie_danger');
175 } 175 }
176 } 176 }
177 177
178 // Форма предупреждения об оплате 178 // Форма предупреждения об оплате
179 public function cabinet_vacancie_danger() { 179 public function cabinet_vacancie_danger() {
180 return view('employers.add_vacancy_danger'); 180 return view('employers.add_vacancy_danger');
181 } 181 }
182 182
183 // Сохранение вакансии 183 // Сохранение вакансии
184 public function cabinet_vacancy_save1(VacancyRequestEdit $request) { 184 public function cabinet_vacancy_save1(VacancyRequestEdit $request) {
185 $params_emp = $request->all(); 185 $params_emp = $request->all();
186 186
187 $params_job["job_title_id"] = $params_emp['job_title_id']; 187 $params_job["job_title_id"] = $params_emp['job_title_id'];
188 //$params_job["min_salary"] = $params_emp['min_salary']; 188 //$params_job["min_salary"] = $params_emp['min_salary'];
189 //$params_job["max_salary"] = $params_emp['max_salary']; 189 //$params_job["max_salary"] = $params_emp['max_salary'];
190 //$params_job["region"] = $params_emp['region']; 190 //$params_job["region"] = $params_emp['region'];
191 //$params_job["power"] = $params_emp['power']; 191 //$params_job["power"] = $params_emp['power'];
192 //$params_job["sytki"] = $params_emp['sytki']; 192 //$params_job["sytki"] = $params_emp['sytki'];
193 //$params_job["start"] = $params_emp['start']; 193 //$params_job["start"] = $params_emp['start'];
194 //$params_job["flot"] = $params_emp['flot']; 194 //$params_job["flot"] = $params_emp['flot'];
195 //$params_job["description"] = $params_emp['description']; 195 //$params_job["description"] = $params_emp['description'];
196 196
197 $ad_jobs = Ad_employer::create($params_emp); 197 $ad_jobs = Ad_employer::create($params_emp);
198 //$params_job['ad_employer_id'] = $ad_jobs->id; 198 //$params_job['ad_employer_id'] = $ad_jobs->id;
199 //Ad_jobs::create($params_job); 199 //Ad_jobs::create($params_job);
200 $ad_jobs->jobs()->sync($request->get('job_title_id')); 200 $ad_jobs->jobs()->sync($request->get('job_title_id'));
201 201
202 return redirect()->route('employer.vacancy_list'); 202 return redirect()->route('employer.vacancy_list');
203 } 203 }
204 204
205 // Список вакансий 205 // Список вакансий
206 public function vacancy_list(Request $request) { 206 public function vacancy_list(Request $request) {
207 $id = Auth()->user()->id; 207 $id = Auth()->user()->id;
208 208
209 //dd($request->all()); 209 //dd($request->all());
210 $Employer = Employer::query()->where('user_id', $id)->first(); 210 $Employer = Employer::query()->where('user_id', $id)->first();
211 $vacancy_list = Ad_employer::query() 211 $vacancy_list = Ad_employer::query()
212 ->with('jobs') 212 ->with('jobs')
213 ->with('jobs_code') 213 ->with('jobs_code')
214 ->where('employer_id', $Employer->id) 214 ->where('employer_id', $Employer->id)
215 ->where('is_remove', 0) 215 ->where('is_remove', 0)
216 ; 216 ;
217 217
218 if (($request->has('search')) && (!empty($request->get('search')))) { 218 if (($request->has('search')) && (!empty($request->get('search')))) {
219 $search = $request->get('search'); 219 $search = $request->get('search');
220 $vacancy_list = $vacancy_list->where('name', 'LIKE', "%$search%"); 220 $vacancy_list = $vacancy_list->where('name', 'LIKE', "%$search%");
221 } 221 }
222 222
223 if ($request->get('sort')) { 223 if ($request->get('sort')) {
224 $sort = $request->get('sort'); 224 $sort = $request->get('sort');
225 switch ($sort) { 225 switch ($sort) {
226 case 'name_up': $vacancy_list = $vacancy_list->orderBy('name')->orderBy('id'); break; 226 case 'name_up': $vacancy_list = $vacancy_list->orderBy('name')->orderBy('id'); break;
227 case 'name_down': $vacancy_list = $vacancy_list->orderByDesc('name')->orderby('id'); break; 227 case 'name_down': $vacancy_list = $vacancy_list->orderByDesc('name')->orderby('id'); break;
228 case 'nopublic': $vacancy_list->where('active_is', '=', 0)->orderBy('id');break; 228 case 'nopublic': $vacancy_list->where('active_is', '=', 0)->orderBy('id');break;
229 case 'public':$vacancy_list->where('active_is', '=', 1)->orderBy('id');break; 229 case 'public':$vacancy_list->where('active_is', '=', 1)->orderBy('id');break;
230 case 'created_at_up': $vacancy_list = $vacancy_list->OrderBy('created_at')->orderBy('id'); break; 230 case 'created_at_up': $vacancy_list = $vacancy_list->OrderBy('created_at')->orderBy('id'); break;
231 case 'created_at_down': $vacancy_list = $vacancy_list->orderByDesc('created_at')->orderBy('id'); break; 231 case 'created_at_down': $vacancy_list = $vacancy_list->orderByDesc('created_at')->orderBy('id'); break;
232 case 'default': $vacancy_list = $vacancy_list->orderbyDesc('updated_at')->orderBy('name'); break; 232 case 'default': $vacancy_list = $vacancy_list->orderbyDesc('updated_at')->orderBy('name'); break;
233 default: $vacancy_list = $vacancy_list->orderByDesc('id')->orderbyDesc('updated_at'); break; 233 default: $vacancy_list = $vacancy_list->orderByDesc('id')->orderbyDesc('updated_at'); break;
234 } 234 }
235 } else { 235 } else {
236 $vacancy_list = $vacancy_list->orderByDesc('updated_at')->orderBy('id'); 236 $vacancy_list = $vacancy_list->orderByDesc('updated_at')->orderBy('id');
237 } 237 }
238 238
239 $vacancy_list = $vacancy_list->paginate(10); 239 $vacancy_list = $vacancy_list->paginate(10);
240 240
241 //ajax 241 //ajax
242 if ($request->ajax()) { 242 if ($request->ajax()) {
243 return view('employers.ajax.list_vacancy', compact('vacancy_list', 'Employer')); 243 return view('employers.ajax.list_vacancy', compact('vacancy_list', 'Employer'));
244 } else { 244 } else {
245 return view('employers.list_vacancy', compact('vacancy_list', 'Employer')); 245 return view('employers.list_vacancy', compact('vacancy_list', 'Employer'));
246 } 246 }
247 } 247 }
248 248
249 // Карточка вакансии 249 // Карточка вакансии
250 public function vacancy_edit(Ad_employer $ad_employer) { 250 public function vacancy_edit(Ad_employer $ad_employer) {
251 $id = Auth()->user()->id; 251 $id = Auth()->user()->id;
252 $Positions = Category::query()->where('is_remove', '=', '0')->get(); 252 $Positions = Category::query()->where('is_remove', '=', '0')->get();
253 $jobs = Job_title::query()->orderByDesc('sort')->OrderBy('name')-> 253 $jobs = Job_title::query()->orderByDesc('sort')->OrderBy('name')->
254 where('is_remove', '=', '0')-> 254 where('is_remove', '=', '0')->
255 where('is_bd', '=', '0')->get(); 255 where('is_bd', '=', '0')->get();
256 256
257 $Employer = Employer::query()->with('users')->with('ads')-> 257 $Employer = Employer::query()->with('users')->with('ads')->
258 with('flots')->where('user_id', $id)->first(); 258 with('flots')->where('user_id', $id)->first();
259 return view('employers.edit_vacancy', compact('ad_employer', 'Positions','Employer', 'jobs')); 259 return view('employers.edit_vacancy', compact('ad_employer', 'Positions','Employer', 'jobs'));
260 } 260 }
261 261
262 // Сохранение-редактирование записи 262 // Сохранение-редактирование записи
263 public function vacancy_save_me(VacancyRequestEdit $request, Ad_employer $ad_employer) { 263 public function vacancy_save_me(VacancyRequestEdit $request, Ad_employer $ad_employer) {
264 $params = $request->all(); 264 $params = $request->all();
265 $params_job["job_title_id"] = $params['job_title_id']; 265 $params_job["job_title_id"] = $params['job_title_id'];
266 266
267 $ad_employer->update($params); 267 $ad_employer->update($params);
268 $ad_employer->jobs()->sync($request->get('job_title_id')); 268 $ad_employer->jobs()->sync($request->get('job_title_id'));
269 269
270 $id = Auth()->user()->id; 270 $id = Auth()->user()->id;
271 $Positions = Category::query()->where('is_remove', '=', '0')->get(); 271 $Positions = Category::query()->where('is_remove', '=', '0')->get();
272 $jobs = Job_title::query()->orderByDesc('sort')->OrderBy('name') 272 $jobs = Job_title::query()->orderByDesc('sort')->OrderBy('name')
273 ->where('is_remove', '=', '0') 273 ->where('is_remove', '=', '0')
274 ->where('is_bd', '=', '0') 274 ->where('is_bd', '=', '0')
275 ->get(); 275 ->get();
276 276
277 $Employer = Employer::query() 277 $Employer = Employer::query()
278 ->with('users')->with('ads')->with('flots')->where('user_id', $id)->first(); 278 ->with('users')->with('ads')->with('flots')->where('user_id', $id)->first();
279 return view('employers.edit_vacancy', compact('ad_employer', 'Positions','Employer', 'jobs')); 279 return view('employers.edit_vacancy', compact('ad_employer', 'Positions','Employer', 'jobs'));
280 } 280 }
281 281
282 // Сохранение карточки вакансии 282 // Сохранение карточки вакансии
283 public function vacancy_save(Request $request, Ad_employer $ad_employer) { 283 public function vacancy_save(Request $request, Ad_employer $ad_employer) {
284 $all = $request->all(); 284 $all = $request->all();
285 $ad_employer->update($all); 285 $ad_employer->update($all);
286 return redirect()->route('employer.cabinet_vacancie'); 286 return redirect()->route('employer.cabinet_vacancie');
287 } 287 }
288 288
289 // Удаление карточки вакансии 289 // Удаление карточки вакансии
290 public function vacancy_delete(Ad_employer $ad_employer) { 290 public function vacancy_delete(Ad_employer $ad_employer) {
291 $ad_employer->delete(); 291 $ad_employer->delete();
292 292
293 return redirect()->route('employer.vacancy_list') 293 return redirect()->route('employer.vacancy_list')
294 ->with('success', 'Данные были успешно сохранены'); 294 ->with('success', 'Данные были успешно сохранены');
295 } 295 }
296 296
297 // Обновление даты 297 // Обновление даты
298 public function vacancy_up(Ad_employer $ad_employer) { 298 public function vacancy_up(Ad_employer $ad_employer) {
299 $up = date('m/d/Y h:i:s', time());; 299 $up = date('m/d/Y h:i:s', time());;
300 $vac_emp = Ad_employer::findOrFail($ad_employer->id); 300 $vac_emp = Ad_employer::findOrFail($ad_employer->id);
301 $vac_emp->updated_at = $up; 301 $vac_emp->updated_at = $up;
302 $vac_emp->save(); 302 $vac_emp->save();
303 303
304 return redirect()->back(); //route('employer.vacancy_list'); 304 return redirect()->back(); //route('employer.vacancy_list');
305 // начало конца 305 // начало конца
306 } 306 }
307 307
308 //Видимость вакансии 308 //Видимость вакансии
309 public function vacancy_eye(Ad_employer $ad_employer, $status) { 309 public function vacancy_eye(Ad_employer $ad_employer, $status) {
310 $vac_emp = Ad_employer::findOrFail($ad_employer->id); 310 $vac_emp = Ad_employer::findOrFail($ad_employer->id);
311 $vac_emp->active_is = $status; 311 $vac_emp->active_is = $status;
312 $vac_emp->save(); 312 $vac_emp->save();
313 313
314 return redirect()->route('employer.vacancy_list'); 314 return redirect()->route('employer.vacancy_list');
315 } 315 }
316 316
317 //Вакансия редактирования (шаблон) 317 //Вакансия редактирования (шаблон)
318 public function vacancy_update(Ad_employer $id) { 318 public function vacancy_update(Ad_employer $id) {
319 319
320 } 320 }
321 321
322 //Отклики на вакансию - лист 322 //Отклики на вакансию - лист
323 public function answers(Employer $employer, Request $request) { 323 public function answers(Employer $employer, Request $request) {
324 $user_id = Auth()->user()->id; 324 $user_id = Auth()->user()->id;
325 $answer = Ad_employer::query()->where('employer_id', $employer->id); 325 $answer = Ad_employer::query()->where('employer_id', $employer->id);
326 if ($request->has('search')) { 326 if ($request->has('search')) {
327 $search = trim($request->get('search')); 327 $search = trim($request->get('search'));
328 if (!empty($search)) $answer = $answer->where('name', 'LIKE', "%$search%"); 328 if (!empty($search)) $answer = $answer->where('name', 'LIKE', "%$search%");
329 } 329 }
330 330
331 $answer = $answer->with('response')->OrderByDESC('id')->get(); 331 $answer = $answer->with('response')->OrderByDESC('id')->get();
332 332
333 return view('employers.list_answer', compact('answer', 'user_id', 'employer')); 333 return view('employers.list_answer', compact('answer', 'user_id', 'employer'));
334 } 334 }
335 335
336 //Обновление статуса 336 //Обновление статуса
337 public function supple_status(employer $employer, ad_response $ad_response, $flag) { 337 public function supple_status(employer $employer, ad_response $ad_response, $flag) {
338 $ad_response->update(Array('flag' => $flag)); 338 $ad_response->update(Array('flag' => $flag));
339 return redirect()->route('employer.answers', ['employer' => $employer->id]); 339 return redirect()->route('employer.answers', ['employer' => $employer->id]);
340 } 340 }
341 341
342 //Страницы сообщений список 342 //Страницы сообщений список
343 public function messages($type_message) { 343 public function messages($type_message) {
344 $user_id = Auth()->user()->id; 344 $user_id = Auth()->user()->id;
345 345
346 $chats = Chat::get_user_chats($user_id); 346 $chats = Chat::get_user_chats($user_id);
347 $user_type = 'employer'; 347 $user_type = 'employer';
348 $admin_chat = false; 348 $admin_chat = false;
349 349
350 return view('employers.messages', compact('chats', 'admin_chat', 'user_id', 'user_type')); 350 return view('employers.messages', compact('chats', 'admin_chat', 'user_id', 'user_type'));
351 } 351 }
352 352
353 // Диалог между пользователями 353 // Диалог между пользователями
354 public function dialog(Chat $chat, Request $request) { 354 public function dialog(Chat $chat, Request $request) {
355 // Получение параметров. 355 // Получение параметров.
356 if ($request->has('ad_employer')){ 356 if ($request->has('ad_employer')){
357 $ad_employer = $request->get('ad_employer'); 357 $ad_employer = $request->get('ad_employer');
358 } else { 358 } else {
359 $ad_employer = 0; 359 $ad_employer = 0;
360 } 360 }
361 361
362 $sender = User_Model::query()->with('workers')->with('employers')->where('id', $chat->user_id)->first(); 362 $sender = User_Model::query()->with('workers')->with('employers')->where('id', $chat->user_id)->first();
363 $companion = User_Model::query()->with('workers')->with('employers')->where('id', $chat->to_user_id)->first(); 363 $companion = User_Model::query()->with('workers')->with('employers')->where('id', $chat->to_user_id)->first();
364 364
365 $Messages = Chat::get_chat_messages($chat); 365 $Messages = Chat::get_chat_messages($chat);
366 366
367 Message::where('user_id', '=', $chat->to_user_id)->where('to_user_id', '=', $chat->user_id)->update(['flag_new' => 0]); 367 Message::where('user_id', '=', $chat->to_user_id)->where('to_user_id', '=', $chat->user_id)->update(['flag_new' => 0]);
368 368
369 return view('employers.dialog', compact('companion', 'sender', 'ad_employer', 'Messages')); 369 return view('employers.dialog', compact('companion', 'sender', 'ad_employer', 'Messages'));
370 } 370 }
371 371
372 public function pin_chat(Request $request){ 372 public function pin_chat(Request $request){
373 $chat_id = $request->get('id'); 373 $chat_id = $request->get('id');
374 $is_fixed = $request->get('is_fixed'); 374 $is_fixed = $request->get('is_fixed');
375 375
376 Chat::pin_chat($chat_id, $is_fixed); 376 Chat::pin_chat($chat_id, $is_fixed);
377 } 377 }
378 378
379 public function remove_chat(Request $request){ 379 public function remove_chat(Request $request){
380 $chat_id = $request->get('id'); 380 $chat_id = $request->get('id');
381 Chat::remove_chat($chat_id); 381 Chat::remove_chat($chat_id);
382 } 382 }
383 383
384 // Регистрация работодателя 384 // Регистрация работодателя
385 public function register_employer(Request $request) { 385 public function register_employer(Request $request) {
386 $params = $request->all(); 386 $params = $request->all();
387 387
388 $rules = [ 388 $rules = [
389 //'surname' => ['required', 'string', 'max:255'], 389 //'surname' => ['required', 'string', 'max:255'],
390 //'name_man' => ['required', 'string', 'max:255'], 390 //'name_man' => ['required', 'string', 'max:255'],
391 'email' => ['required', 'string', 'email', 'max:255', 'unique:users'], 391 'email' => ['required', 'string', 'email', 'max:255', 'unique:users'],
392 'name_company' => ['required', 'string', 'max:255'], 392 'name_company' => ['required', 'string', 'max:255'],
393 'password' => ['required', 'string', 'min:6'], 393 'password' => ['required', 'string', 'min:6'],
394 ]; 394 ];
395 395
396 396
397 $messages = [ 397 $messages = [
398 'required' => 'Укажите обязательное поле', 398 'required' => 'Укажите обязательное поле',
399 'min' => [ 399 'min' => [
400 'string' => 'Поле «:attribute» должно быть не меньше :min символов', 400 'string' => 'Поле «:attribute» должно быть не меньше :min символов',
401 'integer' => 'Поле «:attribute» должно быть :min или больше', 401 'integer' => 'Поле «:attribute» должно быть :min или больше',
402 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' 402 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт'
403 ], 403 ],
404 'max' => [ 404 'max' => [
405 'string' => 'Поле «:attribute» должно быть не больше :max символов', 405 'string' => 'Поле «:attribute» должно быть не больше :max символов',
406 'integer' => 'Поле «:attribute» должно быть :max или меньше', 406 'integer' => 'Поле «:attribute» должно быть :max или меньше',
407 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' 407 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт'
408 ] 408 ]
409 ]; 409 ];
410 410
411 $email = $request->get('email'); 411 $email = $request->get('email');
412 if (!preg_match("/^[a-zA-Z0-9_\-.]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-.]+$/", $email)) { 412 if (!preg_match("/^[a-zA-Z0-9_\-.]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-.]+$/", $email)) {
413 return json_encode(Array("ERROR" => "Error: Отсутствует емайл или некорректный емайл")); 413 return json_encode(Array("ERROR" => "Error: Отсутствует емайл или некорректный емайл"));
414 } 414 }
415 415
416 if ($request->get('password') !== $request->get('confirmed')){ 416 if ($request->get('password') !== $request->get('confirmed')){
417 return json_encode(Array("ERROR" => "Error: Не совпадают пароль и подтверждение пароля")); 417 return json_encode(Array("ERROR" => "Error: Не совпадают пароль и подтверждение пароля"));
418 } 418 }
419 419
420 if (strlen($request->get('password')) < 6) { 420 if (strlen($request->get('password')) < 6) {
421 return json_encode(Array("ERROR" => "Error: Недостаточная длина пароля! Увеличьте себе длину пароля!")); 421 return json_encode(Array("ERROR" => "Error: Недостаточная длина пароля! Увеличьте себе длину пароля!"));
422 } 422 }
423 423
424 if (empty($request->get('surname'))) { 424 if (empty($request->get('surname'))) {
425 $params['surname'] = 'Неизвестно'; 425 $params['surname'] = 'Неизвестно';
426 } 426 }
427 if (empty($request->get('name_man'))) { 427 if (empty($request->get('name_man'))) {
428 $params['name_man'] = 'Неизвестно'; 428 $params['name_man'] = 'Неизвестно';
429 } 429 }
430 $validator = Validator::make($params, $rules, $messages); 430 $validator = Validator::make($params, $rules, $messages);
431 431
432 if ($validator->fails()) { 432 if ($validator->fails()) {
433 return json_encode(Array("ERROR" => "Error1: Регистрация оборвалась ошибкой! Не все обязательные поля заполнены. Либо вы уже были зарегистрированы в системе.")); 433 return json_encode(Array("ERROR" => "Error1: Регистрация оборвалась ошибкой! Не все обязательные поля заполнены. Либо вы уже были зарегистрированы в системе."));
434 } else { 434 } else {
435 $user = $this->create($params); 435 $user = $this->create($params);
436 event(new Registered($user)); 436 event(new Registered($user));
437 437
438 Mail::to(env('EMAIL_ADMIN'))->send(new MailCreateEmployer($params)); 438 Mail::to(env('EMAIL_ADMIN'))->send(new MailCreateEmployer($params));
439 439
440 Auth::guard()->login($user); 440 Auth::guard()->login($user);
441 } 441 }
442 442
443 if ($user) { 443 if ($user) {
444 return json_encode(Array("REDIRECT" => redirect()->route('employer.cabinet')->getTargetUrl()));; 444 return json_encode(Array("REDIRECT" => redirect()->route('employer.cabinet')->getTargetUrl()));;
445 } else { 445 } else {
446 return json_encode(Array("ERROR" => "Error2: Данные были утеряны!")); 446 return json_encode(Array("ERROR" => "Error2: Данные были утеряны!"));
447 } 447 }
448 } 448 }
449 449
450 // Создание пользователя 450 // Создание пользователя
451 protected function create(array $data) 451 protected function create(array $data)
452 { 452 {
453 $Use = new User_Model(); 453 $Use = new User_Model();
454 $Code_user = $Use->create([ 454 $Code_user = $Use->create([
455 'name' => $data['surname']." ".$data['name_man'], 455 'name' => $data['surname']." ".$data['name_man'],
456 'name_man' => $data['name_man'], 456 'name_man' => $data['name_man'],
457 'surname' => $data['surname'], 457 'surname' => $data['surname'],
458 'surname2' => $data['surname2'], 458 'surname2' => $data['surname2'],
459 'subscribe_email' => $data['email'], 459 'subscribe_email' => $data['email'],
460 'email' => $data['email'], 460 'email' => $data['email'],
461 'telephone' => $data['telephone'], 461 'telephone' => $data['telephone'],
462 'is_worker' => 0, 462 'is_worker' => 0,
463 'password' => Hash::make($data['password']), 463 'password' => Hash::make($data['password']),
464 'pubpassword' => base64_encode($data['password']), 464 'pubpassword' => base64_encode($data['password']),
465 'email_verified_at' => Carbon::now() 465 'email_verified_at' => Carbon::now()
466 ]); 466 ]);
467 467
468 if ($Code_user->id > 0) { 468 if ($Code_user->id > 0) {
469 $Employer = new Employer(); 469 $Employer = new Employer();
470 $Employer->user_id = $Code_user->id; 470 $Employer->user_id = $Code_user->id;
471 $Employer->name_company = $data['name_company']; 471 $Employer->name_company = $data['name_company'];
472 $Employer->email = $data['email']; 472 $Employer->email = $data['email'];
473 $Employer->telephone = $data['telephone']; 473 $Employer->telephone = $data['telephone'];
474 $Employer->code = Tools::generator_id(10); 474 $Employer->code = Tools::generator_id(10);
475 $Employer->save(); 475 $Employer->save();
476 476
477 return $Code_user; 477 return $Code_user;
478 } 478 }
479 } 479 }
480 480
481 // Отправка сообщения от работодателя 481 // Отправка сообщения от работодателя
482 public function send_message(MessagesRequiest $request) { 482 public function send_message(MessagesRequiest $request) {
483 $params = $request->all(); 483 $params = $request->all();
484 dd($params); 484 dd($params);
485 $user1 = $params['user_id']; 485 $user1 = $params['user_id'];
486 $user2 = $params['to_user_id']; 486 $user2 = $params['to_user_id'];
487 487
488 if ($request->has('file')) { 488 if ($request->has('file')) {
489 $params['file'] = $request->file('file')->store("messages", 'public'); 489 $params['file'] = $request->file('file')->store("messages", 'public');
490 } 490 }
491 Message::create($params); 491 Message::create($params);
492 return redirect()->route('employer.dialog', ['user1' => $user1, 'user2' => $user2]); 492 return redirect()->route('employer.dialog', ['user1' => $user1, 'user2' => $user2]);
493 } 493 }
494 494
495 public function test123(Request $request) { 495 public function test123(Request $request) {
496 $params = $request->all(); 496 $params = $request->all();
497 $user1 = $params['user_id']; 497 $user1 = $params['user_id'];
498 $user2 = $params['to_user_id']; 498 $user2 = $params['to_user_id'];
499 $id_vacancy = $params['ad_employer_id'];
500 $ad_name = $params['ad_name'];
501 499
502 $rules = [ 500 $rules = [
503 'text' => 'required|min:1|max:150000', 501 'text' => 'nullable|required_without:file|min:1|max:150000',
504 'file' => 'file|mimes:doc,docx,xlsx,csv,txt,xlx,xls,pdf|max:150000' 502 'file' => 'nullable|file|mimes:doc,docx,xlsx,csv,txt,xlx,xls,pdf|max:150000'
505 ]; 503 ];
506 $messages = [ 504 $messages = [
507 'required' => 'Укажите обязательное поле', 505 'required_without' => 'Поле «:attribute» обязательно, если файл не прикреплен',
508 'min' => [ 506 'min' => [
509 'string' => 'Поле «:attribute» должно быть не меньше :min символов', 507 'string' => 'Поле «:attribute» должно быть не меньше :min символов',
510 'integer' => 'Поле «:attribute» должно быть :min или больше', 508 'integer' => 'Поле «:attribute» должно быть :min или больше',
511 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' 509 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт'
512 ], 510 ],
513 'max' => [ 511 'max' => [
514 'string' => 'Поле «:attribute» должно быть не больше :max символов', 512 'string' => 'Поле «:attribute» должно быть не больше :max символов',
515 'integer' => 'Поле «:attribute» должно быть :max или меньше', 513 'integer' => 'Поле «:attribute» должно быть :max или меньше',
516 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' 514 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт'
517 ] 515 ]
518 ]; 516 ];
519 517
520 $validator = Validator::make($request->all(), $rules, $messages); 518 $validator = Validator::make($request->all(), $rules, $messages);
521 519
522 if ($validator->fails()) { 520 if ($validator->fails()) {
523 $chat = Chat::where('user_id', $user1) 521 $chat = Chat::where('user_id', $user1)
524 ->where('to_user_id', $user2) 522 ->where('to_user_id', $user2)
525 ->where('is_removed', 0) 523 ->where('is_removed', 0)
526 ->first() 524 ->first()
527 ; 525 ;
528 if ($chat->id){ 526 if ($chat->id){
529 return redirect()->route('employer.dialog', ['chat' => $chat->id]) 527 return redirect()->route('employer.dialog', ['chat' => $chat->id])->withErrors($validator);
530 ->withErrors($validator);
531 } else { 528 } else {
532 return redirect()->route('cabinet.messages', ['type_message' => 'input'])->withErrors($validator); 529 return redirect()->route('cabinet.messages', ['type_message' => 'input'])->withErrors($validator);
533 } 530 }
534 531
535 } else { 532 } else {
536 $new_message = Message::add_message($request, $user1, $user2, $request->all(), file_store_path: 'messages'); 533 $new_message = Message::add_message($request, $user1, $user2, $request->all(), file_store_path: 'messages');
537 534
538 return redirect()->route('employer.dialog', ['chat' => $new_message->chat_id_from]); 535 return redirect()->route('employer.dialog', ['chat' => $new_message->chat_id_from]);
539 536
540 } 537 }
541 } 538 }
542 539
543 //Избранные люди 540 //Избранные люди
544 public function favorites(Request $request) { 541 public function favorites(Request $request) {
545 $IP_address = RusDate::ip_addr_client(); 542 $IP_address = RusDate::ip_addr_client();
546 $Arr = Like_worker::Query()->select('code_record')->where('ip_address', '=', $IP_address)->get(); 543 $Arr = Like_worker::Query()->select('code_record')->where('ip_address', '=', $IP_address)->get();
547 544
548 if ($Arr->count()) { 545 if ($Arr->count()) {
549 $A = Array(); 546 $A = Array();
550 foreach ($Arr as $it) { 547 foreach ($Arr as $it) {
551 $A[] = $it->code_record; 548 $A[] = $it->code_record;
552 } 549 }
553 550
554 $Workers = Worker::query()->whereIn('id', $A); 551 $Workers = Worker::query()->whereIn('id', $A);
555 } else { 552 } else {
556 $Workers = Worker::query()->where('id', '=', '0'); 553 $Workers = Worker::query()->where('id', '=', '0');
557 } 554 }
558 555
559 if (($request->has('search')) && (!empty($request->get('search')))) { 556 if (($request->has('search')) && (!empty($request->get('search')))) {
560 $search = $request->get('search'); 557 $search = $request->get('search');
561 558
562 $Workers = $Workers->WhereHas('users', 559 $Workers = $Workers->WhereHas('users',
563 function (Builder $query) use ($search) { 560 function (Builder $query) use ($search) {
564 $query->Where('surname', 'LIKE', "%$search%") 561 $query->Where('surname', 'LIKE', "%$search%")
565 ->orWhere('name_man', 'LIKE', "%$search%") 562 ->orWhere('name_man', 'LIKE', "%$search%")
566 ->orWhere('surname2', 'LIKE', "%$search%"); 563 ->orWhere('surname2', 'LIKE', "%$search%");
567 }); 564 });
568 } else { 565 } else {
569 $Workers = $Workers->with('users'); 566 $Workers = $Workers->with('users');
570 } 567 }
571 568
572 $Workers = $Workers->get(); 569 $Workers = $Workers->get();
573 570
574 571
575 return view('employers.favorite', compact('Workers')); 572 return view('employers.favorite', compact('Workers'));
576 } 573 }
577 574
578 // База данных 575 // База данных
579 public function bd(Request $request) { 576 public function bd(Request $request) {
580 $users = User_Model::query()->with('workers')->with('jobtitles'); 577 $users = User_Model::query()->with('workers')->with('jobtitles');
581 578
582 if ($request->has('search')) { 579 if ($request->has('search')) {
583 $find_key = $request->get('search'); 580 $find_key = $request->get('search');
584 $users = $users->where('name', 'LIKE', "%$find_key%") 581 $users = $users->where('name', 'LIKE', "%$find_key%")
585 ->orWhere('surname', 'LIKE', "%$find_key%") 582 ->orWhere('surname', 'LIKE', "%$find_key%")
586 ->orWhere('name_man', 'LIKE', "%$find_key%") 583 ->orWhere('name_man', 'LIKE', "%$find_key%")
587 ->orWhere('email', 'LIKE', "%$find_key%") 584 ->orWhere('email', 'LIKE', "%$find_key%")
588 ->orWhere('telephone', 'LIKE', "%$find_key%"); 585 ->orWhere('telephone', 'LIKE', "%$find_key%");
589 } 586 }
590 587
591 // Данные 588 // Данные
592 $users = $users->Baseuser()-> 589 $users = $users->Baseuser()->
593 orderByDesc(Worker::select('created_at')->whereColumn('workers.user_id', 'users.id')); 590 orderByDesc(Worker::select('created_at')->whereColumn('workers.user_id', 'users.id'));
594 $count_users = $users; 591 $count_users = $users;
595 $users = $users->paginate(5); 592 $users = $users->paginate(5);
596 593
597 $export_options = DbExportColumns::toArray(); 594 $export_options = DbExportColumns::toArray();
598 595
599 $jobs_titles = Job_title::select('id', 'name') 596 $jobs_titles = Job_title::select('id', 'name')
600 ->where('is_remove', '=', 0) 597 ->where('is_remove', '=', 0)
601 ->where('is_bd', '=', 2) 598 ->where('is_bd', '=', 2)
602 ->orderByDesc('sort') 599 ->orderByDesc('sort')
603 ->orderBy('name', 'asc') 600 ->orderBy('name', 'asc')
604 ->get() 601 ->get()
605 ->toArray() 602 ->toArray()
606 ; 603 ;
607 604
608 return view('employers.bd', compact('users', 'count_users', 'export_options', 'jobs_titles')); 605 return view('employers.bd', compact('users', 'count_users', 'export_options', 'jobs_titles'));
609 } 606 }
610 607
611 //Настройка уведомлений 608 //Настройка уведомлений
612 public function subscribe() { 609 public function subscribe() {
613 return view('employers.subcribe'); 610 return view('employers.subcribe');
614 } 611 }
615 612
616 //Установка уведомлений сохранение 613 //Установка уведомлений сохранение
617 public function save_subscribe(Request $request) { 614 public function save_subscribe(Request $request) {
618 dd($request->all()); 615 dd($request->all());
619 $msg = $request->validate([ 616 $msg = $request->validate([
620 'subscribe_email' => 'required|email|min:5|max:255', 617 'subscribe_email' => 'required|email|min:5|max:255',
621 ]); 618 ]);
622 return redirect()->route('employer.subscribe')->with('Вы успешно подписались на рассылку'); 619 return redirect()->route('employer.subscribe')->with('Вы успешно подписались на рассылку');
623 } 620 }
624 621
625 //Сбросить форму с паролем 622 //Сбросить форму с паролем
626 public function password_reset() { 623 public function password_reset() {
627 $email = Auth()->user()->email; 624 $email = Auth()->user()->email;
628 return view('employers.password-reset', compact('email')); 625 return view('employers.password-reset', compact('email'));
629 } 626 }
630 627
631 //Обновление пароля 628 //Обновление пароля
632 public function new_password(Request $request) { 629 public function new_password(Request $request) {
633 $use = Auth()->user(); 630 $use = Auth()->user();
634 $request->validate([ 631 $request->validate([
635 'password' => 'required|string', 632 'password' => 'required|string',
636 'new_password' => 'required|string', 633 'new_password' => 'required|string',
637 'new_password2' => 'required|string' 634 'new_password2' => 'required|string'
638 ]); 635 ]);
639 636
640 if ($request->get('new_password') == $request->get('new_password2')) 637 if ($request->get('new_password') == $request->get('new_password2'))
641 if ($request->get('password') !== $request->get('new_password')) { 638 if ($request->get('password') !== $request->get('new_password')) {
642 $credentials = $request->only('email', 'password'); 639 $credentials = $request->only('email', 'password');
643 if (Auth::attempt($credentials)) { 640 if (Auth::attempt($credentials)) {
644 641
645 if (!is_null($use->email_verified_at)){ 642 if (!is_null($use->email_verified_at)){
646 643
647 $user_data = User_Model::find($use->id); 644 $user_data = User_Model::find($use->id);
648 $user_data->update([ 645 $user_data->update([
649 'password' => Hash::make($request->get('new_password')), 646 'password' => Hash::make($request->get('new_password')),
650 'pubpassword' => base64_encode($request->get('new_password')), 647 'pubpassword' => base64_encode($request->get('new_password')),
651 ]); 648 ]);
652 return redirect() 649 return redirect()
653 ->route('employer.password_reset') 650 ->route('employer.password_reset')
654 ->with('success', 'Поздравляю! Вы обновили свой пароль!'); 651 ->with('success', 'Поздравляю! Вы обновили свой пароль!');
655 } 652 }
656 653
657 return redirect() 654 return redirect()
658 ->route('employer.password_reset') 655 ->route('employer.password_reset')
659 ->withError('Данная учетная запись не было верифицированна!'); 656 ->withError('Данная учетная запись не было верифицированна!');
660 } 657 }
661 } 658 }
662 659
663 return redirect() 660 return redirect()
664 ->route('employer.password_reset') 661 ->route('employer.password_reset')
665 ->withErrors('Не совпадение данных, обновите пароли!'); 662 ->withErrors('Не совпадение данных, обновите пароли!');
666 } 663 }
667 664
668 665
669 666
670 // Форма Удаление пипла 667 // Форма Удаление пипла
671 public function delete_people() { 668 public function delete_people() {
672 $login = Auth()->user()->email; 669 $login = Auth()->user()->email;
673 return view('employers.delete_people', compact('login')); 670 return view('employers.delete_people', compact('login'));
674 } 671 }
675 672
676 // Удаление аккаунта 673 // Удаление аккаунта
677 public function action_delete_user(Request $request) { 674 public function action_delete_user(Request $request) {
678 $Answer = $request->all(); 675 $Answer = $request->all();
679 $user_id = Auth()->user()->id; 676 $user_id = Auth()->user()->id;
680 $request->validate([ 677 $request->validate([
681 'password' => 'required|string', 678 'password' => 'required|string',
682 ]); 679 ]);
683 680
684 $credentials = $request->only('email', 'password'); 681 $credentials = $request->only('email', 'password');
685 if (Auth::attempt($credentials)) { 682 if (Auth::attempt($credentials)) {
686 Auth::logout(); 683 Auth::logout();
687 $it = User_Model::find($user_id); 684 $it = User_Model::find($user_id);
688 $it->delete(); 685 $it->delete();
689 return redirect()->route('index')->with('success', 'Вы успешно удалили свой аккаунт'); 686 return redirect()->route('index')->with('success', 'Вы успешно удалили свой аккаунт');
690 } else { 687 } else {
691 return redirect()->route('employer.delete_people') 688 return redirect()->route('employer.delete_people')
692 ->withErrors( 'Неверный пароль! Нужен корректный пароль'); 689 ->withErrors( 'Неверный пароль! Нужен корректный пароль');
693 } 690 }
694 } 691 }
695 692
696 public function ajax_delete_user(Request $request) { 693 public function ajax_delete_user(Request $request) {
697 $Answer = $request->all(); 694 $Answer = $request->all();
698 $user_id = Auth()->user()->id; 695 $user_id = Auth()->user()->id;
699 $request->validate([ 696 $request->validate([
700 'password' => 'required|string', 697 'password' => 'required|string',
701 ]); 698 ]);
702 $credentials = $request->only('email', 'password'); 699 $credentials = $request->only('email', 'password');
703 if (Auth::attempt($credentials)) { 700 if (Auth::attempt($credentials)) {
704 701
705 return json_encode(Array('SUCCESS' => 'Вы успешно удалили свой аккаунт', 702 return json_encode(Array('SUCCESS' => 'Вы успешно удалили свой аккаунт',
706 'email' => $request->get('email'), 703 'email' => $request->get('email'),
707 'password' => $request->get('password'))); 704 'password' => $request->get('password')));
708 } else { 705 } else {
709 return json_encode(Array('ERROR' => 'Неверный пароль! Нужен корректный пароль')); 706 return json_encode(Array('ERROR' => 'Неверный пароль! Нужен корректный пароль'));
710 } 707 }
711 } 708 }
712 709
713 // FAQ - Вопросы/ответы для работодателей и соискателей 710 // FAQ - Вопросы/ответы для работодателей и соискателей
714 public function faq() { 711 public function faq() {
715 return view('employers.faq'); 712 return view('employers.faq');
716 } 713 }
717 714
718 // Рассылка сообщений 715 // Рассылка сообщений
719 public function send_all_messages() { 716 public function send_all_messages() {
720 $id = Auth()->user()->id; 717 $id = Auth()->user()->id;
721 $sending = Employer::query()->where('user_id', '=', "$id")->first(); 718 $sending = Employer::query()->where('user_id', '=', "$id")->first();
722 719
723 $job_titles = Job_title::query() 720 $job_titles = Job_title::query()
724 ->where('is_remove', '=', 0) 721 ->where('is_remove', '=', 0)
725 ->where('is_bd', '=', 1) 722 ->where('is_bd', '=', 1)
726 ->orderByDesc('sort') 723 ->orderByDesc('sort')
727 ->get() 724 ->get()
728 ; 725 ;
729 726
730 if ($sending->sending_is) 727 if ($sending->sending_is)
731 return view('employers.send_all', compact('job_titles')); 728 return view('employers.send_all', compact('job_titles'));
732 else 729 else
733 return view('employers.send_all_danger'); 730 return view('employers.send_all_danger');
734 } 731 }
735 732
736 // Отправка сообщений для информации 733 // Отправка сообщений для информации
737 public function send_all_post(Request $request) { 734 public function send_all_post(Request $request) {
738 $data = $request->all(); 735 $data = $request->all();
739 $data['user'] = Auth()->user(); 736 $data['user'] = Auth()->user();
740 737
741 $id = MessagesRequests::create([ 738 $id = MessagesRequests::create([
742 'user_id' => Auth()->user()->id, 739 'user_id' => Auth()->user()->id,
743 'job_titles' => json_encode($data['job_title_ids']), 740 'job_titles' => json_encode($data['job_title_ids']),
744 'text' => $data['message_text'], 741 'text' => $data['message_text'],
745 ]); 742 ]);
746 743
747 if (!empty($id)){ 744 if (!empty($id)){
748 Mail::to(env('EMAIL_ADMIN'))->send(new MassSendingMessages($data)); 745 Mail::to(env('EMAIL_ADMIN'))->send(new MassSendingMessages($data));
749 } 746 }
750 747
751 /*$emails = User_Model::query()->where('is_worker', '1')->get(); 748 /*$emails = User_Model::query()->where('is_worker', '1')->get();
752 749
753 foreach ($emails as $e) { 750 foreach ($emails as $e) {
754 Mail::to($e->email)->send(new SendAllMessages($data)); 751 Mail::to($e->email)->send(new SendAllMessages($data));
755 }*/ 752 }*/
756 753
757 return redirect()->route('employer.send_all_messages')->with('success', 'Запрос на рассылку был успешно отправлен.'); 754 return redirect()->route('employer.send_all_messages')->with('success', 'Запрос на рассылку был успешно отправлен.');
758 } 755 }
759 756
760 // База резюме 757 // База резюме
761 public function bd_tupe(Request $request) { 758 public function bd_tupe(Request $request) {
762 $Resume = User_Model::query()->with('workers')->where('is_bd', '=', '1')->get(); 759 $Resume = User_Model::query()->with('workers')->where('is_bd', '=', '1')->get();
763 760
764 return view('employers.bd_tupe', compact('Resume')); 761 return view('employers.bd_tupe', compact('Resume'));
765 } 762 }
766 763
767 ////////////////////////////////////////////////////////////////// 764 //////////////////////////////////////////////////////////////////
768 // Отправил сообщение 765 // Отправил сообщение
769 ////////////////////////////////////////////////////////////////// 766 //////////////////////////////////////////////////////////////////
770 public function new_message(Request $request) { 767 public function new_message(Request $request) {
771 $params = $request->all(); 768 $params = $request->all();
772 769
773 $id = $params['_user_id']; 770 $id = $params['_user_id'];
774 $message_params = [ 771 $message_params = [
775 'title' => $params['title'], 772 'title' => $params['title'],
776 'text' => $params['text'], 773 'text' => $params['text'],
777 'ad_employer_id' => $params['_vacancy'], 774 'ad_employer_id' => $params['_vacancy'],
778 'flag_new' => 1 775 'flag_new' => 1
779 ]; 776 ];
780 777
781 Message::add_message( 778 Message::add_message(
782 $request, 779 $request,
783 $params['_user_id'], 780 $params['_user_id'],
784 $params['_to_user_id'], 781 $params['_to_user_id'],
785 $message_params, 782 $message_params,
786 file_store_path: "worker/$id" 783 file_store_path: "worker/$id"
787 ); 784 );
788 785
789 return redirect()->route('employer.messages', ['type_message' => 'output']); 786 return redirect()->route('employer.messages', ['type_message' => 'output']);
790 } 787 }
791 788
792 // Восстановление пароля 789 // Восстановление пароля
793 public function repair_password(Request $request) { 790 public function repair_password(Request $request) {
794 $params = $request->get('email'); 791 $params = $request->get('email');
795 } 792 }
796 793
797 // Избранные люди на корабль 794 // Избранные люди на корабль
798 public function selected_people(Request $request) { 795 public function selected_people(Request $request) {
799 $id = $request->get('id'); 796 $id = $request->get('id');
800 $favorite_people = Job_title::query()->orderByDesc('sort')->OrderBy('name')-> 797 $favorite_people = Job_title::query()->orderByDesc('sort')->OrderBy('name')->
801 where('is_remove', '=', '0')-> 798 where('is_remove', '=', '0')->
802 where('is_bd', '=', '0')-> 799 where('is_bd', '=', '0')->
803 where('position_id', $id)-> 800 where('position_id', $id)->
804 get(); 801 get();
805 return view('favorite_people', compact('favorite_people')); 802 return view('favorite_people', compact('favorite_people'));
806 } 803 }
807 } 804 }
808 805
app/Http/Controllers/WorkerController.php
1 <?php 1 <?php
2 2
3 namespace App\Http\Controllers; 3 namespace App\Http\Controllers;
4 4
5 use App\Classes\RusDate; 5 use App\Classes\RusDate;
6 use App\Http\Requests\DocumentsRequest; 6 use App\Http\Requests\DocumentsRequest;
7 use App\Http\Requests\PrevCompanyRequest; 7 use App\Http\Requests\PrevCompanyRequest;
8 use App\Http\Requests\SertificationRequest; 8 use App\Http\Requests\SertificationRequest;
9 use App\Models\Ad_employer; 9 use App\Models\Ad_employer;
10 use App\Models\ad_response; 10 use App\Models\ad_response;
11 use App\Models\Chat; 11 use App\Models\Chat;
12 use App\Models\Dop_info; 12 use App\Models\Dop_info;
13 use App\Models\infobloks; 13 use App\Models\infobloks;
14 use App\Models\Job_title; 14 use App\Models\Job_title;
15 use App\Models\Like_vacancy; 15 use App\Models\Like_vacancy;
16 use App\Models\Message; 16 use App\Models\Message;
17 use App\Models\place_works; 17 use App\Models\place_works;
18 use App\Models\PrevCompany; 18 use App\Models\PrevCompany;
19 use App\Models\ResponseWork; 19 use App\Models\ResponseWork;
20 use App\Models\sertification; 20 use App\Models\sertification;
21 use App\Models\Static_worker; 21 use App\Models\Static_worker;
22 use App\Models\Title_worker; 22 use App\Models\Title_worker;
23 use App\Models\User; 23 use App\Models\User;
24 use App\Models\User as User_Model; 24 use App\Models\User as User_Model;
25 use App\Models\Worker; 25 use App\Models\Worker;
26 use Barryvdh\DomPDF\Facade\Pdf; 26 use Barryvdh\DomPDF\Facade\Pdf;
27 use Carbon\Carbon; 27 use Carbon\Carbon;
28 use Illuminate\Auth\Events\Registered; 28 use Illuminate\Auth\Events\Registered;
29 use Illuminate\Database\Eloquent\Builder; 29 use Illuminate\Database\Eloquent\Builder;
30 use Illuminate\Http\Request; 30 use Illuminate\Http\Request;
31 use Illuminate\Support\Facades\Auth; 31 use Illuminate\Support\Facades\Auth;
32 use Illuminate\Support\Facades\Hash; 32 use Illuminate\Support\Facades\Hash;
33 use Illuminate\Support\Facades\Storage; 33 use Illuminate\Support\Facades\Storage;
34 use Illuminate\Support\Facades\Validator; 34 use Illuminate\Support\Facades\Validator;
35 use PhpOffice\PhpSpreadsheet\Spreadsheet; 35 use PhpOffice\PhpSpreadsheet\Spreadsheet;
36 use PhpOffice\PhpSpreadsheet\Writer\Xlsx; 36 use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
37 use Symfony\Component\HttpFoundation\StreamedResponse; 37 use Symfony\Component\HttpFoundation\StreamedResponse;
38 use App\Enums\DbExportColumns; 38 use App\Enums\DbExportColumns;
39 use App\Enums\WorkerStatuses; 39 use App\Enums\WorkerStatuses;
40 use DateTime; 40 use DateTime;
41 41
42 class WorkerController extends Controller 42 class WorkerController extends Controller
43 { 43 {
44 //профиль 44 //профиль
45 public function profile(Worker $worker) 45 public function profile(Worker $worker)
46 { 46 {
47 $get_date = date('Y.m'); 47 $get_date = date('Y.m');
48 48
49 $c = Static_worker::query()->where('year_month', '=', $get_date) 49 $c = Static_worker::query()->where('year_month', '=', $get_date)
50 ->where('user_id', '=', $worker->users->id) 50 ->where('user_id', '=', $worker->users->id)
51 ->get(); 51 ->get();
52 52
53 if ($c->count() > 0) { 53 if ($c->count() > 0) {
54 $upd = Static_worker::find($c[0]->id); 54 $upd = Static_worker::find($c[0]->id);
55 $upd->lookin = $upd->lookin + 1; 55 $upd->lookin = $upd->lookin + 1;
56 $upd->save(); 56 $upd->save();
57 } else { 57 } else {
58 $crt = new Static_worker(); 58 $crt = new Static_worker();
59 $crt->lookin = 1; 59 $crt->lookin = 1;
60 $crt->year_month = $get_date; 60 $crt->year_month = $get_date;
61 $crt->user_id = $worker->user_id; 61 $crt->user_id = $worker->user_id;
62 $crt->save(); 62 $crt->save();
63 } 63 }
64 64
65 $stat = Static_worker::query()->where('year_month', '=', $get_date) 65 $stat = Static_worker::query()->where('year_month', '=', $get_date)
66 ->where('user_id', '=', $worker->users->id) 66 ->where('user_id', '=', $worker->users->id)
67 ->get(); 67 ->get();
68 68
69 return view('public.workers.profile', compact('worker', 'stat')); 69 return view('public.workers.profile', compact('worker', 'stat'));
70 } 70 }
71 71
72 // лист база резюме 72 // лист база резюме
73 public function bd_resume(Request $request) 73 public function bd_resume(Request $request)
74 { 74 {
75 $look = false; 75 $look = false;
76 $idiot = 0; 76 $idiot = 0;
77 if (isset(Auth()->user()->id)) { 77 if (isset(Auth()->user()->id)) {
78 $idiot = Auth()->user()->id; 78 $idiot = Auth()->user()->id;
79 if ((!Auth()->user()->is_worker) && (Auth()->user()->is_lookin)) 79 if ((!Auth()->user()->is_worker) && (Auth()->user()->is_lookin))
80 $look = true; 80 $look = true;
81 } 81 }
82 82
83 if ($look) { 83 if ($look) {
84 $status_work = WorkerStatuses::getWorkerStatuses(); 84 $status_work = WorkerStatuses::getWorkerStatuses();
85 $resumes = Worker::query()->with('users')->with('job_titles')->orderByDesc('updated_at');; 85 $resumes = Worker::query()->with('users')->with('job_titles')->orderByDesc('updated_at');;
86 $resumes = $resumes->whereHas('users', function (Builder $query) { 86 $resumes = $resumes->whereHas('users', function (Builder $query) {
87 $query->Where('is_worker', '=', '1') 87 $query->Where('is_worker', '=', '1')
88 ->Where('is_bd', '=', '0'); 88 ->Where('is_bd', '=', '0');
89 }); 89 });
90 90
91 //dd($request->get('job')); 91 //dd($request->get('job'));
92 if (($request->has('job')) && ($request->get('job') > 0)) { 92 if (($request->has('job')) && ($request->get('job') > 0)) {
93 $resumes = $resumes->whereHas('job_titles', function (Builder $query) use ($request) { 93 $resumes = $resumes->whereHas('job_titles', function (Builder $query) use ($request) {
94 $query->Where('job_titles.id', $request->get('job')); 94 $query->Where('job_titles.id', $request->get('job'));
95 }); 95 });
96 } 96 }
97 97
98 $Job_title = Job_title::query() 98 $Job_title = Job_title::query()
99 ->where('is_remove', '=', '0') 99 ->where('is_remove', '=', '0')
100 ->where('is_bd', '=' , '1') 100 ->where('is_bd', '=' , '1')
101 ->orderByDesc('sort') 101 ->orderByDesc('sort')
102 ->get() 102 ->get()
103 ; 103 ;
104 104
105 if ($request->get('sort')) { 105 if ($request->get('sort')) {
106 $sort = $request->get('sort'); 106 $sort = $request->get('sort');
107 switch ($sort) { 107 switch ($sort) {
108 case 'looking_for_work': 108 case 'looking_for_work':
109 $resumes->where('status_work', '=', WorkerStatuses::LookingForWork->value); 109 $resumes->where('status_work', '=', WorkerStatuses::LookingForWork->value);
110 break; 110 break;
111 case 'considering_offers': 111 case 'considering_offers':
112 $resumes->where('status_work', '=', WorkerStatuses::ConsideringOffers->value); 112 $resumes->where('status_work', '=', WorkerStatuses::ConsideringOffers->value);
113 break; 113 break;
114 case 'not_looking_for_work': 114 case 'not_looking_for_work':
115 $resumes->where('status_work', '=', WorkerStatuses::NotLookingForWork->value); 115 $resumes->where('status_work', '=', WorkerStatuses::NotLookingForWork->value);
116 break; 116 break;
117 } 117 }
118 } 118 }
119 119
120 $res_count = $resumes->count(); 120 $res_count = $resumes->count();
121 //$resumes = $resumes->get(); 121 //$resumes = $resumes->get();
122 $resumes = $resumes->paginate(4); 122 $resumes = $resumes->paginate(4);
123 if ($request->ajax()) { 123 if ($request->ajax()) {
124 // Условия обставлены 124 // Условия обставлены
125 if ($request->has('block') && ($request->get('block') == 1)) { 125 if ($request->has('block') && ($request->get('block') == 1)) {
126 return view('ajax.resume_1', compact('resumes', 'status_work', 'res_count', 'idiot')); 126 return view('ajax.resume_1', compact('resumes', 'status_work', 'res_count', 'idiot'));
127 } 127 }
128 } else { 128 } else {
129 return view('resume', compact('resumes', 'status_work', 'res_count', 'idiot', 'Job_title')); 129 return view('resume', compact('resumes', 'status_work', 'res_count', 'idiot', 'Job_title'));
130 } 130 }
131 } else { 131 } else {
132 return redirect()->route('index')->withErrors(['errors' => ['Вы не можете просматривать базу резюме. Подробнее в меню: "Условия размещения"']]); 132 return redirect()->route('index')->withErrors(['errors' => ['Вы не можете просматривать базу резюме. Подробнее в меню: "Условия размещения"']]);
133 } 133 }
134 } 134 }
135 135
136 public function basic_information(){ 136 public function basic_information(){
137 if (!isset(Auth()->user()->id)) { 137 if (!isset(Auth()->user()->id)) {
138 abort(404); 138 abort(404);
139 } 139 }
140 140
141 $user_id = Auth()->user()->id; 141 $user_id = Auth()->user()->id;
142 142
143 $user = User::query() 143 $user = User::query()
144 ->with('workers') 144 ->with('workers')
145 ->with(['jobtitles' => function ($query) { 145 ->with(['jobtitles' => function ($query) {
146 $query->select('job_titles.id'); 146 $query->select('job_titles.id');
147 }]) 147 }])
148 ->where('id', '=', $user_id) 148 ->where('id', '=', $user_id)
149 ->first(); 149 ->first();
150 $user->workers[0]->job_titles = $user->workers[0]->job_titles->pluck('id')->toArray(); 150 $user->workers[0]->job_titles = $user->workers[0]->job_titles->pluck('id')->toArray();
151 151
152 $job_titles = Job_title::query() 152 $job_titles = Job_title::query()
153 ->where('is_remove', '=', 0) 153 ->where('is_remove', '=', 0)
154 ->where('is_bd', '=', 1) 154 ->where('is_bd', '=', 1)
155 ->orderByDesc('sort') 155 ->orderByDesc('sort')
156 ->get() 156 ->get()
157 ; 157 ;
158 158
159 return view('workers.form_basic_information', compact('user', 'job_titles')); 159 return view('workers.form_basic_information', compact('user', 'job_titles'));
160 } 160 }
161 161
162 public function additional_documents(){ 162 public function additional_documents(){
163 if (!isset(Auth()->user()->id)) { 163 if (!isset(Auth()->user()->id)) {
164 abort(404); 164 abort(404);
165 } 165 }
166 166
167 $user_id = Auth()->user()->id; 167 $user_id = Auth()->user()->id;
168 168
169 $info_blocks = infobloks::query()->OrderBy('name')->get(); 169 $info_blocks = infobloks::query()->OrderBy('name')->get();
170 $additional_document_statuses = [0 => 'Не указано', 1 => 'В наличии', 2 => 'Отсутствует']; 170 $additional_document_statuses = [0 => 'Не указано', 1 => 'В наличии', 2 => 'Отсутствует'];
171 171
172 $worker = Worker::query() 172 $worker = Worker::query()
173 ->with('users') 173 ->with('users')
174 ->with('infobloks') 174 ->with('infobloks')
175 ->WhereHas('users', function (Builder $query) use ($user_id) { 175 ->WhereHas('users', function (Builder $query) use ($user_id) {
176 $query->Where('id', $user_id); 176 $query->Where('id', $user_id);
177 }) 177 })
178 ->first(); 178 ->first();
179 if ($worker->dop_info->count()){ 179 if ($worker->dop_info->count()){
180 $worker->dop_info = $worker->dop_info->keyBy('infoblok_id')->toArray(); 180 $worker->dop_info = $worker->dop_info->keyBy('infoblok_id')->toArray();
181 } 181 }
182 182
183 return view('workers.form_additional_documents', compact('worker', 'info_blocks', 'additional_document_statuses')); 183 return view('workers.form_additional_documents', compact('worker', 'info_blocks', 'additional_document_statuses'));
184 } 184 }
185 185
186 //Лайк резюме 186 //Лайк резюме
187 public function like_controller() { 187 public function like_controller() {
188 188
189 } 189 }
190 190
191 // анкета соискателя 191 // анкета соискателя
192 public function resume_profile(Worker $worker) 192 public function resume_profile(Worker $worker)
193 { 193 {
194 if (isset(Auth()->user()->id)) { 194 if (isset(Auth()->user()->id)) {
195 $idiot = Auth()->user()->id; 195 $idiot = Auth()->user()->id;
196 } else { 196 } else {
197 $idiot = 0; 197 $idiot = 0;
198 } 198 }
199 199
200 $status_work = WorkerStatuses::getWorkerStatuses(); 200 $status_work = WorkerStatuses::getWorkerStatuses();
201 $Query = Worker::query()->with('users')->with('job_titles') 201 $Query = Worker::query()->with('users')->with('job_titles')
202 ->with('place_worker')->with('sertificate')->with('prev_company') 202 ->with('place_worker')->with('sertificate')->with('prev_company')
203 ->with('infobloks')->with('response'); 203 ->with('infobloks')->with('response');
204 $Query = $Query->where('id', '=', $worker->id); 204 $Query = $Query->where('id', '=', $worker->id);
205 $Query = $Query->get(); 205 $Query = $Query->get();
206 206
207 $get_date = date('Y.m'); 207 $get_date = date('Y.m');
208 208
209 $infoblocks = infobloks::query()->get(); 209 $infoblocks = infobloks::query()->get();
210 210
211 $c = Static_worker::query()->where('year_month', '=', $get_date) 211 $c = Static_worker::query()->where('year_month', '=', $get_date)
212 ->where('user_id', '=', $worker->user_id) 212 ->where('user_id', '=', $worker->user_id)
213 ->get(); 213 ->get();
214 214
215 if ($c->count() > 0) { 215 if ($c->count() > 0) {
216 $upd = Static_worker::find($c[0]->id); 216 $upd = Static_worker::find($c[0]->id);
217 $upd->lookin = $upd->lookin + 1; 217 $upd->lookin = $upd->lookin + 1;
218 $upd->save(); 218 $upd->save();
219 } else { 219 } else {
220 $crt = new Static_worker(); 220 $crt = new Static_worker();
221 $crt->lookin = 1; 221 $crt->lookin = 1;
222 $crt->year_month = $get_date; 222 $crt->year_month = $get_date;
223 $crt->user_id = $worker->user_id; 223 $crt->user_id = $worker->user_id;
224 $status = $crt->save(); 224 $status = $crt->save();
225 } 225 }
226 226
227 $stat = Static_worker::query()->where('year_month', '=', $get_date) 227 $stat = Static_worker::query()->where('year_month', '=', $get_date)
228 ->where('user_id', '=', $worker->user_id) 228 ->where('user_id', '=', $worker->user_id)
229 ->get(); 229 ->get();
230 230
231 return view('worker', compact('Query', 'infoblocks', 'status_work', 'idiot', 'stat')); 231 return view('worker', compact('Query', 'infoblocks', 'status_work', 'idiot', 'stat'));
232 } 232 }
233 233
234 // скачать анкету соискателя 234 // скачать анкету соискателя
235 public function resume_download(Worker $worker) 235 public function resume_download(Worker $worker)
236 { 236 {
237 $status_work = WorkerStatuses::getWorkerStatuses(); 237 $status_work = WorkerStatuses::getWorkerStatuses();
238 $Query = Worker::query()->with('users')->with('job_titles') 238 $Query = Worker::query()->with('users')->with('job_titles')
239 ->with('place_worker')->with('sertificate')->with('prev_company') 239 ->with('place_worker')->with('sertificate')->with('prev_company')
240 ->with('infobloks'); 240 ->with('infobloks');
241 $Query = $Query->where('id', '=', $worker->id); 241 $Query = $Query->where('id', '=', $worker->id);
242 $Query = $Query->get(); 242 $Query = $Query->get();
243 243
244 view()->share('Query',$Query); 244 view()->share('Query',$Query);
245 245
246 $status_work = WorkerStatuses::getWorkerStatuses(); 246 $status_work = WorkerStatuses::getWorkerStatuses();
247 $infoblocks = infobloks::query()->get(); 247 $infoblocks = infobloks::query()->get();
248 248
249 //return view('layout.pdf', compact('Query', 'status_work', 'infoblocks')); 249 //return view('layout.pdf', compact('Query', 'status_work', 'infoblocks'));
250 $pdf = PDF::loadView('layout.pdf', [ 250 $pdf = PDF::loadView('layout.pdf', [
251 'Query' => $Query, 251 'Query' => $Query,
252 'status_work' => $status_work, 252 'status_work' => $status_work,
253 'infoblocks' => $infoblocks 253 'infoblocks' => $infoblocks
254 ])->setPaper('a4', 'landscape'); 254 ])->setPaper('a4', 'landscape');
255 255
256 return $pdf->stream(); 256 return $pdf->stream();
257 } 257 }
258 258
259 public function resume_download_all(Request $request) { 259 public function resume_download_all(Request $request) {
260 $spreadsheet = new Spreadsheet(); 260 $spreadsheet = new Spreadsheet();
261 $sheet = $spreadsheet->getActiveSheet(); 261 $sheet = $spreadsheet->getActiveSheet();
262 262
263 $columnMap = range('A', 'Z'); 263 $columnMap = range('A', 'Z');
264 $columns = []; 264 $columns = [];
265 265
266 foreach (DbExportColumns::toArray() as $key => $value){ 266 foreach (DbExportColumns::toArray() as $key => $value){
267 if ($request->input($key, 0)){ 267 if ($request->input($key, 0)){
268 $sheet->setCellValue("{$columnMap[count($columns)]}1", ucfirst($value)); 268 $sheet->setCellValue("{$columnMap[count($columns)]}1", ucfirst($value));
269 $columns[] = str_replace('__', '.', $key); 269 $columns[] = str_replace('__', '.', $key);
270 } 270 }
271 } 271 }
272 272
273 if (empty($columns)) { 273 if (empty($columns)) {
274 return redirect()->back()->with('error', 'Пожалуйста выберите хотя бы 1 колонку для экспорта.'); 274 return redirect()->back()->with('error', 'Пожалуйста выберите хотя бы 1 колонку для экспорта.');
275 } 275 }
276 276
277 $query = User::select($columns) 277 $query = User::select($columns)
278 ->leftJoin('workers', 'users.id', '=', 'workers.user_id') 278 ->leftJoin('workers', 'users.id', '=', 'workers.user_id')
279 ->leftJoin('job_titles', 'workers.position_work', '=', 'job_titles.id') 279 ->leftJoin('job_titles', 'workers.position_work', '=', 'job_titles.id')
280 ->where('users.is_bd', '=', 1) 280 ->where('users.is_bd', '=', 1)
281 ; 281 ;
282 282
283 $job_title_list = $request->input('job_title_list', []); 283 $job_title_list = $request->input('job_title_list', []);
284 if (!empty($job_title_list)){ 284 if (!empty($job_title_list)){
285 $query->whereIn('job_titles.id', $job_title_list); 285 $query->whereIn('job_titles.id', $job_title_list);
286 } 286 }
287 287
288 $users = $query->get(); 288 $users = $query->get();
289 if ($users->count()){ 289 if ($users->count()){
290 $i = 2; 290 $i = 2;
291 foreach ($users->toArray() as $user){ 291 foreach ($users->toArray() as $user){
292 $j = 0; 292 $j = 0;
293 foreach ($user as $field){ 293 foreach ($user as $field){
294 $sheet->setCellValue("{$columnMap[$j++]}$i", $field); 294 $sheet->setCellValue("{$columnMap[$j++]}$i", $field);
295 } 295 }
296 $i++; 296 $i++;
297 } 297 }
298 } 298 }
299 $writer = new Xlsx($spreadsheet); 299 $writer = new Xlsx($spreadsheet);
300 $fileName = 'DB.xlsx'; 300 $fileName = 'DB.xlsx';
301 301
302 $response = new StreamedResponse(function() use ($writer) { 302 $response = new StreamedResponse(function() use ($writer) {
303 $writer->save('php://output'); 303 $writer->save('php://output');
304 }); 304 });
305 305
306 $response->headers->set('Content-Type', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'); 306 $response->headers->set('Content-Type', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');
307 $response->headers->set('Content-Disposition', 'attachment;filename="' . $fileName . '"'); 307 $response->headers->set('Content-Disposition', 'attachment;filename="' . $fileName . '"');
308 $response->headers->set('Cache-Control', 'max-age=0'); 308 $response->headers->set('Cache-Control', 'max-age=0');
309 309
310 return $response; 310 return $response;
311 } 311 }
312 312
313 // Кабинет работника 313 // Кабинет работника
314 public function cabinet(Request $request) 314 public function cabinet(Request $request)
315 { 315 {
316 // дата год и месяц 316 // дата год и месяц
317 $get_date = date('Y.m'); 317 $get_date = date('Y.m');
318 318
319 $id = Auth()->user()->id; 319 $id = Auth()->user()->id;
320 320
321 $Infobloks = infobloks::query()->get(); 321 $Infobloks = infobloks::query()->get();
322 322
323 $Worker = Worker::query()->with('users')->with('sertificate')->with('prev_company')-> 323 $Worker = Worker::query()->with('users')->with('sertificate')->with('prev_company')->
324 with('infobloks')->with('place_worker')-> 324 with('infobloks')->with('place_worker')->
325 WhereHas('users', 325 WhereHas('users',
326 function (Builder $query) use ($id) {$query->Where('id', $id); 326 function (Builder $query) use ($id) {$query->Where('id', $id);
327 })->get(); 327 })->get();
328 328
329 $Job_titles = Job_title::query()->where('is_remove', '=', '0')-> 329 $Job_titles = Job_title::query()->where('is_remove', '=', '0')->
330 where('is_bd', '=' , '1')-> 330 where('is_bd', '=' , '1')->
331 OrderByDesc('sort')->OrderBy('name')->get(); 331 OrderByDesc('sort')->OrderBy('name')->get();
332 332
333 333
334 $stat = Static_worker::query()->where('year_month', '=', $get_date) 334 $stat = Static_worker::query()->where('year_month', '=', $get_date)
335 ->where('user_id', '=', $id) 335 ->where('user_id', '=', $id)
336 ->get(); 336 ->get();
337 337
338 338
339 // 10% 339 // 10%
340 340
341 $persent = 10; 341 $persent = 10;
342 $persent1 = 0; 342 $persent1 = 0;
343 $persent2 = 0; 343 $persent2 = 0;
344 $persent3 = 0; 344 $persent3 = 0;
345 $persent4 = 0; 345 $persent4 = 0;
346 $persent5 = 0; 346 $persent5 = 0;
347 347
348 if ((!empty($Worker[0]->telephone)) && 348 if ((!empty($Worker[0]->telephone)) &&
349 (!empty($Worker[0]->email)) && (!empty($Worker[0]->experience)) && 349 (!empty($Worker[0]->email)) && (!empty($Worker[0]->experience)) &&
350 (!empty($Worker[0]->city)) && (!empty($Worker[0]->old_year))) { 350 (!empty($Worker[0]->city)) && (!empty($Worker[0]->old_year))) {
351 // 40% 351 // 40%
352 $persent = $persent + 40; 352 $persent = $persent + 40;
353 $persent1 = 40; 353 $persent1 = 40;
354 } 354 }
355 355
356 //dd($Worker[0]->status_work, $Worker[0]->telephone, $Worker[0]->email, $Worker[0]->experience, $Worker[0]->city, $Worker[0]->old_year); 356 //dd($Worker[0]->status_work, $Worker[0]->telephone, $Worker[0]->email, $Worker[0]->experience, $Worker[0]->city, $Worker[0]->old_year);
357 357
358 if ($Worker[0]->sertificate->count() > 0) { 358 if ($Worker[0]->sertificate->count() > 0) {
359 // 15% 359 // 15%
360 $persent = $persent + 15; 360 $persent = $persent + 15;
361 $persent2 = 15; 361 $persent2 = 15;
362 } 362 }
363 363
364 if ($Worker[0]->infobloks->count() > 0) { 364 if ($Worker[0]->infobloks->count() > 0) {
365 // 20% 365 // 20%
366 $persent = $persent + 20; 366 $persent = $persent + 20;
367 $persent3 = 20; 367 $persent3 = 20;
368 } 368 }
369 369
370 if ($Worker[0]->prev_company->count() > 0) { 370 if ($Worker[0]->prev_company->count() > 0) {
371 // 10% 371 // 10%
372 $persent = $persent + 10; 372 $persent = $persent + 10;
373 $persent4 = 10; 373 $persent4 = 10;
374 } 374 }
375 375
376 if (!empty($Worker[0]->photo)) { 376 if (!empty($Worker[0]->photo)) {
377 // 5% 377 // 5%
378 $persent = $persent + 5; 378 $persent = $persent + 5;
379 $persent5 = 5; 379 $persent5 = 5;
380 } 380 }
381 381
382 $status_work = WorkerStatuses::getWorkerStatuses(); 382 $status_work = WorkerStatuses::getWorkerStatuses();
383 $additional_document_statuses = [0 => 'Не указано', 1 => 'В наличии', 2 => 'Отсутствует']; 383 $additional_document_statuses = [0 => 'Не указано', 1 => 'В наличии', 2 => 'Отсутствует'];
384 $info_blocks = infobloks::query()->OrderBy('name')->get(); 384 $info_blocks = infobloks::query()->OrderBy('name')->get();
385 385
386 $worker = Worker::query() 386 $worker = Worker::query()
387 ->with('users') 387 ->with('users')
388 ->with('sertificate') 388 ->with('sertificate')
389 ->with('prev_company') 389 ->with('prev_company')
390 ->with('infobloks') 390 ->with('infobloks')
391 ->with('place_worker') 391 ->with('place_worker')
392 ->with('job_titles') 392 ->with('job_titles')
393 ->WhereHas('users', function (Builder $query) use ($id) { 393 ->WhereHas('users', function (Builder $query) use ($id) {
394 $query->Where('id', $id); 394 $query->Where('id', $id);
395 }) 395 })
396 ->first(); 396 ->first();
397 if ($worker->dop_info->count()){ 397 if ($worker->dop_info->count()){
398 $worker->dop_info = $worker->dop_info->keyBy('infoblok_id')->toArray(); 398 $worker->dop_info = $worker->dop_info->keyBy('infoblok_id')->toArray();
399 } 399 }
400 400
401 //dd($worker->dop_info); 401 //dd($worker->dop_info);
402 402
403 if ($request->has('print')) { 403 if ($request->has('print')) {
404 dd($Worker); 404 dd($Worker);
405 } else { 405 } else {
406 return view('workers.cabinet', compact( 'persent', 'Job_titles', 'stat', 406 return view('workers.cabinet', compact( 'persent', 'Job_titles', 'stat',
407 'worker', 'info_blocks', 'status_work', 'additional_document_statuses' 407 'worker', 'info_blocks', 'status_work', 'additional_document_statuses'
408 )); 408 ));
409 } 409 }
410 } 410 }
411 411
412 // Сохранение данных 412 // Сохранение данных
413 public function cabinet_save(Worker $worker, Request $request) 413 public function cabinet_save(Worker $worker, Request $request)
414 { 414 {
415 $id = $worker->id; 415 $id = $worker->id;
416 $params = $request->all(); 416 $params = $request->all();
417 $job_title_id = $request->get('job_title_id'); 417 $job_title_id = $request->get('job_title_id');
418 418
419 $rules = [ 419 $rules = [
420 'surname' => ['required', 'string', 'max:255'], 420 'surname' => ['required', 'string', 'max:255'],
421 'name_man' => ['required', 'string', 'max:255'], 421 'name_man' => ['required', 'string', 'max:255'],
422 'email' => ['required', 'string', 'email', 'max:255'], 422 'email' => ['required', 'string', 'email', 'max:255'],
423 423
424 ]; 424 ];
425 425
426 $messages = [ 426 $messages = [
427 'required' => 'Укажите обязательное поле', 427 'required' => 'Укажите обязательное поле',
428 'min' => [ 428 'min' => [
429 'string' => 'Поле «:attribute» должно быть не меньше :min символов', 429 'string' => 'Поле «:attribute» должно быть не меньше :min символов',
430 'integer' => 'Поле «:attribute» должно быть :min или больше', 430 'integer' => 'Поле «:attribute» должно быть :min или больше',
431 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' 431 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт'
432 ], 432 ],
433 'max' => [ 433 'max' => [
434 'string' => 'Поле «:attribute» должно быть не больше :max символов', 434 'string' => 'Поле «:attribute» должно быть не больше :max символов',
435 'integer' => 'Поле «:attribute» должно быть :max или меньше', 435 'integer' => 'Поле «:attribute» должно быть :max или меньше',
436 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' 436 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт'
437 ] 437 ]
438 ]; 438 ];
439 439
440 $validator = Validator::make($params, $rules, $messages); 440 $validator = Validator::make($params, $rules, $messages);
441 441
442 if ($validator->fails()) { 442 if ($validator->fails()) {
443 return redirect()->route('worker.cabinet')->withErrors($validator); 443 return redirect()->route('worker.cabinet')->withErrors($validator);
444 } else { 444 } else {
445 445
446 if ($request->has('photo')) { 446 if ($request->has('photo')) {
447 if (!empty($worker->photo)) { 447 if (!empty($worker->photo)) {
448 Storage::delete($worker->photo); 448 Storage::delete($worker->photo);
449 } 449 }
450 $params['photo'] = $request->file('photo')->store("worker/$id", 'public'); 450 $params['photo'] = $request->file('photo')->store("worker/$id", 'public');
451 } 451 }
452 452
453 if ($request->has('file')) { 453 if ($request->has('file')) {
454 if (!empty($worker->file)) { 454 if (!empty($worker->file)) {
455 Storage::delete($worker->file); 455 Storage::delete($worker->file);
456 } 456 }
457 $params['file'] = $request->file('file')->store("worker/$id", 'public'); 457 $params['file'] = $request->file('file')->store("worker/$id", 'public');
458 } 458 }
459 459
460 $worker->update($params); 460 $worker->update($params);
461 $use = User::find($worker->user_id); 461 $use = User::find($worker->user_id);
462 $use->surname = $request->get('surname'); 462 $use->surname = $request->get('surname');
463 $use->name_man = $request->get('name_man'); 463 $use->name_man = $request->get('name_man');
464 $use->surname2 = $request->get('surname2'); 464 $use->surname2 = $request->get('surname2');
465 465
466 $use->save(); 466 $use->save();
467 $worker->job_titles()->sync($job_title_id); 467 $worker->job_titles()->sync($job_title_id);
468 468
469 return redirect()->route('worker.cabinet')->with('success', 'Данные были успешно сохранены'); 469 return redirect()->route('worker.cabinet')->with('success', 'Данные были успешно сохранены');
470 } 470 }
471 } 471 }
472 472
473 public function cabinet_save_foto(Worker $worker, Request $request){ 473 public function cabinet_save_foto(Worker $worker, Request $request){
474 $params = ['photo' => null]; 474 $params = ['photo' => null];
475 475
476 if ($request->has('photo')) { 476 if ($request->has('photo')) {
477 if (!empty($worker->photo)) { 477 if (!empty($worker->photo)) {
478 Storage::delete($worker->photo); 478 Storage::delete($worker->photo);
479 } 479 }
480 $params['photo'] = $request->file('photo')->store("worker/$worker->id", 'public'); 480 $params['photo'] = $request->file('photo')->store("worker/$worker->id", 'public');
481 } 481 }
482 482
483 if ($request->has('file')) { 483 if ($request->has('file')) {
484 if (!empty($worker->file)) { 484 if (!empty($worker->file)) {
485 Storage::delete($worker->file); 485 Storage::delete($worker->file);
486 } 486 }
487 $params['file'] = $request->file('file')->store("worker/$worker->id", 'public'); 487 $params['file'] = $request->file('file')->store("worker/$worker->id", 'public');
488 } 488 }
489 489
490 $worker->update($params); 490 $worker->update($params);
491 491
492 return redirect()->route('worker.cabinet'); 492 return redirect()->route('worker.cabinet');
493 } 493 }
494 494
495 // Сообщения данные 495 // Сообщения данные
496 public function messages($type_message) 496 public function messages($type_message)
497 { 497 {
498 $user_id = Auth()->user()->id; 498 $user_id = Auth()->user()->id;
499 499
500 $chats = Chat::get_user_chats($user_id); 500 $chats = Chat::get_user_chats($user_id);
501 $admin_chat = Chat::get_user_admin_chat($user_id); 501 $admin_chat = Chat::get_user_admin_chat($user_id);
502 $user_type = 'worker'; 502 $user_type = 'worker';
503 503
504 return view('workers.messages', compact('chats', 'admin_chat','user_id', 'user_type')); 504 return view('workers.messages', compact('chats', 'admin_chat','user_id', 'user_type'));
505 } 505 }
506 506
507 // Избранный 507 // Избранный
508 public function favorite() 508 public function favorite()
509 { 509 {
510 return view('workers.favorite'); 510 return view('workers.favorite');
511 } 511 }
512 512
513 // Сменить пароль 513 // Сменить пароль
514 public function new_password() 514 public function new_password()
515 { 515 {
516 $email = Auth()->user()->email; 516 $email = Auth()->user()->email;
517 return view('workers.new_password', compact('email')); 517 return view('workers.new_password', compact('email'));
518 } 518 }
519 519
520 // Обновление пароля 520 // Обновление пароля
521 public function save_new_password(Request $request) { 521 public function save_new_password(Request $request) {
522 $use = Auth()->user(); 522 $use = Auth()->user();
523 $request->validate([ 523 $request->validate([
524 'password' => 'required|string', 524 'password' => 'required|string',
525 'new_password' => 'required|string', 525 'new_password' => 'required|string',
526 'new_password2' => 'required|string' 526 'new_password2' => 'required|string'
527 ]); 527 ]);
528 528
529 if ($request->get('new_password') == $request->get('new_password2')) 529 if ($request->get('new_password') == $request->get('new_password2'))
530 if ($request->get('password') !== $request->get('new_password')) { 530 if ($request->get('password') !== $request->get('new_password')) {
531 $credentials = $request->only('email', 'password'); 531 $credentials = $request->only('email', 'password');
532 if (Auth::attempt($credentials, $request->has('save_me'))) { 532 if (Auth::attempt($credentials, $request->has('save_me'))) {
533 533
534 if (!is_null($use->email_verified_at)){ 534 if (!is_null($use->email_verified_at)){
535 535
536 $user_data = User_Model::find($use->id); 536 $user_data = User_Model::find($use->id);
537 $user_data->update([ 537 $user_data->update([
538 'password' => Hash::make($request->get('new_password')), 538 'password' => Hash::make($request->get('new_password')),
539 'pubpassword' => base64_encode($request->get('new_password')), 539 'pubpassword' => base64_encode($request->get('new_password')),
540 ]); 540 ]);
541 return redirect() 541 return redirect()
542 ->route('worker.new_password') 542 ->route('worker.new_password')
543 ->with('success', 'Поздравляю! Вы обновили свой пароль!'); 543 ->with('success', 'Поздравляю! Вы обновили свой пароль!');
544 } 544 }
545 545
546 return redirect() 546 return redirect()
547 ->route('worker.new_password') 547 ->route('worker.new_password')
548 ->withError('Данная учетная запись не было верифицированна!'); 548 ->withError('Данная учетная запись не было верифицированна!');
549 } 549 }
550 } 550 }
551 551
552 return redirect() 552 return redirect()
553 ->route('worker.new_password') 553 ->route('worker.new_password')
554 ->withErrors('Не совпадение данных, обновите пароли!'); 554 ->withErrors('Не совпадение данных, обновите пароли!');
555 } 555 }
556 556
557 // Удаление профиля форма 557 // Удаление профиля форма
558 public function delete_profile() 558 public function delete_profile()
559 { 559 {
560 $login = Auth()->user()->email; 560 $login = Auth()->user()->email;
561 return view('workers.delete_profile', compact('login')); 561 return view('workers.delete_profile', compact('login'));
562 } 562 }
563 563
564 // Удаление профиля код 564 // Удаление профиля код
565 public function delete_profile_result(Request $request) { 565 public function delete_profile_result(Request $request) {
566 $Answer = $request->all(); 566 $Answer = $request->all();
567 $user_id = Auth()->user()->id; 567 $user_id = Auth()->user()->id;
568 $request->validate([ 568 $request->validate([
569 'password' => 'required|string', 569 'password' => 'required|string',
570 ]); 570 ]);
571 571
572 $credentials = $request->only('email', 'password'); 572 $credentials = $request->only('email', 'password');
573 if (Auth::attempt($credentials)) { 573 if (Auth::attempt($credentials)) {
574 Auth::logout(); 574 Auth::logout();
575 $it = User_Model::find($user_id); 575 $it = User_Model::find($user_id);
576 $it->delete(); 576 $it->delete();
577 return redirect()->route('index')->with('success', 'Вы успешно удалили свой аккаунт'); 577 return redirect()->route('index')->with('success', 'Вы успешно удалили свой аккаунт');
578 } else { 578 } else {
579 return redirect()->route('worker.delete_profile') 579 return redirect()->route('worker.delete_profile')
580 ->withErrors( 'Неверный пароль! Нужен корректный пароль'); 580 ->withErrors( 'Неверный пароль! Нужен корректный пароль');
581 } 581 }
582 } 582 }
583 583
584 // Регистрация соискателя 584 // Регистрация соискателя
585 public function register_worker(Request $request) 585 public function register_worker(Request $request)
586 { 586 {
587 $params = $request->all(); 587 $params = $request->all();
588 $params['is_worker'] = 1; 588 $params['is_worker'] = 1;
589 589
590 $rules = [ 590 $rules = [
591 'surname' => ['required', 'string', 'max:255'], 591 'surname' => ['required', 'string', 'max:255'],
592 'name_man' => ['required', 'string', 'max:255'], 592 'name_man' => ['required', 'string', 'max:255'],
593 'email' => ['required', 'email', 'max:255', 'unique:users'], 593 'email' => ['required', 'email', 'max:255', 'unique:users'],
594 'password' => ['required', 'string', 'min:6'] 594 'password' => ['required', 'string', 'min:6']
595 ]; 595 ];
596 596
597 $messages = [ 597 $messages = [
598 'required' => 'Укажите обязательное поле', 598 'required' => 'Укажите обязательное поле',
599 'min' => [ 599 'min' => [
600 'string' => 'Поле «:attribute» должно быть не меньше :min символов', 600 'string' => 'Поле «:attribute» должно быть не меньше :min символов',
601 'integer' => 'Поле «:attribute» должно быть :min или больше', 601 'integer' => 'Поле «:attribute» должно быть :min или больше',
602 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' 602 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт'
603 ], 603 ],
604 'max' => [ 604 'max' => [
605 'string' => 'Поле «:attribute» должно быть не больше :max символов', 605 'string' => 'Поле «:attribute» должно быть не больше :max символов',
606 'integer' => 'Поле «:attribute» должно быть :max или меньше', 606 'integer' => 'Поле «:attribute» должно быть :max или меньше',
607 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' 607 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт'
608 ] 608 ]
609 ]; 609 ];
610 610
611 $email = $request->get('email'); 611 $email = $request->get('email');
612 if (!preg_match("/^[a-zA-Z0-9_\-.]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-.]+$/", $email)) { 612 if (!preg_match("/^[a-zA-Z0-9_\-.]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-.]+$/", $email)) {
613 return json_encode(Array("ERROR" => "Error: Отсутствует емайл или некорректный емайл")); 613 return json_encode(Array("ERROR" => "Error: Отсутствует емайл или некорректный емайл"));
614 } 614 }
615 615
616 if ($request->get('password') !== $request->get('confirmed')){ 616 if ($request->get('password') !== $request->get('confirmed')){
617 return json_encode(Array("ERROR" => "Error: Не совпадают пароль и подтверждение пароля")); 617 return json_encode(Array("ERROR" => "Error: Не совпадают пароль и подтверждение пароля"));
618 } 618 }
619 619
620 if (strlen($request->get('password')) < 6) { 620 if (strlen($request->get('password')) < 6) {
621 return json_encode(Array("ERROR" => "Error: Недостаточная длина пароля! Увеличьте себе длину пароля!")); 621 return json_encode(Array("ERROR" => "Error: Недостаточная длина пароля! Увеличьте себе длину пароля!"));
622 } 622 }
623 623
624 /*$haystack = $request->get('password'); 624 /*$haystack = $request->get('password');
625 625
626 $specsumbol = Array('!','~', '#', '$', '%', '^', '&', '*', '(', ')', '-', '=', ';', ':', '<', '>', '?'); 626 $specsumbol = Array('!','~', '#', '$', '%', '^', '&', '*', '(', ')', '-', '=', ';', ':', '<', '>', '?');
627 $alpha = Array('Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I', 'O', 'P', 'A', 'S', 'D', 'F', 'G', 'H', 'J', 'K', 'L', 'Z', 627 $alpha = Array('Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I', 'O', 'P', 'A', 'S', 'D', 'F', 'G', 'H', 'J', 'K', 'L', 'Z',
628 'X', 'C', 'V', 'B', 'N', 'M'); 628 'X', 'C', 'V', 'B', 'N', 'M');
629 $lenpwd_bool = true; 629 $lenpwd_bool = true;
630 $spec_bool = false; 630 $spec_bool = false;
631 $alpha_bool = false; 631 $alpha_bool = false;
632 632
633 if (strlen($haystack) < 8) $lenpwd_bool = false; 633 if (strlen($haystack) < 8) $lenpwd_bool = false;
634 634
635 foreach ($specsumbol as $it) { 635 foreach ($specsumbol as $it) {
636 if (strpos($haystack, $it) !== false) { 636 if (strpos($haystack, $it) !== false) {
637 $spec_bool = true; 637 $spec_bool = true;
638 } 638 }
639 } 639 }
640 640
641 foreach ($alpha as $it) { 641 foreach ($alpha as $it) {
642 if (strpos($haystack, $it) !== false) { 642 if (strpos($haystack, $it) !== false) {
643 $alpha_bool = true; 643 $alpha_bool = true;
644 } 644 }
645 } 645 }
646 646
647 if ((!$spec_bool) || (!$alpha_bool)) { 647 if ((!$spec_bool) || (!$alpha_bool)) {
648 return json_encode(Array("ERROR" => "Error: Нет спецсимволов в пароле, латинские буквы заглавные, а также один из символов: !~#$%^&*()-=;,:<>?")); 648 return json_encode(Array("ERROR" => "Error: Нет спецсимволов в пароле, латинские буквы заглавные, а также один из символов: !~#$%^&*()-=;,:<>?"));
649 }*/ 649 }*/
650 650
651 if (($request->has('politik')) && ($request->get('politik') == 1)) { 651 if (($request->has('politik')) && ($request->get('politik') == 1)) {
652 $validator = Validator::make($params, $rules, $messages); 652 $validator = Validator::make($params, $rules, $messages);
653 653
654 if ($validator->fails()) { 654 if ($validator->fails()) {
655 return json_encode(array("ERROR" => "Error1: Регистрация оборвалась ошибкой! Не все обязательные поля заполнены. Либо вы уже были зарегистрированы в системе.")); 655 return json_encode(array("ERROR" => "Error1: Регистрация оборвалась ошибкой! Не все обязательные поля заполнены. Либо вы уже были зарегистрированы в системе."));
656 } else { 656 } else {
657 //dd($params); 657 //dd($params);
658 $user = $this->create($params); 658 $user = $this->create($params);
659 event(new Registered($user)); 659 event(new Registered($user));
660 Auth::guard()->login($user); 660 Auth::guard()->login($user);
661 } 661 }
662 if ($user) { 662 if ($user) {
663 return json_encode(Array("REDIRECT" => redirect()->route('worker.cabinet')->getTargetUrl()));; 663 return json_encode(Array("REDIRECT" => redirect()->route('worker.cabinet')->getTargetUrl()));;
664 } else { 664 } else {
665 return json_encode(Array("ERROR" => "Error2: Данные были утеряны!")); 665 return json_encode(Array("ERROR" => "Error2: Данные были утеряны!"));
666 } 666 }
667 667
668 } else { 668 } else {
669 return json_encode(Array("ERROR" => "Error3: Вы не согласились с политикой конфидициальности!")); 669 return json_encode(Array("ERROR" => "Error3: Вы не согласились с политикой конфидициальности!"));
670 } 670 }
671 } 671 }
672 672
673 // Звездная оценка и ответ 673 // Звездная оценка и ответ
674 public function stars_answer(Request $request) { 674 public function stars_answer(Request $request) {
675 $params = $request->all(); 675 $params = $request->all();
676 $rules = [ 676 $rules = [
677 'message' => ['required', 'string', 'max:255'], 677 'message' => ['required', 'string', 'max:255'],
678 ]; 678 ];
679 679
680 $messages = [ 680 $messages = [
681 'required' => 'Укажите обязательное поле', 681 'required' => 'Укажите обязательное поле',
682 'min' => [ 682 'min' => [
683 'string' => 'Поле «:attribute» должно быть не меньше :min символов', 683 'string' => 'Поле «:attribute» должно быть не меньше :min символов',
684 'integer' => 'Поле «:attribute» должно быть :min или больше', 684 'integer' => 'Поле «:attribute» должно быть :min или больше',
685 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' 685 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт'
686 ], 686 ],
687 'max' => [ 687 'max' => [
688 'string' => 'Поле «:attribute» должно быть не больше :max символов', 688 'string' => 'Поле «:attribute» должно быть не больше :max символов',
689 'integer' => 'Поле «:attribute» должно быть :max или меньше', 689 'integer' => 'Поле «:attribute» должно быть :max или меньше',
690 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' 690 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт'
691 ] 691 ]
692 ]; 692 ];
693 $response_worker = ResponseWork::create($params); 693 $response_worker = ResponseWork::create($params);
694 return redirect()->route('resume_profile', ['worker' => $request->get('worker_id')])->with('success', 'Ваше сообщение было отправлено!'); 694 return redirect()->route('resume_profile', ['worker' => $request->get('worker_id')])->with('success', 'Ваше сообщение было отправлено!');
695 } 695 }
696 696
697 public function TestWorker() 697 public function TestWorker()
698 { 698 {
699 $Use = new User(); 699 $Use = new User();
700 700
701 $Code_user = $Use->create([ 701 $Code_user = $Use->create([
702 'name' => 'surname name_man', 702 'name' => 'surname name_man',
703 'name_man' => 'name_man', 703 'name_man' => 'name_man',
704 'surname' => 'surname', 704 'surname' => 'surname',
705 'surname2' => 'surname2', 705 'surname2' => 'surname2',
706 'subscribe_email' => '1', 706 'subscribe_email' => '1',
707 'email' => 'email@mail.com', 707 'email' => 'email@mail.com',
708 'telephone' => '1234567890', 708 'telephone' => '1234567890',
709 'password' => Hash::make('password'), 709 'password' => Hash::make('password'),
710 'pubpassword' => base64_encode('password'), 710 'pubpassword' => base64_encode('password'),
711 'email_verified_at' => Carbon::now(), 711 'email_verified_at' => Carbon::now(),
712 'is_worker' => 1, 712 'is_worker' => 1,
713 ]); 713 ]);
714 714
715 if ($Code_user->id > 0) { 715 if ($Code_user->id > 0) {
716 $Worker = new Worker(); 716 $Worker = new Worker();
717 $Worker->user_id = $Code_user->id; 717 $Worker->user_id = $Code_user->id;
718 $Worker->position_work = 1; //'job_titles'; 718 $Worker->position_work = 1; //'job_titles';
719 $Worker->email = 'email@email.com'; 719 $Worker->email = 'email@email.com';
720 $Worker->telephone = '1234567890'; 720 $Worker->telephone = '1234567890';
721 $status = $Worker->save(); 721 $status = $Worker->save();
722 722
723 $Title_Worker = new Title_worker(); 723 $Title_Worker = new Title_worker();
724 $Title_Worker->worker_id = $Worker->id; 724 $Title_Worker->worker_id = $Worker->id;
725 $Title_Worker->job_title_id = 1; 725 $Title_Worker->job_title_id = 1;
726 $Title_Worker->save(); 726 $Title_Worker->save();
727 } 727 }
728 } 728 }
729 729
730 // Создание пользователя 730 // Создание пользователя
731 protected function create(array $data) 731 protected function create(array $data)
732 { 732 {
733 $Use = new User(); 733 $Use = new User();
734 734
735 $Code_user = $Use->create([ 735 $Code_user = $Use->create([
736 'name' => $data['surname']." ".$data['name_man'], 736 'name' => $data['surname']." ".$data['name_man'],
737 'name_man' => $data['name_man'], 737 'name_man' => $data['name_man'],
738 'surname' => $data['surname'], 738 'surname' => $data['surname'],
739 'surname2' => $data['surname2'], 739 'surname2' => $data['surname2'],
740 'subscribe_email' => $data['email'], 740 'subscribe_email' => $data['email'],
741 'email' => $data['email'], 741 'email' => $data['email'],
742 'telephone' => $data['telephone'], 742 'telephone' => $data['telephone'],
743 'password' => Hash::make($data['password']), 743 'password' => Hash::make($data['password']),
744 'pubpassword' => base64_encode($data['password']), 744 'pubpassword' => base64_encode($data['password']),
745 'email_verified_at' => Carbon::now(), 745 'email_verified_at' => Carbon::now(),
746 'is_worker' => $data['is_worker'], 746 'is_worker' => $data['is_worker'],
747 ]); 747 ]);
748 748
749 if ($Code_user->id > 0) { 749 if ($Code_user->id > 0) {
750 $Worker = new Worker(); 750 $Worker = new Worker();
751 $Worker->user_id = $Code_user->id; 751 $Worker->user_id = $Code_user->id;
752 $Worker->position_work = $data['job_titles']; 752 $Worker->position_work = $data['job_titles'];
753 $Worker->email = $data['email']; 753 $Worker->email = $data['email'];
754 $Worker->telephone = $data['telephone']; 754 $Worker->telephone = $data['telephone'];
755 $Worker->save(); 755 $Worker->save();
756 756
757 if (isset($Worker->id)) { 757 if (isset($Worker->id)) {
758 $Title_Worker = new Title_worker(); 758 $Title_Worker = new Title_worker();
759 $Title_Worker->worker_id = $Worker->id; 759 $Title_Worker->worker_id = $Worker->id;
760 $Title_Worker->job_title_id = $data['job_titles']; 760 $Title_Worker->job_title_id = $data['job_titles'];
761 $Title_Worker->save(); 761 $Title_Worker->save();
762 } 762 }
763 763
764 return $Code_user; 764 return $Code_user;
765 } 765 }
766 } 766 }
767 767
768 // Вакансии избранные 768 // Вакансии избранные
769 public function colorado(Request $request) { 769 public function colorado(Request $request) {
770 $IP_address = RusDate::ip_addr_client(); 770 $IP_address = RusDate::ip_addr_client();
771 $Arr = Like_vacancy::Query()->select('code_record')->where('ip_address', '=', $IP_address)->get(); 771 $Arr = Like_vacancy::Query()->select('code_record')->where('ip_address', '=', $IP_address)->get();
772 772
773 if ($Arr->count()) { 773 if ($Arr->count()) {
774 $A = Array(); 774 $A = Array();
775 foreach ($Arr as $it) { 775 foreach ($Arr as $it) {
776 $A[] = $it->code_record; 776 $A[] = $it->code_record;
777 } 777 }
778 778
779 $Query = Ad_employer::query()->whereIn('id', $A); 779 $Query = Ad_employer::query()->whereIn('id', $A);
780 } else { 780 } else {
781 $Query = Ad_employer::query()->where('id', '=', '0'); 781 $Query = Ad_employer::query()->where('id', '=', '0');
782 } 782 }
783 783
784 $Query = $Query->with('jobs')-> 784 $Query = $Query->with('jobs')->
785 with('cat')-> 785 with('cat')->
786 with('employer')-> 786 with('employer')->
787 whereHas('jobs_code', function ($query) use ($request) { 787 whereHas('jobs_code', function ($query) use ($request) {
788 if ($request->ajax()) { 788 if ($request->ajax()) {
789 if (null !== ($request->get('job'))) { 789 if (null !== ($request->get('job'))) {
790 $query->where('job_title_id', $request->get('job')); 790 $query->where('job_title_id', $request->get('job'));
791 } 791 }
792 } 792 }
793 })->select('ad_employers.*'); 793 })->select('ad_employers.*');
794 794
795 $Job_title = Job_title::query()->OrderBy('name')->get(); 795 $Job_title = Job_title::query()->OrderBy('name')->get();
796 796
797 $Query_count = $Query->count(); 797 $Query_count = $Query->count();
798 798
799 $Query = $Query->OrderBy('updated_at')->paginate(3); 799 $Query = $Query->OrderBy('updated_at')->paginate(3);
800 800
801 801
802 return view('workers.favorite', compact('Query', 802 return view('workers.favorite', compact('Query',
803 'Query_count', 803 'Query_count',
804 'Job_title')); 804 'Job_title'));
805 805
806 } 806 }
807 807
808 //Переписка 808 //Переписка
809 public function dialog(Chat $chat, Request $request) { 809 public function dialog(Chat $chat, Request $request) {
810 // Получение параметров. 810 // Получение параметров.
811 if ($request->has('ad_employer')){ 811 if ($request->has('ad_employer')){
812 $ad_employer = $request->get('ad_employer'); 812 $ad_employer = $request->get('ad_employer');
813 } else { 813 } else {
814 $ad_employer = 0; 814 $ad_employer = 0;
815 } 815 }
816 816
817 $sender = User_Model::query()->with('workers')->with('employers')->where('id', $chat->user_id)->first(); 817 $sender = User_Model::query()->with('workers')->with('employers')->where('id', $chat->user_id)->first();
818 $companion = User_Model::query()->with('workers')->with('employers')->where('id', $chat->to_user_id)->first(); 818 $companion = User_Model::query()->with('workers')->with('employers')->where('id', $chat->to_user_id)->first();
819 819
820 $Messages = Chat::get_chat_messages($chat); 820 $Messages = Chat::get_chat_messages($chat);
821 821
822 Message::where('chat_id_to', '=', $chat->id)->update(['flag_new' => 0]); 822 Message::where('chat_id_to', '=', $chat->id)->update(['flag_new' => 0]);
823 823
824 return view('workers.dialog', compact('companion', 'sender', 'chat', 'Messages', 'ad_employer')); 824 return view('workers.dialog', compact('companion', 'sender', 'chat', 'Messages', 'ad_employer'));
825 } 825 }
826 826
827 // Даунылоады 827 // Даунылоады
828 public function download(Worker $worker) { 828 public function download(Worker $worker) {
829 $arr_house = ['0' => 'Проверка, проверка, проверка, проверка, проверка...']; 829 $arr_house = ['0' => 'Проверка, проверка, проверка, проверка, проверка...'];
830 view()->share('house',$arr_house); 830 view()->share('house',$arr_house);
831 $pdf = PDF::loadView('layout.pdf', $arr_house)->setPaper('a4', 'landscape'); 831 $pdf = PDF::loadView('layout.pdf', $arr_house)->setPaper('a4', 'landscape');
832 return $pdf->stream(); 832 return $pdf->stream();
833 } 833 }
834 834
835 // Поднятие анкеты 835 // Поднятие анкеты
836 public function up(Worker $worker) { 836 public function up(Worker $worker) {
837 $worker->updated_at = Carbon::now(); 837 $worker->updated_at = Carbon::now();
838 $worker->save(); 838 $worker->save();
839 // 0 839 // 0
840 return redirect()->route('worker.cabinet')->with('success', 'Ваша анкета была поднята выше остальных'); 840 return redirect()->route('worker.cabinet')->with('success', 'Ваша анкета была поднята выше остальных');
841 } 841 }
842 842
843 // Форма сертификате 843 // Форма сертификате
844 public function new_sertificate(Worker $worker) { 844 public function new_sertificate(Worker $worker) {
845 return view('workers.sertificate_add', compact('worker')); 845 return view('workers.sertificate_add', compact('worker'));
846 } 846 }
847 847
848 // Добавление сертификата 848 // Добавление сертификата
849 public function add_serificate(SertificationRequest $request) { 849 public function add_serificate(SertificationRequest $request) {
850 $request->validate([ 850 $request->validate([
851 'name' => 'required|string|max:255', 851 'name' => 'required|string|max:255',
852 'end_begin' => 'required|date|date_format:d.m.Y' 852 'end_begin' => 'required|date|date_format:d.m.Y'
853 ], 853 ],
854 [ 854 [
855 'name' => 'Навание сертификата обязательно для заполнения.', 855 'name' => 'Навание сертификата обязательно для заполнения.',
856 'end_begin' => 'Формат даты должен соответствовать дд.мм.гггг' 856 'end_begin' => 'Формат даты должен соответствовать дд.мм.гггг'
857 ]); 857 ]);
858 858
859 $params = $request->all(); 859 $params = $request->all();
860 860
861 $end_begin = DateTime::createFromFormat('d.m.Y', $params['end_begin']); 861 $end_begin = DateTime::createFromFormat('d.m.Y', $params['end_begin']);
862 $params['end_begin'] = $end_begin->format('Y-m-d'); 862 $params['end_begin'] = $end_begin->format('Y-m-d');
863 863
864 $Sertificate = new sertification(); 864 $Sertificate = new sertification();
865 $Sertificate->create($params); 865 $Sertificate->create($params);
866 866
867 return response()->json([ 867 return response()->json([
868 'success' => true 868 'success' => true
869 ]); 869 ]);
870 } 870 }
871 871
872 // Удалить сертификат 872 // Удалить сертификат
873 public function delete_sertificate(sertification $doc) { 873 public function delete_sertificate(sertification $doc) {
874 $doc->delete(); 874 $doc->delete();
875 875
876 return redirect()->route('worker.cabinet'); 876 return redirect()->route('worker.cabinet');
877 } 877 }
878 878
879 // Редактирование сертификата 879 // Редактирование сертификата
880 public function edit_sertificate(Worker $worker, sertification $doc) { 880 public function edit_sertificate(Worker $worker, sertification $doc) {
881 return view('workers.sertificate_edit', compact('doc', 'worker')); 881 return view('workers.sertificate_edit', compact('doc', 'worker'));
882 } 882 }
883 883
884 // Редактирование обновление сертификата 884 // Редактирование обновление сертификата
885 public function update_serificate(SertificationRequest $request, sertification $doc) { 885 public function update_serificate(SertificationRequest $request, sertification $doc) {
886 $request->validate([ 886 $request->validate([
887 'name' => 'required|string|max:255', 887 'name' => 'required|string|max:255',
888 'end_begin' => 'required|date|date_format:d.m.Y' 888 'end_begin' => 'required|date|date_format:d.m.Y'
889 ], 889 ],
890 [ 890 [
891 'name' => 'Навание сертификата обязательно для заполнения.', 891 'name' => 'Навание сертификата обязательно для заполнения.',
892 'end_begin' => 'Формат даты должен соответствовать дд.мм.гггг' 892 'end_begin' => 'Формат даты должен соответствовать дд.мм.гггг'
893 ]); 893 ]);
894 894
895 $all = $request->all(); 895 $all = $request->all();
896 896
897 $end_begin = DateTime::createFromFormat('d.m.Y', $all['end_begin']); 897 $end_begin = DateTime::createFromFormat('d.m.Y', $all['end_begin']);
898 $all['end_begin'] = $end_begin->format('Y-m-d'); 898 $all['end_begin'] = $end_begin->format('Y-m-d');
899 899
900 $doc->worker_id = $all['worker_id']; 900 $doc->worker_id = $all['worker_id'];
901 $doc->name = $all['name']; 901 $doc->name = $all['name'];
902 $doc->end_begin = $all['end_begin']; 902 $doc->end_begin = $all['end_begin'];
903 $doc->save(); 903 $doc->save();
904 904
905 return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись!'); 905 return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись!');
906 } 906 }
907 907
908 public function edit_diploms(Request $request, Worker $worker) { 908 public function edit_diploms(Request $request, Worker $worker) {
909 $dop_info_data = $request->input('diploms'); 909 $dop_info_data = $request->input('diploms');
910 910
911 if (empty($dop_info_data)) { 911 if (empty($dop_info_data)) {
912 return redirect()->route('worker.additional_documents')->with('error', 'Данные не предоставлены!'); 912 return redirect()->route('worker.additional_documents')->with('error', 'Данные не предоставлены!');
913 } 913 }
914 914
915 foreach ($dop_info_data as $infoblok_id => $status) { 915 foreach ($dop_info_data as $infoblok_id => $status) {
916 Dop_info::updateOrCreate( 916 Dop_info::updateOrCreate(
917 ['worker_id' => $worker->id, 'infoblok_id' => $infoblok_id], 917 ['worker_id' => $worker->id, 'infoblok_id' => $infoblok_id],
918 ['status' => $status] 918 ['status' => $status]
919 ); 919 );
920 } 920 }
921 921
922 return redirect()->route('worker.additional_documents')->with('success', 'Успешно сохранено!'); 922 return redirect()->route('worker.additional_documents')->with('success', 'Успешно сохранено!');
923 } 923 }
924 924
925 public function delete_add_diplom(Request $request, Worker $worker) { 925 public function delete_add_diplom(Request $request, Worker $worker) {
926 $infoblok_id = $request->get('infoblok_id'); 926 $infoblok_id = $request->get('infoblok_id');
927 927
928 if (Dop_info::query()->where('worker_id', $worker->id)->where('infoblok_id', $infoblok_id)->count() > 0) 928 if (Dop_info::query()->where('worker_id', $worker->id)->where('infoblok_id', $infoblok_id)->count() > 0)
929 $id = Dop_info::query()->where('worker_id', $worker->id)->where('infoblok_id', $infoblok_id)->delete(); 929 $id = Dop_info::query()->where('worker_id', $worker->id)->where('infoblok_id', $infoblok_id)->delete();
930 else { 930 else {
931 $params['infoblok_id'] = $infoblok_id; 931 $params['infoblok_id'] = $infoblok_id;
932 $params['worker_id'] = $worker->id; 932 $params['worker_id'] = $worker->id;
933 $params['status'] = $request->get('val'); 933 $params['status'] = $request->get('val');
934 $id = Dop_info::create($params); 934 $id = Dop_info::create($params);
935 //$id = $worker->infobloks()->sync([$infoblok_id]); 935 //$id = $worker->infobloks()->sync([$infoblok_id]);
936 } 936 }
937 937
938 //$Infoblocks = infobloks::query()->get(); 938 //$Infoblocks = infobloks::query()->get();
939 return $id; //redirect()->route('worker.cabinet')->getTargetUrl(); //view('workers.ajax.diploms_dop', compact('worker', 'Infoblocks')); 939 return $id; //redirect()->route('worker.cabinet')->getTargetUrl(); //view('workers.ajax.diploms_dop', compact('worker', 'Infoblocks'));
940 } 940 }
941 941
942 942
943 943
944 // Добавление диплома 944 // Добавление диплома
945 public function add_diplom_ajax(Request $request) { 945 public function add_diplom_ajax(Request $request) {
946 // конец 946 // конец
947 $params = $request->all(); 947 $params = $request->all();
948 $count = Dop_info::query()->where('worker_id', $request->get('worker_id'))->where('infoblok_id', $request->get('infoblok_id'))->count(); 948 $count = Dop_info::query()->where('worker_id', $request->get('worker_id'))->where('infoblok_id', $request->get('infoblok_id'))->count();
949 949
950 if ($count == 0) $dop_info = Dop_info::create($params); 950 if ($count == 0) $dop_info = Dop_info::create($params);
951 $Infoblocks = infobloks::query()->get(); 951 $Infoblocks = infobloks::query()->get();
952 $Worker = Worker::query()->where('id', $request->get('worker_id'))->get(); 952 $Worker = Worker::query()->where('id', $request->get('worker_id'))->get();
953 $data = Dop_info::query()->where('worker_id', $request->has('worker_id')); 953 $data = Dop_info::query()->where('worker_id', $request->has('worker_id'));
954 return view('ajax.dop_info', compact('data', 'Infoblocks', 'Worker')); 954 return view('ajax.dop_info', compact('data', 'Infoblocks', 'Worker'));
955 } 955 }
956 956
957 // Добавление диплома без ajax 957 // Добавление диплома без ajax
958 public function add_diplom(Worker $worker) { 958 public function add_diplom(Worker $worker) {
959 $worker_id = $worker->id; 959 $worker_id = $worker->id;
960 $Infoblocks = infobloks::query()->get(); 960 $Infoblocks = infobloks::query()->get();
961 return view('workers.dop_info', compact('worker_id', 'worker', 'Infoblocks')); 961 return view('workers.dop_info', compact('worker_id', 'worker', 'Infoblocks'));
962 } 962 }
963 // Сохранить 963 // Сохранить
964 // Сохраняю диплом 964 // Сохраняю диплом
965 public function add_diplom_save(Request $request) { 965 public function add_diplom_save(Request $request) {
966 $params = $request->all(); 966 $params = $request->all();
967 $count = Dop_info::query()->where('worker_id', $request->get('worker_id'))->where('infoblok_id', $request->get('infoblok_id'))->count(); 967 $count = Dop_info::query()->where('worker_id', $request->get('worker_id'))->where('infoblok_id', $request->get('infoblok_id'))->count();
968 if ($count == 0) $dop_info = Dop_info::create($params); 968 if ($count == 0) $dop_info = Dop_info::create($params);
969 return redirect()->route('worker.cabinet'); 969 return redirect()->route('worker.cabinet');
970 } 970 }
971 971
972 // Добавление стандартного документа 972 // Добавление стандартного документа
973 public function add_document(Worker $worker) { 973 public function add_document(Worker $worker) {
974 return view('workers.docs', compact('worker')); 974 return view('workers.docs', compact('worker'));
975 } 975 }
976 976
977 //Сохранение стандартого документа 977 //Сохранение стандартого документа
978 public function add_document_save(DocumentsRequest $request) { 978 public function add_document_save(DocumentsRequest $request) {
979 $params = $request->all(); 979 $params = $request->all();
980 place_works::create($params); 980 place_works::create($params);
981 return response()->json(['success' => true]); 981 return response()->json(['success' => true]);
982 } 982 }
983 983
984 // Редактирование документа 984 // Редактирование документа
985 public function edit_document(place_works $doc, Worker $worker) { 985 public function edit_document(place_works $doc, Worker $worker) {
986 return view('workers.docs-edit', compact('doc', 'worker')); 986 return view('workers.docs-edit', compact('doc', 'worker'));
987 } 987 }
988 988
989 //Сохранение отредактированного документа 989 //Сохранение отредактированного документа
990 public function edit_document_save(DocumentsRequest $request, place_works $doc) { 990 public function edit_document_save(DocumentsRequest $request, place_works $doc) {
991 $params = $request->all(); 991 $params = $request->all();
992 $doc->update($params); 992 $doc->update($params);
993 993
994 return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись!'); 994 return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись!');
995 } 995 }
996 996
997 // Удаление документа 997 // Удаление документа
998 public function delete_document(place_works $doc) { 998 public function delete_document(place_works $doc) {
999 $doc->delete(); 999 $doc->delete();
1000 return redirect()->route('worker.cabinet')->with('success', 'Вы успешно удалили запись!'); 1000 return redirect()->route('worker.cabinet')->with('success', 'Вы успешно удалили запись!');
1001 } 1001 }
1002 1002
1003 //Отправка нового сообщения 1003 //Отправка нового сообщения
1004 public function new_message(Request $request) { 1004 public function new_message(Request $request) {
1005 $params = $request->all(); 1005 $params = $request->all();
1006 1006
1007 $id = $params['send_user_id']; 1007 $id = $params['send_user_id'];
1008 $message_params = [ 1008 $message_params = [
1009 'title' => $params['send_title'], 1009 'title' => $params['send_title'],
1010 'text' => $params['send_text'], 1010 'text' => $params['send_text'],
1011 'ad_employer_id' => $params['send_vacancy'], 1011 'ad_employer_id' => $params['send_vacancy'],
1012 'flag_new' => 1 1012 'flag_new' => 1
1013 ]; 1013 ];
1014 1014
1015 $id_message = Message::add_message( 1015 $id_message = Message::add_message(
1016 $request, 1016 $request,
1017 $params['send_user_id'], 1017 $params['send_user_id'],
1018 $params['send_to_user_id'], 1018 $params['send_to_user_id'],
1019 $message_params, 1019 $message_params,
1020 file_store_path: "worker/$id" 1020 file_store_path: "worker/$id"
1021 ); 1021 );
1022 1022
1023 $data['message_id'] = $id_message; 1023 $data['message_id'] = $id_message;
1024 $data['ad_employer_id'] = $params['send_vacancy']; 1024 $data['ad_employer_id'] = $params['send_vacancy'];
1025 $data['job_title_id'] = $params['send_job_title_id']; 1025 $data['job_title_id'] = $params['send_job_title_id'];
1026 $data['flag'] = 1; 1026 $data['flag'] = 1;
1027 $ad_responce = ad_response::create($data); 1027 $ad_responce = ad_response::create($data);
1028 return redirect()->route('worker.messages', ['type_message' => 'output']); 1028 return redirect()->route('worker.messages', ['type_message' => 'output']);
1029 } 1029 }
1030 1030
1031 1031
1032 public function test123(Request $request) { 1032 public function test123(Request $request) {
1033 $params = $request->all(); 1033 $params = $request->all();
1034 $user1 = $params['user_id']; 1034 $user1 = $params['user_id'];
1035 $user2 = $params['to_user_id']; 1035 $user2 = $params['to_user_id'];
1036 $id_vacancy = $params['ad_employer_id'];
1037 $ad_name = $params['ad_name'];
1038 1036
1039 $rules = [ 1037 $rules = [
1040 'text' => 'required|min:1|max:150000', 1038 'text' => 'nullable|required_without:file|min:1|max:150000',
1041 'file' => 'file|mimes:doc,docx,xlsx,csv,txt,xlx,xls,pdf|max:150000' 1039 'file' => 'nullable|file|mimes:doc,docx,xlsx,csv,txt,xlx,xls,pdf|max:150000'
1042 ]; 1040 ];
1043 $messages = [ 1041 $messages = [
1044 'required' => 'Укажите обязательное поле', 1042 'required_without' => 'Поле «:attribute» обязательно, если файл не прикреплен',
1045 'min' => [ 1043 'min' => [
1046 'string' => 'Поле «:attribute» должно быть не меньше :min символов', 1044 'string' => 'Поле «:attribute» должно быть не меньше :min символов',
1047 'integer' => 'Поле «:attribute» должно быть :min или больше', 1045 'integer' => 'Поле «:attribute» должно быть :min или больше',
1048 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' 1046 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт'
1049 ], 1047 ],
1050 'max' => [ 1048 'max' => [
1051 'string' => 'Поле «:attribute» должно быть не больше :max символов', 1049 'string' => 'Поле «:attribute» должно быть не больше :max символов',
1052 'integer' => 'Поле «:attribute» должно быть :max или меньше', 1050 'integer' => 'Поле «:attribute» должно быть :max или меньше',
1053 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' 1051 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт'
1054 ] 1052 ]
1055 ]; 1053 ];
1056 1054
1057 $validator = Validator::make($request->all(), $rules, $messages); 1055 $validator = Validator::make($request->all(), $rules, $messages);
1058 1056
1059 if ($validator->fails()) { 1057 if ($validator->fails()) {
1060 return redirect()->route('worker.dialog', ['user1' => $user1, 'user2' => $user2, 'ad_employer' => $id_vacancy, 'ad_name' => $ad_name]) 1058 $chat = Chat::where('user_id', $user1)
1061 ->withErrors($validator); 1059 ->where('to_user_id', $user2)
1060 ->where('is_removed', 0)
1061 ->first()
1062 ;
1063
1064 if ($chat->id){
1065 return redirect()->route('worker.dialog', ['chat' => $chat->id])->withErrors($validator);
1066 } else {
1067 return redirect()->route('cabinet.messages', ['type_message' => 'input'])->withErrors($validator);
1068 }
1062 } else { 1069 } else {
1063 $new_message = Message::add_message($request, $user1, $user2, $request->all(), file_store_path: 'messages'); 1070 $new_message = Message::add_message($request, $user1, $user2, $request->all(), file_store_path: 'messages');
1064 1071
1065 return redirect()->route('worker.dialog', ['chat' => $new_message->chat_id_from]); 1072 return redirect()->route('worker.dialog', ['chat' => $new_message->chat_id_from]);
1066 1073
1067 } 1074 }
1068 } 1075 }
1069 1076
1070 // Информация о предыдущих компаниях 1077 // Информация о предыдущих компаниях
1071 public function new_prev_company(Worker $worker) { 1078 public function new_prev_company(Worker $worker) {
1072 return view('workers.prev_company_form', compact('worker')); 1079 return view('workers.prev_company_form', compact('worker'));
1073 } 1080 }
1074 1081
1075 // Добавление контакта компании 1082 // Добавление контакта компании
1076 public function add_prev_company(PrevCompanyRequest $request) { 1083 public function add_prev_company(PrevCompanyRequest $request) {
1077 // Возвращение параметров 1084 // Возвращение параметров
1078 $all = $request->all(); 1085 $all = $request->all();
1079 PrevCompany::create($all); 1086 PrevCompany::create($all);
1080 1087
1081 return response()->json(['success' => true]); 1088 return response()->json(['success' => true]);
1082 } 1089 }
1083 1090
1084 // Редактирование контакта компании 1091 // Редактирование контакта компании
1085 public function edit_prev_company(PrevCompany $doc, Worker $worker) { 1092 public function edit_prev_company(PrevCompany $doc, Worker $worker) {
1086 return view('workers.prev_company_edit_form', compact('doc', 'worker')); 1093 return view('workers.prev_company_edit_form', compact('doc', 'worker'));
1087 } 1094 }
1088 1095
1089 //Сохранение редактирования контакта компании 1096 //Сохранение редактирования контакта компании
1090 public function update_prev_company(PrevCompany $doc, Request $request){ 1097 public function update_prev_company(PrevCompany $doc, Request $request){
1091 $all = $request->all(); 1098 $all = $request->all();
1092 $doc->update($all); 1099 $doc->update($all);
1093 1100
1094 return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись'); 1101 return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись');
1095 } 1102 }
1096 1103
1097 // Удаление контакта предыдущей компании 1104 // Удаление контакта предыдущей компании
1098 public function delete_prev_company(PrevCompany $doc) { 1105 public function delete_prev_company(PrevCompany $doc) {
1099 $doc->delete(); 1106 $doc->delete();
1100 return redirect()->route('worker.cabinet')->with('success', 'Вы успешно удалили запись!'); 1107 return redirect()->route('worker.cabinet')->with('success', 'Вы успешно удалили запись!');
1101 } 1108 }
1102 } 1109 }
app/Models/Message.php
1 <?php 1 <?php
2 2
3 namespace App\Models; 3 namespace App\Models;
4 4
5 use Illuminate\Database\Eloquent\Factories\HasFactory; 5 use Illuminate\Database\Eloquent\Factories\HasFactory;
6 use Illuminate\Database\Eloquent\Model; 6 use Illuminate\Database\Eloquent\Model;
7 use Illuminate\Http\Request; 7 use Illuminate\Http\Request;
8 use Illuminate\Support\Facades\Validator; 8 use Illuminate\Support\Facades\Validator;
9 use mysql_xdevapi\Collection; 9 use mysql_xdevapi\Collection;
10 10
11 class Message extends Model 11 class Message extends Model
12 { 12 {
13 use HasFactory; 13 use HasFactory;
14 14
15 protected $fillable = [ 15 protected $fillable = [
16 'user_id', 16 'user_id',
17 'to_user_id', 17 'to_user_id',
18 'title', 18 'title',
19 'text', 19 'text',
20 'file', 20 'file',
21 'flag_new', 21 'flag_new',
22 'ad_employer_id', 22 'ad_employer_id',
23 'job_title_id', 23 'job_title_id',
24 'chat_id_from', 24 'chat_id_from',
25 'chat_id_to', 25 'chat_id_to',
26 'reply_message_id', 26 'reply_message_id',
27 'original_file_name',
27 ]; 28 ];
28 29
29 30
30 /* 31 /*
31 * Связь таблицы Message с таблицей User (Отправитель) 32 * Связь таблицы Message с таблицей User (Отправитель)
32 */ 33 */
33 public function user_from() { 34 public function user_from() {
34 return $this->belongsTo(User::class, 'user_id'); 35 return $this->belongsTo(User::class, 'user_id');
35 } 36 }
36 37
37 /* 38 /*
38 * Связь таблицы Message с таблицей User (Получатель) 39 * Связь таблицы Message с таблицей User (Получатель)
39 */ 40 */
40 public function user_to() { 41 public function user_to() {
41 return $this->belongsTo(User::class, 'to_user_id'); 42 return $this->belongsTo(User::class, 'to_user_id');
42 } 43 }
43 44
44 // Связь модели Сообщения (Message) с моделью Вакансии (Ad_employer) 45 // Связь модели Сообщения (Message) с моделью Вакансии (Ad_employer)
45 public function vacancies() { 46 public function vacancies() {
46 return $this->belongsTo(Ad_employer::class, 'ad_employer_id', 'id'); 47 return $this->belongsTo(Ad_employer::class, 'ad_employer_id', 'id');
47 } 48 }
48 49
49 public static function add_message( 50 public static function add_message(
50 ?Request $request, 51 ?Request $request,
51 int $user_id, 52 int $user_id,
52 int $to_user_id, 53 int $to_user_id,
53 array $message_params, 54 array $message_params,
54 string $file_store_path = '/', 55 string $file_store_path = '/',
55 bool $is_admin_chat = false 56 bool $is_admin_chat = false
56 ) { 57 ) {
57 $message_params['user_id'] = $user_id; 58 $message_params['user_id'] = $user_id;
58 $message_params['to_user_id'] = $to_user_id; 59 $message_params['to_user_id'] = $to_user_id;
59 if ($request && $request->has('file')) { 60 if ($request && $request->has('file')) {
60 $message_params['file'] = $request->file('file')->store($file_store_path, 'public'); 61 $file = $request->file('file');
62 $message_params['file'] = $file->store($file_store_path, 'public');
63 $message_params['original_file_name'] = $file->getClientOriginalName();
61 } 64 }
62 65
63 $chat_form = Chat::firstOrCreate([ 66 $chat_form = Chat::firstOrCreate([
64 'user_id' => $is_admin_chat ? 0 : $user_id, 67 'user_id' => $is_admin_chat ? 0 : $user_id,
65 'to_user_id' => $to_user_id, 68 'to_user_id' => $to_user_id,
66 'is_removed' => 0, 69 'is_removed' => 0,
67 'is_admin_chat' => $is_admin_chat ? 1 : 0, 70 'is_admin_chat' => $is_admin_chat ? 1 : 0,
68 ]); 71 ]);
69 $message_params[$is_admin_chat ? 'chat_id_to' : 'chat_id_from'] = $chat_form->id; 72 $message_params[$is_admin_chat ? 'chat_id_to' : 'chat_id_from'] = $chat_form->id;
70 73
71 if (!$is_admin_chat) { 74 if (!$is_admin_chat) {
72 $chat_to = Chat::firstOrCreate([ 75 $chat_to = Chat::firstOrCreate([
73 'user_id' => $to_user_id, 76 'user_id' => $to_user_id,
74 'to_user_id' => $user_id, 77 'to_user_id' => $user_id,
75 'is_removed' => 0 78 'is_removed' => 0
76 ]); 79 ]);
77 $message_params['chat_id_to'] = $chat_to->id; 80 $message_params['chat_id_to'] = $chat_to->id;
78 } 81 }
79 82
80 $new_message = Message::create($message_params); 83 $new_message = Message::create($message_params);
81 84
82 if (!empty($new_message->id)) { 85 if (!empty($new_message->id)) {
83 $chat_form->update(['last_message_date' => date("Y-m-d H:i:s"), 'last_message_id' => $new_message->id]); 86 $chat_form->update(['last_message_date' => date("Y-m-d H:i:s"), 'last_message_id' => $new_message->id]);
84 87
85 if (!$is_admin_chat) { 88 if (!$is_admin_chat) {
86 $chat_to->update(['last_message_date' => date("Y-m-d H:i:s"), 'last_message_id' => $new_message->id]); 89 $chat_to->update(['last_message_date' => date("Y-m-d H:i:s"), 'last_message_id' => $new_message->id]);
87 } 90 }
88 } 91 }
89 92
90 return $new_message ?? false; 93 return $new_message ?? false;
91 } 94 }
92 95
93 public function getReplyMessageAttribute() 96 public function getReplyMessageAttribute()
94 { 97 {
95 $reply_message = false; 98 $reply_message = false;
96 if ($this->attributes['reply_message_id']){ 99 if ($this->attributes['reply_message_id']){
97 $reply_message = self::find($this->attributes['reply_message_id']); 100 $reply_message = self::find($this->attributes['reply_message_id']);
98 } 101 }
99 102
100 return $reply_message; 103 return $reply_message;
101 } 104 }
102 105
103 } 106 }
104 107
database/migrations/2024_08_16_172341_alter_table_messages.php
File was created 1 <?php
2
3 use Illuminate\Database\Migrations\Migration;
4 use Illuminate\Database\Schema\Blueprint;
5 use Illuminate\Support\Facades\Schema;
6
7 return new class extends Migration
8 {
9 /**
10 * Run the migrations.
11 *
12 * @return void
13 */
14 public function up()
15 {
16 Schema::table('messages', function (Blueprint $table) {
17 $table->string('original_file_name', 255)->nullable(true)->after('file');
18 });
19 }
20
21 /**
22 * Reverse the migrations.
23 *
24 * @return void
25 */
26 public function down()
27 {
28 Schema::table('messages', function (Blueprint $table) {
29 $table->dropColumn('original_file_name');
30 });
31 }
32 };
33
public/css/general.css
1 /* Диалог модал */ 1 /* Диалог модал */
2 .modal-dialog{ 2 .modal-dialog{
3 border-radius: 10px; 3 border-radius: 10px;
4 } 4 }
5 .modal-dialog .modal-dialog-footer{ 5 .modal-dialog .modal-dialog-footer{
6 display: flex; 6 display: flex;
7 justify-content: space-between; 7 justify-content: space-between;
8 } 8 }
9 .modal-dialog .modal-dialog-footer.center{ 9 .modal-dialog .modal-dialog-footer.center{
10 display: flex; 10 display: flex;
11 justify-content: center; 11 justify-content: center;
12 } 12 }
13 .modal-dialog .modal-dialog-title h2{ 13 .modal-dialog .modal-dialog-title h2{
14 font-weight: bold; 14 font-weight: bold;
15 font-size: 24px; 15 font-size: 24px;
16 text-align: center; 16 text-align: center;
17 } 17 }
18 .modal-dialog .modal-dialog-body{ 18 .modal-dialog .modal-dialog-body{
19 padding-top: 20px; 19 padding-top: 20px;
20 padding-bottom: 20px; 20 padding-bottom: 20px;
21 } 21 }
22 .modal-dialog .modal-dialog-footer .button-admin{ 22 .modal-dialog .modal-dialog-footer .button-admin{
23 padding: 5px 10px; 23 padding: 5px 10px;
24 border: 1px #000 solid; 24 border: 1px #000 solid;
25 border-radius: 8px; 25 border-radius: 8px;
26 } 26 }
27 /* Конец Диалог модал */ 27 /* Конец Диалог модал */
28 28
29 .button-loader { 29 .button-loader {
30 display: inline-block;
30 border: 2px solid #f3f3f3; 31 border: 2px solid #f3f3f3;
31 -webkit-animation: spin 1s linear infinite; 32 -webkit-animation: spin 1s linear infinite;
32 animation: spin 1s linear infinite; 33 animation: spin 1s linear infinite;
33 border-top: 2px solid #555; 34 border-top: 2px solid #555;
34 border-radius: 50%; 35 border-radius: 50%;
35 width: 20px; 36 width: 20px;
36 height: 20px; 37 height: 20px;
37 margin-right: 10px; 38 margin-right: 10px;
38 } 39 }
39 @keyframes spin { 40 @keyframes spin {
40 0% { transform: rotate(0deg); } 41 0% { transform: rotate(0deg); }
41 100% { transform: rotate(360deg); } 42 100% { transform: rotate(360deg); }
42 } 43 }
43 .error-block{ 44 .error-block{
44 color:red; 45 color:red;
45 padding: 0; 46 padding: 0;
46 width: 100%; 47 width: 100%;
47 } 48 }
48 49
49 .review-image-modal{ 50 .review-image-modal{
50 cursor: pointer; 51 cursor: pointer;
51 } 52 }
52 53
public/css/style_may2024.css
1 /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ 1 /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
2 /* Document 2 /* Document
3 ========================================================================== */ 3 ========================================================================== */
4 /** 4 /**
5 * 1. Correct the line height in all browsers. 5 * 1. Correct the line height in all browsers.
6 * 2. Prevent adjustments of font size after orientation changes in iOS. 6 * 2. Prevent adjustments of font size after orientation changes in iOS.
7 */ 7 */
8 @import url(fonts.css); 8 @import url(fonts.css);
9 @import url(jquery.fancybox.css); 9 @import url(jquery.fancybox.css);
10 @import url(jquery.select2.css); 10 @import url(jquery.select2.css);
11 @import url(star-rating.min.css); 11 @import url(star-rating.min.css);
12 @import url(swiper.css); 12 @import url(swiper.css);
13 @import url(general.css); 13 @import url(general.css);
14 html { 14 html {
15 line-height: 1.15; /* 1 */ 15 line-height: 1.15; /* 1 */
16 -webkit-text-size-adjust: 100%; /* 2 */ 16 -webkit-text-size-adjust: 100%; /* 2 */
17 } 17 }
18 18
19 /* Sections 19 /* Sections
20 ========================================================================== */ 20 ========================================================================== */
21 /** 21 /**
22 * Remove the margin in all browsers. 22 * Remove the margin in all browsers.
23 */ 23 */
24 body { 24 body {
25 margin: 0; 25 margin: 0;
26 } 26 }
27 27
28 /** 28 /**
29 * Render the `main` element consistently in IE. 29 * Render the `main` element consistently in IE.
30 */ 30 */
31 main { 31 main {
32 display: block; 32 display: block;
33 } 33 }
34 34
35 /** 35 /**
36 * Correct the font size and margin on `h1` elements within `section` and 36 * Correct the font size and margin on `h1` elements within `section` and
37 * `article` contexts in Chrome, Firefox, and Safari. 37 * `article` contexts in Chrome, Firefox, and Safari.
38 */ 38 */
39 h1 { 39 h1 {
40 font-size: 2em; 40 font-size: 2em;
41 margin: 0.67em 0; 41 margin: 0.67em 0;
42 } 42 }
43 43
44 /* Grouping content 44 /* Grouping content
45 ========================================================================== */ 45 ========================================================================== */
46 /** 46 /**
47 * 1. Add the correct box sizing in Firefox. 47 * 1. Add the correct box sizing in Firefox.
48 * 2. Show the overflow in Edge and IE. 48 * 2. Show the overflow in Edge and IE.
49 */ 49 */
50 hr { 50 hr {
51 -webkit-box-sizing: content-box; 51 -webkit-box-sizing: content-box;
52 box-sizing: content-box; /* 1 */ 52 box-sizing: content-box; /* 1 */
53 height: 0; /* 1 */ 53 height: 0; /* 1 */
54 overflow: visible; /* 2 */ 54 overflow: visible; /* 2 */
55 } 55 }
56 56
57 /** 57 /**
58 * 1. Correct the inheritance and scaling of font size in all browsers. 58 * 1. Correct the inheritance and scaling of font size in all browsers.
59 * 2. Correct the odd `em` font sizing in all browsers. 59 * 2. Correct the odd `em` font sizing in all browsers.
60 */ 60 */
61 pre { 61 pre {
62 font-family: monospace, monospace; /* 1 */ 62 font-family: monospace, monospace; /* 1 */
63 font-size: 1em; /* 2 */ 63 font-size: 1em; /* 2 */
64 } 64 }
65 65
66 /* Text-level semantics 66 /* Text-level semantics
67 ========================================================================== */ 67 ========================================================================== */
68 /** 68 /**
69 * Remove the gray background on active links in IE 10. 69 * Remove the gray background on active links in IE 10.
70 */ 70 */
71 a { 71 a {
72 background-color: transparent; 72 background-color: transparent;
73 } 73 }
74 74
75 /** 75 /**
76 * 1. Remove the bottom border in Chrome 57- 76 * 1. Remove the bottom border in Chrome 57-
77 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. 77 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
78 */ 78 */
79 abbr[title] { 79 abbr[title] {
80 border-bottom: none; /* 1 */ 80 border-bottom: none; /* 1 */
81 text-decoration: underline; /* 2 */ 81 text-decoration: underline; /* 2 */
82 -webkit-text-decoration: underline dotted; 82 -webkit-text-decoration: underline dotted;
83 text-decoration: underline dotted; /* 2 */ 83 text-decoration: underline dotted; /* 2 */
84 } 84 }
85 85
86 /** 86 /**
87 * Add the correct font weight in Chrome, Edge, and Safari. 87 * Add the correct font weight in Chrome, Edge, and Safari.
88 */ 88 */
89 b, 89 b,
90 strong { 90 strong {
91 font-weight: bolder; 91 font-weight: bolder;
92 } 92 }
93 93
94 /** 94 /**
95 * 1. Correct the inheritance and scaling of font size in all browsers. 95 * 1. Correct the inheritance and scaling of font size in all browsers.
96 * 2. Correct the odd `em` font sizing in all browsers. 96 * 2. Correct the odd `em` font sizing in all browsers.
97 */ 97 */
98 code, 98 code,
99 kbd, 99 kbd,
100 samp { 100 samp {
101 font-family: monospace, monospace; /* 1 */ 101 font-family: monospace, monospace; /* 1 */
102 font-size: 1em; /* 2 */ 102 font-size: 1em; /* 2 */
103 } 103 }
104 104
105 /** 105 /**
106 * Add the correct font size in all browsers. 106 * Add the correct font size in all browsers.
107 */ 107 */
108 small { 108 small {
109 font-size: 80%; 109 font-size: 80%;
110 } 110 }
111 111
112 /** 112 /**
113 * Prevent `sub` and `sup` elements from affecting the line height in 113 * Prevent `sub` and `sup` elements from affecting the line height in
114 * all browsers. 114 * all browsers.
115 */ 115 */
116 sub, 116 sub,
117 sup { 117 sup {
118 font-size: 75%; 118 font-size: 75%;
119 line-height: 0; 119 line-height: 0;
120 position: relative; 120 position: relative;
121 vertical-align: baseline; 121 vertical-align: baseline;
122 } 122 }
123 123
124 sub { 124 sub {
125 bottom: -0.25em; 125 bottom: -0.25em;
126 } 126 }
127 127
128 sup { 128 sup {
129 top: -0.5em; 129 top: -0.5em;
130 } 130 }
131 131
132 /* Embedded content 132 /* Embedded content
133 ========================================================================== */ 133 ========================================================================== */
134 /** 134 /**
135 * Remove the border on images inside links in IE 10. 135 * Remove the border on images inside links in IE 10.
136 */ 136 */
137 img { 137 img {
138 border-style: none; 138 border-style: none;
139 } 139 }
140 140
141 /* Forms 141 /* Forms
142 ========================================================================== */ 142 ========================================================================== */
143 /** 143 /**
144 * 1. Change the font styles in all browsers. 144 * 1. Change the font styles in all browsers.
145 * 2. Remove the margin in Firefox and Safari. 145 * 2. Remove the margin in Firefox and Safari.
146 */ 146 */
147 button, 147 button,
148 input, 148 input,
149 optgroup, 149 optgroup,
150 select, 150 select,
151 textarea { 151 textarea {
152 font-family: inherit; /* 1 */ 152 font-family: inherit; /* 1 */
153 font-size: 100%; /* 1 */ 153 font-size: 100%; /* 1 */
154 line-height: 1.15; /* 1 */ 154 line-height: 1.15; /* 1 */
155 margin: 0; /* 2 */ 155 margin: 0; /* 2 */
156 } 156 }
157 157
158 /** 158 /**
159 * Show the overflow in IE. 159 * Show the overflow in IE.
160 * 1. Show the overflow in Edge. 160 * 1. Show the overflow in Edge.
161 */ 161 */
162 button, 162 button,
163 input { /* 1 */ 163 input { /* 1 */
164 overflow: visible; 164 overflow: visible;
165 } 165 }
166 166
167 /** 167 /**
168 * Remove the inheritance of text transform in Edge, Firefox, and IE. 168 * Remove the inheritance of text transform in Edge, Firefox, and IE.
169 * 1. Remove the inheritance of text transform in Firefox. 169 * 1. Remove the inheritance of text transform in Firefox.
170 */ 170 */
171 button, 171 button,
172 select { /* 1 */ 172 select { /* 1 */
173 text-transform: none; 173 text-transform: none;
174 } 174 }
175 175
176 /** 176 /**
177 * Correct the inability to style clickable types in iOS and Safari. 177 * Correct the inability to style clickable types in iOS and Safari.
178 */ 178 */
179 button, 179 button,
180 [type=button], 180 [type=button],
181 [type=reset], 181 [type=reset],
182 [type=submit] { 182 [type=submit] {
183 -webkit-appearance: button; 183 -webkit-appearance: button;
184 } 184 }
185 185
186 /** 186 /**
187 * Remove the inner border and padding in Firefox. 187 * Remove the inner border and padding in Firefox.
188 */ 188 */
189 button::-moz-focus-inner, 189 button::-moz-focus-inner,
190 [type=button]::-moz-focus-inner, 190 [type=button]::-moz-focus-inner,
191 [type=reset]::-moz-focus-inner, 191 [type=reset]::-moz-focus-inner,
192 [type=submit]::-moz-focus-inner { 192 [type=submit]::-moz-focus-inner {
193 border-style: none; 193 border-style: none;
194 padding: 0; 194 padding: 0;
195 } 195 }
196 196
197 /** 197 /**
198 * Restore the focus styles unset by the previous rule. 198 * Restore the focus styles unset by the previous rule.
199 */ 199 */
200 button:-moz-focusring, 200 button:-moz-focusring,
201 [type=button]:-moz-focusring, 201 [type=button]:-moz-focusring,
202 [type=reset]:-moz-focusring, 202 [type=reset]:-moz-focusring,
203 [type=submit]:-moz-focusring { 203 [type=submit]:-moz-focusring {
204 outline: 1px dotted ButtonText; 204 outline: 1px dotted ButtonText;
205 } 205 }
206 206
207 /** 207 /**
208 * Correct the padding in Firefox. 208 * Correct the padding in Firefox.
209 */ 209 */
210 fieldset { 210 fieldset {
211 padding: 0.35em 0.75em 0.625em; 211 padding: 0.35em 0.75em 0.625em;
212 } 212 }
213 213
214 /** 214 /**
215 * 1. Correct the text wrapping in Edge and IE. 215 * 1. Correct the text wrapping in Edge and IE.
216 * 2. Correct the color inheritance from `fieldset` elements in IE. 216 * 2. Correct the color inheritance from `fieldset` elements in IE.
217 * 3. Remove the padding so developers are not caught out when they zero out 217 * 3. Remove the padding so developers are not caught out when they zero out
218 * `fieldset` elements in all browsers. 218 * `fieldset` elements in all browsers.
219 */ 219 */
220 legend { 220 legend {
221 -webkit-box-sizing: border-box; 221 -webkit-box-sizing: border-box;
222 box-sizing: border-box; /* 1 */ 222 box-sizing: border-box; /* 1 */
223 color: inherit; /* 2 */ 223 color: inherit; /* 2 */
224 display: table; /* 1 */ 224 display: table; /* 1 */
225 max-width: 100%; /* 1 */ 225 max-width: 100%; /* 1 */
226 padding: 0; /* 3 */ 226 padding: 0; /* 3 */
227 white-space: normal; /* 1 */ 227 white-space: normal; /* 1 */
228 } 228 }
229 229
230 /** 230 /**
231 * Add the correct vertical alignment in Chrome, Firefox, and Opera. 231 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
232 */ 232 */
233 progress { 233 progress {
234 vertical-align: baseline; 234 vertical-align: baseline;
235 } 235 }
236 236
237 /** 237 /**
238 * Remove the default vertical scrollbar in IE 10+. 238 * Remove the default vertical scrollbar in IE 10+.
239 */ 239 */
240 textarea { 240 textarea {
241 overflow: auto; 241 overflow: auto;
242 } 242 }
243 243
244 /** 244 /**
245 * 1. Add the correct box sizing in IE 10. 245 * 1. Add the correct box sizing in IE 10.
246 * 2. Remove the padding in IE 10. 246 * 2. Remove the padding in IE 10.
247 */ 247 */
248 [type=checkbox], 248 [type=checkbox],
249 [type=radio] { 249 [type=radio] {
250 -webkit-box-sizing: border-box; 250 -webkit-box-sizing: border-box;
251 box-sizing: border-box; /* 1 */ 251 box-sizing: border-box; /* 1 */
252 padding: 0; /* 2 */ 252 padding: 0; /* 2 */
253 } 253 }
254 254
255 /** 255 /**
256 * Correct the cursor style of increment and decrement buttons in Chrome. 256 * Correct the cursor style of increment and decrement buttons in Chrome.
257 */ 257 */
258 [type=number]::-webkit-inner-spin-button, 258 [type=number]::-webkit-inner-spin-button,
259 [type=number]::-webkit-outer-spin-button { 259 [type=number]::-webkit-outer-spin-button {
260 height: auto; 260 height: auto;
261 } 261 }
262 262
263 /** 263 /**
264 * 1. Correct the odd appearance in Chrome and Safari. 264 * 1. Correct the odd appearance in Chrome and Safari.
265 * 2. Correct the outline style in Safari. 265 * 2. Correct the outline style in Safari.
266 */ 266 */
267 [type=search] { 267 [type=search] {
268 -webkit-appearance: textfield; /* 1 */ 268 -webkit-appearance: textfield; /* 1 */
269 outline-offset: -2px; /* 2 */ 269 outline-offset: -2px; /* 2 */
270 } 270 }
271 271
272 /** 272 /**
273 * Remove the inner padding in Chrome and Safari on macOS. 273 * Remove the inner padding in Chrome and Safari on macOS.
274 */ 274 */
275 [type=search]::-webkit-search-decoration { 275 [type=search]::-webkit-search-decoration {
276 -webkit-appearance: none; 276 -webkit-appearance: none;
277 } 277 }
278 278
279 /** 279 /**
280 * 1. Correct the inability to style clickable types in iOS and Safari. 280 * 1. Correct the inability to style clickable types in iOS and Safari.
281 * 2. Change font properties to `inherit` in Safari. 281 * 2. Change font properties to `inherit` in Safari.
282 */ 282 */
283 ::-webkit-file-upload-button { 283 ::-webkit-file-upload-button {
284 -webkit-appearance: button; /* 1 */ 284 -webkit-appearance: button; /* 1 */
285 font: inherit; /* 2 */ 285 font: inherit; /* 2 */
286 } 286 }
287 287
288 /* Interactive 288 /* Interactive
289 ========================================================================== */ 289 ========================================================================== */
290 /* 290 /*
291 * Add the correct display in Edge, IE 10+, and Firefox. 291 * Add the correct display in Edge, IE 10+, and Firefox.
292 */ 292 */
293 details { 293 details {
294 display: block; 294 display: block;
295 } 295 }
296 296
297 /* 297 /*
298 * Add the correct display in all browsers. 298 * Add the correct display in all browsers.
299 */ 299 */
300 summary { 300 summary {
301 display: list-item; 301 display: list-item;
302 } 302 }
303 303
304 /* Misc 304 /* Misc
305 ========================================================================== */ 305 ========================================================================== */
306 /** 306 /**
307 * Add the correct display in IE 10+. 307 * Add the correct display in IE 10+.
308 */ 308 */
309 template { 309 template {
310 display: none; 310 display: none;
311 } 311 }
312 312
313 /** 313 /**
314 * Add the correct display in IE 10. 314 * Add the correct display in IE 10.
315 */ 315 */
316 [hidden] { 316 [hidden] {
317 display: none; 317 display: none;
318 } 318 }
319 319
320 .green { 320 .green {
321 color: #377d87; 321 color: #377d87;
322 } 322 }
323 323
324 .red { 324 .red {
325 color: #eb5757; 325 color: #eb5757;
326 } 326 }
327 327
328 .rotate180 { 328 .rotate180 {
329 -webkit-transform: rotate(180deg); 329 -webkit-transform: rotate(180deg);
330 -ms-transform: rotate(180deg); 330 -ms-transform: rotate(180deg);
331 transform: rotate(180deg); 331 transform: rotate(180deg);
332 } 332 }
333 333
334 ::-moz-selection { 334 ::-moz-selection {
335 color: #000; 335 color: #000;
336 background: #acc0e6; 336 background: #acc0e6;
337 } 337 }
338 338
339 ::selection { 339 ::selection {
340 color: #000; 340 color: #000;
341 background: #acc0e6; 341 background: #acc0e6;
342 } 342 }
343 343
344 ::-webkit-scrollbar { 344 ::-webkit-scrollbar {
345 width: 8px; 345 width: 8px;
346 height: 8px; 346 height: 8px;
347 } 347 }
348 348
349 ::-webkit-scrollbar-track { 349 ::-webkit-scrollbar-track {
350 border-radius: 999px; 350 border-radius: 999px;
351 background-color: #fff; 351 background-color: #fff;
352 } 352 }
353 353
354 ::-webkit-scrollbar-thumb { 354 ::-webkit-scrollbar-thumb {
355 border-radius: 999px; 355 border-radius: 999px;
356 background-color: #377d87; 356 background-color: #377d87;
357 } 357 }
358 358
359 ::-webkit-input-placeholder { 359 ::-webkit-input-placeholder {
360 color: #9c9d9d; 360 color: #9c9d9d;
361 opacity: 1; 361 opacity: 1;
362 } 362 }
363 363
364 :focus::-webkit-input-placeholder { 364 :focus::-webkit-input-placeholder {
365 color: transparent; 365 color: transparent;
366 } 366 }
367 367
368 :-ms-input-placeholder { 368 :-ms-input-placeholder {
369 color: #9c9d9d; 369 color: #9c9d9d;
370 opacity: 1; 370 opacity: 1;
371 } 371 }
372 372
373 :focus:-ms-input-placeholder { 373 :focus:-ms-input-placeholder {
374 color: transparent; 374 color: transparent;
375 } 375 }
376 376
377 ::-ms-input-placeholder { 377 ::-ms-input-placeholder {
378 color: #9c9d9d; 378 color: #9c9d9d;
379 opacity: 1; 379 opacity: 1;
380 } 380 }
381 381
382 :focus::-ms-input-placeholder { 382 :focus::-ms-input-placeholder {
383 color: transparent; 383 color: transparent;
384 } 384 }
385 385
386 ::-moz-placeholder { 386 ::-moz-placeholder {
387 color: #9c9d9d; 387 color: #9c9d9d;
388 opacity: 1; 388 opacity: 1;
389 } 389 }
390 390
391 :focus::-moz-placeholder { 391 :focus::-moz-placeholder {
392 color: transparent; 392 color: transparent;
393 } 393 }
394 394
395 ::-webkit-input-placeholder { 395 ::-webkit-input-placeholder {
396 color: #9c9d9d; 396 color: #9c9d9d;
397 opacity: 1; 397 opacity: 1;
398 } 398 }
399 399
400 ::-moz-placeholder { 400 ::-moz-placeholder {
401 color: #9c9d9d; 401 color: #9c9d9d;
402 opacity: 1; 402 opacity: 1;
403 } 403 }
404 404
405 :-ms-input-placeholder { 405 :-ms-input-placeholder {
406 color: #9c9d9d; 406 color: #9c9d9d;
407 opacity: 1; 407 opacity: 1;
408 } 408 }
409 409
410 ::-ms-input-placeholder { 410 ::-ms-input-placeholder {
411 color: #9c9d9d; 411 color: #9c9d9d;
412 opacity: 1; 412 opacity: 1;
413 } 413 }
414 414
415 ::placeholder { 415 ::placeholder {
416 color: #9c9d9d; 416 color: #9c9d9d;
417 opacity: 1; 417 opacity: 1;
418 } 418 }
419 419
420 :focus::-webkit-input-placeholder { 420 :focus::-webkit-input-placeholder {
421 color: transparent; 421 color: transparent;
422 } 422 }
423 423
424 :focus::-moz-placeholder { 424 :focus::-moz-placeholder {
425 color: transparent; 425 color: transparent;
426 } 426 }
427 427
428 :focus:-ms-input-placeholder { 428 :focus:-ms-input-placeholder {
429 color: transparent; 429 color: transparent;
430 } 430 }
431 431
432 :focus::-ms-input-placeholder { 432 :focus::-ms-input-placeholder {
433 color: transparent; 433 color: transparent;
434 } 434 }
435 435
436 :focus::placeholder { 436 :focus::placeholder {
437 color: transparent; 437 color: transparent;
438 } 438 }
439 439
440 *, 440 *,
441 *:before, 441 *:before,
442 *:after { 442 *:after {
443 -webkit-box-sizing: border-box; 443 -webkit-box-sizing: border-box;
444 box-sizing: border-box; 444 box-sizing: border-box;
445 -webkit-appearance: none; 445 -webkit-appearance: none;
446 -moz-appearance: none; 446 -moz-appearance: none;
447 appearance: none; 447 appearance: none;
448 outline: none; 448 outline: none;
449 -webkit-box-shadow: none; 449 -webkit-box-shadow: none;
450 box-shadow: none; 450 box-shadow: none;
451 } 451 }
452 452
453 a, 453 a,
454 button, 454 button,
455 select { 455 select {
456 color: inherit; 456 color: inherit;
457 } 457 }
458 458
459 a { 459 a {
460 text-decoration: none; 460 text-decoration: none;
461 } 461 }
462 462
463 a, 463 a,
464 input[type=button], 464 input[type=button],
465 input[type=submit], 465 input[type=submit],
466 button { 466 button {
467 -webkit-user-select: none; 467 -webkit-user-select: none;
468 -moz-user-select: none; 468 -moz-user-select: none;
469 -ms-user-select: none; 469 -ms-user-select: none;
470 user-select: none; 470 user-select: none;
471 -webkit-transition: 0.3s; 471 -webkit-transition: 0.3s;
472 transition: 0.3s; 472 transition: 0.3s;
473 cursor: pointer; 473 cursor: pointer;
474 } 474 }
475 475
476 [type=tel] { 476 [type=tel] {
477 letter-spacing: 1px; 477 letter-spacing: 1px;
478 } 478 }
479 479
480 .br, 480 .br,
481 img, 481 img,
482 svg { 482 svg {
483 display: block; 483 display: block;
484 } 484 }
485 485
486 .float-left { 486 .float-left {
487 float: left; 487 float: left;
488 } 488 }
489 489
490 .float-right { 490 .float-right {
491 float: right; 491 float: right;
492 } 492 }
493 493
494 .clear-both:after { 494 .clear-both:after {
495 content: ""; 495 content: "";
496 display: block; 496 display: block;
497 clear: both; 497 clear: both;
498 } 498 }
499 499
500 h1, 500 h1,
501 h2, 501 h2,
502 h3, 502 h3,
503 h4, 503 h4,
504 h5, 504 h5,
505 h6 { 505 h6 {
506 margin: 0; 506 margin: 0;
507 } 507 }
508 508
509 #body { 509 #body {
510 font-family: "Circe", sans-serif; 510 font-family: "Circe", sans-serif;
511 color: #000; 511 color: #000;
512 background: #fff; 512 background: #fff;
513 display: -webkit-box; 513 display: -webkit-box;
514 display: -ms-flexbox; 514 display: -ms-flexbox;
515 display: flex; 515 display: flex;
516 -webkit-box-orient: vertical; 516 -webkit-box-orient: vertical;
517 -webkit-box-direction: normal; 517 -webkit-box-direction: normal;
518 -ms-flex-direction: column; 518 -ms-flex-direction: column;
519 flex-direction: column; 519 flex-direction: column;
520 -webkit-box-pack: justify; 520 -webkit-box-pack: justify;
521 -ms-flex-pack: justify; 521 -ms-flex-pack: justify;
522 justify-content: space-between; 522 justify-content: space-between;
523 gap: 50px; 523 gap: 50px;
524 min-width: 320px; 524 min-width: 320px;
525 min-height: 100vh; 525 min-height: 100vh;
526 line-height: 1.25; 526 line-height: 1.25;
527 } 527 }
528 @media (min-width: 768px) { 528 @media (min-width: 768px) {
529 #body { 529 #body {
530 gap: 60px; 530 gap: 60px;
531 } 531 }
532 } 532 }
533 #body.pdf { 533 #body.pdf {
534 gap: 0; 534 gap: 0;
535 } 535 }
536 536
537 .container { 537 .container {
538 width: 100%; 538 width: 100%;
539 max-width: 1280px; 539 max-width: 1280px;
540 margin-left: auto; 540 margin-left: auto;
541 margin-right: auto; 541 margin-right: auto;
542 padding-left: 10px; 542 padding-left: 10px;
543 padding-right: 10px; 543 padding-right: 10px;
544 } 544 }
545 @media (min-width: 768px) { 545 @media (min-width: 768px) {
546 .container { 546 .container {
547 padding-left: 20px; 547 padding-left: 20px;
548 padding-right: 20px; 548 padding-right: 20px;
549 } 549 }
550 } 550 }
551 551
552 .to-top { 552 .to-top {
553 position: fixed; 553 position: fixed;
554 right: 10px; 554 right: 10px;
555 bottom: 10px; 555 bottom: 10px;
556 border-radius: 999px; 556 border-radius: 999px;
557 display: -webkit-box; 557 display: -webkit-box;
558 display: -ms-flexbox; 558 display: -ms-flexbox;
559 display: flex; 559 display: flex;
560 -webkit-box-pack: center; 560 -webkit-box-pack: center;
561 -ms-flex-pack: center; 561 -ms-flex-pack: center;
562 justify-content: center; 562 justify-content: center;
563 -webkit-box-align: center; 563 -webkit-box-align: center;
564 -ms-flex-align: center; 564 -ms-flex-align: center;
565 align-items: center; 565 align-items: center;
566 color: #fff; 566 color: #fff;
567 background: #377d87; 567 background: #377d87;
568 width: 40px; 568 width: 40px;
569 height: 40px; 569 height: 40px;
570 -webkit-transition: 0.3s; 570 -webkit-transition: 0.3s;
571 transition: 0.3s; 571 transition: 0.3s;
572 margin-right: -100px; 572 margin-right: -100px;
573 -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); 573 -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
574 box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); 574 box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
575 z-index: 99; 575 z-index: 99;
576 border: 1px solid #377d87; 576 border: 1px solid #377d87;
577 } 577 }
578 .to-top:hover { 578 .to-top:hover {
579 background: #fff; 579 background: #fff;
580 color: #377d87; 580 color: #377d87;
581 } 581 }
582 .to-top svg { 582 .to-top svg {
583 width: 10px; 583 width: 10px;
584 height: 10px; 584 height: 10px;
585 } 585 }
586 @media (min-width: 768px) { 586 @media (min-width: 768px) {
587 .to-top { 587 .to-top {
588 width: 50px; 588 width: 50px;
589 height: 50px; 589 height: 50px;
590 right: 20px; 590 right: 20px;
591 bottom: 20px; 591 bottom: 20px;
592 } 592 }
593 .to-top svg { 593 .to-top svg {
594 width: 12px; 594 width: 12px;
595 height: 12px; 595 height: 12px;
596 } 596 }
597 } 597 }
598 598
599 .begin .to-top { 599 .begin .to-top {
600 margin-right: 0; 600 margin-right: 0;
601 } 601 }
602 602
603 .socials { 603 .socials {
604 display: -webkit-box; 604 display: -webkit-box;
605 display: -ms-flexbox; 605 display: -ms-flexbox;
606 display: flex; 606 display: flex;
607 -webkit-box-align: center; 607 -webkit-box-align: center;
608 -ms-flex-align: center; 608 -ms-flex-align: center;
609 align-items: center; 609 align-items: center;
610 -webkit-box-pack: center; 610 -webkit-box-pack: center;
611 -ms-flex-pack: center; 611 -ms-flex-pack: center;
612 justify-content: center; 612 justify-content: center;
613 gap: 8px; 613 gap: 8px;
614 } 614 }
615 .socials a { 615 .socials a {
616 display: -webkit-box; 616 display: -webkit-box;
617 display: -ms-flexbox; 617 display: -ms-flexbox;
618 display: flex; 618 display: flex;
619 -webkit-box-align: center; 619 -webkit-box-align: center;
620 -ms-flex-align: center; 620 -ms-flex-align: center;
621 align-items: center; 621 align-items: center;
622 -webkit-box-pack: center; 622 -webkit-box-pack: center;
623 -ms-flex-pack: center; 623 -ms-flex-pack: center;
624 justify-content: center; 624 justify-content: center;
625 border: 1px solid #377d87; 625 border: 1px solid #377d87;
626 color: #377d87; 626 color: #377d87;
627 border-radius: 999px; 627 border-radius: 999px;
628 width: 38px; 628 width: 38px;
629 height: 38px; 629 height: 38px;
630 } 630 }
631 .socials a:hover { 631 .socials a:hover {
632 background: #377d87; 632 background: #377d87;
633 color: #fff; 633 color: #fff;
634 } 634 }
635 .socials svg { 635 .socials svg {
636 width: 12px; 636 width: 12px;
637 height: 12px; 637 height: 12px;
638 } 638 }
639 639
640 .nls { 640 .nls {
641 display: -webkit-box; 641 display: -webkit-box;
642 display: -ms-flexbox; 642 display: -ms-flexbox;
643 display: flex; 643 display: flex;
644 color: #000; 644 color: #000;
645 text-align: left; 645 text-align: left;
646 } 646 }
647 .nls:hover { 647 .nls:hover {
648 color: #377d87; 648 color: #377d87;
649 } 649 }
650 .nls svg { 650 .nls svg {
651 width: 30px; 651 width: 30px;
652 height: 40px; 652 height: 40px;
653 } 653 }
654 @media (min-width: 768px) { 654 @media (min-width: 768px) {
655 .nls svg { 655 .nls svg {
656 width: 24px; 656 width: 24px;
657 height: 31px; 657 height: 31px;
658 } 658 }
659 } 659 }
660 .nls span { 660 .nls span {
661 width: calc(100% - 30px); 661 width: calc(100% - 30px);
662 padding-left: 12px; 662 padding-left: 12px;
663 display: -webkit-box; 663 display: -webkit-box;
664 display: -ms-flexbox; 664 display: -ms-flexbox;
665 display: flex; 665 display: flex;
666 -webkit-box-orient: vertical; 666 -webkit-box-orient: vertical;
667 -webkit-box-direction: normal; 667 -webkit-box-direction: normal;
668 -ms-flex-direction: column; 668 -ms-flex-direction: column;
669 flex-direction: column; 669 flex-direction: column;
670 -webkit-box-pack: center; 670 -webkit-box-pack: center;
671 -ms-flex-pack: center; 671 -ms-flex-pack: center;
672 justify-content: center; 672 justify-content: center;
673 font-size: 12px; 673 font-size: 12px;
674 line-height: 1.4; 674 line-height: 1.4;
675 } 675 }
676 @media (min-width: 768px) { 676 @media (min-width: 768px) {
677 .nls span { 677 .nls span {
678 width: calc(100% - 24px); 678 width: calc(100% - 24px);
679 } 679 }
680 } 680 }
681 .nls b { 681 .nls b {
682 font-weight: 400; 682 font-weight: 400;
683 } 683 }
684 684
685 .title, 685 .title,
686 h1 { 686 h1 {
687 margin: 0; 687 margin: 0;
688 font-weight: 700; 688 font-weight: 700;
689 font-size: 32px; 689 font-size: 32px;
690 } 690 }
691 @media (min-width: 768px) { 691 @media (min-width: 768px) {
692 .title, 692 .title,
693 h1 { 693 h1 {
694 font-size: 40px; 694 font-size: 40px;
695 } 695 }
696 } 696 }
697 @media (min-width: 992px) { 697 @media (min-width: 992px) {
698 .title, 698 .title,
699 h1 { 699 h1 {
700 font-size: 48px; 700 font-size: 48px;
701 } 701 }
702 } 702 }
703 @media (min-width: 1280px) { 703 @media (min-width: 1280px) {
704 .title, 704 .title,
705 h1 { 705 h1 {
706 font-size: 64px; 706 font-size: 64px;
707 } 707 }
708 } 708 }
709 709
710 .swiper-pagination { 710 .swiper-pagination {
711 display: -webkit-box; 711 display: -webkit-box;
712 display: -ms-flexbox; 712 display: -ms-flexbox;
713 display: flex; 713 display: flex;
714 -webkit-box-pack: center; 714 -webkit-box-pack: center;
715 -ms-flex-pack: center; 715 -ms-flex-pack: center;
716 justify-content: center; 716 justify-content: center;
717 -webkit-box-align: center; 717 -webkit-box-align: center;
718 -ms-flex-align: center; 718 -ms-flex-align: center;
719 align-items: center; 719 align-items: center;
720 position: static; 720 position: static;
721 margin-top: 20px; 721 margin-top: 20px;
722 gap: 8px; 722 gap: 8px;
723 } 723 }
724 @media (min-width: 768px) { 724 @media (min-width: 768px) {
725 .swiper-pagination { 725 .swiper-pagination {
726 margin-top: 30px; 726 margin-top: 30px;
727 } 727 }
728 } 728 }
729 .swiper-pagination-bullet { 729 .swiper-pagination-bullet {
730 width: 16px; 730 width: 16px;
731 height: 16px; 731 height: 16px;
732 opacity: 1; 732 opacity: 1;
733 border: 1px solid #cdcece; 733 border: 1px solid #cdcece;
734 -webkit-transition: 0.3s; 734 -webkit-transition: 0.3s;
735 transition: 0.3s; 735 transition: 0.3s;
736 background: transparent; 736 background: transparent;
737 display: -webkit-box; 737 display: -webkit-box;
738 display: -ms-flexbox; 738 display: -ms-flexbox;
739 display: flex; 739 display: flex;
740 -webkit-box-pack: center; 740 -webkit-box-pack: center;
741 -ms-flex-pack: center; 741 -ms-flex-pack: center;
742 justify-content: center; 742 justify-content: center;
743 -webkit-box-align: center; 743 -webkit-box-align: center;
744 -ms-flex-align: center; 744 -ms-flex-align: center;
745 align-items: center; 745 align-items: center;
746 margin: 0 !important; 746 margin: 0 !important;
747 } 747 }
748 .swiper-pagination-bullet:before { 748 .swiper-pagination-bullet:before {
749 content: ""; 749 content: "";
750 width: 6px; 750 width: 6px;
751 height: 6px; 751 height: 6px;
752 border-radius: 999px; 752 border-radius: 999px;
753 background: #377d87; 753 background: #377d87;
754 opacity: 0; 754 opacity: 0;
755 -webkit-transition: 0.3s; 755 -webkit-transition: 0.3s;
756 transition: 0.3s; 756 transition: 0.3s;
757 } 757 }
758 .swiper-pagination-bullet:hover { 758 .swiper-pagination-bullet:hover {
759 border-color: #377d87; 759 border-color: #377d87;
760 } 760 }
761 .swiper-pagination-bullet-active { 761 .swiper-pagination-bullet-active {
762 border-color: #377d87; 762 border-color: #377d87;
763 } 763 }
764 .swiper-pagination-bullet-active:before { 764 .swiper-pagination-bullet-active:before {
765 opacity: 1; 765 opacity: 1;
766 } 766 }
767 767
768 .navs { 768 .navs {
769 display: -webkit-box; 769 display: -webkit-box;
770 display: -ms-flexbox; 770 display: -ms-flexbox;
771 display: flex; 771 display: flex;
772 -webkit-box-align: center; 772 -webkit-box-align: center;
773 -ms-flex-align: center; 773 -ms-flex-align: center;
774 align-items: center; 774 align-items: center;
775 -webkit-box-pack: justify; 775 -webkit-box-pack: justify;
776 -ms-flex-pack: justify; 776 -ms-flex-pack: justify;
777 justify-content: space-between; 777 justify-content: space-between;
778 gap: 20px; 778 gap: 20px;
779 width: 80px; 779 width: 80px;
780 } 780 }
781 .navs button { 781 .navs button {
782 color: #377d87; 782 color: #377d87;
783 background: none; 783 background: none;
784 border: none; 784 border: none;
785 padding: 0; 785 padding: 0;
786 } 786 }
787 .navs button[disabled] { 787 .navs button[disabled] {
788 cursor: not-allowed; 788 cursor: not-allowed;
789 color: #cddee1; 789 color: #cddee1;
790 } 790 }
791 .navs svg { 791 .navs svg {
792 width: 14px; 792 width: 14px;
793 height: 28px; 793 height: 28px;
794 } 794 }
795 795
796 .select { 796 .select {
797 position: relative; 797 position: relative;
798 } 798 }
799 .select2 { 799 .select2 {
800 width: 100% !important; 800 width: 100% !important;
801 } 801 }
802 .select2-container { 802 .select2-container {
803 font-size: 12px; 803 font-size: 12px;
804 } 804 }
805 @media (min-width: 768px) { 805 @media (min-width: 768px) {
806 .select2-container { 806 .select2-container {
807 font-size: 16px; 807 font-size: 16px;
808 } 808 }
809 } 809 }
810 .select2-container--open .select2-selection { 810 .select2-container--open .select2-selection {
811 border-color: #377d87 !important; 811 border-color: #377d87 !important;
812 } 812 }
813 .select2-container--open .select2-selection__arrow svg { 813 .select2-container--open .select2-selection__arrow svg {
814 -webkit-transform: rotate(180deg); 814 -webkit-transform: rotate(180deg);
815 -ms-transform: rotate(180deg); 815 -ms-transform: rotate(180deg);
816 transform: rotate(180deg); 816 transform: rotate(180deg);
817 } 817 }
818 .select2-selection { 818 .select2-selection {
819 min-height: 30px !important; 819 min-height: 30px !important;
820 border-radius: 8px !important; 820 border-radius: 8px !important;
821 border-color: #e7e7e7 !important; 821 border-color: #e7e7e7 !important;
822 -webkit-transition: 0.3s; 822 -webkit-transition: 0.3s;
823 transition: 0.3s; 823 transition: 0.3s;
824 } 824 }
825 @media (min-width: 768px) { 825 @media (min-width: 768px) {
826 .select2-selection { 826 .select2-selection {
827 min-height: 50px !important; 827 min-height: 50px !important;
828 } 828 }
829 } 829 }
830 .select2-selection__rendered { 830 .select2-selection__rendered {
831 line-height: 28px !important; 831 line-height: 28px !important;
832 padding: 0 30px 0 10px !important; 832 padding: 0 30px 0 10px !important;
833 } 833 }
834 @media (min-width: 768px) { 834 @media (min-width: 768px) {
835 .select2-selection__rendered { 835 .select2-selection__rendered {
836 line-height: 48px !important; 836 line-height: 48px !important;
837 padding: 0 46px 0 20px !important; 837 padding: 0 46px 0 20px !important;
838 } 838 }
839 } 839 }
840 .select2-selection--multiple .select2-selection__rendered { 840 .select2-selection--multiple .select2-selection__rendered {
841 display: -webkit-box !important; 841 display: -webkit-box !important;
842 display: -ms-flexbox !important; 842 display: -ms-flexbox !important;
843 display: flex !important; 843 display: flex !important;
844 -webkit-box-align: center; 844 -webkit-box-align: center;
845 -ms-flex-align: center; 845 -ms-flex-align: center;
846 align-items: center; 846 align-items: center;
847 -ms-flex-wrap: wrap; 847 -ms-flex-wrap: wrap;
848 flex-wrap: wrap; 848 flex-wrap: wrap;
849 gap: 10px; 849 gap: 10px;
850 padding-top: 10px !important; 850 padding-top: 10px !important;
851 padding-bottom: 10px !important; 851 padding-bottom: 10px !important;
852 } 852 }
853 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice { 853 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
854 margin: 0; 854 margin: 0;
855 } 855 }
856 .select2-selection__arrow { 856 .select2-selection__arrow {
857 top: 0 !important; 857 top: 0 !important;
858 right: 0 !important; 858 right: 0 !important;
859 width: 30px !important; 859 width: 30px !important;
860 height: 100% !important; 860 height: 100% !important;
861 display: -webkit-box; 861 display: -webkit-box;
862 display: -ms-flexbox; 862 display: -ms-flexbox;
863 display: flex; 863 display: flex;
864 -webkit-box-pack: center; 864 -webkit-box-pack: center;
865 -ms-flex-pack: center; 865 -ms-flex-pack: center;
866 justify-content: center; 866 justify-content: center;
867 -webkit-box-align: center; 867 -webkit-box-align: center;
868 -ms-flex-align: center; 868 -ms-flex-align: center;
869 align-items: center; 869 align-items: center;
870 color: #377d87; 870 color: #377d87;
871 } 871 }
872 @media (min-width: 768px) { 872 @media (min-width: 768px) {
873 .select2-selection__arrow { 873 .select2-selection__arrow {
874 width: 50px !important; 874 width: 50px !important;
875 } 875 }
876 } 876 }
877 .select2-selection__arrow svg { 877 .select2-selection__arrow svg {
878 width: 12px; 878 width: 12px;
879 height: 12px; 879 height: 12px;
880 -webkit-transition: 0.3s; 880 -webkit-transition: 0.3s;
881 transition: 0.3s; 881 transition: 0.3s;
882 } 882 }
883 @media (min-width: 768px) { 883 @media (min-width: 768px) {
884 .select2-selection__arrow svg { 884 .select2-selection__arrow svg {
885 width: 14px; 885 width: 14px;
886 height: 14px; 886 height: 14px;
887 } 887 }
888 } 888 }
889 .select2-selection__choice { 889 .select2-selection__choice {
890 display: -webkit-box; 890 display: -webkit-box;
891 display: -ms-flexbox; 891 display: -ms-flexbox;
892 display: flex; 892 display: flex;
893 -webkit-box-orient: horizontal; 893 -webkit-box-orient: horizontal;
894 -webkit-box-direction: reverse; 894 -webkit-box-direction: reverse;
895 -ms-flex-direction: row-reverse; 895 -ms-flex-direction: row-reverse;
896 flex-direction: row-reverse; 896 flex-direction: row-reverse;
897 -webkit-box-align: center; 897 -webkit-box-align: center;
898 -ms-flex-align: center; 898 -ms-flex-align: center;
899 align-items: center; 899 align-items: center;
900 -webkit-box-pack: center; 900 -webkit-box-pack: center;
901 -ms-flex-pack: center; 901 -ms-flex-pack: center;
902 justify-content: center; 902 justify-content: center;
903 gap: 4px; 903 gap: 4px;
904 padding: 0 4px 0 6px !important; 904 padding: 0 4px 0 6px !important;
905 background: #377d87 !important; 905 background: #377d87 !important;
906 border: none !important; 906 border: none !important;
907 border-radius: 6px !important; 907 border-radius: 6px !important;
908 line-height: 1 !important; 908 line-height: 1 !important;
909 color: #fff; 909 color: #fff;
910 height: 24px; 910 height: 24px;
911 } 911 }
912 @media (min-width: 768px) { 912 @media (min-width: 768px) {
913 .select2-selection__choice { 913 .select2-selection__choice {
914 height: 32px; 914 height: 32px;
915 gap: 6px; 915 gap: 6px;
916 padding: 0 6px 0 10px !important; 916 padding: 0 6px 0 10px !important;
917 border-radius: 8px !important; 917 border-radius: 8px !important;
918 } 918 }
919 } 919 }
920 .select2-selection__choice__remove { 920 .select2-selection__choice__remove {
921 width: 14px; 921 width: 14px;
922 height: 14px; 922 height: 14px;
923 padding-top: 4px; 923 padding-top: 4px;
924 display: -webkit-box !important; 924 display: -webkit-box !important;
925 display: -ms-flexbox !important; 925 display: -ms-flexbox !important;
926 display: flex !important; 926 display: flex !important;
927 -webkit-box-pack: center; 927 -webkit-box-pack: center;
928 -ms-flex-pack: center; 928 -ms-flex-pack: center;
929 justify-content: center; 929 justify-content: center;
930 -webkit-box-align: center; 930 -webkit-box-align: center;
931 -ms-flex-align: center; 931 -ms-flex-align: center;
932 align-items: center; 932 align-items: center;
933 color: #fff !important; 933 color: #fff !important;
934 font-weight: 400 !important; 934 font-weight: 400 !important;
935 font-size: 26px; 935 font-size: 26px;
936 } 936 }
937 .select2-search { 937 .select2-search {
938 display: none; 938 display: none;
939 } 939 }
940 .select2-dropdown { 940 .select2-dropdown {
941 z-index: 99999; 941 z-index: 99999;
942 border: none; 942 border: none;
943 border-radius: 0; 943 border-radius: 0;
944 background: none; 944 background: none;
945 padding: 5px 0; 945 padding: 5px 0;
946 } 946 }
947 @media (min-width: 768px) { 947 @media (min-width: 768px) {
948 .select2-dropdown { 948 .select2-dropdown {
949 padding: 10px 0; 949 padding: 10px 0;
950 } 950 }
951 } 951 }
952 .select2-results { 952 .select2-results {
953 background: #fff; 953 background: #fff;
954 border-radius: 8px; 954 border-radius: 8px;
955 border: 1px solid #377d87; 955 border: 1px solid #377d87;
956 overflow: hidden; 956 overflow: hidden;
957 } 957 }
958 @media (min-width: 768px) { 958 @media (min-width: 768px) {
959 .select2-results__option { 959 .select2-results__option {
960 padding: 10px 14px; 960 padding: 10px 14px;
961 } 961 }
962 } 962 }
963 .select2-results__option--highlighted { 963 .select2-results__option--highlighted {
964 background: #377d87 !important; 964 background: #377d87 !important;
965 } 965 }
966 @media (min-width: 768px) { 966 @media (min-width: 768px) {
967 .select_search .select2-selection__rendered { 967 .select_search .select2-selection__rendered {
968 padding-left: 60px !important; 968 padding-left: 60px !important;
969 } 969 }
970 } 970 }
971 .select_search .select__icon { 971 .select_search .select__icon {
972 display: none; 972 display: none;
973 height: 28px; 973 height: 28px;
974 -webkit-box-align: center; 974 -webkit-box-align: center;
975 -ms-flex-align: center; 975 -ms-flex-align: center;
976 align-items: center; 976 align-items: center;
977 padding-right: 12px; 977 padding-right: 12px;
978 z-index: 2; 978 z-index: 2;
979 position: absolute; 979 position: absolute;
980 top: 50%; 980 top: 50%;
981 left: 15px; 981 left: 15px;
982 margin-top: -14px; 982 margin-top: -14px;
983 } 983 }
984 @media (min-width: 768px) { 984 @media (min-width: 768px) {
985 .select_search .select__icon { 985 .select_search .select__icon {
986 display: -webkit-box; 986 display: -webkit-box;
987 display: -ms-flexbox; 987 display: -ms-flexbox;
988 display: flex; 988 display: flex;
989 } 989 }
990 } 990 }
991 .select_search .select__icon:after { 991 .select_search .select__icon:after {
992 content: ""; 992 content: "";
993 width: 1px; 993 width: 1px;
994 height: 100%; 994 height: 100%;
995 border-radius: 999px; 995 border-radius: 999px;
996 position: absolute; 996 position: absolute;
997 top: 0; 997 top: 0;
998 right: 0; 998 right: 0;
999 background: #cecece; 999 background: #cecece;
1000 } 1000 }
1001 .select_search .select__icon svg { 1001 .select_search .select__icon svg {
1002 color: #9c9d9d; 1002 color: #9c9d9d;
1003 width: 20px; 1003 width: 20px;
1004 height: 20px; 1004 height: 20px;
1005 } 1005 }
1006 1006
1007 .form-group { 1007 .form-group {
1008 display: -webkit-box; 1008 display: -webkit-box;
1009 display: -ms-flexbox; 1009 display: -ms-flexbox;
1010 display: flex; 1010 display: flex;
1011 -webkit-box-orient: vertical; 1011 -webkit-box-orient: vertical;
1012 -webkit-box-direction: normal; 1012 -webkit-box-direction: normal;
1013 -ms-flex-direction: column; 1013 -ms-flex-direction: column;
1014 flex-direction: column; 1014 flex-direction: column;
1015 gap: 4px; 1015 gap: 4px;
1016 } 1016 }
1017 .form-group__label { 1017 .form-group__label {
1018 font-size: 12px; 1018 font-size: 12px;
1019 } 1019 }
1020 @media (min-width: 768px) { 1020 @media (min-width: 768px) {
1021 .form-group__label { 1021 .form-group__label {
1022 font-size: 16px; 1022 font-size: 16px;
1023 } 1023 }
1024 } 1024 }
1025 .form-group__item { 1025 .form-group__item {
1026 display: -webkit-box; 1026 display: -webkit-box;
1027 display: -ms-flexbox; 1027 display: -ms-flexbox;
1028 display: flex; 1028 display: flex;
1029 -webkit-box-orient: vertical; 1029 -webkit-box-orient: vertical;
1030 -webkit-box-direction: normal; 1030 -webkit-box-direction: normal;
1031 -ms-flex-direction: column; 1031 -ms-flex-direction: column;
1032 flex-direction: column; 1032 flex-direction: column;
1033 position: relative; 1033 position: relative;
1034 } 1034 }
1035 1035
1036 .input { 1036 .input {
1037 display: block; 1037 display: block;
1038 height: 30px; 1038 height: 30px;
1039 border: 1px solid #cecece; 1039 border: 1px solid #cecece;
1040 background: #fff; 1040 background: #fff;
1041 font-size: 12px; 1041 font-size: 12px;
1042 border-radius: 8px; 1042 border-radius: 8px;
1043 padding: 0 10px; 1043 padding: 0 10px;
1044 color: #000; 1044 color: #000;
1045 -webkit-transition: 0.3s; 1045 -webkit-transition: 0.3s;
1046 transition: 0.3s; 1046 transition: 0.3s;
1047 position: relative; 1047 position: relative;
1048 z-index: 1; 1048 z-index: 1;
1049 } 1049 }
1050 @media (min-width: 768px) { 1050 @media (min-width: 768px) {
1051 .input { 1051 .input {
1052 padding: 0 20px; 1052 padding: 0 20px;
1053 height: 44px; 1053 height: 44px;
1054 font-size: 16px; 1054 font-size: 16px;
1055 } 1055 }
1056 } 1056 }
1057 .input:focus { 1057 .input:focus {
1058 border-color: #377d87; 1058 border-color: #377d87;
1059 } 1059 }
1060 .input[disabled] { 1060 .input[disabled] {
1061 color: #9c9d9d; 1061 color: #9c9d9d;
1062 background: #e7e7e7; 1062 background: #e7e7e7;
1063 } 1063 }
1064 .input[type=date] { 1064 .input[type=date] {
1065 text-transform: uppercase; 1065 text-transform: uppercase;
1066 } 1066 }
1067 1067
1068 .textarea { 1068 .textarea {
1069 resize: none; 1069 resize: none;
1070 display: block; 1070 display: block;
1071 width: 100%; 1071 width: 100%;
1072 border-radius: 8px; 1072 border-radius: 8px;
1073 border: 1px solid #cecece; 1073 border: 1px solid #cecece;
1074 background: #fff; 1074 background: #fff;
1075 -webkit-transition: 0.3s; 1075 -webkit-transition: 0.3s;
1076 transition: 0.3s; 1076 transition: 0.3s;
1077 font-size: 12px; 1077 font-size: 12px;
1078 line-height: 1.4; 1078 line-height: 1.4;
1079 padding: 10px; 1079 padding: 10px;
1080 aspect-ratio: 8/3; 1080 aspect-ratio: 8/3;
1081 max-height: 250px; 1081 max-height: 250px;
1082 } 1082 }
1083 @media (min-width: 768px) { 1083 @media (min-width: 768px) {
1084 .textarea { 1084 .textarea {
1085 padding: 20px; 1085 padding: 20px;
1086 font-size: 16px; 1086 font-size: 16px;
1087 height: 280px; 1087 height: 280px;
1088 } 1088 }
1089 } 1089 }
1090 .textarea:focus { 1090 .textarea:focus {
1091 border-color: #377d87; 1091 border-color: #377d87;
1092 } 1092 }
1093 1093
1094 .button { 1094 .button {
1095 display: -webkit-box; 1095 display: -webkit-box;
1096 display: -ms-flexbox; 1096 display: -ms-flexbox;
1097 display: flex; 1097 display: flex;
1098 -webkit-box-pack: center; 1098 -webkit-box-pack: center;
1099 -ms-flex-pack: center; 1099 -ms-flex-pack: center;
1100 justify-content: center; 1100 justify-content: center;
1101 -webkit-box-align: center; 1101 -webkit-box-align: center;
1102 -ms-flex-align: center; 1102 -ms-flex-align: center;
1103 align-items: center; 1103 align-items: center;
1104 color: #fff; 1104 color: #fff;
1105 background: #377d87; 1105 background: #377d87;
1106 height: 30px; 1106 height: 30px;
1107 border-radius: 8px; 1107 border-radius: 8px;
1108 padding: 0 12px; 1108 padding: 0 12px;
1109 border: 1px solid #377d87; 1109 border: 1px solid #377d87;
1110 font-weight: 700; 1110 font-weight: 700;
1111 font-size: 12px; 1111 font-size: 12px;
1112 text-align: center; 1112 text-align: center;
1113 line-height: 1; 1113 line-height: 1;
1114 gap: 6px; 1114 gap: 6px;
1115 -webkit-transition: 0.3s; 1115 -webkit-transition: 0.3s;
1116 transition: 0.3s; 1116 transition: 0.3s;
1117 cursor: pointer; 1117 cursor: pointer;
1118 } 1118 }
1119 @media (min-width: 768px) { 1119 @media (min-width: 768px) {
1120 .button { 1120 .button {
1121 padding: 0 24px; 1121 padding: 0 24px;
1122 font-size: 16px; 1122 font-size: 16px;
1123 height: 44px; 1123 height: 44px;
1124 gap: 12px; 1124 gap: 12px;
1125 } 1125 }
1126 } 1126 }
1127 @media (min-width: 992px) { 1127 @media (min-width: 992px) {
1128 .button { 1128 .button {
1129 padding: 0 36px; 1129 padding: 0 36px;
1130 } 1130 }
1131 } 1131 }
1132 .button:hover { 1132 .button:hover {
1133 background: transparent; 1133 background: transparent;
1134 color: #377d87; 1134 color: #377d87;
1135 } 1135 }
1136 .button img, 1136 .button img,
1137 .button svg { 1137 .button svg {
1138 width: 12px; 1138 width: 12px;
1139 height: 12px; 1139 height: 12px;
1140 } 1140 }
1141 @media (min-width: 768px) { 1141 @media (min-width: 768px) {
1142 .button img, 1142 .button img,
1143 .button svg { 1143 .button svg {
1144 width: 18px; 1144 width: 18px;
1145 height: 18px; 1145 height: 18px;
1146 } 1146 }
1147 } 1147 }
1148 .button_more span + span { 1148 .button_more span + span {
1149 display: none; 1149 display: none;
1150 } 1150 }
1151 .button_more.active span { 1151 .button_more.active span {
1152 display: none; 1152 display: none;
1153 } 1153 }
1154 .button_more.active span + span { 1154 .button_more.active span + span {
1155 display: block; 1155 display: block;
1156 } 1156 }
1157 .button_light { 1157 .button_light {
1158 background: transparent; 1158 background: transparent;
1159 color: #377d87; 1159 color: #377d87;
1160 } 1160 }
1161 .button_light:hover { 1161 .button_light:hover {
1162 background: #377d87; 1162 background: #377d87;
1163 color: #fff; 1163 color: #fff;
1164 } 1164 }
1165 .button_whited { 1165 .button_whited {
1166 background: #fff; 1166 background: #fff;
1167 color: #377d87; 1167 color: #377d87;
1168 border-color: #fff; 1168 border-color: #fff;
1169 } 1169 }
1170 .button_whited:hover { 1170 .button_whited:hover {
1171 background: #377d87; 1171 background: #377d87;
1172 color: #fff; 1172 color: #fff;
1173 } 1173 }
1174 1174
1175 .search { 1175 .search {
1176 width: 100%; 1176 width: 100%;
1177 position: relative; 1177 position: relative;
1178 background: #fff; 1178 background: #fff;
1179 border-radius: 8px; 1179 border-radius: 8px;
1180 } 1180 }
1181 .search span { 1181 .search span {
1182 display: none; 1182 display: none;
1183 height: 28px; 1183 height: 28px;
1184 -webkit-box-align: center; 1184 -webkit-box-align: center;
1185 -ms-flex-align: center; 1185 -ms-flex-align: center;
1186 align-items: center; 1186 align-items: center;
1187 padding-right: 12px; 1187 padding-right: 12px;
1188 z-index: 1; 1188 z-index: 1;
1189 position: absolute; 1189 position: absolute;
1190 top: 50%; 1190 top: 50%;
1191 left: 15px; 1191 left: 15px;
1192 margin-top: -14px; 1192 margin-top: -14px;
1193 } 1193 }
1194 @media (min-width: 768px) { 1194 @media (min-width: 768px) {
1195 .search span { 1195 .search span {
1196 display: -webkit-box; 1196 display: -webkit-box;
1197 display: -ms-flexbox; 1197 display: -ms-flexbox;
1198 display: flex; 1198 display: flex;
1199 } 1199 }
1200 } 1200 }
1201 .search span:after { 1201 .search span:after {
1202 content: ""; 1202 content: "";
1203 width: 1px; 1203 width: 1px;
1204 height: 100%; 1204 height: 100%;
1205 border-radius: 999px; 1205 border-radius: 999px;
1206 position: absolute; 1206 position: absolute;
1207 top: 0; 1207 top: 0;
1208 right: 0; 1208 right: 0;
1209 background: #cecece; 1209 background: #cecece;
1210 } 1210 }
1211 .search span svg { 1211 .search span svg {
1212 color: #9c9d9d; 1212 color: #9c9d9d;
1213 width: 20px; 1213 width: 20px;
1214 height: 20px; 1214 height: 20px;
1215 } 1215 }
1216 .search input { 1216 .search input {
1217 width: 100%; 1217 width: 100%;
1218 padding-right: 150px; 1218 padding-right: 150px;
1219 position: relative; 1219 position: relative;
1220 z-index: 2; 1220 z-index: 2;
1221 background: none; 1221 background: none;
1222 } 1222 }
1223 @media (min-width: 768px) { 1223 @media (min-width: 768px) {
1224 .search input { 1224 .search input {
1225 padding-left: 60px; 1225 padding-left: 60px;
1226 padding-right: 220px; 1226 padding-right: 220px;
1227 } 1227 }
1228 } 1228 }
1229 .search button { 1229 .search button {
1230 width: 140px; 1230 width: 140px;
1231 position: absolute; 1231 position: absolute;
1232 padding: 0; 1232 padding: 0;
1233 top: 0; 1233 top: 0;
1234 right: 0; 1234 right: 0;
1235 z-index: 3; 1235 z-index: 3;
1236 } 1236 }
1237 @media (min-width: 768px) { 1237 @media (min-width: 768px) {
1238 .search button { 1238 .search button {
1239 width: 200px; 1239 width: 200px;
1240 } 1240 }
1241 } 1241 }
1242 1242
1243 .breadcrumbs { 1243 .breadcrumbs {
1244 display: -webkit-box; 1244 display: -webkit-box;
1245 display: -ms-flexbox; 1245 display: -ms-flexbox;
1246 display: flex; 1246 display: flex;
1247 -webkit-box-align: center; 1247 -webkit-box-align: center;
1248 -ms-flex-align: center; 1248 -ms-flex-align: center;
1249 align-items: center; 1249 align-items: center;
1250 -ms-flex-wrap: wrap; 1250 -ms-flex-wrap: wrap;
1251 flex-wrap: wrap; 1251 flex-wrap: wrap;
1252 gap: 12px 6px; 1252 gap: 12px 6px;
1253 margin: 0; 1253 margin: 0;
1254 padding: 0; 1254 padding: 0;
1255 font-size: 11px; 1255 font-size: 11px;
1256 color: #cecece; 1256 color: #cecece;
1257 line-height: 1; 1257 line-height: 1;
1258 } 1258 }
1259 @media (min-width: 992px) { 1259 @media (min-width: 992px) {
1260 .breadcrumbs { 1260 .breadcrumbs {
1261 font-size: 13px; 1261 font-size: 13px;
1262 } 1262 }
1263 } 1263 }
1264 @media (min-width: 1280px) { 1264 @media (min-width: 1280px) {
1265 .breadcrumbs { 1265 .breadcrumbs {
1266 font-size: 16px; 1266 font-size: 16px;
1267 } 1267 }
1268 } 1268 }
1269 .breadcrumbs li { 1269 .breadcrumbs li {
1270 display: -webkit-box; 1270 display: -webkit-box;
1271 display: -ms-flexbox; 1271 display: -ms-flexbox;
1272 display: flex; 1272 display: flex;
1273 -webkit-box-align: center; 1273 -webkit-box-align: center;
1274 -ms-flex-align: center; 1274 -ms-flex-align: center;
1275 align-items: center; 1275 align-items: center;
1276 gap: 6px; 1276 gap: 6px;
1277 } 1277 }
1278 .breadcrumbs li:before { 1278 .breadcrumbs li:before {
1279 content: ""; 1279 content: "";
1280 width: 4px; 1280 width: 4px;
1281 height: 4px; 1281 height: 4px;
1282 background: #cecece; 1282 background: #cecece;
1283 border-radius: 999px; 1283 border-radius: 999px;
1284 position: relative; 1284 position: relative;
1285 top: -1px; 1285 top: -1px;
1286 } 1286 }
1287 .breadcrumbs li:first-child:before { 1287 .breadcrumbs li:first-child:before {
1288 display: none; 1288 display: none;
1289 } 1289 }
1290 .breadcrumbs li:last-child:before { 1290 .breadcrumbs li:last-child:before {
1291 background: #377d87; 1291 background: #377d87;
1292 } 1292 }
1293 .breadcrumbs a:hover { 1293 .breadcrumbs a:hover {
1294 color: #377d87; 1294 color: #377d87;
1295 } 1295 }
1296 .breadcrumbs b { 1296 .breadcrumbs b {
1297 color: #377d87; 1297 color: #377d87;
1298 font-weight: 700; 1298 font-weight: 700;
1299 } 1299 }
1300 1300
1301 .pagination { 1301 .pagination {
1302 display: -webkit-box; 1302 display: -webkit-box;
1303 display: -ms-flexbox; 1303 display: -ms-flexbox;
1304 display: flex; 1304 display: flex;
1305 -webkit-box-align: center; 1305 -webkit-box-align: center;
1306 -ms-flex-align: center; 1306 -ms-flex-align: center;
1307 align-items: center; 1307 align-items: center;
1308 -webkit-box-pack: center; 1308 -webkit-box-pack: center;
1309 -ms-flex-pack: center; 1309 -ms-flex-pack: center;
1310 justify-content: center; 1310 justify-content: center;
1311 -ms-flex-wrap: wrap; 1311 -ms-flex-wrap: wrap;
1312 flex-wrap: wrap; 1312 flex-wrap: wrap;
1313 line-height: 1; 1313 line-height: 1;
1314 color: #000; 1314 color: #000;
1315 font-size: 12px; 1315 font-size: 12px;
1316 margin: 0 auto; 1316 margin: 0 auto;
1317 } 1317 }
1318 @media (min-width: 768px) { 1318 @media (min-width: 768px) {
1319 .pagination { 1319 .pagination {
1320 font-size: 14px; 1320 font-size: 14px;
1321 gap: 3px; 1321 gap: 3px;
1322 } 1322 }
1323 } 1323 }
1324 .pagination__item { 1324 .pagination__item {
1325 width: 40px; 1325 width: 40px;
1326 height: 40px; 1326 height: 40px;
1327 display: -webkit-box; 1327 display: -webkit-box;
1328 display: -ms-flexbox; 1328 display: -ms-flexbox;
1329 display: flex; 1329 display: flex;
1330 -webkit-box-pack: center; 1330 -webkit-box-pack: center;
1331 -ms-flex-pack: center; 1331 -ms-flex-pack: center;
1332 justify-content: center; 1332 justify-content: center;
1333 -webkit-box-align: center; 1333 -webkit-box-align: center;
1334 -ms-flex-align: center; 1334 -ms-flex-align: center;
1335 align-items: center; 1335 align-items: center;
1336 background: none; 1336 background: none;
1337 padding: 0; 1337 padding: 0;
1338 border: 1px solid transparent; 1338 border: 1px solid transparent;
1339 border-radius: 8px; 1339 border-radius: 8px;
1340 } 1340 }
1341 .pagination__item:hover { 1341 .pagination__item:hover {
1342 -webkit-transition: 0s; 1342 -webkit-transition: 0s;
1343 transition: 0s; 1343 transition: 0s;
1344 color: #377d87; 1344 color: #377d87;
1345 font-weight: 700; 1345 font-weight: 700;
1346 } 1346 }
1347 .pagination__item.active { 1347 .pagination__item.active {
1348 font-weight: 700; 1348 font-weight: 700;
1349 color: #fff; 1349 color: #fff;
1350 background: #377d87; 1350 background: #377d87;
1351 border-color: #377d87; 1351 border-color: #377d87;
1352 } 1352 }
1353 .pagination__dots { 1353 .pagination__dots {
1354 width: 40px; 1354 width: 40px;
1355 height: 40px; 1355 height: 40px;
1356 display: -webkit-box; 1356 display: -webkit-box;
1357 display: -ms-flexbox; 1357 display: -ms-flexbox;
1358 display: flex; 1358 display: flex;
1359 -webkit-box-pack: center; 1359 -webkit-box-pack: center;
1360 -ms-flex-pack: center; 1360 -ms-flex-pack: center;
1361 justify-content: center; 1361 justify-content: center;
1362 -webkit-box-align: center; 1362 -webkit-box-align: center;
1363 -ms-flex-align: center; 1363 -ms-flex-align: center;
1364 align-items: center; 1364 align-items: center;
1365 } 1365 }
1366 .pagination__dots svg { 1366 .pagination__dots svg {
1367 width: 15px; 1367 width: 15px;
1368 height: 15px; 1368 height: 15px;
1369 } 1369 }
1370 .pagination__nav { 1370 .pagination__nav {
1371 width: 40px; 1371 width: 40px;
1372 height: 40px; 1372 height: 40px;
1373 display: none; 1373 display: none;
1374 -webkit-box-pack: center; 1374 -webkit-box-pack: center;
1375 -ms-flex-pack: center; 1375 -ms-flex-pack: center;
1376 justify-content: center; 1376 justify-content: center;
1377 -webkit-box-align: center; 1377 -webkit-box-align: center;
1378 -ms-flex-align: center; 1378 -ms-flex-align: center;
1379 align-items: center; 1379 align-items: center;
1380 background: none; 1380 background: none;
1381 padding: 0; 1381 padding: 0;
1382 border: 1px solid #cddee1; 1382 border: 1px solid #cddee1;
1383 color: #377d87; 1383 color: #377d87;
1384 border-radius: 8px; 1384 border-radius: 8px;
1385 } 1385 }
1386 @media (min-width: 768px) { 1386 @media (min-width: 768px) {
1387 .pagination__nav { 1387 .pagination__nav {
1388 display: -webkit-box; 1388 display: -webkit-box;
1389 display: -ms-flexbox; 1389 display: -ms-flexbox;
1390 display: flex; 1390 display: flex;
1391 } 1391 }
1392 } 1392 }
1393 .pagination__nav:hover { 1393 .pagination__nav:hover {
1394 border-color: #377d87; 1394 border-color: #377d87;
1395 background: #377d87; 1395 background: #377d87;
1396 color: #fff; 1396 color: #fff;
1397 } 1397 }
1398 .pagination__nav svg { 1398 .pagination__nav svg {
1399 width: 10px; 1399 width: 10px;
1400 height: 10px; 1400 height: 10px;
1401 } 1401 }
1402 .pagination__nav_prev { 1402 .pagination__nav_prev {
1403 margin-right: 37px; 1403 margin-right: 37px;
1404 } 1404 }
1405 .pagination__nav_prev svg { 1405 .pagination__nav_prev svg {
1406 -webkit-transform: rotate(180deg); 1406 -webkit-transform: rotate(180deg);
1407 -ms-transform: rotate(180deg); 1407 -ms-transform: rotate(180deg);
1408 transform: rotate(180deg); 1408 transform: rotate(180deg);
1409 } 1409 }
1410 .pagination__nav_next { 1410 .pagination__nav_next {
1411 margin-left: 37px; 1411 margin-left: 37px;
1412 } 1412 }
1413 1413
1414 .filters { 1414 .filters {
1415 display: -webkit-box; 1415 display: -webkit-box;
1416 display: -ms-flexbox; 1416 display: -ms-flexbox;
1417 display: flex; 1417 display: flex;
1418 -webkit-box-orient: vertical; 1418 -webkit-box-orient: vertical;
1419 -webkit-box-direction: normal; 1419 -webkit-box-direction: normal;
1420 -ms-flex-direction: column; 1420 -ms-flex-direction: column;
1421 flex-direction: column; 1421 flex-direction: column;
1422 gap: 10px; 1422 gap: 10px;
1423 } 1423 }
1424 @media (min-width: 768px) { 1424 @media (min-width: 768px) {
1425 .filters { 1425 .filters {
1426 -webkit-box-orient: horizontal; 1426 -webkit-box-orient: horizontal;
1427 -webkit-box-direction: normal; 1427 -webkit-box-direction: normal;
1428 -ms-flex-direction: row; 1428 -ms-flex-direction: row;
1429 flex-direction: row; 1429 flex-direction: row;
1430 -webkit-box-align: center; 1430 -webkit-box-align: center;
1431 -ms-flex-align: center; 1431 -ms-flex-align: center;
1432 align-items: center; 1432 align-items: center;
1433 -webkit-box-pack: justify; 1433 -webkit-box-pack: justify;
1434 -ms-flex-pack: justify; 1434 -ms-flex-pack: justify;
1435 justify-content: space-between; 1435 justify-content: space-between;
1436 } 1436 }
1437 } 1437 }
1438 .filters__label { 1438 .filters__label {
1439 color: #377d87; 1439 color: #377d87;
1440 font-size: 12px; 1440 font-size: 12px;
1441 font-weight: 700; 1441 font-weight: 700;
1442 } 1442 }
1443 @media (min-width: 768px) { 1443 @media (min-width: 768px) {
1444 .filters__label { 1444 .filters__label {
1445 font-size: 16px; 1445 font-size: 16px;
1446 } 1446 }
1447 } 1447 }
1448 @media (min-width: 992px) { 1448 @media (min-width: 992px) {
1449 .filters__label { 1449 .filters__label {
1450 font-size: 18px; 1450 font-size: 18px;
1451 } 1451 }
1452 } 1452 }
1453 .filters__body { 1453 .filters__body {
1454 display: -webkit-box; 1454 display: -webkit-box;
1455 display: -ms-flexbox; 1455 display: -ms-flexbox;
1456 display: flex; 1456 display: flex;
1457 -webkit-box-orient: vertical; 1457 -webkit-box-orient: vertical;
1458 -webkit-box-direction: normal; 1458 -webkit-box-direction: normal;
1459 -ms-flex-direction: column; 1459 -ms-flex-direction: column;
1460 flex-direction: column; 1460 flex-direction: column;
1461 } 1461 }
1462 @media (min-width: 768px) { 1462 @media (min-width: 768px) {
1463 .filters__body { 1463 .filters__body {
1464 -webkit-box-orient: horizontal; 1464 -webkit-box-orient: horizontal;
1465 -webkit-box-direction: normal; 1465 -webkit-box-direction: normal;
1466 -ms-flex-direction: row; 1466 -ms-flex-direction: row;
1467 flex-direction: row; 1467 flex-direction: row;
1468 -webkit-box-align: center; 1468 -webkit-box-align: center;
1469 -ms-flex-align: center; 1469 -ms-flex-align: center;
1470 align-items: center; 1470 align-items: center;
1471 } 1471 }
1472 } 1472 }
1473 @media (min-width: 768px) { 1473 @media (min-width: 768px) {
1474 .filters__select { 1474 .filters__select {
1475 width: 250px; 1475 width: 250px;
1476 } 1476 }
1477 } 1477 }
1478 @media (min-width: 992px) { 1478 @media (min-width: 992px) {
1479 .filters__select { 1479 .filters__select {
1480 width: 310px; 1480 width: 310px;
1481 } 1481 }
1482 } 1482 }
1483 .filters__item { 1483 .filters__item {
1484 display: none; 1484 display: none;
1485 -webkit-box-pack: center; 1485 -webkit-box-pack: center;
1486 -ms-flex-pack: center; 1486 -ms-flex-pack: center;
1487 justify-content: center; 1487 justify-content: center;
1488 -webkit-box-align: center; 1488 -webkit-box-align: center;
1489 -ms-flex-align: center; 1489 -ms-flex-align: center;
1490 align-items: center; 1490 align-items: center;
1491 width: 50px; 1491 width: 50px;
1492 height: 50px; 1492 height: 50px;
1493 padding: 0; 1493 padding: 0;
1494 background: #fff; 1494 background: #fff;
1495 border: 1px solid #377d87; 1495 border: 1px solid #377d87;
1496 color: #377d87; 1496 color: #377d87;
1497 border-radius: 8px; 1497 border-radius: 8px;
1498 margin-left: 20px; 1498 margin-left: 20px;
1499 } 1499 }
1500 @media (min-width: 768px) { 1500 @media (min-width: 768px) {
1501 .filters__item { 1501 .filters__item {
1502 display: -webkit-box; 1502 display: -webkit-box;
1503 display: -ms-flexbox; 1503 display: -ms-flexbox;
1504 display: flex; 1504 display: flex;
1505 } 1505 }
1506 } 1506 }
1507 .filters__item svg { 1507 .filters__item svg {
1508 width: 24px; 1508 width: 24px;
1509 height: 24px; 1509 height: 24px;
1510 } 1510 }
1511 .filters__item.active { 1511 .filters__item.active {
1512 background: #377d87; 1512 background: #377d87;
1513 color: #fff; 1513 color: #fff;
1514 } 1514 }
1515 .filters__item + .filters__item { 1515 .filters__item + .filters__item {
1516 margin-left: 8px; 1516 margin-left: 8px;
1517 } 1517 }
1518 1518
1519 .like, 1519 .like,
1520 .chat { 1520 .chat {
1521 width: 30px; 1521 width: 30px;
1522 height: 30px; 1522 height: 30px;
1523 display: -webkit-box; 1523 display: -webkit-box;
1524 display: -ms-flexbox; 1524 display: -ms-flexbox;
1525 display: flex; 1525 display: flex;
1526 -webkit-box-pack: center; 1526 -webkit-box-pack: center;
1527 -ms-flex-pack: center; 1527 -ms-flex-pack: center;
1528 justify-content: center; 1528 justify-content: center;
1529 -webkit-box-align: center; 1529 -webkit-box-align: center;
1530 -ms-flex-align: center; 1530 -ms-flex-align: center;
1531 align-items: center; 1531 align-items: center;
1532 background: none; 1532 background: none;
1533 border: 1px solid #377d87; 1533 border: 1px solid #377d87;
1534 padding: 0; 1534 padding: 0;
1535 color: #377d87; 1535 color: #377d87;
1536 border-radius: 6px; 1536 border-radius: 6px;
1537 } 1537 }
1538 @media (min-width: 768px) { 1538 @media (min-width: 768px) {
1539 .like, 1539 .like,
1540 .chat { 1540 .chat {
1541 width: 44px; 1541 width: 44px;
1542 height: 44px; 1542 height: 44px;
1543 } 1543 }
1544 } 1544 }
1545 .like.active, 1545 .like.active,
1546 .chat.active { 1546 .chat.active {
1547 background: #377d87; 1547 background: #377d87;
1548 color: #fff; 1548 color: #fff;
1549 } 1549 }
1550 .like svg, 1550 .like svg,
1551 .chat svg { 1551 .chat svg {
1552 width: 14px; 1552 width: 14px;
1553 height: 14px; 1553 height: 14px;
1554 } 1554 }
1555 @media (min-width: 768px) { 1555 @media (min-width: 768px) {
1556 .like svg, 1556 .like svg,
1557 .chat svg { 1557 .chat svg {
1558 width: 20px; 1558 width: 20px;
1559 height: 20px; 1559 height: 20px;
1560 } 1560 }
1561 } 1561 }
1562 1562
1563 .like.active { 1563 .like.active {
1564 background: #eb5757; 1564 background: #eb5757;
1565 border-color: #eb5757; 1565 border-color: #eb5757;
1566 } 1566 }
1567 1567
1568 .checkbox { 1568 .checkbox {
1569 display: -webkit-box; 1569 display: -webkit-box;
1570 display: -ms-flexbox; 1570 display: -ms-flexbox;
1571 display: flex; 1571 display: flex;
1572 -webkit-box-align: start; 1572 -webkit-box-align: start;
1573 -ms-flex-align: start; 1573 -ms-flex-align: start;
1574 align-items: flex-start; 1574 align-items: flex-start;
1575 cursor: pointer; 1575 cursor: pointer;
1576 position: relative; 1576 position: relative;
1577 } 1577 }
1578 .checkbox__input { 1578 .checkbox__input {
1579 position: absolute; 1579 position: absolute;
1580 z-index: 1; 1580 z-index: 1;
1581 width: 14px; 1581 width: 14px;
1582 height: 14px; 1582 height: 14px;
1583 padding: 0; 1583 padding: 0;
1584 background: none; 1584 background: none;
1585 border: none; 1585 border: none;
1586 opacity: 0; 1586 opacity: 0;
1587 } 1587 }
1588 @media (min-width: 768px) { 1588 @media (min-width: 768px) {
1589 .checkbox__input { 1589 .checkbox__input {
1590 width: 20px; 1590 width: 20px;
1591 height: 20px; 1591 height: 20px;
1592 } 1592 }
1593 } 1593 }
1594 .checkbox__icon { 1594 .checkbox__icon {
1595 width: 14px; 1595 width: 14px;
1596 height: 14px; 1596 height: 14px;
1597 border: 1px solid #cfcfcf; 1597 border: 1px solid #cfcfcf;
1598 background: #fff; 1598 background: #fff;
1599 color: #fff; 1599 color: #fff;
1600 display: -webkit-box; 1600 display: -webkit-box;
1601 display: -ms-flexbox; 1601 display: -ms-flexbox;
1602 display: flex; 1602 display: flex;
1603 -webkit-box-pack: center; 1603 -webkit-box-pack: center;
1604 -ms-flex-pack: center; 1604 -ms-flex-pack: center;
1605 justify-content: center; 1605 justify-content: center;
1606 -webkit-box-align: center; 1606 -webkit-box-align: center;
1607 -ms-flex-align: center; 1607 -ms-flex-align: center;
1608 align-items: center; 1608 align-items: center;
1609 border-radius: 4px; 1609 border-radius: 4px;
1610 -webkit-transition: 0.3s; 1610 -webkit-transition: 0.3s;
1611 transition: 0.3s; 1611 transition: 0.3s;
1612 position: relative; 1612 position: relative;
1613 z-index: 2; 1613 z-index: 2;
1614 } 1614 }
1615 @media (min-width: 768px) { 1615 @media (min-width: 768px) {
1616 .checkbox__icon { 1616 .checkbox__icon {
1617 width: 20px; 1617 width: 20px;
1618 height: 20px; 1618 height: 20px;
1619 } 1619 }
1620 } 1620 }
1621 .checkbox__icon svg { 1621 .checkbox__icon svg {
1622 width: 8px; 1622 width: 8px;
1623 height: 8px; 1623 height: 8px;
1624 opacity: 0; 1624 opacity: 0;
1625 } 1625 }
1626 @media (min-width: 768px) { 1626 @media (min-width: 768px) {
1627 .checkbox__icon svg { 1627 .checkbox__icon svg {
1628 width: 10px; 1628 width: 10px;
1629 height: 10px; 1629 height: 10px;
1630 } 1630 }
1631 } 1631 }
1632 .checkbox__input:checked + .checkbox__icon { 1632 .checkbox__input:checked + .checkbox__icon {
1633 border-color: #377d87; 1633 border-color: #377d87;
1634 background: #377d87; 1634 background: #377d87;
1635 } 1635 }
1636 .checkbox__input:checked + .checkbox__icon svg { 1636 .checkbox__input:checked + .checkbox__icon svg {
1637 opacity: 1; 1637 opacity: 1;
1638 } 1638 }
1639 .checkbox__text { 1639 .checkbox__text {
1640 width: calc(100% - 14px); 1640 width: calc(100% - 14px);
1641 padding-left: 6px; 1641 padding-left: 6px;
1642 font-size: 12px; 1642 font-size: 12px;
1643 line-height: 1; 1643 line-height: 1;
1644 display: -webkit-box; 1644 display: -webkit-box;
1645 display: -ms-flexbox; 1645 display: -ms-flexbox;
1646 display: flex; 1646 display: flex;
1647 -webkit-box-align: center; 1647 -webkit-box-align: center;
1648 -ms-flex-align: center; 1648 -ms-flex-align: center;
1649 align-items: center; 1649 align-items: center;
1650 min-height: 14px; 1650 min-height: 14px;
1651 } 1651 }
1652 @media (min-width: 768px) { 1652 @media (min-width: 768px) {
1653 .checkbox__text { 1653 .checkbox__text {
1654 width: calc(100% - 20px); 1654 width: calc(100% - 20px);
1655 padding-left: 12px; 1655 padding-left: 12px;
1656 font-size: 15px; 1656 font-size: 15px;
1657 min-height: 20px; 1657 min-height: 20px;
1658 } 1658 }
1659 } 1659 }
1660 .checkbox__text a { 1660 .checkbox__text a {
1661 color: #377d87; 1661 color: #377d87;
1662 text-decoration: underline; 1662 text-decoration: underline;
1663 } 1663 }
1664 1664
1665 .file { 1665 .file {
1666 display: -webkit-box; 1666 display: -webkit-box;
1667 display: -ms-flexbox; 1667 display: -ms-flexbox;
1668 display: flex; 1668 display: flex;
1669 -webkit-box-orient: vertical; 1669 -webkit-box-orient: vertical;
1670 -webkit-box-direction: normal; 1670 -webkit-box-direction: normal;
1671 -ms-flex-direction: column; 1671 -ms-flex-direction: column;
1672 flex-direction: column; 1672 flex-direction: column;
1673 } 1673 }
1674 .file__input input { 1674 .file__input input {
1675 display: none; 1675 display: none;
1676 } 1676 }
1677 .file__list { 1677 .file__list {
1678 display: -webkit-box; 1678 display: -webkit-box;
1679 display: -ms-flexbox; 1679 display: -ms-flexbox;
1680 display: flex; 1680 display: flex;
1681 -webkit-box-orient: vertical; 1681 -webkit-box-orient: vertical;
1682 -webkit-box-direction: normal; 1682 -webkit-box-direction: normal;
1683 -ms-flex-direction: column; 1683 -ms-flex-direction: column;
1684 flex-direction: column; 1684 flex-direction: column;
1685 } 1685 }
1686 .file__list-item { 1686 .file__list-item {
1687 display: -webkit-box; 1687 display: -webkit-box;
1688 display: -ms-flexbox; 1688 display: -ms-flexbox;
1689 display: flex; 1689 display: flex;
1690 -webkit-box-align: start; 1690 -webkit-box-align: start;
1691 -ms-flex-align: start; 1691 -ms-flex-align: start;
1692 align-items: flex-start; 1692 align-items: flex-start;
1693 margin-top: 16px; 1693 margin-top: 16px;
1694 } 1694 }
1695 .file__list-item-left { 1695 .file__list-item-left {
1696 width: calc(100% - 16px); 1696 width: calc(100% - 16px);
1697 min-height: 16px; 1697 min-height: 16px;
1698 color: #9c9d9d; 1698 color: #9c9d9d;
1699 font-size: 12px; 1699 font-size: 12px;
1700 display: -webkit-box; 1700 display: -webkit-box;
1701 display: -ms-flexbox; 1701 display: -ms-flexbox;
1702 display: flex; 1702 display: flex;
1703 -webkit-box-align: start; 1703 -webkit-box-align: start;
1704 -ms-flex-align: start; 1704 -ms-flex-align: start;
1705 align-items: flex-start; 1705 align-items: flex-start;
1706 } 1706 }
1707 @media (min-width: 768px) { 1707 @media (min-width: 768px) {
1708 .file__list-item-left { 1708 .file__list-item-left {
1709 width: auto; 1709 width: auto;
1710 max-width: calc(100% - 16px); 1710 max-width: calc(100% - 16px);
1711 font-size: 16px; 1711 font-size: 16px;
1712 } 1712 }
1713 } 1713 }
1714 .file__list-item-left svg { 1714 .file__list-item-left svg {
1715 width: 16px; 1715 width: 16px;
1716 height: 16px; 1716 height: 16px;
1717 } 1717 }
1718 .file__list-item-left span { 1718 .file__list-item-left span {
1719 width: calc(100% - 16px); 1719 width: calc(100% - 16px);
1720 min-height: 16px; 1720 min-height: 16px;
1721 display: -webkit-box; 1721 display: -webkit-box;
1722 display: -ms-flexbox; 1722 display: -ms-flexbox;
1723 display: flex; 1723 display: flex;
1724 -webkit-box-align: center; 1724 -webkit-box-align: center;
1725 -ms-flex-align: center; 1725 -ms-flex-align: center;
1726 align-items: center; 1726 align-items: center;
1727 padding: 0 8px; 1727 padding: 0 8px;
1728 } 1728 }
1729 .file__list-item-right { 1729 .file__list-item-right {
1730 display: -webkit-box; 1730 display: -webkit-box;
1731 display: -ms-flexbox; 1731 display: -ms-flexbox;
1732 display: flex; 1732 display: flex;
1733 -webkit-box-pack: center; 1733 -webkit-box-pack: center;
1734 -ms-flex-pack: center; 1734 -ms-flex-pack: center;
1735 justify-content: center; 1735 justify-content: center;
1736 -webkit-box-align: center; 1736 -webkit-box-align: center;
1737 -ms-flex-align: center; 1737 -ms-flex-align: center;
1738 align-items: center; 1738 align-items: center;
1739 padding: 0; 1739 padding: 0;
1740 background: none; 1740 background: none;
1741 border: none; 1741 border: none;
1742 width: 16px; 1742 width: 16px;
1743 height: 16px; 1743 height: 16px;
1744 color: #377d87; 1744 color: #377d87;
1745 } 1745 }
1746 .file__list-item-right:hover { 1746 .file__list-item-right:hover {
1747 color: #000; 1747 color: #000;
1748 } 1748 }
1749 .file__list-item-right svg { 1749 .file__list-item-right svg {
1750 width: 10px; 1750 width: 10px;
1751 height: 10px; 1751 height: 10px;
1752 } 1752 }
1753 .file__list-item + .file__list-item { 1753 .file__list-item + .file__list-item {
1754 margin-top: 10px; 1754 margin-top: 10px;
1755 } 1755 }
1756 1756
1757 .rate { 1757 .rate {
1758 display: -webkit-box; 1758 display: -webkit-box;
1759 display: -ms-flexbox; 1759 display: -ms-flexbox;
1760 display: flex; 1760 display: flex;
1761 -webkit-box-align: center; 1761 -webkit-box-align: center;
1762 -ms-flex-align: center; 1762 -ms-flex-align: center;
1763 align-items: center; 1763 align-items: center;
1764 gap: 10px; 1764 gap: 10px;
1765 } 1765 }
1766 @media (min-width: 768px) { 1766 @media (min-width: 768px) {
1767 .rate { 1767 .rate {
1768 gap: 20px; 1768 gap: 20px;
1769 } 1769 }
1770 } 1770 }
1771 .rate__label { 1771 .rate__label {
1772 font-size: 12px; 1772 font-size: 12px;
1773 font-weight: 700; 1773 font-weight: 700;
1774 line-height: 1; 1774 line-height: 1;
1775 } 1775 }
1776 @media (min-width: 768px) { 1776 @media (min-width: 768px) {
1777 .rate__label { 1777 .rate__label {
1778 font-size: 18px; 1778 font-size: 18px;
1779 } 1779 }
1780 } 1780 }
1781 .rate__stars { 1781 .rate__stars {
1782 display: -webkit-box; 1782 display: -webkit-box;
1783 display: -ms-flexbox; 1783 display: -ms-flexbox;
1784 display: flex; 1784 display: flex;
1785 -webkit-box-orient: vertical; 1785 -webkit-box-orient: vertical;
1786 -webkit-box-direction: normal; 1786 -webkit-box-direction: normal;
1787 -ms-flex-direction: column; 1787 -ms-flex-direction: column;
1788 flex-direction: column; 1788 flex-direction: column;
1789 } 1789 }
1790 1790
1791 .back { 1791 .back {
1792 display: -webkit-box; 1792 display: -webkit-box;
1793 display: -ms-flexbox; 1793 display: -ms-flexbox;
1794 display: flex; 1794 display: flex;
1795 -webkit-box-align: center; 1795 -webkit-box-align: center;
1796 -ms-flex-align: center; 1796 -ms-flex-align: center;
1797 align-items: center; 1797 align-items: center;
1798 font-size: 14px; 1798 font-size: 14px;
1799 color: #377d87; 1799 color: #377d87;
1800 font-weight: 700; 1800 font-weight: 700;
1801 } 1801 }
1802 @media (min-width: 768px) { 1802 @media (min-width: 768px) {
1803 .back { 1803 .back {
1804 font-size: 18px; 1804 font-size: 18px;
1805 } 1805 }
1806 } 1806 }
1807 .back:hover { 1807 .back:hover {
1808 color: #4d88d9; 1808 color: #4d88d9;
1809 } 1809 }
1810 .back svg { 1810 .back svg {
1811 width: 16px; 1811 width: 16px;
1812 height: 16px; 1812 height: 16px;
1813 } 1813 }
1814 @media (min-width: 768px) { 1814 @media (min-width: 768px) {
1815 .back svg { 1815 .back svg {
1816 width: 26px; 1816 width: 26px;
1817 height: 26px; 1817 height: 26px;
1818 } 1818 }
1819 } 1819 }
1820 .back span { 1820 .back span {
1821 width: calc(100% - 16px); 1821 width: calc(100% - 16px);
1822 padding-left: 10px; 1822 padding-left: 10px;
1823 } 1823 }
1824 @media (min-width: 768px) { 1824 @media (min-width: 768px) {
1825 .back span { 1825 .back span {
1826 width: calc(100% - 26px); 1826 width: calc(100% - 26px);
1827 padding-left: 20px; 1827 padding-left: 20px;
1828 } 1828 }
1829 } 1829 }
1830 1830
1831 .callback { 1831 .callback {
1832 display: -webkit-box; 1832 display: -webkit-box;
1833 display: -ms-flexbox; 1833 display: -ms-flexbox;
1834 display: flex; 1834 display: flex;
1835 -webkit-box-orient: vertical; 1835 -webkit-box-orient: vertical;
1836 -webkit-box-direction: normal; 1836 -webkit-box-direction: normal;
1837 -ms-flex-direction: column; 1837 -ms-flex-direction: column;
1838 flex-direction: column; 1838 flex-direction: column;
1839 gap: 16px; 1839 gap: 16px;
1840 } 1840 }
1841 @media (min-width: 992px) { 1841 @media (min-width: 992px) {
1842 .callback { 1842 .callback {
1843 -webkit-box-orient: horizontal; 1843 -webkit-box-orient: horizontal;
1844 -webkit-box-direction: normal; 1844 -webkit-box-direction: normal;
1845 -ms-flex-direction: row; 1845 -ms-flex-direction: row;
1846 flex-direction: row; 1846 flex-direction: row;
1847 -webkit-box-pack: justify; 1847 -webkit-box-pack: justify;
1848 -ms-flex-pack: justify; 1848 -ms-flex-pack: justify;
1849 justify-content: space-between; 1849 justify-content: space-between;
1850 -ms-flex-wrap: wrap; 1850 -ms-flex-wrap: wrap;
1851 flex-wrap: wrap; 1851 flex-wrap: wrap;
1852 gap: 20px 0; 1852 gap: 20px 0;
1853 } 1853 }
1854 } 1854 }
1855 .callback__body { 1855 .callback__body {
1856 display: -webkit-box; 1856 display: -webkit-box;
1857 display: -ms-flexbox; 1857 display: -ms-flexbox;
1858 display: flex; 1858 display: flex;
1859 -webkit-box-orient: vertical; 1859 -webkit-box-orient: vertical;
1860 -webkit-box-direction: normal; 1860 -webkit-box-direction: normal;
1861 -ms-flex-direction: column; 1861 -ms-flex-direction: column;
1862 flex-direction: column; 1862 flex-direction: column;
1863 gap: 16px; 1863 gap: 16px;
1864 } 1864 }
1865 @media (min-width: 992px) { 1865 @media (min-width: 992px) {
1866 .callback__body { 1866 .callback__body {
1867 width: calc(50% - 10px); 1867 width: calc(50% - 10px);
1868 gap: 10px; 1868 gap: 10px;
1869 } 1869 }
1870 } 1870 }
1871 @media (min-width: 992px) { 1871 @media (min-width: 992px) {
1872 .callback__textarea { 1872 .callback__textarea {
1873 width: calc(50% - 10px); 1873 width: calc(50% - 10px);
1874 height: auto; 1874 height: auto;
1875 } 1875 }
1876 } 1876 }
1877 .callback__bottom { 1877 .callback__bottom {
1878 display: -webkit-box; 1878 display: -webkit-box;
1879 display: -ms-flexbox; 1879 display: -ms-flexbox;
1880 display: flex; 1880 display: flex;
1881 -webkit-box-orient: vertical; 1881 -webkit-box-orient: vertical;
1882 -webkit-box-direction: normal; 1882 -webkit-box-direction: normal;
1883 -ms-flex-direction: column; 1883 -ms-flex-direction: column;
1884 flex-direction: column; 1884 flex-direction: column;
1885 gap: 16px; 1885 gap: 16px;
1886 } 1886 }
1887 @media (min-width: 768px) { 1887 @media (min-width: 768px) {
1888 .callback__bottom { 1888 .callback__bottom {
1889 -webkit-box-align: start; 1889 -webkit-box-align: start;
1890 -ms-flex-align: start; 1890 -ms-flex-align: start;
1891 align-items: flex-start; 1891 align-items: flex-start;
1892 } 1892 }
1893 } 1893 }
1894 @media (min-width: 992px) { 1894 @media (min-width: 992px) {
1895 .callback__bottom { 1895 .callback__bottom {
1896 width: 100%; 1896 width: 100%;
1897 gap: 20px; 1897 gap: 20px;
1898 } 1898 }
1899 } 1899 }
1900 1900
1901 .error .input, 1901 .error .input,
1902 .error .textarea { 1902 .error .textarea {
1903 border-color: #eb5757; 1903 border-color: #eb5757;
1904 } 1904 }
1905 .error label { 1905 .error label {
1906 display: block; 1906 display: block;
1907 } 1907 }
1908 1908
1909 .eye { 1909 .eye {
1910 position: absolute; 1910 position: absolute;
1911 z-index: 2; 1911 z-index: 2;
1912 top: 50%; 1912 top: 50%;
1913 -webkit-transform: translate(0, -50%); 1913 -webkit-transform: translate(0, -50%);
1914 -ms-transform: translate(0, -50%); 1914 -ms-transform: translate(0, -50%);
1915 transform: translate(0, -50%); 1915 transform: translate(0, -50%);
1916 right: 10px; 1916 right: 10px;
1917 aspect-ratio: 1/1; 1917 aspect-ratio: 1/1;
1918 width: 16px; 1918 width: 16px;
1919 padding: 0; 1919 padding: 0;
1920 border: none; 1920 border: none;
1921 background: none; 1921 background: none;
1922 color: #9c9d9d; 1922 color: #9c9d9d;
1923 } 1923 }
1924 @media (min-width: 768px) { 1924 @media (min-width: 768px) {
1925 .eye { 1925 .eye {
1926 width: 24px; 1926 width: 24px;
1927 right: 20px; 1927 right: 20px;
1928 } 1928 }
1929 } 1929 }
1930 .eye svg { 1930 .eye svg {
1931 position: absolute; 1931 position: absolute;
1932 top: 0; 1932 top: 0;
1933 left: 0; 1933 left: 0;
1934 width: 100%; 1934 width: 100%;
1935 height: 100%; 1935 height: 100%;
1936 } 1936 }
1937 .eye svg + svg { 1937 .eye svg + svg {
1938 display: none; 1938 display: none;
1939 } 1939 }
1940 .eye.active { 1940 .eye.active {
1941 color: #377d87; 1941 color: #377d87;
1942 } 1942 }
1943 .eye.active svg { 1943 .eye.active svg {
1944 display: none; 1944 display: none;
1945 } 1945 }
1946 .eye.active svg + svg { 1946 .eye.active svg + svg {
1947 display: block; 1947 display: block;
1948 } 1948 }
1949 1949
1950 .del { 1950 .del {
1951 width: 32px; 1951 width: 32px;
1952 aspect-ratio: 1/1; 1952 aspect-ratio: 1/1;
1953 background: #377d87; 1953 background: #377d87;
1954 color: #fff; 1954 color: #fff;
1955 display: -webkit-box; 1955 display: -webkit-box;
1956 display: -ms-flexbox; 1956 display: -ms-flexbox;
1957 display: flex; 1957 display: flex;
1958 -webkit-box-pack: center; 1958 -webkit-box-pack: center;
1959 -ms-flex-pack: center; 1959 -ms-flex-pack: center;
1960 justify-content: center; 1960 justify-content: center;
1961 -webkit-box-align: center; 1961 -webkit-box-align: center;
1962 -ms-flex-align: center; 1962 -ms-flex-align: center;
1963 align-items: center; 1963 align-items: center;
1964 border-radius: 8px; 1964 border-radius: 8px;
1965 padding: 0; 1965 padding: 0;
1966 border: 1px solid #377d87; 1966 border: 1px solid #377d87;
1967 } 1967 }
1968 .del:hover { 1968 .del:hover {
1969 background: #fff; 1969 background: #fff;
1970 color: #377d87; 1970 color: #377d87;
1971 } 1971 }
1972 .del svg { 1972 .del svg {
1973 width: 50%; 1973 width: 50%;
1974 aspect-ratio: 1/1; 1974 aspect-ratio: 1/1;
1975 } 1975 }
1976 1976
1977 .notify { 1977 .notify {
1978 background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); 1978 background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%);
1979 padding: 6px 12px; 1979 padding: 6px 12px;
1980 border-radius: 8px; 1980 border-radius: 8px;
1981 display: -webkit-box; 1981 display: -webkit-box;
1982 display: -ms-flexbox; 1982 display: -ms-flexbox;
1983 display: flex; 1983 display: flex;
1984 -webkit-box-align: start; 1984 -webkit-box-align: start;
1985 -ms-flex-align: start; 1985 -ms-flex-align: start;
1986 align-items: flex-start; 1986 align-items: flex-start;
1987 } 1987 }
1988 @media (min-width: 768px) { 1988 @media (min-width: 768px) {
1989 .notify { 1989 .notify {
1990 padding: 12px 20px; 1990 padding: 12px 20px;
1991 } 1991 }
1992 } 1992 }
1993 .notify_red { 1993 .notify_red {
1994 background: #f9cdcd; 1994 background: #f9cdcd;
1995 } 1995 }
1996 .notify svg { 1996 .notify svg {
1997 color: #4d88d9; 1997 color: #4d88d9;
1998 width: 20px; 1998 width: 20px;
1999 aspect-ratio: 1/1; 1999 aspect-ratio: 1/1;
2000 } 2000 }
2001 .notify span { 2001 .notify span {
2002 font-size: 12px; 2002 font-size: 12px;
2003 padding-left: 10px; 2003 padding-left: 10px;
2004 min-height: 20px; 2004 min-height: 20px;
2005 display: -webkit-box; 2005 display: -webkit-box;
2006 display: -ms-flexbox; 2006 display: -ms-flexbox;
2007 display: flex; 2007 display: flex;
2008 -webkit-box-align: center; 2008 -webkit-box-align: center;
2009 -ms-flex-align: center; 2009 -ms-flex-align: center;
2010 align-items: center; 2010 align-items: center;
2011 } 2011 }
2012 @media (min-width: 768px) { 2012 @media (min-width: 768px) {
2013 .notify span { 2013 .notify span {
2014 font-size: 16px; 2014 font-size: 16px;
2015 } 2015 }
2016 } 2016 }
2017 2017
2018 .table { 2018 .table {
2019 margin: 0 -10px; 2019 margin: 0 -10px;
2020 display: -webkit-box; 2020 display: -webkit-box;
2021 display: -ms-flexbox; 2021 display: -ms-flexbox;
2022 display: flex; 2022 display: flex;
2023 -webkit-box-orient: vertical; 2023 -webkit-box-orient: vertical;
2024 -webkit-box-direction: reverse; 2024 -webkit-box-direction: reverse;
2025 -ms-flex-direction: column-reverse; 2025 -ms-flex-direction: column-reverse;
2026 flex-direction: column-reverse; 2026 flex-direction: column-reverse;
2027 -webkit-box-align: center; 2027 -webkit-box-align: center;
2028 -ms-flex-align: center; 2028 -ms-flex-align: center;
2029 align-items: center; 2029 align-items: center;
2030 gap: 20px; 2030 gap: 20px;
2031 } 2031 }
2032 @media (min-width: 768px) { 2032 @media (min-width: 768px) {
2033 .table { 2033 .table {
2034 margin: 0; 2034 margin: 0;
2035 gap: 30px; 2035 gap: 30px;
2036 } 2036 }
2037 } 2037 }
2038 .table__button { 2038 .table__button {
2039 display: none; 2039 display: none;
2040 } 2040 }
2041 .table_spoiler .table__button { 2041 .table_spoiler .table__button {
2042 display: -webkit-box; 2042 display: -webkit-box;
2043 display: -ms-flexbox; 2043 display: -ms-flexbox;
2044 display: flex; 2044 display: flex;
2045 } 2045 }
2046 .table__scroll { 2046 .table__scroll {
2047 overflow: hidden; 2047 overflow: hidden;
2048 overflow-x: auto; 2048 overflow-x: auto;
2049 padding: 0 10px; 2049 padding: 0 10px;
2050 width: 100%; 2050 width: 100%;
2051 } 2051 }
2052 @media (min-width: 768px) { 2052 @media (min-width: 768px) {
2053 .table__scroll { 2053 .table__scroll {
2054 padding: 0; 2054 padding: 0;
2055 } 2055 }
2056 } 2056 }
2057 .table__body { 2057 .table__body {
2058 border-radius: 8px; 2058 border-radius: 8px;
2059 overflow: hidden; 2059 overflow: hidden;
2060 } 2060 }
2061 .table__body_min-width { 2061 .table__body_min-width {
2062 min-width: 580px; 2062 min-width: 580px;
2063 } 2063 }
2064 .table table { 2064 .table table {
2065 border-collapse: collapse; 2065 border-collapse: collapse;
2066 width: 100%; 2066 width: 100%;
2067 font-size: 12px; 2067 font-size: 12px;
2068 border-radius: 8px; 2068 border-radius: 8px;
2069 } 2069 }
2070 @media (min-width: 768px) { 2070 @media (min-width: 768px) {
2071 .table table { 2071 .table table {
2072 font-size: 14px; 2072 font-size: 14px;
2073 } 2073 }
2074 } 2074 }
2075 @media (min-width: 1280px) { 2075 @media (min-width: 1280px) {
2076 .table table { 2076 .table table {
2077 font-size: 16px; 2077 font-size: 16px;
2078 } 2078 }
2079 } 2079 }
2080 .table thead tr th, 2080 .table thead tr th,
2081 .table thead tr td { 2081 .table thead tr td {
2082 background: #377d87; 2082 background: #377d87;
2083 color: #fff; 2083 color: #fff;
2084 font-weight: 700; 2084 font-weight: 700;
2085 border-top-color: #377d87; 2085 border-top-color: #377d87;
2086 } 2086 }
2087 .table thead tr th:first-child, 2087 .table thead tr th:first-child,
2088 .table thead tr td:first-child { 2088 .table thead tr td:first-child {
2089 border-left-color: #377d87; 2089 border-left-color: #377d87;
2090 } 2090 }
2091 .table thead tr th:last-child, 2091 .table thead tr th:last-child,
2092 .table thead tr td:last-child { 2092 .table thead tr td:last-child {
2093 border-right-color: #377d87; 2093 border-right-color: #377d87;
2094 } 2094 }
2095 .table_spoiler tr { 2095 .table_spoiler tr {
2096 /*display: none;*/ 2096 /*display: none;*/
2097 } 2097 }
2098 .table_spoiler tr:nth-of-type(1), .table_spoiler tr:nth-of-type(2), .table_spoiler tr:nth-of-type(3), .table_spoiler tr:nth-of-type(4), .table_spoiler tr:nth-of-type(5), .table_spoiler tr:nth-of-type(6) { 2098 .table_spoiler tr:nth-of-type(1), .table_spoiler tr:nth-of-type(2), .table_spoiler tr:nth-of-type(3), .table_spoiler tr:nth-of-type(4), .table_spoiler tr:nth-of-type(5), .table_spoiler tr:nth-of-type(6) {
2099 display: table-row; 2099 display: table-row;
2100 } 2100 }
2101 .table_spoiler.active tr { 2101 .table_spoiler.active tr {
2102 display: table-row; 2102 display: table-row;
2103 } 2103 }
2104 .table th, 2104 .table th,
2105 .table td { 2105 .table td {
2106 text-align: left; 2106 text-align: left;
2107 padding: 10px; 2107 padding: 10px;
2108 border: 1px solid #cecece; 2108 border: 1px solid #cecece;
2109 } 2109 }
2110 @media (min-width: 768px) { 2110 @media (min-width: 768px) {
2111 .table td { 2111 .table td {
2112 padding: 14px 10px; 2112 padding: 14px 10px;
2113 } 2113 }
2114 } 2114 }
2115 .table__status { 2115 .table__status {
2116 color: #9c9d9d; 2116 color: #9c9d9d;
2117 display: -webkit-box; 2117 display: -webkit-box;
2118 display: -ms-flexbox; 2118 display: -ms-flexbox;
2119 display: flex; 2119 display: flex;
2120 -webkit-box-align: center; 2120 -webkit-box-align: center;
2121 -ms-flex-align: center; 2121 -ms-flex-align: center;
2122 align-items: center; 2122 align-items: center;
2123 gap: 6px; 2123 gap: 6px;
2124 position: relative; 2124 position: relative;
2125 padding-left: 14px; 2125 padding-left: 14px;
2126 } 2126 }
2127 .table__status i { 2127 .table__status i {
2128 background: #9c9d9d; 2128 background: #9c9d9d;
2129 width: 8px; 2129 width: 8px;
2130 aspect-ratio: 1/1; 2130 aspect-ratio: 1/1;
2131 border-radius: 999px; 2131 border-radius: 999px;
2132 position: absolute; 2132 position: absolute;
2133 top: 4px; 2133 top: 4px;
2134 left: 0; 2134 left: 0;
2135 } 2135 }
2136 .table__status.green { 2136 .table__status.green {
2137 color: #377d87; 2137 color: #377d87;
2138 } 2138 }
2139 .table__status.green i { 2139 .table__status.green i {
2140 background: #377d87; 2140 background: #377d87;
2141 } 2141 }
2142 .table__link { 2142 .table__link {
2143 display: -webkit-box; 2143 display: -webkit-box;
2144 display: -ms-flexbox; 2144 display: -ms-flexbox;
2145 display: flex; 2145 display: flex;
2146 -webkit-box-align: center; 2146 -webkit-box-align: center;
2147 -ms-flex-align: center; 2147 -ms-flex-align: center;
2148 align-items: center; 2148 align-items: center;
2149 gap: 4px; 2149 gap: 4px;
2150 color: #4d88d9; 2150 color: #4d88d9;
2151 } 2151 }
2152 @media (min-width: 768px) { 2152 @media (min-width: 768px) {
2153 .table__link { 2153 .table__link {
2154 gap: 6px; 2154 gap: 6px;
2155 } 2155 }
2156 } 2156 }
2157 .table__link:hover { 2157 .table__link:hover {
2158 color: #000; 2158 color: #000;
2159 } 2159 }
2160 .table__link svg { 2160 .table__link svg {
2161 width: 12px; 2161 width: 12px;
2162 aspect-ratio: 1/1; 2162 aspect-ratio: 1/1;
2163 } 2163 }
2164 @media (min-width: 768px) { 2164 @media (min-width: 768px) {
2165 .table__link svg { 2165 .table__link svg {
2166 width: 16px; 2166 width: 16px;
2167 } 2167 }
2168 } 2168 }
2169 .table__controls { 2169 .table__controls {
2170 display: -webkit-box; 2170 display: -webkit-box;
2171 display: -ms-flexbox; 2171 display: -ms-flexbox;
2172 display: flex; 2172 display: flex;
2173 -webkit-box-align: center; 2173 -webkit-box-align: center;
2174 -ms-flex-align: center; 2174 -ms-flex-align: center;
2175 align-items: center; 2175 align-items: center;
2176 gap: 8px; 2176 gap: 8px;
2177 } 2177 }
2178 @media (min-width: 1280px) { 2178 @media (min-width: 1280px) {
2179 .table__controls { 2179 .table__controls {
2180 gap: 12px; 2180 gap: 12px;
2181 } 2181 }
2182 } 2182 }
2183 .table__controls-item { 2183 .table__controls-item {
2184 width: 24px; 2184 width: 24px;
2185 aspect-ratio: 1/1; 2185 aspect-ratio: 1/1;
2186 display: -webkit-box; 2186 display: -webkit-box;
2187 display: -ms-flexbox; 2187 display: -ms-flexbox;
2188 display: flex; 2188 display: flex;
2189 -webkit-box-pack: center; 2189 -webkit-box-pack: center;
2190 -ms-flex-pack: center; 2190 -ms-flex-pack: center;
2191 justify-content: center; 2191 justify-content: center;
2192 -webkit-box-align: center; 2192 -webkit-box-align: center;
2193 -ms-flex-align: center; 2193 -ms-flex-align: center;
2194 align-items: center; 2194 align-items: center;
2195 border: 1px solid #377d87; 2195 border: 1px solid #377d87;
2196 border-radius: 8px; 2196 border-radius: 8px;
2197 color: #377d87; 2197 color: #377d87;
2198 background: none; 2198 background: none;
2199 padding: 0; 2199 padding: 0;
2200 } 2200 }
2201 @media (min-width: 1280px) { 2201 @media (min-width: 1280px) {
2202 .table__controls-item { 2202 .table__controls-item {
2203 width: 30px; 2203 width: 30px;
2204 } 2204 }
2205 } 2205 }
2206 .table__controls-item:hover { 2206 .table__controls-item:hover {
2207 background: #377d87; 2207 background: #377d87;
2208 color: #fff; 2208 color: #fff;
2209 } 2209 }
2210 .table__controls-item svg { 2210 .table__controls-item svg {
2211 width: 60%; 2211 width: 60%;
2212 aspect-ratio: 1/1; 2212 aspect-ratio: 1/1;
2213 } 2213 }
2214 .table__controls-item:nth-of-type(4) svg { 2214 .table__controls-item:nth-of-type(4) svg {
2215 width: 80%; 2215 width: 80%;
2216 } 2216 }
2217 2217
2218 .gl-star-rating--stars:before, .gl-star-rating--stars:after { 2218 .gl-star-rating--stars:before, .gl-star-rating--stars:after {
2219 display: none; 2219 display: none;
2220 } 2220 }
2221 .gl-star-rating--stars span { 2221 .gl-star-rating--stars span {
2222 width: 22px !important; 2222 width: 22px !important;
2223 height: 22px !important; 2223 height: 22px !important;
2224 background-size: 22px 22px !important; 2224 background-size: 22px 22px !important;
2225 } 2225 }
2226 @media (min-width: 768px) { 2226 @media (min-width: 768px) {
2227 .gl-star-rating--stars span { 2227 .gl-star-rating--stars span {
2228 width: 30px !important; 2228 width: 30px !important;
2229 height: 30px !important; 2229 height: 30px !important;
2230 background-size: 30px 30px !important; 2230 background-size: 30px 30px !important;
2231 } 2231 }
2232 } 2232 }
2233 2233
2234 .more { 2234 .more {
2235 display: -webkit-box; 2235 display: -webkit-box;
2236 display: -ms-flexbox; 2236 display: -ms-flexbox;
2237 display: flex; 2237 display: flex;
2238 -webkit-box-orient: vertical; 2238 -webkit-box-orient: vertical;
2239 -webkit-box-direction: normal; 2239 -webkit-box-direction: normal;
2240 -ms-flex-direction: column; 2240 -ms-flex-direction: column;
2241 flex-direction: column; 2241 flex-direction: column;
2242 -webkit-box-align: center; 2242 -webkit-box-align: center;
2243 -ms-flex-align: center; 2243 -ms-flex-align: center;
2244 align-items: center; 2244 align-items: center;
2245 } 2245 }
2246 .more_mt { 2246 .more_mt {
2247 margin-top: 20px; 2247 margin-top: 20px;
2248 } 2248 }
2249 .more .button { 2249 .more .button {
2250 min-width: 100px; 2250 min-width: 100px;
2251 padding: 0; 2251 padding: 0;
2252 } 2252 }
2253 @media (min-width: 768px) { 2253 @media (min-width: 768px) {
2254 .more .button { 2254 .more .button {
2255 min-width: 180px; 2255 min-width: 180px;
2256 } 2256 }
2257 } 2257 }
2258 2258
2259 .header { 2259 .header {
2260 -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); 2260 -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
2261 box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); 2261 box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
2262 background: #fff; 2262 background: #fff;
2263 position: relative; 2263 position: relative;
2264 z-index: 5; 2264 z-index: 5;
2265 overflow: hidden; 2265 overflow: hidden;
2266 } 2266 }
2267 @media (min-width: 768px) { 2267 @media (min-width: 768px) {
2268 .header { 2268 .header {
2269 -webkit-box-shadow: none; 2269 -webkit-box-shadow: none;
2270 box-shadow: none; 2270 box-shadow: none;
2271 } 2271 }
2272 } 2272 }
2273 .header__body { 2273 .header__body {
2274 height: 42px; 2274 height: 42px;
2275 display: -webkit-box; 2275 display: -webkit-box;
2276 display: -ms-flexbox; 2276 display: -ms-flexbox;
2277 display: flex; 2277 display: flex;
2278 -webkit-box-pack: justify; 2278 -webkit-box-pack: justify;
2279 -ms-flex-pack: justify; 2279 -ms-flex-pack: justify;
2280 justify-content: space-between; 2280 justify-content: space-between;
2281 -webkit-box-align: center; 2281 -webkit-box-align: center;
2282 -ms-flex-align: center; 2282 -ms-flex-align: center;
2283 align-items: center; 2283 align-items: center;
2284 } 2284 }
2285 @media (min-width: 768px) { 2285 @media (min-width: 768px) {
2286 .header__body { 2286 .header__body {
2287 height: 70px; 2287 height: 70px;
2288 } 2288 }
2289 } 2289 }
2290 .header__left { 2290 .header__left {
2291 display: -webkit-box; 2291 display: -webkit-box;
2292 display: -ms-flexbox; 2292 display: -ms-flexbox;
2293 display: flex; 2293 display: flex;
2294 -webkit-box-align: center; 2294 -webkit-box-align: center;
2295 -ms-flex-align: center; 2295 -ms-flex-align: center;
2296 align-items: center; 2296 align-items: center;
2297 gap: 40px; 2297 gap: 40px;
2298 } 2298 }
2299 .header__right { 2299 .header__right {
2300 display: -webkit-box; 2300 display: -webkit-box;
2301 display: -ms-flexbox; 2301 display: -ms-flexbox;
2302 display: flex; 2302 display: flex;
2303 -webkit-box-align: center; 2303 -webkit-box-align: center;
2304 -ms-flex-align: center; 2304 -ms-flex-align: center;
2305 align-items: center; 2305 align-items: center;
2306 gap: 14px; 2306 gap: 14px;
2307 } 2307 }
2308 @media (min-width: 768px) { 2308 @media (min-width: 768px) {
2309 .header__right { 2309 .header__right {
2310 gap: 20px; 2310 gap: 20px;
2311 } 2311 }
2312 } 2312 }
2313 .header__right-line { 2313 .header__right-line {
2314 width: 1px; 2314 width: 1px;
2315 height: 32px; 2315 height: 32px;
2316 background: #e6e7e7; 2316 background: #e6e7e7;
2317 border-radius: 999px; 2317 border-radius: 999px;
2318 } 2318 }
2319 @media (min-width: 992px) { 2319 @media (min-width: 992px) {
2320 .header__right-line { 2320 .header__right-line {
2321 display: none; 2321 display: none;
2322 } 2322 }
2323 } 2323 }
2324 .header__logo { 2324 .header__logo {
2325 display: -webkit-box; 2325 display: -webkit-box;
2326 display: -ms-flexbox; 2326 display: -ms-flexbox;
2327 display: flex; 2327 display: flex;
2328 -webkit-box-align: center; 2328 -webkit-box-align: center;
2329 -ms-flex-align: center; 2329 -ms-flex-align: center;
2330 align-items: center; 2330 align-items: center;
2331 -webkit-box-pack: center; 2331 -webkit-box-pack: center;
2332 -ms-flex-pack: center; 2332 -ms-flex-pack: center;
2333 justify-content: center; 2333 justify-content: center;
2334 color: #377d87; 2334 color: #377d87;
2335 } 2335 }
2336 .header__logo svg { 2336 .header__logo svg {
2337 width: 105px; 2337 width: 105px;
2338 height: 31px; 2338 height: 31px;
2339 } 2339 }
2340 @media (min-width: 768px) { 2340 @media (min-width: 768px) {
2341 .header__logo svg { 2341 .header__logo svg {
2342 width: 182px; 2342 width: 182px;
2343 height: 54px; 2343 height: 54px;
2344 } 2344 }
2345 } 2345 }
2346 .header__menu { 2346 .header__menu {
2347 display: none; 2347 display: none;
2348 -webkit-box-align: center; 2348 -webkit-box-align: center;
2349 -ms-flex-align: center; 2349 -ms-flex-align: center;
2350 align-items: center; 2350 align-items: center;
2351 gap: 20px; 2351 gap: 20px;
2352 } 2352 }
2353 @media (min-width: 768px) { 2353 @media (min-width: 768px) {
2354 .header__menu { 2354 .header__menu {
2355 display: -webkit-box; 2355 display: -webkit-box;
2356 display: -ms-flexbox; 2356 display: -ms-flexbox;
2357 display: flex; 2357 display: flex;
2358 } 2358 }
2359 } 2359 }
2360 .header__menu-item:hover { 2360 .header__menu-item:hover {
2361 color: #377d87; 2361 color: #377d87;
2362 } 2362 }
2363 .header__notifs { 2363 .header__notifs {
2364 display: -webkit-box; 2364 display: -webkit-box;
2365 display: -ms-flexbox; 2365 display: -ms-flexbox;
2366 display: flex; 2366 display: flex;
2367 -webkit-box-align: center; 2367 -webkit-box-align: center;
2368 -ms-flex-align: center; 2368 -ms-flex-align: center;
2369 align-items: center; 2369 align-items: center;
2370 -webkit-box-pack: center; 2370 -webkit-box-pack: center;
2371 -ms-flex-pack: center; 2371 -ms-flex-pack: center;
2372 justify-content: center; 2372 justify-content: center;
2373 color: #377d87; 2373 color: #377d87;
2374 padding: 0; 2374 padding: 0;
2375 border: none; 2375 border: none;
2376 background: none; 2376 background: none;
2377 width: 24px; 2377 width: 24px;
2378 height: 24px; 2378 height: 24px;
2379 } 2379 }
2380 @media (min-width: 992px) { 2380 @media (min-width: 992px) {
2381 .header__notifs { 2381 .header__notifs {
2382 width: auto; 2382 width: auto;
2383 height: auto; 2383 height: auto;
2384 color: #000; 2384 color: #000;
2385 line-height: 1.4; 2385 line-height: 1.4;
2386 } 2386 }
2387 } 2387 }
2388 @media (min-width: 992px) { 2388 @media (min-width: 992px) {
2389 .header__notifs:hover { 2389 .header__notifs:hover {
2390 color: #377d87; 2390 color: #377d87;
2391 } 2391 }
2392 } 2392 }
2393 .header__notifs svg { 2393 .header__notifs svg {
2394 width: 20px; 2394 width: 20px;
2395 height: 20px; 2395 height: 20px;
2396 } 2396 }
2397 @media (min-width: 992px) { 2397 @media (min-width: 992px) {
2398 .header__notifs svg { 2398 .header__notifs svg {
2399 display: none; 2399 display: none;
2400 } 2400 }
2401 } 2401 }
2402 .header__notifs span { 2402 .header__notifs span {
2403 display: none; 2403 display: none;
2404 } 2404 }
2405 @media (min-width: 992px) { 2405 @media (min-width: 992px) {
2406 .header__notifs span { 2406 .header__notifs span {
2407 display: inline; 2407 display: inline;
2408 } 2408 }
2409 } 2409 }
2410 .header__notifs_actived { 2410 .header__notifs_actived {
2411 position: relative; 2411 position: relative;
2412 } 2412 }
2413 @media (min-width: 992px) { 2413 @media (min-width: 992px) {
2414 .header__notifs_actived { 2414 .header__notifs_actived {
2415 padding-right: 12px; 2415 padding-right: 12px;
2416 } 2416 }
2417 } 2417 }
2418 .header__notifs_actived:after { 2418 .header__notifs_actived:after {
2419 content: ""; 2419 content: "";
2420 border: 1px solid #fff; 2420 border: 1px solid #fff;
2421 background: #377d87; 2421 background: #377d87;
2422 border-radius: 999px; 2422 border-radius: 999px;
2423 width: 10px; 2423 width: 10px;
2424 height: 10px; 2424 height: 10px;
2425 position: absolute; 2425 position: absolute;
2426 z-index: 1; 2426 z-index: 1;
2427 top: 0; 2427 top: 0;
2428 right: 0; 2428 right: 0;
2429 } 2429 }
2430 @media (min-width: 992px) { 2430 @media (min-width: 992px) {
2431 .header__notifs_actived:after { 2431 .header__notifs_actived:after {
2432 width: 8px; 2432 width: 8px;
2433 height: 8px; 2433 height: 8px;
2434 border: none; 2434 border: none;
2435 } 2435 }
2436 } 2436 }
2437 .header__burger { 2437 .header__burger {
2438 display: -webkit-box; 2438 display: -webkit-box;
2439 display: -ms-flexbox; 2439 display: -ms-flexbox;
2440 display: flex; 2440 display: flex;
2441 -webkit-box-align: center; 2441 -webkit-box-align: center;
2442 -ms-flex-align: center; 2442 -ms-flex-align: center;
2443 align-items: center; 2443 align-items: center;
2444 -webkit-box-pack: center; 2444 -webkit-box-pack: center;
2445 -ms-flex-pack: center; 2445 -ms-flex-pack: center;
2446 justify-content: center; 2446 justify-content: center;
2447 width: 24px; 2447 width: 24px;
2448 height: 24px; 2448 height: 24px;
2449 color: #377d87; 2449 color: #377d87;
2450 padding: 0; 2450 padding: 0;
2451 border: none; 2451 border: none;
2452 background: none; 2452 background: none;
2453 } 2453 }
2454 @media (min-width: 992px) { 2454 @media (min-width: 992px) {
2455 .header__burger { 2455 .header__burger {
2456 display: none; 2456 display: none;
2457 } 2457 }
2458 } 2458 }
2459 .header__burger svg { 2459 .header__burger svg {
2460 width: 20px; 2460 width: 20px;
2461 height: 20px; 2461 height: 20px;
2462 } 2462 }
2463 .header__burger svg + svg { 2463 .header__burger svg + svg {
2464 display: none; 2464 display: none;
2465 } 2465 }
2466 .header__sign { 2466 .header__sign {
2467 display: none; 2467 display: none;
2468 } 2468 }
2469 @media (min-width: 992px) { 2469 @media (min-width: 992px) {
2470 .header__sign { 2470 .header__sign {
2471 display: -webkit-box; 2471 display: -webkit-box;
2472 display: -ms-flexbox; 2472 display: -ms-flexbox;
2473 display: flex; 2473 display: flex;
2474 } 2474 }
2475 } 2475 }
2476 2476
2477 .mob-menu { 2477 .mob-menu {
2478 display: none; 2478 display: none;
2479 position: fixed; 2479 position: fixed;
2480 bottom: 0; 2480 bottom: 0;
2481 left: 0; 2481 left: 0;
2482 width: 100vw; 2482 width: 100vw;
2483 height: calc(100vh - 42px); 2483 height: calc(100vh - 42px);
2484 z-index: 4; 2484 z-index: 4;
2485 background: #fff; 2485 background: #fff;
2486 overflow: hidden; 2486 overflow: hidden;
2487 overflow-y: auto; 2487 overflow-y: auto;
2488 padding: 50px 0; 2488 padding: 50px 0;
2489 } 2489 }
2490 .mob-menu__bottom { 2490 .mob-menu__bottom {
2491 display: -webkit-box; 2491 display: -webkit-box;
2492 display: -ms-flexbox; 2492 display: -ms-flexbox;
2493 display: flex; 2493 display: flex;
2494 -webkit-box-orient: vertical; 2494 -webkit-box-orient: vertical;
2495 -webkit-box-direction: normal; 2495 -webkit-box-direction: normal;
2496 -ms-flex-direction: column; 2496 -ms-flex-direction: column;
2497 flex-direction: column; 2497 flex-direction: column;
2498 -webkit-box-align: center; 2498 -webkit-box-align: center;
2499 -ms-flex-align: center; 2499 -ms-flex-align: center;
2500 align-items: center; 2500 align-items: center;
2501 margin-top: 80px; 2501 margin-top: 80px;
2502 } 2502 }
2503 .mob-menu__bottom .button { 2503 .mob-menu__bottom .button {
2504 min-width: 120px; 2504 min-width: 120px;
2505 } 2505 }
2506 .mob-menu__bottom-link { 2506 .mob-menu__bottom-link {
2507 text-decoration: underline; 2507 text-decoration: underline;
2508 margin-top: 50px; 2508 margin-top: 50px;
2509 } 2509 }
2510 .mob-menu__bottom-link:hover { 2510 .mob-menu__bottom-link:hover {
2511 color: #377d87; 2511 color: #377d87;
2512 } 2512 }
2513 .mob-menu__bottom-link + .mob-menu__bottom-link { 2513 .mob-menu__bottom-link + .mob-menu__bottom-link {
2514 margin-top: 10px; 2514 margin-top: 10px;
2515 } 2515 }
2516 .mob-menu__bottom .socials { 2516 .mob-menu__bottom .socials {
2517 margin-top: 35px; 2517 margin-top: 35px;
2518 } 2518 }
2519 .mob-menu .footer__mobile-menu { 2519 .mob-menu .footer__mobile-menu {
2520 opacity: 1; 2520 opacity: 1;
2521 height: auto; 2521 height: auto;
2522 overflow: visible; 2522 overflow: visible;
2523 } 2523 }
2524 .mob-menu .footer__mobile-menu-item button { 2524 .mob-menu .footer__mobile-menu-item button {
2525 -webkit-box-align: center; 2525 -webkit-box-align: center;
2526 -ms-flex-align: center; 2526 -ms-flex-align: center;
2527 align-items: center; 2527 align-items: center;
2528 } 2528 }
2529 .mob-menu .footer__mobile-menu-item div { 2529 .mob-menu .footer__mobile-menu-item div {
2530 font-size: 20px; 2530 font-size: 20px;
2531 } 2531 }
2532 .mob-menu .footer__mobile-contacts a { 2532 .mob-menu .footer__mobile-contacts a {
2533 font-size: 20px; 2533 font-size: 20px;
2534 font-weight: 700; 2534 font-weight: 700;
2535 color: #000; 2535 color: #000;
2536 text-decoration: none; 2536 text-decoration: none;
2537 } 2537 }
2538 .mob-menu .footer__mobile-contacts a:hover { 2538 .mob-menu .footer__mobile-contacts a:hover {
2539 color: #377d87; 2539 color: #377d87;
2540 } 2540 }
2541 .mob-menu .footer__mobile-menu-item button b, 2541 .mob-menu .footer__mobile-menu-item button b,
2542 .mob-menu .footer__mobile-contacts a { 2542 .mob-menu .footer__mobile-contacts a {
2543 font-size: 30px; 2543 font-size: 30px;
2544 } 2544 }
2545 2545
2546 .menu-is-actived { 2546 .menu-is-actived {
2547 overflow: hidden; 2547 overflow: hidden;
2548 } 2548 }
2549 @media (min-width: 992px) { 2549 @media (min-width: 992px) {
2550 .menu-is-actived { 2550 .menu-is-actived {
2551 overflow: auto; 2551 overflow: auto;
2552 } 2552 }
2553 } 2553 }
2554 .menu-is-actived .header__burger svg { 2554 .menu-is-actived .header__burger svg {
2555 display: none; 2555 display: none;
2556 } 2556 }
2557 .menu-is-actived .header__burger svg + svg { 2557 .menu-is-actived .header__burger svg + svg {
2558 display: block; 2558 display: block;
2559 } 2559 }
2560 .menu-is-actived .mob-menu { 2560 .menu-is-actived .mob-menu {
2561 display: block; 2561 display: block;
2562 } 2562 }
2563 @media (min-width: 992px) { 2563 @media (min-width: 992px) {
2564 .menu-is-actived .mob-menu { 2564 .menu-is-actived .mob-menu {
2565 display: none; 2565 display: none;
2566 } 2566 }
2567 } 2567 }
2568 2568
2569 .footer { 2569 .footer {
2570 -webkit-box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.25); 2570 -webkit-box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.25);
2571 box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.25); 2571 box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.25);
2572 background: #fff; 2572 background: #fff;
2573 position: relative; 2573 position: relative;
2574 z-index: 1; 2574 z-index: 1;
2575 overflow: hidden; 2575 overflow: hidden;
2576 } 2576 }
2577 .footer__mobile { 2577 .footer__mobile {
2578 display: -webkit-box; 2578 display: -webkit-box;
2579 display: -ms-flexbox; 2579 display: -ms-flexbox;
2580 display: flex; 2580 display: flex;
2581 -webkit-box-orient: vertical; 2581 -webkit-box-orient: vertical;
2582 -webkit-box-direction: normal; 2582 -webkit-box-direction: normal;
2583 -ms-flex-direction: column; 2583 -ms-flex-direction: column;
2584 flex-direction: column; 2584 flex-direction: column;
2585 padding: 25px 0 30px 0; 2585 padding: 25px 0 30px 0;
2586 } 2586 }
2587 @media (min-width: 768px) { 2587 @media (min-width: 768px) {
2588 .footer__mobile { 2588 .footer__mobile {
2589 padding: 30px 0; 2589 padding: 30px 0;
2590 } 2590 }
2591 } 2591 }
2592 @media (min-width: 992px) { 2592 @media (min-width: 992px) {
2593 .footer__mobile { 2593 .footer__mobile {
2594 display: none; 2594 display: none;
2595 } 2595 }
2596 } 2596 }
2597 .footer__mobile-toper { 2597 .footer__mobile-toper {
2598 display: -webkit-box; 2598 display: -webkit-box;
2599 display: -ms-flexbox; 2599 display: -ms-flexbox;
2600 display: flex; 2600 display: flex;
2601 -webkit-box-pack: justify; 2601 -webkit-box-pack: justify;
2602 -ms-flex-pack: justify; 2602 -ms-flex-pack: justify;
2603 justify-content: space-between; 2603 justify-content: space-between;
2604 -webkit-box-align: center; 2604 -webkit-box-align: center;
2605 -ms-flex-align: center; 2605 -ms-flex-align: center;
2606 align-items: center; 2606 align-items: center;
2607 padding: 0; 2607 padding: 0;
2608 border: none; 2608 border: none;
2609 background: none; 2609 background: none;
2610 } 2610 }
2611 .footer__mobile-toper a, 2611 .footer__mobile-toper a,
2612 .footer__mobile-toper b { 2612 .footer__mobile-toper b {
2613 display: -webkit-box; 2613 display: -webkit-box;
2614 display: -ms-flexbox; 2614 display: -ms-flexbox;
2615 display: flex; 2615 display: flex;
2616 -webkit-box-pack: center; 2616 -webkit-box-pack: center;
2617 -ms-flex-pack: center; 2617 -ms-flex-pack: center;
2618 justify-content: center; 2618 justify-content: center;
2619 -webkit-box-align: center; 2619 -webkit-box-align: center;
2620 -ms-flex-align: center; 2620 -ms-flex-align: center;
2621 align-items: center; 2621 align-items: center;
2622 color: #377d87; 2622 color: #377d87;
2623 } 2623 }
2624 .footer__mobile-toper a svg, 2624 .footer__mobile-toper a svg,
2625 .footer__mobile-toper b svg { 2625 .footer__mobile-toper b svg {
2626 width: 137px; 2626 width: 137px;
2627 height: 40px; 2627 height: 40px;
2628 } 2628 }
2629 .footer__mobile-toper span { 2629 .footer__mobile-toper span {
2630 width: 40px; 2630 width: 40px;
2631 height: 40px; 2631 height: 40px;
2632 display: -webkit-box; 2632 display: -webkit-box;
2633 display: -ms-flexbox; 2633 display: -ms-flexbox;
2634 display: flex; 2634 display: flex;
2635 -webkit-box-pack: center; 2635 -webkit-box-pack: center;
2636 -ms-flex-pack: center; 2636 -ms-flex-pack: center;
2637 justify-content: center; 2637 justify-content: center;
2638 -webkit-box-align: center; 2638 -webkit-box-align: center;
2639 -ms-flex-align: center; 2639 -ms-flex-align: center;
2640 align-items: center; 2640 align-items: center;
2641 background: #377d87; 2641 background: #377d87;
2642 color: #fff; 2642 color: #fff;
2643 border-radius: 999px; 2643 border-radius: 999px;
2644 } 2644 }
2645 .footer__mobile-toper span svg { 2645 .footer__mobile-toper span svg {
2646 width: 10px; 2646 width: 10px;
2647 height: 10px; 2647 height: 10px;
2648 -webkit-transition: 0.3s; 2648 -webkit-transition: 0.3s;
2649 transition: 0.3s; 2649 transition: 0.3s;
2650 } 2650 }
2651 .footer__mobile-toper.active span svg { 2651 .footer__mobile-toper.active span svg {
2652 -webkit-transform: rotate(180deg); 2652 -webkit-transform: rotate(180deg);
2653 -ms-transform: rotate(180deg); 2653 -ms-transform: rotate(180deg);
2654 transform: rotate(180deg); 2654 transform: rotate(180deg);
2655 } 2655 }
2656 .footer__mobile-menu { 2656 .footer__mobile-menu {
2657 height: 0; 2657 height: 0;
2658 opacity: 0; 2658 opacity: 0;
2659 overflow: hidden; 2659 overflow: hidden;
2660 -webkit-transition: 0.3s; 2660 -webkit-transition: 0.3s;
2661 transition: 0.3s; 2661 transition: 0.3s;
2662 display: -webkit-box; 2662 display: -webkit-box;
2663 display: -ms-flexbox; 2663 display: -ms-flexbox;
2664 display: flex; 2664 display: flex;
2665 -webkit-box-orient: vertical; 2665 -webkit-box-orient: vertical;
2666 -webkit-box-direction: normal; 2666 -webkit-box-direction: normal;
2667 -ms-flex-direction: column; 2667 -ms-flex-direction: column;
2668 flex-direction: column; 2668 flex-direction: column;
2669 gap: 30px; 2669 gap: 30px;
2670 } 2670 }
2671 @media (min-width: 768px) { 2671 @media (min-width: 768px) {
2672 .footer__mobile-menu { 2672 .footer__mobile-menu {
2673 display: grid; 2673 display: grid;
2674 grid-template-columns: 1fr 1fr; 2674 grid-template-columns: 1fr 1fr;
2675 gap: 100px; 2675 gap: 100px;
2676 } 2676 }
2677 } 2677 }
2678 .footer__mobile-menu-item { 2678 .footer__mobile-menu-item {
2679 display: -webkit-box; 2679 display: -webkit-box;
2680 display: -ms-flexbox; 2680 display: -ms-flexbox;
2681 display: flex; 2681 display: flex;
2682 -webkit-box-orient: vertical; 2682 -webkit-box-orient: vertical;
2683 -webkit-box-direction: normal; 2683 -webkit-box-direction: normal;
2684 -ms-flex-direction: column; 2684 -ms-flex-direction: column;
2685 flex-direction: column; 2685 flex-direction: column;
2686 } 2686 }
2687 .footer__mobile-menu-item button { 2687 .footer__mobile-menu-item button {
2688 display: -webkit-box; 2688 display: -webkit-box;
2689 display: -ms-flexbox; 2689 display: -ms-flexbox;
2690 display: flex; 2690 display: flex;
2691 -webkit-box-align: start; 2691 -webkit-box-align: start;
2692 -ms-flex-align: start; 2692 -ms-flex-align: start;
2693 align-items: flex-start; 2693 align-items: flex-start;
2694 padding: 0; 2694 padding: 0;
2695 border: none; 2695 border: none;
2696 background: none; 2696 background: none;
2697 } 2697 }
2698 .footer__mobile-menu-item button.active { 2698 .footer__mobile-menu-item button.active {
2699 color: #377d87; 2699 color: #377d87;
2700 } 2700 }
2701 .footer__mobile-menu-item button b { 2701 .footer__mobile-menu-item button b {
2702 width: calc(100% - 24px); 2702 width: calc(100% - 24px);
2703 padding-right: 12px; 2703 padding-right: 12px;
2704 min-height: 24px; 2704 min-height: 24px;
2705 display: -webkit-box; 2705 display: -webkit-box;
2706 display: -ms-flexbox; 2706 display: -ms-flexbox;
2707 display: flex; 2707 display: flex;
2708 -webkit-box-align: center; 2708 -webkit-box-align: center;
2709 -ms-flex-align: center; 2709 -ms-flex-align: center;
2710 align-items: center; 2710 align-items: center;
2711 font-size: 20px; 2711 font-size: 20px;
2712 font-weight: 700; 2712 font-weight: 700;
2713 } 2713 }
2714 .footer__mobile-menu-item button span { 2714 .footer__mobile-menu-item button span {
2715 width: 24px; 2715 width: 24px;
2716 height: 24px; 2716 height: 24px;
2717 display: -webkit-box; 2717 display: -webkit-box;
2718 display: -ms-flexbox; 2718 display: -ms-flexbox;
2719 display: flex; 2719 display: flex;
2720 -webkit-box-pack: center; 2720 -webkit-box-pack: center;
2721 -ms-flex-pack: center; 2721 -ms-flex-pack: center;
2722 justify-content: center; 2722 justify-content: center;
2723 -webkit-box-align: center; 2723 -webkit-box-align: center;
2724 -ms-flex-align: center; 2724 -ms-flex-align: center;
2725 align-items: center; 2725 align-items: center;
2726 padding: 0; 2726 padding: 0;
2727 border: none; 2727 border: none;
2728 background: none; 2728 background: none;
2729 } 2729 }
2730 .footer__mobile-menu-item button svg { 2730 .footer__mobile-menu-item button svg {
2731 width: 12px; 2731 width: 12px;
2732 height: 12px; 2732 height: 12px;
2733 -webkit-transition: 0.3s; 2733 -webkit-transition: 0.3s;
2734 transition: 0.3s; 2734 transition: 0.3s;
2735 -webkit-transform: rotate(180deg); 2735 -webkit-transform: rotate(180deg);
2736 -ms-transform: rotate(180deg); 2736 -ms-transform: rotate(180deg);
2737 transform: rotate(180deg); 2737 transform: rotate(180deg);
2738 } 2738 }
2739 .footer__mobile-menu-item button.active svg { 2739 .footer__mobile-menu-item button.active svg {
2740 -webkit-transform: rotate(0deg); 2740 -webkit-transform: rotate(0deg);
2741 -ms-transform: rotate(0deg); 2741 -ms-transform: rotate(0deg);
2742 transform: rotate(0deg); 2742 transform: rotate(0deg);
2743 } 2743 }
2744 .footer__mobile-menu-item div { 2744 .footer__mobile-menu-item div {
2745 height: 0; 2745 height: 0;
2746 opacity: 0; 2746 opacity: 0;
2747 overflow: hidden; 2747 overflow: hidden;
2748 -webkit-transition: 0.3s; 2748 -webkit-transition: 0.3s;
2749 transition: 0.3s; 2749 transition: 0.3s;
2750 display: -webkit-box; 2750 display: -webkit-box;
2751 display: -ms-flexbox; 2751 display: -ms-flexbox;
2752 display: flex; 2752 display: flex;
2753 -webkit-box-orient: vertical; 2753 -webkit-box-orient: vertical;
2754 -webkit-box-direction: normal; 2754 -webkit-box-direction: normal;
2755 -ms-flex-direction: column; 2755 -ms-flex-direction: column;
2756 flex-direction: column; 2756 flex-direction: column;
2757 gap: 15px; 2757 gap: 15px;
2758 } 2758 }
2759 .footer__mobile-menu-item div a:hover { 2759 .footer__mobile-menu-item div a:hover {
2760 color: #377d87; 2760 color: #377d87;
2761 } 2761 }
2762 .footer__mobile-menu-item .active + div { 2762 .footer__mobile-menu-item .active + div {
2763 opacity: 1; 2763 opacity: 1;
2764 height: auto; 2764 height: auto;
2765 overflow: visible; 2765 overflow: visible;
2766 padding-top: 15px; 2766 padding-top: 15px;
2767 } 2767 }
2768 .active + .footer__mobile-menu { 2768 .active + .footer__mobile-menu {
2769 opacity: 1; 2769 opacity: 1;
2770 height: auto; 2770 height: auto;
2771 overflow: visible; 2771 overflow: visible;
2772 padding-top: 35px; 2772 padding-top: 35px;
2773 } 2773 }
2774 .footer__mobile-contacts { 2774 .footer__mobile-contacts {
2775 display: -webkit-box; 2775 display: -webkit-box;
2776 display: -ms-flexbox; 2776 display: -ms-flexbox;
2777 display: flex; 2777 display: flex;
2778 -webkit-box-pack: justify; 2778 -webkit-box-pack: justify;
2779 -ms-flex-pack: justify; 2779 -ms-flex-pack: justify;
2780 justify-content: space-between; 2780 justify-content: space-between;
2781 -webkit-box-align: start; 2781 -webkit-box-align: start;
2782 -ms-flex-align: start; 2782 -ms-flex-align: start;
2783 align-items: flex-start; 2783 align-items: flex-start;
2784 -ms-flex-wrap: wrap; 2784 -ms-flex-wrap: wrap;
2785 flex-wrap: wrap; 2785 flex-wrap: wrap;
2786 margin-top: 30px; 2786 margin-top: 30px;
2787 } 2787 }
2788 .footer__mobile-contacts b { 2788 .footer__mobile-contacts b {
2789 font-size: 20px; 2789 font-size: 20px;
2790 font-weight: 700; 2790 font-weight: 700;
2791 width: 100%; 2791 width: 100%;
2792 margin-bottom: 20px; 2792 margin-bottom: 20px;
2793 } 2793 }
2794 .footer__mobile-contacts a { 2794 .footer__mobile-contacts a {
2795 color: #377d87; 2795 color: #377d87;
2796 text-decoration: underline; 2796 text-decoration: underline;
2797 } 2797 }
2798 .footer__mobile-contacts a + a { 2798 .footer__mobile-contacts a + a {
2799 color: #000; 2799 color: #000;
2800 } 2800 }
2801 .footer__mobile-bottom { 2801 .footer__mobile-bottom {
2802 display: -webkit-box; 2802 display: -webkit-box;
2803 display: -ms-flexbox; 2803 display: -ms-flexbox;
2804 display: flex; 2804 display: flex;
2805 -webkit-box-orient: vertical; 2805 -webkit-box-orient: vertical;
2806 -webkit-box-direction: normal; 2806 -webkit-box-direction: normal;
2807 -ms-flex-direction: column; 2807 -ms-flex-direction: column;
2808 flex-direction: column; 2808 flex-direction: column;
2809 -webkit-box-align: center; 2809 -webkit-box-align: center;
2810 -ms-flex-align: center; 2810 -ms-flex-align: center;
2811 align-items: center; 2811 align-items: center;
2812 text-align: center; 2812 text-align: center;
2813 gap: 20px; 2813 gap: 20px;
2814 margin-top: 100px; 2814 margin-top: 100px;
2815 } 2815 }
2816 .footer__mobile-links { 2816 .footer__mobile-links {
2817 display: -webkit-box; 2817 display: -webkit-box;
2818 display: -ms-flexbox; 2818 display: -ms-flexbox;
2819 display: flex; 2819 display: flex;
2820 -webkit-box-orient: vertical; 2820 -webkit-box-orient: vertical;
2821 -webkit-box-direction: normal; 2821 -webkit-box-direction: normal;
2822 -ms-flex-direction: column; 2822 -ms-flex-direction: column;
2823 flex-direction: column; 2823 flex-direction: column;
2824 -webkit-box-align: center; 2824 -webkit-box-align: center;
2825 -ms-flex-align: center; 2825 -ms-flex-align: center;
2826 align-items: center; 2826 align-items: center;
2827 gap: 10px; 2827 gap: 10px;
2828 } 2828 }
2829 .footer__mobile-links a:hover { 2829 .footer__mobile-links a:hover {
2830 color: #377d87; 2830 color: #377d87;
2831 } 2831 }
2832 .footer__mobile-links span { 2832 .footer__mobile-links span {
2833 width: 60px; 2833 width: 60px;
2834 height: 1px; 2834 height: 1px;
2835 background: #377d87; 2835 background: #377d87;
2836 } 2836 }
2837 .footer__main { 2837 .footer__main {
2838 display: none; 2838 display: none;
2839 padding: 55px 0 20px 0; 2839 padding: 55px 0 20px 0;
2840 -webkit-box-orient: vertical; 2840 -webkit-box-orient: vertical;
2841 -webkit-box-direction: normal; 2841 -webkit-box-direction: normal;
2842 -ms-flex-direction: column; 2842 -ms-flex-direction: column;
2843 flex-direction: column; 2843 flex-direction: column;
2844 gap: 70px; 2844 gap: 70px;
2845 } 2845 }
2846 @media (min-width: 992px) { 2846 @media (min-width: 992px) {
2847 .footer__main { 2847 .footer__main {
2848 display: -webkit-box; 2848 display: -webkit-box;
2849 display: -ms-flexbox; 2849 display: -ms-flexbox;
2850 display: flex; 2850 display: flex;
2851 } 2851 }
2852 } 2852 }
2853 .footer__main-body { 2853 .footer__main-body {
2854 display: -webkit-box; 2854 display: -webkit-box;
2855 display: -ms-flexbox; 2855 display: -ms-flexbox;
2856 display: flex; 2856 display: flex;
2857 -webkit-box-pack: justify; 2857 -webkit-box-pack: justify;
2858 -ms-flex-pack: justify; 2858 -ms-flex-pack: justify;
2859 justify-content: space-between; 2859 justify-content: space-between;
2860 -webkit-box-align: start; 2860 -webkit-box-align: start;
2861 -ms-flex-align: start; 2861 -ms-flex-align: start;
2862 align-items: flex-start; 2862 align-items: flex-start;
2863 } 2863 }
2864 .footer__main-logo { 2864 .footer__main-logo {
2865 display: -webkit-box; 2865 display: -webkit-box;
2866 display: -ms-flexbox; 2866 display: -ms-flexbox;
2867 display: flex; 2867 display: flex;
2868 -webkit-box-pack: center; 2868 -webkit-box-pack: center;
2869 -ms-flex-pack: center; 2869 -ms-flex-pack: center;
2870 justify-content: center; 2870 justify-content: center;
2871 -webkit-box-align: center; 2871 -webkit-box-align: center;
2872 -ms-flex-align: center; 2872 -ms-flex-align: center;
2873 align-items: center; 2873 align-items: center;
2874 color: #377d87; 2874 color: #377d87;
2875 } 2875 }
2876 .footer__main-logo svg { 2876 .footer__main-logo svg {
2877 width: 182px; 2877 width: 182px;
2878 height: 54px; 2878 height: 54px;
2879 } 2879 }
2880 .footer__main-title { 2880 .footer__main-title {
2881 font-size: 20px; 2881 font-size: 20px;
2882 font-weight: 700; 2882 font-weight: 700;
2883 margin-bottom: 16px; 2883 margin-bottom: 16px;
2884 } 2884 }
2885 .footer__main-col { 2885 .footer__main-col {
2886 display: -webkit-box; 2886 display: -webkit-box;
2887 display: -ms-flexbox; 2887 display: -ms-flexbox;
2888 display: flex; 2888 display: flex;
2889 -webkit-box-orient: vertical; 2889 -webkit-box-orient: vertical;
2890 -webkit-box-direction: normal; 2890 -webkit-box-direction: normal;
2891 -ms-flex-direction: column; 2891 -ms-flex-direction: column;
2892 flex-direction: column; 2892 flex-direction: column;
2893 -webkit-box-align: start; 2893 -webkit-box-align: start;
2894 -ms-flex-align: start; 2894 -ms-flex-align: start;
2895 align-items: flex-start; 2895 align-items: flex-start;
2896 } 2896 }
2897 .footer__main-col nav { 2897 .footer__main-col nav {
2898 display: -webkit-box; 2898 display: -webkit-box;
2899 display: -ms-flexbox; 2899 display: -ms-flexbox;
2900 display: flex; 2900 display: flex;
2901 -webkit-box-orient: vertical; 2901 -webkit-box-orient: vertical;
2902 -webkit-box-direction: normal; 2902 -webkit-box-direction: normal;
2903 -ms-flex-direction: column; 2903 -ms-flex-direction: column;
2904 flex-direction: column; 2904 flex-direction: column;
2905 -webkit-box-align: start; 2905 -webkit-box-align: start;
2906 -ms-flex-align: start; 2906 -ms-flex-align: start;
2907 align-items: flex-start; 2907 align-items: flex-start;
2908 gap: 8px; 2908 gap: 8px;
2909 } 2909 }
2910 .footer__main-col nav a:hover { 2910 .footer__main-col nav a:hover {
2911 color: #377d87; 2911 color: #377d87;
2912 } 2912 }
2913 .footer__main-contacts { 2913 .footer__main-contacts {
2914 display: -webkit-box; 2914 display: -webkit-box;
2915 display: -ms-flexbox; 2915 display: -ms-flexbox;
2916 display: flex; 2916 display: flex;
2917 -webkit-box-orient: vertical; 2917 -webkit-box-orient: vertical;
2918 -webkit-box-direction: normal; 2918 -webkit-box-direction: normal;
2919 -ms-flex-direction: column; 2919 -ms-flex-direction: column;
2920 flex-direction: column; 2920 flex-direction: column;
2921 -webkit-box-align: start; 2921 -webkit-box-align: start;
2922 -ms-flex-align: start; 2922 -ms-flex-align: start;
2923 align-items: flex-start; 2923 align-items: flex-start;
2924 gap: 16px; 2924 gap: 16px;
2925 margin-bottom: 16px; 2925 margin-bottom: 16px;
2926 } 2926 }
2927 .footer__main-contacts a { 2927 .footer__main-contacts a {
2928 color: #377d87; 2928 color: #377d87;
2929 text-decoration: underline; 2929 text-decoration: underline;
2930 } 2930 }
2931 .footer__main-contacts a + a { 2931 .footer__main-contacts a + a {
2932 color: #000; 2932 color: #000;
2933 } 2933 }
2934 .footer__main-copy { 2934 .footer__main-copy {
2935 display: -webkit-box; 2935 display: -webkit-box;
2936 display: -ms-flexbox; 2936 display: -ms-flexbox;
2937 display: flex; 2937 display: flex;
2938 -webkit-box-pack: justify; 2938 -webkit-box-pack: justify;
2939 -ms-flex-pack: justify; 2939 -ms-flex-pack: justify;
2940 justify-content: space-between; 2940 justify-content: space-between;
2941 -webkit-box-align: center; 2941 -webkit-box-align: center;
2942 -ms-flex-align: center; 2942 -ms-flex-align: center;
2943 align-items: center; 2943 align-items: center;
2944 font-size: 14px; 2944 font-size: 14px;
2945 line-height: 1.4; 2945 line-height: 1.4;
2946 } 2946 }
2947 .footer__main-copy nav { 2947 .footer__main-copy nav {
2948 display: -webkit-box; 2948 display: -webkit-box;
2949 display: -ms-flexbox; 2949 display: -ms-flexbox;
2950 display: flex; 2950 display: flex;
2951 -webkit-box-align: center; 2951 -webkit-box-align: center;
2952 -ms-flex-align: center; 2952 -ms-flex-align: center;
2953 align-items: center; 2953 align-items: center;
2954 gap: 10px; 2954 gap: 10px;
2955 } 2955 }
2956 .footer__main-copy nav a:hover { 2956 .footer__main-copy nav a:hover {
2957 color: #377d87; 2957 color: #377d87;
2958 } 2958 }
2959 .footer__main-copy nav span { 2959 .footer__main-copy nav span {
2960 width: 1px; 2960 width: 1px;
2961 height: 20px; 2961 height: 20px;
2962 background: #000; 2962 background: #000;
2963 } 2963 }
2964 2964
2965 .main { 2965 .main {
2966 position: relative; 2966 position: relative;
2967 overflow: hidden; 2967 overflow: hidden;
2968 padding: 30px 0; 2968 padding: 30px 0;
2969 } 2969 }
2970 @media (min-width: 768px) { 2970 @media (min-width: 768px) {
2971 .main { 2971 .main {
2972 padding: 40px 0; 2972 padding: 40px 0;
2973 } 2973 }
2974 } 2974 }
2975 @media (min-width: 992px) { 2975 @media (min-width: 992px) {
2976 .main { 2976 .main {
2977 padding: 50px 0; 2977 padding: 50px 0;
2978 } 2978 }
2979 } 2979 }
2980 @media (min-width: 1280px) { 2980 @media (min-width: 1280px) {
2981 .main { 2981 .main {
2982 padding: 60px 0; 2982 padding: 60px 0;
2983 } 2983 }
2984 } 2984 }
2985 .main h2 { 2985 .main h2 {
2986 margin: 0; 2986 margin: 0;
2987 font-weight: 700; 2987 font-weight: 700;
2988 font-size: 30px; 2988 font-size: 30px;
2989 } 2989 }
2990 @media (min-width: 768px) { 2990 @media (min-width: 768px) {
2991 .main h2 { 2991 .main h2 {
2992 font-size: 44px; 2992 font-size: 44px;
2993 } 2993 }
2994 } 2994 }
2995 .main h3 { 2995 .main h3 {
2996 margin: 0; 2996 margin: 0;
2997 font-weight: 700; 2997 font-weight: 700;
2998 font-size: 22px; 2998 font-size: 22px;
2999 } 2999 }
3000 @media (min-width: 768px) { 3000 @media (min-width: 768px) {
3001 .main h3 { 3001 .main h3 {
3002 font-size: 28px; 3002 font-size: 28px;
3003 } 3003 }
3004 } 3004 }
3005 .main p { 3005 .main p {
3006 margin: 0; 3006 margin: 0;
3007 font-size: 14px; 3007 font-size: 14px;
3008 line-height: 1.4; 3008 line-height: 1.4;
3009 } 3009 }
3010 @media (min-width: 768px) { 3010 @media (min-width: 768px) {
3011 .main p { 3011 .main p {
3012 font-size: 18px; 3012 font-size: 18px;
3013 } 3013 }
3014 } 3014 }
3015 .main p a { 3015 .main p a {
3016 color: #4d88d9; 3016 color: #4d88d9;
3017 } 3017 }
3018 .main p a:hover { 3018 .main p a:hover {
3019 color: #377d87; 3019 color: #377d87;
3020 } 3020 }
3021 .main__breadcrumbs { 3021 .main__breadcrumbs {
3022 margin-bottom: 20px; 3022 margin-bottom: 20px;
3023 } 3023 }
3024 @media (min-width: 768px) { 3024 @media (min-width: 768px) {
3025 .main__breadcrumbs { 3025 .main__breadcrumbs {
3026 margin-bottom: 40px; 3026 margin-bottom: 40px;
3027 } 3027 }
3028 } 3028 }
3029 .main__content { 3029 .main__content {
3030 display: -webkit-box; 3030 display: -webkit-box;
3031 display: -ms-flexbox; 3031 display: -ms-flexbox;
3032 display: flex; 3032 display: flex;
3033 -webkit-box-orient: vertical; 3033 -webkit-box-orient: vertical;
3034 -webkit-box-direction: normal; 3034 -webkit-box-direction: normal;
3035 -ms-flex-direction: column; 3035 -ms-flex-direction: column;
3036 flex-direction: column; 3036 flex-direction: column;
3037 gap: 20px; 3037 gap: 20px;
3038 font-size: 14px; 3038 font-size: 14px;
3039 } 3039 }
3040 @media (min-width: 992px) { 3040 @media (min-width: 992px) {
3041 .main__content { 3041 .main__content {
3042 font-size: 18px; 3042 font-size: 18px;
3043 gap: 32px; 3043 gap: 32px;
3044 } 3044 }
3045 } 3045 }
3046 .main__content-item { 3046 .main__content-item {
3047 display: -webkit-box; 3047 display: -webkit-box;
3048 display: -ms-flexbox; 3048 display: -ms-flexbox;
3049 display: flex; 3049 display: flex;
3050 -webkit-box-orient: vertical; 3050 -webkit-box-orient: vertical;
3051 -webkit-box-direction: normal; 3051 -webkit-box-direction: normal;
3052 -ms-flex-direction: column; 3052 -ms-flex-direction: column;
3053 flex-direction: column; 3053 flex-direction: column;
3054 gap: 16px; 3054 gap: 16px;
3055 } 3055 }
3056 .main__content h1, 3056 .main__content h1,
3057 .main__content h2, 3057 .main__content h2,
3058 .main__content h3, 3058 .main__content h3,
3059 .main__content h4, 3059 .main__content h4,
3060 .main__content h5, 3060 .main__content h5,
3061 .main__content h6 { 3061 .main__content h6 {
3062 color: #000; 3062 color: #000;
3063 } 3063 }
3064 .main__content ul, 3064 .main__content ul,
3065 .main__content ol { 3065 .main__content ol {
3066 padding: 0; 3066 padding: 0;
3067 margin: 0; 3067 margin: 0;
3068 padding-left: 20px; 3068 padding-left: 20px;
3069 display: -webkit-box; 3069 display: -webkit-box;
3070 display: -ms-flexbox; 3070 display: -ms-flexbox;
3071 display: flex; 3071 display: flex;
3072 -webkit-box-orient: vertical; 3072 -webkit-box-orient: vertical;
3073 -webkit-box-direction: normal; 3073 -webkit-box-direction: normal;
3074 -ms-flex-direction: column; 3074 -ms-flex-direction: column;
3075 flex-direction: column; 3075 flex-direction: column;
3076 gap: 8px; 3076 gap: 8px;
3077 } 3077 }
3078 @media (min-width: 992px) { 3078 @media (min-width: 992px) {
3079 .main__content ul, 3079 .main__content ul,
3080 .main__content ol { 3080 .main__content ol {
3081 gap: 16px; 3081 gap: 16px;
3082 padding-left: 30px; 3082 padding-left: 30px;
3083 } 3083 }
3084 } 3084 }
3085 .main__content li ul, 3085 .main__content li ul,
3086 .main__content li ol { 3086 .main__content li ol {
3087 margin-top: 8px; 3087 margin-top: 8px;
3088 } 3088 }
3089 @media (min-width: 992px) { 3089 @media (min-width: 992px) {
3090 .main__content li ul, 3090 .main__content li ul,
3091 .main__content li ol { 3091 .main__content li ol {
3092 margin-top: 16px; 3092 margin-top: 16px;
3093 } 3093 }
3094 } 3094 }
3095 .main__content li ul li, 3095 .main__content li ul li,
3096 .main__content li ol li { 3096 .main__content li ol li {
3097 list-style-type: disc; 3097 list-style-type: disc;
3098 } 3098 }
3099 .main__gallery { 3099 .main__gallery {
3100 display: -webkit-box; 3100 display: -webkit-box;
3101 display: -ms-flexbox; 3101 display: -ms-flexbox;
3102 display: flex; 3102 display: flex;
3103 -webkit-box-orient: vertical; 3103 -webkit-box-orient: vertical;
3104 -webkit-box-direction: normal; 3104 -webkit-box-direction: normal;
3105 -ms-flex-direction: column; 3105 -ms-flex-direction: column;
3106 flex-direction: column; 3106 flex-direction: column;
3107 gap: 20px; 3107 gap: 20px;
3108 } 3108 }
3109 @media (min-width: 768px) { 3109 @media (min-width: 768px) {
3110 .main__gallery { 3110 .main__gallery {
3111 display: grid; 3111 display: grid;
3112 grid-template-columns: repeat(2, 1fr); 3112 grid-template-columns: repeat(2, 1fr);
3113 } 3113 }
3114 } 3114 }
3115 @media (min-width: 992px) { 3115 @media (min-width: 992px) {
3116 .main__gallery { 3116 .main__gallery {
3117 grid-template-columns: repeat(3, 1fr); 3117 grid-template-columns: repeat(3, 1fr);
3118 } 3118 }
3119 } 3119 }
3120 .main__gallery-item { 3120 .main__gallery-item {
3121 width: 100%; 3121 width: 100%;
3122 aspect-ratio: 400/224; 3122 aspect-ratio: 400/224;
3123 border-radius: 30px; 3123 border-radius: 30px;
3124 position: relative; 3124 position: relative;
3125 overflow: hidden; 3125 overflow: hidden;
3126 } 3126 }
3127 .main__gallery-item:hover { 3127 .main__gallery-item:hover {
3128 -webkit-filter: brightness(1.1); 3128 -webkit-filter: brightness(1.1);
3129 filter: brightness(1.1); 3129 filter: brightness(1.1);
3130 } 3130 }
3131 .main__gallery-item img { 3131 .main__gallery-item img {
3132 position: absolute; 3132 position: absolute;
3133 top: 0; 3133 top: 0;
3134 left: 0; 3134 left: 0;
3135 width: 100%; 3135 width: 100%;
3136 height: 100%; 3136 height: 100%;
3137 -o-object-fit: cover; 3137 -o-object-fit: cover;
3138 object-fit: cover; 3138 object-fit: cover;
3139 } 3139 }
3140 .main__employers { 3140 .main__employers {
3141 display: -webkit-box; 3141 display: -webkit-box;
3142 display: -ms-flexbox; 3142 display: -ms-flexbox;
3143 display: flex; 3143 display: flex;
3144 -webkit-box-orient: vertical; 3144 -webkit-box-orient: vertical;
3145 -webkit-box-direction: normal; 3145 -webkit-box-direction: normal;
3146 -ms-flex-direction: column; 3146 -ms-flex-direction: column;
3147 flex-direction: column; 3147 flex-direction: column;
3148 gap: 10px; 3148 gap: 10px;
3149 } 3149 }
3150 @media (min-width: 768px) { 3150 @media (min-width: 768px) {
3151 .main__employers { 3151 .main__employers {
3152 gap: 30px; 3152 gap: 30px;
3153 } 3153 }
3154 } 3154 }
3155 .main__employers-body { 3155 .main__employers-body {
3156 display: none; 3156 display: none;
3157 -webkit-box-orient: vertical; 3157 -webkit-box-orient: vertical;
3158 -webkit-box-direction: normal; 3158 -webkit-box-direction: normal;
3159 -ms-flex-direction: column; 3159 -ms-flex-direction: column;
3160 flex-direction: column; 3160 flex-direction: column;
3161 gap: 20px; 3161 gap: 20px;
3162 } 3162 }
3163 @media (min-width: 992px) { 3163 @media (min-width: 992px) {
3164 .main__employers-body { 3164 .main__employers-body {
3165 gap: 30px; 3165 gap: 30px;
3166 } 3166 }
3167 } 3167 }
3168 .main__employers-body.showed { 3168 .main__employers-body.showed {
3169 display: -webkit-box; 3169 display: -webkit-box;
3170 display: -ms-flexbox; 3170 display: -ms-flexbox;
3171 display: flex; 3171 display: flex;
3172 } 3172 }
3173 .main__employers-item { 3173 .main__employers-item {
3174 display: -webkit-box; 3174 display: -webkit-box;
3175 display: -ms-flexbox; 3175 display: -ms-flexbox;
3176 display: flex; 3176 display: flex;
3177 -webkit-box-orient: vertical; 3177 -webkit-box-orient: vertical;
3178 -webkit-box-direction: normal; 3178 -webkit-box-direction: normal;
3179 -ms-flex-direction: column; 3179 -ms-flex-direction: column;
3180 flex-direction: column; 3180 flex-direction: column;
3181 border: 1px solid #cecece; 3181 border: 1px solid #cecece;
3182 border-radius: 8px; 3182 border-radius: 8px;
3183 position: relative; 3183 position: relative;
3184 overflow: hidden; 3184 overflow: hidden;
3185 padding: 10px; 3185 padding: 10px;
3186 padding-top: 50px; 3186 padding-top: 50px;
3187 padding-bottom: 30px; 3187 padding-bottom: 30px;
3188 } 3188 }
3189 @media (min-width: 768px) { 3189 @media (min-width: 768px) {
3190 .main__employers-item { 3190 .main__employers-item {
3191 -webkit-box-orient: horizontal; 3191 -webkit-box-orient: horizontal;
3192 -webkit-box-direction: normal; 3192 -webkit-box-direction: normal;
3193 -ms-flex-direction: row; 3193 -ms-flex-direction: row;
3194 flex-direction: row; 3194 flex-direction: row;
3195 -webkit-box-align: center; 3195 -webkit-box-align: center;
3196 -ms-flex-align: center; 3196 -ms-flex-align: center;
3197 align-items: center; 3197 align-items: center;
3198 -webkit-box-pack: justify; 3198 -webkit-box-pack: justify;
3199 -ms-flex-pack: justify; 3199 -ms-flex-pack: justify;
3200 justify-content: space-between; 3200 justify-content: space-between;
3201 padding: 55px 20px; 3201 padding: 55px 20px;
3202 } 3202 }
3203 } 3203 }
3204 @media (min-width: 1280px) { 3204 @media (min-width: 1280px) {
3205 .main__employers-item { 3205 .main__employers-item {
3206 padding-left: 55px; 3206 padding-left: 55px;
3207 } 3207 }
3208 } 3208 }
3209 .main__employers-item-inner { 3209 .main__employers-item-inner {
3210 display: -webkit-box; 3210 display: -webkit-box;
3211 display: -ms-flexbox; 3211 display: -ms-flexbox;
3212 display: flex; 3212 display: flex;
3213 -webkit-box-orient: vertical; 3213 -webkit-box-orient: vertical;
3214 -webkit-box-direction: normal; 3214 -webkit-box-direction: normal;
3215 -ms-flex-direction: column; 3215 -ms-flex-direction: column;
3216 flex-direction: column; 3216 flex-direction: column;
3217 } 3217 }
3218 @media (min-width: 768px) { 3218 @media (min-width: 768px) {
3219 .main__employers-item-inner { 3219 .main__employers-item-inner {
3220 width: calc(100% - 200px); 3220 width: calc(100% - 200px);
3221 padding-right: 40px; 3221 padding-right: 40px;
3222 } 3222 }
3223 } 3223 }
3224 @media (min-width: 992px) { 3224 @media (min-width: 992px) {
3225 .main__employers-item-inner { 3225 .main__employers-item-inner {
3226 -webkit-box-orient: horizontal; 3226 -webkit-box-orient: horizontal;
3227 -webkit-box-direction: normal; 3227 -webkit-box-direction: normal;
3228 -ms-flex-direction: row; 3228 -ms-flex-direction: row;
3229 flex-direction: row; 3229 flex-direction: row;
3230 -webkit-box-align: center; 3230 -webkit-box-align: center;
3231 -ms-flex-align: center; 3231 -ms-flex-align: center;
3232 align-items: center; 3232 align-items: center;
3233 } 3233 }
3234 } 3234 }
3235 .main__employers-item-pic { 3235 .main__employers-item-pic {
3236 height: 30px; 3236 height: 30px;
3237 position: absolute; 3237 position: absolute;
3238 top: 10px; 3238 top: 10px;
3239 left: 10px; 3239 left: 10px;
3240 } 3240 }
3241 @media (min-width: 768px) { 3241 @media (min-width: 768px) {
3242 .main__employers-item-pic { 3242 .main__employers-item-pic {
3243 position: static; 3243 position: static;
3244 width: 150px; 3244 width: 150px;
3245 height: auto; 3245 height: auto;
3246 max-height: 150px; 3246 max-height: 150px;
3247 -o-object-fit: contain; 3247 -o-object-fit: contain;
3248 object-fit: contain; 3248 object-fit: contain;
3249 } 3249 }
3250 } 3250 }
3251 .main__employers-item-body { 3251 .main__employers-item-body {
3252 font-size: 12px; 3252 font-size: 12px;
3253 display: -webkit-box; 3253 display: -webkit-box;
3254 display: -ms-flexbox; 3254 display: -ms-flexbox;
3255 display: flex; 3255 display: flex;
3256 -webkit-box-orient: vertical; 3256 -webkit-box-orient: vertical;
3257 -webkit-box-direction: normal; 3257 -webkit-box-direction: normal;
3258 -ms-flex-direction: column; 3258 -ms-flex-direction: column;
3259 flex-direction: column; 3259 flex-direction: column;
3260 gap: 10px; 3260 gap: 10px;
3261 } 3261 }
3262 @media (min-width: 768px) { 3262 @media (min-width: 768px) {
3263 .main__employers-item-body { 3263 .main__employers-item-body {
3264 font-size: 16px; 3264 font-size: 16px;
3265 padding-top: 20px; 3265 padding-top: 20px;
3266 } 3266 }
3267 } 3267 }
3268 @media (min-width: 992px) { 3268 @media (min-width: 992px) {
3269 .main__employers-item-body { 3269 .main__employers-item-body {
3270 width: calc(100% - 150px); 3270 width: calc(100% - 150px);
3271 padding: 0; 3271 padding: 0;
3272 padding-left: 40px; 3272 padding-left: 40px;
3273 } 3273 }
3274 } 3274 }
3275 .main__employers-item-body b { 3275 .main__employers-item-body b {
3276 font-weight: 700; 3276 font-weight: 700;
3277 } 3277 }
3278 @media (min-width: 768px) { 3278 @media (min-width: 768px) {
3279 .main__employers-item-body b { 3279 .main__employers-item-body b {
3280 font-size: 20px; 3280 font-size: 20px;
3281 } 3281 }
3282 } 3282 }
3283 .main__employers-item-body i { 3283 .main__employers-item-body i {
3284 font-style: normal; 3284 font-style: normal;
3285 color: #000; 3285 color: #000;
3286 } 3286 }
3287 .main__employers-item-more { 3287 .main__employers-item-more {
3288 position: absolute; 3288 position: absolute;
3289 top: 10px; 3289 top: 10px;
3290 right: 10px; 3290 right: 10px;
3291 } 3291 }
3292 @media (min-width: 768px) { 3292 @media (min-width: 768px) {
3293 .main__employers-item-more { 3293 .main__employers-item-more {
3294 width: 200px; 3294 width: 200px;
3295 padding: 0; 3295 padding: 0;
3296 position: static; 3296 position: static;
3297 } 3297 }
3298 } 3298 }
3299 .main__employers-item-label { 3299 .main__employers-item-label {
3300 background: #4d88d9; 3300 background: #4d88d9;
3301 color: #fff; 3301 color: #fff;
3302 border-radius: 6px; 3302 border-radius: 6px;
3303 width: 100%; 3303 width: 100%;
3304 height: 20px; 3304 height: 20px;
3305 display: -webkit-box; 3305 display: -webkit-box;
3306 display: -ms-flexbox; 3306 display: -ms-flexbox;
3307 display: flex; 3307 display: flex;
3308 -webkit-box-align: center; 3308 -webkit-box-align: center;
3309 -ms-flex-align: center; 3309 -ms-flex-align: center;
3310 align-items: center; 3310 align-items: center;
3311 padding: 0 12px; 3311 padding: 0 12px;
3312 position: absolute; 3312 position: absolute;
3313 bottom: 0; 3313 bottom: 0;
3314 left: 0; 3314 left: 0;
3315 font-size: 12px; 3315 font-size: 12px;
3316 line-height: 1; 3316 line-height: 1;
3317 } 3317 }
3318 @media (min-width: 768px) { 3318 @media (min-width: 768px) {
3319 .main__employers-item-label { 3319 .main__employers-item-label {
3320 max-width: 350px; 3320 max-width: 350px;
3321 height: 30px; 3321 height: 30px;
3322 font-size: 15px; 3322 font-size: 15px;
3323 } 3323 }
3324 } 3324 }
3325 .main__employers-item-label svg { 3325 .main__employers-item-label svg {
3326 width: 8px; 3326 width: 8px;
3327 height: 8px; 3327 height: 8px;
3328 } 3328 }
3329 @media (min-width: 768px) { 3329 @media (min-width: 768px) {
3330 .main__employers-item-label svg { 3330 .main__employers-item-label svg {
3331 width: 12px; 3331 width: 12px;
3332 height: 12px; 3332 height: 12px;
3333 } 3333 }
3334 } 3334 }
3335 .main__employers-item-label span { 3335 .main__employers-item-label span {
3336 overflow: hidden; 3336 overflow: hidden;
3337 display: -webkit-box; 3337 display: -webkit-box;
3338 -webkit-box-orient: vertical; 3338 -webkit-box-orient: vertical;
3339 -webkit-line-clamp: 1; 3339 -webkit-line-clamp: 1;
3340 width: calc(100% - 8px); 3340 width: calc(100% - 8px);
3341 padding-left: 6px; 3341 padding-left: 6px;
3342 } 3342 }
3343 .main__employers-one { 3343 .main__employers-one {
3344 display: -webkit-box; 3344 display: -webkit-box;
3345 display: -ms-flexbox; 3345 display: -ms-flexbox;
3346 display: flex; 3346 display: flex;
3347 -webkit-box-orient: vertical; 3347 -webkit-box-orient: vertical;
3348 -webkit-box-direction: normal; 3348 -webkit-box-direction: normal;
3349 -ms-flex-direction: column; 3349 -ms-flex-direction: column;
3350 flex-direction: column; 3350 flex-direction: column;
3351 gap: 20px; 3351 gap: 20px;
3352 } 3352 }
3353 .main__employers-two { 3353 .main__employers-two {
3354 display: -webkit-box; 3354 display: -webkit-box;
3355 display: -ms-flexbox; 3355 display: -ms-flexbox;
3356 display: flex; 3356 display: flex;
3357 -webkit-box-orient: vertical; 3357 -webkit-box-orient: vertical;
3358 -webkit-box-direction: normal; 3358 -webkit-box-direction: normal;
3359 -ms-flex-direction: column; 3359 -ms-flex-direction: column;
3360 flex-direction: column; 3360 flex-direction: column;
3361 gap: 20px; 3361 gap: 20px;
3362 } 3362 }
3363 @media (min-width: 768px) { 3363 @media (min-width: 768px) {
3364 .main__employers-two { 3364 .main__employers-two {
3365 -webkit-box-orient: horizontal; 3365 -webkit-box-orient: horizontal;
3366 -webkit-box-direction: normal; 3366 -webkit-box-direction: normal;
3367 -ms-flex-direction: row; 3367 -ms-flex-direction: row;
3368 flex-direction: row; 3368 flex-direction: row;
3369 -ms-flex-wrap: wrap; 3369 -ms-flex-wrap: wrap;
3370 flex-wrap: wrap; 3370 flex-wrap: wrap;
3371 -webkit-box-align: start; 3371 -webkit-box-align: start;
3372 -ms-flex-align: start; 3372 -ms-flex-align: start;
3373 align-items: flex-start; 3373 align-items: flex-start;
3374 -webkit-box-pack: justify; 3374 -webkit-box-pack: justify;
3375 -ms-flex-pack: justify; 3375 -ms-flex-pack: justify;
3376 justify-content: space-between; 3376 justify-content: space-between;
3377 gap: 20px 0; 3377 gap: 20px 0;
3378 } 3378 }
3379 } 3379 }
3380 .main__employers-two .main__employers-item { 3380 .main__employers-two .main__employers-item {
3381 width: calc(50% - 10px); 3381 width: calc(50% - 10px);
3382 -webkit-box-orient: vertical; 3382 -webkit-box-orient: vertical;
3383 -webkit-box-direction: normal; 3383 -webkit-box-direction: normal;
3384 -ms-flex-direction: column; 3384 -ms-flex-direction: column;
3385 flex-direction: column; 3385 flex-direction: column;
3386 -webkit-box-align: stretch; 3386 -webkit-box-align: stretch;
3387 -ms-flex-align: stretch; 3387 -ms-flex-align: stretch;
3388 align-items: stretch; 3388 align-items: stretch;
3389 padding-top: 30px; 3389 padding-top: 30px;
3390 } 3390 }
3391 .main__employers-two .main__employers-item-inner { 3391 .main__employers-two .main__employers-item-inner {
3392 width: 100%; 3392 width: 100%;
3393 padding: 0; 3393 padding: 0;
3394 } 3394 }
3395 .main__employers-two .main__employers-item-more { 3395 .main__employers-two .main__employers-item-more {
3396 position: static; 3396 position: static;
3397 margin-top: 20px; 3397 margin-top: 20px;
3398 } 3398 }
3399 @media (min-width: 992px) { 3399 @media (min-width: 992px) {
3400 .main__employers-two .main__employers-item-more { 3400 .main__employers-two .main__employers-item-more {
3401 margin-left: 190px; 3401 margin-left: 190px;
3402 } 3402 }
3403 } 3403 }
3404 .main__employers-two .main__employers-item-label { 3404 .main__employers-two .main__employers-item-label {
3405 max-width: none; 3405 max-width: none;
3406 } 3406 }
3407 .main__employer-page { 3407 .main__employer-page {
3408 display: -webkit-box; 3408 display: -webkit-box;
3409 display: -ms-flexbox; 3409 display: -ms-flexbox;
3410 display: flex; 3410 display: flex;
3411 -webkit-box-orient: vertical; 3411 -webkit-box-orient: vertical;
3412 -webkit-box-direction: normal; 3412 -webkit-box-direction: normal;
3413 -ms-flex-direction: column; 3413 -ms-flex-direction: column;
3414 flex-direction: column; 3414 flex-direction: column;
3415 gap: 20px; 3415 gap: 20px;
3416 } 3416 }
3417 @media (min-width: 768px) { 3417 @media (min-width: 768px) {
3418 .main__employer-page { 3418 .main__employer-page {
3419 gap: 30px; 3419 gap: 30px;
3420 } 3420 }
3421 } 3421 }
3422 .main__employer-page-title { 3422 .main__employer-page-title {
3423 color: #000; 3423 color: #000;
3424 margin: 0; 3424 margin: 0;
3425 font-size: 30px; 3425 font-size: 30px;
3426 } 3426 }
3427 @media (min-width: 768px) { 3427 @media (min-width: 768px) {
3428 .main__employer-page-title { 3428 .main__employer-page-title {
3429 font-size: 36px; 3429 font-size: 36px;
3430 } 3430 }
3431 } 3431 }
3432 @media (min-width: 992px) { 3432 @media (min-width: 992px) {
3433 .main__employer-page-title { 3433 .main__employer-page-title {
3434 font-size: 44px; 3434 font-size: 44px;
3435 } 3435 }
3436 } 3436 }
3437 .main__employer-page-item { 3437 .main__employer-page-item {
3438 display: -webkit-box; 3438 display: -webkit-box;
3439 display: -ms-flexbox; 3439 display: -ms-flexbox;
3440 display: flex; 3440 display: flex;
3441 -webkit-box-orient: vertical; 3441 -webkit-box-orient: vertical;
3442 -webkit-box-direction: normal; 3442 -webkit-box-direction: normal;
3443 -ms-flex-direction: column; 3443 -ms-flex-direction: column;
3444 flex-direction: column; 3444 flex-direction: column;
3445 gap: 4px; 3445 gap: 4px;
3446 font-size: 12px; 3446 font-size: 12px;
3447 line-height: 1.4; 3447 line-height: 1.4;
3448 width: 190px; 3448 width: 190px;
3449 } 3449 }
3450 .main__employer-page-item.main__employer-page-description{ 3450 .main__employer-page-item.main__employer-page-description{
3451 width: unset; 3451 width: unset;
3452 } 3452 }
3453 @media (min-width: 768px) { 3453 @media (min-width: 768px) {
3454 .main__employer-page-item { 3454 .main__employer-page-item {
3455 font-size: 18px; 3455 font-size: 18px;
3456 gap: 8px; 3456 gap: 8px;
3457 } 3457 }
3458 } 3458 }
3459 .main__employer-page-item b { 3459 .main__employer-page-item b {
3460 color: #377d87; 3460 color: #377d87;
3461 font-size: 14px; 3461 font-size: 14px;
3462 } 3462 }
3463 @media (min-width: 768px) { 3463 @media (min-width: 768px) {
3464 .main__employer-page-item b { 3464 .main__employer-page-item b {
3465 font-size: 18px; 3465 font-size: 18px;
3466 } 3466 }
3467 } 3467 }
3468 .main__employer-page-item span { 3468 .main__employer-page-item span {
3469 color: #000; 3469 color: #000;
3470 } 3470 }
3471 .main__employer-page-info { 3471 .main__employer-page-info {
3472 display: -webkit-box; 3472 display: -webkit-box;
3473 display: -ms-flexbox; 3473 display: -ms-flexbox;
3474 display: flex; 3474 display: flex;
3475 -webkit-box-orient: vertical; 3475 -webkit-box-orient: vertical;
3476 -webkit-box-direction: normal; 3476 -webkit-box-direction: normal;
3477 -ms-flex-direction: column; 3477 -ms-flex-direction: column;
3478 flex-direction: column; 3478 flex-direction: column;
3479 gap: 20px; 3479 gap: 20px;
3480 } 3480 }
3481 .main__employer-page-info.row2{ 3481 .main__employer-page-info.row2{
3482 justify-content: flex-start; 3482 justify-content: flex-start;
3483 } 3483 }
3484 .main__employer-page-info.row2 .main__employer-page-item{ 3484 .main__employer-page-info.row2 .main__employer-page-item{
3485 width: 25%; 3485 width: 25%;
3486 } 3486 }
3487 @media (min-width: 768px) { 3487 @media (min-width: 768px) {
3488 .main__employer-page-info { 3488 .main__employer-page-info {
3489 display: grid; 3489 display: grid;
3490 grid-template-columns: repeat(2, 1fr); 3490 grid-template-columns: repeat(2, 1fr);
3491 gap: 30px 40px; 3491 gap: 30px 40px;
3492 } 3492 }
3493 } 3493 }
3494 @media (min-width: 1280px) { 3494 @media (min-width: 1280px) {
3495 .main__employer-page-info { 3495 .main__employer-page-info {
3496 display: -webkit-box; 3496 display: -webkit-box;
3497 display: -ms-flexbox; 3497 display: -ms-flexbox;
3498 display: flex; 3498 display: flex;
3499 -webkit-box-orient: horizontal; 3499 -webkit-box-orient: horizontal;
3500 -webkit-box-direction: normal; 3500 -webkit-box-direction: normal;
3501 -ms-flex-direction: row; 3501 -ms-flex-direction: row;
3502 flex-direction: row; 3502 flex-direction: row;
3503 -webkit-box-align: start; 3503 -webkit-box-align: start;
3504 -ms-flex-align: start; 3504 -ms-flex-align: start;
3505 align-items: flex-start; 3505 align-items: flex-start;
3506 -webkit-box-pack: justify; 3506 -webkit-box-pack: justify;
3507 -ms-flex-pack: justify; 3507 -ms-flex-pack: justify;
3508 justify-content: space-between; 3508 justify-content: space-between;
3509 padding-right: 160px; 3509 padding-right: 160px;
3510 } 3510 }
3511 } 3511 }
3512 @media (min-width: 768px) { 3512 @media (min-width: 768px) {
3513 .main__employer-page-info .main__employer-page-item b, 3513 .main__employer-page-info .main__employer-page-item b,
3514 .main__employer-page-info .main__employer-page-item span { 3514 .main__employer-page-info .main__employer-page-item span {
3515 max-width: 300px; 3515 max-width: 300px;
3516 } 3516 }
3517 } 3517 }
3518 .main__employer-page-tabs { 3518 .main__employer-page-tabs {
3519 display: -webkit-box; 3519 display: -webkit-box;
3520 display: -ms-flexbox; 3520 display: -ms-flexbox;
3521 display: flex; 3521 display: flex;
3522 -webkit-box-align: center; 3522 -webkit-box-align: center;
3523 -ms-flex-align: center; 3523 -ms-flex-align: center;
3524 align-items: center; 3524 align-items: center;
3525 gap: 20px; 3525 gap: 20px;
3526 } 3526 }
3527 @media (min-width: 768px) { 3527 @media (min-width: 768px) {
3528 .main__employer-page-tabs { 3528 .main__employer-page-tabs {
3529 margin-top: 20px; 3529 margin-top: 20px;
3530 } 3530 }
3531 } 3531 }
3532 .main__employer-page-tabs-item { 3532 .main__employer-page-tabs-item {
3533 font-size: 22px; 3533 font-size: 22px;
3534 font-weight: 700; 3534 font-weight: 700;
3535 border: none; 3535 border: none;
3536 background: none; 3536 background: none;
3537 padding: 0; 3537 padding: 0;
3538 color: #9c9d9d; 3538 color: #9c9d9d;
3539 text-decoration: underline; 3539 text-decoration: underline;
3540 text-decoration-thickness: 1px; 3540 text-decoration-thickness: 1px;
3541 } 3541 }
3542 @media (min-width: 768px) { 3542 @media (min-width: 768px) {
3543 .main__employer-page-tabs-item { 3543 .main__employer-page-tabs-item {
3544 font-size: 24px; 3544 font-size: 24px;
3545 } 3545 }
3546 } 3546 }
3547 .main__employer-page-tabs-item.active { 3547 .main__employer-page-tabs-item.active {
3548 color: #377d87; 3548 color: #377d87;
3549 } 3549 }
3550 .main__employer-page-body { 3550 .main__employer-page-body {
3551 display: -webkit-box; 3551 display: -webkit-box;
3552 display: -ms-flexbox; 3552 display: -ms-flexbox;
3553 display: flex; 3553 display: flex;
3554 -webkit-box-orient: vertical; 3554 -webkit-box-orient: vertical;
3555 -webkit-box-direction: normal; 3555 -webkit-box-direction: normal;
3556 -ms-flex-direction: column; 3556 -ms-flex-direction: column;
3557 flex-direction: column; 3557 flex-direction: column;
3558 margin-top: 10px; 3558 margin-top: 10px;
3559 } 3559 }
3560 @media (min-width: 768px) { 3560 @media (min-width: 768px) {
3561 .main__employer-page-body { 3561 .main__employer-page-body {
3562 margin-top: 30px; 3562 margin-top: 30px;
3563 } 3563 }
3564 } 3564 }
3565 .main__employer-page-body-item { 3565 .main__employer-page-body-item {
3566 display: none; 3566 display: none;
3567 -webkit-box-orient: vertical; 3567 -webkit-box-orient: vertical;
3568 -webkit-box-direction: normal; 3568 -webkit-box-direction: normal;
3569 -ms-flex-direction: column; 3569 -ms-flex-direction: column;
3570 flex-direction: column; 3570 flex-direction: column;
3571 gap: 20px; 3571 gap: 20px;
3572 } 3572 }
3573 .main__employer-page-body-item.showed { 3573 .main__employer-page-body-item.showed {
3574 display: -webkit-box; 3574 display: -webkit-box;
3575 display: -ms-flexbox; 3575 display: -ms-flexbox;
3576 display: flex; 3576 display: flex;
3577 } 3577 }
3578 .main__employer-page-one { 3578 .main__employer-page-one {
3579 display: -webkit-box; 3579 display: -webkit-box;
3580 display: -ms-flexbox; 3580 display: -ms-flexbox;
3581 display: flex; 3581 display: flex;
3582 -webkit-box-orient: vertical; 3582 -webkit-box-orient: vertical;
3583 -webkit-box-direction: normal; 3583 -webkit-box-direction: normal;
3584 -ms-flex-direction: column; 3584 -ms-flex-direction: column;
3585 flex-direction: column; 3585 flex-direction: column;
3586 gap: 20px; 3586 gap: 20px;
3587 } 3587 }
3588 @media (min-width: 768px) { 3588 @media (min-width: 768px) {
3589 .main__employer-page-one { 3589 .main__employer-page-one {
3590 display: grid; 3590 display: grid;
3591 grid-template-columns: repeat(2, 1fr); 3591 grid-template-columns: repeat(2, 1fr);
3592 } 3592 }
3593 } 3593 }
3594 @media (min-width: 992px) { 3594 @media (min-width: 992px) {
3595 .main__employer-page-one { 3595 .main__employer-page-one {
3596 grid-template-columns: repeat(3, 1fr); 3596 grid-template-columns: repeat(3, 1fr);
3597 } 3597 }
3598 } 3598 }
3599 @media (min-width: 1280px) { 3599 @media (min-width: 1280px) {
3600 .main__employer-page-one { 3600 .main__employer-page-one {
3601 grid-template-columns: repeat(4, 1fr); 3601 grid-template-columns: repeat(4, 1fr);
3602 gap: 30px 20px; 3602 gap: 30px 20px;
3603 } 3603 }
3604 } 3604 }
3605 .main__employer-page-one-item { 3605 .main__employer-page-one-item {
3606 display: -webkit-box; 3606 display: -webkit-box;
3607 display: -ms-flexbox; 3607 display: -ms-flexbox;
3608 display: flex; 3608 display: flex;
3609 -webkit-box-orient: vertical; 3609 -webkit-box-orient: vertical;
3610 -webkit-box-direction: normal; 3610 -webkit-box-direction: normal;
3611 -ms-flex-direction: column; 3611 -ms-flex-direction: column;
3612 flex-direction: column; 3612 flex-direction: column;
3613 gap: 10px; 3613 gap: 10px;
3614 font-size: 12px; 3614 font-size: 12px;
3615 position: relative; 3615 position: relative;
3616 } 3616 }
3617 @media (min-width: 1280px) { 3617 @media (min-width: 1280px) {
3618 .main__employer-page-one-item { 3618 .main__employer-page-one-item {
3619 font-size: 18px; 3619 font-size: 18px;
3620 } 3620 }
3621 } 3621 }
3622 .main__employer-page-one-item img { 3622 .main__employer-page-one-item img {
3623 border-radius: 10px; 3623 border-radius: 10px;
3624 -o-object-fit: cover; 3624 -o-object-fit: cover;
3625 object-fit: cover; 3625 object-fit: cover;
3626 width: 100%; 3626 width: 100%;
3627 max-height: 250px; 3627 max-height: 250px;
3628 aspect-ratio: 247/174; 3628 aspect-ratio: 247/174;
3629 } 3629 }
3630 @media (min-width: 1280px) { 3630 @media (min-width: 1280px) {
3631 .main__employer-page-one-item img { 3631 .main__employer-page-one-item img {
3632 margin-bottom: 10px; 3632 margin-bottom: 10px;
3633 } 3633 }
3634 } 3634 }
3635 .main__employer-page-one-item b { 3635 .main__employer-page-one-item b {
3636 font-weight: 700; 3636 font-weight: 700;
3637 color: #377d87; 3637 color: #377d87;
3638 } 3638 }
3639 .main__employer-page-one-item span { 3639 .main__employer-page-one-item span {
3640 color: #000; 3640 color: #000;
3641 } 3641 }
3642 .main__employer-page-one-item i { 3642 .main__employer-page-one-item i {
3643 font-style: normal; 3643 font-style: normal;
3644 color: #377d87; 3644 color: #377d87;
3645 } 3645 }
3646 .main__employer-page-one-item .del { 3646 .main__employer-page-one-item .del {
3647 position: absolute; 3647 position: absolute;
3648 z-index: 1; 3648 z-index: 1;
3649 top: 8px; 3649 top: 8px;
3650 left: 8px; 3650 left: 8px;
3651 } 3651 }
3652 .main__employer-page-two { 3652 .main__employer-page-two {
3653 display: -webkit-box; 3653 display: -webkit-box;
3654 display: -ms-flexbox; 3654 display: -ms-flexbox;
3655 display: flex; 3655 display: flex;
3656 -webkit-box-orient: vertical; 3656 -webkit-box-orient: vertical;
3657 -webkit-box-direction: normal; 3657 -webkit-box-direction: normal;
3658 -ms-flex-direction: column; 3658 -ms-flex-direction: column;
3659 flex-direction: column; 3659 flex-direction: column;
3660 -webkit-box-align: center; 3660 -webkit-box-align: center;
3661 -ms-flex-align: center; 3661 -ms-flex-align: center;
3662 align-items: center; 3662 align-items: center;
3663 gap: 20px; 3663 gap: 20px;
3664 } 3664 }
3665 .main__employer-page-two-item { 3665 .main__employer-page-two-item {
3666 width: 100%; 3666 width: 100%;
3667 display: -webkit-box; 3667 display: -webkit-box;
3668 display: -ms-flexbox; 3668 display: -ms-flexbox;
3669 display: flex; 3669 display: flex;
3670 -webkit-box-orient: vertical; 3670 -webkit-box-orient: vertical;
3671 -webkit-box-direction: normal; 3671 -webkit-box-direction: normal;
3672 -ms-flex-direction: column; 3672 -ms-flex-direction: column;
3673 flex-direction: column; 3673 flex-direction: column;
3674 gap: 16px; 3674 gap: 16px;
3675 padding: 20px 10px; 3675 padding: 20px 10px;
3676 border-radius: 12px; 3676 border-radius: 12px;
3677 border: 1px solid #cecece; 3677 border: 1px solid #cecece;
3678 position: relative; 3678 position: relative;
3679 overflow: hidden; 3679 overflow: hidden;
3680 font-size: 12px; 3680 font-size: 12px;
3681 background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); 3681 background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%);
3682 } 3682 }
3683 @media (min-width: 768px) { 3683 @media (min-width: 768px) {
3684 .main__employer-page-two-item { 3684 .main__employer-page-two-item {
3685 font-size: 14px; 3685 font-size: 14px;
3686 padding: 20px; 3686 padding: 20px;
3687 gap: 24px; 3687 gap: 24px;
3688 padding-bottom: 35px; 3688 padding-bottom: 35px;
3689 } 3689 }
3690 } 3690 }
3691 @media (min-width: 992px) { 3691 @media (min-width: 992px) {
3692 .main__employer-page-two-item { 3692 .main__employer-page-two-item {
3693 font-size: 16px; 3693 font-size: 16px;
3694 } 3694 }
3695 } 3695 }
3696 @media (min-width: 1280px) { 3696 @media (min-width: 1280px) {
3697 .main__employer-page-two-item { 3697 .main__employer-page-two-item {
3698 font-size: 18px; 3698 font-size: 18px;
3699 } 3699 }
3700 } 3700 }
3701 .main__employer-page-two-item-toper { 3701 .main__employer-page-two-item-toper {
3702 display: -webkit-box; 3702 display: -webkit-box;
3703 display: -ms-flexbox; 3703 display: -ms-flexbox;
3704 display: flex; 3704 display: flex;
3705 -webkit-box-align: center; 3705 -webkit-box-align: center;
3706 -ms-flex-align: center; 3706 -ms-flex-align: center;
3707 align-items: center; 3707 align-items: center;
3708 font-size: 22px; 3708 font-size: 22px;
3709 font-weight: 700; 3709 font-weight: 700;
3710 color: #000; 3710 color: #000;
3711 } 3711 }
3712 @media (min-width: 768px) { 3712 @media (min-width: 768px) {
3713 .main__employer-page-two-item-toper { 3713 .main__employer-page-two-item-toper {
3714 font-size: 30px; 3714 font-size: 30px;
3715 } 3715 }
3716 } 3716 }
3717 .main__employer-page-two-item-toper img { 3717 .main__employer-page-two-item-toper img {
3718 width: 60px; 3718 width: 60px;
3719 aspect-ratio: 1/1; 3719 aspect-ratio: 1/1;
3720 -o-object-fit: contain; 3720 -o-object-fit: contain;
3721 object-fit: contain; 3721 object-fit: contain;
3722 } 3722 }
3723 .main__employer-page-two-item-toper span { 3723 .main__employer-page-two-item-toper span {
3724 width: calc(100% - 60px); 3724 width: calc(100% - 60px);
3725 padding-left: 10px; 3725 padding-left: 10px;
3726 } 3726 }
3727 @media (min-width: 768px) { 3727 @media (min-width: 768px) {
3728 .main__employer-page-two-item-toper span { 3728 .main__employer-page-two-item-toper span {
3729 padding-left: 20px; 3729 padding-left: 20px;
3730 } 3730 }
3731 } 3731 }
3732 .main__employer-page-two-item-title { 3732 .main__employer-page-two-item-title {
3733 font-size: 18px; 3733 font-size: 18px;
3734 font-weight: 700; 3734 font-weight: 700;
3735 color: #377d87; 3735 color: #377d87;
3736 } 3736 }
3737 @media (min-width: 768px) { 3737 @media (min-width: 768px) {
3738 .main__employer-page-two-item-title { 3738 .main__employer-page-two-item-title {
3739 font-size: 24px; 3739 font-size: 24px;
3740 } 3740 }
3741 } 3741 }
3742 .main__employer-page-two-item-text { 3742 .main__employer-page-two-item-text {
3743 display: -webkit-box; 3743 display: -webkit-box;
3744 display: -ms-flexbox; 3744 display: -ms-flexbox;
3745 display: flex; 3745 display: flex;
3746 -webkit-box-orient: vertical; 3746 -webkit-box-orient: vertical;
3747 -webkit-box-direction: normal; 3747 -webkit-box-direction: normal;
3748 -ms-flex-direction: column; 3748 -ms-flex-direction: column;
3749 flex-direction: column; 3749 flex-direction: column;
3750 gap: 10px; 3750 gap: 10px;
3751 } 3751 }
3752 .main__employer-page-two-item-text-name { 3752 .main__employer-page-two-item-text-name {
3753 font-weight: 700; 3753 font-weight: 700;
3754 } 3754 }
3755 .main__employer-page-two-item-text-body { 3755 .main__employer-page-two-item-text-body {
3756 color: #000; 3756 color: #000;
3757 display: -webkit-box; 3757 display: -webkit-box;
3758 display: -ms-flexbox; 3758 display: -ms-flexbox;
3759 display: flex; 3759 display: flex;
3760 -webkit-box-orient: vertical; 3760 -webkit-box-orient: vertical;
3761 -webkit-box-direction: normal; 3761 -webkit-box-direction: normal;
3762 -ms-flex-direction: column; 3762 -ms-flex-direction: column;
3763 flex-direction: column; 3763 flex-direction: column;
3764 gap: 6px; 3764 gap: 6px;
3765 padding: 0 10px; 3765 padding: 0 10px;
3766 } 3766 }
3767 .main__employer-page-two-item-text-body p { 3767 .main__employer-page-two-item-text-body p {
3768 margin: 0; 3768 margin: 0;
3769 } 3769 }
3770 .main__employer-page-two-item-text-body ul { 3770 .main__employer-page-two-item-text-body ul {
3771 margin: 0; 3771 margin: 0;
3772 padding: 0; 3772 padding: 0;
3773 padding-left: 16px; 3773 padding-left: 16px;
3774 display: -webkit-box; 3774 display: -webkit-box;
3775 display: -ms-flexbox; 3775 display: -ms-flexbox;
3776 display: flex; 3776 display: flex;
3777 -webkit-box-orient: vertical; 3777 -webkit-box-orient: vertical;
3778 -webkit-box-direction: normal; 3778 -webkit-box-direction: normal;
3779 -ms-flex-direction: column; 3779 -ms-flex-direction: column;
3780 flex-direction: column; 3780 flex-direction: column;
3781 gap: 6px; 3781 gap: 6px;
3782 } 3782 }
3783 @media (min-width: 768px) { 3783 @media (min-width: 768px) {
3784 .main__employer-page-two-item-text-body ul { 3784 .main__employer-page-two-item-text-body ul {
3785 margin: 0 5px; 3785 margin: 0 5px;
3786 } 3786 }
3787 } 3787 }
3788 .main__employer-page-two-item-text-body ul span, 3788 .main__employer-page-two-item-text-body ul span,
3789 .main__employer-page-two-item-text-body ul a { 3789 .main__employer-page-two-item-text-body ul a {
3790 color: #000; 3790 color: #000;
3791 position: relative; 3791 position: relative;
3792 } 3792 }
3793 .main__employer-page-two-item-text-body ul a:hover { 3793 .main__employer-page-two-item-text-body ul a:hover {
3794 color: #377d87; 3794 color: #377d87;
3795 } 3795 }
3796 .main__employer-page-two-item-text-body p + ul { 3796 .main__employer-page-two-item-text-body p + ul {
3797 margin-top: 10px; 3797 margin-top: 10px;
3798 } 3798 }
3799 .main__employer-page-two-item-text-links { 3799 .main__employer-page-two-item-text-links {
3800 display: -webkit-box; 3800 display: -webkit-box;
3801 display: -ms-flexbox; 3801 display: -ms-flexbox;
3802 display: flex; 3802 display: flex;
3803 -webkit-box-orient: vertical; 3803 -webkit-box-orient: vertical;
3804 -webkit-box-direction: normal; 3804 -webkit-box-direction: normal;
3805 -ms-flex-direction: column; 3805 -ms-flex-direction: column;
3806 flex-direction: column; 3806 flex-direction: column;
3807 -webkit-box-align: start; 3807 -webkit-box-align: start;
3808 -ms-flex-align: start; 3808 -ms-flex-align: start;
3809 align-items: flex-start; 3809 align-items: flex-start;
3810 gap: 10px; 3810 gap: 10px;
3811 padding: 0 10px; 3811 padding: 0 10px;
3812 font-weight: 700; 3812 font-weight: 700;
3813 margin-top: 5px; 3813 margin-top: 5px;
3814 } 3814 }
3815 @media (min-width: 768px) { 3815 @media (min-width: 768px) {
3816 .main__employer-page-two-item-text-links { 3816 .main__employer-page-two-item-text-links {
3817 gap: 20px; 3817 gap: 20px;
3818 } 3818 }
3819 } 3819 }
3820 .main__employer-page-two-item-text-links a { 3820 .main__employer-page-two-item-text-links a {
3821 color: #4d88d9; 3821 color: #4d88d9;
3822 } 3822 }
3823 .main__employer-page-two-item-text-links a:hover { 3823 .main__employer-page-two-item-text-links a:hover {
3824 color: #377d87; 3824 color: #377d87;
3825 } 3825 }
3826 .main__employer-page-two-item-tags { 3826 .main__employer-page-two-item-tags {
3827 color: #4d88d9; 3827 color: #4d88d9;
3828 font-weight: 500; 3828 font-weight: 500;
3829 display: -webkit-box; 3829 display: -webkit-box;
3830 display: -ms-flexbox; 3830 display: -ms-flexbox;
3831 display: flex; 3831 display: flex;
3832 -webkit-box-align: center; 3832 -webkit-box-align: center;
3833 -ms-flex-align: center; 3833 -ms-flex-align: center;
3834 align-items: center; 3834 align-items: center;
3835 -ms-flex-wrap: wrap; 3835 -ms-flex-wrap: wrap;
3836 flex-wrap: wrap; 3836 flex-wrap: wrap;
3837 gap: 10px 20px; 3837 gap: 10px 20px;
3838 } 3838 }
3839 @media (min-width: 768px) { 3839 @media (min-width: 768px) {
3840 .main__employer-page-two-item-tags { 3840 .main__employer-page-two-item-tags {
3841 font-size: 14px; 3841 font-size: 14px;
3842 } 3842 }
3843 } 3843 }
3844 .main__employer-page-two-item-buttons { 3844 .main__employer-page-two-item-buttons {
3845 display: grid; 3845 display: grid;
3846 grid-template-columns: repeat(2, 1fr); 3846 grid-template-columns: repeat(2, 1fr);
3847 gap: 20px; 3847 gap: 20px;
3848 } 3848 }
3849 @media (min-width: 768px) { 3849 @media (min-width: 768px) {
3850 .main__employer-page-two-item-button { 3850 .main__employer-page-two-item-button {
3851 position: absolute; 3851 position: absolute;
3852 bottom: 20px; 3852 bottom: 20px;
3853 left: 20px; 3853 left: 20px;
3854 width: 200px; 3854 width: 200px;
3855 padding: 0; 3855 padding: 0;
3856 } 3856 }
3857 } 3857 }
3858 @media (min-width: 768px) { 3858 @media (min-width: 768px) {
3859 .main__employer-page-two-item-button + .main__employer-page-two-item-button { 3859 .main__employer-page-two-item-button + .main__employer-page-two-item-button {
3860 left: auto; 3860 left: auto;
3861 right: 20px; 3861 right: 20px;
3862 } 3862 }
3863 } 3863 }
3864 .main__employer-page-two-item-bottom { 3864 .main__employer-page-two-item-bottom {
3865 display: -webkit-box; 3865 display: -webkit-box;
3866 display: -ms-flexbox; 3866 display: -ms-flexbox;
3867 display: flex; 3867 display: flex;
3868 -webkit-box-align: center; 3868 -webkit-box-align: center;
3869 -ms-flex-align: center; 3869 -ms-flex-align: center;
3870 align-items: center; 3870 align-items: center;
3871 -webkit-box-pack: justify; 3871 -webkit-box-pack: justify;
3872 -ms-flex-pack: justify; 3872 -ms-flex-pack: justify;
3873 justify-content: space-between; 3873 justify-content: space-between;
3874 } 3874 }
3875 .main__employer-page-two-item-bottom-date { 3875 .main__employer-page-two-item-bottom-date {
3876 color: #000; 3876 color: #000;
3877 } 3877 }
3878 @media (min-width: 768px) { 3878 @media (min-width: 768px) {
3879 .main__employer-page-two-item-bottom-date { 3879 .main__employer-page-two-item-bottom-date {
3880 position: absolute; 3880 position: absolute;
3881 bottom: 20px; 3881 bottom: 20px;
3882 right: 240px; 3882 right: 240px;
3883 height: 42px; 3883 height: 42px;
3884 display: -webkit-box; 3884 display: -webkit-box;
3885 display: -ms-flexbox; 3885 display: -ms-flexbox;
3886 display: flex; 3886 display: flex;
3887 -webkit-box-align: center; 3887 -webkit-box-align: center;
3888 -ms-flex-align: center; 3888 -ms-flex-align: center;
3889 align-items: center; 3889 align-items: center;
3890 } 3890 }
3891 } 3891 }
3892 @media (min-width: 992px) { 3892 @media (min-width: 992px) {
3893 .main__employer-page-two-item-bottom-date { 3893 .main__employer-page-two-item-bottom-date {
3894 font-size: 16px; 3894 font-size: 16px;
3895 } 3895 }
3896 } 3896 }
3897 @media (min-width: 768px) { 3897 @media (min-width: 768px) {
3898 .main__employer-page-two-item-bottom-like { 3898 .main__employer-page-two-item-bottom-like {
3899 position: absolute; 3899 position: absolute;
3900 bottom: 20px; 3900 bottom: 20px;
3901 left: 240px; 3901 left: 240px;
3902 } 3902 }
3903 } 3903 }
3904 @media (min-width: 768px) { 3904 @media (min-width: 768px) {
3905 .main__employer-page-two-more { 3905 .main__employer-page-two-more {
3906 margin-top: 10px; 3906 margin-top: 10px;
3907 padding: 0; 3907 padding: 0;
3908 width: 200px; 3908 width: 200px;
3909 } 3909 }
3910 } 3910 }
3911 .main__employer-page-two .main__employer-page-two-item { 3911 .main__employer-page-two .main__employer-page-two-item {
3912 /*display: none;*/ 3912 /*display: none;*/
3913 } 3913 }
3914 .main__employer-page-two .main__employer-page-two-item:nth-of-type(1), .main__employer-page-two .main__employer-page-two-item:nth-of-type(2) { 3914 .main__employer-page-two .main__employer-page-two-item:nth-of-type(1), .main__employer-page-two .main__employer-page-two-item:nth-of-type(2) {
3915 display: -webkit-box; 3915 display: -webkit-box;
3916 display: -ms-flexbox; 3916 display: -ms-flexbox;
3917 display: flex; 3917 display: flex;
3918 } 3918 }
3919 .main__employer-page-two.active .main__employer-page-two-item { 3919 .main__employer-page-two.active .main__employer-page-two-item {
3920 display: -webkit-box; 3920 display: -webkit-box;
3921 display: -ms-flexbox; 3921 display: -ms-flexbox;
3922 display: flex; 3922 display: flex;
3923 } 3923 }
3924 .main__resume-base { 3924 .main__resume-base {
3925 display: -webkit-box; 3925 display: -webkit-box;
3926 display: -ms-flexbox; 3926 display: -ms-flexbox;
3927 display: flex; 3927 display: flex;
3928 -webkit-box-orient: vertical; 3928 -webkit-box-orient: vertical;
3929 -webkit-box-direction: normal; 3929 -webkit-box-direction: normal;
3930 -ms-flex-direction: column; 3930 -ms-flex-direction: column;
3931 flex-direction: column; 3931 flex-direction: column;
3932 color: #000; 3932 color: #000;
3933 } 3933 }
3934 .main__resume-base-body { 3934 .main__resume-base-body {
3935 display: none; 3935 display: none;
3936 -webkit-box-orient: vertical; 3936 -webkit-box-orient: vertical;
3937 -webkit-box-direction: normal; 3937 -webkit-box-direction: normal;
3938 -ms-flex-direction: column; 3938 -ms-flex-direction: column;
3939 flex-direction: column; 3939 flex-direction: column;
3940 margin-top: 10px; 3940 margin-top: 10px;
3941 } 3941 }
3942 @media (min-width: 768px) { 3942 @media (min-width: 768px) {
3943 .main__resume-base-body { 3943 .main__resume-base-body {
3944 margin-top: 30px; 3944 margin-top: 30px;
3945 } 3945 }
3946 } 3946 }
3947 .main__resume-base-body.showed { 3947 .main__resume-base-body.showed {
3948 display: -webkit-box; 3948 display: -webkit-box;
3949 display: -ms-flexbox; 3949 display: -ms-flexbox;
3950 display: flex; 3950 display: flex;
3951 } 3951 }
3952 .main__resume-base-body-one { 3952 .main__resume-base-body-one {
3953 display: -webkit-box; 3953 display: -webkit-box;
3954 display: -ms-flexbox; 3954 display: -ms-flexbox;
3955 display: flex; 3955 display: flex;
3956 -webkit-box-orient: vertical; 3956 -webkit-box-orient: vertical;
3957 -webkit-box-direction: normal; 3957 -webkit-box-direction: normal;
3958 -ms-flex-direction: column; 3958 -ms-flex-direction: column;
3959 flex-direction: column; 3959 flex-direction: column;
3960 -webkit-box-align: center; 3960 -webkit-box-align: center;
3961 -ms-flex-align: center; 3961 -ms-flex-align: center;
3962 align-items: center; 3962 align-items: center;
3963 gap: 20px; 3963 gap: 20px;
3964 } 3964 }
3965 @media (min-width: 768px) { 3965 @media (min-width: 768px) {
3966 .main__resume-base-body-one { 3966 .main__resume-base-body-one {
3967 gap: 30px; 3967 gap: 30px;
3968 } 3968 }
3969 } 3969 }
3970 .main__resume-base-body-two { 3970 .main__resume-base-body-two {
3971 display: -webkit-box; 3971 display: -webkit-box;
3972 display: -ms-flexbox; 3972 display: -ms-flexbox;
3973 display: flex; 3973 display: flex;
3974 -webkit-box-orient: vertical; 3974 -webkit-box-orient: vertical;
3975 -webkit-box-direction: normal; 3975 -webkit-box-direction: normal;
3976 -ms-flex-direction: column; 3976 -ms-flex-direction: column;
3977 flex-direction: column; 3977 flex-direction: column;
3978 gap: 20px; 3978 gap: 20px;
3979 } 3979 }
3980 @media (min-width: 768px) { 3980 @media (min-width: 768px) {
3981 .main__resume-base-body-two { 3981 .main__resume-base-body-two {
3982 -webkit-box-orient: horizontal; 3982 -webkit-box-orient: horizontal;
3983 -webkit-box-direction: normal; 3983 -webkit-box-direction: normal;
3984 -ms-flex-direction: row; 3984 -ms-flex-direction: row;
3985 flex-direction: row; 3985 flex-direction: row;
3986 -webkit-box-pack: justify; 3986 -webkit-box-pack: justify;
3987 -ms-flex-pack: justify; 3987 -ms-flex-pack: justify;
3988 justify-content: space-between; 3988 justify-content: space-between;
3989 -webkit-box-align: start; 3989 -webkit-box-align: start;
3990 -ms-flex-align: start; 3990 -ms-flex-align: start;
3991 align-items: flex-start; 3991 align-items: flex-start;
3992 -ms-flex-wrap: wrap; 3992 -ms-flex-wrap: wrap;
3993 flex-wrap: wrap; 3993 flex-wrap: wrap;
3994 gap: 30px 0; 3994 gap: 30px 0;
3995 } 3995 }
3996 } 3996 }
3997 @media (min-width: 768px) { 3997 @media (min-width: 768px) {
3998 .main__resume-base-body-two .main__resume-base-body-item { 3998 .main__resume-base-body-two .main__resume-base-body-item {
3999 width: calc(50% - 10px); 3999 width: calc(50% - 10px);
4000 } 4000 }
4001 } 4001 }
4002 .main__resume-base-body-two .main__resume-base-body-item-wrapper { 4002 .main__resume-base-body-two .main__resume-base-body-item-wrapper {
4003 -webkit-box-orient: vertical; 4003 -webkit-box-orient: vertical;
4004 -webkit-box-direction: normal; 4004 -webkit-box-direction: normal;
4005 -ms-flex-direction: column; 4005 -ms-flex-direction: column;
4006 flex-direction: column; 4006 flex-direction: column;
4007 } 4007 }
4008 .main__resume-base-body-item { 4008 .main__resume-base-body-item {
4009 width: 100%; 4009 width: 100%;
4010 display: -webkit-box; 4010 display: -webkit-box;
4011 display: -ms-flexbox; 4011 display: -ms-flexbox;
4012 display: flex; 4012 display: flex;
4013 -webkit-box-orient: vertical; 4013 -webkit-box-orient: vertical;
4014 -webkit-box-direction: normal; 4014 -webkit-box-direction: normal;
4015 -ms-flex-direction: column; 4015 -ms-flex-direction: column;
4016 flex-direction: column; 4016 flex-direction: column;
4017 gap: 20px; 4017 gap: 20px;
4018 position: relative; 4018 position: relative;
4019 border: 1px solid #377d87; 4019 border: 1px solid #377d87;
4020 border-radius: 8px; 4020 border-radius: 8px;
4021 padding: 10px; 4021 padding: 10px;
4022 -webkit-box-align: center; 4022 -webkit-box-align: center;
4023 -ms-flex-align: center; 4023 -ms-flex-align: center;
4024 align-items: center; 4024 align-items: center;
4025 } 4025 }
4026 @media (min-width: 768px) { 4026 @media (min-width: 768px) {
4027 .main__resume-base-body-item { 4027 .main__resume-base-body-item {
4028 padding: 20px; 4028 padding: 20px;
4029 } 4029 }
4030 } 4030 }
4031 .main__resume-base-body-item-buttons { 4031 .main__resume-base-body-item-buttons {
4032 margin-top: 10px; 4032 margin-top: 10px;
4033 } 4033 }
4034 .main__resume-base-body-item-buttons button, a.main__resume-base-body-item-link{ 4034 .main__resume-base-body-item-buttons button, a.main__resume-base-body-item-link{
4035 width: 100%; 4035 width: 100%;
4036 margin-bottom: 10px; 4036 margin-bottom: 10px;
4037 } 4037 }
4038 .main__resume-base-body-item-buttons a.main__resume-base-body-item-link{ 4038 .main__resume-base-body-item-buttons a.main__resume-base-body-item-link{
4039 background: #377d87; 4039 background: #377d87;
4040 color: #fff; 4040 color: #fff;
4041 } 4041 }
4042 .main__resume-base-body-item-buttons .chat.active{ 4042 .main__resume-base-body-item-buttons .chat.active{
4043 background: #fff; 4043 background: #fff;
4044 color: #377d87; 4044 color: #377d87;
4045 } 4045 }
4046 .main__resume-base-body-item-buttons button.like.active{ 4046 .main__resume-base-body-item-buttons button.like.active{
4047 background-color: #ffffff; 4047 background-color: #ffffff;
4048 color: #eb5757; 4048 color: #eb5757;
4049 } 4049 }
4050 .main__resume-base-body-item-buttons button span{ 4050 .main__resume-base-body-item-buttons button span{
4051 margin-left: 10px; 4051 margin-left: 10px;
4052 } 4052 }
4053 .main__resume-base-body-item-buttons .like .in-favorites{ 4053 .main__resume-base-body-item-buttons .like .in-favorites{
4054 display: none; 4054 display: none;
4055 } 4055 }
4056 .main__resume-base-body-item-buttons .like.active .in-favorites{ 4056 .main__resume-base-body-item-buttons .like.active .in-favorites{
4057 display: block; 4057 display: block;
4058 color: #eb5757; 4058 color: #eb5757;
4059 } 4059 }
4060 .main__resume-base-body-item-buttons .like.active .to-favorites{ 4060 .main__resume-base-body-item-buttons .like.active .to-favorites{
4061 display: none; 4061 display: none;
4062 } 4062 }
4063 .main__resume-base-body-item-wrapper { 4063 .main__resume-base-body-item-wrapper {
4064 display: -webkit-box; 4064 display: -webkit-box;
4065 display: -ms-flexbox; 4065 display: -ms-flexbox;
4066 display: flex; 4066 display: flex;
4067 -webkit-box-orient: vertical; 4067 -webkit-box-orient: vertical;
4068 -webkit-box-direction: normal; 4068 -webkit-box-direction: normal;
4069 -ms-flex-direction: column; 4069 -ms-flex-direction: column;
4070 flex-direction: column; 4070 flex-direction: column;
4071 -webkit-box-align: start; 4071 -webkit-box-align: start;
4072 -ms-flex-align: start; 4072 -ms-flex-align: start;
4073 align-items: flex-start; 4073 align-items: flex-start;
4074 gap: 20px; 4074 gap: 20px;
4075 width: 100%; 4075 width: 100%;
4076 } 4076 }
4077 @media (min-width: 768px) { 4077 @media (min-width: 768px) {
4078 .main__resume-base-body-item-wrapper { 4078 .main__resume-base-body-item-wrapper {
4079 -webkit-box-orient: horizontal; 4079 -webkit-box-orient: horizontal;
4080 -webkit-box-direction: normal; 4080 -webkit-box-direction: normal;
4081 -ms-flex-direction: row; 4081 -ms-flex-direction: row;
4082 flex-direction: row; 4082 flex-direction: row;
4083 } 4083 }
4084 } 4084 }
4085 .main__resume-base-body-item-photo { 4085 .main__resume-base-body-item-photo {
4086 width: 180px; 4086 width: 180px;
4087 aspect-ratio: 1/1; 4087 aspect-ratio: 1/1;
4088 -o-object-fit: cover; 4088 -o-object-fit: cover;
4089 object-fit: cover; 4089 object-fit: cover;
4090 border-radius: 8px; 4090 border-radius: 8px;
4091 } 4091 }
4092 @media (min-width: 768px) { 4092 @media (min-width: 768px) {
4093 .main__resume-base-body-item-photo { 4093 .main__resume-base-body-item-photo {
4094 width: 210px; 4094 width: 210px;
4095 } 4095 }
4096 } 4096 }
4097 .main__resume-base-body-item-inner { 4097 .main__resume-base-body-item-inner {
4098 display: -webkit-box; 4098 display: -webkit-box;
4099 display: -ms-flexbox; 4099 display: -ms-flexbox;
4100 display: flex; 4100 display: flex;
4101 -webkit-box-orient: vertical; 4101 -webkit-box-orient: vertical;
4102 -webkit-box-direction: normal; 4102 -webkit-box-direction: normal;
4103 -ms-flex-direction: column; 4103 -ms-flex-direction: column;
4104 flex-direction: column; 4104 flex-direction: column;
4105 gap: 10px; 4105 gap: 10px;
4106 width: 100%; 4106 width: 100%;
4107 row-gap: 10px; 4107 row-gap: 10px;
4108 } 4108 }
4109 .main__resume-base-body-item-inner .horizontal{ 4109 .main__resume-base-body-item-inner .horizontal{
4110 -webkit-box-orient: horizontal; 4110 -webkit-box-orient: horizontal;
4111 -ms-flex-direction: unset; 4111 -ms-flex-direction: unset;
4112 flex-direction: row; 4112 flex-direction: row;
4113 align-items: start; 4113 align-items: start;
4114 } 4114 }
4115 .main__resume-base-item-status{ 4115 .main__resume-base-item-status{
4116 width: fit-content; 4116 width: fit-content;
4117 background-color: #e6e6e6; 4117 background-color: #e6e6e6;
4118 font-weight: bold; 4118 font-weight: bold;
4119 padding: 5px 10px; 4119 padding: 5px 10px;
4120 border-radius: 8px; 4120 border-radius: 8px;
4121 } 4121 }
4122 .main__resume-base-item-status.looking-for-job{ 4122 .main__resume-base-item-status.looking-for-job{
4123 background-color: #eb5757; 4123 background-color: #eb5757;
4124 color: #fff; 4124 color: #fff;
4125 } 4125 }
4126 .main__resume-base-item-updated-at{ 4126 .main__resume-base-item-updated-at{
4127 padding: 5px 10px; 4127 padding: 5px 10px;
4128 border-radius: 8px; 4128 border-radius: 8px;
4129 border: 1px #e6e6e6 solid; 4129 border: 1px #e6e6e6 solid;
4130 } 4130 }
4131 @media (min-width: 768px) { 4131 @media (min-width: 768px) {
4132 .main__resume-base-body-item-inner { 4132 .main__resume-base-body-item-inner {
4133 gap: 16px; 4133 gap: 16px;
4134 padding-right: 50px; 4134 padding-right: 50px;
4135 } 4135 }
4136 } 4136 }
4137 @media (min-width: 992px) { 4137 @media (min-width: 992px) {
4138 .main__resume-base-body-item-inner { 4138 .main__resume-base-body-item-inner {
4139 display: grid; 4139 display: grid;
4140 grid-template-columns: repeat(2, 1fr); 4140 grid-template-columns: repeat(2, 1fr);
4141 gap: 30px; 4141 gap: 30px;
4142 row-gap: 10px; 4142 row-gap: 10px;
4143 } 4143 }
4144 } 4144 }
4145 .main__resume-base-body-item-inner div { 4145 .main__resume-base-body-item-inner div {
4146 display: -webkit-box; 4146 display: -webkit-box;
4147 display: -ms-flexbox; 4147 display: -ms-flexbox;
4148 display: flex; 4148 display: flex;
4149 -webkit-box-orient: vertical; 4149 -webkit-box-orient: vertical;
4150 -webkit-box-direction: normal; 4150 -webkit-box-direction: normal;
4151 -ms-flex-direction: column; 4151 -ms-flex-direction: column;
4152 flex-direction: column; 4152 flex-direction: column;
4153 gap: 4px; 4153 gap: 4px;
4154 font-size: 12px; 4154 font-size: 12px;
4155 } 4155 }
4156 @media (min-width: 768px) { 4156 @media (min-width: 768px) {
4157 .main__resume-base-body-item-inner div { 4157 .main__resume-base-body-item-inner div {
4158 font-size: 16px; 4158 font-size: 16px;
4159 } 4159 }
4160 } 4160 }
4161 .main__resume-base-body-item-inner b { 4161 .main__resume-base-body-item-inner b {
4162 color: #377d87; 4162 color: #377d87;
4163 font-size: 14px; 4163 font-size: 14px;
4164 } 4164 }
4165 @media (min-width: 768px) { 4165 @media (min-width: 768px) {
4166 .main__resume-base-body-item-inner b { 4166 .main__resume-base-body-item-inner b {
4167 font-size: 18px; 4167 font-size: 18px;
4168 } 4168 }
4169 } 4169 }
4170 .main__resume-base-body-item-link { 4170 .main__resume-base-body-item-link {
4171 width: 100%; 4171 width: 100%;
4172 padding: 0; 4172 padding: 0;
4173 } 4173 }
4174 @media (min-width: 768px) { 4174 @media (min-width: 768px) {
4175 .main__resume-base-body-item-link { 4175 .main__resume-base-body-item-link {
4176 width: 200px; 4176 width: 200px;
4177 } 4177 }
4178 } 4178 }
4179 .main__spoiler { 4179 .main__spoiler {
4180 overflow: hidden; 4180 overflow: hidden;
4181 border-radius: 8px; 4181 border-radius: 8px;
4182 display: -webkit-box; 4182 display: -webkit-box;
4183 display: -ms-flexbox; 4183 display: -ms-flexbox;
4184 display: flex; 4184 display: flex;
4185 -webkit-box-orient: vertical; 4185 -webkit-box-orient: vertical;
4186 -webkit-box-direction: normal; 4186 -webkit-box-direction: normal;
4187 -ms-flex-direction: column; 4187 -ms-flex-direction: column;
4188 flex-direction: column; 4188 flex-direction: column;
4189 } 4189 }
4190 .main__spoiler-toper { 4190 .main__spoiler-toper {
4191 background: #377d87; 4191 background: #377d87;
4192 height: 30px; 4192 height: 30px;
4193 display: -webkit-box; 4193 display: -webkit-box;
4194 display: -ms-flexbox; 4194 display: -ms-flexbox;
4195 display: flex; 4195 display: flex;
4196 -webkit-box-align: center; 4196 -webkit-box-align: center;
4197 -ms-flex-align: center; 4197 -ms-flex-align: center;
4198 align-items: center; 4198 align-items: center;
4199 -webkit-box-pack: center; 4199 -webkit-box-pack: center;
4200 -ms-flex-pack: center; 4200 -ms-flex-pack: center;
4201 justify-content: center; 4201 justify-content: center;
4202 color: #fff; 4202 color: #fff;
4203 font-size: 12px; 4203 font-size: 12px;
4204 font-weight: 700; 4204 font-weight: 700;
4205 padding: 0 30px; 4205 padding: 0 30px;
4206 border: none; 4206 border: none;
4207 position: relative; 4207 position: relative;
4208 } 4208 }
4209 @media (min-width: 768px) { 4209 @media (min-width: 768px) {
4210 .main__spoiler-toper { 4210 .main__spoiler-toper {
4211 font-size: 18px; 4211 font-size: 18px;
4212 height: 50px; 4212 height: 50px;
4213 padding: 0 60px; 4213 padding: 0 60px;
4214 } 4214 }
4215 } 4215 }
4216 .main__spoiler-toper:before, .main__spoiler-toper:after { 4216 .main__spoiler-toper:before, .main__spoiler-toper:after {
4217 content: ""; 4217 content: "";
4218 background: #fff; 4218 background: #fff;
4219 border-radius: 999px; 4219 border-radius: 999px;
4220 width: 10px; 4220 width: 10px;
4221 height: 1px; 4221 height: 1px;
4222 position: absolute; 4222 position: absolute;
4223 top: 50%; 4223 top: 50%;
4224 right: 10px; 4224 right: 10px;
4225 -webkit-transition: 0.3s; 4225 -webkit-transition: 0.3s;
4226 transition: 0.3s; 4226 transition: 0.3s;
4227 -webkit-transform: translate(0, -50%); 4227 -webkit-transform: translate(0, -50%);
4228 -ms-transform: translate(0, -50%); 4228 -ms-transform: translate(0, -50%);
4229 transform: translate(0, -50%); 4229 transform: translate(0, -50%);
4230 } 4230 }
4231 @media (min-width: 768px) { 4231 @media (min-width: 768px) {
4232 .main__spoiler-toper:before, .main__spoiler-toper:after { 4232 .main__spoiler-toper:before, .main__spoiler-toper:after {
4233 width: 20px; 4233 width: 20px;
4234 height: 2px; 4234 height: 2px;
4235 right: 20px; 4235 right: 20px;
4236 } 4236 }
4237 } 4237 }
4238 .main__spoiler-toper:after { 4238 .main__spoiler-toper:after {
4239 -webkit-transform: rotate(90deg); 4239 -webkit-transform: rotate(90deg);
4240 -ms-transform: rotate(90deg); 4240 -ms-transform: rotate(90deg);
4241 transform: rotate(90deg); 4241 transform: rotate(90deg);
4242 } 4242 }
4243 .main__spoiler-toper.active:after { 4243 .main__spoiler-toper.active:after {
4244 -webkit-transform: rotate(0deg); 4244 -webkit-transform: rotate(0deg);
4245 -ms-transform: rotate(0deg); 4245 -ms-transform: rotate(0deg);
4246 transform: rotate(0deg); 4246 transform: rotate(0deg);
4247 } 4247 }
4248 .main__spoiler-body { 4248 .main__spoiler-body {
4249 opacity: 0; 4249 opacity: 0;
4250 height: 0; 4250 height: 0;
4251 overflow: hidden; 4251 overflow: hidden;
4252 border-radius: 0 0 8px 8px; 4252 border-radius: 0 0 8px 8px;
4253 background: #fff; 4253 background: #fff;
4254 } 4254 }
4255 .main__spoiler-body table { 4255 .main__spoiler-body table {
4256 width: calc(100% + 2px); 4256 width: calc(100% + 2px);
4257 margin-left: -1px; 4257 margin-left: -1px;
4258 margin-bottom: -1px; 4258 margin-bottom: -1px;
4259 } 4259 }
4260 @media (min-width: 992px) { 4260 @media (min-width: 992px) {
4261 .main__spoiler-body table td { 4261 .main__spoiler-body table td {
4262 width: 50%; 4262 width: 50%;
4263 } 4263 }
4264 } 4264 }
4265 @media (min-width: 992px) { 4265 @media (min-width: 992px) {
4266 .main__spoiler-body table td + td { 4266 .main__spoiler-body table td + td {
4267 width: 50%; 4267 width: 50%;
4268 } 4268 }
4269 } 4269 }
4270 .active + .main__spoiler-body { 4270 .active + .main__spoiler-body {
4271 -webkit-transition: 0.3s; 4271 -webkit-transition: 0.3s;
4272 transition: 0.3s; 4272 transition: 0.3s;
4273 opacity: 1; 4273 opacity: 1;
4274 height: auto; 4274 height: auto;
4275 border: 1px solid #cecece; 4275 border: 1px solid #cecece;
4276 border-top: none; 4276 border-top: none;
4277 } 4277 }
4278 .main__table { 4278 .main__table {
4279 border-collapse: collapse; 4279 border-collapse: collapse;
4280 table-layout: fixed; 4280 table-layout: fixed;
4281 font-size: 12px; 4281 font-size: 12px;
4282 width: 100%; 4282 width: 100%;
4283 background: #fff; 4283 background: #fff;
4284 } 4284 }
4285 @media (min-width: 768px) { 4285 @media (min-width: 768px) {
4286 .main__table { 4286 .main__table {
4287 font-size: 16px; 4287 font-size: 16px;
4288 } 4288 }
4289 } 4289 }
4290 .main__table td { 4290 .main__table td {
4291 border: 1px solid #cecece; 4291 border: 1px solid #cecece;
4292 padding: 4px 8px; 4292 padding: 4px 8px;
4293 vertical-align: top; 4293 vertical-align: top;
4294 } 4294 }
4295 @media (min-width: 768px) { 4295 @media (min-width: 768px) {
4296 .main__table td { 4296 .main__table td {
4297 padding: 8px 16px; 4297 padding: 8px 16px;
4298 } 4298 }
4299 } 4299 }
4300 .main__table td b { 4300 .main__table td b {
4301 font-weight: 700; 4301 font-weight: 700;
4302 } 4302 }
4303 .main__table_three { 4303 .main__table_three {
4304 table-layout: auto; 4304 table-layout: auto;
4305 } 4305 }
4306 .main__table_three td { 4306 .main__table_three td {
4307 width: 25% !important; 4307 width: 25% !important;
4308 } 4308 }
4309 .main__table_three td:last-child { 4309 .main__table_three td:last-child {
4310 width: 50% !important; 4310 width: 50% !important;
4311 } 4311 }
4312 .main__table b { 4312 .main__table b {
4313 display: block; 4313 display: block;
4314 } 4314 }
4315 .main__table a { 4315 .main__table a {
4316 color: #377d87; 4316 color: #377d87;
4317 text-decoration: underline; 4317 text-decoration: underline;
4318 } 4318 }
4319 .main__table a:hover { 4319 .main__table a:hover {
4320 color: #000; 4320 color: #000;
4321 } 4321 }
4322 .main__resume-profile-about { 4322 .main__resume-profile-about {
4323 padding-top: 20px; 4323 padding-top: 20px;
4324 padding-bottom: 30px; 4324 padding-bottom: 30px;
4325 position: relative; 4325 position: relative;
4326 margin-top: 30px; 4326 margin-top: 30px;
4327 display: -webkit-box; 4327 display: -webkit-box;
4328 display: -ms-flexbox; 4328 display: -ms-flexbox;
4329 display: flex; 4329 display: flex;
4330 -webkit-box-orient: vertical; 4330 -webkit-box-orient: vertical;
4331 -webkit-box-direction: normal; 4331 -webkit-box-direction: normal;
4332 -ms-flex-direction: column; 4332 -ms-flex-direction: column;
4333 flex-direction: column; 4333 flex-direction: column;
4334 -webkit-box-align: start; 4334 -webkit-box-align: start;
4335 -ms-flex-align: start; 4335 -ms-flex-align: start;
4336 align-items: flex-start; 4336 align-items: flex-start;
4337 gap: 10px; 4337 gap: 10px;
4338 } 4338 }
4339 @media (min-width: 992px) { 4339 @media (min-width: 992px) {
4340 .main__resume-profile-about { 4340 .main__resume-profile-about {
4341 padding: 50px 0; 4341 padding: 50px 0;
4342 } 4342 }
4343 } 4343 }
4344 .main__resume-profile-about:before { 4344 .main__resume-profile-about:before {
4345 content: ""; 4345 content: "";
4346 position: absolute; 4346 position: absolute;
4347 z-index: 1; 4347 z-index: 1;
4348 top: 0; 4348 top: 0;
4349 left: 50%; 4349 left: 50%;
4350 width: 20000px; 4350 width: 20000px;
4351 height: 100%; 4351 height: 100%;
4352 margin-left: -10000px; 4352 margin-left: -10000px;
4353 background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); 4353 background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%);
4354 } 4354 }
4355 .main__resume-profile-about-title { 4355 .main__resume-profile-about-title {
4356 position: relative; 4356 position: relative;
4357 z-index: 2; 4357 z-index: 2;
4358 color: #000; 4358 color: #000;
4359 } 4359 }
4360 .main__resume-profile-about-buttons{ 4360 .main__resume-profile-about-buttons{
4361 display: flex; 4361 display: flex;
4362 width: 100%; 4362 width: 100%;
4363 position: relative; 4363 position: relative;
4364 z-index: 2; 4364 z-index: 2;
4365 } 4365 }
4366 .main__resume-profile-about-buttons .like{ 4366 .main__resume-profile-about-buttons .like{
4367 width: 200px; 4367 width: 200px;
4368 } 4368 }
4369 .main__resume-profile-about-buttons .like.active{ 4369 .main__resume-profile-about-buttons .like.active{
4370 background: #fff; 4370 background: #fff;
4371 color: #eb5757; 4371 color: #eb5757;
4372 } 4372 }
4373 .main__resume-profile-about-buttons .like .in-favorites{ 4373 .main__resume-profile-about-buttons .like .in-favorites{
4374 display: none; 4374 display: none;
4375 } 4375 }
4376 .main__resume-profile-about-buttons .like.active .in-favorites{ 4376 .main__resume-profile-about-buttons .like.active .in-favorites{
4377 display: block; 4377 display: block;
4378 color: #eb5757; 4378 color: #eb5757;
4379 } 4379 }
4380 .main__resume-profile-about-buttons .like.active .to-favorites{ 4380 .main__resume-profile-about-buttons .like.active .to-favorites{
4381 display: none; 4381 display: none;
4382 } 4382 }
4383 .main__resume-profile-about-text { 4383 .main__resume-profile-about-text {
4384 position: relative; 4384 position: relative;
4385 z-index: 2; 4385 z-index: 2;
4386 } 4386 }
4387 .main__resume-profile-info { 4387 .main__resume-profile-info {
4388 display: -webkit-box; 4388 display: -webkit-box;
4389 display: -ms-flexbox; 4389 display: -ms-flexbox;
4390 display: flex; 4390 display: flex;
4391 -webkit-box-orient: vertical; 4391 -webkit-box-orient: vertical;
4392 -webkit-box-direction: normal; 4392 -webkit-box-direction: normal;
4393 -ms-flex-direction: column; 4393 -ms-flex-direction: column;
4394 flex-direction: column; 4394 flex-direction: column;
4395 gap: 20px; 4395 gap: 20px;
4396 margin-top: 30px; 4396 margin-top: 30px;
4397 } 4397 }
4398 @media (min-width: 992px) { 4398 @media (min-width: 992px) {
4399 .main__resume-profile-info { 4399 .main__resume-profile-info {
4400 margin-top: 50px; 4400 margin-top: 50px;
4401 gap: 30px; 4401 gap: 30px;
4402 } 4402 }
4403 } 4403 }
4404 .main__resume-profile-info-title { 4404 .main__resume-profile-info-title {
4405 color: #000; 4405 color: #000;
4406 } 4406 }
4407 .main__resume-profile-info-body { 4407 .main__resume-profile-info-body {
4408 display: -webkit-box; 4408 display: -webkit-box;
4409 display: -ms-flexbox; 4409 display: -ms-flexbox;
4410 display: flex; 4410 display: flex;
4411 -webkit-box-orient: vertical; 4411 -webkit-box-orient: vertical;
4412 -webkit-box-direction: normal; 4412 -webkit-box-direction: normal;
4413 -ms-flex-direction: column; 4413 -ms-flex-direction: column;
4414 flex-direction: column; 4414 flex-direction: column;
4415 gap: 20px; 4415 gap: 20px;
4416 } 4416 }
4417 @media (min-width: 992px) { 4417 @media (min-width: 992px) {
4418 .main__resume-profile-info-body { 4418 .main__resume-profile-info-body {
4419 gap: 30px; 4419 gap: 30px;
4420 } 4420 }
4421 } 4421 }
4422 .main__resume-profile-info-body-item { 4422 .main__resume-profile-info-body-item {
4423 display: -webkit-box; 4423 display: -webkit-box;
4424 display: -ms-flexbox; 4424 display: -ms-flexbox;
4425 display: flex; 4425 display: flex;
4426 -webkit-box-orient: vertical; 4426 -webkit-box-orient: vertical;
4427 -webkit-box-direction: normal; 4427 -webkit-box-direction: normal;
4428 -ms-flex-direction: column; 4428 -ms-flex-direction: column;
4429 flex-direction: column; 4429 flex-direction: column;
4430 gap: 10px; 4430 gap: 10px;
4431 } 4431 }
4432 @media (min-width: 768px) { 4432 @media (min-width: 768px) {
4433 .main__resume-profile-info-body-item { 4433 .main__resume-profile-info-body-item {
4434 gap: 20px; 4434 gap: 20px;
4435 } 4435 }
4436 } 4436 }
4437 .main__resume-profile-info-body-subtitle { 4437 .main__resume-profile-info-body-subtitle {
4438 color: #4d88d9; 4438 color: #4d88d9;
4439 } 4439 }
4440 .main__resume-profile-info-body-inner { 4440 .main__resume-profile-info-body-inner {
4441 display: -webkit-box; 4441 display: -webkit-box;
4442 display: -ms-flexbox; 4442 display: -ms-flexbox;
4443 display: flex; 4443 display: flex;
4444 -webkit-box-orient: vertical; 4444 -webkit-box-orient: vertical;
4445 -webkit-box-direction: normal; 4445 -webkit-box-direction: normal;
4446 -ms-flex-direction: column; 4446 -ms-flex-direction: column;
4447 flex-direction: column; 4447 flex-direction: column;
4448 gap: 20px; 4448 gap: 20px;
4449 margin: 0; 4449 margin: 0;
4450 padding: 0; 4450 padding: 0;
4451 font-size: 12px; 4451 font-size: 12px;
4452 } 4452 }
4453 @media (min-width: 768px) { 4453 @media (min-width: 768px) {
4454 .main__resume-profile-info-body-inner { 4454 .main__resume-profile-info-body-inner {
4455 display: grid; 4455 display: grid;
4456 grid-template-columns: repeat(2, 1fr); 4456 grid-template-columns: repeat(2, 1fr);
4457 } 4457 }
4458 } 4458 }
4459 @media (min-width: 992px) { 4459 @media (min-width: 992px) {
4460 .main__resume-profile-info-body-inner { 4460 .main__resume-profile-info-body-inner {
4461 grid-template-columns: repeat(3, 1fr); 4461 grid-template-columns: repeat(3, 1fr);
4462 font-size: 16px; 4462 font-size: 16px;
4463 } 4463 }
4464 } 4464 }
4465 .main__resume-profile-info-body-inner li { 4465 .main__resume-profile-info-body-inner li {
4466 display: -webkit-box; 4466 display: -webkit-box;
4467 display: -ms-flexbox; 4467 display: -ms-flexbox;
4468 display: flex; 4468 display: flex;
4469 -webkit-box-orient: vertical; 4469 -webkit-box-orient: vertical;
4470 -webkit-box-direction: normal; 4470 -webkit-box-direction: normal;
4471 -ms-flex-direction: column; 4471 -ms-flex-direction: column;
4472 flex-direction: column; 4472 flex-direction: column;
4473 gap: 6px; 4473 gap: 6px;
4474 } 4474 }
4475 @media (min-width: 992px) { 4475 @media (min-width: 992px) {
4476 .main__resume-profile-info-body-inner li { 4476 .main__resume-profile-info-body-inner li {
4477 gap: 8px; 4477 gap: 8px;
4478 } 4478 }
4479 } 4479 }
4480 .main__resume-profile-info-body-inner b { 4480 .main__resume-profile-info-body-inner b {
4481 color: #377d87; 4481 color: #377d87;
4482 font-size: 14px; 4482 font-size: 14px;
4483 } 4483 }
4484 @media (min-width: 992px) { 4484 @media (min-width: 992px) {
4485 .main__resume-profile-info-body-inner b { 4485 .main__resume-profile-info-body-inner b {
4486 font-size: 18px; 4486 font-size: 18px;
4487 } 4487 }
4488 } 4488 }
4489 .main__resume-profile-info-body-inner span { 4489 .main__resume-profile-info-body-inner span {
4490 display: -webkit-box; 4490 display: -webkit-box;
4491 display: -ms-flexbox; 4491 display: -ms-flexbox;
4492 display: flex; 4492 display: flex;
4493 -webkit-box-orient: vertical; 4493 -webkit-box-orient: vertical;
4494 -webkit-box-direction: normal; 4494 -webkit-box-direction: normal;
4495 -ms-flex-direction: column; 4495 -ms-flex-direction: column;
4496 flex-direction: column; 4496 flex-direction: column;
4497 gap: 4px; 4497 gap: 4px;
4498 } 4498 }
4499 @media (min-width: 992px) { 4499 @media (min-width: 992px) {
4500 .main__resume-profile-info-body-inner span { 4500 .main__resume-profile-info-body-inner span {
4501 gap: 6px; 4501 gap: 6px;
4502 } 4502 }
4503 } 4503 }
4504 .main__resume-profile-review { 4504 .main__resume-profile-review {
4505 display: -webkit-box; 4505 display: -webkit-box;
4506 display: -ms-flexbox; 4506 display: -ms-flexbox;
4507 display: flex; 4507 display: flex;
4508 -webkit-box-orient: vertical; 4508 -webkit-box-orient: vertical;
4509 -webkit-box-direction: normal; 4509 -webkit-box-direction: normal;
4510 -ms-flex-direction: column; 4510 -ms-flex-direction: column;
4511 flex-direction: column; 4511 flex-direction: column;
4512 gap: 20px; 4512 gap: 20px;
4513 padding: 20px 10px; 4513 padding: 20px 10px;
4514 margin-top: 30px; 4514 margin-top: 30px;
4515 border-radius: 16px; 4515 border-radius: 16px;
4516 border: 1px solid #cecece; 4516 border: 1px solid #cecece;
4517 background: #fff; 4517 background: #fff;
4518 -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); 4518 -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
4519 box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); 4519 box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
4520 } 4520 }
4521 @media (min-width: 992px) { 4521 @media (min-width: 992px) {
4522 .main__resume-profile-review { 4522 .main__resume-profile-review {
4523 margin-top: 50px; 4523 margin-top: 50px;
4524 padding: 50px 40px; 4524 padding: 50px 40px;
4525 gap: 30px; 4525 gap: 30px;
4526 } 4526 }
4527 } 4527 }
4528 .main__resume-profile-review-title { 4528 .main__resume-profile-review-title {
4529 color: #000; 4529 color: #000;
4530 } 4530 }
4531 .main__resume-profile-review-body { 4531 .main__resume-profile-review-body {
4532 display: -webkit-box; 4532 display: -webkit-box;
4533 display: -ms-flexbox; 4533 display: -ms-flexbox;
4534 display: flex; 4534 display: flex;
4535 -webkit-box-orient: vertical; 4535 -webkit-box-orient: vertical;
4536 -webkit-box-direction: normal; 4536 -webkit-box-direction: normal;
4537 -ms-flex-direction: column; 4537 -ms-flex-direction: column;
4538 flex-direction: column; 4538 flex-direction: column;
4539 -webkit-box-align: start; 4539 -webkit-box-align: start;
4540 -ms-flex-align: start; 4540 -ms-flex-align: start;
4541 align-items: flex-start; 4541 align-items: flex-start;
4542 gap: 10px; 4542 gap: 10px;
4543 } 4543 }
4544 .main__resume-profile-review-body .textarea { 4544 .main__resume-profile-review-body .textarea {
4545 width: 100%; 4545 width: 100%;
4546 } 4546 }
4547 .main__resume-profile-review-body .button { 4547 .main__resume-profile-review-body .button {
4548 margin-top: 10px; 4548 margin-top: 10px;
4549 } 4549 }
4550 .main__vacancies { 4550 .main__vacancies {
4551 display: -webkit-box; 4551 display: -webkit-box;
4552 display: -ms-flexbox; 4552 display: -ms-flexbox;
4553 display: flex; 4553 display: flex;
4554 -webkit-box-orient: vertical; 4554 -webkit-box-orient: vertical;
4555 -webkit-box-direction: normal; 4555 -webkit-box-direction: normal;
4556 -ms-flex-direction: column; 4556 -ms-flex-direction: column;
4557 flex-direction: column; 4557 flex-direction: column;
4558 -webkit-box-align: center; 4558 -webkit-box-align: center;
4559 -ms-flex-align: center; 4559 -ms-flex-align: center;
4560 align-items: center; 4560 align-items: center;
4561 gap: 20px; 4561 gap: 20px;
4562 } 4562 }
4563 @media (min-width: 768px) { 4563 @media (min-width: 768px) {
4564 .main__vacancies { 4564 .main__vacancies {
4565 gap: 30px; 4565 gap: 30px;
4566 } 4566 }
4567 } 4567 }
4568 .main__vacancies-title { 4568 .main__vacancies-title {
4569 color: #000; 4569 color: #000;
4570 width: 100%; 4570 width: 100%;
4571 } 4571 }
4572 .main__vacancies-filters { 4572 .main__vacancies-filters {
4573 width: 100%; 4573 width: 100%;
4574 } 4574 }
4575 .main__vacancies-item { 4575 .main__vacancies-item {
4576 width: 100%; 4576 width: 100%;
4577 background: none; 4577 background: none;
4578 -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); 4578 -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
4579 box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); 4579 box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
4580 } 4580 }
4581 .main__vacancies-item-page { 4581 .main__vacancies-item-page {
4582 border: none; 4582 border: none;
4583 -webkit-box-shadow: none; 4583 -webkit-box-shadow: none;
4584 box-shadow: none; 4584 box-shadow: none;
4585 background: none; 4585 background: none;
4586 margin: 0 -10px; 4586 margin: 0 -10px;
4587 } 4587 }
4588 @media (min-width: 768px) { 4588 @media (min-width: 768px) {
4589 .main__vacancies-item-page { 4589 .main__vacancies-item-page {
4590 margin: 0 -20px; 4590 margin: 0 -20px;
4591 } 4591 }
4592 } 4592 }
4593 .main__vacancies-thing { 4593 .main__vacancies-thing {
4594 width: 100%; 4594 width: 100%;
4595 background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); 4595 background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%);
4596 padding: 20px 10px; 4596 padding: 20px 10px;
4597 padding-bottom: 30px; 4597 padding-bottom: 30px;
4598 display: -webkit-box; 4598 display: -webkit-box;
4599 display: -ms-flexbox; 4599 display: -ms-flexbox;
4600 display: flex; 4600 display: flex;
4601 -webkit-box-orient: vertical; 4601 -webkit-box-orient: vertical;
4602 -webkit-box-direction: normal; 4602 -webkit-box-direction: normal;
4603 -ms-flex-direction: column; 4603 -ms-flex-direction: column;
4604 flex-direction: column; 4604 flex-direction: column;
4605 gap: 24px; 4605 gap: 24px;
4606 border-radius: 12px; 4606 border-radius: 12px;
4607 -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); 4607 -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
4608 box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); 4608 box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
4609 } 4609 }
4610 @media (min-width: 992px) { 4610 @media (min-width: 992px) {
4611 .main__vacancies-thing { 4611 .main__vacancies-thing {
4612 padding: 30px 20px; 4612 padding: 30px 20px;
4613 -webkit-box-orient: horizontal; 4613 -webkit-box-orient: horizontal;
4614 -webkit-box-direction: normal; 4614 -webkit-box-direction: normal;
4615 -ms-flex-direction: row; 4615 -ms-flex-direction: row;
4616 flex-direction: row; 4616 flex-direction: row;
4617 -webkit-box-align: start; 4617 -webkit-box-align: start;
4618 -ms-flex-align: start; 4618 -ms-flex-align: start;
4619 align-items: flex-start; 4619 align-items: flex-start;
4620 gap: 0; 4620 gap: 0;
4621 } 4621 }
4622 } 4622 }
4623 @media (min-width: 1280px) { 4623 @media (min-width: 1280px) {
4624 .main__vacancies-thing { 4624 .main__vacancies-thing {
4625 padding: 50px 20px; 4625 padding: 50px 20px;
4626 } 4626 }
4627 } 4627 }
4628 .main__vacancies-thing-pic { 4628 .main__vacancies-thing-pic {
4629 position: relative; 4629 position: relative;
4630 z-index: 2; 4630 z-index: 2;
4631 width: 100%; 4631 width: 100%;
4632 aspect-ratio: 42/34; 4632 aspect-ratio: 42/34;
4633 -o-object-fit: cover; 4633 -o-object-fit: cover;
4634 object-fit: cover; 4634 object-fit: cover;
4635 border-radius: 8px; 4635 border-radius: 8px;
4636 max-height: 340px; 4636 max-height: 340px;
4637 } 4637 }
4638 @media (min-width: 992px) { 4638 @media (min-width: 992px) {
4639 .main__vacancies-thing-pic { 4639 .main__vacancies-thing-pic {
4640 width: 380px; 4640 width: 380px;
4641 } 4641 }
4642 } 4642 }
4643 @media (min-width: 1280px) { 4643 @media (min-width: 1280px) {
4644 .main__vacancies-thing-pic { 4644 .main__vacancies-thing-pic {
4645 width: 420px; 4645 width: 420px;
4646 } 4646 }
4647 } 4647 }
4648 .main__vacancies-thing-body { 4648 .main__vacancies-thing-body {
4649 display: -webkit-box; 4649 display: -webkit-box;
4650 display: -ms-flexbox; 4650 display: -ms-flexbox;
4651 display: flex; 4651 display: flex;
4652 -webkit-box-orient: vertical; 4652 -webkit-box-orient: vertical;
4653 -webkit-box-direction: normal; 4653 -webkit-box-direction: normal;
4654 -ms-flex-direction: column; 4654 -ms-flex-direction: column;
4655 flex-direction: column; 4655 flex-direction: column;
4656 -webkit-box-align: start; 4656 -webkit-box-align: start;
4657 -ms-flex-align: start; 4657 -ms-flex-align: start;
4658 align-items: flex-start; 4658 align-items: flex-start;
4659 gap: 16px; 4659 gap: 16px;
4660 color: #000; 4660 color: #000;
4661 } 4661 }
4662 @media (min-width: 992px) { 4662 @media (min-width: 992px) {
4663 .main__vacancies-thing-body { 4663 .main__vacancies-thing-body {
4664 width: calc(100% - 380px); 4664 width: calc(100% - 380px);
4665 padding-left: 20px; 4665 padding-left: 20px;
4666 } 4666 }
4667 } 4667 }
4668 @media (min-width: 1280px) { 4668 @media (min-width: 1280px) {
4669 .main__vacancies-thing-body { 4669 .main__vacancies-thing-body {
4670 width: calc(100% - 420px); 4670 width: calc(100% - 420px);
4671 gap: 20px; 4671 gap: 20px;
4672 } 4672 }
4673 } 4673 }
4674 .main__vacancies-thing-body > * { 4674 .main__vacancies-thing-body > * {
4675 width: 100%; 4675 width: 100%;
4676 } 4676 }
4677 .main__vacancies-thing-body .button { 4677 .main__vacancies-thing-body .button {
4678 width: auto; 4678 width: auto;
4679 } 4679 }
4680 @media (min-width: 768px) { 4680 @media (min-width: 768px) {
4681 .main__vacancies-thing-body .button { 4681 .main__vacancies-thing-body .button {
4682 min-width: 200px; 4682 min-width: 200px;
4683 } 4683 }
4684 } 4684 }
4685 .main__vacancies-thing-scroll { 4685 .main__vacancies-thing-scroll {
4686 display: -webkit-box; 4686 display: -webkit-box;
4687 display: -ms-flexbox; 4687 display: -ms-flexbox;
4688 display: flex; 4688 display: flex;
4689 -webkit-box-orient: vertical; 4689 -webkit-box-orient: vertical;
4690 -webkit-box-direction: normal; 4690 -webkit-box-direction: normal;
4691 -ms-flex-direction: column; 4691 -ms-flex-direction: column;
4692 flex-direction: column; 4692 flex-direction: column;
4693 -webkit-box-align: start; 4693 -webkit-box-align: start;
4694 -ms-flex-align: start; 4694 -ms-flex-align: start;
4695 align-items: flex-start; 4695 align-items: flex-start;
4696 gap: 16px; 4696 gap: 16px;
4697 overflow: hidden; 4697 overflow: hidden;
4698 overflow-y: auto; 4698 overflow-y: auto;
4699 max-height: 180px; 4699 max-height: 180px;
4700 padding-right: 10px; 4700 padding-right: 10px;
4701 } 4701 }
4702 @media (min-width: 768px) { 4702 @media (min-width: 768px) {
4703 .main__vacancies-thing-scroll { 4703 .main__vacancies-thing-scroll {
4704 max-height: 210px; 4704 max-height: 210px;
4705 padding-right: 20px; 4705 padding-right: 20px;
4706 } 4706 }
4707 } 4707 }
4708 @media (min-width: 992px) { 4708 @media (min-width: 992px) {
4709 .main__vacancies-thing-scroll { 4709 .main__vacancies-thing-scroll {
4710 max-height: 175px; 4710 max-height: 175px;
4711 } 4711 }
4712 } 4712 }
4713 @media (min-width: 1280px) { 4713 @media (min-width: 1280px) {
4714 .main__vacancies-thing-scroll { 4714 .main__vacancies-thing-scroll {
4715 max-height: 200px; 4715 max-height: 200px;
4716 gap: 20px; 4716 gap: 20px;
4717 } 4717 }
4718 } 4718 }
4719 .main__cond { 4719 .main__cond {
4720 display: -webkit-box; 4720 display: -webkit-box;
4721 display: -ms-flexbox; 4721 display: -ms-flexbox;
4722 display: flex; 4722 display: flex;
4723 -webkit-box-orient: vertical; 4723 -webkit-box-orient: vertical;
4724 -webkit-box-direction: normal; 4724 -webkit-box-direction: normal;
4725 -ms-flex-direction: column; 4725 -ms-flex-direction: column;
4726 flex-direction: column; 4726 flex-direction: column;
4727 gap: 50px; 4727 gap: 50px;
4728 } 4728 }
4729 .main__cond > div { 4729 .main__cond > div {
4730 display: -webkit-box; 4730 display: -webkit-box;
4731 display: -ms-flexbox; 4731 display: -ms-flexbox;
4732 display: flex; 4732 display: flex;
4733 -webkit-box-orient: vertical; 4733 -webkit-box-orient: vertical;
4734 -webkit-box-direction: normal; 4734 -webkit-box-direction: normal;
4735 -ms-flex-direction: column; 4735 -ms-flex-direction: column;
4736 flex-direction: column; 4736 flex-direction: column;
4737 gap: 10px; 4737 gap: 10px;
4738 } 4738 }
4739 .main__cond-label { 4739 .main__cond-label {
4740 border-radius: 16px; 4740 border-radius: 16px;
4741 border: 1px solid #cecece; 4741 border: 1px solid #cecece;
4742 -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); 4742 -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
4743 box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); 4743 box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
4744 padding: 30px 20px; 4744 padding: 30px 20px;
4745 font-weight: 700; 4745 font-weight: 700;
4746 color: #000; 4746 color: #000;
4747 line-height: 2; 4747 line-height: 2;
4748 text-align: center; 4748 text-align: center;
4749 } 4749 }
4750 @media (min-width: 992px) { 4750 @media (min-width: 992px) {
4751 .main__cond-label { 4751 .main__cond-label {
4752 font-size: 30px; 4752 font-size: 30px;
4753 } 4753 }
4754 } 4754 }
4755 .main__cond-icons { 4755 .main__cond-icons {
4756 padding: 0; 4756 padding: 0;
4757 margin: 0; 4757 margin: 0;
4758 display: -webkit-box; 4758 display: -webkit-box;
4759 display: -ms-flexbox; 4759 display: -ms-flexbox;
4760 display: flex; 4760 display: flex;
4761 -webkit-box-orient: vertical; 4761 -webkit-box-orient: vertical;
4762 -webkit-box-direction: normal; 4762 -webkit-box-direction: normal;
4763 -ms-flex-direction: column; 4763 -ms-flex-direction: column;
4764 flex-direction: column; 4764 flex-direction: column;
4765 gap: 25px; 4765 gap: 25px;
4766 margin-top: 10px; 4766 margin-top: 10px;
4767 } 4767 }
4768 @media (min-width: 768px) { 4768 @media (min-width: 768px) {
4769 .main__cond-icons { 4769 .main__cond-icons {
4770 display: grid; 4770 display: grid;
4771 grid-template-columns: repeat(2, 1fr); 4771 grid-template-columns: repeat(2, 1fr);
4772 gap: 60px; 4772 gap: 60px;
4773 margin-top: 20px; 4773 margin-top: 20px;
4774 } 4774 }
4775 } 4775 }
4776 @media (min-width: 1280px) { 4776 @media (min-width: 1280px) {
4777 .main__cond-icons { 4777 .main__cond-icons {
4778 grid-template-columns: repeat(3, 1fr); 4778 grid-template-columns: repeat(3, 1fr);
4779 } 4779 }
4780 } 4780 }
4781 .main__cond-icons li { 4781 .main__cond-icons li {
4782 display: -webkit-box; 4782 display: -webkit-box;
4783 display: -ms-flexbox; 4783 display: -ms-flexbox;
4784 display: flex; 4784 display: flex;
4785 -webkit-box-orient: vertical; 4785 -webkit-box-orient: vertical;
4786 -webkit-box-direction: normal; 4786 -webkit-box-direction: normal;
4787 -ms-flex-direction: column; 4787 -ms-flex-direction: column;
4788 flex-direction: column; 4788 flex-direction: column;
4789 -webkit-box-align: start; 4789 -webkit-box-align: start;
4790 -ms-flex-align: start; 4790 -ms-flex-align: start;
4791 align-items: flex-start; 4791 align-items: flex-start;
4792 gap: 20px; 4792 gap: 20px;
4793 font-size: 12px; 4793 font-size: 12px;
4794 line-height: 1.4; 4794 line-height: 1.4;
4795 color: #000; 4795 color: #000;
4796 } 4796 }
4797 @media (min-width: 768px) { 4797 @media (min-width: 768px) {
4798 .main__cond-icons li { 4798 .main__cond-icons li {
4799 font-size: 14px; 4799 font-size: 14px;
4800 } 4800 }
4801 } 4801 }
4802 @media (min-width: 992px) { 4802 @media (min-width: 992px) {
4803 .main__cond-icons li { 4803 .main__cond-icons li {
4804 font-size: 16px; 4804 font-size: 16px;
4805 line-height: 1.6; 4805 line-height: 1.6;
4806 } 4806 }
4807 } 4807 }
4808 @media (min-width: 1280px) { 4808 @media (min-width: 1280px) {
4809 .main__cond-icons li { 4809 .main__cond-icons li {
4810 font-size: 18px; 4810 font-size: 18px;
4811 } 4811 }
4812 } 4812 }
4813 .main__cond-icons li span { 4813 .main__cond-icons li span {
4814 width: 48px; 4814 width: 48px;
4815 height: 48px; 4815 height: 48px;
4816 display: -webkit-box; 4816 display: -webkit-box;
4817 display: -ms-flexbox; 4817 display: -ms-flexbox;
4818 display: flex; 4818 display: flex;
4819 -webkit-box-align: center; 4819 -webkit-box-align: center;
4820 -ms-flex-align: center; 4820 -ms-flex-align: center;
4821 align-items: center; 4821 align-items: center;
4822 } 4822 }
4823 .main__cond-icons li span img { 4823 .main__cond-icons li span img {
4824 max-width: 48px; 4824 max-width: 48px;
4825 } 4825 }
4826 .main__cond-callback { 4826 .main__cond-callback {
4827 margin-top: 10px; 4827 margin-top: 10px;
4828 } 4828 }
4829 .main__ads { 4829 .main__ads {
4830 display: -webkit-box; 4830 display: -webkit-box;
4831 display: -ms-flexbox; 4831 display: -ms-flexbox;
4832 display: flex; 4832 display: flex;
4833 -webkit-box-orient: vertical; 4833 -webkit-box-orient: vertical;
4834 -webkit-box-direction: normal; 4834 -webkit-box-direction: normal;
4835 -ms-flex-direction: column; 4835 -ms-flex-direction: column;
4836 flex-direction: column; 4836 flex-direction: column;
4837 gap: 30px; 4837 gap: 30px;
4838 margin: 30px 0; 4838 margin: 30px 0;
4839 } 4839 }
4840 @media (min-width: 992px) { 4840 @media (min-width: 992px) {
4841 .main__ads { 4841 .main__ads {
4842 margin: 60px 0; 4842 margin: 60px 0;
4843 } 4843 }
4844 } 4844 }
4845 .main__ads-item { 4845 .main__ads-item {
4846 display: -webkit-box; 4846 display: -webkit-box;
4847 display: -ms-flexbox; 4847 display: -ms-flexbox;
4848 display: flex; 4848 display: flex;
4849 -webkit-box-orient: vertical; 4849 -webkit-box-orient: vertical;
4850 -webkit-box-direction: normal; 4850 -webkit-box-direction: normal;
4851 -ms-flex-direction: column; 4851 -ms-flex-direction: column;
4852 flex-direction: column; 4852 flex-direction: column;
4853 gap: 16px; 4853 gap: 16px;
4854 } 4854 }
4855 @media (min-width: 992px) { 4855 @media (min-width: 992px) {
4856 .main__ads-item { 4856 .main__ads-item {
4857 -webkit-box-orient: horizontal; 4857 -webkit-box-orient: horizontal;
4858 -webkit-box-direction: normal; 4858 -webkit-box-direction: normal;
4859 -ms-flex-direction: row; 4859 -ms-flex-direction: row;
4860 flex-direction: row; 4860 flex-direction: row;
4861 gap: 0; 4861 gap: 0;
4862 } 4862 }
4863 } 4863 }
4864 .main__ads-item-pic { 4864 .main__ads-item-pic {
4865 width: 100%; 4865 width: 100%;
4866 max-width: 440px; 4866 max-width: 440px;
4867 max-height: 200px; 4867 max-height: 200px;
4868 aspect-ratio: 3/2; 4868 aspect-ratio: 3/2;
4869 position: relative; 4869 position: relative;
4870 overflow: hidden; 4870 overflow: hidden;
4871 border-radius: 12px; 4871 border-radius: 12px;
4872 } 4872 }
4873 @media (min-width: 992px) { 4873 @media (min-width: 992px) {
4874 .main__ads-item-pic { 4874 .main__ads-item-pic {
4875 width: 200px; 4875 width: 200px;
4876 aspect-ratio: 1/1; 4876 aspect-ratio: 1/1;
4877 } 4877 }
4878 } 4878 }
4879 .main__ads-item-pic img { 4879 .main__ads-item-pic img {
4880 z-index: 1; 4880 z-index: 1;
4881 position: absolute; 4881 position: absolute;
4882 top: 0; 4882 top: 0;
4883 left: 0; 4883 left: 0;
4884 width: 100%; 4884 width: 100%;
4885 height: 100%; 4885 height: 100%;
4886 -o-object-fit: cover; 4886 -o-object-fit: cover;
4887 object-fit: cover; 4887 object-fit: cover;
4888 } 4888 }
4889 .main__ads-item-pic span { 4889 .main__ads-item-pic span {
4890 z-index: 2; 4890 z-index: 2;
4891 width: 30px; 4891 width: 30px;
4892 height: 30px; 4892 height: 30px;
4893 border-radius: 6px; 4893 border-radius: 6px;
4894 background: #4d88d9; 4894 background: #4d88d9;
4895 display: -webkit-box; 4895 display: -webkit-box;
4896 display: -ms-flexbox; 4896 display: -ms-flexbox;
4897 display: flex; 4897 display: flex;
4898 -webkit-box-pack: center; 4898 -webkit-box-pack: center;
4899 -ms-flex-pack: center; 4899 -ms-flex-pack: center;
4900 justify-content: center; 4900 justify-content: center;
4901 -webkit-box-align: center; 4901 -webkit-box-align: center;
4902 -ms-flex-align: center; 4902 -ms-flex-align: center;
4903 align-items: center; 4903 align-items: center;
4904 position: absolute; 4904 position: absolute;
4905 top: 10px; 4905 top: 10px;
4906 left: 10px; 4906 left: 10px;
4907 color: #fff; 4907 color: #fff;
4908 } 4908 }
4909 @media (min-width: 992px) { 4909 @media (min-width: 992px) {
4910 .main__ads-item-pic span { 4910 .main__ads-item-pic span {
4911 width: 42px; 4911 width: 42px;
4912 height: 42px; 4912 height: 42px;
4913 } 4913 }
4914 } 4914 }
4915 .main__ads-item-pic span svg { 4915 .main__ads-item-pic span svg {
4916 width: 12px; 4916 width: 12px;
4917 height: 12px; 4917 height: 12px;
4918 } 4918 }
4919 @media (min-width: 992px) { 4919 @media (min-width: 992px) {
4920 .main__ads-item-pic span svg { 4920 .main__ads-item-pic span svg {
4921 width: 20px; 4921 width: 20px;
4922 height: 20px; 4922 height: 20px;
4923 } 4923 }
4924 } 4924 }
4925 .main__ads-item-body { 4925 .main__ads-item-body {
4926 display: -webkit-box; 4926 display: -webkit-box;
4927 display: -ms-flexbox; 4927 display: -ms-flexbox;
4928 display: flex; 4928 display: flex;
4929 -webkit-box-orient: vertical; 4929 -webkit-box-orient: vertical;
4930 -webkit-box-direction: normal; 4930 -webkit-box-direction: normal;
4931 -ms-flex-direction: column; 4931 -ms-flex-direction: column;
4932 flex-direction: column; 4932 flex-direction: column;
4933 -webkit-box-align: start; 4933 -webkit-box-align: start;
4934 -ms-flex-align: start; 4934 -ms-flex-align: start;
4935 align-items: flex-start; 4935 align-items: flex-start;
4936 gap: 10px; 4936 gap: 10px;
4937 font-size: 12px; 4937 font-size: 12px;
4938 } 4938 }
4939 @media (min-width: 992px) { 4939 @media (min-width: 992px) {
4940 .main__ads-item-body { 4940 .main__ads-item-body {
4941 width: calc(100% - 200px); 4941 width: calc(100% - 200px);
4942 padding-left: 40px; 4942 padding-left: 40px;
4943 -webkit-box-pack: center; 4943 -webkit-box-pack: center;
4944 -ms-flex-pack: center; 4944 -ms-flex-pack: center;
4945 justify-content: center; 4945 justify-content: center;
4946 font-size: 16px; 4946 font-size: 16px;
4947 gap: 20px; 4947 gap: 20px;
4948 } 4948 }
4949 } 4949 }
4950 .main__ads-item-body b { 4950 .main__ads-item-body b {
4951 width: 100%; 4951 width: 100%;
4952 font-weight: 700; 4952 font-weight: 700;
4953 font-size: 14px; 4953 font-size: 14px;
4954 } 4954 }
4955 @media (min-width: 992px) { 4955 @media (min-width: 992px) {
4956 .main__ads-item-body b { 4956 .main__ads-item-body b {
4957 font-size: 20px; 4957 font-size: 20px;
4958 } 4958 }
4959 } 4959 }
4960 .main__ads-item-body span { 4960 .main__ads-item-body span {
4961 width: 100%; 4961 width: 100%;
4962 } 4962 }
4963 4963
4964 .work { 4964 .work {
4965 background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); 4965 background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%);
4966 color: #000; 4966 color: #000;
4967 padding-top: 70px; 4967 padding-top: 70px;
4968 padding-bottom: 10px; 4968 padding-bottom: 10px;
4969 position: relative; 4969 position: relative;
4970 overflow: hidden; 4970 overflow: hidden;
4971 } 4971 }
4972 @media (min-width: 768px) { 4972 @media (min-width: 768px) {
4973 .work { 4973 .work {
4974 padding-bottom: 25px; 4974 padding-bottom: 25px;
4975 } 4975 }
4976 } 4976 }
4977 @media (min-width: 1280px) { 4977 @media (min-width: 1280px) {
4978 .work { 4978 .work {
4979 padding-top: 80px; 4979 padding-top: 80px;
4980 padding-bottom: 25px; 4980 padding-bottom: 25px;
4981 } 4981 }
4982 } 4982 }
4983 .work__pic { 4983 .work__pic {
4984 position: absolute; 4984 position: absolute;
4985 height: calc(100% - 40px); 4985 height: calc(100% - 40px);
4986 z-index: 1; 4986 z-index: 1;
4987 display: none; 4987 display: none;
4988 bottom: 0; 4988 bottom: 0;
4989 left: 50%; 4989 left: 50%;
4990 margin-left: 40px; 4990 margin-left: 40px;
4991 } 4991 }
4992 @media (min-width: 992px) { 4992 @media (min-width: 992px) {
4993 .work__pic { 4993 .work__pic {
4994 display: block; 4994 display: block;
4995 } 4995 }
4996 } 4996 }
4997 @media (min-width: 1280px) { 4997 @media (min-width: 1280px) {
4998 .work__pic { 4998 .work__pic {
4999 margin-left: 80px; 4999 margin-left: 80px;
5000 } 5000 }
5001 } 5001 }
5002 .work__body { 5002 .work__body {
5003 position: relative; 5003 position: relative;
5004 z-index: 2; 5004 z-index: 2;
5005 display: -webkit-box; 5005 display: -webkit-box;
5006 display: -ms-flexbox; 5006 display: -ms-flexbox;
5007 display: flex; 5007 display: flex;
5008 -webkit-box-orient: vertical; 5008 -webkit-box-orient: vertical;
5009 -webkit-box-direction: normal; 5009 -webkit-box-direction: normal;
5010 -ms-flex-direction: column; 5010 -ms-flex-direction: column;
5011 flex-direction: column; 5011 flex-direction: column;
5012 -webkit-box-align: center; 5012 -webkit-box-align: center;
5013 -ms-flex-align: center; 5013 -ms-flex-align: center;
5014 align-items: center; 5014 align-items: center;
5015 } 5015 }
5016 @media (min-width: 768px) { 5016 @media (min-width: 768px) {
5017 .work__body { 5017 .work__body {
5018 -webkit-box-align: start; 5018 -webkit-box-align: start;
5019 -ms-flex-align: start; 5019 -ms-flex-align: start;
5020 align-items: flex-start; 5020 align-items: flex-start;
5021 } 5021 }
5022 } 5022 }
5023 @media (min-width: 992px) { 5023 @media (min-width: 992px) {
5024 .work__body { 5024 .work__body {
5025 max-width: 600px; 5025 max-width: 600px;
5026 } 5026 }
5027 } 5027 }
5028 .work__title { 5028 .work__title {
5029 width: 100%; 5029 width: 100%;
5030 font-size: 40px; 5030 font-size: 40px;
5031 font-weight: 700; 5031 font-weight: 700;
5032 line-height: 1; 5032 line-height: 1;
5033 } 5033 }
5034 @media (min-width: 768px) { 5034 @media (min-width: 768px) {
5035 .work__title { 5035 .work__title {
5036 font-size: 64px; 5036 font-size: 64px;
5037 line-height: 94px; 5037 line-height: 94px;
5038 } 5038 }
5039 } 5039 }
5040 .work__text { 5040 .work__text {
5041 width: 100%; 5041 width: 100%;
5042 font-size: 12px; 5042 font-size: 12px;
5043 margin-top: 10px; 5043 margin-top: 10px;
5044 } 5044 }
5045 @media (min-width: 768px) { 5045 @media (min-width: 768px) {
5046 .work__text { 5046 .work__text {
5047 font-size: 18px; 5047 font-size: 18px;
5048 margin-top: 20px; 5048 margin-top: 20px;
5049 line-height: 1.4; 5049 line-height: 1.4;
5050 } 5050 }
5051 } 5051 }
5052 .work__list { 5052 .work__list {
5053 width: 100%; 5053 width: 100%;
5054 display: -webkit-box; 5054 display: -webkit-box;
5055 display: -ms-flexbox; 5055 display: -ms-flexbox;
5056 display: flex; 5056 display: flex;
5057 -webkit-box-orient: vertical; 5057 -webkit-box-orient: vertical;
5058 -webkit-box-direction: normal; 5058 -webkit-box-direction: normal;
5059 -ms-flex-direction: column; 5059 -ms-flex-direction: column;
5060 flex-direction: column; 5060 flex-direction: column;
5061 gap: 5px; 5061 gap: 5px;
5062 font-size: 14px; 5062 font-size: 14px;
5063 font-weight: 700; 5063 font-weight: 700;
5064 margin-top: 15px; 5064 margin-top: 15px;
5065 } 5065 }
5066 @media (min-width: 768px) { 5066 @media (min-width: 768px) {
5067 .work__list { 5067 .work__list {
5068 font-size: 18px; 5068 font-size: 18px;
5069 gap: 8px; 5069 gap: 8px;
5070 margin-top: 30px; 5070 margin-top: 30px;
5071 } 5071 }
5072 } 5072 }
5073 .work__list div { 5073 .work__list div {
5074 position: relative; 5074 position: relative;
5075 padding-left: 10px; 5075 padding-left: 10px;
5076 } 5076 }
5077 @media (min-width: 768px) { 5077 @media (min-width: 768px) {
5078 .work__list div { 5078 .work__list div {
5079 padding-left: 16px; 5079 padding-left: 16px;
5080 } 5080 }
5081 } 5081 }
5082 .work__list div:before { 5082 .work__list div:before {
5083 content: ""; 5083 content: "";
5084 width: 4px; 5084 width: 4px;
5085 height: 4px; 5085 height: 4px;
5086 background: #000; 5086 background: #000;
5087 border-radius: 999px; 5087 border-radius: 999px;
5088 position: absolute; 5088 position: absolute;
5089 top: 5px; 5089 top: 5px;
5090 left: 0; 5090 left: 0;
5091 } 5091 }
5092 @media (min-width: 768px) { 5092 @media (min-width: 768px) {
5093 .work__list div:before { 5093 .work__list div:before {
5094 top: 8px; 5094 top: 8px;
5095 } 5095 }
5096 } 5096 }
5097 .work__form { 5097 .work__form {
5098 margin-top: 20px; 5098 margin-top: 20px;
5099 } 5099 }
5100 @media (min-width: 768px) { 5100 @media (min-width: 768px) {
5101 .work__form { 5101 .work__form {
5102 margin-top: 30px; 5102 margin-top: 30px;
5103 } 5103 }
5104 } 5104 }
5105 .work__search { 5105 .work__search {
5106 width: 100%; 5106 width: 100%;
5107 max-width: 180px; 5107 max-width: 180px;
5108 margin-top: 20px; 5108 margin-top: 20px;
5109 } 5109 }
5110 @media (min-width: 768px) { 5110 @media (min-width: 768px) {
5111 .work__search { 5111 .work__search {
5112 max-width: 270px; 5112 max-width: 270px;
5113 margin-top: 50px; 5113 margin-top: 50px;
5114 } 5114 }
5115 } 5115 }
5116 .work__get { 5116 .work__get {
5117 width: 100%; 5117 width: 100%;
5118 display: -webkit-box; 5118 display: -webkit-box;
5119 display: -ms-flexbox; 5119 display: -ms-flexbox;
5120 display: flex; 5120 display: flex;
5121 -webkit-box-align: start; 5121 -webkit-box-align: start;
5122 -ms-flex-align: start; 5122 -ms-flex-align: start;
5123 align-items: flex-start; 5123 align-items: flex-start;
5124 -ms-flex-wrap: wrap; 5124 -ms-flex-wrap: wrap;
5125 flex-wrap: wrap; 5125 flex-wrap: wrap;
5126 margin-top: 48px; 5126 margin-top: 48px;
5127 } 5127 }
5128 .work__get b { 5128 .work__get b {
5129 width: 100%; 5129 width: 100%;
5130 margin-bottom: 10px; 5130 margin-bottom: 10px;
5131 font-size: 14px; 5131 font-size: 14px;
5132 } 5132 }
5133 @media (min-width: 768px) { 5133 @media (min-width: 768px) {
5134 .work__get b { 5134 .work__get b {
5135 font-size: 18px; 5135 font-size: 18px;
5136 } 5136 }
5137 } 5137 }
5138 .work__get a { 5138 .work__get a {
5139 display: -webkit-box; 5139 display: -webkit-box;
5140 display: -ms-flexbox; 5140 display: -ms-flexbox;
5141 display: flex; 5141 display: flex;
5142 -webkit-box-align: center; 5142 -webkit-box-align: center;
5143 -ms-flex-align: center; 5143 -ms-flex-align: center;
5144 align-items: center; 5144 align-items: center;
5145 -webkit-box-pack: center; 5145 -webkit-box-pack: center;
5146 -ms-flex-pack: center; 5146 -ms-flex-pack: center;
5147 justify-content: center; 5147 justify-content: center;
5148 margin-right: 20px; 5148 margin-right: 20px;
5149 } 5149 }
5150 .work__get a img { 5150 .work__get a img {
5151 -webkit-transition: 0.3s; 5151 -webkit-transition: 0.3s;
5152 transition: 0.3s; 5152 transition: 0.3s;
5153 width: 111px; 5153 width: 111px;
5154 } 5154 }
5155 @media (min-width: 768px) { 5155 @media (min-width: 768px) {
5156 .work__get a img { 5156 .work__get a img {
5157 width: 131px; 5157 width: 131px;
5158 } 5158 }
5159 } 5159 }
5160 .work__get a:hover img { 5160 .work__get a:hover img {
5161 -webkit-transform: scale(1.1); 5161 -webkit-transform: scale(1.1);
5162 -ms-transform: scale(1.1); 5162 -ms-transform: scale(1.1);
5163 transform: scale(1.1); 5163 transform: scale(1.1);
5164 } 5164 }
5165 .work__get a + a { 5165 .work__get a + a {
5166 margin-right: 0; 5166 margin-right: 0;
5167 } 5167 }
5168 5168
5169 .numbers { 5169 .numbers {
5170 padding: 30px 0; 5170 padding: 30px 0;
5171 background: #377d87 url("../images/bg.svg") no-repeat 100% calc(100% + 80px); 5171 background: #377d87 url("../images/bg.svg") no-repeat 100% calc(100% + 80px);
5172 color: #fff; 5172 color: #fff;
5173 } 5173 }
5174 @media (min-width: 1280px) { 5174 @media (min-width: 1280px) {
5175 .numbers { 5175 .numbers {
5176 padding: 100px 0; 5176 padding: 100px 0;
5177 background-position: 100% 100%; 5177 background-position: 100% 100%;
5178 background-size: auto 500px; 5178 background-size: auto 500px;
5179 } 5179 }
5180 } 5180 }
5181 .numbers__body { 5181 .numbers__body {
5182 display: -webkit-box; 5182 display: -webkit-box;
5183 display: -ms-flexbox; 5183 display: -ms-flexbox;
5184 display: flex; 5184 display: flex;
5185 -webkit-box-orient: vertical; 5185 -webkit-box-orient: vertical;
5186 -webkit-box-direction: normal; 5186 -webkit-box-direction: normal;
5187 -ms-flex-direction: column; 5187 -ms-flex-direction: column;
5188 flex-direction: column; 5188 flex-direction: column;
5189 gap: 30px; 5189 gap: 30px;
5190 } 5190 }
5191 @media (min-width: 768px) { 5191 @media (min-width: 768px) {
5192 .numbers__body { 5192 .numbers__body {
5193 display: grid; 5193 display: grid;
5194 grid-template-columns: 1fr 1fr 1fr; 5194 grid-template-columns: 1fr 1fr 1fr;
5195 } 5195 }
5196 } 5196 }
5197 .numbers__item { 5197 .numbers__item {
5198 font-size: 12px; 5198 font-size: 12px;
5199 display: -webkit-box; 5199 display: -webkit-box;
5200 display: -ms-flexbox; 5200 display: -ms-flexbox;
5201 display: flex; 5201 display: flex;
5202 -webkit-box-orient: vertical; 5202 -webkit-box-orient: vertical;
5203 -webkit-box-direction: normal; 5203 -webkit-box-direction: normal;
5204 -ms-flex-direction: column; 5204 -ms-flex-direction: column;
5205 flex-direction: column; 5205 flex-direction: column;
5206 line-height: 1.4; 5206 line-height: 1.4;
5207 } 5207 }
5208 @media (min-width: 1280px) { 5208 @media (min-width: 1280px) {
5209 .numbers__item { 5209 .numbers__item {
5210 font-size: 16px; 5210 font-size: 16px;
5211 line-height: 20px; 5211 line-height: 20px;
5212 } 5212 }
5213 } 5213 }
5214 .numbers__item b { 5214 .numbers__item b {
5215 font-size: 40px; 5215 font-size: 40px;
5216 font-weight: 700; 5216 font-weight: 700;
5217 border-bottom: 1px solid #fff; 5217 border-bottom: 1px solid #fff;
5218 line-height: 1; 5218 line-height: 1;
5219 } 5219 }
5220 @media (min-width: 1280px) { 5220 @media (min-width: 1280px) {
5221 .numbers__item b { 5221 .numbers__item b {
5222 font-size: 100px; 5222 font-size: 100px;
5223 line-height: 147px; 5223 line-height: 147px;
5224 } 5224 }
5225 } 5225 }
5226 .numbers__item span { 5226 .numbers__item span {
5227 font-weight: 700; 5227 font-weight: 700;
5228 font-size: 14px; 5228 font-size: 14px;
5229 margin: 10px 0; 5229 margin: 10px 0;
5230 line-height: 1; 5230 line-height: 1;
5231 } 5231 }
5232 @media (min-width: 1280px) { 5232 @media (min-width: 1280px) {
5233 .numbers__item span { 5233 .numbers__item span {
5234 font-size: 24px; 5234 font-size: 24px;
5235 margin-top: 30px; 5235 margin-top: 30px;
5236 } 5236 }
5237 } 5237 }
5238 5238
5239 .vacancies { 5239 .vacancies {
5240 padding: 50px 0; 5240 padding: 50px 0;
5241 } 5241 }
5242 @media (min-width: 1280px) { 5242 @media (min-width: 1280px) {
5243 .vacancies { 5243 .vacancies {
5244 padding: 100px 0; 5244 padding: 100px 0;
5245 } 5245 }
5246 } 5246 }
5247 .vacancies__body { 5247 .vacancies__body {
5248 display: -webkit-box; 5248 display: -webkit-box;
5249 display: -ms-flexbox; 5249 display: -ms-flexbox;
5250 display: flex; 5250 display: flex;
5251 -webkit-box-orient: vertical; 5251 -webkit-box-orient: vertical;
5252 -webkit-box-direction: reverse; 5252 -webkit-box-direction: reverse;
5253 -ms-flex-direction: column-reverse; 5253 -ms-flex-direction: column-reverse;
5254 flex-direction: column-reverse; 5254 flex-direction: column-reverse;
5255 gap: 20px; 5255 gap: 20px;
5256 width: 100%; 5256 width: 100%;
5257 margin-top: 20px; 5257 margin-top: 20px;
5258 } 5258 }
5259 @media (min-width: 992px) { 5259 @media (min-width: 992px) {
5260 .vacancies__body { 5260 .vacancies__body {
5261 margin-top: 30px; 5261 margin-top: 30px;
5262 gap: 30px; 5262 gap: 30px;
5263 } 5263 }
5264 } 5264 }
5265 .vacancies__more { 5265 .vacancies__more {
5266 width: 100%; 5266 width: 100%;
5267 } 5267 }
5268 @media (min-width: 768px) { 5268 @media (min-width: 768px) {
5269 .vacancies__more { 5269 .vacancies__more {
5270 width: auto; 5270 width: auto;
5271 margin: 0 auto; 5271 margin: 0 auto;
5272 } 5272 }
5273 } 5273 }
5274 .vacancies__list { 5274 .vacancies__list {
5275 display: -webkit-box; 5275 display: -webkit-box;
5276 display: -ms-flexbox; 5276 display: -ms-flexbox;
5277 display: flex; 5277 display: flex;
5278 -webkit-box-orient: vertical; 5278 -webkit-box-orient: vertical;
5279 -webkit-box-direction: normal; 5279 -webkit-box-direction: normal;
5280 -ms-flex-direction: column; 5280 -ms-flex-direction: column;
5281 flex-direction: column; 5281 flex-direction: column;
5282 gap: 15px; 5282 gap: 15px;
5283 } 5283 }
5284 @media (min-width: 768px) { 5284 @media (min-width: 768px) {
5285 .vacancies__list { 5285 .vacancies__list {
5286 display: grid; 5286 display: grid;
5287 grid-template-columns: repeat(2, 1fr); 5287 grid-template-columns: repeat(2, 1fr);
5288 } 5288 }
5289 } 5289 }
5290 @media (min-width: 992px) { 5290 @media (min-width: 992px) {
5291 .vacancies__list { 5291 .vacancies__list {
5292 display: grid; 5292 display: grid;
5293 grid-template-columns: repeat(3, 1fr); 5293 grid-template-columns: repeat(3, 1fr);
5294 gap: 20px; 5294 gap: 20px;
5295 } 5295 }
5296 } 5296 }
5297 @media (min-width: 1280px) { 5297 @media (min-width: 1280px) {
5298 .vacancies__list { 5298 .vacancies__list {
5299 grid-template-columns: repeat(4, 1fr); 5299 grid-template-columns: repeat(4, 1fr);
5300 } 5300 }
5301 } 5301 }
5302 .vacancies__list-label { 5302 .vacancies__list-label {
5303 font-weight: 700; 5303 font-weight: 700;
5304 font-size: 22px; 5304 font-size: 22px;
5305 } 5305 }
5306 .vacancies__list-col { 5306 .vacancies__list-col {
5307 display: -webkit-box; 5307 display: -webkit-box;
5308 display: -ms-flexbox; 5308 display: -ms-flexbox;
5309 display: flex; 5309 display: flex;
5310 -webkit-box-orient: vertical; 5310 -webkit-box-orient: vertical;
5311 -webkit-box-direction: normal; 5311 -webkit-box-direction: normal;
5312 -ms-flex-direction: column; 5312 -ms-flex-direction: column;
5313 flex-direction: column; 5313 flex-direction: column;
5314 gap: 15px; 5314 gap: 15px;
5315 margin-top: 15px; 5315 margin-top: 15px;
5316 margin-bottom: 30px; 5316 margin-bottom: 30px;
5317 } 5317 }
5318 @media (min-width: 768px) { 5318 @media (min-width: 768px) {
5319 .vacancies__list-col { 5319 .vacancies__list-col {
5320 margin-top: 0; 5320 margin-top: 0;
5321 } 5321 }
5322 } 5322 }
5323 .vacancies__list-col:first-child { 5323 .vacancies__list-col:first-child {
5324 margin-top: 0; 5324 margin-top: 0;
5325 } 5325 }
5326 .vacancies__item { 5326 .vacancies__item {
5327 display: none; 5327 display: none;
5328 -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); 5328 -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
5329 box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); 5329 box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
5330 border-radius: 12px; 5330 border-radius: 12px;
5331 background: #fff; 5331 background: #fff;
5332 border: 1px solid #e6e7e7; 5332 border: 1px solid #e6e7e7;
5333 overflow: hidden; 5333 overflow: hidden;
5334 } 5334 }
5335 .vacancies__item:nth-of-type(1), .vacancies__item:nth-of-type(2), .vacancies__item:nth-of-type(3), .vacancies__item:nth-of-type(4), .vacancies__item:nth-of-type(5), .vacancies__item:nth-of-type(6), .vacancies__item:nth-of-type(7), .vacancies__item:nth-of-type(8) { 5335 .vacancies__item:nth-of-type(1), .vacancies__item:nth-of-type(2), .vacancies__item:nth-of-type(3), .vacancies__item:nth-of-type(4), .vacancies__item:nth-of-type(5), .vacancies__item:nth-of-type(6), .vacancies__item:nth-of-type(7), .vacancies__item:nth-of-type(8) {
5336 display: -webkit-box; 5336 display: -webkit-box;
5337 display: -ms-flexbox; 5337 display: -ms-flexbox;
5338 display: flex; 5338 display: flex;
5339 } 5339 }
5340 .vacancies__item > span { 5340 .vacancies__item > span {
5341 border-left: 10px solid #377d87; 5341 border-left: 10px solid #377d87;
5342 padding: 20px 14px; 5342 padding: 20px 14px;
5343 display: -webkit-box; 5343 display: -webkit-box;
5344 display: -ms-flexbox; 5344 display: -ms-flexbox;
5345 display: flex; 5345 display: flex;
5346 -webkit-box-orient: vertical; 5346 -webkit-box-orient: vertical;
5347 -webkit-box-direction: normal; 5347 -webkit-box-direction: normal;
5348 -ms-flex-direction: column; 5348 -ms-flex-direction: column;
5349 flex-direction: column; 5349 flex-direction: column;
5350 -webkit-box-align: start; 5350 -webkit-box-align: start;
5351 -ms-flex-align: start; 5351 -ms-flex-align: start;
5352 align-items: flex-start; 5352 align-items: flex-start;
5353 gap: 5px; 5353 gap: 5px;
5354 -webkit-box-pack: justify; 5354 -webkit-box-pack: justify;
5355 -ms-flex-pack: justify; 5355 -ms-flex-pack: justify;
5356 justify-content: space-between; 5356 justify-content: space-between;
5357 } 5357 }
5358 @media (min-width: 992px) { 5358 @media (min-width: 992px) {
5359 .vacancies__item > span { 5359 .vacancies__item > span {
5360 gap: 10px; 5360 gap: 10px;
5361 } 5361 }
5362 } 5362 }
5363 .vacancies__item b { 5363 .vacancies__item b {
5364 font-weight: 700; 5364 font-weight: 700;
5365 font-size: 14px; 5365 font-size: 14px;
5366 } 5366 }
5367 @media (min-width: 992px) { 5367 @media (min-width: 992px) {
5368 .vacancies__item b { 5368 .vacancies__item b {
5369 font-size: 20px; 5369 font-size: 20px;
5370 } 5370 }
5371 } 5371 }
5372 .vacancies__item:hover b { 5372 .vacancies__item:hover b {
5373 color: #377d87; 5373 color: #377d87;
5374 } 5374 }
5375 .vacancies__item u { 5375 .vacancies__item u {
5376 text-decoration: none; 5376 text-decoration: none;
5377 font-size: 14px; 5377 font-size: 14px;
5378 } 5378 }
5379 @media (min-width: 992px) { 5379 @media (min-width: 992px) {
5380 .vacancies__item u { 5380 .vacancies__item u {
5381 font-size: 18px; 5381 font-size: 18px;
5382 } 5382 }
5383 } 5383 }
5384 .vacancies__item i { 5384 .vacancies__item i {
5385 font-size: 12px; 5385 font-size: 12px;
5386 font-style: normal; 5386 font-style: normal;
5387 border-bottom: 1px dashed #377d87; 5387 border-bottom: 1px dashed #377d87;
5388 } 5388 }
5389 @media (min-width: 992px) { 5389 @media (min-width: 992px) {
5390 .vacancies__item i { 5390 .vacancies__item i {
5391 font-size: 16px; 5391 font-size: 16px;
5392 } 5392 }
5393 } 5393 }
5394 .vacancies__item i span { 5394 .vacancies__item i span {
5395 font-weight: 700; 5395 font-weight: 700;
5396 color: #377d87; 5396 color: #377d87;
5397 } 5397 }
5398 .vacancies__body.active .vacancies__list .vacancies__item { 5398 .vacancies__body.active .vacancies__list .vacancies__item {
5399 display: -webkit-box; 5399 display: -webkit-box;
5400 display: -ms-flexbox; 5400 display: -ms-flexbox;
5401 display: flex; 5401 display: flex;
5402 } 5402 }
5403 5403
5404 .employer { 5404 .employer {
5405 padding-bottom: 50px; 5405 padding-bottom: 50px;
5406 } 5406 }
5407 @media (min-width: 768px) { 5407 @media (min-width: 768px) {
5408 .employer { 5408 .employer {
5409 padding-bottom: 100px; 5409 padding-bottom: 100px;
5410 } 5410 }
5411 } 5411 }
5412 .employer .swiper { 5412 .employer .swiper {
5413 margin: 20px 0; 5413 margin: 20px 0;
5414 } 5414 }
5415 @media (min-width: 768px) { 5415 @media (min-width: 768px) {
5416 .employer .swiper { 5416 .employer .swiper {
5417 display: none; 5417 display: none;
5418 } 5418 }
5419 } 5419 }
5420 .employer__item { 5420 .employer__item {
5421 display: -webkit-box; 5421 display: -webkit-box;
5422 display: -ms-flexbox; 5422 display: -ms-flexbox;
5423 display: flex; 5423 display: flex;
5424 -webkit-box-orient: vertical; 5424 -webkit-box-orient: vertical;
5425 -webkit-box-direction: normal; 5425 -webkit-box-direction: normal;
5426 -ms-flex-direction: column; 5426 -ms-flex-direction: column;
5427 flex-direction: column; 5427 flex-direction: column;
5428 gap: 30px; 5428 gap: 30px;
5429 } 5429 }
5430 .employer__item a { 5430 .employer__item a {
5431 display: -webkit-box; 5431 display: -webkit-box;
5432 display: -ms-flexbox; 5432 display: -ms-flexbox;
5433 display: flex; 5433 display: flex;
5434 -webkit-box-orient: vertical; 5434 -webkit-box-orient: vertical;
5435 -webkit-box-direction: normal; 5435 -webkit-box-direction: normal;
5436 -ms-flex-direction: column; 5436 -ms-flex-direction: column;
5437 flex-direction: column; 5437 flex-direction: column;
5438 -webkit-box-align: center; 5438 -webkit-box-align: center;
5439 -ms-flex-align: center; 5439 -ms-flex-align: center;
5440 align-items: center; 5440 align-items: center;
5441 } 5441 }
5442 .employer__item img { 5442 .employer__item img {
5443 width: 100%; 5443 width: 100%;
5444 aspect-ratio: 295/98; 5444 aspect-ratio: 295/98;
5445 -o-object-fit: contain; 5445 -o-object-fit: contain;
5446 object-fit: contain; 5446 object-fit: contain;
5447 } 5447 }
5448 .employer__body { 5448 .employer__body {
5449 display: none; 5449 display: none;
5450 grid-template-columns: 1fr 1fr; 5450 grid-template-columns: 1fr 1fr;
5451 gap: 30px; 5451 gap: 30px;
5452 margin-top: 30px; 5452 margin-top: 30px;
5453 margin-bottom: 40px; 5453 margin-bottom: 40px;
5454 } 5454 }
5455 @media (min-width: 768px) { 5455 @media (min-width: 768px) {
5456 .employer__body { 5456 .employer__body {
5457 display: grid; 5457 display: grid;
5458 } 5458 }
5459 } 5459 }
5460 @media (min-width: 992px) { 5460 @media (min-width: 992px) {
5461 .employer__body { 5461 .employer__body {
5462 grid-template-columns: 1fr 1fr 1fr; 5462 grid-template-columns: 1fr 1fr 1fr;
5463 } 5463 }
5464 } 5464 }
5465 @media (min-width: 1280px) { 5465 @media (min-width: 1280px) {
5466 .employer__body { 5466 .employer__body {
5467 grid-template-columns: 1fr 1fr 1fr 1fr; 5467 grid-template-columns: 1fr 1fr 1fr 1fr;
5468 } 5468 }
5469 } 5469 }
5470 .employer__body a { 5470 .employer__body a {
5471 display: -webkit-box; 5471 display: -webkit-box;
5472 display: -ms-flexbox; 5472 display: -ms-flexbox;
5473 display: flex; 5473 display: flex;
5474 -webkit-box-pack: center; 5474 -webkit-box-pack: center;
5475 -ms-flex-pack: center; 5475 -ms-flex-pack: center;
5476 justify-content: center; 5476 justify-content: center;
5477 -webkit-box-align: center; 5477 -webkit-box-align: center;
5478 -ms-flex-align: center; 5478 -ms-flex-align: center;
5479 align-items: center; 5479 align-items: center;
5480 height: 98px; 5480 height: 98px;
5481 } 5481 }
5482 .employer__body img { 5482 .employer__body img {
5483 max-width: 100%; 5483 max-width: 100%;
5484 max-height: 98px; 5484 max-height: 98px;
5485 -o-object-fit: contain; 5485 -o-object-fit: contain;
5486 object-fit: contain; 5486 object-fit: contain;
5487 } 5487 }
5488 .employer__more { 5488 .employer__more {
5489 height: 38px; 5489 height: 38px;
5490 } 5490 }
5491 @media (min-width: 768px) { 5491 @media (min-width: 768px) {
5492 .employer__more { 5492 .employer__more {
5493 width: 250px; 5493 width: 250px;
5494 margin: 0 auto; 5494 margin: 0 auto;
5495 height: 44px; 5495 height: 44px;
5496 } 5496 }
5497 } 5497 }
5498 5498
5499 .about { 5499 .about {
5500 background: #acc0e6 url("../images/space.svg") no-repeat 0 0; 5500 background: #acc0e6 url("../images/space.svg") no-repeat 0 0;
5501 background-size: cover; 5501 background-size: cover;
5502 padding: 30px 0; 5502 padding: 30px 0;
5503 padding-bottom: 70px; 5503 padding-bottom: 70px;
5504 } 5504 }
5505 @media (min-width: 768px) { 5505 @media (min-width: 768px) {
5506 .about { 5506 .about {
5507 padding-top: 40px; 5507 padding-top: 40px;
5508 background-size: auto calc(100% - 10px); 5508 background-size: auto calc(100% - 10px);
5509 } 5509 }
5510 } 5510 }
5511 @media (min-width: 1280px) { 5511 @media (min-width: 1280px) {
5512 .about { 5512 .about {
5513 padding: 100px 0; 5513 padding: 100px 0;
5514 } 5514 }
5515 } 5515 }
5516 .about__wrapper { 5516 .about__wrapper {
5517 display: -webkit-box; 5517 display: -webkit-box;
5518 display: -ms-flexbox; 5518 display: -ms-flexbox;
5519 display: flex; 5519 display: flex;
5520 -webkit-box-orient: vertical; 5520 -webkit-box-orient: vertical;
5521 -webkit-box-direction: normal; 5521 -webkit-box-direction: normal;
5522 -ms-flex-direction: column; 5522 -ms-flex-direction: column;
5523 flex-direction: column; 5523 flex-direction: column;
5524 position: relative; 5524 position: relative;
5525 } 5525 }
5526 .about__title { 5526 .about__title {
5527 color: #fff; 5527 color: #fff;
5528 line-height: 1.2; 5528 line-height: 1.2;
5529 } 5529 }
5530 @media (min-width: 1280px) { 5530 @media (min-width: 1280px) {
5531 .about__title { 5531 .about__title {
5532 position: absolute; 5532 position: absolute;
5533 top: -45px; 5533 top: -45px;
5534 left: 0; 5534 left: 0;
5535 } 5535 }
5536 } 5536 }
5537 .about__body { 5537 .about__body {
5538 display: -webkit-box; 5538 display: -webkit-box;
5539 display: -ms-flexbox; 5539 display: -ms-flexbox;
5540 display: flex; 5540 display: flex;
5541 -webkit-box-orient: vertical; 5541 -webkit-box-orient: vertical;
5542 -webkit-box-direction: normal; 5542 -webkit-box-direction: normal;
5543 -ms-flex-direction: column; 5543 -ms-flex-direction: column;
5544 flex-direction: column; 5544 flex-direction: column;
5545 } 5545 }
5546 @media (min-width: 1280px) { 5546 @media (min-width: 1280px) {
5547 .about__body { 5547 .about__body {
5548 padding-left: 495px; 5548 padding-left: 495px;
5549 } 5549 }
5550 } 5550 }
5551 .about__line { 5551 .about__line {
5552 background: #fff; 5552 background: #fff;
5553 width: 100%; 5553 width: 100%;
5554 height: 1px; 5554 height: 1px;
5555 max-width: 400px; 5555 max-width: 400px;
5556 margin-top: 10px; 5556 margin-top: 10px;
5557 } 5557 }
5558 .about__item { 5558 .about__item {
5559 display: -webkit-box; 5559 display: -webkit-box;
5560 display: -ms-flexbox; 5560 display: -ms-flexbox;
5561 display: flex; 5561 display: flex;
5562 -webkit-box-orient: vertical; 5562 -webkit-box-orient: vertical;
5563 -webkit-box-direction: normal; 5563 -webkit-box-direction: normal;
5564 -ms-flex-direction: column; 5564 -ms-flex-direction: column;
5565 flex-direction: column; 5565 flex-direction: column;
5566 margin-top: 10px; 5566 margin-top: 10px;
5567 max-width: 600px; 5567 max-width: 600px;
5568 } 5568 }
5569 @media (min-width: 768px) { 5569 @media (min-width: 768px) {
5570 .about__item { 5570 .about__item {
5571 margin-top: 20px; 5571 margin-top: 20px;
5572 } 5572 }
5573 } 5573 }
5574 @media (min-width: 1280px) { 5574 @media (min-width: 1280px) {
5575 .about__item { 5575 .about__item {
5576 margin-top: 30px; 5576 margin-top: 30px;
5577 } 5577 }
5578 } 5578 }
5579 .about__item b { 5579 .about__item b {
5580 font-size: 20px; 5580 font-size: 20px;
5581 font-weight: 700; 5581 font-weight: 700;
5582 } 5582 }
5583 .about__item span { 5583 .about__item span {
5584 font-size: 13px; 5584 font-size: 13px;
5585 line-height: 1.4; 5585 line-height: 1.4;
5586 margin-top: 6px; 5586 margin-top: 6px;
5587 } 5587 }
5588 @media (min-width: 1280px) { 5588 @media (min-width: 1280px) {
5589 .about__item span { 5589 .about__item span {
5590 font-size: 16px; 5590 font-size: 16px;
5591 margin-top: 12px; 5591 margin-top: 12px;
5592 } 5592 }
5593 } 5593 }
5594 .about__item a { 5594 .about__item a {
5595 text-decoration: underline; 5595 text-decoration: underline;
5596 } 5596 }
5597 .about__item + .about__item { 5597 .about__item + .about__item {
5598 margin-top: 30px; 5598 margin-top: 30px;
5599 } 5599 }
5600 @media (min-width: 992px) { 5600 @media (min-width: 992px) {
5601 .about__item + .about__item { 5601 .about__item + .about__item {
5602 margin-top: 40px; 5602 margin-top: 40px;
5603 } 5603 }
5604 } 5604 }
5605 .about__button { 5605 .about__button {
5606 margin-top: 20px; 5606 margin-top: 20px;
5607 height: 38px; 5607 height: 38px;
5608 padding: 0; 5608 padding: 0;
5609 } 5609 }
5610 @media (min-width: 768px) { 5610 @media (min-width: 768px) {
5611 .about__button { 5611 .about__button {
5612 max-width: 200px; 5612 max-width: 200px;
5613 height: 42px; 5613 height: 42px;
5614 margin-top: 30px; 5614 margin-top: 30px;
5615 } 5615 }
5616 } 5616 }
5617 5617
5618 .news { 5618 .news {
5619 padding: 50px 0; 5619 padding: 50px 0;
5620 overflow: hidden; 5620 overflow: hidden;
5621 } 5621 }
5622 @media (min-width: 1280px) { 5622 @media (min-width: 1280px) {
5623 .news { 5623 .news {
5624 padding: 100px 0; 5624 padding: 100px 0;
5625 padding-bottom: 0; 5625 padding-bottom: 0;
5626 } 5626 }
5627 } 5627 }
5628 .news__toper { 5628 .news__toper {
5629 display: -webkit-box; 5629 display: -webkit-box;
5630 display: -ms-flexbox; 5630 display: -ms-flexbox;
5631 display: flex; 5631 display: flex;
5632 -webkit-box-pack: justify; 5632 -webkit-box-pack: justify;
5633 -ms-flex-pack: justify; 5633 -ms-flex-pack: justify;
5634 justify-content: space-between; 5634 justify-content: space-between;
5635 -webkit-box-align: center; 5635 -webkit-box-align: center;
5636 -ms-flex-align: center; 5636 -ms-flex-align: center;
5637 align-items: center; 5637 align-items: center;
5638 } 5638 }
5639 @media (min-width: 1280px) { 5639 @media (min-width: 1280px) {
5640 .news__toper .title { 5640 .news__toper .title {
5641 width: calc(100% - 160px); 5641 width: calc(100% - 160px);
5642 } 5642 }
5643 } 5643 }
5644 .news__toper .navs { 5644 .news__toper .navs {
5645 display: none; 5645 display: none;
5646 } 5646 }
5647 @media (min-width: 1280px) { 5647 @media (min-width: 1280px) {
5648 .news__toper .navs { 5648 .news__toper .navs {
5649 display: -webkit-box; 5649 display: -webkit-box;
5650 display: -ms-flexbox; 5650 display: -ms-flexbox;
5651 display: flex; 5651 display: flex;
5652 } 5652 }
5653 } 5653 }
5654 .news .swiper { 5654 .news .swiper {
5655 margin-top: 20px; 5655 margin-top: 20px;
5656 } 5656 }
5657 @media (min-width: 768px) { 5657 @media (min-width: 768px) {
5658 .news .swiper { 5658 .news .swiper {
5659 overflow: visible; 5659 overflow: visible;
5660 } 5660 }
5661 } 5661 }
5662 @media (min-width: 992px) { 5662 @media (min-width: 992px) {
5663 .news .swiper { 5663 .news .swiper {
5664 margin-top: 40px; 5664 margin-top: 40px;
5665 } 5665 }
5666 } 5666 }
5667 .news__item { 5667 .news__item {
5668 display: -webkit-box; 5668 display: -webkit-box;
5669 display: -ms-flexbox; 5669 display: -ms-flexbox;
5670 display: flex; 5670 display: flex;
5671 -webkit-box-orient: vertical; 5671 -webkit-box-orient: vertical;
5672 -webkit-box-direction: normal; 5672 -webkit-box-direction: normal;
5673 -ms-flex-direction: column; 5673 -ms-flex-direction: column;
5674 flex-direction: column; 5674 flex-direction: column;
5675 line-height: 1.4; 5675 line-height: 1.4;
5676 } 5676 }
5677 .news__item-pic { 5677 .news__item-pic {
5678 width: 100%; 5678 width: 100%;
5679 aspect-ratio: 3/2; 5679 aspect-ratio: 3/2;
5680 border-radius: 12px; 5680 border-radius: 12px;
5681 border: 1px solid #e6e7e7; 5681 border: 1px solid #e6e7e7;
5682 -o-object-fit: cover; 5682 -o-object-fit: cover;
5683 object-fit: cover; 5683 object-fit: cover;
5684 min-height: 200px; 5684 min-height: 200px;
5685 } 5685 }
5686 @media (min-width: 1280px) { 5686 @media (min-width: 1280px) {
5687 .news__item-pic { 5687 .news__item-pic {
5688 aspect-ratio: 4/2; 5688 aspect-ratio: 4/2;
5689 } 5689 }
5690 } 5690 }
5691 .news__item-body { 5691 .news__item-body {
5692 display: -webkit-box; 5692 display: -webkit-box;
5693 display: -ms-flexbox; 5693 display: -ms-flexbox;
5694 display: flex; 5694 display: flex;
5695 -webkit-box-orient: vertical; 5695 -webkit-box-orient: vertical;
5696 -webkit-box-direction: normal; 5696 -webkit-box-direction: normal;
5697 -ms-flex-direction: column; 5697 -ms-flex-direction: column;
5698 flex-direction: column; 5698 flex-direction: column;
5699 padding-top: 15px; 5699 padding-top: 15px;
5700 } 5700 }
5701 @media (min-width: 768px) { 5701 @media (min-width: 768px) {
5702 .news__item-body { 5702 .news__item-body {
5703 padding: 20px; 5703 padding: 20px;
5704 padding-top: 30px; 5704 padding-top: 30px;
5705 margin-top: -15px; 5705 margin-top: -15px;
5706 border-radius: 0 0 12px 12px; 5706 border-radius: 0 0 12px 12px;
5707 -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15); 5707 -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
5708 box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15); 5708 box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
5709 } 5709 }
5710 } 5710 }
5711 .news__item-date { 5711 .news__item-date {
5712 font-size: 14px; 5712 font-size: 14px;
5713 font-weight: 700; 5713 font-weight: 700;
5714 color: #377d87; 5714 color: #377d87;
5715 } 5715 }
5716 .news__item-title { 5716 .news__item-title {
5717 font-size: 20px; 5717 font-size: 20px;
5718 font-weight: 700; 5718 font-weight: 700;
5719 line-height: 1.2; 5719 line-height: 1.2;
5720 margin-top: 5px; 5720 margin-top: 5px;
5721 } 5721 }
5722 .news__item-text { 5722 .news__item-text {
5723 color: #000; 5723 color: #000;
5724 font-size: 13px; 5724 font-size: 13px;
5725 margin-top: 10px; 5725 margin-top: 10px;
5726 overflow: hidden; 5726 overflow: hidden;
5727 display: -webkit-box; 5727 display: -webkit-box;
5728 -webkit-box-orient: vertical; 5728 -webkit-box-orient: vertical;
5729 -webkit-line-clamp: 4; 5729 -webkit-line-clamp: 4;
5730 } 5730 }
5731 @media (min-width: 1280px) { 5731 @media (min-width: 1280px) {
5732 .news__item-text { 5732 .news__item-text {
5733 font-size: 16px; 5733 font-size: 16px;
5734 } 5734 }
5735 } 5735 }
5736 .news__item-more { 5736 .news__item-more {
5737 height: 42px; 5737 height: 42px;
5738 margin-top: 20px; 5738 margin-top: 20px;
5739 } 5739 }
5740 @media (min-width: 1280px) { 5740 @media (min-width: 1280px) {
5741 .news__item-more { 5741 .news__item-more {
5742 height: 44px; 5742 height: 44px;
5743 max-width: 190px; 5743 max-width: 190px;
5744 } 5744 }
5745 } 5745 }
5746 .news__all { 5746 .news__all {
5747 height: 42px; 5747 height: 42px;
5748 margin: 0 auto; 5748 margin: 0 auto;
5749 margin-top: 20px; 5749 margin-top: 20px;
5750 padding: 0; 5750 padding: 0;
5751 display: none; 5751 display: none;
5752 } 5752 }
5753 @media (min-width: 768px) { 5753 @media (min-width: 768px) {
5754 .news__all { 5754 .news__all {
5755 max-width: 170px; 5755 max-width: 170px;
5756 margin-top: 30px; 5756 margin-top: 30px;
5757 display: -webkit-box; 5757 display: -webkit-box;
5758 display: -ms-flexbox; 5758 display: -ms-flexbox;
5759 display: flex; 5759 display: flex;
5760 } 5760 }
5761 } 5761 }
5762 @media (min-width: 1280px) { 5762 @media (min-width: 1280px) {
5763 .news__all { 5763 .news__all {
5764 height: 44px; 5764 height: 44px;
5765 } 5765 }
5766 } 5766 }
5767 .news__items { 5767 .news__items {
5768 display: grid; 5768 display: grid;
5769 gap: 20px; 5769 gap: 20px;
5770 margin-bottom: 10px; 5770 margin-bottom: 10px;
5771 } 5771 }
5772 @media (min-width: 768px) { 5772 @media (min-width: 768px) {
5773 .news__items { 5773 .news__items {
5774 grid-template-columns: 1fr 1fr; 5774 grid-template-columns: 1fr 1fr;
5775 } 5775 }
5776 } 5776 }
5777 @media (min-width: 992px) { 5777 @media (min-width: 992px) {
5778 .news__items { 5778 .news__items {
5779 grid-template-columns: 1fr 1fr 1fr; 5779 grid-template-columns: 1fr 1fr 1fr;
5780 } 5780 }
5781 } 5781 }
5782 5782
5783 main + .news { 5783 main + .news {
5784 padding: 0; 5784 padding: 0;
5785 } 5785 }
5786 5786
5787 .info { 5787 .info {
5788 position: relative; 5788 position: relative;
5789 overflow: hidden; 5789 overflow: hidden;
5790 } 5790 }
5791 @media (min-width: 1280px) { 5791 @media (min-width: 1280px) {
5792 .info { 5792 .info {
5793 margin-bottom: -25px; 5793 margin-bottom: -25px;
5794 } 5794 }
5795 } 5795 }
5796 .info__pic { 5796 .info__pic {
5797 display: none; 5797 display: none;
5798 z-index: 1; 5798 z-index: 1;
5799 position: absolute; 5799 position: absolute;
5800 top: 0; 5800 top: 0;
5801 left: 50%; 5801 left: 50%;
5802 height: 100%; 5802 height: 100%;
5803 margin-left: 130px; 5803 margin-left: 130px;
5804 } 5804 }
5805 @media (min-width: 992px) { 5805 @media (min-width: 992px) {
5806 .info__pic { 5806 .info__pic {
5807 display: block; 5807 display: block;
5808 } 5808 }
5809 } 5809 }
5810 @media (min-width: 1280px) { 5810 @media (min-width: 1280px) {
5811 .info__pic { 5811 .info__pic {
5812 width: 610px; 5812 width: 610px;
5813 height: auto; 5813 height: auto;
5814 margin-left: 10px; 5814 margin-left: 10px;
5815 } 5815 }
5816 } 5816 }
5817 .info__body { 5817 .info__body {
5818 z-index: 2; 5818 z-index: 2;
5819 position: relative; 5819 position: relative;
5820 display: -webkit-box; 5820 display: -webkit-box;
5821 display: -ms-flexbox; 5821 display: -ms-flexbox;
5822 display: flex; 5822 display: flex;
5823 -webkit-box-orient: vertical; 5823 -webkit-box-orient: vertical;
5824 -webkit-box-direction: normal; 5824 -webkit-box-direction: normal;
5825 -ms-flex-direction: column; 5825 -ms-flex-direction: column;
5826 flex-direction: column; 5826 flex-direction: column;
5827 } 5827 }
5828 @media (min-width: 1280px) { 5828 @media (min-width: 1280px) {
5829 .info__body { 5829 .info__body {
5830 padding-top: 100px; 5830 padding-top: 100px;
5831 min-height: 600px; 5831 min-height: 600px;
5832 } 5832 }
5833 } 5833 }
5834 @media (min-width: 1280px) { 5834 @media (min-width: 1280px) {
5835 .info__title { 5835 .info__title {
5836 max-width: 520px; 5836 max-width: 520px;
5837 line-height: 1; 5837 line-height: 1;
5838 } 5838 }
5839 } 5839 }
5840 .info__item { 5840 .info__item {
5841 margin-top: 20px; 5841 margin-top: 20px;
5842 display: -webkit-box; 5842 display: -webkit-box;
5843 display: -ms-flexbox; 5843 display: -ms-flexbox;
5844 display: flex; 5844 display: flex;
5845 -webkit-box-orient: vertical; 5845 -webkit-box-orient: vertical;
5846 -webkit-box-direction: normal; 5846 -webkit-box-direction: normal;
5847 -ms-flex-direction: column; 5847 -ms-flex-direction: column;
5848 flex-direction: column; 5848 flex-direction: column;
5849 gap: 20px; 5849 gap: 20px;
5850 } 5850 }
5851 @media (min-width: 992px) { 5851 @media (min-width: 992px) {
5852 .info__item { 5852 .info__item {
5853 max-width: 610px; 5853 max-width: 610px;
5854 } 5854 }
5855 } 5855 }
5856 .info__item + .info__item { 5856 .info__item + .info__item {
5857 margin-top: 60px; 5857 margin-top: 60px;
5858 } 5858 }
5859 .info__text { 5859 .info__text {
5860 color: #000; 5860 color: #000;
5861 font-size: 13px; 5861 font-size: 13px;
5862 line-height: 1.4; 5862 line-height: 1.4;
5863 } 5863 }
5864 @media (min-width: 768px) { 5864 @media (min-width: 768px) {
5865 .info__text { 5865 .info__text {
5866 font-size: 16px; 5866 font-size: 16px;
5867 } 5867 }
5868 } 5868 }
5869 @media (min-width: 1280px) { 5869 @media (min-width: 1280px) {
5870 .info__text { 5870 .info__text {
5871 font-size: 18px; 5871 font-size: 18px;
5872 } 5872 }
5873 } 5873 }
5874 .info__link { 5874 .info__link {
5875 border-radius: 8px; 5875 border-radius: 8px;
5876 display: -webkit-box; 5876 display: -webkit-box;
5877 display: -ms-flexbox; 5877 display: -ms-flexbox;
5878 display: flex; 5878 display: flex;
5879 -webkit-box-pack: center; 5879 -webkit-box-pack: center;
5880 -ms-flex-pack: center; 5880 -ms-flex-pack: center;
5881 justify-content: center; 5881 justify-content: center;
5882 -webkit-box-align: center; 5882 -webkit-box-align: center;
5883 -ms-flex-align: center; 5883 -ms-flex-align: center;
5884 align-items: center; 5884 align-items: center;
5885 line-height: 1; 5885 line-height: 1;
5886 height: 40px; 5886 height: 40px;
5887 font-size: 12px; 5887 font-size: 12px;
5888 font-weight: 700; 5888 font-weight: 700;
5889 gap: 8px; 5889 gap: 8px;
5890 color: #fff; 5890 color: #fff;
5891 background: #377d87; 5891 background: #377d87;
5892 } 5892 }
5893 .info__link:hover { 5893 .info__link:hover {
5894 -webkit-filter: grayscale(50%); 5894 -webkit-filter: grayscale(50%);
5895 filter: grayscale(50%); 5895 filter: grayscale(50%);
5896 } 5896 }
5897 @media (min-width: 768px) { 5897 @media (min-width: 768px) {
5898 .info__link { 5898 .info__link {
5899 height: 44px; 5899 height: 44px;
5900 font-size: 16px; 5900 font-size: 16px;
5901 gap: 10px; 5901 gap: 10px;
5902 max-width: 300px; 5902 max-width: 300px;
5903 } 5903 }
5904 } 5904 }
5905 @media (min-width: 992px) { 5905 @media (min-width: 992px) {
5906 .info__link { 5906 .info__link {
5907 max-width: 210px; 5907 max-width: 210px;
5908 } 5908 }
5909 } 5909 }
5910 .info__link svg { 5910 .info__link svg {
5911 width: 16px; 5911 width: 16px;
5912 height: 16px; 5912 height: 16px;
5913 } 5913 }
5914 @media (min-width: 768px) { 5914 @media (min-width: 768px) {
5915 .info__link svg { 5915 .info__link svg {
5916 width: 20px; 5916 width: 20px;
5917 height: 20px; 5917 height: 20px;
5918 } 5918 }
5919 } 5919 }
5920 5920
5921 .thing { 5921 .thing {
5922 padding-top: 15px; 5922 padding-top: 15px;
5923 padding-bottom: 30px; 5923 padding-bottom: 30px;
5924 background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); 5924 background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%);
5925 color: #000; 5925 color: #000;
5926 overflow: hidden; 5926 overflow: hidden;
5927 position: relative; 5927 position: relative;
5928 } 5928 }
5929 @media (min-width: 992px) { 5929 @media (min-width: 992px) {
5930 .thing { 5930 .thing {
5931 padding-top: 20px; 5931 padding-top: 20px;
5932 padding-bottom: 60px; 5932 padding-bottom: 60px;
5933 } 5933 }
5934 } 5934 }
5935 @media (min-width: 1280px) { 5935 @media (min-width: 1280px) {
5936 .thing { 5936 .thing {
5937 padding-bottom: 90px; 5937 padding-bottom: 90px;
5938 } 5938 }
5939 } 5939 }
5940 .thing_pdf { 5940 .thing_pdf {
5941 padding: 30px 0; 5941 padding: 30px 0;
5942 } 5942 }
5943 @media (min-width: 992px) { 5943 @media (min-width: 992px) {
5944 .thing_pdf { 5944 .thing_pdf {
5945 padding: 60px 0; 5945 padding: 60px 0;
5946 } 5946 }
5947 } 5947 }
5948 @media (min-width: 1280px) { 5948 @media (min-width: 1280px) {
5949 .thing_pdf { 5949 .thing_pdf {
5950 padding: 90px 0; 5950 padding: 90px 0;
5951 } 5951 }
5952 } 5952 }
5953 .thing__body { 5953 .thing__body {
5954 display: -webkit-box; 5954 display: -webkit-box;
5955 display: -ms-flexbox; 5955 display: -ms-flexbox;
5956 display: flex; 5956 display: flex;
5957 -webkit-box-orient: vertical; 5957 -webkit-box-orient: vertical;
5958 -webkit-box-direction: normal; 5958 -webkit-box-direction: normal;
5959 -ms-flex-direction: column; 5959 -ms-flex-direction: column;
5960 flex-direction: column; 5960 flex-direction: column;
5961 -webkit-box-align: start; 5961 -webkit-box-align: start;
5962 -ms-flex-align: start; 5962 -ms-flex-align: start;
5963 align-items: flex-start; 5963 align-items: flex-start;
5964 } 5964 }
5965 .thing__breadcrumbs { 5965 .thing__breadcrumbs {
5966 width: 100%; 5966 width: 100%;
5967 margin-bottom: 40px; 5967 margin-bottom: 40px;
5968 position: relative; 5968 position: relative;
5969 z-index: 2; 5969 z-index: 2;
5970 } 5970 }
5971 @media (min-width: 768px) { 5971 @media (min-width: 768px) {
5972 .thing__breadcrumbs { 5972 .thing__breadcrumbs {
5973 margin-bottom: 60px; 5973 margin-bottom: 60px;
5974 } 5974 }
5975 } 5975 }
5976 .thing__date { 5976 .thing__date {
5977 color: #000; 5977 color: #000;
5978 font-size: 14px; 5978 font-size: 14px;
5979 font-weight: 700; 5979 font-weight: 700;
5980 line-height: 21px; 5980 line-height: 21px;
5981 margin-bottom: 10px; 5981 margin-bottom: 10px;
5982 } 5982 }
5983 @media (min-width: 768px) { 5983 @media (min-width: 768px) {
5984 .thing__date { 5984 .thing__date {
5985 font-size: 18px; 5985 font-size: 18px;
5986 line-height: 27px; 5986 line-height: 27px;
5987 } 5987 }
5988 } 5988 }
5989 .thing__title { 5989 .thing__title {
5990 width: 100%; 5990 width: 100%;
5991 font-size: 32px; 5991 font-size: 32px;
5992 font-weight: 700; 5992 font-weight: 700;
5993 margin: 0; 5993 margin: 0;
5994 max-width: 780px; 5994 max-width: 780px;
5995 position: relative; 5995 position: relative;
5996 z-index: 2; 5996 z-index: 2;
5997 line-height: 1.1; 5997 line-height: 1.1;
5998 } 5998 }
5999 @media (min-width: 768px) { 5999 @media (min-width: 768px) {
6000 .thing__title { 6000 .thing__title {
6001 font-size: 40px; 6001 font-size: 40px;
6002 } 6002 }
6003 } 6003 }
6004 @media (min-width: 1280px) { 6004 @media (min-width: 1280px) {
6005 .thing__title { 6005 .thing__title {
6006 font-size: 64px; 6006 font-size: 64px;
6007 } 6007 }
6008 } 6008 }
6009 .thing__text { 6009 .thing__text {
6010 width: 100%; 6010 width: 100%;
6011 font-weight: 700; 6011 font-weight: 700;
6012 font-size: 14px; 6012 font-size: 14px;
6013 line-height: 1.4; 6013 line-height: 1.4;
6014 margin: 15px 0 0 0; 6014 margin: 15px 0 0 0;
6015 max-width: 780px; 6015 max-width: 780px;
6016 position: relative; 6016 position: relative;
6017 z-index: 2; 6017 z-index: 2;
6018 } 6018 }
6019 @media (min-width: 768px) { 6019 @media (min-width: 768px) {
6020 .thing__text { 6020 .thing__text {
6021 margin-top: 15px; 6021 margin-top: 15px;
6022 } 6022 }
6023 } 6023 }
6024 @media (min-width: 992px) { 6024 @media (min-width: 992px) {
6025 .thing__text { 6025 .thing__text {
6026 font-weight: 400; 6026 font-weight: 400;
6027 font-size: 18px; 6027 font-size: 18px;
6028 } 6028 }
6029 } 6029 }
6030 .thing__search { 6030 .thing__search {
6031 width: 100%; 6031 width: 100%;
6032 max-width: 640px; 6032 max-width: 640px;
6033 margin-top: 20px; 6033 margin-top: 20px;
6034 position: relative; 6034 position: relative;
6035 z-index: 2; 6035 z-index: 2;
6036 } 6036 }
6037 @media (min-width: 768px) { 6037 @media (min-width: 768px) {
6038 .thing__search { 6038 .thing__search {
6039 margin-top: 30px; 6039 margin-top: 30px;
6040 } 6040 }
6041 } 6041 }
6042 .thing__badge { 6042 .thing__badge {
6043 position: relative; 6043 position: relative;
6044 z-index: 2; 6044 z-index: 2;
6045 display: -webkit-box; 6045 display: -webkit-box;
6046 display: -ms-flexbox; 6046 display: -ms-flexbox;
6047 display: flex; 6047 display: flex;
6048 -webkit-box-align: center; 6048 -webkit-box-align: center;
6049 -ms-flex-align: center; 6049 -ms-flex-align: center;
6050 align-items: center; 6050 align-items: center;
6051 gap: 5px; 6051 gap: 5px;
6052 padding: 0 12px; 6052 padding: 0 12px;
6053 background: #4d88d9; 6053 background: #4d88d9;
6054 color: #fff; 6054 color: #fff;
6055 font-size: 12px; 6055 font-size: 12px;
6056 line-height: 1; 6056 line-height: 1;
6057 height: 26px; 6057 height: 26px;
6058 border-radius: 999px; 6058 border-radius: 999px;
6059 margin-bottom: 20px; 6059 margin-bottom: 20px;
6060 } 6060 }
6061 @media (min-width: 992px) { 6061 @media (min-width: 992px) {
6062 .thing__badge { 6062 .thing__badge {
6063 font-size: 16px; 6063 font-size: 16px;
6064 gap: 10px; 6064 gap: 10px;
6065 padding: 0 24px; 6065 padding: 0 24px;
6066 height: 42px; 6066 height: 42px;
6067 margin-bottom: 30px; 6067 margin-bottom: 30px;
6068 } 6068 }
6069 } 6069 }
6070 .thing__badge svg { 6070 .thing__badge svg {
6071 width: 12px; 6071 width: 12px;
6072 height: 12px; 6072 height: 12px;
6073 } 6073 }
6074 @media (min-width: 992px) { 6074 @media (min-width: 992px) {
6075 .thing__badge svg { 6075 .thing__badge svg {
6076 width: 20px; 6076 width: 20px;
6077 height: 20px; 6077 height: 20px;
6078 } 6078 }
6079 } 6079 }
6080 .thing__pic { 6080 .thing__pic {
6081 width: 60px; 6081 width: 60px;
6082 aspect-ratio: 1/1; 6082 aspect-ratio: 1/1;
6083 -o-object-fit: contain; 6083 -o-object-fit: contain;
6084 object-fit: contain; 6084 object-fit: contain;
6085 position: relative; 6085 position: relative;
6086 z-index: 1; 6086 z-index: 1;
6087 margin-bottom: 15px; 6087 margin-bottom: 15px;
6088 } 6088 }
6089 @media (min-width: 768px) { 6089 @media (min-width: 768px) {
6090 .thing__pic { 6090 .thing__pic {
6091 width: 160px; 6091 width: 160px;
6092 position: absolute; 6092 position: absolute;
6093 top: 15px; 6093 top: 15px;
6094 right: 20px; 6094 right: 20px;
6095 } 6095 }
6096 } 6096 }
6097 @media (min-width: 992px) { 6097 @media (min-width: 992px) {
6098 .thing__pic { 6098 .thing__pic {
6099 width: 330px; 6099 width: 330px;
6100 top: 50%; 6100 top: 50%;
6101 -webkit-transform: translate(0, -50%); 6101 -webkit-transform: translate(0, -50%);
6102 -ms-transform: translate(0, -50%); 6102 -ms-transform: translate(0, -50%);
6103 transform: translate(0, -50%); 6103 transform: translate(0, -50%);
6104 } 6104 }
6105 } 6105 }
6106 @media (min-width: 1280px) { 6106 @media (min-width: 1280px) {
6107 .thing__pic { 6107 .thing__pic {
6108 right: auto; 6108 right: auto;
6109 left: 50%; 6109 left: 50%;
6110 margin-left: 200px; 6110 margin-left: 200px;
6111 } 6111 }
6112 } 6112 }
6113 .thing__pic_two { 6113 .thing__pic_two {
6114 -o-object-fit: cover; 6114 -o-object-fit: cover;
6115 object-fit: cover; 6115 object-fit: cover;
6116 border-radius: 30px; 6116 border-radius: 30px;
6117 aspect-ratio: 44/37; 6117 aspect-ratio: 44/37;
6118 width: 100%; 6118 width: 100%;
6119 max-width: 440px; 6119 max-width: 440px;
6120 } 6120 }
6121 @media (min-width: 768px) { 6121 @media (min-width: 768px) {
6122 .thing__pic_two { 6122 .thing__pic_two {
6123 position: static; 6123 position: static;
6124 -webkit-transform: translate(0, 0); 6124 -webkit-transform: translate(0, 0);
6125 -ms-transform: translate(0, 0); 6125 -ms-transform: translate(0, 0);
6126 transform: translate(0, 0); 6126 transform: translate(0, 0);
6127 } 6127 }
6128 } 6128 }
6129 @media (min-width: 1280px) { 6129 @media (min-width: 1280px) {
6130 .thing__pic_two { 6130 .thing__pic_two {
6131 position: absolute; 6131 position: absolute;
6132 -webkit-transform: translate(0, -50%); 6132 -webkit-transform: translate(0, -50%);
6133 -ms-transform: translate(0, -50%); 6133 -ms-transform: translate(0, -50%);
6134 transform: translate(0, -50%); 6134 transform: translate(0, -50%);
6135 } 6135 }
6136 } 6136 }
6137 .thing__buttons { 6137 .thing__buttons {
6138 width: 100%; 6138 width: 100%;
6139 position: relative; 6139 position: relative;
6140 z-index: 2; 6140 z-index: 2;
6141 display: -webkit-box; 6141 display: -webkit-box;
6142 display: -ms-flexbox; 6142 display: -ms-flexbox;
6143 display: flex; 6143 display: flex;
6144 -webkit-box-align: center; 6144 -webkit-box-align: center;
6145 -ms-flex-align: center; 6145 -ms-flex-align: center;
6146 align-items: center; 6146 align-items: center;
6147 gap: 20px; 6147 gap: 20px;
6148 margin-top: 15px; 6148 margin-top: 15px;
6149 } 6149 }
6150 @media (min-width: 992px) { 6150 @media (min-width: 992px) {
6151 .thing__buttons { 6151 .thing__buttons {
6152 margin-top: 30px; 6152 margin-top: 30px;
6153 gap: 30px; 6153 gap: 30px;
6154 } 6154 }
6155 } 6155 }
6156 @media (min-width: 992px) { 6156 @media (min-width: 992px) {
6157 .thing__buttons .button { 6157 .thing__buttons .button {
6158 padding: 0 22px; 6158 padding: 0 22px;
6159 } 6159 }
6160 } 6160 }
6161 .thing__checkbox { 6161 .thing__checkbox {
6162 margin-top: 20px; 6162 margin-top: 20px;
6163 } 6163 }
6164 .thing__checkbox .checkbox__icon { 6164 .thing__checkbox .checkbox__icon {
6165 border-color: #377d87; 6165 border-color: #377d87;
6166 } 6166 }
6167 .thing__checkbox .checkbox__text { 6167 .thing__checkbox .checkbox__text {
6168 color: #377d87; 6168 color: #377d87;
6169 } 6169 }
6170 .thing__profile { 6170 .thing__profile {
6171 display: -webkit-box; 6171 display: -webkit-box;
6172 display: -ms-flexbox; 6172 display: -ms-flexbox;
6173 display: flex; 6173 display: flex;
6174 -webkit-box-orient: vertical; 6174 -webkit-box-orient: vertical;
6175 -webkit-box-direction: normal; 6175 -webkit-box-direction: normal;
6176 -ms-flex-direction: column; 6176 -ms-flex-direction: column;
6177 flex-direction: column; 6177 flex-direction: column;
6178 } 6178 }
6179 @media (min-width: 768px) { 6179 @media (min-width: 768px) {
6180 .thing__profile { 6180 .thing__profile {
6181 -webkit-box-orient: horizontal; 6181 -webkit-box-orient: horizontal;
6182 -webkit-box-direction: normal; 6182 -webkit-box-direction: normal;
6183 -ms-flex-direction: row; 6183 -ms-flex-direction: row;
6184 flex-direction: row; 6184 flex-direction: row;
6185 -webkit-box-align: start; 6185 -webkit-box-align: start;
6186 -ms-flex-align: start; 6186 -ms-flex-align: start;
6187 align-items: flex-start; 6187 align-items: flex-start;
6188 } 6188 }
6189 } 6189 }
6190 .thing__profile-photo { 6190 .thing__profile-photo {
6191 width: 210px; 6191 width: 210px;
6192 border-radius: 8px; 6192 border-radius: 8px;
6193 aspect-ratio: 1/1; 6193 aspect-ratio: 1/1;
6194 } 6194 }
6195 .thing__profile-body { 6195 .thing__profile-body {
6196 display: -webkit-box; 6196 display: -webkit-box;
6197 display: -ms-flexbox; 6197 display: -ms-flexbox;
6198 display: flex; 6198 display: flex;
6199 -webkit-box-orient: vertical; 6199 -webkit-box-orient: vertical;
6200 -webkit-box-direction: normal; 6200 -webkit-box-direction: normal;
6201 -ms-flex-direction: column; 6201 -ms-flex-direction: column;
6202 flex-direction: column; 6202 flex-direction: column;
6203 margin-top: 15px; 6203 margin-top: 15px;
6204 } 6204 }
6205 @media (min-width: 768px) { 6205 @media (min-width: 768px) {
6206 .thing__profile-body { 6206 .thing__profile-body {
6207 width: calc(100% - 210px); 6207 width: calc(100% - 210px);
6208 padding-left: 35px; 6208 padding-left: 35px;
6209 } 6209 }
6210 } 6210 }
6211 .thing__profile .thing__title { 6211 .thing__profile .thing__title {
6212 max-width: none; 6212 max-width: none;
6213 } 6213 }
6214 @media (min-width: 768px) { 6214 @media (min-width: 768px) {
6215 .thing__profile .thing__title { 6215 .thing__profile .thing__title {
6216 margin-top: -20px; 6216 margin-top: -20px;
6217 } 6217 }
6218 } 6218 }
6219 .thing__profile .thing__text { 6219 .thing__profile .thing__text {
6220 max-width: none; 6220 max-width: none;
6221 } 6221 }
6222 .thing__bottom { 6222 .thing__bottom {
6223 display: -webkit-box; 6223 display: -webkit-box;
6224 display: -ms-flexbox; 6224 display: -ms-flexbox;
6225 display: flex; 6225 display: flex;
6226 -webkit-box-align: center; 6226 -webkit-box-align: center;
6227 -ms-flex-align: center; 6227 -ms-flex-align: center;
6228 align-items: center; 6228 align-items: center;
6229 gap: 15px; 6229 gap: 15px;
6230 margin-top: 15px; 6230 margin-top: 15px;
6231 } 6231 }
6232 @media (min-width: 768px) { 6232 @media (min-width: 768px) {
6233 .thing__bottom { 6233 .thing__bottom {
6234 margin-top: 30px; 6234 margin-top: 30px;
6235 } 6235 }
6236 } 6236 }
6237 .thing__select { 6237 .thing__select {
6238 width: 100%; 6238 width: 100%;
6239 max-width: 640px; 6239 max-width: 640px;
6240 margin-top: 20px; 6240 margin-top: 20px;
6241 } 6241 }
6242 @media (min-width: 768px) { 6242 @media (min-width: 768px) {
6243 .thing__select { 6243 .thing__select {
6244 margin-top: 30px; 6244 margin-top: 30px;
6245 } 6245 }
6246 } 6246 }
6247 6247
6248 .page-404 { 6248 .page-404 {
6249 background: url(../images/bg-3.svg) no-repeat 100%/cover; 6249 background: url(../images/bg-3.svg) no-repeat 100%/cover;
6250 overflow: hidden; 6250 overflow: hidden;
6251 } 6251 }
6252 .page-404__body { 6252 .page-404__body {
6253 display: -webkit-box; 6253 display: -webkit-box;
6254 display: -ms-flexbox; 6254 display: -ms-flexbox;
6255 display: flex; 6255 display: flex;
6256 -webkit-box-orient: vertical; 6256 -webkit-box-orient: vertical;
6257 -webkit-box-direction: normal; 6257 -webkit-box-direction: normal;
6258 -ms-flex-direction: column; 6258 -ms-flex-direction: column;
6259 flex-direction: column; 6259 flex-direction: column;
6260 -webkit-box-align: center; 6260 -webkit-box-align: center;
6261 -ms-flex-align: center; 6261 -ms-flex-align: center;
6262 align-items: center; 6262 align-items: center;
6263 -webkit-box-pack: center; 6263 -webkit-box-pack: center;
6264 -ms-flex-pack: center; 6264 -ms-flex-pack: center;
6265 justify-content: center; 6265 justify-content: center;
6266 text-align: center; 6266 text-align: center;
6267 padding: 60px 0; 6267 padding: 60px 0;
6268 color: #000; 6268 color: #000;
6269 font-size: 12px; 6269 font-size: 12px;
6270 gap: 10px; 6270 gap: 10px;
6271 line-height: 1.4; 6271 line-height: 1.4;
6272 } 6272 }
6273 @media (min-width: 768px) { 6273 @media (min-width: 768px) {
6274 .page-404__body { 6274 .page-404__body {
6275 font-size: 18px; 6275 font-size: 18px;
6276 padding: 120px 0; 6276 padding: 120px 0;
6277 gap: 20px; 6277 gap: 20px;
6278 } 6278 }
6279 } 6279 }
6280 @media (min-width: 1280px) { 6280 @media (min-width: 1280px) {
6281 .page-404__body { 6281 .page-404__body {
6282 padding: 180px 0; 6282 padding: 180px 0;
6283 text-align: left; 6283 text-align: left;
6284 } 6284 }
6285 } 6285 }
6286 .page-404__numb { 6286 .page-404__numb {
6287 font-size: 114px; 6287 font-size: 114px;
6288 line-height: 1; 6288 line-height: 1;
6289 color: #377d87; 6289 color: #377d87;
6290 font-weight: 700; 6290 font-weight: 700;
6291 } 6291 }
6292 @media (min-width: 768px) { 6292 @media (min-width: 768px) {
6293 .page-404__numb { 6293 .page-404__numb {
6294 font-size: 184px; 6294 font-size: 184px;
6295 } 6295 }
6296 } 6296 }
6297 @media (min-width: 768px) { 6297 @media (min-width: 768px) {
6298 .page-404__title { 6298 .page-404__title {
6299 font-weight: 700; 6299 font-weight: 700;
6300 font-size: 44px; 6300 font-size: 44px;
6301 } 6301 }
6302 } 6302 }
6303 @media (min-width: 1280px) { 6303 @media (min-width: 1280px) {
6304 .page-404__title { 6304 .page-404__title {
6305 width: 710px; 6305 width: 710px;
6306 position: relative; 6306 position: relative;
6307 left: 200px; 6307 left: 200px;
6308 } 6308 }
6309 } 6309 }
6310 @media (min-width: 1280px) { 6310 @media (min-width: 1280px) {
6311 .page-404__subtitle { 6311 .page-404__subtitle {
6312 width: 710px; 6312 width: 710px;
6313 position: relative; 6313 position: relative;
6314 left: 200px; 6314 left: 200px;
6315 } 6315 }
6316 } 6316 }
6317 .page-404__button { 6317 .page-404__button {
6318 margin-top: 10px; 6318 margin-top: 10px;
6319 } 6319 }
6320 @media (min-width: 1280px) { 6320 @media (min-width: 1280px) {
6321 .page-404__button { 6321 .page-404__button {
6322 position: relative; 6322 position: relative;
6323 left: -45px; 6323 left: -45px;
6324 } 6324 }
6325 } 6325 }
6326 6326
6327 .cookies { 6327 .cookies {
6328 display: none; 6328 display: none;
6329 -webkit-box-align: end; 6329 -webkit-box-align: end;
6330 -ms-flex-align: end; 6330 -ms-flex-align: end;
6331 align-items: flex-end; 6331 align-items: flex-end;
6332 padding: 10px; 6332 padding: 10px;
6333 padding-top: 0; 6333 padding-top: 0;
6334 height: 0; 6334 height: 0;
6335 position: fixed; 6335 position: fixed;
6336 z-index: 999; 6336 z-index: 999;
6337 bottom: 0; 6337 bottom: 0;
6338 left: 0; 6338 left: 0;
6339 width: 100%; 6339 width: 100%;
6340 } 6340 }
6341 .cookies-is-actived .cookies { 6341 .cookies-is-actived .cookies {
6342 display: -webkit-box; 6342 display: -webkit-box;
6343 display: -ms-flexbox; 6343 display: -ms-flexbox;
6344 display: flex; 6344 display: flex;
6345 } 6345 }
6346 .cookies__body { 6346 .cookies__body {
6347 border-radius: 6px; 6347 border-radius: 6px;
6348 border: 1px solid #377d87; 6348 border: 1px solid #377d87;
6349 background: #fff; 6349 background: #fff;
6350 padding: 15px; 6350 padding: 15px;
6351 padding-right: 50px; 6351 padding-right: 50px;
6352 position: relative; 6352 position: relative;
6353 max-width: 940px; 6353 max-width: 940px;
6354 margin: 0 auto; 6354 margin: 0 auto;
6355 } 6355 }
6356 @media (min-width: 768px) { 6356 @media (min-width: 768px) {
6357 .cookies__body { 6357 .cookies__body {
6358 padding: 25px; 6358 padding: 25px;
6359 padding-right: 50px; 6359 padding-right: 50px;
6360 border-radius: 12px; 6360 border-radius: 12px;
6361 } 6361 }
6362 } 6362 }
6363 @media (min-width: 992px) { 6363 @media (min-width: 992px) {
6364 .cookies__body { 6364 .cookies__body {
6365 padding: 40px 60px; 6365 padding: 40px 60px;
6366 } 6366 }
6367 } 6367 }
6368 .cookies__close { 6368 .cookies__close {
6369 display: -webkit-box; 6369 display: -webkit-box;
6370 display: -ms-flexbox; 6370 display: -ms-flexbox;
6371 display: flex; 6371 display: flex;
6372 -webkit-box-pack: center; 6372 -webkit-box-pack: center;
6373 -ms-flex-pack: center; 6373 -ms-flex-pack: center;
6374 justify-content: center; 6374 justify-content: center;
6375 -webkit-box-align: center; 6375 -webkit-box-align: center;
6376 -ms-flex-align: center; 6376 -ms-flex-align: center;
6377 align-items: center; 6377 align-items: center;
6378 color: #377d87; 6378 color: #377d87;
6379 padding: 0; 6379 padding: 0;
6380 border: none; 6380 border: none;
6381 background: none; 6381 background: none;
6382 position: absolute; 6382 position: absolute;
6383 top: 15px; 6383 top: 15px;
6384 right: 15px; 6384 right: 15px;
6385 } 6385 }
6386 .cookies__close:hover { 6386 .cookies__close:hover {
6387 color: #000; 6387 color: #000;
6388 } 6388 }
6389 .cookies__close svg { 6389 .cookies__close svg {
6390 width: 16px; 6390 width: 16px;
6391 height: 16px; 6391 height: 16px;
6392 } 6392 }
6393 .cookies__text { 6393 .cookies__text {
6394 font-size: 12px; 6394 font-size: 12px;
6395 color: #377d87; 6395 color: #377d87;
6396 line-height: 1.4; 6396 line-height: 1.4;
6397 } 6397 }
6398 @media (min-width: 768px) { 6398 @media (min-width: 768px) {
6399 .cookies__text { 6399 .cookies__text {
6400 font-size: 16px; 6400 font-size: 16px;
6401 font-weight: 700; 6401 font-weight: 700;
6402 } 6402 }
6403 } 6403 }
6404 6404
6405 .fancybox-active { 6405 .fancybox-active {
6406 overflow: hidden; 6406 overflow: hidden;
6407 } 6407 }
6408 .fancybox-is-open .fancybox-bg { 6408 .fancybox-is-open .fancybox-bg {
6409 background: #080b0b; 6409 background: #080b0b;
6410 opacity: 0.6; 6410 opacity: 0.6;
6411 z-index: 9999; 6411 z-index: 9999;
6412 } 6412 }
6413 .fancybox-slide { 6413 .fancybox-slide {
6414 padding: 0; 6414 padding: 0;
6415 } 6415 }
6416 @media (min-width: 992px) { 6416 @media (min-width: 992px) {
6417 .fancybox-slide { 6417 .fancybox-slide {
6418 padding: 30px; 6418 padding: 30px;
6419 } 6419 }
6420 } 6420 }
6421 .fancybox-slide--html .fancybox-close-small { 6421 .fancybox-slide--html .fancybox-close-small {
6422 padding: 0; 6422 padding: 0;
6423 opacity: 1; 6423 opacity: 1;
6424 color: #377d87; 6424 color: #377d87;
6425 } 6425 }
6426 @media (min-width: 768px) { 6426 @media (min-width: 768px) {
6427 .fancybox-slide--html .fancybox-close-small { 6427 .fancybox-slide--html .fancybox-close-small {
6428 top: 10px; 6428 top: 10px;
6429 right: 10px; 6429 right: 10px;
6430 } 6430 }
6431 } 6431 }
6432 .fancybox-slide--html .fancybox-close-small:hover { 6432 .fancybox-slide--html .fancybox-close-small:hover {
6433 color: #000; 6433 color: #000;
6434 } 6434 }
6435 6435
6436 .modal { 6436 .modal {
6437 width: 100%; 6437 width: 100%;
6438 max-width: 820px; 6438 max-width: 820px;
6439 padding: 0; 6439 padding: 0;
6440 background: #fff; 6440 background: #fff;
6441 z-index: 99999; 6441 z-index: 99999;
6442 } 6442 }
6443 @media (min-width: 992px) { 6443 @media (min-width: 992px) {
6444 .modal { 6444 .modal {
6445 border-radius: 10px; 6445 border-radius: 10px;
6446 border: 1px solid #377d87; 6446 border: 1px solid #377d87;
6447 } 6447 }
6448 } 6448 }
6449 .modal_bg { 6449 .modal_bg {
6450 background: #fff url(../images/bg-4.svg) no-repeat calc(50% + 100px) 100%; 6450 background: #fff url(../images/bg-4.svg) no-repeat calc(50% + 100px) 100%;
6451 } 6451 }
6452 @media (min-width: 768px) { 6452 @media (min-width: 768px) {
6453 .modal_bg { 6453 .modal_bg {
6454 background-position: 100% 100%; 6454 background-position: 100% 100%;
6455 } 6455 }
6456 } 6456 }
6457 .modal__body { 6457 .modal__body {
6458 padding: 40px 15px; 6458 padding: 40px 15px;
6459 padding-bottom: 30px; 6459 padding-bottom: 30px;
6460 display: -webkit-box; 6460 display: -webkit-box;
6461 display: -ms-flexbox; 6461 display: -ms-flexbox;
6462 display: flex; 6462 display: flex;
6463 -webkit-box-orient: vertical; 6463 -webkit-box-orient: vertical;
6464 -webkit-box-direction: normal; 6464 -webkit-box-direction: normal;
6465 -ms-flex-direction: column; 6465 -ms-flex-direction: column;
6466 flex-direction: column; 6466 flex-direction: column;
6467 -webkit-box-align: center; 6467 -webkit-box-align: center;
6468 -ms-flex-align: center; 6468 -ms-flex-align: center;
6469 align-items: center; 6469 align-items: center;
6470 -webkit-box-pack: center; 6470 -webkit-box-pack: center;
6471 -ms-flex-pack: center; 6471 -ms-flex-pack: center;
6472 justify-content: center; 6472 justify-content: center;
6473 width: 100%; 6473 width: 100%;
6474 min-height: 100vh; 6474 min-height: 100vh;
6475 overflow: hidden; 6475 overflow: hidden;
6476 font-size: 12px; 6476 font-size: 12px;
6477 } 6477 }
6478 @media (min-width: 768px) { 6478 @media (min-width: 768px) {
6479 .modal__body { 6479 .modal__body {
6480 font-size: 16px; 6480 font-size: 16px;
6481 padding-left: 22px; 6481 padding-left: 22px;
6482 padding-right: 22px; 6482 padding-right: 22px;
6483 } 6483 }
6484 } 6484 }
6485 @media (min-width: 992px) { 6485 @media (min-width: 992px) {
6486 .modal__body { 6486 .modal__body {
6487 min-height: 450px; 6487 min-height: 450px;
6488 padding: 60px 80px; 6488 padding: 60px 80px;
6489 padding-bottom: 40px; 6489 padding-bottom: 40px;
6490 } 6490 }
6491 } 6491 }
6492 @media (min-width: 768px) { 6492 @media (min-width: 768px) {
6493 .modal__body .left { 6493 .modal__body .left {
6494 text-align: left; 6494 text-align: left;
6495 } 6495 }
6496 } 6496 }
6497 .modal__title { 6497 .modal__title {
6498 width: 100%; 6498 width: 100%;
6499 font-size: 22px; 6499 font-size: 22px;
6500 font-weight: 700; 6500 font-weight: 700;
6501 text-align: center; 6501 text-align: center;
6502 color: #000; 6502 color: #000;
6503 } 6503 }
6504 @media (min-width: 768px) { 6504 @media (min-width: 768px) {
6505 .modal__title { 6505 .modal__title {
6506 font-size: 32px; 6506 font-size: 32px;
6507 } 6507 }
6508 } 6508 }
6509 @media (min-width: 992px) { 6509 @media (min-width: 992px) {
6510 .modal__title { 6510 .modal__title {
6511 font-size: 44px; 6511 font-size: 44px;
6512 } 6512 }
6513 } 6513 }
6514 .modal__text { 6514 .modal__text {
6515 width: 100%; 6515 width: 100%;
6516 text-align: center; 6516 text-align: center;
6517 margin-top: 10px; 6517 margin-top: 10px;
6518 color: #000; 6518 color: #000;
6519 } 6519 }
6520 @media (min-width: 768px) { 6520 @media (min-width: 768px) {
6521 .modal__text { 6521 .modal__text {
6522 margin-top: 20px; 6522 margin-top: 20px;
6523 } 6523 }
6524 } 6524 }
6525 .modal__text span { 6525 .modal__text span {
6526 color: #9c9d9d; 6526 color: #9c9d9d;
6527 } 6527 }
6528 .modal__text a { 6528 .modal__text a {
6529 font-weight: 700; 6529 font-weight: 700;
6530 color: #377d87; 6530 color: #377d87;
6531 } 6531 }
6532 .modal__text a:hover { 6532 .modal__text a:hover {
6533 color: #000; 6533 color: #000;
6534 } 6534 }
6535 .modal__button { 6535 .modal__button {
6536 margin-top: 20px; 6536 margin-top: 20px;
6537 } 6537 }
6538 @media (min-width: 768px) { 6538 @media (min-width: 768px) {
6539 .modal__button { 6539 .modal__button {
6540 min-width: 200px; 6540 min-width: 200px;
6541 margin-top: 30px; 6541 margin-top: 30px;
6542 } 6542 }
6543 } 6543 }
6544 .modal__buttons { 6544 .modal__buttons {
6545 display: grid; 6545 display: grid;
6546 grid-template-columns: repeat(2, 1fr); 6546 grid-template-columns: repeat(2, 1fr);
6547 gap: 20px; 6547 gap: 20px;
6548 margin-top: 20px; 6548 margin-top: 20px;
6549 } 6549 }
6550 @media (min-width: 768px) { 6550 @media (min-width: 768px) {
6551 .modal__buttons { 6551 .modal__buttons {
6552 gap: 30px; 6552 gap: 30px;
6553 margin-top: 30px; 6553 margin-top: 30px;
6554 } 6554 }
6555 } 6555 }
6556 .modal__form { 6556 .modal__form {
6557 width: 100%; 6557 width: 100%;
6558 display: -webkit-box; 6558 display: -webkit-box;
6559 display: -ms-flexbox; 6559 display: -ms-flexbox;
6560 display: flex; 6560 display: flex;
6561 -webkit-box-orient: vertical; 6561 -webkit-box-orient: vertical;
6562 -webkit-box-direction: normal; 6562 -webkit-box-direction: normal;
6563 -ms-flex-direction: column; 6563 -ms-flex-direction: column;
6564 flex-direction: column; 6564 flex-direction: column;
6565 gap: 16px; 6565 gap: 16px;
6566 margin-top: 10px; 6566 margin-top: 10px;
6567 } 6567 }
6568 @media (min-width: 768px) { 6568 @media (min-width: 768px) {
6569 .modal__form { 6569 .modal__form {
6570 margin-top: 20px; 6570 margin-top: 20px;
6571 } 6571 }
6572 } 6572 }
6573 .modal__form-item { 6573 .modal__form-item {
6574 display: -webkit-box; 6574 display: -webkit-box;
6575 display: -ms-flexbox; 6575 display: -ms-flexbox;
6576 display: flex; 6576 display: flex;
6577 -webkit-box-orient: vertical; 6577 -webkit-box-orient: vertical;
6578 -webkit-box-direction: normal; 6578 -webkit-box-direction: normal;
6579 -ms-flex-direction: column; 6579 -ms-flex-direction: column;
6580 flex-direction: column; 6580 flex-direction: column;
6581 -webkit-box-align: center; 6581 -webkit-box-align: center;
6582 -ms-flex-align: center; 6582 -ms-flex-align: center;
6583 align-items: center; 6583 align-items: center;
6584 gap: 4px; 6584 gap: 4px;
6585 } 6585 }
6586 .modal__form-item > .input { 6586 .modal__form-item > .input {
6587 width: 100%; 6587 width: 100%;
6588 } 6588 }
6589 .modal__form-item > .textarea { 6589 .modal__form-item > .textarea {
6590 width: 100%; 6590 width: 100%;
6591 height: 175px; 6591 height: 175px;
6592 } 6592 }
6593 @media (min-width: 768px) { 6593 @media (min-width: 768px) {
6594 .modal__form-item > .textarea { 6594 .modal__form-item > .textarea {
6595 height: 195px; 6595 height: 195px;
6596 } 6596 }
6597 } 6597 }
6598 .modal__form-item > .file { 6598 .modal__form-item > .file {
6599 width: 100%; 6599 width: 100%;
6600 } 6600 }
6601 .modal__form-item > .button { 6601 .modal__form-item > .button {
6602 min-width: 120px; 6602 min-width: 120px;
6603 } 6603 }
6604 .modal__form-item > label { 6604 .modal__form-item > label {
6605 width: 100%; 6605 width: 100%;
6606 display: none; 6606 display: none;
6607 color: #eb5757; 6607 color: #eb5757;
6608 padding: 0 10px; 6608 padding: 0 10px;
6609 font-size: 12px; 6609 font-size: 12px;
6610 } 6610 }
6611 @media (min-width: 768px) { 6611 @media (min-width: 768px) {
6612 .modal__form-item > label { 6612 .modal__form-item > label {
6613 padding: 0 20px; 6613 padding: 0 20px;
6614 font-size: 16px; 6614 font-size: 16px;
6615 } 6615 }
6616 } 6616 }
6617 .modal__sign { 6617 .modal__sign {
6618 display: -webkit-box; 6618 display: -webkit-box;
6619 display: -ms-flexbox; 6619 display: -ms-flexbox;
6620 display: flex; 6620 display: flex;
6621 -webkit-box-orient: vertical; 6621 -webkit-box-orient: vertical;
6622 -webkit-box-direction: normal; 6622 -webkit-box-direction: normal;
6623 -ms-flex-direction: column; 6623 -ms-flex-direction: column;
6624 flex-direction: column; 6624 flex-direction: column;
6625 gap: 20px; 6625 gap: 20px;
6626 margin-top: 10px; 6626 margin-top: 10px;
6627 margin-bottom: 20px; 6627 margin-bottom: 20px;
6628 width: 100%; 6628 width: 100%;
6629 } 6629 }
6630 @media (min-width: 768px) { 6630 @media (min-width: 768px) {
6631 .modal__sign { 6631 .modal__sign {
6632 margin-top: 20px; 6632 margin-top: 20px;
6633 margin-bottom: 40px; 6633 margin-bottom: 40px;
6634 } 6634 }
6635 } 6635 }
6636 .modal__sign-item { 6636 .modal__sign-item {
6637 display: -webkit-box; 6637 display: -webkit-box;
6638 display: -ms-flexbox; 6638 display: -ms-flexbox;
6639 display: flex; 6639 display: flex;
6640 -webkit-box-orient: vertical; 6640 -webkit-box-orient: vertical;
6641 -webkit-box-direction: normal; 6641 -webkit-box-direction: normal;
6642 -ms-flex-direction: column; 6642 -ms-flex-direction: column;
6643 flex-direction: column; 6643 flex-direction: column;
6644 -webkit-box-align: center; 6644 -webkit-box-align: center;
6645 -ms-flex-align: center; 6645 -ms-flex-align: center;
6646 align-items: center; 6646 align-items: center;
6647 position: relative; 6647 position: relative;
6648 } 6648 }
6649 .modal__sign-item > .input { 6649 .modal__sign-item > .input {
6650 width: 100%; 6650 width: 100%;
6651 padding-right: 36px; 6651 padding-right: 36px;
6652 position: relative; 6652 position: relative;
6653 z-index: 1; 6653 z-index: 1;
6654 } 6654 }
6655 @media (min-width: 768px) { 6655 @media (min-width: 768px) {
6656 .modal__sign-item > .input { 6656 .modal__sign-item > .input {
6657 height: 52px; 6657 height: 52px;
6658 padding-right: 60px; 6658 padding-right: 60px;
6659 } 6659 }
6660 } 6660 }
6661 .modal__sign-item > .textarea { 6661 .modal__sign-item > .textarea {
6662 width: 100%; 6662 width: 100%;
6663 } 6663 }
6664 .modal__sign-bottom { 6664 .modal__sign-bottom {
6665 display: -webkit-box; 6665 display: -webkit-box;
6666 display: -ms-flexbox; 6666 display: -ms-flexbox;
6667 display: flex; 6667 display: flex;
6668 -webkit-box-pack: justify; 6668 -webkit-box-pack: justify;
6669 -ms-flex-pack: justify; 6669 -ms-flex-pack: justify;
6670 justify-content: space-between; 6670 justify-content: space-between;
6671 -webkit-box-align: center; 6671 -webkit-box-align: center;
6672 -ms-flex-align: center; 6672 -ms-flex-align: center;
6673 align-items: center; 6673 align-items: center;
6674 width: 100%; 6674 width: 100%;
6675 } 6675 }
6676 .modal__sign-bottom-link { 6676 .modal__sign-bottom-link {
6677 font-weight: 700; 6677 font-weight: 700;
6678 color: #377d87; 6678 color: #377d87;
6679 } 6679 }
6680 .modal__tabs { 6680 .modal__tabs {
6681 width: 100%; 6681 width: 100%;
6682 display: grid; 6682 display: grid;
6683 grid-template-columns: repeat(2, 1fr); 6683 grid-template-columns: repeat(2, 1fr);
6684 gap: 16px; 6684 gap: 16px;
6685 margin-top: 10px; 6685 margin-top: 10px;
6686 } 6686 }
6687 @media (min-width: 768px) { 6687 @media (min-width: 768px) {
6688 .modal__tabs { 6688 .modal__tabs {
6689 gap: 24px; 6689 gap: 24px;
6690 margin-top: 20px; 6690 margin-top: 20px;
6691 } 6691 }
6692 } 6692 }
6693 .modal__tabs-item.active { 6693 .modal__tabs-item.active {
6694 background: #377d87; 6694 background: #377d87;
6695 color: #fff; 6695 color: #fff;
6696 } 6696 }
6697 .modal__reg { 6697 .modal__reg {
6698 display: none; 6698 display: none;
6699 -webkit-box-orient: vertical; 6699 -webkit-box-orient: vertical;
6700 -webkit-box-direction: normal; 6700 -webkit-box-direction: normal;
6701 -ms-flex-direction: column; 6701 -ms-flex-direction: column;
6702 flex-direction: column; 6702 flex-direction: column;
6703 -webkit-box-align: center; 6703 -webkit-box-align: center;
6704 -ms-flex-align: center; 6704 -ms-flex-align: center;
6705 align-items: center; 6705 align-items: center;
6706 gap: 10px; 6706 gap: 10px;
6707 width: 100%; 6707 width: 100%;
6708 margin-top: 10px; 6708 margin-top: 10px;
6709 margin-bottom: 20px; 6709 margin-bottom: 20px;
6710 } 6710 }
6711 @media (min-width: 768px) { 6711 @media (min-width: 768px) {
6712 .modal__reg { 6712 .modal__reg {
6713 margin-top: 20px; 6713 margin-top: 20px;
6714 margin-bottom: 30px; 6714 margin-bottom: 30px;
6715 gap: 20px; 6715 gap: 20px;
6716 } 6716 }
6717 } 6717 }
6718 .modal__reg.showed { 6718 .modal__reg.showed {
6719 display: -webkit-box; 6719 display: -webkit-box;
6720 display: -ms-flexbox; 6720 display: -ms-flexbox;
6721 display: flex; 6721 display: flex;
6722 } 6722 }
6723 .modal__reg-item { 6723 .modal__reg-item {
6724 width: 100%; 6724 width: 100%;
6725 display: -webkit-box; 6725 display: -webkit-box;
6726 display: -ms-flexbox; 6726 display: -ms-flexbox;
6727 display: flex; 6727 display: flex;
6728 -webkit-box-orient: vertical; 6728 -webkit-box-orient: vertical;
6729 -webkit-box-direction: normal; 6729 -webkit-box-direction: normal;
6730 -ms-flex-direction: column; 6730 -ms-flex-direction: column;
6731 flex-direction: column; 6731 flex-direction: column;
6732 } 6732 }
6733 .modal__reg-item > .captcha { 6733 .modal__reg-item > .captcha {
6734 width: 100%; 6734 width: 100%;
6735 max-width: 300px; 6735 max-width: 300px;
6736 } 6736 }
6737 6737
6738 .messages { 6738 .messages {
6739 display: -webkit-box; 6739 display: -webkit-box;
6740 display: -ms-flexbox; 6740 display: -ms-flexbox;
6741 display: flex; 6741 display: flex;
6742 -webkit-box-orient: vertical; 6742 -webkit-box-orient: vertical;
6743 -webkit-box-direction: reverse; 6743 -webkit-box-direction: reverse;
6744 -ms-flex-direction: column-reverse; 6744 -ms-flex-direction: column-reverse;
6745 flex-direction: column-reverse; 6745 flex-direction: column-reverse;
6746 -webkit-box-align: center; 6746 -webkit-box-align: center;
6747 -ms-flex-align: center; 6747 -ms-flex-align: center;
6748 align-items: center; 6748 align-items: center;
6749 gap: 20px; 6749 gap: 20px;
6750 } 6750 }
6751 .messages__body { 6751 .messages__body {
6752 width: 100%; 6752 width: 100%;
6753 max-height: 800px; 6753 max-height: 800px;
6754 overflow: auto; 6754 overflow: auto;
6755 padding: 5px; 6755 padding: 5px;
6756 } 6756 }
6757 .messages__item { 6757 .messages__item {
6758 -webkit-box-align: center; 6758 -webkit-box-align: center;
6759 -ms-flex-align: center; 6759 -ms-flex-align: center;
6760 align-items: center; 6760 align-items: center;
6761 border-radius: 8px; 6761 border-radius: 8px;
6762 border: 1px solid #e7e7e7; 6762 border: 1px solid #e7e7e7;
6763 background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); 6763 background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%);
6764 padding: 0px; 6764 padding: 0px;
6765 font-size: 12px; 6765 font-size: 12px;
6766 display: flex; 6766 display: flex;
6767 justify-content: space-between; 6767 justify-content: space-between;
6768 margin-bottom: 20px; 6768 margin-bottom: 20px;
6769 } 6769 }
6770 @media (min-width: 768px) { 6770 @media (min-width: 768px) {
6771 .messages__item { 6771 .messages__item {
6772 font-size: 18px; 6772 font-size: 18px;
6773 } 6773 }
6774 } 6774 }
6775 .messages__item-info { 6775 .messages__item-info {
6776 display: -webkit-box; 6776 display: -webkit-box;
6777 display: -ms-flexbox; 6777 display: -ms-flexbox;
6778 display: flex; 6778 display: flex;
6779 -webkit-box-align: center; 6779 -webkit-box-align: center;
6780 -ms-flex-align: center; 6780 -ms-flex-align: center;
6781 align-items: center; 6781 align-items: center;
6782 width: calc(100% - 90px); 6782 width: calc(100% - 90px);
6783 padding: 20px; 6783 padding: 20px;
6784 } 6784 }
6785 @media (min-width: 768px) { 6785 @media (min-width: 768px) {
6786 .messages__item-info { 6786 .messages__item-info {
6787 width: calc(100% - 150px); 6787 width: calc(100% - 150px);
6788 } 6788 }
6789 } 6789 }
6790 .messages__item-photo { 6790 .messages__item-photo {
6791 position: relative; 6791 position: relative;
6792 aspect-ratio: 1/1; 6792 aspect-ratio: 1/1;
6793 overflow: hidden; 6793 overflow: hidden;
6794 background: #9c9d9d; 6794 background: #9c9d9d;
6795 color: #fff; 6795 color: #fff;
6796 width: 36px; 6796 width: 36px;
6797 border-radius: 6px; 6797 border-radius: 6px;
6798 display: -webkit-box; 6798 display: -webkit-box;
6799 display: -ms-flexbox; 6799 display: -ms-flexbox;
6800 display: flex; 6800 display: flex;
6801 -webkit-box-pack: center; 6801 -webkit-box-pack: center;
6802 -ms-flex-pack: center; 6802 -ms-flex-pack: center;
6803 justify-content: center; 6803 justify-content: center;
6804 -webkit-box-align: center; 6804 -webkit-box-align: center;
6805 -ms-flex-align: center; 6805 -ms-flex-align: center;
6806 align-items: center; 6806 align-items: center;
6807 } 6807 }
6808 @media (min-width: 768px) { 6808 @media (min-width: 768px) {
6809 .messages__item-photo { 6809 .messages__item-photo {
6810 width: 52px; 6810 width: 52px;
6811 } 6811 }
6812 } 6812 }
6813 .messages__item-photo svg { 6813 .messages__item-photo svg {
6814 width: 50%; 6814 width: 50%;
6815 position: relative; 6815 position: relative;
6816 z-index: 1; 6816 z-index: 1;
6817 } 6817 }
6818 .messages__item-photo img { 6818 .messages__item-photo img {
6819 position: absolute; 6819 position: absolute;
6820 z-index: 2; 6820 z-index: 2;
6821 top: 0; 6821 top: 0;
6822 left: 0; 6822 left: 0;
6823 width: 100%; 6823 width: 100%;
6824 height: 100%; 6824 height: 100%;
6825 -o-object-fit: cover; 6825 -o-object-fit: cover;
6826 object-fit: cover; 6826 object-fit: cover;
6827 } 6827 }
6828 .messages__item-text { 6828 .messages__item-text {
6829 width: calc(100% - 36px); 6829 width: calc(100% - 36px);
6830 padding-left: 6px; 6830 padding-left: 6px;
6831 color: #000; 6831 color: #000;
6832 display: -webkit-box; 6832 display: -webkit-box;
6833 display: -ms-flexbox; 6833 display: -ms-flexbox;
6834 display: flex; 6834 display: flex;
6835 -webkit-box-orient: vertical; 6835 -webkit-box-orient: vertical;
6836 -webkit-box-direction: normal; 6836 -webkit-box-direction: normal;
6837 -ms-flex-direction: column; 6837 -ms-flex-direction: column;
6838 flex-direction: column; 6838 flex-direction: column;
6839 gap: 4px; 6839 gap: 4px;
6840 } 6840 }
6841 @media (min-width: 768px) { 6841 @media (min-width: 768px) {
6842 .messages__item-text { 6842 .messages__item-text {
6843 padding-left: 20px; 6843 padding-left: 20px;
6844 width: calc(100% - 52px); 6844 width: calc(100% - 52px);
6845 gap: 8px; 6845 gap: 8px;
6846 } 6846 }
6847 } 6847 }
6848 .messages__item-text span { 6848 .messages__item-text span {
6849 color: #000; 6849 color: #000;
6850 } 6850 }
6851 .messages__item-actions{ 6851 .messages__item-actions{
6852 padding: 20px; 6852 padding: 20px;
6853 } 6853 }
6854 .messages__item-buttons{ 6854 .messages__item-buttons{
6855 float: right; 6855 float: right;
6856 display: flex; 6856 display: flex;
6857 align-items: center; 6857 align-items: center;
6858 } 6858 }
6859 .messages__item-buttons button{ 6859 .messages__item-buttons button{
6860 padding: 0; 6860 padding: 0;
6861 background: unset; 6861 background: unset;
6862 border: unset; 6862 border: unset;
6863 } 6863 }
6864 .messages__item-buttons button svg{ 6864 .messages__item-buttons button svg{
6865 width: 25px; 6865 width: 25px;
6866 height: 25px; 6866 height: 25px;
6867 color: gray; 6867 color: gray;
6868 } 6868 }
6869 .messages__item-buttons button svg path{ 6869 .messages__item-buttons button svg path{
6870 stroke: gray; 6870 stroke: gray;
6871 } 6871 }
6872 .messages__item-buttons button:hover svg{ 6872 .messages__item-buttons button:hover svg{
6873 color: black; 6873 color: black;
6874 } 6874 }
6875 .messages__item-buttons button:hover svg path{ 6875 .messages__item-buttons button:hover svg path{
6876 stroke: black; 6876 stroke: black;
6877 } 6877 }
6878 .messages__item-buttons button.pin-on:hover svg#pin_off path{ 6878 .messages__item-buttons button.pin-on:hover svg#pin_off path{
6879 fill: black; 6879 fill: black;
6880 } 6880 }
6881 .messages__item-buttons button.pin-on svg{ 6881 .messages__item-buttons button.pin-on svg{
6882 fill: gray; 6882 fill: gray;
6883 } 6883 }
6884 .messages__item-date { 6884 .messages__item-date {
6885 color: #00000070; 6885 color: #00000070;
6886 width: 90px; 6886 width: 90px;
6887 text-align: right; 6887 text-align: right;
6888 font-size: 14px; 6888 font-size: 14px;
6889 margin-bottom: 8px; 6889 margin-bottom: 8px;
6890 } 6890 }
6891 6891
6892 .messages.active .messages__item { 6892 .messages.active .messages__item {
6893 display: -webkit-box; 6893 display: -webkit-box;
6894 display: -ms-flexbox; 6894 display: -ms-flexbox;
6895 display: flex; 6895 display: flex;
6896 } 6896 }
6897 6897
6898 .responses { 6898 .responses {
6899 display: -webkit-box; 6899 display: -webkit-box;
6900 display: -ms-flexbox; 6900 display: -ms-flexbox;
6901 display: flex; 6901 display: flex;
6902 -webkit-box-orient: vertical; 6902 -webkit-box-orient: vertical;
6903 -webkit-box-direction: reverse; 6903 -webkit-box-direction: reverse;
6904 -ms-flex-direction: column-reverse; 6904 -ms-flex-direction: column-reverse;
6905 flex-direction: column-reverse; 6905 flex-direction: column-reverse;
6906 -webkit-box-align: center; 6906 -webkit-box-align: center;
6907 -ms-flex-align: center; 6907 -ms-flex-align: center;
6908 align-items: center; 6908 align-items: center;
6909 gap: 20px; 6909 gap: 20px;
6910 } 6910 }
6911 .responses__body { 6911 .responses__body {
6912 width: 100%; 6912 width: 100%;
6913 display: -webkit-box; 6913 display: -webkit-box;
6914 display: -ms-flexbox; 6914 display: -ms-flexbox;
6915 display: flex; 6915 display: flex;
6916 -webkit-box-orient: vertical; 6916 -webkit-box-orient: vertical;
6917 -webkit-box-direction: normal; 6917 -webkit-box-direction: normal;
6918 -ms-flex-direction: column; 6918 -ms-flex-direction: column;
6919 flex-direction: column; 6919 flex-direction: column;
6920 gap: 20px; 6920 gap: 20px;
6921 } 6921 }
6922 .responses__item { 6922 .responses__item {
6923 display: none; 6923 display: none;
6924 -webkit-box-orient: vertical; 6924 -webkit-box-orient: vertical;
6925 -webkit-box-direction: normal; 6925 -webkit-box-direction: normal;
6926 -ms-flex-direction: column; 6926 -ms-flex-direction: column;
6927 flex-direction: column; 6927 flex-direction: column;
6928 gap: 20px; 6928 gap: 20px;
6929 border-radius: 8px; 6929 border-radius: 8px;
6930 border: 1px solid #e7e7e7; 6930 border: 1px solid #e7e7e7;
6931 background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); 6931 background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%);
6932 padding: 20px 10px; 6932 padding: 20px 10px;
6933 font-size: 12px; 6933 font-size: 12px;
6934 position: relative; 6934 position: relative;
6935 } 6935 }
6936 @media (min-width: 768px) { 6936 @media (min-width: 768px) {
6937 .responses__item { 6937 .responses__item {
6938 padding: 20px; 6938 padding: 20px;
6939 font-size: 16px; 6939 font-size: 16px;
6940 } 6940 }
6941 } 6941 }
6942 .responses__item:nth-of-type(1), .responses__item:nth-of-type(2), .responses__item:nth-of-type(3), .responses__item:nth-of-type(4), .responses__item:nth-of-type(5), .responses__item:nth-of-type(6) { 6942 .responses__item:nth-of-type(1), .responses__item:nth-of-type(2), .responses__item:nth-of-type(3), .responses__item:nth-of-type(4), .responses__item:nth-of-type(5), .responses__item:nth-of-type(6) {
6943 display: -webkit-box; 6943 display: -webkit-box;
6944 display: -ms-flexbox; 6944 display: -ms-flexbox;
6945 display: flex; 6945 display: flex;
6946 } 6946 }
6947 .responses__item-date { 6947 .responses__item-date {
6948 color: #000; 6948 color: #000;
6949 } 6949 }
6950 @media (min-width: 992px) { 6950 @media (min-width: 992px) {
6951 .responses__item-date { 6951 .responses__item-date {
6952 position: absolute; 6952 position: absolute;
6953 top: 20px; 6953 top: 20px;
6954 right: 20px; 6954 right: 20px;
6955 } 6955 }
6956 } 6956 }
6957 .responses__item-wrapper { 6957 .responses__item-wrapper {
6958 display: -webkit-box; 6958 display: -webkit-box;
6959 display: -ms-flexbox; 6959 display: -ms-flexbox;
6960 display: flex; 6960 display: flex;
6961 -webkit-box-orient: vertical; 6961 -webkit-box-orient: vertical;
6962 -webkit-box-direction: normal; 6962 -webkit-box-direction: normal;
6963 -ms-flex-direction: column; 6963 -ms-flex-direction: column;
6964 flex-direction: column; 6964 flex-direction: column;
6965 gap: 20px; 6965 gap: 20px;
6966 } 6966 }
6967 .responses__item-inner { 6967 .responses__item-inner {
6968 display: -webkit-box; 6968 display: -webkit-box;
6969 display: -ms-flexbox; 6969 display: -ms-flexbox;
6970 display: flex; 6970 display: flex;
6971 -webkit-box-orient: vertical; 6971 -webkit-box-orient: vertical;
6972 -webkit-box-direction: normal; 6972 -webkit-box-direction: normal;
6973 -ms-flex-direction: column; 6973 -ms-flex-direction: column;
6974 flex-direction: column; 6974 flex-direction: column;
6975 gap: 10px; 6975 gap: 10px;
6976 } 6976 }
6977 @media (min-width: 768px) { 6977 @media (min-width: 768px) {
6978 .responses__item-inner { 6978 .responses__item-inner {
6979 gap: 20px; 6979 gap: 20px;
6980 } 6980 }
6981 } 6981 }
6982 @media (min-width: 1280px) { 6982 @media (min-width: 1280px) {
6983 .responses__item-inner { 6983 .responses__item-inner {
6984 width: calc(100% - 150px); 6984 width: calc(100% - 150px);
6985 } 6985 }
6986 } 6986 }
6987 .responses__item-row { 6987 .responses__item-row {
6988 display: grid; 6988 display: grid;
6989 grid-template-columns: 1fr 1fr; 6989 grid-template-columns: 1fr 1fr;
6990 gap: 20px; 6990 gap: 20px;
6991 color: #000; 6991 color: #000;
6992 text-align: right; 6992 text-align: right;
6993 } 6993 }
6994 @media (min-width: 992px) { 6994 @media (min-width: 992px) {
6995 .responses__item-row { 6995 .responses__item-row {
6996 display: -webkit-box; 6996 display: -webkit-box;
6997 display: -ms-flexbox; 6997 display: -ms-flexbox;
6998 display: flex; 6998 display: flex;
6999 -webkit-box-orient: vertical; 6999 -webkit-box-orient: vertical;
7000 -webkit-box-direction: normal; 7000 -webkit-box-direction: normal;
7001 -ms-flex-direction: column; 7001 -ms-flex-direction: column;
7002 flex-direction: column; 7002 flex-direction: column;
7003 gap: 6px; 7003 gap: 6px;
7004 text-align: left; 7004 text-align: left;
7005 } 7005 }
7006 } 7006 }
7007 .responses__item-row span { 7007 .responses__item-row span {
7008 color: #000; 7008 color: #000;
7009 text-align: left; 7009 text-align: left;
7010 } 7010 }
7011 .responses__item-buttons { 7011 .responses__item-buttons {
7012 display: -webkit-box; 7012 display: -webkit-box;
7013 display: -ms-flexbox; 7013 display: -ms-flexbox;
7014 display: flex; 7014 display: flex;
7015 -webkit-box-orient: vertical; 7015 -webkit-box-orient: vertical;
7016 -webkit-box-direction: normal; 7016 -webkit-box-direction: normal;
7017 -ms-flex-direction: column; 7017 -ms-flex-direction: column;
7018 flex-direction: column; 7018 flex-direction: column;
7019 gap: 10px; 7019 gap: 10px;
7020 } 7020 }
7021 @media (min-width: 768px) { 7021 @media (min-width: 768px) {
7022 .responses__item-buttons { 7022 .responses__item-buttons {
7023 display: grid; 7023 display: grid;
7024 grid-template-columns: 1fr 1fr; 7024 grid-template-columns: 1fr 1fr;
7025 } 7025 }
7026 } 7026 }
7027 @media (min-width: 1280px) { 7027 @media (min-width: 1280px) {
7028 .responses__item-buttons { 7028 .responses__item-buttons {
7029 grid-template-columns: 1fr 1fr 1fr 1fr; 7029 grid-template-columns: 1fr 1fr 1fr 1fr;
7030 } 7030 }
7031 } 7031 }
7032 .responses__item-buttons .button.active { 7032 .responses__item-buttons .button.active {
7033 background: #377d87; 7033 background: #377d87;
7034 color: #fff; 7034 color: #fff;
7035 } 7035 }
7036 .responses.active .responses__item { 7036 .responses.active .responses__item {
7037 display: -webkit-box; 7037 display: -webkit-box;
7038 display: -ms-flexbox; 7038 display: -ms-flexbox;
7039 display: flex; 7039 display: flex;
7040 } 7040 }
7041 7041
7042 .chatbox { 7042 .chatbox {
7043 display: -webkit-box; 7043 display: -webkit-box;
7044 display: -ms-flexbox; 7044 display: -ms-flexbox;
7045 display: flex; 7045 display: flex;
7046 -webkit-box-orient: vertical; 7046 -webkit-box-orient: vertical;
7047 -webkit-box-direction: normal; 7047 -webkit-box-direction: normal;
7048 -ms-flex-direction: column; 7048 -ms-flex-direction: column;
7049 flex-direction: column; 7049 flex-direction: column;
7050 gap: 20px; 7050 gap: 20px;
7051 } 7051 }
7052 @media (min-width: 768px) { 7052 @media (min-width: 768px) {
7053 .chatbox { 7053 .chatbox {
7054 gap: 30px; 7054 gap: 30px;
7055 } 7055 }
7056 } 7056 }
7057 @media (min-width: 1280px) { 7057 @media (min-width: 1280px) {
7058 .chatbox { 7058 .chatbox {
7059 gap: 40px; 7059 gap: 40px;
7060 } 7060 }
7061 } 7061 }
7062 .chatbox__toper { 7062 .chatbox__toper {
7063 display: -webkit-box; 7063 display: -webkit-box;
7064 display: -ms-flexbox; 7064 display: -ms-flexbox;
7065 display: flex; 7065 display: flex;
7066 -webkit-box-orient: vertical; 7066 -webkit-box-orient: vertical;
7067 -webkit-box-direction: normal; 7067 -webkit-box-direction: normal;
7068 -ms-flex-direction: column; 7068 -ms-flex-direction: column;
7069 flex-direction: column; 7069 flex-direction: column;
7070 gap: 10px; 7070 gap: 10px;
7071 background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); 7071 background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%);
7072 border: 1px solid #e7e7e7; 7072 border: 1px solid #e7e7e7;
7073 border-radius: 8px; 7073 border-radius: 8px;
7074 padding: 10px; 7074 padding: 10px;
7075 } 7075 }
7076 @media (min-width: 768px) { 7076 @media (min-width: 768px) {
7077 .chatbox__toper { 7077 .chatbox__toper {
7078 -webkit-box-orient: horizontal; 7078 -webkit-box-orient: horizontal;
7079 -webkit-box-direction: normal; 7079 -webkit-box-direction: normal;
7080 -ms-flex-direction: row; 7080 -ms-flex-direction: row;
7081 flex-direction: row; 7081 flex-direction: row;
7082 -webkit-box-align: center; 7082 -webkit-box-align: center;
7083 -ms-flex-align: center; 7083 -ms-flex-align: center;
7084 align-items: center; 7084 align-items: center;
7085 -webkit-box-pack: justify; 7085 -webkit-box-pack: justify;
7086 -ms-flex-pack: justify; 7086 -ms-flex-pack: justify;
7087 justify-content: space-between; 7087 justify-content: space-between;
7088 } 7088 }
7089 } 7089 }
7090 .chatbox__toper-info { 7090 .chatbox__toper-info {
7091 font-size: 12px; 7091 font-size: 12px;
7092 } 7092 }
7093 @media (min-width: 768px) { 7093 @media (min-width: 768px) {
7094 .chatbox__toper-info { 7094 .chatbox__toper-info {
7095 font-size: 16px; 7095 font-size: 16px;
7096 width: calc(100% - 230px); 7096 width: calc(100% - 230px);
7097 } 7097 }
7098 } 7098 }
7099 @media (min-width: 768px) { 7099 @media (min-width: 768px) {
7100 .chatbox__toper-button { 7100 .chatbox__toper-button {
7101 width: 210px; 7101 width: 210px;
7102 padding: 0; 7102 padding: 0;
7103 } 7103 }
7104 } 7104 }
7105 .chatbox__list { 7105 .chatbox__list {
7106 display: -webkit-box; 7106 display: -webkit-box;
7107 display: -ms-flexbox; 7107 display: -ms-flexbox;
7108 display: flex; 7108 display: flex;
7109 -webkit-box-orient: vertical; 7109 -webkit-box-orient: vertical;
7110 -webkit-box-direction: normal; 7110 -webkit-box-direction: normal;
7111 -ms-flex-direction: column; 7111 -ms-flex-direction: column;
7112 flex-direction: column; 7112 flex-direction: column;
7113 gap: 10px; 7113 gap: 10px;
7114 max-height: 400px; 7114 max-height: 400px;
7115 overflow: auto; 7115 overflow: auto;
7116 } 7116 }
7117 @media (min-width: 768px) { 7117 @media (min-width: 768px) {
7118 .chatbox__list { 7118 .chatbox__list {
7119 gap: 20px; 7119 gap: 20px;
7120 } 7120 }
7121 } 7121 }
7122 @media (min-width: 1280px) { 7122 @media (min-width: 1280px) {
7123 .chatbox__list { 7123 .chatbox__list {
7124 gap: 40px; 7124 gap: 40px;
7125 } 7125 }
7126 } 7126 }
7127 .chatbox__item { 7127 .chatbox__item {
7128 display: -webkit-box; 7128 display: -webkit-box;
7129 display: -ms-flexbox; 7129 display: -ms-flexbox;
7130 display: flex; 7130 display: flex;
7131 -webkit-box-align: start; 7131 -webkit-box-align: start;
7132 -ms-flex-align: start; 7132 -ms-flex-align: start;
7133 align-items: flex-start; 7133 align-items: flex-start;
7134 -webkit-box-pack: justify; 7134 -webkit-box-pack: justify;
7135 -ms-flex-pack: justify; 7135 -ms-flex-pack: justify;
7136 justify-content: space-between; 7136 justify-content: space-between;
7137 -ms-flex-wrap: wrap; 7137 -ms-flex-wrap: wrap;
7138 flex-wrap: wrap; 7138 flex-wrap: wrap;
7139 color: #000; 7139 color: #000;
7140 font-size: 12px; 7140 font-size: 12px;
7141 } 7141 }
7142 @media (min-width: 768px) { 7142 @media (min-width: 768px) {
7143 .chatbox__item { 7143 .chatbox__item {
7144 font-size: 16px; 7144 font-size: 16px;
7145 } 7145 }
7146 } 7146 }
7147 .chatbox__item_reverse { 7147 .chatbox__item_reverse {
7148 -webkit-box-orient: horizontal; 7148 -webkit-box-orient: horizontal;
7149 -webkit-box-direction: reverse; 7149 -webkit-box-direction: reverse;
7150 -ms-flex-direction: row-reverse; 7150 -ms-flex-direction: row-reverse;
7151 flex-direction: row-reverse; 7151 flex-direction: row-reverse;
7152 } 7152 }
7153 .chatbox__item-photo { 7153 .chatbox__item-photo {
7154 position: relative; 7154 position: relative;
7155 aspect-ratio: 1/1; 7155 aspect-ratio: 1/1;
7156 overflow: hidden; 7156 overflow: hidden;
7157 background: #9c9d9d; 7157 background: #9c9d9d;
7158 color: #fff; 7158 color: #fff;
7159 width: 44px; 7159 width: 44px;
7160 border-radius: 6px; 7160 border-radius: 6px;
7161 display: -webkit-box; 7161 display: -webkit-box;
7162 display: -ms-flexbox; 7162 display: -ms-flexbox;
7163 display: flex; 7163 display: flex;
7164 -webkit-box-pack: center; 7164 -webkit-box-pack: center;
7165 -ms-flex-pack: center; 7165 -ms-flex-pack: center;
7166 justify-content: center; 7166 justify-content: center;
7167 -webkit-box-align: center; 7167 -webkit-box-align: center;
7168 -ms-flex-align: center; 7168 -ms-flex-align: center;
7169 align-items: center; 7169 align-items: center;
7170 } 7170 }
7171 .chatbox__item-photo svg { 7171 .chatbox__item-photo svg {
7172 width: 50%; 7172 width: 50%;
7173 position: relative; 7173 position: relative;
7174 z-index: 1; 7174 z-index: 1;
7175 } 7175 }
7176 .chatbox__item-photo img { 7176 .chatbox__item-photo img {
7177 position: absolute; 7177 position: absolute;
7178 z-index: 2; 7178 z-index: 2;
7179 top: 0; 7179 top: 0;
7180 left: 0; 7180 left: 0;
7181 width: 100%; 7181 width: 100%;
7182 height: 100%; 7182 height: 100%;
7183 -o-object-fit: cover; 7183 -o-object-fit: cover;
7184 object-fit: cover; 7184 object-fit: cover;
7185 } 7185 }
7186 .chatbox__item-body { 7186 .chatbox__item-body {
7187 width: calc(100% - 54px); 7187 width: calc(100% - 54px);
7188 display: -webkit-box; 7188 display: -webkit-box;
7189 display: -ms-flexbox; 7189 display: -ms-flexbox;
7190 display: flex; 7190 display: flex;
7191 -webkit-box-orient: vertical; 7191 -webkit-box-orient: vertical;
7192 -webkit-box-direction: normal; 7192 -webkit-box-direction: normal;
7193 -ms-flex-direction: column; 7193 -ms-flex-direction: column;
7194 flex-direction: column; 7194 flex-direction: column;
7195 -webkit-box-align: start; 7195 -webkit-box-align: start;
7196 -ms-flex-align: start; 7196 -ms-flex-align: start;
7197 align-items: flex-start; 7197 align-items: flex-start;
7198 } 7198 }
7199 @media (min-width: 768px) { 7199 @media (min-width: 768px) {
7200 .chatbox__item-body { 7200 .chatbox__item-body {
7201 width: calc(100% - 60px); 7201 width: calc(100% - 60px);
7202 } 7202 }
7203 } 7203 }
7204 .chatbox__item_reverse .chatbox__item-body { 7204 .chatbox__item_reverse .chatbox__item-body {
7205 -webkit-box-align: end; 7205 -webkit-box-align: end;
7206 -ms-flex-align: end; 7206 -ms-flex-align: end;
7207 align-items: flex-end; 7207 align-items: flex-end;
7208 } 7208 }
7209 .chatbox__item-text { 7209 .chatbox__item-text {
7210 border-radius: 8px; 7210 border-radius: 8px;
7211 background: #fff; 7211 background: #fff;
7212 -webkit-box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2); 7212 -webkit-box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2);
7213 box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2); 7213 box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2);
7214 padding: 10px; 7214 padding: 10px;
7215 line-height: 1.6; 7215 line-height: 1.6;
7216 } 7216 }
7217 .chatbox__item-body-file-name-wrap{
7218 display: flex;
7219 align-items: center;
7220 }
7221 .chatbox__item-body-file-name-wrap svg{
7222 height: 20px;
7223 width: 20px;
7224 }
7225 .chatbox__item-body-file-name-wrap a{
7226 margin-left: 20px;
7227 border-radius: 8px;
7228 padding: 2px 8px;
7229 -webkit-box-shadow: inset 0px 0px 14px -7px rgba(66, 68, 90, 1);
7230 -moz-box-shadow: inset 0px 0px 14px -7px rgba(66, 68, 90, 1);
7231 box-shadow: inset 0px 0px 14px -7px rgba(66, 68, 90, 1);
7232 }
7233 .chatbox__item_reverse .chatbox__item-body-file-name-wrap a{
7234 margin-left: 0px;
7235 margin-right: 20px;
7236 }
7237 .chatbox__item-body-file-name-wrap a:hover{
7238 box-shadow: 0px 0px 5px 1px rgb(139 136 136);
7239 }
7217 .chatbox__item-text .admin-chat-answer{ 7240 .chatbox__item-text .admin-chat-answer{
7218 padding: 2px 5px; 7241 padding: 2px 5px;
7219 height: auto; 7242 height: auto;
7220 float: right; 7243 float: right;
7221 margin-left: 10px; 7244 margin-left: 10px;
7222 } 7245 }
7223 .chatbox__item-text .reply-message{ 7246 .chatbox__item-text .reply-message{
7224 border-left: 1px grey solid; 7247 border-left: 1px grey solid;
7225 padding-left: 11px; 7248 padding-left: 11px;
7226 font-size: 12px; 7249 font-size: 12px;
7227 font-style: italic; 7250 font-style: italic;
7228 margin-top: 10px; 7251 margin-top: 10px;
7229 } 7252 }
7230 .chatbox__item-time { 7253 .chatbox__item-time {
7231 width: 100%; 7254 width: 100%;
7232 padding-left: 54px; 7255 padding-left: 54px;
7233 margin-top: 10px; 7256 margin-top: 10px;
7234 color: #9c9d9d; 7257 color: #9c9d9d;
7235 } 7258 }
7236 .chatbox__item_reverse .chatbox__item-time { 7259 .chatbox__item_reverse .chatbox__item-time {
7237 text-align: right; 7260 text-align: right;
7238 } 7261 }
7239 .chatbox__bottom { 7262 .chatbox__bottom {
7240 background: #4d88d9; 7263 background: #4d88d9;
7241 padding: 10px; 7264 padding: 10px;
7242 border-radius: 8px; 7265 border-radius: 8px;
7243 display: -webkit-box; 7266 display: -webkit-box;
7244 display: -ms-flexbox; 7267 display: -ms-flexbox;
7245 display: flex; 7268 display: flex;
7246 -webkit-box-align: center; 7269 -webkit-box-align: center;
7247 -ms-flex-align: center; 7270 -ms-flex-align: center;
7248 align-items: center; 7271 align-items: center;
7249 -webkit-box-pack: justify; 7272 -webkit-box-pack: justify;
7250 -ms-flex-pack: justify; 7273 -ms-flex-pack: justify;
7251 justify-content: space-between; 7274 justify-content: space-between;
7252 } 7275 }
7253 @media (min-width: 768px) { 7276 @media (min-width: 768px) {
7254 .chatbox__bottom { 7277 .chatbox__bottom {
7255 padding: 16px 20px; 7278 padding: 16px 20px;
7256 } 7279 }
7257 } 7280 }
7258 .chatbox__bottom-file { 7281 .chatbox__bottom-file {
7259 width: 20px; 7282 width: 20px;
7260 aspect-ratio: 1/1; 7283 aspect-ratio: 1/1;
7261 display: -webkit-box; 7284 display: -webkit-box;
7262 display: -ms-flexbox; 7285 display: -ms-flexbox;
7263 display: flex; 7286 display: flex;
7264 -webkit-box-pack: center; 7287 -webkit-box-pack: center;
7265 -ms-flex-pack: center; 7288 -ms-flex-pack: center;
7266 justify-content: center; 7289 justify-content: center;
7267 -webkit-box-align: center; 7290 -webkit-box-align: center;
7268 -ms-flex-align: center; 7291 -ms-flex-align: center;
7269 align-items: center; 7292 align-items: center;
7270 background: #fff; 7293 background: #fff;
7271 color: #4d88d9; 7294 color: #4d88d9;
7272 border-radius: 8px; 7295 border-radius: 8px;
7273 } 7296 }
7274 @media (min-width: 768px) { 7297 @media (min-width: 768px) {
7275 .chatbox__bottom-file { 7298 .chatbox__bottom-file {
7276 width: 48px; 7299 width: 48px;
7277 } 7300 }
7278 } 7301 }
7279 .chatbox__bottom-file:hover { 7302 .chatbox__bottom-file:hover {
7280 color: #377d87; 7303 color: #377d87;
7281 } 7304 }
7282 .chatbox__bottom-file input { 7305 .chatbox__bottom-file input {
7283 display: none; 7306 display: none;
7284 } 7307 }
7285 .chatbox__bottom-file svg { 7308 .chatbox__bottom-file svg {
7286 width: 50%; 7309 width: 50%;
7287 aspect-ratio: 1/1; 7310 aspect-ratio: 1/1;
7288 } 7311 }
7289 @media (min-width: 768px) { 7312 @media (min-width: 768px) {
7290 .chatbox__bottom-file svg { 7313 .chatbox__bottom-file svg {
7291 width: 40%; 7314 width: 40%;
7292 } 7315 }
7293 } 7316 }
7294 .chatbox__bottom-text { 7317 .chatbox__bottom-text {
7295 width: calc(100% - 60px); 7318 width: calc(100% - 60px);
7296 height: 20px; 7319 height: 20px;
7297 border-color: #fff; 7320 border-color: #fff;
7298 } 7321 }
7299 @media (min-width: 768px) { 7322 @media (min-width: 768px) {
7300 .chatbox__bottom-text { 7323 .chatbox__bottom-text {
7301 width: calc(100% - 128px); 7324 width: calc(100% - 128px);
7302 height: 48px; 7325 height: 48px;
7303 } 7326 }
7304 } 7327 }
7305 .chatbox__bottom-text:focus { 7328 .chatbox__bottom-text:focus {
7306 border-color: #fff; 7329 border-color: #fff;
7307 } 7330 }
7308 .chatbox__bottom-send { 7331 .chatbox__bottom-send {
7309 width: 20px; 7332 width: 20px;
7310 aspect-ratio: 1/1; 7333 aspect-ratio: 1/1;
7311 display: -webkit-box; 7334 display: -webkit-box;
7312 display: -ms-flexbox; 7335 display: -ms-flexbox;
7313 display: flex; 7336 display: flex;
7314 -webkit-box-pack: center; 7337 -webkit-box-pack: center;
7315 -ms-flex-pack: center; 7338 -ms-flex-pack: center;
7316 justify-content: center; 7339 justify-content: center;
7317 -webkit-box-align: center; 7340 -webkit-box-align: center;
7318 -ms-flex-align: center; 7341 -ms-flex-align: center;
7319 align-items: center; 7342 align-items: center;
7320 padding: 0; 7343 padding: 0;
7321 background: #fff; 7344 background: #fff;
7322 border: none; 7345 border: none;
7323 color: #4d88d9; 7346 color: #4d88d9;
7324 border-radius: 999px; 7347 border-radius: 999px;
7325 } 7348 }
7326 @media (min-width: 768px) { 7349 @media (min-width: 768px) {
7327 .chatbox__bottom-send { 7350 .chatbox__bottom-send {
7328 width: 48px; 7351 width: 48px;
7329 } 7352 }
7330 } 7353 }
7331 .chatbox__bottom-send:hover { 7354 .chatbox__bottom-send:hover {
7332 color: #377d87; 7355 color: #377d87;
7333 } 7356 }
7334 .chatbox__bottom-send svg { 7357 .chatbox__bottom-send svg {
7335 width: 50%; 7358 width: 50%;
7336 aspect-ratio: 1/1; 7359 aspect-ratio: 1/1;
7337 position: relative; 7360 position: relative;
7338 left: 1px; 7361 left: 1px;
7339 } 7362 }
7340 @media (min-width: 768px) { 7363 @media (min-width: 768px) {
7341 .chatbox__bottom-send svg { 7364 .chatbox__bottom-send svg {
7342 width: 40%; 7365 width: 40%;
7343 left: 2px; 7366 left: 2px;
7344 } 7367 }
7345 } 7368 }
7346 7369
7347 .cvs { 7370 .cvs {
7348 display: -webkit-box; 7371 display: -webkit-box;
7349 display: -ms-flexbox; 7372 display: -ms-flexbox;
7350 display: flex; 7373 display: flex;
7351 -webkit-box-orient: vertical; 7374 -webkit-box-orient: vertical;
7352 -webkit-box-direction: reverse; 7375 -webkit-box-direction: reverse;
7353 -ms-flex-direction: column-reverse; 7376 -ms-flex-direction: column-reverse;
7354 flex-direction: column-reverse; 7377 flex-direction: column-reverse;
7355 -webkit-box-align: center; 7378 -webkit-box-align: center;
7356 -ms-flex-align: center; 7379 -ms-flex-align: center;
7357 align-items: center; 7380 align-items: center;
7358 gap: 20px; 7381 gap: 20px;
7359 } 7382 }
7360 .cvs__body { 7383 .cvs__body {
7361 display: -webkit-box; 7384 display: -webkit-box;
7362 display: -ms-flexbox; 7385 display: -ms-flexbox;
7363 display: flex; 7386 display: flex;
7364 -webkit-box-orient: vertical; 7387 -webkit-box-orient: vertical;
7365 -webkit-box-direction: normal; 7388 -webkit-box-direction: normal;
7366 -ms-flex-direction: column; 7389 -ms-flex-direction: column;
7367 flex-direction: column; 7390 flex-direction: column;
7368 gap: 20px; 7391 gap: 20px;
7369 width: 100%; 7392 width: 100%;
7370 } 7393 }
7371 @media (min-width: 768px) { 7394 @media (min-width: 768px) {
7372 .cvs__body { 7395 .cvs__body {
7373 gap: 30px; 7396 gap: 30px;
7374 } 7397 }
7375 } 7398 }
7376 .cvs__item { 7399 .cvs__item {
7377 display: none; 7400 display: none;
7378 -webkit-box-orient: vertical; 7401 -webkit-box-orient: vertical;
7379 -webkit-box-direction: normal; 7402 -webkit-box-direction: normal;
7380 -ms-flex-direction: column; 7403 -ms-flex-direction: column;
7381 flex-direction: column; 7404 flex-direction: column;
7382 gap: 10px; 7405 gap: 10px;
7383 border-radius: 8px; 7406 border-radius: 8px;
7384 border: 1px solid #e7e7e7; 7407 border: 1px solid #e7e7e7;
7385 background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); 7408 background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%);
7386 padding: 10px; 7409 padding: 10px;
7387 font-size: 12px; 7410 font-size: 12px;
7388 position: relative; 7411 position: relative;
7389 } 7412 }
7390 @media (min-width: 768px) { 7413 @media (min-width: 768px) {
7391 .cvs__item { 7414 .cvs__item {
7392 gap: 0; 7415 gap: 0;
7393 padding: 20px; 7416 padding: 20px;
7394 font-size: 16px; 7417 font-size: 16px;
7395 -webkit-box-orient: horizontal; 7418 -webkit-box-orient: horizontal;
7396 -webkit-box-direction: normal; 7419 -webkit-box-direction: normal;
7397 -ms-flex-direction: row; 7420 -ms-flex-direction: row;
7398 flex-direction: row; 7421 flex-direction: row;
7399 -webkit-box-align: start; 7422 -webkit-box-align: start;
7400 -ms-flex-align: start; 7423 -ms-flex-align: start;
7401 align-items: flex-start; 7424 align-items: flex-start;
7402 -ms-flex-wrap: wrap; 7425 -ms-flex-wrap: wrap;
7403 flex-wrap: wrap; 7426 flex-wrap: wrap;
7404 } 7427 }
7405 } 7428 }
7406 .cvs__item:nth-of-type(1), .cvs__item:nth-of-type(2), .cvs__item:nth-of-type(3), .cvs__item:nth-of-type(4), .cvs__item:nth-of-type(5), .cvs__item:nth-of-type(6) { 7429 .cvs__item:nth-of-type(1), .cvs__item:nth-of-type(2), .cvs__item:nth-of-type(3), .cvs__item:nth-of-type(4), .cvs__item:nth-of-type(5), .cvs__item:nth-of-type(6) {
7407 display: -webkit-box; 7430 display: -webkit-box;
7408 display: -ms-flexbox; 7431 display: -ms-flexbox;
7409 display: flex; 7432 display: flex;
7410 } 7433 }
7411 .cvs__item-like { 7434 .cvs__item-like {
7412 width: unset; 7435 width: unset;
7413 padding: 5px 10px; 7436 padding: 5px 10px;
7414 margin-right: 10px; 7437 margin-right: 10px;
7415 } 7438 }
7416 .cvs__item .cvs__item-buttons .chat{ 7439 .cvs__item .cvs__item-buttons .chat{
7417 width: unset; 7440 width: unset;
7418 padding: 5px 10px; 7441 padding: 5px 10px;
7419 margin-right: 10px; 7442 margin-right: 10px;
7420 } 7443 }
7421 .cvs__item-like.active{ 7444 .cvs__item-like.active{
7422 background: #ffffff; 7445 background: #ffffff;
7423 color: #eb5757; 7446 color: #eb5757;
7424 } 7447 }
7425 .cvs__item-like .in-favorites{ 7448 .cvs__item-like .in-favorites{
7426 display: none; 7449 display: none;
7427 } 7450 }
7428 .cvs__item-like.active .in-favorites{ 7451 .cvs__item-like.active .in-favorites{
7429 display: block; 7452 display: block;
7430 color: #eb5757; 7453 color: #eb5757;
7431 } 7454 }
7432 .cvs__item-like.active .to-favorites{ 7455 .cvs__item-like.active .to-favorites{
7433 display: none; 7456 display: none;
7434 } 7457 }
7435 .cvs__item .cvs__item-header{ 7458 .cvs__item .cvs__item-header{
7436 display: flex; 7459 display: flex;
7437 width: 100%; 7460 width: 100%;
7438 justify-content: space-between; 7461 justify-content: space-between;
7439 } 7462 }
7440 .cvs__item-photo { 7463 .cvs__item-photo {
7441 position: relative; 7464 position: relative;
7442 aspect-ratio: 1/1; 7465 aspect-ratio: 1/1;
7443 overflow: hidden; 7466 overflow: hidden;
7444 background: #9c9d9d; 7467 background: #9c9d9d;
7445 color: #fff; 7468 color: #fff;
7446 width: 36px; 7469 width: 36px;
7447 border-radius: 6px; 7470 border-radius: 6px;
7448 display: -webkit-box; 7471 display: -webkit-box;
7449 display: -ms-flexbox; 7472 display: -ms-flexbox;
7450 display: flex; 7473 display: flex;
7451 -webkit-box-pack: center; 7474 -webkit-box-pack: center;
7452 -ms-flex-pack: center; 7475 -ms-flex-pack: center;
7453 justify-content: center; 7476 justify-content: center;
7454 -webkit-box-align: center; 7477 -webkit-box-align: center;
7455 -ms-flex-align: center; 7478 -ms-flex-align: center;
7456 align-items: center; 7479 align-items: center;
7457 } 7480 }
7458 @media (min-width: 768px) { 7481 @media (min-width: 768px) {
7459 .cvs__item-photo { 7482 .cvs__item-photo {
7460 width: 68px; 7483 width: 68px;
7461 } 7484 }
7462 } 7485 }
7463 .cvs__item-photo svg { 7486 .cvs__item-photo svg {
7464 width: 50%; 7487 width: 50%;
7465 position: relative; 7488 position: relative;
7466 z-index: 1; 7489 z-index: 1;
7467 } 7490 }
7468 .cvs__item-photo img { 7491 .cvs__item-photo img {
7469 position: absolute; 7492 position: absolute;
7470 z-index: 2; 7493 z-index: 2;
7471 top: 0; 7494 top: 0;
7472 left: 0; 7495 left: 0;
7473 width: 100%; 7496 width: 100%;
7474 height: 100%; 7497 height: 100%;
7475 -o-object-fit: cover; 7498 -o-object-fit: cover;
7476 object-fit: cover; 7499 object-fit: cover;
7477 } 7500 }
7478 .cvs__item-text { 7501 .cvs__item-text {
7479 display: -webkit-box; 7502 display: -webkit-box;
7480 display: -ms-flexbox; 7503 display: -ms-flexbox;
7481 display: flex; 7504 display: flex;
7482 -webkit-box-orient: vertical; 7505 -webkit-box-orient: vertical;
7483 -webkit-box-direction: normal; 7506 -webkit-box-direction: normal;
7484 -ms-flex-direction: column; 7507 -ms-flex-direction: column;
7485 flex-direction: column; 7508 flex-direction: column;
7486 gap: 10px; 7509 gap: 10px;
7487 width: 100%; 7510 width: 100%;
7488 margin-top: 30px; 7511 margin-top: 30px;
7489 } 7512 }
7490 .cvs__item .cvs__item-buttons{ 7513 .cvs__item .cvs__item-buttons{
7491 display: flex; 7514 display: flex;
7492 align-items: start; 7515 align-items: start;
7493 } 7516 }
7494 .cvs.active .cvs__item { 7517 .cvs.active .cvs__item {
7495 display: -webkit-box; 7518 display: -webkit-box;
7496 display: -ms-flexbox; 7519 display: -ms-flexbox;
7497 display: flex; 7520 display: flex;
7498 } 7521 }
7499 .cvs__item-text .cvs__item-text-row{ 7522 .cvs__item-text .cvs__item-text-row{
7500 display: flex; 7523 display: flex;
7501 justify-content: space-between; 7524 justify-content: space-between;
7502 width: 100%; 7525 width: 100%;
7503 } 7526 }
7504 .cvs__item-text .cvs__item-text-row > div{ 7527 .cvs__item-text .cvs__item-text-row > div{
7505 width: 50%; 7528 width: 50%;
7506 } 7529 }
7507 .cvs__item-text .cvs__item-text-row b{ 7530 .cvs__item-text .cvs__item-text-row b{
7508 color: #377d87; 7531 color: #377d87;
7509 font-size: 18px; 7532 font-size: 18px;
7510 } 7533 }
7511 .cvs__item-text .cvs__item-text-status { 7534 .cvs__item-text .cvs__item-text-status {
7512 width: fit-content; 7535 width: fit-content;
7513 background-color: #e6e6e6; 7536 background-color: #e6e6e6;
7514 font-weight: bold; 7537 font-weight: bold;
7515 padding: 5px 10px; 7538 padding: 5px 10px;
7516 border-radius: 8px; 7539 border-radius: 8px;
7517 margin-right: 30px; 7540 margin-right: 30px;
7518 } 7541 }
7519 .cvs__item-text .cvs__item-text-status.looking-for-job { 7542 .cvs__item-text .cvs__item-text-status.looking-for-job {
7520 background-color: #eb5757; 7543 background-color: #eb5757;
7521 color: #fff; 7544 color: #fff;
7522 } 7545 }
7523 .cvs__item-text .cvs__item-text-updated-at{ 7546 .cvs__item-text .cvs__item-text-updated-at{
7524 padding: 5px 10px; 7547 padding: 5px 10px;
7525 border-radius: 8px; 7548 border-radius: 8px;
7526 border: 1px #e6e6e6 solid; 7549 border: 1px #e6e6e6 solid;
7527 } 7550 }
7528 .faqs { 7551 .faqs {
7529 display: -webkit-box; 7552 display: -webkit-box;
7530 display: -ms-flexbox; 7553 display: -ms-flexbox;
7531 display: flex; 7554 display: flex;
7532 -webkit-box-orient: vertical; 7555 -webkit-box-orient: vertical;
7533 -webkit-box-direction: reverse; 7556 -webkit-box-direction: reverse;
7534 -ms-flex-direction: column-reverse; 7557 -ms-flex-direction: column-reverse;
7535 flex-direction: column-reverse; 7558 flex-direction: column-reverse;
7536 -webkit-box-align: center; 7559 -webkit-box-align: center;
7537 -ms-flex-align: center; 7560 -ms-flex-align: center;
7538 align-items: center; 7561 align-items: center;
7539 gap: 20px; 7562 gap: 20px;
7540 } 7563 }
7541 .faqs__body { 7564 .faqs__body {
7542 display: -webkit-box; 7565 display: -webkit-box;
7543 display: -ms-flexbox; 7566 display: -ms-flexbox;
7544 display: flex; 7567 display: flex;
7545 -webkit-box-orient: vertical; 7568 -webkit-box-orient: vertical;
7546 -webkit-box-direction: normal; 7569 -webkit-box-direction: normal;
7547 -ms-flex-direction: column; 7570 -ms-flex-direction: column;
7548 flex-direction: column; 7571 flex-direction: column;
7549 gap: 20px; 7572 gap: 20px;
7550 width: 100%; 7573 width: 100%;
7551 } 7574 }
7552 .faqs__item { 7575 .faqs__item {
7553 display: none; 7576 display: none;
7554 -webkit-box-orient: vertical; 7577 -webkit-box-orient: vertical;
7555 -webkit-box-direction: normal; 7578 -webkit-box-direction: normal;
7556 -ms-flex-direction: column; 7579 -ms-flex-direction: column;
7557 flex-direction: column; 7580 flex-direction: column;
7558 border-radius: 8px; 7581 border-radius: 8px;
7559 -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); 7582 -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
7560 box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); 7583 box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
7561 background: #fff; 7584 background: #fff;
7562 padding: 10px; 7585 padding: 10px;
7563 font-size: 12px; 7586 font-size: 12px;
7564 } 7587 }
7565 @media (min-width: 768px) { 7588 @media (min-width: 768px) {
7566 .faqs__item { 7589 .faqs__item {
7567 padding: 20px; 7590 padding: 20px;
7568 font-size: 16px; 7591 font-size: 16px;
7569 -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); 7592 -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
7570 box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); 7593 box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
7571 } 7594 }
7572 } 7595 }
7573 .faqs__item:nth-of-type(1), .faqs__item:nth-of-type(2), .faqs__item:nth-of-type(3), .faqs__item:nth-of-type(4), .faqs__item:nth-of-type(5), .faqs__item:nth-of-type(6) { 7596 .faqs__item:nth-of-type(1), .faqs__item:nth-of-type(2), .faqs__item:nth-of-type(3), .faqs__item:nth-of-type(4), .faqs__item:nth-of-type(5), .faqs__item:nth-of-type(6) {
7574 display: -webkit-box; 7597 display: -webkit-box;
7575 display: -ms-flexbox; 7598 display: -ms-flexbox;
7576 display: flex; 7599 display: flex;
7577 } 7600 }
7578 .faqs__item-button { 7601 .faqs__item-button {
7579 background: none; 7602 background: none;
7580 padding: 0; 7603 padding: 0;
7581 border: none; 7604 border: none;
7582 display: -webkit-box; 7605 display: -webkit-box;
7583 display: -ms-flexbox; 7606 display: -ms-flexbox;
7584 display: flex; 7607 display: flex;
7585 -webkit-box-align: center; 7608 -webkit-box-align: center;
7586 -ms-flex-align: center; 7609 -ms-flex-align: center;
7587 align-items: center; 7610 align-items: center;
7588 color: #000; 7611 color: #000;
7589 text-align: left; 7612 text-align: left;
7590 font-size: 14px; 7613 font-size: 14px;
7591 font-weight: 700; 7614 font-weight: 700;
7592 } 7615 }
7593 @media (min-width: 768px) { 7616 @media (min-width: 768px) {
7594 .faqs__item-button { 7617 .faqs__item-button {
7595 font-size: 20px; 7618 font-size: 20px;
7596 } 7619 }
7597 } 7620 }
7598 .faqs__item-button span { 7621 .faqs__item-button span {
7599 width: calc(100% - 16px); 7622 width: calc(100% - 16px);
7600 padding-right: 16px; 7623 padding-right: 16px;
7601 } 7624 }
7602 .faqs__item-button i { 7625 .faqs__item-button i {
7603 display: -webkit-box; 7626 display: -webkit-box;
7604 display: -ms-flexbox; 7627 display: -ms-flexbox;
7605 display: flex; 7628 display: flex;
7606 -webkit-box-pack: center; 7629 -webkit-box-pack: center;
7607 -ms-flex-pack: center; 7630 -ms-flex-pack: center;
7608 justify-content: center; 7631 justify-content: center;
7609 -webkit-box-align: center; 7632 -webkit-box-align: center;
7610 -ms-flex-align: center; 7633 -ms-flex-align: center;
7611 align-items: center; 7634 align-items: center;
7612 width: 16px; 7635 width: 16px;
7613 aspect-ratio: 1/1; 7636 aspect-ratio: 1/1;
7614 color: #377d87; 7637 color: #377d87;
7615 -webkit-transition: 0.3s; 7638 -webkit-transition: 0.3s;
7616 transition: 0.3s; 7639 transition: 0.3s;
7617 } 7640 }
7618 .faqs__item-button i svg { 7641 .faqs__item-button i svg {
7619 width: 16px; 7642 width: 16px;
7620 aspect-ratio: 1/1; 7643 aspect-ratio: 1/1;
7621 -webkit-transform: rotate(90deg); 7644 -webkit-transform: rotate(90deg);
7622 -ms-transform: rotate(90deg); 7645 -ms-transform: rotate(90deg);
7623 transform: rotate(90deg); 7646 transform: rotate(90deg);
7624 } 7647 }
7625 .faqs__item-button.active i { 7648 .faqs__item-button.active i {
7626 -webkit-transform: rotate(180deg); 7649 -webkit-transform: rotate(180deg);
7627 -ms-transform: rotate(180deg); 7650 -ms-transform: rotate(180deg);
7628 transform: rotate(180deg); 7651 transform: rotate(180deg);
7629 } 7652 }
7630 .faqs__item-body { 7653 .faqs__item-body {
7631 display: -webkit-box; 7654 display: -webkit-box;
7632 display: -ms-flexbox; 7655 display: -ms-flexbox;
7633 display: flex; 7656 display: flex;
7634 -webkit-box-orient: vertical; 7657 -webkit-box-orient: vertical;
7635 -webkit-box-direction: normal; 7658 -webkit-box-direction: normal;
7636 -ms-flex-direction: column; 7659 -ms-flex-direction: column;
7637 flex-direction: column; 7660 flex-direction: column;
7638 gap: 10px; 7661 gap: 10px;
7639 opacity: 0; 7662 opacity: 0;
7640 height: 0; 7663 height: 0;
7641 overflow: hidden; 7664 overflow: hidden;
7642 font-size: 12px; 7665 font-size: 12px;
7643 line-height: 1.4; 7666 line-height: 1.4;
7644 } 7667 }
7645 @media (min-width: 768px) { 7668 @media (min-width: 768px) {
7646 .faqs__item-body { 7669 .faqs__item-body {
7647 font-size: 16px; 7670 font-size: 16px;
7648 gap: 20px; 7671 gap: 20px;
7649 } 7672 }
7650 } 7673 }
7651 .faqs__item-body p { 7674 .faqs__item-body p {
7652 margin: 0; 7675 margin: 0;
7653 } 7676 }
7654 .active + .faqs__item-body { 7677 .active + .faqs__item-body {
7655 opacity: 1; 7678 opacity: 1;
7656 height: auto; 7679 height: auto;
7657 -webkit-transition: 0.3s; 7680 -webkit-transition: 0.3s;
7658 transition: 0.3s; 7681 transition: 0.3s;
7659 padding-top: 10px; 7682 padding-top: 10px;
7660 } 7683 }
7661 @media (min-width: 768px) { 7684 @media (min-width: 768px) {
7662 .active + .faqs__item-body { 7685 .active + .faqs__item-body {
7663 padding-top: 20px; 7686 padding-top: 20px;
7664 } 7687 }
7665 } 7688 }
7666 .faqs.active .faqs__item { 7689 .faqs.active .faqs__item {
7667 display: -webkit-box; 7690 display: -webkit-box;
7668 display: -ms-flexbox; 7691 display: -ms-flexbox;
7669 display: flex; 7692 display: flex;
7670 } 7693 }
7671 7694
7672 .cabinet { 7695 .cabinet {
7673 padding: 20px 0; 7696 padding: 20px 0;
7674 padding-bottom: 40px; 7697 padding-bottom: 40px;
7675 background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); 7698 background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%);
7676 } 7699 }
7677 @media (min-width: 992px) { 7700 @media (min-width: 992px) {
7678 .cabinet { 7701 .cabinet {
7679 padding: 30px 0; 7702 padding: 30px 0;
7680 padding-bottom: 60px; 7703 padding-bottom: 60px;
7681 } 7704 }
7682 } 7705 }
7683 .cabinet__breadcrumbs { 7706 .cabinet__breadcrumbs {
7684 margin-bottom: 50px; 7707 margin-bottom: 50px;
7685 } 7708 }
7686 .cabinet__wrapper { 7709 .cabinet__wrapper {
7687 display: -webkit-box; 7710 display: -webkit-box;
7688 display: -ms-flexbox; 7711 display: -ms-flexbox;
7689 display: flex; 7712 display: flex;
7690 -webkit-box-orient: vertical; 7713 -webkit-box-orient: vertical;
7691 -webkit-box-direction: normal; 7714 -webkit-box-direction: normal;
7692 -ms-flex-direction: column; 7715 -ms-flex-direction: column;
7693 flex-direction: column; 7716 flex-direction: column;
7694 } 7717 }
7695 @media (min-width: 992px) { 7718 @media (min-width: 992px) {
7696 .cabinet__wrapper { 7719 .cabinet__wrapper {
7697 -webkit-box-orient: horizontal; 7720 -webkit-box-orient: horizontal;
7698 -webkit-box-direction: normal; 7721 -webkit-box-direction: normal;
7699 -ms-flex-direction: row; 7722 -ms-flex-direction: row;
7700 flex-direction: row; 7723 flex-direction: row;
7701 -webkit-box-align: start; 7724 -webkit-box-align: start;
7702 -ms-flex-align: start; 7725 -ms-flex-align: start;
7703 align-items: flex-start; 7726 align-items: flex-start;
7704 -webkit-box-pack: justify; 7727 -webkit-box-pack: justify;
7705 -ms-flex-pack: justify; 7728 -ms-flex-pack: justify;
7706 justify-content: space-between; 7729 justify-content: space-between;
7707 } 7730 }
7708 } 7731 }
7709 .cabinet__side { 7732 .cabinet__side {
7710 border-radius: 8px; 7733 border-radius: 8px;
7711 background: #fff; 7734 background: #fff;
7712 padding: 20px 10px; 7735 padding: 20px 10px;
7713 display: -webkit-box; 7736 display: -webkit-box;
7714 display: -ms-flexbox; 7737 display: -ms-flexbox;
7715 display: flex; 7738 display: flex;
7716 -webkit-box-orient: vertical; 7739 -webkit-box-orient: vertical;
7717 -webkit-box-direction: normal; 7740 -webkit-box-direction: normal;
7718 -ms-flex-direction: column; 7741 -ms-flex-direction: column;
7719 flex-direction: column; 7742 flex-direction: column;
7720 gap: 30px; 7743 gap: 30px;
7721 -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); 7744 -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
7722 box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); 7745 box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
7723 } 7746 }
7724 @media (min-width: 768px) { 7747 @media (min-width: 768px) {
7725 .cabinet__side { 7748 .cabinet__side {
7726 padding: 30px 20px; 7749 padding: 30px 20px;
7727 margin-bottom: 50px; 7750 margin-bottom: 50px;
7728 } 7751 }
7729 } 7752 }
7730 @media (min-width: 992px) { 7753 @media (min-width: 992px) {
7731 .cabinet__side { 7754 .cabinet__side {
7732 width: 340px; 7755 width: 340px;
7733 margin: 0; 7756 margin: 0;
7734 position: sticky; 7757 position: sticky;
7735 top: 6px; 7758 top: 6px;
7736 } 7759 }
7737 } 7760 }
7738 @media (min-width: 1280px) { 7761 @media (min-width: 1280px) {
7739 .cabinet__side { 7762 .cabinet__side {
7740 width: 400px; 7763 width: 400px;
7741 } 7764 }
7742 } 7765 }
7743 .cabinet__side-item { 7766 .cabinet__side-item {
7744 display: -webkit-box; 7767 display: -webkit-box;
7745 display: -ms-flexbox; 7768 display: -ms-flexbox;
7746 display: flex; 7769 display: flex;
7747 -webkit-box-orient: vertical; 7770 -webkit-box-orient: vertical;
7748 -webkit-box-direction: normal; 7771 -webkit-box-direction: normal;
7749 -ms-flex-direction: column; 7772 -ms-flex-direction: column;
7750 flex-direction: column; 7773 flex-direction: column;
7751 gap: 20px; 7774 gap: 20px;
7752 } 7775 }
7753 .cabinet__side-toper { 7776 .cabinet__side-toper {
7754 display: -webkit-box; 7777 display: -webkit-box;
7755 display: -ms-flexbox; 7778 display: -ms-flexbox;
7756 display: flex; 7779 display: flex;
7757 -webkit-box-align: center; 7780 -webkit-box-align: center;
7758 -ms-flex-align: center; 7781 -ms-flex-align: center;
7759 align-items: center; 7782 align-items: center;
7760 } 7783 }
7761 .cabinet__side-toper-pic { 7784 .cabinet__side-toper-pic {
7762 width: 70px; 7785 width: 70px;
7763 aspect-ratio: 1/1; 7786 aspect-ratio: 1/1;
7764 overflow: hidden; 7787 overflow: hidden;
7765 border-radius: 8px; 7788 border-radius: 8px;
7766 color: #fff; 7789 color: #fff;
7767 background: #9c9d9d; 7790 background: #9c9d9d;
7768 display: -webkit-box; 7791 display: -webkit-box;
7769 display: -ms-flexbox; 7792 display: -ms-flexbox;
7770 display: flex; 7793 display: flex;
7771 -webkit-box-align: center; 7794 -webkit-box-align: center;
7772 -ms-flex-align: center; 7795 -ms-flex-align: center;
7773 align-items: center; 7796 align-items: center;
7774 -webkit-box-pack: center; 7797 -webkit-box-pack: center;
7775 -ms-flex-pack: center; 7798 -ms-flex-pack: center;
7776 justify-content: center; 7799 justify-content: center;
7777 position: relative; 7800 position: relative;
7778 } 7801 }
7779 .cabinet__side-toper-pic img { 7802 .cabinet__side-toper-pic img {
7780 width: 100%; 7803 width: 100%;
7781 height: 100%; 7804 height: 100%;
7782 -o-object-fit: cover; 7805 -o-object-fit: cover;
7783 object-fit: cover; 7806 object-fit: cover;
7784 position: absolute; 7807 position: absolute;
7785 z-index: 2; 7808 z-index: 2;
7786 top: 0; 7809 top: 0;
7787 left: 0; 7810 left: 0;
7788 aspect-ratio: 1/1; 7811 aspect-ratio: 1/1;
7789 -o-object-fit: contain; 7812 -o-object-fit: contain;
7790 object-fit: contain; 7813 object-fit: contain;
7791 } 7814 }
7792 .cabinet__side-toper-pic svg { 7815 .cabinet__side-toper-pic svg {
7793 width: 50%; 7816 width: 50%;
7794 aspect-ratio: 1/1; 7817 aspect-ratio: 1/1;
7795 } 7818 }
7796 .cabinet__side-toper b { 7819 .cabinet__side-toper b {
7797 width: calc(100% - 70px); 7820 width: calc(100% - 70px);
7798 font-size: 14px; 7821 font-size: 14px;
7799 font-weight: 700; 7822 font-weight: 700;
7800 padding-left: 16px; 7823 padding-left: 16px;
7801 } 7824 }
7802 @media (min-width: 768px) { 7825 @media (min-width: 768px) {
7803 .cabinet__side-toper b { 7826 .cabinet__side-toper b {
7804 font-size: 20px; 7827 font-size: 20px;
7805 } 7828 }
7806 } 7829 }
7807 .cabinet__menu { 7830 .cabinet__menu {
7808 display: -webkit-box; 7831 display: -webkit-box;
7809 display: -ms-flexbox; 7832 display: -ms-flexbox;
7810 display: flex; 7833 display: flex;
7811 -webkit-box-orient: vertical; 7834 -webkit-box-orient: vertical;
7812 -webkit-box-direction: normal; 7835 -webkit-box-direction: normal;
7813 -ms-flex-direction: column; 7836 -ms-flex-direction: column;
7814 flex-direction: column; 7837 flex-direction: column;
7815 } 7838 }
7816 .cabinet__menu-toper { 7839 .cabinet__menu-toper {
7817 display: -webkit-box; 7840 display: -webkit-box;
7818 display: -ms-flexbox; 7841 display: -ms-flexbox;
7819 display: flex; 7842 display: flex;
7820 -webkit-box-align: center; 7843 -webkit-box-align: center;
7821 -ms-flex-align: center; 7844 -ms-flex-align: center;
7822 align-items: center; 7845 align-items: center;
7823 -webkit-box-pack: justify; 7846 -webkit-box-pack: justify;
7824 -ms-flex-pack: justify; 7847 -ms-flex-pack: justify;
7825 justify-content: space-between; 7848 justify-content: space-between;
7826 padding: 0 16px; 7849 padding: 0 16px;
7827 padding-right: 12px; 7850 padding-right: 12px;
7828 border: none; 7851 border: none;
7829 border-radius: 8px; 7852 border-radius: 8px;
7830 background: #377d87; 7853 background: #377d87;
7831 color: #fff; 7854 color: #fff;
7832 } 7855 }
7833 @media (min-width: 768px) { 7856 @media (min-width: 768px) {
7834 .cabinet__menu-toper { 7857 .cabinet__menu-toper {
7835 padding: 0 20px; 7858 padding: 0 20px;
7836 } 7859 }
7837 } 7860 }
7838 @media (min-width: 992px) { 7861 @media (min-width: 992px) {
7839 .cabinet__menu-toper { 7862 .cabinet__menu-toper {
7840 display: none; 7863 display: none;
7841 } 7864 }
7842 } 7865 }
7843 .cabinet__menu-toper-text { 7866 .cabinet__menu-toper-text {
7844 width: calc(100% - 16px); 7867 width: calc(100% - 16px);
7845 display: -webkit-box; 7868 display: -webkit-box;
7846 display: -ms-flexbox; 7869 display: -ms-flexbox;
7847 display: flex; 7870 display: flex;
7848 -webkit-box-align: center; 7871 -webkit-box-align: center;
7849 -ms-flex-align: center; 7872 -ms-flex-align: center;
7850 align-items: center; 7873 align-items: center;
7851 } 7874 }
7852 @media (min-width: 768px) { 7875 @media (min-width: 768px) {
7853 .cabinet__menu-toper-text { 7876 .cabinet__menu-toper-text {
7854 width: calc(100% - 20px); 7877 width: calc(100% - 20px);
7855 } 7878 }
7856 } 7879 }
7857 .cabinet__menu-toper-text i { 7880 .cabinet__menu-toper-text i {
7858 width: 16px; 7881 width: 16px;
7859 height: 16px; 7882 height: 16px;
7860 display: -webkit-box; 7883 display: -webkit-box;
7861 display: -ms-flexbox; 7884 display: -ms-flexbox;
7862 display: flex; 7885 display: flex;
7863 -webkit-box-align: center; 7886 -webkit-box-align: center;
7864 -ms-flex-align: center; 7887 -ms-flex-align: center;
7865 align-items: center; 7888 align-items: center;
7866 -webkit-box-pack: center; 7889 -webkit-box-pack: center;
7867 -ms-flex-pack: center; 7890 -ms-flex-pack: center;
7868 justify-content: center; 7891 justify-content: center;
7869 } 7892 }
7870 @media (min-width: 768px) { 7893 @media (min-width: 768px) {
7871 .cabinet__menu-toper-text i { 7894 .cabinet__menu-toper-text i {
7872 width: 22px; 7895 width: 22px;
7873 height: 22px; 7896 height: 22px;
7874 } 7897 }
7875 } 7898 }
7876 .cabinet__menu-toper-text svg { 7899 .cabinet__menu-toper-text svg {
7877 width: 16px; 7900 width: 16px;
7878 height: 16px; 7901 height: 16px;
7879 } 7902 }
7880 @media (min-width: 768px) { 7903 @media (min-width: 768px) {
7881 .cabinet__menu-toper-text svg { 7904 .cabinet__menu-toper-text svg {
7882 width: 22px; 7905 width: 22px;
7883 height: 22px; 7906 height: 22px;
7884 } 7907 }
7885 } 7908 }
7886 .cabinet__menu-toper-text span { 7909 .cabinet__menu-toper-text span {
7887 display: -webkit-box; 7910 display: -webkit-box;
7888 display: -ms-flexbox; 7911 display: -ms-flexbox;
7889 display: flex; 7912 display: flex;
7890 -webkit-box-align: center; 7913 -webkit-box-align: center;
7891 -ms-flex-align: center; 7914 -ms-flex-align: center;
7892 align-items: center; 7915 align-items: center;
7893 padding: 0 10px; 7916 padding: 0 10px;
7894 min-height: 30px; 7917 min-height: 30px;
7895 font-size: 12px; 7918 font-size: 12px;
7896 width: calc(100% - 16px); 7919 width: calc(100% - 16px);
7897 } 7920 }
7898 @media (min-width: 768px) { 7921 @media (min-width: 768px) {
7899 .cabinet__menu-toper-text span { 7922 .cabinet__menu-toper-text span {
7900 width: calc(100% - 22px); 7923 width: calc(100% - 22px);
7901 font-size: 20px; 7924 font-size: 20px;
7902 min-height: 52px; 7925 min-height: 52px;
7903 padding: 0 16px; 7926 padding: 0 16px;
7904 } 7927 }
7905 } 7928 }
7906 .cabinet__menu-toper-arrow { 7929 .cabinet__menu-toper-arrow {
7907 width: 16px; 7930 width: 16px;
7908 height: 16px; 7931 height: 16px;
7909 display: -webkit-box; 7932 display: -webkit-box;
7910 display: -ms-flexbox; 7933 display: -ms-flexbox;
7911 display: flex; 7934 display: flex;
7912 -webkit-box-pack: center; 7935 -webkit-box-pack: center;
7913 -ms-flex-pack: center; 7936 -ms-flex-pack: center;
7914 justify-content: center; 7937 justify-content: center;
7915 -webkit-box-align: center; 7938 -webkit-box-align: center;
7916 -ms-flex-align: center; 7939 -ms-flex-align: center;
7917 align-items: center; 7940 align-items: center;
7918 -webkit-transition: 0.3s; 7941 -webkit-transition: 0.3s;
7919 transition: 0.3s; 7942 transition: 0.3s;
7920 } 7943 }
7921 @media (min-width: 768px) { 7944 @media (min-width: 768px) {
7922 .cabinet__menu-toper-arrow { 7945 .cabinet__menu-toper-arrow {
7923 width: 20px; 7946 width: 20px;
7924 height: 20px; 7947 height: 20px;
7925 } 7948 }
7926 } 7949 }
7927 .cabinet__menu-toper-arrow svg { 7950 .cabinet__menu-toper-arrow svg {
7928 width: 12px; 7951 width: 12px;
7929 height: 12px; 7952 height: 12px;
7930 -webkit-transform: rotate(90deg); 7953 -webkit-transform: rotate(90deg);
7931 -ms-transform: rotate(90deg); 7954 -ms-transform: rotate(90deg);
7932 transform: rotate(90deg); 7955 transform: rotate(90deg);
7933 } 7956 }
7934 @media (min-width: 768px) { 7957 @media (min-width: 768px) {
7935 .cabinet__menu-toper-arrow svg { 7958 .cabinet__menu-toper-arrow svg {
7936 width: 20px; 7959 width: 20px;
7937 height: 20px; 7960 height: 20px;
7938 } 7961 }
7939 } 7962 }
7940 .cabinet__menu-toper.active .cabinet__menu-toper-arrow { 7963 .cabinet__menu-toper.active .cabinet__menu-toper-arrow {
7941 -webkit-transform: rotate(180deg); 7964 -webkit-transform: rotate(180deg);
7942 -ms-transform: rotate(180deg); 7965 -ms-transform: rotate(180deg);
7943 transform: rotate(180deg); 7966 transform: rotate(180deg);
7944 } 7967 }
7945 .cabinet__menu-body { 7968 .cabinet__menu-body {
7946 opacity: 0; 7969 opacity: 0;
7947 height: 0; 7970 height: 0;
7948 overflow: hidden; 7971 overflow: hidden;
7949 display: -webkit-box; 7972 display: -webkit-box;
7950 display: -ms-flexbox; 7973 display: -ms-flexbox;
7951 display: flex; 7974 display: flex;
7952 -webkit-box-orient: vertical; 7975 -webkit-box-orient: vertical;
7953 -webkit-box-direction: normal; 7976 -webkit-box-direction: normal;
7954 -ms-flex-direction: column; 7977 -ms-flex-direction: column;
7955 flex-direction: column; 7978 flex-direction: column;
7956 } 7979 }
7957 @media (min-width: 992px) { 7980 @media (min-width: 992px) {
7958 .cabinet__menu-body { 7981 .cabinet__menu-body {
7959 opacity: 1; 7982 opacity: 1;
7960 height: auto; 7983 height: auto;
7961 } 7984 }
7962 } 7985 }
7963 .active + .cabinet__menu-body { 7986 .active + .cabinet__menu-body {
7964 opacity: 1; 7987 opacity: 1;
7965 height: auto; 7988 height: auto;
7966 -webkit-transition: 0.3s; 7989 -webkit-transition: 0.3s;
7967 transition: 0.3s; 7990 transition: 0.3s;
7968 } 7991 }
7969 .cabinet__menu-items { 7992 .cabinet__menu-items {
7970 display: -webkit-box; 7993 display: -webkit-box;
7971 display: -ms-flexbox; 7994 display: -ms-flexbox;
7972 display: flex; 7995 display: flex;
7973 -webkit-box-orient: vertical; 7996 -webkit-box-orient: vertical;
7974 -webkit-box-direction: normal; 7997 -webkit-box-direction: normal;
7975 -ms-flex-direction: column; 7998 -ms-flex-direction: column;
7976 flex-direction: column; 7999 flex-direction: column;
7977 } 8000 }
7978 .cabinet__menu-item { 8001 .cabinet__menu-item {
7979 padding: 8px 16px; 8002 padding: 8px 16px;
7980 border-radius: 8px; 8003 border-radius: 8px;
7981 display: -webkit-box; 8004 display: -webkit-box;
7982 display: -ms-flexbox; 8005 display: -ms-flexbox;
7983 display: flex; 8006 display: flex;
7984 -webkit-box-align: center; 8007 -webkit-box-align: center;
7985 -ms-flex-align: center; 8008 -ms-flex-align: center;
7986 align-items: center; 8009 align-items: center;
7987 } 8010 }
7988 @media (min-width: 768px) { 8011 @media (min-width: 768px) {
7989 .cabinet__menu-item { 8012 .cabinet__menu-item {
7990 padding: 14px 20px; 8013 padding: 14px 20px;
7991 } 8014 }
7992 } 8015 }
7993 .cabinet__menu-item:hover { 8016 .cabinet__menu-item:hover {
7994 color: #377d87; 8017 color: #377d87;
7995 } 8018 }
7996 @media (min-width: 992px) { 8019 @media (min-width: 992px) {
7997 .cabinet__menu-item.active { 8020 .cabinet__menu-item.active {
7998 background: #377d87; 8021 background: #377d87;
7999 color: #fff; 8022 color: #fff;
8000 } 8023 }
8001 } 8024 }
8002 @media (min-width: 992px) { 8025 @media (min-width: 992px) {
8003 .cabinet__menu-item.active svg { 8026 .cabinet__menu-item.active svg {
8004 color: #fff; 8027 color: #fff;
8005 } 8028 }
8006 } 8029 }
8007 @media (min-width: 992px) { 8030 @media (min-width: 992px) {
8008 .cabinet__menu-item.active.red { 8031 .cabinet__menu-item.active.red {
8009 background: #eb5757; 8032 background: #eb5757;
8010 } 8033 }
8011 } 8034 }
8012 .cabinet__menu-item i { 8035 .cabinet__menu-item i {
8013 width: 16px; 8036 width: 16px;
8014 height: 16px; 8037 height: 16px;
8015 color: #377d87; 8038 color: #377d87;
8016 } 8039 }
8017 @media (min-width: 768px) { 8040 @media (min-width: 768px) {
8018 .cabinet__menu-item i { 8041 .cabinet__menu-item i {
8019 width: 22px; 8042 width: 22px;
8020 height: 22px; 8043 height: 22px;
8021 } 8044 }
8022 } 8045 }
8023 .cabinet__menu-item svg { 8046 .cabinet__menu-item svg {
8024 width: 16px; 8047 width: 16px;
8025 height: 16px; 8048 height: 16px;
8026 } 8049 }
8027 @media (min-width: 768px) { 8050 @media (min-width: 768px) {
8028 .cabinet__menu-item svg { 8051 .cabinet__menu-item svg {
8029 width: 22px; 8052 width: 22px;
8030 height: 22px; 8053 height: 22px;
8031 } 8054 }
8032 } 8055 }
8033 .cabinet__menu-item span { 8056 .cabinet__menu-item span {
8034 width: calc(100% - 16px); 8057 width: calc(100% - 16px);
8035 font-size: 12px; 8058 font-size: 12px;
8036 padding-left: 10px; 8059 padding-left: 10px;
8037 } 8060 }
8038 @media (min-width: 768px) { 8061 @media (min-width: 768px) {
8039 .cabinet__menu-item span { 8062 .cabinet__menu-item span {
8040 font-size: 20px; 8063 font-size: 20px;
8041 width: calc(100% - 22px); 8064 width: calc(100% - 22px);
8042 padding-left: 16px; 8065 padding-left: 16px;
8043 } 8066 }
8044 } 8067 }
8045 .cabinet__menu-bottom { 8068 .cabinet__menu-bottom {
8046 display: -webkit-box; 8069 display: -webkit-box;
8047 display: -ms-flexbox; 8070 display: -ms-flexbox;
8048 display: flex; 8071 display: flex;
8049 -webkit-box-orient: vertical; 8072 -webkit-box-orient: vertical;
8050 -webkit-box-direction: normal; 8073 -webkit-box-direction: normal;
8051 -ms-flex-direction: column; 8074 -ms-flex-direction: column;
8052 flex-direction: column; 8075 flex-direction: column;
8053 gap: 10px; 8076 gap: 10px;
8054 margin-top: 10px; 8077 margin-top: 10px;
8055 } 8078 }
8056 @media (min-width: 768px) { 8079 @media (min-width: 768px) {
8057 .cabinet__menu-bottom { 8080 .cabinet__menu-bottom {
8058 gap: 20px; 8081 gap: 20px;
8059 margin-top: 20px; 8082 margin-top: 20px;
8060 } 8083 }
8061 } 8084 }
8062 .cabinet__menu-copy { 8085 .cabinet__menu-copy {
8063 color: #9c9d9d; 8086 color: #9c9d9d;
8064 text-align: center; 8087 text-align: center;
8065 font-size: 12px; 8088 font-size: 12px;
8066 } 8089 }
8067 @media (min-width: 768px) { 8090 @media (min-width: 768px) {
8068 .cabinet__menu-copy { 8091 .cabinet__menu-copy {
8069 font-size: 16px; 8092 font-size: 16px;
8070 } 8093 }
8071 } 8094 }
8072 .cabinet__body { 8095 .cabinet__body {
8073 margin: 0 -10px; 8096 margin: 0 -10px;
8074 margin-top: 50px; 8097 margin-top: 50px;
8075 background: #fff; 8098 background: #fff;
8076 padding: 20px 10px; 8099 padding: 20px 10px;
8077 display: -webkit-box; 8100 display: -webkit-box;
8078 display: -ms-flexbox; 8101 display: -ms-flexbox;
8079 display: flex; 8102 display: flex;
8080 -webkit-box-orient: vertical; 8103 -webkit-box-orient: vertical;
8081 -webkit-box-direction: normal; 8104 -webkit-box-direction: normal;
8082 -ms-flex-direction: column; 8105 -ms-flex-direction: column;
8083 flex-direction: column; 8106 flex-direction: column;
8084 gap: 30px; 8107 gap: 30px;
8085 color: #000; 8108 color: #000;
8086 } 8109 }
8087 @media (min-width: 768px) { 8110 @media (min-width: 768px) {
8088 .cabinet__body { 8111 .cabinet__body {
8089 padding: 30px 20px; 8112 padding: 30px 20px;
8090 margin: 0; 8113 margin: 0;
8091 border-radius: 8px; 8114 border-radius: 8px;
8092 -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); 8115 -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
8093 box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); 8116 box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
8094 } 8117 }
8095 } 8118 }
8096 @media (min-width: 992px) { 8119 @media (min-width: 992px) {
8097 .cabinet__body { 8120 .cabinet__body {
8098 width: calc(100% - 360px); 8121 width: calc(100% - 360px);
8099 } 8122 }
8100 } 8123 }
8101 @media (min-width: 1280px) { 8124 @media (min-width: 1280px) {
8102 .cabinet__body { 8125 .cabinet__body {
8103 width: calc(100% - 420px); 8126 width: calc(100% - 420px);
8104 } 8127 }
8105 } 8128 }
8106 .cabinet__body-item { 8129 .cabinet__body-item {
8107 display: -webkit-box; 8130 display: -webkit-box;
8108 display: -ms-flexbox; 8131 display: -ms-flexbox;
8109 display: flex; 8132 display: flex;
8110 -webkit-box-orient: vertical; 8133 -webkit-box-orient: vertical;
8111 -webkit-box-direction: normal; 8134 -webkit-box-direction: normal;
8112 -ms-flex-direction: column; 8135 -ms-flex-direction: column;
8113 flex-direction: column; 8136 flex-direction: column;
8114 gap: 20px; 8137 gap: 20px;
8115 } 8138 }
8116 .cabinet__title { 8139 .cabinet__title {
8117 font-size: 24px; 8140 font-size: 24px;
8118 margin-bottom: 20px; 8141 margin-bottom: 20px;
8119 } 8142 }
8120 @media (min-width: 768px) { 8143 @media (min-width: 768px) {
8121 .cabinet__title { 8144 .cabinet__title {
8122 font-size: 32px; 8145 font-size: 32px;
8123 } 8146 }
8124 } 8147 }
8125 @media (min-width: 992px) { 8148 @media (min-width: 992px) {
8126 .cabinet__title { 8149 .cabinet__title {
8127 font-size: 40px; 8150 font-size: 40px;
8128 } 8151 }
8129 } 8152 }
8130 .cabinet__subtitle { 8153 .cabinet__subtitle {
8131 font-size: 22px; 8154 font-size: 22px;
8132 margin: 0; 8155 margin: 0;
8133 font-weight: 700; 8156 font-weight: 700;
8134 color: #000; 8157 color: #000;
8135 } 8158 }
8136 @media (min-width: 768px) { 8159 @media (min-width: 768px) {
8137 .cabinet__subtitle { 8160 .cabinet__subtitle {
8138 font-size: 24px; 8161 font-size: 24px;
8139 } 8162 }
8140 } 8163 }
8141 .cabinet__h4 { 8164 .cabinet__h4 {
8142 font-size: 20px; 8165 font-size: 20px;
8143 margin: 0; 8166 margin: 0;
8144 font-weight: 700; 8167 font-weight: 700;
8145 color: #000; 8168 color: #000;
8146 } 8169 }
8147 @media (min-width: 768px) { 8170 @media (min-width: 768px) {
8148 .cabinet__h4 { 8171 .cabinet__h4 {
8149 font-size: 22px; 8172 font-size: 22px;
8150 } 8173 }
8151 } 8174 }
8152 .cabinet__text { 8175 .cabinet__text {
8153 margin: 0; 8176 margin: 0;
8154 font-size: 14px; 8177 font-size: 14px;
8155 } 8178 }
8156 @media (min-width: 768px) { 8179 @media (min-width: 768px) {
8157 .cabinet__text { 8180 .cabinet__text {
8158 font-size: 16px; 8181 font-size: 16px;
8159 } 8182 }
8160 } 8183 }
8161 .cabinet__text b { 8184 .cabinet__text b {
8162 color: #000; 8185 color: #000;
8163 font-size: 18px; 8186 font-size: 18px;
8164 } 8187 }
8165 @media (min-width: 768px) { 8188 @media (min-width: 768px) {
8166 .cabinet__text b { 8189 .cabinet__text b {
8167 font-size: 24px; 8190 font-size: 24px;
8168 } 8191 }
8169 } 8192 }
8170 .cabinet__descr { 8193 .cabinet__descr {
8171 display: -webkit-box; 8194 display: -webkit-box;
8172 display: -ms-flexbox; 8195 display: -ms-flexbox;
8173 display: flex; 8196 display: flex;
8174 -webkit-box-orient: vertical; 8197 -webkit-box-orient: vertical;
8175 -webkit-box-direction: normal; 8198 -webkit-box-direction: normal;
8176 -ms-flex-direction: column; 8199 -ms-flex-direction: column;
8177 flex-direction: column; 8200 flex-direction: column;
8178 gap: 6px; 8201 gap: 6px;
8179 } 8202 }
8180 @media (min-width: 768px) { 8203 @media (min-width: 768px) {
8181 .cabinet__descr { 8204 .cabinet__descr {
8182 gap: 12px; 8205 gap: 12px;
8183 } 8206 }
8184 } 8207 }
8185 .cabinet__avatar { 8208 .cabinet__avatar {
8186 display: -webkit-box; 8209 display: -webkit-box;
8187 display: -ms-flexbox; 8210 display: -ms-flexbox;
8188 display: flex; 8211 display: flex;
8189 -webkit-box-align: start; 8212 -webkit-box-align: start;
8190 -ms-flex-align: start; 8213 -ms-flex-align: start;
8191 align-items: flex-start; 8214 align-items: flex-start;
8192 } 8215 }
8193 @media (min-width: 768px) { 8216 @media (min-width: 768px) {
8194 .cabinet__avatar { 8217 .cabinet__avatar {
8195 -webkit-box-align: center; 8218 -webkit-box-align: center;
8196 -ms-flex-align: center; 8219 -ms-flex-align: center;
8197 align-items: center; 8220 align-items: center;
8198 } 8221 }
8199 } 8222 }
8200 .cabinet__avatar-pic { 8223 .cabinet__avatar-pic {
8201 width: 100px; 8224 width: 100px;
8202 aspect-ratio: 1/1; 8225 aspect-ratio: 1/1;
8203 position: relative; 8226 position: relative;
8204 display: -webkit-box; 8227 display: -webkit-box;
8205 display: -ms-flexbox; 8228 display: -ms-flexbox;
8206 display: flex; 8229 display: flex;
8207 -webkit-box-pack: center; 8230 -webkit-box-pack: center;
8208 -ms-flex-pack: center; 8231 -ms-flex-pack: center;
8209 justify-content: center; 8232 justify-content: center;
8210 -webkit-box-align: center; 8233 -webkit-box-align: center;
8211 -ms-flex-align: center; 8234 -ms-flex-align: center;
8212 align-items: center; 8235 align-items: center;
8213 overflow: hidden; 8236 overflow: hidden;
8214 border-radius: 8px; 8237 border-radius: 8px;
8215 color: #fff; 8238 color: #fff;
8216 background: #9c9d9d; 8239 background: #9c9d9d;
8217 } 8240 }
8218 .cabinet__avatar-pic svg { 8241 .cabinet__avatar-pic svg {
8219 width: 50%; 8242 width: 50%;
8220 aspect-ratio: 1/1; 8243 aspect-ratio: 1/1;
8221 z-index: 1; 8244 z-index: 1;
8222 position: relative; 8245 position: relative;
8223 } 8246 }
8224 .cabinet__avatar-pic img{ 8247 .cabinet__avatar-pic img{
8225 max-width: 100%; 8248 max-width: 100%;
8226 max-height: 100%; 8249 max-height: 100%;
8227 } 8250 }
8228 .cabinet__avatar-form { 8251 .cabinet__avatar-form {
8229 width: calc(100% - 100px); 8252 width: calc(100% - 100px);
8230 padding-left: 15px; 8253 padding-left: 15px;
8231 display: -webkit-box; 8254 display: -webkit-box;
8232 display: -ms-flexbox; 8255 display: -ms-flexbox;
8233 display: flex; 8256 display: flex;
8234 -webkit-box-orient: vertical; 8257 -webkit-box-orient: vertical;
8235 -webkit-box-direction: normal; 8258 -webkit-box-direction: normal;
8236 -ms-flex-direction: column; 8259 -ms-flex-direction: column;
8237 flex-direction: column; 8260 flex-direction: column;
8238 gap: 6px; 8261 gap: 6px;
8239 } 8262 }
8240 .candidate-top-wrapper{ 8263 .candidate-top-wrapper{
8241 display: flex; 8264 display: flex;
8242 } 8265 }
8243 .candidate-top-wrapper .candidate-thumbnail{ 8266 .candidate-top-wrapper .candidate-thumbnail{
8244 width: 100px; 8267 width: 100px;
8245 height: 100px; 8268 height: 100px;
8246 min-width: 100px; 8269 min-width: 100px;
8247 border-radius: 8px; 8270 border-radius: 8px;
8248 overflow: hidden; 8271 overflow: hidden;
8249 } 8272 }
8250 .candidate-top-wrapper .candidate-thumbnail img{ 8273 .candidate-top-wrapper .candidate-thumbnail img{
8251 max-height: 100%; 8274 max-height: 100%;
8252 max-width: 100%; 8275 max-width: 100%;
8253 } 8276 }
8254 .candidate-top-wrapper .candidate-information{ 8277 .candidate-top-wrapper .candidate-information{
8255 padding-left: 20px; 8278 padding-left: 20px;
8256 font-size: 21px; 8279 font-size: 21px;
8257 display: flex; 8280 display: flex;
8258 align-items: center; 8281 align-items: center;
8259 } 8282 }
8260 .candidate-top-wrapper .candidate-information .candidate-title{ 8283 .candidate-top-wrapper .candidate-information .candidate-title{
8261 font-size: inherit; 8284 font-size: inherit;
8262 } 8285 }
8263 .content-single-candidate .education-detail-description{ 8286 .content-single-candidate .education-detail-description{
8264 margin-bottom: 50px; 8287 margin-bottom: 50px;
8265 text-align: justify; 8288 text-align: justify;
8266 } 8289 }
8267 .content-single-candidate .education-detail-description h3.title{ 8290 .content-single-candidate .education-detail-description h3.title{
8268 font-size: 18px; 8291 font-size: 18px;
8269 margin: 0 0 20px; 8292 margin: 0 0 20px;
8270 } 8293 }
8271 .content-single-candidate .education-detail-description .inner{ 8294 .content-single-candidate .education-detail-description .inner{
8272 font-size: 16px; 8295 font-size: 16px;
8273 font-weight: 300; 8296 font-weight: 300;
8274 line-height: 22px; 8297 line-height: 22px;
8275 color: #77838F; 8298 color: #77838F;
8276 } 8299 }
8277 .education-detail-programs h3.title{ 8300 .education-detail-programs h3.title{
8278 font-size: 18px; 8301 font-size: 18px;
8279 margin: 0 0 20px; 8302 margin: 0 0 20px;
8280 } 8303 }
8281 .education-detail-programs .accordion{ 8304 .education-detail-programs .accordion{
8282 margin: 1rem 0; 8305 margin: 1rem 0;
8283 padding: 0; 8306 padding: 0;
8284 list-style: none; 8307 list-style: none;
8285 border-top: 1px solid #ECEDF2; 8308 border-top: 1px solid #ECEDF2;
8286 } 8309 }
8287 .education-detail-programs .accordion.sub{ 8310 .education-detail-programs .accordion.sub{
8288 padding-left: 20px; 8311 padding-left: 20px;
8289 display: none; 8312 display: none;
8290 } 8313 }
8291 .education-detail-programs .accordion-item { 8314 .education-detail-programs .accordion-item {
8292 border-bottom: 1px solid #ECEDF2; 8315 border-bottom: 1px solid #ECEDF2;
8293 } 8316 }
8294 .education-detail-programs .accordion-thumb { 8317 .education-detail-programs .accordion-thumb {
8295 margin: 0; 8318 margin: 0;
8296 padding: 25px 0; 8319 padding: 25px 0;
8297 cursor: pointer; 8320 cursor: pointer;
8298 font-weight: normal; 8321 font-weight: normal;
8299 color: #0E5C69; 8322 color: #0E5C69;
8300 font-size: 16px; 8323 font-size: 16px;
8301 text-transform: uppercase; 8324 text-transform: uppercase;
8302 } 8325 }
8303 .education-detail-programs .accordion-thumb::after { 8326 .education-detail-programs .accordion-thumb::after {
8304 content: ""; 8327 content: "";
8305 display: block; 8328 display: block;
8306 float: right; 8329 float: right;
8307 position: relative; 8330 position: relative;
8308 top: 6px; 8331 top: 6px;
8309 height: 7px; 8332 height: 7px;
8310 width: 7px; 8333 width: 7px;
8311 margin-right: 1rem; 8334 margin-right: 1rem;
8312 margin-left: 0.5rem; 8335 margin-left: 0.5rem;
8313 border-right: 1px solid; 8336 border-right: 1px solid;
8314 border-bottom: 1px solid; 8337 border-bottom: 1px solid;
8315 border-color: #828A96; 8338 border-color: #828A96;
8316 transform: rotate(-45deg); 8339 transform: rotate(-45deg);
8317 transition: transform 0.2s ease-out; 8340 transition: transform 0.2s ease-out;
8318 } 8341 }
8319 .education-detail-programs .accordion-item .accordion-thumb.ui-state-active::after { 8342 .education-detail-programs .accordion-item .accordion-thumb.ui-state-active::after {
8320 transform: rotate(45deg); 8343 transform: rotate(45deg);
8321 } 8344 }
8322 .accordion-sub .accordion-panel{ 8345 .accordion-sub .accordion-panel{
8323 display: none; 8346 display: none;
8324 } 8347 }
8325 .accordion > .accordion-item > .accordion-panel{ 8348 .accordion > .accordion-item > .accordion-panel{
8326 opacity: 1; 8349 opacity: 1;
8327 } 8350 }
8328 .accordion-sub li{ 8351 .accordion-sub li{
8329 list-style-type: none; 8352 list-style-type: none;
8330 } 8353 }
8331 .accordion-sub .accordion-item .accordion-panel{ 8354 .accordion-sub .accordion-item .accordion-panel{
8332 white-space: pre-wrap; 8355 white-space: pre-wrap;
8333 white-space: -moz-pre-wrap; 8356 white-space: -moz-pre-wrap;
8334 white-space: -o-pre-wrap; 8357 white-space: -o-pre-wrap;
8335 } 8358 }
8336 .accordion-sub li:last-child { 8359 .accordion-sub li:last-child {
8337 border-bottom: unset; 8360 border-bottom: unset;
8338 } 8361 }
8339 .education-detail-contacts{ 8362 .education-detail-contacts{
8340 margin-top: 50px; 8363 margin-top: 50px;
8341 } 8364 }
8342 .education-detail-contacts h3.title{ 8365 .education-detail-contacts h3.title{
8343 font-size: 18px; 8366 font-size: 18px;
8344 margin: 0 0 20px; 8367 margin: 0 0 20px;
8345 } 8368 }
8346 .education-detail-contacts .inner > div{ 8369 .education-detail-contacts .inner > div{
8347 display: flex; 8370 display: flex;
8348 align-items: center; 8371 align-items: center;
8349 margin-bottom: 20px; 8372 margin-bottom: 20px;
8350 } 8373 }
8351 .education-detail-contacts .inner > div .icon{ 8374 .education-detail-contacts .inner > div .icon{
8352 margin-right: 20px; 8375 margin-right: 20px;
8353 } 8376 }
8354 @media (min-width: 768px) { 8377 @media (min-width: 768px) {
8355 .cabinet__avatar-form { 8378 .cabinet__avatar-form {
8356 -webkit-box-align: start; 8379 -webkit-box-align: start;
8357 -ms-flex-align: start; 8380 -ms-flex-align: start;
8358 align-items: flex-start; 8381 align-items: flex-start;
8359 padding-left: 30px; 8382 padding-left: 30px;
8360 gap: 12px; 8383 gap: 12px;
8361 } 8384 }
8362 } 8385 }
8363 @media (min-width: 768px) { 8386 @media (min-width: 768px) {
8364 .cabinet__avatar-form .file { 8387 .cabinet__avatar-form .file {
8365 min-width: 215px; 8388 min-width: 215px;
8366 } 8389 }
8367 } 8390 }
8368 .cabinet__inputs { 8391 .cabinet__inputs {
8369 display: -webkit-box; 8392 display: -webkit-box;
8370 display: -ms-flexbox; 8393 display: -ms-flexbox;
8371 display: flex; 8394 display: flex;
8372 -webkit-box-orient: vertical; 8395 -webkit-box-orient: vertical;
8373 -webkit-box-direction: normal; 8396 -webkit-box-direction: normal;
8374 -ms-flex-direction: column; 8397 -ms-flex-direction: column;
8375 flex-direction: column; 8398 flex-direction: column;
8376 gap: 20px; 8399 gap: 20px;
8377 } 8400 }
8378 .cabinet__inputs .cabinet__inputs_to_columns_wrap{ 8401 .cabinet__inputs .cabinet__inputs_to_columns_wrap{
8379 display: flex; 8402 display: flex;
8380 } 8403 }
8381 .cabinet__inputs_to_columns_wrap .cabinet__inputs_to_column{ 8404 .cabinet__inputs_to_columns_wrap .cabinet__inputs_to_column{
8382 width: 50%; 8405 width: 50%;
8383 padding-right: 20px; 8406 padding-right: 20px;
8384 } 8407 }
8385 .cabinet__inputs_to_columns_wrap .cabinet__inputs-item{ 8408 .cabinet__inputs_to_columns_wrap .cabinet__inputs-item{
8386 margin-bottom: 20px; 8409 margin-bottom: 20px;
8387 width: 100%; 8410 width: 100%;
8388 } 8411 }
8389 @media (min-width: 1280px) { 8412 @media (min-width: 1280px) {
8390 .cabinet__inputs { 8413 .cabinet__inputs {
8391 -webkit-box-orient: horizontal; 8414 -webkit-box-orient: horizontal;
8392 -webkit-box-direction: normal; 8415 -webkit-box-direction: normal;
8393 -ms-flex-direction: row; 8416 -ms-flex-direction: row;
8394 flex-direction: row; 8417 flex-direction: row;
8395 -webkit-box-align: end; 8418 -webkit-box-align: end;
8396 -ms-flex-align: end; 8419 -ms-flex-align: end;
8397 align-items: end; 8420 align-items: end;
8398 -webkit-box-pack: justify; 8421 -webkit-box-pack: justify;
8399 -ms-flex-pack: justify; 8422 -ms-flex-pack: justify;
8400 justify-content: space-between; 8423 justify-content: space-between;
8401 -ms-flex-wrap: wrap; 8424 -ms-flex-wrap: wrap;
8402 flex-wrap: wrap; 8425 flex-wrap: wrap;
8403 } 8426 }
8404 } 8427 }
8405 @media (min-width: 1280px) { 8428 @media (min-width: 1280px) {
8406 .cabinet__inputs-item { 8429 .cabinet__inputs-item {
8407 width: calc(50% - 10px); 8430 width: calc(50% - 10px);
8408 } 8431 }
8409 } 8432 }
8410 @media (min-width: 1280px) { 8433 @media (min-width: 1280px) {
8411 .cabinet__inputs-item_fullwidth { 8434 .cabinet__inputs-item_fullwidth {
8412 width: 100%; 8435 width: 100%;
8413 } 8436 }
8414 } 8437 }
8415 @media (min-width: 1280px) { 8438 @media (min-width: 1280px) {
8416 .cabinet__inputs-item_min { 8439 .cabinet__inputs-item_min {
8417 width: calc(15% - 10px); 8440 width: calc(15% - 10px);
8418 } 8441 }
8419 } 8442 }
8420 @media (min-width: 1280px) { 8443 @media (min-width: 1280px) {
8421 .cabinet__inputs-item_max { 8444 .cabinet__inputs-item_max {
8422 width: calc(85% - 10px); 8445 width: calc(85% - 10px);
8423 } 8446 }
8424 } 8447 }
8425 @media (min-width: 768px) { 8448 @media (min-width: 768px) {
8426 .cabinet__inputs-item .button { 8449 .cabinet__inputs-item .button {
8427 width: 100%; 8450 width: 100%;
8428 max-width: 215px; 8451 max-width: 215px;
8429 padding: 0; 8452 padding: 0;
8430 } 8453 }
8431 } 8454 }
8432 @media (max-width: 768px) { 8455 @media (max-width: 768px) {
8433 .cabinet__inputs .cabinet__inputs_to_columns_wrap{ 8456 .cabinet__inputs .cabinet__inputs_to_columns_wrap{
8434 display: block; 8457 display: block;
8435 } 8458 }
8436 .cabinet__inputs_to_columns_wrap .cabinet__inputs_to_column{ 8459 .cabinet__inputs_to_columns_wrap .cabinet__inputs_to_column{
8437 width: 100%; 8460 width: 100%;
8438 } 8461 }
8439 } 8462 }
8440 .cabinet__inputs-item.column-count-3{ 8463 .cabinet__inputs-item.column-count-3{
8441 width: calc(32% - 10px); 8464 width: calc(32% - 10px);
8442 } 8465 }
8443 .cabinet__inputs-item-full-row { 8466 .cabinet__inputs-item-full-row {
8444 width: 100%; 8467 width: 100%;
8445 } 8468 }
8446 .cabinet__inputs-item .buttons { 8469 .cabinet__inputs-item .buttons {
8447 display: grid; 8470 display: grid;
8448 grid-template-columns: 1fr 1fr; 8471 grid-template-columns: 1fr 1fr;
8449 gap: 10px; 8472 gap: 10px;
8450 } 8473 }
8451 .cabinet__inputs-item .form-group__label{ 8474 .cabinet__inputs-item .form-group__label{
8452 font-weight: bold; 8475 font-weight: bold;
8453 } 8476 }
8454 @media (min-width: 768px) { 8477 @media (min-width: 768px) {
8455 .cabinet__inputs-item .buttons { 8478 .cabinet__inputs-item .buttons {
8456 gap: 20px; 8479 gap: 20px;
8457 max-width: 470px; 8480 max-width: 470px;
8458 } 8481 }
8459 } 8482 }
8460 @media (min-width: 992px) { 8483 @media (min-width: 992px) {
8461 .cabinet__inputs-item .buttons { 8484 .cabinet__inputs-item .buttons {
8462 max-width: none; 8485 max-width: none;
8463 } 8486 }
8464 } 8487 }
8465 @media (min-width: 1280px) { 8488 @media (min-width: 1280px) {
8466 .cabinet__inputs-item .buttons { 8489 .cabinet__inputs-item .buttons {
8467 max-width: 470px; 8490 max-width: 470px;
8468 } 8491 }
8469 } 8492 }
8470 .cabinet__inputs-item .buttons .button { 8493 .cabinet__inputs-item .buttons .button {
8471 max-width: none; 8494 max-width: none;
8472 } 8495 }
8473 .cabinet__inputs > .button { 8496 .cabinet__inputs > .button {
8474 padding: 0; 8497 padding: 0;
8475 width: 100%; 8498 width: 100%;
8476 max-width: 140px; 8499 max-width: 140px;
8477 } 8500 }
8478 @media (min-width: 768px) { 8501 @media (min-width: 768px) {
8479 .cabinet__inputs > .button { 8502 .cabinet__inputs > .button {
8480 max-width: 190px; 8503 max-width: 190px;
8481 } 8504 }
8482 } 8505 }
8483 .cabinet__add { 8506 .cabinet__add {
8484 display: -webkit-box; 8507 display: -webkit-box;
8485 display: -ms-flexbox; 8508 display: -ms-flexbox;
8486 display: flex; 8509 display: flex;
8487 -webkit-box-orient: vertical; 8510 -webkit-box-orient: vertical;
8488 -webkit-box-direction: normal; 8511 -webkit-box-direction: normal;
8489 -ms-flex-direction: column; 8512 -ms-flex-direction: column;
8490 flex-direction: column; 8513 flex-direction: column;
8491 gap: 10px; 8514 gap: 10px;
8492 } 8515 }
8493 @media (min-width: 768px) { 8516 @media (min-width: 768px) {
8494 .cabinet__add { 8517 .cabinet__add {
8495 gap: 0; 8518 gap: 0;
8496 -webkit-box-orient: horizontal; 8519 -webkit-box-orient: horizontal;
8497 -webkit-box-direction: normal; 8520 -webkit-box-direction: normal;
8498 -ms-flex-direction: row; 8521 -ms-flex-direction: row;
8499 flex-direction: row; 8522 flex-direction: row;
8500 -webkit-box-align: end; 8523 -webkit-box-align: end;
8501 -ms-flex-align: end; 8524 -ms-flex-align: end;
8502 align-items: flex-end; 8525 align-items: flex-end;
8503 } 8526 }
8504 } 8527 }
8505 .cabinet__add-pic { 8528 .cabinet__add-pic {
8506 border-radius: 4px; 8529 border-radius: 4px;
8507 position: relative; 8530 position: relative;
8508 overflow: hidden; 8531 overflow: hidden;
8509 background: #9c9d9d; 8532 background: #9c9d9d;
8510 color: #fff; 8533 color: #fff;
8511 width: 100px; 8534 width: 100px;
8512 aspect-ratio: 1/1; 8535 aspect-ratio: 1/1;
8513 -webkit-transition: 0.3s; 8536 -webkit-transition: 0.3s;
8514 transition: 0.3s; 8537 transition: 0.3s;
8515 } 8538 }
8516 @media (min-width: 768px) { 8539 @media (min-width: 768px) {
8517 .cabinet__add-pic { 8540 .cabinet__add-pic {
8518 width: 220px; 8541 width: 220px;
8519 border-radius: 8px; 8542 border-radius: 8px;
8520 } 8543 }
8521 } 8544 }
8522 .cabinet__add-pic:hover { 8545 .cabinet__add-pic:hover {
8523 background: #000; 8546 background: #000;
8524 } 8547 }
8525 .cabinet__add-pic input { 8548 .cabinet__add-pic input {
8526 display: none; 8549 display: none;
8527 } 8550 }
8528 .cabinet__add-pic > svg { 8551 .cabinet__add-pic > svg {
8529 width: 20px; 8552 width: 20px;
8530 position: absolute; 8553 position: absolute;
8531 top: 50%; 8554 top: 50%;
8532 left: 50%; 8555 left: 50%;
8533 -webkit-transform: translate(-50%, -50%); 8556 -webkit-transform: translate(-50%, -50%);
8534 -ms-transform: translate(-50%, -50%); 8557 -ms-transform: translate(-50%, -50%);
8535 transform: translate(-50%, -50%); 8558 transform: translate(-50%, -50%);
8536 z-index: 1; 8559 z-index: 1;
8537 } 8560 }
8538 @media (min-width: 768px) { 8561 @media (min-width: 768px) {
8539 .cabinet__add-pic > svg { 8562 .cabinet__add-pic > svg {
8540 width: 50px; 8563 width: 50px;
8541 } 8564 }
8542 } 8565 }
8543 .cabinet__add-pic span { 8566 .cabinet__add-pic span {
8544 display: -webkit-box; 8567 display: -webkit-box;
8545 display: -ms-flexbox; 8568 display: -ms-flexbox;
8546 display: flex; 8569 display: flex;
8547 -webkit-box-align: center; 8570 -webkit-box-align: center;
8548 -ms-flex-align: center; 8571 -ms-flex-align: center;
8549 align-items: center; 8572 align-items: center;
8550 -webkit-box-pack: center; 8573 -webkit-box-pack: center;
8551 -ms-flex-pack: center; 8574 -ms-flex-pack: center;
8552 justify-content: center; 8575 justify-content: center;
8553 width: 100%; 8576 width: 100%;
8554 gap: 4px; 8577 gap: 4px;
8555 font-weight: 700; 8578 font-weight: 700;
8556 font-size: 8px; 8579 font-size: 8px;
8557 line-height: 1; 8580 line-height: 1;
8558 position: absolute; 8581 position: absolute;
8559 top: 50%; 8582 top: 50%;
8560 left: 50%; 8583 left: 50%;
8561 -webkit-transform: translate(-50%, -50%); 8584 -webkit-transform: translate(-50%, -50%);
8562 -ms-transform: translate(-50%, -50%); 8585 -ms-transform: translate(-50%, -50%);
8563 transform: translate(-50%, -50%); 8586 transform: translate(-50%, -50%);
8564 margin-top: 25px; 8587 margin-top: 25px;
8565 } 8588 }
8566 @media (min-width: 768px) { 8589 @media (min-width: 768px) {
8567 .cabinet__add-pic span { 8590 .cabinet__add-pic span {
8568 font-size: 16px; 8591 font-size: 16px;
8569 margin-top: 60px; 8592 margin-top: 60px;
8570 } 8593 }
8571 } 8594 }
8572 .cabinet__add-pic span svg { 8595 .cabinet__add-pic span svg {
8573 width: 7px; 8596 width: 7px;
8574 aspect-ratio: 1/1; 8597 aspect-ratio: 1/1;
8575 } 8598 }
8576 @media (min-width: 768px) { 8599 @media (min-width: 768px) {
8577 .cabinet__add-pic span svg { 8600 .cabinet__add-pic span svg {
8578 width: 16px; 8601 width: 16px;
8579 } 8602 }
8580 } 8603 }
8581 .cabinet__add-body { 8604 .cabinet__add-body {
8582 display: -webkit-box; 8605 display: -webkit-box;
8583 display: -ms-flexbox; 8606 display: -ms-flexbox;
8584 display: flex; 8607 display: flex;
8585 -webkit-box-orient: vertical; 8608 -webkit-box-orient: vertical;
8586 -webkit-box-direction: normal; 8609 -webkit-box-direction: normal;
8587 -ms-flex-direction: column; 8610 -ms-flex-direction: column;
8588 flex-direction: column; 8611 flex-direction: column;
8589 gap: 10px; 8612 gap: 10px;
8590 } 8613 }
8591 @media (min-width: 768px) { 8614 @media (min-width: 768px) {
8592 .cabinet__add-body { 8615 .cabinet__add-body {
8593 gap: 20px; 8616 gap: 20px;
8594 width: calc(100% - 220px); 8617 width: calc(100% - 220px);
8595 padding-left: 20px; 8618 padding-left: 20px;
8596 } 8619 }
8597 } 8620 }
8598 @media (min-width: 768px) { 8621 @media (min-width: 768px) {
8599 .cabinet__add-body .button { 8622 .cabinet__add-body .button {
8600 width: 215px; 8623 width: 215px;
8601 padding: 0; 8624 padding: 0;
8602 } 8625 }
8603 } 8626 }
8604 .cabinet__fleet { 8627 .cabinet__fleet {
8605 display: -webkit-box; 8628 display: -webkit-box;
8606 display: -ms-flexbox; 8629 display: -ms-flexbox;
8607 display: flex; 8630 display: flex;
8608 -webkit-box-orient: vertical; 8631 -webkit-box-orient: vertical;
8609 -webkit-box-direction: normal; 8632 -webkit-box-direction: normal;
8610 -ms-flex-direction: column; 8633 -ms-flex-direction: column;
8611 flex-direction: column; 8634 flex-direction: column;
8612 gap: 20px; 8635 gap: 20px;
8613 } 8636 }
8614 @media (min-width: 768px) { 8637 @media (min-width: 768px) {
8615 .cabinet__fleet { 8638 .cabinet__fleet {
8616 display: grid; 8639 display: grid;
8617 grid-template-columns: repeat(2, 1fr); 8640 grid-template-columns: repeat(2, 1fr);
8618 } 8641 }
8619 } 8642 }
8620 @media (min-width: 1280px) { 8643 @media (min-width: 1280px) {
8621 .cabinet__fleet { 8644 .cabinet__fleet {
8622 grid-template-columns: repeat(3, 1fr); 8645 grid-template-columns: repeat(3, 1fr);
8623 } 8646 }
8624 } 8647 }
8625 @media (min-width: 768px) { 8648 @media (min-width: 768px) {
8626 .cabinet__submit { 8649 .cabinet__submit {
8627 width: 215px; 8650 width: 215px;
8628 padding: 0; 8651 padding: 0;
8629 margin: 0 auto; 8652 margin: 0 auto;
8630 } 8653 }
8631 } 8654 }
8632 .cabinet__filters { 8655 .cabinet__filters {
8633 display: -webkit-box; 8656 display: -webkit-box;
8634 display: -ms-flexbox; 8657 display: -ms-flexbox;
8635 display: flex; 8658 display: flex;
8636 -webkit-box-orient: vertical; 8659 -webkit-box-orient: vertical;
8637 -webkit-box-direction: normal; 8660 -webkit-box-direction: normal;
8638 -ms-flex-direction: column; 8661 -ms-flex-direction: column;
8639 flex-direction: column; 8662 flex-direction: column;
8640 gap: 10px; 8663 gap: 10px;
8641 } 8664 }
8642 .cabinet__export-wrap{ 8665 .cabinet__export-wrap{
8643 padding: 10px; 8666 padding: 10px;
8644 border: 1px #cecece solid; 8667 border: 1px #cecece solid;
8645 border-radius: 8px; 8668 border-radius: 8px;
8646 width: 100%; 8669 width: 100%;
8647 } 8670 }
8648 .cabinet__export-button-wrap{ 8671 .cabinet__export-button-wrap{
8649 max-width: 200px; 8672 max-width: 200px;
8650 margin-bottom: 10px; 8673 margin-bottom: 10px;
8651 } 8674 }
8652 .cabinet__export-options-wrap{ 8675 .cabinet__export-options-wrap{
8653 display: flex; 8676 display: flex;
8654 justify-content: space-between; 8677 justify-content: space-between;
8655 } 8678 }
8656 .job-title-list-wrap{ 8679 .job-title-list-wrap{
8657 margin-top: 5px; 8680 margin-top: 5px;
8658 } 8681 }
8659 .cabinet__export-error{ 8682 .cabinet__export-error{
8660 color: red; 8683 color: red;
8661 } 8684 }
8662 .flot-image-wrap img{ 8685 .flot-image-wrap img{
8663 max-width: 100%; 8686 max-width: 100%;
8664 max-height: 100%; 8687 max-height: 100%;
8665 flex: 0 0 auto; 8688 flex: 0 0 auto;
8666 } 8689 }
8667 .flot-image-wrap{ 8690 .flot-image-wrap{
8668 width: 220px; 8691 width: 220px;
8669 height: 220px; 8692 height: 220px;
8670 display: flex; 8693 display: flex;
8671 justify-content: center; 8694 justify-content: center;
8672 align-items: center; 8695 align-items: center;
8673 } 8696 }
8674 @media (min-width: 768px) { 8697 @media (min-width: 768px) {
8675 .cabinet__filters { 8698 .cabinet__filters {
8676 gap: 20px; 8699 gap: 20px;
8677 } 8700 }
8678 } 8701 }
8679 @media (min-width: 1280px) { 8702 @media (min-width: 1280px) {
8680 .cabinet__filters { 8703 .cabinet__filters {
8681 -webkit-box-orient: horizontal; 8704 -webkit-box-orient: horizontal;
8682 -webkit-box-direction: normal; 8705 -webkit-box-direction: normal;
8683 -ms-flex-direction: row; 8706 -ms-flex-direction: row;
8684 flex-direction: row; 8707 flex-direction: row;
8685 -webkit-box-align: start; 8708 -webkit-box-align: start;
8686 -ms-flex-align: start; 8709 -ms-flex-align: start;
8687 align-items: flex-start; 8710 align-items: flex-start;
8688 -webkit-box-pack: justify; 8711 -webkit-box-pack: justify;
8689 -ms-flex-pack: justify; 8712 -ms-flex-pack: justify;
8690 justify-content: space-between; 8713 justify-content: space-between;
8691 } 8714 }
8692 } 8715 }
8693 .cabinet__filters-item { 8716 .cabinet__filters-item {
8694 display: -webkit-box; 8717 display: -webkit-box;
8695 display: -ms-flexbox; 8718 display: -ms-flexbox;
8696 display: flex; 8719 display: flex;
8697 -webkit-box-orient: vertical; 8720 -webkit-box-orient: vertical;
8698 -webkit-box-direction: normal; 8721 -webkit-box-direction: normal;
8699 -ms-flex-direction: column; 8722 -ms-flex-direction: column;
8700 flex-direction: column; 8723 flex-direction: column;
8701 -webkit-box-align: start; 8724 -webkit-box-align: start;
8702 -ms-flex-align: start; 8725 -ms-flex-align: start;
8703 align-items: flex-start; 8726 align-items: flex-start;
8704 gap: 10px; 8727 gap: 10px;
8705 } 8728 }
8706 @media (min-width: 768px) { 8729 @media (min-width: 768px) {
8707 .cabinet__filters-item { 8730 .cabinet__filters-item {
8708 gap: 20px; 8731 gap: 20px;
8709 } 8732 }
8710 } 8733 }
8711 @media (min-width: 1280px) { 8734 @media (min-width: 1280px) {
8712 .cabinet__filters-item { 8735 .cabinet__filters-item {
8713 width: calc(50% - 10px); 8736 width: calc(50% - 10px);
8714 max-width: 410px; 8737 max-width: 410px;
8715 } 8738 }
8716 } 8739 }
8717 .cabinet__filters-item .button, 8740 .cabinet__filters-item .button,
8718 .cabinet__filters-item .select { 8741 .cabinet__filters-item .select {
8719 width: 100%; 8742 width: 100%;
8720 } 8743 }
8721 @media (min-width: 1280px) { 8744 @media (min-width: 1280px) {
8722 .cabinet__filters-item .button, 8745 .cabinet__filters-item .button,
8723 .cabinet__filters-item .select { 8746 .cabinet__filters-item .select {
8724 width: auto; 8747 width: auto;
8725 } 8748 }
8726 } 8749 }
8727 .cabinet__filters-item + .cabinet__filters-item { 8750 .cabinet__filters-item + .cabinet__filters-item {
8728 -webkit-box-align: end; 8751 -webkit-box-align: end;
8729 -ms-flex-align: end; 8752 -ms-flex-align: end;
8730 align-items: flex-end; 8753 align-items: flex-end;
8731 } 8754 }
8732 @media (min-width: 1280px) { 8755 @media (min-width: 1280px) {
8733 .cabinet__filters-item + .cabinet__filters-item { 8756 .cabinet__filters-item + .cabinet__filters-item {
8734 max-width: 280px; 8757 max-width: 280px;
8735 } 8758 }
8736 } 8759 }
8737 .cabinet__filters .search input { 8760 .cabinet__filters .search input {
8738 padding-right: 135px; 8761 padding-right: 135px;
8739 } 8762 }
8740 .cabinet__filters .search button { 8763 .cabinet__filters .search button {
8741 width: 115px; 8764 width: 115px;
8742 } 8765 }
8743 .cabinet__filters-buttons { 8766 .cabinet__filters-buttons {
8744 display: grid; 8767 display: grid;
8745 grid-template-columns: 1fr 1fr; 8768 grid-template-columns: 1fr 1fr;
8746 gap: 10px; 8769 gap: 10px;
8747 width: 100%; 8770 width: 100%;
8748 } 8771 }
8749 @media (min-width: 768px) { 8772 @media (min-width: 768px) {
8750 .cabinet__filters-buttons { 8773 .cabinet__filters-buttons {
8751 gap: 20px; 8774 gap: 20px;
8752 } 8775 }
8753 } 8776 }
8754 .cabinet__filters-buttons .button { 8777 .cabinet__filters-buttons .button {
8755 padding: 0; 8778 padding: 0;
8756 gap: 5px; 8779 gap: 5px;
8757 } 8780 }
8758 .cabinet__filters-buttons .button.active { 8781 .cabinet__filters-buttons .button.active {
8759 background: #377d87; 8782 background: #377d87;
8760 color: #fff; 8783 color: #fff;
8761 } 8784 }
8762 .cabinet__filters-buttons .button.active:before { 8785 .cabinet__filters-buttons .button.active:before {
8763 content: ""; 8786 content: "";
8764 width: 6px; 8787 width: 6px;
8765 height: 6px; 8788 height: 6px;
8766 background: #fff; 8789 background: #fff;
8767 border-radius: 999px; 8790 border-radius: 999px;
8768 } 8791 }
8769 .cabinet__table-header { 8792 .cabinet__table-header {
8770 display: -webkit-box; 8793 display: -webkit-box;
8771 display: -ms-flexbox; 8794 display: -ms-flexbox;
8772 display: flex; 8795 display: flex;
8773 -webkit-box-pack: justify; 8796 -webkit-box-pack: justify;
8774 -ms-flex-pack: justify; 8797 -ms-flex-pack: justify;
8775 justify-content: space-between; 8798 justify-content: space-between;
8776 -webkit-box-align: center; 8799 -webkit-box-align: center;
8777 -ms-flex-align: center; 8800 -ms-flex-align: center;
8778 align-items: center; 8801 align-items: center;
8779 font-weight: 700; 8802 font-weight: 700;
8780 margin-bottom: -10px; 8803 margin-bottom: -10px;
8781 } 8804 }
8782 .cabinet__table-header div { 8805 .cabinet__table-header div {
8783 font-size: 18px; 8806 font-size: 18px;
8784 } 8807 }
8785 @media (min-width: 768px) { 8808 @media (min-width: 768px) {
8786 .cabinet__table-header div { 8809 .cabinet__table-header div {
8787 font-size: 24px; 8810 font-size: 24px;
8788 } 8811 }
8789 } 8812 }
8790 .cabinet__table-header span { 8813 .cabinet__table-header span {
8791 color: #000; 8814 color: #000;
8792 font-size: 14px; 8815 font-size: 14px;
8793 } 8816 }
8794 @media (min-width: 768px) { 8817 @media (min-width: 768px) {
8795 .cabinet__table-header span { 8818 .cabinet__table-header span {
8796 font-size: 18px; 8819 font-size: 18px;
8797 } 8820 }
8798 } 8821 }
8799 .cabinet__table-header span b { 8822 .cabinet__table-header span b {
8800 color: #377d87; 8823 color: #377d87;
8801 } 8824 }
8802 .cabinet__tabs { 8825 .cabinet__tabs {
8803 display: grid; 8826 display: grid;
8804 grid-template-columns: 1fr 1fr; 8827 grid-template-columns: 1fr 1fr;
8805 gap: 20px; 8828 gap: 20px;
8806 } 8829 }
8807 @media (min-width: 768px) { 8830 @media (min-width: 768px) {
8808 .cabinet__tabs { 8831 .cabinet__tabs {
8809 max-width: 420px; 8832 max-width: 420px;
8810 } 8833 }
8811 } 8834 }
8812 .cabinet__tabs .button.active { 8835 .cabinet__tabs .button.active {
8813 background: #377d87; 8836 background: #377d87;
8814 color: #fff; 8837 color: #fff;
8815 } 8838 }
8816 .cabinet__bodies { 8839 .cabinet__bodies {
8817 display: none; 8840 display: none;
8818 } 8841 }
8819 .cabinet__bodies.showed { 8842 .cabinet__bodies.showed {
8820 display: block; 8843 display: block;
8821 } 8844 }
8822 .cabinet__nots { 8845 .cabinet__nots {
8823 display: -webkit-box; 8846 display: -webkit-box;
8824 display: -ms-flexbox; 8847 display: -ms-flexbox;
8825 display: flex; 8848 display: flex;
8826 -webkit-box-orient: vertical; 8849 -webkit-box-orient: vertical;
8827 -webkit-box-direction: normal; 8850 -webkit-box-direction: normal;
8828 -ms-flex-direction: column; 8851 -ms-flex-direction: column;
8829 flex-direction: column; 8852 flex-direction: column;
8830 -webkit-box-align: start; 8853 -webkit-box-align: start;
8831 -ms-flex-align: start; 8854 -ms-flex-align: start;
8832 align-items: flex-start; 8855 align-items: flex-start;
8833 gap: 10px; 8856 gap: 10px;
8834 } 8857 }
8835 @media (min-width: 768px) { 8858 @media (min-width: 768px) {
8836 .cabinet__nots { 8859 .cabinet__nots {
8837 gap: 20px; 8860 gap: 20px;
8838 } 8861 }
8839 } 8862 }
8840 .cabinet__nots .input { 8863 .cabinet__nots .input {
8841 width: 100%; 8864 width: 100%;
8842 } 8865 }
8843 .cabinet__anketa { 8866 .cabinet__anketa {
8844 display: -webkit-box; 8867 display: -webkit-box;
8845 display: -ms-flexbox; 8868 display: -ms-flexbox;
8846 display: flex; 8869 display: flex;
8847 -webkit-box-orient: vertical; 8870 -webkit-box-orient: vertical;
8848 -webkit-box-direction: normal; 8871 -webkit-box-direction: normal;
8849 -ms-flex-direction: column; 8872 -ms-flex-direction: column;
8850 flex-direction: column; 8873 flex-direction: column;
8851 -webkit-box-pack: justify; 8874 -webkit-box-pack: justify;
8852 -ms-flex-pack: justify; 8875 -ms-flex-pack: justify;
8853 justify-content: space-between; 8876 justify-content: space-between;
8854 gap: 10px; 8877 gap: 10px;
8855 } 8878 }
8856 @media (min-width: 768px) { 8879 @media (min-width: 768px) {
8857 .cabinet__anketa { 8880 .cabinet__anketa {
8858 -webkit-box-orient: horizontal; 8881 -webkit-box-orient: horizontal;
8859 -webkit-box-direction: normal; 8882 -webkit-box-direction: normal;
8860 -ms-flex-direction: row; 8883 -ms-flex-direction: row;
8861 flex-direction: row; 8884 flex-direction: row;
8862 -webkit-box-align: center; 8885 -webkit-box-align: center;
8863 -ms-flex-align: center; 8886 -ms-flex-align: center;
8864 align-items: center; 8887 align-items: center;
8865 } 8888 }
8866 } 8889 }
8867 @media (min-width: 992px) { 8890 @media (min-width: 992px) {
8868 .cabinet__anketa { 8891 .cabinet__anketa {
8869 -webkit-box-orient: vertical; 8892 -webkit-box-orient: vertical;
8870 -webkit-box-direction: normal; 8893 -webkit-box-direction: normal;
8871 -ms-flex-direction: column; 8894 -ms-flex-direction: column;
8872 flex-direction: column; 8895 flex-direction: column;
8873 -webkit-box-align: stretch; 8896 -webkit-box-align: stretch;
8874 -ms-flex-align: stretch; 8897 -ms-flex-align: stretch;
8875 align-items: stretch; 8898 align-items: stretch;
8876 } 8899 }
8877 } 8900 }
8878 @media (min-width: 1280px) { 8901 @media (min-width: 1280px) {
8879 .cabinet__anketa { 8902 .cabinet__anketa {
8880 -webkit-box-orient: horizontal; 8903 -webkit-box-orient: horizontal;
8881 -webkit-box-direction: normal; 8904 -webkit-box-direction: normal;
8882 -ms-flex-direction: row; 8905 -ms-flex-direction: row;
8883 flex-direction: row; 8906 flex-direction: row;
8884 -webkit-box-align: center; 8907 -webkit-box-align: center;
8885 -ms-flex-align: center; 8908 -ms-flex-align: center;
8886 align-items: center; 8909 align-items: center;
8887 -webkit-box-pack: justify; 8910 -webkit-box-pack: justify;
8888 -ms-flex-pack: justify; 8911 -ms-flex-pack: justify;
8889 justify-content: space-between; 8912 justify-content: space-between;
8890 } 8913 }
8891 } 8914 }
8892 .cabinet__anketa-buttons { 8915 .cabinet__anketa-buttons {
8893 display: -webkit-box; 8916 display: -webkit-box;
8894 display: -ms-flexbox; 8917 display: -ms-flexbox;
8895 display: flex; 8918 display: flex;
8896 -webkit-box-orient: vertical; 8919 -webkit-box-orient: vertical;
8897 -webkit-box-direction: normal; 8920 -webkit-box-direction: normal;
8898 -ms-flex-direction: column; 8921 -ms-flex-direction: column;
8899 flex-direction: column; 8922 flex-direction: column;
8900 gap: 10px; 8923 gap: 10px;
8901 } 8924 }
8902 @media (min-width: 768px) { 8925 @media (min-width: 768px) {
8903 .cabinet__anketa-buttons { 8926 .cabinet__anketa-buttons {
8904 display: grid; 8927 display: grid;
8905 grid-template-columns: 1fr 1fr; 8928 grid-template-columns: 1fr 1fr;
8906 gap: 20px; 8929 gap: 20px;
8907 } 8930 }
8908 } 8931 }
8909 .cabinet__stats { 8932 .cabinet__stats {
8910 display: -webkit-box; 8933 display: -webkit-box;
8911 display: -ms-flexbox; 8934 display: -ms-flexbox;
8912 display: flex; 8935 display: flex;
8913 -webkit-box-orient: vertical; 8936 -webkit-box-orient: vertical;
8914 -webkit-box-direction: normal; 8937 -webkit-box-direction: normal;
8915 -ms-flex-direction: column; 8938 -ms-flex-direction: column;
8916 flex-direction: column; 8939 flex-direction: column;
8917 gap: 6px; 8940 gap: 6px;
8918 } 8941 }
8919 @media (min-width: 768px) { 8942 @media (min-width: 768px) {
8920 .cabinet__stats { 8943 .cabinet__stats {
8921 gap: 12px; 8944 gap: 12px;
8922 } 8945 }
8923 } 8946 }
8924 .cabinet__stats-title { 8947 .cabinet__stats-title {
8925 font-size: 14px; 8948 font-size: 14px;
8926 font-weight: 700; 8949 font-weight: 700;
8927 color: #000; 8950 color: #000;
8928 } 8951 }
8929 @media (min-width: 768px) { 8952 @media (min-width: 768px) {
8930 .cabinet__stats-title { 8953 .cabinet__stats-title {
8931 font-size: 24px; 8954 font-size: 24px;
8932 } 8955 }
8933 } 8956 }
8934 .cabinet__stats-body { 8957 .cabinet__stats-body {
8935 background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); 8958 background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%);
8936 border-radius: 8px; 8959 border-radius: 8px;
8937 padding: 10px; 8960 padding: 10px;
8938 display: grid; 8961 display: grid;
8939 grid-template-columns: 1fr 1fr; 8962 grid-template-columns: 1fr 1fr;
8940 gap: 20px; 8963 gap: 20px;
8941 margin-bottom: 10px; 8964 margin-bottom: 10px;
8942 } 8965 }
8943 @media (min-width: 768px) { 8966 @media (min-width: 768px) {
8944 .cabinet__stats-body { 8967 .cabinet__stats-body {
8945 padding: 10px 20px; 8968 padding: 10px 20px;
8946 } 8969 }
8947 } 8970 }
8948 .cabinet__stats-item { 8971 .cabinet__stats-item {
8949 font-size: 12px; 8972 font-size: 12px;
8950 display: -webkit-box; 8973 display: -webkit-box;
8951 display: -ms-flexbox; 8974 display: -ms-flexbox;
8952 display: flex; 8975 display: flex;
8953 -webkit-box-align: center; 8976 -webkit-box-align: center;
8954 -ms-flex-align: center; 8977 -ms-flex-align: center;
8955 align-items: center; 8978 align-items: center;
8956 line-height: 1; 8979 line-height: 1;
8957 gap: 6px; 8980 gap: 6px;
8958 } 8981 }
8959 @media (min-width: 768px) { 8982 @media (min-width: 768px) {
8960 .cabinet__stats-item { 8983 .cabinet__stats-item {
8961 font-size: 20px; 8984 font-size: 20px;
8962 gap: 10px; 8985 gap: 10px;
8963 } 8986 }
8964 } 8987 }
8965 .cabinet__stats-item svg { 8988 .cabinet__stats-item svg {
8966 width: 20px; 8989 width: 20px;
8967 aspect-ratio: 1/1; 8990 aspect-ratio: 1/1;
8968 color: #377d87; 8991 color: #377d87;
8969 } 8992 }
8970 @media (min-width: 768px) { 8993 @media (min-width: 768px) {
8971 .cabinet__stats-item svg { 8994 .cabinet__stats-item svg {
8972 width: 40px; 8995 width: 40px;
8973 margin-right: 10px; 8996 margin-right: 10px;
8974 } 8997 }
8975 } 8998 }
8976 .cabinet__stats-item span { 8999 .cabinet__stats-item span {
8977 font-weight: 700; 9000 font-weight: 700;
8978 color: #000; 9001 color: #000;
8979 } 9002 }
8980 .cabinet__stats-item b { 9003 .cabinet__stats-item b {
8981 color: #377d87; 9004 color: #377d87;
8982 font-size: 14px; 9005 font-size: 14px;
8983 } 9006 }
8984 @media (min-width: 768px) { 9007 @media (min-width: 768px) {
8985 .cabinet__stats-item b { 9008 .cabinet__stats-item b {
8986 font-size: 24px; 9009 font-size: 24px;
8987 } 9010 }
8988 } 9011 }
8989 .cabinet__stats-subtitle { 9012 .cabinet__stats-subtitle {
8990 font-size: 14px; 9013 font-size: 14px;
8991 font-weight: 700; 9014 font-weight: 700;
8992 color: #377d87; 9015 color: #377d87;
8993 } 9016 }
8994 @media (min-width: 768px) { 9017 @media (min-width: 768px) {
8995 .cabinet__stats-subtitle { 9018 .cabinet__stats-subtitle {
8996 font-size: 18px; 9019 font-size: 18px;
8997 } 9020 }
8998 } 9021 }
8999 .cabinet__stats-line { 9022 .cabinet__stats-line {
9000 width: 100%; 9023 width: 100%;
9001 position: relative; 9024 position: relative;
9002 overflow: hidden; 9025 overflow: hidden;
9003 height: 8px; 9026 height: 8px;
9004 border-radius: 999px; 9027 border-radius: 999px;
9005 background: #cecece; 9028 background: #cecece;
9006 } 9029 }
9007 .cabinet__stats-line span { 9030 .cabinet__stats-line span {
9008 position: absolute; 9031 position: absolute;
9009 top: 0; 9032 top: 0;
9010 left: 0; 9033 left: 0;
9011 width: 100%; 9034 width: 100%;
9012 height: 100%; 9035 height: 100%;
9013 background: #377d87; 9036 background: #377d87;
9014 border-radius: 999px; 9037 border-radius: 999px;
9015 } 9038 }
9016 .cabinet__stats-bottom { 9039 .cabinet__stats-bottom {
9017 color: #000; 9040 color: #000;
9018 font-size: 12px; 9041 font-size: 12px;
9019 } 9042 }
9020 @media (min-width: 768px) { 9043 @media (min-width: 768px) {
9021 .cabinet__stats-bottom { 9044 .cabinet__stats-bottom {
9022 font-size: 16px; 9045 font-size: 16px;
9023 } 9046 }
9024 } 9047 }
9025 .cabinet__works { 9048 .cabinet__works {
9026 display: -webkit-box; 9049 display: -webkit-box;
9027 display: -ms-flexbox; 9050 display: -ms-flexbox;
9028 display: flex; 9051 display: flex;
9029 -webkit-box-orient: vertical; 9052 -webkit-box-orient: vertical;
9030 -webkit-box-direction: normal; 9053 -webkit-box-direction: normal;
9031 -ms-flex-direction: column; 9054 -ms-flex-direction: column;
9032 flex-direction: column; 9055 flex-direction: column;
9033 gap: 20px; 9056 gap: 20px;
9034 } 9057 }
9035 @media (min-width: 768px) { 9058 @media (min-width: 768px) {
9036 .cabinet__works { 9059 .cabinet__works {
9037 gap: 30px; 9060 gap: 30px;
9038 } 9061 }
9039 } 9062 }
9040 .cabinet__works-item { 9063 .cabinet__works-item {
9041 border-bottom: 1px #cccccc solid; 9064 border-bottom: 1px #cccccc solid;
9042 padding-bottom: 35px; 9065 padding-bottom: 35px;
9043 } 9066 }
9044 .cabinet__works-spoiler { 9067 .cabinet__works-spoiler {
9045 display: -webkit-box; 9068 display: -webkit-box;
9046 display: -ms-flexbox; 9069 display: -ms-flexbox;
9047 display: flex; 9070 display: flex;
9048 -webkit-box-align: center; 9071 -webkit-box-align: center;
9049 -ms-flex-align: center; 9072 -ms-flex-align: center;
9050 align-items: center; 9073 align-items: center;
9051 -webkit-box-pack: justify; 9074 -webkit-box-pack: justify;
9052 -ms-flex-pack: justify; 9075 -ms-flex-pack: justify;
9053 justify-content: space-between; 9076 justify-content: space-between;
9054 } 9077 }
9055 .cabinet__works-spoiler-left { 9078 .cabinet__works-spoiler-left {
9056 display: -webkit-box; 9079 display: -webkit-box;
9057 display: -ms-flexbox; 9080 display: -ms-flexbox;
9058 display: flex; 9081 display: flex;
9059 -webkit-box-align: center; 9082 -webkit-box-align: center;
9060 -ms-flex-align: center; 9083 -ms-flex-align: center;
9061 align-items: center; 9084 align-items: center;
9062 width: calc(100% - 22px); 9085 width: calc(100% - 22px);
9063 } 9086 }
9064 .cabinet__works-spoiler-right { 9087 .cabinet__works-spoiler-right {
9065 width: 22px; 9088 width: 22px;
9066 height: 22px; 9089 height: 22px;
9067 display: -webkit-box; 9090 display: -webkit-box;
9068 display: -ms-flexbox; 9091 display: -ms-flexbox;
9069 display: flex; 9092 display: flex;
9070 -webkit-box-align: center; 9093 -webkit-box-align: center;
9071 -ms-flex-align: center; 9094 -ms-flex-align: center;
9072 align-items: center; 9095 align-items: center;
9073 -webkit-box-pack: center; 9096 -webkit-box-pack: center;
9074 -ms-flex-pack: center; 9097 -ms-flex-pack: center;
9075 justify-content: center; 9098 justify-content: center;
9076 color: #377d87; 9099 color: #377d87;
9077 padding: 0; 9100 padding: 0;
9078 background: none; 9101 background: none;
9079 border: none; 9102 border: none;
9080 } 9103 }
9081 .cabinet__works-spoiler-right svg { 9104 .cabinet__works-spoiler-right svg {
9082 width: 60%; 9105 width: 60%;
9083 aspect-ratio: 1/1; 9106 aspect-ratio: 1/1;
9084 -webkit-transform: rotate(90deg); 9107 -webkit-transform: rotate(90deg);
9085 -ms-transform: rotate(90deg); 9108 -ms-transform: rotate(90deg);
9086 transform: rotate(90deg); 9109 transform: rotate(90deg);
9087 -webkit-transition: 0.3s; 9110 -webkit-transition: 0.3s;
9088 transition: 0.3s; 9111 transition: 0.3s;
9089 } 9112 }
9090 .cabinet__works-spoiler.active .cabinet__works-spoiler-right svg { 9113 .cabinet__works-spoiler.active .cabinet__works-spoiler-right svg {
9091 -webkit-transform: rotate(-90deg); 9114 -webkit-transform: rotate(-90deg);
9092 -ms-transform: rotate(-90deg); 9115 -ms-transform: rotate(-90deg);
9093 transform: rotate(-90deg); 9116 transform: rotate(-90deg);
9094 } 9117 }
9095 .cabinet__works-spoiler-buttons { 9118 .cabinet__works-spoiler-buttons {
9096 display: -webkit-box; 9119 display: -webkit-box;
9097 display: -ms-flexbox; 9120 display: -ms-flexbox;
9098 display: flex; 9121 display: flex;
9099 -webkit-box-align: center; 9122 -webkit-box-align: center;
9100 -ms-flex-align: center; 9123 -ms-flex-align: center;
9101 align-items: center; 9124 align-items: center;
9102 -webkit-box-pack: justify; 9125 -webkit-box-pack: justify;
9103 -ms-flex-pack: justify; 9126 -ms-flex-pack: justify;
9104 justify-content: space-between; 9127 justify-content: space-between;
9105 width: 60px; 9128 width: 60px;
9106 } 9129 }
9107 @media (min-width: 768px) { 9130 @media (min-width: 768px) {
9108 .cabinet__works-spoiler-buttons { 9131 .cabinet__works-spoiler-buttons {
9109 width: 74px; 9132 width: 74px;
9110 } 9133 }
9111 } 9134 }
9112 .cabinet__works-spoiler-buttons .button { 9135 .cabinet__works-spoiler-buttons .button {
9113 width: 22px; 9136 width: 22px;
9114 height: 22px; 9137 height: 22px;
9115 padding: 0; 9138 padding: 0;
9116 } 9139 }
9117 @media (min-width: 768px) { 9140 @media (min-width: 768px) {
9118 .cabinet__works-spoiler-buttons .button { 9141 .cabinet__works-spoiler-buttons .button {
9119 width: 30px; 9142 width: 30px;
9120 height: 30px; 9143 height: 30px;
9121 } 9144 }
9122 } 9145 }
9123 .cabinet__works-spoiler-text { 9146 .cabinet__works-spoiler-text {
9124 width: calc(100% - 60px); 9147 width: calc(100% - 60px);
9125 font-size: 17px; 9148 font-size: 17px;
9126 font-weight: 700; 9149 font-weight: 700;
9127 color: #000; 9150 color: #000;
9128 } 9151 }
9129 @media (min-width: 768px) { 9152 @media (min-width: 768px) {
9130 .cabinet__works-spoiler-text { 9153 .cabinet__works-spoiler-text {
9131 width: calc(100% - 74px); 9154 width: calc(100% - 74px);
9132 font-size: 22px; 9155 font-size: 22px;
9133 } 9156 }
9134 } 9157 }
9135 9158
9136 .cabinet__works-add { 9159 .cabinet__works-add {
9137 padding: 0; 9160 padding: 0;
9138 width: 100%; 9161 width: 100%;
9139 max-width: 160px; 9162 max-width: 160px;
9140 } 9163 }
9141 @media (min-width: 768px) { 9164 @media (min-width: 768px) {
9142 .cabinet__works-add { 9165 .cabinet__works-add {
9143 max-width: 220px; 9166 max-width: 220px;
9144 } 9167 }
9145 } 9168 }
9146 .cabinet__buttons { 9169 .cabinet__buttons {
9147 display: -webkit-box; 9170 display: -webkit-box;
9148 display: -ms-flexbox; 9171 display: -ms-flexbox;
9149 display: flex; 9172 display: flex;
9150 -webkit-box-orient: vertical; 9173 -webkit-box-orient: vertical;
9151 -webkit-box-direction: normal; 9174 -webkit-box-direction: normal;
9152 -ms-flex-direction: column; 9175 -ms-flex-direction: column;
9153 flex-direction: column; 9176 flex-direction: column;
9154 -webkit-box-align: center; 9177 -webkit-box-align: center;
9155 -ms-flex-align: center; 9178 -ms-flex-align: center;
9156 align-items: center; 9179 align-items: center;
9157 gap: 10px; 9180 gap: 10px;
9158 } 9181 }
9159 @media (min-width: 768px) { 9182 @media (min-width: 768px) {
9160 .cabinet__buttons { 9183 .cabinet__buttons {
9161 display: grid; 9184 display: grid;
9162 grid-template-columns: 1fr 1fr; 9185 grid-template-columns: 1fr 1fr;
9163 gap: 20px; 9186 gap: 20px;
9164 } 9187 }
9165 } 9188 }
9166 .cabinet__buttons .button, 9189 .cabinet__buttons .button,
9167 .cabinet__buttons .file { 9190 .cabinet__buttons .file {
9168 padding: 0; 9191 padding: 0;
9169 width: 100%; 9192 width: 100%;
9170 max-width: 140px; 9193 max-width: 140px;
9171 } 9194 }
9172 @media (min-width: 768px) { 9195 @media (min-width: 768px) {
9173 .cabinet__buttons .button, 9196 .cabinet__buttons .button,
9174 .cabinet__buttons .file { 9197 .cabinet__buttons .file {
9175 max-width: none; 9198 max-width: none;
9176 } 9199 }
9177 } 9200 }
9178 @media (min-width: 768px) { 9201 @media (min-width: 768px) {
9179 .cabinet__buttons { 9202 .cabinet__buttons {
9180 gap: 20px; 9203 gap: 20px;
9181 } 9204 }
9182 } 9205 }
9183 @media (min-width: 1280px) { 9206 @media (min-width: 1280px) {
9184 .cabinet__buttons { 9207 .cabinet__buttons {
9185 max-width: 400px; 9208 max-width: 400px;
9186 } 9209 }
9187 } 9210 }
9188 .cabinet__buttons_flex{ 9211 .cabinet__buttons_flex{
9189 display: flex; 9212 display: flex;
9190 } 9213 }
9191 .cabinet__buttons_flex > *{ 9214 .cabinet__buttons_flex > *{
9192 margin-right: 10px; 9215 margin-right: 10px;
9193 } 9216 }
9194 .cabinet__vacs { 9217 .cabinet__vacs {
9195 display: -webkit-box; 9218 display: -webkit-box;
9196 display: -ms-flexbox; 9219 display: -ms-flexbox;
9197 display: flex; 9220 display: flex;
9198 -webkit-box-orient: vertical; 9221 -webkit-box-orient: vertical;
9199 -webkit-box-direction: reverse; 9222 -webkit-box-direction: reverse;
9200 -ms-flex-direction: column-reverse; 9223 -ms-flex-direction: column-reverse;
9201 flex-direction: column-reverse; 9224 flex-direction: column-reverse;
9202 -webkit-box-align: center; 9225 -webkit-box-align: center;
9203 -ms-flex-align: center; 9226 -ms-flex-align: center;
9204 align-items: center; 9227 align-items: center;
9205 gap: 20px; 9228 gap: 20px;
9206 } 9229 }
9207 .cabinet__vacs-body { 9230 .cabinet__vacs-body {
9208 display: -webkit-box; 9231 display: -webkit-box;
9209 display: -ms-flexbox; 9232 display: -ms-flexbox;
9210 display: flex; 9233 display: flex;
9211 -webkit-box-orient: vertical; 9234 -webkit-box-orient: vertical;
9212 -webkit-box-direction: normal; 9235 -webkit-box-direction: normal;
9213 -ms-flex-direction: column; 9236 -ms-flex-direction: column;
9214 flex-direction: column; 9237 flex-direction: column;
9215 gap: 20px; 9238 gap: 20px;
9216 width: 100%; 9239 width: 100%;
9217 } 9240 }
9218 @media (min-width: 768px) { 9241 @media (min-width: 768px) {
9219 .cabinet__vacs-body { 9242 .cabinet__vacs-body {
9220 gap: 30px; 9243 gap: 30px;
9221 } 9244 }
9222 } 9245 }
9223 .cabinet__vacs-item { 9246 .cabinet__vacs-item {
9224 display: none; 9247 display: none;
9225 background: #fff; 9248 background: #fff;
9226 -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); 9249 -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
9227 box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); 9250 box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
9228 } 9251 }
9229 .cabinet__vacs-item:nth-of-type(1), .cabinet__vacs-item:nth-of-type(2) { 9252 .cabinet__vacs-item:nth-of-type(1), .cabinet__vacs-item:nth-of-type(2) {
9230 display: -webkit-box; 9253 display: -webkit-box;
9231 display: -ms-flexbox; 9254 display: -ms-flexbox;
9232 display: flex; 9255 display: flex;
9233 } 9256 }
9234 .cabinet__vacs.active .cabinet__vacs-item { 9257 .cabinet__vacs.active .cabinet__vacs-item {
9235 display: -webkit-box; 9258 display: -webkit-box;
9236 display: -ms-flexbox; 9259 display: -ms-flexbox;
9237 display: flex; 9260 display: flex;
9238 } 9261 }
9239 .main__employer-page-two-item-text-body img { 9262 .main__employer-page-two-item-text-body img {
9240 display: inline !important; 9263 display: inline !important;
9241 border: none !important; 9264 border: none !important;
9242 box-shadow: none !important; 9265 box-shadow: none !important;
9243 height: 1em !important; 9266 height: 1em !important;
9244 width: 1em !important; 9267 width: 1em !important;
9245 margin: 0 0.07em !important; 9268 margin: 0 0.07em !important;
9246 vertical-align: -0.1em !important; 9269 vertical-align: -0.1em !important;
9247 background: none !important; 9270 background: none !important;
9248 padding: 0 !important; 9271 padding: 0 !important;
9249 } 9272 }
9250 .main__employer-page-two-item-text-body p{ 9273 .main__employer-page-two-item-text-body p{
9251 margin: 0 0 20px; 9274 margin: 0 0 20px;
9252 } 9275 }
9253 #sertificate .one-sertificate{ 9276 #sertificate .one-sertificate{
9254 display: flex; 9277 display: flex;
9255 justify-content: space-between; 9278 justify-content: space-between;
9256 margin-bottom: 15px; 9279 margin-bottom: 15px;
9257 border-bottom: 1px #ccc solid; 9280 border-bottom: 1px #ccc solid;
9258 padding-bottom: 15px; 9281 padding-bottom: 15px;
9259 } 9282 }
9260 #sertificate .one-sertificate .sertificate-field{ 9283 #sertificate .one-sertificate .sertificate-field{
9261 display: block; 9284 display: block;
9262 } 9285 }
9263 #sertificate .one-sertificate .sertificate-field.sertificate-name{ 9286 #sertificate .one-sertificate .sertificate-field.sertificate-name{
9264 width: 50%; 9287 width: 50%;
9265 max-width: 50%; 9288 max-width: 50%;
9266 } 9289 }
9267 #sertificate .one-sertificate .sertificate-field.sertificate-buttons{ 9290 #sertificate .one-sertificate .sertificate-field.sertificate-buttons{
9268 display: flex; 9291 display: flex;
9269 justify-content: space-between; 9292 justify-content: space-between;
9270 } 9293 }
9271 #sertificate .one-sertificate .sertificate-field.sertificate-buttons a{ 9294 #sertificate .one-sertificate .sertificate-field.sertificate-buttons a{
9272 width: 30px; 9295 width: 30px;
9273 height: 30px; 9296 height: 30px;
9274 padding: 5px; 9297 padding: 5px;
9275 } 9298 }
9276 #prev_worker .cabinet__inputs-item-buttons a{ 9299 #prev_worker .cabinet__inputs-item-buttons a{
9277 width: 30px; 9300 width: 30px;
9278 height: 30px; 9301 height: 30px;
9279 padding: 5px; 9302 padding: 5px;
9280 } 9303 }
9281 #prev_worker .cabinet__inputs-item-buttons{ 9304 #prev_worker .cabinet__inputs-item-buttons{
9282 width: 100px; 9305 width: 100px;
9283 } 9306 }
9284 #prev_worker .cabinet__inputs{ 9307 #prev_worker .cabinet__inputs{
9285 -webkit-box-align: start; 9308 -webkit-box-align: start;
9286 -ms-flex-align: start; 9309 -ms-flex-align: start;
9287 align-items: start; 9310 align-items: start;
9288 } 9311 }
9289 #prev_worker .cabinet__inputs-item-buttons flex{ 9312 #prev_worker .cabinet__inputs-item-buttons flex{
9290 justify-content: end; 9313 justify-content: end;
9291 } 9314 }
9292 #prev_worker .cabinet__body-item{ 9315 #prev_worker .cabinet__body-item{
9293 border-bottom: 1px #cccccc solid; 9316 border-bottom: 1px #cccccc solid;
9294 padding-bottom: 25px; 9317 padding-bottom: 25px;
9295 } 9318 }
9296 @media (max-width: 1280px) { 9319 @media (max-width: 1280px) {
9297 #prev_worker .cabinet__inputs-item-buttons{ 9320 #prev_worker .cabinet__inputs-item-buttons{
9298 position: absolute; 9321 position: absolute;
9299 right: 0; 9322 right: 0;
9300 } 9323 }
9301 } 9324 }
9302 body .cke_notifications_area{ 9325 body .cke_notifications_area{
9303 opacity: 0; 9326 opacity: 0;
9304 display: none !important; 9327 display: none !important;
9305 } 9328 }
9306 .unread-messages-count{ 9329 .unread-messages-count{
9307 background-color: #377d87; 9330 background-color: #377d87;
9308 color: #fff; 9331 color: #fff;
9309 padding: 5px 10px; 9332 padding: 5px 10px;
9310 border-radius: 45px; 9333 border-radius: 45px;
9311 } 9334 }
9312 9335
9313 .flot-one-ship .flot-label{ 9336 .flot-one-ship .flot-label{
9314 font-weight: bold; 9337 font-weight: bold;
9315 display: flex; 9338 display: flex;
9316 } 9339 }
9317 .flot-one-ship .flot-label .flot-label-name{ 9340 .flot-one-ship .flot-label .flot-label-name{
9318 color: #377d87; 9341 color: #377d87;
9319 min-width: 120px; 9342 min-width: 120px;
9320 } 9343 }
9321 9344
resources/views/admin/employer_main/index.blade.php
1 @extends('layout.admin', ['title' => 'Админка - Работодатели на главной']) 1 @extends('layout.admin', ['title' => 'Админка - Работодатели на главной'])
2 2
3 @section('script') 3 @section('script')
4 <script> 4 <script>
5 $(document).ready(function() { 5 $(document).ready(function() {
6 $(document).on('change', '.check_js', function () { 6 $(document).on('change', '.check_js', function () {
7 var this_ = $(this); 7 var this_ = $(this);
8 var id = this_.attr('id'); 8 var wrap = this_.closest('tr');
9 var id = wrap.data('id');
9 var field = this_.attr('data-field'); 10 var field = this_.attr('data-field');
10 var value = this_.val(); 11 var value = this_.val();
11 var ajax_block = $('#ajax_block'); 12 var ajax_block = $('#ajax_block');
12 var str ="id=" + id + "&"+ field + "=" + value; 13 var str ="id=" + id + "&"+ field + "=" + value;
13 console.log(str); 14
14 $.ajax({ 15 $.ajax({
15 type: "GET", 16 type: "GET",
16 url: "{{ url()->full()}}", 17 url: "{{ url()->full()}}",
17 data: str, 18 data: str,
18 success: function (data) { 19 success: function (data) {
19 console.log('Обновление таблицы пользователей ');
20 //data = JSON.parse(data);
21 //console.log(data);
22 ajax_block.html(data); 20 ajax_block.html(data);
23 }, 21 },
24 headers: { 22 headers: {
25 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 23 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
26 }, 24 },
27 error: function (data) { 25 error: function (data) {
28 console.log('Error: ' + data); 26 console.log('Error: ' + data);
29 } 27 }
30 }); 28 });
31 }); 29 });
32 30
31 $(document).on('click', '.employers-main-remove-button', function(){
32 spinStart($(this));
33 var this_btn = $(this);
34 var wrap = this_btn.closest('tr');
35 var id = wrap.data('id');
36
37 @php
38 $page = request()->get('page');
39 @endphp
40
41 $.ajax({
42 type: "POST",
43 url: "{{ route('admin.employers-main-remove')}}",
44 data: {
45 id: id,
46 page: {{ $page }}
47 },
48 success: function (data) {
49 $('#ajax_block').html(data);
50 },
51 headers: {
52 'X-CSRF-TOKEN': $('[name="_token"]').val()
53 },
54 error: function (data) {
55 console.log('Error: ' + data);
56 }
57 });
58 });
59
60 $(document).on('click', '.employers-main-add-button', function(){
61 spinStart($(this));
62 var this_btn = $(this);
63
64 @php
65 $page = request()->get('page');
66 @endphp
67
68 $.ajax({
69 type: "POST",
70 url: "{{ route('admin.employers-main-add')}}",
71 data:{
72 page: {{ $page }}
73 },
74 success: function (data) {
75 spinStop(this_btn);
76 $('#ajax_block').html(data);
77 },
78 headers: {
79 'X-CSRF-TOKEN': $('[name="_token"]').val()
80 },
81 error: function (data) {
82 console.log('Error: ' + data);
83 }
84 });
85 });
86
33 }); 87 });
34 </script> 88 </script>
35 @endsection 89 @endsection
36 90
37 @section('search')
38 <!--<div class="absolute inset-y-0 flex items-center pl-2">
39 <svg
40 class="w-4 h-4"
41 aria-hidden="true"
42 fill="currentColor"
43 viewBox="0 0 20 20"
44 >
45 <path
46 fill-rule="evenodd"
47 d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z"
48 clip-rule="evenodd"
49 ></path>
50 </svg>
51 </div>
52 <form action="" method="POST">
53 <div style="float:left;"><input
54 class="w-full pl-8 pr-2 text-sm text-gray-700 placeholder-gray-600 bg-gray-100 border-0 rounded-md dark:placeholder-gray-500 dark:focus:shadow-outline-gray dark:focus:placeholder-gray-600 dark:bg-gray-700 dark:text-gray-200 focus:placeholder-gray-500 focus:bg-white focus:border-purple-300 focus:outline-none focus:shadow-outline-purple form-input"
55 style="width: 400px"
56 type="text"
57 placeholder="Искать..."
58 aria-label="Search"
59 /></div>
60 <div style="float: left">
61 <button type="submit" class="px-3 py-1 rounded-md focus:outline-none focus:shadow-outline-purple">Искать</button>
62 </div>
63 </form>-->
64 @endsection
65
66 @section('content') 91 @section('content')
67 <style> 92 <style>
68 .col { 93 .col {
69 width: 250px; /* Ширина блока */ 94 width: 250px; /* Ширина блока */
70 word-wrap: break-word; /* Перенос слов */ 95 word-wrap: break-word; /* Перенос слов */
71 word-break: break-all; 96 word-break: break-all;
72 } 97 }
73 </style> 98 </style>
99 @csrf
100 <div class="mb-10">
101 <button class="employers-main-add-button flex px-3 py-1 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-green-600 border border-transparent rounded-md active:bg-purple-600 hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple">
102 Добавить работодателя на главную
103 </button>
104 </div>
74 <div class="w-full overflow-hidden rounded-lg shadow-xs" id="ajax_block"> 105 <div class="w-full overflow-hidden rounded-lg shadow-xs" id="ajax_block">
75 <div class="w-full overflow-x-auto"> 106 @include('admin.employer_main.table')
76 <table class="w-full whitespace-no-wrap">
77 <thead>
resources/views/admin/employer_main/index_ajax.blade.php
1 <div class="w-full overflow-x-auto"> File was deleted
2 <table class="w-full whitespace-no-wrap">
3 <thead>
4 <tr
5 class="text-xs font-semibold tracking-wide text-left text-gray-500 uppercase border-b dark:border-gray-700 bg-gray-50 dark:text-gray-400 dark:bg-gray-800"
6 >
7 <th class="px-4 py-3">№</th>
8 <th class="px-4 py-3">Название пункта</th>
9 <th class="px-4 py-3">Название компании</th>
10 <th class="px-4 py-3">Сортировка</th>
11 </tr>
12 </thead>
13 <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800">
14 <? foreach($employers as $emp) {?>
15 <tr class="text-gray-700 dark:text-gray-400">
16 <td class="px-4 py-3">
17 {{$emp->id}}
18 </td>
19 <td class="px-4 py-3">
20 {{$emp->name}}
21 </td>
22 <td class="px-4 py-3">
23 <select name="employer_id{{$emp->employer_id}}" id="{{$emp->id}}" data-field="employer_id" class="form-control check_js">
24 <option value="0"
25 @if($emp->employer_id == 0)
26 selected
27 @endif
28 >Не указано</option>
29 @isset($list_employers)
30 @foreach($list_employers as $lemp)
31 <option value="{{ $lemp->id }}"
32 @if($lemp->id == $emp->employer_id)
33 selected
34 @endif
35 >{{ $lemp->name_company }} ({{ $lemp->id }})</option>
36 @endforeach
37 @endisset
38 </select>
39 </td>
40 <td class="px-4 py-3 text-sm">
41 <select name="sort{{$emp->employer_id}}" id="{{$emp->id}}" data-field="sort" class="form-control check_js">
42 <option value="100" @if($emp->sort == '100') selected @endif>100</option>
43 <option value="110" @if($emp->sort == '110') selected @endif>110</option>
44 <option value="120" @if($emp->sort == '120') selected @endif>120</option>
45 <option value="130" @if($emp->sort == '130') selected @endif>130</option>
46 <option value="140" @if($emp->sort == '140') selected @endif>140</option>
47 <option value="150" @if($emp->sort == '150') selected @endif>150</option>
48 <option value="160" @if($emp->sort == '160') selected @endif>160</option>
49 <option value="170" @if($emp->sort == '170') selected @endif>170</option>
50 <option value="180" @if($emp->sort == '180') selected @endif>180</option>
51 <option value="190" @if($emp->sort == '190') selected @endif>190</option>
52 <option value="200" @if($emp->sort == '200') selected @endif>200</option>
53 </select>
54 </td>
55 </tr>
56 <? } ?>
57 </tbody>
58 </table>
59 </div>
60
61 <div class="grid px-4 py-3 text-xs font-semibold tracking-wide text-gray-500 uppercase border-t dark:border-gray-700 bg-gray-50 sm:grid-cols-9 dark:text-gray-400 dark:bg-gray-800">
62 <?=$employers->appends($_GET)->links('admin.pagginate'); ?>
63 </div>
64 1 <div class="w-full overflow-x-auto">
resources/views/admin/employer_main/table.blade.php
File was created 1 <div class="w-full overflow-x-auto">
2 <table class="w-full whitespace-no-wrap">
3 <thead>
4 <tr
5 class="text-xs font-semibold tracking-wide text-left text-gray-500 uppercase border-b dark:border-gray-700 bg-gray-50 dark:text-gray-400 dark:bg-gray-800"
6 >
7 <th class="px-4 py-3">Название компании</th>
8 <th class="px-4 py-3">Сортировка</th>
9 <th class="px-4 py-3"></th>
10 </tr>
11 </thead>
12 <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800">
13 @foreach($employers as $emp)
14 <tr class="text-gray-700 dark:text-gray-400" data-id="{{$emp->id}}">
15 <td class="px-4 py-3">
16 <select name="employer_id{{$emp->employer_id}}" data-field="employer_id" class="form-control check_js">
17 <option value="0"
18 @if($emp->employer_id == 0)
19 selected
20 @endif
21 >Не указано</option>
22 @isset($list_employers)
23 @foreach($list_employers as $lemp)
24 <option value="{{ $lemp->id }}"
25 @if($lemp->id == $emp->employer_id)
26 selected
27 @endif
28 >{{ $lemp->name_company }} ({{ $lemp->id }})</option>
29 @endforeach
30 @endisset
31 </select>
32 </td>
33 <td class="px-4 py-3 text-sm">
34 <select name="sort{{$emp->employer_id}}" data-field="sort" class="form-control check_js">
35 @for($i = 0; $i <= 30; $i++)
36 @php
37 $value = $i * 10 + 100;
38 @endphp
39
40 <option value="{{ $value }}" @if($emp->sort == $value) selected @endif>{{ $value }}</option>
41 @endfor
42 </select>
43 </td>
44 <td class="px-4 py-3" style="width:150px;" >
45 <button class="employers-main-remove-button flex px-3 py-1 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-red-600 border border-transparent rounded-md active:bg-purple-600 hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple">
46 Удалить
47 </button>
48 </td>
49 </tr>
50 @endforeach
51 </tbody>
52 </table>
53 </div>
54
resources/views/employers/dialog.blade.php
1 @extends('layout.frontend', ['title' => 'Диалог-переписка - РекаМоре']) 1 @extends('layout.frontend', ['title' => 'Диалог-переписка - РекаМоре'])
2 2
3 @section('scripts') 3 @section('scripts')
4 <script> 4 <script>
5 $(function(){ 5 $(function(){
6 var chatbox_div = $('.chatbox__list'); 6 var chatbox_div = $('.chatbox__list');
7 chatbox_div.scrollTop(chatbox_div.prop("scrollHeight")); 7 chatbox_div.scrollTop(chatbox_div.prop("scrollHeight"));
8
9 $('form.chatbox__bottom [name="file"]').on('change', function() {
10 var fileName = $(this).val().split('\\').pop();
11 $('.chatbox-file-name-wrap').text('Добавлен файл: ' + fileName);
12 });
8 }); 13 });
9 14
10 $(document).on('change', '#send_btn', function() { 15 $(document).on('change', '#send_btn', function() {
11 var this_ = $(this); 16 var this_ = $(this);
12 var val_ = this_.val(); 17 var val_ = this_.val();
13 console.log('sort items '+val_); 18 console.log('sort items '+val_);
14 19
15 $.ajax({ 20 $.ajax({
16 type: "GET", 21 type: "GET",
17 url: "{{ route('shipping_companies') }}", 22 url: "{{ route('shipping_companies') }}",
18 data: "sort="+val_+"&block=1", 23 data: "sort="+val_+"&block=1",
19 success: function (data) { 24 success: function (data) {
20 console.log('Выбор сортировки'); 25 console.log('Выбор сортировки');
21 console.log(data); 26 console.log(data);
22 $('#block_1').html(data); 27 $('#block_1').html(data);
23 }, 28 },
24 headers: { 29 headers: {
25 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 30 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
26 }, 31 },
27 error: function (data) { 32 error: function (data) {
28 data = JSON.stringify(data); 33 data = JSON.stringify(data);
29 console.log('Error: ' + data); 34 console.log('Error: ' + data);
30 } 35 }
31 }); 36 });
32 37
33 $.ajax({ 38 $.ajax({
34 type: "GET", 39 type: "GET",
35 url: "{{ route('shipping_companies') }}", 40 url: "{{ route('shipping_companies') }}",
36 data: "sort="+val_+"&block=2", 41 data: "sort="+val_+"&block=2",
37 success: function (data) { 42 success: function (data) {
38 console.log('Выбор сортировки2'); 43 console.log('Выбор сортировки2');
39 console.log(data); 44 console.log(data);
40 history.pushState({}, '', "{{ route('shipping_companies') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); 45 history.pushState({}, '', "{{ route('shipping_companies') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif");
41 $('#block_2').html(data); 46 $('#block_2').html(data);
42 }, 47 },
43 headers: { 48 headers: {
44 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 49 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
45 }, 50 },
46 error: function (data) { 51 error: function (data) {
47 data = JSON.stringify(data); 52 data = JSON.stringify(data);
48 console.log('Error: ' + data); 53 console.log('Error: ' + data);
49 } 54 }
50 }); 55 });
51 }); 56 });
52 </script> 57 </script>
53 @endsection 58 @endsection
54 59
55 @section('content') 60 @section('content')
56 <section class="cabinet"> 61 <section class="cabinet">
57 <div class="container"> 62 <div class="container">
58 <ul class="breadcrumbs cabinet__breadcrumbs"> 63 <ul class="breadcrumbs cabinet__breadcrumbs">
59 <li><a href="{{ route('index') }}">Главная</a></li> 64 <li><a href="{{ route('index') }}">Главная</a></li>
60 <li><b>Личный кабинет</b></li> 65 <li><b>Личный кабинет</b></li>
61 </ul> 66 </ul>
62 <div class="cabinet__wrapper"> 67 <div class="cabinet__wrapper">
63 <div class="cabinet__side"> 68 <div class="cabinet__side">
64 <div class="cabinet__side-toper"> 69 <div class="cabinet__side-toper">
65 @include('employers.emblema') 70 @include('employers.emblema')
66 </div> 71 </div>
67 @include('employers.menu', ['item' => 5]) 72 @include('employers.menu', ['item' => 5])
68 </div> 73 </div>
69 <div class="cabinet__body"> 74 <div class="cabinet__body">
70 <div class="cabinet__body-item"> 75 <div class="cabinet__body-item">
71 <h2 class="title cabinet__title">Сообщения</h2> 76 <h2 class="title cabinet__title">Сообщения</h2>
72 </div> 77 </div>
73 <div class="cabinet__body-item"> 78 <div class="cabinet__body-item">
74 <a href="{{ route('employer.messages', ['type_message' => 'input']) }}" class="back"> 79 <a href="{{ route('employer.messages', ['type_message' => 'input']) }}" class="back">
75 <svg> 80 <svg>
76 <use xlink:href="{{ asset('images/sprite.svg#back') }}"></use> 81 <use xlink:href="{{ asset('images/sprite.svg#back') }}"></use>
77 </svg> 82 </svg>
78 <span> 83 <span>
79 К списку чатов 84 К списку чатов
80 </span> 85 </span>
81 </a> 86 </a>
82 <div class="chatbox"> 87 <div class="chatbox">
83 <div class="chatbox__toper"> 88 <div class="chatbox__toper">
84 @if ($companion->is_worker) 89 @if ($companion->is_worker)
85 <div class="chatbox__toper-info messages__item-info"> 90 <div class="chatbox__toper-info messages__item-info">
86 <div class="messages__item-photo"> 91 <div class="messages__item-photo">
87 <svg> 92 <svg>
88 <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> 93 <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use>
89 </svg> 94 </svg>
90 @if ((isset($companion->workers[0]->photo)) && 95 @if ((isset($companion->workers[0]->photo)) &&
91 (!empty($companion->workers[0]->photo))) 96 (!empty($companion->workers[0]->photo)))
92 <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->workers[0]->photo)) }}" alt=""> 97 <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->workers[0]->photo)) }}" alt="">
93 @else 98 @else
94 <img src="{{ asset('images/default_man.jpg') }}" alt=""> 99 <img src="{{ asset('images/default_man.jpg') }}" alt="">
95 @endif 100 @endif
96 </div> 101 </div>
97 <div class="messages__item-text"> 102 <div class="messages__item-text">
98 <div>{{ $companion->surname." ".$companion->name_man." ".$companion->surname2." (".$companion->id.")" }} </div> 103 <div>{{ $companion->surname." ".$companion->name_man." ".$companion->surname2." (".$companion->id.")" }} </div>
99 </div> 104 </div>
100 </div> 105 </div>
101 @if (isset($companion->workers[0]->id)) 106 @if (isset($companion->workers[0]->id))
102 <a href="{{ route('resume_profile', ['worker' => $companion->workers[0]->id]) }}" class="button chatbox__toper-button"> 107 <a href="{{ route('resume_profile', ['worker' => $companion->workers[0]->id]) }}" class="button chatbox__toper-button">
103 <svg> 108 <svg>
104 <use xlink:href="{{ asset('images/sprite.svg#cabinet-1') }}"></use> 109 <use xlink:href="{{ asset('images/sprite.svg#cabinet-1') }}"></use>
105 </svg> 110 </svg>
106 Перейти в профиль 111 Перейти в профиль
107 </a> 112 </a>
108 @endif 113 @endif
109 @else 114 @else
110 <div class="chatbox__toper-info messages__item-info"> 115 <div class="chatbox__toper-info messages__item-info">
111 <div class="messages__item-photo"> 116 <div class="messages__item-photo">
112 <svg> 117 <svg>
113 <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> 118 <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use>
114 </svg> 119 </svg>
115 @if ((isset($companion->employers[0]->logo)) && 120 @if ((isset($companion->employers[0]->logo)) &&
116 (!empty($companion->employers[0]->logo))) 121 (!empty($companion->employers[0]->logo)))
117 <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->employers[0]->logo)) }}" alt=""> 122 <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->employers[0]->logo)) }}" alt="">
118 @else 123 @else
119 <img src="{{ asset('images/default_man.jpg') }}" alt=""> 124 <img src="{{ asset('images/default_man.jpg') }}" alt="">
120 @endif 125 @endif
121 </div> 126 </div>
122 <div class="messages__item-text"> 127 <div class="messages__item-text">
123 <div>{{ $companion->surname." ".$companion->name_man." ".$companion->surname2." (".$companion->id.")" }} </div> 128 <div>{{ $companion->surname." ".$companion->name_man." ".$companion->surname2." (".$companion->id.")" }} </div>
124 <div><span>Статус:</span> Работодатель или Администратор</div> 129 <div><span>Статус:</span> Работодатель или Администратор</div>
125 </div> 130 </div>
126 </div> 131 </div>
127 @if (isset($companion->employer->id)) 132 @if (isset($companion->employer->id))
128 <a href="" class="button chatbox__toper-button"> 133 <a href="" class="button chatbox__toper-button">
129 <svg> 134 <svg>
130 <use xlink:href="{{ asset('images/sprite.svg#cabinet-1') }}"></use> 135 <use xlink:href="{{ asset('images/sprite.svg#cabinet-1') }}"></use>
131 </svg> 136 </svg>
132 Перейти в профиль 137 Перейти в профиль
133 </a> 138 </a>
134 @endif 139 @endif
135 @endif 140 @endif
136 </div> 141 </div>
137 142
138 @if ($errors->any()) 143 @if ($errors->any())
139 <div class="red bold"> 144 <div class="red bold">
140 <ul> 145 <ul>
141 @foreach ($errors->all() as $error) 146 @foreach ($errors->all() as $error)
142 <li>{{ $error }}</li> 147 <li>{{ $error }}</li>
143 @endforeach 148 @endforeach
144 </ul> 149 </ul>
145 </div> 150 </div>
146 @endif 151 @endif
147 152
148 <div class="chatbox__list" id="dialogs" name="dialogs"> 153 <div class="chatbox__list" id="dialogs" name="dialogs">
149 @if ($Messages->count()) 154 @if ($Messages->count())
150 @foreach ($Messages as $it) 155 @foreach ($Messages as $it)
151 @if ($it->user_id == $companion->id) 156 @if ($it->user_id == $companion->id)
152 <div class="chatbox__item"> 157 <div class="chatbox__item">
153 <div class="chatbox__item-photo"> 158 <div class="chatbox__item-photo">
154 <svg> 159 <svg>
155 <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> 160 <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use>
156 </svg> 161 </svg>
157 162
158 @if ($companion->is_worker) 163 @if ($companion->is_worker)
159 @if ((isset($companion->workers[0]->photo)) && 164 @if ((isset($companion->workers[0]->photo)) &&
160 (!empty($companion->workers[0]->photo))) 165 (!empty($companion->workers[0]->photo)))
161 <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->workers[0]->photo)) }}" alt=""> 166 <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->workers[0]->photo)) }}" alt="">
162 @else 167 @else
163 <img src="{{ asset('images/default_man.jpg') }}" alt=""> 168 <img src="{{ asset('images/default_man.jpg') }}" alt="">
164 @endif 169 @endif
165 @else 170 @else
166 @if ((isset($companion->employers[0]->logo)) && 171 @if ((isset($companion->employers[0]->logo)) &&
167 (!empty($companion->employers[0]->logo))) 172 (!empty($companion->employers[0]->logo)))
168 <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->employers[0]->logo)) }}" alt=""> 173 <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->employers[0]->logo)) }}" alt="">
169 @else 174 @else
170 <img src="{{ asset('images/default_man.jpg') }}" alt=""> 175 <img src="{{ asset('images/default_man.jpg') }}" alt="">
171 @endif 176 @endif
172 @endif 177 @endif
173 178
174 </div> 179 </div>
175 <div class="chatbox__item-body"> 180 <div class="chatbox__item-body">
176 <div class="chatbox__item-text"> 181 @if($it->text || $it->reply_message_id)
177 {{ $it->text }} 182 <div class="chatbox__item-text">
178 @if($it->reply_message_id) 183 {{ $it->text ?? '' }}
179 <div class="reply-message"> 184
180 {{ $it->reply_message->text }} 185 @if($it->reply_message_id)
186 <div class="reply-message">
187 {{ $it->reply_message->text }}
188 </div>
189 @endif
190 </div>
191 @endif
192 @if ((isset($it->file)) && (!empty($it->file)))
193 <div class="chatbox__item-text chatbox__item-body-file-name-wrap">
194 <div class="">
195 @if($it->original_file_name)
196 {{ $it->original_file_name }}
197 @else
198 <svg>
199 <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use>
200 </svg>
201 @endif
181 </div> 202 </div>
182 @endif 203 <a href="{{ asset(Storage::url($it->file)) }}" class="">
183 </div> 204 Скачать
205 </a>
206 </div>
207 @endif
184 </div> 208 </div>
185 <div class="chatbox__item-time">{{ $it->created_at }}</div> 209 <div class="chatbox__item-time">{{ $it->created_at }}</div>
186 </div> 210 </div>
187 @else 211 @else
188 <div class="chatbox__item chatbox__item_reverse"> 212 <div class="chatbox__item chatbox__item_reverse">
189 <div class="chatbox__item-photo"> 213 <div class="chatbox__item-photo">
190 <svg> 214 <svg>
191 <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> 215 <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use>
192 </svg> 216 </svg>
193 217
194 @if ($sender->is_worker) 218 @if ($sender->is_worker)
195 @if ((isset($sender->workers[0]->photo)) && 219 @if ((isset($sender->workers[0]->photo)) &&
196 (!empty($sender->workers[0]->photo))) 220 (!empty($sender->workers[0]->photo)))
197 <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($sender->workers[0]->photo)) }}" alt=""> 221 <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($sender->workers[0]->photo)) }}" alt="">
198 @else 222 @else
199 <img src="{{ asset('images/default_man.jpg') }}" alt=""> 223 <img src="{{ asset('images/default_man.jpg') }}" alt="">
200 @endif 224 @endif
201 @else 225 @else
202 @if ((isset($sender->employers[0]->logo)) && 226 @if ((isset($sender->employers[0]->logo)) &&
203 (!empty($sender->employers[0]->logo))) 227 (!empty($sender->employers[0]->logo)))
204 <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($sender->employers[0]->logo)) }}" alt=""> 228 <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($sender->employers[0]->logo)) }}" alt="">
205 @else 229 @else
206 <img src="{{ asset('images/default_man.jpg') }}" alt=""> 230 <img src="{{ asset('images/default_man.jpg') }}" alt="">
207 @endif 231 @endif
208 @endif 232 @endif
209 233
210 </div> 234 </div>
211 <div class="chatbox__item-body"> 235 <div class="chatbox__item-body">
212 <div class="chatbox__item-text">{{ $it->text }}</div> 236 @if($it->text)
237 <div class="chatbox__item-text">{{ $it->text }}</div>
238 @endif
213 @if ((isset($it->file)) && (!empty($it->file))) 239 @if ((isset($it->file)) && (!empty($it->file)))
214 <a href="{{ asset(Storage::url($it->file)) }}" class="chatbox__item-text"> 240 <div class="chatbox__item-text chatbox__item-body-file-name-wrap">
215 <svg> 241 <a href="{{ asset(Storage::url($it->file)) }}" class="">
216 <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> 242 Скачать
217 </svg> 243 </a>
218 </a> 244 <div class="">
245 @if($it->original_file_name)
246 {{ $it->original_file_name }}
247 @else
248 <svg>
249 <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use>
250 </svg>
251 @endif
252 </div>
253 </div>
219 @endif 254 @endif
220 </div> 255 </div>
221 <div class="chatbox__item-time">{{ $it->created_at }}</div> 256 <div class="chatbox__item-time">{{ $it->created_at }}</div>
222 </div> 257 </div>
223 @endif 258 @endif
224 259
225 @endforeach 260 @endforeach
226 @endif 261 @endif
227 </div> 262 </div>
228 <form action="{{ route('employer.test123') }}" class="chatbox__bottom" enctype="multipart/form-data" method="POST" > 263 <div>
229 @csrf 264 <form action="{{ route('employer.test123') }}" class="chatbox__bottom" enctype="multipart/form-data" method="POST" >
230 <label class="chatbox__bottom-file"> 265 @csrf
231 <input id="file" name="file" type="file"> 266 <label class="chatbox__bottom-file">
232 <svg> 267 <input id="file" name="file" type="file">
233 <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> 268 <svg>
234 </svg> 269 <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use>
235 </label> 270 </svg>
236 <input type="hidden" name="_token" value="{{ csrf_token() }}"/> 271 </label>
237 <input type="hidden" id="user_id" name="user_id" value="{{ $sender->id }}"/> 272 <input type="hidden" name="_token" value="{{ csrf_token() }}"/>
238 <input type="hidden" id="to_user_id" name="to_user_id" value="{{ $companion->id }}"/> 273 <input type="hidden" id="user_id" name="user_id" value="{{ $sender->id }}"/>
239 <input type="hidden" id="ad_employer_id" name="ad_employer_id" value="{{ $ad_employer }}"/> 274 <input type="hidden" id="to_user_id" name="to_user_id" value="{{ $companion->id }}"/>
240 <input type="hidden" id="ad_name" name="ad_name" value="@if (isset($_GET['ad_name'])){{ $_GET['ad_name'] }} @endif"/> 275 <input type="hidden" id="ad_employer_id" name="ad_employer_id" value="{{ $ad_employer }}"/>
241 <input id="text" name="text" type="text" class="input chatbox__bottom-text" placeholder="Ответить"> 276 <input type="hidden" id="ad_name" name="ad_name" value="@if (isset($_GET['ad_name'])){{ $_GET['ad_name'] }} @endif"/>
242 <button type="submit" id="send_btn" name="send_btn" class="chatbox__bottom-send"> 277 <input id="text" name="text" type="text" class="input chatbox__bottom-text" placeholder="Ответить">
243 <svg> 278 <button type="submit" id="send_btn" name="send_btn" class="chatbox__bottom-send">
244 <use xlink:href="{{ asset('images/sprite.svg#arrow') }}"></use> 279 <svg>
245 </svg> 280 <use xlink:href="{{ asset('images/sprite.svg#arrow') }}"></use>
246 </button> 281 </svg>
247 </form> 282 </button>
283 </form>
284 <div class="chatbox-file-name-wrap mt-5 fw600"></div>
285 </div>
248 </div> 286 </div>
249 </div> 287 </div>
250 </div> 288 </div>
251 </div> 289 </div>
252 </div> 290 </div>
253 </section> 291 </section>
254 </div> 292 </div>
255 @endsection 293 @endsection
256 294
resources/views/workers/dialog.blade.php
1 @extends('layout.frontend', ['title' => 'Диалог-переписка - РекаМоре']) 1 @extends('layout.frontend', ['title' => 'Диалог-переписка - РекаМоре'])
2 2
3 @section('scripts') 3 @section('scripts')
4 <script> 4 <script>
5 $(function(){ 5 $(function(){
6 var chatbox_div = $('.chatbox__list'); 6 var chatbox_div = $('.chatbox__list');
7 chatbox_div.scrollTop(chatbox_div.prop("scrollHeight")); 7 chatbox_div.scrollTop(chatbox_div.prop("scrollHeight"));
8 8
9 $('form.chatbox__bottom [name="file"]').on('change', function() {
10 var fileName = $(this).val().split('\\').pop();
11 $('.chatbox-file-name-wrap').text('Добавлен файл: ' + fileName);
12 });
13
9 $('.admin-chat-answer').click(function(){ 14 $('.admin-chat-answer').click(function(){
10 var modal = $('#answer_from_admin_chat_modal'); 15 var modal = $('#answer_from_admin_chat_modal');
11 16
12 modal.data('to-user-id', $(this).data('to-user-id')); 17 modal.data('to-user-id', $(this).data('to-user-id'));
13 modal.data('message-id', $(this).data('message-id')); 18 modal.data('message-id', $(this).data('message-id'));
14 }); 19 });
15 }); 20 });
16 21
17 $(document).on('change', '#send_btn', function() { 22 $(document).on('change', '#send_btn', function() {
18 var this_ = $(this); 23 var this_ = $(this);
19 var val_ = this_.val(); 24 var val_ = this_.val();
20 console.log('sort items '+val_); 25 console.log('sort items '+val_);
21 26
22 $.ajax({ 27 $.ajax({
23 type: "GET", 28 type: "GET",
24 url: "{{ route('shipping_companies') }}", 29 url: "{{ route('shipping_companies') }}",
25 data: "sort="+val_+"&block=1", 30 data: "sort="+val_+"&block=1",
26 success: function (data) { 31 success: function (data) {
27 console.log('Выбор сортировки'); 32 console.log('Выбор сортировки');
28 console.log(data); 33 console.log(data);
29 $('#block_1').html(data); 34 $('#block_1').html(data);
30 }, 35 },
31 headers: { 36 headers: {
32 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 37 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
33 }, 38 },
34 error: function (data) { 39 error: function (data) {
35 data = JSON.stringify(data); 40 data = JSON.stringify(data);
36 console.log('Error: ' + data); 41 console.log('Error: ' + data);
37 } 42 }
38 }); 43 });
39 44
40 $.ajax({ 45 $.ajax({
41 type: "GET", 46 type: "GET",
42 url: "{{ route('shipping_companies') }}", 47 url: "{{ route('shipping_companies') }}",
43 data: "sort="+val_+"&block=2", 48 data: "sort="+val_+"&block=2",
44 success: function (data) { 49 success: function (data) {
45 console.log('Выбор сортировки2'); 50 console.log('Выбор сортировки2');
46 console.log(data); 51 console.log(data);
47 history.pushState({}, '', "{{ route('shipping_companies') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); 52 history.pushState({}, '', "{{ route('shipping_companies') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif");
48 $('#block_2').html(data); 53 $('#block_2').html(data);
49 }, 54 },
50 headers: { 55 headers: {
51 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') 56 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
52 }, 57 },
53 error: function (data) { 58 error: function (data) {
54 data = JSON.stringify(data); 59 data = JSON.stringify(data);
55 console.log('Error: ' + data); 60 console.log('Error: ' + data);
56 } 61 }
57 }); 62 });
58 }); 63 });
59 </script> 64 </script>
60 @endsection 65 @endsection
61 66
62 @section('content') 67 @section('content')
63 <section class="cabinet"> 68 <section class="cabinet">
64 <div class="container"> 69 <div class="container">
65 <ul class="breadcrumbs cabinet__breadcrumbs"> 70 <ul class="breadcrumbs cabinet__breadcrumbs">
66 <li><a href="{{ route('index') }}">Главная</a></li> 71 <li><a href="{{ route('index') }}">Главная</a></li>
67 <li><b>Личный кабинет</b></li> 72 <li><b>Личный кабинет</b></li>
68 </ul> 73 </ul>
69 <div class="cabinet__wrapper"> 74 <div class="cabinet__wrapper">
70 <div class="cabinet__side"> 75 <div class="cabinet__side">
71 <div class="cabinet__side-toper"> 76 <div class="cabinet__side-toper">
72 @include('workers.emblema') 77 @include('workers.emblema')
73 </div> 78 </div>
74 @include('workers.menu', ['item' => 2]) 79 @include('workers.menu', ['item' => 2])
75 </div> 80 </div>
76 <div class="cabinet__body"> 81 <div class="cabinet__body">
77 <div class="cabinet__body-item"> 82 <div class="cabinet__body-item">
78 <h2 class="title cabinet__title">Сообщения</h2> 83 <h2 class="title cabinet__title">Сообщения</h2>
79 </div> 84 </div>
80 <div class="cabinet__body-item"> 85 <div class="cabinet__body-item">
81 <a href="{{ route('worker.messages', ['type_message' => 'input']) }}" class="back"> 86 <a href="{{ route('worker.messages', ['type_message' => 'input']) }}" class="back">
82 <svg> 87 <svg>
83 <use xlink:href="{{ asset('images/sprite.svg#back') }}"></use> 88 <use xlink:href="{{ asset('images/sprite.svg#back') }}"></use>
84 </svg> 89 </svg>
85 <span> 90 <span>
86 К списку чатов 91 К списку чатов
87 </span> 92 </span>
88 </a> 93 </a>
89 <div class="chatbox"> 94 <div class="chatbox">
90 <div class="chatbox__toper"> 95 <div class="chatbox__toper">
91 @if($chat->is_admin_chat) 96 @if($chat->is_admin_chat)
92 <div class="chatbox__toper-info messages__item-info"> 97 <div class="chatbox__toper-info messages__item-info">
93 @include('svg.logo_icon') 98 @include('svg.logo_icon')
94 <div class="messages__item-text bold font20"> 99 <div class="messages__item-text bold font20">
95 Администратор сайта 100 Администратор сайта
96 </div> 101 </div>
97 </div> 102 </div>
98 @elseif ($companion->is_worker) 103 @elseif ($companion->is_worker)
99 <div class="chatbox__toper-info messages__item-info"> 104 <div class="chatbox__toper-info messages__item-info">
100 <div class="messages__item-photo"> 105 <div class="messages__item-photo">
101 <svg> 106 <svg>
102 <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> 107 <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use>
103 </svg> 108 </svg>
104 @if ((isset($companion->workers[0]->photo)) && 109 @if ((isset($companion->workers[0]->photo)) &&
105 (!empty($companion->workers[0]->photo))) 110 (!empty($companion->workers[0]->photo)))
106 <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->workers[0]->photo)) }}" alt=""> 111 <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->workers[0]->photo)) }}" alt="">
107 @else 112 @else
108 <img src="{{ asset('images/default_man.jpg') }}" alt=""> 113 <img src="{{ asset('images/default_man.jpg') }}" alt="">
109 @endif 114 @endif
110 </div> 115 </div>
111 </div> 116 </div>
112 @if (isset($companion->workers[0]->id)) 117 @if (isset($companion->workers[0]->id))
113 <a href="{{ route('resume_profile', ['worker' => $companion->workers[0]->id]) }}" class="button chatbox__toper-button"> 118 <a href="{{ route('resume_profile', ['worker' => $companion->workers[0]->id]) }}" class="button chatbox__toper-button">
114 <svg> 119 <svg>
115 <use xlink:href="{{ asset('images/sprite.svg#cabinet-1') }}"></use> 120 <use xlink:href="{{ asset('images/sprite.svg#cabinet-1') }}"></use>
116 </svg> 121 </svg>
117 Перейти в профиль 122 Перейти в профиль
118 </a> 123 </a>
119 @endif 124 @endif
120 @else 125 @else
121 <div class="chatbox__toper-info messages__item-info"> 126 <div class="chatbox__toper-info messages__item-info">
122 <div class="messages__item-photo"> 127 <div class="messages__item-photo">
123 <svg> 128 <svg>
124 <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> 129 <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use>
125 </svg> 130 </svg>
126 @if ((isset($companion->employers[0]->logo)) && 131 @if ((isset($companion->employers[0]->logo)) &&
127 (!empty($companion->employers[0]->logo))) 132 (!empty($companion->employers[0]->logo)))
128 <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->employers[0]->logo)) }}" alt=""> 133 <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->employers[0]->logo)) }}" alt="">
129 @else 134 @else
130 <img src="{{ asset('images/default_man.jpg') }}" alt=""> 135 <img src="{{ asset('images/default_man.jpg') }}" alt="">
131 @endif 136 @endif
132 </div> 137 </div>
133 <div class="messages__item-text"> 138 <div class="messages__item-text">
134 <div>{{ $companion->surname." ".$companion->name_man." ".$companion->surname2." (".$companion->id.")" }} </div> 139 <div>{{ $companion->surname." ".$companion->name_man." ".$companion->surname2." (".$companion->id.")" }} </div>
135 <div><span>Статус:</span> Работодатель или Администратор</div> 140 <div><span>Статус:</span> Работодатель или Администратор</div>
136 </div> 141 </div>
137 </div> 142 </div>
138 @if (isset($companion->employers[0]->id)) 143 @if (isset($companion->employers[0]->id))
139 <a href="{{ route('info_company', ['company' => $companion->employers[0]->id]) }}" class="button chatbox__toper-button"> 144 <a href="{{ route('info_company', ['company' => $companion->employers[0]->id]) }}" class="button chatbox__toper-button">
140 <svg> 145 <svg>
141 <use xlink:href="{{ asset('images/sprite.svg#cabinet-1') }}"></use> 146 <use xlink:href="{{ asset('images/sprite.svg#cabinet-1') }}"></use>
142 </svg> 147 </svg>
143 Перейти в профиль 148 Перейти в профиль
144 </a> 149 </a>
145 @endif 150 @endif
146 @endif 151 @endif
147 </div> 152 </div>
148 153
149 @if ($errors->any()) 154 @if ($errors->any())
150 <div class="red bold"> 155 <div class="red bold">
151 <ul> 156 <ul>
152 @foreach ($errors->all() as $error) 157 @foreach ($errors->all() as $error)
153 <li>{{ $error }}</li> 158 <li>{{ $error }}</li>
154 @endforeach 159 @endforeach
155 </ul> 160 </ul>
156 </div> 161 </div>
157 @endif 162 @endif
158 163
159 <div class="chatbox__list" id="dialogs" name="dialogs"> 164 <div class="chatbox__list" id="dialogs" name="dialogs">
160 @if ($Messages->count()) 165 @if ($Messages->count())
161 @foreach ($Messages as $it) 166 @foreach ($Messages as $it)
162 @if ($it->user_id == $companion->id) 167 @if ($it->user_id == $companion->id)
163 <div class="chatbox__item"> 168 <div class="chatbox__item">
164 <div class="chatbox__item-photo"> 169 <div class="chatbox__item-photo">
165 <svg> 170 <svg>
166 <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> 171 <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use>
167 </svg> 172 </svg>
168 @if($companion->is_worker) 173 @if($companion->is_worker)
169 @if ((isset($companion->workers[0]->photo)) && 174 @if ((isset($companion->workers[0]->photo)) &&
170 (!empty($companion->workers[0]->photo))) 175 (!empty($companion->workers[0]->photo)))
171 <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->workers[0]->photo)) }}" alt=""> 176 <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->workers[0]->photo)) }}" alt="">
172 @else 177 @else
173 <img src="{{ asset('images/default_man.jpg') }}" alt=""> 178 <img src="{{ asset('images/default_man.jpg') }}" alt="">
174 @endif 179 @endif
175 @else 180 @else
176 @if ((isset($companion->employers[0]->logo)) && 181 @if ((isset($companion->employers[0]->logo)) &&
177 (!empty($companion->employers[0]->logo))) 182 (!empty($companion->employers[0]->logo)))
178 <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->employers[0]->logo)) }}" alt=""> 183 <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->employers[0]->logo)) }}" alt="">
179 @else 184 @else
180 <img src="{{ asset('images/default_man.jpg') }}" alt=""> 185 <img src="{{ asset('images/default_man.jpg') }}" alt="">
181 @endif 186 @endif
182 @endif 187 @endif
183 </div> 188 </div>
184 <div class="chatbox__item-body"> 189 <div class="chatbox__item-body">
185 <div class="chatbox__item-text">{{ $it->text }}</div> 190 @if($it->text)
191 <div class="chatbox__item-text">{{ $it->text }}</div>
192 @endif
193 @if ((isset($it->file)) && (!empty($it->file)))
194 <div class="chatbox__item-text chatbox__item-body-file-name-wrap">
195 <div class="">
196 @if($it->original_file_name)
197 {{ $it->original_file_name }}
198 @else
199 <svg>
200 <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use>
201 </svg>
202 @endif
203 </div>
204 <a href="{{ asset(Storage::url($it->file)) }}" class="">
205 Скачать
206 </a>
207 </div>
208 @endif
186 </div> 209 </div>
187 <div class="chatbox__item-time">{{ $it->created_at }}</div> 210 <div class="chatbox__item-time">{{ $it->created_at }}</div>
188 </div> 211 </div>
189 @else 212 @else
190 <div class="chatbox__item chatbox__item_reverse"> 213 <div class="chatbox__item chatbox__item_reverse">
191 <div class="@if(!$chat->is_admin_chat) chatbox__item-photo @endif"> 214 <div class="@if(!$chat->is_admin_chat) chatbox__item-photo @endif">
192 @if($chat->is_admin_chat) 215 @if($chat->is_admin_chat)
193 @include('svg.logo_icon') 216 @include('svg.logo_icon')
194 @else 217 @else
195 @if ($sender->is_worker) 218 @if ($sender->is_worker)
196 @if ((isset($sender->workers[0]->photo)) && 219 @if ((isset($sender->workers[0]->photo)) &&
197 (!empty($sender->workers[0]->photo))) 220 (!empty($sender->workers[0]->photo)))
198 <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($sender->workers[0]->photo)) }}" alt=""> 221 <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($sender->workers[0]->photo)) }}" alt="">
199 @else 222 @else
200 <img src="{{ asset('images/default_man.jpg') }}" alt=""> 223 <img src="{{ asset('images/default_man.jpg') }}" alt="">
201 @endif 224 @endif
202 @else 225 @else
203 <svg> 226 <svg>
204 <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> 227 <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use>
205 </svg> 228 </svg>
206 229
207 @if ((isset($sender->employers[0]->logo)) && 230 @if ((isset($sender->employers[0]->logo)) &&
208 (!empty($sender->employers[0]->logo))) 231 (!empty($sender->employers[0]->logo)))
209 <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($sender->employers[0]->logo)) }}" alt=""> 232 <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($sender->employers[0]->logo)) }}" alt="">
210 @else 233 @else
211 <img src="{{ asset('images/default_man.jpg') }}" alt=""> 234 <img src="{{ asset('images/default_man.jpg') }}" alt="">
212 @endif 235 @endif
213 @endif 236 @endif
214 @endif 237 @endif
215 </div> 238 </div>
216 <div class="chatbox__item-body"> 239 <div class="chatbox__item-body">
240 @if($chat->is_admin_chat || $it->text || $it->reply_message_id)
217 <div class="chatbox__item-text"> 241 <div class="chatbox__item-text">
218 @if($chat->is_admin_chat) 242 @if($chat->is_admin_chat)
219 <button class="button admin-chat-answer" data-fancybox data-src="#answer_from_admin_chat_modal" 243 <button class="button admin-chat-answer" data-fancybox data-src="#answer_from_admin_chat_modal"
220 data-to-user-id="{{ $it->user_id }}" data-message-id="{{ $it->id }}" 244 data-to-user-id="{{ $it->user_id }}" data-message-id="{{ $it->id }}"
221 > 245 >
222 Ответить 246 Ответить
223 </button> 247 </button>
224 @endif 248 @endif
225 249
226 {{ $it->text }} 250 @if($it->text)
251 {{ $it->text }}
252 @endif
227 253
228 @if($it->reply_message_id) 254 @if($it->reply_message_id)
229 <div class="reply-message"> 255 <div class="reply-message">
230 {{ $it->reply_message->text }} 256 {{ $it->reply_message->text }}
231 </div> 257 </div>
232 @endif 258 @endif
233 </div> 259 </div>
260 @endif
234 @if ((isset($it->file)) && (!empty($it->file))) 261 @if ((isset($it->file)) && (!empty($it->file)))
235 <a href="{{ asset(Storage::url($it->file)) }}" class="chatbox__item-text"> 262 <div class="chatbox__item-text chatbox__item-body-file-name-wrap">
236 <svg> 263 <a href="{{ asset(Storage::url($it->file)) }}" class="">
237 <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> 264 Скачать
238 </svg> 265 </a>
239 </a> 266 <div class="">
267 @if($it->original_file_name)
268 {{ $it->original_file_name }}
269 @else
270 <svg>
271 <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use>
272 </svg>
273 @endif
274 </div>
275 </div>
240 @endif 276 @endif
241 </div> 277 </div>
242 <div class="chatbox__item-time">{{ $it->created_at }}</div> 278 <div class="chatbox__item-time">{{ $it->created_at }}</div>
243 </div> 279 </div>
244 @endif 280 @endif
245 281
246 @endforeach 282 @endforeach
247 @endif 283 @endif
248 </div> 284 </div>
249 @if(!$chat->is_admin_chat) 285 @if(!$chat->is_admin_chat)
250 <form action="{{ route('worker.test123') }}" class="chatbox__bottom" enctype="multipart/form-data" method="POST" > 286 <div>
251 @csrf 287 <form action="{{ route('worker.test123') }}" class="chatbox__bottom" enctype="multipart/form-data" method="POST" >
252 <label class="chatbox__bottom-file"> 288 @csrf
253 <input id="file" name="file" type="file"> 289 <label class="chatbox__bottom-file">
254 <svg> 290 <input id="file" name="file" type="file">
255 <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> 291 <svg>
256 </svg> 292 <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use>
257 </label> 293 </svg>
258 <input type="hidden" name="_token" value="{{ csrf_token() }}"/> 294 </label>
259 <input type="hidden" id="user_id" name="user_id" value="{{ $sender->id }}"/> 295 <input type="hidden" name="_token" value="{{ csrf_token() }}"/>
260 <input type="hidden" id="to_user_id" name="to_user_id" value="{{ $companion->id }}"/> 296 <input type="hidden" id="user_id" name="user_id" value="{{ $sender->id }}"/>
261 <input type="hidden" id="ad_employer_id" name="ad_employer_id" value="{{ $ad_employer }}"/> 297 <input type="hidden" id="to_user_id" name="to_user_id" value="{{ $companion->id }}"/>
262 <input type="hidden" id="ad_name" name="ad_name" value="@if (isset($_GET['ad_name'])){{ $_GET['ad_name'] }} @endif"/> 298 <input type="hidden" id="ad_employer_id" name="ad_employer_id" value="{{ $ad_employer }}"/>
263 <input id="text" name="text" type="text" class="input chatbox__bottom-text" placeholder="Ответить"> 299 <input type="hidden" id="ad_name" name="ad_name" value="@if (isset($_GET['ad_name'])){{ $_GET['ad_name'] }} @endif"/>
264 <button type="submit" id="send_btn" name="send_btn" class="chatbox__bottom-send"> 300 <input id="text" name="text" type="text" class="input chatbox__bottom-text" placeholder="Ответить">
265 <svg> 301 <button type="submit" id="send_btn" name="send_btn" class="chatbox__bottom-send">
266 <use xlink:href="{{ asset('images/sprite.svg#arrow') }}"></use> 302 <svg>
267 </svg> 303 <use xlink:href="{{ asset('images/sprite.svg#arrow') }}"></use>
268 </button> 304 </svg>
269 </form> 305 </button>
306 </form>
307 <div class="chatbox-file-name-wrap mt-5 fw600"></div>
308 </div>
270 @endif 309 @endif
271 </div> 310 </div>
272 </div> 311 </div>
273 </div> 312 </div>
274 </div> 313 </div>
275 </div> 314 </div>
276 </section> 315 </section>
277 </div> 316 </div>
278 317
279 @include('modals.chats.answer_from_admin_chat') 318 @include('modals.chats.answer_from_admin_chat')
280 @endsection 319 @endsection
281 320
1 <?php 1 <?php
2 2
3 use App\Http\Controllers\Ad_jobsController; 3 use App\Http\Controllers\Ad_jobsController;
4 use App\Http\Controllers\AdEmployerController; 4 use App\Http\Controllers\AdEmployerController;
5 use App\Http\Controllers\Admin\AdminController; 5 use App\Http\Controllers\Admin\AdminController;
6 use App\Http\Controllers\Admin\CategoryController; 6 use App\Http\Controllers\Admin\CategoryController;
7 use App\Http\Controllers\Admin\CategoryEmpController; 7 use App\Http\Controllers\Admin\CategoryEmpController;
8 use App\Http\Controllers\Admin\EducationController; 8 use App\Http\Controllers\Admin\EducationController;
9 use App\Http\Controllers\EducationController as EducationFrontController; 9 use App\Http\Controllers\EducationController as EducationFrontController;
10 use App\Http\Controllers\Admin\EmployersController; 10 use App\Http\Controllers\Admin\EmployersController;
11 use App\Http\Controllers\EmployerController as FrontEmployersController; 11 use App\Http\Controllers\EmployerController as FrontEmployersController;
12 use App\Http\Controllers\Admin\InfoBloksController; 12 use App\Http\Controllers\Admin\InfoBloksController;
13 use App\Http\Controllers\Admin\JobTitlesController; 13 use App\Http\Controllers\Admin\JobTitlesController;
14 use App\Http\Controllers\Admin\UsersController; 14 use App\Http\Controllers\Admin\UsersController;
15 use App\Http\Controllers\Admin\WorkersController; 15 use App\Http\Controllers\Admin\WorkersController;
16 use App\Http\Controllers\Auth\ForgotPasswordController; 16 use App\Http\Controllers\Auth\ForgotPasswordController;
17 use App\Http\Controllers\Auth\LoginController; 17 use App\Http\Controllers\Auth\LoginController;
18 use App\Http\Controllers\Auth\RegisterController; 18 use App\Http\Controllers\Auth\RegisterController;
19 use App\Http\Controllers\CKEditorController; 19 use App\Http\Controllers\CKEditorController;
20 use App\Http\Controllers\MediaController; 20 use App\Http\Controllers\MediaController;
21 use App\Http\Controllers\WorkerController; 21 use App\Http\Controllers\WorkerController;
22 use App\Models\Ad_jobs; 22 use App\Models\Ad_jobs;
23 use App\Models\User; 23 use App\Models\User;
24 use App\Http\Controllers\MainController; 24 use App\Http\Controllers\MainController;
25 use App\Http\Controllers\HomeController; 25 use App\Http\Controllers\HomeController;
26 use Illuminate\Support\Facades\Route; 26 use Illuminate\Support\Facades\Route;
27 use App\Http\Controllers\Admin\CompanyController; 27 use App\Http\Controllers\Admin\CompanyController;
28 use App\Http\Controllers\Admin\Ad_EmployersController; 28 use App\Http\Controllers\Admin\Ad_EmployersController;
29 use App\Http\Controllers\Admin\MsgAnswersController; 29 use App\Http\Controllers\Admin\MsgAnswersController;
30 use App\Http\Controllers\Admin\GroupsController; 30 use App\Http\Controllers\Admin\GroupsController;
31 use App\Http\Controllers\PagesController; 31 use App\Http\Controllers\PagesController;
32 use Illuminate\Support\Facades\Storage; 32 use Illuminate\Support\Facades\Storage;
33 use App\Http\Controllers\EmployerController; 33 use App\Http\Controllers\EmployerController;
34 use App\Http\Controllers\CompanyController as FrontCompanyController; 34 use App\Http\Controllers\CompanyController as FrontCompanyController;
35 35
36 36
37 /* 37 /*
38 |-------------------------------------------------------------------------- 38 |--------------------------------------------------------------------------
39 | Web Routes 39 | Web Routes
40 |-------------------------------------------------------------------------- 40 |--------------------------------------------------------------------------
41 | 41 |
42 | Here is where you can register web routes for your application. These 42 | Here is where you can register web routes for your application. These
43 | routes are loaded by the RouteServiceProvider within a group which 43 | routes are loaded by the RouteServiceProvider within a group which
44 | contains the "web" middleware group. Now create something great! 44 | contains the "web" middleware group. Now create something great!
45 | 45 |
46 */ 46 */
47 /* 47 /*
48 Route::get('/', function () { 48 Route::get('/', function () {
49 return view('welcome'); 49 return view('welcome');
50 })->name('index'); 50 })->name('index');
51 */ 51 */
52 52
53 Route::get('/', [MainController::class, 'index'])->name('index'); 53 Route::get('/', [MainController::class, 'index'])->name('index');
54 54
55 //Роуты авторизации, регистрации, восстановления, аутентификации 55 //Роуты авторизации, регистрации, восстановления, аутентификации
56 Auth::routes(['verify' => true]); 56 Auth::routes(['verify' => true]);
57 57
58 // роуты регистрации, авторизации, восстановления пароля, верификации почты 58 // роуты регистрации, авторизации, восстановления пароля, верификации почты
59 /*Route::group([ 59 /*Route::group([
60 'as' => 'auth.', //имя маршрута, например auth.index 60 'as' => 'auth.', //имя маршрута, например auth.index
61 'prefix' => 'auth', // префикс маршрута, например, auth/index 61 'prefix' => 'auth', // префикс маршрута, например, auth/index
62 ], function () { 62 ], function () {
63 //форма регистрации 63 //форма регистрации
64 Route::get('register', [RegisterController::class, 'register'])->name('register'); 64 Route::get('register', [RegisterController::class, 'register'])->name('register');
65 65
66 //создание пользователя 66 //создание пользователя
67 Route::post('register', [RegisterController::class, 'create'])->name('create'); 67 Route::post('register', [RegisterController::class, 'create'])->name('create');
68 68
69 //форма входа авторизации 69 //форма входа авторизации
70 Route::get('login', [LoginController::class, 'login'])->name('login'); 70 Route::get('login', [LoginController::class, 'login'])->name('login');
71 71
72 //аутентификация 72 //аутентификация
73 Route::post('login', [LoginController::class, 'authenticate'])->name('auth'); 73 Route::post('login', [LoginController::class, 'authenticate'])->name('auth');
74 74
75 //выход 75 //выход
76 Route::get('logout', [LoginController::class, 'logout'])->name('logout'); 76 Route::get('logout', [LoginController::class, 'logout'])->name('logout');
77 77
78 //форма ввода адреса почты 78 //форма ввода адреса почты
79 Route::get('forgot-password', [ForgotPasswordController::class, 'form'])->name('forgot-form'); 79 Route::get('forgot-password', [ForgotPasswordController::class, 'form'])->name('forgot-form');
80 80
81 //письмо на почту 81 //письмо на почту
82 Route::post('forgot-password', [ForgotPasswordController::class, 'mail'])->name('forgot-mail'); 82 Route::post('forgot-password', [ForgotPasswordController::class, 'mail'])->name('forgot-mail');
83 83
84 //форма восстановления пароля 84 //форма восстановления пароля
85 Route::get('reset-password/token/{token}/email/{email}', 85 Route::get('reset-password/token/{token}/email/{email}',
86 [ResetPasswordController::class, 'form'] 86 [ResetPasswordController::class, 'form']
87 )->name('reset-form'); 87 )->name('reset-form');
88 88
89 //восстановление пароля 89 //восстановление пароля
90 Route::post('reset-password', 90 Route::post('reset-password',
91 [ResetPasswordController::class, 'reset'] 91 [ResetPasswordController::class, 'reset']
92 )->name('reset-password'); 92 )->name('reset-password');
93 93
94 //сообщение о необходимости проверки адреса почты 94 //сообщение о необходимости проверки адреса почты
95 Route::get('verify-message', [VerifyEmailController::class, 'message'])->name('verify-message'); 95 Route::get('verify-message', [VerifyEmailController::class, 'message'])->name('verify-message');
96 96
97 //подтверждение адреса почты нового пользователя 97 //подтверждение адреса почты нового пользователя
98 Route::get('verify-email/token/{token}/id/{id}', [VerifyEmailController::class, 'verify']) 98 Route::get('verify-email/token/{token}/id/{id}', [VerifyEmailController::class, 'verify'])
99 ->where('token', '[a-f0-9]{32}') 99 ->where('token', '[a-f0-9]{32}')
100 ->where('id', '[0-9]+') 100 ->where('id', '[0-9]+')
101 ->name('verify-email'); 101 ->name('verify-email');
102 });*/ 102 });*/
103 103
104 //Личный кабинет пользователя 104 //Личный кабинет пользователя
105 Route::get('/home', [HomeController::class, 'index'])->name('home'); 105 Route::get('/home', [HomeController::class, 'index'])->name('home');
106 106
107 /* 107 /*
108 Route::post('resend/verification-email', function (\Illuminate\Http\Request $request) { 108 Route::post('resend/verification-email', function (\Illuminate\Http\Request $request) {
109 $user = User::where('email',$request->input('email'))->first(); 109 $user = User::where('email',$request->input('email'))->first();
110 110
111 $user->sendEmailVerificationNotification(); 111 $user->sendEmailVerificationNotification();
112 112
113 return 'your response'; 113 return 'your response';
114 })->middleware('throttle:6,1')->name('verification.resend'); 114 })->middleware('throttle:6,1')->name('verification.resend');
115 */ 115 */
116 116
117 // Авторизация, регистрация в админку 117 // Авторизация, регистрация в админку
118 Route::group([ 118 Route::group([
119 'as' => 'admin.', // имя маршрута, например auth.index 119 'as' => 'admin.', // имя маршрута, например auth.index
120 'prefix' => 'admin', // префикс маршрута, например auth/index 120 'prefix' => 'admin', // префикс маршрута, например auth/index
121 'middleware' => ['guest'], 121 'middleware' => ['guest'],
122 ], function () { 122 ], function () {
123 // Форма регистрации 123 // Форма регистрации
124 Route::get('register', [AdminController::class, 'register'])->name('register'); 124 Route::get('register', [AdminController::class, 'register'])->name('register');
125 // Создание пользователя 125 // Создание пользователя
126 Route::post('register', [AdminController::class, 'create'])->name('create'); 126 Route::post('register', [AdminController::class, 'create'])->name('create');
127 127
128 //Форма входа 128 //Форма входа
129 Route::get('login', [AdminController::class, 'login'])->name('login'); 129 Route::get('login', [AdminController::class, 'login'])->name('login');
130 130
131 // аутентификация 131 // аутентификация
132 Route::post('login', [AdminController::class, 'autenticate'])->name('auth'); 132 Route::post('login', [AdminController::class, 'autenticate'])->name('auth');
133 133
134 }); 134 });
135 135
136 // Личный кабинет админки 136 // Личный кабинет админки
137 Route::group([ 137 Route::group([
138 'as' => 'admin.', // имя маршрута, например auth.index 138 'as' => 'admin.', // имя маршрута, например auth.index
139 'prefix' => 'admin', // префикс маршрута, например auth/index 139 'prefix' => 'admin', // префикс маршрута, например auth/index
140 'middleware' => ['auth'], ['admin'], 140 'middleware' => ['auth'], ['admin'],
141 ], function() { 141 ], function() {
142 142
143 // выход 143 // выход
144 Route::get('logout', [AdminController::class, 'logout'])->name('logout'); 144 Route::get('logout', [AdminController::class, 'logout'])->name('logout');
145 145
146 // кабинет главная страница 146 // кабинет главная страница
147 Route::get('cabinet', [AdminController::class, 'index'])->name('index'); 147 Route::get('cabinet', [AdminController::class, 'index'])->name('index');
148 148
149 // кабинет профиль админа - форма 149 // кабинет профиль админа - форма
150 Route::get('profile', [AdminController::class, 'profile'])->name('profile'); 150 Route::get('profile', [AdminController::class, 'profile'])->name('profile');
151 // кабинет профиль админа - сохранение формы 151 // кабинет профиль админа - сохранение формы
152 Route::post('profile', [AdminController::class, 'store_profile'])->name('store_profile'); 152 Route::post('profile', [AdminController::class, 'store_profile'])->name('store_profile');
153 153
154 //кабинет сообщения админа 154 //кабинет сообщения админа
155 //Route::get('messages', [AdminController::class, 'profile'])->name('profile'); 155 //Route::get('messages', [AdminController::class, 'profile'])->name('profile');
156 156
157 157
158 // кабинет профиль - форма пароли 158 // кабинет профиль - форма пароли
159 Route::get('password', [AdminController::class, 'profile_password'])->name('password'); 159 Route::get('password', [AdminController::class, 'profile_password'])->name('password');
160 // кабинет профиль - сохранение формы пароля 160 // кабинет профиль - сохранение формы пароля
161 Route::post('password', [AdminController::class, 'profile_password_new'])->name('password'); 161 Route::post('password', [AdminController::class, 'profile_password_new'])->name('password');
162 162
163 163
164 // кабинет профиль пользователя - форма 164 // кабинет профиль пользователя - форма
165 Route::get('user-profile/{user}', [AdminController::class, 'profile_user'])->name('user-profile'); 165 Route::get('user-profile/{user}', [AdminController::class, 'profile_user'])->name('user-profile');
166 // кабинет профиль пользователя - сохранение формы 166 // кабинет профиль пользователя - сохранение формы
167 Route::post('user-profile/{user}', [AdminController::class, 'store_profile_user'])->name('user-store_profile'); 167 Route::post('user-profile/{user}', [AdminController::class, 'store_profile_user'])->name('user-store_profile');
168 168
169 // кабинет профиль работодатель - форма 169 // кабинет профиль работодатель - форма
170 Route::get('employer-profile/{employer}', [EmployersController::class, 'form_update_employer'])->name('employer-profile'); 170 Route::get('employer-profile/{employer}', [EmployersController::class, 'form_update_employer'])->name('employer-profile');
171 // кабинет профиль работодатель - сохранение формы 171 // кабинет профиль работодатель - сохранение формы
172 Route::post('employer-profile/{employer}', [EmployersController::class, 'update_employer'])->name('update-employer-profile'); 172 Route::post('employer-profile/{employer}', [EmployersController::class, 'update_employer'])->name('update-employer-profile');
173 // кабинет удаление профиль работодателя и юзера 173 // кабинет удаление профиль работодателя и юзера
174 Route::delete('employers/delete/{employer}/{user}', [EmployersController::class, 'delete_employer'])->name('delete-employer'); 174 Route::delete('employers/delete/{employer}/{user}', [EmployersController::class, 'delete_employer'])->name('delete-employer');
175 175
176 // кабинет профиль работник - форма 176 // кабинет профиль работник - форма
177 Route::get('worker-profile/add/{user}', [WorkersController::class, 'form_add_worker'])->name('worker-profile-add'); 177 Route::get('worker-profile/add/{user}', [WorkersController::class, 'form_add_worker'])->name('worker-profile-add');
178 Route::post('worker-profile/add/{user}', [WorkersController::class, 'form_store_worker'])->name('worker-profile-store'); 178 Route::post('worker-profile/add/{user}', [WorkersController::class, 'form_store_worker'])->name('worker-profile-store');
179 Route::get('worker-profile/{worker}', [WorkersController::class, 'form_edit_worker'])->name('worker-profile-edit'); 179 Route::get('worker-profile/{worker}', [WorkersController::class, 'form_edit_worker'])->name('worker-profile-edit');
180 // кабинет профиль работник - сохранение формы 180 // кабинет профиль работник - сохранение формы
181 Route::post('worker-profile/{worker}', [WorkersController::class, 'form_update_worker'])->name('worker-profile-update'); 181 Route::post('worker-profile/{worker}', [WorkersController::class, 'form_update_worker'])->name('worker-profile-update');
182 182
183 // Медиа 183 // Медиа
184 Route::get('media', [MediaController::class, 'index'])->name('media'); 184 Route::get('media', [MediaController::class, 'index'])->name('media');
185 Route::delete('media/{media}', [MediaController::class, 'delete'])->name('delete-media'); 185 Route::delete('media/{media}', [MediaController::class, 'delete'])->name('delete-media');
186 186
187 // кабинет настройки сайта - форма 187 // кабинет настройки сайта - форма
188 Route::get('config', [AdminController::class, 'config_form'])->name('config'); 188 Route::get('config', [AdminController::class, 'config_form'])->name('config');
189 // кабинет настройки сайта сохранение формы 189 // кабинет настройки сайта сохранение формы
190 Route::post('config', [AdminController::class, 'store_config'])->name('store_config'); 190 Route::post('config', [AdminController::class, 'store_config'])->name('store_config');
191 191
192 // кабинет - новости 192 // кабинет - новости
193 Route::get('news-list', [AdminController::class, 'news_admin'])->name('news_admin'); 193 Route::get('news-list', [AdminController::class, 'news_admin'])->name('news_admin');
194 Route::get('news/add', [AdminController::class, 'new_admin_add'])->name('new_admin_add'); 194 Route::get('news/add', [AdminController::class, 'new_admin_add'])->name('new_admin_add');
195 Route::post('news/add', [AdminController::class, 'new_admin_add_save'])->name('new_admin_save_add'); 195 Route::post('news/add', [AdminController::class, 'new_admin_add_save'])->name('new_admin_save_add');
196 Route::get('news/edit/{new}', [AdminController::class, 'new_admin_edit'])->name('new_admin_edit'); 196 Route::get('news/edit/{new}', [AdminController::class, 'new_admin_edit'])->name('new_admin_edit');
197 Route::post('news/edit/{new}', [AdminController::class, 'new_admin_update_save'])->name('new_admin_update'); 197 Route::post('news/edit/{new}', [AdminController::class, 'new_admin_update_save'])->name('new_admin_update');
198 Route::get('news/delete/{new}', [AdminController::class, 'new_admin_delete'])->name('new_admin_delete'); 198 Route::get('news/delete/{new}', [AdminController::class, 'new_admin_delete'])->name('new_admin_delete');
199 199
200 // кабинет - пользователи 200 // кабинет - пользователи
201 Route::get('users', [UsersController::class, 'index'])->name('users'); 201 Route::get('users', [UsersController::class, 'index'])->name('users');
202 Route::get('user-delete/{user}', [UsersController::class, 'user_delete'])->name('user_delete'); 202 Route::get('user-delete/{user}', [UsersController::class, 'user_delete'])->name('user_delete');
203 203
204 // кабинет - пользователи 204 // кабинет - пользователи
205 Route::get('admin-users', [AdminController::class, 'index_admin'])->name('admin-users'); 205 Route::get('admin-users', [AdminController::class, 'index_admin'])->name('admin-users');
206 206
207 // кабинет - работодатели 207 // кабинет - работодатели
208 Route::get('employers', [EmployersController::class, 'index'])->name('employers'); 208 Route::get('employers', [EmployersController::class, 'index'])->name('employers');
209 209
210 Route::get('employers/comment/{employer}', [EmployersController::class, 'comment_read'])->name('comment-employer'); 210 Route::get('employers/comment/{employer}', [EmployersController::class, 'comment_read'])->name('comment-employer');
211 211
212 Route::get('flot/add/{employer}', [EmployersController::class, 'add_flot'])->name('flot_add'); 212 Route::get('flot/add/{employer}', [EmployersController::class, 'add_flot'])->name('flot_add');
213 Route::post('flot/add', [EmployersController::class, 'save_add_flot'])->name('flot_add_save'); 213 Route::post('flot/add', [EmployersController::class, 'save_add_flot'])->name('flot_add_save');
214 Route::get('flot/{flot}/{employer}', [EmployersController::class, 'edit_flot'])->name('flot'); 214 Route::get('flot/{flot}/{employer}', [EmployersController::class, 'edit_flot'])->name('flot');
215 Route::put('flot/{flot}', [EmployersController::class, 'edit_save_flot'])->name('flot_edit'); 215 Route::put('flot/{flot}', [EmployersController::class, 'edit_save_flot'])->name('flot_edit');
216 Route::get('flot/{flot}/{employer_id}/delete', [EmployersController::class, 'delete_flot'])->name('flot_delete'); 216 Route::get('flot/{flot}/{employer_id}/delete', [EmployersController::class, 'delete_flot'])->name('flot_delete');
217 217
218 // кабинет - соискатели 218 // кабинет - соискатели
219 Route::get('workers', [WorkersController::class, 'index'])->name('workers'); 219 Route::get('workers', [WorkersController::class, 'index'])->name('workers');
220 220
221 // кабинет - база данных 221 // кабинет - база данных
222 Route::get('basedata', [UsersController::class, 'index_bd'])->name('basedata'); 222 Route::get('basedata', [UsersController::class, 'index_bd'])->name('basedata');
223 Route::get('basedata/add', [UsersController::class, 'add_bd'])->name('add-basedata'); 223 Route::get('basedata/add', [UsersController::class, 'add_bd'])->name('add-basedata');
224 Route::post('basedata/add', [UsersController::class, 'add_store_bd'])->name('add-store-basedata'); 224 Route::post('basedata/add', [UsersController::class, 'add_store_bd'])->name('add-store-basedata');
225 Route::get('basedata/edit/{user}', [UsersController::class, 'edit_bd'])->name('edit-basedata'); 225 Route::get('basedata/edit/{user}', [UsersController::class, 'edit_bd'])->name('edit-basedata');
226 Route::put('basedata/edit/{user}', [UsersController::class, 'update_bd'])->name('update-basedata'); 226 Route::put('basedata/edit/{user}', [UsersController::class, 'update_bd'])->name('update-basedata');
227 Route::delete('basedata/delete/{user}', [UsersController::class, 'destroy_bd'])->name('delete-basedata'); 227 Route::delete('basedata/delete/{user}', [UsersController::class, 'destroy_bd'])->name('delete-basedata');
228 Route::get('basedata/doc/{user}', [UsersController::class, 'doc_bd'])->name('doc-basedata'); 228 Route::get('basedata/doc/{user}', [UsersController::class, 'doc_bd'])->name('doc-basedata');
229 229
230 // кабинет - вакансии 230 // кабинет - вакансии
231 Route::get('ad-employers', [Ad_EmployersController::class, 'index'])->name('ad-employers'); 231 Route::get('ad-employers', [Ad_EmployersController::class, 'index'])->name('ad-employers');
232 Route::get('ad-employers/add', [Ad_EmployersController::class, 'create'])->name('add-ad-employers'); 232 Route::get('ad-employers/add', [Ad_EmployersController::class, 'create'])->name('add-ad-employers');
233 Route::post('ad-employers/add', [Ad_EmployersController::class, 'store'])->name('store-ad-employers'); 233 Route::post('ad-employers/add', [Ad_EmployersController::class, 'store'])->name('store-ad-employers');
234 Route::get('ad-employers/edit/{ad_employer}', [Ad_EmployersController::class, 'edit'])->name('edit-ad-employers'); 234 Route::get('ad-employers/edit/{ad_employer}', [Ad_EmployersController::class, 'edit'])->name('edit-ad-employers');
235 Route::post('ad-employers/edit/{ad_employer}', [Ad_EmployersController::class, 'update'])->name('update-ad-employers'); 235 Route::post('ad-employers/edit/{ad_employer}', [Ad_EmployersController::class, 'update'])->name('update-ad-employers');
236 Route::delete('ad-employers/delete/{ad_employer}', [Ad_EmployersController::class, 'destroy'])->name('delete-ad-employer'); 236 Route::delete('ad-employers/delete/{ad_employer}', [Ad_EmployersController::class, 'destroy'])->name('delete-ad-employer');
237 237
238 // Редактирование должности в вакансии 238 // Редактирование должности в вакансии
239 Route::put('update-jobs/{ad_jobs}', [Ad_EmployersController::class, 'update_ad_jobs'])->name('update_jobs'); 239 Route::put('update-jobs/{ad_jobs}', [Ad_EmployersController::class, 'update_ad_jobs'])->name('update_jobs');
240 Route::get('edit-jobs/{ad_jobs}', [Ad_EmployersController::class, 'edit_jobs'])->name('edit_jobs'); 240 Route::get('edit-jobs/{ad_jobs}', [Ad_EmployersController::class, 'edit_jobs'])->name('edit_jobs');
241 241
242 242
243 // кабинет - категории 243 // кабинет - категории
244 //Route::get('categories', [AdminController::class, 'index'])->name('categories'); 244 //Route::get('categories', [AdminController::class, 'index'])->name('categories');
245 245
246 // СRUD-операции над Справочником Категории 246 // СRUD-операции над Справочником Категории
247 247
248 Route::resource('categories', CategoryController::class, ['except' => ['show']]); 248 Route::resource('categories', CategoryController::class, ['except' => ['show']]);
249 249
250 // CRUD-операции над справочником Категории для работодателей 250 // CRUD-операции над справочником Категории для работодателей
251 Route::resource('category-emp', CategoryEmpController::class, ['except' => ['show']]); 251 Route::resource('category-emp', CategoryEmpController::class, ['except' => ['show']]);
252 252
253 // CRUD-операции над справочником Образование 253 // CRUD-операции над справочником Образование
254 Route::resource('education', EducationController::class, ['except' => ['show']]); 254 Route::resource('education', EducationController::class, ['except' => ['show']]);
255 255
256 Route::get('rename-program-education', [EducationController::class, 'rename_program'])->name('rename-program-education'); 256 Route::get('rename-program-education', [EducationController::class, 'rename_program'])->name('rename-program-education');
257 Route::get('program-education', [EducationController::class, 'add_program'])->name('add-program-education'); 257 Route::get('program-education', [EducationController::class, 'add_program'])->name('add-program-education');
258 Route::post('program-education', [EducationController::class, 'store_program'])->name('store-program-education'); 258 Route::post('program-education', [EducationController::class, 'store_program'])->name('store-program-education');
259 259
260 Route::get('program-education/edit/{program}/{education}', [EducationController::class, 'edit_program'])->name('edit-program-education'); 260 Route::get('program-education/edit/{program}/{education}', [EducationController::class, 'edit_program'])->name('edit-program-education');
261 Route::post('program-education/edit/{program}/{education}', [EducationController::class, 'update_program'])->name('update-program-education'); 261 Route::post('program-education/edit/{program}/{education}', [EducationController::class, 'update_program'])->name('update-program-education');
262 262
263 Route::get('program-education/delete/{program}/{education}', [EducationController::class, 'delete_program'])->name('delete-program-education'); 263 Route::get('program-education/delete/{program}/{education}', [EducationController::class, 'delete_program'])->name('delete-program-education');
264 264
265 //Route::get('job-titles', [AdminController::class, 'index'])->name('job-titles'); 265 //Route::get('job-titles', [AdminController::class, 'index'])->name('job-titles');
266 /* 266 /*
267 * кабинет - CRUD-операции по справочнику должности 267 * кабинет - CRUD-операции по справочнику должности
268 * 268 *
269 */ 269 */
270 Route::resource('job-titles', JobTitlesController::class, ['except' => ['show']]); 270 Route::resource('job-titles', JobTitlesController::class, ['except' => ['show']]);
271 271
272 // кабинет - сообщения (чтение чужих) 272 // кабинет - сообщения (чтение чужих)
273 Route::get('messages', [MsgAnswersController::class, 'messages'])->name('messages'); 273 Route::get('messages', [MsgAnswersController::class, 'messages'])->name('messages');
274 // кабинет - просмотр сообщения чужого (чтение) 274 // кабинет - просмотр сообщения чужого (чтение)
275 Route::get('messages/{message}', [MsgAnswersController::class, 'read_message'])->name('read-message'); 275 Route::get('messages/{message}', [MsgAnswersController::class, 'read_message'])->name('read-message');
276 276
277 // кабинет - сообщения (админские) 277 // кабинет - сообщения (админские)
278 Route::get('admin-messages', [MsgAnswersController::class, 'admin_messages'])->name('admin-messages'); 278 Route::get('admin-messages', [MsgAnswersController::class, 'admin_messages'])->name('admin-messages');
279 // кабинет - сообщения (админские) 279 // кабинет - сообщения (админские)
280 Route::post('admin-messages', [MsgAnswersController::class, 'admin_messages_post'])->name('admin-messages-post'); 280 Route::post('admin-messages', [MsgAnswersController::class, 'admin_messages_post'])->name('admin-messages-post');
281 // кабинет - sql - конструкция запросов 281 // кабинет - sql - конструкция запросов
282 Route::get('messages-sql', [MsgAnswersController::class, 'messages_sql'])->name('messages-sql'); 282 Route::get('messages-sql', [MsgAnswersController::class, 'messages_sql'])->name('messages-sql');
283 283
284 Route::post('admin-reject-message', [MsgAnswersController::class, 'reject_message'])->name('reject_message'); 284 Route::post('admin-reject-message', [MsgAnswersController::class, 'reject_message'])->name('reject_message');
285 Route::post('admin-send-message', [MsgAnswersController::class, 'send_message'])->name('send_message'); 285 Route::post('admin-send-message', [MsgAnswersController::class, 'send_message'])->name('send_message');
286 286
287 /* 287 /*
288 * Расписанный подход в описании каждой директорий групп пользователей. 288 * Расписанный подход в описании каждой директорий групп пользователей.
289 */ 289 */
290 // кабинет - группы пользователей 290 // кабинет - группы пользователей
291 Route::get('groups', [GroupsController::class, 'index'])->name('groups'); 291 Route::get('groups', [GroupsController::class, 'index'])->name('groups');
292 // кабинет - добавление форма группы пользователей 292 // кабинет - добавление форма группы пользователей
293 Route::get('groups/add', [GroupsController::class, 'add'])->name('add-group'); 293 Route::get('groups/add', [GroupsController::class, 'add'])->name('add-group');
294 // кабинет - сохранение формы группы пользователей 294 // кабинет - сохранение формы группы пользователей
295 Route::post('groups/add', [GroupsController::class, 'store'])->name('add-group-store'); 295 Route::post('groups/add', [GroupsController::class, 'store'])->name('add-group-store');
296 // кабинет - редактирование форма группы пользователей 296 // кабинет - редактирование форма группы пользователей
297 Route::get('groups/edit/{group}', [GroupsController::class, 'edit'])->name('edit-group'); 297 Route::get('groups/edit/{group}', [GroupsController::class, 'edit'])->name('edit-group');
298 // кабинет - сохранение редактированной формы группы пользователей 298 // кабинет - сохранение редактированной формы группы пользователей
299 Route::post('groups/edit/{group}', [GroupsController::class, 'update'])->name('update-group'); 299 Route::post('groups/edit/{group}', [GroupsController::class, 'update'])->name('update-group');
300 // кабинет - удаление группы пользователей 300 // кабинет - удаление группы пользователей
301 Route::delete('groups/delete/{group}', [GroupsController::class, 'destroy'])->name('delete-group'); 301 Route::delete('groups/delete/{group}', [GroupsController::class, 'destroy'])->name('delete-group');
302 302
303 303
304 // кабинет - список админов 304 // кабинет - список админов
305 Route::get('group-admin', [AdminController::class, 'index'])->name('group-admin'); 305 Route::get('group-admin', [AdminController::class, 'index'])->name('group-admin');
306 306
307 // справочник Позиции 307 // справочник Позиции
308 Route::get('positions', [AdminController::class, 'position'])->name('position'); 308 Route::get('positions', [AdminController::class, 'position'])->name('position');
309 Route::get('positions/add', [AdminController::class, 'position_add'])->name('add-position'); 309 Route::get('positions/add', [AdminController::class, 'position_add'])->name('add-position');
310 Route::post('positions/add', [AdminController::class, 'position_add_save'])->name('add-save-position'); 310 Route::post('positions/add', [AdminController::class, 'position_add_save'])->name('add-save-position');
311 Route::get('positions/edit/{position}', [AdminController::class, 'position_edit'])->name('edit-position'); 311 Route::get('positions/edit/{position}', [AdminController::class, 'position_edit'])->name('edit-position');
312 Route::post('position/edit/{position}', [AdminController::class, 'position_update'])->name('update-position'); 312 Route::post('position/edit/{position}', [AdminController::class, 'position_update'])->name('update-position');
313 Route::get('position/delete/{position}', [AdminController::class, 'position_delete'])->name('delete-position'); 313 Route::get('position/delete/{position}', [AdminController::class, 'position_delete'])->name('delete-position');
314 314
315 /////редактор////// кабинет - редактор сайта//////////////////////// 315 /////редактор////// кабинет - редактор сайта////////////////////////
316 Route::get('editor-site', function() { 316 Route::get('editor-site', function() {
317 return view('admin.editor.index'); 317 return view('admin.editor.index');
318 })->name('editor-site'); 318 })->name('editor-site');
319 319
320 320
321 // кабинет - редактор шапки-футера сайта 321 // кабинет - редактор шапки-футера сайта
322 Route::get('edit-blocks', [CompanyController::class, 'editblocks'])->name('edit-blocks'); 322 Route::get('edit-blocks', [CompanyController::class, 'editblocks'])->name('edit-blocks');
323 Route::get('edit-bloks/add', [CompanyController::class, 'editblock_add'])->name('add-block'); 323 Route::get('edit-bloks/add', [CompanyController::class, 'editblock_add'])->name('add-block');
324 Route::post('edit-bloks/add', [CompanyController::class, 'editblock_store'])->name('add-block-store'); 324 Route::post('edit-bloks/add', [CompanyController::class, 'editblock_store'])->name('add-block-store');
325 Route::get('edit-bloks/ajax', [CompanyController::class, 'editblock_ajax'])->name('ajax.block'); 325 Route::get('edit-bloks/ajax', [CompanyController::class, 'editblock_ajax'])->name('ajax.block');
326 Route::get('edit-bloks/edit/{block}', [CompanyController::class, 'editblock_edit'])->name('edit-block'); 326 Route::get('edit-bloks/edit/{block}', [CompanyController::class, 'editblock_edit'])->name('edit-block');
327 Route::put('edit-bloks/edit/{block}', [CompanyController::class, 'editblock_update'])->name('update-block'); 327 Route::put('edit-bloks/edit/{block}', [CompanyController::class, 'editblock_update'])->name('update-block');
328 Route::delete('edit-bloks/delete/{block}', [CompanyController::class, 'editblock_destroy'])->name('delete-block'); 328 Route::delete('edit-bloks/delete/{block}', [CompanyController::class, 'editblock_destroy'])->name('delete-block');
329 329
330 330
331 // кабинет - редактор должности на главной 331 // кабинет - редактор должности на главной
332 Route::get('job-titles-main', [CompanyController::class, 'job_titles_main'])->name('job-titles-main'); 332 Route::get('job-titles-main', [CompanyController::class, 'job_titles_main'])->name('job-titles-main');
333 333
334 // кабинет - счетчики на главной 334 // кабинет - счетчики на главной
335 Route::get('counters-main', [CompanyController::class, 'counters_main'])->name('counters-main'); 335 Route::get('counters-main', [CompanyController::class, 'counters_main'])->name('counters-main');
336 Route::post('counters-main/edit/{name}', [CompanyController::class, 'counters_main_update'])->name('counters-main-update'); 336 Route::post('counters-main/edit/{name}', [CompanyController::class, 'counters_main_update'])->name('counters-main-update');
337 337
338 // кабинет - редактор работодатели на главной 338 // кабинет - редактор работодатели на главной
339 Route::get('employers-main', [CompanyController::class, 'employers_main'])->name('employers-main'); 339 Route::get('employers-main', [CompanyController::class, 'employers_main'])->name('employers-main');
340 Route::post('employers-main-add', [CompanyController::class, 'employers_main_add'])->name('employers-main-add');
341 Route::post('employers-main-remove', [CompanyController::class, 'employers_main_remove'])->name('employers-main-remove');
340 342
341 343
342 // кабинет - редактор seo-сайта 344 // кабинет - редактор seo-сайта
343 Route::get('editor-seo', [CompanyController::class, 'editor_seo'])->name('editor-seo'); 345 Route::get('editor-seo', [CompanyController::class, 'editor_seo'])->name('editor-seo');
344 Route::get('editor-seo/add', [CompanyController::class, 'editor_seo_add'])->name('add-seo'); 346 Route::get('editor-seo/add', [CompanyController::class, 'editor_seo_add'])->name('add-seo');
345 Route::post('editor-seo/add', [CompanyController::class, 'editor_seo_store'])->name('add-seo-store'); 347 Route::post('editor-seo/add', [CompanyController::class, 'editor_seo_store'])->name('add-seo-store');
346 Route::get('editor-seo/ajax', [CompanyController::class, 'editor_seo_ajax'])->name('ajax.seo'); 348 Route::get('editor-seo/ajax', [CompanyController::class, 'editor_seo_ajax'])->name('ajax.seo');
347 Route::get('editor-seo/edit/{page}', [CompanyController::class, 'editor_seo_edit'])->name('edit-seo'); 349 Route::get('editor-seo/edit/{page}', [CompanyController::class, 'editor_seo_edit'])->name('edit-seo');
348 Route::put('editor-seo/edit/{page}', [CompanyController::class, 'editor_seo_update'])->name('update-seo'); 350 Route::put('editor-seo/edit/{page}', [CompanyController::class, 'editor_seo_update'])->name('update-seo');
349 Route::delete('editor-seo/delete/{page}', [CompanyController::class, 'editor_seo_destroy'])->name('delete-seo'); 351 Route::delete('editor-seo/delete/{page}', [CompanyController::class, 'editor_seo_destroy'])->name('delete-seo');
350 352
351 353
352 // кабинет - редактор страниц 354 // кабинет - редактор страниц
353 Route::get('editor-pages', [CompanyController::class, 'editor_pages'])->name('editor-pages'); 355 Route::get('editor-pages', [CompanyController::class, 'editor_pages'])->name('editor-pages');
354 // кабинет - добавление страницы 356 // кабинет - добавление страницы
355 Route::get('editor-pages/add', [CompanyController::class, 'editor_pages_add'])->name('add-page'); 357 Route::get('editor-pages/add', [CompanyController::class, 'editor_pages_add'])->name('add-page');
356 // кабинет - сохранение формы страницы 358 // кабинет - сохранение формы страницы
357 Route::post('editor-page/add', [CompanyController::class, 'editor_pages_store'])->name('add-page-store'); 359 Route::post('editor-page/add', [CompanyController::class, 'editor_pages_store'])->name('add-page-store');
358 // кабинет - редактирование форма страницы 360 // кабинет - редактирование форма страницы
359 Route::get('editor-pages/edit/{page}', [CompanyController::class, 'editor_pages_edit'])->name('edit-page'); 361 Route::get('editor-pages/edit/{page}', [CompanyController::class, 'editor_pages_edit'])->name('edit-page');
360 // кабинет - сохранение редактированной формы страницы 362 // кабинет - сохранение редактированной формы страницы
361 Route::put('editor-pages/edit/{page}', [CompanyController::class, 'editor_pages_update'])->name('update-page'); 363 Route::put('editor-pages/edit/{page}', [CompanyController::class, 'editor_pages_update'])->name('update-page');
362 // кабинет - удаление страницы 364 // кабинет - удаление страницы
363 Route::delete('editor-pages/delete/{page}', [CompanyController::class, 'editor_pages_destroy'])->name('delete-page'); 365 Route::delete('editor-pages/delete/{page}', [CompanyController::class, 'editor_pages_destroy'])->name('delete-page');
364 366
365 367
366 // кабинет - реклама сайта 368 // кабинет - реклама сайта
367 Route::get('reclames', [CompanyController::class, 'reclames'])->name('reclames'); 369 Route::get('reclames', [CompanyController::class, 'reclames'])->name('reclames');
368 Route::get('reclames/add', [CompanyController::class, 'reclames_add'])->name('add-reclames'); 370 Route::get('reclames/add', [CompanyController::class, 'reclames_add'])->name('add-reclames');
369 Route::post('reclames/add', [CompanyController::class, 'reclames_store'])->name('add-reclames-store'); 371 Route::post('reclames/add', [CompanyController::class, 'reclames_store'])->name('add-reclames-store');
370 Route::get('reclames/edit/{reclame}', [CompanyController::class, 'reclames_edit'])->name('edit-reclames'); 372 Route::get('reclames/edit/{reclame}', [CompanyController::class, 'reclames_edit'])->name('edit-reclames');
371 Route::put('reclames/edit/{reclame}', [CompanyController::class, 'reclames_update'])->name('update-reclames'); 373 Route::put('reclames/edit/{reclame}', [CompanyController::class, 'reclames_update'])->name('update-reclames');
372 Route::delete('reclames/delete/{reclame}', [CompanyController::class, 'reclames_destroy'])->name('delete-reclames'); 374 Route::delete('reclames/delete/{reclame}', [CompanyController::class, 'reclames_destroy'])->name('delete-reclames');
373 //////////////////////////////////////////////////////////////////////// 375 ////////////////////////////////////////////////////////////////////////
374 376
375 377
376 // кабинет - отзывы о работодателе для модерации 378 // кабинет - отзывы о работодателе для модерации
377 Route::get('answers', [EmployersController::class, 'answers'])->name('answers'); 379 Route::get('answers', [EmployersController::class, 'answers'])->name('answers');
378 380
379 // Общая страница статистики 381 // Общая страница статистики
380 Route::get('statics', function () { 382 Route::get('statics', function () {
381 return view('admin.static.index'); 383 return view('admin.static.index');
382 })->name('statics'); 384 })->name('statics');
383 385
384 // кабинет - статистика работников 386 // кабинет - статистика работников
385 Route::get('static-workers', [WorkersController::class, 'static_workers'])->name('static-workers'); 387 Route::get('static-workers', [WorkersController::class, 'static_workers'])->name('static-workers');
386 388
387 // кабинет - статистика вакансий работодателя 389 // кабинет - статистика вакансий работодателя
388 Route::get('static-ads', [EmployersController::class, 'static_ads'])->name('static-ads'); 390 Route::get('static-ads', [EmployersController::class, 'static_ads'])->name('static-ads');
389 391
390 // кабинет - справочник - блоки информации (дипломы и документы) для резюме работника 392 // кабинет - справочник - блоки информации (дипломы и документы) для резюме работника
391 /* 393 /*
392 * CRUD-операции над справочником дипломы и документы 394 * CRUD-операции над справочником дипломы и документы
393 */ 395 */
394 //Route::get('infobloks', [WorkersController::class, 'infobloks'])->name('infobloks'); 396 //Route::get('infobloks', [WorkersController::class, 'infobloks'])->name('infobloks');
395 Route::resource('infobloks', InfoBloksController::class, ['except' => ['show']]); 397 Route::resource('infobloks', InfoBloksController::class, ['except' => ['show']]);
396 398
397 // кабинет - роли пользователя 399 // кабинет - роли пользователя
398 Route::get('roles', [UsersController::class, 'roles'])->name('roles'); 400 Route::get('roles', [UsersController::class, 'roles'])->name('roles');
399 401
400 Route::get('admin_roles', [UsersController::class, 'admin_roles'])->name('admin_roles'); 402 Route::get('admin_roles', [UsersController::class, 'admin_roles'])->name('admin_roles');
401 403
402 Route::get('logs', function() { 404 Route::get('logs', function() {
403 $files = Storage::files('logs/laravel.log'); 405 $files = Storage::files('logs/laravel.log');
404 })->name('logs'); 406 })->name('logs');
405 }); 407 });
406 408
407 // Инструментальные страницы 409 // Инструментальные страницы
408 Route::post('ckeditor/upload', [CKEditorController::class, 'upload'])->name('ckeditor.image-upload'); 410 Route::post('ckeditor/upload', [CKEditorController::class, 'upload'])->name('ckeditor.image-upload');
409 411
410 Route::get('redis/', [PagesController::class, 'redis'])->name('redis'); 412 Route::get('redis/', [PagesController::class, 'redis'])->name('redis');
411 413
412 Route::get('excel/', [PagesController::class, 'excel'])->name('excel'); 414 Route::get('excel/', [PagesController::class, 'excel'])->name('excel');
413 415
414 // Страницы с произвольным контентом 416 // Страницы с произвольным контентом
415 Route::get('pages/{pages:slug}', [PagesController::class, 'pages'])->name('page'); 417 Route::get('pages/{pages:slug}', [PagesController::class, 'pages'])->name('page');
416 418
417 // Форма обратной связи 419 // Форма обратной связи
418 Route::post('form_feedback', [PagesController::class, 'form_feedback'])->name('form_feedback'); 420 Route::post('form_feedback', [PagesController::class, 'form_feedback'])->name('form_feedback');
419 421
420 // Публичные страницы соискателя 422 // Публичные страницы соискателя
421 Route::get('workers/profile/{worker}', [WorkerController::class, 'profile'])->name('worker_page'); 423 Route::get('workers/profile/{worker}', [WorkerController::class, 'profile'])->name('worker_page');
422 424
423 //Страница вакансии 425 //Страница вакансии
424 Route::get('employer/ad/{ad_employer}', [AdEmployerController::class, 'ad_employer'])->name('ad-employer'); 426 Route::get('employer/ad/{ad_employer}', [AdEmployerController::class, 'ad_employer'])->name('ad-employer');
425 427
426 //Вакансии 428 //Вакансии
427 Route::get('vacancies', [MainController::class, 'vacancies'])->name('vacancies'); 429 Route::get('vacancies', [MainController::class, 'vacancies'])->name('vacancies');
428 430
429 //Вакансии поиск на главной 431 //Вакансии поиск на главной
430 Route::get('search-vacancies', [MainController::class, 'search_vacancies'])->name('search_vacancies'); 432 Route::get('search-vacancies', [MainController::class, 'search_vacancies'])->name('search_vacancies');
431 433
432 //Вакансии категория детальная 434 //Вакансии категория детальная
433 Route::get('list-vacancies/{categories?}', [MainController::class, 'list_vacancies'])->name('list-vacancies'); 435 Route::get('list-vacancies/{categories?}', [MainController::class, 'list_vacancies'])->name('list-vacancies');
434 436
435 // Лайк вакансии 437 // Лайк вакансии
436 Route::get('like-vacancy', [MainController::class, 'like_vacancy'])->name('like-vacancy'); 438 Route::get('like-vacancy', [MainController::class, 'like_vacancy'])->name('like-vacancy');
437 439
438 //Детальная страница вакансии - работодателя 440 //Детальная страница вакансии - работодателя
439 Route::get('vacancie/{vacancy}', [FrontEmployersController::class, 'vacancie'])->name('vacancie'); 441 Route::get('vacancie/{vacancy}', [FrontEmployersController::class, 'vacancie'])->name('vacancie');
440 442
441 //Судоходные компании 443 //Судоходные компании
442 Route::get('shipping-companies', [FrontCompanyController::class, 'shipping_companies'])->name('shipping_companies'); 444 Route::get('shipping-companies', [FrontCompanyController::class, 'shipping_companies'])->name('shipping_companies');
443 445
444 //Детальная инфа о компании 446 //Детальная инфа о компании
445 Route::get('info-company/{company}', [FrontCompanyController::class, 'info_company'])->name('info_company'); 447 Route::get('info-company/{company}', [FrontCompanyController::class, 'info_company'])->name('info_company');
446 448
447 //Образование 449 //Образование
448 Route::get('education', [EducationFrontController::class, 'index'])->name('education'); 450 Route::get('education', [EducationFrontController::class, 'index'])->name('education');
449 Route::get('education/{education}', [EducationFrontController::class, 'show'])->name('show_education')->where('education', '[0-9]+');; 451 Route::get('education/{education}', [EducationFrontController::class, 'show'])->name('show_education')->where('education', '[0-9]+');;
450 452
451 //Новости 453 //Новости
452 Route::get('news', [MainController::class, 'news'])->name('news'); 454 Route::get('news', [MainController::class, 'news'])->name('news');
453 Route::get('detail-new/{new}', [MainController::class, 'detail_new'])->name('detail_new'); 455 Route::get('detail-new/{new}', [MainController::class, 'detail_new'])->name('detail_new');
454 456
455 //Контакты 457 //Контакты
456 Route::get('contacts', [MainController::class, 'contacts'])->name('contacts'); 458 Route::get('contacts', [MainController::class, 'contacts'])->name('contacts');
457 459
458 //База резюме 460 //База резюме
459 Route::get('bd-resume', [WorkerController::class, 'bd_resume'])->name('bd_resume'); 461 Route::get('bd-resume', [WorkerController::class, 'bd_resume'])->name('bd_resume');
460 Route::get('bd_resume_danger', function(){ 462 Route::get('bd_resume_danger', function(){
461 return view('employers.bd_resume_danger'); 463 return view('employers.bd_resume_danger');
462 })->name('bd_resume_danger'); 464 })->name('bd_resume_danger');
463 465
464 Route::get('like-resume', [MainController::class, 'like_worker'])->name('like_resume'); 466 Route::get('like-resume', [MainController::class, 'like_worker'])->name('like_resume');
465 467
466 //Анкета соискателя 468 //Анкета соискателя
467 Route::get('resume-profile/{worker}', [WorkerController::class, 'resume_profile'])->name('resume_profile'); 469 Route::get('resume-profile/{worker}', [WorkerController::class, 'resume_profile'])->name('resume_profile');
468 470
469 //Скачать резюме 471 //Скачать резюме
470 Route::get('resume-download/{worker}', [WorkerController::class, 'resume_download'])->name('resume_download'); 472 Route::get('resume-download/{worker}', [WorkerController::class, 'resume_download'])->name('resume_download');
471 Route::get('resume-download/all', [WorkerController::class, 'resume_download_all'])->name('resume_download_all2'); 473 Route::get('resume-download/all', [WorkerController::class, 'resume_download_all'])->name('resume_download_all2');
472 Route::get('resume-download', [WorkerController::class, 'resume_download_all'])->name('resume_download_all'); 474 Route::get('resume-download', [WorkerController::class, 'resume_download_all'])->name('resume_download_all');
473 475
474 476
475 //Вход в кабинет 477 //Вход в кабинет
476 Route::get('login', [MainController::class, 'input_login'])->name('login'); 478 Route::get('login', [MainController::class, 'input_login'])->name('login');
477 479
478 // Выход из кабинета 480 // Выход из кабинета
479 Route::get('logout', [EmployerController::class, 'logout'])->name('logout'); 481 Route::get('logout', [EmployerController::class, 'logout'])->name('logout');
480 482
481 Route::get( 'register_worker', [WorkerController::class, 'register_worker'])->name('register_worker'); 483 Route::get( 'register_worker', [WorkerController::class, 'register_worker'])->name('register_worker');
482 Route::get('register_employer', [EmployerController::class, 'register_employer'])->name('register_employer'); 484 Route::get('register_employer', [EmployerController::class, 'register_employer'])->name('register_employer');
483 485
484 //восстановление пароля 486 //восстановление пароля
485 Route::get('repair-password', [MainController::class, 'repair_password'])->name('repair_password'); 487 Route::get('repair-password', [MainController::class, 'repair_password'])->name('repair_password');
486 // Звезда сообщения 488 // Звезда сообщения
487 Route::post('stars-answer', [WorkerController::class, 'stars_answer'])->name('stars_answer'); 489 Route::post('stars-answer', [WorkerController::class, 'stars_answer'])->name('stars_answer');
488 490
489 // Борьба 491 // Борьба
490 Route::get('clear_cookie', function() { 492 Route::get('clear_cookie', function() {
491 \App\Classes\Cookies_vacancy::clear_vacancy(); 493 \App\Classes\Cookies_vacancy::clear_vacancy();
492 return redirect()->route('index'); 494 return redirect()->route('index');
493 })->name('clear_cookie'); 495 })->name('clear_cookie');
494 496
495 Route::get('cookies', function() { 497 Route::get('cookies', function() {
496 return view('cookies'); 498 return view('cookies');
497 })->name('cookies'); 499 })->name('cookies');
498 500
499 // Личный кабинет работник 501 // Личный кабинет работник
500 Route::group([ 502 Route::group([
501 'as' => 'worker.', // имя маршрута, например auth.index 503 'as' => 'worker.', // имя маршрута, например auth.index
502 'prefix' => 'worker', // префикс маршрута, например auth/index 504 'prefix' => 'worker', // префикс маршрута, например auth/index
503 'middleware' => ['auth'], ['is_worker'], 505 'middleware' => ['auth'], ['is_worker'],
504 ], function() { 506 ], function() {
505 // Формы редактирования 507 // Формы редактирования
506 Route::get('cabinet/basic_information', [WorkerController::class, 'basic_information'])->name('basic_information'); 508 Route::get('cabinet/basic_information', [WorkerController::class, 'basic_information'])->name('basic_information');
507 Route::get('cabinet/additional_documents', [WorkerController::class, 'additional_documents'])->name('additional_documents'); 509 Route::get('cabinet/additional_documents', [WorkerController::class, 'additional_documents'])->name('additional_documents');
508 510
509 // 1 страница - Моя анкета 511 // 1 страница - Моя анкета
510 Route::get('cabinet', [WorkerController::class, 'cabinet'])->name('cabinet'); 512 Route::get('cabinet', [WorkerController::class, 'cabinet'])->name('cabinet');
511 Route::post('cabinet/{worker}', [WorkerController::class, 'cabinet_save'])->name('cabinet_save'); 513 Route::post('cabinet/{worker}', [WorkerController::class, 'cabinet_save'])->name('cabinet_save');
512 Route::post('cabinet/cabinet_save_foto/{worker}', [WorkerController::class, 'cabinet_save_foto'])->name('cabinet_save_foto'); 514 Route::post('cabinet/cabinet_save_foto/{worker}', [WorkerController::class, 'cabinet_save_foto'])->name('cabinet_save_foto');
513 515
514 516
515 // 2 страница - Сообщения 517 // 2 страница - Сообщения
516 Route::get('cabinet/messages/{type_message}', [WorkerController::class, 'messages'])->name('messages'); 518 Route::get('cabinet/messages/{type_message}', [WorkerController::class, 'messages'])->name('messages');
517 Route::get('cabinet/dialog/{chat}', [WorkerController::class, 'dialog'])->name('dialog'); 519 Route::get('cabinet/dialog/{chat}', [WorkerController::class, 'dialog'])->name('dialog');
518 // 3 страница - Избранные вакансии 520 // 3 страница - Избранные вакансии
519 Route::get('cabinet/favorite', [WorkerController::class, 'favorite'])->name('favorite'); 521 Route::get('cabinet/favorite', [WorkerController::class, 'favorite'])->name('favorite');
520 // Продолжение борьбы против колорадов - избранные вакансии 522 // Продолжение борьбы против колорадов - избранные вакансии
521 Route::get('кабинет/favorite', [WorkerController::class, 'colorado'])->name('colorado'); 523 Route::get('кабинет/favorite', [WorkerController::class, 'colorado'])->name('colorado');
522 524
523 // 4 страница - Сменить пароль 525 // 4 страница - Сменить пароль
524 Route::get('кабинет/new_password', [WorkerController::class, 'new_password'])->name('new_password'); 526 Route::get('кабинет/new_password', [WorkerController::class, 'new_password'])->name('new_password');
525 Route::post('кабинет/new_password/save', [WorkerController::class, 'save_new_password'])->name('save_new_password'); 527 Route::post('кабинет/new_password/save', [WorkerController::class, 'save_new_password'])->name('save_new_password');
526 528
527 // 5 страница - Удалить профиль 529 // 5 страница - Удалить профиль
528 Route::get('кабинет/delete_profile', [WorkerController::class, 'delete_profile'])->name('delete_profile'); 530 Route::get('кабинет/delete_profile', [WorkerController::class, 'delete_profile'])->name('delete_profile');
529 Route::post('кабинет/delete_profile/delete', [WorkerController::class, 'delete_profile_result'])->name('deleteprofile_result'); 531 Route::post('кабинет/delete_profile/delete', [WorkerController::class, 'delete_profile_result'])->name('deleteprofile_result');
530 532
531 // Резюме -pdf 533 // Резюме -pdf
532 Route::get('кабинет/download/{worker}', [WorkerController::class, 'download'])->name('download'); 534 Route::get('кабинет/download/{worker}', [WorkerController::class, 'download'])->name('download');
533 535
534 // Поднятие анкеты 536 // Поднятие анкеты
535 Route::get('кабинет/up/{worker}', [WorkerController::class, 'up'])->name('up'); 537 Route::get('кабинет/up/{worker}', [WorkerController::class, 'up'])->name('up');
536 538
537 Route::post('test123', [WorkerController::class, 'test123'])->name('test123'); 539 Route::post('test123', [WorkerController::class, 'test123'])->name('test123');
538 540
539 // Добавление сертификата 541 // Добавление сертификата
540 Route::get('кабинет/new_sertificate/{worker}', [WorkerController::class, 'new_sertificate'])->name('new_sertificate'); 542 Route::get('кабинет/new_sertificate/{worker}', [WorkerController::class, 'new_sertificate'])->name('new_sertificate');
541 Route::post('кабинет/add_sertificate', [WorkerController::class, 'add_serificate'])->name('add_serificate'); 543 Route::post('кабинет/add_sertificate', [WorkerController::class, 'add_serificate'])->name('add_serificate');
542 Route::get('кабинет/edit_sertificate/{worker}/{doc}', [WorkerController::class, 'edit_sertificate'])->name('edit_sertificate'); 544 Route::get('кабинет/edit_sertificate/{worker}/{doc}', [WorkerController::class, 'edit_sertificate'])->name('edit_sertificate');
543 Route::get('кабинет/edit_sertificate/{doc}', [WorkerController::class, 'update_serificate'])->name('update_serificate'); 545 Route::get('кабинет/edit_sertificate/{doc}', [WorkerController::class, 'update_serificate'])->name('update_serificate');
544 Route::get('кабинет/delete_sertificate/{doc}', [WorkerController::class, 'delete_sertificate'])->name('delete_sertificate'); 546 Route::get('кабинет/delete_sertificate/{doc}', [WorkerController::class, 'delete_sertificate'])->name('delete_sertificate');
545 547
546 // Добавление предыдущих контактов компании 548 // Добавление предыдущих контактов компании
547 Route::get('кабинет/prev_company/{worker}', [WorkerController::class, 'new_prev_company'])->name('new_prev_company'); 549 Route::get('кабинет/prev_company/{worker}', [WorkerController::class, 'new_prev_company'])->name('new_prev_company');
548 Route::post('кабинет/add_prev_company', [WorkerController::class, 'add_prev_company'])->name('add_prev_company'); 550 Route::post('кабинет/add_prev_company', [WorkerController::class, 'add_prev_company'])->name('add_prev_company');
549 Route::get('кабинет/edit_prev_company/{doc}/{worker}', [WorkerController::class, 'edit_prev_company'])->name('edit_prev_company'); 551 Route::get('кабинет/edit_prev_company/{doc}/{worker}', [WorkerController::class, 'edit_prev_company'])->name('edit_prev_company');
550 Route::post('кабинет/update_prev_company/{doc}', [WorkerController::class, 'update_prev_company'])->name('update_prev_company'); 552 Route::post('кабинет/update_prev_company/{doc}', [WorkerController::class, 'update_prev_company'])->name('update_prev_company');
551 Route::get('кабинет/delete_prev_company/{doc}', [WorkerController::class, 'delete_prev_company'])->name('delete_prev_company'); 553 Route::get('кабинет/delete_prev_company/{doc}', [WorkerController::class, 'delete_prev_company'])->name('delete_prev_company');
552 554
553 // Добавление документа-диплома 555 // Добавление документа-диплома
554 Route::get('кабинет/add_diplom/{worker}', [WorkerController::class, 'add_diplom'])->name('add_diplom'); 556 Route::get('кабинет/add_diplom/{worker}', [WorkerController::class, 'add_diplom'])->name('add_diplom');
555 Route::post('кабинет/add_diplom', [WorkerController::class, 'add_diplom_save'])->name('dop_info_save'); 557 Route::post('кабинет/add_diplom', [WorkerController::class, 'add_diplom_save'])->name('dop_info_save');
556 Route::put('кабинет/edit_diploms/{worker}', [WorkerController::class, 'edit_diploms'])->name('edit_diploms'); 558 Route::put('кабинет/edit_diploms/{worker}', [WorkerController::class, 'edit_diploms'])->name('edit_diploms');
557 Route::get('кабинет/delete_ad_diplom/{worker}', [WorkerController::class, 'delete_add_diplom'])->name('delete_add_diplom'); 559 Route::get('кабинет/delete_ad_diplom/{worker}', [WorkerController::class, 'delete_add_diplom'])->name('delete_add_diplom');
558 560
559 // Добавление стандартного диплома 561 // Добавление стандартного диплома
560 Route::get('кабинет/add_document/{worker}', [WorkerController::class, 'add_document'])->name('add_document'); 562 Route::get('кабинет/add_document/{worker}', [WorkerController::class, 'add_document'])->name('add_document');
561 Route::post('кабинет/add_document/', [WorkerController::class, 'add_document_save'])->name('add_document_save'); 563 Route::post('кабинет/add_document/', [WorkerController::class, 'add_document_save'])->name('add_document_save');
562 Route::get('кабинет/edit_document/{doc}/{worker}', [WorkerController::class, 'edit_document'])->name('edit_document'); 564 Route::get('кабинет/edit_document/{doc}/{worker}', [WorkerController::class, 'edit_document'])->name('edit_document');
563 Route::post('кабинет/edit_document/{doc}', [WorkerController::class, 'edit_document_save'])->name('edit_document_save'); 565 Route::post('кабинет/edit_document/{doc}', [WorkerController::class, 'edit_document_save'])->name('edit_document_save');
564 Route::get('кабинет/delete_document/{doc}', [WorkerController::class, 'delete_document'])->name('delete_document'); 566 Route::get('кабинет/delete_document/{doc}', [WorkerController::class, 'delete_document'])->name('delete_document');
565 567
566 // Отправка сообщения работодателю от соискателя 568 // Отправка сообщения работодателю от соискателя
567 Route::post('сообщение/', [WorkerController::class, 'new_message'])->name('new_message'); 569 Route::post('сообщение/', [WorkerController::class, 'new_message'])->name('new_message');
568 }); 570 });
569 571
570 // Личный кабинет работодателя 572 // Личный кабинет работодателя
571 Route::group([ 573 Route::group([
572 'as' => 'employer.', // имя маршрута, например auth.index 574 'as' => 'employer.', // имя маршрута, например auth.index
573 'prefix' => 'employer', // префикс маршрута, например auth/index 575 'prefix' => 'employer', // префикс маршрута, например auth/index
574 'middleware' => ['auth'], !['is_worker'], 576 'middleware' => ['auth'], !['is_worker'],
575 ], function() { 577 ], function() {
576 // 0 страница - Личные данные работодателя 578 // 0 страница - Личные данные работодателя
577 Route::get('cabinet/employer_info', [EmployerController::class, 'employer_info'])->name('employer_info'); 579 Route::get('cabinet/employer_info', [EmployerController::class, 'employer_info'])->name('employer_info');
578 Route::post('cabinet/employer_info/{user}', [EmployerController::class, 'employer_info_save'])->name('employer_info_save'); 580 Route::post('cabinet/employer_info/{user}', [EmployerController::class, 'employer_info_save'])->name('employer_info_save');
579 581
580 // 1 страница - Профиль 582 // 1 страница - Профиль
581 Route::get('cabinet', [EmployerController::class, 'cabinet'])->name('cabinet'); 583 Route::get('cabinet', [EmployerController::class, 'cabinet'])->name('cabinet');
582 Route::post('cabinet/{Employer}', [EmployerController::class, 'cabinet_save'])->name('cabinet_save'); 584 Route::post('cabinet/{Employer}', [EmployerController::class, 'cabinet_save'])->name('cabinet_save');
583 Route::post('flot_add_ajax', [EmployerController::class, 'save_add_flot'])->name('save_add_flot'); 585 Route::post('flot_add_ajax', [EmployerController::class, 'save_add_flot'])->name('save_add_flot');
584 Route::get('flot_delete_ajax/{Flot}', [EmployerController::class, 'delete_flot'])->name('delete_flot'); 586 Route::get('flot_delete_ajax/{Flot}', [EmployerController::class, 'delete_flot'])->name('delete_flot');
585 Route::get('cabinet/flot_edit/{Flot}/{Employer}', [EmployerController::class, 'edit_flot'])->name('edit_flot'); 587 Route::get('cabinet/flot_edit/{Flot}/{Employer}', [EmployerController::class, 'edit_flot'])->name('edit_flot');
586 Route::post('cabinet/flot_edit/{Flot}', [EmployerController::class, 'update_flot'])->name('update_flot_save'); 588 Route::post('cabinet/flot_edit/{Flot}', [EmployerController::class, 'update_flot'])->name('update_flot_save');
587 Route::get('cabinet/flot', [EmployerController::class, 'slider_flot'])->name('slider_flot'); 589 Route::get('cabinet/flot', [EmployerController::class, 'slider_flot'])->name('slider_flot');
588 590
589 // 2 страница - Добавление вакансий 591 // 2 страница - Добавление вакансий
590 Route::get('cabinet/vacancie', [EmployerController::class, 'cabinet_vacancie'])->name('cabinet_vacancie'); 592 Route::get('cabinet/vacancie', [EmployerController::class, 'cabinet_vacancie'])->name('cabinet_vacancie');
591 Route::post('vacancie', [EmployerController::class, 'cabinet_vacancy_save1'])->name('vac_save'); 593 Route::post('vacancie', [EmployerController::class, 'cabinet_vacancy_save1'])->name('vac_save');
592 Route::get('cabinet/vacancie_danger', [EmployerController::class, 'cabinet_vacancie_danger'])->name('cabinet_vacancie_danger'); 594 Route::get('cabinet/vacancie_danger', [EmployerController::class, 'cabinet_vacancie_danger'])->name('cabinet_vacancie_danger');
593 595
594 596
595 Route::get('selected_people', [EmployerController::class, 'selected_people'])->name('selected_people'); 597 Route::get('selected_people', [EmployerController::class, 'selected_people'])->name('selected_people');
596 598
597 // 3 страница - Мои вакансии 599 // 3 страница - Мои вакансии
598 Route::get('cabinet/vacancy_list', [EmployerController::class, 'vacancy_list'])->name('vacancy_list'); 600 Route::get('cabinet/vacancy_list', [EmployerController::class, 'vacancy_list'])->name('vacancy_list');
599 Route::get('cabinet/vacancy/{ad_employer}', [EmployerController::class, 'vacancy_edit'])->name('vacancy_edit'); 601 Route::get('cabinet/vacancy/{ad_employer}', [EmployerController::class, 'vacancy_edit'])->name('vacancy_edit');
600 Route::get('cabinet/vacancy-delete/{ad_employer}', [EmployerController::class, 'vacancy_delete'])->name('vacancy_delete'); 602 Route::get('cabinet/vacancy-delete/{ad_employer}', [EmployerController::class, 'vacancy_delete'])->name('vacancy_delete');
601 Route::get('cabinet/vacancy-up/{ad_employer}', [EmployerController::class, 'vacancy_up'])->name('vacancy_up'); 603 Route::get('cabinet/vacancy-up/{ad_employer}', [EmployerController::class, 'vacancy_up'])->name('vacancy_up');
602 Route::get('cabinet/vacancy-eye/{ad_employer}/{status}', [EmployerController::class, 'vacancy_eye'])->name('vacancy_eye'); 604 Route::get('cabinet/vacancy-eye/{ad_employer}/{status}', [EmployerController::class, 'vacancy_eye'])->name('vacancy_eye');
603 Route::get('cabinet/vacancy-edit/{ad_employer}', [EmployerController::class, 'vacancy_edit'])->name('vacancy_edit'); 605 Route::get('cabinet/vacancy-edit/{ad_employer}', [EmployerController::class, 'vacancy_edit'])->name('vacancy_edit');
604 Route::post('cabinet/vacancy-edit/{ad_employer}', [EmployerController::class, 'vacancy_save_me'])->name('vacancy_save_me'); 606 Route::post('cabinet/vacancy-edit/{ad_employer}', [EmployerController::class, 'vacancy_save_me'])->name('vacancy_save_me');
605 607
606 // 4.1Ю. 608 // 4.1Ю.
607 Route::get('cabinet/ad_jobs/create/{ad_employer}', [Ad_jobsController::class, 'add_job_in_vac'])->name('add_job_in_vac'); 609 Route::get('cabinet/ad_jobs/create/{ad_employer}', [Ad_jobsController::class, 'add_job_in_vac'])->name('add_job_in_vac');
608 Route::post('cabinet/ad_jobs/create', [Ad_jobsController::class, 'add_job_in_vac_save'])->name('add_job_in_vac_save'); 610 Route::post('cabinet/ad_jobs/create', [Ad_jobsController::class, 'add_job_in_vac_save'])->name('add_job_in_vac_save');
609 Route::get('cabinet/ad_jobs/edit/{ad_job}/{ad_employer}', [Ad_jobsController::class, 'edit_job_in_vac'])->name('edit_job_in_vac'); 611 Route::get('cabinet/ad_jobs/edit/{ad_job}/{ad_employer}', [Ad_jobsController::class, 'edit_job_in_vac'])->name('edit_job_in_vac');
610 Route::post('cabinet/ad_jobs/edit/{ad_job}', [Ad_jobsController::class, 'edit_job_in_vac_save'])->name('edit_job_in_vac_save'); 612 Route::post('cabinet/ad_jobs/edit/{ad_job}', [Ad_jobsController::class, 'edit_job_in_vac_save'])->name('edit_job_in_vac_save');
611 Route::get('cabinet/ad_jobs/delete/{ad_job}', [Ad_jobsController::class, 'delete_job_in_vac'])->name('delete_job_in_vac'); 613 Route::get('cabinet/ad_jobs/delete/{ad_job}', [Ad_jobsController::class, 'delete_job_in_vac'])->name('delete_job_in_vac');
612 614
613 // 4 страница - Отклики на вакансии 615 // 4 страница - Отклики на вакансии
614 Route::get('cabinet/answers/{employer}', [EmployerController::class, 'answers'])->name('answers'); 616 Route::get('cabinet/answers/{employer}', [EmployerController::class, 'answers'])->name('answers');
615 Route::get('cabinet/status/{employer}', [EmployerController::class, 'supple_status2'])->name('supple'); 617 Route::get('cabinet/status/{employer}', [EmployerController::class, 'supple_status2'])->name('supple');
616 Route::get('status/{employer}/{ad_response}/{flag}', [EmployerController::class, 'supple_status'])->name('status_msg'); 618 Route::get('status/{employer}/{ad_response}/{flag}', [EmployerController::class, 'supple_status'])->name('status_msg');
617 619
618 // 5 страница - Сообщения 620 // 5 страница - Сообщения
619 Route::get('cabinet/messages/{type_message}', [EmployerController::class, 'messages'])->name('messages'); 621 Route::get('cabinet/messages/{type_message}', [EmployerController::class, 'messages'])->name('messages');
620 Route::get('cabinet/dialog/{chat}', [EmployerController::class, 'dialog'])->name('dialog'); 622 Route::get('cabinet/dialog/{chat}', [EmployerController::class, 'dialog'])->name('dialog');
621 Route::post('cabinet/send-message', [EmployerController::class, 'send_message'])->name('send_message'); 623 Route::post('cabinet/send-message', [EmployerController::class, 'send_message'])->name('send_message');
622 Route::post('test123', [EmployerController::class, 'test123'])->name('test123'); 624 Route::post('test123', [EmployerController::class, 'test123'])->name('test123');
623 625
624 // 6 страница - Избранный 626 // 6 страница - Избранный
625 Route::get('cabinet/favorites', [EmployerController::class, 'favorites'])->name('favorites'); 627 Route::get('cabinet/favorites', [EmployerController::class, 'favorites'])->name('favorites');
626 628
627 //7 страница - База данных 629 //7 страница - База данных
628 Route::get('cabinet/bd', [EmployerController::class, 'bd'])->name('bd'); 630 Route::get('cabinet/bd', [EmployerController::class, 'bd'])->name('bd');
629 631
630 //8 страница - База резюме 632 //8 страница - База резюме
631 Route::get('cabinet/bd-tupe', [EmployerController::class, 'bd_tupe'])->name('bd-tupe'); 633 Route::get('cabinet/bd-tupe', [EmployerController::class, 'bd_tupe'])->name('bd-tupe');
632 634
633 // 9 рассылка сообщений 635 // 9 рассылка сообщений
634 Route::get('cabinet/send-all-messages', [EmployerController::class, 'send_all_messages'])->name('send_all_messages'); 636 Route::get('cabinet/send-all-messages', [EmployerController::class, 'send_all_messages'])->name('send_all_messages');
635 Route::post('cabinet/send-all-messages/send', [EmployerController::class, 'send_all_post'])->name('send_all_post'); 637 Route::post('cabinet/send-all-messages/send', [EmployerController::class, 'send_all_post'])->name('send_all_post');
636 638
637 // 10 страница FAQ вопросы 639 // 10 страница FAQ вопросы
638 Route::get('cabinet/faq', [EmployerController::class, 'faq'])->name('faq'); 640 Route::get('cabinet/faq', [EmployerController::class, 'faq'])->name('faq');
639 641
640 // 11 страница - Настройка уведомлений 642 // 11 страница - Настройка уведомлений
641 Route::get('cabinet/subscribe', [EmployerController::class, 'subscribe'])->name('subscribe'); 643 Route::get('cabinet/subscribe', [EmployerController::class, 'subscribe'])->name('subscribe');
642 Route::get('cabinet/subscribe/save', [EmployerController::class, 'save_subscribe'])->name('save_subscribe'); 644 Route::get('cabinet/subscribe/save', [EmployerController::class, 'save_subscribe'])->name('save_subscribe');
643 645
644 // 12 страница - Сменить пароль 646 // 12 страница - Сменить пароль
645 Route::get('cabinet/password-reset', [EmployerController::class, 'password_reset'])->name('password_reset'); 647 Route::get('cabinet/password-reset', [EmployerController::class, 'password_reset'])->name('password_reset');
646 Route::get('cabinet/password-reset/new', [EmployerController::class, 'new_password'])->name('new_password'); 648 Route::get('cabinet/password-reset/new', [EmployerController::class, 'new_password'])->name('new_password');
647 649
648 // 13 страница - Удаление профиля 650 // 13 страница - Удаление профиля
649 Route::get('cabinet/delete-people', [EmployerController::class, 'delete_people'])->name('delete_people'); 651 Route::get('cabinet/delete-people', [EmployerController::class, 'delete_people'])->name('delete_people');
650 Route::get('cabinet/action-delete-people', [EmployerController::class, 'action_delete_user'])->name('action_delete_user'); 652 Route::get('cabinet/action-delete-people', [EmployerController::class, 'action_delete_user'])->name('action_delete_user');
651 Route::get('cabinet/action-ajax-delete-people', [EmployerController::class, 'ajax_delete_user'])->name('ajax_delete_user'); 653 Route::get('cabinet/action-ajax-delete-people', [EmployerController::class, 'ajax_delete_user'])->name('ajax_delete_user');
652 654
653 // Отправил сообщение 655 // Отправил сообщение
654 Route::post('сообщение/', [EmployerController::class, 'new_message'])->name('new_message'); 656 Route::post('сообщение/', [EmployerController::class, 'new_message'])->name('new_message');
655 657
656 Route::post('pin_chat/', [EmployerController::class, 'pin_chat'])->name('pin_chat'); 658 Route::post('pin_chat/', [EmployerController::class, 'pin_chat'])->name('pin_chat');
657 Route::post('remove_chat/', [EmployerController::class, 'remove_chat'])->name('remove_chat'); 659 Route::post('remove_chat/', [EmployerController::class, 'remove_chat'])->name('remove_chat');
658 }); 660 });
659 661
660 Route::get('TestWorker', [WorkerController::class, 'TestWorker'])->name('TestWorker'); 662 Route::get('TestWorker', [WorkerController::class, 'TestWorker'])->name('TestWorker');
661 663
662 Route::post('send_message', [HomeController::class, 'send_message'])->name('send_message'); 664 Route::post('send_message', [HomeController::class, 'send_message'])->name('send_message');
663 665
664 666