Commit 7fa088c5b0476e7dfcdc6f928a1766b3c30e1b5a
1 parent
e335a0a1d2
Exists in
master
Задачи 58,49,51 + правки от Марины
Showing 12 changed files with 72 additions and 22 deletions Inline Diff
- app/Http/Controllers/EmployerController.php
- app/Http/Controllers/WorkerController.php
- public/css/style_may2024.css
- resources/views/employers/bd.blade.php
- resources/views/employers/dialog.blade.php
- resources/views/workers/cabinet.blade.php
- resources/views/workers/dialog.blade.php
- resources/views/workers/docs-edit.blade.php
- resources/views/workers/form_additional_documents.blade.php
- resources/views/workers/form_basic_information.blade.php
- resources/views/workers/prev_company_edit_form.blade.php
- resources/views/workers/sertificate_edit.blade.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\SendAllMessages; | 13 | use App\Mail\SendAllMessages; |
14 | use App\Models\Ad_employer; | 14 | use App\Models\Ad_employer; |
15 | use App\Models\ad_response; | 15 | use App\Models\ad_response; |
16 | use App\Models\Category; | 16 | use App\Models\Category; |
17 | use App\Models\Chat; | 17 | use App\Models\Chat; |
18 | use App\Models\Employer; | 18 | use App\Models\Employer; |
19 | use App\Models\Flot; | 19 | use App\Models\Flot; |
20 | use App\Models\Job_title; | 20 | use App\Models\Job_title; |
21 | use App\Models\Like_worker; | 21 | use App\Models\Like_worker; |
22 | use App\Models\Message; | 22 | use App\Models\Message; |
23 | use App\Models\Worker; | 23 | use App\Models\Worker; |
24 | use Carbon\Carbon; | 24 | use Carbon\Carbon; |
25 | use Illuminate\Auth\Events\Registered; | 25 | use Illuminate\Auth\Events\Registered; |
26 | use Illuminate\Database\Eloquent\Builder; | 26 | use Illuminate\Database\Eloquent\Builder; |
27 | use Illuminate\Http\Request; | 27 | use Illuminate\Http\Request; |
28 | use Illuminate\Support\Facades\Auth; | 28 | use Illuminate\Support\Facades\Auth; |
29 | use Illuminate\Support\Facades\Hash; | 29 | use Illuminate\Support\Facades\Hash; |
30 | use Illuminate\Support\Facades\Mail; | 30 | use Illuminate\Support\Facades\Mail; |
31 | use Illuminate\Support\Facades\Storage; | 31 | use Illuminate\Support\Facades\Storage; |
32 | use App\Models\User as User_Model; | 32 | use App\Models\User as User_Model; |
33 | use Illuminate\Support\Facades\Validator; | 33 | use Illuminate\Support\Facades\Validator; |
34 | use App\Enums\DbExportColumns; | 34 | use App\Enums\DbExportColumns; |
35 | 35 | ||
36 | class EmployerController extends Controller | 36 | class EmployerController extends Controller |
37 | { | 37 | { |
38 | public function vacancie($vacancy, Request $request) { | 38 | public function vacancie($vacancy, Request $request) { |
39 | $title = 'Заголовок вакансии'; | 39 | $title = 'Заголовок вакансии'; |
40 | $Query = Ad_employer::with('jobs')-> | 40 | $Query = Ad_employer::with('jobs')-> |
41 | with('cat')-> | 41 | with('cat')-> |
42 | with('employer')-> | 42 | with('employer')-> |
43 | with('jobs_code')-> | 43 | with('jobs_code')-> |
44 | select('ad_employers.*')-> | 44 | select('ad_employers.*')-> |
45 | where('id', '=', $vacancy)->get(); | 45 | where('id', '=', $vacancy)->get(); |
46 | 46 | ||
47 | if (isset(Auth()->user()->id)) | 47 | if (isset(Auth()->user()->id)) |
48 | $uid = Auth()->user()->id; | 48 | $uid = Auth()->user()->id; |
49 | else | 49 | else |
50 | $uid = 0; | 50 | $uid = 0; |
51 | $title = $Query[0]->name; | 51 | $title = $Query[0]->name; |
52 | if ($request->ajax()) { | 52 | if ($request->ajax()) { |
53 | return view('ajax.vacance-item', compact('Query','uid')); | 53 | return view('ajax.vacance-item', compact('Query','uid')); |
54 | } else { | 54 | } else { |
55 | return view('vacance-item', compact('title', 'Query', 'uid')); | 55 | return view('vacance-item', compact('title', 'Query', 'uid')); |
56 | } | 56 | } |
57 | } | 57 | } |
58 | 58 | ||
59 | public function logout() { | 59 | public function logout() { |
60 | Auth::logout(); | 60 | Auth::logout(); |
61 | return redirect()->route('index') | 61 | return redirect()->route('index') |
62 | ->with('success', 'Вы вышли из личного кабинета'); | 62 | ->with('success', 'Вы вышли из личного кабинета'); |
63 | } | 63 | } |
64 | 64 | ||
65 | public function employer_info() { | 65 | public function employer_info() { |
66 | // код юзера | 66 | // код юзера |
67 | $user_info = Auth()->user(); | 67 | $user_info = Auth()->user(); |
68 | // вьюшка для вывода данных | 68 | // вьюшка для вывода данных |
69 | return view('employers.info', compact('user_info')); | 69 | return view('employers.info', compact('user_info')); |
70 | } | 70 | } |
71 | 71 | ||
72 | public function employer_info_save(User_Model $user, BaseUser_min_Request $request) { | 72 | public function employer_info_save(User_Model $user, BaseUser_min_Request $request) { |
73 | // Все данные через реквест | 73 | // Все данные через реквест |
74 | $all = $request->all(); | 74 | $all = $request->all(); |
75 | unset($all['_token']); | 75 | unset($all['_token']); |
76 | // обновление | 76 | // обновление |
77 | $user->update($all); | 77 | $user->update($all); |
78 | return redirect()->route('employer.employer_info'); | 78 | return redirect()->route('employer.employer_info'); |
79 | } | 79 | } |
80 | 80 | ||
81 | public function cabinet() { | 81 | public function cabinet() { |
82 | $id = Auth()->user()->id; | 82 | $id = Auth()->user()->id; |
83 | $Employer = Employer::query()->with('users')->with('ads')->with('flots')-> | 83 | $Employer = Employer::query()->with('users')->with('ads')->with('flots')-> |
84 | WhereHas('users', | 84 | WhereHas('users', |
85 | function (Builder $query) use ($id) {$query->Where('id', $id); | 85 | function (Builder $query) use ($id) {$query->Where('id', $id); |
86 | })->get(); | 86 | })->get(); |
87 | return view('employers.cabinet45', compact('Employer')); | 87 | return view('employers.cabinet45', compact('Employer')); |
88 | } | 88 | } |
89 | 89 | ||
90 | public function slider_flot() { | 90 | public function slider_flot() { |
91 | $id = Auth()->user()->id; | 91 | $id = Auth()->user()->id; |
92 | $Employer = Employer::query()->with('users')->with('ads')->with('flots')-> | 92 | $Employer = Employer::query()->with('users')->with('ads')->with('flots')-> |
93 | WhereHas('users', | 93 | WhereHas('users', |
94 | function (Builder $query) use ($id) {$query->Where('id', $id); | 94 | function (Builder $query) use ($id) {$query->Where('id', $id); |
95 | })->get(); | 95 | })->get(); |
96 | return view('employers.fly-flot', compact('Employer')); | 96 | return view('employers.fly-flot', compact('Employer')); |
97 | } | 97 | } |
98 | 98 | ||
99 | public function cabinet_save(Employer $Employer, Request $request) { | 99 | public function cabinet_save(Employer $Employer, Request $request) { |
100 | $params = $request->all(); | 100 | $params = $request->all(); |
101 | $params['user_id'] = Auth()->user()->id; | 101 | $params['user_id'] = Auth()->user()->id; |
102 | $id = $Employer->id; | 102 | $id = $Employer->id; |
103 | 103 | ||
104 | if ($request->has('logo')) { | 104 | if ($request->has('logo')) { |
105 | if (!empty($Employer->logo)) { | 105 | if (!empty($Employer->logo)) { |
106 | Storage::delete($Employer->logo); | 106 | Storage::delete($Employer->logo); |
107 | } | 107 | } |
108 | $params['logo'] = $request->file('logo')->store("employer/$id", 'public'); | 108 | $params['logo'] = $request->file('logo')->store("employer/$id", 'public'); |
109 | } | 109 | } |
110 | 110 | ||
111 | $Employer->update($params); | 111 | $Employer->update($params); |
112 | 112 | ||
113 | return redirect()->route('employer.cabinet')->with('success', 'Данные были успешно сохранены'); | 113 | return redirect()->route('employer.cabinet')->with('success', 'Данные были успешно сохранены'); |
114 | } | 114 | } |
115 | 115 | ||
116 | public function save_add_flot(FlotRequest $request) { | 116 | public function save_add_flot(FlotRequest $request) { |
117 | // отмена | 117 | // отмена |
118 | $params = $request->all(); | 118 | $params = $request->all(); |
119 | 119 | ||
120 | if ($request->has('image')) { | 120 | if ($request->has('image')) { |
121 | $params['image'] = $request->file('image')->store("flot", 'public'); | 121 | $params['image'] = $request->file('image')->store("flot", 'public'); |
122 | } | 122 | } |
123 | Flot::create($params); | 123 | Flot::create($params); |
124 | $data_flots = Flot::query()->where('employer_id', $request->get('employer_if'))->get(); | 124 | $data_flots = Flot::query()->where('employer_id', $request->get('employer_if'))->get(); |
125 | return redirect()->route('employer.slider_flot')->with('success', 'Новый корабль был добавлен'); | 125 | return redirect()->route('employer.slider_flot')->with('success', 'Новый корабль был добавлен'); |
126 | } | 126 | } |
127 | 127 | ||
128 | public function edit_flot(Flot $Flot, Employer $Employer) { | 128 | public function edit_flot(Flot $Flot, Employer $Employer) { |
129 | return view('employers.edit-flot', compact('Flot', 'Employer')); | 129 | return view('employers.edit-flot', compact('Flot', 'Employer')); |
130 | } | 130 | } |
131 | 131 | ||
132 | public function update_flot(FlotRequest $request, Flot $Flot) { | 132 | public function update_flot(FlotRequest $request, Flot $Flot) { |
133 | $params = $request->all(); | 133 | $params = $request->all(); |
134 | 134 | ||
135 | if ($request->has('image')) { | 135 | if ($request->has('image')) { |
136 | if (!empty($flot->image)) { | 136 | if (!empty($flot->image)) { |
137 | Storage::delete($flot->image); | 137 | Storage::delete($flot->image); |
138 | } | 138 | } |
139 | $params['image'] = $request->file('image')->store("flot", 'public'); | 139 | $params['image'] = $request->file('image')->store("flot", 'public'); |
140 | } else { | 140 | } else { |
141 | if (!empty($flot->image)) $params['image'] = $flot->image; | 141 | if (!empty($flot->image)) $params['image'] = $flot->image; |
142 | } | 142 | } |
143 | 143 | ||
144 | $Flot->update($params); | 144 | $Flot->update($params); |
145 | return redirect()->route('employer.slider_flot')->with('success', 'Новый корабль был добавлен'); | 145 | return redirect()->route('employer.slider_flot')->with('success', 'Новый корабль был добавлен'); |
146 | } | 146 | } |
147 | 147 | ||
148 | public function delete_flot(Flot $Flot) { | 148 | public function delete_flot(Flot $Flot) { |
149 | $data_flots = Flot::query()->where('employer_id', $Flot->employer_id)->get(); | 149 | $data_flots = Flot::query()->where('employer_id', $Flot->employer_id)->get(); |
150 | 150 | ||
151 | if (isset($Flot->id)) $Flot->delete(); | 151 | if (isset($Flot->id)) $Flot->delete(); |
152 | return redirect()->route('employer.slider_flot')->with('success', 'Корабль был удален'); | 152 | return redirect()->route('employer.slider_flot')->with('success', 'Корабль был удален'); |
153 | } | 153 | } |
154 | 154 | ||
155 | // Форма добавления вакансий | 155 | // Форма добавления вакансий |
156 | public function cabinet_vacancie() { | 156 | public function cabinet_vacancie() { |
157 | $id = Auth()->user()->id; | 157 | $id = Auth()->user()->id; |
158 | 158 | ||
159 | if (Auth()->user()->is_public) { | 159 | if (Auth()->user()->is_public) { |
160 | $categories = Category::query()->active()->get(); | 160 | $categories = Category::query()->active()->get(); |
161 | $jobs = Job_title::query()->orderByDesc('sort')->OrderBy('name')-> | 161 | $jobs = Job_title::query()->orderByDesc('sort')->OrderBy('name')-> |
162 | where('is_remove', '=', '0')-> | 162 | where('is_remove', '=', '0')-> |
163 | where('is_bd', '=', '0')-> | 163 | where('is_bd', '=', '0')-> |
164 | get(); | 164 | get(); |
165 | $Employer = Employer::query()->with('users')->with('ads')->with('flots')-> | 165 | $Employer = Employer::query()->with('users')->with('ads')->with('flots')-> |
166 | WhereHas('users', | 166 | WhereHas('users', |
167 | function (Builder $query) use ($id) { | 167 | function (Builder $query) use ($id) { |
168 | $query->Where('id', $id); | 168 | $query->Where('id', $id); |
169 | })->get(); | 169 | })->get(); |
170 | return view('employers.add_vacancy', compact('Employer', 'jobs', 'categories')); | 170 | return view('employers.add_vacancy', compact('Employer', 'jobs', 'categories')); |
171 | } else { | 171 | } else { |
172 | return redirect()->route('employer.cabinet_vacancie_danger'); | 172 | return redirect()->route('employer.cabinet_vacancie_danger'); |
173 | } | 173 | } |
174 | } | 174 | } |
175 | 175 | ||
176 | // Форма предупреждения об оплате | 176 | // Форма предупреждения об оплате |
177 | public function cabinet_vacancie_danger() { | 177 | public function cabinet_vacancie_danger() { |
178 | return view('employers.add_vacancy_danger'); | 178 | return view('employers.add_vacancy_danger'); |
179 | } | 179 | } |
180 | 180 | ||
181 | // Сохранение вакансии | 181 | // Сохранение вакансии |
182 | public function cabinet_vacancy_save1(VacancyRequestEdit $request) { | 182 | public function cabinet_vacancy_save1(VacancyRequestEdit $request) { |
183 | $params_emp = $request->all(); | 183 | $params_emp = $request->all(); |
184 | 184 | ||
185 | $params_job["job_title_id"] = $params_emp['job_title_id']; | 185 | $params_job["job_title_id"] = $params_emp['job_title_id']; |
186 | //$params_job["min_salary"] = $params_emp['min_salary']; | 186 | //$params_job["min_salary"] = $params_emp['min_salary']; |
187 | //$params_job["max_salary"] = $params_emp['max_salary']; | 187 | //$params_job["max_salary"] = $params_emp['max_salary']; |
188 | //$params_job["region"] = $params_emp['region']; | 188 | //$params_job["region"] = $params_emp['region']; |
189 | //$params_job["power"] = $params_emp['power']; | 189 | //$params_job["power"] = $params_emp['power']; |
190 | //$params_job["sytki"] = $params_emp['sytki']; | 190 | //$params_job["sytki"] = $params_emp['sytki']; |
191 | //$params_job["start"] = $params_emp['start']; | 191 | //$params_job["start"] = $params_emp['start']; |
192 | //$params_job["flot"] = $params_emp['flot']; | 192 | //$params_job["flot"] = $params_emp['flot']; |
193 | //$params_job["description"] = $params_emp['description']; | 193 | //$params_job["description"] = $params_emp['description']; |
194 | 194 | ||
195 | $ad_jobs = Ad_employer::create($params_emp); | 195 | $ad_jobs = Ad_employer::create($params_emp); |
196 | //$params_job['ad_employer_id'] = $ad_jobs->id; | 196 | //$params_job['ad_employer_id'] = $ad_jobs->id; |
197 | //Ad_jobs::create($params_job); | 197 | //Ad_jobs::create($params_job); |
198 | $ad_jobs->jobs()->sync($request->get('job_title_id')); | 198 | $ad_jobs->jobs()->sync($request->get('job_title_id')); |
199 | 199 | ||
200 | return redirect()->route('employer.vacancy_list'); | 200 | return redirect()->route('employer.vacancy_list'); |
201 | } | 201 | } |
202 | 202 | ||
203 | // Список вакансий | 203 | // Список вакансий |
204 | public function vacancy_list(Request $request) { | 204 | public function vacancy_list(Request $request) { |
205 | $id = Auth()->user()->id; | 205 | $id = Auth()->user()->id; |
206 | 206 | ||
207 | //dd($request->all()); | 207 | //dd($request->all()); |
208 | $Employer = Employer::query()->where('user_id', $id)->first(); | 208 | $Employer = Employer::query()->where('user_id', $id)->first(); |
209 | $vacancy_list = Ad_employer::query()->with('jobs')-> | 209 | $vacancy_list = Ad_employer::query()->with('jobs')-> |
210 | with('jobs_code')-> | 210 | with('jobs_code')-> |
211 | where('employer_id', $Employer->id); | 211 | where('employer_id', $Employer->id); |
212 | 212 | ||
213 | if (($request->has('search')) && (!empty($request->get('search')))) { | 213 | if (($request->has('search')) && (!empty($request->get('search')))) { |
214 | $search = $request->get('search'); | 214 | $search = $request->get('search'); |
215 | $vacancy_list = $vacancy_list->where('name', 'LIKE', "%$search%"); | 215 | $vacancy_list = $vacancy_list->where('name', 'LIKE', "%$search%"); |
216 | } | 216 | } |
217 | 217 | ||
218 | if ($request->get('sort')) { | 218 | if ($request->get('sort')) { |
219 | $sort = $request->get('sort'); | 219 | $sort = $request->get('sort'); |
220 | switch ($sort) { | 220 | switch ($sort) { |
221 | case 'name_up': $vacancy_list = $vacancy_list->orderBy('name')->orderBy('id'); break; | 221 | case 'name_up': $vacancy_list = $vacancy_list->orderBy('name')->orderBy('id'); break; |
222 | case 'name_down': $vacancy_list = $vacancy_list->orderByDesc('name')->orderby('id'); break; | 222 | case 'name_down': $vacancy_list = $vacancy_list->orderByDesc('name')->orderby('id'); break; |
223 | case 'nopublic': $vacancy_list->where('active_is', '=', 0)->orderBy('id');break; | 223 | case 'nopublic': $vacancy_list->where('active_is', '=', 0)->orderBy('id');break; |
224 | case 'public':$vacancy_list->where('active_is', '=', 1)->orderBy('id');break; | 224 | case 'public':$vacancy_list->where('active_is', '=', 1)->orderBy('id');break; |
225 | case 'created_at_up': $vacancy_list = $vacancy_list->OrderBy('created_at')->orderBy('id'); break; | 225 | case 'created_at_up': $vacancy_list = $vacancy_list->OrderBy('created_at')->orderBy('id'); break; |
226 | case 'created_at_down': $vacancy_list = $vacancy_list->orderByDesc('created_at')->orderBy('id'); break; | 226 | case 'created_at_down': $vacancy_list = $vacancy_list->orderByDesc('created_at')->orderBy('id'); break; |
227 | case 'default': $vacancy_list = $vacancy_list->orderbyDesc('updated_at')->orderBy('name'); break; | 227 | case 'default': $vacancy_list = $vacancy_list->orderbyDesc('updated_at')->orderBy('name'); break; |
228 | default: $vacancy_list = $vacancy_list->orderByDesc('id')->orderbyDesc('updated_at'); break; | 228 | default: $vacancy_list = $vacancy_list->orderByDesc('id')->orderbyDesc('updated_at'); break; |
229 | } | 229 | } |
230 | } else { | 230 | } else { |
231 | $vacancy_list = $vacancy_list->orderByDesc('created_at')->orderBy('id'); | 231 | $vacancy_list = $vacancy_list->orderByDesc('created_at')->orderBy('id'); |
232 | } | 232 | } |
233 | 233 | ||
234 | $vacancy_list = $vacancy_list->paginate(10); | 234 | $vacancy_list = $vacancy_list->paginate(10); |
235 | 235 | ||
236 | //ajax | 236 | //ajax |
237 | if ($request->ajax()) { | 237 | if ($request->ajax()) { |
238 | return view('employers.ajax.list_vacancy', compact('vacancy_list', 'Employer')); | 238 | return view('employers.ajax.list_vacancy', compact('vacancy_list', 'Employer')); |
239 | } else { | 239 | } else { |
240 | return view('employers.list_vacancy', compact('vacancy_list', 'Employer')); | 240 | return view('employers.list_vacancy', compact('vacancy_list', 'Employer')); |
241 | } | 241 | } |
242 | } | 242 | } |
243 | 243 | ||
244 | // Карточка вакансии | 244 | // Карточка вакансии |
245 | public function vacancy_edit(Ad_employer $ad_employer) { | 245 | public function vacancy_edit(Ad_employer $ad_employer) { |
246 | $id = Auth()->user()->id; | 246 | $id = Auth()->user()->id; |
247 | $Positions = Category::query()->where('is_remove', '=', '0')->get(); | 247 | $Positions = Category::query()->where('is_remove', '=', '0')->get(); |
248 | $jobs = Job_title::query()->orderByDesc('sort')->OrderBy('name')-> | 248 | $jobs = Job_title::query()->orderByDesc('sort')->OrderBy('name')-> |
249 | where('is_remove', '=', '0')-> | 249 | where('is_remove', '=', '0')-> |
250 | where('is_bd', '=', '0')->get(); | 250 | where('is_bd', '=', '0')->get(); |
251 | 251 | ||
252 | $Employer = Employer::query()->with('users')->with('ads')-> | 252 | $Employer = Employer::query()->with('users')->with('ads')-> |
253 | with('flots')->where('user_id', $id)->first(); | 253 | with('flots')->where('user_id', $id)->first(); |
254 | return view('employers.edit_vacancy', compact('ad_employer', 'Positions','Employer', 'jobs')); | 254 | return view('employers.edit_vacancy', compact('ad_employer', 'Positions','Employer', 'jobs')); |
255 | } | 255 | } |
256 | 256 | ||
257 | // Сохранение-редактирование записи | 257 | // Сохранение-редактирование записи |
258 | public function vacancy_save_me(VacancyRequestEdit $request, Ad_employer $ad_employer) { | 258 | public function vacancy_save_me(VacancyRequestEdit $request, Ad_employer $ad_employer) { |
259 | $params = $request->all(); | 259 | $params = $request->all(); |
260 | $params_job["job_title_id"] = $params['job_title_id']; | 260 | $params_job["job_title_id"] = $params['job_title_id']; |
261 | 261 | ||
262 | $ad_employer->update($params); | 262 | $ad_employer->update($params); |
263 | $ad_employer->jobs()->sync($request->get('job_title_id')); | 263 | $ad_employer->jobs()->sync($request->get('job_title_id')); |
264 | 264 | ||
265 | $id = Auth()->user()->id; | 265 | $id = Auth()->user()->id; |
266 | $Positions = Category::query()->where('is_remove', '=', '0')->get(); | 266 | $Positions = Category::query()->where('is_remove', '=', '0')->get(); |
267 | $jobs = Job_title::query()->orderByDesc('sort')->OrderBy('name') | 267 | $jobs = Job_title::query()->orderByDesc('sort')->OrderBy('name') |
268 | ->where('is_remove', '=', '0') | 268 | ->where('is_remove', '=', '0') |
269 | ->where('is_bd', '=', '0') | 269 | ->where('is_bd', '=', '0') |
270 | ->get(); | 270 | ->get(); |
271 | 271 | ||
272 | $Employer = Employer::query() | 272 | $Employer = Employer::query() |
273 | ->with('users')->with('ads')->with('flots')->where('user_id', $id)->first(); | 273 | ->with('users')->with('ads')->with('flots')->where('user_id', $id)->first(); |
274 | return view('employers.edit_vacancy', compact('ad_employer', 'Positions','Employer', 'jobs')); | 274 | return view('employers.edit_vacancy', compact('ad_employer', 'Positions','Employer', 'jobs')); |
275 | } | 275 | } |
276 | 276 | ||
277 | // Сохранение карточки вакансии | 277 | // Сохранение карточки вакансии |
278 | public function vacancy_save(Request $request, Ad_employer $ad_employer) { | 278 | public function vacancy_save(Request $request, Ad_employer $ad_employer) { |
279 | $all = $request->all(); | 279 | $all = $request->all(); |
280 | $ad_employer->update($all); | 280 | $ad_employer->update($all); |
281 | return redirect()->route('employer.cabinet_vacancie'); | 281 | return redirect()->route('employer.cabinet_vacancie'); |
282 | } | 282 | } |
283 | 283 | ||
284 | // Удаление карточки вакансии | 284 | // Удаление карточки вакансии |
285 | public function vacancy_delete(Ad_employer $ad_employer) { | 285 | public function vacancy_delete(Ad_employer $ad_employer) { |
286 | $ad_employer->delete(); | 286 | $ad_employer->delete(); |
287 | 287 | ||
288 | return redirect()->route('employer.vacancy_list') | 288 | return redirect()->route('employer.vacancy_list') |
289 | ->with('success', 'Данные были успешно сохранены'); | 289 | ->with('success', 'Данные были успешно сохранены'); |
290 | } | 290 | } |
291 | 291 | ||
292 | // Обновление даты | 292 | // Обновление даты |
293 | public function vacancy_up(Ad_employer $ad_employer) { | 293 | public function vacancy_up(Ad_employer $ad_employer) { |
294 | $up = date('m/d/Y h:i:s', time());; | 294 | $up = date('m/d/Y h:i:s', time());; |
295 | $vac_emp = Ad_employer::findOrFail($ad_employer->id); | 295 | $vac_emp = Ad_employer::findOrFail($ad_employer->id); |
296 | $vac_emp->updated_at = $up; | 296 | $vac_emp->updated_at = $up; |
297 | $vac_emp->save(); | 297 | $vac_emp->save(); |
298 | 298 | ||
299 | return redirect()->back(); //route('employer.vacancy_list'); | 299 | return redirect()->back(); //route('employer.vacancy_list'); |
300 | // начало конца | 300 | // начало конца |
301 | } | 301 | } |
302 | 302 | ||
303 | //Видимость вакансии | 303 | //Видимость вакансии |
304 | public function vacancy_eye(Ad_employer $ad_employer, $status) { | 304 | public function vacancy_eye(Ad_employer $ad_employer, $status) { |
305 | $vac_emp = Ad_employer::findOrFail($ad_employer->id); | 305 | $vac_emp = Ad_employer::findOrFail($ad_employer->id); |
306 | $vac_emp->active_is = $status; | 306 | $vac_emp->active_is = $status; |
307 | $vac_emp->save(); | 307 | $vac_emp->save(); |
308 | 308 | ||
309 | return redirect()->route('employer.vacancy_list'); | 309 | return redirect()->route('employer.vacancy_list'); |
310 | } | 310 | } |
311 | 311 | ||
312 | //Вакансия редактирования (шаблон) | 312 | //Вакансия редактирования (шаблон) |
313 | public function vacancy_update(Ad_employer $id) { | 313 | public function vacancy_update(Ad_employer $id) { |
314 | 314 | ||
315 | } | 315 | } |
316 | 316 | ||
317 | //Отклики на вакансию - лист | 317 | //Отклики на вакансию - лист |
318 | public function answers(Employer $employer, Request $request) { | 318 | public function answers(Employer $employer, Request $request) { |
319 | $user_id = Auth()->user()->id; | 319 | $user_id = Auth()->user()->id; |
320 | $answer = Ad_employer::query()->where('employer_id', $employer->id); | 320 | $answer = Ad_employer::query()->where('employer_id', $employer->id); |
321 | if ($request->has('search')) { | 321 | if ($request->has('search')) { |
322 | $search = trim($request->get('search')); | 322 | $search = trim($request->get('search')); |
323 | if (!empty($search)) $answer = $answer->where('name', 'LIKE', "%$search%"); | 323 | if (!empty($search)) $answer = $answer->where('name', 'LIKE', "%$search%"); |
324 | } | 324 | } |
325 | 325 | ||
326 | $answer = $answer->with('response')->OrderByDESC('id')->get(); | 326 | $answer = $answer->with('response')->OrderByDESC('id')->get(); |
327 | 327 | ||
328 | return view('employers.list_answer', compact('answer', 'user_id', 'employer')); | 328 | return view('employers.list_answer', compact('answer', 'user_id', 'employer')); |
329 | } | 329 | } |
330 | 330 | ||
331 | //Обновление статуса | 331 | //Обновление статуса |
332 | public function supple_status(employer $employer, ad_response $ad_response, $flag) { | 332 | public function supple_status(employer $employer, ad_response $ad_response, $flag) { |
333 | $ad_response->update(Array('flag' => $flag)); | 333 | $ad_response->update(Array('flag' => $flag)); |
334 | return redirect()->route('employer.answers', ['employer' => $employer->id]); | 334 | return redirect()->route('employer.answers', ['employer' => $employer->id]); |
335 | } | 335 | } |
336 | 336 | ||
337 | //Страницы сообщений список | 337 | //Страницы сообщений список |
338 | public function messages($type_message) { | 338 | public function messages($type_message) { |
339 | $user_id = Auth()->user()->id; | 339 | $user_id = Auth()->user()->id; |
340 | 340 | ||
341 | $chats = Chat::get_user_chats($user_id); | 341 | $chats = Chat::get_user_chats($user_id); |
342 | $user_type = 'employer'; | 342 | $user_type = 'employer'; |
343 | 343 | ||
344 | return view('employers.messages', compact('chats','user_id', 'user_type')); | 344 | return view('employers.messages', compact('chats','user_id', 'user_type')); |
345 | } | 345 | } |
346 | 346 | ||
347 | // Диалог между пользователями | 347 | // Диалог между пользователями |
348 | public function dialog(Request $request, User_Model $user1, User_Model $user2) { | 348 | public function dialog(Request $request, User_Model $user1, User_Model $user2) { |
349 | // Получение параметров. | 349 | // Получение параметров. |
350 | if ($request->has('ad_employer')){ | 350 | if ($request->has('ad_employer')){ |
351 | $ad_employer = $request->get('ad_employer'); | 351 | $ad_employer = $request->get('ad_employer'); |
352 | } else { | 352 | } else { |
353 | $ad_employer = 0; | 353 | $ad_employer = 0; |
354 | } | 354 | } |
355 | 355 | ||
356 | if (isset($user2->id)) { | 356 | if (isset($user2->id)) { |
357 | $companion = User_Model::query()->with('workers')-> | 357 | $companion = User_Model::query()->with('workers')-> |
358 | with('employers')-> | 358 | with('employers')-> |
359 | where('id', $user2->id)->first(); | 359 | where('id', $user2->id)->first(); |
360 | } | 360 | } |
361 | 361 | ||
362 | $Messages = Message::query() | 362 | $Messages = Message::query() |
363 | ->where(function($query) use ($user1, $user2) { | 363 | ->where(function($query) use ($user1, $user2) { |
364 | $query->where('user_id', $user1->id)->where('to_user_id', $user2->id); | 364 | $query->where('user_id', $user1->id)->where('to_user_id', $user2->id); |
365 | }) | 365 | }) |
366 | ->orWhere(function($query) use ($user1, $user2) { | 366 | ->orWhere(function($query) use ($user1, $user2) { |
367 | $query->where('user_id', $user2->id)->where('to_user_id', $user1->id); | 367 | $query->where('user_id', $user2->id)->where('to_user_id', $user1->id); |
368 | }) | 368 | }) |
369 | ->orderBy('created_at') | 369 | ->orderBy('created_at') |
370 | ->get() | 370 | ->get() |
371 | ; | 371 | ; |
372 | 372 | ||
373 | $sender = $user1; | 373 | $sender = $user1; |
374 | 374 | ||
375 | Message::where('user_id', '=', $user2->id) | 375 | Message::where('user_id', '=', $user2->id) |
376 | ->where('to_user_id', '=', $user1->id) | 376 | ->where('to_user_id', '=', $user1->id) |
377 | ->update(['flag_new' => 0]) | 377 | ->update(['flag_new' => 0]) |
378 | ; | 378 | ; |
379 | 379 | ||
380 | return view('employers.dialog', compact('companion', 'sender', 'ad_employer', 'Messages')); | 380 | return view('employers.dialog', compact('companion', 'sender', 'ad_employer', 'Messages')); |
381 | } | 381 | } |
382 | 382 | ||
383 | public function pin_chat(Request $request){ | 383 | public function pin_chat(Request $request){ |
384 | $chat_id = $request->get('id'); | 384 | $chat_id = $request->get('id'); |
385 | $is_fixed = $request->get('is_fixed'); | 385 | $is_fixed = $request->get('is_fixed'); |
386 | 386 | ||
387 | Chat::pin_chat($chat_id, $is_fixed); | 387 | Chat::pin_chat($chat_id, $is_fixed); |
388 | } | 388 | } |
389 | 389 | ||
390 | public function remove_chat(Request $request){ | 390 | public function remove_chat(Request $request){ |
391 | $chat_id = $request->get('id'); | 391 | $chat_id = $request->get('id'); |
392 | Chat::remove_chat($chat_id); | 392 | Chat::remove_chat($chat_id); |
393 | } | 393 | } |
394 | 394 | ||
395 | // Регистрация работодателя | 395 | // Регистрация работодателя |
396 | public function register_employer(Request $request) { | 396 | public function register_employer(Request $request) { |
397 | $params = $request->all(); | 397 | $params = $request->all(); |
398 | 398 | ||
399 | $rules = [ | 399 | $rules = [ |
400 | //'surname' => ['required', 'string', 'max:255'], | 400 | //'surname' => ['required', 'string', 'max:255'], |
401 | //'name_man' => ['required', 'string', 'max:255'], | 401 | //'name_man' => ['required', 'string', 'max:255'], |
402 | 'email' => ['required', 'string', 'email', 'max:255', 'unique:users'], | 402 | 'email' => ['required', 'string', 'email', 'max:255', 'unique:users'], |
403 | 'name_company' => ['required', 'string', 'max:255'], | 403 | 'name_company' => ['required', 'string', 'max:255'], |
404 | 'password' => ['required', 'string', 'min:6'], | 404 | 'password' => ['required', 'string', 'min:6'], |
405 | ]; | 405 | ]; |
406 | 406 | ||
407 | 407 | ||
408 | $messages = [ | 408 | $messages = [ |
409 | 'required' => 'Укажите обязательное поле', | 409 | 'required' => 'Укажите обязательное поле', |
410 | 'min' => [ | 410 | 'min' => [ |
411 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', | 411 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', |
412 | 'integer' => 'Поле «:attribute» должно быть :min или больше', | 412 | 'integer' => 'Поле «:attribute» должно быть :min или больше', |
413 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' | 413 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' |
414 | ], | 414 | ], |
415 | 'max' => [ | 415 | 'max' => [ |
416 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', | 416 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', |
417 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', | 417 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', |
418 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' | 418 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' |
419 | ] | 419 | ] |
420 | ]; | 420 | ]; |
421 | 421 | ||
422 | $email = $request->get('email'); | 422 | $email = $request->get('email'); |
423 | if (!preg_match("/^[a-zA-Z0-9_\-.]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-.]+$/", $email)) { | 423 | if (!preg_match("/^[a-zA-Z0-9_\-.]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-.]+$/", $email)) { |
424 | return json_encode(Array("ERROR" => "Error: Отсутствует емайл или некорректный емайл")); | 424 | return json_encode(Array("ERROR" => "Error: Отсутствует емайл или некорректный емайл")); |
425 | } | 425 | } |
426 | 426 | ||
427 | if ($request->get('password') !== $request->get('confirmed')){ | 427 | if ($request->get('password') !== $request->get('confirmed')){ |
428 | return json_encode(Array("ERROR" => "Error: Не совпадают пароль и подтверждение пароля")); | 428 | return json_encode(Array("ERROR" => "Error: Не совпадают пароль и подтверждение пароля")); |
429 | } | 429 | } |
430 | 430 | ||
431 | if (strlen($request->get('password')) < 6) { | 431 | if (strlen($request->get('password')) < 6) { |
432 | return json_encode(Array("ERROR" => "Error: Недостаточная длина пароля! Увеличьте себе длину пароля!")); | 432 | return json_encode(Array("ERROR" => "Error: Недостаточная длина пароля! Увеличьте себе длину пароля!")); |
433 | } | 433 | } |
434 | 434 | ||
435 | if (empty($request->get('surname'))) { | 435 | if (empty($request->get('surname'))) { |
436 | $params['surname'] = 'Неизвестно'; | 436 | $params['surname'] = 'Неизвестно'; |
437 | } | 437 | } |
438 | if (empty($request->get('name_man'))) { | 438 | if (empty($request->get('name_man'))) { |
439 | $params['name_man'] = 'Неизвестно'; | 439 | $params['name_man'] = 'Неизвестно'; |
440 | } | 440 | } |
441 | $validator = Validator::make($params, $rules, $messages); | 441 | $validator = Validator::make($params, $rules, $messages); |
442 | 442 | ||
443 | if ($validator->fails()) { | 443 | if ($validator->fails()) { |
444 | return json_encode(Array("ERROR" => "Error1: Регистрация оборвалась ошибкой! Не все обязательные поля заполнены. Либо вы уже были зарегистрированы в системе.")); | 444 | return json_encode(Array("ERROR" => "Error1: Регистрация оборвалась ошибкой! Не все обязательные поля заполнены. Либо вы уже были зарегистрированы в системе.")); |
445 | } else { | 445 | } else { |
446 | $user = $this->create($params); | 446 | $user = $this->create($params); |
447 | event(new Registered($user)); | 447 | event(new Registered($user)); |
448 | 448 | ||
449 | Mail::to(env('EMAIL_ADMIN'))->send(new MailCreateEmployer($params)); | 449 | Mail::to(env('EMAIL_ADMIN'))->send(new MailCreateEmployer($params)); |
450 | 450 | ||
451 | Auth::guard()->login($user); | 451 | Auth::guard()->login($user); |
452 | } | 452 | } |
453 | 453 | ||
454 | if ($user) { | 454 | if ($user) { |
455 | return json_encode(Array("REDIRECT" => redirect()->route('employer.cabinet')->getTargetUrl()));; | 455 | return json_encode(Array("REDIRECT" => redirect()->route('employer.cabinet')->getTargetUrl()));; |
456 | } else { | 456 | } else { |
457 | return json_encode(Array("ERROR" => "Error2: Данные были утеряны!")); | 457 | return json_encode(Array("ERROR" => "Error2: Данные были утеряны!")); |
458 | } | 458 | } |
459 | } | 459 | } |
460 | 460 | ||
461 | // Создание пользователя | 461 | // Создание пользователя |
462 | protected function create(array $data) | 462 | protected function create(array $data) |
463 | { | 463 | { |
464 | $Use = new User_Model(); | 464 | $Use = new User_Model(); |
465 | $Code_user = $Use->create([ | 465 | $Code_user = $Use->create([ |
466 | 'name' => $data['surname']." ".$data['name_man'], | 466 | 'name' => $data['surname']." ".$data['name_man'], |
467 | 'name_man' => $data['name_man'], | 467 | 'name_man' => $data['name_man'], |
468 | 'surname' => $data['surname'], | 468 | 'surname' => $data['surname'], |
469 | 'surname2' => $data['surname2'], | 469 | 'surname2' => $data['surname2'], |
470 | 'subscribe_email' => $data['email'], | 470 | 'subscribe_email' => $data['email'], |
471 | 'email' => $data['email'], | 471 | 'email' => $data['email'], |
472 | 'telephone' => $data['telephone'], | 472 | 'telephone' => $data['telephone'], |
473 | 'is_worker' => 0, | 473 | 'is_worker' => 0, |
474 | 'password' => Hash::make($data['password']), | 474 | 'password' => Hash::make($data['password']), |
475 | 'pubpassword' => base64_encode($data['password']), | 475 | 'pubpassword' => base64_encode($data['password']), |
476 | 'email_verified_at' => Carbon::now() | 476 | 'email_verified_at' => Carbon::now() |
477 | ]); | 477 | ]); |
478 | 478 | ||
479 | if ($Code_user->id > 0) { | 479 | if ($Code_user->id > 0) { |
480 | $Employer = new Employer(); | 480 | $Employer = new Employer(); |
481 | $Employer->user_id = $Code_user->id; | 481 | $Employer->user_id = $Code_user->id; |
482 | $Employer->name_company = $data['name_company']; | 482 | $Employer->name_company = $data['name_company']; |
483 | $Employer->email = $data['email']; | 483 | $Employer->email = $data['email']; |
484 | $Employer->telephone = $data['telephone']; | 484 | $Employer->telephone = $data['telephone']; |
485 | $Employer->code = Tools::generator_id(10); | 485 | $Employer->code = Tools::generator_id(10); |
486 | $Employer->save(); | 486 | $Employer->save(); |
487 | 487 | ||
488 | return $Code_user; | 488 | return $Code_user; |
489 | } | 489 | } |
490 | } | 490 | } |
491 | 491 | ||
492 | // Отправка сообщения от работодателя | 492 | // Отправка сообщения от работодателя |
493 | public function send_message(MessagesRequiest $request) { | 493 | public function send_message(MessagesRequiest $request) { |
494 | $params = $request->all(); | 494 | $params = $request->all(); |
495 | dd($params); | 495 | dd($params); |
496 | $user1 = $params['user_id']; | 496 | $user1 = $params['user_id']; |
497 | $user2 = $params['to_user_id']; | 497 | $user2 = $params['to_user_id']; |
498 | 498 | ||
499 | if ($request->has('file')) { | 499 | if ($request->has('file')) { |
500 | $params['file'] = $request->file('file')->store("messages", 'public'); | 500 | $params['file'] = $request->file('file')->store("messages", 'public'); |
501 | } | 501 | } |
502 | Message::create($params); | 502 | Message::create($params); |
503 | return redirect()->route('employer.dialog', ['user1' => $user1, 'user2' => $user2]); | 503 | return redirect()->route('employer.dialog', ['user1' => $user1, 'user2' => $user2]); |
504 | } | 504 | } |
505 | 505 | ||
506 | public function test123(Request $request) { | 506 | public function test123(Request $request) { |
507 | $params = $request->all(); | 507 | $params = $request->all(); |
508 | $user1 = $params['user_id']; | 508 | $user1 = $params['user_id']; |
509 | $user2 = $params['to_user_id']; | 509 | $user2 = $params['to_user_id']; |
510 | $id_vacancy = $params['ad_employer_id']; | 510 | $id_vacancy = $params['ad_employer_id']; |
511 | $ad_name = $params['ad_name']; | 511 | $ad_name = $params['ad_name']; |
512 | 512 | ||
513 | $rules = [ | 513 | $rules = [ |
514 | 'text' => 'required|min:1|max:150000', | 514 | 'text' => 'required|min:1|max:150000', |
515 | 'file' => 'file|mimes:doc,docx,xlsx,csv,txt,xlx,xls,pdf|max:150000' | 515 | 'file' => 'file|mimes:doc,docx,xlsx,csv,txt,xlx,xls,pdf|max:150000' |
516 | ]; | 516 | ]; |
517 | $messages = [ | 517 | $messages = [ |
518 | 'required' => 'Укажите обязательное поле', | 518 | 'required' => 'Укажите обязательное поле', |
519 | 'min' => [ | 519 | 'min' => [ |
520 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', | 520 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', |
521 | 'integer' => 'Поле «:attribute» должно быть :min или больше', | 521 | 'integer' => 'Поле «:attribute» должно быть :min или больше', |
522 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' | 522 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' |
523 | ], | 523 | ], |
524 | 'max' => [ | 524 | 'max' => [ |
525 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', | 525 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', |
526 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', | 526 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', |
527 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' | 527 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' |
528 | ] | 528 | ] |
529 | ]; | 529 | ]; |
530 | 530 | ||
531 | $validator = Validator::make($request->all(), $rules, $messages); | 531 | $validator = Validator::make($request->all(), $rules, $messages); |
532 | 532 | ||
533 | /*if ($validator->fails()) { | ||
534 | return redirect()->route('employer.dialog', ['user1' => $user1, 'user2' => $user2]) | ||
535 | ->withErrors($validator); | ||
536 | } else { | ||
537 | if ($request->has('file')) { | ||
538 | $params['file'] = $request->file('file')->store("messages", 'public'); | ||
539 | } | ||
540 | Message::create($params); | ||
541 | //return redirect()->route('employer.dialog', ['user1' => $user1, 'user2' => $user2]); | ||
542 | return redirect()->route('employer.dialog', | ||
543 | ['user1' => $user1, 'user2' => $user2, 'ad_employer' => $id_vacancy, 'ad_name' => $ad_name]); | ||
544 | |||
545 | }*/ | ||
546 | |||
533 | if ($validator->fails()) { | 547 | if ($validator->fails()) { |
534 | return redirect()->route('employer.dialog', ['user1' => $user1, 'user2' => $user2]) | 548 | return redirect()->route('employer.dialog', ['user1' => $user1, 'user2' => $user2]) |
535 | ->withErrors($validator); | 549 | ->withErrors($validator); |
536 | } else { | 550 | } else { |
537 | Message::add_message($request, $user1, $user2, $request->all(), file_store_path: 'messages'); | 551 | Message::add_message($request, $user1, $user2, $request->all(), file_store_path: 'messages'); |
538 | 552 | ||
539 | //return redirect()->route('employer.dialog', ['user1' => $user1, 'user2' => $user2]); | 553 | //return redirect()->route('employer.dialog', ['user1' => $user1, 'user2' => $user2]); |
540 | return redirect()->route('employer.dialog', | 554 | return redirect()->route('employer.dialog', |
541 | ['user1' => $user1, 'user2' => $user2, 'ad_employer' => $id_vacancy, 'ad_name' => $ad_name]); | 555 | ['user1' => $user1, 'user2' => $user2, 'ad_employer' => $id_vacancy, 'ad_name' => $ad_name]); |
542 | 556 | ||
543 | } | 557 | } |
544 | } | 558 | } |
545 | 559 | ||
546 | //Избранные люди | 560 | //Избранные люди |
547 | public function favorites(Request $request) { | 561 | public function favorites(Request $request) { |
548 | $IP_address = RusDate::ip_addr_client(); | 562 | $IP_address = RusDate::ip_addr_client(); |
549 | $Arr = Like_worker::Query()->select('code_record')->where('ip_address', '=', $IP_address)->get(); | 563 | $Arr = Like_worker::Query()->select('code_record')->where('ip_address', '=', $IP_address)->get(); |
550 | 564 | ||
551 | if ($Arr->count()) { | 565 | if ($Arr->count()) { |
552 | $A = Array(); | 566 | $A = Array(); |
553 | foreach ($Arr as $it) { | 567 | foreach ($Arr as $it) { |
554 | $A[] = $it->code_record; | 568 | $A[] = $it->code_record; |
555 | } | 569 | } |
556 | 570 | ||
557 | $Workers = Worker::query()->whereIn('id', $A); | 571 | $Workers = Worker::query()->whereIn('id', $A); |
558 | } else { | 572 | } else { |
559 | $Workers = Worker::query()->where('id', '=', '0'); | 573 | $Workers = Worker::query()->where('id', '=', '0'); |
560 | } | 574 | } |
561 | 575 | ||
562 | if (($request->has('search')) && (!empty($request->get('search')))) { | 576 | if (($request->has('search')) && (!empty($request->get('search')))) { |
563 | $search = $request->get('search'); | 577 | $search = $request->get('search'); |
564 | 578 | ||
565 | $Workers = $Workers->WhereHas('users', | 579 | $Workers = $Workers->WhereHas('users', |
566 | function (Builder $query) use ($search) { | 580 | function (Builder $query) use ($search) { |
567 | $query->Where('surname', 'LIKE', "%$search%") | 581 | $query->Where('surname', 'LIKE', "%$search%") |
568 | ->orWhere('name_man', 'LIKE', "%$search%") | 582 | ->orWhere('name_man', 'LIKE', "%$search%") |
569 | ->orWhere('surname2', 'LIKE', "%$search%"); | 583 | ->orWhere('surname2', 'LIKE', "%$search%"); |
570 | }); | 584 | }); |
571 | } else { | 585 | } else { |
572 | $Workers = $Workers->with('users'); | 586 | $Workers = $Workers->with('users'); |
573 | } | 587 | } |
574 | 588 | ||
575 | $Workers = $Workers->get(); | 589 | $Workers = $Workers->get(); |
576 | 590 | ||
577 | 591 | ||
578 | return view('employers.favorite', compact('Workers')); | 592 | return view('employers.favorite', compact('Workers')); |
579 | } | 593 | } |
580 | 594 | ||
581 | // База данных | 595 | // База данных |
582 | public function bd(Request $request) { | 596 | public function bd(Request $request) { |
583 | $users = User_Model::query()->with('workers')->with('jobtitles'); | 597 | $users = User_Model::query()->with('workers')->with('jobtitles'); |
584 | 598 | ||
585 | if ($request->has('search')) { | 599 | if ($request->has('search')) { |
586 | $find_key = $request->get('search'); | 600 | $find_key = $request->get('search'); |
587 | $users = $users->where('name', 'LIKE', "%$find_key%") | 601 | $users = $users->where('name', 'LIKE', "%$find_key%") |
588 | ->orWhere('surname', 'LIKE', "%$find_key%") | 602 | ->orWhere('surname', 'LIKE', "%$find_key%") |
589 | ->orWhere('name_man', 'LIKE', "%$find_key%") | 603 | ->orWhere('name_man', 'LIKE', "%$find_key%") |
590 | ->orWhere('email', 'LIKE', "%$find_key%") | 604 | ->orWhere('email', 'LIKE', "%$find_key%") |
591 | ->orWhere('telephone', 'LIKE', "%$find_key%"); | 605 | ->orWhere('telephone', 'LIKE', "%$find_key%"); |
592 | } | 606 | } |
593 | 607 | ||
594 | // Данные | 608 | // Данные |
595 | $users = $users->Baseuser()-> | 609 | $users = $users->Baseuser()-> |
596 | orderByDesc(Worker::select('created_at')->whereColumn('workers.user_id', 'users.id')); | 610 | orderByDesc(Worker::select('created_at')->whereColumn('workers.user_id', 'users.id')); |
597 | $count_users = $users; | 611 | $count_users = $users; |
598 | $users = $users->paginate(5); | 612 | $users = $users->paginate(5); |
599 | 613 | ||
600 | $export_options = DbExportColumns::toArray(); | 614 | $export_options = DbExportColumns::toArray(); |
601 | 615 | ||
602 | $jobs_titles = Job_title::select('id', 'name') | 616 | $jobs_titles = Job_title::select('id', 'name') |
603 | ->where('is_remove', '=', 0) | 617 | ->where('is_remove', '=', 0) |
604 | ->where('is_bd', '=', 2) | 618 | ->where('is_bd', '=', 2) |
605 | ->orderByDesc('sort') | 619 | ->orderByDesc('sort') |
606 | ->orderBy('name', 'asc') | 620 | ->orderBy('name', 'asc') |
607 | ->get() | 621 | ->get() |
608 | ->toArray() | 622 | ->toArray() |
609 | ; | 623 | ; |
610 | 624 | ||
611 | return view('employers.bd', compact('users', 'count_users', 'export_options', 'jobs_titles')); | 625 | return view('employers.bd', compact('users', 'count_users', 'export_options', 'jobs_titles')); |
612 | } | 626 | } |
613 | 627 | ||
614 | //Настройка уведомлений | 628 | //Настройка уведомлений |
615 | public function subscribe() { | 629 | public function subscribe() { |
616 | return view('employers.subcribe'); | 630 | return view('employers.subcribe'); |
617 | } | 631 | } |
618 | 632 | ||
619 | //Установка уведомлений сохранение | 633 | //Установка уведомлений сохранение |
620 | public function save_subscribe(Request $request) { | 634 | public function save_subscribe(Request $request) { |
621 | dd($request->all()); | 635 | dd($request->all()); |
622 | $msg = $request->validate([ | 636 | $msg = $request->validate([ |
623 | 'subscribe_email' => 'required|email|min:5|max:255', | 637 | 'subscribe_email' => 'required|email|min:5|max:255', |
624 | ]); | 638 | ]); |
625 | return redirect()->route('employer.subscribe')->with('Вы успешно подписались на рассылку'); | 639 | return redirect()->route('employer.subscribe')->with('Вы успешно подписались на рассылку'); |
626 | } | 640 | } |
627 | 641 | ||
628 | //Сбросить форму с паролем | 642 | //Сбросить форму с паролем |
629 | public function password_reset() { | 643 | public function password_reset() { |
630 | $email = Auth()->user()->email; | 644 | $email = Auth()->user()->email; |
631 | return view('employers.password-reset', compact('email')); | 645 | return view('employers.password-reset', compact('email')); |
632 | } | 646 | } |
633 | 647 | ||
634 | //Обновление пароля | 648 | //Обновление пароля |
635 | public function new_password(Request $request) { | 649 | public function new_password(Request $request) { |
636 | $use = Auth()->user(); | 650 | $use = Auth()->user(); |
637 | $request->validate([ | 651 | $request->validate([ |
638 | 'password' => 'required|string', | 652 | 'password' => 'required|string', |
639 | 'new_password' => 'required|string', | 653 | 'new_password' => 'required|string', |
640 | 'new_password2' => 'required|string' | 654 | 'new_password2' => 'required|string' |
641 | ]); | 655 | ]); |
642 | 656 | ||
643 | if ($request->get('new_password') == $request->get('new_password2')) | 657 | if ($request->get('new_password') == $request->get('new_password2')) |
644 | if ($request->get('password') !== $request->get('new_password')) { | 658 | if ($request->get('password') !== $request->get('new_password')) { |
645 | $credentials = $request->only('email', 'password'); | 659 | $credentials = $request->only('email', 'password'); |
646 | if (Auth::attempt($credentials)) { | 660 | if (Auth::attempt($credentials)) { |
647 | 661 | ||
648 | if (!is_null($use->email_verified_at)){ | 662 | if (!is_null($use->email_verified_at)){ |
649 | 663 | ||
650 | $user_data = User_Model::find($use->id); | 664 | $user_data = User_Model::find($use->id); |
651 | $user_data->update([ | 665 | $user_data->update([ |
652 | 'password' => Hash::make($request->get('new_password')), | 666 | 'password' => Hash::make($request->get('new_password')), |
653 | 'pubpassword' => base64_encode($request->get('new_password')), | 667 | 'pubpassword' => base64_encode($request->get('new_password')), |
654 | ]); | 668 | ]); |
655 | return redirect() | 669 | return redirect() |
656 | ->route('employer.password_reset') | 670 | ->route('employer.password_reset') |
657 | ->with('success', 'Поздравляю! Вы обновили свой пароль!'); | 671 | ->with('success', 'Поздравляю! Вы обновили свой пароль!'); |
658 | } | 672 | } |
659 | 673 | ||
660 | return redirect() | 674 | return redirect() |
661 | ->route('employer.password_reset') | 675 | ->route('employer.password_reset') |
662 | ->withError('Данная учетная запись не было верифицированна!'); | 676 | ->withError('Данная учетная запись не было верифицированна!'); |
663 | } | 677 | } |
664 | } | 678 | } |
665 | 679 | ||
666 | return redirect() | 680 | return redirect() |
667 | ->route('employer.password_reset') | 681 | ->route('employer.password_reset') |
668 | ->withErrors('Не совпадение данных, обновите пароли!'); | 682 | ->withErrors('Не совпадение данных, обновите пароли!'); |
669 | } | 683 | } |
670 | 684 | ||
671 | 685 | ||
672 | 686 | ||
673 | // Форма Удаление пипла | 687 | // Форма Удаление пипла |
674 | public function delete_people() { | 688 | public function delete_people() { |
675 | $login = Auth()->user()->email; | 689 | $login = Auth()->user()->email; |
676 | return view('employers.delete_people', compact('login')); | 690 | return view('employers.delete_people', compact('login')); |
677 | } | 691 | } |
678 | 692 | ||
679 | // Удаление аккаунта | 693 | // Удаление аккаунта |
680 | public function action_delete_user(Request $request) { | 694 | public function action_delete_user(Request $request) { |
681 | $Answer = $request->all(); | 695 | $Answer = $request->all(); |
682 | $user_id = Auth()->user()->id; | 696 | $user_id = Auth()->user()->id; |
683 | $request->validate([ | 697 | $request->validate([ |
684 | 'password' => 'required|string', | 698 | 'password' => 'required|string', |
685 | ]); | 699 | ]); |
686 | 700 | ||
687 | $credentials = $request->only('email', 'password'); | 701 | $credentials = $request->only('email', 'password'); |
688 | if (Auth::attempt($credentials)) { | 702 | if (Auth::attempt($credentials)) { |
689 | Auth::logout(); | 703 | Auth::logout(); |
690 | $it = User_Model::find($user_id); | 704 | $it = User_Model::find($user_id); |
691 | $it->delete(); | 705 | $it->delete(); |
692 | return redirect()->route('index')->with('success', 'Вы успешно удалили свой аккаунт'); | 706 | return redirect()->route('index')->with('success', 'Вы успешно удалили свой аккаунт'); |
693 | } else { | 707 | } else { |
694 | return redirect()->route('employer.delete_people') | 708 | return redirect()->route('employer.delete_people') |
695 | ->withErrors( 'Неверный пароль! Нужен корректный пароль'); | 709 | ->withErrors( 'Неверный пароль! Нужен корректный пароль'); |
696 | } | 710 | } |
697 | } | 711 | } |
698 | 712 | ||
699 | public function ajax_delete_user(Request $request) { | 713 | public function ajax_delete_user(Request $request) { |
700 | $Answer = $request->all(); | 714 | $Answer = $request->all(); |
701 | $user_id = Auth()->user()->id; | 715 | $user_id = Auth()->user()->id; |
702 | $request->validate([ | 716 | $request->validate([ |
703 | 'password' => 'required|string', | 717 | 'password' => 'required|string', |
704 | ]); | 718 | ]); |
705 | $credentials = $request->only('email', 'password'); | 719 | $credentials = $request->only('email', 'password'); |
706 | if (Auth::attempt($credentials)) { | 720 | if (Auth::attempt($credentials)) { |
707 | 721 | ||
708 | return json_encode(Array('SUCCESS' => 'Вы успешно удалили свой аккаунт', | 722 | return json_encode(Array('SUCCESS' => 'Вы успешно удалили свой аккаунт', |
709 | 'email' => $request->get('email'), | 723 | 'email' => $request->get('email'), |
710 | 'password' => $request->get('password'))); | 724 | 'password' => $request->get('password'))); |
711 | } else { | 725 | } else { |
712 | return json_encode(Array('ERROR' => 'Неверный пароль! Нужен корректный пароль')); | 726 | return json_encode(Array('ERROR' => 'Неверный пароль! Нужен корректный пароль')); |
713 | } | 727 | } |
714 | } | 728 | } |
715 | 729 | ||
716 | // FAQ - Вопросы/ответы для работодателей и соискателей | 730 | // FAQ - Вопросы/ответы для работодателей и соискателей |
717 | public function faq() { | 731 | public function faq() { |
718 | return view('employers.faq'); | 732 | return view('employers.faq'); |
719 | } | 733 | } |
720 | 734 | ||
721 | // Рассылка сообщений | 735 | // Рассылка сообщений |
722 | public function send_all_messages() { | 736 | public function send_all_messages() { |
723 | $id = Auth()->user()->id; | 737 | $id = Auth()->user()->id; |
724 | $sending = Employer::query()->where('user_id', '=', "$id")->first(); | 738 | $sending = Employer::query()->where('user_id', '=', "$id")->first(); |
725 | if ($sending->sending_is) | 739 | if ($sending->sending_is) |
726 | return view('employers.send_all'); | 740 | return view('employers.send_all'); |
727 | else | 741 | else |
728 | return view('employers.send_all_danger'); | 742 | return view('employers.send_all_danger'); |
729 | } | 743 | } |
730 | 744 | ||
731 | // Отправка сообщений для информации | 745 | // Отправка сообщений для информации |
732 | public function send_all_post(Request $request) { | 746 | public function send_all_post(Request $request) { |
733 | $data = $request->all(); | 747 | $data = $request->all(); |
734 | 748 | ||
735 | $emails = User_Model::query()->where('is_worker', '1')->get(); | 749 | $emails = User_Model::query()->where('is_worker', '1')->get(); |
736 | 750 | ||
737 | foreach ($emails as $e) { | 751 | foreach ($emails as $e) { |
738 | Mail::to($e->email)->send(new SendAllMessages($data)); | 752 | Mail::to($e->email)->send(new SendAllMessages($data)); |
739 | } | 753 | } |
740 | 754 | ||
741 | return redirect()->route('employer.send_all_messages')->with('success', 'Письма были отправлены'); | 755 | return redirect()->route('employer.send_all_messages')->with('success', 'Письма были отправлены'); |
742 | } | 756 | } |
743 | 757 | ||
744 | // База резюме | 758 | // База резюме |
745 | public function bd_tupe(Request $request) { | 759 | public function bd_tupe(Request $request) { |
746 | $Resume = User_Model::query()->with('workers')->where('is_bd', '=', '1')->get(); | 760 | $Resume = User_Model::query()->with('workers')->where('is_bd', '=', '1')->get(); |
747 | 761 | ||
748 | return view('employers.bd_tupe', compact('Resume')); | 762 | return view('employers.bd_tupe', compact('Resume')); |
749 | } | 763 | } |
750 | 764 | ||
751 | ////////////////////////////////////////////////////////////////// | 765 | ////////////////////////////////////////////////////////////////// |
752 | // Отправил сообщение | 766 | // Отправил сообщение |
753 | ////////////////////////////////////////////////////////////////// | 767 | ////////////////////////////////////////////////////////////////// |
754 | public function new_message(Request $request) { | 768 | public function new_message(Request $request) { |
755 | $params = $request->all(); | 769 | $params = $request->all(); |
756 | 770 | ||
757 | $id = $params['_user_id']; | 771 | $id = $params['_user_id']; |
758 | $message_params = [ | 772 | $message_params = [ |
759 | 'title' => $params['title'], | 773 | 'title' => $params['title'], |
760 | 'text' => $params['text'], | 774 | 'text' => $params['text'], |
761 | 'ad_employer_id' => $params['_vacancy'], | 775 | 'ad_employer_id' => $params['_vacancy'], |
762 | 'flag_new' => 1 | 776 | 'flag_new' => 1 |
763 | ]; | 777 | ]; |
764 | 778 | ||
765 | Message::add_message( | 779 | Message::add_message( |
766 | $request, | 780 | $request, |
767 | $params['_user_id'], | 781 | $params['_user_id'], |
768 | $params['_to_user_id'], | 782 | $params['_to_user_id'], |
769 | $message_params, | 783 | $message_params, |
770 | file_store_path: "worker/$id" | 784 | file_store_path: "worker/$id" |
771 | ); | 785 | ); |
772 | 786 | ||
773 | return redirect()->route('employer.messages', ['type_message' => 'output']); | 787 | return redirect()->route('employer.messages', ['type_message' => 'output']); |
774 | } | 788 | } |
775 | 789 | ||
776 | // Восстановление пароля | 790 | // Восстановление пароля |
777 | public function repair_password(Request $request) { | 791 | public function repair_password(Request $request) { |
778 | $params = $request->get('email'); | 792 | $params = $request->get('email'); |
779 | } | 793 | } |
780 | 794 | ||
781 | // Избранные люди на корабль | 795 | // Избранные люди на корабль |
782 | public function selected_people(Request $request) { | 796 | public function selected_people(Request $request) { |
783 | $id = $request->get('id'); | 797 | $id = $request->get('id'); |
784 | $favorite_people = Job_title::query()->orderByDesc('sort')->OrderBy('name')-> | 798 | $favorite_people = Job_title::query()->orderByDesc('sort')->OrderBy('name')-> |
785 | where('is_remove', '=', '0')-> | 799 | where('is_remove', '=', '0')-> |
786 | where('is_bd', '=', '0')-> | 800 | where('is_bd', '=', '0')-> |
787 | where('position_id', $id)-> | 801 | where('position_id', $id)-> |
788 | get(); | 802 | get(); |
789 | return view('favorite_people', compact('favorite_people')); | 803 | return view('favorite_people', compact('favorite_people')); |
790 | } | 804 | } |
791 | } | 805 | } |
792 | 806 |
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.basic_information')->with('success', 'Данные были успешно сохранены'); | 467 | return redirect()->route('worker.basic_information')->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 | $user_type = 'worker'; | 499 | $user_type = 'worker'; |
500 | 500 | ||
501 | return view('workers.messages', compact('chats','user_id', 'user_type')); | 501 | return view('workers.messages', compact('chats','user_id', 'user_type')); |
502 | } | 502 | } |
503 | 503 | ||
504 | // Избранный | 504 | // Избранный |
505 | public function favorite() | 505 | public function favorite() |
506 | { | 506 | { |
507 | return view('workers.favorite'); | 507 | return view('workers.favorite'); |
508 | } | 508 | } |
509 | 509 | ||
510 | // Сменить пароль | 510 | // Сменить пароль |
511 | public function new_password() | 511 | public function new_password() |
512 | { | 512 | { |
513 | $email = Auth()->user()->email; | 513 | $email = Auth()->user()->email; |
514 | return view('workers.new_password', compact('email')); | 514 | return view('workers.new_password', compact('email')); |
515 | } | 515 | } |
516 | 516 | ||
517 | // Обновление пароля | 517 | // Обновление пароля |
518 | public function save_new_password(Request $request) { | 518 | public function save_new_password(Request $request) { |
519 | $use = Auth()->user(); | 519 | $use = Auth()->user(); |
520 | $request->validate([ | 520 | $request->validate([ |
521 | 'password' => 'required|string', | 521 | 'password' => 'required|string', |
522 | 'new_password' => 'required|string', | 522 | 'new_password' => 'required|string', |
523 | 'new_password2' => 'required|string' | 523 | 'new_password2' => 'required|string' |
524 | ]); | 524 | ]); |
525 | 525 | ||
526 | if ($request->get('new_password') == $request->get('new_password2')) | 526 | if ($request->get('new_password') == $request->get('new_password2')) |
527 | if ($request->get('password') !== $request->get('new_password')) { | 527 | if ($request->get('password') !== $request->get('new_password')) { |
528 | $credentials = $request->only('email', 'password'); | 528 | $credentials = $request->only('email', 'password'); |
529 | if (Auth::attempt($credentials, $request->has('save_me'))) { | 529 | if (Auth::attempt($credentials, $request->has('save_me'))) { |
530 | 530 | ||
531 | if (!is_null($use->email_verified_at)){ | 531 | if (!is_null($use->email_verified_at)){ |
532 | 532 | ||
533 | $user_data = User_Model::find($use->id); | 533 | $user_data = User_Model::find($use->id); |
534 | $user_data->update([ | 534 | $user_data->update([ |
535 | 'password' => Hash::make($request->get('new_password')), | 535 | 'password' => Hash::make($request->get('new_password')), |
536 | 'pubpassword' => base64_encode($request->get('new_password')), | 536 | 'pubpassword' => base64_encode($request->get('new_password')), |
537 | ]); | 537 | ]); |
538 | return redirect() | 538 | return redirect() |
539 | ->route('worker.new_password') | 539 | ->route('worker.new_password') |
540 | ->with('success', 'Поздравляю! Вы обновили свой пароль!'); | 540 | ->with('success', 'Поздравляю! Вы обновили свой пароль!'); |
541 | } | 541 | } |
542 | 542 | ||
543 | return redirect() | 543 | return redirect() |
544 | ->route('worker.new_password') | 544 | ->route('worker.new_password') |
545 | ->withError('Данная учетная запись не было верифицированна!'); | 545 | ->withError('Данная учетная запись не было верифицированна!'); |
546 | } | 546 | } |
547 | } | 547 | } |
548 | 548 | ||
549 | return redirect() | 549 | return redirect() |
550 | ->route('worker.new_password') | 550 | ->route('worker.new_password') |
551 | ->withErrors('Не совпадение данных, обновите пароли!'); | 551 | ->withErrors('Не совпадение данных, обновите пароли!'); |
552 | } | 552 | } |
553 | 553 | ||
554 | // Удаление профиля форма | 554 | // Удаление профиля форма |
555 | public function delete_profile() | 555 | public function delete_profile() |
556 | { | 556 | { |
557 | $login = Auth()->user()->email; | 557 | $login = Auth()->user()->email; |
558 | return view('workers.delete_profile', compact('login')); | 558 | return view('workers.delete_profile', compact('login')); |
559 | } | 559 | } |
560 | 560 | ||
561 | // Удаление профиля код | 561 | // Удаление профиля код |
562 | public function delete_profile_result(Request $request) { | 562 | public function delete_profile_result(Request $request) { |
563 | $Answer = $request->all(); | 563 | $Answer = $request->all(); |
564 | $user_id = Auth()->user()->id; | 564 | $user_id = Auth()->user()->id; |
565 | $request->validate([ | 565 | $request->validate([ |
566 | 'password' => 'required|string', | 566 | 'password' => 'required|string', |
567 | ]); | 567 | ]); |
568 | 568 | ||
569 | $credentials = $request->only('email', 'password'); | 569 | $credentials = $request->only('email', 'password'); |
570 | if (Auth::attempt($credentials)) { | 570 | if (Auth::attempt($credentials)) { |
571 | Auth::logout(); | 571 | Auth::logout(); |
572 | $it = User_Model::find($user_id); | 572 | $it = User_Model::find($user_id); |
573 | $it->delete(); | 573 | $it->delete(); |
574 | return redirect()->route('index')->with('success', 'Вы успешно удалили свой аккаунт'); | 574 | return redirect()->route('index')->with('success', 'Вы успешно удалили свой аккаунт'); |
575 | } else { | 575 | } else { |
576 | return redirect()->route('worker.delete_profile') | 576 | return redirect()->route('worker.delete_profile') |
577 | ->withErrors( 'Неверный пароль! Нужен корректный пароль'); | 577 | ->withErrors( 'Неверный пароль! Нужен корректный пароль'); |
578 | } | 578 | } |
579 | } | 579 | } |
580 | 580 | ||
581 | // Регистрация соискателя | 581 | // Регистрация соискателя |
582 | public function register_worker(Request $request) | 582 | public function register_worker(Request $request) |
583 | { | 583 | { |
584 | $params = $request->all(); | 584 | $params = $request->all(); |
585 | $params['is_worker'] = 1; | 585 | $params['is_worker'] = 1; |
586 | 586 | ||
587 | $rules = [ | 587 | $rules = [ |
588 | 'surname' => ['required', 'string', 'max:255'], | 588 | 'surname' => ['required', 'string', 'max:255'], |
589 | 'name_man' => ['required', 'string', 'max:255'], | 589 | 'name_man' => ['required', 'string', 'max:255'], |
590 | 'email' => ['required', 'email', 'max:255', 'unique:users'], | 590 | 'email' => ['required', 'email', 'max:255', 'unique:users'], |
591 | 'password' => ['required', 'string', 'min:6'] | 591 | 'password' => ['required', 'string', 'min:6'] |
592 | ]; | 592 | ]; |
593 | 593 | ||
594 | $messages = [ | 594 | $messages = [ |
595 | 'required' => 'Укажите обязательное поле', | 595 | 'required' => 'Укажите обязательное поле', |
596 | 'min' => [ | 596 | 'min' => [ |
597 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', | 597 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', |
598 | 'integer' => 'Поле «:attribute» должно быть :min или больше', | 598 | 'integer' => 'Поле «:attribute» должно быть :min или больше', |
599 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' | 599 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' |
600 | ], | 600 | ], |
601 | 'max' => [ | 601 | 'max' => [ |
602 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', | 602 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', |
603 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', | 603 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', |
604 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' | 604 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' |
605 | ] | 605 | ] |
606 | ]; | 606 | ]; |
607 | 607 | ||
608 | $email = $request->get('email'); | 608 | $email = $request->get('email'); |
609 | if (!preg_match("/^[a-zA-Z0-9_\-.]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-.]+$/", $email)) { | 609 | if (!preg_match("/^[a-zA-Z0-9_\-.]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-.]+$/", $email)) { |
610 | return json_encode(Array("ERROR" => "Error: Отсутствует емайл или некорректный емайл")); | 610 | return json_encode(Array("ERROR" => "Error: Отсутствует емайл или некорректный емайл")); |
611 | } | 611 | } |
612 | 612 | ||
613 | if ($request->get('password') !== $request->get('confirmed')){ | 613 | if ($request->get('password') !== $request->get('confirmed')){ |
614 | return json_encode(Array("ERROR" => "Error: Не совпадают пароль и подтверждение пароля")); | 614 | return json_encode(Array("ERROR" => "Error: Не совпадают пароль и подтверждение пароля")); |
615 | } | 615 | } |
616 | 616 | ||
617 | if (strlen($request->get('password')) < 6) { | 617 | if (strlen($request->get('password')) < 6) { |
618 | return json_encode(Array("ERROR" => "Error: Недостаточная длина пароля! Увеличьте себе длину пароля!")); | 618 | return json_encode(Array("ERROR" => "Error: Недостаточная длина пароля! Увеличьте себе длину пароля!")); |
619 | } | 619 | } |
620 | 620 | ||
621 | /*$haystack = $request->get('password'); | 621 | /*$haystack = $request->get('password'); |
622 | 622 | ||
623 | $specsumbol = Array('!','~', '#', '$', '%', '^', '&', '*', '(', ')', '-', '=', ';', ':', '<', '>', '?'); | 623 | $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', | 624 | $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'); | 625 | 'X', 'C', 'V', 'B', 'N', 'M'); |
626 | $lenpwd_bool = true; | 626 | $lenpwd_bool = true; |
627 | $spec_bool = false; | 627 | $spec_bool = false; |
628 | $alpha_bool = false; | 628 | $alpha_bool = false; |
629 | 629 | ||
630 | if (strlen($haystack) < 8) $lenpwd_bool = false; | 630 | if (strlen($haystack) < 8) $lenpwd_bool = false; |
631 | 631 | ||
632 | foreach ($specsumbol as $it) { | 632 | foreach ($specsumbol as $it) { |
633 | if (strpos($haystack, $it) !== false) { | 633 | if (strpos($haystack, $it) !== false) { |
634 | $spec_bool = true; | 634 | $spec_bool = true; |
635 | } | 635 | } |
636 | } | 636 | } |
637 | 637 | ||
638 | foreach ($alpha as $it) { | 638 | foreach ($alpha as $it) { |
639 | if (strpos($haystack, $it) !== false) { | 639 | if (strpos($haystack, $it) !== false) { |
640 | $alpha_bool = true; | 640 | $alpha_bool = true; |
641 | } | 641 | } |
642 | } | 642 | } |
643 | 643 | ||
644 | if ((!$spec_bool) || (!$alpha_bool)) { | 644 | if ((!$spec_bool) || (!$alpha_bool)) { |
645 | return json_encode(Array("ERROR" => "Error: Нет спецсимволов в пароле, латинские буквы заглавные, а также один из символов: !~#$%^&*()-=;,:<>?")); | 645 | return json_encode(Array("ERROR" => "Error: Нет спецсимволов в пароле, латинские буквы заглавные, а также один из символов: !~#$%^&*()-=;,:<>?")); |
646 | }*/ | 646 | }*/ |
647 | 647 | ||
648 | if (($request->has('politik')) && ($request->get('politik') == 1)) { | 648 | if (($request->has('politik')) && ($request->get('politik') == 1)) { |
649 | $validator = Validator::make($params, $rules, $messages); | 649 | $validator = Validator::make($params, $rules, $messages); |
650 | 650 | ||
651 | if ($validator->fails()) { | 651 | if ($validator->fails()) { |
652 | return json_encode(array("ERROR" => "Error1: Регистрация оборвалась ошибкой! Не все обязательные поля заполнены. Либо вы уже были зарегистрированы в системе.")); | 652 | return json_encode(array("ERROR" => "Error1: Регистрация оборвалась ошибкой! Не все обязательные поля заполнены. Либо вы уже были зарегистрированы в системе.")); |
653 | } else { | 653 | } else { |
654 | //dd($params); | 654 | //dd($params); |
655 | $user = $this->create($params); | 655 | $user = $this->create($params); |
656 | event(new Registered($user)); | 656 | event(new Registered($user)); |
657 | Auth::guard()->login($user); | 657 | Auth::guard()->login($user); |
658 | } | 658 | } |
659 | if ($user) { | 659 | if ($user) { |
660 | return json_encode(Array("REDIRECT" => redirect()->route('worker.cabinet')->getTargetUrl()));; | 660 | return json_encode(Array("REDIRECT" => redirect()->route('worker.cabinet')->getTargetUrl()));; |
661 | } else { | 661 | } else { |
662 | return json_encode(Array("ERROR" => "Error2: Данные были утеряны!")); | 662 | return json_encode(Array("ERROR" => "Error2: Данные были утеряны!")); |
663 | } | 663 | } |
664 | 664 | ||
665 | } else { | 665 | } else { |
666 | return json_encode(Array("ERROR" => "Error3: Вы не согласились с политикой конфидициальности!")); | 666 | return json_encode(Array("ERROR" => "Error3: Вы не согласились с политикой конфидициальности!")); |
667 | } | 667 | } |
668 | } | 668 | } |
669 | 669 | ||
670 | // Звездная оценка и ответ | 670 | // Звездная оценка и ответ |
671 | public function stars_answer(Request $request) { | 671 | public function stars_answer(Request $request) { |
672 | $params = $request->all(); | 672 | $params = $request->all(); |
673 | $rules = [ | 673 | $rules = [ |
674 | 'message' => ['required', 'string', 'max:255'], | 674 | 'message' => ['required', 'string', 'max:255'], |
675 | ]; | 675 | ]; |
676 | 676 | ||
677 | $messages = [ | 677 | $messages = [ |
678 | 'required' => 'Укажите обязательное поле', | 678 | 'required' => 'Укажите обязательное поле', |
679 | 'min' => [ | 679 | 'min' => [ |
680 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', | 680 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', |
681 | 'integer' => 'Поле «:attribute» должно быть :min или больше', | 681 | 'integer' => 'Поле «:attribute» должно быть :min или больше', |
682 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' | 682 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' |
683 | ], | 683 | ], |
684 | 'max' => [ | 684 | 'max' => [ |
685 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', | 685 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', |
686 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', | 686 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', |
687 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' | 687 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' |
688 | ] | 688 | ] |
689 | ]; | 689 | ]; |
690 | $response_worker = ResponseWork::create($params); | 690 | $response_worker = ResponseWork::create($params); |
691 | return redirect()->route('resume_profile', ['worker' => $request->get('worker_id')])->with('success', 'Ваше сообщение было отправлено!'); | 691 | return redirect()->route('resume_profile', ['worker' => $request->get('worker_id')])->with('success', 'Ваше сообщение было отправлено!'); |
692 | } | 692 | } |
693 | 693 | ||
694 | public function TestWorker() | 694 | public function TestWorker() |
695 | { | 695 | { |
696 | $Use = new User(); | 696 | $Use = new User(); |
697 | 697 | ||
698 | $Code_user = $Use->create([ | 698 | $Code_user = $Use->create([ |
699 | 'name' => 'surname name_man', | 699 | 'name' => 'surname name_man', |
700 | 'name_man' => 'name_man', | 700 | 'name_man' => 'name_man', |
701 | 'surname' => 'surname', | 701 | 'surname' => 'surname', |
702 | 'surname2' => 'surname2', | 702 | 'surname2' => 'surname2', |
703 | 'subscribe_email' => '1', | 703 | 'subscribe_email' => '1', |
704 | 'email' => 'email@mail.com', | 704 | 'email' => 'email@mail.com', |
705 | 'telephone' => '1234567890', | 705 | 'telephone' => '1234567890', |
706 | 'password' => Hash::make('password'), | 706 | 'password' => Hash::make('password'), |
707 | 'pubpassword' => base64_encode('password'), | 707 | 'pubpassword' => base64_encode('password'), |
708 | 'email_verified_at' => Carbon::now(), | 708 | 'email_verified_at' => Carbon::now(), |
709 | 'is_worker' => 1, | 709 | 'is_worker' => 1, |
710 | ]); | 710 | ]); |
711 | 711 | ||
712 | if ($Code_user->id > 0) { | 712 | if ($Code_user->id > 0) { |
713 | $Worker = new Worker(); | 713 | $Worker = new Worker(); |
714 | $Worker->user_id = $Code_user->id; | 714 | $Worker->user_id = $Code_user->id; |
715 | $Worker->position_work = 1; //'job_titles'; | 715 | $Worker->position_work = 1; //'job_titles'; |
716 | $Worker->email = 'email@email.com'; | 716 | $Worker->email = 'email@email.com'; |
717 | $Worker->telephone = '1234567890'; | 717 | $Worker->telephone = '1234567890'; |
718 | $status = $Worker->save(); | 718 | $status = $Worker->save(); |
719 | 719 | ||
720 | $Title_Worker = new Title_worker(); | 720 | $Title_Worker = new Title_worker(); |
721 | $Title_Worker->worker_id = $Worker->id; | 721 | $Title_Worker->worker_id = $Worker->id; |
722 | $Title_Worker->job_title_id = 1; | 722 | $Title_Worker->job_title_id = 1; |
723 | $Title_Worker->save(); | 723 | $Title_Worker->save(); |
724 | } | 724 | } |
725 | } | 725 | } |
726 | 726 | ||
727 | // Создание пользователя | 727 | // Создание пользователя |
728 | protected function create(array $data) | 728 | protected function create(array $data) |
729 | { | 729 | { |
730 | $Use = new User(); | 730 | $Use = new User(); |
731 | 731 | ||
732 | $Code_user = $Use->create([ | 732 | $Code_user = $Use->create([ |
733 | 'name' => $data['surname']." ".$data['name_man'], | 733 | 'name' => $data['surname']." ".$data['name_man'], |
734 | 'name_man' => $data['name_man'], | 734 | 'name_man' => $data['name_man'], |
735 | 'surname' => $data['surname'], | 735 | 'surname' => $data['surname'], |
736 | 'surname2' => $data['surname2'], | 736 | 'surname2' => $data['surname2'], |
737 | 'subscribe_email' => $data['email'], | 737 | 'subscribe_email' => $data['email'], |
738 | 'email' => $data['email'], | 738 | 'email' => $data['email'], |
739 | 'telephone' => $data['telephone'], | 739 | 'telephone' => $data['telephone'], |
740 | 'password' => Hash::make($data['password']), | 740 | 'password' => Hash::make($data['password']), |
741 | 'pubpassword' => base64_encode($data['password']), | 741 | 'pubpassword' => base64_encode($data['password']), |
742 | 'email_verified_at' => Carbon::now(), | 742 | 'email_verified_at' => Carbon::now(), |
743 | 'is_worker' => $data['is_worker'], | 743 | 'is_worker' => $data['is_worker'], |
744 | ]); | 744 | ]); |
745 | 745 | ||
746 | if ($Code_user->id > 0) { | 746 | if ($Code_user->id > 0) { |
747 | $Worker = new Worker(); | 747 | $Worker = new Worker(); |
748 | $Worker->user_id = $Code_user->id; | 748 | $Worker->user_id = $Code_user->id; |
749 | $Worker->position_work = $data['job_titles']; | 749 | $Worker->position_work = $data['job_titles']; |
750 | $Worker->email = $data['email']; | 750 | $Worker->email = $data['email']; |
751 | $Worker->telephone = $data['telephone']; | 751 | $Worker->telephone = $data['telephone']; |
752 | $Worker->save(); | 752 | $Worker->save(); |
753 | 753 | ||
754 | if (isset($Worker->id)) { | 754 | if (isset($Worker->id)) { |
755 | $Title_Worker = new Title_worker(); | 755 | $Title_Worker = new Title_worker(); |
756 | $Title_Worker->worker_id = $Worker->id; | 756 | $Title_Worker->worker_id = $Worker->id; |
757 | $Title_Worker->job_title_id = $data['job_titles']; | 757 | $Title_Worker->job_title_id = $data['job_titles']; |
758 | $Title_Worker->save(); | 758 | $Title_Worker->save(); |
759 | } | 759 | } |
760 | 760 | ||
761 | return $Code_user; | 761 | return $Code_user; |
762 | } | 762 | } |
763 | } | 763 | } |
764 | 764 | ||
765 | // Вакансии избранные | 765 | // Вакансии избранные |
766 | public function colorado(Request $request) { | 766 | public function colorado(Request $request) { |
767 | $IP_address = RusDate::ip_addr_client(); | 767 | $IP_address = RusDate::ip_addr_client(); |
768 | $Arr = Like_vacancy::Query()->select('code_record')->where('ip_address', '=', $IP_address)->get(); | 768 | $Arr = Like_vacancy::Query()->select('code_record')->where('ip_address', '=', $IP_address)->get(); |
769 | 769 | ||
770 | if ($Arr->count()) { | 770 | if ($Arr->count()) { |
771 | $A = Array(); | 771 | $A = Array(); |
772 | foreach ($Arr as $it) { | 772 | foreach ($Arr as $it) { |
773 | $A[] = $it->code_record; | 773 | $A[] = $it->code_record; |
774 | } | 774 | } |
775 | 775 | ||
776 | $Query = Ad_employer::query()->whereIn('id', $A); | 776 | $Query = Ad_employer::query()->whereIn('id', $A); |
777 | } else { | 777 | } else { |
778 | $Query = Ad_employer::query()->where('id', '=', '0'); | 778 | $Query = Ad_employer::query()->where('id', '=', '0'); |
779 | } | 779 | } |
780 | 780 | ||
781 | $Query = $Query->with('jobs')-> | 781 | $Query = $Query->with('jobs')-> |
782 | with('cat')-> | 782 | with('cat')-> |
783 | with('employer')-> | 783 | with('employer')-> |
784 | whereHas('jobs_code', function ($query) use ($request) { | 784 | whereHas('jobs_code', function ($query) use ($request) { |
785 | if ($request->ajax()) { | 785 | if ($request->ajax()) { |
786 | if (null !== ($request->get('job'))) { | 786 | if (null !== ($request->get('job'))) { |
787 | $query->where('job_title_id', $request->get('job')); | 787 | $query->where('job_title_id', $request->get('job')); |
788 | } | 788 | } |
789 | } | 789 | } |
790 | })->select('ad_employers.*'); | 790 | })->select('ad_employers.*'); |
791 | 791 | ||
792 | $Job_title = Job_title::query()->OrderBy('name')->get(); | 792 | $Job_title = Job_title::query()->OrderBy('name')->get(); |
793 | 793 | ||
794 | $Query_count = $Query->count(); | 794 | $Query_count = $Query->count(); |
795 | 795 | ||
796 | $Query = $Query->OrderBy('updated_at')->paginate(3); | 796 | $Query = $Query->OrderBy('updated_at')->paginate(3); |
797 | 797 | ||
798 | 798 | ||
799 | return view('workers.favorite', compact('Query', | 799 | return view('workers.favorite', compact('Query', |
800 | 'Query_count', | 800 | 'Query_count', |
801 | 'Job_title')); | 801 | 'Job_title')); |
802 | 802 | ||
803 | } | 803 | } |
804 | 804 | ||
805 | //Переписка | 805 | //Переписка |
806 | public function dialog(User_Model $user1, User_Model $user2, Request $request) { | 806 | public function dialog(User_Model $user1, User_Model $user2, Request $request) { |
807 | // Получение параметров. | 807 | // Получение параметров. |
808 | if ($request->has('ad_employer')){ | 808 | if ($request->has('ad_employer')){ |
809 | $ad_employer = $request->get('ad_employer'); | 809 | $ad_employer = $request->get('ad_employer'); |
810 | } else { | 810 | } else { |
811 | $ad_employer = 0; | 811 | $ad_employer = 0; |
812 | } | 812 | } |
813 | 813 | ||
814 | if (isset($user1->id)) { | 814 | if (isset($user1->id)) { |
815 | $sender = User_Model::query()->with('workers')-> | 815 | $sender = User_Model::query()->with('workers')-> |
816 | with('employers')-> | 816 | with('employers')-> |
817 | where('id', $user1->id)->first(); | 817 | where('id', $user1->id)->first(); |
818 | } | 818 | } |
819 | 819 | ||
820 | if (isset($user2->id)) { | 820 | if (isset($user2->id)) { |
821 | $companion = User_Model::query()->with('workers')-> | 821 | $companion = User_Model::query() |
822 | with('employers')-> | 822 | ->with('workers') |
823 | where('id', $user2->id)->first(); | 823 | ->with('employers') |
824 | ->where('id', $user2->id) | ||
825 | ->first() | ||
826 | ; | ||
824 | } | 827 | } |
825 | 828 | ||
826 | $Messages = Message::query()-> | 829 | $Messages = Message::query()-> |
827 | where(function($query) use ($user1, $user2) { | 830 | where(function($query) use ($user1, $user2) { |
828 | $query->where('user_id', $user1->id)->where('to_user_id', $user2->id); | 831 | $query->where('user_id', $user1->id)->where('to_user_id', $user2->id); |
829 | })->orWhere(function($query) use ($user1, $user2) { | 832 | })->orWhere(function($query) use ($user1, $user2) { |
830 | $query->where('user_id', $user2->id)->where('to_user_id', $user1->id); | 833 | $query->where('user_id', $user2->id)->where('to_user_id', $user1->id); |
831 | })->OrderBy('created_at') | 834 | })->OrderBy('created_at') |
832 | ->get() | 835 | ->get() |
833 | ; | 836 | ; |
834 | 837 | ||
838 | Message::where('user_id', '=', $user2->id) | ||
839 | ->where('to_user_id', '=', $user1->id) | ||
840 | ->update(['flag_new' => 0]); | ||
841 | |||
835 | return view('workers.dialog', compact('companion', 'sender', 'Messages', 'ad_employer')); | 842 | return view('workers.dialog', compact('companion', 'sender', 'Messages', 'ad_employer')); |
836 | } | 843 | } |
837 | 844 | ||
838 | // Даунылоады | 845 | // Даунылоады |
839 | public function download(Worker $worker) { | 846 | public function download(Worker $worker) { |
840 | $arr_house = ['0' => 'Проверка, проверка, проверка, проверка, проверка...']; | 847 | $arr_house = ['0' => 'Проверка, проверка, проверка, проверка, проверка...']; |
841 | view()->share('house',$arr_house); | 848 | view()->share('house',$arr_house); |
842 | $pdf = PDF::loadView('layout.pdf', $arr_house)->setPaper('a4', 'landscape'); | 849 | $pdf = PDF::loadView('layout.pdf', $arr_house)->setPaper('a4', 'landscape'); |
843 | return $pdf->stream(); | 850 | return $pdf->stream(); |
844 | } | 851 | } |
845 | 852 | ||
846 | // Поднятие анкеты | 853 | // Поднятие анкеты |
847 | public function up(Worker $worker) { | 854 | public function up(Worker $worker) { |
848 | $worker->updated_at = Carbon::now(); | 855 | $worker->updated_at = Carbon::now(); |
849 | $worker->save(); | 856 | $worker->save(); |
850 | // 0 | 857 | // 0 |
851 | return redirect()->route('worker.cabinet')->with('success', 'Ваша анкета была поднята выше остальных'); | 858 | return redirect()->route('worker.cabinet')->with('success', 'Ваша анкета была поднята выше остальных'); |
852 | } | 859 | } |
853 | 860 | ||
854 | // Форма сертификате | 861 | // Форма сертификате |
855 | public function new_sertificate(Worker $worker) { | 862 | public function new_sertificate(Worker $worker) { |
856 | return view('workers.sertificate_add', compact('worker')); | 863 | return view('workers.sertificate_add', compact('worker')); |
857 | } | 864 | } |
858 | 865 | ||
859 | // Добавление сертификата | 866 | // Добавление сертификата |
860 | public function add_serificate(SertificationRequest $request) { | 867 | public function add_serificate(SertificationRequest $request) { |
861 | $request->validate([ | 868 | $request->validate([ |
862 | 'name' => 'required|string|max:255', | 869 | 'name' => 'required|string|max:255', |
863 | 'end_begin' => 'required|date|date_format:d.m.Y' | 870 | 'end_begin' => 'required|date|date_format:d.m.Y' |
864 | ], | 871 | ], |
865 | [ | 872 | [ |
866 | 'name' => 'Навание сертификата обязательно для заполнения.', | 873 | 'name' => 'Навание сертификата обязательно для заполнения.', |
867 | 'end_begin' => 'Формат даты должен соответствовать дд.мм.гггг' | 874 | 'end_begin' => 'Формат даты должен соответствовать дд.мм.гггг' |
868 | ]); | 875 | ]); |
869 | 876 | ||
870 | $params = $request->all(); | 877 | $params = $request->all(); |
871 | 878 | ||
872 | $end_begin = DateTime::createFromFormat('d.m.Y', $params['end_begin']); | 879 | $end_begin = DateTime::createFromFormat('d.m.Y', $params['end_begin']); |
873 | $params['end_begin'] = $end_begin->format('Y-m-d'); | 880 | $params['end_begin'] = $end_begin->format('Y-m-d'); |
874 | 881 | ||
875 | $Sertificate = new sertification(); | 882 | $Sertificate = new sertification(); |
876 | $Sertificate->create($params); | 883 | $Sertificate->create($params); |
877 | 884 | ||
878 | return response()->json([ | 885 | return response()->json([ |
879 | 'success' => true | 886 | 'success' => true |
880 | ]); | 887 | ]); |
881 | } | 888 | } |
882 | 889 | ||
883 | // Удалить сертификат | 890 | // Удалить сертификат |
884 | public function delete_sertificate(sertification $doc) { | 891 | public function delete_sertificate(sertification $doc) { |
885 | $doc->delete(); | 892 | $doc->delete(); |
886 | 893 | ||
887 | return redirect()->route('worker.cabinet'); | 894 | return redirect()->route('worker.cabinet'); |
888 | } | 895 | } |
889 | 896 | ||
890 | // Редактирование сертификата | 897 | // Редактирование сертификата |
891 | public function edit_sertificate(Worker $worker, sertification $doc) { | 898 | public function edit_sertificate(Worker $worker, sertification $doc) { |
892 | return view('workers.sertificate_edit', compact('doc', 'worker')); | 899 | return view('workers.sertificate_edit', compact('doc', 'worker')); |
893 | } | 900 | } |
894 | 901 | ||
895 | // Редактирование обновление сертификата | 902 | // Редактирование обновление сертификата |
896 | public function update_serificate(SertificationRequest $request, sertification $doc) { | 903 | public function update_serificate(SertificationRequest $request, sertification $doc) { |
897 | $request->validate([ | 904 | $request->validate([ |
898 | 'name' => 'required|string|max:255', | 905 | 'name' => 'required|string|max:255', |
899 | 'end_begin' => 'required|date|date_format:d.m.Y' | 906 | 'end_begin' => 'required|date|date_format:d.m.Y' |
900 | ], | 907 | ], |
901 | [ | 908 | [ |
902 | 'name' => 'Навание сертификата обязательно для заполнения.', | 909 | 'name' => 'Навание сертификата обязательно для заполнения.', |
903 | 'end_begin' => 'Формат даты должен соответствовать дд.мм.гггг' | 910 | 'end_begin' => 'Формат даты должен соответствовать дд.мм.гггг' |
904 | ]); | 911 | ]); |
905 | 912 | ||
906 | $all = $request->all(); | 913 | $all = $request->all(); |
907 | 914 | ||
908 | $end_begin = DateTime::createFromFormat('d.m.Y', $all['end_begin']); | 915 | $end_begin = DateTime::createFromFormat('d.m.Y', $all['end_begin']); |
909 | $all['end_begin'] = $end_begin->format('Y-m-d'); | 916 | $all['end_begin'] = $end_begin->format('Y-m-d'); |
910 | 917 | ||
911 | $doc->worker_id = $all['worker_id']; | 918 | $doc->worker_id = $all['worker_id']; |
912 | $doc->name = $all['name']; | 919 | $doc->name = $all['name']; |
913 | $doc->end_begin = $all['end_begin']; | 920 | $doc->end_begin = $all['end_begin']; |
914 | $doc->save(); | 921 | $doc->save(); |
915 | 922 | ||
916 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись!'); | 923 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись!'); |
917 | } | 924 | } |
918 | 925 | ||
919 | public function edit_diploms(Request $request, Worker $worker) { | 926 | public function edit_diploms(Request $request, Worker $worker) { |
920 | $dop_info_data = $request->input('diploms'); | 927 | $dop_info_data = $request->input('diploms'); |
921 | 928 | ||
922 | if (empty($dop_info_data)) { | 929 | if (empty($dop_info_data)) { |
923 | return redirect()->route('worker.additional_documents')->with('error', 'Данные не предоставлены!'); | 930 | return redirect()->route('worker.additional_documents')->with('error', 'Данные не предоставлены!'); |
924 | } | 931 | } |
925 | 932 | ||
926 | foreach ($dop_info_data as $infoblok_id => $status) { | 933 | foreach ($dop_info_data as $infoblok_id => $status) { |
927 | Dop_info::updateOrCreate( | 934 | Dop_info::updateOrCreate( |
928 | ['worker_id' => $worker->id, 'infoblok_id' => $infoblok_id], | 935 | ['worker_id' => $worker->id, 'infoblok_id' => $infoblok_id], |
929 | ['status' => $status] | 936 | ['status' => $status] |
930 | ); | 937 | ); |
931 | } | 938 | } |
932 | 939 | ||
933 | return redirect()->route('worker.additional_documents')->with('success', 'Успешно сохранено!'); | 940 | return redirect()->route('worker.additional_documents')->with('success', 'Успешно сохранено!'); |
934 | } | 941 | } |
935 | 942 | ||
936 | public function delete_add_diplom(Request $request, Worker $worker) { | 943 | public function delete_add_diplom(Request $request, Worker $worker) { |
937 | $infoblok_id = $request->get('infoblok_id'); | 944 | $infoblok_id = $request->get('infoblok_id'); |
938 | 945 | ||
939 | if (Dop_info::query()->where('worker_id', $worker->id)->where('infoblok_id', $infoblok_id)->count() > 0) | 946 | if (Dop_info::query()->where('worker_id', $worker->id)->where('infoblok_id', $infoblok_id)->count() > 0) |
940 | $id = Dop_info::query()->where('worker_id', $worker->id)->where('infoblok_id', $infoblok_id)->delete(); | 947 | $id = Dop_info::query()->where('worker_id', $worker->id)->where('infoblok_id', $infoblok_id)->delete(); |
941 | else { | 948 | else { |
942 | $params['infoblok_id'] = $infoblok_id; | 949 | $params['infoblok_id'] = $infoblok_id; |
943 | $params['worker_id'] = $worker->id; | 950 | $params['worker_id'] = $worker->id; |
944 | $params['status'] = $request->get('val'); | 951 | $params['status'] = $request->get('val'); |
945 | $id = Dop_info::create($params); | 952 | $id = Dop_info::create($params); |
946 | //$id = $worker->infobloks()->sync([$infoblok_id]); | 953 | //$id = $worker->infobloks()->sync([$infoblok_id]); |
947 | } | 954 | } |
948 | 955 | ||
949 | //$Infoblocks = infobloks::query()->get(); | 956 | //$Infoblocks = infobloks::query()->get(); |
950 | return $id; //redirect()->route('worker.cabinet')->getTargetUrl(); //view('workers.ajax.diploms_dop', compact('worker', 'Infoblocks')); | 957 | return $id; //redirect()->route('worker.cabinet')->getTargetUrl(); //view('workers.ajax.diploms_dop', compact('worker', 'Infoblocks')); |
951 | } | 958 | } |
952 | 959 | ||
953 | 960 | ||
954 | 961 | ||
955 | // Добавление диплома | 962 | // Добавление диплома |
956 | public function add_diplom_ajax(Request $request) { | 963 | public function add_diplom_ajax(Request $request) { |
957 | // конец | 964 | // конец |
958 | $params = $request->all(); | 965 | $params = $request->all(); |
959 | $count = Dop_info::query()->where('worker_id', $request->get('worker_id'))->where('infoblok_id', $request->get('infoblok_id'))->count(); | 966 | $count = Dop_info::query()->where('worker_id', $request->get('worker_id'))->where('infoblok_id', $request->get('infoblok_id'))->count(); |
960 | 967 | ||
961 | if ($count == 0) $dop_info = Dop_info::create($params); | 968 | if ($count == 0) $dop_info = Dop_info::create($params); |
962 | $Infoblocks = infobloks::query()->get(); | 969 | $Infoblocks = infobloks::query()->get(); |
963 | $Worker = Worker::query()->where('id', $request->get('worker_id'))->get(); | 970 | $Worker = Worker::query()->where('id', $request->get('worker_id'))->get(); |
964 | $data = Dop_info::query()->where('worker_id', $request->has('worker_id')); | 971 | $data = Dop_info::query()->where('worker_id', $request->has('worker_id')); |
965 | return view('ajax.dop_info', compact('data', 'Infoblocks', 'Worker')); | 972 | return view('ajax.dop_info', compact('data', 'Infoblocks', 'Worker')); |
966 | } | 973 | } |
967 | 974 | ||
968 | // Добавление диплома без ajax | 975 | // Добавление диплома без ajax |
969 | public function add_diplom(Worker $worker) { | 976 | public function add_diplom(Worker $worker) { |
970 | $worker_id = $worker->id; | 977 | $worker_id = $worker->id; |
971 | $Infoblocks = infobloks::query()->get(); | 978 | $Infoblocks = infobloks::query()->get(); |
972 | return view('workers.dop_info', compact('worker_id', 'worker', 'Infoblocks')); | 979 | return view('workers.dop_info', compact('worker_id', 'worker', 'Infoblocks')); |
973 | } | 980 | } |
974 | // Сохранить | 981 | // Сохранить |
975 | // Сохраняю диплом | 982 | // Сохраняю диплом |
976 | public function add_diplom_save(Request $request) { | 983 | public function add_diplom_save(Request $request) { |
977 | $params = $request->all(); | 984 | $params = $request->all(); |
978 | $count = Dop_info::query()->where('worker_id', $request->get('worker_id'))->where('infoblok_id', $request->get('infoblok_id'))->count(); | 985 | $count = Dop_info::query()->where('worker_id', $request->get('worker_id'))->where('infoblok_id', $request->get('infoblok_id'))->count(); |
979 | if ($count == 0) $dop_info = Dop_info::create($params); | 986 | if ($count == 0) $dop_info = Dop_info::create($params); |
980 | return redirect()->route('worker.cabinet'); | 987 | return redirect()->route('worker.cabinet'); |
981 | } | 988 | } |
982 | 989 | ||
983 | // Добавление стандартного документа | 990 | // Добавление стандартного документа |
984 | public function add_document(Worker $worker) { | 991 | public function add_document(Worker $worker) { |
985 | return view('workers.docs', compact('worker')); | 992 | return view('workers.docs', compact('worker')); |
986 | } | 993 | } |
987 | 994 | ||
988 | //Сохранение стандартого документа | 995 | //Сохранение стандартого документа |
989 | public function add_document_save(DocumentsRequest $request) { | 996 | public function add_document_save(DocumentsRequest $request) { |
990 | $params = $request->all(); | 997 | $params = $request->all(); |
991 | place_works::create($params); | 998 | place_works::create($params); |
992 | return response()->json(['success' => true]); | 999 | return response()->json(['success' => true]); |
993 | } | 1000 | } |
994 | 1001 | ||
995 | // Редактирование документа | 1002 | // Редактирование документа |
996 | public function edit_document(place_works $doc, Worker $worker) { | 1003 | public function edit_document(place_works $doc, Worker $worker) { |
997 | return view('workers.docs-edit', compact('doc', 'worker')); | 1004 | return view('workers.docs-edit', compact('doc', 'worker')); |
998 | } | 1005 | } |
999 | 1006 | ||
1000 | //Сохранение отредактированного документа | 1007 | //Сохранение отредактированного документа |
1001 | public function edit_document_save(DocumentsRequest $request, place_works $doc) { | 1008 | public function edit_document_save(DocumentsRequest $request, place_works $doc) { |
1002 | $params = $request->all(); | 1009 | $params = $request->all(); |
1003 | $doc->update($params); | 1010 | $doc->update($params); |
1004 | 1011 | ||
1005 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись!'); | 1012 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись!'); |
1006 | } | 1013 | } |
1007 | 1014 | ||
1008 | // Удаление документа | 1015 | // Удаление документа |
1009 | public function delete_document(place_works $doc) { | 1016 | public function delete_document(place_works $doc) { |
1010 | $doc->delete(); | 1017 | $doc->delete(); |
1011 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно удалили запись!'); | 1018 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно удалили запись!'); |
1012 | } | 1019 | } |
1013 | 1020 | ||
1014 | //Отправка нового сообщения | 1021 | //Отправка нового сообщения |
1015 | public function new_message(Request $request) { | 1022 | public function new_message(Request $request) { |
1016 | $params = $request->all(); | 1023 | $params = $request->all(); |
1017 | 1024 | ||
1018 | $id = $params['send_user_id']; | 1025 | $id = $params['send_user_id']; |
1019 | $message_params = [ | 1026 | $message_params = [ |
1020 | 'title' => $params['send_title'], | 1027 | 'title' => $params['send_title'], |
1021 | 'text' => $params['send_text'], | 1028 | 'text' => $params['send_text'], |
1022 | 'ad_employer_id' => $params['send_vacancy'], | 1029 | 'ad_employer_id' => $params['send_vacancy'], |
1023 | 'flag_new' => 1 | 1030 | 'flag_new' => 1 |
1024 | ]; | 1031 | ]; |
1025 | 1032 | ||
1026 | $id_message = Message::add_message( | 1033 | $id_message = Message::add_message( |
1027 | $request, | 1034 | $request, |
1028 | $params['send_user_id'], | 1035 | $params['send_user_id'], |
1029 | $params['send_to_user_id'], | 1036 | $params['send_to_user_id'], |
1030 | $message_params, | 1037 | $message_params, |
1031 | file_store_path: "worker/$id" | 1038 | file_store_path: "worker/$id" |
1032 | ); | 1039 | ); |
1033 | 1040 | ||
1034 | $data['message_id'] = $id_message; | 1041 | $data['message_id'] = $id_message; |
1035 | $data['ad_employer_id'] = $params['send_vacancy']; | 1042 | $data['ad_employer_id'] = $params['send_vacancy']; |
1036 | $data['job_title_id'] = $params['send_job_title_id']; | 1043 | $data['job_title_id'] = $params['send_job_title_id']; |
1037 | $data['flag'] = 1; | 1044 | $data['flag'] = 1; |
1038 | $ad_responce = ad_response::create($data); | 1045 | $ad_responce = ad_response::create($data); |
1039 | return redirect()->route('worker.messages', ['type_message' => 'output']); | 1046 | return redirect()->route('worker.messages', ['type_message' => 'output']); |
1040 | } | 1047 | } |
1041 | 1048 | ||
1042 | 1049 | ||
1043 | public function test123(Request $request) { | 1050 | public function test123(Request $request) { |
1044 | $params = $request->all(); | 1051 | $params = $request->all(); |
1045 | $user1 = $params['user_id']; | 1052 | $user1 = $params['user_id']; |
1046 | $user2 = $params['to_user_id']; | 1053 | $user2 = $params['to_user_id']; |
1047 | $id_vacancy = $params['ad_employer_id']; | 1054 | $id_vacancy = $params['ad_employer_id']; |
1048 | $ad_name = $params['ad_name']; | 1055 | $ad_name = $params['ad_name']; |
1049 | 1056 | ||
1050 | $rules = [ | 1057 | $rules = [ |
1051 | 'text' => 'required|min:1|max:150000', | 1058 | 'text' => 'required|min:1|max:150000', |
1052 | 'file' => 'file|mimes:doc,docx,xlsx,csv,txt,xlx,xls,pdf|max:150000' | 1059 | 'file' => 'file|mimes:doc,docx,xlsx,csv,txt,xlx,xls,pdf|max:150000' |
1053 | ]; | 1060 | ]; |
1054 | $messages = [ | 1061 | $messages = [ |
1055 | 'required' => 'Укажите обязательное поле', | 1062 | 'required' => 'Укажите обязательное поле', |
1056 | 'min' => [ | 1063 | 'min' => [ |
1057 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', | 1064 | 'string' => 'Поле «:attribute» должно быть не меньше :min символов', |
1058 | 'integer' => 'Поле «:attribute» должно быть :min или больше', | 1065 | 'integer' => 'Поле «:attribute» должно быть :min или больше', |
1059 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' | 1066 | 'file' => 'Файл «:attribute» должен быть не меньше :min Кбайт' |
1060 | ], | 1067 | ], |
1061 | 'max' => [ | 1068 | 'max' => [ |
1062 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', | 1069 | 'string' => 'Поле «:attribute» должно быть не больше :max символов', |
1063 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', | 1070 | 'integer' => 'Поле «:attribute» должно быть :max или меньше', |
1064 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' | 1071 | 'file' => 'Файл «:attribute» должен быть не больше :max Кбайт' |
1065 | ] | 1072 | ] |
1066 | ]; | 1073 | ]; |
1067 | 1074 | ||
1068 | $validator = Validator::make($request->all(), $rules, $messages); | 1075 | $validator = Validator::make($request->all(), $rules, $messages); |
1069 | 1076 | ||
1070 | if ($validator->fails()) { | 1077 | if ($validator->fails()) { |
1071 | return redirect()->route('worker.dialog', ['user1' => $user1, 'user2' => $user2, 'ad_employer' => $id_vacancy, 'ad_name' => $ad_name]) | 1078 | return redirect()->route('worker.dialog', ['user1' => $user1, 'user2' => $user2, 'ad_employer' => $id_vacancy, 'ad_name' => $ad_name]) |
1072 | ->withErrors($validator); | 1079 | ->withErrors($validator); |
1073 | } else { | 1080 | } else { |
1074 | Message::add_message($request, $user1, $user2, $request->all(), file_store_path: 'messages'); | 1081 | Message::add_message($request, $user1, $user2, $request->all(), file_store_path: 'messages'); |
1075 | 1082 | ||
1076 | return redirect()->route('worker.dialog', | 1083 | return redirect()->route('worker.dialog', |
1077 | ['user1' => $user1, 'user2' => $user2, 'ad_employer' => $id_vacancy, 'ad_name' => $ad_name]); | 1084 | ['user1' => $user1, 'user2' => $user2, 'ad_employer' => $id_vacancy, 'ad_name' => $ad_name]); |
1078 | 1085 | ||
1079 | } | 1086 | } |
1080 | } | 1087 | } |
1081 | 1088 | ||
1082 | // Информация о предыдущих компаниях | 1089 | // Информация о предыдущих компаниях |
1083 | public function new_prev_company(Worker $worker) { | 1090 | public function new_prev_company(Worker $worker) { |
1084 | return view('workers.prev_company_form', compact('worker')); | 1091 | return view('workers.prev_company_form', compact('worker')); |
1085 | } | 1092 | } |
1086 | 1093 | ||
1087 | // Добавление контакта компании | 1094 | // Добавление контакта компании |
1088 | public function add_prev_company(PrevCompanyRequest $request) { | 1095 | public function add_prev_company(PrevCompanyRequest $request) { |
1089 | // Возвращение параметров | 1096 | // Возвращение параметров |
1090 | $all = $request->all(); | 1097 | $all = $request->all(); |
1091 | PrevCompany::create($all); | 1098 | PrevCompany::create($all); |
1092 | 1099 | ||
1093 | return response()->json(['success' => true]); | 1100 | return response()->json(['success' => true]); |
1094 | } | 1101 | } |
1095 | 1102 | ||
1096 | // Редактирование контакта компании | 1103 | // Редактирование контакта компании |
1097 | public function edit_prev_company(PrevCompany $doc, Worker $worker) { | 1104 | public function edit_prev_company(PrevCompany $doc, Worker $worker) { |
1098 | return view('workers.prev_company_edit_form', compact('doc', 'worker')); | 1105 | return view('workers.prev_company_edit_form', compact('doc', 'worker')); |
1099 | } | 1106 | } |
1100 | 1107 | ||
1101 | //Сохранение редактирования контакта компании | 1108 | //Сохранение редактирования контакта компании |
1102 | public function update_prev_company(PrevCompany $doc, Request $request){ | 1109 | public function update_prev_company(PrevCompany $doc, Request $request){ |
1103 | $all = $request->all(); | 1110 | $all = $request->all(); |
1104 | $doc->update($all); | 1111 | $doc->update($all); |
1105 | 1112 | ||
1106 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись'); | 1113 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно отредактировали запись'); |
1107 | } | 1114 | } |
1108 | 1115 | ||
1109 | // Удаление контакта предыдущей компании | 1116 | // Удаление контакта предыдущей компании |
1110 | public function delete_prev_company(PrevCompany $doc) { | 1117 | public function delete_prev_company(PrevCompany $doc) { |
1111 | $doc->delete(); | 1118 | $doc->delete(); |
1112 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно удалили запись!'); | 1119 | return redirect()->route('worker.cabinet')->with('success', 'Вы успешно удалили запись!'); |
1113 | } | 1120 | } |
1114 | } | 1121 | } |
1115 | 1122 | ||
1116 | 1123 |
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 | html { | 13 | html { |
14 | line-height: 1.15; /* 1 */ | 14 | line-height: 1.15; /* 1 */ |
15 | -webkit-text-size-adjust: 100%; /* 2 */ | 15 | -webkit-text-size-adjust: 100%; /* 2 */ |
16 | } | 16 | } |
17 | 17 | ||
18 | /* Sections | 18 | /* Sections |
19 | ========================================================================== */ | 19 | ========================================================================== */ |
20 | /** | 20 | /** |
21 | * Remove the margin in all browsers. | 21 | * Remove the margin in all browsers. |
22 | */ | 22 | */ |
23 | body { | 23 | body { |
24 | margin: 0; | 24 | margin: 0; |
25 | } | 25 | } |
26 | 26 | ||
27 | /** | 27 | /** |
28 | * Render the `main` element consistently in IE. | 28 | * Render the `main` element consistently in IE. |
29 | */ | 29 | */ |
30 | main { | 30 | main { |
31 | display: block; | 31 | display: block; |
32 | } | 32 | } |
33 | 33 | ||
34 | /** | 34 | /** |
35 | * Correct the font size and margin on `h1` elements within `section` and | 35 | * Correct the font size and margin on `h1` elements within `section` and |
36 | * `article` contexts in Chrome, Firefox, and Safari. | 36 | * `article` contexts in Chrome, Firefox, and Safari. |
37 | */ | 37 | */ |
38 | h1 { | 38 | h1 { |
39 | font-size: 2em; | 39 | font-size: 2em; |
40 | margin: 0.67em 0; | 40 | margin: 0.67em 0; |
41 | } | 41 | } |
42 | 42 | ||
43 | /* Grouping content | 43 | /* Grouping content |
44 | ========================================================================== */ | 44 | ========================================================================== */ |
45 | /** | 45 | /** |
46 | * 1. Add the correct box sizing in Firefox. | 46 | * 1. Add the correct box sizing in Firefox. |
47 | * 2. Show the overflow in Edge and IE. | 47 | * 2. Show the overflow in Edge and IE. |
48 | */ | 48 | */ |
49 | hr { | 49 | hr { |
50 | -webkit-box-sizing: content-box; | 50 | -webkit-box-sizing: content-box; |
51 | box-sizing: content-box; /* 1 */ | 51 | box-sizing: content-box; /* 1 */ |
52 | height: 0; /* 1 */ | 52 | height: 0; /* 1 */ |
53 | overflow: visible; /* 2 */ | 53 | overflow: visible; /* 2 */ |
54 | } | 54 | } |
55 | 55 | ||
56 | /** | 56 | /** |
57 | * 1. Correct the inheritance and scaling of font size in all browsers. | 57 | * 1. Correct the inheritance and scaling of font size in all browsers. |
58 | * 2. Correct the odd `em` font sizing in all browsers. | 58 | * 2. Correct the odd `em` font sizing in all browsers. |
59 | */ | 59 | */ |
60 | pre { | 60 | pre { |
61 | font-family: monospace, monospace; /* 1 */ | 61 | font-family: monospace, monospace; /* 1 */ |
62 | font-size: 1em; /* 2 */ | 62 | font-size: 1em; /* 2 */ |
63 | } | 63 | } |
64 | 64 | ||
65 | /* Text-level semantics | 65 | /* Text-level semantics |
66 | ========================================================================== */ | 66 | ========================================================================== */ |
67 | /** | 67 | /** |
68 | * Remove the gray background on active links in IE 10. | 68 | * Remove the gray background on active links in IE 10. |
69 | */ | 69 | */ |
70 | a { | 70 | a { |
71 | background-color: transparent; | 71 | background-color: transparent; |
72 | } | 72 | } |
73 | 73 | ||
74 | /** | 74 | /** |
75 | * 1. Remove the bottom border in Chrome 57- | 75 | * 1. Remove the bottom border in Chrome 57- |
76 | * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. | 76 | * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. |
77 | */ | 77 | */ |
78 | abbr[title] { | 78 | abbr[title] { |
79 | border-bottom: none; /* 1 */ | 79 | border-bottom: none; /* 1 */ |
80 | text-decoration: underline; /* 2 */ | 80 | text-decoration: underline; /* 2 */ |
81 | -webkit-text-decoration: underline dotted; | 81 | -webkit-text-decoration: underline dotted; |
82 | text-decoration: underline dotted; /* 2 */ | 82 | text-decoration: underline dotted; /* 2 */ |
83 | } | 83 | } |
84 | 84 | ||
85 | /** | 85 | /** |
86 | * Add the correct font weight in Chrome, Edge, and Safari. | 86 | * Add the correct font weight in Chrome, Edge, and Safari. |
87 | */ | 87 | */ |
88 | b, | 88 | b, |
89 | strong { | 89 | strong { |
90 | font-weight: bolder; | 90 | font-weight: bolder; |
91 | } | 91 | } |
92 | 92 | ||
93 | /** | 93 | /** |
94 | * 1. Correct the inheritance and scaling of font size in all browsers. | 94 | * 1. Correct the inheritance and scaling of font size in all browsers. |
95 | * 2. Correct the odd `em` font sizing in all browsers. | 95 | * 2. Correct the odd `em` font sizing in all browsers. |
96 | */ | 96 | */ |
97 | code, | 97 | code, |
98 | kbd, | 98 | kbd, |
99 | samp { | 99 | samp { |
100 | font-family: monospace, monospace; /* 1 */ | 100 | font-family: monospace, monospace; /* 1 */ |
101 | font-size: 1em; /* 2 */ | 101 | font-size: 1em; /* 2 */ |
102 | } | 102 | } |
103 | 103 | ||
104 | /** | 104 | /** |
105 | * Add the correct font size in all browsers. | 105 | * Add the correct font size in all browsers. |
106 | */ | 106 | */ |
107 | small { | 107 | small { |
108 | font-size: 80%; | 108 | font-size: 80%; |
109 | } | 109 | } |
110 | 110 | ||
111 | /** | 111 | /** |
112 | * Prevent `sub` and `sup` elements from affecting the line height in | 112 | * Prevent `sub` and `sup` elements from affecting the line height in |
113 | * all browsers. | 113 | * all browsers. |
114 | */ | 114 | */ |
115 | sub, | 115 | sub, |
116 | sup { | 116 | sup { |
117 | font-size: 75%; | 117 | font-size: 75%; |
118 | line-height: 0; | 118 | line-height: 0; |
119 | position: relative; | 119 | position: relative; |
120 | vertical-align: baseline; | 120 | vertical-align: baseline; |
121 | } | 121 | } |
122 | 122 | ||
123 | sub { | 123 | sub { |
124 | bottom: -0.25em; | 124 | bottom: -0.25em; |
125 | } | 125 | } |
126 | 126 | ||
127 | sup { | 127 | sup { |
128 | top: -0.5em; | 128 | top: -0.5em; |
129 | } | 129 | } |
130 | 130 | ||
131 | /* Embedded content | 131 | /* Embedded content |
132 | ========================================================================== */ | 132 | ========================================================================== */ |
133 | /** | 133 | /** |
134 | * Remove the border on images inside links in IE 10. | 134 | * Remove the border on images inside links in IE 10. |
135 | */ | 135 | */ |
136 | img { | 136 | img { |
137 | border-style: none; | 137 | border-style: none; |
138 | } | 138 | } |
139 | 139 | ||
140 | /* Forms | 140 | /* Forms |
141 | ========================================================================== */ | 141 | ========================================================================== */ |
142 | /** | 142 | /** |
143 | * 1. Change the font styles in all browsers. | 143 | * 1. Change the font styles in all browsers. |
144 | * 2. Remove the margin in Firefox and Safari. | 144 | * 2. Remove the margin in Firefox and Safari. |
145 | */ | 145 | */ |
146 | button, | 146 | button, |
147 | input, | 147 | input, |
148 | optgroup, | 148 | optgroup, |
149 | select, | 149 | select, |
150 | textarea { | 150 | textarea { |
151 | font-family: inherit; /* 1 */ | 151 | font-family: inherit; /* 1 */ |
152 | font-size: 100%; /* 1 */ | 152 | font-size: 100%; /* 1 */ |
153 | line-height: 1.15; /* 1 */ | 153 | line-height: 1.15; /* 1 */ |
154 | margin: 0; /* 2 */ | 154 | margin: 0; /* 2 */ |
155 | } | 155 | } |
156 | 156 | ||
157 | /** | 157 | /** |
158 | * Show the overflow in IE. | 158 | * Show the overflow in IE. |
159 | * 1. Show the overflow in Edge. | 159 | * 1. Show the overflow in Edge. |
160 | */ | 160 | */ |
161 | button, | 161 | button, |
162 | input { /* 1 */ | 162 | input { /* 1 */ |
163 | overflow: visible; | 163 | overflow: visible; |
164 | } | 164 | } |
165 | 165 | ||
166 | /** | 166 | /** |
167 | * Remove the inheritance of text transform in Edge, Firefox, and IE. | 167 | * Remove the inheritance of text transform in Edge, Firefox, and IE. |
168 | * 1. Remove the inheritance of text transform in Firefox. | 168 | * 1. Remove the inheritance of text transform in Firefox. |
169 | */ | 169 | */ |
170 | button, | 170 | button, |
171 | select { /* 1 */ | 171 | select { /* 1 */ |
172 | text-transform: none; | 172 | text-transform: none; |
173 | } | 173 | } |
174 | 174 | ||
175 | /** | 175 | /** |
176 | * Correct the inability to style clickable types in iOS and Safari. | 176 | * Correct the inability to style clickable types in iOS and Safari. |
177 | */ | 177 | */ |
178 | button, | 178 | button, |
179 | [type=button], | 179 | [type=button], |
180 | [type=reset], | 180 | [type=reset], |
181 | [type=submit] { | 181 | [type=submit] { |
182 | -webkit-appearance: button; | 182 | -webkit-appearance: button; |
183 | } | 183 | } |
184 | 184 | ||
185 | /** | 185 | /** |
186 | * Remove the inner border and padding in Firefox. | 186 | * Remove the inner border and padding in Firefox. |
187 | */ | 187 | */ |
188 | button::-moz-focus-inner, | 188 | button::-moz-focus-inner, |
189 | [type=button]::-moz-focus-inner, | 189 | [type=button]::-moz-focus-inner, |
190 | [type=reset]::-moz-focus-inner, | 190 | [type=reset]::-moz-focus-inner, |
191 | [type=submit]::-moz-focus-inner { | 191 | [type=submit]::-moz-focus-inner { |
192 | border-style: none; | 192 | border-style: none; |
193 | padding: 0; | 193 | padding: 0; |
194 | } | 194 | } |
195 | 195 | ||
196 | /** | 196 | /** |
197 | * Restore the focus styles unset by the previous rule. | 197 | * Restore the focus styles unset by the previous rule. |
198 | */ | 198 | */ |
199 | button:-moz-focusring, | 199 | button:-moz-focusring, |
200 | [type=button]:-moz-focusring, | 200 | [type=button]:-moz-focusring, |
201 | [type=reset]:-moz-focusring, | 201 | [type=reset]:-moz-focusring, |
202 | [type=submit]:-moz-focusring { | 202 | [type=submit]:-moz-focusring { |
203 | outline: 1px dotted ButtonText; | 203 | outline: 1px dotted ButtonText; |
204 | } | 204 | } |
205 | 205 | ||
206 | /** | 206 | /** |
207 | * Correct the padding in Firefox. | 207 | * Correct the padding in Firefox. |
208 | */ | 208 | */ |
209 | fieldset { | 209 | fieldset { |
210 | padding: 0.35em 0.75em 0.625em; | 210 | padding: 0.35em 0.75em 0.625em; |
211 | } | 211 | } |
212 | 212 | ||
213 | /** | 213 | /** |
214 | * 1. Correct the text wrapping in Edge and IE. | 214 | * 1. Correct the text wrapping in Edge and IE. |
215 | * 2. Correct the color inheritance from `fieldset` elements in IE. | 215 | * 2. Correct the color inheritance from `fieldset` elements in IE. |
216 | * 3. Remove the padding so developers are not caught out when they zero out | 216 | * 3. Remove the padding so developers are not caught out when they zero out |
217 | * `fieldset` elements in all browsers. | 217 | * `fieldset` elements in all browsers. |
218 | */ | 218 | */ |
219 | legend { | 219 | legend { |
220 | -webkit-box-sizing: border-box; | 220 | -webkit-box-sizing: border-box; |
221 | box-sizing: border-box; /* 1 */ | 221 | box-sizing: border-box; /* 1 */ |
222 | color: inherit; /* 2 */ | 222 | color: inherit; /* 2 */ |
223 | display: table; /* 1 */ | 223 | display: table; /* 1 */ |
224 | max-width: 100%; /* 1 */ | 224 | max-width: 100%; /* 1 */ |
225 | padding: 0; /* 3 */ | 225 | padding: 0; /* 3 */ |
226 | white-space: normal; /* 1 */ | 226 | white-space: normal; /* 1 */ |
227 | } | 227 | } |
228 | 228 | ||
229 | /** | 229 | /** |
230 | * Add the correct vertical alignment in Chrome, Firefox, and Opera. | 230 | * Add the correct vertical alignment in Chrome, Firefox, and Opera. |
231 | */ | 231 | */ |
232 | progress { | 232 | progress { |
233 | vertical-align: baseline; | 233 | vertical-align: baseline; |
234 | } | 234 | } |
235 | 235 | ||
236 | /** | 236 | /** |
237 | * Remove the default vertical scrollbar in IE 10+. | 237 | * Remove the default vertical scrollbar in IE 10+. |
238 | */ | 238 | */ |
239 | textarea { | 239 | textarea { |
240 | overflow: auto; | 240 | overflow: auto; |
241 | } | 241 | } |
242 | 242 | ||
243 | /** | 243 | /** |
244 | * 1. Add the correct box sizing in IE 10. | 244 | * 1. Add the correct box sizing in IE 10. |
245 | * 2. Remove the padding in IE 10. | 245 | * 2. Remove the padding in IE 10. |
246 | */ | 246 | */ |
247 | [type=checkbox], | 247 | [type=checkbox], |
248 | [type=radio] { | 248 | [type=radio] { |
249 | -webkit-box-sizing: border-box; | 249 | -webkit-box-sizing: border-box; |
250 | box-sizing: border-box; /* 1 */ | 250 | box-sizing: border-box; /* 1 */ |
251 | padding: 0; /* 2 */ | 251 | padding: 0; /* 2 */ |
252 | } | 252 | } |
253 | 253 | ||
254 | /** | 254 | /** |
255 | * Correct the cursor style of increment and decrement buttons in Chrome. | 255 | * Correct the cursor style of increment and decrement buttons in Chrome. |
256 | */ | 256 | */ |
257 | [type=number]::-webkit-inner-spin-button, | 257 | [type=number]::-webkit-inner-spin-button, |
258 | [type=number]::-webkit-outer-spin-button { | 258 | [type=number]::-webkit-outer-spin-button { |
259 | height: auto; | 259 | height: auto; |
260 | } | 260 | } |
261 | 261 | ||
262 | /** | 262 | /** |
263 | * 1. Correct the odd appearance in Chrome and Safari. | 263 | * 1. Correct the odd appearance in Chrome and Safari. |
264 | * 2. Correct the outline style in Safari. | 264 | * 2. Correct the outline style in Safari. |
265 | */ | 265 | */ |
266 | [type=search] { | 266 | [type=search] { |
267 | -webkit-appearance: textfield; /* 1 */ | 267 | -webkit-appearance: textfield; /* 1 */ |
268 | outline-offset: -2px; /* 2 */ | 268 | outline-offset: -2px; /* 2 */ |
269 | } | 269 | } |
270 | 270 | ||
271 | /** | 271 | /** |
272 | * Remove the inner padding in Chrome and Safari on macOS. | 272 | * Remove the inner padding in Chrome and Safari on macOS. |
273 | */ | 273 | */ |
274 | [type=search]::-webkit-search-decoration { | 274 | [type=search]::-webkit-search-decoration { |
275 | -webkit-appearance: none; | 275 | -webkit-appearance: none; |
276 | } | 276 | } |
277 | 277 | ||
278 | /** | 278 | /** |
279 | * 1. Correct the inability to style clickable types in iOS and Safari. | 279 | * 1. Correct the inability to style clickable types in iOS and Safari. |
280 | * 2. Change font properties to `inherit` in Safari. | 280 | * 2. Change font properties to `inherit` in Safari. |
281 | */ | 281 | */ |
282 | ::-webkit-file-upload-button { | 282 | ::-webkit-file-upload-button { |
283 | -webkit-appearance: button; /* 1 */ | 283 | -webkit-appearance: button; /* 1 */ |
284 | font: inherit; /* 2 */ | 284 | font: inherit; /* 2 */ |
285 | } | 285 | } |
286 | 286 | ||
287 | /* Interactive | 287 | /* Interactive |
288 | ========================================================================== */ | 288 | ========================================================================== */ |
289 | /* | 289 | /* |
290 | * Add the correct display in Edge, IE 10+, and Firefox. | 290 | * Add the correct display in Edge, IE 10+, and Firefox. |
291 | */ | 291 | */ |
292 | details { | 292 | details { |
293 | display: block; | 293 | display: block; |
294 | } | 294 | } |
295 | 295 | ||
296 | /* | 296 | /* |
297 | * Add the correct display in all browsers. | 297 | * Add the correct display in all browsers. |
298 | */ | 298 | */ |
299 | summary { | 299 | summary { |
300 | display: list-item; | 300 | display: list-item; |
301 | } | 301 | } |
302 | 302 | ||
303 | /* Misc | 303 | /* Misc |
304 | ========================================================================== */ | 304 | ========================================================================== */ |
305 | /** | 305 | /** |
306 | * Add the correct display in IE 10+. | 306 | * Add the correct display in IE 10+. |
307 | */ | 307 | */ |
308 | template { | 308 | template { |
309 | display: none; | 309 | display: none; |
310 | } | 310 | } |
311 | 311 | ||
312 | /** | 312 | /** |
313 | * Add the correct display in IE 10. | 313 | * Add the correct display in IE 10. |
314 | */ | 314 | */ |
315 | [hidden] { | 315 | [hidden] { |
316 | display: none; | 316 | display: none; |
317 | } | 317 | } |
318 | 318 | ||
319 | .green { | 319 | .green { |
320 | color: #377d87; | 320 | color: #377d87; |
321 | } | 321 | } |
322 | 322 | ||
323 | .red { | 323 | .red { |
324 | color: #eb5757; | 324 | color: #eb5757; |
325 | } | 325 | } |
326 | 326 | ||
327 | .rotate180 { | 327 | .rotate180 { |
328 | -webkit-transform: rotate(180deg); | 328 | -webkit-transform: rotate(180deg); |
329 | -ms-transform: rotate(180deg); | 329 | -ms-transform: rotate(180deg); |
330 | transform: rotate(180deg); | 330 | transform: rotate(180deg); |
331 | } | 331 | } |
332 | 332 | ||
333 | ::-moz-selection { | 333 | ::-moz-selection { |
334 | color: #000; | 334 | color: #000; |
335 | background: #acc0e6; | 335 | background: #acc0e6; |
336 | } | 336 | } |
337 | 337 | ||
338 | ::selection { | 338 | ::selection { |
339 | color: #000; | 339 | color: #000; |
340 | background: #acc0e6; | 340 | background: #acc0e6; |
341 | } | 341 | } |
342 | 342 | ||
343 | ::-webkit-scrollbar { | 343 | ::-webkit-scrollbar { |
344 | width: 8px; | 344 | width: 8px; |
345 | height: 8px; | 345 | height: 8px; |
346 | } | 346 | } |
347 | 347 | ||
348 | ::-webkit-scrollbar-track { | 348 | ::-webkit-scrollbar-track { |
349 | border-radius: 999px; | 349 | border-radius: 999px; |
350 | background-color: #fff; | 350 | background-color: #fff; |
351 | } | 351 | } |
352 | 352 | ||
353 | ::-webkit-scrollbar-thumb { | 353 | ::-webkit-scrollbar-thumb { |
354 | border-radius: 999px; | 354 | border-radius: 999px; |
355 | background-color: #377d87; | 355 | background-color: #377d87; |
356 | } | 356 | } |
357 | 357 | ||
358 | ::-webkit-input-placeholder { | 358 | ::-webkit-input-placeholder { |
359 | color: #9c9d9d; | 359 | color: #9c9d9d; |
360 | opacity: 1; | 360 | opacity: 1; |
361 | } | 361 | } |
362 | 362 | ||
363 | :focus::-webkit-input-placeholder { | 363 | :focus::-webkit-input-placeholder { |
364 | color: transparent; | 364 | color: transparent; |
365 | } | 365 | } |
366 | 366 | ||
367 | :-ms-input-placeholder { | 367 | :-ms-input-placeholder { |
368 | color: #9c9d9d; | 368 | color: #9c9d9d; |
369 | opacity: 1; | 369 | opacity: 1; |
370 | } | 370 | } |
371 | 371 | ||
372 | :focus:-ms-input-placeholder { | 372 | :focus:-ms-input-placeholder { |
373 | color: transparent; | 373 | color: transparent; |
374 | } | 374 | } |
375 | 375 | ||
376 | ::-ms-input-placeholder { | 376 | ::-ms-input-placeholder { |
377 | color: #9c9d9d; | 377 | color: #9c9d9d; |
378 | opacity: 1; | 378 | opacity: 1; |
379 | } | 379 | } |
380 | 380 | ||
381 | :focus::-ms-input-placeholder { | 381 | :focus::-ms-input-placeholder { |
382 | color: transparent; | 382 | color: transparent; |
383 | } | 383 | } |
384 | 384 | ||
385 | ::-moz-placeholder { | 385 | ::-moz-placeholder { |
386 | color: #9c9d9d; | 386 | color: #9c9d9d; |
387 | opacity: 1; | 387 | opacity: 1; |
388 | } | 388 | } |
389 | 389 | ||
390 | :focus::-moz-placeholder { | 390 | :focus::-moz-placeholder { |
391 | color: transparent; | 391 | color: transparent; |
392 | } | 392 | } |
393 | 393 | ||
394 | ::-webkit-input-placeholder { | 394 | ::-webkit-input-placeholder { |
395 | color: #9c9d9d; | 395 | color: #9c9d9d; |
396 | opacity: 1; | 396 | opacity: 1; |
397 | } | 397 | } |
398 | 398 | ||
399 | ::-moz-placeholder { | 399 | ::-moz-placeholder { |
400 | color: #9c9d9d; | 400 | color: #9c9d9d; |
401 | opacity: 1; | 401 | opacity: 1; |
402 | } | 402 | } |
403 | 403 | ||
404 | :-ms-input-placeholder { | 404 | :-ms-input-placeholder { |
405 | color: #9c9d9d; | 405 | color: #9c9d9d; |
406 | opacity: 1; | 406 | opacity: 1; |
407 | } | 407 | } |
408 | 408 | ||
409 | ::-ms-input-placeholder { | 409 | ::-ms-input-placeholder { |
410 | color: #9c9d9d; | 410 | color: #9c9d9d; |
411 | opacity: 1; | 411 | opacity: 1; |
412 | } | 412 | } |
413 | 413 | ||
414 | ::placeholder { | 414 | ::placeholder { |
415 | color: #9c9d9d; | 415 | color: #9c9d9d; |
416 | opacity: 1; | 416 | opacity: 1; |
417 | } | 417 | } |
418 | 418 | ||
419 | :focus::-webkit-input-placeholder { | 419 | :focus::-webkit-input-placeholder { |
420 | color: transparent; | 420 | color: transparent; |
421 | } | 421 | } |
422 | 422 | ||
423 | :focus::-moz-placeholder { | 423 | :focus::-moz-placeholder { |
424 | color: transparent; | 424 | color: transparent; |
425 | } | 425 | } |
426 | 426 | ||
427 | :focus:-ms-input-placeholder { | 427 | :focus:-ms-input-placeholder { |
428 | color: transparent; | 428 | color: transparent; |
429 | } | 429 | } |
430 | 430 | ||
431 | :focus::-ms-input-placeholder { | 431 | :focus::-ms-input-placeholder { |
432 | color: transparent; | 432 | color: transparent; |
433 | } | 433 | } |
434 | 434 | ||
435 | :focus::placeholder { | 435 | :focus::placeholder { |
436 | color: transparent; | 436 | color: transparent; |
437 | } | 437 | } |
438 | 438 | ||
439 | *, | 439 | *, |
440 | *:before, | 440 | *:before, |
441 | *:after { | 441 | *:after { |
442 | -webkit-box-sizing: border-box; | 442 | -webkit-box-sizing: border-box; |
443 | box-sizing: border-box; | 443 | box-sizing: border-box; |
444 | -webkit-appearance: none; | 444 | -webkit-appearance: none; |
445 | -moz-appearance: none; | 445 | -moz-appearance: none; |
446 | appearance: none; | 446 | appearance: none; |
447 | outline: none; | 447 | outline: none; |
448 | -webkit-box-shadow: none; | 448 | -webkit-box-shadow: none; |
449 | box-shadow: none; | 449 | box-shadow: none; |
450 | } | 450 | } |
451 | 451 | ||
452 | a, | 452 | a, |
453 | button, | 453 | button, |
454 | select { | 454 | select { |
455 | color: inherit; | 455 | color: inherit; |
456 | } | 456 | } |
457 | 457 | ||
458 | a { | 458 | a { |
459 | text-decoration: none; | 459 | text-decoration: none; |
460 | } | 460 | } |
461 | 461 | ||
462 | a, | 462 | a, |
463 | input[type=button], | 463 | input[type=button], |
464 | input[type=submit], | 464 | input[type=submit], |
465 | button { | 465 | button { |
466 | -webkit-user-select: none; | 466 | -webkit-user-select: none; |
467 | -moz-user-select: none; | 467 | -moz-user-select: none; |
468 | -ms-user-select: none; | 468 | -ms-user-select: none; |
469 | user-select: none; | 469 | user-select: none; |
470 | -webkit-transition: 0.3s; | 470 | -webkit-transition: 0.3s; |
471 | transition: 0.3s; | 471 | transition: 0.3s; |
472 | cursor: pointer; | 472 | cursor: pointer; |
473 | } | 473 | } |
474 | 474 | ||
475 | [type=tel] { | 475 | [type=tel] { |
476 | letter-spacing: 1px; | 476 | letter-spacing: 1px; |
477 | } | 477 | } |
478 | 478 | ||
479 | .br, | 479 | .br, |
480 | img, | 480 | img, |
481 | svg { | 481 | svg { |
482 | display: block; | 482 | display: block; |
483 | } | 483 | } |
484 | 484 | ||
485 | .float-left { | 485 | .float-left { |
486 | float: left; | 486 | float: left; |
487 | } | 487 | } |
488 | 488 | ||
489 | .float-right { | 489 | .float-right { |
490 | float: right; | 490 | float: right; |
491 | } | 491 | } |
492 | 492 | ||
493 | .clear-both:after { | 493 | .clear-both:after { |
494 | content: ""; | 494 | content: ""; |
495 | display: block; | 495 | display: block; |
496 | clear: both; | 496 | clear: both; |
497 | } | 497 | } |
498 | 498 | ||
499 | h1, | 499 | h1, |
500 | h2, | 500 | h2, |
501 | h3, | 501 | h3, |
502 | h4, | 502 | h4, |
503 | h5, | 503 | h5, |
504 | h6 { | 504 | h6 { |
505 | margin: 0; | 505 | margin: 0; |
506 | } | 506 | } |
507 | 507 | ||
508 | #body { | 508 | #body { |
509 | font-family: "Circe", sans-serif; | 509 | font-family: "Circe", sans-serif; |
510 | color: #000; | 510 | color: #000; |
511 | background: #fff; | 511 | background: #fff; |
512 | display: -webkit-box; | 512 | display: -webkit-box; |
513 | display: -ms-flexbox; | 513 | display: -ms-flexbox; |
514 | display: flex; | 514 | display: flex; |
515 | -webkit-box-orient: vertical; | 515 | -webkit-box-orient: vertical; |
516 | -webkit-box-direction: normal; | 516 | -webkit-box-direction: normal; |
517 | -ms-flex-direction: column; | 517 | -ms-flex-direction: column; |
518 | flex-direction: column; | 518 | flex-direction: column; |
519 | -webkit-box-pack: justify; | 519 | -webkit-box-pack: justify; |
520 | -ms-flex-pack: justify; | 520 | -ms-flex-pack: justify; |
521 | justify-content: space-between; | 521 | justify-content: space-between; |
522 | gap: 50px; | 522 | gap: 50px; |
523 | min-width: 320px; | 523 | min-width: 320px; |
524 | min-height: 100vh; | 524 | min-height: 100vh; |
525 | line-height: 1.25; | 525 | line-height: 1.25; |
526 | } | 526 | } |
527 | @media (min-width: 768px) { | 527 | @media (min-width: 768px) { |
528 | #body { | 528 | #body { |
529 | gap: 60px; | 529 | gap: 60px; |
530 | } | 530 | } |
531 | } | 531 | } |
532 | #body.pdf { | 532 | #body.pdf { |
533 | gap: 0; | 533 | gap: 0; |
534 | } | 534 | } |
535 | 535 | ||
536 | .container { | 536 | .container { |
537 | width: 100%; | 537 | width: 100%; |
538 | max-width: 1280px; | 538 | max-width: 1280px; |
539 | margin-left: auto; | 539 | margin-left: auto; |
540 | margin-right: auto; | 540 | margin-right: auto; |
541 | padding-left: 10px; | 541 | padding-left: 10px; |
542 | padding-right: 10px; | 542 | padding-right: 10px; |
543 | } | 543 | } |
544 | @media (min-width: 768px) { | 544 | @media (min-width: 768px) { |
545 | .container { | 545 | .container { |
546 | padding-left: 20px; | 546 | padding-left: 20px; |
547 | padding-right: 20px; | 547 | padding-right: 20px; |
548 | } | 548 | } |
549 | } | 549 | } |
550 | 550 | ||
551 | .to-top { | 551 | .to-top { |
552 | position: fixed; | 552 | position: fixed; |
553 | right: 10px; | 553 | right: 10px; |
554 | bottom: 10px; | 554 | bottom: 10px; |
555 | border-radius: 999px; | 555 | border-radius: 999px; |
556 | display: -webkit-box; | 556 | display: -webkit-box; |
557 | display: -ms-flexbox; | 557 | display: -ms-flexbox; |
558 | display: flex; | 558 | display: flex; |
559 | -webkit-box-pack: center; | 559 | -webkit-box-pack: center; |
560 | -ms-flex-pack: center; | 560 | -ms-flex-pack: center; |
561 | justify-content: center; | 561 | justify-content: center; |
562 | -webkit-box-align: center; | 562 | -webkit-box-align: center; |
563 | -ms-flex-align: center; | 563 | -ms-flex-align: center; |
564 | align-items: center; | 564 | align-items: center; |
565 | color: #fff; | 565 | color: #fff; |
566 | background: #377d87; | 566 | background: #377d87; |
567 | width: 40px; | 567 | width: 40px; |
568 | height: 40px; | 568 | height: 40px; |
569 | -webkit-transition: 0.3s; | 569 | -webkit-transition: 0.3s; |
570 | transition: 0.3s; | 570 | transition: 0.3s; |
571 | margin-right: -100px; | 571 | margin-right: -100px; |
572 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 572 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
573 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 573 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
574 | z-index: 99; | 574 | z-index: 99; |
575 | border: 1px solid #377d87; | 575 | border: 1px solid #377d87; |
576 | } | 576 | } |
577 | .to-top:hover { | 577 | .to-top:hover { |
578 | background: #fff; | 578 | background: #fff; |
579 | color: #377d87; | 579 | color: #377d87; |
580 | } | 580 | } |
581 | .to-top svg { | 581 | .to-top svg { |
582 | width: 10px; | 582 | width: 10px; |
583 | height: 10px; | 583 | height: 10px; |
584 | } | 584 | } |
585 | @media (min-width: 768px) { | 585 | @media (min-width: 768px) { |
586 | .to-top { | 586 | .to-top { |
587 | width: 50px; | 587 | width: 50px; |
588 | height: 50px; | 588 | height: 50px; |
589 | right: 20px; | 589 | right: 20px; |
590 | bottom: 20px; | 590 | bottom: 20px; |
591 | } | 591 | } |
592 | .to-top svg { | 592 | .to-top svg { |
593 | width: 12px; | 593 | width: 12px; |
594 | height: 12px; | 594 | height: 12px; |
595 | } | 595 | } |
596 | } | 596 | } |
597 | 597 | ||
598 | .begin .to-top { | 598 | .begin .to-top { |
599 | margin-right: 0; | 599 | margin-right: 0; |
600 | } | 600 | } |
601 | 601 | ||
602 | .socials { | 602 | .socials { |
603 | display: -webkit-box; | 603 | display: -webkit-box; |
604 | display: -ms-flexbox; | 604 | display: -ms-flexbox; |
605 | display: flex; | 605 | display: flex; |
606 | -webkit-box-align: center; | 606 | -webkit-box-align: center; |
607 | -ms-flex-align: center; | 607 | -ms-flex-align: center; |
608 | align-items: center; | 608 | align-items: center; |
609 | -webkit-box-pack: center; | 609 | -webkit-box-pack: center; |
610 | -ms-flex-pack: center; | 610 | -ms-flex-pack: center; |
611 | justify-content: center; | 611 | justify-content: center; |
612 | gap: 8px; | 612 | gap: 8px; |
613 | } | 613 | } |
614 | .socials a { | 614 | .socials a { |
615 | display: -webkit-box; | 615 | display: -webkit-box; |
616 | display: -ms-flexbox; | 616 | display: -ms-flexbox; |
617 | display: flex; | 617 | display: flex; |
618 | -webkit-box-align: center; | 618 | -webkit-box-align: center; |
619 | -ms-flex-align: center; | 619 | -ms-flex-align: center; |
620 | align-items: center; | 620 | align-items: center; |
621 | -webkit-box-pack: center; | 621 | -webkit-box-pack: center; |
622 | -ms-flex-pack: center; | 622 | -ms-flex-pack: center; |
623 | justify-content: center; | 623 | justify-content: center; |
624 | border: 1px solid #377d87; | 624 | border: 1px solid #377d87; |
625 | color: #377d87; | 625 | color: #377d87; |
626 | border-radius: 999px; | 626 | border-radius: 999px; |
627 | width: 38px; | 627 | width: 38px; |
628 | height: 38px; | 628 | height: 38px; |
629 | } | 629 | } |
630 | .socials a:hover { | 630 | .socials a:hover { |
631 | background: #377d87; | 631 | background: #377d87; |
632 | color: #fff; | 632 | color: #fff; |
633 | } | 633 | } |
634 | .socials svg { | 634 | .socials svg { |
635 | width: 12px; | 635 | width: 12px; |
636 | height: 12px; | 636 | height: 12px; |
637 | } | 637 | } |
638 | 638 | ||
639 | .nls { | 639 | .nls { |
640 | display: -webkit-box; | 640 | display: -webkit-box; |
641 | display: -ms-flexbox; | 641 | display: -ms-flexbox; |
642 | display: flex; | 642 | display: flex; |
643 | color: #000; | 643 | color: #000; |
644 | text-align: left; | 644 | text-align: left; |
645 | } | 645 | } |
646 | .nls:hover { | 646 | .nls:hover { |
647 | color: #377d87; | 647 | color: #377d87; |
648 | } | 648 | } |
649 | .nls svg { | 649 | .nls svg { |
650 | width: 30px; | 650 | width: 30px; |
651 | height: 40px; | 651 | height: 40px; |
652 | } | 652 | } |
653 | @media (min-width: 768px) { | 653 | @media (min-width: 768px) { |
654 | .nls svg { | 654 | .nls svg { |
655 | width: 24px; | 655 | width: 24px; |
656 | height: 31px; | 656 | height: 31px; |
657 | } | 657 | } |
658 | } | 658 | } |
659 | .nls span { | 659 | .nls span { |
660 | width: calc(100% - 30px); | 660 | width: calc(100% - 30px); |
661 | padding-left: 12px; | 661 | padding-left: 12px; |
662 | display: -webkit-box; | 662 | display: -webkit-box; |
663 | display: -ms-flexbox; | 663 | display: -ms-flexbox; |
664 | display: flex; | 664 | display: flex; |
665 | -webkit-box-orient: vertical; | 665 | -webkit-box-orient: vertical; |
666 | -webkit-box-direction: normal; | 666 | -webkit-box-direction: normal; |
667 | -ms-flex-direction: column; | 667 | -ms-flex-direction: column; |
668 | flex-direction: column; | 668 | flex-direction: column; |
669 | -webkit-box-pack: center; | 669 | -webkit-box-pack: center; |
670 | -ms-flex-pack: center; | 670 | -ms-flex-pack: center; |
671 | justify-content: center; | 671 | justify-content: center; |
672 | font-size: 12px; | 672 | font-size: 12px; |
673 | line-height: 1.4; | 673 | line-height: 1.4; |
674 | } | 674 | } |
675 | @media (min-width: 768px) { | 675 | @media (min-width: 768px) { |
676 | .nls span { | 676 | .nls span { |
677 | width: calc(100% - 24px); | 677 | width: calc(100% - 24px); |
678 | } | 678 | } |
679 | } | 679 | } |
680 | .nls b { | 680 | .nls b { |
681 | font-weight: 400; | 681 | font-weight: 400; |
682 | } | 682 | } |
683 | 683 | ||
684 | .title, | 684 | .title, |
685 | h1 { | 685 | h1 { |
686 | margin: 0; | 686 | margin: 0; |
687 | font-weight: 700; | 687 | font-weight: 700; |
688 | font-size: 32px; | 688 | font-size: 32px; |
689 | } | 689 | } |
690 | @media (min-width: 768px) { | 690 | @media (min-width: 768px) { |
691 | .title, | 691 | .title, |
692 | h1 { | 692 | h1 { |
693 | font-size: 40px; | 693 | font-size: 40px; |
694 | } | 694 | } |
695 | } | 695 | } |
696 | @media (min-width: 992px) { | 696 | @media (min-width: 992px) { |
697 | .title, | 697 | .title, |
698 | h1 { | 698 | h1 { |
699 | font-size: 48px; | 699 | font-size: 48px; |
700 | } | 700 | } |
701 | } | 701 | } |
702 | @media (min-width: 1280px) { | 702 | @media (min-width: 1280px) { |
703 | .title, | 703 | .title, |
704 | h1 { | 704 | h1 { |
705 | font-size: 64px; | 705 | font-size: 64px; |
706 | } | 706 | } |
707 | } | 707 | } |
708 | 708 | ||
709 | .swiper-pagination { | 709 | .swiper-pagination { |
710 | display: -webkit-box; | 710 | display: -webkit-box; |
711 | display: -ms-flexbox; | 711 | display: -ms-flexbox; |
712 | display: flex; | 712 | display: flex; |
713 | -webkit-box-pack: center; | 713 | -webkit-box-pack: center; |
714 | -ms-flex-pack: center; | 714 | -ms-flex-pack: center; |
715 | justify-content: center; | 715 | justify-content: center; |
716 | -webkit-box-align: center; | 716 | -webkit-box-align: center; |
717 | -ms-flex-align: center; | 717 | -ms-flex-align: center; |
718 | align-items: center; | 718 | align-items: center; |
719 | position: static; | 719 | position: static; |
720 | margin-top: 20px; | 720 | margin-top: 20px; |
721 | gap: 8px; | 721 | gap: 8px; |
722 | } | 722 | } |
723 | @media (min-width: 768px) { | 723 | @media (min-width: 768px) { |
724 | .swiper-pagination { | 724 | .swiper-pagination { |
725 | margin-top: 30px; | 725 | margin-top: 30px; |
726 | } | 726 | } |
727 | } | 727 | } |
728 | .swiper-pagination-bullet { | 728 | .swiper-pagination-bullet { |
729 | width: 16px; | 729 | width: 16px; |
730 | height: 16px; | 730 | height: 16px; |
731 | opacity: 1; | 731 | opacity: 1; |
732 | border: 1px solid #cdcece; | 732 | border: 1px solid #cdcece; |
733 | -webkit-transition: 0.3s; | 733 | -webkit-transition: 0.3s; |
734 | transition: 0.3s; | 734 | transition: 0.3s; |
735 | background: transparent; | 735 | background: transparent; |
736 | display: -webkit-box; | 736 | display: -webkit-box; |
737 | display: -ms-flexbox; | 737 | display: -ms-flexbox; |
738 | display: flex; | 738 | display: flex; |
739 | -webkit-box-pack: center; | 739 | -webkit-box-pack: center; |
740 | -ms-flex-pack: center; | 740 | -ms-flex-pack: center; |
741 | justify-content: center; | 741 | justify-content: center; |
742 | -webkit-box-align: center; | 742 | -webkit-box-align: center; |
743 | -ms-flex-align: center; | 743 | -ms-flex-align: center; |
744 | align-items: center; | 744 | align-items: center; |
745 | margin: 0 !important; | 745 | margin: 0 !important; |
746 | } | 746 | } |
747 | .swiper-pagination-bullet:before { | 747 | .swiper-pagination-bullet:before { |
748 | content: ""; | 748 | content: ""; |
749 | width: 6px; | 749 | width: 6px; |
750 | height: 6px; | 750 | height: 6px; |
751 | border-radius: 999px; | 751 | border-radius: 999px; |
752 | background: #377d87; | 752 | background: #377d87; |
753 | opacity: 0; | 753 | opacity: 0; |
754 | -webkit-transition: 0.3s; | 754 | -webkit-transition: 0.3s; |
755 | transition: 0.3s; | 755 | transition: 0.3s; |
756 | } | 756 | } |
757 | .swiper-pagination-bullet:hover { | 757 | .swiper-pagination-bullet:hover { |
758 | border-color: #377d87; | 758 | border-color: #377d87; |
759 | } | 759 | } |
760 | .swiper-pagination-bullet-active { | 760 | .swiper-pagination-bullet-active { |
761 | border-color: #377d87; | 761 | border-color: #377d87; |
762 | } | 762 | } |
763 | .swiper-pagination-bullet-active:before { | 763 | .swiper-pagination-bullet-active:before { |
764 | opacity: 1; | 764 | opacity: 1; |
765 | } | 765 | } |
766 | 766 | ||
767 | .navs { | 767 | .navs { |
768 | display: -webkit-box; | 768 | display: -webkit-box; |
769 | display: -ms-flexbox; | 769 | display: -ms-flexbox; |
770 | display: flex; | 770 | display: flex; |
771 | -webkit-box-align: center; | 771 | -webkit-box-align: center; |
772 | -ms-flex-align: center; | 772 | -ms-flex-align: center; |
773 | align-items: center; | 773 | align-items: center; |
774 | -webkit-box-pack: justify; | 774 | -webkit-box-pack: justify; |
775 | -ms-flex-pack: justify; | 775 | -ms-flex-pack: justify; |
776 | justify-content: space-between; | 776 | justify-content: space-between; |
777 | gap: 20px; | 777 | gap: 20px; |
778 | width: 80px; | 778 | width: 80px; |
779 | } | 779 | } |
780 | .navs button { | 780 | .navs button { |
781 | color: #377d87; | 781 | color: #377d87; |
782 | background: none; | 782 | background: none; |
783 | border: none; | 783 | border: none; |
784 | padding: 0; | 784 | padding: 0; |
785 | } | 785 | } |
786 | .navs button[disabled] { | 786 | .navs button[disabled] { |
787 | cursor: not-allowed; | 787 | cursor: not-allowed; |
788 | color: #cddee1; | 788 | color: #cddee1; |
789 | } | 789 | } |
790 | .navs svg { | 790 | .navs svg { |
791 | width: 14px; | 791 | width: 14px; |
792 | height: 28px; | 792 | height: 28px; |
793 | } | 793 | } |
794 | 794 | ||
795 | .select { | 795 | .select { |
796 | position: relative; | 796 | position: relative; |
797 | } | 797 | } |
798 | .select2 { | 798 | .select2 { |
799 | width: 100% !important; | 799 | width: 100% !important; |
800 | } | 800 | } |
801 | .select2-container { | 801 | .select2-container { |
802 | font-size: 12px; | 802 | font-size: 12px; |
803 | } | 803 | } |
804 | @media (min-width: 768px) { | 804 | @media (min-width: 768px) { |
805 | .select2-container { | 805 | .select2-container { |
806 | font-size: 16px; | 806 | font-size: 16px; |
807 | } | 807 | } |
808 | } | 808 | } |
809 | .select2-container--open .select2-selection { | 809 | .select2-container--open .select2-selection { |
810 | border-color: #377d87 !important; | 810 | border-color: #377d87 !important; |
811 | } | 811 | } |
812 | .select2-container--open .select2-selection__arrow svg { | 812 | .select2-container--open .select2-selection__arrow svg { |
813 | -webkit-transform: rotate(180deg); | 813 | -webkit-transform: rotate(180deg); |
814 | -ms-transform: rotate(180deg); | 814 | -ms-transform: rotate(180deg); |
815 | transform: rotate(180deg); | 815 | transform: rotate(180deg); |
816 | } | 816 | } |
817 | .select2-selection { | 817 | .select2-selection { |
818 | min-height: 30px !important; | 818 | min-height: 30px !important; |
819 | border-radius: 8px !important; | 819 | border-radius: 8px !important; |
820 | border-color: #e7e7e7 !important; | 820 | border-color: #e7e7e7 !important; |
821 | -webkit-transition: 0.3s; | 821 | -webkit-transition: 0.3s; |
822 | transition: 0.3s; | 822 | transition: 0.3s; |
823 | } | 823 | } |
824 | @media (min-width: 768px) { | 824 | @media (min-width: 768px) { |
825 | .select2-selection { | 825 | .select2-selection { |
826 | min-height: 50px !important; | 826 | min-height: 50px !important; |
827 | } | 827 | } |
828 | } | 828 | } |
829 | .select2-selection__rendered { | 829 | .select2-selection__rendered { |
830 | line-height: 28px !important; | 830 | line-height: 28px !important; |
831 | padding: 0 30px 0 10px !important; | 831 | padding: 0 30px 0 10px !important; |
832 | } | 832 | } |
833 | @media (min-width: 768px) { | 833 | @media (min-width: 768px) { |
834 | .select2-selection__rendered { | 834 | .select2-selection__rendered { |
835 | line-height: 48px !important; | 835 | line-height: 48px !important; |
836 | padding: 0 46px 0 20px !important; | 836 | padding: 0 46px 0 20px !important; |
837 | } | 837 | } |
838 | } | 838 | } |
839 | .select2-selection--multiple .select2-selection__rendered { | 839 | .select2-selection--multiple .select2-selection__rendered { |
840 | display: -webkit-box !important; | 840 | display: -webkit-box !important; |
841 | display: -ms-flexbox !important; | 841 | display: -ms-flexbox !important; |
842 | display: flex !important; | 842 | display: flex !important; |
843 | -webkit-box-align: center; | 843 | -webkit-box-align: center; |
844 | -ms-flex-align: center; | 844 | -ms-flex-align: center; |
845 | align-items: center; | 845 | align-items: center; |
846 | -ms-flex-wrap: wrap; | 846 | -ms-flex-wrap: wrap; |
847 | flex-wrap: wrap; | 847 | flex-wrap: wrap; |
848 | gap: 10px; | 848 | gap: 10px; |
849 | padding-top: 10px !important; | 849 | padding-top: 10px !important; |
850 | padding-bottom: 10px !important; | 850 | padding-bottom: 10px !important; |
851 | } | 851 | } |
852 | .select2-selection--multiple .select2-selection__rendered .select2-selection__choice { | 852 | .select2-selection--multiple .select2-selection__rendered .select2-selection__choice { |
853 | margin: 0; | 853 | margin: 0; |
854 | } | 854 | } |
855 | .select2-selection__arrow { | 855 | .select2-selection__arrow { |
856 | top: 0 !important; | 856 | top: 0 !important; |
857 | right: 0 !important; | 857 | right: 0 !important; |
858 | width: 30px !important; | 858 | width: 30px !important; |
859 | height: 100% !important; | 859 | height: 100% !important; |
860 | display: -webkit-box; | 860 | display: -webkit-box; |
861 | display: -ms-flexbox; | 861 | display: -ms-flexbox; |
862 | display: flex; | 862 | display: flex; |
863 | -webkit-box-pack: center; | 863 | -webkit-box-pack: center; |
864 | -ms-flex-pack: center; | 864 | -ms-flex-pack: center; |
865 | justify-content: center; | 865 | justify-content: center; |
866 | -webkit-box-align: center; | 866 | -webkit-box-align: center; |
867 | -ms-flex-align: center; | 867 | -ms-flex-align: center; |
868 | align-items: center; | 868 | align-items: center; |
869 | color: #377d87; | 869 | color: #377d87; |
870 | } | 870 | } |
871 | @media (min-width: 768px) { | 871 | @media (min-width: 768px) { |
872 | .select2-selection__arrow { | 872 | .select2-selection__arrow { |
873 | width: 50px !important; | 873 | width: 50px !important; |
874 | } | 874 | } |
875 | } | 875 | } |
876 | .select2-selection__arrow svg { | 876 | .select2-selection__arrow svg { |
877 | width: 12px; | 877 | width: 12px; |
878 | height: 12px; | 878 | height: 12px; |
879 | -webkit-transition: 0.3s; | 879 | -webkit-transition: 0.3s; |
880 | transition: 0.3s; | 880 | transition: 0.3s; |
881 | } | 881 | } |
882 | @media (min-width: 768px) { | 882 | @media (min-width: 768px) { |
883 | .select2-selection__arrow svg { | 883 | .select2-selection__arrow svg { |
884 | width: 14px; | 884 | width: 14px; |
885 | height: 14px; | 885 | height: 14px; |
886 | } | 886 | } |
887 | } | 887 | } |
888 | .select2-selection__choice { | 888 | .select2-selection__choice { |
889 | display: -webkit-box; | 889 | display: -webkit-box; |
890 | display: -ms-flexbox; | 890 | display: -ms-flexbox; |
891 | display: flex; | 891 | display: flex; |
892 | -webkit-box-orient: horizontal; | 892 | -webkit-box-orient: horizontal; |
893 | -webkit-box-direction: reverse; | 893 | -webkit-box-direction: reverse; |
894 | -ms-flex-direction: row-reverse; | 894 | -ms-flex-direction: row-reverse; |
895 | flex-direction: row-reverse; | 895 | flex-direction: row-reverse; |
896 | -webkit-box-align: center; | 896 | -webkit-box-align: center; |
897 | -ms-flex-align: center; | 897 | -ms-flex-align: center; |
898 | align-items: center; | 898 | align-items: center; |
899 | -webkit-box-pack: center; | 899 | -webkit-box-pack: center; |
900 | -ms-flex-pack: center; | 900 | -ms-flex-pack: center; |
901 | justify-content: center; | 901 | justify-content: center; |
902 | gap: 4px; | 902 | gap: 4px; |
903 | padding: 0 4px 0 6px !important; | 903 | padding: 0 4px 0 6px !important; |
904 | background: #377d87 !important; | 904 | background: #377d87 !important; |
905 | border: none !important; | 905 | border: none !important; |
906 | border-radius: 6px !important; | 906 | border-radius: 6px !important; |
907 | line-height: 1 !important; | 907 | line-height: 1 !important; |
908 | color: #fff; | 908 | color: #fff; |
909 | height: 24px; | 909 | height: 24px; |
910 | } | 910 | } |
911 | @media (min-width: 768px) { | 911 | @media (min-width: 768px) { |
912 | .select2-selection__choice { | 912 | .select2-selection__choice { |
913 | height: 32px; | 913 | height: 32px; |
914 | gap: 6px; | 914 | gap: 6px; |
915 | padding: 0 6px 0 10px !important; | 915 | padding: 0 6px 0 10px !important; |
916 | border-radius: 8px !important; | 916 | border-radius: 8px !important; |
917 | } | 917 | } |
918 | } | 918 | } |
919 | .select2-selection__choice__remove { | 919 | .select2-selection__choice__remove { |
920 | width: 14px; | 920 | width: 14px; |
921 | height: 14px; | 921 | height: 14px; |
922 | padding-top: 4px; | 922 | padding-top: 4px; |
923 | display: -webkit-box !important; | 923 | display: -webkit-box !important; |
924 | display: -ms-flexbox !important; | 924 | display: -ms-flexbox !important; |
925 | display: flex !important; | 925 | display: flex !important; |
926 | -webkit-box-pack: center; | 926 | -webkit-box-pack: center; |
927 | -ms-flex-pack: center; | 927 | -ms-flex-pack: center; |
928 | justify-content: center; | 928 | justify-content: center; |
929 | -webkit-box-align: center; | 929 | -webkit-box-align: center; |
930 | -ms-flex-align: center; | 930 | -ms-flex-align: center; |
931 | align-items: center; | 931 | align-items: center; |
932 | color: #fff !important; | 932 | color: #fff !important; |
933 | font-weight: 400 !important; | 933 | font-weight: 400 !important; |
934 | font-size: 26px; | 934 | font-size: 26px; |
935 | } | 935 | } |
936 | .select2-search { | 936 | .select2-search { |
937 | display: none; | 937 | display: none; |
938 | } | 938 | } |
939 | .select2-dropdown { | 939 | .select2-dropdown { |
940 | z-index: 99999; | 940 | z-index: 99999; |
941 | border: none; | 941 | border: none; |
942 | border-radius: 0; | 942 | border-radius: 0; |
943 | background: none; | 943 | background: none; |
944 | padding: 5px 0; | 944 | padding: 5px 0; |
945 | } | 945 | } |
946 | @media (min-width: 768px) { | 946 | @media (min-width: 768px) { |
947 | .select2-dropdown { | 947 | .select2-dropdown { |
948 | padding: 10px 0; | 948 | padding: 10px 0; |
949 | } | 949 | } |
950 | } | 950 | } |
951 | .select2-results { | 951 | .select2-results { |
952 | background: #fff; | 952 | background: #fff; |
953 | border-radius: 8px; | 953 | border-radius: 8px; |
954 | border: 1px solid #377d87; | 954 | border: 1px solid #377d87; |
955 | overflow: hidden; | 955 | overflow: hidden; |
956 | } | 956 | } |
957 | @media (min-width: 768px) { | 957 | @media (min-width: 768px) { |
958 | .select2-results__option { | 958 | .select2-results__option { |
959 | padding: 10px 14px; | 959 | padding: 10px 14px; |
960 | } | 960 | } |
961 | } | 961 | } |
962 | .select2-results__option--highlighted { | 962 | .select2-results__option--highlighted { |
963 | background: #377d87 !important; | 963 | background: #377d87 !important; |
964 | } | 964 | } |
965 | @media (min-width: 768px) { | 965 | @media (min-width: 768px) { |
966 | .select_search .select2-selection__rendered { | 966 | .select_search .select2-selection__rendered { |
967 | padding-left: 60px !important; | 967 | padding-left: 60px !important; |
968 | } | 968 | } |
969 | } | 969 | } |
970 | .select_search .select__icon { | 970 | .select_search .select__icon { |
971 | display: none; | 971 | display: none; |
972 | height: 28px; | 972 | height: 28px; |
973 | -webkit-box-align: center; | 973 | -webkit-box-align: center; |
974 | -ms-flex-align: center; | 974 | -ms-flex-align: center; |
975 | align-items: center; | 975 | align-items: center; |
976 | padding-right: 12px; | 976 | padding-right: 12px; |
977 | z-index: 2; | 977 | z-index: 2; |
978 | position: absolute; | 978 | position: absolute; |
979 | top: 50%; | 979 | top: 50%; |
980 | left: 15px; | 980 | left: 15px; |
981 | margin-top: -14px; | 981 | margin-top: -14px; |
982 | } | 982 | } |
983 | @media (min-width: 768px) { | 983 | @media (min-width: 768px) { |
984 | .select_search .select__icon { | 984 | .select_search .select__icon { |
985 | display: -webkit-box; | 985 | display: -webkit-box; |
986 | display: -ms-flexbox; | 986 | display: -ms-flexbox; |
987 | display: flex; | 987 | display: flex; |
988 | } | 988 | } |
989 | } | 989 | } |
990 | .select_search .select__icon:after { | 990 | .select_search .select__icon:after { |
991 | content: ""; | 991 | content: ""; |
992 | width: 1px; | 992 | width: 1px; |
993 | height: 100%; | 993 | height: 100%; |
994 | border-radius: 999px; | 994 | border-radius: 999px; |
995 | position: absolute; | 995 | position: absolute; |
996 | top: 0; | 996 | top: 0; |
997 | right: 0; | 997 | right: 0; |
998 | background: #cecece; | 998 | background: #cecece; |
999 | } | 999 | } |
1000 | .select_search .select__icon svg { | 1000 | .select_search .select__icon svg { |
1001 | color: #9c9d9d; | 1001 | color: #9c9d9d; |
1002 | width: 20px; | 1002 | width: 20px; |
1003 | height: 20px; | 1003 | height: 20px; |
1004 | } | 1004 | } |
1005 | 1005 | ||
1006 | .form-group { | 1006 | .form-group { |
1007 | display: -webkit-box; | 1007 | display: -webkit-box; |
1008 | display: -ms-flexbox; | 1008 | display: -ms-flexbox; |
1009 | display: flex; | 1009 | display: flex; |
1010 | -webkit-box-orient: vertical; | 1010 | -webkit-box-orient: vertical; |
1011 | -webkit-box-direction: normal; | 1011 | -webkit-box-direction: normal; |
1012 | -ms-flex-direction: column; | 1012 | -ms-flex-direction: column; |
1013 | flex-direction: column; | 1013 | flex-direction: column; |
1014 | gap: 4px; | 1014 | gap: 4px; |
1015 | } | 1015 | } |
1016 | .form-group__label { | 1016 | .form-group__label { |
1017 | font-size: 12px; | 1017 | font-size: 12px; |
1018 | } | 1018 | } |
1019 | @media (min-width: 768px) { | 1019 | @media (min-width: 768px) { |
1020 | .form-group__label { | 1020 | .form-group__label { |
1021 | font-size: 16px; | 1021 | font-size: 16px; |
1022 | } | 1022 | } |
1023 | } | 1023 | } |
1024 | .form-group__item { | 1024 | .form-group__item { |
1025 | display: -webkit-box; | 1025 | display: -webkit-box; |
1026 | display: -ms-flexbox; | 1026 | display: -ms-flexbox; |
1027 | display: flex; | 1027 | display: flex; |
1028 | -webkit-box-orient: vertical; | 1028 | -webkit-box-orient: vertical; |
1029 | -webkit-box-direction: normal; | 1029 | -webkit-box-direction: normal; |
1030 | -ms-flex-direction: column; | 1030 | -ms-flex-direction: column; |
1031 | flex-direction: column; | 1031 | flex-direction: column; |
1032 | position: relative; | 1032 | position: relative; |
1033 | } | 1033 | } |
1034 | 1034 | ||
1035 | .input { | 1035 | .input { |
1036 | display: block; | 1036 | display: block; |
1037 | height: 30px; | 1037 | height: 30px; |
1038 | border: 1px solid #cecece; | 1038 | border: 1px solid #cecece; |
1039 | background: #fff; | 1039 | background: #fff; |
1040 | font-size: 12px; | 1040 | font-size: 12px; |
1041 | border-radius: 8px; | 1041 | border-radius: 8px; |
1042 | padding: 0 10px; | 1042 | padding: 0 10px; |
1043 | color: #000; | 1043 | color: #000; |
1044 | -webkit-transition: 0.3s; | 1044 | -webkit-transition: 0.3s; |
1045 | transition: 0.3s; | 1045 | transition: 0.3s; |
1046 | position: relative; | 1046 | position: relative; |
1047 | z-index: 1; | 1047 | z-index: 1; |
1048 | } | 1048 | } |
1049 | @media (min-width: 768px) { | 1049 | @media (min-width: 768px) { |
1050 | .input { | 1050 | .input { |
1051 | padding: 0 20px; | 1051 | padding: 0 20px; |
1052 | height: 44px; | 1052 | height: 44px; |
1053 | font-size: 16px; | 1053 | font-size: 16px; |
1054 | } | 1054 | } |
1055 | } | 1055 | } |
1056 | .input:focus { | 1056 | .input:focus { |
1057 | border-color: #377d87; | 1057 | border-color: #377d87; |
1058 | } | 1058 | } |
1059 | .input[disabled] { | 1059 | .input[disabled] { |
1060 | color: #9c9d9d; | 1060 | color: #9c9d9d; |
1061 | background: #e7e7e7; | 1061 | background: #e7e7e7; |
1062 | } | 1062 | } |
1063 | .input[type=date] { | 1063 | .input[type=date] { |
1064 | text-transform: uppercase; | 1064 | text-transform: uppercase; |
1065 | } | 1065 | } |
1066 | 1066 | ||
1067 | .textarea { | 1067 | .textarea { |
1068 | resize: none; | 1068 | resize: none; |
1069 | display: block; | 1069 | display: block; |
1070 | width: 100%; | 1070 | width: 100%; |
1071 | border-radius: 8px; | 1071 | border-radius: 8px; |
1072 | border: 1px solid #cecece; | 1072 | border: 1px solid #cecece; |
1073 | background: #fff; | 1073 | background: #fff; |
1074 | -webkit-transition: 0.3s; | 1074 | -webkit-transition: 0.3s; |
1075 | transition: 0.3s; | 1075 | transition: 0.3s; |
1076 | font-size: 12px; | 1076 | font-size: 12px; |
1077 | line-height: 1.4; | 1077 | line-height: 1.4; |
1078 | padding: 10px; | 1078 | padding: 10px; |
1079 | aspect-ratio: 8/3; | 1079 | aspect-ratio: 8/3; |
1080 | max-height: 250px; | 1080 | max-height: 250px; |
1081 | } | 1081 | } |
1082 | @media (min-width: 768px) { | 1082 | @media (min-width: 768px) { |
1083 | .textarea { | 1083 | .textarea { |
1084 | padding: 20px; | 1084 | padding: 20px; |
1085 | font-size: 16px; | 1085 | font-size: 16px; |
1086 | height: 280px; | 1086 | height: 280px; |
1087 | } | 1087 | } |
1088 | } | 1088 | } |
1089 | .textarea:focus { | 1089 | .textarea:focus { |
1090 | border-color: #377d87; | 1090 | border-color: #377d87; |
1091 | } | 1091 | } |
1092 | 1092 | ||
1093 | .button { | 1093 | .button { |
1094 | display: -webkit-box; | 1094 | display: -webkit-box; |
1095 | display: -ms-flexbox; | 1095 | display: -ms-flexbox; |
1096 | display: flex; | 1096 | display: flex; |
1097 | -webkit-box-pack: center; | 1097 | -webkit-box-pack: center; |
1098 | -ms-flex-pack: center; | 1098 | -ms-flex-pack: center; |
1099 | justify-content: center; | 1099 | justify-content: center; |
1100 | -webkit-box-align: center; | 1100 | -webkit-box-align: center; |
1101 | -ms-flex-align: center; | 1101 | -ms-flex-align: center; |
1102 | align-items: center; | 1102 | align-items: center; |
1103 | color: #fff; | 1103 | color: #fff; |
1104 | background: #377d87; | 1104 | background: #377d87; |
1105 | height: 30px; | 1105 | height: 30px; |
1106 | border-radius: 8px; | 1106 | border-radius: 8px; |
1107 | padding: 0 12px; | 1107 | padding: 0 12px; |
1108 | border: 1px solid #377d87; | 1108 | border: 1px solid #377d87; |
1109 | font-weight: 700; | 1109 | font-weight: 700; |
1110 | font-size: 12px; | 1110 | font-size: 12px; |
1111 | text-align: center; | 1111 | text-align: center; |
1112 | line-height: 1; | 1112 | line-height: 1; |
1113 | gap: 6px; | 1113 | gap: 6px; |
1114 | -webkit-transition: 0.3s; | 1114 | -webkit-transition: 0.3s; |
1115 | transition: 0.3s; | 1115 | transition: 0.3s; |
1116 | cursor: pointer; | 1116 | cursor: pointer; |
1117 | } | 1117 | } |
1118 | @media (min-width: 768px) { | 1118 | @media (min-width: 768px) { |
1119 | .button { | 1119 | .button { |
1120 | padding: 0 24px; | 1120 | padding: 0 24px; |
1121 | font-size: 16px; | 1121 | font-size: 16px; |
1122 | height: 44px; | 1122 | height: 44px; |
1123 | gap: 12px; | 1123 | gap: 12px; |
1124 | } | 1124 | } |
1125 | } | 1125 | } |
1126 | @media (min-width: 992px) { | 1126 | @media (min-width: 992px) { |
1127 | .button { | 1127 | .button { |
1128 | padding: 0 36px; | 1128 | padding: 0 36px; |
1129 | } | 1129 | } |
1130 | } | 1130 | } |
1131 | .button:hover { | 1131 | .button:hover { |
1132 | background: transparent; | 1132 | background: transparent; |
1133 | color: #377d87; | 1133 | color: #377d87; |
1134 | } | 1134 | } |
1135 | .button img, | 1135 | .button img, |
1136 | .button svg { | 1136 | .button svg { |
1137 | width: 12px; | 1137 | width: 12px; |
1138 | height: 12px; | 1138 | height: 12px; |
1139 | } | 1139 | } |
1140 | @media (min-width: 768px) { | 1140 | @media (min-width: 768px) { |
1141 | .button img, | 1141 | .button img, |
1142 | .button svg { | 1142 | .button svg { |
1143 | width: 18px; | 1143 | width: 18px; |
1144 | height: 18px; | 1144 | height: 18px; |
1145 | } | 1145 | } |
1146 | } | 1146 | } |
1147 | .button_more span + span { | 1147 | .button_more span + span { |
1148 | display: none; | 1148 | display: none; |
1149 | } | 1149 | } |
1150 | .button_more.active span { | 1150 | .button_more.active span { |
1151 | display: none; | 1151 | display: none; |
1152 | } | 1152 | } |
1153 | .button_more.active span + span { | 1153 | .button_more.active span + span { |
1154 | display: block; | 1154 | display: block; |
1155 | } | 1155 | } |
1156 | .button_light { | 1156 | .button_light { |
1157 | background: transparent; | 1157 | background: transparent; |
1158 | color: #377d87; | 1158 | color: #377d87; |
1159 | } | 1159 | } |
1160 | .button_light:hover { | 1160 | .button_light:hover { |
1161 | background: #377d87; | 1161 | background: #377d87; |
1162 | color: #fff; | 1162 | color: #fff; |
1163 | } | 1163 | } |
1164 | .button_whited { | 1164 | .button_whited { |
1165 | background: #fff; | 1165 | background: #fff; |
1166 | color: #377d87; | 1166 | color: #377d87; |
1167 | border-color: #fff; | 1167 | border-color: #fff; |
1168 | } | 1168 | } |
1169 | .button_whited:hover { | 1169 | .button_whited:hover { |
1170 | background: #377d87; | 1170 | background: #377d87; |
1171 | color: #fff; | 1171 | color: #fff; |
1172 | } | 1172 | } |
1173 | 1173 | ||
1174 | .search { | 1174 | .search { |
1175 | width: 100%; | 1175 | width: 100%; |
1176 | position: relative; | 1176 | position: relative; |
1177 | background: #fff; | 1177 | background: #fff; |
1178 | border-radius: 8px; | 1178 | border-radius: 8px; |
1179 | } | 1179 | } |
1180 | .search span { | 1180 | .search span { |
1181 | display: none; | 1181 | display: none; |
1182 | height: 28px; | 1182 | height: 28px; |
1183 | -webkit-box-align: center; | 1183 | -webkit-box-align: center; |
1184 | -ms-flex-align: center; | 1184 | -ms-flex-align: center; |
1185 | align-items: center; | 1185 | align-items: center; |
1186 | padding-right: 12px; | 1186 | padding-right: 12px; |
1187 | z-index: 1; | 1187 | z-index: 1; |
1188 | position: absolute; | 1188 | position: absolute; |
1189 | top: 50%; | 1189 | top: 50%; |
1190 | left: 15px; | 1190 | left: 15px; |
1191 | margin-top: -14px; | 1191 | margin-top: -14px; |
1192 | } | 1192 | } |
1193 | @media (min-width: 768px) { | 1193 | @media (min-width: 768px) { |
1194 | .search span { | 1194 | .search span { |
1195 | display: -webkit-box; | 1195 | display: -webkit-box; |
1196 | display: -ms-flexbox; | 1196 | display: -ms-flexbox; |
1197 | display: flex; | 1197 | display: flex; |
1198 | } | 1198 | } |
1199 | } | 1199 | } |
1200 | .search span:after { | 1200 | .search span:after { |
1201 | content: ""; | 1201 | content: ""; |
1202 | width: 1px; | 1202 | width: 1px; |
1203 | height: 100%; | 1203 | height: 100%; |
1204 | border-radius: 999px; | 1204 | border-radius: 999px; |
1205 | position: absolute; | 1205 | position: absolute; |
1206 | top: 0; | 1206 | top: 0; |
1207 | right: 0; | 1207 | right: 0; |
1208 | background: #cecece; | 1208 | background: #cecece; |
1209 | } | 1209 | } |
1210 | .search span svg { | 1210 | .search span svg { |
1211 | color: #9c9d9d; | 1211 | color: #9c9d9d; |
1212 | width: 20px; | 1212 | width: 20px; |
1213 | height: 20px; | 1213 | height: 20px; |
1214 | } | 1214 | } |
1215 | .search input { | 1215 | .search input { |
1216 | width: 100%; | 1216 | width: 100%; |
1217 | padding-right: 150px; | 1217 | padding-right: 150px; |
1218 | position: relative; | 1218 | position: relative; |
1219 | z-index: 2; | 1219 | z-index: 2; |
1220 | background: none; | 1220 | background: none; |
1221 | } | 1221 | } |
1222 | @media (min-width: 768px) { | 1222 | @media (min-width: 768px) { |
1223 | .search input { | 1223 | .search input { |
1224 | padding-left: 60px; | 1224 | padding-left: 60px; |
1225 | padding-right: 220px; | 1225 | padding-right: 220px; |
1226 | } | 1226 | } |
1227 | } | 1227 | } |
1228 | .search button { | 1228 | .search button { |
1229 | width: 140px; | 1229 | width: 140px; |
1230 | position: absolute; | 1230 | position: absolute; |
1231 | padding: 0; | 1231 | padding: 0; |
1232 | top: 0; | 1232 | top: 0; |
1233 | right: 0; | 1233 | right: 0; |
1234 | z-index: 3; | 1234 | z-index: 3; |
1235 | } | 1235 | } |
1236 | @media (min-width: 768px) { | 1236 | @media (min-width: 768px) { |
1237 | .search button { | 1237 | .search button { |
1238 | width: 200px; | 1238 | width: 200px; |
1239 | } | 1239 | } |
1240 | } | 1240 | } |
1241 | 1241 | ||
1242 | .breadcrumbs { | 1242 | .breadcrumbs { |
1243 | display: -webkit-box; | 1243 | display: -webkit-box; |
1244 | display: -ms-flexbox; | 1244 | display: -ms-flexbox; |
1245 | display: flex; | 1245 | display: flex; |
1246 | -webkit-box-align: center; | 1246 | -webkit-box-align: center; |
1247 | -ms-flex-align: center; | 1247 | -ms-flex-align: center; |
1248 | align-items: center; | 1248 | align-items: center; |
1249 | -ms-flex-wrap: wrap; | 1249 | -ms-flex-wrap: wrap; |
1250 | flex-wrap: wrap; | 1250 | flex-wrap: wrap; |
1251 | gap: 12px 6px; | 1251 | gap: 12px 6px; |
1252 | margin: 0; | 1252 | margin: 0; |
1253 | padding: 0; | 1253 | padding: 0; |
1254 | font-size: 11px; | 1254 | font-size: 11px; |
1255 | color: #cecece; | 1255 | color: #cecece; |
1256 | line-height: 1; | 1256 | line-height: 1; |
1257 | } | 1257 | } |
1258 | @media (min-width: 992px) { | 1258 | @media (min-width: 992px) { |
1259 | .breadcrumbs { | 1259 | .breadcrumbs { |
1260 | font-size: 13px; | 1260 | font-size: 13px; |
1261 | } | 1261 | } |
1262 | } | 1262 | } |
1263 | @media (min-width: 1280px) { | 1263 | @media (min-width: 1280px) { |
1264 | .breadcrumbs { | 1264 | .breadcrumbs { |
1265 | font-size: 16px; | 1265 | font-size: 16px; |
1266 | } | 1266 | } |
1267 | } | 1267 | } |
1268 | .breadcrumbs li { | 1268 | .breadcrumbs li { |
1269 | display: -webkit-box; | 1269 | display: -webkit-box; |
1270 | display: -ms-flexbox; | 1270 | display: -ms-flexbox; |
1271 | display: flex; | 1271 | display: flex; |
1272 | -webkit-box-align: center; | 1272 | -webkit-box-align: center; |
1273 | -ms-flex-align: center; | 1273 | -ms-flex-align: center; |
1274 | align-items: center; | 1274 | align-items: center; |
1275 | gap: 6px; | 1275 | gap: 6px; |
1276 | } | 1276 | } |
1277 | .breadcrumbs li:before { | 1277 | .breadcrumbs li:before { |
1278 | content: ""; | 1278 | content: ""; |
1279 | width: 4px; | 1279 | width: 4px; |
1280 | height: 4px; | 1280 | height: 4px; |
1281 | background: #cecece; | 1281 | background: #cecece; |
1282 | border-radius: 999px; | 1282 | border-radius: 999px; |
1283 | position: relative; | 1283 | position: relative; |
1284 | top: -1px; | 1284 | top: -1px; |
1285 | } | 1285 | } |
1286 | .breadcrumbs li:first-child:before { | 1286 | .breadcrumbs li:first-child:before { |
1287 | display: none; | 1287 | display: none; |
1288 | } | 1288 | } |
1289 | .breadcrumbs li:last-child:before { | 1289 | .breadcrumbs li:last-child:before { |
1290 | background: #377d87; | 1290 | background: #377d87; |
1291 | } | 1291 | } |
1292 | .breadcrumbs a:hover { | 1292 | .breadcrumbs a:hover { |
1293 | color: #377d87; | 1293 | color: #377d87; |
1294 | } | 1294 | } |
1295 | .breadcrumbs b { | 1295 | .breadcrumbs b { |
1296 | color: #377d87; | 1296 | color: #377d87; |
1297 | font-weight: 700; | 1297 | font-weight: 700; |
1298 | } | 1298 | } |
1299 | 1299 | ||
1300 | .pagination { | 1300 | .pagination { |
1301 | display: -webkit-box; | 1301 | display: -webkit-box; |
1302 | display: -ms-flexbox; | 1302 | display: -ms-flexbox; |
1303 | display: flex; | 1303 | display: flex; |
1304 | -webkit-box-align: center; | 1304 | -webkit-box-align: center; |
1305 | -ms-flex-align: center; | 1305 | -ms-flex-align: center; |
1306 | align-items: center; | 1306 | align-items: center; |
1307 | -webkit-box-pack: center; | 1307 | -webkit-box-pack: center; |
1308 | -ms-flex-pack: center; | 1308 | -ms-flex-pack: center; |
1309 | justify-content: center; | 1309 | justify-content: center; |
1310 | -ms-flex-wrap: wrap; | 1310 | -ms-flex-wrap: wrap; |
1311 | flex-wrap: wrap; | 1311 | flex-wrap: wrap; |
1312 | line-height: 1; | 1312 | line-height: 1; |
1313 | color: #000; | 1313 | color: #000; |
1314 | font-size: 12px; | 1314 | font-size: 12px; |
1315 | margin: 0 auto; | 1315 | margin: 0 auto; |
1316 | } | 1316 | } |
1317 | @media (min-width: 768px) { | 1317 | @media (min-width: 768px) { |
1318 | .pagination { | 1318 | .pagination { |
1319 | font-size: 14px; | 1319 | font-size: 14px; |
1320 | gap: 3px; | 1320 | gap: 3px; |
1321 | } | 1321 | } |
1322 | } | 1322 | } |
1323 | .pagination__item { | 1323 | .pagination__item { |
1324 | width: 40px; | 1324 | width: 40px; |
1325 | height: 40px; | 1325 | height: 40px; |
1326 | display: -webkit-box; | 1326 | display: -webkit-box; |
1327 | display: -ms-flexbox; | 1327 | display: -ms-flexbox; |
1328 | display: flex; | 1328 | display: flex; |
1329 | -webkit-box-pack: center; | 1329 | -webkit-box-pack: center; |
1330 | -ms-flex-pack: center; | 1330 | -ms-flex-pack: center; |
1331 | justify-content: center; | 1331 | justify-content: center; |
1332 | -webkit-box-align: center; | 1332 | -webkit-box-align: center; |
1333 | -ms-flex-align: center; | 1333 | -ms-flex-align: center; |
1334 | align-items: center; | 1334 | align-items: center; |
1335 | background: none; | 1335 | background: none; |
1336 | padding: 0; | 1336 | padding: 0; |
1337 | border: 1px solid transparent; | 1337 | border: 1px solid transparent; |
1338 | border-radius: 8px; | 1338 | border-radius: 8px; |
1339 | } | 1339 | } |
1340 | .pagination__item:hover { | 1340 | .pagination__item:hover { |
1341 | -webkit-transition: 0s; | 1341 | -webkit-transition: 0s; |
1342 | transition: 0s; | 1342 | transition: 0s; |
1343 | color: #377d87; | 1343 | color: #377d87; |
1344 | font-weight: 700; | 1344 | font-weight: 700; |
1345 | } | 1345 | } |
1346 | .pagination__item.active { | 1346 | .pagination__item.active { |
1347 | font-weight: 700; | 1347 | font-weight: 700; |
1348 | color: #fff; | 1348 | color: #fff; |
1349 | background: #377d87; | 1349 | background: #377d87; |
1350 | border-color: #377d87; | 1350 | border-color: #377d87; |
1351 | } | 1351 | } |
1352 | .pagination__dots { | 1352 | .pagination__dots { |
1353 | width: 40px; | 1353 | width: 40px; |
1354 | height: 40px; | 1354 | height: 40px; |
1355 | display: -webkit-box; | 1355 | display: -webkit-box; |
1356 | display: -ms-flexbox; | 1356 | display: -ms-flexbox; |
1357 | display: flex; | 1357 | display: flex; |
1358 | -webkit-box-pack: center; | 1358 | -webkit-box-pack: center; |
1359 | -ms-flex-pack: center; | 1359 | -ms-flex-pack: center; |
1360 | justify-content: center; | 1360 | justify-content: center; |
1361 | -webkit-box-align: center; | 1361 | -webkit-box-align: center; |
1362 | -ms-flex-align: center; | 1362 | -ms-flex-align: center; |
1363 | align-items: center; | 1363 | align-items: center; |
1364 | } | 1364 | } |
1365 | .pagination__dots svg { | 1365 | .pagination__dots svg { |
1366 | width: 15px; | 1366 | width: 15px; |
1367 | height: 15px; | 1367 | height: 15px; |
1368 | } | 1368 | } |
1369 | .pagination__nav { | 1369 | .pagination__nav { |
1370 | width: 40px; | 1370 | width: 40px; |
1371 | height: 40px; | 1371 | height: 40px; |
1372 | display: none; | 1372 | display: none; |
1373 | -webkit-box-pack: center; | 1373 | -webkit-box-pack: center; |
1374 | -ms-flex-pack: center; | 1374 | -ms-flex-pack: center; |
1375 | justify-content: center; | 1375 | justify-content: center; |
1376 | -webkit-box-align: center; | 1376 | -webkit-box-align: center; |
1377 | -ms-flex-align: center; | 1377 | -ms-flex-align: center; |
1378 | align-items: center; | 1378 | align-items: center; |
1379 | background: none; | 1379 | background: none; |
1380 | padding: 0; | 1380 | padding: 0; |
1381 | border: 1px solid #cddee1; | 1381 | border: 1px solid #cddee1; |
1382 | color: #377d87; | 1382 | color: #377d87; |
1383 | border-radius: 8px; | 1383 | border-radius: 8px; |
1384 | } | 1384 | } |
1385 | @media (min-width: 768px) { | 1385 | @media (min-width: 768px) { |
1386 | .pagination__nav { | 1386 | .pagination__nav { |
1387 | display: -webkit-box; | 1387 | display: -webkit-box; |
1388 | display: -ms-flexbox; | 1388 | display: -ms-flexbox; |
1389 | display: flex; | 1389 | display: flex; |
1390 | } | 1390 | } |
1391 | } | 1391 | } |
1392 | .pagination__nav:hover { | 1392 | .pagination__nav:hover { |
1393 | border-color: #377d87; | 1393 | border-color: #377d87; |
1394 | background: #377d87; | 1394 | background: #377d87; |
1395 | color: #fff; | 1395 | color: #fff; |
1396 | } | 1396 | } |
1397 | .pagination__nav svg { | 1397 | .pagination__nav svg { |
1398 | width: 10px; | 1398 | width: 10px; |
1399 | height: 10px; | 1399 | height: 10px; |
1400 | } | 1400 | } |
1401 | .pagination__nav_prev { | 1401 | .pagination__nav_prev { |
1402 | margin-right: 37px; | 1402 | margin-right: 37px; |
1403 | } | 1403 | } |
1404 | .pagination__nav_prev svg { | 1404 | .pagination__nav_prev svg { |
1405 | -webkit-transform: rotate(180deg); | 1405 | -webkit-transform: rotate(180deg); |
1406 | -ms-transform: rotate(180deg); | 1406 | -ms-transform: rotate(180deg); |
1407 | transform: rotate(180deg); | 1407 | transform: rotate(180deg); |
1408 | } | 1408 | } |
1409 | .pagination__nav_next { | 1409 | .pagination__nav_next { |
1410 | margin-left: 37px; | 1410 | margin-left: 37px; |
1411 | } | 1411 | } |
1412 | 1412 | ||
1413 | .filters { | 1413 | .filters { |
1414 | display: -webkit-box; | 1414 | display: -webkit-box; |
1415 | display: -ms-flexbox; | 1415 | display: -ms-flexbox; |
1416 | display: flex; | 1416 | display: flex; |
1417 | -webkit-box-orient: vertical; | 1417 | -webkit-box-orient: vertical; |
1418 | -webkit-box-direction: normal; | 1418 | -webkit-box-direction: normal; |
1419 | -ms-flex-direction: column; | 1419 | -ms-flex-direction: column; |
1420 | flex-direction: column; | 1420 | flex-direction: column; |
1421 | gap: 10px; | 1421 | gap: 10px; |
1422 | } | 1422 | } |
1423 | @media (min-width: 768px) { | 1423 | @media (min-width: 768px) { |
1424 | .filters { | 1424 | .filters { |
1425 | -webkit-box-orient: horizontal; | 1425 | -webkit-box-orient: horizontal; |
1426 | -webkit-box-direction: normal; | 1426 | -webkit-box-direction: normal; |
1427 | -ms-flex-direction: row; | 1427 | -ms-flex-direction: row; |
1428 | flex-direction: row; | 1428 | flex-direction: row; |
1429 | -webkit-box-align: center; | 1429 | -webkit-box-align: center; |
1430 | -ms-flex-align: center; | 1430 | -ms-flex-align: center; |
1431 | align-items: center; | 1431 | align-items: center; |
1432 | -webkit-box-pack: justify; | 1432 | -webkit-box-pack: justify; |
1433 | -ms-flex-pack: justify; | 1433 | -ms-flex-pack: justify; |
1434 | justify-content: space-between; | 1434 | justify-content: space-between; |
1435 | } | 1435 | } |
1436 | } | 1436 | } |
1437 | .filters__label { | 1437 | .filters__label { |
1438 | color: #377d87; | 1438 | color: #377d87; |
1439 | font-size: 12px; | 1439 | font-size: 12px; |
1440 | font-weight: 700; | 1440 | font-weight: 700; |
1441 | } | 1441 | } |
1442 | @media (min-width: 768px) { | 1442 | @media (min-width: 768px) { |
1443 | .filters__label { | 1443 | .filters__label { |
1444 | font-size: 16px; | 1444 | font-size: 16px; |
1445 | } | 1445 | } |
1446 | } | 1446 | } |
1447 | @media (min-width: 992px) { | 1447 | @media (min-width: 992px) { |
1448 | .filters__label { | 1448 | .filters__label { |
1449 | font-size: 18px; | 1449 | font-size: 18px; |
1450 | } | 1450 | } |
1451 | } | 1451 | } |
1452 | .filters__body { | 1452 | .filters__body { |
1453 | display: -webkit-box; | 1453 | display: -webkit-box; |
1454 | display: -ms-flexbox; | 1454 | display: -ms-flexbox; |
1455 | display: flex; | 1455 | display: flex; |
1456 | -webkit-box-orient: vertical; | 1456 | -webkit-box-orient: vertical; |
1457 | -webkit-box-direction: normal; | 1457 | -webkit-box-direction: normal; |
1458 | -ms-flex-direction: column; | 1458 | -ms-flex-direction: column; |
1459 | flex-direction: column; | 1459 | flex-direction: column; |
1460 | } | 1460 | } |
1461 | @media (min-width: 768px) { | 1461 | @media (min-width: 768px) { |
1462 | .filters__body { | 1462 | .filters__body { |
1463 | -webkit-box-orient: horizontal; | 1463 | -webkit-box-orient: horizontal; |
1464 | -webkit-box-direction: normal; | 1464 | -webkit-box-direction: normal; |
1465 | -ms-flex-direction: row; | 1465 | -ms-flex-direction: row; |
1466 | flex-direction: row; | 1466 | flex-direction: row; |
1467 | -webkit-box-align: center; | 1467 | -webkit-box-align: center; |
1468 | -ms-flex-align: center; | 1468 | -ms-flex-align: center; |
1469 | align-items: center; | 1469 | align-items: center; |
1470 | } | 1470 | } |
1471 | } | 1471 | } |
1472 | @media (min-width: 768px) { | 1472 | @media (min-width: 768px) { |
1473 | .filters__select { | 1473 | .filters__select { |
1474 | width: 250px; | 1474 | width: 250px; |
1475 | } | 1475 | } |
1476 | } | 1476 | } |
1477 | @media (min-width: 992px) { | 1477 | @media (min-width: 992px) { |
1478 | .filters__select { | 1478 | .filters__select { |
1479 | width: 310px; | 1479 | width: 310px; |
1480 | } | 1480 | } |
1481 | } | 1481 | } |
1482 | .filters__item { | 1482 | .filters__item { |
1483 | display: none; | 1483 | display: none; |
1484 | -webkit-box-pack: center; | 1484 | -webkit-box-pack: center; |
1485 | -ms-flex-pack: center; | 1485 | -ms-flex-pack: center; |
1486 | justify-content: center; | 1486 | justify-content: center; |
1487 | -webkit-box-align: center; | 1487 | -webkit-box-align: center; |
1488 | -ms-flex-align: center; | 1488 | -ms-flex-align: center; |
1489 | align-items: center; | 1489 | align-items: center; |
1490 | width: 50px; | 1490 | width: 50px; |
1491 | height: 50px; | 1491 | height: 50px; |
1492 | padding: 0; | 1492 | padding: 0; |
1493 | background: #fff; | 1493 | background: #fff; |
1494 | border: 1px solid #377d87; | 1494 | border: 1px solid #377d87; |
1495 | color: #377d87; | 1495 | color: #377d87; |
1496 | border-radius: 8px; | 1496 | border-radius: 8px; |
1497 | margin-left: 20px; | 1497 | margin-left: 20px; |
1498 | } | 1498 | } |
1499 | @media (min-width: 768px) { | 1499 | @media (min-width: 768px) { |
1500 | .filters__item { | 1500 | .filters__item { |
1501 | display: -webkit-box; | 1501 | display: -webkit-box; |
1502 | display: -ms-flexbox; | 1502 | display: -ms-flexbox; |
1503 | display: flex; | 1503 | display: flex; |
1504 | } | 1504 | } |
1505 | } | 1505 | } |
1506 | .filters__item svg { | 1506 | .filters__item svg { |
1507 | width: 24px; | 1507 | width: 24px; |
1508 | height: 24px; | 1508 | height: 24px; |
1509 | } | 1509 | } |
1510 | .filters__item.active { | 1510 | .filters__item.active { |
1511 | background: #377d87; | 1511 | background: #377d87; |
1512 | color: #fff; | 1512 | color: #fff; |
1513 | } | 1513 | } |
1514 | .filters__item + .filters__item { | 1514 | .filters__item + .filters__item { |
1515 | margin-left: 8px; | 1515 | margin-left: 8px; |
1516 | } | 1516 | } |
1517 | 1517 | ||
1518 | .like, | 1518 | .like, |
1519 | .chat { | 1519 | .chat { |
1520 | width: 30px; | 1520 | width: 30px; |
1521 | height: 30px; | 1521 | height: 30px; |
1522 | display: -webkit-box; | 1522 | display: -webkit-box; |
1523 | display: -ms-flexbox; | 1523 | display: -ms-flexbox; |
1524 | display: flex; | 1524 | display: flex; |
1525 | -webkit-box-pack: center; | 1525 | -webkit-box-pack: center; |
1526 | -ms-flex-pack: center; | 1526 | -ms-flex-pack: center; |
1527 | justify-content: center; | 1527 | justify-content: center; |
1528 | -webkit-box-align: center; | 1528 | -webkit-box-align: center; |
1529 | -ms-flex-align: center; | 1529 | -ms-flex-align: center; |
1530 | align-items: center; | 1530 | align-items: center; |
1531 | background: none; | 1531 | background: none; |
1532 | border: 1px solid #377d87; | 1532 | border: 1px solid #377d87; |
1533 | padding: 0; | 1533 | padding: 0; |
1534 | color: #377d87; | 1534 | color: #377d87; |
1535 | border-radius: 6px; | 1535 | border-radius: 6px; |
1536 | } | 1536 | } |
1537 | @media (min-width: 768px) { | 1537 | @media (min-width: 768px) { |
1538 | .like, | 1538 | .like, |
1539 | .chat { | 1539 | .chat { |
1540 | width: 44px; | 1540 | width: 44px; |
1541 | height: 44px; | 1541 | height: 44px; |
1542 | } | 1542 | } |
1543 | } | 1543 | } |
1544 | .like.active, | 1544 | .like.active, |
1545 | .chat.active { | 1545 | .chat.active { |
1546 | background: #377d87; | 1546 | background: #377d87; |
1547 | color: #fff; | 1547 | color: #fff; |
1548 | } | 1548 | } |
1549 | .like svg, | 1549 | .like svg, |
1550 | .chat svg { | 1550 | .chat svg { |
1551 | width: 14px; | 1551 | width: 14px; |
1552 | height: 14px; | 1552 | height: 14px; |
1553 | } | 1553 | } |
1554 | @media (min-width: 768px) { | 1554 | @media (min-width: 768px) { |
1555 | .like svg, | 1555 | .like svg, |
1556 | .chat svg { | 1556 | .chat svg { |
1557 | width: 20px; | 1557 | width: 20px; |
1558 | height: 20px; | 1558 | height: 20px; |
1559 | } | 1559 | } |
1560 | } | 1560 | } |
1561 | 1561 | ||
1562 | .like.active { | 1562 | .like.active { |
1563 | background: #eb5757; | 1563 | background: #eb5757; |
1564 | border-color: #eb5757; | 1564 | border-color: #eb5757; |
1565 | } | 1565 | } |
1566 | 1566 | ||
1567 | .checkbox { | 1567 | .checkbox { |
1568 | display: -webkit-box; | 1568 | display: -webkit-box; |
1569 | display: -ms-flexbox; | 1569 | display: -ms-flexbox; |
1570 | display: flex; | 1570 | display: flex; |
1571 | -webkit-box-align: start; | 1571 | -webkit-box-align: start; |
1572 | -ms-flex-align: start; | 1572 | -ms-flex-align: start; |
1573 | align-items: flex-start; | 1573 | align-items: flex-start; |
1574 | cursor: pointer; | 1574 | cursor: pointer; |
1575 | position: relative; | 1575 | position: relative; |
1576 | } | 1576 | } |
1577 | .checkbox__input { | 1577 | .checkbox__input { |
1578 | position: absolute; | 1578 | position: absolute; |
1579 | z-index: 1; | 1579 | z-index: 1; |
1580 | width: 14px; | 1580 | width: 14px; |
1581 | height: 14px; | 1581 | height: 14px; |
1582 | padding: 0; | 1582 | padding: 0; |
1583 | background: none; | 1583 | background: none; |
1584 | border: none; | 1584 | border: none; |
1585 | opacity: 0; | 1585 | opacity: 0; |
1586 | } | 1586 | } |
1587 | @media (min-width: 768px) { | 1587 | @media (min-width: 768px) { |
1588 | .checkbox__input { | 1588 | .checkbox__input { |
1589 | width: 20px; | 1589 | width: 20px; |
1590 | height: 20px; | 1590 | height: 20px; |
1591 | } | 1591 | } |
1592 | } | 1592 | } |
1593 | .checkbox__icon { | 1593 | .checkbox__icon { |
1594 | width: 14px; | 1594 | width: 14px; |
1595 | height: 14px; | 1595 | height: 14px; |
1596 | border: 1px solid #cfcfcf; | 1596 | border: 1px solid #cfcfcf; |
1597 | background: #fff; | 1597 | background: #fff; |
1598 | color: #fff; | 1598 | color: #fff; |
1599 | display: -webkit-box; | 1599 | display: -webkit-box; |
1600 | display: -ms-flexbox; | 1600 | display: -ms-flexbox; |
1601 | display: flex; | 1601 | display: flex; |
1602 | -webkit-box-pack: center; | 1602 | -webkit-box-pack: center; |
1603 | -ms-flex-pack: center; | 1603 | -ms-flex-pack: center; |
1604 | justify-content: center; | 1604 | justify-content: center; |
1605 | -webkit-box-align: center; | 1605 | -webkit-box-align: center; |
1606 | -ms-flex-align: center; | 1606 | -ms-flex-align: center; |
1607 | align-items: center; | 1607 | align-items: center; |
1608 | border-radius: 4px; | 1608 | border-radius: 4px; |
1609 | -webkit-transition: 0.3s; | 1609 | -webkit-transition: 0.3s; |
1610 | transition: 0.3s; | 1610 | transition: 0.3s; |
1611 | position: relative; | 1611 | position: relative; |
1612 | z-index: 2; | 1612 | z-index: 2; |
1613 | } | 1613 | } |
1614 | @media (min-width: 768px) { | 1614 | @media (min-width: 768px) { |
1615 | .checkbox__icon { | 1615 | .checkbox__icon { |
1616 | width: 20px; | 1616 | width: 20px; |
1617 | height: 20px; | 1617 | height: 20px; |
1618 | } | 1618 | } |
1619 | } | 1619 | } |
1620 | .checkbox__icon svg { | 1620 | .checkbox__icon svg { |
1621 | width: 8px; | 1621 | width: 8px; |
1622 | height: 8px; | 1622 | height: 8px; |
1623 | opacity: 0; | 1623 | opacity: 0; |
1624 | } | 1624 | } |
1625 | @media (min-width: 768px) { | 1625 | @media (min-width: 768px) { |
1626 | .checkbox__icon svg { | 1626 | .checkbox__icon svg { |
1627 | width: 10px; | 1627 | width: 10px; |
1628 | height: 10px; | 1628 | height: 10px; |
1629 | } | 1629 | } |
1630 | } | 1630 | } |
1631 | .checkbox__input:checked + .checkbox__icon { | 1631 | .checkbox__input:checked + .checkbox__icon { |
1632 | border-color: #377d87; | 1632 | border-color: #377d87; |
1633 | background: #377d87; | 1633 | background: #377d87; |
1634 | } | 1634 | } |
1635 | .checkbox__input:checked + .checkbox__icon svg { | 1635 | .checkbox__input:checked + .checkbox__icon svg { |
1636 | opacity: 1; | 1636 | opacity: 1; |
1637 | } | 1637 | } |
1638 | .checkbox__text { | 1638 | .checkbox__text { |
1639 | width: calc(100% - 14px); | 1639 | width: calc(100% - 14px); |
1640 | padding-left: 6px; | 1640 | padding-left: 6px; |
1641 | font-size: 12px; | 1641 | font-size: 12px; |
1642 | line-height: 1; | 1642 | line-height: 1; |
1643 | display: -webkit-box; | 1643 | display: -webkit-box; |
1644 | display: -ms-flexbox; | 1644 | display: -ms-flexbox; |
1645 | display: flex; | 1645 | display: flex; |
1646 | -webkit-box-align: center; | 1646 | -webkit-box-align: center; |
1647 | -ms-flex-align: center; | 1647 | -ms-flex-align: center; |
1648 | align-items: center; | 1648 | align-items: center; |
1649 | min-height: 14px; | 1649 | min-height: 14px; |
1650 | } | 1650 | } |
1651 | @media (min-width: 768px) { | 1651 | @media (min-width: 768px) { |
1652 | .checkbox__text { | 1652 | .checkbox__text { |
1653 | width: calc(100% - 20px); | 1653 | width: calc(100% - 20px); |
1654 | padding-left: 12px; | 1654 | padding-left: 12px; |
1655 | font-size: 15px; | 1655 | font-size: 15px; |
1656 | min-height: 20px; | 1656 | min-height: 20px; |
1657 | } | 1657 | } |
1658 | } | 1658 | } |
1659 | .checkbox__text a { | 1659 | .checkbox__text a { |
1660 | color: #377d87; | 1660 | color: #377d87; |
1661 | text-decoration: underline; | 1661 | text-decoration: underline; |
1662 | } | 1662 | } |
1663 | 1663 | ||
1664 | .file { | 1664 | .file { |
1665 | display: -webkit-box; | 1665 | display: -webkit-box; |
1666 | display: -ms-flexbox; | 1666 | display: -ms-flexbox; |
1667 | display: flex; | 1667 | display: flex; |
1668 | -webkit-box-orient: vertical; | 1668 | -webkit-box-orient: vertical; |
1669 | -webkit-box-direction: normal; | 1669 | -webkit-box-direction: normal; |
1670 | -ms-flex-direction: column; | 1670 | -ms-flex-direction: column; |
1671 | flex-direction: column; | 1671 | flex-direction: column; |
1672 | } | 1672 | } |
1673 | .file__input input { | 1673 | .file__input input { |
1674 | display: none; | 1674 | display: none; |
1675 | } | 1675 | } |
1676 | .file__list { | 1676 | .file__list { |
1677 | display: -webkit-box; | 1677 | display: -webkit-box; |
1678 | display: -ms-flexbox; | 1678 | display: -ms-flexbox; |
1679 | display: flex; | 1679 | display: flex; |
1680 | -webkit-box-orient: vertical; | 1680 | -webkit-box-orient: vertical; |
1681 | -webkit-box-direction: normal; | 1681 | -webkit-box-direction: normal; |
1682 | -ms-flex-direction: column; | 1682 | -ms-flex-direction: column; |
1683 | flex-direction: column; | 1683 | flex-direction: column; |
1684 | } | 1684 | } |
1685 | .file__list-item { | 1685 | .file__list-item { |
1686 | display: -webkit-box; | 1686 | display: -webkit-box; |
1687 | display: -ms-flexbox; | 1687 | display: -ms-flexbox; |
1688 | display: flex; | 1688 | display: flex; |
1689 | -webkit-box-align: start; | 1689 | -webkit-box-align: start; |
1690 | -ms-flex-align: start; | 1690 | -ms-flex-align: start; |
1691 | align-items: flex-start; | 1691 | align-items: flex-start; |
1692 | margin-top: 16px; | 1692 | margin-top: 16px; |
1693 | } | 1693 | } |
1694 | .file__list-item-left { | 1694 | .file__list-item-left { |
1695 | width: calc(100% - 16px); | 1695 | width: calc(100% - 16px); |
1696 | min-height: 16px; | 1696 | min-height: 16px; |
1697 | color: #9c9d9d; | 1697 | color: #9c9d9d; |
1698 | font-size: 12px; | 1698 | font-size: 12px; |
1699 | display: -webkit-box; | 1699 | display: -webkit-box; |
1700 | display: -ms-flexbox; | 1700 | display: -ms-flexbox; |
1701 | display: flex; | 1701 | display: flex; |
1702 | -webkit-box-align: start; | 1702 | -webkit-box-align: start; |
1703 | -ms-flex-align: start; | 1703 | -ms-flex-align: start; |
1704 | align-items: flex-start; | 1704 | align-items: flex-start; |
1705 | } | 1705 | } |
1706 | @media (min-width: 768px) { | 1706 | @media (min-width: 768px) { |
1707 | .file__list-item-left { | 1707 | .file__list-item-left { |
1708 | width: auto; | 1708 | width: auto; |
1709 | max-width: calc(100% - 16px); | 1709 | max-width: calc(100% - 16px); |
1710 | font-size: 16px; | 1710 | font-size: 16px; |
1711 | } | 1711 | } |
1712 | } | 1712 | } |
1713 | .file__list-item-left svg { | 1713 | .file__list-item-left svg { |
1714 | width: 16px; | 1714 | width: 16px; |
1715 | height: 16px; | 1715 | height: 16px; |
1716 | } | 1716 | } |
1717 | .file__list-item-left span { | 1717 | .file__list-item-left span { |
1718 | width: calc(100% - 16px); | 1718 | width: calc(100% - 16px); |
1719 | min-height: 16px; | 1719 | min-height: 16px; |
1720 | display: -webkit-box; | 1720 | display: -webkit-box; |
1721 | display: -ms-flexbox; | 1721 | display: -ms-flexbox; |
1722 | display: flex; | 1722 | display: flex; |
1723 | -webkit-box-align: center; | 1723 | -webkit-box-align: center; |
1724 | -ms-flex-align: center; | 1724 | -ms-flex-align: center; |
1725 | align-items: center; | 1725 | align-items: center; |
1726 | padding: 0 8px; | 1726 | padding: 0 8px; |
1727 | } | 1727 | } |
1728 | .file__list-item-right { | 1728 | .file__list-item-right { |
1729 | display: -webkit-box; | 1729 | display: -webkit-box; |
1730 | display: -ms-flexbox; | 1730 | display: -ms-flexbox; |
1731 | display: flex; | 1731 | display: flex; |
1732 | -webkit-box-pack: center; | 1732 | -webkit-box-pack: center; |
1733 | -ms-flex-pack: center; | 1733 | -ms-flex-pack: center; |
1734 | justify-content: center; | 1734 | justify-content: center; |
1735 | -webkit-box-align: center; | 1735 | -webkit-box-align: center; |
1736 | -ms-flex-align: center; | 1736 | -ms-flex-align: center; |
1737 | align-items: center; | 1737 | align-items: center; |
1738 | padding: 0; | 1738 | padding: 0; |
1739 | background: none; | 1739 | background: none; |
1740 | border: none; | 1740 | border: none; |
1741 | width: 16px; | 1741 | width: 16px; |
1742 | height: 16px; | 1742 | height: 16px; |
1743 | color: #377d87; | 1743 | color: #377d87; |
1744 | } | 1744 | } |
1745 | .file__list-item-right:hover { | 1745 | .file__list-item-right:hover { |
1746 | color: #000; | 1746 | color: #000; |
1747 | } | 1747 | } |
1748 | .file__list-item-right svg { | 1748 | .file__list-item-right svg { |
1749 | width: 10px; | 1749 | width: 10px; |
1750 | height: 10px; | 1750 | height: 10px; |
1751 | } | 1751 | } |
1752 | .file__list-item + .file__list-item { | 1752 | .file__list-item + .file__list-item { |
1753 | margin-top: 10px; | 1753 | margin-top: 10px; |
1754 | } | 1754 | } |
1755 | 1755 | ||
1756 | .rate { | 1756 | .rate { |
1757 | display: -webkit-box; | 1757 | display: -webkit-box; |
1758 | display: -ms-flexbox; | 1758 | display: -ms-flexbox; |
1759 | display: flex; | 1759 | display: flex; |
1760 | -webkit-box-align: center; | 1760 | -webkit-box-align: center; |
1761 | -ms-flex-align: center; | 1761 | -ms-flex-align: center; |
1762 | align-items: center; | 1762 | align-items: center; |
1763 | gap: 10px; | 1763 | gap: 10px; |
1764 | } | 1764 | } |
1765 | @media (min-width: 768px) { | 1765 | @media (min-width: 768px) { |
1766 | .rate { | 1766 | .rate { |
1767 | gap: 20px; | 1767 | gap: 20px; |
1768 | } | 1768 | } |
1769 | } | 1769 | } |
1770 | .rate__label { | 1770 | .rate__label { |
1771 | font-size: 12px; | 1771 | font-size: 12px; |
1772 | font-weight: 700; | 1772 | font-weight: 700; |
1773 | line-height: 1; | 1773 | line-height: 1; |
1774 | } | 1774 | } |
1775 | @media (min-width: 768px) { | 1775 | @media (min-width: 768px) { |
1776 | .rate__label { | 1776 | .rate__label { |
1777 | font-size: 18px; | 1777 | font-size: 18px; |
1778 | } | 1778 | } |
1779 | } | 1779 | } |
1780 | .rate__stars { | 1780 | .rate__stars { |
1781 | display: -webkit-box; | 1781 | display: -webkit-box; |
1782 | display: -ms-flexbox; | 1782 | display: -ms-flexbox; |
1783 | display: flex; | 1783 | display: flex; |
1784 | -webkit-box-orient: vertical; | 1784 | -webkit-box-orient: vertical; |
1785 | -webkit-box-direction: normal; | 1785 | -webkit-box-direction: normal; |
1786 | -ms-flex-direction: column; | 1786 | -ms-flex-direction: column; |
1787 | flex-direction: column; | 1787 | flex-direction: column; |
1788 | } | 1788 | } |
1789 | 1789 | ||
1790 | .back { | 1790 | .back { |
1791 | display: -webkit-box; | 1791 | display: -webkit-box; |
1792 | display: -ms-flexbox; | 1792 | display: -ms-flexbox; |
1793 | display: flex; | 1793 | display: flex; |
1794 | -webkit-box-align: center; | 1794 | -webkit-box-align: center; |
1795 | -ms-flex-align: center; | 1795 | -ms-flex-align: center; |
1796 | align-items: center; | 1796 | align-items: center; |
1797 | font-size: 14px; | 1797 | font-size: 14px; |
1798 | color: #377d87; | 1798 | color: #377d87; |
1799 | font-weight: 700; | 1799 | font-weight: 700; |
1800 | } | 1800 | } |
1801 | @media (min-width: 768px) { | 1801 | @media (min-width: 768px) { |
1802 | .back { | 1802 | .back { |
1803 | font-size: 18px; | 1803 | font-size: 18px; |
1804 | } | 1804 | } |
1805 | } | 1805 | } |
1806 | .back:hover { | 1806 | .back:hover { |
1807 | color: #4d88d9; | 1807 | color: #4d88d9; |
1808 | } | 1808 | } |
1809 | .back svg { | 1809 | .back svg { |
1810 | width: 16px; | 1810 | width: 16px; |
1811 | height: 16px; | 1811 | height: 16px; |
1812 | } | 1812 | } |
1813 | @media (min-width: 768px) { | 1813 | @media (min-width: 768px) { |
1814 | .back svg { | 1814 | .back svg { |
1815 | width: 26px; | 1815 | width: 26px; |
1816 | height: 26px; | 1816 | height: 26px; |
1817 | } | 1817 | } |
1818 | } | 1818 | } |
1819 | .back span { | 1819 | .back span { |
1820 | width: calc(100% - 16px); | 1820 | width: calc(100% - 16px); |
1821 | padding-left: 10px; | 1821 | padding-left: 10px; |
1822 | } | 1822 | } |
1823 | @media (min-width: 768px) { | 1823 | @media (min-width: 768px) { |
1824 | .back span { | 1824 | .back span { |
1825 | width: calc(100% - 26px); | 1825 | width: calc(100% - 26px); |
1826 | padding-left: 20px; | 1826 | padding-left: 20px; |
1827 | } | 1827 | } |
1828 | } | 1828 | } |
1829 | 1829 | ||
1830 | .callback { | 1830 | .callback { |
1831 | display: -webkit-box; | 1831 | display: -webkit-box; |
1832 | display: -ms-flexbox; | 1832 | display: -ms-flexbox; |
1833 | display: flex; | 1833 | display: flex; |
1834 | -webkit-box-orient: vertical; | 1834 | -webkit-box-orient: vertical; |
1835 | -webkit-box-direction: normal; | 1835 | -webkit-box-direction: normal; |
1836 | -ms-flex-direction: column; | 1836 | -ms-flex-direction: column; |
1837 | flex-direction: column; | 1837 | flex-direction: column; |
1838 | gap: 16px; | 1838 | gap: 16px; |
1839 | } | 1839 | } |
1840 | @media (min-width: 992px) { | 1840 | @media (min-width: 992px) { |
1841 | .callback { | 1841 | .callback { |
1842 | -webkit-box-orient: horizontal; | 1842 | -webkit-box-orient: horizontal; |
1843 | -webkit-box-direction: normal; | 1843 | -webkit-box-direction: normal; |
1844 | -ms-flex-direction: row; | 1844 | -ms-flex-direction: row; |
1845 | flex-direction: row; | 1845 | flex-direction: row; |
1846 | -webkit-box-pack: justify; | 1846 | -webkit-box-pack: justify; |
1847 | -ms-flex-pack: justify; | 1847 | -ms-flex-pack: justify; |
1848 | justify-content: space-between; | 1848 | justify-content: space-between; |
1849 | -ms-flex-wrap: wrap; | 1849 | -ms-flex-wrap: wrap; |
1850 | flex-wrap: wrap; | 1850 | flex-wrap: wrap; |
1851 | gap: 20px 0; | 1851 | gap: 20px 0; |
1852 | } | 1852 | } |
1853 | } | 1853 | } |
1854 | .callback__body { | 1854 | .callback__body { |
1855 | display: -webkit-box; | 1855 | display: -webkit-box; |
1856 | display: -ms-flexbox; | 1856 | display: -ms-flexbox; |
1857 | display: flex; | 1857 | display: flex; |
1858 | -webkit-box-orient: vertical; | 1858 | -webkit-box-orient: vertical; |
1859 | -webkit-box-direction: normal; | 1859 | -webkit-box-direction: normal; |
1860 | -ms-flex-direction: column; | 1860 | -ms-flex-direction: column; |
1861 | flex-direction: column; | 1861 | flex-direction: column; |
1862 | gap: 16px; | 1862 | gap: 16px; |
1863 | } | 1863 | } |
1864 | @media (min-width: 992px) { | 1864 | @media (min-width: 992px) { |
1865 | .callback__body { | 1865 | .callback__body { |
1866 | width: calc(50% - 10px); | 1866 | width: calc(50% - 10px); |
1867 | gap: 10px; | 1867 | gap: 10px; |
1868 | } | 1868 | } |
1869 | } | 1869 | } |
1870 | @media (min-width: 992px) { | 1870 | @media (min-width: 992px) { |
1871 | .callback__textarea { | 1871 | .callback__textarea { |
1872 | width: calc(50% - 10px); | 1872 | width: calc(50% - 10px); |
1873 | height: auto; | 1873 | height: auto; |
1874 | } | 1874 | } |
1875 | } | 1875 | } |
1876 | .callback__bottom { | 1876 | .callback__bottom { |
1877 | display: -webkit-box; | 1877 | display: -webkit-box; |
1878 | display: -ms-flexbox; | 1878 | display: -ms-flexbox; |
1879 | display: flex; | 1879 | display: flex; |
1880 | -webkit-box-orient: vertical; | 1880 | -webkit-box-orient: vertical; |
1881 | -webkit-box-direction: normal; | 1881 | -webkit-box-direction: normal; |
1882 | -ms-flex-direction: column; | 1882 | -ms-flex-direction: column; |
1883 | flex-direction: column; | 1883 | flex-direction: column; |
1884 | gap: 16px; | 1884 | gap: 16px; |
1885 | } | 1885 | } |
1886 | @media (min-width: 768px) { | 1886 | @media (min-width: 768px) { |
1887 | .callback__bottom { | 1887 | .callback__bottom { |
1888 | -webkit-box-align: start; | 1888 | -webkit-box-align: start; |
1889 | -ms-flex-align: start; | 1889 | -ms-flex-align: start; |
1890 | align-items: flex-start; | 1890 | align-items: flex-start; |
1891 | } | 1891 | } |
1892 | } | 1892 | } |
1893 | @media (min-width: 992px) { | 1893 | @media (min-width: 992px) { |
1894 | .callback__bottom { | 1894 | .callback__bottom { |
1895 | width: 100%; | 1895 | width: 100%; |
1896 | gap: 20px; | 1896 | gap: 20px; |
1897 | } | 1897 | } |
1898 | } | 1898 | } |
1899 | 1899 | ||
1900 | .error .input, | 1900 | .error .input, |
1901 | .error .textarea { | 1901 | .error .textarea { |
1902 | border-color: #eb5757; | 1902 | border-color: #eb5757; |
1903 | } | 1903 | } |
1904 | .error label { | 1904 | .error label { |
1905 | display: block; | 1905 | display: block; |
1906 | } | 1906 | } |
1907 | 1907 | ||
1908 | .eye { | 1908 | .eye { |
1909 | position: absolute; | 1909 | position: absolute; |
1910 | z-index: 2; | 1910 | z-index: 2; |
1911 | top: 50%; | 1911 | top: 50%; |
1912 | -webkit-transform: translate(0, -50%); | 1912 | -webkit-transform: translate(0, -50%); |
1913 | -ms-transform: translate(0, -50%); | 1913 | -ms-transform: translate(0, -50%); |
1914 | transform: translate(0, -50%); | 1914 | transform: translate(0, -50%); |
1915 | right: 10px; | 1915 | right: 10px; |
1916 | aspect-ratio: 1/1; | 1916 | aspect-ratio: 1/1; |
1917 | width: 16px; | 1917 | width: 16px; |
1918 | padding: 0; | 1918 | padding: 0; |
1919 | border: none; | 1919 | border: none; |
1920 | background: none; | 1920 | background: none; |
1921 | color: #9c9d9d; | 1921 | color: #9c9d9d; |
1922 | } | 1922 | } |
1923 | @media (min-width: 768px) { | 1923 | @media (min-width: 768px) { |
1924 | .eye { | 1924 | .eye { |
1925 | width: 24px; | 1925 | width: 24px; |
1926 | right: 20px; | 1926 | right: 20px; |
1927 | } | 1927 | } |
1928 | } | 1928 | } |
1929 | .eye svg { | 1929 | .eye svg { |
1930 | position: absolute; | 1930 | position: absolute; |
1931 | top: 0; | 1931 | top: 0; |
1932 | left: 0; | 1932 | left: 0; |
1933 | width: 100%; | 1933 | width: 100%; |
1934 | height: 100%; | 1934 | height: 100%; |
1935 | } | 1935 | } |
1936 | .eye svg + svg { | 1936 | .eye svg + svg { |
1937 | display: none; | 1937 | display: none; |
1938 | } | 1938 | } |
1939 | .eye.active { | 1939 | .eye.active { |
1940 | color: #377d87; | 1940 | color: #377d87; |
1941 | } | 1941 | } |
1942 | .eye.active svg { | 1942 | .eye.active svg { |
1943 | display: none; | 1943 | display: none; |
1944 | } | 1944 | } |
1945 | .eye.active svg + svg { | 1945 | .eye.active svg + svg { |
1946 | display: block; | 1946 | display: block; |
1947 | } | 1947 | } |
1948 | 1948 | ||
1949 | .del { | 1949 | .del { |
1950 | width: 32px; | 1950 | width: 32px; |
1951 | aspect-ratio: 1/1; | 1951 | aspect-ratio: 1/1; |
1952 | background: #377d87; | 1952 | background: #377d87; |
1953 | color: #fff; | 1953 | color: #fff; |
1954 | display: -webkit-box; | 1954 | display: -webkit-box; |
1955 | display: -ms-flexbox; | 1955 | display: -ms-flexbox; |
1956 | display: flex; | 1956 | display: flex; |
1957 | -webkit-box-pack: center; | 1957 | -webkit-box-pack: center; |
1958 | -ms-flex-pack: center; | 1958 | -ms-flex-pack: center; |
1959 | justify-content: center; | 1959 | justify-content: center; |
1960 | -webkit-box-align: center; | 1960 | -webkit-box-align: center; |
1961 | -ms-flex-align: center; | 1961 | -ms-flex-align: center; |
1962 | align-items: center; | 1962 | align-items: center; |
1963 | border-radius: 8px; | 1963 | border-radius: 8px; |
1964 | padding: 0; | 1964 | padding: 0; |
1965 | border: 1px solid #377d87; | 1965 | border: 1px solid #377d87; |
1966 | } | 1966 | } |
1967 | .del:hover { | 1967 | .del:hover { |
1968 | background: #fff; | 1968 | background: #fff; |
1969 | color: #377d87; | 1969 | color: #377d87; |
1970 | } | 1970 | } |
1971 | .del svg { | 1971 | .del svg { |
1972 | width: 50%; | 1972 | width: 50%; |
1973 | aspect-ratio: 1/1; | 1973 | aspect-ratio: 1/1; |
1974 | } | 1974 | } |
1975 | 1975 | ||
1976 | .notify { | 1976 | .notify { |
1977 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 1977 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
1978 | padding: 6px 12px; | 1978 | padding: 6px 12px; |
1979 | border-radius: 8px; | 1979 | border-radius: 8px; |
1980 | display: -webkit-box; | 1980 | display: -webkit-box; |
1981 | display: -ms-flexbox; | 1981 | display: -ms-flexbox; |
1982 | display: flex; | 1982 | display: flex; |
1983 | -webkit-box-align: start; | 1983 | -webkit-box-align: start; |
1984 | -ms-flex-align: start; | 1984 | -ms-flex-align: start; |
1985 | align-items: flex-start; | 1985 | align-items: flex-start; |
1986 | } | 1986 | } |
1987 | @media (min-width: 768px) { | 1987 | @media (min-width: 768px) { |
1988 | .notify { | 1988 | .notify { |
1989 | padding: 12px 20px; | 1989 | padding: 12px 20px; |
1990 | } | 1990 | } |
1991 | } | 1991 | } |
1992 | .notify_red { | 1992 | .notify_red { |
1993 | background: #f9cdcd; | 1993 | background: #f9cdcd; |
1994 | } | 1994 | } |
1995 | .notify svg { | 1995 | .notify svg { |
1996 | color: #4d88d9; | 1996 | color: #4d88d9; |
1997 | width: 20px; | 1997 | width: 20px; |
1998 | aspect-ratio: 1/1; | 1998 | aspect-ratio: 1/1; |
1999 | } | 1999 | } |
2000 | .notify span { | 2000 | .notify span { |
2001 | font-size: 12px; | 2001 | font-size: 12px; |
2002 | padding-left: 10px; | 2002 | padding-left: 10px; |
2003 | min-height: 20px; | 2003 | min-height: 20px; |
2004 | display: -webkit-box; | 2004 | display: -webkit-box; |
2005 | display: -ms-flexbox; | 2005 | display: -ms-flexbox; |
2006 | display: flex; | 2006 | display: flex; |
2007 | -webkit-box-align: center; | 2007 | -webkit-box-align: center; |
2008 | -ms-flex-align: center; | 2008 | -ms-flex-align: center; |
2009 | align-items: center; | 2009 | align-items: center; |
2010 | } | 2010 | } |
2011 | @media (min-width: 768px) { | 2011 | @media (min-width: 768px) { |
2012 | .notify span { | 2012 | .notify span { |
2013 | font-size: 16px; | 2013 | font-size: 16px; |
2014 | } | 2014 | } |
2015 | } | 2015 | } |
2016 | 2016 | ||
2017 | .table { | 2017 | .table { |
2018 | margin: 0 -10px; | 2018 | margin: 0 -10px; |
2019 | display: -webkit-box; | 2019 | display: -webkit-box; |
2020 | display: -ms-flexbox; | 2020 | display: -ms-flexbox; |
2021 | display: flex; | 2021 | display: flex; |
2022 | -webkit-box-orient: vertical; | 2022 | -webkit-box-orient: vertical; |
2023 | -webkit-box-direction: reverse; | 2023 | -webkit-box-direction: reverse; |
2024 | -ms-flex-direction: column-reverse; | 2024 | -ms-flex-direction: column-reverse; |
2025 | flex-direction: column-reverse; | 2025 | flex-direction: column-reverse; |
2026 | -webkit-box-align: center; | 2026 | -webkit-box-align: center; |
2027 | -ms-flex-align: center; | 2027 | -ms-flex-align: center; |
2028 | align-items: center; | 2028 | align-items: center; |
2029 | gap: 20px; | 2029 | gap: 20px; |
2030 | } | 2030 | } |
2031 | @media (min-width: 768px) { | 2031 | @media (min-width: 768px) { |
2032 | .table { | 2032 | .table { |
2033 | margin: 0; | 2033 | margin: 0; |
2034 | gap: 30px; | 2034 | gap: 30px; |
2035 | } | 2035 | } |
2036 | } | 2036 | } |
2037 | .table__button { | 2037 | .table__button { |
2038 | display: none; | 2038 | display: none; |
2039 | } | 2039 | } |
2040 | .table_spoiler .table__button { | 2040 | .table_spoiler .table__button { |
2041 | display: -webkit-box; | 2041 | display: -webkit-box; |
2042 | display: -ms-flexbox; | 2042 | display: -ms-flexbox; |
2043 | display: flex; | 2043 | display: flex; |
2044 | } | 2044 | } |
2045 | .table__scroll { | 2045 | .table__scroll { |
2046 | overflow: hidden; | 2046 | overflow: hidden; |
2047 | overflow-x: auto; | 2047 | overflow-x: auto; |
2048 | padding: 0 10px; | 2048 | padding: 0 10px; |
2049 | width: 100%; | 2049 | width: 100%; |
2050 | } | 2050 | } |
2051 | @media (min-width: 768px) { | 2051 | @media (min-width: 768px) { |
2052 | .table__scroll { | 2052 | .table__scroll { |
2053 | padding: 0; | 2053 | padding: 0; |
2054 | } | 2054 | } |
2055 | } | 2055 | } |
2056 | .table__body { | 2056 | .table__body { |
2057 | border-radius: 8px; | 2057 | border-radius: 8px; |
2058 | overflow: hidden; | 2058 | overflow: hidden; |
2059 | } | 2059 | } |
2060 | .table__body_min-width { | 2060 | .table__body_min-width { |
2061 | min-width: 580px; | 2061 | min-width: 580px; |
2062 | } | 2062 | } |
2063 | .table table { | 2063 | .table table { |
2064 | border-collapse: collapse; | 2064 | border-collapse: collapse; |
2065 | width: 100%; | 2065 | width: 100%; |
2066 | font-size: 12px; | 2066 | font-size: 12px; |
2067 | border-radius: 8px; | 2067 | border-radius: 8px; |
2068 | } | 2068 | } |
2069 | @media (min-width: 768px) { | 2069 | @media (min-width: 768px) { |
2070 | .table table { | 2070 | .table table { |
2071 | font-size: 14px; | 2071 | font-size: 14px; |
2072 | } | 2072 | } |
2073 | } | 2073 | } |
2074 | @media (min-width: 1280px) { | 2074 | @media (min-width: 1280px) { |
2075 | .table table { | 2075 | .table table { |
2076 | font-size: 16px; | 2076 | font-size: 16px; |
2077 | } | 2077 | } |
2078 | } | 2078 | } |
2079 | .table thead tr th, | 2079 | .table thead tr th, |
2080 | .table thead tr td { | 2080 | .table thead tr td { |
2081 | background: #377d87; | 2081 | background: #377d87; |
2082 | color: #fff; | 2082 | color: #fff; |
2083 | font-weight: 700; | 2083 | font-weight: 700; |
2084 | border-top-color: #377d87; | 2084 | border-top-color: #377d87; |
2085 | } | 2085 | } |
2086 | .table thead tr th:first-child, | 2086 | .table thead tr th:first-child, |
2087 | .table thead tr td:first-child { | 2087 | .table thead tr td:first-child { |
2088 | border-left-color: #377d87; | 2088 | border-left-color: #377d87; |
2089 | } | 2089 | } |
2090 | .table thead tr th:last-child, | 2090 | .table thead tr th:last-child, |
2091 | .table thead tr td:last-child { | 2091 | .table thead tr td:last-child { |
2092 | border-right-color: #377d87; | 2092 | border-right-color: #377d87; |
2093 | } | 2093 | } |
2094 | .table_spoiler tr { | 2094 | .table_spoiler tr { |
2095 | /*display: none;*/ | 2095 | /*display: none;*/ |
2096 | } | 2096 | } |
2097 | .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) { | 2097 | .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 | display: table-row; | 2098 | display: table-row; |
2099 | } | 2099 | } |
2100 | .table_spoiler.active tr { | 2100 | .table_spoiler.active tr { |
2101 | display: table-row; | 2101 | display: table-row; |
2102 | } | 2102 | } |
2103 | .table th, | 2103 | .table th, |
2104 | .table td { | 2104 | .table td { |
2105 | text-align: left; | 2105 | text-align: left; |
2106 | padding: 10px; | 2106 | padding: 10px; |
2107 | border: 1px solid #cecece; | 2107 | border: 1px solid #cecece; |
2108 | } | 2108 | } |
2109 | @media (min-width: 768px) { | 2109 | @media (min-width: 768px) { |
2110 | .table td { | 2110 | .table td { |
2111 | padding: 14px 10px; | 2111 | padding: 14px 10px; |
2112 | } | 2112 | } |
2113 | } | 2113 | } |
2114 | .table__status { | 2114 | .table__status { |
2115 | color: #9c9d9d; | 2115 | color: #9c9d9d; |
2116 | display: -webkit-box; | 2116 | display: -webkit-box; |
2117 | display: -ms-flexbox; | 2117 | display: -ms-flexbox; |
2118 | display: flex; | 2118 | display: flex; |
2119 | -webkit-box-align: center; | 2119 | -webkit-box-align: center; |
2120 | -ms-flex-align: center; | 2120 | -ms-flex-align: center; |
2121 | align-items: center; | 2121 | align-items: center; |
2122 | gap: 6px; | 2122 | gap: 6px; |
2123 | position: relative; | 2123 | position: relative; |
2124 | padding-left: 14px; | 2124 | padding-left: 14px; |
2125 | } | 2125 | } |
2126 | .table__status i { | 2126 | .table__status i { |
2127 | background: #9c9d9d; | 2127 | background: #9c9d9d; |
2128 | width: 8px; | 2128 | width: 8px; |
2129 | aspect-ratio: 1/1; | 2129 | aspect-ratio: 1/1; |
2130 | border-radius: 999px; | 2130 | border-radius: 999px; |
2131 | position: absolute; | 2131 | position: absolute; |
2132 | top: 4px; | 2132 | top: 4px; |
2133 | left: 0; | 2133 | left: 0; |
2134 | } | 2134 | } |
2135 | .table__status.green { | 2135 | .table__status.green { |
2136 | color: #377d87; | 2136 | color: #377d87; |
2137 | } | 2137 | } |
2138 | .table__status.green i { | 2138 | .table__status.green i { |
2139 | background: #377d87; | 2139 | background: #377d87; |
2140 | } | 2140 | } |
2141 | .table__link { | 2141 | .table__link { |
2142 | display: -webkit-box; | 2142 | display: -webkit-box; |
2143 | display: -ms-flexbox; | 2143 | display: -ms-flexbox; |
2144 | display: flex; | 2144 | display: flex; |
2145 | -webkit-box-align: center; | 2145 | -webkit-box-align: center; |
2146 | -ms-flex-align: center; | 2146 | -ms-flex-align: center; |
2147 | align-items: center; | 2147 | align-items: center; |
2148 | gap: 4px; | 2148 | gap: 4px; |
2149 | color: #4d88d9; | 2149 | color: #4d88d9; |
2150 | } | 2150 | } |
2151 | @media (min-width: 768px) { | 2151 | @media (min-width: 768px) { |
2152 | .table__link { | 2152 | .table__link { |
2153 | gap: 6px; | 2153 | gap: 6px; |
2154 | } | 2154 | } |
2155 | } | 2155 | } |
2156 | .table__link:hover { | 2156 | .table__link:hover { |
2157 | color: #000; | 2157 | color: #000; |
2158 | } | 2158 | } |
2159 | .table__link svg { | 2159 | .table__link svg { |
2160 | width: 12px; | 2160 | width: 12px; |
2161 | aspect-ratio: 1/1; | 2161 | aspect-ratio: 1/1; |
2162 | } | 2162 | } |
2163 | @media (min-width: 768px) { | 2163 | @media (min-width: 768px) { |
2164 | .table__link svg { | 2164 | .table__link svg { |
2165 | width: 16px; | 2165 | width: 16px; |
2166 | } | 2166 | } |
2167 | } | 2167 | } |
2168 | .table__controls { | 2168 | .table__controls { |
2169 | display: -webkit-box; | 2169 | display: -webkit-box; |
2170 | display: -ms-flexbox; | 2170 | display: -ms-flexbox; |
2171 | display: flex; | 2171 | display: flex; |
2172 | -webkit-box-align: center; | 2172 | -webkit-box-align: center; |
2173 | -ms-flex-align: center; | 2173 | -ms-flex-align: center; |
2174 | align-items: center; | 2174 | align-items: center; |
2175 | gap: 8px; | 2175 | gap: 8px; |
2176 | } | 2176 | } |
2177 | @media (min-width: 1280px) { | 2177 | @media (min-width: 1280px) { |
2178 | .table__controls { | 2178 | .table__controls { |
2179 | gap: 12px; | 2179 | gap: 12px; |
2180 | } | 2180 | } |
2181 | } | 2181 | } |
2182 | .table__controls-item { | 2182 | .table__controls-item { |
2183 | width: 24px; | 2183 | width: 24px; |
2184 | aspect-ratio: 1/1; | 2184 | aspect-ratio: 1/1; |
2185 | display: -webkit-box; | 2185 | display: -webkit-box; |
2186 | display: -ms-flexbox; | 2186 | display: -ms-flexbox; |
2187 | display: flex; | 2187 | display: flex; |
2188 | -webkit-box-pack: center; | 2188 | -webkit-box-pack: center; |
2189 | -ms-flex-pack: center; | 2189 | -ms-flex-pack: center; |
2190 | justify-content: center; | 2190 | justify-content: center; |
2191 | -webkit-box-align: center; | 2191 | -webkit-box-align: center; |
2192 | -ms-flex-align: center; | 2192 | -ms-flex-align: center; |
2193 | align-items: center; | 2193 | align-items: center; |
2194 | border: 1px solid #377d87; | 2194 | border: 1px solid #377d87; |
2195 | border-radius: 8px; | 2195 | border-radius: 8px; |
2196 | color: #377d87; | 2196 | color: #377d87; |
2197 | background: none; | 2197 | background: none; |
2198 | padding: 0; | 2198 | padding: 0; |
2199 | } | 2199 | } |
2200 | @media (min-width: 1280px) { | 2200 | @media (min-width: 1280px) { |
2201 | .table__controls-item { | 2201 | .table__controls-item { |
2202 | width: 30px; | 2202 | width: 30px; |
2203 | } | 2203 | } |
2204 | } | 2204 | } |
2205 | .table__controls-item:hover { | 2205 | .table__controls-item:hover { |
2206 | background: #377d87; | 2206 | background: #377d87; |
2207 | color: #fff; | 2207 | color: #fff; |
2208 | } | 2208 | } |
2209 | .table__controls-item svg { | 2209 | .table__controls-item svg { |
2210 | width: 60%; | 2210 | width: 60%; |
2211 | aspect-ratio: 1/1; | 2211 | aspect-ratio: 1/1; |
2212 | } | 2212 | } |
2213 | .table__controls-item:nth-of-type(4) svg { | 2213 | .table__controls-item:nth-of-type(4) svg { |
2214 | width: 80%; | 2214 | width: 80%; |
2215 | } | 2215 | } |
2216 | 2216 | ||
2217 | .gl-star-rating--stars:before, .gl-star-rating--stars:after { | 2217 | .gl-star-rating--stars:before, .gl-star-rating--stars:after { |
2218 | display: none; | 2218 | display: none; |
2219 | } | 2219 | } |
2220 | .gl-star-rating--stars span { | 2220 | .gl-star-rating--stars span { |
2221 | width: 22px !important; | 2221 | width: 22px !important; |
2222 | height: 22px !important; | 2222 | height: 22px !important; |
2223 | background-size: 22px 22px !important; | 2223 | background-size: 22px 22px !important; |
2224 | } | 2224 | } |
2225 | @media (min-width: 768px) { | 2225 | @media (min-width: 768px) { |
2226 | .gl-star-rating--stars span { | 2226 | .gl-star-rating--stars span { |
2227 | width: 30px !important; | 2227 | width: 30px !important; |
2228 | height: 30px !important; | 2228 | height: 30px !important; |
2229 | background-size: 30px 30px !important; | 2229 | background-size: 30px 30px !important; |
2230 | } | 2230 | } |
2231 | } | 2231 | } |
2232 | 2232 | ||
2233 | .more { | 2233 | .more { |
2234 | display: -webkit-box; | 2234 | display: -webkit-box; |
2235 | display: -ms-flexbox; | 2235 | display: -ms-flexbox; |
2236 | display: flex; | 2236 | display: flex; |
2237 | -webkit-box-orient: vertical; | 2237 | -webkit-box-orient: vertical; |
2238 | -webkit-box-direction: normal; | 2238 | -webkit-box-direction: normal; |
2239 | -ms-flex-direction: column; | 2239 | -ms-flex-direction: column; |
2240 | flex-direction: column; | 2240 | flex-direction: column; |
2241 | -webkit-box-align: center; | 2241 | -webkit-box-align: center; |
2242 | -ms-flex-align: center; | 2242 | -ms-flex-align: center; |
2243 | align-items: center; | 2243 | align-items: center; |
2244 | } | 2244 | } |
2245 | .more_mt { | 2245 | .more_mt { |
2246 | margin-top: 20px; | 2246 | margin-top: 20px; |
2247 | } | 2247 | } |
2248 | .more .button { | 2248 | .more .button { |
2249 | min-width: 100px; | 2249 | min-width: 100px; |
2250 | padding: 0; | 2250 | padding: 0; |
2251 | } | 2251 | } |
2252 | @media (min-width: 768px) { | 2252 | @media (min-width: 768px) { |
2253 | .more .button { | 2253 | .more .button { |
2254 | min-width: 180px; | 2254 | min-width: 180px; |
2255 | } | 2255 | } |
2256 | } | 2256 | } |
2257 | 2257 | ||
2258 | .header { | 2258 | .header { |
2259 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 2259 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
2260 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 2260 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
2261 | background: #fff; | 2261 | background: #fff; |
2262 | position: relative; | 2262 | position: relative; |
2263 | z-index: 5; | 2263 | z-index: 5; |
2264 | overflow: hidden; | 2264 | overflow: hidden; |
2265 | } | 2265 | } |
2266 | @media (min-width: 768px) { | 2266 | @media (min-width: 768px) { |
2267 | .header { | 2267 | .header { |
2268 | -webkit-box-shadow: none; | 2268 | -webkit-box-shadow: none; |
2269 | box-shadow: none; | 2269 | box-shadow: none; |
2270 | } | 2270 | } |
2271 | } | 2271 | } |
2272 | .header__body { | 2272 | .header__body { |
2273 | height: 42px; | 2273 | height: 42px; |
2274 | display: -webkit-box; | 2274 | display: -webkit-box; |
2275 | display: -ms-flexbox; | 2275 | display: -ms-flexbox; |
2276 | display: flex; | 2276 | display: flex; |
2277 | -webkit-box-pack: justify; | 2277 | -webkit-box-pack: justify; |
2278 | -ms-flex-pack: justify; | 2278 | -ms-flex-pack: justify; |
2279 | justify-content: space-between; | 2279 | justify-content: space-between; |
2280 | -webkit-box-align: center; | 2280 | -webkit-box-align: center; |
2281 | -ms-flex-align: center; | 2281 | -ms-flex-align: center; |
2282 | align-items: center; | 2282 | align-items: center; |
2283 | } | 2283 | } |
2284 | @media (min-width: 768px) { | 2284 | @media (min-width: 768px) { |
2285 | .header__body { | 2285 | .header__body { |
2286 | height: 70px; | 2286 | height: 70px; |
2287 | } | 2287 | } |
2288 | } | 2288 | } |
2289 | .header__left { | 2289 | .header__left { |
2290 | display: -webkit-box; | 2290 | display: -webkit-box; |
2291 | display: -ms-flexbox; | 2291 | display: -ms-flexbox; |
2292 | display: flex; | 2292 | display: flex; |
2293 | -webkit-box-align: center; | 2293 | -webkit-box-align: center; |
2294 | -ms-flex-align: center; | 2294 | -ms-flex-align: center; |
2295 | align-items: center; | 2295 | align-items: center; |
2296 | gap: 40px; | 2296 | gap: 40px; |
2297 | } | 2297 | } |
2298 | .header__right { | 2298 | .header__right { |
2299 | display: -webkit-box; | 2299 | display: -webkit-box; |
2300 | display: -ms-flexbox; | 2300 | display: -ms-flexbox; |
2301 | display: flex; | 2301 | display: flex; |
2302 | -webkit-box-align: center; | 2302 | -webkit-box-align: center; |
2303 | -ms-flex-align: center; | 2303 | -ms-flex-align: center; |
2304 | align-items: center; | 2304 | align-items: center; |
2305 | gap: 14px; | 2305 | gap: 14px; |
2306 | } | 2306 | } |
2307 | @media (min-width: 768px) { | 2307 | @media (min-width: 768px) { |
2308 | .header__right { | 2308 | .header__right { |
2309 | gap: 20px; | 2309 | gap: 20px; |
2310 | } | 2310 | } |
2311 | } | 2311 | } |
2312 | .header__right-line { | 2312 | .header__right-line { |
2313 | width: 1px; | 2313 | width: 1px; |
2314 | height: 32px; | 2314 | height: 32px; |
2315 | background: #e6e7e7; | 2315 | background: #e6e7e7; |
2316 | border-radius: 999px; | 2316 | border-radius: 999px; |
2317 | } | 2317 | } |
2318 | @media (min-width: 992px) { | 2318 | @media (min-width: 992px) { |
2319 | .header__right-line { | 2319 | .header__right-line { |
2320 | display: none; | 2320 | display: none; |
2321 | } | 2321 | } |
2322 | } | 2322 | } |
2323 | .header__logo { | 2323 | .header__logo { |
2324 | display: -webkit-box; | 2324 | display: -webkit-box; |
2325 | display: -ms-flexbox; | 2325 | display: -ms-flexbox; |
2326 | display: flex; | 2326 | display: flex; |
2327 | -webkit-box-align: center; | 2327 | -webkit-box-align: center; |
2328 | -ms-flex-align: center; | 2328 | -ms-flex-align: center; |
2329 | align-items: center; | 2329 | align-items: center; |
2330 | -webkit-box-pack: center; | 2330 | -webkit-box-pack: center; |
2331 | -ms-flex-pack: center; | 2331 | -ms-flex-pack: center; |
2332 | justify-content: center; | 2332 | justify-content: center; |
2333 | color: #377d87; | 2333 | color: #377d87; |
2334 | } | 2334 | } |
2335 | .header__logo svg { | 2335 | .header__logo svg { |
2336 | width: 105px; | 2336 | width: 105px; |
2337 | height: 31px; | 2337 | height: 31px; |
2338 | } | 2338 | } |
2339 | @media (min-width: 768px) { | 2339 | @media (min-width: 768px) { |
2340 | .header__logo svg { | 2340 | .header__logo svg { |
2341 | width: 182px; | 2341 | width: 182px; |
2342 | height: 54px; | 2342 | height: 54px; |
2343 | } | 2343 | } |
2344 | } | 2344 | } |
2345 | .header__menu { | 2345 | .header__menu { |
2346 | display: none; | 2346 | display: none; |
2347 | -webkit-box-align: center; | 2347 | -webkit-box-align: center; |
2348 | -ms-flex-align: center; | 2348 | -ms-flex-align: center; |
2349 | align-items: center; | 2349 | align-items: center; |
2350 | gap: 20px; | 2350 | gap: 20px; |
2351 | } | 2351 | } |
2352 | @media (min-width: 768px) { | 2352 | @media (min-width: 768px) { |
2353 | .header__menu { | 2353 | .header__menu { |
2354 | display: -webkit-box; | 2354 | display: -webkit-box; |
2355 | display: -ms-flexbox; | 2355 | display: -ms-flexbox; |
2356 | display: flex; | 2356 | display: flex; |
2357 | } | 2357 | } |
2358 | } | 2358 | } |
2359 | .header__menu-item:hover { | 2359 | .header__menu-item:hover { |
2360 | color: #377d87; | 2360 | color: #377d87; |
2361 | } | 2361 | } |
2362 | .header__notifs { | 2362 | .header__notifs { |
2363 | display: -webkit-box; | 2363 | display: -webkit-box; |
2364 | display: -ms-flexbox; | 2364 | display: -ms-flexbox; |
2365 | display: flex; | 2365 | display: flex; |
2366 | -webkit-box-align: center; | 2366 | -webkit-box-align: center; |
2367 | -ms-flex-align: center; | 2367 | -ms-flex-align: center; |
2368 | align-items: center; | 2368 | align-items: center; |
2369 | -webkit-box-pack: center; | 2369 | -webkit-box-pack: center; |
2370 | -ms-flex-pack: center; | 2370 | -ms-flex-pack: center; |
2371 | justify-content: center; | 2371 | justify-content: center; |
2372 | color: #377d87; | 2372 | color: #377d87; |
2373 | padding: 0; | 2373 | padding: 0; |
2374 | border: none; | 2374 | border: none; |
2375 | background: none; | 2375 | background: none; |
2376 | width: 24px; | 2376 | width: 24px; |
2377 | height: 24px; | 2377 | height: 24px; |
2378 | } | 2378 | } |
2379 | @media (min-width: 992px) { | 2379 | @media (min-width: 992px) { |
2380 | .header__notifs { | 2380 | .header__notifs { |
2381 | width: auto; | 2381 | width: auto; |
2382 | height: auto; | 2382 | height: auto; |
2383 | color: #000; | 2383 | color: #000; |
2384 | line-height: 1.4; | 2384 | line-height: 1.4; |
2385 | } | 2385 | } |
2386 | } | 2386 | } |
2387 | @media (min-width: 992px) { | 2387 | @media (min-width: 992px) { |
2388 | .header__notifs:hover { | 2388 | .header__notifs:hover { |
2389 | color: #377d87; | 2389 | color: #377d87; |
2390 | } | 2390 | } |
2391 | } | 2391 | } |
2392 | .header__notifs svg { | 2392 | .header__notifs svg { |
2393 | width: 20px; | 2393 | width: 20px; |
2394 | height: 20px; | 2394 | height: 20px; |
2395 | } | 2395 | } |
2396 | @media (min-width: 992px) { | 2396 | @media (min-width: 992px) { |
2397 | .header__notifs svg { | 2397 | .header__notifs svg { |
2398 | display: none; | 2398 | display: none; |
2399 | } | 2399 | } |
2400 | } | 2400 | } |
2401 | .header__notifs span { | 2401 | .header__notifs span { |
2402 | display: none; | 2402 | display: none; |
2403 | } | 2403 | } |
2404 | @media (min-width: 992px) { | 2404 | @media (min-width: 992px) { |
2405 | .header__notifs span { | 2405 | .header__notifs span { |
2406 | display: inline; | 2406 | display: inline; |
2407 | } | 2407 | } |
2408 | } | 2408 | } |
2409 | .header__notifs_actived { | 2409 | .header__notifs_actived { |
2410 | position: relative; | 2410 | position: relative; |
2411 | } | 2411 | } |
2412 | @media (min-width: 992px) { | 2412 | @media (min-width: 992px) { |
2413 | .header__notifs_actived { | 2413 | .header__notifs_actived { |
2414 | padding-right: 12px; | 2414 | padding-right: 12px; |
2415 | } | 2415 | } |
2416 | } | 2416 | } |
2417 | .header__notifs_actived:after { | 2417 | .header__notifs_actived:after { |
2418 | content: ""; | 2418 | content: ""; |
2419 | border: 1px solid #fff; | 2419 | border: 1px solid #fff; |
2420 | background: #377d87; | 2420 | background: #377d87; |
2421 | border-radius: 999px; | 2421 | border-radius: 999px; |
2422 | width: 10px; | 2422 | width: 10px; |
2423 | height: 10px; | 2423 | height: 10px; |
2424 | position: absolute; | 2424 | position: absolute; |
2425 | z-index: 1; | 2425 | z-index: 1; |
2426 | top: 0; | 2426 | top: 0; |
2427 | right: 0; | 2427 | right: 0; |
2428 | } | 2428 | } |
2429 | @media (min-width: 992px) { | 2429 | @media (min-width: 992px) { |
2430 | .header__notifs_actived:after { | 2430 | .header__notifs_actived:after { |
2431 | width: 8px; | 2431 | width: 8px; |
2432 | height: 8px; | 2432 | height: 8px; |
2433 | border: none; | 2433 | border: none; |
2434 | } | 2434 | } |
2435 | } | 2435 | } |
2436 | .header__burger { | 2436 | .header__burger { |
2437 | display: -webkit-box; | 2437 | display: -webkit-box; |
2438 | display: -ms-flexbox; | 2438 | display: -ms-flexbox; |
2439 | display: flex; | 2439 | display: flex; |
2440 | -webkit-box-align: center; | 2440 | -webkit-box-align: center; |
2441 | -ms-flex-align: center; | 2441 | -ms-flex-align: center; |
2442 | align-items: center; | 2442 | align-items: center; |
2443 | -webkit-box-pack: center; | 2443 | -webkit-box-pack: center; |
2444 | -ms-flex-pack: center; | 2444 | -ms-flex-pack: center; |
2445 | justify-content: center; | 2445 | justify-content: center; |
2446 | width: 24px; | 2446 | width: 24px; |
2447 | height: 24px; | 2447 | height: 24px; |
2448 | color: #377d87; | 2448 | color: #377d87; |
2449 | padding: 0; | 2449 | padding: 0; |
2450 | border: none; | 2450 | border: none; |
2451 | background: none; | 2451 | background: none; |
2452 | } | 2452 | } |
2453 | @media (min-width: 992px) { | 2453 | @media (min-width: 992px) { |
2454 | .header__burger { | 2454 | .header__burger { |
2455 | display: none; | 2455 | display: none; |
2456 | } | 2456 | } |
2457 | } | 2457 | } |
2458 | .header__burger svg { | 2458 | .header__burger svg { |
2459 | width: 20px; | 2459 | width: 20px; |
2460 | height: 20px; | 2460 | height: 20px; |
2461 | } | 2461 | } |
2462 | .header__burger svg + svg { | 2462 | .header__burger svg + svg { |
2463 | display: none; | 2463 | display: none; |
2464 | } | 2464 | } |
2465 | .header__sign { | 2465 | .header__sign { |
2466 | display: none; | 2466 | display: none; |
2467 | } | 2467 | } |
2468 | @media (min-width: 992px) { | 2468 | @media (min-width: 992px) { |
2469 | .header__sign { | 2469 | .header__sign { |
2470 | display: -webkit-box; | 2470 | display: -webkit-box; |
2471 | display: -ms-flexbox; | 2471 | display: -ms-flexbox; |
2472 | display: flex; | 2472 | display: flex; |
2473 | } | 2473 | } |
2474 | } | 2474 | } |
2475 | 2475 | ||
2476 | .mob-menu { | 2476 | .mob-menu { |
2477 | display: none; | 2477 | display: none; |
2478 | position: fixed; | 2478 | position: fixed; |
2479 | bottom: 0; | 2479 | bottom: 0; |
2480 | left: 0; | 2480 | left: 0; |
2481 | width: 100vw; | 2481 | width: 100vw; |
2482 | height: calc(100vh - 42px); | 2482 | height: calc(100vh - 42px); |
2483 | z-index: 4; | 2483 | z-index: 4; |
2484 | background: #fff; | 2484 | background: #fff; |
2485 | overflow: hidden; | 2485 | overflow: hidden; |
2486 | overflow-y: auto; | 2486 | overflow-y: auto; |
2487 | padding: 50px 0; | 2487 | padding: 50px 0; |
2488 | } | 2488 | } |
2489 | .mob-menu__bottom { | 2489 | .mob-menu__bottom { |
2490 | display: -webkit-box; | 2490 | display: -webkit-box; |
2491 | display: -ms-flexbox; | 2491 | display: -ms-flexbox; |
2492 | display: flex; | 2492 | display: flex; |
2493 | -webkit-box-orient: vertical; | 2493 | -webkit-box-orient: vertical; |
2494 | -webkit-box-direction: normal; | 2494 | -webkit-box-direction: normal; |
2495 | -ms-flex-direction: column; | 2495 | -ms-flex-direction: column; |
2496 | flex-direction: column; | 2496 | flex-direction: column; |
2497 | -webkit-box-align: center; | 2497 | -webkit-box-align: center; |
2498 | -ms-flex-align: center; | 2498 | -ms-flex-align: center; |
2499 | align-items: center; | 2499 | align-items: center; |
2500 | margin-top: 80px; | 2500 | margin-top: 80px; |
2501 | } | 2501 | } |
2502 | .mob-menu__bottom .button { | 2502 | .mob-menu__bottom .button { |
2503 | min-width: 120px; | 2503 | min-width: 120px; |
2504 | } | 2504 | } |
2505 | .mob-menu__bottom-link { | 2505 | .mob-menu__bottom-link { |
2506 | text-decoration: underline; | 2506 | text-decoration: underline; |
2507 | margin-top: 50px; | 2507 | margin-top: 50px; |
2508 | } | 2508 | } |
2509 | .mob-menu__bottom-link:hover { | 2509 | .mob-menu__bottom-link:hover { |
2510 | color: #377d87; | 2510 | color: #377d87; |
2511 | } | 2511 | } |
2512 | .mob-menu__bottom-link + .mob-menu__bottom-link { | 2512 | .mob-menu__bottom-link + .mob-menu__bottom-link { |
2513 | margin-top: 10px; | 2513 | margin-top: 10px; |
2514 | } | 2514 | } |
2515 | .mob-menu__bottom .socials { | 2515 | .mob-menu__bottom .socials { |
2516 | margin-top: 35px; | 2516 | margin-top: 35px; |
2517 | } | 2517 | } |
2518 | .mob-menu .footer__mobile-menu { | 2518 | .mob-menu .footer__mobile-menu { |
2519 | opacity: 1; | 2519 | opacity: 1; |
2520 | height: auto; | 2520 | height: auto; |
2521 | overflow: visible; | 2521 | overflow: visible; |
2522 | } | 2522 | } |
2523 | .mob-menu .footer__mobile-menu-item button { | 2523 | .mob-menu .footer__mobile-menu-item button { |
2524 | -webkit-box-align: center; | 2524 | -webkit-box-align: center; |
2525 | -ms-flex-align: center; | 2525 | -ms-flex-align: center; |
2526 | align-items: center; | 2526 | align-items: center; |
2527 | } | 2527 | } |
2528 | .mob-menu .footer__mobile-menu-item div { | 2528 | .mob-menu .footer__mobile-menu-item div { |
2529 | font-size: 20px; | 2529 | font-size: 20px; |
2530 | } | 2530 | } |
2531 | .mob-menu .footer__mobile-contacts a { | 2531 | .mob-menu .footer__mobile-contacts a { |
2532 | font-size: 20px; | 2532 | font-size: 20px; |
2533 | font-weight: 700; | 2533 | font-weight: 700; |
2534 | color: #000; | 2534 | color: #000; |
2535 | text-decoration: none; | 2535 | text-decoration: none; |
2536 | } | 2536 | } |
2537 | .mob-menu .footer__mobile-contacts a:hover { | 2537 | .mob-menu .footer__mobile-contacts a:hover { |
2538 | color: #377d87; | 2538 | color: #377d87; |
2539 | } | 2539 | } |
2540 | .mob-menu .footer__mobile-menu-item button b, | 2540 | .mob-menu .footer__mobile-menu-item button b, |
2541 | .mob-menu .footer__mobile-contacts a { | 2541 | .mob-menu .footer__mobile-contacts a { |
2542 | font-size: 30px; | 2542 | font-size: 30px; |
2543 | } | 2543 | } |
2544 | 2544 | ||
2545 | .menu-is-actived { | 2545 | .menu-is-actived { |
2546 | overflow: hidden; | 2546 | overflow: hidden; |
2547 | } | 2547 | } |
2548 | @media (min-width: 992px) { | 2548 | @media (min-width: 992px) { |
2549 | .menu-is-actived { | 2549 | .menu-is-actived { |
2550 | overflow: auto; | 2550 | overflow: auto; |
2551 | } | 2551 | } |
2552 | } | 2552 | } |
2553 | .menu-is-actived .header__burger svg { | 2553 | .menu-is-actived .header__burger svg { |
2554 | display: none; | 2554 | display: none; |
2555 | } | 2555 | } |
2556 | .menu-is-actived .header__burger svg + svg { | 2556 | .menu-is-actived .header__burger svg + svg { |
2557 | display: block; | 2557 | display: block; |
2558 | } | 2558 | } |
2559 | .menu-is-actived .mob-menu { | 2559 | .menu-is-actived .mob-menu { |
2560 | display: block; | 2560 | display: block; |
2561 | } | 2561 | } |
2562 | @media (min-width: 992px) { | 2562 | @media (min-width: 992px) { |
2563 | .menu-is-actived .mob-menu { | 2563 | .menu-is-actived .mob-menu { |
2564 | display: none; | 2564 | display: none; |
2565 | } | 2565 | } |
2566 | } | 2566 | } |
2567 | 2567 | ||
2568 | .footer { | 2568 | .footer { |
2569 | -webkit-box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.25); | 2569 | -webkit-box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.25); |
2570 | box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.25); | 2570 | box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.25); |
2571 | background: #fff; | 2571 | background: #fff; |
2572 | position: relative; | 2572 | position: relative; |
2573 | z-index: 1; | 2573 | z-index: 1; |
2574 | overflow: hidden; | 2574 | overflow: hidden; |
2575 | } | 2575 | } |
2576 | .footer__mobile { | 2576 | .footer__mobile { |
2577 | display: -webkit-box; | 2577 | display: -webkit-box; |
2578 | display: -ms-flexbox; | 2578 | display: -ms-flexbox; |
2579 | display: flex; | 2579 | display: flex; |
2580 | -webkit-box-orient: vertical; | 2580 | -webkit-box-orient: vertical; |
2581 | -webkit-box-direction: normal; | 2581 | -webkit-box-direction: normal; |
2582 | -ms-flex-direction: column; | 2582 | -ms-flex-direction: column; |
2583 | flex-direction: column; | 2583 | flex-direction: column; |
2584 | padding: 25px 0 30px 0; | 2584 | padding: 25px 0 30px 0; |
2585 | } | 2585 | } |
2586 | @media (min-width: 768px) { | 2586 | @media (min-width: 768px) { |
2587 | .footer__mobile { | 2587 | .footer__mobile { |
2588 | padding: 30px 0; | 2588 | padding: 30px 0; |
2589 | } | 2589 | } |
2590 | } | 2590 | } |
2591 | @media (min-width: 992px) { | 2591 | @media (min-width: 992px) { |
2592 | .footer__mobile { | 2592 | .footer__mobile { |
2593 | display: none; | 2593 | display: none; |
2594 | } | 2594 | } |
2595 | } | 2595 | } |
2596 | .footer__mobile-toper { | 2596 | .footer__mobile-toper { |
2597 | display: -webkit-box; | 2597 | display: -webkit-box; |
2598 | display: -ms-flexbox; | 2598 | display: -ms-flexbox; |
2599 | display: flex; | 2599 | display: flex; |
2600 | -webkit-box-pack: justify; | 2600 | -webkit-box-pack: justify; |
2601 | -ms-flex-pack: justify; | 2601 | -ms-flex-pack: justify; |
2602 | justify-content: space-between; | 2602 | justify-content: space-between; |
2603 | -webkit-box-align: center; | 2603 | -webkit-box-align: center; |
2604 | -ms-flex-align: center; | 2604 | -ms-flex-align: center; |
2605 | align-items: center; | 2605 | align-items: center; |
2606 | padding: 0; | 2606 | padding: 0; |
2607 | border: none; | 2607 | border: none; |
2608 | background: none; | 2608 | background: none; |
2609 | } | 2609 | } |
2610 | .footer__mobile-toper a, | 2610 | .footer__mobile-toper a, |
2611 | .footer__mobile-toper b { | 2611 | .footer__mobile-toper b { |
2612 | display: -webkit-box; | 2612 | display: -webkit-box; |
2613 | display: -ms-flexbox; | 2613 | display: -ms-flexbox; |
2614 | display: flex; | 2614 | display: flex; |
2615 | -webkit-box-pack: center; | 2615 | -webkit-box-pack: center; |
2616 | -ms-flex-pack: center; | 2616 | -ms-flex-pack: center; |
2617 | justify-content: center; | 2617 | justify-content: center; |
2618 | -webkit-box-align: center; | 2618 | -webkit-box-align: center; |
2619 | -ms-flex-align: center; | 2619 | -ms-flex-align: center; |
2620 | align-items: center; | 2620 | align-items: center; |
2621 | color: #377d87; | 2621 | color: #377d87; |
2622 | } | 2622 | } |
2623 | .footer__mobile-toper a svg, | 2623 | .footer__mobile-toper a svg, |
2624 | .footer__mobile-toper b svg { | 2624 | .footer__mobile-toper b svg { |
2625 | width: 137px; | 2625 | width: 137px; |
2626 | height: 40px; | 2626 | height: 40px; |
2627 | } | 2627 | } |
2628 | .footer__mobile-toper span { | 2628 | .footer__mobile-toper span { |
2629 | width: 40px; | 2629 | width: 40px; |
2630 | height: 40px; | 2630 | height: 40px; |
2631 | display: -webkit-box; | 2631 | display: -webkit-box; |
2632 | display: -ms-flexbox; | 2632 | display: -ms-flexbox; |
2633 | display: flex; | 2633 | display: flex; |
2634 | -webkit-box-pack: center; | 2634 | -webkit-box-pack: center; |
2635 | -ms-flex-pack: center; | 2635 | -ms-flex-pack: center; |
2636 | justify-content: center; | 2636 | justify-content: center; |
2637 | -webkit-box-align: center; | 2637 | -webkit-box-align: center; |
2638 | -ms-flex-align: center; | 2638 | -ms-flex-align: center; |
2639 | align-items: center; | 2639 | align-items: center; |
2640 | background: #377d87; | 2640 | background: #377d87; |
2641 | color: #fff; | 2641 | color: #fff; |
2642 | border-radius: 999px; | 2642 | border-radius: 999px; |
2643 | } | 2643 | } |
2644 | .footer__mobile-toper span svg { | 2644 | .footer__mobile-toper span svg { |
2645 | width: 10px; | 2645 | width: 10px; |
2646 | height: 10px; | 2646 | height: 10px; |
2647 | -webkit-transition: 0.3s; | 2647 | -webkit-transition: 0.3s; |
2648 | transition: 0.3s; | 2648 | transition: 0.3s; |
2649 | } | 2649 | } |
2650 | .footer__mobile-toper.active span svg { | 2650 | .footer__mobile-toper.active span svg { |
2651 | -webkit-transform: rotate(180deg); | 2651 | -webkit-transform: rotate(180deg); |
2652 | -ms-transform: rotate(180deg); | 2652 | -ms-transform: rotate(180deg); |
2653 | transform: rotate(180deg); | 2653 | transform: rotate(180deg); |
2654 | } | 2654 | } |
2655 | .footer__mobile-menu { | 2655 | .footer__mobile-menu { |
2656 | height: 0; | 2656 | height: 0; |
2657 | opacity: 0; | 2657 | opacity: 0; |
2658 | overflow: hidden; | 2658 | overflow: hidden; |
2659 | -webkit-transition: 0.3s; | 2659 | -webkit-transition: 0.3s; |
2660 | transition: 0.3s; | 2660 | transition: 0.3s; |
2661 | display: -webkit-box; | 2661 | display: -webkit-box; |
2662 | display: -ms-flexbox; | 2662 | display: -ms-flexbox; |
2663 | display: flex; | 2663 | display: flex; |
2664 | -webkit-box-orient: vertical; | 2664 | -webkit-box-orient: vertical; |
2665 | -webkit-box-direction: normal; | 2665 | -webkit-box-direction: normal; |
2666 | -ms-flex-direction: column; | 2666 | -ms-flex-direction: column; |
2667 | flex-direction: column; | 2667 | flex-direction: column; |
2668 | gap: 30px; | 2668 | gap: 30px; |
2669 | } | 2669 | } |
2670 | @media (min-width: 768px) { | 2670 | @media (min-width: 768px) { |
2671 | .footer__mobile-menu { | 2671 | .footer__mobile-menu { |
2672 | display: grid; | 2672 | display: grid; |
2673 | grid-template-columns: 1fr 1fr; | 2673 | grid-template-columns: 1fr 1fr; |
2674 | gap: 100px; | 2674 | gap: 100px; |
2675 | } | 2675 | } |
2676 | } | 2676 | } |
2677 | .footer__mobile-menu-item { | 2677 | .footer__mobile-menu-item { |
2678 | display: -webkit-box; | 2678 | display: -webkit-box; |
2679 | display: -ms-flexbox; | 2679 | display: -ms-flexbox; |
2680 | display: flex; | 2680 | display: flex; |
2681 | -webkit-box-orient: vertical; | 2681 | -webkit-box-orient: vertical; |
2682 | -webkit-box-direction: normal; | 2682 | -webkit-box-direction: normal; |
2683 | -ms-flex-direction: column; | 2683 | -ms-flex-direction: column; |
2684 | flex-direction: column; | 2684 | flex-direction: column; |
2685 | } | 2685 | } |
2686 | .footer__mobile-menu-item button { | 2686 | .footer__mobile-menu-item button { |
2687 | display: -webkit-box; | 2687 | display: -webkit-box; |
2688 | display: -ms-flexbox; | 2688 | display: -ms-flexbox; |
2689 | display: flex; | 2689 | display: flex; |
2690 | -webkit-box-align: start; | 2690 | -webkit-box-align: start; |
2691 | -ms-flex-align: start; | 2691 | -ms-flex-align: start; |
2692 | align-items: flex-start; | 2692 | align-items: flex-start; |
2693 | padding: 0; | 2693 | padding: 0; |
2694 | border: none; | 2694 | border: none; |
2695 | background: none; | 2695 | background: none; |
2696 | } | 2696 | } |
2697 | .footer__mobile-menu-item button.active { | 2697 | .footer__mobile-menu-item button.active { |
2698 | color: #377d87; | 2698 | color: #377d87; |
2699 | } | 2699 | } |
2700 | .footer__mobile-menu-item button b { | 2700 | .footer__mobile-menu-item button b { |
2701 | width: calc(100% - 24px); | 2701 | width: calc(100% - 24px); |
2702 | padding-right: 12px; | 2702 | padding-right: 12px; |
2703 | min-height: 24px; | 2703 | min-height: 24px; |
2704 | display: -webkit-box; | 2704 | display: -webkit-box; |
2705 | display: -ms-flexbox; | 2705 | display: -ms-flexbox; |
2706 | display: flex; | 2706 | display: flex; |
2707 | -webkit-box-align: center; | 2707 | -webkit-box-align: center; |
2708 | -ms-flex-align: center; | 2708 | -ms-flex-align: center; |
2709 | align-items: center; | 2709 | align-items: center; |
2710 | font-size: 20px; | 2710 | font-size: 20px; |
2711 | font-weight: 700; | 2711 | font-weight: 700; |
2712 | } | 2712 | } |
2713 | .footer__mobile-menu-item button span { | 2713 | .footer__mobile-menu-item button span { |
2714 | width: 24px; | 2714 | width: 24px; |
2715 | height: 24px; | 2715 | height: 24px; |
2716 | display: -webkit-box; | 2716 | display: -webkit-box; |
2717 | display: -ms-flexbox; | 2717 | display: -ms-flexbox; |
2718 | display: flex; | 2718 | display: flex; |
2719 | -webkit-box-pack: center; | 2719 | -webkit-box-pack: center; |
2720 | -ms-flex-pack: center; | 2720 | -ms-flex-pack: center; |
2721 | justify-content: center; | 2721 | justify-content: center; |
2722 | -webkit-box-align: center; | 2722 | -webkit-box-align: center; |
2723 | -ms-flex-align: center; | 2723 | -ms-flex-align: center; |
2724 | align-items: center; | 2724 | align-items: center; |
2725 | padding: 0; | 2725 | padding: 0; |
2726 | border: none; | 2726 | border: none; |
2727 | background: none; | 2727 | background: none; |
2728 | } | 2728 | } |
2729 | .footer__mobile-menu-item button svg { | 2729 | .footer__mobile-menu-item button svg { |
2730 | width: 12px; | 2730 | width: 12px; |
2731 | height: 12px; | 2731 | height: 12px; |
2732 | -webkit-transition: 0.3s; | 2732 | -webkit-transition: 0.3s; |
2733 | transition: 0.3s; | 2733 | transition: 0.3s; |
2734 | -webkit-transform: rotate(180deg); | 2734 | -webkit-transform: rotate(180deg); |
2735 | -ms-transform: rotate(180deg); | 2735 | -ms-transform: rotate(180deg); |
2736 | transform: rotate(180deg); | 2736 | transform: rotate(180deg); |
2737 | } | 2737 | } |
2738 | .footer__mobile-menu-item button.active svg { | 2738 | .footer__mobile-menu-item button.active svg { |
2739 | -webkit-transform: rotate(0deg); | 2739 | -webkit-transform: rotate(0deg); |
2740 | -ms-transform: rotate(0deg); | 2740 | -ms-transform: rotate(0deg); |
2741 | transform: rotate(0deg); | 2741 | transform: rotate(0deg); |
2742 | } | 2742 | } |
2743 | .footer__mobile-menu-item div { | 2743 | .footer__mobile-menu-item div { |
2744 | height: 0; | 2744 | height: 0; |
2745 | opacity: 0; | 2745 | opacity: 0; |
2746 | overflow: hidden; | 2746 | overflow: hidden; |
2747 | -webkit-transition: 0.3s; | 2747 | -webkit-transition: 0.3s; |
2748 | transition: 0.3s; | 2748 | transition: 0.3s; |
2749 | display: -webkit-box; | 2749 | display: -webkit-box; |
2750 | display: -ms-flexbox; | 2750 | display: -ms-flexbox; |
2751 | display: flex; | 2751 | display: flex; |
2752 | -webkit-box-orient: vertical; | 2752 | -webkit-box-orient: vertical; |
2753 | -webkit-box-direction: normal; | 2753 | -webkit-box-direction: normal; |
2754 | -ms-flex-direction: column; | 2754 | -ms-flex-direction: column; |
2755 | flex-direction: column; | 2755 | flex-direction: column; |
2756 | gap: 15px; | 2756 | gap: 15px; |
2757 | } | 2757 | } |
2758 | .footer__mobile-menu-item div a:hover { | 2758 | .footer__mobile-menu-item div a:hover { |
2759 | color: #377d87; | 2759 | color: #377d87; |
2760 | } | 2760 | } |
2761 | .footer__mobile-menu-item .active + div { | 2761 | .footer__mobile-menu-item .active + div { |
2762 | opacity: 1; | 2762 | opacity: 1; |
2763 | height: auto; | 2763 | height: auto; |
2764 | overflow: visible; | 2764 | overflow: visible; |
2765 | padding-top: 15px; | 2765 | padding-top: 15px; |
2766 | } | 2766 | } |
2767 | .active + .footer__mobile-menu { | 2767 | .active + .footer__mobile-menu { |
2768 | opacity: 1; | 2768 | opacity: 1; |
2769 | height: auto; | 2769 | height: auto; |
2770 | overflow: visible; | 2770 | overflow: visible; |
2771 | padding-top: 35px; | 2771 | padding-top: 35px; |
2772 | } | 2772 | } |
2773 | .footer__mobile-contacts { | 2773 | .footer__mobile-contacts { |
2774 | display: -webkit-box; | 2774 | display: -webkit-box; |
2775 | display: -ms-flexbox; | 2775 | display: -ms-flexbox; |
2776 | display: flex; | 2776 | display: flex; |
2777 | -webkit-box-pack: justify; | 2777 | -webkit-box-pack: justify; |
2778 | -ms-flex-pack: justify; | 2778 | -ms-flex-pack: justify; |
2779 | justify-content: space-between; | 2779 | justify-content: space-between; |
2780 | -webkit-box-align: start; | 2780 | -webkit-box-align: start; |
2781 | -ms-flex-align: start; | 2781 | -ms-flex-align: start; |
2782 | align-items: flex-start; | 2782 | align-items: flex-start; |
2783 | -ms-flex-wrap: wrap; | 2783 | -ms-flex-wrap: wrap; |
2784 | flex-wrap: wrap; | 2784 | flex-wrap: wrap; |
2785 | margin-top: 30px; | 2785 | margin-top: 30px; |
2786 | } | 2786 | } |
2787 | .footer__mobile-contacts b { | 2787 | .footer__mobile-contacts b { |
2788 | font-size: 20px; | 2788 | font-size: 20px; |
2789 | font-weight: 700; | 2789 | font-weight: 700; |
2790 | width: 100%; | 2790 | width: 100%; |
2791 | margin-bottom: 20px; | 2791 | margin-bottom: 20px; |
2792 | } | 2792 | } |
2793 | .footer__mobile-contacts a { | 2793 | .footer__mobile-contacts a { |
2794 | color: #377d87; | 2794 | color: #377d87; |
2795 | text-decoration: underline; | 2795 | text-decoration: underline; |
2796 | } | 2796 | } |
2797 | .footer__mobile-contacts a + a { | 2797 | .footer__mobile-contacts a + a { |
2798 | color: #000; | 2798 | color: #000; |
2799 | } | 2799 | } |
2800 | .footer__mobile-bottom { | 2800 | .footer__mobile-bottom { |
2801 | display: -webkit-box; | 2801 | display: -webkit-box; |
2802 | display: -ms-flexbox; | 2802 | display: -ms-flexbox; |
2803 | display: flex; | 2803 | display: flex; |
2804 | -webkit-box-orient: vertical; | 2804 | -webkit-box-orient: vertical; |
2805 | -webkit-box-direction: normal; | 2805 | -webkit-box-direction: normal; |
2806 | -ms-flex-direction: column; | 2806 | -ms-flex-direction: column; |
2807 | flex-direction: column; | 2807 | flex-direction: column; |
2808 | -webkit-box-align: center; | 2808 | -webkit-box-align: center; |
2809 | -ms-flex-align: center; | 2809 | -ms-flex-align: center; |
2810 | align-items: center; | 2810 | align-items: center; |
2811 | text-align: center; | 2811 | text-align: center; |
2812 | gap: 20px; | 2812 | gap: 20px; |
2813 | margin-top: 100px; | 2813 | margin-top: 100px; |
2814 | } | 2814 | } |
2815 | .footer__mobile-links { | 2815 | .footer__mobile-links { |
2816 | display: -webkit-box; | 2816 | display: -webkit-box; |
2817 | display: -ms-flexbox; | 2817 | display: -ms-flexbox; |
2818 | display: flex; | 2818 | display: flex; |
2819 | -webkit-box-orient: vertical; | 2819 | -webkit-box-orient: vertical; |
2820 | -webkit-box-direction: normal; | 2820 | -webkit-box-direction: normal; |
2821 | -ms-flex-direction: column; | 2821 | -ms-flex-direction: column; |
2822 | flex-direction: column; | 2822 | flex-direction: column; |
2823 | -webkit-box-align: center; | 2823 | -webkit-box-align: center; |
2824 | -ms-flex-align: center; | 2824 | -ms-flex-align: center; |
2825 | align-items: center; | 2825 | align-items: center; |
2826 | gap: 10px; | 2826 | gap: 10px; |
2827 | } | 2827 | } |
2828 | .footer__mobile-links a:hover { | 2828 | .footer__mobile-links a:hover { |
2829 | color: #377d87; | 2829 | color: #377d87; |
2830 | } | 2830 | } |
2831 | .footer__mobile-links span { | 2831 | .footer__mobile-links span { |
2832 | width: 60px; | 2832 | width: 60px; |
2833 | height: 1px; | 2833 | height: 1px; |
2834 | background: #377d87; | 2834 | background: #377d87; |
2835 | } | 2835 | } |
2836 | .footer__main { | 2836 | .footer__main { |
2837 | display: none; | 2837 | display: none; |
2838 | padding: 55px 0 20px 0; | 2838 | padding: 55px 0 20px 0; |
2839 | -webkit-box-orient: vertical; | 2839 | -webkit-box-orient: vertical; |
2840 | -webkit-box-direction: normal; | 2840 | -webkit-box-direction: normal; |
2841 | -ms-flex-direction: column; | 2841 | -ms-flex-direction: column; |
2842 | flex-direction: column; | 2842 | flex-direction: column; |
2843 | gap: 70px; | 2843 | gap: 70px; |
2844 | } | 2844 | } |
2845 | @media (min-width: 992px) { | 2845 | @media (min-width: 992px) { |
2846 | .footer__main { | 2846 | .footer__main { |
2847 | display: -webkit-box; | 2847 | display: -webkit-box; |
2848 | display: -ms-flexbox; | 2848 | display: -ms-flexbox; |
2849 | display: flex; | 2849 | display: flex; |
2850 | } | 2850 | } |
2851 | } | 2851 | } |
2852 | .footer__main-body { | 2852 | .footer__main-body { |
2853 | display: -webkit-box; | 2853 | display: -webkit-box; |
2854 | display: -ms-flexbox; | 2854 | display: -ms-flexbox; |
2855 | display: flex; | 2855 | display: flex; |
2856 | -webkit-box-pack: justify; | 2856 | -webkit-box-pack: justify; |
2857 | -ms-flex-pack: justify; | 2857 | -ms-flex-pack: justify; |
2858 | justify-content: space-between; | 2858 | justify-content: space-between; |
2859 | -webkit-box-align: start; | 2859 | -webkit-box-align: start; |
2860 | -ms-flex-align: start; | 2860 | -ms-flex-align: start; |
2861 | align-items: flex-start; | 2861 | align-items: flex-start; |
2862 | } | 2862 | } |
2863 | .footer__main-logo { | 2863 | .footer__main-logo { |
2864 | display: -webkit-box; | 2864 | display: -webkit-box; |
2865 | display: -ms-flexbox; | 2865 | display: -ms-flexbox; |
2866 | display: flex; | 2866 | display: flex; |
2867 | -webkit-box-pack: center; | 2867 | -webkit-box-pack: center; |
2868 | -ms-flex-pack: center; | 2868 | -ms-flex-pack: center; |
2869 | justify-content: center; | 2869 | justify-content: center; |
2870 | -webkit-box-align: center; | 2870 | -webkit-box-align: center; |
2871 | -ms-flex-align: center; | 2871 | -ms-flex-align: center; |
2872 | align-items: center; | 2872 | align-items: center; |
2873 | color: #377d87; | 2873 | color: #377d87; |
2874 | } | 2874 | } |
2875 | .footer__main-logo svg { | 2875 | .footer__main-logo svg { |
2876 | width: 182px; | 2876 | width: 182px; |
2877 | height: 54px; | 2877 | height: 54px; |
2878 | } | 2878 | } |
2879 | .footer__main-title { | 2879 | .footer__main-title { |
2880 | font-size: 20px; | 2880 | font-size: 20px; |
2881 | font-weight: 700; | 2881 | font-weight: 700; |
2882 | margin-bottom: 16px; | 2882 | margin-bottom: 16px; |
2883 | } | 2883 | } |
2884 | .footer__main-col { | 2884 | .footer__main-col { |
2885 | display: -webkit-box; | 2885 | display: -webkit-box; |
2886 | display: -ms-flexbox; | 2886 | display: -ms-flexbox; |
2887 | display: flex; | 2887 | display: flex; |
2888 | -webkit-box-orient: vertical; | 2888 | -webkit-box-orient: vertical; |
2889 | -webkit-box-direction: normal; | 2889 | -webkit-box-direction: normal; |
2890 | -ms-flex-direction: column; | 2890 | -ms-flex-direction: column; |
2891 | flex-direction: column; | 2891 | flex-direction: column; |
2892 | -webkit-box-align: start; | 2892 | -webkit-box-align: start; |
2893 | -ms-flex-align: start; | 2893 | -ms-flex-align: start; |
2894 | align-items: flex-start; | 2894 | align-items: flex-start; |
2895 | } | 2895 | } |
2896 | .footer__main-col nav { | 2896 | .footer__main-col nav { |
2897 | display: -webkit-box; | 2897 | display: -webkit-box; |
2898 | display: -ms-flexbox; | 2898 | display: -ms-flexbox; |
2899 | display: flex; | 2899 | display: flex; |
2900 | -webkit-box-orient: vertical; | 2900 | -webkit-box-orient: vertical; |
2901 | -webkit-box-direction: normal; | 2901 | -webkit-box-direction: normal; |
2902 | -ms-flex-direction: column; | 2902 | -ms-flex-direction: column; |
2903 | flex-direction: column; | 2903 | flex-direction: column; |
2904 | -webkit-box-align: start; | 2904 | -webkit-box-align: start; |
2905 | -ms-flex-align: start; | 2905 | -ms-flex-align: start; |
2906 | align-items: flex-start; | 2906 | align-items: flex-start; |
2907 | gap: 8px; | 2907 | gap: 8px; |
2908 | } | 2908 | } |
2909 | .footer__main-col nav a:hover { | 2909 | .footer__main-col nav a:hover { |
2910 | color: #377d87; | 2910 | color: #377d87; |
2911 | } | 2911 | } |
2912 | .footer__main-contacts { | 2912 | .footer__main-contacts { |
2913 | display: -webkit-box; | 2913 | display: -webkit-box; |
2914 | display: -ms-flexbox; | 2914 | display: -ms-flexbox; |
2915 | display: flex; | 2915 | display: flex; |
2916 | -webkit-box-orient: vertical; | 2916 | -webkit-box-orient: vertical; |
2917 | -webkit-box-direction: normal; | 2917 | -webkit-box-direction: normal; |
2918 | -ms-flex-direction: column; | 2918 | -ms-flex-direction: column; |
2919 | flex-direction: column; | 2919 | flex-direction: column; |
2920 | -webkit-box-align: start; | 2920 | -webkit-box-align: start; |
2921 | -ms-flex-align: start; | 2921 | -ms-flex-align: start; |
2922 | align-items: flex-start; | 2922 | align-items: flex-start; |
2923 | gap: 16px; | 2923 | gap: 16px; |
2924 | margin-bottom: 16px; | 2924 | margin-bottom: 16px; |
2925 | } | 2925 | } |
2926 | .footer__main-contacts a { | 2926 | .footer__main-contacts a { |
2927 | color: #377d87; | 2927 | color: #377d87; |
2928 | text-decoration: underline; | 2928 | text-decoration: underline; |
2929 | } | 2929 | } |
2930 | .footer__main-contacts a + a { | 2930 | .footer__main-contacts a + a { |
2931 | color: #000; | 2931 | color: #000; |
2932 | } | 2932 | } |
2933 | .footer__main-copy { | 2933 | .footer__main-copy { |
2934 | display: -webkit-box; | 2934 | display: -webkit-box; |
2935 | display: -ms-flexbox; | 2935 | display: -ms-flexbox; |
2936 | display: flex; | 2936 | display: flex; |
2937 | -webkit-box-pack: justify; | 2937 | -webkit-box-pack: justify; |
2938 | -ms-flex-pack: justify; | 2938 | -ms-flex-pack: justify; |
2939 | justify-content: space-between; | 2939 | justify-content: space-between; |
2940 | -webkit-box-align: center; | 2940 | -webkit-box-align: center; |
2941 | -ms-flex-align: center; | 2941 | -ms-flex-align: center; |
2942 | align-items: center; | 2942 | align-items: center; |
2943 | font-size: 14px; | 2943 | font-size: 14px; |
2944 | line-height: 1.4; | 2944 | line-height: 1.4; |
2945 | } | 2945 | } |
2946 | .footer__main-copy nav { | 2946 | .footer__main-copy nav { |
2947 | display: -webkit-box; | 2947 | display: -webkit-box; |
2948 | display: -ms-flexbox; | 2948 | display: -ms-flexbox; |
2949 | display: flex; | 2949 | display: flex; |
2950 | -webkit-box-align: center; | 2950 | -webkit-box-align: center; |
2951 | -ms-flex-align: center; | 2951 | -ms-flex-align: center; |
2952 | align-items: center; | 2952 | align-items: center; |
2953 | gap: 10px; | 2953 | gap: 10px; |
2954 | } | 2954 | } |
2955 | .footer__main-copy nav a:hover { | 2955 | .footer__main-copy nav a:hover { |
2956 | color: #377d87; | 2956 | color: #377d87; |
2957 | } | 2957 | } |
2958 | .footer__main-copy nav span { | 2958 | .footer__main-copy nav span { |
2959 | width: 1px; | 2959 | width: 1px; |
2960 | height: 20px; | 2960 | height: 20px; |
2961 | background: #000; | 2961 | background: #000; |
2962 | } | 2962 | } |
2963 | 2963 | ||
2964 | .main { | 2964 | .main { |
2965 | position: relative; | 2965 | position: relative; |
2966 | overflow: hidden; | 2966 | overflow: hidden; |
2967 | padding: 30px 0; | 2967 | padding: 30px 0; |
2968 | } | 2968 | } |
2969 | @media (min-width: 768px) { | 2969 | @media (min-width: 768px) { |
2970 | .main { | 2970 | .main { |
2971 | padding: 40px 0; | 2971 | padding: 40px 0; |
2972 | } | 2972 | } |
2973 | } | 2973 | } |
2974 | @media (min-width: 992px) { | 2974 | @media (min-width: 992px) { |
2975 | .main { | 2975 | .main { |
2976 | padding: 50px 0; | 2976 | padding: 50px 0; |
2977 | } | 2977 | } |
2978 | } | 2978 | } |
2979 | @media (min-width: 1280px) { | 2979 | @media (min-width: 1280px) { |
2980 | .main { | 2980 | .main { |
2981 | padding: 60px 0; | 2981 | padding: 60px 0; |
2982 | } | 2982 | } |
2983 | } | 2983 | } |
2984 | .main h2 { | 2984 | .main h2 { |
2985 | margin: 0; | 2985 | margin: 0; |
2986 | font-weight: 700; | 2986 | font-weight: 700; |
2987 | font-size: 30px; | 2987 | font-size: 30px; |
2988 | } | 2988 | } |
2989 | @media (min-width: 768px) { | 2989 | @media (min-width: 768px) { |
2990 | .main h2 { | 2990 | .main h2 { |
2991 | font-size: 44px; | 2991 | font-size: 44px; |
2992 | } | 2992 | } |
2993 | } | 2993 | } |
2994 | .main h3 { | 2994 | .main h3 { |
2995 | margin: 0; | 2995 | margin: 0; |
2996 | font-weight: 700; | 2996 | font-weight: 700; |
2997 | font-size: 22px; | 2997 | font-size: 22px; |
2998 | } | 2998 | } |
2999 | @media (min-width: 768px) { | 2999 | @media (min-width: 768px) { |
3000 | .main h3 { | 3000 | .main h3 { |
3001 | font-size: 28px; | 3001 | font-size: 28px; |
3002 | } | 3002 | } |
3003 | } | 3003 | } |
3004 | .main p { | 3004 | .main p { |
3005 | margin: 0; | 3005 | margin: 0; |
3006 | font-size: 14px; | 3006 | font-size: 14px; |
3007 | line-height: 1.4; | 3007 | line-height: 1.4; |
3008 | } | 3008 | } |
3009 | @media (min-width: 768px) { | 3009 | @media (min-width: 768px) { |
3010 | .main p { | 3010 | .main p { |
3011 | font-size: 18px; | 3011 | font-size: 18px; |
3012 | } | 3012 | } |
3013 | } | 3013 | } |
3014 | .main p a { | 3014 | .main p a { |
3015 | color: #4d88d9; | 3015 | color: #4d88d9; |
3016 | } | 3016 | } |
3017 | .main p a:hover { | 3017 | .main p a:hover { |
3018 | color: #377d87; | 3018 | color: #377d87; |
3019 | } | 3019 | } |
3020 | .main__breadcrumbs { | 3020 | .main__breadcrumbs { |
3021 | margin-bottom: 20px; | 3021 | margin-bottom: 20px; |
3022 | } | 3022 | } |
3023 | @media (min-width: 768px) { | 3023 | @media (min-width: 768px) { |
3024 | .main__breadcrumbs { | 3024 | .main__breadcrumbs { |
3025 | margin-bottom: 40px; | 3025 | margin-bottom: 40px; |
3026 | } | 3026 | } |
3027 | } | 3027 | } |
3028 | .main__content { | 3028 | .main__content { |
3029 | display: -webkit-box; | 3029 | display: -webkit-box; |
3030 | display: -ms-flexbox; | 3030 | display: -ms-flexbox; |
3031 | display: flex; | 3031 | display: flex; |
3032 | -webkit-box-orient: vertical; | 3032 | -webkit-box-orient: vertical; |
3033 | -webkit-box-direction: normal; | 3033 | -webkit-box-direction: normal; |
3034 | -ms-flex-direction: column; | 3034 | -ms-flex-direction: column; |
3035 | flex-direction: column; | 3035 | flex-direction: column; |
3036 | gap: 20px; | 3036 | gap: 20px; |
3037 | font-size: 14px; | 3037 | font-size: 14px; |
3038 | } | 3038 | } |
3039 | @media (min-width: 992px) { | 3039 | @media (min-width: 992px) { |
3040 | .main__content { | 3040 | .main__content { |
3041 | font-size: 18px; | 3041 | font-size: 18px; |
3042 | gap: 32px; | 3042 | gap: 32px; |
3043 | } | 3043 | } |
3044 | } | 3044 | } |
3045 | .main__content-item { | 3045 | .main__content-item { |
3046 | display: -webkit-box; | 3046 | display: -webkit-box; |
3047 | display: -ms-flexbox; | 3047 | display: -ms-flexbox; |
3048 | display: flex; | 3048 | display: flex; |
3049 | -webkit-box-orient: vertical; | 3049 | -webkit-box-orient: vertical; |
3050 | -webkit-box-direction: normal; | 3050 | -webkit-box-direction: normal; |
3051 | -ms-flex-direction: column; | 3051 | -ms-flex-direction: column; |
3052 | flex-direction: column; | 3052 | flex-direction: column; |
3053 | gap: 16px; | 3053 | gap: 16px; |
3054 | } | 3054 | } |
3055 | .main__content h1, | 3055 | .main__content h1, |
3056 | .main__content h2, | 3056 | .main__content h2, |
3057 | .main__content h3, | 3057 | .main__content h3, |
3058 | .main__content h4, | 3058 | .main__content h4, |
3059 | .main__content h5, | 3059 | .main__content h5, |
3060 | .main__content h6 { | 3060 | .main__content h6 { |
3061 | color: #000; | 3061 | color: #000; |
3062 | } | 3062 | } |
3063 | .main__content ul, | 3063 | .main__content ul, |
3064 | .main__content ol { | 3064 | .main__content ol { |
3065 | padding: 0; | 3065 | padding: 0; |
3066 | margin: 0; | 3066 | margin: 0; |
3067 | padding-left: 20px; | 3067 | padding-left: 20px; |
3068 | display: -webkit-box; | 3068 | display: -webkit-box; |
3069 | display: -ms-flexbox; | 3069 | display: -ms-flexbox; |
3070 | display: flex; | 3070 | display: flex; |
3071 | -webkit-box-orient: vertical; | 3071 | -webkit-box-orient: vertical; |
3072 | -webkit-box-direction: normal; | 3072 | -webkit-box-direction: normal; |
3073 | -ms-flex-direction: column; | 3073 | -ms-flex-direction: column; |
3074 | flex-direction: column; | 3074 | flex-direction: column; |
3075 | gap: 8px; | 3075 | gap: 8px; |
3076 | } | 3076 | } |
3077 | @media (min-width: 992px) { | 3077 | @media (min-width: 992px) { |
3078 | .main__content ul, | 3078 | .main__content ul, |
3079 | .main__content ol { | 3079 | .main__content ol { |
3080 | gap: 16px; | 3080 | gap: 16px; |
3081 | padding-left: 30px; | 3081 | padding-left: 30px; |
3082 | } | 3082 | } |
3083 | } | 3083 | } |
3084 | .main__content li ul, | 3084 | .main__content li ul, |
3085 | .main__content li ol { | 3085 | .main__content li ol { |
3086 | margin-top: 8px; | 3086 | margin-top: 8px; |
3087 | } | 3087 | } |
3088 | @media (min-width: 992px) { | 3088 | @media (min-width: 992px) { |
3089 | .main__content li ul, | 3089 | .main__content li ul, |
3090 | .main__content li ol { | 3090 | .main__content li ol { |
3091 | margin-top: 16px; | 3091 | margin-top: 16px; |
3092 | } | 3092 | } |
3093 | } | 3093 | } |
3094 | .main__content li ul li, | 3094 | .main__content li ul li, |
3095 | .main__content li ol li { | 3095 | .main__content li ol li { |
3096 | list-style-type: disc; | 3096 | list-style-type: disc; |
3097 | } | 3097 | } |
3098 | .main__gallery { | 3098 | .main__gallery { |
3099 | display: -webkit-box; | 3099 | display: -webkit-box; |
3100 | display: -ms-flexbox; | 3100 | display: -ms-flexbox; |
3101 | display: flex; | 3101 | display: flex; |
3102 | -webkit-box-orient: vertical; | 3102 | -webkit-box-orient: vertical; |
3103 | -webkit-box-direction: normal; | 3103 | -webkit-box-direction: normal; |
3104 | -ms-flex-direction: column; | 3104 | -ms-flex-direction: column; |
3105 | flex-direction: column; | 3105 | flex-direction: column; |
3106 | gap: 20px; | 3106 | gap: 20px; |
3107 | } | 3107 | } |
3108 | @media (min-width: 768px) { | 3108 | @media (min-width: 768px) { |
3109 | .main__gallery { | 3109 | .main__gallery { |
3110 | display: grid; | 3110 | display: grid; |
3111 | grid-template-columns: repeat(2, 1fr); | 3111 | grid-template-columns: repeat(2, 1fr); |
3112 | } | 3112 | } |
3113 | } | 3113 | } |
3114 | @media (min-width: 992px) { | 3114 | @media (min-width: 992px) { |
3115 | .main__gallery { | 3115 | .main__gallery { |
3116 | grid-template-columns: repeat(3, 1fr); | 3116 | grid-template-columns: repeat(3, 1fr); |
3117 | } | 3117 | } |
3118 | } | 3118 | } |
3119 | .main__gallery-item { | 3119 | .main__gallery-item { |
3120 | width: 100%; | 3120 | width: 100%; |
3121 | aspect-ratio: 400/224; | 3121 | aspect-ratio: 400/224; |
3122 | border-radius: 30px; | 3122 | border-radius: 30px; |
3123 | position: relative; | 3123 | position: relative; |
3124 | overflow: hidden; | 3124 | overflow: hidden; |
3125 | } | 3125 | } |
3126 | .main__gallery-item:hover { | 3126 | .main__gallery-item:hover { |
3127 | -webkit-filter: brightness(1.1); | 3127 | -webkit-filter: brightness(1.1); |
3128 | filter: brightness(1.1); | 3128 | filter: brightness(1.1); |
3129 | } | 3129 | } |
3130 | .main__gallery-item img { | 3130 | .main__gallery-item img { |
3131 | position: absolute; | 3131 | position: absolute; |
3132 | top: 0; | 3132 | top: 0; |
3133 | left: 0; | 3133 | left: 0; |
3134 | width: 100%; | 3134 | width: 100%; |
3135 | height: 100%; | 3135 | height: 100%; |
3136 | -o-object-fit: cover; | 3136 | -o-object-fit: cover; |
3137 | object-fit: cover; | 3137 | object-fit: cover; |
3138 | } | 3138 | } |
3139 | .main__employers { | 3139 | .main__employers { |
3140 | display: -webkit-box; | 3140 | display: -webkit-box; |
3141 | display: -ms-flexbox; | 3141 | display: -ms-flexbox; |
3142 | display: flex; | 3142 | display: flex; |
3143 | -webkit-box-orient: vertical; | 3143 | -webkit-box-orient: vertical; |
3144 | -webkit-box-direction: normal; | 3144 | -webkit-box-direction: normal; |
3145 | -ms-flex-direction: column; | 3145 | -ms-flex-direction: column; |
3146 | flex-direction: column; | 3146 | flex-direction: column; |
3147 | gap: 10px; | 3147 | gap: 10px; |
3148 | } | 3148 | } |
3149 | @media (min-width: 768px) { | 3149 | @media (min-width: 768px) { |
3150 | .main__employers { | 3150 | .main__employers { |
3151 | gap: 30px; | 3151 | gap: 30px; |
3152 | } | 3152 | } |
3153 | } | 3153 | } |
3154 | .main__employers-body { | 3154 | .main__employers-body { |
3155 | display: none; | 3155 | display: none; |
3156 | -webkit-box-orient: vertical; | 3156 | -webkit-box-orient: vertical; |
3157 | -webkit-box-direction: normal; | 3157 | -webkit-box-direction: normal; |
3158 | -ms-flex-direction: column; | 3158 | -ms-flex-direction: column; |
3159 | flex-direction: column; | 3159 | flex-direction: column; |
3160 | gap: 20px; | 3160 | gap: 20px; |
3161 | } | 3161 | } |
3162 | @media (min-width: 992px) { | 3162 | @media (min-width: 992px) { |
3163 | .main__employers-body { | 3163 | .main__employers-body { |
3164 | gap: 30px; | 3164 | gap: 30px; |
3165 | } | 3165 | } |
3166 | } | 3166 | } |
3167 | .main__employers-body.showed { | 3167 | .main__employers-body.showed { |
3168 | display: -webkit-box; | 3168 | display: -webkit-box; |
3169 | display: -ms-flexbox; | 3169 | display: -ms-flexbox; |
3170 | display: flex; | 3170 | display: flex; |
3171 | } | 3171 | } |
3172 | .main__employers-item { | 3172 | .main__employers-item { |
3173 | display: -webkit-box; | 3173 | display: -webkit-box; |
3174 | display: -ms-flexbox; | 3174 | display: -ms-flexbox; |
3175 | display: flex; | 3175 | display: flex; |
3176 | -webkit-box-orient: vertical; | 3176 | -webkit-box-orient: vertical; |
3177 | -webkit-box-direction: normal; | 3177 | -webkit-box-direction: normal; |
3178 | -ms-flex-direction: column; | 3178 | -ms-flex-direction: column; |
3179 | flex-direction: column; | 3179 | flex-direction: column; |
3180 | border: 1px solid #cecece; | 3180 | border: 1px solid #cecece; |
3181 | border-radius: 8px; | 3181 | border-radius: 8px; |
3182 | position: relative; | 3182 | position: relative; |
3183 | overflow: hidden; | 3183 | overflow: hidden; |
3184 | padding: 10px; | 3184 | padding: 10px; |
3185 | padding-top: 50px; | 3185 | padding-top: 50px; |
3186 | padding-bottom: 30px; | 3186 | padding-bottom: 30px; |
3187 | } | 3187 | } |
3188 | @media (min-width: 768px) { | 3188 | @media (min-width: 768px) { |
3189 | .main__employers-item { | 3189 | .main__employers-item { |
3190 | -webkit-box-orient: horizontal; | 3190 | -webkit-box-orient: horizontal; |
3191 | -webkit-box-direction: normal; | 3191 | -webkit-box-direction: normal; |
3192 | -ms-flex-direction: row; | 3192 | -ms-flex-direction: row; |
3193 | flex-direction: row; | 3193 | flex-direction: row; |
3194 | -webkit-box-align: center; | 3194 | -webkit-box-align: center; |
3195 | -ms-flex-align: center; | 3195 | -ms-flex-align: center; |
3196 | align-items: center; | 3196 | align-items: center; |
3197 | -webkit-box-pack: justify; | 3197 | -webkit-box-pack: justify; |
3198 | -ms-flex-pack: justify; | 3198 | -ms-flex-pack: justify; |
3199 | justify-content: space-between; | 3199 | justify-content: space-between; |
3200 | padding: 55px 20px; | 3200 | padding: 55px 20px; |
3201 | } | 3201 | } |
3202 | } | 3202 | } |
3203 | @media (min-width: 1280px) { | 3203 | @media (min-width: 1280px) { |
3204 | .main__employers-item { | 3204 | .main__employers-item { |
3205 | padding-left: 55px; | 3205 | padding-left: 55px; |
3206 | } | 3206 | } |
3207 | } | 3207 | } |
3208 | .main__employers-item-inner { | 3208 | .main__employers-item-inner { |
3209 | display: -webkit-box; | 3209 | display: -webkit-box; |
3210 | display: -ms-flexbox; | 3210 | display: -ms-flexbox; |
3211 | display: flex; | 3211 | display: flex; |
3212 | -webkit-box-orient: vertical; | 3212 | -webkit-box-orient: vertical; |
3213 | -webkit-box-direction: normal; | 3213 | -webkit-box-direction: normal; |
3214 | -ms-flex-direction: column; | 3214 | -ms-flex-direction: column; |
3215 | flex-direction: column; | 3215 | flex-direction: column; |
3216 | } | 3216 | } |
3217 | @media (min-width: 768px) { | 3217 | @media (min-width: 768px) { |
3218 | .main__employers-item-inner { | 3218 | .main__employers-item-inner { |
3219 | width: calc(100% - 200px); | 3219 | width: calc(100% - 200px); |
3220 | padding-right: 40px; | 3220 | padding-right: 40px; |
3221 | } | 3221 | } |
3222 | } | 3222 | } |
3223 | @media (min-width: 992px) { | 3223 | @media (min-width: 992px) { |
3224 | .main__employers-item-inner { | 3224 | .main__employers-item-inner { |
3225 | -webkit-box-orient: horizontal; | 3225 | -webkit-box-orient: horizontal; |
3226 | -webkit-box-direction: normal; | 3226 | -webkit-box-direction: normal; |
3227 | -ms-flex-direction: row; | 3227 | -ms-flex-direction: row; |
3228 | flex-direction: row; | 3228 | flex-direction: row; |
3229 | -webkit-box-align: center; | 3229 | -webkit-box-align: center; |
3230 | -ms-flex-align: center; | 3230 | -ms-flex-align: center; |
3231 | align-items: center; | 3231 | align-items: center; |
3232 | } | 3232 | } |
3233 | } | 3233 | } |
3234 | .main__employers-item-pic { | 3234 | .main__employers-item-pic { |
3235 | height: 30px; | 3235 | height: 30px; |
3236 | position: absolute; | 3236 | position: absolute; |
3237 | top: 10px; | 3237 | top: 10px; |
3238 | left: 10px; | 3238 | left: 10px; |
3239 | } | 3239 | } |
3240 | @media (min-width: 768px) { | 3240 | @media (min-width: 768px) { |
3241 | .main__employers-item-pic { | 3241 | .main__employers-item-pic { |
3242 | position: static; | 3242 | position: static; |
3243 | width: 150px; | 3243 | width: 150px; |
3244 | height: auto; | 3244 | height: auto; |
3245 | max-height: 150px; | 3245 | max-height: 150px; |
3246 | -o-object-fit: contain; | 3246 | -o-object-fit: contain; |
3247 | object-fit: contain; | 3247 | object-fit: contain; |
3248 | } | 3248 | } |
3249 | } | 3249 | } |
3250 | .main__employers-item-body { | 3250 | .main__employers-item-body { |
3251 | font-size: 12px; | 3251 | font-size: 12px; |
3252 | display: -webkit-box; | 3252 | display: -webkit-box; |
3253 | display: -ms-flexbox; | 3253 | display: -ms-flexbox; |
3254 | display: flex; | 3254 | display: flex; |
3255 | -webkit-box-orient: vertical; | 3255 | -webkit-box-orient: vertical; |
3256 | -webkit-box-direction: normal; | 3256 | -webkit-box-direction: normal; |
3257 | -ms-flex-direction: column; | 3257 | -ms-flex-direction: column; |
3258 | flex-direction: column; | 3258 | flex-direction: column; |
3259 | gap: 10px; | 3259 | gap: 10px; |
3260 | } | 3260 | } |
3261 | @media (min-width: 768px) { | 3261 | @media (min-width: 768px) { |
3262 | .main__employers-item-body { | 3262 | .main__employers-item-body { |
3263 | font-size: 16px; | 3263 | font-size: 16px; |
3264 | padding-top: 20px; | 3264 | padding-top: 20px; |
3265 | } | 3265 | } |
3266 | } | 3266 | } |
3267 | @media (min-width: 992px) { | 3267 | @media (min-width: 992px) { |
3268 | .main__employers-item-body { | 3268 | .main__employers-item-body { |
3269 | width: calc(100% - 150px); | 3269 | width: calc(100% - 150px); |
3270 | padding: 0; | 3270 | padding: 0; |
3271 | padding-left: 40px; | 3271 | padding-left: 40px; |
3272 | } | 3272 | } |
3273 | } | 3273 | } |
3274 | .main__employers-item-body b { | 3274 | .main__employers-item-body b { |
3275 | font-weight: 700; | 3275 | font-weight: 700; |
3276 | } | 3276 | } |
3277 | @media (min-width: 768px) { | 3277 | @media (min-width: 768px) { |
3278 | .main__employers-item-body b { | 3278 | .main__employers-item-body b { |
3279 | font-size: 20px; | 3279 | font-size: 20px; |
3280 | } | 3280 | } |
3281 | } | 3281 | } |
3282 | .main__employers-item-body i { | 3282 | .main__employers-item-body i { |
3283 | font-style: normal; | 3283 | font-style: normal; |
3284 | color: #000; | 3284 | color: #000; |
3285 | } | 3285 | } |
3286 | .main__employers-item-more { | 3286 | .main__employers-item-more { |
3287 | position: absolute; | 3287 | position: absolute; |
3288 | top: 10px; | 3288 | top: 10px; |
3289 | right: 10px; | 3289 | right: 10px; |
3290 | } | 3290 | } |
3291 | @media (min-width: 768px) { | 3291 | @media (min-width: 768px) { |
3292 | .main__employers-item-more { | 3292 | .main__employers-item-more { |
3293 | width: 200px; | 3293 | width: 200px; |
3294 | padding: 0; | 3294 | padding: 0; |
3295 | position: static; | 3295 | position: static; |
3296 | } | 3296 | } |
3297 | } | 3297 | } |
3298 | .main__employers-item-label { | 3298 | .main__employers-item-label { |
3299 | background: #4d88d9; | 3299 | background: #4d88d9; |
3300 | color: #fff; | 3300 | color: #fff; |
3301 | border-radius: 6px; | 3301 | border-radius: 6px; |
3302 | width: 100%; | 3302 | width: 100%; |
3303 | height: 20px; | 3303 | height: 20px; |
3304 | display: -webkit-box; | 3304 | display: -webkit-box; |
3305 | display: -ms-flexbox; | 3305 | display: -ms-flexbox; |
3306 | display: flex; | 3306 | display: flex; |
3307 | -webkit-box-align: center; | 3307 | -webkit-box-align: center; |
3308 | -ms-flex-align: center; | 3308 | -ms-flex-align: center; |
3309 | align-items: center; | 3309 | align-items: center; |
3310 | padding: 0 12px; | 3310 | padding: 0 12px; |
3311 | position: absolute; | 3311 | position: absolute; |
3312 | bottom: 0; | 3312 | bottom: 0; |
3313 | left: 0; | 3313 | left: 0; |
3314 | font-size: 12px; | 3314 | font-size: 12px; |
3315 | line-height: 1; | 3315 | line-height: 1; |
3316 | } | 3316 | } |
3317 | @media (min-width: 768px) { | 3317 | @media (min-width: 768px) { |
3318 | .main__employers-item-label { | 3318 | .main__employers-item-label { |
3319 | max-width: 350px; | 3319 | max-width: 350px; |
3320 | height: 30px; | 3320 | height: 30px; |
3321 | font-size: 15px; | 3321 | font-size: 15px; |
3322 | } | 3322 | } |
3323 | } | 3323 | } |
3324 | .main__employers-item-label svg { | 3324 | .main__employers-item-label svg { |
3325 | width: 8px; | 3325 | width: 8px; |
3326 | height: 8px; | 3326 | height: 8px; |
3327 | } | 3327 | } |
3328 | @media (min-width: 768px) { | 3328 | @media (min-width: 768px) { |
3329 | .main__employers-item-label svg { | 3329 | .main__employers-item-label svg { |
3330 | width: 12px; | 3330 | width: 12px; |
3331 | height: 12px; | 3331 | height: 12px; |
3332 | } | 3332 | } |
3333 | } | 3333 | } |
3334 | .main__employers-item-label span { | 3334 | .main__employers-item-label span { |
3335 | overflow: hidden; | 3335 | overflow: hidden; |
3336 | display: -webkit-box; | 3336 | display: -webkit-box; |
3337 | -webkit-box-orient: vertical; | 3337 | -webkit-box-orient: vertical; |
3338 | -webkit-line-clamp: 1; | 3338 | -webkit-line-clamp: 1; |
3339 | width: calc(100% - 8px); | 3339 | width: calc(100% - 8px); |
3340 | padding-left: 6px; | 3340 | padding-left: 6px; |
3341 | } | 3341 | } |
3342 | .main__employers-one { | 3342 | .main__employers-one { |
3343 | display: -webkit-box; | 3343 | display: -webkit-box; |
3344 | display: -ms-flexbox; | 3344 | display: -ms-flexbox; |
3345 | display: flex; | 3345 | display: flex; |
3346 | -webkit-box-orient: vertical; | 3346 | -webkit-box-orient: vertical; |
3347 | -webkit-box-direction: normal; | 3347 | -webkit-box-direction: normal; |
3348 | -ms-flex-direction: column; | 3348 | -ms-flex-direction: column; |
3349 | flex-direction: column; | 3349 | flex-direction: column; |
3350 | gap: 20px; | 3350 | gap: 20px; |
3351 | } | 3351 | } |
3352 | .main__employers-two { | 3352 | .main__employers-two { |
3353 | display: -webkit-box; | 3353 | display: -webkit-box; |
3354 | display: -ms-flexbox; | 3354 | display: -ms-flexbox; |
3355 | display: flex; | 3355 | display: flex; |
3356 | -webkit-box-orient: vertical; | 3356 | -webkit-box-orient: vertical; |
3357 | -webkit-box-direction: normal; | 3357 | -webkit-box-direction: normal; |
3358 | -ms-flex-direction: column; | 3358 | -ms-flex-direction: column; |
3359 | flex-direction: column; | 3359 | flex-direction: column; |
3360 | gap: 20px; | 3360 | gap: 20px; |
3361 | } | 3361 | } |
3362 | @media (min-width: 768px) { | 3362 | @media (min-width: 768px) { |
3363 | .main__employers-two { | 3363 | .main__employers-two { |
3364 | -webkit-box-orient: horizontal; | 3364 | -webkit-box-orient: horizontal; |
3365 | -webkit-box-direction: normal; | 3365 | -webkit-box-direction: normal; |
3366 | -ms-flex-direction: row; | 3366 | -ms-flex-direction: row; |
3367 | flex-direction: row; | 3367 | flex-direction: row; |
3368 | -ms-flex-wrap: wrap; | 3368 | -ms-flex-wrap: wrap; |
3369 | flex-wrap: wrap; | 3369 | flex-wrap: wrap; |
3370 | -webkit-box-align: start; | 3370 | -webkit-box-align: start; |
3371 | -ms-flex-align: start; | 3371 | -ms-flex-align: start; |
3372 | align-items: flex-start; | 3372 | align-items: flex-start; |
3373 | -webkit-box-pack: justify; | 3373 | -webkit-box-pack: justify; |
3374 | -ms-flex-pack: justify; | 3374 | -ms-flex-pack: justify; |
3375 | justify-content: space-between; | 3375 | justify-content: space-between; |
3376 | gap: 20px 0; | 3376 | gap: 20px 0; |
3377 | } | 3377 | } |
3378 | } | 3378 | } |
3379 | .main__employers-two .main__employers-item { | 3379 | .main__employers-two .main__employers-item { |
3380 | width: calc(50% - 10px); | 3380 | width: calc(50% - 10px); |
3381 | -webkit-box-orient: vertical; | 3381 | -webkit-box-orient: vertical; |
3382 | -webkit-box-direction: normal; | 3382 | -webkit-box-direction: normal; |
3383 | -ms-flex-direction: column; | 3383 | -ms-flex-direction: column; |
3384 | flex-direction: column; | 3384 | flex-direction: column; |
3385 | -webkit-box-align: stretch; | 3385 | -webkit-box-align: stretch; |
3386 | -ms-flex-align: stretch; | 3386 | -ms-flex-align: stretch; |
3387 | align-items: stretch; | 3387 | align-items: stretch; |
3388 | padding-top: 30px; | 3388 | padding-top: 30px; |
3389 | } | 3389 | } |
3390 | .main__employers-two .main__employers-item-inner { | 3390 | .main__employers-two .main__employers-item-inner { |
3391 | width: 100%; | 3391 | width: 100%; |
3392 | padding: 0; | 3392 | padding: 0; |
3393 | } | 3393 | } |
3394 | .main__employers-two .main__employers-item-more { | 3394 | .main__employers-two .main__employers-item-more { |
3395 | position: static; | 3395 | position: static; |
3396 | margin-top: 20px; | 3396 | margin-top: 20px; |
3397 | } | 3397 | } |
3398 | @media (min-width: 992px) { | 3398 | @media (min-width: 992px) { |
3399 | .main__employers-two .main__employers-item-more { | 3399 | .main__employers-two .main__employers-item-more { |
3400 | margin-left: 190px; | 3400 | margin-left: 190px; |
3401 | } | 3401 | } |
3402 | } | 3402 | } |
3403 | .main__employers-two .main__employers-item-label { | 3403 | .main__employers-two .main__employers-item-label { |
3404 | max-width: none; | 3404 | max-width: none; |
3405 | } | 3405 | } |
3406 | .main__employer-page { | 3406 | .main__employer-page { |
3407 | display: -webkit-box; | 3407 | display: -webkit-box; |
3408 | display: -ms-flexbox; | 3408 | display: -ms-flexbox; |
3409 | display: flex; | 3409 | display: flex; |
3410 | -webkit-box-orient: vertical; | 3410 | -webkit-box-orient: vertical; |
3411 | -webkit-box-direction: normal; | 3411 | -webkit-box-direction: normal; |
3412 | -ms-flex-direction: column; | 3412 | -ms-flex-direction: column; |
3413 | flex-direction: column; | 3413 | flex-direction: column; |
3414 | gap: 20px; | 3414 | gap: 20px; |
3415 | } | 3415 | } |
3416 | @media (min-width: 768px) { | 3416 | @media (min-width: 768px) { |
3417 | .main__employer-page { | 3417 | .main__employer-page { |
3418 | gap: 30px; | 3418 | gap: 30px; |
3419 | } | 3419 | } |
3420 | } | 3420 | } |
3421 | .main__employer-page-title { | 3421 | .main__employer-page-title { |
3422 | color: #000; | 3422 | color: #000; |
3423 | margin: 0; | 3423 | margin: 0; |
3424 | font-size: 30px; | 3424 | font-size: 30px; |
3425 | } | 3425 | } |
3426 | @media (min-width: 768px) { | 3426 | @media (min-width: 768px) { |
3427 | .main__employer-page-title { | 3427 | .main__employer-page-title { |
3428 | font-size: 36px; | 3428 | font-size: 36px; |
3429 | } | 3429 | } |
3430 | } | 3430 | } |
3431 | @media (min-width: 992px) { | 3431 | @media (min-width: 992px) { |
3432 | .main__employer-page-title { | 3432 | .main__employer-page-title { |
3433 | font-size: 44px; | 3433 | font-size: 44px; |
3434 | } | 3434 | } |
3435 | } | 3435 | } |
3436 | .main__employer-page-item { | 3436 | .main__employer-page-item { |
3437 | display: -webkit-box; | 3437 | display: -webkit-box; |
3438 | display: -ms-flexbox; | 3438 | display: -ms-flexbox; |
3439 | display: flex; | 3439 | display: flex; |
3440 | -webkit-box-orient: vertical; | 3440 | -webkit-box-orient: vertical; |
3441 | -webkit-box-direction: normal; | 3441 | -webkit-box-direction: normal; |
3442 | -ms-flex-direction: column; | 3442 | -ms-flex-direction: column; |
3443 | flex-direction: column; | 3443 | flex-direction: column; |
3444 | gap: 4px; | 3444 | gap: 4px; |
3445 | font-size: 12px; | 3445 | font-size: 12px; |
3446 | line-height: 1.4; | 3446 | line-height: 1.4; |
3447 | width: 190px; | 3447 | width: 190px; |
3448 | } | 3448 | } |
3449 | .main__employer-page-item.main__employer-page-description{ | 3449 | .main__employer-page-item.main__employer-page-description{ |
3450 | width: unset; | 3450 | width: unset; |
3451 | } | 3451 | } |
3452 | @media (min-width: 768px) { | 3452 | @media (min-width: 768px) { |
3453 | .main__employer-page-item { | 3453 | .main__employer-page-item { |
3454 | font-size: 18px; | 3454 | font-size: 18px; |
3455 | gap: 8px; | 3455 | gap: 8px; |
3456 | } | 3456 | } |
3457 | } | 3457 | } |
3458 | .main__employer-page-item b { | 3458 | .main__employer-page-item b { |
3459 | color: #377d87; | 3459 | color: #377d87; |
3460 | font-size: 14px; | 3460 | font-size: 14px; |
3461 | } | 3461 | } |
3462 | @media (min-width: 768px) { | 3462 | @media (min-width: 768px) { |
3463 | .main__employer-page-item b { | 3463 | .main__employer-page-item b { |
3464 | font-size: 18px; | 3464 | font-size: 18px; |
3465 | } | 3465 | } |
3466 | } | 3466 | } |
3467 | .main__employer-page-item span { | 3467 | .main__employer-page-item span { |
3468 | color: #000; | 3468 | color: #000; |
3469 | } | 3469 | } |
3470 | .main__employer-page-info { | 3470 | .main__employer-page-info { |
3471 | display: -webkit-box; | 3471 | display: -webkit-box; |
3472 | display: -ms-flexbox; | 3472 | display: -ms-flexbox; |
3473 | display: flex; | 3473 | display: flex; |
3474 | -webkit-box-orient: vertical; | 3474 | -webkit-box-orient: vertical; |
3475 | -webkit-box-direction: normal; | 3475 | -webkit-box-direction: normal; |
3476 | -ms-flex-direction: column; | 3476 | -ms-flex-direction: column; |
3477 | flex-direction: column; | 3477 | flex-direction: column; |
3478 | gap: 20px; | 3478 | gap: 20px; |
3479 | } | 3479 | } |
3480 | .main__employer-page-info.row2{ | 3480 | .main__employer-page-info.row2{ |
3481 | justify-content: flex-start; | 3481 | justify-content: flex-start; |
3482 | } | 3482 | } |
3483 | .main__employer-page-info.row2 .main__employer-page-item{ | 3483 | .main__employer-page-info.row2 .main__employer-page-item{ |
3484 | width: 25%; | 3484 | width: 25%; |
3485 | } | 3485 | } |
3486 | @media (min-width: 768px) { | 3486 | @media (min-width: 768px) { |
3487 | .main__employer-page-info { | 3487 | .main__employer-page-info { |
3488 | display: grid; | 3488 | display: grid; |
3489 | grid-template-columns: repeat(2, 1fr); | 3489 | grid-template-columns: repeat(2, 1fr); |
3490 | gap: 30px 40px; | 3490 | gap: 30px 40px; |
3491 | } | 3491 | } |
3492 | } | 3492 | } |
3493 | @media (min-width: 1280px) { | 3493 | @media (min-width: 1280px) { |
3494 | .main__employer-page-info { | 3494 | .main__employer-page-info { |
3495 | display: -webkit-box; | 3495 | display: -webkit-box; |
3496 | display: -ms-flexbox; | 3496 | display: -ms-flexbox; |
3497 | display: flex; | 3497 | display: flex; |
3498 | -webkit-box-orient: horizontal; | 3498 | -webkit-box-orient: horizontal; |
3499 | -webkit-box-direction: normal; | 3499 | -webkit-box-direction: normal; |
3500 | -ms-flex-direction: row; | 3500 | -ms-flex-direction: row; |
3501 | flex-direction: row; | 3501 | flex-direction: row; |
3502 | -webkit-box-align: start; | 3502 | -webkit-box-align: start; |
3503 | -ms-flex-align: start; | 3503 | -ms-flex-align: start; |
3504 | align-items: flex-start; | 3504 | align-items: flex-start; |
3505 | -webkit-box-pack: justify; | 3505 | -webkit-box-pack: justify; |
3506 | -ms-flex-pack: justify; | 3506 | -ms-flex-pack: justify; |
3507 | justify-content: space-between; | 3507 | justify-content: space-between; |
3508 | padding-right: 160px; | 3508 | padding-right: 160px; |
3509 | } | 3509 | } |
3510 | } | 3510 | } |
3511 | @media (min-width: 768px) { | 3511 | @media (min-width: 768px) { |
3512 | .main__employer-page-info .main__employer-page-item b, | 3512 | .main__employer-page-info .main__employer-page-item b, |
3513 | .main__employer-page-info .main__employer-page-item span { | 3513 | .main__employer-page-info .main__employer-page-item span { |
3514 | max-width: 300px; | 3514 | max-width: 300px; |
3515 | } | 3515 | } |
3516 | } | 3516 | } |
3517 | .main__employer-page-tabs { | 3517 | .main__employer-page-tabs { |
3518 | display: -webkit-box; | 3518 | display: -webkit-box; |
3519 | display: -ms-flexbox; | 3519 | display: -ms-flexbox; |
3520 | display: flex; | 3520 | display: flex; |
3521 | -webkit-box-align: center; | 3521 | -webkit-box-align: center; |
3522 | -ms-flex-align: center; | 3522 | -ms-flex-align: center; |
3523 | align-items: center; | 3523 | align-items: center; |
3524 | gap: 20px; | 3524 | gap: 20px; |
3525 | } | 3525 | } |
3526 | @media (min-width: 768px) { | 3526 | @media (min-width: 768px) { |
3527 | .main__employer-page-tabs { | 3527 | .main__employer-page-tabs { |
3528 | margin-top: 20px; | 3528 | margin-top: 20px; |
3529 | } | 3529 | } |
3530 | } | 3530 | } |
3531 | .main__employer-page-tabs-item { | 3531 | .main__employer-page-tabs-item { |
3532 | font-size: 22px; | 3532 | font-size: 22px; |
3533 | font-weight: 700; | 3533 | font-weight: 700; |
3534 | border: none; | 3534 | border: none; |
3535 | background: none; | 3535 | background: none; |
3536 | padding: 0; | 3536 | padding: 0; |
3537 | color: #9c9d9d; | 3537 | color: #9c9d9d; |
3538 | text-decoration: underline; | 3538 | text-decoration: underline; |
3539 | text-decoration-thickness: 1px; | 3539 | text-decoration-thickness: 1px; |
3540 | } | 3540 | } |
3541 | @media (min-width: 768px) { | 3541 | @media (min-width: 768px) { |
3542 | .main__employer-page-tabs-item { | 3542 | .main__employer-page-tabs-item { |
3543 | font-size: 24px; | 3543 | font-size: 24px; |
3544 | } | 3544 | } |
3545 | } | 3545 | } |
3546 | .main__employer-page-tabs-item.active { | 3546 | .main__employer-page-tabs-item.active { |
3547 | color: #377d87; | 3547 | color: #377d87; |
3548 | } | 3548 | } |
3549 | .main__employer-page-body { | 3549 | .main__employer-page-body { |
3550 | display: -webkit-box; | 3550 | display: -webkit-box; |
3551 | display: -ms-flexbox; | 3551 | display: -ms-flexbox; |
3552 | display: flex; | 3552 | display: flex; |
3553 | -webkit-box-orient: vertical; | 3553 | -webkit-box-orient: vertical; |
3554 | -webkit-box-direction: normal; | 3554 | -webkit-box-direction: normal; |
3555 | -ms-flex-direction: column; | 3555 | -ms-flex-direction: column; |
3556 | flex-direction: column; | 3556 | flex-direction: column; |
3557 | margin-top: 10px; | 3557 | margin-top: 10px; |
3558 | } | 3558 | } |
3559 | @media (min-width: 768px) { | 3559 | @media (min-width: 768px) { |
3560 | .main__employer-page-body { | 3560 | .main__employer-page-body { |
3561 | margin-top: 30px; | 3561 | margin-top: 30px; |
3562 | } | 3562 | } |
3563 | } | 3563 | } |
3564 | .main__employer-page-body-item { | 3564 | .main__employer-page-body-item { |
3565 | display: none; | 3565 | display: none; |
3566 | -webkit-box-orient: vertical; | 3566 | -webkit-box-orient: vertical; |
3567 | -webkit-box-direction: normal; | 3567 | -webkit-box-direction: normal; |
3568 | -ms-flex-direction: column; | 3568 | -ms-flex-direction: column; |
3569 | flex-direction: column; | 3569 | flex-direction: column; |
3570 | gap: 20px; | 3570 | gap: 20px; |
3571 | } | 3571 | } |
3572 | .main__employer-page-body-item.showed { | 3572 | .main__employer-page-body-item.showed { |
3573 | display: -webkit-box; | 3573 | display: -webkit-box; |
3574 | display: -ms-flexbox; | 3574 | display: -ms-flexbox; |
3575 | display: flex; | 3575 | display: flex; |
3576 | } | 3576 | } |
3577 | .main__employer-page-one { | 3577 | .main__employer-page-one { |
3578 | display: -webkit-box; | 3578 | display: -webkit-box; |
3579 | display: -ms-flexbox; | 3579 | display: -ms-flexbox; |
3580 | display: flex; | 3580 | display: flex; |
3581 | -webkit-box-orient: vertical; | 3581 | -webkit-box-orient: vertical; |
3582 | -webkit-box-direction: normal; | 3582 | -webkit-box-direction: normal; |
3583 | -ms-flex-direction: column; | 3583 | -ms-flex-direction: column; |
3584 | flex-direction: column; | 3584 | flex-direction: column; |
3585 | gap: 20px; | 3585 | gap: 20px; |
3586 | } | 3586 | } |
3587 | @media (min-width: 768px) { | 3587 | @media (min-width: 768px) { |
3588 | .main__employer-page-one { | 3588 | .main__employer-page-one { |
3589 | display: grid; | 3589 | display: grid; |
3590 | grid-template-columns: repeat(2, 1fr); | 3590 | grid-template-columns: repeat(2, 1fr); |
3591 | } | 3591 | } |
3592 | } | 3592 | } |
3593 | @media (min-width: 992px) { | 3593 | @media (min-width: 992px) { |
3594 | .main__employer-page-one { | 3594 | .main__employer-page-one { |
3595 | grid-template-columns: repeat(3, 1fr); | 3595 | grid-template-columns: repeat(3, 1fr); |
3596 | } | 3596 | } |
3597 | } | 3597 | } |
3598 | @media (min-width: 1280px) { | 3598 | @media (min-width: 1280px) { |
3599 | .main__employer-page-one { | 3599 | .main__employer-page-one { |
3600 | grid-template-columns: repeat(4, 1fr); | 3600 | grid-template-columns: repeat(4, 1fr); |
3601 | gap: 30px 20px; | 3601 | gap: 30px 20px; |
3602 | } | 3602 | } |
3603 | } | 3603 | } |
3604 | .main__employer-page-one-item { | 3604 | .main__employer-page-one-item { |
3605 | display: -webkit-box; | 3605 | display: -webkit-box; |
3606 | display: -ms-flexbox; | 3606 | display: -ms-flexbox; |
3607 | display: flex; | 3607 | display: flex; |
3608 | -webkit-box-orient: vertical; | 3608 | -webkit-box-orient: vertical; |
3609 | -webkit-box-direction: normal; | 3609 | -webkit-box-direction: normal; |
3610 | -ms-flex-direction: column; | 3610 | -ms-flex-direction: column; |
3611 | flex-direction: column; | 3611 | flex-direction: column; |
3612 | gap: 10px; | 3612 | gap: 10px; |
3613 | font-size: 12px; | 3613 | font-size: 12px; |
3614 | position: relative; | 3614 | position: relative; |
3615 | } | 3615 | } |
3616 | @media (min-width: 1280px) { | 3616 | @media (min-width: 1280px) { |
3617 | .main__employer-page-one-item { | 3617 | .main__employer-page-one-item { |
3618 | font-size: 18px; | 3618 | font-size: 18px; |
3619 | } | 3619 | } |
3620 | } | 3620 | } |
3621 | .main__employer-page-one-item img { | 3621 | .main__employer-page-one-item img { |
3622 | border-radius: 10px; | 3622 | border-radius: 10px; |
3623 | -o-object-fit: cover; | 3623 | -o-object-fit: cover; |
3624 | object-fit: cover; | 3624 | object-fit: cover; |
3625 | width: 100%; | 3625 | width: 100%; |
3626 | max-height: 250px; | 3626 | max-height: 250px; |
3627 | aspect-ratio: 247/174; | 3627 | aspect-ratio: 247/174; |
3628 | } | 3628 | } |
3629 | @media (min-width: 1280px) { | 3629 | @media (min-width: 1280px) { |
3630 | .main__employer-page-one-item img { | 3630 | .main__employer-page-one-item img { |
3631 | margin-bottom: 10px; | 3631 | margin-bottom: 10px; |
3632 | } | 3632 | } |
3633 | } | 3633 | } |
3634 | .main__employer-page-one-item b { | 3634 | .main__employer-page-one-item b { |
3635 | font-weight: 700; | 3635 | font-weight: 700; |
3636 | color: #377d87; | 3636 | color: #377d87; |
3637 | } | 3637 | } |
3638 | .main__employer-page-one-item span { | 3638 | .main__employer-page-one-item span { |
3639 | color: #000; | 3639 | color: #000; |
3640 | } | 3640 | } |
3641 | .main__employer-page-one-item i { | 3641 | .main__employer-page-one-item i { |
3642 | font-style: normal; | 3642 | font-style: normal; |
3643 | color: #377d87; | 3643 | color: #377d87; |
3644 | } | 3644 | } |
3645 | .main__employer-page-one-item .del { | 3645 | .main__employer-page-one-item .del { |
3646 | position: absolute; | 3646 | position: absolute; |
3647 | z-index: 1; | 3647 | z-index: 1; |
3648 | top: 8px; | 3648 | top: 8px; |
3649 | left: 8px; | 3649 | left: 8px; |
3650 | } | 3650 | } |
3651 | .main__employer-page-two { | 3651 | .main__employer-page-two { |
3652 | display: -webkit-box; | 3652 | display: -webkit-box; |
3653 | display: -ms-flexbox; | 3653 | display: -ms-flexbox; |
3654 | display: flex; | 3654 | display: flex; |
3655 | -webkit-box-orient: vertical; | 3655 | -webkit-box-orient: vertical; |
3656 | -webkit-box-direction: normal; | 3656 | -webkit-box-direction: normal; |
3657 | -ms-flex-direction: column; | 3657 | -ms-flex-direction: column; |
3658 | flex-direction: column; | 3658 | flex-direction: column; |
3659 | -webkit-box-align: center; | 3659 | -webkit-box-align: center; |
3660 | -ms-flex-align: center; | 3660 | -ms-flex-align: center; |
3661 | align-items: center; | 3661 | align-items: center; |
3662 | gap: 20px; | 3662 | gap: 20px; |
3663 | } | 3663 | } |
3664 | .main__employer-page-two-item { | 3664 | .main__employer-page-two-item { |
3665 | width: 100%; | 3665 | width: 100%; |
3666 | display: -webkit-box; | 3666 | display: -webkit-box; |
3667 | display: -ms-flexbox; | 3667 | display: -ms-flexbox; |
3668 | display: flex; | 3668 | display: flex; |
3669 | -webkit-box-orient: vertical; | 3669 | -webkit-box-orient: vertical; |
3670 | -webkit-box-direction: normal; | 3670 | -webkit-box-direction: normal; |
3671 | -ms-flex-direction: column; | 3671 | -ms-flex-direction: column; |
3672 | flex-direction: column; | 3672 | flex-direction: column; |
3673 | gap: 16px; | 3673 | gap: 16px; |
3674 | padding: 20px 10px; | 3674 | padding: 20px 10px; |
3675 | border-radius: 12px; | 3675 | border-radius: 12px; |
3676 | border: 1px solid #cecece; | 3676 | border: 1px solid #cecece; |
3677 | position: relative; | 3677 | position: relative; |
3678 | overflow: hidden; | 3678 | overflow: hidden; |
3679 | font-size: 12px; | 3679 | font-size: 12px; |
3680 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 3680 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
3681 | } | 3681 | } |
3682 | @media (min-width: 768px) { | 3682 | @media (min-width: 768px) { |
3683 | .main__employer-page-two-item { | 3683 | .main__employer-page-two-item { |
3684 | font-size: 14px; | 3684 | font-size: 14px; |
3685 | padding: 20px; | 3685 | padding: 20px; |
3686 | gap: 24px; | 3686 | gap: 24px; |
3687 | padding-bottom: 35px; | 3687 | padding-bottom: 35px; |
3688 | } | 3688 | } |
3689 | } | 3689 | } |
3690 | @media (min-width: 992px) { | 3690 | @media (min-width: 992px) { |
3691 | .main__employer-page-two-item { | 3691 | .main__employer-page-two-item { |
3692 | font-size: 16px; | 3692 | font-size: 16px; |
3693 | } | 3693 | } |
3694 | } | 3694 | } |
3695 | @media (min-width: 1280px) { | 3695 | @media (min-width: 1280px) { |
3696 | .main__employer-page-two-item { | 3696 | .main__employer-page-two-item { |
3697 | font-size: 18px; | 3697 | font-size: 18px; |
3698 | } | 3698 | } |
3699 | } | 3699 | } |
3700 | .main__employer-page-two-item-toper { | 3700 | .main__employer-page-two-item-toper { |
3701 | display: -webkit-box; | 3701 | display: -webkit-box; |
3702 | display: -ms-flexbox; | 3702 | display: -ms-flexbox; |
3703 | display: flex; | 3703 | display: flex; |
3704 | -webkit-box-align: center; | 3704 | -webkit-box-align: center; |
3705 | -ms-flex-align: center; | 3705 | -ms-flex-align: center; |
3706 | align-items: center; | 3706 | align-items: center; |
3707 | font-size: 22px; | 3707 | font-size: 22px; |
3708 | font-weight: 700; | 3708 | font-weight: 700; |
3709 | color: #000; | 3709 | color: #000; |
3710 | } | 3710 | } |
3711 | @media (min-width: 768px) { | 3711 | @media (min-width: 768px) { |
3712 | .main__employer-page-two-item-toper { | 3712 | .main__employer-page-two-item-toper { |
3713 | font-size: 30px; | 3713 | font-size: 30px; |
3714 | } | 3714 | } |
3715 | } | 3715 | } |
3716 | .main__employer-page-two-item-toper img { | 3716 | .main__employer-page-two-item-toper img { |
3717 | width: 60px; | 3717 | width: 60px; |
3718 | aspect-ratio: 1/1; | 3718 | aspect-ratio: 1/1; |
3719 | -o-object-fit: contain; | 3719 | -o-object-fit: contain; |
3720 | object-fit: contain; | 3720 | object-fit: contain; |
3721 | } | 3721 | } |
3722 | .main__employer-page-two-item-toper span { | 3722 | .main__employer-page-two-item-toper span { |
3723 | width: calc(100% - 60px); | 3723 | width: calc(100% - 60px); |
3724 | padding-left: 10px; | 3724 | padding-left: 10px; |
3725 | } | 3725 | } |
3726 | @media (min-width: 768px) { | 3726 | @media (min-width: 768px) { |
3727 | .main__employer-page-two-item-toper span { | 3727 | .main__employer-page-two-item-toper span { |
3728 | padding-left: 20px; | 3728 | padding-left: 20px; |
3729 | } | 3729 | } |
3730 | } | 3730 | } |
3731 | .main__employer-page-two-item-title { | 3731 | .main__employer-page-two-item-title { |
3732 | font-size: 18px; | 3732 | font-size: 18px; |
3733 | font-weight: 700; | 3733 | font-weight: 700; |
3734 | color: #377d87; | 3734 | color: #377d87; |
3735 | } | 3735 | } |
3736 | @media (min-width: 768px) { | 3736 | @media (min-width: 768px) { |
3737 | .main__employer-page-two-item-title { | 3737 | .main__employer-page-two-item-title { |
3738 | font-size: 24px; | 3738 | font-size: 24px; |
3739 | } | 3739 | } |
3740 | } | 3740 | } |
3741 | .main__employer-page-two-item-text { | 3741 | .main__employer-page-two-item-text { |
3742 | display: -webkit-box; | 3742 | display: -webkit-box; |
3743 | display: -ms-flexbox; | 3743 | display: -ms-flexbox; |
3744 | display: flex; | 3744 | display: flex; |
3745 | -webkit-box-orient: vertical; | 3745 | -webkit-box-orient: vertical; |
3746 | -webkit-box-direction: normal; | 3746 | -webkit-box-direction: normal; |
3747 | -ms-flex-direction: column; | 3747 | -ms-flex-direction: column; |
3748 | flex-direction: column; | 3748 | flex-direction: column; |
3749 | gap: 10px; | 3749 | gap: 10px; |
3750 | } | 3750 | } |
3751 | .main__employer-page-two-item-text-name { | 3751 | .main__employer-page-two-item-text-name { |
3752 | font-weight: 700; | 3752 | font-weight: 700; |
3753 | } | 3753 | } |
3754 | .main__employer-page-two-item-text-body { | 3754 | .main__employer-page-two-item-text-body { |
3755 | color: #000; | 3755 | color: #000; |
3756 | display: -webkit-box; | 3756 | display: -webkit-box; |
3757 | display: -ms-flexbox; | 3757 | display: -ms-flexbox; |
3758 | display: flex; | 3758 | display: flex; |
3759 | -webkit-box-orient: vertical; | 3759 | -webkit-box-orient: vertical; |
3760 | -webkit-box-direction: normal; | 3760 | -webkit-box-direction: normal; |
3761 | -ms-flex-direction: column; | 3761 | -ms-flex-direction: column; |
3762 | flex-direction: column; | 3762 | flex-direction: column; |
3763 | gap: 6px; | 3763 | gap: 6px; |
3764 | padding: 0 10px; | 3764 | padding: 0 10px; |
3765 | } | 3765 | } |
3766 | .main__employer-page-two-item-text-body p { | 3766 | .main__employer-page-two-item-text-body p { |
3767 | margin: 0; | 3767 | margin: 0; |
3768 | } | 3768 | } |
3769 | .main__employer-page-two-item-text-body ul { | 3769 | .main__employer-page-two-item-text-body ul { |
3770 | margin: 0; | 3770 | margin: 0; |
3771 | padding: 0; | 3771 | padding: 0; |
3772 | padding-left: 16px; | 3772 | padding-left: 16px; |
3773 | display: -webkit-box; | 3773 | display: -webkit-box; |
3774 | display: -ms-flexbox; | 3774 | display: -ms-flexbox; |
3775 | display: flex; | 3775 | display: flex; |
3776 | -webkit-box-orient: vertical; | 3776 | -webkit-box-orient: vertical; |
3777 | -webkit-box-direction: normal; | 3777 | -webkit-box-direction: normal; |
3778 | -ms-flex-direction: column; | 3778 | -ms-flex-direction: column; |
3779 | flex-direction: column; | 3779 | flex-direction: column; |
3780 | gap: 6px; | 3780 | gap: 6px; |
3781 | } | 3781 | } |
3782 | @media (min-width: 768px) { | 3782 | @media (min-width: 768px) { |
3783 | .main__employer-page-two-item-text-body ul { | 3783 | .main__employer-page-two-item-text-body ul { |
3784 | margin: 0 5px; | 3784 | margin: 0 5px; |
3785 | } | 3785 | } |
3786 | } | 3786 | } |
3787 | .main__employer-page-two-item-text-body ul span, | 3787 | .main__employer-page-two-item-text-body ul span, |
3788 | .main__employer-page-two-item-text-body ul a { | 3788 | .main__employer-page-two-item-text-body ul a { |
3789 | color: #000; | 3789 | color: #000; |
3790 | position: relative; | 3790 | position: relative; |
3791 | } | 3791 | } |
3792 | .main__employer-page-two-item-text-body ul a:hover { | 3792 | .main__employer-page-two-item-text-body ul a:hover { |
3793 | color: #377d87; | 3793 | color: #377d87; |
3794 | } | 3794 | } |
3795 | .main__employer-page-two-item-text-body p + ul { | 3795 | .main__employer-page-two-item-text-body p + ul { |
3796 | margin-top: 10px; | 3796 | margin-top: 10px; |
3797 | } | 3797 | } |
3798 | .main__employer-page-two-item-text-links { | 3798 | .main__employer-page-two-item-text-links { |
3799 | display: -webkit-box; | 3799 | display: -webkit-box; |
3800 | display: -ms-flexbox; | 3800 | display: -ms-flexbox; |
3801 | display: flex; | 3801 | display: flex; |
3802 | -webkit-box-orient: vertical; | 3802 | -webkit-box-orient: vertical; |
3803 | -webkit-box-direction: normal; | 3803 | -webkit-box-direction: normal; |
3804 | -ms-flex-direction: column; | 3804 | -ms-flex-direction: column; |
3805 | flex-direction: column; | 3805 | flex-direction: column; |
3806 | -webkit-box-align: start; | 3806 | -webkit-box-align: start; |
3807 | -ms-flex-align: start; | 3807 | -ms-flex-align: start; |
3808 | align-items: flex-start; | 3808 | align-items: flex-start; |
3809 | gap: 10px; | 3809 | gap: 10px; |
3810 | padding: 0 10px; | 3810 | padding: 0 10px; |
3811 | font-weight: 700; | 3811 | font-weight: 700; |
3812 | margin-top: 5px; | 3812 | margin-top: 5px; |
3813 | } | 3813 | } |
3814 | @media (min-width: 768px) { | 3814 | @media (min-width: 768px) { |
3815 | .main__employer-page-two-item-text-links { | 3815 | .main__employer-page-two-item-text-links { |
3816 | gap: 20px; | 3816 | gap: 20px; |
3817 | } | 3817 | } |
3818 | } | 3818 | } |
3819 | .main__employer-page-two-item-text-links a { | 3819 | .main__employer-page-two-item-text-links a { |
3820 | color: #4d88d9; | 3820 | color: #4d88d9; |
3821 | } | 3821 | } |
3822 | .main__employer-page-two-item-text-links a:hover { | 3822 | .main__employer-page-two-item-text-links a:hover { |
3823 | color: #377d87; | 3823 | color: #377d87; |
3824 | } | 3824 | } |
3825 | .main__employer-page-two-item-tags { | 3825 | .main__employer-page-two-item-tags { |
3826 | color: #4d88d9; | 3826 | color: #4d88d9; |
3827 | font-weight: 500; | 3827 | font-weight: 500; |
3828 | display: -webkit-box; | 3828 | display: -webkit-box; |
3829 | display: -ms-flexbox; | 3829 | display: -ms-flexbox; |
3830 | display: flex; | 3830 | display: flex; |
3831 | -webkit-box-align: center; | 3831 | -webkit-box-align: center; |
3832 | -ms-flex-align: center; | 3832 | -ms-flex-align: center; |
3833 | align-items: center; | 3833 | align-items: center; |
3834 | -ms-flex-wrap: wrap; | 3834 | -ms-flex-wrap: wrap; |
3835 | flex-wrap: wrap; | 3835 | flex-wrap: wrap; |
3836 | gap: 10px 20px; | 3836 | gap: 10px 20px; |
3837 | } | 3837 | } |
3838 | @media (min-width: 768px) { | 3838 | @media (min-width: 768px) { |
3839 | .main__employer-page-two-item-tags { | 3839 | .main__employer-page-two-item-tags { |
3840 | font-size: 14px; | 3840 | font-size: 14px; |
3841 | } | 3841 | } |
3842 | } | 3842 | } |
3843 | .main__employer-page-two-item-buttons { | 3843 | .main__employer-page-two-item-buttons { |
3844 | display: grid; | 3844 | display: grid; |
3845 | grid-template-columns: repeat(2, 1fr); | 3845 | grid-template-columns: repeat(2, 1fr); |
3846 | gap: 20px; | 3846 | gap: 20px; |
3847 | } | 3847 | } |
3848 | @media (min-width: 768px) { | 3848 | @media (min-width: 768px) { |
3849 | .main__employer-page-two-item-button { | 3849 | .main__employer-page-two-item-button { |
3850 | position: absolute; | 3850 | position: absolute; |
3851 | bottom: 20px; | 3851 | bottom: 20px; |
3852 | left: 20px; | 3852 | left: 20px; |
3853 | width: 200px; | 3853 | width: 200px; |
3854 | padding: 0; | 3854 | padding: 0; |
3855 | } | 3855 | } |
3856 | } | 3856 | } |
3857 | @media (min-width: 768px) { | 3857 | @media (min-width: 768px) { |
3858 | .main__employer-page-two-item-button + .main__employer-page-two-item-button { | 3858 | .main__employer-page-two-item-button + .main__employer-page-two-item-button { |
3859 | left: auto; | 3859 | left: auto; |
3860 | right: 20px; | 3860 | right: 20px; |
3861 | } | 3861 | } |
3862 | } | 3862 | } |
3863 | .main__employer-page-two-item-bottom { | 3863 | .main__employer-page-two-item-bottom { |
3864 | display: -webkit-box; | 3864 | display: -webkit-box; |
3865 | display: -ms-flexbox; | 3865 | display: -ms-flexbox; |
3866 | display: flex; | 3866 | display: flex; |
3867 | -webkit-box-align: center; | 3867 | -webkit-box-align: center; |
3868 | -ms-flex-align: center; | 3868 | -ms-flex-align: center; |
3869 | align-items: center; | 3869 | align-items: center; |
3870 | -webkit-box-pack: justify; | 3870 | -webkit-box-pack: justify; |
3871 | -ms-flex-pack: justify; | 3871 | -ms-flex-pack: justify; |
3872 | justify-content: space-between; | 3872 | justify-content: space-between; |
3873 | } | 3873 | } |
3874 | .main__employer-page-two-item-bottom-date { | 3874 | .main__employer-page-two-item-bottom-date { |
3875 | color: #000; | 3875 | color: #000; |
3876 | } | 3876 | } |
3877 | @media (min-width: 768px) { | 3877 | @media (min-width: 768px) { |
3878 | .main__employer-page-two-item-bottom-date { | 3878 | .main__employer-page-two-item-bottom-date { |
3879 | position: absolute; | 3879 | position: absolute; |
3880 | bottom: 20px; | 3880 | bottom: 20px; |
3881 | right: 240px; | 3881 | right: 240px; |
3882 | height: 42px; | 3882 | height: 42px; |
3883 | display: -webkit-box; | 3883 | display: -webkit-box; |
3884 | display: -ms-flexbox; | 3884 | display: -ms-flexbox; |
3885 | display: flex; | 3885 | display: flex; |
3886 | -webkit-box-align: center; | 3886 | -webkit-box-align: center; |
3887 | -ms-flex-align: center; | 3887 | -ms-flex-align: center; |
3888 | align-items: center; | 3888 | align-items: center; |
3889 | } | 3889 | } |
3890 | } | 3890 | } |
3891 | @media (min-width: 992px) { | 3891 | @media (min-width: 992px) { |
3892 | .main__employer-page-two-item-bottom-date { | 3892 | .main__employer-page-two-item-bottom-date { |
3893 | font-size: 16px; | 3893 | font-size: 16px; |
3894 | } | 3894 | } |
3895 | } | 3895 | } |
3896 | @media (min-width: 768px) { | 3896 | @media (min-width: 768px) { |
3897 | .main__employer-page-two-item-bottom-like { | 3897 | .main__employer-page-two-item-bottom-like { |
3898 | position: absolute; | 3898 | position: absolute; |
3899 | bottom: 20px; | 3899 | bottom: 20px; |
3900 | left: 240px; | 3900 | left: 240px; |
3901 | } | 3901 | } |
3902 | } | 3902 | } |
3903 | @media (min-width: 768px) { | 3903 | @media (min-width: 768px) { |
3904 | .main__employer-page-two-more { | 3904 | .main__employer-page-two-more { |
3905 | margin-top: 10px; | 3905 | margin-top: 10px; |
3906 | padding: 0; | 3906 | padding: 0; |
3907 | width: 200px; | 3907 | width: 200px; |
3908 | } | 3908 | } |
3909 | } | 3909 | } |
3910 | .main__employer-page-two .main__employer-page-two-item { | 3910 | .main__employer-page-two .main__employer-page-two-item { |
3911 | /*display: none;*/ | 3911 | /*display: none;*/ |
3912 | } | 3912 | } |
3913 | .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) { | 3913 | .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 | display: -webkit-box; | 3914 | display: -webkit-box; |
3915 | display: -ms-flexbox; | 3915 | display: -ms-flexbox; |
3916 | display: flex; | 3916 | display: flex; |
3917 | } | 3917 | } |
3918 | .main__employer-page-two.active .main__employer-page-two-item { | 3918 | .main__employer-page-two.active .main__employer-page-two-item { |
3919 | display: -webkit-box; | 3919 | display: -webkit-box; |
3920 | display: -ms-flexbox; | 3920 | display: -ms-flexbox; |
3921 | display: flex; | 3921 | display: flex; |
3922 | } | 3922 | } |
3923 | .main__resume-base { | 3923 | .main__resume-base { |
3924 | display: -webkit-box; | 3924 | display: -webkit-box; |
3925 | display: -ms-flexbox; | 3925 | display: -ms-flexbox; |
3926 | display: flex; | 3926 | display: flex; |
3927 | -webkit-box-orient: vertical; | 3927 | -webkit-box-orient: vertical; |
3928 | -webkit-box-direction: normal; | 3928 | -webkit-box-direction: normal; |
3929 | -ms-flex-direction: column; | 3929 | -ms-flex-direction: column; |
3930 | flex-direction: column; | 3930 | flex-direction: column; |
3931 | color: #000; | 3931 | color: #000; |
3932 | } | 3932 | } |
3933 | .main__resume-base-body { | 3933 | .main__resume-base-body { |
3934 | display: none; | 3934 | display: none; |
3935 | -webkit-box-orient: vertical; | 3935 | -webkit-box-orient: vertical; |
3936 | -webkit-box-direction: normal; | 3936 | -webkit-box-direction: normal; |
3937 | -ms-flex-direction: column; | 3937 | -ms-flex-direction: column; |
3938 | flex-direction: column; | 3938 | flex-direction: column; |
3939 | margin-top: 10px; | 3939 | margin-top: 10px; |
3940 | } | 3940 | } |
3941 | @media (min-width: 768px) { | 3941 | @media (min-width: 768px) { |
3942 | .main__resume-base-body { | 3942 | .main__resume-base-body { |
3943 | margin-top: 30px; | 3943 | margin-top: 30px; |
3944 | } | 3944 | } |
3945 | } | 3945 | } |
3946 | .main__resume-base-body.showed { | 3946 | .main__resume-base-body.showed { |
3947 | display: -webkit-box; | 3947 | display: -webkit-box; |
3948 | display: -ms-flexbox; | 3948 | display: -ms-flexbox; |
3949 | display: flex; | 3949 | display: flex; |
3950 | } | 3950 | } |
3951 | .main__resume-base-body-one { | 3951 | .main__resume-base-body-one { |
3952 | display: -webkit-box; | 3952 | display: -webkit-box; |
3953 | display: -ms-flexbox; | 3953 | display: -ms-flexbox; |
3954 | display: flex; | 3954 | display: flex; |
3955 | -webkit-box-orient: vertical; | 3955 | -webkit-box-orient: vertical; |
3956 | -webkit-box-direction: normal; | 3956 | -webkit-box-direction: normal; |
3957 | -ms-flex-direction: column; | 3957 | -ms-flex-direction: column; |
3958 | flex-direction: column; | 3958 | flex-direction: column; |
3959 | -webkit-box-align: center; | 3959 | -webkit-box-align: center; |
3960 | -ms-flex-align: center; | 3960 | -ms-flex-align: center; |
3961 | align-items: center; | 3961 | align-items: center; |
3962 | gap: 20px; | 3962 | gap: 20px; |
3963 | } | 3963 | } |
3964 | @media (min-width: 768px) { | 3964 | @media (min-width: 768px) { |
3965 | .main__resume-base-body-one { | 3965 | .main__resume-base-body-one { |
3966 | gap: 30px; | 3966 | gap: 30px; |
3967 | } | 3967 | } |
3968 | } | 3968 | } |
3969 | .main__resume-base-body-two { | 3969 | .main__resume-base-body-two { |
3970 | display: -webkit-box; | 3970 | display: -webkit-box; |
3971 | display: -ms-flexbox; | 3971 | display: -ms-flexbox; |
3972 | display: flex; | 3972 | display: flex; |
3973 | -webkit-box-orient: vertical; | 3973 | -webkit-box-orient: vertical; |
3974 | -webkit-box-direction: normal; | 3974 | -webkit-box-direction: normal; |
3975 | -ms-flex-direction: column; | 3975 | -ms-flex-direction: column; |
3976 | flex-direction: column; | 3976 | flex-direction: column; |
3977 | gap: 20px; | 3977 | gap: 20px; |
3978 | } | 3978 | } |
3979 | @media (min-width: 768px) { | 3979 | @media (min-width: 768px) { |
3980 | .main__resume-base-body-two { | 3980 | .main__resume-base-body-two { |
3981 | -webkit-box-orient: horizontal; | 3981 | -webkit-box-orient: horizontal; |
3982 | -webkit-box-direction: normal; | 3982 | -webkit-box-direction: normal; |
3983 | -ms-flex-direction: row; | 3983 | -ms-flex-direction: row; |
3984 | flex-direction: row; | 3984 | flex-direction: row; |
3985 | -webkit-box-pack: justify; | 3985 | -webkit-box-pack: justify; |
3986 | -ms-flex-pack: justify; | 3986 | -ms-flex-pack: justify; |
3987 | justify-content: space-between; | 3987 | justify-content: space-between; |
3988 | -webkit-box-align: start; | 3988 | -webkit-box-align: start; |
3989 | -ms-flex-align: start; | 3989 | -ms-flex-align: start; |
3990 | align-items: flex-start; | 3990 | align-items: flex-start; |
3991 | -ms-flex-wrap: wrap; | 3991 | -ms-flex-wrap: wrap; |
3992 | flex-wrap: wrap; | 3992 | flex-wrap: wrap; |
3993 | gap: 30px 0; | 3993 | gap: 30px 0; |
3994 | } | 3994 | } |
3995 | } | 3995 | } |
3996 | @media (min-width: 768px) { | 3996 | @media (min-width: 768px) { |
3997 | .main__resume-base-body-two .main__resume-base-body-item { | 3997 | .main__resume-base-body-two .main__resume-base-body-item { |
3998 | width: calc(50% - 10px); | 3998 | width: calc(50% - 10px); |
3999 | } | 3999 | } |
4000 | } | 4000 | } |
4001 | .main__resume-base-body-two .main__resume-base-body-item-wrapper { | 4001 | .main__resume-base-body-two .main__resume-base-body-item-wrapper { |
4002 | -webkit-box-orient: vertical; | 4002 | -webkit-box-orient: vertical; |
4003 | -webkit-box-direction: normal; | 4003 | -webkit-box-direction: normal; |
4004 | -ms-flex-direction: column; | 4004 | -ms-flex-direction: column; |
4005 | flex-direction: column; | 4005 | flex-direction: column; |
4006 | } | 4006 | } |
4007 | .main__resume-base-body-item { | 4007 | .main__resume-base-body-item { |
4008 | width: 100%; | 4008 | width: 100%; |
4009 | display: -webkit-box; | 4009 | display: -webkit-box; |
4010 | display: -ms-flexbox; | 4010 | display: -ms-flexbox; |
4011 | display: flex; | 4011 | display: flex; |
4012 | -webkit-box-orient: vertical; | 4012 | -webkit-box-orient: vertical; |
4013 | -webkit-box-direction: normal; | 4013 | -webkit-box-direction: normal; |
4014 | -ms-flex-direction: column; | 4014 | -ms-flex-direction: column; |
4015 | flex-direction: column; | 4015 | flex-direction: column; |
4016 | gap: 20px; | 4016 | gap: 20px; |
4017 | position: relative; | 4017 | position: relative; |
4018 | border: 1px solid #377d87; | 4018 | border: 1px solid #377d87; |
4019 | border-radius: 8px; | 4019 | border-radius: 8px; |
4020 | padding: 10px; | 4020 | padding: 10px; |
4021 | -webkit-box-align: center; | 4021 | -webkit-box-align: center; |
4022 | -ms-flex-align: center; | 4022 | -ms-flex-align: center; |
4023 | align-items: center; | 4023 | align-items: center; |
4024 | } | 4024 | } |
4025 | @media (min-width: 768px) { | 4025 | @media (min-width: 768px) { |
4026 | .main__resume-base-body-item { | 4026 | .main__resume-base-body-item { |
4027 | padding: 20px; | 4027 | padding: 20px; |
4028 | } | 4028 | } |
4029 | } | 4029 | } |
4030 | .main__resume-base-body-item-buttons { | 4030 | .main__resume-base-body-item-buttons { |
4031 | margin-top: 10px; | 4031 | margin-top: 10px; |
4032 | } | 4032 | } |
4033 | .main__resume-base-body-item-buttons button, a.main__resume-base-body-item-link{ | 4033 | .main__resume-base-body-item-buttons button, a.main__resume-base-body-item-link{ |
4034 | width: 100%; | 4034 | width: 100%; |
4035 | margin-bottom: 10px; | 4035 | margin-bottom: 10px; |
4036 | } | 4036 | } |
4037 | .main__resume-base-body-item-buttons a.main__resume-base-body-item-link{ | 4037 | .main__resume-base-body-item-buttons a.main__resume-base-body-item-link{ |
4038 | background: #377d87; | 4038 | background: #377d87; |
4039 | color: #fff; | 4039 | color: #fff; |
4040 | } | 4040 | } |
4041 | .main__resume-base-body-item-buttons .chat.active{ | 4041 | .main__resume-base-body-item-buttons .chat.active{ |
4042 | background: #fff; | 4042 | background: #fff; |
4043 | color: #377d87; | 4043 | color: #377d87; |
4044 | } | 4044 | } |
4045 | .main__resume-base-body-item-buttons button.like.active{ | 4045 | .main__resume-base-body-item-buttons button.like.active{ |
4046 | background-color: #ffffff; | 4046 | background-color: #ffffff; |
4047 | color: #eb5757; | 4047 | color: #eb5757; |
4048 | } | 4048 | } |
4049 | .main__resume-base-body-item-buttons button span{ | 4049 | .main__resume-base-body-item-buttons button span{ |
4050 | margin-left: 10px; | 4050 | margin-left: 10px; |
4051 | } | 4051 | } |
4052 | .main__resume-base-body-item-buttons .like .in-favorites{ | 4052 | .main__resume-base-body-item-buttons .like .in-favorites{ |
4053 | display: none; | 4053 | display: none; |
4054 | } | 4054 | } |
4055 | .main__resume-base-body-item-buttons .like.active .in-favorites{ | 4055 | .main__resume-base-body-item-buttons .like.active .in-favorites{ |
4056 | display: block; | 4056 | display: block; |
4057 | color: #eb5757; | 4057 | color: #eb5757; |
4058 | } | 4058 | } |
4059 | .main__resume-base-body-item-buttons .like.active .to-favorites{ | 4059 | .main__resume-base-body-item-buttons .like.active .to-favorites{ |
4060 | display: none; | 4060 | display: none; |
4061 | } | 4061 | } |
4062 | .main__resume-base-body-item-wrapper { | 4062 | .main__resume-base-body-item-wrapper { |
4063 | display: -webkit-box; | 4063 | display: -webkit-box; |
4064 | display: -ms-flexbox; | 4064 | display: -ms-flexbox; |
4065 | display: flex; | 4065 | display: flex; |
4066 | -webkit-box-orient: vertical; | 4066 | -webkit-box-orient: vertical; |
4067 | -webkit-box-direction: normal; | 4067 | -webkit-box-direction: normal; |
4068 | -ms-flex-direction: column; | 4068 | -ms-flex-direction: column; |
4069 | flex-direction: column; | 4069 | flex-direction: column; |
4070 | -webkit-box-align: start; | 4070 | -webkit-box-align: start; |
4071 | -ms-flex-align: start; | 4071 | -ms-flex-align: start; |
4072 | align-items: flex-start; | 4072 | align-items: flex-start; |
4073 | gap: 20px; | 4073 | gap: 20px; |
4074 | width: 100%; | 4074 | width: 100%; |
4075 | } | 4075 | } |
4076 | @media (min-width: 768px) { | 4076 | @media (min-width: 768px) { |
4077 | .main__resume-base-body-item-wrapper { | 4077 | .main__resume-base-body-item-wrapper { |
4078 | -webkit-box-orient: horizontal; | 4078 | -webkit-box-orient: horizontal; |
4079 | -webkit-box-direction: normal; | 4079 | -webkit-box-direction: normal; |
4080 | -ms-flex-direction: row; | 4080 | -ms-flex-direction: row; |
4081 | flex-direction: row; | 4081 | flex-direction: row; |
4082 | } | 4082 | } |
4083 | } | 4083 | } |
4084 | .main__resume-base-body-item-photo { | 4084 | .main__resume-base-body-item-photo { |
4085 | width: 180px; | 4085 | width: 180px; |
4086 | aspect-ratio: 1/1; | 4086 | aspect-ratio: 1/1; |
4087 | -o-object-fit: cover; | 4087 | -o-object-fit: cover; |
4088 | object-fit: cover; | 4088 | object-fit: cover; |
4089 | border-radius: 8px; | 4089 | border-radius: 8px; |
4090 | } | 4090 | } |
4091 | @media (min-width: 768px) { | 4091 | @media (min-width: 768px) { |
4092 | .main__resume-base-body-item-photo { | 4092 | .main__resume-base-body-item-photo { |
4093 | width: 210px; | 4093 | width: 210px; |
4094 | } | 4094 | } |
4095 | } | 4095 | } |
4096 | .main__resume-base-body-item-inner { | 4096 | .main__resume-base-body-item-inner { |
4097 | display: -webkit-box; | 4097 | display: -webkit-box; |
4098 | display: -ms-flexbox; | 4098 | display: -ms-flexbox; |
4099 | display: flex; | 4099 | display: flex; |
4100 | -webkit-box-orient: vertical; | 4100 | -webkit-box-orient: vertical; |
4101 | -webkit-box-direction: normal; | 4101 | -webkit-box-direction: normal; |
4102 | -ms-flex-direction: column; | 4102 | -ms-flex-direction: column; |
4103 | flex-direction: column; | 4103 | flex-direction: column; |
4104 | gap: 10px; | 4104 | gap: 10px; |
4105 | width: 100%; | 4105 | width: 100%; |
4106 | row-gap: 10px; | 4106 | row-gap: 10px; |
4107 | } | 4107 | } |
4108 | .main__resume-base-body-item-inner .horizontal{ | 4108 | .main__resume-base-body-item-inner .horizontal{ |
4109 | -webkit-box-orient: horizontal; | 4109 | -webkit-box-orient: horizontal; |
4110 | -ms-flex-direction: unset; | 4110 | -ms-flex-direction: unset; |
4111 | flex-direction: row; | 4111 | flex-direction: row; |
4112 | align-items: start; | 4112 | align-items: start; |
4113 | } | 4113 | } |
4114 | .main__resume-base-item-status{ | 4114 | .main__resume-base-item-status{ |
4115 | width: fit-content; | 4115 | width: fit-content; |
4116 | background-color: #e6e6e6; | 4116 | background-color: #e6e6e6; |
4117 | font-weight: bold; | 4117 | font-weight: bold; |
4118 | padding: 5px 10px; | 4118 | padding: 5px 10px; |
4119 | border-radius: 8px; | 4119 | border-radius: 8px; |
4120 | } | 4120 | } |
4121 | .main__resume-base-item-status.looking-for-job{ | 4121 | .main__resume-base-item-status.looking-for-job{ |
4122 | background-color: #eb5757; | 4122 | background-color: #eb5757; |
4123 | color: #fff; | 4123 | color: #fff; |
4124 | } | 4124 | } |
4125 | .main__resume-base-item-updated-at{ | 4125 | .main__resume-base-item-updated-at{ |
4126 | padding: 5px 10px; | 4126 | padding: 5px 10px; |
4127 | border-radius: 8px; | 4127 | border-radius: 8px; |
4128 | border: 1px #e6e6e6 solid; | 4128 | border: 1px #e6e6e6 solid; |
4129 | } | 4129 | } |
4130 | @media (min-width: 768px) { | 4130 | @media (min-width: 768px) { |
4131 | .main__resume-base-body-item-inner { | 4131 | .main__resume-base-body-item-inner { |
4132 | gap: 16px; | 4132 | gap: 16px; |
4133 | padding-right: 50px; | 4133 | padding-right: 50px; |
4134 | } | 4134 | } |
4135 | } | 4135 | } |
4136 | @media (min-width: 992px) { | 4136 | @media (min-width: 992px) { |
4137 | .main__resume-base-body-item-inner { | 4137 | .main__resume-base-body-item-inner { |
4138 | display: grid; | 4138 | display: grid; |
4139 | grid-template-columns: repeat(2, 1fr); | 4139 | grid-template-columns: repeat(2, 1fr); |
4140 | gap: 30px; | 4140 | gap: 30px; |
4141 | row-gap: 10px; | 4141 | row-gap: 10px; |
4142 | } | 4142 | } |
4143 | } | 4143 | } |
4144 | .main__resume-base-body-item-inner div { | 4144 | .main__resume-base-body-item-inner div { |
4145 | display: -webkit-box; | 4145 | display: -webkit-box; |
4146 | display: -ms-flexbox; | 4146 | display: -ms-flexbox; |
4147 | display: flex; | 4147 | display: flex; |
4148 | -webkit-box-orient: vertical; | 4148 | -webkit-box-orient: vertical; |
4149 | -webkit-box-direction: normal; | 4149 | -webkit-box-direction: normal; |
4150 | -ms-flex-direction: column; | 4150 | -ms-flex-direction: column; |
4151 | flex-direction: column; | 4151 | flex-direction: column; |
4152 | gap: 4px; | 4152 | gap: 4px; |
4153 | font-size: 12px; | 4153 | font-size: 12px; |
4154 | } | 4154 | } |
4155 | @media (min-width: 768px) { | 4155 | @media (min-width: 768px) { |
4156 | .main__resume-base-body-item-inner div { | 4156 | .main__resume-base-body-item-inner div { |
4157 | font-size: 16px; | 4157 | font-size: 16px; |
4158 | } | 4158 | } |
4159 | } | 4159 | } |
4160 | .main__resume-base-body-item-inner b { | 4160 | .main__resume-base-body-item-inner b { |
4161 | color: #377d87; | 4161 | color: #377d87; |
4162 | font-size: 14px; | 4162 | font-size: 14px; |
4163 | } | 4163 | } |
4164 | @media (min-width: 768px) { | 4164 | @media (min-width: 768px) { |
4165 | .main__resume-base-body-item-inner b { | 4165 | .main__resume-base-body-item-inner b { |
4166 | font-size: 18px; | 4166 | font-size: 18px; |
4167 | } | 4167 | } |
4168 | } | 4168 | } |
4169 | .main__resume-base-body-item-link { | 4169 | .main__resume-base-body-item-link { |
4170 | width: 100%; | 4170 | width: 100%; |
4171 | padding: 0; | 4171 | padding: 0; |
4172 | } | 4172 | } |
4173 | @media (min-width: 768px) { | 4173 | @media (min-width: 768px) { |
4174 | .main__resume-base-body-item-link { | 4174 | .main__resume-base-body-item-link { |
4175 | width: 200px; | 4175 | width: 200px; |
4176 | } | 4176 | } |
4177 | } | 4177 | } |
4178 | .main__spoiler { | 4178 | .main__spoiler { |
4179 | overflow: hidden; | 4179 | overflow: hidden; |
4180 | border-radius: 8px; | 4180 | border-radius: 8px; |
4181 | display: -webkit-box; | 4181 | display: -webkit-box; |
4182 | display: -ms-flexbox; | 4182 | display: -ms-flexbox; |
4183 | display: flex; | 4183 | display: flex; |
4184 | -webkit-box-orient: vertical; | 4184 | -webkit-box-orient: vertical; |
4185 | -webkit-box-direction: normal; | 4185 | -webkit-box-direction: normal; |
4186 | -ms-flex-direction: column; | 4186 | -ms-flex-direction: column; |
4187 | flex-direction: column; | 4187 | flex-direction: column; |
4188 | } | 4188 | } |
4189 | .main__spoiler-toper { | 4189 | .main__spoiler-toper { |
4190 | background: #377d87; | 4190 | background: #377d87; |
4191 | height: 30px; | 4191 | height: 30px; |
4192 | display: -webkit-box; | 4192 | display: -webkit-box; |
4193 | display: -ms-flexbox; | 4193 | display: -ms-flexbox; |
4194 | display: flex; | 4194 | display: flex; |
4195 | -webkit-box-align: center; | 4195 | -webkit-box-align: center; |
4196 | -ms-flex-align: center; | 4196 | -ms-flex-align: center; |
4197 | align-items: center; | 4197 | align-items: center; |
4198 | -webkit-box-pack: center; | 4198 | -webkit-box-pack: center; |
4199 | -ms-flex-pack: center; | 4199 | -ms-flex-pack: center; |
4200 | justify-content: center; | 4200 | justify-content: center; |
4201 | color: #fff; | 4201 | color: #fff; |
4202 | font-size: 12px; | 4202 | font-size: 12px; |
4203 | font-weight: 700; | 4203 | font-weight: 700; |
4204 | padding: 0 30px; | 4204 | padding: 0 30px; |
4205 | border: none; | 4205 | border: none; |
4206 | position: relative; | 4206 | position: relative; |
4207 | } | 4207 | } |
4208 | @media (min-width: 768px) { | 4208 | @media (min-width: 768px) { |
4209 | .main__spoiler-toper { | 4209 | .main__spoiler-toper { |
4210 | font-size: 18px; | 4210 | font-size: 18px; |
4211 | height: 50px; | 4211 | height: 50px; |
4212 | padding: 0 60px; | 4212 | padding: 0 60px; |
4213 | } | 4213 | } |
4214 | } | 4214 | } |
4215 | .main__spoiler-toper:before, .main__spoiler-toper:after { | 4215 | .main__spoiler-toper:before, .main__spoiler-toper:after { |
4216 | content: ""; | 4216 | content: ""; |
4217 | background: #fff; | 4217 | background: #fff; |
4218 | border-radius: 999px; | 4218 | border-radius: 999px; |
4219 | width: 10px; | 4219 | width: 10px; |
4220 | height: 1px; | 4220 | height: 1px; |
4221 | position: absolute; | 4221 | position: absolute; |
4222 | top: 50%; | 4222 | top: 50%; |
4223 | right: 10px; | 4223 | right: 10px; |
4224 | -webkit-transition: 0.3s; | 4224 | -webkit-transition: 0.3s; |
4225 | transition: 0.3s; | 4225 | transition: 0.3s; |
4226 | -webkit-transform: translate(0, -50%); | 4226 | -webkit-transform: translate(0, -50%); |
4227 | -ms-transform: translate(0, -50%); | 4227 | -ms-transform: translate(0, -50%); |
4228 | transform: translate(0, -50%); | 4228 | transform: translate(0, -50%); |
4229 | } | 4229 | } |
4230 | @media (min-width: 768px) { | 4230 | @media (min-width: 768px) { |
4231 | .main__spoiler-toper:before, .main__spoiler-toper:after { | 4231 | .main__spoiler-toper:before, .main__spoiler-toper:after { |
4232 | width: 20px; | 4232 | width: 20px; |
4233 | height: 2px; | 4233 | height: 2px; |
4234 | right: 20px; | 4234 | right: 20px; |
4235 | } | 4235 | } |
4236 | } | 4236 | } |
4237 | .main__spoiler-toper:after { | 4237 | .main__spoiler-toper:after { |
4238 | -webkit-transform: rotate(90deg); | 4238 | -webkit-transform: rotate(90deg); |
4239 | -ms-transform: rotate(90deg); | 4239 | -ms-transform: rotate(90deg); |
4240 | transform: rotate(90deg); | 4240 | transform: rotate(90deg); |
4241 | } | 4241 | } |
4242 | .main__spoiler-toper.active:after { | 4242 | .main__spoiler-toper.active:after { |
4243 | -webkit-transform: rotate(0deg); | 4243 | -webkit-transform: rotate(0deg); |
4244 | -ms-transform: rotate(0deg); | 4244 | -ms-transform: rotate(0deg); |
4245 | transform: rotate(0deg); | 4245 | transform: rotate(0deg); |
4246 | } | 4246 | } |
4247 | .main__spoiler-body { | 4247 | .main__spoiler-body { |
4248 | opacity: 0; | 4248 | opacity: 0; |
4249 | height: 0; | 4249 | height: 0; |
4250 | overflow: hidden; | 4250 | overflow: hidden; |
4251 | border-radius: 0 0 8px 8px; | 4251 | border-radius: 0 0 8px 8px; |
4252 | background: #fff; | 4252 | background: #fff; |
4253 | } | 4253 | } |
4254 | .main__spoiler-body table { | 4254 | .main__spoiler-body table { |
4255 | width: calc(100% + 2px); | 4255 | width: calc(100% + 2px); |
4256 | margin-left: -1px; | 4256 | margin-left: -1px; |
4257 | margin-bottom: -1px; | 4257 | margin-bottom: -1px; |
4258 | } | 4258 | } |
4259 | @media (min-width: 992px) { | 4259 | @media (min-width: 992px) { |
4260 | .main__spoiler-body table td { | 4260 | .main__spoiler-body table td { |
4261 | width: 50%; | 4261 | width: 50%; |
4262 | } | 4262 | } |
4263 | } | 4263 | } |
4264 | @media (min-width: 992px) { | 4264 | @media (min-width: 992px) { |
4265 | .main__spoiler-body table td + td { | 4265 | .main__spoiler-body table td + td { |
4266 | width: 50%; | 4266 | width: 50%; |
4267 | } | 4267 | } |
4268 | } | 4268 | } |
4269 | .active + .main__spoiler-body { | 4269 | .active + .main__spoiler-body { |
4270 | -webkit-transition: 0.3s; | 4270 | -webkit-transition: 0.3s; |
4271 | transition: 0.3s; | 4271 | transition: 0.3s; |
4272 | opacity: 1; | 4272 | opacity: 1; |
4273 | height: auto; | 4273 | height: auto; |
4274 | border: 1px solid #cecece; | 4274 | border: 1px solid #cecece; |
4275 | border-top: none; | 4275 | border-top: none; |
4276 | } | 4276 | } |
4277 | .main__table { | 4277 | .main__table { |
4278 | border-collapse: collapse; | 4278 | border-collapse: collapse; |
4279 | table-layout: fixed; | 4279 | table-layout: fixed; |
4280 | font-size: 12px; | 4280 | font-size: 12px; |
4281 | width: 100%; | 4281 | width: 100%; |
4282 | background: #fff; | 4282 | background: #fff; |
4283 | } | 4283 | } |
4284 | @media (min-width: 768px) { | 4284 | @media (min-width: 768px) { |
4285 | .main__table { | 4285 | .main__table { |
4286 | font-size: 16px; | 4286 | font-size: 16px; |
4287 | } | 4287 | } |
4288 | } | 4288 | } |
4289 | .main__table td { | 4289 | .main__table td { |
4290 | border: 1px solid #cecece; | 4290 | border: 1px solid #cecece; |
4291 | padding: 4px 8px; | 4291 | padding: 4px 8px; |
4292 | vertical-align: top; | 4292 | vertical-align: top; |
4293 | } | 4293 | } |
4294 | @media (min-width: 768px) { | 4294 | @media (min-width: 768px) { |
4295 | .main__table td { | 4295 | .main__table td { |
4296 | padding: 8px 16px; | 4296 | padding: 8px 16px; |
4297 | } | 4297 | } |
4298 | } | 4298 | } |
4299 | .main__table td b { | 4299 | .main__table td b { |
4300 | font-weight: 700; | 4300 | font-weight: 700; |
4301 | } | 4301 | } |
4302 | .main__table_three { | 4302 | .main__table_three { |
4303 | table-layout: auto; | 4303 | table-layout: auto; |
4304 | } | 4304 | } |
4305 | .main__table_three td { | 4305 | .main__table_three td { |
4306 | width: 25% !important; | 4306 | width: 25% !important; |
4307 | } | 4307 | } |
4308 | .main__table_three td:last-child { | 4308 | .main__table_three td:last-child { |
4309 | width: 50% !important; | 4309 | width: 50% !important; |
4310 | } | 4310 | } |
4311 | .main__table b { | 4311 | .main__table b { |
4312 | display: block; | 4312 | display: block; |
4313 | } | 4313 | } |
4314 | .main__table a { | 4314 | .main__table a { |
4315 | color: #377d87; | 4315 | color: #377d87; |
4316 | text-decoration: underline; | 4316 | text-decoration: underline; |
4317 | } | 4317 | } |
4318 | .main__table a:hover { | 4318 | .main__table a:hover { |
4319 | color: #000; | 4319 | color: #000; |
4320 | } | 4320 | } |
4321 | .main__resume-profile-about { | 4321 | .main__resume-profile-about { |
4322 | padding-top: 20px; | 4322 | padding-top: 20px; |
4323 | padding-bottom: 30px; | 4323 | padding-bottom: 30px; |
4324 | position: relative; | 4324 | position: relative; |
4325 | margin-top: 30px; | 4325 | margin-top: 30px; |
4326 | display: -webkit-box; | 4326 | display: -webkit-box; |
4327 | display: -ms-flexbox; | 4327 | display: -ms-flexbox; |
4328 | display: flex; | 4328 | display: flex; |
4329 | -webkit-box-orient: vertical; | 4329 | -webkit-box-orient: vertical; |
4330 | -webkit-box-direction: normal; | 4330 | -webkit-box-direction: normal; |
4331 | -ms-flex-direction: column; | 4331 | -ms-flex-direction: column; |
4332 | flex-direction: column; | 4332 | flex-direction: column; |
4333 | -webkit-box-align: start; | 4333 | -webkit-box-align: start; |
4334 | -ms-flex-align: start; | 4334 | -ms-flex-align: start; |
4335 | align-items: flex-start; | 4335 | align-items: flex-start; |
4336 | gap: 10px; | 4336 | gap: 10px; |
4337 | } | 4337 | } |
4338 | @media (min-width: 992px) { | 4338 | @media (min-width: 992px) { |
4339 | .main__resume-profile-about { | 4339 | .main__resume-profile-about { |
4340 | padding: 50px 0; | 4340 | padding: 50px 0; |
4341 | } | 4341 | } |
4342 | } | 4342 | } |
4343 | .main__resume-profile-about:before { | 4343 | .main__resume-profile-about:before { |
4344 | content: ""; | 4344 | content: ""; |
4345 | position: absolute; | 4345 | position: absolute; |
4346 | z-index: 1; | 4346 | z-index: 1; |
4347 | top: 0; | 4347 | top: 0; |
4348 | left: 50%; | 4348 | left: 50%; |
4349 | width: 20000px; | 4349 | width: 20000px; |
4350 | height: 100%; | 4350 | height: 100%; |
4351 | margin-left: -10000px; | 4351 | margin-left: -10000px; |
4352 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 4352 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
4353 | } | 4353 | } |
4354 | .main__resume-profile-about-title { | 4354 | .main__resume-profile-about-title { |
4355 | position: relative; | 4355 | position: relative; |
4356 | z-index: 2; | 4356 | z-index: 2; |
4357 | color: #000; | 4357 | color: #000; |
4358 | } | 4358 | } |
4359 | .main__resume-profile-about-buttons{ | 4359 | .main__resume-profile-about-buttons{ |
4360 | display: flex; | 4360 | display: flex; |
4361 | width: 100%; | 4361 | width: 100%; |
4362 | position: relative; | 4362 | position: relative; |
4363 | z-index: 2; | 4363 | z-index: 2; |
4364 | } | 4364 | } |
4365 | .main__resume-profile-about-buttons .like{ | 4365 | .main__resume-profile-about-buttons .like{ |
4366 | width: 200px; | 4366 | width: 200px; |
4367 | } | 4367 | } |
4368 | .main__resume-profile-about-buttons .like.active{ | 4368 | .main__resume-profile-about-buttons .like.active{ |
4369 | background: #fff; | 4369 | background: #fff; |
4370 | color: #eb5757; | 4370 | color: #eb5757; |
4371 | } | 4371 | } |
4372 | .main__resume-profile-about-buttons .like .in-favorites{ | 4372 | .main__resume-profile-about-buttons .like .in-favorites{ |
4373 | display: none; | 4373 | display: none; |
4374 | } | 4374 | } |
4375 | .main__resume-profile-about-buttons .like.active .in-favorites{ | 4375 | .main__resume-profile-about-buttons .like.active .in-favorites{ |
4376 | display: block; | 4376 | display: block; |
4377 | color: #eb5757; | 4377 | color: #eb5757; |
4378 | } | 4378 | } |
4379 | .main__resume-profile-about-buttons .like.active .to-favorites{ | 4379 | .main__resume-profile-about-buttons .like.active .to-favorites{ |
4380 | display: none; | 4380 | display: none; |
4381 | } | 4381 | } |
4382 | .main__resume-profile-about-text { | 4382 | .main__resume-profile-about-text { |
4383 | position: relative; | 4383 | position: relative; |
4384 | z-index: 2; | 4384 | z-index: 2; |
4385 | } | 4385 | } |
4386 | .main__resume-profile-info { | 4386 | .main__resume-profile-info { |
4387 | display: -webkit-box; | 4387 | display: -webkit-box; |
4388 | display: -ms-flexbox; | 4388 | display: -ms-flexbox; |
4389 | display: flex; | 4389 | display: flex; |
4390 | -webkit-box-orient: vertical; | 4390 | -webkit-box-orient: vertical; |
4391 | -webkit-box-direction: normal; | 4391 | -webkit-box-direction: normal; |
4392 | -ms-flex-direction: column; | 4392 | -ms-flex-direction: column; |
4393 | flex-direction: column; | 4393 | flex-direction: column; |
4394 | gap: 20px; | 4394 | gap: 20px; |
4395 | margin-top: 30px; | 4395 | margin-top: 30px; |
4396 | } | 4396 | } |
4397 | @media (min-width: 992px) { | 4397 | @media (min-width: 992px) { |
4398 | .main__resume-profile-info { | 4398 | .main__resume-profile-info { |
4399 | margin-top: 50px; | 4399 | margin-top: 50px; |
4400 | gap: 30px; | 4400 | gap: 30px; |
4401 | } | 4401 | } |
4402 | } | 4402 | } |
4403 | .main__resume-profile-info-title { | 4403 | .main__resume-profile-info-title { |
4404 | color: #000; | 4404 | color: #000; |
4405 | } | 4405 | } |
4406 | .main__resume-profile-info-body { | 4406 | .main__resume-profile-info-body { |
4407 | display: -webkit-box; | 4407 | display: -webkit-box; |
4408 | display: -ms-flexbox; | 4408 | display: -ms-flexbox; |
4409 | display: flex; | 4409 | display: flex; |
4410 | -webkit-box-orient: vertical; | 4410 | -webkit-box-orient: vertical; |
4411 | -webkit-box-direction: normal; | 4411 | -webkit-box-direction: normal; |
4412 | -ms-flex-direction: column; | 4412 | -ms-flex-direction: column; |
4413 | flex-direction: column; | 4413 | flex-direction: column; |
4414 | gap: 20px; | 4414 | gap: 20px; |
4415 | } | 4415 | } |
4416 | @media (min-width: 992px) { | 4416 | @media (min-width: 992px) { |
4417 | .main__resume-profile-info-body { | 4417 | .main__resume-profile-info-body { |
4418 | gap: 30px; | 4418 | gap: 30px; |
4419 | } | 4419 | } |
4420 | } | 4420 | } |
4421 | .main__resume-profile-info-body-item { | 4421 | .main__resume-profile-info-body-item { |
4422 | display: -webkit-box; | 4422 | display: -webkit-box; |
4423 | display: -ms-flexbox; | 4423 | display: -ms-flexbox; |
4424 | display: flex; | 4424 | display: flex; |
4425 | -webkit-box-orient: vertical; | 4425 | -webkit-box-orient: vertical; |
4426 | -webkit-box-direction: normal; | 4426 | -webkit-box-direction: normal; |
4427 | -ms-flex-direction: column; | 4427 | -ms-flex-direction: column; |
4428 | flex-direction: column; | 4428 | flex-direction: column; |
4429 | gap: 10px; | 4429 | gap: 10px; |
4430 | } | 4430 | } |
4431 | @media (min-width: 768px) { | 4431 | @media (min-width: 768px) { |
4432 | .main__resume-profile-info-body-item { | 4432 | .main__resume-profile-info-body-item { |
4433 | gap: 20px; | 4433 | gap: 20px; |
4434 | } | 4434 | } |
4435 | } | 4435 | } |
4436 | .main__resume-profile-info-body-subtitle { | 4436 | .main__resume-profile-info-body-subtitle { |
4437 | color: #4d88d9; | 4437 | color: #4d88d9; |
4438 | } | 4438 | } |
4439 | .main__resume-profile-info-body-inner { | 4439 | .main__resume-profile-info-body-inner { |
4440 | display: -webkit-box; | 4440 | display: -webkit-box; |
4441 | display: -ms-flexbox; | 4441 | display: -ms-flexbox; |
4442 | display: flex; | 4442 | display: flex; |
4443 | -webkit-box-orient: vertical; | 4443 | -webkit-box-orient: vertical; |
4444 | -webkit-box-direction: normal; | 4444 | -webkit-box-direction: normal; |
4445 | -ms-flex-direction: column; | 4445 | -ms-flex-direction: column; |
4446 | flex-direction: column; | 4446 | flex-direction: column; |
4447 | gap: 20px; | 4447 | gap: 20px; |
4448 | margin: 0; | 4448 | margin: 0; |
4449 | padding: 0; | 4449 | padding: 0; |
4450 | font-size: 12px; | 4450 | font-size: 12px; |
4451 | } | 4451 | } |
4452 | @media (min-width: 768px) { | 4452 | @media (min-width: 768px) { |
4453 | .main__resume-profile-info-body-inner { | 4453 | .main__resume-profile-info-body-inner { |
4454 | display: grid; | 4454 | display: grid; |
4455 | grid-template-columns: repeat(2, 1fr); | 4455 | grid-template-columns: repeat(2, 1fr); |
4456 | } | 4456 | } |
4457 | } | 4457 | } |
4458 | @media (min-width: 992px) { | 4458 | @media (min-width: 992px) { |
4459 | .main__resume-profile-info-body-inner { | 4459 | .main__resume-profile-info-body-inner { |
4460 | grid-template-columns: repeat(3, 1fr); | 4460 | grid-template-columns: repeat(3, 1fr); |
4461 | font-size: 16px; | 4461 | font-size: 16px; |
4462 | } | 4462 | } |
4463 | } | 4463 | } |
4464 | .main__resume-profile-info-body-inner li { | 4464 | .main__resume-profile-info-body-inner li { |
4465 | display: -webkit-box; | 4465 | display: -webkit-box; |
4466 | display: -ms-flexbox; | 4466 | display: -ms-flexbox; |
4467 | display: flex; | 4467 | display: flex; |
4468 | -webkit-box-orient: vertical; | 4468 | -webkit-box-orient: vertical; |
4469 | -webkit-box-direction: normal; | 4469 | -webkit-box-direction: normal; |
4470 | -ms-flex-direction: column; | 4470 | -ms-flex-direction: column; |
4471 | flex-direction: column; | 4471 | flex-direction: column; |
4472 | gap: 6px; | 4472 | gap: 6px; |
4473 | } | 4473 | } |
4474 | @media (min-width: 992px) { | 4474 | @media (min-width: 992px) { |
4475 | .main__resume-profile-info-body-inner li { | 4475 | .main__resume-profile-info-body-inner li { |
4476 | gap: 8px; | 4476 | gap: 8px; |
4477 | } | 4477 | } |
4478 | } | 4478 | } |
4479 | .main__resume-profile-info-body-inner b { | 4479 | .main__resume-profile-info-body-inner b { |
4480 | color: #377d87; | 4480 | color: #377d87; |
4481 | font-size: 14px; | 4481 | font-size: 14px; |
4482 | } | 4482 | } |
4483 | @media (min-width: 992px) { | 4483 | @media (min-width: 992px) { |
4484 | .main__resume-profile-info-body-inner b { | 4484 | .main__resume-profile-info-body-inner b { |
4485 | font-size: 18px; | 4485 | font-size: 18px; |
4486 | } | 4486 | } |
4487 | } | 4487 | } |
4488 | .main__resume-profile-info-body-inner span { | 4488 | .main__resume-profile-info-body-inner span { |
4489 | display: -webkit-box; | 4489 | display: -webkit-box; |
4490 | display: -ms-flexbox; | 4490 | display: -ms-flexbox; |
4491 | display: flex; | 4491 | display: flex; |
4492 | -webkit-box-orient: vertical; | 4492 | -webkit-box-orient: vertical; |
4493 | -webkit-box-direction: normal; | 4493 | -webkit-box-direction: normal; |
4494 | -ms-flex-direction: column; | 4494 | -ms-flex-direction: column; |
4495 | flex-direction: column; | 4495 | flex-direction: column; |
4496 | gap: 4px; | 4496 | gap: 4px; |
4497 | } | 4497 | } |
4498 | @media (min-width: 992px) { | 4498 | @media (min-width: 992px) { |
4499 | .main__resume-profile-info-body-inner span { | 4499 | .main__resume-profile-info-body-inner span { |
4500 | gap: 6px; | 4500 | gap: 6px; |
4501 | } | 4501 | } |
4502 | } | 4502 | } |
4503 | .main__resume-profile-review { | 4503 | .main__resume-profile-review { |
4504 | display: -webkit-box; | 4504 | display: -webkit-box; |
4505 | display: -ms-flexbox; | 4505 | display: -ms-flexbox; |
4506 | display: flex; | 4506 | display: flex; |
4507 | -webkit-box-orient: vertical; | 4507 | -webkit-box-orient: vertical; |
4508 | -webkit-box-direction: normal; | 4508 | -webkit-box-direction: normal; |
4509 | -ms-flex-direction: column; | 4509 | -ms-flex-direction: column; |
4510 | flex-direction: column; | 4510 | flex-direction: column; |
4511 | gap: 20px; | 4511 | gap: 20px; |
4512 | padding: 20px 10px; | 4512 | padding: 20px 10px; |
4513 | margin-top: 30px; | 4513 | margin-top: 30px; |
4514 | border-radius: 16px; | 4514 | border-radius: 16px; |
4515 | border: 1px solid #cecece; | 4515 | border: 1px solid #cecece; |
4516 | background: #fff; | 4516 | background: #fff; |
4517 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 4517 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
4518 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 4518 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
4519 | } | 4519 | } |
4520 | @media (min-width: 992px) { | 4520 | @media (min-width: 992px) { |
4521 | .main__resume-profile-review { | 4521 | .main__resume-profile-review { |
4522 | margin-top: 50px; | 4522 | margin-top: 50px; |
4523 | padding: 50px 40px; | 4523 | padding: 50px 40px; |
4524 | gap: 30px; | 4524 | gap: 30px; |
4525 | } | 4525 | } |
4526 | } | 4526 | } |
4527 | .main__resume-profile-review-title { | 4527 | .main__resume-profile-review-title { |
4528 | color: #000; | 4528 | color: #000; |
4529 | } | 4529 | } |
4530 | .main__resume-profile-review-body { | 4530 | .main__resume-profile-review-body { |
4531 | display: -webkit-box; | 4531 | display: -webkit-box; |
4532 | display: -ms-flexbox; | 4532 | display: -ms-flexbox; |
4533 | display: flex; | 4533 | display: flex; |
4534 | -webkit-box-orient: vertical; | 4534 | -webkit-box-orient: vertical; |
4535 | -webkit-box-direction: normal; | 4535 | -webkit-box-direction: normal; |
4536 | -ms-flex-direction: column; | 4536 | -ms-flex-direction: column; |
4537 | flex-direction: column; | 4537 | flex-direction: column; |
4538 | -webkit-box-align: start; | 4538 | -webkit-box-align: start; |
4539 | -ms-flex-align: start; | 4539 | -ms-flex-align: start; |
4540 | align-items: flex-start; | 4540 | align-items: flex-start; |
4541 | gap: 10px; | 4541 | gap: 10px; |
4542 | } | 4542 | } |
4543 | .main__resume-profile-review-body .textarea { | 4543 | .main__resume-profile-review-body .textarea { |
4544 | width: 100%; | 4544 | width: 100%; |
4545 | } | 4545 | } |
4546 | .main__resume-profile-review-body .button { | 4546 | .main__resume-profile-review-body .button { |
4547 | margin-top: 10px; | 4547 | margin-top: 10px; |
4548 | } | 4548 | } |
4549 | .main__vacancies { | 4549 | .main__vacancies { |
4550 | display: -webkit-box; | 4550 | display: -webkit-box; |
4551 | display: -ms-flexbox; | 4551 | display: -ms-flexbox; |
4552 | display: flex; | 4552 | display: flex; |
4553 | -webkit-box-orient: vertical; | 4553 | -webkit-box-orient: vertical; |
4554 | -webkit-box-direction: normal; | 4554 | -webkit-box-direction: normal; |
4555 | -ms-flex-direction: column; | 4555 | -ms-flex-direction: column; |
4556 | flex-direction: column; | 4556 | flex-direction: column; |
4557 | -webkit-box-align: center; | 4557 | -webkit-box-align: center; |
4558 | -ms-flex-align: center; | 4558 | -ms-flex-align: center; |
4559 | align-items: center; | 4559 | align-items: center; |
4560 | gap: 20px; | 4560 | gap: 20px; |
4561 | } | 4561 | } |
4562 | @media (min-width: 768px) { | 4562 | @media (min-width: 768px) { |
4563 | .main__vacancies { | 4563 | .main__vacancies { |
4564 | gap: 30px; | 4564 | gap: 30px; |
4565 | } | 4565 | } |
4566 | } | 4566 | } |
4567 | .main__vacancies-title { | 4567 | .main__vacancies-title { |
4568 | color: #000; | 4568 | color: #000; |
4569 | width: 100%; | 4569 | width: 100%; |
4570 | } | 4570 | } |
4571 | .main__vacancies-filters { | 4571 | .main__vacancies-filters { |
4572 | width: 100%; | 4572 | width: 100%; |
4573 | } | 4573 | } |
4574 | .main__vacancies-item { | 4574 | .main__vacancies-item { |
4575 | width: 100%; | 4575 | width: 100%; |
4576 | background: none; | 4576 | background: none; |
4577 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 4577 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
4578 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 4578 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
4579 | } | 4579 | } |
4580 | .main__vacancies-item-page { | 4580 | .main__vacancies-item-page { |
4581 | border: none; | 4581 | border: none; |
4582 | -webkit-box-shadow: none; | 4582 | -webkit-box-shadow: none; |
4583 | box-shadow: none; | 4583 | box-shadow: none; |
4584 | background: none; | 4584 | background: none; |
4585 | margin: 0 -10px; | 4585 | margin: 0 -10px; |
4586 | } | 4586 | } |
4587 | @media (min-width: 768px) { | 4587 | @media (min-width: 768px) { |
4588 | .main__vacancies-item-page { | 4588 | .main__vacancies-item-page { |
4589 | margin: 0 -20px; | 4589 | margin: 0 -20px; |
4590 | } | 4590 | } |
4591 | } | 4591 | } |
4592 | .main__vacancies-thing { | 4592 | .main__vacancies-thing { |
4593 | width: 100%; | 4593 | width: 100%; |
4594 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 4594 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
4595 | padding: 20px 10px; | 4595 | padding: 20px 10px; |
4596 | padding-bottom: 30px; | 4596 | padding-bottom: 30px; |
4597 | display: -webkit-box; | 4597 | display: -webkit-box; |
4598 | display: -ms-flexbox; | 4598 | display: -ms-flexbox; |
4599 | display: flex; | 4599 | display: flex; |
4600 | -webkit-box-orient: vertical; | 4600 | -webkit-box-orient: vertical; |
4601 | -webkit-box-direction: normal; | 4601 | -webkit-box-direction: normal; |
4602 | -ms-flex-direction: column; | 4602 | -ms-flex-direction: column; |
4603 | flex-direction: column; | 4603 | flex-direction: column; |
4604 | gap: 24px; | 4604 | gap: 24px; |
4605 | border-radius: 12px; | 4605 | border-radius: 12px; |
4606 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 4606 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
4607 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 4607 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
4608 | } | 4608 | } |
4609 | @media (min-width: 992px) { | 4609 | @media (min-width: 992px) { |
4610 | .main__vacancies-thing { | 4610 | .main__vacancies-thing { |
4611 | padding: 30px 20px; | 4611 | padding: 30px 20px; |
4612 | -webkit-box-orient: horizontal; | 4612 | -webkit-box-orient: horizontal; |
4613 | -webkit-box-direction: normal; | 4613 | -webkit-box-direction: normal; |
4614 | -ms-flex-direction: row; | 4614 | -ms-flex-direction: row; |
4615 | flex-direction: row; | 4615 | flex-direction: row; |
4616 | -webkit-box-align: start; | 4616 | -webkit-box-align: start; |
4617 | -ms-flex-align: start; | 4617 | -ms-flex-align: start; |
4618 | align-items: flex-start; | 4618 | align-items: flex-start; |
4619 | gap: 0; | 4619 | gap: 0; |
4620 | } | 4620 | } |
4621 | } | 4621 | } |
4622 | @media (min-width: 1280px) { | 4622 | @media (min-width: 1280px) { |
4623 | .main__vacancies-thing { | 4623 | .main__vacancies-thing { |
4624 | padding: 50px 20px; | 4624 | padding: 50px 20px; |
4625 | } | 4625 | } |
4626 | } | 4626 | } |
4627 | .main__vacancies-thing-pic { | 4627 | .main__vacancies-thing-pic { |
4628 | position: relative; | 4628 | position: relative; |
4629 | z-index: 2; | 4629 | z-index: 2; |
4630 | width: 100%; | 4630 | width: 100%; |
4631 | aspect-ratio: 42/34; | 4631 | aspect-ratio: 42/34; |
4632 | -o-object-fit: cover; | 4632 | -o-object-fit: cover; |
4633 | object-fit: cover; | 4633 | object-fit: cover; |
4634 | border-radius: 8px; | 4634 | border-radius: 8px; |
4635 | max-height: 340px; | 4635 | max-height: 340px; |
4636 | } | 4636 | } |
4637 | @media (min-width: 992px) { | 4637 | @media (min-width: 992px) { |
4638 | .main__vacancies-thing-pic { | 4638 | .main__vacancies-thing-pic { |
4639 | width: 380px; | 4639 | width: 380px; |
4640 | } | 4640 | } |
4641 | } | 4641 | } |
4642 | @media (min-width: 1280px) { | 4642 | @media (min-width: 1280px) { |
4643 | .main__vacancies-thing-pic { | 4643 | .main__vacancies-thing-pic { |
4644 | width: 420px; | 4644 | width: 420px; |
4645 | } | 4645 | } |
4646 | } | 4646 | } |
4647 | .main__vacancies-thing-body { | 4647 | .main__vacancies-thing-body { |
4648 | display: -webkit-box; | 4648 | display: -webkit-box; |
4649 | display: -ms-flexbox; | 4649 | display: -ms-flexbox; |
4650 | display: flex; | 4650 | display: flex; |
4651 | -webkit-box-orient: vertical; | 4651 | -webkit-box-orient: vertical; |
4652 | -webkit-box-direction: normal; | 4652 | -webkit-box-direction: normal; |
4653 | -ms-flex-direction: column; | 4653 | -ms-flex-direction: column; |
4654 | flex-direction: column; | 4654 | flex-direction: column; |
4655 | -webkit-box-align: start; | 4655 | -webkit-box-align: start; |
4656 | -ms-flex-align: start; | 4656 | -ms-flex-align: start; |
4657 | align-items: flex-start; | 4657 | align-items: flex-start; |
4658 | gap: 16px; | 4658 | gap: 16px; |
4659 | color: #000; | 4659 | color: #000; |
4660 | } | 4660 | } |
4661 | @media (min-width: 992px) { | 4661 | @media (min-width: 992px) { |
4662 | .main__vacancies-thing-body { | 4662 | .main__vacancies-thing-body { |
4663 | width: calc(100% - 380px); | 4663 | width: calc(100% - 380px); |
4664 | padding-left: 20px; | 4664 | padding-left: 20px; |
4665 | } | 4665 | } |
4666 | } | 4666 | } |
4667 | @media (min-width: 1280px) { | 4667 | @media (min-width: 1280px) { |
4668 | .main__vacancies-thing-body { | 4668 | .main__vacancies-thing-body { |
4669 | width: calc(100% - 420px); | 4669 | width: calc(100% - 420px); |
4670 | gap: 20px; | 4670 | gap: 20px; |
4671 | } | 4671 | } |
4672 | } | 4672 | } |
4673 | .main__vacancies-thing-body > * { | 4673 | .main__vacancies-thing-body > * { |
4674 | width: 100%; | 4674 | width: 100%; |
4675 | } | 4675 | } |
4676 | .main__vacancies-thing-body .button { | 4676 | .main__vacancies-thing-body .button { |
4677 | width: auto; | 4677 | width: auto; |
4678 | } | 4678 | } |
4679 | @media (min-width: 768px) { | 4679 | @media (min-width: 768px) { |
4680 | .main__vacancies-thing-body .button { | 4680 | .main__vacancies-thing-body .button { |
4681 | min-width: 200px; | 4681 | min-width: 200px; |
4682 | } | 4682 | } |
4683 | } | 4683 | } |
4684 | .main__vacancies-thing-scroll { | 4684 | .main__vacancies-thing-scroll { |
4685 | display: -webkit-box; | 4685 | display: -webkit-box; |
4686 | display: -ms-flexbox; | 4686 | display: -ms-flexbox; |
4687 | display: flex; | 4687 | display: flex; |
4688 | -webkit-box-orient: vertical; | 4688 | -webkit-box-orient: vertical; |
4689 | -webkit-box-direction: normal; | 4689 | -webkit-box-direction: normal; |
4690 | -ms-flex-direction: column; | 4690 | -ms-flex-direction: column; |
4691 | flex-direction: column; | 4691 | flex-direction: column; |
4692 | -webkit-box-align: start; | 4692 | -webkit-box-align: start; |
4693 | -ms-flex-align: start; | 4693 | -ms-flex-align: start; |
4694 | align-items: flex-start; | 4694 | align-items: flex-start; |
4695 | gap: 16px; | 4695 | gap: 16px; |
4696 | overflow: hidden; | 4696 | overflow: hidden; |
4697 | overflow-y: auto; | 4697 | overflow-y: auto; |
4698 | max-height: 180px; | 4698 | max-height: 180px; |
4699 | padding-right: 10px; | 4699 | padding-right: 10px; |
4700 | } | 4700 | } |
4701 | @media (min-width: 768px) { | 4701 | @media (min-width: 768px) { |
4702 | .main__vacancies-thing-scroll { | 4702 | .main__vacancies-thing-scroll { |
4703 | max-height: 210px; | 4703 | max-height: 210px; |
4704 | padding-right: 20px; | 4704 | padding-right: 20px; |
4705 | } | 4705 | } |
4706 | } | 4706 | } |
4707 | @media (min-width: 992px) { | 4707 | @media (min-width: 992px) { |
4708 | .main__vacancies-thing-scroll { | 4708 | .main__vacancies-thing-scroll { |
4709 | max-height: 175px; | 4709 | max-height: 175px; |
4710 | } | 4710 | } |
4711 | } | 4711 | } |
4712 | @media (min-width: 1280px) { | 4712 | @media (min-width: 1280px) { |
4713 | .main__vacancies-thing-scroll { | 4713 | .main__vacancies-thing-scroll { |
4714 | max-height: 200px; | 4714 | max-height: 200px; |
4715 | gap: 20px; | 4715 | gap: 20px; |
4716 | } | 4716 | } |
4717 | } | 4717 | } |
4718 | .main__cond { | 4718 | .main__cond { |
4719 | display: -webkit-box; | 4719 | display: -webkit-box; |
4720 | display: -ms-flexbox; | 4720 | display: -ms-flexbox; |
4721 | display: flex; | 4721 | display: flex; |
4722 | -webkit-box-orient: vertical; | 4722 | -webkit-box-orient: vertical; |
4723 | -webkit-box-direction: normal; | 4723 | -webkit-box-direction: normal; |
4724 | -ms-flex-direction: column; | 4724 | -ms-flex-direction: column; |
4725 | flex-direction: column; | 4725 | flex-direction: column; |
4726 | gap: 50px; | 4726 | gap: 50px; |
4727 | } | 4727 | } |
4728 | .main__cond > div { | 4728 | .main__cond > div { |
4729 | display: -webkit-box; | 4729 | display: -webkit-box; |
4730 | display: -ms-flexbox; | 4730 | display: -ms-flexbox; |
4731 | display: flex; | 4731 | display: flex; |
4732 | -webkit-box-orient: vertical; | 4732 | -webkit-box-orient: vertical; |
4733 | -webkit-box-direction: normal; | 4733 | -webkit-box-direction: normal; |
4734 | -ms-flex-direction: column; | 4734 | -ms-flex-direction: column; |
4735 | flex-direction: column; | 4735 | flex-direction: column; |
4736 | gap: 10px; | 4736 | gap: 10px; |
4737 | } | 4737 | } |
4738 | .main__cond-label { | 4738 | .main__cond-label { |
4739 | border-radius: 16px; | 4739 | border-radius: 16px; |
4740 | border: 1px solid #cecece; | 4740 | border: 1px solid #cecece; |
4741 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 4741 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
4742 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 4742 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
4743 | padding: 30px 20px; | 4743 | padding: 30px 20px; |
4744 | font-weight: 700; | 4744 | font-weight: 700; |
4745 | color: #000; | 4745 | color: #000; |
4746 | line-height: 2; | 4746 | line-height: 2; |
4747 | text-align: center; | 4747 | text-align: center; |
4748 | } | 4748 | } |
4749 | @media (min-width: 992px) { | 4749 | @media (min-width: 992px) { |
4750 | .main__cond-label { | 4750 | .main__cond-label { |
4751 | font-size: 30px; | 4751 | font-size: 30px; |
4752 | } | 4752 | } |
4753 | } | 4753 | } |
4754 | .main__cond-icons { | 4754 | .main__cond-icons { |
4755 | padding: 0; | 4755 | padding: 0; |
4756 | margin: 0; | 4756 | margin: 0; |
4757 | display: -webkit-box; | 4757 | display: -webkit-box; |
4758 | display: -ms-flexbox; | 4758 | display: -ms-flexbox; |
4759 | display: flex; | 4759 | display: flex; |
4760 | -webkit-box-orient: vertical; | 4760 | -webkit-box-orient: vertical; |
4761 | -webkit-box-direction: normal; | 4761 | -webkit-box-direction: normal; |
4762 | -ms-flex-direction: column; | 4762 | -ms-flex-direction: column; |
4763 | flex-direction: column; | 4763 | flex-direction: column; |
4764 | gap: 25px; | 4764 | gap: 25px; |
4765 | margin-top: 10px; | 4765 | margin-top: 10px; |
4766 | } | 4766 | } |
4767 | @media (min-width: 768px) { | 4767 | @media (min-width: 768px) { |
4768 | .main__cond-icons { | 4768 | .main__cond-icons { |
4769 | display: grid; | 4769 | display: grid; |
4770 | grid-template-columns: repeat(2, 1fr); | 4770 | grid-template-columns: repeat(2, 1fr); |
4771 | gap: 60px; | 4771 | gap: 60px; |
4772 | margin-top: 20px; | 4772 | margin-top: 20px; |
4773 | } | 4773 | } |
4774 | } | 4774 | } |
4775 | @media (min-width: 1280px) { | 4775 | @media (min-width: 1280px) { |
4776 | .main__cond-icons { | 4776 | .main__cond-icons { |
4777 | grid-template-columns: repeat(3, 1fr); | 4777 | grid-template-columns: repeat(3, 1fr); |
4778 | } | 4778 | } |
4779 | } | 4779 | } |
4780 | .main__cond-icons li { | 4780 | .main__cond-icons li { |
4781 | display: -webkit-box; | 4781 | display: -webkit-box; |
4782 | display: -ms-flexbox; | 4782 | display: -ms-flexbox; |
4783 | display: flex; | 4783 | display: flex; |
4784 | -webkit-box-orient: vertical; | 4784 | -webkit-box-orient: vertical; |
4785 | -webkit-box-direction: normal; | 4785 | -webkit-box-direction: normal; |
4786 | -ms-flex-direction: column; | 4786 | -ms-flex-direction: column; |
4787 | flex-direction: column; | 4787 | flex-direction: column; |
4788 | -webkit-box-align: start; | 4788 | -webkit-box-align: start; |
4789 | -ms-flex-align: start; | 4789 | -ms-flex-align: start; |
4790 | align-items: flex-start; | 4790 | align-items: flex-start; |
4791 | gap: 20px; | 4791 | gap: 20px; |
4792 | font-size: 12px; | 4792 | font-size: 12px; |
4793 | line-height: 1.4; | 4793 | line-height: 1.4; |
4794 | color: #000; | 4794 | color: #000; |
4795 | } | 4795 | } |
4796 | @media (min-width: 768px) { | 4796 | @media (min-width: 768px) { |
4797 | .main__cond-icons li { | 4797 | .main__cond-icons li { |
4798 | font-size: 14px; | 4798 | font-size: 14px; |
4799 | } | 4799 | } |
4800 | } | 4800 | } |
4801 | @media (min-width: 992px) { | 4801 | @media (min-width: 992px) { |
4802 | .main__cond-icons li { | 4802 | .main__cond-icons li { |
4803 | font-size: 16px; | 4803 | font-size: 16px; |
4804 | line-height: 1.6; | 4804 | line-height: 1.6; |
4805 | } | 4805 | } |
4806 | } | 4806 | } |
4807 | @media (min-width: 1280px) { | 4807 | @media (min-width: 1280px) { |
4808 | .main__cond-icons li { | 4808 | .main__cond-icons li { |
4809 | font-size: 18px; | 4809 | font-size: 18px; |
4810 | } | 4810 | } |
4811 | } | 4811 | } |
4812 | .main__cond-icons li span { | 4812 | .main__cond-icons li span { |
4813 | width: 48px; | 4813 | width: 48px; |
4814 | height: 48px; | 4814 | height: 48px; |
4815 | display: -webkit-box; | 4815 | display: -webkit-box; |
4816 | display: -ms-flexbox; | 4816 | display: -ms-flexbox; |
4817 | display: flex; | 4817 | display: flex; |
4818 | -webkit-box-align: center; | 4818 | -webkit-box-align: center; |
4819 | -ms-flex-align: center; | 4819 | -ms-flex-align: center; |
4820 | align-items: center; | 4820 | align-items: center; |
4821 | } | 4821 | } |
4822 | .main__cond-icons li span img { | 4822 | .main__cond-icons li span img { |
4823 | max-width: 48px; | 4823 | max-width: 48px; |
4824 | } | 4824 | } |
4825 | .main__cond-callback { | 4825 | .main__cond-callback { |
4826 | margin-top: 10px; | 4826 | margin-top: 10px; |
4827 | } | 4827 | } |
4828 | .main__ads { | 4828 | .main__ads { |
4829 | display: -webkit-box; | 4829 | display: -webkit-box; |
4830 | display: -ms-flexbox; | 4830 | display: -ms-flexbox; |
4831 | display: flex; | 4831 | display: flex; |
4832 | -webkit-box-orient: vertical; | 4832 | -webkit-box-orient: vertical; |
4833 | -webkit-box-direction: normal; | 4833 | -webkit-box-direction: normal; |
4834 | -ms-flex-direction: column; | 4834 | -ms-flex-direction: column; |
4835 | flex-direction: column; | 4835 | flex-direction: column; |
4836 | gap: 30px; | 4836 | gap: 30px; |
4837 | margin: 30px 0; | 4837 | margin: 30px 0; |
4838 | } | 4838 | } |
4839 | @media (min-width: 992px) { | 4839 | @media (min-width: 992px) { |
4840 | .main__ads { | 4840 | .main__ads { |
4841 | margin: 60px 0; | 4841 | margin: 60px 0; |
4842 | } | 4842 | } |
4843 | } | 4843 | } |
4844 | .main__ads-item { | 4844 | .main__ads-item { |
4845 | display: -webkit-box; | 4845 | display: -webkit-box; |
4846 | display: -ms-flexbox; | 4846 | display: -ms-flexbox; |
4847 | display: flex; | 4847 | display: flex; |
4848 | -webkit-box-orient: vertical; | 4848 | -webkit-box-orient: vertical; |
4849 | -webkit-box-direction: normal; | 4849 | -webkit-box-direction: normal; |
4850 | -ms-flex-direction: column; | 4850 | -ms-flex-direction: column; |
4851 | flex-direction: column; | 4851 | flex-direction: column; |
4852 | gap: 16px; | 4852 | gap: 16px; |
4853 | } | 4853 | } |
4854 | @media (min-width: 992px) { | 4854 | @media (min-width: 992px) { |
4855 | .main__ads-item { | 4855 | .main__ads-item { |
4856 | -webkit-box-orient: horizontal; | 4856 | -webkit-box-orient: horizontal; |
4857 | -webkit-box-direction: normal; | 4857 | -webkit-box-direction: normal; |
4858 | -ms-flex-direction: row; | 4858 | -ms-flex-direction: row; |
4859 | flex-direction: row; | 4859 | flex-direction: row; |
4860 | gap: 0; | 4860 | gap: 0; |
4861 | } | 4861 | } |
4862 | } | 4862 | } |
4863 | .main__ads-item-pic { | 4863 | .main__ads-item-pic { |
4864 | width: 100%; | 4864 | width: 100%; |
4865 | max-width: 440px; | 4865 | max-width: 440px; |
4866 | max-height: 200px; | 4866 | max-height: 200px; |
4867 | aspect-ratio: 3/2; | 4867 | aspect-ratio: 3/2; |
4868 | position: relative; | 4868 | position: relative; |
4869 | overflow: hidden; | 4869 | overflow: hidden; |
4870 | border-radius: 12px; | 4870 | border-radius: 12px; |
4871 | } | 4871 | } |
4872 | @media (min-width: 992px) { | 4872 | @media (min-width: 992px) { |
4873 | .main__ads-item-pic { | 4873 | .main__ads-item-pic { |
4874 | width: 200px; | 4874 | width: 200px; |
4875 | aspect-ratio: 1/1; | 4875 | aspect-ratio: 1/1; |
4876 | } | 4876 | } |
4877 | } | 4877 | } |
4878 | .main__ads-item-pic img { | 4878 | .main__ads-item-pic img { |
4879 | z-index: 1; | 4879 | z-index: 1; |
4880 | position: absolute; | 4880 | position: absolute; |
4881 | top: 0; | 4881 | top: 0; |
4882 | left: 0; | 4882 | left: 0; |
4883 | width: 100%; | 4883 | width: 100%; |
4884 | height: 100%; | 4884 | height: 100%; |
4885 | -o-object-fit: cover; | 4885 | -o-object-fit: cover; |
4886 | object-fit: cover; | 4886 | object-fit: cover; |
4887 | } | 4887 | } |
4888 | .main__ads-item-pic span { | 4888 | .main__ads-item-pic span { |
4889 | z-index: 2; | 4889 | z-index: 2; |
4890 | width: 30px; | 4890 | width: 30px; |
4891 | height: 30px; | 4891 | height: 30px; |
4892 | border-radius: 6px; | 4892 | border-radius: 6px; |
4893 | background: #4d88d9; | 4893 | background: #4d88d9; |
4894 | display: -webkit-box; | 4894 | display: -webkit-box; |
4895 | display: -ms-flexbox; | 4895 | display: -ms-flexbox; |
4896 | display: flex; | 4896 | display: flex; |
4897 | -webkit-box-pack: center; | 4897 | -webkit-box-pack: center; |
4898 | -ms-flex-pack: center; | 4898 | -ms-flex-pack: center; |
4899 | justify-content: center; | 4899 | justify-content: center; |
4900 | -webkit-box-align: center; | 4900 | -webkit-box-align: center; |
4901 | -ms-flex-align: center; | 4901 | -ms-flex-align: center; |
4902 | align-items: center; | 4902 | align-items: center; |
4903 | position: absolute; | 4903 | position: absolute; |
4904 | top: 10px; | 4904 | top: 10px; |
4905 | left: 10px; | 4905 | left: 10px; |
4906 | color: #fff; | 4906 | color: #fff; |
4907 | } | 4907 | } |
4908 | @media (min-width: 992px) { | 4908 | @media (min-width: 992px) { |
4909 | .main__ads-item-pic span { | 4909 | .main__ads-item-pic span { |
4910 | width: 42px; | 4910 | width: 42px; |
4911 | height: 42px; | 4911 | height: 42px; |
4912 | } | 4912 | } |
4913 | } | 4913 | } |
4914 | .main__ads-item-pic span svg { | 4914 | .main__ads-item-pic span svg { |
4915 | width: 12px; | 4915 | width: 12px; |
4916 | height: 12px; | 4916 | height: 12px; |
4917 | } | 4917 | } |
4918 | @media (min-width: 992px) { | 4918 | @media (min-width: 992px) { |
4919 | .main__ads-item-pic span svg { | 4919 | .main__ads-item-pic span svg { |
4920 | width: 20px; | 4920 | width: 20px; |
4921 | height: 20px; | 4921 | height: 20px; |
4922 | } | 4922 | } |
4923 | } | 4923 | } |
4924 | .main__ads-item-body { | 4924 | .main__ads-item-body { |
4925 | display: -webkit-box; | 4925 | display: -webkit-box; |
4926 | display: -ms-flexbox; | 4926 | display: -ms-flexbox; |
4927 | display: flex; | 4927 | display: flex; |
4928 | -webkit-box-orient: vertical; | 4928 | -webkit-box-orient: vertical; |
4929 | -webkit-box-direction: normal; | 4929 | -webkit-box-direction: normal; |
4930 | -ms-flex-direction: column; | 4930 | -ms-flex-direction: column; |
4931 | flex-direction: column; | 4931 | flex-direction: column; |
4932 | -webkit-box-align: start; | 4932 | -webkit-box-align: start; |
4933 | -ms-flex-align: start; | 4933 | -ms-flex-align: start; |
4934 | align-items: flex-start; | 4934 | align-items: flex-start; |
4935 | gap: 10px; | 4935 | gap: 10px; |
4936 | font-size: 12px; | 4936 | font-size: 12px; |
4937 | } | 4937 | } |
4938 | @media (min-width: 992px) { | 4938 | @media (min-width: 992px) { |
4939 | .main__ads-item-body { | 4939 | .main__ads-item-body { |
4940 | width: calc(100% - 200px); | 4940 | width: calc(100% - 200px); |
4941 | padding-left: 40px; | 4941 | padding-left: 40px; |
4942 | -webkit-box-pack: center; | 4942 | -webkit-box-pack: center; |
4943 | -ms-flex-pack: center; | 4943 | -ms-flex-pack: center; |
4944 | justify-content: center; | 4944 | justify-content: center; |
4945 | font-size: 16px; | 4945 | font-size: 16px; |
4946 | gap: 20px; | 4946 | gap: 20px; |
4947 | } | 4947 | } |
4948 | } | 4948 | } |
4949 | .main__ads-item-body b { | 4949 | .main__ads-item-body b { |
4950 | width: 100%; | 4950 | width: 100%; |
4951 | font-weight: 700; | 4951 | font-weight: 700; |
4952 | font-size: 14px; | 4952 | font-size: 14px; |
4953 | } | 4953 | } |
4954 | @media (min-width: 992px) { | 4954 | @media (min-width: 992px) { |
4955 | .main__ads-item-body b { | 4955 | .main__ads-item-body b { |
4956 | font-size: 20px; | 4956 | font-size: 20px; |
4957 | } | 4957 | } |
4958 | } | 4958 | } |
4959 | .main__ads-item-body span { | 4959 | .main__ads-item-body span { |
4960 | width: 100%; | 4960 | width: 100%; |
4961 | } | 4961 | } |
4962 | 4962 | ||
4963 | .work { | 4963 | .work { |
4964 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 4964 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
4965 | color: #000; | 4965 | color: #000; |
4966 | padding-top: 70px; | 4966 | padding-top: 70px; |
4967 | padding-bottom: 10px; | 4967 | padding-bottom: 10px; |
4968 | position: relative; | 4968 | position: relative; |
4969 | overflow: hidden; | 4969 | overflow: hidden; |
4970 | } | 4970 | } |
4971 | @media (min-width: 768px) { | 4971 | @media (min-width: 768px) { |
4972 | .work { | 4972 | .work { |
4973 | padding-bottom: 25px; | 4973 | padding-bottom: 25px; |
4974 | } | 4974 | } |
4975 | } | 4975 | } |
4976 | @media (min-width: 1280px) { | 4976 | @media (min-width: 1280px) { |
4977 | .work { | 4977 | .work { |
4978 | padding-top: 80px; | 4978 | padding-top: 80px; |
4979 | padding-bottom: 25px; | 4979 | padding-bottom: 25px; |
4980 | } | 4980 | } |
4981 | } | 4981 | } |
4982 | .work__pic { | 4982 | .work__pic { |
4983 | position: absolute; | 4983 | position: absolute; |
4984 | height: calc(100% - 40px); | 4984 | height: calc(100% - 40px); |
4985 | z-index: 1; | 4985 | z-index: 1; |
4986 | display: none; | 4986 | display: none; |
4987 | bottom: 0; | 4987 | bottom: 0; |
4988 | left: 50%; | 4988 | left: 50%; |
4989 | margin-left: 40px; | 4989 | margin-left: 40px; |
4990 | } | 4990 | } |
4991 | @media (min-width: 992px) { | 4991 | @media (min-width: 992px) { |
4992 | .work__pic { | 4992 | .work__pic { |
4993 | display: block; | 4993 | display: block; |
4994 | } | 4994 | } |
4995 | } | 4995 | } |
4996 | @media (min-width: 1280px) { | 4996 | @media (min-width: 1280px) { |
4997 | .work__pic { | 4997 | .work__pic { |
4998 | margin-left: 80px; | 4998 | margin-left: 80px; |
4999 | } | 4999 | } |
5000 | } | 5000 | } |
5001 | .work__body { | 5001 | .work__body { |
5002 | position: relative; | 5002 | position: relative; |
5003 | z-index: 2; | 5003 | z-index: 2; |
5004 | display: -webkit-box; | 5004 | display: -webkit-box; |
5005 | display: -ms-flexbox; | 5005 | display: -ms-flexbox; |
5006 | display: flex; | 5006 | display: flex; |
5007 | -webkit-box-orient: vertical; | 5007 | -webkit-box-orient: vertical; |
5008 | -webkit-box-direction: normal; | 5008 | -webkit-box-direction: normal; |
5009 | -ms-flex-direction: column; | 5009 | -ms-flex-direction: column; |
5010 | flex-direction: column; | 5010 | flex-direction: column; |
5011 | -webkit-box-align: center; | 5011 | -webkit-box-align: center; |
5012 | -ms-flex-align: center; | 5012 | -ms-flex-align: center; |
5013 | align-items: center; | 5013 | align-items: center; |
5014 | } | 5014 | } |
5015 | @media (min-width: 768px) { | 5015 | @media (min-width: 768px) { |
5016 | .work__body { | 5016 | .work__body { |
5017 | -webkit-box-align: start; | 5017 | -webkit-box-align: start; |
5018 | -ms-flex-align: start; | 5018 | -ms-flex-align: start; |
5019 | align-items: flex-start; | 5019 | align-items: flex-start; |
5020 | } | 5020 | } |
5021 | } | 5021 | } |
5022 | @media (min-width: 992px) { | 5022 | @media (min-width: 992px) { |
5023 | .work__body { | 5023 | .work__body { |
5024 | max-width: 600px; | 5024 | max-width: 600px; |
5025 | } | 5025 | } |
5026 | } | 5026 | } |
5027 | .work__title { | 5027 | .work__title { |
5028 | width: 100%; | 5028 | width: 100%; |
5029 | font-size: 40px; | 5029 | font-size: 40px; |
5030 | font-weight: 700; | 5030 | font-weight: 700; |
5031 | line-height: 1; | 5031 | line-height: 1; |
5032 | } | 5032 | } |
5033 | @media (min-width: 768px) { | 5033 | @media (min-width: 768px) { |
5034 | .work__title { | 5034 | .work__title { |
5035 | font-size: 64px; | 5035 | font-size: 64px; |
5036 | line-height: 94px; | 5036 | line-height: 94px; |
5037 | } | 5037 | } |
5038 | } | 5038 | } |
5039 | .work__text { | 5039 | .work__text { |
5040 | width: 100%; | 5040 | width: 100%; |
5041 | font-size: 12px; | 5041 | font-size: 12px; |
5042 | margin-top: 10px; | 5042 | margin-top: 10px; |
5043 | } | 5043 | } |
5044 | @media (min-width: 768px) { | 5044 | @media (min-width: 768px) { |
5045 | .work__text { | 5045 | .work__text { |
5046 | font-size: 18px; | 5046 | font-size: 18px; |
5047 | margin-top: 20px; | 5047 | margin-top: 20px; |
5048 | line-height: 1.4; | 5048 | line-height: 1.4; |
5049 | } | 5049 | } |
5050 | } | 5050 | } |
5051 | .work__list { | 5051 | .work__list { |
5052 | width: 100%; | 5052 | width: 100%; |
5053 | display: -webkit-box; | 5053 | display: -webkit-box; |
5054 | display: -ms-flexbox; | 5054 | display: -ms-flexbox; |
5055 | display: flex; | 5055 | display: flex; |
5056 | -webkit-box-orient: vertical; | 5056 | -webkit-box-orient: vertical; |
5057 | -webkit-box-direction: normal; | 5057 | -webkit-box-direction: normal; |
5058 | -ms-flex-direction: column; | 5058 | -ms-flex-direction: column; |
5059 | flex-direction: column; | 5059 | flex-direction: column; |
5060 | gap: 5px; | 5060 | gap: 5px; |
5061 | font-size: 14px; | 5061 | font-size: 14px; |
5062 | font-weight: 700; | 5062 | font-weight: 700; |
5063 | margin-top: 15px; | 5063 | margin-top: 15px; |
5064 | } | 5064 | } |
5065 | @media (min-width: 768px) { | 5065 | @media (min-width: 768px) { |
5066 | .work__list { | 5066 | .work__list { |
5067 | font-size: 18px; | 5067 | font-size: 18px; |
5068 | gap: 8px; | 5068 | gap: 8px; |
5069 | margin-top: 30px; | 5069 | margin-top: 30px; |
5070 | } | 5070 | } |
5071 | } | 5071 | } |
5072 | .work__list div { | 5072 | .work__list div { |
5073 | position: relative; | 5073 | position: relative; |
5074 | padding-left: 10px; | 5074 | padding-left: 10px; |
5075 | } | 5075 | } |
5076 | @media (min-width: 768px) { | 5076 | @media (min-width: 768px) { |
5077 | .work__list div { | 5077 | .work__list div { |
5078 | padding-left: 16px; | 5078 | padding-left: 16px; |
5079 | } | 5079 | } |
5080 | } | 5080 | } |
5081 | .work__list div:before { | 5081 | .work__list div:before { |
5082 | content: ""; | 5082 | content: ""; |
5083 | width: 4px; | 5083 | width: 4px; |
5084 | height: 4px; | 5084 | height: 4px; |
5085 | background: #000; | 5085 | background: #000; |
5086 | border-radius: 999px; | 5086 | border-radius: 999px; |
5087 | position: absolute; | 5087 | position: absolute; |
5088 | top: 5px; | 5088 | top: 5px; |
5089 | left: 0; | 5089 | left: 0; |
5090 | } | 5090 | } |
5091 | @media (min-width: 768px) { | 5091 | @media (min-width: 768px) { |
5092 | .work__list div:before { | 5092 | .work__list div:before { |
5093 | top: 8px; | 5093 | top: 8px; |
5094 | } | 5094 | } |
5095 | } | 5095 | } |
5096 | .work__form { | 5096 | .work__form { |
5097 | margin-top: 20px; | 5097 | margin-top: 20px; |
5098 | } | 5098 | } |
5099 | @media (min-width: 768px) { | 5099 | @media (min-width: 768px) { |
5100 | .work__form { | 5100 | .work__form { |
5101 | margin-top: 30px; | 5101 | margin-top: 30px; |
5102 | } | 5102 | } |
5103 | } | 5103 | } |
5104 | .work__search { | 5104 | .work__search { |
5105 | width: 100%; | 5105 | width: 100%; |
5106 | max-width: 180px; | 5106 | max-width: 180px; |
5107 | margin-top: 20px; | 5107 | margin-top: 20px; |
5108 | } | 5108 | } |
5109 | @media (min-width: 768px) { | 5109 | @media (min-width: 768px) { |
5110 | .work__search { | 5110 | .work__search { |
5111 | max-width: 270px; | 5111 | max-width: 270px; |
5112 | margin-top: 50px; | 5112 | margin-top: 50px; |
5113 | } | 5113 | } |
5114 | } | 5114 | } |
5115 | .work__get { | 5115 | .work__get { |
5116 | width: 100%; | 5116 | width: 100%; |
5117 | display: -webkit-box; | 5117 | display: -webkit-box; |
5118 | display: -ms-flexbox; | 5118 | display: -ms-flexbox; |
5119 | display: flex; | 5119 | display: flex; |
5120 | -webkit-box-align: start; | 5120 | -webkit-box-align: start; |
5121 | -ms-flex-align: start; | 5121 | -ms-flex-align: start; |
5122 | align-items: flex-start; | 5122 | align-items: flex-start; |
5123 | -ms-flex-wrap: wrap; | 5123 | -ms-flex-wrap: wrap; |
5124 | flex-wrap: wrap; | 5124 | flex-wrap: wrap; |
5125 | margin-top: 48px; | 5125 | margin-top: 48px; |
5126 | } | 5126 | } |
5127 | .work__get b { | 5127 | .work__get b { |
5128 | width: 100%; | 5128 | width: 100%; |
5129 | margin-bottom: 10px; | 5129 | margin-bottom: 10px; |
5130 | font-size: 14px; | 5130 | font-size: 14px; |
5131 | } | 5131 | } |
5132 | @media (min-width: 768px) { | 5132 | @media (min-width: 768px) { |
5133 | .work__get b { | 5133 | .work__get b { |
5134 | font-size: 18px; | 5134 | font-size: 18px; |
5135 | } | 5135 | } |
5136 | } | 5136 | } |
5137 | .work__get a { | 5137 | .work__get a { |
5138 | display: -webkit-box; | 5138 | display: -webkit-box; |
5139 | display: -ms-flexbox; | 5139 | display: -ms-flexbox; |
5140 | display: flex; | 5140 | display: flex; |
5141 | -webkit-box-align: center; | 5141 | -webkit-box-align: center; |
5142 | -ms-flex-align: center; | 5142 | -ms-flex-align: center; |
5143 | align-items: center; | 5143 | align-items: center; |
5144 | -webkit-box-pack: center; | 5144 | -webkit-box-pack: center; |
5145 | -ms-flex-pack: center; | 5145 | -ms-flex-pack: center; |
5146 | justify-content: center; | 5146 | justify-content: center; |
5147 | margin-right: 20px; | 5147 | margin-right: 20px; |
5148 | } | 5148 | } |
5149 | .work__get a img { | 5149 | .work__get a img { |
5150 | -webkit-transition: 0.3s; | 5150 | -webkit-transition: 0.3s; |
5151 | transition: 0.3s; | 5151 | transition: 0.3s; |
5152 | width: 111px; | 5152 | width: 111px; |
5153 | } | 5153 | } |
5154 | @media (min-width: 768px) { | 5154 | @media (min-width: 768px) { |
5155 | .work__get a img { | 5155 | .work__get a img { |
5156 | width: 131px; | 5156 | width: 131px; |
5157 | } | 5157 | } |
5158 | } | 5158 | } |
5159 | .work__get a:hover img { | 5159 | .work__get a:hover img { |
5160 | -webkit-transform: scale(1.1); | 5160 | -webkit-transform: scale(1.1); |
5161 | -ms-transform: scale(1.1); | 5161 | -ms-transform: scale(1.1); |
5162 | transform: scale(1.1); | 5162 | transform: scale(1.1); |
5163 | } | 5163 | } |
5164 | .work__get a + a { | 5164 | .work__get a + a { |
5165 | margin-right: 0; | 5165 | margin-right: 0; |
5166 | } | 5166 | } |
5167 | 5167 | ||
5168 | .numbers { | 5168 | .numbers { |
5169 | padding: 30px 0; | 5169 | padding: 30px 0; |
5170 | background: #377d87 url("../images/bg.svg") no-repeat 100% calc(100% + 80px); | 5170 | background: #377d87 url("../images/bg.svg") no-repeat 100% calc(100% + 80px); |
5171 | color: #fff; | 5171 | color: #fff; |
5172 | } | 5172 | } |
5173 | @media (min-width: 1280px) { | 5173 | @media (min-width: 1280px) { |
5174 | .numbers { | 5174 | .numbers { |
5175 | padding: 100px 0; | 5175 | padding: 100px 0; |
5176 | background-position: 100% 100%; | 5176 | background-position: 100% 100%; |
5177 | background-size: auto 500px; | 5177 | background-size: auto 500px; |
5178 | } | 5178 | } |
5179 | } | 5179 | } |
5180 | .numbers__body { | 5180 | .numbers__body { |
5181 | display: -webkit-box; | 5181 | display: -webkit-box; |
5182 | display: -ms-flexbox; | 5182 | display: -ms-flexbox; |
5183 | display: flex; | 5183 | display: flex; |
5184 | -webkit-box-orient: vertical; | 5184 | -webkit-box-orient: vertical; |
5185 | -webkit-box-direction: normal; | 5185 | -webkit-box-direction: normal; |
5186 | -ms-flex-direction: column; | 5186 | -ms-flex-direction: column; |
5187 | flex-direction: column; | 5187 | flex-direction: column; |
5188 | gap: 30px; | 5188 | gap: 30px; |
5189 | } | 5189 | } |
5190 | @media (min-width: 768px) { | 5190 | @media (min-width: 768px) { |
5191 | .numbers__body { | 5191 | .numbers__body { |
5192 | display: grid; | 5192 | display: grid; |
5193 | grid-template-columns: 1fr 1fr 1fr; | 5193 | grid-template-columns: 1fr 1fr 1fr; |
5194 | } | 5194 | } |
5195 | } | 5195 | } |
5196 | .numbers__item { | 5196 | .numbers__item { |
5197 | font-size: 12px; | 5197 | font-size: 12px; |
5198 | display: -webkit-box; | 5198 | display: -webkit-box; |
5199 | display: -ms-flexbox; | 5199 | display: -ms-flexbox; |
5200 | display: flex; | 5200 | display: flex; |
5201 | -webkit-box-orient: vertical; | 5201 | -webkit-box-orient: vertical; |
5202 | -webkit-box-direction: normal; | 5202 | -webkit-box-direction: normal; |
5203 | -ms-flex-direction: column; | 5203 | -ms-flex-direction: column; |
5204 | flex-direction: column; | 5204 | flex-direction: column; |
5205 | line-height: 1.4; | 5205 | line-height: 1.4; |
5206 | } | 5206 | } |
5207 | @media (min-width: 1280px) { | 5207 | @media (min-width: 1280px) { |
5208 | .numbers__item { | 5208 | .numbers__item { |
5209 | font-size: 16px; | 5209 | font-size: 16px; |
5210 | line-height: 20px; | 5210 | line-height: 20px; |
5211 | } | 5211 | } |
5212 | } | 5212 | } |
5213 | .numbers__item b { | 5213 | .numbers__item b { |
5214 | font-size: 40px; | 5214 | font-size: 40px; |
5215 | font-weight: 700; | 5215 | font-weight: 700; |
5216 | border-bottom: 1px solid #fff; | 5216 | border-bottom: 1px solid #fff; |
5217 | line-height: 1; | 5217 | line-height: 1; |
5218 | } | 5218 | } |
5219 | @media (min-width: 1280px) { | 5219 | @media (min-width: 1280px) { |
5220 | .numbers__item b { | 5220 | .numbers__item b { |
5221 | font-size: 100px; | 5221 | font-size: 100px; |
5222 | line-height: 147px; | 5222 | line-height: 147px; |
5223 | } | 5223 | } |
5224 | } | 5224 | } |
5225 | .numbers__item span { | 5225 | .numbers__item span { |
5226 | font-weight: 700; | 5226 | font-weight: 700; |
5227 | font-size: 14px; | 5227 | font-size: 14px; |
5228 | margin: 10px 0; | 5228 | margin: 10px 0; |
5229 | line-height: 1; | 5229 | line-height: 1; |
5230 | } | 5230 | } |
5231 | @media (min-width: 1280px) { | 5231 | @media (min-width: 1280px) { |
5232 | .numbers__item span { | 5232 | .numbers__item span { |
5233 | font-size: 24px; | 5233 | font-size: 24px; |
5234 | margin-top: 30px; | 5234 | margin-top: 30px; |
5235 | } | 5235 | } |
5236 | } | 5236 | } |
5237 | 5237 | ||
5238 | .vacancies { | 5238 | .vacancies { |
5239 | padding: 50px 0; | 5239 | padding: 50px 0; |
5240 | } | 5240 | } |
5241 | @media (min-width: 1280px) { | 5241 | @media (min-width: 1280px) { |
5242 | .vacancies { | 5242 | .vacancies { |
5243 | padding: 100px 0; | 5243 | padding: 100px 0; |
5244 | } | 5244 | } |
5245 | } | 5245 | } |
5246 | .vacancies__body { | 5246 | .vacancies__body { |
5247 | display: -webkit-box; | 5247 | display: -webkit-box; |
5248 | display: -ms-flexbox; | 5248 | display: -ms-flexbox; |
5249 | display: flex; | 5249 | display: flex; |
5250 | -webkit-box-orient: vertical; | 5250 | -webkit-box-orient: vertical; |
5251 | -webkit-box-direction: reverse; | 5251 | -webkit-box-direction: reverse; |
5252 | -ms-flex-direction: column-reverse; | 5252 | -ms-flex-direction: column-reverse; |
5253 | flex-direction: column-reverse; | 5253 | flex-direction: column-reverse; |
5254 | gap: 20px; | 5254 | gap: 20px; |
5255 | width: 100%; | 5255 | width: 100%; |
5256 | margin-top: 20px; | 5256 | margin-top: 20px; |
5257 | } | 5257 | } |
5258 | @media (min-width: 992px) { | 5258 | @media (min-width: 992px) { |
5259 | .vacancies__body { | 5259 | .vacancies__body { |
5260 | margin-top: 30px; | 5260 | margin-top: 30px; |
5261 | gap: 30px; | 5261 | gap: 30px; |
5262 | } | 5262 | } |
5263 | } | 5263 | } |
5264 | .vacancies__more { | 5264 | .vacancies__more { |
5265 | width: 100%; | 5265 | width: 100%; |
5266 | } | 5266 | } |
5267 | @media (min-width: 768px) { | 5267 | @media (min-width: 768px) { |
5268 | .vacancies__more { | 5268 | .vacancies__more { |
5269 | width: auto; | 5269 | width: auto; |
5270 | margin: 0 auto; | 5270 | margin: 0 auto; |
5271 | } | 5271 | } |
5272 | } | 5272 | } |
5273 | .vacancies__list { | 5273 | .vacancies__list { |
5274 | display: -webkit-box; | 5274 | display: -webkit-box; |
5275 | display: -ms-flexbox; | 5275 | display: -ms-flexbox; |
5276 | display: flex; | 5276 | display: flex; |
5277 | -webkit-box-orient: vertical; | 5277 | -webkit-box-orient: vertical; |
5278 | -webkit-box-direction: normal; | 5278 | -webkit-box-direction: normal; |
5279 | -ms-flex-direction: column; | 5279 | -ms-flex-direction: column; |
5280 | flex-direction: column; | 5280 | flex-direction: column; |
5281 | gap: 15px; | 5281 | gap: 15px; |
5282 | } | 5282 | } |
5283 | @media (min-width: 768px) { | 5283 | @media (min-width: 768px) { |
5284 | .vacancies__list { | 5284 | .vacancies__list { |
5285 | display: grid; | 5285 | display: grid; |
5286 | grid-template-columns: repeat(2, 1fr); | 5286 | grid-template-columns: repeat(2, 1fr); |
5287 | } | 5287 | } |
5288 | } | 5288 | } |
5289 | @media (min-width: 992px) { | 5289 | @media (min-width: 992px) { |
5290 | .vacancies__list { | 5290 | .vacancies__list { |
5291 | display: grid; | 5291 | display: grid; |
5292 | grid-template-columns: repeat(3, 1fr); | 5292 | grid-template-columns: repeat(3, 1fr); |
5293 | gap: 20px; | 5293 | gap: 20px; |
5294 | } | 5294 | } |
5295 | } | 5295 | } |
5296 | @media (min-width: 1280px) { | 5296 | @media (min-width: 1280px) { |
5297 | .vacancies__list { | 5297 | .vacancies__list { |
5298 | grid-template-columns: repeat(4, 1fr); | 5298 | grid-template-columns: repeat(4, 1fr); |
5299 | } | 5299 | } |
5300 | } | 5300 | } |
5301 | .vacancies__list-label { | 5301 | .vacancies__list-label { |
5302 | font-weight: 700; | 5302 | font-weight: 700; |
5303 | font-size: 22px; | 5303 | font-size: 22px; |
5304 | } | 5304 | } |
5305 | .vacancies__list-col { | 5305 | .vacancies__list-col { |
5306 | display: -webkit-box; | 5306 | display: -webkit-box; |
5307 | display: -ms-flexbox; | 5307 | display: -ms-flexbox; |
5308 | display: flex; | 5308 | display: flex; |
5309 | -webkit-box-orient: vertical; | 5309 | -webkit-box-orient: vertical; |
5310 | -webkit-box-direction: normal; | 5310 | -webkit-box-direction: normal; |
5311 | -ms-flex-direction: column; | 5311 | -ms-flex-direction: column; |
5312 | flex-direction: column; | 5312 | flex-direction: column; |
5313 | gap: 15px; | 5313 | gap: 15px; |
5314 | margin-top: 15px; | 5314 | margin-top: 15px; |
5315 | margin-bottom: 30px; | 5315 | margin-bottom: 30px; |
5316 | } | 5316 | } |
5317 | @media (min-width: 768px) { | 5317 | @media (min-width: 768px) { |
5318 | .vacancies__list-col { | 5318 | .vacancies__list-col { |
5319 | margin-top: 0; | 5319 | margin-top: 0; |
5320 | } | 5320 | } |
5321 | } | 5321 | } |
5322 | .vacancies__list-col:first-child { | 5322 | .vacancies__list-col:first-child { |
5323 | margin-top: 0; | 5323 | margin-top: 0; |
5324 | } | 5324 | } |
5325 | .vacancies__item { | 5325 | .vacancies__item { |
5326 | display: none; | 5326 | display: none; |
5327 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 5327 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
5328 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 5328 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
5329 | border-radius: 12px; | 5329 | border-radius: 12px; |
5330 | background: #fff; | 5330 | background: #fff; |
5331 | border: 1px solid #e6e7e7; | 5331 | border: 1px solid #e6e7e7; |
5332 | overflow: hidden; | 5332 | overflow: hidden; |
5333 | } | 5333 | } |
5334 | .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) { | 5334 | .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 | display: -webkit-box; | 5335 | display: -webkit-box; |
5336 | display: -ms-flexbox; | 5336 | display: -ms-flexbox; |
5337 | display: flex; | 5337 | display: flex; |
5338 | } | 5338 | } |
5339 | .vacancies__item > span { | 5339 | .vacancies__item > span { |
5340 | border-left: 10px solid #377d87; | 5340 | border-left: 10px solid #377d87; |
5341 | padding: 20px 14px; | 5341 | padding: 20px 14px; |
5342 | display: -webkit-box; | 5342 | display: -webkit-box; |
5343 | display: -ms-flexbox; | 5343 | display: -ms-flexbox; |
5344 | display: flex; | 5344 | display: flex; |
5345 | -webkit-box-orient: vertical; | 5345 | -webkit-box-orient: vertical; |
5346 | -webkit-box-direction: normal; | 5346 | -webkit-box-direction: normal; |
5347 | -ms-flex-direction: column; | 5347 | -ms-flex-direction: column; |
5348 | flex-direction: column; | 5348 | flex-direction: column; |
5349 | -webkit-box-align: start; | 5349 | -webkit-box-align: start; |
5350 | -ms-flex-align: start; | 5350 | -ms-flex-align: start; |
5351 | align-items: flex-start; | 5351 | align-items: flex-start; |
5352 | gap: 5px; | 5352 | gap: 5px; |
5353 | -webkit-box-pack: justify; | 5353 | -webkit-box-pack: justify; |
5354 | -ms-flex-pack: justify; | 5354 | -ms-flex-pack: justify; |
5355 | justify-content: space-between; | 5355 | justify-content: space-between; |
5356 | } | 5356 | } |
5357 | @media (min-width: 992px) { | 5357 | @media (min-width: 992px) { |
5358 | .vacancies__item > span { | 5358 | .vacancies__item > span { |
5359 | gap: 10px; | 5359 | gap: 10px; |
5360 | } | 5360 | } |
5361 | } | 5361 | } |
5362 | .vacancies__item b { | 5362 | .vacancies__item b { |
5363 | font-weight: 700; | 5363 | font-weight: 700; |
5364 | font-size: 14px; | 5364 | font-size: 14px; |
5365 | } | 5365 | } |
5366 | @media (min-width: 992px) { | 5366 | @media (min-width: 992px) { |
5367 | .vacancies__item b { | 5367 | .vacancies__item b { |
5368 | font-size: 20px; | 5368 | font-size: 20px; |
5369 | } | 5369 | } |
5370 | } | 5370 | } |
5371 | .vacancies__item:hover b { | 5371 | .vacancies__item:hover b { |
5372 | color: #377d87; | 5372 | color: #377d87; |
5373 | } | 5373 | } |
5374 | .vacancies__item u { | 5374 | .vacancies__item u { |
5375 | text-decoration: none; | 5375 | text-decoration: none; |
5376 | font-size: 14px; | 5376 | font-size: 14px; |
5377 | } | 5377 | } |
5378 | @media (min-width: 992px) { | 5378 | @media (min-width: 992px) { |
5379 | .vacancies__item u { | 5379 | .vacancies__item u { |
5380 | font-size: 18px; | 5380 | font-size: 18px; |
5381 | } | 5381 | } |
5382 | } | 5382 | } |
5383 | .vacancies__item i { | 5383 | .vacancies__item i { |
5384 | font-size: 12px; | 5384 | font-size: 12px; |
5385 | font-style: normal; | 5385 | font-style: normal; |
5386 | border-bottom: 1px dashed #377d87; | 5386 | border-bottom: 1px dashed #377d87; |
5387 | } | 5387 | } |
5388 | @media (min-width: 992px) { | 5388 | @media (min-width: 992px) { |
5389 | .vacancies__item i { | 5389 | .vacancies__item i { |
5390 | font-size: 16px; | 5390 | font-size: 16px; |
5391 | } | 5391 | } |
5392 | } | 5392 | } |
5393 | .vacancies__item i span { | 5393 | .vacancies__item i span { |
5394 | font-weight: 700; | 5394 | font-weight: 700; |
5395 | color: #377d87; | 5395 | color: #377d87; |
5396 | } | 5396 | } |
5397 | .vacancies__body.active .vacancies__list .vacancies__item { | 5397 | .vacancies__body.active .vacancies__list .vacancies__item { |
5398 | display: -webkit-box; | 5398 | display: -webkit-box; |
5399 | display: -ms-flexbox; | 5399 | display: -ms-flexbox; |
5400 | display: flex; | 5400 | display: flex; |
5401 | } | 5401 | } |
5402 | 5402 | ||
5403 | .employer { | 5403 | .employer { |
5404 | padding-bottom: 50px; | 5404 | padding-bottom: 50px; |
5405 | } | 5405 | } |
5406 | @media (min-width: 768px) { | 5406 | @media (min-width: 768px) { |
5407 | .employer { | 5407 | .employer { |
5408 | padding-bottom: 100px; | 5408 | padding-bottom: 100px; |
5409 | } | 5409 | } |
5410 | } | 5410 | } |
5411 | .employer .swiper { | 5411 | .employer .swiper { |
5412 | margin: 20px 0; | 5412 | margin: 20px 0; |
5413 | } | 5413 | } |
5414 | @media (min-width: 768px) { | 5414 | @media (min-width: 768px) { |
5415 | .employer .swiper { | 5415 | .employer .swiper { |
5416 | display: none; | 5416 | display: none; |
5417 | } | 5417 | } |
5418 | } | 5418 | } |
5419 | .employer__item { | 5419 | .employer__item { |
5420 | display: -webkit-box; | 5420 | display: -webkit-box; |
5421 | display: -ms-flexbox; | 5421 | display: -ms-flexbox; |
5422 | display: flex; | 5422 | display: flex; |
5423 | -webkit-box-orient: vertical; | 5423 | -webkit-box-orient: vertical; |
5424 | -webkit-box-direction: normal; | 5424 | -webkit-box-direction: normal; |
5425 | -ms-flex-direction: column; | 5425 | -ms-flex-direction: column; |
5426 | flex-direction: column; | 5426 | flex-direction: column; |
5427 | gap: 30px; | 5427 | gap: 30px; |
5428 | } | 5428 | } |
5429 | .employer__item a { | 5429 | .employer__item a { |
5430 | display: -webkit-box; | 5430 | display: -webkit-box; |
5431 | display: -ms-flexbox; | 5431 | display: -ms-flexbox; |
5432 | display: flex; | 5432 | display: flex; |
5433 | -webkit-box-orient: vertical; | 5433 | -webkit-box-orient: vertical; |
5434 | -webkit-box-direction: normal; | 5434 | -webkit-box-direction: normal; |
5435 | -ms-flex-direction: column; | 5435 | -ms-flex-direction: column; |
5436 | flex-direction: column; | 5436 | flex-direction: column; |
5437 | -webkit-box-align: center; | 5437 | -webkit-box-align: center; |
5438 | -ms-flex-align: center; | 5438 | -ms-flex-align: center; |
5439 | align-items: center; | 5439 | align-items: center; |
5440 | } | 5440 | } |
5441 | .employer__item img { | 5441 | .employer__item img { |
5442 | width: 100%; | 5442 | width: 100%; |
5443 | aspect-ratio: 295/98; | 5443 | aspect-ratio: 295/98; |
5444 | -o-object-fit: contain; | 5444 | -o-object-fit: contain; |
5445 | object-fit: contain; | 5445 | object-fit: contain; |
5446 | } | 5446 | } |
5447 | .employer__body { | 5447 | .employer__body { |
5448 | display: none; | 5448 | display: none; |
5449 | grid-template-columns: 1fr 1fr; | 5449 | grid-template-columns: 1fr 1fr; |
5450 | gap: 30px; | 5450 | gap: 30px; |
5451 | margin-top: 30px; | 5451 | margin-top: 30px; |
5452 | margin-bottom: 40px; | 5452 | margin-bottom: 40px; |
5453 | } | 5453 | } |
5454 | @media (min-width: 768px) { | 5454 | @media (min-width: 768px) { |
5455 | .employer__body { | 5455 | .employer__body { |
5456 | display: grid; | 5456 | display: grid; |
5457 | } | 5457 | } |
5458 | } | 5458 | } |
5459 | @media (min-width: 992px) { | 5459 | @media (min-width: 992px) { |
5460 | .employer__body { | 5460 | .employer__body { |
5461 | grid-template-columns: 1fr 1fr 1fr; | 5461 | grid-template-columns: 1fr 1fr 1fr; |
5462 | } | 5462 | } |
5463 | } | 5463 | } |
5464 | @media (min-width: 1280px) { | 5464 | @media (min-width: 1280px) { |
5465 | .employer__body { | 5465 | .employer__body { |
5466 | grid-template-columns: 1fr 1fr 1fr 1fr; | 5466 | grid-template-columns: 1fr 1fr 1fr 1fr; |
5467 | } | 5467 | } |
5468 | } | 5468 | } |
5469 | .employer__body a { | 5469 | .employer__body a { |
5470 | display: -webkit-box; | 5470 | display: -webkit-box; |
5471 | display: -ms-flexbox; | 5471 | display: -ms-flexbox; |
5472 | display: flex; | 5472 | display: flex; |
5473 | -webkit-box-pack: center; | 5473 | -webkit-box-pack: center; |
5474 | -ms-flex-pack: center; | 5474 | -ms-flex-pack: center; |
5475 | justify-content: center; | 5475 | justify-content: center; |
5476 | -webkit-box-align: center; | 5476 | -webkit-box-align: center; |
5477 | -ms-flex-align: center; | 5477 | -ms-flex-align: center; |
5478 | align-items: center; | 5478 | align-items: center; |
5479 | height: 98px; | 5479 | height: 98px; |
5480 | } | 5480 | } |
5481 | .employer__body img { | 5481 | .employer__body img { |
5482 | max-width: 100%; | 5482 | max-width: 100%; |
5483 | max-height: 98px; | 5483 | max-height: 98px; |
5484 | -o-object-fit: contain; | 5484 | -o-object-fit: contain; |
5485 | object-fit: contain; | 5485 | object-fit: contain; |
5486 | } | 5486 | } |
5487 | .employer__more { | 5487 | .employer__more { |
5488 | height: 38px; | 5488 | height: 38px; |
5489 | } | 5489 | } |
5490 | @media (min-width: 768px) { | 5490 | @media (min-width: 768px) { |
5491 | .employer__more { | 5491 | .employer__more { |
5492 | width: 250px; | 5492 | width: 250px; |
5493 | margin: 0 auto; | 5493 | margin: 0 auto; |
5494 | height: 44px; | 5494 | height: 44px; |
5495 | } | 5495 | } |
5496 | } | 5496 | } |
5497 | 5497 | ||
5498 | .about { | 5498 | .about { |
5499 | background: #acc0e6 url("../images/space.svg") no-repeat 0 0; | 5499 | background: #acc0e6 url("../images/space.svg") no-repeat 0 0; |
5500 | background-size: cover; | 5500 | background-size: cover; |
5501 | padding: 30px 0; | 5501 | padding: 30px 0; |
5502 | padding-bottom: 70px; | 5502 | padding-bottom: 70px; |
5503 | } | 5503 | } |
5504 | @media (min-width: 768px) { | 5504 | @media (min-width: 768px) { |
5505 | .about { | 5505 | .about { |
5506 | padding-top: 40px; | 5506 | padding-top: 40px; |
5507 | background-size: auto calc(100% - 10px); | 5507 | background-size: auto calc(100% - 10px); |
5508 | } | 5508 | } |
5509 | } | 5509 | } |
5510 | @media (min-width: 1280px) { | 5510 | @media (min-width: 1280px) { |
5511 | .about { | 5511 | .about { |
5512 | padding: 100px 0; | 5512 | padding: 100px 0; |
5513 | } | 5513 | } |
5514 | } | 5514 | } |
5515 | .about__wrapper { | 5515 | .about__wrapper { |
5516 | display: -webkit-box; | 5516 | display: -webkit-box; |
5517 | display: -ms-flexbox; | 5517 | display: -ms-flexbox; |
5518 | display: flex; | 5518 | display: flex; |
5519 | -webkit-box-orient: vertical; | 5519 | -webkit-box-orient: vertical; |
5520 | -webkit-box-direction: normal; | 5520 | -webkit-box-direction: normal; |
5521 | -ms-flex-direction: column; | 5521 | -ms-flex-direction: column; |
5522 | flex-direction: column; | 5522 | flex-direction: column; |
5523 | position: relative; | 5523 | position: relative; |
5524 | } | 5524 | } |
5525 | .about__title { | 5525 | .about__title { |
5526 | color: #fff; | 5526 | color: #fff; |
5527 | line-height: 1.2; | 5527 | line-height: 1.2; |
5528 | } | 5528 | } |
5529 | @media (min-width: 1280px) { | 5529 | @media (min-width: 1280px) { |
5530 | .about__title { | 5530 | .about__title { |
5531 | position: absolute; | 5531 | position: absolute; |
5532 | top: -45px; | 5532 | top: -45px; |
5533 | left: 0; | 5533 | left: 0; |
5534 | } | 5534 | } |
5535 | } | 5535 | } |
5536 | .about__body { | 5536 | .about__body { |
5537 | display: -webkit-box; | 5537 | display: -webkit-box; |
5538 | display: -ms-flexbox; | 5538 | display: -ms-flexbox; |
5539 | display: flex; | 5539 | display: flex; |
5540 | -webkit-box-orient: vertical; | 5540 | -webkit-box-orient: vertical; |
5541 | -webkit-box-direction: normal; | 5541 | -webkit-box-direction: normal; |
5542 | -ms-flex-direction: column; | 5542 | -ms-flex-direction: column; |
5543 | flex-direction: column; | 5543 | flex-direction: column; |
5544 | } | 5544 | } |
5545 | @media (min-width: 1280px) { | 5545 | @media (min-width: 1280px) { |
5546 | .about__body { | 5546 | .about__body { |
5547 | padding-left: 495px; | 5547 | padding-left: 495px; |
5548 | } | 5548 | } |
5549 | } | 5549 | } |
5550 | .about__line { | 5550 | .about__line { |
5551 | background: #fff; | 5551 | background: #fff; |
5552 | width: 100%; | 5552 | width: 100%; |
5553 | height: 1px; | 5553 | height: 1px; |
5554 | max-width: 400px; | 5554 | max-width: 400px; |
5555 | margin-top: 10px; | 5555 | margin-top: 10px; |
5556 | } | 5556 | } |
5557 | .about__item { | 5557 | .about__item { |
5558 | display: -webkit-box; | 5558 | display: -webkit-box; |
5559 | display: -ms-flexbox; | 5559 | display: -ms-flexbox; |
5560 | display: flex; | 5560 | display: flex; |
5561 | -webkit-box-orient: vertical; | 5561 | -webkit-box-orient: vertical; |
5562 | -webkit-box-direction: normal; | 5562 | -webkit-box-direction: normal; |
5563 | -ms-flex-direction: column; | 5563 | -ms-flex-direction: column; |
5564 | flex-direction: column; | 5564 | flex-direction: column; |
5565 | margin-top: 10px; | 5565 | margin-top: 10px; |
5566 | max-width: 600px; | 5566 | max-width: 600px; |
5567 | } | 5567 | } |
5568 | @media (min-width: 768px) { | 5568 | @media (min-width: 768px) { |
5569 | .about__item { | 5569 | .about__item { |
5570 | margin-top: 20px; | 5570 | margin-top: 20px; |
5571 | } | 5571 | } |
5572 | } | 5572 | } |
5573 | @media (min-width: 1280px) { | 5573 | @media (min-width: 1280px) { |
5574 | .about__item { | 5574 | .about__item { |
5575 | margin-top: 30px; | 5575 | margin-top: 30px; |
5576 | } | 5576 | } |
5577 | } | 5577 | } |
5578 | .about__item b { | 5578 | .about__item b { |
5579 | font-size: 20px; | 5579 | font-size: 20px; |
5580 | font-weight: 700; | 5580 | font-weight: 700; |
5581 | } | 5581 | } |
5582 | .about__item span { | 5582 | .about__item span { |
5583 | font-size: 13px; | 5583 | font-size: 13px; |
5584 | line-height: 1.4; | 5584 | line-height: 1.4; |
5585 | margin-top: 6px; | 5585 | margin-top: 6px; |
5586 | } | 5586 | } |
5587 | @media (min-width: 1280px) { | 5587 | @media (min-width: 1280px) { |
5588 | .about__item span { | 5588 | .about__item span { |
5589 | font-size: 16px; | 5589 | font-size: 16px; |
5590 | margin-top: 12px; | 5590 | margin-top: 12px; |
5591 | } | 5591 | } |
5592 | } | 5592 | } |
5593 | .about__item a { | 5593 | .about__item a { |
5594 | text-decoration: underline; | 5594 | text-decoration: underline; |
5595 | } | 5595 | } |
5596 | .about__item + .about__item { | 5596 | .about__item + .about__item { |
5597 | margin-top: 30px; | 5597 | margin-top: 30px; |
5598 | } | 5598 | } |
5599 | @media (min-width: 992px) { | 5599 | @media (min-width: 992px) { |
5600 | .about__item + .about__item { | 5600 | .about__item + .about__item { |
5601 | margin-top: 40px; | 5601 | margin-top: 40px; |
5602 | } | 5602 | } |
5603 | } | 5603 | } |
5604 | .about__button { | 5604 | .about__button { |
5605 | margin-top: 20px; | 5605 | margin-top: 20px; |
5606 | height: 38px; | 5606 | height: 38px; |
5607 | padding: 0; | 5607 | padding: 0; |
5608 | } | 5608 | } |
5609 | @media (min-width: 768px) { | 5609 | @media (min-width: 768px) { |
5610 | .about__button { | 5610 | .about__button { |
5611 | max-width: 200px; | 5611 | max-width: 200px; |
5612 | height: 42px; | 5612 | height: 42px; |
5613 | margin-top: 30px; | 5613 | margin-top: 30px; |
5614 | } | 5614 | } |
5615 | } | 5615 | } |
5616 | 5616 | ||
5617 | .news { | 5617 | .news { |
5618 | padding: 50px 0; | 5618 | padding: 50px 0; |
5619 | overflow: hidden; | 5619 | overflow: hidden; |
5620 | } | 5620 | } |
5621 | @media (min-width: 1280px) { | 5621 | @media (min-width: 1280px) { |
5622 | .news { | 5622 | .news { |
5623 | padding: 100px 0; | 5623 | padding: 100px 0; |
5624 | padding-bottom: 0; | 5624 | padding-bottom: 0; |
5625 | } | 5625 | } |
5626 | } | 5626 | } |
5627 | .news__toper { | 5627 | .news__toper { |
5628 | display: -webkit-box; | 5628 | display: -webkit-box; |
5629 | display: -ms-flexbox; | 5629 | display: -ms-flexbox; |
5630 | display: flex; | 5630 | display: flex; |
5631 | -webkit-box-pack: justify; | 5631 | -webkit-box-pack: justify; |
5632 | -ms-flex-pack: justify; | 5632 | -ms-flex-pack: justify; |
5633 | justify-content: space-between; | 5633 | justify-content: space-between; |
5634 | -webkit-box-align: center; | 5634 | -webkit-box-align: center; |
5635 | -ms-flex-align: center; | 5635 | -ms-flex-align: center; |
5636 | align-items: center; | 5636 | align-items: center; |
5637 | } | 5637 | } |
5638 | @media (min-width: 1280px) { | 5638 | @media (min-width: 1280px) { |
5639 | .news__toper .title { | 5639 | .news__toper .title { |
5640 | width: calc(100% - 160px); | 5640 | width: calc(100% - 160px); |
5641 | } | 5641 | } |
5642 | } | 5642 | } |
5643 | .news__toper .navs { | 5643 | .news__toper .navs { |
5644 | display: none; | 5644 | display: none; |
5645 | } | 5645 | } |
5646 | @media (min-width: 1280px) { | 5646 | @media (min-width: 1280px) { |
5647 | .news__toper .navs { | 5647 | .news__toper .navs { |
5648 | display: -webkit-box; | 5648 | display: -webkit-box; |
5649 | display: -ms-flexbox; | 5649 | display: -ms-flexbox; |
5650 | display: flex; | 5650 | display: flex; |
5651 | } | 5651 | } |
5652 | } | 5652 | } |
5653 | .news .swiper { | 5653 | .news .swiper { |
5654 | margin-top: 20px; | 5654 | margin-top: 20px; |
5655 | } | 5655 | } |
5656 | @media (min-width: 768px) { | 5656 | @media (min-width: 768px) { |
5657 | .news .swiper { | 5657 | .news .swiper { |
5658 | overflow: visible; | 5658 | overflow: visible; |
5659 | } | 5659 | } |
5660 | } | 5660 | } |
5661 | @media (min-width: 992px) { | 5661 | @media (min-width: 992px) { |
5662 | .news .swiper { | 5662 | .news .swiper { |
5663 | margin-top: 40px; | 5663 | margin-top: 40px; |
5664 | } | 5664 | } |
5665 | } | 5665 | } |
5666 | .news__item { | 5666 | .news__item { |
5667 | display: -webkit-box; | 5667 | display: -webkit-box; |
5668 | display: -ms-flexbox; | 5668 | display: -ms-flexbox; |
5669 | display: flex; | 5669 | display: flex; |
5670 | -webkit-box-orient: vertical; | 5670 | -webkit-box-orient: vertical; |
5671 | -webkit-box-direction: normal; | 5671 | -webkit-box-direction: normal; |
5672 | -ms-flex-direction: column; | 5672 | -ms-flex-direction: column; |
5673 | flex-direction: column; | 5673 | flex-direction: column; |
5674 | line-height: 1.4; | 5674 | line-height: 1.4; |
5675 | } | 5675 | } |
5676 | .news__item-pic { | 5676 | .news__item-pic { |
5677 | width: 100%; | 5677 | width: 100%; |
5678 | aspect-ratio: 3/2; | 5678 | aspect-ratio: 3/2; |
5679 | border-radius: 12px; | 5679 | border-radius: 12px; |
5680 | border: 1px solid #e6e7e7; | 5680 | border: 1px solid #e6e7e7; |
5681 | -o-object-fit: cover; | 5681 | -o-object-fit: cover; |
5682 | object-fit: cover; | 5682 | object-fit: cover; |
5683 | min-height: 200px; | 5683 | min-height: 200px; |
5684 | } | 5684 | } |
5685 | @media (min-width: 1280px) { | 5685 | @media (min-width: 1280px) { |
5686 | .news__item-pic { | 5686 | .news__item-pic { |
5687 | aspect-ratio: 4/2; | 5687 | aspect-ratio: 4/2; |
5688 | } | 5688 | } |
5689 | } | 5689 | } |
5690 | .news__item-body { | 5690 | .news__item-body { |
5691 | display: -webkit-box; | 5691 | display: -webkit-box; |
5692 | display: -ms-flexbox; | 5692 | display: -ms-flexbox; |
5693 | display: flex; | 5693 | display: flex; |
5694 | -webkit-box-orient: vertical; | 5694 | -webkit-box-orient: vertical; |
5695 | -webkit-box-direction: normal; | 5695 | -webkit-box-direction: normal; |
5696 | -ms-flex-direction: column; | 5696 | -ms-flex-direction: column; |
5697 | flex-direction: column; | 5697 | flex-direction: column; |
5698 | padding-top: 15px; | 5698 | padding-top: 15px; |
5699 | } | 5699 | } |
5700 | @media (min-width: 768px) { | 5700 | @media (min-width: 768px) { |
5701 | .news__item-body { | 5701 | .news__item-body { |
5702 | padding: 20px; | 5702 | padding: 20px; |
5703 | padding-top: 30px; | 5703 | padding-top: 30px; |
5704 | margin-top: -15px; | 5704 | margin-top: -15px; |
5705 | border-radius: 0 0 12px 12px; | 5705 | border-radius: 0 0 12px 12px; |
5706 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15); | 5706 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15); |
5707 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15); | 5707 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15); |
5708 | } | 5708 | } |
5709 | } | 5709 | } |
5710 | .news__item-date { | 5710 | .news__item-date { |
5711 | font-size: 14px; | 5711 | font-size: 14px; |
5712 | font-weight: 700; | 5712 | font-weight: 700; |
5713 | color: #377d87; | 5713 | color: #377d87; |
5714 | } | 5714 | } |
5715 | .news__item-title { | 5715 | .news__item-title { |
5716 | font-size: 20px; | 5716 | font-size: 20px; |
5717 | font-weight: 700; | 5717 | font-weight: 700; |
5718 | line-height: 1.2; | 5718 | line-height: 1.2; |
5719 | margin-top: 5px; | 5719 | margin-top: 5px; |
5720 | } | 5720 | } |
5721 | .news__item-text { | 5721 | .news__item-text { |
5722 | color: #000; | 5722 | color: #000; |
5723 | font-size: 13px; | 5723 | font-size: 13px; |
5724 | margin-top: 10px; | 5724 | margin-top: 10px; |
5725 | overflow: hidden; | 5725 | overflow: hidden; |
5726 | display: -webkit-box; | 5726 | display: -webkit-box; |
5727 | -webkit-box-orient: vertical; | 5727 | -webkit-box-orient: vertical; |
5728 | -webkit-line-clamp: 4; | 5728 | -webkit-line-clamp: 4; |
5729 | } | 5729 | } |
5730 | @media (min-width: 1280px) { | 5730 | @media (min-width: 1280px) { |
5731 | .news__item-text { | 5731 | .news__item-text { |
5732 | font-size: 16px; | 5732 | font-size: 16px; |
5733 | } | 5733 | } |
5734 | } | 5734 | } |
5735 | .news__item-more { | 5735 | .news__item-more { |
5736 | height: 42px; | 5736 | height: 42px; |
5737 | margin-top: 20px; | 5737 | margin-top: 20px; |
5738 | } | 5738 | } |
5739 | @media (min-width: 1280px) { | 5739 | @media (min-width: 1280px) { |
5740 | .news__item-more { | 5740 | .news__item-more { |
5741 | height: 44px; | 5741 | height: 44px; |
5742 | max-width: 190px; | 5742 | max-width: 190px; |
5743 | } | 5743 | } |
5744 | } | 5744 | } |
5745 | .news__all { | 5745 | .news__all { |
5746 | height: 42px; | 5746 | height: 42px; |
5747 | margin: 0 auto; | 5747 | margin: 0 auto; |
5748 | margin-top: 20px; | 5748 | margin-top: 20px; |
5749 | padding: 0; | 5749 | padding: 0; |
5750 | display: none; | 5750 | display: none; |
5751 | } | 5751 | } |
5752 | @media (min-width: 768px) { | 5752 | @media (min-width: 768px) { |
5753 | .news__all { | 5753 | .news__all { |
5754 | max-width: 170px; | 5754 | max-width: 170px; |
5755 | margin-top: 30px; | 5755 | margin-top: 30px; |
5756 | display: -webkit-box; | 5756 | display: -webkit-box; |
5757 | display: -ms-flexbox; | 5757 | display: -ms-flexbox; |
5758 | display: flex; | 5758 | display: flex; |
5759 | } | 5759 | } |
5760 | } | 5760 | } |
5761 | @media (min-width: 1280px) { | 5761 | @media (min-width: 1280px) { |
5762 | .news__all { | 5762 | .news__all { |
5763 | height: 44px; | 5763 | height: 44px; |
5764 | } | 5764 | } |
5765 | } | 5765 | } |
5766 | .news__items { | 5766 | .news__items { |
5767 | display: grid; | 5767 | display: grid; |
5768 | gap: 20px; | 5768 | gap: 20px; |
5769 | margin-bottom: 10px; | 5769 | margin-bottom: 10px; |
5770 | } | 5770 | } |
5771 | @media (min-width: 768px) { | 5771 | @media (min-width: 768px) { |
5772 | .news__items { | 5772 | .news__items { |
5773 | grid-template-columns: 1fr 1fr; | 5773 | grid-template-columns: 1fr 1fr; |
5774 | } | 5774 | } |
5775 | } | 5775 | } |
5776 | @media (min-width: 992px) { | 5776 | @media (min-width: 992px) { |
5777 | .news__items { | 5777 | .news__items { |
5778 | grid-template-columns: 1fr 1fr 1fr; | 5778 | grid-template-columns: 1fr 1fr 1fr; |
5779 | } | 5779 | } |
5780 | } | 5780 | } |
5781 | 5781 | ||
5782 | main + .news { | 5782 | main + .news { |
5783 | padding: 0; | 5783 | padding: 0; |
5784 | } | 5784 | } |
5785 | 5785 | ||
5786 | .info { | 5786 | .info { |
5787 | position: relative; | 5787 | position: relative; |
5788 | overflow: hidden; | 5788 | overflow: hidden; |
5789 | } | 5789 | } |
5790 | @media (min-width: 1280px) { | 5790 | @media (min-width: 1280px) { |
5791 | .info { | 5791 | .info { |
5792 | margin-bottom: -25px; | 5792 | margin-bottom: -25px; |
5793 | } | 5793 | } |
5794 | } | 5794 | } |
5795 | .info__pic { | 5795 | .info__pic { |
5796 | display: none; | 5796 | display: none; |
5797 | z-index: 1; | 5797 | z-index: 1; |
5798 | position: absolute; | 5798 | position: absolute; |
5799 | top: 0; | 5799 | top: 0; |
5800 | left: 50%; | 5800 | left: 50%; |
5801 | height: 100%; | 5801 | height: 100%; |
5802 | margin-left: 130px; | 5802 | margin-left: 130px; |
5803 | } | 5803 | } |
5804 | @media (min-width: 992px) { | 5804 | @media (min-width: 992px) { |
5805 | .info__pic { | 5805 | .info__pic { |
5806 | display: block; | 5806 | display: block; |
5807 | } | 5807 | } |
5808 | } | 5808 | } |
5809 | @media (min-width: 1280px) { | 5809 | @media (min-width: 1280px) { |
5810 | .info__pic { | 5810 | .info__pic { |
5811 | width: 610px; | 5811 | width: 610px; |
5812 | height: auto; | 5812 | height: auto; |
5813 | margin-left: 10px; | 5813 | margin-left: 10px; |
5814 | } | 5814 | } |
5815 | } | 5815 | } |
5816 | .info__body { | 5816 | .info__body { |
5817 | z-index: 2; | 5817 | z-index: 2; |
5818 | position: relative; | 5818 | position: relative; |
5819 | display: -webkit-box; | 5819 | display: -webkit-box; |
5820 | display: -ms-flexbox; | 5820 | display: -ms-flexbox; |
5821 | display: flex; | 5821 | display: flex; |
5822 | -webkit-box-orient: vertical; | 5822 | -webkit-box-orient: vertical; |
5823 | -webkit-box-direction: normal; | 5823 | -webkit-box-direction: normal; |
5824 | -ms-flex-direction: column; | 5824 | -ms-flex-direction: column; |
5825 | flex-direction: column; | 5825 | flex-direction: column; |
5826 | } | 5826 | } |
5827 | @media (min-width: 1280px) { | 5827 | @media (min-width: 1280px) { |
5828 | .info__body { | 5828 | .info__body { |
5829 | padding-top: 100px; | 5829 | padding-top: 100px; |
5830 | min-height: 600px; | 5830 | min-height: 600px; |
5831 | } | 5831 | } |
5832 | } | 5832 | } |
5833 | @media (min-width: 1280px) { | 5833 | @media (min-width: 1280px) { |
5834 | .info__title { | 5834 | .info__title { |
5835 | max-width: 520px; | 5835 | max-width: 520px; |
5836 | line-height: 1; | 5836 | line-height: 1; |
5837 | } | 5837 | } |
5838 | } | 5838 | } |
5839 | .info__item { | 5839 | .info__item { |
5840 | margin-top: 20px; | 5840 | margin-top: 20px; |
5841 | display: -webkit-box; | 5841 | display: -webkit-box; |
5842 | display: -ms-flexbox; | 5842 | display: -ms-flexbox; |
5843 | display: flex; | 5843 | display: flex; |
5844 | -webkit-box-orient: vertical; | 5844 | -webkit-box-orient: vertical; |
5845 | -webkit-box-direction: normal; | 5845 | -webkit-box-direction: normal; |
5846 | -ms-flex-direction: column; | 5846 | -ms-flex-direction: column; |
5847 | flex-direction: column; | 5847 | flex-direction: column; |
5848 | gap: 20px; | 5848 | gap: 20px; |
5849 | } | 5849 | } |
5850 | @media (min-width: 992px) { | 5850 | @media (min-width: 992px) { |
5851 | .info__item { | 5851 | .info__item { |
5852 | max-width: 610px; | 5852 | max-width: 610px; |
5853 | } | 5853 | } |
5854 | } | 5854 | } |
5855 | .info__item + .info__item { | 5855 | .info__item + .info__item { |
5856 | margin-top: 60px; | 5856 | margin-top: 60px; |
5857 | } | 5857 | } |
5858 | .info__text { | 5858 | .info__text { |
5859 | color: #000; | 5859 | color: #000; |
5860 | font-size: 13px; | 5860 | font-size: 13px; |
5861 | line-height: 1.4; | 5861 | line-height: 1.4; |
5862 | } | 5862 | } |
5863 | @media (min-width: 768px) { | 5863 | @media (min-width: 768px) { |
5864 | .info__text { | 5864 | .info__text { |
5865 | font-size: 16px; | 5865 | font-size: 16px; |
5866 | } | 5866 | } |
5867 | } | 5867 | } |
5868 | @media (min-width: 1280px) { | 5868 | @media (min-width: 1280px) { |
5869 | .info__text { | 5869 | .info__text { |
5870 | font-size: 18px; | 5870 | font-size: 18px; |
5871 | } | 5871 | } |
5872 | } | 5872 | } |
5873 | .info__link { | 5873 | .info__link { |
5874 | border-radius: 8px; | 5874 | border-radius: 8px; |
5875 | display: -webkit-box; | 5875 | display: -webkit-box; |
5876 | display: -ms-flexbox; | 5876 | display: -ms-flexbox; |
5877 | display: flex; | 5877 | display: flex; |
5878 | -webkit-box-pack: center; | 5878 | -webkit-box-pack: center; |
5879 | -ms-flex-pack: center; | 5879 | -ms-flex-pack: center; |
5880 | justify-content: center; | 5880 | justify-content: center; |
5881 | -webkit-box-align: center; | 5881 | -webkit-box-align: center; |
5882 | -ms-flex-align: center; | 5882 | -ms-flex-align: center; |
5883 | align-items: center; | 5883 | align-items: center; |
5884 | line-height: 1; | 5884 | line-height: 1; |
5885 | height: 40px; | 5885 | height: 40px; |
5886 | font-size: 12px; | 5886 | font-size: 12px; |
5887 | font-weight: 700; | 5887 | font-weight: 700; |
5888 | gap: 8px; | 5888 | gap: 8px; |
5889 | color: #fff; | 5889 | color: #fff; |
5890 | background: #377d87; | 5890 | background: #377d87; |
5891 | } | 5891 | } |
5892 | .info__link:hover { | 5892 | .info__link:hover { |
5893 | -webkit-filter: grayscale(50%); | 5893 | -webkit-filter: grayscale(50%); |
5894 | filter: grayscale(50%); | 5894 | filter: grayscale(50%); |
5895 | } | 5895 | } |
5896 | @media (min-width: 768px) { | 5896 | @media (min-width: 768px) { |
5897 | .info__link { | 5897 | .info__link { |
5898 | height: 44px; | 5898 | height: 44px; |
5899 | font-size: 16px; | 5899 | font-size: 16px; |
5900 | gap: 10px; | 5900 | gap: 10px; |
5901 | max-width: 300px; | 5901 | max-width: 300px; |
5902 | } | 5902 | } |
5903 | } | 5903 | } |
5904 | @media (min-width: 992px) { | 5904 | @media (min-width: 992px) { |
5905 | .info__link { | 5905 | .info__link { |
5906 | max-width: 210px; | 5906 | max-width: 210px; |
5907 | } | 5907 | } |
5908 | } | 5908 | } |
5909 | .info__link svg { | 5909 | .info__link svg { |
5910 | width: 16px; | 5910 | width: 16px; |
5911 | height: 16px; | 5911 | height: 16px; |
5912 | } | 5912 | } |
5913 | @media (min-width: 768px) { | 5913 | @media (min-width: 768px) { |
5914 | .info__link svg { | 5914 | .info__link svg { |
5915 | width: 20px; | 5915 | width: 20px; |
5916 | height: 20px; | 5916 | height: 20px; |
5917 | } | 5917 | } |
5918 | } | 5918 | } |
5919 | 5919 | ||
5920 | .thing { | 5920 | .thing { |
5921 | padding-top: 15px; | 5921 | padding-top: 15px; |
5922 | padding-bottom: 30px; | 5922 | padding-bottom: 30px; |
5923 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 5923 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
5924 | color: #000; | 5924 | color: #000; |
5925 | overflow: hidden; | 5925 | overflow: hidden; |
5926 | position: relative; | 5926 | position: relative; |
5927 | } | 5927 | } |
5928 | @media (min-width: 992px) { | 5928 | @media (min-width: 992px) { |
5929 | .thing { | 5929 | .thing { |
5930 | padding-top: 20px; | 5930 | padding-top: 20px; |
5931 | padding-bottom: 60px; | 5931 | padding-bottom: 60px; |
5932 | } | 5932 | } |
5933 | } | 5933 | } |
5934 | @media (min-width: 1280px) { | 5934 | @media (min-width: 1280px) { |
5935 | .thing { | 5935 | .thing { |
5936 | padding-bottom: 90px; | 5936 | padding-bottom: 90px; |
5937 | } | 5937 | } |
5938 | } | 5938 | } |
5939 | .thing_pdf { | 5939 | .thing_pdf { |
5940 | padding: 30px 0; | 5940 | padding: 30px 0; |
5941 | } | 5941 | } |
5942 | @media (min-width: 992px) { | 5942 | @media (min-width: 992px) { |
5943 | .thing_pdf { | 5943 | .thing_pdf { |
5944 | padding: 60px 0; | 5944 | padding: 60px 0; |
5945 | } | 5945 | } |
5946 | } | 5946 | } |
5947 | @media (min-width: 1280px) { | 5947 | @media (min-width: 1280px) { |
5948 | .thing_pdf { | 5948 | .thing_pdf { |
5949 | padding: 90px 0; | 5949 | padding: 90px 0; |
5950 | } | 5950 | } |
5951 | } | 5951 | } |
5952 | .thing__body { | 5952 | .thing__body { |
5953 | display: -webkit-box; | 5953 | display: -webkit-box; |
5954 | display: -ms-flexbox; | 5954 | display: -ms-flexbox; |
5955 | display: flex; | 5955 | display: flex; |
5956 | -webkit-box-orient: vertical; | 5956 | -webkit-box-orient: vertical; |
5957 | -webkit-box-direction: normal; | 5957 | -webkit-box-direction: normal; |
5958 | -ms-flex-direction: column; | 5958 | -ms-flex-direction: column; |
5959 | flex-direction: column; | 5959 | flex-direction: column; |
5960 | -webkit-box-align: start; | 5960 | -webkit-box-align: start; |
5961 | -ms-flex-align: start; | 5961 | -ms-flex-align: start; |
5962 | align-items: flex-start; | 5962 | align-items: flex-start; |
5963 | } | 5963 | } |
5964 | .thing__breadcrumbs { | 5964 | .thing__breadcrumbs { |
5965 | width: 100%; | 5965 | width: 100%; |
5966 | margin-bottom: 40px; | 5966 | margin-bottom: 40px; |
5967 | position: relative; | 5967 | position: relative; |
5968 | z-index: 2; | 5968 | z-index: 2; |
5969 | } | 5969 | } |
5970 | @media (min-width: 768px) { | 5970 | @media (min-width: 768px) { |
5971 | .thing__breadcrumbs { | 5971 | .thing__breadcrumbs { |
5972 | margin-bottom: 60px; | 5972 | margin-bottom: 60px; |
5973 | } | 5973 | } |
5974 | } | 5974 | } |
5975 | .thing__date { | 5975 | .thing__date { |
5976 | color: #000; | 5976 | color: #000; |
5977 | font-size: 14px; | 5977 | font-size: 14px; |
5978 | font-weight: 700; | 5978 | font-weight: 700; |
5979 | line-height: 21px; | 5979 | line-height: 21px; |
5980 | margin-bottom: 10px; | 5980 | margin-bottom: 10px; |
5981 | } | 5981 | } |
5982 | @media (min-width: 768px) { | 5982 | @media (min-width: 768px) { |
5983 | .thing__date { | 5983 | .thing__date { |
5984 | font-size: 18px; | 5984 | font-size: 18px; |
5985 | line-height: 27px; | 5985 | line-height: 27px; |
5986 | } | 5986 | } |
5987 | } | 5987 | } |
5988 | .thing__title { | 5988 | .thing__title { |
5989 | width: 100%; | 5989 | width: 100%; |
5990 | font-size: 32px; | 5990 | font-size: 32px; |
5991 | font-weight: 700; | 5991 | font-weight: 700; |
5992 | margin: 0; | 5992 | margin: 0; |
5993 | max-width: 780px; | 5993 | max-width: 780px; |
5994 | position: relative; | 5994 | position: relative; |
5995 | z-index: 2; | 5995 | z-index: 2; |
5996 | line-height: 1.1; | 5996 | line-height: 1.1; |
5997 | } | 5997 | } |
5998 | @media (min-width: 768px) { | 5998 | @media (min-width: 768px) { |
5999 | .thing__title { | 5999 | .thing__title { |
6000 | font-size: 40px; | 6000 | font-size: 40px; |
6001 | } | 6001 | } |
6002 | } | 6002 | } |
6003 | @media (min-width: 1280px) { | 6003 | @media (min-width: 1280px) { |
6004 | .thing__title { | 6004 | .thing__title { |
6005 | font-size: 64px; | 6005 | font-size: 64px; |
6006 | } | 6006 | } |
6007 | } | 6007 | } |
6008 | .thing__text { | 6008 | .thing__text { |
6009 | width: 100%; | 6009 | width: 100%; |
6010 | font-weight: 700; | 6010 | font-weight: 700; |
6011 | font-size: 14px; | 6011 | font-size: 14px; |
6012 | line-height: 1.4; | 6012 | line-height: 1.4; |
6013 | margin: 15px 0 0 0; | 6013 | margin: 15px 0 0 0; |
6014 | max-width: 780px; | 6014 | max-width: 780px; |
6015 | position: relative; | 6015 | position: relative; |
6016 | z-index: 2; | 6016 | z-index: 2; |
6017 | } | 6017 | } |
6018 | @media (min-width: 768px) { | 6018 | @media (min-width: 768px) { |
6019 | .thing__text { | 6019 | .thing__text { |
6020 | margin-top: 15px; | 6020 | margin-top: 15px; |
6021 | } | 6021 | } |
6022 | } | 6022 | } |
6023 | @media (min-width: 992px) { | 6023 | @media (min-width: 992px) { |
6024 | .thing__text { | 6024 | .thing__text { |
6025 | font-weight: 400; | 6025 | font-weight: 400; |
6026 | font-size: 18px; | 6026 | font-size: 18px; |
6027 | } | 6027 | } |
6028 | } | 6028 | } |
6029 | .thing__search { | 6029 | .thing__search { |
6030 | width: 100%; | 6030 | width: 100%; |
6031 | max-width: 640px; | 6031 | max-width: 640px; |
6032 | margin-top: 20px; | 6032 | margin-top: 20px; |
6033 | position: relative; | 6033 | position: relative; |
6034 | z-index: 2; | 6034 | z-index: 2; |
6035 | } | 6035 | } |
6036 | @media (min-width: 768px) { | 6036 | @media (min-width: 768px) { |
6037 | .thing__search { | 6037 | .thing__search { |
6038 | margin-top: 30px; | 6038 | margin-top: 30px; |
6039 | } | 6039 | } |
6040 | } | 6040 | } |
6041 | .thing__badge { | 6041 | .thing__badge { |
6042 | position: relative; | 6042 | position: relative; |
6043 | z-index: 2; | 6043 | z-index: 2; |
6044 | display: -webkit-box; | 6044 | display: -webkit-box; |
6045 | display: -ms-flexbox; | 6045 | display: -ms-flexbox; |
6046 | display: flex; | 6046 | display: flex; |
6047 | -webkit-box-align: center; | 6047 | -webkit-box-align: center; |
6048 | -ms-flex-align: center; | 6048 | -ms-flex-align: center; |
6049 | align-items: center; | 6049 | align-items: center; |
6050 | gap: 5px; | 6050 | gap: 5px; |
6051 | padding: 0 12px; | 6051 | padding: 0 12px; |
6052 | background: #4d88d9; | 6052 | background: #4d88d9; |
6053 | color: #fff; | 6053 | color: #fff; |
6054 | font-size: 12px; | 6054 | font-size: 12px; |
6055 | line-height: 1; | 6055 | line-height: 1; |
6056 | height: 26px; | 6056 | height: 26px; |
6057 | border-radius: 999px; | 6057 | border-radius: 999px; |
6058 | margin-bottom: 20px; | 6058 | margin-bottom: 20px; |
6059 | } | 6059 | } |
6060 | @media (min-width: 992px) { | 6060 | @media (min-width: 992px) { |
6061 | .thing__badge { | 6061 | .thing__badge { |
6062 | font-size: 16px; | 6062 | font-size: 16px; |
6063 | gap: 10px; | 6063 | gap: 10px; |
6064 | padding: 0 24px; | 6064 | padding: 0 24px; |
6065 | height: 42px; | 6065 | height: 42px; |
6066 | margin-bottom: 30px; | 6066 | margin-bottom: 30px; |
6067 | } | 6067 | } |
6068 | } | 6068 | } |
6069 | .thing__badge svg { | 6069 | .thing__badge svg { |
6070 | width: 12px; | 6070 | width: 12px; |
6071 | height: 12px; | 6071 | height: 12px; |
6072 | } | 6072 | } |
6073 | @media (min-width: 992px) { | 6073 | @media (min-width: 992px) { |
6074 | .thing__badge svg { | 6074 | .thing__badge svg { |
6075 | width: 20px; | 6075 | width: 20px; |
6076 | height: 20px; | 6076 | height: 20px; |
6077 | } | 6077 | } |
6078 | } | 6078 | } |
6079 | .thing__pic { | 6079 | .thing__pic { |
6080 | width: 60px; | 6080 | width: 60px; |
6081 | aspect-ratio: 1/1; | 6081 | aspect-ratio: 1/1; |
6082 | -o-object-fit: contain; | 6082 | -o-object-fit: contain; |
6083 | object-fit: contain; | 6083 | object-fit: contain; |
6084 | position: relative; | 6084 | position: relative; |
6085 | z-index: 1; | 6085 | z-index: 1; |
6086 | margin-bottom: 15px; | 6086 | margin-bottom: 15px; |
6087 | } | 6087 | } |
6088 | @media (min-width: 768px) { | 6088 | @media (min-width: 768px) { |
6089 | .thing__pic { | 6089 | .thing__pic { |
6090 | width: 160px; | 6090 | width: 160px; |
6091 | position: absolute; | 6091 | position: absolute; |
6092 | top: 15px; | 6092 | top: 15px; |
6093 | right: 20px; | 6093 | right: 20px; |
6094 | } | 6094 | } |
6095 | } | 6095 | } |
6096 | @media (min-width: 992px) { | 6096 | @media (min-width: 992px) { |
6097 | .thing__pic { | 6097 | .thing__pic { |
6098 | width: 330px; | 6098 | width: 330px; |
6099 | top: 50%; | 6099 | top: 50%; |
6100 | -webkit-transform: translate(0, -50%); | 6100 | -webkit-transform: translate(0, -50%); |
6101 | -ms-transform: translate(0, -50%); | 6101 | -ms-transform: translate(0, -50%); |
6102 | transform: translate(0, -50%); | 6102 | transform: translate(0, -50%); |
6103 | } | 6103 | } |
6104 | } | 6104 | } |
6105 | @media (min-width: 1280px) { | 6105 | @media (min-width: 1280px) { |
6106 | .thing__pic { | 6106 | .thing__pic { |
6107 | right: auto; | 6107 | right: auto; |
6108 | left: 50%; | 6108 | left: 50%; |
6109 | margin-left: 200px; | 6109 | margin-left: 200px; |
6110 | } | 6110 | } |
6111 | } | 6111 | } |
6112 | .thing__pic_two { | 6112 | .thing__pic_two { |
6113 | -o-object-fit: cover; | 6113 | -o-object-fit: cover; |
6114 | object-fit: cover; | 6114 | object-fit: cover; |
6115 | border-radius: 30px; | 6115 | border-radius: 30px; |
6116 | aspect-ratio: 44/37; | 6116 | aspect-ratio: 44/37; |
6117 | width: 100%; | 6117 | width: 100%; |
6118 | max-width: 440px; | 6118 | max-width: 440px; |
6119 | } | 6119 | } |
6120 | @media (min-width: 768px) { | 6120 | @media (min-width: 768px) { |
6121 | .thing__pic_two { | 6121 | .thing__pic_two { |
6122 | position: static; | 6122 | position: static; |
6123 | -webkit-transform: translate(0, 0); | 6123 | -webkit-transform: translate(0, 0); |
6124 | -ms-transform: translate(0, 0); | 6124 | -ms-transform: translate(0, 0); |
6125 | transform: translate(0, 0); | 6125 | transform: translate(0, 0); |
6126 | } | 6126 | } |
6127 | } | 6127 | } |
6128 | @media (min-width: 1280px) { | 6128 | @media (min-width: 1280px) { |
6129 | .thing__pic_two { | 6129 | .thing__pic_two { |
6130 | position: absolute; | 6130 | position: absolute; |
6131 | -webkit-transform: translate(0, -50%); | 6131 | -webkit-transform: translate(0, -50%); |
6132 | -ms-transform: translate(0, -50%); | 6132 | -ms-transform: translate(0, -50%); |
6133 | transform: translate(0, -50%); | 6133 | transform: translate(0, -50%); |
6134 | } | 6134 | } |
6135 | } | 6135 | } |
6136 | .thing__buttons { | 6136 | .thing__buttons { |
6137 | width: 100%; | 6137 | width: 100%; |
6138 | position: relative; | 6138 | position: relative; |
6139 | z-index: 2; | 6139 | z-index: 2; |
6140 | display: -webkit-box; | 6140 | display: -webkit-box; |
6141 | display: -ms-flexbox; | 6141 | display: -ms-flexbox; |
6142 | display: flex; | 6142 | display: flex; |
6143 | -webkit-box-align: center; | 6143 | -webkit-box-align: center; |
6144 | -ms-flex-align: center; | 6144 | -ms-flex-align: center; |
6145 | align-items: center; | 6145 | align-items: center; |
6146 | gap: 20px; | 6146 | gap: 20px; |
6147 | margin-top: 15px; | 6147 | margin-top: 15px; |
6148 | } | 6148 | } |
6149 | @media (min-width: 992px) { | 6149 | @media (min-width: 992px) { |
6150 | .thing__buttons { | 6150 | .thing__buttons { |
6151 | margin-top: 30px; | 6151 | margin-top: 30px; |
6152 | gap: 30px; | 6152 | gap: 30px; |
6153 | } | 6153 | } |
6154 | } | 6154 | } |
6155 | @media (min-width: 992px) { | 6155 | @media (min-width: 992px) { |
6156 | .thing__buttons .button { | 6156 | .thing__buttons .button { |
6157 | padding: 0 22px; | 6157 | padding: 0 22px; |
6158 | } | 6158 | } |
6159 | } | 6159 | } |
6160 | .thing__checkbox { | 6160 | .thing__checkbox { |
6161 | margin-top: 20px; | 6161 | margin-top: 20px; |
6162 | } | 6162 | } |
6163 | .thing__checkbox .checkbox__icon { | 6163 | .thing__checkbox .checkbox__icon { |
6164 | border-color: #377d87; | 6164 | border-color: #377d87; |
6165 | } | 6165 | } |
6166 | .thing__checkbox .checkbox__text { | 6166 | .thing__checkbox .checkbox__text { |
6167 | color: #377d87; | 6167 | color: #377d87; |
6168 | } | 6168 | } |
6169 | .thing__profile { | 6169 | .thing__profile { |
6170 | display: -webkit-box; | 6170 | display: -webkit-box; |
6171 | display: -ms-flexbox; | 6171 | display: -ms-flexbox; |
6172 | display: flex; | 6172 | display: flex; |
6173 | -webkit-box-orient: vertical; | 6173 | -webkit-box-orient: vertical; |
6174 | -webkit-box-direction: normal; | 6174 | -webkit-box-direction: normal; |
6175 | -ms-flex-direction: column; | 6175 | -ms-flex-direction: column; |
6176 | flex-direction: column; | 6176 | flex-direction: column; |
6177 | } | 6177 | } |
6178 | @media (min-width: 768px) { | 6178 | @media (min-width: 768px) { |
6179 | .thing__profile { | 6179 | .thing__profile { |
6180 | -webkit-box-orient: horizontal; | 6180 | -webkit-box-orient: horizontal; |
6181 | -webkit-box-direction: normal; | 6181 | -webkit-box-direction: normal; |
6182 | -ms-flex-direction: row; | 6182 | -ms-flex-direction: row; |
6183 | flex-direction: row; | 6183 | flex-direction: row; |
6184 | -webkit-box-align: start; | 6184 | -webkit-box-align: start; |
6185 | -ms-flex-align: start; | 6185 | -ms-flex-align: start; |
6186 | align-items: flex-start; | 6186 | align-items: flex-start; |
6187 | } | 6187 | } |
6188 | } | 6188 | } |
6189 | .thing__profile-photo { | 6189 | .thing__profile-photo { |
6190 | width: 210px; | 6190 | width: 210px; |
6191 | border-radius: 8px; | 6191 | border-radius: 8px; |
6192 | aspect-ratio: 1/1; | 6192 | aspect-ratio: 1/1; |
6193 | } | 6193 | } |
6194 | .thing__profile-body { | 6194 | .thing__profile-body { |
6195 | display: -webkit-box; | 6195 | display: -webkit-box; |
6196 | display: -ms-flexbox; | 6196 | display: -ms-flexbox; |
6197 | display: flex; | 6197 | display: flex; |
6198 | -webkit-box-orient: vertical; | 6198 | -webkit-box-orient: vertical; |
6199 | -webkit-box-direction: normal; | 6199 | -webkit-box-direction: normal; |
6200 | -ms-flex-direction: column; | 6200 | -ms-flex-direction: column; |
6201 | flex-direction: column; | 6201 | flex-direction: column; |
6202 | margin-top: 15px; | 6202 | margin-top: 15px; |
6203 | } | 6203 | } |
6204 | @media (min-width: 768px) { | 6204 | @media (min-width: 768px) { |
6205 | .thing__profile-body { | 6205 | .thing__profile-body { |
6206 | width: calc(100% - 210px); | 6206 | width: calc(100% - 210px); |
6207 | padding-left: 35px; | 6207 | padding-left: 35px; |
6208 | } | 6208 | } |
6209 | } | 6209 | } |
6210 | .thing__profile .thing__title { | 6210 | .thing__profile .thing__title { |
6211 | max-width: none; | 6211 | max-width: none; |
6212 | } | 6212 | } |
6213 | @media (min-width: 768px) { | 6213 | @media (min-width: 768px) { |
6214 | .thing__profile .thing__title { | 6214 | .thing__profile .thing__title { |
6215 | margin-top: -20px; | 6215 | margin-top: -20px; |
6216 | } | 6216 | } |
6217 | } | 6217 | } |
6218 | .thing__profile .thing__text { | 6218 | .thing__profile .thing__text { |
6219 | max-width: none; | 6219 | max-width: none; |
6220 | } | 6220 | } |
6221 | .thing__bottom { | 6221 | .thing__bottom { |
6222 | display: -webkit-box; | 6222 | display: -webkit-box; |
6223 | display: -ms-flexbox; | 6223 | display: -ms-flexbox; |
6224 | display: flex; | 6224 | display: flex; |
6225 | -webkit-box-align: center; | 6225 | -webkit-box-align: center; |
6226 | -ms-flex-align: center; | 6226 | -ms-flex-align: center; |
6227 | align-items: center; | 6227 | align-items: center; |
6228 | gap: 15px; | 6228 | gap: 15px; |
6229 | margin-top: 15px; | 6229 | margin-top: 15px; |
6230 | } | 6230 | } |
6231 | @media (min-width: 768px) { | 6231 | @media (min-width: 768px) { |
6232 | .thing__bottom { | 6232 | .thing__bottom { |
6233 | margin-top: 30px; | 6233 | margin-top: 30px; |
6234 | } | 6234 | } |
6235 | } | 6235 | } |
6236 | .thing__select { | 6236 | .thing__select { |
6237 | width: 100%; | 6237 | width: 100%; |
6238 | max-width: 640px; | 6238 | max-width: 640px; |
6239 | margin-top: 20px; | 6239 | margin-top: 20px; |
6240 | } | 6240 | } |
6241 | @media (min-width: 768px) { | 6241 | @media (min-width: 768px) { |
6242 | .thing__select { | 6242 | .thing__select { |
6243 | margin-top: 30px; | 6243 | margin-top: 30px; |
6244 | } | 6244 | } |
6245 | } | 6245 | } |
6246 | 6246 | ||
6247 | .page-404 { | 6247 | .page-404 { |
6248 | background: url(../images/bg-3.svg) no-repeat 100%/cover; | 6248 | background: url(../images/bg-3.svg) no-repeat 100%/cover; |
6249 | overflow: hidden; | 6249 | overflow: hidden; |
6250 | } | 6250 | } |
6251 | .page-404__body { | 6251 | .page-404__body { |
6252 | display: -webkit-box; | 6252 | display: -webkit-box; |
6253 | display: -ms-flexbox; | 6253 | display: -ms-flexbox; |
6254 | display: flex; | 6254 | display: flex; |
6255 | -webkit-box-orient: vertical; | 6255 | -webkit-box-orient: vertical; |
6256 | -webkit-box-direction: normal; | 6256 | -webkit-box-direction: normal; |
6257 | -ms-flex-direction: column; | 6257 | -ms-flex-direction: column; |
6258 | flex-direction: column; | 6258 | flex-direction: column; |
6259 | -webkit-box-align: center; | 6259 | -webkit-box-align: center; |
6260 | -ms-flex-align: center; | 6260 | -ms-flex-align: center; |
6261 | align-items: center; | 6261 | align-items: center; |
6262 | -webkit-box-pack: center; | 6262 | -webkit-box-pack: center; |
6263 | -ms-flex-pack: center; | 6263 | -ms-flex-pack: center; |
6264 | justify-content: center; | 6264 | justify-content: center; |
6265 | text-align: center; | 6265 | text-align: center; |
6266 | padding: 60px 0; | 6266 | padding: 60px 0; |
6267 | color: #000; | 6267 | color: #000; |
6268 | font-size: 12px; | 6268 | font-size: 12px; |
6269 | gap: 10px; | 6269 | gap: 10px; |
6270 | line-height: 1.4; | 6270 | line-height: 1.4; |
6271 | } | 6271 | } |
6272 | @media (min-width: 768px) { | 6272 | @media (min-width: 768px) { |
6273 | .page-404__body { | 6273 | .page-404__body { |
6274 | font-size: 18px; | 6274 | font-size: 18px; |
6275 | padding: 120px 0; | 6275 | padding: 120px 0; |
6276 | gap: 20px; | 6276 | gap: 20px; |
6277 | } | 6277 | } |
6278 | } | 6278 | } |
6279 | @media (min-width: 1280px) { | 6279 | @media (min-width: 1280px) { |
6280 | .page-404__body { | 6280 | .page-404__body { |
6281 | padding: 180px 0; | 6281 | padding: 180px 0; |
6282 | text-align: left; | 6282 | text-align: left; |
6283 | } | 6283 | } |
6284 | } | 6284 | } |
6285 | .page-404__numb { | 6285 | .page-404__numb { |
6286 | font-size: 114px; | 6286 | font-size: 114px; |
6287 | line-height: 1; | 6287 | line-height: 1; |
6288 | color: #377d87; | 6288 | color: #377d87; |
6289 | font-weight: 700; | 6289 | font-weight: 700; |
6290 | } | 6290 | } |
6291 | @media (min-width: 768px) { | 6291 | @media (min-width: 768px) { |
6292 | .page-404__numb { | 6292 | .page-404__numb { |
6293 | font-size: 184px; | 6293 | font-size: 184px; |
6294 | } | 6294 | } |
6295 | } | 6295 | } |
6296 | @media (min-width: 768px) { | 6296 | @media (min-width: 768px) { |
6297 | .page-404__title { | 6297 | .page-404__title { |
6298 | font-weight: 700; | 6298 | font-weight: 700; |
6299 | font-size: 44px; | 6299 | font-size: 44px; |
6300 | } | 6300 | } |
6301 | } | 6301 | } |
6302 | @media (min-width: 1280px) { | 6302 | @media (min-width: 1280px) { |
6303 | .page-404__title { | 6303 | .page-404__title { |
6304 | width: 710px; | 6304 | width: 710px; |
6305 | position: relative; | 6305 | position: relative; |
6306 | left: 200px; | 6306 | left: 200px; |
6307 | } | 6307 | } |
6308 | } | 6308 | } |
6309 | @media (min-width: 1280px) { | 6309 | @media (min-width: 1280px) { |
6310 | .page-404__subtitle { | 6310 | .page-404__subtitle { |
6311 | width: 710px; | 6311 | width: 710px; |
6312 | position: relative; | 6312 | position: relative; |
6313 | left: 200px; | 6313 | left: 200px; |
6314 | } | 6314 | } |
6315 | } | 6315 | } |
6316 | .page-404__button { | 6316 | .page-404__button { |
6317 | margin-top: 10px; | 6317 | margin-top: 10px; |
6318 | } | 6318 | } |
6319 | @media (min-width: 1280px) { | 6319 | @media (min-width: 1280px) { |
6320 | .page-404__button { | 6320 | .page-404__button { |
6321 | position: relative; | 6321 | position: relative; |
6322 | left: -45px; | 6322 | left: -45px; |
6323 | } | 6323 | } |
6324 | } | 6324 | } |
6325 | 6325 | ||
6326 | .cookies { | 6326 | .cookies { |
6327 | display: none; | 6327 | display: none; |
6328 | -webkit-box-align: end; | 6328 | -webkit-box-align: end; |
6329 | -ms-flex-align: end; | 6329 | -ms-flex-align: end; |
6330 | align-items: flex-end; | 6330 | align-items: flex-end; |
6331 | padding: 10px; | 6331 | padding: 10px; |
6332 | padding-top: 0; | 6332 | padding-top: 0; |
6333 | height: 0; | 6333 | height: 0; |
6334 | position: fixed; | 6334 | position: fixed; |
6335 | z-index: 999; | 6335 | z-index: 999; |
6336 | bottom: 0; | 6336 | bottom: 0; |
6337 | left: 0; | 6337 | left: 0; |
6338 | width: 100%; | 6338 | width: 100%; |
6339 | } | 6339 | } |
6340 | .cookies-is-actived .cookies { | 6340 | .cookies-is-actived .cookies { |
6341 | display: -webkit-box; | 6341 | display: -webkit-box; |
6342 | display: -ms-flexbox; | 6342 | display: -ms-flexbox; |
6343 | display: flex; | 6343 | display: flex; |
6344 | } | 6344 | } |
6345 | .cookies__body { | 6345 | .cookies__body { |
6346 | border-radius: 6px; | 6346 | border-radius: 6px; |
6347 | border: 1px solid #377d87; | 6347 | border: 1px solid #377d87; |
6348 | background: #fff; | 6348 | background: #fff; |
6349 | padding: 15px; | 6349 | padding: 15px; |
6350 | padding-right: 50px; | 6350 | padding-right: 50px; |
6351 | position: relative; | 6351 | position: relative; |
6352 | max-width: 940px; | 6352 | max-width: 940px; |
6353 | margin: 0 auto; | 6353 | margin: 0 auto; |
6354 | } | 6354 | } |
6355 | @media (min-width: 768px) { | 6355 | @media (min-width: 768px) { |
6356 | .cookies__body { | 6356 | .cookies__body { |
6357 | padding: 25px; | 6357 | padding: 25px; |
6358 | padding-right: 50px; | 6358 | padding-right: 50px; |
6359 | border-radius: 12px; | 6359 | border-radius: 12px; |
6360 | } | 6360 | } |
6361 | } | 6361 | } |
6362 | @media (min-width: 992px) { | 6362 | @media (min-width: 992px) { |
6363 | .cookies__body { | 6363 | .cookies__body { |
6364 | padding: 40px 60px; | 6364 | padding: 40px 60px; |
6365 | } | 6365 | } |
6366 | } | 6366 | } |
6367 | .cookies__close { | 6367 | .cookies__close { |
6368 | display: -webkit-box; | 6368 | display: -webkit-box; |
6369 | display: -ms-flexbox; | 6369 | display: -ms-flexbox; |
6370 | display: flex; | 6370 | display: flex; |
6371 | -webkit-box-pack: center; | 6371 | -webkit-box-pack: center; |
6372 | -ms-flex-pack: center; | 6372 | -ms-flex-pack: center; |
6373 | justify-content: center; | 6373 | justify-content: center; |
6374 | -webkit-box-align: center; | 6374 | -webkit-box-align: center; |
6375 | -ms-flex-align: center; | 6375 | -ms-flex-align: center; |
6376 | align-items: center; | 6376 | align-items: center; |
6377 | color: #377d87; | 6377 | color: #377d87; |
6378 | padding: 0; | 6378 | padding: 0; |
6379 | border: none; | 6379 | border: none; |
6380 | background: none; | 6380 | background: none; |
6381 | position: absolute; | 6381 | position: absolute; |
6382 | top: 15px; | 6382 | top: 15px; |
6383 | right: 15px; | 6383 | right: 15px; |
6384 | } | 6384 | } |
6385 | .cookies__close:hover { | 6385 | .cookies__close:hover { |
6386 | color: #000; | 6386 | color: #000; |
6387 | } | 6387 | } |
6388 | .cookies__close svg { | 6388 | .cookies__close svg { |
6389 | width: 16px; | 6389 | width: 16px; |
6390 | height: 16px; | 6390 | height: 16px; |
6391 | } | 6391 | } |
6392 | .cookies__text { | 6392 | .cookies__text { |
6393 | font-size: 12px; | 6393 | font-size: 12px; |
6394 | color: #377d87; | 6394 | color: #377d87; |
6395 | line-height: 1.4; | 6395 | line-height: 1.4; |
6396 | } | 6396 | } |
6397 | @media (min-width: 768px) { | 6397 | @media (min-width: 768px) { |
6398 | .cookies__text { | 6398 | .cookies__text { |
6399 | font-size: 16px; | 6399 | font-size: 16px; |
6400 | font-weight: 700; | 6400 | font-weight: 700; |
6401 | } | 6401 | } |
6402 | } | 6402 | } |
6403 | 6403 | ||
6404 | .fancybox-active { | 6404 | .fancybox-active { |
6405 | overflow: hidden; | 6405 | overflow: hidden; |
6406 | } | 6406 | } |
6407 | .fancybox-is-open .fancybox-bg { | 6407 | .fancybox-is-open .fancybox-bg { |
6408 | background: #080b0b; | 6408 | background: #080b0b; |
6409 | opacity: 0.6; | 6409 | opacity: 0.6; |
6410 | z-index: 9999; | 6410 | z-index: 9999; |
6411 | } | 6411 | } |
6412 | .fancybox-slide { | 6412 | .fancybox-slide { |
6413 | padding: 0; | 6413 | padding: 0; |
6414 | } | 6414 | } |
6415 | @media (min-width: 992px) { | 6415 | @media (min-width: 992px) { |
6416 | .fancybox-slide { | 6416 | .fancybox-slide { |
6417 | padding: 30px; | 6417 | padding: 30px; |
6418 | } | 6418 | } |
6419 | } | 6419 | } |
6420 | .fancybox-slide--html .fancybox-close-small { | 6420 | .fancybox-slide--html .fancybox-close-small { |
6421 | padding: 0; | 6421 | padding: 0; |
6422 | opacity: 1; | 6422 | opacity: 1; |
6423 | color: #377d87; | 6423 | color: #377d87; |
6424 | } | 6424 | } |
6425 | @media (min-width: 768px) { | 6425 | @media (min-width: 768px) { |
6426 | .fancybox-slide--html .fancybox-close-small { | 6426 | .fancybox-slide--html .fancybox-close-small { |
6427 | top: 10px; | 6427 | top: 10px; |
6428 | right: 10px; | 6428 | right: 10px; |
6429 | } | 6429 | } |
6430 | } | 6430 | } |
6431 | .fancybox-slide--html .fancybox-close-small:hover { | 6431 | .fancybox-slide--html .fancybox-close-small:hover { |
6432 | color: #000; | 6432 | color: #000; |
6433 | } | 6433 | } |
6434 | 6434 | ||
6435 | .modal { | 6435 | .modal { |
6436 | width: 100%; | 6436 | width: 100%; |
6437 | max-width: 820px; | 6437 | max-width: 820px; |
6438 | padding: 0; | 6438 | padding: 0; |
6439 | background: #fff; | 6439 | background: #fff; |
6440 | z-index: 99999; | 6440 | z-index: 99999; |
6441 | } | 6441 | } |
6442 | @media (min-width: 992px) { | 6442 | @media (min-width: 992px) { |
6443 | .modal { | 6443 | .modal { |
6444 | border-radius: 10px; | 6444 | border-radius: 10px; |
6445 | border: 1px solid #377d87; | 6445 | border: 1px solid #377d87; |
6446 | } | 6446 | } |
6447 | } | 6447 | } |
6448 | .modal_bg { | 6448 | .modal_bg { |
6449 | background: #fff url(../images/bg-4.svg) no-repeat calc(50% + 100px) 100%; | 6449 | background: #fff url(../images/bg-4.svg) no-repeat calc(50% + 100px) 100%; |
6450 | } | 6450 | } |
6451 | @media (min-width: 768px) { | 6451 | @media (min-width: 768px) { |
6452 | .modal_bg { | 6452 | .modal_bg { |
6453 | background-position: 100% 100%; | 6453 | background-position: 100% 100%; |
6454 | } | 6454 | } |
6455 | } | 6455 | } |
6456 | .modal__body { | 6456 | .modal__body { |
6457 | padding: 40px 15px; | 6457 | padding: 40px 15px; |
6458 | padding-bottom: 30px; | 6458 | padding-bottom: 30px; |
6459 | display: -webkit-box; | 6459 | display: -webkit-box; |
6460 | display: -ms-flexbox; | 6460 | display: -ms-flexbox; |
6461 | display: flex; | 6461 | display: flex; |
6462 | -webkit-box-orient: vertical; | 6462 | -webkit-box-orient: vertical; |
6463 | -webkit-box-direction: normal; | 6463 | -webkit-box-direction: normal; |
6464 | -ms-flex-direction: column; | 6464 | -ms-flex-direction: column; |
6465 | flex-direction: column; | 6465 | flex-direction: column; |
6466 | -webkit-box-align: center; | 6466 | -webkit-box-align: center; |
6467 | -ms-flex-align: center; | 6467 | -ms-flex-align: center; |
6468 | align-items: center; | 6468 | align-items: center; |
6469 | -webkit-box-pack: center; | 6469 | -webkit-box-pack: center; |
6470 | -ms-flex-pack: center; | 6470 | -ms-flex-pack: center; |
6471 | justify-content: center; | 6471 | justify-content: center; |
6472 | width: 100%; | 6472 | width: 100%; |
6473 | min-height: 100vh; | 6473 | min-height: 100vh; |
6474 | overflow: hidden; | 6474 | overflow: hidden; |
6475 | font-size: 12px; | 6475 | font-size: 12px; |
6476 | } | 6476 | } |
6477 | @media (min-width: 768px) { | 6477 | @media (min-width: 768px) { |
6478 | .modal__body { | 6478 | .modal__body { |
6479 | font-size: 16px; | 6479 | font-size: 16px; |
6480 | padding-left: 22px; | 6480 | padding-left: 22px; |
6481 | padding-right: 22px; | 6481 | padding-right: 22px; |
6482 | } | 6482 | } |
6483 | } | 6483 | } |
6484 | @media (min-width: 992px) { | 6484 | @media (min-width: 992px) { |
6485 | .modal__body { | 6485 | .modal__body { |
6486 | min-height: 450px; | 6486 | min-height: 450px; |
6487 | padding: 60px 80px; | 6487 | padding: 60px 80px; |
6488 | padding-bottom: 40px; | 6488 | padding-bottom: 40px; |
6489 | } | 6489 | } |
6490 | } | 6490 | } |
6491 | @media (min-width: 768px) { | 6491 | @media (min-width: 768px) { |
6492 | .modal__body .left { | 6492 | .modal__body .left { |
6493 | text-align: left; | 6493 | text-align: left; |
6494 | } | 6494 | } |
6495 | } | 6495 | } |
6496 | .modal__title { | 6496 | .modal__title { |
6497 | width: 100%; | 6497 | width: 100%; |
6498 | font-size: 22px; | 6498 | font-size: 22px; |
6499 | font-weight: 700; | 6499 | font-weight: 700; |
6500 | text-align: center; | 6500 | text-align: center; |
6501 | color: #000; | 6501 | color: #000; |
6502 | } | 6502 | } |
6503 | @media (min-width: 768px) { | 6503 | @media (min-width: 768px) { |
6504 | .modal__title { | 6504 | .modal__title { |
6505 | font-size: 32px; | 6505 | font-size: 32px; |
6506 | } | 6506 | } |
6507 | } | 6507 | } |
6508 | @media (min-width: 992px) { | 6508 | @media (min-width: 992px) { |
6509 | .modal__title { | 6509 | .modal__title { |
6510 | font-size: 44px; | 6510 | font-size: 44px; |
6511 | } | 6511 | } |
6512 | } | 6512 | } |
6513 | .modal__text { | 6513 | .modal__text { |
6514 | width: 100%; | 6514 | width: 100%; |
6515 | text-align: center; | 6515 | text-align: center; |
6516 | margin-top: 10px; | 6516 | margin-top: 10px; |
6517 | color: #000; | 6517 | color: #000; |
6518 | } | 6518 | } |
6519 | @media (min-width: 768px) { | 6519 | @media (min-width: 768px) { |
6520 | .modal__text { | 6520 | .modal__text { |
6521 | margin-top: 20px; | 6521 | margin-top: 20px; |
6522 | } | 6522 | } |
6523 | } | 6523 | } |
6524 | .modal__text span { | 6524 | .modal__text span { |
6525 | color: #9c9d9d; | 6525 | color: #9c9d9d; |
6526 | } | 6526 | } |
6527 | .modal__text a { | 6527 | .modal__text a { |
6528 | font-weight: 700; | 6528 | font-weight: 700; |
6529 | color: #377d87; | 6529 | color: #377d87; |
6530 | } | 6530 | } |
6531 | .modal__text a:hover { | 6531 | .modal__text a:hover { |
6532 | color: #000; | 6532 | color: #000; |
6533 | } | 6533 | } |
6534 | .modal__button { | 6534 | .modal__button { |
6535 | margin-top: 20px; | 6535 | margin-top: 20px; |
6536 | } | 6536 | } |
6537 | @media (min-width: 768px) { | 6537 | @media (min-width: 768px) { |
6538 | .modal__button { | 6538 | .modal__button { |
6539 | min-width: 200px; | 6539 | min-width: 200px; |
6540 | margin-top: 30px; | 6540 | margin-top: 30px; |
6541 | } | 6541 | } |
6542 | } | 6542 | } |
6543 | .modal__buttons { | 6543 | .modal__buttons { |
6544 | display: grid; | 6544 | display: grid; |
6545 | grid-template-columns: repeat(2, 1fr); | 6545 | grid-template-columns: repeat(2, 1fr); |
6546 | gap: 20px; | 6546 | gap: 20px; |
6547 | margin-top: 20px; | 6547 | margin-top: 20px; |
6548 | } | 6548 | } |
6549 | @media (min-width: 768px) { | 6549 | @media (min-width: 768px) { |
6550 | .modal__buttons { | 6550 | .modal__buttons { |
6551 | gap: 30px; | 6551 | gap: 30px; |
6552 | margin-top: 30px; | 6552 | margin-top: 30px; |
6553 | } | 6553 | } |
6554 | } | 6554 | } |
6555 | .modal__form { | 6555 | .modal__form { |
6556 | width: 100%; | 6556 | width: 100%; |
6557 | display: -webkit-box; | 6557 | display: -webkit-box; |
6558 | display: -ms-flexbox; | 6558 | display: -ms-flexbox; |
6559 | display: flex; | 6559 | display: flex; |
6560 | -webkit-box-orient: vertical; | 6560 | -webkit-box-orient: vertical; |
6561 | -webkit-box-direction: normal; | 6561 | -webkit-box-direction: normal; |
6562 | -ms-flex-direction: column; | 6562 | -ms-flex-direction: column; |
6563 | flex-direction: column; | 6563 | flex-direction: column; |
6564 | gap: 16px; | 6564 | gap: 16px; |
6565 | margin-top: 10px; | 6565 | margin-top: 10px; |
6566 | } | 6566 | } |
6567 | @media (min-width: 768px) { | 6567 | @media (min-width: 768px) { |
6568 | .modal__form { | 6568 | .modal__form { |
6569 | margin-top: 20px; | 6569 | margin-top: 20px; |
6570 | } | 6570 | } |
6571 | } | 6571 | } |
6572 | .modal__form-item { | 6572 | .modal__form-item { |
6573 | display: -webkit-box; | 6573 | display: -webkit-box; |
6574 | display: -ms-flexbox; | 6574 | display: -ms-flexbox; |
6575 | display: flex; | 6575 | display: flex; |
6576 | -webkit-box-orient: vertical; | 6576 | -webkit-box-orient: vertical; |
6577 | -webkit-box-direction: normal; | 6577 | -webkit-box-direction: normal; |
6578 | -ms-flex-direction: column; | 6578 | -ms-flex-direction: column; |
6579 | flex-direction: column; | 6579 | flex-direction: column; |
6580 | -webkit-box-align: center; | 6580 | -webkit-box-align: center; |
6581 | -ms-flex-align: center; | 6581 | -ms-flex-align: center; |
6582 | align-items: center; | 6582 | align-items: center; |
6583 | gap: 4px; | 6583 | gap: 4px; |
6584 | } | 6584 | } |
6585 | .modal__form-item > .input { | 6585 | .modal__form-item > .input { |
6586 | width: 100%; | 6586 | width: 100%; |
6587 | } | 6587 | } |
6588 | .modal__form-item > .textarea { | 6588 | .modal__form-item > .textarea { |
6589 | width: 100%; | 6589 | width: 100%; |
6590 | height: 175px; | 6590 | height: 175px; |
6591 | } | 6591 | } |
6592 | @media (min-width: 768px) { | 6592 | @media (min-width: 768px) { |
6593 | .modal__form-item > .textarea { | 6593 | .modal__form-item > .textarea { |
6594 | height: 195px; | 6594 | height: 195px; |
6595 | } | 6595 | } |
6596 | } | 6596 | } |
6597 | .modal__form-item > .file { | 6597 | .modal__form-item > .file { |
6598 | width: 100%; | 6598 | width: 100%; |
6599 | } | 6599 | } |
6600 | .modal__form-item > .button { | 6600 | .modal__form-item > .button { |
6601 | min-width: 120px; | 6601 | min-width: 120px; |
6602 | } | 6602 | } |
6603 | .modal__form-item > label { | 6603 | .modal__form-item > label { |
6604 | width: 100%; | 6604 | width: 100%; |
6605 | display: none; | 6605 | display: none; |
6606 | color: #eb5757; | 6606 | color: #eb5757; |
6607 | padding: 0 10px; | 6607 | padding: 0 10px; |
6608 | font-size: 12px; | 6608 | font-size: 12px; |
6609 | } | 6609 | } |
6610 | @media (min-width: 768px) { | 6610 | @media (min-width: 768px) { |
6611 | .modal__form-item > label { | 6611 | .modal__form-item > label { |
6612 | padding: 0 20px; | 6612 | padding: 0 20px; |
6613 | font-size: 16px; | 6613 | font-size: 16px; |
6614 | } | 6614 | } |
6615 | } | 6615 | } |
6616 | .modal__sign { | 6616 | .modal__sign { |
6617 | display: -webkit-box; | 6617 | display: -webkit-box; |
6618 | display: -ms-flexbox; | 6618 | display: -ms-flexbox; |
6619 | display: flex; | 6619 | display: flex; |
6620 | -webkit-box-orient: vertical; | 6620 | -webkit-box-orient: vertical; |
6621 | -webkit-box-direction: normal; | 6621 | -webkit-box-direction: normal; |
6622 | -ms-flex-direction: column; | 6622 | -ms-flex-direction: column; |
6623 | flex-direction: column; | 6623 | flex-direction: column; |
6624 | gap: 20px; | 6624 | gap: 20px; |
6625 | margin-top: 10px; | 6625 | margin-top: 10px; |
6626 | margin-bottom: 20px; | 6626 | margin-bottom: 20px; |
6627 | width: 100%; | 6627 | width: 100%; |
6628 | } | 6628 | } |
6629 | @media (min-width: 768px) { | 6629 | @media (min-width: 768px) { |
6630 | .modal__sign { | 6630 | .modal__sign { |
6631 | margin-top: 20px; | 6631 | margin-top: 20px; |
6632 | margin-bottom: 40px; | 6632 | margin-bottom: 40px; |
6633 | } | 6633 | } |
6634 | } | 6634 | } |
6635 | .modal__sign-item { | 6635 | .modal__sign-item { |
6636 | display: -webkit-box; | 6636 | display: -webkit-box; |
6637 | display: -ms-flexbox; | 6637 | display: -ms-flexbox; |
6638 | display: flex; | 6638 | display: flex; |
6639 | -webkit-box-orient: vertical; | 6639 | -webkit-box-orient: vertical; |
6640 | -webkit-box-direction: normal; | 6640 | -webkit-box-direction: normal; |
6641 | -ms-flex-direction: column; | 6641 | -ms-flex-direction: column; |
6642 | flex-direction: column; | 6642 | flex-direction: column; |
6643 | -webkit-box-align: center; | 6643 | -webkit-box-align: center; |
6644 | -ms-flex-align: center; | 6644 | -ms-flex-align: center; |
6645 | align-items: center; | 6645 | align-items: center; |
6646 | position: relative; | 6646 | position: relative; |
6647 | } | 6647 | } |
6648 | .modal__sign-item > .input { | 6648 | .modal__sign-item > .input { |
6649 | width: 100%; | 6649 | width: 100%; |
6650 | padding-right: 36px; | 6650 | padding-right: 36px; |
6651 | position: relative; | 6651 | position: relative; |
6652 | z-index: 1; | 6652 | z-index: 1; |
6653 | } | 6653 | } |
6654 | @media (min-width: 768px) { | 6654 | @media (min-width: 768px) { |
6655 | .modal__sign-item > .input { | 6655 | .modal__sign-item > .input { |
6656 | height: 52px; | 6656 | height: 52px; |
6657 | padding-right: 60px; | 6657 | padding-right: 60px; |
6658 | } | 6658 | } |
6659 | } | 6659 | } |
6660 | .modal__sign-item > .textarea { | 6660 | .modal__sign-item > .textarea { |
6661 | width: 100%; | 6661 | width: 100%; |
6662 | } | 6662 | } |
6663 | .modal__sign-bottom { | 6663 | .modal__sign-bottom { |
6664 | display: -webkit-box; | 6664 | display: -webkit-box; |
6665 | display: -ms-flexbox; | 6665 | display: -ms-flexbox; |
6666 | display: flex; | 6666 | display: flex; |
6667 | -webkit-box-pack: justify; | 6667 | -webkit-box-pack: justify; |
6668 | -ms-flex-pack: justify; | 6668 | -ms-flex-pack: justify; |
6669 | justify-content: space-between; | 6669 | justify-content: space-between; |
6670 | -webkit-box-align: center; | 6670 | -webkit-box-align: center; |
6671 | -ms-flex-align: center; | 6671 | -ms-flex-align: center; |
6672 | align-items: center; | 6672 | align-items: center; |
6673 | width: 100%; | 6673 | width: 100%; |
6674 | } | 6674 | } |
6675 | .modal__sign-bottom-link { | 6675 | .modal__sign-bottom-link { |
6676 | font-weight: 700; | 6676 | font-weight: 700; |
6677 | color: #377d87; | 6677 | color: #377d87; |
6678 | } | 6678 | } |
6679 | .modal__tabs { | 6679 | .modal__tabs { |
6680 | width: 100%; | 6680 | width: 100%; |
6681 | display: grid; | 6681 | display: grid; |
6682 | grid-template-columns: repeat(2, 1fr); | 6682 | grid-template-columns: repeat(2, 1fr); |
6683 | gap: 16px; | 6683 | gap: 16px; |
6684 | margin-top: 10px; | 6684 | margin-top: 10px; |
6685 | } | 6685 | } |
6686 | @media (min-width: 768px) { | 6686 | @media (min-width: 768px) { |
6687 | .modal__tabs { | 6687 | .modal__tabs { |
6688 | gap: 24px; | 6688 | gap: 24px; |
6689 | margin-top: 20px; | 6689 | margin-top: 20px; |
6690 | } | 6690 | } |
6691 | } | 6691 | } |
6692 | .modal__tabs-item.active { | 6692 | .modal__tabs-item.active { |
6693 | background: #377d87; | 6693 | background: #377d87; |
6694 | color: #fff; | 6694 | color: #fff; |
6695 | } | 6695 | } |
6696 | .modal__reg { | 6696 | .modal__reg { |
6697 | display: none; | 6697 | display: none; |
6698 | -webkit-box-orient: vertical; | 6698 | -webkit-box-orient: vertical; |
6699 | -webkit-box-direction: normal; | 6699 | -webkit-box-direction: normal; |
6700 | -ms-flex-direction: column; | 6700 | -ms-flex-direction: column; |
6701 | flex-direction: column; | 6701 | flex-direction: column; |
6702 | -webkit-box-align: center; | 6702 | -webkit-box-align: center; |
6703 | -ms-flex-align: center; | 6703 | -ms-flex-align: center; |
6704 | align-items: center; | 6704 | align-items: center; |
6705 | gap: 10px; | 6705 | gap: 10px; |
6706 | width: 100%; | 6706 | width: 100%; |
6707 | margin-top: 10px; | 6707 | margin-top: 10px; |
6708 | margin-bottom: 20px; | 6708 | margin-bottom: 20px; |
6709 | } | 6709 | } |
6710 | @media (min-width: 768px) { | 6710 | @media (min-width: 768px) { |
6711 | .modal__reg { | 6711 | .modal__reg { |
6712 | margin-top: 20px; | 6712 | margin-top: 20px; |
6713 | margin-bottom: 30px; | 6713 | margin-bottom: 30px; |
6714 | gap: 20px; | 6714 | gap: 20px; |
6715 | } | 6715 | } |
6716 | } | 6716 | } |
6717 | .modal__reg.showed { | 6717 | .modal__reg.showed { |
6718 | display: -webkit-box; | 6718 | display: -webkit-box; |
6719 | display: -ms-flexbox; | 6719 | display: -ms-flexbox; |
6720 | display: flex; | 6720 | display: flex; |
6721 | } | 6721 | } |
6722 | .modal__reg-item { | 6722 | .modal__reg-item { |
6723 | width: 100%; | 6723 | width: 100%; |
6724 | display: -webkit-box; | 6724 | display: -webkit-box; |
6725 | display: -ms-flexbox; | 6725 | display: -ms-flexbox; |
6726 | display: flex; | 6726 | display: flex; |
6727 | -webkit-box-orient: vertical; | 6727 | -webkit-box-orient: vertical; |
6728 | -webkit-box-direction: normal; | 6728 | -webkit-box-direction: normal; |
6729 | -ms-flex-direction: column; | 6729 | -ms-flex-direction: column; |
6730 | flex-direction: column; | 6730 | flex-direction: column; |
6731 | } | 6731 | } |
6732 | .modal__reg-item > .captcha { | 6732 | .modal__reg-item > .captcha { |
6733 | width: 100%; | 6733 | width: 100%; |
6734 | max-width: 300px; | 6734 | max-width: 300px; |
6735 | } | 6735 | } |
6736 | 6736 | ||
6737 | .messages { | 6737 | .messages { |
6738 | display: -webkit-box; | 6738 | display: -webkit-box; |
6739 | display: -ms-flexbox; | 6739 | display: -ms-flexbox; |
6740 | display: flex; | 6740 | display: flex; |
6741 | -webkit-box-orient: vertical; | 6741 | -webkit-box-orient: vertical; |
6742 | -webkit-box-direction: reverse; | 6742 | -webkit-box-direction: reverse; |
6743 | -ms-flex-direction: column-reverse; | 6743 | -ms-flex-direction: column-reverse; |
6744 | flex-direction: column-reverse; | 6744 | flex-direction: column-reverse; |
6745 | -webkit-box-align: center; | 6745 | -webkit-box-align: center; |
6746 | -ms-flex-align: center; | 6746 | -ms-flex-align: center; |
6747 | align-items: center; | 6747 | align-items: center; |
6748 | gap: 20px; | 6748 | gap: 20px; |
6749 | } | 6749 | } |
6750 | .messages__body { | 6750 | .messages__body { |
6751 | width: 100%; | 6751 | width: 100%; |
6752 | max-height: 800px; | 6752 | max-height: 800px; |
6753 | overflow: auto; | 6753 | overflow: auto; |
6754 | padding: 5px; | 6754 | padding: 5px; |
6755 | } | 6755 | } |
6756 | .messages__item { | 6756 | .messages__item { |
6757 | -webkit-box-align: center; | 6757 | -webkit-box-align: center; |
6758 | -ms-flex-align: center; | 6758 | -ms-flex-align: center; |
6759 | align-items: center; | 6759 | align-items: center; |
6760 | border-radius: 8px; | 6760 | border-radius: 8px; |
6761 | border: 1px solid #e7e7e7; | 6761 | border: 1px solid #e7e7e7; |
6762 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 6762 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
6763 | padding: 0px; | 6763 | padding: 0px; |
6764 | font-size: 12px; | 6764 | font-size: 12px; |
6765 | display: flex; | 6765 | display: flex; |
6766 | justify-content: space-between; | 6766 | justify-content: space-between; |
6767 | margin-bottom: 20px; | 6767 | margin-bottom: 20px; |
6768 | } | 6768 | } |
6769 | @media (min-width: 768px) { | 6769 | @media (min-width: 768px) { |
6770 | .messages__item { | 6770 | .messages__item { |
6771 | font-size: 18px; | 6771 | font-size: 18px; |
6772 | } | 6772 | } |
6773 | } | 6773 | } |
6774 | .messages__item-info { | 6774 | .messages__item-info { |
6775 | display: -webkit-box; | 6775 | display: -webkit-box; |
6776 | display: -ms-flexbox; | 6776 | display: -ms-flexbox; |
6777 | display: flex; | 6777 | display: flex; |
6778 | -webkit-box-align: center; | 6778 | -webkit-box-align: center; |
6779 | -ms-flex-align: center; | 6779 | -ms-flex-align: center; |
6780 | align-items: center; | 6780 | align-items: center; |
6781 | width: calc(100% - 90px); | 6781 | width: calc(100% - 90px); |
6782 | padding: 20px; | 6782 | padding: 20px; |
6783 | } | 6783 | } |
6784 | @media (min-width: 768px) { | 6784 | @media (min-width: 768px) { |
6785 | .messages__item-info { | 6785 | .messages__item-info { |
6786 | width: calc(100% - 150px); | 6786 | width: calc(100% - 150px); |
6787 | } | 6787 | } |
6788 | } | 6788 | } |
6789 | .messages__item-photo { | 6789 | .messages__item-photo { |
6790 | position: relative; | 6790 | position: relative; |
6791 | aspect-ratio: 1/1; | 6791 | aspect-ratio: 1/1; |
6792 | overflow: hidden; | 6792 | overflow: hidden; |
6793 | background: #9c9d9d; | 6793 | background: #9c9d9d; |
6794 | color: #fff; | 6794 | color: #fff; |
6795 | width: 36px; | 6795 | width: 36px; |
6796 | border-radius: 6px; | 6796 | border-radius: 6px; |
6797 | display: -webkit-box; | 6797 | display: -webkit-box; |
6798 | display: -ms-flexbox; | 6798 | display: -ms-flexbox; |
6799 | display: flex; | 6799 | display: flex; |
6800 | -webkit-box-pack: center; | 6800 | -webkit-box-pack: center; |
6801 | -ms-flex-pack: center; | 6801 | -ms-flex-pack: center; |
6802 | justify-content: center; | 6802 | justify-content: center; |
6803 | -webkit-box-align: center; | 6803 | -webkit-box-align: center; |
6804 | -ms-flex-align: center; | 6804 | -ms-flex-align: center; |
6805 | align-items: center; | 6805 | align-items: center; |
6806 | } | 6806 | } |
6807 | @media (min-width: 768px) { | 6807 | @media (min-width: 768px) { |
6808 | .messages__item-photo { | 6808 | .messages__item-photo { |
6809 | width: 52px; | 6809 | width: 52px; |
6810 | } | 6810 | } |
6811 | } | 6811 | } |
6812 | .messages__item-photo svg { | 6812 | .messages__item-photo svg { |
6813 | width: 50%; | 6813 | width: 50%; |
6814 | position: relative; | 6814 | position: relative; |
6815 | z-index: 1; | 6815 | z-index: 1; |
6816 | } | 6816 | } |
6817 | .messages__item-photo img { | 6817 | .messages__item-photo img { |
6818 | position: absolute; | 6818 | position: absolute; |
6819 | z-index: 2; | 6819 | z-index: 2; |
6820 | top: 0; | 6820 | top: 0; |
6821 | left: 0; | 6821 | left: 0; |
6822 | width: 100%; | 6822 | width: 100%; |
6823 | height: 100%; | 6823 | height: 100%; |
6824 | -o-object-fit: cover; | 6824 | -o-object-fit: cover; |
6825 | object-fit: cover; | 6825 | object-fit: cover; |
6826 | } | 6826 | } |
6827 | .messages__item-text { | 6827 | .messages__item-text { |
6828 | width: calc(100% - 36px); | 6828 | width: calc(100% - 36px); |
6829 | padding-left: 6px; | 6829 | padding-left: 6px; |
6830 | color: #000; | 6830 | color: #000; |
6831 | display: -webkit-box; | 6831 | display: -webkit-box; |
6832 | display: -ms-flexbox; | 6832 | display: -ms-flexbox; |
6833 | display: flex; | 6833 | display: flex; |
6834 | -webkit-box-orient: vertical; | 6834 | -webkit-box-orient: vertical; |
6835 | -webkit-box-direction: normal; | 6835 | -webkit-box-direction: normal; |
6836 | -ms-flex-direction: column; | 6836 | -ms-flex-direction: column; |
6837 | flex-direction: column; | 6837 | flex-direction: column; |
6838 | gap: 4px; | 6838 | gap: 4px; |
6839 | } | 6839 | } |
6840 | @media (min-width: 768px) { | 6840 | @media (min-width: 768px) { |
6841 | .messages__item-text { | 6841 | .messages__item-text { |
6842 | padding-left: 20px; | 6842 | padding-left: 20px; |
6843 | width: calc(100% - 52px); | 6843 | width: calc(100% - 52px); |
6844 | gap: 8px; | 6844 | gap: 8px; |
6845 | } | 6845 | } |
6846 | } | 6846 | } |
6847 | .messages__item-text span { | 6847 | .messages__item-text span { |
6848 | color: #000; | 6848 | color: #000; |
6849 | } | 6849 | } |
6850 | .messages__item-actions{ | 6850 | .messages__item-actions{ |
6851 | padding: 20px; | 6851 | padding: 20px; |
6852 | } | 6852 | } |
6853 | .messages__item-buttons{ | 6853 | .messages__item-buttons{ |
6854 | float: right; | 6854 | float: right; |
6855 | display: flex; | 6855 | display: flex; |
6856 | align-items: center; | 6856 | align-items: center; |
6857 | } | 6857 | } |
6858 | .messages__item-buttons button{ | 6858 | .messages__item-buttons button{ |
6859 | padding: 0; | 6859 | padding: 0; |
6860 | background: unset; | 6860 | background: unset; |
6861 | border: unset; | 6861 | border: unset; |
6862 | } | 6862 | } |
6863 | .messages__item-buttons button svg{ | 6863 | .messages__item-buttons button svg{ |
6864 | width: 25px; | 6864 | width: 25px; |
6865 | height: 25px; | 6865 | height: 25px; |
6866 | color: gray; | 6866 | color: gray; |
6867 | } | 6867 | } |
6868 | .messages__item-buttons button svg path{ | 6868 | .messages__item-buttons button svg path{ |
6869 | stroke: gray; | 6869 | stroke: gray; |
6870 | } | 6870 | } |
6871 | .messages__item-buttons button:hover svg{ | 6871 | .messages__item-buttons button:hover svg{ |
6872 | color: black; | 6872 | color: black; |
6873 | } | 6873 | } |
6874 | .messages__item-buttons button:hover svg path{ | 6874 | .messages__item-buttons button:hover svg path{ |
6875 | stroke: black; | 6875 | stroke: black; |
6876 | } | 6876 | } |
6877 | .messages__item-buttons button.pin-on:hover svg#pin_off path{ | 6877 | .messages__item-buttons button.pin-on:hover svg#pin_off path{ |
6878 | fill: black; | 6878 | fill: black; |
6879 | } | 6879 | } |
6880 | .messages__item-buttons button.pin-on svg{ | 6880 | .messages__item-buttons button.pin-on svg{ |
6881 | fill: gray; | 6881 | fill: gray; |
6882 | } | 6882 | } |
6883 | .messages__item-date { | 6883 | .messages__item-date { |
6884 | color: #00000070; | 6884 | color: #00000070; |
6885 | width: 90px; | 6885 | width: 90px; |
6886 | text-align: right; | 6886 | text-align: right; |
6887 | font-size: 14px; | 6887 | font-size: 14px; |
6888 | margin-bottom: 8px; | 6888 | margin-bottom: 8px; |
6889 | } | 6889 | } |
6890 | 6890 | ||
6891 | .messages.active .messages__item { | 6891 | .messages.active .messages__item { |
6892 | display: -webkit-box; | 6892 | display: -webkit-box; |
6893 | display: -ms-flexbox; | 6893 | display: -ms-flexbox; |
6894 | display: flex; | 6894 | display: flex; |
6895 | } | 6895 | } |
6896 | 6896 | ||
6897 | .responses { | 6897 | .responses { |
6898 | display: -webkit-box; | 6898 | display: -webkit-box; |
6899 | display: -ms-flexbox; | 6899 | display: -ms-flexbox; |
6900 | display: flex; | 6900 | display: flex; |
6901 | -webkit-box-orient: vertical; | 6901 | -webkit-box-orient: vertical; |
6902 | -webkit-box-direction: reverse; | 6902 | -webkit-box-direction: reverse; |
6903 | -ms-flex-direction: column-reverse; | 6903 | -ms-flex-direction: column-reverse; |
6904 | flex-direction: column-reverse; | 6904 | flex-direction: column-reverse; |
6905 | -webkit-box-align: center; | 6905 | -webkit-box-align: center; |
6906 | -ms-flex-align: center; | 6906 | -ms-flex-align: center; |
6907 | align-items: center; | 6907 | align-items: center; |
6908 | gap: 20px; | 6908 | gap: 20px; |
6909 | } | 6909 | } |
6910 | .responses__body { | 6910 | .responses__body { |
6911 | width: 100%; | 6911 | width: 100%; |
6912 | display: -webkit-box; | 6912 | display: -webkit-box; |
6913 | display: -ms-flexbox; | 6913 | display: -ms-flexbox; |
6914 | display: flex; | 6914 | display: flex; |
6915 | -webkit-box-orient: vertical; | 6915 | -webkit-box-orient: vertical; |
6916 | -webkit-box-direction: normal; | 6916 | -webkit-box-direction: normal; |
6917 | -ms-flex-direction: column; | 6917 | -ms-flex-direction: column; |
6918 | flex-direction: column; | 6918 | flex-direction: column; |
6919 | gap: 20px; | 6919 | gap: 20px; |
6920 | } | 6920 | } |
6921 | .responses__item { | 6921 | .responses__item { |
6922 | display: none; | 6922 | display: none; |
6923 | -webkit-box-orient: vertical; | 6923 | -webkit-box-orient: vertical; |
6924 | -webkit-box-direction: normal; | 6924 | -webkit-box-direction: normal; |
6925 | -ms-flex-direction: column; | 6925 | -ms-flex-direction: column; |
6926 | flex-direction: column; | 6926 | flex-direction: column; |
6927 | gap: 20px; | 6927 | gap: 20px; |
6928 | border-radius: 8px; | 6928 | border-radius: 8px; |
6929 | border: 1px solid #e7e7e7; | 6929 | border: 1px solid #e7e7e7; |
6930 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 6930 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
6931 | padding: 20px 10px; | 6931 | padding: 20px 10px; |
6932 | font-size: 12px; | 6932 | font-size: 12px; |
6933 | position: relative; | 6933 | position: relative; |
6934 | } | 6934 | } |
6935 | @media (min-width: 768px) { | 6935 | @media (min-width: 768px) { |
6936 | .responses__item { | 6936 | .responses__item { |
6937 | padding: 20px; | 6937 | padding: 20px; |
6938 | font-size: 16px; | 6938 | font-size: 16px; |
6939 | } | 6939 | } |
6940 | } | 6940 | } |
6941 | .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) { | 6941 | .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 | display: -webkit-box; | 6942 | display: -webkit-box; |
6943 | display: -ms-flexbox; | 6943 | display: -ms-flexbox; |
6944 | display: flex; | 6944 | display: flex; |
6945 | } | 6945 | } |
6946 | .responses__item-date { | 6946 | .responses__item-date { |
6947 | color: #000; | 6947 | color: #000; |
6948 | } | 6948 | } |
6949 | @media (min-width: 992px) { | 6949 | @media (min-width: 992px) { |
6950 | .responses__item-date { | 6950 | .responses__item-date { |
6951 | position: absolute; | 6951 | position: absolute; |
6952 | top: 20px; | 6952 | top: 20px; |
6953 | right: 20px; | 6953 | right: 20px; |
6954 | } | 6954 | } |
6955 | } | 6955 | } |
6956 | .responses__item-wrapper { | 6956 | .responses__item-wrapper { |
6957 | display: -webkit-box; | 6957 | display: -webkit-box; |
6958 | display: -ms-flexbox; | 6958 | display: -ms-flexbox; |
6959 | display: flex; | 6959 | display: flex; |
6960 | -webkit-box-orient: vertical; | 6960 | -webkit-box-orient: vertical; |
6961 | -webkit-box-direction: normal; | 6961 | -webkit-box-direction: normal; |
6962 | -ms-flex-direction: column; | 6962 | -ms-flex-direction: column; |
6963 | flex-direction: column; | 6963 | flex-direction: column; |
6964 | gap: 20px; | 6964 | gap: 20px; |
6965 | } | 6965 | } |
6966 | .responses__item-inner { | 6966 | .responses__item-inner { |
6967 | display: -webkit-box; | 6967 | display: -webkit-box; |
6968 | display: -ms-flexbox; | 6968 | display: -ms-flexbox; |
6969 | display: flex; | 6969 | display: flex; |
6970 | -webkit-box-orient: vertical; | 6970 | -webkit-box-orient: vertical; |
6971 | -webkit-box-direction: normal; | 6971 | -webkit-box-direction: normal; |
6972 | -ms-flex-direction: column; | 6972 | -ms-flex-direction: column; |
6973 | flex-direction: column; | 6973 | flex-direction: column; |
6974 | gap: 10px; | 6974 | gap: 10px; |
6975 | } | 6975 | } |
6976 | @media (min-width: 768px) { | 6976 | @media (min-width: 768px) { |
6977 | .responses__item-inner { | 6977 | .responses__item-inner { |
6978 | gap: 20px; | 6978 | gap: 20px; |
6979 | } | 6979 | } |
6980 | } | 6980 | } |
6981 | @media (min-width: 1280px) { | 6981 | @media (min-width: 1280px) { |
6982 | .responses__item-inner { | 6982 | .responses__item-inner { |
6983 | width: calc(100% - 150px); | 6983 | width: calc(100% - 150px); |
6984 | } | 6984 | } |
6985 | } | 6985 | } |
6986 | .responses__item-row { | 6986 | .responses__item-row { |
6987 | display: grid; | 6987 | display: grid; |
6988 | grid-template-columns: 1fr 1fr; | 6988 | grid-template-columns: 1fr 1fr; |
6989 | gap: 20px; | 6989 | gap: 20px; |
6990 | color: #000; | 6990 | color: #000; |
6991 | text-align: right; | 6991 | text-align: right; |
6992 | } | 6992 | } |
6993 | @media (min-width: 992px) { | 6993 | @media (min-width: 992px) { |
6994 | .responses__item-row { | 6994 | .responses__item-row { |
6995 | display: -webkit-box; | 6995 | display: -webkit-box; |
6996 | display: -ms-flexbox; | 6996 | display: -ms-flexbox; |
6997 | display: flex; | 6997 | display: flex; |
6998 | -webkit-box-orient: vertical; | 6998 | -webkit-box-orient: vertical; |
6999 | -webkit-box-direction: normal; | 6999 | -webkit-box-direction: normal; |
7000 | -ms-flex-direction: column; | 7000 | -ms-flex-direction: column; |
7001 | flex-direction: column; | 7001 | flex-direction: column; |
7002 | gap: 6px; | 7002 | gap: 6px; |
7003 | text-align: left; | 7003 | text-align: left; |
7004 | } | 7004 | } |
7005 | } | 7005 | } |
7006 | .responses__item-row span { | 7006 | .responses__item-row span { |
7007 | color: #000; | 7007 | color: #000; |
7008 | text-align: left; | 7008 | text-align: left; |
7009 | } | 7009 | } |
7010 | .responses__item-buttons { | 7010 | .responses__item-buttons { |
7011 | display: -webkit-box; | 7011 | display: -webkit-box; |
7012 | display: -ms-flexbox; | 7012 | display: -ms-flexbox; |
7013 | display: flex; | 7013 | display: flex; |
7014 | -webkit-box-orient: vertical; | 7014 | -webkit-box-orient: vertical; |
7015 | -webkit-box-direction: normal; | 7015 | -webkit-box-direction: normal; |
7016 | -ms-flex-direction: column; | 7016 | -ms-flex-direction: column; |
7017 | flex-direction: column; | 7017 | flex-direction: column; |
7018 | gap: 10px; | 7018 | gap: 10px; |
7019 | } | 7019 | } |
7020 | @media (min-width: 768px) { | 7020 | @media (min-width: 768px) { |
7021 | .responses__item-buttons { | 7021 | .responses__item-buttons { |
7022 | display: grid; | 7022 | display: grid; |
7023 | grid-template-columns: 1fr 1fr; | 7023 | grid-template-columns: 1fr 1fr; |
7024 | } | 7024 | } |
7025 | } | 7025 | } |
7026 | @media (min-width: 1280px) { | 7026 | @media (min-width: 1280px) { |
7027 | .responses__item-buttons { | 7027 | .responses__item-buttons { |
7028 | grid-template-columns: 1fr 1fr 1fr 1fr; | 7028 | grid-template-columns: 1fr 1fr 1fr 1fr; |
7029 | } | 7029 | } |
7030 | } | 7030 | } |
7031 | .responses__item-buttons .button.active { | 7031 | .responses__item-buttons .button.active { |
7032 | background: #377d87; | 7032 | background: #377d87; |
7033 | color: #fff; | 7033 | color: #fff; |
7034 | } | 7034 | } |
7035 | .responses.active .responses__item { | 7035 | .responses.active .responses__item { |
7036 | display: -webkit-box; | 7036 | display: -webkit-box; |
7037 | display: -ms-flexbox; | 7037 | display: -ms-flexbox; |
7038 | display: flex; | 7038 | display: flex; |
7039 | } | 7039 | } |
7040 | 7040 | ||
7041 | .chatbox { | 7041 | .chatbox { |
7042 | display: -webkit-box; | 7042 | display: -webkit-box; |
7043 | display: -ms-flexbox; | 7043 | display: -ms-flexbox; |
7044 | display: flex; | 7044 | display: flex; |
7045 | -webkit-box-orient: vertical; | 7045 | -webkit-box-orient: vertical; |
7046 | -webkit-box-direction: normal; | 7046 | -webkit-box-direction: normal; |
7047 | -ms-flex-direction: column; | 7047 | -ms-flex-direction: column; |
7048 | flex-direction: column; | 7048 | flex-direction: column; |
7049 | gap: 20px; | 7049 | gap: 20px; |
7050 | } | 7050 | } |
7051 | @media (min-width: 768px) { | 7051 | @media (min-width: 768px) { |
7052 | .chatbox { | 7052 | .chatbox { |
7053 | gap: 30px; | 7053 | gap: 30px; |
7054 | } | 7054 | } |
7055 | } | 7055 | } |
7056 | @media (min-width: 1280px) { | 7056 | @media (min-width: 1280px) { |
7057 | .chatbox { | 7057 | .chatbox { |
7058 | gap: 40px; | 7058 | gap: 40px; |
7059 | } | 7059 | } |
7060 | } | 7060 | } |
7061 | .chatbox__toper { | 7061 | .chatbox__toper { |
7062 | display: -webkit-box; | 7062 | display: -webkit-box; |
7063 | display: -ms-flexbox; | 7063 | display: -ms-flexbox; |
7064 | display: flex; | 7064 | display: flex; |
7065 | -webkit-box-orient: vertical; | 7065 | -webkit-box-orient: vertical; |
7066 | -webkit-box-direction: normal; | 7066 | -webkit-box-direction: normal; |
7067 | -ms-flex-direction: column; | 7067 | -ms-flex-direction: column; |
7068 | flex-direction: column; | 7068 | flex-direction: column; |
7069 | gap: 10px; | 7069 | gap: 10px; |
7070 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 7070 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
7071 | border: 1px solid #e7e7e7; | 7071 | border: 1px solid #e7e7e7; |
7072 | border-radius: 8px; | 7072 | border-radius: 8px; |
7073 | padding: 10px; | 7073 | padding: 10px; |
7074 | } | 7074 | } |
7075 | @media (min-width: 768px) { | 7075 | @media (min-width: 768px) { |
7076 | .chatbox__toper { | 7076 | .chatbox__toper { |
7077 | -webkit-box-orient: horizontal; | 7077 | -webkit-box-orient: horizontal; |
7078 | -webkit-box-direction: normal; | 7078 | -webkit-box-direction: normal; |
7079 | -ms-flex-direction: row; | 7079 | -ms-flex-direction: row; |
7080 | flex-direction: row; | 7080 | flex-direction: row; |
7081 | -webkit-box-align: center; | 7081 | -webkit-box-align: center; |
7082 | -ms-flex-align: center; | 7082 | -ms-flex-align: center; |
7083 | align-items: center; | 7083 | align-items: center; |
7084 | -webkit-box-pack: justify; | 7084 | -webkit-box-pack: justify; |
7085 | -ms-flex-pack: justify; | 7085 | -ms-flex-pack: justify; |
7086 | justify-content: space-between; | 7086 | justify-content: space-between; |
7087 | } | 7087 | } |
7088 | } | 7088 | } |
7089 | .chatbox__toper-info { | 7089 | .chatbox__toper-info { |
7090 | font-size: 12px; | 7090 | font-size: 12px; |
7091 | } | 7091 | } |
7092 | @media (min-width: 768px) { | 7092 | @media (min-width: 768px) { |
7093 | .chatbox__toper-info { | 7093 | .chatbox__toper-info { |
7094 | font-size: 16px; | 7094 | font-size: 16px; |
7095 | width: calc(100% - 230px); | 7095 | width: calc(100% - 230px); |
7096 | } | 7096 | } |
7097 | } | 7097 | } |
7098 | @media (min-width: 768px) { | 7098 | @media (min-width: 768px) { |
7099 | .chatbox__toper-button { | 7099 | .chatbox__toper-button { |
7100 | width: 210px; | 7100 | width: 210px; |
7101 | padding: 0; | 7101 | padding: 0; |
7102 | } | 7102 | } |
7103 | } | 7103 | } |
7104 | .chatbox__list { | 7104 | .chatbox__list { |
7105 | display: -webkit-box; | 7105 | display: -webkit-box; |
7106 | display: -ms-flexbox; | 7106 | display: -ms-flexbox; |
7107 | display: flex; | 7107 | display: flex; |
7108 | -webkit-box-orient: vertical; | 7108 | -webkit-box-orient: vertical; |
7109 | -webkit-box-direction: normal; | 7109 | -webkit-box-direction: normal; |
7110 | -ms-flex-direction: column; | 7110 | -ms-flex-direction: column; |
7111 | flex-direction: column; | 7111 | flex-direction: column; |
7112 | gap: 10px; | 7112 | gap: 10px; |
7113 | max-height: 400px; | ||
7114 | overflow: auto; | ||
7113 | } | 7115 | } |
7114 | @media (min-width: 768px) { | 7116 | @media (min-width: 768px) { |
7115 | .chatbox__list { | 7117 | .chatbox__list { |
7116 | gap: 20px; | 7118 | gap: 20px; |
7117 | } | 7119 | } |
7118 | } | 7120 | } |
7119 | @media (min-width: 1280px) { | 7121 | @media (min-width: 1280px) { |
7120 | .chatbox__list { | 7122 | .chatbox__list { |
7121 | gap: 40px; | 7123 | gap: 40px; |
7122 | } | 7124 | } |
7123 | } | 7125 | } |
7124 | .chatbox__item { | 7126 | .chatbox__item { |
7125 | display: -webkit-box; | 7127 | display: -webkit-box; |
7126 | display: -ms-flexbox; | 7128 | display: -ms-flexbox; |
7127 | display: flex; | 7129 | display: flex; |
7128 | -webkit-box-align: start; | 7130 | -webkit-box-align: start; |
7129 | -ms-flex-align: start; | 7131 | -ms-flex-align: start; |
7130 | align-items: flex-start; | 7132 | align-items: flex-start; |
7131 | -webkit-box-pack: justify; | 7133 | -webkit-box-pack: justify; |
7132 | -ms-flex-pack: justify; | 7134 | -ms-flex-pack: justify; |
7133 | justify-content: space-between; | 7135 | justify-content: space-between; |
7134 | -ms-flex-wrap: wrap; | 7136 | -ms-flex-wrap: wrap; |
7135 | flex-wrap: wrap; | 7137 | flex-wrap: wrap; |
7136 | color: #000; | 7138 | color: #000; |
7137 | font-size: 12px; | 7139 | font-size: 12px; |
7138 | } | 7140 | } |
7139 | @media (min-width: 768px) { | 7141 | @media (min-width: 768px) { |
7140 | .chatbox__item { | 7142 | .chatbox__item { |
7141 | font-size: 16px; | 7143 | font-size: 16px; |
7142 | } | 7144 | } |
7143 | } | 7145 | } |
7144 | .chatbox__item_reverse { | 7146 | .chatbox__item_reverse { |
7145 | -webkit-box-orient: horizontal; | 7147 | -webkit-box-orient: horizontal; |
7146 | -webkit-box-direction: reverse; | 7148 | -webkit-box-direction: reverse; |
7147 | -ms-flex-direction: row-reverse; | 7149 | -ms-flex-direction: row-reverse; |
7148 | flex-direction: row-reverse; | 7150 | flex-direction: row-reverse; |
7149 | } | 7151 | } |
7150 | .chatbox__item-photo { | 7152 | .chatbox__item-photo { |
7151 | position: relative; | 7153 | position: relative; |
7152 | aspect-ratio: 1/1; | 7154 | aspect-ratio: 1/1; |
7153 | overflow: hidden; | 7155 | overflow: hidden; |
7154 | background: #9c9d9d; | 7156 | background: #9c9d9d; |
7155 | color: #fff; | 7157 | color: #fff; |
7156 | width: 44px; | 7158 | width: 44px; |
7157 | border-radius: 6px; | 7159 | border-radius: 6px; |
7158 | display: -webkit-box; | 7160 | display: -webkit-box; |
7159 | display: -ms-flexbox; | 7161 | display: -ms-flexbox; |
7160 | display: flex; | 7162 | display: flex; |
7161 | -webkit-box-pack: center; | 7163 | -webkit-box-pack: center; |
7162 | -ms-flex-pack: center; | 7164 | -ms-flex-pack: center; |
7163 | justify-content: center; | 7165 | justify-content: center; |
7164 | -webkit-box-align: center; | 7166 | -webkit-box-align: center; |
7165 | -ms-flex-align: center; | 7167 | -ms-flex-align: center; |
7166 | align-items: center; | 7168 | align-items: center; |
7167 | } | 7169 | } |
7168 | .chatbox__item-photo svg { | 7170 | .chatbox__item-photo svg { |
7169 | width: 50%; | 7171 | width: 50%; |
7170 | position: relative; | 7172 | position: relative; |
7171 | z-index: 1; | 7173 | z-index: 1; |
7172 | } | 7174 | } |
7173 | .chatbox__item-photo img { | 7175 | .chatbox__item-photo img { |
7174 | position: absolute; | 7176 | position: absolute; |
7175 | z-index: 2; | 7177 | z-index: 2; |
7176 | top: 0; | 7178 | top: 0; |
7177 | left: 0; | 7179 | left: 0; |
7178 | width: 100%; | 7180 | width: 100%; |
7179 | height: 100%; | 7181 | height: 100%; |
7180 | -o-object-fit: cover; | 7182 | -o-object-fit: cover; |
7181 | object-fit: cover; | 7183 | object-fit: cover; |
7182 | } | 7184 | } |
7183 | .chatbox__item-body { | 7185 | .chatbox__item-body { |
7184 | width: calc(100% - 54px); | 7186 | width: calc(100% - 54px); |
7185 | display: -webkit-box; | 7187 | display: -webkit-box; |
7186 | display: -ms-flexbox; | 7188 | display: -ms-flexbox; |
7187 | display: flex; | 7189 | display: flex; |
7188 | -webkit-box-orient: vertical; | 7190 | -webkit-box-orient: vertical; |
7189 | -webkit-box-direction: normal; | 7191 | -webkit-box-direction: normal; |
7190 | -ms-flex-direction: column; | 7192 | -ms-flex-direction: column; |
7191 | flex-direction: column; | 7193 | flex-direction: column; |
7192 | -webkit-box-align: start; | 7194 | -webkit-box-align: start; |
7193 | -ms-flex-align: start; | 7195 | -ms-flex-align: start; |
7194 | align-items: flex-start; | 7196 | align-items: flex-start; |
7195 | } | 7197 | } |
7196 | @media (min-width: 768px) { | 7198 | @media (min-width: 768px) { |
7197 | .chatbox__item-body { | 7199 | .chatbox__item-body { |
7198 | width: calc(100% - 60px); | 7200 | width: calc(100% - 60px); |
7199 | } | 7201 | } |
7200 | } | 7202 | } |
7201 | .chatbox__item_reverse .chatbox__item-body { | 7203 | .chatbox__item_reverse .chatbox__item-body { |
7202 | -webkit-box-align: end; | 7204 | -webkit-box-align: end; |
7203 | -ms-flex-align: end; | 7205 | -ms-flex-align: end; |
7204 | align-items: flex-end; | 7206 | align-items: flex-end; |
7205 | } | 7207 | } |
7206 | .chatbox__item-text { | 7208 | .chatbox__item-text { |
7207 | border-radius: 8px; | 7209 | border-radius: 8px; |
7208 | background: #fff; | 7210 | background: #fff; |
7209 | -webkit-box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2); | 7211 | -webkit-box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2); |
7210 | box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2); | 7212 | box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2); |
7211 | padding: 10px; | 7213 | padding: 10px; |
7212 | line-height: 1.6; | 7214 | line-height: 1.6; |
7213 | } | 7215 | } |
7214 | .chatbox__item-time { | 7216 | .chatbox__item-time { |
7215 | width: 100%; | 7217 | width: 100%; |
7216 | padding-left: 54px; | 7218 | padding-left: 54px; |
7217 | margin-top: 10px; | 7219 | margin-top: 10px; |
7218 | color: #9c9d9d; | 7220 | color: #9c9d9d; |
7219 | } | 7221 | } |
7220 | .chatbox__item_reverse .chatbox__item-time { | 7222 | .chatbox__item_reverse .chatbox__item-time { |
7221 | text-align: right; | 7223 | text-align: right; |
7222 | } | 7224 | } |
7223 | .chatbox__bottom { | 7225 | .chatbox__bottom { |
7224 | background: #4d88d9; | 7226 | background: #4d88d9; |
7225 | padding: 10px; | 7227 | padding: 10px; |
7226 | border-radius: 8px; | 7228 | border-radius: 8px; |
7227 | display: -webkit-box; | 7229 | display: -webkit-box; |
7228 | display: -ms-flexbox; | 7230 | display: -ms-flexbox; |
7229 | display: flex; | 7231 | display: flex; |
7230 | -webkit-box-align: center; | 7232 | -webkit-box-align: center; |
7231 | -ms-flex-align: center; | 7233 | -ms-flex-align: center; |
7232 | align-items: center; | 7234 | align-items: center; |
7233 | -webkit-box-pack: justify; | 7235 | -webkit-box-pack: justify; |
7234 | -ms-flex-pack: justify; | 7236 | -ms-flex-pack: justify; |
7235 | justify-content: space-between; | 7237 | justify-content: space-between; |
7236 | } | 7238 | } |
7237 | @media (min-width: 768px) { | 7239 | @media (min-width: 768px) { |
7238 | .chatbox__bottom { | 7240 | .chatbox__bottom { |
7239 | padding: 16px 20px; | 7241 | padding: 16px 20px; |
7240 | } | 7242 | } |
7241 | } | 7243 | } |
7242 | .chatbox__bottom-file { | 7244 | .chatbox__bottom-file { |
7243 | width: 20px; | 7245 | width: 20px; |
7244 | aspect-ratio: 1/1; | 7246 | aspect-ratio: 1/1; |
7245 | display: -webkit-box; | 7247 | display: -webkit-box; |
7246 | display: -ms-flexbox; | 7248 | display: -ms-flexbox; |
7247 | display: flex; | 7249 | display: flex; |
7248 | -webkit-box-pack: center; | 7250 | -webkit-box-pack: center; |
7249 | -ms-flex-pack: center; | 7251 | -ms-flex-pack: center; |
7250 | justify-content: center; | 7252 | justify-content: center; |
7251 | -webkit-box-align: center; | 7253 | -webkit-box-align: center; |
7252 | -ms-flex-align: center; | 7254 | -ms-flex-align: center; |
7253 | align-items: center; | 7255 | align-items: center; |
7254 | background: #fff; | 7256 | background: #fff; |
7255 | color: #4d88d9; | 7257 | color: #4d88d9; |
7256 | border-radius: 8px; | 7258 | border-radius: 8px; |
7257 | } | 7259 | } |
7258 | @media (min-width: 768px) { | 7260 | @media (min-width: 768px) { |
7259 | .chatbox__bottom-file { | 7261 | .chatbox__bottom-file { |
7260 | width: 48px; | 7262 | width: 48px; |
7261 | } | 7263 | } |
7262 | } | 7264 | } |
7263 | .chatbox__bottom-file:hover { | 7265 | .chatbox__bottom-file:hover { |
7264 | color: #377d87; | 7266 | color: #377d87; |
7265 | } | 7267 | } |
7266 | .chatbox__bottom-file input { | 7268 | .chatbox__bottom-file input { |
7267 | display: none; | 7269 | display: none; |
7268 | } | 7270 | } |
7269 | .chatbox__bottom-file svg { | 7271 | .chatbox__bottom-file svg { |
7270 | width: 50%; | 7272 | width: 50%; |
7271 | aspect-ratio: 1/1; | 7273 | aspect-ratio: 1/1; |
7272 | } | 7274 | } |
7273 | @media (min-width: 768px) { | 7275 | @media (min-width: 768px) { |
7274 | .chatbox__bottom-file svg { | 7276 | .chatbox__bottom-file svg { |
7275 | width: 40%; | 7277 | width: 40%; |
7276 | } | 7278 | } |
7277 | } | 7279 | } |
7278 | .chatbox__bottom-text { | 7280 | .chatbox__bottom-text { |
7279 | width: calc(100% - 60px); | 7281 | width: calc(100% - 60px); |
7280 | height: 20px; | 7282 | height: 20px; |
7281 | border-color: #fff; | 7283 | border-color: #fff; |
7282 | } | 7284 | } |
7283 | @media (min-width: 768px) { | 7285 | @media (min-width: 768px) { |
7284 | .chatbox__bottom-text { | 7286 | .chatbox__bottom-text { |
7285 | width: calc(100% - 128px); | 7287 | width: calc(100% - 128px); |
7286 | height: 48px; | 7288 | height: 48px; |
7287 | } | 7289 | } |
7288 | } | 7290 | } |
7289 | .chatbox__bottom-text:focus { | 7291 | .chatbox__bottom-text:focus { |
7290 | border-color: #fff; | 7292 | border-color: #fff; |
7291 | } | 7293 | } |
7292 | .chatbox__bottom-send { | 7294 | .chatbox__bottom-send { |
7293 | width: 20px; | 7295 | width: 20px; |
7294 | aspect-ratio: 1/1; | 7296 | aspect-ratio: 1/1; |
7295 | display: -webkit-box; | 7297 | display: -webkit-box; |
7296 | display: -ms-flexbox; | 7298 | display: -ms-flexbox; |
7297 | display: flex; | 7299 | display: flex; |
7298 | -webkit-box-pack: center; | 7300 | -webkit-box-pack: center; |
7299 | -ms-flex-pack: center; | 7301 | -ms-flex-pack: center; |
7300 | justify-content: center; | 7302 | justify-content: center; |
7301 | -webkit-box-align: center; | 7303 | -webkit-box-align: center; |
7302 | -ms-flex-align: center; | 7304 | -ms-flex-align: center; |
7303 | align-items: center; | 7305 | align-items: center; |
7304 | padding: 0; | 7306 | padding: 0; |
7305 | background: #fff; | 7307 | background: #fff; |
7306 | border: none; | 7308 | border: none; |
7307 | color: #4d88d9; | 7309 | color: #4d88d9; |
7308 | border-radius: 999px; | 7310 | border-radius: 999px; |
7309 | } | 7311 | } |
7310 | @media (min-width: 768px) { | 7312 | @media (min-width: 768px) { |
7311 | .chatbox__bottom-send { | 7313 | .chatbox__bottom-send { |
7312 | width: 48px; | 7314 | width: 48px; |
7313 | } | 7315 | } |
7314 | } | 7316 | } |
7315 | .chatbox__bottom-send:hover { | 7317 | .chatbox__bottom-send:hover { |
7316 | color: #377d87; | 7318 | color: #377d87; |
7317 | } | 7319 | } |
7318 | .chatbox__bottom-send svg { | 7320 | .chatbox__bottom-send svg { |
7319 | width: 50%; | 7321 | width: 50%; |
7320 | aspect-ratio: 1/1; | 7322 | aspect-ratio: 1/1; |
7321 | position: relative; | 7323 | position: relative; |
7322 | left: 1px; | 7324 | left: 1px; |
7323 | } | 7325 | } |
7324 | @media (min-width: 768px) { | 7326 | @media (min-width: 768px) { |
7325 | .chatbox__bottom-send svg { | 7327 | .chatbox__bottom-send svg { |
7326 | width: 40%; | 7328 | width: 40%; |
7327 | left: 2px; | 7329 | left: 2px; |
7328 | } | 7330 | } |
7329 | } | 7331 | } |
7330 | 7332 | ||
7331 | .cvs { | 7333 | .cvs { |
7332 | display: -webkit-box; | 7334 | display: -webkit-box; |
7333 | display: -ms-flexbox; | 7335 | display: -ms-flexbox; |
7334 | display: flex; | 7336 | display: flex; |
7335 | -webkit-box-orient: vertical; | 7337 | -webkit-box-orient: vertical; |
7336 | -webkit-box-direction: reverse; | 7338 | -webkit-box-direction: reverse; |
7337 | -ms-flex-direction: column-reverse; | 7339 | -ms-flex-direction: column-reverse; |
7338 | flex-direction: column-reverse; | 7340 | flex-direction: column-reverse; |
7339 | -webkit-box-align: center; | 7341 | -webkit-box-align: center; |
7340 | -ms-flex-align: center; | 7342 | -ms-flex-align: center; |
7341 | align-items: center; | 7343 | align-items: center; |
7342 | gap: 20px; | 7344 | gap: 20px; |
7343 | } | 7345 | } |
7344 | .cvs__body { | 7346 | .cvs__body { |
7345 | display: -webkit-box; | 7347 | display: -webkit-box; |
7346 | display: -ms-flexbox; | 7348 | display: -ms-flexbox; |
7347 | display: flex; | 7349 | display: flex; |
7348 | -webkit-box-orient: vertical; | 7350 | -webkit-box-orient: vertical; |
7349 | -webkit-box-direction: normal; | 7351 | -webkit-box-direction: normal; |
7350 | -ms-flex-direction: column; | 7352 | -ms-flex-direction: column; |
7351 | flex-direction: column; | 7353 | flex-direction: column; |
7352 | gap: 20px; | 7354 | gap: 20px; |
7353 | width: 100%; | 7355 | width: 100%; |
7354 | } | 7356 | } |
7355 | @media (min-width: 768px) { | 7357 | @media (min-width: 768px) { |
7356 | .cvs__body { | 7358 | .cvs__body { |
7357 | gap: 30px; | 7359 | gap: 30px; |
7358 | } | 7360 | } |
7359 | } | 7361 | } |
7360 | .cvs__item { | 7362 | .cvs__item { |
7361 | display: none; | 7363 | display: none; |
7362 | -webkit-box-orient: vertical; | 7364 | -webkit-box-orient: vertical; |
7363 | -webkit-box-direction: normal; | 7365 | -webkit-box-direction: normal; |
7364 | -ms-flex-direction: column; | 7366 | -ms-flex-direction: column; |
7365 | flex-direction: column; | 7367 | flex-direction: column; |
7366 | gap: 10px; | 7368 | gap: 10px; |
7367 | border-radius: 8px; | 7369 | border-radius: 8px; |
7368 | border: 1px solid #e7e7e7; | 7370 | border: 1px solid #e7e7e7; |
7369 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 7371 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
7370 | padding: 10px; | 7372 | padding: 10px; |
7371 | font-size: 12px; | 7373 | font-size: 12px; |
7372 | position: relative; | 7374 | position: relative; |
7373 | } | 7375 | } |
7374 | @media (min-width: 768px) { | 7376 | @media (min-width: 768px) { |
7375 | .cvs__item { | 7377 | .cvs__item { |
7376 | gap: 0; | 7378 | gap: 0; |
7377 | padding: 20px; | 7379 | padding: 20px; |
7378 | font-size: 16px; | 7380 | font-size: 16px; |
7379 | -webkit-box-orient: horizontal; | 7381 | -webkit-box-orient: horizontal; |
7380 | -webkit-box-direction: normal; | 7382 | -webkit-box-direction: normal; |
7381 | -ms-flex-direction: row; | 7383 | -ms-flex-direction: row; |
7382 | flex-direction: row; | 7384 | flex-direction: row; |
7383 | -webkit-box-align: start; | 7385 | -webkit-box-align: start; |
7384 | -ms-flex-align: start; | 7386 | -ms-flex-align: start; |
7385 | align-items: flex-start; | 7387 | align-items: flex-start; |
7386 | -ms-flex-wrap: wrap; | 7388 | -ms-flex-wrap: wrap; |
7387 | flex-wrap: wrap; | 7389 | flex-wrap: wrap; |
7388 | } | 7390 | } |
7389 | } | 7391 | } |
7390 | .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) { | 7392 | .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) { |
7391 | display: -webkit-box; | 7393 | display: -webkit-box; |
7392 | display: -ms-flexbox; | 7394 | display: -ms-flexbox; |
7393 | display: flex; | 7395 | display: flex; |
7394 | } | 7396 | } |
7395 | .cvs__item-like { | 7397 | .cvs__item-like { |
7396 | width: unset; | 7398 | width: unset; |
7397 | padding: 5px 10px; | 7399 | padding: 5px 10px; |
7398 | margin-right: 10px; | 7400 | margin-right: 10px; |
7399 | } | 7401 | } |
7400 | .cvs__item .cvs__item-buttons .chat{ | 7402 | .cvs__item .cvs__item-buttons .chat{ |
7401 | width: unset; | 7403 | width: unset; |
7402 | padding: 5px 10px; | 7404 | padding: 5px 10px; |
7403 | margin-right: 10px; | 7405 | margin-right: 10px; |
7404 | } | 7406 | } |
7405 | .cvs__item-like.active{ | 7407 | .cvs__item-like.active{ |
7406 | background: #ffffff; | 7408 | background: #ffffff; |
7407 | color: #eb5757; | 7409 | color: #eb5757; |
7408 | } | 7410 | } |
7409 | .cvs__item-like .in-favorites{ | 7411 | .cvs__item-like .in-favorites{ |
7410 | display: none; | 7412 | display: none; |
7411 | } | 7413 | } |
7412 | .cvs__item-like.active .in-favorites{ | 7414 | .cvs__item-like.active .in-favorites{ |
7413 | display: block; | 7415 | display: block; |
7414 | color: #eb5757; | 7416 | color: #eb5757; |
7415 | } | 7417 | } |
7416 | .cvs__item-like.active .to-favorites{ | 7418 | .cvs__item-like.active .to-favorites{ |
7417 | display: none; | 7419 | display: none; |
7418 | } | 7420 | } |
7419 | .cvs__item .cvs__item-header{ | 7421 | .cvs__item .cvs__item-header{ |
7420 | display: flex; | 7422 | display: flex; |
7421 | width: 100%; | 7423 | width: 100%; |
7422 | justify-content: space-between; | 7424 | justify-content: space-between; |
7423 | } | 7425 | } |
7424 | .cvs__item-photo { | 7426 | .cvs__item-photo { |
7425 | position: relative; | 7427 | position: relative; |
7426 | aspect-ratio: 1/1; | 7428 | aspect-ratio: 1/1; |
7427 | overflow: hidden; | 7429 | overflow: hidden; |
7428 | background: #9c9d9d; | 7430 | background: #9c9d9d; |
7429 | color: #fff; | 7431 | color: #fff; |
7430 | width: 36px; | 7432 | width: 36px; |
7431 | border-radius: 6px; | 7433 | border-radius: 6px; |
7432 | display: -webkit-box; | 7434 | display: -webkit-box; |
7433 | display: -ms-flexbox; | 7435 | display: -ms-flexbox; |
7434 | display: flex; | 7436 | display: flex; |
7435 | -webkit-box-pack: center; | 7437 | -webkit-box-pack: center; |
7436 | -ms-flex-pack: center; | 7438 | -ms-flex-pack: center; |
7437 | justify-content: center; | 7439 | justify-content: center; |
7438 | -webkit-box-align: center; | 7440 | -webkit-box-align: center; |
7439 | -ms-flex-align: center; | 7441 | -ms-flex-align: center; |
7440 | align-items: center; | 7442 | align-items: center; |
7441 | } | 7443 | } |
7442 | @media (min-width: 768px) { | 7444 | @media (min-width: 768px) { |
7443 | .cvs__item-photo { | 7445 | .cvs__item-photo { |
7444 | width: 68px; | 7446 | width: 68px; |
7445 | } | 7447 | } |
7446 | } | 7448 | } |
7447 | .cvs__item-photo svg { | 7449 | .cvs__item-photo svg { |
7448 | width: 50%; | 7450 | width: 50%; |
7449 | position: relative; | 7451 | position: relative; |
7450 | z-index: 1; | 7452 | z-index: 1; |
7451 | } | 7453 | } |
7452 | .cvs__item-photo img { | 7454 | .cvs__item-photo img { |
7453 | position: absolute; | 7455 | position: absolute; |
7454 | z-index: 2; | 7456 | z-index: 2; |
7455 | top: 0; | 7457 | top: 0; |
7456 | left: 0; | 7458 | left: 0; |
7457 | width: 100%; | 7459 | width: 100%; |
7458 | height: 100%; | 7460 | height: 100%; |
7459 | -o-object-fit: cover; | 7461 | -o-object-fit: cover; |
7460 | object-fit: cover; | 7462 | object-fit: cover; |
7461 | } | 7463 | } |
7462 | .cvs__item-text { | 7464 | .cvs__item-text { |
7463 | display: -webkit-box; | 7465 | display: -webkit-box; |
7464 | display: -ms-flexbox; | 7466 | display: -ms-flexbox; |
7465 | display: flex; | 7467 | display: flex; |
7466 | -webkit-box-orient: vertical; | 7468 | -webkit-box-orient: vertical; |
7467 | -webkit-box-direction: normal; | 7469 | -webkit-box-direction: normal; |
7468 | -ms-flex-direction: column; | 7470 | -ms-flex-direction: column; |
7469 | flex-direction: column; | 7471 | flex-direction: column; |
7470 | gap: 10px; | 7472 | gap: 10px; |
7471 | width: 100%; | 7473 | width: 100%; |
7472 | margin-top: 30px; | 7474 | margin-top: 30px; |
7473 | } | 7475 | } |
7474 | .cvs__item .cvs__item-buttons{ | 7476 | .cvs__item .cvs__item-buttons{ |
7475 | display: flex; | 7477 | display: flex; |
7476 | align-items: start; | 7478 | align-items: start; |
7477 | } | 7479 | } |
7478 | .cvs.active .cvs__item { | 7480 | .cvs.active .cvs__item { |
7479 | display: -webkit-box; | 7481 | display: -webkit-box; |
7480 | display: -ms-flexbox; | 7482 | display: -ms-flexbox; |
7481 | display: flex; | 7483 | display: flex; |
7482 | } | 7484 | } |
7483 | .cvs__item-text .cvs__item-text-row{ | 7485 | .cvs__item-text .cvs__item-text-row{ |
7484 | display: flex; | 7486 | display: flex; |
7485 | justify-content: space-between; | 7487 | justify-content: space-between; |
7486 | width: 100%; | 7488 | width: 100%; |
7487 | } | 7489 | } |
7488 | .cvs__item-text .cvs__item-text-row > div{ | 7490 | .cvs__item-text .cvs__item-text-row > div{ |
7489 | width: 50%; | 7491 | width: 50%; |
7490 | } | 7492 | } |
7491 | .cvs__item-text .cvs__item-text-row b{ | 7493 | .cvs__item-text .cvs__item-text-row b{ |
7492 | color: #377d87; | 7494 | color: #377d87; |
7493 | font-size: 18px; | 7495 | font-size: 18px; |
7494 | } | 7496 | } |
7495 | .cvs__item-text .cvs__item-text-status { | 7497 | .cvs__item-text .cvs__item-text-status { |
7496 | width: fit-content; | 7498 | width: fit-content; |
7497 | background-color: #e6e6e6; | 7499 | background-color: #e6e6e6; |
7498 | font-weight: bold; | 7500 | font-weight: bold; |
7499 | padding: 5px 10px; | 7501 | padding: 5px 10px; |
7500 | border-radius: 8px; | 7502 | border-radius: 8px; |
7501 | margin-right: 30px; | 7503 | margin-right: 30px; |
7502 | } | 7504 | } |
7503 | .cvs__item-text .cvs__item-text-status.looking-for-job { | 7505 | .cvs__item-text .cvs__item-text-status.looking-for-job { |
7504 | background-color: #eb5757; | 7506 | background-color: #eb5757; |
7505 | color: #fff; | 7507 | color: #fff; |
7506 | } | 7508 | } |
7507 | .cvs__item-text .cvs__item-text-updated-at{ | 7509 | .cvs__item-text .cvs__item-text-updated-at{ |
7508 | padding: 5px 10px; | 7510 | padding: 5px 10px; |
7509 | border-radius: 8px; | 7511 | border-radius: 8px; |
7510 | border: 1px #e6e6e6 solid; | 7512 | border: 1px #e6e6e6 solid; |
7511 | } | 7513 | } |
7512 | .faqs { | 7514 | .faqs { |
7513 | display: -webkit-box; | 7515 | display: -webkit-box; |
7514 | display: -ms-flexbox; | 7516 | display: -ms-flexbox; |
7515 | display: flex; | 7517 | display: flex; |
7516 | -webkit-box-orient: vertical; | 7518 | -webkit-box-orient: vertical; |
7517 | -webkit-box-direction: reverse; | 7519 | -webkit-box-direction: reverse; |
7518 | -ms-flex-direction: column-reverse; | 7520 | -ms-flex-direction: column-reverse; |
7519 | flex-direction: column-reverse; | 7521 | flex-direction: column-reverse; |
7520 | -webkit-box-align: center; | 7522 | -webkit-box-align: center; |
7521 | -ms-flex-align: center; | 7523 | -ms-flex-align: center; |
7522 | align-items: center; | 7524 | align-items: center; |
7523 | gap: 20px; | 7525 | gap: 20px; |
7524 | } | 7526 | } |
7525 | .faqs__body { | 7527 | .faqs__body { |
7526 | display: -webkit-box; | 7528 | display: -webkit-box; |
7527 | display: -ms-flexbox; | 7529 | display: -ms-flexbox; |
7528 | display: flex; | 7530 | display: flex; |
7529 | -webkit-box-orient: vertical; | 7531 | -webkit-box-orient: vertical; |
7530 | -webkit-box-direction: normal; | 7532 | -webkit-box-direction: normal; |
7531 | -ms-flex-direction: column; | 7533 | -ms-flex-direction: column; |
7532 | flex-direction: column; | 7534 | flex-direction: column; |
7533 | gap: 20px; | 7535 | gap: 20px; |
7534 | width: 100%; | 7536 | width: 100%; |
7535 | } | 7537 | } |
7536 | .faqs__item { | 7538 | .faqs__item { |
7537 | display: none; | 7539 | display: none; |
7538 | -webkit-box-orient: vertical; | 7540 | -webkit-box-orient: vertical; |
7539 | -webkit-box-direction: normal; | 7541 | -webkit-box-direction: normal; |
7540 | -ms-flex-direction: column; | 7542 | -ms-flex-direction: column; |
7541 | flex-direction: column; | 7543 | flex-direction: column; |
7542 | border-radius: 8px; | 7544 | border-radius: 8px; |
7543 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 7545 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
7544 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 7546 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
7545 | background: #fff; | 7547 | background: #fff; |
7546 | padding: 10px; | 7548 | padding: 10px; |
7547 | font-size: 12px; | 7549 | font-size: 12px; |
7548 | } | 7550 | } |
7549 | @media (min-width: 768px) { | 7551 | @media (min-width: 768px) { |
7550 | .faqs__item { | 7552 | .faqs__item { |
7551 | padding: 20px; | 7553 | padding: 20px; |
7552 | font-size: 16px; | 7554 | font-size: 16px; |
7553 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 7555 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
7554 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 7556 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
7555 | } | 7557 | } |
7556 | } | 7558 | } |
7557 | .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) { | 7559 | .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) { |
7558 | display: -webkit-box; | 7560 | display: -webkit-box; |
7559 | display: -ms-flexbox; | 7561 | display: -ms-flexbox; |
7560 | display: flex; | 7562 | display: flex; |
7561 | } | 7563 | } |
7562 | .faqs__item-button { | 7564 | .faqs__item-button { |
7563 | background: none; | 7565 | background: none; |
7564 | padding: 0; | 7566 | padding: 0; |
7565 | border: none; | 7567 | border: none; |
7566 | display: -webkit-box; | 7568 | display: -webkit-box; |
7567 | display: -ms-flexbox; | 7569 | display: -ms-flexbox; |
7568 | display: flex; | 7570 | display: flex; |
7569 | -webkit-box-align: center; | 7571 | -webkit-box-align: center; |
7570 | -ms-flex-align: center; | 7572 | -ms-flex-align: center; |
7571 | align-items: center; | 7573 | align-items: center; |
7572 | color: #000; | 7574 | color: #000; |
7573 | text-align: left; | 7575 | text-align: left; |
7574 | font-size: 14px; | 7576 | font-size: 14px; |
7575 | font-weight: 700; | 7577 | font-weight: 700; |
7576 | } | 7578 | } |
7577 | @media (min-width: 768px) { | 7579 | @media (min-width: 768px) { |
7578 | .faqs__item-button { | 7580 | .faqs__item-button { |
7579 | font-size: 20px; | 7581 | font-size: 20px; |
7580 | } | 7582 | } |
7581 | } | 7583 | } |
7582 | .faqs__item-button span { | 7584 | .faqs__item-button span { |
7583 | width: calc(100% - 16px); | 7585 | width: calc(100% - 16px); |
7584 | padding-right: 16px; | 7586 | padding-right: 16px; |
7585 | } | 7587 | } |
7586 | .faqs__item-button i { | 7588 | .faqs__item-button i { |
7587 | display: -webkit-box; | 7589 | display: -webkit-box; |
7588 | display: -ms-flexbox; | 7590 | display: -ms-flexbox; |
7589 | display: flex; | 7591 | display: flex; |
7590 | -webkit-box-pack: center; | 7592 | -webkit-box-pack: center; |
7591 | -ms-flex-pack: center; | 7593 | -ms-flex-pack: center; |
7592 | justify-content: center; | 7594 | justify-content: center; |
7593 | -webkit-box-align: center; | 7595 | -webkit-box-align: center; |
7594 | -ms-flex-align: center; | 7596 | -ms-flex-align: center; |
7595 | align-items: center; | 7597 | align-items: center; |
7596 | width: 16px; | 7598 | width: 16px; |
7597 | aspect-ratio: 1/1; | 7599 | aspect-ratio: 1/1; |
7598 | color: #377d87; | 7600 | color: #377d87; |
7599 | -webkit-transition: 0.3s; | 7601 | -webkit-transition: 0.3s; |
7600 | transition: 0.3s; | 7602 | transition: 0.3s; |
7601 | } | 7603 | } |
7602 | .faqs__item-button i svg { | 7604 | .faqs__item-button i svg { |
7603 | width: 16px; | 7605 | width: 16px; |
7604 | aspect-ratio: 1/1; | 7606 | aspect-ratio: 1/1; |
7605 | -webkit-transform: rotate(90deg); | 7607 | -webkit-transform: rotate(90deg); |
7606 | -ms-transform: rotate(90deg); | 7608 | -ms-transform: rotate(90deg); |
7607 | transform: rotate(90deg); | 7609 | transform: rotate(90deg); |
7608 | } | 7610 | } |
7609 | .faqs__item-button.active i { | 7611 | .faqs__item-button.active i { |
7610 | -webkit-transform: rotate(180deg); | 7612 | -webkit-transform: rotate(180deg); |
7611 | -ms-transform: rotate(180deg); | 7613 | -ms-transform: rotate(180deg); |
7612 | transform: rotate(180deg); | 7614 | transform: rotate(180deg); |
7613 | } | 7615 | } |
7614 | .faqs__item-body { | 7616 | .faqs__item-body { |
7615 | display: -webkit-box; | 7617 | display: -webkit-box; |
7616 | display: -ms-flexbox; | 7618 | display: -ms-flexbox; |
7617 | display: flex; | 7619 | display: flex; |
7618 | -webkit-box-orient: vertical; | 7620 | -webkit-box-orient: vertical; |
7619 | -webkit-box-direction: normal; | 7621 | -webkit-box-direction: normal; |
7620 | -ms-flex-direction: column; | 7622 | -ms-flex-direction: column; |
7621 | flex-direction: column; | 7623 | flex-direction: column; |
7622 | gap: 10px; | 7624 | gap: 10px; |
7623 | opacity: 0; | 7625 | opacity: 0; |
7624 | height: 0; | 7626 | height: 0; |
7625 | overflow: hidden; | 7627 | overflow: hidden; |
7626 | font-size: 12px; | 7628 | font-size: 12px; |
7627 | line-height: 1.4; | 7629 | line-height: 1.4; |
7628 | } | 7630 | } |
7629 | @media (min-width: 768px) { | 7631 | @media (min-width: 768px) { |
7630 | .faqs__item-body { | 7632 | .faqs__item-body { |
7631 | font-size: 16px; | 7633 | font-size: 16px; |
7632 | gap: 20px; | 7634 | gap: 20px; |
7633 | } | 7635 | } |
7634 | } | 7636 | } |
7635 | .faqs__item-body p { | 7637 | .faqs__item-body p { |
7636 | margin: 0; | 7638 | margin: 0; |
7637 | } | 7639 | } |
7638 | .active + .faqs__item-body { | 7640 | .active + .faqs__item-body { |
7639 | opacity: 1; | 7641 | opacity: 1; |
7640 | height: auto; | 7642 | height: auto; |
7641 | -webkit-transition: 0.3s; | 7643 | -webkit-transition: 0.3s; |
7642 | transition: 0.3s; | 7644 | transition: 0.3s; |
7643 | padding-top: 10px; | 7645 | padding-top: 10px; |
7644 | } | 7646 | } |
7645 | @media (min-width: 768px) { | 7647 | @media (min-width: 768px) { |
7646 | .active + .faqs__item-body { | 7648 | .active + .faqs__item-body { |
7647 | padding-top: 20px; | 7649 | padding-top: 20px; |
7648 | } | 7650 | } |
7649 | } | 7651 | } |
7650 | .faqs.active .faqs__item { | 7652 | .faqs.active .faqs__item { |
7651 | display: -webkit-box; | 7653 | display: -webkit-box; |
7652 | display: -ms-flexbox; | 7654 | display: -ms-flexbox; |
7653 | display: flex; | 7655 | display: flex; |
7654 | } | 7656 | } |
7655 | 7657 | ||
7656 | .cabinet { | 7658 | .cabinet { |
7657 | padding: 20px 0; | 7659 | padding: 20px 0; |
7658 | padding-bottom: 40px; | 7660 | padding-bottom: 40px; |
7659 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 7661 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
7660 | } | 7662 | } |
7661 | @media (min-width: 992px) { | 7663 | @media (min-width: 992px) { |
7662 | .cabinet { | 7664 | .cabinet { |
7663 | padding: 30px 0; | 7665 | padding: 30px 0; |
7664 | padding-bottom: 60px; | 7666 | padding-bottom: 60px; |
7665 | } | 7667 | } |
7666 | } | 7668 | } |
7667 | .cabinet__breadcrumbs { | 7669 | .cabinet__breadcrumbs { |
7668 | margin-bottom: 50px; | 7670 | margin-bottom: 50px; |
7669 | } | 7671 | } |
7670 | .cabinet__wrapper { | 7672 | .cabinet__wrapper { |
7671 | display: -webkit-box; | 7673 | display: -webkit-box; |
7672 | display: -ms-flexbox; | 7674 | display: -ms-flexbox; |
7673 | display: flex; | 7675 | display: flex; |
7674 | -webkit-box-orient: vertical; | 7676 | -webkit-box-orient: vertical; |
7675 | -webkit-box-direction: normal; | 7677 | -webkit-box-direction: normal; |
7676 | -ms-flex-direction: column; | 7678 | -ms-flex-direction: column; |
7677 | flex-direction: column; | 7679 | flex-direction: column; |
7678 | } | 7680 | } |
7679 | @media (min-width: 992px) { | 7681 | @media (min-width: 992px) { |
7680 | .cabinet__wrapper { | 7682 | .cabinet__wrapper { |
7681 | -webkit-box-orient: horizontal; | 7683 | -webkit-box-orient: horizontal; |
7682 | -webkit-box-direction: normal; | 7684 | -webkit-box-direction: normal; |
7683 | -ms-flex-direction: row; | 7685 | -ms-flex-direction: row; |
7684 | flex-direction: row; | 7686 | flex-direction: row; |
7685 | -webkit-box-align: start; | 7687 | -webkit-box-align: start; |
7686 | -ms-flex-align: start; | 7688 | -ms-flex-align: start; |
7687 | align-items: flex-start; | 7689 | align-items: flex-start; |
7688 | -webkit-box-pack: justify; | 7690 | -webkit-box-pack: justify; |
7689 | -ms-flex-pack: justify; | 7691 | -ms-flex-pack: justify; |
7690 | justify-content: space-between; | 7692 | justify-content: space-between; |
7691 | } | 7693 | } |
7692 | } | 7694 | } |
7693 | .cabinet__side { | 7695 | .cabinet__side { |
7694 | border-radius: 8px; | 7696 | border-radius: 8px; |
7695 | background: #fff; | 7697 | background: #fff; |
7696 | padding: 20px 10px; | 7698 | padding: 20px 10px; |
7697 | display: -webkit-box; | 7699 | display: -webkit-box; |
7698 | display: -ms-flexbox; | 7700 | display: -ms-flexbox; |
7699 | display: flex; | 7701 | display: flex; |
7700 | -webkit-box-orient: vertical; | 7702 | -webkit-box-orient: vertical; |
7701 | -webkit-box-direction: normal; | 7703 | -webkit-box-direction: normal; |
7702 | -ms-flex-direction: column; | 7704 | -ms-flex-direction: column; |
7703 | flex-direction: column; | 7705 | flex-direction: column; |
7704 | gap: 30px; | 7706 | gap: 30px; |
7705 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 7707 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
7706 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 7708 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
7707 | } | 7709 | } |
7708 | @media (min-width: 768px) { | 7710 | @media (min-width: 768px) { |
7709 | .cabinet__side { | 7711 | .cabinet__side { |
7710 | padding: 30px 20px; | 7712 | padding: 30px 20px; |
7711 | margin-bottom: 50px; | 7713 | margin-bottom: 50px; |
7712 | } | 7714 | } |
7713 | } | 7715 | } |
7714 | @media (min-width: 992px) { | 7716 | @media (min-width: 992px) { |
7715 | .cabinet__side { | 7717 | .cabinet__side { |
7716 | width: 340px; | 7718 | width: 340px; |
7717 | margin: 0; | 7719 | margin: 0; |
7718 | position: sticky; | 7720 | position: sticky; |
7719 | top: 6px; | 7721 | top: 6px; |
7720 | } | 7722 | } |
7721 | } | 7723 | } |
7722 | @media (min-width: 1280px) { | 7724 | @media (min-width: 1280px) { |
7723 | .cabinet__side { | 7725 | .cabinet__side { |
7724 | width: 400px; | 7726 | width: 400px; |
7725 | } | 7727 | } |
7726 | } | 7728 | } |
7727 | .cabinet__side-item { | 7729 | .cabinet__side-item { |
7728 | display: -webkit-box; | 7730 | display: -webkit-box; |
7729 | display: -ms-flexbox; | 7731 | display: -ms-flexbox; |
7730 | display: flex; | 7732 | display: flex; |
7731 | -webkit-box-orient: vertical; | 7733 | -webkit-box-orient: vertical; |
7732 | -webkit-box-direction: normal; | 7734 | -webkit-box-direction: normal; |
7733 | -ms-flex-direction: column; | 7735 | -ms-flex-direction: column; |
7734 | flex-direction: column; | 7736 | flex-direction: column; |
7735 | gap: 20px; | 7737 | gap: 20px; |
7736 | } | 7738 | } |
7737 | .cabinet__side-toper { | 7739 | .cabinet__side-toper { |
7738 | display: -webkit-box; | 7740 | display: -webkit-box; |
7739 | display: -ms-flexbox; | 7741 | display: -ms-flexbox; |
7740 | display: flex; | 7742 | display: flex; |
7741 | -webkit-box-align: center; | 7743 | -webkit-box-align: center; |
7742 | -ms-flex-align: center; | 7744 | -ms-flex-align: center; |
7743 | align-items: center; | 7745 | align-items: center; |
7744 | } | 7746 | } |
7745 | .cabinet__side-toper-pic { | 7747 | .cabinet__side-toper-pic { |
7746 | width: 70px; | 7748 | width: 70px; |
7747 | aspect-ratio: 1/1; | 7749 | aspect-ratio: 1/1; |
7748 | overflow: hidden; | 7750 | overflow: hidden; |
7749 | border-radius: 8px; | 7751 | border-radius: 8px; |
7750 | color: #fff; | 7752 | color: #fff; |
7751 | background: #9c9d9d; | 7753 | background: #9c9d9d; |
7752 | display: -webkit-box; | 7754 | display: -webkit-box; |
7753 | display: -ms-flexbox; | 7755 | display: -ms-flexbox; |
7754 | display: flex; | 7756 | display: flex; |
7755 | -webkit-box-align: center; | 7757 | -webkit-box-align: center; |
7756 | -ms-flex-align: center; | 7758 | -ms-flex-align: center; |
7757 | align-items: center; | 7759 | align-items: center; |
7758 | -webkit-box-pack: center; | 7760 | -webkit-box-pack: center; |
7759 | -ms-flex-pack: center; | 7761 | -ms-flex-pack: center; |
7760 | justify-content: center; | 7762 | justify-content: center; |
7761 | position: relative; | 7763 | position: relative; |
7762 | } | 7764 | } |
7763 | .cabinet__side-toper-pic img { | 7765 | .cabinet__side-toper-pic img { |
7764 | width: 100%; | 7766 | width: 100%; |
7765 | height: 100%; | 7767 | height: 100%; |
7766 | -o-object-fit: cover; | 7768 | -o-object-fit: cover; |
7767 | object-fit: cover; | 7769 | object-fit: cover; |
7768 | position: absolute; | 7770 | position: absolute; |
7769 | z-index: 2; | 7771 | z-index: 2; |
7770 | top: 0; | 7772 | top: 0; |
7771 | left: 0; | 7773 | left: 0; |
7772 | aspect-ratio: 1/1; | 7774 | aspect-ratio: 1/1; |
7773 | -o-object-fit: contain; | 7775 | -o-object-fit: contain; |
7774 | object-fit: contain; | 7776 | object-fit: contain; |
7775 | } | 7777 | } |
7776 | .cabinet__side-toper-pic svg { | 7778 | .cabinet__side-toper-pic svg { |
7777 | width: 50%; | 7779 | width: 50%; |
7778 | aspect-ratio: 1/1; | 7780 | aspect-ratio: 1/1; |
7779 | } | 7781 | } |
7780 | .cabinet__side-toper b { | 7782 | .cabinet__side-toper b { |
7781 | width: calc(100% - 70px); | 7783 | width: calc(100% - 70px); |
7782 | font-size: 14px; | 7784 | font-size: 14px; |
7783 | font-weight: 700; | 7785 | font-weight: 700; |
7784 | padding-left: 16px; | 7786 | padding-left: 16px; |
7785 | } | 7787 | } |
7786 | @media (min-width: 768px) { | 7788 | @media (min-width: 768px) { |
7787 | .cabinet__side-toper b { | 7789 | .cabinet__side-toper b { |
7788 | font-size: 20px; | 7790 | font-size: 20px; |
7789 | } | 7791 | } |
7790 | } | 7792 | } |
7791 | .cabinet__menu { | 7793 | .cabinet__menu { |
7792 | display: -webkit-box; | 7794 | display: -webkit-box; |
7793 | display: -ms-flexbox; | 7795 | display: -ms-flexbox; |
7794 | display: flex; | 7796 | display: flex; |
7795 | -webkit-box-orient: vertical; | 7797 | -webkit-box-orient: vertical; |
7796 | -webkit-box-direction: normal; | 7798 | -webkit-box-direction: normal; |
7797 | -ms-flex-direction: column; | 7799 | -ms-flex-direction: column; |
7798 | flex-direction: column; | 7800 | flex-direction: column; |
7799 | } | 7801 | } |
7800 | .cabinet__menu-toper { | 7802 | .cabinet__menu-toper { |
7801 | display: -webkit-box; | 7803 | display: -webkit-box; |
7802 | display: -ms-flexbox; | 7804 | display: -ms-flexbox; |
7803 | display: flex; | 7805 | display: flex; |
7804 | -webkit-box-align: center; | 7806 | -webkit-box-align: center; |
7805 | -ms-flex-align: center; | 7807 | -ms-flex-align: center; |
7806 | align-items: center; | 7808 | align-items: center; |
7807 | -webkit-box-pack: justify; | 7809 | -webkit-box-pack: justify; |
7808 | -ms-flex-pack: justify; | 7810 | -ms-flex-pack: justify; |
7809 | justify-content: space-between; | 7811 | justify-content: space-between; |
7810 | padding: 0 16px; | 7812 | padding: 0 16px; |
7811 | padding-right: 12px; | 7813 | padding-right: 12px; |
7812 | border: none; | 7814 | border: none; |
7813 | border-radius: 8px; | 7815 | border-radius: 8px; |
7814 | background: #377d87; | 7816 | background: #377d87; |
7815 | color: #fff; | 7817 | color: #fff; |
7816 | } | 7818 | } |
7817 | @media (min-width: 768px) { | 7819 | @media (min-width: 768px) { |
7818 | .cabinet__menu-toper { | 7820 | .cabinet__menu-toper { |
7819 | padding: 0 20px; | 7821 | padding: 0 20px; |
7820 | } | 7822 | } |
7821 | } | 7823 | } |
7822 | @media (min-width: 992px) { | 7824 | @media (min-width: 992px) { |
7823 | .cabinet__menu-toper { | 7825 | .cabinet__menu-toper { |
7824 | display: none; | 7826 | display: none; |
7825 | } | 7827 | } |
7826 | } | 7828 | } |
7827 | .cabinet__menu-toper-text { | 7829 | .cabinet__menu-toper-text { |
7828 | width: calc(100% - 16px); | 7830 | width: calc(100% - 16px); |
7829 | display: -webkit-box; | 7831 | display: -webkit-box; |
7830 | display: -ms-flexbox; | 7832 | display: -ms-flexbox; |
7831 | display: flex; | 7833 | display: flex; |
7832 | -webkit-box-align: center; | 7834 | -webkit-box-align: center; |
7833 | -ms-flex-align: center; | 7835 | -ms-flex-align: center; |
7834 | align-items: center; | 7836 | align-items: center; |
7835 | } | 7837 | } |
7836 | @media (min-width: 768px) { | 7838 | @media (min-width: 768px) { |
7837 | .cabinet__menu-toper-text { | 7839 | .cabinet__menu-toper-text { |
7838 | width: calc(100% - 20px); | 7840 | width: calc(100% - 20px); |
7839 | } | 7841 | } |
7840 | } | 7842 | } |
7841 | .cabinet__menu-toper-text i { | 7843 | .cabinet__menu-toper-text i { |
7842 | width: 16px; | 7844 | width: 16px; |
7843 | height: 16px; | 7845 | height: 16px; |
7844 | display: -webkit-box; | 7846 | display: -webkit-box; |
7845 | display: -ms-flexbox; | 7847 | display: -ms-flexbox; |
7846 | display: flex; | 7848 | display: flex; |
7847 | -webkit-box-align: center; | 7849 | -webkit-box-align: center; |
7848 | -ms-flex-align: center; | 7850 | -ms-flex-align: center; |
7849 | align-items: center; | 7851 | align-items: center; |
7850 | -webkit-box-pack: center; | 7852 | -webkit-box-pack: center; |
7851 | -ms-flex-pack: center; | 7853 | -ms-flex-pack: center; |
7852 | justify-content: center; | 7854 | justify-content: center; |
7853 | } | 7855 | } |
7854 | @media (min-width: 768px) { | 7856 | @media (min-width: 768px) { |
7855 | .cabinet__menu-toper-text i { | 7857 | .cabinet__menu-toper-text i { |
7856 | width: 22px; | 7858 | width: 22px; |
7857 | height: 22px; | 7859 | height: 22px; |
7858 | } | 7860 | } |
7859 | } | 7861 | } |
7860 | .cabinet__menu-toper-text svg { | 7862 | .cabinet__menu-toper-text svg { |
7861 | width: 16px; | 7863 | width: 16px; |
7862 | height: 16px; | 7864 | height: 16px; |
7863 | } | 7865 | } |
7864 | @media (min-width: 768px) { | 7866 | @media (min-width: 768px) { |
7865 | .cabinet__menu-toper-text svg { | 7867 | .cabinet__menu-toper-text svg { |
7866 | width: 22px; | 7868 | width: 22px; |
7867 | height: 22px; | 7869 | height: 22px; |
7868 | } | 7870 | } |
7869 | } | 7871 | } |
7870 | .cabinet__menu-toper-text span { | 7872 | .cabinet__menu-toper-text span { |
7871 | display: -webkit-box; | 7873 | display: -webkit-box; |
7872 | display: -ms-flexbox; | 7874 | display: -ms-flexbox; |
7873 | display: flex; | 7875 | display: flex; |
7874 | -webkit-box-align: center; | 7876 | -webkit-box-align: center; |
7875 | -ms-flex-align: center; | 7877 | -ms-flex-align: center; |
7876 | align-items: center; | 7878 | align-items: center; |
7877 | padding: 0 10px; | 7879 | padding: 0 10px; |
7878 | min-height: 30px; | 7880 | min-height: 30px; |
7879 | font-size: 12px; | 7881 | font-size: 12px; |
7880 | width: calc(100% - 16px); | 7882 | width: calc(100% - 16px); |
7881 | } | 7883 | } |
7882 | @media (min-width: 768px) { | 7884 | @media (min-width: 768px) { |
7883 | .cabinet__menu-toper-text span { | 7885 | .cabinet__menu-toper-text span { |
7884 | width: calc(100% - 22px); | 7886 | width: calc(100% - 22px); |
7885 | font-size: 20px; | 7887 | font-size: 20px; |
7886 | min-height: 52px; | 7888 | min-height: 52px; |
7887 | padding: 0 16px; | 7889 | padding: 0 16px; |
7888 | } | 7890 | } |
7889 | } | 7891 | } |
7890 | .cabinet__menu-toper-arrow { | 7892 | .cabinet__menu-toper-arrow { |
7891 | width: 16px; | 7893 | width: 16px; |
7892 | height: 16px; | 7894 | height: 16px; |
7893 | display: -webkit-box; | 7895 | display: -webkit-box; |
7894 | display: -ms-flexbox; | 7896 | display: -ms-flexbox; |
7895 | display: flex; | 7897 | display: flex; |
7896 | -webkit-box-pack: center; | 7898 | -webkit-box-pack: center; |
7897 | -ms-flex-pack: center; | 7899 | -ms-flex-pack: center; |
7898 | justify-content: center; | 7900 | justify-content: center; |
7899 | -webkit-box-align: center; | 7901 | -webkit-box-align: center; |
7900 | -ms-flex-align: center; | 7902 | -ms-flex-align: center; |
7901 | align-items: center; | 7903 | align-items: center; |
7902 | -webkit-transition: 0.3s; | 7904 | -webkit-transition: 0.3s; |
7903 | transition: 0.3s; | 7905 | transition: 0.3s; |
7904 | } | 7906 | } |
7905 | @media (min-width: 768px) { | 7907 | @media (min-width: 768px) { |
7906 | .cabinet__menu-toper-arrow { | 7908 | .cabinet__menu-toper-arrow { |
7907 | width: 20px; | 7909 | width: 20px; |
7908 | height: 20px; | 7910 | height: 20px; |
7909 | } | 7911 | } |
7910 | } | 7912 | } |
7911 | .cabinet__menu-toper-arrow svg { | 7913 | .cabinet__menu-toper-arrow svg { |
7912 | width: 12px; | 7914 | width: 12px; |
7913 | height: 12px; | 7915 | height: 12px; |
7914 | -webkit-transform: rotate(90deg); | 7916 | -webkit-transform: rotate(90deg); |
7915 | -ms-transform: rotate(90deg); | 7917 | -ms-transform: rotate(90deg); |
7916 | transform: rotate(90deg); | 7918 | transform: rotate(90deg); |
7917 | } | 7919 | } |
7918 | @media (min-width: 768px) { | 7920 | @media (min-width: 768px) { |
7919 | .cabinet__menu-toper-arrow svg { | 7921 | .cabinet__menu-toper-arrow svg { |
7920 | width: 20px; | 7922 | width: 20px; |
7921 | height: 20px; | 7923 | height: 20px; |
7922 | } | 7924 | } |
7923 | } | 7925 | } |
7924 | .cabinet__menu-toper.active .cabinet__menu-toper-arrow { | 7926 | .cabinet__menu-toper.active .cabinet__menu-toper-arrow { |
7925 | -webkit-transform: rotate(180deg); | 7927 | -webkit-transform: rotate(180deg); |
7926 | -ms-transform: rotate(180deg); | 7928 | -ms-transform: rotate(180deg); |
7927 | transform: rotate(180deg); | 7929 | transform: rotate(180deg); |
7928 | } | 7930 | } |
7929 | .cabinet__menu-body { | 7931 | .cabinet__menu-body { |
7930 | opacity: 0; | 7932 | opacity: 0; |
7931 | height: 0; | 7933 | height: 0; |
7932 | overflow: hidden; | 7934 | overflow: hidden; |
7933 | display: -webkit-box; | 7935 | display: -webkit-box; |
7934 | display: -ms-flexbox; | 7936 | display: -ms-flexbox; |
7935 | display: flex; | 7937 | display: flex; |
7936 | -webkit-box-orient: vertical; | 7938 | -webkit-box-orient: vertical; |
7937 | -webkit-box-direction: normal; | 7939 | -webkit-box-direction: normal; |
7938 | -ms-flex-direction: column; | 7940 | -ms-flex-direction: column; |
7939 | flex-direction: column; | 7941 | flex-direction: column; |
7940 | } | 7942 | } |
7941 | @media (min-width: 992px) { | 7943 | @media (min-width: 992px) { |
7942 | .cabinet__menu-body { | 7944 | .cabinet__menu-body { |
7943 | opacity: 1; | 7945 | opacity: 1; |
7944 | height: auto; | 7946 | height: auto; |
7945 | } | 7947 | } |
7946 | } | 7948 | } |
7947 | .active + .cabinet__menu-body { | 7949 | .active + .cabinet__menu-body { |
7948 | opacity: 1; | 7950 | opacity: 1; |
7949 | height: auto; | 7951 | height: auto; |
7950 | -webkit-transition: 0.3s; | 7952 | -webkit-transition: 0.3s; |
7951 | transition: 0.3s; | 7953 | transition: 0.3s; |
7952 | } | 7954 | } |
7953 | .cabinet__menu-items { | 7955 | .cabinet__menu-items { |
7954 | display: -webkit-box; | 7956 | display: -webkit-box; |
7955 | display: -ms-flexbox; | 7957 | display: -ms-flexbox; |
7956 | display: flex; | 7958 | display: flex; |
7957 | -webkit-box-orient: vertical; | 7959 | -webkit-box-orient: vertical; |
7958 | -webkit-box-direction: normal; | 7960 | -webkit-box-direction: normal; |
7959 | -ms-flex-direction: column; | 7961 | -ms-flex-direction: column; |
7960 | flex-direction: column; | 7962 | flex-direction: column; |
7961 | } | 7963 | } |
7962 | .cabinet__menu-item { | 7964 | .cabinet__menu-item { |
7963 | padding: 8px 16px; | 7965 | padding: 8px 16px; |
7964 | border-radius: 8px; | 7966 | border-radius: 8px; |
7965 | display: -webkit-box; | 7967 | display: -webkit-box; |
7966 | display: -ms-flexbox; | 7968 | display: -ms-flexbox; |
7967 | display: flex; | 7969 | display: flex; |
7968 | -webkit-box-align: center; | 7970 | -webkit-box-align: center; |
7969 | -ms-flex-align: center; | 7971 | -ms-flex-align: center; |
7970 | align-items: center; | 7972 | align-items: center; |
7971 | } | 7973 | } |
7972 | @media (min-width: 768px) { | 7974 | @media (min-width: 768px) { |
7973 | .cabinet__menu-item { | 7975 | .cabinet__menu-item { |
7974 | padding: 14px 20px; | 7976 | padding: 14px 20px; |
7975 | } | 7977 | } |
7976 | } | 7978 | } |
7977 | .cabinet__menu-item:hover { | 7979 | .cabinet__menu-item:hover { |
7978 | color: #377d87; | 7980 | color: #377d87; |
7979 | } | 7981 | } |
7980 | @media (min-width: 992px) { | 7982 | @media (min-width: 992px) { |
7981 | .cabinet__menu-item.active { | 7983 | .cabinet__menu-item.active { |
7982 | background: #377d87; | 7984 | background: #377d87; |
7983 | color: #fff; | 7985 | color: #fff; |
7984 | } | 7986 | } |
7985 | } | 7987 | } |
7986 | @media (min-width: 992px) { | 7988 | @media (min-width: 992px) { |
7987 | .cabinet__menu-item.active svg { | 7989 | .cabinet__menu-item.active svg { |
7988 | color: #fff; | 7990 | color: #fff; |
7989 | } | 7991 | } |
7990 | } | 7992 | } |
7991 | @media (min-width: 992px) { | 7993 | @media (min-width: 992px) { |
7992 | .cabinet__menu-item.active.red { | 7994 | .cabinet__menu-item.active.red { |
7993 | background: #eb5757; | 7995 | background: #eb5757; |
7994 | } | 7996 | } |
7995 | } | 7997 | } |
7996 | .cabinet__menu-item i { | 7998 | .cabinet__menu-item i { |
7997 | width: 16px; | 7999 | width: 16px; |
7998 | height: 16px; | 8000 | height: 16px; |
7999 | color: #377d87; | 8001 | color: #377d87; |
8000 | } | 8002 | } |
8001 | @media (min-width: 768px) { | 8003 | @media (min-width: 768px) { |
8002 | .cabinet__menu-item i { | 8004 | .cabinet__menu-item i { |
8003 | width: 22px; | 8005 | width: 22px; |
8004 | height: 22px; | 8006 | height: 22px; |
8005 | } | 8007 | } |
8006 | } | 8008 | } |
8007 | .cabinet__menu-item svg { | 8009 | .cabinet__menu-item svg { |
8008 | width: 16px; | 8010 | width: 16px; |
8009 | height: 16px; | 8011 | height: 16px; |
8010 | } | 8012 | } |
8011 | @media (min-width: 768px) { | 8013 | @media (min-width: 768px) { |
8012 | .cabinet__menu-item svg { | 8014 | .cabinet__menu-item svg { |
8013 | width: 22px; | 8015 | width: 22px; |
8014 | height: 22px; | 8016 | height: 22px; |
8015 | } | 8017 | } |
8016 | } | 8018 | } |
8017 | .cabinet__menu-item span { | 8019 | .cabinet__menu-item span { |
8018 | width: calc(100% - 16px); | 8020 | width: calc(100% - 16px); |
8019 | font-size: 12px; | 8021 | font-size: 12px; |
8020 | padding-left: 10px; | 8022 | padding-left: 10px; |
8021 | } | 8023 | } |
8022 | @media (min-width: 768px) { | 8024 | @media (min-width: 768px) { |
8023 | .cabinet__menu-item span { | 8025 | .cabinet__menu-item span { |
8024 | font-size: 20px; | 8026 | font-size: 20px; |
8025 | width: calc(100% - 22px); | 8027 | width: calc(100% - 22px); |
8026 | padding-left: 16px; | 8028 | padding-left: 16px; |
8027 | } | 8029 | } |
8028 | } | 8030 | } |
8029 | .cabinet__menu-bottom { | 8031 | .cabinet__menu-bottom { |
8030 | display: -webkit-box; | 8032 | display: -webkit-box; |
8031 | display: -ms-flexbox; | 8033 | display: -ms-flexbox; |
8032 | display: flex; | 8034 | display: flex; |
8033 | -webkit-box-orient: vertical; | 8035 | -webkit-box-orient: vertical; |
8034 | -webkit-box-direction: normal; | 8036 | -webkit-box-direction: normal; |
8035 | -ms-flex-direction: column; | 8037 | -ms-flex-direction: column; |
8036 | flex-direction: column; | 8038 | flex-direction: column; |
8037 | gap: 10px; | 8039 | gap: 10px; |
8038 | margin-top: 10px; | 8040 | margin-top: 10px; |
8039 | } | 8041 | } |
8040 | @media (min-width: 768px) { | 8042 | @media (min-width: 768px) { |
8041 | .cabinet__menu-bottom { | 8043 | .cabinet__menu-bottom { |
8042 | gap: 20px; | 8044 | gap: 20px; |
8043 | margin-top: 20px; | 8045 | margin-top: 20px; |
8044 | } | 8046 | } |
8045 | } | 8047 | } |
8046 | .cabinet__menu-copy { | 8048 | .cabinet__menu-copy { |
8047 | color: #9c9d9d; | 8049 | color: #9c9d9d; |
8048 | text-align: center; | 8050 | text-align: center; |
8049 | font-size: 12px; | 8051 | font-size: 12px; |
8050 | } | 8052 | } |
8051 | @media (min-width: 768px) { | 8053 | @media (min-width: 768px) { |
8052 | .cabinet__menu-copy { | 8054 | .cabinet__menu-copy { |
8053 | font-size: 16px; | 8055 | font-size: 16px; |
8054 | } | 8056 | } |
8055 | } | 8057 | } |
8056 | .cabinet__body { | 8058 | .cabinet__body { |
8057 | margin: 0 -10px; | 8059 | margin: 0 -10px; |
8058 | margin-top: 50px; | 8060 | margin-top: 50px; |
8059 | background: #fff; | 8061 | background: #fff; |
8060 | padding: 20px 10px; | 8062 | padding: 20px 10px; |
8061 | display: -webkit-box; | 8063 | display: -webkit-box; |
8062 | display: -ms-flexbox; | 8064 | display: -ms-flexbox; |
8063 | display: flex; | 8065 | display: flex; |
8064 | -webkit-box-orient: vertical; | 8066 | -webkit-box-orient: vertical; |
8065 | -webkit-box-direction: normal; | 8067 | -webkit-box-direction: normal; |
8066 | -ms-flex-direction: column; | 8068 | -ms-flex-direction: column; |
8067 | flex-direction: column; | 8069 | flex-direction: column; |
8068 | gap: 30px; | 8070 | gap: 30px; |
8069 | color: #000; | 8071 | color: #000; |
8070 | } | 8072 | } |
8071 | @media (min-width: 768px) { | 8073 | @media (min-width: 768px) { |
8072 | .cabinet__body { | 8074 | .cabinet__body { |
8073 | padding: 30px 20px; | 8075 | padding: 30px 20px; |
8074 | margin: 0; | 8076 | margin: 0; |
8075 | border-radius: 8px; | 8077 | border-radius: 8px; |
8076 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 8078 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
8077 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 8079 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
8078 | } | 8080 | } |
8079 | } | 8081 | } |
8080 | @media (min-width: 992px) { | 8082 | @media (min-width: 992px) { |
8081 | .cabinet__body { | 8083 | .cabinet__body { |
8082 | width: calc(100% - 360px); | 8084 | width: calc(100% - 360px); |
8083 | } | 8085 | } |
8084 | } | 8086 | } |
8085 | @media (min-width: 1280px) { | 8087 | @media (min-width: 1280px) { |
8086 | .cabinet__body { | 8088 | .cabinet__body { |
8087 | width: calc(100% - 420px); | 8089 | width: calc(100% - 420px); |
8088 | } | 8090 | } |
8089 | } | 8091 | } |
8090 | .cabinet__body-item { | 8092 | .cabinet__body-item { |
8091 | display: -webkit-box; | 8093 | display: -webkit-box; |
8092 | display: -ms-flexbox; | 8094 | display: -ms-flexbox; |
8093 | display: flex; | 8095 | display: flex; |
8094 | -webkit-box-orient: vertical; | 8096 | -webkit-box-orient: vertical; |
8095 | -webkit-box-direction: normal; | 8097 | -webkit-box-direction: normal; |
8096 | -ms-flex-direction: column; | 8098 | -ms-flex-direction: column; |
8097 | flex-direction: column; | 8099 | flex-direction: column; |
8098 | gap: 20px; | 8100 | gap: 20px; |
8099 | } | 8101 | } |
8100 | .cabinet__title { | 8102 | .cabinet__title { |
8101 | font-size: 24px; | 8103 | font-size: 24px; |
8102 | margin-bottom: 20px; | 8104 | margin-bottom: 20px; |
8103 | } | 8105 | } |
8104 | @media (min-width: 768px) { | 8106 | @media (min-width: 768px) { |
8105 | .cabinet__title { | 8107 | .cabinet__title { |
8106 | font-size: 32px; | 8108 | font-size: 32px; |
8107 | } | 8109 | } |
8108 | } | 8110 | } |
8109 | @media (min-width: 992px) { | 8111 | @media (min-width: 992px) { |
8110 | .cabinet__title { | 8112 | .cabinet__title { |
8111 | font-size: 40px; | 8113 | font-size: 40px; |
8112 | } | 8114 | } |
8113 | } | 8115 | } |
8114 | .cabinet__subtitle { | 8116 | .cabinet__subtitle { |
8115 | font-size: 22px; | 8117 | font-size: 22px; |
8116 | margin: 0; | 8118 | margin: 0; |
8117 | font-weight: 700; | 8119 | font-weight: 700; |
8118 | color: #000; | 8120 | color: #000; |
8119 | } | 8121 | } |
8120 | @media (min-width: 768px) { | 8122 | @media (min-width: 768px) { |
8121 | .cabinet__subtitle { | 8123 | .cabinet__subtitle { |
8122 | font-size: 24px; | 8124 | font-size: 24px; |
8123 | } | 8125 | } |
8124 | } | 8126 | } |
8125 | .cabinet__h4 { | 8127 | .cabinet__h4 { |
8126 | font-size: 20px; | 8128 | font-size: 20px; |
8127 | margin: 0; | 8129 | margin: 0; |
8128 | font-weight: 700; | 8130 | font-weight: 700; |
8129 | color: #000; | 8131 | color: #000; |
8130 | } | 8132 | } |
8131 | @media (min-width: 768px) { | 8133 | @media (min-width: 768px) { |
8132 | .cabinet__h4 { | 8134 | .cabinet__h4 { |
8133 | font-size: 22px; | 8135 | font-size: 22px; |
8134 | } | 8136 | } |
8135 | } | 8137 | } |
8136 | .cabinet__text { | 8138 | .cabinet__text { |
8137 | margin: 0; | 8139 | margin: 0; |
8138 | font-size: 14px; | 8140 | font-size: 14px; |
8139 | } | 8141 | } |
8140 | @media (min-width: 768px) { | 8142 | @media (min-width: 768px) { |
8141 | .cabinet__text { | 8143 | .cabinet__text { |
8142 | font-size: 16px; | 8144 | font-size: 16px; |
8143 | } | 8145 | } |
8144 | } | 8146 | } |
8145 | .cabinet__text b { | 8147 | .cabinet__text b { |
8146 | color: #000; | 8148 | color: #000; |
8147 | font-size: 18px; | 8149 | font-size: 18px; |
8148 | } | 8150 | } |
8149 | @media (min-width: 768px) { | 8151 | @media (min-width: 768px) { |
8150 | .cabinet__text b { | 8152 | .cabinet__text b { |
8151 | font-size: 24px; | 8153 | font-size: 24px; |
8152 | } | 8154 | } |
8153 | } | 8155 | } |
8154 | .cabinet__descr { | 8156 | .cabinet__descr { |
8155 | display: -webkit-box; | 8157 | display: -webkit-box; |
8156 | display: -ms-flexbox; | 8158 | display: -ms-flexbox; |
8157 | display: flex; | 8159 | display: flex; |
8158 | -webkit-box-orient: vertical; | 8160 | -webkit-box-orient: vertical; |
8159 | -webkit-box-direction: normal; | 8161 | -webkit-box-direction: normal; |
8160 | -ms-flex-direction: column; | 8162 | -ms-flex-direction: column; |
8161 | flex-direction: column; | 8163 | flex-direction: column; |
8162 | gap: 6px; | 8164 | gap: 6px; |
8163 | } | 8165 | } |
8164 | @media (min-width: 768px) { | 8166 | @media (min-width: 768px) { |
8165 | .cabinet__descr { | 8167 | .cabinet__descr { |
8166 | gap: 12px; | 8168 | gap: 12px; |
8167 | } | 8169 | } |
8168 | } | 8170 | } |
8169 | .cabinet__avatar { | 8171 | .cabinet__avatar { |
8170 | display: -webkit-box; | 8172 | display: -webkit-box; |
8171 | display: -ms-flexbox; | 8173 | display: -ms-flexbox; |
8172 | display: flex; | 8174 | display: flex; |
8173 | -webkit-box-align: start; | 8175 | -webkit-box-align: start; |
8174 | -ms-flex-align: start; | 8176 | -ms-flex-align: start; |
8175 | align-items: flex-start; | 8177 | align-items: flex-start; |
8176 | } | 8178 | } |
8177 | @media (min-width: 768px) { | 8179 | @media (min-width: 768px) { |
8178 | .cabinet__avatar { | 8180 | .cabinet__avatar { |
8179 | -webkit-box-align: center; | 8181 | -webkit-box-align: center; |
8180 | -ms-flex-align: center; | 8182 | -ms-flex-align: center; |
8181 | align-items: center; | 8183 | align-items: center; |
8182 | } | 8184 | } |
8183 | } | 8185 | } |
8184 | .cabinet__avatar-pic { | 8186 | .cabinet__avatar-pic { |
8185 | width: 100px; | 8187 | width: 100px; |
8186 | aspect-ratio: 1/1; | 8188 | aspect-ratio: 1/1; |
8187 | position: relative; | 8189 | position: relative; |
8188 | display: -webkit-box; | 8190 | display: -webkit-box; |
8189 | display: -ms-flexbox; | 8191 | display: -ms-flexbox; |
8190 | display: flex; | 8192 | display: flex; |
8191 | -webkit-box-pack: center; | 8193 | -webkit-box-pack: center; |
8192 | -ms-flex-pack: center; | 8194 | -ms-flex-pack: center; |
8193 | justify-content: center; | 8195 | justify-content: center; |
8194 | -webkit-box-align: center; | 8196 | -webkit-box-align: center; |
8195 | -ms-flex-align: center; | 8197 | -ms-flex-align: center; |
8196 | align-items: center; | 8198 | align-items: center; |
8197 | overflow: hidden; | 8199 | overflow: hidden; |
8198 | border-radius: 8px; | 8200 | border-radius: 8px; |
8199 | color: #fff; | 8201 | color: #fff; |
8200 | background: #9c9d9d; | 8202 | background: #9c9d9d; |
8201 | } | 8203 | } |
8202 | .cabinet__avatar-pic svg { | 8204 | .cabinet__avatar-pic svg { |
8203 | width: 50%; | 8205 | width: 50%; |
8204 | aspect-ratio: 1/1; | 8206 | aspect-ratio: 1/1; |
8205 | z-index: 1; | 8207 | z-index: 1; |
8206 | position: relative; | 8208 | position: relative; |
8207 | } | 8209 | } |
8208 | .cabinet__avatar-pic img{ | 8210 | .cabinet__avatar-pic img{ |
8209 | max-width: 100%; | 8211 | max-width: 100%; |
8210 | max-height: 100%; | 8212 | max-height: 100%; |
8211 | } | 8213 | } |
8212 | .cabinet__avatar-form { | 8214 | .cabinet__avatar-form { |
8213 | width: calc(100% - 100px); | 8215 | width: calc(100% - 100px); |
8214 | padding-left: 15px; | 8216 | padding-left: 15px; |
8215 | display: -webkit-box; | 8217 | display: -webkit-box; |
8216 | display: -ms-flexbox; | 8218 | display: -ms-flexbox; |
8217 | display: flex; | 8219 | display: flex; |
8218 | -webkit-box-orient: vertical; | 8220 | -webkit-box-orient: vertical; |
8219 | -webkit-box-direction: normal; | 8221 | -webkit-box-direction: normal; |
8220 | -ms-flex-direction: column; | 8222 | -ms-flex-direction: column; |
8221 | flex-direction: column; | 8223 | flex-direction: column; |
8222 | gap: 6px; | 8224 | gap: 6px; |
8223 | } | 8225 | } |
8224 | .candidate-top-wrapper{ | 8226 | .candidate-top-wrapper{ |
8225 | display: flex; | 8227 | display: flex; |
8226 | } | 8228 | } |
8227 | .candidate-top-wrapper .candidate-thumbnail{ | 8229 | .candidate-top-wrapper .candidate-thumbnail{ |
8228 | width: 100px; | 8230 | width: 100px; |
8229 | height: 100px; | 8231 | height: 100px; |
8230 | min-width: 100px; | 8232 | min-width: 100px; |
8231 | border-radius: 8px; | 8233 | border-radius: 8px; |
8232 | overflow: hidden; | 8234 | overflow: hidden; |
8233 | } | 8235 | } |
8234 | .candidate-top-wrapper .candidate-thumbnail img{ | 8236 | .candidate-top-wrapper .candidate-thumbnail img{ |
8235 | max-height: 100%; | 8237 | max-height: 100%; |
8236 | max-width: 100%; | 8238 | max-width: 100%; |
8237 | } | 8239 | } |
8238 | .candidate-top-wrapper .candidate-information{ | 8240 | .candidate-top-wrapper .candidate-information{ |
8239 | padding-left: 20px; | 8241 | padding-left: 20px; |
8240 | font-size: 21px; | 8242 | font-size: 21px; |
8241 | display: flex; | 8243 | display: flex; |
8242 | align-items: center; | 8244 | align-items: center; |
8243 | } | 8245 | } |
8244 | .candidate-top-wrapper .candidate-information .candidate-title{ | 8246 | .candidate-top-wrapper .candidate-information .candidate-title{ |
8245 | font-size: inherit; | 8247 | font-size: inherit; |
8246 | } | 8248 | } |
8247 | .content-single-candidate .education-detail-description{ | 8249 | .content-single-candidate .education-detail-description{ |
8248 | margin-bottom: 50px; | 8250 | margin-bottom: 50px; |
8249 | text-align: justify; | 8251 | text-align: justify; |
8250 | } | 8252 | } |
8251 | .content-single-candidate .education-detail-description h3.title{ | 8253 | .content-single-candidate .education-detail-description h3.title{ |
8252 | font-size: 18px; | 8254 | font-size: 18px; |
8253 | margin: 0 0 20px; | 8255 | margin: 0 0 20px; |
8254 | } | 8256 | } |
8255 | .content-single-candidate .education-detail-description .inner{ | 8257 | .content-single-candidate .education-detail-description .inner{ |
8256 | font-size: 16px; | 8258 | font-size: 16px; |
8257 | font-weight: 300; | 8259 | font-weight: 300; |
8258 | line-height: 22px; | 8260 | line-height: 22px; |
8259 | color: #77838F; | 8261 | color: #77838F; |
8260 | } | 8262 | } |
8261 | .education-detail-programs h3.title{ | 8263 | .education-detail-programs h3.title{ |
8262 | font-size: 18px; | 8264 | font-size: 18px; |
8263 | margin: 0 0 20px; | 8265 | margin: 0 0 20px; |
8264 | } | 8266 | } |
8265 | .education-detail-programs .accordion{ | 8267 | .education-detail-programs .accordion{ |
8266 | margin: 1rem 0; | 8268 | margin: 1rem 0; |
8267 | padding: 0; | 8269 | padding: 0; |
8268 | list-style: none; | 8270 | list-style: none; |
8269 | border-top: 1px solid #ECEDF2; | 8271 | border-top: 1px solid #ECEDF2; |
8270 | } | 8272 | } |
8271 | .education-detail-programs .accordion.sub{ | 8273 | .education-detail-programs .accordion.sub{ |
8272 | padding-left: 20px; | 8274 | padding-left: 20px; |
8273 | display: none; | 8275 | display: none; |
8274 | } | 8276 | } |
8275 | .education-detail-programs .accordion-item { | 8277 | .education-detail-programs .accordion-item { |
8276 | border-bottom: 1px solid #ECEDF2; | 8278 | border-bottom: 1px solid #ECEDF2; |
8277 | } | 8279 | } |
8278 | .education-detail-programs .accordion-thumb { | 8280 | .education-detail-programs .accordion-thumb { |
8279 | margin: 0; | 8281 | margin: 0; |
8280 | padding: 25px 0; | 8282 | padding: 25px 0; |
8281 | cursor: pointer; | 8283 | cursor: pointer; |
8282 | font-weight: normal; | 8284 | font-weight: normal; |
8283 | color: #0E5C69; | 8285 | color: #0E5C69; |
8284 | font-size: 16px; | 8286 | font-size: 16px; |
8285 | text-transform: uppercase; | 8287 | text-transform: uppercase; |
8286 | } | 8288 | } |
8287 | .education-detail-programs .accordion-thumb::after { | 8289 | .education-detail-programs .accordion-thumb::after { |
8288 | content: ""; | 8290 | content: ""; |
8289 | display: block; | 8291 | display: block; |
8290 | float: right; | 8292 | float: right; |
8291 | position: relative; | 8293 | position: relative; |
8292 | top: 6px; | 8294 | top: 6px; |
8293 | height: 7px; | 8295 | height: 7px; |
8294 | width: 7px; | 8296 | width: 7px; |
8295 | margin-right: 1rem; | 8297 | margin-right: 1rem; |
8296 | margin-left: 0.5rem; | 8298 | margin-left: 0.5rem; |
8297 | border-right: 1px solid; | 8299 | border-right: 1px solid; |
8298 | border-bottom: 1px solid; | 8300 | border-bottom: 1px solid; |
8299 | border-color: #828A96; | 8301 | border-color: #828A96; |
8300 | transform: rotate(-45deg); | 8302 | transform: rotate(-45deg); |
8301 | transition: transform 0.2s ease-out; | 8303 | transition: transform 0.2s ease-out; |
8302 | } | 8304 | } |
8303 | .education-detail-programs .accordion-item .accordion-thumb.ui-state-active::after { | 8305 | .education-detail-programs .accordion-item .accordion-thumb.ui-state-active::after { |
8304 | transform: rotate(45deg); | 8306 | transform: rotate(45deg); |
8305 | } | 8307 | } |
8306 | .accordion-sub .accordion-panel{ | 8308 | .accordion-sub .accordion-panel{ |
8307 | display: none; | 8309 | display: none; |
8308 | } | 8310 | } |
8309 | .accordion > .accordion-item > .accordion-panel{ | 8311 | .accordion > .accordion-item > .accordion-panel{ |
8310 | opacity: 1; | 8312 | opacity: 1; |
8311 | } | 8313 | } |
8312 | .accordion-sub li{ | 8314 | .accordion-sub li{ |
8313 | list-style-type: none; | 8315 | list-style-type: none; |
8314 | } | 8316 | } |
8315 | .accordion-sub .accordion-item .accordion-panel{ | 8317 | .accordion-sub .accordion-item .accordion-panel{ |
8316 | white-space: pre-wrap; | 8318 | white-space: pre-wrap; |
8317 | white-space: -moz-pre-wrap; | 8319 | white-space: -moz-pre-wrap; |
8318 | white-space: -o-pre-wrap; | 8320 | white-space: -o-pre-wrap; |
8319 | } | 8321 | } |
8320 | .accordion-sub li:last-child { | 8322 | .accordion-sub li:last-child { |
8321 | border-bottom: unset; | 8323 | border-bottom: unset; |
8322 | } | 8324 | } |
8323 | .education-detail-contacts{ | 8325 | .education-detail-contacts{ |
8324 | margin-top: 50px; | 8326 | margin-top: 50px; |
8325 | } | 8327 | } |
8326 | .education-detail-contacts h3.title{ | 8328 | .education-detail-contacts h3.title{ |
8327 | font-size: 18px; | 8329 | font-size: 18px; |
8328 | margin: 0 0 20px; | 8330 | margin: 0 0 20px; |
8329 | } | 8331 | } |
8330 | .education-detail-contacts .inner > div{ | 8332 | .education-detail-contacts .inner > div{ |
8331 | display: flex; | 8333 | display: flex; |
8332 | align-items: center; | 8334 | align-items: center; |
8333 | margin-bottom: 20px; | 8335 | margin-bottom: 20px; |
8334 | } | 8336 | } |
8335 | .education-detail-contacts .inner > div .icon{ | 8337 | .education-detail-contacts .inner > div .icon{ |
8336 | margin-right: 20px; | 8338 | margin-right: 20px; |
8337 | } | 8339 | } |
8338 | @media (min-width: 768px) { | 8340 | @media (min-width: 768px) { |
8339 | .cabinet__avatar-form { | 8341 | .cabinet__avatar-form { |
8340 | -webkit-box-align: start; | 8342 | -webkit-box-align: start; |
8341 | -ms-flex-align: start; | 8343 | -ms-flex-align: start; |
8342 | align-items: flex-start; | 8344 | align-items: flex-start; |
8343 | padding-left: 30px; | 8345 | padding-left: 30px; |
8344 | gap: 12px; | 8346 | gap: 12px; |
8345 | } | 8347 | } |
8346 | } | 8348 | } |
8347 | @media (min-width: 768px) { | 8349 | @media (min-width: 768px) { |
8348 | .cabinet__avatar-form .file { | 8350 | .cabinet__avatar-form .file { |
8349 | min-width: 215px; | 8351 | min-width: 215px; |
8350 | } | 8352 | } |
8351 | } | 8353 | } |
8352 | .cabinet__inputs { | 8354 | .cabinet__inputs { |
8353 | display: -webkit-box; | 8355 | display: -webkit-box; |
8354 | display: -ms-flexbox; | 8356 | display: -ms-flexbox; |
8355 | display: flex; | 8357 | display: flex; |
8356 | -webkit-box-orient: vertical; | 8358 | -webkit-box-orient: vertical; |
8357 | -webkit-box-direction: normal; | 8359 | -webkit-box-direction: normal; |
8358 | -ms-flex-direction: column; | 8360 | -ms-flex-direction: column; |
8359 | flex-direction: column; | 8361 | flex-direction: column; |
8360 | gap: 20px; | 8362 | gap: 20px; |
8361 | } | 8363 | } |
8362 | .cabinet__inputs .cabinet__inputs_to_columns_wrap{ | 8364 | .cabinet__inputs .cabinet__inputs_to_columns_wrap{ |
8363 | display: flex; | 8365 | display: flex; |
8364 | } | 8366 | } |
8365 | .cabinet__inputs_to_columns_wrap .cabinet__inputs_to_column{ | 8367 | .cabinet__inputs_to_columns_wrap .cabinet__inputs_to_column{ |
8366 | width: 50%; | 8368 | width: 50%; |
8367 | padding-right: 20px; | 8369 | padding-right: 20px; |
8368 | } | 8370 | } |
8369 | .cabinet__inputs_to_columns_wrap .cabinet__inputs-item{ | 8371 | .cabinet__inputs_to_columns_wrap .cabinet__inputs-item{ |
8370 | margin-bottom: 20px; | 8372 | margin-bottom: 20px; |
8371 | width: 100%; | 8373 | width: 100%; |
8372 | } | 8374 | } |
8373 | @media (min-width: 1280px) { | 8375 | @media (min-width: 1280px) { |
8374 | .cabinet__inputs { | 8376 | .cabinet__inputs { |
8375 | -webkit-box-orient: horizontal; | 8377 | -webkit-box-orient: horizontal; |
8376 | -webkit-box-direction: normal; | 8378 | -webkit-box-direction: normal; |
8377 | -ms-flex-direction: row; | 8379 | -ms-flex-direction: row; |
8378 | flex-direction: row; | 8380 | flex-direction: row; |
8379 | -webkit-box-align: end; | 8381 | -webkit-box-align: end; |
8380 | -ms-flex-align: end; | 8382 | -ms-flex-align: end; |
8381 | align-items: end; | 8383 | align-items: end; |
8382 | -webkit-box-pack: justify; | 8384 | -webkit-box-pack: justify; |
8383 | -ms-flex-pack: justify; | 8385 | -ms-flex-pack: justify; |
8384 | justify-content: space-between; | 8386 | justify-content: space-between; |
8385 | -ms-flex-wrap: wrap; | 8387 | -ms-flex-wrap: wrap; |
8386 | flex-wrap: wrap; | 8388 | flex-wrap: wrap; |
8387 | } | 8389 | } |
8388 | } | 8390 | } |
8389 | @media (min-width: 1280px) { | 8391 | @media (min-width: 1280px) { |
8390 | .cabinet__inputs-item { | 8392 | .cabinet__inputs-item { |
8391 | width: calc(50% - 10px); | 8393 | width: calc(50% - 10px); |
8392 | } | 8394 | } |
8393 | } | 8395 | } |
8394 | @media (min-width: 1280px) { | 8396 | @media (min-width: 1280px) { |
8395 | .cabinet__inputs-item_fullwidth { | 8397 | .cabinet__inputs-item_fullwidth { |
8396 | width: 100%; | 8398 | width: 100%; |
8397 | } | 8399 | } |
8398 | } | 8400 | } |
8399 | @media (min-width: 1280px) { | 8401 | @media (min-width: 1280px) { |
8400 | .cabinet__inputs-item_min { | 8402 | .cabinet__inputs-item_min { |
8401 | width: calc(15% - 10px); | 8403 | width: calc(15% - 10px); |
8402 | } | 8404 | } |
8403 | } | 8405 | } |
8404 | @media (min-width: 1280px) { | 8406 | @media (min-width: 1280px) { |
8405 | .cabinet__inputs-item_max { | 8407 | .cabinet__inputs-item_max { |
8406 | width: calc(85% - 10px); | 8408 | width: calc(85% - 10px); |
8407 | } | 8409 | } |
8408 | } | 8410 | } |
8409 | @media (min-width: 768px) { | 8411 | @media (min-width: 768px) { |
8410 | .cabinet__inputs-item .button { | 8412 | .cabinet__inputs-item .button { |
8411 | width: 100%; | 8413 | width: 100%; |
8412 | max-width: 215px; | 8414 | max-width: 215px; |
8413 | padding: 0; | 8415 | padding: 0; |
8414 | } | 8416 | } |
8415 | } | 8417 | } |
8416 | @media (max-width: 768px) { | 8418 | @media (max-width: 768px) { |
8417 | .cabinet__inputs .cabinet__inputs_to_columns_wrap{ | 8419 | .cabinet__inputs .cabinet__inputs_to_columns_wrap{ |
8418 | display: block; | 8420 | display: block; |
8419 | } | 8421 | } |
8420 | .cabinet__inputs_to_columns_wrap .cabinet__inputs_to_column{ | 8422 | .cabinet__inputs_to_columns_wrap .cabinet__inputs_to_column{ |
8421 | width: 100%; | 8423 | width: 100%; |
8422 | } | 8424 | } |
8423 | } | 8425 | } |
8424 | .cabinet__inputs-item.column-count-3{ | 8426 | .cabinet__inputs-item.column-count-3{ |
8425 | width: calc(32% - 10px); | 8427 | width: calc(32% - 10px); |
8426 | } | 8428 | } |
8427 | .cabinet__inputs-item-full-row { | 8429 | .cabinet__inputs-item-full-row { |
8428 | width: 100%; | 8430 | width: 100%; |
8429 | } | 8431 | } |
8430 | .cabinet__inputs-item .buttons { | 8432 | .cabinet__inputs-item .buttons { |
8431 | display: grid; | 8433 | display: grid; |
8432 | grid-template-columns: 1fr 1fr; | 8434 | grid-template-columns: 1fr 1fr; |
8433 | gap: 10px; | 8435 | gap: 10px; |
8434 | } | 8436 | } |
8435 | .cabinet__inputs-item .form-group__label{ | 8437 | .cabinet__inputs-item .form-group__label{ |
8436 | font-weight: bold; | 8438 | font-weight: bold; |
8437 | } | 8439 | } |
8438 | @media (min-width: 768px) { | 8440 | @media (min-width: 768px) { |
8439 | .cabinet__inputs-item .buttons { | 8441 | .cabinet__inputs-item .buttons { |
8440 | gap: 20px; | 8442 | gap: 20px; |
8441 | max-width: 470px; | 8443 | max-width: 470px; |
8442 | } | 8444 | } |
8443 | } | 8445 | } |
8444 | @media (min-width: 992px) { | 8446 | @media (min-width: 992px) { |
8445 | .cabinet__inputs-item .buttons { | 8447 | .cabinet__inputs-item .buttons { |
8446 | max-width: none; | 8448 | max-width: none; |
8447 | } | 8449 | } |
8448 | } | 8450 | } |
8449 | @media (min-width: 1280px) { | 8451 | @media (min-width: 1280px) { |
8450 | .cabinet__inputs-item .buttons { | 8452 | .cabinet__inputs-item .buttons { |
8451 | max-width: 470px; | 8453 | max-width: 470px; |
8452 | } | 8454 | } |
8453 | } | 8455 | } |
8454 | .cabinet__inputs-item .buttons .button { | 8456 | .cabinet__inputs-item .buttons .button { |
8455 | max-width: none; | 8457 | max-width: none; |
8456 | } | 8458 | } |
8457 | .cabinet__inputs > .button { | 8459 | .cabinet__inputs > .button { |
8458 | padding: 0; | 8460 | padding: 0; |
8459 | width: 100%; | 8461 | width: 100%; |
8460 | max-width: 140px; | 8462 | max-width: 140px; |
8461 | } | 8463 | } |
8462 | @media (min-width: 768px) { | 8464 | @media (min-width: 768px) { |
8463 | .cabinet__inputs > .button { | 8465 | .cabinet__inputs > .button { |
8464 | max-width: 190px; | 8466 | max-width: 190px; |
8465 | } | 8467 | } |
8466 | } | 8468 | } |
8467 | .cabinet__add { | 8469 | .cabinet__add { |
8468 | display: -webkit-box; | 8470 | display: -webkit-box; |
8469 | display: -ms-flexbox; | 8471 | display: -ms-flexbox; |
8470 | display: flex; | 8472 | display: flex; |
8471 | -webkit-box-orient: vertical; | 8473 | -webkit-box-orient: vertical; |
8472 | -webkit-box-direction: normal; | 8474 | -webkit-box-direction: normal; |
8473 | -ms-flex-direction: column; | 8475 | -ms-flex-direction: column; |
8474 | flex-direction: column; | 8476 | flex-direction: column; |
8475 | gap: 10px; | 8477 | gap: 10px; |
8476 | } | 8478 | } |
8477 | @media (min-width: 768px) { | 8479 | @media (min-width: 768px) { |
8478 | .cabinet__add { | 8480 | .cabinet__add { |
8479 | gap: 0; | 8481 | gap: 0; |
8480 | -webkit-box-orient: horizontal; | 8482 | -webkit-box-orient: horizontal; |
8481 | -webkit-box-direction: normal; | 8483 | -webkit-box-direction: normal; |
8482 | -ms-flex-direction: row; | 8484 | -ms-flex-direction: row; |
8483 | flex-direction: row; | 8485 | flex-direction: row; |
8484 | -webkit-box-align: end; | 8486 | -webkit-box-align: end; |
8485 | -ms-flex-align: end; | 8487 | -ms-flex-align: end; |
8486 | align-items: flex-end; | 8488 | align-items: flex-end; |
8487 | } | 8489 | } |
8488 | } | 8490 | } |
8489 | .cabinet__add-pic { | 8491 | .cabinet__add-pic { |
8490 | border-radius: 4px; | 8492 | border-radius: 4px; |
8491 | position: relative; | 8493 | position: relative; |
8492 | overflow: hidden; | 8494 | overflow: hidden; |
8493 | background: #9c9d9d; | 8495 | background: #9c9d9d; |
8494 | color: #fff; | 8496 | color: #fff; |
8495 | width: 100px; | 8497 | width: 100px; |
8496 | aspect-ratio: 1/1; | 8498 | aspect-ratio: 1/1; |
8497 | -webkit-transition: 0.3s; | 8499 | -webkit-transition: 0.3s; |
8498 | transition: 0.3s; | 8500 | transition: 0.3s; |
8499 | } | 8501 | } |
8500 | @media (min-width: 768px) { | 8502 | @media (min-width: 768px) { |
8501 | .cabinet__add-pic { | 8503 | .cabinet__add-pic { |
8502 | width: 220px; | 8504 | width: 220px; |
8503 | border-radius: 8px; | 8505 | border-radius: 8px; |
8504 | } | 8506 | } |
8505 | } | 8507 | } |
8506 | .cabinet__add-pic:hover { | 8508 | .cabinet__add-pic:hover { |
8507 | background: #000; | 8509 | background: #000; |
8508 | } | 8510 | } |
8509 | .cabinet__add-pic input { | 8511 | .cabinet__add-pic input { |
8510 | display: none; | 8512 | display: none; |
8511 | } | 8513 | } |
8512 | .cabinet__add-pic > svg { | 8514 | .cabinet__add-pic > svg { |
8513 | width: 20px; | 8515 | width: 20px; |
8514 | position: absolute; | 8516 | position: absolute; |
8515 | top: 50%; | 8517 | top: 50%; |
8516 | left: 50%; | 8518 | left: 50%; |
8517 | -webkit-transform: translate(-50%, -50%); | 8519 | -webkit-transform: translate(-50%, -50%); |
8518 | -ms-transform: translate(-50%, -50%); | 8520 | -ms-transform: translate(-50%, -50%); |
8519 | transform: translate(-50%, -50%); | 8521 | transform: translate(-50%, -50%); |
8520 | z-index: 1; | 8522 | z-index: 1; |
8521 | } | 8523 | } |
8522 | @media (min-width: 768px) { | 8524 | @media (min-width: 768px) { |
8523 | .cabinet__add-pic > svg { | 8525 | .cabinet__add-pic > svg { |
8524 | width: 50px; | 8526 | width: 50px; |
8525 | } | 8527 | } |
8526 | } | 8528 | } |
8527 | .cabinet__add-pic span { | 8529 | .cabinet__add-pic span { |
8528 | display: -webkit-box; | 8530 | display: -webkit-box; |
8529 | display: -ms-flexbox; | 8531 | display: -ms-flexbox; |
8530 | display: flex; | 8532 | display: flex; |
8531 | -webkit-box-align: center; | 8533 | -webkit-box-align: center; |
8532 | -ms-flex-align: center; | 8534 | -ms-flex-align: center; |
8533 | align-items: center; | 8535 | align-items: center; |
8534 | -webkit-box-pack: center; | 8536 | -webkit-box-pack: center; |
8535 | -ms-flex-pack: center; | 8537 | -ms-flex-pack: center; |
8536 | justify-content: center; | 8538 | justify-content: center; |
8537 | width: 100%; | 8539 | width: 100%; |
8538 | gap: 4px; | 8540 | gap: 4px; |
8539 | font-weight: 700; | 8541 | font-weight: 700; |
8540 | font-size: 8px; | 8542 | font-size: 8px; |
8541 | line-height: 1; | 8543 | line-height: 1; |
8542 | position: absolute; | 8544 | position: absolute; |
8543 | top: 50%; | 8545 | top: 50%; |
8544 | left: 50%; | 8546 | left: 50%; |
8545 | -webkit-transform: translate(-50%, -50%); | 8547 | -webkit-transform: translate(-50%, -50%); |
8546 | -ms-transform: translate(-50%, -50%); | 8548 | -ms-transform: translate(-50%, -50%); |
8547 | transform: translate(-50%, -50%); | 8549 | transform: translate(-50%, -50%); |
8548 | margin-top: 25px; | 8550 | margin-top: 25px; |
8549 | } | 8551 | } |
8550 | @media (min-width: 768px) { | 8552 | @media (min-width: 768px) { |
8551 | .cabinet__add-pic span { | 8553 | .cabinet__add-pic span { |
8552 | font-size: 16px; | 8554 | font-size: 16px; |
8553 | margin-top: 60px; | 8555 | margin-top: 60px; |
8554 | } | 8556 | } |
8555 | } | 8557 | } |
8556 | .cabinet__add-pic span svg { | 8558 | .cabinet__add-pic span svg { |
8557 | width: 7px; | 8559 | width: 7px; |
8558 | aspect-ratio: 1/1; | 8560 | aspect-ratio: 1/1; |
8559 | } | 8561 | } |
8560 | @media (min-width: 768px) { | 8562 | @media (min-width: 768px) { |
8561 | .cabinet__add-pic span svg { | 8563 | .cabinet__add-pic span svg { |
8562 | width: 16px; | 8564 | width: 16px; |
8563 | } | 8565 | } |
8564 | } | 8566 | } |
8565 | .cabinet__add-body { | 8567 | .cabinet__add-body { |
8566 | display: -webkit-box; | 8568 | display: -webkit-box; |
8567 | display: -ms-flexbox; | 8569 | display: -ms-flexbox; |
8568 | display: flex; | 8570 | display: flex; |
8569 | -webkit-box-orient: vertical; | 8571 | -webkit-box-orient: vertical; |
8570 | -webkit-box-direction: normal; | 8572 | -webkit-box-direction: normal; |
8571 | -ms-flex-direction: column; | 8573 | -ms-flex-direction: column; |
8572 | flex-direction: column; | 8574 | flex-direction: column; |
8573 | gap: 10px; | 8575 | gap: 10px; |
8574 | } | 8576 | } |
8575 | @media (min-width: 768px) { | 8577 | @media (min-width: 768px) { |
8576 | .cabinet__add-body { | 8578 | .cabinet__add-body { |
8577 | gap: 20px; | 8579 | gap: 20px; |
8578 | width: calc(100% - 220px); | 8580 | width: calc(100% - 220px); |
8579 | padding-left: 20px; | 8581 | padding-left: 20px; |
8580 | } | 8582 | } |
8581 | } | 8583 | } |
8582 | @media (min-width: 768px) { | 8584 | @media (min-width: 768px) { |
8583 | .cabinet__add-body .button { | 8585 | .cabinet__add-body .button { |
8584 | width: 215px; | 8586 | width: 215px; |
8585 | padding: 0; | 8587 | padding: 0; |
8586 | } | 8588 | } |
8587 | } | 8589 | } |
8588 | .cabinet__fleet { | 8590 | .cabinet__fleet { |
8589 | display: -webkit-box; | 8591 | display: -webkit-box; |
8590 | display: -ms-flexbox; | 8592 | display: -ms-flexbox; |
8591 | display: flex; | 8593 | display: flex; |
8592 | -webkit-box-orient: vertical; | 8594 | -webkit-box-orient: vertical; |
8593 | -webkit-box-direction: normal; | 8595 | -webkit-box-direction: normal; |
8594 | -ms-flex-direction: column; | 8596 | -ms-flex-direction: column; |
8595 | flex-direction: column; | 8597 | flex-direction: column; |
8596 | gap: 20px; | 8598 | gap: 20px; |
8597 | } | 8599 | } |
8598 | @media (min-width: 768px) { | 8600 | @media (min-width: 768px) { |
8599 | .cabinet__fleet { | 8601 | .cabinet__fleet { |
8600 | display: grid; | 8602 | display: grid; |
8601 | grid-template-columns: repeat(2, 1fr); | 8603 | grid-template-columns: repeat(2, 1fr); |
8602 | } | 8604 | } |
8603 | } | 8605 | } |
8604 | @media (min-width: 1280px) { | 8606 | @media (min-width: 1280px) { |
8605 | .cabinet__fleet { | 8607 | .cabinet__fleet { |
8606 | grid-template-columns: repeat(3, 1fr); | 8608 | grid-template-columns: repeat(3, 1fr); |
8607 | } | 8609 | } |
8608 | } | 8610 | } |
8609 | @media (min-width: 768px) { | 8611 | @media (min-width: 768px) { |
8610 | .cabinet__submit { | 8612 | .cabinet__submit { |
8611 | width: 215px; | 8613 | width: 215px; |
8612 | padding: 0; | 8614 | padding: 0; |
8613 | margin: 0 auto; | 8615 | margin: 0 auto; |
8614 | } | 8616 | } |
8615 | } | 8617 | } |
8616 | .cabinet__filters { | 8618 | .cabinet__filters { |
8617 | display: -webkit-box; | 8619 | display: -webkit-box; |
8618 | display: -ms-flexbox; | 8620 | display: -ms-flexbox; |
8619 | display: flex; | 8621 | display: flex; |
8620 | -webkit-box-orient: vertical; | 8622 | -webkit-box-orient: vertical; |
8621 | -webkit-box-direction: normal; | 8623 | -webkit-box-direction: normal; |
8622 | -ms-flex-direction: column; | 8624 | -ms-flex-direction: column; |
8623 | flex-direction: column; | 8625 | flex-direction: column; |
8624 | gap: 10px; | 8626 | gap: 10px; |
8625 | } | 8627 | } |
8626 | .cabinet__export-wrap{ | 8628 | .cabinet__export-wrap{ |
8627 | padding: 10px; | 8629 | padding: 10px; |
8628 | border: 1px #cecece solid; | 8630 | border: 1px #cecece solid; |
8629 | border-radius: 8px; | 8631 | border-radius: 8px; |
8630 | width: 100%; | 8632 | width: 100%; |
8631 | } | 8633 | } |
8632 | .cabinet__export-button-wrap{ | 8634 | .cabinet__export-button-wrap{ |
8633 | max-width: 200px; | 8635 | max-width: 200px; |
8634 | margin-bottom: 10px; | 8636 | margin-bottom: 10px; |
8635 | } | 8637 | } |
8636 | .cabinet__export-options-wrap{ | 8638 | .cabinet__export-options-wrap{ |
8637 | display: flex; | 8639 | display: flex; |
8638 | justify-content: space-between; | 8640 | justify-content: space-between; |
8639 | } | 8641 | } |
8640 | .job-title-list-wrap{ | 8642 | .job-title-list-wrap{ |
8641 | margin-top: 5px; | 8643 | margin-top: 5px; |
8642 | } | 8644 | } |
8643 | .cabinet__export-error{ | 8645 | .cabinet__export-error{ |
8644 | color: red; | 8646 | color: red; |
8645 | } | 8647 | } |
8646 | .flot-image-wrap img{ | 8648 | .flot-image-wrap img{ |
8647 | max-width: 100%; | 8649 | max-width: 100%; |
8648 | max-height: 100%; | 8650 | max-height: 100%; |
8649 | flex: 0 0 auto; | 8651 | flex: 0 0 auto; |
8650 | } | 8652 | } |
8651 | .flot-image-wrap{ | 8653 | .flot-image-wrap{ |
8652 | width: 220px; | 8654 | width: 220px; |
8653 | height: 220px; | 8655 | height: 220px; |
8654 | display: flex; | 8656 | display: flex; |
8655 | justify-content: center; | 8657 | justify-content: center; |
8656 | align-items: center; | 8658 | align-items: center; |
8657 | } | 8659 | } |
8658 | @media (min-width: 768px) { | 8660 | @media (min-width: 768px) { |
8659 | .cabinet__filters { | 8661 | .cabinet__filters { |
8660 | gap: 20px; | 8662 | gap: 20px; |
8661 | } | 8663 | } |
8662 | } | 8664 | } |
8663 | @media (min-width: 1280px) { | 8665 | @media (min-width: 1280px) { |
8664 | .cabinet__filters { | 8666 | .cabinet__filters { |
8665 | -webkit-box-orient: horizontal; | 8667 | -webkit-box-orient: horizontal; |
8666 | -webkit-box-direction: normal; | 8668 | -webkit-box-direction: normal; |
8667 | -ms-flex-direction: row; | 8669 | -ms-flex-direction: row; |
8668 | flex-direction: row; | 8670 | flex-direction: row; |
8669 | -webkit-box-align: start; | 8671 | -webkit-box-align: start; |
8670 | -ms-flex-align: start; | 8672 | -ms-flex-align: start; |
8671 | align-items: flex-start; | 8673 | align-items: flex-start; |
8672 | -webkit-box-pack: justify; | 8674 | -webkit-box-pack: justify; |
8673 | -ms-flex-pack: justify; | 8675 | -ms-flex-pack: justify; |
8674 | justify-content: space-between; | 8676 | justify-content: space-between; |
8675 | } | 8677 | } |
8676 | } | 8678 | } |
8677 | .cabinet__filters-item { | 8679 | .cabinet__filters-item { |
8678 | display: -webkit-box; | 8680 | display: -webkit-box; |
8679 | display: -ms-flexbox; | 8681 | display: -ms-flexbox; |
8680 | display: flex; | 8682 | display: flex; |
8681 | -webkit-box-orient: vertical; | 8683 | -webkit-box-orient: vertical; |
8682 | -webkit-box-direction: normal; | 8684 | -webkit-box-direction: normal; |
8683 | -ms-flex-direction: column; | 8685 | -ms-flex-direction: column; |
8684 | flex-direction: column; | 8686 | flex-direction: column; |
8685 | -webkit-box-align: start; | 8687 | -webkit-box-align: start; |
8686 | -ms-flex-align: start; | 8688 | -ms-flex-align: start; |
8687 | align-items: flex-start; | 8689 | align-items: flex-start; |
8688 | gap: 10px; | 8690 | gap: 10px; |
8689 | } | 8691 | } |
8690 | @media (min-width: 768px) { | 8692 | @media (min-width: 768px) { |
8691 | .cabinet__filters-item { | 8693 | .cabinet__filters-item { |
8692 | gap: 20px; | 8694 | gap: 20px; |
8693 | } | 8695 | } |
8694 | } | 8696 | } |
8695 | @media (min-width: 1280px) { | 8697 | @media (min-width: 1280px) { |
8696 | .cabinet__filters-item { | 8698 | .cabinet__filters-item { |
8697 | width: calc(50% - 10px); | 8699 | width: calc(50% - 10px); |
8698 | max-width: 410px; | 8700 | max-width: 410px; |
8699 | } | 8701 | } |
8700 | } | 8702 | } |
8701 | .cabinet__filters-item .button, | 8703 | .cabinet__filters-item .button, |
8702 | .cabinet__filters-item .select { | 8704 | .cabinet__filters-item .select { |
8703 | width: 100%; | 8705 | width: 100%; |
8704 | } | 8706 | } |
8705 | @media (min-width: 1280px) { | 8707 | @media (min-width: 1280px) { |
8706 | .cabinet__filters-item .button, | 8708 | .cabinet__filters-item .button, |
8707 | .cabinet__filters-item .select { | 8709 | .cabinet__filters-item .select { |
8708 | width: auto; | 8710 | width: auto; |
8709 | } | 8711 | } |
8710 | } | 8712 | } |
8711 | .cabinet__filters-item + .cabinet__filters-item { | 8713 | .cabinet__filters-item + .cabinet__filters-item { |
8712 | -webkit-box-align: end; | 8714 | -webkit-box-align: end; |
8713 | -ms-flex-align: end; | 8715 | -ms-flex-align: end; |
8714 | align-items: flex-end; | 8716 | align-items: flex-end; |
8715 | } | 8717 | } |
8716 | @media (min-width: 1280px) { | 8718 | @media (min-width: 1280px) { |
8717 | .cabinet__filters-item + .cabinet__filters-item { | 8719 | .cabinet__filters-item + .cabinet__filters-item { |
8718 | max-width: 280px; | 8720 | max-width: 280px; |
8719 | } | 8721 | } |
8720 | } | 8722 | } |
8721 | .cabinet__filters .search input { | 8723 | .cabinet__filters .search input { |
8722 | padding-right: 135px; | 8724 | padding-right: 135px; |
8723 | } | 8725 | } |
8724 | .cabinet__filters .search button { | 8726 | .cabinet__filters .search button { |
8725 | width: 115px; | 8727 | width: 115px; |
8726 | } | 8728 | } |
8727 | .cabinet__filters-buttons { | 8729 | .cabinet__filters-buttons { |
8728 | display: grid; | 8730 | display: grid; |
8729 | grid-template-columns: 1fr 1fr; | 8731 | grid-template-columns: 1fr 1fr; |
8730 | gap: 10px; | 8732 | gap: 10px; |
8731 | width: 100%; | 8733 | width: 100%; |
8732 | } | 8734 | } |
8733 | @media (min-width: 768px) { | 8735 | @media (min-width: 768px) { |
8734 | .cabinet__filters-buttons { | 8736 | .cabinet__filters-buttons { |
8735 | gap: 20px; | 8737 | gap: 20px; |
8736 | } | 8738 | } |
8737 | } | 8739 | } |
8738 | .cabinet__filters-buttons .button { | 8740 | .cabinet__filters-buttons .button { |
8739 | padding: 0; | 8741 | padding: 0; |
8740 | gap: 5px; | 8742 | gap: 5px; |
8741 | } | 8743 | } |
8742 | .cabinet__filters-buttons .button.active { | 8744 | .cabinet__filters-buttons .button.active { |
8743 | background: #377d87; | 8745 | background: #377d87; |
8744 | color: #fff; | 8746 | color: #fff; |
8745 | } | 8747 | } |
8746 | .cabinet__filters-buttons .button.active:before { | 8748 | .cabinet__filters-buttons .button.active:before { |
8747 | content: ""; | 8749 | content: ""; |
8748 | width: 6px; | 8750 | width: 6px; |
8749 | height: 6px; | 8751 | height: 6px; |
8750 | background: #fff; | 8752 | background: #fff; |
8751 | border-radius: 999px; | 8753 | border-radius: 999px; |
8752 | } | 8754 | } |
8753 | .cabinet__table-header { | 8755 | .cabinet__table-header { |
8754 | display: -webkit-box; | 8756 | display: -webkit-box; |
8755 | display: -ms-flexbox; | 8757 | display: -ms-flexbox; |
8756 | display: flex; | 8758 | display: flex; |
8757 | -webkit-box-pack: justify; | 8759 | -webkit-box-pack: justify; |
8758 | -ms-flex-pack: justify; | 8760 | -ms-flex-pack: justify; |
8759 | justify-content: space-between; | 8761 | justify-content: space-between; |
8760 | -webkit-box-align: center; | 8762 | -webkit-box-align: center; |
8761 | -ms-flex-align: center; | 8763 | -ms-flex-align: center; |
8762 | align-items: center; | 8764 | align-items: center; |
8763 | font-weight: 700; | 8765 | font-weight: 700; |
8764 | margin-bottom: -10px; | 8766 | margin-bottom: -10px; |
8765 | } | 8767 | } |
8766 | .cabinet__table-header div { | 8768 | .cabinet__table-header div { |
8767 | font-size: 18px; | 8769 | font-size: 18px; |
8768 | } | 8770 | } |
8769 | @media (min-width: 768px) { | 8771 | @media (min-width: 768px) { |
8770 | .cabinet__table-header div { | 8772 | .cabinet__table-header div { |
8771 | font-size: 24px; | 8773 | font-size: 24px; |
8772 | } | 8774 | } |
8773 | } | 8775 | } |
8774 | .cabinet__table-header span { | 8776 | .cabinet__table-header span { |
8775 | color: #000; | 8777 | color: #000; |
8776 | font-size: 14px; | 8778 | font-size: 14px; |
8777 | } | 8779 | } |
8778 | @media (min-width: 768px) { | 8780 | @media (min-width: 768px) { |
8779 | .cabinet__table-header span { | 8781 | .cabinet__table-header span { |
8780 | font-size: 18px; | 8782 | font-size: 18px; |
8781 | } | 8783 | } |
8782 | } | 8784 | } |
8783 | .cabinet__table-header span b { | 8785 | .cabinet__table-header span b { |
8784 | color: #377d87; | 8786 | color: #377d87; |
8785 | } | 8787 | } |
8786 | .cabinet__tabs { | 8788 | .cabinet__tabs { |
8787 | display: grid; | 8789 | display: grid; |
8788 | grid-template-columns: 1fr 1fr; | 8790 | grid-template-columns: 1fr 1fr; |
8789 | gap: 20px; | 8791 | gap: 20px; |
8790 | } | 8792 | } |
8791 | @media (min-width: 768px) { | 8793 | @media (min-width: 768px) { |
8792 | .cabinet__tabs { | 8794 | .cabinet__tabs { |
8793 | max-width: 420px; | 8795 | max-width: 420px; |
8794 | } | 8796 | } |
8795 | } | 8797 | } |
8796 | .cabinet__tabs .button.active { | 8798 | .cabinet__tabs .button.active { |
8797 | background: #377d87; | 8799 | background: #377d87; |
8798 | color: #fff; | 8800 | color: #fff; |
8799 | } | 8801 | } |
8800 | .cabinet__bodies { | 8802 | .cabinet__bodies { |
8801 | display: none; | 8803 | display: none; |
8802 | } | 8804 | } |
8803 | .cabinet__bodies.showed { | 8805 | .cabinet__bodies.showed { |
8804 | display: block; | 8806 | display: block; |
8805 | } | 8807 | } |
8806 | .cabinet__nots { | 8808 | .cabinet__nots { |
8807 | display: -webkit-box; | 8809 | display: -webkit-box; |
8808 | display: -ms-flexbox; | 8810 | display: -ms-flexbox; |
8809 | display: flex; | 8811 | display: flex; |
8810 | -webkit-box-orient: vertical; | 8812 | -webkit-box-orient: vertical; |
8811 | -webkit-box-direction: normal; | 8813 | -webkit-box-direction: normal; |
8812 | -ms-flex-direction: column; | 8814 | -ms-flex-direction: column; |
8813 | flex-direction: column; | 8815 | flex-direction: column; |
8814 | -webkit-box-align: start; | 8816 | -webkit-box-align: start; |
8815 | -ms-flex-align: start; | 8817 | -ms-flex-align: start; |
8816 | align-items: flex-start; | 8818 | align-items: flex-start; |
8817 | gap: 10px; | 8819 | gap: 10px; |
8818 | } | 8820 | } |
8819 | @media (min-width: 768px) { | 8821 | @media (min-width: 768px) { |
8820 | .cabinet__nots { | 8822 | .cabinet__nots { |
8821 | gap: 20px; | 8823 | gap: 20px; |
8822 | } | 8824 | } |
8823 | } | 8825 | } |
8824 | .cabinet__nots .input { | 8826 | .cabinet__nots .input { |
8825 | width: 100%; | 8827 | width: 100%; |
8826 | } | 8828 | } |
8827 | .cabinet__anketa { | 8829 | .cabinet__anketa { |
8828 | display: -webkit-box; | 8830 | display: -webkit-box; |
8829 | display: -ms-flexbox; | 8831 | display: -ms-flexbox; |
8830 | display: flex; | 8832 | display: flex; |
8831 | -webkit-box-orient: vertical; | 8833 | -webkit-box-orient: vertical; |
8832 | -webkit-box-direction: normal; | 8834 | -webkit-box-direction: normal; |
8833 | -ms-flex-direction: column; | 8835 | -ms-flex-direction: column; |
8834 | flex-direction: column; | 8836 | flex-direction: column; |
8835 | -webkit-box-pack: justify; | 8837 | -webkit-box-pack: justify; |
8836 | -ms-flex-pack: justify; | 8838 | -ms-flex-pack: justify; |
8837 | justify-content: space-between; | 8839 | justify-content: space-between; |
8838 | gap: 10px; | 8840 | gap: 10px; |
8839 | } | 8841 | } |
8840 | @media (min-width: 768px) { | 8842 | @media (min-width: 768px) { |
8841 | .cabinet__anketa { | 8843 | .cabinet__anketa { |
8842 | -webkit-box-orient: horizontal; | 8844 | -webkit-box-orient: horizontal; |
8843 | -webkit-box-direction: normal; | 8845 | -webkit-box-direction: normal; |
8844 | -ms-flex-direction: row; | 8846 | -ms-flex-direction: row; |
8845 | flex-direction: row; | 8847 | flex-direction: row; |
8846 | -webkit-box-align: center; | 8848 | -webkit-box-align: center; |
8847 | -ms-flex-align: center; | 8849 | -ms-flex-align: center; |
8848 | align-items: center; | 8850 | align-items: center; |
8849 | } | 8851 | } |
8850 | } | 8852 | } |
8851 | @media (min-width: 992px) { | 8853 | @media (min-width: 992px) { |
8852 | .cabinet__anketa { | 8854 | .cabinet__anketa { |
8853 | -webkit-box-orient: vertical; | 8855 | -webkit-box-orient: vertical; |
8854 | -webkit-box-direction: normal; | 8856 | -webkit-box-direction: normal; |
8855 | -ms-flex-direction: column; | 8857 | -ms-flex-direction: column; |
8856 | flex-direction: column; | 8858 | flex-direction: column; |
8857 | -webkit-box-align: stretch; | 8859 | -webkit-box-align: stretch; |
8858 | -ms-flex-align: stretch; | 8860 | -ms-flex-align: stretch; |
8859 | align-items: stretch; | 8861 | align-items: stretch; |
8860 | } | 8862 | } |
8861 | } | 8863 | } |
8862 | @media (min-width: 1280px) { | 8864 | @media (min-width: 1280px) { |
8863 | .cabinet__anketa { | 8865 | .cabinet__anketa { |
8864 | -webkit-box-orient: horizontal; | 8866 | -webkit-box-orient: horizontal; |
8865 | -webkit-box-direction: normal; | 8867 | -webkit-box-direction: normal; |
8866 | -ms-flex-direction: row; | 8868 | -ms-flex-direction: row; |
8867 | flex-direction: row; | 8869 | flex-direction: row; |
8868 | -webkit-box-align: center; | 8870 | -webkit-box-align: center; |
8869 | -ms-flex-align: center; | 8871 | -ms-flex-align: center; |
8870 | align-items: center; | 8872 | align-items: center; |
8871 | -webkit-box-pack: justify; | 8873 | -webkit-box-pack: justify; |
8872 | -ms-flex-pack: justify; | 8874 | -ms-flex-pack: justify; |
8873 | justify-content: space-between; | 8875 | justify-content: space-between; |
8874 | } | 8876 | } |
8875 | } | 8877 | } |
8876 | .cabinet__anketa-buttons { | 8878 | .cabinet__anketa-buttons { |
8877 | display: -webkit-box; | 8879 | display: -webkit-box; |
8878 | display: -ms-flexbox; | 8880 | display: -ms-flexbox; |
8879 | display: flex; | 8881 | display: flex; |
8880 | -webkit-box-orient: vertical; | 8882 | -webkit-box-orient: vertical; |
8881 | -webkit-box-direction: normal; | 8883 | -webkit-box-direction: normal; |
8882 | -ms-flex-direction: column; | 8884 | -ms-flex-direction: column; |
8883 | flex-direction: column; | 8885 | flex-direction: column; |
8884 | gap: 10px; | 8886 | gap: 10px; |
8885 | } | 8887 | } |
8886 | @media (min-width: 768px) { | 8888 | @media (min-width: 768px) { |
8887 | .cabinet__anketa-buttons { | 8889 | .cabinet__anketa-buttons { |
8888 | display: grid; | 8890 | display: grid; |
8889 | grid-template-columns: 1fr 1fr; | 8891 | grid-template-columns: 1fr 1fr; |
8890 | gap: 20px; | 8892 | gap: 20px; |
8891 | } | 8893 | } |
8892 | } | 8894 | } |
8893 | .cabinet__stats { | 8895 | .cabinet__stats { |
8894 | display: -webkit-box; | 8896 | display: -webkit-box; |
8895 | display: -ms-flexbox; | 8897 | display: -ms-flexbox; |
8896 | display: flex; | 8898 | display: flex; |
8897 | -webkit-box-orient: vertical; | 8899 | -webkit-box-orient: vertical; |
8898 | -webkit-box-direction: normal; | 8900 | -webkit-box-direction: normal; |
8899 | -ms-flex-direction: column; | 8901 | -ms-flex-direction: column; |
8900 | flex-direction: column; | 8902 | flex-direction: column; |
8901 | gap: 6px; | 8903 | gap: 6px; |
8902 | } | 8904 | } |
8903 | @media (min-width: 768px) { | 8905 | @media (min-width: 768px) { |
8904 | .cabinet__stats { | 8906 | .cabinet__stats { |
8905 | gap: 12px; | 8907 | gap: 12px; |
8906 | } | 8908 | } |
8907 | } | 8909 | } |
8908 | .cabinet__stats-title { | 8910 | .cabinet__stats-title { |
8909 | font-size: 14px; | 8911 | font-size: 14px; |
8910 | font-weight: 700; | 8912 | font-weight: 700; |
8911 | color: #000; | 8913 | color: #000; |
8912 | } | 8914 | } |
8913 | @media (min-width: 768px) { | 8915 | @media (min-width: 768px) { |
8914 | .cabinet__stats-title { | 8916 | .cabinet__stats-title { |
8915 | font-size: 24px; | 8917 | font-size: 24px; |
8916 | } | 8918 | } |
8917 | } | 8919 | } |
8918 | .cabinet__stats-body { | 8920 | .cabinet__stats-body { |
8919 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); | 8921 | background: linear-gradient(95deg, #f2f5fc 59.82%, #ebf2fc 99.99%); |
8920 | border-radius: 8px; | 8922 | border-radius: 8px; |
8921 | padding: 10px; | 8923 | padding: 10px; |
8922 | display: grid; | 8924 | display: grid; |
8923 | grid-template-columns: 1fr 1fr; | 8925 | grid-template-columns: 1fr 1fr; |
8924 | gap: 20px; | 8926 | gap: 20px; |
8925 | margin-bottom: 10px; | 8927 | margin-bottom: 10px; |
8926 | } | 8928 | } |
8927 | @media (min-width: 768px) { | 8929 | @media (min-width: 768px) { |
8928 | .cabinet__stats-body { | 8930 | .cabinet__stats-body { |
8929 | padding: 10px 20px; | 8931 | padding: 10px 20px; |
8930 | } | 8932 | } |
8931 | } | 8933 | } |
8932 | .cabinet__stats-item { | 8934 | .cabinet__stats-item { |
8933 | font-size: 12px; | 8935 | font-size: 12px; |
8934 | display: -webkit-box; | 8936 | display: -webkit-box; |
8935 | display: -ms-flexbox; | 8937 | display: -ms-flexbox; |
8936 | display: flex; | 8938 | display: flex; |
8937 | -webkit-box-align: center; | 8939 | -webkit-box-align: center; |
8938 | -ms-flex-align: center; | 8940 | -ms-flex-align: center; |
8939 | align-items: center; | 8941 | align-items: center; |
8940 | line-height: 1; | 8942 | line-height: 1; |
8941 | gap: 6px; | 8943 | gap: 6px; |
8942 | } | 8944 | } |
8943 | @media (min-width: 768px) { | 8945 | @media (min-width: 768px) { |
8944 | .cabinet__stats-item { | 8946 | .cabinet__stats-item { |
8945 | font-size: 20px; | 8947 | font-size: 20px; |
8946 | gap: 10px; | 8948 | gap: 10px; |
8947 | } | 8949 | } |
8948 | } | 8950 | } |
8949 | .cabinet__stats-item svg { | 8951 | .cabinet__stats-item svg { |
8950 | width: 20px; | 8952 | width: 20px; |
8951 | aspect-ratio: 1/1; | 8953 | aspect-ratio: 1/1; |
8952 | color: #377d87; | 8954 | color: #377d87; |
8953 | } | 8955 | } |
8954 | @media (min-width: 768px) { | 8956 | @media (min-width: 768px) { |
8955 | .cabinet__stats-item svg { | 8957 | .cabinet__stats-item svg { |
8956 | width: 40px; | 8958 | width: 40px; |
8957 | margin-right: 10px; | 8959 | margin-right: 10px; |
8958 | } | 8960 | } |
8959 | } | 8961 | } |
8960 | .cabinet__stats-item span { | 8962 | .cabinet__stats-item span { |
8961 | font-weight: 700; | 8963 | font-weight: 700; |
8962 | color: #000; | 8964 | color: #000; |
8963 | } | 8965 | } |
8964 | .cabinet__stats-item b { | 8966 | .cabinet__stats-item b { |
8965 | color: #377d87; | 8967 | color: #377d87; |
8966 | font-size: 14px; | 8968 | font-size: 14px; |
8967 | } | 8969 | } |
8968 | @media (min-width: 768px) { | 8970 | @media (min-width: 768px) { |
8969 | .cabinet__stats-item b { | 8971 | .cabinet__stats-item b { |
8970 | font-size: 24px; | 8972 | font-size: 24px; |
8971 | } | 8973 | } |
8972 | } | 8974 | } |
8973 | .cabinet__stats-subtitle { | 8975 | .cabinet__stats-subtitle { |
8974 | font-size: 14px; | 8976 | font-size: 14px; |
8975 | font-weight: 700; | 8977 | font-weight: 700; |
8976 | color: #377d87; | 8978 | color: #377d87; |
8977 | } | 8979 | } |
8978 | @media (min-width: 768px) { | 8980 | @media (min-width: 768px) { |
8979 | .cabinet__stats-subtitle { | 8981 | .cabinet__stats-subtitle { |
8980 | font-size: 18px; | 8982 | font-size: 18px; |
8981 | } | 8983 | } |
8982 | } | 8984 | } |
8983 | .cabinet__stats-line { | 8985 | .cabinet__stats-line { |
8984 | width: 100%; | 8986 | width: 100%; |
8985 | position: relative; | 8987 | position: relative; |
8986 | overflow: hidden; | 8988 | overflow: hidden; |
8987 | height: 8px; | 8989 | height: 8px; |
8988 | border-radius: 999px; | 8990 | border-radius: 999px; |
8989 | background: #cecece; | 8991 | background: #cecece; |
8990 | } | 8992 | } |
8991 | .cabinet__stats-line span { | 8993 | .cabinet__stats-line span { |
8992 | position: absolute; | 8994 | position: absolute; |
8993 | top: 0; | 8995 | top: 0; |
8994 | left: 0; | 8996 | left: 0; |
8995 | width: 100%; | 8997 | width: 100%; |
8996 | height: 100%; | 8998 | height: 100%; |
8997 | background: #377d87; | 8999 | background: #377d87; |
8998 | border-radius: 999px; | 9000 | border-radius: 999px; |
8999 | } | 9001 | } |
9000 | .cabinet__stats-bottom { | 9002 | .cabinet__stats-bottom { |
9001 | color: #000; | 9003 | color: #000; |
9002 | font-size: 12px; | 9004 | font-size: 12px; |
9003 | } | 9005 | } |
9004 | @media (min-width: 768px) { | 9006 | @media (min-width: 768px) { |
9005 | .cabinet__stats-bottom { | 9007 | .cabinet__stats-bottom { |
9006 | font-size: 16px; | 9008 | font-size: 16px; |
9007 | } | 9009 | } |
9008 | } | 9010 | } |
9009 | .cabinet__works { | 9011 | .cabinet__works { |
9010 | display: -webkit-box; | 9012 | display: -webkit-box; |
9011 | display: -ms-flexbox; | 9013 | display: -ms-flexbox; |
9012 | display: flex; | 9014 | display: flex; |
9013 | -webkit-box-orient: vertical; | 9015 | -webkit-box-orient: vertical; |
9014 | -webkit-box-direction: normal; | 9016 | -webkit-box-direction: normal; |
9015 | -ms-flex-direction: column; | 9017 | -ms-flex-direction: column; |
9016 | flex-direction: column; | 9018 | flex-direction: column; |
9017 | gap: 20px; | 9019 | gap: 20px; |
9018 | } | 9020 | } |
9019 | @media (min-width: 768px) { | 9021 | @media (min-width: 768px) { |
9020 | .cabinet__works { | 9022 | .cabinet__works { |
9021 | gap: 30px; | 9023 | gap: 30px; |
9022 | } | 9024 | } |
9023 | } | 9025 | } |
9024 | .cabinet__works-item { | 9026 | .cabinet__works-item { |
9025 | border-bottom: 1px #cccccc solid; | 9027 | border-bottom: 1px #cccccc solid; |
9026 | padding-bottom: 35px; | 9028 | padding-bottom: 35px; |
9027 | } | 9029 | } |
9028 | .cabinet__works-spoiler { | 9030 | .cabinet__works-spoiler { |
9029 | display: -webkit-box; | 9031 | display: -webkit-box; |
9030 | display: -ms-flexbox; | 9032 | display: -ms-flexbox; |
9031 | display: flex; | 9033 | display: flex; |
9032 | -webkit-box-align: center; | 9034 | -webkit-box-align: center; |
9033 | -ms-flex-align: center; | 9035 | -ms-flex-align: center; |
9034 | align-items: center; | 9036 | align-items: center; |
9035 | -webkit-box-pack: justify; | 9037 | -webkit-box-pack: justify; |
9036 | -ms-flex-pack: justify; | 9038 | -ms-flex-pack: justify; |
9037 | justify-content: space-between; | 9039 | justify-content: space-between; |
9038 | } | 9040 | } |
9039 | .cabinet__works-spoiler-left { | 9041 | .cabinet__works-spoiler-left { |
9040 | display: -webkit-box; | 9042 | display: -webkit-box; |
9041 | display: -ms-flexbox; | 9043 | display: -ms-flexbox; |
9042 | display: flex; | 9044 | display: flex; |
9043 | -webkit-box-align: center; | 9045 | -webkit-box-align: center; |
9044 | -ms-flex-align: center; | 9046 | -ms-flex-align: center; |
9045 | align-items: center; | 9047 | align-items: center; |
9046 | width: calc(100% - 22px); | 9048 | width: calc(100% - 22px); |
9047 | } | 9049 | } |
9048 | .cabinet__works-spoiler-right { | 9050 | .cabinet__works-spoiler-right { |
9049 | width: 22px; | 9051 | width: 22px; |
9050 | height: 22px; | 9052 | height: 22px; |
9051 | display: -webkit-box; | 9053 | display: -webkit-box; |
9052 | display: -ms-flexbox; | 9054 | display: -ms-flexbox; |
9053 | display: flex; | 9055 | display: flex; |
9054 | -webkit-box-align: center; | 9056 | -webkit-box-align: center; |
9055 | -ms-flex-align: center; | 9057 | -ms-flex-align: center; |
9056 | align-items: center; | 9058 | align-items: center; |
9057 | -webkit-box-pack: center; | 9059 | -webkit-box-pack: center; |
9058 | -ms-flex-pack: center; | 9060 | -ms-flex-pack: center; |
9059 | justify-content: center; | 9061 | justify-content: center; |
9060 | color: #377d87; | 9062 | color: #377d87; |
9061 | padding: 0; | 9063 | padding: 0; |
9062 | background: none; | 9064 | background: none; |
9063 | border: none; | 9065 | border: none; |
9064 | } | 9066 | } |
9065 | .cabinet__works-spoiler-right svg { | 9067 | .cabinet__works-spoiler-right svg { |
9066 | width: 60%; | 9068 | width: 60%; |
9067 | aspect-ratio: 1/1; | 9069 | aspect-ratio: 1/1; |
9068 | -webkit-transform: rotate(90deg); | 9070 | -webkit-transform: rotate(90deg); |
9069 | -ms-transform: rotate(90deg); | 9071 | -ms-transform: rotate(90deg); |
9070 | transform: rotate(90deg); | 9072 | transform: rotate(90deg); |
9071 | -webkit-transition: 0.3s; | 9073 | -webkit-transition: 0.3s; |
9072 | transition: 0.3s; | 9074 | transition: 0.3s; |
9073 | } | 9075 | } |
9074 | .cabinet__works-spoiler.active .cabinet__works-spoiler-right svg { | 9076 | .cabinet__works-spoiler.active .cabinet__works-spoiler-right svg { |
9075 | -webkit-transform: rotate(-90deg); | 9077 | -webkit-transform: rotate(-90deg); |
9076 | -ms-transform: rotate(-90deg); | 9078 | -ms-transform: rotate(-90deg); |
9077 | transform: rotate(-90deg); | 9079 | transform: rotate(-90deg); |
9078 | } | 9080 | } |
9079 | .cabinet__works-spoiler-buttons { | 9081 | .cabinet__works-spoiler-buttons { |
9080 | display: -webkit-box; | 9082 | display: -webkit-box; |
9081 | display: -ms-flexbox; | 9083 | display: -ms-flexbox; |
9082 | display: flex; | 9084 | display: flex; |
9083 | -webkit-box-align: center; | 9085 | -webkit-box-align: center; |
9084 | -ms-flex-align: center; | 9086 | -ms-flex-align: center; |
9085 | align-items: center; | 9087 | align-items: center; |
9086 | -webkit-box-pack: justify; | 9088 | -webkit-box-pack: justify; |
9087 | -ms-flex-pack: justify; | 9089 | -ms-flex-pack: justify; |
9088 | justify-content: space-between; | 9090 | justify-content: space-between; |
9089 | width: 60px; | 9091 | width: 60px; |
9090 | } | 9092 | } |
9091 | @media (min-width: 768px) { | 9093 | @media (min-width: 768px) { |
9092 | .cabinet__works-spoiler-buttons { | 9094 | .cabinet__works-spoiler-buttons { |
9093 | width: 74px; | 9095 | width: 74px; |
9094 | } | 9096 | } |
9095 | } | 9097 | } |
9096 | .cabinet__works-spoiler-buttons .button { | 9098 | .cabinet__works-spoiler-buttons .button { |
9097 | width: 22px; | 9099 | width: 22px; |
9098 | height: 22px; | 9100 | height: 22px; |
9099 | padding: 0; | 9101 | padding: 0; |
9100 | } | 9102 | } |
9101 | @media (min-width: 768px) { | 9103 | @media (min-width: 768px) { |
9102 | .cabinet__works-spoiler-buttons .button { | 9104 | .cabinet__works-spoiler-buttons .button { |
9103 | width: 30px; | 9105 | width: 30px; |
9104 | height: 30px; | 9106 | height: 30px; |
9105 | } | 9107 | } |
9106 | } | 9108 | } |
9107 | .cabinet__works-spoiler-text { | 9109 | .cabinet__works-spoiler-text { |
9108 | width: calc(100% - 60px); | 9110 | width: calc(100% - 60px); |
9109 | font-size: 17px; | 9111 | font-size: 17px; |
9110 | font-weight: 700; | 9112 | font-weight: 700; |
9111 | color: #000; | 9113 | color: #000; |
9112 | } | 9114 | } |
9113 | @media (min-width: 768px) { | 9115 | @media (min-width: 768px) { |
9114 | .cabinet__works-spoiler-text { | 9116 | .cabinet__works-spoiler-text { |
9115 | width: calc(100% - 74px); | 9117 | width: calc(100% - 74px); |
9116 | font-size: 22px; | 9118 | font-size: 22px; |
9117 | } | 9119 | } |
9118 | } | 9120 | } |
9119 | 9121 | ||
9120 | .cabinet__works-add { | 9122 | .cabinet__works-add { |
9121 | padding: 0; | 9123 | padding: 0; |
9122 | width: 100%; | 9124 | width: 100%; |
9123 | max-width: 160px; | 9125 | max-width: 160px; |
9124 | } | 9126 | } |
9125 | @media (min-width: 768px) { | 9127 | @media (min-width: 768px) { |
9126 | .cabinet__works-add { | 9128 | .cabinet__works-add { |
9127 | max-width: 220px; | 9129 | max-width: 220px; |
9128 | } | 9130 | } |
9129 | } | 9131 | } |
9130 | .cabinet__buttons { | 9132 | .cabinet__buttons { |
9131 | display: -webkit-box; | 9133 | display: -webkit-box; |
9132 | display: -ms-flexbox; | 9134 | display: -ms-flexbox; |
9133 | display: flex; | 9135 | display: flex; |
9134 | -webkit-box-orient: vertical; | 9136 | -webkit-box-orient: vertical; |
9135 | -webkit-box-direction: normal; | 9137 | -webkit-box-direction: normal; |
9136 | -ms-flex-direction: column; | 9138 | -ms-flex-direction: column; |
9137 | flex-direction: column; | 9139 | flex-direction: column; |
9138 | -webkit-box-align: center; | 9140 | -webkit-box-align: center; |
9139 | -ms-flex-align: center; | 9141 | -ms-flex-align: center; |
9140 | align-items: center; | 9142 | align-items: center; |
9141 | gap: 10px; | 9143 | gap: 10px; |
9142 | } | 9144 | } |
9143 | @media (min-width: 768px) { | 9145 | @media (min-width: 768px) { |
9144 | .cabinet__buttons { | 9146 | .cabinet__buttons { |
9145 | display: grid; | 9147 | display: grid; |
9146 | grid-template-columns: 1fr 1fr; | 9148 | grid-template-columns: 1fr 1fr; |
9147 | gap: 20px; | 9149 | gap: 20px; |
9148 | } | 9150 | } |
9149 | } | 9151 | } |
9150 | .cabinet__buttons .button, | 9152 | .cabinet__buttons .button, |
9151 | .cabinet__buttons .file { | 9153 | .cabinet__buttons .file { |
9152 | padding: 0; | 9154 | padding: 0; |
9153 | width: 100%; | 9155 | width: 100%; |
9154 | max-width: 140px; | 9156 | max-width: 140px; |
9155 | } | 9157 | } |
9156 | @media (min-width: 768px) { | 9158 | @media (min-width: 768px) { |
9157 | .cabinet__buttons .button, | 9159 | .cabinet__buttons .button, |
9158 | .cabinet__buttons .file { | 9160 | .cabinet__buttons .file { |
9159 | max-width: none; | 9161 | max-width: none; |
9160 | } | 9162 | } |
9161 | } | 9163 | } |
9162 | @media (min-width: 768px) { | 9164 | @media (min-width: 768px) { |
9163 | .cabinet__buttons { | 9165 | .cabinet__buttons { |
9164 | gap: 20px; | 9166 | gap: 20px; |
9165 | } | 9167 | } |
9166 | } | 9168 | } |
9167 | @media (min-width: 1280px) { | 9169 | @media (min-width: 1280px) { |
9168 | .cabinet__buttons { | 9170 | .cabinet__buttons { |
9169 | max-width: 400px; | 9171 | max-width: 400px; |
9170 | } | 9172 | } |
9171 | } | 9173 | } |
9172 | .cabinet__buttons_flex{ | 9174 | .cabinet__buttons_flex{ |
9173 | display: flex; | 9175 | display: flex; |
9174 | } | 9176 | } |
9175 | .cabinet__buttons_flex > *{ | 9177 | .cabinet__buttons_flex > *{ |
9176 | margin-right: 10px; | 9178 | margin-right: 10px; |
9177 | } | 9179 | } |
9178 | .cabinet__vacs { | 9180 | .cabinet__vacs { |
9179 | display: -webkit-box; | 9181 | display: -webkit-box; |
9180 | display: -ms-flexbox; | 9182 | display: -ms-flexbox; |
9181 | display: flex; | 9183 | display: flex; |
9182 | -webkit-box-orient: vertical; | 9184 | -webkit-box-orient: vertical; |
9183 | -webkit-box-direction: reverse; | 9185 | -webkit-box-direction: reverse; |
9184 | -ms-flex-direction: column-reverse; | 9186 | -ms-flex-direction: column-reverse; |
9185 | flex-direction: column-reverse; | 9187 | flex-direction: column-reverse; |
9186 | -webkit-box-align: center; | 9188 | -webkit-box-align: center; |
9187 | -ms-flex-align: center; | 9189 | -ms-flex-align: center; |
9188 | align-items: center; | 9190 | align-items: center; |
9189 | gap: 20px; | 9191 | gap: 20px; |
9190 | } | 9192 | } |
9191 | .cabinet__vacs-body { | 9193 | .cabinet__vacs-body { |
9192 | display: -webkit-box; | 9194 | display: -webkit-box; |
9193 | display: -ms-flexbox; | 9195 | display: -ms-flexbox; |
9194 | display: flex; | 9196 | display: flex; |
9195 | -webkit-box-orient: vertical; | 9197 | -webkit-box-orient: vertical; |
9196 | -webkit-box-direction: normal; | 9198 | -webkit-box-direction: normal; |
9197 | -ms-flex-direction: column; | 9199 | -ms-flex-direction: column; |
9198 | flex-direction: column; | 9200 | flex-direction: column; |
9199 | gap: 20px; | 9201 | gap: 20px; |
9200 | width: 100%; | 9202 | width: 100%; |
9201 | } | 9203 | } |
9202 | @media (min-width: 768px) { | 9204 | @media (min-width: 768px) { |
9203 | .cabinet__vacs-body { | 9205 | .cabinet__vacs-body { |
9204 | gap: 30px; | 9206 | gap: 30px; |
9205 | } | 9207 | } |
9206 | } | 9208 | } |
9207 | .cabinet__vacs-item { | 9209 | .cabinet__vacs-item { |
9208 | display: none; | 9210 | display: none; |
9209 | background: #fff; | 9211 | background: #fff; |
9210 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 9212 | -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
9211 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); | 9213 | box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2); |
9212 | } | 9214 | } |
9213 | .cabinet__vacs-item:nth-of-type(1), .cabinet__vacs-item:nth-of-type(2) { | 9215 | .cabinet__vacs-item:nth-of-type(1), .cabinet__vacs-item:nth-of-type(2) { |
9214 | display: -webkit-box; | 9216 | display: -webkit-box; |
9215 | display: -ms-flexbox; | 9217 | display: -ms-flexbox; |
9216 | display: flex; | 9218 | display: flex; |
9217 | } | 9219 | } |
9218 | .cabinet__vacs.active .cabinet__vacs-item { | 9220 | .cabinet__vacs.active .cabinet__vacs-item { |
9219 | display: -webkit-box; | 9221 | display: -webkit-box; |
9220 | display: -ms-flexbox; | 9222 | display: -ms-flexbox; |
9221 | display: flex; | 9223 | display: flex; |
9222 | } | 9224 | } |
9223 | .main__employer-page-two-item-text-body img { | 9225 | .main__employer-page-two-item-text-body img { |
9224 | display: inline !important; | 9226 | display: inline !important; |
9225 | border: none !important; | 9227 | border: none !important; |
9226 | box-shadow: none !important; | 9228 | box-shadow: none !important; |
9227 | height: 1em !important; | 9229 | height: 1em !important; |
9228 | width: 1em !important; | 9230 | width: 1em !important; |
9229 | margin: 0 0.07em !important; | 9231 | margin: 0 0.07em !important; |
9230 | vertical-align: -0.1em !important; | 9232 | vertical-align: -0.1em !important; |
9231 | background: none !important; | 9233 | background: none !important; |
9232 | padding: 0 !important; | 9234 | padding: 0 !important; |
9233 | } | 9235 | } |
9234 | .main__employer-page-two-item-text-body p{ | 9236 | .main__employer-page-two-item-text-body p{ |
9235 | margin: 0 0 20px; | 9237 | margin: 0 0 20px; |
9236 | } | 9238 | } |
9237 | #sertificate .one-sertificate{ | 9239 | #sertificate .one-sertificate{ |
9238 | display: flex; | 9240 | display: flex; |
9239 | justify-content: space-between; | 9241 | justify-content: space-between; |
9240 | margin-bottom: 15px; | 9242 | margin-bottom: 15px; |
9241 | border-bottom: 1px #ccc solid; | 9243 | border-bottom: 1px #ccc solid; |
9242 | padding-bottom: 15px; | 9244 | padding-bottom: 15px; |
9243 | } | 9245 | } |
9244 | #sertificate .one-sertificate .sertificate-field{ | 9246 | #sertificate .one-sertificate .sertificate-field{ |
9245 | display: block; | 9247 | display: block; |
9246 | } | 9248 | } |
9247 | #sertificate .one-sertificate .sertificate-field.sertificate-name{ | 9249 | #sertificate .one-sertificate .sertificate-field.sertificate-name{ |
9248 | width: 50%; | 9250 | width: 50%; |
9249 | max-width: 50%; | 9251 | max-width: 50%; |
9250 | } | 9252 | } |
9251 | #sertificate .one-sertificate .sertificate-field.sertificate-buttons{ | 9253 | #sertificate .one-sertificate .sertificate-field.sertificate-buttons{ |
9252 | display: flex; | 9254 | display: flex; |
9253 | justify-content: space-between; | 9255 | justify-content: space-between; |
9254 | } | 9256 | } |
9255 | #sertificate .one-sertificate .sertificate-field.sertificate-buttons a{ | 9257 | #sertificate .one-sertificate .sertificate-field.sertificate-buttons a{ |
9256 | width: 30px; | 9258 | width: 30px; |
9257 | height: 30px; | 9259 | height: 30px; |
9258 | padding: 5px; | 9260 | padding: 5px; |
9259 | } | 9261 | } |
9260 | #prev_worker .cabinet__inputs-item-buttons a{ | 9262 | #prev_worker .cabinet__inputs-item-buttons a{ |
9261 | width: 30px; | 9263 | width: 30px; |
9262 | height: 30px; | 9264 | height: 30px; |
9263 | padding: 5px; | 9265 | padding: 5px; |
9264 | } | 9266 | } |
9265 | #prev_worker .cabinet__inputs-item-buttons{ | 9267 | #prev_worker .cabinet__inputs-item-buttons{ |
9266 | width: 100px; | 9268 | width: 100px; |
9267 | } | 9269 | } |
9268 | #prev_worker .cabinet__inputs{ | 9270 | #prev_worker .cabinet__inputs{ |
9269 | -webkit-box-align: start; | 9271 | -webkit-box-align: start; |
9270 | -ms-flex-align: start; | 9272 | -ms-flex-align: start; |
9271 | align-items: start; | 9273 | align-items: start; |
9272 | } | 9274 | } |
9273 | #prev_worker .cabinet__inputs-item-buttons flex{ | 9275 | #prev_worker .cabinet__inputs-item-buttons flex{ |
9274 | justify-content: end; | 9276 | justify-content: end; |
9275 | } | 9277 | } |
9276 | #prev_worker .cabinet__body-item{ | 9278 | #prev_worker .cabinet__body-item{ |
9277 | border-bottom: 1px #cccccc solid; | 9279 | border-bottom: 1px #cccccc solid; |
9278 | padding-bottom: 25px; | 9280 | padding-bottom: 25px; |
9279 | } | 9281 | } |
9280 | @media (max-width: 1280px) { | 9282 | @media (max-width: 1280px) { |
9281 | #prev_worker .cabinet__inputs-item-buttons{ | 9283 | #prev_worker .cabinet__inputs-item-buttons{ |
9282 | position: absolute; | 9284 | position: absolute; |
9283 | right: 0; | 9285 | right: 0; |
9284 | } | 9286 | } |
9285 | } | 9287 | } |
9286 | body .cke_notifications_area{ | 9288 | body .cke_notifications_area{ |
9287 | opacity: 0; | 9289 | opacity: 0; |
9288 | display: none !important; | 9290 | display: none !important; |
9289 | } | 9291 | } |
9290 | .unread-messages-count{ | 9292 | .unread-messages-count{ |
9291 | background-color: #377d87; | 9293 | background-color: #377d87; |
9292 | color: #fff; | 9294 | color: #fff; |
9293 | padding: 5px 10px; | 9295 | padding: 5px 10px; |
9294 | border-radius: 45px; | 9296 | border-radius: 45px; |
9295 | } | 9297 | } |
9296 | 9298 | ||
9297 | /* Диалог модал */ | 9299 | /* Диалог модал */ |
9298 | .modal-dialog{ | 9300 | .modal-dialog{ |
9299 | border-radius: 10px; | 9301 | border-radius: 10px; |
9300 | } | 9302 | } |
9301 | .modal-dialog .modal-dialog-footer{ | 9303 | .modal-dialog .modal-dialog-footer{ |
9302 | display: flex; | 9304 | display: flex; |
9303 | justify-content: space-between; | 9305 | justify-content: space-between; |
9304 | } | 9306 | } |
9305 | .modal-dialog .modal-dialog-footer.center{ | 9307 | .modal-dialog .modal-dialog-footer.center{ |
9306 | display: flex; | 9308 | display: flex; |
9307 | justify-content: center; | 9309 | justify-content: center; |
9308 | } | 9310 | } |
9309 | 9311 | ||
9310 | .button-loader { | 9312 | .button-loader { |
9311 | border: 2px solid #f3f3f3; | 9313 | border: 2px solid #f3f3f3; |
9312 | -webkit-animation: spin 1s linear infinite; | 9314 | -webkit-animation: spin 1s linear infinite; |
9313 | animation: spin 1s linear infinite; | 9315 | animation: spin 1s linear infinite; |
9314 | border-top: 2px solid #555; | 9316 | border-top: 2px solid #555; |
9315 | border-radius: 50%; | 9317 | border-radius: 50%; |
9316 | width: 20px; | 9318 | width: 20px; |
9317 | height: 20px; | 9319 | height: 20px; |
9318 | } | 9320 | } |
9319 | @keyframes spin { | 9321 | @keyframes spin { |
9320 | 0% { transform: rotate(0deg); } | 9322 | 0% { transform: rotate(0deg); } |
9321 | 100% { transform: rotate(360deg); } | 9323 | 100% { transform: rotate(360deg); } |
9322 | } | 9324 | } |
9323 | .error-block{ | 9325 | .error-block{ |
9324 | color:red; | 9326 | color:red; |
9325 | padding: 0; | 9327 | padding: 0; |
9326 | width: 100%; | 9328 | width: 100%; |
9327 | } | 9329 | } |
9328 | 9330 | ||
9329 | .review-image-modal{ | 9331 | .review-image-modal{ |
9330 | cursor: pointer; | 9332 | cursor: pointer; |
9331 | } | 9333 | } |
9332 | 9334 | ||
9333 | .flot-one-ship .flot-label{ | 9335 | .flot-one-ship .flot-label{ |
9334 | font-weight: bold; | 9336 | font-weight: bold; |
9335 | display: flex; | 9337 | display: flex; |
9336 | } | 9338 | } |
9337 | .flot-one-ship .flot-label .flot-label-name{ | 9339 | .flot-one-ship .flot-label .flot-label-name{ |
9338 | color: #377d87; | 9340 | color: #377d87; |
9339 | min-width: 120px; | 9341 | min-width: 120px; |
9340 | } | 9342 | } |
9341 | 9343 |
resources/views/employers/bd.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 | $(document).ready(function(){ | 5 | $(document).ready(function(){ |
6 | $('[name="job_title_list[]"]').chosen({ | 6 | $('[name="job_title_list[]"]').chosen({ |
7 | width: '100%' | 7 | width: '100%' |
8 | }) | 8 | }) |
9 | $('[name="job_titles__name"]').change(function(){ | 9 | $('[name="job_titles__name"]').change(function(){ |
10 | if ($(this).is(':checked')){ | 10 | if ($(this).is(':checked')){ |
11 | $(".job-title-list-wrap").css("display", "block"); | 11 | $(".job-title-list-wrap").css("display", "block"); |
12 | } else { | 12 | } else { |
13 | $(".job-title-list-wrap").css("display", "none"); | 13 | $(".job-title-list-wrap").css("display", "none"); |
14 | } | 14 | } |
15 | }); | 15 | }); |
16 | $('.cabinet__export-button-wrap button').click(function(){ | 16 | $('.cabinet__export-button-wrap button').click(function(){ |
17 | $('.cabinet__export-error').parent().remove(); | 17 | $('.cabinet__export-error').parent().remove(); |
18 | }); | 18 | }); |
19 | |||
20 | $('.search-reset-button').click(function(){ | ||
21 | var wrap = $(this).closest('.cabinet__filters'); | ||
22 | wrap.find('[name="search"]').val(''); | ||
23 | }); | ||
19 | }); | 24 | }); |
20 | 25 | ||
21 | 26 | ||
22 | $(document).on('click', '.die_black', function() { | 27 | $(document).on('click', '.die_black', function() { |
23 | var this_ = $(this); | 28 | var this_ = $(this); |
24 | var ajax_ = $('#ajax_flot_div'); | 29 | var ajax_ = $('#ajax_flot_div'); |
25 | var id_ = this_.attr('data-test'); | 30 | var id_ = this_.attr('data-test'); |
26 | var url_ = this_.attr('data-link'); | 31 | var url_ = this_.attr('data-link'); |
27 | 32 | ||
28 | console.log(url_); | 33 | console.log(url_); |
29 | $.ajax({ | 34 | $.ajax({ |
30 | type: "GET", | 35 | type: "GET", |
31 | url: url_, | 36 | url: url_, |
32 | success: function (data) { | 37 | success: function (data) { |
33 | console.log('Ответка'); | 38 | console.log('Ответка'); |
34 | ajax_.html(data); | 39 | ajax_.html(data); |
35 | }, | 40 | }, |
36 | headers: { | 41 | headers: { |
37 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 42 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
38 | }, | 43 | }, |
39 | error: function (data) { | 44 | error: function (data) { |
40 | console.log('Error: ' + data); | 45 | console.log('Error: ' + data); |
41 | } | 46 | } |
42 | }); | 47 | }); |
43 | 48 | ||
44 | }); | 49 | }); |
45 | </script> | 50 | </script> |
46 | @endsection | 51 | @endsection |
47 | 52 | ||
48 | @section('content') | 53 | @section('content') |
49 | <section class="cabinet"> | 54 | <section class="cabinet"> |
50 | <div class="container"> | 55 | <div class="container"> |
51 | <ul class="breadcrumbs cabinet__breadcrumbs"> | 56 | <ul class="breadcrumbs cabinet__breadcrumbs"> |
52 | <li><a href="{{ route('index') }}">Главная</a></li> | 57 | <li><a href="{{ route('index') }}">Главная</a></li> |
53 | <li><b>Личный кабинет</b></li> | 58 | <li><b>Личный кабинет</b></li> |
54 | </ul> | 59 | </ul> |
55 | <div class="cabinet__wrapper"> | 60 | <div class="cabinet__wrapper"> |
56 | <div class="cabinet__side"> | 61 | <div class="cabinet__side"> |
57 | <div class="cabinet__side-toper"> | 62 | <div class="cabinet__side-toper"> |
58 | @include('employers.emblema') | 63 | @include('employers.emblema') |
59 | </div> | 64 | </div> |
60 | @include('employers.menu', ['item' => 7]) | 65 | @include('employers.menu', ['item' => 7]) |
61 | </div> | 66 | </div> |
62 | 67 | ||
63 | <div class="cabinet__body"> | 68 | <div class="cabinet__body"> |
64 | <div class="cabinet__body-item"> | 69 | <div class="cabinet__body-item"> |
65 | <h2 class="title cabinet__title">База данных</h2> | 70 | <h2 class="title cabinet__title">База данных</h2> |
66 | </div> | 71 | </div> |
67 | <div class="cabinet__body-item"> | 72 | <div class="cabinet__body-item"> |
68 | <div class="cabinet__filters"> | 73 | <div class="cabinet__filters" style="display: flex;flex-direction: unset;justify-content: left;align-items: center;"> |
69 | <div class="cabinet__filters-item"> | 74 | <div class="cabinet__filters-item"> |
70 | <form class="search" action="{{ route('employer.bd') }}"> | 75 | <form class="search" action="{{ route('employer.bd') }}"> |
71 | <input type="search" name="search" id="search" class="input" placeholder="Поиск…" value="@if (isset($_GET['search'])) {{ $_GET['search'] }} @endif"> | 76 | <input type="search" name="search" id="search" class="input" placeholder="Поиск…" value="@if (isset($_GET['search'])) {{ $_GET['search'] }} @endif"> |
72 | <button type="submit" class="button">Найти</button> | 77 | <button type="submit" class="button">Найти</button> |
73 | <span> | 78 | <span> |
74 | <svg> | 79 | <svg> |
75 | <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use> | 80 | <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use> |
76 | </svg> | 81 | </svg> |
77 | </span> | 82 | </span> |
78 | </form> | 83 | </form> |
79 | </div> | 84 | </div> |
85 | <a href="javascript:void(0)" class="search-reset-button bold font18" style="color: #377d87;">Сбросить поиск</a> | ||
80 | </div> | 86 | </div> |
81 | <div class="cabinet__filters"> | 87 | <div class="cabinet__filters"> |
82 | <div class="cabinet__export-wrap"> | 88 | <div class="cabinet__export-wrap"> |
83 | <form action="{{ route('resume_download_all') }}" method="GET" target="_blank"> | 89 | <form action="{{ route('resume_download_all') }}" method="GET" target="_blank"> |
84 | <div class="cabinet__export-button-wrap"> | 90 | <div class="cabinet__export-button-wrap"> |
85 | <button type="submit" class="button"> | 91 | <button type="submit" class="button"> |
86 | <svg> | 92 | <svg> |
87 | <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use> | 93 | <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use> |
88 | </svg> | 94 | </svg> |
89 | Экспорт | 95 | Экспорт |
90 | </button> | 96 | </button> |
91 | </div> | 97 | </div> |
92 | <div class="cabinet__export-options-wrap"> | 98 | <div class="cabinet__export-options-wrap"> |
93 | @foreach ($export_options as $key => $value) | 99 | @foreach ($export_options as $key => $value) |
94 | <label class="checkbox"> | 100 | <label class="checkbox"> |
95 | <input type="checkbox" value="1" name="{{$key}}" class="checkbox__input" checked=""> | 101 | <input type="checkbox" value="1" name="{{$key}}" class="checkbox__input" checked=""> |
96 | <span class="checkbox__icon"> | 102 | <span class="checkbox__icon"> |
97 | <svg> | 103 | <svg> |
98 | <use xlink:href="{{ asset('images/sprite.svg#v') }}"></use> | 104 | <use xlink:href="{{ asset('images/sprite.svg#v') }}"></use> |
99 | </svg> | 105 | </svg> |
100 | </span> | 106 | </span> |
101 | <span class="checkbox__text"> | 107 | <span class="checkbox__text"> |
102 | <span>{{$value}}</span> | 108 | <span>{{$value}}</span> |
103 | </span> | 109 | </span> |
104 | </label> | 110 | </label> |
105 | @endforeach | 111 | @endforeach |
106 | </div> | 112 | </div> |
107 | <div class="job-title-list-wrap"> | 113 | <div class="job-title-list-wrap"> |
108 | <select name="job_title_list[]" data-placeholder="Выберите должности" multiple > | 114 | <select name="job_title_list[]" data-placeholder="Выберите должности" multiple > |
109 | @foreach($jobs_titles as $job_title) | 115 | @foreach($jobs_titles as $job_title) |
110 | <option value="{{$job_title['id']}}">{{$job_title['name']}}</option> | 116 | <option value="{{$job_title['id']}}">{{$job_title['name']}}</option> |
111 | @endforeach | 117 | @endforeach |
112 | </select> | 118 | </select> |
113 | </div> | 119 | </div> |
114 | </form> | 120 | </form> |
115 | </div> | 121 | </div> |
116 | </div> | 122 | </div> |
117 | @if(session('error')) | 123 | @if(session('error')) |
118 | <div class="cabinet__filters"> | 124 | <div class="cabinet__filters"> |
119 | <p class="cabinet__export-error">{{ session('error') }}</p> | 125 | <p class="cabinet__export-error">{{ session('error') }}</p> |
120 | </div> | 126 | </div> |
121 | @endif | 127 | @endif |
122 | 128 | ||
123 | </div> | 129 | </div> |
124 | 130 | ||
125 | <div class="cabinet__body-item"> | 131 | <div class="cabinet__body-item"> |
126 | <div class="cabinet__table-header"> | 132 | <div class="cabinet__table-header"> |
127 | <div> | 133 | <div> |
128 | Позиции работников | 134 | Позиции работников |
129 | </div> | 135 | </div> |
130 | <span> | 136 | <span> |
131 | Пользователей найдено: | 137 | Пользователей найдено: |
132 | <b>{{ $count_users->count() }}</b> | 138 | <b>{{ $count_users->count() }}</b> |
133 | </span> | 139 | </span> |
134 | </div> | 140 | </div> |
135 | <div class="table table_spoiler"> | 141 | <div class="table table_spoiler"> |
136 | <!--<button type="button" class="table__button js-toggle js-parent-toggle button button_light button_more"> | 142 | <!--<button type="button" class="table__button js-toggle js-parent-toggle button button_light button_more"> |
137 | <span>Показать ещё</span> | 143 | <span>Показать ещё</span> |
138 | <span>Свернуть</span> | 144 | <span>Свернуть</span> |
139 | </button>--> | 145 | </button>--> |
140 | 146 | ||
141 | <div class="table__scroll"> | 147 | <div class="table__scroll"> |
142 | <div class="table__body table__body_min-width"> | 148 | <div class="table__body table__body_min-width"> |
143 | <table> | 149 | <table> |
144 | <thead> | 150 | <thead> |
145 | <tr> | 151 | <tr> |
146 | <th>ФИО соискателя</th> | 152 | <th>ФИО соискателя</th> |
147 | <th>Должность</th> | 153 | <th>Должность</th> |
148 | <th>Наличие<br>анкеты</th> | 154 | <th>Наличие<br>анкеты</th> |
149 | </tr> | 155 | </tr> |
150 | </thead> | 156 | </thead> |
151 | <tbody> | 157 | <tbody> |
152 | @php | 158 | @php |
153 | $categories = 0; | 159 | $categories = 0; |
154 | 160 | ||
155 | @endphp | 161 | @endphp |
156 | 162 | ||
157 | @if ($users->count()) | 163 | @if ($users->count()) |
158 | @foreach ($users as $key => $it) | 164 | @foreach ($users as $key => $it) |
159 | <tr> | 165 | <tr> |
160 | <td>{{ $it->surname." ".$it->name_man }}<br>{{ $it->surname2 }}</td> | 166 | <td>{{ $it->surname." ".$it->name_man }}<br>{{ $it->surname2 }}</td> |
161 | 167 | ||
162 | <td>{{ $it->jobtitles[0]->name ?? '-' }}</td> | 168 | <td>{{ $it->jobtitles[0]->name ?? '-' }}</td> |
163 | 169 | ||
164 | <td> | 170 | <td> |
165 | @if (isset($it->workers[0]->id)) | 171 | @if (isset($it->workers[0]->id)) |
166 | <a href="{{ route('resume_download', ['worker' => $it->workers[0]->id]) }}" class="table__link"> | 172 | <a href="{{ route('resume_download', ['worker' => $it->workers[0]->id]) }}" class="table__link"> |
167 | <svg> | 173 | <svg> |
168 | <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use> | 174 | <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use> |
169 | </svg> | 175 | </svg> |
170 | Скачать | 176 | Скачать |
171 | </a> | 177 | </a> |
172 | @endif | 178 | @endif |
173 | </td> | 179 | </td> |
174 | </tr> | 180 | </tr> |
175 | @endforeach | 181 | @endforeach |
176 | @endif | 182 | @endif |
177 | </tbody> | 183 | </tbody> |
178 | </table> | 184 | </table> |
179 | </div> | 185 | </div> |
180 | 186 | ||
181 | </div> | 187 | </div> |
182 | </div> | 188 | </div> |
183 | {{ $users->onEachSide(0)->appends($_GET)->links('paginate') }} | 189 | {{ $users->onEachSide(0)->appends($_GET)->links('paginate') }} |
184 | </div> | 190 | </div> |
185 | </div> | 191 | </div> |
186 | </div> | 192 | </div> |
187 | </div> | 193 | </div> |
188 | </section> | 194 | </section> |
189 | </div> | 195 | </div> |
190 | @endsection | 196 | @endsection |
191 | 197 |
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 | console.log('Test system'); | 5 | $(function(){ |
6 | var chatbox_div = $('.chatbox__list'); | ||
7 | chatbox_div.scrollTop(chatbox_div.prop("scrollHeight")); | ||
8 | }); | ||
9 | |||
6 | $(document).on('change', '#send_btn', function() { | 10 | $(document).on('change', '#send_btn', function() { |
7 | var this_ = $(this); | 11 | var this_ = $(this); |
8 | var val_ = this_.val(); | 12 | var val_ = this_.val(); |
9 | console.log('sort items '+val_); | 13 | console.log('sort items '+val_); |
10 | 14 | ||
11 | $.ajax({ | 15 | $.ajax({ |
12 | type: "GET", | 16 | type: "GET", |
13 | url: "{{ route('shipping_companies') }}", | 17 | url: "{{ route('shipping_companies') }}", |
14 | data: "sort="+val_+"&block=1", | 18 | data: "sort="+val_+"&block=1", |
15 | success: function (data) { | 19 | success: function (data) { |
16 | console.log('Выбор сортировки'); | 20 | console.log('Выбор сортировки'); |
17 | console.log(data); | 21 | console.log(data); |
18 | $('#block_1').html(data); | 22 | $('#block_1').html(data); |
19 | }, | 23 | }, |
20 | headers: { | 24 | headers: { |
21 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 25 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
22 | }, | 26 | }, |
23 | error: function (data) { | 27 | error: function (data) { |
24 | data = JSON.stringify(data); | 28 | data = JSON.stringify(data); |
25 | console.log('Error: ' + data); | 29 | console.log('Error: ' + data); |
26 | } | 30 | } |
27 | }); | 31 | }); |
28 | 32 | ||
29 | $.ajax({ | 33 | $.ajax({ |
30 | type: "GET", | 34 | type: "GET", |
31 | url: "{{ route('shipping_companies') }}", | 35 | url: "{{ route('shipping_companies') }}", |
32 | data: "sort="+val_+"&block=2", | 36 | data: "sort="+val_+"&block=2", |
33 | success: function (data) { | 37 | success: function (data) { |
34 | console.log('Выбор сортировки2'); | 38 | console.log('Выбор сортировки2'); |
35 | console.log(data); | 39 | console.log(data); |
36 | 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"); |
37 | $('#block_2').html(data); | 41 | $('#block_2').html(data); |
38 | }, | 42 | }, |
39 | headers: { | 43 | headers: { |
40 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 44 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
41 | }, | 45 | }, |
42 | error: function (data) { | 46 | error: function (data) { |
43 | data = JSON.stringify(data); | 47 | data = JSON.stringify(data); |
44 | console.log('Error: ' + data); | 48 | console.log('Error: ' + data); |
45 | } | 49 | } |
46 | }); | 50 | }); |
47 | }); | 51 | }); |
48 | </script> | 52 | </script> |
49 | @endsection | 53 | @endsection |
50 | 54 | ||
51 | @section('content') | 55 | @section('content') |
52 | <section class="cabinet"> | 56 | <section class="cabinet"> |
53 | <div class="container"> | 57 | <div class="container"> |
54 | <ul class="breadcrumbs cabinet__breadcrumbs"> | 58 | <ul class="breadcrumbs cabinet__breadcrumbs"> |
55 | <li><a href="{{ route('index') }}">Главная</a></li> | 59 | <li><a href="{{ route('index') }}">Главная</a></li> |
56 | <li><b>Личный кабинет</b></li> | 60 | <li><b>Личный кабинет</b></li> |
57 | </ul> | 61 | </ul> |
58 | <div class="cabinet__wrapper"> | 62 | <div class="cabinet__wrapper"> |
59 | <div class="cabinet__side"> | 63 | <div class="cabinet__side"> |
60 | <div class="cabinet__side-toper"> | 64 | <div class="cabinet__side-toper"> |
61 | @include('employers.emblema') | 65 | @include('employers.emblema') |
62 | </div> | 66 | </div> |
63 | @include('employers.menu', ['item' => 5]) | 67 | @include('employers.menu', ['item' => 5]) |
64 | </div> | 68 | </div> |
65 | <div class="cabinet__body"> | 69 | <div class="cabinet__body"> |
66 | <div class="cabinet__body-item"> | 70 | <div class="cabinet__body-item"> |
67 | <h2 class="title cabinet__title">Сообщения</h2> | 71 | <h2 class="title cabinet__title">Сообщения</h2> |
68 | </div> | 72 | </div> |
69 | <div class="cabinet__body-item"> | 73 | <div class="cabinet__body-item"> |
70 | <a href="{{ route('employer.messages', ['type_message' => 'input']) }}" class="back"> | 74 | <a href="{{ route('employer.messages', ['type_message' => 'input']) }}" class="back"> |
71 | <svg> | 75 | <svg> |
72 | <use xlink:href="{{ asset('images/sprite.svg#back') }}"></use> | 76 | <use xlink:href="{{ asset('images/sprite.svg#back') }}"></use> |
73 | </svg> | 77 | </svg> |
74 | <span> | 78 | <span> |
75 | К списку чатов | 79 | К списку чатов |
76 | </span> | 80 | </span> |
77 | </a> | 81 | </a> |
78 | <div class="chatbox"> | 82 | <div class="chatbox"> |
79 | <div class="chatbox__toper"> | 83 | <div class="chatbox__toper"> |
80 | @if ($companion->is_worker) | 84 | @if ($companion->is_worker) |
81 | <div class="chatbox__toper-info messages__item-info"> | 85 | <div class="chatbox__toper-info messages__item-info"> |
82 | <div class="messages__item-photo"> | 86 | <div class="messages__item-photo"> |
83 | <svg> | 87 | <svg> |
84 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> | 88 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> |
85 | </svg> | 89 | </svg> |
86 | @if ((isset($companion->workers[0]->photo)) && | 90 | @if ((isset($companion->workers[0]->photo)) && |
87 | (!empty($companion->workers[0]->photo))) | 91 | (!empty($companion->workers[0]->photo))) |
88 | <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=""> |
89 | @else | 93 | @else |
90 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | 94 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> |
91 | @endif | 95 | @endif |
92 | </div> | 96 | </div> |
93 | <div class="messages__item-text"> | 97 | <div class="messages__item-text"> |
94 | <div>{{ $companion->surname." ".$companion->name_man." ".$companion->surname2." (".$companion->id.")" }} </div> | 98 | <div>{{ $companion->surname." ".$companion->name_man." ".$companion->surname2." (".$companion->id.")" }} </div> |
95 | </div> | 99 | </div> |
96 | </div> | 100 | </div> |
97 | @if (isset($companion->workers[0]->id)) | 101 | @if (isset($companion->workers[0]->id)) |
98 | <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"> |
99 | <svg> | 103 | <svg> |
100 | <use xlink:href="{{ asset('images/sprite.svg#cabinet-1') }}"></use> | 104 | <use xlink:href="{{ asset('images/sprite.svg#cabinet-1') }}"></use> |
101 | </svg> | 105 | </svg> |
102 | Перейти в профиль | 106 | Перейти в профиль |
103 | </a> | 107 | </a> |
104 | @endif | 108 | @endif |
105 | @else | 109 | @else |
106 | <div class="chatbox__toper-info messages__item-info"> | 110 | <div class="chatbox__toper-info messages__item-info"> |
107 | <div class="messages__item-photo"> | 111 | <div class="messages__item-photo"> |
108 | <svg> | 112 | <svg> |
109 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> | 113 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> |
110 | </svg> | 114 | </svg> |
111 | @if ((isset($companion->employers[0]->logo)) && | 115 | @if ((isset($companion->employers[0]->logo)) && |
112 | (!empty($companion->employers[0]->logo))) | 116 | (!empty($companion->employers[0]->logo))) |
113 | <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=""> |
114 | @else | 118 | @else |
115 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | 119 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> |
116 | @endif | 120 | @endif |
117 | </div> | 121 | </div> |
118 | <div class="messages__item-text"> | 122 | <div class="messages__item-text"> |
119 | <div>{{ $companion->surname." ".$companion->name_man." ".$companion->surname2." (".$companion->id.")" }} </div> | 123 | <div>{{ $companion->surname." ".$companion->name_man." ".$companion->surname2." (".$companion->id.")" }} </div> |
120 | <div><span>Статус:</span> Работодатель или Администратор</div> | 124 | <div><span>Статус:</span> Работодатель или Администратор</div> |
121 | </div> | 125 | </div> |
122 | </div> | 126 | </div> |
123 | @if (isset($companion->employer->id)) | 127 | @if (isset($companion->employer->id)) |
124 | <a href="" class="button chatbox__toper-button"> | 128 | <a href="" class="button chatbox__toper-button"> |
125 | <svg> | 129 | <svg> |
126 | <use xlink:href="{{ asset('images/sprite.svg#cabinet-1') }}"></use> | 130 | <use xlink:href="{{ asset('images/sprite.svg#cabinet-1') }}"></use> |
127 | </svg> | 131 | </svg> |
128 | Перейти в профиль | 132 | Перейти в профиль |
129 | </a> | 133 | </a> |
130 | @endif | 134 | @endif |
131 | @endif | 135 | @endif |
132 | </div> | 136 | </div> |
133 | 137 | ||
134 | <div class="chatbox__list" id="dialogs" name="dialogs"> | 138 | <div class="chatbox__list" id="dialogs" name="dialogs"> |
135 | @if ($Messages->count()) | 139 | @if ($Messages->count()) |
136 | @foreach ($Messages as $it) | 140 | @foreach ($Messages as $it) |
137 | @if ($it->user_id == $companion->id) | 141 | @if ($it->user_id == $companion->id) |
138 | <div class="chatbox__item"> | 142 | <div class="chatbox__item"> |
139 | <div class="chatbox__item-photo"> | 143 | <div class="chatbox__item-photo"> |
140 | <svg> | 144 | <svg> |
141 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> | 145 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> |
142 | </svg> | 146 | </svg> |
143 | 147 | ||
144 | @if ($companion->is_worker) | 148 | @if ($companion->is_worker) |
145 | @if ((isset($companion->workers[0]->photo)) && | 149 | @if ((isset($companion->workers[0]->photo)) && |
146 | (!empty($companion->workers[0]->photo))) | 150 | (!empty($companion->workers[0]->photo))) |
147 | <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=""> |
148 | @else | 152 | @else |
149 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | 153 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> |
150 | @endif | 154 | @endif |
151 | @else | 155 | @else |
152 | @if ((isset($companion->employers[0]->logo)) && | 156 | @if ((isset($companion->employers[0]->logo)) && |
153 | (!empty($companion->employers[0]->logo))) | 157 | (!empty($companion->employers[0]->logo))) |
154 | <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=""> |
155 | @else | 159 | @else |
156 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | 160 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> |
157 | @endif | 161 | @endif |
158 | @endif | 162 | @endif |
159 | 163 | ||
160 | </div> | 164 | </div> |
161 | <div class="chatbox__item-body"> | 165 | <div class="chatbox__item-body"> |
162 | <div class="chatbox__item-text">{{ $it->text }}</div> | 166 | <div class="chatbox__item-text">{{ $it->text }}</div> |
163 | </div> | 167 | </div> |
164 | <div class="chatbox__item-time">{{ $it->created_at }}</div> | 168 | <div class="chatbox__item-time">{{ $it->created_at }}</div> |
165 | </div> | 169 | </div> |
166 | @else | 170 | @else |
167 | <div class="chatbox__item chatbox__item_reverse"> | 171 | <div class="chatbox__item chatbox__item_reverse"> |
168 | <div class="chatbox__item-photo"> | 172 | <div class="chatbox__item-photo"> |
169 | <svg> | 173 | <svg> |
170 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> | 174 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> |
171 | </svg> | 175 | </svg> |
172 | 176 | ||
173 | @if ($sender->is_worker) | 177 | @if ($sender->is_worker) |
174 | @if ((isset($sender->workers[0]->photo)) && | 178 | @if ((isset($sender->workers[0]->photo)) && |
175 | (!empty($sender->workers[0]->photo))) | 179 | (!empty($sender->workers[0]->photo))) |
176 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($sender->workers[0]->photo)) }}" alt=""> | 180 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($sender->workers[0]->photo)) }}" alt=""> |
177 | @else | 181 | @else |
178 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | 182 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> |
179 | @endif | 183 | @endif |
180 | @else | 184 | @else |
181 | @if ((isset($sender->employers[0]->logo)) && | 185 | @if ((isset($sender->employers[0]->logo)) && |
182 | (!empty($sender->employers[0]->logo))) | 186 | (!empty($sender->employers[0]->logo))) |
183 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($sender->employers[0]->logo)) }}" alt=""> | 187 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($sender->employers[0]->logo)) }}" alt=""> |
184 | @else | 188 | @else |
185 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | 189 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> |
186 | @endif | 190 | @endif |
187 | @endif | 191 | @endif |
188 | 192 | ||
189 | </div> | 193 | </div> |
190 | <div class="chatbox__item-body"> | 194 | <div class="chatbox__item-body"> |
191 | <div class="chatbox__item-text">{{ $it->text }}</div> | 195 | <div class="chatbox__item-text">{{ $it->text }}</div> |
192 | @if ((isset($it->file)) && (!empty($it->file))) | 196 | @if ((isset($it->file)) && (!empty($it->file))) |
193 | <a href="{{ asset(Storage::url($it->file)) }}" class="chatbox__item-text"> | 197 | <a href="{{ asset(Storage::url($it->file)) }}" class="chatbox__item-text"> |
194 | <svg> | 198 | <svg> |
195 | <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> | 199 | <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> |
196 | </svg> | 200 | </svg> |
197 | </a> | 201 | </a> |
198 | @endif | 202 | @endif |
199 | </div> | 203 | </div> |
200 | <div class="chatbox__item-time">{{ $it->created_at }}</div> | 204 | <div class="chatbox__item-time">{{ $it->created_at }}</div> |
201 | </div> | 205 | </div> |
202 | @endif | 206 | @endif |
203 | 207 | ||
204 | @endforeach | 208 | @endforeach |
205 | @endif | 209 | @endif |
206 | </div> | 210 | </div> |
207 | <form action="{{ route('employer.test123') }}" class="chatbox__bottom" enctype="multipart/form-data" method="POST" > | 211 | <form action="{{ route('employer.test123') }}" class="chatbox__bottom" enctype="multipart/form-data" method="POST" > |
208 | @csrf | 212 | @csrf |
209 | <label class="chatbox__bottom-file"> | 213 | <label class="chatbox__bottom-file"> |
210 | <input id="file" name="file" type="file"> | 214 | <input id="file" name="file" type="file"> |
211 | <svg> | 215 | <svg> |
212 | <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> | 216 | <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> |
213 | </svg> | 217 | </svg> |
214 | </label> | 218 | </label> |
215 | <input type="hidden" name="_token" value="{{ csrf_token() }}"/> | 219 | <input type="hidden" name="_token" value="{{ csrf_token() }}"/> |
216 | <input type="hidden" id="user_id" name="user_id" value="{{ $sender->id }}"/> | 220 | <input type="hidden" id="user_id" name="user_id" value="{{ $sender->id }}"/> |
217 | <input type="hidden" id="to_user_id" name="to_user_id" value="{{ $companion->id }}"/> | 221 | <input type="hidden" id="to_user_id" name="to_user_id" value="{{ $companion->id }}"/> |
218 | <input type="hidden" id="ad_employer_id" name="ad_employer_id" value="{{ $ad_employer }}"/> | 222 | <input type="hidden" id="ad_employer_id" name="ad_employer_id" value="{{ $ad_employer }}"/> |
219 | <input type="hidden" id="ad_name" name="ad_name" value="@if (isset($_GET['ad_name'])){{ $_GET['ad_name'] }} @endif"/> | 223 | <input type="hidden" id="ad_name" name="ad_name" value="@if (isset($_GET['ad_name'])){{ $_GET['ad_name'] }} @endif"/> |
220 | <input id="text" name="text" type="text" class="input chatbox__bottom-text" placeholder="Ответить"> | 224 | <input id="text" name="text" type="text" class="input chatbox__bottom-text" placeholder="Ответить"> |
221 | <button type="submit" id="send_btn" name="send_btn" class="chatbox__bottom-send"> | 225 | <button type="submit" id="send_btn" name="send_btn" class="chatbox__bottom-send"> |
222 | <svg> | 226 | <svg> |
223 | <use xlink:href="{{ asset('images/sprite.svg#arrow') }}"></use> | 227 | <use xlink:href="{{ asset('images/sprite.svg#arrow') }}"></use> |
224 | </svg> | 228 | </svg> |
225 | </button> | 229 | </button> |
226 | </form> | 230 | </form> |
227 | </div> | 231 | </div> |
228 | </div> | 232 | </div> |
229 | </div> | 233 | </div> |
230 | </div> | 234 | </div> |
231 | </div> | 235 | </div> |
232 | </section> | 236 | </section> |
233 | </div> | 237 | </div> |
234 | @endsection | 238 | @endsection |
235 | 239 |
resources/views/workers/cabinet.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 | $('.cabinet__avatar-form [type="file"][name="photo"]').change(function (event) { | 6 | $('.cabinet__avatar-form [type="file"][name="photo"]').change(function (event) { |
7 | var form = $(this).closest('form'); | 7 | var form = $(this).closest('form'); |
8 | const file = event.target.files[0]; | 8 | const file = event.target.files[0]; |
9 | 9 | ||
10 | if (file) { | 10 | if (file) { |
11 | var img_wrap = $('.cabinet__avatar-pic'); | 11 | var img_wrap = $('.cabinet__avatar-pic'); |
12 | var img = $('<img src="#"/>'); | 12 | var img = $('<img src="#"/>'); |
13 | const reader = new FileReader(); | 13 | const reader = new FileReader(); |
14 | 14 | ||
15 | reader.onload = function(e) { | 15 | reader.onload = function(e) { |
16 | img.attr('src', e.target.result); | 16 | img.attr('src', e.target.result); |
17 | img_wrap.find('svg, img').remove(); | 17 | img_wrap.find('svg, img').remove(); |
18 | img_wrap.append(img); | 18 | img_wrap.append(img); |
19 | 19 | ||
20 | setTimeout(function () { | 20 | setTimeout(function () { |
21 | form.submit(); | 21 | form.submit(); |
22 | }, 1000); | 22 | }, 1000); |
23 | }; | 23 | }; |
24 | 24 | ||
25 | reader.readAsDataURL(file); | 25 | reader.readAsDataURL(file); |
26 | } | 26 | } |
27 | }); | 27 | }); |
28 | }); | 28 | }); |
29 | 29 | ||
30 | $(document).on('click', '#old_year', function() { | 30 | $(document).on('click', '#old_year', function() { |
31 | var this_ = $(this); | 31 | var this_ = $(this); |
32 | var val = this_.val(); | 32 | var val = this_.val(); |
33 | 33 | ||
34 | if (val < 0) | 34 | if (val < 0) |
35 | $('#old_year').val(0); | 35 | $('#old_year').val(0); |
36 | }); | 36 | }); |
37 | </script> | 37 | </script> |
38 | @endsection | 38 | @endsection |
39 | 39 | ||
40 | @section('content') | 40 | @section('content') |
41 | @php | 41 | @php |
42 | $user = $worker->users | 42 | $user = $worker->users |
43 | @endphp | 43 | @endphp |
44 | <section class="cabinet"> | 44 | <section class="cabinet"> |
45 | <div class="container"> | 45 | <div class="container"> |
46 | <ul class="breadcrumbs cabinet__breadcrumbs"> | 46 | <ul class="breadcrumbs cabinet__breadcrumbs"> |
47 | <li><a href="{{ route('index') }}">Главная</a></li> | 47 | <li><a href="{{ route('index') }}">Главная</a></li> |
48 | <li><b>Личный кабинет</b></li> | 48 | <li><b>Личный кабинет</b></li> |
49 | </ul> | 49 | </ul> |
50 | <div class="cabinet__wrapper"> | 50 | <div class="cabinet__wrapper"> |
51 | <div class="cabinet__side"> | 51 | <div class="cabinet__side"> |
52 | <div class="cabinet__side-toper"> | 52 | <div class="cabinet__side-toper"> |
53 | @include('workers.emblema') | 53 | @include('workers.emblema') |
54 | 54 | ||
55 | </div> | 55 | </div> |
56 | 56 | ||
57 | @include('workers.menu', ['item' => 1]) | 57 | @include('workers.menu', ['item' => 1]) |
58 | </div> | 58 | </div> |
59 | <div class="cabinet__body"> | 59 | <div class="cabinet__body"> |
60 | <div class="cabinet__body-item"> | 60 | <div class="cabinet__body-item"> |
61 | <div class="cabinet__anketa"> | 61 | <div class="cabinet__anketa"> |
62 | <h2 class="title cabinet__title">Моя анкета</h2> | 62 | <h2 class="title cabinet__title">Моя анкета</h2> |
63 | <div class="cabinet__anketa-buttons"> | 63 | <div class="cabinet__anketa-buttons"> |
64 | <a href="{{ route('worker.up', ['worker' => $worker->id]) }}" class="button">Поднять резюме</a> | 64 | <a href="{{ route('worker.up', ['worker' => $worker->id]) }}" class="button">Поднять резюме</a> |
65 | <a href="{{ route('resume_download', ['worker' => $worker->id]) }}" target="_blank" class="button"> | 65 | <a href="{{ route('resume_download', ['worker' => $worker->id]) }}" target="_blank" class="button"> |
66 | <svg> | 66 | <svg> |
67 | <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use> | 67 | <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use> |
68 | </svg> | 68 | </svg> |
69 | Скачать резюме | 69 | Скачать резюме |
70 | </a> | 70 | </a> |
71 | </div> | 71 | </div> |
72 | </div> | 72 | </div> |
73 | </div> | 73 | </div> |
74 | 74 | ||
75 | <div class="cabinet__body-item"> | 75 | <div class="cabinet__body-item"> |
76 | <div class="cabinet__stats"> | 76 | <div class="cabinet__stats"> |
77 | <h3 class="cabinet__subtitle cabinet__stats-title">Статистика</h3> | 77 | <h3 class="cabinet__subtitle cabinet__stats-title">Статистика</h3> |
78 | <div class="cabinet__stats-body"> | 78 | <div class="cabinet__stats-body"> |
79 | <div class="cabinet__stats-item"> | 79 | <div class="cabinet__stats-item"> |
80 | <svg> | 80 | <svg> |
81 | <use xlink:href="{{ asset('images/sprite.svg#eye-3') }}"></use> | 81 | <use xlink:href="{{ asset('images/sprite.svg#eye-3') }}"></use> |
82 | </svg> | 82 | </svg> |
83 | <span>Просмотров:</span> | 83 | <span>Просмотров:</span> |
84 | <b>@if (isset($stat[0]->lookin)) {{ $stat[0]->lookin }} @else 0 @endif</b> | 84 | <b>@if (isset($stat[0]->lookin)) {{ $stat[0]->lookin }} @else 0 @endif</b> |
85 | </div> | 85 | </div> |
86 | <div class="cabinet__stats-item"> | 86 | <div class="cabinet__stats-item"> |
87 | <svg> | 87 | <svg> |
88 | <use xlink:href="{{ asset('images/sprite.svg#warning') }}"></use> | 88 | <use xlink:href="{{ asset('images/sprite.svg#warning') }}"></use> |
89 | </svg> | 89 | </svg> |
90 | <span>Отзывов:</span> | 90 | <span>Отзывов:</span> |
91 | <b>@if(isset($worker->response)) {{ $worker->response->count() }} @else 0 @endif</b> | 91 | <b>@if(isset($worker->response)) {{ $worker->response->count() }} @else 0 @endif</b> |
92 | </div> | 92 | </div> |
93 | </div> | 93 | </div> |
94 | <div class="cabinet__stats-subtitle">Анкета заполнена на {{ $persent }}%</div> | 94 | <div class="cabinet__stats-subtitle">Анкета заполнена на {{ $persent }}%</div> |
95 | <div class="cabinet__stats-line"> | 95 | <div class="cabinet__stats-line"> |
96 | <span style="width:{{ $persent }}%"></span> | 96 | <span style="width:{{ $persent }}%"></span> |
97 | </div> | 97 | </div> |
98 | <div class="cabinet__stats-bottom">Заполните профиль, чтобы повысить процент анкеты на 80%</div> | 98 | <div class="cabinet__stats-bottom">Заполните профиль, чтобы повысить процент анкеты на 80%</div> |
99 | </div> | 99 | </div> |
100 | </div> | 100 | </div> |
101 | 101 | ||
102 | <form class="" action="{{ route('worker.cabinet_save_foto', ['worker' => $worker->id]) }}" enctype="multipart/form-data" method="POST"> | 102 | <form class="" action="{{ route('worker.cabinet_save_foto', ['worker' => $worker->id]) }}" enctype="multipart/form-data" method="POST"> |
103 | @csrf | 103 | @csrf |
104 | @include('messages_error') | 104 | @include('messages_error') |
105 | 105 | ||
106 | <div class="cabinet__body-item"> | 106 | <div class="cabinet__body-item"> |
107 | <h3 class="cabinet__subtitle">Профиль</h3> | 107 | <h3 class="cabinet__subtitle">Профиль</h3> |
108 | <div class="cabinet__avatar"> | 108 | <div class="cabinet__avatar"> |
109 | <div class="cabinet__avatar-pic"> | 109 | <div class="cabinet__avatar-pic"> |
110 | 110 | ||
111 | @if (!empty($worker->photo)) | 111 | @if (!empty($worker->photo)) |
112 | <img src="{{ asset(Storage::url($worker->photo)) }}"/> | 112 | <img src="{{ asset(Storage::url($worker->photo)) }}"/> |
113 | @else | 113 | @else |
114 | <svg> | 114 | <svg> |
115 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> | 115 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> |
116 | </svg> | 116 | </svg> |
117 | @endif | 117 | @endif |
118 | </div> | 118 | </div> |
119 | <div class="cabinet__avatar-form"> | 119 | <div class="cabinet__avatar-form"> |
120 | <label class="file"> | 120 | <label class="file"> |
121 | <span class="file__input"> | 121 | <span class="file__input flex"> |
122 | <input type="file" name="photo" id="photo"> | 122 | <input type="file" name="photo" id="photo"> |
123 | 123 | ||
124 | <span class="button"> | 124 | <span class="button mr-20"> |
125 | <svg> | 125 | <svg> |
126 | <use xlink:href="{{ asset('images/sprite.svg#plus') }}"></use> | 126 | <use xlink:href="{{ asset('images/sprite.svg#plus') }}"></use> |
127 | </svg> | 127 | </svg> |
128 | Загрузить | 128 | Загрузить |
129 | </span> | 129 | </span> |
130 | @if (!empty($worker->photo)) | ||
131 | <button type="submit" class="button">Удалить фото</button> | ||
132 | @endif | ||
130 | </span> | 133 | </span> |
131 | </label> | 134 | </label> |
132 | <p class="cabinet__text">Загрузите фотографию в формате svg., jpg., jpeg., png.</p> | 135 | <p class="cabinet__text">Загрузите фотографию в формате svg., jpg., jpeg., png.</p> |
133 | </div> | 136 | </div> |
134 | </div> | 137 | </div> |
135 | </div> | 138 | </div> |
136 | </form> | 139 | </form> |
137 | 140 | ||
138 | <div class="cabinet__body-item mb-40"> | 141 | <div class="cabinet__body-item mb-40"> |
139 | <h3 class="cabinet__subtitle font30">Основная информация</h3> | 142 | <h3 class="cabinet__subtitle font30">Основная информация</h3> |
140 | 143 | ||
141 | <div class="cabinet__inputs"> | 144 | <div class="cabinet__inputs"> |
142 | <div class="cabinet__inputs_to_columns_wrap"> | 145 | <div class="cabinet__inputs_to_columns_wrap"> |
143 | <div class="cabinet__inputs_to_column cabinet__inputs_to_columns_left"> | 146 | <div class="cabinet__inputs_to_column cabinet__inputs_to_columns_left"> |
144 | <div class="cabinet__inputs-item form-group"> | 147 | <div class="cabinet__inputs-item form-group"> |
145 | <label class="form-group__label">Фамилия:</label> | 148 | <label class="form-group__label">Фамилия:</label> |
146 | <div class="form-group__item"> | 149 | <div class="form-group__item"> |
147 | {{ $user->surname }} | 150 | {{ $user->surname }} |
148 | </div> | 151 | </div> |
149 | </div> | 152 | </div> |
150 | <div class="cabinet__inputs-item form-group"> | 153 | <div class="cabinet__inputs-item form-group"> |
151 | <label class="form-group__label">Имя:</label> | 154 | <label class="form-group__label">Имя:</label> |
152 | <div class="form-group__item"> | 155 | <div class="form-group__item"> |
153 | {{ $user->name_man }} | 156 | {{ $user->name_man }} |
154 | </div> | 157 | </div> |
155 | </div> | 158 | </div> |
156 | <div class="cabinet__inputs-item form-group"> | 159 | <div class="cabinet__inputs-item form-group"> |
157 | <label class="form-group__label">Отчество:</label> | 160 | <label class="form-group__label">Отчество:</label> |
158 | <div class="form-group__item"> | 161 | <div class="form-group__item"> |
159 | {{ $user->surname2 }} | 162 | {{ $user->surname2 }} |
160 | </div> | 163 | </div> |
161 | </div> | 164 | </div> |
162 | <div class="cabinet__inputs-item form-group"> | 165 | <div class="cabinet__inputs-item form-group"> |
163 | <label class="form-group__label">Возраст:</label> | 166 | <label class="form-group__label">Возраст:</label> |
164 | <div class="form-group__item"> | 167 | <div class="form-group__item"> |
165 | {{ $worker->old_year ?? '-' }} | 168 | {{ $worker->old_year ?? '-' }} |
166 | </div> | 169 | </div> |
167 | </div> | 170 | </div> |
168 | <div class="cabinet__inputs-item form-group"> | 171 | <div class="cabinet__inputs-item form-group"> |
169 | <label class="form-group__label">Статус:</label> | 172 | <label class="form-group__label">Статус:</label> |
170 | <div class="form-group__item"> | 173 | <div class="form-group__item"> |
171 | {{ $status_work[$worker->status_work] ?? '-' }} | 174 | {{ $status_work[$worker->status_work] ?? '-' }} |
172 | </div> | 175 | </div> |
173 | </div> | 176 | </div> |
174 | <div class="cabinet__inputs-item form-group"> | 177 | <div class="cabinet__inputs-item form-group"> |
175 | <label class="form-group__label">Желаемые вакансии:</label> | 178 | <label class="form-group__label">Желаемые вакансии:</label> |
176 | <div class="form-group__item"> | 179 | <div class="form-group__item"> |
177 | @if ($worker->job_titles->count()) | 180 | @if ($worker->job_titles->count()) |
178 | @foreach($worker->job_titles as $job_title) | 181 | @foreach($worker->job_titles as $job_title) |
179 | {{ $job_title->name }} | 182 | {{ $job_title->name }} |
180 | @if (!$loop->last) / @endif | 183 | @if (!$loop->last) / @endif |
181 | @endforeach | 184 | @endforeach |
182 | @endif | 185 | @endif |
183 | </div> | 186 | </div> |
184 | </div> | 187 | </div> |
185 | <div class="cabinet__inputs-item form-group"> | 188 | <div class="cabinet__inputs-item form-group"> |
186 | <label class="form-group__label">Пожелания к З/П:</label> | 189 | <label class="form-group__label">Пожелания к З/П:</label> |
187 | <div class="form-group__item"> | 190 | <div class="form-group__item"> |
188 | {{ $worker->salary_expectations ?? '-' }} | 191 | {{ $worker->salary_expectations ?? '-' }} |
189 | </div> | 192 | </div> |
190 | </div> | 193 | </div> |
191 | <div class="cabinet__inputs-item form-group"> | 194 | <div class="cabinet__inputs-item form-group"> |
192 | <label class="form-group__label">Уровень английского:</label> | 195 | <label class="form-group__label">Уровень английского:</label> |
193 | <div class="form-group__item"> | 196 | <div class="form-group__item"> |
194 | {{ $worker->english_level ?? '-' }} | 197 | {{ $worker->english_level ?? '-' }} |
195 | </div> | 198 | </div> |
196 | </div> | 199 | </div> |
197 | <div class="cabinet__inputs-item form-group"> | 200 | <div class="cabinet__inputs-item form-group"> |
198 | <label class="form-group__label">Дата готовности к посадке:</label> | 201 | <label class="form-group__label">Дата готовности к посадке:</label> |
199 | <div class="form-group__item"> | 202 | <div class="form-group__item"> |
200 | {{ $worker->ready_boart_date ?? '-' }} | 203 | {{ $worker->ready_boart_date ?? '-' }} |
201 | </div> | 204 | </div> |
202 | </div> | 205 | </div> |
203 | <div class="cabinet__inputs-item form-group"> | 206 | <div class="cabinet__inputs-item form-group"> |
204 | <label class="form-group__label">Предпочтение по типу судна:</label> | 207 | <label class="form-group__label">Предпочтение по типу судна:</label> |
205 | <div class="form-group__item"> | 208 | <div class="form-group__item"> |
206 | {{ $worker->boart_type_preference ?? '-' }} | 209 | {{ $worker->boart_type_preference ?? '-' }} |
207 | </div> | 210 | </div> |
208 | </div> | 211 | </div> |
209 | </div> | 212 | </div> |
210 | 213 | ||
211 | <div class="cabinet__inputs_to_column cabinet__inputs_to_columns_right"> | 214 | <div class="cabinet__inputs_to_column cabinet__inputs_to_columns_right"> |
212 | <div class="cabinet__inputs-item form-group"> | 215 | <div class="cabinet__inputs-item form-group"> |
213 | <label class="form-group__label">Наличие визы:</label> | 216 | <label class="form-group__label">Наличие визы:</label> |
214 | <div class="form-group__item"> | 217 | <div class="form-group__item"> |
215 | {{ $worker->visa_available }} | 218 | {{ $worker->visa_available }} |
216 | </div> | 219 | </div> |
217 | </div> | 220 | </div> |
218 | 221 | ||
219 | 222 | ||
220 | <div class="cabinet__inputs-item form-group"> | 223 | <div class="cabinet__inputs-item form-group"> |
221 | <label class="form-group__label">Наличие танкерных документов:</label> | 224 | <label class="form-group__label">Наличие танкерных документов:</label> |
222 | <div class="form-group__item"> | 225 | <div class="form-group__item"> |
223 | {{ $worker->tanker_documents_available ?? '-' }} | 226 | {{ $worker->tanker_documents_available ?? '-' }} |
224 | </div> | 227 | </div> |
225 | </div> | 228 | </div> |
226 | 229 | ||
227 | 230 | ||
228 | <div class="cabinet__inputs-item form-group"> | 231 | <div class="cabinet__inputs-item form-group"> |
229 | <label class="form-group__label">Наличие подтверждения для работы на ВВП:</label> | 232 | <label class="form-group__label">Наличие подтверждения для работы на ВВП:</label> |
230 | <div class="form-group__item"> | 233 | <div class="form-group__item"> |
231 | {{ $worker->confirmation_work_for_vvp ?? '-' }} | 234 | {{ $worker->confirmation_work_for_vvp ?? '-' }} |
232 | </div> | 235 | </div> |
233 | </div> | 236 | </div> |
234 | 237 | ||
235 | 238 | ||
236 | <div class="cabinet__inputs-item form-group"> | 239 | <div class="cabinet__inputs-item form-group"> |
237 | <label class="form-group__label">Наличие военного билета / приписного свидетельства:</label> | 240 | <label class="form-group__label">Наличие военного билета / приписного свидетельства:</label> |
238 | <div class="form-group__item"> | 241 | <div class="form-group__item"> |
239 | {{ $worker->military_id_available ?? '-' }} | 242 | {{ $worker->military_id_available ?? '-' }} |
240 | </div> | 243 | </div> |
241 | </div> | 244 | </div> |
242 | 245 | ||
243 | 246 | ||
244 | <div class="cabinet__inputs-item form-group"> | 247 | <div class="cabinet__inputs-item form-group"> |
245 | <label class="form-group__label">Город проживания:</label> | 248 | <label class="form-group__label">Город проживания:</label> |
246 | <div class="form-group__item"> | 249 | <div class="form-group__item"> |
247 | {{ $worker->city ?? '-' }} | 250 | {{ $worker->city ?? '-' }} |
248 | </div> | 251 | </div> |
249 | </div> | 252 | </div> |
250 | 253 | ||
251 | 254 | ||
252 | <div class="cabinet__inputs-item form-group"> | 255 | <div class="cabinet__inputs-item form-group"> |
253 | <label class="form-group__label">Телефон:</label> | 256 | <label class="form-group__label">Телефон:</label> |
254 | <div class="form-group__item"> | 257 | <div class="form-group__item"> |
255 | {{ $worker->telephone ?? '-' }} | 258 | {{ $worker->telephone ?? '-' }} |
256 | </div> | 259 | </div> |
257 | </div> | 260 | </div> |
258 | 261 | ||
259 | 262 | ||
260 | <div class="cabinet__inputs-item form-group"> | 263 | <div class="cabinet__inputs-item form-group"> |
261 | <label class="form-group__label">E-mail:</label> | 264 | <label class="form-group__label">E-mail:</label> |
262 | <div class="form-group__item"> | 265 | <div class="form-group__item"> |
263 | {{ $worker->email ?? '-' }} | 266 | {{ $worker->email ?? '-' }} |
264 | </div> | 267 | </div> |
265 | </div> | 268 | </div> |
266 | 269 | ||
267 | 270 | ||
268 | <div class="cabinet__inputs-item form-group"> | 271 | <div class="cabinet__inputs-item form-group"> |
269 | <label class="form-group__label">Контакты родственников:</label> | 272 | <label class="form-group__label">Контакты родственников:</label> |
270 | <div class="form-group__item"> | 273 | <div class="form-group__item"> |
271 | {{ $worker->telephone2 ?? '-' }} | 274 | {{ $worker->telephone2 ?? '-' }} |
272 | </div> | 275 | </div> |
273 | </div> | 276 | </div> |
274 | </div> | 277 | </div> |
275 | </div> | 278 | </div> |
276 | 279 | ||
277 | <div class="width100"> | 280 | <div class="width100"> |
278 | <h4 class="cabinet__h4 mb-10">О себе</h4> | 281 | <h4 class="cabinet__h4 mb-10">О себе</h4> |
279 | <div>{{ $worker->text }}</div> | 282 | <div>{{ $worker->text }}</div> |
280 | </div> | 283 | </div> |
281 | 284 | ||
282 | <div class=""> | 285 | <div class=""> |
283 | <a href="{{ route('worker.basic_information') }}" class="button active">Редактировать основную информацию</a> | 286 | <a href="{{ route('worker.basic_information') }}" class="button active">Редактировать основную информацию</a> |
284 | </div> | 287 | </div> |
285 | </div> | 288 | </div> |
286 | </div> | 289 | </div> |
287 | 290 | ||
288 | <div class="mb-40" id="sertificate" name="sertificate"> | 291 | <div class="mb-40" id="sertificate" name="sertificate"> |
289 | <h3 class="cabinet__subtitle font30 mb-20">Сертификаты / документы</h3> | 292 | <h3 class="cabinet__subtitle font30 mb-20">Сертификаты / документы</h3> |
290 | 293 | ||
291 | @if($worker->sertificate->count()) | 294 | @if($worker->sertificate->count()) |
292 | @foreach($worker->sertificate as $sertificate) | 295 | @foreach($worker->sertificate as $sertificate) |
293 | <div class="one-sertificate"> | 296 | <div class="one-sertificate"> |
294 | <div class="sertificate-field sertificate-name"> | 297 | <div class="sertificate-field sertificate-name"> |
295 | <label class="bold">Название сертификата:</label> | 298 | <label class="bold">Название сертификата:</label> |
296 | <div>{{ $sertificate->name }}</div> | 299 | <div>{{ $sertificate->name }}</div> |
297 | </div> | 300 | </div> |
298 | <div class="sertificate-field"> | 301 | <div class="sertificate-field"> |
299 | <label class="bold">Действителен до:</label> | 302 | <label class="bold">Действителен до:</label> |
300 | <div>{{ date('d.m.Y', strtotime($sertificate->end_begin)) }}</div> | 303 | <div>{{ date('d.m.Y', strtotime($sertificate->end_begin)) }}</div> |
301 | </div> | 304 | </div> |
302 | <div class="sertificate-field sertificate-buttons"> | 305 | <div class="sertificate-field sertificate-buttons"> |
303 | <a href="{{ route('worker.edit_sertificate', ['worker' => $worker->id, 'doc' => $sertificate->id ]) }}" class="button button_light mr-10"> | 306 | <a href="{{ route('worker.edit_sertificate', ['worker' => $worker->id, 'doc' => $sertificate->id ]) }}" class="button button_light mr-10"> |
304 | <svg><use xlink:href="{{ asset('images/sprite.svg#pencil') }}"></use></svg> | 307 | <svg><use xlink:href="{{ asset('images/sprite.svg#pencil') }}"></use></svg> |
305 | </a> | 308 | </a> |
306 | <a href="{{ route('worker.delete_sertificate', ['doc' => $sertificate->id]) }}" class="button button_light"> | 309 | <a href="{{ route('worker.delete_sertificate', ['doc' => $sertificate->id]) }}" class="button button_light"> |
307 | <svg><use xlink:href="{{ asset('images/sprite.svg#del') }}"></use></svg> | 310 | <svg><use xlink:href="{{ asset('images/sprite.svg#del') }}"></use></svg> |
308 | </a> | 311 | </a> |
309 | </div> | 312 | </div> |
310 | </div> | 313 | </div> |
311 | @endforeach | 314 | @endforeach |
312 | @endif | 315 | @endif |
313 | 316 | ||
314 | <a class="button fit-content" href="{{ route('worker.new_sertificate',['worker' => $worker->id]) }}" id="button_new_doc" name="button_new_doc"> | 317 | <a class="button fit-content" href="{{ route('worker.new_sertificate',['worker' => $worker->id]) }}" id="button_new_doc" name="button_new_doc"> |
315 | Добавить сертификат / документ | 318 | Добавить сертификат / документ |
316 | </a> | 319 | </a> |
317 | </div> | 320 | </div> |
318 | 321 | ||
319 | <div class="cabinet__body-item mb-40" name="ajax_dop_diplomi" id="ajax_dop_diplomi"> | 322 | <div class="cabinet__body-item mb-40" name="ajax_dop_diplomi" id="ajax_dop_diplomi"> |
320 | <h3 class="cabinet__subtitle font30">Дополнительные документы</h3> | 323 | <h3 class="cabinet__subtitle font30">Дополнительные документы</h3> |
321 | 324 | ||
322 | <div class="cabinet__inputs" id="block_sertificate"> | 325 | <div class="cabinet__inputs" id="block_sertificate"> |
323 | @if ($info_blocks->count()) | 326 | @if ($info_blocks->count()) |
324 | @foreach ($info_blocks as $info_block) | 327 | @foreach ($info_blocks as $info_block) |
325 | <div class="cabinet__inputs-item column-count-3 form-group"> | 328 | <div class="cabinet__inputs-item column-count-3 form-group"> |
326 | <label class="form-group__label">{{ $info_block->name }}:</label> | 329 | <label class="form-group__label">{{ $info_block->name }}:</label> |
327 | 330 | ||
328 | <div class="form-group__item"> | 331 | <div class="form-group__item"> |
329 | @php $status = 0; @endphp | 332 | @php $status = 0; @endphp |
330 | @if (!empty($worker->dop_info[$info_block->id]) && $worker->dop_info[$info_block->id]['status']) | 333 | @if (!empty($worker->dop_info[$info_block->id]) && $worker->dop_info[$info_block->id]['status']) |
331 | @php $status = $worker->dop_info[$info_block->id]['status']; @endphp | 334 | @php $status = $worker->dop_info[$info_block->id]['status']; @endphp |
332 | @endif | 335 | @endif |
333 | {{ $additional_document_statuses[$status] }} | 336 | {{ $additional_document_statuses[$status] }} |
334 | </div> | 337 | </div> |
335 | </div> | 338 | </div> |
336 | @endforeach | 339 | @endforeach |
337 | @endif | 340 | @endif |
338 | </div> | 341 | </div> |
339 | 342 | ||
340 | <a class="button fit-content" href="{{ route('worker.additional_documents') }}"> | 343 | <a class="button fit-content" href="{{ route('worker.additional_documents') }}"> |
341 | Редактировать дополнительные документы | 344 | Редактировать дополнительные документы |
342 | </a> | 345 | </a> |
343 | </div> | 346 | </div> |
344 | 347 | ||
345 | <div class="cabinet__body-item mb-20"> | 348 | <div class="cabinet__body-item mb-20"> |
346 | <div> | 349 | <div> |
347 | <h3 class="cabinet__subtitle font30">Опыт работы</h3> | 350 | <h3 class="cabinet__subtitle font30">Опыт работы</h3> |
348 | <div class="">Начните заполнение анкеты с указания последнего места работы</div> | 351 | <div class="">Начните заполнение анкеты с указания последнего места работы</div> |
349 | </div> | 352 | </div> |
350 | 353 | ||
351 | <div class="cabinet__works"> | 354 | <div class="cabinet__works"> |
352 | @if (isset($worker->place_worker)) | 355 | @if (isset($worker->place_worker)) |
353 | @foreach($worker->place_worker as $company) | 356 | @foreach($worker->place_worker as $company) |
354 | <div class="cabinet__works-item"> | 357 | <div class="cabinet__works-item"> |
355 | <div class="cabinet__works-spoiler active"> | 358 | <div class="cabinet__works-spoiler active"> |
356 | <div class="cabinet__works-spoiler-left"> | 359 | <div class="cabinet__works-spoiler-left"> |
357 | <div class="cabinet__works-spoiler-text">Место работы {{ $loop->iteration }}</div> | 360 | <div class="cabinet__works-spoiler-text">Место работы {{ $loop->iteration }}</div> |
358 | </div> | 361 | </div> |
359 | <div class="cabinet__works-spoiler-buttons"> | 362 | <div class="cabinet__works-spoiler-buttons"> |
360 | <a href="{{ route('worker.edit_document', ['doc' => $company->id, 'worker' => $worker->id]) }}" type="button" class="button button_light mr-10 js-works-edit"> | 363 | <a href="{{ route('worker.edit_document', ['doc' => $company->id, 'worker' => $worker->id]) }}" type="button" class="button button_light mr-10 js-works-edit"> |
361 | <svg> | 364 | <svg> |
362 | <use xlink:href="{{ asset('images/sprite.svg#pencil') }}"></use> | 365 | <use xlink:href="{{ asset('images/sprite.svg#pencil') }}"></use> |
363 | </svg> | 366 | </svg> |
364 | </a> | 367 | </a> |
365 | <a href="{{ route('worker.delete_document', ['doc' => $company->id]) }}" class="button button_light js-works-remove"> | 368 | <a href="{{ route('worker.delete_document', ['doc' => $company->id]) }}" class="button button_light js-works-remove"> |
366 | <svg> | 369 | <svg> |
367 | <use xlink:href="{{ asset('images/sprite.svg#del') }}"></use> | 370 | <use xlink:href="{{ asset('images/sprite.svg#del') }}"></use> |
368 | </svg> | 371 | </svg> |
369 | </a> | 372 | </a> |
370 | </div> | 373 | </div> |
371 | </div> | 374 | </div> |
372 | 375 | ||
373 | <div class="cabinet__works-body"> | 376 | <div class="cabinet__works-body"> |
374 | <div class="cabinet__inputs"> | 377 | <div class="cabinet__inputs"> |
375 | <div class="cabinet__inputs-item column-count-3 form-group"> | 378 | <div class="cabinet__inputs-item column-count-3 form-group"> |
376 | <label class="form-group__label">Должность:</label> | 379 | <label class="form-group__label">Должность:</label> |
377 | <div class="form-group__item"> | 380 | <div class="form-group__item"> |
378 | {{ $company->job_title ?? '-' }} | 381 | {{ $company->job_title ?? '-' }} |
379 | </div> | 382 | </div> |
380 | </div> | 383 | </div> |
381 | 384 | ||
382 | <div class="cabinet__inputs-item column-count-3 form-group"> | 385 | <div class="cabinet__inputs-item column-count-3 form-group"> |
383 | <label class="form-group__label">Название т/х:</label> | 386 | <label class="form-group__label">Название т/х:</label> |
384 | <div class="form-group__item"> | 387 | <div class="form-group__item"> |
385 | {{ $company->teplohod ?? '-' }} | 388 | {{ $company->teplohod ?? '-' }} |
386 | </div> | 389 | </div> |
387 | </div> | 390 | </div> |
388 | <div class="cabinet__inputs-item column-count-3 form-group"> | 391 | <div class="cabinet__inputs-item column-count-3 form-group"> |
389 | <label class="form-group__label">Тип суда:</label> | 392 | <label class="form-group__label">Тип суда:</label> |
390 | <div class="form-group__item"> | 393 | <div class="form-group__item"> |
391 | {{ $company->GWT ?? '-' }} | 394 | {{ $company->GWT ?? '-' }} |
392 | </div> | 395 | </div> |
393 | </div> | 396 | </div> |
394 | <div class="cabinet__inputs-item column-count-3 form-group"> | 397 | <div class="cabinet__inputs-item column-count-3 form-group"> |
395 | <label class="form-group__label">Марка ГД:</label> | 398 | <label class="form-group__label">Марка ГД:</label> |
396 | <div class="form-group__item"> | 399 | <div class="form-group__item"> |
397 | {{ $company->Marka_GD ?? '-' }} | 400 | {{ $company->Marka_GD ?? '-' }} |
398 | </div> | 401 | </div> |
399 | </div> | 402 | </div> |
400 | <div class="cabinet__inputs-item column-count-3 form-group"> | 403 | <div class="cabinet__inputs-item column-count-3 form-group"> |
401 | <label class="form-group__label">Мощность ГД (кВТ):</label> | 404 | <label class="form-group__label">Мощность ГД (кВТ):</label> |
402 | <div class="form-group__item"> | 405 | <div class="form-group__item"> |
403 | {{ $company->KBT ?? '-' }} | 406 | {{ $company->KBT ?? '-' }} |
404 | </div> | 407 | </div> |
405 | </div> | 408 | </div> |
406 | <div class="cabinet__inputs-item column-count-3 form-group"> | 409 | <div class="cabinet__inputs-item column-count-3 form-group"> |
407 | <label class="form-group__label">Водоизмещение (DWT):</label> | 410 | <label class="form-group__label">Водоизмещение (DWT):</label> |
408 | <div class="form-group__item"> | 411 | <div class="form-group__item"> |
409 | {{ $company->GRT ?? '-' }} | 412 | {{ $company->GRT ?? '-' }} |
410 | </div> | 413 | </div> |
411 | </div> | 414 | </div> |
412 | <div class="cabinet__inputs-item column-count-3 form-group"> | 415 | <div class="cabinet__inputs-item column-count-3 form-group"> |
413 | <label class="form-group__label">Название компании:</label> | 416 | <label class="form-group__label">Название компании:</label> |
414 | <div class="form-group__item"> | 417 | <div class="form-group__item"> |
415 | {{ $company->name_company ?? '-' }} | 418 | {{ $company->name_company ?? '-' }} |
416 | </div> | 419 | </div> |
417 | </div> | 420 | </div> |
418 | <div class="cabinet__inputs-item column-count-3 form-group"> | 421 | <div class="cabinet__inputs-item column-count-3 form-group"> |
419 | <label class="form-group__label">Начало контракта:</label> | 422 | <label class="form-group__label">Начало контракта:</label> |
420 | <div class="form-group__item"> | 423 | <div class="form-group__item"> |
421 | {{ $company->begin_work ?? '-' }} | 424 | {{ $company->begin_work ?? '-' }} |
422 | </div> | 425 | </div> |
423 | </div> | 426 | </div> |
424 | <div class="cabinet__inputs-item column-count-3 form-group"> | 427 | <div class="cabinet__inputs-item column-count-3 form-group"> |
425 | <label class="form-group__label">Окончание контракта:</label> | 428 | <label class="form-group__label">Окончание контракта:</label> |
426 | <div class="form-group__item"> | 429 | <div class="form-group__item"> |
427 | {{ $company->end_work ?? '-' }} | 430 | {{ $company->end_work ?? '-' }} |
428 | </div> | 431 | </div> |
429 | </div> | 432 | </div> |
430 | 433 | ||
431 | </div> | 434 | </div> |
432 | </div> | 435 | </div> |
433 | </div> | 436 | </div> |
434 | @endforeach | 437 | @endforeach |
435 | @endif | 438 | @endif |
436 | </div> | 439 | </div> |
437 | 440 | ||
438 | <a href="{{ route('worker.add_document', ['worker' => $worker->id]) }}" id="new_work" name="new_work" class="button fit-content"> | 441 | <a href="{{ route('worker.add_document', ['worker' => $worker->id]) }}" id="new_work" name="new_work" class="button fit-content"> |
439 | Добавить место работы | 442 | Добавить место работы |
440 | </a> | 443 | </a> |
441 | </div> | 444 | </div> |
442 | 445 | ||
443 | <div id="prev_worker" name="prev_worker"> | 446 | <div id="prev_worker" name="prev_worker"> |
444 | <div> | 447 | <div> |
445 | <h3 class="cabinet__subtitle font30">Рекомендации</h3> | 448 | <h3 class="cabinet__subtitle font30">Рекомендации</h3> |
446 | <div class="">Укажите контакты компаний, которые могут дать рекомендации</div> | 449 | <div class="">Укажите контакты компаний, которые могут дать рекомендации</div> |
447 | </div> | 450 | </div> |
448 | 451 | ||
449 | @if ((isset($worker->prev_company)) && ($worker->prev_company->count() > 0)) | 452 | @if ((isset($worker->prev_company)) && ($worker->prev_company->count() > 0)) |
450 | @foreach($worker->prev_company as $it) | 453 | @foreach($worker->prev_company as $it) |
451 | <div class="cabinet__body-item"> | 454 | <div class="cabinet__body-item"> |
452 | <div class="cabinet__inputs mt-30"> | 455 | <div class="cabinet__inputs mt-30"> |
453 | <div class="cabinet__inputs-item column-count-3 form-group"> | 456 | <div class="cabinet__inputs-item column-count-3 form-group"> |
454 | <label class="form-group__label">Название компании:</label> | 457 | <label class="form-group__label">Название компании:</label> |
455 | <div class="form-group__item"> | 458 | <div class="form-group__item"> |
456 | {{ $it->name_company }} | 459 | {{ $it->name_company }} |
457 | </div> | 460 | </div> |
458 | </div> | 461 | </div> |
459 | <div class="cabinet__inputs-item column-count-3 form-group"> | 462 | <div class="cabinet__inputs-item column-count-3 form-group"> |
460 | <label class="form-group__label">ФИО сотрудника:</label> | 463 | <label class="form-group__label">ФИО сотрудника:</label> |
461 | <div class="form-group__item"> | 464 | <div class="form-group__item"> |
462 | {{ $it->direct }} | 465 | {{ $it->direct }} |
463 | </div> | 466 | </div> |
464 | </div> | 467 | </div> |
465 | <div class="cabinet__inputs-item column-count-3 form-group cabinet__inputs-item-buttons"> | 468 | <div class="cabinet__inputs-item column-count-3 form-group cabinet__inputs-item-buttons"> |
466 | <div class="flex"> | 469 | <div class="flex"> |
467 | <a href="{{ route('worker.edit_prev_company', ['worker' => $worker->id, 'doc' => $it->id ]) }}" class="button button_light mr-10"> | 470 | <a href="{{ route('worker.edit_prev_company', ['worker' => $worker->id, 'doc' => $it->id ]) }}" class="button button_light mr-10"> |
468 | <svg> | 471 | <svg> |
469 | <use xlink:href="{{ asset('images/sprite.svg#pencil') }}"></use> | 472 | <use xlink:href="{{ asset('images/sprite.svg#pencil') }}"></use> |
470 | </svg> | 473 | </svg> |
471 | </a> | 474 | </a> |
472 | <a href="{{ route('worker.delete_prev_company', ['doc' => $it->id]) }}" class="button button_light"> | 475 | <a href="{{ route('worker.delete_prev_company', ['doc' => $it->id]) }}" class="button button_light"> |
473 | <svg> | 476 | <svg> |
474 | <use xlink:href="{{ asset('images/sprite.svg#del') }}"></use> | 477 | <use xlink:href="{{ asset('images/sprite.svg#del') }}"></use> |
475 | </svg> | 478 | </svg> |
476 | </a> | 479 | </a> |
477 | </div> | 480 | </div> |
478 | </div> | 481 | </div> |
479 | <div class="cabinet__inputs-item column-count-3 form-group"> | 482 | <div class="cabinet__inputs-item column-count-3 form-group"> |
480 | <label class="form-group__label">Должность сотрудника:</label> | 483 | <label class="form-group__label">Должность сотрудника:</label> |
481 | <div class="form-group__item"> | 484 | <div class="form-group__item"> |
482 | {{ $it->telephone }} | 485 | {{ $it->telephone }} |
483 | </div> | 486 | </div> |
484 | </div> | 487 | </div> |
485 | <div class="cabinet__inputs-item column-count-3 form-group"> | 488 | <div class="cabinet__inputs-item column-count-3 form-group"> |
486 | <label class="form-group__label">Телефон сотрудника:</label> | 489 | <label class="form-group__label">Телефон сотрудника:</label> |
487 | <div class="form-group__item"> | 490 | <div class="form-group__item"> |
488 | {{ $it->telephone2 }} | 491 | {{ $it->telephone2 }} |
489 | </div> | 492 | </div> |
490 | </div> | 493 | </div> |
491 | <div class="cabinet__inputs-item column-count-3 form-group cabinet__inputs-item-buttons"></div> | 494 | <div class="cabinet__inputs-item column-count-3 form-group cabinet__inputs-item-buttons"></div> |
492 | </div> | 495 | </div> |
493 | </div> | 496 | </div> |
494 | @endforeach | 497 | @endforeach |
495 | @endif | 498 | @endif |
496 | </div> | 499 | </div> |
497 | 500 | ||
498 | <div class="cabinet__body-item"> | 501 | <div class="cabinet__body-item"> |
499 | <a class="button fit-content" href="{{ route('worker.new_prev_company',['worker' => $worker->id]) }}"> | 502 | <a class="button fit-content" href="{{ route('worker.new_prev_company',['worker' => $worker->id]) }}"> |
500 | Добавить контакт для рекомендации | 503 | Добавить контакт для рекомендации |
501 | </a> | 504 | </a> |
502 | </div> | 505 | </div> |
503 | </div> | 506 | </div> |
504 | </div> | 507 | </div> |
505 | </div> | 508 | </div> |
506 | </section> | 509 | </section> |
507 | @endsection | 510 | @endsection |
508 | 511 |
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 | console.log('Test system'); | 5 | $(function(){ |
6 | var chatbox_div = $('.chatbox__list'); | ||
7 | chatbox_div.scrollTop(chatbox_div.prop("scrollHeight")); | ||
8 | }); | ||
9 | |||
6 | $(document).on('change', '#send_btn', function() { | 10 | $(document).on('change', '#send_btn', function() { |
7 | var this_ = $(this); | 11 | var this_ = $(this); |
8 | var val_ = this_.val(); | 12 | var val_ = this_.val(); |
9 | console.log('sort items '+val_); | 13 | console.log('sort items '+val_); |
10 | 14 | ||
11 | $.ajax({ | 15 | $.ajax({ |
12 | type: "GET", | 16 | type: "GET", |
13 | url: "{{ route('shipping_companies') }}", | 17 | url: "{{ route('shipping_companies') }}", |
14 | data: "sort="+val_+"&block=1", | 18 | data: "sort="+val_+"&block=1", |
15 | success: function (data) { | 19 | success: function (data) { |
16 | console.log('Выбор сортировки'); | 20 | console.log('Выбор сортировки'); |
17 | console.log(data); | 21 | console.log(data); |
18 | $('#block_1').html(data); | 22 | $('#block_1').html(data); |
19 | }, | 23 | }, |
20 | headers: { | 24 | headers: { |
21 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 25 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
22 | }, | 26 | }, |
23 | error: function (data) { | 27 | error: function (data) { |
24 | data = JSON.stringify(data); | 28 | data = JSON.stringify(data); |
25 | console.log('Error: ' + data); | 29 | console.log('Error: ' + data); |
26 | } | 30 | } |
27 | }); | 31 | }); |
28 | 32 | ||
29 | $.ajax({ | 33 | $.ajax({ |
30 | type: "GET", | 34 | type: "GET", |
31 | url: "{{ route('shipping_companies') }}", | 35 | url: "{{ route('shipping_companies') }}", |
32 | data: "sort="+val_+"&block=2", | 36 | data: "sort="+val_+"&block=2", |
33 | success: function (data) { | 37 | success: function (data) { |
34 | console.log('Выбор сортировки2'); | 38 | console.log('Выбор сортировки2'); |
35 | console.log(data); | 39 | console.log(data); |
36 | 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"); |
37 | $('#block_2').html(data); | 41 | $('#block_2').html(data); |
38 | }, | 42 | }, |
39 | headers: { | 43 | headers: { |
40 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 44 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
41 | }, | 45 | }, |
42 | error: function (data) { | 46 | error: function (data) { |
43 | data = JSON.stringify(data); | 47 | data = JSON.stringify(data); |
44 | console.log('Error: ' + data); | 48 | console.log('Error: ' + data); |
45 | } | 49 | } |
46 | }); | 50 | }); |
47 | }); | 51 | }); |
48 | </script> | 52 | </script> |
49 | @endsection | 53 | @endsection |
50 | 54 | ||
51 | @section('content') | 55 | @section('content') |
52 | <section class="cabinet"> | 56 | <section class="cabinet"> |
53 | <div class="container"> | 57 | <div class="container"> |
54 | <ul class="breadcrumbs cabinet__breadcrumbs"> | 58 | <ul class="breadcrumbs cabinet__breadcrumbs"> |
55 | <li><a href="{{ route('index') }}">Главная</a></li> | 59 | <li><a href="{{ route('index') }}">Главная</a></li> |
56 | <li><b>Личный кабинет</b></li> | 60 | <li><b>Личный кабинет</b></li> |
57 | </ul> | 61 | </ul> |
58 | <div class="cabinet__wrapper"> | 62 | <div class="cabinet__wrapper"> |
59 | <div class="cabinet__side"> | 63 | <div class="cabinet__side"> |
60 | <div class="cabinet__side-toper"> | 64 | <div class="cabinet__side-toper"> |
61 | @include('workers.emblema') | 65 | @include('workers.emblema') |
62 | </div> | 66 | </div> |
63 | @include('workers.menu', ['item' => 2]) | 67 | @include('workers.menu', ['item' => 2]) |
64 | </div> | 68 | </div> |
65 | <div class="cabinet__body"> | 69 | <div class="cabinet__body"> |
66 | <div class="cabinet__body-item"> | 70 | <div class="cabinet__body-item"> |
67 | <h2 class="title cabinet__title">Сообщения</h2> | 71 | <h2 class="title cabinet__title">Сообщения</h2> |
68 | </div> | 72 | </div> |
69 | <div class="cabinet__body-item"> | 73 | <div class="cabinet__body-item"> |
70 | <a href="{{ route('worker.messages', ['type_message' => 'input']) }}" class="back"> | 74 | <a href="{{ route('worker.messages', ['type_message' => 'input']) }}" class="back"> |
71 | <svg> | 75 | <svg> |
72 | <use xlink:href="{{ asset('images/sprite.svg#back') }}"></use> | 76 | <use xlink:href="{{ asset('images/sprite.svg#back') }}"></use> |
73 | </svg> | 77 | </svg> |
74 | <span> | 78 | <span> |
75 | К списку чатов | 79 | К списку чатов |
76 | </span> | 80 | </span> |
77 | </a> | 81 | </a> |
78 | <div class="chatbox"> | 82 | <div class="chatbox"> |
79 | <div class="chatbox__toper"> | 83 | <div class="chatbox__toper"> |
80 | @if ($companion->is_worker) | 84 | @if ($companion->is_worker) |
81 | <div class="chatbox__toper-info messages__item-info"> | 85 | <div class="chatbox__toper-info messages__item-info"> |
82 | <div class="messages__item-photo"> | 86 | <div class="messages__item-photo"> |
83 | <svg> | 87 | <svg> |
84 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> | 88 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> |
85 | </svg> | 89 | </svg> |
86 | @if ((isset($companion->workers[0]->photo)) && | 90 | @if ((isset($companion->workers[0]->photo)) && |
87 | (!empty($companion->workers[0]->photo))) | 91 | (!empty($companion->workers[0]->photo))) |
88 | <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=""> |
89 | @else | 93 | @else |
90 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | 94 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> |
91 | @endif | 95 | @endif |
92 | </div> | 96 | </div> |
93 | </div> | 97 | </div> |
94 | @if (isset($companion->worker->id)) | 98 | @if (isset($companion->workers[0]->id)) |
95 | <a href="{{ route('resume_profile', ['worker' => $companion->worker->id]) }}" class="button chatbox__toper-button"> | 99 | <a href="{{ route('resume_profile', ['worker' => $companion->workers[0]->id]) }}" class="button chatbox__toper-button"> |
96 | <svg> | 100 | <svg> |
97 | <use xlink:href="{{ asset('images/sprite.svg#cabinet-1') }}"></use> | 101 | <use xlink:href="{{ asset('images/sprite.svg#cabinet-1') }}"></use> |
98 | </svg> | 102 | </svg> |
99 | Перейти в профиль | 103 | Перейти в профиль |
100 | </a> | 104 | </a> |
101 | @endif | 105 | @endif |
102 | @else | 106 | @else |
103 | <div class="chatbox__toper-info messages__item-info"> | 107 | <div class="chatbox__toper-info messages__item-info 222"> |
104 | <div class="messages__item-photo"> | 108 | <div class="messages__item-photo"> |
105 | <svg> | 109 | <svg> |
106 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> | 110 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> |
107 | </svg> | 111 | </svg> |
108 | @if ((isset($companion->employers[0]->logo)) && | 112 | @if ((isset($companion->employers[0]->logo)) && |
109 | (!empty($companion->employers[0]->logo))) | 113 | (!empty($companion->employers[0]->logo))) |
110 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->employers[0]->logo)) }}" alt=""> | 114 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->employers[0]->logo)) }}" alt=""> |
111 | @else | 115 | @else |
112 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | 116 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> |
113 | @endif | 117 | @endif |
114 | </div> | 118 | </div> |
115 | <div class="messages__item-text"> | 119 | <div class="messages__item-text"> |
116 | <div>{{ $companion->surname." ".$companion->name_man." ".$companion->surname2." (".$companion->id.")" }} </div> | 120 | <div>{{ $companion->surname." ".$companion->name_man." ".$companion->surname2." (".$companion->id.")" }} </div> |
117 | <div><span>Статус:</span> Работодатель или Администратор</div> | 121 | <div><span>Статус:</span> Работодатель или Администратор</div> |
118 | </div> | 122 | </div> |
119 | </div> | 123 | </div> |
120 | @if (isset($companion->employer->id)) | 124 | @if (isset($companion->employers[0]->id)) |
121 | <a href="" class="button chatbox__toper-button"> | 125 | <a href="{{ route('info_company', ['company' => $companion->employers[0]->id]) }}" class="button chatbox__toper-button"> |
122 | <svg> | 126 | <svg> |
123 | <use xlink:href="{{ asset('images/sprite.svg#cabinet-1') }}"></use> | 127 | <use xlink:href="{{ asset('images/sprite.svg#cabinet-1') }}"></use> |
124 | </svg> | 128 | </svg> |
125 | Перейти в профиль | 129 | Перейти в профиль |
126 | </a> | 130 | </a> |
127 | @endif | 131 | @endif |
128 | @endif | 132 | @endif |
129 | </div> | 133 | </div> |
130 | 134 | ||
135 | @if ($errors->any()) | ||
136 | <div class="red bold"> | ||
137 | <ul> | ||
138 | @foreach ($errors->all() as $error) | ||
139 | <li>{{ $error }}</li> | ||
140 | @endforeach | ||
141 | </ul> | ||
142 | </div> | ||
143 | @endif | ||
144 | |||
131 | <div class="chatbox__list" id="dialogs" name="dialogs"> | 145 | <div class="chatbox__list" id="dialogs" name="dialogs"> |
132 | @if ($Messages->count()) | 146 | @if ($Messages->count()) |
133 | @foreach ($Messages as $it) | 147 | @foreach ($Messages as $it) |
134 | @if ($it->user_id == $companion->id) | 148 | @if ($it->user_id == $companion->id) |
135 | <div class="chatbox__item"> | 149 | <div class="chatbox__item"> |
136 | <div class="chatbox__item-photo"> | 150 | <div class="chatbox__item-photo"> |
137 | <svg> | 151 | <svg> |
138 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> | 152 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> |
139 | </svg> | 153 | </svg> |
140 | @if ($companion->is_worker) | 154 | @if ($companion->is_worker) |
141 | @if ((isset($companion->workers[0]->photo)) && | 155 | @if ((isset($companion->workers[0]->photo)) && |
142 | (!empty($companion->workers[0]->photo))) | 156 | (!empty($companion->workers[0]->photo))) |
143 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->workers[0]->photo)) }}" alt=""> | 157 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->workers[0]->photo)) }}" alt=""> |
144 | @else | 158 | @else |
145 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | 159 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> |
146 | @endif | 160 | @endif |
147 | @else | 161 | @else |
148 | @if ((isset($companion->employers[0]->logo)) && | 162 | @if ((isset($companion->employers[0]->logo)) && |
149 | (!empty($companion->employers[0]->logo))) | 163 | (!empty($companion->employers[0]->logo))) |
150 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->employers[0]->logo)) }}" alt=""> | 164 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($companion->employers[0]->logo)) }}" alt=""> |
151 | @else | 165 | @else |
152 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | 166 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> |
153 | @endif | 167 | @endif |
154 | @endif | 168 | @endif |
155 | </div> | 169 | </div> |
156 | <div class="chatbox__item-body"> | 170 | <div class="chatbox__item-body"> |
157 | <div class="chatbox__item-text">{{ $it->text }}</div> | 171 | <div class="chatbox__item-text">{{ $it->text }}</div> |
158 | </div> | 172 | </div> |
159 | <div class="chatbox__item-time">{{ $it->created_at }}</div> | 173 | <div class="chatbox__item-time">{{ $it->created_at }}</div> |
160 | </div> | 174 | </div> |
161 | @else | 175 | @else |
162 | <div class="chatbox__item chatbox__item_reverse"> | 176 | <div class="chatbox__item chatbox__item_reverse"> |
163 | <div class="chatbox__item-photo"> | 177 | <div class="chatbox__item-photo"> |
164 | <svg> | 178 | <svg> |
165 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> | 179 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> |
166 | </svg> | 180 | </svg> |
167 | @if ($sender->is_worker) | 181 | @if ($sender->is_worker) |
168 | @if ((isset($sender->workers[0]->photo)) && | 182 | @if ((isset($sender->workers[0]->photo)) && |
169 | (!empty($sender->workers[0]->photo))) | 183 | (!empty($sender->workers[0]->photo))) |
170 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($sender->workers[0]->photo)) }}" alt=""> | 184 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($sender->workers[0]->photo)) }}" alt=""> |
171 | @else | 185 | @else |
172 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | 186 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> |
173 | @endif | 187 | @endif |
174 | @else | 188 | @else |
175 | @if ((isset($sender->employers[0]->logo)) && | 189 | @if ((isset($sender->employers[0]->logo)) && |
176 | (!empty($sender->employers[0]->logo))) | 190 | (!empty($sender->employers[0]->logo))) |
177 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($sender->employers[0]->logo)) }}" alt=""> | 191 | <img src="{{ asset(\Illuminate\Support\Facades\Storage::url($sender->employers[0]->logo)) }}" alt=""> |
178 | @else | 192 | @else |
179 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> | 193 | <img src="{{ asset('images/default_man.jpg') }}" alt=""> |
180 | @endif | 194 | @endif |
181 | @endif | 195 | @endif |
182 | 196 | ||
183 | </div> | 197 | </div> |
184 | <div class="chatbox__item-body"> | 198 | <div class="chatbox__item-body"> |
185 | <div class="chatbox__item-text">{{ $it->text }}</div> | 199 | <div class="chatbox__item-text">{{ $it->text }}</div> |
186 | @if ((isset($it->file)) && (!empty($it->file))) | 200 | @if ((isset($it->file)) && (!empty($it->file))) |
187 | <a href="{{ asset(Storage::url($it->file)) }}" class="chatbox__item-text"> | 201 | <a href="{{ asset(Storage::url($it->file)) }}" class="chatbox__item-text"> |
188 | <svg> | 202 | <svg> |
189 | <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> | 203 | <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> |
190 | </svg> | 204 | </svg> |
191 | </a> | 205 | </a> |
192 | @endif | 206 | @endif |
193 | </div> | 207 | </div> |
194 | <div class="chatbox__item-time">{{ $it->created_at }}</div> | 208 | <div class="chatbox__item-time">{{ $it->created_at }}</div> |
195 | </div> | 209 | </div> |
196 | @endif | 210 | @endif |
197 | 211 | ||
198 | @endforeach | 212 | @endforeach |
199 | @endif | 213 | @endif |
200 | </div> | 214 | </div> |
201 | <form action="{{ route('worker.test123') }}" class="chatbox__bottom" enctype="multipart/form-data" method="POST" > | 215 | <form action="{{ route('worker.test123') }}" class="chatbox__bottom" enctype="multipart/form-data" method="POST" > |
202 | @csrf | 216 | @csrf |
203 | <label class="chatbox__bottom-file"> | 217 | <label class="chatbox__bottom-file"> |
204 | <input id="file" name="file" type="file"> | 218 | <input id="file" name="file" type="file"> |
205 | <svg> | 219 | <svg> |
206 | <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> | 220 | <use xlink:href="{{ asset('images/sprite.svg#clip') }}"></use> |
207 | </svg> | 221 | </svg> |
208 | </label> | 222 | </label> |
209 | <input type="hidden" name="_token" value="{{ csrf_token() }}"/> | 223 | <input type="hidden" name="_token" value="{{ csrf_token() }}"/> |
210 | <input type="hidden" id="user_id" name="user_id" value="{{ $sender->id }}"/> | 224 | <input type="hidden" id="user_id" name="user_id" value="{{ $sender->id }}"/> |
211 | <input type="hidden" id="to_user_id" name="to_user_id" value="{{ $companion->id }}"/> | 225 | <input type="hidden" id="to_user_id" name="to_user_id" value="{{ $companion->id }}"/> |
212 | <input type="hidden" id="ad_employer_id" name="ad_employer_id" value="{{ $ad_employer }}"/> | 226 | <input type="hidden" id="ad_employer_id" name="ad_employer_id" value="{{ $ad_employer }}"/> |
213 | <input type="hidden" id="ad_name" name="ad_name" value="@if (isset($_GET['ad_name'])){{ $_GET['ad_name'] }} @endif"/> | 227 | <input type="hidden" id="ad_name" name="ad_name" value="@if (isset($_GET['ad_name'])){{ $_GET['ad_name'] }} @endif"/> |
214 | <input id="text" name="text" type="text" class="input chatbox__bottom-text" placeholder="Ответить"> | 228 | <input id="text" name="text" type="text" class="input chatbox__bottom-text" placeholder="Ответить"> |
215 | <button type="submit" id="send_btn" name="send_btn" class="chatbox__bottom-send"> | 229 | <button type="submit" id="send_btn" name="send_btn" class="chatbox__bottom-send"> |
216 | <svg> | 230 | <svg> |
217 | <use xlink:href="{{ asset('images/sprite.svg#arrow') }}"></use> | 231 | <use xlink:href="{{ asset('images/sprite.svg#arrow') }}"></use> |
218 | </svg> | 232 | </svg> |
219 | </button> | 233 | </button> |
220 | </form> | 234 | </form> |
221 | </div> | 235 | </div> |
222 | </div> | 236 | </div> |
223 | </div> | 237 | </div> |
224 | </div> | 238 | </div> |
225 | </div> | 239 | </div> |
226 | </section> | 240 | </section> |
227 | </div> | 241 | </div> |
228 | @endsection | 242 | @endsection |
229 | 243 |
resources/views/workers/docs-edit.blade.php
1 | @extends('workers.cabinet_layout', ['title' => 'Место работы - РекаМоре']) | 1 | @extends('workers.cabinet_layout', ['title' => 'Место работы - РекаМоре']) |
2 | 2 | ||
3 | 3 | ||
4 | @section('cabinet_content') | 4 | @section('cabinet_content') |
5 | <form class="" action="{{ route('worker.edit_document_save', ['doc' => $doc->id]) }}" method="POST"> | 5 | <form class="" action="{{ route('worker.edit_document_save', ['doc' => $doc->id]) }}" method="POST"> |
6 | @csrf | 6 | @csrf |
7 | 7 | ||
8 | <div class="cabinet__body-item"> | 8 | <div class="cabinet__body-item"> |
9 | <div class="cabinet__anketa"> | 9 | <div class="cabinet__anketa"> |
10 | <h2 class="title cabinet__title">Место работы</h2> | 10 | <h2 class="title cabinet__title">Место работы</h2> |
11 | </div> | 11 | </div> |
12 | </div> | 12 | </div> |
13 | 13 | ||
14 | @include('messages_error') | 14 | @include('messages_error') |
15 | 15 | ||
16 | <div class="cabinet__works-body"> | 16 | <div class="cabinet__works-body"> |
17 | <div class="cabinet__inputs"> | 17 | <div class="cabinet__inputs"> |
18 | <input type="hidden" name="worker_id" id="worker_id" value="{{ $worker->id }}"/> | 18 | <input type="hidden" name="worker_id" id="worker_id" value="{{ $worker->id }}"/> |
19 | <div class="cabinet__inputs-item form-group"> | 19 | <div class="cabinet__inputs-item form-group"> |
20 | <label class="form-group__label">Должность:</label> | 20 | <label class="form-group__label">Должность:</label> |
21 | <div class="form-group__item"> | 21 | <div class="form-group__item"> |
22 | <input type="text" name="job_title" id="job_title" class="input" value="{{ old('job_title') ?? $doc->job_title ?? '' }}"> | 22 | <input type="text" name="job_title" id="job_title" class="input" value="{{ old('job_title') ?? $doc->job_title ?? '' }}"> |
23 | </div> | 23 | </div> |
24 | </div> | 24 | </div> |
25 | 25 | ||
26 | <div class="cabinet__inputs-item form-group"> | 26 | <div class="cabinet__inputs-item form-group"> |
27 | <label class="form-group__label">Название т/х:</label> | 27 | <label class="form-group__label">Название т/х:</label> |
28 | <div class="form-group__item"> | 28 | <div class="form-group__item"> |
29 | <input type="text" name="teplohod" id="teplohod" class="input" value="{{ old('teplohod') ?? $doc->teplohod ?? '' }}"> | 29 | <input type="text" name="teplohod" id="teplohod" class="input" value="{{ old('teplohod') ?? $doc->teplohod ?? '' }}"> |
30 | </div> | 30 | </div> |
31 | </div> | 31 | </div> |
32 | <div class="cabinet__inputs-item form-group"> | 32 | <div class="cabinet__inputs-item form-group"> |
33 | <label class="form-group__label">Тип судна (GWT):</label> | 33 | <label class="form-group__label">Тип судна (GWT):</label> |
34 | <div class="form-group__item"> | 34 | <div class="form-group__item"> |
35 | <input type="text" name="GWT" id="GWT" class="input" value="{{ old('GWT') ?? $doc->GWT ?? '' }}"> | 35 | <input type="text" name="GWT" id="GWT" class="input" value="{{ old('GWT') ?? $doc->GWT ?? '' }}"> |
36 | </div> | 36 | </div> |
37 | </div> | 37 | </div> |
38 | 38 | ||
39 | <div class="cabinet__inputs-item form-group"> | 39 | <div class="cabinet__inputs-item form-group"> |
40 | <label class="form-group__label">Марка ГД:</label> | 40 | <label class="form-group__label">Марка ГД:</label> |
41 | <div class="form-group__item"> | 41 | <div class="form-group__item"> |
42 | <input type="text" name="Marka_GD" id="Marka_GD" class="input" value="{{ old('Marka_GD') ?? $doc->Marka_GD ?? '' }}"> | 42 | <input type="text" name="Marka_GD" id="Marka_GD" class="input" value="{{ old('Marka_GD') ?? $doc->Marka_GD ?? '' }}"> |
43 | </div> | 43 | </div> |
44 | </div> | 44 | </div> |
45 | 45 | ||
46 | <div class="cabinet__inputs-item form-group"> | 46 | <div class="cabinet__inputs-item form-group"> |
47 | <label class="form-group__label">Мощность ГД (кВТ):</label> | 47 | <label class="form-group__label">Мощность ГД (кВТ):</label> |
48 | <div class="form-group__item"> | 48 | <div class="form-group__item"> |
49 | <input type="text" name="KBT" id="KBT" class="input" value="{{ old('KBT') ?? $doc->KBT ?? '' }}"> | 49 | <input type="text" name="KBT" id="KBT" class="input" value="{{ old('KBT') ?? $doc->KBT ?? '' }}"> |
50 | </div> | 50 | </div> |
51 | </div> | 51 | </div> |
52 | 52 | ||
53 | <div class="cabinet__inputs-item form-group"> | 53 | <div class="cabinet__inputs-item form-group"> |
54 | <label class="form-group__label">Водоизмещение (DWT):</label> | 54 | <label class="form-group__label">Водоизмещение (DWT):</label> |
55 | <div class="form-group__item"> | 55 | <div class="form-group__item"> |
56 | <input type="text" name="GRT" id="GRT" class="input" value="{{ old('GRT') ?? $doc->GRT ?? '' }}"> | 56 | <input type="text" name="GRT" id="GRT" class="input" value="{{ old('GRT') ?? $doc->GRT ?? '' }}"> |
57 | </div> | 57 | </div> |
58 | </div> | 58 | </div> |
59 | 59 | ||
60 | <div class="cabinet__inputs-item form-group"> | 60 | <div class="cabinet__inputs-item form-group"> |
61 | <label class="form-group__label">Название компании:</label> | 61 | <label class="form-group__label">Название компании:</label> |
62 | <div class="form-group__item"> | 62 | <div class="form-group__item"> |
63 | <input type="text" name="name_company" id="name_company" class="input" value="{{ old('name_company') ?? $doc->name_company ?? '' }}"> | 63 | <input type="text" name="name_company" id="name_company" class="input" value="{{ old('name_company') ?? $doc->name_company ?? '' }}"> |
64 | </div> | 64 | </div> |
65 | </div> | 65 | </div> |
66 | 66 | ||
67 | <div class="cabinet__inputs-item form-group"> | 67 | <div class="cabinet__inputs-item form-group"> |
68 | <label class="form-group__label">Начало контракта:</label> | 68 | <label class="form-group__label">Начало контракта:</label> |
69 | <div class="form-group__item"> | 69 | <div class="form-group__item"> |
70 | <input type="text" name="Begin_work" id="Begin_work" class="input" value="{{ old('begin_work') ?? $doc->begin_work ?? '' }}"> | 70 | <input type="text" name="Begin_work" id="Begin_work" class="input" value="{{ old('begin_work') ?? $doc->begin_work ?? '' }}"> |
71 | </div> | 71 | </div> |
72 | </div> | 72 | </div> |
73 | 73 | ||
74 | <div class="cabinet__inputs-item form-group"> | 74 | <div class="cabinet__inputs-item form-group"> |
75 | <label class="form-group__label">Окончание контракта:</label> | 75 | <label class="form-group__label">Окончание контракта:</label> |
76 | <div class="form-group__item"> | 76 | <div class="form-group__item"> |
77 | <input type="text" name="End_work" id="End_work" class="input" value="{{ old('end_work') ?? $doc->end_work ?? '' }}"> | 77 | <input type="text" name="End_work" id="End_work" class="input" value="{{ old('end_work') ?? $doc->end_work ?? '' }}"> |
78 | </div> | 78 | </div> |
79 | </div> | 79 | </div> |
80 | 80 | ||
81 | <div class="cabinet__inputs-item form-group cabinet__inputs-item-buttons"></div> | 81 | <div class="cabinet__inputs-item form-group cabinet__inputs-item-buttons"></div> |
82 | 82 | ||
83 | <div class="flex"> | 83 | <div class="flex"> |
84 | <button type="submit" class="button mr-10">Сохранить</button> | 84 | <button type="submit" class="button mr-10">Сохранить</button> |
85 | <a href="{{ route('worker.cabinet') }}" class="button button_light active">Отмена</a> | 85 | <a href="{{ route('worker.cabinet') }}" class="button button_light active">Назад</a> |
86 | </div> | 86 | </div> |
87 | </div> | 87 | </div> |
88 | </div> | 88 | </div> |
89 | </form> | 89 | </form> |
90 | @endsection | 90 | @endsection |
91 | 91 |
resources/views/workers/form_additional_documents.blade.php
1 | @extends('workers.cabinet_layout', ['title' => 'Дополнительные документы - РекаМоре']) | 1 | @extends('workers.cabinet_layout', ['title' => 'Дополнительные документы - РекаМоре']) |
2 | 2 | ||
3 | @section('cabinet_content') | 3 | @section('cabinet_content') |
4 | <form action="{{ route('worker.edit_diploms', ['worker' => $worker->id]) }}" class="cabinet__inputs" method="POST"> | 4 | <form action="{{ route('worker.edit_diploms', ['worker' => $worker->id]) }}" class="cabinet__inputs" method="POST"> |
5 | @csrf | 5 | @csrf |
6 | @method('PUT') | 6 | @method('PUT') |
7 | 7 | ||
8 | <div class="mb-40" name="ajax_dop_diplomi" id="ajax_dop_diplomi"> | 8 | <div class="mb-40" name="ajax_dop_diplomi" id="ajax_dop_diplomi"> |
9 | <div class="cabinet__body-item"> | 9 | <div class="cabinet__body-item"> |
10 | <div class="cabinet__anketa"> | 10 | <div class="cabinet__anketa"> |
11 | <h2 class="title cabinet__title">Дополнительные документы</h2> | 11 | <h2 class="title cabinet__title">Дополнительные документы</h2> |
12 | </div> | 12 | </div> |
13 | </div> | 13 | </div> |
14 | 14 | ||
15 | <div class="cabinet__body-item"> | 15 | <div class="cabinet__body-item"> |
16 | <div class="cabinet__inputs"> | 16 | <div class="cabinet__inputs"> |
17 | @if ($info_blocks->count()) | 17 | @if ($info_blocks->count()) |
18 | @foreach ($info_blocks as $info_block) | 18 | @foreach ($info_blocks as $info_block) |
19 | <div class="cabinet__inputs-item form-group"> | 19 | <div class="cabinet__inputs-item form-group"> |
20 | <label class="form-group__label">{{ $info_block->name }}:</label> | 20 | <label class="form-group__label">{{ $info_block->name }}:</label> |
21 | 21 | ||
22 | <div class="form-group__item"> | 22 | <div class="form-group__item"> |
23 | @php $status = 0; @endphp | 23 | @php $status = 0; @endphp |
24 | @if (!empty($worker->dop_info[$info_block->id]) && $worker->dop_info[$info_block->id]['status']) | 24 | @if (!empty($worker->dop_info[$info_block->id]) && $worker->dop_info[$info_block->id]['status']) |
25 | @php $status = $worker->dop_info[$info_block->id]['status']; @endphp | 25 | @php $status = $worker->dop_info[$info_block->id]['status']; @endphp |
26 | @endif | 26 | @endif |
27 | 27 | ||
28 | <select name="diploms[{{ $info_block->id }}]" data-info="{{ $info_block->id }}" class="js-select2 sertificates_js"> | 28 | <select name="diploms[{{ $info_block->id }}]" data-info="{{ $info_block->id }}" class="js-select2 sertificates_js"> |
29 | @foreach($additional_document_statuses as $key => $value) | 29 | @foreach($additional_document_statuses as $key => $value) |
30 | <option value="{{ $key }}" @if ($status == $key) selected @endif>{{ $value }}</option> | 30 | <option value="{{ $key }}" @if ($status == $key) selected @endif>{{ $value }}</option> |
31 | @endforeach | 31 | @endforeach |
32 | </select> | 32 | </select> |
33 | </div> | 33 | </div> |
34 | </div> | 34 | </div> |
35 | @endforeach | 35 | @endforeach |
36 | @endif | 36 | @endif |
37 | 37 | ||
38 | <div class="cabinet__body-item cabinet__inputs-item-full-row"> | 38 | <div class="cabinet__body-item cabinet__inputs-item-full-row"> |
39 | <div class="cabinet__buttons_flex"> | 39 | <div class="cabinet__buttons_flex"> |
40 | <button type="submit" class="button mr-10">Сохранить</button> | 40 | <button type="submit" class="button mr-10">Сохранить</button> |
41 | <a href="{{ route('worker.cabinet') }}" class="button button_light active">Отменить</a> | 41 | <a href="{{ route('worker.cabinet') }}" class="button button_light active">Назад</a> |
42 | </div> | 42 | </div> |
43 | </div> | 43 | </div> |
44 | </div> | 44 | </div> |
45 | </div> | 45 | </div> |
46 | </div> | 46 | </div> |
47 | </form> | 47 | </form> |
48 | @endsection | 48 | @endsection |
49 | 49 |
resources/views/workers/form_basic_information.blade.php
1 | @extends('workers.cabinet_layout', ['title' => 'Основная информация - РекаМоре']) | 1 | @extends('workers.cabinet_layout', ['title' => 'Основная информация - РекаМоре']) |
2 | 2 | ||
3 | @section('cabinet_content') | 3 | @section('cabinet_content') |
4 | @php | 4 | @php |
5 | $worker = $user->workers[0] | 5 | $worker = $user->workers[0] |
6 | @endphp | 6 | @endphp |
7 | <form action="{{ route('worker.cabinet_save', ['worker' => $worker->id]) }}" enctype="multipart/form-data" method="POST"> | 7 | <form action="{{ route('worker.cabinet_save', ['worker' => $worker->id]) }}" enctype="multipart/form-data" method="POST"> |
8 | @csrf | 8 | @csrf |
9 | @include('messages_error') | 9 | @include('messages_error') |
10 | 10 | ||
11 | <div class="cabinet__body-item"> | 11 | <div class="cabinet__body-item"> |
12 | <div class="cabinet__anketa"> | 12 | <div class="cabinet__anketa"> |
13 | <h2 class="title cabinet__title">Основная информация</h2> | 13 | <h2 class="title cabinet__title">Основная информация</h2> |
14 | </div> | 14 | </div> |
15 | </div> | 15 | </div> |
16 | 16 | ||
17 | <div class="cabinet__body-item"> | 17 | <div class="cabinet__body-item"> |
18 | <div class="cabinet__inputs"> | 18 | <div class="cabinet__inputs"> |
19 | <div class="cabinet__inputs-item form-group"> | 19 | <div class="cabinet__inputs-item form-group"> |
20 | <label class="form-group__label">Фамилия:</label> | 20 | <label class="form-group__label">Фамилия:</label> |
21 | <div class="form-group__item"> | 21 | <div class="form-group__item"> |
22 | <input type="text" name="surname" id="surmane" class="input" value="{{ $user->surname }}" placeholder="Филиппов" required> | 22 | <input type="text" name="surname" id="surmane" class="input" value="{{ $user->surname }}" placeholder="Филиппов" required> |
23 | </div> | 23 | </div> |
24 | </div> | 24 | </div> |
25 | <div class="cabinet__inputs-item form-group"> | 25 | <div class="cabinet__inputs-item form-group"> |
26 | <label class="form-group__label">Имя:</label> | 26 | <label class="form-group__label">Имя:</label> |
27 | <div class="form-group__item"> | 27 | <div class="form-group__item"> |
28 | <input type="text" name="name_man" id="name_man" class="input" value="{{ $user->name_man }}" placeholder="Егор" required> | 28 | <input type="text" name="name_man" id="name_man" class="input" value="{{ $user->name_man }}" placeholder="Егор" required> |
29 | </div> | 29 | </div> |
30 | </div> | 30 | </div> |
31 | 31 | ||
32 | <div class="cabinet__inputs-item form-group"> | 32 | <div class="cabinet__inputs-item form-group"> |
33 | <label class="form-group__label">Отчество:</label> | 33 | <label class="form-group__label">Отчество:</label> |
34 | <div class="form-group__item"> | 34 | <div class="form-group__item"> |
35 | <input type="text" class="input" name="surname2" id="surmane2" value="{{ $user->surname2 }}" placeholder="Алексеевич"> | 35 | <input type="text" class="input" name="surname2" id="surmane2" value="{{ $user->surname2 }}" placeholder="Алексеевич"> |
36 | </div> | 36 | </div> |
37 | </div> | 37 | </div> |
38 | <div class="cabinet__inputs-item form-group"> | 38 | <div class="cabinet__inputs-item form-group"> |
39 | <label class="form-group__label">Возраст</label> | 39 | <label class="form-group__label">Возраст</label> |
40 | <div class="form-group__item"> | 40 | <div class="form-group__item"> |
41 | <input type="number" name="old_year" id="old_year" value="{{ $worker->old_year }}" class="input" placeholder="0" required> | 41 | <input type="number" name="old_year" id="old_year" value="{{ $worker->old_year }}" class="input" placeholder="0" required> |
42 | </div> | 42 | </div> |
43 | </div> | 43 | </div> |
44 | 44 | ||
45 | <div class="cabinet__inputs-item form-group"> | 45 | <div class="cabinet__inputs-item form-group"> |
46 | <label class="form-group__label">Статус</label> | 46 | <label class="form-group__label">Статус</label> |
47 | <div class="form-group__item"> | 47 | <div class="form-group__item"> |
48 | <div class="select"> | 48 | <div class="select"> |
49 | <select class="js-select2" name="status_work" id="status_work"> | 49 | <select class="js-select2" name="status_work" id="status_work"> |
50 | @foreach(App\Enums\WorkerStatuses::getWorkerStatuses() as $status_id => $status_label) | 50 | @foreach(App\Enums\WorkerStatuses::getWorkerStatuses() as $status_id => $status_label) |
51 | <option value="{{ $status_id }}" @if ($worker->status_work == $status_id) selected @endif> {{ $status_label }} </option> | 51 | <option value="{{ $status_id }}" @if ($worker->status_work == $status_id) selected @endif> {{ $status_label }} </option> |
52 | @endforeach | 52 | @endforeach |
53 | </select> | 53 | </select> |
54 | </div> | 54 | </div> |
55 | </div> | 55 | </div> |
56 | </div> | 56 | </div> |
57 | 57 | ||
58 | <div class="cabinet__inputs-item cabinet__inputs-item_max form-group cabinet__inputs-item-full-row"> | 58 | <div class="cabinet__inputs-item cabinet__inputs-item_max form-group cabinet__inputs-item-full-row"> |
59 | <label class="form-group__label">Желаемые вакансии:</label> | 59 | <label class="form-group__label">Желаемые вакансии:</label> |
60 | <div class="form-group__item"> | 60 | <div class="form-group__item"> |
61 | <div class="select"> | 61 | <div class="select"> |
62 | <select class="js-select2" name="job_title_id[]" id="job_title_id[]" multiple="multiple"> | 62 | <select class="js-select2" name="job_title_id[]" id="job_title_id[]" multiple="multiple"> |
63 | @if ($job_titles->count()) | 63 | @if ($job_titles->count()) |
64 | @foreach($job_titles as $job_title) | 64 | @foreach($job_titles as $job_title) |
65 | <option value="{{ $job_title->id }}" @if (in_array($job_title->id, $worker->job_titles)) selected @endif>{{ $job_title->name }}</option> | 65 | <option value="{{ $job_title->id }}" @if (in_array($job_title->id, $worker->job_titles)) selected @endif>{{ $job_title->name }}</option> |
66 | @endforeach | 66 | @endforeach |
67 | @endif | 67 | @endif |
68 | </select> | 68 | </select> |
69 | </div> | 69 | </div> |
70 | </div> | 70 | </div> |
71 | </div> | 71 | </div> |
72 | 72 | ||
73 | <div class="cabinet__inputs-item form-group"> | 73 | <div class="cabinet__inputs-item form-group"> |
74 | <label class="form-group__label">Пожелания к З/П:</label> | 74 | <label class="form-group__label">Пожелания к З/П:</label> |
75 | <div class="form-group__item"> | 75 | <div class="form-group__item"> |
76 | <input type="text" name="salary_expectations" id="salary_expectations" value="{{ $worker->salary_expectations }}" class="input" placeholder="От 150 000 руб"> | 76 | <input type="text" name="salary_expectations" id="salary_expectations" value="{{ $worker->salary_expectations }}" class="input" placeholder="От 150 000 руб"> |
77 | </div> | 77 | </div> |
78 | </div> | 78 | </div> |
79 | <div class="cabinet__inputs-item form-group"> | 79 | <div class="cabinet__inputs-item form-group"> |
80 | <label class="form-group__label">Опыт работы</label> | 80 | <label class="form-group__label">Опыт работы</label> |
81 | <div class="form-group__item"> | 81 | <div class="form-group__item"> |
82 | <div class="select"> | 82 | <div class="select"> |
83 | <select class="js-select2" id="experience" name="experience"> | 83 | <select class="js-select2" id="experience" name="experience"> |
84 | <option value="Не указано" @if (empty($worker->experience)) selected @endif>Не указано</option> | 84 | <option value="Не указано" @if (empty($worker->experience)) selected @endif>Не указано</option> |
85 | <option value="меньше 1 года" @if ($worker->experience == 'меньше 1 года') selected @endif>меньше 1 года</option> | 85 | <option value="меньше 1 года" @if ($worker->experience == 'меньше 1 года') selected @endif>меньше 1 года</option> |
86 | <option value="от 1 года до 3 лет" @if ($worker->experience == 'от 1 года до 3 лет') selected @endif>от 1 года до 3 лет</option> | 86 | <option value="от 1 года до 3 лет" @if ($worker->experience == 'от 1 года до 3 лет') selected @endif>от 1 года до 3 лет</option> |
87 | <option value="от 3 до 5 лет" @if ($worker->experience == 'от 3 до 5 лет') selected @endif>от 3 до 5 лет</option> | 87 | <option value="от 3 до 5 лет" @if ($worker->experience == 'от 3 до 5 лет') selected @endif>от 3 до 5 лет</option> |
88 | <option value="от 5 до 10 лет" @if ($worker->experience == 'от 5 до 10 лет') selected @endif>от 5 до 10 лет</option> | 88 | <option value="от 5 до 10 лет" @if ($worker->experience == 'от 5 до 10 лет') selected @endif>от 5 до 10 лет</option> |
89 | <option value="Больше 10 лет" @if ($worker->experience == 'Больше 10 лет') selected @endif>Больше 10 лет</option> | 89 | <option value="Больше 10 лет" @if ($worker->experience == 'Больше 10 лет') selected @endif>Больше 10 лет</option> |
90 | </select> | 90 | </select> |
91 | </div> | 91 | </div> |
92 | </div> | 92 | </div> |
93 | </div> | 93 | </div> |
94 | 94 | ||
95 | <div class="cabinet__inputs-item form-group"> | 95 | <div class="cabinet__inputs-item form-group"> |
96 | <label class="form-group__label">Уровень английского:</label> | 96 | <label class="form-group__label">Уровень английского:</label> |
97 | <div class="form-group__item"> | 97 | <div class="form-group__item"> |
98 | <input type="text" name="english_level" id="english_level" value="{{ $worker->english_level }}" class="input" placeholder="Средний"> | 98 | <input type="text" name="english_level" id="english_level" value="{{ $worker->english_level }}" class="input" placeholder="Средний"> |
99 | </div> | 99 | </div> |
100 | </div> | 100 | </div> |
101 | <div class="cabinet__inputs-item form-group"> | 101 | <div class="cabinet__inputs-item form-group"> |
102 | <label class="form-group__label">Дата готовности к посадке:</label> | 102 | <label class="form-group__label">Дата готовности к посадке:</label> |
103 | <div class="form-group__item"> | 103 | <div class="form-group__item"> |
104 | <input type="text" name="ready_boart_date" id="ready_boart_date" value="{{ $worker->ready_boart_date }}" class="input" placeholder="С 1 января {{ date('Y')}}"> | 104 | <input type="text" name="ready_boart_date" id="ready_boart_date" value="{{ $worker->ready_boart_date }}" class="input" placeholder="С 1 января {{ date('Y')}}"> |
105 | </div> | 105 | </div> |
106 | </div> | 106 | </div> |
107 | 107 | ||
108 | <div class="cabinet__inputs-item form-group"> | 108 | <div class="cabinet__inputs-item form-group"> |
109 | <label class="form-group__label">Предпочтение по типу судна:</label> | 109 | <label class="form-group__label">Предпочтение по типу судна:</label> |
110 | <div class="form-group__item"> | 110 | <div class="form-group__item"> |
111 | <input type="text" name="boart_type_preference" id="boart_type_preference" value="{{ $worker->boart_type_preference }}" class="input" placeholder="Балкер, сухогруз, контейнеровоз"> | 111 | <input type="text" name="boart_type_preference" id="boart_type_preference" value="{{ $worker->boart_type_preference }}" class="input" placeholder="Балкер, сухогруз, контейнеровоз"> |
112 | </div> | 112 | </div> |
113 | </div> | 113 | </div> |
114 | <div class="cabinet__inputs-item form-group"> | 114 | <div class="cabinet__inputs-item form-group"> |
115 | <label class="form-group__label">Наличие визы:</label> | 115 | <label class="form-group__label">Наличие визы:</label> |
116 | <div class="form-group__item"> | 116 | <div class="form-group__item"> |
117 | <input type="text" name="visa_available" id="visa_available" value="{{ $worker->visa_available }}" class="input" placeholder="Да"> | 117 | <input type="text" name="visa_available" id="visa_available" value="{{ $worker->visa_available }}" class="input" placeholder="Да"> |
118 | </div> | 118 | </div> |
119 | </div> | 119 | </div> |
120 | 120 | ||
121 | <div class="cabinet__inputs-item form-group"> | 121 | <div class="cabinet__inputs-item form-group"> |
122 | <label class="form-group__label">Наличие танкерных документов:</label> | 122 | <label class="form-group__label">Наличие танкерных документов:</label> |
123 | <div class="form-group__item"> | 123 | <div class="form-group__item"> |
124 | <input type="text" name="tanker_documents_available" id="tanker_documents_available" value="{{ $worker->tanker_documents_available }}" class="input" placeholder="Нет"> | 124 | <input type="text" name="tanker_documents_available" id="tanker_documents_available" value="{{ $worker->tanker_documents_available }}" class="input" placeholder="Нет"> |
125 | </div> | 125 | </div> |
126 | </div> | 126 | </div> |
127 | <div class="cabinet__inputs-item form-group"> | 127 | <div class="cabinet__inputs-item form-group"> |
128 | <label class="form-group__label">Наличие подтверждения для работы на ВВП:</label> | 128 | <label class="form-group__label">Наличие подтверждения для работы на ВВП:</label> |
129 | <div class="form-group__item"> | 129 | <div class="form-group__item"> |
130 | <input type="text" name="confirmation_work_for_vvp" id="confirmation_work_for_vvp" value="{{ $worker->confirmation_work_for_vvp }}" class="input" placeholder="Нет"> | 130 | <input type="text" name="confirmation_work_for_vvp" id="confirmation_work_for_vvp" value="{{ $worker->confirmation_work_for_vvp }}" class="input" placeholder="Нет"> |
131 | </div> | 131 | </div> |
132 | </div> | 132 | </div> |
133 | 133 | ||
134 | <div class="cabinet__inputs-item form-group"> | 134 | <div class="cabinet__inputs-item form-group"> |
135 | <label class="form-group__label">Наличие военного билета / приписного свидетельства:</label> | 135 | <label class="form-group__label">Наличие военного билета / приписного свидетельства:</label> |
136 | <div class="form-group__item"> | 136 | <div class="form-group__item"> |
137 | <input type="text" name="military_id_available" id="military_id_available" value="{{ $worker->military_id_available }}" class="input" placeholder="Нет"> | 137 | <input type="text" name="military_id_available" id="military_id_available" value="{{ $worker->military_id_available }}" class="input" placeholder="Нет"> |
138 | </div> | 138 | </div> |
139 | </div> | 139 | </div> |
140 | <div class="cabinet__inputs-item form-group"> | 140 | <div class="cabinet__inputs-item form-group"> |
141 | <label class="form-group__label">Город проживания:</label> | 141 | <label class="form-group__label">Город проживания:</label> |
142 | <div class="form-group__item"> | 142 | <div class="form-group__item"> |
143 | <input type="text" name="city" id="city" value="{{ $worker->city }}" class="input" placeholder="Челябинск" required> | 143 | <input type="text" name="city" id="city" value="{{ $worker->city }}" class="input" placeholder="Челябинск" required> |
144 | </div> | 144 | </div> |
145 | </div> | 145 | </div> |
146 | 146 | ||
147 | <div class="cabinet__inputs-item form-group"> | 147 | <div class="cabinet__inputs-item form-group"> |
148 | <label class="form-group__label">Телефон:</label> | 148 | <label class="form-group__label">Телефон:</label> |
149 | <div class="form-group__item"> | 149 | <div class="form-group__item"> |
150 | <input type="tel" name="telephone" id="telephone" value="{{ old('telephone') ?? $worker->telephone ?? '' }}" class="input" placeholder="+7 (___) ___-__-__" required> | 150 | <input type="tel" name="telephone" id="telephone" value="{{ old('telephone') ?? $worker->telephone ?? '' }}" class="input" placeholder="+7 (___) ___-__-__" required> |
151 | </div> | 151 | </div> |
152 | </div> | 152 | </div> |
153 | <div class="cabinet__inputs-item form-group"> | 153 | <div class="cabinet__inputs-item form-group"> |
154 | <label class="form-group__label">E-mail:</label> | 154 | <label class="form-group__label">E-mail:</label> |
155 | <div class="form-group__item"> | 155 | <div class="form-group__item"> |
156 | <input type="email" name="email" id="email" value="{{ $worker->email }}" class="input" placeholder="name@rekamore.su" required> | 156 | <input type="email" name="email" id="email" value="{{ $worker->email }}" class="input" placeholder="name@rekamore.su" required> |
157 | </div> | 157 | </div> |
158 | </div> | 158 | </div> |
159 | 159 | ||
160 | <div class="cabinet__inputs-item form-group"> | 160 | <div class="cabinet__inputs-item form-group"> |
161 | <label class="form-group__label">Контакты родственников:</label> | 161 | <label class="form-group__label">Контакты родственников:</label> |
162 | <div class="form-group__item"> | 162 | <div class="form-group__item"> |
163 | <input type="text" name="telephone2" id="telephon2" value="{{ old('telephone2') ?? $worker->telephone2 ?? '' }}" class="input"> | 163 | <input type="text" name="telephone2" id="telephon2" value="{{ old('telephone2') ?? $worker->telephone2 ?? '' }}" class="input"> |
164 | </div> | 164 | </div> |
165 | </div> | 165 | </div> |
166 | <div class="cabinet__inputs-item form-group"></div> | 166 | <div class="cabinet__inputs-item form-group"></div> |
167 | 167 | ||
168 | <div class="cabinet__body-item cabinet__inputs-item-full-row"> | 168 | <div class="cabinet__body-item cabinet__inputs-item-full-row"> |
169 | <h4 class="cabinet__h4">О себе</h4> | 169 | <h4 class="cabinet__h4">О себе</h4> |
170 | <textarea class="textarea" name="text" id="text" placeholder="Не указано">{{ $worker->text }}</textarea> | 170 | <textarea class="textarea" name="text" id="text" placeholder="Не указано">{{ $worker->text }}</textarea> |
171 | </div> | 171 | </div> |
172 | 172 | ||
173 | <div class="cabinet__body-item cabinet__inputs-item-full-row"> | 173 | <div class="cabinet__body-item cabinet__inputs-item-full-row"> |
174 | <div class="cabinet__buttons_flex"> | 174 | <div class="cabinet__buttons_flex"> |
175 | <button type="submit" class="button">Сохранить</button> | 175 | <button type="submit" class="button">Сохранить</button> |
176 | <a href="{{ route('worker.cabinet') }}" class="button button_light active">Отменить</a> | 176 | <a href="{{ route('worker.cabinet') }}" class="button button_light active">Назад</a> |
177 | </div> | 177 | </div> |
178 | </div> | 178 | </div> |
179 | </div> | 179 | </div> |
180 | </div> | 180 | </div> |
181 | </form> | 181 | </form> |
182 | @endsection | 182 | @endsection |
183 | 183 |
resources/views/workers/prev_company_edit_form.blade.php
1 | @extends('workers.cabinet_layout', ['title' => 'Рекомендация - РекаМоре']) | 1 | @extends('workers.cabinet_layout', ['title' => 'Рекомендация - РекаМоре']) |
2 | 2 | ||
3 | @section('cabinet_content') | 3 | @section('cabinet_content') |
4 | <form id="submit_form" name="submit_form" action="{{ route('worker.update_prev_company', ['doc' => $doc]) }}" class="cabinet__inputs" method="POST"> | 4 | <form id="submit_form" name="submit_form" action="{{ route('worker.update_prev_company', ['doc' => $doc]) }}" class="cabinet__inputs" method="POST"> |
5 | @csrf | 5 | @csrf |
6 | <input type="hidden" name="worker_id" id="worker_id" class="input" value="{{ $worker->id }}"> | 6 | <input type="hidden" name="worker_id" id="worker_id" class="input" value="{{ $worker->id }}"> |
7 | 7 | ||
8 | <div class="cabinet__body-item"> | 8 | <div class="cabinet__body-item"> |
9 | <div class="cabinet__anketa"> | 9 | <div class="cabinet__anketa"> |
10 | <h2 class="title cabinet__title mb-0">Рекомендация</h2> | 10 | <h2 class="title cabinet__title mb-0">Рекомендация</h2> |
11 | </div> | 11 | </div> |
12 | </div> | 12 | </div> |
13 | 13 | ||
14 | <div class="cabinet__body-item"> | 14 | <div class="cabinet__body-item"> |
15 | <div class="cabinet__inputs"> | 15 | <div class="cabinet__inputs"> |
16 | <div class="cabinet__inputs-item form-group"> | 16 | <div class="cabinet__inputs-item form-group"> |
17 | <label class="form-group__label">Название компании:<span class="red">*</span></label> | 17 | <label class="form-group__label">Название компании:<span class="red">*</span></label> |
18 | <div class="form-group__item"> | 18 | <div class="form-group__item"> |
19 | <input type="text" name="name_company" id="name_company" class="input" value="{{ old('name_company') ?? $doc->name_company ?? '' }}"> | 19 | <input type="text" name="name_company" id="name_company" class="input" value="{{ old('name_company') ?? $doc->name_company ?? '' }}"> |
20 | </div> | 20 | </div> |
21 | </div> | 21 | </div> |
22 | <div class="cabinet__inputs-item form-group"> | 22 | <div class="cabinet__inputs-item form-group"> |
23 | <label class="form-group__label">ФИО сотрудника:<span class="red">*</span></label> | 23 | <label class="form-group__label">ФИО сотрудника:<span class="red">*</span></label> |
24 | <div class="form-group__item"> | 24 | <div class="form-group__item"> |
25 | <input type="text" name="direct" id="direct" class="input" value="{{ old('direct') ?? $doc->direct ?? '' }}"> | 25 | <input type="text" name="direct" id="direct" class="input" value="{{ old('direct') ?? $doc->direct ?? '' }}"> |
26 | </div> | 26 | </div> |
27 | </div> | 27 | </div> |
28 | <div class="cabinet__inputs-item form-group"> | 28 | <div class="cabinet__inputs-item form-group"> |
29 | <label class="form-group__label">Должность сотрудника:</label> | 29 | <label class="form-group__label">Должность сотрудника:</label> |
30 | <div class="form-group__item"> | 30 | <div class="form-group__item"> |
31 | <input type="text" name="telephone" id="telephone" class="input" value="{{ old('telephone') ?? $doc->telephone ?? '' }}"> | 31 | <input type="text" name="telephone" id="telephone" class="input" value="{{ old('telephone') ?? $doc->telephone ?? '' }}"> |
32 | </div> | 32 | </div> |
33 | </div> | 33 | </div> |
34 | <div class="cabinet__inputs-item form-group"> | 34 | <div class="cabinet__inputs-item form-group"> |
35 | <label class="form-group__label">Телефон сотрудника:</label> | 35 | <label class="form-group__label">Телефон сотрудника:</label> |
36 | <div class="form-group__item"> | 36 | <div class="form-group__item"> |
37 | <input type="text" name="telephone2" id="telephone2" class="input" value="{{ old('telephone2') ?? $doc->telephone2 ?? '' }}"> | 37 | <input type="text" name="telephone2" id="telephone2" class="input" value="{{ old('telephone2') ?? $doc->telephone2 ?? '' }}"> |
38 | </div> | 38 | </div> |
39 | </div> | 39 | </div> |
40 | 40 | ||
41 | <div class="flex"> | 41 | <div class="flex"> |
42 | <button type="submit" class="button mr-10">Сохранить</button> | 42 | <button type="submit" class="button mr-10">Сохранить</button> |
43 | <a href="{{ route('worker.cabinet') }}" class="button button_light">Отменить</a> | 43 | <a href="{{ route('worker.cabinet') }}" class="button button_light">Назад</a> |
44 | </div> | 44 | </div> |
45 | </div> | 45 | </div> |
46 | </div> | 46 | </div> |
47 | 47 | ||
48 | 48 | ||
49 | </form> | 49 | </form> |
50 | @endsection | 50 | @endsection |
51 | 51 |
resources/views/workers/sertificate_edit.blade.php
1 | @extends('workers.cabinet_layout', ['title' => 'Редактирование стандартного документа - РекаМоре']) | 1 | @extends('workers.cabinet_layout', ['title' => 'Редактирование стандартного документа - РекаМоре']) |
2 | 2 | ||
3 | @section('cabinet_content') | 3 | @section('cabinet_content') |
4 | <h3 class="cabinet__h4 font30">Сертификат / документ</h3> | 4 | <h3 class="cabinet__h4 font30">Сертификат / документ</h3> |
5 | <form id="submit_form" name="submit_form" action="{{ route('worker.update_serificate', ['doc' => $doc->id]) }}" class="cabinet__inputs" method="GET"> | 5 | <form id="submit_form" name="submit_form" action="{{ route('worker.update_serificate', ['doc' => $doc->id]) }}" class="cabinet__inputs" method="GET"> |
6 | @csrf | 6 | @csrf |
7 | <input type="hidden" name="worker_id" id="worker_id" class="input" value="{{ $worker->id }}"> | 7 | <input type="hidden" name="worker_id" id="worker_id" class="input" value="{{ $worker->id }}"> |
8 | 8 | ||
9 | <div class="cabinet__body-item width100"> | 9 | <div class="cabinet__body-item width100"> |
10 | <div class="cabinet__inputs"> | 10 | <div class="cabinet__inputs"> |
11 | <div class="cabinet__inputs-item form-group"> | 11 | <div class="cabinet__inputs-item form-group"> |
12 | <label class="form-group__label">Название сертификата:</label> | 12 | <label class="form-group__label">Название сертификата:</label> |
13 | <div class="form-group__item"> | 13 | <div class="form-group__item"> |
14 | @error('name') | 14 | @error('name') |
15 | <div class="error red">{{ $message }}</div> | 15 | <div class="error red">{{ $message }}</div> |
16 | @enderror | 16 | @enderror |
17 | <input type="text" name="name" id="name" class="input" value="{{ old('name') ?? $doc->name }}" required> | 17 | <input type="text" name="name" id="name" class="input" value="{{ old('name') ?? $doc->name }}" required> |
18 | </div> | 18 | </div> |
19 | </div> | 19 | </div> |
20 | <div class="cabinet__inputs-item form-group"> | 20 | <div class="cabinet__inputs-item form-group"> |
21 | <label class="form-group__label">Действия сертификата до:</label> | 21 | <label class="form-group__label">Действия сертификата до:</label> |
22 | <div class="form-group__item"> | 22 | <div class="form-group__item"> |
23 | @error('end_begin') | 23 | @error('end_begin') |
24 | <div class="error red">{{ $message }}</div> | 24 | <div class="error red">{{ $message }}</div> |
25 | @enderror | 25 | @enderror |
26 | <input type="text" name="end_begin" id="end_begin" class="input" value="{{ old('end_begin') ?? date('d.m.Y', strtotime($doc->end_begin)) }}" required> | 26 | <input type="text" name="end_begin" id="end_begin" class="input" value="{{ old('end_begin') ?? date('d.m.Y', strtotime($doc->end_begin)) }}" required> |
27 | </div> | 27 | </div> |
28 | </div> | 28 | </div> |
29 | </div> | 29 | </div> |
30 | </div> | 30 | </div> |
31 | 31 | ||
32 | <div class="flex"> | 32 | <div class="flex"> |
33 | <button type="submit" class="button mr-10">Сохранить</button> | 33 | <button type="submit" class="button mr-10">Сохранить</button> |
34 | <a href="{{ route('worker.cabinet') }}" class="button button_light">Отменить</a> | 34 | <a href="{{ route('worker.cabinet') }}" class="button button_light">Назад</a> |
35 | </div> | 35 | </div> |
36 | </form> | 36 | </form> |
37 | @endsection | 37 | @endsection |
38 | 38 |