Commit f98ccb92caa998d4b50bd3ef07af55db88f5ab10
1 parent
d2571da21e
Exists in
master
Массова рассылка
Showing 15 changed files with 381 additions and 91 deletions Inline Diff
- app/Http/Controllers/EmployerController.php
- app/Http/Controllers/HomeController.php
- app/Http/Controllers/WorkerController.php
- app/Models/Chat.php
- app/Models/Message.php
- app/Models/MessagesRequests.php
- database/migrations/2024_08_09_071214_alter_table_messages.php
- database/migrations/2024_08_09_072423_alter_table_chats.php
- public/css/style_may2024.css
- resources/views/chats/chats_list.blade.php
- resources/views/employers/dialog.blade.php
- resources/views/modals/chats/answer_from_admin_chat.blade.php
- resources/views/svg/logo_icon.blade.php
- resources/views/workers/dialog.blade.php
- routes/web.php
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()->with('jobs')-> | 211 | $vacancy_list = Ad_employer::query()->with('jobs')-> |
212 | with('jobs_code')-> | 212 | with('jobs_code')-> |
213 | where('employer_id', $Employer->id); | 213 | where('employer_id', $Employer->id); |
214 | 214 | ||
215 | if (($request->has('search')) && (!empty($request->get('search')))) { | 215 | if (($request->has('search')) && (!empty($request->get('search')))) { |
216 | $search = $request->get('search'); | 216 | $search = $request->get('search'); |
217 | $vacancy_list = $vacancy_list->where('name', 'LIKE', "%$search%"); | 217 | $vacancy_list = $vacancy_list->where('name', 'LIKE', "%$search%"); |
218 | } | 218 | } |
219 | 219 | ||
220 | if ($request->get('sort')) { | 220 | if ($request->get('sort')) { |
221 | $sort = $request->get('sort'); | 221 | $sort = $request->get('sort'); |
222 | switch ($sort) { | 222 | switch ($sort) { |
223 | case 'name_up': $vacancy_list = $vacancy_list->orderBy('name')->orderBy('id'); break; | 223 | case 'name_up': $vacancy_list = $vacancy_list->orderBy('name')->orderBy('id'); break; |
224 | case 'name_down': $vacancy_list = $vacancy_list->orderByDesc('name')->orderby('id'); break; | 224 | case 'name_down': $vacancy_list = $vacancy_list->orderByDesc('name')->orderby('id'); break; |
225 | case 'nopublic': $vacancy_list->where('active_is', '=', 0)->orderBy('id');break; | 225 | case 'nopublic': $vacancy_list->where('active_is', '=', 0)->orderBy('id');break; |
226 | case 'public':$vacancy_list->where('active_is', '=', 1)->orderBy('id');break; | 226 | case 'public':$vacancy_list->where('active_is', '=', 1)->orderBy('id');break; |
227 | case 'created_at_up': $vacancy_list = $vacancy_list->OrderBy('created_at')->orderBy('id'); break; | 227 | case 'created_at_up': $vacancy_list = $vacancy_list->OrderBy('created_at')->orderBy('id'); break; |
228 | case 'created_at_down': $vacancy_list = $vacancy_list->orderByDesc('created_at')->orderBy('id'); break; | 228 | case 'created_at_down': $vacancy_list = $vacancy_list->orderByDesc('created_at')->orderBy('id'); break; |
229 | case 'default': $vacancy_list = $vacancy_list->orderbyDesc('updated_at')->orderBy('name'); break; | 229 | case 'default': $vacancy_list = $vacancy_list->orderbyDesc('updated_at')->orderBy('name'); break; |
230 | default: $vacancy_list = $vacancy_list->orderByDesc('id')->orderbyDesc('updated_at'); break; | 230 | default: $vacancy_list = $vacancy_list->orderByDesc('id')->orderbyDesc('updated_at'); break; |
231 | } | 231 | } |
232 | } else { | 232 | } else { |
233 | $vacancy_list = $vacancy_list->orderByDesc('updated_at')->orderBy('id'); | 233 | $vacancy_list = $vacancy_list->orderByDesc('updated_at')->orderBy('id'); |
234 | } | 234 | } |
235 | 235 | ||
236 | $vacancy_list = $vacancy_list->paginate(10); | 236 | $vacancy_list = $vacancy_list->paginate(10); |
237 | 237 | ||
238 | //ajax | 238 | //ajax |
239 | if ($request->ajax()) { | 239 | if ($request->ajax()) { |
240 | return view('employers.ajax.list_vacancy', compact('vacancy_list', 'Employer')); | 240 | return view('employers.ajax.list_vacancy', compact('vacancy_list', 'Employer')); |
241 | } else { | 241 | } else { |
242 | return view('employers.list_vacancy', compact('vacancy_list', 'Employer')); | 242 | return view('employers.list_vacancy', compact('vacancy_list', 'Employer')); |
243 | } | 243 | } |
244 | } | 244 | } |
245 | 245 | ||
246 | // Карточка вакансии | 246 | // Карточка вакансии |
247 | public function vacancy_edit(Ad_employer $ad_employer) { | 247 | public function vacancy_edit(Ad_employer $ad_employer) { |
248 | $id = Auth()->user()->id; | 248 | $id = Auth()->user()->id; |
249 | $Positions = Category::query()->where('is_remove', '=', '0')->get(); | 249 | $Positions = Category::query()->where('is_remove', '=', '0')->get(); |
250 | $jobs = Job_title::query()->orderByDesc('sort')->OrderBy('name')-> | 250 | $jobs = Job_title::query()->orderByDesc('sort')->OrderBy('name')-> |
251 | where('is_remove', '=', '0')-> | 251 | where('is_remove', '=', '0')-> |
252 | where('is_bd', '=', '0')->get(); | 252 | where('is_bd', '=', '0')->get(); |
253 | 253 | ||
254 | $Employer = Employer::query()->with('users')->with('ads')-> | 254 | $Employer = Employer::query()->with('users')->with('ads')-> |
255 | with('flots')->where('user_id', $id)->first(); | 255 | with('flots')->where('user_id', $id)->first(); |
256 | return view('employers.edit_vacancy', compact('ad_employer', 'Positions','Employer', 'jobs')); | 256 | return view('employers.edit_vacancy', compact('ad_employer', 'Positions','Employer', 'jobs')); |
257 | } | 257 | } |
258 | 258 | ||
259 | // Сохранение-редактирование записи | 259 | // Сохранение-редактирование записи |
260 | public function vacancy_save_me(VacancyRequestEdit $request, Ad_employer $ad_employer) { | 260 | public function vacancy_save_me(VacancyRequestEdit $request, Ad_employer $ad_employer) { |
261 | $params = $request->all(); | 261 | $params = $request->all(); |
262 | $params_job["job_title_id"] = $params['job_title_id']; | 262 | $params_job["job_title_id"] = $params['job_title_id']; |
263 | 263 | ||
264 | $ad_employer->update($params); | 264 | $ad_employer->update($params); |
265 | $ad_employer->jobs()->sync($request->get('job_title_id')); | 265 | $ad_employer->jobs()->sync($request->get('job_title_id')); |
266 | 266 | ||
267 | $id = Auth()->user()->id; | 267 | $id = Auth()->user()->id; |
268 | $Positions = Category::query()->where('is_remove', '=', '0')->get(); | 268 | $Positions = Category::query()->where('is_remove', '=', '0')->get(); |
269 | $jobs = Job_title::query()->orderByDesc('sort')->OrderBy('name') | 269 | $jobs = Job_title::query()->orderByDesc('sort')->OrderBy('name') |
270 | ->where('is_remove', '=', '0') | 270 | ->where('is_remove', '=', '0') |
271 | ->where('is_bd', '=', '0') | 271 | ->where('is_bd', '=', '0') |
272 | ->get(); | 272 | ->get(); |
273 | 273 | ||
274 | $Employer = Employer::query() | 274 | $Employer = Employer::query() |
275 | ->with('users')->with('ads')->with('flots')->where('user_id', $id)->first(); | 275 | ->with('users')->with('ads')->with('flots')->where('user_id', $id)->first(); |
276 | return view('employers.edit_vacancy', compact('ad_employer', 'Positions','Employer', 'jobs')); | 276 | return view('employers.edit_vacancy', compact('ad_employer', 'Positions','Employer', 'jobs')); |
277 | } | 277 | } |
278 | 278 | ||
279 | // Сохранение карточки вакансии | 279 | // Сохранение карточки вакансии |
280 | public function vacancy_save(Request $request, Ad_employer $ad_employer) { | 280 | public function vacancy_save(Request $request, Ad_employer $ad_employer) { |
281 | $all = $request->all(); | 281 | $all = $request->all(); |
282 | $ad_employer->update($all); | 282 | $ad_employer->update($all); |
283 | return redirect()->route('employer.cabinet_vacancie'); | 283 | return redirect()->route('employer.cabinet_vacancie'); |
284 | } | 284 | } |
285 | 285 | ||
286 | // Удаление карточки вакансии | 286 | // Удаление карточки вакансии |
287 | public function vacancy_delete(Ad_employer $ad_employer) { | 287 | public function vacancy_delete(Ad_employer $ad_employer) { |
288 | $ad_employer->delete(); | 288 | $ad_employer->delete(); |
289 | 289 | ||
290 | return redirect()->route('employer.vacancy_list') | 290 | return redirect()->route('employer.vacancy_list') |
291 | ->with('success', 'Данные были успешно сохранены'); | 291 | ->with('success', 'Данные были успешно сохранены'); |
292 | } | 292 | } |
293 | 293 | ||
294 | // Обновление даты | 294 | // Обновление даты |
295 | public function vacancy_up(Ad_employer $ad_employer) { | 295 | public function vacancy_up(Ad_employer $ad_employer) { |
296 | $up = date('m/d/Y h:i:s', time());; | 296 | $up = date('m/d/Y h:i:s', time());; |
297 | $vac_emp = Ad_employer::findOrFail($ad_employer->id); | 297 | $vac_emp = Ad_employer::findOrFail($ad_employer->id); |
298 | $vac_emp->updated_at = $up; | 298 | $vac_emp->updated_at = $up; |
299 | $vac_emp->save(); | 299 | $vac_emp->save(); |
300 | 300 | ||
301 | return redirect()->back(); //route('employer.vacancy_list'); | 301 | return redirect()->back(); //route('employer.vacancy_list'); |
302 | // начало конца | 302 | // начало конца |
303 | } | 303 | } |
304 | 304 | ||
305 | //Видимость вакансии | 305 | //Видимость вакансии |
306 | public function vacancy_eye(Ad_employer $ad_employer, $status) { | 306 | public function vacancy_eye(Ad_employer $ad_employer, $status) { |
307 | $vac_emp = Ad_employer::findOrFail($ad_employer->id); | 307 | $vac_emp = Ad_employer::findOrFail($ad_employer->id); |
308 | $vac_emp->active_is = $status; | 308 | $vac_emp->active_is = $status; |
309 | $vac_emp->save(); | 309 | $vac_emp->save(); |
310 | 310 | ||
311 | return redirect()->route('employer.vacancy_list'); | 311 | return redirect()->route('employer.vacancy_list'); |
312 | } | 312 | } |
313 | 313 | ||
314 | //Вакансия редактирования (шаблон) | 314 | //Вакансия редактирования (шаблон) |
315 | public function vacancy_update(Ad_employer $id) { | 315 | public function vacancy_update(Ad_employer $id) { |
316 | 316 | ||
317 | } | 317 | } |
318 | 318 | ||
319 | //Отклики на вакансию - лист | 319 | //Отклики на вакансию - лист |
320 | public function answers(Employer $employer, Request $request) { | 320 | public function answers(Employer $employer, Request $request) { |
321 | $user_id = Auth()->user()->id; | 321 | $user_id = Auth()->user()->id; |
322 | $answer = Ad_employer::query()->where('employer_id', $employer->id); | 322 | $answer = Ad_employer::query()->where('employer_id', $employer->id); |
323 | if ($request->has('search')) { | 323 | if ($request->has('search')) { |
324 | $search = trim($request->get('search')); | 324 | $search = trim($request->get('search')); |
325 | if (!empty($search)) $answer = $answer->where('name', 'LIKE', "%$search%"); | 325 | if (!empty($search)) $answer = $answer->where('name', 'LIKE', "%$search%"); |
326 | } | 326 | } |
327 | 327 | ||
328 | $answer = $answer->with('response')->OrderByDESC('id')->get(); | 328 | $answer = $answer->with('response')->OrderByDESC('id')->get(); |
329 | 329 | ||
330 | return view('employers.list_answer', compact('answer', 'user_id', 'employer')); | 330 | return view('employers.list_answer', compact('answer', 'user_id', 'employer')); |
331 | } | 331 | } |
332 | 332 | ||
333 | //Обновление статуса | 333 | //Обновление статуса |
334 | public function supple_status(employer $employer, ad_response $ad_response, $flag) { | 334 | public function supple_status(employer $employer, ad_response $ad_response, $flag) { |
335 | $ad_response->update(Array('flag' => $flag)); | 335 | $ad_response->update(Array('flag' => $flag)); |
336 | return redirect()->route('employer.answers', ['employer' => $employer->id]); | 336 | return redirect()->route('employer.answers', ['employer' => $employer->id]); |
337 | } | 337 | } |
338 | 338 | ||
339 | //Страницы сообщений список | 339 | //Страницы сообщений список |
340 | public function messages($type_message) { | 340 | public function messages($type_message) { |
341 | $user_id = Auth()->user()->id; | 341 | $user_id = Auth()->user()->id; |
342 | 342 | ||
343 | $chats = Chat::get_user_chats($user_id); | 343 | $chats = Chat::get_user_chats($user_id); |
344 | $user_type = 'employer'; | 344 | $user_type = 'employer'; |
345 | $admin_chat = false; | ||
345 | 346 | ||
346 | return view('employers.messages', compact('chats','user_id', 'user_type')); | 347 | return view('employers.messages', compact('chats', 'admin_chat', 'user_id', 'user_type')); |
347 | } | 348 | } |
348 | 349 | ||
349 | // Диалог между пользователями | 350 | // Диалог между пользователями |
350 | public function dialog(Request $request, User_Model $user1, User_Model $user2) { | 351 | public function dialog(Chat $chat, Request $request) { |
351 | // Получение параметров. | 352 | // Получение параметров. |
352 | if ($request->has('ad_employer')){ | 353 | if ($request->has('ad_employer')){ |
353 | $ad_employer = $request->get('ad_employer'); | 354 | $ad_employer = $request->get('ad_employer'); |
354 | } else { | 355 | } else { |
355 | $ad_employer = 0; | 356 | $ad_employer = 0; |
356 | } | 357 | } |
357 | 358 | ||
358 | if (isset($user2->id)) { | 359 | $sender = User_Model::query()->with('workers')->with('employers')->where('id', $chat->user_id)->first(); |
359 | $companion = User_Model::query()->with('workers')-> | 360 | $companion = User_Model::query()->with('workers')->with('employers')->where('id', $chat->to_user_id)->first(); |
360 | with('employers')-> | ||
361 | where('id', $user2->id)->first(); | ||
362 | } | ||
363 | 361 | ||
364 | $Messages = Message::query() | 362 | $Messages = Chat::get_chat_messages($chat); |
365 | ->where(function($query) use ($user1, $user2) { | ||
366 | $query->where('user_id', $user1->id)->where('to_user_id', $user2->id); | ||
367 | }) | ||
368 | ->orWhere(function($query) use ($user1, $user2) { | ||
369 | $query->where('user_id', $user2->id)->where('to_user_id', $user1->id); | ||
370 | }) | ||
371 | ->orderBy('created_at') | ||
372 | ->get() | ||
373 | ; | ||
374 | 363 | ||
375 | $sender = $user1; | 364 | Message::where('user_id', '=', $chat->to_user_id)->where('to_user_id', '=', $chat->user_id)->update(['flag_new' => 0]); |
376 | |||
377 | Message::where('user_id', '=', $user2->id) | ||
378 | ->where('to_user_id', '=', $user1->id) | ||
379 | ->update(['flag_new' => 0]) | ||
380 | ; | ||
381 | 365 | ||
382 | return view('employers.dialog', compact('companion', 'sender', 'ad_employer', 'Messages')); | 366 | return view('employers.dialog', compact('companion', 'sender', 'ad_employer', 'Messages')); |
383 | } | 367 | } |
384 | 368 | ||
385 | public function pin_chat(Request $request){ | 369 | public function pin_chat(Request $request){ |
386 | $chat_id = $request->get('id'); | 370 | $chat_id = $request->get('id'); |
387 | $is_fixed = $request->get('is_fixed'); | 371 | $is_fixed = $request->get('is_fixed'); |
388 | 372 | ||
389 | Chat::pin_chat($chat_id, $is_fixed); | 373 | Chat::pin_chat($chat_id, $is_fixed); |
390 | } | 374 | } |
391 | 375 | ||
392 | public function remove_chat(Request $request){ | 376 | public function remove_chat(Request $request){ |
393 | $chat_id = $request->get('id'); | 377 | $chat_id = $request->get('id'); |
394 | Chat::remove_chat($chat_id); | 378 | Chat::remove_chat($chat_id); |
395 | } | 379 | } |
396 | 380 | ||
397 | // Регистрация работодателя | 381 | // Регистрация работодателя |
398 | public function register_employer(Request $request) { | 382 | public function register_employer(Request $request) { |
399 | $params = $request->all(); | 383 | $params = $request->all(); |
400 | 384 | ||
401 | $rules = [ | 385 | $rules = [ |
402 | //'surname' => ['required', 'string', 'max:255'], | 386 | //'surname' => ['required', 'string', 'max:255'], |
403 | //'name_man' => ['required', 'string', 'max:255'], | 387 | //'name_man' => ['required', 'string', 'max:255'], |
404 | 'email' => ['required', 'string', 'email', 'max:255', 'unique:users'], | 388 | 'email' => ['required', 'string', 'email', 'max:255', 'unique:users'], |
405 | 'name_company' => ['required', 'string', 'max:255'], | 389 | 'name_company' => ['required', 'string', 'max:255'], |
406 | 'password' => ['required', 'string', 'min:6'], | 390 | 'password' => ['required', 'string', 'min:6'], |
407 | ]; | 391 | ]; |
408 | 392 | ||
409 | 393 | ||
410 | $messages = [ | 394 | $messages = [ |
411 | 'required' => 'Укажите обязательное поле', | 395 | 'required' => 'Укажите обязательное поле', |
412 | 'min' => [ | 396 | 'min' => [ |
413 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', | 397 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', |
414 | 'integer' => 'Поле «:attribute» должно быть :min или больше', | 398 | 'integer' => 'Поле «:attribute» должно быть :min или больше', |
415 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' | 399 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' |
416 | ], | 400 | ], |
417 | 'max' => [ | 401 | 'max' => [ |
418 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', | 402 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', |
419 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', | 403 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', |
420 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' | 404 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' |
421 | ] | 405 | ] |
422 | ]; | 406 | ]; |
423 | 407 | ||
424 | $email = $request->get('email'); | 408 | $email = $request->get('email'); |
425 | if (!preg_match("/^[a-zA-Z0-9_\-.]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-.]+$/", $email)) { | 409 | if (!preg_match("/^[a-zA-Z0-9_\-.]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-.]+$/", $email)) { |
426 | return json_encode(Array("ERROR" => "Error: Отсутствует емайл или некорректный емайл")); | 410 | return json_encode(Array("ERROR" => "Error: Отсутствует емайл или некорректный емайл")); |
427 | } | 411 | } |
428 | 412 | ||
429 | if ($request->get('password') !== $request->get('confirmed')){ | 413 | if ($request->get('password') !== $request->get('confirmed')){ |
430 | return json_encode(Array("ERROR" => "Error: Не совпадают пароль и подтверждение пароля")); | 414 | return json_encode(Array("ERROR" => "Error: Не совпадают пароль и подтверждение пароля")); |
431 | } | 415 | } |
432 | 416 | ||
433 | if (strlen($request->get('password')) < 6) { | 417 | if (strlen($request->get('password')) < 6) { |
434 | return json_encode(Array("ERROR" => "Error: Недостаточная длина пароля! Увеличьте себе длину пароля!")); | 418 | return json_encode(Array("ERROR" => "Error: Недостаточная длина пароля! Увеличьте себе длину пароля!")); |
435 | } | 419 | } |
436 | 420 | ||
437 | if (empty($request->get('surname'))) { | 421 | if (empty($request->get('surname'))) { |
438 | $params['surname'] = 'Неизвестно'; | 422 | $params['surname'] = 'Неизвестно'; |
439 | } | 423 | } |
440 | if (empty($request->get('name_man'))) { | 424 | if (empty($request->get('name_man'))) { |
441 | $params['name_man'] = 'Неизвестно'; | 425 | $params['name_man'] = 'Неизвестно'; |
442 | } | 426 | } |
443 | $validator = Validator::make($params, $rules, $messages); | 427 | $validator = Validator::make($params, $rules, $messages); |
444 | 428 | ||
445 | if ($validator->fails()) { | 429 | if ($validator->fails()) { |
446 | return json_encode(Array("ERROR" => "Error1: Регистрация оборвалась ошибкой! Не все обязательные поля заполнены. Либо вы уже были зарегистрированы в системе.")); | 430 | return json_encode(Array("ERROR" => "Error1: Регистрация оборвалась ошибкой! Не все обязательные поля заполнены. Либо вы уже были зарегистрированы в системе.")); |
447 | } else { | 431 | } else { |
448 | $user = $this->create($params); | 432 | $user = $this->create($params); |
449 | event(new Registered($user)); | 433 | event(new Registered($user)); |
450 | 434 | ||
451 | Mail::to(env('EMAIL_ADMIN'))->send(new MailCreateEmployer($params)); | 435 | Mail::to(env('EMAIL_ADMIN'))->send(new MailCreateEmployer($params)); |
452 | 436 | ||
453 | Auth::guard()->login($user); | 437 | Auth::guard()->login($user); |
454 | } | 438 | } |
455 | 439 | ||
456 | if ($user) { | 440 | if ($user) { |
457 | return json_encode(Array("REDIRECT" => redirect()->route('employer.cabinet')->getTargetUrl()));; | 441 | return json_encode(Array("REDIRECT" => redirect()->route('employer.cabinet')->getTargetUrl()));; |
458 | } else { | 442 | } else { |
459 | return json_encode(Array("ERROR" => "Error2: Данные были утеряны!")); | 443 | return json_encode(Array("ERROR" => "Error2: Данные были утеряны!")); |
460 | } | 444 | } |
461 | } | 445 | } |
462 | 446 | ||
463 | // Создание пользователя | 447 | // Создание пользователя |
464 | protected function create(array $data) | 448 | protected function create(array $data) |
465 | { | 449 | { |
466 | $Use = new User_Model(); | 450 | $Use = new User_Model(); |
467 | $Code_user = $Use->create([ | 451 | $Code_user = $Use->create([ |
468 | 'name' => $data['surname']." ".$data['name_man'], | 452 | 'name' => $data['surname']." ".$data['name_man'], |
469 | 'name_man' => $data['name_man'], | 453 | 'name_man' => $data['name_man'], |
470 | 'surname' => $data['surname'], | 454 | 'surname' => $data['surname'], |
471 | 'surname2' => $data['surname2'], | 455 | 'surname2' => $data['surname2'], |
472 | 'subscribe_email' => $data['email'], | 456 | 'subscribe_email' => $data['email'], |
473 | 'email' => $data['email'], | 457 | 'email' => $data['email'], |
474 | 'telephone' => $data['telephone'], | 458 | 'telephone' => $data['telephone'], |
475 | 'is_worker' => 0, | 459 | 'is_worker' => 0, |
476 | 'password' => Hash::make($data['password']), | 460 | 'password' => Hash::make($data['password']), |
477 | 'pubpassword' => base64_encode($data['password']), | 461 | 'pubpassword' => base64_encode($data['password']), |
478 | 'email_verified_at' => Carbon::now() | 462 | 'email_verified_at' => Carbon::now() |
479 | ]); | 463 | ]); |
480 | 464 | ||
481 | if ($Code_user->id > 0) { | 465 | if ($Code_user->id > 0) { |
482 | $Employer = new Employer(); | 466 | $Employer = new Employer(); |
483 | $Employer->user_id = $Code_user->id; | 467 | $Employer->user_id = $Code_user->id; |
484 | $Employer->name_company = $data['name_company']; | 468 | $Employer->name_company = $data['name_company']; |
485 | $Employer->email = $data['email']; | 469 | $Employer->email = $data['email']; |
486 | $Employer->telephone = $data['telephone']; | 470 | $Employer->telephone = $data['telephone']; |
487 | $Employer->code = Tools::generator_id(10); | 471 | $Employer->code = Tools::generator_id(10); |
488 | $Employer->save(); | 472 | $Employer->save(); |
489 | 473 | ||
490 | return $Code_user; | 474 | return $Code_user; |
491 | } | 475 | } |
492 | } | 476 | } |
493 | 477 | ||
494 | // Отправка сообщения от работодателя | 478 | // Отправка сообщения от работодателя |
495 | public function send_message(MessagesRequiest $request) { | 479 | public function send_message(MessagesRequiest $request) { |
496 | $params = $request->all(); | 480 | $params = $request->all(); |
497 | dd($params); | 481 | dd($params); |
498 | $user1 = $params['user_id']; | 482 | $user1 = $params['user_id']; |
499 | $user2 = $params['to_user_id']; | 483 | $user2 = $params['to_user_id']; |
500 | 484 | ||
501 | if ($request->has('file')) { | 485 | if ($request->has('file')) { |
502 | $params['file'] = $request->file('file')->store("messages", 'public'); | 486 | $params['file'] = $request->file('file')->store("messages", 'public'); |
503 | } | 487 | } |
504 | Message::create($params); | 488 | Message::create($params); |
505 | return redirect()->route('employer.dialog', ['user1' => $user1, 'user2' => $user2]); | 489 | return redirect()->route('employer.dialog', ['user1' => $user1, 'user2' => $user2]); |
506 | } | 490 | } |
507 | 491 | ||
508 | public function test123(Request $request) { | 492 | public function test123(Request $request) { |
509 | $params = $request->all(); | 493 | $params = $request->all(); |
510 | $user1 = $params['user_id']; | 494 | $user1 = $params['user_id']; |
511 | $user2 = $params['to_user_id']; | 495 | $user2 = $params['to_user_id']; |
512 | $id_vacancy = $params['ad_employer_id']; | 496 | $id_vacancy = $params['ad_employer_id']; |
513 | $ad_name = $params['ad_name']; | 497 | $ad_name = $params['ad_name']; |
514 | 498 | ||
515 | $rules = [ | 499 | $rules = [ |
516 | 'text' => 'required|min:1|max:150000', | 500 | 'text' => 'required|min:1|max:150000', |
517 | 'file' => 'file|mimes:doc,docx,xlsx,csv,txt,xlx,xls,pdf|max:150000' | 501 | 'file' => 'file|mimes:doc,docx,xlsx,csv,txt,xlx,xls,pdf|max:150000' |
518 | ]; | 502 | ]; |
519 | $messages = [ | 503 | $messages = [ |
520 | 'required' => 'Укажите обязательное поле', | 504 | 'required' => 'Укажите обязательное поле', |
521 | 'min' => [ | 505 | 'min' => [ |
522 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', | 506 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', |
523 | 'integer' => 'Поле «:attribute» должно быть :min или больше', | 507 | 'integer' => 'Поле «:attribute» должно быть :min или больше', |
524 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' | 508 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' |
525 | ], | 509 | ], |
526 | 'max' => [ | 510 | 'max' => [ |
527 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', | 511 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', |
528 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', | 512 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', |
529 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' | 513 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' |
530 | ] | 514 | ] |
531 | ]; | 515 | ]; |
532 | 516 | ||
533 | $validator = Validator::make($request->all(), $rules, $messages); | 517 | $validator = Validator::make($request->all(), $rules, $messages); |
534 | 518 | ||
535 | /*if ($validator->fails()) { | 519 | /*if ($validator->fails()) { |
536 | return redirect()->route('employer.dialog', ['user1' => $user1, 'user2' => $user2]) | 520 | return redirect()->route('employer.dialog', ['user1' => $user1, 'user2' => $user2]) |
537 | ->withErrors($validator); | 521 | ->withErrors($validator); |
538 | } else { | 522 | } else { |
539 | if ($request->has('file')) { | 523 | if ($request->has('file')) { |
540 | $params['file'] = $request->file('file')->store("messages", 'public'); | 524 | $params['file'] = $request->file('file')->store("messages", 'public'); |
541 | } | 525 | } |
542 | Message::create($params); | 526 | Message::create($params); |
543 | //return redirect()->route('employer.dialog', ['user1' => $user1, 'user2' => $user2]); | 527 | //return redirect()->route('employer.dialog', ['user1' => $user1, 'user2' => $user2]); |
544 | return redirect()->route('employer.dialog', | 528 | return redirect()->route('employer.dialog', |
545 | ['user1' => $user1, 'user2' => $user2, 'ad_employer' => $id_vacancy, 'ad_name' => $ad_name]); | 529 | ['user1' => $user1, 'user2' => $user2, 'ad_employer' => $id_vacancy, 'ad_name' => $ad_name]); |
546 | 530 | ||
547 | }*/ | 531 | }*/ |
548 | 532 | ||
549 | if ($validator->fails()) { | 533 | if ($validator->fails()) { |
550 | return redirect()->route('employer.dialog', ['user1' => $user1, 'user2' => $user2]) | 534 | return redirect()->route('employer.dialog', ['user1' => $user1, 'user2' => $user2]) |
551 | ->withErrors($validator); | 535 | ->withErrors($validator); |
552 | } else { | 536 | } else { |
553 | Message::add_message($request, $user1, $user2, $request->all(), file_store_path: 'messages'); | 537 | Message::add_message($request, $user1, $user2, $request->all(), file_store_path: 'messages'); |
554 | 538 | ||
555 | //return redirect()->route('employer.dialog', ['user1' => $user1, 'user2' => $user2]); | 539 | //return redirect()->route('employer.dialog', ['user1' => $user1, 'user2' => $user2]); |
556 | return redirect()->route('employer.dialog', | 540 | return redirect()->route('employer.dialog', |
557 | ['user1' => $user1, 'user2' => $user2, 'ad_employer' => $id_vacancy, 'ad_name' => $ad_name]); | 541 | ['user1' => $user1, 'user2' => $user2, 'ad_employer' => $id_vacancy, 'ad_name' => $ad_name]); |
558 | 542 | ||
559 | } | 543 | } |
560 | } | 544 | } |
561 | 545 | ||
562 | //Избранные люди | 546 | //Избранные люди |
563 | public function favorites(Request $request) { | 547 | public function favorites(Request $request) { |
564 | $IP_address = RusDate::ip_addr_client(); | 548 | $IP_address = RusDate::ip_addr_client(); |
565 | $Arr = Like_worker::Query()->select('code_record')->where('ip_address', '=', $IP_address)->get(); | 549 | $Arr = Like_worker::Query()->select('code_record')->where('ip_address', '=', $IP_address)->get(); |
566 | 550 | ||
567 | if ($Arr->count()) { | 551 | if ($Arr->count()) { |
568 | $A = Array(); | 552 | $A = Array(); |
569 | foreach ($Arr as $it) { | 553 | foreach ($Arr as $it) { |
570 | $A[] = $it->code_record; | 554 | $A[] = $it->code_record; |
571 | } | 555 | } |
572 | 556 | ||
573 | $Workers = Worker::query()->whereIn('id', $A); | 557 | $Workers = Worker::query()->whereIn('id', $A); |
574 | } else { | 558 | } else { |
575 | $Workers = Worker::query()->where('id', '=', '0'); | 559 | $Workers = Worker::query()->where('id', '=', '0'); |
576 | } | 560 | } |
577 | 561 | ||
578 | if (($request->has('search')) && (!empty($request->get('search')))) { | 562 | if (($request->has('search')) && (!empty($request->get('search')))) { |
579 | $search = $request->get('search'); | 563 | $search = $request->get('search'); |
580 | 564 | ||
581 | $Workers = $Workers->WhereHas('users', | 565 | $Workers = $Workers->WhereHas('users', |
582 | function (Builder $query) use ($search) { | 566 | function (Builder $query) use ($search) { |
583 | $query->Where('surname', 'LIKE', "%$search%") | 567 | $query->Where('surname', 'LIKE', "%$search%") |
584 | ->orWhere('name_man', 'LIKE', "%$search%") | 568 | ->orWhere('name_man', 'LIKE', "%$search%") |
585 | ->orWhere('surname2', 'LIKE', "%$search%"); | 569 | ->orWhere('surname2', 'LIKE', "%$search%"); |
586 | }); | 570 | }); |
587 | } else { | 571 | } else { |
588 | $Workers = $Workers->with('users'); | 572 | $Workers = $Workers->with('users'); |
589 | } | 573 | } |
590 | 574 | ||
591 | $Workers = $Workers->get(); | 575 | $Workers = $Workers->get(); |
592 | 576 | ||
593 | 577 | ||
594 | return view('employers.favorite', compact('Workers')); | 578 | return view('employers.favorite', compact('Workers')); |
595 | } | 579 | } |
596 | 580 | ||
597 | // База данных | 581 | // База данных |
598 | public function bd(Request $request) { | 582 | public function bd(Request $request) { |
599 | $users = User_Model::query()->with('workers')->with('jobtitles'); | 583 | $users = User_Model::query()->with('workers')->with('jobtitles'); |
600 | 584 | ||
601 | if ($request->has('search')) { | 585 | if ($request->has('search')) { |
602 | $find_key = $request->get('search'); | 586 | $find_key = $request->get('search'); |
603 | $users = $users->where('name', 'LIKE', "%$find_key%") | 587 | $users = $users->where('name', 'LIKE', "%$find_key%") |
604 | ->orWhere('surname', 'LIKE', "%$find_key%") | 588 | ->orWhere('surname', 'LIKE', "%$find_key%") |
605 | ->orWhere('name_man', 'LIKE', "%$find_key%") | 589 | ->orWhere('name_man', 'LIKE', "%$find_key%") |
606 | ->orWhere('email', 'LIKE', "%$find_key%") | 590 | ->orWhere('email', 'LIKE', "%$find_key%") |
607 | ->orWhere('telephone', 'LIKE', "%$find_key%"); | 591 | ->orWhere('telephone', 'LIKE', "%$find_key%"); |
608 | } | 592 | } |
609 | 593 | ||
610 | // Данные | 594 | // Данные |
611 | $users = $users->Baseuser()-> | 595 | $users = $users->Baseuser()-> |
612 | orderByDesc(Worker::select('created_at')->whereColumn('workers.user_id', 'users.id')); | 596 | orderByDesc(Worker::select('created_at')->whereColumn('workers.user_id', 'users.id')); |
613 | $count_users = $users; | 597 | $count_users = $users; |
614 | $users = $users->paginate(5); | 598 | $users = $users->paginate(5); |
615 | 599 | ||
616 | $export_options = DbExportColumns::toArray(); | 600 | $export_options = DbExportColumns::toArray(); |
617 | 601 | ||
618 | $jobs_titles = Job_title::select('id', 'name') | 602 | $jobs_titles = Job_title::select('id', 'name') |
619 | ->where('is_remove', '=', 0) | 603 | ->where('is_remove', '=', 0) |
620 | ->where('is_bd', '=', 2) | 604 | ->where('is_bd', '=', 2) |
621 | ->orderByDesc('sort') | 605 | ->orderByDesc('sort') |
622 | ->orderBy('name', 'asc') | 606 | ->orderBy('name', 'asc') |
623 | ->get() | 607 | ->get() |
624 | ->toArray() | 608 | ->toArray() |
625 | ; | 609 | ; |
626 | 610 | ||
627 | return view('employers.bd', compact('users', 'count_users', 'export_options', 'jobs_titles')); | 611 | return view('employers.bd', compact('users', 'count_users', 'export_options', 'jobs_titles')); |
628 | } | 612 | } |
629 | 613 | ||
630 | //Настройка уведомлений | 614 | //Настройка уведомлений |
631 | public function subscribe() { | 615 | public function subscribe() { |
632 | return view('employers.subcribe'); | 616 | return view('employers.subcribe'); |
633 | } | 617 | } |
634 | 618 | ||
635 | //Установка уведомлений сохранение | 619 | //Установка уведомлений сохранение |
636 | public function save_subscribe(Request $request) { | 620 | public function save_subscribe(Request $request) { |
637 | dd($request->all()); | 621 | dd($request->all()); |
638 | $msg = $request->validate([ | 622 | $msg = $request->validate([ |
639 | 'subscribe_email' => 'required|email|min:5|max:255', | 623 | 'subscribe_email' => 'required|email|min:5|max:255', |
640 | ]); | 624 | ]); |
641 | return redirect()->route('employer.subscribe')->with('Вы успешно подписались на рассылку'); | 625 | return redirect()->route('employer.subscribe')->with('Вы успешно подписались на рассылку'); |
642 | } | 626 | } |
643 | 627 | ||
644 | //Сбросить форму с паролем | 628 | //Сбросить форму с паролем |
645 | public function password_reset() { | 629 | public function password_reset() { |
646 | $email = Auth()->user()->email; | 630 | $email = Auth()->user()->email; |
647 | return view('employers.password-reset', compact('email')); | 631 | return view('employers.password-reset', compact('email')); |
648 | } | 632 | } |
649 | 633 | ||
650 | //Обновление пароля | 634 | //Обновление пароля |
651 | public function new_password(Request $request) { | 635 | public function new_password(Request $request) { |
652 | $use = Auth()->user(); | 636 | $use = Auth()->user(); |
653 | $request->validate([ | 637 | $request->validate([ |
654 | 'password' => 'required|string', | 638 | 'password' => 'required|string', |
655 | 'new_password' => 'required|string', | 639 | 'new_password' => 'required|string', |
656 | 'new_password2' => 'required|string' | 640 | 'new_password2' => 'required|string' |
657 | ]); | 641 | ]); |
658 | 642 | ||
659 | if ($request->get('new_password') == $request->get('new_password2')) | 643 | if ($request->get('new_password') == $request->get('new_password2')) |
660 | if ($request->get('password') !== $request->get('new_password')) { | 644 | if ($request->get('password') !== $request->get('new_password')) { |
661 | $credentials = $request->only('email', 'password'); | 645 | $credentials = $request->only('email', 'password'); |
662 | if (Auth::attempt($credentials)) { | 646 | if (Auth::attempt($credentials)) { |
663 | 647 | ||
664 | if (!is_null($use->email_verified_at)){ | 648 | if (!is_null($use->email_verified_at)){ |
665 | 649 | ||
666 | $user_data = User_Model::find($use->id); | 650 | $user_data = User_Model::find($use->id); |
667 | $user_data->update([ | 651 | $user_data->update([ |
668 | 'password' => Hash::make($request->get('new_password')), | 652 | 'password' => Hash::make($request->get('new_password')), |
669 | 'pubpassword' => base64_encode($request->get('new_password')), | 653 | 'pubpassword' => base64_encode($request->get('new_password')), |
670 | ]); | 654 | ]); |
671 | return redirect() | 655 | return redirect() |
672 | ->route('employer.password_reset') | 656 | ->route('employer.password_reset') |
673 | ->with('success', 'Поздравляю! Вы обновили свой пароль!'); | 657 | ->with('success', 'Поздравляю! Вы обновили свой пароль!'); |
674 | } | 658 | } |
675 | 659 | ||
676 | return redirect() | 660 | return redirect() |
677 | ->route('employer.password_reset') | 661 | ->route('employer.password_reset') |
678 | ->withError('Данная учетная запись не было верифицированна!'); | 662 | ->withError('Данная учетная запись не было верифицированна!'); |
679 | } | 663 | } |
680 | } | 664 | } |
681 | 665 | ||
682 | return redirect() | 666 | return redirect() |
683 | ->route('employer.password_reset') | 667 | ->route('employer.password_reset') |
684 | ->withErrors('Не совпадение данных, обновите пароли!'); | 668 | ->withErrors('Не совпадение данных, обновите пароли!'); |
685 | } | 669 | } |
686 | 670 | ||
687 | 671 | ||
688 | 672 | ||
689 | // Форма Удаление пипла | 673 | // Форма Удаление пипла |
690 | public function delete_people() { | 674 | public function delete_people() { |
691 | $login = Auth()->user()->email; | 675 | $login = Auth()->user()->email; |
692 | return view('employers.delete_people', compact('login')); | 676 | return view('employers.delete_people', compact('login')); |
693 | } | 677 | } |
694 | 678 | ||
695 | // Удаление аккаунта | 679 | // Удаление аккаунта |
696 | public function action_delete_user(Request $request) { | 680 | public function action_delete_user(Request $request) { |
697 | $Answer = $request->all(); | 681 | $Answer = $request->all(); |
698 | $user_id = Auth()->user()->id; | 682 | $user_id = Auth()->user()->id; |
699 | $request->validate([ | 683 | $request->validate([ |
700 | 'password' => 'required|string', | 684 | 'password' => 'required|string', |
701 | ]); | 685 | ]); |
702 | 686 | ||
703 | $credentials = $request->only('email', 'password'); | 687 | $credentials = $request->only('email', 'password'); |
704 | if (Auth::attempt($credentials)) { | 688 | if (Auth::attempt($credentials)) { |
705 | Auth::logout(); | 689 | Auth::logout(); |
706 | $it = User_Model::find($user_id); | 690 | $it = User_Model::find($user_id); |
707 | $it->delete(); | 691 | $it->delete(); |
708 | return redirect()->route('index')->with('success', 'Вы успешно удалили свой аккаунт'); | 692 | return redirect()->route('index')->with('success', 'Вы успешно удалили свой аккаунт'); |
709 | } else { | 693 | } else { |
710 | return redirect()->route('employer.delete_people') | 694 | return redirect()->route('employer.delete_people') |
711 | ->withErrors( 'Неверный пароль! Нужен корректный пароль'); | 695 | ->withErrors( 'Неверный пароль! Нужен корректный пароль'); |
712 | } | 696 | } |
713 | } | 697 | } |
714 | 698 | ||
715 | public function ajax_delete_user(Request $request) { | 699 | public function ajax_delete_user(Request $request) { |
716 | $Answer = $request->all(); | 700 | $Answer = $request->all(); |
717 | $user_id = Auth()->user()->id; | 701 | $user_id = Auth()->user()->id; |
718 | $request->validate([ | 702 | $request->validate([ |
719 | 'password' => 'required|string', | 703 | 'password' => 'required|string', |
720 | ]); | 704 | ]); |
721 | $credentials = $request->only('email', 'password'); | 705 | $credentials = $request->only('email', 'password'); |
722 | if (Auth::attempt($credentials)) { | 706 | if (Auth::attempt($credentials)) { |
723 | 707 | ||
724 | return json_encode(Array('SUCCESS' => 'Вы успешно удалили свой аккаунт', | 708 | return json_encode(Array('SUCCESS' => 'Вы успешно удалили свой аккаунт', |
725 | 'email' => $request->get('email'), | 709 | 'email' => $request->get('email'), |
726 | 'password' => $request->get('password'))); | 710 | 'password' => $request->get('password'))); |
727 | } else { | 711 | } else { |
728 | return json_encode(Array('ERROR' => 'Неверный пароль! Нужен корректный пароль')); | 712 | return json_encode(Array('ERROR' => 'Неверный пароль! Нужен корректный пароль')); |
729 | } | 713 | } |
730 | } | 714 | } |
731 | 715 | ||
732 | // FAQ - Вопросы/ответы для работодателей и соискателей | 716 | // FAQ - Вопросы/ответы для работодателей и соискателей |
733 | public function faq() { | 717 | public function faq() { |
734 | return view('employers.faq'); | 718 | return view('employers.faq'); |
735 | } | 719 | } |
736 | 720 | ||
737 | // Рассылка сообщений | 721 | // Рассылка сообщений |
738 | public function send_all_messages() { | 722 | public function send_all_messages() { |
739 | $id = Auth()->user()->id; | 723 | $id = Auth()->user()->id; |
740 | $sending = Employer::query()->where('user_id', '=', "$id")->first(); | 724 | $sending = Employer::query()->where('user_id', '=', "$id")->first(); |
741 | 725 | ||
742 | $job_titles = Job_title::query() | 726 | $job_titles = Job_title::query() |
743 | ->where('is_remove', '=', 0) | 727 | ->where('is_remove', '=', 0) |
744 | ->where('is_bd', '=', 1) | 728 | ->where('is_bd', '=', 1) |
745 | ->orderByDesc('sort') | 729 | ->orderByDesc('sort') |
746 | ->get() | 730 | ->get() |
747 | ; | 731 | ; |
748 | 732 | ||
749 | if ($sending->sending_is) | 733 | if ($sending->sending_is) |
750 | return view('employers.send_all', compact('job_titles')); | 734 | return view('employers.send_all', compact('job_titles')); |
751 | else | 735 | else |
752 | return view('employers.send_all_danger'); | 736 | return view('employers.send_all_danger'); |
753 | } | 737 | } |
754 | 738 | ||
755 | // Отправка сообщений для информации | 739 | // Отправка сообщений для информации |
756 | public function send_all_post(Request $request) { | 740 | public function send_all_post(Request $request) { |
757 | $data = $request->all(); | 741 | $data = $request->all(); |
758 | $data['user'] = Auth()->user(); | 742 | $data['user'] = Auth()->user(); |
759 | 743 | ||
760 | $id = MessagesRequests::create([ | 744 | $id = MessagesRequests::create([ |
761 | 'user_id' => Auth()->user()->id, | 745 | 'user_id' => Auth()->user()->id, |
762 | 'job_titles' => json_encode($data['job_title_ids']), | 746 | 'job_titles' => json_encode($data['job_title_ids']), |
763 | 'text' => $data['message_text'], | 747 | 'text' => $data['message_text'], |
764 | ]); | 748 | ]); |
765 | 749 | ||
766 | if (!empty($id)){ | 750 | if (!empty($id)){ |
767 | Mail::to(env('EMAIL_ADMIN'))->send(new MassSendingMessages($data)); | 751 | Mail::to(env('EMAIL_ADMIN'))->send(new MassSendingMessages($data)); |
768 | } | 752 | } |
769 | 753 | ||
770 | /*$emails = User_Model::query()->where('is_worker', '1')->get(); | 754 | /*$emails = User_Model::query()->where('is_worker', '1')->get(); |
771 | 755 | ||
772 | foreach ($emails as $e) { | 756 | foreach ($emails as $e) { |
773 | Mail::to($e->email)->send(new SendAllMessages($data)); | 757 | Mail::to($e->email)->send(new SendAllMessages($data)); |
774 | }*/ | 758 | }*/ |
775 | 759 | ||
776 | return redirect()->route('employer.send_all_messages')->with('success', 'Запрос на рассылку был успешно отправлен.'); | 760 | return redirect()->route('employer.send_all_messages')->with('success', 'Запрос на рассылку был успешно отправлен.'); |
777 | } | 761 | } |
778 | 762 | ||
779 | // База резюме | 763 | // База резюме |
780 | public function bd_tupe(Request $request) { | 764 | public function bd_tupe(Request $request) { |
781 | $Resume = User_Model::query()->with('workers')->where('is_bd', '=', '1')->get(); | 765 | $Resume = User_Model::query()->with('workers')->where('is_bd', '=', '1')->get(); |
782 | 766 | ||
783 | return view('employers.bd_tupe', compact('Resume')); | 767 | return view('employers.bd_tupe', compact('Resume')); |
784 | } | 768 | } |
785 | 769 | ||
786 | ////////////////////////////////////////////////////////////////// | 770 | ////////////////////////////////////////////////////////////////// |
787 | // Отправил сообщение | 771 | // Отправил сообщение |
788 | ////////////////////////////////////////////////////////////////// | 772 | ////////////////////////////////////////////////////////////////// |
789 | public function new_message(Request $request) { | 773 | public function new_message(Request $request) { |
790 | $params = $request->all(); | 774 | $params = $request->all(); |
791 | 775 | ||
792 | $id = $params['_user_id']; | 776 | $id = $params['_user_id']; |
793 | $message_params = [ | 777 | $message_params = [ |
794 | 'title' => $params['title'], | 778 | 'title' => $params['title'], |
795 | 'text' => $params['text'], | 779 | 'text' => $params['text'], |
796 | 'ad_employer_id' => $params['_vacancy'], | 780 | 'ad_employer_id' => $params['_vacancy'], |
797 | 'flag_new' => 1 | 781 | 'flag_new' => 1 |
798 | ]; | 782 | ]; |
799 | 783 | ||
800 | Message::add_message( | 784 | Message::add_message( |
801 | $request, | 785 | $request, |
802 | $params['_user_id'], | 786 | $params['_user_id'], |
803 | $params['_to_user_id'], | 787 | $params['_to_user_id'], |
804 | $message_params, | 788 | $message_params, |
805 | file_store_path: "worker/$id" | 789 | file_store_path: "worker/$id" |
806 | ); | 790 | ); |
807 | 791 | ||
808 | return redirect()->route('employer.messages', ['type_message' => 'output']); | 792 | return redirect()->route('employer.messages', ['type_message' => 'output']); |
809 | } | 793 | } |
810 | 794 | ||
811 | // Восстановление пароля | 795 | // Восстановление пароля |
812 | public function repair_password(Request $request) { | 796 | public function repair_password(Request $request) { |
813 | $params = $request->get('email'); | 797 | $params = $request->get('email'); |
814 | } | 798 | } |
815 | 799 | ||
816 | // Избранные люди на корабль | 800 | // Избранные люди на корабль |
817 | public function selected_people(Request $request) { | 801 | public function selected_people(Request $request) { |
818 | $id = $request->get('id'); | 802 | $id = $request->get('id'); |
819 | $favorite_people = Job_title::query()->orderByDesc('sort')->OrderBy('name')-> | 803 | $favorite_people = Job_title::query()->orderByDesc('sort')->OrderBy('name')-> |
820 | where('is_remove', '=', '0')-> | 804 | where('is_remove', '=', '0')-> |
821 | where('is_bd', '=', '0')-> | 805 | where('is_bd', '=', '0')-> |
822 | where('position_id', $id)-> | 806 | where('position_id', $id)-> |
823 | get(); | 807 | get(); |
824 | return view('favorite_people', compact('favorite_people')); | 808 | return view('favorite_people', compact('favorite_people')); |
825 | } | 809 | } |
826 | } | 810 | } |
app/Http/Controllers/HomeController.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace App\Http\Controllers; | 3 | namespace App\Http\Controllers; |
4 | 4 | ||
5 | use App\Models\Message; | ||
5 | use Illuminate\Http\Request; | 6 | use Illuminate\Http\Request; |
6 | 7 | ||
7 | class HomeController extends Controller | 8 | class HomeController extends Controller |
8 | { | 9 | { |
9 | /** | 10 | /** |
10 | * Create a new controller instance. | 11 | * Create a new controller instance. |
11 | * | 12 | * |
12 | * @return void | 13 | * @return void |
13 | */ | 14 | */ |
14 | public function __construct() | 15 | public function __construct() |
15 | { | 16 | { |
16 | $this->middleware('auth'); | 17 | $this->middleware('auth'); |
17 | } | 18 | } |
18 | 19 | ||
19 | /** | 20 | /** |
20 | * Show the application dashboard. | 21 | * Show the application dashboard. |
21 | * | 22 | * |
22 | * @return \Illuminate\Contracts\Support\Renderable | 23 | * @return \Illuminate\Contracts\Support\Renderable |
23 | */ | 24 | */ |
24 | public function index() | 25 | public function index() |
25 | { | 26 | { |
26 | return view('home'); | 27 | return view('home'); |
27 | } | 28 | } |
29 | |||
30 | public function send_message(Request $request) | ||
31 | { | ||
32 | $user_id = Auth()->user()->id; | ||
33 | |||
34 | $message_params = [ | ||
35 | 'text' => $request->input('text'), | ||
36 | 'reply_message_id' => $request->input('reply_message_id', null), | ||
37 | ]; | ||
38 | |||
39 | $new_message = Message::add_message( | ||
40 | $request, | ||
41 | $user_id, | ||
42 | $request->input('to_user_id'), | ||
43 | $message_params | ||
44 | ); | ||
45 | |||
46 | $user_type = Auth()->user()->is_worker ? 'worker' : 'employer'; | ||
47 | |||
48 | return response()->json([ | ||
49 | 'success' => true, | ||
50 | 'url_redirect' => route($user_type . '.dialog', ['chat' => $new_message->chat_id_to]) | ||
51 | ]); | ||
52 | } | ||
28 | } | 53 | } |
29 | 54 |
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 | get(); | 101 | get(); |
102 | 102 | ||
103 | if ($request->get('sort')) { | 103 | if ($request->get('sort')) { |
104 | $sort = $request->get('sort'); | 104 | $sort = $request->get('sort'); |
105 | switch ($sort) { | 105 | switch ($sort) { |
106 | case 'looking_for_work': | 106 | case 'looking_for_work': |
107 | $resumes->where('status_work', '=', WorkerStatuses::LookingForWork->value); | 107 | $resumes->where('status_work', '=', WorkerStatuses::LookingForWork->value); |
108 | break; | 108 | break; |
109 | case 'considering_offers': | 109 | case 'considering_offers': |
110 | $resumes->where('status_work', '=', WorkerStatuses::ConsideringOffers->value); | 110 | $resumes->where('status_work', '=', WorkerStatuses::ConsideringOffers->value); |
111 | break; | 111 | break; |
112 | case 'not_looking_for_work': | 112 | case 'not_looking_for_work': |
113 | $resumes->where('status_work', '=', WorkerStatuses::NotLookingForWork->value); | 113 | $resumes->where('status_work', '=', WorkerStatuses::NotLookingForWork->value); |
114 | break; | 114 | break; |
115 | } | 115 | } |
116 | } | 116 | } |
117 | 117 | ||
118 | $res_count = $resumes->count(); | 118 | $res_count = $resumes->count(); |
119 | //$resumes = $resumes->get(); | 119 | //$resumes = $resumes->get(); |
120 | $resumes = $resumes->paginate(4); | 120 | $resumes = $resumes->paginate(4); |
121 | if ($request->ajax()) { | 121 | if ($request->ajax()) { |
122 | // Условия обставлены | 122 | // Условия обставлены |
123 | if ($request->has('block') && ($request->get('block') == 1)) { | 123 | if ($request->has('block') && ($request->get('block') == 1)) { |
124 | return view('ajax.resume_1', compact('resumes', 'status_work', 'res_count', 'idiot')); | 124 | return view('ajax.resume_1', compact('resumes', 'status_work', 'res_count', 'idiot')); |
125 | } | 125 | } |
126 | } else { | 126 | } else { |
127 | return view('resume', compact('resumes', 'status_work', 'res_count', 'idiot', 'Job_title')); | 127 | return view('resume', compact('resumes', 'status_work', 'res_count', 'idiot', 'Job_title')); |
128 | } | 128 | } |
129 | } else { | 129 | } else { |
130 | return redirect()->route('index')->withErrors(['errors' => ['Вы не можете просматривать базу резюме. Подробнее в меню: "Условия размещения"']]); | 130 | return redirect()->route('index')->withErrors(['errors' => ['Вы не можете просматривать базу резюме. Подробнее в меню: "Условия размещения"']]); |
131 | } | 131 | } |
132 | } | 132 | } |
133 | 133 | ||
134 | public function basic_information(){ | 134 | public function basic_information(){ |
135 | if (!isset(Auth()->user()->id)) { | 135 | if (!isset(Auth()->user()->id)) { |
136 | abort(404); | 136 | abort(404); |
137 | } | 137 | } |
138 | 138 | ||
139 | $user_id = Auth()->user()->id; | 139 | $user_id = Auth()->user()->id; |
140 | 140 | ||
141 | $user = User::query() | 141 | $user = User::query() |
142 | ->with('workers') | 142 | ->with('workers') |
143 | ->with(['jobtitles' => function ($query) { | 143 | ->with(['jobtitles' => function ($query) { |
144 | $query->select('job_titles.id'); | 144 | $query->select('job_titles.id'); |
145 | }]) | 145 | }]) |
146 | ->where('id', '=', $user_id) | 146 | ->where('id', '=', $user_id) |
147 | ->first(); | 147 | ->first(); |
148 | $user->workers[0]->job_titles = $user->workers[0]->job_titles->pluck('id')->toArray(); | 148 | $user->workers[0]->job_titles = $user->workers[0]->job_titles->pluck('id')->toArray(); |
149 | 149 | ||
150 | $job_titles = Job_title::query() | 150 | $job_titles = Job_title::query() |
151 | ->where('is_remove', '=', 0) | 151 | ->where('is_remove', '=', 0) |
152 | ->where('is_bd', '=', 1) | 152 | ->where('is_bd', '=', 1) |
153 | ->orderByDesc('sort') | 153 | ->orderByDesc('sort') |
154 | ->get() | 154 | ->get() |
155 | ; | 155 | ; |
156 | 156 | ||
157 | return view('workers.form_basic_information', compact('user', 'job_titles')); | 157 | return view('workers.form_basic_information', compact('user', 'job_titles')); |
158 | } | 158 | } |
159 | 159 | ||
160 | public function additional_documents(){ | 160 | public function additional_documents(){ |
161 | if (!isset(Auth()->user()->id)) { | 161 | if (!isset(Auth()->user()->id)) { |
162 | abort(404); | 162 | abort(404); |
163 | } | 163 | } |
164 | 164 | ||
165 | $user_id = Auth()->user()->id; | 165 | $user_id = Auth()->user()->id; |
166 | 166 | ||
167 | $info_blocks = infobloks::query()->OrderBy('name')->get(); | 167 | $info_blocks = infobloks::query()->OrderBy('name')->get(); |
168 | $additional_document_statuses = [0 => 'Не указано', 1 => 'В наличии', 2 => 'Отсутствует']; | 168 | $additional_document_statuses = [0 => 'Не указано', 1 => 'В наличии', 2 => 'Отсутствует']; |
169 | 169 | ||
170 | $worker = Worker::query() | 170 | $worker = Worker::query() |
171 | ->with('users') | 171 | ->with('users') |
172 | ->with('infobloks') | 172 | ->with('infobloks') |
173 | ->WhereHas('users', function (Builder $query) use ($user_id) { | 173 | ->WhereHas('users', function (Builder $query) use ($user_id) { |
174 | $query->Where('id', $user_id); | 174 | $query->Where('id', $user_id); |
175 | }) | 175 | }) |
176 | ->first(); | 176 | ->first(); |
177 | if ($worker->dop_info->count()){ | 177 | if ($worker->dop_info->count()){ |
178 | $worker->dop_info = $worker->dop_info->keyBy('infoblok_id')->toArray(); | 178 | $worker->dop_info = $worker->dop_info->keyBy('infoblok_id')->toArray(); |
179 | } | 179 | } |
180 | 180 | ||
181 | return view('workers.form_additional_documents', compact('worker', 'info_blocks', 'additional_document_statuses')); | 181 | return view('workers.form_additional_documents', compact('worker', 'info_blocks', 'additional_document_statuses')); |
182 | } | 182 | } |
183 | 183 | ||
184 | //Лайк резюме | 184 | //Лайк резюме |
185 | public function like_controller() { | 185 | public function like_controller() { |
186 | 186 | ||
187 | } | 187 | } |
188 | 188 | ||
189 | // анкета соискателя | 189 | // анкета соискателя |
190 | public function resume_profile(Worker $worker) | 190 | public function resume_profile(Worker $worker) |
191 | { | 191 | { |
192 | if (isset(Auth()->user()->id)) { | 192 | if (isset(Auth()->user()->id)) { |
193 | $idiot = Auth()->user()->id; | 193 | $idiot = Auth()->user()->id; |
194 | } else { | 194 | } else { |
195 | $idiot = 0; | 195 | $idiot = 0; |
196 | } | 196 | } |
197 | 197 | ||
198 | $status_work = WorkerStatuses::getWorkerStatuses(); | 198 | $status_work = WorkerStatuses::getWorkerStatuses(); |
199 | $Query = Worker::query()->with('users')->with('job_titles') | 199 | $Query = Worker::query()->with('users')->with('job_titles') |
200 | ->with('place_worker')->with('sertificate')->with('prev_company') | 200 | ->with('place_worker')->with('sertificate')->with('prev_company') |
201 | ->with('infobloks')->with('response'); | 201 | ->with('infobloks')->with('response'); |
202 | $Query = $Query->where('id', '=', $worker->id); | 202 | $Query = $Query->where('id', '=', $worker->id); |
203 | $Query = $Query->get(); | 203 | $Query = $Query->get(); |
204 | 204 | ||
205 | $get_date = date('Y.m'); | 205 | $get_date = date('Y.m'); |
206 | 206 | ||
207 | $infoblocks = infobloks::query()->get(); | 207 | $infoblocks = infobloks::query()->get(); |
208 | 208 | ||
209 | $c = Static_worker::query()->where('year_month', '=', $get_date) | 209 | $c = Static_worker::query()->where('year_month', '=', $get_date) |
210 | ->where('user_id', '=', $worker->user_id) | 210 | ->where('user_id', '=', $worker->user_id) |
211 | ->get(); | 211 | ->get(); |
212 | 212 | ||
213 | if ($c->count() > 0) { | 213 | if ($c->count() > 0) { |
214 | $upd = Static_worker::find($c[0]->id); | 214 | $upd = Static_worker::find($c[0]->id); |
215 | $upd->lookin = $upd->lookin + 1; | 215 | $upd->lookin = $upd->lookin + 1; |
216 | $upd->save(); | 216 | $upd->save(); |
217 | } else { | 217 | } else { |
218 | $crt = new Static_worker(); | 218 | $crt = new Static_worker(); |
219 | $crt->lookin = 1; | 219 | $crt->lookin = 1; |
220 | $crt->year_month = $get_date; | 220 | $crt->year_month = $get_date; |
221 | $crt->user_id = $worker->user_id; | 221 | $crt->user_id = $worker->user_id; |
222 | $status = $crt->save(); | 222 | $status = $crt->save(); |
223 | } | 223 | } |
224 | 224 | ||
225 | $stat = Static_worker::query()->where('year_month', '=', $get_date) | 225 | $stat = Static_worker::query()->where('year_month', '=', $get_date) |
226 | ->where('user_id', '=', $worker->user_id) | 226 | ->where('user_id', '=', $worker->user_id) |
227 | ->get(); | 227 | ->get(); |
228 | 228 | ||
229 | return view('worker', compact('Query', 'infoblocks', 'status_work', 'idiot', 'stat')); | 229 | return view('worker', compact('Query', 'infoblocks', 'status_work', 'idiot', 'stat')); |
230 | } | 230 | } |
231 | 231 | ||
232 | // скачать анкету соискателя | 232 | // скачать анкету соискателя |
233 | public function resume_download(Worker $worker) | 233 | public function resume_download(Worker $worker) |
234 | { | 234 | { |
235 | $status_work = WorkerStatuses::getWorkerStatuses(); | 235 | $status_work = WorkerStatuses::getWorkerStatuses(); |
236 | $Query = Worker::query()->with('users')->with('job_titles') | 236 | $Query = Worker::query()->with('users')->with('job_titles') |
237 | ->with('place_worker')->with('sertificate')->with('prev_company') | 237 | ->with('place_worker')->with('sertificate')->with('prev_company') |
238 | ->with('infobloks'); | 238 | ->with('infobloks'); |
239 | $Query = $Query->where('id', '=', $worker->id); | 239 | $Query = $Query->where('id', '=', $worker->id); |
240 | $Query = $Query->get(); | 240 | $Query = $Query->get(); |
241 | 241 | ||
242 | view()->share('Query',$Query); | 242 | view()->share('Query',$Query); |
243 | 243 | ||
244 | $status_work = WorkerStatuses::getWorkerStatuses(); | 244 | $status_work = WorkerStatuses::getWorkerStatuses(); |
245 | $infoblocks = infobloks::query()->get(); | 245 | $infoblocks = infobloks::query()->get(); |
246 | 246 | ||
247 | //return view('layout.pdf', compact('Query', 'status_work', 'infoblocks')); | 247 | //return view('layout.pdf', compact('Query', 'status_work', 'infoblocks')); |
248 | $pdf = PDF::loadView('layout.pdf', [ | 248 | $pdf = PDF::loadView('layout.pdf', [ |
249 | 'Query' => $Query, | 249 | 'Query' => $Query, |
250 | 'status_work' => $status_work, | 250 | 'status_work' => $status_work, |
251 | 'infoblocks' => $infoblocks | 251 | 'infoblocks' => $infoblocks |
252 | ])->setPaper('a4', 'landscape'); | 252 | ])->setPaper('a4', 'landscape'); |
253 | 253 | ||
254 | return $pdf->stream(); | 254 | return $pdf->stream(); |
255 | } | 255 | } |
256 | 256 | ||
257 | public function resume_download_all(Request $request) { | 257 | public function resume_download_all(Request $request) { |
258 | $spreadsheet = new Spreadsheet(); | 258 | $spreadsheet = new Spreadsheet(); |
259 | $sheet = $spreadsheet->getActiveSheet(); | 259 | $sheet = $spreadsheet->getActiveSheet(); |
260 | 260 | ||
261 | $columnMap = range('A', 'Z'); | 261 | $columnMap = range('A', 'Z'); |
262 | $columns = []; | 262 | $columns = []; |
263 | 263 | ||
264 | foreach (DbExportColumns::toArray() as $key => $value){ | 264 | foreach (DbExportColumns::toArray() as $key => $value){ |
265 | if ($request->input($key, 0)){ | 265 | if ($request->input($key, 0)){ |
266 | $sheet->setCellValue("{$columnMap[count($columns)]}1", ucfirst($value)); | 266 | $sheet->setCellValue("{$columnMap[count($columns)]}1", ucfirst($value)); |
267 | $columns[] = str_replace('__', '.', $key); | 267 | $columns[] = str_replace('__', '.', $key); |
268 | } | 268 | } |
269 | } | 269 | } |
270 | 270 | ||
271 | if (empty($columns)) { | 271 | if (empty($columns)) { |
272 | return redirect()->back()->with('error', 'Пожалуйста выберите хотя бы 1 колонку для экспорта.'); | 272 | return redirect()->back()->with('error', 'Пожалуйста выберите хотя бы 1 колонку для экспорта.'); |
273 | } | 273 | } |
274 | 274 | ||
275 | $query = User::select($columns) | 275 | $query = User::select($columns) |
276 | ->leftJoin('workers', 'users.id', '=', 'workers.user_id') | 276 | ->leftJoin('workers', 'users.id', '=', 'workers.user_id') |
277 | ->leftJoin('job_titles', 'workers.position_work', '=', 'job_titles.id') | 277 | ->leftJoin('job_titles', 'workers.position_work', '=', 'job_titles.id') |
278 | ->where('users.is_bd', '=', 1) | 278 | ->where('users.is_bd', '=', 1) |
279 | ; | 279 | ; |
280 | 280 | ||
281 | $job_title_list = $request->input('job_title_list', []); | 281 | $job_title_list = $request->input('job_title_list', []); |
282 | if (!empty($job_title_list)){ | 282 | if (!empty($job_title_list)){ |
283 | $query->whereIn('job_titles.id', $job_title_list); | 283 | $query->whereIn('job_titles.id', $job_title_list); |
284 | } | 284 | } |
285 | 285 | ||
286 | $users = $query->get(); | 286 | $users = $query->get(); |
287 | if ($users->count()){ | 287 | if ($users->count()){ |
288 | $i = 2; | 288 | $i = 2; |
289 | foreach ($users->toArray() as $user){ | 289 | foreach ($users->toArray() as $user){ |
290 | $j = 0; | 290 | $j = 0; |
291 | foreach ($user as $field){ | 291 | foreach ($user as $field){ |
292 | $sheet->setCellValue("{$columnMap[$j++]}$i", $field); | 292 | $sheet->setCellValue("{$columnMap[$j++]}$i", $field); |
293 | } | 293 | } |
294 | $i++; | 294 | $i++; |
295 | } | 295 | } |
296 | } | 296 | } |
297 | $writer = new Xlsx($spreadsheet); | 297 | $writer = new Xlsx($spreadsheet); |
298 | $fileName = 'DB.xlsx'; | 298 | $fileName = 'DB.xlsx'; |
299 | 299 | ||
300 | $response = new StreamedResponse(function() use ($writer) { | 300 | $response = new StreamedResponse(function() use ($writer) { |
301 | $writer->save('php://output'); | 301 | $writer->save('php://output'); |
302 | }); | 302 | }); |
303 | 303 | ||
304 | $response->headers->set('Content-Type', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'); | 304 | $response->headers->set('Content-Type', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'); |
305 | $response->headers->set('Content-Disposition', 'attachment;filename="' . $fileName . '"'); | 305 | $response->headers->set('Content-Disposition', 'attachment;filename="' . $fileName . '"'); |
306 | $response->headers->set('Cache-Control', 'max-age=0'); | 306 | $response->headers->set('Cache-Control', 'max-age=0'); |
307 | 307 | ||
308 | return $response; | 308 | return $response; |
309 | } | 309 | } |
310 | 310 | ||
311 | // Кабинет работника | 311 | // Кабинет работника |
312 | public function cabinet(Request $request) | 312 | public function cabinet(Request $request) |
313 | { | 313 | { |
314 | // дата год и месяц | 314 | // дата год и месяц |
315 | $get_date = date('Y.m'); | 315 | $get_date = date('Y.m'); |
316 | 316 | ||
317 | $id = Auth()->user()->id; | 317 | $id = Auth()->user()->id; |
318 | 318 | ||
319 | $Infobloks = infobloks::query()->get(); | 319 | $Infobloks = infobloks::query()->get(); |
320 | 320 | ||
321 | $Worker = Worker::query()->with('users')->with('sertificate')->with('prev_company')-> | 321 | $Worker = Worker::query()->with('users')->with('sertificate')->with('prev_company')-> |
322 | with('infobloks')->with('place_worker')-> | 322 | with('infobloks')->with('place_worker')-> |
323 | WhereHas('users', | 323 | WhereHas('users', |
324 | function (Builder $query) use ($id) {$query->Where('id', $id); | 324 | function (Builder $query) use ($id) {$query->Where('id', $id); |
325 | })->get(); | 325 | })->get(); |
326 | 326 | ||
327 | $Job_titles = Job_title::query()->where('is_remove', '=', '0')-> | 327 | $Job_titles = Job_title::query()->where('is_remove', '=', '0')-> |
328 | where('is_bd', '=' , '1')-> | 328 | where('is_bd', '=' , '1')-> |
329 | OrderByDesc('sort')->OrderBy('name')->get(); | 329 | OrderByDesc('sort')->OrderBy('name')->get(); |
330 | 330 | ||
331 | 331 | ||
332 | $stat = Static_worker::query()->where('year_month', '=', $get_date) | 332 | $stat = Static_worker::query()->where('year_month', '=', $get_date) |
333 | ->where('user_id', '=', $id) | 333 | ->where('user_id', '=', $id) |
334 | ->get(); | 334 | ->get(); |
335 | 335 | ||
336 | 336 | ||
337 | // 10% | 337 | // 10% |
338 | 338 | ||
339 | $persent = 10; | 339 | $persent = 10; |
340 | $persent1 = 0; | 340 | $persent1 = 0; |
341 | $persent2 = 0; | 341 | $persent2 = 0; |
342 | $persent3 = 0; | 342 | $persent3 = 0; |
343 | $persent4 = 0; | 343 | $persent4 = 0; |
344 | $persent5 = 0; | 344 | $persent5 = 0; |
345 | 345 | ||
346 | if ((!empty($Worker[0]->telephone)) && | 346 | if ((!empty($Worker[0]->telephone)) && |
347 | (!empty($Worker[0]->email)) && (!empty($Worker[0]->experience)) && | 347 | (!empty($Worker[0]->email)) && (!empty($Worker[0]->experience)) && |
348 | (!empty($Worker[0]->city)) && (!empty($Worker[0]->old_year))) { | 348 | (!empty($Worker[0]->city)) && (!empty($Worker[0]->old_year))) { |
349 | // 40% | 349 | // 40% |
350 | $persent = $persent + 40; | 350 | $persent = $persent + 40; |
351 | $persent1 = 40; | 351 | $persent1 = 40; |
352 | } | 352 | } |
353 | 353 | ||
354 | //dd($Worker[0]->status_work, $Worker[0]->telephone, $Worker[0]->email, $Worker[0]->experience, $Worker[0]->city, $Worker[0]->old_year); | 354 | //dd($Worker[0]->status_work, $Worker[0]->telephone, $Worker[0]->email, $Worker[0]->experience, $Worker[0]->city, $Worker[0]->old_year); |
355 | 355 | ||
356 | if ($Worker[0]->sertificate->count() > 0) { | 356 | if ($Worker[0]->sertificate->count() > 0) { |
357 | // 15% | 357 | // 15% |
358 | $persent = $persent + 15; | 358 | $persent = $persent + 15; |
359 | $persent2 = 15; | 359 | $persent2 = 15; |
360 | } | 360 | } |
361 | 361 | ||
362 | if ($Worker[0]->infobloks->count() > 0) { | 362 | if ($Worker[0]->infobloks->count() > 0) { |
363 | // 20% | 363 | // 20% |
364 | $persent = $persent + 20; | 364 | $persent = $persent + 20; |
365 | $persent3 = 20; | 365 | $persent3 = 20; |
366 | } | 366 | } |
367 | 367 | ||
368 | if ($Worker[0]->prev_company->count() > 0) { | 368 | if ($Worker[0]->prev_company->count() > 0) { |
369 | // 10% | 369 | // 10% |
370 | $persent = $persent + 10; | 370 | $persent = $persent + 10; |
371 | $persent4 = 10; | 371 | $persent4 = 10; |
372 | } | 372 | } |
373 | 373 | ||
374 | if (!empty($Worker[0]->photo)) { | 374 | if (!empty($Worker[0]->photo)) { |
375 | // 5% | 375 | // 5% |
376 | $persent = $persent + 5; | 376 | $persent = $persent + 5; |
377 | $persent5 = 5; | 377 | $persent5 = 5; |
378 | } | 378 | } |
379 | 379 | ||
380 | $status_work = WorkerStatuses::getWorkerStatuses(); | 380 | $status_work = WorkerStatuses::getWorkerStatuses(); |
381 | $additional_document_statuses = [0 => 'Не указано', 1 => 'В наличии', 2 => 'Отсутствует']; | 381 | $additional_document_statuses = [0 => 'Не указано', 1 => 'В наличии', 2 => 'Отсутствует']; |
382 | $info_blocks = infobloks::query()->OrderBy('name')->get(); | 382 | $info_blocks = infobloks::query()->OrderBy('name')->get(); |
383 | 383 | ||
384 | $worker = Worker::query() | 384 | $worker = Worker::query() |
385 | ->with('users') | 385 | ->with('users') |
386 | ->with('sertificate') | 386 | ->with('sertificate') |
387 | ->with('prev_company') | 387 | ->with('prev_company') |
388 | ->with('infobloks') | 388 | ->with('infobloks') |
389 | ->with('place_worker') | 389 | ->with('place_worker') |
390 | ->with('job_titles') | 390 | ->with('job_titles') |
391 | ->WhereHas('users', function (Builder $query) use ($id) { | 391 | ->WhereHas('users', function (Builder $query) use ($id) { |
392 | $query->Where('id', $id); | 392 | $query->Where('id', $id); |
393 | }) | 393 | }) |
394 | ->first(); | 394 | ->first(); |
395 | if ($worker->dop_info->count()){ | 395 | if ($worker->dop_info->count()){ |
396 | $worker->dop_info = $worker->dop_info->keyBy('infoblok_id')->toArray(); | 396 | $worker->dop_info = $worker->dop_info->keyBy('infoblok_id')->toArray(); |
397 | } | 397 | } |
398 | 398 | ||
399 | //dd($worker->dop_info); | 399 | //dd($worker->dop_info); |
400 | 400 | ||
401 | if ($request->has('print')) { | 401 | if ($request->has('print')) { |
402 | dd($Worker); | 402 | dd($Worker); |
403 | } else { | 403 | } else { |
404 | return view('workers.cabinet', compact( 'persent', 'Job_titles', 'stat', | 404 | return view('workers.cabinet', compact( 'persent', 'Job_titles', 'stat', |
405 | 'worker', 'info_blocks', 'status_work', 'additional_document_statuses' | 405 | 'worker', 'info_blocks', 'status_work', 'additional_document_statuses' |
406 | )); | 406 | )); |
407 | } | 407 | } |
408 | } | 408 | } |
409 | 409 | ||
410 | // Сохранение данных | 410 | // Сохранение данных |
411 | public function cabinet_save(Worker $worker, Request $request) | 411 | public function cabinet_save(Worker $worker, Request $request) |
412 | { | 412 | { |
413 | $id = $worker->id; | 413 | $id = $worker->id; |
414 | $params = $request->all(); | 414 | $params = $request->all(); |
415 | $job_title_id = $request->get('job_title_id'); | 415 | $job_title_id = $request->get('job_title_id'); |
416 | 416 | ||
417 | $rules = [ | 417 | $rules = [ |
418 | 'surname' => ['required', 'string', 'max:255'], | 418 | 'surname' => ['required', 'string', 'max:255'], |
419 | 'name_man' => ['required', 'string', 'max:255'], | 419 | 'name_man' => ['required', 'string', 'max:255'], |
420 | 'email' => ['required', 'string', 'email', 'max:255'], | 420 | 'email' => ['required', 'string', 'email', 'max:255'], |
421 | 421 | ||
422 | ]; | 422 | ]; |
423 | 423 | ||
424 | $messages = [ | 424 | $messages = [ |
425 | 'required' => 'Укажите обязательное поле', | 425 | 'required' => 'Укажите обязательное поле', |
426 | 'min' => [ | 426 | 'min' => [ |
427 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', | 427 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', |
428 | 'integer' => 'Поле «:attribute» должно быть :min или больше', | 428 | 'integer' => 'Поле «:attribute» должно быть :min или больше', |
429 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' | 429 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' |
430 | ], | 430 | ], |
431 | 'max' => [ | 431 | 'max' => [ |
432 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', | 432 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', |
433 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', | 433 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', |
434 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' | 434 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' |
435 | ] | 435 | ] |
436 | ]; | 436 | ]; |
437 | 437 | ||
438 | $validator = Validator::make($params, $rules, $messages); | 438 | $validator = Validator::make($params, $rules, $messages); |
439 | 439 | ||
440 | if ($validator->fails()) { | 440 | if ($validator->fails()) { |
441 | return redirect()->route('worker.cabinet')->withErrors($validator); | 441 | return redirect()->route('worker.cabinet')->withErrors($validator); |
442 | } else { | 442 | } else { |
443 | 443 | ||
444 | if ($request->has('photo')) { | 444 | if ($request->has('photo')) { |
445 | if (!empty($worker->photo)) { | 445 | if (!empty($worker->photo)) { |
446 | Storage::delete($worker->photo); | 446 | Storage::delete($worker->photo); |
447 | } | 447 | } |
448 | $params['photo'] = $request->file('photo')->store("worker/$id", 'public'); | 448 | $params['photo'] = $request->file('photo')->store("worker/$id", 'public'); |
449 | } | 449 | } |
450 | 450 | ||
451 | if ($request->has('file')) { | 451 | if ($request->has('file')) { |
452 | if (!empty($worker->file)) { | 452 | if (!empty($worker->file)) { |
453 | Storage::delete($worker->file); | 453 | Storage::delete($worker->file); |
454 | } | 454 | } |
455 | $params['file'] = $request->file('file')->store("worker/$id", 'public'); | 455 | $params['file'] = $request->file('file')->store("worker/$id", 'public'); |
456 | } | 456 | } |
457 | 457 | ||
458 | $worker->update($params); | 458 | $worker->update($params); |
459 | $use = User::find($worker->user_id); | 459 | $use = User::find($worker->user_id); |
460 | $use->surname = $request->get('surname'); | 460 | $use->surname = $request->get('surname'); |
461 | $use->name_man = $request->get('name_man'); | 461 | $use->name_man = $request->get('name_man'); |
462 | $use->surname2 = $request->get('surname2'); | 462 | $use->surname2 = $request->get('surname2'); |
463 | 463 | ||
464 | $use->save(); | 464 | $use->save(); |
465 | $worker->job_titles()->sync($job_title_id); | 465 | $worker->job_titles()->sync($job_title_id); |
466 | 466 | ||
467 | return redirect()->route('worker.cabinet')->with('success', 'Данные были успешно сохранены'); | 467 | return redirect()->route('worker.cabinet')->with('success', 'Данные были успешно сохранены'); |
468 | } | 468 | } |
469 | } | 469 | } |
470 | 470 | ||
471 | public function cabinet_save_foto(Worker $worker, Request $request){ | 471 | public function cabinet_save_foto(Worker $worker, Request $request){ |
472 | $params = ['photo' => null]; | 472 | $params = ['photo' => null]; |
473 | 473 | ||
474 | if ($request->has('photo')) { | 474 | if ($request->has('photo')) { |
475 | if (!empty($worker->photo)) { | 475 | if (!empty($worker->photo)) { |
476 | Storage::delete($worker->photo); | 476 | Storage::delete($worker->photo); |
477 | } | 477 | } |
478 | $params['photo'] = $request->file('photo')->store("worker/$worker->id", 'public'); | 478 | $params['photo'] = $request->file('photo')->store("worker/$worker->id", 'public'); |
479 | } | 479 | } |
480 | 480 | ||
481 | if ($request->has('file')) { | 481 | if ($request->has('file')) { |
482 | if (!empty($worker->file)) { | 482 | if (!empty($worker->file)) { |
483 | Storage::delete($worker->file); | 483 | Storage::delete($worker->file); |
484 | } | 484 | } |
485 | $params['file'] = $request->file('file')->store("worker/$worker->id", 'public'); | 485 | $params['file'] = $request->file('file')->store("worker/$worker->id", 'public'); |
486 | } | 486 | } |
487 | 487 | ||
488 | $worker->update($params); | 488 | $worker->update($params); |
489 | 489 | ||
490 | return redirect()->route('worker.cabinet'); | 490 | return redirect()->route('worker.cabinet'); |
491 | } | 491 | } |
492 | 492 | ||
493 | // Сообщения данные | 493 | // Сообщения данные |
494 | public function messages($type_message) | 494 | public function messages($type_message) |
495 | { | 495 | { |
496 | $user_id = Auth()->user()->id; | 496 | $user_id = Auth()->user()->id; |
497 | 497 | ||
498 | $chats = Chat::get_user_chats($user_id); | 498 | $chats = Chat::get_user_chats($user_id); |
499 | $admin_chat = Chat::get_user_admin_chat($user_id); | ||
499 | $user_type = 'worker'; | 500 | $user_type = 'worker'; |
500 | 501 | ||
501 | return view('workers.messages', compact('chats','user_id', 'user_type')); | 502 | return view('workers.messages', compact('chats', 'admin_chat','user_id', 'user_type')); |
502 | } | 503 | } |
503 | 504 | ||
504 | // Избранный | 505 | // Избранный |
505 | public function favorite() | 506 | public function favorite() |
506 | { | 507 | { |
507 | return view('workers.favorite'); | 508 | return view('workers.favorite'); |
508 | } | 509 | } |
509 | 510 | ||
510 | // Сменить пароль | 511 | // Сменить пароль |
511 | public function new_password() | 512 | public function new_password() |
512 | { | 513 | { |
513 | $email = Auth()->user()->email; | 514 | $email = Auth()->user()->email; |
514 | return view('workers.new_password', compact('email')); | 515 | return view('workers.new_password', compact('email')); |
515 | } | 516 | } |
516 | 517 | ||
517 | // Обновление пароля | 518 | // Обновление пароля |
518 | public function save_new_password(Request $request) { | 519 | public function save_new_password(Request $request) { |
519 | $use = Auth()->user(); | 520 | $use = Auth()->user(); |
520 | $request->validate([ | 521 | $request->validate([ |
521 | 'password' => 'required|string', | 522 | 'password' => 'required|string', |
522 | 'new_password' => 'required|string', | 523 | 'new_password' => 'required|string', |
523 | 'new_password2' => 'required|string' | 524 | 'new_password2' => 'required|string' |
524 | ]); | 525 | ]); |
525 | 526 | ||
526 | if ($request->get('new_password') == $request->get('new_password2')) | 527 | if ($request->get('new_password') == $request->get('new_password2')) |
527 | if ($request->get('password') !== $request->get('new_password')) { | 528 | if ($request->get('password') !== $request->get('new_password')) { |
528 | $credentials = $request->only('email', 'password'); | 529 | $credentials = $request->only('email', 'password'); |
529 | if (Auth::attempt($credentials, $request->has('save_me'))) { | 530 | if (Auth::attempt($credentials, $request->has('save_me'))) { |
530 | 531 | ||
531 | if (!is_null($use->email_verified_at)){ | 532 | if (!is_null($use->email_verified_at)){ |
532 | 533 | ||
533 | $user_data = User_Model::find($use->id); | 534 | $user_data = User_Model::find($use->id); |
534 | $user_data->update([ | 535 | $user_data->update([ |
535 | 'password' => Hash::make($request->get('new_password')), | 536 | 'password' => Hash::make($request->get('new_password')), |
536 | 'pubpassword' => base64_encode($request->get('new_password')), | 537 | 'pubpassword' => base64_encode($request->get('new_password')), |
537 | ]); | 538 | ]); |
538 | return redirect() | 539 | return redirect() |
539 | ->route('worker.new_password') | 540 | ->route('worker.new_password') |
540 | ->with('success', 'Поздравляю! Вы обновили свой пароль!'); | 541 | ->with('success', 'Поздравляю! Вы обновили свой пароль!'); |
541 | } | 542 | } |
542 | 543 | ||
543 | return redirect() | 544 | return redirect() |
544 | ->route('worker.new_password') | 545 | ->route('worker.new_password') |
545 | ->withError('Данная учетная запись не было верифицированна!'); | 546 | ->withError('Данная учетная запись не было верифицированна!'); |
546 | } | 547 | } |
547 | } | 548 | } |
548 | 549 | ||
549 | return redirect() | 550 | return redirect() |
550 | ->route('worker.new_password') | 551 | ->route('worker.new_password') |
551 | ->withErrors('Не совпадение данных, обновите пароли!'); | 552 | ->withErrors('Не совпадение данных, обновите пароли!'); |
552 | } | 553 | } |
553 | 554 | ||
554 | // Удаление профиля форма | 555 | // Удаление профиля форма |
555 | public function delete_profile() | 556 | public function delete_profile() |
556 | { | 557 | { |
557 | $login = Auth()->user()->email; | 558 | $login = Auth()->user()->email; |
558 | return view('workers.delete_profile', compact('login')); | 559 | return view('workers.delete_profile', compact('login')); |
559 | } | 560 | } |
560 | 561 | ||
561 | // Удаление профиля код | 562 | // Удаление профиля код |
562 | public function delete_profile_result(Request $request) { | 563 | public function delete_profile_result(Request $request) { |
563 | $Answer = $request->all(); | 564 | $Answer = $request->all(); |
564 | $user_id = Auth()->user()->id; | 565 | $user_id = Auth()->user()->id; |
565 | $request->validate([ | 566 | $request->validate([ |
566 | 'password' => 'required|string', | 567 | 'password' => 'required|string', |
567 | ]); | 568 | ]); |
568 | 569 | ||
569 | $credentials = $request->only('email', 'password'); | 570 | $credentials = $request->only('email', 'password'); |
570 | if (Auth::attempt($credentials)) { | 571 | if (Auth::attempt($credentials)) { |
571 | Auth::logout(); | 572 | Auth::logout(); |
572 | $it = User_Model::find($user_id); | 573 | $it = User_Model::find($user_id); |
573 | $it->delete(); | 574 | $it->delete(); |
574 | return redirect()->route('index')->with('success', 'Вы успешно удалили свой аккаунт'); | 575 | return redirect()->route('index')->with('success', 'Вы успешно удалили свой аккаунт'); |
575 | } else { | 576 | } else { |
576 | return redirect()->route('worker.delete_profile') | 577 | return redirect()->route('worker.delete_profile') |
577 | ->withErrors( 'Неверный пароль! Нужен корректный пароль'); | 578 | ->withErrors( 'Неверный пароль! Нужен корректный пароль'); |
578 | } | 579 | } |
579 | } | 580 | } |
580 | 581 | ||
581 | // Регистрация соискателя | 582 | // Регистрация соискателя |
582 | public function register_worker(Request $request) | 583 | public function register_worker(Request $request) |
583 | { | 584 | { |
584 | $params = $request->all(); | 585 | $params = $request->all(); |
585 | $params['is_worker'] = 1; | 586 | $params['is_worker'] = 1; |
586 | 587 | ||
587 | $rules = [ | 588 | $rules = [ |
588 | 'surname' => ['required', 'string', 'max:255'], | 589 | 'surname' => ['required', 'string', 'max:255'], |
589 | 'name_man' => ['required', 'string', 'max:255'], | 590 | 'name_man' => ['required', 'string', 'max:255'], |
590 | 'email' => ['required', 'email', 'max:255', 'unique:users'], | 591 | 'email' => ['required', 'email', 'max:255', 'unique:users'], |
591 | 'password' => ['required', 'string', 'min:6'] | 592 | 'password' => ['required', 'string', 'min:6'] |
592 | ]; | 593 | ]; |
593 | 594 | ||
594 | $messages = [ | 595 | $messages = [ |
595 | 'required' => 'Укажите обязательное поле', | 596 | 'required' => 'Укажите обязательное поле', |
596 | 'min' => [ | 597 | 'min' => [ |
597 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', | 598 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', |
598 | 'integer' => 'Поле «:attribute» должно быть :min или больше', | 599 | 'integer' => 'Поле «:attribute» должно быть :min или больше', |
599 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' | 600 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' |
600 | ], | 601 | ], |
601 | 'max' => [ | 602 | 'max' => [ |
602 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', | 603 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', |
603 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', | 604 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', |
604 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' | 605 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' |
605 | ] | 606 | ] |
606 | ]; | 607 | ]; |
607 | 608 | ||
608 | $email = $request->get('email'); | 609 | $email = $request->get('email'); |
609 | if (!preg_match("/^[a-zA-Z0-9_\-.]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-.]+$/", $email)) { | 610 | if (!preg_match("/^[a-zA-Z0-9_\-.]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-.]+$/", $email)) { |
610 | return json_encode(Array("ERROR" => "Error: Отсутствует емайл или некорректный емайл")); | 611 | return json_encode(Array("ERROR" => "Error: Отсутствует емайл или некорректный емайл")); |
611 | } | 612 | } |
612 | 613 | ||
613 | if ($request->get('password') !== $request->get('confirmed')){ | 614 | if ($request->get('password') !== $request->get('confirmed')){ |
614 | return json_encode(Array("ERROR" => "Error: Не совпадают пароль и подтверждение пароля")); | 615 | return json_encode(Array("ERROR" => "Error: Не совпадают пароль и подтверждение пароля")); |
615 | } | 616 | } |
616 | 617 | ||
617 | if (strlen($request->get('password')) < 6) { | 618 | if (strlen($request->get('password')) < 6) { |
618 | return json_encode(Array("ERROR" => "Error: Недостаточная длина пароля! Увеличьте себе длину пароля!")); | 619 | return json_encode(Array("ERROR" => "Error: Недостаточная длина пароля! Увеличьте себе длину пароля!")); |
619 | } | 620 | } |
620 | 621 | ||
621 | /*$haystack = $request->get('password'); | 622 | /*$haystack = $request->get('password'); |
622 | 623 | ||
623 | $specsumbol = Array('!','~', '#', '$', '%', '^', '&', '*', '(', ')', '-', '=', ';', ':', '<', '>', '?'); | 624 | $specsumbol = Array('!','~', '#', '$', '%', '^', '&', '*', '(', ')', '-', '=', ';', ':', '<', '>', '?'); |
624 | $alpha = Array('Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I', 'O', 'P', 'A', 'S', 'D', 'F', 'G', 'H', 'J', 'K', 'L', 'Z', | 625 | $alpha = Array('Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I', 'O', 'P', 'A', 'S', 'D', 'F', 'G', 'H', 'J', 'K', 'L', 'Z', |
625 | 'X', 'C', 'V', 'B', 'N', 'M'); | 626 | 'X', 'C', 'V', 'B', 'N', 'M'); |
626 | $lenpwd_bool = true; | 627 | $lenpwd_bool = true; |
627 | $spec_bool = false; | 628 | $spec_bool = false; |
628 | $alpha_bool = false; | 629 | $alpha_bool = false; |
629 | 630 | ||
630 | if (strlen($haystack) < 8) $lenpwd_bool = false; | 631 | if (strlen($haystack) < 8) $lenpwd_bool = false; |
631 | 632 | ||
632 | foreach ($specsumbol as $it) { | 633 | foreach ($specsumbol as $it) { |
633 | if (strpos($haystack, $it) !== false) { | 634 | if (strpos($haystack, $it) !== false) { |
634 | $spec_bool = true; | 635 | $spec_bool = true; |
635 | } | 636 | } |
636 | } | 637 | } |
637 | 638 | ||
638 | foreach ($alpha as $it) { | 639 | foreach ($alpha as $it) { |
639 | if (strpos($haystack, $it) !== false) { | 640 | if (strpos($haystack, $it) !== false) { |
640 | $alpha_bool = true; | 641 | $alpha_bool = true; |
641 | } | 642 | } |
642 | } | 643 | } |
643 | 644 | ||
644 | if ((!$spec_bool) || (!$alpha_bool)) { | 645 | if ((!$spec_bool) || (!$alpha_bool)) { |
645 | return json_encode(Array("ERROR" => "Error: Нет спецсимволов в пароле, латинские буквы заглавные, а также один из символов: !~#$%^&*()-=;,:<>?")); | 646 | return json_encode(Array("ERROR" => "Error: Нет спецсимволов в пароле, латинские буквы заглавные, а также один из символов: !~#$%^&*()-=;,:<>?")); |
646 | }*/ | 647 | }*/ |
647 | 648 | ||
648 | if (($request->has('politik')) && ($request->get('politik') == 1)) { | 649 | if (($request->has('politik')) && ($request->get('politik') == 1)) { |
649 | $validator = Validator::make($params, $rules, $messages); | 650 | $validator = Validator::make($params, $rules, $messages); |
650 | 651 | ||
651 | if ($validator->fails()) { | 652 | if ($validator->fails()) { |
652 | return json_encode(array("ERROR" => "Error1: Регистрация оборвалась ошибкой! Не все обязательные поля заполнены. Либо вы уже были зарегистрированы в системе.")); | 653 | return json_encode(array("ERROR" => "Error1: Регистрация оборвалась ошибкой! Не все обязательные поля заполнены. Либо вы уже были зарегистрированы в системе.")); |
653 | } else { | 654 | } else { |
654 | //dd($params); | 655 | //dd($params); |
655 | $user = $this->create($params); | 656 | $user = $this->create($params); |
656 | event(new Registered($user)); | 657 | event(new Registered($user)); |
657 | Auth::guard()->login($user); | 658 | Auth::guard()->login($user); |
658 | } | 659 | } |
659 | if ($user) { | 660 | if ($user) { |
660 | return json_encode(Array("REDIRECT" => redirect()->route('worker.cabinet')->getTargetUrl()));; | 661 | return json_encode(Array("REDIRECT" => redirect()->route('worker.cabinet')->getTargetUrl()));; |
661 | } else { | 662 | } else { |
662 | return json_encode(Array("ERROR" => "Error2: Данные были утеряны!")); | 663 | return json_encode(Array("ERROR" => "Error2: Данные были утеряны!")); |
663 | } | 664 | } |
664 | 665 | ||
665 | } else { | 666 | } else { |
666 | return json_encode(Array("ERROR" => "Error3: Вы не согласились с политикой конфидициальности!")); | 667 | return json_encode(Array("ERROR" => "Error3: Вы не согласились с политикой конфидициальности!")); |
667 | } | 668 | } |
668 | } | 669 | } |
669 | 670 | ||
670 | // Звездная оценка и ответ | 671 | // Звездная оценка и ответ |
671 | public function stars_answer(Request $request) { | 672 | public function stars_answer(Request $request) { |
672 | $params = $request->all(); | 673 | $params = $request->all(); |
673 | $rules = [ | 674 | $rules = [ |
674 | 'message' => ['required', 'string', 'max:255'], | 675 | 'message' => ['required', 'string', 'max:255'], |
675 | ]; | 676 | ]; |
676 | 677 | ||
677 | $messages = [ | 678 | $messages = [ |
678 | 'required' => 'Укажите обязательное поле', | 679 | 'required' => 'Укажите обязательное поле', |
679 | 'min' => [ | 680 | 'min' => [ |
680 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', | 681 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', |
681 | 'integer' => 'Поле «:attribute» должно быть :min или больше', | 682 | 'integer' => 'Поле «:attribute» должно быть :min или больше', |
682 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' | 683 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' |
683 | ], | 684 | ], |
684 | 'max' => [ | 685 | 'max' => [ |
685 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', | 686 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', |
686 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', | 687 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', |
687 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' | 688 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' |
688 | ] | 689 | ] |
689 | ]; | 690 | ]; |
690 | $response_worker = ResponseWork::create($params); | 691 | $response_worker = ResponseWork::create($params); |
691 | return redirect()->route('resume_profile', ['worker' => $request->get('worker_id')])->with('success', 'Ваше сообщение было отправлено!'); | 692 | return redirect()->route('resume_profile', ['worker' => $request->get('worker_id')])->with('success', 'Ваше сообщение было отправлено!'); |
692 | } | 693 | } |
693 | 694 | ||
694 | public function TestWorker() | 695 | public function TestWorker() |
695 | { | 696 | { |
696 | $Use = new User(); | 697 | $Use = new User(); |
697 | 698 | ||
698 | $Code_user = $Use->create([ | 699 | $Code_user = $Use->create([ |
699 | 'name' => 'surname name_man', | 700 | 'name' => 'surname name_man', |
700 | 'name_man' => 'name_man', | 701 | 'name_man' => 'name_man', |
701 | 'surname' => 'surname', | 702 | 'surname' => 'surname', |
702 | 'surname2' => 'surname2', | 703 | 'surname2' => 'surname2', |
703 | 'subscribe_email' => '1', | 704 | 'subscribe_email' => '1', |
704 | 'email' => 'email@mail.com', | 705 | 'email' => 'email@mail.com', |
705 | 'telephone' => '1234567890', | 706 | 'telephone' => '1234567890', |
706 | 'password' => Hash::make('password'), | 707 | 'password' => Hash::make('password'), |
707 | 'pubpassword' => base64_encode('password'), | 708 | 'pubpassword' => base64_encode('password'), |
708 | 'email_verified_at' => Carbon::now(), | 709 | 'email_verified_at' => Carbon::now(), |
709 | 'is_worker' => 1, | 710 | 'is_worker' => 1, |
710 | ]); | 711 | ]); |
711 | 712 | ||
712 | if ($Code_user->id > 0) { | 713 | if ($Code_user->id > 0) { |
713 | $Worker = new Worker(); | 714 | $Worker = new Worker(); |
714 | $Worker->user_id = $Code_user->id; | 715 | $Worker->user_id = $Code_user->id; |
715 | $Worker->position_work = 1; //'job_titles'; | 716 | $Worker->position_work = 1; //'job_titles'; |
716 | $Worker->email = 'email@email.com'; | 717 | $Worker->email = 'email@email.com'; |
717 | $Worker->telephone = '1234567890'; | 718 | $Worker->telephone = '1234567890'; |
718 | $status = $Worker->save(); | 719 | $status = $Worker->save(); |
719 | 720 | ||
720 | $Title_Worker = new Title_worker(); | 721 | $Title_Worker = new Title_worker(); |
721 | $Title_Worker->worker_id = $Worker->id; | 722 | $Title_Worker->worker_id = $Worker->id; |
722 | $Title_Worker->job_title_id = 1; | 723 | $Title_Worker->job_title_id = 1; |
723 | $Title_Worker->save(); | 724 | $Title_Worker->save(); |
724 | } | 725 | } |
725 | } | 726 | } |
726 | 727 | ||
727 | // Создание пользователя | 728 | // Создание пользователя |
728 | protected function create(array $data) | 729 | protected function create(array $data) |
729 | { | 730 | { |
730 | $Use = new User(); | 731 | $Use = new User(); |
731 | 732 | ||
732 | $Code_user = $Use->create([ | 733 | $Code_user = $Use->create([ |
733 | 'name' => $data['surname']." ".$data['name_man'], | 734 | 'name' => $data['surname']." ".$data['name_man'], |
734 | 'name_man' => $data['name_man'], | 735 | 'name_man' => $data['name_man'], |
735 | 'surname' => $data['surname'], | 736 | 'surname' => $data['surname'], |
736 | 'surname2' => $data['surname2'], | 737 | 'surname2' => $data['surname2'], |
737 | 'subscribe_email' => $data['email'], | 738 | 'subscribe_email' => $data['email'], |
738 | 'email' => $data['email'], | 739 | 'email' => $data['email'], |
739 | 'telephone' => $data['telephone'], | 740 | 'telephone' => $data['telephone'], |
740 | 'password' => Hash::make($data['password']), | 741 | 'password' => Hash::make($data['password']), |
741 | 'pubpassword' => base64_encode($data['password']), | 742 | 'pubpassword' => base64_encode($data['password']), |
742 | 'email_verified_at' => Carbon::now(), | 743 | 'email_verified_at' => Carbon::now(), |
743 | 'is_worker' => $data['is_worker'], | 744 | 'is_worker' => $data['is_worker'], |
744 | ]); | 745 | ]); |
745 | 746 | ||
746 | if ($Code_user->id > 0) { | 747 | if ($Code_user->id > 0) { |
747 | $Worker = new Worker(); | 748 | $Worker = new Worker(); |
748 | $Worker->user_id = $Code_user->id; | 749 | $Worker->user_id = $Code_user->id; |
749 | $Worker->position_work = $data['job_titles']; | 750 | $Worker->position_work = $data['job_titles']; |
750 | $Worker->email = $data['email']; | 751 | $Worker->email = $data['email']; |
751 | $Worker->telephone = $data['telephone']; | 752 | $Worker->telephone = $data['telephone']; |
752 | $Worker->save(); | 753 | $Worker->save(); |
753 | 754 | ||
754 | if (isset($Worker->id)) { | 755 | if (isset($Worker->id)) { |
755 | $Title_Worker = new Title_worker(); | 756 | $Title_Worker = new Title_worker(); |
756 | $Title_Worker->worker_id = $Worker->id; | 757 | $Title_Worker->worker_id = $Worker->id; |
757 | $Title_Worker->job_title_id = $data['job_titles']; | 758 | $Title_Worker->job_title_id = $data['job_titles']; |
758 | $Title_Worker->save(); | 759 | $Title_Worker->save(); |
759 | } | 760 | } |
760 | 761 | ||
761 | return $Code_user; | 762 | return $Code_user; |
762 | } | 763 | } |
763 | } | 764 | } |
764 | 765 | ||
765 | // Вакансии избранные | 766 | // Вакансии избранные |
766 | public function colorado(Request $request) { | 767 | public function colorado(Request $request) { |
767 | $IP_address = RusDate::ip_addr_client(); | 768 | $IP_address = RusDate::ip_addr_client(); |
768 | $Arr = Like_vacancy::Query()->select('code_record')->where('ip_address', '=', $IP_address)->get(); | 769 | $Arr = Like_vacancy::Query()->select('code_record')->where('ip_address', '=', $IP_address)->get(); |
769 | 770 | ||
770 | if ($Arr->count()) { | 771 | if ($Arr->count()) { |
771 | $A = Array(); | 772 | $A = Array(); |
772 | foreach ($Arr as $it) { | 773 | foreach ($Arr as $it) { |
773 | $A[] = $it->code_record; | 774 | $A[] = $it->code_record; |
774 | } | 775 | } |
775 | 776 | ||
776 | $Query = Ad_employer::query()->whereIn('id', $A); | 777 | $Query = Ad_employer::query()->whereIn('id', $A); |
777 | } else { | 778 | } else { |
778 | $Query = Ad_employer::query()->where('id', '=', '0'); | 779 | $Query = Ad_employer::query()->where('id', '=', '0'); |
779 | } | 780 | } |
780 | 781 | ||
781 | $Query = $Query->with('jobs')-> | 782 | $Query = $Query->with('jobs')-> |
782 | with('cat')-> | 783 | with('cat')-> |
783 | with('employer')-> | 784 | with('employer')-> |
784 | whereHas('jobs_code', function ($query) use ($request) { | 785 | whereHas('jobs_code', function ($query) use ($request) { |
785 | if ($request->ajax()) { | 786 | if ($request->ajax()) { |
786 | if (null !== ($request->get('job'))) { | 787 | if (null !== ($request->get('job'))) { |
787 | $query->where('job_title_id', $request->get('job')); | 788 | $query->where('job_title_id', $request->get('job')); |
788 | } | 789 | } |
789 | } | 790 | } |
790 | })->select('ad_employers.*'); | 791 | })->select('ad_employers.*'); |
791 | 792 | ||
792 | $Job_title = Job_title::query()->OrderBy('name')->get(); | 793 | $Job_title = Job_title::query()->OrderBy('name')->get(); |
793 | 794 | ||
794 | $Query_count = $Query->count(); | 795 | $Query_count = $Query->count(); |
795 | 796 | ||
796 | $Query = $Query->OrderBy('updated_at')->paginate(3); | 797 | $Query = $Query->OrderBy('updated_at')->paginate(3); |
797 | 798 | ||
798 | 799 | ||
799 | return view('workers.favorite', compact('Query', | 800 | return view('workers.favorite', compact('Query', |
800 | 'Query_count', | 801 | 'Query_count', |
801 | 'Job_title')); | 802 | 'Job_title')); |
802 | 803 | ||
803 | } | 804 | } |
804 | 805 | ||
805 | //Переписка | 806 | //Переписка |
806 | public function dialog(User_Model $user1, User_Model $user2, Request $request) { | 807 | public function dialog(Chat $chat, Request $request) { |
807 | // Получение параметров. | 808 | // Получение параметров. |
808 | if ($request->has('ad_employer')){ | 809 | if ($request->has('ad_employer')){ |
809 | $ad_employer = $request->get('ad_employer'); | 810 | $ad_employer = $request->get('ad_employer'); |
810 | } else { | 811 | } else { |
811 | $ad_employer = 0; | 812 | $ad_employer = 0; |
812 | } | 813 | } |
813 | 814 | ||
814 | if (isset($user1->id)) { | 815 | $sender = User_Model::query()->with('workers')->with('employers')->where('id', $chat->user_id)->first(); |
815 | $sender = User_Model::query()->with('workers')-> | 816 | $companion = User_Model::query()->with('workers')->with('employers')->where('id', $chat->to_user_id)->first(); |
816 | with('employers')-> | ||
817 | where('id', $user1->id)->first(); | ||
818 | } | ||
819 | 817 | ||
820 | if (isset($user2->id)) { | 818 | $Messages = Chat::get_chat_messages($chat); |
821 | $companion = User_Model::query() | ||
822 | ->with('workers') | ||
823 | ->with('employers') | ||
824 | ->where('id', $user2->id) | ||
825 | ->first() | ||
826 | ; | ||
827 | } | ||
828 | |||
829 | $Messages = Message::query()-> | ||
830 | where(function($query) use ($user1, $user2) { | ||
831 | $query->where('user_id', $user1->id)->where('to_user_id', $user2->id); | ||
832 | })->orWhere(function($query) use ($user1, $user2) { | ||
833 | $query->where('user_id', $user2->id)->where('to_user_id', $user1->id); | ||
834 | })->OrderBy('created_at') | ||
835 | ->get() | ||
836 | ; | ||
837 | 819 | ||
838 | Message::where('user_id', '=', $user2->id) | 820 | Message::where('user_id', '=', $chat->to_user_id) |
839 | ->where('to_user_id', '=', $user1->id) | 821 | ->where('to_user_id', '=', $chat->user_id) |
840 | ->update(['flag_new' => 0]); | 822 | ->update(['flag_new' => 0]); |
841 | 823 | ||
842 | return view('workers.dialog', compact('companion', 'sender', 'Messages', 'ad_employer')); | 824 | return view('workers.dialog', compact('companion', 'sender', 'chat', 'Messages', 'ad_employer')); |
843 | } | 825 | } |
844 | 826 | ||
845 | // Даунылоады | 827 | // Даунылоады |
846 | public function download(Worker $worker) { | 828 | public function download(Worker $worker) { |
847 | $arr_house = ['0' => 'Проверка, проверка, проверка, проверка, проверка...']; | 829 | $arr_house = ['0' => 'Проверка, проверка, проверка, проверка, проверка...']; |
848 | view()->share('house',$arr_house); | 830 | view()->share('house',$arr_house); |
849 | $pdf = PDF::loadView('layout.pdf', $arr_house)->setPaper('a4', 'landscape'); | 831 | $pdf = PDF::loadView('layout.pdf', $arr_house)->setPaper('a4', 'landscape'); |
850 | return $pdf->stream(); | 832 | return $pdf->stream(); |
851 | } | 833 | } |
852 | 834 | ||
853 | // Поднятие анкеты | 835 | // Поднятие анкеты |
854 | public function up(Worker $worker) { | 836 | public function up(Worker $worker) { |
855 | $worker->updated_at = Carbon::now(); | 837 | $worker->updated_at = Carbon::now(); |
856 | $worker->save(); | 838 | $worker->save(); |
857 | // 0 | 839 | // 0 |
858 | return redirect()->route('worker.cabinet')->with('success', 'Ваша анкета была поднята выше остальных'); | 840 | return redirect()->route('worker.cabinet')->with('success', 'Ваша анкета была поднята выше остальных'); |
859 | } | 841 | } |
860 | 842 | ||
861 | // Форма сертификате | 843 | // Форма сертификате |
862 | public function new_sertificate(Worker $worker) { | 844 | public function new_sertificate(Worker $worker) { |
863 | return view('workers.sertificate_add', compact('worker')); | 845 | return view('workers.sertificate_add', compact('worker')); |
864 | } | 846 | } |
865 | 847 | ||
866 | // Добавление сертификата | 848 | // Добавление сертификата |
867 | public function add_serificate(SertificationRequest $request) { | 849 | public function add_serificate(SertificationRequest $request) { |
868 | $request->validate([ | 850 | $request->validate([ |
869 | 'name' => 'required|string|max:255', | 851 | 'name' => 'required|string|max:255', |
870 | 'end_begin' => 'required|date|date_format:d.m.Y' | 852 | 'end_begin' => 'required|date|date_format:d.m.Y' |
871 | ], | 853 | ], |
872 | [ | 854 | [ |
873 | 'name' => 'Навание сертификата обязательно для заполнения.', | 855 | 'name' => 'Навание сертификата обязательно для заполнения.', |
874 | 'end_begin' => 'Формат даты должен соответствовать дд.мм.гггг' | 856 | 'end_begin' => 'Формат даты должен соответствовать дд.мм.гггг' |
875 | ]); | 857 | ]); |
876 | 858 | ||
877 | $params = $request->all(); | 859 | $params = $request->all(); |
878 | 860 | ||
879 | $end_begin = DateTime::createFromFormat('d.m.Y', $params['end_begin']); | 861 | $end_begin = DateTime::createFromFormat('d.m.Y', $params['end_begin']); |
880 | $params['end_begin'] = $end_begin->format('Y-m-d'); | 862 | $params['end_begin'] = $end_begin->format('Y-m-d'); |
881 | 863 | ||
882 | $Sertificate = new sertification(); | 864 | $Sertificate = new sertification(); |
883 | $Sertificate->create($params); | 865 | $Sertificate->create($params); |
884 | 866 | ||
885 | return response()->json([ | 867 | return response()->json([ |
886 | 'success' => true | 868 | 'success' => true |
887 | ]); | 869 | ]); |
888 | } | 870 | } |
889 | 871 | ||
890 | // Удалить сертификат | 872 | // Удалить сертификат |
891 | public function delete_sertificate(sertification $doc) { | 873 | public function delete_sertificate(sertification $doc) { |
892 | $doc->delete(); | 874 | $doc->delete(); |
893 | 875 | ||
894 | return redirect()->route('worker.cabinet'); | 876 | return redirect()->route('worker.cabinet'); |
895 | } | 877 | } |
896 | 878 | ||
897 | // Редактирование сертификата | 879 | // Редактирование сертификата |
898 | public function edit_sertificate(Worker $worker, sertification $doc) { | 880 | public function edit_sertificate(Worker $worker, sertification $doc) { |
899 | return view('workers.sertificate_edit', compact('doc', 'worker')); | 881 | return view('workers.sertificate_edit', compact('doc', 'worker')); |
900 | } | 882 | } |
901 | 883 | ||
902 | // Редактирование обновление сертификата | 884 | // Редактирование обновление сертификата |
903 | public function update_serificate(SertificationRequest $request, sertification $doc) { | 885 | public function update_serificate(SertificationRequest $request, sertification $doc) { |
904 | $request->validate([ | 886 | $request->validate([ |
905 | 'name' => 'required|string|max:255', | 887 | 'name' => 'required|string|max:255', |
906 | 'end_begin' => 'required|date|date_format:d.m.Y' | 888 | 'end_begin' => 'required|date|date_format:d.m.Y' |
907 | ], | 889 | ], |
908 | [ | 890 | [ |
909 | 'name' => 'Навание сертификата обязательно для заполнения.', | 891 | 'name' => 'Навание сертификата обязательно для заполнения.', |
910 | 'end_begin' => 'Формат даты должен соответствовать дд.мм.гггг' | 892 | 'end_begin' => 'Формат даты должен соответствовать дд.мм.гггг' |
911 | ]); | 893 | ]); |
912 | 894 | ||
913 | $all = $request->all(); | 895 | $all = $request->all(); |
914 | 896 | ||
915 | $end_begin = DateTime::createFromFormat('d.m.Y', $all['end_begin']); | 897 | $end_begin = DateTime::createFromFormat('d.m.Y', $all['end_begin']); |
916 | $all['end_begin'] = $end_begin->format('Y-m-d'); | 898 | $all['end_begin'] = $end_begin->format('Y-m-d'); |
917 | 899 | ||
918 | $doc->worker_id = $all['worker_id']; | 900 | $doc->worker_id = $all['worker_id']; |
919 | $doc->name = $all['name']; | 901 | $doc->name = $all['name']; |
920 | $doc->end_begin = $all['end_begin']; | 902 | $doc->end_begin = $all['end_begin']; |
921 | $doc->save(); | 903 | $doc->save(); |
922 | 904 | ||
923 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись!'); | 905 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись!'); |
924 | } | 906 | } |
925 | 907 | ||
926 | public function edit_diploms(Request $request, Worker $worker) { | 908 | public function edit_diploms(Request $request, Worker $worker) { |
927 | $dop_info_data = $request->input('diploms'); | 909 | $dop_info_data = $request->input('diploms'); |
928 | 910 | ||
929 | if (empty($dop_info_data)) { | 911 | if (empty($dop_info_data)) { |
930 | return redirect()->route('worker.additional_documents')->with('error', 'Данные не предоставлены!'); | 912 | return redirect()->route('worker.additional_documents')->with('error', 'Данные не предоставлены!'); |
931 | } | 913 | } |
932 | 914 | ||
933 | foreach ($dop_info_data as $infoblok_id => $status) { | 915 | foreach ($dop_info_data as $infoblok_id => $status) { |
934 | Dop_info::updateOrCreate( | 916 | Dop_info::updateOrCreate( |
935 | ['worker_id' => $worker->id, 'infoblok_id' => $infoblok_id], | 917 | ['worker_id' => $worker->id, 'infoblok_id' => $infoblok_id], |
936 | ['status' => $status] | 918 | ['status' => $status] |
937 | ); | 919 | ); |
938 | } | 920 | } |
939 | 921 | ||
940 | return redirect()->route('worker.additional_documents')->with('success', 'Успешно сохранено!'); | 922 | return redirect()->route('worker.additional_documents')->with('success', 'Успешно сохранено!'); |
941 | } | 923 | } |
942 | 924 | ||
943 | public function delete_add_diplom(Request $request, Worker $worker) { | 925 | public function delete_add_diplom(Request $request, Worker $worker) { |
944 | $infoblok_id = $request->get('infoblok_id'); | 926 | $infoblok_id = $request->get('infoblok_id'); |
945 | 927 | ||
946 | 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) |
947 | $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(); |
948 | else { | 930 | else { |
949 | $params['infoblok_id'] = $infoblok_id; | 931 | $params['infoblok_id'] = $infoblok_id; |
950 | $params['worker_id'] = $worker->id; | 932 | $params['worker_id'] = $worker->id; |
951 | $params['status'] = $request->get('val'); | 933 | $params['status'] = $request->get('val'); |
952 | $id = Dop_info::create($params); | 934 | $id = Dop_info::create($params); |
953 | //$id = $worker->infobloks()->sync([$infoblok_id]); | 935 | //$id = $worker->infobloks()->sync([$infoblok_id]); |
954 | } | 936 | } |
955 | 937 | ||
956 | //$Infoblocks = infobloks::query()->get(); | 938 | //$Infoblocks = infobloks::query()->get(); |
957 | 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')); |
958 | } | 940 | } |
959 | 941 | ||
960 | 942 | ||
961 | 943 | ||
962 | // Добавление диплома | 944 | // Добавление диплома |
963 | public function add_diplom_ajax(Request $request) { | 945 | public function add_diplom_ajax(Request $request) { |
964 | // конец | 946 | // конец |
965 | $params = $request->all(); | 947 | $params = $request->all(); |
966 | $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(); |
967 | 949 | ||
968 | if ($count == 0) $dop_info = Dop_info::create($params); | 950 | if ($count == 0) $dop_info = Dop_info::create($params); |
969 | $Infoblocks = infobloks::query()->get(); | 951 | $Infoblocks = infobloks::query()->get(); |
970 | $Worker = Worker::query()->where('id', $request->get('worker_id'))->get(); | 952 | $Worker = Worker::query()->where('id', $request->get('worker_id'))->get(); |
971 | $data = Dop_info::query()->where('worker_id', $request->has('worker_id')); | 953 | $data = Dop_info::query()->where('worker_id', $request->has('worker_id')); |
972 | return view('ajax.dop_info', compact('data', 'Infoblocks', 'Worker')); | 954 | return view('ajax.dop_info', compact('data', 'Infoblocks', 'Worker')); |
973 | } | 955 | } |
974 | 956 | ||
975 | // Добавление диплома без ajax | 957 | // Добавление диплома без ajax |
976 | public function add_diplom(Worker $worker) { | 958 | public function add_diplom(Worker $worker) { |
977 | $worker_id = $worker->id; | 959 | $worker_id = $worker->id; |
978 | $Infoblocks = infobloks::query()->get(); | 960 | $Infoblocks = infobloks::query()->get(); |
979 | return view('workers.dop_info', compact('worker_id', 'worker', 'Infoblocks')); | 961 | return view('workers.dop_info', compact('worker_id', 'worker', 'Infoblocks')); |
980 | } | 962 | } |
981 | // Сохранить | 963 | // Сохранить |
982 | // Сохраняю диплом | 964 | // Сохраняю диплом |
983 | public function add_diplom_save(Request $request) { | 965 | public function add_diplom_save(Request $request) { |
984 | $params = $request->all(); | 966 | $params = $request->all(); |
985 | $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(); |
986 | if ($count == 0) $dop_info = Dop_info::create($params); | 968 | if ($count == 0) $dop_info = Dop_info::create($params); |
987 | return redirect()->route('worker.cabinet'); | 969 | return redirect()->route('worker.cabinet'); |
988 | } | 970 | } |
989 | 971 | ||
990 | // Добавление стандартного документа | 972 | // Добавление стандартного документа |
991 | public function add_document(Worker $worker) { | 973 | public function add_document(Worker $worker) { |
992 | return view('workers.docs', compact('worker')); | 974 | return view('workers.docs', compact('worker')); |
993 | } | 975 | } |
994 | 976 | ||
995 | //Сохранение стандартого документа | 977 | //Сохранение стандартого документа |
996 | public function add_document_save(DocumentsRequest $request) { | 978 | public function add_document_save(DocumentsRequest $request) { |
997 | $params = $request->all(); | 979 | $params = $request->all(); |
998 | place_works::create($params); | 980 | place_works::create($params); |
999 | return response()->json(['success' => true]); | 981 | return response()->json(['success' => true]); |
1000 | } | 982 | } |
1001 | 983 | ||
1002 | // Редактирование документа | 984 | // Редактирование документа |
1003 | public function edit_document(place_works $doc, Worker $worker) { | 985 | public function edit_document(place_works $doc, Worker $worker) { |
1004 | return view('workers.docs-edit', compact('doc', 'worker')); | 986 | return view('workers.docs-edit', compact('doc', 'worker')); |
1005 | } | 987 | } |
1006 | 988 | ||
1007 | //Сохранение отредактированного документа | 989 | //Сохранение отредактированного документа |
1008 | public function edit_document_save(DocumentsRequest $request, place_works $doc) { | 990 | public function edit_document_save(DocumentsRequest $request, place_works $doc) { |
1009 | $params = $request->all(); | 991 | $params = $request->all(); |
1010 | $doc->update($params); | 992 | $doc->update($params); |
1011 | 993 | ||
1012 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись!'); | 994 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись!'); |
1013 | } | 995 | } |
1014 | 996 | ||
1015 | // Удаление документа | 997 | // Удаление документа |
1016 | public function delete_document(place_works $doc) { | 998 | public function delete_document(place_works $doc) { |
1017 | $doc->delete(); | 999 | $doc->delete(); |
1018 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно удалили запись!'); | 1000 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно удалили запись!'); |
1019 | } | 1001 | } |
1020 | 1002 | ||
1021 | //Отправка нового сообщения | 1003 | //Отправка нового сообщения |
1022 | public function new_message(Request $request) { | 1004 | public function new_message(Request $request) { |
1023 | $params = $request->all(); | 1005 | $params = $request->all(); |
1024 | 1006 | ||
1025 | $id = $params['send_user_id']; | 1007 | $id = $params['send_user_id']; |
1026 | $message_params = [ | 1008 | $message_params = [ |
1027 | 'title' => $params['send_title'], | 1009 | 'title' => $params['send_title'], |
1028 | 'text' => $params['send_text'], | 1010 | 'text' => $params['send_text'], |
1029 | 'ad_employer_id' => $params['send_vacancy'], | 1011 | 'ad_employer_id' => $params['send_vacancy'], |
1030 | 'flag_new' => 1 | 1012 | 'flag_new' => 1 |
1031 | ]; | 1013 | ]; |
1032 | 1014 | ||
1033 | $id_message = Message::add_message( | 1015 | $id_message = Message::add_message( |
1034 | $request, | 1016 | $request, |
1035 | $params['send_user_id'], | 1017 | $params['send_user_id'], |
1036 | $params['send_to_user_id'], | 1018 | $params['send_to_user_id'], |
1037 | $message_params, | 1019 | $message_params, |
1038 | file_store_path: "worker/$id" | 1020 | file_store_path: "worker/$id" |
1039 | ); | 1021 | ); |
1040 | 1022 | ||
1041 | $data['message_id'] = $id_message; | 1023 | $data['message_id'] = $id_message; |
1042 | $data['ad_employer_id'] = $params['send_vacancy']; | 1024 | $data['ad_employer_id'] = $params['send_vacancy']; |
1043 | $data['job_title_id'] = $params['send_job_title_id']; | 1025 | $data['job_title_id'] = $params['send_job_title_id']; |
1044 | $data['flag'] = 1; | 1026 | $data['flag'] = 1; |
1045 | $ad_responce = ad_response::create($data); | 1027 | $ad_responce = ad_response::create($data); |
1046 | return redirect()->route('worker.messages', ['type_message' => 'output']); | 1028 | return redirect()->route('worker.messages', ['type_message' => 'output']); |
1047 | } | 1029 | } |
1048 | 1030 | ||
1049 | 1031 | ||
1050 | public function test123(Request $request) { | 1032 | public function test123(Request $request) { |
1051 | $params = $request->all(); | 1033 | $params = $request->all(); |
1052 | $user1 = $params['user_id']; | 1034 | $user1 = $params['user_id']; |
1053 | $user2 = $params['to_user_id']; | 1035 | $user2 = $params['to_user_id']; |
1054 | $id_vacancy = $params['ad_employer_id']; | 1036 | $id_vacancy = $params['ad_employer_id']; |
1055 | $ad_name = $params['ad_name']; | 1037 | $ad_name = $params['ad_name']; |
1056 | 1038 | ||
1057 | $rules = [ | 1039 | $rules = [ |
1058 | 'text' => 'required|min:1|max:150000', | 1040 | 'text' => 'required|min:1|max:150000', |
1059 | 'file' => 'file|mimes:doc,docx,xlsx,csv,txt,xlx,xls,pdf|max:150000' | 1041 | 'file' => 'file|mimes:doc,docx,xlsx,csv,txt,xlx,xls,pdf|max:150000' |
1060 | ]; | 1042 | ]; |
1061 | $messages = [ | 1043 | $messages = [ |
1062 | 'required' => 'Укажите обязательное поле', | 1044 | 'required' => 'Укажите обязательное поле', |
1063 | 'min' => [ | 1045 | 'min' => [ |
1064 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', | 1046 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', |
1065 | 'integer' => 'Поле «:attribute» должно быть :min или больше', | 1047 | 'integer' => 'Поле «:attribute» должно быть :min или больше', |
1066 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' | 1048 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' |
1067 | ], | 1049 | ], |
1068 | 'max' => [ | 1050 | 'max' => [ |
1069 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', | 1051 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', |
1070 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', | 1052 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', |
1071 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' | 1053 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' |
1072 | ] | 1054 | ] |
1073 | ]; | 1055 | ]; |
1074 | 1056 | ||
1075 | $validator = Validator::make($request->all(), $rules, $messages); | 1057 | $validator = Validator::make($request->all(), $rules, $messages); |
1076 | 1058 | ||
1077 | if ($validator->fails()) { | 1059 | if ($validator->fails()) { |
1078 | return redirect()->route('worker.dialog', ['user1' => $user1, 'user2' => $user2, 'ad_employer' => $id_vacancy, 'ad_name' => $ad_name]) | 1060 | return redirect()->route('worker.dialog', ['user1' => $user1, 'user2' => $user2, 'ad_employer' => $id_vacancy, 'ad_name' => $ad_name]) |
1079 | ->withErrors($validator); | 1061 | ->withErrors($validator); |
1080 | } else { | 1062 | } else { |
1081 | Message::add_message($request, $user1, $user2, $request->all(), file_store_path: 'messages'); | 1063 | $new_message = Message::add_message($request, $user1, $user2, $request->all(), file_store_path: 'messages'); |
1082 | 1064 | ||
1083 | return redirect()->route('worker.dialog', | 1065 | return redirect()->route('worker.dialog', |
1084 | ['user1' => $user1, 'user2' => $user2, 'ad_employer' => $id_vacancy, 'ad_name' => $ad_name]); | 1066 | ['user1' => $user1, 'user2' => $user2, 'chat' => $new_message->chat_id_from]); |
1085 | 1067 | ||
1086 | } | 1068 | } |
1087 | } | 1069 | } |
1088 | 1070 | ||
1089 | // Информация о предыдущих компаниях | 1071 | // Информация о предыдущих компаниях |
1090 | public function new_prev_company(Worker $worker) { | 1072 | public function new_prev_company(Worker $worker) { |
1091 | return view('workers.prev_company_form', compact('worker')); | 1073 | return view('workers.prev_company_form', compact('worker')); |
1092 | } | 1074 | } |
1093 | 1075 | ||
1094 | // Добавление контакта компании | 1076 | // Добавление контакта компании |
1095 | public function add_prev_company(PrevCompanyRequest $request) { | 1077 | public function add_prev_company(PrevCompanyRequest $request) { |
1096 | // Возвращение параметров | 1078 | // Возвращение параметров |
1097 | $all = $request->all(); | 1079 | $all = $request->all(); |
1098 | PrevCompany::create($all); | 1080 | PrevCompany::create($all); |
1099 | 1081 | ||
1100 | return response()->json(['success' => true]); | 1082 | return response()->json(['success' => true]); |
1101 | } | 1083 | } |
1102 | 1084 | ||
1103 | // Редактирование контакта компании | 1085 | // Редактирование контакта компании |
1104 | public function edit_prev_company(PrevCompany $doc, Worker $worker) { | 1086 | public function edit_prev_company(PrevCompany $doc, Worker $worker) { |
1105 | return view('workers.prev_company_edit_form', compact('doc', 'worker')); | 1087 | return view('workers.prev_company_edit_form', compact('doc', 'worker')); |
1106 | } | 1088 | } |
1107 | 1089 | ||
1108 | //Сохранение редактирования контакта компании | 1090 | //Сохранение редактирования контакта компании |
1109 | public function update_prev_company(PrevCompany $doc, Request $request){ | 1091 | public function update_prev_company(PrevCompany $doc, Request $request){ |
1110 | $all = $request->all(); | 1092 | $all = $request->all(); |
1111 | $doc->update($all); | 1093 | $doc->update($all); |
1112 | 1094 | ||
1113 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись'); | 1095 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись'); |
1114 | } | 1096 | } |
1115 | 1097 | ||
1116 | // Удаление контакта предыдущей компании | 1098 | // Удаление контакта предыдущей компании |
1117 | public function delete_prev_company(PrevCompany $doc) { | 1099 | public function delete_prev_company(PrevCompany $doc) { |
1118 | $doc->delete(); | 1100 | $doc->delete(); |
1119 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно удалили запись!'); | 1101 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно удалили запись!'); |
1120 | } | 1102 | } |
1121 | } | 1103 | } |
1122 | 1104 |
app/Models/Chat.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 Carbon\Carbon; | 7 | use Carbon\Carbon; |
8 | 8 | ||
9 | class Chat extends Model | 9 | class Chat extends Model |
10 | { | 10 | { |
11 | use HasFactory; | 11 | use HasFactory; |
12 | 12 | ||
13 | protected $fillable = [ | 13 | protected $fillable = [ |
14 | 'user_id', | 14 | 'user_id', |
15 | 'to_user_id', | 15 | 'to_user_id', |
16 | 'is_removed', | 16 | 'is_removed', |
17 | 'is_fixed', | 17 | 'is_fixed', |
18 | 'last_message_date', | 18 | 'last_message_date', |
19 | 'last_message_id', | 19 | 'last_message_id', |
20 | 'fixed_time' | 20 | 'fixed_time', |
21 | 'is_admin_chat' | ||
21 | ]; | 22 | ]; |
22 | 23 | ||
23 | public function user() { | 24 | public function user() { |
24 | return $this->belongsTo(User::class, 'to_user_id'); | 25 | return $this->belongsTo(User::class, 'to_user_id'); |
25 | } | 26 | } |
26 | 27 | ||
27 | public function worker() { | 28 | public function worker() { |
28 | return $this->belongsTo(Worker::class, 'to_user_id', 'user_id'); | 29 | return $this->belongsTo(Worker::class, 'to_user_id', 'user_id'); |
29 | } | 30 | } |
30 | 31 | ||
31 | public function employer() { | 32 | public function employer() { |
32 | return $this->belongsTo(Employer::class, 'to_user_id', 'user_id'); | 33 | return $this->belongsTo(Employer::class, 'to_user_id', 'user_id'); |
33 | } | 34 | } |
34 | 35 | ||
35 | public function last_message() { | 36 | public function last_message() { |
36 | return $this->belongsTo(Message::class, 'last_message_id'); | 37 | return $this->belongsTo(Message::class, 'last_message_id'); |
37 | } | 38 | } |
38 | 39 | ||
39 | public function unread_messages() | 40 | public function unread_messages() |
40 | { | 41 | { |
41 | return $this->hasMany(Message::class, 'user_id', 'to_user_id'); | 42 | return $this->hasMany(Message::class, 'user_id', 'to_user_id'); |
42 | } | 43 | } |
43 | 44 | ||
44 | public static function pin_chat(int $chat_id, $fixed) | 45 | public static function pin_chat(int $chat_id, $fixed) |
45 | { | 46 | { |
46 | return self::where('id', '=', $chat_id) | 47 | return self::where('id', '=', $chat_id) |
47 | ->update([ | 48 | ->update([ |
48 | 'is_fixed' => !empty($fixed) ? 1 : 0, | 49 | 'is_fixed' => !empty($fixed) ? 1 : 0, |
49 | 'fixation_date' => !empty($fixed) ? Carbon::now() : null | 50 | 'fixation_date' => !empty($fixed) ? Carbon::now() : null |
50 | ]); | 51 | ]); |
51 | } | 52 | } |
52 | 53 | ||
53 | public static function remove_chat(int $chat_id) | 54 | public static function remove_chat(int $chat_id) |
54 | { | 55 | { |
55 | return self::where('id', '=', $chat_id) | 56 | return self::where('id', '=', $chat_id) |
56 | ->update(['is_removed' => 1]); | 57 | ->update(['is_removed' => 1]); |
57 | } | 58 | } |
58 | 59 | ||
59 | public static function get_user_chats(int $user_id){ | 60 | public static function get_user_chats(int $user_id){ |
60 | return Chat::query() | 61 | return Chat::query() |
61 | ->with('user') | 62 | ->with('user') |
62 | ->with('worker') | 63 | ->with('worker') |
63 | ->with('employer') | 64 | ->with('employer') |
64 | ->with('last_message') | 65 | ->with('last_message') |
65 | ->withCount(['unread_messages' => function ($query) use($user_id) { | 66 | ->withCount(['unread_messages' => function ($query) use($user_id) { |
66 | $query->where('to_user_id', '=', $user_id)->where('flag_new', '=', 1); | 67 | $query->where('to_user_id', '=', $user_id)->where('flag_new', '=', 1); |
67 | }]) | 68 | }]) |
68 | ->where('user_id', '=', $user_id) | 69 | ->where('user_id', '=', $user_id) |
69 | ->where('is_removed', '=', 0) | 70 | ->where('is_removed', '=', 0) |
70 | ->orderByDesc('is_fixed') | 71 | ->orderByDesc('is_fixed') |
71 | ->orderByDesc('fixation_date') | 72 | ->orderByDesc('fixation_date') |
72 | ->orderByDesc('last_message_date') | 73 | ->orderByDesc('last_message_date') |
73 | ->paginate(5) | 74 | ->paginate(5) |
74 | ; | 75 | ; |
75 | } | 76 | } |
76 | 77 | ||
78 | public static function get_user_admin_chat(int $user_id) | ||
79 | { | ||
80 | return Chat::query() | ||
81 | ->with('last_message') | ||
82 | ->withCount(['unread_messages' => function ($query) use($user_id) { | ||
83 | $query->where('to_user_id', '=', $user_id)->where('flag_new', '=', 1); | ||
84 | }]) | ||
85 | ->where('to_user_id', '=', $user_id) | ||
86 | ->where('is_admin_chat', 1) | ||
87 | ->first() | ||
88 | ; | ||
89 | } | ||
90 | |||
91 | public static function get_chat_messages(Chat $chat){ | ||
92 | if ($chat->is_admin_chat){ | ||
93 | return Message::query() | ||
94 | ->where('chat_id_to', $chat->id) | ||
95 | ->where('to_user_id', $chat->to_user_id) | ||
96 | ->orderBy('created_at') | ||
97 | ->get() | ||
98 | ; | ||
99 | } else { | ||
100 | return Message::query() | ||
101 | ->where(function ($query) use ($chat) { | ||
102 | $query->where('chat_id_from', $chat->id)->orWhere('chat_id_to', $chat->id); | ||
103 | }) | ||
104 | ->where(function($query) use ($chat) { | ||
105 | $query | ||
106 | ->where(function($query) use ($chat) { | ||
107 | $query->where('user_id', $chat->user_id)->where('to_user_id', $chat->to_user_id); | ||
108 | }) | ||
109 | ->orWhere(function($query) use ($chat) { | ||
110 | $query->where('user_id', $chat->to_user_id)->where('to_user_id', $chat->user_id); | ||
111 | }) | ||
112 | ; | ||
113 | }) | ||
114 | ->OrderBy('created_at') | ||
115 | ->get() | ||
116 | ; | ||
117 | } | ||
118 | } | ||
119 | |||
77 | } | 120 | } |
78 | 121 |
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 | 10 | ||
10 | class Message extends Model | 11 | class Message extends Model |
11 | { | 12 | { |
12 | use HasFactory; | 13 | use HasFactory; |
13 | 14 | ||
14 | protected $fillable = [ | 15 | protected $fillable = [ |
15 | 'user_id', | 16 | 'user_id', |
16 | 'to_user_id', | 17 | 'to_user_id', |
17 | 'title', | 18 | 'title', |
18 | 'text', | 19 | 'text', |
19 | 'file', | 20 | 'file', |
20 | 'flag_new', | 21 | 'flag_new', |
21 | 'ad_employer_id', | 22 | 'ad_employer_id', |
22 | 'job_title_id' | 23 | 'job_title_id', |
24 | 'chat_id_from', | ||
25 | 'chat_id_to', | ||
26 | 'reply_message_id', | ||
23 | ]; | 27 | ]; |
24 | 28 | ||
25 | 29 | ||
26 | /* | 30 | /* |
27 | * Связь таблицы Message с таблицей User (Отправитель) | 31 | * Связь таблицы Message с таблицей User (Отправитель) |
28 | */ | 32 | */ |
29 | public function user_from() { | 33 | public function user_from() { |
30 | return $this->belongsTo(User::class, 'user_id'); | 34 | return $this->belongsTo(User::class, 'user_id'); |
31 | } | 35 | } |
32 | 36 | ||
33 | /* | 37 | /* |
34 | * Связь таблицы Message с таблицей User (Получатель) | 38 | * Связь таблицы Message с таблицей User (Получатель) |
35 | */ | 39 | */ |
36 | public function user_to() { | 40 | public function user_to() { |
37 | return $this->belongsTo(User::class, 'to_user_id'); | 41 | return $this->belongsTo(User::class, 'to_user_id'); |
38 | } | 42 | } |
39 | 43 | ||
40 | // Связь модели Сообщения (Message) с моделью Вакансии (Ad_employer) | 44 | // Связь модели Сообщения (Message) с моделью Вакансии (Ad_employer) |
41 | public function vacancies() { | 45 | public function vacancies() { |
42 | return $this->belongsTo(Ad_employer::class, 'ad_employer_id', 'id'); | 46 | return $this->belongsTo(Ad_employer::class, 'ad_employer_id', 'id'); |
43 | } | 47 | } |
44 | 48 | ||
45 | public static function add_message( | 49 | public static function add_message( |
46 | Request $request, | 50 | ?Request $request, |
47 | int $user_id, | 51 | int $user_id, |
48 | int $to_user_id, | 52 | int $to_user_id, |
49 | array $message_params, | 53 | array $message_params, |
50 | string $file_store_path = '/' | 54 | string $file_store_path = '/', |
55 | bool $is_admin_chat = false | ||
51 | ) { | 56 | ) { |
52 | $message_params['user_id'] = $user_id; | 57 | $message_params['user_id'] = $user_id; |
53 | $message_params['to_user_id'] = $to_user_id; | 58 | $message_params['to_user_id'] = $to_user_id; |
54 | if ($request->has('file')) { | 59 | if ($request && $request->has('file')) { |
55 | $message_params['file'] = $request->file('file')->store($file_store_path, 'public'); | 60 | $message_params['file'] = $request->file('file')->store($file_store_path, 'public'); |
56 | } | 61 | } |
57 | 62 | ||
63 | $chat_form = Chat::firstOrCreate([ | ||
64 | 'user_id' => $is_admin_chat ? 0 : $user_id, | ||
65 | 'to_user_id' => $to_user_id, | ||
66 | 'is_removed' => 0, | ||
67 | 'is_admin_chat' => $is_admin_chat ? 1 : 0, | ||
68 | ]); | ||
69 | $message_params[$is_admin_chat ? 'chat_id_to' : 'chat_id_from'] = $chat_form->id; | ||
70 | |||
71 | if (!$is_admin_chat) { | ||
72 | $chat_to = Chat::firstOrCreate([ | ||
73 | 'user_id' => $to_user_id, | ||
74 | 'to_user_id' => $user_id, | ||
75 | 'is_removed' => 0 | ||
76 | ]); | ||
77 | $message_params['chat_id_to'] = $chat_to->id; | ||
78 | } | ||
79 | |||
58 | $new_message = Message::create($message_params); | 80 | $new_message = Message::create($message_params); |
59 | 81 | ||
60 | if (!empty($new_message->id)) { | 82 | if (!empty($new_message->id)) { |
61 | Chat::updateOrCreate( | 83 | $chat_form->update(['last_message_date' => date("Y-m-d H:i:s"), 'last_message_id' => $new_message->id]); |
62 | ['user_id' => $user_id, 'to_user_id' => $to_user_id], | 84 | |
63 | ['user_id' => $user_id, 'to_user_id' => $to_user_id, 'last_message_date' => date("Y-m-d H:i:s"), 'last_message_id' => $new_message->id] | 85 | if (!$is_admin_chat) { |
64 | ); | 86 | $chat_to->update(['last_message_date' => date("Y-m-d H:i:s"), 'last_message_id' => $new_message->id]); |
65 | 87 | } | |
66 | Chat::updateOrCreate( | ||
67 | ['user_id' => $to_user_id, 'to_user_id' => $user_id], | ||
68 | ['user_id' => $to_user_id, 'to_user_id' => $user_id, 'last_message_date' => date("Y-m-d H:i:s"), 'last_message_id' => $new_message->id] | ||
69 | ); | ||
70 | } | 88 | } |
71 | 89 | ||
72 | return $new_message->id ?? 0; | 90 | return $new_message ?? false; |
91 | } | ||
92 | |||
93 | public function getReplyMessageAttribute() | ||
94 | { | ||
95 | $reply_message = false; | ||
96 | if ($this->attributes['reply_message_id']){ | ||
97 | $reply_message = self::find($this->attributes['reply_message_id']); | ||
98 | } | ||
73 | 99 | ||
100 | return $reply_message; |
app/Models/MessagesRequests.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 | 7 | ||
8 | class MessagesRequests extends Model | 8 | class MessagesRequests extends Model |
9 | { | 9 | { |
10 | use HasFactory; | 10 | use HasFactory; |
11 | 11 | ||
12 | protected $fillable = [ | 12 | protected $fillable = [ |
13 | 'user_id', | 13 | 'user_id', |
14 | 'job_titles', | 14 | 'job_titles', |
15 | 'text', | 15 | 'text', |
16 | 'is_rejected', | 16 | 'is_rejected', |
17 | 'is_sent' | 17 | 'is_sent' |
18 | ]; | 18 | ]; |
19 | 19 | ||
20 | public function getJobsAttribute() | 20 | public function getJobsAttribute() |
21 | { | 21 | { |
22 | $job_titles_ids = json_decode($this->attributes['job_titles'], true); | 22 | $job_titles_ids = json_decode($this->attributes['job_titles'], true); |
23 | return Job_title::whereIn('id', $job_titles_ids)->get(); | 23 | return Job_title::whereIn('id', $job_titles_ids)->get(); |
24 | } | 24 | } |
25 | 25 | ||
26 | public function user() { | 26 | public function user() { |
27 | return $this->belongsTo(User::class, 'user_id'); | 27 | return $this->belongsTo(User::class, 'user_id'); |
28 | } | 28 | } |
29 | 29 | ||
30 | public static function send_message($message_request_id) | 30 | public static function send_message($message_request_id) |
31 | { | 31 | { |
32 | $message_request = MessagesRequests::find($message_request_id); | 32 | $message_request = MessagesRequests::find($message_request_id); |
33 | $job_ids = json_decode($message_request->job_titles); | ||
34 | |||
35 | if (!empty($job_ids)){ | ||
36 | $workers = Title_worker::select('worker_id') | ||
37 | ->whereIN('job_title_id', $job_ids) | ||
38 | ->groupBy('worker_id') | ||
39 | ->get() | ||
40 | ; | ||
41 | |||
42 | if ($workers->count()){ | ||
43 | $message_params = [ | ||
44 | 'text' => $message_request->text | ||
45 | ]; | ||
46 | foreach ($workers as $worker){ | ||
47 | Message::add_message(null, $message_request->user_id, $worker->worker_id, $message_params, file_store_path : '/', is_admin_chat: true); | ||
48 | } | ||
49 | } | ||
50 | } | ||
51 | |||
33 | $message_request->update(['is_sent' => now()]); | 52 | $message_request->update(['is_sent' => now()]); |
34 | 53 | ||
35 | return true; | 54 | return true; |
36 | } | 55 | } |
37 | } | 56 | } |
38 | 57 |
database/migrations/2024_08_09_071214_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->integer('chat_id_from')->nullable(true)->after('to_user_id'); | ||
18 | $table->integer('chat_id_to')->nullable(true)->after('chat_id_from'); | ||
19 | $table->integer('reply_message_id')->nullable(true); | ||
20 | }); | ||
21 | } | ||
22 | |||
23 | /** | ||
24 | * Reverse the migrations. | ||
25 | * | ||
26 | * @return void | ||
27 | */ | ||
28 | public function down() | ||
29 | { | ||
30 | Schema::table('messages', function (Blueprint $table) { | ||
31 | $table->dropColumn('chat_id_from'); | ||
32 | $table->dropColumn('chat_id_to'); | ||
33 | $table->dropColumn('reply_message_id'); | ||
34 | }); | ||
35 | } | ||
36 | }; | ||
37 |
database/migrations/2024_08_09_072423_alter_table_chats.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('chats', function (Blueprint $table) { | ||
17 | $table->dateTime('last_message_date')->nullable(true)->change(); | ||
18 | $table->integer('last_message_id')->nullable(true)->change(); | ||
19 | $table->boolean('is_admin_chat')->default(false)->after('is_fixed'); | ||
20 | }); | ||
21 | } | ||
22 | |||
23 | /** | ||
24 | * Reverse the migrations. | ||
25 | * | ||
26 | * @return void | ||
27 | */ | ||
28 | public function down() | ||
29 | { | ||
30 | Schema::table('chats', function (Blueprint $table) { | ||
31 | $table->dropColumn('is_admin_chat'); | ||
32 | }); | ||
33 | } | ||
34 | }; | ||
35 |
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-text .admin-chat-answer{ | ||
7218 | padding: 2px 5px; | ||
7219 | height: auto; | ||
7220 | float: right; | ||
7221 | margin-left: 10px; | ||
7222 | } | ||
7223 | .chatbox__item-text .reply-message{ | ||
7224 | border-left: 1px grey solid; | ||
7225 | padding-left: 11px; | ||
7226 | font-size: 12px; | ||
7227 | font-style: italic; | ||
7228 | margin-top: 10px; | ||
7229 | } | ||
7217 | .chatbox__item-time { | 7230 | .chatbox__item-time { |
7218 | width: 100%; | 7231 | width: 100%; |
7219 | padding-left: 54px; | 7232 | padding-left: 54px; |
7220 | margin-top: 10px; | 7233 | margin-top: 10px; |
7221 | color: #9c9d9d; | 7234 | color: #9c9d9d; |
7222 | } | 7235 | } |
7223 | .chatbox__item_reverse .chatbox__item-time { | 7236 | .chatbox__item_reverse .chatbox__item-time { |
7224 | text-align: right; | 7237 | text-align: right; |
7225 | } | 7238 | } |
7226 | .chatbox__bottom { | 7239 | .chatbox__bottom { |
7227 | background: #4d88d9; | 7240 | background: #4d88d9; |
7228 | padding: 10px; | 7241 | padding: 10px; |
7229 | border-radius: 8px; | 7242 | border-radius: 8px; |
7230 | display: -webkit-box; | 7243 | display: -webkit-box; |
7231 | display: -ms-flexbox; | 7244 | display: -ms-flexbox; |
7232 | display: flex; | 7245 | display: flex; |
7233 | -webkit-box-align: center; | 7246 | -webkit-box-align: center; |
7234 | -ms-flex-align: center; | 7247 | -ms-flex-align: center; |
7235 | align-items: center; | 7248 | align-items: center; |
7236 | -webkit-box-pack: justify; | 7249 | -webkit-box-pack: justify; |
7237 | -ms-flex-pack: justify; | 7250 | -ms-flex-pack: justify; |
7238 | justify-content: space-between; | 7251 | justify-content: space-between; |
7239 | } | 7252 | } |
7240 | @media (min-width: 768px) { | 7253 | @media (min-width: 768px) { |
7241 | .chatbox__bottom { | 7254 | .chatbox__bottom { |
7242 | padding: 16px 20px; | 7255 | padding: 16px 20px; |
7243 | } | 7256 | } |
7244 | } | 7257 | } |
7245 | .chatbox__bottom-file { | 7258 | .chatbox__bottom-file { |
7246 | width: 20px; | 7259 | width: 20px; |
7247 | aspect-ratio: 1/1; | 7260 | aspect-ratio: 1/1; |
7248 | display: -webkit-box; | 7261 | display: -webkit-box; |
7249 | display: -ms-flexbox; | 7262 | display: -ms-flexbox; |
7250 | display: flex; | 7263 | display: flex; |
7251 | -webkit-box-pack: center; | 7264 | -webkit-box-pack: center; |
7252 | -ms-flex-pack: center; | 7265 | -ms-flex-pack: center; |
7253 | justify-content: center; | 7266 | justify-content: center; |
7254 | -webkit-box-align: center; | 7267 | -webkit-box-align: center; |
7255 | -ms-flex-align: center; | 7268 | -ms-flex-align: center; |
7256 | align-items: center; | 7269 | align-items: center; |
7257 | background: #fff; | 7270 | background: #fff; |
7258 | color: #4d88d9; | 7271 | color: #4d88d9; |
7259 | border-radius: 8px; | 7272 | border-radius: 8px; |
7260 | } | 7273 | } |
7261 | @media (min-width: 768px) { | 7274 | @media (min-width: 768px) { |
7262 | .chatbox__bottom-file { | 7275 | .chatbox__bottom-file { |
7263 | width: 48px; | 7276 | width: 48px; |
7264 | } | 7277 | } |
7265 | } | 7278 | } |
7266 | .chatbox__bottom-file:hover { | 7279 | .chatbox__bottom-file:hover { |
7267 | color: #377d87; | 7280 | color: #377d87; |
7268 | } | 7281 | } |
7269 | .chatbox__bottom-file input { | 7282 | .chatbox__bottom-file input { |
7270 | display: none; | 7283 | display: none; |
7271 | } | 7284 | } |
7272 | .chatbox__bottom-file svg { | 7285 | .chatbox__bottom-file svg { |
7273 | width: 50%; | 7286 | width: 50%; |
7274 | aspect-ratio: 1/1; | 7287 | aspect-ratio: 1/1; |
7275 | } | 7288 | } |
7276 | @media (min-width: 768px) { | 7289 | @media (min-width: 768px) { |
7277 | .chatbox__bottom-file svg { | 7290 | .chatbox__bottom-file svg { |
7278 | width: 40%; | 7291 | width: 40%; |
7279 | } | 7292 | } |
7280 | } | 7293 | } |
7281 | .chatbox__bottom-text { | 7294 | .chatbox__bottom-text { |
7282 | width: calc(100% - 60px); | 7295 | width: calc(100% - 60px); |
7283 | height: 20px; | 7296 | height: 20px; |
7284 | border-color: #fff; | 7297 | border-color: #fff; |
7285 | } | 7298 | } |
7286 | @media (min-width: 768px) { | 7299 | @media (min-width: 768px) { |
7287 | .chatbox__bottom-text { | 7300 | .chatbox__bottom-text { |
7288 | width: calc(100% - 128px); | 7301 | width: calc(100% - 128px); |
7289 | height: 48px; | 7302 | height: 48px; |
7290 | } | 7303 | } |
7291 | } | 7304 | } |
7292 | .chatbox__bottom-text:focus { | 7305 | .chatbox__bottom-text:focus { |
7293 | border-color: #fff; | 7306 | border-color: #fff; |
7294 | } | 7307 | } |
7295 | .chatbox__bottom-send { | 7308 | .chatbox__bottom-send { |
7296 | width: 20px; | 7309 | width: 20px; |
7297 | aspect-ratio: 1/1; | 7310 | aspect-ratio: 1/1; |
7298 | display: -webkit-box; | 7311 | display: -webkit-box; |
7299 | display: -ms-flexbox; | 7312 | display: -ms-flexbox; |
7300 | display: flex; | 7313 | display: flex; |
7301 | -webkit-box-pack: center; | 7314 | -webkit-box-pack: center; |
7302 | -ms-flex-pack: center; | 7315 | -ms-flex-pack: center; |
7303 | justify-content: center; | 7316 | justify-content: center; |
7304 | -webkit-box-align: center; | 7317 | -webkit-box-align: center; |
7305 | -ms-flex-align: center; | 7318 | -ms-flex-align: center; |
7306 | align-items: center; | 7319 | align-items: center; |
7307 | padding: 0; | 7320 | padding: 0; |
7308 | background: #fff; | 7321 | background: #fff; |
7309 | border: none; | 7322 | border: none; |
7310 | color: #4d88d9; | 7323 | color: #4d88d9; |
7311 | border-radius: 999px; | 7324 | border-radius: 999px; |
7312 | } | 7325 | } |
7313 | @media (min-width: 768px) { | 7326 | @media (min-width: 768px) { |
7314 | .chatbox__bottom-send { | 7327 | .chatbox__bottom-send { |
7315 | width: 48px; | 7328 | width: 48px; |
7316 | } | 7329 | } |
7317 | } | 7330 | } |
7318 | .chatbox__bottom-send:hover { | 7331 | .chatbox__bottom-send:hover { |
7319 | color: #377d87; | 7332 | color: #377d87; |
7320 | } | 7333 | } |
7321 | .chatbox__bottom-send svg { | 7334 | .chatbox__bottom-send svg { |
7322 | width: 50%; | 7335 | width: 50%; |
7323 | aspect-ratio: 1/1; | 7336 | aspect-ratio: 1/1; |
7324 | position: relative; | 7337 | position: relative; |
7325 | left: 1px; | 7338 | left: 1px; |
7326 | } | 7339 | } |
7327 | @media (min-width: 768px) { | 7340 | @media (min-width: 768px) { |
7328 | .chatbox__bottom-send svg { | 7341 | .chatbox__bottom-send svg { |
7329 | width: 40%; | 7342 | width: 40%; |
7330 | left: 2px; | 7343 | left: 2px; |
7331 | } | 7344 | } |
7332 | } | 7345 | } |
7333 | 7346 | ||
7334 | .cvs { | 7347 | .cvs { |
7335 | display: -webkit-box; | 7348 | display: -webkit-box; |
7336 | display: -ms-flexbox; | 7349 | display: -ms-flexbox; |
7337 | display: flex; | 7350 | display: flex; |
7338 | -webkit-box-orient: vertical; | 7351 | -webkit-box-orient: vertical; |
7339 | -webkit-box-direction: reverse; | 7352 | -webkit-box-direction: reverse; |
7340 | -ms-flex-direction: column-reverse; | 7353 | -ms-flex-direction: column-reverse; |
7341 | flex-direction: column-reverse; | 7354 | flex-direction: column-reverse; |
7342 | -webkit-box-align: center; | 7355 | -webkit-box-align: center; |
7343 | -ms-flex-align: center; | 7356 | -ms-flex-align: center; |
7344 | align-items: center; | 7357 | align-items: center; |
7345 | gap: 20px; | 7358 | gap: 20px; |
7346 | } | 7359 | } |
7347 | .cvs__body { | 7360 | .cvs__body { |
7348 | display: -webkit-box; | 7361 | display: -webkit-box; |
7349 | display: -ms-flexbox; | 7362 | display: -ms-flexbox; |
7350 | display: flex; | 7363 | display: flex; |
7351 | -webkit-box-orient: vertical; | 7364 | -webkit-box-orient: vertical; |
7352 | -webkit-box-direction: normal; | 7365 | -webkit-box-direction: normal; |
7353 | -ms-flex-direction: column; | 7366 | -ms-flex-direction: column; |
7354 | flex-direction: column; | 7367 | flex-direction: column; |
7355 | gap: 20px; | 7368 | gap: 20px; |
7356 | width: 100%; | 7369 | width: 100%; |
7357 | } | 7370 | } |
7358 | @media (min-width: 768px) { | 7371 | @media (min-width: 768px) { |
7359 | .cvs__body { | 7372 | .cvs__body { |
7360 | gap: 30px; | 7373 | gap: 30px; |
7361 | } | 7374 | } |
7362 | } | 7375 | } |
7363 | .cvs__item { | 7376 | .cvs__item { |
7364 | display: none; | 7377 | display: none; |
7365 | -webkit-box-orient: vertical; | 7378 | -webkit-box-orient: vertical; |
7366 | -webkit-box-direction: normal; | 7379 | -webkit-box-direction: normal; |
7367 | -ms-flex-direction: column; | 7380 | -ms-flex-direction: column; |
7368 | flex-direction: column; | 7381 | flex-direction: column; |
7369 | gap: 10px; | 7382 | gap: 10px; |
7370 | border-radius: 8px; | 7383 | border-radius: 8px; |
7371 | border: 1px solid #e7e7e7; | 7384 | border: 1px solid #e7e7e7; |
7372 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 7385 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
7373 | padding: 10px; | 7386 | padding: 10px; |
7374 | font-size: 12px; | 7387 | font-size: 12px; |
7375 | position: relative; | 7388 | position: relative; |
7376 | } | 7389 | } |
7377 | @media (min-width: 768px) { | 7390 | @media (min-width: 768px) { |
7378 | .cvs__item { | 7391 | .cvs__item { |
7379 | gap: 0; | 7392 | gap: 0; |
7380 | padding: 20px; | 7393 | padding: 20px; |
7381 | font-size: 16px; | 7394 | font-size: 16px; |
7382 | -webkit-box-orient: horizontal; | 7395 | -webkit-box-orient: horizontal; |
7383 | -webkit-box-direction: normal; | 7396 | -webkit-box-direction: normal; |
7384 | -ms-flex-direction: row; | 7397 | -ms-flex-direction: row; |
7385 | flex-direction: row; | 7398 | flex-direction: row; |
7386 | -webkit-box-align: start; | 7399 | -webkit-box-align: start; |
7387 | -ms-flex-align: start; | 7400 | -ms-flex-align: start; |
7388 | align-items: flex-start; | 7401 | align-items: flex-start; |
7389 | -ms-flex-wrap: wrap; | 7402 | -ms-flex-wrap: wrap; |
7390 | flex-wrap: wrap; | 7403 | flex-wrap: wrap; |
7391 | } | 7404 | } |
7392 | } | 7405 | } |
7393 | .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) { | 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) { |
7394 | display: -webkit-box; | 7407 | display: -webkit-box; |
7395 | display: -ms-flexbox; | 7408 | display: -ms-flexbox; |
7396 | display: flex; | 7409 | display: flex; |
7397 | } | 7410 | } |
7398 | .cvs__item-like { | 7411 | .cvs__item-like { |
7399 | width: unset; | 7412 | width: unset; |
7400 | padding: 5px 10px; | 7413 | padding: 5px 10px; |
7401 | margin-right: 10px; | 7414 | margin-right: 10px; |
7402 | } | 7415 | } |
7403 | .cvs__item .cvs__item-buttons .chat{ | 7416 | .cvs__item .cvs__item-buttons .chat{ |
7404 | width: unset; | 7417 | width: unset; |
7405 | padding: 5px 10px; | 7418 | padding: 5px 10px; |
7406 | margin-right: 10px; | 7419 | margin-right: 10px; |
7407 | } | 7420 | } |
7408 | .cvs__item-like.active{ | 7421 | .cvs__item-like.active{ |
7409 | background: #ffffff; | 7422 | background: #ffffff; |
7410 | color: #eb5757; | 7423 | color: #eb5757; |
7411 | } | 7424 | } |
7412 | .cvs__item-like .in-favorites{ | 7425 | .cvs__item-like .in-favorites{ |
7413 | display: none; | 7426 | display: none; |
7414 | } | 7427 | } |
7415 | .cvs__item-like.active .in-favorites{ | 7428 | .cvs__item-like.active .in-favorites{ |
7416 | display: block; | 7429 | display: block; |
7417 | color: #eb5757; | 7430 | color: #eb5757; |
7418 | } | 7431 | } |
7419 | .cvs__item-like.active .to-favorites{ | 7432 | .cvs__item-like.active .to-favorites{ |
7420 | display: none; | 7433 | display: none; |
7421 | } | 7434 | } |
7422 | .cvs__item .cvs__item-header{ | 7435 | .cvs__item .cvs__item-header{ |
7423 | display: flex; | 7436 | display: flex; |
7424 | width: 100%; | 7437 | width: 100%; |
7425 | justify-content: space-between; | 7438 | justify-content: space-between; |
7426 | } | 7439 | } |
7427 | .cvs__item-photo { | 7440 | .cvs__item-photo { |
7428 | position: relative; | 7441 | position: relative; |
7429 | aspect-ratio: 1/1; | 7442 | aspect-ratio: 1/1; |
7430 | overflow: hidden; | 7443 | overflow: hidden; |
7431 | background: #9c9d9d; | 7444 | background: #9c9d9d; |
7432 | color: #fff; | 7445 | color: #fff; |
7433 | width: 36px; | 7446 | width: 36px; |
7434 | border-radius: 6px; | 7447 | border-radius: 6px; |
7435 | display: -webkit-box; | 7448 | display: -webkit-box; |
7436 | display: -ms-flexbox; | 7449 | display: -ms-flexbox; |
7437 | display: flex; | 7450 | display: flex; |
7438 | -webkit-box-pack: center; | 7451 | -webkit-box-pack: center; |
7439 | -ms-flex-pack: center; | 7452 | -ms-flex-pack: center; |
7440 | justify-content: center; | 7453 | justify-content: center; |
7441 | -webkit-box-align: center; | 7454 | -webkit-box-align: center; |
7442 | -ms-flex-align: center; | 7455 | -ms-flex-align: center; |
7443 | align-items: center; | 7456 | align-items: center; |
7444 | } | 7457 | } |
7445 | @media (min-width: 768px) { | 7458 | @media (min-width: 768px) { |
7446 | .cvs__item-photo { | 7459 | .cvs__item-photo { |
7447 | width: 68px; | 7460 | width: 68px; |
7448 | } | 7461 | } |
7449 | } | 7462 | } |
7450 | .cvs__item-photo svg { | 7463 | .cvs__item-photo svg { |
7451 | width: 50%; | 7464 | width: 50%; |
7452 | position: relative; | 7465 | position: relative; |
7453 | z-index: 1; | 7466 | z-index: 1; |
7454 | } | 7467 | } |
7455 | .cvs__item-photo img { | 7468 | .cvs__item-photo img { |
7456 | position: absolute; | 7469 | position: absolute; |
7457 | z-index: 2; | 7470 | z-index: 2; |
7458 | top: 0; | 7471 | top: 0; |
7459 | left: 0; | 7472 | left: 0; |
7460 | width: 100%; | 7473 | width: 100%; |
7461 | height: 100%; | 7474 | height: 100%; |
7462 | -o-object-fit: cover; | 7475 | -o-object-fit: cover; |
7463 | object-fit: cover; | 7476 | object-fit: cover; |
7464 | } | 7477 | } |
7465 | .cvs__item-text { | 7478 | .cvs__item-text { |
7466 | display: -webkit-box; | 7479 | display: -webkit-box; |
7467 | display: -ms-flexbox; | 7480 | display: -ms-flexbox; |
7468 | display: flex; | 7481 | display: flex; |
7469 | -webkit-box-orient: vertical; | 7482 | -webkit-box-orient: vertical; |
7470 | -webkit-box-direction: normal; | 7483 | -webkit-box-direction: normal; |
7471 | -ms-flex-direction: column; | 7484 | -ms-flex-direction: column; |
7472 | flex-direction: column; | 7485 | flex-direction: column; |
7473 | gap: 10px; | 7486 | gap: 10px; |
7474 | width: 100%; | 7487 | width: 100%; |
7475 | margin-top: 30px; | 7488 | margin-top: 30px; |
7476 | } | 7489 | } |
7477 | .cvs__item .cvs__item-buttons{ | 7490 | .cvs__item .cvs__item-buttons{ |
7478 | display: flex; | 7491 | display: flex; |
7479 | align-items: start; | 7492 | align-items: start; |
7480 | } | 7493 | } |
7481 | .cvs.active .cvs__item { | 7494 | .cvs.active .cvs__item { |
7482 | display: -webkit-box; | 7495 | display: -webkit-box; |
7483 | display: -ms-flexbox; | 7496 | display: -ms-flexbox; |
7484 | display: flex; | 7497 | display: flex; |
7485 | } | 7498 | } |
7486 | .cvs__item-text .cvs__item-text-row{ | 7499 | .cvs__item-text .cvs__item-text-row{ |
7487 | display: flex; | 7500 | display: flex; |
7488 | justify-content: space-between; | 7501 | justify-content: space-between; |
7489 | width: 100%; | 7502 | width: 100%; |
7490 | } | 7503 | } |
7491 | .cvs__item-text .cvs__item-text-row > div{ | 7504 | .cvs__item-text .cvs__item-text-row > div{ |
7492 | width: 50%; | 7505 | width: 50%; |
7493 | } | 7506 | } |
7494 | .cvs__item-text .cvs__item-text-row b{ | 7507 | .cvs__item-text .cvs__item-text-row b{ |
7495 | color: #377d87; | 7508 | color: #377d87; |
7496 | font-size: 18px; | 7509 | font-size: 18px; |
7497 | } | 7510 | } |
7498 | .cvs__item-text .cvs__item-text-status { | 7511 | .cvs__item-text .cvs__item-text-status { |
7499 | width: fit-content; | 7512 | width: fit-content; |
7500 | background-color: #e6e6e6; | 7513 | background-color: #e6e6e6; |
7501 | font-weight: bold; | 7514 | font-weight: bold; |
7502 | padding: 5px 10px; | 7515 | padding: 5px 10px; |
7503 | border-radius: 8px; | 7516 | border-radius: 8px; |
7504 | margin-right: 30px; | 7517 | margin-right: 30px; |
7505 | } | 7518 | } |
7506 | .cvs__item-text .cvs__item-text-status.looking-for-job { | 7519 | .cvs__item-text .cvs__item-text-status.looking-for-job { |
7507 | background-color: #eb5757; | 7520 | background-color: #eb5757; |
7508 | color: #fff; | 7521 | color: #fff; |
7509 | } | 7522 | } |
7510 | .cvs__item-text .cvs__item-text-updated-at{ | 7523 | .cvs__item-text .cvs__item-text-updated-at{ |
7511 | padding: 5px 10px; | 7524 | padding: 5px 10px; |
7512 | border-radius: 8px; | 7525 | border-radius: 8px; |
7513 | border: 1px #e6e6e6 solid; | 7526 | border: 1px #e6e6e6 solid; |
7514 | } | 7527 | } |
7515 | .faqs { | 7528 | .faqs { |
7516 | display: -webkit-box; | 7529 | display: -webkit-box; |
7517 | display: -ms-flexbox; | 7530 | display: -ms-flexbox; |
7518 | display: flex; | 7531 | display: flex; |
7519 | -webkit-box-orient: vertical; | 7532 | -webkit-box-orient: vertical; |
7520 | -webkit-box-direction: reverse; | 7533 | -webkit-box-direction: reverse; |
7521 | -ms-flex-direction: column-reverse; | 7534 | -ms-flex-direction: column-reverse; |
7522 | flex-direction: column-reverse; | 7535 | flex-direction: column-reverse; |
7523 | -webkit-box-align: center; | 7536 | -webkit-box-align: center; |
7524 | -ms-flex-align: center; | 7537 | -ms-flex-align: center; |
7525 | align-items: center; | 7538 | align-items: center; |
7526 | gap: 20px; | 7539 | gap: 20px; |
7527 | } | 7540 | } |
7528 | .faqs__body { | 7541 | .faqs__body { |
7529 | display: -webkit-box; | 7542 | display: -webkit-box; |
7530 | display: -ms-flexbox; | 7543 | display: -ms-flexbox; |
7531 | display: flex; | 7544 | display: flex; |
7532 | -webkit-box-orient: vertical; | 7545 | -webkit-box-orient: vertical; |
7533 | -webkit-box-direction: normal; | 7546 | -webkit-box-direction: normal; |
7534 | -ms-flex-direction: column; | 7547 | -ms-flex-direction: column; |
7535 | flex-direction: column; | 7548 | flex-direction: column; |
7536 | gap: 20px; | 7549 | gap: 20px; |
7537 | width: 100%; | 7550 | width: 100%; |
7538 | } | 7551 | } |
7539 | .faqs__item { | 7552 | .faqs__item { |
7540 | display: none; | 7553 | display: none; |
7541 | -webkit-box-orient: vertical; | 7554 | -webkit-box-orient: vertical; |
7542 | -webkit-box-direction: normal; | 7555 | -webkit-box-direction: normal; |
7543 | -ms-flex-direction: column; | 7556 | -ms-flex-direction: column; |
7544 | flex-direction: column; | 7557 | flex-direction: column; |
7545 | border-radius: 8px; | 7558 | border-radius: 8px; |
7546 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 7559 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
7547 | 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); |
7548 | background: #fff; | 7561 | background: #fff; |
7549 | padding: 10px; | 7562 | padding: 10px; |
7550 | font-size: 12px; | 7563 | font-size: 12px; |
7551 | } | 7564 | } |
7552 | @media (min-width: 768px) { | 7565 | @media (min-width: 768px) { |
7553 | .faqs__item { | 7566 | .faqs__item { |
7554 | padding: 20px; | 7567 | padding: 20px; |
7555 | font-size: 16px; | 7568 | font-size: 16px; |
7556 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 7569 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
7557 | 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); |
7558 | } | 7571 | } |
7559 | } | 7572 | } |
7560 | .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) { | 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) { |
7561 | display: -webkit-box; | 7574 | display: -webkit-box; |
7562 | display: -ms-flexbox; | 7575 | display: -ms-flexbox; |
7563 | display: flex; | 7576 | display: flex; |
7564 | } | 7577 | } |
7565 | .faqs__item-button { | 7578 | .faqs__item-button { |
7566 | background: none; | 7579 | background: none; |
7567 | padding: 0; | 7580 | padding: 0; |
7568 | border: none; | 7581 | border: none; |
7569 | display: -webkit-box; | 7582 | display: -webkit-box; |
7570 | display: -ms-flexbox; | 7583 | display: -ms-flexbox; |
7571 | display: flex; | 7584 | display: flex; |
7572 | -webkit-box-align: center; | 7585 | -webkit-box-align: center; |
7573 | -ms-flex-align: center; | 7586 | -ms-flex-align: center; |
7574 | align-items: center; | 7587 | align-items: center; |
7575 | color: #000; | 7588 | color: #000; |
7576 | text-align: left; | 7589 | text-align: left; |
7577 | font-size: 14px; | 7590 | font-size: 14px; |
7578 | font-weight: 700; | 7591 | font-weight: 700; |
7579 | } | 7592 | } |
7580 | @media (min-width: 768px) { | 7593 | @media (min-width: 768px) { |
7581 | .faqs__item-button { | 7594 | .faqs__item-button { |
7582 | font-size: 20px; | 7595 | font-size: 20px; |
7583 | } | 7596 | } |
7584 | } | 7597 | } |
7585 | .faqs__item-button span { | 7598 | .faqs__item-button span { |
7586 | width: calc(100% - 16px); | 7599 | width: calc(100% - 16px); |
7587 | padding-right: 16px; | 7600 | padding-right: 16px; |
7588 | } | 7601 | } |
7589 | .faqs__item-button i { | 7602 | .faqs__item-button i { |
7590 | display: -webkit-box; | 7603 | display: -webkit-box; |
7591 | display: -ms-flexbox; | 7604 | display: -ms-flexbox; |
7592 | display: flex; | 7605 | display: flex; |
7593 | -webkit-box-pack: center; | 7606 | -webkit-box-pack: center; |
7594 | -ms-flex-pack: center; | 7607 | -ms-flex-pack: center; |
7595 | justify-content: center; | 7608 | justify-content: center; |
7596 | -webkit-box-align: center; | 7609 | -webkit-box-align: center; |
7597 | -ms-flex-align: center; | 7610 | -ms-flex-align: center; |
7598 | align-items: center; | 7611 | align-items: center; |
7599 | width: 16px; | 7612 | width: 16px; |
7600 | aspect-ratio: 1/1; | 7613 | aspect-ratio: 1/1; |
7601 | color: #377d87; | 7614 | color: #377d87; |
7602 | -webkit-transition: 0.3s; | 7615 | -webkit-transition: 0.3s; |
7603 | transition: 0.3s; | 7616 | transition: 0.3s; |
7604 | } | 7617 | } |
7605 | .faqs__item-button i svg { | 7618 | .faqs__item-button i svg { |
7606 | width: 16px; | 7619 | width: 16px; |
7607 | aspect-ratio: 1/1; | 7620 | aspect-ratio: 1/1; |
7608 | -webkit-transform: rotate(90deg); | 7621 | -webkit-transform: rotate(90deg); |
7609 | -ms-transform: rotate(90deg); | 7622 | -ms-transform: rotate(90deg); |
7610 | transform: rotate(90deg); | 7623 | transform: rotate(90deg); |
7611 | } | 7624 | } |
7612 | .faqs__item-button.active i { | 7625 | .faqs__item-button.active i { |
7613 | -webkit-transform: rotate(180deg); | 7626 | -webkit-transform: rotate(180deg); |
7614 | -ms-transform: rotate(180deg); | 7627 | -ms-transform: rotate(180deg); |
7615 | transform: rotate(180deg); | 7628 | transform: rotate(180deg); |
7616 | } | 7629 | } |
7617 | .faqs__item-body { | 7630 | .faqs__item-body { |
7618 | display: -webkit-box; | 7631 | display: -webkit-box; |
7619 | display: -ms-flexbox; | 7632 | display: -ms-flexbox; |
7620 | display: flex; | 7633 | display: flex; |
7621 | -webkit-box-orient: vertical; | 7634 | -webkit-box-orient: vertical; |
7622 | -webkit-box-direction: normal; | 7635 | -webkit-box-direction: normal; |
7623 | -ms-flex-direction: column; | 7636 | -ms-flex-direction: column; |
7624 | flex-direction: column; | 7637 | flex-direction: column; |
7625 | gap: 10px; | 7638 | gap: 10px; |
7626 | opacity: 0; | 7639 | opacity: 0; |
7627 | height: 0; | 7640 | height: 0; |
7628 | overflow: hidden; | 7641 | overflow: hidden; |
7629 | font-size: 12px; | 7642 | font-size: 12px; |
7630 | line-height: 1.4; | 7643 | line-height: 1.4; |
7631 | } | 7644 | } |
7632 | @media (min-width: 768px) { | 7645 | @media (min-width: 768px) { |
7633 | .faqs__item-body { | 7646 | .faqs__item-body { |
7634 | font-size: 16px; | 7647 | font-size: 16px; |
7635 | gap: 20px; | 7648 | gap: 20px; |
7636 | } | 7649 | } |
7637 | } | 7650 | } |
7638 | .faqs__item-body p { | 7651 | .faqs__item-body p { |
7639 | margin: 0; | 7652 | margin: 0; |
7640 | } | 7653 | } |
7641 | .active + .faqs__item-body { | 7654 | .active + .faqs__item-body { |
7642 | opacity: 1; | 7655 | opacity: 1; |
7643 | height: auto; | 7656 | height: auto; |
7644 | -webkit-transition: 0.3s; | 7657 | -webkit-transition: 0.3s; |
7645 | transition: 0.3s; | 7658 | transition: 0.3s; |
7646 | padding-top: 10px; | 7659 | padding-top: 10px; |
7647 | } | 7660 | } |
7648 | @media (min-width: 768px) { | 7661 | @media (min-width: 768px) { |
7649 | .active + .faqs__item-body { | 7662 | .active + .faqs__item-body { |
7650 | padding-top: 20px; | 7663 | padding-top: 20px; |
7651 | } | 7664 | } |
7652 | } | 7665 | } |
7653 | .faqs.active .faqs__item { | 7666 | .faqs.active .faqs__item { |
7654 | display: -webkit-box; | 7667 | display: -webkit-box; |
7655 | display: -ms-flexbox; | 7668 | display: -ms-flexbox; |
7656 | display: flex; | 7669 | display: flex; |
7657 | } | 7670 | } |
7658 | 7671 | ||
7659 | .cabinet { | 7672 | .cabinet { |
7660 | padding: 20px 0; | 7673 | padding: 20px 0; |
7661 | padding-bottom: 40px; | 7674 | padding-bottom: 40px; |
7662 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 7675 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
7663 | } | 7676 | } |
7664 | @media (min-width: 992px) { | 7677 | @media (min-width: 992px) { |
7665 | .cabinet { | 7678 | .cabinet { |
7666 | padding: 30px 0; | 7679 | padding: 30px 0; |
7667 | padding-bottom: 60px; | 7680 | padding-bottom: 60px; |
7668 | } | 7681 | } |
7669 | } | 7682 | } |
7670 | .cabinet__breadcrumbs { | 7683 | .cabinet__breadcrumbs { |
7671 | margin-bottom: 50px; | 7684 | margin-bottom: 50px; |
7672 | } | 7685 | } |
7673 | .cabinet__wrapper { | 7686 | .cabinet__wrapper { |
7674 | display: -webkit-box; | 7687 | display: -webkit-box; |
7675 | display: -ms-flexbox; | 7688 | display: -ms-flexbox; |
7676 | display: flex; | 7689 | display: flex; |
7677 | -webkit-box-orient: vertical; | 7690 | -webkit-box-orient: vertical; |
7678 | -webkit-box-direction: normal; | 7691 | -webkit-box-direction: normal; |
7679 | -ms-flex-direction: column; | 7692 | -ms-flex-direction: column; |
7680 | flex-direction: column; | 7693 | flex-direction: column; |
7681 | } | 7694 | } |
7682 | @media (min-width: 992px) { | 7695 | @media (min-width: 992px) { |
7683 | .cabinet__wrapper { | 7696 | .cabinet__wrapper { |
7684 | -webkit-box-orient: horizontal; | 7697 | -webkit-box-orient: horizontal; |
7685 | -webkit-box-direction: normal; | 7698 | -webkit-box-direction: normal; |
7686 | -ms-flex-direction: row; | 7699 | -ms-flex-direction: row; |
7687 | flex-direction: row; | 7700 | flex-direction: row; |
7688 | -webkit-box-align: start; | 7701 | -webkit-box-align: start; |
7689 | -ms-flex-align: start; | 7702 | -ms-flex-align: start; |
7690 | align-items: flex-start; | 7703 | align-items: flex-start; |
7691 | -webkit-box-pack: justify; | 7704 | -webkit-box-pack: justify; |
7692 | -ms-flex-pack: justify; | 7705 | -ms-flex-pack: justify; |
7693 | justify-content: space-between; | 7706 | justify-content: space-between; |
7694 | } | 7707 | } |
7695 | } | 7708 | } |
7696 | .cabinet__side { | 7709 | .cabinet__side { |
7697 | border-radius: 8px; | 7710 | border-radius: 8px; |
7698 | background: #fff; | 7711 | background: #fff; |
7699 | padding: 20px 10px; | 7712 | padding: 20px 10px; |
7700 | display: -webkit-box; | 7713 | display: -webkit-box; |
7701 | display: -ms-flexbox; | 7714 | display: -ms-flexbox; |
7702 | display: flex; | 7715 | display: flex; |
7703 | -webkit-box-orient: vertical; | 7716 | -webkit-box-orient: vertical; |
7704 | -webkit-box-direction: normal; | 7717 | -webkit-box-direction: normal; |
7705 | -ms-flex-direction: column; | 7718 | -ms-flex-direction: column; |
7706 | flex-direction: column; | 7719 | flex-direction: column; |
7707 | gap: 30px; | 7720 | gap: 30px; |
7708 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 7721 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
7709 | 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); |
7710 | } | 7723 | } |
7711 | @media (min-width: 768px) { | 7724 | @media (min-width: 768px) { |
7712 | .cabinet__side { | 7725 | .cabinet__side { |
7713 | padding: 30px 20px; | 7726 | padding: 30px 20px; |
7714 | margin-bottom: 50px; | 7727 | margin-bottom: 50px; |
7715 | } | 7728 | } |
7716 | } | 7729 | } |
7717 | @media (min-width: 992px) { | 7730 | @media (min-width: 992px) { |
7718 | .cabinet__side { | 7731 | .cabinet__side { |
7719 | width: 340px; | 7732 | width: 340px; |
7720 | margin: 0; | 7733 | margin: 0; |
7721 | position: sticky; | 7734 | position: sticky; |
7722 | top: 6px; | 7735 | top: 6px; |
7723 | } | 7736 | } |
7724 | } | 7737 | } |
7725 | @media (min-width: 1280px) { | 7738 | @media (min-width: 1280px) { |
7726 | .cabinet__side { | 7739 | .cabinet__side { |
7727 | width: 400px; | 7740 | width: 400px; |
7728 | } | 7741 | } |
7729 | } | 7742 | } |
7730 | .cabinet__side-item { | 7743 | .cabinet__side-item { |
7731 | display: -webkit-box; | 7744 | display: -webkit-box; |
7732 | display: -ms-flexbox; | 7745 | display: -ms-flexbox; |
7733 | display: flex; | 7746 | display: flex; |
7734 | -webkit-box-orient: vertical; | 7747 | -webkit-box-orient: vertical; |
7735 | -webkit-box-direction: normal; | 7748 | -webkit-box-direction: normal; |
7736 | -ms-flex-direction: column; | 7749 | -ms-flex-direction: column; |
7737 | flex-direction: column; | 7750 | flex-direction: column; |
7738 | gap: 20px; | 7751 | gap: 20px; |
7739 | } | 7752 | } |
7740 | .cabinet__side-toper { | 7753 | .cabinet__side-toper { |
7741 | display: -webkit-box; | 7754 | display: -webkit-box; |
7742 | display: -ms-flexbox; | 7755 | display: -ms-flexbox; |
7743 | display: flex; | 7756 | display: flex; |
7744 | -webkit-box-align: center; | 7757 | -webkit-box-align: center; |
7745 | -ms-flex-align: center; | 7758 | -ms-flex-align: center; |
7746 | align-items: center; | 7759 | align-items: center; |
7747 | } | 7760 | } |
7748 | .cabinet__side-toper-pic { | 7761 | .cabinet__side-toper-pic { |
7749 | width: 70px; | 7762 | width: 70px; |
7750 | aspect-ratio: 1/1; | 7763 | aspect-ratio: 1/1; |
7751 | overflow: hidden; | 7764 | overflow: hidden; |
7752 | border-radius: 8px; | 7765 | border-radius: 8px; |
7753 | color: #fff; | 7766 | color: #fff; |
7754 | background: #9c9d9d; | 7767 | background: #9c9d9d; |
7755 | display: -webkit-box; | 7768 | display: -webkit-box; |
7756 | display: -ms-flexbox; | 7769 | display: -ms-flexbox; |
7757 | display: flex; | 7770 | display: flex; |
7758 | -webkit-box-align: center; | 7771 | -webkit-box-align: center; |
7759 | -ms-flex-align: center; | 7772 | -ms-flex-align: center; |
7760 | align-items: center; | 7773 | align-items: center; |
7761 | -webkit-box-pack: center; | 7774 | -webkit-box-pack: center; |
7762 | -ms-flex-pack: center; | 7775 | -ms-flex-pack: center; |
7763 | justify-content: center; | 7776 | justify-content: center; |
7764 | position: relative; | 7777 | position: relative; |
7765 | } | 7778 | } |
7766 | .cabinet__side-toper-pic img { | 7779 | .cabinet__side-toper-pic img { |
7767 | width: 100%; | 7780 | width: 100%; |
7768 | height: 100%; | 7781 | height: 100%; |
7769 | -o-object-fit: cover; | 7782 | -o-object-fit: cover; |
7770 | object-fit: cover; | 7783 | object-fit: cover; |
7771 | position: absolute; | 7784 | position: absolute; |
7772 | z-index: 2; | 7785 | z-index: 2; |
7773 | top: 0; | 7786 | top: 0; |
7774 | left: 0; | 7787 | left: 0; |
7775 | aspect-ratio: 1/1; | 7788 | aspect-ratio: 1/1; |
7776 | -o-object-fit: contain; | 7789 | -o-object-fit: contain; |
7777 | object-fit: contain; | 7790 | object-fit: contain; |
7778 | } | 7791 | } |
7779 | .cabinet__side-toper-pic svg { | 7792 | .cabinet__side-toper-pic svg { |
7780 | width: 50%; | 7793 | width: 50%; |
7781 | aspect-ratio: 1/1; | 7794 | aspect-ratio: 1/1; |
7782 | } | 7795 | } |
7783 | .cabinet__side-toper b { | 7796 | .cabinet__side-toper b { |
7784 | width: calc(100% - 70px); | 7797 | width: calc(100% - 70px); |
7785 | font-size: 14px; | 7798 | font-size: 14px; |
7786 | font-weight: 700; | 7799 | font-weight: 700; |
7787 | padding-left: 16px; | 7800 | padding-left: 16px; |
7788 | } | 7801 | } |
7789 | @media (min-width: 768px) { | 7802 | @media (min-width: 768px) { |
7790 | .cabinet__side-toper b { | 7803 | .cabinet__side-toper b { |
7791 | font-size: 20px; | 7804 | font-size: 20px; |
7792 | } | 7805 | } |
7793 | } | 7806 | } |
7794 | .cabinet__menu { | 7807 | .cabinet__menu { |
7795 | display: -webkit-box; | 7808 | display: -webkit-box; |
7796 | display: -ms-flexbox; | 7809 | display: -ms-flexbox; |
7797 | display: flex; | 7810 | display: flex; |
7798 | -webkit-box-orient: vertical; | 7811 | -webkit-box-orient: vertical; |
7799 | -webkit-box-direction: normal; | 7812 | -webkit-box-direction: normal; |
7800 | -ms-flex-direction: column; | 7813 | -ms-flex-direction: column; |
7801 | flex-direction: column; | 7814 | flex-direction: column; |
7802 | } | 7815 | } |
7803 | .cabinet__menu-toper { | 7816 | .cabinet__menu-toper { |
7804 | display: -webkit-box; | 7817 | display: -webkit-box; |
7805 | display: -ms-flexbox; | 7818 | display: -ms-flexbox; |
7806 | display: flex; | 7819 | display: flex; |
7807 | -webkit-box-align: center; | 7820 | -webkit-box-align: center; |
7808 | -ms-flex-align: center; | 7821 | -ms-flex-align: center; |
7809 | align-items: center; | 7822 | align-items: center; |
7810 | -webkit-box-pack: justify; | 7823 | -webkit-box-pack: justify; |
7811 | -ms-flex-pack: justify; | 7824 | -ms-flex-pack: justify; |
7812 | justify-content: space-between; | 7825 | justify-content: space-between; |
7813 | padding: 0 16px; | 7826 | padding: 0 16px; |
7814 | padding-right: 12px; | 7827 | padding-right: 12px; |
7815 | border: none; | 7828 | border: none; |
7816 | border-radius: 8px; | 7829 | border-radius: 8px; |
7817 | background: #377d87; | 7830 | background: #377d87; |
7818 | color: #fff; | 7831 | color: #fff; |
7819 | } | 7832 | } |
7820 | @media (min-width: 768px) { | 7833 | @media (min-width: 768px) { |
7821 | .cabinet__menu-toper { | 7834 | .cabinet__menu-toper { |
7822 | padding: 0 20px; | 7835 | padding: 0 20px; |
7823 | } | 7836 | } |
7824 | } | 7837 | } |
7825 | @media (min-width: 992px) { | 7838 | @media (min-width: 992px) { |
7826 | .cabinet__menu-toper { | 7839 | .cabinet__menu-toper { |
7827 | display: none; | 7840 | display: none; |
7828 | } | 7841 | } |
7829 | } | 7842 | } |
7830 | .cabinet__menu-toper-text { | 7843 | .cabinet__menu-toper-text { |
7831 | width: calc(100% - 16px); | 7844 | width: calc(100% - 16px); |
7832 | display: -webkit-box; | 7845 | display: -webkit-box; |
7833 | display: -ms-flexbox; | 7846 | display: -ms-flexbox; |
7834 | display: flex; | 7847 | display: flex; |
7835 | -webkit-box-align: center; | 7848 | -webkit-box-align: center; |
7836 | -ms-flex-align: center; | 7849 | -ms-flex-align: center; |
7837 | align-items: center; | 7850 | align-items: center; |
7838 | } | 7851 | } |
7839 | @media (min-width: 768px) { | 7852 | @media (min-width: 768px) { |
7840 | .cabinet__menu-toper-text { | 7853 | .cabinet__menu-toper-text { |
7841 | width: calc(100% - 20px); | 7854 | width: calc(100% - 20px); |
7842 | } | 7855 | } |
7843 | } | 7856 | } |
7844 | .cabinet__menu-toper-text i { | 7857 | .cabinet__menu-toper-text i { |
7845 | width: 16px; | 7858 | width: 16px; |
7846 | height: 16px; | 7859 | height: 16px; |
7847 | display: -webkit-box; | 7860 | display: -webkit-box; |
7848 | display: -ms-flexbox; | 7861 | display: -ms-flexbox; |
7849 | display: flex; | 7862 | display: flex; |
7850 | -webkit-box-align: center; | 7863 | -webkit-box-align: center; |
7851 | -ms-flex-align: center; | 7864 | -ms-flex-align: center; |
7852 | align-items: center; | 7865 | align-items: center; |
7853 | -webkit-box-pack: center; | 7866 | -webkit-box-pack: center; |
7854 | -ms-flex-pack: center; | 7867 | -ms-flex-pack: center; |
7855 | justify-content: center; | 7868 | justify-content: center; |
7856 | } | 7869 | } |
7857 | @media (min-width: 768px) { | 7870 | @media (min-width: 768px) { |
7858 | .cabinet__menu-toper-text i { | 7871 | .cabinet__menu-toper-text i { |
7859 | width: 22px; | 7872 | width: 22px; |
7860 | height: 22px; | 7873 | height: 22px; |
7861 | } | 7874 | } |
7862 | } | 7875 | } |
7863 | .cabinet__menu-toper-text svg { | 7876 | .cabinet__menu-toper-text svg { |
7864 | width: 16px; | 7877 | width: 16px; |
7865 | height: 16px; | 7878 | height: 16px; |
7866 | } | 7879 | } |
7867 | @media (min-width: 768px) { | 7880 | @media (min-width: 768px) { |
7868 | .cabinet__menu-toper-text svg { | 7881 | .cabinet__menu-toper-text svg { |
7869 | width: 22px; | 7882 | width: 22px; |
7870 | height: 22px; | 7883 | height: 22px; |
7871 | } | 7884 | } |
7872 | } | 7885 | } |
7873 | .cabinet__menu-toper-text span { | 7886 | .cabinet__menu-toper-text span { |
7874 | display: -webkit-box; | 7887 | display: -webkit-box; |
7875 | display: -ms-flexbox; | 7888 | display: -ms-flexbox; |
7876 | display: flex; | 7889 | display: flex; |
7877 | -webkit-box-align: center; | 7890 | -webkit-box-align: center; |
7878 | -ms-flex-align: center; | 7891 | -ms-flex-align: center; |
7879 | align-items: center; | 7892 | align-items: center; |
7880 | padding: 0 10px; | 7893 | padding: 0 10px; |
7881 | min-height: 30px; | 7894 | min-height: 30px; |
7882 | font-size: 12px; | 7895 | font-size: 12px; |
7883 | width: calc(100% - 16px); | 7896 | width: calc(100% - 16px); |
7884 | } | 7897 | } |
7885 | @media (min-width: 768px) { | 7898 | @media (min-width: 768px) { |
7886 | .cabinet__menu-toper-text span { | 7899 | .cabinet__menu-toper-text span { |
7887 | width: calc(100% - 22px); | 7900 | width: calc(100% - 22px); |
7888 | font-size: 20px; | 7901 | font-size: 20px; |
7889 | min-height: 52px; | 7902 | min-height: 52px; |
7890 | padding: 0 16px; | 7903 | padding: 0 16px; |
7891 | } | 7904 | } |
7892 | } | 7905 | } |
7893 | .cabinet__menu-toper-arrow { | 7906 | .cabinet__menu-toper-arrow { |
7894 | width: 16px; | 7907 | width: 16px; |
7895 | height: 16px; | 7908 | height: 16px; |
7896 | display: -webkit-box; | 7909 | display: -webkit-box; |
7897 | display: -ms-flexbox; | 7910 | display: -ms-flexbox; |
7898 | display: flex; | 7911 | display: flex; |
7899 | -webkit-box-pack: center; | 7912 | -webkit-box-pack: center; |
7900 | -ms-flex-pack: center; | 7913 | -ms-flex-pack: center; |
7901 | justify-content: center; | 7914 | justify-content: center; |
7902 | -webkit-box-align: center; | 7915 | -webkit-box-align: center; |
7903 | -ms-flex-align: center; | 7916 | -ms-flex-align: center; |
7904 | align-items: center; | 7917 | align-items: center; |
7905 | -webkit-transition: 0.3s; | 7918 | -webkit-transition: 0.3s; |
7906 | transition: 0.3s; | 7919 | transition: 0.3s; |
7907 | } | 7920 | } |
7908 | @media (min-width: 768px) { | 7921 | @media (min-width: 768px) { |
7909 | .cabinet__menu-toper-arrow { | 7922 | .cabinet__menu-toper-arrow { |
7910 | width: 20px; | 7923 | width: 20px; |
7911 | height: 20px; | 7924 | height: 20px; |
7912 | } | 7925 | } |
7913 | } | 7926 | } |
7914 | .cabinet__menu-toper-arrow svg { | 7927 | .cabinet__menu-toper-arrow svg { |
7915 | width: 12px; | 7928 | width: 12px; |
7916 | height: 12px; | 7929 | height: 12px; |
7917 | -webkit-transform: rotate(90deg); | 7930 | -webkit-transform: rotate(90deg); |
7918 | -ms-transform: rotate(90deg); | 7931 | -ms-transform: rotate(90deg); |
7919 | transform: rotate(90deg); | 7932 | transform: rotate(90deg); |
7920 | } | 7933 | } |
7921 | @media (min-width: 768px) { | 7934 | @media (min-width: 768px) { |
7922 | .cabinet__menu-toper-arrow svg { | 7935 | .cabinet__menu-toper-arrow svg { |
7923 | width: 20px; | 7936 | width: 20px; |
7924 | height: 20px; | 7937 | height: 20px; |
7925 | } | 7938 | } |
7926 | } | 7939 | } |
7927 | .cabinet__menu-toper.active .cabinet__menu-toper-arrow { | 7940 | .cabinet__menu-toper.active .cabinet__menu-toper-arrow { |
7928 | -webkit-transform: rotate(180deg); | 7941 | -webkit-transform: rotate(180deg); |
7929 | -ms-transform: rotate(180deg); | 7942 | -ms-transform: rotate(180deg); |
7930 | transform: rotate(180deg); | 7943 | transform: rotate(180deg); |
7931 | } | 7944 | } |
7932 | .cabinet__menu-body { | 7945 | .cabinet__menu-body { |
7933 | opacity: 0; | 7946 | opacity: 0; |
7934 | height: 0; | 7947 | height: 0; |
7935 | overflow: hidden; | 7948 | overflow: hidden; |
7936 | display: -webkit-box; | 7949 | display: -webkit-box; |
7937 | display: -ms-flexbox; | 7950 | display: -ms-flexbox; |
7938 | display: flex; | 7951 | display: flex; |
7939 | -webkit-box-orient: vertical; | 7952 | -webkit-box-orient: vertical; |
7940 | -webkit-box-direction: normal; | 7953 | -webkit-box-direction: normal; |
7941 | -ms-flex-direction: column; | 7954 | -ms-flex-direction: column; |
7942 | flex-direction: column; | 7955 | flex-direction: column; |
7943 | } | 7956 | } |
7944 | @media (min-width: 992px) { | 7957 | @media (min-width: 992px) { |
7945 | .cabinet__menu-body { | 7958 | .cabinet__menu-body { |
7946 | opacity: 1; | 7959 | opacity: 1; |
7947 | height: auto; | 7960 | height: auto; |
7948 | } | 7961 | } |
7949 | } | 7962 | } |
7950 | .active + .cabinet__menu-body { | 7963 | .active + .cabinet__menu-body { |
7951 | opacity: 1; | 7964 | opacity: 1; |
7952 | height: auto; | 7965 | height: auto; |
7953 | -webkit-transition: 0.3s; | 7966 | -webkit-transition: 0.3s; |
7954 | transition: 0.3s; | 7967 | transition: 0.3s; |
7955 | } | 7968 | } |
7956 | .cabinet__menu-items { | 7969 | .cabinet__menu-items { |
7957 | display: -webkit-box; | 7970 | display: -webkit-box; |
7958 | display: -ms-flexbox; | 7971 | display: -ms-flexbox; |
7959 | display: flex; | 7972 | display: flex; |
7960 | -webkit-box-orient: vertical; | 7973 | -webkit-box-orient: vertical; |
7961 | -webkit-box-direction: normal; | 7974 | -webkit-box-direction: normal; |
7962 | -ms-flex-direction: column; | 7975 | -ms-flex-direction: column; |
7963 | flex-direction: column; | 7976 | flex-direction: column; |
7964 | } | 7977 | } |
7965 | .cabinet__menu-item { | 7978 | .cabinet__menu-item { |
7966 | padding: 8px 16px; | 7979 | padding: 8px 16px; |
7967 | border-radius: 8px; | 7980 | border-radius: 8px; |
7968 | display: -webkit-box; | 7981 | display: -webkit-box; |
7969 | display: -ms-flexbox; | 7982 | display: -ms-flexbox; |
7970 | display: flex; | 7983 | display: flex; |
7971 | -webkit-box-align: center; | 7984 | -webkit-box-align: center; |
7972 | -ms-flex-align: center; | 7985 | -ms-flex-align: center; |
7973 | align-items: center; | 7986 | align-items: center; |
7974 | } | 7987 | } |
7975 | @media (min-width: 768px) { | 7988 | @media (min-width: 768px) { |
7976 | .cabinet__menu-item { | 7989 | .cabinet__menu-item { |
7977 | padding: 14px 20px; | 7990 | padding: 14px 20px; |
7978 | } | 7991 | } |
7979 | } | 7992 | } |
7980 | .cabinet__menu-item:hover { | 7993 | .cabinet__menu-item:hover { |
7981 | color: #377d87; | 7994 | color: #377d87; |
7982 | } | 7995 | } |
7983 | @media (min-width: 992px) { | 7996 | @media (min-width: 992px) { |
7984 | .cabinet__menu-item.active { | 7997 | .cabinet__menu-item.active { |
7985 | background: #377d87; | 7998 | background: #377d87; |
7986 | color: #fff; | 7999 | color: #fff; |
7987 | } | 8000 | } |
7988 | } | 8001 | } |
7989 | @media (min-width: 992px) { | 8002 | @media (min-width: 992px) { |
7990 | .cabinet__menu-item.active svg { | 8003 | .cabinet__menu-item.active svg { |
7991 | color: #fff; | 8004 | color: #fff; |
7992 | } | 8005 | } |
7993 | } | 8006 | } |
7994 | @media (min-width: 992px) { | 8007 | @media (min-width: 992px) { |
7995 | .cabinet__menu-item.active.red { | 8008 | .cabinet__menu-item.active.red { |
7996 | background: #eb5757; | 8009 | background: #eb5757; |
7997 | } | 8010 | } |
7998 | } | 8011 | } |
7999 | .cabinet__menu-item i { | 8012 | .cabinet__menu-item i { |
8000 | width: 16px; | 8013 | width: 16px; |
8001 | height: 16px; | 8014 | height: 16px; |
8002 | color: #377d87; | 8015 | color: #377d87; |
8003 | } | 8016 | } |
8004 | @media (min-width: 768px) { | 8017 | @media (min-width: 768px) { |
8005 | .cabinet__menu-item i { | 8018 | .cabinet__menu-item i { |
8006 | width: 22px; | 8019 | width: 22px; |
8007 | height: 22px; | 8020 | height: 22px; |
8008 | } | 8021 | } |
8009 | } | 8022 | } |
8010 | .cabinet__menu-item svg { | 8023 | .cabinet__menu-item svg { |
8011 | width: 16px; | 8024 | width: 16px; |
8012 | height: 16px; | 8025 | height: 16px; |
8013 | } | 8026 | } |
8014 | @media (min-width: 768px) { | 8027 | @media (min-width: 768px) { |
8015 | .cabinet__menu-item svg { | 8028 | .cabinet__menu-item svg { |
8016 | width: 22px; | 8029 | width: 22px; |
8017 | height: 22px; | 8030 | height: 22px; |
8018 | } | 8031 | } |
8019 | } | 8032 | } |
8020 | .cabinet__menu-item span { | 8033 | .cabinet__menu-item span { |
8021 | width: calc(100% - 16px); | 8034 | width: calc(100% - 16px); |
8022 | font-size: 12px; | 8035 | font-size: 12px; |
8023 | padding-left: 10px; | 8036 | padding-left: 10px; |
8024 | } | 8037 | } |
8025 | @media (min-width: 768px) { | 8038 | @media (min-width: 768px) { |
8026 | .cabinet__menu-item span { | 8039 | .cabinet__menu-item span { |
8027 | font-size: 20px; | 8040 | font-size: 20px; |
8028 | width: calc(100% - 22px); | 8041 | width: calc(100% - 22px); |
8029 | padding-left: 16px; | 8042 | padding-left: 16px; |
8030 | } | 8043 | } |
8031 | } | 8044 | } |
8032 | .cabinet__menu-bottom { | 8045 | .cabinet__menu-bottom { |
8033 | display: -webkit-box; | 8046 | display: -webkit-box; |
8034 | display: -ms-flexbox; | 8047 | display: -ms-flexbox; |
8035 | display: flex; | 8048 | display: flex; |
8036 | -webkit-box-orient: vertical; | 8049 | -webkit-box-orient: vertical; |
8037 | -webkit-box-direction: normal; | 8050 | -webkit-box-direction: normal; |
8038 | -ms-flex-direction: column; | 8051 | -ms-flex-direction: column; |
8039 | flex-direction: column; | 8052 | flex-direction: column; |
8040 | gap: 10px; | 8053 | gap: 10px; |
8041 | margin-top: 10px; | 8054 | margin-top: 10px; |
8042 | } | 8055 | } |
8043 | @media (min-width: 768px) { | 8056 | @media (min-width: 768px) { |
8044 | .cabinet__menu-bottom { | 8057 | .cabinet__menu-bottom { |
8045 | gap: 20px; | 8058 | gap: 20px; |
8046 | margin-top: 20px; | 8059 | margin-top: 20px; |
8047 | } | 8060 | } |
8048 | } | 8061 | } |
8049 | .cabinet__menu-copy { | 8062 | .cabinet__menu-copy { |
8050 | color: #9c9d9d; | 8063 | color: #9c9d9d; |
8051 | text-align: center; | 8064 | text-align: center; |
8052 | font-size: 12px; | 8065 | font-size: 12px; |
8053 | } | 8066 | } |
8054 | @media (min-width: 768px) { | 8067 | @media (min-width: 768px) { |
8055 | .cabinet__menu-copy { | 8068 | .cabinet__menu-copy { |
8056 | font-size: 16px; | 8069 | font-size: 16px; |
8057 | } | 8070 | } |
8058 | } | 8071 | } |
8059 | .cabinet__body { | 8072 | .cabinet__body { |
8060 | margin: 0 -10px; | 8073 | margin: 0 -10px; |
8061 | margin-top: 50px; | 8074 | margin-top: 50px; |
8062 | background: #fff; | 8075 | background: #fff; |
8063 | padding: 20px 10px; | 8076 | padding: 20px 10px; |
8064 | display: -webkit-box; | 8077 | display: -webkit-box; |
8065 | display: -ms-flexbox; | 8078 | display: -ms-flexbox; |
8066 | display: flex; | 8079 | display: flex; |
8067 | -webkit-box-orient: vertical; | 8080 | -webkit-box-orient: vertical; |
8068 | -webkit-box-direction: normal; | 8081 | -webkit-box-direction: normal; |
8069 | -ms-flex-direction: column; | 8082 | -ms-flex-direction: column; |
8070 | flex-direction: column; | 8083 | flex-direction: column; |
8071 | gap: 30px; | 8084 | gap: 30px; |
8072 | color: #000; | 8085 | color: #000; |
8073 | } | 8086 | } |
8074 | @media (min-width: 768px) { | 8087 | @media (min-width: 768px) { |
8075 | .cabinet__body { | 8088 | .cabinet__body { |
8076 | padding: 30px 20px; | 8089 | padding: 30px 20px; |
8077 | margin: 0; | 8090 | margin: 0; |
8078 | border-radius: 8px; | 8091 | border-radius: 8px; |
8079 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 8092 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
8080 | 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); |
8081 | } | 8094 | } |
8082 | } | 8095 | } |
8083 | @media (min-width: 992px) { | 8096 | @media (min-width: 992px) { |
8084 | .cabinet__body { | 8097 | .cabinet__body { |
8085 | width: calc(100% - 360px); | 8098 | width: calc(100% - 360px); |
8086 | } | 8099 | } |
8087 | } | 8100 | } |
8088 | @media (min-width: 1280px) { | 8101 | @media (min-width: 1280px) { |
8089 | .cabinet__body { | 8102 | .cabinet__body { |
8090 | width: calc(100% - 420px); | 8103 | width: calc(100% - 420px); |
8091 | } | 8104 | } |
8092 | } | 8105 | } |
8093 | .cabinet__body-item { | 8106 | .cabinet__body-item { |
8094 | display: -webkit-box; | 8107 | display: -webkit-box; |
8095 | display: -ms-flexbox; | 8108 | display: -ms-flexbox; |
8096 | display: flex; | 8109 | display: flex; |
8097 | -webkit-box-orient: vertical; | 8110 | -webkit-box-orient: vertical; |
8098 | -webkit-box-direction: normal; | 8111 | -webkit-box-direction: normal; |
8099 | -ms-flex-direction: column; | 8112 | -ms-flex-direction: column; |
8100 | flex-direction: column; | 8113 | flex-direction: column; |
8101 | gap: 20px; | 8114 | gap: 20px; |
8102 | } | 8115 | } |
8103 | .cabinet__title { | 8116 | .cabinet__title { |
8104 | font-size: 24px; | 8117 | font-size: 24px; |
8105 | margin-bottom: 20px; | 8118 | margin-bottom: 20px; |
8106 | } | 8119 | } |
8107 | @media (min-width: 768px) { | 8120 | @media (min-width: 768px) { |
8108 | .cabinet__title { | 8121 | .cabinet__title { |
8109 | font-size: 32px; | 8122 | font-size: 32px; |
8110 | } | 8123 | } |
8111 | } | 8124 | } |
8112 | @media (min-width: 992px) { | 8125 | @media (min-width: 992px) { |
8113 | .cabinet__title { | 8126 | .cabinet__title { |
8114 | font-size: 40px; | 8127 | font-size: 40px; |
8115 | } | 8128 | } |
8116 | } | 8129 | } |
8117 | .cabinet__subtitle { | 8130 | .cabinet__subtitle { |
8118 | font-size: 22px; | 8131 | font-size: 22px; |
8119 | margin: 0; | 8132 | margin: 0; |
8120 | font-weight: 700; | 8133 | font-weight: 700; |
8121 | color: #000; | 8134 | color: #000; |
8122 | } | 8135 | } |
8123 | @media (min-width: 768px) { | 8136 | @media (min-width: 768px) { |
8124 | .cabinet__subtitle { | 8137 | .cabinet__subtitle { |
8125 | font-size: 24px; | 8138 | font-size: 24px; |
8126 | } | 8139 | } |
8127 | } | 8140 | } |
8128 | .cabinet__h4 { | 8141 | .cabinet__h4 { |
8129 | font-size: 20px; | 8142 | font-size: 20px; |
8130 | margin: 0; | 8143 | margin: 0; |
8131 | font-weight: 700; | 8144 | font-weight: 700; |
8132 | color: #000; | 8145 | color: #000; |
8133 | } | 8146 | } |
8134 | @media (min-width: 768px) { | 8147 | @media (min-width: 768px) { |
8135 | .cabinet__h4 { | 8148 | .cabinet__h4 { |
8136 | font-size: 22px; | 8149 | font-size: 22px; |
8137 | } | 8150 | } |
8138 | } | 8151 | } |
8139 | .cabinet__text { | 8152 | .cabinet__text { |
8140 | margin: 0; | 8153 | margin: 0; |
8141 | font-size: 14px; | 8154 | font-size: 14px; |
8142 | } | 8155 | } |
8143 | @media (min-width: 768px) { | 8156 | @media (min-width: 768px) { |
8144 | .cabinet__text { | 8157 | .cabinet__text { |
8145 | font-size: 16px; | 8158 | font-size: 16px; |
8146 | } | 8159 | } |
8147 | } | 8160 | } |
8148 | .cabinet__text b { | 8161 | .cabinet__text b { |
8149 | color: #000; | 8162 | color: #000; |
8150 | font-size: 18px; | 8163 | font-size: 18px; |
8151 | } | 8164 | } |
8152 | @media (min-width: 768px) { | 8165 | @media (min-width: 768px) { |
8153 | .cabinet__text b { | 8166 | .cabinet__text b { |
8154 | font-size: 24px; | 8167 | font-size: 24px; |
8155 | } | 8168 | } |
8156 | } | 8169 | } |
8157 | .cabinet__descr { | 8170 | .cabinet__descr { |
8158 | display: -webkit-box; | 8171 | display: -webkit-box; |
8159 | display: -ms-flexbox; | 8172 | display: -ms-flexbox; |
8160 | display: flex; | 8173 | display: flex; |
8161 | -webkit-box-orient: vertical; | 8174 | -webkit-box-orient: vertical; |
8162 | -webkit-box-direction: normal; | 8175 | -webkit-box-direction: normal; |
8163 | -ms-flex-direction: column; | 8176 | -ms-flex-direction: column; |
8164 | flex-direction: column; | 8177 | flex-direction: column; |
8165 | gap: 6px; | 8178 | gap: 6px; |
8166 | } | 8179 | } |
8167 | @media (min-width: 768px) { | 8180 | @media (min-width: 768px) { |
8168 | .cabinet__descr { | 8181 | .cabinet__descr { |
8169 | gap: 12px; | 8182 | gap: 12px; |
8170 | } | 8183 | } |
8171 | } | 8184 | } |
8172 | .cabinet__avatar { | 8185 | .cabinet__avatar { |
8173 | display: -webkit-box; | 8186 | display: -webkit-box; |
8174 | display: -ms-flexbox; | 8187 | display: -ms-flexbox; |
8175 | display: flex; | 8188 | display: flex; |
8176 | -webkit-box-align: start; | 8189 | -webkit-box-align: start; |
8177 | -ms-flex-align: start; | 8190 | -ms-flex-align: start; |
8178 | align-items: flex-start; | 8191 | align-items: flex-start; |
8179 | } | 8192 | } |
8180 | @media (min-width: 768px) { | 8193 | @media (min-width: 768px) { |
8181 | .cabinet__avatar { | 8194 | .cabinet__avatar { |
8182 | -webkit-box-align: center; | 8195 | -webkit-box-align: center; |
8183 | -ms-flex-align: center; | 8196 | -ms-flex-align: center; |
8184 | align-items: center; | 8197 | align-items: center; |
8185 | } | 8198 | } |
8186 | } | 8199 | } |
8187 | .cabinet__avatar-pic { | 8200 | .cabinet__avatar-pic { |
8188 | width: 100px; | 8201 | width: 100px; |
8189 | aspect-ratio: 1/1; | 8202 | aspect-ratio: 1/1; |
8190 | position: relative; | 8203 | position: relative; |
8191 | display: -webkit-box; | 8204 | display: -webkit-box; |
8192 | display: -ms-flexbox; | 8205 | display: -ms-flexbox; |
8193 | display: flex; | 8206 | display: flex; |
8194 | -webkit-box-pack: center; | 8207 | -webkit-box-pack: center; |
8195 | -ms-flex-pack: center; | 8208 | -ms-flex-pack: center; |
8196 | justify-content: center; | 8209 | justify-content: center; |
8197 | -webkit-box-align: center; | 8210 | -webkit-box-align: center; |
8198 | -ms-flex-align: center; | 8211 | -ms-flex-align: center; |
8199 | align-items: center; | 8212 | align-items: center; |
8200 | overflow: hidden; | 8213 | overflow: hidden; |
8201 | border-radius: 8px; | 8214 | border-radius: 8px; |
8202 | color: #fff; | 8215 | color: #fff; |
8203 | background: #9c9d9d; | 8216 | background: #9c9d9d; |
8204 | } | 8217 | } |
8205 | .cabinet__avatar-pic svg { | 8218 | .cabinet__avatar-pic svg { |
8206 | width: 50%; | 8219 | width: 50%; |
8207 | aspect-ratio: 1/1; | 8220 | aspect-ratio: 1/1; |
8208 | z-index: 1; | 8221 | z-index: 1; |
8209 | position: relative; | 8222 | position: relative; |
8210 | } | 8223 | } |
8211 | .cabinet__avatar-pic img{ | 8224 | .cabinet__avatar-pic img{ |
8212 | max-width: 100%; | 8225 | max-width: 100%; |
8213 | max-height: 100%; | 8226 | max-height: 100%; |
8214 | } | 8227 | } |
8215 | .cabinet__avatar-form { | 8228 | .cabinet__avatar-form { |
8216 | width: calc(100% - 100px); | 8229 | width: calc(100% - 100px); |
8217 | padding-left: 15px; | 8230 | padding-left: 15px; |
8218 | display: -webkit-box; | 8231 | display: -webkit-box; |
8219 | display: -ms-flexbox; | 8232 | display: -ms-flexbox; |
8220 | display: flex; | 8233 | display: flex; |
8221 | -webkit-box-orient: vertical; | 8234 | -webkit-box-orient: vertical; |
8222 | -webkit-box-direction: normal; | 8235 | -webkit-box-direction: normal; |
8223 | -ms-flex-direction: column; | 8236 | -ms-flex-direction: column; |
8224 | flex-direction: column; | 8237 | flex-direction: column; |
8225 | gap: 6px; | 8238 | gap: 6px; |
8226 | } | 8239 | } |
8227 | .candidate-top-wrapper{ | 8240 | .candidate-top-wrapper{ |
8228 | display: flex; | 8241 | display: flex; |
8229 | } | 8242 | } |
8230 | .candidate-top-wrapper .candidate-thumbnail{ | 8243 | .candidate-top-wrapper .candidate-thumbnail{ |
8231 | width: 100px; | 8244 | width: 100px; |
8232 | height: 100px; | 8245 | height: 100px; |
8233 | min-width: 100px; | 8246 | min-width: 100px; |
8234 | border-radius: 8px; | 8247 | border-radius: 8px; |
8235 | overflow: hidden; | 8248 | overflow: hidden; |
8236 | } | 8249 | } |
8237 | .candidate-top-wrapper .candidate-thumbnail img{ | 8250 | .candidate-top-wrapper .candidate-thumbnail img{ |
8238 | max-height: 100%; | 8251 | max-height: 100%; |
8239 | max-width: 100%; | 8252 | max-width: 100%; |
8240 | } | 8253 | } |
8241 | .candidate-top-wrapper .candidate-information{ | 8254 | .candidate-top-wrapper .candidate-information{ |
8242 | padding-left: 20px; | 8255 | padding-left: 20px; |
8243 | font-size: 21px; | 8256 | font-size: 21px; |
8244 | display: flex; | 8257 | display: flex; |
8245 | align-items: center; | 8258 | align-items: center; |
8246 | } | 8259 | } |
8247 | .candidate-top-wrapper .candidate-information .candidate-title{ | 8260 | .candidate-top-wrapper .candidate-information .candidate-title{ |
8248 | font-size: inherit; | 8261 | font-size: inherit; |
8249 | } | 8262 | } |
8250 | .content-single-candidate .education-detail-description{ | 8263 | .content-single-candidate .education-detail-description{ |
8251 | margin-bottom: 50px; | 8264 | margin-bottom: 50px; |
8252 | text-align: justify; | 8265 | text-align: justify; |
8253 | } | 8266 | } |
8254 | .content-single-candidate .education-detail-description h3.title{ | 8267 | .content-single-candidate .education-detail-description h3.title{ |
8255 | font-size: 18px; | 8268 | font-size: 18px; |
8256 | margin: 0 0 20px; | 8269 | margin: 0 0 20px; |
8257 | } | 8270 | } |
8258 | .content-single-candidate .education-detail-description .inner{ | 8271 | .content-single-candidate .education-detail-description .inner{ |
8259 | font-size: 16px; | 8272 | font-size: 16px; |
8260 | font-weight: 300; | 8273 | font-weight: 300; |
8261 | line-height: 22px; | 8274 | line-height: 22px; |
8262 | color: #77838F; | 8275 | color: #77838F; |
8263 | } | 8276 | } |
8264 | .education-detail-programs h3.title{ | 8277 | .education-detail-programs h3.title{ |
8265 | font-size: 18px; | 8278 | font-size: 18px; |
8266 | margin: 0 0 20px; | 8279 | margin: 0 0 20px; |
8267 | } | 8280 | } |
8268 | .education-detail-programs .accordion{ | 8281 | .education-detail-programs .accordion{ |
8269 | margin: 1rem 0; | 8282 | margin: 1rem 0; |
8270 | padding: 0; | 8283 | padding: 0; |
8271 | list-style: none; | 8284 | list-style: none; |
8272 | border-top: 1px solid #ECEDF2; | 8285 | border-top: 1px solid #ECEDF2; |
8273 | } | 8286 | } |
8274 | .education-detail-programs .accordion.sub{ | 8287 | .education-detail-programs .accordion.sub{ |
8275 | padding-left: 20px; | 8288 | padding-left: 20px; |
8276 | display: none; | 8289 | display: none; |
8277 | } | 8290 | } |
8278 | .education-detail-programs .accordion-item { | 8291 | .education-detail-programs .accordion-item { |
8279 | border-bottom: 1px solid #ECEDF2; | 8292 | border-bottom: 1px solid #ECEDF2; |
8280 | } | 8293 | } |
8281 | .education-detail-programs .accordion-thumb { | 8294 | .education-detail-programs .accordion-thumb { |
8282 | margin: 0; | 8295 | margin: 0; |
8283 | padding: 25px 0; | 8296 | padding: 25px 0; |
8284 | cursor: pointer; | 8297 | cursor: pointer; |
8285 | font-weight: normal; | 8298 | font-weight: normal; |
8286 | color: #0E5C69; | 8299 | color: #0E5C69; |
8287 | font-size: 16px; | 8300 | font-size: 16px; |
8288 | text-transform: uppercase; | 8301 | text-transform: uppercase; |
8289 | } | 8302 | } |
8290 | .education-detail-programs .accordion-thumb::after { | 8303 | .education-detail-programs .accordion-thumb::after { |
8291 | content: ""; | 8304 | content: ""; |
8292 | display: block; | 8305 | display: block; |
8293 | float: right; | 8306 | float: right; |
8294 | position: relative; | 8307 | position: relative; |
8295 | top: 6px; | 8308 | top: 6px; |
8296 | height: 7px; | 8309 | height: 7px; |
8297 | width: 7px; | 8310 | width: 7px; |
8298 | margin-right: 1rem; | 8311 | margin-right: 1rem; |
8299 | margin-left: 0.5rem; | 8312 | margin-left: 0.5rem; |
8300 | border-right: 1px solid; | 8313 | border-right: 1px solid; |
8301 | border-bottom: 1px solid; | 8314 | border-bottom: 1px solid; |
8302 | border-color: #828A96; | 8315 | border-color: #828A96; |
8303 | transform: rotate(-45deg); | 8316 | transform: rotate(-45deg); |
8304 | transition: transform 0.2s ease-out; | 8317 | transition: transform 0.2s ease-out; |
8305 | } | 8318 | } |
8306 | .education-detail-programs .accordion-item .accordion-thumb.ui-state-active::after { | 8319 | .education-detail-programs .accordion-item .accordion-thumb.ui-state-active::after { |
8307 | transform: rotate(45deg); | 8320 | transform: rotate(45deg); |
8308 | } | 8321 | } |
8309 | .accordion-sub .accordion-panel{ | 8322 | .accordion-sub .accordion-panel{ |
8310 | display: none; | 8323 | display: none; |
8311 | } | 8324 | } |
8312 | .accordion > .accordion-item > .accordion-panel{ | 8325 | .accordion > .accordion-item > .accordion-panel{ |
8313 | opacity: 1; | 8326 | opacity: 1; |
8314 | } | 8327 | } |
8315 | .accordion-sub li{ | 8328 | .accordion-sub li{ |
8316 | list-style-type: none; | 8329 | list-style-type: none; |
8317 | } | 8330 | } |
8318 | .accordion-sub .accordion-item .accordion-panel{ | 8331 | .accordion-sub .accordion-item .accordion-panel{ |
8319 | white-space: pre-wrap; | 8332 | white-space: pre-wrap; |
8320 | white-space: -moz-pre-wrap; | 8333 | white-space: -moz-pre-wrap; |
8321 | white-space: -o-pre-wrap; | 8334 | white-space: -o-pre-wrap; |
8322 | } | 8335 | } |
8323 | .accordion-sub li:last-child { | 8336 | .accordion-sub li:last-child { |
8324 | border-bottom: unset; | 8337 | border-bottom: unset; |
8325 | } | 8338 | } |
8326 | .education-detail-contacts{ | 8339 | .education-detail-contacts{ |
8327 | margin-top: 50px; | 8340 | margin-top: 50px; |
8328 | } | 8341 | } |
8329 | .education-detail-contacts h3.title{ | 8342 | .education-detail-contacts h3.title{ |
8330 | font-size: 18px; | 8343 | font-size: 18px; |
8331 | margin: 0 0 20px; | 8344 | margin: 0 0 20px; |
8332 | } | 8345 | } |
8333 | .education-detail-contacts .inner > div{ | 8346 | .education-detail-contacts .inner > div{ |
8334 | display: flex; | 8347 | display: flex; |
8335 | align-items: center; | 8348 | align-items: center; |
8336 | margin-bottom: 20px; | 8349 | margin-bottom: 20px; |
8337 | } | 8350 | } |
8338 | .education-detail-contacts .inner > div .icon{ | 8351 | .education-detail-contacts .inner > div .icon{ |
8339 | margin-right: 20px; | 8352 | margin-right: 20px; |
8340 | } | 8353 | } |
8341 | @media (min-width: 768px) { | 8354 | @media (min-width: 768px) { |
8342 | .cabinet__avatar-form { | 8355 | .cabinet__avatar-form { |
8343 | -webkit-box-align: start; | 8356 | -webkit-box-align: start; |
8344 | -ms-flex-align: start; | 8357 | -ms-flex-align: start; |
8345 | align-items: flex-start; | 8358 | align-items: flex-start; |
8346 | padding-left: 30px; | 8359 | padding-left: 30px; |
8347 | gap: 12px; | 8360 | gap: 12px; |
8348 | } | 8361 | } |
8349 | } | 8362 | } |
8350 | @media (min-width: 768px) { | 8363 | @media (min-width: 768px) { |
8351 | .cabinet__avatar-form .file { | 8364 | .cabinet__avatar-form .file { |
8352 | min-width: 215px; | 8365 | min-width: 215px; |
8353 | } | 8366 | } |
8354 | } | 8367 | } |
8355 | .cabinet__inputs { | 8368 | .cabinet__inputs { |
8356 | display: -webkit-box; | 8369 | display: -webkit-box; |
8357 | display: -ms-flexbox; | 8370 | display: -ms-flexbox; |
8358 | display: flex; | 8371 | display: flex; |
8359 | -webkit-box-orient: vertical; | 8372 | -webkit-box-orient: vertical; |
8360 | -webkit-box-direction: normal; | 8373 | -webkit-box-direction: normal; |
8361 | -ms-flex-direction: column; | 8374 | -ms-flex-direction: column; |
8362 | flex-direction: column; | 8375 | flex-direction: column; |
8363 | gap: 20px; | 8376 | gap: 20px; |
8364 | } | 8377 | } |
8365 | .cabinet__inputs .cabinet__inputs_to_columns_wrap{ | 8378 | .cabinet__inputs .cabinet__inputs_to_columns_wrap{ |
8366 | display: flex; | 8379 | display: flex; |
8367 | } | 8380 | } |
8368 | .cabinet__inputs_to_columns_wrap .cabinet__inputs_to_column{ | 8381 | .cabinet__inputs_to_columns_wrap .cabinet__inputs_to_column{ |
8369 | width: 50%; | 8382 | width: 50%; |
8370 | padding-right: 20px; | 8383 | padding-right: 20px; |
8371 | } | 8384 | } |
8372 | .cabinet__inputs_to_columns_wrap .cabinet__inputs-item{ | 8385 | .cabinet__inputs_to_columns_wrap .cabinet__inputs-item{ |
8373 | margin-bottom: 20px; | 8386 | margin-bottom: 20px; |
8374 | width: 100%; | 8387 | width: 100%; |
8375 | } | 8388 | } |
8376 | @media (min-width: 1280px) { | 8389 | @media (min-width: 1280px) { |
8377 | .cabinet__inputs { | 8390 | .cabinet__inputs { |
8378 | -webkit-box-orient: horizontal; | 8391 | -webkit-box-orient: horizontal; |
8379 | -webkit-box-direction: normal; | 8392 | -webkit-box-direction: normal; |
8380 | -ms-flex-direction: row; | 8393 | -ms-flex-direction: row; |
8381 | flex-direction: row; | 8394 | flex-direction: row; |
8382 | -webkit-box-align: end; | 8395 | -webkit-box-align: end; |
8383 | -ms-flex-align: end; | 8396 | -ms-flex-align: end; |
8384 | align-items: end; | 8397 | align-items: end; |
8385 | -webkit-box-pack: justify; | 8398 | -webkit-box-pack: justify; |
8386 | -ms-flex-pack: justify; | 8399 | -ms-flex-pack: justify; |
8387 | justify-content: space-between; | 8400 | justify-content: space-between; |
8388 | -ms-flex-wrap: wrap; | 8401 | -ms-flex-wrap: wrap; |
8389 | flex-wrap: wrap; | 8402 | flex-wrap: wrap; |
8390 | } | 8403 | } |
8391 | } | 8404 | } |
8392 | @media (min-width: 1280px) { | 8405 | @media (min-width: 1280px) { |
8393 | .cabinet__inputs-item { | 8406 | .cabinet__inputs-item { |
8394 | width: calc(50% - 10px); | 8407 | width: calc(50% - 10px); |
8395 | } | 8408 | } |
8396 | } | 8409 | } |
8397 | @media (min-width: 1280px) { | 8410 | @media (min-width: 1280px) { |
8398 | .cabinet__inputs-item_fullwidth { | 8411 | .cabinet__inputs-item_fullwidth { |
8399 | width: 100%; | 8412 | width: 100%; |
8400 | } | 8413 | } |
8401 | } | 8414 | } |
8402 | @media (min-width: 1280px) { | 8415 | @media (min-width: 1280px) { |
8403 | .cabinet__inputs-item_min { | 8416 | .cabinet__inputs-item_min { |
8404 | width: calc(15% - 10px); | 8417 | width: calc(15% - 10px); |
8405 | } | 8418 | } |
8406 | } | 8419 | } |
8407 | @media (min-width: 1280px) { | 8420 | @media (min-width: 1280px) { |
8408 | .cabinet__inputs-item_max { | 8421 | .cabinet__inputs-item_max { |
8409 | width: calc(85% - 10px); | 8422 | width: calc(85% - 10px); |
8410 | } | 8423 | } |
8411 | } | 8424 | } |
8412 | @media (min-width: 768px) { | 8425 | @media (min-width: 768px) { |
8413 | .cabinet__inputs-item .button { | 8426 | .cabinet__inputs-item .button { |
8414 | width: 100%; | 8427 | width: 100%; |
8415 | max-width: 215px; | 8428 | max-width: 215px; |
8416 | padding: 0; | 8429 | padding: 0; |
8417 | } | 8430 | } |
8418 | } | 8431 | } |
8419 | @media (max-width: 768px) { | 8432 | @media (max-width: 768px) { |
8420 | .cabinet__inputs .cabinet__inputs_to_columns_wrap{ | 8433 | .cabinet__inputs .cabinet__inputs_to_columns_wrap{ |
8421 | display: block; | 8434 | display: block; |
8422 | } | 8435 | } |
8423 | .cabinet__inputs_to_columns_wrap .cabinet__inputs_to_column{ | 8436 | .cabinet__inputs_to_columns_wrap .cabinet__inputs_to_column{ |
8424 | width: 100%; | 8437 | width: 100%; |
8425 | } | 8438 | } |
8426 | } | 8439 | } |
8427 | .cabinet__inputs-item.column-count-3{ | 8440 | .cabinet__inputs-item.column-count-3{ |
8428 | width: calc(32% - 10px); | 8441 | width: calc(32% - 10px); |
8429 | } | 8442 | } |
8430 | .cabinet__inputs-item-full-row { | 8443 | .cabinet__inputs-item-full-row { |
8431 | width: 100%; | 8444 | width: 100%; |
8432 | } | 8445 | } |
8433 | .cabinet__inputs-item .buttons { | 8446 | .cabinet__inputs-item .buttons { |
8434 | display: grid; | 8447 | display: grid; |
8435 | grid-template-columns: 1fr 1fr; | 8448 | grid-template-columns: 1fr 1fr; |
8436 | gap: 10px; | 8449 | gap: 10px; |
8437 | } | 8450 | } |
8438 | .cabinet__inputs-item .form-group__label{ | 8451 | .cabinet__inputs-item .form-group__label{ |
8439 | font-weight: bold; | 8452 | font-weight: bold; |
8440 | } | 8453 | } |
8441 | @media (min-width: 768px) { | 8454 | @media (min-width: 768px) { |
8442 | .cabinet__inputs-item .buttons { | 8455 | .cabinet__inputs-item .buttons { |
8443 | gap: 20px; | 8456 | gap: 20px; |
8444 | max-width: 470px; | 8457 | max-width: 470px; |
8445 | } | 8458 | } |
8446 | } | 8459 | } |
8447 | @media (min-width: 992px) { | 8460 | @media (min-width: 992px) { |
8448 | .cabinet__inputs-item .buttons { | 8461 | .cabinet__inputs-item .buttons { |
8449 | max-width: none; | 8462 | max-width: none; |
8450 | } | 8463 | } |
8451 | } | 8464 | } |
8452 | @media (min-width: 1280px) { | 8465 | @media (min-width: 1280px) { |
8453 | .cabinet__inputs-item .buttons { | 8466 | .cabinet__inputs-item .buttons { |
8454 | max-width: 470px; | 8467 | max-width: 470px; |
8455 | } | 8468 | } |
8456 | } | 8469 | } |
8457 | .cabinet__inputs-item .buttons .button { | 8470 | .cabinet__inputs-item .buttons .button { |
8458 | max-width: none; | 8471 | max-width: none; |
8459 | } | 8472 | } |
8460 | .cabinet__inputs > .button { | 8473 | .cabinet__inputs > .button { |
8461 | padding: 0; | 8474 | padding: 0; |
8462 | width: 100%; | 8475 | width: 100%; |
8463 | max-width: 140px; | 8476 | max-width: 140px; |
8464 | } | 8477 | } |
8465 | @media (min-width: 768px) { | 8478 | @media (min-width: 768px) { |
8466 | .cabinet__inputs > .button { | 8479 | .cabinet__inputs > .button { |
8467 | max-width: 190px; | 8480 | max-width: 190px; |
8468 | } | 8481 | } |
8469 | } | 8482 | } |
8470 | .cabinet__add { | 8483 | .cabinet__add { |
8471 | display: -webkit-box; | 8484 | display: -webkit-box; |
8472 | display: -ms-flexbox; | 8485 | display: -ms-flexbox; |
8473 | display: flex; | 8486 | display: flex; |
8474 | -webkit-box-orient: vertical; | 8487 | -webkit-box-orient: vertical; |
8475 | -webkit-box-direction: normal; | 8488 | -webkit-box-direction: normal; |
8476 | -ms-flex-direction: column; | 8489 | -ms-flex-direction: column; |
8477 | flex-direction: column; | 8490 | flex-direction: column; |
8478 | gap: 10px; | 8491 | gap: 10px; |
8479 | } | 8492 | } |
8480 | @media (min-width: 768px) { | 8493 | @media (min-width: 768px) { |
8481 | .cabinet__add { | 8494 | .cabinet__add { |
8482 | gap: 0; | 8495 | gap: 0; |
8483 | -webkit-box-orient: horizontal; | 8496 | -webkit-box-orient: horizontal; |
8484 | -webkit-box-direction: normal; | 8497 | -webkit-box-direction: normal; |
8485 | -ms-flex-direction: row; | 8498 | -ms-flex-direction: row; |
8486 | flex-direction: row; | 8499 | flex-direction: row; |
8487 | -webkit-box-align: end; | 8500 | -webkit-box-align: end; |
8488 | -ms-flex-align: end; | 8501 | -ms-flex-align: end; |
8489 | align-items: flex-end; | 8502 | align-items: flex-end; |
8490 | } | 8503 | } |
8491 | } | 8504 | } |
8492 | .cabinet__add-pic { | 8505 | .cabinet__add-pic { |
8493 | border-radius: 4px; | 8506 | border-radius: 4px; |
8494 | position: relative; | 8507 | position: relative; |
8495 | overflow: hidden; | 8508 | overflow: hidden; |
8496 | background: #9c9d9d; | 8509 | background: #9c9d9d; |
8497 | color: #fff; | 8510 | color: #fff; |
8498 | width: 100px; | 8511 | width: 100px; |
8499 | aspect-ratio: 1/1; | 8512 | aspect-ratio: 1/1; |
8500 | -webkit-transition: 0.3s; | 8513 | -webkit-transition: 0.3s; |
8501 | transition: 0.3s; | 8514 | transition: 0.3s; |
8502 | } | 8515 | } |
8503 | @media (min-width: 768px) { | 8516 | @media (min-width: 768px) { |
8504 | .cabinet__add-pic { | 8517 | .cabinet__add-pic { |
8505 | width: 220px; | 8518 | width: 220px; |
8506 | border-radius: 8px; | 8519 | border-radius: 8px; |
8507 | } | 8520 | } |
8508 | } | 8521 | } |
8509 | .cabinet__add-pic:hover { | 8522 | .cabinet__add-pic:hover { |
8510 | background: #000; | 8523 | background: #000; |
8511 | } | 8524 | } |
8512 | .cabinet__add-pic input { | 8525 | .cabinet__add-pic input { |
8513 | display: none; | 8526 | display: none; |
8514 | } | 8527 | } |
8515 | .cabinet__add-pic > svg { | 8528 | .cabinet__add-pic > svg { |
8516 | width: 20px; | 8529 | width: 20px; |
8517 | position: absolute; | 8530 | position: absolute; |
8518 | top: 50%; | 8531 | top: 50%; |
8519 | left: 50%; | 8532 | left: 50%; |
8520 | -webkit-transform: translate(-50%, -50%); | 8533 | -webkit-transform: translate(-50%, -50%); |
8521 | -ms-transform: translate(-50%, -50%); | 8534 | -ms-transform: translate(-50%, -50%); |
8522 | transform: translate(-50%, -50%); | 8535 | transform: translate(-50%, -50%); |
8523 | z-index: 1; | 8536 | z-index: 1; |
8524 | } | 8537 | } |
8525 | @media (min-width: 768px) { | 8538 | @media (min-width: 768px) { |
8526 | .cabinet__add-pic > svg { | 8539 | .cabinet__add-pic > svg { |
8527 | width: 50px; | 8540 | width: 50px; |
8528 | } | 8541 | } |
8529 | } | 8542 | } |
8530 | .cabinet__add-pic span { | 8543 | .cabinet__add-pic span { |
8531 | display: -webkit-box; | 8544 | display: -webkit-box; |
8532 | display: -ms-flexbox; | 8545 | display: -ms-flexbox; |
8533 | display: flex; | 8546 | display: flex; |
8534 | -webkit-box-align: center; | 8547 | -webkit-box-align: center; |
8535 | -ms-flex-align: center; | 8548 | -ms-flex-align: center; |
8536 | align-items: center; | 8549 | align-items: center; |
8537 | -webkit-box-pack: center; | 8550 | -webkit-box-pack: center; |
8538 | -ms-flex-pack: center; | 8551 | -ms-flex-pack: center; |
8539 | justify-content: center; | 8552 | justify-content: center; |
8540 | width: 100%; | 8553 | width: 100%; |
8541 | gap: 4px; | 8554 | gap: 4px; |
8542 | font-weight: 700; | 8555 | font-weight: 700; |
8543 | font-size: 8px; | 8556 | font-size: 8px; |
8544 | line-height: 1; | 8557 | line-height: 1; |
8545 | position: absolute; | 8558 | position: absolute; |
8546 | top: 50%; | 8559 | top: 50%; |
8547 | left: 50%; | 8560 | left: 50%; |
8548 | -webkit-transform: translate(-50%, -50%); | 8561 | -webkit-transform: translate(-50%, -50%); |
8549 | -ms-transform: translate(-50%, -50%); | 8562 | -ms-transform: translate(-50%, -50%); |
8550 | transform: translate(-50%, -50%); | 8563 | transform: translate(-50%, -50%); |
8551 | margin-top: 25px; | 8564 | margin-top: 25px; |
8552 | } | 8565 | } |
8553 | @media (min-width: 768px) { | 8566 | @media (min-width: 768px) { |
8554 | .cabinet__add-pic span { | 8567 | .cabinet__add-pic span { |
8555 | font-size: 16px; | 8568 | font-size: 16px; |
8556 | margin-top: 60px; | 8569 | margin-top: 60px; |
8557 | } | 8570 | } |
8558 | } | 8571 | } |
8559 | .cabinet__add-pic span svg { | 8572 | .cabinet__add-pic span svg { |
8560 | width: 7px; | 8573 | width: 7px; |
8561 | aspect-ratio: 1/1; | 8574 | aspect-ratio: 1/1; |
8562 | } | 8575 | } |
8563 | @media (min-width: 768px) { | 8576 | @media (min-width: 768px) { |
8564 | .cabinet__add-pic span svg { | 8577 | .cabinet__add-pic span svg { |
8565 | width: 16px; | 8578 | width: 16px; |
8566 | } | 8579 | } |
8567 | } | 8580 | } |
8568 | .cabinet__add-body { | 8581 | .cabinet__add-body { |
8569 | display: -webkit-box; | 8582 | display: -webkit-box; |
8570 | display: -ms-flexbox; | 8583 | display: -ms-flexbox; |
8571 | display: flex; | 8584 | display: flex; |
8572 | -webkit-box-orient: vertical; | 8585 | -webkit-box-orient: vertical; |
8573 | -webkit-box-direction: normal; | 8586 | -webkit-box-direction: normal; |
8574 | -ms-flex-direction: column; | 8587 | -ms-flex-direction: column; |
8575 | flex-direction: column; | 8588 | flex-direction: column; |
8576 | gap: 10px; | 8589 | gap: 10px; |
8577 | } | 8590 | } |
8578 | @media (min-width: 768px) { | 8591 | @media (min-width: 768px) { |
8579 | .cabinet__add-body { | 8592 | .cabinet__add-body { |
8580 | gap: 20px; | 8593 | gap: 20px; |
8581 | width: calc(100% - 220px); | 8594 | width: calc(100% - 220px); |
8582 | padding-left: 20px; | 8595 | padding-left: 20px; |
8583 | } | 8596 | } |
8584 | } | 8597 | } |
8585 | @media (min-width: 768px) { | 8598 | @media (min-width: 768px) { |
8586 | .cabinet__add-body .button { | 8599 | .cabinet__add-body .button { |
8587 | width: 215px; | 8600 | width: 215px; |
8588 | padding: 0; | 8601 | padding: 0; |
8589 | } | 8602 | } |
8590 | } | 8603 | } |
8591 | .cabinet__fleet { | 8604 | .cabinet__fleet { |
8592 | display: -webkit-box; | 8605 | display: -webkit-box; |
8593 | display: -ms-flexbox; | 8606 | display: -ms-flexbox; |
8594 | display: flex; | 8607 | display: flex; |
8595 | -webkit-box-orient: vertical; | 8608 | -webkit-box-orient: vertical; |
8596 | -webkit-box-direction: normal; | 8609 | -webkit-box-direction: normal; |
8597 | -ms-flex-direction: column; | 8610 | -ms-flex-direction: column; |
8598 | flex-direction: column; | 8611 | flex-direction: column; |
8599 | gap: 20px; | 8612 | gap: 20px; |
8600 | } | 8613 | } |
8601 | @media (min-width: 768px) { | 8614 | @media (min-width: 768px) { |
8602 | .cabinet__fleet { | 8615 | .cabinet__fleet { |
8603 | display: grid; | 8616 | display: grid; |
8604 | grid-template-columns: repeat(2, 1fr); | 8617 | grid-template-columns: repeat(2, 1fr); |
8605 | } | 8618 | } |
8606 | } | 8619 | } |
8607 | @media (min-width: 1280px) { | 8620 | @media (min-width: 1280px) { |
8608 | .cabinet__fleet { | 8621 | .cabinet__fleet { |
8609 | grid-template-columns: repeat(3, 1fr); | 8622 | grid-template-columns: repeat(3, 1fr); |
8610 | } | 8623 | } |
8611 | } | 8624 | } |
8612 | @media (min-width: 768px) { | 8625 | @media (min-width: 768px) { |
8613 | .cabinet__submit { | 8626 | .cabinet__submit { |
8614 | width: 215px; | 8627 | width: 215px; |
8615 | padding: 0; | 8628 | padding: 0; |
8616 | margin: 0 auto; | 8629 | margin: 0 auto; |
8617 | } | 8630 | } |
8618 | } | 8631 | } |
8619 | .cabinet__filters { | 8632 | .cabinet__filters { |
8620 | display: -webkit-box; | 8633 | display: -webkit-box; |
8621 | display: -ms-flexbox; | 8634 | display: -ms-flexbox; |
8622 | display: flex; | 8635 | display: flex; |
8623 | -webkit-box-orient: vertical; | 8636 | -webkit-box-orient: vertical; |
8624 | -webkit-box-direction: normal; | 8637 | -webkit-box-direction: normal; |
8625 | -ms-flex-direction: column; | 8638 | -ms-flex-direction: column; |
8626 | flex-direction: column; | 8639 | flex-direction: column; |
8627 | gap: 10px; | 8640 | gap: 10px; |
8628 | } | 8641 | } |
8629 | .cabinet__export-wrap{ | 8642 | .cabinet__export-wrap{ |
8630 | padding: 10px; | 8643 | padding: 10px; |
8631 | border: 1px #cecece solid; | 8644 | border: 1px #cecece solid; |
8632 | border-radius: 8px; | 8645 | border-radius: 8px; |
8633 | width: 100%; | 8646 | width: 100%; |
8634 | } | 8647 | } |
8635 | .cabinet__export-button-wrap{ | 8648 | .cabinet__export-button-wrap{ |
8636 | max-width: 200px; | 8649 | max-width: 200px; |
8637 | margin-bottom: 10px; | 8650 | margin-bottom: 10px; |
8638 | } | 8651 | } |
8639 | .cabinet__export-options-wrap{ | 8652 | .cabinet__export-options-wrap{ |
8640 | display: flex; | 8653 | display: flex; |
8641 | justify-content: space-between; | 8654 | justify-content: space-between; |
8642 | } | 8655 | } |
8643 | .job-title-list-wrap{ | 8656 | .job-title-list-wrap{ |
8644 | margin-top: 5px; | 8657 | margin-top: 5px; |
8645 | } | 8658 | } |
8646 | .cabinet__export-error{ | 8659 | .cabinet__export-error{ |
8647 | color: red; | 8660 | color: red; |
8648 | } | 8661 | } |
8649 | .flot-image-wrap img{ | 8662 | .flot-image-wrap img{ |
8650 | max-width: 100%; | 8663 | max-width: 100%; |
8651 | max-height: 100%; | 8664 | max-height: 100%; |
8652 | flex: 0 0 auto; | 8665 | flex: 0 0 auto; |
8653 | } | 8666 | } |
8654 | .flot-image-wrap{ | 8667 | .flot-image-wrap{ |
8655 | width: 220px; | 8668 | width: 220px; |
8656 | height: 220px; | 8669 | height: 220px; |
8657 | display: flex; | 8670 | display: flex; |
8658 | justify-content: center; | 8671 | justify-content: center; |
8659 | align-items: center; | 8672 | align-items: center; |
8660 | } | 8673 | } |
8661 | @media (min-width: 768px) { | 8674 | @media (min-width: 768px) { |
8662 | .cabinet__filters { | 8675 | .cabinet__filters { |
8663 | gap: 20px; | 8676 | gap: 20px; |
8664 | } | 8677 | } |
8665 | } | 8678 | } |
8666 | @media (min-width: 1280px) { | 8679 | @media (min-width: 1280px) { |
8667 | .cabinet__filters { | 8680 | .cabinet__filters { |
8668 | -webkit-box-orient: horizontal; | 8681 | -webkit-box-orient: horizontal; |
8669 | -webkit-box-direction: normal; | 8682 | -webkit-box-direction: normal; |
8670 | -ms-flex-direction: row; | 8683 | -ms-flex-direction: row; |
8671 | flex-direction: row; | 8684 | flex-direction: row; |
8672 | -webkit-box-align: start; | 8685 | -webkit-box-align: start; |
8673 | -ms-flex-align: start; | 8686 | -ms-flex-align: start; |
8674 | align-items: flex-start; | 8687 | align-items: flex-start; |
8675 | -webkit-box-pack: justify; | 8688 | -webkit-box-pack: justify; |
8676 | -ms-flex-pack: justify; | 8689 | -ms-flex-pack: justify; |
8677 | justify-content: space-between; | 8690 | justify-content: space-between; |
8678 | } | 8691 | } |
8679 | } | 8692 | } |
8680 | .cabinet__filters-item { | 8693 | .cabinet__filters-item { |
8681 | display: -webkit-box; | 8694 | display: -webkit-box; |
8682 | display: -ms-flexbox; | 8695 | display: -ms-flexbox; |
8683 | display: flex; | 8696 | display: flex; |
8684 | -webkit-box-orient: vertical; | 8697 | -webkit-box-orient: vertical; |
8685 | -webkit-box-direction: normal; | 8698 | -webkit-box-direction: normal; |
8686 | -ms-flex-direction: column; | 8699 | -ms-flex-direction: column; |
8687 | flex-direction: column; | 8700 | flex-direction: column; |
8688 | -webkit-box-align: start; | 8701 | -webkit-box-align: start; |
8689 | -ms-flex-align: start; | 8702 | -ms-flex-align: start; |
8690 | align-items: flex-start; | 8703 | align-items: flex-start; |
8691 | gap: 10px; | 8704 | gap: 10px; |
8692 | } | 8705 | } |
8693 | @media (min-width: 768px) { | 8706 | @media (min-width: 768px) { |
8694 | .cabinet__filters-item { | 8707 | .cabinet__filters-item { |
8695 | gap: 20px; | 8708 | gap: 20px; |
8696 | } | 8709 | } |
8697 | } | 8710 | } |
8698 | @media (min-width: 1280px) { | 8711 | @media (min-width: 1280px) { |
8699 | .cabinet__filters-item { | 8712 | .cabinet__filters-item { |
8700 | width: calc(50% - 10px); | 8713 | width: calc(50% - 10px); |
8701 | max-width: 410px; | 8714 | max-width: 410px; |
8702 | } | 8715 | } |
8703 | } | 8716 | } |
8704 | .cabinet__filters-item .button, | 8717 | .cabinet__filters-item .button, |
8705 | .cabinet__filters-item .select { | 8718 | .cabinet__filters-item .select { |
8706 | width: 100%; | 8719 | width: 100%; |
8707 | } | 8720 | } |
8708 | @media (min-width: 1280px) { | 8721 | @media (min-width: 1280px) { |
8709 | .cabinet__filters-item .button, | 8722 | .cabinet__filters-item .button, |
8710 | .cabinet__filters-item .select { | 8723 | .cabinet__filters-item .select { |
8711 | width: auto; | 8724 | width: auto; |
8712 | } | 8725 | } |
8713 | } | 8726 | } |
8714 | .cabinet__filters-item + .cabinet__filters-item { | 8727 | .cabinet__filters-item + .cabinet__filters-item { |
8715 | -webkit-box-align: end; | 8728 | -webkit-box-align: end; |
8716 | -ms-flex-align: end; | 8729 | -ms-flex-align: end; |
8717 | align-items: flex-end; | 8730 | align-items: flex-end; |
8718 | } | 8731 | } |
8719 | @media (min-width: 1280px) { | 8732 | @media (min-width: 1280px) { |
8720 | .cabinet__filters-item + .cabinet__filters-item { | 8733 | .cabinet__filters-item + .cabinet__filters-item { |
8721 | max-width: 280px; | 8734 | max-width: 280px; |
8722 | } | 8735 | } |
8723 | } | 8736 | } |
8724 | .cabinet__filters .search input { | 8737 | .cabinet__filters .search input { |
8725 | padding-right: 135px; | 8738 | padding-right: 135px; |
8726 | } | 8739 | } |
8727 | .cabinet__filters .search button { | 8740 | .cabinet__filters .search button { |
8728 | width: 115px; | 8741 | width: 115px; |
8729 | } | 8742 | } |
8730 | .cabinet__filters-buttons { | 8743 | .cabinet__filters-buttons { |
8731 | display: grid; | 8744 | display: grid; |
8732 | grid-template-columns: 1fr 1fr; | 8745 | grid-template-columns: 1fr 1fr; |
8733 | gap: 10px; | 8746 | gap: 10px; |
8734 | width: 100%; | 8747 | width: 100%; |
8735 | } | 8748 | } |
8736 | @media (min-width: 768px) { | 8749 | @media (min-width: 768px) { |
8737 | .cabinet__filters-buttons { | 8750 | .cabinet__filters-buttons { |
8738 | gap: 20px; | 8751 | gap: 20px; |
8739 | } | 8752 | } |
8740 | } | 8753 | } |
8741 | .cabinet__filters-buttons .button { | 8754 | .cabinet__filters-buttons .button { |
8742 | padding: 0; | 8755 | padding: 0; |
8743 | gap: 5px; | 8756 | gap: 5px; |
8744 | } | 8757 | } |
8745 | .cabinet__filters-buttons .button.active { | 8758 | .cabinet__filters-buttons .button.active { |
8746 | background: #377d87; | 8759 | background: #377d87; |
8747 | color: #fff; | 8760 | color: #fff; |
8748 | } | 8761 | } |
8749 | .cabinet__filters-buttons .button.active:before { | 8762 | .cabinet__filters-buttons .button.active:before { |
8750 | content: ""; | 8763 | content: ""; |
8751 | width: 6px; | 8764 | width: 6px; |
8752 | height: 6px; | 8765 | height: 6px; |
8753 | background: #fff; | 8766 | background: #fff; |
8754 | border-radius: 999px; | 8767 | border-radius: 999px; |
8755 | } | 8768 | } |
8756 | .cabinet__table-header { | 8769 | .cabinet__table-header { |
8757 | display: -webkit-box; | 8770 | display: -webkit-box; |
8758 | display: -ms-flexbox; | 8771 | display: -ms-flexbox; |
8759 | display: flex; | 8772 | display: flex; |
8760 | -webkit-box-pack: justify; | 8773 | -webkit-box-pack: justify; |
8761 | -ms-flex-pack: justify; | 8774 | -ms-flex-pack: justify; |
8762 | justify-content: space-between; | 8775 | justify-content: space-between; |
8763 | -webkit-box-align: center; | 8776 | -webkit-box-align: center; |
8764 | -ms-flex-align: center; | 8777 | -ms-flex-align: center; |
8765 | align-items: center; | 8778 | align-items: center; |
8766 | font-weight: 700; | 8779 | font-weight: 700; |
8767 | margin-bottom: -10px; | 8780 | margin-bottom: -10px; |
8768 | } | 8781 | } |
8769 | .cabinet__table-header div { | 8782 | .cabinet__table-header div { |
8770 | font-size: 18px; | 8783 | font-size: 18px; |
8771 | } | 8784 | } |
8772 | @media (min-width: 768px) { | 8785 | @media (min-width: 768px) { |
8773 | .cabinet__table-header div { | 8786 | .cabinet__table-header div { |
8774 | font-size: 24px; | 8787 | font-size: 24px; |
8775 | } | 8788 | } |
8776 | } | 8789 | } |
8777 | .cabinet__table-header span { | 8790 | .cabinet__table-header span { |
8778 | color: #000; | 8791 | color: #000; |
8779 | font-size: 14px; | 8792 | font-size: 14px; |
8780 | } | 8793 | } |
8781 | @media (min-width: 768px) { | 8794 | @media (min-width: 768px) { |
8782 | .cabinet__table-header span { | 8795 | .cabinet__table-header span { |
8783 | font-size: 18px; | 8796 | font-size: 18px; |
8784 | } | 8797 | } |
8785 | } | 8798 | } |
8786 | .cabinet__table-header span b { | 8799 | .cabinet__table-header span b { |
8787 | color: #377d87; | 8800 | color: #377d87; |
8788 | } | 8801 | } |
8789 | .cabinet__tabs { | 8802 | .cabinet__tabs { |
8790 | display: grid; | 8803 | display: grid; |
8791 | grid-template-columns: 1fr 1fr; | 8804 | grid-template-columns: 1fr 1fr; |
8792 | gap: 20px; | 8805 | gap: 20px; |
8793 | } | 8806 | } |
8794 | @media (min-width: 768px) { | 8807 | @media (min-width: 768px) { |
8795 | .cabinet__tabs { | 8808 | .cabinet__tabs { |
8796 | max-width: 420px; | 8809 | max-width: 420px; |
8797 | } | 8810 | } |
8798 | } | 8811 | } |
8799 | .cabinet__tabs .button.active { | 8812 | .cabinet__tabs .button.active { |
8800 | background: #377d87; | 8813 | background: #377d87; |
8801 | color: #fff; | 8814 | color: #fff; |
8802 | } | 8815 | } |
8803 | .cabinet__bodies { | 8816 | .cabinet__bodies { |
8804 | display: none; | 8817 | display: none; |
8805 | } | 8818 | } |
8806 | .cabinet__bodies.showed { | 8819 | .cabinet__bodies.showed { |
8807 | display: block; | 8820 | display: block; |
8808 | } | 8821 | } |
8809 | .cabinet__nots { | 8822 | .cabinet__nots { |
8810 | display: -webkit-box; | 8823 | display: -webkit-box; |
8811 | display: -ms-flexbox; | 8824 | display: -ms-flexbox; |
8812 | display: flex; | 8825 | display: flex; |
8813 | -webkit-box-orient: vertical; | 8826 | -webkit-box-orient: vertical; |
8814 | -webkit-box-direction: normal; | 8827 | -webkit-box-direction: normal; |
8815 | -ms-flex-direction: column; | 8828 | -ms-flex-direction: column; |
8816 | flex-direction: column; | 8829 | flex-direction: column; |
8817 | -webkit-box-align: start; | 8830 | -webkit-box-align: start; |
8818 | -ms-flex-align: start; | 8831 | -ms-flex-align: start; |
8819 | align-items: flex-start; | 8832 | align-items: flex-start; |
8820 | gap: 10px; | 8833 | gap: 10px; |
8821 | } | 8834 | } |
8822 | @media (min-width: 768px) { | 8835 | @media (min-width: 768px) { |
8823 | .cabinet__nots { | 8836 | .cabinet__nots { |
8824 | gap: 20px; | 8837 | gap: 20px; |
8825 | } | 8838 | } |
8826 | } | 8839 | } |
8827 | .cabinet__nots .input { | 8840 | .cabinet__nots .input { |
8828 | width: 100%; | 8841 | width: 100%; |
8829 | } | 8842 | } |
8830 | .cabinet__anketa { | 8843 | .cabinet__anketa { |
8831 | display: -webkit-box; | 8844 | display: -webkit-box; |
8832 | display: -ms-flexbox; | 8845 | display: -ms-flexbox; |
8833 | display: flex; | 8846 | display: flex; |
8834 | -webkit-box-orient: vertical; | 8847 | -webkit-box-orient: vertical; |
8835 | -webkit-box-direction: normal; | 8848 | -webkit-box-direction: normal; |
8836 | -ms-flex-direction: column; | 8849 | -ms-flex-direction: column; |
8837 | flex-direction: column; | 8850 | flex-direction: column; |
8838 | -webkit-box-pack: justify; | 8851 | -webkit-box-pack: justify; |
8839 | -ms-flex-pack: justify; | 8852 | -ms-flex-pack: justify; |
8840 | justify-content: space-between; | 8853 | justify-content: space-between; |
8841 | gap: 10px; | 8854 | gap: 10px; |
8842 | } | 8855 | } |
8843 | @media (min-width: 768px) { | 8856 | @media (min-width: 768px) { |
8844 | .cabinet__anketa { | 8857 | .cabinet__anketa { |
8845 | -webkit-box-orient: horizontal; | 8858 | -webkit-box-orient: horizontal; |
8846 | -webkit-box-direction: normal; | 8859 | -webkit-box-direction: normal; |
8847 | -ms-flex-direction: row; | 8860 | -ms-flex-direction: row; |
8848 | flex-direction: row; | 8861 | flex-direction: row; |
8849 | -webkit-box-align: center; | 8862 | -webkit-box-align: center; |
8850 | -ms-flex-align: center; | 8863 | -ms-flex-align: center; |
8851 | align-items: center; | 8864 | align-items: center; |
8852 | } | 8865 | } |
8853 | } | 8866 | } |
8854 | @media (min-width: 992px) { | 8867 | @media (min-width: 992px) { |
8855 | .cabinet__anketa { | 8868 | .cabinet__anketa { |
8856 | -webkit-box-orient: vertical; | 8869 | -webkit-box-orient: vertical; |
8857 | -webkit-box-direction: normal; | 8870 | -webkit-box-direction: normal; |
8858 | -ms-flex-direction: column; | 8871 | -ms-flex-direction: column; |
8859 | flex-direction: column; | 8872 | flex-direction: column; |
8860 | -webkit-box-align: stretch; | 8873 | -webkit-box-align: stretch; |
8861 | -ms-flex-align: stretch; | 8874 | -ms-flex-align: stretch; |
8862 | align-items: stretch; | 8875 | align-items: stretch; |
8863 | } | 8876 | } |
8864 | } | 8877 | } |
8865 | @media (min-width: 1280px) { | 8878 | @media (min-width: 1280px) { |
8866 | .cabinet__anketa { | 8879 | .cabinet__anketa { |
8867 | -webkit-box-orient: horizontal; | 8880 | -webkit-box-orient: horizontal; |
8868 | -webkit-box-direction: normal; | 8881 | -webkit-box-direction: normal; |
8869 | -ms-flex-direction: row; | 8882 | -ms-flex-direction: row; |
8870 | flex-direction: row; | 8883 | flex-direction: row; |
8871 | -webkit-box-align: center; | 8884 | -webkit-box-align: center; |
8872 | -ms-flex-align: center; | 8885 | -ms-flex-align: center; |
8873 | align-items: center; | 8886 | align-items: center; |
8874 | -webkit-box-pack: justify; | 8887 | -webkit-box-pack: justify; |
8875 | -ms-flex-pack: justify; | 8888 | -ms-flex-pack: justify; |
8876 | justify-content: space-between; | 8889 | justify-content: space-between; |
8877 | } | 8890 | } |
8878 | } | 8891 | } |
8879 | .cabinet__anketa-buttons { | 8892 | .cabinet__anketa-buttons { |
8880 | display: -webkit-box; | 8893 | display: -webkit-box; |
8881 | display: -ms-flexbox; | 8894 | display: -ms-flexbox; |
8882 | display: flex; | 8895 | display: flex; |
8883 | -webkit-box-orient: vertical; | 8896 | -webkit-box-orient: vertical; |
8884 | -webkit-box-direction: normal; | 8897 | -webkit-box-direction: normal; |
8885 | -ms-flex-direction: column; | 8898 | -ms-flex-direction: column; |
8886 | flex-direction: column; | 8899 | flex-direction: column; |
8887 | gap: 10px; | 8900 | gap: 10px; |
8888 | } | 8901 | } |
8889 | @media (min-width: 768px) { | 8902 | @media (min-width: 768px) { |
8890 | .cabinet__anketa-buttons { | 8903 | .cabinet__anketa-buttons { |
8891 | display: grid; | 8904 | display: grid; |
8892 | grid-template-columns: 1fr 1fr; | 8905 | grid-template-columns: 1fr 1fr; |
8893 | gap: 20px; | 8906 | gap: 20px; |
8894 | } | 8907 | } |
8895 | } | 8908 | } |
8896 | .cabinet__stats { | 8909 | .cabinet__stats { |
8897 | display: -webkit-box; | 8910 | display: -webkit-box; |
8898 | display: -ms-flexbox; | 8911 | display: -ms-flexbox; |
8899 | display: flex; | 8912 | display: flex; |
8900 | -webkit-box-orient: vertical; | 8913 | -webkit-box-orient: vertical; |
8901 | -webkit-box-direction: normal; | 8914 | -webkit-box-direction: normal; |
8902 | -ms-flex-direction: column; | 8915 | -ms-flex-direction: column; |
8903 | flex-direction: column; | 8916 | flex-direction: column; |
8904 | gap: 6px; | 8917 | gap: 6px; |
8905 | } | 8918 | } |
8906 | @media (min-width: 768px) { | 8919 | @media (min-width: 768px) { |
8907 | .cabinet__stats { | 8920 | .cabinet__stats { |
8908 | gap: 12px; | 8921 | gap: 12px; |
8909 | } | 8922 | } |
8910 | } | 8923 | } |
8911 | .cabinet__stats-title { | 8924 | .cabinet__stats-title { |
8912 | font-size: 14px; | 8925 | font-size: 14px; |
8913 | font-weight: 700; | 8926 | font-weight: 700; |
8914 | color: #000; | 8927 | color: #000; |
8915 | } | 8928 | } |
8916 | @media (min-width: 768px) { | 8929 | @media (min-width: 768px) { |
8917 | .cabinet__stats-title { | 8930 | .cabinet__stats-title { |
8918 | font-size: 24px; | 8931 | font-size: 24px; |
8919 | } | 8932 | } |
8920 | } | 8933 | } |
8921 | .cabinet__stats-body { | 8934 | .cabinet__stats-body { |
8922 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 8935 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
8923 | border-radius: 8px; | 8936 | border-radius: 8px; |
8924 | padding: 10px; | 8937 | padding: 10px; |
8925 | display: grid; | 8938 | display: grid; |
8926 | grid-template-columns: 1fr 1fr; | 8939 | grid-template-columns: 1fr 1fr; |
8927 | gap: 20px; | 8940 | gap: 20px; |
8928 | margin-bottom: 10px; | 8941 | margin-bottom: 10px; |
8929 | } | 8942 | } |
8930 | @media (min-width: 768px) { | 8943 | @media (min-width: 768px) { |
8931 | .cabinet__stats-body { | 8944 | .cabinet__stats-body { |
8932 | padding: 10px 20px; | 8945 | padding: 10px 20px; |
8933 | } | 8946 | } |
8934 | } | 8947 | } |
8935 | .cabinet__stats-item { | 8948 | .cabinet__stats-item { |
8936 | font-size: 12px; | 8949 | font-size: 12px; |
8937 | display: -webkit-box; | 8950 | display: -webkit-box; |
8938 | display: -ms-flexbox; | 8951 | display: -ms-flexbox; |
8939 | display: flex; | 8952 | display: flex; |
8940 | -webkit-box-align: center; | 8953 | -webkit-box-align: center; |
8941 | -ms-flex-align: center; | 8954 | -ms-flex-align: center; |
8942 | align-items: center; | 8955 | align-items: center; |
8943 | line-height: 1; | 8956 | line-height: 1; |
8944 | gap: 6px; | 8957 | gap: 6px; |
8945 | } | 8958 | } |
8946 | @media (min-width: 768px) { | 8959 | @media (min-width: 768px) { |
8947 | .cabinet__stats-item { | 8960 | .cabinet__stats-item { |
8948 | font-size: 20px; | 8961 | font-size: 20px; |
8949 | gap: 10px; | 8962 | gap: 10px; |
8950 | } | 8963 | } |
8951 | } | 8964 | } |
8952 | .cabinet__stats-item svg { | 8965 | .cabinet__stats-item svg { |
8953 | width: 20px; | 8966 | width: 20px; |
8954 | aspect-ratio: 1/1; | 8967 | aspect-ratio: 1/1; |
8955 | color: #377d87; | 8968 | color: #377d87; |
8956 | } | 8969 | } |
8957 | @media (min-width: 768px) { | 8970 | @media (min-width: 768px) { |
8958 | .cabinet__stats-item svg { | 8971 | .cabinet__stats-item svg { |
8959 | width: 40px; | 8972 | width: 40px; |
8960 | margin-right: 10px; | 8973 | margin-right: 10px; |
8961 | } | 8974 | } |
8962 | } | 8975 | } |
8963 | .cabinet__stats-item span { | 8976 | .cabinet__stats-item span { |
8964 | font-weight: 700; | 8977 | font-weight: 700; |
8965 | color: #000; | 8978 | color: #000; |
8966 | } | 8979 | } |
8967 | .cabinet__stats-item b { | 8980 | .cabinet__stats-item b { |
8968 | color: #377d87; | 8981 | color: #377d87; |
8969 | font-size: 14px; | 8982 | font-size: 14px; |
8970 | } | 8983 | } |
8971 | @media (min-width: 768px) { | 8984 | @media (min-width: 768px) { |
8972 | .cabinet__stats-item b { | 8985 | .cabinet__stats-item b { |
8973 | font-size: 24px; | 8986 | font-size: 24px; |
8974 | } | 8987 | } |
8975 | } | 8988 | } |
8976 | .cabinet__stats-subtitle { | 8989 | .cabinet__stats-subtitle { |
8977 | font-size: 14px; | 8990 | font-size: 14px; |
8978 | font-weight: 700; | 8991 | font-weight: 700; |
8979 | color: #377d87; | 8992 | color: #377d87; |
8980 | } | 8993 | } |
8981 | @media (min-width: 768px) { | 8994 | @media (min-width: 768px) { |
8982 | .cabinet__stats-subtitle { | 8995 | .cabinet__stats-subtitle { |
8983 | font-size: 18px; | 8996 | font-size: 18px; |
8984 | } | 8997 | } |
8985 | } | 8998 | } |
8986 | .cabinet__stats-line { | 8999 | .cabinet__stats-line { |
8987 | width: 100%; | 9000 | width: 100%; |
8988 | position: relative; | 9001 | position: relative; |
8989 | overflow: hidden; | 9002 | overflow: hidden; |
8990 | height: 8px; | 9003 | height: 8px; |
8991 | border-radius: 999px; | 9004 | border-radius: 999px; |
8992 | background: #cecece; | 9005 | background: #cecece; |
8993 | } | 9006 | } |
8994 | .cabinet__stats-line span { | 9007 | .cabinet__stats-line span { |
8995 | position: absolute; | 9008 | position: absolute; |
8996 | top: 0; | 9009 | top: 0; |
8997 | left: 0; | 9010 | left: 0; |
8998 | width: 100%; | 9011 | width: 100%; |
8999 | height: 100%; | 9012 | height: 100%; |
9000 | background: #377d87; | 9013 | background: #377d87; |
9001 | border-radius: 999px; | 9014 | border-radius: 999px; |
9002 | } | 9015 | } |
9003 | .cabinet__stats-bottom { | 9016 | .cabinet__stats-bottom { |
9004 | color: #000; | 9017 | color: #000; |
9005 | font-size: 12px; | 9018 | font-size: 12px; |
9006 | } | 9019 | } |
9007 | @media (min-width: 768px) { | 9020 | @media (min-width: 768px) { |
9008 | .cabinet__stats-bottom { | 9021 | .cabinet__stats-bottom { |
9009 | font-size: 16px; | 9022 | font-size: 16px; |
9010 | } | 9023 | } |
9011 | } | 9024 | } |
9012 | .cabinet__works { | 9025 | .cabinet__works { |
9013 | display: -webkit-box; | 9026 | display: -webkit-box; |
9014 | display: -ms-flexbox; | 9027 | display: -ms-flexbox; |
9015 | display: flex; | 9028 | display: flex; |
9016 | -webkit-box-orient: vertical; | 9029 | -webkit-box-orient: vertical; |
9017 | -webkit-box-direction: normal; | 9030 | -webkit-box-direction: normal; |
9018 | -ms-flex-direction: column; | 9031 | -ms-flex-direction: column; |
9019 | flex-direction: column; | 9032 | flex-direction: column; |
9020 | gap: 20px; | 9033 | gap: 20px; |
9021 | } | 9034 | } |
9022 | @media (min-width: 768px) { | 9035 | @media (min-width: 768px) { |
9023 | .cabinet__works { | 9036 | .cabinet__works { |
9024 | gap: 30px; | 9037 | gap: 30px; |
9025 | } | 9038 | } |
9026 | } | 9039 | } |
9027 | .cabinet__works-item { | 9040 | .cabinet__works-item { |
9028 | border-bottom: 1px #cccccc solid; | 9041 | border-bottom: 1px #cccccc solid; |
9029 | padding-bottom: 35px; | 9042 | padding-bottom: 35px; |
9030 | } | 9043 | } |
9031 | .cabinet__works-spoiler { | 9044 | .cabinet__works-spoiler { |
9032 | display: -webkit-box; | 9045 | display: -webkit-box; |
9033 | display: -ms-flexbox; | 9046 | display: -ms-flexbox; |
9034 | display: flex; | 9047 | display: flex; |
9035 | -webkit-box-align: center; | 9048 | -webkit-box-align: center; |
9036 | -ms-flex-align: center; | 9049 | -ms-flex-align: center; |
9037 | align-items: center; | 9050 | align-items: center; |
9038 | -webkit-box-pack: justify; | 9051 | -webkit-box-pack: justify; |
9039 | -ms-flex-pack: justify; | 9052 | -ms-flex-pack: justify; |
9040 | justify-content: space-between; | 9053 | justify-content: space-between; |
9041 | } | 9054 | } |
9042 | .cabinet__works-spoiler-left { | 9055 | .cabinet__works-spoiler-left { |
9043 | display: -webkit-box; | 9056 | display: -webkit-box; |
9044 | display: -ms-flexbox; | 9057 | display: -ms-flexbox; |
9045 | display: flex; | 9058 | display: flex; |
9046 | -webkit-box-align: center; | 9059 | -webkit-box-align: center; |
9047 | -ms-flex-align: center; | 9060 | -ms-flex-align: center; |
9048 | align-items: center; | 9061 | align-items: center; |
9049 | width: calc(100% - 22px); | 9062 | width: calc(100% - 22px); |
9050 | } | 9063 | } |
9051 | .cabinet__works-spoiler-right { | 9064 | .cabinet__works-spoiler-right { |
9052 | width: 22px; | 9065 | width: 22px; |
9053 | height: 22px; | 9066 | height: 22px; |
9054 | display: -webkit-box; | 9067 | display: -webkit-box; |
9055 | display: -ms-flexbox; | 9068 | display: -ms-flexbox; |
9056 | display: flex; | 9069 | display: flex; |
9057 | -webkit-box-align: center; | 9070 | -webkit-box-align: center; |
9058 | -ms-flex-align: center; | 9071 | -ms-flex-align: center; |
9059 | align-items: center; | 9072 | align-items: center; |
9060 | -webkit-box-pack: center; | 9073 | -webkit-box-pack: center; |
9061 | -ms-flex-pack: center; | 9074 | -ms-flex-pack: center; |
9062 | justify-content: center; | 9075 | justify-content: center; |
9063 | color: #377d87; | 9076 | color: #377d87; |
9064 | padding: 0; | 9077 | padding: 0; |
9065 | background: none; | 9078 | background: none; |
9066 | border: none; | 9079 | border: none; |
9067 | } | 9080 | } |
9068 | .cabinet__works-spoiler-right svg { | 9081 | .cabinet__works-spoiler-right svg { |
9069 | width: 60%; | 9082 | width: 60%; |
9070 | aspect-ratio: 1/1; | 9083 | aspect-ratio: 1/1; |
9071 | -webkit-transform: rotate(90deg); | 9084 | -webkit-transform: rotate(90deg); |
9072 | -ms-transform: rotate(90deg); | 9085 | -ms-transform: rotate(90deg); |
9073 | transform: rotate(90deg); | 9086 | transform: rotate(90deg); |
9074 | -webkit-transition: 0.3s; | 9087 | -webkit-transition: 0.3s; |
9075 | transition: 0.3s; | 9088 | transition: 0.3s; |
9076 | } | 9089 | } |
9077 | .cabinet__works-spoiler.active .cabinet__works-spoiler-right svg { | 9090 | .cabinet__works-spoiler.active .cabinet__works-spoiler-right svg { |
9078 | -webkit-transform: rotate(-90deg); | 9091 | -webkit-transform: rotate(-90deg); |
9079 | -ms-transform: rotate(-90deg); | 9092 | -ms-transform: rotate(-90deg); |
9080 | transform: rotate(-90deg); | 9093 | transform: rotate(-90deg); |
9081 | } | 9094 | } |
9082 | .cabinet__works-spoiler-buttons { | 9095 | .cabinet__works-spoiler-buttons { |
9083 | display: -webkit-box; | 9096 | display: -webkit-box; |
9084 | display: -ms-flexbox; | 9097 | display: -ms-flexbox; |
9085 | display: flex; | 9098 | display: flex; |
9086 | -webkit-box-align: center; | 9099 | -webkit-box-align: center; |
9087 | -ms-flex-align: center; | 9100 | -ms-flex-align: center; |
9088 | align-items: center; | 9101 | align-items: center; |
9089 | -webkit-box-pack: justify; | 9102 | -webkit-box-pack: justify; |
9090 | -ms-flex-pack: justify; | 9103 | -ms-flex-pack: justify; |
9091 | justify-content: space-between; | 9104 | justify-content: space-between; |
9092 | width: 60px; | 9105 | width: 60px; |
9093 | } | 9106 | } |
9094 | @media (min-width: 768px) { | 9107 | @media (min-width: 768px) { |
9095 | .cabinet__works-spoiler-buttons { | 9108 | .cabinet__works-spoiler-buttons { |
9096 | width: 74px; | 9109 | width: 74px; |
9097 | } | 9110 | } |
9098 | } | 9111 | } |
9099 | .cabinet__works-spoiler-buttons .button { | 9112 | .cabinet__works-spoiler-buttons .button { |
9100 | width: 22px; | 9113 | width: 22px; |
9101 | height: 22px; | 9114 | height: 22px; |
9102 | padding: 0; | 9115 | padding: 0; |
9103 | } | 9116 | } |
9104 | @media (min-width: 768px) { | 9117 | @media (min-width: 768px) { |
9105 | .cabinet__works-spoiler-buttons .button { | 9118 | .cabinet__works-spoiler-buttons .button { |
9106 | width: 30px; | 9119 | width: 30px; |
9107 | height: 30px; | 9120 | height: 30px; |
9108 | } | 9121 | } |
9109 | } | 9122 | } |
9110 | .cabinet__works-spoiler-text { | 9123 | .cabinet__works-spoiler-text { |
9111 | width: calc(100% - 60px); | 9124 | width: calc(100% - 60px); |
9112 | font-size: 17px; | 9125 | font-size: 17px; |
9113 | font-weight: 700; | 9126 | font-weight: 700; |
9114 | color: #000; | 9127 | color: #000; |
9115 | } | 9128 | } |
9116 | @media (min-width: 768px) { | 9129 | @media (min-width: 768px) { |
9117 | .cabinet__works-spoiler-text { | 9130 | .cabinet__works-spoiler-text { |
9118 | width: calc(100% - 74px); | 9131 | width: calc(100% - 74px); |
9119 | font-size: 22px; | 9132 | font-size: 22px; |
9120 | } | 9133 | } |
9121 | } | 9134 | } |
9122 | 9135 | ||
9123 | .cabinet__works-add { | 9136 | .cabinet__works-add { |
9124 | padding: 0; | 9137 | padding: 0; |
9125 | width: 100%; | 9138 | width: 100%; |
9126 | max-width: 160px; | 9139 | max-width: 160px; |
9127 | } | 9140 | } |
9128 | @media (min-width: 768px) { | 9141 | @media (min-width: 768px) { |
9129 | .cabinet__works-add { | 9142 | .cabinet__works-add { |
9130 | max-width: 220px; | 9143 | max-width: 220px; |
9131 | } | 9144 | } |
9132 | } | 9145 | } |
9133 | .cabinet__buttons { | 9146 | .cabinet__buttons { |
9134 | display: -webkit-box; | 9147 | display: -webkit-box; |
9135 | display: -ms-flexbox; | 9148 | display: -ms-flexbox; |
9136 | display: flex; | 9149 | display: flex; |
9137 | -webkit-box-orient: vertical; | 9150 | -webkit-box-orient: vertical; |
9138 | -webkit-box-direction: normal; | 9151 | -webkit-box-direction: normal; |
9139 | -ms-flex-direction: column; | 9152 | -ms-flex-direction: column; |
9140 | flex-direction: column; | 9153 | flex-direction: column; |
9141 | -webkit-box-align: center; | 9154 | -webkit-box-align: center; |
9142 | -ms-flex-align: center; | 9155 | -ms-flex-align: center; |
9143 | align-items: center; | 9156 | align-items: center; |
9144 | gap: 10px; | 9157 | gap: 10px; |
9145 | } | 9158 | } |
9146 | @media (min-width: 768px) { | 9159 | @media (min-width: 768px) { |
9147 | .cabinet__buttons { | 9160 | .cabinet__buttons { |
9148 | display: grid; | 9161 | display: grid; |
9149 | grid-template-columns: 1fr 1fr; | 9162 | grid-template-columns: 1fr 1fr; |
9150 | gap: 20px; | 9163 | gap: 20px; |
9151 | } | 9164 | } |
9152 | } | 9165 | } |
9153 | .cabinet__buttons .button, | 9166 | .cabinet__buttons .button, |
9154 | .cabinet__buttons .file { | 9167 | .cabinet__buttons .file { |
9155 | padding: 0; | 9168 | padding: 0; |
9156 | width: 100%; | 9169 | width: 100%; |
9157 | max-width: 140px; | 9170 | max-width: 140px; |
9158 | } | 9171 | } |
9159 | @media (min-width: 768px) { | 9172 | @media (min-width: 768px) { |
9160 | .cabinet__buttons .button, | 9173 | .cabinet__buttons .button, |
9161 | .cabinet__buttons .file { | 9174 | .cabinet__buttons .file { |
9162 | max-width: none; | 9175 | max-width: none; |
9163 | } | 9176 | } |
9164 | } | 9177 | } |
9165 | @media (min-width: 768px) { | 9178 | @media (min-width: 768px) { |
9166 | .cabinet__buttons { | 9179 | .cabinet__buttons { |
9167 | gap: 20px; | 9180 | gap: 20px; |
9168 | } | 9181 | } |
9169 | } | 9182 | } |
9170 | @media (min-width: 1280px) { | 9183 | @media (min-width: 1280px) { |
9171 | .cabinet__buttons { | 9184 | .cabinet__buttons { |
9172 | max-width: 400px; | 9185 | max-width: 400px; |
9173 | } | 9186 | } |
9174 | } | 9187 | } |
9175 | .cabinet__buttons_flex{ | 9188 | .cabinet__buttons_flex{ |
9176 | display: flex; | 9189 | display: flex; |
9177 | } | 9190 | } |
9178 | .cabinet__buttons_flex > *{ | 9191 | .cabinet__buttons_flex > *{ |
9179 | margin-right: 10px; | 9192 | margin-right: 10px; |
9180 | } | 9193 | } |
9181 | .cabinet__vacs { | 9194 | .cabinet__vacs { |
9182 | display: -webkit-box; | 9195 | display: -webkit-box; |
9183 | display: -ms-flexbox; | 9196 | display: -ms-flexbox; |
9184 | display: flex; | 9197 | display: flex; |
9185 | -webkit-box-orient: vertical; | 9198 | -webkit-box-orient: vertical; |
9186 | -webkit-box-direction: reverse; | 9199 | -webkit-box-direction: reverse; |
9187 | -ms-flex-direction: column-reverse; | 9200 | -ms-flex-direction: column-reverse; |
9188 | flex-direction: column-reverse; | 9201 | flex-direction: column-reverse; |
9189 | -webkit-box-align: center; | 9202 | -webkit-box-align: center; |
9190 | -ms-flex-align: center; | 9203 | -ms-flex-align: center; |
9191 | align-items: center; | 9204 | align-items: center; |
9192 | gap: 20px; | 9205 | gap: 20px; |
9193 | } | 9206 | } |
9194 | .cabinet__vacs-body { | 9207 | .cabinet__vacs-body { |
9195 | display: -webkit-box; | 9208 | display: -webkit-box; |
9196 | display: -ms-flexbox; | 9209 | display: -ms-flexbox; |
9197 | display: flex; | 9210 | display: flex; |
9198 | -webkit-box-orient: vertical; | 9211 | -webkit-box-orient: vertical; |
9199 | -webkit-box-direction: normal; | 9212 | -webkit-box-direction: normal; |
9200 | -ms-flex-direction: column; | 9213 | -ms-flex-direction: column; |
9201 | flex-direction: column; | 9214 | flex-direction: column; |
9202 | gap: 20px; | 9215 | gap: 20px; |
9203 | width: 100%; | 9216 | width: 100%; |
9204 | } | 9217 | } |
9205 | @media (min-width: 768px) { | 9218 | @media (min-width: 768px) { |
9206 | .cabinet__vacs-body { | 9219 | .cabinet__vacs-body { |
9207 | gap: 30px; | 9220 | gap: 30px; |
9208 | } | 9221 | } |
9209 | } | 9222 | } |
9210 | .cabinet__vacs-item { | 9223 | .cabinet__vacs-item { |
9211 | display: none; | 9224 | display: none; |
9212 | background: #fff; | 9225 | background: #fff; |
9213 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 9226 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
9214 | 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); |
9215 | } | 9228 | } |
9216 | .cabinet__vacs-item:nth-of-type(1), .cabinet__vacs-item:nth-of-type(2) { | 9229 | .cabinet__vacs-item:nth-of-type(1), .cabinet__vacs-item:nth-of-type(2) { |
9217 | display: -webkit-box; | 9230 | display: -webkit-box; |
9218 | display: -ms-flexbox; | 9231 | display: -ms-flexbox; |
9219 | display: flex; | 9232 | display: flex; |
9220 | } | 9233 | } |
9221 | .cabinet__vacs.active .cabinet__vacs-item { | 9234 | .cabinet__vacs.active .cabinet__vacs-item { |
9222 | display: -webkit-box; | 9235 | display: -webkit-box; |
9223 | display: -ms-flexbox; | 9236 | display: -ms-flexbox; |
9224 | display: flex; | 9237 | display: flex; |
9225 | } | 9238 | } |
9226 | .main__employer-page-two-item-text-body img { | 9239 | .main__employer-page-two-item-text-body img { |
9227 | display: inline !important; | 9240 | display: inline !important; |
9228 | border: none !important; | 9241 | border: none !important; |
9229 | box-shadow: none !important; | 9242 | box-shadow: none !important; |
9230 | height: 1em !important; | 9243 | height: 1em !important; |
9231 | width: 1em !important; | 9244 | width: 1em !important; |
9232 | margin: 0 0.07em !important; | 9245 | margin: 0 0.07em !important; |
9233 | vertical-align: -0.1em !important; | 9246 | vertical-align: -0.1em !important; |
9234 | background: none !important; | 9247 | background: none !important; |
9235 | padding: 0 !important; | 9248 | padding: 0 !important; |
9236 | } | 9249 | } |
9237 | .main__employer-page-two-item-text-body p{ | 9250 | .main__employer-page-two-item-text-body p{ |
9238 | margin: 0 0 20px; | 9251 | margin: 0 0 20px; |
9239 | } | 9252 | } |
9240 | #sertificate .one-sertificate{ | 9253 | #sertificate .one-sertificate{ |
9241 | display: flex; | 9254 | display: flex; |
9242 | justify-content: space-between; | 9255 | justify-content: space-between; |
9243 | margin-bottom: 15px; | 9256 | margin-bottom: 15px; |
9244 | border-bottom: 1px #ccc solid; | 9257 | border-bottom: 1px #ccc solid; |
9245 | padding-bottom: 15px; | 9258 | padding-bottom: 15px; |
9246 | } | 9259 | } |
9247 | #sertificate .one-sertificate .sertificate-field{ | 9260 | #sertificate .one-sertificate .sertificate-field{ |
9248 | display: block; | 9261 | display: block; |
9249 | } | 9262 | } |
9250 | #sertificate .one-sertificate .sertificate-field.sertificate-name{ | 9263 | #sertificate .one-sertificate .sertificate-field.sertificate-name{ |
9251 | width: 50%; | 9264 | width: 50%; |
9252 | max-width: 50%; | 9265 | max-width: 50%; |
9253 | } | 9266 | } |
9254 | #sertificate .one-sertificate .sertificate-field.sertificate-buttons{ | 9267 | #sertificate .one-sertificate .sertificate-field.sertificate-buttons{ |
9255 | display: flex; | 9268 | display: flex; |
9256 | justify-content: space-between; | 9269 | justify-content: space-between; |
9257 | } | 9270 | } |
9258 | #sertificate .one-sertificate .sertificate-field.sertificate-buttons a{ | 9271 | #sertificate .one-sertificate .sertificate-field.sertificate-buttons a{ |
9259 | width: 30px; | 9272 | width: 30px; |
9260 | height: 30px; | 9273 | height: 30px; |
9261 | padding: 5px; | 9274 | padding: 5px; |
9262 | } | 9275 | } |
9263 | #prev_worker .cabinet__inputs-item-buttons a{ | 9276 | #prev_worker .cabinet__inputs-item-buttons a{ |
9264 | width: 30px; | 9277 | width: 30px; |
9265 | height: 30px; | 9278 | height: 30px; |
9266 | padding: 5px; | 9279 | padding: 5px; |
9267 | } | 9280 | } |
9268 | #prev_worker .cabinet__inputs-item-buttons{ | 9281 | #prev_worker .cabinet__inputs-item-buttons{ |
9269 | width: 100px; | 9282 | width: 100px; |
9270 | } | 9283 | } |
9271 | #prev_worker .cabinet__inputs{ | 9284 | #prev_worker .cabinet__inputs{ |
9272 | -webkit-box-align: start; | 9285 | -webkit-box-align: start; |
9273 | -ms-flex-align: start; | 9286 | -ms-flex-align: start; |
9274 | align-items: start; | 9287 | align-items: start; |
9275 | } | 9288 | } |
9276 | #prev_worker .cabinet__inputs-item-buttons flex{ | 9289 | #prev_worker .cabinet__inputs-item-buttons flex{ |
9277 | justify-content: end; | 9290 | justify-content: end; |
9278 | } | 9291 | } |
9279 | #prev_worker .cabinet__body-item{ | 9292 | #prev_worker .cabinet__body-item{ |
9280 | border-bottom: 1px #cccccc solid; | 9293 | border-bottom: 1px #cccccc solid; |
9281 | padding-bottom: 25px; | 9294 | padding-bottom: 25px; |
9282 | } | 9295 | } |
9283 | @media (max-width: 1280px) { | 9296 | @media (max-width: 1280px) { |
9284 | #prev_worker .cabinet__inputs-item-buttons{ | 9297 | #prev_worker .cabinet__inputs-item-buttons{ |
9285 | position: absolute; | 9298 | position: absolute; |
9286 | right: 0; | 9299 | right: 0; |
9287 | } | 9300 | } |
9288 | } | 9301 | } |
9289 | body .cke_notifications_area{ | 9302 | body .cke_notifications_area{ |
9290 | opacity: 0; | 9303 | opacity: 0; |
9291 | display: none !important; | 9304 | display: none !important; |
9292 | } | 9305 | } |
9293 | .unread-messages-count{ | 9306 | .unread-messages-count{ |
9294 | background-color: #377d87; | 9307 | background-color: #377d87; |
9295 | color: #fff; | 9308 | color: #fff; |
9296 | padding: 5px 10px; | 9309 | padding: 5px 10px; |
9297 | border-radius: 45px; | 9310 | border-radius: 45px; |
9298 | } | 9311 | } |
9299 | 9312 | ||
9300 | .flot-one-ship .flot-label{ | 9313 | .flot-one-ship .flot-label{ |
9301 | font-weight: bold; | 9314 | font-weight: bold; |
9302 | display: flex; | 9315 | display: flex; |
9303 | } | 9316 | } |
9304 | .flot-one-ship .flot-label .flot-label-name{ | 9317 | .flot-one-ship .flot-label .flot-label-name{ |
9305 | color: #377d87; | 9318 | color: #377d87; |
9306 | min-width: 120px; | 9319 | min-width: 120px; |
9307 | } | 9320 | } |
9308 | 9321 |
resources/views/chats/chats_list.blade.php
1 | @if ($chats->count()) | 1 | @if ($chats->count()) |
2 | @csrf | 2 | @csrf |
3 | |||
4 | @if($admin_chat) | ||
5 | <div class="messages__item hover-shadow admin-chat-wrap"> | ||
6 | <a class="messages__item-info" href="{{ route($user_type . '.dialog', ['chat' => $admin_chat->id]) }}"> | ||
7 | @include('svg.logo_icon') | ||
8 | <div class="messages__item-text"> | ||
9 | <div> | ||
10 | <b>Администратор сайта</b> | ||
11 | </div> | ||
12 | <div> | ||
13 | {{ $admin_chat->last_message->text }} | ||
14 | </div> | ||
15 | </div> | ||
16 | </a> | ||
17 | |||
18 | <div class="messages__item-actions" data-chat-id="{{ $admin_chat->id }}"> | ||
19 | <div class="messages__item-date max-content">{{ date(' H:i, d.m.Y', strtotime($admin_chat->created_at)) }}</div> | ||
20 | </div> | ||
21 | </div> | ||
22 | @endif | ||
23 | |||
3 | @foreach($chats as $chat) | 24 | @foreach($chats as $chat) |
4 | <div class="messages__item hover-shadow {{ intval($chat->is_fixed) == 1 ? 'chat-fixed' : '' }}"> | 25 | <div class="messages__item hover-shadow {{ intval($chat->is_fixed) == 1 ? 'chat-fixed' : '' }}"> |
5 | <a class="messages__item-info" href="{{ route($user_type . '.dialog', ['user1' => $chat->user_id, 'user2' => $chat->to_user_id, 'ad_employer' => 0]) }}"> | 26 | <a class="messages__item-info" href="{{ route($user_type . '.dialog', ['chat' => $chat->id]) }}"> |
6 | <div class="messages__item-photo"> | 27 | <div class="messages__item-photo"> |
7 | @if (isset($chat->employer->logo)) | 28 | @if (isset($chat->employer->logo)) |
8 | <img src="{{ asset(Storage::url($chat->employer->logo)) }}" alt=""> | 29 | <img src="{{ asset(Storage::url($chat->employer->logo)) }}" alt=""> |
9 | @elseif(isset($chat->worker->photo)) | 30 | @elseif(isset($chat->worker->photo)) |
10 | <img src="{{ asset(Storage::url($chat->worker->photo)) }}" alt=""> | 31 | <img src="{{ asset(Storage::url($chat->worker->photo)) }}" alt=""> |
11 | @else | 32 | @else |
12 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | 33 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> |
13 | @endif | 34 | @endif |
14 | </div> | 35 | </div> |
15 | <div class="messages__item-text"> | 36 | <div class="messages__item-text"> |
16 | <div> | 37 | <div> |
17 | <b> | 38 | <b> |
18 | @if ($chat->employer && $chat->employer->name_company) | 39 | @if ($chat->employer && $chat->employer->name_company) |
19 | {{ $chat->employer->name_company }} | 40 | {{ $chat->employer->name_company }} |
20 | @else | 41 | @else |
21 | {{ $chat->user->surname . ' ' . $chat->user->name_man . ' ' . $chat->user->surname2 }} | 42 | {{ $chat->user->surname . ' ' . $chat->user->name_man . ' ' . $chat->user->surname2 }} |
22 | @endif | 43 | @endif |
23 | </b> | 44 | </b> |
24 | </div> | 45 | </div> |
25 | <div> | 46 | <div> |
26 | {{ $chat->last_message->text }} | 47 | {{ $chat->last_message->text }} |
27 | </div> | 48 | </div> |
28 | </div> | 49 | </div> |
29 | </a> | 50 | </a> |
30 | 51 | ||
31 | <div class="messages__item-actions" data-chat-id="{{ $chat->id }}"> | 52 | <div class="messages__item-actions" data-chat-id="{{ $chat->id }}"> |
32 | <div class="messages__item-date max-content">{{ date(' H:i, d.m.Y', strtotime($chat->created_at)) }}</div> | 53 | <div class="messages__item-date max-content">{{ date(' H:i, d.m.Y', strtotime($chat->created_at)) }}</div> |
33 | <div class="messages__item-buttons"> | 54 | <div class="messages__item-buttons"> |
34 | @if($chat->unread_messages_count > 0) | 55 | @if($chat->unread_messages_count > 0) |
35 | <div class="unread-messages-count mr-15">{{ $chat->unread_messages_count }}</div> | 56 | <div class="unread-messages-count mr-15">{{ $chat->unread_messages_count }}</div> |
36 | @endif | 57 | @endif |
37 | 58 | ||
38 | <button class="pin-chat {{ intval($chat->is_fixed) == 1 ? 'pin-on' : 'pin-off' }} mr-15"> | 59 | <button class="pin-chat {{ intval($chat->is_fixed) == 1 ? 'pin-on' : 'pin-off' }} mr-15"> |
39 | @include('svg.pin_off') | 60 | @include('svg.pin_off') |
40 | </button> | 61 | </button> |
41 | <button class="remove-chat" data-fancybox data-src="#remove_chat"> | 62 | <button class="remove-chat" data-fancybox data-src="#remove_chat"> |
42 | <svg> | 63 | <svg> |
43 | <use xlink:href="{{ asset('images/sprite.svg#del') }}"></use> | 64 | <use xlink:href="{{ asset('images/sprite.svg#del') }}"></use> |
44 | </svg> | 65 | </svg> |
45 | </button> | 66 | </button> |
46 | </div> | 67 | </div> |
47 | <div class="clear"></div> | 68 | <div class="clear"></div> |
48 | </div> | 69 | </div> |
49 | </div> | 70 | </div> |
50 | @endforeach | 71 | @endforeach |
51 | <div style="margin-top: 20px"> | 72 | <div style="margin-top: 20px"> |
52 | {{ $chats->onEachSide(0)->appends($_GET)->links('paginate') }} | 73 | {{ $chats->onEachSide(0)->appends($_GET)->links('paginate') }} |
53 | </div><!-- конец --> | 74 | </div><!-- конец --> |
54 | @else | 75 | @else |
55 | <div class="notify"> | 76 | <div class="notify"> |
56 | <svg> | 77 | <svg> |
57 | <use xlink:href="{{ asset('images/sprite.svg#i') }}"></use> | 78 | <use xlink:href="{{ asset('images/sprite.svg#i') }}"></use> |
58 | </svg> | 79 | </svg> |
59 | <span>Сообщений не найдено</span> | 80 | <span>Сообщений не найдено</span> |
60 | </div> | 81 | </div> |
61 | @endif | 82 | @endif |
62 | 83 | ||
63 | <script> | 84 | <script> |
64 | $(function (){ | 85 | $(function (){ |
65 | $('.pin-chat').click(function(){ | 86 | $('.pin-chat').click(function(){ |
66 | var this_btn = $(this); | 87 | var this_btn = $(this); |
67 | var chat_id = this_btn.closest('.messages__item-actions').data('chat-id'); | 88 | var chat_id = this_btn.closest('.messages__item-actions').data('chat-id'); |
68 | var $is_fixed = this_btn.hasClass('pin-on') ? 0 : 1; | 89 | var $is_fixed = this_btn.hasClass('pin-on') ? 0 : 1; |
69 | 90 | ||
70 | $.ajax({ | 91 | $.ajax({ |
71 | type: "POST", | 92 | type: "POST", |
72 | url: "{{ route('employer.pin_chat') }}", | 93 | url: "{{ route('employer.pin_chat') }}", |
73 | data: { | 94 | data: { |
74 | id: chat_id, | 95 | id: chat_id, |
75 | is_fixed: $is_fixed | 96 | is_fixed: $is_fixed |
76 | }, | 97 | }, |
77 | headers: { | 98 | headers: { |
78 | 'X-CSRF-TOKEN': $('[name="_token"]').val() | 99 | 'X-CSRF-TOKEN': $('[name="_token"]').val() |
79 | }, | 100 | }, |
80 | success: function(){ | 101 | success: function(){ |
81 | location.reload(); | 102 | location.reload(); |
82 | } | 103 | } |
83 | }); | 104 | }); |
84 | }); | 105 | }); |
85 | 106 | ||
86 | $('.remove-chat').click(function(){ | 107 | $('.remove-chat').click(function(){ |
87 | var this_btn = $(this); | 108 | var this_btn = $(this); |
88 | var chat_id = this_btn.closest('.messages__item-actions').data('chat-id'); | 109 | var chat_id = this_btn.closest('.messages__item-actions').data('chat-id'); |
89 | var wrap = this_btn.closest('.messages__item'); | 110 | var wrap = this_btn.closest('.messages__item'); |
90 | var target = wrap.find('.messages__item-target').text(); | 111 | var target = wrap.find('.messages__item-target').text(); |
91 | 112 | ||
92 | $('#remove_chat').data('chat-id', chat_id); | 113 | $('#remove_chat').data('chat-id', chat_id); |
93 | $('#remove_chat').find('.target-chat').text(target.trim()); | 114 | $('#remove_chat').find('.target-chat').text(target.trim()); |
94 | }); | 115 | }); |
95 | }); | 116 | }); |
96 | </script> | 117 | </script> |
97 | 118 |
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 | }); | 8 | }); |
9 | 9 | ||
10 | $(document).on('change', '#send_btn', function() { | 10 | $(document).on('change', '#send_btn', function() { |
11 | var this_ = $(this); | 11 | var this_ = $(this); |
12 | var val_ = this_.val(); | 12 | var val_ = this_.val(); |
13 | console.log('sort items '+val_); | 13 | console.log('sort items '+val_); |
14 | 14 | ||
15 | $.ajax({ | 15 | $.ajax({ |
16 | type: "GET", | 16 | type: "GET", |
17 | url: "{{ route('shipping_companies') }}", | 17 | url: "{{ route('shipping_companies') }}", |
18 | data: "sort="+val_+"&block=1", | 18 | data: "sort="+val_+"&block=1", |
19 | success: function (data) { | 19 | success: function (data) { |
20 | console.log('Выбор сортировки'); | 20 | console.log('Выбор сортировки'); |
21 | console.log(data); | 21 | console.log(data); |
22 | $('#block_1').html(data); | 22 | $('#block_1').html(data); |
23 | }, | 23 | }, |
24 | headers: { | 24 | headers: { |
25 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 25 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
26 | }, | 26 | }, |
27 | error: function (data) { | 27 | error: function (data) { |
28 | data = JSON.stringify(data); | 28 | data = JSON.stringify(data); |
29 | console.log('Error: ' + data); | 29 | console.log('Error: ' + data); |
30 | } | 30 | } |
31 | }); | 31 | }); |
32 | 32 | ||
33 | $.ajax({ | 33 | $.ajax({ |
34 | type: "GET", | 34 | type: "GET", |
35 | url: "{{ route('shipping_companies') }}", | 35 | url: "{{ route('shipping_companies') }}", |
36 | data: "sort="+val_+"&block=2", | 36 | data: "sort="+val_+"&block=2", |
37 | success: function (data) { | 37 | success: function (data) { |
38 | console.log('Выбор сортировки2'); | 38 | console.log('Выбор сортировки2'); |
39 | console.log(data); | 39 | console.log(data); |
40 | history.pushState({}, '', "{{ route('shipping_companies') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); | 40 | history.pushState({}, '', "{{ route('shipping_companies') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); |
41 | $('#block_2').html(data); | 41 | $('#block_2').html(data); |
42 | }, | 42 | }, |
43 | headers: { | 43 | headers: { |
44 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 44 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
45 | }, | 45 | }, |
46 | error: function (data) { | 46 | error: function (data) { |
47 | data = JSON.stringify(data); | 47 | data = JSON.stringify(data); |
48 | console.log('Error: ' + data); | 48 | console.log('Error: ' + data); |
49 | } | 49 | } |
50 | }); | 50 | }); |
51 | }); | 51 | }); |
52 | </script> | 52 | </script> |
53 | @endsection | 53 | @endsection |
54 | 54 | ||
55 | @section('content') | 55 | @section('content') |
56 | <section class="cabinet"> | 56 | <section class="cabinet"> |
57 | <div class="container"> | 57 | <div class="container"> |
58 | <ul class="breadcrumbs cabinet__breadcrumbs"> | 58 | <ul class="breadcrumbs cabinet__breadcrumbs"> |
59 | <li><a href="{{ route('index') }}">Главная</a></li> | 59 | <li><a href="{{ route('index') }}">Главная</a></li> |
60 | <li><b>Личный кабинет</b></li> | 60 | <li><b>Личный кабинет</b></li> |
61 | </ul> | 61 | </ul> |
62 | <div class="cabinet__wrapper"> | 62 | <div class="cabinet__wrapper"> |
63 | <div class="cabinet__side"> | 63 | <div class="cabinet__side"> |
64 | <div class="cabinet__side-toper"> | 64 | <div class="cabinet__side-toper"> |
65 | @include('employers.emblema') | 65 | @include('employers.emblema') |
66 | </div> | 66 | </div> |
67 | @include('employers.menu', ['item' => 5]) | 67 | @include('employers.menu', ['item' => 5]) |
68 | </div> | 68 | </div> |
69 | <div class="cabinet__body"> | 69 | <div class="cabinet__body"> |
70 | <div class="cabinet__body-item"> | 70 | <div class="cabinet__body-item"> |
71 | <h2 class="title cabinet__title">Сообщения</h2> | 71 | <h2 class="title cabinet__title">Сообщения</h2> |
72 | </div> | 72 | </div> |
73 | <div class="cabinet__body-item"> | 73 | <div class="cabinet__body-item"> |
74 | <a href="{{ route('employer.messages', ['type_message' => 'input']) }}" class="back"> | 74 | <a href="{{ route('employer.messages', ['type_message' => 'input']) }}" class="back"> |
75 | <svg> | 75 | <svg> |
76 | <use xlink:href="{{ asset('images/sprite.svg#back') }}"></use> | 76 | <use xlink:href="{{ asset('images/sprite.svg#back') }}"></use> |
77 | </svg> | 77 | </svg> |
78 | <span> | 78 | <span> |
79 | К списку чатов | 79 | К списку чатов |
80 | </span> | 80 | </span> |
81 | </a> | 81 | </a> |
82 | <div class="chatbox"> | 82 | <div class="chatbox"> |
83 | <div class="chatbox__toper"> | 83 | <div class="chatbox__toper"> |
84 | @if ($companion->is_worker) | 84 | @if ($companion->is_worker) |
85 | <div class="chatbox__toper-info messages__item-info"> | 85 | <div class="chatbox__toper-info messages__item-info"> |
86 | <div class="messages__item-photo"> | 86 | <div class="messages__item-photo"> |
87 | <svg> | 87 | <svg> |
88 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> | 88 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> |
89 | </svg> | 89 | </svg> |
90 | @if ((isset($companion->workers[0]->photo)) && | 90 | @if ((isset($companion->workers[0]->photo)) && |
91 | (!empty($companion->workers[0]->photo))) | 91 | (!empty($companion->workers[0]->photo))) |
92 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->workers[0]->photo)) }}" alt=""> | 92 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->workers[0]->photo)) }}" alt=""> |
93 | @else | 93 | @else |
94 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | 94 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> |
95 | @endif | 95 | @endif |
96 | </div> | 96 | </div> |
97 | <div class="messages__item-text"> | 97 | <div class="messages__item-text"> |
98 | <div>{{ $companion->surname." ".$companion->name_man." ".$companion->surname2." (".$companion->id.")" }} </div> | 98 | <div>{{ $companion->surname." ".$companion->name_man." ".$companion->surname2." (".$companion->id.")" }} </div> |
99 | </div> | 99 | </div> |
100 | </div> | 100 | </div> |
101 | @if (isset($companion->workers[0]->id)) | 101 | @if (isset($companion->workers[0]->id)) |
102 | <a href="{{ route('resume_profile', ['worker' => $companion->workers[0]->id]) }}" class="button chatbox__toper-button"> | 102 | <a href="{{ route('resume_profile', ['worker' => $companion->workers[0]->id]) }}" class="button chatbox__toper-button"> |
103 | <svg> | 103 | <svg> |
104 | <use xlink:href="{{ asset('images/sprite.svg#cabinet-1') }}"></use> | 104 | <use xlink:href="{{ asset('images/sprite.svg#cabinet-1') }}"></use> |
105 | </svg> | 105 | </svg> |
106 | Перейти в профиль | 106 | Перейти в профиль |
107 | </a> | 107 | </a> |
108 | @endif | 108 | @endif |
109 | @else | 109 | @else |
110 | <div class="chatbox__toper-info messages__item-info"> | 110 | <div class="chatbox__toper-info messages__item-info"> |
111 | <div class="messages__item-photo"> | 111 | <div class="messages__item-photo"> |
112 | <svg> | 112 | <svg> |
113 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> | 113 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> |
114 | </svg> | 114 | </svg> |
115 | @if ((isset($companion->employers[0]->logo)) && | 115 | @if ((isset($companion->employers[0]->logo)) && |
116 | (!empty($companion->employers[0]->logo))) | 116 | (!empty($companion->employers[0]->logo))) |
117 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->employers[0]->logo)) }}" alt=""> | 117 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->employers[0]->logo)) }}" alt=""> |
118 | @else | 118 | @else |
119 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | 119 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> |
120 | @endif | 120 | @endif |
121 | </div> | 121 | </div> |
122 | <div class="messages__item-text"> | 122 | <div class="messages__item-text"> |
123 | <div>{{ $companion->surname." ".$companion->name_man." ".$companion->surname2." (".$companion->id.")" }} </div> | 123 | <div>{{ $companion->surname." ".$companion->name_man." ".$companion->surname2." (".$companion->id.")" }} </div> |
124 | <div><span>Статус:</span> Работодатель или Администратор</div> | 124 | <div><span>Статус:</span> Работодатель или Администратор</div> |
125 | </div> | 125 | </div> |
126 | </div> | 126 | </div> |
127 | @if (isset($companion->employer->id)) | 127 | @if (isset($companion->employer->id)) |
128 | <a href="" class="button chatbox__toper-button"> | 128 | <a href="" class="button chatbox__toper-button"> |
129 | <svg> | 129 | <svg> |
130 | <use xlink:href="{{ asset('images/sprite.svg#cabinet-1') }}"></use> | 130 | <use xlink:href="{{ asset('images/sprite.svg#cabinet-1') }}"></use> |
131 | </svg> | 131 | </svg> |
132 | Перейти в профиль | 132 | Перейти в профиль |
133 | </a> | 133 | </a> |
134 | @endif | 134 | @endif |
135 | @endif | 135 | @endif |
136 | </div> | 136 | </div> |
137 | 137 | ||
138 | <div class="chatbox__list" id="dialogs" name="dialogs"> | 138 | <div class="chatbox__list" id="dialogs" name="dialogs"> |
139 | @if ($Messages->count()) | 139 | @if ($Messages->count()) |
140 | @foreach ($Messages as $it) | 140 | @foreach ($Messages as $it) |
141 | @if ($it->user_id == $companion->id) | 141 | @if ($it->user_id == $companion->id) |
142 | <div class="chatbox__item"> | 142 | <div class="chatbox__item"> |
143 | <div class="chatbox__item-photo"> | 143 | <div class="chatbox__item-photo"> |
144 | <svg> | 144 | <svg> |
145 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> | 145 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> |
146 | </svg> | 146 | </svg> |
147 | 147 | ||
148 | @if ($companion->is_worker) | 148 | @if ($companion->is_worker) |
149 | @if ((isset($companion->workers[0]->photo)) && | 149 | @if ((isset($companion->workers[0]->photo)) && |
150 | (!empty($companion->workers[0]->photo))) | 150 | (!empty($companion->workers[0]->photo))) |
151 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->workers[0]->photo)) }}" alt=""> | 151 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->workers[0]->photo)) }}" alt=""> |
152 | @else | 152 | @else |
153 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | 153 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> |
154 | @endif | 154 | @endif |
155 | @else | 155 | @else |
156 | @if ((isset($companion->employers[0]->logo)) && | 156 | @if ((isset($companion->employers[0]->logo)) && |
157 | (!empty($companion->employers[0]->logo))) | 157 | (!empty($companion->employers[0]->logo))) |
158 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->employers[0]->logo)) }}" alt=""> | 158 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->employers[0]->logo)) }}" alt=""> |
159 | @else | 159 | @else |
160 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | 160 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> |
161 | @endif | 161 | @endif |
162 | @endif | 162 | @endif |
163 | 163 | ||
164 | </div> | 164 | </div> |
165 | <div class="chatbox__item-body"> | 165 | <div class="chatbox__item-body"> |
166 | <div class="chatbox__item-text">{{ $it->text }}</div> | 166 | <div class="chatbox__item-text"> |
167 | {{ $it->text }} | ||
168 | @if($it->reply_message_id) | ||
169 | <div class="reply-message"> | ||
170 | {{ $it->reply_message->text }} | ||
171 | </div> | ||
172 | @endif | ||
173 | </div> | ||
167 | </div> | 174 | </div> |
168 | <div class="chatbox__item-time">{{ $it->created_at }}</div> | 175 | <div class="chatbox__item-time">{{ $it->created_at }}</div> |
169 | </div> | 176 | </div> |
170 | @else | 177 | @else |
171 | <div class="chatbox__item chatbox__item_reverse"> | 178 | <div class="chatbox__item chatbox__item_reverse"> |
172 | <div class="chatbox__item-photo"> | 179 | <div class="chatbox__item-photo"> |
173 | <svg> | 180 | <svg> |
174 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> | 181 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> |
175 | </svg> | 182 | </svg> |
176 | 183 | ||
177 | @if ($sender->is_worker) | 184 | @if ($sender->is_worker) |
178 | @if ((isset($sender->workers[0]->photo)) && | 185 | @if ((isset($sender->workers[0]->photo)) && |
179 | (!empty($sender->workers[0]->photo))) | 186 | (!empty($sender->workers[0]->photo))) |
180 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($sender->workers[0]->photo)) }}" alt=""> | 187 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($sender->workers[0]->photo)) }}" alt=""> |
181 | @else | 188 | @else |
182 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | 189 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> |
183 | @endif | 190 | @endif |
184 | @else | 191 | @else |
185 | @if ((isset($sender->employers[0]->logo)) && | 192 | @if ((isset($sender->employers[0]->logo)) && |
186 | (!empty($sender->employers[0]->logo))) | 193 | (!empty($sender->employers[0]->logo))) |
187 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($sender->employers[0]->logo)) }}" alt=""> | 194 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($sender->employers[0]->logo)) }}" alt=""> |
188 | @else | 195 | @else |
189 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | 196 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> |
190 | @endif | 197 | @endif |
191 | @endif | 198 | @endif |
192 | 199 | ||
193 | </div> | 200 | </div> |
194 | <div class="chatbox__item-body"> | 201 | <div class="chatbox__item-body"> |
195 | <div class="chatbox__item-text">{{ $it->text }}</div> | 202 | <div class="chatbox__item-text">{{ $it->text }}</div> |
196 | @if ((isset($it->file)) && (!empty($it->file))) | 203 | @if ((isset($it->file)) && (!empty($it->file))) |
197 | <a href="{{ asset(Storage::url($it->file)) }}" class="chatbox__item-text"> | 204 | <a href="{{ asset(Storage::url($it->file)) }}" class="chatbox__item-text"> |
198 | <svg> | 205 | <svg> |
199 | <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> | 206 | <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> |
200 | </svg> | 207 | </svg> |
201 | </a> | 208 | </a> |
202 | @endif | 209 | @endif |
203 | </div> | 210 | </div> |
204 | <div class="chatbox__item-time">{{ $it->created_at }}</div> | 211 | <div class="chatbox__item-time">{{ $it->created_at }}</div> |
205 | </div> | 212 | </div> |
206 | @endif | 213 | @endif |
207 | 214 | ||
208 | @endforeach | 215 | @endforeach |
209 | @endif | 216 | @endif |
210 | </div> | 217 | </div> |
211 | <form action="{{ route('employer.test123') }}" class="chatbox__bottom" enctype="multipart/form-data" method="POST" > | 218 | <form action="{{ route('employer.test123') }}" class="chatbox__bottom" enctype="multipart/form-data" method="POST" > |
212 | @csrf | 219 | @csrf |
213 | <label class="chatbox__bottom-file"> | 220 | <label class="chatbox__bottom-file"> |
214 | <input id="file" name="file" type="file"> | 221 | <input id="file" name="file" type="file"> |
215 | <svg> | 222 | <svg> |
216 | <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> | 223 | <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> |
217 | </svg> | 224 | </svg> |
218 | </label> | 225 | </label> |
219 | <input type="hidden" name="_token" value="{{ csrf_token() }}"/> | 226 | <input type="hidden" name="_token" value="{{ csrf_token() }}"/> |
220 | <input type="hidden" id="user_id" name="user_id" value="{{ $sender->id }}"/> | 227 | <input type="hidden" id="user_id" name="user_id" value="{{ $sender->id }}"/> |
221 | <input type="hidden" id="to_user_id" name="to_user_id" value="{{ $companion->id }}"/> | 228 | <input type="hidden" id="to_user_id" name="to_user_id" value="{{ $companion->id }}"/> |
222 | <input type="hidden" id="ad_employer_id" name="ad_employer_id" value="{{ $ad_employer }}"/> | 229 | <input type="hidden" id="ad_employer_id" name="ad_employer_id" value="{{ $ad_employer }}"/> |
223 | <input type="hidden" id="ad_name" name="ad_name" value="@if (isset($_GET['ad_name'])){{ $_GET['ad_name'] }} @endif"/> | 230 | <input type="hidden" id="ad_name" name="ad_name" value="@if (isset($_GET['ad_name'])){{ $_GET['ad_name'] }} @endif"/> |
224 | <input id="text" name="text" type="text" class="input chatbox__bottom-text" placeholder="Ответить"> | 231 | <input id="text" name="text" type="text" class="input chatbox__bottom-text" placeholder="Ответить"> |
225 | <button type="submit" id="send_btn" name="send_btn" class="chatbox__bottom-send"> | 232 | <button type="submit" id="send_btn" name="send_btn" class="chatbox__bottom-send"> |
226 | <svg> | 233 | <svg> |
227 | <use xlink:href="{{ asset('images/sprite.svg#arrow') }}"></use> | 234 | <use xlink:href="{{ asset('images/sprite.svg#arrow') }}"></use> |
228 | </svg> | 235 | </svg> |
229 | </button> | 236 | </button> |
230 | </form> | 237 | </form> |
231 | </div> | 238 | </div> |
232 | </div> | 239 | </div> |
233 | </div> | 240 | </div> |
234 | </div> | 241 | </div> |
235 | </div> | 242 | </div> |
236 | </section> | 243 | </section> |
237 | </div> | 244 | </div> |
238 | @endsection | 245 | @endsection |
239 | 246 |
resources/views/modals/chats/answer_from_admin_chat.blade.php
File was created | 1 | <div class="hide"> | |
2 | <div id="answer_from_admin_chat_modal" class="modal-dialog"> | ||
3 | <div class="modal-dialog-title"> | ||
4 | <h2>Ответить работодателю</h2> | ||
5 | </div> | ||
6 | <div class="modal-dialog-body"> | ||
7 | <textarea class="textarea" name="text" placeholder="" required></textarea> | ||
8 | </div> | ||
9 | <div class="modal-dialog-footer"> | ||
10 | <button type="button" class="button answer-from-admin-chat-button">Отправить</button> | ||
11 | <button type="button" class="button button_light" onclick="$.fancybox.close();">Закрыть</button> | ||
12 | </div> | ||
13 | </div> | ||
14 | </div> | ||
15 | |||
16 | <script> | ||
17 | $(function (){ | ||
18 | $('.answer-from-admin-chat-button').click(function(){ | ||
19 | spinStart($(this)); | ||
20 | var wrap = $(this).closest('#answer_from_admin_chat_modal'); | ||
21 | var to_user_id = wrap.data('to-user-id'); | ||
22 | var reply_message_id = wrap.data('message-id'); | ||
23 | var textarea = wrap.find('[name="text"]'); | ||
24 | var text = textarea.val() | ||
25 | |||
26 | textarea.removeClass('border-red'); | ||
27 | if (!text.trim()){ | ||
28 | textarea.addClass('border-red'); | ||
29 | return; | ||
30 | } | ||
31 | |||
32 | $.ajax({ | ||
33 | type: "POST", | ||
34 | url: "{{ route('send_message') }}", | ||
35 | data: { | ||
36 | to_user_id: to_user_id, | ||
37 | reply_message_id: reply_message_id, | ||
38 | text: text | ||
39 | }, | ||
40 | dataType: 'json', | ||
41 | headers: { | ||
42 | 'X-CSRF-TOKEN': $('[name="_token"]').val() | ||
43 | }, | ||
44 | success: function(res){ | ||
45 | if (res && res.success && res.url_redirect){ | ||
46 | window.location.replace(res.url_redirect); | ||
47 | } else{ | ||
48 | location.reload(); | ||
49 | } | ||
50 | } | ||
51 | }); | ||
52 | }); | ||
53 | }); | ||
54 | </script> | ||
55 |
resources/views/svg/logo_icon.blade.php
File was created | 1 | <div style="width: 56px;overflow: hidden;"> | |
2 | <svg style="width: 182px;height: 54px;color: #377d87;"> | ||
3 | <use xlink:href="{{ asset('images/sprite.svg#logo') }}"></use> | ||
4 | </svg> | ||
5 | </div> | ||
6 |
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 | |||
9 | $('.admin-chat-answer').click(function(){ | ||
10 | var modal = $('#answer_from_admin_chat_modal'); | ||
11 | |||
12 | modal.data('to-user-id', $(this).data('to-user-id')); | ||
13 | modal.data('message-id', $(this).data('message-id')); | ||
14 | }); | ||
8 | }); | 15 | }); |
9 | 16 | ||
10 | $(document).on('change', '#send_btn', function() { | 17 | $(document).on('change', '#send_btn', function() { |
11 | var this_ = $(this); | 18 | var this_ = $(this); |
12 | var val_ = this_.val(); | 19 | var val_ = this_.val(); |
13 | console.log('sort items '+val_); | 20 | console.log('sort items '+val_); |
14 | 21 | ||
15 | $.ajax({ | 22 | $.ajax({ |
16 | type: "GET", | 23 | type: "GET", |
17 | url: "{{ route('shipping_companies') }}", | 24 | url: "{{ route('shipping_companies') }}", |
18 | data: "sort="+val_+"&block=1", | 25 | data: "sort="+val_+"&block=1", |
19 | success: function (data) { | 26 | success: function (data) { |
20 | console.log('Выбор сортировки'); | 27 | console.log('Выбор сортировки'); |
21 | console.log(data); | 28 | console.log(data); |
22 | $('#block_1').html(data); | 29 | $('#block_1').html(data); |
23 | }, | 30 | }, |
24 | headers: { | 31 | headers: { |
25 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 32 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
26 | }, | 33 | }, |
27 | error: function (data) { | 34 | error: function (data) { |
28 | data = JSON.stringify(data); | 35 | data = JSON.stringify(data); |
29 | console.log('Error: ' + data); | 36 | console.log('Error: ' + data); |
30 | } | 37 | } |
31 | }); | 38 | }); |
32 | 39 | ||
33 | $.ajax({ | 40 | $.ajax({ |
34 | type: "GET", | 41 | type: "GET", |
35 | url: "{{ route('shipping_companies') }}", | 42 | url: "{{ route('shipping_companies') }}", |
36 | data: "sort="+val_+"&block=2", | 43 | data: "sort="+val_+"&block=2", |
37 | success: function (data) { | 44 | success: function (data) { |
38 | console.log('Выбор сортировки2'); | 45 | console.log('Выбор сортировки2'); |
39 | console.log(data); | 46 | console.log(data); |
40 | history.pushState({}, '', "{{ route('shipping_companies') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); | 47 | history.pushState({}, '', "{{ route('shipping_companies') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); |
41 | $('#block_2').html(data); | 48 | $('#block_2').html(data); |
42 | }, | 49 | }, |
43 | headers: { | 50 | headers: { |
44 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 51 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
45 | }, | 52 | }, |
46 | error: function (data) { | 53 | error: function (data) { |
47 | data = JSON.stringify(data); | 54 | data = JSON.stringify(data); |
48 | console.log('Error: ' + data); | 55 | console.log('Error: ' + data); |
49 | } | 56 | } |
50 | }); | 57 | }); |
51 | }); | 58 | }); |
52 | </script> | 59 | </script> |
53 | @endsection | 60 | @endsection |
54 | 61 | ||
55 | @section('content') | 62 | @section('content') |
56 | <section class="cabinet"> | 63 | <section class="cabinet"> |
57 | <div class="container"> | 64 | <div class="container"> |
58 | <ul class="breadcrumbs cabinet__breadcrumbs"> | 65 | <ul class="breadcrumbs cabinet__breadcrumbs"> |
59 | <li><a href="{{ route('index') }}">Главная</a></li> | 66 | <li><a href="{{ route('index') }}">Главная</a></li> |
60 | <li><b>Личный кабинет</b></li> | 67 | <li><b>Личный кабинет</b></li> |
61 | </ul> | 68 | </ul> |
62 | <div class="cabinet__wrapper"> | 69 | <div class="cabinet__wrapper"> |
63 | <div class="cabinet__side"> | 70 | <div class="cabinet__side"> |
64 | <div class="cabinet__side-toper"> | 71 | <div class="cabinet__side-toper"> |
65 | @include('workers.emblema') | 72 | @include('workers.emblema') |
66 | </div> | 73 | </div> |
67 | @include('workers.menu', ['item' => 2]) | 74 | @include('workers.menu', ['item' => 2]) |
68 | </div> | 75 | </div> |
69 | <div class="cabinet__body"> | 76 | <div class="cabinet__body"> |
70 | <div class="cabinet__body-item"> | 77 | <div class="cabinet__body-item"> |
71 | <h2 class="title cabinet__title">Сообщения</h2> | 78 | <h2 class="title cabinet__title">Сообщения</h2> |
72 | </div> | 79 | </div> |
73 | <div class="cabinet__body-item"> | 80 | <div class="cabinet__body-item"> |
74 | <a href="{{ route('worker.messages', ['type_message' => 'input']) }}" class="back"> | 81 | <a href="{{ route('worker.messages', ['type_message' => 'input']) }}" class="back"> |
75 | <svg> | 82 | <svg> |
76 | <use xlink:href="{{ asset('images/sprite.svg#back') }}"></use> | 83 | <use xlink:href="{{ asset('images/sprite.svg#back') }}"></use> |
77 | </svg> | 84 | </svg> |
78 | <span> | 85 | <span> |
79 | К списку чатов | 86 | К списку чатов |
80 | </span> | 87 | </span> |
81 | </a> | 88 | </a> |
82 | <div class="chatbox"> | 89 | <div class="chatbox"> |
83 | <div class="chatbox__toper"> | 90 | <div class="chatbox__toper"> |
84 | @if ($companion->is_worker) | 91 | @if($chat->is_admin_chat) |
92 | <div class="chatbox__toper-info messages__item-info"> | ||
93 | @include('svg.logo_icon') | ||
94 | <div class="messages__item-text bold font20"> | ||
95 | Администратор сайта | ||
96 | </div> | ||
97 | </div> | ||
98 | @elseif ($companion->is_worker) | ||
85 | <div class="chatbox__toper-info messages__item-info"> | 99 | <div class="chatbox__toper-info messages__item-info"> |
86 | <div class="messages__item-photo"> | 100 | <div class="messages__item-photo"> |
87 | <svg> | 101 | <svg> |
88 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> | 102 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> |
89 | </svg> | 103 | </svg> |
90 | @if ((isset($companion->workers[0]->photo)) && | 104 | @if ((isset($companion->workers[0]->photo)) && |
91 | (!empty($companion->workers[0]->photo))) | 105 | (!empty($companion->workers[0]->photo))) |
92 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->workers[0]->photo)) }}" alt=""> | 106 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->workers[0]->photo)) }}" alt=""> |
93 | @else | 107 | @else |
94 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | 108 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> |
95 | @endif | 109 | @endif |
96 | </div> | 110 | </div> |
97 | </div> | 111 | </div> |
98 | @if (isset($companion->workers[0]->id)) | 112 | @if (isset($companion->workers[0]->id)) |
99 | <a href="{{ route('resume_profile', ['worker' => $companion->workers[0]->id]) }}" class="button chatbox__toper-button"> | 113 | <a href="{{ route('resume_profile', ['worker' => $companion->workers[0]->id]) }}" class="button chatbox__toper-button"> |
100 | <svg> | 114 | <svg> |
101 | <use xlink:href="{{ asset('images/sprite.svg#cabinet-1') }}"></use> | 115 | <use xlink:href="{{ asset('images/sprite.svg#cabinet-1') }}"></use> |
102 | </svg> | 116 | </svg> |
103 | Перейти в профиль | 117 | Перейти в профиль |
104 | </a> | 118 | </a> |
105 | @endif | 119 | @endif |
106 | @else | 120 | @else |
107 | <div class="chatbox__toper-info messages__item-info 222"> | 121 | <div class="chatbox__toper-info messages__item-info"> |
108 | <div class="messages__item-photo"> | 122 | <div class="messages__item-photo"> |
109 | <svg> | 123 | <svg> |
110 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> | 124 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> |
111 | </svg> | 125 | </svg> |
112 | @if ((isset($companion->employers[0]->logo)) && | 126 | @if ((isset($companion->employers[0]->logo)) && |
113 | (!empty($companion->employers[0]->logo))) | 127 | (!empty($companion->employers[0]->logo))) |
114 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->employers[0]->logo)) }}" alt=""> | 128 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->employers[0]->logo)) }}" alt=""> |
115 | @else | 129 | @else |
116 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | 130 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> |
117 | @endif | 131 | @endif |
118 | </div> | 132 | </div> |
119 | <div class="messages__item-text"> | 133 | <div class="messages__item-text"> |
120 | <div>{{ $companion->surname." ".$companion->name_man." ".$companion->surname2." (".$companion->id.")" }} </div> | 134 | <div>{{ $companion->surname." ".$companion->name_man." ".$companion->surname2." (".$companion->id.")" }} </div> |
121 | <div><span>Статус:</span> Работодатель или Администратор</div> | 135 | <div><span>Статус:</span> Работодатель или Администратор</div> |
122 | </div> | 136 | </div> |
123 | </div> | 137 | </div> |
124 | @if (isset($companion->employers[0]->id)) | 138 | @if (isset($companion->employers[0]->id)) |
125 | <a href="{{ route('info_company', ['company' => $companion->employers[0]->id]) }}" class="button chatbox__toper-button"> | 139 | <a href="{{ route('info_company', ['company' => $companion->employers[0]->id]) }}" class="button chatbox__toper-button"> |
126 | <svg> | 140 | <svg> |
127 | <use xlink:href="{{ asset('images/sprite.svg#cabinet-1') }}"></use> | 141 | <use xlink:href="{{ asset('images/sprite.svg#cabinet-1') }}"></use> |
128 | </svg> | 142 | </svg> |
129 | Перейти в профиль | 143 | Перейти в профиль |
130 | </a> | 144 | </a> |
131 | @endif | 145 | @endif |
132 | @endif | 146 | @endif |
133 | </div> | 147 | </div> |
134 | 148 | ||
135 | @if ($errors->any()) | 149 | @if ($errors->any()) |
136 | <div class="red bold"> | 150 | <div class="red bold"> |
137 | <ul> | 151 | <ul> |
138 | @foreach ($errors->all() as $error) | 152 | @foreach ($errors->all() as $error) |
139 | <li>{{ $error }}</li> | 153 | <li>{{ $error }}</li> |
140 | @endforeach | 154 | @endforeach |
141 | </ul> | 155 | </ul> |
142 | </div> | 156 | </div> |
143 | @endif | 157 | @endif |
144 | 158 | ||
145 | <div class="chatbox__list" id="dialogs" name="dialogs"> | 159 | <div class="chatbox__list" id="dialogs" name="dialogs"> |
146 | @if ($Messages->count()) | 160 | @if ($Messages->count()) |
147 | @foreach ($Messages as $it) | 161 | @foreach ($Messages as $it) |
148 | @if ($it->user_id == $companion->id) | 162 | @if ($it->user_id == $companion->id) |
149 | <div class="chatbox__item"> | 163 | <div class="chatbox__item"> |
150 | <div class="chatbox__item-photo"> | 164 | <div class="chatbox__item-photo"> |
151 | <svg> | 165 | <svg> |
152 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> | 166 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> |
153 | </svg> | 167 | </svg> |
154 | @if ($companion->is_worker) | 168 | @if($companion->is_worker) |
155 | @if ((isset($companion->workers[0]->photo)) && | 169 | @if ((isset($companion->workers[0]->photo)) && |
156 | (!empty($companion->workers[0]->photo))) | 170 | (!empty($companion->workers[0]->photo))) |
157 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->workers[0]->photo)) }}" alt=""> | 171 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->workers[0]->photo)) }}" alt=""> |
158 | @else | 172 | @else |
159 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | 173 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> |
160 | @endif | 174 | @endif |
161 | @else | 175 | @else |
162 | @if ((isset($companion->employers[0]->logo)) && | 176 | @if ((isset($companion->employers[0]->logo)) && |
163 | (!empty($companion->employers[0]->logo))) | 177 | (!empty($companion->employers[0]->logo))) |
164 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->employers[0]->logo)) }}" alt=""> | 178 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->employers[0]->logo)) }}" alt=""> |
165 | @else | 179 | @else |
166 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | 180 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> |
167 | @endif | 181 | @endif |
168 | @endif | 182 | @endif |
169 | </div> | 183 | </div> |
170 | <div class="chatbox__item-body"> | 184 | <div class="chatbox__item-body"> |
171 | <div class="chatbox__item-text">{{ $it->text }}</div> | 185 | <div class="chatbox__item-text">{{ $it->text }}</div> |
172 | </div> | 186 | </div> |
173 | <div class="chatbox__item-time">{{ $it->created_at }}</div> | 187 | <div class="chatbox__item-time">{{ $it->created_at }}</div> |
174 | </div> | 188 | </div> |
175 | @else | 189 | @else |
176 | <div class="chatbox__item chatbox__item_reverse"> | 190 | <div class="chatbox__item chatbox__item_reverse"> |
177 | <div class="chatbox__item-photo"> | 191 | <div class="@if(!$chat->is_admin_chat) chatbox__item-photo @endif"> |
178 | <svg> | 192 | @if($chat->is_admin_chat) |
179 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> | 193 | @include('svg.logo_icon') |
180 | </svg> | ||
181 | @if ($sender->is_worker) | ||
182 | @if ((isset($sender->workers[0]->photo)) && | ||
183 | (!empty($sender->workers[0]->photo))) | ||
184 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($sender->workers[0]->photo)) }}" alt=""> | ||
185 | @else | ||
186 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | ||
187 | @endif | ||
188 | @else | 194 | @else |
189 | @if ((isset($sender->employers[0]->logo)) && | 195 | @if ($sender->is_worker) |
190 | (!empty($sender->employers[0]->logo))) | 196 | @if ((isset($sender->workers[0]->photo)) && |
191 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($sender->employers[0]->logo)) }}" alt=""> | 197 | (!empty($sender->workers[0]->photo))) |
198 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($sender->workers[0]->photo)) }}" alt=""> | ||
199 | @else | ||
200 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | ||
201 | @endif | ||
192 | @else | 202 | @else |
193 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | 203 | <svg> |
204 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> | ||
205 | </svg> | ||
206 | |||
207 | @if ((isset($sender->employers[0]->logo)) && | ||
208 | (!empty($sender->employers[0]->logo))) | ||
209 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($sender->employers[0]->logo)) }}" alt=""> | ||
210 | @else | ||
211 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | ||
212 | @endif | ||
194 | @endif | 213 | @endif |
195 | @endif | 214 | @endif |
196 | |||
197 | </div> | 215 | </div> |
198 | <div class="chatbox__item-body"> | 216 | <div class="chatbox__item-body"> |
199 | <div class="chatbox__item-text">{{ $it->text }}</div> | 217 | <div class="chatbox__item-text"> |
218 | @if($chat->is_admin_chat) | ||
219 | <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 }}" | ||
221 | > | ||
222 | Ответить | ||
223 | </button> | ||
224 | @endif | ||
225 | |||
226 | {{ $it->text }} | ||
227 | |||
228 | @if($it->reply_message_id) | ||
229 | <div class="reply-message"> | ||
230 | {{ $it->reply_message->text }} | ||
231 | </div> | ||
232 | @endif | ||
233 | </div> | ||
200 | @if ((isset($it->file)) && (!empty($it->file))) | 234 | @if ((isset($it->file)) && (!empty($it->file))) |
201 | <a href="{{ asset(Storage::url($it->file)) }}" class="chatbox__item-text"> | 235 | <a href="{{ asset(Storage::url($it->file)) }}" class="chatbox__item-text"> |
202 | <svg> | 236 | <svg> |
203 | <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> | 237 | <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> |
204 | </svg> | 238 | </svg> |
205 | </a> | 239 | </a> |
206 | @endif | 240 | @endif |
207 | </div> | 241 | </div> |
208 | <div class="chatbox__item-time">{{ $it->created_at }}</div> | 242 | <div class="chatbox__item-time">{{ $it->created_at }}</div> |
209 | </div> | 243 | </div> |
210 | @endif | 244 | @endif |
211 | 245 | ||
212 | @endforeach | 246 | @endforeach |
213 | @endif | 247 | @endif |
214 | </div> | 248 | </div> |
249 | @if(!$chat->is_admin_chat) | ||
215 | <form action="{{ route('worker.test123') }}" class="chatbox__bottom" enctype="multipart/form-data" method="POST" > | 250 | <form action="{{ route('worker.test123') }}" class="chatbox__bottom" enctype="multipart/form-data" method="POST" > |
216 | @csrf | 251 | @csrf |
217 | <label class="chatbox__bottom-file"> | 252 | <label class="chatbox__bottom-file"> |
218 | <input id="file" name="file" type="file"> | 253 | <input id="file" name="file" type="file"> |
219 | <svg> | 254 | <svg> |
220 | <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> | 255 | <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> |
221 | </svg> | 256 | </svg> |
222 | </label> | 257 | </label> |
223 | <input type="hidden" name="_token" value="{{ csrf_token() }}"/> | 258 | <input type="hidden" name="_token" value="{{ csrf_token() }}"/> |
224 | <input type="hidden" id="user_id" name="user_id" value="{{ $sender->id }}"/> | 259 | <input type="hidden" id="user_id" name="user_id" value="{{ $sender->id }}"/> |
225 | <input type="hidden" id="to_user_id" name="to_user_id" value="{{ $companion->id }}"/> | 260 | <input type="hidden" id="to_user_id" name="to_user_id" value="{{ $companion->id }}"/> |
226 | <input type="hidden" id="ad_employer_id" name="ad_employer_id" value="{{ $ad_employer }}"/> | 261 | <input type="hidden" id="ad_employer_id" name="ad_employer_id" value="{{ $ad_employer }}"/> |
227 | <input type="hidden" id="ad_name" name="ad_name" value="@if (isset($_GET['ad_name'])){{ $_GET['ad_name'] }} @endif"/> | 262 | <input type="hidden" id="ad_name" name="ad_name" value="@if (isset($_GET['ad_name'])){{ $_GET['ad_name'] }} @endif"/> |
228 | <input id="text" name="text" type="text" class="input chatbox__bottom-text" placeholder="Ответить"> | 263 | <input id="text" name="text" type="text" class="input chatbox__bottom-text" placeholder="Ответить"> |
229 | <button type="submit" id="send_btn" name="send_btn" class="chatbox__bottom-send"> | 264 | <button type="submit" id="send_btn" name="send_btn" class="chatbox__bottom-send"> |
230 | <svg> | 265 | <svg> |
231 | <use xlink:href="{{ asset('images/sprite.svg#arrow') }}"></use> | 266 | <use xlink:href="{{ asset('images/sprite.svg#arrow') }}"></use> |
232 | </svg> | 267 | </svg> |
233 | </button> | 268 | </button> |
234 | </form> | 269 | </form> |
270 | @endif | ||
235 | </div> | 271 | </div> |
236 | </div> | 272 | </div> |
routes/web.php
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 | 340 | ||
341 | 341 | ||
342 | // кабинет - редактор seo-сайта | 342 | // кабинет - редактор seo-сайта |
343 | Route::get('editor-seo', [CompanyController::class, 'editor_seo'])->name('editor-seo'); | 343 | 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'); | 344 | 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'); | 345 | 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'); | 346 | 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'); | 347 | 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'); | 348 | 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'); | 349 | Route::delete('editor-seo/delete/{page}', [CompanyController::class, 'editor_seo_destroy'])->name('delete-seo'); |
350 | 350 | ||
351 | 351 | ||
352 | // кабинет - редактор страниц | 352 | // кабинет - редактор страниц |
353 | Route::get('editor-pages', [CompanyController::class, 'editor_pages'])->name('editor-pages'); | 353 | Route::get('editor-pages', [CompanyController::class, 'editor_pages'])->name('editor-pages'); |
354 | // кабинет - добавление страницы | 354 | // кабинет - добавление страницы |
355 | Route::get('editor-pages/add', [CompanyController::class, 'editor_pages_add'])->name('add-page'); | 355 | Route::get('editor-pages/add', [CompanyController::class, 'editor_pages_add'])->name('add-page'); |
356 | // кабинет - сохранение формы страницы | 356 | // кабинет - сохранение формы страницы |
357 | Route::post('editor-page/add', [CompanyController::class, 'editor_pages_store'])->name('add-page-store'); | 357 | Route::post('editor-page/add', [CompanyController::class, 'editor_pages_store'])->name('add-page-store'); |
358 | // кабинет - редактирование форма страницы | 358 | // кабинет - редактирование форма страницы |
359 | Route::get('editor-pages/edit/{page}', [CompanyController::class, 'editor_pages_edit'])->name('edit-page'); | 359 | Route::get('editor-pages/edit/{page}', [CompanyController::class, 'editor_pages_edit'])->name('edit-page'); |
360 | // кабинет - сохранение редактированной формы страницы | 360 | // кабинет - сохранение редактированной формы страницы |
361 | Route::put('editor-pages/edit/{page}', [CompanyController::class, 'editor_pages_update'])->name('update-page'); | 361 | Route::put('editor-pages/edit/{page}', [CompanyController::class, 'editor_pages_update'])->name('update-page'); |
362 | // кабинет - удаление страницы | 362 | // кабинет - удаление страницы |
363 | Route::delete('editor-pages/delete/{page}', [CompanyController::class, 'editor_pages_destroy'])->name('delete-page'); | 363 | Route::delete('editor-pages/delete/{page}', [CompanyController::class, 'editor_pages_destroy'])->name('delete-page'); |
364 | 364 | ||
365 | 365 | ||
366 | // кабинет - реклама сайта | 366 | // кабинет - реклама сайта |
367 | Route::get('reclames', [CompanyController::class, 'reclames'])->name('reclames'); | 367 | Route::get('reclames', [CompanyController::class, 'reclames'])->name('reclames'); |
368 | Route::get('reclames/add', [CompanyController::class, 'reclames_add'])->name('add-reclames'); | 368 | Route::get('reclames/add', [CompanyController::class, 'reclames_add'])->name('add-reclames'); |
369 | Route::post('reclames/add', [CompanyController::class, 'reclames_store'])->name('add-reclames-store'); | 369 | 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'); | 370 | 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'); | 371 | 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'); | 372 | Route::delete('reclames/delete/{reclame}', [CompanyController::class, 'reclames_destroy'])->name('delete-reclames'); |
373 | //////////////////////////////////////////////////////////////////////// | 373 | //////////////////////////////////////////////////////////////////////// |
374 | 374 | ||
375 | 375 | ||
376 | // кабинет - отзывы о работодателе для модерации | 376 | // кабинет - отзывы о работодателе для модерации |
377 | Route::get('answers', [EmployersController::class, 'answers'])->name('answers'); | 377 | Route::get('answers', [EmployersController::class, 'answers'])->name('answers'); |
378 | 378 | ||
379 | // Общая страница статистики | 379 | // Общая страница статистики |
380 | Route::get('statics', function () { | 380 | Route::get('statics', function () { |
381 | return view('admin.static.index'); | 381 | return view('admin.static.index'); |
382 | })->name('statics'); | 382 | })->name('statics'); |
383 | 383 | ||
384 | // кабинет - статистика работников | 384 | // кабинет - статистика работников |
385 | Route::get('static-workers', [WorkersController::class, 'static_workers'])->name('static-workers'); | 385 | Route::get('static-workers', [WorkersController::class, 'static_workers'])->name('static-workers'); |
386 | 386 | ||
387 | // кабинет - статистика вакансий работодателя | 387 | // кабинет - статистика вакансий работодателя |
388 | Route::get('static-ads', [EmployersController::class, 'static_ads'])->name('static-ads'); | 388 | Route::get('static-ads', [EmployersController::class, 'static_ads'])->name('static-ads'); |
389 | 389 | ||
390 | // кабинет - справочник - блоки информации (дипломы и документы) для резюме работника | 390 | // кабинет - справочник - блоки информации (дипломы и документы) для резюме работника |
391 | /* | 391 | /* |
392 | * CRUD-операции над справочником дипломы и документы | 392 | * CRUD-операции над справочником дипломы и документы |
393 | */ | 393 | */ |
394 | //Route::get('infobloks', [WorkersController::class, 'infobloks'])->name('infobloks'); | 394 | //Route::get('infobloks', [WorkersController::class, 'infobloks'])->name('infobloks'); |
395 | Route::resource('infobloks', InfoBloksController::class, ['except' => ['show']]); | 395 | Route::resource('infobloks', InfoBloksController::class, ['except' => ['show']]); |
396 | 396 | ||
397 | // кабинет - роли пользователя | 397 | // кабинет - роли пользователя |
398 | Route::get('roles', [UsersController::class, 'roles'])->name('roles'); | 398 | Route::get('roles', [UsersController::class, 'roles'])->name('roles'); |
399 | 399 | ||
400 | Route::get('admin_roles', [UsersController::class, 'admin_roles'])->name('admin_roles'); | 400 | Route::get('admin_roles', [UsersController::class, 'admin_roles'])->name('admin_roles'); |
401 | 401 | ||
402 | Route::get('logs', function() { | 402 | Route::get('logs', function() { |
403 | $files = Storage::files('logs/laravel.log'); | 403 | $files = Storage::files('logs/laravel.log'); |
404 | })->name('logs'); | 404 | })->name('logs'); |
405 | }); | 405 | }); |
406 | 406 | ||
407 | // Инструментальные страницы | 407 | // Инструментальные страницы |
408 | Route::post('ckeditor/upload', [CKEditorController::class, 'upload'])->name('ckeditor.image-upload'); | 408 | Route::post('ckeditor/upload', [CKEditorController::class, 'upload'])->name('ckeditor.image-upload'); |
409 | 409 | ||
410 | Route::get('redis/', [PagesController::class, 'redis'])->name('redis'); | 410 | Route::get('redis/', [PagesController::class, 'redis'])->name('redis'); |
411 | 411 | ||
412 | Route::get('excel/', [PagesController::class, 'excel'])->name('excel'); | 412 | Route::get('excel/', [PagesController::class, 'excel'])->name('excel'); |
413 | 413 | ||
414 | // Страницы с произвольным контентом | 414 | // Страницы с произвольным контентом |
415 | Route::get('pages/{pages:slug}', [PagesController::class, 'pages'])->name('page'); | 415 | Route::get('pages/{pages:slug}', [PagesController::class, 'pages'])->name('page'); |
416 | 416 | ||
417 | // Форма обратной связи | 417 | // Форма обратной связи |
418 | Route::post('form_feedback', [PagesController::class, 'form_feedback'])->name('form_feedback'); | 418 | Route::post('form_feedback', [PagesController::class, 'form_feedback'])->name('form_feedback'); |
419 | 419 | ||
420 | // Публичные страницы соискателя | 420 | // Публичные страницы соискателя |
421 | Route::get('workers/profile/{worker}', [WorkerController::class, 'profile'])->name('worker_page'); | 421 | Route::get('workers/profile/{worker}', [WorkerController::class, 'profile'])->name('worker_page'); |
422 | 422 | ||
423 | //Страница вакансии | 423 | //Страница вакансии |
424 | Route::get('employer/ad/{ad_employer}', [AdEmployerController::class, 'ad_employer'])->name('ad-employer'); | 424 | Route::get('employer/ad/{ad_employer}', [AdEmployerController::class, 'ad_employer'])->name('ad-employer'); |
425 | 425 | ||
426 | //Вакансии | 426 | //Вакансии |
427 | Route::get('vacancies', [MainController::class, 'vacancies'])->name('vacancies'); | 427 | Route::get('vacancies', [MainController::class, 'vacancies'])->name('vacancies'); |
428 | 428 | ||
429 | //Вакансии поиск на главной | 429 | //Вакансии поиск на главной |
430 | Route::get('search-vacancies', [MainController::class, 'search_vacancies'])->name('search_vacancies'); | 430 | Route::get('search-vacancies', [MainController::class, 'search_vacancies'])->name('search_vacancies'); |
431 | 431 | ||
432 | //Вакансии категория детальная | 432 | //Вакансии категория детальная |
433 | Route::get('list-vacancies/{categories?}', [MainController::class, 'list_vacancies'])->name('list-vacancies'); | 433 | Route::get('list-vacancies/{categories?}', [MainController::class, 'list_vacancies'])->name('list-vacancies'); |
434 | 434 | ||
435 | // Лайк вакансии | 435 | // Лайк вакансии |
436 | Route::get('like-vacancy', [MainController::class, 'like_vacancy'])->name('like-vacancy'); | 436 | Route::get('like-vacancy', [MainController::class, 'like_vacancy'])->name('like-vacancy'); |
437 | 437 | ||
438 | //Детальная страница вакансии - работодателя | 438 | //Детальная страница вакансии - работодателя |
439 | Route::get('vacancie/{vacancy}', [FrontEmployersController::class, 'vacancie'])->name('vacancie'); | 439 | Route::get('vacancie/{vacancy}', [FrontEmployersController::class, 'vacancie'])->name('vacancie'); |
440 | 440 | ||
441 | //Судоходные компании | 441 | //Судоходные компании |
442 | Route::get('shipping-companies', [FrontCompanyController::class, 'shipping_companies'])->name('shipping_companies'); | 442 | Route::get('shipping-companies', [FrontCompanyController::class, 'shipping_companies'])->name('shipping_companies'); |
443 | 443 | ||
444 | //Детальная инфа о компании | 444 | //Детальная инфа о компании |
445 | Route::get('info-company/{company}', [FrontCompanyController::class, 'info_company'])->name('info_company'); | 445 | Route::get('info-company/{company}', [FrontCompanyController::class, 'info_company'])->name('info_company'); |
446 | 446 | ||
447 | //Образование | 447 | //Образование |
448 | Route::get('education', [EducationFrontController::class, 'index'])->name('education'); | 448 | Route::get('education', [EducationFrontController::class, 'index'])->name('education'); |
449 | Route::get('education/{education}', [EducationFrontController::class, 'show'])->name('show_education')->where('education', '[0-9]+');; | 449 | Route::get('education/{education}', [EducationFrontController::class, 'show'])->name('show_education')->where('education', '[0-9]+');; |
450 | 450 | ||
451 | //Новости | 451 | //Новости |
452 | Route::get('news', [MainController::class, 'news'])->name('news'); | 452 | Route::get('news', [MainController::class, 'news'])->name('news'); |
453 | Route::get('detail-new/{new}', [MainController::class, 'detail_new'])->name('detail_new'); | 453 | Route::get('detail-new/{new}', [MainController::class, 'detail_new'])->name('detail_new'); |
454 | 454 | ||
455 | //Контакты | 455 | //Контакты |
456 | Route::get('contacts', [MainController::class, 'contacts'])->name('contacts'); | 456 | Route::get('contacts', [MainController::class, 'contacts'])->name('contacts'); |
457 | 457 | ||
458 | //База резюме | 458 | //База резюме |
459 | Route::get('bd-resume', [WorkerController::class, 'bd_resume'])->name('bd_resume'); | 459 | Route::get('bd-resume', [WorkerController::class, 'bd_resume'])->name('bd_resume'); |
460 | Route::get('bd_resume_danger', function(){ | 460 | Route::get('bd_resume_danger', function(){ |
461 | return view('employers.bd_resume_danger'); | 461 | return view('employers.bd_resume_danger'); |
462 | })->name('bd_resume_danger'); | 462 | })->name('bd_resume_danger'); |
463 | 463 | ||
464 | Route::get('like-resume', [MainController::class, 'like_worker'])->name('like_resume'); | 464 | Route::get('like-resume', [MainController::class, 'like_worker'])->name('like_resume'); |
465 | 465 | ||
466 | //Анкета соискателя | 466 | //Анкета соискателя |
467 | Route::get('resume-profile/{worker}', [WorkerController::class, 'resume_profile'])->name('resume_profile'); | 467 | Route::get('resume-profile/{worker}', [WorkerController::class, 'resume_profile'])->name('resume_profile'); |
468 | 468 | ||
469 | //Скачать резюме | 469 | //Скачать резюме |
470 | Route::get('resume-download/{worker}', [WorkerController::class, 'resume_download'])->name('resume_download'); | 470 | 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'); | 471 | 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'); | 472 | Route::get('resume-download', [WorkerController::class, 'resume_download_all'])->name('resume_download_all'); |
473 | 473 | ||
474 | 474 | ||
475 | //Вход в кабинет | 475 | //Вход в кабинет |
476 | Route::get('login', [MainController::class, 'input_login'])->name('login'); | 476 | Route::get('login', [MainController::class, 'input_login'])->name('login'); |
477 | 477 | ||
478 | // Выход из кабинета | 478 | // Выход из кабинета |
479 | Route::get('logout', [EmployerController::class, 'logout'])->name('logout'); | 479 | Route::get('logout', [EmployerController::class, 'logout'])->name('logout'); |
480 | 480 | ||
481 | Route::get( 'register_worker', [WorkerController::class, 'register_worker'])->name('register_worker'); | 481 | Route::get( 'register_worker', [WorkerController::class, 'register_worker'])->name('register_worker'); |
482 | Route::get('register_employer', [EmployerController::class, 'register_employer'])->name('register_employer'); | 482 | Route::get('register_employer', [EmployerController::class, 'register_employer'])->name('register_employer'); |
483 | 483 | ||
484 | //восстановление пароля | 484 | //восстановление пароля |
485 | Route::get('repair-password', [MainController::class, 'repair_password'])->name('repair_password'); | 485 | Route::get('repair-password', [MainController::class, 'repair_password'])->name('repair_password'); |
486 | // Звезда сообщения | 486 | // Звезда сообщения |
487 | Route::post('stars-answer', [WorkerController::class, 'stars_answer'])->name('stars_answer'); | 487 | Route::post('stars-answer', [WorkerController::class, 'stars_answer'])->name('stars_answer'); |
488 | 488 | ||
489 | // Борьба | 489 | // Борьба |
490 | Route::get('clear_cookie', function() { | 490 | Route::get('clear_cookie', function() { |
491 | \App\Classes\Cookies_vacancy::clear_vacancy(); | 491 | \App\Classes\Cookies_vacancy::clear_vacancy(); |
492 | return redirect()->route('index'); | 492 | return redirect()->route('index'); |
493 | })->name('clear_cookie'); | 493 | })->name('clear_cookie'); |
494 | 494 | ||
495 | Route::get('cookies', function() { | 495 | Route::get('cookies', function() { |
496 | return view('cookies'); | 496 | return view('cookies'); |
497 | })->name('cookies'); | 497 | })->name('cookies'); |
498 | 498 | ||
499 | // Личный кабинет работник | 499 | // Личный кабинет работник |
500 | Route::group([ | 500 | Route::group([ |
501 | 'as' => 'worker.', // имя маршрута, например auth.index | 501 | 'as' => 'worker.', // имя маршрута, например auth.index |
502 | 'prefix' => 'worker', // префикс маршрута, например auth/index | 502 | 'prefix' => 'worker', // префикс маршрута, например auth/index |
503 | 'middleware' => ['auth'], ['is_worker'], | 503 | 'middleware' => ['auth'], ['is_worker'], |
504 | ], function() { | 504 | ], function() { |
505 | // Формы редактирования | 505 | // Формы редактирования |
506 | Route::get('cabinet/basic_information', [WorkerController::class, 'basic_information'])->name('basic_information'); | 506 | 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'); | 507 | Route::get('cabinet/additional_documents', [WorkerController::class, 'additional_documents'])->name('additional_documents'); |
508 | 508 | ||
509 | // 1 страница - Моя анкета | 509 | // 1 страница - Моя анкета |
510 | Route::get('cabinet', [WorkerController::class, 'cabinet'])->name('cabinet'); | 510 | Route::get('cabinet', [WorkerController::class, 'cabinet'])->name('cabinet'); |
511 | Route::post('cabinet/{worker}', [WorkerController::class, 'cabinet_save'])->name('cabinet_save'); | 511 | 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'); | 512 | Route::post('cabinet/cabinet_save_foto/{worker}', [WorkerController::class, 'cabinet_save_foto'])->name('cabinet_save_foto'); |
513 | 513 | ||
514 | 514 | ||
515 | // 2 страница - Сообщения | 515 | // 2 страница - Сообщения |
516 | Route::get('cabinet/messages/{type_message}', [WorkerController::class, 'messages'])->name('messages'); | 516 | Route::get('cabinet/messages/{type_message}', [WorkerController::class, 'messages'])->name('messages'); |
517 | Route::get('cabinet/dialog/{user1}/{user2}', [WorkerController::class, 'dialog'])->name('dialog'); | 517 | Route::get('cabinet/dialog/{chat}', [WorkerController::class, 'dialog'])->name('dialog'); |
518 | // 3 страница - Избранные вакансии | 518 | // 3 страница - Избранные вакансии |
519 | Route::get('cabinet/favorite', [WorkerController::class, 'favorite'])->name('favorite'); | 519 | Route::get('cabinet/favorite', [WorkerController::class, 'favorite'])->name('favorite'); |
520 | // Продолжение борьбы против колорадов - избранные вакансии | 520 | // Продолжение борьбы против колорадов - избранные вакансии |
521 | Route::get('кабинет/favorite', [WorkerController::class, 'colorado'])->name('colorado'); | 521 | Route::get('кабинет/favorite', [WorkerController::class, 'colorado'])->name('colorado'); |
522 | 522 | ||
523 | // 4 страница - Сменить пароль | 523 | // 4 страница - Сменить пароль |
524 | Route::get('кабинет/new_password', [WorkerController::class, 'new_password'])->name('new_password'); | 524 | 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'); | 525 | Route::post('кабинет/new_password/save', [WorkerController::class, 'save_new_password'])->name('save_new_password'); |
526 | 526 | ||
527 | // 5 страница - Удалить профиль | 527 | // 5 страница - Удалить профиль |
528 | Route::get('кабинет/delete_profile', [WorkerController::class, 'delete_profile'])->name('delete_profile'); | 528 | 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'); | 529 | Route::post('кабинет/delete_profile/delete', [WorkerController::class, 'delete_profile_result'])->name('deleteprofile_result'); |
530 | 530 | ||
531 | // Резюме -pdf | 531 | // Резюме -pdf |
532 | Route::get('кабинет/download/{worker}', [WorkerController::class, 'download'])->name('download'); | 532 | Route::get('кабинет/download/{worker}', [WorkerController::class, 'download'])->name('download'); |
533 | 533 | ||
534 | // Поднятие анкеты | 534 | // Поднятие анкеты |
535 | Route::get('кабинет/up/{worker}', [WorkerController::class, 'up'])->name('up'); | 535 | Route::get('кабинет/up/{worker}', [WorkerController::class, 'up'])->name('up'); |
536 | 536 | ||
537 | Route::post('test123', [WorkerController::class, 'test123'])->name('test123'); | 537 | Route::post('test123', [WorkerController::class, 'test123'])->name('test123'); |
538 | 538 | ||
539 | // Добавление сертификата | 539 | // Добавление сертификата |
540 | Route::get('кабинет/new_sertificate/{worker}', [WorkerController::class, 'new_sertificate'])->name('new_sertificate'); | 540 | Route::get('кабинет/new_sertificate/{worker}', [WorkerController::class, 'new_sertificate'])->name('new_sertificate'); |
541 | Route::post('кабинет/add_sertificate', [WorkerController::class, 'add_serificate'])->name('add_serificate'); | 541 | 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'); | 542 | 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'); | 543 | 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'); | 544 | Route::get('кабинет/delete_sertificate/{doc}', [WorkerController::class, 'delete_sertificate'])->name('delete_sertificate'); |
545 | 545 | ||
546 | // Добавление предыдущих контактов компании | 546 | // Добавление предыдущих контактов компании |
547 | Route::get('кабинет/prev_company/{worker}', [WorkerController::class, 'new_prev_company'])->name('new_prev_company'); | 547 | 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'); | 548 | 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'); | 549 | 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'); | 550 | 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'); | 551 | Route::get('кабинет/delete_prev_company/{doc}', [WorkerController::class, 'delete_prev_company'])->name('delete_prev_company'); |
552 | 552 | ||
553 | // Добавление документа-диплома | 553 | // Добавление документа-диплома |
554 | Route::get('кабинет/add_diplom/{worker}', [WorkerController::class, 'add_diplom'])->name('add_diplom'); | 554 | 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'); | 555 | 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'); | 556 | 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'); | 557 | Route::get('кабинет/delete_ad_diplom/{worker}', [WorkerController::class, 'delete_add_diplom'])->name('delete_add_diplom'); |
558 | 558 | ||
559 | // Добавление стандартного диплома | 559 | // Добавление стандартного диплома |
560 | Route::get('кабинет/add_document/{worker}', [WorkerController::class, 'add_document'])->name('add_document'); | 560 | 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'); | 561 | 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'); | 562 | 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'); | 563 | 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'); | 564 | Route::get('кабинет/delete_document/{doc}', [WorkerController::class, 'delete_document'])->name('delete_document'); |
565 | 565 | ||
566 | // Отправка сообщения работодателю от соискателя | 566 | // Отправка сообщения работодателю от соискателя |
567 | Route::post('сообщение/', [WorkerController::class, 'new_message'])->name('new_message'); | 567 | Route::post('сообщение/', [WorkerController::class, 'new_message'])->name('new_message'); |
568 | }); | 568 | }); |
569 | 569 | ||
570 | // Личный кабинет работодателя | 570 | // Личный кабинет работодателя |
571 | Route::group([ | 571 | Route::group([ |
572 | 'as' => 'employer.', // имя маршрута, например auth.index | 572 | 'as' => 'employer.', // имя маршрута, например auth.index |
573 | 'prefix' => 'employer', // префикс маршрута, например auth/index | 573 | 'prefix' => 'employer', // префикс маршрута, например auth/index |
574 | 'middleware' => ['auth'], !['is_worker'], | 574 | 'middleware' => ['auth'], !['is_worker'], |
575 | ], function() { | 575 | ], function() { |
576 | // 0 страница - Личные данные работодателя | 576 | // 0 страница - Личные данные работодателя |
577 | Route::get('cabinet/employer_info', [EmployerController::class, 'employer_info'])->name('employer_info'); | 577 | 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'); | 578 | Route::post('cabinet/employer_info/{user}', [EmployerController::class, 'employer_info_save'])->name('employer_info_save'); |
579 | 579 | ||
580 | // 1 страница - Профиль | 580 | // 1 страница - Профиль |
581 | Route::get('cabinet', [EmployerController::class, 'cabinet'])->name('cabinet'); | 581 | Route::get('cabinet', [EmployerController::class, 'cabinet'])->name('cabinet'); |
582 | Route::post('cabinet/{Employer}', [EmployerController::class, 'cabinet_save'])->name('cabinet_save'); | 582 | 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'); | 583 | 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'); | 584 | 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'); | 585 | 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'); | 586 | 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'); | 587 | Route::get('cabinet/flot', [EmployerController::class, 'slider_flot'])->name('slider_flot'); |
588 | 588 | ||
589 | // 2 страница - Добавление вакансий | 589 | // 2 страница - Добавление вакансий |
590 | Route::get('cabinet/vacancie', [EmployerController::class, 'cabinet_vacancie'])->name('cabinet_vacancie'); | 590 | Route::get('cabinet/vacancie', [EmployerController::class, 'cabinet_vacancie'])->name('cabinet_vacancie'); |
591 | Route::post('vacancie', [EmployerController::class, 'cabinet_vacancy_save1'])->name('vac_save'); | 591 | 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'); | 592 | Route::get('cabinet/vacancie_danger', [EmployerController::class, 'cabinet_vacancie_danger'])->name('cabinet_vacancie_danger'); |
593 | 593 | ||
594 | 594 | ||
595 | Route::get('selected_people', [EmployerController::class, 'selected_people'])->name('selected_people'); | 595 | Route::get('selected_people', [EmployerController::class, 'selected_people'])->name('selected_people'); |
596 | 596 | ||
597 | // 3 страница - Мои вакансии | 597 | // 3 страница - Мои вакансии |
598 | Route::get('cabinet/vacancy_list', [EmployerController::class, 'vacancy_list'])->name('vacancy_list'); | 598 | 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'); | 599 | 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'); | 600 | 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'); | 601 | 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'); | 602 | 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'); | 603 | 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'); | 604 | Route::post('cabinet/vacancy-edit/{ad_employer}', [EmployerController::class, 'vacancy_save_me'])->name('vacancy_save_me'); |
605 | 605 | ||
606 | // 4.1Ю. | 606 | // 4.1Ю. |
607 | Route::get('cabinet/ad_jobs/create/{ad_employer}', [Ad_jobsController::class, 'add_job_in_vac'])->name('add_job_in_vac'); | 607 | 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'); | 608 | 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'); | 609 | 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'); | 610 | 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'); | 611 | Route::get('cabinet/ad_jobs/delete/{ad_job}', [Ad_jobsController::class, 'delete_job_in_vac'])->name('delete_job_in_vac'); |
612 | 612 | ||
613 | // 4 страница - Отклики на вакансии | 613 | // 4 страница - Отклики на вакансии |
614 | Route::get('cabinet/answers/{employer}', [EmployerController::class, 'answers'])->name('answers'); | 614 | Route::get('cabinet/answers/{employer}', [EmployerController::class, 'answers'])->name('answers'); |
615 | Route::get('cabinet/status/{employer}', [EmployerController::class, 'supple_status2'])->name('supple'); | 615 | 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'); | 616 | Route::get('status/{employer}/{ad_response}/{flag}', [EmployerController::class, 'supple_status'])->name('status_msg'); |
617 | 617 | ||
618 | // 5 страница - Сообщения | 618 | // 5 страница - Сообщения |
619 | Route::get('cabinet/messages/{type_message}', [EmployerController::class, 'messages'])->name('messages'); | 619 | Route::get('cabinet/messages/{type_message}', [EmployerController::class, 'messages'])->name('messages'); |
620 | Route::get('cabinet/dialog/{user1}/{user2}', [EmployerController::class, 'dialog'])->name('dialog'); | 620 | Route::get('cabinet/dialog/{chat}', [EmployerController::class, 'dialog'])->name('dialog'); |
621 | Route::post('cabinet/send-message', [EmployerController::class, 'send_message'])->name('send_message'); | 621 | Route::post('cabinet/send-message', [EmployerController::class, 'send_message'])->name('send_message'); |
622 | Route::post('test123', [EmployerController::class, 'test123'])->name('test123'); | 622 | Route::post('test123', [EmployerController::class, 'test123'])->name('test123'); |
623 | 623 | ||
624 | // 6 страница - Избранный | 624 | // 6 страница - Избранный |
625 | Route::get('cabinet/favorites', [EmployerController::class, 'favorites'])->name('favorites'); | 625 | Route::get('cabinet/favorites', [EmployerController::class, 'favorites'])->name('favorites'); |
626 | 626 | ||
627 | //7 страница - База данных | 627 | //7 страница - База данных |
628 | Route::get('cabinet/bd', [EmployerController::class, 'bd'])->name('bd'); | 628 | Route::get('cabinet/bd', [EmployerController::class, 'bd'])->name('bd'); |
629 | 629 | ||
630 | //8 страница - База резюме | 630 | //8 страница - База резюме |
631 | Route::get('cabinet/bd-tupe', [EmployerController::class, 'bd_tupe'])->name('bd-tupe'); | 631 | Route::get('cabinet/bd-tupe', [EmployerController::class, 'bd_tupe'])->name('bd-tupe'); |
632 | 632 | ||
633 | // 9 рассылка сообщений | 633 | // 9 рассылка сообщений |
634 | Route::get('cabinet/send-all-messages', [EmployerController::class, 'send_all_messages'])->name('send_all_messages'); | 634 | 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'); | 635 | Route::post('cabinet/send-all-messages/send', [EmployerController::class, 'send_all_post'])->name('send_all_post'); |
636 | 636 | ||
637 | // 10 страница FAQ вопросы | 637 | // 10 страница FAQ вопросы |
638 | Route::get('cabinet/faq', [EmployerController::class, 'faq'])->name('faq'); | 638 | Route::get('cabinet/faq', [EmployerController::class, 'faq'])->name('faq'); |
639 | 639 | ||
640 | // 11 страница - Настройка уведомлений | 640 | // 11 страница - Настройка уведомлений |
641 | Route::get('cabinet/subscribe', [EmployerController::class, 'subscribe'])->name('subscribe'); | 641 | Route::get('cabinet/subscribe', [EmployerController::class, 'subscribe'])->name('subscribe'); |
642 | Route::get('cabinet/subscribe/save', [EmployerController::class, 'save_subscribe'])->name('save_subscribe'); | 642 | Route::get('cabinet/subscribe/save', [EmployerController::class, 'save_subscribe'])->name('save_subscribe'); |
643 | 643 | ||
644 | // 12 страница - Сменить пароль | 644 | // 12 страница - Сменить пароль |
645 | Route::get('cabinet/password-reset', [EmployerController::class, 'password_reset'])->name('password_reset'); | 645 | 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'); | 646 | Route::get('cabinet/password-reset/new', [EmployerController::class, 'new_password'])->name('new_password'); |
647 | 647 | ||
648 | // 13 страница - Удаление профиля | 648 | // 13 страница - Удаление профиля |
649 | Route::get('cabinet/delete-people', [EmployerController::class, 'delete_people'])->name('delete_people'); | 649 | 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'); | 650 | 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'); | 651 | Route::get('cabinet/action-ajax-delete-people', [EmployerController::class, 'ajax_delete_user'])->name('ajax_delete_user'); |
652 | 652 | ||
653 | // Отправил сообщение | 653 | // Отправил сообщение |
654 | Route::post('сообщение/', [EmployerController::class, 'new_message'])->name('new_message'); | 654 | Route::post('сообщение/', [EmployerController::class, 'new_message'])->name('new_message'); |
655 | 655 | ||
656 | Route::post('pin_chat/', [EmployerController::class, 'pin_chat'])->name('pin_chat'); | 656 | Route::post('pin_chat/', [EmployerController::class, 'pin_chat'])->name('pin_chat'); |
657 | Route::post('remove_chat/', [EmployerController::class, 'remove_chat'])->name('remove_chat'); | 657 | Route::post('remove_chat/', [EmployerController::class, 'remove_chat'])->name('remove_chat'); |
658 | }); | 658 | }); |
659 | 659 | ||
660 | Route::get('TestWorker', [WorkerController::class, 'TestWorker'])->name('TestWorker'); | 660 | Route::get('TestWorker', [WorkerController::class, 'TestWorker'])->name('TestWorker'); |
661 | 661 | ||
662 | Route::post('send_message', [HomeController::class, 'send_message'])->name('send_message'); | ||
663 | |||
662 | 664 |